call.c:_PyVectorcall_NARGS:
   34|  5.79k|{
   35|  5.79k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  5.79k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  5.79k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  5.79k|}
exceptions.c:_PyVectorcall_NARGS:
   34|    407|{
   35|    407|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    407|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    407|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    407|}
listobject.c:_PyVectorcall_NARGS:
   34|     89|{
   35|     89|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     89|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     89|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     89|}
longobject.c:_PyVectorcall_NARGS:
   34|     51|{
   35|     51|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     51|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     51|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     51|}
dictobject.c:_PyVectorcall_NARGS:
   34|     21|{
   35|     21|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     21|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     21|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     21|}
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|     97|{
   35|     97|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     97|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     97|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     97|}
setobject.c:_PyVectorcall_NARGS:
   34|    104|{
   35|    104|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    104|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    104|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    104|}
tupleobject.c:_PyVectorcall_NARGS:
   34|      5|{
   35|      5|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|      5|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      5|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|      5|}
typeobject.c:_PyVectorcall_NARGS:
   34|    760|{
   35|    760|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    760|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    760|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    760|}
unicodeobject.c:_PyVectorcall_NARGS:
   34|     20|{
   35|     20|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     20|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     20|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     20|}
weakrefobject.c:_PyVectorcall_NARGS:
   34|    226|{
   35|    226|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    226|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    226|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    226|}
bltinmodule.c:_PyVectorcall_NARGS:
   34|     10|{
   35|     10|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     10|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     10|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     10|}
import.c:PyObject_CallMethodOneArg:
   70|     31|{
   71|     31|    PyObject *args[2] = {self, arg};
   72|     31|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     31|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     31|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|     31|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 31, False: 0]
  ------------------
   74|     31|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|     31|#  define _Py_NULL NULL
  ------------------
   75|     31|}
pylifecycle.c:PyObject_CallMethodNoArgs:
   63|      6|{
   64|      6|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|      6|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      6|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|      6|#  define _Py_NULL NULL
  ------------------
   66|      6|}
_iomodule.c:PyObject_CallMethodNoArgs:
   63|     33|{
   64|     33|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     33|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     33|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|     33|#  define _Py_NULL NULL
  ------------------
   66|     33|}
iobase.c:PyObject_CallMethodNoArgs:
   63|     60|{
   64|     60|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     60|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     60|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|     60|#  define _Py_NULL NULL
  ------------------
   66|     60|}
fileio.c:PyObject_CallMethodOneArg:
   70|     27|{
   71|     27|    PyObject *args[2] = {self, arg};
   72|     27|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     27|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     27|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|     27|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 27, False: 0]
  ------------------
   74|     27|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|     27|#  define _Py_NULL NULL
  ------------------
   75|     27|}
bufferedio.c:PyObject_CallMethodOneArg:
   70|     50|{
   71|     50|    PyObject *args[2] = {self, arg};
   72|     50|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     50|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     50|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|     50|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 50, False: 0]
  ------------------
   74|     50|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|     50|#  define _Py_NULL NULL
  ------------------
   75|     50|}
bufferedio.c:PyObject_CallMethodNoArgs:
   63|    103|{
   64|    103|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    103|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    103|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|    103|#  define _Py_NULL NULL
  ------------------
   66|    103|}
bufferedio.c:_PyVectorcall_NARGS:
   34|     27|{
   35|     27|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     27|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     27|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     27|}
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|     52|{
   71|     52|    PyObject *args[2] = {self, arg};
   72|     52|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     52|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     52|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|     52|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 52, False: 0]
  ------------------
   74|     52|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|     52|#  define _Py_NULL NULL
  ------------------
   75|     52|}
_abc.c:PyObject_CallMethodOneArg:
   70|     77|{
   71|     77|    PyObject *args[2] = {self, arg};
   72|     77|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     77|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     77|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|     77|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 77, False: 0]
  ------------------
   74|     77|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|     77|#  define _Py_NULL NULL
  ------------------
   75|     77|}
_functoolsmodule.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|}
abstract.c:_PyVectorcall_NARGS:
   34|     80|{
   35|     80|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     80|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     80|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     80|}
abstract.c:PyObject_CallMethodNoArgs:
   63|     79|{
   64|     79|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     79|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     79|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|     79|#  define _Py_NULL NULL
  ------------------
   66|     79|}
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|}
bytearrayobject.c:_PyVectorcall_NARGS:
   34|      8|{
   35|      8|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|      8|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      8|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|      8|}
descrobject.c:_PyVectorcall_NARGS:
   34|  1.53k|{
   35|  1.53k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  1.53k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  1.53k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  1.53k|}
descrobject.c:PyObject_CallMethodNoArgs:
   63|     81|{
   64|     81|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     81|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     81|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|     81|#  define _Py_NULL NULL
  ------------------
   66|     81|}
enumobject.c:_PyVectorcall_NARGS:
   34|     27|{
   35|     27|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     27|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     27|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     27|}
fileobject.c:PyObject_CallMethodNoArgs:
   63|    104|{
   64|    104|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    104|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    104|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|    104|#  define _Py_NULL NULL
  ------------------
   66|    104|}
methodobject.c:_PyVectorcall_NARGS:
   34|  3.19k|{
   35|  3.19k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  3.19k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  3.19k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  3.19k|}

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

exceptions.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|}
longobject.c:PyBytes_AS_STRING:
   24|     81|{
   25|     81|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     81|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 81, False: 0]
  ------------------
   26|     81|}
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|     45|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|     45|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|     45|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 45, False: 0]
  ------------------
   31|     45|    return Py_SIZE(self);
  ------------------
  |  |  214|     45|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|     45|}
unicodeobject.c:PyBytes_AS_STRING:
   24|     41|{
   25|     41|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     41|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 41, False: 0]
  ------------------
   26|     41|}
ceval.c:PyBytes_AS_STRING:
   24|    449|{
   25|    449|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|    449|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    449|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 449, False: 0]
  ------------------
   26|    449|}
ceval.c:PyBytes_GET_SIZE:
   29|    449|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|    449|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|    449|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    449|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 449, False: 0]
  ------------------
   31|    449|    return Py_SIZE(self);
  ------------------
  |  |  214|    449|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    449|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    449|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|    449|}
import.c:PyBytes_AS_STRING:
   24|     34|{
   25|     34|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     34|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 34, False: 0]
  ------------------
   26|     34|}
importdl.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|}
fileutils.c:PyBytes_AS_STRING:
   24|     10|{
   25|     10|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     10|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 10, False: 0]
  ------------------
   26|     10|}
posixmodule.c:PyBytes_GET_SIZE:
   29|    163|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|    163|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|    163|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    163|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 163, False: 0]
  ------------------
   31|    163|    return 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|    163|}
posixmodule.c:PyBytes_AS_STRING:
   24|    163|{
   25|    163|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|    163|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    163|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 163, False: 0]
  ------------------
   26|    163|}
fileio.c:PyBytes_AS_STRING:
   24|     27|{
   25|     27|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     27|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 27, False: 0]
  ------------------
   26|     27|}
bytearrayobject.c:PyBytes_GET_SIZE:
   29|     44|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|     44|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|     44|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 44, False: 0]
  ------------------
   31|     44|    return Py_SIZE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|     44|}
bytearrayobject.c:PyBytes_AS_STRING:
   24|     44|{
   25|     44|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     44|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 44, False: 0]
  ------------------
   26|     44|}
bytesobject.c:PyBytes_AS_STRING:
   24|    622|{
   25|    622|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|    622|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    622|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 622, False: 0]
  ------------------
   26|    622|}
bytesobject.c:PyBytes_GET_SIZE:
   29|  1.40k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  1.40k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  1.40k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 1.40k, False: 0]
  ------------------
   31|  1.40k|    return Py_SIZE(self);
  ------------------
  |  |  214|  1.40k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  1.40k|}
codeobject.c:PyBytes_GET_SIZE:
   29|  27.3k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  27.3k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  27.3k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  27.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 27.3k, False: 0]
  ------------------
   31|  27.3k|    return Py_SIZE(self);
  ------------------
  |  |  214|  27.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  27.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  27.3k|}
codeobject.c:PyBytes_AS_STRING:
   24|  20.0k|{
   25|  20.0k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  20.0k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  20.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 20.0k, False: 0]
  ------------------
   26|  20.0k|}
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|}
pegen.c:PyBytes_GET_SIZE:
   29|  3.00M|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  3.00M|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  3.00M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  3.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 3.00M, False: 0]
  ------------------
   31|  3.00M|    return Py_SIZE(self);
  ------------------
  |  |  214|  3.00M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  3.00M|}
lexer.c:PyBytes_GET_SIZE:
   29|      3|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|      3|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|      3|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 3, False: 0]
  ------------------
   31|      3|    return Py_SIZE(self);
  ------------------
  |  |  214|      3|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|      3|}
action_helpers.c:PyBytes_AS_STRING:
   24|    877|{
   25|    877|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|    877|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    877|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 877, False: 0]
  ------------------
   26|    877|}
action_helpers.c:PyBytes_GET_SIZE:
   29|     38|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|     38|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|     38|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 38, False: 0]
  ------------------
   31|     38|    return Py_SIZE(self);
  ------------------
  |  |  214|     38|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|     38|}

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

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|     51|static inline Py_ssize_t PyCode_GetNumFree(PyCodeObject *op) {
  171|     51|    assert(PyCode_Check(op));
  ------------------
  |  Branch (171:5): [True: 51, False: 0]
  ------------------
  172|     51|    return op->co_nfreevars;
  173|     51|}

call.c:PyDict_GET_SIZE:
   53|    525|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|    525|    PyDictObject *mp;
   55|    525|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 525, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|    525|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|    525|#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|    525|    return mp->ma_used;
   61|    525|#endif
   62|    525|}
exceptions.c:PyDict_GET_SIZE:
   53|     11|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     11|    PyDictObject *mp;
   55|     11|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 11, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|     11|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|     11|    return mp->ma_used;
   61|     11|#endif
   62|     11|}
listobject.c:PyDict_GET_SIZE:
   53|      8|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|      8|    PyDictObject *mp;
   55|      8|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 8, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|      8|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|      8|#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|      8|    return mp->ma_used;
   61|      8|#endif
   62|      8|}
setobject.c:PyDict_GET_SIZE:
   53|      7|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|      7|    PyDictObject *mp;
   55|      7|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 7, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|      7|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|      7|    return mp->ma_used;
   61|      7|#endif
   62|      7|}
typeobject.c:PyDict_GET_SIZE:
   53|  1.34k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  1.34k|    PyDictObject *mp;
   55|  1.34k|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 1.34k, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|  1.34k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  1.34k|#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.34k|    return mp->ma_used;
   61|  1.34k|#endif
   62|  1.34k|}
ceval.c:PyDict_GET_SIZE:
   53|     29|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     29|    PyDictObject *mp;
   55|     29|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 29, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|     29|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     29|#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|     29|    return mp->ma_used;
   61|     29|#endif
   62|     29|}
compile.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|}
flowgraph.c:PyDict_GET_SIZE:
   53|     52|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     52|    PyDictObject *mp;
   55|     52|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 52, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|     52|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     52|#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|     52|    return mp->ma_used;
   61|     52|#endif
   62|     52|}
getargs.c:PyDict_GET_SIZE:
   53|     11|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     11|    PyDictObject *mp;
   55|     11|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 11, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|     11|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|     11|    return mp->ma_used;
   61|     11|#endif
   62|     11|}
import.c:PyDict_GET_SIZE:
   53|     77|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     77|    PyDictObject *mp;
   55|     77|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 77, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|     77|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     77|#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|     77|    return mp->ma_used;
   61|     77|#endif
   62|     77|}
sre.c:PyDict_GET_SIZE:
   53|      4|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|      4|    PyDictObject *mp;
   55|      4|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 4, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|      4|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|      4|    return mp->ma_used;
   61|      4|#endif
   62|      4|}
assemble.c:PyDict_GET_SIZE:
   53|      8|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|      8|    PyDictObject *mp;
   55|      8|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 8, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|      8|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|      8|#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|      8|    return mp->ma_used;
   61|      8|#endif
   62|      8|}

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

funcobject.c:PyFunction_GET_MODULE:
  100|      8|static inline PyObject* PyFunction_GET_MODULE(PyObject *func) {
  101|       |#ifdef Py_GIL_DISABLED
  102|       |    return (PyObject *)_Py_atomic_load_ptr_acquire(
  103|       |        &_PyFunction_CAST(func)->func_module);
  104|       |#else
  105|      8|    return _PyFunction_CAST(func)->func_module;
  ------------------
  |  |   86|      8|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (105:12): [True: 8, False: 0]
  ------------------
  106|      8|#endif
  107|      8|}
ceval.c:PyFunction_GET_CODE:
   90|  2.61k|static inline PyObject* PyFunction_GET_CODE(PyObject *func) {
   91|  2.61k|    return _PyFunction_CAST(func)->func_code;
  ------------------
  |  |   86|  2.61k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  2.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (91:12): [True: 2.61k, False: 0]
  ------------------
   92|  2.61k|}
specialize.c:PyFunction_GET_CODE:
   90|     13|static inline PyObject* PyFunction_GET_CODE(PyObject *func) {
   91|     13|    return _PyFunction_CAST(func)->func_code;
  ------------------
  |  |   86|     13|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (91:12): [True: 13, False: 0]
  ------------------
   92|     13|}

listobject.c:PyList_GET_SIZE:
   30|  2.72k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  2.72k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  2.72k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 2.72k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  2.72k|    return Py_SIZE(list);
  ------------------
  |  |  214|  2.72k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  2.72k|#endif
   37|  2.72k|}
listobject.c:PyList_SET_ITEM:
   43|  1.51M|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  1.51M|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  1.51M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 1.51M, False: 0]
  ------------------
   45|  1.51M|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 1.51M, False: 0]
  ------------------
   46|  1.51M|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 1.51M, False: 0]
  ------------------
   47|  1.51M|    list->ob_item[index] = value;
   48|  1.51M|}
dictobject.c:PyList_SET_ITEM:
   43|  2.48k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  2.48k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  2.48k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 2.48k, False: 0]
  ------------------
   45|  2.48k|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 2.48k, False: 0]
  ------------------
   46|  2.48k|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 2.48k, False: 0]
  ------------------
   47|  2.48k|    list->ob_item[index] = value;
   48|  2.48k|}
object.c:PyList_GET_SIZE:
   30|     48|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     48|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     48|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 48, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|     48|    return Py_SIZE(list);
  ------------------
  |  |  214|     48|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     48|#endif
   37|     48|}
typeobject.c:PyList_SET_ITEM:
   43|     65|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|     65|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     65|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     65|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 65, False: 0]
  ------------------
   45|     65|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 65, False: 0]
  ------------------
   46|     65|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 65, False: 0]
  ------------------
   47|     65|    list->ob_item[index] = value;
   48|     65|}
unicodeobject.c:PyList_GET_SIZE:
   30|    356|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|    356|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    356|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    356|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 356, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|    356|    return Py_SIZE(list);
  ------------------
  |  |  214|    356|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    356|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    356|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|    356|#endif
   37|    356|}
unicodeobject.c:PyList_SET_ITEM:
   43|     97|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|     97|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     97|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 97, False: 0]
  ------------------
   45|     97|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 97, False: 0]
  ------------------
   46|     97|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 97, False: 0]
  ------------------
   47|     97|    list->ob_item[index] = value;
   48|     97|}
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|    300|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|    300|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    300|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    300|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 300, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|    300|    return Py_SIZE(list);
  ------------------
  |  |  214|    300|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    300|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    300|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|    300|#endif
   37|    300|}
ceval.c:PyList_GET_SIZE:
   30|  2.17k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  2.17k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  2.17k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 2.17k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  2.17k|    return Py_SIZE(list);
  ------------------
  |  |  214|  2.17k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  2.17k|#endif
   37|  2.17k|}
ceval.c:PyList_SET_ITEM:
   43|  1.88k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  1.88k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  1.88k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 1.88k, False: 0]
  ------------------
   45|  1.88k|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 1.88k, False: 0]
  ------------------
   46|  1.88k|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 1.88k, False: 0]
  ------------------
   47|  1.88k|    list->ob_item[index] = value;
   48|  1.88k|}
compile.c:PyList_GET_SIZE:
   30|     24|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     24|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     24|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 24, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|     24|    return Py_SIZE(list);
  ------------------
  |  |  214|     24|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     24|#endif
   37|     24|}
compile.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|}
flowgraph.c:PyList_GET_SIZE:
   30|     16|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     16|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     16|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 16, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|     16|    return Py_SIZE(list);
  ------------------
  |  |  214|     16|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     16|#endif
   37|     16|}
gc.c:PyList_GET_SIZE:
   30|     32|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     32|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     32|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 32, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|     32|    return Py_SIZE(list);
  ------------------
  |  |  214|     32|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     32|#endif
   37|     32|}
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_SET_ITEM:
   43|    643|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|    643|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    643|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    643|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 643, False: 0]
  ------------------
   45|    643|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 643, False: 0]
  ------------------
   46|    643|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 643, False: 0]
  ------------------
   47|    643|    list->ob_item[index] = value;
   48|    643|}
marshal.c:PyList_GET_SIZE:
   30|  26.5k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  26.5k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  26.5k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  26.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 26.5k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  26.5k|    return Py_SIZE(list);
  ------------------
  |  |  214|  26.5k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  26.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  26.5k|#endif
   37|  26.5k|}
specialize.c:PyList_GET_SIZE:
   30|      4|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|      4|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|      4|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 4, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|      4|    return Py_SIZE(list);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|      4|#endif
   37|      4|}
symtable.c:PyList_GET_SIZE:
   30|     10|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     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 (31:26): [True: 10, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|     10|    return Py_SIZE(list);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     10|#endif
   37|     10|}
sre.c:PyList_GET_SIZE:
   30|      4|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|      4|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|      4|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 4, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|      4|    return Py_SIZE(list);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|      4|#endif
   37|      4|}
_abc.c:PyList_GET_SIZE:
   30|    896|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|    896|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    896|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    896|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 896, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|    896|    return Py_SIZE(list);
  ------------------
  |  |  214|    896|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    896|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    896|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|    896|#endif
   37|    896|}
abstract.c:PyList_SET_ITEM:
   43|     76|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|     76|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     76|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 76, False: 0]
  ------------------
   45|     76|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 76, False: 0]
  ------------------
   46|     76|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 76, False: 0]
  ------------------
   47|     76|    list->ob_item[index] = value;
   48|     76|}
Python-ast.c:PyList_SET_ITEM:
   43|     11|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|     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 (44:26): [True: 11, False: 0]
  ------------------
   45|     11|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 11, False: 0]
  ------------------
   46|     11|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 11, False: 0]
  ------------------
   47|     11|    list->ob_item[index] = value;
   48|     11|}

listobject.c:_PyLong_IsCompact:
  122|     84|_PyLong_IsCompact(const PyLongObject* op) {
  123|     84|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 84, False: 0]
  ------------------
  124|     84|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|     84|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|     84|}
listobject.c:_PyLong_CompactValue:
  131|     38|{
  132|     38|    Py_ssize_t sign;
  133|     38|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 38, False: 0]
  ------------------
  134|     38|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 38, False: 0]
  ------------------
  135|     38|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|     38|#define _PyLong_SIGN_MASK 3
  ------------------
  136|     38|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 0, False: 38]
  ------------------
  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|     38|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|     38|}
longobject.c:_PyLong_IsCompact:
  122|  14.0k|_PyLong_IsCompact(const PyLongObject* op) {
  123|  14.0k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 14.0k, False: 0]
  ------------------
  124|  14.0k|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|  14.0k|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|  14.0k|}
longobject.c:_PyLong_CompactValue:
  131|  4.99k|{
  132|  4.99k|    Py_ssize_t sign;
  133|  4.99k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 4.99k, False: 0]
  ------------------
  134|  4.99k|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 4.99k, False: 0]
  ------------------
  135|  4.99k|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|  4.99k|#define _PyLong_SIGN_MASK 3
  ------------------
  136|  4.99k|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 1.28k, False: 3.71k]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|  1.28k|        assert(op->long_value.ob_digit[0] == 0);
  ------------------
  |  Branch (139:9): [True: 1.28k, False: 0]
  ------------------
  140|  1.28k|    }
  141|  4.99k|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|  4.99k|}
ceval.c:_PyLong_CompactValue:
  131|  3.44k|{
  132|  3.44k|    Py_ssize_t sign;
  133|  3.44k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 3.44k, False: 0]
  ------------------
  134|  3.44k|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 3.44k, False: 0]
  ------------------
  135|  3.44k|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|  3.44k|#define _PyLong_SIGN_MASK 3
  ------------------
  136|  3.44k|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 1.02k, False: 2.42k]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|  1.02k|        assert(op->long_value.ob_digit[0] == 0);
  ------------------
  |  Branch (139:9): [True: 1.02k, False: 0]
  ------------------
  140|  1.02k|    }
  141|  3.44k|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|  3.44k|}
ceval.c:_PyLong_IsCompact:
  122|  11.6k|_PyLong_IsCompact(const PyLongObject* op) {
  123|  11.6k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 11.6k, False: 0]
  ------------------
  124|  11.6k|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|  11.6k|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|  11.6k|}
specialize.c:_PyLong_CompactValue:
  131|    318|{
  132|    318|    Py_ssize_t sign;
  133|    318|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 318, False: 0]
  ------------------
  134|    318|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 318, False: 0]
  ------------------
  135|    318|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|    318|#define _PyLong_SIGN_MASK 3
  ------------------
  136|    318|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 59, False: 259]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|     59|        assert(op->long_value.ob_digit[0] == 0);
  ------------------
  |  Branch (139:9): [True: 59, False: 0]
  ------------------
  140|     59|    }
  141|    318|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|    318|}
specialize.c:_PyLong_IsCompact:
  122|    870|_PyLong_IsCompact(const PyLongObject* op) {
  123|    870|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 870, False: 0]
  ------------------
  124|    870|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|    870|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|    870|}

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

object.c:_PyObject_SIZE:
    5|     43|static inline size_t _PyObject_SIZE(PyTypeObject *type) {
    6|     43|    return _Py_STATIC_CAST(size_t, type->tp_basicsize);
  ------------------
  |  |   34|     43|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
    7|     43|}
object.c:_PyObject_VAR_SIZE:
   23|  2.41k|static inline size_t _PyObject_VAR_SIZE(PyTypeObject *type, Py_ssize_t nitems) {
   24|  2.41k|    size_t size = _Py_STATIC_CAST(size_t, type->tp_basicsize);
  ------------------
  |  |   34|  2.41k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   25|  2.41k|    size += _Py_STATIC_CAST(size_t, nitems) * _Py_STATIC_CAST(size_t, type->tp_itemsize);
  ------------------
  |  |   34|  2.41k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                  size += _Py_STATIC_CAST(size_t, nitems) * _Py_STATIC_CAST(size_t, type->tp_itemsize);
  ------------------
  |  |   34|  2.41k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   26|  2.41k|    return _Py_SIZE_ROUND_UP(size, SIZEOF_VOID_P);
  ------------------
  |  |  249|  2.41k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  250|  2.41k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
   27|  2.41k|}
typeobject.c:_PyObject_VAR_SIZE:
   23|  10.0k|static inline size_t _PyObject_VAR_SIZE(PyTypeObject *type, Py_ssize_t nitems) {
   24|  10.0k|    size_t size = _Py_STATIC_CAST(size_t, type->tp_basicsize);
  ------------------
  |  |   34|  10.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   25|  10.0k|    size += _Py_STATIC_CAST(size_t, nitems) * _Py_STATIC_CAST(size_t, type->tp_itemsize);
  ------------------
  |  |   34|  10.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                  size += _Py_STATIC_CAST(size_t, nitems) * _Py_STATIC_CAST(size_t, type->tp_itemsize);
  ------------------
  |  |   34|  10.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   26|  10.0k|    return _Py_SIZE_ROUND_UP(size, SIZEOF_VOID_P);
  ------------------
  |  |  249|  10.0k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  250|  10.0k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
   27|  10.0k|}
gc.c:_PyObject_SIZE:
    5|  7.45k|static inline size_t _PyObject_SIZE(PyTypeObject *type) {
    6|  7.45k|    return _Py_STATIC_CAST(size_t, type->tp_basicsize);
  ------------------
  |  |   34|  7.45k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
    7|  7.45k|}
gc.c:_PyObject_VAR_SIZE:
   23|  8.11k|static inline size_t _PyObject_VAR_SIZE(PyTypeObject *type, Py_ssize_t nitems) {
   24|  8.11k|    size_t size = _Py_STATIC_CAST(size_t, type->tp_basicsize);
  ------------------
  |  |   34|  8.11k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   25|  8.11k|    size += _Py_STATIC_CAST(size_t, nitems) * _Py_STATIC_CAST(size_t, type->tp_itemsize);
  ------------------
  |  |   34|  8.11k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                  size += _Py_STATIC_CAST(size_t, nitems) * _Py_STATIC_CAST(size_t, type->tp_itemsize);
  ------------------
  |  |   34|  8.11k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   26|  8.11k|    return _Py_SIZE_ROUND_UP(size, SIZEOF_VOID_P);
  ------------------
  |  |  249|  8.11k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  250|  8.11k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
   27|  8.11k|}

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|    409|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
typeobject.c:_Py_atomic_compare_exchange_uint:
  100|    409|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  101|    409|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
typeobject.c:_Py_atomic_load_int64:
  264|    412|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
typeobject.c:_Py_atomic_add_int64:
   31|    412|{ 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|      2|{ 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); }
ceval.c:_Py_atomic_load_uintptr_relaxed:
  375|  24.6k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
gc.c:_Py_atomic_compare_exchange_int:
   70|      8|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
   71|      8|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_store_int:
  402|      8|{ __atomic_store_n(obj, value, __ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_load_uint32_relaxed:
  367|      8|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
gc.c:_Py_atomic_store_uint32_relaxed:
  493|      8|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
gc.c:_Py_atomic_fence_seq_cst:
  619|      8|{ __atomic_thread_fence(__ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_store_uint32_release:
  597|      8|{ __atomic_store_n(obj, value, __ATOMIC_RELEASE); }
gc.c:_Py_atomic_load_uintptr_relaxed:
  375|  2.48k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
gc.c:_Py_atomic_or_uintptr:
  241|      8|{ return __atomic_fetch_or(obj, value, __ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_load_int_relaxed:
  307|  2.48k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
getargs.c:_Py_atomic_load_uint8:
  272|     54|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
getargs.c:_Py_atomic_load_ptr:
  300|      6|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_SEQ_CST); }
getargs.c:_Py_atomic_compare_exchange_ptr:
  135|      6|{ return __atomic_compare_exchange_n((void **)obj, (void **)expected, desired, 0,
  136|      6|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
ceval_gil.c:_Py_atomic_load_int_acquire:
  593|  1.27k|{ return __atomic_load_n(obj, __ATOMIC_ACQUIRE); }
ceval_gil.c:_Py_atomic_load_int_relaxed:
  307|  2.54k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_load_ptr_relaxed:
  387|  1.27k|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_store_ptr_relaxed:
  509|  1.27k|{ __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|  2.54k|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_and_uintptr:
  218|  1.28k|{ return __atomic_fetch_and(obj, value, __ATOMIC_SEQ_CST); }
ceval_gil.c:_Py_atomic_load_int32_relaxed:
  347|  2.54k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_load_uintptr_relaxed:
  375|  3.82k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
import.c:_Py_atomic_add_ssize:
   63|     42|{ return __atomic_fetch_add(obj, value, __ATOMIC_SEQ_CST); }
import.c:_Py_atomic_compare_exchange_uint8:
  105|     92|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|     92|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_load_uint8_relaxed:
  359|    405|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
lock.c:_Py_atomic_compare_exchange_uint8:
  105|  1.36k|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|  1.36k|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_load_uint8:
  272|      7|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_exchange_uint8:
  171|      7|{ return __atomic_exchange_n(obj, value, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_load_ullong_relaxed:
  391|  1.53k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
lock.c:_Py_atomic_store_ullong_relaxed:
  518|  1.17k|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
pylifecycle.c:_Py_atomic_load_ptr_relaxed:
  387|    100|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_RELAXED); }
pylifecycle.c:_Py_atomic_load_int:
  248|  2.31k|{ 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|  5.08k|{ 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|    181|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|    181|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
fileutils.c:_Py_atomic_load_int_relaxed:
  307|     54|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
fileutils.c:_Py_atomic_store_int_relaxed:
  461|      2|{ __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|    584|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
signalmodule.c:_Py_atomic_load_int:
  248|    584|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
codeobject.c:_Py_atomic_add_uint64:
   55|    446|{ return __atomic_fetch_add(obj, value, __ATOMIC_SEQ_CST); }
Python-ast.c:_Py_atomic_load_uint8:
  272|     76|{ 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|}
import.c:_PyMutex_Lock:
   53|     46|{
   54|     46|    uint8_t expected = _Py_UNLOCKED;
  ------------------
  |  |    9|     46|#define _Py_UNLOCKED    0
  ------------------
   55|     46|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_LOCKED)) {
  ------------------
  |  |   10|     46|#define _Py_LOCKED      1
  ------------------
  |  Branch (55:9): [True: 0, False: 46]
  ------------------
   56|      0|        PyMutex_Lock(m);
   57|      0|    }
   58|     46|}
import.c:_PyMutex_Unlock:
   64|     46|{
   65|     46|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|     46|#define _Py_LOCKED      1
  ------------------
   66|     46|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|     46|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 46]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|     46|}
lock.c:_PyMutex_Lock:
   53|    362|{
   54|    362|    uint8_t expected = _Py_UNLOCKED;
  ------------------
  |  |    9|    362|#define _Py_UNLOCKED    0
  ------------------
   55|    362|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_LOCKED)) {
  ------------------
  |  |   10|    362|#define _Py_LOCKED      1
  ------------------
  |  Branch (55:9): [True: 0, False: 362]
  ------------------
   56|      0|        PyMutex_Lock(m);
   57|      0|    }
   58|    362|}
lock.c:_PyMutex_Unlock:
   64|    586|{
   65|    586|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|    586|#define _Py_LOCKED      1
  ------------------
   66|    586|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|    586|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 586]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|    586|}
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|    181|{
   65|    181|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|    181|#define _Py_LOCKED      1
  ------------------
   66|    181|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|    181|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 181]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|    181|}

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

call.c:PyTuple_GET_SIZE:
   23|  1.35k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.35k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.35k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1.35k, False: 0]
  ------------------
   25|  1.35k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.35k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.35k|}
call.c:PyTuple_SET_ITEM:
   33|    175|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    175|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    175|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    175|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 175, False: 0]
  ------------------
   35|    175|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 175, False: 0]
  ------------------
   36|    175|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 175, False: 0]
  ------------------
   37|    175|    tuple->ob_item[index] = value;
   38|    175|}
exceptions.c:PyTuple_GET_SIZE:
   23|    210|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    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 (24:28): [True: 210, False: 0]
  ------------------
   25|    210|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    210|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    210|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    210|}
listobject.c:PyTuple_GET_SIZE:
   23|    493|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    493|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    493|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    493|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 493, False: 0]
  ------------------
   25|    493|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    493|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    493|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    493|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    493|}
longobject.c:PyTuple_GET_SIZE:
   23|    143|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    143|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    143|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    143|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 143, False: 0]
  ------------------
   25|    143|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    143|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    143|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    143|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    143|}
dictobject.c:PyTuple_SET_ITEM:
   33|    590|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    590|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    590|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    590|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 590, False: 0]
  ------------------
   35|    590|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 590, False: 0]
  ------------------
   36|    590|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 590, False: 0]
  ------------------
   37|    590|    tuple->ob_item[index] = value;
   38|    590|}
dictobject.c:PyTuple_GET_SIZE:
   23|    581|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    581|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    581|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    581|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 581, False: 0]
  ------------------
   25|    581|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    581|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    581|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    581|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    581|}
moduleobject.c:PyTuple_GET_SIZE:
   23|     51|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     51|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     51|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 51, False: 0]
  ------------------
   25|     51|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     51|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     51|}
sentinelobject.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|}
structseq.c:PyTuple_SET_ITEM:
   33|    210|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    210|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    210|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 210, False: 0]
  ------------------
   35|    210|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 210, False: 0]
  ------------------
   36|    210|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 210, False: 0]
  ------------------
   37|    210|    tuple->ob_item[index] = value;
   38|    210|}
tupleobject.c:PyTuple_GET_SIZE:
   23|  1.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|}
tupleobject.c:PyTuple_SET_ITEM:
   33|      8|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|      8|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      8|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 8, False: 0]
  ------------------
   35|      8|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 8, False: 0]
  ------------------
   36|      8|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 8, False: 0]
  ------------------
   37|      8|    tuple->ob_item[index] = value;
   38|      8|}
typeobject.c:PyTuple_GET_SIZE:
   23|   115k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   115k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   115k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   115k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 115k, False: 0]
  ------------------
   25|   115k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   115k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   115k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   115k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   115k|}
typeobject.c:PyTuple_SET_ITEM:
   33|  2.70k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  2.70k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  2.70k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 2.70k, False: 0]
  ------------------
   35|  2.70k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 2.70k, False: 0]
  ------------------
   36|  2.70k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 2.70k, False: 0]
  ------------------
   37|  2.70k|    tuple->ob_item[index] = value;
   38|  2.70k|}
unicodeobject.c:PyTuple_GET_SIZE:
   23|    218|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    218|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    218|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    218|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 218, False: 0]
  ------------------
   25|    218|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    218|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    218|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    218|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    218|}
unicodeobject.c:PyTuple_SET_ITEM:
   33|  1.01k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  1.01k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.01k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 1.01k, False: 0]
  ------------------
   35|  1.01k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 1.01k, False: 0]
  ------------------
   36|  1.01k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 1.01k, False: 0]
  ------------------
   37|  1.01k|    tuple->ob_item[index] = value;
   38|  1.01k|}
weakrefobject.c:PyTuple_GET_SIZE:
   23|    672|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    672|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    672|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    672|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 672, False: 0]
  ------------------
   25|    672|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    672|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    672|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    672|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    672|}
weakrefobject.c:PyTuple_SET_ITEM:
   33|    386|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    386|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    386|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    386|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 386, False: 0]
  ------------------
   35|    386|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 386, False: 0]
  ------------------
   36|    386|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 386, False: 0]
  ------------------
   37|    386|    tuple->ob_item[index] = value;
   38|    386|}
_warnings.c:PyTuple_GET_SIZE:
   23|    250|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    250|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    250|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    250|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 250, False: 0]
  ------------------
   25|    250|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    250|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    250|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    250|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    250|}
bltinmodule.c:PyTuple_GET_SIZE:
   23|    325|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    325|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    325|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    325|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 325, False: 0]
  ------------------
   25|    325|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    325|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    325|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    325|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    325|}
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|  6.78k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  6.78k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  6.78k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  6.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 6.78k, False: 0]
  ------------------
   25|  6.78k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  6.78k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  6.78k|}
codecs.c:PyTuple_GET_SIZE:
   23|      2|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|      2|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 2, False: 0]
  ------------------
   25|      2|    return Py_SIZE(tuple);
  ------------------
  |  |  214|      2|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|      2|}
errors.c:PyTuple_GET_SIZE:
   23|     14|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     14|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     14|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 14, False: 0]
  ------------------
   25|     14|    return Py_SIZE(tuple);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     14|}
getargs.c:PyTuple_GET_SIZE:
   23|  1.27k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.27k|    PyTupleObject *tuple = _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 (24:28): [True: 1.27k, False: 0]
  ------------------
   25|  1.27k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.27k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.27k|}
import.c:PyTuple_GET_SIZE:
   23|     10|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     10|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     10|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 10, False: 0]
  ------------------
   25|     10|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     10|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     10|}
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|  32.8k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  32.8k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  32.8k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  32.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 32.8k, False: 0]
  ------------------
   35|  32.8k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 32.8k, False: 0]
  ------------------
   36|  32.8k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 32.8k, False: 0]
  ------------------
   37|  32.8k|    tuple->ob_item[index] = value;
   38|  32.8k|}
modsupport.c:PyTuple_SET_ITEM:
   33|    605|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    605|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    605|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    605|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 605, False: 0]
  ------------------
   35|    605|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 605, False: 0]
  ------------------
   36|    605|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 605, False: 0]
  ------------------
   37|    605|    tuple->ob_item[index] = value;
   38|    605|}
specialize.c:PyTuple_GET_SIZE:
   23|    102|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    102|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    102|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 102, False: 0]
  ------------------
   25|    102|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    102|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    102|}
sysmodule.c:PyTuple_SET_ITEM:
   33|    594|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    594|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    594|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    594|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 594, False: 0]
  ------------------
   35|    594|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 594, False: 0]
  ------------------
   36|    594|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 594, False: 0]
  ------------------
   37|    594|    tuple->ob_item[index] = value;
   38|    594|}
_collectionsmodule.c:PyTuple_GET_SIZE:
   23|     18|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     18|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     18|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 18, False: 0]
  ------------------
   25|     18|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     18|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     18|}
fileio.c:PyTuple_GET_SIZE:
   23|     33|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     33|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     33|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 33, False: 0]
  ------------------
   25|     33|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     33|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     33|}
bufferedio.c:PyTuple_GET_SIZE:
   23|     33|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     33|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     33|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 33, False: 0]
  ------------------
   25|     33|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     33|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     33|}
textio.c:PyTuple_GET_SIZE:
   23|      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|}
_abc.c:PyTuple_GET_SIZE:
   23|    937|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    937|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    937|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    937|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 937, False: 0]
  ------------------
   25|    937|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    937|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    937|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    937|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    937|}
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|     35|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     35|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     35|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 35, False: 0]
  ------------------
   25|     35|    return Py_SIZE(tuple);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     35|}
codeobject.c:PyTuple_SET_ITEM:
   33|     28|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|     28|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     28|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 28, False: 0]
  ------------------
   35|     28|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 28, False: 0]
  ------------------
   36|     28|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 28, False: 0]
  ------------------
   37|     28|    tuple->ob_item[index] = value;
   38|     28|}
codeobject.c:PyTuple_GET_SIZE:
   23|  17.8k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  17.8k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  17.8k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  17.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 17.8k, False: 0]
  ------------------
   25|  17.8k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  17.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  17.8k|}
descrobject.c:PyTuple_GET_SIZE:
   23|    241|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    241|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    241|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    241|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 241, False: 0]
  ------------------
   25|    241|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    241|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    241|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    241|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    241|}
enumobject.c:PyTuple_SET_ITEM:
   33|    348|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    348|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    348|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    348|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 348, False: 0]
  ------------------
   35|    348|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 348, False: 0]
  ------------------
   36|    348|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 348, False: 0]
  ------------------
   37|    348|    tuple->ob_item[index] = value;
   38|    348|}
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|}
lazyimportobject.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|     27|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     27|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     27|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 27, False: 0]
  ------------------
   25|     27|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     27|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     27|}
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|      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|}
assemble.c:PyTuple_GET_SIZE:
   23|     21|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     21|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     21|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 21, False: 0]
  ------------------
   25|     21|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     21|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     21|}

listobject.c:PyUnicode_GET_LENGTH:
  297|  10.6k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  10.6k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  10.6k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  10.6k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  10.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 10.6k, False: 0]
  ------------------
  299|  10.6k|}
listobject.c:_PyUnicode_DATA:
  279|  10.4k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  10.4k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  10.4k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 10.4k, False: 0]
  |  |  ------------------
  ------------------
  281|  10.4k|        return _PyUnicode_COMPACT_DATA(op);
  282|  10.4k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  10.4k|}
listobject.c:PyUnicode_IS_COMPACT:
  232|  10.4k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  10.4k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  10.4k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  10.4k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 10.4k, False: 0]
  ------------------
  234|  10.4k|}
listobject.c:_PyUnicode_COMPACT_DATA:
  262|  10.4k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  10.4k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  10.4k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 10.4k, False: 0]
  |  |  ------------------
  ------------------
  264|  10.4k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  20.9k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 10.4k, False: 0]
  |  |  ------------------
  ------------------
  265|  10.4k|    }
  266|      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]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
listobject.c:PyUnicode_IS_ASCII:
  225|  10.4k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  10.4k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  10.4k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  10.4k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 10.4k, False: 0]
  ------------------
  227|  10.4k|}
longobject.c:PyUnicode_IS_COMPACT:
  232|    188|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|    188|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|    188|    (assert(PyUnicode_Check(op)), \
  |  |  187|    188|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    188|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 188, False: 0]
  ------------------
  234|    188|}
longobject.c:_PyUnicode_DATA:
  279|    188|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|    188|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|    188|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    188|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    188|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 188, False: 0]
  |  |  ------------------
  ------------------
  281|    188|        return _PyUnicode_COMPACT_DATA(op);
  282|    188|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|    188|}
longobject.c:_PyUnicode_COMPACT_DATA:
  262|    188|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|    188|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|    188|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    188|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    188|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 188, False: 0]
  |  |  ------------------
  ------------------
  264|    188|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    376|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 188, False: 0]
  |  |  ------------------
  ------------------
  265|    188|    }
  266|      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]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
longobject.c:PyUnicode_IS_ASCII:
  225|    188|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|    188|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    188|    (assert(PyUnicode_Check(op)), \
  |  |  187|    188|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    188|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 188, False: 0]
  ------------------
  227|    188|}
dictobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  304|   210k|PyUnstable_Unicode_GET_CACHED_HASH(PyObject *op) {
  305|       |#ifdef Py_GIL_DISABLED
  306|       |    return _Py_atomic_load_ssize_relaxed(&_PyASCIIObject_CAST(op)->hash);
  307|       |#else
  308|   210k|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|   210k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   210k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   210k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (308:12): [True: 210k, False: 0]
  ------------------
  309|   210k|#endif
  310|   210k|}
dictobject.c:PyUnicode_GET_LENGTH:
  297|  9.59k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  9.59k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  9.59k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  9.59k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 9.59k, False: 0]
  ------------------
  299|  9.59k|}
dictobject.c:_PyUnicode_DATA:
  279|  9.59k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  9.59k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  9.59k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 9.59k, False: 0]
  |  |  ------------------
  ------------------
  281|  9.59k|        return _PyUnicode_COMPACT_DATA(op);
  282|  9.59k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  9.59k|}
dictobject.c:PyUnicode_IS_COMPACT:
  232|  9.59k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  9.59k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  9.59k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  9.59k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 9.59k, False: 0]
  ------------------
  234|  9.59k|}
dictobject.c:_PyUnicode_COMPACT_DATA:
  262|  9.59k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  9.59k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  9.59k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 9.56k, False: 30]
  |  |  ------------------
  ------------------
  264|  9.56k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  19.1k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 9.56k, False: 0]
  |  |  ------------------
  ------------------
  265|  9.56k|    }
  266|     30|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|    180|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 30, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 30]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|     30|}
dictobject.c:PyUnicode_IS_ASCII:
  225|  9.59k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  9.59k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  9.59k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  9.59k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 9.59k, False: 0]
  ------------------
  227|  9.59k|}
setobject.c:PyUnicode_GET_LENGTH:
  297|     60|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|     60|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     60|    (assert(PyUnicode_Check(op)), \
  |  |  187|     60|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 60, False: 0]
  ------------------
  299|     60|}
setobject.c:_PyUnicode_DATA:
  279|     60|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|     60|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|     60|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 60, False: 0]
  |  |  ------------------
  ------------------
  281|     60|        return _PyUnicode_COMPACT_DATA(op);
  282|     60|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|     60|}
setobject.c:PyUnicode_IS_COMPACT:
  232|     60|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|     60|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     60|    (assert(PyUnicode_Check(op)), \
  |  |  187|     60|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 60, False: 0]
  ------------------
  234|     60|}
setobject.c:_PyUnicode_COMPACT_DATA:
  262|     60|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|     60|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|     60|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 60, False: 0]
  |  |  ------------------
  ------------------
  264|     60|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    120|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 60, False: 0]
  |  |  ------------------
  ------------------
  265|     60|    }
  266|      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]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
setobject.c:PyUnicode_IS_ASCII:
  225|     60|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|     60|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|     60|    (assert(PyUnicode_Check(op)), \
  |  |  187|     60|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 60, False: 0]
  ------------------
  227|     60|}
typeobject.c:PyUnicode_GET_LENGTH:
  297|  20.3k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  20.3k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  20.3k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  20.3k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  20.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 20.3k, False: 0]
  ------------------
  299|  20.3k|}
typeobject.c:_PyUnicode_DATA:
  279|  19.7k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  19.7k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  19.7k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 19.7k, False: 0]
  |  |  ------------------
  ------------------
  281|  19.7k|        return _PyUnicode_COMPACT_DATA(op);
  282|  19.7k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  19.7k|}
typeobject.c:PyUnicode_IS_COMPACT:
  232|  19.7k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  19.7k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  19.7k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  19.7k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  19.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 19.7k, False: 0]
  ------------------
  234|  19.7k|}
typeobject.c:_PyUnicode_COMPACT_DATA:
  262|  19.7k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  19.7k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  19.7k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 19.7k, False: 0]
  |  |  ------------------
  ------------------
  264|  19.7k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  39.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 19.7k, False: 0]
  |  |  ------------------
  ------------------
  265|  19.7k|    }
  266|      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]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
typeobject.c:PyUnicode_IS_ASCII:
  225|  19.7k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  19.7k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  19.7k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  19.7k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  19.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 19.7k, False: 0]
  ------------------
  227|  19.7k|}
typeobject.c:PyUnicode_CHECK_INTERNED:
  208|  28.9k|static inline unsigned int PyUnicode_CHECK_INTERNED(PyObject *op) {
  209|       |#ifdef Py_GIL_DISABLED
  210|       |    return _Py_atomic_load_uint8_relaxed(&_PyASCIIObject_CAST(op)->state.interned);
  211|       |#else
  212|  28.9k|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|  28.9k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  28.9k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  28.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (212:12): [True: 28.9k, False: 0]
  ------------------
  213|  28.9k|#endif
  214|  28.9k|}
typeobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  304|  6.26k|PyUnstable_Unicode_GET_CACHED_HASH(PyObject *op) {
  305|       |#ifdef Py_GIL_DISABLED
  306|       |    return _Py_atomic_load_ssize_relaxed(&_PyASCIIObject_CAST(op)->hash);
  307|       |#else
  308|  6.26k|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  6.26k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  6.26k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  6.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (308:12): [True: 6.26k, False: 0]
  ------------------
  309|  6.26k|#endif
  310|  6.26k|}
unicode_writer.c:PyUnstable_Unicode_GET_CACHED_HASH:
  304|   209k|PyUnstable_Unicode_GET_CACHED_HASH(PyObject *op) {
  305|       |#ifdef Py_GIL_DISABLED
  306|       |    return _Py_atomic_load_ssize_relaxed(&_PyASCIIObject_CAST(op)->hash);
  307|       |#else
  308|   209k|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|   209k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   209k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   209k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (308:12): [True: 209k, False: 0]
  ------------------
  309|   209k|#endif
  310|   209k|}
unicode_writer.c:PyUnicode_CHECK_INTERNED:
  208|   209k|static inline unsigned int PyUnicode_CHECK_INTERNED(PyObject *op) {
  209|       |#ifdef Py_GIL_DISABLED
  210|       |    return _Py_atomic_load_uint8_relaxed(&_PyASCIIObject_CAST(op)->state.interned);
  211|       |#else
  212|   209k|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|   209k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   209k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   209k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (212:12): [True: 209k, False: 0]
  ------------------
  213|   209k|#endif
  214|   209k|}
unicode_writer.c:PyUnicode_IS_COMPACT_ASCII:
  239|   209k|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  240|   419k|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|   209k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   209k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   209k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  235|    769|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    769|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    769|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 769, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (240:13): [True: 209k, False: 0]
  |  Branch (240:13): [True: 769, False: 209k]
  ------------------
  241|   209k|}
unicode_writer.c:PyUnicode_IS_COMPACT:
  232|   374k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|   374k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   374k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   374k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   374k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 374k, False: 0]
  ------------------
  234|   374k|}
unicode_writer.c:PyUnicode_WRITE:
  319|    106|{
  320|    106|    assert(index >= 0);
  ------------------
  |  Branch (320:5): [True: 106, False: 0]
  ------------------
  321|    106|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (321:9): [True: 62, False: 44]
  ------------------
  322|     62|        assert(value <= 0xffU);
  ------------------
  |  Branch (322:9): [True: 62, False: 0]
  ------------------
  323|     62|        _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|     62|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|     62|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  324|     62|    }
  325|     44|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (325:14): [True: 4, False: 40]
  ------------------
  326|      4|        assert(value <= 0xffffU);
  ------------------
  |  Branch (326:9): [True: 4, False: 0]
  ------------------
  327|      4|        _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|      4|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|      4|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  328|      4|    }
  329|     40|    else {
  330|     40|        assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (330:9): [True: 40, False: 0]
  ------------------
  331|     40|        assert(value <= 0x10ffffU);
  ------------------
  |  Branch (331:9): [True: 40, False: 0]
  ------------------
  332|     40|        _Py_STATIC_CAST(Py_UCS4*, data)[index] = value;
  ------------------
  |  |   34|     40|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  333|     40|    }
  334|    106|}
unicode_writer.c:PyUnicode_GET_LENGTH:
  297|   838k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|   838k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   838k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   838k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   838k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 838k, False: 0]
  ------------------
  299|   838k|}
unicode_writer.c:PyUnicode_MAX_CHAR_VALUE:
  388|   210k|{
  389|   210k|    int kind;
  390|       |
  391|   210k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|   210k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   210k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   210k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 774, False: 209k]
  |  |  ------------------
  ------------------
  392|    774|        return 0x7fU;
  393|    774|    }
  394|       |
  395|   209k|    kind = PyUnicode_KIND(op);
  ------------------
  |  |  259|   209k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   418k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 209k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  396|   209k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (396:9): [True: 164k, False: 45.3k]
  ------------------
  397|   164k|       return 0xffU;
  398|   164k|    }
  399|  45.3k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (399:9): [True: 1.64k, False: 43.6k]
  ------------------
  400|  1.64k|        return 0xffffU;
  401|  1.64k|    }
  402|  45.3k|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (402:5): [True: 43.6k, False: 0]
  ------------------
  403|  43.6k|    return 0x10ffffU;
  404|  43.6k|}
unicode_writer.c:PyUnicode_IS_ASCII:
  225|   583k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|   583k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   583k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   583k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   583k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 583k, False: 0]
  ------------------
  227|   583k|}
unicode_writer.c:_PyUnicodeWriter_Prepare:
  523|    465|{
  524|    465|    assert(0 <= length);
  ------------------
  |  Branch (524:5): [True: 465, False: 0]
  ------------------
  525|    465|    if (maxchar <= writer->maxchar && length <= (writer->size - writer->pos)) {
  ------------------
  |  Branch (525:9): [True: 305, False: 160]
  |  Branch (525:39): [True: 285, False: 20]
  ------------------
  526|    285|        return 0;
  527|    285|    }
  528|    180|    if (length == 0) {
  ------------------
  |  Branch (528:9): [True: 0, False: 180]
  ------------------
  529|      0|        return 0;
  530|      0|    }
  531|    180|_Py_COMP_DIAG_PUSH
  532|    180|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
  533|    180|    return _PyUnicodeWriter_PrepareInternal(writer, length, maxchar);
  534|    180|_Py_COMP_DIAG_POP
  535|    180|}
unicode_writer.c:_PyUnicode_DATA:
  279|   373k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|   373k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|   373k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   373k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   373k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 373k, False: 0]
  |  |  ------------------
  ------------------
  281|   373k|        return _PyUnicode_COMPACT_DATA(op);
  282|   373k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|   373k|}
unicode_writer.c:_PyUnicode_COMPACT_DATA:
  262|   373k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|   373k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|   373k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   373k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   373k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 471, False: 373k]
  |  |  ------------------
  ------------------
  264|    471|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    942|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 471, False: 0]
  |  |  ------------------
  ------------------
  265|    471|    }
  266|   373k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  2.23M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 373k, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 373k]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|   373k|}
unicodeobject.c:PyUnicode_CHECK_INTERNED:
  208|  75.6k|static inline unsigned int PyUnicode_CHECK_INTERNED(PyObject *op) {
  209|       |#ifdef Py_GIL_DISABLED
  210|       |    return _Py_atomic_load_uint8_relaxed(&_PyASCIIObject_CAST(op)->state.interned);
  211|       |#else
  212|  75.6k|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|  75.6k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  75.6k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  75.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (212:12): [True: 75.6k, False: 0]
  ------------------
  213|  75.6k|#endif
  214|  75.6k|}
unicodeobject.c:_PyUnicode_DATA:
  279|   735k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|   735k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|   735k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   735k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   735k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 735k, False: 7]
  |  |  ------------------
  ------------------
  281|   735k|        return _PyUnicode_COMPACT_DATA(op);
  282|   735k|    }
  283|      7|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|   735k|}
unicodeobject.c:_PyUnicode_COMPACT_DATA:
  262|   735k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|   735k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|   735k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   735k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   735k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 149k, False: 585k]
  |  |  ------------------
  ------------------
  264|   149k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|   298k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 149k, False: 0]
  |  |  ------------------
  ------------------
  265|   149k|    }
  266|   585k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  3.51M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 585k, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 585k]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|   585k|}
unicodeobject.c:_PyUnicode_NONCOMPACT_DATA:
  269|      7|static inline void* _PyUnicode_NONCOMPACT_DATA(PyObject *op) {
  270|      7|    void *data;
  271|      7|    assert(!PyUnicode_IS_COMPACT(op));
  ------------------
  |  Branch (271:5): [True: 7, False: 0]
  ------------------
  272|      7|    data = _PyUnicodeObject_CAST(op)->data.any;
  ------------------
  |  |  193|      7|    (assert(!_PyASCIIObject_CAST(op)->state.compact), \
  |  |  194|      7|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (272:12): [True: 7, False: 0]
  |  Branch (272:12): [True: 7, False: 0]
  ------------------
  273|      7|    assert(data != NULL);
  ------------------
  |  Branch (273:5): [True: 7, False: 0]
  ------------------
  274|      7|    return data;
  275|      7|}
unicodeobject.c:PyUnicode_READ:
  343|   485M|{
  344|   485M|    assert(index >= 0);
  ------------------
  |  Branch (344:5): [True: 485M, False: 0]
  ------------------
  345|   485M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (345:9): [True: 23.1M, False: 461M]
  ------------------
  346|  23.1M|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|  23.1M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  347|  23.1M|    }
  348|   461M|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (348:9): [True: 50.1M, False: 411M]
  ------------------
  349|  50.1M|        return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
  ------------------
  |  |   34|  50.1M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  350|  50.1M|    }
  351|   461M|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (351:5): [True: 411M, False: 0]
  ------------------
  352|   411M|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|   411M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  353|   411M|}
unicodeobject.c:PyUnicode_GET_LENGTH:
  297|   114k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|   114k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   114k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   114k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   114k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 114k, False: 0]
  ------------------
  299|   114k|}
unicodeobject.c:PyUnicode_IS_COMPACT:
  232|   979k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|   979k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   979k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   979k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   979k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 979k, False: 0]
  ------------------
  234|   979k|}
unicodeobject.c:PyUnicode_IS_ASCII:
  225|   910k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|   910k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   910k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   910k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   910k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 910k, False: 0]
  ------------------
  227|   910k|}
unicodeobject.c:PyUnicode_IS_COMPACT_ASCII:
  239|   229k|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  240|   458k|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|   229k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   229k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   229k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  235|  19.3k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 19.3k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (240:13): [True: 229k, False: 0]
  |  Branch (240:13): [True: 19.3k, False: 210k]
  ------------------
  241|   229k|}
unicodeobject.c:PyUnicode_WRITE:
  319|  19.8M|{
  320|  19.8M|    assert(index >= 0);
  ------------------
  |  Branch (320:5): [True: 19.8M, False: 0]
  ------------------
  321|  19.8M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (321:9): [True: 6.03k, False: 19.8M]
  ------------------
  322|  6.03k|        assert(value <= 0xffU);
  ------------------
  |  Branch (322:9): [True: 6.03k, False: 0]
  ------------------
  323|  6.03k|        _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|  6.03k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|  6.03k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  324|  6.03k|    }
  325|  19.8M|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (325:14): [True: 93, False: 19.8M]
  ------------------
  326|     93|        assert(value <= 0xffffU);
  ------------------
  |  Branch (326:9): [True: 93, False: 0]
  ------------------
  327|     93|        _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|     93|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|     93|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  328|     93|    }
  329|  19.8M|    else {
  330|  19.8M|        assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (330:9): [True: 19.8M, False: 0]
  ------------------
  331|  19.8M|        assert(value <= 0x10ffffU);
  ------------------
  |  Branch (331:9): [True: 19.8M, False: 0]
  ------------------
  332|  19.8M|        _Py_STATIC_CAST(Py_UCS4*, data)[index] = value;
  ------------------
  |  |   34|  19.8M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  333|  19.8M|    }
  334|  19.8M|}
unicodeobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  304|  36.3k|PyUnstable_Unicode_GET_CACHED_HASH(PyObject *op) {
  305|       |#ifdef Py_GIL_DISABLED
  306|       |    return _Py_atomic_load_ssize_relaxed(&_PyASCIIObject_CAST(op)->hash);
  307|       |#else
  308|  36.3k|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  36.3k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  36.3k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  36.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (308:12): [True: 36.3k, False: 0]
  ------------------
  309|  36.3k|#endif
  310|  36.3k|}
unicodeobject.c:_PyUnicodeWriter_Prepare:
  523|    173|{
  524|    173|    assert(0 <= length);
  ------------------
  |  Branch (524:5): [True: 173, False: 0]
  ------------------
  525|    173|    if (maxchar <= writer->maxchar && length <= (writer->size - writer->pos)) {
  ------------------
  |  Branch (525:9): [True: 54, False: 119]
  |  Branch (525:39): [True: 54, False: 0]
  ------------------
  526|     54|        return 0;
  527|     54|    }
  528|    119|    if (length == 0) {
  ------------------
  |  Branch (528:9): [True: 0, False: 119]
  ------------------
  529|      0|        return 0;
  530|      0|    }
  531|    119|_Py_COMP_DIAG_PUSH
  532|    119|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
  533|    119|    return _PyUnicodeWriter_PrepareInternal(writer, length, maxchar);
  534|    119|_Py_COMP_DIAG_POP
  535|    119|}
unicodeobject.c:PyUnicode_MAX_CHAR_VALUE:
  388|  4.99k|{
  389|  4.99k|    int kind;
  390|       |
  391|  4.99k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  4.99k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 4.98k, False: 12]
  |  |  ------------------
  ------------------
  392|  4.98k|        return 0x7fU;
  393|  4.98k|    }
  394|       |
  395|     12|    kind = PyUnicode_KIND(op);
  ------------------
  |  |  259|     12|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     24|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 12, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  396|     12|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (396:9): [True: 0, False: 12]
  ------------------
  397|      0|       return 0xffU;
  398|      0|    }
  399|     12|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (399:9): [True: 4, False: 8]
  ------------------
  400|      4|        return 0xffffU;
  401|      4|    }
  402|     12|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (402:5): [True: 8, False: 0]
  ------------------
  403|      8|    return 0x10ffffU;
  404|      8|}
unicodeobject.c:Py_UNICODE_IS_SURROGATE:
   16|  29.0k|static inline int Py_UNICODE_IS_SURROGATE(Py_UCS4 ch) {
   17|  29.0k|    return (0xD800 <= ch && ch <= 0xDFFF);
  ------------------
  |  Branch (17:13): [True: 29.0k, False: 42]
  |  Branch (17:29): [True: 0, False: 29.0k]
  ------------------
   18|  29.0k|}
unicodeobject.c:Py_UNICODE_ISSPACE:
  703|     30|static inline int Py_UNICODE_ISSPACE(Py_UCS4 ch) {
  704|     30|    if (ch < 128) {
  ------------------
  |  Branch (704:9): [True: 30, False: 0]
  ------------------
  705|     30|        return _Py_ascii_whitespace[ch];
  706|     30|    }
  707|      0|    return _PyUnicode_IsWhitespace(ch);
  708|     30|}
bltinmodule.c:PyUnicode_GET_LENGTH:
  297|     46|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|     46|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     46|    (assert(PyUnicode_Check(op)), \
  |  |  187|     46|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 46, False: 0]
  ------------------
  299|     46|}
bltinmodule.c:PyUnicode_READ_CHAR:
  364|     23|{
  365|     23|    int kind;
  366|       |
  367|     23|    assert(index >= 0);
  ------------------
  |  Branch (367:5): [True: 23, False: 0]
  ------------------
  368|       |    // Tolerate reading the NUL character at str[len(str)]
  369|     23|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (369:5): [True: 23, False: 0]
  ------------------
  370|       |
  371|     23|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|     23|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     46|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 23, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|     23|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (372:9): [True: 23, False: 0]
  ------------------
  373|     23|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|     23|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     23|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  374|     23|    }
  375|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (375:9): [True: 0, False: 0]
  ------------------
  376|      0|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  377|      0|    }
  378|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (378:5): [True: 0, False: 0]
  ------------------
  379|      0|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  294|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  380|      0|}
bltinmodule.c:_PyUnicode_DATA:
  279|     23|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|     23|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|     23|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 23, False: 0]
  |  |  ------------------
  ------------------
  281|     23|        return _PyUnicode_COMPACT_DATA(op);
  282|     23|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|     23|}
bltinmodule.c:PyUnicode_IS_COMPACT:
  232|     23|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|     23|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     23|    (assert(PyUnicode_Check(op)), \
  |  |  187|     23|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 23, False: 0]
  ------------------
  234|     23|}
bltinmodule.c:_PyUnicode_COMPACT_DATA:
  262|     23|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|     23|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|     23|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 23, False: 0]
  |  |  ------------------
  ------------------
  264|     23|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|     46|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 23, False: 0]
  |  |  ------------------
  ------------------
  265|     23|    }
  266|      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]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
bltinmodule.c:PyUnicode_IS_ASCII:
  225|     23|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|     23|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|     23|    (assert(PyUnicode_Check(op)), \
  |  |  187|     23|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 23, False: 0]
  ------------------
  227|     23|}
ceval.c:PyUnicode_IS_COMPACT_ASCII:
  239|  1.09k|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  240|  2.18k|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|  1.09k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.09k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  235|  1.09k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 1.09k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (240:13): [True: 1.09k, False: 0]
  |  Branch (240:13): [True: 1.09k, False: 0]
  ------------------
  241|  1.09k|}
ceval.c:PyUnicode_IS_COMPACT:
  232|  2.18k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  2.18k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  2.18k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  2.18k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 2.18k, False: 0]
  ------------------
  234|  2.18k|}
ceval.c:PyUnicode_GET_LENGTH:
  297|  1.09k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  1.09k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  1.09k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.09k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 1.09k, False: 0]
  ------------------
  299|  1.09k|}
ceval.c:_PyUnicode_DATA:
  279|  1.09k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  1.09k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  1.09k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 1.09k, False: 0]
  |  |  ------------------
  ------------------
  281|  1.09k|        return _PyUnicode_COMPACT_DATA(op);
  282|  1.09k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  1.09k|}
ceval.c:_PyUnicode_COMPACT_DATA:
  262|  1.09k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  1.09k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  1.09k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 1.09k, False: 0]
  |  |  ------------------
  ------------------
  264|  1.09k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  2.18k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 1.09k, False: 0]
  |  |  ------------------
  ------------------
  265|  1.09k|    }
  266|      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]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
ceval.c:PyUnicode_IS_ASCII:
  225|  1.09k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  1.09k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  1.09k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.09k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 1.09k, False: 0]
  ------------------
  227|  1.09k|}
import.c:PyUnicode_GET_LENGTH:
  297|  1.07k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  1.07k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  1.07k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.07k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 1.07k, False: 0]
  ------------------
  299|  1.07k|}
importdl.c:PyUnicode_IS_ASCII:
  225|     34|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|     34|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|     34|    (assert(PyUnicode_Check(op)), \
  |  |  187|     34|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 34, False: 0]
  ------------------
  227|     34|}
intrinsics.c:PyUnicode_READ_CHAR:
  364|  1.72k|{
  365|  1.72k|    int kind;
  366|       |
  367|  1.72k|    assert(index >= 0);
  ------------------
  |  Branch (367:5): [True: 1.72k, False: 0]
  ------------------
  368|       |    // Tolerate reading the NUL character at str[len(str)]
  369|  1.72k|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (369:5): [True: 1.72k, False: 0]
  ------------------
  370|       |
  371|  1.72k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|  1.72k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  3.44k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.72k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|  1.72k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (372:9): [True: 1.72k, False: 0]
  ------------------
  373|  1.72k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|  1.72k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  1.72k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  374|  1.72k|    }
  375|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (375:9): [True: 0, False: 0]
  ------------------
  376|      0|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  377|      0|    }
  378|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (378:5): [True: 0, False: 0]
  ------------------
  379|      0|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  294|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  380|      0|}
intrinsics.c:PyUnicode_GET_LENGTH:
  297|  1.72k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  1.72k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  1.72k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.72k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 1.72k, False: 0]
  ------------------
  299|  1.72k|}
intrinsics.c:_PyUnicode_DATA:
  279|  1.72k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  1.72k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  1.72k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 1.72k, False: 0]
  |  |  ------------------
  ------------------
  281|  1.72k|        return _PyUnicode_COMPACT_DATA(op);
  282|  1.72k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  1.72k|}
intrinsics.c:PyUnicode_IS_COMPACT:
  232|  1.72k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  1.72k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  1.72k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.72k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 1.72k, False: 0]
  ------------------
  234|  1.72k|}
intrinsics.c:_PyUnicode_COMPACT_DATA:
  262|  1.72k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  1.72k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  1.72k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 1.72k, False: 0]
  |  |  ------------------
  ------------------
  264|  1.72k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  3.44k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 1.72k, False: 0]
  |  |  ------------------
  ------------------
  265|  1.72k|    }
  266|      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]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
intrinsics.c:PyUnicode_IS_ASCII:
  225|  1.72k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  1.72k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  1.72k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.72k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 1.72k, False: 0]
  ------------------
  227|  1.72k|}
specialize.c:PyUnicode_IS_COMPACT_ASCII:
  239|      9|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  240|     18|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|      9|    (assert(PyUnicode_Check(op)), \
  |  |  187|      9|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  235|      9|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 9, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (240:13): [True: 9, False: 0]
  |  Branch (240:13): [True: 9, False: 0]
  ------------------
  241|      9|}
specialize.c:PyUnicode_IS_COMPACT:
  232|      9|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|      9|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|      9|    (assert(PyUnicode_Check(op)), \
  |  |  187|      9|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 9, False: 0]
  ------------------
  234|      9|}
symtable.c:PyUnicode_GET_LENGTH:
  297|     62|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|     62|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     62|    (assert(PyUnicode_Check(op)), \
  |  |  187|     62|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 62, False: 0]
  ------------------
  299|     62|}
symtable.c:PyUnicode_READ_CHAR:
  364|     62|{
  365|     62|    int kind;
  366|       |
  367|     62|    assert(index >= 0);
  ------------------
  |  Branch (367:5): [True: 62, False: 0]
  ------------------
  368|       |    // Tolerate reading the NUL character at str[len(str)]
  369|     62|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (369:5): [True: 62, False: 0]
  ------------------
  370|       |
  371|     62|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|     62|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    124|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 62, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|     62|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (372:9): [True: 62, False: 0]
  ------------------
  373|     62|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|     62|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     62|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  374|     62|    }
  375|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (375:9): [True: 0, False: 0]
  ------------------
  376|      0|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  377|      0|    }
  378|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (378:5): [True: 0, False: 0]
  ------------------
  379|      0|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  294|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  380|      0|}
symtable.c:_PyUnicode_DATA:
  279|     62|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|     62|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|     62|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 62, False: 0]
  |  |  ------------------
  ------------------
  281|     62|        return _PyUnicode_COMPACT_DATA(op);
  282|     62|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|     62|}
symtable.c:PyUnicode_IS_COMPACT:
  232|     62|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|     62|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     62|    (assert(PyUnicode_Check(op)), \
  |  |  187|     62|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 62, False: 0]
  ------------------
  234|     62|}
symtable.c:_PyUnicode_COMPACT_DATA:
  262|     62|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|     62|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|     62|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 62, False: 0]
  |  |  ------------------
  ------------------
  264|     62|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    124|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 62, False: 0]
  |  |  ------------------
  ------------------
  265|     62|    }
  266|      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]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
symtable.c:PyUnicode_IS_ASCII:
  225|     62|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|     62|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|     62|    (assert(PyUnicode_Check(op)), \
  |  |  187|     62|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 62, False: 0]
  ------------------
  227|     62|}
typecache.c:PyUnicode_CHECK_INTERNED:
  208|  27.5k|static inline unsigned int PyUnicode_CHECK_INTERNED(PyObject *op) {
  209|       |#ifdef Py_GIL_DISABLED
  210|       |    return _Py_atomic_load_uint8_relaxed(&_PyASCIIObject_CAST(op)->state.interned);
  211|       |#else
  212|  27.5k|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  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 (212:12): [True: 27.5k, False: 0]
  ------------------
  213|  27.5k|#endif
  214|  27.5k|}
typecache.c:PyUnstable_Unicode_GET_CACHED_HASH:
  304|  35.3k|PyUnstable_Unicode_GET_CACHED_HASH(PyObject *op) {
  305|       |#ifdef Py_GIL_DISABLED
  306|       |    return _Py_atomic_load_ssize_relaxed(&_PyASCIIObject_CAST(op)->hash);
  307|       |#else
  308|  35.3k|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  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 (308:12): [True: 35.3k, False: 0]
  ------------------
  309|  35.3k|#endif
  310|  35.3k|}
fileutils.c:Py_UNICODE_IS_SURROGATE:
   16|  1.10k|static inline int Py_UNICODE_IS_SURROGATE(Py_UCS4 ch) {
   17|  1.10k|    return (0xD800 <= ch && ch <= 0xDFFF);
  ------------------
  |  Branch (17:13): [True: 0, False: 1.10k]
  |  Branch (17:29): [True: 0, False: 0]
  ------------------
   18|  1.10k|}
textio.c:PyUnicode_GET_LENGTH:
  297|    300|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|    300|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|    300|    (assert(PyUnicode_Check(op)), \
  |  |  187|    300|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    300|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 300, False: 0]
  ------------------
  299|    300|}
textio.c:PyUnicode_IS_ASCII:
  225|    206|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|    206|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    206|    (assert(PyUnicode_Check(op)), \
  |  |  187|    206|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    206|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 206, False: 0]
  ------------------
  227|    206|}
textio.c:_PyUnicode_DATA:
  279|     56|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|     56|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|     56|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 56, False: 0]
  |  |  ------------------
  ------------------
  281|     56|        return _PyUnicode_COMPACT_DATA(op);
  282|     56|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|     56|}
textio.c:PyUnicode_IS_COMPACT:
  232|     56|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|     56|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     56|    (assert(PyUnicode_Check(op)), \
  |  |  187|     56|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 56, False: 0]
  ------------------
  234|     56|}
textio.c:_PyUnicode_COMPACT_DATA:
  262|     56|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|     56|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|     56|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 56, False: 0]
  |  |  ------------------
  ------------------
  264|     56|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    112|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 56, False: 0]
  |  |  ------------------
  ------------------
  265|     56|    }
  266|      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]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
sre.c:PyUnicode_GET_LENGTH:
  297|      3|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|      3|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|      3|    (assert(PyUnicode_Check(op)), \
  |  |  187|      3|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 3, False: 0]
  ------------------
  299|      3|}
sre.c:_PyUnicode_DATA:
  279|      3|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|      3|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|      3|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 3, False: 0]
  |  |  ------------------
  ------------------
  281|      3|        return _PyUnicode_COMPACT_DATA(op);
  282|      3|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|      3|}
sre.c:PyUnicode_IS_COMPACT:
  232|      3|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|      3|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|      3|    (assert(PyUnicode_Check(op)), \
  |  |  187|      3|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 3, False: 0]
  ------------------
  234|      3|}
sre.c:_PyUnicode_COMPACT_DATA:
  262|      3|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|      3|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|      3|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 3, False: 0]
  |  |  ------------------
  ------------------
  264|      3|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|      6|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 3, False: 0]
  |  |  ------------------
  ------------------
  265|      3|    }
  266|      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]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
sre.c:PyUnicode_IS_ASCII:
  225|      3|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|      3|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|      3|    (assert(PyUnicode_Check(op)), \
  |  |  187|      3|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 3, False: 0]
  ------------------
  227|      3|}
getpath.c:PyUnicode_GET_LENGTH:
  297|     12|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|     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 (298:12): [True: 12, False: 0]
  ------------------
  299|     12|}
helpers.c:PyUnicode_GET_LENGTH:
  297|     14|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|     14|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     14|    (assert(PyUnicode_Check(op)), \
  |  |  187|     14|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 14, False: 0]
  ------------------
  299|     14|}
bytesobject.c:PyUnicode_IS_ASCII:
  225|      2|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|      2|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|      2|    (assert(PyUnicode_Check(op)), \
  |  |  187|      2|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 2, False: 0]
  ------------------
  227|      2|}
bytesobject.c:_PyUnicode_DATA:
  279|      2|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|      2|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|      2|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  281|      2|        return _PyUnicode_COMPACT_DATA(op);
  282|      2|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|      2|}
bytesobject.c:PyUnicode_IS_COMPACT:
  232|      2|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|      2|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|      2|    (assert(PyUnicode_Check(op)), \
  |  |  187|      2|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 2, False: 0]
  ------------------
  234|      2|}
bytesobject.c:_PyUnicode_COMPACT_DATA:
  262|      2|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|      2|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|      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 (228:32): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  264|      2|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|      4|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  265|      2|    }
  266|      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]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
codeobject.c:PyUnicode_IS_ASCII:
  225|  14.9k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  14.9k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  14.9k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  14.9k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  14.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 14.9k, False: 0]
  ------------------
  227|  14.9k|}
codeobject.c:_PyUnicode_DATA:
  279|  7.47k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  7.47k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  7.47k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 7.47k, False: 0]
  |  |  ------------------
  ------------------
  281|  7.47k|        return _PyUnicode_COMPACT_DATA(op);
  282|  7.47k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  7.47k|}
codeobject.c:PyUnicode_IS_COMPACT:
  232|  7.47k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  7.47k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  7.47k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  7.47k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 7.47k, False: 0]
  ------------------
  234|  7.47k|}
codeobject.c:_PyUnicode_COMPACT_DATA:
  262|  7.47k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  7.47k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  7.47k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 7.47k, False: 0]
  |  |  ------------------
  ------------------
  264|  7.47k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  14.9k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 7.47k, False: 0]
  |  |  ------------------
  ------------------
  265|  7.47k|    }
  266|      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]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
codeobject.c:PyUnicode_GET_LENGTH:
  297|  7.47k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  7.47k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  7.47k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  7.47k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 7.47k, False: 0]
  ------------------
  299|  7.47k|}
unicode_format.c:PyUnicode_IS_ASCII:
  225|     21|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|     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 (226:12): [True: 21, False: 0]
  ------------------
  227|     21|}
unicode_format.c:_PyUnicode_DATA:
  279|     21|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|     21|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|     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 (235:34): [True: 21, False: 0]
  |  |  ------------------
  ------------------
  281|     21|        return _PyUnicode_COMPACT_DATA(op);
  282|     21|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|     21|}
unicode_format.c:PyUnicode_IS_COMPACT:
  232|     21|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|     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 (233:12): [True: 21, False: 0]
  ------------------
  234|     21|}
unicode_format.c:_PyUnicode_COMPACT_DATA:
  262|     21|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|     21|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|     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 (228:32): [True: 21, False: 0]
  |  |  ------------------
  ------------------
  264|     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]
  |  |  ------------------
  ------------------
  265|     21|    }
  266|      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]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
unicode_format.c:PyUnicode_GET_LENGTH:
  297|     21|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|     21|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     21|    (assert(PyUnicode_Check(op)), \
  |  |  187|     21|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 21, False: 0]
  ------------------
  299|     21|}
unicode_format.c:PyUnicode_READ:
  343|    399|{
  344|    399|    assert(index >= 0);
  ------------------
  |  Branch (344:5): [True: 399, False: 0]
  ------------------
  345|    399|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (345:9): [True: 399, False: 0]
  ------------------
  346|    399|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|    399|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  347|    399|    }
  348|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (348:9): [True: 0, False: 0]
  ------------------
  349|      0|        return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  350|      0|    }
  351|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (351:5): [True: 0, False: 0]
  ------------------
  352|      0|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  353|      0|}
pegen.c:PyUnicode_GET_LENGTH:
  297|     34|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|     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 (298:12): [True: 34, False: 0]
  ------------------
  299|     34|}
pegen.c:PyUnicode_IS_ASCII:
  225|    361|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|    361|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    361|    (assert(PyUnicode_Check(op)), \
  |  |  187|    361|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    361|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 361, False: 0]
  ------------------
  227|    361|}
lexer.c:PyUnicode_GET_LENGTH:
  297|  3.02k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  3.02k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  3.02k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.02k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 3.02k, False: 0]
  ------------------
  299|  3.02k|}
lexer.c:PyUnicode_READ_CHAR:
  364|      3|{
  365|      3|    int kind;
  366|       |
  367|      3|    assert(index >= 0);
  ------------------
  |  Branch (367:5): [True: 3, False: 0]
  ------------------
  368|       |    // Tolerate reading the NUL character at str[len(str)]
  369|      3|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (369:5): [True: 3, False: 0]
  ------------------
  370|       |
  371|      3|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|      3|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|      3|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (372:9): [True: 0, False: 3]
  ------------------
  373|      0|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|      0|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  374|      0|    }
  375|      3|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (375:9): [True: 0, False: 3]
  ------------------
  376|      0|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  377|      0|    }
  378|      3|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (378:5): [True: 3, False: 0]
  ------------------
  379|      3|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  294|      3|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      3|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  380|      3|}
lexer.c:_PyUnicode_DATA:
  279|      3|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|      3|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|      3|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 3, False: 0]
  |  |  ------------------
  ------------------
  281|      3|        return _PyUnicode_COMPACT_DATA(op);
  282|      3|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|      3|}
lexer.c:PyUnicode_IS_COMPACT:
  232|      3|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|      3|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|      3|    (assert(PyUnicode_Check(op)), \
  |  |  187|      3|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 3, False: 0]
  ------------------
  234|      3|}
lexer.c:_PyUnicode_COMPACT_DATA:
  262|      3|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|      3|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|      3|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 0, False: 3]
  |  |  ------------------
  ------------------
  264|      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]
  |  |  ------------------
  ------------------
  265|      0|    }
  266|      3|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|     18|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 3, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 3]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      3|}
lexer.c:PyUnicode_IS_ASCII:
  225|      3|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|      3|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|      3|    (assert(PyUnicode_Check(op)), \
  |  |  187|      3|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 3, False: 0]
  ------------------
  227|      3|}
action_helpers.c:PyUnicode_READ_CHAR:
  364|      8|{
  365|      8|    int kind;
  366|       |
  367|      8|    assert(index >= 0);
  ------------------
  |  Branch (367:5): [True: 8, False: 0]
  ------------------
  368|       |    // Tolerate reading the NUL character at str[len(str)]
  369|      8|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (369:5): [True: 8, False: 0]
  ------------------
  370|       |
  371|      8|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|      8|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     16|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 8, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|      8|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (372:9): [True: 0, False: 8]
  ------------------
  373|      0|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|      0|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  374|      0|    }
  375|      8|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (375:9): [True: 0, False: 8]
  ------------------
  376|      0|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  377|      0|    }
  378|      8|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (378:5): [True: 8, False: 0]
  ------------------
  379|      8|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  294|      8|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      8|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  380|      8|}
action_helpers.c:_PyUnicode_DATA:
  279|      8|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|      8|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|      8|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 8, False: 0]
  |  |  ------------------
  ------------------
  281|      8|        return _PyUnicode_COMPACT_DATA(op);
  282|      8|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|      8|}
action_helpers.c:PyUnicode_IS_COMPACT:
  232|      8|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|      8|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|      8|    (assert(PyUnicode_Check(op)), \
  |  |  187|      8|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 8, False: 0]
  ------------------
  234|      8|}
action_helpers.c:_PyUnicode_COMPACT_DATA:
  262|      8|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|      8|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|      8|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 0, False: 8]
  |  |  ------------------
  ------------------
  264|      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]
  |  |  ------------------
  ------------------
  265|      0|    }
  266|      8|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 8, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 8]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      8|}
action_helpers.c:PyUnicode_IS_ASCII:
  225|      8|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|      8|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|      8|    (assert(PyUnicode_Check(op)), \
  |  |  187|      8|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 8, False: 0]
  ------------------
  227|      8|}
action_helpers.c:PyUnicode_GET_LENGTH:
  297|     20|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|     20|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     20|    (assert(PyUnicode_Check(op)), \
  |  |  187|     20|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 20, False: 0]
  ------------------
  299|     20|}
string_parser.c:_PyUnicode_DATA:
  279|   207k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|   207k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|   207k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 207k, False: 0]
  |  |  ------------------
  ------------------
  281|   207k|        return _PyUnicode_COMPACT_DATA(op);
  282|   207k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|   207k|}
string_parser.c:PyUnicode_IS_COMPACT:
  232|   207k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|   207k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   207k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   207k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 207k, False: 0]
  ------------------
  234|   207k|}
string_parser.c:_PyUnicode_COMPACT_DATA:
  262|   207k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|   207k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|   207k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 0, False: 207k]
  |  |  ------------------
  ------------------
  264|      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]
  |  |  ------------------
  ------------------
  265|      0|    }
  266|   207k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  1.24M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 207k, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 207k]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|   207k|}
string_parser.c:PyUnicode_IS_ASCII:
  225|   207k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|   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 (226:12): [True: 207k, False: 0]
  ------------------
  227|   207k|}
string_parser.c:PyUnicode_GET_LENGTH:
  297|   207k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|   207k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   207k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   207k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 207k, False: 0]
  ------------------
  299|   207k|}
string_parser.c:PyUnicode_READ:
  343|   207k|{
  344|   207k|    assert(index >= 0);
  ------------------
  |  Branch (344:5): [True: 207k, False: 0]
  ------------------
  345|   207k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (345:9): [True: 163k, False: 43.5k]
  ------------------
  346|   163k|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|   163k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  347|   163k|    }
  348|  43.5k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (348:9): [True: 32, False: 43.5k]
  ------------------
  349|     32|        return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
  ------------------
  |  |   34|     32|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  350|     32|    }
  351|  43.5k|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (351:5): [True: 43.5k, False: 0]
  ------------------
  352|  43.5k|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|  43.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  353|  43.5k|}

obmalloc.c:mi_lock_release:
  566|      6|static inline void mi_lock_release(mi_lock_t* lock) {
  567|      6|  pthread_mutex_unlock(&lock->mutex);
  568|      6|}
obmalloc.c:mi_lock_init:
  569|      4|static inline void mi_lock_init(mi_lock_t* lock) {
  570|      4|  if(lock==NULL) return;
  ------------------
  |  Branch (570:6): [True: 0, False: 4]
  ------------------
  571|       |  // use this instead of pthread_mutex_init since that can cause allocation on some platforms (and recursively initialize)
  572|      4|  const pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
  573|      4|  memcpy(&lock->mutex,&mutex,sizeof(mutex));
  574|      4|}
obmalloc.c:mi_lock_acquire:
  560|      6|static inline void mi_lock_acquire(mi_lock_t* lock) {
  561|      6|  const int err = pthread_mutex_lock(&lock->mutex);
  562|      6|  if (err != 0) {
  ------------------
  |  Branch (562:7): [True: 0, False: 6]
  ------------------
  563|      0|    _mi_error_message(err, "internal error: lock cannot be acquired (err %i)\n", err);
  564|      0|  }
  565|      6|}

obmalloc.c:mi_mul_overflow:
  472|      2|static inline bool mi_mul_overflow(size_t count, size_t size, size_t* total) {
  473|       |  #if (SIZE_MAX == UINT_MAX)
  474|       |    return __builtin_umul_overflow(count, size, (unsigned int *)total);
  475|       |  #elif (SIZE_MAX == ULONG_MAX)
  476|       |    return __builtin_umull_overflow(count, size, (unsigned long *)total);
  477|       |  #else
  478|       |    return __builtin_umulll_overflow(count, size, (unsigned long long *)total);
  479|       |  #endif
  480|      2|}
obmalloc.c:mi_heap_is_initialized:
  517|      4|static inline bool mi_heap_is_initialized(mi_heap_t* heap) {
  518|      4|  mi_assert_internal(heap != NULL);
  519|      4|  return (heap != NULL && heap != &_mi_heap_empty);
  ------------------
  |  Branch (519:11): [True: 4, False: 0]
  |  Branch (519:27): [True: 4, False: 0]
  ------------------
  520|      4|}
obmalloc.c:_mi_memzero:
 1152|      2|static inline void _mi_memzero(void* dst, size_t n) {
 1153|      2|  memset(dst, 0, n);
 1154|      2|}

obmalloc.c:mi_prim_get_default_heap:
  434|      6|static inline mi_heap_t* mi_prim_get_default_heap(void) {
  435|       |  #if defined(MI_TLS_RECURSE_GUARD)
  436|       |  if (mi_unlikely(!_mi_process_is_initialized)) return _mi_heap_main_get();
  437|       |  #endif
  438|      6|  return _mi_heap_default;
  439|      6|}
obmalloc.c:_mi_prim_thread_id:
  318|     12|static inline mi_threadid_t _mi_prim_thread_id(void) mi_attr_noexcept {
  319|       |  // Works on most Unix based platforms with recent compilers
  320|     12|  return (uintptr_t)__builtin_thread_pointer();
  321|     12|}

listobject.c:_PyIndex_Check:
   14|     55|{
   15|     55|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     55|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 31, False: 24]
  |  Branch (16:37): [True: 31, False: 0]
  ------------------
   17|     55|}
rangeobject.c:_PyIndex_Check:
   14|      7|{
   15|      7|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|      7|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 0, False: 7]
  |  Branch (16:37): [True: 0, False: 0]
  ------------------
   17|      7|}
sliceobject.c:_PyIndex_Check:
   14|      7|{
   15|      7|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|      7|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 7, False: 0]
  |  Branch (16:37): [True: 7, False: 0]
  ------------------
   17|      7|}
tupleobject.c:_PyIndex_Check:
   14|     68|{
   15|     68|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     68|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 57, False: 11]
  |  Branch (16:37): [True: 57, False: 0]
  ------------------
   17|     68|}
unicodeobject.c:_PyIndex_Check:
   14|    288|{
   15|    288|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|    288|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    288|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    288|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|    288|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 198, False: 90]
  |  Branch (16:37): [True: 198, False: 0]
  ------------------
   17|    288|}
fileio.c:_PyIndex_Check:
   14|     33|{
   15|     33|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     33|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 33, False: 0]
  |  Branch (16:37): [True: 6, False: 27]
  ------------------
   17|     33|}
abstract.c:_PyIndex_Check:
   14|    171|{
   15|    171|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|    171|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    171|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    171|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|    171|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 171, False: 0]
  |  Branch (16:37): [True: 8, False: 163]
  ------------------
   17|    171|}
bytes_methods.c:_PyIndex_Check:
   14|     28|{
   15|     28|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|     28|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     28|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 28, False: 0]
  |  Branch (16:37): [True: 28, False: 0]
  ------------------
   17|     28|}
bytearrayobject.c:_PyIndex_Check:
   14|     48|{
   15|     48|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|     48|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     48|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 21, False: 27]
  |  Branch (16:37): [True: 21, False: 0]
  ------------------
   17|     48|}
bytesobject.c:_PyIndex_Check:
   14|    108|{
   15|    108|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|    108|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    108|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|    108|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 0, False: 108]
  |  Branch (16:37): [True: 0, False: 0]
  ------------------
   17|    108|}
memoryobject.c:_PyIndex_Check:
   14|     27|{
   15|     27|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     27|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 0, False: 27]
  |  Branch (16:37): [True: 0, False: 0]
  ------------------
   17|     27|}

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

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

bytesobject.c:_PyBytes_GET_CACHED_HASH:
   95|  3.00M|{
   96|  3.00M|_Py_COMP_DIAG_PUSH
   97|  3.00M|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
   98|       |#ifdef Py_GIL_DISABLED
   99|       |    return _Py_atomic_load_ssize_relaxed(&self->ob_shash);
  100|       |#else
  101|  3.00M|    return self->ob_shash;
  102|  3.00M|#endif
  103|  3.00M|_Py_COMP_DIAG_POP
  104|  3.00M|}
bytesobject.c:_PyBytesWriter_GetData:
  128|    271|{
  129|    271|    if (writer->obj == NULL) {
  ------------------
  |  Branch (129:9): [True: 78, False: 193]
  ------------------
  130|     78|        return writer->small_buffer;
  131|     78|    }
  132|    193|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (132:14): [True: 0, False: 193]
  ------------------
  133|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  134|      0|    }
  135|    193|    else {
  136|    193|        return PyBytes_AS_STRING(writer->obj);
  ------------------
  |  |   27|    193|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    193|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    193|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|    193|    }
  138|    271|}
bytesobject.c:_PyBytesWriter_GetSize:
  122|     42|{
  123|     42|    return writer->size;
  124|     42|}

call.c:_PyObject_VectorcallTstate:
  131|  7.33k|{
  132|  7.33k|    vectorcallfunc func;
  133|  7.33k|    PyObject *res;
  134|       |
  135|  7.33k|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (135:5): [True: 7.12k, False: 207]
  |  Branch (135:5): [True: 207, False: 0]
  ------------------
  136|  7.33k|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (136:5): [True: 7.28k, False: 47]
  |  Branch (136:5): [True: 47, False: 0]
  ------------------
  137|       |
  138|  7.33k|    func = _PyVectorcall_FunctionInline(callable);
  139|  7.33k|    if (func == NULL) {
  ------------------
  |  Branch (139:9): [True: 1.54k, False: 5.78k]
  ------------------
  140|  1.54k|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  1.54k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  141|  1.54k|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  142|  1.54k|    }
  143|  5.78k|    res = func(callable, args, nargsf, kwnames);
  144|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  145|  7.33k|}
call.c:_PyVectorcall_FunctionInline:
   91|  9.34k|{
   92|  9.34k|    assert(callable != NULL);
  ------------------
  |  Branch (92:5): [True: 9.34k, False: 0]
  ------------------
   93|       |
   94|  9.34k|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|  9.34k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|  9.34k|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|  9.34k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (95:9): [True: 316, False: 9.03k]
  ------------------
   96|    316|        return NULL;
   97|    316|    }
   98|  9.34k|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (98:5): [True: 9.03k, False: 0]
  ------------------
   99|       |
  100|  9.03k|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  101|  9.03k|    assert(offset > 0);
  ------------------
  |  Branch (101:5): [True: 9.03k, False: 0]
  ------------------
  102|       |
  103|  9.03k|    vectorcallfunc ptr;
  104|  9.03k|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  105|  9.03k|    return ptr;
  106|  9.03k|}
dictobject.c:_PyObject_CallNoArgs:
  156|      6|_PyObject_CallNoArgs(PyObject *func) {
  157|      6|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|      6|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  158|      6|    PyThreadState *tstate = _PyThreadState_GET();
  159|      6|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  160|      6|}
dictobject.c:_PyObject_VectorcallTstate:
  131|      6|{
  132|      6|    vectorcallfunc func;
  133|      6|    PyObject *res;
  134|       |
  135|      6|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (135:5): [True: 6, False: 0]
  |  Branch (135:5): [True: 0, False: 0]
  ------------------
  136|      6|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (136:5): [True: 0, False: 6]
  |  Branch (136:5): [True: 6, False: 0]
  ------------------
  137|       |
  138|      6|    func = _PyVectorcall_FunctionInline(callable);
  139|      6|    if (func == NULL) {
  ------------------
  |  Branch (139:9): [True: 0, False: 6]
  ------------------
  140|      0|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      0|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  141|      0|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  142|      0|    }
  143|      6|    res = func(callable, args, nargsf, kwnames);
  144|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  145|      6|}
dictobject.c:_PyVectorcall_FunctionInline:
   91|      6|{
   92|      6|    assert(callable != NULL);
  ------------------
  |  Branch (92:5): [True: 6, False: 0]
  ------------------
   93|       |
   94|      6|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|      6|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|      6|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (95:9): [True: 0, False: 6]
  ------------------
   96|      0|        return NULL;
   97|      0|    }
   98|      6|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (98:5): [True: 6, False: 0]
  ------------------
   99|       |
  100|      6|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  101|      6|    assert(offset > 0);
  ------------------
  |  Branch (101:5): [True: 6, False: 0]
  ------------------
  102|       |
  103|      6|    vectorcallfunc ptr;
  104|      6|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  105|      6|    return ptr;
  106|      6|}
object.c:_PyObject_CallNoArgs:
  156|      2|_PyObject_CallNoArgs(PyObject *func) {
  157|      2|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|      2|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  158|      2|    PyThreadState *tstate = _PyThreadState_GET();
  159|      2|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  160|      2|}
object.c:_PyObject_VectorcallTstate:
  131|      2|{
  132|      2|    vectorcallfunc func;
  133|      2|    PyObject *res;
  134|       |
  135|      2|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (135:5): [True: 2, False: 0]
  |  Branch (135:5): [True: 0, False: 0]
  ------------------
  136|      2|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (136:5): [True: 0, False: 2]
  |  Branch (136:5): [True: 2, False: 0]
  ------------------
  137|       |
  138|      2|    func = _PyVectorcall_FunctionInline(callable);
  139|      2|    if (func == NULL) {
  ------------------
  |  Branch (139:9): [True: 0, False: 2]
  ------------------
  140|      0|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      0|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  141|      0|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  142|      0|    }
  143|      2|    res = func(callable, args, nargsf, kwnames);
  144|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  145|      2|}
object.c:_PyVectorcall_FunctionInline:
   91|      2|{
   92|      2|    assert(callable != NULL);
  ------------------
  |  Branch (92:5): [True: 2, False: 0]
  ------------------
   93|       |
   94|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|      2|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|      2|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (95:9): [True: 0, False: 2]
  ------------------
   96|      0|        return NULL;
   97|      0|    }
   98|      2|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (98:5): [True: 2, False: 0]
  ------------------
   99|       |
  100|      2|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  101|      2|    assert(offset > 0);
  ------------------
  |  Branch (101:5): [True: 2, False: 0]
  ------------------
  102|       |
  103|      2|    vectorcallfunc ptr;
  104|      2|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  105|      2|    return ptr;
  106|      2|}
typeobject.c:_PyObject_VectorcallTstate:
  131|    253|{
  132|    253|    vectorcallfunc func;
  133|    253|    PyObject *res;
  134|       |
  135|    253|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (135:5): [True: 253, False: 0]
  |  Branch (135:5): [True: 0, False: 0]
  ------------------
  136|    253|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (136:5): [True: 253, False: 0]
  |  Branch (136:5): [True: 0, False: 0]
  ------------------
  137|       |
  138|    253|    func = _PyVectorcall_FunctionInline(callable);
  139|    253|    if (func == NULL) {
  ------------------
  |  Branch (139:9): [True: 0, False: 253]
  ------------------
  140|      0|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      0|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  141|      0|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  142|      0|    }
  143|    253|    res = func(callable, args, nargsf, kwnames);
  144|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  145|    253|}
typeobject.c:_PyVectorcall_FunctionInline:
   91|    253|{
   92|    253|    assert(callable != NULL);
  ------------------
  |  Branch (92:5): [True: 253, False: 0]
  ------------------
   93|       |
   94|    253|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|    253|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    253|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    253|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|    253|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|    253|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (95:9): [True: 0, False: 253]
  ------------------
   96|      0|        return NULL;
   97|      0|    }
   98|    253|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (98:5): [True: 253, False: 0]
  ------------------
   99|       |
  100|    253|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  101|    253|    assert(offset > 0);
  ------------------
  |  Branch (101:5): [True: 253, False: 0]
  ------------------
  102|       |
  103|    253|    vectorcallfunc ptr;
  104|    253|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  105|    253|    return ptr;
  106|    253|}
bltinmodule.c:_PyObject_VectorcallTstate:
  131|     68|{
  132|     68|    vectorcallfunc func;
  133|     68|    PyObject *res;
  134|       |
  135|     68|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (135:5): [True: 68, False: 0]
  |  Branch (135:5): [True: 0, False: 0]
  ------------------
  136|     68|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (136:5): [True: 68, False: 0]
  |  Branch (136:5): [True: 0, False: 0]
  ------------------
  137|       |
  138|     68|    func = _PyVectorcall_FunctionInline(callable);
  139|     68|    if (func == NULL) {
  ------------------
  |  Branch (139:9): [True: 0, False: 68]
  ------------------
  140|      0|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      0|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  141|      0|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  142|      0|    }
  143|     68|    res = func(callable, args, nargsf, kwnames);
  144|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  145|     68|}
bltinmodule.c:_PyVectorcall_FunctionInline:
   91|     68|{
   92|     68|    assert(callable != NULL);
  ------------------
  |  Branch (92:5): [True: 68, False: 0]
  ------------------
   93|       |
   94|     68|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|     68|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|     68|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (95:9): [True: 0, False: 68]
  ------------------
   96|      0|        return NULL;
   97|      0|    }
   98|     68|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (98:5): [True: 68, False: 0]
  ------------------
   99|       |
  100|     68|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  101|     68|    assert(offset > 0);
  ------------------
  |  Branch (101:5): [True: 68, False: 0]
  ------------------
  102|       |
  103|     68|    vectorcallfunc ptr;
  104|     68|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  105|     68|    return ptr;
  106|     68|}
bufferedio.c:_PyObject_CallNoArgs:
  156|     27|_PyObject_CallNoArgs(PyObject *func) {
  157|     27|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|     27|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  158|     27|    PyThreadState *tstate = _PyThreadState_GET();
  159|     27|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  160|     27|}
bufferedio.c:_PyObject_VectorcallTstate:
  131|     27|{
  132|     27|    vectorcallfunc func;
  133|     27|    PyObject *res;
  134|       |
  135|     27|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (135:5): [True: 27, False: 0]
  |  Branch (135:5): [True: 0, False: 0]
  ------------------
  136|     27|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (136:5): [True: 0, False: 27]
  |  Branch (136:5): [True: 27, False: 0]
  ------------------
  137|       |
  138|     27|    func = _PyVectorcall_FunctionInline(callable);
  139|     27|    if (func == NULL) {
  ------------------
  |  Branch (139:9): [True: 0, False: 27]
  ------------------
  140|      0|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      0|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  141|      0|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  142|      0|    }
  143|     27|    res = func(callable, args, nargsf, kwnames);
  144|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  145|     27|}
bufferedio.c:_PyVectorcall_FunctionInline:
   91|     27|{
   92|     27|    assert(callable != NULL);
  ------------------
  |  Branch (92:5): [True: 27, False: 0]
  ------------------
   93|       |
   94|     27|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|     27|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|     27|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (95:9): [True: 0, False: 27]
  ------------------
   96|      0|        return NULL;
   97|      0|    }
   98|     27|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (98:5): [True: 27, False: 0]
  ------------------
   99|       |
  100|     27|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  101|     27|    assert(offset > 0);
  ------------------
  |  Branch (101:5): [True: 27, False: 0]
  ------------------
  102|       |
  103|     27|    vectorcallfunc ptr;
  104|     27|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  105|     27|    return ptr;
  106|     27|}
_functoolsmodule.c:_PyObject_CallNoArgs:
  156|      1|_PyObject_CallNoArgs(PyObject *func) {
  157|      1|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|      1|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  158|      1|    PyThreadState *tstate = _PyThreadState_GET();
  159|      1|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  160|      1|}
_functoolsmodule.c:_PyObject_VectorcallTstate:
  131|      1|{
  132|      1|    vectorcallfunc func;
  133|      1|    PyObject *res;
  134|       |
  135|      1|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (135:5): [True: 1, False: 0]
  |  Branch (135:5): [True: 0, False: 0]
  ------------------
  136|      1|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (136:5): [True: 0, False: 1]
  |  Branch (136:5): [True: 1, False: 0]
  ------------------
  137|       |
  138|      1|    func = _PyVectorcall_FunctionInline(callable);
  139|      1|    if (func == NULL) {
  ------------------
  |  Branch (139:9): [True: 1, False: 0]
  ------------------
  140|      1|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      1|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  141|      1|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  142|      1|    }
  143|      0|    res = func(callable, args, nargsf, kwnames);
  144|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  145|      1|}
_functoolsmodule.c:_PyVectorcall_FunctionInline:
   91|      1|{
   92|      1|    assert(callable != NULL);
  ------------------
  |  Branch (92:5): [True: 1, False: 0]
  ------------------
   93|       |
   94|      1|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|      1|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|      1|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (95:9): [True: 0, False: 1]
  ------------------
   96|      0|        return NULL;
   97|      0|    }
   98|      1|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (98:5): [True: 1, False: 0]
  ------------------
   99|       |
  100|      1|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  101|      1|    assert(offset > 0);
  ------------------
  |  Branch (101:5): [True: 1, False: 0]
  ------------------
  102|       |
  103|      1|    vectorcallfunc ptr;
  104|      1|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  105|      1|    return ptr;
  106|      1|}
abstract.c:_PyObject_CallNoArgs:
  156|     80|_PyObject_CallNoArgs(PyObject *func) {
  157|     80|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|     80|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  158|     80|    PyThreadState *tstate = _PyThreadState_GET();
  159|     80|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  160|     80|}
abstract.c:_PyObject_VectorcallTstate:
  131|     80|{
  132|     80|    vectorcallfunc func;
  133|     80|    PyObject *res;
  134|       |
  135|     80|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (135:5): [True: 80, False: 0]
  |  Branch (135:5): [True: 0, False: 0]
  ------------------
  136|     80|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (136:5): [True: 0, False: 80]
  |  Branch (136:5): [True: 80, False: 0]
  ------------------
  137|       |
  138|     80|    func = _PyVectorcall_FunctionInline(callable);
  139|     80|    if (func == NULL) {
  ------------------
  |  Branch (139:9): [True: 0, False: 80]
  ------------------
  140|      0|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      0|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  141|      0|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  142|      0|    }
  143|     80|    res = func(callable, args, nargsf, kwnames);
  144|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  145|     80|}
abstract.c:_PyVectorcall_FunctionInline:
   91|     80|{
   92|     80|    assert(callable != NULL);
  ------------------
  |  Branch (92:5): [True: 80, False: 0]
  ------------------
   93|       |
   94|     80|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|     80|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|     80|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (95:9): [True: 0, False: 80]
  ------------------
   96|      0|        return NULL;
   97|      0|    }
   98|     80|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (98:5): [True: 80, False: 0]
  ------------------
   99|       |
  100|     80|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  101|     80|    assert(offset > 0);
  ------------------
  |  Branch (101:5): [True: 80, False: 0]
  ------------------
  102|       |
  103|     80|    vectorcallfunc ptr;
  104|     80|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  105|     80|    return ptr;
  106|     80|}
enumobject.c:_PyObject_CallNoArgs:
  156|      2|_PyObject_CallNoArgs(PyObject *func) {
  157|      2|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|      2|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  158|      2|    PyThreadState *tstate = _PyThreadState_GET();
  159|      2|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  160|      2|}
enumobject.c:_PyObject_VectorcallTstate:
  131|      2|{
  132|      2|    vectorcallfunc func;
  133|      2|    PyObject *res;
  134|       |
  135|      2|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (135:5): [True: 2, False: 0]
  |  Branch (135:5): [True: 0, False: 0]
  ------------------
  136|      2|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (136:5): [True: 0, False: 2]
  |  Branch (136:5): [True: 2, False: 0]
  ------------------
  137|       |
  138|      2|    func = _PyVectorcall_FunctionInline(callable);
  139|      2|    if (func == NULL) {
  ------------------
  |  Branch (139:9): [True: 0, False: 2]
  ------------------
  140|      0|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      0|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  141|      0|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  142|      0|    }
  143|      2|    res = func(callable, args, nargsf, kwnames);
  144|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  145|      2|}
enumobject.c:_PyVectorcall_FunctionInline:
   91|      2|{
   92|      2|    assert(callable != NULL);
  ------------------
  |  Branch (92:5): [True: 2, False: 0]
  ------------------
   93|       |
   94|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|      2|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|      2|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (95:9): [True: 0, False: 2]
  ------------------
   96|      0|        return NULL;
   97|      0|    }
   98|      2|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (98:5): [True: 2, False: 0]
  ------------------
   99|       |
  100|      2|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  101|      2|    assert(offset > 0);
  ------------------
  |  Branch (101:5): [True: 2, False: 0]
  ------------------
  102|       |
  103|      2|    vectorcallfunc ptr;
  104|      2|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  105|      2|    return ptr;
  106|      2|}

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

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

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

dictobject.c:DK_ENTRIES:
  294|  2.92k|static inline PyDictKeyEntry* DK_ENTRIES(PyDictKeysObject *dk) {
  295|  2.92k|    assert(dk->dk_kind == DICT_KEYS_GENERAL);
  ------------------
  |  Branch (295:5): [True: 2.92k, False: 0]
  ------------------
  296|  2.92k|    return (PyDictKeyEntry*)_DK_ENTRIES(dk);
  297|  2.92k|}
dictobject.c:_DK_ENTRIES:
  288|   203k|static inline void* _DK_ENTRIES(PyDictKeysObject *dk) {
  289|   203k|    int8_t *indices = (int8_t*)(dk->dk_indices);
  290|   203k|    size_t index = (size_t)1 << dk->dk_log2_index_bytes;
  291|   203k|    return (&indices[index]);
  292|   203k|}
dictobject.c:DK_UNICODE_ENTRIES:
  298|   104k|static inline PyDictUnicodeEntry* DK_UNICODE_ENTRIES(PyDictKeysObject *dk) {
  299|   104k|    assert(dk->dk_kind != DICT_KEYS_GENERAL);
  ------------------
  |  Branch (299:5): [True: 104k, False: 0]
  ------------------
  300|   104k|    return (PyDictUnicodeEntry*)_DK_ENTRIES(dk);
  301|   104k|}
dictobject.c:get_insertion_order_array:
  349|  1.17k|{
  350|  1.17k|    return (uint8_t *)&values->values[values->capacity];
  351|  1.17k|}
dictobject.c:_PyDict_NotifyEvent:
  331|  37.2k|{
  332|  37.2k|    assert(Py_REFCNT((PyObject*)mp) > 0);
  ------------------
  |  Branch (332:5): [True: 37.2k, False: 0]
  ------------------
  333|  37.2k|    int watcher_bits = FT_ATOMIC_LOAD_UINT64_ACQUIRE(mp->_ma_watcher_tag) & DICT_WATCHER_MASK;
  ------------------
  |  |  162|  37.2k|#define FT_ATOMIC_LOAD_UINT64_ACQUIRE(value) value
  ------------------
                  int watcher_bits = FT_ATOMIC_LOAD_UINT64_ACQUIRE(mp->_ma_watcher_tag) & DICT_WATCHER_MASK;
  ------------------
  |  |  306|  37.2k|#define DICT_WATCHER_MASK ((1 << DICT_MAX_WATCHERS) - 1)
  |  |  ------------------
  |  |  |  |   11|  37.2k|#define DICT_MAX_WATCHERS 8
  |  |  ------------------
  ------------------
  334|  37.2k|    if (watcher_bits) {
  ------------------
  |  Branch (334:9): [True: 7.38k, False: 29.8k]
  ------------------
  335|  7.38k|        RARE_EVENT_STAT_INC(watched_dict_modification);
  ------------------
  |  |   89|  7.38k|#define RARE_EVENT_STAT_INC(name) ((void)0)
  ------------------
  336|  7.38k|        _PyDict_SendEvent(watcher_bits, event, mp, key, value);
  337|  7.38k|    }
  338|  37.2k|}
dictobject.c:_PyDictValues_AddToInsertionOrder:
  355|  1.17k|{
  356|  1.17k|    assert(ix < SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (356:5): [True: 1.17k, False: 0]
  ------------------
  357|  1.17k|    int size = values->size;
  358|  1.17k|    uint8_t *array = get_insertion_order_array(values);
  359|  1.17k|    assert(size < values->capacity);
  ------------------
  |  Branch (359:5): [True: 1.17k, False: 0]
  ------------------
  360|  1.17k|    assert(((uint8_t)ix) == ix);
  ------------------
  |  Branch (360:5): [True: 1.17k, False: 0]
  ------------------
  361|  1.17k|    FT_ATOMIC_STORE_UINT8_RELAXED(array[size], (uint8_t)ix);
  ------------------
  |  |  173|  1.17k|#define FT_ATOMIC_STORE_UINT8_RELAXED(value, new_value) value = new_value
  ------------------
  362|  1.17k|    FT_ATOMIC_STORE_UINT8_RELEASE(values->size, size+1);
  ------------------
  |  |  172|  1.17k|#define FT_ATOMIC_STORE_UINT8_RELEASE(value, new_value) value = new_value
  ------------------
  363|  1.17k|}
dictobject.c:shared_keys_usable_size:
  371|    850|{
  372|       |    // dk_usable will decrease for each instance that is created and each
  373|       |    // value that is added.  dk_nentries will increase for each value that
  374|       |    // is added.  We want to always return the right value or larger.
  375|       |    // We therefore increase dk_nentries first and we decrease dk_usable
  376|       |    // second, and conversely here we read dk_usable first and dk_entries
  377|       |    // second (to avoid the case where we read entries before the increment
  378|       |    // and read usable after the decrement)
  379|    850|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  150|    850|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  380|    850|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  150|    850|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  381|    850|    return dk_nentries + dk_usable;
  382|    850|}
dictobject.c:_PyDictKeys_AsSharedKeys:
  258|    367|{
  259|    367|    assert(keys->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  Branch (259:5): [True: 367, False: 0]
  ------------------
  260|    367|    return _Py_CONTAINER_OF(keys, struct _instancekeysobject, dsk_keys);
  ------------------
  |  |  309|    367|    (type*)((char*)ptr - offsetof(type, member))
  ------------------
  261|    367|}
typeobject.c:_PyInlineValuesSize:
  386|    706|{
  387|    706|    PyDictKeysObject *keys = ((PyHeapTypeObject*)tp)->ht_cached_keys;
  388|    706|    assert(keys != NULL);
  ------------------
  |  Branch (388:5): [True: 706, False: 0]
  ------------------
  389|    706|    size_t size = shared_keys_usable_size(keys);
  390|    706|    size_t prefix_size = _Py_SIZE_ROUND_UP(size, sizeof(PyObject *));
  ------------------
  |  |  249|    706|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  250|    706|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  391|    706|    assert(prefix_size < 256);
  ------------------
  |  Branch (391:5): [True: 706, False: 0]
  ------------------
  392|    706|    return prefix_size + (size + 1) * sizeof(PyObject *);
  393|    706|}
typeobject.c:shared_keys_usable_size:
  371|    706|{
  372|       |    // dk_usable will decrease for each instance that is created and each
  373|       |    // value that is added.  dk_nentries will increase for each value that
  374|       |    // is added.  We want to always return the right value or larger.
  375|       |    // We therefore increase dk_nentries first and we decrease dk_usable
  376|       |    // second, and conversely here we read dk_usable first and dk_entries
  377|       |    // second (to avoid the case where we read entries before the increment
  378|       |    // and read usable after the decrement)
  379|    706|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  150|    706|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  380|    706|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  150|    706|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  381|    706|    return dk_nentries + dk_usable;
  382|    706|}
ceval.c:DK_UNICODE_ENTRIES:
  298|  17.3k|static inline PyDictUnicodeEntry* DK_UNICODE_ENTRIES(PyDictKeysObject *dk) {
  299|  17.3k|    assert(dk->dk_kind != DICT_KEYS_GENERAL);
  ------------------
  |  Branch (299:5): [True: 17.3k, False: 0]
  ------------------
  300|  17.3k|    return (PyDictUnicodeEntry*)_DK_ENTRIES(dk);
  301|  17.3k|}
ceval.c:_DK_ENTRIES:
  288|  17.3k|static inline void* _DK_ENTRIES(PyDictKeysObject *dk) {
  289|  17.3k|    int8_t *indices = (int8_t*)(dk->dk_indices);
  290|  17.3k|    size_t index = (size_t)1 << dk->dk_log2_index_bytes;
  291|  17.3k|    return (&indices[index]);
  292|  17.3k|}
ceval.c:_PyDictValues_AddToInsertionOrder:
  355|  1.70k|{
  356|  1.70k|    assert(ix < SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (356:5): [True: 1.70k, False: 0]
  ------------------
  357|  1.70k|    int size = values->size;
  358|  1.70k|    uint8_t *array = get_insertion_order_array(values);
  359|  1.70k|    assert(size < values->capacity);
  ------------------
  |  Branch (359:5): [True: 1.70k, False: 0]
  ------------------
  360|  1.70k|    assert(((uint8_t)ix) == ix);
  ------------------
  |  Branch (360:5): [True: 1.70k, False: 0]
  ------------------
  361|  1.70k|    FT_ATOMIC_STORE_UINT8_RELAXED(array[size], (uint8_t)ix);
  ------------------
  |  |  173|  1.70k|#define FT_ATOMIC_STORE_UINT8_RELAXED(value, new_value) value = new_value
  ------------------
  362|  1.70k|    FT_ATOMIC_STORE_UINT8_RELEASE(values->size, size+1);
  ------------------
  |  |  172|  1.70k|#define FT_ATOMIC_STORE_UINT8_RELEASE(value, new_value) value = new_value
  ------------------
  363|  1.70k|}
ceval.c:get_insertion_order_array:
  349|  1.70k|{
  350|  1.70k|    return (uint8_t *)&values->values[values->capacity];
  351|  1.70k|}

listobject.c:_Py_freelists_GET:
   19|  3.98k|{
   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.98k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  3.98k|    return &interp->object_state.freelists;
   30|  3.98k|#endif
   31|  3.98k|}
listobject.c:_PyFreeList_Pop:
   88|  2.09k|{
   89|  2.09k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  2.09k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 1.85k, False: 247]
  ------------------
   91|  1.85k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  1.85k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  1.85k|        _Py_NewReference(op);
   93|  1.85k|    }
   94|  2.09k|    return op;
   95|  2.09k|}
listobject.c:_PyFreeList_PopNoStats:
   76|  2.09k|{
   77|  2.09k|    void *obj = fl->freelist;
   78|  2.09k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 1.85k, False: 247]
  ------------------
   79|  1.85k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 1.85k, False: 0]
  ------------------
   80|  1.85k|        fl->freelist = *(void **)obj;
   81|  1.85k|        fl->size--;
   82|  1.85k|    }
   83|  2.09k|    return obj;
   84|  2.09k|}
listobject.c:_PyFreeList_Free:
   68|  1.88k|{
   69|  1.88k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 1.88k]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  1.88k|}
listobject.c:_PyFreeList_Push:
   54|  1.88k|{
   55|  1.88k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 1.88k, False: 0]
  |  Branch (55:31): [True: 1.88k, False: 0]
  ------------------
   56|  1.88k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|  1.88k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  1.88k|        fl->freelist = obj;
   58|  1.88k|        fl->size++;
   59|  1.88k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  1.88k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  1.88k|        return 1;
   61|  1.88k|    }
   62|      0|    return 0;
   63|  1.88k|}
longobject.c:_PyFreeList_Pop:
   88|  1.28k|{
   89|  1.28k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  1.28k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 956, False: 325]
  ------------------
   91|    956|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|    956|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|    956|        _Py_NewReference(op);
   93|    956|    }
   94|  1.28k|    return op;
   95|  1.28k|}
longobject.c:_PyFreeList_PopNoStats:
   76|  1.28k|{
   77|  1.28k|    void *obj = fl->freelist;
   78|  1.28k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 956, False: 325]
  ------------------
   79|    956|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 956, False: 0]
  ------------------
   80|    956|        fl->freelist = *(void **)obj;
   81|    956|        fl->size--;
   82|    956|    }
   83|  1.28k|    return obj;
   84|  1.28k|}
longobject.c:_PyFreeList_Free:
   68|    992|{
   69|    992|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 992]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|    992|}
longobject.c:_PyFreeList_Push:
   54|    992|{
   55|    992|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 992, False: 0]
  |  Branch (55:31): [True: 992, False: 0]
  ------------------
   56|    992|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|    992|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|    992|        fl->freelist = obj;
   58|    992|        fl->size++;
   59|    992|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|    992|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|    992|        return 1;
   61|    992|    }
   62|      0|    return 0;
   63|    992|}
longobject.c:_Py_freelists_GET:
   19|  2.27k|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|  2.27k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  2.27k|    return &interp->object_state.freelists;
   30|  2.27k|#endif
   31|  2.27k|}
dictobject.c:_Py_freelists_GET:
   19|  9.00k|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|  9.00k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  9.00k|    return &interp->object_state.freelists;
   30|  9.00k|#endif
   31|  9.00k|}
dictobject.c:_PyFreeList_Pop:
   88|  3.83k|{
   89|  3.83k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  3.83k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 1.94k, False: 1.88k]
  ------------------
   91|  1.94k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  1.94k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  1.94k|        _Py_NewReference(op);
   93|  1.94k|    }
   94|  3.83k|    return op;
   95|  3.83k|}
dictobject.c:_PyFreeList_PopNoStats:
   76|  5.59k|{
   77|  5.59k|    void *obj = fl->freelist;
   78|  5.59k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 3.28k, False: 2.31k]
  ------------------
   79|  3.28k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 3.28k, False: 0]
  ------------------
   80|  3.28k|        fl->freelist = *(void **)obj;
   81|  3.28k|        fl->size--;
   82|  3.28k|    }
   83|  5.59k|    return obj;
   84|  5.59k|}
dictobject.c:_PyFreeList_PopMem:
   99|  1.76k|{
  100|  1.76k|    void *op = _PyFreeList_PopNoStats(fl);
  101|  1.76k|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 1.33k, False: 426]
  ------------------
  102|  1.33k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  1.33k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|  1.33k|    }
  104|  1.76k|    return op;
  105|  1.76k|}
dictobject.c:_PyFreeList_Free:
   68|  3.41k|{
   69|  3.41k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 107, False: 3.30k]
  ------------------
   70|    107|        dofree(obj);
   71|    107|    }
   72|  3.41k|}
dictobject.c:_PyFreeList_Push:
   54|  3.41k|{
   55|  3.41k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 3.30k, False: 107]
  |  Branch (55:31): [True: 3.30k, False: 0]
  ------------------
   56|  3.30k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|  3.30k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  3.30k|        fl->freelist = obj;
   58|  3.30k|        fl->size++;
   59|  3.30k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  3.30k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  3.30k|        return 1;
   61|  3.30k|    }
   62|    107|    return 0;
   63|  3.41k|}
rangeobject.c:_PyFreeList_Free:
   68|    199|{
   69|    199|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 199]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|    199|}
rangeobject.c:_PyFreeList_Push:
   54|    199|{
   55|    199|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 199, False: 0]
  |  Branch (55:31): [True: 199, False: 0]
  ------------------
   56|    199|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|    199|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|    199|        fl->freelist = obj;
   58|    199|        fl->size++;
   59|    199|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|    199|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|    199|        return 1;
   61|    199|    }
   62|      0|    return 0;
   63|    199|}
rangeobject.c:_Py_freelists_GET:
   19|    398|{
   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|    398|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|    398|    return &interp->object_state.freelists;
   30|    398|#endif
   31|    398|}
rangeobject.c:_PyFreeList_Pop:
   88|    199|{
   89|    199|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|    199|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 194, False: 5]
  ------------------
   91|    194|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|    194|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|    194|        _Py_NewReference(op);
   93|    194|    }
   94|    199|    return op;
   95|    199|}
rangeobject.c:_PyFreeList_PopNoStats:
   76|    199|{
   77|    199|    void *obj = fl->freelist;
   78|    199|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 194, False: 5]
  ------------------
   79|    194|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 194, False: 0]
  ------------------
   80|    194|        fl->freelist = *(void **)obj;
   81|    194|        fl->size--;
   82|    194|    }
   83|    199|    return obj;
   84|    199|}
sliceobject.c:_PyFreeList_Pop:
   88|    168|{
   89|    168|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|    168|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 46, False: 122]
  ------------------
   91|     46|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|     46|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|     46|        _Py_NewReference(op);
   93|     46|    }
   94|    168|    return op;
   95|    168|}
sliceobject.c:_PyFreeList_PopNoStats:
   76|    168|{
   77|    168|    void *obj = fl->freelist;
   78|    168|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 46, False: 122]
  ------------------
   79|     46|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 46, False: 0]
  ------------------
   80|     46|        fl->freelist = *(void **)obj;
   81|     46|        fl->size--;
   82|     46|    }
   83|    168|    return obj;
   84|    168|}
sliceobject.c:_Py_freelists_GET:
   19|    232|{
   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|    232|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|    232|    return &interp->object_state.freelists;
   30|    232|#endif
   31|    232|}
sliceobject.c:_PyFreeList_Free:
   68|     64|{
   69|     64|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 16, False: 48]
  ------------------
   70|     16|        dofree(obj);
   71|     16|    }
   72|     64|}
sliceobject.c:_PyFreeList_Push:
   54|     64|{
   55|     64|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 48, False: 16]
  |  Branch (55:31): [True: 48, False: 0]
  ------------------
   56|     48|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|     48|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|     48|        fl->freelist = obj;
   58|     48|        fl->size++;
   59|     48|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|     48|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|     48|        return 1;
   61|     48|    }
   62|     16|    return 0;
   63|     64|}
tupleobject.c:_PyFreeList_Pop:
   88|  14.6k|{
   89|  14.6k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  14.6k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 7.56k, False: 7.12k]
  ------------------
   91|  7.56k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  7.56k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  7.56k|        _Py_NewReference(op);
   93|  7.56k|    }
   94|  14.6k|    return op;
   95|  14.6k|}
tupleobject.c:_PyFreeList_PopNoStats:
   76|  14.6k|{
   77|  14.6k|    void *obj = fl->freelist;
   78|  14.6k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 7.56k, False: 7.12k]
  ------------------
   79|  7.56k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 7.56k, False: 0]
  ------------------
   80|  7.56k|        fl->freelist = *(void **)obj;
   81|  7.56k|        fl->size--;
   82|  7.56k|    }
   83|  14.6k|    return obj;
   84|  14.6k|}
tupleobject.c:_PyFreeList_Free:
   68|     74|{
   69|     74|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 74]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|     74|}
tupleobject.c:_PyFreeList_Push:
   54|  7.67k|{
   55|  7.67k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 7.67k, False: 0]
  |  Branch (55:31): [True: 7.67k, False: 0]
  ------------------
   56|  7.67k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|  7.67k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  7.67k|        fl->freelist = obj;
   58|  7.67k|        fl->size++;
   59|  7.67k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  7.67k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  7.67k|        return 1;
   61|  7.67k|    }
   62|      0|    return 0;
   63|  7.67k|}
tupleobject.c:_Py_freelists_GET:
   19|  22.3k|{
   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|  22.3k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  22.3k|    return &interp->object_state.freelists;
   30|  22.3k|#endif
   31|  22.3k|}
unicode_writer.c:_PyFreeList_PopMem:
   99|     32|{
  100|     32|    void *op = _PyFreeList_PopNoStats(fl);
  101|     32|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 17, False: 15]
  ------------------
  102|     17|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|     17|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|     17|    }
  104|     32|    return op;
  105|     32|}
unicode_writer.c:_PyFreeList_PopNoStats:
   76|     32|{
   77|     32|    void *obj = fl->freelist;
   78|     32|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 17, False: 15]
  ------------------
   79|     17|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 17, False: 0]
  ------------------
   80|     17|        fl->freelist = *(void **)obj;
   81|     17|        fl->size--;
   82|     17|    }
   83|     32|    return obj;
   84|     32|}
unicode_writer.c:_Py_freelists_GET:
   19|     64|{
   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|     64|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|     64|    return &interp->object_state.freelists;
   30|     64|#endif
   31|     64|}
unicode_writer.c:_PyFreeList_Free:
   68|     32|{
   69|     32|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 14, False: 18]
  ------------------
   70|     14|        dofree(obj);
   71|     14|    }
   72|     32|}
unicode_writer.c:_PyFreeList_Push:
   54|     32|{
   55|     32|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 18, False: 14]
  |  Branch (55:31): [True: 18, False: 0]
  ------------------
   56|     18|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|     18|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|     18|        fl->freelist = obj;
   58|     18|        fl->size++;
   59|     18|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|     18|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|     18|        return 1;
   61|     18|    }
   62|     14|    return 0;
   63|     32|}
traceback.c:_PyFreeList_Free:
   68|    431|{
   69|    431|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 431]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|    431|}
traceback.c:_PyFreeList_Push:
   54|    431|{
   55|    431|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 431, False: 0]
  |  Branch (55:31): [True: 431, False: 0]
  ------------------
   56|    431|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|    431|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|    431|        fl->freelist = obj;
   58|    431|        fl->size++;
   59|    431|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|    431|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|    431|        return 1;
   61|    431|    }
   62|      0|    return 0;
   63|    431|}
traceback.c:_Py_freelists_GET:
   19|    862|{
   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|    862|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|    862|    return &interp->object_state.freelists;
   30|    862|#endif
   31|    862|}
traceback.c:_PyFreeList_Pop:
   88|    431|{
   89|    431|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|    431|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 425, False: 6]
  ------------------
   91|    425|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|    425|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|    425|        _Py_NewReference(op);
   93|    425|    }
   94|    431|    return op;
   95|    431|}
traceback.c:_PyFreeList_PopNoStats:
   76|    431|{
   77|    431|    void *obj = fl->freelist;
   78|    431|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 425, False: 6]
  ------------------
   79|    425|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 425, False: 0]
  ------------------
   80|    425|        fl->freelist = *(void **)obj;
   81|    425|        fl->size--;
   82|    425|    }
   83|    431|    return obj;
   84|    431|}
bytesobject.c:_PyFreeList_PopMem:
   99|    112|{
  100|    112|    void *op = _PyFreeList_PopNoStats(fl);
  101|    112|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 102, False: 10]
  ------------------
  102|    102|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|    102|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|    102|    }
  104|    112|    return op;
  105|    112|}
bytesobject.c:_PyFreeList_PopNoStats:
   76|    112|{
   77|    112|    void *obj = fl->freelist;
   78|    112|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 102, False: 10]
  ------------------
   79|    102|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 102, False: 0]
  ------------------
   80|    102|        fl->freelist = *(void **)obj;
   81|    102|        fl->size--;
   82|    102|    }
   83|    112|    return obj;
   84|    112|}
bytesobject.c:_PyFreeList_Free:
   68|    112|{
   69|    112|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 8, False: 104]
  ------------------
   70|      8|        dofree(obj);
   71|      8|    }
   72|    112|}
bytesobject.c:_PyFreeList_Push:
   54|    112|{
   55|    112|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 104, False: 8]
  |  Branch (55:31): [True: 104, False: 0]
  ------------------
   56|    104|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|    104|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|    104|        fl->freelist = obj;
   58|    104|        fl->size++;
   59|    104|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|    104|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|    104|        return 1;
   61|    104|    }
   62|      8|    return 0;
   63|    112|}
bytesobject.c:_Py_freelists_GET:
   19|    224|{
   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|    224|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|    224|    return &interp->object_state.freelists;
   30|    224|#endif
   31|    224|}
classobject.c:_PyFreeList_Pop:
   88|    655|{
   89|    655|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|    655|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 641, False: 14]
  ------------------
   91|    641|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|    641|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|    641|        _Py_NewReference(op);
   93|    641|    }
   94|    655|    return op;
   95|    655|}
classobject.c:_PyFreeList_PopNoStats:
   76|    655|{
   77|    655|    void *obj = fl->freelist;
   78|    655|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 641, False: 14]
  ------------------
   79|    641|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 641, False: 0]
  ------------------
   80|    641|        fl->freelist = *(void **)obj;
   81|    641|        fl->size--;
   82|    641|    }
   83|    655|    return obj;
   84|    655|}
classobject.c:_Py_freelists_GET:
   19|  1.30k|{
   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.30k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  1.30k|    return &interp->object_state.freelists;
   30|  1.30k|#endif
   31|  1.30k|}
classobject.c:_PyFreeList_Free:
   68|    653|{
   69|    653|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 653]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|    653|}
classobject.c:_PyFreeList_Push:
   54|    653|{
   55|    653|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 653, False: 0]
  |  Branch (55:31): [True: 653, False: 0]
  ------------------
   56|    653|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|    653|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|    653|        fl->freelist = obj;
   58|    653|        fl->size++;
   59|    653|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|    653|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|    653|        return 1;
   61|    653|    }
   62|      0|    return 0;
   63|    653|}
floatobject.c:_PyFreeList_Pop:
   88|    417|{
   89|    417|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|    417|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 342, False: 75]
  ------------------
   91|    342|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|    342|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|    342|        _Py_NewReference(op);
   93|    342|    }
   94|    417|    return op;
   95|    417|}
floatobject.c:_PyFreeList_PopNoStats:
   76|    417|{
   77|    417|    void *obj = fl->freelist;
   78|    417|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 342, False: 75]
  ------------------
   79|    342|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 342, False: 0]
  ------------------
   80|    342|        fl->freelist = *(void **)obj;
   81|    342|        fl->size--;
   82|    342|    }
   83|    417|    return obj;
   84|    417|}
floatobject.c:_Py_freelists_GET:
   19|    817|{
   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|    817|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|    817|    return &interp->object_state.freelists;
   30|    817|#endif
   31|    817|}
floatobject.c:_PyFreeList_Free:
   68|    400|{
   69|    400|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 400]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|    400|}
floatobject.c:_PyFreeList_Push:
   54|    400|{
   55|    400|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 400, False: 0]
  |  Branch (55:31): [True: 400, False: 0]
  ------------------
   56|    400|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|    400|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|    400|        fl->freelist = obj;
   58|    400|        fl->size++;
   59|    400|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|    400|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|    400|        return 1;
   61|    400|    }
   62|      0|    return 0;
   63|    400|}
methodobject.c:_PyFreeList_Pop:
   88|  2.43k|{
   89|  2.43k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  2.43k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 1.04k, False: 1.39k]
  ------------------
   91|  1.04k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  1.04k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  1.04k|        _Py_NewReference(op);
   93|  1.04k|    }
   94|  2.43k|    return op;
   95|  2.43k|}
methodobject.c:_PyFreeList_PopNoStats:
   76|  2.43k|{
   77|  2.43k|    void *obj = fl->freelist;
   78|  2.43k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 1.04k, False: 1.39k]
  ------------------
   79|  1.04k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 1.04k, False: 0]
  ------------------
   80|  1.04k|        fl->freelist = *(void **)obj;
   81|  1.04k|        fl->size--;
   82|  1.04k|    }
   83|  2.43k|    return obj;
   84|  2.43k|}
methodobject.c:_Py_freelists_GET:
   19|  3.48k|{
   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.48k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  3.48k|    return &interp->object_state.freelists;
   30|  3.48k|#endif
   31|  3.48k|}
methodobject.c:_PyFreeList_Free:
   68|  1.04k|{
   69|  1.04k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 1.04k]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  1.04k|}
methodobject.c:_PyFreeList_Push:
   54|  1.04k|{
   55|  1.04k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 1.04k, False: 0]
  |  Branch (55:31): [True: 1.04k, False: 0]
  ------------------
   56|  1.04k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|  1.04k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  1.04k|        fl->freelist = obj;
   58|  1.04k|        fl->size++;
   59|  1.04k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  1.04k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  1.04k|        return 1;
   61|  1.04k|    }
   62|      0|    return 0;
   63|  1.04k|}

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

exceptions.c:_PyObject_GC_UNTRACK:
  269|    216|{
  270|    216|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    216|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 216, False: 0]
  |  |  ------------------
  |  |  352|    216|      ? (void)(0) \
  |  |  353|    216|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|    216|                          "object not tracked by the garbage collector",
  272|    216|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    216|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    216|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    216|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    216|    _PyGCHead_SET_NEXT(prev, next);
  281|    216|    _PyGCHead_SET_PREV(next, prev);
  282|    216|    gc->_gc_next = 0;
  283|    216|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    216|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    216|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    216|    gcstate->heap_size--;
  286|    216|#endif
  287|    216|}
exceptions.c:_PyObject_GC_IS_TRACKED:
   73|    216|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|    216|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    216|    return (gc->_gc_next != 0);
   79|    216|#endif
   80|    216|}
exceptions.c:_Py_AS_GC:
   17|    432|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    432|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    432|    return (PyGC_Head*)gc;
   20|    432|}
exceptions.c:_PyGCHead_PREV:
  171|    216|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    216|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    216|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    216|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    216|    return (PyGC_Head*)prev;
  174|    216|}
exceptions.c:_PyGCHead_NEXT:
  162|    216|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    216|    uintptr_t next = gc->_gc_next;
  164|    216|    return (PyGC_Head*)next;
  165|    216|}
exceptions.c:_PyGCHead_SET_NEXT:
  166|    216|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|    216|    gc->_gc_next = (uintptr_t)next;
  168|    216|}
exceptions.c:_PyGCHead_SET_PREV:
  176|    216|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|    216|    uintptr_t uprev = (uintptr_t)prev;
  178|    216|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 216, False: 0]
  ------------------
  179|    216|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|    216|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    216|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|    216|}
genericaliasobject.c:_PyObject_GC_UNTRACK:
  269|      5|{
  270|      5|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|      5|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 5, False: 0]
  |  |  ------------------
  |  |  352|      5|      ? (void)(0) \
  |  |  353|      5|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|      5|                          "object not tracked by the garbage collector",
  272|      5|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|      5|    PyGC_Head *gc = _Py_AS_GC(op);
  278|      5|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|      5|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|      5|    _PyGCHead_SET_NEXT(prev, next);
  281|      5|    _PyGCHead_SET_PREV(next, prev);
  282|      5|    gc->_gc_next = 0;
  283|      5|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|      5|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|      5|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|      5|    gcstate->heap_size--;
  286|      5|#endif
  287|      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:
  171|      5|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|      5|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|      5|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      5|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|      5|    return (PyGC_Head*)prev;
  174|      5|}
genericaliasobject.c:_PyGCHead_NEXT:
  162|      5|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|      5|    uintptr_t next = gc->_gc_next;
  164|      5|    return (PyGC_Head*)next;
  165|      5|}
genericaliasobject.c:_PyGCHead_SET_NEXT:
  166|      5|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|      5|    gc->_gc_next = (uintptr_t)next;
  168|      5|}
genericaliasobject.c:_PyGCHead_SET_PREV:
  176|      5|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|      5|    uintptr_t uprev = (uintptr_t)prev;
  178|      5|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 5, False: 0]
  ------------------
  179|      5|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|      5|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      5|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|      5|}
funcobject.c:_PyObject_GC_TRACK:
  229|  2.42k|{
  230|  2.42k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  2.42k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2.42k, False: 0]
  |  |  ------------------
  |  |  352|  2.42k|      ? (void)(0) \
  |  |  353|  2.42k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|  2.42k|                          "object already tracked by the garbage collector",
  232|  2.42k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  2.42k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  2.42k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  2.42k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2.42k, False: 0]
  |  |  ------------------
  |  |  352|  2.42k|      ? (void)(0) \
  |  |  353|  2.42k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|  2.42k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  2.42k|                          "object is in generation which is garbage collected",
  240|  2.42k|                          filename, lineno, __func__);
  241|       |
  242|  2.42k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  2.42k|    PyGC_Head *generation0 = gcstate->generation0;
  244|  2.42k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  2.42k|    _PyGCHead_SET_NEXT(last, gc);
  246|  2.42k|    _PyGCHead_SET_PREV(gc, last);
  247|  2.42k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  2.42k|    generation0->_gc_prev = (uintptr_t)gc;
  249|  2.42k|    gcstate->heap_size++;
  250|  2.42k|#endif
  251|  2.42k|}
funcobject.c:_PyObject_GC_IS_TRACKED:
   73|  3.05k|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.05k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  3.05k|    return (gc->_gc_next != 0);
   79|  3.05k|#endif
   80|  3.05k|}
funcobject.c:_Py_AS_GC:
   17|  6.10k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  6.10k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  6.10k|    return (PyGC_Head*)gc;
   20|  6.10k|}
funcobject.c:_PyGCHead_SET_NEXT:
  166|  5.47k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  5.47k|    gc->_gc_next = (uintptr_t)next;
  168|  5.47k|}
funcobject.c:_PyGCHead_SET_PREV:
  176|  3.05k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  3.05k|    uintptr_t uprev = (uintptr_t)prev;
  178|  3.05k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 3.05k, False: 0]
  ------------------
  179|  3.05k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  3.05k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  3.05k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  3.05k|}
funcobject.c:_PyObject_GC_UNTRACK:
  269|    632|{
  270|    632|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    632|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 632, False: 0]
  |  |  ------------------
  |  |  352|    632|      ? (void)(0) \
  |  |  353|    632|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|    632|                          "object not tracked by the garbage collector",
  272|    632|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    632|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    632|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    632|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    632|    _PyGCHead_SET_NEXT(prev, next);
  281|    632|    _PyGCHead_SET_PREV(next, prev);
  282|    632|    gc->_gc_next = 0;
  283|    632|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    632|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    632|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    632|    gcstate->heap_size--;
  286|    632|#endif
  287|    632|}
funcobject.c:_PyGCHead_PREV:
  171|    632|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    632|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    632|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    632|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    632|    return (PyGC_Head*)prev;
  174|    632|}
funcobject.c:_PyGCHead_NEXT:
  162|    632|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    632|    uintptr_t next = gc->_gc_next;
  164|    632|    return (PyGC_Head*)next;
  165|    632|}
listobject.c:_PyObject_GC_TRACK:
  229|  2.09k|{
  230|  2.09k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  2.09k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2.09k, False: 0]
  |  |  ------------------
  |  |  352|  2.09k|      ? (void)(0) \
  |  |  353|  2.09k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|  2.09k|                          "object already tracked by the garbage collector",
  232|  2.09k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  2.09k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  2.09k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  2.09k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2.09k, False: 0]
  |  |  ------------------
  |  |  352|  2.09k|      ? (void)(0) \
  |  |  353|  2.09k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|  2.09k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  2.09k|                          "object is in generation which is garbage collected",
  240|  2.09k|                          filename, lineno, __func__);
  241|       |
  242|  2.09k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  2.09k|    PyGC_Head *generation0 = gcstate->generation0;
  244|  2.09k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  2.09k|    _PyGCHead_SET_NEXT(last, gc);
  246|  2.09k|    _PyGCHead_SET_PREV(gc, last);
  247|  2.09k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  2.09k|    generation0->_gc_prev = (uintptr_t)gc;
  249|  2.09k|    gcstate->heap_size++;
  250|  2.09k|#endif
  251|  2.09k|}
listobject.c:_PyObject_GC_IS_TRACKED:
   73|  2.15k|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|  2.15k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  2.15k|    return (gc->_gc_next != 0);
   79|  2.15k|#endif
   80|  2.15k|}
listobject.c:_Py_AS_GC:
   17|  4.30k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  4.30k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  4.30k|    return (PyGC_Head*)gc;
   20|  4.30k|}
listobject.c:_PyGCHead_SET_NEXT:
  166|  4.25k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  4.25k|    gc->_gc_next = (uintptr_t)next;
  168|  4.25k|}
listobject.c:_PyGCHead_SET_PREV:
  176|  2.15k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  2.15k|    uintptr_t uprev = (uintptr_t)prev;
  178|  2.15k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 2.15k, False: 0]
  ------------------
  179|  2.15k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  2.15k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  2.15k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  2.15k|}
listobject.c:_PyObject_GC_UNTRACK:
  269|     53|{
  270|     53|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|     53|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 53, False: 0]
  |  |  ------------------
  |  |  352|     53|      ? (void)(0) \
  |  |  353|     53|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|     53|                          "object not tracked by the garbage collector",
  272|     53|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|     53|    PyGC_Head *gc = _Py_AS_GC(op);
  278|     53|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|     53|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|     53|    _PyGCHead_SET_NEXT(prev, next);
  281|     53|    _PyGCHead_SET_PREV(next, prev);
  282|     53|    gc->_gc_next = 0;
  283|     53|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|     53|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|     53|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|     53|    gcstate->heap_size--;
  286|     53|#endif
  287|     53|}
listobject.c:_PyGCHead_PREV:
  171|     53|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|     53|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|     53|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     53|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|     53|    return (PyGC_Head*)prev;
  174|     53|}
listobject.c:_PyGCHead_NEXT:
  162|     53|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|     53|    uintptr_t next = gc->_gc_next;
  164|     53|    return (PyGC_Head*)next;
  165|     53|}
dictobject.c:_PyType_IS_GC:
   86|     10|{
   87|     10|    return (type->tp_flags & Py_TPFLAGS_HAVE_GC) != 0;
  ------------------
  |  |  524|     10|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
   88|     10|}
dictobject.c:_PyObject_GC_IS_TRACKED:
   73|  5.83k|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.83k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  5.83k|    return (gc->_gc_next != 0);
   79|  5.83k|#endif
   80|  5.83k|}
dictobject.c:_Py_AS_GC:
   17|  10.2k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  10.2k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  10.2k|    return (PyGC_Head*)gc;
   20|  10.2k|}
dictobject.c:_PyObject_GC_TRACK:
  229|  4.15k|{
  230|  4.15k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  4.15k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 4.15k, False: 0]
  |  |  ------------------
  |  |  352|  4.15k|      ? (void)(0) \
  |  |  353|  4.15k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|  4.15k|                          "object already tracked by the garbage collector",
  232|  4.15k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  4.15k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  4.15k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  4.15k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 4.15k, False: 0]
  |  |  ------------------
  |  |  352|  4.15k|      ? (void)(0) \
  |  |  353|  4.15k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|  4.15k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  4.15k|                          "object is in generation which is garbage collected",
  240|  4.15k|                          filename, lineno, __func__);
  241|       |
  242|  4.15k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  4.15k|    PyGC_Head *generation0 = gcstate->generation0;
  244|  4.15k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  4.15k|    _PyGCHead_SET_NEXT(last, gc);
  246|  4.15k|    _PyGCHead_SET_PREV(gc, last);
  247|  4.15k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  4.15k|    generation0->_gc_prev = (uintptr_t)gc;
  249|  4.15k|    gcstate->heap_size++;
  250|  4.15k|#endif
  251|  4.15k|}
dictobject.c:_PyGCHead_SET_NEXT:
  166|  8.55k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  8.55k|    gc->_gc_next = (uintptr_t)next;
  168|  8.55k|}
dictobject.c:_PyGCHead_SET_PREV:
  176|  4.39k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  4.39k|    uintptr_t uprev = (uintptr_t)prev;
  178|  4.39k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 4.39k, False: 0]
  ------------------
  179|  4.39k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  4.39k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  4.39k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  4.39k|}
dictobject.c:_PyObject_GC_UNTRACK:
  269|    234|{
  270|    234|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    234|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 234, False: 0]
  |  |  ------------------
  |  |  352|    234|      ? (void)(0) \
  |  |  353|    234|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|    234|                          "object not tracked by the garbage collector",
  272|    234|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    234|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    234|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    234|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    234|    _PyGCHead_SET_NEXT(prev, next);
  281|    234|    _PyGCHead_SET_PREV(next, prev);
  282|    234|    gc->_gc_next = 0;
  283|    234|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    234|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    234|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    234|    gcstate->heap_size--;
  286|    234|#endif
  287|    234|}
dictobject.c:_PyGCHead_PREV:
  171|    234|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    234|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    234|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    234|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    234|    return (PyGC_Head*)prev;
  174|    234|}
dictobject.c:_PyGCHead_NEXT:
  162|    234|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    234|    uintptr_t next = gc->_gc_next;
  164|    234|    return (PyGC_Head*)next;
  165|    234|}
object.c:_PyType_IS_GC:
   86|    334|{
   87|    334|    return (type->tp_flags & Py_TPFLAGS_HAVE_GC) != 0;
  ------------------
  |  |  524|    334|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
   88|    334|}
object.c:_PyGC_FINALIZED:
  182|    167|static inline int _PyGC_FINALIZED(PyObject *op) {
  183|       |#ifdef Py_GIL_DISABLED
  184|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_FINALIZED);
  185|       |#else
  186|    167|    PyGC_Head *gc = _Py_AS_GC(op);
  187|    167|    return ((gc->_gc_prev & _PyGC_PREV_MASK_FINALIZED) != 0);
  ------------------
  |  |  133|    167|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  188|    167|#endif
  189|    167|}
object.c:_PyGC_SET_FINALIZED:
  190|    167|static inline void _PyGC_SET_FINALIZED(PyObject *op) {
  191|       |#ifdef Py_GIL_DISABLED
  192|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_FINALIZED);
  193|       |#else
  194|    167|    PyGC_Head *gc = _Py_AS_GC(op);
  195|    167|    gc->_gc_prev |= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    167|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  196|    167|#endif
  197|    167|}
object.c:_PyObject_GC_IS_TRACKED:
   73|  1.82k|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.82k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  1.82k|    return (gc->_gc_next != 0);
   79|  1.82k|#endif
   80|  1.82k|}
object.c:_PyObject_GC_UNTRACK:
  269|    826|{
  270|    826|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    826|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 826, False: 0]
  |  |  ------------------
  |  |  352|    826|      ? (void)(0) \
  |  |  353|    826|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|    826|                          "object not tracked by the garbage collector",
  272|    826|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    826|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    826|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    826|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    826|    _PyGCHead_SET_NEXT(prev, next);
  281|    826|    _PyGCHead_SET_PREV(next, prev);
  282|    826|    gc->_gc_next = 0;
  283|    826|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    826|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    826|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    826|    gcstate->heap_size--;
  286|    826|#endif
  287|    826|}
object.c:_PyGCHead_PREV:
  171|    826|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    826|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    826|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    826|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    826|    return (PyGC_Head*)prev;
  174|    826|}
object.c:_PyGCHead_NEXT:
  162|    826|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    826|    uintptr_t next = gc->_gc_next;
  164|    826|    return (PyGC_Head*)next;
  165|    826|}
object.c:_PyGCHead_SET_NEXT:
  166|    826|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|    826|    gc->_gc_next = (uintptr_t)next;
  168|    826|}
object.c:_PyGCHead_SET_PREV:
  176|    826|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|    826|    uintptr_t uprev = (uintptr_t)prev;
  178|    826|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 826, False: 0]
  ------------------
  179|    826|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|    826|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    826|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|    826|}
object.c:_Py_AS_GC:
   17|  2.98k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  2.98k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  2.98k|    return (PyGC_Head*)gc;
   20|  2.98k|}
sentinelobject.c:_PyObject_GC_TRACK:
  229|      7|{
  230|      7|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|      7|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 7, False: 0]
  |  |  ------------------
  |  |  352|      7|      ? (void)(0) \
  |  |  353|      7|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|      7|                          "object already tracked by the garbage collector",
  232|      7|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|      7|    PyGC_Head *gc = _Py_AS_GC(op);
  237|      7|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|      7|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 7, False: 0]
  |  |  ------------------
  |  |  352|      7|      ? (void)(0) \
  |  |  353|      7|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|      7|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|      7|                          "object is in generation which is garbage collected",
  240|      7|                          filename, lineno, __func__);
  241|       |
  242|      7|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|      7|    PyGC_Head *generation0 = gcstate->generation0;
  244|      7|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|      7|    _PyGCHead_SET_NEXT(last, gc);
  246|      7|    _PyGCHead_SET_PREV(gc, last);
  247|      7|    _PyGCHead_SET_NEXT(gc, generation0);
  248|      7|    generation0->_gc_prev = (uintptr_t)gc;
  249|      7|    gcstate->heap_size++;
  250|      7|#endif
  251|      7|}
sentinelobject.c:_PyObject_GC_IS_TRACKED:
   73|      8|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|    PyGC_Head *gc = _Py_AS_GC(op);
   78|      8|    return (gc->_gc_next != 0);
   79|      8|#endif
   80|      8|}
sentinelobject.c:_Py_AS_GC:
   17|     16|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     16|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     16|    return (PyGC_Head*)gc;
   20|     16|}
sentinelobject.c:_PyGCHead_SET_NEXT:
  166|     15|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|     15|    gc->_gc_next = (uintptr_t)next;
  168|     15|}
sentinelobject.c:_PyGCHead_SET_PREV:
  176|      8|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|      8|    uintptr_t uprev = (uintptr_t)prev;
  178|      8|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 8, False: 0]
  ------------------
  179|      8|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|      8|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      8|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|      8|}
sentinelobject.c:_PyObject_GC_UNTRACK:
  269|      1|{
  270|      1|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  352|      1|      ? (void)(0) \
  |  |  353|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|      1|                          "object not tracked by the garbage collector",
  272|      1|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|      1|    PyGC_Head *gc = _Py_AS_GC(op);
  278|      1|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|      1|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|      1|    _PyGCHead_SET_NEXT(prev, next);
  281|      1|    _PyGCHead_SET_PREV(next, prev);
  282|      1|    gc->_gc_next = 0;
  283|      1|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|      1|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|      1|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|      1|    gcstate->heap_size--;
  286|      1|#endif
  287|      1|}
sentinelobject.c:_PyGCHead_PREV:
  171|      1|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|      1|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|      1|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      1|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|      1|    return (PyGC_Head*)prev;
  174|      1|}
sentinelobject.c:_PyGCHead_NEXT:
  162|      1|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|      1|    uintptr_t next = gc->_gc_next;
  164|      1|    return (PyGC_Head*)next;
  165|      1|}
setobject.c:_PyObject_GC_UNTRACK:
  269|    196|{
  270|    196|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    196|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 196, False: 0]
  |  |  ------------------
  |  |  352|    196|      ? (void)(0) \
  |  |  353|    196|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|    196|                          "object not tracked by the garbage collector",
  272|    196|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    196|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    196|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    196|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    196|    _PyGCHead_SET_NEXT(prev, next);
  281|    196|    _PyGCHead_SET_PREV(next, prev);
  282|    196|    gc->_gc_next = 0;
  283|    196|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    196|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    196|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    196|    gcstate->heap_size--;
  286|    196|#endif
  287|    196|}
setobject.c:_PyObject_GC_IS_TRACKED:
   73|    723|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|    723|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    723|    return (gc->_gc_next != 0);
   79|    723|#endif
   80|    723|}
setobject.c:_Py_AS_GC:
   17|  1.44k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.44k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.44k|    return (PyGC_Head*)gc;
   20|  1.44k|}
setobject.c:_PyGCHead_PREV:
  171|    196|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    196|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    196|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    196|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    196|    return (PyGC_Head*)prev;
  174|    196|}
setobject.c:_PyGCHead_NEXT:
  162|    196|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    196|    uintptr_t next = gc->_gc_next;
  164|    196|    return (PyGC_Head*)next;
  165|    196|}
setobject.c:_PyGCHead_SET_NEXT:
  166|  1.25k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  1.25k|    gc->_gc_next = (uintptr_t)next;
  168|  1.25k|}
setobject.c:_PyGCHead_SET_PREV:
  176|    723|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|    723|    uintptr_t uprev = (uintptr_t)prev;
  178|    723|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 723, False: 0]
  ------------------
  179|    723|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|    723|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    723|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|    723|}
setobject.c:_PyObject_GC_MAY_BE_TRACKED:
  101|    822|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
  102|    822|    if (!_PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (102:9): [True: 772, False: 50]
  ------------------
  103|    772|        return 0;
  104|    772|    }
  105|     50|    if (PyTuple_CheckExact(obj)) {
  ------------------
  |  |   28|     50|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_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: 0, False: 50]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  106|      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))
  |  |  ------------------
  ------------------
  107|      0|    }
  108|     50|    return 1;
  109|     50|}
setobject.c:_PyObject_IS_GC:
   93|    822|{
   94|    822|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  213|    822|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    822|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    822|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|    822|    return (_PyType_IS_GC(type)
  ------------------
  |  Branch (95:13): [True: 90, False: 732]
  ------------------
   96|     90|            && (type->tp_is_gc == NULL || type->tp_is_gc(obj)));
  ------------------
  |  Branch (96:17): [True: 25, False: 65]
  |  Branch (96:43): [True: 25, False: 40]
  ------------------
   97|    822|}
setobject.c:_PyType_IS_GC:
   86|    822|{
   87|    822|    return (type->tp_flags & Py_TPFLAGS_HAVE_GC) != 0;
  ------------------
  |  |  524|    822|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
   88|    822|}
setobject.c:_PyObject_GC_TRACK:
  229|    527|{
  230|    527|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    527|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 527, False: 0]
  |  |  ------------------
  |  |  352|    527|      ? (void)(0) \
  |  |  353|    527|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|    527|                          "object already tracked by the garbage collector",
  232|    527|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|    527|    PyGC_Head *gc = _Py_AS_GC(op);
  237|    527|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|    527|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 527, False: 0]
  |  |  ------------------
  |  |  352|    527|      ? (void)(0) \
  |  |  353|    527|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|    527|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|    527|                          "object is in generation which is garbage collected",
  240|    527|                          filename, lineno, __func__);
  241|       |
  242|    527|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|    527|    PyGC_Head *generation0 = gcstate->generation0;
  244|    527|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|    527|    _PyGCHead_SET_NEXT(last, gc);
  246|    527|    _PyGCHead_SET_PREV(gc, last);
  247|    527|    _PyGCHead_SET_NEXT(gc, generation0);
  248|    527|    generation0->_gc_prev = (uintptr_t)gc;
  249|    527|    gcstate->heap_size++;
  250|    527|#endif
  251|    527|}
sliceobject.c:_PyObject_GC_TRACK:
  229|    168|{
  230|    168|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    168|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 168, False: 0]
  |  |  ------------------
  |  |  352|    168|      ? (void)(0) \
  |  |  353|    168|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|    168|                          "object already tracked by the garbage collector",
  232|    168|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|    168|    PyGC_Head *gc = _Py_AS_GC(op);
  237|    168|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|    168|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 168, False: 0]
  |  |  ------------------
  |  |  352|    168|      ? (void)(0) \
  |  |  353|    168|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|    168|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|    168|                          "object is in generation which is garbage collected",
  240|    168|                          filename, lineno, __func__);
  241|       |
  242|    168|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|    168|    PyGC_Head *generation0 = gcstate->generation0;
  244|    168|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|    168|    _PyGCHead_SET_NEXT(last, gc);
  246|    168|    _PyGCHead_SET_PREV(gc, last);
  247|    168|    _PyGCHead_SET_NEXT(gc, generation0);
  248|    168|    generation0->_gc_prev = (uintptr_t)gc;
  249|    168|    gcstate->heap_size++;
  250|    168|#endif
  251|    168|}
sliceobject.c:_PyObject_GC_IS_TRACKED:
   73|    168|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|    168|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    168|    return (gc->_gc_next != 0);
   79|    168|#endif
   80|    168|}
sliceobject.c:_Py_AS_GC:
   17|    336|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    336|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    336|    return (PyGC_Head*)gc;
   20|    336|}
sliceobject.c:_PyGCHead_SET_NEXT:
  166|    336|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|    336|    gc->_gc_next = (uintptr_t)next;
  168|    336|}
sliceobject.c:_PyGCHead_SET_PREV:
  176|    168|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|    168|    uintptr_t uprev = (uintptr_t)prev;
  178|    168|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 168, False: 0]
  ------------------
  179|    168|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|    168|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    168|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|    168|}
tupleobject.c:_PyObject_GC_TRACK:
  229|  12.0k|{
  230|  12.0k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  12.0k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 12.0k, False: 0]
  |  |  ------------------
  |  |  352|  12.0k|      ? (void)(0) \
  |  |  353|  12.0k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|  12.0k|                          "object already tracked by the garbage collector",
  232|  12.0k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  12.0k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  12.0k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  12.0k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 12.0k, False: 0]
  |  |  ------------------
  |  |  352|  12.0k|      ? (void)(0) \
  |  |  353|  12.0k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|  12.0k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  12.0k|                          "object is in generation which is garbage collected",
  240|  12.0k|                          filename, lineno, __func__);
  241|       |
  242|  12.0k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  12.0k|    PyGC_Head *generation0 = gcstate->generation0;
  244|  12.0k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  12.0k|    _PyGCHead_SET_NEXT(last, gc);
  246|  12.0k|    _PyGCHead_SET_PREV(gc, last);
  247|  12.0k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  12.0k|    generation0->_gc_prev = (uintptr_t)gc;
  249|  12.0k|    gcstate->heap_size++;
  250|  12.0k|#endif
  251|  12.0k|}
tupleobject.c:_Py_AS_GC:
   17|  38.8k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  38.8k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  38.8k|    return (PyGC_Head*)gc;
   20|  38.8k|}
tupleobject.c:_PyGCHead_SET_NEXT:
  166|  28.5k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  28.5k|    gc->_gc_next = (uintptr_t)next;
  168|  28.5k|}
tupleobject.c:_PyGCHead_SET_PREV:
  176|  16.4k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  16.4k|    uintptr_t uprev = (uintptr_t)prev;
  178|  16.4k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 16.4k, False: 0]
  ------------------
  179|  16.4k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  16.4k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  16.4k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  16.4k|}
tupleobject.c:_PyObject_GC_IS_TRACKED:
   73|  22.4k|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|  22.4k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  22.4k|    return (gc->_gc_next != 0);
   79|  22.4k|#endif
   80|  22.4k|}
tupleobject.c:_PyObject_GC_MAY_BE_TRACKED:
  101|  20.5k|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
  102|  20.5k|    if (!_PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (102:9): [True: 19.2k, False: 1.33k]
  ------------------
  103|  19.2k|        return 0;
  104|  19.2k|    }
  105|  1.33k|    if (PyTuple_CheckExact(obj)) {
  ------------------
  |  |   28|  1.33k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  1.33k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 362, False: 970]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  106|    362|        return _PyObject_GC_IS_TRACKED(obj);
  ------------------
  |  |   81|    362|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    362|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  107|    362|    }
  108|    970|    return 1;
  109|  1.33k|}
tupleobject.c:_PyObject_IS_GC:
   93|  20.5k|{
   94|  20.5k|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|  20.5k|    return (_PyType_IS_GC(type)
  ------------------
  |  Branch (95:13): [True: 1.59k, False: 18.9k]
  ------------------
   96|  1.59k|            && (type->tp_is_gc == NULL || type->tp_is_gc(obj)));
  ------------------
  |  Branch (96:17): [True: 513, False: 1.08k]
  |  Branch (96:43): [True: 819, False: 265]
  ------------------
   97|  20.5k|}
tupleobject.c:_PyType_IS_GC:
   86|  31.3k|{
   87|  31.3k|    return (type->tp_flags & Py_TPFLAGS_HAVE_GC) != 0;
  ------------------
  |  |  524|  31.3k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
   88|  31.3k|}
tupleobject.c:_PyObject_GC_UNTRACK:
  269|  4.44k|{
  270|  4.44k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  4.44k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 4.44k, False: 0]
  |  |  ------------------
  |  |  352|  4.44k|      ? (void)(0) \
  |  |  353|  4.44k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|  4.44k|                          "object not tracked by the garbage collector",
  272|  4.44k|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|  4.44k|    PyGC_Head *gc = _Py_AS_GC(op);
  278|  4.44k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|  4.44k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|  4.44k|    _PyGCHead_SET_NEXT(prev, next);
  281|  4.44k|    _PyGCHead_SET_PREV(next, prev);
  282|  4.44k|    gc->_gc_next = 0;
  283|  4.44k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  4.44k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|  4.44k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|  4.44k|    gcstate->heap_size--;
  286|  4.44k|#endif
  287|  4.44k|}
tupleobject.c:_PyGCHead_PREV:
  171|  4.44k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|  4.44k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|  4.44k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  4.44k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|  4.44k|    return (PyGC_Head*)prev;
  174|  4.44k|}
tupleobject.c:_PyGCHead_NEXT:
  162|  4.44k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|  4.44k|    uintptr_t next = gc->_gc_next;
  164|  4.44k|    return (PyGC_Head*)next;
  165|  4.44k|}
typeobject.c:_PyType_IS_GC:
   86|  21.9k|{
   87|  21.9k|    return (type->tp_flags & Py_TPFLAGS_HAVE_GC) != 0;
  ------------------
  |  |  524|  21.9k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
   88|  21.9k|}
typeobject.c:_PyObject_GC_TRACK:
  229|  9.74k|{
  230|  9.74k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  9.74k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 9.74k, False: 0]
  |  |  ------------------
  |  |  352|  9.74k|      ? (void)(0) \
  |  |  353|  9.74k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|  9.74k|                          "object already tracked by the garbage collector",
  232|  9.74k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  9.74k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  9.74k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  9.74k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 9.74k, False: 0]
  |  |  ------------------
  |  |  352|  9.74k|      ? (void)(0) \
  |  |  353|  9.74k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|  9.74k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  9.74k|                          "object is in generation which is garbage collected",
  240|  9.74k|                          filename, lineno, __func__);
  241|       |
  242|  9.74k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  9.74k|    PyGC_Head *generation0 = gcstate->generation0;
  244|  9.74k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  9.74k|    _PyGCHead_SET_NEXT(last, gc);
  246|  9.74k|    _PyGCHead_SET_PREV(gc, last);
  247|  9.74k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  9.74k|    generation0->_gc_prev = (uintptr_t)gc;
  249|  9.74k|    gcstate->heap_size++;
  250|  9.74k|#endif
  251|  9.74k|}
typeobject.c:_PyObject_GC_IS_TRACKED:
   73|  10.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|  10.1k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  10.1k|    return (gc->_gc_next != 0);
   79|  10.1k|#endif
   80|  10.1k|}
typeobject.c:_Py_AS_GC:
   17|  20.2k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  20.2k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  20.2k|    return (PyGC_Head*)gc;
   20|  20.2k|}
typeobject.c:_PyGCHead_SET_NEXT:
  166|  19.8k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  19.8k|    gc->_gc_next = (uintptr_t)next;
  168|  19.8k|}
typeobject.c:_PyGCHead_SET_PREV:
  176|  10.1k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  10.1k|    uintptr_t uprev = (uintptr_t)prev;
  178|  10.1k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 10.1k, False: 0]
  ------------------
  179|  10.1k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  10.1k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  10.1k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  10.1k|}
typeobject.c:_PyObject_GC_UNTRACK:
  269|    395|{
  270|    395|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    395|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 395, False: 0]
  |  |  ------------------
  |  |  352|    395|      ? (void)(0) \
  |  |  353|    395|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|    395|                          "object not tracked by the garbage collector",
  272|    395|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    395|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    395|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    395|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    395|    _PyGCHead_SET_NEXT(prev, next);
  281|    395|    _PyGCHead_SET_PREV(next, prev);
  282|    395|    gc->_gc_next = 0;
  283|    395|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    395|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    395|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    395|    gcstate->heap_size--;
  286|    395|#endif
  287|    395|}
typeobject.c:_PyGCHead_PREV:
  171|    395|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    395|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    395|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    395|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    395|    return (PyGC_Head*)prev;
  174|    395|}
typeobject.c:_PyGCHead_NEXT:
  162|    395|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    395|    uintptr_t next = gc->_gc_next;
  164|    395|    return (PyGC_Head*)next;
  165|    395|}
unicodeobject.c:_PyObject_GC_UNTRACK:
  269|     31|{
  270|     31|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|     31|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 31, False: 0]
  |  |  ------------------
  |  |  352|     31|      ? (void)(0) \
  |  |  353|     31|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|     31|                          "object not tracked by the garbage collector",
  272|     31|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|     31|    PyGC_Head *gc = _Py_AS_GC(op);
  278|     31|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|     31|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|     31|    _PyGCHead_SET_NEXT(prev, next);
  281|     31|    _PyGCHead_SET_PREV(next, prev);
  282|     31|    gc->_gc_next = 0;
  283|     31|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|     31|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|     31|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|     31|    gcstate->heap_size--;
  286|     31|#endif
  287|     31|}
unicodeobject.c:_PyObject_GC_IS_TRACKED:
   73|     62|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|     62|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     62|    return (gc->_gc_next != 0);
   79|     62|#endif
   80|     62|}
unicodeobject.c:_Py_AS_GC:
   17|    124|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    124|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    124|    return (PyGC_Head*)gc;
   20|    124|}
unicodeobject.c:_PyGCHead_PREV:
  171|     31|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|     31|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|     31|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     31|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|     31|    return (PyGC_Head*)prev;
  174|     31|}
unicodeobject.c:_PyGCHead_NEXT:
  162|     31|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|     31|    uintptr_t next = gc->_gc_next;
  164|     31|    return (PyGC_Head*)next;
  165|     31|}
unicodeobject.c:_PyGCHead_SET_NEXT:
  166|     93|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|     93|    gc->_gc_next = (uintptr_t)next;
  168|     93|}
unicodeobject.c:_PyGCHead_SET_PREV:
  176|     62|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|     62|    uintptr_t uprev = (uintptr_t)prev;
  178|     62|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 62, False: 0]
  ------------------
  179|     62|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|     62|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     62|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|     62|}
unicodeobject.c:_PyObject_GC_TRACK:
  229|     31|{
  230|     31|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|     31|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 31, False: 0]
  |  |  ------------------
  |  |  352|     31|      ? (void)(0) \
  |  |  353|     31|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|     31|                          "object already tracked by the garbage collector",
  232|     31|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|     31|    PyGC_Head *gc = _Py_AS_GC(op);
  237|     31|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|     31|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 31, False: 0]
  |  |  ------------------
  |  |  352|     31|      ? (void)(0) \
  |  |  353|     31|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|     31|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|     31|                          "object is in generation which is garbage collected",
  240|     31|                          filename, lineno, __func__);
  241|       |
  242|     31|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|     31|    PyGC_Head *generation0 = gcstate->generation0;
  244|     31|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|     31|    _PyGCHead_SET_NEXT(last, gc);
  246|     31|    _PyGCHead_SET_PREV(gc, last);
  247|     31|    _PyGCHead_SET_NEXT(gc, generation0);
  248|     31|    generation0->_gc_prev = (uintptr_t)gc;
  249|     31|    gcstate->heap_size++;
  250|     31|#endif
  251|     31|}
unionobject.c:_PyObject_GC_UNTRACK:
  269|      1|{
  270|      1|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  352|      1|      ? (void)(0) \
  |  |  353|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|      1|                          "object not tracked by the garbage collector",
  272|      1|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|      1|    PyGC_Head *gc = _Py_AS_GC(op);
  278|      1|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|      1|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|      1|    _PyGCHead_SET_NEXT(prev, next);
  281|      1|    _PyGCHead_SET_PREV(next, prev);
  282|      1|    gc->_gc_next = 0;
  283|      1|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|      1|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|      1|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|      1|    gcstate->heap_size--;
  286|      1|#endif
  287|      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:
  171|      1|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|      1|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|      1|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      1|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|      1|    return (PyGC_Head*)prev;
  174|      1|}
unionobject.c:_PyGCHead_NEXT:
  162|      1|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|      1|    uintptr_t next = gc->_gc_next;
  164|      1|    return (PyGC_Head*)next;
  165|      1|}
unionobject.c:_PyGCHead_SET_NEXT:
  166|     91|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|     91|    gc->_gc_next = (uintptr_t)next;
  168|     91|}
unionobject.c:_PyGCHead_SET_PREV:
  176|     46|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|     46|    uintptr_t uprev = (uintptr_t)prev;
  178|     46|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 46, False: 0]
  ------------------
  179|     46|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|     46|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     46|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|     46|}
unionobject.c:_PyObject_GC_TRACK:
  229|     45|{
  230|     45|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|     45|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 45, False: 0]
  |  |  ------------------
  |  |  352|     45|      ? (void)(0) \
  |  |  353|     45|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|     45|                          "object already tracked by the garbage collector",
  232|     45|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|     45|    PyGC_Head *gc = _Py_AS_GC(op);
  237|     45|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|     45|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 45, False: 0]
  |  |  ------------------
  |  |  352|     45|      ? (void)(0) \
  |  |  353|     45|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|     45|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|     45|                          "object is in generation which is garbage collected",
  240|     45|                          filename, lineno, __func__);
  241|       |
  242|     45|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|     45|    PyGC_Head *generation0 = gcstate->generation0;
  244|     45|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|     45|    _PyGCHead_SET_NEXT(last, gc);
  246|     45|    _PyGCHead_SET_PREV(gc, last);
  247|     45|    _PyGCHead_SET_NEXT(gc, generation0);
  248|     45|    generation0->_gc_prev = (uintptr_t)gc;
  249|     45|    gcstate->heap_size++;
  250|     45|#endif
  251|     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_MAY_BE_TRACKED:
  101|      3|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
  102|      3|    if (!_PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (102:9): [True: 3, False: 0]
  ------------------
  103|      3|        return 0;
  104|      3|    }
  105|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  106|      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))
  |  |  ------------------
  ------------------
  107|      0|    }
  108|      0|    return 1;
  109|      0|}
context.c:_PyObject_IS_GC:
   93|      3|{
   94|      3|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|      3|    return (_PyType_IS_GC(type)
  ------------------
  |  Branch (95:13): [True: 0, False: 3]
  ------------------
   96|      0|            && (type->tp_is_gc == NULL || type->tp_is_gc(obj)));
  ------------------
  |  Branch (96:17): [True: 0, False: 0]
  |  Branch (96:43): [True: 0, False: 0]
  ------------------
   97|      3|}
context.c:_PyType_IS_GC:
   86|      3|{
   87|      3|    return (type->tp_flags & Py_TPFLAGS_HAVE_GC) != 0;
  ------------------
  |  |  524|      3|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
   88|      3|}
frame.c:_PyObject_GC_IS_TRACKED:
   73|    258|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|    258|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    258|    return (gc->_gc_next != 0);
   79|    258|#endif
   80|    258|}
frame.c:_Py_AS_GC:
   17|    387|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    387|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    387|    return (PyGC_Head*)gc;
   20|    387|}
frame.c:_PyObject_GC_TRACK:
  229|    129|{
  230|    129|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    129|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 129, False: 0]
  |  |  ------------------
  |  |  352|    129|      ? (void)(0) \
  |  |  353|    129|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|    129|                          "object already tracked by the garbage collector",
  232|    129|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|    129|    PyGC_Head *gc = _Py_AS_GC(op);
  237|    129|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|    129|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 129, False: 0]
  |  |  ------------------
  |  |  352|    129|      ? (void)(0) \
  |  |  353|    129|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|    129|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|    129|                          "object is in generation which is garbage collected",
  240|    129|                          filename, lineno, __func__);
  241|       |
  242|    129|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|    129|    PyGC_Head *generation0 = gcstate->generation0;
  244|    129|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|    129|    _PyGCHead_SET_NEXT(last, gc);
  246|    129|    _PyGCHead_SET_PREV(gc, last);
  247|    129|    _PyGCHead_SET_NEXT(gc, generation0);
  248|    129|    generation0->_gc_prev = (uintptr_t)gc;
  249|    129|    gcstate->heap_size++;
  250|    129|#endif
  251|    129|}
frame.c:_PyGCHead_SET_NEXT:
  166|    258|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|    258|    gc->_gc_next = (uintptr_t)next;
  168|    258|}
frame.c:_PyGCHead_SET_PREV:
  176|    129|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|    129|    uintptr_t uprev = (uintptr_t)prev;
  178|    129|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 129, False: 0]
  ------------------
  179|    129|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|    129|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    129|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|    129|}
gc.c:_PyGCHead_NEXT:
  162|  53.8k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|  53.8k|    uintptr_t next = gc->_gc_next;
  164|  53.8k|    return (PyGC_Head*)next;
  165|  53.8k|}
gc.c:_PyGCHead_PREV:
  171|  22.7k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|  22.7k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|  22.7k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  22.7k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|  22.7k|    return (PyGC_Head*)prev;
  174|  22.7k|}
gc.c:_PyGCHead_SET_NEXT:
  166|  24.1k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  24.1k|    gc->_gc_next = (uintptr_t)next;
  168|  24.1k|}
gc.c:_PyGCHead_SET_PREV:
  176|  46.0k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  46.0k|    uintptr_t uprev = (uintptr_t)prev;
  178|  46.0k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 46.0k, False: 0]
  ------------------
  179|  46.0k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  46.0k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  46.0k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  46.0k|}
gc.c:_Py_FROM_GC:
   23|  53.0k|static inline PyObject* _Py_FROM_GC(PyGC_Head *gc) {
   24|  53.0k|    char *op = ((char *)gc) + sizeof(PyGC_Head);
   25|  53.0k|    return (PyObject *)op;
   26|  53.0k|}
gc.c:_PyObject_GC_IS_TRACKED:
   73|  33.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|  33.6k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  33.6k|    return (gc->_gc_next != 0);
   79|  33.6k|#endif
   80|  33.6k|}
gc.c:_PyObject_GC_TRACK:
  229|    542|{
  230|    542|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    542|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 542, False: 0]
  |  |  ------------------
  |  |  352|    542|      ? (void)(0) \
  |  |  353|    542|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|    542|                          "object already tracked by the garbage collector",
  232|    542|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|    542|    PyGC_Head *gc = _Py_AS_GC(op);
  237|    542|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|    542|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 542, False: 0]
  |  |  ------------------
  |  |  352|    542|      ? (void)(0) \
  |  |  353|    542|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|    542|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|    542|                          "object is in generation which is garbage collected",
  240|    542|                          filename, lineno, __func__);
  241|       |
  242|    542|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|    542|    PyGC_Head *generation0 = gcstate->generation0;
  244|    542|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|    542|    _PyGCHead_SET_NEXT(last, gc);
  246|    542|    _PyGCHead_SET_PREV(gc, last);
  247|    542|    _PyGCHead_SET_NEXT(gc, generation0);
  248|    542|    generation0->_gc_prev = (uintptr_t)gc;
  249|    542|    gcstate->heap_size++;
  250|    542|#endif
  251|    542|}
gc.c:_PyObject_GC_UNTRACK:
  269|  12.1k|{
  270|  12.1k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  12.1k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 12.1k, False: 0]
  |  |  ------------------
  |  |  352|  12.1k|      ? (void)(0) \
  |  |  353|  12.1k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|  12.1k|                          "object not tracked by the garbage collector",
  272|  12.1k|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|  12.1k|    PyGC_Head *gc = _Py_AS_GC(op);
  278|  12.1k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|  12.1k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|  12.1k|    _PyGCHead_SET_NEXT(prev, next);
  281|  12.1k|    _PyGCHead_SET_PREV(next, prev);
  282|  12.1k|    gc->_gc_next = 0;
  283|  12.1k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  12.1k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|  12.1k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|  12.1k|    gcstate->heap_size--;
  286|  12.1k|#endif
  287|  12.1k|}
gc.c:_PyObject_IS_GC:
   93|   142k|{
   94|   142k|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  213|   142k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   142k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   142k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|   142k|    return (_PyType_IS_GC(type)
  ------------------
  |  Branch (95:13): [True: 57.6k, False: 84.8k]
  ------------------
   96|  57.6k|            && (type->tp_is_gc == NULL || type->tp_is_gc(obj)));
  ------------------
  |  Branch (96:17): [True: 37.9k, False: 19.6k]
  |  Branch (96:43): [True: 8.17k, False: 11.4k]
  ------------------
   97|   142k|}
gc.c:_PyType_IS_GC:
   86|   163k|{
   87|   163k|    return (type->tp_flags & Py_TPFLAGS_HAVE_GC) != 0;
  ------------------
  |  |  524|   163k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
   88|   163k|}
gc.c:_Py_AS_GC:
   17|   122k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   122k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   122k|    return (PyGC_Head*)gc;
   20|   122k|}
gc.c:_PyGC_FINALIZED:
  182|    147|static inline int _PyGC_FINALIZED(PyObject *op) {
  183|       |#ifdef Py_GIL_DISABLED
  184|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_FINALIZED);
  185|       |#else
  186|    147|    PyGC_Head *gc = _Py_AS_GC(op);
  187|    147|    return ((gc->_gc_prev & _PyGC_PREV_MASK_FINALIZED) != 0);
  ------------------
  |  |  133|    147|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  188|    147|#endif
  189|    147|}
fileio.c:_PyObject_GC_UNTRACK:
  269|     27|{
  270|     27|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|     27|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 27, False: 0]
  |  |  ------------------
  |  |  352|     27|      ? (void)(0) \
  |  |  353|     27|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|     27|                          "object not tracked by the garbage collector",
  272|     27|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|     27|    PyGC_Head *gc = _Py_AS_GC(op);
  278|     27|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|     27|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|     27|    _PyGCHead_SET_NEXT(prev, next);
  281|     27|    _PyGCHead_SET_PREV(next, prev);
  282|     27|    gc->_gc_next = 0;
  283|     27|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|     27|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|     27|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|     27|    gcstate->heap_size--;
  286|     27|#endif
  287|     27|}
fileio.c:_PyObject_GC_IS_TRACKED:
   73|     27|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|     27|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     27|    return (gc->_gc_next != 0);
   79|     27|#endif
   80|     27|}
fileio.c:_Py_AS_GC:
   17|     54|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     54|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     54|    return (PyGC_Head*)gc;
   20|     54|}
fileio.c:_PyGCHead_PREV:
  171|     27|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|     27|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|     27|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     27|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|     27|    return (PyGC_Head*)prev;
  174|     27|}
fileio.c:_PyGCHead_NEXT:
  162|     27|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|     27|    uintptr_t next = gc->_gc_next;
  164|     27|    return (PyGC_Head*)next;
  165|     27|}
fileio.c:_PyGCHead_SET_NEXT:
  166|     27|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|     27|    gc->_gc_next = (uintptr_t)next;
  168|     27|}
fileio.c:_PyGCHead_SET_PREV:
  176|     27|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|     27|    uintptr_t uprev = (uintptr_t)prev;
  178|     27|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 27, False: 0]
  ------------------
  179|     27|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|     27|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     27|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|     27|}
bufferedio.c:_PyObject_GC_UNTRACK:
  269|     27|{
  270|     27|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|     27|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 27, False: 0]
  |  |  ------------------
  |  |  352|     27|      ? (void)(0) \
  |  |  353|     27|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|     27|                          "object not tracked by the garbage collector",
  272|     27|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|     27|    PyGC_Head *gc = _Py_AS_GC(op);
  278|     27|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|     27|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|     27|    _PyGCHead_SET_NEXT(prev, next);
  281|     27|    _PyGCHead_SET_PREV(next, prev);
  282|     27|    gc->_gc_next = 0;
  283|     27|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|     27|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|     27|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|     27|    gcstate->heap_size--;
  286|     27|#endif
  287|     27|}
bufferedio.c:_PyObject_GC_IS_TRACKED:
   73|     27|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|     27|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     27|    return (gc->_gc_next != 0);
   79|     27|#endif
   80|     27|}
bufferedio.c:_Py_AS_GC:
   17|     54|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     54|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     54|    return (PyGC_Head*)gc;
   20|     54|}
bufferedio.c:_PyGCHead_PREV:
  171|     27|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|     27|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|     27|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     27|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|     27|    return (PyGC_Head*)prev;
  174|     27|}
bufferedio.c:_PyGCHead_NEXT:
  162|     27|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|     27|    uintptr_t next = gc->_gc_next;
  164|     27|    return (PyGC_Head*)next;
  165|     27|}
bufferedio.c:_PyGCHead_SET_NEXT:
  166|     27|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|     27|    gc->_gc_next = (uintptr_t)next;
  168|     27|}
bufferedio.c:_PyGCHead_SET_PREV:
  176|     27|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|     27|    uintptr_t uprev = (uintptr_t)prev;
  178|     27|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 27, False: 0]
  ------------------
  179|     27|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|     27|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     27|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|     27|}
bytearrayobject.c:_PyObject_GC_UNTRACK:
  269|      2|{
  270|      2|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  352|      2|      ? (void)(0) \
  |  |  353|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|      2|                          "object not tracked by the garbage collector",
  272|      2|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|      2|    PyGC_Head *gc = _Py_AS_GC(op);
  278|      2|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|      2|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|      2|    _PyGCHead_SET_NEXT(prev, next);
  281|      2|    _PyGCHead_SET_PREV(next, prev);
  282|      2|    gc->_gc_next = 0;
  283|      2|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|      2|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|      2|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|      2|    gcstate->heap_size--;
  286|      2|#endif
  287|      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:
  171|      2|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|      2|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|      2|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      2|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|      2|    return (PyGC_Head*)prev;
  174|      2|}
bytearrayobject.c:_PyGCHead_NEXT:
  162|      2|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|      2|    uintptr_t next = gc->_gc_next;
  164|      2|    return (PyGC_Head*)next;
  165|      2|}
bytearrayobject.c:_PyGCHead_SET_NEXT:
  166|      6|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|      6|    gc->_gc_next = (uintptr_t)next;
  168|      6|}
bytearrayobject.c:_PyGCHead_SET_PREV:
  176|      4|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|      4|    uintptr_t uprev = (uintptr_t)prev;
  178|      4|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 4, False: 0]
  ------------------
  179|      4|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|      4|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      4|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|      4|}
bytearrayobject.c:_PyObject_GC_TRACK:
  229|      2|{
  230|      2|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  352|      2|      ? (void)(0) \
  |  |  353|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|      2|                          "object already tracked by the garbage collector",
  232|      2|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|      2|    PyGC_Head *gc = _Py_AS_GC(op);
  237|      2|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  352|      2|      ? (void)(0) \
  |  |  353|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|      2|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|      2|                          "object is in generation which is garbage collected",
  240|      2|                          filename, lineno, __func__);
  241|       |
  242|      2|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|      2|    PyGC_Head *generation0 = gcstate->generation0;
  244|      2|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|      2|    _PyGCHead_SET_NEXT(last, gc);
  246|      2|    _PyGCHead_SET_PREV(gc, last);
  247|      2|    _PyGCHead_SET_NEXT(gc, generation0);
  248|      2|    generation0->_gc_prev = (uintptr_t)gc;
  249|      2|    gcstate->heap_size++;
  250|      2|#endif
  251|      2|}
bytesobject.c:_PyObject_GC_UNTRACK:
  269|      2|{
  270|      2|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  352|      2|      ? (void)(0) \
  |  |  353|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|      2|                          "object not tracked by the garbage collector",
  272|      2|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|      2|    PyGC_Head *gc = _Py_AS_GC(op);
  278|      2|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|      2|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|      2|    _PyGCHead_SET_NEXT(prev, next);
  281|      2|    _PyGCHead_SET_PREV(next, prev);
  282|      2|    gc->_gc_next = 0;
  283|      2|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|      2|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|      2|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|      2|    gcstate->heap_size--;
  286|      2|#endif
  287|      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:
  171|      2|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|      2|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|      2|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      2|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|      2|    return (PyGC_Head*)prev;
  174|      2|}
bytesobject.c:_PyGCHead_NEXT:
  162|      2|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|      2|    uintptr_t next = gc->_gc_next;
  164|      2|    return (PyGC_Head*)next;
  165|      2|}
bytesobject.c:_PyGCHead_SET_NEXT:
  166|      6|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|      6|    gc->_gc_next = (uintptr_t)next;
  168|      6|}
bytesobject.c:_PyGCHead_SET_PREV:
  176|      4|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|      4|    uintptr_t uprev = (uintptr_t)prev;
  178|      4|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 4, False: 0]
  ------------------
  179|      4|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|      4|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      4|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|      4|}
bytesobject.c:_PyObject_GC_TRACK:
  229|      2|{
  230|      2|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  352|      2|      ? (void)(0) \
  |  |  353|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|      2|                          "object already tracked by the garbage collector",
  232|      2|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|      2|    PyGC_Head *gc = _Py_AS_GC(op);
  237|      2|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  352|      2|      ? (void)(0) \
  |  |  353|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|      2|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|      2|                          "object is in generation which is garbage collected",
  240|      2|                          filename, lineno, __func__);
  241|       |
  242|      2|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|      2|    PyGC_Head *generation0 = gcstate->generation0;
  244|      2|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|      2|    _PyGCHead_SET_NEXT(last, gc);
  246|      2|    _PyGCHead_SET_PREV(gc, last);
  247|      2|    _PyGCHead_SET_NEXT(gc, generation0);
  248|      2|    generation0->_gc_prev = (uintptr_t)gc;
  249|      2|    gcstate->heap_size++;
  250|      2|#endif
  251|      2|}
cellobject.c:_PyObject_GC_TRACK:
  229|    362|{
  230|    362|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    362|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 362, False: 0]
  |  |  ------------------
  |  |  352|    362|      ? (void)(0) \
  |  |  353|    362|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|    362|                          "object already tracked by the garbage collector",
  232|    362|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|    362|    PyGC_Head *gc = _Py_AS_GC(op);
  237|    362|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|    362|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 362, False: 0]
  |  |  ------------------
  |  |  352|    362|      ? (void)(0) \
  |  |  353|    362|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|    362|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|    362|                          "object is in generation which is garbage collected",
  240|    362|                          filename, lineno, __func__);
  241|       |
  242|    362|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|    362|    PyGC_Head *generation0 = gcstate->generation0;
  244|    362|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|    362|    _PyGCHead_SET_NEXT(last, gc);
  246|    362|    _PyGCHead_SET_PREV(gc, last);
  247|    362|    _PyGCHead_SET_NEXT(gc, generation0);
  248|    362|    generation0->_gc_prev = (uintptr_t)gc;
  249|    362|    gcstate->heap_size++;
  250|    362|#endif
  251|    362|}
cellobject.c:_PyObject_GC_IS_TRACKED:
   73|    646|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|    646|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    646|    return (gc->_gc_next != 0);
   79|    646|#endif
   80|    646|}
cellobject.c:_Py_AS_GC:
   17|  1.29k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.29k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.29k|    return (PyGC_Head*)gc;
   20|  1.29k|}
cellobject.c:_PyGCHead_SET_NEXT:
  166|  1.00k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  1.00k|    gc->_gc_next = (uintptr_t)next;
  168|  1.00k|}
cellobject.c:_PyGCHead_SET_PREV:
  176|    646|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|    646|    uintptr_t uprev = (uintptr_t)prev;
  178|    646|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 646, False: 0]
  ------------------
  179|    646|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|    646|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    646|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|    646|}
cellobject.c:_PyObject_GC_UNTRACK:
  269|    284|{
  270|    284|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    284|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 284, False: 0]
  |  |  ------------------
  |  |  352|    284|      ? (void)(0) \
  |  |  353|    284|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|    284|                          "object not tracked by the garbage collector",
  272|    284|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    284|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    284|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    284|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    284|    _PyGCHead_SET_NEXT(prev, next);
  281|    284|    _PyGCHead_SET_PREV(next, prev);
  282|    284|    gc->_gc_next = 0;
  283|    284|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    284|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    284|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    284|    gcstate->heap_size--;
  286|    284|#endif
  287|    284|}
cellobject.c:_PyGCHead_PREV:
  171|    284|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    284|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    284|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    284|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    284|    return (PyGC_Head*)prev;
  174|    284|}
cellobject.c:_PyGCHead_NEXT:
  162|    284|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    284|    uintptr_t next = gc->_gc_next;
  164|    284|    return (PyGC_Head*)next;
  165|    284|}
classobject.c:_PyObject_GC_TRACK:
  229|    655|{
  230|    655|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    655|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 655, False: 0]
  |  |  ------------------
  |  |  352|    655|      ? (void)(0) \
  |  |  353|    655|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|    655|                          "object already tracked by the garbage collector",
  232|    655|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|    655|    PyGC_Head *gc = _Py_AS_GC(op);
  237|    655|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|    655|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 655, False: 0]
  |  |  ------------------
  |  |  352|    655|      ? (void)(0) \
  |  |  353|    655|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|    655|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|    655|                          "object is in generation which is garbage collected",
  240|    655|                          filename, lineno, __func__);
  241|       |
  242|    655|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|    655|    PyGC_Head *generation0 = gcstate->generation0;
  244|    655|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|    655|    _PyGCHead_SET_NEXT(last, gc);
  246|    655|    _PyGCHead_SET_PREV(gc, last);
  247|    655|    _PyGCHead_SET_NEXT(gc, generation0);
  248|    655|    generation0->_gc_prev = (uintptr_t)gc;
  249|    655|    gcstate->heap_size++;
  250|    655|#endif
  251|    655|}
classobject.c:_PyObject_GC_IS_TRACKED:
   73|  1.30k|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.30k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  1.30k|    return (gc->_gc_next != 0);
   79|  1.30k|#endif
   80|  1.30k|}
classobject.c:_Py_AS_GC:
   17|  2.61k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  2.61k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  2.61k|    return (PyGC_Head*)gc;
   20|  2.61k|}
classobject.c:_PyGCHead_SET_NEXT:
  166|  1.96k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  1.96k|    gc->_gc_next = (uintptr_t)next;
  168|  1.96k|}
classobject.c:_PyGCHead_SET_PREV:
  176|  1.30k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  1.30k|    uintptr_t uprev = (uintptr_t)prev;
  178|  1.30k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 1.30k, False: 0]
  ------------------
  179|  1.30k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  1.30k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  1.30k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  1.30k|}
classobject.c:_PyObject_GC_UNTRACK:
  269|    653|{
  270|    653|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    653|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 653, False: 0]
  |  |  ------------------
  |  |  352|    653|      ? (void)(0) \
  |  |  353|    653|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|    653|                          "object not tracked by the garbage collector",
  272|    653|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    653|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    653|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    653|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    653|    _PyGCHead_SET_NEXT(prev, next);
  281|    653|    _PyGCHead_SET_PREV(next, prev);
  282|    653|    gc->_gc_next = 0;
  283|    653|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    653|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    653|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    653|    gcstate->heap_size--;
  286|    653|#endif
  287|    653|}
classobject.c:_PyGCHead_PREV:
  171|    653|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    653|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    653|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    653|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    653|    return (PyGC_Head*)prev;
  174|    653|}
classobject.c:_PyGCHead_NEXT:
  162|    653|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    653|    uintptr_t next = gc->_gc_next;
  164|    653|    return (PyGC_Head*)next;
  165|    653|}
descrobject.c:_PyObject_GC_UNTRACK:
  269|    465|{
  270|    465|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    465|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 465, False: 0]
  |  |  ------------------
  |  |  352|    465|      ? (void)(0) \
  |  |  353|    465|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|    465|                          "object not tracked by the garbage collector",
  272|    465|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    465|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    465|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    465|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    465|    _PyGCHead_SET_NEXT(prev, next);
  281|    465|    _PyGCHead_SET_PREV(next, prev);
  282|    465|    gc->_gc_next = 0;
  283|    465|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    465|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    465|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    465|    gcstate->heap_size--;
  286|    465|#endif
  287|    465|}
descrobject.c:_PyObject_GC_IS_TRACKED:
   73|    950|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|    950|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    950|    return (gc->_gc_next != 0);
   79|    950|#endif
   80|    950|}
descrobject.c:_Py_AS_GC:
   17|  1.90k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.90k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.90k|    return (PyGC_Head*)gc;
   20|  1.90k|}
descrobject.c:_PyGCHead_PREV:
  171|    465|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    465|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    465|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    465|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    465|    return (PyGC_Head*)prev;
  174|    465|}
descrobject.c:_PyGCHead_NEXT:
  162|    465|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    465|    uintptr_t next = gc->_gc_next;
  164|    465|    return (PyGC_Head*)next;
  165|    465|}
descrobject.c:_PyGCHead_SET_NEXT:
  166|  1.43k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  1.43k|    gc->_gc_next = (uintptr_t)next;
  168|  1.43k|}
descrobject.c:_PyGCHead_SET_PREV:
  176|    950|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|    950|    uintptr_t uprev = (uintptr_t)prev;
  178|    950|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 950, False: 0]
  ------------------
  179|    950|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|    950|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    950|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|    950|}
descrobject.c:_PyObject_GC_TRACK:
  229|    485|{
  230|    485|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    485|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 485, False: 0]
  |  |  ------------------
  |  |  352|    485|      ? (void)(0) \
  |  |  353|    485|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|    485|                          "object already tracked by the garbage collector",
  232|    485|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|    485|    PyGC_Head *gc = _Py_AS_GC(op);
  237|    485|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|    485|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 485, False: 0]
  |  |  ------------------
  |  |  352|    485|      ? (void)(0) \
  |  |  353|    485|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|    485|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|    485|                          "object is in generation which is garbage collected",
  240|    485|                          filename, lineno, __func__);
  241|       |
  242|    485|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|    485|    PyGC_Head *generation0 = gcstate->generation0;
  244|    485|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|    485|    _PyGCHead_SET_NEXT(last, gc);
  246|    485|    _PyGCHead_SET_PREV(gc, last);
  247|    485|    _PyGCHead_SET_NEXT(gc, generation0);
  248|    485|    generation0->_gc_prev = (uintptr_t)gc;
  249|    485|    gcstate->heap_size++;
  250|    485|#endif
  251|    485|}
enumobject.c:_PyObject_GC_IS_TRACKED:
   73|    195|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|    195|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    195|    return (gc->_gc_next != 0);
   79|    195|#endif
   80|    195|}
enumobject.c:_Py_AS_GC:
   17|    216|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    216|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    216|    return (PyGC_Head*)gc;
   20|    216|}
enumobject.c:_PyObject_GC_TRACK:
  229|     21|{
  230|     21|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|     21|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 21, False: 0]
  |  |  ------------------
  |  |  352|     21|      ? (void)(0) \
  |  |  353|     21|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|     21|                          "object already tracked by the garbage collector",
  232|     21|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|     21|    PyGC_Head *gc = _Py_AS_GC(op);
  237|     21|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|     21|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 21, False: 0]
  |  |  ------------------
  |  |  352|     21|      ? (void)(0) \
  |  |  353|     21|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|     21|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|     21|                          "object is in generation which is garbage collected",
  240|     21|                          filename, lineno, __func__);
  241|       |
  242|     21|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|     21|    PyGC_Head *generation0 = gcstate->generation0;
  244|     21|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|     21|    _PyGCHead_SET_NEXT(last, gc);
  246|     21|    _PyGCHead_SET_PREV(gc, last);
  247|     21|    _PyGCHead_SET_NEXT(gc, generation0);
  248|     21|    generation0->_gc_prev = (uintptr_t)gc;
  249|     21|    gcstate->heap_size++;
  250|     21|#endif
  251|     21|}
enumobject.c:_PyGCHead_SET_NEXT:
  166|     42|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|     42|    gc->_gc_next = (uintptr_t)next;
  168|     42|}
enumobject.c:_PyGCHead_SET_PREV:
  176|     21|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|     21|    uintptr_t uprev = (uintptr_t)prev;
  178|     21|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 21, False: 0]
  ------------------
  179|     21|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|     21|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     21|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|     21|}
genobject.c:_PyObject_GC_UNTRACK:
  269|    226|{
  270|    226|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    226|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 226, False: 0]
  |  |  ------------------
  |  |  352|    226|      ? (void)(0) \
  |  |  353|    226|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|    226|                          "object not tracked by the garbage collector",
  272|    226|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    226|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    226|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    226|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    226|    _PyGCHead_SET_NEXT(prev, next);
  281|    226|    _PyGCHead_SET_PREV(next, prev);
  282|    226|    gc->_gc_next = 0;
  283|    226|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    226|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    226|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    226|    gcstate->heap_size--;
  286|    226|#endif
  287|    226|}
genobject.c:_PyObject_GC_IS_TRACKED:
   73|    452|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|    452|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    452|    return (gc->_gc_next != 0);
   79|    452|#endif
   80|    452|}
genobject.c:_Py_AS_GC:
   17|    904|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    904|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    904|    return (PyGC_Head*)gc;
   20|    904|}
genobject.c:_PyGCHead_PREV:
  171|    226|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    226|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    226|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    226|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    226|    return (PyGC_Head*)prev;
  174|    226|}
genobject.c:_PyGCHead_NEXT:
  162|    226|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    226|    uintptr_t next = gc->_gc_next;
  164|    226|    return (PyGC_Head*)next;
  165|    226|}
genobject.c:_PyGCHead_SET_NEXT:
  166|    678|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|    678|    gc->_gc_next = (uintptr_t)next;
  168|    678|}
genobject.c:_PyGCHead_SET_PREV:
  176|    452|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|    452|    uintptr_t uprev = (uintptr_t)prev;
  178|    452|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 452, False: 0]
  ------------------
  179|    452|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|    452|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    452|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|    452|}
genobject.c:_PyObject_GC_TRACK:
  229|    226|{
  230|    226|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    226|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 226, False: 0]
  |  |  ------------------
  |  |  352|    226|      ? (void)(0) \
  |  |  353|    226|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|    226|                          "object already tracked by the garbage collector",
  232|    226|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|    226|    PyGC_Head *gc = _Py_AS_GC(op);
  237|    226|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|    226|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 226, False: 0]
  |  |  ------------------
  |  |  352|    226|      ? (void)(0) \
  |  |  353|    226|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|    226|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|    226|                          "object is in generation which is garbage collected",
  240|    226|                          filename, lineno, __func__);
  241|       |
  242|    226|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|    226|    PyGC_Head *generation0 = gcstate->generation0;
  244|    226|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|    226|    _PyGCHead_SET_NEXT(last, gc);
  246|    226|    _PyGCHead_SET_PREV(gc, last);
  247|    226|    _PyGCHead_SET_NEXT(gc, generation0);
  248|    226|    generation0->_gc_prev = (uintptr_t)gc;
  249|    226|    gcstate->heap_size++;
  250|    226|#endif
  251|    226|}
frameobject.c:_PyObject_GC_IS_TRACKED:
   73|    552|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|    552|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    552|    return (gc->_gc_next != 0);
   79|    552|#endif
   80|    552|}
frameobject.c:_Py_AS_GC:
   17|    681|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    681|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    681|    return (PyGC_Head*)gc;
   20|    681|}
frameobject.c:_PyObject_GC_UNTRACK:
  269|    129|{
  270|    129|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    129|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 129, False: 0]
  |  |  ------------------
  |  |  352|    129|      ? (void)(0) \
  |  |  353|    129|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|    129|                          "object not tracked by the garbage collector",
  272|    129|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    129|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    129|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    129|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    129|    _PyGCHead_SET_NEXT(prev, next);
  281|    129|    _PyGCHead_SET_PREV(next, prev);
  282|    129|    gc->_gc_next = 0;
  283|    129|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    129|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    129|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    129|    gcstate->heap_size--;
  286|    129|#endif
  287|    129|}
frameobject.c:_PyGCHead_PREV:
  171|    129|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    129|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    129|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    129|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    129|    return (PyGC_Head*)prev;
  174|    129|}
frameobject.c:_PyGCHead_NEXT:
  162|    129|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    129|    uintptr_t next = gc->_gc_next;
  164|    129|    return (PyGC_Head*)next;
  165|    129|}
frameobject.c:_PyGCHead_SET_NEXT:
  166|    129|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|    129|    gc->_gc_next = (uintptr_t)next;
  168|    129|}
frameobject.c:_PyGCHead_SET_PREV:
  176|    129|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|    129|    uintptr_t uprev = (uintptr_t)prev;
  178|    129|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 129, False: 0]
  ------------------
  179|    129|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|    129|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    129|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|    129|}
iterobject.c:_PyObject_GC_TRACK:
  229|      9|{
  230|      9|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|      9|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 9, False: 0]
  |  |  ------------------
  |  |  352|      9|      ? (void)(0) \
  |  |  353|      9|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|      9|                          "object already tracked by the garbage collector",
  232|      9|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|      9|    PyGC_Head *gc = _Py_AS_GC(op);
  237|      9|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|      9|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 9, False: 0]
  |  |  ------------------
  |  |  352|      9|      ? (void)(0) \
  |  |  353|      9|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|      9|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|      9|                          "object is in generation which is garbage collected",
  240|      9|                          filename, lineno, __func__);
  241|       |
  242|      9|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|      9|    PyGC_Head *generation0 = gcstate->generation0;
  244|      9|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|      9|    _PyGCHead_SET_NEXT(last, gc);
  246|      9|    _PyGCHead_SET_PREV(gc, last);
  247|      9|    _PyGCHead_SET_NEXT(gc, generation0);
  248|      9|    generation0->_gc_prev = (uintptr_t)gc;
  249|      9|    gcstate->heap_size++;
  250|      9|#endif
  251|      9|}
iterobject.c:_PyObject_GC_IS_TRACKED:
   73|     18|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|     18|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     18|    return (gc->_gc_next != 0);
   79|     18|#endif
   80|     18|}
iterobject.c:_Py_AS_GC:
   17|     36|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     36|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     36|    return (PyGC_Head*)gc;
   20|     36|}
iterobject.c:_PyGCHead_SET_NEXT:
  166|     27|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|     27|    gc->_gc_next = (uintptr_t)next;
  168|     27|}
iterobject.c:_PyGCHead_SET_PREV:
  176|     18|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|     18|    uintptr_t uprev = (uintptr_t)prev;
  178|     18|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 18, False: 0]
  ------------------
  179|     18|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|     18|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     18|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|     18|}
iterobject.c:_PyObject_GC_UNTRACK:
  269|      9|{
  270|      9|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|      9|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 9, False: 0]
  |  |  ------------------
  |  |  352|      9|      ? (void)(0) \
  |  |  353|      9|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|      9|                          "object not tracked by the garbage collector",
  272|      9|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|      9|    PyGC_Head *gc = _Py_AS_GC(op);
  278|      9|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|      9|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|      9|    _PyGCHead_SET_NEXT(prev, next);
  281|      9|    _PyGCHead_SET_PREV(next, prev);
  282|      9|    gc->_gc_next = 0;
  283|      9|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|      9|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|      9|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|      9|    gcstate->heap_size--;
  286|      9|#endif
  287|      9|}
iterobject.c:_PyGCHead_PREV:
  171|      9|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|      9|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|      9|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      9|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|      9|    return (PyGC_Head*)prev;
  174|      9|}
iterobject.c:_PyGCHead_NEXT:
  162|      9|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|      9|    uintptr_t next = gc->_gc_next;
  164|      9|    return (PyGC_Head*)next;
  165|      9|}
lazyimportobject.c:_PyObject_GC_TRACK:
  229|     16|{
  230|     16|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|     16|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 16, False: 0]
  |  |  ------------------
  |  |  352|     16|      ? (void)(0) \
  |  |  353|     16|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|     16|                          "object already tracked by the garbage collector",
  232|     16|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|     16|    PyGC_Head *gc = _Py_AS_GC(op);
  237|     16|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|     16|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 16, False: 0]
  |  |  ------------------
  |  |  352|     16|      ? (void)(0) \
  |  |  353|     16|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|     16|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|     16|                          "object is in generation which is garbage collected",
  240|     16|                          filename, lineno, __func__);
  241|       |
  242|     16|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|     16|    PyGC_Head *generation0 = gcstate->generation0;
  244|     16|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|     16|    _PyGCHead_SET_NEXT(last, gc);
  246|     16|    _PyGCHead_SET_PREV(gc, last);
  247|     16|    _PyGCHead_SET_NEXT(gc, generation0);
  248|     16|    generation0->_gc_prev = (uintptr_t)gc;
  249|     16|    gcstate->heap_size++;
  250|     16|#endif
  251|     16|}
lazyimportobject.c:_PyObject_GC_IS_TRACKED:
   73|     16|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|     16|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     16|    return (gc->_gc_next != 0);
   79|     16|#endif
   80|     16|}
lazyimportobject.c:_Py_AS_GC:
   17|     32|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     32|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     32|    return (PyGC_Head*)gc;
   20|     32|}
lazyimportobject.c:_PyGCHead_SET_NEXT:
  166|     32|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|     32|    gc->_gc_next = (uintptr_t)next;
  168|     32|}
lazyimportobject.c:_PyGCHead_SET_PREV:
  176|     16|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|     16|    uintptr_t uprev = (uintptr_t)prev;
  178|     16|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 16, False: 0]
  ------------------
  179|     16|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|     16|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     16|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|     16|}
memoryobject.c:_PyObject_GC_UNTRACK:
  269|    181|{
  270|    181|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    181|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 181, False: 0]
  |  |  ------------------
  |  |  352|    181|      ? (void)(0) \
  |  |  353|    181|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|    181|                          "object not tracked by the garbage collector",
  272|    181|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    181|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    181|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    181|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    181|    _PyGCHead_SET_NEXT(prev, next);
  281|    181|    _PyGCHead_SET_PREV(next, prev);
  282|    181|    gc->_gc_next = 0;
  283|    181|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    181|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    181|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    181|    gcstate->heap_size--;
  286|    181|#endif
  287|    181|}
memoryobject.c:_PyObject_GC_IS_TRACKED:
   73|    362|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|    362|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    362|    return (gc->_gc_next != 0);
   79|    362|#endif
   80|    362|}
memoryobject.c:_Py_AS_GC:
   17|    724|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    724|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    724|    return (PyGC_Head*)gc;
   20|    724|}
memoryobject.c:_PyGCHead_PREV:
  171|    181|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    181|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    181|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    181|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    181|    return (PyGC_Head*)prev;
  174|    181|}
memoryobject.c:_PyGCHead_NEXT:
  162|    181|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    181|    uintptr_t next = gc->_gc_next;
  164|    181|    return (PyGC_Head*)next;
  165|    181|}
memoryobject.c:_PyGCHead_SET_NEXT:
  166|    543|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|    543|    gc->_gc_next = (uintptr_t)next;
  168|    543|}
memoryobject.c:_PyGCHead_SET_PREV:
  176|    362|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|    362|    uintptr_t uprev = (uintptr_t)prev;
  178|    362|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 362, False: 0]
  ------------------
  179|    362|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|    362|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    362|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|    362|}
memoryobject.c:_PyObject_GC_TRACK:
  229|    181|{
  230|    181|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    181|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 181, False: 0]
  |  |  ------------------
  |  |  352|    181|      ? (void)(0) \
  |  |  353|    181|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|    181|                          "object already tracked by the garbage collector",
  232|    181|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|    181|    PyGC_Head *gc = _Py_AS_GC(op);
  237|    181|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|    181|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 181, False: 0]
  |  |  ------------------
  |  |  352|    181|      ? (void)(0) \
  |  |  353|    181|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|    181|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|    181|                          "object is in generation which is garbage collected",
  240|    181|                          filename, lineno, __func__);
  241|       |
  242|    181|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|    181|    PyGC_Head *generation0 = gcstate->generation0;
  244|    181|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|    181|    _PyGCHead_SET_NEXT(last, gc);
  246|    181|    _PyGCHead_SET_PREV(gc, last);
  247|    181|    _PyGCHead_SET_NEXT(gc, generation0);
  248|    181|    generation0->_gc_prev = (uintptr_t)gc;
  249|    181|    gcstate->heap_size++;
  250|    181|#endif
  251|    181|}
methodobject.c:_PyObject_GC_TRACK:
  229|  2.43k|{
  230|  2.43k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  2.43k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2.43k, False: 0]
  |  |  ------------------
  |  |  352|  2.43k|      ? (void)(0) \
  |  |  353|  2.43k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|  2.43k|                          "object already tracked by the garbage collector",
  232|  2.43k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  2.43k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  2.43k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  2.43k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2.43k, False: 0]
  |  |  ------------------
  |  |  352|  2.43k|      ? (void)(0) \
  |  |  353|  2.43k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|  2.43k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  2.43k|                          "object is in generation which is garbage collected",
  240|  2.43k|                          filename, lineno, __func__);
  241|       |
  242|  2.43k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  2.43k|    PyGC_Head *generation0 = gcstate->generation0;
  244|  2.43k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  2.43k|    _PyGCHead_SET_NEXT(last, gc);
  246|  2.43k|    _PyGCHead_SET_PREV(gc, last);
  247|  2.43k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  2.43k|    generation0->_gc_prev = (uintptr_t)gc;
  249|  2.43k|    gcstate->heap_size++;
  250|  2.43k|#endif
  251|  2.43k|}
methodobject.c:_PyObject_GC_IS_TRACKED:
   73|  2.43k|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|  2.43k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  2.43k|    return (gc->_gc_next != 0);
   79|  2.43k|#endif
   80|  2.43k|}
methodobject.c:_Py_AS_GC:
   17|  4.87k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  4.87k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  4.87k|    return (PyGC_Head*)gc;
   20|  4.87k|}
methodobject.c:_PyGCHead_SET_NEXT:
  166|  4.87k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  4.87k|    gc->_gc_next = (uintptr_t)next;
  168|  4.87k|}
methodobject.c:_PyGCHead_SET_PREV:
  176|  2.43k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  2.43k|    uintptr_t uprev = (uintptr_t)prev;
  178|  2.43k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 2.43k, False: 0]
  ------------------
  179|  2.43k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  2.43k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  2.43k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  2.43k|}

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

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

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

sentinelobject.c:_PyFrame_GetFunction:
   96|      6|static inline PyFunctionObject *_PyFrame_GetFunction(_PyInterpreterFrame *f) {
   97|      6|    PyObject *func = PyStackRef_AsPyObjectBorrow(f->f_funcobj);
   98|      6|    assert(PyFunction_Check(func));
  ------------------
  |  Branch (98:5): [True: 6, False: 0]
  ------------------
   99|      6|    return (PyFunctionObject *)func;
  100|      6|}
typeobject.c:_PyThreadState_GetFrame:
  314|     14|{
  315|     14|    return _PyFrame_GetFirstComplete(tstate->current_frame);
  316|     14|}
typeobject.c:_PyFrame_GetFirstComplete:
  305|     14|{
  306|     14|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (306:12): [True: 14, False: 0]
  |  Branch (306:21): [True: 0, False: 14]
  ------------------
  307|      0|        frame = frame->previous;
  308|      0|    }
  309|     14|    return frame;
  310|     14|}
typeobject.c:_PyFrame_IsIncomplete:
  294|     14|{
  295|     14|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (295:9): [True: 0, False: 14]
  ------------------
  296|      0|        return true;
  297|      0|    }
  298|     14|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (298:12): [True: 14, False: 0]
  ------------------
  299|     14|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (299:12): [True: 0, False: 14]
  ------------------
  300|     14|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  301|     14|}
typeobject.c:_PyFrame_GetBytecode:
   60|     14|{
   61|       |#ifdef Py_GIL_DISABLED
   62|       |    PyCodeObject *co = _PyFrame_GetCode(f);
   63|       |    _PyCodeArray *tlbc = _PyCode_GetTLBCArray(co);
   64|       |    assert(f->tlbc_index >= 0 && f->tlbc_index < tlbc->size);
   65|       |    return (_Py_CODEUNIT *)tlbc->entries[f->tlbc_index];
   66|       |#else
   67|     14|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|     14|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|     14|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|     14|#endif
   69|     14|}
typeobject.c:_PyFrame_GetCode:
   21|     56|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|     56|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 56, False: 0]
  ------------------
   23|     56|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|     56|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 56, False: 0]
  ------------------
   25|     56|    return (PyCodeObject *)executable;
   26|     56|}
typeobject.c:_PyFrame_GetLocalsArray:
  226|     28|{
  227|     28|    return frame->localsplus;
  228|     28|}
ceval.c:_PyFrame_GetCode:
   21|   111k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|   111k|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 111k, False: 0]
  ------------------
   23|   111k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|   111k|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 111k, False: 0]
  ------------------
   25|   111k|    return (PyCodeObject *)executable;
   26|   111k|}
ceval.c:_PyFrame_GetStackPointer:
  235|  51.2k|{
  236|  51.2k|    return frame->stackpointer;
  237|  51.2k|}
ceval.c:_PyFrame_StackPointerInvalidate:
  259|   196k|{
  260|       |#ifdef Py_DEBUG
  261|       |/* Avoid bloating the JIT code */
  262|       |#ifndef _Py_JIT
  263|       |    assert(frame->stackpointer_valid == 1);
  264|       |#endif
  265|       |    frame->stackpointer_valid = 0;
  266|       |#endif
  267|   196k|}
ceval.c:_PyFrame_SetStackPointer:
  241|   161k|{
  242|   161k|    frame->stackpointer = stack_pointer;
  243|   161k|}
ceval.c:_PyFrame_StackPointerValidate:
  247|   194k|{
  248|       |#ifdef Py_DEBUG
  249|       |/* Avoid bloating the JIT code */
  250|       |#ifndef _Py_JIT
  251|       |    assert(frame->stackpointer_valid == 0);
  252|       |#endif
  253|       |    frame->stackpointer_valid = 1;
  254|       |#endif
  255|   194k|}
ceval.c:_PyFrame_StackAssertInvalid:
  271|   256k|{
  272|       |#ifdef Py_DEBUG
  273|       |/* Avoid bloating the JIT code */
  274|       |#ifndef _Py_JIT
  275|       |    assert(frame->stackpointer_valid == 0);
  276|       |#endif
  277|       |#endif
  278|   256k|}
ceval.c:_PyThreadState_HasStackSpace:
  384|  3.61k|{
  385|  3.61k|    assert(
  ------------------
  |  Branch (385:5): [True: 0, False: 3.61k]
  |  Branch (385:5): [True: 0, False: 0]
  |  Branch (385:5): [True: 3.61k, False: 0]
  |  Branch (385:5): [True: 3.61k, False: 0]
  ------------------
  386|  3.61k|        (tstate->datastack_top == NULL && tstate->datastack_limit == NULL)
  387|  3.61k|        ||
  388|  3.61k|        (tstate->datastack_top != NULL && tstate->datastack_limit != NULL)
  389|  3.61k|    );
  390|  3.61k|    return tstate->datastack_top != NULL &&
  ------------------
  |  Branch (390:12): [True: 3.61k, False: 0]
  ------------------
  391|  3.61k|        size < tstate->datastack_limit - tstate->datastack_top;
  ------------------
  |  Branch (391:9): [True: 3.61k, False: 0]
  ------------------
  392|  3.61k|}
ceval.c:_PyFrame_PushUnchecked:
  405|  3.37k|{
  406|  3.37k|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|  3.37k|#define CALL_STAT_INC(name) ((void)0)
  ------------------
  407|  3.37k|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
  408|  3.37k|    PyCodeObject *code = (PyCodeObject *)func_obj->func_code;
  409|  3.37k|    _PyInterpreterFrame *new_frame = (_PyInterpreterFrame *)tstate->datastack_top;
  410|  3.37k|    tstate->datastack_top += code->co_framesize;
  411|  3.37k|    assert(tstate->datastack_top < tstate->datastack_limit);
  ------------------
  |  Branch (411:5): [True: 3.37k, False: 0]
  ------------------
  412|  3.37k|    _PyFrame_Initialize(tstate, new_frame, func, NULL, code, null_locals_from,
  413|  3.37k|                        previous);
  414|  3.37k|    return new_frame;
  415|  3.37k|}
ceval.c:_PyFrame_PushTrampolineUnchecked:
  421|    233|{
  422|    233|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|    233|#define CALL_STAT_INC(name) ((void)0)
  ------------------
  423|    233|    _PyInterpreterFrame *frame = (_PyInterpreterFrame *)tstate->datastack_top;
  424|    233|    tstate->datastack_top += code->co_framesize;
  425|    233|    assert(tstate->datastack_top < tstate->datastack_limit);
  ------------------
  |  Branch (425:5): [True: 233, False: 0]
  ------------------
  426|    233|    frame->previous = previous;
  427|    233|    frame->f_funcobj = PyStackRef_None;
  ------------------
  |  |  485|    233|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|    233|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  428|    233|    frame->f_executable = PyStackRef_FromPyObjectNew(code);
  ------------------
  |  |  611|    233|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    233|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    233|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  429|       |#ifdef Py_DEBUG
  430|       |    frame->f_builtins = NULL;
  431|       |    frame->f_globals = NULL;
  432|       |#endif
  433|    233|    frame->f_locals = NULL;
  434|    233|    assert(stackdepth <= code->co_stacksize);
  ------------------
  |  Branch (434:5): [True: 233, False: 0]
  ------------------
  435|    233|    frame->stackpointer = frame->localsplus + code->co_nlocalsplus + stackdepth;
  436|    233|    frame->frame_obj = NULL;
  437|       |#ifdef Py_GIL_DISABLED
  438|       |    _PyFrame_InitializeTLBC(tstate, frame, code);
  439|       |#else
  440|    233|    frame->instr_ptr = _PyCode_CODE(code);
  ------------------
  |  |   16|    233|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|    233|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  441|    233|#endif
  442|    233|    frame->owner = FRAME_OWNED_BY_THREAD;
  443|    233|    frame->visited = 0;
  444|       |#ifdef Py_DEBUG
  445|       |    frame->stackpointer_valid = 1;
  446|       |    frame->lltrace = 0;
  447|       |#endif
  448|    233|    frame->return_offset = 0;
  449|    233|    return frame;
  450|    233|}
ceval.c:_PyFrame_GetBytecode:
   60|  6.50k|{
   61|       |#ifdef Py_GIL_DISABLED
   62|       |    PyCodeObject *co = _PyFrame_GetCode(f);
   63|       |    _PyCodeArray *tlbc = _PyCode_GetTLBCArray(co);
   64|       |    assert(f->tlbc_index >= 0 && f->tlbc_index < tlbc->size);
   65|       |    return (_Py_CODEUNIT *)tlbc->entries[f->tlbc_index];
   66|       |#else
   67|  6.50k|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  6.50k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|  6.50k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|  6.50k|#endif
   69|  6.50k|}
ceval.c:_PyFrame_StackPush:
  118|    389|static inline void _PyFrame_StackPush(_PyInterpreterFrame *f, _PyStackRef value) {
  119|    389|    *f->stackpointer = value;
  120|    389|    f->stackpointer++;
  121|    389|}
ceval.c:_PyFrame_Stackbase:
  102|  9.80k|static inline _PyStackRef *_PyFrame_Stackbase(_PyInterpreterFrame *f) {
  103|  9.80k|    return (f->localsplus + _PyFrame_GetCode(f)->co_nlocalsplus);
  104|  9.80k|}
ceval.c:_PyFrame_IsIncomplete:
  294|  3.44k|{
  295|  3.44k|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (295:9): [True: 2.17k, False: 1.27k]
  ------------------
  296|  2.17k|        return true;
  297|  2.17k|    }
  298|  1.27k|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (298:12): [True: 1.27k, False: 0]
  ------------------
  299|  1.27k|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (299:12): [True: 0, False: 1.27k]
  ------------------
  300|  1.27k|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  301|  3.44k|}
ceval.c:_PyFrame_Copy:
  135|    113|{
  136|    113|    dest->f_executable = PyStackRef_MakeHeapSafe(src->f_executable);
  137|       |    // Don't leave a dangling pointer to the old frame when creating generators
  138|       |    // and coroutines:
  139|    113|    dest->previous = NULL;
  140|    113|    dest->f_funcobj = PyStackRef_MakeHeapSafe(src->f_funcobj);
  141|    113|    dest->f_globals = src->f_globals;
  142|    113|    dest->f_builtins = src->f_builtins;
  143|    113|    dest->f_locals = src->f_locals;
  144|    113|    dest->frame_obj = src->frame_obj;
  145|    113|    dest->instr_ptr = src->instr_ptr;
  146|       |#ifdef Py_GIL_DISABLED
  147|       |    dest->tlbc_index = src->tlbc_index;
  148|       |#endif
  149|    113|    assert(src->stackpointer != NULL);
  ------------------
  |  Branch (149:5): [True: 113, False: 0]
  ------------------
  150|    113|    int stacktop = (int)(src->stackpointer - src->localsplus);
  151|    113|    assert(stacktop >= 0);
  ------------------
  |  Branch (151:5): [True: 113, False: 0]
  ------------------
  152|    113|    dest->stackpointer = dest->localsplus + stacktop;
  153|       |    // visited is GC bookkeeping for the current stack walk, not frame state.
  154|    113|    dest->visited = 0;
  155|       |#ifdef Py_DEBUG
  156|       |    dest->stackpointer_valid =  src->stackpointer_valid;
  157|       |    dest->lltrace = src->lltrace;
  158|       |#endif
  159|    570|    for (int i = 0; i < stacktop; i++) {
  ------------------
  |  Branch (159:21): [True: 457, False: 113]
  ------------------
  160|    457|        dest->localsplus[i] = PyStackRef_MakeHeapSafe(src->localsplus[i]);
  161|    457|    }
  162|    113|}
ceval.c:_PyFrame_GetFrameObject:
  345|    431|{
  346|       |
  347|    431|    assert(!_PyFrame_IsIncomplete(frame));
  ------------------
  |  Branch (347:5): [True: 431, False: 0]
  ------------------
  348|    431|    PyFrameObject *res = (PyFrameObject*)FT_ATOMIC_LOAD_PTR_ACQUIRE(frame->frame_obj);
  ------------------
  |  |  152|    431|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  349|    431|    if (res != NULL) {
  ------------------
  |  Branch (349:9): [True: 103, False: 328]
  ------------------
  350|    103|        return res;
  351|    103|    }
  352|    328|    return _PyFrame_MakeAndSetFrameObject(frame);
  353|    431|}
ceval.c:_PyFrame_StackPop:
  112|    611|static inline _PyStackRef _PyFrame_StackPop(_PyInterpreterFrame *f) {
  113|    611|    assert(f->stackpointer > _PyFrame_Stackbase(f));
  ------------------
  |  Branch (113:5): [True: 611, False: 0]
  ------------------
  114|    611|    f->stackpointer--;
  115|    611|    return *f->stackpointer;
  116|    611|}
ceval.c:_PyFrame_Initialize:
  192|  8.21k|{
  193|  8.21k|    frame->previous = previous;
  194|  8.21k|    frame->f_funcobj = func;
  195|  8.21k|    frame->f_executable = PyStackRef_FromPyObjectNew(code);
  ------------------
  |  |  611|  8.21k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  196|  8.21k|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
  197|  8.21k|    frame->f_builtins = func_obj->func_builtins;
  198|  8.21k|    frame->f_globals = func_obj->func_globals;
  199|  8.21k|    frame->f_locals = locals;
  200|  8.21k|    frame->stackpointer = frame->localsplus + code->co_nlocalsplus;
  201|  8.21k|    frame->frame_obj = NULL;
  202|       |#ifdef Py_GIL_DISABLED
  203|       |    _PyFrame_InitializeTLBC(tstate, frame, code);
  204|       |#else
  205|  8.21k|    (void)tstate;
  206|  8.21k|    frame->instr_ptr = _PyCode_CODE(code);
  ------------------
  |  |   16|  8.21k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|  8.21k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  207|  8.21k|#endif
  208|  8.21k|    frame->return_offset = 0;
  209|  8.21k|    frame->owner = FRAME_OWNED_BY_THREAD;
  210|  8.21k|    frame->visited = 0;
  211|       |#ifdef Py_DEBUG
  212|       |    frame->stackpointer_valid = 1;
  213|       |    frame->lltrace = 0;
  214|       |#endif
  215|       |
  216|  32.6k|    for (int i = null_locals_from; i < code->co_nlocalsplus; i++) {
  ------------------
  |  Branch (216:36): [True: 24.4k, False: 8.21k]
  ------------------
  217|  24.4k|        frame->localsplus[i] = PyStackRef_NULL;
  218|  24.4k|    }
  219|  8.21k|}
ceval.c:_PyThreadState_GetFrame:
  314|    434|{
  315|    434|    return _PyFrame_GetFirstComplete(tstate->current_frame);
  316|    434|}
ceval.c:_PyFrame_GetFirstComplete:
  305|    434|{
  306|    455|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (306:12): [True: 434, False: 21]
  |  Branch (306:21): [True: 21, False: 413]
  ------------------
  307|     21|        frame = frame->previous;
  308|     21|    }
  309|    434|    return frame;
  310|    434|}
frame.c:_PyFrame_GetCode:
   21|  1.32k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|  1.32k|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 1.32k, False: 0]
  ------------------
   23|  1.32k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|  1.32k|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 1.32k, False: 0]
  ------------------
   25|  1.32k|    return (PyCodeObject *)executable;
   26|  1.32k|}
frame.c:_PyFrame_Copy:
  135|    129|{
  136|    129|    dest->f_executable = PyStackRef_MakeHeapSafe(src->f_executable);
  137|       |    // Don't leave a dangling pointer to the old frame when creating generators
  138|       |    // and coroutines:
  139|    129|    dest->previous = NULL;
  140|    129|    dest->f_funcobj = PyStackRef_MakeHeapSafe(src->f_funcobj);
  141|    129|    dest->f_globals = src->f_globals;
  142|    129|    dest->f_builtins = src->f_builtins;
  143|    129|    dest->f_locals = src->f_locals;
  144|    129|    dest->frame_obj = src->frame_obj;
  145|    129|    dest->instr_ptr = src->instr_ptr;
  146|       |#ifdef Py_GIL_DISABLED
  147|       |    dest->tlbc_index = src->tlbc_index;
  148|       |#endif
  149|    129|    assert(src->stackpointer != NULL);
  ------------------
  |  Branch (149:5): [True: 129, False: 0]
  ------------------
  150|    129|    int stacktop = (int)(src->stackpointer - src->localsplus);
  151|    129|    assert(stacktop >= 0);
  ------------------
  |  Branch (151:5): [True: 129, False: 0]
  ------------------
  152|    129|    dest->stackpointer = dest->localsplus + stacktop;
  153|       |    // visited is GC bookkeeping for the current stack walk, not frame state.
  154|    129|    dest->visited = 0;
  155|       |#ifdef Py_DEBUG
  156|       |    dest->stackpointer_valid =  src->stackpointer_valid;
  157|       |    dest->lltrace = src->lltrace;
  158|       |#endif
  159|    656|    for (int i = 0; i < stacktop; i++) {
  ------------------
  |  Branch (159:21): [True: 527, False: 129]
  ------------------
  160|    527|        dest->localsplus[i] = PyStackRef_MakeHeapSafe(src->localsplus[i]);
  161|    527|    }
  162|    129|}
frame.c:_PyFrame_IsIncomplete:
  294|    547|{
  295|    547|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (295:9): [True: 95, False: 452]
  ------------------
  296|     95|        return true;
  297|     95|    }
  298|    452|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (298:12): [True: 452, False: 0]
  ------------------
  299|    452|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (299:12): [True: 0, False: 452]
  ------------------
  300|    452|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  301|    547|}
frame.c:_PyFrame_GetFirstComplete:
  305|    129|{
  306|    224|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (306:12): [True: 192, False: 32]
  |  Branch (306:21): [True: 95, False: 97]
  ------------------
  307|     95|        frame = frame->previous;
  308|     95|    }
  309|    129|    return frame;
  310|    129|}
frame.c:_PyFrame_GetFrameObject:
  345|     97|{
  346|       |
  347|     97|    assert(!_PyFrame_IsIncomplete(frame));
  ------------------
  |  Branch (347:5): [True: 97, False: 0]
  ------------------
  348|     97|    PyFrameObject *res = (PyFrameObject*)FT_ATOMIC_LOAD_PTR_ACQUIRE(frame->frame_obj);
  ------------------
  |  |  152|     97|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  349|     97|    if (res != NULL) {
  ------------------
  |  Branch (349:9): [True: 4, False: 93]
  ------------------
  350|      4|        return res;
  351|      4|    }
  352|     93|    return _PyFrame_MakeAndSetFrameObject(frame);
  353|     97|}
frame.c:_PyFrame_GetBytecode:
   60|    452|{
   61|       |#ifdef Py_GIL_DISABLED
   62|       |    PyCodeObject *co = _PyFrame_GetCode(f);
   63|       |    _PyCodeArray *tlbc = _PyCode_GetTLBCArray(co);
   64|       |    assert(f->tlbc_index >= 0 && f->tlbc_index < tlbc->size);
   65|       |    return (_Py_CODEUNIT *)tlbc->entries[f->tlbc_index];
   66|       |#else
   67|    452|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|    452|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|    452|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|    452|#endif
   69|    452|}
pystate.c:_PyThreadState_HasStackSpace:
  384|  4.83k|{
  385|  4.83k|    assert(
  ------------------
  |  Branch (385:5): [True: 2, False: 4.83k]
  |  Branch (385:5): [True: 2, False: 0]
  |  Branch (385:5): [True: 4.83k, False: 0]
  |  Branch (385:5): [True: 4.83k, False: 0]
  ------------------
  386|  4.83k|        (tstate->datastack_top == NULL && tstate->datastack_limit == NULL)
  387|  4.83k|        ||
  388|  4.83k|        (tstate->datastack_top != NULL && tstate->datastack_limit != NULL)
  389|  4.83k|    );
  390|  4.83k|    return tstate->datastack_top != NULL &&
  ------------------
  |  Branch (390:12): [True: 4.83k, False: 2]
  ------------------
  391|  4.83k|        size < tstate->datastack_limit - tstate->datastack_top;
  ------------------
  |  Branch (391:9): [True: 4.83k, False: 0]
  ------------------
  392|  4.83k|}
sysmodule.c:_PyFrame_IsIncomplete:
  294|      6|{
  295|      6|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (295:9): [True: 0, False: 6]
  ------------------
  296|      0|        return true;
  297|      0|    }
  298|      6|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (298:12): [True: 6, False: 0]
  ------------------
  299|      6|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (299:12): [True: 0, False: 6]
  ------------------
  300|      6|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  301|      6|}
sysmodule.c:_PyFrame_GetBytecode:
   60|      6|{
   61|       |#ifdef Py_GIL_DISABLED
   62|       |    PyCodeObject *co = _PyFrame_GetCode(f);
   63|       |    _PyCodeArray *tlbc = _PyCode_GetTLBCArray(co);
   64|       |    assert(f->tlbc_index >= 0 && f->tlbc_index < tlbc->size);
   65|       |    return (_Py_CODEUNIT *)tlbc->entries[f->tlbc_index];
   66|       |#else
   67|      6|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|      6|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|      6|#endif
   69|      6|}
sysmodule.c:_PyFrame_GetCode:
   21|     12|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|     12|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 12, False: 0]
  ------------------
   23|     12|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|     12|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 12, False: 0]
  ------------------
   25|     12|    return (PyCodeObject *)executable;
   26|     12|}
sysmodule.c:_PyFrame_GetFrameObject:
  345|      2|{
  346|       |
  347|      2|    assert(!_PyFrame_IsIncomplete(frame));
  ------------------
  |  Branch (347:5): [True: 2, False: 0]
  ------------------
  348|      2|    PyFrameObject *res = (PyFrameObject*)FT_ATOMIC_LOAD_PTR_ACQUIRE(frame->frame_obj);
  ------------------
  |  |  152|      2|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  349|      2|    if (res != NULL) {
  ------------------
  |  Branch (349:9): [True: 0, False: 2]
  ------------------
  350|      0|        return res;
  351|      0|    }
  352|      2|    return _PyFrame_MakeAndSetFrameObject(frame);
  353|      2|}
traceback.c:_PyFrame_GetCode:
   21|    431|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|    431|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 431, False: 0]
  ------------------
   23|    431|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|    431|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 431, False: 0]
  ------------------
   25|    431|    return (PyCodeObject *)executable;
   26|    431|}
traceback.c:_PyFrame_GetBytecode:
   60|    431|{
   61|       |#ifdef Py_GIL_DISABLED
   62|       |    PyCodeObject *co = _PyFrame_GetCode(f);
   63|       |    _PyCodeArray *tlbc = _PyCode_GetTLBCArray(co);
   64|       |    assert(f->tlbc_index >= 0 && f->tlbc_index < tlbc->size);
   65|       |    return (_Py_CODEUNIT *)tlbc->entries[f->tlbc_index];
   66|       |#else
   67|    431|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|    431|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|    431|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|    431|#endif
   69|    431|}
genobject.c:_PyFrame_StackPush:
  118|    192|static inline void _PyFrame_StackPush(_PyInterpreterFrame *f, _PyStackRef value) {
  119|    192|    *f->stackpointer = value;
  120|    192|    f->stackpointer++;
  121|    192|}
genobject.c:_PyFrame_NumSlotsForCodeObject:
  127|    113|{
  128|       |    /* This function needs to remain in sync with the calculation of
  129|       |     * co_framesize in Tools/build/deepfreeze.py */
  130|    113|    assert(code->co_framesize >= FRAME_SPECIALS_SIZE);
  ------------------
  |  Branch (130:5): [True: 113, False: 0]
  ------------------
  131|    113|    return code->co_framesize - FRAME_SPECIALS_SIZE;
  ------------------
  |  |  123|    113|#define FRAME_SPECIALS_SIZE ((int)((sizeof(_PyInterpreterFrame)-1)/sizeof(PyObject *)))
  ------------------
  132|    113|}
genobject.c:_PyFrame_GetCode:
   21|     20|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|     20|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 20, False: 0]
  ------------------
   23|     20|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|     20|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 20, False: 0]
  ------------------
   25|     20|    return (PyCodeObject *)executable;
   26|     20|}
frameobject.c:_PyFrame_GetLocalsArray:
  226|    130|{
  227|    130|    return frame->localsplus;
  228|    130|}
frameobject.c:_PyFrame_IsIncomplete:
  294|     10|{
  295|     10|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (295:9): [True: 0, False: 10]
  ------------------
  296|      0|        return true;
  297|      0|    }
  298|     10|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (298:12): [True: 10, False: 0]
  ------------------
  299|     10|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (299:12): [True: 0, False: 10]
  ------------------
  300|     10|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  301|     10|}
frameobject.c:_PyFrame_GetCode:
   21|     60|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|     60|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 60, False: 0]
  ------------------
   23|     60|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|     60|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 60, False: 0]
  ------------------
   25|     60|    return (PyCodeObject *)executable;
   26|     60|}
frameobject.c:_PyFrame_GetBytecode:
   60|     10|{
   61|       |#ifdef Py_GIL_DISABLED
   62|       |    PyCodeObject *co = _PyFrame_GetCode(f);
   63|       |    _PyCodeArray *tlbc = _PyCode_GetTLBCArray(co);
   64|       |    assert(f->tlbc_index >= 0 && f->tlbc_index < tlbc->size);
   65|       |    return (_Py_CODEUNIT *)tlbc->entries[f->tlbc_index];
   66|       |#else
   67|     10|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|     10|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|     10|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|     10|#endif
   69|     10|}
lazyimportobject.c:_PyFrame_GetCode:
   21|     32|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|     32|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 32, False: 0]
  ------------------
   23|     32|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|     32|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 32, False: 0]
  ------------------
   25|     32|    return (PyCodeObject *)executable;
   26|     32|}
lazyimportobject.c:_PyFrame_GetBytecode:
   60|     16|{
   61|       |#ifdef Py_GIL_DISABLED
   62|       |    PyCodeObject *co = _PyFrame_GetCode(f);
   63|       |    _PyCodeArray *tlbc = _PyCode_GetTLBCArray(co);
   64|       |    assert(f->tlbc_index >= 0 && f->tlbc_index < tlbc->size);
   65|       |    return (_Py_CODEUNIT *)tlbc->entries[f->tlbc_index];
   66|       |#else
   67|     16|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|     16|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|     16|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|     16|#endif
   69|     16|}

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

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

getargs.c:_PyOnceFlag_CallOnce:
  157|     54|{
  158|     54|    if (_Py_atomic_load_uint8(&flag->v) == _Py_ONCE_INITIALIZED) {
  ------------------
  |  |   18|     54|#define _Py_ONCE_INITIALIZED 4
  ------------------
  |  Branch (158:9): [True: 48, False: 6]
  ------------------
  159|     48|        return 0;
  160|     48|    }
  161|      6|    return _PyOnceFlag_CallOnceSlow(flag, fn, arg);
  162|     54|}
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|     76|{
  158|     76|    if (_Py_atomic_load_uint8(&flag->v) == _Py_ONCE_INITIALIZED) {
  ------------------
  |  |   18|     76|#define _Py_ONCE_INITIALIZED 4
  ------------------
  |  Branch (158:9): [True: 75, False: 1]
  ------------------
  159|     75|        return 0;
  160|     75|    }
  161|      1|    return _PyOnceFlag_CallOnceSlow(flag, fn, arg);
  162|     76|}

longobject.c:_PyLong_InitTag:
  292|  2.62k|{
  293|  2.62k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (293:5): [True: 2.62k, False: 0]
  ------------------
  294|  2.62k|    op->long_value.lv_tag = SIGN_ZERO; /* non-immortal zero */
  ------------------
  |  |  173|  2.62k|#define SIGN_ZERO 1
  ------------------
  295|  2.62k|}
longobject.c:_PyLong_SetSignAndDigitCount:
  302|  4.49k|{
  303|  4.49k|    assert(size >= 0);
  ------------------
  |  Branch (303:5): [True: 4.49k, False: 0]
  ------------------
  304|  4.49k|    assert(-1 <= sign && sign <= 1);
  ------------------
  |  Branch (304:5): [True: 4.49k, False: 0]
  |  Branch (304:5): [True: 4.49k, False: 0]
  ------------------
  305|  4.49k|    assert(sign != 0 || size == 0);
  ------------------
  |  Branch (305:5): [True: 4.41k, False: 84]
  |  Branch (305:5): [True: 84, False: 0]
  ------------------
  306|  4.49k|    assert(!_PyLong_IsSmallInt(op));
  ------------------
  |  Branch (306:5): [True: 4.49k, False: 0]
  ------------------
  307|  4.49k|    op->long_value.lv_tag = TAG_FROM_SIGN_AND_SIZE(sign, size);
  ------------------
  |  |  298|  4.49k|    ((uintptr_t)(1 - (sign)) | ((uintptr_t)(size) << NON_SIZE_BITS))
  |  |  ------------------
  |  |  |  |  175|  4.49k|#define NON_SIZE_BITS 3
  |  |  ------------------
  ------------------
  308|  4.49k|}
longobject.c:_PyLong_CompactSign:
  268|    158|{
  269|    158|    assert(PyLong_Check(op));
  ------------------
  |  Branch (269:5): [True: 158, False: 0]
  ------------------
  270|    158|    assert(_PyLong_IsCompact((PyLongObject *)op));
  ------------------
  |  Branch (270:5): [True: 158, False: 0]
  ------------------
  271|    158|    return 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|    158|#define SIGN_MASK 3
  ------------------
  272|    158|}
longobject.c:_PyLong_NonCompactSign:
  276|  1.29k|{
  277|  1.29k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (277:5): [True: 1.29k, False: 0]
  ------------------
  278|  1.29k|    assert(!_PyLong_IsCompact((PyLongObject *)op));
  ------------------
  |  Branch (278:5): [True: 1.29k, False: 0]
  ------------------
  279|  1.29k|    return 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  1.29k|#define SIGN_MASK 3
  ------------------
  280|  1.29k|}
longobject.c:_PyLong_DigitCount:
  252|  2.12k|{
  253|  2.12k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (253:5): [True: 2.12k, False: 0]
  ------------------
  254|  2.12k|    return (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|  2.12k|#define NON_SIZE_BITS 3
  ------------------
  255|  2.12k|}
longobject.c:_PyLong_IsNonNegativeCompact:
  205|    144|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|    144|    assert(PyLong_Check(op));
  ------------------
  |  Branch (206:5): [True: 144, False: 0]
  ------------------
  207|    144|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|    144|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|    144|#define NON_SIZE_BITS 3
  ------------------
  208|    144|}
longobject.c:_PyLong_IsNegative:
  225|    454|{
  226|    454|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  172|    454|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  174|    454|#define SIGN_NEGATIVE 2
  ------------------
  227|    454|}
longobject.c:_PyLong_IsZero:
  219|     54|{
  220|     54|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|     54|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|     54|#define SIGN_ZERO 1
  ------------------
  221|     54|}
longobject.c:_PyLong_SetDigitCount:
  312|      9|{
  313|      9|    assert(size >= 0);
  ------------------
  |  Branch (313:5): [True: 9, False: 0]
  ------------------
  314|      9|    assert(!_PyLong_IsSmallInt(op));
  ------------------
  |  Branch (314:5): [True: 9, False: 0]
  ------------------
  315|      9|    op->long_value.lv_tag = (((size_t)size) << NON_SIZE_BITS) | (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  175|      9|#define NON_SIZE_BITS 3
  ------------------
                  op->long_value.lv_tag = (((size_t)size) << NON_SIZE_BITS) | (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|      9|#define SIGN_MASK 3
  ------------------
  316|      9|}
longobject.c:_PyLong_IsSmallInt:
  238|  6.65k|{
  239|  6.65k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (239:5): [True: 6.65k, False: 0]
  ------------------
  240|  6.65k|    bool is_small_int = (op->long_value.lv_tag & IMMORTALITY_BIT_MASK) != 0;
  ------------------
  |  |  176|  6.65k|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
  241|  6.65k|    if (is_small_int) {
  ------------------
  |  Branch (241:9): [True: 0, False: 6.65k]
  ------------------
  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|  6.65k|    return is_small_int;
  248|  6.65k|}
longobject.c:_PyLong_BothAreCompact:
  212|    723|_PyLong_BothAreCompact(const PyLongObject* a, const PyLongObject* b) {
  213|    723|    assert(PyLong_Check(a));
  ------------------
  |  Branch (213:5): [True: 723, False: 0]
  ------------------
  214|    723|    assert(PyLong_Check(b));
  ------------------
  |  Branch (214:5): [True: 723, False: 0]
  ------------------
  215|    723|    return (a->long_value.lv_tag | b->long_value.lv_tag) < (2 << NON_SIZE_BITS);
  ------------------
  |  |  175|    723|#define NON_SIZE_BITS 3
  ------------------
  216|    723|}
longobject.c:_PyLong_SignedDigitCount:
  260|    417|{
  261|    417|    assert(PyLong_Check(op));
  ------------------
  |  Branch (261:5): [True: 417, False: 0]
  ------------------
  262|    417|    Py_ssize_t sign = 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|    417|#define SIGN_MASK 3
  ------------------
  263|    417|    return sign * (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|    417|#define NON_SIZE_BITS 3
  ------------------
  264|    417|}
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|    117|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|    117|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|    117|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    117|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|    117|#define _PY_NSMALLNEGINTS           5
  ------------------
rangeobject.c:_PyLong_GetOne:
   78|    131|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|    131|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|    131|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    131|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|    131|#define _PY_NSMALLNEGINTS           5
  ------------------
rangeobject.c:_PyLong_IsPositive:
  231|     13|{
  232|     13|    return (op->long_value.lv_tag & SIGN_MASK) == 0;
  ------------------
  |  |  172|     13|#define SIGN_MASK 3
  ------------------
  233|     13|}
rangeobject.c:_PyLong_IsZero:
  219|      3|{
  220|      3|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|      3|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|      3|#define SIGN_ZERO 1
  ------------------
  221|      3|}
typeobject.c:_PyLong_IsNegative:
  225|     27|{
  226|     27|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  172|     27|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  174|     27|#define SIGN_NEGATIVE 2
  ------------------
  227|     27|}
_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|  4.90k|{
  346|  4.90k|    return PyLong_CheckExact(op) && _PyLong_IsCompact((const PyLongObject *)op);
  ------------------
  |  |   14|  4.90k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  9.81k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4.90k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (346:37): [True: 4.90k, False: 8]
  ------------------
  347|  4.90k|}
ceval.c:_PyLong_BothAreCompact:
  212|    265|_PyLong_BothAreCompact(const PyLongObject* a, const PyLongObject* b) {
  213|    265|    assert(PyLong_Check(a));
  ------------------
  |  Branch (213:5): [True: 265, False: 0]
  ------------------
  214|    265|    assert(PyLong_Check(b));
  ------------------
  |  Branch (214:5): [True: 265, False: 0]
  ------------------
  215|    265|    return (a->long_value.lv_tag | b->long_value.lv_tag) < (2 << NON_SIZE_BITS);
  ------------------
  |  |  175|    265|#define NON_SIZE_BITS 3
  ------------------
  216|    265|}
ceval.c:_PyLong_IsNonNegativeCompact:
  205|  1.47k|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|  1.47k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (206:5): [True: 1.47k, False: 0]
  ------------------
  207|  1.47k|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|  1.47k|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|  1.47k|#define NON_SIZE_BITS 3
  ------------------
  208|  1.47k|}
ceval.c:_PyLong_DigitCount:
  252|  2.77k|{
  253|  2.77k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (253:5): [True: 2.77k, False: 0]
  ------------------
  254|  2.77k|    return (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|  2.77k|#define NON_SIZE_BITS 3
  ------------------
  255|  2.77k|}
ceval.c:_PyLong_IsZero:
  219|    352|{
  220|    352|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|    352|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|    352|#define SIGN_ZERO 1
  ------------------
  221|    352|}
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|     75|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|     75|    assert(PyLong_Check(op));
  ------------------
  |  Branch (206:5): [True: 75, False: 0]
  ------------------
  207|     75|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|     75|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|     75|#define NON_SIZE_BITS 3
  ------------------
  208|     75|}
specialize.c:_PyLong_CheckExactAndCompact:
  345|     53|{
  346|     53|    return PyLong_CheckExact(op) && _PyLong_IsCompact((const PyLongObject *)op);
  ------------------
  |  |   14|     53|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    106|#  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: 50, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (346:37): [True: 50, False: 0]
  ------------------
  347|     53|}
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
  ------------------
bytesobject.c:_PyLong_FromUnsignedChar:
   81|     24|{
   82|     24|    return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+i];
  ------------------
  |  |   59|     24|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+i];
  ------------------
  |  |   98|     24|#define _PY_NSMALLNEGINTS           5
  ------------------
   83|     24|}
enumobject.c:_PyLong_GetOne:
   78|     23|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|     23|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|     23|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     23|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|     23|#define _PY_NSMALLNEGINTS           5
  ------------------

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

moduleobject.c:_PyModule_GetDefOrNull:
   48|     34|static inline PyModuleDef *_PyModule_GetDefOrNull(PyObject *arg) {
   49|     34|    PyModuleObject *mod = _PyModule_CAST(arg);
  ------------------
  |  |   46|     34|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (49:27): [True: 34, False: 0]
  ------------------
   50|     34|    if (mod->md_token_is_def) {
  ------------------
  |  Branch (50:9): [True: 34, False: 0]
  ------------------
   51|     34|        return (PyModuleDef *)mod->md_token;
   52|     34|    }
   53|      0|    return NULL;
   54|     34|}
moduleobject.c:_PyModule_GetDict:
   67|    814|static inline PyObject* _PyModule_GetDict(PyObject *mod) {
   68|    814|    PyObject *dict = _PyModule_CAST(mod)->md_dict;
  ------------------
  |  |   46|    814|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    814|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (68:22): [True: 814, False: 0]
  ------------------
   69|       |    // _PyModule_GetDict(mod) must not be used after calling module_clear(mod)
   70|    814|    assert(dict != NULL);
  ------------------
  |  Branch (70:5): [True: 814, False: 0]
  ------------------
   71|    814|    return dict;  // borrowed reference
   72|    814|}
moduleobject.c:_PyModule_GetState:
   63|     35|static inline void* _PyModule_GetState(PyObject* mod) {
   64|     35|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     35|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 35, False: 0]
  ------------------
   65|     35|}
typeobject.c:_PyModule_GetToken:
   57|    123|static inline PyModuleDef *_PyModule_GetToken(PyObject *arg) {
   58|    123|    PyModuleObject *mod = _PyModule_CAST(arg);
  ------------------
  |  |   46|    123|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    123|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (58:27): [True: 123, False: 0]
  ------------------
   59|      0|    return (PyModuleDef *)mod->md_token;
   60|    123|}
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|}
import.c:_PyModule_GetDict:
   67|    263|static inline PyObject* _PyModule_GetDict(PyObject *mod) {
   68|    263|    PyObject *dict = _PyModule_CAST(mod)->md_dict;
  ------------------
  |  |   46|    263|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    263|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (68:22): [True: 263, False: 0]
  ------------------
   69|       |    // _PyModule_GetDict(mod) must not be used after calling module_clear(mod)
   70|    263|    assert(dict != NULL);
  ------------------
  |  Branch (70:5): [True: 263, False: 0]
  ------------------
   71|    263|    return dict;  // borrowed reference
   72|    263|}
posixmodule.c:_PyModule_GetState:
   63|    124|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    124|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    124|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 124, False: 0]
  ------------------
   65|    124|}
_collectionsmodule.c:_PyModule_GetState:
   63|      3|static inline void* _PyModule_GetState(PyObject* mod) {
   64|      3|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|      3|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 3, False: 0]
  ------------------
   65|      3|}
_iomodule.c:_PyModule_GetState:
   63|     39|static inline void* _PyModule_GetState(PyObject* mod) {
   64|     39|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     39|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     39|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 39, False: 0]
  ------------------
   65|     39|}
bufferedio.c:_PyModule_GetState:
   63|     33|static inline void* _PyModule_GetState(PyObject* mod) {
   64|     33|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     33|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 33, False: 0]
  ------------------
   65|     33|}
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|      3|static inline void* _PyModule_GetState(PyObject* mod) {
   64|      3|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|      3|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 3, False: 0]
  ------------------
   65|      3|}
sre.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|}
_threadmodule.c:_PyModule_GetState:
   63|    169|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    169|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    169|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    169|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 169, False: 0]
  ------------------
   65|    169|}
timemodule.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|}
_abc.c:_PyModule_GetState:
   63|    321|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    321|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    321|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    321|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 321, False: 0]
  ------------------
   65|    321|}
_functoolsmodule.c:_PyModule_GetState:
   63|      5|static inline void* _PyModule_GetState(PyObject* mod) {
   64|      5|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|      5|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 5, False: 0]
  ------------------
   65|      5|}
_operator.c:_PyModule_GetState:
   63|      3|static inline void* _PyModule_GetState(PyObject* mod) {
   64|      3|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|      3|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 3, False: 0]
  ------------------
   65|      3|}

call.c:Py_DECREF_MORTAL:
  442|  1.03k|{
  443|  1.03k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 1.03k, False: 0]
  ------------------
  444|  1.03k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.03k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|  1.03k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 122, False: 909]
  ------------------
  446|    122|        _Py_Dealloc(op);
  447|    122|    }
  448|  1.03k|}
funcobject.c:_PyObject_XSetRefDelayed:
  755|    113|{
  756|    113|    Py_XSETREF(*p_obj, obj);
  ------------------
  |  |  576|    113|    do { \
  |  |  577|    113|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    113|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    113|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    113|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    113|        *_tmp_dst_ptr = (src); \
  |  |  580|    113|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    113|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 113]
  |  |  ------------------
  ------------------
  757|    113|}
funcobject.c:_PyObject_ResurrectStart:
  671|    627|{
  672|    627|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (672:5): [True: 627, False: 0]
  ------------------
  673|       |#ifdef Py_REF_DEBUG
  674|       |    _Py_IncRefTotal(_PyThreadState_GET());
  675|       |#endif
  676|       |#ifdef Py_GIL_DISABLED
  677|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  678|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  679|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  680|       |#else
  681|    627|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|    627|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|    627|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    627|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  682|    627|#endif
  683|       |#ifdef Py_TRACE_REFS
  684|       |    _Py_ResurrectReference(op);
  685|       |#endif
  686|    627|}
funcobject.c:_PyObject_ResurrectEnd:
  693|    627|{
  694|       |#ifdef Py_REF_DEBUG
  695|       |    _Py_DecRefTotal(_PyThreadState_GET());
  696|       |#endif
  697|    627|#ifndef Py_GIL_DISABLED
  698|    627|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|    627|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|    627|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    627|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  699|    627|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|    627|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    627|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    627|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (699:9): [True: 627, False: 0]
  ------------------
  700|       |# ifdef Py_TRACE_REFS
  701|       |        _Py_ForgetReference(op);
  702|       |# endif
  703|    627|        return 0;
  704|    627|    }
  705|      0|    return 1;
  706|       |#else
  707|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  708|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  709|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  710|       |        // Fast-path: object has a single refcount and is owned by this thread
  711|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  712|       |        _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_UNOWNED_TID);
  713|       |        _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, _Py_REF_MERGED);
  714|       |# ifdef Py_TRACE_REFS
  715|       |        _Py_ForgetReference(op);
  716|       |# endif
  717|       |        return 0;
  718|       |    }
  719|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  720|       |    return _PyObject_ResurrectEndSlow(op);
  721|       |#endif
  722|    627|}
listobject.c:_Py_RefcntAdd:
  132|      4|{
  133|      4|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      4|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 4, False: 0]
  |  |  ------------------
  ------------------
  134|      4|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      4|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  135|      4|        return;
  136|      4|    }
  137|      0|#ifndef Py_GIL_DISABLED
  138|      0|    Py_ssize_t refcnt = _Py_REFCNT(op);
  139|      0|    Py_ssize_t new_refcnt = refcnt + n;
  140|      0|    if (new_refcnt >= (Py_ssize_t)_Py_IMMORTAL_MINIMUM_REFCNT) {
  ------------------
  |  |   48|      0|#define _Py_IMMORTAL_MINIMUM_REFCNT (1ULL << 31)
  ------------------
  |  Branch (140:9): [True: 0, False: 0]
  ------------------
  141|      0|        new_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
  ------------------
  |  |   47|      0|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  142|      0|    }
  143|      0|#  if SIZEOF_VOID_P > 4
  144|      0|    op->ob_refcnt = (uint32_t)new_refcnt;
  145|       |#  else
  146|       |    op->ob_refcnt = new_refcnt;
  147|       |#  endif
  148|       |#  ifdef Py_REF_DEBUG
  149|       |    _Py_AddRefTotal(_PyThreadState_GET(), new_refcnt - refcnt);
  150|       |#  endif
  151|       |#else
  152|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  153|       |        uint32_t local = op->ob_ref_local;
  154|       |        Py_ssize_t refcnt = (Py_ssize_t)local + n;
  155|       |#  if PY_SSIZE_T_MAX > UINT32_MAX
  156|       |        if (refcnt > (Py_ssize_t)UINT32_MAX) {
  157|       |            // Make the object immortal if the 32-bit local reference count
  158|       |            // would overflow.
  159|       |            refcnt = _Py_IMMORTAL_REFCNT_LOCAL;
  160|       |        }
  161|       |#  endif
  162|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, (uint32_t)refcnt);
  163|       |    }
  164|       |    else {
  165|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (n << _Py_REF_SHARED_SHIFT));
  166|       |    }
  167|       |#  ifdef Py_REF_DEBUG
  168|       |    _Py_AddRefTotal(_PyThreadState_GET(), n);
  169|       |#  endif
  170|       |#endif
  171|       |    // Although the ref count was increased by `n` (which may be greater than 1)
  172|       |    // it is only a single increment (i.e. addition) operation, so only 1 refcnt
  173|       |    // increment operation is counted.
  174|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  175|      0|}
longobject.c:_PyObject_Init:
  475|  2.48k|{
  476|  2.48k|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 2.48k, False: 0]
  ------------------
  477|  2.48k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  2.48k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  2.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|  2.48k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 0, False: 2.48k]
  |  Branch (478:5): [True: 2.48k, False: 0]
  ------------------
  479|  2.48k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|  2.48k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  2.48k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|  2.48k|    _Py_NewReference(op);
  481|  2.48k|}
longobject.c:_PyType_HasFeature:
  281|  2.48k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|  2.48k|    return ((type->tp_flags) & feature) != 0;
  283|  2.48k|}
longobject.c:_Py_DECREF_SPECIALIZED:
  231|    142|{
  232|    142|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    142|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    142|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    142|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 142]
  |  |  ------------------
  ------------------
  233|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  234|      0|        return;
  235|      0|    }
  236|    142|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    142|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  237|       |#ifdef Py_REF_DEBUG
  238|       |    _Py_DEC_REFTOTAL(PyInterpreterState_Get());
  239|       |#endif
  240|    142|    if (--op->ob_refcnt != 0) {
  ------------------
  |  Branch (240:9): [True: 0, False: 142]
  ------------------
  241|      0|        assert(op->ob_refcnt > 0);
  ------------------
  |  Branch (241:9): [True: 0, False: 0]
  ------------------
  242|      0|    }
  243|    142|    else {
  244|       |#ifdef Py_TRACE_REFS
  245|       |        _Py_ForgetReference(op);
  246|       |#endif
  247|       |        _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  109|    142|    do { \
  |  |  110|    142|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|    142|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 142]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|    142|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 142]
  |  |  ------------------
  ------------------
  248|    142|        destruct(op);
  249|    142|    }
  250|    142|}
dictobject.c:_Py_INCREF_MORTAL:
  989|  7.08k|{
  990|  7.08k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (990:5): [True: 7.08k, False: 0]
  ------------------
  991|  7.08k|    op->ob_refcnt++;
  992|  7.08k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  7.08k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  993|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
  994|       |    if (!_Py_IsImmortal(op)) {
  995|       |        _Py_INCREF_IncRefTotal();
  996|       |    }
  997|       |#endif
  998|  7.08k|}
dictobject.c:Py_DECREF_MORTAL:
  442|  2.42k|{
  443|  2.42k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 2.42k, False: 0]
  ------------------
  444|  2.42k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.42k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|  2.42k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 0, False: 2.42k]
  ------------------
  446|      0|        _Py_Dealloc(op);
  447|      0|    }
  448|  2.42k|}
dictobject.c:_PyObject_HashDictKey:
  826|  77.1k|{
  827|  77.1k|    if (PyUnicode_CheckExact(op)) {
  ------------------
  |  |  104|  77.1k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  77.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  77.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  77.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 75.0k, False: 2.14k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  828|  75.0k|        Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(op);
  829|  75.0k|        if (hash != -1) {
  ------------------
  |  Branch (829:13): [True: 74.0k, False: 951]
  ------------------
  830|  74.0k|            return hash;
  831|  74.0k|        }
  832|  75.0k|    }
  833|  3.09k|    return PyObject_Hash(op);
  834|  77.1k|}
dictobject.c:_PyObject_ResurrectStart:
  671|  1.95k|{
  672|  1.95k|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (672:5): [True: 1.95k, False: 0]
  ------------------
  673|       |#ifdef Py_REF_DEBUG
  674|       |    _Py_IncRefTotal(_PyThreadState_GET());
  675|       |#endif
  676|       |#ifdef Py_GIL_DISABLED
  677|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  678|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  679|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  680|       |#else
  681|  1.95k|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|  1.95k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  1.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  682|  1.95k|#endif
  683|       |#ifdef Py_TRACE_REFS
  684|       |    _Py_ResurrectReference(op);
  685|       |#endif
  686|  1.95k|}
dictobject.c:_PyObject_ResurrectEnd:
  693|  1.95k|{
  694|       |#ifdef Py_REF_DEBUG
  695|       |    _Py_DecRefTotal(_PyThreadState_GET());
  696|       |#endif
  697|  1.95k|#ifndef Py_GIL_DISABLED
  698|  1.95k|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|  1.95k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  1.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  699|  1.95k|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|  1.95k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (699:9): [True: 1.95k, False: 0]
  ------------------
  700|       |# ifdef Py_TRACE_REFS
  701|       |        _Py_ForgetReference(op);
  702|       |# endif
  703|  1.95k|        return 0;
  704|  1.95k|    }
  705|      0|    return 1;
  706|       |#else
  707|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  708|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  709|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  710|       |        // Fast-path: object has a single refcount and is owned by this thread
  711|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  712|       |        _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_UNOWNED_TID);
  713|       |        _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, _Py_REF_MERGED);
  714|       |# ifdef Py_TRACE_REFS
  715|       |        _Py_ForgetReference(op);
  716|       |# endif
  717|       |        return 0;
  718|       |    }
  719|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  720|       |    return _PyObject_ResurrectEndSlow(op);
  721|       |#endif
  722|  1.95k|}
dictobject.c:_PyObject_IsUniquelyReferenced:
  182|  1.00k|{
  183|  1.00k|#if !defined(Py_GIL_DISABLED)
  184|  1.00k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  1.00k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|       |#else
  186|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  187|       |    // ensure that other threads cannot concurrently create new references to
  188|       |    // this object.
  189|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  190|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  191|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  192|       |#endif
  193|  1.00k|}
dictobject.c:_PyObject_InlineValues:
  934|  4.30k|{
  935|  4.30k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  4.30k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  936|  4.30k|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (936:5): [True: 4.30k, False: 0]
  |  Branch (936:5): [True: 4.30k, False: 0]
  ------------------
  937|  4.30k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (937:5): [True: 4.30k, False: 0]
  ------------------
  938|  4.30k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (938:5): [True: 4.30k, False: 0]
  ------------------
  939|  4.30k|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  940|  4.30k|}
dictobject.c:_PyObject_ManagedDictPointer:
  920|  2.61k|{
  921|  2.61k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (921:5): [True: 2.61k, False: 0]
  ------------------
  922|  2.61k|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  910|  2.61k|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  923|  2.61k|}
dictobject.c:_PyObject_GetManagedDict:
  927|  1.55k|{
  928|  1.55k|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  929|  1.55k|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  152|  1.55k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  930|  1.55k|}
dictobject.c:_PyType_HasFeature:
  281|    630|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|    630|    return ((type->tp_flags) & feature) != 0;
  283|    630|}
object.c:_PyObject_Init:
  475|  2.45k|{
  476|  2.45k|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 2.45k, False: 0]
  ------------------
  477|  2.45k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  2.45k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  2.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|  2.45k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 0, False: 2.45k]
  |  Branch (478:5): [True: 2.45k, False: 0]
  ------------------
  479|  2.45k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|  2.45k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  2.45k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|  2.45k|    _Py_NewReference(op);
  481|  2.45k|}
object.c:_PyObject_InitVar:
  485|  2.41k|{
  486|  2.41k|    assert(op != NULL);
  ------------------
  |  Branch (486:5): [True: 2.41k, False: 0]
  ------------------
  487|  2.41k|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (487:5): [True: 2.41k, False: 0]
  ------------------
  488|  2.41k|    _PyObject_Init((PyObject *)op, typeobj);
  489|  2.41k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  2.41k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  2.41k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  490|  2.41k|}
object.c:_PyObject_ResurrectStart:
  671|    167|{
  672|    167|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (672:5): [True: 167, False: 0]
  ------------------
  673|       |#ifdef Py_REF_DEBUG
  674|       |    _Py_IncRefTotal(_PyThreadState_GET());
  675|       |#endif
  676|       |#ifdef Py_GIL_DISABLED
  677|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  678|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  679|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  680|       |#else
  681|    167|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|    167|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|    167|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    167|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  682|    167|#endif
  683|       |#ifdef Py_TRACE_REFS
  684|       |    _Py_ResurrectReference(op);
  685|       |#endif
  686|    167|}
object.c:_PyObject_ResurrectEnd:
  693|    167|{
  694|       |#ifdef Py_REF_DEBUG
  695|       |    _Py_DecRefTotal(_PyThreadState_GET());
  696|       |#endif
  697|    167|#ifndef Py_GIL_DISABLED
  698|    167|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|    167|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|    167|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    167|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  699|    167|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|    167|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    167|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    167|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (699:9): [True: 167, False: 0]
  ------------------
  700|       |# ifdef Py_TRACE_REFS
  701|       |        _Py_ForgetReference(op);
  702|       |# endif
  703|    167|        return 0;
  704|    167|    }
  705|      0|    return 1;
  706|       |#else
  707|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  708|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  709|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  710|       |        // Fast-path: object has a single refcount and is owned by this thread
  711|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  712|       |        _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_UNOWNED_TID);
  713|       |        _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, _Py_REF_MERGED);
  714|       |# ifdef Py_TRACE_REFS
  715|       |        _Py_ForgetReference(op);
  716|       |# endif
  717|       |        return 0;
  718|       |    }
  719|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  720|       |    return _PyObject_ResurrectEndSlow(op);
  721|       |#endif
  722|    167|}
object.c:_PyObject_GetManagedDict:
  927|    195|{
  928|    195|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  929|    195|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  152|    195|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  930|    195|}
object.c:_PyObject_ManagedDictPointer:
  920|    380|{
  921|    380|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (921:5): [True: 380, False: 0]
  ------------------
  922|    380|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  910|    380|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  923|    380|}
object.c:_PyType_HasFeature:
  281|  3.73k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|  3.73k|    return ((type->tp_flags) & feature) != 0;
  283|  3.73k|}
object.c:Py_DECREF_MORTAL:
  442|  2.75k|{
  443|  2.75k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 2.75k, False: 0]
  ------------------
  444|  2.75k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.75k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|  2.75k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 0, False: 2.75k]
  ------------------
  446|      0|        _Py_Dealloc(op);
  447|      0|    }
  448|  2.75k|}
object.c:_PyObject_IsUniquelyReferenced:
  182|   209k|{
  183|   209k|#if !defined(Py_GIL_DISABLED)
  184|   209k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|   209k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   209k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   209k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|       |#else
  186|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  187|       |    // ensure that other threads cannot concurrently create new references to
  188|       |    // this object.
  189|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  190|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  191|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  192|       |#endif
  193|   209k|}
setobject.c:_PyObject_IsUniquelyReferenced:
  182|    147|{
  183|    147|#if !defined(Py_GIL_DISABLED)
  184|    147|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    147|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    147|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    147|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|       |#else
  186|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  187|       |    // ensure that other threads cannot concurrently create new references to
  188|       |    // this object.
  189|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  190|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  191|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  192|       |#endif
  193|    147|}
structseq.c:_PyType_HasFeature:
  281|    120|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|    120|    return ((type->tp_flags) & feature) != 0;
  283|    120|}
tupleobject.c:_PyObject_IsUniquelyReferenced:
  182|     34|{
  183|     34|#if !defined(Py_GIL_DISABLED)
  184|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|       |#else
  186|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  187|       |    // ensure that other threads cannot concurrently create new references to
  188|       |    // this object.
  189|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  190|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  191|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  192|       |#endif
  193|     34|}
typeobject.c:_PyType_PreHeaderSize:
  838|  10.0k|{
  839|  10.0k|    return (
  840|  10.0k|#ifndef Py_GIL_DISABLED
  841|  10.0k|        (size_t)_PyType_IS_GC(tp) * sizeof(PyGC_Head) +
  842|  10.0k|#endif
  843|  10.0k|        (size_t)_PyType_HasFeature(tp, Py_TPFLAGS_PREHEADER) * 2 * sizeof(PyObject *)
  ------------------
  |  |  487|  10.0k|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|  10.0k|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|  10.0k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
  844|  10.0k|    );
  845|  10.0k|}
typeobject.c:_PyObject_Init:
  475|  10.0k|{
  476|  10.0k|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 10.0k, False: 0]
  ------------------
  477|  10.0k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  10.0k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  10.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|  10.0k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 1.54k, False: 8.52k]
  |  Branch (478:5): [True: 8.52k, False: 0]
  ------------------
  479|  10.0k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|  10.0k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  10.0k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|  10.0k|    _Py_NewReference(op);
  481|  10.0k|}
typeobject.c:_PyObject_InitVar:
  485|    641|{
  486|    641|    assert(op != NULL);
  ------------------
  |  Branch (486:5): [True: 641, False: 0]
  ------------------
  487|    641|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (487:5): [True: 641, False: 0]
  ------------------
  488|    641|    _PyObject_Init((PyObject *)op, typeobj);
  489|    641|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|    641|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    641|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    641|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  490|    641|}
typeobject.c:_PyType_HasFeature:
  281|  27.4k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|  27.4k|    return ((type->tp_flags) & feature) != 0;
  283|  27.4k|}
typeobject.c:Py_DECREF_MORTAL:
  442|  7.57k|{
  443|  7.57k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 7.57k, False: 0]
  ------------------
  444|  7.57k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  7.57k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|  7.57k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 0, False: 7.57k]
  ------------------
  446|      0|        _Py_Dealloc(op);
  447|      0|    }
  448|  7.57k|}
typeobject.c:_Py_INCREF_MORTAL:
  989|  3.36k|{
  990|  3.36k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (990:5): [True: 3.36k, False: 0]
  ------------------
  991|  3.36k|    op->ob_refcnt++;
  992|  3.36k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  3.36k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  993|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
  994|       |    if (!_Py_IsImmortal(op)) {
  995|       |        _Py_INCREF_IncRefTotal();
  996|       |    }
  997|       |#endif
  998|  3.36k|}
typeobject.c:_PyObject_XDecRefDelayed:
  744|    547|{
  745|    547|    Py_XDECREF(obj);
  ------------------
  |  |  621|    547|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    547|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    547|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  746|    547|}
typeobject.c:_PyObject_HashDictKey:
  826|  5.02k|{
  827|  5.02k|    if (PyUnicode_CheckExact(op)) {
  ------------------
  |  |  104|  5.02k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  5.02k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 5.02k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  828|  5.02k|        Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(op);
  829|  5.02k|        if (hash != -1) {
  ------------------
  |  Branch (829:13): [True: 4.87k, False: 142]
  ------------------
  830|  4.87k|            return hash;
  831|  4.87k|        }
  832|  5.02k|    }
  833|    142|    return PyObject_Hash(op);
  834|  5.02k|}
unicodeobject.c:_PyObject_Init:
  475|   239k|{
  476|   239k|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 239k, False: 0]
  ------------------
  477|   239k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|   239k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|   239k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   239k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|   239k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 0, False: 239k]
  |  Branch (478:5): [True: 239k, False: 0]
  ------------------
  479|   239k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|   239k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|   239k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   239k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   239k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|   239k|    _Py_NewReference(op);
  481|   239k|}
unicodeobject.c:_PyType_HasFeature:
  281|   239k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|   239k|    return ((type->tp_flags) & feature) != 0;
  283|   239k|}
unicodeobject.c:_PyObject_IsUniquelyReferenced:
  182|    493|{
  183|    493|#if !defined(Py_GIL_DISABLED)
  184|    493|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    493|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    493|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    493|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|       |#else
  186|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  187|       |    // ensure that other threads cannot concurrently create new references to
  188|       |    // this object.
  189|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  190|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  191|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  192|       |#endif
  193|    493|}
weakrefobject.c:_PyType_SUPPORTS_WEAKREFS:
  856|  2.40k|static inline int _PyType_SUPPORTS_WEAKREFS(PyTypeObject *type) {
  857|  2.40k|    return (type->tp_weaklistoffset != 0);
  858|  2.40k|}
weakrefobject.c:_PyObject_GET_WEAKREFS_LISTPTR:
  784|  2.65k|{
  785|  2.65k|    if (PyType_Check(op) &&
  ------------------
  |  |  766|  5.30k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 1.13k, False: 1.51k]
  |  |  ------------------
  ------------------
  786|  1.13k|            ((PyTypeObject *)op)->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.13k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (786:13): [True: 571, False: 566]
  ------------------
  787|    571|        PyInterpreterState *interp = _PyInterpreterState_GET();
  788|    571|        managed_static_type_state *state = _PyStaticType_GetState(
  789|    571|                                                interp, (PyTypeObject *)op);
  790|    571|        return _PyStaticType_GET_WEAKREFS_LISTPTR(state);
  791|    571|    }
  792|       |    // Essentially _PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET():
  793|  2.08k|    Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset;
  ------------------
  |  |  213|  2.08k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  794|  2.08k|    return (PyObject **)((char *)op + offset);
  795|  2.65k|}
weakrefobject.c:_Py_TryIncref:
  727|    668|{
  728|       |#ifdef Py_GIL_DISABLED
  729|       |    return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
  730|       |#else
  731|    668|    if (Py_REFCNT(op) > 0) {
  ------------------
  |  |  119|    668|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    668|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    668|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (731:9): [True: 668, False: 0]
  ------------------
  732|    668|        Py_INCREF(op);
  ------------------
  |  |  310|    668|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    668|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    668|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  733|    668|        return 1;
  734|    668|    }
  735|      0|    return 0;
  736|    668|#endif
  737|    668|}
bltinmodule.c:_PyObject_IsUniquelyReferenced:
  182|     69|{
  183|     69|#if !defined(Py_GIL_DISABLED)
  184|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|       |#else
  186|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  187|       |    // ensure that other threads cannot concurrently create new references to
  188|       |    // this object.
  189|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  190|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  191|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  192|       |#endif
  193|     69|}
ceval.c:Py_DECREF_MORTAL:
  442|  49.2k|{
  443|  49.2k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 49.2k, False: 0]
  ------------------
  444|  49.2k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  49.2k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|  49.2k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 4.57k, False: 44.6k]
  ------------------
  446|  4.57k|        _Py_Dealloc(op);
  447|  4.57k|    }
  448|  49.2k|}
ceval.c:Py_DECREF_MORTAL_SPECIALIZED:
  452|  1.07k|{
  453|  1.07k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (453:5): [True: 1.07k, False: 0]
  ------------------
  454|  1.07k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.07k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  455|  1.07k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (455:9): [True: 321, False: 751]
  ------------------
  456|       |        _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  109|    321|    do { \
  |  |  110|    321|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|    321|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 321]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|    321|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 321]
  |  |  ------------------
  ------------------
  457|    321|        destruct(op);
  458|    321|    }
  459|  1.07k|}
ceval.c:_Py_INCREF_MORTAL:
  989|  45.2k|{
  990|  45.2k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (990:5): [True: 45.2k, False: 0]
  ------------------
  991|  45.2k|    op->ob_refcnt++;
  992|  45.2k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  45.2k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  993|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
  994|       |    if (!_Py_IsImmortal(op)) {
  995|       |        _Py_INCREF_IncRefTotal();
  996|       |    }
  997|       |#endif
  998|  45.2k|}
ceval.c:_PyObject_InlineValues:
  934|  9.39k|{
  935|  9.39k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  9.39k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  936|  9.39k|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (936:5): [True: 9.39k, False: 0]
  |  Branch (936:5): [True: 9.39k, False: 0]
  ------------------
  937|  9.39k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (937:5): [True: 9.39k, False: 0]
  ------------------
  938|  9.39k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (938:5): [True: 9.39k, False: 0]
  ------------------
  939|  9.39k|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  940|  9.39k|}
ceval.c:_PyType_HasFeature:
  281|  4.44k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|  4.44k|    return ((type->tp_flags) & feature) != 0;
  283|  4.44k|}
ceval.c:_PyObject_GetManagedDict:
  927|  4.44k|{
  928|  4.44k|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  929|  4.44k|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  152|  4.44k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  930|  4.44k|}
ceval.c:_PyObject_ManagedDictPointer:
  920|  4.44k|{
  921|  4.44k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (921:5): [True: 4.44k, False: 0]
  ------------------
  922|  4.44k|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  910|  4.44k|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  923|  4.44k|}
frame.c:Py_DECREF_MORTAL:
  442|  21.5k|{
  443|  21.5k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 21.5k, False: 0]
  ------------------
  444|  21.5k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  21.5k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|  21.5k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 3.68k, False: 17.8k]
  ------------------
  446|  3.68k|        _Py_Dealloc(op);
  447|  3.68k|    }
  448|  21.5k|}
frame.c:_PyObject_IsUniquelyReferenced:
  182|    423|{
  183|    423|#if !defined(Py_GIL_DISABLED)
  184|    423|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    423|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    423|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    423|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|       |#else
  186|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  187|       |    // ensure that other threads cannot concurrently create new references to
  188|       |    // this object.
  189|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  190|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  191|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  192|       |#endif
  193|    423|}
frame.c:_Py_INCREF_MORTAL:
  989|    129|{
  990|    129|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (990:5): [True: 129, False: 0]
  ------------------
  991|    129|    op->ob_refcnt++;
  992|    129|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    129|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  993|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
  994|       |    if (!_Py_IsImmortal(op)) {
  995|       |        _Py_INCREF_IncRefTotal();
  996|       |    }
  997|       |#endif
  998|    129|}
gc.c:_PyType_SUPPORTS_WEAKREFS:
  856|    294|static inline int _PyType_SUPPORTS_WEAKREFS(PyTypeObject *type) {
  857|    294|    return (type->tp_weaklistoffset != 0);
  858|    294|}
gc.c:_PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET:
  811|    152|{
  812|    152|    assert(!PyType_Check(op) ||
  ------------------
  |  Branch (812:5): [True: 142, False: 10]
  |  Branch (812:5): [True: 10, False: 0]
  ------------------
  813|    152|            ((PyTypeObject *)op)->tp_flags & Py_TPFLAGS_HEAPTYPE);
  814|    152|    Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset;
  ------------------
  |  |  213|    152|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    152|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    152|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  815|    152|    return (PyWeakReference **)((char *)op + offset);
  816|    152|}
gc.c:_PyType_PreHeaderSize:
  838|  20.6k|{
  839|  20.6k|    return (
  840|  20.6k|#ifndef Py_GIL_DISABLED
  841|  20.6k|        (size_t)_PyType_IS_GC(tp) * sizeof(PyGC_Head) +
  842|  20.6k|#endif
  843|  20.6k|        (size_t)_PyType_HasFeature(tp, Py_TPFLAGS_PREHEADER) * 2 * sizeof(PyObject *)
  ------------------
  |  |  487|  20.6k|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|  20.6k|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|  20.6k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
  844|  20.6k|    );
  845|  20.6k|}
gc.c:_PyType_HasFeature:
  281|  43.7k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|  43.7k|    return ((type->tp_flags) & feature) != 0;
  283|  43.7k|}
gc.c:_PyObject_Init:
  475|  15.5k|{
  476|  15.5k|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 15.5k, False: 0]
  ------------------
  477|  15.5k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  15.5k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  15.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|  15.5k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 124, False: 15.4k]
  |  Branch (478:5): [True: 15.4k, False: 0]
  ------------------
  479|  15.5k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|  15.5k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  15.5k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  15.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|  15.5k|    _Py_NewReference(op);
  481|  15.5k|}
gc.c:_PyObject_InitVar:
  485|  8.11k|{
  486|  8.11k|    assert(op != NULL);
  ------------------
  |  Branch (486:5): [True: 8.11k, False: 0]
  ------------------
  487|  8.11k|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (487:5): [True: 8.11k, False: 0]
  ------------------
  488|  8.11k|    _PyObject_Init((PyObject *)op, typeobj);
  489|  8.11k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  8.11k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  8.11k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  490|  8.11k|}
import.c:_Py_TryIncref:
  727|      2|{
  728|       |#ifdef Py_GIL_DISABLED
  729|       |    return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
  730|       |#else
  731|      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 (731:9): [True: 2, False: 0]
  ------------------
  732|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  733|      2|        return 1;
  734|      2|    }
  735|      0|    return 0;
  736|      2|#endif
  737|      2|}
intrinsics.c:_PyObject_IsUniquelyReferenced:
  182|     67|{
  183|     67|#if !defined(Py_GIL_DISABLED)
  184|     67|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|     67|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     67|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     67|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|       |#else
  186|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  187|       |    // ensure that other threads cannot concurrently create new references to
  188|       |    // this object.
  189|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  190|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  191|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  192|       |#endif
  193|     67|}
specialize.c:_PyObject_GetManagedDict:
  927|    552|{
  928|    552|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  929|    552|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  152|    552|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  930|    552|}
specialize.c:_PyObject_ManagedDictPointer:
  920|    552|{
  921|    552|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (921:5): [True: 552, False: 0]
  ------------------
  922|    552|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  910|    552|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  923|    552|}
specialize.c:_PyObject_InlineValues:
  934|  1.08k|{
  935|  1.08k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  1.08k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  936|  1.08k|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (936:5): [True: 1.08k, False: 0]
  |  Branch (936:5): [True: 1.08k, False: 0]
  ------------------
  937|  1.08k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (937:5): [True: 1.08k, False: 0]
  ------------------
  938|  1.08k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (938:5): [True: 1.08k, False: 0]
  ------------------
  939|  1.08k|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  940|  1.08k|}
typecache.c:_Py_INCREF_MORTAL:
  989|  9.50k|{
  990|  9.50k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (990:5): [True: 9.50k, False: 0]
  ------------------
  991|  9.50k|    op->ob_refcnt++;
  992|  9.50k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  9.50k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  993|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
  994|       |    if (!_Py_IsImmortal(op)) {
  995|       |        _Py_INCREF_IncRefTotal();
  996|       |    }
  997|       |#endif
  998|  9.50k|}
_datetimemodule.c:_PyObject_Init:
  475|      8|{
  476|      8|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 8, False: 0]
  ------------------
  477|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|      8|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 0, False: 8]
  |  Branch (478:5): [True: 8, False: 0]
  ------------------
  479|      8|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|      8|    _Py_NewReference(op);
  481|      8|}
_datetimemodule.c:_PyType_HasFeature:
  281|      8|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|      8|    return ((type->tp_flags) & feature) != 0;
  283|      8|}
itertoolsmodule.c:_PyObject_IsUniquelyReferenced:
  182|    135|{
  183|    135|#if !defined(Py_GIL_DISABLED)
  184|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|       |#else
  186|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  187|       |    // ensure that other threads cannot concurrently create new references to
  188|       |    // this object.
  189|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  190|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  191|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  192|       |#endif
  193|    135|}
abstract.c:Py_DECREF_MORTAL:
  442|     89|{
  443|     89|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 89, False: 0]
  ------------------
  444|     89|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     89|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|     89|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 0, False: 89]
  ------------------
  446|      0|        _Py_Dealloc(op);
  447|      0|    }
  448|     89|}
bytesobject.c:_PyObject_InitVar:
  485|   623k|{
  486|   623k|    assert(op != NULL);
  ------------------
  |  Branch (486:5): [True: 623k, False: 0]
  ------------------
  487|   623k|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (487:5): [True: 623k, False: 0]
  ------------------
  488|   623k|    _PyObject_Init((PyObject *)op, typeobj);
  489|   623k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|   623k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   623k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   623k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  490|   623k|}
bytesobject.c:_PyObject_Init:
  475|   623k|{
  476|   623k|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 623k, False: 0]
  ------------------
  477|   623k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|   623k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|   623k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   623k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|   623k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 0, False: 623k]
  |  Branch (478:5): [True: 623k, False: 0]
  ------------------
  479|   623k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|   623k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|   623k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   623k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   623k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|   623k|    _Py_NewReference(op);
  481|   623k|}
bytesobject.c:_PyType_HasFeature:
  281|   623k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|   623k|    return ((type->tp_flags) & feature) != 0;
  283|   623k|}
codeobject.c:_PyObject_ResurrectStart:
  671|    446|{
  672|    446|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (672:5): [True: 446, False: 0]
  ------------------
  673|       |#ifdef Py_REF_DEBUG
  674|       |    _Py_IncRefTotal(_PyThreadState_GET());
  675|       |#endif
  676|       |#ifdef Py_GIL_DISABLED
  677|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  678|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  679|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  680|       |#else
  681|    446|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|    446|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|    446|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    446|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  682|    446|#endif
  683|       |#ifdef Py_TRACE_REFS
  684|       |    _Py_ResurrectReference(op);
  685|       |#endif
  686|    446|}
codeobject.c:_PyObject_ResurrectEnd:
  693|    446|{
  694|       |#ifdef Py_REF_DEBUG
  695|       |    _Py_DecRefTotal(_PyThreadState_GET());
  696|       |#endif
  697|    446|#ifndef Py_GIL_DISABLED
  698|    446|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|    446|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|    446|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    446|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  699|    446|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|    446|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    446|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    446|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (699:9): [True: 446, False: 0]
  ------------------
  700|       |# ifdef Py_TRACE_REFS
  701|       |        _Py_ForgetReference(op);
  702|       |# endif
  703|    446|        return 0;
  704|    446|    }
  705|      0|    return 1;
  706|       |#else
  707|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  708|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  709|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  710|       |        // Fast-path: object has a single refcount and is owned by this thread
  711|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  712|       |        _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_UNOWNED_TID);
  713|       |        _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, _Py_REF_MERGED);
  714|       |# ifdef Py_TRACE_REFS
  715|       |        _Py_ForgetReference(op);
  716|       |# endif
  717|       |        return 0;
  718|       |    }
  719|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  720|       |    return _PyObject_ResurrectEndSlow(op);
  721|       |#endif
  722|    446|}
enumobject.c:_PyObject_IsUniquelyReferenced:
  182|    174|{
  183|    174|#if !defined(Py_GIL_DISABLED)
  184|    174|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    174|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    174|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|       |#else
  186|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  187|       |    // ensure that other threads cannot concurrently create new references to
  188|       |    // this object.
  189|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  190|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  191|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  192|       |#endif
  193|    174|}
genobject.c:Py_DECREF_MORTAL:
  442|    113|{
  443|    113|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 113, False: 0]
  ------------------
  444|    113|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    113|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|    113|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 0, False: 113]
  ------------------
  446|      0|        _Py_Dealloc(op);
  447|      0|    }
  448|    113|}
floatobject.c:_PyObject_Init:
  475|     75|{
  476|     75|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 75, False: 0]
  ------------------
  477|     75|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|     75|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|     75|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     75|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|     75|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 0, False: 75]
  |  Branch (478:5): [True: 75, False: 0]
  ------------------
  479|     75|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|     75|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|     75|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     75|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     75|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|     75|    _Py_NewReference(op);
  481|     75|}
floatobject.c:_PyType_HasFeature:
  281|     75|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|     75|    return ((type->tp_flags) & feature) != 0;
  283|     75|}
frameobject.c:Py_DECREF_MORTAL:
  442|    462|{
  443|    462|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 462, False: 0]
  ------------------
  444|    462|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    462|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|    462|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 55, False: 407]
  ------------------
  446|     55|        _Py_Dealloc(op);
  447|     55|    }
  448|    462|}

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

call.c:_PyErr_Occurred:
   76|  19.3k|{
   77|  19.3k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 19.3k, False: 0]
  ------------------
   78|  19.3k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 19.1k, False: 185]
  ------------------
   79|  19.1k|        return NULL;
   80|  19.1k|    }
   81|    185|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|    185|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    185|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    185|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  19.3k|}
dictobject.c:_PyErr_Occurred:
   76|    280|{
   77|    280|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 280, False: 0]
  ------------------
   78|    280|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 280, False: 0]
  ------------------
   79|    280|        return NULL;
   80|    280|    }
   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|    280|}
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|  1.73k|{
   77|  1.73k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 1.73k, False: 0]
  ------------------
   78|  1.73k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 1.71k, False: 11]
  ------------------
   79|  1.71k|        return NULL;
   80|  1.71k|    }
   81|     11|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|     11|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  1.73k|}
ceval.c:_PyErr_Occurred:
   76|  6.89k|{
   77|  6.89k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 6.89k, False: 0]
  ------------------
   78|  6.89k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 6.07k, False: 820]
  ------------------
   79|  6.07k|        return NULL;
   80|  6.07k|    }
   81|    820|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|    820|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    820|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    820|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  6.89k|}
ceval.c:_PyErr_ClearExcState:
   85|    101|{
   86|       |    Py_CLEAR(exc_state->exc_value);
  ------------------
  |  |  487|    101|    do { \
  |  |  488|    101|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    101|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    101|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    101|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    101|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    101|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 101]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|    101|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 101]
  |  |  ------------------
  ------------------
   87|    101|}
errors.c:_PyErr_Occurred:
   76|  59.8k|{
   77|  59.8k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 59.8k, False: 0]
  ------------------
   78|  59.8k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 59.3k, False: 501]
  ------------------
   79|  59.3k|        return NULL;
   80|  59.3k|    }
   81|    501|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|    501|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    501|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    501|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  59.8k|}
gc.c:_PyErr_Occurred:
   76|  2.61k|{
   77|  2.61k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 2.61k, False: 0]
  ------------------
   78|  2.61k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 2.61k, False: 0]
  ------------------
   79|  2.61k|        return NULL;
   80|  2.61k|    }
   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|  2.61k|}
import.c:_PyErr_Occurred:
   76|    134|{
   77|    134|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 134, False: 0]
  ------------------
   78|    134|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 134, False: 0]
  ------------------
   79|    134|        return NULL;
   80|    134|    }
   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|    134|}
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|    361|{
   77|    361|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 361, False: 0]
  ------------------
   78|    361|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 360, False: 1]
  ------------------
   79|    360|        return NULL;
   80|    360|    }
   81|      1|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|    361|}
genobject.c:_PyErr_ClearExcState:
   85|     12|{
   86|       |    Py_CLEAR(exc_state->exc_value);
  ------------------
  |  |  487|     12|    do { \
  |  |  488|     12|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     12|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     12|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     12|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     12|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     12|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 12]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
   87|     12|}
genobject.c:_PyErr_Occurred:
   76|    124|{
   77|    124|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 124, False: 0]
  ------------------
   78|    124|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 124, False: 0]
  ------------------
   79|    124|        return NULL;
   80|    124|    }
   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|    124|}
methodobject.c:_PyErr_Occurred:
   76|  2.22k|{
   77|  2.22k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 2.22k, False: 0]
  ------------------
   78|  2.22k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 2.22k, False: 0]
  ------------------
   79|  2.22k|        return NULL;
   80|  2.22k|    }
   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|  2.22k|}

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

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

call.c:_PyThreadState_GET:
  117|  16.2k|{
  118|  16.2k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  16.2k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  16.2k|}
call.c:_Py_get_machine_stack_pointer:
  336|  2.04k|_Py_get_machine_stack_pointer(void) {
  337|  2.04k|    uintptr_t result;
  338|       |#if _Py__has_builtin(__builtin_stack_address)
  339|       |    result = (uintptr_t)__builtin_stack_address();
  340|       |#elif defined(_MSC_VER) && defined(_M_ARM64)
  341|       |    result = __getReg(31);
  342|       |#elif defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86))
  343|       |    result = (uintptr_t)_AddressOfReturnAddress();
  344|       |#elif defined(__aarch64__)
  345|       |    // Use a 64-bit temporary: on arm64_32 (ILP32), uintptr_t is 32 bits
  346|       |    // but sp is a 64-bit register.
  347|       |    uint64_t sp;
  348|       |    __asm__ ("mov %0, sp" : "=r" (sp));
  349|       |    result = (uintptr_t)sp;
  350|       |#elif defined(__x86_64__)
  351|       |    __asm__ ("{movq %%rsp, %0|mov %0, rsp}" : "=r" (result));
  352|       |#else
  353|       |    char here;
  354|       |    result = (uintptr_t)&here;
  355|       |#endif
  356|  2.04k|    return result;
  357|  2.04k|}
exceptions.c:_PyInterpreterState_GET:
  225|    326|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    326|#if !defined(Py_BUILD_CORE_MODULE)
  231|    326|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    326|}
genericaliasobject.c:_PyInterpreterState_GET:
  225|      5|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|      5|#if !defined(Py_BUILD_CORE_MODULE)
  231|      5|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|      5|}
funcobject.c:_PyInterpreterState_GET:
  225|  9.60k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  9.60k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  9.60k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  9.60k|}
listobject.c:_PyInterpreterState_GET:
  225|  6.13k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  6.13k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  6.13k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  6.13k|}
longobject.c:_PyInterpreterState_GET:
  225|  2.27k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  2.27k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  2.27k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  2.27k|}
dictobject.c:_PyInterpreterState_GET:
  225|  24.4k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  24.4k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  24.4k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  24.4k|}
dictobject.c:_PyThreadState_GET:
  117|    286|{
  118|    286|#if !defined(Py_BUILD_CORE_MODULE)
  119|    286|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    286|}
moduleobject.c:_PyInterpreterState_GET:
  225|     34|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     34|#if !defined(Py_BUILD_CORE_MODULE)
  231|     34|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     34|}
object.c:_PyThreadState_GET:
  117|   256k|{
  118|   256k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   256k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   256k|}
object.c:_Py_get_machine_stack_pointer:
  336|  27.8k|_Py_get_machine_stack_pointer(void) {
  337|  27.8k|    uintptr_t result;
  338|       |#if _Py__has_builtin(__builtin_stack_address)
  339|       |    result = (uintptr_t)__builtin_stack_address();
  340|       |#elif defined(_MSC_VER) && defined(_M_ARM64)
  341|       |    result = __getReg(31);
  342|       |#elif defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86))
  343|       |    result = (uintptr_t)_AddressOfReturnAddress();
  344|       |#elif defined(__aarch64__)
  345|       |    // Use a 64-bit temporary: on arm64_32 (ILP32), uintptr_t is 32 bits
  346|       |    // but sp is a 64-bit register.
  347|       |    uint64_t sp;
  348|       |    __asm__ ("mov %0, sp" : "=r" (sp));
  349|       |    result = (uintptr_t)sp;
  350|       |#elif defined(__x86_64__)
  351|       |    __asm__ ("{movq %%rsp, %0|mov %0, rsp}" : "=r" (result));
  352|       |#else
  353|       |    char here;
  354|       |    result = (uintptr_t)&here;
  355|       |#endif
  356|  27.8k|    return result;
  357|  27.8k|}
object.c:_PyInterpreterState_GET:
  225|    826|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    826|#if !defined(Py_BUILD_CORE_MODULE)
  231|    826|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    826|}
object.c:_Py_RecursionLimit_GetMargin:
  361|  18.2k|{
  362|  18.2k|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  363|  18.2k|    assert(_tstate->c_stack_hard_limit != 0);
  ------------------
  |  Branch (363:5): [True: 18.2k, False: 0]
  ------------------
  364|  18.2k|    intptr_t here_addr = _Py_get_machine_stack_pointer();
  365|  18.2k|#if _Py_STACK_GROWS_DOWN
  366|  18.2k|    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, here_addr - (intptr_t)_tstate->c_stack_soft_limit, _PyOS_STACK_MARGIN_SHIFT);
  ------------------
  |  |  226|  18.2k|#define Py_ARITHMETIC_RIGHT_SHIFT(TYPE, I, J) ((I) >> (J))
  ------------------
  367|       |#else
  368|       |    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, (intptr_t)_tstate->c_stack_soft_limit - here_addr, _PyOS_STACK_MARGIN_SHIFT);
  369|       |#endif
  370|  18.2k|}
object.c:_Py_AssertHoldsTstateFunc:
  320|   209k|{
  321|   209k|    PyThreadState *tstate = _PyThreadState_GET();
  322|   209k|    _Py_EnsureFuncTstateNotNULL(func, tstate);
  323|   209k|}
object.c:_Py_EnsureFuncTstateNotNULL:
  195|   209k|{
  196|   209k|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 209k]
  ------------------
  197|      0|#ifndef Py_GIL_DISABLED
  198|      0|        _Py_FatalErrorFunc(func,
  199|      0|            "the function must be called with the GIL held, "
  200|      0|            "after Python initialization and before Python finalization, "
  201|      0|            "but the GIL is released (the current Python thread state is NULL)");
  202|       |#else
  203|       |        _Py_FatalErrorFunc(func,
  204|       |            "the function must be called with an active thread state, "
  205|       |            "after Python initialization and before Python finalization, "
  206|       |            "but it was called without an active thread state. "
  207|       |            "Are you trying to call the C API inside of a Py_BEGIN_ALLOW_THREADS block?");
  208|       |#endif
  209|      0|    }
  210|   209k|}
obmalloc.c:_PyInterpreterState_GET:
  225|  2.76M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  2.76M|#if !defined(Py_BUILD_CORE_MODULE)
  231|  2.76M|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  2.76M|}
obmalloc.c:_Py_IsMainInterpreter:
   61|      2|{
   62|      2|    return (interp == _PyInterpreterState_Main());
   63|      2|}
rangeobject.c:_PyInterpreterState_GET:
  225|    398|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    398|#if !defined(Py_BUILD_CORE_MODULE)
  231|    398|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    398|}
sentinelobject.c:_PyInterpreterState_GET:
  225|      8|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|      8|#if !defined(Py_BUILD_CORE_MODULE)
  231|      8|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|      8|}
sentinelobject.c:_PyThreadState_GET:
  117|      6|{
  118|      6|#if !defined(Py_BUILD_CORE_MODULE)
  119|      6|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|      6|}
setobject.c:_PyInterpreterState_GET:
  225|    723|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    723|#if !defined(Py_BUILD_CORE_MODULE)
  231|    723|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    723|}
sliceobject.c:_PyInterpreterState_GET:
  225|    400|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    400|#if !defined(Py_BUILD_CORE_MODULE)
  231|    400|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    400|}
tupleobject.c:_PyInterpreterState_GET:
  225|  38.8k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  38.8k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  38.8k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  38.8k|}
tupleobject.c:_PyThreadState_GET:
  117|     57|{
  118|     57|#if !defined(Py_BUILD_CORE_MODULE)
  119|     57|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|     57|}
tupleobject.c:_Py_get_machine_stack_pointer:
  336|     57|_Py_get_machine_stack_pointer(void) {
  337|     57|    uintptr_t result;
  338|       |#if _Py__has_builtin(__builtin_stack_address)
  339|       |    result = (uintptr_t)__builtin_stack_address();
  340|       |#elif defined(_MSC_VER) && defined(_M_ARM64)
  341|       |    result = __getReg(31);
  342|       |#elif defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86))
  343|       |    result = (uintptr_t)_AddressOfReturnAddress();
  344|       |#elif defined(__aarch64__)
  345|       |    // Use a 64-bit temporary: on arm64_32 (ILP32), uintptr_t is 32 bits
  346|       |    // but sp is a 64-bit register.
  347|       |    uint64_t sp;
  348|       |    __asm__ ("mov %0, sp" : "=r" (sp));
  349|       |    result = (uintptr_t)sp;
  350|       |#elif defined(__x86_64__)
  351|       |    __asm__ ("{movq %%rsp, %0|mov %0, rsp}" : "=r" (result));
  352|       |#else
  353|       |    char here;
  354|       |    result = (uintptr_t)&here;
  355|       |#endif
  356|     57|    return result;
  357|     57|}
typeobject.c:_PyInterpreterState_GET:
  225|  44.5k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  44.5k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  44.5k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  44.5k|}
typeobject.c:_PyThreadState_GET:
  117|  11.6k|{
  118|  11.6k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  11.6k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  11.6k|}
typeobject.c:_Py_IsMainInterpreter:
   61|    402|{
   62|    402|    return (interp == _PyInterpreterState_Main());
   63|    402|}
unicode_writer.c:_PyInterpreterState_GET:
  225|     64|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     64|#if !defined(Py_BUILD_CORE_MODULE)
  231|     64|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     64|}
unicode_writer.c:_Py_AssertHoldsTstateFunc:
  320|     34|{
  321|     34|    PyThreadState *tstate = _PyThreadState_GET();
  322|     34|    _Py_EnsureFuncTstateNotNULL(func, tstate);
  323|     34|}
unicode_writer.c:_PyThreadState_GET:
  117|     34|{
  118|     34|#if !defined(Py_BUILD_CORE_MODULE)
  119|     34|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|     34|}
unicode_writer.c:_Py_EnsureFuncTstateNotNULL:
  195|     34|{
  196|     34|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 34]
  ------------------
  197|      0|#ifndef Py_GIL_DISABLED
  198|      0|        _Py_FatalErrorFunc(func,
  199|      0|            "the function must be called with the GIL held, "
  200|      0|            "after Python initialization and before Python finalization, "
  201|      0|            "but the GIL is released (the current Python thread state is NULL)");
  202|       |#else
  203|       |        _Py_FatalErrorFunc(func,
  204|       |            "the function must be called with an active thread state, "
  205|       |            "after Python initialization and before Python finalization, "
  206|       |            "but it was called without an active thread state. "
  207|       |            "Are you trying to call the C API inside of a Py_BEGIN_ALLOW_THREADS block?");
  208|       |#endif
  209|      0|    }
  210|     34|}
unicodeobject.c:_PyInterpreterState_GET:
  225|  7.84k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  7.84k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  7.84k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  7.84k|}
unicodeobject.c:_Py_IsMainInterpreter:
   61|      6|{
   62|      6|    return (interp == _PyInterpreterState_Main());
   63|      6|}
unionobject.c:_PyInterpreterState_GET:
  225|     46|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     46|#if !defined(Py_BUILD_CORE_MODULE)
  231|     46|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     46|}
weakrefobject.c:_PyInterpreterState_GET:
  225|    571|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    571|#if !defined(Py_BUILD_CORE_MODULE)
  231|    571|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    571|}
_warnings.c:_PyThreadState_GET:
  117|     50|{
  118|     50|#if !defined(Py_BUILD_CORE_MODULE)
  119|     50|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|     50|}
_warnings.c:_PyInterpreterState_GET:
  225|      2|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|      2|#if !defined(Py_BUILD_CORE_MODULE)
  231|      2|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|      2|}
bltinmodule.c:_PyThreadState_GET:
  117|    367|{
  118|    367|#if !defined(Py_BUILD_CORE_MODULE)
  119|    367|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    367|}
ceval.c:_Py_get_machine_stack_pointer:
  336|   199M|_Py_get_machine_stack_pointer(void) {
  337|   199M|    uintptr_t result;
  338|       |#if _Py__has_builtin(__builtin_stack_address)
  339|       |    result = (uintptr_t)__builtin_stack_address();
  340|       |#elif defined(_MSC_VER) && defined(_M_ARM64)
  341|       |    result = __getReg(31);
  342|       |#elif defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86))
  343|       |    result = (uintptr_t)_AddressOfReturnAddress();
  344|       |#elif defined(__aarch64__)
  345|       |    // Use a 64-bit temporary: on arm64_32 (ILP32), uintptr_t is 32 bits
  346|       |    // but sp is a 64-bit register.
  347|       |    uint64_t sp;
  348|       |    __asm__ ("mov %0, sp" : "=r" (sp));
  349|       |    result = (uintptr_t)sp;
  350|       |#elif defined(__x86_64__)
  351|       |    __asm__ ("{movq %%rsp, %0|mov %0, rsp}" : "=r" (result));
  352|       |#else
  353|       |    char here;
  354|       |    result = (uintptr_t)&here;
  355|       |#endif
  356|   199M|    return result;
  357|   199M|}
ceval.c:_PyThreadState_GET:
  117|  1.21k|{
  118|  1.21k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  1.21k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  1.21k|}
ceval.c:_Py_EnsureFuncTstateNotNULL:
  195|  2.21k|{
  196|  2.21k|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 2.21k]
  ------------------
  197|      0|#ifndef Py_GIL_DISABLED
  198|      0|        _Py_FatalErrorFunc(func,
  199|      0|            "the function must be called with the GIL held, "
  200|      0|            "after Python initialization and before Python finalization, "
  201|      0|            "but the GIL is released (the current Python thread state is NULL)");
  202|       |#else
  203|       |        _Py_FatalErrorFunc(func,
  204|       |            "the function must be called with an active thread state, "
  205|       |            "after Python initialization and before Python finalization, "
  206|       |            "but it was called without an active thread state. "
  207|       |            "Are you trying to call the C API inside of a Py_BEGIN_ALLOW_THREADS block?");
  208|       |#endif
  209|      0|    }
  210|  2.21k|}
codecs.c:_PyInterpreterState_GET:
  225|     34|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     34|#if !defined(Py_BUILD_CORE_MODULE)
  231|     34|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     34|}
compile.c:_PyInterpreterState_GET:
  225|      2|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|      2|#if !defined(Py_BUILD_CORE_MODULE)
  231|      2|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|      2|}
context.c:_PyThreadState_GET:
  117|     50|{
  118|     50|#if !defined(Py_BUILD_CORE_MODULE)
  119|     50|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|     50|}
errors.c:_PyThreadState_GET:
  117|   122k|{
  118|   122k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   122k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   122k|}
errors.c:_Py_AssertHoldsTstateFunc:
  320|  59.5k|{
  321|  59.5k|    PyThreadState *tstate = _PyThreadState_GET();
  322|  59.5k|    _Py_EnsureFuncTstateNotNULL(func, tstate);
  323|  59.5k|}
errors.c:_Py_EnsureFuncTstateNotNULL:
  195|  59.5k|{
  196|  59.5k|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 59.5k]
  ------------------
  197|      0|#ifndef Py_GIL_DISABLED
  198|      0|        _Py_FatalErrorFunc(func,
  199|      0|            "the function must be called with the GIL held, "
  200|      0|            "after Python initialization and before Python finalization, "
  201|      0|            "but the GIL is released (the current Python thread state is NULL)");
  202|       |#else
  203|       |        _Py_FatalErrorFunc(func,
  204|       |            "the function must be called with an active thread state, "
  205|       |            "after Python initialization and before Python finalization, "
  206|       |            "but it was called without an active thread state. "
  207|       |            "Are you trying to call the C API inside of a Py_BEGIN_ALLOW_THREADS block?");
  208|       |#endif
  209|      0|    }
  210|  59.5k|}
frame.c:_PyThreadState_GET:
  117|  8.44k|{
  118|  8.44k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  8.44k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  8.44k|}
frame.c:_PyInterpreterState_GET:
  225|    129|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    129|#if !defined(Py_BUILD_CORE_MODULE)
  231|    129|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    129|}
gc.c:_PyInterpreterState_GET:
  225|  17.8k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  17.8k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  17.8k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  17.8k|}
gc.c:_PyThreadState_GET:
  117|  41.1k|{
  118|  41.1k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  41.1k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  41.1k|}
ceval_gil.c:_PyThreadState_GET:
  117|  1.27k|{
  118|  1.27k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  1.27k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  1.27k|}
ceval_gil.c:_Py_EnsureFuncTstateNotNULL:
  195|  2.54k|{
  196|  2.54k|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 2.54k]
  ------------------
  197|      0|#ifndef Py_GIL_DISABLED
  198|      0|        _Py_FatalErrorFunc(func,
  199|      0|            "the function must be called with the GIL held, "
  200|      0|            "after Python initialization and before Python finalization, "
  201|      0|            "but the GIL is released (the current Python thread state is NULL)");
  202|       |#else
  203|       |        _Py_FatalErrorFunc(func,
  204|       |            "the function must be called with an active thread state, "
  205|       |            "after Python initialization and before Python finalization, "
  206|       |            "but it was called without an active thread state. "
  207|       |            "Are you trying to call the C API inside of a Py_BEGIN_ALLOW_THREADS block?");
  208|       |#endif
  209|      0|    }
  210|  2.54k|}
import.c:_PyThreadState_GET:
  117|  1.55k|{
  118|  1.55k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  1.55k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  1.55k|}
import.c:_PyInterpreterState_GET:
  225|    713|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    713|#if !defined(Py_BUILD_CORE_MODULE)
  231|    713|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    713|}
import.c:_Py_IsMainInterpreter:
   61|     38|{
   62|     38|    return (interp == _PyInterpreterState_Main());
   63|     38|}
marshal.c:_PyInterpreterState_GET:
  225|  12.4k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  12.4k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  12.4k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  12.4k|}
pylifecycle.c:_Py_IsMainInterpreter:
   61|      8|{
   62|      8|    return (interp == _PyInterpreterState_Main());
   63|      8|}
pystate.c:_Py_EnsureFuncTstateNotNULL:
  195|  4.18k|{
  196|  4.18k|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 4.18k]
  ------------------
  197|      0|#ifndef Py_GIL_DISABLED
  198|      0|        _Py_FatalErrorFunc(func,
  199|      0|            "the function must be called with the GIL held, "
  200|      0|            "after Python initialization and before Python finalization, "
  201|      0|            "but the GIL is released (the current Python thread state is NULL)");
  202|       |#else
  203|       |        _Py_FatalErrorFunc(func,
  204|       |            "the function must be called with an active thread state, "
  205|       |            "after Python initialization and before Python finalization, "
  206|       |            "but it was called without an active thread state. "
  207|       |            "Are you trying to call the C API inside of a Py_BEGIN_ALLOW_THREADS block?");
  208|       |#endif
  209|      0|    }
  210|  4.18k|}
pystate.c:_Py_IsMainInterpreter:
   61|      4|{
   62|      4|    return (interp == _PyInterpreterState_Main());
   63|      4|}
pythonrun.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|}
specialize.c:_PyThreadState_GET:
  117|  2.41k|{
  118|  2.41k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  2.41k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  2.41k|}
specialize.c:_PyInterpreterState_GET:
  225|  1.82k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  1.82k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  1.82k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  1.82k|}
symtable.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|}
sysmodule.c:_PyThreadState_GET:
  117|    509|{
  118|    509|#if !defined(Py_BUILD_CORE_MODULE)
  119|    509|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    509|}
sysmodule.c:_PyInterpreterState_GET:
  225|     40|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     40|#if !defined(Py_BUILD_CORE_MODULE)
  231|     40|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     40|}
sysmodule.c:_Py_EnsureFuncTstateNotNULL:
  195|     81|{
  196|     81|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 81]
  ------------------
  197|      0|#ifndef Py_GIL_DISABLED
  198|      0|        _Py_FatalErrorFunc(func,
  199|      0|            "the function must be called with the GIL held, "
  200|      0|            "after Python initialization and before Python finalization, "
  201|      0|            "but the GIL is released (the current Python thread state is NULL)");
  202|       |#else
  203|       |        _Py_FatalErrorFunc(func,
  204|       |            "the function must be called with an active thread state, "
  205|       |            "after Python initialization and before Python finalization, "
  206|       |            "but it was called without an active thread state. "
  207|       |            "Are you trying to call the C API inside of a Py_BEGIN_ALLOW_THREADS block?");
  208|       |#endif
  209|      0|    }
  210|     81|}
thread.c:_PyInterpreterState_GET:
  225|      2|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|      2|#if !defined(Py_BUILD_CORE_MODULE)
  231|      2|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|      2|}
traceback.c:_PyInterpreterState_GET:
  225|    862|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    862|#if !defined(Py_BUILD_CORE_MODULE)
  231|    862|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    862|}
typecache.c:_PyInterpreterState_GET:
  225|  20.4k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  20.4k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  20.4k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  20.4k|}
dtoa.c:_PyInterpreterState_GET:
  225|  1.61k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  1.61k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  1.61k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  1.61k|}
fileutils.c:_Py_AssertHoldsTstateFunc:
  320|    114|{
  321|    114|    PyThreadState *tstate = _PyThreadState_GET();
  322|    114|    _Py_EnsureFuncTstateNotNULL(func, tstate);
  323|    114|}
fileutils.c:_PyThreadState_GET:
  117|    114|{
  118|    114|#if !defined(Py_BUILD_CORE_MODULE)
  119|    114|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    114|}
fileutils.c:_Py_EnsureFuncTstateNotNULL:
  195|    114|{
  196|    114|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 114]
  ------------------
  197|      0|#ifndef Py_GIL_DISABLED
  198|      0|        _Py_FatalErrorFunc(func,
  199|      0|            "the function must be called with the GIL held, "
  200|      0|            "after Python initialization and before Python finalization, "
  201|      0|            "but the GIL is released (the current Python thread state is NULL)");
  202|       |#else
  203|       |        _Py_FatalErrorFunc(func,
  204|       |            "the function must be called with an active thread state, "
  205|       |            "after Python initialization and before Python finalization, "
  206|       |            "but it was called without an active thread state. "
  207|       |            "Are you trying to call the C API inside of a Py_BEGIN_ALLOW_THREADS block?");
  208|       |#endif
  209|      0|    }
  210|    114|}
dynload_shlib.c:_PyInterpreterState_GET:
  225|      2|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|      2|#if !defined(Py_BUILD_CORE_MODULE)
  231|      2|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|      2|}
signalmodule.c:_PyThreadState_GET:
  117|    584|{
  118|    584|#if !defined(Py_BUILD_CORE_MODULE)
  119|    584|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    584|}
fileio.c:_PyInterpreterState_GET:
  225|     27|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     27|#if !defined(Py_BUILD_CORE_MODULE)
  231|     27|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     27|}
bufferedio.c:_PyInterpreterState_GET:
  225|     27|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     27|#if !defined(Py_BUILD_CORE_MODULE)
  231|     27|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     27|}
bufferedio.c:_PyThreadState_GET:
  117|     27|{
  118|     27|#if !defined(Py_BUILD_CORE_MODULE)
  119|     27|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|     27|}
textio.c:_PyInterpreterState_GET:
  225|      6|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|      6|#if !defined(Py_BUILD_CORE_MODULE)
  231|      6|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|      6|}
_functoolsmodule.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|}
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|  1.91k|{
  118|  1.91k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  1.91k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  1.91k|}
abstract.c:_Py_get_machine_stack_pointer:
  336|    124|_Py_get_machine_stack_pointer(void) {
  337|    124|    uintptr_t result;
  338|       |#if _Py__has_builtin(__builtin_stack_address)
  339|       |    result = (uintptr_t)__builtin_stack_address();
  340|       |#elif defined(_MSC_VER) && defined(_M_ARM64)
  341|       |    result = __getReg(31);
  342|       |#elif defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86))
  343|       |    result = (uintptr_t)_AddressOfReturnAddress();
  344|       |#elif defined(__aarch64__)
  345|       |    // Use a 64-bit temporary: on arm64_32 (ILP32), uintptr_t is 32 bits
  346|       |    // but sp is a 64-bit register.
  347|       |    uint64_t sp;
  348|       |    __asm__ ("mov %0, sp" : "=r" (sp));
  349|       |    result = (uintptr_t)sp;
  350|       |#elif defined(__x86_64__)
  351|       |    __asm__ ("{movq %%rsp, %0|mov %0, rsp}" : "=r" (result));
  352|       |#else
  353|       |    char here;
  354|       |    result = (uintptr_t)&here;
  355|       |#endif
  356|    124|    return result;
  357|    124|}
bytearrayobject.c:_PyInterpreterState_GET:
  225|      4|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|      4|#if !defined(Py_BUILD_CORE_MODULE)
  231|      4|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|      4|}
bytesobject.c:_PyInterpreterState_GET:
  225|    228|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    228|#if !defined(Py_BUILD_CORE_MODULE)
  231|    228|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    228|}
cellobject.c:_PyInterpreterState_GET:
  225|    646|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    646|#if !defined(Py_BUILD_CORE_MODULE)
  231|    646|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    646|}
classobject.c:_PyInterpreterState_GET:
  225|  2.61k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  2.61k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  2.61k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  2.61k|}
classobject.c:_PyThreadState_GET:
  117|     86|{
  118|     86|#if !defined(Py_BUILD_CORE_MODULE)
  119|     86|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|     86|}
codeobject.c:_PyInterpreterState_GET:
  225|  13.4k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  13.4k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  13.4k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  13.4k|}
descrobject.c:_PyInterpreterState_GET:
  225|    950|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    950|#if !defined(Py_BUILD_CORE_MODULE)
  231|    950|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    950|}
descrobject.c:_PyThreadState_GET:
  117|  1.53k|{
  118|  1.53k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  1.53k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  1.53k|}
descrobject.c:_Py_get_machine_stack_pointer:
  336|  1.53k|_Py_get_machine_stack_pointer(void) {
  337|  1.53k|    uintptr_t result;
  338|       |#if _Py__has_builtin(__builtin_stack_address)
  339|       |    result = (uintptr_t)__builtin_stack_address();
  340|       |#elif defined(_MSC_VER) && defined(_M_ARM64)
  341|       |    result = __getReg(31);
  342|       |#elif defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86))
  343|       |    result = (uintptr_t)_AddressOfReturnAddress();
  344|       |#elif defined(__aarch64__)
  345|       |    // Use a 64-bit temporary: on arm64_32 (ILP32), uintptr_t is 32 bits
  346|       |    // but sp is a 64-bit register.
  347|       |    uint64_t sp;
  348|       |    __asm__ ("mov %0, sp" : "=r" (sp));
  349|       |    result = (uintptr_t)sp;
  350|       |#elif defined(__x86_64__)
  351|       |    __asm__ ("{movq %%rsp, %0|mov %0, rsp}" : "=r" (result));
  352|       |#else
  353|       |    char here;
  354|       |    result = (uintptr_t)&here;
  355|       |#endif
  356|  1.53k|    return result;
  357|  1.53k|}
enumobject.c:_PyInterpreterState_GET:
  225|     21|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     21|#if !defined(Py_BUILD_CORE_MODULE)
  231|     21|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     21|}
enumobject.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|}
genobject.c:_PyInterpreterState_GET:
  225|    452|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    452|#if !defined(Py_BUILD_CORE_MODULE)
  231|    452|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    452|}
genobject.c:_PyThreadState_GET:
  117|    212|{
  118|    212|#if !defined(Py_BUILD_CORE_MODULE)
  119|    212|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    212|}
floatobject.c:_PyInterpreterState_GET:
  225|    817|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    817|#if !defined(Py_BUILD_CORE_MODULE)
  231|    817|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    817|}
frameobject.c:_PyInterpreterState_GET:
  225|    129|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    129|#if !defined(Py_BUILD_CORE_MODULE)
  231|    129|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    129|}
iterobject.c:_PyInterpreterState_GET:
  225|     18|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     18|#if !defined(Py_BUILD_CORE_MODULE)
  231|     18|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     18|}
lazyimportobject.c:_PyInterpreterState_GET:
  225|     16|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     16|#if !defined(Py_BUILD_CORE_MODULE)
  231|     16|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     16|}
memoryobject.c:_PyInterpreterState_GET:
  225|    362|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    362|#if !defined(Py_BUILD_CORE_MODULE)
  231|    362|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    362|}
methodobject.c:_PyInterpreterState_GET:
  225|  5.91k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  5.91k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  5.91k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  5.91k|}
methodobject.c:_PyThreadState_GET:
  117|  3.19k|{
  118|  3.19k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  3.19k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  3.19k|}
methodobject.c:_Py_get_machine_stack_pointer:
  336|  3.19k|_Py_get_machine_stack_pointer(void) {
  337|  3.19k|    uintptr_t result;
  338|       |#if _Py__has_builtin(__builtin_stack_address)
  339|       |    result = (uintptr_t)__builtin_stack_address();
  340|       |#elif defined(_MSC_VER) && defined(_M_ARM64)
  341|       |    result = __getReg(31);
  342|       |#elif defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86))
  343|       |    result = (uintptr_t)_AddressOfReturnAddress();
  344|       |#elif defined(__aarch64__)
  345|       |    // Use a 64-bit temporary: on arm64_32 (ILP32), uintptr_t is 32 bits
  346|       |    // but sp is a 64-bit register.
  347|       |    uint64_t sp;
  348|       |    __asm__ ("mov %0, sp" : "=r" (sp));
  349|       |    result = (uintptr_t)sp;
  350|       |#elif defined(__x86_64__)
  351|       |    __asm__ ("{movq %%rsp, %0|mov %0, rsp}" : "=r" (result));
  352|       |#else
  353|       |    char here;
  354|       |    result = (uintptr_t)&here;
  355|       |#endif
  356|  3.19k|    return result;
  357|  3.19k|}
Python-ast.c:_PyInterpreterState_GET:
  225|     76|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     76|#if !defined(Py_BUILD_CORE_MODULE)
  231|     76|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     76|}
assemble.c:_PyInterpreterState_GET:
  225|      8|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|      8|#if !defined(Py_BUILD_CORE_MODULE)
  231|      8|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|      8|}
crossinterp.c:_Py_IsMainInterpreter:
   61|      2|{
   62|      2|    return (interp == _PyInterpreterState_Main());
   63|      2|}
pegen.c:_PyInterpreterState_GET:
  225|    361|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    361|#if !defined(Py_BUILD_CORE_MODULE)
  231|    361|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    361|}
parser.c:_Py_get_machine_stack_pointer:
  336|   190M|_Py_get_machine_stack_pointer(void) {
  337|   190M|    uintptr_t result;
  338|       |#if _Py__has_builtin(__builtin_stack_address)
  339|       |    result = (uintptr_t)__builtin_stack_address();
  340|       |#elif defined(_MSC_VER) && defined(_M_ARM64)
  341|       |    result = __getReg(31);
  342|       |#elif defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86))
  343|       |    result = (uintptr_t)_AddressOfReturnAddress();
  344|       |#elif defined(__aarch64__)
  345|       |    // Use a 64-bit temporary: on arm64_32 (ILP32), uintptr_t is 32 bits
  346|       |    // but sp is a 64-bit register.
  347|       |    uint64_t sp;
  348|       |    __asm__ ("mov %0, sp" : "=r" (sp));
  349|       |    result = (uintptr_t)sp;
  350|       |#elif defined(__x86_64__)
  351|       |    __asm__ ("{movq %%rsp, %0|mov %0, rsp}" : "=r" (result));
  352|       |#else
  353|       |    char here;
  354|       |    result = (uintptr_t)&here;
  355|       |#endif
  356|   190M|    return result;
  357|   190M|}
parser_invalid.c:_Py_get_machine_stack_pointer:
  336|  8.79M|_Py_get_machine_stack_pointer(void) {
  337|  8.79M|    uintptr_t result;
  338|       |#if _Py__has_builtin(__builtin_stack_address)
  339|       |    result = (uintptr_t)__builtin_stack_address();
  340|       |#elif defined(_MSC_VER) && defined(_M_ARM64)
  341|       |    result = __getReg(31);
  342|       |#elif defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86))
  343|       |    result = (uintptr_t)_AddressOfReturnAddress();
  344|       |#elif defined(__aarch64__)
  345|       |    // Use a 64-bit temporary: on arm64_32 (ILP32), uintptr_t is 32 bits
  346|       |    // but sp is a 64-bit register.
  347|       |    uint64_t sp;
  348|       |    __asm__ ("mov %0, sp" : "=r" (sp));
  349|       |    result = (uintptr_t)sp;
  350|       |#elif defined(__x86_64__)
  351|       |    __asm__ ("{movq %%rsp, %0|mov %0, rsp}" : "=r" (result));
  352|       |#else
  353|       |    char here;
  354|       |    result = (uintptr_t)&here;
  355|       |#endif
  356|  8.79M|    return result;
  357|  8.79M|}

pylifecycle.c:_PyRuntimeState_GetFinalizing:
   36|     50|_PyRuntimeState_GetFinalizing(_PyRuntimeState *runtime) {
   37|     50|    return (PyThreadState*)_Py_atomic_load_ptr_relaxed(&runtime->_finalizing);
   38|     50|}
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.31k|_PyRuntimeState_GetInitialized(_PyRuntimeState *runtime) {
   74|  2.31k|    return _Py_atomic_load_int(&runtime->initialized);
   75|  2.31k|}
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);
  ------------------
  |  |  622|      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,
  ------------------
  |  |  622|      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|    788|{
  382|    788|    switch (slot.sl_id) {
  ------------------
  |  Branch (382:13): [True: 787, False: 1]
  ------------------
  383|      1|        case Py_mp_subscript:
  ------------------
  |  |   13|      1|#define Py_mp_subscript 5
  ------------------
  |  Branch (383:9): [True: 1, False: 787]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 783]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 787]
  ------------------
  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: 787]
  ------------------
  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: 787]
  ------------------
  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: 787]
  ------------------
  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: 787]
  ------------------
  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: 787]
  ------------------
  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: 787]
  ------------------
  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: 787]
  ------------------
  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: 767]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 780]
  ------------------
  519|      8|            ht->ht_type.tp_call = (ternaryfunc)slot.sl_func;
  520|      8|            break;
  521|     54|        case Py_tp_clear:
  ------------------
  |  |   59|     54|#define Py_tp_clear 51
  ------------------
  |  Branch (521:9): [True: 54, False: 734]
  ------------------
  522|     54|            ht->ht_type.tp_clear = (inquiry)slot.sl_func;
  523|     54|            break;
  524|    115|        case Py_tp_dealloc:
  ------------------
  |  |   60|    115|#define Py_tp_dealloc 52
  ------------------
  |  Branch (524:9): [True: 115, False: 673]
  ------------------
  525|    115|            ht->ht_type.tp_dealloc = (destructor)slot.sl_func;
  526|    115|            break;
  527|      0|        case Py_tp_del:
  ------------------
  |  |   61|      0|#define Py_tp_del 53
  ------------------
  |  Branch (527:9): [True: 0, False: 788]
  ------------------
  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: 785]
  ------------------
  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: 787]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  540|      0|            ht->ht_type.tp_getattr = (getattrfunc)slot.sl_func;
  541|      0|            break;
  542|     35|        case Py_tp_getattro:
  ------------------
  |  |   66|     35|#define Py_tp_getattro 58
  ------------------
  |  Branch (542:9): [True: 35, False: 753]
  ------------------
  543|     35|            ht->ht_type.tp_getattro = (getattrofunc)slot.sl_func;
  544|     35|            break;
  545|      2|        case Py_tp_hash:
  ------------------
  |  |   67|      2|#define Py_tp_hash 59
  ------------------
  |  Branch (545:9): [True: 2, False: 786]
  ------------------
  546|      2|            ht->ht_type.tp_hash = (hashfunc)slot.sl_func;
  547|      2|            break;
  548|     21|        case Py_tp_init:
  ------------------
  |  |   68|     21|#define Py_tp_init 60
  ------------------
  |  Branch (548:9): [True: 21, False: 767]
  ------------------
  549|     21|            ht->ht_type.tp_init = (initproc)slot.sl_func;
  550|     21|            break;
  551|      0|        case Py_tp_is_gc:
  ------------------
  |  |   69|      0|#define Py_tp_is_gc 61
  ------------------
  |  Branch (551:9): [True: 0, False: 788]
  ------------------
  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: 754]
  ------------------
  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: 749]
  ------------------
  558|     39|            ht->ht_type.tp_iternext = (iternextfunc)slot.sl_func;
  559|     39|            break;
  560|     88|        case Py_tp_methods:
  ------------------
  |  |   72|     88|#define Py_tp_methods 64
  ------------------
  |  Branch (560:9): [True: 88, False: 700]
  ------------------
  561|     88|            ht->ht_type.tp_methods = slot.sl_ptr;
  562|     88|            break;
  563|     77|        case Py_tp_new:
  ------------------
  |  |   73|     77|#define Py_tp_new 65
  ------------------
  |  Branch (563:9): [True: 77, False: 711]
  ------------------
  564|     77|            ht->ht_type.tp_new = (newfunc)slot.sl_func;
  565|     77|            break;
  566|     63|        case Py_tp_repr:
  ------------------
  |  |   74|     63|#define Py_tp_repr 66
  ------------------
  |  Branch (566:9): [True: 63, False: 725]
  ------------------
  567|     63|            ht->ht_type.tp_repr = (reprfunc)slot.sl_func;
  568|     63|            break;
  569|      7|        case Py_tp_richcompare:
  ------------------
  |  |   75|      7|#define Py_tp_richcompare 67
  ------------------
  |  Branch (569:9): [True: 7, False: 781]
  ------------------
  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: 788]
  ------------------
  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: 784]
  ------------------
  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: 787]
  ------------------
  579|      1|            ht->ht_type.tp_str = (reprfunc)slot.sl_func;
  580|      1|            break;
  581|    108|        case Py_tp_traverse:
  ------------------
  |  |   79|    108|#define Py_tp_traverse 71
  ------------------
  |  Branch (581:9): [True: 108, False: 680]
  ------------------
  582|    108|            ht->ht_type.tp_traverse = (traverseproc)slot.sl_func;
  583|    108|            break;
  584|      0|        case Py_tp_members:
  ------------------
  |  |   80|      0|#define Py_tp_members 72
  ------------------
  |  Branch (584:9): [True: 0, False: 788]
  ------------------
  585|      0|            ht->ht_type.tp_members = slot.sl_ptr;
  586|      0|            break;
  587|     42|        case Py_tp_getset:
  ------------------
  |  |   81|     42|#define Py_tp_getset 73
  ------------------
  |  Branch (587:9): [True: 42, False: 746]
  ------------------
  588|     42|            ht->ht_type.tp_getset = slot.sl_ptr;
  589|     42|            break;
  590|     40|        case Py_tp_free:
  ------------------
  |  |   82|     40|#define Py_tp_free 74
  ------------------
  |  Branch (590:9): [True: 40, False: 748]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  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: 784]
  ------------------
  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: 788]
  ------------------
  612|      0|            ht->as_async.am_send = (sendfunc)slot.sl_func;
  613|      0|            break;
  614|      2|        case Py_tp_vectorcall:
  ------------------
  |  |   90|      2|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (614:9): [True: 2, False: 786]
  ------------------
  615|      2|            ht->ht_type.tp_vectorcall = (vectorcallfunc)slot.sl_func;
  616|      2|            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: 786]
  ------------------
  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: 786]
  ------------------
  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: 788]
  ------------------
  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: 788]
  ------------------
  627|      0|            ht->as_mapping.mp_length = (lenfunc)slot.sl_func;
  628|      0|            break;
  629|    788|    }
  630|    788|}
typeobject.c:_PySlot_resolve_type_slot:
    8|     37|{
    9|     37|    switch (slot_id) {
   10|      0|        case 1:
  ------------------
  |  Branch (10:9): [True: 0, False: 37]
  ------------------
   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: 37]
  ------------------
   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: 37]
  ------------------
   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: 37]
  ------------------
   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: 37]
  ------------------
   19|      0|        case Py_mp_subscript:
  ------------------
  |  |   13|      0|#define Py_mp_subscript 5
  ------------------
  |  Branch (19:9): [True: 0, False: 37]
  ------------------
   20|      0|        case Py_nb_absolute:
  ------------------
  |  |   14|      0|#define Py_nb_absolute 6
  ------------------
  |  Branch (20:9): [True: 0, False: 37]
  ------------------
   21|      0|        case Py_nb_add:
  ------------------
  |  |   15|      0|#define Py_nb_add 7
  ------------------
  |  Branch (21:9): [True: 0, False: 37]
  ------------------
   22|      0|        case Py_nb_and:
  ------------------
  |  |   16|      0|#define Py_nb_and 8
  ------------------
  |  Branch (22:9): [True: 0, False: 37]
  ------------------
   23|      0|        case Py_nb_bool:
  ------------------
  |  |   17|      0|#define Py_nb_bool 9
  ------------------
  |  Branch (23:9): [True: 0, False: 37]
  ------------------
   24|      0|        case Py_nb_divmod:
  ------------------
  |  |   18|      0|#define Py_nb_divmod 10
  ------------------
  |  Branch (24:9): [True: 0, False: 37]
  ------------------
   25|      0|        case Py_nb_float:
  ------------------
  |  |   19|      0|#define Py_nb_float 11
  ------------------
  |  Branch (25:9): [True: 0, False: 37]
  ------------------
   26|      0|        case Py_nb_floor_divide:
  ------------------
  |  |   20|      0|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (26:9): [True: 0, False: 37]
  ------------------
   27|      0|        case Py_nb_index:
  ------------------
  |  |   21|      0|#define Py_nb_index 13
  ------------------
  |  Branch (27:9): [True: 0, False: 37]
  ------------------
   28|      0|        case Py_nb_inplace_add:
  ------------------
  |  |   22|      0|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (28:9): [True: 0, False: 37]
  ------------------
   29|      0|        case Py_nb_inplace_and:
  ------------------
  |  |   23|      0|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (29:9): [True: 0, False: 37]
  ------------------
   30|      0|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|      0|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (30:9): [True: 0, False: 37]
  ------------------
   31|      0|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|      0|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (31:9): [True: 0, False: 37]
  ------------------
   32|      0|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|      0|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (32:9): [True: 0, False: 37]
  ------------------
   33|      0|        case Py_nb_inplace_or:
  ------------------
  |  |   27|      0|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (33:9): [True: 0, False: 37]
  ------------------
   34|      0|        case Py_nb_inplace_power:
  ------------------
  |  |   28|      0|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (34:9): [True: 0, False: 37]
  ------------------
   35|      0|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|      0|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (35:9): [True: 0, False: 37]
  ------------------
   36|      0|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|      0|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (36:9): [True: 0, False: 37]
  ------------------
   37|      0|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|      0|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (37:9): [True: 0, False: 37]
  ------------------
   38|      0|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|      0|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (38:9): [True: 0, False: 37]
  ------------------
   39|      0|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|      0|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (39:9): [True: 0, False: 37]
  ------------------
   40|      0|        case Py_nb_int:
  ------------------
  |  |   34|      0|#define Py_nb_int 26
  ------------------
  |  Branch (40:9): [True: 0, False: 37]
  ------------------
   41|      0|        case Py_nb_invert:
  ------------------
  |  |   35|      0|#define Py_nb_invert 27
  ------------------
  |  Branch (41:9): [True: 0, False: 37]
  ------------------
   42|      0|        case Py_nb_lshift:
  ------------------
  |  |   36|      0|#define Py_nb_lshift 28
  ------------------
  |  Branch (42:9): [True: 0, False: 37]
  ------------------
   43|      0|        case Py_nb_multiply:
  ------------------
  |  |   37|      0|#define Py_nb_multiply 29
  ------------------
  |  Branch (43:9): [True: 0, False: 37]
  ------------------
   44|      0|        case Py_nb_negative:
  ------------------
  |  |   38|      0|#define Py_nb_negative 30
  ------------------
  |  Branch (44:9): [True: 0, False: 37]
  ------------------
   45|      0|        case Py_nb_or:
  ------------------
  |  |   39|      0|#define Py_nb_or 31
  ------------------
  |  Branch (45:9): [True: 0, False: 37]
  ------------------
   46|      0|        case Py_nb_positive:
  ------------------
  |  |   40|      0|#define Py_nb_positive 32
  ------------------
  |  Branch (46:9): [True: 0, False: 37]
  ------------------
   47|      0|        case Py_nb_power:
  ------------------
  |  |   41|      0|#define Py_nb_power 33
  ------------------
  |  Branch (47:9): [True: 0, False: 37]
  ------------------
   48|      0|        case Py_nb_remainder:
  ------------------
  |  |   42|      0|#define Py_nb_remainder 34
  ------------------
  |  Branch (48:9): [True: 0, False: 37]
  ------------------
   49|      0|        case Py_nb_rshift:
  ------------------
  |  |   43|      0|#define Py_nb_rshift 35
  ------------------
  |  Branch (49:9): [True: 0, False: 37]
  ------------------
   50|      0|        case Py_nb_subtract:
  ------------------
  |  |   44|      0|#define Py_nb_subtract 36
  ------------------
  |  Branch (50:9): [True: 0, False: 37]
  ------------------
   51|      0|        case Py_nb_true_divide:
  ------------------
  |  |   45|      0|#define Py_nb_true_divide 37
  ------------------
  |  Branch (51:9): [True: 0, False: 37]
  ------------------
   52|      0|        case Py_nb_xor:
  ------------------
  |  |   46|      0|#define Py_nb_xor 38
  ------------------
  |  Branch (52:9): [True: 0, False: 37]
  ------------------
   53|      0|        case Py_sq_ass_item:
  ------------------
  |  |   47|      0|#define Py_sq_ass_item 39
  ------------------
  |  Branch (53:9): [True: 0, False: 37]
  ------------------
   54|      0|        case Py_sq_concat:
  ------------------
  |  |   48|      0|#define Py_sq_concat 40
  ------------------
  |  Branch (54:9): [True: 0, False: 37]
  ------------------
   55|      0|        case Py_sq_contains:
  ------------------
  |  |   49|      0|#define Py_sq_contains 41
  ------------------
  |  Branch (55:9): [True: 0, False: 37]
  ------------------
   56|      0|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|      0|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (56:9): [True: 0, False: 37]
  ------------------
   57|      0|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|      0|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (57:9): [True: 0, False: 37]
  ------------------
   58|      0|        case Py_sq_item:
  ------------------
  |  |   52|      0|#define Py_sq_item 44
  ------------------
  |  Branch (58:9): [True: 0, False: 37]
  ------------------
   59|      0|        case Py_sq_length:
  ------------------
  |  |   53|      0|#define Py_sq_length 45
  ------------------
  |  Branch (59:9): [True: 0, False: 37]
  ------------------
   60|      0|        case Py_sq_repeat:
  ------------------
  |  |   54|      0|#define Py_sq_repeat 46
  ------------------
  |  Branch (60:9): [True: 0, False: 37]
  ------------------
   61|      0|        case Py_tp_alloc:
  ------------------
  |  |   55|      0|#define Py_tp_alloc 47
  ------------------
  |  Branch (61:9): [True: 0, False: 37]
  ------------------
   62|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (62:9): [True: 0, False: 37]
  ------------------
   63|      0|        case Py_tp_bases:
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (63:9): [True: 0, False: 37]
  ------------------
   64|      0|        case Py_tp_call:
  ------------------
  |  |   58|      0|#define Py_tp_call 50
  ------------------
  |  Branch (64:9): [True: 0, False: 37]
  ------------------
   65|      0|        case Py_tp_clear:
  ------------------
  |  |   59|      0|#define Py_tp_clear 51
  ------------------
  |  Branch (65:9): [True: 0, False: 37]
  ------------------
   66|      0|        case Py_tp_dealloc:
  ------------------
  |  |   60|      0|#define Py_tp_dealloc 52
  ------------------
  |  Branch (66:9): [True: 0, False: 37]
  ------------------
   67|      0|        case Py_tp_del:
  ------------------
  |  |   61|      0|#define Py_tp_del 53
  ------------------
  |  Branch (67:9): [True: 0, False: 37]
  ------------------
   68|      0|        case Py_tp_descr_get:
  ------------------
  |  |   62|      0|#define Py_tp_descr_get 54
  ------------------
  |  Branch (68:9): [True: 0, False: 37]
  ------------------
   69|      0|        case Py_tp_descr_set:
  ------------------
  |  |   63|      0|#define Py_tp_descr_set 55
  ------------------
  |  Branch (69:9): [True: 0, False: 37]
  ------------------
   70|      0|        case Py_tp_doc:
  ------------------
  |  |   64|      0|#define Py_tp_doc 56
  ------------------
  |  Branch (70:9): [True: 0, False: 37]
  ------------------
   71|      0|        case Py_tp_getattr:
  ------------------
  |  |   65|      0|#define Py_tp_getattr 57
  ------------------
  |  Branch (71:9): [True: 0, False: 37]
  ------------------
   72|      0|        case Py_tp_getattro:
  ------------------
  |  |   66|      0|#define Py_tp_getattro 58
  ------------------
  |  Branch (72:9): [True: 0, False: 37]
  ------------------
   73|      0|        case Py_tp_hash:
  ------------------
  |  |   67|      0|#define Py_tp_hash 59
  ------------------
  |  Branch (73:9): [True: 0, False: 37]
  ------------------
   74|      0|        case Py_tp_init:
  ------------------
  |  |   68|      0|#define Py_tp_init 60
  ------------------
  |  Branch (74:9): [True: 0, False: 37]
  ------------------
   75|      0|        case Py_tp_is_gc:
  ------------------
  |  |   69|      0|#define Py_tp_is_gc 61
  ------------------
  |  Branch (75:9): [True: 0, False: 37]
  ------------------
   76|      0|        case Py_tp_iter:
  ------------------
  |  |   70|      0|#define Py_tp_iter 62
  ------------------
  |  Branch (76:9): [True: 0, False: 37]
  ------------------
   77|      0|        case Py_tp_iternext:
  ------------------
  |  |   71|      0|#define Py_tp_iternext 63
  ------------------
  |  Branch (77:9): [True: 0, False: 37]
  ------------------
   78|      0|        case Py_tp_methods:
  ------------------
  |  |   72|      0|#define Py_tp_methods 64
  ------------------
  |  Branch (78:9): [True: 0, False: 37]
  ------------------
   79|      0|        case Py_tp_new:
  ------------------
  |  |   73|      0|#define Py_tp_new 65
  ------------------
  |  Branch (79:9): [True: 0, False: 37]
  ------------------
   80|      0|        case Py_tp_repr:
  ------------------
  |  |   74|      0|#define Py_tp_repr 66
  ------------------
  |  Branch (80:9): [True: 0, False: 37]
  ------------------
   81|      0|        case Py_tp_richcompare:
  ------------------
  |  |   75|      0|#define Py_tp_richcompare 67
  ------------------
  |  Branch (81:9): [True: 0, False: 37]
  ------------------
   82|      0|        case Py_tp_setattr:
  ------------------
  |  |   76|      0|#define Py_tp_setattr 68
  ------------------
  |  Branch (82:9): [True: 0, False: 37]
  ------------------
   83|      0|        case Py_tp_setattro:
  ------------------
  |  |   77|      0|#define Py_tp_setattro 69
  ------------------
  |  Branch (83:9): [True: 0, False: 37]
  ------------------
   84|      0|        case Py_tp_str:
  ------------------
  |  |   78|      0|#define Py_tp_str 70
  ------------------
  |  Branch (84:9): [True: 0, False: 37]
  ------------------
   85|      0|        case Py_tp_traverse:
  ------------------
  |  |   79|      0|#define Py_tp_traverse 71
  ------------------
  |  Branch (85:9): [True: 0, False: 37]
  ------------------
   86|      0|        case Py_tp_members:
  ------------------
  |  |   80|      0|#define Py_tp_members 72
  ------------------
  |  Branch (86:9): [True: 0, False: 37]
  ------------------
   87|      0|        case Py_tp_getset:
  ------------------
  |  |   81|      0|#define Py_tp_getset 73
  ------------------
  |  Branch (87:9): [True: 0, False: 37]
  ------------------
   88|     37|        case Py_tp_free:
  ------------------
  |  |   82|     37|#define Py_tp_free 74
  ------------------
  |  Branch (88:9): [True: 37, False: 0]
  ------------------
   89|     37|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|     37|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (89:9): [True: 0, False: 37]
  ------------------
   90|     37|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|     37|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (90:9): [True: 0, False: 37]
  ------------------
   91|     37|        case Py_am_await:
  ------------------
  |  |   85|     37|#define Py_am_await 77
  ------------------
  |  Branch (91:9): [True: 0, False: 37]
  ------------------
   92|     37|        case Py_am_aiter:
  ------------------
  |  |   86|     37|#define Py_am_aiter 78
  ------------------
  |  Branch (92:9): [True: 0, False: 37]
  ------------------
   93|     37|        case Py_am_anext:
  ------------------
  |  |   87|     37|#define Py_am_anext 79
  ------------------
  |  Branch (93:9): [True: 0, False: 37]
  ------------------
   94|     37|        case Py_tp_finalize:
  ------------------
  |  |   88|     37|#define Py_tp_finalize 80
  ------------------
  |  Branch (94:9): [True: 0, False: 37]
  ------------------
   95|     37|        case Py_am_send:
  ------------------
  |  |   89|     37|#define Py_am_send 81
  ------------------
  |  Branch (95:9): [True: 0, False: 37]
  ------------------
   96|     37|        case Py_tp_vectorcall:
  ------------------
  |  |   90|     37|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (96:9): [True: 0, False: 37]
  ------------------
   97|     37|        case Py_tp_token:
  ------------------
  |  |   91|     37|#define Py_tp_token 83
  ------------------
  |  Branch (97:9): [True: 0, False: 37]
  ------------------
   98|     37|        case Py_bf_getbuffer:
  ------------------
  |  |   96|     37|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|     37|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (98:9): [True: 0, False: 37]
  ------------------
   99|     37|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|     37|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|     37|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (99:9): [True: 0, False: 37]
  ------------------
  100|     37|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|     37|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|     37|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (100:9): [True: 0, False: 37]
  ------------------
  101|     37|        case Py_mp_length:
  ------------------
  |  |   99|     37|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|     37|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (101:9): [True: 0, False: 37]
  ------------------
  102|     37|        case Py_slot_subslots:
  ------------------
  |  |  100|     37|#define Py_slot_subslots 92
  ------------------
  |  Branch (102:9): [True: 0, False: 37]
  ------------------
  103|     37|        case Py_tp_slots:
  ------------------
  |  |  101|     37|#define Py_tp_slots 93
  ------------------
  |  Branch (103:9): [True: 0, False: 37]
  ------------------
  104|     37|        case Py_tp_name:
  ------------------
  |  |  103|     37|#define Py_tp_name 95
  ------------------
  |  Branch (104:9): [True: 0, False: 37]
  ------------------
  105|     37|        case Py_tp_basicsize:
  ------------------
  |  |  104|     37|#define Py_tp_basicsize 96
  ------------------
  |  Branch (105:9): [True: 0, False: 37]
  ------------------
  106|     37|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|     37|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (106:9): [True: 0, False: 37]
  ------------------
  107|     37|        case Py_tp_itemsize:
  ------------------
  |  |  106|     37|#define Py_tp_itemsize 98
  ------------------
  |  Branch (107:9): [True: 0, False: 37]
  ------------------
  108|     37|        case Py_tp_flags:
  ------------------
  |  |  107|     37|#define Py_tp_flags 99
  ------------------
  |  Branch (108:9): [True: 0, False: 37]
  ------------------
  109|     37|        case Py_tp_metaclass:
  ------------------
  |  |  115|     37|#define Py_tp_metaclass 107
  ------------------
  |  Branch (109:9): [True: 0, False: 37]
  ------------------
  110|     37|        case Py_tp_module:
  ------------------
  |  |  116|     37|#define Py_tp_module 108
  ------------------
  |  Branch (110:9): [True: 0, False: 37]
  ------------------
  111|     37|            return slot_id;
  112|      0|        default:
  ------------------
  |  Branch (112:9): [True: 0, False: 37]
  ------------------
  113|      0|            return Py_slot_invalid;
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  114|     37|    }
  115|     37|}
typeobject.c:_PySlot_type_getslot:
  153|     37|{
  154|     37|    switch (slot_id) {
  ------------------
  |  Branch (154:13): [True: 37, False: 0]
  ------------------
  155|      0|        case Py_mp_subscript:
  ------------------
  |  |   13|      0|#define Py_mp_subscript 5
  ------------------
  |  Branch (155:9): [True: 0, False: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  334|      0|            return (void*)tp->tp_getset;
  335|     37|        case Py_tp_free:
  ------------------
  |  |   82|     37|#define Py_tp_free 74
  ------------------
  |  Branch (335:9): [True: 37, False: 0]
  ------------------
  336|     37|            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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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: 37]
  ------------------
  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|     37|    }
  375|      0|    _PySlot_err_bad_slot("PyType_GetSlot", slot_id);
  376|       |    return NULL;
  377|     37|}
slots.c:_PySlot_resolve_type_slot:
    8|  2.14k|{
    9|  2.14k|    switch (slot_id) {
   10|      0|        case 1:
  ------------------
  |  Branch (10:9): [True: 0, False: 2.14k]
  ------------------
   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.14k]
  ------------------
   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.14k]
  ------------------
   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.14k]
  ------------------
   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|    242|        case Py_slot_end:
  ------------------
  |  |   12|    242|#define Py_slot_end 0
  ------------------
  |  Branch (18:9): [True: 242, False: 1.90k]
  ------------------
   19|    244|        case Py_mp_subscript:
  ------------------
  |  |   13|    244|#define Py_mp_subscript 5
  ------------------
  |  Branch (19:9): [True: 2, False: 2.14k]
  ------------------
   20|    244|        case Py_nb_absolute:
  ------------------
  |  |   14|    244|#define Py_nb_absolute 6
  ------------------
  |  Branch (20:9): [True: 0, False: 2.14k]
  ------------------
   21|    244|        case Py_nb_add:
  ------------------
  |  |   15|    244|#define Py_nb_add 7
  ------------------
  |  Branch (21:9): [True: 0, False: 2.14k]
  ------------------
   22|    244|        case Py_nb_and:
  ------------------
  |  |   16|    244|#define Py_nb_and 8
  ------------------
  |  Branch (22:9): [True: 0, False: 2.14k]
  ------------------
   23|    244|        case Py_nb_bool:
  ------------------
  |  |   17|    244|#define Py_nb_bool 9
  ------------------
  |  Branch (23:9): [True: 0, False: 2.14k]
  ------------------
   24|    244|        case Py_nb_divmod:
  ------------------
  |  |   18|    244|#define Py_nb_divmod 10
  ------------------
  |  Branch (24:9): [True: 0, False: 2.14k]
  ------------------
   25|    244|        case Py_nb_float:
  ------------------
  |  |   19|    244|#define Py_nb_float 11
  ------------------
  |  Branch (25:9): [True: 0, False: 2.14k]
  ------------------
   26|    244|        case Py_nb_floor_divide:
  ------------------
  |  |   20|    244|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (26:9): [True: 0, False: 2.14k]
  ------------------
   27|    244|        case Py_nb_index:
  ------------------
  |  |   21|    244|#define Py_nb_index 13
  ------------------
  |  Branch (27:9): [True: 0, False: 2.14k]
  ------------------
   28|    244|        case Py_nb_inplace_add:
  ------------------
  |  |   22|    244|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (28:9): [True: 0, False: 2.14k]
  ------------------
   29|    244|        case Py_nb_inplace_and:
  ------------------
  |  |   23|    244|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (29:9): [True: 0, False: 2.14k]
  ------------------
   30|    244|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|    244|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (30:9): [True: 0, False: 2.14k]
  ------------------
   31|    244|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|    244|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (31:9): [True: 0, False: 2.14k]
  ------------------
   32|    244|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|    244|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (32:9): [True: 0, False: 2.14k]
  ------------------
   33|    244|        case Py_nb_inplace_or:
  ------------------
  |  |   27|    244|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (33:9): [True: 0, False: 2.14k]
  ------------------
   34|    244|        case Py_nb_inplace_power:
  ------------------
  |  |   28|    244|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (34:9): [True: 0, False: 2.14k]
  ------------------
   35|    244|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|    244|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (35:9): [True: 0, False: 2.14k]
  ------------------
   36|    244|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|    244|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (36:9): [True: 0, False: 2.14k]
  ------------------
   37|    244|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|    244|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (37:9): [True: 0, False: 2.14k]
  ------------------
   38|    244|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|    244|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (38:9): [True: 0, False: 2.14k]
  ------------------
   39|    244|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|    244|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (39:9): [True: 0, False: 2.14k]
  ------------------
   40|    244|        case Py_nb_int:
  ------------------
  |  |   34|    244|#define Py_nb_int 26
  ------------------
  |  Branch (40:9): [True: 0, False: 2.14k]
  ------------------
   41|    244|        case Py_nb_invert:
  ------------------
  |  |   35|    244|#define Py_nb_invert 27
  ------------------
  |  Branch (41:9): [True: 0, False: 2.14k]
  ------------------
   42|    244|        case Py_nb_lshift:
  ------------------
  |  |   36|    244|#define Py_nb_lshift 28
  ------------------
  |  Branch (42:9): [True: 0, False: 2.14k]
  ------------------
   43|    244|        case Py_nb_multiply:
  ------------------
  |  |   37|    244|#define Py_nb_multiply 29
  ------------------
  |  Branch (43:9): [True: 0, False: 2.14k]
  ------------------
   44|    244|        case Py_nb_negative:
  ------------------
  |  |   38|    244|#define Py_nb_negative 30
  ------------------
  |  Branch (44:9): [True: 0, False: 2.14k]
  ------------------
   45|    254|        case Py_nb_or:
  ------------------
  |  |   39|    254|#define Py_nb_or 31
  ------------------
  |  Branch (45:9): [True: 10, False: 2.13k]
  ------------------
   46|    254|        case Py_nb_positive:
  ------------------
  |  |   40|    254|#define Py_nb_positive 32
  ------------------
  |  Branch (46:9): [True: 0, False: 2.14k]
  ------------------
   47|    254|        case Py_nb_power:
  ------------------
  |  |   41|    254|#define Py_nb_power 33
  ------------------
  |  Branch (47:9): [True: 0, False: 2.14k]
  ------------------
   48|    254|        case Py_nb_remainder:
  ------------------
  |  |   42|    254|#define Py_nb_remainder 34
  ------------------
  |  Branch (48:9): [True: 0, False: 2.14k]
  ------------------
   49|    254|        case Py_nb_rshift:
  ------------------
  |  |   43|    254|#define Py_nb_rshift 35
  ------------------
  |  Branch (49:9): [True: 0, False: 2.14k]
  ------------------
   50|    254|        case Py_nb_subtract:
  ------------------
  |  |   44|    254|#define Py_nb_subtract 36
  ------------------
  |  Branch (50:9): [True: 0, False: 2.14k]
  ------------------
   51|    254|        case Py_nb_true_divide:
  ------------------
  |  |   45|    254|#define Py_nb_true_divide 37
  ------------------
  |  Branch (51:9): [True: 0, False: 2.14k]
  ------------------
   52|    254|        case Py_nb_xor:
  ------------------
  |  |   46|    254|#define Py_nb_xor 38
  ------------------
  |  Branch (52:9): [True: 0, False: 2.14k]
  ------------------
   53|    256|        case Py_sq_ass_item:
  ------------------
  |  |   47|    256|#define Py_sq_ass_item 39
  ------------------
  |  Branch (53:9): [True: 2, False: 2.14k]
  ------------------
   54|    258|        case Py_sq_concat:
  ------------------
  |  |   48|    258|#define Py_sq_concat 40
  ------------------
  |  Branch (54:9): [True: 2, False: 2.14k]
  ------------------
   55|    260|        case Py_sq_contains:
  ------------------
  |  |   49|    260|#define Py_sq_contains 41
  ------------------
  |  Branch (55:9): [True: 2, False: 2.14k]
  ------------------
   56|    262|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|    262|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (56:9): [True: 2, False: 2.14k]
  ------------------
   57|    264|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|    264|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (57:9): [True: 2, False: 2.14k]
  ------------------
   58|    266|        case Py_sq_item:
  ------------------
  |  |   52|    266|#define Py_sq_item 44
  ------------------
  |  Branch (58:9): [True: 2, False: 2.14k]
  ------------------
   59|    268|        case Py_sq_length:
  ------------------
  |  |   53|    268|#define Py_sq_length 45
  ------------------
  |  Branch (59:9): [True: 2, False: 2.14k]
  ------------------
   60|    270|        case Py_sq_repeat:
  ------------------
  |  |   54|    270|#define Py_sq_repeat 46
  ------------------
  |  Branch (60:9): [True: 2, False: 2.14k]
  ------------------
   61|    312|        case Py_tp_alloc:
  ------------------
  |  |   55|    312|#define Py_tp_alloc 47
  ------------------
  |  Branch (61:9): [True: 42, False: 2.10k]
  ------------------
   62|    312|        case Py_tp_base:
  ------------------
  |  |   56|    312|#define Py_tp_base 48
  ------------------
  |  Branch (62:9): [True: 0, False: 2.14k]
  ------------------
   63|    312|        case Py_tp_bases:
  ------------------
  |  |   57|    312|#define Py_tp_bases 49
  ------------------
  |  Branch (63:9): [True: 0, False: 2.14k]
  ------------------
   64|    328|        case Py_tp_call:
  ------------------
  |  |   58|    328|#define Py_tp_call 50
  ------------------
  |  Branch (64:9): [True: 16, False: 2.13k]
  ------------------
   65|    436|        case Py_tp_clear:
  ------------------
  |  |   59|    436|#define Py_tp_clear 51
  ------------------
  |  Branch (65:9): [True: 108, False: 2.04k]
  ------------------
   66|    666|        case Py_tp_dealloc:
  ------------------
  |  |   60|    666|#define Py_tp_dealloc 52
  ------------------
  |  Branch (66:9): [True: 230, False: 1.91k]
  ------------------
   67|    666|        case Py_tp_del:
  ------------------
  |  |   61|    666|#define Py_tp_del 53
  ------------------
  |  Branch (67:9): [True: 0, False: 2.14k]
  ------------------
   68|    672|        case Py_tp_descr_get:
  ------------------
  |  |   62|    672|#define Py_tp_descr_get 54
  ------------------
  |  Branch (68:9): [True: 6, False: 2.14k]
  ------------------
   69|    674|        case Py_tp_descr_set:
  ------------------
  |  |   63|    674|#define Py_tp_descr_set 55
  ------------------
  |  Branch (69:9): [True: 2, False: 2.14k]
  ------------------
   70|    866|        case Py_tp_doc:
  ------------------
  |  |   64|    866|#define Py_tp_doc 56
  ------------------
  |  Branch (70:9): [True: 192, False: 1.95k]
  ------------------
   71|    866|        case Py_tp_getattr:
  ------------------
  |  |   65|    866|#define Py_tp_getattr 57
  ------------------
  |  Branch (71:9): [True: 0, False: 2.14k]
  ------------------
   72|    936|        case Py_tp_getattro:
  ------------------
  |  |   66|    936|#define Py_tp_getattro 58
  ------------------
  |  Branch (72:9): [True: 70, False: 2.07k]
  ------------------
   73|    940|        case Py_tp_hash:
  ------------------
  |  |   67|    940|#define Py_tp_hash 59
  ------------------
  |  Branch (73:9): [True: 4, False: 2.14k]
  ------------------
   74|    982|        case Py_tp_init:
  ------------------
  |  |   68|    982|#define Py_tp_init 60
  ------------------
  |  Branch (74:9): [True: 42, False: 2.10k]
  ------------------
   75|    982|        case Py_tp_is_gc:
  ------------------
  |  |   69|    982|#define Py_tp_is_gc 61
  ------------------
  |  Branch (75:9): [True: 0, False: 2.14k]
  ------------------
   76|  1.05k|        case Py_tp_iter:
  ------------------
  |  |   70|  1.05k|#define Py_tp_iter 62
  ------------------
  |  Branch (76:9): [True: 68, False: 2.08k]
  ------------------
   77|  1.12k|        case Py_tp_iternext:
  ------------------
  |  |   71|  1.12k|#define Py_tp_iternext 63
  ------------------
  |  Branch (77:9): [True: 78, False: 2.07k]
  ------------------
   78|  1.30k|        case Py_tp_methods:
  ------------------
  |  |   72|  1.30k|#define Py_tp_methods 64
  ------------------
  |  Branch (78:9): [True: 176, False: 1.97k]
  ------------------
   79|  1.45k|        case Py_tp_new:
  ------------------
  |  |   73|  1.45k|#define Py_tp_new 65
  ------------------
  |  Branch (79:9): [True: 154, False: 1.99k]
  ------------------
   80|  1.58k|        case Py_tp_repr:
  ------------------
  |  |   74|  1.58k|#define Py_tp_repr 66
  ------------------
  |  Branch (80:9): [True: 126, False: 2.02k]
  ------------------
   81|  1.59k|        case Py_tp_richcompare:
  ------------------
  |  |   75|  1.59k|#define Py_tp_richcompare 67
  ------------------
  |  Branch (81:9): [True: 14, False: 2.13k]
  ------------------
   82|  1.59k|        case Py_tp_setattr:
  ------------------
  |  |   76|  1.59k|#define Py_tp_setattr 68
  ------------------
  |  Branch (82:9): [True: 0, False: 2.14k]
  ------------------
   83|  1.60k|        case Py_tp_setattro:
  ------------------
  |  |   77|  1.60k|#define Py_tp_setattro 69
  ------------------
  |  Branch (83:9): [True: 8, False: 2.14k]
  ------------------
   84|  1.60k|        case Py_tp_str:
  ------------------
  |  |   78|  1.60k|#define Py_tp_str 70
  ------------------
  |  Branch (84:9): [True: 2, False: 2.14k]
  ------------------
   85|  1.82k|        case Py_tp_traverse:
  ------------------
  |  |   79|  1.82k|#define Py_tp_traverse 71
  ------------------
  |  Branch (85:9): [True: 216, False: 1.93k]
  ------------------
   86|  1.96k|        case Py_tp_members:
  ------------------
  |  |   80|  1.96k|#define Py_tp_members 72
  ------------------
  |  Branch (86:9): [True: 138, False: 2.01k]
  ------------------
   87|  2.04k|        case Py_tp_getset:
  ------------------
  |  |   81|  2.04k|#define Py_tp_getset 73
  ------------------
  |  Branch (87:9): [True: 84, False: 2.06k]
  ------------------
   88|  2.12k|        case Py_tp_free:
  ------------------
  |  |   82|  2.12k|#define Py_tp_free 74
  ------------------
  |  Branch (88:9): [True: 80, False: 2.06k]
  ------------------
   89|  2.12k|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|  2.12k|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (89:9): [True: 0, False: 2.14k]
  ------------------
   90|  2.12k|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|  2.12k|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (90:9): [True: 0, False: 2.14k]
  ------------------
   91|  2.12k|        case Py_am_await:
  ------------------
  |  |   85|  2.12k|#define Py_am_await 77
  ------------------
  |  Branch (91:9): [True: 0, False: 2.14k]
  ------------------
   92|  2.12k|        case Py_am_aiter:
  ------------------
  |  |   86|  2.12k|#define Py_am_aiter 78
  ------------------
  |  Branch (92:9): [True: 0, False: 2.14k]
  ------------------
   93|  2.12k|        case Py_am_anext:
  ------------------
  |  |   87|  2.12k|#define Py_am_anext 79
  ------------------
  |  Branch (93:9): [True: 0, False: 2.14k]
  ------------------
   94|  2.13k|        case Py_tp_finalize:
  ------------------
  |  |   88|  2.13k|#define Py_tp_finalize 80
  ------------------
  |  Branch (94:9): [True: 8, False: 2.14k]
  ------------------
   95|  2.13k|        case Py_am_send:
  ------------------
  |  |   89|  2.13k|#define Py_am_send 81
  ------------------
  |  Branch (95:9): [True: 0, False: 2.14k]
  ------------------
   96|  2.13k|        case Py_tp_vectorcall:
  ------------------
  |  |   90|  2.13k|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (96:9): [True: 4, False: 2.14k]
  ------------------
   97|  2.14k|        case Py_tp_token:
  ------------------
  |  |   91|  2.14k|#define Py_tp_token 83
  ------------------
  |  Branch (97:9): [True: 2, False: 2.14k]
  ------------------
   98|  2.14k|        case Py_bf_getbuffer:
  ------------------
  |  |   96|  2.14k|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|  2.14k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (98:9): [True: 4, False: 2.14k]
  ------------------
   99|  2.14k|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|  2.14k|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|  2.14k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (99:9): [True: 4, False: 2.14k]
  ------------------
  100|  2.14k|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|  2.14k|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|  2.14k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (100:9): [True: 0, False: 2.14k]
  ------------------
  101|  2.14k|        case Py_mp_length:
  ------------------
  |  |   99|  2.14k|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|  2.14k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (101:9): [True: 0, False: 2.14k]
  ------------------
  102|  2.14k|        case Py_slot_subslots:
  ------------------
  |  |  100|  2.14k|#define Py_slot_subslots 92
  ------------------
  |  Branch (102:9): [True: 0, False: 2.14k]
  ------------------
  103|  2.14k|        case Py_tp_slots:
  ------------------
  |  |  101|  2.14k|#define Py_tp_slots 93
  ------------------
  |  Branch (103:9): [True: 0, False: 2.14k]
  ------------------
  104|  2.14k|        case Py_tp_name:
  ------------------
  |  |  103|  2.14k|#define Py_tp_name 95
  ------------------
  |  Branch (104:9): [True: 0, False: 2.14k]
  ------------------
  105|  2.14k|        case Py_tp_basicsize:
  ------------------
  |  |  104|  2.14k|#define Py_tp_basicsize 96
  ------------------
  |  Branch (105:9): [True: 0, False: 2.14k]
  ------------------
  106|  2.14k|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|  2.14k|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (106:9): [True: 0, False: 2.14k]
  ------------------
  107|  2.14k|        case Py_tp_itemsize:
  ------------------
  |  |  106|  2.14k|#define Py_tp_itemsize 98
  ------------------
  |  Branch (107:9): [True: 0, False: 2.14k]
  ------------------
  108|  2.14k|        case Py_tp_flags:
  ------------------
  |  |  107|  2.14k|#define Py_tp_flags 99
  ------------------
  |  Branch (108:9): [True: 0, False: 2.14k]
  ------------------
  109|  2.14k|        case Py_tp_metaclass:
  ------------------
  |  |  115|  2.14k|#define Py_tp_metaclass 107
  ------------------
  |  Branch (109:9): [True: 0, False: 2.14k]
  ------------------
  110|  2.14k|        case Py_tp_module:
  ------------------
  |  |  116|  2.14k|#define Py_tp_module 108
  ------------------
  |  Branch (110:9): [True: 0, False: 2.14k]
  ------------------
  111|  2.14k|            return slot_id;
  112|      0|        default:
  ------------------
  |  Branch (112:9): [True: 0, False: 2.14k]
  ------------------
  113|      0|            return Py_slot_invalid;
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  114|  2.14k|    }
  115|  2.14k|}
slots.c:_PySlot_resolve_mod_slot:
  119|    328|{
  120|    328|    switch (slot_id) {
  121|      0|        case 1:
  ------------------
  |  Branch (121:9): [True: 0, False: 328]
  ------------------
  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: 320]
  ------------------
  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: 320]
  ------------------
  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: 320]
  ------------------
  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|     68|        case Py_slot_end:
  ------------------
  |  |   12|     68|#define Py_slot_end 0
  ------------------
  |  Branch (129:9): [True: 68, False: 260]
  ------------------
  130|     68|        case Py_mod_create:
  ------------------
  |  |   92|     68|#define Py_mod_create _Py_SLOT_COMPAT_VALUE(1, 84)
  |  |  ------------------
  |  |  |  |    7|     68|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (130:9): [True: 0, False: 328]
  ------------------
  131|    124|        case Py_mod_exec:
  ------------------
  |  |   93|    124|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|    124|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (131:9): [True: 56, False: 272]
  ------------------
  132|    184|        case Py_mod_multiple_interpreters:
  ------------------
  |  |   94|    184|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|    184|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (132:9): [True: 60, False: 268]
  ------------------
  133|    244|        case Py_mod_gil:
  ------------------
  |  |   95|    244|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|    244|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (133:9): [True: 60, False: 268]
  ------------------
  134|    244|        case Py_slot_subslots:
  ------------------
  |  |  100|    244|#define Py_slot_subslots 92
  ------------------
  |  Branch (134:9): [True: 0, False: 328]
  ------------------
  135|    244|        case Py_mod_slots:
  ------------------
  |  |  102|    244|#define Py_mod_slots 94
  ------------------
  |  Branch (135:9): [True: 0, False: 328]
  ------------------
  136|    244|        case Py_mod_name:
  ------------------
  |  |  108|    244|#define Py_mod_name 100
  ------------------
  |  Branch (136:9): [True: 0, False: 328]
  ------------------
  137|    244|        case Py_mod_doc:
  ------------------
  |  |  109|    244|#define Py_mod_doc 101
  ------------------
  |  Branch (137:9): [True: 0, False: 328]
  ------------------
  138|    244|        case Py_mod_state_size:
  ------------------
  |  |  110|    244|#define Py_mod_state_size 102
  ------------------
  |  Branch (138:9): [True: 0, False: 328]
  ------------------
  139|    244|        case Py_mod_methods:
  ------------------
  |  |  111|    244|#define Py_mod_methods 103
  ------------------
  |  Branch (139:9): [True: 0, False: 328]
  ------------------
  140|    244|        case Py_mod_state_traverse:
  ------------------
  |  |  112|    244|#define Py_mod_state_traverse 104
  ------------------
  |  Branch (140:9): [True: 0, False: 328]
  ------------------
  141|    244|        case Py_mod_state_clear:
  ------------------
  |  |  113|    244|#define Py_mod_state_clear 105
  ------------------
  |  Branch (141:9): [True: 0, False: 328]
  ------------------
  142|    244|        case Py_mod_state_free:
  ------------------
  |  |  114|    244|#define Py_mod_state_free 106
  ------------------
  |  Branch (142:9): [True: 0, False: 328]
  ------------------
  143|    304|        case Py_mod_abi:
  ------------------
  |  |  117|    304|#define Py_mod_abi 109
  ------------------
  |  Branch (143:9): [True: 60, False: 268]
  ------------------
  144|    304|        case Py_mod_token:
  ------------------
  |  |  118|    304|#define Py_mod_token 110
  ------------------
  |  Branch (144:9): [True: 0, False: 328]
  ------------------
  145|    304|            return slot_id;
  146|      0|        default:
  ------------------
  |  Branch (146:9): [True: 0, False: 328]
  ------------------
  147|      0|            return Py_slot_invalid;
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  148|    328|    }
  149|    328|}
slots.c:_PySlot_get_dtype:
  634|  5.31k|{
  635|  5.31k|    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.31k]
  ------------------
  637|      5|        case Py_mp_subscript: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   13|      5|#define Py_mp_subscript 5
  ------------------
  |  Branch (637:9): [True: 5, False: 5.30k]
  ------------------
  638|      0|        case Py_nb_absolute: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   14|      0|#define Py_nb_absolute 6
  ------------------
  |  Branch (638:9): [True: 0, False: 5.31k]
  ------------------
  639|      0|        case Py_nb_add: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   15|      0|#define Py_nb_add 7
  ------------------
  |  Branch (639:9): [True: 0, False: 5.31k]
  ------------------
  640|      0|        case Py_nb_and: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   16|      0|#define Py_nb_and 8
  ------------------
  |  Branch (640:9): [True: 0, False: 5.31k]
  ------------------
  641|      0|        case Py_nb_bool: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   17|      0|#define Py_nb_bool 9
  ------------------
  |  Branch (641:9): [True: 0, False: 5.31k]
  ------------------
  642|      0|        case Py_nb_divmod: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   18|      0|#define Py_nb_divmod 10
  ------------------
  |  Branch (642:9): [True: 0, False: 5.31k]
  ------------------
  643|      0|        case Py_nb_float: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   19|      0|#define Py_nb_float 11
  ------------------
  |  Branch (643:9): [True: 0, False: 5.31k]
  ------------------
  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.31k]
  ------------------
  645|      0|        case Py_nb_index: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   21|      0|#define Py_nb_index 13
  ------------------
  |  Branch (645:9): [True: 0, False: 5.31k]
  ------------------
  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.31k]
  ------------------
  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.31k]
  ------------------
  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.31k]
  ------------------
  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.31k]
  ------------------
  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.31k]
  ------------------
  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.31k]
  ------------------
  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.31k]
  ------------------
  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.31k]
  ------------------
  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.31k]
  ------------------
  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.31k]
  ------------------
  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.31k]
  ------------------
  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.31k]
  ------------------
  658|      0|        case Py_nb_int: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   34|      0|#define Py_nb_int 26
  ------------------
  |  Branch (658:9): [True: 0, False: 5.31k]
  ------------------
  659|      0|        case Py_nb_invert: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   35|      0|#define Py_nb_invert 27
  ------------------
  |  Branch (659:9): [True: 0, False: 5.31k]
  ------------------
  660|      0|        case Py_nb_lshift: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   36|      0|#define Py_nb_lshift 28
  ------------------
  |  Branch (660:9): [True: 0, False: 5.31k]
  ------------------
  661|      0|        case Py_nb_multiply: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   37|      0|#define Py_nb_multiply 29
  ------------------
  |  Branch (661:9): [True: 0, False: 5.31k]
  ------------------
  662|      0|        case Py_nb_negative: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   38|      0|#define Py_nb_negative 30
  ------------------
  |  Branch (662:9): [True: 0, False: 5.31k]
  ------------------
  663|     25|        case Py_nb_or: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   39|     25|#define Py_nb_or 31
  ------------------
  |  Branch (663:9): [True: 25, False: 5.28k]
  ------------------
  664|      0|        case Py_nb_positive: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   40|      0|#define Py_nb_positive 32
  ------------------
  |  Branch (664:9): [True: 0, False: 5.31k]
  ------------------
  665|      0|        case Py_nb_power: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   41|      0|#define Py_nb_power 33
  ------------------
  |  Branch (665:9): [True: 0, False: 5.31k]
  ------------------
  666|      0|        case Py_nb_remainder: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   42|      0|#define Py_nb_remainder 34
  ------------------
  |  Branch (666:9): [True: 0, False: 5.31k]
  ------------------
  667|      0|        case Py_nb_rshift: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   43|      0|#define Py_nb_rshift 35
  ------------------
  |  Branch (667:9): [True: 0, False: 5.31k]
  ------------------
  668|      0|        case Py_nb_subtract: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   44|      0|#define Py_nb_subtract 36
  ------------------
  |  Branch (668:9): [True: 0, False: 5.31k]
  ------------------
  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.31k]
  ------------------
  670|      0|        case Py_nb_xor: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   46|      0|#define Py_nb_xor 38
  ------------------
  |  Branch (670:9): [True: 0, False: 5.31k]
  ------------------
  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.30k]
  ------------------
  672|      5|        case Py_sq_concat: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   48|      5|#define Py_sq_concat 40
  ------------------
  |  Branch (672:9): [True: 5, False: 5.30k]
  ------------------
  673|      5|        case Py_sq_contains: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   49|      5|#define Py_sq_contains 41
  ------------------
  |  Branch (673:9): [True: 5, False: 5.30k]
  ------------------
  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.30k]
  ------------------
  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.30k]
  ------------------
  676|      5|        case Py_sq_item: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   52|      5|#define Py_sq_item 44
  ------------------
  |  Branch (676:9): [True: 5, False: 5.30k]
  ------------------
  677|      5|        case Py_sq_length: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   53|      5|#define Py_sq_length 45
  ------------------
  |  Branch (677:9): [True: 5, False: 5.30k]
  ------------------
  678|      5|        case Py_sq_repeat: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   54|      5|#define Py_sq_repeat 46
  ------------------
  |  Branch (678:9): [True: 5, False: 5.30k]
  ------------------
  679|    105|        case Py_tp_alloc: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   55|    105|#define Py_tp_alloc 47
  ------------------
  |  Branch (679:9): [True: 105, False: 5.20k]
  ------------------
  680|      0|        case Py_tp_base: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (680:9): [True: 0, False: 5.31k]
  ------------------
  681|      0|        case Py_tp_bases: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (681:9): [True: 0, False: 5.31k]
  ------------------
  682|     40|        case Py_tp_call: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   58|     40|#define Py_tp_call 50
  ------------------
  |  Branch (682:9): [True: 40, False: 5.27k]
  ------------------
  683|    270|        case Py_tp_clear: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   59|    270|#define Py_tp_clear 51
  ------------------
  |  Branch (683:9): [True: 270, False: 5.04k]
  ------------------
  684|    575|        case Py_tp_dealloc: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   60|    575|#define Py_tp_dealloc 52
  ------------------
  |  Branch (684:9): [True: 575, False: 4.73k]
  ------------------
  685|      0|        case Py_tp_del: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   61|      0|#define Py_tp_del 53
  ------------------
  |  Branch (685:9): [True: 0, False: 5.31k]
  ------------------
  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.29k]
  ------------------
  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.30k]
  ------------------
  688|    384|        case Py_tp_doc: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   64|    384|#define Py_tp_doc 56
  ------------------
  |  Branch (688:9): [True: 384, False: 4.92k]
  ------------------
  689|      0|        case Py_tp_getattr: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   65|      0|#define Py_tp_getattr 57
  ------------------
  |  Branch (689:9): [True: 0, False: 5.31k]
  ------------------
  690|    175|        case Py_tp_getattro: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   66|    175|#define Py_tp_getattro 58
  ------------------
  |  Branch (690:9): [True: 175, False: 5.13k]
  ------------------
  691|     10|        case Py_tp_hash: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   67|     10|#define Py_tp_hash 59
  ------------------
  |  Branch (691:9): [True: 10, False: 5.30k]
  ------------------
  692|    105|        case Py_tp_init: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   68|    105|#define Py_tp_init 60
  ------------------
  |  Branch (692:9): [True: 105, False: 5.20k]
  ------------------
  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.31k]
  ------------------
  694|    170|        case Py_tp_iter: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   70|    170|#define Py_tp_iter 62
  ------------------
  |  Branch (694:9): [True: 170, False: 5.14k]
  ------------------
  695|    195|        case Py_tp_iternext: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   71|    195|#define Py_tp_iternext 63
  ------------------
  |  Branch (695:9): [True: 195, False: 5.11k]
  ------------------
  696|    440|        case Py_tp_methods: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   72|    440|#define Py_tp_methods 64
  ------------------
  |  Branch (696:9): [True: 440, False: 4.87k]
  ------------------
  697|    385|        case Py_tp_new: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   73|    385|#define Py_tp_new 65
  ------------------
  |  Branch (697:9): [True: 385, False: 4.92k]
  ------------------
  698|    315|        case Py_tp_repr: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   74|    315|#define Py_tp_repr 66
  ------------------
  |  Branch (698:9): [True: 315, False: 4.99k]
  ------------------
  699|     35|        case Py_tp_richcompare: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   75|     35|#define Py_tp_richcompare 67
  ------------------
  |  Branch (699:9): [True: 35, False: 5.27k]
  ------------------
  700|      0|        case Py_tp_setattr: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   76|      0|#define Py_tp_setattr 68
  ------------------
  |  Branch (700:9): [True: 0, False: 5.31k]
  ------------------
  701|     20|        case Py_tp_setattro: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   77|     20|#define Py_tp_setattro 69
  ------------------
  |  Branch (701:9): [True: 20, False: 5.29k]
  ------------------
  702|      5|        case Py_tp_str: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   78|      5|#define Py_tp_str 70
  ------------------
  |  Branch (702:9): [True: 5, False: 5.30k]
  ------------------
  703|    540|        case Py_tp_traverse: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   79|    540|#define Py_tp_traverse 71
  ------------------
  |  Branch (703:9): [True: 540, False: 4.77k]
  ------------------
  704|    345|        case Py_tp_members: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   80|    345|#define Py_tp_members 72
  ------------------
  |  Branch (704:9): [True: 345, False: 4.96k]
  ------------------
  705|    210|        case Py_tp_getset: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   81|    210|#define Py_tp_getset 73
  ------------------
  |  Branch (705:9): [True: 210, False: 5.10k]
  ------------------
  706|    200|        case Py_tp_free: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   82|    200|#define Py_tp_free 74
  ------------------
  |  Branch (706:9): [True: 200, False: 5.11k]
  ------------------
  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.31k]
  ------------------
  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.31k]
  ------------------
  709|      0|        case Py_am_await: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   85|      0|#define Py_am_await 77
  ------------------
  |  Branch (709:9): [True: 0, False: 5.31k]
  ------------------
  710|      0|        case Py_am_aiter: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   86|      0|#define Py_am_aiter 78
  ------------------
  |  Branch (710:9): [True: 0, False: 5.31k]
  ------------------
  711|      0|        case Py_am_anext: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   87|      0|#define Py_am_anext 79
  ------------------
  |  Branch (711:9): [True: 0, False: 5.31k]
  ------------------
  712|     20|        case Py_tp_finalize: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   88|     20|#define Py_tp_finalize 80
  ------------------
  |  Branch (712:9): [True: 20, False: 5.29k]
  ------------------
  713|      0|        case Py_am_send: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   89|      0|#define Py_am_send 81
  ------------------
  |  Branch (713:9): [True: 0, False: 5.31k]
  ------------------
  714|     10|        case Py_tp_vectorcall: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   90|     10|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (714:9): [True: 10, False: 5.30k]
  ------------------
  715|      4|        case Py_tp_token: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   91|      4|#define Py_tp_token 83
  ------------------
  |  Branch (715:9): [True: 4, False: 5.30k]
  ------------------
  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.31k]
  ------------------
  717|    192|        case Py_mod_exec: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   93|    192|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|    192|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (717:9): [True: 192, False: 5.12k]
  ------------------
  718|    136|        case Py_mod_multiple_interpreters: return _PySlot_DTYPE_UINT64;
  ------------------
  |  |   94|    136|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|    136|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (718:9): [True: 136, False: 5.17k]
  ------------------
  719|    136|        case Py_mod_gil: return _PySlot_DTYPE_UINT64;
  ------------------
  |  |   95|    136|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|    136|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (719:9): [True: 136, False: 5.17k]
  ------------------
  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.30k]
  ------------------
  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.30k]
  ------------------
  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.31k]
  ------------------
  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.31k]
  ------------------
  724|      0|        case Py_slot_subslots: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  100|      0|#define Py_slot_subslots 92
  ------------------
  |  Branch (724:9): [True: 0, False: 5.31k]
  ------------------
  725|      0|        case Py_tp_slots: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  101|      0|#define Py_tp_slots 93
  ------------------
  |  Branch (725:9): [True: 0, False: 5.31k]
  ------------------
  726|      0|        case Py_mod_slots: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  102|      0|#define Py_mod_slots 94
  ------------------
  |  Branch (726:9): [True: 0, False: 5.31k]
  ------------------
  727|      0|        case Py_tp_name: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  103|      0|#define Py_tp_name 95
  ------------------
  |  Branch (727:9): [True: 0, False: 5.31k]
  ------------------
  728|      0|        case Py_tp_basicsize: return _PySlot_DTYPE_SIZE;
  ------------------
  |  |  104|      0|#define Py_tp_basicsize 96
  ------------------
  |  Branch (728:9): [True: 0, False: 5.31k]
  ------------------
  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.31k]
  ------------------
  730|      0|        case Py_tp_itemsize: return _PySlot_DTYPE_SIZE;
  ------------------
  |  |  106|      0|#define Py_tp_itemsize 98
  ------------------
  |  Branch (730:9): [True: 0, False: 5.31k]
  ------------------
  731|      0|        case Py_tp_flags: return _PySlot_DTYPE_UINT64;
  ------------------
  |  |  107|      0|#define Py_tp_flags 99
  ------------------
  |  Branch (731:9): [True: 0, False: 5.31k]
  ------------------
  732|      0|        case Py_mod_name: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  108|      0|#define Py_mod_name 100
  ------------------
  |  Branch (732:9): [True: 0, False: 5.31k]
  ------------------
  733|      0|        case Py_mod_doc: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  109|      0|#define Py_mod_doc 101
  ------------------
  |  Branch (733:9): [True: 0, False: 5.31k]
  ------------------
  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.31k]
  ------------------
  735|      0|        case Py_mod_methods: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  111|      0|#define Py_mod_methods 103
  ------------------
  |  Branch (735:9): [True: 0, False: 5.31k]
  ------------------
  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.31k]
  ------------------
  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.31k]
  ------------------
  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.31k]
  ------------------
  739|      0|        case Py_tp_metaclass: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  115|      0|#define Py_tp_metaclass 107
  ------------------
  |  Branch (739:9): [True: 0, False: 5.31k]
  ------------------
  740|      0|        case Py_tp_module: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  116|      0|#define Py_tp_module 108
  ------------------
  |  Branch (740:9): [True: 0, False: 5.31k]
  ------------------
  741|    180|        case Py_mod_abi: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  117|    180|#define Py_mod_abi 109
  ------------------
  |  Branch (741:9): [True: 180, False: 5.13k]
  ------------------
  742|      0|        case Py_mod_token: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  118|      0|#define Py_mod_token 110
  ------------------
  |  Branch (742:9): [True: 0, False: 5.31k]
  ------------------
  743|      0|        default: return _PySlot_DTYPE_VOID;
  ------------------
  |  Branch (743:9): [True: 0, False: 5.31k]
  ------------------
  744|  5.31k|    }
  745|  5.31k|}
slots.c:_PySlot_get_must_be_static:
  948|  1.21k|{
  949|  1.21k|    switch (slot_id) {
  ------------------
  |  Branch (949:13): [True: 199, False: 1.01k]
  ------------------
  950|     88|        case Py_tp_methods: return true;
  ------------------
  |  |   72|     88|#define Py_tp_methods 64
  ------------------
  |  Branch (950:9): [True: 88, False: 1.12k]
  ------------------
  951|     69|        case Py_tp_members: return true;
  ------------------
  |  |   80|     69|#define Py_tp_members 72
  ------------------
  |  Branch (951:9): [True: 69, False: 1.14k]
  ------------------
  952|     42|        case Py_tp_getset: return true;
  ------------------
  |  |   81|     42|#define Py_tp_getset 73
  ------------------
  |  Branch (952:9): [True: 42, False: 1.17k]
  ------------------
  953|      0|        case Py_mod_methods: return true;
  ------------------
  |  |  111|      0|#define Py_mod_methods 103
  ------------------
  |  Branch (953:9): [True: 0, False: 1.21k]
  ------------------
  954|  1.21k|    }
  955|  1.01k|    return false;
  956|  1.21k|}
slots.c:_PySlot_get_null_handling:
  843|  1.21k|{
  844|  1.21k|    switch (slot_id) {
  845|      0|        case Py_slot_end:
  ------------------
  |  |   12|      0|#define Py_slot_end 0
  ------------------
  |  Branch (845:9): [True: 0, False: 1.21k]
  ------------------
  846|     96|        case Py_tp_doc:
  ------------------
  |  |   64|     96|#define Py_tp_doc 56
  ------------------
  |  Branch (846:9): [True: 96, False: 1.11k]
  ------------------
  847|     97|        case Py_tp_token:
  ------------------
  |  |   91|     97|#define Py_tp_token 83
  ------------------
  |  Branch (847:9): [True: 1, False: 1.21k]
  ------------------
  848|    165|        case Py_mod_multiple_interpreters:
  ------------------
  |  |   94|    165|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|    165|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (848:9): [True: 68, False: 1.14k]
  ------------------
  849|    233|        case Py_mod_gil:
  ------------------
  |  |   95|    233|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|    233|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (849:9): [True: 68, False: 1.14k]
  ------------------
  850|    233|        case Py_slot_subslots:
  ------------------
  |  |  100|    233|#define Py_slot_subslots 92
  ------------------
  |  Branch (850:9): [True: 0, False: 1.21k]
  ------------------
  851|    233|        case Py_tp_slots:
  ------------------
  |  |  101|    233|#define Py_tp_slots 93
  ------------------
  |  Branch (851:9): [True: 0, False: 1.21k]
  ------------------
  852|    233|        case Py_mod_slots:
  ------------------
  |  |  102|    233|#define Py_mod_slots 94
  ------------------
  |  Branch (852:9): [True: 0, False: 1.21k]
  ------------------
  853|    233|        case Py_tp_basicsize:
  ------------------
  |  |  104|    233|#define Py_tp_basicsize 96
  ------------------
  |  Branch (853:9): [True: 0, False: 1.21k]
  ------------------
  854|    233|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|    233|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (854:9): [True: 0, False: 1.21k]
  ------------------
  855|    233|        case Py_tp_itemsize:
  ------------------
  |  |  106|    233|#define Py_tp_itemsize 98
  ------------------
  |  Branch (855:9): [True: 0, False: 1.21k]
  ------------------
  856|    233|        case Py_tp_flags:
  ------------------
  |  |  107|    233|#define Py_tp_flags 99
  ------------------
  |  Branch (856:9): [True: 0, False: 1.21k]
  ------------------
  857|    233|        case Py_mod_state_size:
  ------------------
  |  |  110|    233|#define Py_mod_state_size 102
  ------------------
  |  Branch (857:9): [True: 0, False: 1.21k]
  ------------------
  858|    233|            return _PySlot_PROBLEM_ALLOW;
  859|      1|        case Py_mp_subscript:
  ------------------
  |  |   13|      1|#define Py_mp_subscript 5
  ------------------
  |  Branch (859:9): [True: 1, False: 1.21k]
  ------------------
  860|      1|        case Py_nb_absolute:
  ------------------
  |  |   14|      1|#define Py_nb_absolute 6
  ------------------
  |  Branch (860:9): [True: 0, False: 1.21k]
  ------------------
  861|      1|        case Py_nb_add:
  ------------------
  |  |   15|      1|#define Py_nb_add 7
  ------------------
  |  Branch (861:9): [True: 0, False: 1.21k]
  ------------------
  862|      1|        case Py_nb_and:
  ------------------
  |  |   16|      1|#define Py_nb_and 8
  ------------------
  |  Branch (862:9): [True: 0, False: 1.21k]
  ------------------
  863|      1|        case Py_nb_bool:
  ------------------
  |  |   17|      1|#define Py_nb_bool 9
  ------------------
  |  Branch (863:9): [True: 0, False: 1.21k]
  ------------------
  864|      1|        case Py_nb_divmod:
  ------------------
  |  |   18|      1|#define Py_nb_divmod 10
  ------------------
  |  Branch (864:9): [True: 0, False: 1.21k]
  ------------------
  865|      1|        case Py_nb_float:
  ------------------
  |  |   19|      1|#define Py_nb_float 11
  ------------------
  |  Branch (865:9): [True: 0, False: 1.21k]
  ------------------
  866|      1|        case Py_nb_floor_divide:
  ------------------
  |  |   20|      1|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (866:9): [True: 0, False: 1.21k]
  ------------------
  867|      1|        case Py_nb_index:
  ------------------
  |  |   21|      1|#define Py_nb_index 13
  ------------------
  |  Branch (867:9): [True: 0, False: 1.21k]
  ------------------
  868|      1|        case Py_nb_inplace_add:
  ------------------
  |  |   22|      1|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (868:9): [True: 0, False: 1.21k]
  ------------------
  869|      1|        case Py_nb_inplace_and:
  ------------------
  |  |   23|      1|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (869:9): [True: 0, False: 1.21k]
  ------------------
  870|      1|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|      1|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (870:9): [True: 0, False: 1.21k]
  ------------------
  871|      1|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|      1|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (871:9): [True: 0, False: 1.21k]
  ------------------
  872|      1|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|      1|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (872:9): [True: 0, False: 1.21k]
  ------------------
  873|      1|        case Py_nb_inplace_or:
  ------------------
  |  |   27|      1|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (873:9): [True: 0, False: 1.21k]
  ------------------
  874|      1|        case Py_nb_inplace_power:
  ------------------
  |  |   28|      1|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (874:9): [True: 0, False: 1.21k]
  ------------------
  875|      1|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|      1|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (875:9): [True: 0, False: 1.21k]
  ------------------
  876|      1|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|      1|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (876:9): [True: 0, False: 1.21k]
  ------------------
  877|      1|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|      1|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (877:9): [True: 0, False: 1.21k]
  ------------------
  878|      1|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|      1|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (878:9): [True: 0, False: 1.21k]
  ------------------
  879|      1|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|      1|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (879:9): [True: 0, False: 1.21k]
  ------------------
  880|      1|        case Py_nb_int:
  ------------------
  |  |   34|      1|#define Py_nb_int 26
  ------------------
  |  Branch (880:9): [True: 0, False: 1.21k]
  ------------------
  881|      1|        case Py_nb_invert:
  ------------------
  |  |   35|      1|#define Py_nb_invert 27
  ------------------
  |  Branch (881:9): [True: 0, False: 1.21k]
  ------------------
  882|      1|        case Py_nb_lshift:
  ------------------
  |  |   36|      1|#define Py_nb_lshift 28
  ------------------
  |  Branch (882:9): [True: 0, False: 1.21k]
  ------------------
  883|      1|        case Py_nb_multiply:
  ------------------
  |  |   37|      1|#define Py_nb_multiply 29
  ------------------
  |  Branch (883:9): [True: 0, False: 1.21k]
  ------------------
  884|      1|        case Py_nb_negative:
  ------------------
  |  |   38|      1|#define Py_nb_negative 30
  ------------------
  |  Branch (884:9): [True: 0, False: 1.21k]
  ------------------
  885|      6|        case Py_nb_or:
  ------------------
  |  |   39|      6|#define Py_nb_or 31
  ------------------
  |  Branch (885:9): [True: 5, False: 1.20k]
  ------------------
  886|      6|        case Py_nb_positive:
  ------------------
  |  |   40|      6|#define Py_nb_positive 32
  ------------------
  |  Branch (886:9): [True: 0, False: 1.21k]
  ------------------
  887|      6|        case Py_nb_power:
  ------------------
  |  |   41|      6|#define Py_nb_power 33
  ------------------
  |  Branch (887:9): [True: 0, False: 1.21k]
  ------------------
  888|      6|        case Py_nb_remainder:
  ------------------
  |  |   42|      6|#define Py_nb_remainder 34
  ------------------
  |  Branch (888:9): [True: 0, False: 1.21k]
  ------------------
  889|      6|        case Py_nb_rshift:
  ------------------
  |  |   43|      6|#define Py_nb_rshift 35
  ------------------
  |  Branch (889:9): [True: 0, False: 1.21k]
  ------------------
  890|      6|        case Py_nb_subtract:
  ------------------
  |  |   44|      6|#define Py_nb_subtract 36
  ------------------
  |  Branch (890:9): [True: 0, False: 1.21k]
  ------------------
  891|      6|        case Py_nb_true_divide:
  ------------------
  |  |   45|      6|#define Py_nb_true_divide 37
  ------------------
  |  Branch (891:9): [True: 0, False: 1.21k]
  ------------------
  892|      6|        case Py_nb_xor:
  ------------------
  |  |   46|      6|#define Py_nb_xor 38
  ------------------
  |  Branch (892:9): [True: 0, False: 1.21k]
  ------------------
  893|      7|        case Py_sq_ass_item:
  ------------------
  |  |   47|      7|#define Py_sq_ass_item 39
  ------------------
  |  Branch (893:9): [True: 1, False: 1.21k]
  ------------------
  894|      8|        case Py_sq_concat:
  ------------------
  |  |   48|      8|#define Py_sq_concat 40
  ------------------
  |  Branch (894:9): [True: 1, False: 1.21k]
  ------------------
  895|      9|        case Py_sq_contains:
  ------------------
  |  |   49|      9|#define Py_sq_contains 41
  ------------------
  |  Branch (895:9): [True: 1, False: 1.21k]
  ------------------
  896|     10|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|     10|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (896:9): [True: 1, False: 1.21k]
  ------------------
  897|     11|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|     11|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (897:9): [True: 1, False: 1.21k]
  ------------------
  898|     12|        case Py_sq_item:
  ------------------
  |  |   52|     12|#define Py_sq_item 44
  ------------------
  |  Branch (898:9): [True: 1, False: 1.21k]
  ------------------
  899|     13|        case Py_sq_length:
  ------------------
  |  |   53|     13|#define Py_sq_length 45
  ------------------
  |  Branch (899:9): [True: 1, False: 1.21k]
  ------------------
  900|     14|        case Py_sq_repeat:
  ------------------
  |  |   54|     14|#define Py_sq_repeat 46
  ------------------
  |  Branch (900:9): [True: 1, False: 1.21k]
  ------------------
  901|     35|        case Py_tp_alloc:
  ------------------
  |  |   55|     35|#define Py_tp_alloc 47
  ------------------
  |  Branch (901:9): [True: 21, False: 1.19k]
  ------------------
  902|     35|        case Py_tp_base:
  ------------------
  |  |   56|     35|#define Py_tp_base 48
  ------------------
  |  Branch (902:9): [True: 0, False: 1.21k]
  ------------------
  903|     35|        case Py_tp_bases:
  ------------------
  |  |   57|     35|#define Py_tp_bases 49
  ------------------
  |  Branch (903:9): [True: 0, False: 1.21k]
  ------------------
  904|     43|        case Py_tp_call:
  ------------------
  |  |   58|     43|#define Py_tp_call 50
  ------------------
  |  Branch (904:9): [True: 8, False: 1.20k]
  ------------------
  905|     97|        case Py_tp_clear:
  ------------------
  |  |   59|     97|#define Py_tp_clear 51
  ------------------
  |  Branch (905:9): [True: 54, False: 1.15k]
  ------------------
  906|    212|        case Py_tp_dealloc:
  ------------------
  |  |   60|    212|#define Py_tp_dealloc 52
  ------------------
  |  Branch (906:9): [True: 115, False: 1.09k]
  ------------------
  907|    212|        case Py_tp_del:
  ------------------
  |  |   61|    212|#define Py_tp_del 53
  ------------------
  |  Branch (907:9): [True: 0, False: 1.21k]
  ------------------
  908|    215|        case Py_tp_descr_get:
  ------------------
  |  |   62|    215|#define Py_tp_descr_get 54
  ------------------
  |  Branch (908:9): [True: 3, False: 1.21k]
  ------------------
  909|    216|        case Py_tp_descr_set:
  ------------------
  |  |   63|    216|#define Py_tp_descr_set 55
  ------------------
  |  Branch (909:9): [True: 1, False: 1.21k]
  ------------------
  910|    216|        case Py_tp_getattr:
  ------------------
  |  |   65|    216|#define Py_tp_getattr 57
  ------------------
  |  Branch (910:9): [True: 0, False: 1.21k]
  ------------------
  911|    251|        case Py_tp_getattro:
  ------------------
  |  |   66|    251|#define Py_tp_getattro 58
  ------------------
  |  Branch (911:9): [True: 35, False: 1.17k]
  ------------------
  912|    253|        case Py_tp_hash:
  ------------------
  |  |   67|    253|#define Py_tp_hash 59
  ------------------
  |  Branch (912:9): [True: 2, False: 1.21k]
  ------------------
  913|    274|        case Py_tp_init:
  ------------------
  |  |   68|    274|#define Py_tp_init 60
  ------------------
  |  Branch (913:9): [True: 21, False: 1.19k]
  ------------------
  914|    274|        case Py_tp_is_gc:
  ------------------
  |  |   69|    274|#define Py_tp_is_gc 61
  ------------------
  |  Branch (914:9): [True: 0, False: 1.21k]
  ------------------
  915|    308|        case Py_tp_iter:
  ------------------
  |  |   70|    308|#define Py_tp_iter 62
  ------------------
  |  Branch (915:9): [True: 34, False: 1.17k]
  ------------------
  916|    347|        case Py_tp_iternext:
  ------------------
  |  |   71|    347|#define Py_tp_iternext 63
  ------------------
  |  Branch (916:9): [True: 39, False: 1.17k]
  ------------------
  917|    435|        case Py_tp_methods:
  ------------------
  |  |   72|    435|#define Py_tp_methods 64
  ------------------
  |  Branch (917:9): [True: 88, False: 1.12k]
  ------------------
  918|    512|        case Py_tp_new:
  ------------------
  |  |   73|    512|#define Py_tp_new 65
  ------------------
  |  Branch (918:9): [True: 77, False: 1.13k]
  ------------------
  919|    575|        case Py_tp_repr:
  ------------------
  |  |   74|    575|#define Py_tp_repr 66
  ------------------
  |  Branch (919:9): [True: 63, False: 1.15k]
  ------------------
  920|    582|        case Py_tp_richcompare:
  ------------------
  |  |   75|    582|#define Py_tp_richcompare 67
  ------------------
  |  Branch (920:9): [True: 7, False: 1.20k]
  ------------------
  921|    582|        case Py_tp_setattr:
  ------------------
  |  |   76|    582|#define Py_tp_setattr 68
  ------------------
  |  Branch (921:9): [True: 0, False: 1.21k]
  ------------------
  922|    586|        case Py_tp_setattro:
  ------------------
  |  |   77|    586|#define Py_tp_setattro 69
  ------------------
  |  Branch (922:9): [True: 4, False: 1.20k]
  ------------------
  923|    587|        case Py_tp_str:
  ------------------
  |  |   78|    587|#define Py_tp_str 70
  ------------------
  |  Branch (923:9): [True: 1, False: 1.21k]
  ------------------
  924|    695|        case Py_tp_traverse:
  ------------------
  |  |   79|    695|#define Py_tp_traverse 71
  ------------------
  |  Branch (924:9): [True: 108, False: 1.10k]
  ------------------
  925|    737|        case Py_tp_getset:
  ------------------
  |  |   81|    737|#define Py_tp_getset 73
  ------------------
  |  Branch (925:9): [True: 42, False: 1.17k]
  ------------------
  926|    777|        case Py_tp_free:
  ------------------
  |  |   82|    777|#define Py_tp_free 74
  ------------------
  |  Branch (926:9): [True: 40, False: 1.17k]
  ------------------
  927|    777|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|    777|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (927:9): [True: 0, False: 1.21k]
  ------------------
  928|    777|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|    777|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (928:9): [True: 0, False: 1.21k]
  ------------------
  929|    777|        case Py_am_await:
  ------------------
  |  |   85|    777|#define Py_am_await 77
  ------------------
  |  Branch (929:9): [True: 0, False: 1.21k]
  ------------------
  930|    777|        case Py_am_aiter:
  ------------------
  |  |   86|    777|#define Py_am_aiter 78
  ------------------
  |  Branch (930:9): [True: 0, False: 1.21k]
  ------------------
  931|    777|        case Py_am_anext:
  ------------------
  |  |   87|    777|#define Py_am_anext 79
  ------------------
  |  Branch (931:9): [True: 0, False: 1.21k]
  ------------------
  932|    781|        case Py_tp_finalize:
  ------------------
  |  |   88|    781|#define Py_tp_finalize 80
  ------------------
  |  Branch (932:9): [True: 4, False: 1.20k]
  ------------------
  933|    781|        case Py_am_send:
  ------------------
  |  |   89|    781|#define Py_am_send 81
  ------------------
  |  Branch (933:9): [True: 0, False: 1.21k]
  ------------------
  934|    783|        case Py_tp_vectorcall:
  ------------------
  |  |   90|    783|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (934:9): [True: 2, False: 1.21k]
  ------------------
  935|    783|        case Py_mod_create:
  ------------------
  |  |   92|    783|#define Py_mod_create _Py_SLOT_COMPAT_VALUE(1, 84)
  |  |  ------------------
  |  |  |  |    7|    783|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (935:9): [True: 0, False: 1.21k]
  ------------------
  936|    785|        case Py_bf_getbuffer:
  ------------------
  |  |   96|    785|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|    785|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (936:9): [True: 2, False: 1.21k]
  ------------------
  937|    787|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|    787|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|    787|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (937:9): [True: 2, False: 1.21k]
  ------------------
  938|    787|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|    787|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|    787|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (938:9): [True: 0, False: 1.21k]
  ------------------
  939|    787|        case Py_mp_length:
  ------------------
  |  |   99|    787|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|    787|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (939:9): [True: 0, False: 1.21k]
  ------------------
  940|    787|            return _PySlot_PROBLEM_DEPRECATED;
  941|    193|        default:
  ------------------
  |  Branch (941:9): [True: 193, False: 1.02k]
  ------------------
  942|    193|            return _PySlot_PROBLEM_REJECT;
  943|  1.21k|    }
  944|  1.21k|}
slots.c:_PySlot_get_duplicate_handling:
  749|  1.21k|{
  750|  1.21k|    switch (slot_id) {
  751|      1|        case Py_mp_subscript:
  ------------------
  |  |   13|      1|#define Py_mp_subscript 5
  ------------------
  |  Branch (751:9): [True: 1, False: 1.21k]
  ------------------
  752|      1|        case Py_nb_absolute:
  ------------------
  |  |   14|      1|#define Py_nb_absolute 6
  ------------------
  |  Branch (752:9): [True: 0, False: 1.21k]
  ------------------
  753|      1|        case Py_nb_add:
  ------------------
  |  |   15|      1|#define Py_nb_add 7
  ------------------
  |  Branch (753:9): [True: 0, False: 1.21k]
  ------------------
  754|      1|        case Py_nb_and:
  ------------------
  |  |   16|      1|#define Py_nb_and 8
  ------------------
  |  Branch (754:9): [True: 0, False: 1.21k]
  ------------------
  755|      1|        case Py_nb_bool:
  ------------------
  |  |   17|      1|#define Py_nb_bool 9
  ------------------
  |  Branch (755:9): [True: 0, False: 1.21k]
  ------------------
  756|      1|        case Py_nb_divmod:
  ------------------
  |  |   18|      1|#define Py_nb_divmod 10
  ------------------
  |  Branch (756:9): [True: 0, False: 1.21k]
  ------------------
  757|      1|        case Py_nb_float:
  ------------------
  |  |   19|      1|#define Py_nb_float 11
  ------------------
  |  Branch (757:9): [True: 0, False: 1.21k]
  ------------------
  758|      1|        case Py_nb_floor_divide:
  ------------------
  |  |   20|      1|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (758:9): [True: 0, False: 1.21k]
  ------------------
  759|      1|        case Py_nb_index:
  ------------------
  |  |   21|      1|#define Py_nb_index 13
  ------------------
  |  Branch (759:9): [True: 0, False: 1.21k]
  ------------------
  760|      1|        case Py_nb_inplace_add:
  ------------------
  |  |   22|      1|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (760:9): [True: 0, False: 1.21k]
  ------------------
  761|      1|        case Py_nb_inplace_and:
  ------------------
  |  |   23|      1|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (761:9): [True: 0, False: 1.21k]
  ------------------
  762|      1|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|      1|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (762:9): [True: 0, False: 1.21k]
  ------------------
  763|      1|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|      1|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (763:9): [True: 0, False: 1.21k]
  ------------------
  764|      1|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|      1|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (764:9): [True: 0, False: 1.21k]
  ------------------
  765|      1|        case Py_nb_inplace_or:
  ------------------
  |  |   27|      1|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (765:9): [True: 0, False: 1.21k]
  ------------------
  766|      1|        case Py_nb_inplace_power:
  ------------------
  |  |   28|      1|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (766:9): [True: 0, False: 1.21k]
  ------------------
  767|      1|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|      1|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (767:9): [True: 0, False: 1.21k]
  ------------------
  768|      1|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|      1|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (768:9): [True: 0, False: 1.21k]
  ------------------
  769|      1|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|      1|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (769:9): [True: 0, False: 1.21k]
  ------------------
  770|      1|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|      1|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (770:9): [True: 0, False: 1.21k]
  ------------------
  771|      1|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|      1|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (771:9): [True: 0, False: 1.21k]
  ------------------
  772|      1|        case Py_nb_int:
  ------------------
  |  |   34|      1|#define Py_nb_int 26
  ------------------
  |  Branch (772:9): [True: 0, False: 1.21k]
  ------------------
  773|      1|        case Py_nb_invert:
  ------------------
  |  |   35|      1|#define Py_nb_invert 27
  ------------------
  |  Branch (773:9): [True: 0, False: 1.21k]
  ------------------
  774|      1|        case Py_nb_lshift:
  ------------------
  |  |   36|      1|#define Py_nb_lshift 28
  ------------------
  |  Branch (774:9): [True: 0, False: 1.21k]
  ------------------
  775|      1|        case Py_nb_multiply:
  ------------------
  |  |   37|      1|#define Py_nb_multiply 29
  ------------------
  |  Branch (775:9): [True: 0, False: 1.21k]
  ------------------
  776|      1|        case Py_nb_negative:
  ------------------
  |  |   38|      1|#define Py_nb_negative 30
  ------------------
  |  Branch (776:9): [True: 0, False: 1.21k]
  ------------------
  777|      6|        case Py_nb_or:
  ------------------
  |  |   39|      6|#define Py_nb_or 31
  ------------------
  |  Branch (777:9): [True: 5, False: 1.20k]
  ------------------
  778|      6|        case Py_nb_positive:
  ------------------
  |  |   40|      6|#define Py_nb_positive 32
  ------------------
  |  Branch (778:9): [True: 0, False: 1.21k]
  ------------------
  779|      6|        case Py_nb_power:
  ------------------
  |  |   41|      6|#define Py_nb_power 33
  ------------------
  |  Branch (779:9): [True: 0, False: 1.21k]
  ------------------
  780|      6|        case Py_nb_remainder:
  ------------------
  |  |   42|      6|#define Py_nb_remainder 34
  ------------------
  |  Branch (780:9): [True: 0, False: 1.21k]
  ------------------
  781|      6|        case Py_nb_rshift:
  ------------------
  |  |   43|      6|#define Py_nb_rshift 35
  ------------------
  |  Branch (781:9): [True: 0, False: 1.21k]
  ------------------
  782|      6|        case Py_nb_subtract:
  ------------------
  |  |   44|      6|#define Py_nb_subtract 36
  ------------------
  |  Branch (782:9): [True: 0, False: 1.21k]
  ------------------
  783|      6|        case Py_nb_true_divide:
  ------------------
  |  |   45|      6|#define Py_nb_true_divide 37
  ------------------
  |  Branch (783:9): [True: 0, False: 1.21k]
  ------------------
  784|      6|        case Py_nb_xor:
  ------------------
  |  |   46|      6|#define Py_nb_xor 38
  ------------------
  |  Branch (784:9): [True: 0, False: 1.21k]
  ------------------
  785|      7|        case Py_sq_ass_item:
  ------------------
  |  |   47|      7|#define Py_sq_ass_item 39
  ------------------
  |  Branch (785:9): [True: 1, False: 1.21k]
  ------------------
  786|      8|        case Py_sq_concat:
  ------------------
  |  |   48|      8|#define Py_sq_concat 40
  ------------------
  |  Branch (786:9): [True: 1, False: 1.21k]
  ------------------
  787|      9|        case Py_sq_contains:
  ------------------
  |  |   49|      9|#define Py_sq_contains 41
  ------------------
  |  Branch (787:9): [True: 1, False: 1.21k]
  ------------------
  788|     10|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|     10|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (788:9): [True: 1, False: 1.21k]
  ------------------
  789|     11|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|     11|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (789:9): [True: 1, False: 1.21k]
  ------------------
  790|     12|        case Py_sq_item:
  ------------------
  |  |   52|     12|#define Py_sq_item 44
  ------------------
  |  Branch (790:9): [True: 1, False: 1.21k]
  ------------------
  791|     13|        case Py_sq_length:
  ------------------
  |  |   53|     13|#define Py_sq_length 45
  ------------------
  |  Branch (791:9): [True: 1, False: 1.21k]
  ------------------
  792|     14|        case Py_sq_repeat:
  ------------------
  |  |   54|     14|#define Py_sq_repeat 46
  ------------------
  |  Branch (792:9): [True: 1, False: 1.21k]
  ------------------
  793|     35|        case Py_tp_alloc:
  ------------------
  |  |   55|     35|#define Py_tp_alloc 47
  ------------------
  |  Branch (793:9): [True: 21, False: 1.19k]
  ------------------
  794|     35|        case Py_tp_base:
  ------------------
  |  |   56|     35|#define Py_tp_base 48
  ------------------
  |  Branch (794:9): [True: 0, False: 1.21k]
  ------------------
  795|     35|        case Py_tp_bases:
  ------------------
  |  |   57|     35|#define Py_tp_bases 49
  ------------------
  |  Branch (795:9): [True: 0, False: 1.21k]
  ------------------
  796|     43|        case Py_tp_call:
  ------------------
  |  |   58|     43|#define Py_tp_call 50
  ------------------
  |  Branch (796:9): [True: 8, False: 1.20k]
  ------------------
  797|     97|        case Py_tp_clear:
  ------------------
  |  |   59|     97|#define Py_tp_clear 51
  ------------------
  |  Branch (797:9): [True: 54, False: 1.15k]
  ------------------
  798|    212|        case Py_tp_dealloc:
  ------------------
  |  |   60|    212|#define Py_tp_dealloc 52
  ------------------
  |  Branch (798:9): [True: 115, False: 1.09k]
  ------------------
  799|    212|        case Py_tp_del:
  ------------------
  |  |   61|    212|#define Py_tp_del 53
  ------------------
  |  Branch (799:9): [True: 0, False: 1.21k]
  ------------------
  800|    215|        case Py_tp_descr_get:
  ------------------
  |  |   62|    215|#define Py_tp_descr_get 54
  ------------------
  |  Branch (800:9): [True: 3, False: 1.21k]
  ------------------
  801|    216|        case Py_tp_descr_set:
  ------------------
  |  |   63|    216|#define Py_tp_descr_set 55
  ------------------
  |  Branch (801:9): [True: 1, False: 1.21k]
  ------------------
  802|    216|        case Py_tp_getattr:
  ------------------
  |  |   65|    216|#define Py_tp_getattr 57
  ------------------
  |  Branch (802:9): [True: 0, False: 1.21k]
  ------------------
  803|    251|        case Py_tp_getattro:
  ------------------
  |  |   66|    251|#define Py_tp_getattro 58
  ------------------
  |  Branch (803:9): [True: 35, False: 1.17k]
  ------------------
  804|    253|        case Py_tp_hash:
  ------------------
  |  |   67|    253|#define Py_tp_hash 59
  ------------------
  |  Branch (804:9): [True: 2, False: 1.21k]
  ------------------
  805|    274|        case Py_tp_init:
  ------------------
  |  |   68|    274|#define Py_tp_init 60
  ------------------
  |  Branch (805:9): [True: 21, False: 1.19k]
  ------------------
  806|    274|        case Py_tp_is_gc:
  ------------------
  |  |   69|    274|#define Py_tp_is_gc 61
  ------------------
  |  Branch (806:9): [True: 0, False: 1.21k]
  ------------------
  807|    308|        case Py_tp_iter:
  ------------------
  |  |   70|    308|#define Py_tp_iter 62
  ------------------
  |  Branch (807:9): [True: 34, False: 1.17k]
  ------------------
  808|    347|        case Py_tp_iternext:
  ------------------
  |  |   71|    347|#define Py_tp_iternext 63
  ------------------
  |  Branch (808:9): [True: 39, False: 1.17k]
  ------------------
  809|    435|        case Py_tp_methods:
  ------------------
  |  |   72|    435|#define Py_tp_methods 64
  ------------------
  |  Branch (809:9): [True: 88, False: 1.12k]
  ------------------
  810|    512|        case Py_tp_new:
  ------------------
  |  |   73|    512|#define Py_tp_new 65
  ------------------
  |  Branch (810:9): [True: 77, False: 1.13k]
  ------------------
  811|    575|        case Py_tp_repr:
  ------------------
  |  |   74|    575|#define Py_tp_repr 66
  ------------------
  |  Branch (811:9): [True: 63, False: 1.15k]
  ------------------
  812|    582|        case Py_tp_richcompare:
  ------------------
  |  |   75|    582|#define Py_tp_richcompare 67
  ------------------
  |  Branch (812:9): [True: 7, False: 1.20k]
  ------------------
  813|    582|        case Py_tp_setattr:
  ------------------
  |  |   76|    582|#define Py_tp_setattr 68
  ------------------
  |  Branch (813:9): [True: 0, False: 1.21k]
  ------------------
  814|    586|        case Py_tp_setattro:
  ------------------
  |  |   77|    586|#define Py_tp_setattro 69
  ------------------
  |  Branch (814:9): [True: 4, False: 1.20k]
  ------------------
  815|    587|        case Py_tp_str:
  ------------------
  |  |   78|    587|#define Py_tp_str 70
  ------------------
  |  Branch (815:9): [True: 1, False: 1.21k]
  ------------------
  816|    695|        case Py_tp_traverse:
  ------------------
  |  |   79|    695|#define Py_tp_traverse 71
  ------------------
  |  Branch (816:9): [True: 108, False: 1.10k]
  ------------------
  817|    737|        case Py_tp_getset:
  ------------------
  |  |   81|    737|#define Py_tp_getset 73
  ------------------
  |  Branch (817:9): [True: 42, False: 1.17k]
  ------------------
  818|    777|        case Py_tp_free:
  ------------------
  |  |   82|    777|#define Py_tp_free 74
  ------------------
  |  Branch (818:9): [True: 40, False: 1.17k]
  ------------------
  819|    777|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|    777|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (819:9): [True: 0, False: 1.21k]
  ------------------
  820|    777|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|    777|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (820:9): [True: 0, False: 1.21k]
  ------------------
  821|    777|        case Py_am_await:
  ------------------
  |  |   85|    777|#define Py_am_await 77
  ------------------
  |  Branch (821:9): [True: 0, False: 1.21k]
  ------------------
  822|    777|        case Py_am_aiter:
  ------------------
  |  |   86|    777|#define Py_am_aiter 78
  ------------------
  |  Branch (822:9): [True: 0, False: 1.21k]
  ------------------
  823|    777|        case Py_am_anext:
  ------------------
  |  |   87|    777|#define Py_am_anext 79
  ------------------
  |  Branch (823:9): [True: 0, False: 1.21k]
  ------------------
  824|    781|        case Py_tp_finalize:
  ------------------
  |  |   88|    781|#define Py_tp_finalize 80
  ------------------
  |  Branch (824:9): [True: 4, False: 1.20k]
  ------------------
  825|    781|        case Py_am_send:
  ------------------
  |  |   89|    781|#define Py_am_send 81
  ------------------
  |  Branch (825:9): [True: 0, False: 1.21k]
  ------------------
  826|    783|        case Py_tp_vectorcall:
  ------------------
  |  |   90|    783|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (826:9): [True: 2, False: 1.21k]
  ------------------
  827|    784|        case Py_tp_token:
  ------------------
  |  |   91|    784|#define Py_tp_token 83
  ------------------
  |  Branch (827:9): [True: 1, False: 1.21k]
  ------------------
  828|    786|        case Py_bf_getbuffer:
  ------------------
  |  |   96|    786|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|    786|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (828:9): [True: 2, False: 1.21k]
  ------------------
  829|    788|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|    788|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|    788|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (829:9): [True: 2, False: 1.21k]
  ------------------
  830|    788|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|    788|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|    788|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (830:9): [True: 0, False: 1.21k]
  ------------------
  831|    788|        case Py_mp_length:
  ------------------
  |  |   99|    788|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|    788|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (831:9): [True: 0, False: 1.21k]
  ------------------
  832|    788|            return _PySlot_PROBLEM_DEPRECATED;
  833|     64|        case Py_mod_exec:
  ------------------
  |  |   93|     64|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|     64|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (833:9): [True: 64, False: 1.14k]
  ------------------
  834|    124|        case Py_mod_abi:
  ------------------
  |  |  117|    124|#define Py_mod_abi 109
  ------------------
  |  Branch (834:9): [True: 60, False: 1.15k]
  ------------------
  835|    124|            return _PySlot_PROBLEM_ALLOW;
  836|    301|        default:
  ------------------
  |  Branch (836:9): [True: 301, False: 912]
  ------------------
  837|    301|            return _PySlot_PROBLEM_REJECT;
  838|  1.21k|    }
  839|  1.21k|}

call.c:_PyThreadState_PushCStackRef:
  787|  2.06k|{
  788|       |#ifdef Py_GIL_DISABLED
  789|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  790|       |    ref->next = tstate_impl->c_stack_refs;
  791|       |    tstate_impl->c_stack_refs = ref;
  792|       |#endif
  793|  2.06k|    ref->ref = PyStackRef_NULL;
  794|  2.06k|}
call.c:PyStackRef_FromPyObjectBorrow:
  627|  1.03k|{
  628|  1.03k|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 1.03k, False: 0]
  ------------------
  629|  1.03k|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|  1.03k|#define Py_TAG_REFCNT 1
  ------------------
  630|  1.03k|}
call.c:_PyThreadState_PopCStackRef:
  805|  2.06k|{
  806|       |#ifdef Py_GIL_DISABLED
  807|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  808|       |    assert(tstate_impl->c_stack_refs == ref);
  809|       |    tstate_impl->c_stack_refs = ref->next;
  810|       |#endif
  811|  2.06k|    PyStackRef_XCLOSE(ref->ref);
  812|  2.06k|}
call.c:PyStackRef_XCLOSE:
  722|  2.06k|{
  723|  2.06k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 2.06k, False: 0]
  ------------------
  724|  2.06k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 1.03k, False: 1.03k]
  ------------------
  725|  1.03k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 1.03k, False: 0]
  ------------------
  726|  1.03k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|  1.03k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  1.03k|    }
  728|  2.06k|}
call.c:PyStackRef_RefcountOnObject:
  534|  2.06k|{
  535|  2.06k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  2.06k|#define Py_TAG_REFCNT 1
  ------------------
  536|  2.06k|}
call.c:PyStackRef_AsPyObjectBorrow:
  540|  2.06k|{
  541|  2.06k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 2.06k, False: 0]
  ------------------
  542|  2.06k|    return 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
  |  |  ------------------
  ------------------
  543|  2.06k|}
call.c:PyStackRef_IsTaggedInt:
  440|  2.06k|{
  441|  2.06k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  2.06k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  2.06k|#define Py_INT_TAG 3
  ------------------
  442|  2.06k|}
listobject.c:PyStackRef_AsPyObjectSteal:
  554|    271|{
  555|    271|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 271, False: 0]
  ------------------
  556|    271|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 271, False: 0]
  ------------------
  557|    271|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 65, False: 206]
  ------------------
  558|     65|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|     65|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|     65|    }
  560|    206|    else {
  561|    206|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  647|    206|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    206|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    206|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|    206|    }
  563|    271|}
listobject.c:PyStackRef_IsTaggedInt:
  440|    271|{
  441|    271|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|    271|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|    271|#define Py_INT_TAG 3
  ------------------
  442|    271|}
listobject.c:PyStackRef_RefcountOnObject:
  534|    271|{
  535|    271|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|    271|#define Py_TAG_REFCNT 1
  ------------------
  536|    271|}
longobject.c:PyStackRef_FromPyObjectBorrow:
  627|    265|{
  628|    265|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 265, False: 0]
  ------------------
  629|    265|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|    265|#define Py_TAG_REFCNT 1
  ------------------
  630|    265|}
dictobject.c:_PyStackRef_FromPyObjectNew:
  595|  8.45k|{
  596|  8.45k|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 8.45k, 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|  8.45k|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  8.45k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.37k, False: 7.08k]
  |  |  ------------------
  ------------------
  603|  1.37k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  1.37k|#define Py_TAG_REFCNT 1
  ------------------
  604|  1.37k|    }
  605|  7.08k|#endif
  606|  7.08k|    _Py_INCREF_MORTAL(obj);
  607|  7.08k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  7.08k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  7.08k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  7.08k|    return ref;
  610|  8.45k|}
dictobject.c:PyStackRef_RefcountOnObject:
  534|  2.42k|{
  535|  2.42k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  2.42k|#define Py_TAG_REFCNT 1
  ------------------
  536|  2.42k|}
dictobject.c:PyStackRef_AsPyObjectBorrow:
  540|  2.42k|{
  541|  2.42k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 2.42k, False: 0]
  ------------------
  542|  2.42k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  2.42k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  2.42k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  2.42k|}
dictobject.c:PyStackRef_IsTaggedInt:
  440|  2.42k|{
  441|  2.42k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  2.42k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  2.42k|#define Py_INT_TAG 3
  ------------------
  442|  2.42k|}
dictobject.c:PyStackRef_CLOSE:
  700|  2.42k|{
  701|  2.42k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (701:5): [True: 2.42k, False: 0]
  ------------------
  702|  2.42k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (702:9): [True: 2.42k, False: 0]
  ------------------
  703|  2.42k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|  2.42k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|  2.42k|    }
  705|  2.42k|}
object.c:PyStackRef_FromPyObjectSteal:
  567|  3.76k|{
  568|  3.76k|    assert(obj != NULL);
  ------------------
  |  Branch (568:5): [True: 3.76k, False: 0]
  ------------------
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|  3.76k|#  if SIZEOF_VOID_P > 4
  573|  3.76k|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|  3.76k|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|  3.76k|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|  3.76k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  3.76k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|  3.76k|    return ref;
  580|  3.76k|#endif
  581|  3.76k|}
object.c:PyStackRef_AsPyObjectBorrow:
  540|  17.2k|{
  541|  17.2k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 17.2k, False: 0]
  ------------------
  542|  17.2k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  17.2k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  17.2k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  17.2k|}
object.c:PyStackRef_XCLOSE:
  722|  14.7k|{
  723|  14.7k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 14.7k, False: 0]
  ------------------
  724|  14.7k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 2.75k, False: 11.9k]
  ------------------
  725|  2.75k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 2.75k, False: 0]
  ------------------
  726|  2.75k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|  2.75k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  2.75k|    }
  728|  14.7k|}
object.c:PyStackRef_RefcountOnObject:
  534|  14.7k|{
  535|  14.7k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  14.7k|#define Py_TAG_REFCNT 1
  ------------------
  536|  14.7k|}
object.c:_PyThreadState_PushCStackRef:
  787|  13.7k|{
  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|  13.7k|    ref->ref = PyStackRef_NULL;
  794|  13.7k|}
object.c:PyStackRef_AsPyObjectSteal:
  554|     11|{
  555|     11|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 11, False: 0]
  ------------------
  556|     11|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 11, False: 0]
  ------------------
  557|     11|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 1, False: 10]
  ------------------
  558|      1|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|      1|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|      1|    }
  560|     10|    else {
  561|     10|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|     10|    }
  563|     11|}
object.c:_PyThreadState_PopCStackRef:
  805|  13.7k|{
  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|  13.7k|    PyStackRef_XCLOSE(ref->ref);
  812|  13.7k|}
object.c:PyStackRef_IsTaggedInt:
  440|  17.2k|{
  441|  17.2k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  17.2k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  17.2k|#define Py_INT_TAG 3
  ------------------
  442|  17.2k|}
sentinelobject.c:PyStackRef_AsPyObjectBorrow:
  540|      6|{
  541|      6|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 6, False: 0]
  ------------------
  542|      6|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|      6|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|      6|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|      6|}
sentinelobject.c:PyStackRef_IsTaggedInt:
  440|      6|{
  441|      6|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|      6|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|      6|#define Py_INT_TAG 3
  ------------------
  442|      6|}
tupleobject.c:PyStackRef_AsPyObjectSteal:
  554|  4.31k|{
  555|  4.31k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 4.31k, False: 0]
  ------------------
  556|  4.31k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 4.31k, False: 0]
  ------------------
  557|  4.31k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 1.63k, False: 2.67k]
  ------------------
  558|  1.63k|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|  1.63k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|  1.63k|    }
  560|  2.67k|    else {
  561|  2.67k|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  647|  2.67k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  2.67k|    }
  563|  4.31k|}
tupleobject.c:PyStackRef_IsTaggedInt:
  440|  4.31k|{
  441|  4.31k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  4.31k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  4.31k|#define Py_INT_TAG 3
  ------------------
  442|  4.31k|}
tupleobject.c:PyStackRef_RefcountOnObject:
  534|  4.31k|{
  535|  4.31k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  4.31k|#define Py_TAG_REFCNT 1
  ------------------
  536|  4.31k|}
typeobject.c:PyStackRef_AsPyObjectBorrow:
  540|  19.2k|{
  541|  19.2k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 19.2k, False: 0]
  ------------------
  542|  19.2k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  19.2k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  19.2k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  19.2k|}
typeobject.c:PyStackRef_IsTaggedInt:
  440|  21.8k|{
  441|  21.8k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  21.8k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  21.8k|#define Py_INT_TAG 3
  ------------------
  442|  21.8k|}
typeobject.c:PyStackRef_XCLOSE:
  722|  14.8k|{
  723|  14.8k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 14.8k, False: 0]
  ------------------
  724|  14.8k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 7.54k, False: 7.31k]
  ------------------
  725|  7.54k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 7.54k, False: 0]
  ------------------
  726|  7.54k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|  7.54k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  7.54k|    }
  728|  14.8k|}
typeobject.c:PyStackRef_RefcountOnObject:
  534|  24.8k|{
  535|  24.8k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  24.8k|#define Py_TAG_REFCNT 1
  ------------------
  536|  24.8k|}
typeobject.c:PyStackRef_FromPyObjectSteal:
  567|  2.04k|{
  568|  2.04k|    assert(obj != NULL);
  ------------------
  |  Branch (568:5): [True: 2.04k, False: 0]
  ------------------
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|  2.04k|#  if SIZEOF_VOID_P > 4
  573|  2.04k|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|  2.04k|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|  2.04k|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|  2.04k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  2.04k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|  2.04k|    return ref;
  580|  2.04k|#endif
  581|  2.04k|}
typeobject.c:PyStackRef_FromPyObjectBorrow:
  627|  7.29k|{
  628|  7.29k|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 7.29k, False: 0]
  ------------------
  629|  7.29k|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|  7.29k|#define Py_TAG_REFCNT 1
  ------------------
  630|  7.29k|}
typeobject.c:PyStackRef_CLOSE:
  700|  7.32k|{
  701|  7.32k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (701:5): [True: 7.32k, False: 0]
  ------------------
  702|  7.32k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (702:9): [True: 30, False: 7.29k]
  ------------------
  703|     30|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|     30|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|     30|    }
  705|  7.32k|}
typeobject.c:PyStackRef_AsPyObjectSteal:
  554|  2.61k|{
  555|  2.61k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 2.61k, False: 0]
  ------------------
  556|  2.61k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 2.61k, False: 0]
  ------------------
  557|  2.61k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 2.55k, False: 61]
  ------------------
  558|  2.55k|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|  2.55k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|  2.55k|    }
  560|     61|    else {
  561|     61|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  647|     61|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     61|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     61|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|     61|    }
  563|  2.61k|}
typeobject.c:_PyThreadState_PushCStackRef:
  787|  15.8k|{
  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|  15.8k|    ref->ref = PyStackRef_NULL;
  794|  15.8k|}
typeobject.c:_PyStackRef_FromPyObjectNew:
  595|  6.04k|{
  596|  6.04k|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 6.04k, 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|  6.04k|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  6.04k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.67k, False: 3.36k]
  |  |  ------------------
  ------------------
  603|  2.67k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  2.67k|#define Py_TAG_REFCNT 1
  ------------------
  604|  2.67k|    }
  605|  3.36k|#endif
  606|  3.36k|    _Py_INCREF_MORTAL(obj);
  607|  3.36k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  3.36k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  3.36k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  3.36k|    return ref;
  610|  6.04k|}
typeobject.c:_PyThreadState_PopCStackRef:
  805|  12.8k|{
  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|  12.8k|    PyStackRef_XCLOSE(ref->ref);
  812|  12.8k|}
typeobject.c:_PyThreadState_PopCStackRefSteal:
  816|  3.05k|{
  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|  3.05k|    return ref->ref;
  823|  3.05k|}
typeobject.c:_PyThreadState_PushCStackRefNew:
  798|    993|{
  799|    993|    _PyThreadState_PushCStackRef(tstate, ref);
  800|    993|    ref->ref = PyStackRef_FromPyObjectNew(obj);
  ------------------
  |  |  611|    993|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    993|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    993|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  801|    993|}
ceval.c:_PyThreadState_PushCStackRef:
  787|  2.38k|{
  788|       |#ifdef Py_GIL_DISABLED
  789|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  790|       |    ref->next = tstate_impl->c_stack_refs;
  791|       |    tstate_impl->c_stack_refs = ref;
  792|       |#endif
  793|  2.38k|    ref->ref = PyStackRef_NULL;
  794|  2.38k|}
ceval.c:PyStackRef_FromPyObjectBorrow:
  627|  18.7k|{
  628|  18.7k|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 18.7k, False: 0]
  ------------------
  629|  18.7k|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|  18.7k|#define Py_TAG_REFCNT 1
  ------------------
  630|  18.7k|}
ceval.c:PyStackRef_AsPyObjectBorrow:
  540|   378k|{
  541|   378k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 378k, False: 0]
  ------------------
  542|   378k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|   378k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   378k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|   378k|}
ceval.c:PyStackRef_XCLOSE:
  722|  73.0k|{
  723|  73.0k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 73.0k, False: 0]
  ------------------
  724|  73.0k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 26.4k, False: 46.5k]
  ------------------
  725|  26.4k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 26.4k, False: 0]
  ------------------
  726|  26.4k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|  26.4k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  26.4k|    }
  728|  73.0k|}
ceval.c:PyStackRef_RefcountOnObject:
  534|   163k|{
  535|   163k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|   163k|#define Py_TAG_REFCNT 1
  ------------------
  536|   163k|}
ceval.c:PyStackRef_CLOSE:
  700|  50.7k|{
  701|  50.7k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (701:5): [True: 50.7k, False: 0]
  ------------------
  702|  50.7k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (702:9): [True: 22.7k, False: 27.9k]
  ------------------
  703|  22.7k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|  22.7k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|  22.7k|    }
  705|  50.7k|}
ceval.c:_PyThreadState_PopCStackRefSteal:
  816|  2.38k|{
  817|       |#ifdef Py_GIL_DISABLED
  818|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  819|       |    assert(tstate_impl->c_stack_refs == ref);
  820|       |    tstate_impl->c_stack_refs = ref->next;
  821|       |#endif
  822|  2.38k|    return ref->ref;
  823|  2.38k|}
ceval.c:PyStackRef_TYPE:
  748|  3.14k|PyStackRef_TYPE(_PyStackRef stackref) {
  749|  3.14k|    if (PyStackRef_IsTaggedInt(stackref)) {
  ------------------
  |  Branch (749:9): [True: 0, False: 3.14k]
  ------------------
  750|      0|        return &PyLong_Type;
  751|      0|    }
  752|  3.14k|    return Py_TYPE(PyStackRef_AsPyObjectBorrow(stackref));
  ------------------
  |  |  213|  3.14k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  753|  3.14k|}
ceval.c:PyStackRef_TagInt:
  446|  2.01k|{
  447|  2.01k|    assert(Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, (intptr_t)(((uintptr_t)i) << Py_TAGGED_SHIFT),
  ------------------
  |  Branch (447:5): [True: 2.01k, False: 0]
  ------------------
  448|  2.01k|                                     Py_TAGGED_SHIFT) == i);
  449|  2.01k|    return (_PyStackRef){ .bits = ((((uintptr_t)i) << Py_TAGGED_SHIFT) | Py_INT_TAG) };
  ------------------
  |  |   58|  2.01k|#define Py_TAGGED_SHIFT 2
  ------------------
                  return (_PyStackRef){ .bits = ((((uintptr_t)i) << Py_TAGGED_SHIFT) | Py_INT_TAG) };
  ------------------
  |  |   53|  2.01k|#define Py_INT_TAG 3
  ------------------
  450|  2.01k|}
ceval.c:PyStackRef_FromPyObjectSteal:
  567|  28.9k|{
  568|  28.9k|    assert(obj != NULL);
  ------------------
  |  Branch (568:5): [True: 28.9k, False: 0]
  ------------------
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|  28.9k|#  if SIZEOF_VOID_P > 4
  573|  28.9k|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|  28.9k|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|  28.9k|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|  28.9k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  28.9k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|  28.9k|    return ref;
  580|  28.9k|#endif
  581|  28.9k|}
ceval.c:PyStackRef_CLOSE_SPECIALIZED:
  710|  13.0k|{
  711|  13.0k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (711:5): [True: 13.0k, False: 0]
  ------------------
  712|  13.0k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (712:9): [True: 1.07k, False: 11.9k]
  ------------------
  713|  1.07k|        Py_DECREF_MORTAL_SPECIALIZED(BITS_TO_PTR(ref), destruct);
  ------------------
  |  |  460|  1.07k|#define Py_DECREF_MORTAL_SPECIALIZED(op, destruct) Py_DECREF_MORTAL_SPECIALIZED(_PyObject_CAST(op), destruct)
  |  |  ------------------
  |  |  |  |  171|  1.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  714|  1.07k|    }
  715|  13.0k|}
ceval.c:PyStackRef_IsHeapSafe:
  659|  9.15k|{
  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|  9.15k|    return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |   56|  9.15k|#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|  18.3k|#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|  6.73k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  ------------------
  |  |  |  |   55|  15.8k|#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|  15.7k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 5.02k, False: 1.61k]
  |  |  ------------------
  ------------------
  |  Branch (667:12): [True: 2.42k, False: 6.73k]
  |  Branch (667:57): [True: 84, False: 6.64k]
  ------------------
  668|  9.15k|#endif
  669|  9.15k|}
ceval.c:PyStackRef_AsPyObjectSteal:
  554|  12.0k|{
  555|  12.0k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 12.0k, False: 0]
  ------------------
  556|  12.0k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 12.0k, False: 0]
  ------------------
  557|  12.0k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 4.13k, False: 7.94k]
  ------------------
  558|  4.13k|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|  4.13k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|  4.13k|    }
  560|  7.94k|    else {
  561|  7.94k|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  647|  7.94k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  7.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  7.94k|    }
  563|  12.0k|}
ceval.c:_PyStackRef_FromPyObjectNew:
  595|  51.0k|{
  596|  51.0k|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 51.0k, 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|  51.0k|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  51.0k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  51.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  51.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 8.00k, False: 42.9k]
  |  |  ------------------
  ------------------
  603|  8.00k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  8.00k|#define Py_TAG_REFCNT 1
  ------------------
  604|  8.00k|    }
  605|  42.9k|#endif
  606|  42.9k|    _Py_INCREF_MORTAL(obj);
  607|  42.9k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  42.9k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  42.9k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  42.9k|    return ref;
  610|  51.0k|}
ceval.c:PyStackRef_Wrap:
  398|  5.24k|{
  399|  5.24k|    assert(ptr != NULL);
  ------------------
  |  Branch (399:5): [True: 5.24k, 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|  5.24k|    return (_PyStackRef){ .bits = (uintptr_t)ptr };
  405|  5.24k|#endif
  406|  5.24k|}
ceval.c:PyStackRef_Unwrap:
  410|  5.24k|{
  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|  5.24k|    return (void *)(ref.bits);
  416|  5.24k|#endif
  417|  5.24k|}
ceval.c:PyStackRef_FromPyObjectStealMortal:
  585|  3.06k|{
  586|  3.06k|    assert(obj != NULL);
  ------------------
  |  Branch (586:5): [True: 3.06k, False: 0]
  ------------------
  587|  3.06k|    assert(!_Py_IsImmortal(obj));
  ------------------
  |  Branch (587:5): [True: 3.06k, False: 0]
  ------------------
  588|  3.06k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  589|  3.06k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  3.06k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  590|  3.06k|    return ref;
  591|  3.06k|}
ceval.c:PyStackRef_DUP:
  639|  5.05k|{
  640|  5.05k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (640:5): [True: 5.05k, False: 0]
  ------------------
  641|  5.05k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (641:9): [True: 2.27k, False: 2.77k]
  ------------------
  642|  2.27k|        _Py_INCREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  476|  2.27k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  643|  2.27k|    }
  644|  5.05k|    return ref;
  645|  5.05k|}
ceval.c:_PyStackRef_CloseStack:
  873|  5.16k|{
  874|       |    // arguments is a pointer into the GC visible stack,
  875|       |    // so we must NULL out values as we clear them.
  876|  14.6k|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (876:32): [True: 9.44k, False: 5.16k]
  ------------------
  877|  9.44k|        _PyStackRef tmp = arguments[i];
  878|  9.44k|        arguments[i] = PyStackRef_NULL;
  879|  9.44k|        PyStackRef_CLOSE(tmp);
  880|  9.44k|    }
  881|  5.16k|}
ceval.c:PyStackRef_IsValid:
  433|    836|{
  434|       |    /* Invalid values are ERROR and NULL */
  435|    836|    return ref.bits >= Py_INT_TAG;
  ------------------
  |  |   53|    836|#define Py_INT_TAG 3
  ------------------
  436|    836|}
ceval.c:PyStackRef_IsError:
  421|    402|{
  422|    402|    return ref.bits == Py_TAG_INVALID;
  ------------------
  |  |   54|    402|#define Py_TAG_INVALID 2
  ------------------
  423|    402|}
ceval.c:PyStackRef_IsTaggedInt:
  440|   425k|{
  441|   425k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|   425k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|   425k|#define Py_INT_TAG 3
  ------------------
  442|   425k|}
ceval.c:PyStackRef_UntagInt:
  454|  7.28k|{
  455|  7.28k|    assert(PyStackRef_IsTaggedInt(i));
  ------------------
  |  Branch (455:5): [True: 7.28k, False: 0]
  ------------------
  456|  7.28k|    intptr_t val = (intptr_t)i.bits;
  457|  7.28k|    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, val, Py_TAGGED_SHIFT);
  ------------------
  |  |  226|  7.28k|#define Py_ARITHMETIC_RIGHT_SHIFT(TYPE, I, J) ((I) >> (J))
  ------------------
  458|  7.28k|}
ceval.c:PyStackRef_IncrementTaggedIntNoOverflow:
  463|  3.14k|{
  464|  3.14k|    assert((ref.bits & Py_TAG_BITS) == Py_INT_TAG); // Is tagged int
  ------------------
  |  Branch (464:5): [True: 3.14k, False: 0]
  ------------------
  465|  3.14k|    assert((ref.bits & (~Py_TAG_BITS)) != (INTPTR_MAX & (~Py_TAG_BITS))); // Isn't about to overflow
  ------------------
  |  Branch (465:5): [True: 3.14k, False: 0]
  ------------------
  466|  3.14k|    return (_PyStackRef){ .bits = ref.bits + (1 << Py_TAGGED_SHIFT) };
  ------------------
  |  |   58|  3.14k|#define Py_TAGGED_SHIFT 2
  ------------------
  467|  3.14k|}
ceval.c:PyStackRef_MakeHeapSafe:
  673|  9.14k|{
  674|  9.14k|    if (PyStackRef_IsHeapSafe(ref)) {
  ------------------
  |  Branch (674:9): [True: 7.53k, False: 1.60k]
  ------------------
  675|  7.53k|        return ref;
  676|  7.53k|    }
  677|  1.60k|    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  1.60k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  1.60k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  678|  1.60k|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.60k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  679|  1.60k|    ref.bits = (uintptr_t)obj;
  680|  1.60k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  1.60k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  681|  1.60k|    return ref;
  682|  9.14k|}
ceval.c:PyStackRef_DupImmortal:
  650|  9.62k|{
  651|  9.62k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (651:5): [True: 9.62k, False: 0]
  ------------------
  652|  9.62k|    assert(!PyStackRef_RefcountOnObject(ref));
  ------------------
  |  Branch (652:5): [True: 9.62k, False: 0]
  ------------------
  653|  9.62k|    assert(_Py_IsImmortal(BITS_TO_PTR_MASKED(ref)));
  ------------------
  |  Branch (653:5): [True: 9.62k, False: 0]
  ------------------
  654|  9.62k|    return ref;
  655|  9.62k|}
ceval.c:PyStackRef_Borrow:
  547|  48.3k|{
  548|  48.3k|    return (_PyStackRef){ .bits = ref.bits | Py_TAG_REFCNT };
  ------------------
  |  |   55|  48.3k|#define Py_TAG_REFCNT 1
  ------------------
  549|  48.3k|}
frame.c:PyStackRef_IsTaggedInt:
  440|  1.32k|{
  441|  1.32k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  1.32k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  1.32k|#define Py_INT_TAG 3
  ------------------
  442|  1.32k|}
frame.c:PyStackRef_XCLOSE:
  722|  37.8k|{
  723|  37.8k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 37.8k, False: 0]
  ------------------
  724|  37.8k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 21.5k, False: 16.3k]
  ------------------
  725|  21.5k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 21.5k, False: 0]
  ------------------
  726|  21.5k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|  21.5k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  21.5k|    }
  728|  37.8k|}
frame.c:PyStackRef_RefcountOnObject:
  534|  37.9k|{
  535|  37.9k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  37.9k|#define Py_TAG_REFCNT 1
  ------------------
  536|  37.9k|}
frame.c:PyStackRef_MakeHeapSafe:
  673|    785|{
  674|    785|    if (PyStackRef_IsHeapSafe(ref)) {
  ------------------
  |  Branch (674:9): [True: 741, False: 44]
  ------------------
  675|    741|        return ref;
  676|    741|    }
  677|     44|    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|     44|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|     44|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  678|     44|    Py_INCREF(obj);
  ------------------
  |  |  310|     44|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  679|     44|    ref.bits = (uintptr_t)obj;
  680|     44|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|     44|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  681|     44|    return ref;
  682|    785|}
frame.c:PyStackRef_IsHeapSafe:
  659|    785|{
  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|    785|    return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |   56|    785|#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|  1.57k|#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|    367|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  ------------------
  |  |  |  |   55|  1.15k|#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|  1.02k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    243|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    243|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 199, False: 44]
  |  |  ------------------
  ------------------
  |  Branch (667:12): [True: 418, False: 367]
  |  Branch (667:57): [True: 124, False: 243]
  ------------------
  668|    785|#endif
  669|    785|}
frame.c:PyStackRef_DUP:
  639|    129|{
  640|    129|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (640:5): [True: 129, False: 0]
  ------------------
  641|    129|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (641:9): [True: 129, False: 0]
  ------------------
  642|    129|        _Py_INCREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  476|    129|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  643|    129|    }
  644|    129|    return ref;
  645|    129|}
frame.c:PyStackRef_AsPyObjectBorrow:
  540|  1.32k|{
  541|  1.32k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 1.32k, False: 0]
  ------------------
  542|  1.32k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  1.32k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  1.32k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  1.32k|}
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|  3.76k|{
  541|  3.76k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 3.76k, False: 0]
  ------------------
  542|  3.76k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  3.76k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  3.76k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  3.76k|}
specialize.c:PyStackRef_IsTaggedInt:
  440|  3.85k|{
  441|  3.85k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  3.85k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  3.85k|#define Py_INT_TAG 3
  ------------------
  442|  3.85k|}
specialize.c:PyStackRef_TYPE:
  748|     85|PyStackRef_TYPE(_PyStackRef stackref) {
  749|     85|    if (PyStackRef_IsTaggedInt(stackref)) {
  ------------------
  |  Branch (749:9): [True: 0, False: 85]
  ------------------
  750|      0|        return &PyLong_Type;
  751|      0|    }
  752|     85|    return Py_TYPE(PyStackRef_AsPyObjectBorrow(stackref));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  753|     85|}
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|    431|{
  541|    431|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 431, False: 0]
  ------------------
  542|    431|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|    431|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    431|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|    431|}
traceback.c:PyStackRef_IsTaggedInt:
  440|    431|{
  441|    431|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|    431|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|    431|#define Py_INT_TAG 3
  ------------------
  442|    431|}
typecache.c:_PyStackRef_FromPyObjectNew:
  595|  9.59k|{
  596|  9.59k|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 9.59k, 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|  9.59k|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  9.59k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 88, False: 9.50k]
  |  |  ------------------
  ------------------
  603|     88|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|     88|#define Py_TAG_REFCNT 1
  ------------------
  604|     88|    }
  605|  9.50k|#endif
  606|  9.50k|    _Py_INCREF_MORTAL(obj);
  607|  9.50k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  9.50k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  9.50k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  9.50k|    return ref;
  610|  9.59k|}
abstract.c:_PyThreadState_PushCStackRef:
  787|     89|{
  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|     89|    ref->ref = PyStackRef_NULL;
  794|     89|}
abstract.c:PyStackRef_FromPyObjectBorrow:
  627|     89|{
  628|     89|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 89, False: 0]
  ------------------
  629|     89|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|     89|#define Py_TAG_REFCNT 1
  ------------------
  630|     89|}
abstract.c:PyStackRef_AsPyObjectBorrow:
  540|    178|{
  541|    178|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 178, False: 0]
  ------------------
  542|    178|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|    178|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    178|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|    178|}
abstract.c:PyStackRef_IsTaggedInt:
  440|    178|{
  441|    178|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|    178|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|    178|#define Py_INT_TAG 3
  ------------------
  442|    178|}
abstract.c:PyStackRef_XCLOSE:
  722|    178|{
  723|    178|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 178, False: 0]
  ------------------
  724|    178|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 89, False: 89]
  ------------------
  725|     89|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 89, False: 0]
  ------------------
  726|     89|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|     89|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     89|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     89|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|     89|    }
  728|    178|}
abstract.c:PyStackRef_RefcountOnObject:
  534|    178|{
  535|    178|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|    178|#define Py_TAG_REFCNT 1
  ------------------
  536|    178|}
abstract.c:_PyThreadState_PopCStackRef:
  805|     89|{
  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|     89|    PyStackRef_XCLOSE(ref->ref);
  812|     89|}
genobject.c:PyStackRef_XCLOSE:
  722|    113|{
  723|    113|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 113, False: 0]
  ------------------
  724|    113|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 113, False: 0]
  ------------------
  725|    113|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 113, False: 0]
  ------------------
  726|    113|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|    113|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|    113|    }
  728|    113|}
genobject.c:PyStackRef_RefcountOnObject:
  534|    113|{
  535|    113|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|    113|#define Py_TAG_REFCNT 1
  ------------------
  536|    113|}
genobject.c:_PyStackRef_FromPyObjectNew:
  595|    192|{
  596|    192|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 192, 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|    192|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|    192|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    192|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    192|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 192, False: 0]
  |  |  ------------------
  ------------------
  603|    192|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|    192|#define Py_TAG_REFCNT 1
  ------------------
  604|    192|    }
  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|    192|}
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|     61|{
  541|     61|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 61, False: 0]
  ------------------
  542|     61|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|     61|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|     61|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|     61|}
frameobject.c:PyStackRef_IsTaggedInt:
  440|     61|{
  441|     61|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|     61|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|     61|#define Py_INT_TAG 3
  ------------------
  442|     61|}
frameobject.c:PyStackRef_RefcountOnObject:
  534|    785|{
  535|    785|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|    785|#define Py_TAG_REFCNT 1
  ------------------
  536|    785|}
frameobject.c:PyStackRef_XCLOSE:
  722|    785|{
  723|    785|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 785, False: 0]
  ------------------
  724|    785|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 462, False: 323]
  ------------------
  725|    462|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 462, False: 0]
  ------------------
  726|    462|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|    462|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    462|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    462|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|    462|    }
  728|    785|}
lazyimportobject.c:PyStackRef_AsPyObjectBorrow:
  540|     32|{
  541|     32|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 32, False: 0]
  ------------------
  542|     32|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|     32|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|     32|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|     32|}
lazyimportobject.c:PyStackRef_IsTaggedInt:
  440|     32|{
  441|     32|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|     32|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|     32|#define Py_INT_TAG 3
  ------------------
  442|     32|}

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|    295|{
   54|    295|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|    295|    do {                                    \
  |  |   45|    295|        assert(op != NULL);                 \
  |  |   46|    590|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|    295|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    295|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|    590|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 295]
  |  |  ------------------
  ------------------
  |  Branch (54:5): [True: 295, False: 0]
  |  Branch (54:5): [True: 295, False: 0]
  ------------------
   55|    295|    if (!_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|    295|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    295|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (55:9): [True: 85, False: 210]
  ------------------
   56|     85|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|     85|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|     85|    }
   58|    295|}
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);
  ------------------
  |  |  502|      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|    174|{
   54|    174|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|    174|    do {                                    \
  |  |   45|    174|        assert(op != NULL);                 \
  |  |   46|    348|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|    174|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|    348|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 174]
  |  |  ------------------
  ------------------
  |  Branch (54:5): [True: 174, False: 0]
  |  Branch (54:5): [True: 174, False: 0]
  ------------------
   55|    174|    if (!_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|    174|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (55:9): [True: 21, False: 153]
  ------------------
   56|     21|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|     21|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|     21|    }
   58|    174|}

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

unicode_writer.c:_PyUnicodeWriter_SetBuffer:
  149|   209k|{
  150|   209k|    assert(writer->pos <= PyUnicode_GET_LENGTH(buffer));
  ------------------
  |  Branch (150:5): [True: 209k, False: 0]
  ------------------
  151|       |
  152|       |    // Py_DECREF() the previous buffer (if any)
  153|   209k|    Py_XSETREF(writer->buffer, buffer);
  ------------------
  |  |  576|   209k|    do { \
  |  |  577|   209k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|   209k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|   209k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|   209k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|   209k|        *_tmp_dst_ptr = (src); \
  |  |  580|   209k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|   209k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   209k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   209k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|   209k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 209k]
  |  |  ------------------
  ------------------
  154|   209k|    writer->data = PyUnicode_DATA(buffer);
  ------------------
  |  |  285|   209k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   209k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   209k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  155|   209k|    writer->kind = PyUnicode_KIND(buffer);
  ------------------
  |  |  259|   209k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   419k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 209k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  156|   209k|    writer->maxchar = PyUnicode_MAX_CHAR_VALUE(buffer);
  ------------------
  |  |  406|   209k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   209k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   209k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  157|   209k|    writer->size = PyUnicode_GET_LENGTH(buffer);
  ------------------
  |  |  300|   209k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   209k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   209k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  158|   209k|    writer->readonly = 0;
  159|   209k|}
unicode_writer.c:_PyUnicodeWriter_CanWrite:
  128|   209k|{
  129|   209k|    assert(!writer->readonly);
  ------------------
  |  Branch (129:5): [True: 209k, False: 0]
  ------------------
  130|       |
  131|   209k|    PyObject *buffer = writer->buffer;
  132|   209k|    assert(buffer != NULL);
  ------------------
  |  Branch (132:5): [True: 209k, False: 0]
  ------------------
  133|       |
  134|       |    // Code adapted from _PyUnicode_IsModifiable().
  135|       |    // Do not use _PyObject_IsUniquelyReferenced(): the caller can have its own
  136|       |    // lock to prevent a writer from being used by two threads at the same
  137|       |    // time.
  138|   209k|    assert(Py_REFCNT(buffer) == 1);
  ------------------
  |  Branch (138:5): [True: 209k, False: 0]
  ------------------
  139|   209k|    assert(PyUnstable_Unicode_GET_CACHED_HASH(buffer) == -1);
  ------------------
  |  Branch (139:5): [True: 209k, False: 0]
  ------------------
  140|   209k|    assert(!PyUnicode_CHECK_INTERNED(buffer));
  ------------------
  |  Branch (140:5): [True: 209k, False: 0]
  ------------------
  141|   209k|    assert(!_Py_IsImmortal(buffer));
  ------------------
  |  Branch (141:5): [True: 209k, False: 0]
  ------------------
  142|   209k|    assert(!_PyUnicode_HAS_UTF8_MEMORY(buffer));
  ------------------
  |  Branch (142:5): [True: 209k, False: 0]
  ------------------
  143|   209k|    return 1;
  144|   209k|}
unicode_writer.c:_PyUnicode_HAS_UTF8_MEMORY:
  119|   209k|{
  120|   209k|    return (!PyUnicode_IS_COMPACT_ASCII(op)
  ------------------
  |  |  242|   419k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   209k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   209k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (120:13): [True: 209k, False: 769]
  ------------------
  121|   209k|            && _PyUnicode_UTF8(op) != NULL
  ------------------
  |  Branch (121:16): [True: 0, False: 209k]
  ------------------
  122|      0|            && _PyUnicode_UTF8(op) != PyUnicode_DATA(op));
  ------------------
  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (122:16): [True: 0, False: 0]
  ------------------
  123|   209k|}
unicode_writer.c:_PyUnicode_UTF8:
  112|   209k|{
  113|   209k|    return FT_ATOMIC_LOAD_PTR_ACQUIRE(_PyCompactUnicodeObject_CAST(op)->utf8);
  ------------------
  |  |  152|  1.46M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |  |  Branch (152:43): [True: 209k, False: 0]
  |  |  |  Branch (152:43): [True: 0, False: 0]
  |  |  |  Branch (152:43): [True: 0, False: 209k]
  |  |  |  Branch (152:43): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  114|   209k|}
unicode_writer.c:_PyUnicodeWriter_WriteCharInline:
  185|    110|{
  186|    110|    if (ch > writer->maxchar || 1 > (writer->size - writer->pos)) {
  ------------------
  |  Branch (186:9): [True: 4, False: 106]
  |  Branch (186:33): [True: 24, False: 82]
  ------------------
  187|     28|        if (writer->buffer == NULL && ch <= 255) {
  ------------------
  |  Branch (187:13): [True: 4, False: 24]
  |  Branch (187:39): [True: 4, False: 0]
  ------------------
  188|       |            // If the first write is a Latin1 character, use the singleton
  189|       |            // as a read-only object
  190|      4|            PyObject *obj = _Py_LATIN1_CHR(ch);
  ------------------
  |  |  955|      4|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (955:6): [True: 4, False: 0]
  |  |  ------------------
  |  |  956|      4|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  957|      4|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|       |            // Py_NewRef() is not needed on immortal object
  192|      4|            _PyUnicodeWriter_SetReadOnly(writer, obj, 1);
  193|      4|            return 0;
  194|      4|        }
  195|       |
  196|     24|        if (_PyUnicodeWriter_PrepareInternal(writer, 1, ch) == -1) {
  ------------------
  |  Branch (196:13): [True: 0, False: 24]
  ------------------
  197|      0|            return -1;
  198|      0|        }
  199|     24|    }
  200|    110|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (200:5): [True: 106, False: 0]
  ------------------
  201|       |
  202|    106|    PyUnicode_WRITE(writer->kind, writer->data, writer->pos, ch);
  ------------------
  |  |  336|    106|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|    106|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|    106|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|    106|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|    106|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  203|    106|    writer->pos++;
  204|    106|    return 0;
  205|    106|}
unicode_writer.c:_PyUnicodeWriter_SetReadOnly:
  164|     24|{
  165|     24|    assert(writer->buffer == NULL);
  ------------------
  |  Branch (165:5): [True: 24, False: 0]
  ------------------
  166|     24|    assert(writer->pos == 0);
  ------------------
  |  Branch (166:5): [True: 24, False: 0]
  ------------------
  167|       |    // Micro-optimization: pass length as a parameter, as it's usually known
  168|       |    // by the caller
  169|     24|    assert(length == PyUnicode_GET_LENGTH(obj));
  ------------------
  |  Branch (169:5): [True: 24, False: 0]
  ------------------
  170|       |
  171|     24|    writer->buffer = obj;
  172|     24|    writer->data = NULL;
  173|       |    /* Set kind and size to 0 to make sure that the next
  174|       |     * _PyUnicodeWriter_Prepare() call allocates a new buffer and copies
  175|       |     * characters. */
  176|     24|    writer->kind = 0;
  177|     24|    writer->maxchar = PyUnicode_MAX_CHAR_VALUE(obj);
  ------------------
  |  |  406|     24|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  178|     24|    writer->size = 0;
  179|     24|    writer->pos = length;
  180|     24|    writer->readonly = 1;
  181|     24|}
unicodeobject.c:_PyUnicode_UTF8:
  112|  1.04M|{
  113|  1.04M|    return FT_ATOMIC_LOAD_PTR_ACQUIRE(_PyCompactUnicodeObject_CAST(op)->utf8);
  ------------------
  |  |  152|  7.33M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |  |  Branch (152:43): [True: 1.04M, False: 0]
  |  |  |  Branch (152:43): [True: 14, False: 0]
  |  |  |  Branch (152:43): [True: 14, False: 1.04M]
  |  |  |  Branch (152:43): [True: 0, False: 14]
  |  |  ------------------
  ------------------
  114|  1.04M|}
unicodeobject.c:_PyUnicode_HAS_UTF8_MEMORY:
  119|   225k|{
  120|   225k|    return (!PyUnicode_IS_COMPACT_ASCII(op)
  ------------------
  |  |  242|   451k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   225k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   225k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (120:13): [True: 209k, False: 15.6k]
  ------------------
  121|   209k|            && _PyUnicode_UTF8(op) != NULL
  ------------------
  |  Branch (121:16): [True: 47, False: 209k]
  ------------------
  122|     47|            && _PyUnicode_UTF8(op) != PyUnicode_DATA(op));
  ------------------
  |  |  285|     47|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     47|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     47|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (122:16): [True: 47, False: 0]
  ------------------
  123|   225k|}
unicodeobject.c:_PyUnicodeWriter_CanWrite:
  128|    424|{
  129|    424|    assert(!writer->readonly);
  ------------------
  |  Branch (129:5): [True: 424, False: 0]
  ------------------
  130|       |
  131|    424|    PyObject *buffer = writer->buffer;
  132|    424|    assert(buffer != NULL);
  ------------------
  |  Branch (132:5): [True: 424, False: 0]
  ------------------
  133|       |
  134|       |    // Code adapted from _PyUnicode_IsModifiable().
  135|       |    // Do not use _PyObject_IsUniquelyReferenced(): the caller can have its own
  136|       |    // lock to prevent a writer from being used by two threads at the same
  137|       |    // time.
  138|    424|    assert(Py_REFCNT(buffer) == 1);
  ------------------
  |  Branch (138:5): [True: 424, False: 0]
  ------------------
  139|    424|    assert(PyUnstable_Unicode_GET_CACHED_HASH(buffer) == -1);
  ------------------
  |  Branch (139:5): [True: 424, False: 0]
  ------------------
  140|    424|    assert(!PyUnicode_CHECK_INTERNED(buffer));
  ------------------
  |  Branch (140:5): [True: 424, False: 0]
  ------------------
  141|    424|    assert(!_Py_IsImmortal(buffer));
  ------------------
  |  Branch (141:5): [True: 424, False: 0]
  ------------------
  142|    424|    assert(!_PyUnicode_HAS_UTF8_MEMORY(buffer));
  ------------------
  |  Branch (142:5): [True: 424, False: 0]
  ------------------
  143|    424|    return 1;
  144|    424|}
unicodeobject.c:_PyUnicodeWriter_WriteCharInline:
  185|    341|{
  186|    341|    if (ch > writer->maxchar || 1 > (writer->size - writer->pos)) {
  ------------------
  |  Branch (186:9): [True: 237, False: 104]
  |  Branch (186:33): [True: 8, False: 96]
  ------------------
  187|    245|        if (writer->buffer == NULL && ch <= 255) {
  ------------------
  |  Branch (187:13): [True: 0, False: 245]
  |  Branch (187:39): [True: 0, False: 0]
  ------------------
  188|       |            // If the first write is a Latin1 character, use the singleton
  189|       |            // as a read-only object
  190|      0|            PyObject *obj = _Py_LATIN1_CHR(ch);
  ------------------
  |  |  955|      0|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (955:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  956|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  957|      0|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|       |            // Py_NewRef() is not needed on immortal object
  192|      0|            _PyUnicodeWriter_SetReadOnly(writer, obj, 1);
  193|      0|            return 0;
  194|      0|        }
  195|       |
  196|    245|        if (_PyUnicodeWriter_PrepareInternal(writer, 1, ch) == -1) {
  ------------------
  |  Branch (196:13): [True: 0, False: 245]
  ------------------
  197|      0|            return -1;
  198|      0|        }
  199|    245|    }
  200|    341|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (200:5): [True: 341, False: 0]
  ------------------
  201|       |
  202|    341|    PyUnicode_WRITE(writer->kind, writer->data, writer->pos, ch);
  ------------------
  |  |  336|    341|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|    341|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|    341|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|    341|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|    341|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  203|    341|    writer->pos++;
  204|    341|    return 0;
  205|    341|}
unicodeobject.c:_PyUnicode_EnsureUnicode:
  101|  1.75k|{
  102|  1.75k|    if (!PyUnicode_Check(obj)) {
  ------------------
  |  |  103|  1.75k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.75k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (102:9): [True: 0, False: 1.75k]
  ------------------
  103|      0|        PyErr_Format(PyExc_TypeError,
  104|      0|                     "must be str, not %T", obj);
  105|      0|        return -1;
  106|      0|    }
  107|  1.75k|    return 0;
  108|  1.75k|}
unicodeobject.c:_PyUnicode_Fill:
   69|      8|{
   70|      8|    assert(0 <= start);
  ------------------
  |  Branch (70:5): [True: 8, False: 0]
  ------------------
   71|      8|    switch (kind) {
   72|      8|    case PyUnicode_1BYTE_KIND: {
  ------------------
  |  Branch (72:5): [True: 8, False: 0]
  ------------------
   73|      8|        assert(value <= 0xff);
  ------------------
  |  Branch (73:9): [True: 8, False: 0]
  ------------------
   74|      8|        Py_UCS1 ch = (unsigned char)value;
   75|      8|        Py_UCS1 *to = (Py_UCS1 *)data + start;
   76|      8|        memset(to, ch, length);
   77|      8|        break;
   78|      8|    }
   79|      0|    case PyUnicode_2BYTE_KIND: {
  ------------------
  |  Branch (79:5): [True: 0, False: 8]
  ------------------
   80|      0|        assert(value <= 0xffff);
  ------------------
  |  Branch (80:9): [True: 0, False: 0]
  ------------------
   81|      0|        Py_UCS2 ch = (Py_UCS2)value;
   82|      0|        Py_UCS2 *to = (Py_UCS2 *)data + start;
   83|      0|        const Py_UCS2 *end = to + length;
   84|      0|        for (; to < end; ++to) *to = ch;
  ------------------
  |  Branch (84:16): [True: 0, False: 0]
  ------------------
   85|      0|        break;
   86|      0|    }
   87|      0|    case PyUnicode_4BYTE_KIND: {
  ------------------
  |  Branch (87:5): [True: 0, False: 8]
  ------------------
   88|      0|        assert(value <= _Py_MAX_UNICODE);
  ------------------
  |  Branch (88:9): [True: 0, False: 0]
  ------------------
   89|      0|        Py_UCS4 ch = value;
   90|      0|        Py_UCS4 * to = (Py_UCS4 *)data + start;
   91|      0|        const Py_UCS4 *end = to + length;
   92|      0|        for (; to < end; ++to) *to = ch;
  ------------------
  |  Branch (92:16): [True: 0, False: 0]
  ------------------
   93|      0|        break;
   94|      0|    }
   95|      0|    default: Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  |  Branch (95:5): [True: 0, False: 8]
  ------------------
   96|      8|    }
   97|      8|}
unicode_format.c:_PyUnicode_EnsureUnicode:
  101|     21|{
  102|     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 (102:9): [True: 0, False: 21]
  ------------------
  103|      0|        PyErr_Format(PyExc_TypeError,
  104|      0|                     "must be str, not %T", obj);
  105|      0|        return -1;
  106|      0|    }
  107|     21|    return 0;
  108|     21|}

unicodeobject.c:_PyUnicode_InitStaticStrings:
   13|      2|_PyUnicode_InitStaticStrings(PyInterpreterState *interp) {
   14|       |    // Offsets avoid a pointer relocation for each string.
   15|      2|    static const uint32_t offsets[] = {
   16|      2|        offsetof(struct _Py_global_strings, identifiers._py_AGEN_CLOSED._ascii.ob_base),
   17|      2|        offsetof(struct _Py_global_strings, identifiers._py_AGEN_CREATED._ascii.ob_base),
   18|      2|        offsetof(struct _Py_global_strings, identifiers._py_AGEN_RUNNING._ascii.ob_base),
   19|      2|        offsetof(struct _Py_global_strings, identifiers._py_AGEN_SUSPENDED._ascii.ob_base),
   20|      2|        offsetof(struct _Py_global_strings, identifiers._py_CANCELLED._ascii.ob_base),
   21|      2|        offsetof(struct _Py_global_strings, identifiers._py_CORO_CLOSED._ascii.ob_base),
   22|      2|        offsetof(struct _Py_global_strings, identifiers._py_CORO_CREATED._ascii.ob_base),
   23|      2|        offsetof(struct _Py_global_strings, identifiers._py_CORO_RUNNING._ascii.ob_base),
   24|      2|        offsetof(struct _Py_global_strings, identifiers._py_CORO_SUSPENDED._ascii.ob_base),
   25|      2|        offsetof(struct _Py_global_strings, identifiers._py_Emax._ascii.ob_base),
   26|      2|        offsetof(struct _Py_global_strings, identifiers._py_Emin._ascii.ob_base),
   27|      2|        offsetof(struct _Py_global_strings, identifiers._py_FINISHED._ascii.ob_base),
   28|      2|        offsetof(struct _Py_global_strings, identifiers._py_False._ascii.ob_base),
   29|      2|        offsetof(struct _Py_global_strings, identifiers._py_GEN_CLOSED._ascii.ob_base),
   30|      2|        offsetof(struct _Py_global_strings, identifiers._py_GEN_CREATED._ascii.ob_base),
   31|      2|        offsetof(struct _Py_global_strings, identifiers._py_GEN_RUNNING._ascii.ob_base),
   32|      2|        offsetof(struct _Py_global_strings, identifiers._py_GEN_SUSPENDED._ascii.ob_base),
   33|      2|        offsetof(struct _Py_global_strings, identifiers._py_JSONDecodeError._ascii.ob_base),
   34|      2|        offsetof(struct _Py_global_strings, identifiers._py_PENDING._ascii.ob_base),
   35|      2|        offsetof(struct _Py_global_strings, identifiers._py_Py_Repr._ascii.ob_base),
   36|      2|        offsetof(struct _Py_global_strings, identifiers._py_TextIOWrapper._ascii.ob_base),
   37|      2|        offsetof(struct _Py_global_strings, identifiers._py_True._ascii.ob_base),
   38|      2|        offsetof(struct _Py_global_strings, identifiers._py_WarningMessage._ascii.ob_base),
   39|      2|        offsetof(struct _Py_global_strings, identifiers._py__WindowsConsoleIO._ascii.ob_base),
   40|      2|        offsetof(struct _Py_global_strings, identifiers._py___IOBase_closed._ascii.ob_base),
   41|      2|        offsetof(struct _Py_global_strings, identifiers._py___abc_tpflags__._ascii.ob_base),
   42|      2|        offsetof(struct _Py_global_strings, identifiers._py___abs__._ascii.ob_base),
   43|      2|        offsetof(struct _Py_global_strings, identifiers._py___abstractmethods__._ascii.ob_base),
   44|      2|        offsetof(struct _Py_global_strings, identifiers._py___add__._ascii.ob_base),
   45|      2|        offsetof(struct _Py_global_strings, identifiers._py___aenter__._ascii.ob_base),
   46|      2|        offsetof(struct _Py_global_strings, identifiers._py___aexit__._ascii.ob_base),
   47|      2|        offsetof(struct _Py_global_strings, identifiers._py___aiter__._ascii.ob_base),
   48|      2|        offsetof(struct _Py_global_strings, identifiers._py___all__._ascii.ob_base),
   49|      2|        offsetof(struct _Py_global_strings, identifiers._py___and__._ascii.ob_base),
   50|      2|        offsetof(struct _Py_global_strings, identifiers._py___anext__._ascii.ob_base),
   51|      2|        offsetof(struct _Py_global_strings, identifiers._py___annotate__._ascii.ob_base),
   52|      2|        offsetof(struct _Py_global_strings, identifiers._py___annotate_func__._ascii.ob_base),
   53|      2|        offsetof(struct _Py_global_strings, identifiers._py___annotations__._ascii.ob_base),
   54|      2|        offsetof(struct _Py_global_strings, identifiers._py___annotations_cache__._ascii.ob_base),
   55|      2|        offsetof(struct _Py_global_strings, identifiers._py___args__._ascii.ob_base),
   56|      2|        offsetof(struct _Py_global_strings, identifiers._py___await__._ascii.ob_base),
   57|      2|        offsetof(struct _Py_global_strings, identifiers._py___bases__._ascii.ob_base),
   58|      2|        offsetof(struct _Py_global_strings, identifiers._py___bool__._ascii.ob_base),
   59|      2|        offsetof(struct _Py_global_strings, identifiers._py___buffer__._ascii.ob_base),
   60|      2|        offsetof(struct _Py_global_strings, identifiers._py___build_class__._ascii.ob_base),
   61|      2|        offsetof(struct _Py_global_strings, identifiers._py___builtins__._ascii.ob_base),
   62|      2|        offsetof(struct _Py_global_strings, identifiers._py___bytes__._ascii.ob_base),
   63|      2|        offsetof(struct _Py_global_strings, identifiers._py___call__._ascii.ob_base),
   64|      2|        offsetof(struct _Py_global_strings, identifiers._py___cantrace__._ascii.ob_base),
   65|      2|        offsetof(struct _Py_global_strings, identifiers._py___ceil__._ascii.ob_base),
   66|      2|        offsetof(struct _Py_global_strings, identifiers._py___class__._ascii.ob_base),
   67|      2|        offsetof(struct _Py_global_strings, identifiers._py___class_getitem__._ascii.ob_base),
   68|      2|        offsetof(struct _Py_global_strings, identifiers._py___classcell__._ascii.ob_base),
   69|      2|        offsetof(struct _Py_global_strings, identifiers._py___classdict__._ascii.ob_base),
   70|      2|        offsetof(struct _Py_global_strings, identifiers._py___classdictcell__._ascii.ob_base),
   71|      2|        offsetof(struct _Py_global_strings, identifiers._py___complex__._ascii.ob_base),
   72|      2|        offsetof(struct _Py_global_strings, identifiers._py___conditional_annotations__._ascii.ob_base),
   73|      2|        offsetof(struct _Py_global_strings, identifiers._py___contains__._ascii.ob_base),
   74|      2|        offsetof(struct _Py_global_strings, identifiers._py___ctypes_from_outparam__._ascii.ob_base),
   75|      2|        offsetof(struct _Py_global_strings, identifiers._py___del__._ascii.ob_base),
   76|      2|        offsetof(struct _Py_global_strings, identifiers._py___delattr__._ascii.ob_base),
   77|      2|        offsetof(struct _Py_global_strings, identifiers._py___delete__._ascii.ob_base),
   78|      2|        offsetof(struct _Py_global_strings, identifiers._py___delitem__._ascii.ob_base),
   79|      2|        offsetof(struct _Py_global_strings, identifiers._py___dict__._ascii.ob_base),
   80|      2|        offsetof(struct _Py_global_strings, identifiers._py___dictoffset__._ascii.ob_base),
   81|      2|        offsetof(struct _Py_global_strings, identifiers._py___dir__._ascii.ob_base),
   82|      2|        offsetof(struct _Py_global_strings, identifiers._py___divmod__._ascii.ob_base),
   83|      2|        offsetof(struct _Py_global_strings, identifiers._py___doc__._ascii.ob_base),
   84|      2|        offsetof(struct _Py_global_strings, identifiers._py___enter__._ascii.ob_base),
   85|      2|        offsetof(struct _Py_global_strings, identifiers._py___eq__._ascii.ob_base),
   86|      2|        offsetof(struct _Py_global_strings, identifiers._py___exit__._ascii.ob_base),
   87|      2|        offsetof(struct _Py_global_strings, identifiers._py___file__._ascii.ob_base),
   88|      2|        offsetof(struct _Py_global_strings, identifiers._py___firstlineno__._ascii.ob_base),
   89|      2|        offsetof(struct _Py_global_strings, identifiers._py___float__._ascii.ob_base),
   90|      2|        offsetof(struct _Py_global_strings, identifiers._py___floor__._ascii.ob_base),
   91|      2|        offsetof(struct _Py_global_strings, identifiers._py___floordiv__._ascii.ob_base),
   92|      2|        offsetof(struct _Py_global_strings, identifiers._py___format__._ascii.ob_base),
   93|      2|        offsetof(struct _Py_global_strings, identifiers._py___fspath__._ascii.ob_base),
   94|      2|        offsetof(struct _Py_global_strings, identifiers._py___ge__._ascii.ob_base),
   95|      2|        offsetof(struct _Py_global_strings, identifiers._py___get__._ascii.ob_base),
   96|      2|        offsetof(struct _Py_global_strings, identifiers._py___getattr__._ascii.ob_base),
   97|      2|        offsetof(struct _Py_global_strings, identifiers._py___getattribute__._ascii.ob_base),
   98|      2|        offsetof(struct _Py_global_strings, identifiers._py___getinitargs__._ascii.ob_base),
   99|      2|        offsetof(struct _Py_global_strings, identifiers._py___getitem__._ascii.ob_base),
  100|      2|        offsetof(struct _Py_global_strings, identifiers._py___getnewargs__._ascii.ob_base),
  101|      2|        offsetof(struct _Py_global_strings, identifiers._py___getnewargs_ex__._ascii.ob_base),
  102|      2|        offsetof(struct _Py_global_strings, identifiers._py___getstate__._ascii.ob_base),
  103|      2|        offsetof(struct _Py_global_strings, identifiers._py___gt__._ascii.ob_base),
  104|      2|        offsetof(struct _Py_global_strings, identifiers._py___hash__._ascii.ob_base),
  105|      2|        offsetof(struct _Py_global_strings, identifiers._py___iadd__._ascii.ob_base),
  106|      2|        offsetof(struct _Py_global_strings, identifiers._py___iand__._ascii.ob_base),
  107|      2|        offsetof(struct _Py_global_strings, identifiers._py___ifloordiv__._ascii.ob_base),
  108|      2|        offsetof(struct _Py_global_strings, identifiers._py___ilshift__._ascii.ob_base),
  109|      2|        offsetof(struct _Py_global_strings, identifiers._py___imatmul__._ascii.ob_base),
  110|      2|        offsetof(struct _Py_global_strings, identifiers._py___imod__._ascii.ob_base),
  111|      2|        offsetof(struct _Py_global_strings, identifiers._py___import__._ascii.ob_base),
  112|      2|        offsetof(struct _Py_global_strings, identifiers._py___imul__._ascii.ob_base),
  113|      2|        offsetof(struct _Py_global_strings, identifiers._py___index__._ascii.ob_base),
  114|      2|        offsetof(struct _Py_global_strings, identifiers._py___init__._ascii.ob_base),
  115|      2|        offsetof(struct _Py_global_strings, identifiers._py___init_subclass__._ascii.ob_base),
  116|      2|        offsetof(struct _Py_global_strings, identifiers._py___instancecheck__._ascii.ob_base),
  117|      2|        offsetof(struct _Py_global_strings, identifiers._py___int__._ascii.ob_base),
  118|      2|        offsetof(struct _Py_global_strings, identifiers._py___invert__._ascii.ob_base),
  119|      2|        offsetof(struct _Py_global_strings, identifiers._py___ior__._ascii.ob_base),
  120|      2|        offsetof(struct _Py_global_strings, identifiers._py___ipow__._ascii.ob_base),
  121|      2|        offsetof(struct _Py_global_strings, identifiers._py___irshift__._ascii.ob_base),
  122|      2|        offsetof(struct _Py_global_strings, identifiers._py___isabstractmethod__._ascii.ob_base),
  123|      2|        offsetof(struct _Py_global_strings, identifiers._py___isub__._ascii.ob_base),
  124|      2|        offsetof(struct _Py_global_strings, identifiers._py___iter__._ascii.ob_base),
  125|      2|        offsetof(struct _Py_global_strings, identifiers._py___itruediv__._ascii.ob_base),
  126|      2|        offsetof(struct _Py_global_strings, identifiers._py___ixor__._ascii.ob_base),
  127|      2|        offsetof(struct _Py_global_strings, identifiers._py___lazy_import__._ascii.ob_base),
  128|      2|        offsetof(struct _Py_global_strings, identifiers._py___lazy_modules__._ascii.ob_base),
  129|      2|        offsetof(struct _Py_global_strings, identifiers._py___le__._ascii.ob_base),
  130|      2|        offsetof(struct _Py_global_strings, identifiers._py___len__._ascii.ob_base),
  131|      2|        offsetof(struct _Py_global_strings, identifiers._py___length_hint__._ascii.ob_base),
  132|      2|        offsetof(struct _Py_global_strings, identifiers._py___lltrace__._ascii.ob_base),
  133|      2|        offsetof(struct _Py_global_strings, identifiers._py___loader__._ascii.ob_base),
  134|      2|        offsetof(struct _Py_global_strings, identifiers._py___lshift__._ascii.ob_base),
  135|      2|        offsetof(struct _Py_global_strings, identifiers._py___lt__._ascii.ob_base),
  136|      2|        offsetof(struct _Py_global_strings, identifiers._py___main__._ascii.ob_base),
  137|      2|        offsetof(struct _Py_global_strings, identifiers._py___match_args__._ascii.ob_base),
  138|      2|        offsetof(struct _Py_global_strings, identifiers._py___matmul__._ascii.ob_base),
  139|      2|        offsetof(struct _Py_global_strings, identifiers._py___missing__._ascii.ob_base),
  140|      2|        offsetof(struct _Py_global_strings, identifiers._py___mod__._ascii.ob_base),
  141|      2|        offsetof(struct _Py_global_strings, identifiers._py___module__._ascii.ob_base),
  142|      2|        offsetof(struct _Py_global_strings, identifiers._py___mro_entries__._ascii.ob_base),
  143|      2|        offsetof(struct _Py_global_strings, identifiers._py___mul__._ascii.ob_base),
  144|      2|        offsetof(struct _Py_global_strings, identifiers._py___name__._ascii.ob_base),
  145|      2|        offsetof(struct _Py_global_strings, identifiers._py___ne__._ascii.ob_base),
  146|      2|        offsetof(struct _Py_global_strings, identifiers._py___neg__._ascii.ob_base),
  147|      2|        offsetof(struct _Py_global_strings, identifiers._py___new__._ascii.ob_base),
  148|      2|        offsetof(struct _Py_global_strings, identifiers._py___newobj__._ascii.ob_base),
  149|      2|        offsetof(struct _Py_global_strings, identifiers._py___newobj_ex__._ascii.ob_base),
  150|      2|        offsetof(struct _Py_global_strings, identifiers._py___next__._ascii.ob_base),
  151|      2|        offsetof(struct _Py_global_strings, identifiers._py___notes__._ascii.ob_base),
  152|      2|        offsetof(struct _Py_global_strings, identifiers._py___or__._ascii.ob_base),
  153|      2|        offsetof(struct _Py_global_strings, identifiers._py___orig_class__._ascii.ob_base),
  154|      2|        offsetof(struct _Py_global_strings, identifiers._py___origin__._ascii.ob_base),
  155|      2|        offsetof(struct _Py_global_strings, identifiers._py___package__._ascii.ob_base),
  156|      2|        offsetof(struct _Py_global_strings, identifiers._py___parameters__._ascii.ob_base),
  157|      2|        offsetof(struct _Py_global_strings, identifiers._py___path__._ascii.ob_base),
  158|      2|        offsetof(struct _Py_global_strings, identifiers._py___pos__._ascii.ob_base),
  159|      2|        offsetof(struct _Py_global_strings, identifiers._py___pow__._ascii.ob_base),
  160|      2|        offsetof(struct _Py_global_strings, identifiers._py___prepare__._ascii.ob_base),
  161|      2|        offsetof(struct _Py_global_strings, identifiers._py___qualname__._ascii.ob_base),
  162|      2|        offsetof(struct _Py_global_strings, identifiers._py___radd__._ascii.ob_base),
  163|      2|        offsetof(struct _Py_global_strings, identifiers._py___rand__._ascii.ob_base),
  164|      2|        offsetof(struct _Py_global_strings, identifiers._py___rdivmod__._ascii.ob_base),
  165|      2|        offsetof(struct _Py_global_strings, identifiers._py___reduce__._ascii.ob_base),
  166|      2|        offsetof(struct _Py_global_strings, identifiers._py___reduce_ex__._ascii.ob_base),
  167|      2|        offsetof(struct _Py_global_strings, identifiers._py___release_buffer__._ascii.ob_base),
  168|      2|        offsetof(struct _Py_global_strings, identifiers._py___repr__._ascii.ob_base),
  169|      2|        offsetof(struct _Py_global_strings, identifiers._py___reversed__._ascii.ob_base),
  170|      2|        offsetof(struct _Py_global_strings, identifiers._py___rfloordiv__._ascii.ob_base),
  171|      2|        offsetof(struct _Py_global_strings, identifiers._py___rlshift__._ascii.ob_base),
  172|      2|        offsetof(struct _Py_global_strings, identifiers._py___rmatmul__._ascii.ob_base),
  173|      2|        offsetof(struct _Py_global_strings, identifiers._py___rmod__._ascii.ob_base),
  174|      2|        offsetof(struct _Py_global_strings, identifiers._py___rmul__._ascii.ob_base),
  175|      2|        offsetof(struct _Py_global_strings, identifiers._py___ror__._ascii.ob_base),
  176|      2|        offsetof(struct _Py_global_strings, identifiers._py___round__._ascii.ob_base),
  177|      2|        offsetof(struct _Py_global_strings, identifiers._py___rpow__._ascii.ob_base),
  178|      2|        offsetof(struct _Py_global_strings, identifiers._py___rrshift__._ascii.ob_base),
  179|      2|        offsetof(struct _Py_global_strings, identifiers._py___rshift__._ascii.ob_base),
  180|      2|        offsetof(struct _Py_global_strings, identifiers._py___rsub__._ascii.ob_base),
  181|      2|        offsetof(struct _Py_global_strings, identifiers._py___rtruediv__._ascii.ob_base),
  182|      2|        offsetof(struct _Py_global_strings, identifiers._py___rxor__._ascii.ob_base),
  183|      2|        offsetof(struct _Py_global_strings, identifiers._py___set__._ascii.ob_base),
  184|      2|        offsetof(struct _Py_global_strings, identifiers._py___set_name__._ascii.ob_base),
  185|      2|        offsetof(struct _Py_global_strings, identifiers._py___setattr__._ascii.ob_base),
  186|      2|        offsetof(struct _Py_global_strings, identifiers._py___setitem__._ascii.ob_base),
  187|      2|        offsetof(struct _Py_global_strings, identifiers._py___setstate__._ascii.ob_base),
  188|      2|        offsetof(struct _Py_global_strings, identifiers._py___sizeof__._ascii.ob_base),
  189|      2|        offsetof(struct _Py_global_strings, identifiers._py___slotnames__._ascii.ob_base),
  190|      2|        offsetof(struct _Py_global_strings, identifiers._py___slots__._ascii.ob_base),
  191|      2|        offsetof(struct _Py_global_strings, identifiers._py___spec__._ascii.ob_base),
  192|      2|        offsetof(struct _Py_global_strings, identifiers._py___static_attributes__._ascii.ob_base),
  193|      2|        offsetof(struct _Py_global_strings, identifiers._py___str__._ascii.ob_base),
  194|      2|        offsetof(struct _Py_global_strings, identifiers._py___sub__._ascii.ob_base),
  195|      2|        offsetof(struct _Py_global_strings, identifiers._py___subclasscheck__._ascii.ob_base),
  196|      2|        offsetof(struct _Py_global_strings, identifiers._py___subclasshook__._ascii.ob_base),
  197|      2|        offsetof(struct _Py_global_strings, identifiers._py___truediv__._ascii.ob_base),
  198|      2|        offsetof(struct _Py_global_strings, identifiers._py___trunc__._ascii.ob_base),
  199|      2|        offsetof(struct _Py_global_strings, identifiers._py___type_params__._ascii.ob_base),
  200|      2|        offsetof(struct _Py_global_strings, identifiers._py___typing_is_unpacked_typevartuple__._ascii.ob_base),
  201|      2|        offsetof(struct _Py_global_strings, identifiers._py___typing_prepare_subst__._ascii.ob_base),
  202|      2|        offsetof(struct _Py_global_strings, identifiers._py___typing_subst__._ascii.ob_base),
  203|      2|        offsetof(struct _Py_global_strings, identifiers._py___typing_unpacked_tuple_args__._ascii.ob_base),
  204|      2|        offsetof(struct _Py_global_strings, identifiers._py___warningregistry__._ascii.ob_base),
  205|      2|        offsetof(struct _Py_global_strings, identifiers._py___weaklistoffset__._ascii.ob_base),
  206|      2|        offsetof(struct _Py_global_strings, identifiers._py___weakref__._ascii.ob_base),
  207|      2|        offsetof(struct _Py_global_strings, identifiers._py___xor__._ascii.ob_base),
  208|      2|        offsetof(struct _Py_global_strings, identifiers._py__abc_impl._ascii.ob_base),
  209|      2|        offsetof(struct _Py_global_strings, identifiers._py__abstract_._ascii.ob_base),
  210|      2|        offsetof(struct _Py_global_strings, identifiers._py__active._ascii.ob_base),
  211|      2|        offsetof(struct _Py_global_strings, identifiers._py__anonymous_._ascii.ob_base),
  212|      2|        offsetof(struct _Py_global_strings, identifiers._py__argtypes_._ascii.ob_base),
  213|      2|        offsetof(struct _Py_global_strings, identifiers._py__as_parameter_._ascii.ob_base),
  214|      2|        offsetof(struct _Py_global_strings, identifiers._py__asyncio_future_blocking._ascii.ob_base),
  215|      2|        offsetof(struct _Py_global_strings, identifiers._py__blksize._ascii.ob_base),
  216|      2|        offsetof(struct _Py_global_strings, identifiers._py__bootstrap._ascii.ob_base),
  217|      2|        offsetof(struct _Py_global_strings, identifiers._py__bootstrap_external._ascii.ob_base),
  218|      2|        offsetof(struct _Py_global_strings, identifiers._py__check_retval_._ascii.ob_base),
  219|      2|        offsetof(struct _Py_global_strings, identifiers._py__dealloc_warn._ascii.ob_base),
  220|      2|        offsetof(struct _Py_global_strings, identifiers._py__feature_version._ascii.ob_base),
  221|      2|        offsetof(struct _Py_global_strings, identifiers._py__field_types._ascii.ob_base),
  222|      2|        offsetof(struct _Py_global_strings, identifiers._py__fields_._ascii.ob_base),
  223|      2|        offsetof(struct _Py_global_strings, identifiers._py__filters._ascii.ob_base),
  224|      2|        offsetof(struct _Py_global_strings, identifiers._py__finalizing._ascii.ob_base),
  225|      2|        offsetof(struct _Py_global_strings, identifiers._py__find_and_load._ascii.ob_base),
  226|      2|        offsetof(struct _Py_global_strings, identifiers._py__find_and_load_lazy_submodule._ascii.ob_base),
  227|      2|        offsetof(struct _Py_global_strings, identifiers._py__fix_up_module._ascii.ob_base),
  228|      2|        offsetof(struct _Py_global_strings, identifiers._py__flags_._ascii.ob_base),
  229|      2|        offsetof(struct _Py_global_strings, identifiers._py__get_sourcefile._ascii.ob_base),
  230|      2|        offsetof(struct _Py_global_strings, identifiers._py__handle_fromlist._ascii.ob_base),
  231|      2|        offsetof(struct _Py_global_strings, identifiers._py__initializing._ascii.ob_base),
  232|      2|        offsetof(struct _Py_global_strings, identifiers._py__internal_use._ascii.ob_base),
  233|      2|        offsetof(struct _Py_global_strings, identifiers._py__io._ascii.ob_base),
  234|      2|        offsetof(struct _Py_global_strings, identifiers._py__is_text_encoding._ascii.ob_base),
  235|      2|        offsetof(struct _Py_global_strings, identifiers._py__isatty_open_only._ascii.ob_base),
  236|      2|        offsetof(struct _Py_global_strings, identifiers._py__length_._ascii.ob_base),
  237|      2|        offsetof(struct _Py_global_strings, identifiers._py__limbo._ascii.ob_base),
  238|      2|        offsetof(struct _Py_global_strings, identifiers._py__lock_unlock_module._ascii.ob_base),
  239|      2|        offsetof(struct _Py_global_strings, identifiers._py__loop._ascii.ob_base),
  240|      2|        offsetof(struct _Py_global_strings, identifiers._py__needs_com_addref_._ascii.ob_base),
  241|      2|        offsetof(struct _Py_global_strings, identifiers._py__only_immortal._ascii.ob_base),
  242|      2|        offsetof(struct _Py_global_strings, identifiers._py__restype_._ascii.ob_base),
  243|      2|        offsetof(struct _Py_global_strings, identifiers._py__showwarnmsg._ascii.ob_base),
  244|      2|        offsetof(struct _Py_global_strings, identifiers._py__shutdown._ascii.ob_base),
  245|      2|        offsetof(struct _Py_global_strings, identifiers._py__slotnames._ascii.ob_base),
  246|      2|        offsetof(struct _Py_global_strings, identifiers._py__strptime._ascii.ob_base),
  247|      2|        offsetof(struct _Py_global_strings, identifiers._py__strptime_datetime_date._ascii.ob_base),
  248|      2|        offsetof(struct _Py_global_strings, identifiers._py__strptime_datetime_datetime._ascii.ob_base),
  249|      2|        offsetof(struct _Py_global_strings, identifiers._py__strptime_datetime_time._ascii.ob_base),
  250|      2|        offsetof(struct _Py_global_strings, identifiers._py__type_._ascii.ob_base),
  251|      2|        offsetof(struct _Py_global_strings, identifiers._py__uninitialized_submodules._ascii.ob_base),
  252|      2|        offsetof(struct _Py_global_strings, identifiers._py__warn_unawaited_coroutine._ascii.ob_base),
  253|      2|        offsetof(struct _Py_global_strings, identifiers._py__xoptions._ascii.ob_base),
  254|      2|        offsetof(struct _Py_global_strings, identifiers._py_abs_tol._ascii.ob_base),
  255|      2|        offsetof(struct _Py_global_strings, identifiers._py_access._ascii.ob_base),
  256|      2|        offsetof(struct _Py_global_strings, identifiers._py_aclose._ascii.ob_base),
  257|      2|        offsetof(struct _Py_global_strings, identifiers._py_add._ascii.ob_base),
  258|      2|        offsetof(struct _Py_global_strings, identifiers._py_add_done_callback._ascii.ob_base),
  259|      2|        offsetof(struct _Py_global_strings, identifiers._py_adobe._ascii.ob_base),
  260|      2|        offsetof(struct _Py_global_strings, identifiers._py_after_in_child._ascii.ob_base),
  261|      2|        offsetof(struct _Py_global_strings, identifiers._py_after_in_parent._ascii.ob_base),
  262|      2|        offsetof(struct _Py_global_strings, identifiers._py_alias._ascii.ob_base),
  263|      2|        offsetof(struct _Py_global_strings, identifiers._py_align._ascii.ob_base),
  264|      2|        offsetof(struct _Py_global_strings, identifiers._py_all._ascii.ob_base),
  265|      2|        offsetof(struct _Py_global_strings, identifiers._py_all_interpreters._ascii.ob_base),
  266|      2|        offsetof(struct _Py_global_strings, identifiers._py_all_threads._ascii.ob_base),
  267|      2|        offsetof(struct _Py_global_strings, identifiers._py_allow_code._ascii.ob_base),
  268|      2|        offsetof(struct _Py_global_strings, identifiers._py_alphabet._ascii.ob_base),
  269|      2|        offsetof(struct _Py_global_strings, identifiers._py_any._ascii.ob_base),
  270|      2|        offsetof(struct _Py_global_strings, identifiers._py_append._ascii.ob_base),
  271|      2|        offsetof(struct _Py_global_strings, identifiers._py_arg._ascii.ob_base),
  272|      2|        offsetof(struct _Py_global_strings, identifiers._py_argdefs._ascii.ob_base),
  273|      2|        offsetof(struct _Py_global_strings, identifiers._py_args._ascii.ob_base),
  274|      2|        offsetof(struct _Py_global_strings, identifiers._py_arguments._ascii.ob_base),
  275|      2|        offsetof(struct _Py_global_strings, identifiers._py_argv._ascii.ob_base),
  276|      2|        offsetof(struct _Py_global_strings, identifiers._py_as_integer_ratio._ascii.ob_base),
  277|      2|        offsetof(struct _Py_global_strings, identifiers._py_asend._ascii.ob_base),
  278|      2|        offsetof(struct _Py_global_strings, identifiers._py_assoclen._ascii.ob_base),
  279|      2|        offsetof(struct _Py_global_strings, identifiers._py_ast._ascii.ob_base),
  280|      2|        offsetof(struct _Py_global_strings, identifiers._py_athrow._ascii.ob_base),
  281|      2|        offsetof(struct _Py_global_strings, identifiers._py_attr._ascii.ob_base),
  282|      2|        offsetof(struct _Py_global_strings, identifiers._py_attribute._ascii.ob_base),
  283|      2|        offsetof(struct _Py_global_strings, identifiers._py_autocommit._ascii.ob_base),
  284|      2|        offsetof(struct _Py_global_strings, identifiers._py_backtick._ascii.ob_base),
  285|      2|        offsetof(struct _Py_global_strings, identifiers._py_base._ascii.ob_base),
  286|      2|        offsetof(struct _Py_global_strings, identifiers._py_before._ascii.ob_base),
  287|      2|        offsetof(struct _Py_global_strings, identifiers._py_big._ascii.ob_base),
  288|      2|        offsetof(struct _Py_global_strings, identifiers._py_binary_form._ascii.ob_base),
  289|      2|        offsetof(struct _Py_global_strings, identifiers._py_bit_offset._ascii.ob_base),
  290|      2|        offsetof(struct _Py_global_strings, identifiers._py_bit_size._ascii.ob_base),
  291|      2|        offsetof(struct _Py_global_strings, identifiers._py_block._ascii.ob_base),
  292|      2|        offsetof(struct _Py_global_strings, identifiers._py_blocking._ascii.ob_base),
  293|      2|        offsetof(struct _Py_global_strings, identifiers._py_bound._ascii.ob_base),
  294|      2|        offsetof(struct _Py_global_strings, identifiers._py_buffer._ascii.ob_base),
  295|      2|        offsetof(struct _Py_global_strings, identifiers._py_buffer_callback._ascii.ob_base),
  296|      2|        offsetof(struct _Py_global_strings, identifiers._py_buffer_size._ascii.ob_base),
  297|      2|        offsetof(struct _Py_global_strings, identifiers._py_buffering._ascii.ob_base),
  298|      2|        offsetof(struct _Py_global_strings, identifiers._py_buffers._ascii.ob_base),
  299|      2|        offsetof(struct _Py_global_strings, identifiers._py_bufsize._ascii.ob_base),
  300|      2|        offsetof(struct _Py_global_strings, identifiers._py_builtins._ascii.ob_base),
  301|      2|        offsetof(struct _Py_global_strings, identifiers._py_byte_offset._ascii.ob_base),
  302|      2|        offsetof(struct _Py_global_strings, identifiers._py_byte_size._ascii.ob_base),
  303|      2|        offsetof(struct _Py_global_strings, identifiers._py_byteorder._ascii.ob_base),
  304|      2|        offsetof(struct _Py_global_strings, identifiers._py_bytes._ascii.ob_base),
  305|      2|        offsetof(struct _Py_global_strings, identifiers._py_bytes_le._ascii.ob_base),
  306|      2|        offsetof(struct _Py_global_strings, identifiers._py_bytes_per_sep._ascii.ob_base),
  307|      2|        offsetof(struct _Py_global_strings, identifiers._py_c_call._ascii.ob_base),
  308|      2|        offsetof(struct _Py_global_strings, identifiers._py_c_exception._ascii.ob_base),
  309|      2|        offsetof(struct _Py_global_strings, identifiers._py_c_parameter_type._ascii.ob_base),
  310|      2|        offsetof(struct _Py_global_strings, identifiers._py_c_return._ascii.ob_base),
  311|      2|        offsetof(struct _Py_global_strings, identifiers._py_c_stack._ascii.ob_base),
  312|      2|        offsetof(struct _Py_global_strings, identifiers._py_cache_frames._ascii.ob_base),
  313|      2|        offsetof(struct _Py_global_strings, identifiers._py_cached_datetime_module._ascii.ob_base),
  314|      2|        offsetof(struct _Py_global_strings, identifiers._py_cached_statements._ascii.ob_base),
  315|      2|        offsetof(struct _Py_global_strings, identifiers._py_cadata._ascii.ob_base),
  316|      2|        offsetof(struct _Py_global_strings, identifiers._py_cafile._ascii.ob_base),
  317|      2|        offsetof(struct _Py_global_strings, identifiers._py_call._ascii.ob_base),
  318|      2|        offsetof(struct _Py_global_strings, identifiers._py_call_exception_handler._ascii.ob_base),
  319|      2|        offsetof(struct _Py_global_strings, identifiers._py_call_soon._ascii.ob_base),
  320|      2|        offsetof(struct _Py_global_strings, identifiers._py_callable._ascii.ob_base),
  321|      2|        offsetof(struct _Py_global_strings, identifiers._py_callback._ascii.ob_base),
  322|      2|        offsetof(struct _Py_global_strings, identifiers._py_cancel._ascii.ob_base),
  323|      2|        offsetof(struct _Py_global_strings, identifiers._py_canonical._ascii.ob_base),
  324|      2|        offsetof(struct _Py_global_strings, identifiers._py_capath._ascii.ob_base),
  325|      2|        offsetof(struct _Py_global_strings, identifiers._py_capitals._ascii.ob_base),
  326|      2|        offsetof(struct _Py_global_strings, identifiers._py_capture_features._ascii.ob_base),
  327|      2|        offsetof(struct _Py_global_strings, identifiers._py_category._ascii.ob_base),
  328|      2|        offsetof(struct _Py_global_strings, identifiers._py_cb_type._ascii.ob_base),
  329|      2|        offsetof(struct _Py_global_strings, identifiers._py_certfile._ascii.ob_base),
  330|      2|        offsetof(struct _Py_global_strings, identifiers._py_chain._ascii.ob_base),
  331|      2|        offsetof(struct _Py_global_strings, identifiers._py_check_same_thread._ascii.ob_base),
  332|      2|        offsetof(struct _Py_global_strings, identifiers._py_clamp._ascii.ob_base),
  333|      2|        offsetof(struct _Py_global_strings, identifiers._py_clear._ascii.ob_base),
  334|      2|        offsetof(struct _Py_global_strings, identifiers._py_close._ascii.ob_base),
  335|      2|        offsetof(struct _Py_global_strings, identifiers._py_closed._ascii.ob_base),
  336|      2|        offsetof(struct _Py_global_strings, identifiers._py_closefd._ascii.ob_base),
  337|      2|        offsetof(struct _Py_global_strings, identifiers._py_closure._ascii.ob_base),
  338|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_argcount._ascii.ob_base),
  339|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_cellvars._ascii.ob_base),
  340|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_code._ascii.ob_base),
  341|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_consts._ascii.ob_base),
  342|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_exceptiontable._ascii.ob_base),
  343|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_filename._ascii.ob_base),
  344|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_firstlineno._ascii.ob_base),
  345|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_flags._ascii.ob_base),
  346|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_freevars._ascii.ob_base),
  347|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_kwonlyargcount._ascii.ob_base),
  348|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_linetable._ascii.ob_base),
  349|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_name._ascii.ob_base),
  350|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_names._ascii.ob_base),
  351|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_nlocals._ascii.ob_base),
  352|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_posonlyargcount._ascii.ob_base),
  353|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_qualname._ascii.ob_base),
  354|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_stacksize._ascii.ob_base),
  355|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_varnames._ascii.ob_base),
  356|      2|        offsetof(struct _Py_global_strings, identifiers._py_code._ascii.ob_base),
  357|      2|        offsetof(struct _Py_global_strings, identifiers._py_col_offset._ascii.ob_base),
  358|      2|        offsetof(struct _Py_global_strings, identifiers._py_collector._ascii.ob_base),
  359|      2|        offsetof(struct _Py_global_strings, identifiers._py_command._ascii.ob_base),
  360|      2|        offsetof(struct _Py_global_strings, identifiers._py_comment_factory._ascii.ob_base),
  361|      2|        offsetof(struct _Py_global_strings, identifiers._py_compile_mode._ascii.ob_base),
  362|      2|        offsetof(struct _Py_global_strings, identifiers._py_compression._ascii.ob_base),
  363|      2|        offsetof(struct _Py_global_strings, identifiers._py_config._ascii.ob_base),
  364|      2|        offsetof(struct _Py_global_strings, identifiers._py_consts._ascii.ob_base),
  365|      2|        offsetof(struct _Py_global_strings, identifiers._py_context._ascii.ob_base),
  366|      2|        offsetof(struct _Py_global_strings, identifiers._py_contravariant._ascii.ob_base),
  367|      2|        offsetof(struct _Py_global_strings, identifiers._py_conversion._ascii.ob_base),
  368|      2|        offsetof(struct _Py_global_strings, identifiers._py_cookie._ascii.ob_base),
  369|      2|        offsetof(struct _Py_global_strings, identifiers._py_copy._ascii.ob_base),
  370|      2|        offsetof(struct _Py_global_strings, identifiers._py_copyreg._ascii.ob_base),
  371|      2|        offsetof(struct _Py_global_strings, identifiers._py_coro._ascii.ob_base),
  372|      2|        offsetof(struct _Py_global_strings, identifiers._py_count._ascii.ob_base),
  373|      2|        offsetof(struct _Py_global_strings, identifiers._py_covariant._ascii.ob_base),
  374|      2|        offsetof(struct _Py_global_strings, identifiers._py_ctx._ascii.ob_base),
  375|      2|        offsetof(struct _Py_global_strings, identifiers._py_cwd._ascii.ob_base),
  376|      2|        offsetof(struct _Py_global_strings, identifiers._py_d_parameter_type._ascii.ob_base),
  377|      2|        offsetof(struct _Py_global_strings, identifiers._py_daemon._ascii.ob_base),
  378|      2|        offsetof(struct _Py_global_strings, identifiers._py_data._ascii.ob_base),
  379|      2|        offsetof(struct _Py_global_strings, identifiers._py_database._ascii.ob_base),
  380|      2|        offsetof(struct _Py_global_strings, identifiers._py_date._ascii.ob_base),
  381|      2|        offsetof(struct _Py_global_strings, identifiers._py_day._ascii.ob_base),
  382|      2|        offsetof(struct _Py_global_strings, identifiers._py_days._ascii.ob_base),
  383|      2|        offsetof(struct _Py_global_strings, identifiers._py_debug._ascii.ob_base),
  384|      2|        offsetof(struct _Py_global_strings, identifiers._py_decode._ascii.ob_base),
  385|      2|        offsetof(struct _Py_global_strings, identifiers._py_decoder._ascii.ob_base),
  386|      2|        offsetof(struct _Py_global_strings, identifiers._py_default._ascii.ob_base),
  387|      2|        offsetof(struct _Py_global_strings, identifiers._py_defaultaction._ascii.ob_base),
  388|      2|        offsetof(struct _Py_global_strings, identifiers._py_delete._ascii.ob_base),
  389|      2|        offsetof(struct _Py_global_strings, identifiers._py_depth._ascii.ob_base),
  390|      2|        offsetof(struct _Py_global_strings, identifiers._py_desired_access._ascii.ob_base),
  391|      2|        offsetof(struct _Py_global_strings, identifiers._py_detect_types._ascii.ob_base),
  392|      2|        offsetof(struct _Py_global_strings, identifiers._py_deterministic._ascii.ob_base),
  393|      2|        offsetof(struct _Py_global_strings, identifiers._py_device._ascii.ob_base),
  394|      2|        offsetof(struct _Py_global_strings, identifiers._py_dict._ascii.ob_base),
  395|      2|        offsetof(struct _Py_global_strings, identifiers._py_difference_update._ascii.ob_base),
  396|      2|        offsetof(struct _Py_global_strings, identifiers._py_digest._ascii.ob_base),
  397|      2|        offsetof(struct _Py_global_strings, identifiers._py_digest_size._ascii.ob_base),
  398|      2|        offsetof(struct _Py_global_strings, identifiers._py_digestmod._ascii.ob_base),
  399|      2|        offsetof(struct _Py_global_strings, identifiers._py_dir_fd._ascii.ob_base),
  400|      2|        offsetof(struct _Py_global_strings, identifiers._py_discard._ascii.ob_base),
  401|      2|        offsetof(struct _Py_global_strings, identifiers._py_dispatch_table._ascii.ob_base),
  402|      2|        offsetof(struct _Py_global_strings, identifiers._py_displayhook._ascii.ob_base),
  403|      2|        offsetof(struct _Py_global_strings, identifiers._py_dklen._ascii.ob_base),
  404|      2|        offsetof(struct _Py_global_strings, identifiers._py_doc._ascii.ob_base),
  405|      2|        offsetof(struct _Py_global_strings, identifiers._py_done._ascii.ob_base),
  406|      2|        offsetof(struct _Py_global_strings, identifiers._py_dont_inherit._ascii.ob_base),
  407|      2|        offsetof(struct _Py_global_strings, identifiers._py_dst._ascii.ob_base),
  408|      2|        offsetof(struct _Py_global_strings, identifiers._py_dst_dir_fd._ascii.ob_base),
  409|      2|        offsetof(struct _Py_global_strings, identifiers._py_duration_sec._ascii.ob_base),
  410|      2|        offsetof(struct _Py_global_strings, identifiers._py_eager_start._ascii.ob_base),
  411|      2|        offsetof(struct _Py_global_strings, identifiers._py_effective_ids._ascii.ob_base),
  412|      2|        offsetof(struct _Py_global_strings, identifiers._py_element_factory._ascii.ob_base),
  413|      2|        offsetof(struct _Py_global_strings, identifiers._py_emptyerror._ascii.ob_base),
  414|      2|        offsetof(struct _Py_global_strings, identifiers._py_encode._ascii.ob_base),
  415|      2|        offsetof(struct _Py_global_strings, identifiers._py_encoding._ascii.ob_base),
  416|      2|        offsetof(struct _Py_global_strings, identifiers._py_end._ascii.ob_base),
  417|      2|        offsetof(struct _Py_global_strings, identifiers._py_end_col_offset._ascii.ob_base),
  418|      2|        offsetof(struct _Py_global_strings, identifiers._py_end_lineno._ascii.ob_base),
  419|      2|        offsetof(struct _Py_global_strings, identifiers._py_end_offset._ascii.ob_base),
  420|      2|        offsetof(struct _Py_global_strings, identifiers._py_endpos._ascii.ob_base),
  421|      2|        offsetof(struct _Py_global_strings, identifiers._py_entrypoint._ascii.ob_base),
  422|      2|        offsetof(struct _Py_global_strings, identifiers._py_env._ascii.ob_base),
  423|      2|        offsetof(struct _Py_global_strings, identifiers._py_error_rate._ascii.ob_base),
  424|      2|        offsetof(struct _Py_global_strings, identifiers._py_errors._ascii.ob_base),
  425|      2|        offsetof(struct _Py_global_strings, identifiers._py_event._ascii.ob_base),
  426|      2|        offsetof(struct _Py_global_strings, identifiers._py_eventmask._ascii.ob_base),
  427|      2|        offsetof(struct _Py_global_strings, identifiers._py_exc._ascii.ob_base),
  428|      2|        offsetof(struct _Py_global_strings, identifiers._py_exc_tb._ascii.ob_base),
  429|      2|        offsetof(struct _Py_global_strings, identifiers._py_exc_type._ascii.ob_base),
  430|      2|        offsetof(struct _Py_global_strings, identifiers._py_exc_val._ascii.ob_base),
  431|      2|        offsetof(struct _Py_global_strings, identifiers._py_exc_value._ascii.ob_base),
  432|      2|        offsetof(struct _Py_global_strings, identifiers._py_excepthook._ascii.ob_base),
  433|      2|        offsetof(struct _Py_global_strings, identifiers._py_exception._ascii.ob_base),
  434|      2|        offsetof(struct _Py_global_strings, identifiers._py_existing_file_name._ascii.ob_base),
  435|      2|        offsetof(struct _Py_global_strings, identifiers._py_exit._ascii.ob_base),
  436|      2|        offsetof(struct _Py_global_strings, identifiers._py_exp._ascii.ob_base),
  437|      2|        offsetof(struct _Py_global_strings, identifiers._py_expression._ascii.ob_base),
  438|      2|        offsetof(struct _Py_global_strings, identifiers._py_extend._ascii.ob_base),
  439|      2|        offsetof(struct _Py_global_strings, identifiers._py_extra_tokens._ascii.ob_base),
  440|      2|        offsetof(struct _Py_global_strings, identifiers._py_facility._ascii.ob_base),
  441|      2|        offsetof(struct _Py_global_strings, identifiers._py_factory._ascii.ob_base),
  442|      2|        offsetof(struct _Py_global_strings, identifiers._py_fallback._ascii.ob_base),
  443|      2|        offsetof(struct _Py_global_strings, identifiers._py_false._ascii.ob_base),
  444|      2|        offsetof(struct _Py_global_strings, identifiers._py_family._ascii.ob_base),
  445|      2|        offsetof(struct _Py_global_strings, identifiers._py_fanout._ascii.ob_base),
  446|      2|        offsetof(struct _Py_global_strings, identifiers._py_fd._ascii.ob_base),
  447|      2|        offsetof(struct _Py_global_strings, identifiers._py_fd2._ascii.ob_base),
  448|      2|        offsetof(struct _Py_global_strings, identifiers._py_fdel._ascii.ob_base),
  449|      2|        offsetof(struct _Py_global_strings, identifiers._py_fget._ascii.ob_base),
  450|      2|        offsetof(struct _Py_global_strings, identifiers._py_fields._ascii.ob_base),
  451|      2|        offsetof(struct _Py_global_strings, identifiers._py_file._ascii.ob_base),
  452|      2|        offsetof(struct _Py_global_strings, identifiers._py_file_actions._ascii.ob_base),
  453|      2|        offsetof(struct _Py_global_strings, identifiers._py_filename._ascii.ob_base),
  454|      2|        offsetof(struct _Py_global_strings, identifiers._py_fileno._ascii.ob_base),
  455|      2|        offsetof(struct _Py_global_strings, identifiers._py_filepath._ascii.ob_base),
  456|      2|        offsetof(struct _Py_global_strings, identifiers._py_fillvalue._ascii.ob_base),
  457|      2|        offsetof(struct _Py_global_strings, identifiers._py_filter._ascii.ob_base),
  458|      2|        offsetof(struct _Py_global_strings, identifiers._py_filters._ascii.ob_base),
  459|      2|        offsetof(struct _Py_global_strings, identifiers._py_final._ascii.ob_base),
  460|      2|        offsetof(struct _Py_global_strings, identifiers._py_finalizer._ascii.ob_base),
  461|      2|        offsetof(struct _Py_global_strings, identifiers._py_find_class._ascii.ob_base),
  462|      2|        offsetof(struct _Py_global_strings, identifiers._py_firstiter._ascii.ob_base),
  463|      2|        offsetof(struct _Py_global_strings, identifiers._py_fix_imports._ascii.ob_base),
  464|      2|        offsetof(struct _Py_global_strings, identifiers._py_flags._ascii.ob_base),
  465|      2|        offsetof(struct _Py_global_strings, identifiers._py_flush._ascii.ob_base),
  466|      2|        offsetof(struct _Py_global_strings, identifiers._py_fold._ascii.ob_base),
  467|      2|        offsetof(struct _Py_global_strings, identifiers._py_foldspaces._ascii.ob_base),
  468|      2|        offsetof(struct _Py_global_strings, identifiers._py_follow_symlinks._ascii.ob_base),
  469|      2|        offsetof(struct _Py_global_strings, identifiers._py_for_retry._ascii.ob_base),
  470|      2|        offsetof(struct _Py_global_strings, identifiers._py_format._ascii.ob_base),
  471|      2|        offsetof(struct _Py_global_strings, identifiers._py_format_spec._ascii.ob_base),
  472|      2|        offsetof(struct _Py_global_strings, identifiers._py_frame_buffer._ascii.ob_base),
  473|      2|        offsetof(struct _Py_global_strings, identifiers._py_free_threaded._ascii.ob_base),
  474|      2|        offsetof(struct _Py_global_strings, identifiers._py_from_param._ascii.ob_base),
  475|      2|        offsetof(struct _Py_global_strings, identifiers._py_fromlist._ascii.ob_base),
  476|      2|        offsetof(struct _Py_global_strings, identifiers._py_fromtimestamp._ascii.ob_base),
  477|      2|        offsetof(struct _Py_global_strings, identifiers._py_fromutc._ascii.ob_base),
  478|      2|        offsetof(struct _Py_global_strings, identifiers._py_fset._ascii.ob_base),
  479|      2|        offsetof(struct _Py_global_strings, identifiers._py_fullerror._ascii.ob_base),
  480|      2|        offsetof(struct _Py_global_strings, identifiers._py_func._ascii.ob_base),
  481|      2|        offsetof(struct _Py_global_strings, identifiers._py_function._ascii.ob_base),
  482|      2|        offsetof(struct _Py_global_strings, identifiers._py_future._ascii.ob_base),
  483|      2|        offsetof(struct _Py_global_strings, identifiers._py_gc._ascii.ob_base),
  484|      2|        offsetof(struct _Py_global_strings, identifiers._py_generation._ascii.ob_base),
  485|      2|        offsetof(struct _Py_global_strings, identifiers._py_get._ascii.ob_base),
  486|      2|        offsetof(struct _Py_global_strings, identifiers._py_get_debug._ascii.ob_base),
  487|      2|        offsetof(struct _Py_global_strings, identifiers._py_get_loop._ascii.ob_base),
  488|      2|        offsetof(struct _Py_global_strings, identifiers._py_get_source._ascii.ob_base),
  489|      2|        offsetof(struct _Py_global_strings, identifiers._py_getattr._ascii.ob_base),
  490|      2|        offsetof(struct _Py_global_strings, identifiers._py_getstate._ascii.ob_base),
  491|      2|        offsetof(struct _Py_global_strings, identifiers._py_gid._ascii.ob_base),
  492|      2|        offsetof(struct _Py_global_strings, identifiers._py_globals._ascii.ob_base),
  493|      2|        offsetof(struct _Py_global_strings, identifiers._py_groupindex._ascii.ob_base),
  494|      2|        offsetof(struct _Py_global_strings, identifiers._py_groups._ascii.ob_base),
  495|      2|        offsetof(struct _Py_global_strings, identifiers._py_handle._ascii.ob_base),
  496|      2|        offsetof(struct _Py_global_strings, identifiers._py_handle_seq._ascii.ob_base),
  497|      2|        offsetof(struct _Py_global_strings, identifiers._py_has_location._ascii.ob_base),
  498|      2|        offsetof(struct _Py_global_strings, identifiers._py_hash_name._ascii.ob_base),
  499|      2|        offsetof(struct _Py_global_strings, identifiers._py_header._ascii.ob_base),
  500|      2|        offsetof(struct _Py_global_strings, identifiers._py_headers._ascii.ob_base),
  501|      2|        offsetof(struct _Py_global_strings, identifiers._py_hex._ascii.ob_base),
  502|      2|        offsetof(struct _Py_global_strings, identifiers._py_hi._ascii.ob_base),
  503|      2|        offsetof(struct _Py_global_strings, identifiers._py_hook._ascii.ob_base),
  504|      2|        offsetof(struct _Py_global_strings, identifiers._py_host._ascii.ob_base),
  505|      2|        offsetof(struct _Py_global_strings, identifiers._py_hour._ascii.ob_base),
  506|      2|        offsetof(struct _Py_global_strings, identifiers._py_hours._ascii.ob_base),
  507|      2|        offsetof(struct _Py_global_strings, identifiers._py_id._ascii.ob_base),
  508|      2|        offsetof(struct _Py_global_strings, identifiers._py_ident._ascii.ob_base),
  509|      2|        offsetof(struct _Py_global_strings, identifiers._py_identity_hint._ascii.ob_base),
  510|      2|        offsetof(struct _Py_global_strings, identifiers._py_ignore._ascii.ob_base),
  511|      2|        offsetof(struct _Py_global_strings, identifiers._py_ignorechars._ascii.ob_base),
  512|      2|        offsetof(struct _Py_global_strings, identifiers._py_imag._ascii.ob_base),
  513|      2|        offsetof(struct _Py_global_strings, identifiers._py_implieslink._ascii.ob_base),
  514|      2|        offsetof(struct _Py_global_strings, identifiers._py_importlib._ascii.ob_base),
  515|      2|        offsetof(struct _Py_global_strings, identifiers._py_in_fd._ascii.ob_base),
  516|      2|        offsetof(struct _Py_global_strings, identifiers._py_include_aliases._ascii.ob_base),
  517|      2|        offsetof(struct _Py_global_strings, identifiers._py_incoming._ascii.ob_base),
  518|      2|        offsetof(struct _Py_global_strings, identifiers._py_index._ascii.ob_base),
  519|      2|        offsetof(struct _Py_global_strings, identifiers._py_indexgroup._ascii.ob_base),
  520|      2|        offsetof(struct _Py_global_strings, identifiers._py_inf._ascii.ob_base),
  521|      2|        offsetof(struct _Py_global_strings, identifiers._py_infer_variance._ascii.ob_base),
  522|      2|        offsetof(struct _Py_global_strings, identifiers._py_inherit_handle._ascii.ob_base),
  523|      2|        offsetof(struct _Py_global_strings, identifiers._py_inheritable._ascii.ob_base),
  524|      2|        offsetof(struct _Py_global_strings, identifiers._py_initial._ascii.ob_base),
  525|      2|        offsetof(struct _Py_global_strings, identifiers._py_initial_bytes._ascii.ob_base),
  526|      2|        offsetof(struct _Py_global_strings, identifiers._py_initial_owner._ascii.ob_base),
  527|      2|        offsetof(struct _Py_global_strings, identifiers._py_initial_state._ascii.ob_base),
  528|      2|        offsetof(struct _Py_global_strings, identifiers._py_initial_value._ascii.ob_base),
  529|      2|        offsetof(struct _Py_global_strings, identifiers._py_initval._ascii.ob_base),
  530|      2|        offsetof(struct _Py_global_strings, identifiers._py_inner_size._ascii.ob_base),
  531|      2|        offsetof(struct _Py_global_strings, identifiers._py_input._ascii.ob_base),
  532|      2|        offsetof(struct _Py_global_strings, identifiers._py_insert_comments._ascii.ob_base),
  533|      2|        offsetof(struct _Py_global_strings, identifiers._py_insert_pis._ascii.ob_base),
  534|      2|        offsetof(struct _Py_global_strings, identifiers._py_instructions._ascii.ob_base),
  535|      2|        offsetof(struct _Py_global_strings, identifiers._py_int._ascii.ob_base),
  536|      2|        offsetof(struct _Py_global_strings, identifiers._py_intern._ascii.ob_base),
  537|      2|        offsetof(struct _Py_global_strings, identifiers._py_intersection._ascii.ob_base),
  538|      2|        offsetof(struct _Py_global_strings, identifiers._py_interval._ascii.ob_base),
  539|      2|        offsetof(struct _Py_global_strings, identifiers._py_io._ascii.ob_base),
  540|      2|        offsetof(struct _Py_global_strings, identifiers._py_is_compress._ascii.ob_base),
  541|      2|        offsetof(struct _Py_global_strings, identifiers._py_is_raw._ascii.ob_base),
  542|      2|        offsetof(struct _Py_global_strings, identifiers._py_is_running._ascii.ob_base),
  543|      2|        offsetof(struct _Py_global_strings, identifiers._py_is_safe._ascii.ob_base),
  544|      2|        offsetof(struct _Py_global_strings, identifiers._py_is_struct._ascii.ob_base),
  545|      2|        offsetof(struct _Py_global_strings, identifiers._py_isatty._ascii.ob_base),
  546|      2|        offsetof(struct _Py_global_strings, identifiers._py_isinstance._ascii.ob_base),
  547|      2|        offsetof(struct _Py_global_strings, identifiers._py_isoformat._ascii.ob_base),
  548|      2|        offsetof(struct _Py_global_strings, identifiers._py_isolation_level._ascii.ob_base),
  549|      2|        offsetof(struct _Py_global_strings, identifiers._py_istext._ascii.ob_base),
  550|      2|        offsetof(struct _Py_global_strings, identifiers._py_item._ascii.ob_base),
  551|      2|        offsetof(struct _Py_global_strings, identifiers._py_items._ascii.ob_base),
  552|      2|        offsetof(struct _Py_global_strings, identifiers._py_iter._ascii.ob_base),
  553|      2|        offsetof(struct _Py_global_strings, identifiers._py_iterable._ascii.ob_base),
  554|      2|        offsetof(struct _Py_global_strings, identifiers._py_iterations._ascii.ob_base),
  555|      2|        offsetof(struct _Py_global_strings, identifiers._py_iv._ascii.ob_base),
  556|      2|        offsetof(struct _Py_global_strings, identifiers._py_join._ascii.ob_base),
  557|      2|        offsetof(struct _Py_global_strings, identifiers._py_jump._ascii.ob_base),
  558|      2|        offsetof(struct _Py_global_strings, identifiers._py_keepends._ascii.ob_base),
  559|      2|        offsetof(struct _Py_global_strings, identifiers._py_key._ascii.ob_base),
  560|      2|        offsetof(struct _Py_global_strings, identifiers._py_keyfile._ascii.ob_base),
  561|      2|        offsetof(struct _Py_global_strings, identifiers._py_keys._ascii.ob_base),
  562|      2|        offsetof(struct _Py_global_strings, identifiers._py_kind._ascii.ob_base),
  563|      2|        offsetof(struct _Py_global_strings, identifiers._py_kw._ascii.ob_base),
  564|      2|        offsetof(struct _Py_global_strings, identifiers._py_kw1._ascii.ob_base),
  565|      2|        offsetof(struct _Py_global_strings, identifiers._py_kw2._ascii.ob_base),
  566|      2|        offsetof(struct _Py_global_strings, identifiers._py_kwargs._ascii.ob_base),
  567|      2|        offsetof(struct _Py_global_strings, identifiers._py_kwdefaults._ascii.ob_base),
  568|      2|        offsetof(struct _Py_global_strings, identifiers._py_label._ascii.ob_base),
  569|      2|        offsetof(struct _Py_global_strings, identifiers._py_last._ascii.ob_base),
  570|      2|        offsetof(struct _Py_global_strings, identifiers._py_last_exc._ascii.ob_base),
  571|      2|        offsetof(struct _Py_global_strings, identifiers._py_last_node._ascii.ob_base),
  572|      2|        offsetof(struct _Py_global_strings, identifiers._py_last_traceback._ascii.ob_base),
  573|      2|        offsetof(struct _Py_global_strings, identifiers._py_last_type._ascii.ob_base),
  574|      2|        offsetof(struct _Py_global_strings, identifiers._py_last_value._ascii.ob_base),
  575|      2|        offsetof(struct _Py_global_strings, identifiers._py_latin1._ascii.ob_base),
  576|      2|        offsetof(struct _Py_global_strings, identifiers._py_leaf_size._ascii.ob_base),
  577|      2|        offsetof(struct _Py_global_strings, identifiers._py_legacy._ascii.ob_base),
  578|      2|        offsetof(struct _Py_global_strings, identifiers._py_len._ascii.ob_base),
  579|      2|        offsetof(struct _Py_global_strings, identifiers._py_length._ascii.ob_base),
  580|      2|        offsetof(struct _Py_global_strings, identifiers._py_level._ascii.ob_base),
  581|      2|        offsetof(struct _Py_global_strings, identifiers._py_limit._ascii.ob_base),
  582|      2|        offsetof(struct _Py_global_strings, identifiers._py_line._ascii.ob_base),
  583|      2|        offsetof(struct _Py_global_strings, identifiers._py_line_buffering._ascii.ob_base),
  584|      2|        offsetof(struct _Py_global_strings, identifiers._py_lineno._ascii.ob_base),
  585|      2|        offsetof(struct _Py_global_strings, identifiers._py_little._ascii.ob_base),
  586|      2|        offsetof(struct _Py_global_strings, identifiers._py_lo._ascii.ob_base),
  587|      2|        offsetof(struct _Py_global_strings, identifiers._py_locale._ascii.ob_base),
  588|      2|        offsetof(struct _Py_global_strings, identifiers._py_locals._ascii.ob_base),
  589|      2|        offsetof(struct _Py_global_strings, identifiers._py_logoption._ascii.ob_base),
  590|      2|        offsetof(struct _Py_global_strings, identifiers._py_loop._ascii.ob_base),
  591|      2|        offsetof(struct _Py_global_strings, identifiers._py_manual_reset._ascii.ob_base),
  592|      2|        offsetof(struct _Py_global_strings, identifiers._py_mapping._ascii.ob_base),
  593|      2|        offsetof(struct _Py_global_strings, identifiers._py_mask._ascii.ob_base),
  594|      2|        offsetof(struct _Py_global_strings, identifiers._py_match._ascii.ob_base),
  595|      2|        offsetof(struct _Py_global_strings, identifiers._py_max_length._ascii.ob_base),
  596|      2|        offsetof(struct _Py_global_strings, identifiers._py_max_threads._ascii.ob_base),
  597|      2|        offsetof(struct _Py_global_strings, identifiers._py_maxdigits._ascii.ob_base),
  598|      2|        offsetof(struct _Py_global_strings, identifiers._py_maxevents._ascii.ob_base),
  599|      2|        offsetof(struct _Py_global_strings, identifiers._py_maxlen._ascii.ob_base),
  600|      2|        offsetof(struct _Py_global_strings, identifiers._py_maxmem._ascii.ob_base),
  601|      2|        offsetof(struct _Py_global_strings, identifiers._py_maxsize._ascii.ob_base),
  602|      2|        offsetof(struct _Py_global_strings, identifiers._py_maxsplit._ascii.ob_base),
  603|      2|        offsetof(struct _Py_global_strings, identifiers._py_maxvalue._ascii.ob_base),
  604|      2|        offsetof(struct _Py_global_strings, identifiers._py_memLevel._ascii.ob_base),
  605|      2|        offsetof(struct _Py_global_strings, identifiers._py_memlimit._ascii.ob_base),
  606|      2|        offsetof(struct _Py_global_strings, identifiers._py_message._ascii.ob_base),
  607|      2|        offsetof(struct _Py_global_strings, identifiers._py_metaclass._ascii.ob_base),
  608|      2|        offsetof(struct _Py_global_strings, identifiers._py_metadata._ascii.ob_base),
  609|      2|        offsetof(struct _Py_global_strings, identifiers._py_method._ascii.ob_base),
  610|      2|        offsetof(struct _Py_global_strings, identifiers._py_microsecond._ascii.ob_base),
  611|      2|        offsetof(struct _Py_global_strings, identifiers._py_microseconds._ascii.ob_base),
  612|      2|        offsetof(struct _Py_global_strings, identifiers._py_milliseconds._ascii.ob_base),
  613|      2|        offsetof(struct _Py_global_strings, identifiers._py_minute._ascii.ob_base),
  614|      2|        offsetof(struct _Py_global_strings, identifiers._py_minutes._ascii.ob_base),
  615|      2|        offsetof(struct _Py_global_strings, identifiers._py_missed_samples._ascii.ob_base),
  616|      2|        offsetof(struct _Py_global_strings, identifiers._py_mod._ascii.ob_base),
  617|      2|        offsetof(struct _Py_global_strings, identifiers._py_mode._ascii.ob_base),
  618|      2|        offsetof(struct _Py_global_strings, identifiers._py_module._ascii.ob_base),
  619|      2|        offsetof(struct _Py_global_strings, identifiers._py_module_globals._ascii.ob_base),
  620|      2|        offsetof(struct _Py_global_strings, identifiers._py_modules._ascii.ob_base),
  621|      2|        offsetof(struct _Py_global_strings, identifiers._py_modulo._ascii.ob_base),
  622|      2|        offsetof(struct _Py_global_strings, identifiers._py_month._ascii.ob_base),
  623|      2|        offsetof(struct _Py_global_strings, identifiers._py_mro._ascii.ob_base),
  624|      2|        offsetof(struct _Py_global_strings, identifiers._py_msg._ascii.ob_base),
  625|      2|        offsetof(struct _Py_global_strings, identifiers._py_mutex._ascii.ob_base),
  626|      2|        offsetof(struct _Py_global_strings, identifiers._py_mycmp._ascii.ob_base),
  627|      2|        offsetof(struct _Py_global_strings, identifiers._py_n_fields._ascii.ob_base),
  628|      2|        offsetof(struct _Py_global_strings, identifiers._py_n_sequence_fields._ascii.ob_base),
  629|      2|        offsetof(struct _Py_global_strings, identifiers._py_n_unnamed_fields._ascii.ob_base),
  630|      2|        offsetof(struct _Py_global_strings, identifiers._py_name._ascii.ob_base),
  631|      2|        offsetof(struct _Py_global_strings, identifiers._py_name_from._ascii.ob_base),
  632|      2|        offsetof(struct _Py_global_strings, identifiers._py_namespace_separator._ascii.ob_base),
  633|      2|        offsetof(struct _Py_global_strings, identifiers._py_namespaces._ascii.ob_base),
  634|      2|        offsetof(struct _Py_global_strings, identifiers._py_native._ascii.ob_base),
  635|      2|        offsetof(struct _Py_global_strings, identifiers._py_nbytes._ascii.ob_base),
  636|      2|        offsetof(struct _Py_global_strings, identifiers._py_ndigits._ascii.ob_base),
  637|      2|        offsetof(struct _Py_global_strings, identifiers._py_nested._ascii.ob_base),
  638|      2|        offsetof(struct _Py_global_strings, identifiers._py_new_file_name._ascii.ob_base),
  639|      2|        offsetof(struct _Py_global_strings, identifiers._py_new_limit._ascii.ob_base),
  640|      2|        offsetof(struct _Py_global_strings, identifiers._py_newline._ascii.ob_base),
  641|      2|        offsetof(struct _Py_global_strings, identifiers._py_newlines._ascii.ob_base),
  642|      2|        offsetof(struct _Py_global_strings, identifiers._py_next._ascii.ob_base),
  643|      2|        offsetof(struct _Py_global_strings, identifiers._py_nlocals._ascii.ob_base),
  644|      2|        offsetof(struct _Py_global_strings, identifiers._py_node_depth._ascii.ob_base),
  645|      2|        offsetof(struct _Py_global_strings, identifiers._py_node_offset._ascii.ob_base),
  646|      2|        offsetof(struct _Py_global_strings, identifiers._py_nothing._ascii.ob_base),
  647|      2|        offsetof(struct _Py_global_strings, identifiers._py_ns._ascii.ob_base),
  648|      2|        offsetof(struct _Py_global_strings, identifiers._py_nstype._ascii.ob_base),
  649|      2|        offsetof(struct _Py_global_strings, identifiers._py_nt._ascii.ob_base),
  650|      2|        offsetof(struct _Py_global_strings, identifiers._py_null._ascii.ob_base),
  651|      2|        offsetof(struct _Py_global_strings, identifiers._py_number._ascii.ob_base),
  652|      2|        offsetof(struct _Py_global_strings, identifiers._py_obj._ascii.ob_base),
  653|      2|        offsetof(struct _Py_global_strings, identifiers._py_object._ascii.ob_base),
  654|      2|        offsetof(struct _Py_global_strings, identifiers._py_offset._ascii.ob_base),
  655|      2|        offsetof(struct _Py_global_strings, identifiers._py_offset_dst._ascii.ob_base),
  656|      2|        offsetof(struct _Py_global_strings, identifiers._py_offset_src._ascii.ob_base),
  657|      2|        offsetof(struct _Py_global_strings, identifiers._py_on_type_read._ascii.ob_base),
  658|      2|        offsetof(struct _Py_global_strings, identifiers._py_onceregistry._ascii.ob_base),
  659|      2|        offsetof(struct _Py_global_strings, identifiers._py_only_active_thread._ascii.ob_base),
  660|      2|        offsetof(struct _Py_global_strings, identifiers._py_only_keys._ascii.ob_base),
  661|      2|        offsetof(struct _Py_global_strings, identifiers._py_op._ascii.ob_base),
  662|      2|        offsetof(struct _Py_global_strings, identifiers._py_oparg._ascii.ob_base),
  663|      2|        offsetof(struct _Py_global_strings, identifiers._py_opcode._ascii.ob_base),
  664|      2|        offsetof(struct _Py_global_strings, identifiers._py_opcodes._ascii.ob_base),
  665|      2|        offsetof(struct _Py_global_strings, identifiers._py_open._ascii.ob_base),
  666|      2|        offsetof(struct _Py_global_strings, identifiers._py_opener._ascii.ob_base),
  667|      2|        offsetof(struct _Py_global_strings, identifiers._py_operation._ascii.ob_base),
  668|      2|        offsetof(struct _Py_global_strings, identifiers._py_optimize._ascii.ob_base),
  669|      2|        offsetof(struct _Py_global_strings, identifiers._py_options._ascii.ob_base),
  670|      2|        offsetof(struct _Py_global_strings, identifiers._py_order._ascii.ob_base),
  671|      2|        offsetof(struct _Py_global_strings, identifiers._py_origin._ascii.ob_base),
  672|      2|        offsetof(struct _Py_global_strings, identifiers._py_other._ascii.ob_base),
  673|      2|        offsetof(struct _Py_global_strings, identifiers._py_out_fd._ascii.ob_base),
  674|      2|        offsetof(struct _Py_global_strings, identifiers._py_outgoing._ascii.ob_base),
  675|      2|        offsetof(struct _Py_global_strings, identifiers._py_outpath._ascii.ob_base),
  676|      2|        offsetof(struct _Py_global_strings, identifiers._py_overlapped._ascii.ob_base),
  677|      2|        offsetof(struct _Py_global_strings, identifiers._py_owner._ascii.ob_base),
  678|      2|        offsetof(struct _Py_global_strings, identifiers._py_pad._ascii.ob_base),
  679|      2|        offsetof(struct _Py_global_strings, identifiers._py_padded._ascii.ob_base),
  680|      2|        offsetof(struct _Py_global_strings, identifiers._py_pages._ascii.ob_base),
  681|      2|        offsetof(struct _Py_global_strings, identifiers._py_pair._ascii.ob_base),
  682|      2|        offsetof(struct _Py_global_strings, identifiers._py_parameter._ascii.ob_base),
  683|      2|        offsetof(struct _Py_global_strings, identifiers._py_parent._ascii.ob_base),
  684|      2|        offsetof(struct _Py_global_strings, identifiers._py_password._ascii.ob_base),
  685|      2|        offsetof(struct _Py_global_strings, identifiers._py_path._ascii.ob_base),
  686|      2|        offsetof(struct _Py_global_strings, identifiers._py_pattern._ascii.ob_base),
  687|      2|        offsetof(struct _Py_global_strings, identifiers._py_peek._ascii.ob_base),
  688|      2|        offsetof(struct _Py_global_strings, identifiers._py_persistent_id._ascii.ob_base),
  689|      2|        offsetof(struct _Py_global_strings, identifiers._py_persistent_load._ascii.ob_base),
  690|      2|        offsetof(struct _Py_global_strings, identifiers._py_person._ascii.ob_base),
  691|      2|        offsetof(struct _Py_global_strings, identifiers._py_pi_factory._ascii.ob_base),
  692|      2|        offsetof(struct _Py_global_strings, identifiers._py_pid._ascii.ob_base),
  693|      2|        offsetof(struct _Py_global_strings, identifiers._py_pidfd._ascii.ob_base),
  694|      2|        offsetof(struct _Py_global_strings, identifiers._py_pointer_bits._ascii.ob_base),
  695|      2|        offsetof(struct _Py_global_strings, identifiers._py_policy._ascii.ob_base),
  696|      2|        offsetof(struct _Py_global_strings, identifiers._py_port._ascii.ob_base),
  697|      2|        offsetof(struct _Py_global_strings, identifiers._py_pos._ascii.ob_base),
  698|      2|        offsetof(struct _Py_global_strings, identifiers._py_pos1._ascii.ob_base),
  699|      2|        offsetof(struct _Py_global_strings, identifiers._py_pos2._ascii.ob_base),
  700|      2|        offsetof(struct _Py_global_strings, identifiers._py_posix._ascii.ob_base),
  701|      2|        offsetof(struct _Py_global_strings, identifiers._py_prec._ascii.ob_base),
  702|      2|        offsetof(struct _Py_global_strings, identifiers._py_preserve_exc._ascii.ob_base),
  703|      2|        offsetof(struct _Py_global_strings, identifiers._py_print_file_and_line._ascii.ob_base),
  704|      2|        offsetof(struct _Py_global_strings, identifiers._py_priority._ascii.ob_base),
  705|      2|        offsetof(struct _Py_global_strings, identifiers._py_progress._ascii.ob_base),
  706|      2|        offsetof(struct _Py_global_strings, identifiers._py_progress_callback._ascii.ob_base),
  707|      2|        offsetof(struct _Py_global_strings, identifiers._py_progress_routine._ascii.ob_base),
  708|      2|        offsetof(struct _Py_global_strings, identifiers._py_proto._ascii.ob_base),
  709|      2|        offsetof(struct _Py_global_strings, identifiers._py_protocol._ascii.ob_base),
  710|      2|        offsetof(struct _Py_global_strings, identifiers._py_ps1._ascii.ob_base),
  711|      2|        offsetof(struct _Py_global_strings, identifiers._py_ps2._ascii.ob_base),
  712|      2|        offsetof(struct _Py_global_strings, identifiers._py_qid._ascii.ob_base),
  713|      2|        offsetof(struct _Py_global_strings, identifiers._py_qualname._ascii.ob_base),
  714|      2|        offsetof(struct _Py_global_strings, identifiers._py_query._ascii.ob_base),
  715|      2|        offsetof(struct _Py_global_strings, identifiers._py_queuetype._ascii.ob_base),
  716|      2|        offsetof(struct _Py_global_strings, identifiers._py_quotetabs._ascii.ob_base),
  717|      2|        offsetof(struct _Py_global_strings, identifiers._py_random_func._ascii.ob_base),
  718|      2|        offsetof(struct _Py_global_strings, identifiers._py_raw._ascii.ob_base),
  719|      2|        offsetof(struct _Py_global_strings, identifiers._py_read._ascii.ob_base),
  720|      2|        offsetof(struct _Py_global_strings, identifiers._py_read1._ascii.ob_base),
  721|      2|        offsetof(struct _Py_global_strings, identifiers._py_readable._ascii.ob_base),
  722|      2|        offsetof(struct _Py_global_strings, identifiers._py_readall._ascii.ob_base),
  723|      2|        offsetof(struct _Py_global_strings, identifiers._py_readinto._ascii.ob_base),
  724|      2|        offsetof(struct _Py_global_strings, identifiers._py_readinto1._ascii.ob_base),
  725|      2|        offsetof(struct _Py_global_strings, identifiers._py_readline._ascii.ob_base),
  726|      2|        offsetof(struct _Py_global_strings, identifiers._py_readonly._ascii.ob_base),
  727|      2|        offsetof(struct _Py_global_strings, identifiers._py_real._ascii.ob_base),
  728|      2|        offsetof(struct _Py_global_strings, identifiers._py_recursive._ascii.ob_base),
  729|      2|        offsetof(struct _Py_global_strings, identifiers._py_reducer_override._ascii.ob_base),
  730|      2|        offsetof(struct _Py_global_strings, identifiers._py_registry._ascii.ob_base),
  731|      2|        offsetof(struct _Py_global_strings, identifiers._py_rel_tol._ascii.ob_base),
  732|      2|        offsetof(struct _Py_global_strings, identifiers._py_release._ascii.ob_base),
  733|      2|        offsetof(struct _Py_global_strings, identifiers._py_reload._ascii.ob_base),
  734|      2|        offsetof(struct _Py_global_strings, identifiers._py_repeat._ascii.ob_base),
  735|      2|        offsetof(struct _Py_global_strings, identifiers._py_repl._ascii.ob_base),
  736|      2|        offsetof(struct _Py_global_strings, identifiers._py_replace._ascii.ob_base),
  737|      2|        offsetof(struct _Py_global_strings, identifiers._py_repr._ascii.ob_base),
  738|      2|        offsetof(struct _Py_global_strings, identifiers._py_reqrefs._ascii.ob_base),
  739|      2|        offsetof(struct _Py_global_strings, identifiers._py_require_ready._ascii.ob_base),
  740|      2|        offsetof(struct _Py_global_strings, identifiers._py_reserved._ascii.ob_base),
  741|      2|        offsetof(struct _Py_global_strings, identifiers._py_reset._ascii.ob_base),
  742|      2|        offsetof(struct _Py_global_strings, identifiers._py_resetids._ascii.ob_base),
  743|      2|        offsetof(struct _Py_global_strings, identifiers._py_restrict._ascii.ob_base),
  744|      2|        offsetof(struct _Py_global_strings, identifiers._py_return._ascii.ob_base),
  745|      2|        offsetof(struct _Py_global_strings, identifiers._py_reverse._ascii.ob_base),
  746|      2|        offsetof(struct _Py_global_strings, identifiers._py_reversed._ascii.ob_base),
  747|      2|        offsetof(struct _Py_global_strings, identifiers._py_rounding._ascii.ob_base),
  748|      2|        offsetof(struct _Py_global_strings, identifiers._py_salt._ascii.ob_base),
  749|      2|        offsetof(struct _Py_global_strings, identifiers._py_sample_interval_us._ascii.ob_base),
  750|      2|        offsetof(struct _Py_global_strings, identifiers._py_sample_rate._ascii.ob_base),
  751|      2|        offsetof(struct _Py_global_strings, identifiers._py_sched_priority._ascii.ob_base),
  752|      2|        offsetof(struct _Py_global_strings, identifiers._py_scheduler._ascii.ob_base),
  753|      2|        offsetof(struct _Py_global_strings, identifiers._py_script._ascii.ob_base),
  754|      2|        offsetof(struct _Py_global_strings, identifiers._py_second._ascii.ob_base),
  755|      2|        offsetof(struct _Py_global_strings, identifiers._py_seconds._ascii.ob_base),
  756|      2|        offsetof(struct _Py_global_strings, identifiers._py_security_attributes._ascii.ob_base),
  757|      2|        offsetof(struct _Py_global_strings, identifiers._py_seek._ascii.ob_base),
  758|      2|        offsetof(struct _Py_global_strings, identifiers._py_seekable._ascii.ob_base),
  759|      2|        offsetof(struct _Py_global_strings, identifiers._py_selectors._ascii.ob_base),
  760|      2|        offsetof(struct _Py_global_strings, identifiers._py_self._ascii.ob_base),
  761|      2|        offsetof(struct _Py_global_strings, identifiers._py_send._ascii.ob_base),
  762|      2|        offsetof(struct _Py_global_strings, identifiers._py_sep._ascii.ob_base),
  763|      2|        offsetof(struct _Py_global_strings, identifiers._py_sequence._ascii.ob_base),
  764|      2|        offsetof(struct _Py_global_strings, identifiers._py_server_hostname._ascii.ob_base),
  765|      2|        offsetof(struct _Py_global_strings, identifiers._py_server_side._ascii.ob_base),
  766|      2|        offsetof(struct _Py_global_strings, identifiers._py_session._ascii.ob_base),
  767|      2|        offsetof(struct _Py_global_strings, identifiers._py_setpgroup._ascii.ob_base),
  768|      2|        offsetof(struct _Py_global_strings, identifiers._py_setsid._ascii.ob_base),
  769|      2|        offsetof(struct _Py_global_strings, identifiers._py_setsigdef._ascii.ob_base),
  770|      2|        offsetof(struct _Py_global_strings, identifiers._py_setsigmask._ascii.ob_base),
  771|      2|        offsetof(struct _Py_global_strings, identifiers._py_setstate._ascii.ob_base),
  772|      2|        offsetof(struct _Py_global_strings, identifiers._py_shape._ascii.ob_base),
  773|      2|        offsetof(struct _Py_global_strings, identifiers._py_shared._ascii.ob_base),
  774|      2|        offsetof(struct _Py_global_strings, identifiers._py_short._ascii.ob_base),
  775|      2|        offsetof(struct _Py_global_strings, identifiers._py_show_cmd._ascii.ob_base),
  776|      2|        offsetof(struct _Py_global_strings, identifiers._py_signed._ascii.ob_base),
  777|      2|        offsetof(struct _Py_global_strings, identifiers._py_signum._ascii.ob_base),
  778|      2|        offsetof(struct _Py_global_strings, identifiers._py_size._ascii.ob_base),
  779|      2|        offsetof(struct _Py_global_strings, identifiers._py_sizehint._ascii.ob_base),
  780|      2|        offsetof(struct _Py_global_strings, identifiers._py_skip_file_prefixes._ascii.ob_base),
  781|      2|        offsetof(struct _Py_global_strings, identifiers._py_skip_non_matching_threads._ascii.ob_base),
  782|      2|        offsetof(struct _Py_global_strings, identifiers._py_sleep._ascii.ob_base),
  783|      2|        offsetof(struct _Py_global_strings, identifiers._py_sock._ascii.ob_base),
  784|      2|        offsetof(struct _Py_global_strings, identifiers._py_sort._ascii.ob_base),
  785|      2|        offsetof(struct _Py_global_strings, identifiers._py_source._ascii.ob_base),
  786|      2|        offsetof(struct _Py_global_strings, identifiers._py_source_traceback._ascii.ob_base),
  787|      2|        offsetof(struct _Py_global_strings, identifiers._py_spam._ascii.ob_base),
  788|      2|        offsetof(struct _Py_global_strings, identifiers._py_src._ascii.ob_base),
  789|      2|        offsetof(struct _Py_global_strings, identifiers._py_src_dir_fd._ascii.ob_base),
  790|      2|        offsetof(struct _Py_global_strings, identifiers._py_stack_frames._ascii.ob_base),
  791|      2|        offsetof(struct _Py_global_strings, identifiers._py_stacklevel._ascii.ob_base),
  792|      2|        offsetof(struct _Py_global_strings, identifiers._py_start._ascii.ob_base),
  793|      2|        offsetof(struct _Py_global_strings, identifiers._py_start_time_us._ascii.ob_base),
  794|      2|        offsetof(struct _Py_global_strings, identifiers._py_statement._ascii.ob_base),
  795|      2|        offsetof(struct _Py_global_strings, identifiers._py_stats._ascii.ob_base),
  796|      2|        offsetof(struct _Py_global_strings, identifiers._py_status._ascii.ob_base),
  797|      2|        offsetof(struct _Py_global_strings, identifiers._py_stderr._ascii.ob_base),
  798|      2|        offsetof(struct _Py_global_strings, identifiers._py_stdin._ascii.ob_base),
  799|      2|        offsetof(struct _Py_global_strings, identifiers._py_stdout._ascii.ob_base),
  800|      2|        offsetof(struct _Py_global_strings, identifiers._py_step._ascii.ob_base),
  801|      2|        offsetof(struct _Py_global_strings, identifiers._py_steps._ascii.ob_base),
  802|      2|        offsetof(struct _Py_global_strings, identifiers._py_stop_exception._ascii.ob_base),
  803|      2|        offsetof(struct _Py_global_strings, identifiers._py_stop_value._ascii.ob_base),
  804|      2|        offsetof(struct _Py_global_strings, identifiers._py_store_name._ascii.ob_base),
  805|      2|        offsetof(struct _Py_global_strings, identifiers._py_strategy._ascii.ob_base),
  806|      2|        offsetof(struct _Py_global_strings, identifiers._py_strftime._ascii.ob_base),
  807|      2|        offsetof(struct _Py_global_strings, identifiers._py_strict._ascii.ob_base),
  808|      2|        offsetof(struct _Py_global_strings, identifiers._py_strict_mode._ascii.ob_base),
  809|      2|        offsetof(struct _Py_global_strings, identifiers._py_string._ascii.ob_base),
  810|      2|        offsetof(struct _Py_global_strings, identifiers._py_strip_ws._ascii.ob_base),
  811|      2|        offsetof(struct _Py_global_strings, identifiers._py_sub_key._ascii.ob_base),
  812|      2|        offsetof(struct _Py_global_strings, identifiers._py_subcalls._ascii.ob_base),
  813|      2|        offsetof(struct _Py_global_strings, identifiers._py_symmetric_difference_update._ascii.ob_base),
  814|      2|        offsetof(struct _Py_global_strings, identifiers._py_tabsize._ascii.ob_base),
  815|      2|        offsetof(struct _Py_global_strings, identifiers._py_tag._ascii.ob_base),
  816|      2|        offsetof(struct _Py_global_strings, identifiers._py_take_bytes._ascii.ob_base),
  817|      2|        offsetof(struct _Py_global_strings, identifiers._py_target._ascii.ob_base),
  818|      2|        offsetof(struct _Py_global_strings, identifiers._py_target_is_directory._ascii.ob_base),
  819|      2|        offsetof(struct _Py_global_strings, identifiers._py_targetfd._ascii.ob_base),
  820|      2|        offsetof(struct _Py_global_strings, identifiers._py_task._ascii.ob_base),
  821|      2|        offsetof(struct _Py_global_strings, identifiers._py_tb_frame._ascii.ob_base),
  822|      2|        offsetof(struct _Py_global_strings, identifiers._py_tb_lasti._ascii.ob_base),
  823|      2|        offsetof(struct _Py_global_strings, identifiers._py_tb_lineno._ascii.ob_base),
  824|      2|        offsetof(struct _Py_global_strings, identifiers._py_tb_next._ascii.ob_base),
  825|      2|        offsetof(struct _Py_global_strings, identifiers._py_tell._ascii.ob_base),
  826|      2|        offsetof(struct _Py_global_strings, identifiers._py_template._ascii.ob_base),
  827|      2|        offsetof(struct _Py_global_strings, identifiers._py_term._ascii.ob_base),
  828|      2|        offsetof(struct _Py_global_strings, identifiers._py_text._ascii.ob_base),
  829|      2|        offsetof(struct _Py_global_strings, identifiers._py_third._ascii.ob_base),
  830|      2|        offsetof(struct _Py_global_strings, identifiers._py_threading._ascii.ob_base),
  831|      2|        offsetof(struct _Py_global_strings, identifiers._py_throw._ascii.ob_base),
  832|      2|        offsetof(struct _Py_global_strings, identifiers._py_time._ascii.ob_base),
  833|      2|        offsetof(struct _Py_global_strings, identifiers._py_time_func._ascii.ob_base),
  834|      2|        offsetof(struct _Py_global_strings, identifiers._py_timeout._ascii.ob_base),
  835|      2|        offsetof(struct _Py_global_strings, identifiers._py_timer._ascii.ob_base),
  836|      2|        offsetof(struct _Py_global_strings, identifiers._py_times._ascii.ob_base),
  837|      2|        offsetof(struct _Py_global_strings, identifiers._py_timespec._ascii.ob_base),
  838|      2|        offsetof(struct _Py_global_strings, identifiers._py_timestamp._ascii.ob_base),
  839|      2|        offsetof(struct _Py_global_strings, identifiers._py_timestamp_us._ascii.ob_base),
  840|      2|        offsetof(struct _Py_global_strings, identifiers._py_timetuple._ascii.ob_base),
  841|      2|        offsetof(struct _Py_global_strings, identifiers._py_timeunit._ascii.ob_base),
  842|      2|        offsetof(struct _Py_global_strings, identifiers._py_top._ascii.ob_base),
  843|      2|        offsetof(struct _Py_global_strings, identifiers._py_traceback._ascii.ob_base),
  844|      2|        offsetof(struct _Py_global_strings, identifiers._py_trailers._ascii.ob_base),
  845|      2|        offsetof(struct _Py_global_strings, identifiers._py_translate._ascii.ob_base),
  846|      2|        offsetof(struct _Py_global_strings, identifiers._py_traps._ascii.ob_base),
  847|      2|        offsetof(struct _Py_global_strings, identifiers._py_true._ascii.ob_base),
  848|      2|        offsetof(struct _Py_global_strings, identifiers._py_truncate._ascii.ob_base),
  849|      2|        offsetof(struct _Py_global_strings, identifiers._py_twice._ascii.ob_base),
  850|      2|        offsetof(struct _Py_global_strings, identifiers._py_txt._ascii.ob_base),
  851|      2|        offsetof(struct _Py_global_strings, identifiers._py_type._ascii.ob_base),
  852|      2|        offsetof(struct _Py_global_strings, identifiers._py_type_params._ascii.ob_base),
  853|      2|        offsetof(struct _Py_global_strings, identifiers._py_tz._ascii.ob_base),
  854|      2|        offsetof(struct _Py_global_strings, identifiers._py_tzinfo._ascii.ob_base),
  855|      2|        offsetof(struct _Py_global_strings, identifiers._py_tzname._ascii.ob_base),
  856|      2|        offsetof(struct _Py_global_strings, identifiers._py_uid._ascii.ob_base),
  857|      2|        offsetof(struct _Py_global_strings, identifiers._py_unboundop._ascii.ob_base),
  858|      2|        offsetof(struct _Py_global_strings, identifiers._py_unlink._ascii.ob_base),
  859|      2|        offsetof(struct _Py_global_strings, identifiers._py_unraisablehook._ascii.ob_base),
  860|      2|        offsetof(struct _Py_global_strings, identifiers._py_updates._ascii.ob_base),
  861|      2|        offsetof(struct _Py_global_strings, identifiers._py_uri._ascii.ob_base),
  862|      2|        offsetof(struct _Py_global_strings, identifiers._py_usedforsecurity._ascii.ob_base),
  863|      2|        offsetof(struct _Py_global_strings, identifiers._py_utcoffset._ascii.ob_base),
  864|      2|        offsetof(struct _Py_global_strings, identifiers._py_value._ascii.ob_base),
  865|      2|        offsetof(struct _Py_global_strings, identifiers._py_values._ascii.ob_base),
  866|      2|        offsetof(struct _Py_global_strings, identifiers._py_version._ascii.ob_base),
  867|      2|        offsetof(struct _Py_global_strings, identifiers._py_volume._ascii.ob_base),
  868|      2|        offsetof(struct _Py_global_strings, identifiers._py_wait_all._ascii.ob_base),
  869|      2|        offsetof(struct _Py_global_strings, identifiers._py_warn_on_full_buffer._ascii.ob_base),
  870|      2|        offsetof(struct _Py_global_strings, identifiers._py_warnings._ascii.ob_base),
  871|      2|        offsetof(struct _Py_global_strings, identifiers._py_warnoptions._ascii.ob_base),
  872|      2|        offsetof(struct _Py_global_strings, identifiers._py_wbits._ascii.ob_base),
  873|      2|        offsetof(struct _Py_global_strings, identifiers._py_week._ascii.ob_base),
  874|      2|        offsetof(struct _Py_global_strings, identifiers._py_weekday._ascii.ob_base),
  875|      2|        offsetof(struct _Py_global_strings, identifiers._py_weeks._ascii.ob_base),
  876|      2|        offsetof(struct _Py_global_strings, identifiers._py_which._ascii.ob_base),
  877|      2|        offsetof(struct _Py_global_strings, identifiers._py_who._ascii.ob_base),
  878|      2|        offsetof(struct _Py_global_strings, identifiers._py_withdata._ascii.ob_base),
  879|      2|        offsetof(struct _Py_global_strings, identifiers._py_wrapcol._ascii.ob_base),
  880|      2|        offsetof(struct _Py_global_strings, identifiers._py_writable._ascii.ob_base),
  881|      2|        offsetof(struct _Py_global_strings, identifiers._py_write._ascii.ob_base),
  882|      2|        offsetof(struct _Py_global_strings, identifiers._py_write_through._ascii.ob_base),
  883|      2|        offsetof(struct _Py_global_strings, identifiers._py_year._ascii.ob_base),
  884|      2|        offsetof(struct _Py_global_strings, identifiers._py_zdict._ascii.ob_base),
  885|      2|        offsetof(struct _Py_global_strings, identifiers._py_zstd_dict._ascii.ob_base),
  886|      2|        offsetof(struct _Py_global_strings, literals._py_empty._ascii.ob_base),
  887|      2|        offsetof(struct _Py_global_strings, literals._py_dbl_percent._ascii.ob_base),
  888|      2|        offsetof(struct _Py_global_strings, literals._py_dot_locals._ascii.ob_base),
  889|      2|        offsetof(struct _Py_global_strings, literals._py_defaults._ascii.ob_base),
  890|      2|        offsetof(struct _Py_global_strings, literals._py_format._ascii.ob_base),
  891|      2|        offsetof(struct _Py_global_strings, literals._py_generic_base._ascii.ob_base),
  892|      2|        offsetof(struct _Py_global_strings, literals._py_kwdefaults._ascii.ob_base),
  893|      2|        offsetof(struct _Py_global_strings, literals._py_type_params._ascii.ob_base),
  894|      2|        offsetof(struct _Py_global_strings, literals._py_str_replace_inf._ascii.ob_base),
  895|      2|        offsetof(struct _Py_global_strings, literals._py_gc._ascii.ob_base),
  896|      2|        offsetof(struct _Py_global_strings, literals._py_anon_null._ascii.ob_base),
  897|      2|        offsetof(struct _Py_global_strings, literals._py_anon_dictcomp._ascii.ob_base),
  898|      2|        offsetof(struct _Py_global_strings, literals._py_anon_genexpr._ascii.ob_base),
  899|      2|        offsetof(struct _Py_global_strings, literals._py_anon_lambda._ascii.ob_base),
  900|      2|        offsetof(struct _Py_global_strings, literals._py_anon_listcomp._ascii.ob_base),
  901|      2|        offsetof(struct _Py_global_strings, literals._py_anon_module._ascii.ob_base),
  902|      2|        offsetof(struct _Py_global_strings, literals._py_native._ascii.ob_base),
  903|      2|        offsetof(struct _Py_global_strings, literals._py_anon_setcomp._ascii.ob_base),
  904|      2|        offsetof(struct _Py_global_strings, literals._py_anon_string._ascii.ob_base),
  905|      2|        offsetof(struct _Py_global_strings, literals._py_unknown_file._ascii.ob_base),
  906|      2|        offsetof(struct _Py_global_strings, literals._py_unknown_function._ascii.ob_base),
  907|      2|        offsetof(struct _Py_global_strings, literals._py_anon_unknown._ascii.ob_base),
  908|      2|        offsetof(struct _Py_global_strings, literals._py_unreadable_frame._ascii.ob_base),
  909|      2|        offsetof(struct _Py_global_strings, literals._py_json_decoder._ascii.ob_base),
  910|      2|        offsetof(struct _Py_global_strings, literals._py_list_err._ascii.ob_base),
  911|      2|        offsetof(struct _Py_global_strings, literals._py_utf_8._ascii.ob_base),
  912|      2|        offsetof(struct _Py_global_strings, literals._py_dbl_open_br._ascii.ob_base),
  913|      2|        offsetof(struct _Py_global_strings, literals._py_dbl_close_br._ascii.ob_base),
  914|      2|    };
  915|      2|    char *base = (char *)&_Py_SINGLETON(strings);
  ------------------
  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
  916|  1.79k|    for (size_t i = 0; i < Py_ARRAY_LENGTH(offsets); i++) {
  ------------------
  |  |  232|  1.79k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (916:24): [True: 1.79k, False: 2]
  ------------------
  917|  1.79k|        PyObject *string = (PyObject *)(base + offsets[i]);
  918|  1.79k|        _PyUnicode_InternStatic(interp, &string);
  919|  1.79k|        assert(_PyUnicode_CheckConsistency(string, 1));
  ------------------
  |  Branch (919:9): [True: 1.79k, False: 0]
  ------------------
  920|  1.79k|        assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (920:9): [True: 1.79k, False: 0]
  ------------------
  921|  1.79k|    }
  922|      2|}

weakrefobject.c:_PyWeakref_GET_REF:
   73|    352|{
   74|    352|    assert(PyWeakref_Check(ref_obj));
  ------------------
  |  Branch (74:5): [True: 0, False: 0]
  |  Branch (74:5): [True: 0, False: 0]
  |  Branch (74:5): [True: 352, False: 0]
  ------------------
   75|    352|    PyWeakReference *ref = _Py_CAST(PyWeakReference*, ref_obj);
  ------------------
  |  |   37|    352|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   76|       |
   77|       |#ifdef Py_GIL_DISABLED
   78|       |    PyObject *obj = _Py_atomic_load_ptr(&ref->wr_object);
   79|       |    if (obj == Py_None) {
   80|       |        // clear_weakref() was called
   81|       |        return NULL;
   82|       |    }
   83|       |    if (_Py_TryIncrefCompare(&ref->wr_object, obj)) {
   84|       |        return obj;
   85|       |    }
   86|       |    return NULL;
   87|       |#else
   88|    352|    PyObject *obj = ref->wr_object;
   89|    352|    if (obj == Py_None) {
  ------------------
  |  |  616|    352|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (89:9): [True: 0, False: 352]
  ------------------
   90|       |        // clear_weakref() was called
   91|      0|        return NULL;
   92|      0|    }
   93|    352|    if (_Py_TryIncref(obj)) {
  ------------------
  |  Branch (93:9): [True: 352, False: 0]
  ------------------
   94|    352|        return obj;
   95|    352|    }
   96|      0|    return NULL;
   97|    352|#endif
   98|    352|}
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|       |#ifdef Py_GIL_DISABLED
   78|       |    PyObject *obj = _Py_atomic_load_ptr(&ref->wr_object);
   79|       |    if (obj == Py_None) {
   80|       |        // clear_weakref() was called
   81|       |        return NULL;
   82|       |    }
   83|       |    if (_Py_TryIncrefCompare(&ref->wr_object, obj)) {
   84|       |        return obj;
   85|       |    }
   86|       |    return NULL;
   87|       |#else
   88|      2|    PyObject *obj = ref->wr_object;
   89|      2|    if (obj == Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (89:9): [True: 0, False: 2]
  ------------------
   90|       |        // clear_weakref() was called
   91|      0|        return NULL;
   92|      0|    }
   93|      2|    if (_Py_TryIncref(obj)) {
  ------------------
  |  Branch (93:9): [True: 2, False: 0]
  ------------------
   94|      2|        return obj;
   95|      2|    }
   96|      0|    return NULL;
   97|      2|#endif
   98|      2|}
_weakref.c:_PyWeakref_IS_DEAD:
  101|    112|{
  102|    112|    assert(PyWeakref_Check(ref_obj));
  ------------------
  |  Branch (102:5): [True: 0, False: 0]
  |  Branch (102:5): [True: 0, False: 0]
  |  Branch (102:5): [True: 112, False: 0]
  ------------------
  103|    112|    int ret = 0;
  104|    112|    PyWeakReference *ref = _Py_CAST(PyWeakReference*, ref_obj);
  ------------------
  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  105|    112|    PyObject *obj = FT_ATOMIC_LOAD_PTR(ref->wr_object);
  ------------------
  |  |  147|    112|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  106|    112|    if (obj == Py_None) {
  ------------------
  |  |  616|    112|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (106:9): [True: 112, False: 0]
  ------------------
  107|       |        // clear_weakref() was called
  108|    112|        ret = 1;
  109|    112|    }
  110|      0|    else {
  111|      0|        LOCK_WEAKREFS(obj);
  112|       |#ifdef Py_GIL_DISABLED
  113|       |        // The weakref may have been cleared before the lock was acquired.
  114|       |        ret = (ref->wr_object == Py_None) || _is_dead(obj);
  115|       |#else
  116|      0|        ret = _is_dead(obj);
  117|      0|#endif
  118|      0|        UNLOCK_WEAKREFS(obj);
  119|      0|    }
  120|    112|    return ret;
  121|    112|}

call.c:_Py_TYPE_impl:
  233|  21.9k|{
  234|  21.9k|    return ob->ob_type;
  235|  21.9k|}
call.c:PyType_HasFeature:
  749|  14.7k|{
  750|  14.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|  14.7k|    flags = type->tp_flags;
  756|  14.7k|#endif
  757|  14.7k|    return ((flags & feature) != 0);
  758|  14.7k|}
call.c:_Py_SIZE_impl:
  240|  1.53k|{
  241|  1.53k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.53k, False: 0]
  ------------------
  242|  1.53k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.53k, False: 0]
  ------------------
  243|  1.53k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.53k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.53k|}
call.c:_Py_IS_TYPE_impl:
  248|  1.72k|{
  249|  1.72k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.72k|}
exceptions.c:PyType_Check:
  762|    712|static inline int PyType_Check(PyObject *op) {
  763|    712|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    712|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    712|}
exceptions.c:PyType_HasFeature:
  749|  3.18k|{
  750|  3.18k|    unsigned 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.18k|    flags = type->tp_flags;
  756|  3.18k|#endif
  757|  3.18k|    return ((flags & feature) != 0);
  758|  3.18k|}
exceptions.c:_Py_SIZE_impl:
  240|    212|{
  241|    212|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 212, False: 0]
  ------------------
  242|    212|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 212, False: 0]
  ------------------
  243|    212|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    212|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    212|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    212|}
exceptions.c:_Py_TYPE_impl:
  233|  4.96k|{
  234|  4.96k|    return ob->ob_type;
  235|  4.96k|}
exceptions.c:PyObject_TypeCheck:
  374|    272|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    272|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    544|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    272|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    272|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 155, 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|    272|}
exceptions.c:_Py_IS_TYPE_impl:
  248|    783|{
  249|    783|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    783|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    783|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    783|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    783|}
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|}
funcobject.c:PyType_HasFeature:
  749|  5.66k|{
  750|  5.66k|    unsigned 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.66k|    flags = type->tp_flags;
  756|  5.66k|#endif
  757|  5.66k|    return ((flags & feature) != 0);
  758|  5.66k|}
funcobject.c:_Py_TYPE_impl:
  233|  12.0k|{
  234|  12.0k|    return ob->ob_type;
  235|  12.0k|}
funcobject.c:PyObject_TypeCheck:
  374|    974|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    974|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.94k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    974|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    974|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 974, 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|    974|}
funcobject.c:_Py_IS_TYPE_impl:
  248|  6.37k|{
  249|  6.37k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  6.37k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  6.37k|}
listobject.c:_Py_SET_SIZE_impl:
  254|  1.51M|{
  255|  1.51M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 1.51M, False: 0]
  ------------------
  256|  1.51M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 1.51M, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  1.51M|    ob->ob_size = size;
  261|  1.51M|#endif
  262|  1.51M|}
listobject.c:PyType_HasFeature:
  749|  4.60M|{
  750|  4.60M|    unsigned 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.60M|    flags = type->tp_flags;
  756|  4.60M|#endif
  757|  4.60M|    return ((flags & feature) != 0);
  758|  4.60M|}
listobject.c:_Py_TYPE_impl:
  233|  10.7M|{
  234|  10.7M|    return ob->ob_type;
  235|  10.7M|}
listobject.c:_Py_SIZE_impl:
  240|  1.53M|{
  241|  1.53M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.53M, False: 0]
  ------------------
  242|  1.53M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.53M, False: 0]
  ------------------
  243|  1.53M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.53M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.53M|}
listobject.c:_Py_IS_TYPE_impl:
  248|  15.0k|{
  249|  15.0k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  15.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  15.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  15.0k|}
longobject.c:Py_SET_TYPE:
  206|  2.48k|{
  207|  2.48k|    ob->ob_type = type;
  208|  2.48k|}
longobject.c:PyType_HasFeature:
  749|  39.6k|{
  750|  39.6k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  39.6k|    flags = type->tp_flags;
  756|  39.6k|#endif
  757|  39.6k|    return ((flags & feature) != 0);
  758|  39.6k|}
longobject.c:_Py_TYPE_impl:
  233|  24.6k|{
  234|  24.6k|    return ob->ob_type;
  235|  24.6k|}
longobject.c:_Py_IS_TYPE_impl:
  248|  2.44k|{
  249|  2.44k|    return Py_TYPE(ob) == 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  2.44k|}
longobject.c:_Py_SIZE_impl:
  240|    248|{
  241|    248|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 248, False: 0]
  ------------------
  242|    248|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 248, False: 0]
  ------------------
  243|    248|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    248|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    248|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    248|}
longobject.c:PyObject_TypeCheck:
  374|     72|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     72|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    144|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 72, False: 0]
  |  |  ------------------
  ------------------
                  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|     72|}
longobject.c:PyType_Check:
  762|     24|static inline int PyType_Check(PyObject *op) {
  763|     24|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|     24|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|     24|}
dictobject.c:PyType_HasFeature:
  749|   443k|{
  750|   443k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   443k|    flags = type->tp_flags;
  756|   443k|#endif
  757|   443k|    return ((flags & feature) != 0);
  758|   443k|}
dictobject.c:_Py_TYPE_impl:
  233|   929k|{
  234|   929k|    return ob->ob_type;
  235|   929k|}
dictobject.c:PyObject_TypeCheck:
  374|  71.4k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  71.4k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   142k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  71.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  71.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 9, False: 71.4k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  71.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  71.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  71.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 71.4k]
  ------------------
  376|  71.4k|}
dictobject.c:_Py_IS_TYPE_impl:
  248|   387k|{
  249|   387k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   387k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   387k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   387k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   387k|}
dictobject.c:_Py_SIZE_impl:
  240|  1.17k|{
  241|  1.17k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.17k, False: 0]
  ------------------
  242|  1.17k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.17k, False: 0]
  ------------------
  243|  1.17k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.17k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.17k|}
dictobject.c:PyType_Check:
  762|      1|static inline int PyType_Check(PyObject *op) {
  763|      1|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|      1|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|      1|}
moduleobject.c:PyObject_TypeCheck:
  374|  5.56k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  5.56k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  11.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  5.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 5.56k, 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|  5.56k|}
moduleobject.c:Py_SET_TYPE:
  206|     42|{
  207|     42|    ob->ob_type = type;
  208|     42|}
moduleobject.c:PyType_HasFeature:
  749|  7.63k|{
  750|  7.63k|    unsigned 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.63k|    flags = type->tp_flags;
  756|  7.63k|#endif
  757|  7.63k|    return ((flags & feature) != 0);
  758|  7.63k|}
moduleobject.c:_Py_TYPE_impl:
  233|  19.3k|{
  234|  19.3k|    return ob->ob_type;
  235|  19.3k|}
moduleobject.c:_Py_IS_TYPE_impl:
  248|  11.6k|{
  249|  11.6k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  11.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  11.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  11.6k|}
moduleobject.c:_Py_SIZE_impl:
  240|     51|{
  241|     51|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 51, False: 0]
  ------------------
  242|     51|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 51, False: 0]
  ------------------
  243|     51|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     51|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     51|}
object.c:_Py_TYPE_impl:
  233|  4.11M|{
  234|  4.11M|    return ob->ob_type;
  235|  4.11M|}
object.c:PyType_HasFeature:
  749|  31.8k|{
  750|  31.8k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  31.8k|    flags = type->tp_flags;
  756|  31.8k|#endif
  757|  31.8k|    return ((flags & feature) != 0);
  758|  31.8k|}
object.c:Py_SET_TYPE:
  206|  2.45k|{
  207|  2.45k|    ob->ob_type = type;
  208|  2.45k|}
object.c:_Py_IS_TYPE_impl:
  248|  22.9k|{
  249|  22.9k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  22.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  22.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  22.9k|}
object.c:_Py_SIZE_impl:
  240|     48|{
  241|     48|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 48, False: 0]
  ------------------
  242|     48|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 48, False: 0]
  ------------------
  243|     48|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     48|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     48|}
object.c:_Py_SET_SIZE_impl:
  254|  2.41k|{
  255|  2.41k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 2.41k, False: 0]
  ------------------
  256|  2.41k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 2.41k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  2.41k|    ob->ob_size = size;
  261|  2.41k|#endif
  262|  2.41k|}
rangeobject.c:_Py_IS_TYPE_impl:
  248|    199|{
  249|    199|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    199|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    199|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    199|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    199|}
rangeobject.c:_Py_TYPE_impl:
  233|    525|{
  234|    525|    return ob->ob_type;
  235|    525|}
rangeobject.c:PyType_HasFeature:
  749|    312|{
  750|    312|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    312|    flags = type->tp_flags;
  756|    312|#endif
  757|    312|    return ((flags & feature) != 0);
  758|    312|}
sentinelobject.c:PyType_HasFeature:
  749|     31|{
  750|     31|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     31|    flags = type->tp_flags;
  756|     31|#endif
  757|     31|    return ((flags & feature) != 0);
  758|     31|}
sentinelobject.c:_Py_TYPE_impl:
  233|     67|{
  234|     67|    return ob->ob_type;
  235|     67|}
sentinelobject.c:_Py_IS_TYPE_impl:
  248|     23|{
  249|     23|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     23|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     23|}
sentinelobject.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|}
setobject.c:PyType_HasFeature:
  749|    949|{
  750|    949|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    949|    flags = type->tp_flags;
  756|    949|#endif
  757|    949|    return ((flags & feature) != 0);
  758|    949|}
setobject.c:_Py_IS_TYPE_impl:
  248|  8.47k|{
  249|  8.47k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  8.47k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  8.47k|}
setobject.c:_Py_TYPE_impl:
  233|  10.6k|{
  234|  10.6k|    return ob->ob_type;
  235|  10.6k|}
setobject.c:PyType_Check:
  762|    642|static inline int PyType_Check(PyObject *op) {
  763|    642|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    642|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    642|}
sliceobject.c:PyType_HasFeature:
  749|      7|{
  750|      7|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|      7|    flags = type->tp_flags;
  756|      7|#endif
  757|      7|    return ((flags & feature) != 0);
  758|      7|}
sliceobject.c:_Py_TYPE_impl:
  233|     14|{
  234|     14|    return ob->ob_type;
  235|     14|}
structseq.c:PyType_HasFeature:
  749|  2.82k|{
  750|  2.82k|    unsigned 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.82k|    flags = type->tp_flags;
  756|  2.82k|#endif
  757|  2.82k|    return ((flags & feature) != 0);
  758|  2.82k|}
structseq.c:_Py_TYPE_impl:
  233|  11.4k|{
  234|  11.4k|    return ob->ob_type;
  235|  11.4k|}
structseq.c:_Py_SET_SIZE_impl:
  254|    132|{
  255|    132|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 132, False: 0]
  ------------------
  256|    132|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 132, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|    132|    ob->ob_size = size;
  261|    132|#endif
  262|    132|}
structseq.c:_Py_SIZE_impl:
  240|  2.81k|{
  241|  2.81k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 2.81k, False: 0]
  ------------------
  242|  2.81k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 2.81k, False: 0]
  ------------------
  243|  2.81k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  2.81k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  2.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  2.81k|}
structseq.c:Py_SET_TYPE:
  206|     16|{
  207|     16|    ob->ob_type = type;
  208|     16|}
tupleobject.c:PyType_HasFeature:
  749|  61.9k|{
  750|  61.9k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  61.9k|    flags = type->tp_flags;
  756|  61.9k|#endif
  757|  61.9k|    return ((flags & feature) != 0);
  758|  61.9k|}
tupleobject.c:_Py_TYPE_impl:
  233|   199k|{
  234|   199k|    return ob->ob_type;
  235|   199k|}
tupleobject.c:_Py_SIZE_impl:
  240|  45.4k|{
  241|  45.4k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 45.4k, False: 0]
  ------------------
  242|  45.4k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 45.4k, False: 0]
  ------------------
  243|  45.4k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  45.4k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  45.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  45.4k|}
tupleobject.c:_Py_IS_TYPE_impl:
  248|  14.7k|{
  249|  14.7k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  14.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  14.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  14.7k|}
tupleobject.c:PyType_Check:
  762|     15|static inline int PyType_Check(PyObject *op) {
  763|     15|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|     15|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|     15|}
typeobject.c:PyType_Check:
  762|  30.1k|static inline int PyType_Check(PyObject *op) {
  763|  30.1k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  30.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  30.1k|}
typeobject.c:_Py_IS_TYPE_impl:
  248|  52.2k|{
  249|  52.2k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  52.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  52.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  52.2k|}
typeobject.c:PyType_HasFeature:
  749|   647k|{
  750|   647k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   647k|    flags = type->tp_flags;
  756|   647k|#endif
  757|   647k|    return ((flags & feature) != 0);
  758|   647k|}
typeobject.c:_Py_TYPE_impl:
  233|  1.57M|{
  234|  1.57M|    return ob->ob_type;
  235|  1.57M|}
typeobject.c:Py_SET_TYPE:
  206|  10.2k|{
  207|  10.2k|    ob->ob_type = type;
  208|  10.2k|}
typeobject.c:_Py_SET_SIZE_impl:
  254|    641|{
  255|    641|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 641, False: 0]
  ------------------
  256|    641|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 641, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|    641|    ob->ob_size = size;
  261|    641|#endif
  262|    641|}
typeobject.c:_Py_SIZE_impl:
  240|   119k|{
  241|   119k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 119k, False: 0]
  ------------------
  242|   119k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 119k, False: 0]
  ------------------
  243|   119k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   119k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   119k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   119k|}
typeobject.c:PyObject_TypeCheck:
  374|  2.20k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  2.20k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  4.40k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2.15k, False: 46]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 46, False: 0]
  ------------------
  376|  2.20k|}
unicode_writer.c:PyType_HasFeature:
  749|  3.63M|{
  750|  3.63M|    unsigned 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.63M|    flags = type->tp_flags;
  756|  3.63M|#endif
  757|  3.63M|    return ((flags & feature) != 0);
  758|  3.63M|}
unicode_writer.c:_Py_TYPE_impl:
  233|  3.63M|{
  234|  3.63M|    return ob->ob_type;
  235|  3.63M|}
unicode_writer.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|}
unicodeobject.c:PyType_HasFeature:
  749|  7.88M|{
  750|  7.88M|    unsigned 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.88M|    flags = type->tp_flags;
  756|  7.88M|#endif
  757|  7.88M|    return ((flags & feature) != 0);
  758|  7.88M|}
unicodeobject.c:_Py_TYPE_impl:
  233|  8.17M|{
  234|  8.17M|    return ob->ob_type;
  235|  8.17M|}
unicodeobject.c:Py_SET_TYPE:
  206|   239k|{
  207|   239k|    ob->ob_type = type;
  208|   239k|}
unicodeobject.c:_Py_IS_TYPE_impl:
  248|  62.8k|{
  249|  62.8k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  62.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  62.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  62.8k|}
unicodeobject.c:PyType_Check:
  762|     20|static inline int PyType_Check(PyObject *op) {
  763|     20|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|     20|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|     20|}
unicodeobject.c:_Py_SIZE_impl:
  240|  1.63k|{
  241|  1.63k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.63k, False: 0]
  ------------------
  242|  1.63k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.63k, False: 0]
  ------------------
  243|  1.63k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.63k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.63k|}
unicodeobject.c:_Py_SET_SIZE_impl:
  254|     82|{
  255|     82|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 82, False: 0]
  ------------------
  256|     82|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 82, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|     82|    ob->ob_size = size;
  261|     82|#endif
  262|     82|}
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|  15.8k|{
  234|  15.8k|    return ob->ob_type;
  235|  15.8k|}
weakrefobject.c:PyType_Check:
  762|  2.90k|static inline int PyType_Check(PyObject *op) {
  763|  2.90k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  2.90k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  2.90k|}
weakrefobject.c:PyObject_TypeCheck:
  374|  2.65k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  2.65k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  5.30k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2.54k, False: 112]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|    112|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 112, False: 0]
  ------------------
  376|  2.65k|}
weakrefobject.c:_Py_IS_TYPE_impl:
  248|  3.99k|{
  249|  3.99k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  3.99k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  3.99k|}
weakrefobject.c:_Py_SIZE_impl:
  240|  1.05k|{
  241|  1.05k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.05k, False: 0]
  ------------------
  242|  1.05k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.05k, False: 0]
  ------------------
  243|  1.05k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.05k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.05k|}
weakrefobject.c:PyType_HasFeature:
  749|  4.87k|{
  750|  4.87k|    unsigned 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.87k|    flags = type->tp_flags;
  756|  4.87k|#endif
  757|  4.87k|    return ((flags & feature) != 0);
  758|  4.87k|}
_warnings.c:PyType_HasFeature:
  749|  2.66k|{
  750|  2.66k|    unsigned 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.66k|    flags = type->tp_flags;
  756|  2.66k|#endif
  757|  2.66k|    return ((flags & feature) != 0);
  758|  2.66k|}
_warnings.c:_Py_TYPE_impl:
  233|  3.96k|{
  234|  3.96k|    return ob->ob_type;
  235|  3.96k|}
_warnings.c:_Py_SIZE_impl:
  240|    550|{
  241|    550|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 550, False: 0]
  ------------------
  242|    550|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 550, False: 0]
  ------------------
  243|    550|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    550|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    550|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    550|}
_warnings.c:_Py_IS_TYPE_impl:
  248|    150|{
  249|    150|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    150|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    150|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    150|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    150|}
_warnings.c:PyObject_TypeCheck:
  374|     50|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     50|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    100|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 50]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|     50|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 50]
  ------------------
  376|     50|}
bltinmodule.c:_Py_SIZE_impl:
  240|    472|{
  241|    472|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 472, False: 0]
  ------------------
  242|    472|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 472, False: 0]
  ------------------
  243|    472|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    472|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    472|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    472|}
bltinmodule.c:PyType_Check:
  762|    452|static inline int PyType_Check(PyObject *op) {
  763|    452|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    452|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    452|}
bltinmodule.c:_Py_IS_TYPE_impl:
  248|    584|{
  249|    584|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    584|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    584|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    584|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    584|}
bltinmodule.c:PyType_HasFeature:
  749|  2.30k|{
  750|  2.30k|    unsigned 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.30k|    flags = type->tp_flags;
  756|  2.30k|#endif
  757|  2.30k|    return ((flags & feature) != 0);
  758|  2.30k|}
bltinmodule.c:_Py_TYPE_impl:
  233|  4.19k|{
  234|  4.19k|    return ob->ob_type;
  235|  4.19k|}
ceval.c:PyType_HasFeature:
  749|  91.2k|{
  750|  91.2k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  91.2k|    flags = type->tp_flags;
  756|  91.2k|#endif
  757|  91.2k|    return ((flags & feature) != 0);
  758|  91.2k|}
ceval.c:_Py_TYPE_impl:
  233|   349k|{
  234|   349k|    return ob->ob_type;
  235|   349k|}
ceval.c:PyType_Check:
  762|  2.07k|static inline int PyType_Check(PyObject *op) {
  763|  2.07k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  2.07k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  2.07k|}
ceval.c:_Py_IS_TYPE_impl:
  248|   147k|{
  249|   147k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   147k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   147k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   147k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   147k|}
ceval.c:PyObject_TypeCheck:
  374|  8.54k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  8.54k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  17.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  8.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 8.54k, 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|  8.54k|}
ceval.c:_Py_SIZE_impl:
  240|  11.9k|{
  241|  11.9k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 11.9k, False: 0]
  ------------------
  242|  11.9k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 11.9k, False: 0]
  ------------------
  243|  11.9k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  11.9k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  11.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  11.9k|}
ceval.c:_Py_SET_SIZE_impl:
  254|  1.88k|{
  255|  1.88k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 1.88k, False: 0]
  ------------------
  256|  1.88k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 1.88k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  1.88k|    ob->ob_size = size;
  261|  1.88k|#endif
  262|  1.88k|}
codecs.c:_Py_IS_TYPE_impl:
  248|      6|{
  249|      6|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|      6|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      6|}
codecs.c:_Py_SIZE_impl:
  240|      2|{
  241|      2|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 2, False: 0]
  ------------------
  242|      2|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 2, False: 0]
  ------------------
  243|      2|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|      2|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|      2|}
codecs.c:PyType_HasFeature:
  749|     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|}
codecs.c:_Py_TYPE_impl:
  233|     26|{
  234|     26|    return ob->ob_type;
  235|     26|}
compile.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|}
compile.c:PyType_HasFeature:
  749|    106|{
  750|    106|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    106|    flags = type->tp_flags;
  756|    106|#endif
  757|    106|    return ((flags & feature) != 0);
  758|    106|}
compile.c:_Py_TYPE_impl:
  233|    238|{
  234|    238|    return ob->ob_type;
  235|    238|}
compile.c:_Py_IS_TYPE_impl:
  248|     84|{
  249|     84|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     84|}
context.c:_Py_IS_TYPE_impl:
  248|     50|{
  249|     50|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     50|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     50|}
context.c:_Py_TYPE_impl:
  233|     56|{
  234|     56|    return ob->ob_type;
  235|     56|}
context.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|}
errors.c:PyType_Check:
  762|  1.74k|static inline int PyType_Check(PyObject *op) {
  763|  1.74k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  1.74k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  1.74k|}
errors.c:PyType_HasFeature:
  749|  6.01k|{
  750|  6.01k|    unsigned 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.01k|    flags = type->tp_flags;
  756|  6.01k|#endif
  757|  6.01k|    return ((flags & feature) != 0);
  758|  6.01k|}
errors.c:_Py_TYPE_impl:
  233|  5.77k|{
  234|  5.77k|    return ob->ob_type;
  235|  5.77k|}
errors.c:_Py_SIZE_impl:
  240|     14|{
  241|     14|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 14, False: 0]
  ------------------
  242|     14|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 14, False: 0]
  ------------------
  243|     14|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     14|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     14|}
flowgraph.c:_Py_SIZE_impl:
  240|     16|{
  241|     16|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 16, False: 0]
  ------------------
  242|     16|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 16, False: 0]
  ------------------
  243|     16|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     16|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     16|}
flowgraph.c:PyType_HasFeature:
  749|     80|{
  750|     80|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     80|    flags = type->tp_flags;
  756|     80|#endif
  757|     80|    return ((flags & feature) != 0);
  758|     80|}
flowgraph.c:_Py_TYPE_impl:
  233|    156|{
  234|    156|    return ob->ob_type;
  235|    156|}
flowgraph.c:_Py_IS_TYPE_impl:
  248|     44|{
  249|     44|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     44|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     44|}
frame.c:_Py_IS_TYPE_impl:
  248|  1.32k|{
  249|  1.32k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.32k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.32k|}
frame.c:_Py_TYPE_impl:
  233|  1.32k|{
  234|  1.32k|    return ob->ob_type;
  235|  1.32k|}
gc.c:_Py_SIZE_impl:
  240|     32|{
  241|     32|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 32, False: 0]
  ------------------
  242|     32|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 32, False: 0]
  ------------------
  243|     32|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     32|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     32|}
gc.c:PyType_HasFeature:
  749|    184|{
  750|    184|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    184|    flags = type->tp_flags;
  756|    184|#endif
  757|    184|    return ((flags & feature) != 0);
  758|    184|}
gc.c:_Py_IS_TYPE_impl:
  248|  17.8k|{
  249|  17.8k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  17.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  17.8k|}
gc.c:PyType_Check:
  762|    152|static inline int PyType_Check(PyObject *op) {
  763|    152|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    152|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    152|}
gc.c:PyObject_TypeCheck:
  374|    147|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    147|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    294|#  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: 0, False: 147]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|    147|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    147|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    147|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 147]
  ------------------
  376|    147|}
gc.c:Py_SET_TYPE:
  206|  15.5k|{
  207|  15.5k|    ob->ob_type = type;
  208|  15.5k|}
gc.c:_Py_TYPE_impl:
  233|   217k|{
  234|   217k|    return ob->ob_type;
  235|   217k|}
gc.c:_Py_SET_SIZE_impl:
  254|  8.11k|{
  255|  8.11k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 8.11k, False: 0]
  ------------------
  256|  8.11k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 8.11k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  8.11k|    ob->ob_size = size;
  261|  8.11k|#endif
  262|  8.11k|}
getargs.c:PyType_HasFeature:
  749|  4.36k|{
  750|  4.36k|    unsigned 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.36k|    flags = type->tp_flags;
  756|  4.36k|#endif
  757|  4.36k|    return ((flags & feature) != 0);
  758|  4.36k|}
getargs.c:_Py_TYPE_impl:
  233|  7.37k|{
  234|  7.37k|    return ob->ob_type;
  235|  7.37k|}
getargs.c:_Py_SIZE_impl:
  240|  1.27k|{
  241|  1.27k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.27k, False: 0]
  ------------------
  242|  1.27k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.27k, False: 0]
  ------------------
  243|  1.27k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.27k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.27k|}
getargs.c:_Py_IS_TYPE_impl:
  248|     82|{
  249|     82|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     82|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     82|}
import.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|}
import.c:PyType_HasFeature:
  749|  2.49k|{
  750|  2.49k|    unsigned 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.49k|    flags = type->tp_flags;
  756|  2.49k|#endif
  757|  2.49k|    return ((flags & feature) != 0);
  758|  2.49k|}
import.c:_Py_TYPE_impl:
  233|  2.93k|{
  234|  2.93k|    return ob->ob_type;
  235|  2.93k|}
import.c:PyObject_TypeCheck:
  374|    348|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    348|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    696|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    348|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    348|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 348, 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|    348|}
import.c:_Py_IS_TYPE_impl:
  248|    384|{
  249|    384|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    384|}
importdl.c:PyType_HasFeature:
  749|     72|{
  750|     72|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     72|    flags = type->tp_flags;
  756|     72|#endif
  757|     72|    return ((flags & feature) != 0);
  758|     72|}
importdl.c:_Py_TYPE_impl:
  233|    140|{
  234|    140|    return ob->ob_type;
  235|    140|}
importdl.c:_Py_IS_TYPE_impl:
  248|     68|{
  249|     68|    return Py_TYPE(ob) == 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     68|}
importdl.c:PyObject_TypeCheck:
  374|     34|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     34|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     68|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 34, False: 0]
  |  |  ------------------
  ------------------
                  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|     34|}
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.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|}
intrinsics.c:_Py_TYPE_impl:
  233|  12.2k|{
  234|  12.2k|    return ob->ob_type;
  235|  12.2k|}
intrinsics.c:_Py_IS_TYPE_impl:
  248|  1.80k|{
  249|  1.80k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.80k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.80k|}
marshal.c:PyType_HasFeature:
  749|  86.6k|{
  750|  86.6k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  86.6k|    flags = type->tp_flags;
  756|  86.6k|#endif
  757|  86.6k|    return ((flags & feature) != 0);
  758|  86.6k|}
marshal.c:_Py_TYPE_impl:
  233|   205k|{
  234|   205k|    return ob->ob_type;
  235|   205k|}
marshal.c:_Py_SIZE_impl:
  240|  59.4k|{
  241|  59.4k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 59.4k, False: 0]
  ------------------
  242|  59.4k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 59.4k, False: 0]
  ------------------
  243|  59.4k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  59.4k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  59.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  59.4k|}
modsupport.c:_Py_TYPE_impl:
  233|  2.61k|{
  234|  2.61k|    return ob->ob_type;
  235|  2.61k|}
modsupport.c:PyType_HasFeature:
  749|    605|{
  750|    605|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    605|    flags = type->tp_flags;
  756|    605|#endif
  757|    605|    return ((flags & feature) != 0);
  758|    605|}
modsupport.c:_Py_SIZE_impl:
  240|    605|{
  241|    605|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 605, False: 0]
  ------------------
  242|    605|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 605, False: 0]
  ------------------
  243|    605|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    605|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    605|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    605|}
modsupport.c:PyObject_TypeCheck:
  374|    796|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    796|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.59k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    796|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    796|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 796, 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|    796|}
modsupport.c:_Py_IS_TYPE_impl:
  248|    796|{
  249|    796|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    796|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    796|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    796|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    796|}
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|     37|{
  750|     37|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     37|    flags = type->tp_flags;
  756|     37|#endif
  757|     37|    return ((flags & feature) != 0);
  758|     37|}
pythonrun.c:_Py_TYPE_impl:
  233|     37|{
  234|     37|    return ob->ob_type;
  235|     37|}
specialize.c:PyType_Check:
  762|  1.29k|static inline int PyType_Check(PyObject *op) {
  763|  1.29k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  1.29k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  1.29k|}
specialize.c:_Py_TYPE_impl:
  233|  20.2k|{
  234|  20.2k|    return ob->ob_type;
  235|  20.2k|}
specialize.c:_Py_IS_TYPE_impl:
  248|  9.93k|{
  249|  9.93k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  9.93k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  9.93k|}
specialize.c:PyObject_TypeCheck:
  374|    693|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    693|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.38k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    693|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    693|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 693, 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|    693|}
specialize.c:_Py_SIZE_impl:
  240|    106|{
  241|    106|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 106, False: 0]
  ------------------
  242|    106|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 106, False: 0]
  ------------------
  243|    106|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    106|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    106|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    106|}
specialize.c:PyType_HasFeature:
  749|  2.70k|{
  750|  2.70k|    unsigned 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.70k|    flags = type->tp_flags;
  756|  2.70k|#endif
  757|  2.70k|    return ((flags & feature) != 0);
  758|  2.70k|}
symtable.c:_Py_IS_TYPE_impl:
  248|      6|{
  249|      6|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|      6|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      6|}
symtable.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|}
symtable.c:PyType_HasFeature:
  749|    359|{
  750|    359|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    359|    flags = type->tp_flags;
  756|    359|#endif
  757|    359|    return ((flags & feature) != 0);
  758|    359|}
symtable.c:_Py_TYPE_impl:
  233|    385|{
  234|    385|    return ob->ob_type;
  235|    385|}
sysmodule.c:PyType_HasFeature:
  749|    695|{
  750|    695|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    695|    flags = type->tp_flags;
  756|    695|#endif
  757|    695|    return ((flags & feature) != 0);
  758|    695|}
sysmodule.c:_Py_TYPE_impl:
  233|  1.91k|{
  234|  1.91k|    return ob->ob_type;
  235|  1.91k|}
sysmodule.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|}
sysmodule.c:_Py_SIZE_impl:
  240|    594|{
  241|    594|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 594, False: 0]
  ------------------
  242|    594|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 594, False: 0]
  ------------------
  243|    594|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    594|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    594|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    594|}
traceback.c:_Py_IS_TYPE_impl:
  248|  1.01k|{
  249|  1.01k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.01k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.01k|}
traceback.c:PyType_HasFeature:
  749|    431|{
  750|    431|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    431|    flags = type->tp_flags;
  756|    431|#endif
  757|    431|    return ((flags & feature) != 0);
  758|    431|}
traceback.c:_Py_TYPE_impl:
  233|  1.44k|{
  234|  1.44k|    return ob->ob_type;
  235|  1.44k|}
typecache.c:_Py_IS_TYPE_impl:
  248|  27.5k|{
  249|  27.5k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  27.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  27.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  27.5k|}
typecache.c:_Py_TYPE_impl:
  233|  90.5k|{
  234|  90.5k|    return ob->ob_type;
  235|  90.5k|}
typecache.c:PyType_HasFeature:
  749|  62.9k|{
  750|  62.9k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  62.9k|    flags = type->tp_flags;
  756|  62.9k|#endif
  757|  62.9k|    return ((flags & feature) != 0);
  758|  62.9k|}
fileutils.c:PyType_HasFeature:
  749|     10|{
  750|     10|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     10|    flags = type->tp_flags;
  756|     10|#endif
  757|     10|    return ((flags & feature) != 0);
  758|     10|}
fileutils.c:_Py_TYPE_impl:
  233|     10|{
  234|     10|    return ob->ob_type;
  235|     10|}
posixmodule.c:_Py_IS_TYPE_impl:
  248|    124|{
  249|    124|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    124|}
posixmodule.c:_Py_SIZE_impl:
  240|    163|{
  241|    163|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 163, False: 0]
  ------------------
  242|    163|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 163, False: 0]
  ------------------
  243|    163|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    163|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    163|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    163|}
posixmodule.c:_Py_TYPE_impl:
  233|  1.37k|{
  234|  1.37k|    return ob->ob_type;
  235|  1.37k|}
posixmodule.c:PyType_HasFeature:
  749|    925|{
  750|    925|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    925|    flags = type->tp_flags;
  756|    925|#endif
  757|    925|    return ((flags & feature) != 0);
  758|    925|}
posixmodule.c:PyObject_TypeCheck:
  374|    124|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    124|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    248|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 124, 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|    124|}
_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|     14|{
  750|     14|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     14|    flags = type->tp_flags;
  756|     14|#endif
  757|     14|    return ((flags & feature) != 0);
  758|     14|}
_codecsmodule.c:_Py_TYPE_impl:
  233|     14|{
  234|     14|    return ob->ob_type;
  235|     14|}
_collectionsmodule.c:_Py_TYPE_impl:
  233|    100|{
  234|    100|    return ob->ob_type;
  235|    100|}
_collectionsmodule.c:PyType_HasFeature:
  749|     45|{
  750|     45|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     45|    flags = type->tp_flags;
  756|     45|#endif
  757|     45|    return ((flags & feature) != 0);
  758|     45|}
_collectionsmodule.c:_Py_IS_TYPE_impl:
  248|      3|{
  249|      3|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|      3|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      3|}
_collectionsmodule.c:PyObject_TypeCheck:
  374|      3|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|      3|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|      6|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 3, 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|}
_collectionsmodule.c:_Py_SIZE_impl:
  240|     18|{
  241|     18|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 18, False: 0]
  ------------------
  242|     18|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 18, False: 0]
  ------------------
  243|     18|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     18|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     18|}
_collectionsmodule.c:PyType_Check:
  762|      9|static inline int PyType_Check(PyObject *op) {
  763|      9|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|      9|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|      9|}
_iomodule.c:PyType_HasFeature:
  749|     87|{
  750|     87|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     87|    flags = type->tp_flags;
  756|     87|#endif
  757|     87|    return ((flags & feature) != 0);
  758|     87|}
_iomodule.c:_Py_TYPE_impl:
  233|    126|{
  234|    126|    return ob->ob_type;
  235|    126|}
_iomodule.c:PyObject_TypeCheck:
  374|     39|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     39|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     78|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     39|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     39|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 39, 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|     39|}
_iomodule.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|}
fileio.c:_Py_TYPE_impl:
  233|    369|{
  234|    369|    return ob->ob_type;
  235|    369|}
fileio.c:PyType_Check:
  762|     27|static inline int PyType_Check(PyObject *op) {
  763|     27|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|     27|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|     27|}
fileio.c:PyType_HasFeature:
  749|    186|{
  750|    186|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    186|    flags = type->tp_flags;
  756|    186|#endif
  757|    186|    return ((flags & feature) != 0);
  758|    186|}
fileio.c:_Py_SIZE_impl:
  240|     33|{
  241|     33|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 33, False: 0]
  ------------------
  242|     33|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 33, False: 0]
  ------------------
  243|     33|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     33|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     33|}
fileio.c:_Py_IS_TYPE_impl:
  248|     33|{
  249|     33|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     33|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     33|}
bufferedio.c:_Py_IS_TYPE_impl:
  248|     99|{
  249|     99|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     99|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     99|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     99|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     99|}
bufferedio.c:_Py_TYPE_impl:
  233|    402|{
  234|    402|    return ob->ob_type;
  235|    402|}
bufferedio.c:PyType_HasFeature:
  749|    153|{
  750|    153|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    153|    flags = type->tp_flags;
  756|    153|#endif
  757|    153|    return ((flags & feature) != 0);
  758|    153|}
bufferedio.c:_Py_SIZE_impl:
  240|     33|{
  241|     33|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 33, False: 0]
  ------------------
  242|     33|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 33, False: 0]
  ------------------
  243|     33|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     33|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     33|}
bufferedio.c:PyObject_TypeCheck:
  374|     33|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     33|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     66|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 33, 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|     33|}
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|    864|{
  750|    864|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    864|    flags = type->tp_flags;
  756|    864|#endif
  757|    864|    return ((flags & feature) != 0);
  758|    864|}
textio.c:_Py_TYPE_impl:
  233|    978|{
  234|    978|    return ob->ob_type;
  235|    978|}
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|     72|{
  249|     72|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     72|}
itertoolsmodule.c:PyObject_TypeCheck:
  374|      3|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|      3|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|      6|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 3, 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|}
itertoolsmodule.c:_Py_IS_TYPE_impl:
  248|     36|{
  249|     36|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     36|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     36|}
itertoolsmodule.c:_Py_TYPE_impl:
  233|  3.17k|{
  234|  3.17k|    return ob->ob_type;
  235|  3.17k|}
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|    180|{
  750|    180|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    180|    flags = type->tp_flags;
  756|    180|#endif
  757|    180|    return ((flags & feature) != 0);
  758|    180|}
sre.c:_Py_TYPE_impl:
  233|    197|{
  234|    197|    return ob->ob_type;
  235|    197|}
sre.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|}
sre.c:_Py_IS_TYPE_impl:
  248|      6|{
  249|      6|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|      6|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      6|}
sre.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|}
_threadmodule.c:_Py_TYPE_impl:
  233|    331|{
  234|    331|    return ob->ob_type;
  235|    331|}
_threadmodule.c:PyObject_TypeCheck:
  374|    169|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    169|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    338|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    169|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    169|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 169, 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|    169|}
_threadmodule.c:_Py_IS_TYPE_impl:
  248|    169|{
  249|    169|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    169|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    169|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    169|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    169|}
timemodule.c:_Py_TYPE_impl:
  233|      6|{
  234|      6|    return ob->ob_type;
  235|      6|}
timemodule.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|}
timemodule.c:_Py_IS_TYPE_impl:
  248|      6|{
  249|      6|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|      6|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      6|}
_weakref.c:PyType_HasFeature:
  749|    112|{
  750|    112|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    112|    flags = type->tp_flags;
  756|    112|#endif
  757|    112|    return ((flags & feature) != 0);
  758|    112|}
_weakref.c:_Py_TYPE_impl:
  233|    560|{
  234|    560|    return ob->ob_type;
  235|    560|}
_weakref.c:PyObject_TypeCheck:
  374|    224|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    224|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    448|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    224|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    224|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 224]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|    224|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    224|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    224|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 224, False: 0]
  ------------------
  376|    224|}
_weakref.c:_Py_IS_TYPE_impl:
  248|    224|{
  249|    224|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    224|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    224|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    224|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    224|}
_abc.c:PyObject_TypeCheck:
  374|    321|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    321|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    642|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    321|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    321|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 321, 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|    321|}
_abc.c:_Py_IS_TYPE_impl:
  248|    493|{
  249|    493|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    493|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    493|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    493|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    493|}
_abc.c:_Py_TYPE_impl:
  233|  11.5k|{
  234|  11.5k|    return ob->ob_type;
  235|  11.5k|}
_abc.c:PyType_HasFeature:
  749|  7.12k|{
  750|  7.12k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  7.12k|    flags = type->tp_flags;
  756|  7.12k|#endif
  757|  7.12k|    return ((flags & feature) != 0);
  758|  7.12k|}
_abc.c:_Py_SIZE_impl:
  240|  1.83k|{
  241|  1.83k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.83k, False: 0]
  ------------------
  242|  1.83k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.83k, False: 0]
  ------------------
  243|  1.83k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.83k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.83k|}
_abc.c:PyType_Check:
  762|    341|static inline int PyType_Check(PyObject *op) {
  763|    341|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    341|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    341|}
_functoolsmodule.c:PyType_HasFeature:
  749|      1|{
  750|      1|    unsigned 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|    flags = type->tp_flags;
  756|      1|#endif
  757|      1|    return ((flags & feature) != 0);
  758|      1|}
_functoolsmodule.c:_Py_TYPE_impl:
  233|      6|{
  234|      6|    return ob->ob_type;
  235|      6|}
_functoolsmodule.c:PyObject_TypeCheck:
  374|      5|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|      5|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     10|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 5, False: 0]
  |  |  ------------------
  ------------------
                  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|      5|}
_functoolsmodule.c:_Py_IS_TYPE_impl:
  248|      5|{
  249|      5|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|      5|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      5|}
_operator.c:_Py_TYPE_impl:
  233|      3|{
  234|      3|    return ob->ob_type;
  235|      3|}
_operator.c:PyObject_TypeCheck:
  374|      3|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|      3|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|      6|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 3, 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|}
_operator.c:_Py_IS_TYPE_impl:
  248|      3|{
  249|      3|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|      3|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      3|}
_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|    226|{
  234|    226|    return ob->ob_type;
  235|    226|}
getpath.c:PyType_HasFeature:
  749|    176|{
  750|    176|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    176|    flags = type->tp_flags;
  756|    176|#endif
  757|    176|    return ((flags & feature) != 0);
  758|    176|}
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|     14|{
  750|     14|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     14|    flags = type->tp_flags;
  756|     14|#endif
  757|     14|    return ((flags & feature) != 0);
  758|     14|}
helpers.c:_Py_TYPE_impl:
  233|     14|{
  234|     14|    return ob->ob_type;
  235|     14|}
abstract.c:_Py_TYPE_impl:
  233|  31.6k|{
  234|  31.6k|    return ob->ob_type;
  235|  31.6k|}
abstract.c:PyType_HasFeature:
  749|  3.10k|{
  750|  3.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|  3.10k|    flags = type->tp_flags;
  756|  3.10k|#endif
  757|  3.10k|    return ((flags & feature) != 0);
  758|  3.10k|}
abstract.c:PyType_Check:
  762|  1.77k|static inline int PyType_Check(PyObject *op) {
  763|  1.77k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  1.77k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  1.77k|}
abstract.c:_Py_IS_TYPE_impl:
  248|  14.7k|{
  249|  14.7k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  14.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  14.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  14.7k|}
abstract.c:PyObject_TypeCheck:
  374|    380|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    380|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    760|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 380]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|    380|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 27, False: 353]
  ------------------
  376|    380|}
abstract.c:_Py_SIZE_impl:
  240|    102|{
  241|    102|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 102, False: 0]
  ------------------
  242|    102|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 102, False: 0]
  ------------------
  243|    102|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    102|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    102|}
abstract.c:_Py_SET_SIZE_impl:
  254|     62|{
  255|     62|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 62, False: 0]
  ------------------
  256|     62|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 62, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|     62|    ob->ob_size = size;
  261|     62|#endif
  262|     62|}
abstract.c:PyType_CheckExact:
  772|  1.13k|static inline int PyType_CheckExact(PyObject *op) {
  773|  1.13k|    return Py_IS_TYPE(op, &PyType_Type);
  ------------------
  |  |  215|  1.13k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|  1.13k|}
boolobject.c:_Py_TYPE_impl:
  233|     18|{
  234|     18|    return ob->ob_type;
  235|     18|}
boolobject.c:PyType_HasFeature:
  749|     24|{
  750|     24|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     24|    flags = type->tp_flags;
  756|     24|#endif
  757|     24|    return ((flags & feature) != 0);
  758|     24|}
boolobject.c:PyType_Check:
  762|     18|static inline int PyType_Check(PyObject *op) {
  763|     18|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|     18|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|     18|}
bytes_methods.c:_Py_TYPE_impl:
  233|     28|{
  234|     28|    return ob->ob_type;
  235|     28|}
bytearrayobject.c:PyType_HasFeature:
  749|    134|{
  750|    134|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    134|    flags = type->tp_flags;
  756|    134|#endif
  757|    134|    return ((flags & feature) != 0);
  758|    134|}
bytearrayobject.c:_Py_SIZE_impl:
  240|    143|{
  241|    143|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 143, False: 0]
  ------------------
  242|    143|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 143, False: 0]
  ------------------
  243|    143|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    143|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    143|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    143|}
bytearrayobject.c:_Py_SET_SIZE_impl:
  254|     44|{
  255|     44|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 44, False: 0]
  ------------------
  256|     44|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 44, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|     44|    ob->ob_size = size;
  261|     44|#endif
  262|     44|}
bytearrayobject.c:PyObject_TypeCheck:
  374|    240|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    240|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    480|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 225, False: 15]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 15]
  ------------------
  376|    240|}
bytearrayobject.c:_Py_IS_TYPE_impl:
  248|    267|{
  249|    267|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    267|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    267|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    267|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    267|}
bytearrayobject.c:_Py_TYPE_impl:
  233|    868|{
  234|    868|    return ob->ob_type;
  235|    868|}
bytearrayobject.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|}
bytesobject.c:Py_SET_TYPE:
  206|   623k|{
  207|   623k|    ob->ob_type = type;
  208|   623k|}
bytesobject.c:_Py_SET_SIZE_impl:
  254|   623k|{
  255|   623k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 623k, False: 0]
  ------------------
  256|   623k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 623k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|   623k|    ob->ob_size = size;
  261|   623k|#endif
  262|   623k|}
bytesobject.c:PyType_HasFeature:
  749|  6.01M|{
  750|  6.01M|    unsigned 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.01M|    flags = type->tp_flags;
  756|  6.01M|#endif
  757|  6.01M|    return ((flags & feature) != 0);
  758|  6.01M|}
bytesobject.c:_Py_TYPE_impl:
  233|  8.50M|{
  234|  8.50M|    return ob->ob_type;
  235|  8.50M|}
bytesobject.c:_Py_IS_TYPE_impl:
  248|    507|{
  249|    507|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    507|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    507|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    507|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    507|}
bytesobject.c:_Py_SIZE_impl:
  240|   617k|{
  241|   617k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 617k, False: 0]
  ------------------
  242|   617k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 617k, False: 0]
  ------------------
  243|   617k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   617k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   617k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   617k|}
capsule.c:_Py_IS_TYPE_impl:
  248|      3|{
  249|      3|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|      3|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      3|}
capsule.c:_Py_TYPE_impl:
  233|      3|{
  234|      3|    return ob->ob_type;
  235|      3|}
cellobject.c:_Py_IS_TYPE_impl:
  248|    223|{
  249|    223|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    223|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    223|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    223|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    223|}
cellobject.c:_Py_TYPE_impl:
  233|    223|{
  234|    223|    return ob->ob_type;
  235|    223|}
classobject.c:_Py_IS_TYPE_impl:
  248|    911|{
  249|    911|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    911|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    911|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    911|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    911|}
classobject.c:_Py_TYPE_impl:
  233|    911|{
  234|    911|    return ob->ob_type;
  235|    911|}
codeobject.c:PyType_HasFeature:
  749|   201k|{
  750|   201k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   201k|    flags = type->tp_flags;
  756|   201k|#endif
  757|   201k|    return ((flags & feature) != 0);
  758|   201k|}
codeobject.c:_Py_TYPE_impl:
  233|   350k|{
  234|   350k|    return ob->ob_type;
  235|   350k|}
codeobject.c:_Py_SIZE_impl:
  240|  51.3k|{
  241|  51.3k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 51.3k, False: 0]
  ------------------
  242|  51.3k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 51.3k, False: 0]
  ------------------
  243|  51.3k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  51.3k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  51.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  51.3k|}
codeobject.c:_Py_IS_TYPE_impl:
  248|  46.0k|{
  249|  46.0k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  46.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  46.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  46.0k|}
descrobject.c:PyType_HasFeature:
  749|  2.22k|{
  750|  2.22k|    unsigned 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.22k|    flags = type->tp_flags;
  756|  2.22k|#endif
  757|  2.22k|    return ((flags & feature) != 0);
  758|  2.22k|}
descrobject.c:PyType_Check:
  762|    739|static inline int PyType_Check(PyObject *op) {
  763|    739|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    739|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    739|}
descrobject.c:_Py_SIZE_impl:
  240|    241|{
  241|    241|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 241, False: 0]
  ------------------
  242|    241|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 241, False: 0]
  ------------------
  243|    241|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    241|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    241|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    241|}
descrobject.c:_Py_TYPE_impl:
  233|  12.7k|{
  234|  12.7k|    return ob->ob_type;
  235|  12.7k|}
descrobject.c:_Py_IS_TYPE_impl:
  248|  4.91k|{
  249|  4.91k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  4.91k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  4.91k|}
descrobject.c:PyObject_TypeCheck:
  374|  4.79k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  4.79k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  9.58k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  4.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 3.34k, False: 1.45k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  1.45k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 1.45k, False: 0]
  ------------------
  376|  4.79k|}
enumobject.c:_Py_TYPE_impl:
  233|  1.86k|{
  234|  1.86k|    return ob->ob_type;
  235|  1.86k|}
enumobject.c:PyType_HasFeature:
  749|    972|{
  750|    972|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    972|    flags = type->tp_flags;
  756|    972|#endif
  757|    972|    return ((flags & feature) != 0);
  758|    972|}
enumobject.c:_Py_SIZE_impl:
  240|    348|{
  241|    348|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 348, False: 0]
  ------------------
  242|    348|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 348, False: 0]
  ------------------
  243|    348|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    348|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    348|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    348|}
enumobject.c:PyType_Check:
  762|     75|static inline int PyType_Check(PyObject *op) {
  763|     75|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|     75|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|     75|}
genobject.c:_Py_IS_TYPE_impl:
  248|    516|{
  249|    516|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    516|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    516|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    516|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    516|}
genobject.c:_Py_TYPE_impl:
  233|    516|{
  234|    516|    return ob->ob_type;
  235|    516|}
fileobject.c:PyType_HasFeature:
  749|     27|{
  750|     27|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     27|    flags = type->tp_flags;
  756|     27|#endif
  757|     27|    return ((flags & feature) != 0);
  758|     27|}
fileobject.c:_Py_TYPE_impl:
  233|     27|{
  234|     27|    return ob->ob_type;
  235|     27|}
floatobject.c:Py_SET_TYPE:
  206|     75|{
  207|     75|    ob->ob_type = type;
  208|     75|}
floatobject.c:PyType_HasFeature:
  749|      9|{
  750|      9|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|      9|    flags = type->tp_flags;
  756|      9|#endif
  757|      9|    return ((flags & feature) != 0);
  758|      9|}
floatobject.c:_Py_TYPE_impl:
  233|  1.29k|{
  234|  1.29k|    return ob->ob_type;
  235|  1.29k|}
floatobject.c:PyObject_TypeCheck:
  374|    478|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    478|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    956|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    478|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    478|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 469, False: 9]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      9|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 9]
  ------------------
  376|    478|}
floatobject.c:_Py_IS_TYPE_impl:
  248|  1.27k|{
  249|  1.27k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.27k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.27k|}
frameobject.c:PyObject_TypeCheck:
  374|    425|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    425|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    850|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    425|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    425|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 425, 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|    425|}
frameobject.c:_Py_IS_TYPE_impl:
  248|    487|{
  249|    487|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    487|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    487|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    487|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    487|}
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|    507|{
  234|    507|    return ob->ob_type;
  235|    507|}
iterobject.c:_Py_IS_TYPE_impl:
  248|     18|{
  249|     18|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     18|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     18|}
iterobject.c:_Py_TYPE_impl:
  233|     18|{
  234|     18|    return ob->ob_type;
  235|     18|}
lazyimportobject.c:PyType_HasFeature:
  749|     30|{
  750|     30|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     30|    flags = type->tp_flags;
  756|     30|#endif
  757|     30|    return ((flags & feature) != 0);
  758|     30|}
lazyimportobject.c:_Py_TYPE_impl:
  233|     86|{
  234|     86|    return ob->ob_type;
  235|     86|}
lazyimportobject.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|}
lazyimportobject.c:_Py_SIZE_impl:
  240|      2|{
  241|      2|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 2, False: 0]
  ------------------
  242|      2|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 2, False: 0]
  ------------------
  243|      2|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|      2|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|      2|}
memoryobject.c:_Py_IS_TYPE_impl:
  248|     54|{
  249|     54|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     54|}
memoryobject.c:_Py_TYPE_impl:
  233|    216|{
  234|    216|    return ob->ob_type;
  235|    216|}
memoryobject.c:PyType_HasFeature:
  749|     81|{
  750|     81|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     81|    flags = type->tp_flags;
  756|     81|#endif
  757|     81|    return ((flags & feature) != 0);
  758|     81|}
memoryobject.c:_Py_SIZE_impl:
  240|     27|{
  241|     27|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 27, False: 0]
  ------------------
  242|     27|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 27, False: 0]
  ------------------
  243|     27|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     27|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     27|}
methodobject.c:PyObject_TypeCheck:
  374|  16.3k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  16.3k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  32.7k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  16.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 16.2k, False: 155]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|    155|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    155|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    155|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 143, False: 12]
  ------------------
  376|  16.3k|}
methodobject.c:_Py_IS_TYPE_impl:
  248|  17.4k|{
  249|  17.4k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  17.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  17.4k|}
methodobject.c:_Py_TYPE_impl:
  233|  17.6k|{
  234|  17.6k|    return ob->ob_type;
  235|  17.6k|}
methodobject.c:PyType_Check:
  762|      6|static inline int PyType_Check(PyObject *op) {
  763|      6|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|      6|}
methodobject.c:PyType_HasFeature:
  749|     12|{
  750|     12|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     12|    flags = type->tp_flags;
  756|     12|#endif
  757|     12|    return ((flags & feature) != 0);
  758|     12|}
namespaceobject.c:_Py_TYPE_impl:
  233|     30|{
  234|     30|    return ob->ob_type;
  235|     30|}
unicode_format.c:PyType_HasFeature:
  749|    189|{
  750|    189|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    189|    flags = type->tp_flags;
  756|    189|#endif
  757|    189|    return ((flags & feature) != 0);
  758|    189|}
unicode_format.c:_Py_TYPE_impl:
  233|    189|{
  234|    189|    return ob->ob_type;
  235|    189|}
Python-ast.c:_Py_TYPE_impl:
  233|  1.09k|{
  234|  1.09k|    return ob->ob_type;
  235|  1.09k|}
Python-ast.c:PyType_HasFeature:
  749|    353|{
  750|    353|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    353|    flags = type->tp_flags;
  756|    353|#endif
  757|    353|    return ((flags & feature) != 0);
  758|    353|}
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|     57|{
  750|     57|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     57|    flags = type->tp_flags;
  756|     57|#endif
  757|     57|    return ((flags & feature) != 0);
  758|     57|}
assemble.c:_Py_TYPE_impl:
  233|    116|{
  234|    116|    return ob->ob_type;
  235|    116|}
assemble.c:_Py_IS_TYPE_impl:
  248|     13|{
  249|     13|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     13|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     13|}
assemble.c:_Py_SIZE_impl:
  240|     23|{
  241|     23|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 23, False: 0]
  ------------------
  242|     23|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 23, False: 0]
  ------------------
  243|     23|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     23|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     23|}
crossinterp.c:_Py_TYPE_impl:
  233|      2|{
  234|      2|    return ob->ob_type;
  235|      2|}
pegen.c:PyType_HasFeature:
  749|  3.00M|{
  750|  3.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|  3.00M|    flags = type->tp_flags;
  756|  3.00M|#endif
  757|  3.00M|    return ((flags & feature) != 0);
  758|  3.00M|}
pegen.c:_Py_TYPE_impl:
  233|  9.02M|{
  234|  9.02M|    return ob->ob_type;
  235|  9.02M|}
pegen.c:_Py_SIZE_impl:
  240|  3.00M|{
  241|  3.00M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 3.00M, False: 0]
  ------------------
  242|  3.00M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 3.00M, False: 0]
  ------------------
  243|  3.00M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  3.00M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  3.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  3.00M|}
pegen.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: 24, 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|     24|}
pegen.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|}
lexer.c:PyType_HasFeature:
  749|  3.04k|{
  750|  3.04k|    unsigned 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.04k|    flags = type->tp_flags;
  756|  3.04k|#endif
  757|  3.04k|    return ((flags & feature) != 0);
  758|  3.04k|}
lexer.c:_Py_TYPE_impl:
  233|  3.04k|{
  234|  3.04k|    return ob->ob_type;
  235|  3.04k|}
lexer.c:_Py_SIZE_impl:
  240|      3|{
  241|      3|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 3, False: 0]
  ------------------
  242|      3|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 3, False: 0]
  ------------------
  243|      3|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|      3|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|      3|}
action_helpers.c:_Py_IS_TYPE_impl:
  248|    590|{
  249|    590|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    590|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    590|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    590|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    590|}
action_helpers.c:_Py_TYPE_impl:
  233|  1.63k|{
  234|  1.63k|    return ob->ob_type;
  235|  1.63k|}
action_helpers.c:PyType_HasFeature:
  749|    967|{
  750|    967|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    967|    flags = type->tp_flags;
  756|    967|#endif
  757|    967|    return ((flags & feature) != 0);
  758|    967|}
action_helpers.c:_Py_SIZE_impl:
  240|     38|{
  241|     38|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 38, False: 0]
  ------------------
  242|     38|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 38, False: 0]
  ------------------
  243|     38|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     38|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     38|}
string_parser.c:PyType_HasFeature:
  749|  1.03M|{
  750|  1.03M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  1.03M|    flags = type->tp_flags;
  756|  1.03M|#endif
  757|  1.03M|    return ((flags & feature) != 0);
  758|  1.03M|}
string_parser.c:_Py_TYPE_impl:
  233|  1.03M|{
  234|  1.03M|    return ob->ob_type;
  235|  1.03M|}

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

call.c:Py_DECREF:
  418|  3.67k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.67k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.67k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 828, False: 2.84k]
  |  |  ------------------
  ------------------
  422|    828|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    828|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    828|        return;
  424|    828|    }
  425|  2.84k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.84k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.84k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.97k, False: 869]
  ------------------
  427|  1.97k|        _Py_Dealloc(op);
  428|  1.97k|    }
  429|  2.84k|}
call.c:_Py_IsImmortal:
  127|  3.67k|{
  128|       |#if defined(Py_GIL_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.67k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.67k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.67k|}
call.c:_Py_IsStaticImmortal:
  141|  1.03k|{
  142|  1.03k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  1.03k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  1.03k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  1.03k|}
call.c:_Py_NewRef:
  632|    350|{
  633|    350|    Py_INCREF(obj);
  ------------------
  |  |  310|    350|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    350|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    350|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    350|    return obj;
  635|    350|}
call.c:Py_INCREF:
  256|    350|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    350|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    350|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 264, False: 86]
  ------------------
  288|       |        // the object is immortal
  289|    264|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    264|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    264|        return;
  291|    264|    }
  292|     86|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     86|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     86|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     86|#endif
  308|     86|}
exceptions.c:_Py_XNewRef:
  638|    884|{
  639|    884|    Py_XINCREF(obj);
  ------------------
  |  |  611|    884|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    884|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    884|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|    884|    return obj;
  641|    884|}
exceptions.c:Py_XINCREF:
  605|    884|{
  606|    884|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    884|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 262, False: 622]
  ------------------
  607|    262|        Py_INCREF(op);
  ------------------
  |  |  310|    262|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    262|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    262|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|    262|    }
  609|    884|}
exceptions.c:Py_XDECREF:
  615|  1.45k|{
  616|  1.45k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.45k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 320, False: 1.13k]
  ------------------
  617|    320|        Py_DECREF(op);
  ------------------
  |  |  430|    320|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    320|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    320|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    320|    }
  619|  1.45k|}
exceptions.c:_Py_NewRef:
  632|    965|{
  633|    965|    Py_INCREF(obj);
  ------------------
  |  |  310|    965|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    965|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    965|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    965|    return obj;
  635|    965|}
exceptions.c:Py_INCREF:
  256|  1.27k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.27k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.27k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 216, False: 1.06k]
  ------------------
  288|       |        // the object is immortal
  289|    216|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    216|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    216|        return;
  291|    216|    }
  292|  1.06k|    op->ob_refcnt = cur_refcnt + 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.06k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.06k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.06k|#endif
  308|  1.06k|}
exceptions.c:Py_DECREF:
  418|  1.94k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.94k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.94k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 336, False: 1.60k]
  |  |  ------------------
  ------------------
  422|    336|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    336|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    336|        return;
  424|    336|    }
  425|  1.60k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.60k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.60k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 921, False: 687]
  ------------------
  427|    921|        _Py_Dealloc(op);
  428|    921|    }
  429|  1.60k|}
exceptions.c:_Py_IsImmortal:
  127|  1.94k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  1.94k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.94k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.94k|}
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:
  615|     15|{
  616|     15|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     15|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 10, False: 5]
  ------------------
  617|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     10|    }
  619|     15|}
genericaliasobject.c:_Py_NewRef:
  632|     79|{
  633|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     79|    return obj;
  635|     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|    }
funcobject.c:Py_XDECREF:
  615|    287|{
  616|    287|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    287|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 116, False: 171]
  ------------------
  617|    116|        Py_DECREF(op);
  ------------------
  |  |  430|    116|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    116|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    116|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    116|    }
  619|    287|}
funcobject.c:Py_INCREF:
  256|  13.4k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  13.4k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  13.4k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 7.01k, False: 6.45k]
  ------------------
  288|       |        // the object is immortal
  289|  7.01k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  7.01k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  7.01k|        return;
  291|  7.01k|    }
  292|  6.45k|    op->ob_refcnt = cur_refcnt + 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.45k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  6.45k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.45k|#endif
  308|  6.45k|}
funcobject.c:_Py_NewRef:
  632|  3.79k|{
  633|  3.79k|    Py_INCREF(obj);
  ------------------
  |  |  310|  3.79k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  3.79k|    return obj;
  635|  3.79k|}
funcobject.c:_Py_XNewRef:
  638|    231|{
  639|    231|    Py_XINCREF(obj);
  ------------------
  |  |  611|    231|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    231|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    231|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|    231|    return obj;
  641|    231|}
funcobject.c:Py_XINCREF:
  605|    231|{
  606|    231|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    231|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 54, False: 177]
  ------------------
  607|     54|        Py_INCREF(op);
  ------------------
  |  |  310|     54|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|     54|    }
  609|    231|}
funcobject.c:_Py_REFCNT:
  105|  5.58k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  5.58k|    #if !defined(Py_GIL_DISABLED)
  107|  5.58k|        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.58k|    }
funcobject.c:Py_DECREF:
  418|  6.65k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  6.65k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  6.65k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 4.08k, False: 2.57k]
  |  |  ------------------
  ------------------
  422|  4.08k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  4.08k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  4.08k|        return;
  424|  4.08k|    }
  425|  2.57k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.57k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.57k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 200, False: 2.37k]
  ------------------
  427|    200|        _Py_Dealloc(op);
  428|    200|    }
  429|  2.57k|}
funcobject.c:_Py_IsImmortal:
  127|  7.91k|{
  128|       |#if defined(Py_GIL_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.91k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  7.91k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  7.91k|}
funcobject.c:Py_SET_REFCNT:
  154|  1.25k|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  1.25k|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 1.25k, 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.25k|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  1.25k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 1.25k]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  1.25k|#ifndef Py_GIL_DISABLED
  170|  1.25k|#if SIZEOF_VOID_P > 4
  171|  1.25k|    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.25k|#endif  // Py_LIMITED_API
  199|  1.25k|}
listobject.c:Py_DECREF:
  418|  1.52M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.52M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.52M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 899k, False: 624k]
  |  |  ------------------
  ------------------
  422|   899k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   899k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   899k|        return;
  424|   899k|    }
  425|   624k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   624k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   624k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 617k, False: 7.05k]
  ------------------
  427|   617k|        _Py_Dealloc(op);
  428|   617k|    }
  429|   624k|}
listobject.c:_Py_IsImmortal:
  127|  1.52M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  1.52M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.52M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.52M|}
listobject.c:Py_XDECREF:
  615|  1.52M|{
  616|  1.52M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.52M|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 1.52M, False: 190]
  ------------------
  617|  1.52M|        Py_DECREF(op);
  ------------------
  |  |  430|  1.52M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  1.52M|    }
  619|  1.52M|}
listobject.c:_Py_NewRef:
  632|  1.52M|{
  633|  1.52M|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.52M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  1.52M|    return obj;
  635|  1.52M|}
listobject.c:Py_INCREF:
  256|  1.52M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  1.52M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.52M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 899k, False: 622k]
  ------------------
  288|       |        // the object is immortal
  289|   899k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   899k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   899k|        return;
  291|   899k|    }
  292|   622k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   622k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   622k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   622k|#endif
  308|   622k|}
listobject.c:_Py_XNewRef:
  638|    125|{
  639|    125|    Py_XINCREF(obj);
  ------------------
  |  |  611|    125|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    125|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    125|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|    125|    return obj;
  641|    125|}
listobject.c:Py_XINCREF:
  605|    125|{
  606|    125|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    125|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 125, False: 0]
  ------------------
  607|    125|        Py_INCREF(op);
  ------------------
  |  |  310|    125|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    125|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    125|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|    125|    }
  609|    125|}
longobject.c:_Py_IsImmortal:
  127|  2.77k|{
  128|       |#if defined(Py_GIL_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.77k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.77k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.77k|}
longobject.c:Py_DECREF:
  418|    152|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    152|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    152|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    152|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    152|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 151, False: 1]
  |  |  ------------------
  ------------------
  422|    151|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    151|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    151|        return;
  424|    151|    }
  425|      1|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      1|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      1|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 1]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      1|}
longobject.c:Py_XDECREF:
  615|    115|{
  616|    115|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    115|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 4, False: 111]
  ------------------
  617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      4|    }
  619|    115|}
longobject.c:Py_INCREF:
  256|  2.48k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.48k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.48k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 2.48k, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|  2.48k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  2.48k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  2.48k|        return;
  291|  2.48k|    }
  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|}
longobject.c:_Py_NewRef:
  632|      3|{
  633|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      3|    return obj;
  635|      3|}
longobject.c:_Py_REFCNT:
  105|      9|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      9|    #if !defined(Py_GIL_DISABLED)
  107|      9|        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|      9|    }
dictobject.c:_Py_XNewRef:
  638|  4.40k|{
  639|  4.40k|    Py_XINCREF(obj);
  ------------------
  |  |  611|  4.40k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  4.40k|    return obj;
  641|  4.40k|}
dictobject.c:_Py_IsImmortal:
  127|  40.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|  40.8k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  40.8k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  40.8k|}
dictobject.c:_Py_IsStaticImmortal:
  141|  9.50k|{
  142|  9.50k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  9.50k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  9.50k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  9.50k|}
dictobject.c:Py_INCREF:
  256|   122k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   122k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   122k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 49.7k, False: 72.7k]
  ------------------
  288|       |        // the object is immortal
  289|  49.7k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  49.7k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  49.7k|        return;
  291|  49.7k|    }
  292|  72.7k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  72.7k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  72.7k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  72.7k|#endif
  308|  72.7k|}
dictobject.c:Py_DECREF:
  418|  28.4k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  28.4k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  28.4k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  28.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 18.7k, False: 9.77k]
  |  |  ------------------
  ------------------
  422|  18.7k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  18.7k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  18.7k|        return;
  424|  18.7k|    }
  425|  9.77k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  9.77k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  9.77k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.73k, False: 8.03k]
  ------------------
  427|  1.73k|        _Py_Dealloc(op);
  428|  1.73k|    }
  429|  9.77k|}
dictobject.c:_Py_REFCNT:
  105|  44.1k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  44.1k|    #if !defined(Py_GIL_DISABLED)
  107|  44.1k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  44.1k|    }
dictobject.c:_Py_NewRef:
  632|   101k|{
  633|   101k|    Py_INCREF(obj);
  ------------------
  |  |  310|   101k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   101k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   101k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|   101k|    return obj;
  635|   101k|}
dictobject.c:Py_XDECREF:
  615|  24.8k|{
  616|  24.8k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  24.8k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 19.1k, False: 5.64k]
  ------------------
  617|  19.1k|        Py_DECREF(op);
  ------------------
  |  |  430|  19.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  19.1k|    }
  619|  24.8k|}
dictobject.c:Py_SET_REFCNT:
  154|  3.91k|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  3.91k|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 3.91k, 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|  3.91k|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  3.91k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 3.91k]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  3.91k|#ifndef Py_GIL_DISABLED
  170|  3.91k|#if SIZEOF_VOID_P > 4
  171|  3.91k|    ob->ob_refcnt = (uint32_t)refcnt;
  172|       |#else
  173|       |    ob->ob_refcnt = refcnt;
  174|       |#endif
  175|       |#else
  176|       |    if (_Py_IsOwnedByCurrentThread(ob)) {
  177|       |        if ((size_t)refcnt > (size_t)UINT32_MAX) {
  178|       |            // On overflow, make the object immortal
  179|       |            ob->ob_tid = _Py_UNOWNED_TID;
  180|       |            ob->ob_ref_local = _Py_IMMORTAL_REFCNT_LOCAL;
  181|       |            ob->ob_ref_shared = 0;
  182|       |        }
  183|       |        else {
  184|       |            // Set local refcount to desired refcount and shared refcount
  185|       |            // to zero, but preserve the shared refcount flags.
  186|       |            ob->ob_ref_local = _Py_STATIC_CAST(uint32_t, refcnt);
  187|       |            ob->ob_ref_shared &= _Py_REF_SHARED_FLAG_MASK;
  188|       |        }
  189|       |    }
  190|       |    else {
  191|       |        // Set local refcount to zero and shared refcount to desired refcount.
  192|       |        // Mark the object as merged.
  193|       |        ob->ob_tid = _Py_UNOWNED_TID;
  194|       |        ob->ob_ref_local = 0;
  195|       |        ob->ob_ref_shared = _Py_REF_SHARED(refcnt, _Py_REF_MERGED);
  196|       |    }
  197|       |#endif  // Py_GIL_DISABLED
  198|  3.91k|#endif  // Py_LIMITED_API
  199|  3.91k|}
dictobject.c:Py_XINCREF:
  605|  4.40k|{
  606|  4.40k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  4.40k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 3.42k, False: 979]
  ------------------
  607|  3.42k|        Py_INCREF(op);
  ------------------
  |  |  310|  3.42k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  3.42k|    }
  609|  4.40k|}
moduleobject.c:Py_SET_REFCNT:
  154|     42|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|     42|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 42, 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|     42|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|     42|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 42, False: 0]
  |  |  ------------------
  ------------------
  167|     42|        return;
  168|     42|    }
  169|      0|#ifndef Py_GIL_DISABLED
  170|      0|#if SIZEOF_VOID_P > 4
  171|      0|    ob->ob_refcnt = (uint32_t)refcnt;
  172|       |#else
  173|       |    ob->ob_refcnt = refcnt;
  174|       |#endif
  175|       |#else
  176|       |    if (_Py_IsOwnedByCurrentThread(ob)) {
  177|       |        if ((size_t)refcnt > (size_t)UINT32_MAX) {
  178|       |            // On overflow, make the object immortal
  179|       |            ob->ob_tid = _Py_UNOWNED_TID;
  180|       |            ob->ob_ref_local = _Py_IMMORTAL_REFCNT_LOCAL;
  181|       |            ob->ob_ref_shared = 0;
  182|       |        }
  183|       |        else {
  184|       |            // Set local refcount to desired refcount and shared refcount
  185|       |            // to zero, but preserve the shared refcount flags.
  186|       |            ob->ob_ref_local = _Py_STATIC_CAST(uint32_t, refcnt);
  187|       |            ob->ob_ref_shared &= _Py_REF_SHARED_FLAG_MASK;
  188|       |        }
  189|       |    }
  190|       |    else {
  191|       |        // Set local refcount to zero and shared refcount to desired refcount.
  192|       |        // Mark the object as merged.
  193|       |        ob->ob_tid = _Py_UNOWNED_TID;
  194|       |        ob->ob_ref_local = 0;
  195|       |        ob->ob_ref_shared = _Py_REF_SHARED(refcnt, _Py_REF_MERGED);
  196|       |    }
  197|       |#endif  // Py_GIL_DISABLED
  198|      0|#endif  // Py_LIMITED_API
  199|      0|}
moduleobject.c:_Py_IsImmortal:
  127|  1.69k|{
  128|       |#if defined(Py_GIL_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.69k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.69k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.69k|}
moduleobject.c:_Py_NewRef:
  632|    101|{
  633|    101|    Py_INCREF(obj);
  ------------------
  |  |  310|    101|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    101|    return obj;
  635|    101|}
moduleobject.c:Py_INCREF:
  256|    101|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    101|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    101|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 66, False: 35]
  ------------------
  288|       |        // the object is immortal
  289|     66|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     66|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     66|        return;
  291|     66|    }
  292|     35|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     35|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     35|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     35|#endif
  308|     35|}
moduleobject.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: 579, False: 1.07k]
  |  |  ------------------
  ------------------
  422|    579|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    579|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    579|        return;
  424|    579|    }
  425|  1.07k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.07k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.07k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 1.07k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  1.07k|}
moduleobject.c:Py_XDECREF:
  615|    125|{
  616|    125|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    125|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 4, False: 121]
  ------------------
  617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      4|    }
  619|    125|}
object.c:_Py_REFCNT:
  105|   209k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|   209k|    #if !defined(Py_GIL_DISABLED)
  107|   209k|        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|   209k|    }
object.c:Py_XDECREF:
  615|    196|{
  616|    196|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    196|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 20, False: 176]
  ------------------
  617|     20|        Py_DECREF(op);
  ------------------
  |  |  430|     20|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     20|    }
  619|    196|}
object.c:Py_INCREF:
  256|  30.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|  30.3k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  30.3k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 21.0k, False: 9.29k]
  ------------------
  288|       |        // the object is immortal
  289|  21.0k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  21.0k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  21.0k|        return;
  291|  21.0k|    }
  292|  9.29k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  9.29k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  9.29k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  9.29k|#endif
  308|  9.29k|}
object.c:Py_DECREF:
  418|  29.5k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  29.5k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  29.5k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 19.4k, False: 10.1k]
  |  |  ------------------
  ------------------
  422|  19.4k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  19.4k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  19.4k|        return;
  424|  19.4k|    }
  425|  10.1k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  10.1k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  10.1k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 68, False: 10.0k]
  ------------------
  427|     68|        _Py_Dealloc(op);
  428|     68|    }
  429|  10.1k|}
object.c:_Py_NewRef:
  632|    485|{
  633|    485|    Py_INCREF(obj);
  ------------------
  |  |  310|    485|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    485|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    485|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    485|    return obj;
  635|    485|}
object.c:_Py_IsImmortal:
  127|  50.3k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  50.3k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  50.3k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  50.3k|}
object.c:_Py_IsStaticImmortal:
  141|  2.75k|{
  142|  2.75k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  2.75k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  2.75k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  2.75k|}
object.c:Py_SET_REFCNT:
  154|    334|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|    334|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 334, 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|    334|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|    334|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    334|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    334|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 334]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|    334|#ifndef Py_GIL_DISABLED
  170|    334|#if SIZEOF_VOID_P > 4
  171|    334|    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|    334|#endif  // Py_LIMITED_API
  199|    334|}
rangeobject.c:Py_DECREF:
  418|    443|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    443|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    443|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    443|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    443|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 434, False: 9]
  |  |  ------------------
  ------------------
  422|    434|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    434|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    434|        return;
  424|    434|    }
  425|      9|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      9|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      9|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 5, False: 4]
  ------------------
  427|      5|        _Py_Dealloc(op);
  428|      5|    }
  429|      9|}
rangeobject.c:_Py_IsImmortal:
  127|    443|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    443|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    443|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    443|}
rangeobject.c:_Py_NewRef:
  632|     15|{
  633|     15|    Py_INCREF(obj);
  ------------------
  |  |  310|     15|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     15|    return obj;
  635|     15|}
rangeobject.c:Py_INCREF:
  256|     15|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     15|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     15|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 11, False: 4]
  ------------------
  288|       |        // the object is immortal
  289|     11|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     11|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     11|        return;
  291|     11|    }
  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|}
rangeobject.c:Py_XDECREF:
  615|      6|{
  616|      6|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      6|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 6, False: 0]
  ------------------
  617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      6|    }
  619|      6|}
sentinelobject.c:Py_DECREF:
  418|     10|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     10|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     10|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 6, False: 4]
  |  |  ------------------
  ------------------
  422|      6|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      6|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      6|        return;
  424|      6|    }
  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|}
sentinelobject.c:_Py_IsImmortal:
  127|     10|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     10|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     10|}
sentinelobject.c:Py_XDECREF:
  615|      1|{
  616|      1|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      1|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 1]
  ------------------
  617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|      1|}
sentinelobject.c:_Py_NewRef:
  632|     20|{
  633|     20|    Py_INCREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     20|    return obj;
  635|     20|}
sentinelobject.c:Py_INCREF:
  256|     20|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     20|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     20|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 14, False: 6]
  ------------------
  288|       |        // the object is immortal
  289|     14|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     14|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     14|        return;
  291|     14|    }
  292|      6|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      6|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      6|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      6|#endif
  308|      6|}
sentinelobject.c:_Py_XNewRef:
  638|      7|{
  639|      7|    Py_XINCREF(obj);
  ------------------
  |  |  611|      7|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|      7|    return obj;
  641|      7|}
sentinelobject.c:Py_XINCREF:
  605|      7|{
  606|      7|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      7|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 0, False: 7]
  ------------------
  607|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|      0|    }
  609|      7|}
setobject.c:Py_DECREF:
  418|  2.10k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.10k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.10k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 305, False: 1.80k]
  |  |  ------------------
  ------------------
  422|    305|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    305|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    305|        return;
  424|    305|    }
  425|  1.80k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.80k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.80k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 106, False: 1.69k]
  ------------------
  427|    106|        _Py_Dealloc(op);
  428|    106|    }
  429|  1.80k|}
setobject.c:_Py_IsImmortal:
  127|  2.10k|{
  128|       |#if defined(Py_GIL_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.10k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.10k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.10k|}
setobject.c:Py_INCREF:
  256|  2.87k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.87k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.87k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 686, False: 2.18k]
  ------------------
  288|       |        // the object is immortal
  289|    686|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    686|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    686|        return;
  291|    686|    }
  292|  2.18k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  2.18k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.18k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  2.18k|#endif
  308|  2.18k|}
setobject.c:Py_XDECREF:
  615|     84|{
  616|     84|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     84|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 2, False: 82]
  ------------------
  617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      2|    }
  619|     84|}
setobject.c:_Py_REFCNT:
  105|    448|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    448|    #if !defined(Py_GIL_DISABLED)
  107|    448|        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|    448|    }
setobject.c:_Py_NewRef:
  632|  2.86k|{
  633|  2.86k|    Py_INCREF(obj);
  ------------------
  |  |  310|  2.86k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  2.86k|    return obj;
  635|  2.86k|}
sliceobject.c:Py_DECREF:
  418|    206|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    206|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    206|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    206|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    206|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 206, False: 0]
  |  |  ------------------
  ------------------
  422|    206|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    206|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    206|        return;
  424|    206|    }
  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|}
sliceobject.c:_Py_IsImmortal:
  127|    206|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    206|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    206|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    206|}
sliceobject.c:_Py_NewRef:
  632|    515|{
  633|    515|    Py_INCREF(obj);
  ------------------
  |  |  310|    515|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    515|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    515|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    515|    return obj;
  635|    515|}
sliceobject.c:Py_INCREF:
  256|    515|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    515|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    515|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 515, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|    515|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    515|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    515|        return;
  291|    515|    }
  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|}
structseq.c:_Py_IsImmortal:
  127|  2.54k|{
  128|       |#if defined(Py_GIL_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.54k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.54k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.54k|}
structseq.c:Py_XDECREF:
  615|  2.28k|{
  616|  2.28k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.28k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 2.28k, False: 0]
  ------------------
  617|  2.28k|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  2.28k|    }
  619|  2.28k|}
structseq.c:Py_DECREF:
  418|  2.54k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.54k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.54k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 733, False: 1.80k]
  |  |  ------------------
  ------------------
  422|    733|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    733|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    733|        return;
  424|    733|    }
  425|  1.80k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.80k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.80k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.56k, False: 247]
  ------------------
  427|  1.56k|        _Py_Dealloc(op);
  428|  1.56k|    }
  429|  1.80k|}
tupleobject.c:_Py_REFCNT:
  105|     34|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|     34|    #if !defined(Py_GIL_DISABLED)
  107|     34|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|     34|    }
tupleobject.c:Py_XDECREF:
  615|  26.8k|{
  616|  26.8k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  26.8k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 26.8k, False: 72]
  ------------------
  617|  26.8k|        Py_DECREF(op);
  ------------------
  |  |  430|  26.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  26.8k|    }
  619|  26.8k|}
tupleobject.c:_Py_NewRef:
  632|  11.6k|{
  633|  11.6k|    Py_INCREF(obj);
  ------------------
  |  |  310|  11.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  11.6k|    return obj;
  635|  11.6k|}
tupleobject.c:Py_INCREF:
  256|  11.7k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  11.7k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  11.7k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 5.01k, False: 6.71k]
  ------------------
  288|       |        // the object is immortal
  289|  5.01k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  5.01k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  5.01k|        return;
  291|  5.01k|    }
  292|  6.71k|    op->ob_refcnt = cur_refcnt + 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.71k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  6.71k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.71k|#endif
  308|  6.71k|}
tupleobject.c:Py_DECREF:
  418|  26.8k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  26.8k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  26.8k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 14.9k, False: 11.9k]
  |  |  ------------------
  ------------------
  422|  14.9k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  14.9k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  14.9k|        return;
  424|  14.9k|    }
  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.90k, False: 9.99k]
  ------------------
  427|  1.90k|        _Py_Dealloc(op);
  428|  1.90k|    }
  429|  11.9k|}
tupleobject.c:_Py_IsImmortal:
  127|  26.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|  26.8k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  26.8k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  26.8k|}
typeobject.c:_Py_NewRef:
  632|  13.1k|{
  633|  13.1k|    Py_INCREF(obj);
  ------------------
  |  |  310|  13.1k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  13.1k|    return obj;
  635|  13.1k|}
typeobject.c:_Py_XNewRef:
  638|  1.15k|{
  639|  1.15k|    Py_XINCREF(obj);
  ------------------
  |  |  611|  1.15k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  1.15k|    return obj;
  641|  1.15k|}
typeobject.c:Py_XINCREF:
  605|  1.53k|{
  606|  1.53k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.53k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 586, False: 946]
  ------------------
  607|    586|        Py_INCREF(op);
  ------------------
  |  |  310|    586|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    586|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    586|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|    586|    }
  609|  1.53k|}
typeobject.c:Py_INCREF:
  256|  25.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|  25.1k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  25.1k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 11.8k, False: 13.2k]
  ------------------
  288|       |        // the object is immortal
  289|  11.8k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  11.8k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  11.8k|        return;
  291|  11.8k|    }
  292|  13.2k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  13.2k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  13.2k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  13.2k|#endif
  308|  13.2k|}
typeobject.c:Py_DECREF:
  418|  23.4k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  23.4k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  23.4k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.73k, False: 21.7k]
  |  |  ------------------
  ------------------
  422|  1.73k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.73k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.73k|        return;
  424|  1.73k|    }
  425|  21.7k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  21.7k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  21.7k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.77k, False: 19.9k]
  ------------------
  427|  1.77k|        _Py_Dealloc(op);
  428|  1.77k|    }
  429|  21.7k|}
typeobject.c:_Py_IsImmortal:
  127|  38.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|  38.8k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  38.8k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  38.8k|}
typeobject.c:_Py_REFCNT:
  105|  1.76k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.76k|    #if !defined(Py_GIL_DISABLED)
  107|  1.76k|        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.76k|    }
typeobject.c:_Py_IsStaticImmortal:
  141|  10.9k|{
  142|  10.9k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  10.9k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  10.9k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  10.9k|}
typeobject.c:Py_XDECREF:
  615|  6.25k|{
  616|  6.25k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  6.25k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 1.55k, False: 4.70k]
  ------------------
  617|  1.55k|        Py_DECREF(op);
  ------------------
  |  |  430|  1.55k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  1.55k|    }
  619|  6.25k|}
unicode_writer.c:_Py_REFCNT:
  105|   209k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|   209k|    #if !defined(Py_GIL_DISABLED)
  107|   209k|        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|   209k|    }
unicode_writer.c:_Py_IsImmortal:
  127|   374k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   374k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   374k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   374k|}
unicode_writer.c:_Py_NewRef:
  632|     20|{
  633|     20|    Py_INCREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     20|    return obj;
  635|     20|}
unicode_writer.c:Py_INCREF:
  256|     20|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     20|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     20|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 3, False: 17]
  ------------------
  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|     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|}
unicode_writer.c:Py_DECREF:
  418|   164k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   164k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   164k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   164k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   164k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 7, False: 164k]
  |  |  ------------------
  ------------------
  422|      7|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      7|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      7|        return;
  424|      7|    }
  425|   164k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   164k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   164k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 164k, False: 17]
  ------------------
  427|   164k|        _Py_Dealloc(op);
  428|   164k|    }
  429|   164k|}
unicode_writer.c:Py_XDECREF:
  615|   209k|{
  616|   209k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   209k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 279, False: 209k]
  ------------------
  617|    279|        Py_DECREF(op);
  ------------------
  |  |  430|    279|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    279|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    279|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    279|    }
  619|   209k|}
unicodeobject.c:Py_DECREF:
  418|  41.1k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  41.1k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  41.1k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 848, False: 40.2k]
  |  |  ------------------
  ------------------
  422|    848|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    848|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    848|        return;
  424|    848|    }
  425|  40.2k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  40.2k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  40.2k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 11.4k, False: 28.8k]
  ------------------
  427|  11.4k|        _Py_Dealloc(op);
  428|  11.4k|    }
  429|  40.2k|}
unicodeobject.c:_Py_IsImmortal:
  127|   319k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   319k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   319k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   319k|}
unicodeobject.c:_Py_REFCNT:
  105|    957|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    957|    #if !defined(Py_GIL_DISABLED)
  107|    957|        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|    957|    }
unicodeobject.c:_Py_NewRef:
  632|  8.22k|{
  633|  8.22k|    Py_INCREF(obj);
  ------------------
  |  |  310|  8.22k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  8.22k|    return obj;
  635|  8.22k|}
unicodeobject.c:Py_XDECREF:
  615|   419k|{
  616|   419k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   419k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 729, False: 418k]
  ------------------
  617|    729|        Py_DECREF(op);
  ------------------
  |  |  430|    729|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    729|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    729|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    729|    }
  619|   419k|}
unicodeobject.c:Py_INCREF:
  256|   249k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   249k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   249k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 248k, False: 811]
  ------------------
  288|       |        // the object is immortal
  289|   248k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   248k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   248k|        return;
  291|   248k|    }
  292|    811|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    811|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    811|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    811|#endif
  308|    811|}
unicodeobject.c:Py_SET_REFCNT:
  154|     40|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|     40|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 40, 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|     40|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|     40|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 40]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|     40|#ifndef Py_GIL_DISABLED
  170|     40|#if SIZEOF_VOID_P > 4
  171|     40|    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|     40|#endif  // Py_LIMITED_API
  199|     40|}
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:
  615|     49|{
  616|     49|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     49|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 2, False: 47]
  ------------------
  617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      2|    }
  619|     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|    983|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    983|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    983|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 174, False: 809]
  ------------------
  288|       |        // the object is immortal
  289|    174|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    174|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    174|        return;
  291|    174|    }
  292|    809|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    809|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    809|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    809|#endif
  308|    809|}
weakrefobject.c:_Py_XNewRef:
  638|  1.30k|{
  639|  1.30k|    Py_XINCREF(obj);
  ------------------
  |  |  611|  1.30k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  1.30k|    return obj;
  641|  1.30k|}
weakrefobject.c:Py_XINCREF:
  605|  1.30k|{
  606|  1.30k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.30k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 315, False: 986]
  ------------------
  607|    315|        Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|    315|    }
  609|  1.30k|}
weakrefobject.c:Py_DECREF:
  418|    574|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    574|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    574|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    574|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    574|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 335, False: 239]
  |  |  ------------------
  ------------------
  422|    335|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    335|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    335|        return;
  424|    335|    }
  425|    239|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    239|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    239|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 215, False: 24]
  ------------------
  427|    215|        _Py_Dealloc(op);
  428|    215|    }
  429|    239|}
weakrefobject.c:_Py_IsImmortal:
  127|    574|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    574|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    574|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    574|}
weakrefobject.c:_Py_REFCNT:
  105|  1.45k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.45k|    #if !defined(Py_GIL_DISABLED)
  107|  1.45k|        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.45k|    }
weakrefobject.c:Py_XDECREF:
  615|    437|{
  616|    437|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    437|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 22, False: 415]
  ------------------
  617|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     22|    }
  619|    437|}
_warnings.c:_Py_NewRef:
  632|    108|{
  633|    108|    Py_INCREF(obj);
  ------------------
  |  |  310|    108|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    108|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    108|    return obj;
  635|    108|}
_warnings.c:Py_INCREF:
  256|    410|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    410|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    410|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 108, False: 302]
  ------------------
  288|       |        // the object is immortal
  289|    108|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    108|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    108|        return;
  291|    108|    }
  292|    302|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    302|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    302|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    302|#endif
  308|    302|}
_warnings.c:Py_DECREF:
  418|  1.05k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.05k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.05k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 210, False: 848]
  |  |  ------------------
  ------------------
  422|    210|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    210|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    210|        return;
  424|    210|    }
  425|    848|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    848|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    848|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 150, False: 698]
  ------------------
  427|    150|        _Py_Dealloc(op);
  428|    150|    }
  429|    848|}
_warnings.c:_Py_IsImmortal:
  127|  1.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|  1.05k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.05k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.05k|}
_warnings.c:_Py_XNewRef:
  638|      2|{
  639|      2|    Py_XINCREF(obj);
  ------------------
  |  |  611|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|      2|    return obj;
  641|      2|}
_warnings.c:Py_XINCREF:
  605|      2|{
  606|      2|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      2|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 2, False: 0]
  ------------------
  607|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|      2|    }
  609|      2|}
_warnings.c:Py_XDECREF:
  615|    400|{
  616|    400|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    400|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 300, False: 100]
  ------------------
  617|    300|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    300|    }
  619|    400|}
bltinmodule.c:_Py_NewRef:
  632|    350|{
  633|    350|    Py_INCREF(obj);
  ------------------
  |  |  310|    350|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    350|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    350|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    350|    return obj;
  635|    350|}
bltinmodule.c:Py_INCREF:
  256|    764|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    764|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    764|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 402, False: 362]
  ------------------
  288|       |        // the object is immortal
  289|    402|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    402|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    402|        return;
  291|    402|    }
  292|    362|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    362|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    362|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    362|#endif
  308|    362|}
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_DECREF:
  418|  2.04k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.04k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.04k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 691, False: 1.35k]
  |  |  ------------------
  ------------------
  422|    691|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    691|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    691|        return;
  424|    691|    }
  425|  1.35k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.35k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.35k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 584, False: 768]
  ------------------
  427|    584|        _Py_Dealloc(op);
  428|    584|    }
  429|  1.35k|}
bltinmodule.c:_Py_IsImmortal:
  127|  2.04k|{
  128|       |#if defined(Py_GIL_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.04k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.04k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.04k|}
bltinmodule.c:Py_XDECREF:
  615|  1.11k|{
  616|  1.11k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.11k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 834, False: 277]
  ------------------
  617|    834|        Py_DECREF(op);
  ------------------
  |  |  430|    834|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    834|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    834|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    834|    }
  619|  1.11k|}
bltinmodule.c:_Py_XNewRef:
  638|     20|{
  639|     20|    Py_XINCREF(obj);
  ------------------
  |  |  611|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|     20|    return obj;
  641|     20|}
bltinmodule.c:Py_XINCREF:
  605|     20|{
  606|     20|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     20|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 20, False: 0]
  ------------------
  607|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|     20|    }
  609|     20|}
ceval.c:_Py_IsImmortal:
  127|  72.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|  72.8k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  72.8k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  72.8k|}
ceval.c:_Py_NewRef:
  632|  8.25k|{
  633|  8.25k|    Py_INCREF(obj);
  ------------------
  |  |  310|  8.25k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  8.25k|    return obj;
  635|  8.25k|}
ceval.c:_Py_IsStaticImmortal:
  141|  95.5k|{
  142|  95.5k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  95.5k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  95.5k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  95.5k|}
ceval.c:_Py_REFCNT:
  105|    198|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    198|    #if !defined(Py_GIL_DISABLED)
  107|    198|        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|    198|    }
ceval.c:Py_INCREF:
  256|  11.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|  11.3k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  11.3k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 6.38k, False: 4.94k]
  ------------------
  288|       |        // the object is immortal
  289|  6.38k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  6.38k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  6.38k|        return;
  291|  6.38k|    }
  292|  4.94k|    op->ob_refcnt = cur_refcnt + 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.94k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  4.94k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.94k|#endif
  308|  4.94k|}
ceval.c:Py_XDECREF:
  615|    291|{
  616|    291|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    291|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 32, False: 259]
  ------------------
  617|     32|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     32|    }
  619|    291|}
ceval.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: 2, False: 30]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|     30|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     30|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     30|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 7, False: 23]
  ------------------
  427|      7|        _Py_Dealloc(op);
  428|      7|    }
  429|     30|}
ceval.c:Py_XINCREF:
  605|  3.11k|{
  606|  3.11k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  3.11k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 1.38k, False: 1.72k]
  ------------------
  607|  1.38k|        Py_INCREF(op);
  ------------------
  |  |  310|  1.38k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  1.38k|    }
  609|  3.11k|}
ceval.c:_Py_XNewRef:
  638|  1.08k|{
  639|  1.08k|    Py_XINCREF(obj);
  ------------------
  |  |  611|  1.08k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  1.08k|    return obj;
  641|  1.08k|}
codecs.c:Py_DECREF:
  418|     44|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     44|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     44|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 18, False: 26]
  |  |  ------------------
  ------------------
  422|     18|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     18|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     18|        return;
  424|     18|    }
  425|     26|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     26|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     26|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 26]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     26|}
codecs.c:_Py_IsImmortal:
  127|     44|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     44|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     44|}
codegen.c:Py_DECREF:
  418|     15|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     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: 13, False: 2]
  |  |  ------------------
  ------------------
  422|     13|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     13|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     13|        return;
  424|     13|    }
  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|}
codegen.c:_Py_IsImmortal:
  127|     15|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     15|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     15|}
compile.c:_Py_NewRef:
  632|     40|{
  633|     40|    Py_INCREF(obj);
  ------------------
  |  |  310|     40|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     40|    return obj;
  635|     40|}
compile.c:Py_DECREF:
  418|    172|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    172|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    172|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    172|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    172|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 48, False: 124]
  |  |  ------------------
  ------------------
  422|     48|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     48|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     48|        return;
  424|     48|    }
  425|    124|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    124|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    124|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 50, False: 74]
  ------------------
  427|     50|        _Py_Dealloc(op);
  428|     50|    }
  429|    124|}
compile.c:_Py_IsImmortal:
  127|    172|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    172|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    172|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    172|}
compile.c:Py_XDECREF:
  615|     16|{
  616|     16|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     16|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 12, False: 4]
  ------------------
  617|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     12|    }
  619|     16|}
compile.c:_Py_XNewRef:
  638|      6|{
  639|      6|    Py_XINCREF(obj);
  ------------------
  |  |  611|      6|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|      6|    return obj;
  641|      6|}
compile.c:Py_XINCREF:
  605|      6|{
  606|      6|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      6|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 2, False: 4]
  ------------------
  607|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|      2|    }
  609|      6|}
compile.c:Py_INCREF:
  256|     42|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     42|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     42|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 20, False: 22]
  ------------------
  288|       |        // the object is immortal
  289|     20|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     20|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     20|        return;
  291|     20|    }
  292|     22|    op->ob_refcnt = cur_refcnt + 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|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     22|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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|#endif
  308|     22|}
context.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|}
context.c:Py_DECREF:
  418|      4|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      4|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      4|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2, False: 2]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|      2|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      2|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      2|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 2]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      2|}
context.c:_Py_IsImmortal:
  127|      4|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      4|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      4|}
context.c:_Py_NewRef:
  632|      3|{
  633|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      3|    return obj;
  635|      3|}
context.c:Py_XINCREF:
  605|     53|{
  606|     53|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     53|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 0, False: 53]
  ------------------
  607|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|      0|    }
  609|     53|}
context.c:_Py_XNewRef:
  638|      3|{
  639|      3|    Py_XINCREF(obj);
  ------------------
  |  |  611|      3|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|      3|    return obj;
  641|      3|}
errors.c:Py_XDECREF:
  615|  2.79k|{
  616|  2.79k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.79k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 292, False: 2.50k]
  ------------------
  617|    292|        Py_DECREF(op);
  ------------------
  |  |  430|    292|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    292|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    292|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    292|    }
  619|  2.79k|}
errors.c:Py_DECREF:
  418|    721|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    721|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    721|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    721|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    721|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 55, False: 666]
  |  |  ------------------
  ------------------
  422|     55|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     55|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     55|        return;
  424|     55|    }
  425|    666|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    666|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    666|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 188, False: 478]
  ------------------
  427|    188|        _Py_Dealloc(op);
  428|    188|    }
  429|    666|}
errors.c:_Py_IsImmortal:
  127|    721|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    721|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    721|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    721|}
errors.c:Py_XINCREF:
  605|    454|{
  606|    454|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    454|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 454, False: 0]
  ------------------
  607|    454|        Py_INCREF(op);
  ------------------
  |  |  310|    454|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    454|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    454|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|    454|    }
  609|    454|}
errors.c:Py_INCREF:
  256|    495|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    495|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    495|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 68, False: 427]
  ------------------
  288|       |        // the object is immortal
  289|     68|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     68|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     68|        return;
  291|     68|    }
  292|    427|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    427|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    427|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    427|#endif
  308|    427|}
errors.c:_Py_NewRef:
  632|     22|{
  633|     22|    Py_INCREF(obj);
  ------------------
  |  |  310|     22|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     22|    return obj;
  635|     22|}
flowgraph.c:_Py_NewRef:
  632|      4|{
  633|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      4|    return obj;
  635|      4|}
flowgraph.c:Py_INCREF:
  256|      4|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      4|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 4]
  ------------------
  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|    op->ob_refcnt = cur_refcnt + 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|}
flowgraph.c:_Py_IsImmortal:
  127|      4|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      4|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      4|}
flowgraph.c:Py_DECREF:
  418|      4|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      4|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      4|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|      4|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      4|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      4|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 4]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      4|}
frame.c:_Py_IsStaticImmortal:
  141|  21.6k|{
  142|  21.6k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  21.6k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  21.6k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  21.6k|}
frame.c:Py_DECREF:
  418|    722|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    722|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    722|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    722|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    722|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 722]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|    722|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    722|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    722|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 294, False: 428]
  ------------------
  427|    294|        _Py_Dealloc(op);
  428|    294|    }
  429|    722|}
frame.c:_Py_IsImmortal:
  127|    965|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    965|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    965|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    965|}
frame.c:_Py_REFCNT:
  105|    423|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    423|    #if !defined(Py_GIL_DISABLED)
  107|    423|        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|    423|    }
frame.c:Py_INCREF:
  256|    141|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    141|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    141|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 141]
  ------------------
  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|    141|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    141|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    141|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    141|#endif
  308|    141|}
frame.c:_Py_NewRef:
  632|     97|{
  633|     97|    Py_INCREF(obj);
  ------------------
  |  |  310|     97|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     97|    return obj;
  635|     97|}
gc.c:Py_DECREF:
  418|     79|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     79|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     79|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 79]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     79|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     79|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     79|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 23, False: 56]
  ------------------
  427|     23|        _Py_Dealloc(op);
  428|     23|    }
  429|     79|}
gc.c:_Py_IsImmortal:
  127|  33.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|  33.0k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  33.0k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  33.0k|}
gc.c:Py_INCREF:
  256|  15.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|  15.6k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  15.6k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 15.4k, False: 187]
  ------------------
  288|       |        // the object is immortal
  289|  15.4k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  15.4k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  15.4k|        return;
  291|  15.4k|    }
  292|    187|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    187|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    187|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    187|#endif
  308|    187|}
gc.c:_Py_REFCNT:
  105|  17.5k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  17.5k|    #if !defined(Py_GIL_DISABLED)
  107|  17.5k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  17.5k|    }
gc.c:Py_XDECREF:
  615|     16|{
  616|     16|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     16|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 16]
  ------------------
  617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|     16|}
getargs.c:_Py_NewRef:
  632|    122|{
  633|    122|    Py_INCREF(obj);
  ------------------
  |  |  310|    122|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    122|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    122|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    122|    return obj;
  635|    122|}
getargs.c:Py_INCREF:
  256|    122|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    122|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    122|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 114, False: 8]
  ------------------
  288|       |        // the object is immortal
  289|    114|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    114|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    114|        return;
  291|    114|    }
  292|      8|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      8|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      8|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      8|#endif
  308|      8|}
getargs.c:Py_DECREF:
  418|    145|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    145|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    145|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    145|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 118, False: 27]
  |  |  ------------------
  ------------------
  422|    118|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    118|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    118|        return;
  424|    118|    }
  425|     27|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     27|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     27|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 27]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     27|}
getargs.c:_Py_IsImmortal:
  127|    145|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    145|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    145|}
import.c:Py_INCREF:
  256|  2.66k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.66k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.66k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 473, False: 2.19k]
  ------------------
  288|       |        // the object is immortal
  289|    473|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    473|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    473|        return;
  291|    473|    }
  292|  2.19k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  2.19k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.19k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  2.19k|#endif
  308|  2.19k|}
import.c:Py_DECREF:
  418|  5.06k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  5.06k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  5.06k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 681, False: 4.38k]
  |  |  ------------------
  ------------------
  422|    681|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    681|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    681|        return;
  424|    681|    }
  425|  4.38k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  4.38k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  4.38k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 262, False: 4.12k]
  ------------------
  427|    262|        _Py_Dealloc(op);
  428|    262|    }
  429|  4.38k|}
import.c:_Py_IsImmortal:
  127|  5.06k|{
  128|       |#if defined(Py_GIL_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.06k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  5.06k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  5.06k|}
import.c:Py_XDECREF:
  615|  2.26k|{
  616|  2.26k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.26k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 1.60k, False: 662]
  ------------------
  617|  1.60k|        Py_DECREF(op);
  ------------------
  |  |  430|  1.60k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  1.60k|    }
  619|  2.26k|}
import.c:_Py_REFCNT:
  105|      2|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      2|    #if !defined(Py_GIL_DISABLED)
  107|      2|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|      2|    }
import.c:Py_XINCREF:
  605|     22|{
  606|     22|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     22|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 4, False: 18]
  ------------------
  607|      4|        Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|      4|    }
  609|     22|}
import.c:_Py_NewRef:
  632|  1.11k|{
  633|  1.11k|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.11k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  1.11k|    return obj;
  635|  1.11k|}
import.c:_Py_XNewRef:
  638|     22|{
  639|     22|    Py_XINCREF(obj);
  ------------------
  |  |  611|     22|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|     22|    return obj;
  641|     22|}
importdl.c:Py_DECREF:
  418|    138|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    138|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    138|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    138|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    138|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 62, False: 76]
  |  |  ------------------
  ------------------
  422|     62|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     62|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     62|        return;
  424|     62|    }
  425|     76|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     76|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     76|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 35, False: 41]
  ------------------
  427|     35|        _Py_Dealloc(op);
  428|     35|    }
  429|     76|}
importdl.c:_Py_IsImmortal:
  127|    138|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    138|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    138|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    138|}
importdl.c:_Py_NewRef:
  632|      2|{
  633|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      2|    return obj;
  635|      2|}
importdl.c:Py_INCREF:
  256|     36|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     36|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 31, False: 5]
  ------------------
  288|       |        // the object is immortal
  289|     31|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     31|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     31|        return;
  291|     31|    }
  292|      5|    op->ob_refcnt = cur_refcnt + 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|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      5|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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|#endif
  308|      5|}
initconfig.c:Py_DECREF:
  418|    288|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    288|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    288|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    288|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    288|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 234, False: 54]
  |  |  ------------------
  ------------------
  422|    234|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    234|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    234|        return;
  424|    234|    }
  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|    288|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    288|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    288|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    288|}
initconfig.c:_Py_NewRef:
  632|     32|{
  633|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     32|    return obj;
  635|     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:
  615|      8|{
  616|      8|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      8|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 8]
  ------------------
  617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|      8|}
intrinsics.c:Py_DECREF:
  418|  3.60k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.60k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.60k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.96k, False: 1.64k]
  |  |  ------------------
  ------------------
  422|  1.96k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.96k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.96k|        return;
  424|  1.96k|    }
  425|  1.64k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.64k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.64k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 12, False: 1.63k]
  ------------------
  427|     12|        _Py_Dealloc(op);
  428|     12|    }
  429|  1.64k|}
intrinsics.c:_Py_IsImmortal:
  127|  3.60k|{
  128|       |#if defined(Py_GIL_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.60k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.60k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.60k|}
intrinsics.c:Py_XDECREF:
  615|  1.73k|{
  616|  1.73k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.73k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 1.73k, False: 0]
  ------------------
  617|  1.73k|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  1.73k|    }
  619|  1.73k|}
intrinsics.c:_Py_REFCNT:
  105|     67|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|     67|    #if !defined(Py_GIL_DISABLED)
  107|     67|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|     67|    }
marshal.c:Py_DECREF:
  418|  25.2k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  25.2k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  25.2k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 11.3k, False: 13.8k]
  |  |  ------------------
  ------------------
  422|  11.3k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  11.3k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  11.3k|        return;
  424|  11.3k|    }
  425|  13.8k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  13.8k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  13.8k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2.46k, False: 11.3k]
  ------------------
  427|  2.46k|        _Py_Dealloc(op);
  428|  2.46k|    }
  429|  13.8k|}
marshal.c:_Py_IsImmortal:
  127|  25.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|  25.2k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  25.2k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  25.2k|}
marshal.c:_Py_NewRef:
  632|  26.5k|{
  633|  26.5k|    Py_INCREF(obj);
  ------------------
  |  |  310|  26.5k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  26.5k|    return obj;
  635|  26.5k|}
marshal.c:Py_INCREF:
  256|  26.5k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  26.5k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  26.5k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 23.4k, False: 3.13k]
  ------------------
  288|       |        // the object is immortal
  289|  23.4k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  23.4k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  23.4k|        return;
  291|  23.4k|    }
  292|  3.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|  3.13k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  3.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|  3.13k|#endif
  308|  3.13k|}
marshal.c:Py_XDECREF:
  615|  24.4k|{
  616|  24.4k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  24.4k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 24.4k, False: 0]
  ------------------
  617|  24.4k|        Py_DECREF(op);
  ------------------
  |  |  430|  24.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  24.4k|    }
  619|  24.4k|}
modsupport.c:Py_INCREF:
  256|  1.79k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.79k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.79k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 881, False: 914]
  ------------------
  288|       |        // the object is immortal
  289|    881|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    881|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    881|        return;
  291|    881|    }
  292|    914|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    914|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    914|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    914|#endif
  308|    914|}
modsupport.c:Py_XDECREF:
  615|    524|{
  616|    524|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    524|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 524, False: 0]
  ------------------
  617|    524|        Py_DECREF(op);
  ------------------
  |  |  430|    524|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    524|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    524|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    524|    }
  619|    524|}
modsupport.c:Py_DECREF:
  418|  1.52k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.52k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.52k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.07k, False: 457]
  |  |  ------------------
  ------------------
  422|  1.07k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.07k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.07k|        return;
  424|  1.07k|    }
  425|    457|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    457|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    457|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 457]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|    457|}
modsupport.c:_Py_IsImmortal:
  127|  1.52k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  1.52k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.52k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.52k|}
pyarena.c:Py_DECREF:
  418|  1.50M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.50M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.50M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.50M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 889k, False: 616k]
  |  |  ------------------
  ------------------
  422|   889k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   889k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   889k|        return;
  424|   889k|    }
  425|   616k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   616k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   616k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 35, False: 616k]
  ------------------
  427|     35|        _Py_Dealloc(op);
  428|     35|    }
  429|   616k|}
pyarena.c:_Py_IsImmortal:
  127|  1.50M|{
  128|       |#if defined(Py_GIL_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.50M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.50M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.50M|}
pylifecycle.c:_Py_NewRef:
  632|      2|{
  633|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      2|    return obj;
  635|      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:
  615|     12|{
  616|     12|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     12|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 12, False: 0]
  ------------------
  617|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     12|    }
  619|     12|}
pythonrun.c:Py_DECREF:
  418|      6|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      6|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      6|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 6]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|      6|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      6|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      6|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2, False: 4]
  ------------------
  427|      2|        _Py_Dealloc(op);
  428|      2|    }
  429|      6|}
pythonrun.c:_Py_IsImmortal:
  127|      6|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      6|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      6|}
pythonrun.c:Py_XDECREF:
  615|     30|{
  616|     30|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     30|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 4, False: 26]
  ------------------
  617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      4|    }
  619|     30|}
specialize.c:Py_XDECREF:
  615|  1.01k|{
  616|  1.01k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.01k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 496, False: 521]
  ------------------
  617|    496|        Py_DECREF(op);
  ------------------
  |  |  430|    496|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    496|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    496|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    496|    }
  619|  1.01k|}
specialize.c:Py_DECREF:
  418|    515|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    515|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    515|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    515|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    515|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 13, False: 502]
  |  |  ------------------
  ------------------
  422|     13|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     13|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     13|        return;
  424|     13|    }
  425|    502|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    502|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    502|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 502]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|    502|}
specialize.c:_Py_IsImmortal:
  127|    515|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    515|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    515|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    515|}
structmember.c:Py_INCREF:
  256|    250|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    250|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    250|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 73, False: 177]
  ------------------
  288|       |        // the object is immortal
  289|     73|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     73|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     73|        return;
  291|     73|    }
  292|    177|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    177|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    177|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    177|#endif
  308|    177|}
structmember.c:Py_XINCREF:
  605|    130|{
  606|    130|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    130|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 130, False: 0]
  ------------------
  607|    130|        Py_INCREF(op);
  ------------------
  |  |  310|    130|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|    130|    }
  609|    130|}
structmember.c:_Py_XNewRef:
  638|    112|{
  639|    112|    Py_XINCREF(obj);
  ------------------
  |  |  611|    112|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|    112|    return obj;
  641|    112|}
structmember.c:Py_XDECREF:
  615|    112|{
  616|    112|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    112|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 112]
  ------------------
  617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|    112|}
symtable.c:_Py_NewRef:
  632|     78|{
  633|     78|    Py_INCREF(obj);
  ------------------
  |  |  310|     78|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     78|    return obj;
  635|     78|}
symtable.c:Py_INCREF:
  256|     78|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     78|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     78|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 78, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|     78|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     78|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     78|        return;
  291|     78|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
symtable.c:Py_XDECREF:
  615|     66|{
  616|     66|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     66|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 50, False: 16]
  ------------------
  617|     50|        Py_DECREF(op);
  ------------------
  |  |  430|     50|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     50|    }
  619|     66|}
symtable.c:Py_DECREF:
  418|    196|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    196|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    196|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    196|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    196|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 82, False: 114]
  |  |  ------------------
  ------------------
  422|     82|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     82|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     82|        return;
  424|     82|    }
  425|    114|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    114|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    114|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 70, False: 44]
  ------------------
  427|     70|        _Py_Dealloc(op);
  428|     70|    }
  429|    114|}
symtable.c:_Py_IsImmortal:
  127|    196|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    196|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    196|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    196|}
sysmodule.c:Py_XDECREF:
  615|    175|{
  616|    175|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    175|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 87, False: 88]
  ------------------
  617|     87|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     87|    }
  619|    175|}
sysmodule.c:Py_DECREF:
  418|    289|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    289|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    289|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    289|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    289|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 102, False: 187]
  |  |  ------------------
  ------------------
  422|    102|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    102|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    102|        return;
  424|    102|    }
  425|    187|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    187|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    187|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 89, False: 98]
  ------------------
  427|     89|        _Py_Dealloc(op);
  428|     89|    }
  429|    187|}
sysmodule.c:_Py_IsImmortal:
  127|    289|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    289|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    289|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    289|}
sysmodule.c:_Py_XNewRef:
  638|      2|{
  639|      2|    Py_XINCREF(obj);
  ------------------
  |  |  611|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|      2|    return obj;
  641|      2|}
sysmodule.c:Py_XINCREF:
  605|      2|{
  606|      2|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      2|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 2, False: 0]
  ------------------
  607|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|      2|    }
  609|      2|}
sysmodule.c:Py_INCREF:
  256|    118|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    118|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    118|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 96, False: 22]
  ------------------
  288|       |        // the object is immortal
  289|     96|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     96|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     96|        return;
  291|     96|    }
  292|     22|    op->ob_refcnt = cur_refcnt + 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|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     22|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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|#endif
  308|     22|}
sysmodule.c:_Py_NewRef:
  632|     96|{
  633|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     96|    return obj;
  635|     96|}
traceback.c:_Py_NewRef:
  632|    431|{
  633|    431|    Py_INCREF(obj);
  ------------------
  |  |  310|    431|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    431|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    431|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    431|    return obj;
  635|    431|}
traceback.c:Py_INCREF:
  256|    509|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    509|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    509|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 509]
  ------------------
  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|    509|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    509|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    509|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    509|#endif
  308|    509|}
traceback.c:Py_XINCREF:
  605|    431|{
  606|    431|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    431|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 78, False: 353]
  ------------------
  607|     78|        Py_INCREF(op);
  ------------------
  |  |  310|     78|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|     78|    }
  609|    431|}
traceback.c:_Py_XNewRef:
  638|    431|{
  639|    431|    Py_XINCREF(obj);
  ------------------
  |  |  611|    431|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    431|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    431|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|    431|    return obj;
  641|    431|}
traceback.c:Py_XDECREF:
  615|  1.72k|{
  616|  1.72k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.72k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 1.01k, False: 706]
  ------------------
  617|  1.01k|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  1.01k|    }
  619|  1.72k|}
traceback.c:Py_DECREF:
  418|  1.01k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.01k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.01k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 1.01k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  1.01k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.01k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.01k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 207, False: 811]
  ------------------
  427|    207|        _Py_Dealloc(op);
  428|    207|    }
  429|  1.01k|}
traceback.c:_Py_IsImmortal:
  127|  1.01k|{
  128|       |#if defined(Py_GIL_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.01k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.01k|}
typecache.c:Py_INCREF:
  256|  7.80k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  7.80k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  7.80k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 5.29k, False: 2.51k]
  ------------------
  288|       |        // the object is immortal
  289|  5.29k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  5.29k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  5.29k|        return;
  291|  5.29k|    }
  292|  2.51k|    op->ob_refcnt = cur_refcnt + 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.51k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.51k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.51k|#endif
  308|  2.51k|}
typecache.c:_Py_IsImmortal:
  127|  13.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|  13.9k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  13.9k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  13.9k|}
typecache.c:_Py_IsStaticImmortal:
  141|  9.50k|{
  142|  9.50k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  9.50k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  9.50k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  9.50k|}
typecache.c:Py_DECREF:
  418|  4.37k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  4.37k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  4.37k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.64k, False: 1.72k]
  |  |  ------------------
  ------------------
  422|  2.64k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.64k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.64k|        return;
  424|  2.64k|    }
  425|  1.72k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.72k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.72k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 1.72k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  1.72k|}
fileutils.c:Py_DECREF:
  418|     20|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     20|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     20|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 20]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     20|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     20|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     20|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 20, False: 0]
  ------------------
  427|     20|        _Py_Dealloc(op);
  428|     20|    }
  429|     20|}
fileutils.c:_Py_IsImmortal:
  127|     20|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     20|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     20|}
posixmodule.c:Py_DECREF:
  418|  1.71k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.71k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.71k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 338, False: 1.37k]
  |  |  ------------------
  ------------------
  422|    338|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    338|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    338|        return;
  424|    338|    }
  425|  1.37k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.37k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.37k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 163, False: 1.21k]
  ------------------
  427|    163|        _Py_Dealloc(op);
  428|    163|    }
  429|  1.37k|}
posixmodule.c:_Py_IsImmortal:
  127|  1.71k|{
  128|       |#if defined(Py_GIL_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.71k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.71k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.71k|}
posixmodule.c:_Py_NewRef:
  632|    232|{
  633|    232|    Py_INCREF(obj);
  ------------------
  |  |  310|    232|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    232|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    232|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    232|    return obj;
  635|    232|}
posixmodule.c:Py_INCREF:
  256|    405|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    405|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    405|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 12, False: 393]
  ------------------
  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|    393|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    393|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    393|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    393|#endif
  308|    393|}
_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:
  632|      4|{
  633|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      4|    return obj;
  635|      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:
  638|      4|{
  639|      4|    Py_XINCREF(obj);
  ------------------
  |  |  611|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|      4|    return obj;
  641|      4|}
_datetimemodule.c:Py_XINCREF:
  605|      4|{
  606|      4|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      4|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 0, False: 4]
  ------------------
  607|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|      0|    }
  609|      4|}
_collectionsmodule.c:_Py_NewRef:
  632|      9|{
  633|      9|    Py_INCREF(obj);
  ------------------
  |  |  310|      9|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      9|    return obj;
  635|      9|}
_collectionsmodule.c:Py_INCREF:
  256|      9|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      9|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 9]
  ------------------
  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|      9|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      9|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      9|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      9|#endif
  308|      9|}
_collectionsmodule.c:Py_DECREF:
  418|      9|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      9|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      9|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 9, False: 0]
  |  |  ------------------
  ------------------
  422|      9|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      9|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      9|        return;
  424|      9|    }
  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|      9|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      9|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      9|}
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|    202|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    202|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    202|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    202|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    202|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 72, False: 130]
  |  |  ------------------
  ------------------
  422|     72|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     72|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     72|        return;
  424|     72|    }
  425|    130|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    130|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    130|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 66, False: 64]
  ------------------
  427|     66|        _Py_Dealloc(op);
  428|     66|    }
  429|    130|}
_iomodule.c:_Py_IsImmortal:
  127|    202|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    202|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    202|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    202|}
_iomodule.c:_Py_NewRef:
  632|      6|{
  633|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      6|    return obj;
  635|      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|     54|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|     54|    #if !defined(Py_GIL_DISABLED)
  107|     54|        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|     54|    }
iobase.c:Py_DECREF:
  418|    141|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    141|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    141|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    141|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    141|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 114, False: 27]
  |  |  ------------------
  ------------------
  422|    114|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    114|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    114|        return;
  424|    114|    }
  425|     27|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     27|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     27|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 27, False: 0]
  ------------------
  427|     27|        _Py_Dealloc(op);
  428|     27|    }
  429|     27|}
iobase.c:_Py_IsImmortal:
  127|    141|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    141|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    141|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    141|}
iobase.c:Py_INCREF:
  256|     27|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     27|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     27|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 27]
  ------------------
  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|     27|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     27|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     27|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     27|#endif
  308|     27|}
iobase.c:_Py_NewRef:
  632|     27|{
  633|     27|    Py_INCREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     27|    return obj;
  635|     27|}
iobase.c:Py_XDECREF:
  615|     27|{
  616|     27|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     27|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 27, False: 0]
  ------------------
  617|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     27|    }
  619|     27|}
fileio.c:_Py_REFCNT:
  105|     27|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|     27|    #if !defined(Py_GIL_DISABLED)
  107|     27|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|     27|    }
fileio.c:Py_DECREF:
  418|     81|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     81|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     81|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 81]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     81|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     81|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     81|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 54, False: 27]
  ------------------
  427|     54|        _Py_Dealloc(op);
  428|     54|    }
  429|     81|}
fileio.c:_Py_IsImmortal:
  127|     81|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     81|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     81|}
bufferedio.c:Py_DECREF:
  418|    328|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    328|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    328|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    328|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    328|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 133, False: 195]
  |  |  ------------------
  ------------------
  422|    133|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    133|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    133|        return;
  424|    133|    }
  425|    195|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    195|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    195|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 108, False: 87]
  ------------------
  427|    108|        _Py_Dealloc(op);
  428|    108|    }
  429|    195|}
bufferedio.c:_Py_IsImmortal:
  127|    328|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    328|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    328|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    328|}
bufferedio.c:_Py_REFCNT:
  105|     27|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|     27|    #if !defined(Py_GIL_DISABLED)
  107|     27|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|     27|    }
bufferedio.c:Py_XDECREF:
  615|    114|{
  616|    114|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    114|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 27, False: 87]
  ------------------
  617|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     27|    }
  619|    114|}
bufferedio.c:_Py_NewRef:
  632|     29|{
  633|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     29|    return obj;
  635|     29|}
bufferedio.c:Py_INCREF:
  256|     60|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     60|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     60|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 60]
  ------------------
  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|     60|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     60|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     60|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     60|#endif
  308|     60|}
bufferedio.c:Py_XINCREF:
  605|     27|{
  606|     27|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     27|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 27, False: 0]
  ------------------
  607|     27|        Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|     27|    }
  609|     27|}
textio.c:_Py_NewRef:
  632|    178|{
  633|    178|    Py_INCREF(obj);
  ------------------
  |  |  310|    178|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    178|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    178|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    178|    return obj;
  635|    178|}
textio.c:Py_INCREF:
  256|    228|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    228|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    228|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 228]
  ------------------
  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|    228|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    228|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    228|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    228|#endif
  308|    228|}
textio.c:Py_DECREF:
  418|    350|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    350|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    350|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    350|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    350|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 72, False: 278]
  |  |  ------------------
  ------------------
  422|     72|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     72|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     72|        return;
  424|     72|    }
  425|    278|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    278|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    278|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 52, False: 226]
  ------------------
  427|     52|        _Py_Dealloc(op);
  428|     52|    }
  429|    278|}
textio.c:_Py_IsImmortal:
  127|    350|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    350|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    350|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    350|}
textio.c:Py_XDECREF:
  615|     10|{
  616|     10|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     10|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 4, False: 6]
  ------------------
  617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      4|    }
  619|     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:
  632|    135|{
  633|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    135|    return obj;
  635|    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:
  615|    114|{
  616|    114|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    114|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 114, False: 0]
  ------------------
  617|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    114|    }
  619|    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|     12|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     12|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     12|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 8, False: 4]
  |  |  ------------------
  ------------------
  422|      8|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      8|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      8|        return;
  424|      8|    }
  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: 1, False: 3]
  ------------------
  427|      1|        _Py_Dealloc(op);
  428|      1|    }
  429|      4|}
sre.c:_Py_IsImmortal:
  127|     12|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     12|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     12|}
sre.c:_Py_NewRef:
  632|      6|{
  633|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      6|    return obj;
  635|      6|}
sre.c:Py_INCREF:
  256|      7|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      7|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      7|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 4, False: 3]
  ------------------
  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|      3|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      3|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      3|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      3|#endif
  308|      3|}
sre.c:Py_XDECREF:
  615|      1|{
  616|      1|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      1|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 1, False: 0]
  ------------------
  617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      1|    }
  619|      1|}
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|    162|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    162|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    162|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    162|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 162]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|    162|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    162|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    162|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 162]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|    162|}
_threadmodule.c:_Py_IsImmortal:
  127|    162|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    162|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    162|}
_abc.c:Py_INCREF:
  256|    934|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    934|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    934|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 925, False: 9]
  ------------------
  288|       |        // the object is immortal
  289|    925|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    925|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    925|        return;
  291|    925|    }
  292|      9|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      9|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      9|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      9|#endif
  308|      9|}
_abc.c:Py_DECREF:
  418|  2.97k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.97k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.97k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.97k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.00k, False: 1.97k]
  |  |  ------------------
  ------------------
  422|  1.00k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.00k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.00k|        return;
  424|  1.00k|    }
  425|  1.97k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.97k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.97k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 271, False: 1.70k]
  ------------------
  427|    271|        _Py_Dealloc(op);
  428|    271|    }
  429|  1.97k|}
_abc.c:_Py_IsImmortal:
  127|  2.97k|{
  128|       |#if defined(Py_GIL_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.97k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.97k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.97k|}
_abc.c:Py_XDECREF:
  615|    357|{
  616|    357|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    357|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 258, False: 99]
  ------------------
  617|    258|        Py_DECREF(op);
  ------------------
  |  |  430|    258|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    258|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    258|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    258|    }
  619|    357|}
_abc.c:_Py_NewRef:
  632|     77|{
  633|     77|    Py_INCREF(obj);
  ------------------
  |  |  310|     77|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     77|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     77|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     77|    return obj;
  635|     77|}
_abc.c:_Py_XNewRef:
  638|     77|{
  639|     77|    Py_XINCREF(obj);
  ------------------
  |  |  611|     77|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     77|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     77|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|     77|    return obj;
  641|     77|}
_abc.c:Py_XINCREF:
  605|     77|{
  606|     77|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     77|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 77, False: 0]
  ------------------
  607|     77|        Py_INCREF(op);
  ------------------
  |  |  310|     77|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     77|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     77|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|     77|    }
  609|     77|}
_functoolsmodule.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: 0, False: 8]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|      8|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      8|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      8|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      8|#endif
  308|      8|}
_functoolsmodule.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: 0, False: 1]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|      1|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      1|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      1|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 1]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      1|}
_functoolsmodule.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|}
_functoolsmodule.c:_Py_NewRef:
  632|      8|{
  633|      8|    Py_INCREF(obj);
  ------------------
  |  |  310|      8|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      8|    return obj;
  635|      8|}
getpath.c:Py_DECREF:
  418|     88|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     88|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     88|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 24, False: 64]
  |  |  ------------------
  ------------------
  422|     24|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     24|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     24|        return;
  424|     24|    }
  425|     64|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     64|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     64|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 26, False: 38]
  ------------------
  427|     26|        _Py_Dealloc(op);
  428|     26|    }
  429|     64|}
getpath.c:_Py_IsImmortal:
  127|     88|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     88|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     88|}
getpath.c:Py_XDECREF:
  615|     24|{
  616|     24|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     24|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 24, False: 0]
  ------------------
  617|     24|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     24|    }
  619|     24|}
getpath.c:_Py_NewRef:
  632|     16|{
  633|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     16|    return obj;
  635|     16|}
getpath.c:Py_INCREF:
  256|     16|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     16|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     16|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 16, False: 0]
  ------------------
  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|      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|}
reader.c:Py_XDECREF:
  615|     70|{
  616|     70|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     70|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 70]
  ------------------
  617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|     70|}
helpers.c:Py_DECREF:
  418|     56|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     56|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     56|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 56]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     56|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     56|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     56|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 20, False: 36]
  ------------------
  427|     20|        _Py_Dealloc(op);
  428|     20|    }
  429|     56|}
helpers.c:_Py_IsImmortal:
  127|     56|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     56|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     56|}
helpers.c:Py_XDECREF:
  615|     18|{
  616|     18|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     18|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 18, False: 0]
  ------------------
  617|     18|        Py_DECREF(op);
  ------------------
  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     18|    }
  619|     18|}
abstract.c:_Py_NewRef:
  632|  3.59k|{
  633|  3.59k|    Py_INCREF(obj);
  ------------------
  |  |  310|  3.59k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  3.59k|    return obj;
  635|  3.59k|}
abstract.c:Py_INCREF:
  256|  3.74k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.74k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  3.74k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.00k, False: 2.73k]
  ------------------
  288|       |        // the object is immortal
  289|  1.00k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.00k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.00k|        return;
  291|  1.00k|    }
  292|  2.73k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  2.73k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.73k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  2.73k|#endif
  308|  2.73k|}
abstract.c:Py_DECREF:
  418|  1.80k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.80k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.80k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.21k, False: 597]
  |  |  ------------------
  ------------------
  422|  1.21k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.21k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.21k|        return;
  424|  1.21k|    }
  425|    597|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    597|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    597|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 342, False: 255]
  ------------------
  427|    342|        _Py_Dealloc(op);
  428|    342|    }
  429|    597|}
abstract.c:_Py_IsImmortal:
  127|  1.80k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  1.80k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.80k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.80k|}
abstract.c:Py_XDECREF:
  615|     50|{
  616|     50|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     50|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 50, False: 0]
  ------------------
  617|     50|        Py_DECREF(op);
  ------------------
  |  |  430|     50|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     50|    }
  619|     50|}
abstract.c:_Py_XNewRef:
  638|    200|{
  639|    200|    Py_XINCREF(obj);
  ------------------
  |  |  611|    200|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    200|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|    200|    return obj;
  641|    200|}
abstract.c:Py_XINCREF:
  605|    200|{
  606|    200|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    200|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 150, False: 50]
  ------------------
  607|    150|        Py_INCREF(op);
  ------------------
  |  |  310|    150|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    150|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    150|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|    150|    }
  609|    200|}
abstract.c:_Py_IsStaticImmortal:
  141|     89|{
  142|     89|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|     89|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|     89|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|     89|}
bytearrayobject.c:Py_DECREF:
  418|     40|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     40|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     40|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2, False: 38]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|     38|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     38|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     38|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 38, False: 0]
  ------------------
  427|     38|        _Py_Dealloc(op);
  428|     38|    }
  429|     38|}
bytearrayobject.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|}
bytearrayobject.c:Py_XDECREF:
  615|     40|{
  616|     40|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     40|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 40, False: 0]
  ------------------
  617|     40|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     40|    }
  619|     40|}
bytearrayobject.c:_Py_NewRef:
  632|      2|{
  633|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      2|    return obj;
  635|      2|}
bytearrayobject.c:Py_INCREF:
  256|      2|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      2|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 2]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|      2|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      2|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      2|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      2|#endif
  308|      2|}
bytesobject.c:Py_INCREF:
  256|   623k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   623k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   623k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 623k, False: 34]
  ------------------
  288|       |        // the object is immortal
  289|   623k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   623k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   623k|        return;
  291|   623k|    }
  292|     34|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     34|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     34|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     34|#endif
  308|     34|}
bytesobject.c:Py_DECREF:
  418|     55|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     55|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     55|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     55|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     55|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 8, False: 47]
  |  |  ------------------
  ------------------
  422|      8|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      8|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      8|        return;
  424|      8|    }
  425|     47|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     47|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     47|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 47, False: 0]
  ------------------
  427|     47|        _Py_Dealloc(op);
  428|     47|    }
  429|     47|}
bytesobject.c:Py_XDECREF:
  615|      2|{
  616|      2|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      2|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 2, False: 0]
  ------------------
  617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      2|    }
  619|      2|}
bytesobject.c:_Py_NewRef:
  632|     36|{
  633|     36|    Py_INCREF(obj);
  ------------------
  |  |  310|     36|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     36|    return obj;
  635|     36|}
bytesobject.c:_Py_REFCNT:
  105|   623k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|   623k|    #if !defined(Py_GIL_DISABLED)
  107|   623k|        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|   623k|    }
bytesobject.c:_Py_IsImmortal:
  127|  1.51M|{
  128|       |#if defined(Py_GIL_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.51M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.51M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.51M|}
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:
  615|      1|{
  616|      1|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      1|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 1, False: 0]
  ------------------
  617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      1|    }
  619|      1|}
cellobject.c:_Py_XNewRef:
  638|    585|{
  639|    585|    Py_XINCREF(obj);
  ------------------
  |  |  611|    585|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    585|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    585|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|    585|    return obj;
  641|    585|}
cellobject.c:Py_XINCREF:
  605|    585|{
  606|    585|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    585|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 304, False: 281]
  ------------------
  607|    304|        Py_INCREF(op);
  ------------------
  |  |  310|    304|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    304|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    304|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|    304|    }
  609|    585|}
cellobject.c:Py_INCREF:
  256|    304|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    304|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    304|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 6, False: 298]
  ------------------
  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|    298|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    298|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    298|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    298|#endif
  308|    298|}
cellobject.c:Py_XDECREF:
  615|    507|{
  616|    507|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    507|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 479, False: 28]
  ------------------
  617|    479|        Py_DECREF(op);
  ------------------
  |  |  430|    479|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    479|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    479|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    479|    }
  619|    507|}
cellobject.c:Py_DECREF:
  418|    485|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    485|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    485|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    485|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    485|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 5, False: 480]
  |  |  ------------------
  ------------------
  422|      5|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      5|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      5|        return;
  424|      5|    }
  425|    480|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    480|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    480|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 20, False: 460]
  ------------------
  427|     20|        _Py_Dealloc(op);
  428|     20|    }
  429|    480|}
cellobject.c:_Py_IsImmortal:
  127|    485|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    485|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    485|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    485|}
classobject.c:_Py_NewRef:
  632|  1.31k|{
  633|  1.31k|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.31k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  1.31k|    return obj;
  635|  1.31k|}
classobject.c:Py_INCREF:
  256|  1.31k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  1.31k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.31k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 1.31k]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|  1.31k|    op->ob_refcnt = cur_refcnt + 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.31k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.31k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.31k|#endif
  308|  1.31k|}
classobject.c:_Py_REFCNT:
  105|    653|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    653|    #if !defined(Py_GIL_DISABLED)
  107|    653|        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|    653|    }
classobject.c:Py_DECREF:
  418|  1.30k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.30k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.30k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 1.30k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  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: 0, False: 1.30k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  1.30k|}
classobject.c:_Py_IsImmortal:
  127|  1.30k|{
  128|       |#if defined(Py_GIL_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.30k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.30k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.30k|}
classobject.c:Py_XDECREF:
  615|    653|{
  616|    653|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    653|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 653, False: 0]
  ------------------
  617|    653|        Py_DECREF(op);
  ------------------
  |  |  430|    653|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    653|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    653|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    653|    }
  619|    653|}
codeobject.c:_Py_NewRef:
  632|  21.7k|{
  633|  21.7k|    Py_INCREF(obj);
  ------------------
  |  |  310|  21.7k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  21.7k|    return obj;
  635|  21.7k|}
codeobject.c:Py_INCREF:
  256|  21.7k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  21.7k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  21.7k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 10.3k, False: 11.4k]
  ------------------
  288|       |        // the object is immortal
  289|  10.3k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  10.3k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  10.3k|        return;
  291|  10.3k|    }
  292|  11.4k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  11.4k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  11.4k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  11.4k|#endif
  308|  11.4k|}
codeobject.c:Py_XDECREF:
  615|  6.42k|{
  616|  6.42k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  6.42k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 4.01k, False: 2.41k]
  ------------------
  617|  4.01k|        Py_DECREF(op);
  ------------------
  |  |  430|  4.01k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  4.01k|    }
  619|  6.42k|}
codeobject.c:_Py_REFCNT:
  105|  4.64k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  4.64k|    #if !defined(Py_GIL_DISABLED)
  107|  4.64k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  4.64k|    }
codeobject.c:Py_DECREF:
  418|  4.03k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  4.03k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  4.03k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.22k, False: 1.81k]
  |  |  ------------------
  ------------------
  422|  2.22k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.22k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.22k|        return;
  424|  2.22k|    }
  425|  1.81k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.81k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.81k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.42k, False: 394]
  ------------------
  427|  1.42k|        _Py_Dealloc(op);
  428|  1.42k|    }
  429|  1.81k|}
codeobject.c:_Py_IsImmortal:
  127|  4.93k|{
  128|       |#if defined(Py_GIL_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.93k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  4.93k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  4.93k|}
codeobject.c:Py_SET_REFCNT:
  154|    892|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|    892|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 892, 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|    892|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|    892|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    892|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    892|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 892]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|    892|#ifndef Py_GIL_DISABLED
  170|    892|#if SIZEOF_VOID_P > 4
  171|    892|    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|    892|#endif  // Py_LIMITED_API
  199|    892|}
descrobject.c:Py_XDECREF:
  615|    694|{
  616|    694|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    694|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 373, False: 321]
  ------------------
  617|    373|        Py_DECREF(op);
  ------------------
  |  |  430|    373|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    373|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    373|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    373|    }
  619|    694|}
descrobject.c:Py_DECREF:
  418|  1.03k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.03k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.03k|#define _Py_IsImmortal(op) _Py_IsImmortal(_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 (137:28): [True: 145, False: 890]
  |  |  ------------------
  ------------------
  422|    145|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    145|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    145|        return;
  424|    145|    }
  425|    890|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    890|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    890|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 237, False: 653]
  ------------------
  427|    237|        _Py_Dealloc(op);
  428|    237|    }
  429|    890|}
descrobject.c:_Py_IsImmortal:
  127|  1.03k|{
  128|       |#if defined(Py_GIL_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.03k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.03k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.03k|}
descrobject.c:_Py_XNewRef:
  638|  5.19k|{
  639|  5.19k|    Py_XINCREF(obj);
  ------------------
  |  |  611|  5.19k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  5.19k|    return obj;
  641|  5.19k|}
descrobject.c:Py_XINCREF:
  605|  5.19k|{
  606|  5.19k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  5.19k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 5.13k, False: 55]
  ------------------
  607|  5.13k|        Py_INCREF(op);
  ------------------
  |  |  310|  5.13k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  5.13k|    }
  609|  5.19k|}
descrobject.c:Py_INCREF:
  256|  5.84k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.84k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  5.84k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 3.81k, False: 2.02k]
  ------------------
  288|       |        // the object is immortal
  289|  3.81k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  3.81k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  3.81k|        return;
  291|  3.81k|    }
  292|  2.02k|    op->ob_refcnt = cur_refcnt + 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.02k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.02k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.02k|#endif
  308|  2.02k|}
descrobject.c:_Py_NewRef:
  632|    703|{
  633|    703|    Py_INCREF(obj);
  ------------------
  |  |  310|    703|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    703|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    703|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    703|    return obj;
  635|    703|}
enumobject.c:Py_XDECREF:
  615|     69|{
  616|     69|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     69|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 46, False: 23]
  ------------------
  617|     46|        Py_DECREF(op);
  ------------------
  |  |  430|     46|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     46|    }
  619|     69|}
enumobject.c:Py_DECREF:
  418|    396|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    396|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    396|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    396|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 324, False: 72]
  |  |  ------------------
  ------------------
  422|    324|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    324|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    324|        return;
  424|    324|    }
  425|     72|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     72|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     72|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 48, False: 24]
  ------------------
  427|     48|        _Py_Dealloc(op);
  428|     48|    }
  429|     72|}
enumobject.c:_Py_IsImmortal:
  127|    396|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    396|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    396|}
enumobject.c:_Py_REFCNT:
  105|    174|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    174|    #if !defined(Py_GIL_DISABLED)
  107|    174|        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|    174|    }
enumobject.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: 0, False: 174]
  ------------------
  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|    174|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    174|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    174|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    174|#endif
  308|    174|}
genobject.c:Py_INCREF:
  256|    226|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    226|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    226|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 226, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|    226|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    226|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    226|        return;
  291|    226|    }
  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:
  632|    226|{
  633|    226|    Py_INCREF(obj);
  ------------------
  |  |  310|    226|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    226|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    226|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    226|    return obj;
  635|    226|}
genobject.c:Py_DECREF:
  418|    304|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    304|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    304|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    304|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    304|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 304, False: 0]
  |  |  ------------------
  ------------------
  422|    304|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    304|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    304|        return;
  424|    304|    }
  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|    496|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    496|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    496|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    496|}
genobject.c:_Py_REFCNT:
  105|    113|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    113|    #if !defined(Py_GIL_DISABLED)
  107|    113|        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|    113|    }
genobject.c:_Py_IsStaticImmortal:
  141|    113|{
  142|    113|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|    113|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|    113|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|    113|}
fileobject.c:Py_DECREF:
  418|    131|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    131|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    131|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    131|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    131|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 104, False: 27]
  |  |  ------------------
  ------------------
  422|    104|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    104|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    104|        return;
  424|    104|    }
  425|     27|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     27|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     27|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 27]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     27|}
fileobject.c:_Py_IsImmortal:
  127|    131|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    131|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    131|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    131|}
floatobject.c:_Py_IsImmortal:
  127|     75|{
  128|       |#if defined(Py_GIL_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|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     75|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     75|}
floatobject.c:Py_INCREF:
  256|     75|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     75|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     75|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 75, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|     75|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     75|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     75|        return;
  291|     75|    }
  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|}
frameobject.c:Py_INCREF:
  256|     25|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     25|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 25]
  ------------------
  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|     25|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     25|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     25|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     25|#endif
  308|     25|}
frameobject.c:_Py_IsImmortal:
  127|    101|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    101|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    101|}
frameobject.c:_Py_IsStaticImmortal:
  141|    462|{
  142|    462|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|    462|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|    462|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|    462|}
frameobject.c:Py_DECREF:
  418|    101|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    101|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    101|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 101]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|    101|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    101|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    101|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2, False: 99]
  ------------------
  427|      2|        _Py_Dealloc(op);
  428|      2|    }
  429|    101|}
frameobject.c:_Py_REFCNT:
  105|    423|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    423|    #if !defined(Py_GIL_DISABLED)
  107|    423|        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|    423|    }
frameobject.c:_Py_NewRef:
  632|     25|{
  633|     25|    Py_INCREF(obj);
  ------------------
  |  |  310|     25|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     25|    return obj;
  635|     25|}
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:
  632|      9|{
  633|      9|    Py_INCREF(obj);
  ------------------
  |  |  310|      9|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      9|    return obj;
  635|      9|}
iterobject.c:Py_INCREF:
  256|      9|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      9|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 9]
  ------------------
  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|      9|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      9|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      9|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      9|#endif
  308|      9|}
iterobject.c:Py_XDECREF:
  615|      9|{
  616|      9|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      9|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 9]
  ------------------
  617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|      9|}
iterobject.c:Py_DECREF:
  418|      9|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      9|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      9|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 9]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|      9|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      9|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      9|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 9]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      9|}
iterobject.c:_Py_IsImmortal:
  127|      9|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      9|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      9|}
lazyimportobject.c:_Py_XNewRef:
  638|     34|{
  639|     34|    Py_XINCREF(obj);
  ------------------
  |  |  611|     34|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|     34|    return obj;
  641|     34|}
lazyimportobject.c:Py_XINCREF:
  605|     34|{
  606|     34|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     34|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 20, False: 14]
  ------------------
  607|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|     20|    }
  609|     34|}
lazyimportobject.c:Py_INCREF:
  256|     52|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     52|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     52|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 16, False: 36]
  ------------------
  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|     36|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     36|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     36|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     36|#endif
  308|     36|}
lazyimportobject.c:_Py_NewRef:
  632|     32|{
  633|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     32|    return obj;
  635|     32|}
lazyimportobject.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|}
lazyimportobject.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|}
lazyimportobject.c:Py_XDECREF:
  615|      6|{
  616|      6|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      6|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 6]
  ------------------
  617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|      6|}
memoryobject.c:_Py_NewRef:
  632|    181|{
  633|    181|    Py_INCREF(obj);
  ------------------
  |  |  310|    181|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    181|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    181|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    181|    return obj;
  635|    181|}
memoryobject.c:Py_INCREF:
  256|    181|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    181|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    181|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 181]
  ------------------
  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|    181|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    181|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    181|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    181|#endif
  308|    181|}
memoryobject.c:Py_DECREF:
  418|    181|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    181|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    181|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    181|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    181|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 181]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|    181|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    181|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    181|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 77, False: 104]
  ------------------
  427|     77|        _Py_Dealloc(op);
  428|     77|    }
  429|    181|}
memoryobject.c:_Py_IsImmortal:
  127|    181|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    181|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    181|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    181|}
methodobject.c:_Py_NewRef:
  632|     33|{
  633|     33|    Py_INCREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     33|    return obj;
  635|     33|}
methodobject.c:Py_INCREF:
  256|  3.41k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.41k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  3.41k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.16k, False: 2.24k]
  ------------------
  288|       |        // the object is immortal
  289|  1.16k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.16k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.16k|        return;
  291|  1.16k|    }
  292|  2.24k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  2.24k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.24k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  2.24k|#endif
  308|  2.24k|}
methodobject.c:_Py_XNewRef:
  638|  4.87k|{
  639|  4.87k|    Py_XINCREF(obj);
  ------------------
  |  |  611|  4.87k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  4.87k|    return obj;
  641|  4.87k|}
methodobject.c:Py_XINCREF:
  605|  4.87k|{
  606|  4.87k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  4.87k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 3.37k, False: 1.49k]
  ------------------
  607|  3.37k|        Py_INCREF(op);
  ------------------
  |  |  310|  3.37k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  3.37k|    }
  609|  4.87k|}
methodobject.c:_Py_REFCNT:
  105|  1.04k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.04k|    #if !defined(Py_GIL_DISABLED)
  107|  1.04k|        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.04k|    }
methodobject.c:Py_XDECREF:
  615|  3.13k|{
  616|  3.13k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  3.13k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 1.05k, False: 2.08k]
  ------------------
  617|  1.05k|        Py_DECREF(op);
  ------------------
  |  |  430|  1.05k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  1.05k|    }
  619|  3.13k|}
methodobject.c:Py_DECREF:
  418|  1.05k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.05k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.05k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 254, False: 805]
  |  |  ------------------
  ------------------
  422|    254|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    254|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    254|        return;
  424|    254|    }
  425|    805|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    805|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    805|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 29, False: 776]
  ------------------
  427|     29|        _Py_Dealloc(op);
  428|     29|    }
  429|    805|}
methodobject.c:_Py_IsImmortal:
  127|  1.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|  1.05k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.05k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.05k|}
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_XDECREF:
  615|     21|{
  616|     21|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     21|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 21]
  ------------------
  617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|     21|}
Python-ast.c:Py_DECREF:
  418|    882|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    882|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    882|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    882|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    882|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 266, False: 616]
  |  |  ------------------
  ------------------
  422|    266|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    266|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    266|        return;
  424|    266|    }
  425|    616|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    616|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    616|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 62, False: 554]
  ------------------
  427|     62|        _Py_Dealloc(op);
  428|     62|    }
  429|    616|}
Python-ast.c:_Py_IsImmortal:
  127|    882|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    882|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    882|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    882|}
Python-ast.c:Py_XDECREF:
  615|      8|{
  616|      8|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      8|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 8, False: 0]
  ------------------
  617|      8|        Py_DECREF(op);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      8|    }
  619|      8|}
Python-ast.c:Py_INCREF:
  256|    119|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    119|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    119|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 35, False: 84]
  ------------------
  288|       |        // the object is immortal
  289|     35|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     35|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     35|        return;
  291|     35|    }
  292|     84|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     84|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     84|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     84|#endif
  308|     84|}
Python-ast.c:_Py_NewRef:
  632|     39|{
  633|     39|    Py_INCREF(obj);
  ------------------
  |  |  310|     39|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     39|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     39|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     39|    return obj;
  635|     39|}
assemble.c:Py_DECREF:
  418|     28|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     28|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     28|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 10, False: 18]
  |  |  ------------------
  ------------------
  422|     10|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     10|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     10|        return;
  424|     10|    }
  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|}
assemble.c:_Py_IsImmortal:
  127|     28|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     28|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     28|}
assemble.c:_Py_NewRef:
  632|      2|{
  633|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      2|    return obj;
  635|      2|}
assemble.c:Py_INCREF:
  256|      2|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      2|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 2, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|      2|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      2|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      2|        return;
  291|      2|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
assemble.c:Py_XDECREF:
  615|     28|{
  616|     28|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     28|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 28, False: 0]
  ------------------
  617|     28|        Py_DECREF(op);
  ------------------
  |  |  430|     28|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     28|    }
  619|     28|}
pegen.c:Py_DECREF:
  418|     86|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     86|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     86|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 4, False: 82]
  |  |  ------------------
  ------------------
  422|      4|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      4|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      4|        return;
  424|      4|    }
  425|     82|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     82|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     82|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 52, False: 30]
  ------------------
  427|     52|        _Py_Dealloc(op);
  428|     52|    }
  429|     82|}
pegen.c:_Py_IsImmortal:
  127|     86|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     86|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     86|}
pegen.c:Py_XDECREF:
  615|     59|{
  616|     59|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     59|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 12, False: 47]
  ------------------
  617|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     12|    }
  619|     59|}
pegen_errors.c:Py_DECREF:
  418|     98|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     98|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     98|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     98|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     98|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 13, False: 85]
  |  |  ------------------
  ------------------
  422|     13|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     13|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     13|        return;
  424|     13|    }
  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: 15, False: 70]
  ------------------
  427|     15|        _Py_Dealloc(op);
  428|     15|    }
  429|     85|}
pegen_errors.c:_Py_IsImmortal:
  127|     98|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     98|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     98|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     98|}
pegen_errors.c:Py_XDECREF:
  615|     39|{
  616|     39|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     39|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 26, False: 13]
  ------------------
  617|     26|        Py_DECREF(op);
  ------------------
  |  |  430|     26|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     26|    }
  619|     39|}
pegen_errors.c:_Py_NewRef:
  632|     16|{
  633|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     16|    return obj;
  635|     16|}
pegen_errors.c:Py_INCREF:
  256|     16|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     16|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     16|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 16]
  ------------------
  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|     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|}
lexer.c:Py_DECREF:
  418|  1.51k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.51k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.51k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 1.51k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  1.51k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.51k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.51k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.51k, False: 0]
  ------------------
  427|  1.51k|        _Py_Dealloc(op);
  428|  1.51k|    }
  429|  1.51k|}
lexer.c:_Py_IsImmortal:
  127|  1.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|  1.51k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.51k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.51k|}
state.c:Py_XDECREF:
  615|     70|{
  616|     70|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     70|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 37, False: 33]
  ------------------
  617|     37|        Py_DECREF(op);
  ------------------
  |  |  430|     37|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     37|    }
  619|     70|}
state.c:Py_DECREF:
  418|     37|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     37|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     37|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2, False: 35]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|     35|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     35|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     35|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 35]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     35|}
state.c:_Py_IsImmortal:
  127|     37|{
  128|       |#if defined(Py_GIL_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|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     37|}
api.c:Py_XINCREF:
  605|     70|{
  606|     70|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     70|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 37, False: 33]
  ------------------
  607|     37|        Py_INCREF(op);
  ------------------
  |  |  310|     37|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|     37|    }
  609|     70|}
api.c:Py_INCREF:
  256|     37|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     37|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     37|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 2, False: 35]
  ------------------
  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|     35|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     35|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     35|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     35|#endif
  308|     35|}
api.c:Py_XDECREF:
  615|     70|{
  616|     70|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     70|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 70]
  ------------------
  617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|     70|}
string_parser.c:Py_DECREF:
  418|   207k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   207k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   207k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 163k, False: 43.5k]
  |  |  ------------------
  ------------------
  422|   163k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   163k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   163k|        return;
  424|   163k|    }
  425|  43.5k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  43.5k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  43.5k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 43.5k, False: 0]
  ------------------
  427|  43.5k|        _Py_Dealloc(op);
  428|  43.5k|    }
  429|  43.5k|}
string_parser.c:_Py_IsImmortal:
  127|   207k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   207k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   207k|}

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

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:_codecs_lookup_error_impl:
 1065|     12|{
 1066|     12|    return PyCodec_LookupError(name);
 1067|     12|}
_codecsmodule.c:_codecs__normalize_encoding_impl:
 1083|      2|{
 1084|      2|    Py_ssize_t len;
 1085|      2|    const char *cstr = PyUnicode_AsUTF8AndSize(encoding, &len);
 1086|      2|    if (cstr == NULL) {
  ------------------
  |  Branch (1086:9): [True: 0, False: 2]
  ------------------
 1087|      0|        return NULL;
 1088|      0|    }
 1089|       |
 1090|      2|    if (len > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|      2|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1090:9): [True: 0, False: 2]
  ------------------
 1091|      0|        PyErr_SetString(PyExc_OverflowError, "encoding is too large");
 1092|      0|        return NULL;
 1093|      0|    }
 1094|       |
 1095|      2|    char *normalized = PyMem_Malloc(len + 1);
 1096|      2|    if (normalized == NULL) {
  ------------------
  |  Branch (1096:9): [True: 0, False: 2]
  ------------------
 1097|      0|        return PyErr_NoMemory();
 1098|      0|    }
 1099|       |
 1100|      2|    if (!_Py_normalize_encoding(cstr, normalized, len + 1, 0)) {
  ------------------
  |  Branch (1100:9): [True: 0, False: 2]
  ------------------
 1101|      0|        PyMem_Free(normalized);
 1102|      0|        return NULL;
 1103|      0|    }
 1104|       |
 1105|      2|    PyObject *result = PyUnicode_FromString(normalized);
 1106|      2|    PyMem_Free(normalized);
 1107|      2|    return result;
 1108|      2|}

PyInit__collections:
 2923|      1|{
 2924|      1|    return PyModuleDef_Init(&_collectionsmodule);
 2925|      1|}
_collectionsmodule.c:collections_exec:
 2884|      1|collections_exec(PyObject *module) {
 2885|      1|    collections_state *state = get_module_state(module);
 2886|      1|    ADD_TYPE(module, &deque_spec, state->deque_type, NULL);
  ------------------
  |  | 2872|      1|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2873|      1|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2874|      1|                                                (PyObject *)BASE);  \
  |  | 2875|      1|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2875:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2876|      0|        return -1;                                                  \
  |  | 2877|      0|    }                                                               \
  |  | 2878|      1|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2878:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2879|      0|        return -1;                                                  \
  |  | 2880|      0|    }                                                               \
  |  | 2881|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (2881:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2887|      1|    ADD_TYPE(module, &defdict_spec, state->defdict_type, &PyDict_Type);
  ------------------
  |  | 2872|      1|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2873|      1|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2874|      1|                                                (PyObject *)BASE);  \
  |  | 2875|      1|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2875:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2876|      0|        return -1;                                                  \
  |  | 2877|      0|    }                                                               \
  |  | 2878|      1|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2878:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2879|      0|        return -1;                                                  \
  |  | 2880|      0|    }                                                               \
  |  | 2881|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (2881:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2888|      1|    ADD_TYPE(module, &dequeiter_spec, state->dequeiter_type, NULL);
  ------------------
  |  | 2872|      1|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2873|      1|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2874|      1|                                                (PyObject *)BASE);  \
  |  | 2875|      1|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2875:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2876|      0|        return -1;                                                  \
  |  | 2877|      0|    }                                                               \
  |  | 2878|      1|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2878:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2879|      0|        return -1;                                                  \
  |  | 2880|      0|    }                                                               \
  |  | 2881|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (2881:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2889|      1|    ADD_TYPE(module, &dequereviter_spec, state->dequereviter_type, NULL);
  ------------------
  |  | 2872|      1|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2873|      1|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2874|      1|                                                (PyObject *)BASE);  \
  |  | 2875|      1|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2875:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2876|      0|        return -1;                                                  \
  |  | 2877|      0|    }                                                               \
  |  | 2878|      1|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2878:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2879|      0|        return -1;                                                  \
  |  | 2880|      0|    }                                                               \
  |  | 2881|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (2881:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2890|      1|    ADD_TYPE(module, &tuplegetter_spec, state->tuplegetter_type, NULL);
  ------------------
  |  | 2872|      1|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2873|      1|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2874|      1|                                                (PyObject *)BASE);  \
  |  | 2875|      1|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2875:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2876|      0|        return -1;                                                  \
  |  | 2877|      0|    }                                                               \
  |  | 2878|      1|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2878:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2879|      0|        return -1;                                                  \
  |  | 2880|      0|    }                                                               \
  |  | 2881|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (2881:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2891|       |
 2892|      1|    if (PyModule_AddType(module, &PyODict_Type) < 0) {
  ------------------
  |  Branch (2892:9): [True: 0, False: 1]
  ------------------
 2893|      0|        return -1;
 2894|      0|    }
 2895|       |
 2896|      1|    return 0;
 2897|      1|}
_collectionsmodule.c:get_module_state:
   23|      3|{
   24|      3|    void *state = _PyModule_GetState(mod);
   25|      3|    assert(state != NULL);
  ------------------
  |  Branch (25:5): [True: 3, False: 0]
  ------------------
   26|      3|    return (collections_state *)state;
   27|      3|}
_collectionsmodule.c:get_module_state_by_cls:
   31|      9|{
   32|      9|    void *state = _PyType_GetModuleState(cls);
   33|      9|    assert(state != NULL);
  ------------------
  |  Branch (33:5): [True: 9, False: 0]
  ------------------
   34|      9|    return (collections_state *)state;
   35|      9|}
_collectionsmodule.c:tuplegetter_traverse:
 2754|      8|{
 2755|      8|    _tuplegetterobject *tuplegetter = tuplegetterobject_CAST(self);
  ------------------
  |  | 2686|      8|#define tuplegetterobject_CAST(op)  ((_tuplegetterobject *)(op))
  ------------------
 2756|      8|    Py_VISIT(Py_TYPE(tuplegetter));
  ------------------
  |  |  194|      8|    do {                                                                \
  |  |  195|      8|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  196|      8|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      8|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8]
  |  |  ------------------
  |  |  198|      8|                return vret;                                            \
  |  |  199|      8|        }                                                               \
  |  |  200|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2757|      8|    Py_VISIT(tuplegetter->doc);
  ------------------
  |  |  194|      8|    do {                                                                \
  |  |  195|      8|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  196|      8|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      8|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8]
  |  |  ------------------
  |  |  198|      8|                return vret;                                            \
  |  |  199|      8|        }                                                               \
  |  |  200|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2758|      8|    return 0;
 2759|      8|}
_collectionsmodule.c:tuplegetter_new_impl:
 2700|      9|{
 2701|      9|    _tuplegetterobject* self;
 2702|      9|    self = (_tuplegetterobject *)type->tp_alloc(type, 0);
 2703|      9|    if (self == NULL) {
  ------------------
  |  Branch (2703:9): [True: 0, False: 9]
  ------------------
 2704|      0|        return NULL;
 2705|      0|    }
 2706|      9|    self->index = index;
 2707|      9|    self->doc = Py_NewRef(doc);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2708|      9|    return (PyObject *)self;
 2709|      9|}
_collectionsmodule.c:collections_traverse:
 2833|      2|{
 2834|      2|    collections_state *state = get_module_state(mod);
 2835|      2|    Py_VISIT(state->deque_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2836|      2|    Py_VISIT(state->defdict_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2837|      2|    Py_VISIT(state->dequeiter_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2838|      2|    Py_VISIT(state->dequereviter_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2839|      2|    Py_VISIT(state->tuplegetter_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2840|      2|    return 0;
 2841|      2|}

_PyDateTime_InitTypes:
 7643|      2|{
 7644|       |    /* Bases classes must be initialized before subclasses,
 7645|       |     * so capi_types must have the types in the appropriate order. */
 7646|     14|    for (size_t i = 0; i < Py_ARRAY_LENGTH(capi_types); i++) {
  ------------------
  |  |  232|     14|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (7646:24): [True: 12, False: 2]
  ------------------
 7647|     12|        PyTypeObject *type = capi_types[i];
 7648|     12|        if (_PyStaticType_InitForExtension(interp, type) < 0) {
  ------------------
  |  Branch (7648:13): [True: 0, False: 12]
  ------------------
 7649|      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)}
  ------------------
 7650|      0|        }
 7651|     12|    }
 7652|       |
 7653|      2|#define DATETIME_ADD_MACRO(dict, c, value_expr)         \
 7654|      2|    do {                                                \
 7655|      2|        assert(!PyErr_Occurred());                      \
 7656|      2|        PyObject *value = (value_expr);                 \
 7657|      2|        if (value == NULL) {                            \
 7658|      2|            goto error;                                 \
 7659|      2|        }                                               \
 7660|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
 7661|      2|            Py_DECREF(value);                           \
 7662|      2|            goto error;                                 \
 7663|      2|        }                                               \
 7664|      2|        Py_DECREF(value);                               \
 7665|      2|    } while(0)
 7666|       |
 7667|       |    /* timedelta values */
 7668|      2|    PyObject *d = _PyType_GetDict(&PyDateTime_DeltaType);
 7669|      2|    DATETIME_ADD_MACRO(d, "resolution", new_delta(0, 0, 1, 0));
  ------------------
  |  | 7654|      2|    do {                                                \
  |  | 7655|      2|        assert(!PyErr_Occurred());                      \
  |  | 7656|      2|        PyObject *value = (value_expr);                 \
  |  | 7657|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7657:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7658|      0|            goto error;                                 \
  |  | 7659|      0|        }                                               \
  |  | 7660|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7660:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7661|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7662|      0|            goto error;                                 \
  |  | 7663|      0|        }                                               \
  |  | 7664|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7665|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7665:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7669:5): [True: 2, False: 0]
  ------------------
 7670|      2|    DATETIME_ADD_MACRO(d, "min", new_delta(-MAX_DELTA_DAYS, 0, 0, 0));
  ------------------
  |  | 7654|      2|    do {                                                \
  |  | 7655|      2|        assert(!PyErr_Occurred());                      \
  |  | 7656|      2|        PyObject *value = (value_expr);                 \
  |  | 7657|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7657:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7658|      0|            goto error;                                 \
  |  | 7659|      0|        }                                               \
  |  | 7660|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7660:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7661|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7662|      0|            goto error;                                 \
  |  | 7663|      0|        }                                               \
  |  | 7664|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7665|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7665:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7670:5): [True: 2, False: 0]
  ------------------
 7671|      2|    DATETIME_ADD_MACRO(d, "max",
  ------------------
  |  | 7654|      2|    do {                                                \
  |  | 7655|      2|        assert(!PyErr_Occurred());                      \
  |  | 7656|      2|        PyObject *value = (value_expr);                 \
  |  | 7657|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7657:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7658|      0|            goto error;                                 \
  |  | 7659|      0|        }                                               \
  |  | 7660|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7660:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7661|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7662|      0|            goto error;                                 \
  |  | 7663|      0|        }                                               \
  |  | 7664|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7665|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7665:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7671:5): [True: 2, False: 0]
  ------------------
 7672|      2|                        new_delta(MAX_DELTA_DAYS, 24*3600-1, 1000000-1, 0));
 7673|       |
 7674|       |    /* date values */
 7675|      2|    d = _PyType_GetDict(&PyDateTime_DateType);
 7676|      2|    DATETIME_ADD_MACRO(d, "min", new_date(1, 1, 1));
  ------------------
  |  | 7654|      2|    do {                                                \
  |  | 7655|      2|        assert(!PyErr_Occurred());                      \
  |  | 7656|      2|        PyObject *value = (value_expr);                 \
  |  | 7657|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7657:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7658|      0|            goto error;                                 \
  |  | 7659|      0|        }                                               \
  |  | 7660|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7660:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7661|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7662|      0|            goto error;                                 \
  |  | 7663|      0|        }                                               \
  |  | 7664|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7665|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7665:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7676:5): [True: 2, False: 0]
  ------------------
 7677|      2|    DATETIME_ADD_MACRO(d, "max", new_date(MAXYEAR, 12, 31));
  ------------------
  |  | 7654|      2|    do {                                                \
  |  | 7655|      2|        assert(!PyErr_Occurred());                      \
  |  | 7656|      2|        PyObject *value = (value_expr);                 \
  |  | 7657|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7657:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7658|      0|            goto error;                                 \
  |  | 7659|      0|        }                                               \
  |  | 7660|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7660:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7661|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7662|      0|            goto error;                                 \
  |  | 7663|      0|        }                                               \
  |  | 7664|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7665|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7665:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7677:5): [True: 2, False: 0]
  ------------------
 7678|      2|    DATETIME_ADD_MACRO(d, "resolution", new_delta(1, 0, 0, 0));
  ------------------
  |  | 7654|      2|    do {                                                \
  |  | 7655|      2|        assert(!PyErr_Occurred());                      \
  |  | 7656|      2|        PyObject *value = (value_expr);                 \
  |  | 7657|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7657:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7658|      0|            goto error;                                 \
  |  | 7659|      0|        }                                               \
  |  | 7660|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7660:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7661|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7662|      0|            goto error;                                 \
  |  | 7663|      0|        }                                               \
  |  | 7664|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7665|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7665:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7678:5): [True: 2, False: 0]
  ------------------
 7679|       |
 7680|       |    /* time values */
 7681|      2|    d = _PyType_GetDict(&PyDateTime_TimeType);
 7682|      2|    DATETIME_ADD_MACRO(d, "min", new_time(0, 0, 0, 0, Py_None, 0));
  ------------------
  |  | 7654|      2|    do {                                                \
  |  | 7655|      2|        assert(!PyErr_Occurred());                      \
  |  | 7656|      2|        PyObject *value = (value_expr);                 \
  |  | 7657|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7657:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7658|      0|            goto error;                                 \
  |  | 7659|      0|        }                                               \
  |  | 7660|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7660:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7661|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7662|      0|            goto error;                                 \
  |  | 7663|      0|        }                                               \
  |  | 7664|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7665|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7665:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7682:5): [True: 2, False: 0]
  ------------------
 7683|      2|    DATETIME_ADD_MACRO(d, "max", new_time(23, 59, 59, 999999, Py_None, 0));
  ------------------
  |  | 7654|      2|    do {                                                \
  |  | 7655|      2|        assert(!PyErr_Occurred());                      \
  |  | 7656|      2|        PyObject *value = (value_expr);                 \
  |  | 7657|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7657:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7658|      0|            goto error;                                 \
  |  | 7659|      0|        }                                               \
  |  | 7660|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7660:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7661|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7662|      0|            goto error;                                 \
  |  | 7663|      0|        }                                               \
  |  | 7664|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7665|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7665:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7683:5): [True: 2, False: 0]
  ------------------
 7684|      2|    DATETIME_ADD_MACRO(d, "resolution", new_delta(0, 0, 1, 0));
  ------------------
  |  | 7654|      2|    do {                                                \
  |  | 7655|      2|        assert(!PyErr_Occurred());                      \
  |  | 7656|      2|        PyObject *value = (value_expr);                 \
  |  | 7657|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7657:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7658|      0|            goto error;                                 \
  |  | 7659|      0|        }                                               \
  |  | 7660|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7660:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7661|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7662|      0|            goto error;                                 \
  |  | 7663|      0|        }                                               \
  |  | 7664|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7665|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7665:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7684:5): [True: 2, False: 0]
  ------------------
 7685|       |
 7686|       |    /* datetime values */
 7687|      2|    d = _PyType_GetDict(&PyDateTime_DateTimeType);
 7688|      2|    DATETIME_ADD_MACRO(d, "min",
  ------------------
  |  | 7654|      2|    do {                                                \
  |  | 7655|      2|        assert(!PyErr_Occurred());                      \
  |  | 7656|      2|        PyObject *value = (value_expr);                 \
  |  | 7657|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7657:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7658|      0|            goto error;                                 \
  |  | 7659|      0|        }                                               \
  |  | 7660|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7660:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7661|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7662|      0|            goto error;                                 \
  |  | 7663|      0|        }                                               \
  |  | 7664|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7665|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7665:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7688:5): [True: 2, False: 0]
  ------------------
 7689|      2|                        new_datetime(1, 1, 1, 0, 0, 0, 0, Py_None, 0));
 7690|      2|    DATETIME_ADD_MACRO(d, "max", new_datetime(MAXYEAR, 12, 31, 23, 59, 59,
  ------------------
  |  | 7654|      2|    do {                                                \
  |  | 7655|      2|        assert(!PyErr_Occurred());                      \
  |  | 7656|      2|        PyObject *value = (value_expr);                 \
  |  | 7657|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7657:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7658|      0|            goto error;                                 \
  |  | 7659|      0|        }                                               \
  |  | 7660|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7660:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7661|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7662|      0|            goto error;                                 \
  |  | 7663|      0|        }                                               \
  |  | 7664|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7665|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7665:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7690:5): [True: 2, False: 0]
  ------------------
 7691|      2|                                                999999, Py_None, 0));
 7692|      2|    DATETIME_ADD_MACRO(d, "resolution", new_delta(0, 0, 1, 0));
  ------------------
  |  | 7654|      2|    do {                                                \
  |  | 7655|      2|        assert(!PyErr_Occurred());                      \
  |  | 7656|      2|        PyObject *value = (value_expr);                 \
  |  | 7657|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7657:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7658|      0|            goto error;                                 \
  |  | 7659|      0|        }                                               \
  |  | 7660|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7660:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7661|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7662|      0|            goto error;                                 \
  |  | 7663|      0|        }                                               \
  |  | 7664|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7665|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7665:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7692:5): [True: 2, False: 0]
  ------------------
 7693|       |
 7694|       |    /* timezone values */
 7695|      2|    d = _PyType_GetDict(&PyDateTime_TimeZoneType);
 7696|      2|    if (PyDict_SetItemString(d, "utc", (PyObject *)&utc_timezone) < 0) {
  ------------------
  |  Branch (7696:9): [True: 0, False: 2]
  ------------------
 7697|      0|        goto error;
 7698|      0|    }
 7699|       |
 7700|       |    /* bpo-37642: These attributes are rounded to the nearest minute for backwards
 7701|       |    * compatibility, even though the constructor will accept a wider range of
 7702|       |    * values. This may change in the future.*/
 7703|       |
 7704|       |    /* -23:59 */
 7705|      2|    DATETIME_ADD_MACRO(d, "min", create_timezone_from_delta(-1, 60, 0, 1));
  ------------------
  |  | 7654|      2|    do {                                                \
  |  | 7655|      2|        assert(!PyErr_Occurred());                      \
  |  | 7656|      2|        PyObject *value = (value_expr);                 \
  |  | 7657|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7657:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7658|      0|            goto error;                                 \
  |  | 7659|      0|        }                                               \
  |  | 7660|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7660:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7661|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7662|      0|            goto error;                                 \
  |  | 7663|      0|        }                                               \
  |  | 7664|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7665|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7665:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7705:5): [True: 2, False: 0]
  ------------------
 7706|       |
 7707|       |    /* +23:59 */
 7708|      2|    DATETIME_ADD_MACRO(
  ------------------
  |  | 7654|      2|    do {                                                \
  |  | 7655|      2|        assert(!PyErr_Occurred());                      \
  |  | 7656|      2|        PyObject *value = (value_expr);                 \
  |  | 7657|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7657:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7658|      0|            goto error;                                 \
  |  | 7659|      0|        }                                               \
  |  | 7660|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7660:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7661|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7662|      0|            goto error;                                 \
  |  | 7663|      0|        }                                               \
  |  | 7664|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7665|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7665:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7708:5): [True: 2, False: 0]
  ------------------
 7709|      2|            d, "max", create_timezone_from_delta(0, (23 * 60 + 59) * 60, 0, 0));
 7710|       |
 7711|      2|#undef DATETIME_ADD_MACRO
 7712|       |
 7713|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 7714|       |
 7715|      0|error:
 7716|      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)}
  |  |  ------------------
  ------------------
 7717|      2|}
_datetimemodule.c:days_in_month:
  443|      8|{
  444|      8|    assert(month >= 1);
  ------------------
  |  Branch (444:5): [True: 8, False: 0]
  ------------------
  445|      8|    assert(month <= 12);
  ------------------
  |  Branch (445:5): [True: 8, False: 0]
  ------------------
  446|      8|    if (month == 2 && is_leap(year))
  ------------------
  |  Branch (446:9): [True: 0, False: 8]
  |  Branch (446:23): [True: 0, False: 0]
  ------------------
  447|      0|        return 29;
  448|      8|    else
  449|      8|        return _days_in_month[month];
  450|      8|}
_datetimemodule.c:new_delta_ex:
 1393|     16|{
 1394|     16|    PyDateTime_Delta *self;
 1395|       |
 1396|     16|    if (normalize)
  ------------------
  |  Branch (1396:9): [True: 2, False: 14]
  ------------------
 1397|      2|        normalize_d_s_us(&days, &seconds, &microseconds);
 1398|     16|    assert(0 <= seconds && seconds < 24*3600);
  ------------------
  |  Branch (1398:5): [True: 16, False: 0]
  |  Branch (1398:5): [True: 16, False: 0]
  ------------------
 1399|     16|    assert(0 <= microseconds && microseconds < 1000000);
  ------------------
  |  Branch (1399:5): [True: 16, False: 0]
  |  Branch (1399:5): [True: 16, False: 0]
  ------------------
 1400|       |
 1401|     16|    if (check_delta_day_range(days) < 0)
  ------------------
  |  Branch (1401:9): [True: 0, False: 16]
  ------------------
 1402|      0|        return NULL;
 1403|       |
 1404|     16|    self = look_up_delta(days, seconds, microseconds, type);
 1405|     16|    if (self != NULL) {
  ------------------
  |  Branch (1405:9): [True: 0, False: 16]
  ------------------
 1406|      0|        return (PyObject *)self;
 1407|      0|    }
 1408|     16|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (1408:5): [True: 16, False: 0]
  ------------------
 1409|       |
 1410|     16|    self = (PyDateTime_Delta *) (type->tp_alloc(type, 0));
 1411|     16|    if (self != NULL) {
  ------------------
  |  Branch (1411:9): [True: 16, False: 0]
  ------------------
 1412|     16|        self->hashcode = -1;
 1413|     16|        SET_TD_DAYS(self, days);
  ------------------
  |  |  326|     16|#define SET_TD_DAYS(o, v)       ((o)->days = (v))
  ------------------
 1414|     16|        SET_TD_SECONDS(self, seconds);
  ------------------
  |  |  327|     16|#define SET_TD_SECONDS(o, v)    ((o)->seconds = (v))
  ------------------
 1415|     16|        SET_TD_MICROSECONDS(self, microseconds);
  ------------------
  |  |  328|     16|#define SET_TD_MICROSECONDS(o, v) ((o)->microseconds = (v))
  ------------------
 1416|     16|    }
 1417|     16|    return (PyObject *) self;
 1418|     16|}
_datetimemodule.c:normalize_d_s_us:
  746|      2|{
  747|      2|    if (*us < 0 || *us >= 1000000) {
  ------------------
  |  Branch (747:9): [True: 0, False: 2]
  |  Branch (747:20): [True: 0, False: 2]
  ------------------
  748|      0|        normalize_pair(s, us, 1000000);
  749|       |        /* |s| can't be bigger than about
  750|       |         * |original s| + |original us|/1000000 now.
  751|       |         */
  752|       |
  753|      0|    }
  754|      2|    if (*s < 0 || *s >= 24*3600) {
  ------------------
  |  Branch (754:9): [True: 0, False: 2]
  |  Branch (754:19): [True: 0, False: 2]
  ------------------
  755|      0|        normalize_pair(d, s, 24*3600);
  756|       |        /* |d| can't be bigger than about
  757|       |         * |original d| +
  758|       |         * (|original s| + |original us|/1000000) / (24*3600) now.
  759|       |         */
  760|      0|    }
  761|      2|    assert(0 <= *s && *s < 24*3600);
  ------------------
  |  Branch (761:5): [True: 2, False: 0]
  |  Branch (761:5): [True: 2, False: 0]
  ------------------
  762|      2|    assert(0 <= *us && *us < 1000000);
  ------------------
  |  Branch (762:5): [True: 2, False: 0]
  |  Branch (762:5): [True: 2, False: 0]
  ------------------
  763|      2|}
_datetimemodule.c:check_delta_day_range:
  635|     16|{
  636|     16|    if (-MAX_DELTA_DAYS <= days && days <= MAX_DELTA_DAYS)
  ------------------
  |  |  278|     16|#define MAX_DELTA_DAYS 999999999
  ------------------
                  if (-MAX_DELTA_DAYS <= days && days <= MAX_DELTA_DAYS)
  ------------------
  |  |  278|     16|#define MAX_DELTA_DAYS 999999999
  ------------------
  |  Branch (636:9): [True: 16, False: 0]
  |  Branch (636:36): [True: 16, False: 0]
  ------------------
  637|     16|        return 0;
  638|      0|    PyErr_Format(PyExc_OverflowError,
  639|      0|                 "days=%d; must have magnitude <= %d",
  640|      0|                 days, MAX_DELTA_DAYS);
  ------------------
  |  |  278|      0|#define MAX_DELTA_DAYS 999999999
  ------------------
  641|      0|    return -1;
  642|     16|}
_datetimemodule.c:look_up_delta:
 3196|     16|{
 3197|     16|    if (days == 0 && seconds == 0 && microseconds == 0
  ------------------
  |  Branch (3197:9): [True: 8, False: 8]
  |  Branch (3197:22): [True: 6, False: 2]
  |  Branch (3197:38): [True: 0, False: 6]
  ------------------
 3198|      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 (3198:16): [True: 0, False: 0]
  ------------------
 3199|      0|    {
 3200|      0|        return &zero_delta;
 3201|      0|    }
 3202|     16|    return NULL;
 3203|     16|}
_datetimemodule.c:check_tzinfo_subclass:
 1497|      8|{
 1498|      8|    if (p == Py_None || PyTZInfo_Check(p))
  ------------------
  |  |  616|     16|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (p == Py_None || PyTZInfo_Check(p))
  ------------------
  |  |  103|      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 (1498:9): [True: 8, False: 0]
  ------------------
 1499|      8|        return 0;
 1500|      0|    PyErr_Format(PyExc_TypeError,
 1501|      0|                 "tzinfo argument must be None or of a tzinfo subclass, "
 1502|      0|                 "not type '%s'",
 1503|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1504|      0|    return -1;
 1505|      8|}
_datetimemodule.c:new_date_ex:
 1176|      4|{
 1177|      4|    PyDateTime_Date *self;
 1178|       |
 1179|      4|    if (check_date_args(year, month, day) < 0) {
  ------------------
  |  Branch (1179:9): [True: 0, False: 4]
  ------------------
 1180|      0|        return NULL;
 1181|      0|    }
 1182|       |
 1183|      4|    self = (PyDateTime_Date *)(type->tp_alloc(type, 0));
 1184|      4|    if (self != NULL)
  ------------------
  |  Branch (1184:9): [True: 4, False: 0]
  ------------------
 1185|      4|        set_date_fields(self, year, month, day);
 1186|      4|    return (PyObject *)self;
 1187|      4|}
_datetimemodule.c:check_date_args:
  649|      8|{
  650|       |
  651|      8|    if (year < MINYEAR || year > MAXYEAR) {
  ------------------
  |  |  269|     16|#define MINYEAR 1
  ------------------
                  if (year < MINYEAR || year > MAXYEAR) {
  ------------------
  |  |  270|      8|#define MAXYEAR 9999
  ------------------
  |  Branch (651:9): [True: 0, False: 8]
  |  Branch (651:27): [True: 0, False: 8]
  ------------------
  652|      0|        PyErr_Format(PyExc_ValueError,
  653|      0|                     "year must be in %d..%d, not %d", MINYEAR, MAXYEAR, year);
  ------------------
  |  |  269|      0|#define MINYEAR 1
  ------------------
                                   "year must be in %d..%d, not %d", MINYEAR, MAXYEAR, year);
  ------------------
  |  |  270|      0|#define MAXYEAR 9999
  ------------------
  654|      0|        return -1;
  655|      0|    }
  656|      8|    if (month < 1 || month > 12) {
  ------------------
  |  Branch (656:9): [True: 0, False: 8]
  |  Branch (656:22): [True: 0, False: 8]
  ------------------
  657|      0|        PyErr_Format(PyExc_ValueError,
  658|      0|                     "month must be in 1..12, not %d", month);
  659|      0|        return -1;
  660|      0|    }
  661|      8|    int dim = days_in_month(year, month);
  662|      8|    if (day < 1 || day > dim) {
  ------------------
  |  Branch (662:9): [True: 0, False: 8]
  |  Branch (662:20): [True: 0, False: 8]
  ------------------
  663|      0|        PyErr_Format(PyExc_ValueError,
  664|      0|                     "day %i must be in range 1..%d for month %i in year %i",
  665|      0|                     day, dim, month, year);
  666|      0|        return -1;
  667|      0|    }
  668|      8|    return 0;
  669|      8|}
_datetimemodule.c:set_date_fields:
  912|      8|{
  913|      8|    self->hashcode = -1;
  914|      8|    SET_YEAR(self, y);
  ------------------
  |  |  291|      8|#define SET_YEAR(o, v)          (((o)->data[0] = ((v) & 0xff00) >> 8), \
  |  |  292|      8|                 ((o)->data[1] = ((v) & 0x00ff)))
  ------------------
  915|      8|    SET_MONTH(self, m);
  ------------------
  |  |  293|      8|#define SET_MONTH(o, v)         (PyDateTime_GET_MONTH(o) = (v))
  |  |  ------------------
  |  |  |  |  124|      8|#define PyDateTime_GET_MONTH(o)    (((PyDateTime_Date*)(o))->data[2])
  |  |  ------------------
  ------------------
  916|      8|    SET_DAY(self, d);
  ------------------
  |  |  294|      8|#define SET_DAY(o, v)           (PyDateTime_GET_DAY(o) = (v))
  |  |  ------------------
  |  |  |  |  125|      8|#define PyDateTime_GET_DAY(o)      (((PyDateTime_Date*)(o))->data[3])
  |  |  ------------------
  ------------------
  917|      8|}
_datetimemodule.c:check_time_args:
  688|      8|{
  689|      8|    if (h < 0 || h > 23) {
  ------------------
  |  Branch (689:9): [True: 0, False: 8]
  |  Branch (689:18): [True: 0, False: 8]
  ------------------
  690|      0|        PyErr_Format(PyExc_ValueError, "hour must be in 0..23, not %i", h);
  691|      0|        return -1;
  692|      0|    }
  693|      8|    if (m < 0 || m > 59) {
  ------------------
  |  Branch (693:9): [True: 0, False: 8]
  |  Branch (693:18): [True: 0, False: 8]
  ------------------
  694|      0|        PyErr_Format(PyExc_ValueError, "minute must be in 0..59, not %i", m);
  695|      0|        return -1;
  696|      0|    }
  697|      8|    if (s < 0 || s > 59) {
  ------------------
  |  Branch (697:9): [True: 0, False: 8]
  |  Branch (697:18): [True: 0, False: 8]
  ------------------
  698|      0|        PyErr_Format(PyExc_ValueError, "second must be in 0..59, not %i", s);
  699|      0|        return -1;
  700|      0|    }
  701|      8|    if (us < 0 || us > 999999) {
  ------------------
  |  Branch (701:9): [True: 0, False: 8]
  |  Branch (701:19): [True: 0, False: 8]
  ------------------
  702|      0|        PyErr_Format(PyExc_ValueError,
  703|      0|                     "microsecond must be in 0..999999, not %i", us);
  704|      0|        return -1;
  705|      0|    }
  706|      8|    if (fold != 0 && fold != 1) {
  ------------------
  |  Branch (706:9): [True: 0, False: 8]
  |  Branch (706:22): [True: 0, False: 0]
  ------------------
  707|      0|        PyErr_Format(PyExc_ValueError,
  708|      0|                     "fold must be either 0 or 1, not %i", fold);
  709|      0|        return -1;
  710|      0|    }
  711|      8|    return 0;
  712|      8|}
_datetimemodule.c:create_timezone:
 1439|      4|{
 1440|      4|    PyDateTime_TimeZone *self;
 1441|      4|    PyTypeObject *type = TIMEZONE_TYPE(NO_STATE);
  ------------------
  |  |   83|      4|#define TIMEZONE_TYPE(st) &PyDateTime_TimeZoneType
  ------------------
 1442|       |
 1443|      4|    assert(offset != NULL);
  ------------------
  |  Branch (1443:5): [True: 4, False: 0]
  ------------------
 1444|      4|    assert(PyDelta_Check(offset));
  ------------------
  |  Branch (1444:5): [True: 4, False: 0]
  ------------------
 1445|      4|    assert(name == NULL || PyUnicode_Check(name));
  ------------------
  |  Branch (1445:5): [True: 4, False: 0]
  |  Branch (1445:5): [True: 0, False: 0]
  ------------------
 1446|       |
 1447|      4|    self = look_up_timezone(offset, name);
 1448|      4|    if (self != NULL) {
  ------------------
  |  Branch (1448:9): [True: 0, False: 4]
  ------------------
 1449|      0|        return (PyObject *)self;
 1450|      0|    }
 1451|      4|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (1451:5): [True: 4, False: 0]
  ------------------
 1452|       |
 1453|      4|    self = (PyDateTime_TimeZone *)(type->tp_alloc(type, 0));
 1454|      4|    if (self == NULL) {
  ------------------
  |  Branch (1454:9): [True: 0, False: 4]
  ------------------
 1455|      0|        return NULL;
 1456|      0|    }
 1457|      4|    self->offset = Py_NewRef(offset);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1458|      4|    self->name = Py_XNewRef(name);
  ------------------
  |  |  648|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1459|      4|    return (PyObject *)self;
 1460|      4|}
_datetimemodule.c:look_up_timezone:
 4655|      4|{
 4656|      4|    if (offset == utc_timezone.offset && name == NULL) {
  ------------------
  |  Branch (4656:9): [True: 0, False: 4]
  |  Branch (4656:42): [True: 0, False: 0]
  ------------------
 4657|      0|        return (PyDateTime_TimeZone *)CONST_UTC(NO_STATE);
  ------------------
  |  |  119|      0|#define CONST_UTC(st) ((PyObject *)&utc_timezone)
  ------------------
 4658|      0|    }
 4659|      4|    return NULL;
 4660|      4|}
_datetimemodule.c:time_alloc:
  882|      4|{
  883|      4|    size_t size = aware ? sizeof(PyDateTime_Time) : sizeof(_PyDateTime_BaseTime);
  ------------------
  |  Branch (883:19): [True: 0, False: 4]
  ------------------
  884|      4|    PyObject *self = (PyObject *)PyObject_Malloc(size);
  885|      4|    if (self == NULL) {
  ------------------
  |  Branch (885:9): [True: 0, False: 4]
  ------------------
  886|      0|        return PyErr_NoMemory();
  887|      0|    }
  888|      4|    _PyObject_Init(self, type);
  889|      4|    return self;
  890|      4|}
_datetimemodule.c:new_time_ex2:
 1327|      4|{
 1328|      4|    PyDateTime_Time *self;
 1329|      4|    char aware = tzinfo != Py_None;
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1330|       |
 1331|      4|    if (check_time_args(hour, minute, second, usecond, fold) < 0) {
  ------------------
  |  Branch (1331:9): [True: 0, False: 4]
  ------------------
 1332|      0|        return NULL;
 1333|      0|    }
 1334|      4|    if (check_tzinfo_subclass(tzinfo) < 0) {
  ------------------
  |  Branch (1334:9): [True: 0, False: 4]
  ------------------
 1335|      0|        return NULL;
 1336|      0|    }
 1337|       |
 1338|      4|    self = (PyDateTime_Time *) (type->tp_alloc(type, aware));
 1339|      4|    if (self != NULL) {
  ------------------
  |  Branch (1339:9): [True: 4, False: 0]
  ------------------
 1340|      4|        self->hastzinfo = aware;
 1341|      4|        self->hashcode = -1;
 1342|      4|        TIME_SET_HOUR(self, hour);
  ------------------
  |  |  312|      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])
  |  |  ------------------
  ------------------
 1343|      4|        TIME_SET_MINUTE(self, minute);
  ------------------
  |  |  313|      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])
  |  |  ------------------
  ------------------
 1344|      4|        TIME_SET_SECOND(self, second);
  ------------------
  |  |  314|      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])
  |  |  ------------------
  ------------------
 1345|      4|        TIME_SET_MICROSECOND(self, usecond);
  ------------------
  |  |  316|      4|    (((o)->data[3] = ((v) & 0xff0000) >> 16), \
  |  |  317|      4|     ((o)->data[4] = ((v) & 0x00ff00) >> 8), \
  |  |  318|      4|     ((o)->data[5] = ((v) & 0x0000ff)))
  ------------------
 1346|      4|        if (aware) {
  ------------------
  |  Branch (1346:13): [True: 0, False: 4]
  ------------------
 1347|      0|            self->tzinfo = Py_NewRef(tzinfo);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1348|      0|        }
 1349|      4|        TIME_SET_FOLD(self, fold);
  ------------------
  |  |  319|      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)
  |  |  ------------------
  ------------------
 1350|      4|    }
 1351|      4|    return (PyObject *)self;
 1352|      4|}
_datetimemodule.c:datetime_alloc:
  894|      4|{
  895|      4|    size_t size = aware ? sizeof(PyDateTime_DateTime) : sizeof(_PyDateTime_BaseDateTime);
  ------------------
  |  Branch (895:19): [True: 0, False: 4]
  ------------------
  896|      4|    PyObject *self = (PyObject *)PyObject_Malloc(size);
  897|      4|    if (self == NULL) {
  ------------------
  |  Branch (897:9): [True: 0, False: 4]
  ------------------
  898|      0|        return PyErr_NoMemory();
  899|      0|    }
  900|      4|    _PyObject_Init(self, type);
  901|      4|    return self;
  902|      4|}
_datetimemodule.c:new_datetime_ex2:
 1219|      4|{
 1220|      4|    PyDateTime_DateTime *self;
 1221|      4|    char aware = tzinfo != Py_None;
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1222|       |
 1223|      4|    if (check_date_args(year, month, day) < 0) {
  ------------------
  |  Branch (1223:9): [True: 0, False: 4]
  ------------------
 1224|      0|        return NULL;
 1225|      0|    }
 1226|      4|    if (check_time_args(hour, minute, second, usecond, fold) < 0) {
  ------------------
  |  Branch (1226:9): [True: 0, False: 4]
  ------------------
 1227|      0|        return NULL;
 1228|      0|    }
 1229|      4|    if (check_tzinfo_subclass(tzinfo) < 0) {
  ------------------
  |  Branch (1229:9): [True: 0, False: 4]
  ------------------
 1230|      0|        return NULL;
 1231|      0|    }
 1232|       |
 1233|      4|    self = (PyDateTime_DateTime *) (type->tp_alloc(type, aware));
 1234|      4|    if (self != NULL) {
  ------------------
  |  Branch (1234:9): [True: 4, False: 0]
  ------------------
 1235|      4|        self->hastzinfo = aware;
 1236|      4|        set_date_fields((PyDateTime_Date *)self, year, month, day);
 1237|      4|        DATE_SET_HOUR(self, hour);
  ------------------
  |  |  297|      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])
  |  |  ------------------
  ------------------
 1238|      4|        DATE_SET_MINUTE(self, minute);
  ------------------
  |  |  298|      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])
  |  |  ------------------
  ------------------
 1239|      4|        DATE_SET_SECOND(self, second);
  ------------------
  |  |  299|      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])
  |  |  ------------------
  ------------------
 1240|      4|        DATE_SET_MICROSECOND(self, usecond);
  ------------------
  |  |  301|      4|    (((o)->data[7] = ((v) & 0xff0000) >> 16), \
  |  |  302|      4|     ((o)->data[8] = ((v) & 0x00ff00) >> 8), \
  |  |  303|      4|     ((o)->data[9] = ((v) & 0x0000ff)))
  ------------------
 1241|      4|        if (aware) {
  ------------------
  |  Branch (1241:13): [True: 0, False: 4]
  ------------------
 1242|      0|            self->tzinfo = Py_NewRef(tzinfo);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1243|      0|        }
 1244|      4|        DATE_SET_FOLD(self, fold);
  ------------------
  |  |  304|      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)
  |  |  ------------------
  ------------------
 1245|      4|    }
 1246|      4|    return (PyObject *)self;
 1247|      4|}
_datetimemodule.c:create_timezone_from_delta:
 7508|      4|{
 7509|      4|    PyObject *delta = new_delta(days, sec, ms, normalize);
  ------------------
  |  | 1421|      4|    new_delta_ex(d, s, us, normalize, DELTA_TYPE(NO_STATE))
  |  |  ------------------
  |  |  |  |   81|      4|#define DELTA_TYPE(st) &PyDateTime_DeltaType
  |  |  ------------------
  ------------------
 7510|      4|    if (delta == NULL) {
  ------------------
  |  Branch (7510:9): [True: 0, False: 4]
  ------------------
 7511|      0|        return NULL;
 7512|      0|    }
 7513|      4|    PyObject *tz = create_timezone(delta, NULL);
 7514|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7515|      4|    return tz;
 7516|      4|}

PyInit__functools:
 1982|      1|{
 1983|      1|    return PyModuleDef_Init(&_functools_module);
 1984|      1|}
_functoolsmodule.c:get_functools_state:
   38|      5|{
   39|      5|    void *state = _PyModule_GetState(module);
   40|      5|    assert(state != NULL);
  ------------------
  |  Branch (40:5): [True: 5, False: 0]
  ------------------
   41|      5|    return (_functools_state *)state;
   42|      5|}
_functoolsmodule.c:_functools_exec:
 1874|      1|{
 1875|      1|    _functools_state *state = get_functools_state(module);
 1876|      1|    state->kwd_mark = _PyObject_CallNoArgs((PyObject *)&PyBaseObject_Type);
 1877|      1|    if (state->kwd_mark == NULL) {
  ------------------
  |  Branch (1877:9): [True: 0, False: 1]
  ------------------
 1878|      0|        return -1;
 1879|      0|    }
 1880|       |
 1881|      1|    PyObject *placeholder = PySentinel_New("Placeholder", "functools", NULL);
 1882|      1|    if (placeholder == NULL) {
  ------------------
  |  Branch (1882:9): [True: 0, False: 1]
  ------------------
 1883|      0|        return -1;
 1884|      0|    }
 1885|      1|    if (PyModule_AddObjectRef(module, "Placeholder", placeholder) < 0) {
  ------------------
  |  Branch (1885:9): [True: 0, False: 1]
  ------------------
 1886|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1887|      0|        return -1;
 1888|      0|    }
 1889|      1|    state->placeholder = placeholder;
 1890|       |
 1891|      1|    state->partial_type = (PyTypeObject *)PyType_FromModuleAndSpec(module,
 1892|      1|        &partial_type_spec, NULL);
 1893|      1|    if (state->partial_type == NULL) {
  ------------------
  |  Branch (1893:9): [True: 0, False: 1]
  ------------------
 1894|      0|        return -1;
 1895|      0|    }
 1896|      1|    if (PyModule_AddType(module, state->partial_type) < 0) {
  ------------------
  |  Branch (1896:9): [True: 0, False: 1]
  ------------------
 1897|      0|        return -1;
 1898|      0|    }
 1899|       |
 1900|      1|    PyObject *lru_cache_type = PyType_FromModuleAndSpec(module,
 1901|      1|        &lru_cache_type_spec, NULL);
 1902|      1|    if (lru_cache_type == NULL) {
  ------------------
  |  Branch (1902:9): [True: 0, False: 1]
  ------------------
 1903|      0|        return -1;
 1904|      0|    }
 1905|      1|    if (PyModule_AddType(module, (PyTypeObject *)lru_cache_type) < 0) {
  ------------------
  |  Branch (1905:9): [True: 0, False: 1]
  ------------------
 1906|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1907|      0|        return -1;
 1908|      0|    }
 1909|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1910|       |
 1911|      1|    state->keyobject_type = (PyTypeObject *)PyType_FromModuleAndSpec(module,
 1912|      1|        &keyobject_type_spec, NULL);
 1913|      1|    if (state->keyobject_type == NULL) {
  ------------------
  |  Branch (1913:9): [True: 0, False: 1]
  ------------------
 1914|      0|        return -1;
 1915|      0|    }
 1916|       |    // keyobject_type is used only internally.
 1917|       |    // So we don't expose it in module namespace.
 1918|       |
 1919|      1|    state->lru_list_elem_type = (PyTypeObject *)PyType_FromModuleAndSpec(
 1920|      1|        module, &lru_list_elem_type_spec, NULL);
 1921|      1|    if (state->lru_list_elem_type == NULL) {
  ------------------
  |  Branch (1921:9): [True: 0, False: 1]
  ------------------
 1922|      0|        return -1;
 1923|      0|    }
 1924|       |    // lru_list_elem is used only in _lru_cache_wrapper.
 1925|       |    // So we don't expose it in module namespace.
 1926|       |
 1927|      1|    return 0;
 1928|      1|}
_functoolsmodule.c:get_functools_state_by_type:
   79|      2|{
   80|      2|    PyObject *module = PyType_GetModuleByDef(type, &_functools_module);
   81|      2|    if (module == NULL) {
  ------------------
  |  Branch (81:9): [True: 0, False: 2]
  ------------------
   82|      0|        return NULL;
   83|      0|    }
   84|      2|    return get_functools_state(module);
   85|      2|}
_functoolsmodule.c:lru_cache_new:
 1549|      2|{
 1550|      2|    PyObject *func, *maxsize_O, *cache_info_type, *cachedict;
 1551|      2|    int typed;
 1552|      2|    lru_cache_object *obj;
 1553|      2|    Py_ssize_t maxsize;
 1554|      2|    PyObject *(*wrapper)(lru_cache_object *, PyObject *, PyObject *);
 1555|      2|    _functools_state *state;
 1556|      2|    static char *keywords[] = {"user_function", "maxsize", "typed",
 1557|      2|                               "cache_info_type", NULL};
 1558|       |
 1559|      2|    if (!PyArg_ParseTupleAndKeywords(args, kw, "OOpO:lru_cache", keywords,
  ------------------
  |  Branch (1559:9): [True: 0, False: 2]
  ------------------
 1560|      2|                                     &func, &maxsize_O, &typed,
 1561|      2|                                     &cache_info_type)) {
 1562|      0|        return NULL;
 1563|      0|    }
 1564|       |
 1565|      2|    if (!PyCallable_Check(func)) {
  ------------------
  |  Branch (1565:9): [True: 0, False: 2]
  ------------------
 1566|      0|        PyErr_SetString(PyExc_TypeError,
 1567|      0|                        "the first argument must be callable");
 1568|      0|        return NULL;
 1569|      0|    }
 1570|       |
 1571|      2|    state = get_functools_state_by_type(type);
 1572|      2|    if (state == NULL) {
  ------------------
  |  Branch (1572:9): [True: 0, False: 2]
  ------------------
 1573|      0|        return NULL;
 1574|      0|    }
 1575|       |
 1576|       |    /* select the caching function, and make/inc maxsize_O */
 1577|      2|    if (maxsize_O == Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1577:9): [True: 0, False: 2]
  ------------------
 1578|      0|        wrapper = infinite_lru_cache_wrapper;
 1579|       |        /* use this only to initialize lru_cache_object attribute maxsize */
 1580|      0|        maxsize = -1;
 1581|      2|    } else if (PyIndex_Check(maxsize_O)) {
  ------------------
  |  Branch (1581:16): [True: 2, False: 0]
  ------------------
 1582|      2|        maxsize = PyNumber_AsSsize_t(maxsize_O, PyExc_OverflowError);
 1583|      2|        if (maxsize == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1583:13): [True: 0, False: 2]
  |  Branch (1583:30): [True: 0, False: 0]
  ------------------
 1584|      0|            return NULL;
 1585|      2|        if (maxsize < 0) {
  ------------------
  |  Branch (1585:13): [True: 0, False: 2]
  ------------------
 1586|      0|            maxsize = 0;
 1587|      0|        }
 1588|      2|        if (maxsize == 0)
  ------------------
  |  Branch (1588:13): [True: 0, False: 2]
  ------------------
 1589|      0|            wrapper = uncached_lru_cache_wrapper;
 1590|      2|        else
 1591|      2|            wrapper = bounded_lru_cache_wrapper;
 1592|      2|    } else {
 1593|      0|        PyErr_SetString(PyExc_TypeError, "maxsize should be integer or None");
 1594|      0|        return NULL;
 1595|      0|    }
 1596|       |
 1597|      2|    if (!(cachedict = PyDict_New()))
  ------------------
  |  Branch (1597:9): [True: 0, False: 2]
  ------------------
 1598|      0|        return NULL;
 1599|       |
 1600|      2|    obj = (lru_cache_object *)type->tp_alloc(type, 0);
 1601|      2|    if (obj == NULL) {
  ------------------
  |  Branch (1601:9): [True: 0, False: 2]
  ------------------
 1602|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1603|      0|        return NULL;
 1604|      0|    }
 1605|       |
 1606|      2|    obj->root.prev = &obj->root;
 1607|      2|    obj->root.next = &obj->root;
 1608|      2|    obj->wrapper = wrapper;
 1609|      2|    obj->typed = typed;
 1610|      2|    obj->cache = cachedict;
 1611|      2|    obj->func = Py_NewRef(func);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1612|      2|    obj->misses = obj->hits = 0;
 1613|      2|    obj->maxsize = maxsize;
 1614|      2|    obj->kwd_mark = Py_NewRef(state->kwd_mark);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1615|      2|    obj->lru_list_elem_type = (PyTypeObject*)Py_NewRef(state->lru_list_elem_type);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1616|      2|    obj->cache_info_type = Py_NewRef(cache_info_type);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1617|      2|    obj->dict = NULL;
 1618|       |    obj->weakreflist = NULL;
 1619|      2|    return (PyObject *)obj;
 1620|      2|}
_functoolsmodule.c:_functools_traverse:
 1932|      2|{
 1933|      2|    _functools_state *state = get_functools_state(module);
 1934|      2|    Py_VISIT(state->kwd_mark);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1935|      2|    Py_VISIT(state->placeholder);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1936|      2|    Py_VISIT(state->partial_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1937|      2|    Py_VISIT(state->keyobject_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1938|      2|    Py_VISIT(state->lru_list_elem_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1939|      2|    return 0;
 1940|      2|}

PyNumber_AsOff_t:
  526|     37|{
  527|     37|    Py_off_t result;
  528|     37|    PyObject *runerr;
  529|     37|    PyObject *value = _PyNumber_Index(item);
  530|     37|    if (value == NULL)
  ------------------
  |  Branch (530:9): [True: 0, False: 37]
  ------------------
  531|      0|        return -1;
  532|       |
  533|       |    /* We're done if PyLong_AsSsize_t() returns without error. */
  534|     37|    result = PyLong_AsOff_t(value);
  ------------------
  |  |  109|     37|# define PyLong_AsOff_t     PyLong_AsSsize_t
  ------------------
  535|     37|    if (result != -1 || !(runerr = PyErr_Occurred()))
  ------------------
  |  Branch (535:9): [True: 37, False: 0]
  |  Branch (535:25): [True: 0, False: 0]
  ------------------
  536|     37|        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;
  ------------------
  |  |  112|      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;
  ------------------
  |  |  111|      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|     37| finish:
  561|     37|    Py_DECREF(value);
  ------------------
  |  |  430|     37|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|     37|    return result;
  563|      0|}
PyInit__io:
  745|      2|{
  746|      2|    return PyModuleDef_Init(&_PyIO_Module);
  747|      2|}
_iomodule.c:_io_open_impl:
  204|     33|{
  205|     33|    size_t i;
  206|       |
  207|     33|    int creating = 0, reading = 0, writing = 0, appending = 0, updating = 0;
  208|     33|    int text = 0, binary = 0;
  209|       |
  210|     33|    char rawmode[6], *m;
  211|     33|    int line_buffering, is_number, isatty = 0;
  212|       |
  213|     33|    PyObject *raw, *modeobj = NULL, *buffer, *wrapper, *result = NULL, *path_or_fd = NULL;
  214|       |
  215|     33|    is_number = PyNumber_Check(file);
  216|       |
  217|     33|    if (is_number) {
  ------------------
  |  Branch (217:9): [True: 6, False: 27]
  ------------------
  218|      6|        path_or_fd = Py_NewRef(file);
  ------------------
  |  |  647|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  219|     27|    } else {
  220|     27|        path_or_fd = PyOS_FSPath(file);
  221|     27|        if (path_or_fd == NULL) {
  ------------------
  |  Branch (221:13): [True: 0, False: 27]
  ------------------
  222|      0|            return NULL;
  223|      0|        }
  224|     27|    }
  225|       |
  226|     33|    if (!is_number &&
  ------------------
  |  Branch (226:9): [True: 27, False: 6]
  ------------------
  227|     33|        !PyUnicode_Check(path_or_fd) &&
  ------------------
  |  |  103|     27|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     60|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (227:9): [True: 0, False: 27]
  ------------------
  228|      0|        !PyBytes_Check(path_or_fd)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (228:9): [True: 0, False: 0]
  ------------------
  229|      0|        PyErr_Format(PyExc_TypeError, "invalid file: %R", file);
  230|      0|        goto error;
  231|      0|    }
  232|       |
  233|       |    /* Decode mode */
  234|     99|    for (i = 0; i < strlen(mode); i++) {
  ------------------
  |  Branch (234:17): [True: 66, False: 33]
  ------------------
  235|     66|        char c = mode[i];
  236|       |
  237|     66|        switch (c) {
  238|      0|        case 'x':
  ------------------
  |  Branch (238:9): [True: 0, False: 66]
  ------------------
  239|      0|            creating = 1;
  240|      0|            break;
  241|     29|        case 'r':
  ------------------
  |  Branch (241:9): [True: 29, False: 37]
  ------------------
  242|     29|            reading = 1;
  243|     29|            break;
  244|      4|        case 'w':
  ------------------
  |  Branch (244:9): [True: 4, False: 62]
  ------------------
  245|      4|            writing = 1;
  246|      4|            break;
  247|      0|        case 'a':
  ------------------
  |  Branch (247:9): [True: 0, False: 66]
  ------------------
  248|      0|            appending = 1;
  249|      0|            break;
  250|      0|        case '+':
  ------------------
  |  Branch (250:9): [True: 0, False: 66]
  ------------------
  251|      0|            updating = 1;
  252|      0|            break;
  253|      0|        case 't':
  ------------------
  |  Branch (253:9): [True: 0, False: 66]
  ------------------
  254|      0|            text = 1;
  255|      0|            break;
  256|     33|        case 'b':
  ------------------
  |  Branch (256:9): [True: 33, False: 33]
  ------------------
  257|     33|            binary = 1;
  258|     33|            break;
  259|      0|        default:
  ------------------
  |  Branch (259:9): [True: 0, False: 66]
  ------------------
  260|      0|            goto invalid_mode;
  261|     66|        }
  262|       |
  263|       |        /* c must not be duplicated */
  264|     66|        if (strchr(mode+i+1, c)) {
  ------------------
  |  Branch (264:13): [True: 0, False: 66]
  ------------------
  265|      0|          invalid_mode:
  266|      0|            PyErr_Format(PyExc_ValueError, "invalid mode: '%s'", mode);
  267|      0|            goto error;
  268|      0|        }
  269|       |
  270|     66|    }
  271|       |
  272|     33|    m = rawmode;
  273|     33|    if (creating)  *(m++) = 'x';
  ------------------
  |  Branch (273:9): [True: 0, False: 33]
  ------------------
  274|     33|    if (reading)   *(m++) = 'r';
  ------------------
  |  Branch (274:9): [True: 29, False: 4]
  ------------------
  275|     33|    if (writing)   *(m++) = 'w';
  ------------------
  |  Branch (275:9): [True: 4, False: 29]
  ------------------
  276|     33|    if (appending) *(m++) = 'a';
  ------------------
  |  Branch (276:9): [True: 0, False: 33]
  ------------------
  277|     33|    if (updating)  *(m++) = '+';
  ------------------
  |  Branch (277:9): [True: 0, False: 33]
  ------------------
  278|     33|    *m = '\0';
  279|       |
  280|       |    /* Parameters validation */
  281|     33|    if (text && binary) {
  ------------------
  |  Branch (281:9): [True: 0, False: 33]
  |  Branch (281:17): [True: 0, False: 0]
  ------------------
  282|      0|        PyErr_SetString(PyExc_ValueError,
  283|      0|                        "can't have text and binary mode at once");
  284|      0|        goto error;
  285|      0|    }
  286|       |
  287|     33|    if (creating + reading + writing + appending > 1) {
  ------------------
  |  Branch (287:9): [True: 0, False: 33]
  ------------------
  288|      0|        PyErr_SetString(PyExc_ValueError,
  289|      0|                        "must have exactly one of create/read/write/append mode");
  290|      0|        goto error;
  291|      0|    }
  292|       |
  293|     33|    if (binary && encoding != NULL) {
  ------------------
  |  Branch (293:9): [True: 33, False: 0]
  |  Branch (293:19): [True: 0, False: 33]
  ------------------
  294|      0|        PyErr_SetString(PyExc_ValueError,
  295|      0|                        "binary mode doesn't take an encoding argument");
  296|      0|        goto error;
  297|      0|    }
  298|       |
  299|     33|    if (binary && errors != NULL) {
  ------------------
  |  Branch (299:9): [True: 33, False: 0]
  |  Branch (299:19): [True: 0, False: 33]
  ------------------
  300|      0|        PyErr_SetString(PyExc_ValueError,
  301|      0|                        "binary mode doesn't take an errors argument");
  302|      0|        goto error;
  303|      0|    }
  304|       |
  305|     33|    if (binary && newline != NULL) {
  ------------------
  |  Branch (305:9): [True: 33, False: 0]
  |  Branch (305:19): [True: 0, False: 33]
  ------------------
  306|      0|        PyErr_SetString(PyExc_ValueError,
  307|      0|                        "binary mode doesn't take a newline argument");
  308|      0|        goto error;
  309|      0|    }
  310|       |
  311|     33|    if (binary && buffering == 1) {
  ------------------
  |  Branch (311:9): [True: 33, False: 0]
  |  Branch (311:19): [True: 0, False: 33]
  ------------------
  312|      0|        if (PyErr_WarnEx(PyExc_RuntimeWarning,
  ------------------
  |  Branch (312:13): [True: 0, False: 0]
  ------------------
  313|      0|                         "line buffering (buffering=1) isn't supported in "
  314|      0|                         "binary mode, the default buffer size will be used",
  315|      0|                         1) < 0) {
  316|      0|           goto error;
  317|      0|        }
  318|      0|    }
  319|       |
  320|       |    /* Create the Raw file stream */
  321|     33|    _PyIO_State *state = get_io_state(module);
  322|     33|    {
  323|     33|        PyObject *RawIO_class = (PyObject *)state->PyFileIO_Type;
  324|       |#ifdef HAVE_WINDOWS_CONSOLE_IO
  325|       |        const PyConfig *config = _Py_GetConfig();
  326|       |        if (!config->legacy_windows_stdio && _PyIO_get_console_type(path_or_fd) != '\0') {
  327|       |            RawIO_class = (PyObject *)state->PyWindowsConsoleIO_Type;
  328|       |            encoding = "utf-8";
  329|       |        }
  330|       |#endif
  331|     33|        raw = PyObject_CallFunction(RawIO_class, "OsOO",
  332|     33|                                    path_or_fd, rawmode,
  333|     33|                                    closefd ? Py_True : Py_False,
  ------------------
  |  |   26|     33|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                  closefd ? Py_True : Py_False,
  ------------------
  |  |   25|     33|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (333:37): [True: 27, False: 6]
  ------------------
  334|     33|                                    opener);
  335|     33|    }
  336|       |
  337|     33|    if (raw == NULL)
  ------------------
  |  Branch (337:9): [True: 0, False: 33]
  ------------------
  338|      0|        goto error;
  339|     33|    result = raw;
  340|       |
  341|     33|    Py_SETREF(path_or_fd, NULL);
  ------------------
  |  |  545|     33|    do { \
  |  |  546|     33|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|     33|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|     33|        *_tmp_dst_ptr = (src); \
  |  |  549|     33|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|     33|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|     33|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 33]
  |  |  ------------------
  ------------------
  342|       |
  343|     33|    modeobj = PyUnicode_FromString(mode);
  344|     33|    if (modeobj == NULL)
  ------------------
  |  Branch (344:9): [True: 0, False: 33]
  ------------------
  345|      0|        goto error;
  346|       |
  347|       |    /* buffering */
  348|     33|    if (buffering < 0) {
  ------------------
  |  Branch (348:9): [True: 33, False: 0]
  ------------------
  349|     33|        PyObject *res = PyObject_CallMethodNoArgs(raw, &_Py_ID(_isatty_open_only));
  ------------------
  |  |  951|     33|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     33|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     33|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  350|     33|        if (res == NULL)
  ------------------
  |  Branch (350:13): [True: 0, False: 33]
  ------------------
  351|      0|            goto error;
  352|     33|        isatty = PyObject_IsTrue(res);
  353|     33|        Py_DECREF(res);
  ------------------
  |  |  430|     33|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  354|     33|        if (isatty < 0)
  ------------------
  |  Branch (354:13): [True: 0, False: 33]
  ------------------
  355|      0|            goto error;
  356|     33|    }
  357|       |
  358|     33|    if (buffering == 1 || isatty) {
  ------------------
  |  Branch (358:9): [True: 0, False: 33]
  |  Branch (358:27): [True: 0, False: 33]
  ------------------
  359|      0|        buffering = -1;
  360|      0|        line_buffering = 1;
  361|      0|    }
  362|     33|    else
  363|     33|        line_buffering = 0;
  364|       |
  365|     33|    if (buffering < 0) {
  ------------------
  |  Branch (365:9): [True: 33, False: 0]
  ------------------
  366|     33|        PyObject *blksize_obj;
  367|     33|        blksize_obj = PyObject_GetAttr(raw, &_Py_ID(_blksize));
  ------------------
  |  |  951|     33|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     33|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     33|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  368|     33|        if (blksize_obj == NULL)
  ------------------
  |  Branch (368:13): [True: 0, False: 33]
  ------------------
  369|      0|            goto error;
  370|     33|        buffering = PyLong_AsLong(blksize_obj);
  371|     33|        Py_DECREF(blksize_obj);
  ------------------
  |  |  430|     33|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|     33|        if (buffering == -1 && PyErr_Occurred())
  ------------------
  |  Branch (372:13): [True: 0, False: 33]
  |  Branch (372:32): [True: 0, False: 0]
  ------------------
  373|      0|            goto error;
  374|     33|        buffering = Py_MAX(Py_MIN(buffering, 8192 * 1024), DEFAULT_BUFFER_SIZE);
  ------------------
  |  |  133|     33|       __extension__ \
  |  |  134|     66|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  |  Branch (134:38): [True: 33, False: 0]
  |  |  ------------------
  |  |  135|     33|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|     33|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 33]
  |  |  ------------------
  ------------------
  375|     33|    }
  376|     33|    if (buffering < 0) {
  ------------------
  |  Branch (376:9): [True: 0, False: 33]
  ------------------
  377|      0|        PyErr_SetString(PyExc_ValueError,
  378|      0|                        "invalid buffering size");
  379|      0|        goto error;
  380|      0|    }
  381|       |
  382|       |    /* if not buffering, returns the raw file object */
  383|     33|    if (buffering == 0) {
  ------------------
  |  Branch (383:9): [True: 0, False: 33]
  ------------------
  384|      0|        if (!binary) {
  ------------------
  |  Branch (384:13): [True: 0, False: 0]
  ------------------
  385|      0|            PyErr_SetString(PyExc_ValueError,
  386|      0|                            "can't have unbuffered text I/O");
  387|      0|            goto error;
  388|      0|        }
  389|       |
  390|      0|        Py_DECREF(modeobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  391|      0|        return result;
  392|      0|    }
  393|       |
  394|       |    /* wraps into a buffered file */
  395|     33|    {
  396|     33|        PyObject *Buffered_class;
  397|       |
  398|     33|        if (updating) {
  ------------------
  |  Branch (398:13): [True: 0, False: 33]
  ------------------
  399|      0|            Buffered_class = (PyObject *)state->PyBufferedRandom_Type;
  400|      0|        }
  401|     33|        else if (creating || writing || appending) {
  ------------------
  |  Branch (401:18): [True: 0, False: 33]
  |  Branch (401:30): [True: 4, False: 29]
  |  Branch (401:41): [True: 0, False: 29]
  ------------------
  402|      4|            Buffered_class = (PyObject *)state->PyBufferedWriter_Type;
  403|      4|        }
  404|     29|        else if (reading) {
  ------------------
  |  Branch (404:18): [True: 29, False: 0]
  ------------------
  405|     29|            Buffered_class = (PyObject *)state->PyBufferedReader_Type;
  406|     29|        }
  407|      0|        else {
  408|      0|            PyErr_Format(PyExc_ValueError,
  409|      0|                         "unknown mode: '%s'", mode);
  410|      0|            goto error;
  411|      0|        }
  412|       |
  413|     33|        buffer = PyObject_CallFunction(Buffered_class, "Oi", raw, buffering);
  414|     33|    }
  415|     33|    if (buffer == NULL)
  ------------------
  |  Branch (415:9): [True: 0, False: 33]
  ------------------
  416|      0|        goto error;
  417|     33|    result = buffer;
  418|     33|    Py_DECREF(raw);
  ------------------
  |  |  430|     33|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  419|       |
  420|       |
  421|       |    /* if binary, returns the buffered file */
  422|     33|    if (binary) {
  ------------------
  |  Branch (422:9): [True: 33, False: 0]
  ------------------
  423|     33|        Py_DECREF(modeobj);
  ------------------
  |  |  430|     33|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  424|     33|        return result;
  425|     33|    }
  426|       |
  427|       |    /* wraps into a TextIOWrapper */
  428|      0|    wrapper = PyObject_CallFunction((PyObject *)state->PyTextIOWrapper_Type,
  429|      0|                                    "OsssO",
  430|      0|                                    buffer,
  431|      0|                                    encoding, errors, newline,
  432|      0|                                    line_buffering ? Py_True : Py_False);
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                  line_buffering ? Py_True : Py_False);
  ------------------
  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (432:37): [True: 0, False: 0]
  ------------------
  433|      0|    if (wrapper == NULL)
  ------------------
  |  Branch (433:9): [True: 0, False: 0]
  ------------------
  434|      0|        goto error;
  435|      0|    result = wrapper;
  436|      0|    Py_DECREF(buffer);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  437|       |
  438|      0|    if (PyObject_SetAttr(wrapper, &_Py_ID(mode), modeobj) < 0)
  ------------------
  |  |  951|      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));
  ------------------
  |  |  951|      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);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) 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);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) 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);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) 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|     27|{
  517|     27|    return PyFile_OpenCodeObject(path);
  518|     27|}
_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)
  ------------------
  |  |  951|      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|      4|iomodule_traverse(PyObject *mod, visitproc visit, void *arg) {
  567|      4|    _PyIO_State *state = get_io_state(mod);
  568|      4|    Py_VISIT(state->unsupported_operation);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  569|       |
  570|      4|    Py_VISIT(state->PyIOBase_Type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  571|      4|    Py_VISIT(state->PyIncrementalNewlineDecoder_Type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  572|      4|    Py_VISIT(state->PyRawIOBase_Type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  573|      4|    Py_VISIT(state->PyBufferedIOBase_Type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  574|      4|    Py_VISIT(state->PyBufferedRWPair_Type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  575|      4|    Py_VISIT(state->PyBufferedRandom_Type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  576|      4|    Py_VISIT(state->PyBufferedReader_Type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  577|      4|    Py_VISIT(state->PyBufferedWriter_Type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  578|      4|    Py_VISIT(state->PyBytesIOBuffer_Type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  579|      4|    Py_VISIT(state->PyBytesIO_Type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  580|      4|    Py_VISIT(state->PyFileIO_Type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  581|      4|    Py_VISIT(state->PyStringIO_Type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  582|      4|    Py_VISIT(state->PyTextIOBase_Type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  583|      4|    Py_VISIT(state->PyTextIOWrapper_Type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  584|       |#ifdef HAVE_WINDOWS_CONSOLE_IO
  585|       |    Py_VISIT(state->PyWindowsConsoleIO_Type);
  586|       |#endif
  587|      4|    return 0;
  588|      4|}

_iomodule.c:get_io_state:
  169|     39|{
  170|     39|    void *state = _PyModule_GetState(module);
  171|     39|    assert(state != NULL);
  ------------------
  |  Branch (171:5): [True: 39, False: 0]
  ------------------
  172|     39|    return (_PyIO_State *)state;
  173|     39|}
fileio.c:get_io_state_by_cls:
  177|     27|{
  178|     27|    void *state = _PyType_GetModuleState(cls);
  179|     27|    assert(state != NULL);
  ------------------
  |  Branch (179:5): [True: 27, False: 0]
  ------------------
  180|     27|    return (_PyIO_State *)state;
  181|     27|}
bufferedio.c:find_io_state_by_def:
  185|     33|{
  186|     33|    PyObject *mod = PyType_GetModuleByDef(type, &_PyIO_Module);
  187|     33|    assert(mod != NULL);
  ------------------
  |  Branch (187:5): [True: 33, False: 0]
  ------------------
  188|     33|    return get_io_state(mod);
  189|     33|}
bufferedio.c:get_io_state:
  169|     33|{
  170|     33|    void *state = _PyModule_GetState(module);
  171|     33|    assert(state != NULL);
  ------------------
  |  Branch (171:5): [True: 33, False: 0]
  ------------------
  172|     33|    return (_PyIO_State *)state;
  173|     33|}
textio.c:find_io_state_by_def:
  185|      6|{
  186|      6|    PyObject *mod = PyType_GetModuleByDef(type, &_PyIO_Module);
  187|      6|    assert(mod != NULL);
  ------------------
  |  Branch (187:5): [True: 6, False: 0]
  ------------------
  188|      6|    return get_io_state(mod);
  189|      6|}
textio.c:get_io_state:
  169|      6|{
  170|      6|    void *state = _PyModule_GetState(module);
  171|      6|    assert(state != NULL);
  ------------------
  |  Branch (171:5): [True: 6, False: 0]
  ------------------
  172|      6|    return (_PyIO_State *)state;
  173|      6|}

bufferedio.c:buffered_dealloc:
  431|     27|{
  432|     27|    buffered *self = buffered_CAST(op);
  ------------------
  |  |  272|     27|#define buffered_CAST(op)   ((buffered *)(op))
  ------------------
  433|     27|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|     27|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  434|     27|    self->finalizing = 1;
  435|     27|    if (_PyIOBase_finalize(op) < 0)
  ------------------
  |  Branch (435:9): [True: 0, False: 27]
  ------------------
  436|      0|        return;
  437|     27|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|     27|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  438|     27|    self->ok = 0;
  439|     27|    FT_CLEAR_WEAKREFS(op, self->weakreflist);
  ------------------
  |  |   47|     27|    do {                                            \
  |  |   48|     27|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|     27|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 27]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|     27|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 27]
  |  |  ------------------
  ------------------
  |  Branch (439:5): [True: 27, False: 0]
  ------------------
  440|     27|    if (self->buffer) {
  ------------------
  |  Branch (440:9): [True: 0, False: 27]
  ------------------
  441|      0|        PyMem_Free(self->buffer);
  442|      0|        self->buffer = NULL;
  443|      0|    }
  444|     27|    if (self->lock) {
  ------------------
  |  Branch (444:9): [True: 27, False: 0]
  ------------------
  445|     27|        PyThread_free_lock(self->lock);
  446|     27|        self->lock = NULL;
  447|     27|    }
  448|     27|    (void)buffered_clear(op);
  449|     27|    tp->tp_free(self);
  450|     27|    Py_DECREF(tp);
  ------------------
  |  |  430|     27|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  451|     27|}
bufferedio.c:buffered_traverse:
  471|     12|{
  472|     12|    buffered *self = buffered_CAST(op);
  ------------------
  |  |  272|     12|#define buffered_CAST(op)   ((buffered *)(op))
  ------------------
  473|     12|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  474|     12|    Py_VISIT(self->raw);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  475|     12|    Py_VISIT(self->dict);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  476|     12|    return 0;
  477|     12|}
bufferedio.c:buffered_clear:
  421|     27|{
  422|     27|    buffered *self = buffered_CAST(op);
  ------------------
  |  |  272|     27|#define buffered_CAST(op)   ((buffered *)(op))
  ------------------
  423|     27|    self->ok = 0;
  424|     27|    Py_CLEAR(self->raw);
  ------------------
  |  |  487|     27|    do { \
  |  |  488|     27|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     27|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     27|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     27|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     27|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     27|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 27, False: 0]
  |  |  ------------------
  |  |  491|     27|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     27|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     27|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     27|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     27|        } \
  |  |  494|     27|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 27]
  |  |  ------------------
  ------------------
  425|       |    Py_CLEAR(self->dict);
  ------------------
  |  |  487|     27|    do { \
  |  |  488|     27|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     27|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     27|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     27|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     27|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     27|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 27]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|     27|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 27]
  |  |  ------------------
  ------------------
  426|     27|    return 0;
  427|     27|}
bufferedio.c:buffered_flush_and_rewind_unlocked:
  914|     50|{
  915|     50|    PyObject *res;
  916|       |
  917|     50|    res = _bufferedwriter_flush_unlocked(self);
  918|     50|    if (res == NULL)
  ------------------
  |  Branch (918:9): [True: 0, False: 50]
  ------------------
  919|      0|        return NULL;
  920|     50|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  921|       |
  922|     50|    if (self->readable) {
  ------------------
  |  Branch (922:9): [True: 0, False: 50]
  ------------------
  923|       |        /* Rewind the raw stream so that its position corresponds to
  924|       |           the current logical position. */
  925|      0|        Py_off_t n;
  926|      0|        n = _buffered_raw_seek(self, -RAW_OFFSET(self), 1);
  ------------------
  |  |  407|      0|    (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  390|      0|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (390:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (390:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  393|      0|    (self->writable && self->write_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (393:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (393:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  408|      0|        && self->raw_pos >= 0) ? self->raw_pos - self->pos : 0)
  |  |  ------------------
  |  |  |  Branch (408:12): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  927|      0|        _bufferedreader_reset_buf(self);
  928|      0|        if (n == -1)
  ------------------
  |  Branch (928:13): [True: 0, False: 0]
  ------------------
  929|      0|            return NULL;
  930|      0|    }
  931|     50|    Py_RETURN_NONE;
  ------------------
  |  |  628|     50|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     50|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  932|     50|}
bufferedio.c:_bufferedwriter_flush_unlocked:
 2034|     50|{
 2035|     50|    Py_off_t n, rewind;
 2036|       |
 2037|     50|    if (!VALID_WRITE_BUFFER(self) || self->write_pos == self->write_end)
  ------------------
  |  |  393|    100|    (self->writable && self->write_end != -1)
  |  |  ------------------
  |  |  |  Branch (393:6): [True: 50, False: 0]
  |  |  |  Branch (393:24): [True: 50, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2037:38): [True: 0, False: 50]
  ------------------
 2038|      0|        goto end;
 2039|       |    /* First, rewind */
 2040|     50|    rewind = RAW_OFFSET(self) + (self->pos - self->write_pos);
  ------------------
  |  |  407|     50|    (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  390|    100|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (390:6): [True: 0, False: 50]
  |  |  |  |  |  Branch (390:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  393|     50|    (self->writable && self->write_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (393:6): [True: 50, False: 0]
  |  |  |  |  |  Branch (393:24): [True: 50, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  408|     50|        && self->raw_pos >= 0) ? self->raw_pos - self->pos : 0)
  |  |  ------------------
  |  |  |  Branch (408:12): [True: 50, False: 0]
  |  |  ------------------
  ------------------
 2041|     50|    if (rewind != 0) {
  ------------------
  |  Branch (2041:9): [True: 0, False: 50]
  ------------------
 2042|      0|        n = _buffered_raw_seek(self, -rewind, 1);
 2043|      0|        if (n < 0) {
  ------------------
  |  Branch (2043:13): [True: 0, False: 0]
  ------------------
 2044|      0|            goto error;
 2045|      0|        }
 2046|      0|        self->raw_pos -= rewind;
 2047|      0|    }
 2048|    100|    while (self->write_pos < self->write_end) {
  ------------------
  |  Branch (2048:12): [True: 50, False: 50]
  ------------------
 2049|     50|        n = _bufferedwriter_raw_write(self,
 2050|     50|            self->buffer + self->write_pos,
 2051|     50|            Py_SAFE_DOWNCAST(self->write_end - self->write_pos,
  ------------------
  |  |  247|     50|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|     50|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2052|     50|                             Py_off_t, Py_ssize_t));
 2053|     50|        if (n == -1) {
  ------------------
  |  Branch (2053:13): [True: 0, False: 50]
  ------------------
 2054|      0|            goto error;
 2055|      0|        }
 2056|     50|        else if (n == -2) {
  ------------------
  |  Branch (2056:18): [True: 0, False: 50]
  ------------------
 2057|      0|            _set_BlockingIOError("write could not complete without blocking",
 2058|      0|                                 0);
 2059|      0|            goto error;
 2060|      0|        }
 2061|     50|        self->write_pos += n;
 2062|     50|        self->raw_pos = self->write_pos;
 2063|       |        /* Partial writes can return successfully when interrupted by a
 2064|       |           signal (see write(2)).  We must run signal handlers before
 2065|       |           blocking another time, possibly indefinitely. */
 2066|     50|        if (PyErr_CheckSignals() < 0)
  ------------------
  |  Branch (2066:13): [True: 0, False: 50]
  ------------------
 2067|      0|            goto error;
 2068|     50|    }
 2069|       |
 2070|       |
 2071|     50|end:
 2072|       |    /* This ensures that after return from this function,
 2073|       |       VALID_WRITE_BUFFER(self) returns false.
 2074|       |
 2075|       |       This is a required condition because when a tell() is called
 2076|       |       after flushing and if VALID_READ_BUFFER(self) is false, we need
 2077|       |       VALID_WRITE_BUFFER(self) to be false to have
 2078|       |       RAW_OFFSET(self) == 0.
 2079|       |
 2080|       |       Issue: https://bugs.python.org/issue32228 */
 2081|     50|    _bufferedwriter_reset_buf(self);
 2082|     50|    Py_RETURN_NONE;
  ------------------
  |  |  628|     50|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     50|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2083|       |
 2084|      0|error:
 2085|       |    return NULL;
 2086|     50|}
bufferedio.c:_bufferedwriter_raw_write:
 1987|     50|{
 1988|     50|    Py_buffer buf;
 1989|     50|    PyObject *memobj, *res;
 1990|     50|    Py_ssize_t n;
 1991|     50|    int errnum;
 1992|       |    /* NOTE: the buffer needn't be released as its object is NULL. */
 1993|     50|    if (PyBuffer_FillInfo(&buf, NULL, start, len, 1, PyBUF_CONTIG_RO) == -1)
  ------------------
  |  |  125|     50|#define PyBUF_CONTIG_RO (PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|     50|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (1993:9): [True: 0, False: 50]
  ------------------
 1994|      0|        return -1;
 1995|     50|    memobj = PyMemoryView_FromBuffer(&buf);
 1996|     50|    if (memobj == NULL)
  ------------------
  |  Branch (1996:9): [True: 0, False: 50]
  ------------------
 1997|      0|        return -1;
 1998|       |    /* NOTE: PyErr_SetFromErrno() calls PyErr_CheckSignals() when EINTR
 1999|       |       occurs so we needn't do it ourselves.
 2000|       |       We then retry writing, ignoring the signal if no handler has
 2001|       |       raised (see issue #10956).
 2002|       |    */
 2003|     50|    do {
 2004|     50|        errno = 0;
 2005|     50|        res = PyObject_CallMethodOneArg(self->raw, &_Py_ID(write), memobj);
  ------------------
  |  |  951|     50|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     50|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     50|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2006|     50|        errnum = errno;
 2007|     50|    } while (res == NULL && _PyIO_trap_eintr());
  ------------------
  |  Branch (2007:14): [True: 0, False: 50]
  |  Branch (2007:29): [True: 0, False: 0]
  ------------------
 2008|     50|    Py_DECREF(memobj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2009|     50|    if (res == NULL)
  ------------------
  |  Branch (2009:9): [True: 0, False: 50]
  ------------------
 2010|      0|        return -1;
 2011|     50|    if (res == Py_None) {
  ------------------
  |  |  616|     50|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2011:9): [True: 0, False: 50]
  ------------------
 2012|       |        /* Non-blocking stream would have blocked. Special return code!
 2013|       |           Being paranoid we reset errno in case it is changed by code
 2014|       |           triggered by a decref.  errno is used by _set_BlockingIOError(). */
 2015|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2016|      0|        errno = errnum;
 2017|      0|        return -2;
 2018|      0|    }
 2019|     50|    n = PyNumber_AsSsize_t(res, PyExc_ValueError);
 2020|     50|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2021|     50|    if (n < 0 || n > len) {
  ------------------
  |  Branch (2021:9): [True: 0, False: 50]
  |  Branch (2021:18): [True: 0, False: 50]
  ------------------
 2022|      0|        PyErr_Format(PyExc_OSError,
 2023|      0|                     "raw write() returned invalid length %zd "
 2024|      0|                     "(should have been between 0 and %zd)", n, len);
 2025|      0|        return -1;
 2026|      0|    }
 2027|     50|    if (n > 0 && self->abs_pos != -1)
  ------------------
  |  Branch (2027:9): [True: 50, False: 0]
  |  Branch (2027:18): [True: 50, False: 0]
  ------------------
 2028|     50|        self->abs_pos += n;
 2029|     50|    return n;
 2030|     50|}
bufferedio.c:_bufferedwriter_reset_buf:
 1935|     54|{
 1936|     54|    self->write_pos = 0;
 1937|     54|    self->write_end = -1;
 1938|     54|}
bufferedio.c:_bufferedreader_reset_buf:
 1588|     56|{
 1589|     56|    self->read_end = -1;
 1590|     56|}
bufferedio.c:_io__Buffered_simple_flush_impl:
  520|     27|{
  521|     27|    CHECK_INITIALIZED(self)
  ------------------
  |  |  346|     27|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (346:9): [True: 0, False: 27]
  |  |  ------------------
  |  |  347|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (347:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  348|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  349|      0|                 "raw stream has been detached"); \
  |  |  350|      0|        } else { \
  |  |  351|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  352|      0|                "I/O operation on uninitialized object"); \
  |  |  353|      0|        } \
  |  |  354|      0|        return NULL; \
  |  |  355|      0|    }
  ------------------
  522|     27|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(flush));
  ------------------
  |  |  951|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  523|     27|}
bufferedio.c:_io__Buffered_close_impl:
  561|     27|{
  562|     27|    PyObject *res = NULL;
  563|     27|    int r;
  564|       |
  565|     27|    CHECK_INITIALIZED(self)
  ------------------
  |  |  346|     27|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (346:9): [True: 0, False: 27]
  |  |  ------------------
  |  |  347|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (347:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  348|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  349|      0|                 "raw stream has been detached"); \
  |  |  350|      0|        } else { \
  |  |  351|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  352|      0|                "I/O operation on uninitialized object"); \
  |  |  353|      0|        } \
  |  |  354|      0|        return NULL; \
  |  |  355|      0|    }
  ------------------
  566|     27|    if (!ENTER_BUFFERED(self)) {
  ------------------
  |  |  335|     27|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (335:7): [True: 27, False: 0]
  |  |  |  Branch (335:8): [True: 27, False: 0]
  |  |  ------------------
  |  |  336|     27|       1 : _enter_buffered_busy(self)) \
  |  |  337|     27|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (337:9): [True: 27, False: 0]
  |  |  ------------------
  ------------------
  567|      0|        return NULL;
  568|      0|    }
  569|       |    /* gh-138720: Use IS_CLOSED to match flush CHECK_CLOSED. */
  570|     27|    r = IS_CLOSED(self);
  ------------------
  |  |  370|     27|    (!self->buffer ? 1 : \
  |  |  ------------------
  |  |  |  Branch (370:6): [True: 0, False: 27]
  |  |  ------------------
  |  |  371|     27|    (self->fast_closed_checks \
  |  |  ------------------
  |  |  |  Branch (371:6): [True: 27, False: 0]
  |  |  ------------------
  |  |  372|     27|     ? _PyFileIO_closed(self->raw) \
  |  |  373|     27|     : buffered_closed(self)))
  ------------------
  571|     27|    if (r < 0)
  ------------------
  |  Branch (571:9): [True: 0, False: 27]
  ------------------
  572|      0|        goto end;
  573|     27|    if (r > 0) {
  ------------------
  |  Branch (573:9): [True: 0, False: 27]
  ------------------
  574|      0|        res = Py_NewRef(Py_None);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  575|      0|        goto end;
  576|      0|    }
  577|       |
  578|     27|    if (self->finalizing) {
  ------------------
  |  Branch (578:9): [True: 0, False: 27]
  ------------------
  579|      0|        PyObject *r = _io__Buffered__dealloc_warn_impl(self, (PyObject *)self);
  580|      0|        if (r)
  ------------------
  |  Branch (580:13): [True: 0, False: 0]
  ------------------
  581|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  582|      0|        else
  583|      0|            PyErr_Clear();
  584|      0|    }
  585|       |    /* flush() will most probably re-take the lock, so drop it first */
  586|     27|    LEAVE_BUFFERED(self)
  ------------------
  |  |  340|     27|    do { \
  |  |  341|     27|        self->owner = 0; \
  |  |  342|     27|        PyThread_release_lock(self->lock); \
  |  |  343|     27|    } while(0);
  |  |  ------------------
  |  |  |  Branch (343:13): [Folded, False: 27]
  |  |  ------------------
  ------------------
  587|     27|    r = _PyFile_Flush((PyObject *)self);
  588|     27|    if (!ENTER_BUFFERED(self)) {
  ------------------
  |  |  335|     27|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (335:7): [True: 27, False: 0]
  |  |  |  Branch (335:8): [True: 27, False: 0]
  |  |  ------------------
  |  |  336|     27|       1 : _enter_buffered_busy(self)) \
  |  |  337|     27|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (337:9): [True: 27, False: 0]
  |  |  ------------------
  ------------------
  589|      0|        return NULL;
  590|      0|    }
  591|     27|    PyObject *exc = NULL;
  592|     27|    if (r < 0) {
  ------------------
  |  Branch (592:9): [True: 0, False: 27]
  ------------------
  593|      0|        exc = PyErr_GetRaisedException();
  594|      0|    }
  595|       |
  596|     27|    res = PyObject_CallMethodNoArgs(self->raw, &_Py_ID(close));
  ------------------
  |  |  951|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|       |
  598|     27|    if (self->buffer) {
  ------------------
  |  Branch (598:9): [True: 27, False: 0]
  ------------------
  599|     27|        PyMem_Free(self->buffer);
  600|     27|        self->buffer = NULL;
  601|     27|    }
  602|       |
  603|     27|    if (exc != NULL) {
  ------------------
  |  Branch (603:9): [True: 0, False: 27]
  ------------------
  604|      0|        _PyErr_ChainExceptions1(exc);
  605|      0|        Py_CLEAR(res);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  606|      0|    }
  607|       |
  608|     27|    self->read_end = 0;
  609|     27|    self->pos = 0;
  610|       |
  611|     27|end:
  612|     27|    LEAVE_BUFFERED(self)
  ------------------
  |  |  340|     27|    do { \
  |  |  341|     27|        self->owner = 0; \
  |  |  342|     27|        PyThread_release_lock(self->lock); \
  |  |  343|     27|    } while(0);
  |  |  ------------------
  |  |  |  Branch (343:13): [Folded, False: 27]
  |  |  ------------------
  ------------------
  613|     27|    return res;
  614|     27|}
bufferedio.c:_io__Buffered_seekable_impl:
  647|      6|{
  648|      6|    CHECK_INITIALIZED(self)
  ------------------
  |  |  346|      6|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (346:9): [True: 0, False: 6]
  |  |  ------------------
  |  |  347|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (347:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  348|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  349|      0|                 "raw stream has been detached"); \
  |  |  350|      0|        } else { \
  |  |  351|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  352|      0|                "I/O operation on uninitialized object"); \
  |  |  353|      0|        } \
  |  |  354|      0|        return NULL; \
  |  |  355|      0|    }
  ------------------
  649|      6|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(seekable));
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  650|      6|}
bufferedio.c:_io__Buffered_readable_impl:
  660|      2|{
  661|      2|    CHECK_INITIALIZED(self)
  ------------------
  |  |  346|      2|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (346:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  347|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (347:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  348|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  349|      0|                 "raw stream has been detached"); \
  |  |  350|      0|        } else { \
  |  |  351|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  352|      0|                "I/O operation on uninitialized object"); \
  |  |  353|      0|        } \
  |  |  354|      0|        return NULL; \
  |  |  355|      0|    }
  ------------------
  662|      2|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(readable));
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  663|      2|}
bufferedio.c:_io__Buffered_read_impl:
  999|     27|{
 1000|     27|    PyObject *res;
 1001|       |
 1002|     27|    CHECK_INITIALIZED(self)
  ------------------
  |  |  346|     27|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (346:9): [True: 0, False: 27]
  |  |  ------------------
  |  |  347|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (347:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  348|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  349|      0|                 "raw stream has been detached"); \
  |  |  350|      0|        } else { \
  |  |  351|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  352|      0|                "I/O operation on uninitialized object"); \
  |  |  353|      0|        } \
  |  |  354|      0|        return NULL; \
  |  |  355|      0|    }
  ------------------
 1003|     27|    if (n < -1) {
  ------------------
  |  Branch (1003:9): [True: 0, False: 27]
  ------------------
 1004|      0|        PyErr_SetString(PyExc_ValueError,
 1005|      0|                        "read length must be non-negative or -1");
 1006|      0|        return NULL;
 1007|      0|    }
 1008|       |
 1009|     27|    CHECK_CLOSED(self, "read of closed file")
  ------------------
  |  |  376|     27|    do { \
  |  |  377|     27|        int _closed = IS_CLOSED(self); \
  |  |  ------------------
  |  |  |  |  370|     27|    (!self->buffer ? 1 : \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (370:6): [True: 0, False: 27]
  |  |  |  |  ------------------
  |  |  |  |  371|     27|    (self->fast_closed_checks \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (371:6): [True: 27, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  372|     27|     ? _PyFileIO_closed(self->raw) \
  |  |  |  |  373|     27|     : buffered_closed(self)))
  |  |  ------------------
  |  |  378|     27|        if (_closed < 0) { \
  |  |  ------------------
  |  |  |  Branch (378:13): [True: 0, False: 27]
  |  |  ------------------
  |  |  379|      0|            return NULL; \
  |  |  380|      0|        } \
  |  |  381|     27|        if (_closed && \
  |  |  ------------------
  |  |  |  Branch (381:13): [True: 0, False: 27]
  |  |  ------------------
  |  |  382|     27|            (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 (382:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  383|     27|        { \
  |  |  384|      0|            PyErr_SetString(PyExc_ValueError, error_msg); \
  |  |  385|      0|            return NULL; \
  |  |  386|      0|        } \
  |  |  387|     27|    } while (0);
  |  |  ------------------
  |  |  |  Branch (387:14): [Folded, False: 27]
  |  |  ------------------
  ------------------
 1010|       |
 1011|     27|    if (n == -1) {
  ------------------
  |  Branch (1011:9): [True: 27, False: 0]
  ------------------
 1012|       |        /* The number of bytes is unspecified, read until the end of stream */
 1013|     27|        if (!ENTER_BUFFERED(self))
  ------------------
  |  |  335|     27|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (335:7): [True: 27, False: 0]
  |  |  |  Branch (335:8): [True: 27, False: 0]
  |  |  ------------------
  |  |  336|     27|       1 : _enter_buffered_busy(self)) \
  |  |  337|     27|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (337:9): [True: 27, False: 0]
  |  |  ------------------
  ------------------
 1014|      0|            return NULL;
 1015|     27|        res = _bufferedreader_read_all(self);
 1016|     27|    }
 1017|      0|    else {
 1018|      0|        res = _bufferedreader_read_fast(self, n);
 1019|      0|        if (res != Py_None)
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1019:13): [True: 0, False: 0]
  ------------------
 1020|      0|            return res;
 1021|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1022|      0|        if (!ENTER_BUFFERED(self))
  ------------------
  |  |  335|      0|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (335:7): [True: 0, False: 0]
  |  |  |  Branch (335:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  336|      0|       1 : _enter_buffered_busy(self)) \
  |  |  337|      0|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (337:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1023|      0|            return NULL;
 1024|      0|        res = _bufferedreader_read_generic(self, n);
 1025|      0|    }
 1026|       |
 1027|     27|    LEAVE_BUFFERED(self)
  ------------------
  |  |  340|     27|    do { \
  |  |  341|     27|        self->owner = 0; \
  |  |  342|     27|        PyThread_release_lock(self->lock); \
  |  |  343|     27|    } while(0);
  |  |  ------------------
  |  |  |  Branch (343:13): [Folded, False: 27]
  |  |  ------------------
  ------------------
 1028|     27|    return res;
 1029|     27|}
bufferedio.c:_bufferedreader_read_all:
 1700|     27|{
 1701|     27|    Py_ssize_t current_size;
 1702|     27|    PyObject *res = NULL, *data = NULL, *tmp = NULL, *chunks = NULL, *readall;
 1703|       |
 1704|       |    /* First copy what we have in the current buffer. */
 1705|     27|    current_size = Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t);
  ------------------
  |  |  247|     27|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|    162|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:47): [True: 27, False: 0]
  |  |  |  |  |  Branch (34:47): [True: 0, False: 27]
  |  |  |  |  |  Branch (34:47): [True: 27, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1706|     27|    if (current_size) {
  ------------------
  |  Branch (1706:9): [True: 0, False: 27]
  ------------------
 1707|      0|        data = PyBytes_FromStringAndSize(
 1708|      0|            self->buffer + self->pos, current_size);
 1709|      0|        if (data == NULL)
  ------------------
  |  Branch (1709:13): [True: 0, False: 0]
  ------------------
 1710|      0|            return NULL;
 1711|      0|        self->pos += current_size;
 1712|      0|    }
 1713|       |    /* We're going past the buffer's bounds, flush it */
 1714|     27|    if (self->writable) {
  ------------------
  |  Branch (1714:9): [True: 0, False: 27]
  ------------------
 1715|      0|        tmp = buffered_flush_and_rewind_unlocked(self);
 1716|      0|        if (tmp == NULL)
  ------------------
  |  Branch (1716:13): [True: 0, False: 0]
  ------------------
 1717|      0|            goto cleanup;
 1718|      0|        Py_CLEAR(tmp);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1719|      0|    }
 1720|     27|    _bufferedreader_reset_buf(self);
 1721|       |
 1722|     27|    if (PyObject_GetOptionalAttr(self->raw, &_Py_ID(readall), &readall) < 0) {
  ------------------
  |  |  951|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1722:9): [True: 0, False: 27]
  ------------------
 1723|      0|        goto cleanup;
 1724|      0|    }
 1725|     27|    if (readall) {
  ------------------
  |  Branch (1725:9): [True: 27, False: 0]
  ------------------
 1726|     27|        tmp = _PyObject_CallNoArgs(readall);
 1727|     27|        Py_DECREF(readall);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1728|     27|        if (tmp == NULL)
  ------------------
  |  Branch (1728:13): [True: 0, False: 27]
  ------------------
 1729|      0|            goto cleanup;
 1730|     27|        if (tmp != Py_None && !PyBytes_Check(tmp)) {
  ------------------
  |  |  616|     54|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      if (tmp != Py_None && !PyBytes_Check(tmp)) {
  ------------------
  |  |   28|     27|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     27|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1730:13): [True: 27, False: 0]
  |  Branch (1730:31): [True: 0, False: 27]
  ------------------
 1731|      0|            PyErr_SetString(PyExc_TypeError, "readall() should return bytes");
 1732|      0|            goto cleanup;
 1733|      0|        }
 1734|     27|        if (current_size == 0) {
  ------------------
  |  Branch (1734:13): [True: 27, False: 0]
  ------------------
 1735|     27|            res = tmp;
 1736|     27|        } else {
 1737|      0|            if (tmp != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1737:17): [True: 0, False: 0]
  ------------------
 1738|      0|                PyBytes_Concat(&data, tmp);
 1739|      0|            }
 1740|      0|            res = data;
 1741|      0|        }
 1742|     27|        goto cleanup;
 1743|     27|    }
 1744|       |
 1745|      0|    chunks = PyList_New(0);
 1746|      0|    if (chunks == NULL)
  ------------------
  |  Branch (1746:9): [True: 0, False: 0]
  ------------------
 1747|      0|        goto cleanup;
 1748|       |
 1749|      0|    while (1) {
  ------------------
  |  Branch (1749:12): [True: 0, Folded]
  ------------------
 1750|      0|        if (data) {
  ------------------
  |  Branch (1750:13): [True: 0, False: 0]
  ------------------
 1751|      0|            if (PyList_Append(chunks, data) < 0)
  ------------------
  |  Branch (1751:17): [True: 0, False: 0]
  ------------------
 1752|      0|                goto cleanup;
 1753|      0|            Py_CLEAR(data);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1754|      0|        }
 1755|       |
 1756|       |        /* Read until EOF or until read() would block. */
 1757|      0|        data = PyObject_CallMethodNoArgs(self->raw, &_Py_ID(read));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1758|      0|        if (data == NULL)
  ------------------
  |  Branch (1758:13): [True: 0, False: 0]
  ------------------
 1759|      0|            goto cleanup;
 1760|      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 (1760:13): [True: 0, False: 0]
  |  Branch (1760:32): [True: 0, False: 0]
  ------------------
 1761|      0|            PyErr_SetString(PyExc_TypeError, "read() should return bytes");
 1762|      0|            goto cleanup;
 1763|      0|        }
 1764|      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 (1764:13): [True: 0, False: 0]
  |  Branch (1764:32): [True: 0, False: 0]
  ------------------
 1765|      0|            if (current_size == 0) {
  ------------------
  |  Branch (1765:17): [True: 0, False: 0]
  ------------------
 1766|      0|                res = data;
 1767|      0|                goto cleanup;
 1768|      0|            }
 1769|      0|            else {
 1770|      0|                tmp = PyBytes_Join((PyObject *)&_Py_SINGLETON(bytes_empty), chunks);
  ------------------
  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 1771|      0|                res = tmp;
 1772|      0|                goto cleanup;
 1773|      0|            }
 1774|      0|        }
 1775|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1776|      0|        if (self->abs_pos != -1)
  ------------------
  |  Branch (1776:13): [True: 0, False: 0]
  ------------------
 1777|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1778|      0|    }
 1779|     27|cleanup:
 1780|       |    /* res is either NULL or a borrowed ref */
 1781|     27|    Py_XINCREF(res);
  ------------------
  |  |  611|     27|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1782|     27|    Py_XDECREF(data);
  ------------------
  |  |  621|     27|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1783|     27|    Py_XDECREF(tmp);
  ------------------
  |  |  621|     27|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1784|     27|    Py_XDECREF(chunks);
  ------------------
  |  |  621|     27|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1785|     27|    return res;
 1786|      0|}
bufferedio.c:_buffered_raw_tell:
  790|     37|{
  791|     37|    Py_off_t n;
  792|     37|    PyObject *res;
  793|     37|    res = PyObject_CallMethodNoArgs(self->raw, &_Py_ID(tell));
  ------------------
  |  |  951|     37|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     37|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     37|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  794|     37|    if (res == NULL)
  ------------------
  |  Branch (794:9): [True: 0, False: 37]
  ------------------
  795|      0|        return -1;
  796|     37|    n = PyNumber_AsOff_t(res, PyExc_ValueError);
  797|     37|    Py_DECREF(res);
  ------------------
  |  |  430|     37|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  798|     37|    if (n < 0) {
  ------------------
  |  Branch (798:9): [True: 0, False: 37]
  ------------------
  799|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (799:13): [True: 0, False: 0]
  ------------------
  800|      0|            PyErr_Format(PyExc_OSError,
  801|      0|                         "Raw stream returned invalid position %" PY_PRIdOFF,
  ------------------
  |  |  114|      0|# define PY_PRIdOFF         "zd"
  ------------------
  802|      0|                         (PY_OFF_T_COMPAT)n);
  803|      0|        return -1;
  804|      0|    }
  805|     37|    self->abs_pos = n;
  806|     37|    return n;
  807|     37|}
bufferedio.c:_io__Buffered_tell_impl:
 1346|      4|{
 1347|      4|    Py_off_t pos;
 1348|       |
 1349|      4|    CHECK_INITIALIZED(self)
  ------------------
  |  |  346|      4|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (346:9): [True: 0, False: 4]
  |  |  ------------------
  |  |  347|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (347:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  348|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  349|      0|                 "raw stream has been detached"); \
  |  |  350|      0|        } else { \
  |  |  351|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  352|      0|                "I/O operation on uninitialized object"); \
  |  |  353|      0|        } \
  |  |  354|      0|        return NULL; \
  |  |  355|      0|    }
  ------------------
 1350|      4|    pos = _buffered_raw_tell(self);
 1351|      4|    if (pos == -1)
  ------------------
  |  Branch (1351:9): [True: 0, False: 4]
  ------------------
 1352|      0|        return NULL;
 1353|      4|    pos -= RAW_OFFSET(self);
  ------------------
  |  |  407|      4|    (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  390|      8|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (390:6): [True: 0, False: 4]
  |  |  |  |  |  Branch (390:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  393|      4|    (self->writable && self->write_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (393:6): [True: 4, False: 0]
  |  |  |  |  |  Branch (393:24): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  408|      4|        && self->raw_pos >= 0) ? self->raw_pos - self->pos : 0)
  |  |  ------------------
  |  |  |  Branch (408:12): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1354|       |
 1355|       |    // GH-95782
 1356|      4|    if (pos < 0)
  ------------------
  |  Branch (1356:9): [True: 0, False: 4]
  ------------------
 1357|      0|        pos = 0;
 1358|       |
 1359|      4|    return PyLong_FromOff_t(pos);
  ------------------
  |  |  110|      4|# define PyLong_FromOff_t   PyLong_FromSsize_t
  ------------------
 1360|      4|}
bufferedio.c:_io__Buffered_closed_get_impl:
  548|     54|{
  549|     54|    CHECK_INITIALIZED(self)
  ------------------
  |  |  346|     54|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (346:9): [True: 0, False: 54]
  |  |  ------------------
  |  |  347|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (347:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  348|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  349|      0|                 "raw stream has been detached"); \
  |  |  350|      0|        } else { \
  |  |  351|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  352|      0|                "I/O operation on uninitialized object"); \
  |  |  353|      0|        } \
  |  |  354|      0|        return NULL; \
  |  |  355|      0|    }
  ------------------
  550|     54|    return PyObject_GetAttr(self->raw, &_Py_ID(closed));
  ------------------
  |  |  951|     54|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     54|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     54|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  551|     54|}
bufferedio.c:_io_BufferedReader___init___impl:
 1604|     29|{
 1605|     29|    self->ok = 0;
 1606|     29|    self->detached = 0;
 1607|       |
 1608|     29|    _PyIO_State *state = find_io_state_by_def(Py_TYPE(self));
  ------------------
  |  |  213|     29|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1609|     29|    if (_PyIOBase_check_readable(state, raw, Py_True) == NULL) {
  ------------------
  |  |   26|     29|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1609:9): [True: 0, False: 29]
  ------------------
 1610|      0|        return -1;
 1611|      0|    }
 1612|       |
 1613|     29|    Py_XSETREF(self->raw, Py_NewRef(raw));
  ------------------
  |  |  576|     29|    do { \
  |  |  577|     29|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     29|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     29|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     29|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     29|        *_tmp_dst_ptr = (src); \
  |  |  580|     29|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     29|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 29]
  |  |  ------------------
  ------------------
 1614|     29|    self->buffer_size = buffer_size;
 1615|     29|    self->readable = 1;
 1616|     29|    self->writable = 0;
 1617|       |
 1618|     29|    if (_buffered_init(self) < 0)
  ------------------
  |  Branch (1618:9): [True: 0, False: 29]
  ------------------
 1619|      0|        return -1;
 1620|     29|    _bufferedreader_reset_buf(self);
 1621|       |
 1622|     29|    self->fast_closed_checks = (
 1623|     29|        Py_IS_TYPE(self, state->PyBufferedReader_Type) &&
  ------------------
  |  |  215|     58|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 29, False: 0]
  |  |  ------------------
  ------------------
 1624|     29|        Py_IS_TYPE(raw, state->PyFileIO_Type)
  ------------------
  |  |  215|     29|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 29, False: 0]
  |  |  ------------------
  ------------------
 1625|     29|    );
 1626|       |
 1627|     29|    self->ok = 1;
 1628|     29|    return 0;
 1629|     29|}
bufferedio.c:_buffered_init:
  844|     33|{
  845|     33|    Py_ssize_t n;
  846|     33|    if (self->buffer_size <= 0) {
  ------------------
  |  Branch (846:9): [True: 0, False: 33]
  ------------------
  847|      0|        PyErr_SetString(PyExc_ValueError,
  848|      0|            "buffer size must be strictly positive");
  849|      0|        return -1;
  850|      0|    }
  851|     33|    if (self->buffer)
  ------------------
  |  Branch (851:9): [True: 0, False: 33]
  ------------------
  852|      0|        PyMem_Free(self->buffer);
  853|     33|    self->buffer = PyMem_Malloc(self->buffer_size);
  854|     33|    if (self->buffer == NULL) {
  ------------------
  |  Branch (854:9): [True: 0, False: 33]
  ------------------
  855|      0|        PyErr_NoMemory();
  856|      0|        return -1;
  857|      0|    }
  858|     33|    if (self->lock)
  ------------------
  |  Branch (858:9): [True: 0, False: 33]
  ------------------
  859|      0|        PyThread_free_lock(self->lock);
  860|     33|    self->lock = PyThread_allocate_lock();
  861|     33|    if (self->lock == NULL) {
  ------------------
  |  Branch (861:9): [True: 0, False: 33]
  ------------------
  862|      0|        PyErr_SetString(PyExc_RuntimeError, "can't allocate read lock");
  863|      0|        return -1;
  864|      0|    }
  865|     33|    self->owner = 0;
  866|       |    /* Find out whether buffer_size is a power of 2 */
  867|       |    /* XXX is this optimization useful? */
  868|    594|    for (n = self->buffer_size - 1; n & 1; n >>= 1)
  ------------------
  |  Branch (868:37): [True: 561, False: 33]
  ------------------
  869|    561|        ;
  870|     33|    if (n == 0)
  ------------------
  |  Branch (870:9): [True: 33, False: 0]
  ------------------
  871|     33|        self->buffer_mask = self->buffer_size - 1;
  872|      0|    else
  873|      0|        self->buffer_mask = 0;
  874|     33|    if (_buffered_raw_tell(self) == -1)
  ------------------
  |  Branch (874:9): [True: 0, False: 33]
  ------------------
  875|      0|        PyErr_Clear();
  876|     33|    return 0;
  877|     33|}
bufferedio.c:_io__Buffered_writable_impl:
  673|      4|{
  674|      4|    CHECK_INITIALIZED(self)
  ------------------
  |  |  346|      4|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (346:9): [True: 0, False: 4]
  |  |  ------------------
  |  |  347|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (347:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  348|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  349|      0|                 "raw stream has been detached"); \
  |  |  350|      0|        } else { \
  |  |  351|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  352|      0|                "I/O operation on uninitialized object"); \
  |  |  353|      0|        } \
  |  |  354|      0|        return NULL; \
  |  |  355|      0|    }
  ------------------
  675|      4|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(writable));
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  676|      4|}
bufferedio.c:_io_BufferedWriter_write_impl:
 2098|     50|{
 2099|     50|    PyObject *res = NULL;
 2100|     50|    Py_ssize_t written, avail, remaining;
 2101|     50|    Py_off_t offset;
 2102|     50|    int r;
 2103|       |
 2104|     50|    CHECK_INITIALIZED(self)
  ------------------
  |  |  346|     50|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (346:9): [True: 0, False: 50]
  |  |  ------------------
  |  |  347|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (347:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  348|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  349|      0|                 "raw stream has been detached"); \
  |  |  350|      0|        } else { \
  |  |  351|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  352|      0|                "I/O operation on uninitialized object"); \
  |  |  353|      0|        } \
  |  |  354|      0|        return NULL; \
  |  |  355|      0|    }
  ------------------
 2105|       |
 2106|     50|    if (!ENTER_BUFFERED(self))
  ------------------
  |  |  335|     50|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (335:7): [True: 50, False: 0]
  |  |  |  Branch (335:8): [True: 50, False: 0]
  |  |  ------------------
  |  |  336|     50|       1 : _enter_buffered_busy(self)) \
  |  |  337|     50|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (337:9): [True: 50, False: 0]
  |  |  ------------------
  ------------------
 2107|      0|        return NULL;
 2108|       |
 2109|       |    /* Issue #31976: Check for closed file after acquiring the lock. Another
 2110|       |       thread could be holding the lock while closing the file. */
 2111|     50|    r = IS_CLOSED(self);
  ------------------
  |  |  370|     50|    (!self->buffer ? 1 : \
  |  |  ------------------
  |  |  |  Branch (370:6): [True: 0, False: 50]
  |  |  ------------------
  |  |  371|     50|    (self->fast_closed_checks \
  |  |  ------------------
  |  |  |  Branch (371:6): [True: 50, False: 0]
  |  |  ------------------
  |  |  372|     50|     ? _PyFileIO_closed(self->raw) \
  |  |  373|     50|     : buffered_closed(self)))
  ------------------
 2112|     50|    if (r < 0) {
  ------------------
  |  Branch (2112:9): [True: 0, False: 50]
  ------------------
 2113|      0|        goto error;
 2114|      0|    }
 2115|     50|    if (r > 0) {
  ------------------
  |  Branch (2115:9): [True: 0, False: 50]
  ------------------
 2116|      0|        PyErr_SetString(PyExc_ValueError, "write to closed file");
 2117|      0|        goto error;
 2118|      0|    }
 2119|       |
 2120|       |    /* Fast path: the data to write can be fully buffered. */
 2121|     50|    if (!VALID_READ_BUFFER(self) && !VALID_WRITE_BUFFER(self)) {
  ------------------
  |  |  390|    100|    (self->readable && self->read_end != -1)
  |  |  ------------------
  |  |  |  Branch (390:6): [True: 0, False: 50]
  |  |  |  Branch (390:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  if (!VALID_READ_BUFFER(self) && !VALID_WRITE_BUFFER(self)) {
  ------------------
  |  |  393|     50|    (self->writable && self->write_end != -1)
  |  |  ------------------
  |  |  |  Branch (393:6): [True: 50, False: 0]
  |  |  |  Branch (393:24): [True: 0, False: 50]
  |  |  ------------------
  ------------------
 2122|     50|        self->pos = 0;
 2123|     50|        self->raw_pos = 0;
 2124|     50|    }
 2125|     50|    avail = Py_SAFE_DOWNCAST(self->buffer_size - self->pos, Py_off_t, Py_ssize_t);
  ------------------
  |  |  247|     50|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|     50|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2126|     50|    if (buffer->len <= avail && buffer->len < self->buffer_size) {
  ------------------
  |  Branch (2126:9): [True: 50, False: 0]
  |  Branch (2126:33): [True: 50, False: 0]
  ------------------
 2127|     50|        memcpy(self->buffer + self->pos, buffer->buf, buffer->len);
 2128|     50|        if (!VALID_WRITE_BUFFER(self) || self->write_pos > self->pos) {
  ------------------
  |  |  393|    100|    (self->writable && self->write_end != -1)
  |  |  ------------------
  |  |  |  Branch (393:6): [True: 50, False: 0]
  |  |  |  Branch (393:24): [True: 0, False: 50]
  |  |  ------------------
  ------------------
  |  Branch (2128:42): [True: 0, False: 0]
  ------------------
 2129|     50|            self->write_pos = self->pos;
 2130|     50|        }
 2131|     50|        ADJUST_POSITION(self, self->pos + buffer->len);
  ------------------
  |  |  396|     50|    do { \
  |  |  397|     50|        self->pos = _new_pos; \
  |  |  398|     50|        if (VALID_READ_BUFFER(self) && self->read_end < self->pos) \
  |  |  ------------------
  |  |  |  |  390|    100|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (390:6): [True: 0, False: 50]
  |  |  |  |  |  Branch (390:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (398:40): [True: 0, False: 0]
  |  |  ------------------
  |  |  399|     50|            self->read_end = self->pos; \
  |  |  400|     50|    } while(0)
  |  |  ------------------
  |  |  |  Branch (400:13): [Folded, False: 50]
  |  |  ------------------
  ------------------
 2132|     50|        if (self->pos > self->write_end)
  ------------------
  |  Branch (2132:13): [True: 50, False: 0]
  ------------------
 2133|     50|            self->write_end = self->pos;
 2134|     50|        written = buffer->len;
 2135|     50|        goto end;
 2136|     50|    }
 2137|       |
 2138|       |    /* First write the current buffer */
 2139|      0|    res = _bufferedwriter_flush_unlocked(self);
 2140|      0|    if (res == NULL) {
  ------------------
  |  Branch (2140:9): [True: 0, False: 0]
  ------------------
 2141|      0|        Py_ssize_t *w = _buffered_check_blocking_error();
 2142|      0|        if (w == NULL)
  ------------------
  |  Branch (2142:13): [True: 0, False: 0]
  ------------------
 2143|      0|            goto error;
 2144|      0|        if (self->readable)
  ------------------
  |  Branch (2144:13): [True: 0, False: 0]
  ------------------
 2145|      0|            _bufferedreader_reset_buf(self);
 2146|       |        /* Make some place by shifting the buffer. */
 2147|      0|        assert(VALID_WRITE_BUFFER(self));
  ------------------
  |  Branch (2147:9): [True: 0, False: 0]
  |  Branch (2147:9): [True: 0, False: 0]
  ------------------
 2148|      0|        memmove(self->buffer, self->buffer + self->write_pos,
 2149|      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))
  |  |  ------------------
  ------------------
 2150|      0|                                 Py_off_t, Py_ssize_t));
 2151|      0|        self->write_end -= self->write_pos;
 2152|      0|        self->raw_pos -= self->write_pos;
 2153|      0|        self->pos -= self->write_pos;
 2154|      0|        self->write_pos = 0;
 2155|      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))
  |  |  ------------------
  ------------------
 2156|      0|                                 Py_off_t, Py_ssize_t);
 2157|      0|        if (buffer->len <= avail) {
  ------------------
  |  Branch (2157:13): [True: 0, False: 0]
  ------------------
 2158|       |            /* Everything can be buffered */
 2159|      0|            PyErr_Clear();
 2160|      0|            memcpy(self->buffer + self->write_end, buffer->buf, buffer->len);
 2161|      0|            self->write_end += buffer->len;
 2162|      0|            self->pos += buffer->len;
 2163|      0|            written = buffer->len;
 2164|      0|            goto end;
 2165|      0|        }
 2166|       |        /* Buffer as much as possible. */
 2167|      0|        memcpy(self->buffer + self->write_end, buffer->buf, avail);
 2168|      0|        self->write_end += avail;
 2169|      0|        self->pos += avail;
 2170|       |        /* XXX Modifying the existing exception e using the pointer w
 2171|       |           will change e.characters_written but not e.args[2].
 2172|       |           Therefore we just replace with a new error. */
 2173|      0|        _set_BlockingIOError("write could not complete without blocking",
 2174|      0|                             avail);
 2175|      0|        goto error;
 2176|      0|    }
 2177|      0|    Py_CLEAR(res);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2178|       |
 2179|       |    /* Adjust the raw stream position if it is away from the logical stream
 2180|       |       position. This happens if the read buffer has been filled but not
 2181|       |       modified (and therefore _bufferedwriter_flush_unlocked() didn't rewind
 2182|       |       the raw stream by itself).
 2183|       |       Fixes issue #6629.
 2184|       |    */
 2185|      0|    offset = RAW_OFFSET(self);
  ------------------
  |  |  407|      0|    (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  390|      0|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (390:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (390:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  393|      0|    (self->writable && self->write_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (393:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (393:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  408|      0|        && self->raw_pos >= 0) ? self->raw_pos - self->pos : 0)
  |  |  ------------------
  |  |  |  Branch (408:12): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2186|      0|    if (offset != 0) {
  ------------------
  |  Branch (2186:9): [True: 0, False: 0]
  ------------------
 2187|      0|        if (_buffered_raw_seek(self, -offset, 1) < 0)
  ------------------
  |  Branch (2187:13): [True: 0, False: 0]
  ------------------
 2188|      0|            goto error;
 2189|      0|        self->raw_pos -= offset;
 2190|      0|    }
 2191|       |
 2192|       |    /* Then write buf itself. At this point the buffer has been emptied. */
 2193|      0|    remaining = buffer->len;
 2194|      0|    written = 0;
 2195|      0|    while (remaining >= self->buffer_size) {
  ------------------
  |  Branch (2195:12): [True: 0, False: 0]
  ------------------
 2196|      0|        Py_ssize_t n = _bufferedwriter_raw_write(
 2197|      0|            self, (char *) buffer->buf + written, buffer->len - written);
 2198|      0|        if (n == -1) {
  ------------------
  |  Branch (2198:13): [True: 0, False: 0]
  ------------------
 2199|      0|            goto error;
 2200|      0|        } else if (n == -2) {
  ------------------
  |  Branch (2200:20): [True: 0, False: 0]
  ------------------
 2201|       |            /* Write failed because raw file is non-blocking */
 2202|      0|            if (remaining > self->buffer_size) {
  ------------------
  |  Branch (2202:17): [True: 0, False: 0]
  ------------------
 2203|       |                /* Can't buffer everything, still buffer as much as possible */
 2204|      0|                memcpy(self->buffer,
 2205|      0|                       (char *) buffer->buf + written, self->buffer_size);
 2206|      0|                self->raw_pos = 0;
 2207|      0|                ADJUST_POSITION(self, self->buffer_size);
  ------------------
  |  |  396|      0|    do { \
  |  |  397|      0|        self->pos = _new_pos; \
  |  |  398|      0|        if (VALID_READ_BUFFER(self) && self->read_end < self->pos) \
  |  |  ------------------
  |  |  |  |  390|      0|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (390:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (390:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (398:40): [True: 0, False: 0]
  |  |  ------------------
  |  |  399|      0|            self->read_end = self->pos; \
  |  |  400|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (400:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2208|      0|                self->write_end = self->buffer_size;
 2209|      0|                written += self->buffer_size;
 2210|      0|                _set_BlockingIOError("write could not complete without "
 2211|      0|                                     "blocking", written);
 2212|      0|                goto error;
 2213|      0|            }
 2214|      0|            PyErr_Clear();
 2215|      0|            break;
 2216|      0|        }
 2217|      0|        written += n;
 2218|      0|        remaining -= n;
 2219|       |        /* Partial writes can return successfully when interrupted by a
 2220|       |           signal (see write(2)).  We must run signal handlers before
 2221|       |           blocking another time, possibly indefinitely. */
 2222|      0|        if (PyErr_CheckSignals() < 0)
  ------------------
  |  Branch (2222:13): [True: 0, False: 0]
  ------------------
 2223|      0|            goto error;
 2224|      0|    }
 2225|      0|    if (self->readable)
  ------------------
  |  Branch (2225:9): [True: 0, False: 0]
  ------------------
 2226|      0|        _bufferedreader_reset_buf(self);
 2227|      0|    if (remaining > 0) {
  ------------------
  |  Branch (2227:9): [True: 0, False: 0]
  ------------------
 2228|      0|        memcpy(self->buffer, (char *) buffer->buf + written, remaining);
 2229|      0|        written += remaining;
 2230|      0|    }
 2231|      0|    self->write_pos = 0;
 2232|       |    /* TODO: sanity check (remaining >= 0) */
 2233|      0|    self->write_end = remaining;
 2234|      0|    ADJUST_POSITION(self, remaining);
  ------------------
  |  |  396|      0|    do { \
  |  |  397|      0|        self->pos = _new_pos; \
  |  |  398|      0|        if (VALID_READ_BUFFER(self) && self->read_end < self->pos) \
  |  |  ------------------
  |  |  |  |  390|      0|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (390:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (390:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (398:40): [True: 0, False: 0]
  |  |  ------------------
  |  |  399|      0|            self->read_end = self->pos; \
  |  |  400|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (400:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2235|      0|    self->raw_pos = 0;
 2236|       |
 2237|     50|end:
 2238|     50|    res = PyLong_FromSsize_t(written);
 2239|       |
 2240|     50|error:
 2241|     50|    LEAVE_BUFFERED(self)
  ------------------
  |  |  340|     50|    do { \
  |  |  341|     50|        self->owner = 0; \
  |  |  342|     50|        PyThread_release_lock(self->lock); \
  |  |  343|     50|    } while(0);
  |  |  ------------------
  |  |  |  Branch (343:13): [Folded, False: 50]
  |  |  ------------------
  ------------------
 2242|     50|    return res;
 2243|     50|}
bufferedio.c:_io__Buffered_flush_impl:
  942|     50|{
  943|     50|    PyObject *res;
  944|       |
  945|     50|    CHECK_INITIALIZED(self)
  ------------------
  |  |  346|     50|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (346:9): [True: 0, False: 50]
  |  |  ------------------
  |  |  347|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (347:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  348|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  349|      0|                 "raw stream has been detached"); \
  |  |  350|      0|        } else { \
  |  |  351|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  352|      0|                "I/O operation on uninitialized object"); \
  |  |  353|      0|        } \
  |  |  354|      0|        return NULL; \
  |  |  355|      0|    }
  ------------------
  946|     50|    CHECK_CLOSED(self, "flush of closed file")
  ------------------
  |  |  376|     50|    do { \
  |  |  377|     50|        int _closed = IS_CLOSED(self); \
  |  |  ------------------
  |  |  |  |  370|     50|    (!self->buffer ? 1 : \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (370:6): [True: 0, False: 50]
  |  |  |  |  ------------------
  |  |  |  |  371|     50|    (self->fast_closed_checks \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (371:6): [True: 50, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  372|     50|     ? _PyFileIO_closed(self->raw) \
  |  |  |  |  373|     50|     : buffered_closed(self)))
  |  |  ------------------
  |  |  378|     50|        if (_closed < 0) { \
  |  |  ------------------
  |  |  |  Branch (378:13): [True: 0, False: 50]
  |  |  ------------------
  |  |  379|      0|            return NULL; \
  |  |  380|      0|        } \
  |  |  381|     50|        if (_closed && \
  |  |  ------------------
  |  |  |  Branch (381:13): [True: 0, False: 50]
  |  |  ------------------
  |  |  382|     50|            (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 (382:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  383|     50|        { \
  |  |  384|      0|            PyErr_SetString(PyExc_ValueError, error_msg); \
  |  |  385|      0|            return NULL; \
  |  |  386|      0|        } \
  |  |  387|     50|    } while (0);
  |  |  ------------------
  |  |  |  Branch (387:14): [Folded, False: 50]
  |  |  ------------------
  ------------------
  947|       |
  948|     50|    if (!ENTER_BUFFERED(self))
  ------------------
  |  |  335|     50|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (335:7): [True: 50, False: 0]
  |  |  |  Branch (335:8): [True: 50, False: 0]
  |  |  ------------------
  |  |  336|     50|       1 : _enter_buffered_busy(self)) \
  |  |  337|     50|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (337:9): [True: 50, False: 0]
  |  |  ------------------
  ------------------
  949|      0|        return NULL;
  950|     50|    res = buffered_flush_and_rewind_unlocked(self);
  951|     50|    LEAVE_BUFFERED(self)
  ------------------
  |  |  340|     50|    do { \
  |  |  341|     50|        self->owner = 0; \
  |  |  342|     50|        PyThread_release_lock(self->lock); \
  |  |  343|     50|    } while(0);
  |  |  ------------------
  |  |  |  Branch (343:13): [Folded, False: 50]
  |  |  ------------------
  ------------------
  952|       |
  953|     50|    return res;
  954|     50|}
bufferedio.c:_io_BufferedWriter___init___impl:
 1956|      4|{
 1957|      4|    self->ok = 0;
 1958|      4|    self->detached = 0;
 1959|       |
 1960|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1961|      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 (1961:9): [True: 0, False: 4]
  ------------------
 1962|      0|        return -1;
 1963|      0|    }
 1964|       |
 1965|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1966|      4|    Py_XSETREF(self->raw, raw);
  ------------------
  |  |  576|      4|    do { \
  |  |  577|      4|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      4|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      4|        *_tmp_dst_ptr = (src); \
  |  |  580|      4|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1967|      4|    self->readable = 0;
 1968|      4|    self->writable = 1;
 1969|       |
 1970|      4|    self->buffer_size = buffer_size;
 1971|      4|    if (_buffered_init(self) < 0)
  ------------------
  |  Branch (1971:9): [True: 0, False: 4]
  ------------------
 1972|      0|        return -1;
 1973|      4|    _bufferedwriter_reset_buf(self);
 1974|      4|    self->pos = 0;
 1975|       |
 1976|      4|    self->fast_closed_checks = (
 1977|      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]
  |  |  ------------------
  ------------------
 1978|      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]
  |  |  ------------------
  ------------------
 1979|      4|    );
 1980|       |
 1981|      4|    self->ok = 1;
 1982|      4|    return 0;
 1983|      4|}

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

bufferedio.c:_io__Buffered_simple_flush:
  297|     27|{
  298|     27|    PyObject *return_value = NULL;
  299|       |
  300|     27|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     27|    {
  ------------------
  301|     27|    return_value = _io__Buffered_simple_flush_impl((buffered *)self);
  302|     27|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     27|    }
  ------------------
  303|       |
  304|     27|    return return_value;
  305|     27|}
bufferedio.c:_io__Buffered_close:
  335|     27|{
  336|     27|    PyObject *return_value = NULL;
  337|       |
  338|     27|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     27|    {
  ------------------
  339|     27|    return_value = _io__Buffered_close_impl((buffered *)self);
  340|     27|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     27|    }
  ------------------
  341|       |
  342|     27|    return return_value;
  343|     27|}
bufferedio.c:_io__Buffered_seekable:
  381|      6|{
  382|      6|    PyObject *return_value = NULL;
  383|       |
  384|      6|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      6|    {
  ------------------
  385|      6|    return_value = _io__Buffered_seekable_impl((buffered *)self);
  386|      6|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      6|    }
  ------------------
  387|       |
  388|      6|    return return_value;
  389|      6|}
bufferedio.c:_io__Buffered_readable:
  404|      2|{
  405|      2|    PyObject *return_value = NULL;
  406|       |
  407|      2|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      2|    {
  ------------------
  408|      2|    return_value = _io__Buffered_readable_impl((buffered *)self);
  409|      2|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      2|    }
  ------------------
  410|       |
  411|      2|    return return_value;
  412|      2|}
bufferedio.c:_io__Buffered_read:
  593|     27|{
  594|     27|    PyObject *return_value = NULL;
  595|     27|    Py_ssize_t n = -1;
  596|       |
  597|     27|    if (!_PyArg_CheckPositional("read", nargs, 0, 1)) {
  ------------------
  |  |   38|     27|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 27, False: 0]
  |  |  |  Branch (38:27): [True: 27, False: 0]
  |  |  ------------------
  |  |   39|     27|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  598|      0|        goto exit;
  599|      0|    }
  600|     27|    if (nargs < 1) {
  ------------------
  |  Branch (600:9): [True: 27, False: 0]
  ------------------
  601|     27|        goto skip_optional;
  602|     27|    }
  603|      0|    if (!_Py_convert_optional_to_ssize_t(args[0], &n)) {
  ------------------
  |  Branch (603:9): [True: 0, False: 0]
  ------------------
  604|      0|        goto exit;
  605|      0|    }
  606|     27|skip_optional:
  607|     27|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     27|    {
  ------------------
  608|     27|    return_value = _io__Buffered_read_impl((buffered *)self, n);
  609|     27|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     27|    }
  ------------------
  610|       |
  611|     27|exit:
  612|     27|    return return_value;
  613|     27|}
bufferedio.c:_io__Buffered_tell:
  775|      4|{
  776|      4|    PyObject *return_value = NULL;
  777|       |
  778|      4|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      4|    {
  ------------------
  779|      4|    return_value = _io__Buffered_tell_impl((buffered *)self);
  780|      4|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      4|    }
  ------------------
  781|       |
  782|      4|    return return_value;
  783|      4|}
bufferedio.c:_io__Buffered_closed_get:
  312|     54|{
  313|     54|    PyObject *return_value = NULL;
  314|       |
  315|     54|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     54|    {
  ------------------
  316|     54|    return_value = _io__Buffered_closed_get_impl((buffered *)self);
  317|     54|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     54|    }
  ------------------
  318|       |
  319|     54|    return return_value;
  320|     54|}
bufferedio.c:_io_BufferedReader___init__:
  871|     29|{
  872|     29|    int return_value = -1;
  873|     29|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  874|       |
  875|     29|    #define NUM_KEYWORDS 2
  876|     29|    static struct {
  877|     29|        PyGC_Head _this_is_not_used;
  878|     29|        PyObject_VAR_HEAD
  879|     29|        Py_hash_t ob_hash;
  880|     29|        PyObject *ob_item[NUM_KEYWORDS];
  881|     29|    } _kwtuple = {
  882|     29|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     29|    {                                     \
  |  |   98|     29|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     29|    {                               \
  |  |  |  |   91|     29|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     29|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     29|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     29|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     29|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     29|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     29|        (type)                      \
  |  |  |  |   93|     29|    },
  |  |  ------------------
  |  |   99|     29|        (size)                            \
  |  |  100|     29|    },
  ------------------
  883|     29|        .ob_hash = -1,
  884|     29|        .ob_item = { &_Py_ID(raw), &_Py_ID(buffer_size), },
  ------------------
  |  |  951|     29|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     29|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     29|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(raw), &_Py_ID(buffer_size), },
  ------------------
  |  |  951|     29|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     29|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     29|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  885|     29|    };
  886|     29|    #undef NUM_KEYWORDS
  887|     29|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  888|       |
  889|       |    #else  // !Py_BUILD_CORE
  890|       |    #  define KWTUPLE NULL
  891|       |    #endif  // !Py_BUILD_CORE
  892|       |
  893|     29|    static const char * const _keywords[] = {"raw", "buffer_size", NULL};
  894|     29|    static _PyArg_Parser _parser = {
  895|     29|        .keywords = _keywords,
  896|     29|        .fname = "BufferedReader",
  897|     29|        .kwtuple = KWTUPLE,
  ------------------
  |  |  887|     29|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  898|     29|    };
  899|     29|    #undef KWTUPLE
  900|     29|    PyObject *argsbuf[2];
  901|     29|    PyObject * const *fastargs;
  902|     29|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     29|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  903|     29|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 1;
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (903:36): [True: 0, False: 29]
  ------------------
  904|     29|    PyObject *raw;
  905|     29|    Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE;
  ------------------
  |  |   82|     29|#define DEFAULT_BUFFER_SIZE (128 * 1024)  /* bytes */
  ------------------
  906|       |
  907|     29|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   90|     29|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 29, Folded]
  |  |  |  Branch (90:23): [True: 29, False: 0]
  |  |  |  Branch (90:43): [True: 0, Folded]
  |  |  ------------------
  |  |   91|     58|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 29, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 29]
  |  |  |  Branch (91:43): [True: 29, False: 0]
  |  |  |  Branch (91:67): [True: 29, False: 0]
  |  |  |  Branch (91:68): [True: 29, False: 0]
  |  |  ------------------
  |  |   92|     58|      (args) : \
  |  |  ------------------
  |  |  |  Branch (92:8): [True: 29, False: 0]
  |  |  ------------------
  |  |   93|     29|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (93:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  908|     29|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  909|     29|    if (!fastargs) {
  ------------------
  |  Branch (909:9): [True: 0, False: 29]
  ------------------
  910|      0|        goto exit;
  911|      0|    }
  912|     29|    raw = fastargs[0];
  913|     29|    if (!noptargs) {
  ------------------
  |  Branch (913:9): [True: 0, False: 29]
  ------------------
  914|      0|        goto skip_optional_pos;
  915|      0|    }
  916|     29|    {
  917|     29|        Py_ssize_t ival = -1;
  918|     29|        PyObject *iobj = _PyNumber_Index(fastargs[1]);
  919|     29|        if (iobj != NULL) {
  ------------------
  |  Branch (919:13): [True: 29, False: 0]
  ------------------
  920|     29|            ival = PyLong_AsSsize_t(iobj);
  921|     29|            Py_DECREF(iobj);
  ------------------
  |  |  430|     29|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  922|     29|        }
  923|     29|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (923:13): [True: 0, False: 29]
  |  Branch (923:27): [True: 0, False: 0]
  ------------------
  924|      0|            goto exit;
  925|      0|        }
  926|     29|        buffer_size = ival;
  927|     29|    }
  928|     29|skip_optional_pos:
  929|     29|    return_value = _io_BufferedReader___init___impl((buffered *)self, raw, buffer_size);
  930|       |
  931|     29|exit:
  932|     29|    return return_value;
  933|     29|}
bufferedio.c:_io__Buffered_writable:
  427|      4|{
  428|      4|    PyObject *return_value = NULL;
  429|       |
  430|      4|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      4|    {
  ------------------
  431|      4|    return_value = _io__Buffered_writable_impl((buffered *)self);
  432|      4|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      4|    }
  ------------------
  433|       |
  434|      4|    return return_value;
  435|      4|}
bufferedio.c:_io_BufferedWriter_write:
 1028|     50|{
 1029|     50|    PyObject *return_value = NULL;
 1030|     50|    Py_buffer buffer = {NULL, NULL};
 1031|       |
 1032|     50|    if (PyObject_GetBuffer(arg, &buffer, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     50|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1032:9): [True: 0, False: 50]
  ------------------
 1033|      0|        goto exit;
 1034|      0|    }
 1035|     50|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     50|    {
  ------------------
 1036|     50|    return_value = _io_BufferedWriter_write_impl((buffered *)self, &buffer);
 1037|     50|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     50|    }
  ------------------
 1038|       |
 1039|     50|exit:
 1040|       |    /* Cleanup for buffer */
 1041|     50|    if (buffer.obj) {
  ------------------
  |  Branch (1041:9): [True: 50, False: 0]
  ------------------
 1042|     50|       PyBuffer_Release(&buffer);
 1043|     50|    }
 1044|       |
 1045|     50|    return return_value;
 1046|     50|}
bufferedio.c:_io__Buffered_flush:
  526|     50|{
  527|     50|    PyObject *return_value = NULL;
  528|       |
  529|     50|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     50|    {
  ------------------
  530|     50|    return_value = _io__Buffered_flush_impl((buffered *)self);
  531|     50|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     50|    }
  ------------------
  532|       |
  533|     50|    return return_value;
  534|     50|}
bufferedio.c:_io_BufferedWriter___init__:
  951|      4|{
  952|      4|    int return_value = -1;
  953|      4|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  954|       |
  955|      4|    #define NUM_KEYWORDS 2
  956|      4|    static struct {
  957|      4|        PyGC_Head _this_is_not_used;
  958|      4|        PyObject_VAR_HEAD
  959|      4|        Py_hash_t ob_hash;
  960|      4|        PyObject *ob_item[NUM_KEYWORDS];
  961|      4|    } _kwtuple = {
  962|      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|    },
  ------------------
  963|      4|        .ob_hash = -1,
  964|      4|        .ob_item = { &_Py_ID(raw), &_Py_ID(buffer_size), },
  ------------------
  |  |  951|      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), },
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  965|      4|    };
  966|      4|    #undef NUM_KEYWORDS
  967|      4|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  968|       |
  969|       |    #else  // !Py_BUILD_CORE
  970|       |    #  define KWTUPLE NULL
  971|       |    #endif  // !Py_BUILD_CORE
  972|       |
  973|      4|    static const char * const _keywords[] = {"raw", "buffer_size", NULL};
  974|      4|    static _PyArg_Parser _parser = {
  975|      4|        .keywords = _keywords,
  976|      4|        .fname = "BufferedWriter",
  977|      4|        .kwtuple = KWTUPLE,
  ------------------
  |  |  967|      4|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  978|      4|    };
  979|      4|    #undef KWTUPLE
  980|      4|    PyObject *argsbuf[2];
  981|      4|    PyObject * const *fastargs;
  982|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  983|      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 (983:36): [True: 0, False: 4]
  ------------------
  984|      4|    PyObject *raw;
  985|      4|    Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE;
  ------------------
  |  |   82|      4|#define DEFAULT_BUFFER_SIZE (128 * 1024)  /* bytes */
  ------------------
  986|       |
  987|      4|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   90|      4|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 4, Folded]
  |  |  |  Branch (90:23): [True: 4, False: 0]
  |  |  |  Branch (90:43): [True: 0, Folded]
  |  |  ------------------
  |  |   91|      8|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 4, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 4]
  |  |  |  Branch (91:43): [True: 4, False: 0]
  |  |  |  Branch (91:67): [True: 4, False: 0]
  |  |  |  Branch (91:68): [True: 4, False: 0]
  |  |  ------------------
  |  |   92|      8|      (args) : \
  |  |  ------------------
  |  |  |  Branch (92:8): [True: 4, False: 0]
  |  |  ------------------
  |  |   93|      4|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (93:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  988|      4|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  989|      4|    if (!fastargs) {
  ------------------
  |  Branch (989:9): [True: 0, False: 4]
  ------------------
  990|      0|        goto exit;
  991|      0|    }
  992|      4|    raw = fastargs[0];
  993|      4|    if (!noptargs) {
  ------------------
  |  Branch (993:9): [True: 0, False: 4]
  ------------------
  994|      0|        goto skip_optional_pos;
  995|      0|    }
  996|      4|    {
  997|      4|        Py_ssize_t ival = -1;
  998|      4|        PyObject *iobj = _PyNumber_Index(fastargs[1]);
  999|      4|        if (iobj != NULL) {
  ------------------
  |  Branch (999:13): [True: 4, False: 0]
  ------------------
 1000|      4|            ival = PyLong_AsSsize_t(iobj);
 1001|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1002|      4|        }
 1003|      4|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1003:13): [True: 0, False: 4]
  |  Branch (1003:27): [True: 0, False: 0]
  ------------------
 1004|      0|            goto exit;
 1005|      0|        }
 1006|      4|        buffer_size = ival;
 1007|      4|    }
 1008|      4|skip_optional_pos:
 1009|      4|    return_value = _io_BufferedWriter___init___impl((buffered *)self, raw, buffer_size);
 1010|       |
 1011|      4|exit:
 1012|      4|    return return_value;
 1013|      4|}

fileio.c:_io_FileIO_readall:
  296|     27|{
  297|     27|    if (nargs || (kwnames && PyTuple_GET_SIZE(kwnames))) {
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (297:9): [True: 0, False: 27]
  |  Branch (297:19): [True: 0, False: 27]
  ------------------
  298|      0|        PyErr_SetString(PyExc_TypeError, "readall() takes no arguments");
  299|      0|        return NULL;
  300|      0|    }
  301|     27|    return _io_FileIO_readall_impl((fileio *)self, cls);
  302|     27|}
fileio.c:_io_FileIO_write:
  368|     50|{
  369|     50|    PyObject *return_value = NULL;
  370|     50|    Py_buffer b = {NULL, NULL};
  371|       |
  372|     50|    if (!_PyArg_NoKwnames("write", kwnames)) {
  ------------------
  |  |   16|     50|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 50, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  373|      0|        goto exit;
  374|      0|    }
  375|     50|    if (!_PyArg_CheckPositional("write", nargs, 1, 1)) {
  ------------------
  |  |   38|     50|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 50, False: 0]
  |  |  |  Branch (38:27): [True: 50, False: 0]
  |  |  ------------------
  |  |   39|     50|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  376|      0|        goto exit;
  377|      0|    }
  378|     50|    if (PyObject_GetBuffer(args[0], &b, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     50|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (378:9): [True: 0, False: 50]
  ------------------
  379|      0|        goto exit;
  380|      0|    }
  381|     50|    return_value = _io_FileIO_write_impl((fileio *)self, cls, &b);
  382|       |
  383|     50|exit:
  384|       |    /* Cleanup for b */
  385|     50|    if (b.obj) {
  ------------------
  |  Branch (385:9): [True: 50, False: 0]
  ------------------
  386|     50|       PyBuffer_Release(&b);
  387|     50|    }
  388|       |
  389|     50|    return return_value;
  390|     50|}
fileio.c:_io_FileIO_tell:
  454|     37|{
  455|     37|    return _io_FileIO_tell_impl((fileio *)self);
  456|     37|}
fileio.c:_io_FileIO_close:
   51|     27|{
   52|     27|    if (nargs || (kwnames && PyTuple_GET_SIZE(kwnames))) {
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (52:9): [True: 0, False: 27]
  |  Branch (52:19): [True: 0, False: 27]
  ------------------
   53|      0|        PyErr_SetString(PyExc_TypeError, "close() takes no arguments");
   54|      0|        return NULL;
   55|      0|    }
   56|     27|    return _io_FileIO_close_impl((fileio *)self, cls);
   57|     27|}
fileio.c:_io_FileIO_seekable:
  231|      6|{
  232|      6|    return _io_FileIO_seekable_impl((fileio *)self);
  233|      6|}
fileio.c:_io_FileIO_readable:
  195|     31|{
  196|     31|    return _io_FileIO_readable_impl((fileio *)self);
  197|     31|}
fileio.c:_io_FileIO_writable:
  213|      8|{
  214|      8|    return _io_FileIO_writable_impl((fileio *)self);
  215|      8|}
fileio.c:_io_FileIO_isatty:
  514|      6|{
  515|      6|    return _io_FileIO_isatty_impl((fileio *)self);
  516|      6|}
fileio.c:_io_FileIO__isatty_open_only:
  531|     33|{
  532|     33|    return _io_FileIO__isatty_open_only_impl((fileio *)self);
  533|     33|}
fileio.c:_io_FileIO_closed_get:
  543|     81|{
  544|     81|    PyObject *return_value = NULL;
  545|     81|    int _return_value;
  546|       |
  547|     81|    _return_value = _io_FileIO_closed_get_impl((fileio *)self);
  548|     81|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (548:9): [True: 0, False: 81]
  |  Branch (548:34): [True: 0, False: 0]
  ------------------
  549|      0|        goto exit;
  550|      0|    }
  551|     81|    return_value = PyBool_FromLong((long)_return_value);
  552|       |
  553|     81|exit:
  554|     81|    return return_value;
  555|     81|}
fileio.c:_io_FileIO__blksize_get:
  599|     33|{
  600|     33|    PyObject *return_value = NULL;
  601|     33|    long _return_value;
  602|       |
  603|     33|    _return_value = _io_FileIO__blksize_get_impl((fileio *)self);
  604|     33|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (604:9): [True: 0, False: 33]
  |  Branch (604:34): [True: 0, False: 0]
  ------------------
  605|      0|        goto exit;
  606|      0|    }
  607|     33|    return_value = PyLong_FromLong(_return_value);
  608|       |
  609|     33|exit:
  610|     33|    return return_value;
  611|     33|}
fileio.c:_io_FileIO___init__:
   86|     33|{
   87|     33|    int return_value = -1;
   88|     33|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   89|       |
   90|     33|    #define NUM_KEYWORDS 4
   91|     33|    static struct {
   92|     33|        PyGC_Head _this_is_not_used;
   93|     33|        PyObject_VAR_HEAD
   94|     33|        Py_hash_t ob_hash;
   95|     33|        PyObject *ob_item[NUM_KEYWORDS];
   96|     33|    } _kwtuple = {
   97|     33|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     33|    {                                     \
  |  |   98|     33|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     33|    {                               \
  |  |  |  |   91|     33|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     33|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     33|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     33|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     33|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     33|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     33|        (type)                      \
  |  |  |  |   93|     33|    },
  |  |  ------------------
  |  |   99|     33|        (size)                            \
  |  |  100|     33|    },
  ------------------
   98|     33|        .ob_hash = -1,
   99|     33|        .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  951|     33|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     33|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     33|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  951|     33|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     33|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     33|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  951|     33|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     33|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     33|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  951|     33|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     33|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     33|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  100|     33|    };
  101|     33|    #undef NUM_KEYWORDS
  102|     33|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  103|       |
  104|       |    #else  // !Py_BUILD_CORE
  105|       |    #  define KWTUPLE NULL
  106|       |    #endif  // !Py_BUILD_CORE
  107|       |
  108|     33|    static const char * const _keywords[] = {"file", "mode", "closefd", "opener", NULL};
  109|     33|    static _PyArg_Parser _parser = {
  110|     33|        .keywords = _keywords,
  111|     33|        .fname = "FileIO",
  112|     33|        .kwtuple = KWTUPLE,
  ------------------
  |  |  102|     33|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  113|     33|    };
  114|     33|    #undef KWTUPLE
  115|     33|    PyObject *argsbuf[4];
  116|     33|    PyObject * const *fastargs;
  117|     33|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     33|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  118|     33|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 1;
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (118:36): [True: 0, False: 33]
  ------------------
  119|     33|    PyObject *nameobj;
  120|     33|    const char *mode = "r";
  121|     33|    int closefd = 1;
  122|     33|    PyObject *opener = Py_None;
  ------------------
  |  |  616|     33|#  define Py_None (&_Py_NoneStruct)
  ------------------
  123|       |
  124|     33|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   90|     33|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 33, Folded]
  |  |  |  Branch (90:23): [True: 33, False: 0]
  |  |  |  Branch (90:43): [True: 0, Folded]
  |  |  ------------------
  |  |   91|     66|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 33, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 33]
  |  |  |  Branch (91:43): [True: 33, False: 0]
  |  |  |  Branch (91:67): [True: 33, False: 0]
  |  |  |  Branch (91:68): [True: 33, False: 0]
  |  |  ------------------
  |  |   92|     66|      (args) : \
  |  |  ------------------
  |  |  |  Branch (92:8): [True: 33, False: 0]
  |  |  ------------------
  |  |   93|     33|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (93:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  125|     33|            /*minpos*/ 1, /*maxpos*/ 4, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  126|     33|    if (!fastargs) {
  ------------------
  |  Branch (126:9): [True: 0, False: 33]
  ------------------
  127|      0|        goto exit;
  128|      0|    }
  129|     33|    nameobj = fastargs[0];
  130|     33|    if (!noptargs) {
  ------------------
  |  Branch (130:9): [True: 0, False: 33]
  ------------------
  131|      0|        goto skip_optional_pos;
  132|      0|    }
  133|     33|    if (fastargs[1]) {
  ------------------
  |  Branch (133:9): [True: 33, False: 0]
  ------------------
  134|     33|        if (!PyUnicode_Check(fastargs[1])) {
  ------------------
  |  |  103|     33|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     33|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (134:13): [True: 0, False: 33]
  ------------------
  135|      0|            _PyArg_BadArgument("FileIO", "argument 'mode'", "str", fastargs[1]);
  136|      0|            goto exit;
  137|      0|        }
  138|     33|        mode = _PyUnicode_AsUTF8NoNUL(fastargs[1]);
  139|     33|        if (mode == NULL) {
  ------------------
  |  Branch (139:13): [True: 0, False: 33]
  ------------------
  140|      0|            goto exit;
  141|      0|        }
  142|     33|        if (!--noptargs) {
  ------------------
  |  Branch (142:13): [True: 0, False: 33]
  ------------------
  143|      0|            goto skip_optional_pos;
  144|      0|        }
  145|     33|    }
  146|     33|    if (fastargs[2]) {
  ------------------
  |  Branch (146:9): [True: 33, False: 0]
  ------------------
  147|     33|        closefd = PyObject_IsTrue(fastargs[2]);
  148|     33|        if (closefd < 0) {
  ------------------
  |  Branch (148:13): [True: 0, False: 33]
  ------------------
  149|      0|            goto exit;
  150|      0|        }
  151|     33|        if (!--noptargs) {
  ------------------
  |  Branch (151:13): [True: 0, False: 33]
  ------------------
  152|      0|            goto skip_optional_pos;
  153|      0|        }
  154|     33|    }
  155|     33|    opener = fastargs[3];
  156|     33|skip_optional_pos:
  157|     33|    return_value = _io_FileIO___init___impl((fileio *)self, nameobj, mode, closefd, opener);
  158|       |
  159|     33|exit:
  160|     33|    return return_value;
  161|     33|}

iobase.c:_io__IOBase_flush:
  141|     54|{
  142|     54|    return _io__IOBase_flush_impl(self);
  143|     54|}
iobase.c:_io__IOBase_close:
  251|     27|{
  252|     27|    return _io__IOBase_close_impl(self);
  253|     27|}
iobase.c:_io__IOBase_readable:
  292|      4|{
  293|      4|    return _io__IOBase_readable_impl(self);
  294|      4|}
iobase.c:_io__IOBase_writable:
  312|      2|{
  313|      2|    return _io__IOBase_writable_impl(self);
  314|      2|}
iobase.c:_io__IOBase___enter__:
  330|     27|{
  331|     27|    return _io__IOBase___enter___impl(self);
  332|     27|}
iobase.c:_io__IOBase___exit__:
  348|     27|{
  349|     27|    PyObject *return_value = NULL;
  350|     27|    PyObject *__clinic_args = NULL;
  351|       |
  352|     27|    __clinic_args = PyTuple_FromArray(args, nargs);
  353|     27|    if (__clinic_args == NULL) {
  ------------------
  |  Branch (353:9): [True: 0, False: 27]
  ------------------
  354|      0|        goto exit;
  355|      0|    }
  356|     27|    return_value = _io__IOBase___exit___impl(self, __clinic_args);
  357|       |
  358|     27|exit:
  359|       |    /* Cleanup for args */
  360|     27|    Py_XDECREF(__clinic_args);
  ------------------
  |  |  621|     27|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  361|       |
  362|     27|    return return_value;
  363|     27|}

textio.c:_io_TextIOWrapper_write:
  726|     50|{
  727|     50|    PyObject *return_value = NULL;
  728|     50|    PyObject *text;
  729|       |
  730|     50|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|     50|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     50|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (730:9): [True: 0, False: 50]
  ------------------
  731|      0|        _PyArg_BadArgument("write", "argument", "str", arg);
  732|      0|        goto exit;
  733|      0|    }
  734|     50|    text = arg;
  735|     50|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     50|    {
  ------------------
  736|     50|    return_value = _io_TextIOWrapper_write_impl((textio *)self, text);
  737|     50|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     50|    }
  ------------------
  738|       |
  739|     50|exit:
  740|     50|    return return_value;
  741|     50|}
textio.c:_io_TextIOWrapper___init__:
  478|      6|{
  479|      6|    int return_value = -1;
  480|      6|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  481|       |
  482|      6|    #define NUM_KEYWORDS 6
  483|      6|    static struct {
  484|      6|        PyGC_Head _this_is_not_used;
  485|      6|        PyObject_VAR_HEAD
  486|      6|        Py_hash_t ob_hash;
  487|      6|        PyObject *ob_item[NUM_KEYWORDS];
  488|      6|    } _kwtuple = {
  489|      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|    },
  ------------------
  490|      6|        .ob_hash = -1,
  491|      6|        .ob_item = { &_Py_ID(buffer), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(line_buffering), &_Py_ID(write_through), },
  ------------------
  |  |  951|      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), },
  ------------------
  |  |  951|      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), },
  ------------------
  |  |  951|      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), },
  ------------------
  |  |  951|      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), },
  ------------------
  |  |  951|      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), },
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  492|      6|    };
  493|      6|    #undef NUM_KEYWORDS
  494|      6|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  495|       |
  496|       |    #else  // !Py_BUILD_CORE
  497|       |    #  define KWTUPLE NULL
  498|       |    #endif  // !Py_BUILD_CORE
  499|       |
  500|      6|    static const char * const _keywords[] = {"buffer", "encoding", "errors", "newline", "line_buffering", "write_through", NULL};
  501|      6|    static _PyArg_Parser _parser = {
  502|      6|        .keywords = _keywords,
  503|      6|        .fname = "TextIOWrapper",
  504|      6|        .kwtuple = KWTUPLE,
  ------------------
  |  |  494|      6|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  505|      6|    };
  506|      6|    #undef KWTUPLE
  507|      6|    PyObject *argsbuf[6];
  508|      6|    PyObject * const *fastargs;
  509|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  510|      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 (510:36): [True: 0, False: 6]
  ------------------
  511|      6|    PyObject *buffer;
  512|      6|    const char *encoding = NULL;
  513|      6|    PyObject *errors = Py_None;
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  514|      6|    const char *newline = NULL;
  515|      6|    int line_buffering = 0;
  516|      6|    int write_through = 0;
  517|       |
  518|      6|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   90|      6|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 6, Folded]
  |  |  |  Branch (90:23): [True: 6, False: 0]
  |  |  |  Branch (90:43): [True: 0, Folded]
  |  |  ------------------
  |  |   91|     12|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 6, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 6]
  |  |  |  Branch (91:43): [True: 6, False: 0]
  |  |  |  Branch (91:67): [True: 6, False: 0]
  |  |  |  Branch (91:68): [True: 6, False: 0]
  |  |  ------------------
  |  |   92|     12|      (args) : \
  |  |  ------------------
  |  |  |  Branch (92:8): [True: 6, False: 0]
  |  |  ------------------
  |  |   93|      6|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (93:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  519|      6|            /*minpos*/ 1, /*maxpos*/ 6, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  520|      6|    if (!fastargs) {
  ------------------
  |  Branch (520:9): [True: 0, False: 6]
  ------------------
  521|      0|        goto exit;
  522|      0|    }
  523|      6|    buffer = fastargs[0];
  524|      6|    if (!noptargs) {
  ------------------
  |  Branch (524:9): [True: 0, False: 6]
  ------------------
  525|      0|        goto skip_optional_pos;
  526|      0|    }
  527|      6|    if (fastargs[1]) {
  ------------------
  |  Branch (527:9): [True: 6, False: 0]
  ------------------
  528|      6|        if (fastargs[1] == Py_None) {
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (528:13): [True: 0, False: 6]
  ------------------
  529|      0|            encoding = NULL;
  530|      0|        }
  531|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  532|      6|            encoding = _PyUnicode_AsUTF8NoNUL(fastargs[1]);
  533|      6|            if (encoding == NULL) {
  ------------------
  |  Branch (533:17): [True: 0, False: 6]
  ------------------
  534|      0|                goto exit;
  535|      0|            }
  536|      6|        }
  537|      0|        else {
  538|      0|            _PyArg_BadArgument("TextIOWrapper", "argument 'encoding'", "str or None", fastargs[1]);
  539|      0|            goto exit;
  540|      0|        }
  541|      6|        if (!--noptargs) {
  ------------------
  |  Branch (541:13): [True: 0, False: 6]
  ------------------
  542|      0|            goto skip_optional_pos;
  543|      0|        }
  544|      6|    }
  545|      6|    if (fastargs[2]) {
  ------------------
  |  Branch (545:9): [True: 6, False: 0]
  ------------------
  546|      6|        errors = fastargs[2];
  547|      6|        if (!--noptargs) {
  ------------------
  |  Branch (547:13): [True: 0, False: 6]
  ------------------
  548|      0|            goto skip_optional_pos;
  549|      0|        }
  550|      6|    }
  551|      6|    if (fastargs[3]) {
  ------------------
  |  Branch (551:9): [True: 6, False: 0]
  ------------------
  552|      6|        if (fastargs[3] == Py_None) {
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (552:13): [True: 0, False: 6]
  ------------------
  553|      0|            newline = NULL;
  554|      0|        }
  555|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  556|      6|            newline = _PyUnicode_AsUTF8NoNUL(fastargs[3]);
  557|      6|            if (newline == NULL) {
  ------------------
  |  Branch (557:17): [True: 0, False: 6]
  ------------------
  558|      0|                goto exit;
  559|      0|            }
  560|      6|        }
  561|      0|        else {
  562|      0|            _PyArg_BadArgument("TextIOWrapper", "argument 'newline'", "str or None", fastargs[3]);
  563|      0|            goto exit;
  564|      0|        }
  565|      6|        if (!--noptargs) {
  ------------------
  |  Branch (565:13): [True: 0, False: 6]
  ------------------
  566|      0|            goto skip_optional_pos;
  567|      0|        }
  568|      6|    }
  569|      6|    if (fastargs[4]) {
  ------------------
  |  Branch (569:9): [True: 6, False: 0]
  ------------------
  570|      6|        line_buffering = PyObject_IsTrue(fastargs[4]);
  571|      6|        if (line_buffering < 0) {
  ------------------
  |  Branch (571:13): [True: 0, False: 6]
  ------------------
  572|      0|            goto exit;
  573|      0|        }
  574|      6|        if (!--noptargs) {
  ------------------
  |  Branch (574:13): [True: 0, False: 6]
  ------------------
  575|      0|            goto skip_optional_pos;
  576|      0|        }
  577|      6|    }
  578|      6|    write_through = PyObject_IsTrue(fastargs[5]);
  579|      6|    if (write_through < 0) {
  ------------------
  |  Branch (579:9): [True: 0, False: 6]
  ------------------
  580|      0|        goto exit;
  581|      0|    }
  582|      6|skip_optional_pos:
  583|      6|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      6|    {
  ------------------
  584|      6|    return_value = _io_TextIOWrapper___init___impl((textio *)self, buffer, encoding, errors, newline, line_buffering, write_through);
  585|      6|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      6|    }
  ------------------
  586|       |
  587|      6|exit:
  588|      6|    return return_value;
  589|      6|}

_PyFileIO_closed:
   96|    204|{
   97|    204|    return (PyFileIO_CAST(self)->fd < 0);
  ------------------
  |  |   89|    204|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
   98|    204|}
fileio.c:fileio_dealloc:
  579|     27|{
  580|     27|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   89|     27|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
  581|     27|    self->finalizing = 1;
  582|     27|    if (_PyIOBase_finalize(op) < 0) {
  ------------------
  |  Branch (582:9): [True: 0, False: 27]
  ------------------
  583|      0|        return;
  584|      0|    }
  585|       |
  586|     27|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|     27|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  587|     27|    if (self->stat_atopen != NULL) {
  ------------------
  |  Branch (587:9): [True: 0, False: 27]
  ------------------
  588|      0|        PyMem_Free(self->stat_atopen);
  589|      0|        self->stat_atopen = NULL;
  590|      0|    }
  591|     27|    FT_CLEAR_WEAKREFS(op, self->weakreflist);
  ------------------
  |  |   47|     27|    do {                                            \
  |  |   48|     27|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|     27|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 27]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|     27|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 27]
  |  |  ------------------
  ------------------
  |  Branch (591:5): [True: 27, False: 0]
  ------------------
  592|     27|    (void)fileio_clear(op);
  593|       |
  594|     27|    PyTypeObject *tp = Py_TYPE(op);
  ------------------
  |  |  213|     27|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  595|     27|    tp->tp_free(op);
  596|     27|    Py_DECREF(tp);
  ------------------
  |  |  430|     27|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|     27|}
fileio.c:fileio_traverse:
  562|     12|{
  563|     12|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   89|     12|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
  564|     12|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  565|     12|    Py_VISIT(self->dict);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  566|     12|    return 0;
  567|     12|}
fileio.c:fileio_clear:
  571|     27|{
  572|     27|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   89|     27|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
  573|       |    Py_CLEAR(self->dict);
  ------------------
  |  |  487|     27|    do { \
  |  |  488|     27|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     27|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     27|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     27|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     27|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     27|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 27, False: 0]
  |  |  ------------------
  |  |  491|     27|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     27|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     27|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     27|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     27|        } \
  |  |  494|     27|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 27]
  |  |  ------------------
  ------------------
  574|     27|    return 0;
  575|     27|}
fileio.c:_io_FileIO_readall_impl:
  761|     27|{
  762|     27|    Py_off_t pos, end;
  763|     27|    PyBytesWriter *writer;
  764|     27|    Py_ssize_t bytes_read = 0;
  765|     27|    Py_ssize_t n;
  766|     27|    size_t bufsize;
  767|       |
  768|     27|    if (self->fd < 0) {
  ------------------
  |  Branch (768:9): [True: 0, False: 27]
  ------------------
  769|      0|        return err_closed();
  770|      0|    }
  771|     27|    if (!self->readable) {
  ------------------
  |  Branch (771:9): [True: 0, False: 27]
  ------------------
  772|      0|        _PyIO_State *state = get_io_state_by_cls(cls);
  773|      0|        return err_mode(state, "reading");
  774|      0|    }
  775|       |
  776|     27|    if (self->stat_atopen != NULL && self->stat_atopen->st_size < _PY_READ_MAX) {
  ------------------
  |  |   54|     27|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|     27|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (776:9): [True: 27, False: 0]
  |  Branch (776:38): [True: 27, False: 0]
  ------------------
  777|     27|        end = (Py_off_t)self->stat_atopen->st_size;
  778|     27|    }
  779|      0|    else {
  780|      0|        end = -1;
  781|      0|    }
  782|     27|    if (end <= 0) {
  ------------------
  |  Branch (782:9): [True: 0, False: 27]
  ------------------
  783|       |        /* Use a default size and resize as needed. */
  784|      0|        bufsize = SMALLCHUNK;
  ------------------
  |  |   53|      0|#  define SMALLCHUNK BUFSIZ
  ------------------
  785|      0|    }
  786|     27|    else {
  787|       |        /* This is probably a real file. */
  788|     27|        if (end > _PY_READ_MAX - 1) {
  ------------------
  |  |   54|     27|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|     27|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (788:13): [True: 0, False: 27]
  ------------------
  789|      0|            bufsize = _PY_READ_MAX;
  ------------------
  |  |   54|      0|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  790|      0|        }
  791|     27|        else {
  792|       |            /* In order to detect end of file, need a read() of at
  793|       |               least 1 byte which returns size 0. Oversize the buffer
  794|       |               by 1 byte so the I/O can be completed with two read()
  795|       |               calls (one for all data, one for EOF) without needing
  796|       |               to resize the buffer. */
  797|     27|            bufsize = (size_t)end + 1;
  798|     27|        }
  799|       |
  800|       |        /* While a lot of code does open().read() to get the whole contents
  801|       |           of a file it is possible a caller seeks/reads a ways into the file
  802|       |           then calls readall() to get the rest, which would result in allocating
  803|       |           more than required. Guard against that for larger files where we expect
  804|       |           the I/O time to dominate anyways while keeping small files fast. */
  805|     27|        if (bufsize > LARGE_BUFFER_CUTOFF_SIZE) {
  ------------------
  |  |   58|     27|#define LARGE_BUFFER_CUTOFF_SIZE 65536
  ------------------
  |  Branch (805:13): [True: 2, False: 25]
  ------------------
  806|      2|            Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|      2|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|      2|                        PyThreadState *_save; \
  |  |  119|      2|                        _save = PyEval_SaveThread();
  ------------------
  807|      2|            _Py_BEGIN_SUPPRESS_IPH
  808|       |#ifdef MS_WINDOWS
  809|       |            pos = _lseeki64(self->fd, 0L, SEEK_CUR);
  810|       |#else
  811|      2|            pos = lseek(self->fd, 0L, SEEK_CUR);
  812|      2|#endif
  813|      2|            _Py_END_SUPPRESS_IPH
  814|      2|            Py_END_ALLOW_THREADS
  ------------------
  |  |  122|      2|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|      2|                 }
  ------------------
  815|       |
  816|      2|            if (end >= pos && pos >= 0 && (end - pos) < (_PY_READ_MAX - 1)) {
  ------------------
  |  |   54|      2|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|      2|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (816:17): [True: 2, False: 0]
  |  Branch (816:31): [True: 2, False: 0]
  |  Branch (816:43): [True: 2, False: 0]
  ------------------
  817|      2|                bufsize = (size_t)(end - pos) + 1;
  818|      2|            }
  819|      2|        }
  820|     27|    }
  821|       |
  822|     27|    writer = PyBytesWriter_Create(bufsize);
  823|     27|    if (writer == NULL) {
  ------------------
  |  Branch (823:9): [True: 0, False: 27]
  ------------------
  824|      0|        return NULL;
  825|      0|    }
  826|       |
  827|     54|    while (1) {
  ------------------
  |  Branch (827:12): [True: 54, Folded]
  ------------------
  828|     54|        if (bytes_read >= (Py_ssize_t)bufsize) {
  ------------------
  |  Branch (828:13): [True: 0, False: 54]
  ------------------
  829|      0|            bufsize = new_buffersize(self, bytes_read);
  830|      0|            if (bufsize > PY_SSIZE_T_MAX || bufsize <= 0) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (830:17): [True: 0, False: 0]
  |  Branch (830:45): [True: 0, False: 0]
  ------------------
  831|      0|                PyErr_SetString(PyExc_OverflowError,
  832|      0|                                "unbounded read returned more bytes "
  833|      0|                                "than a Python bytes object can hold");
  834|      0|                PyBytesWriter_Discard(writer);
  835|      0|                return NULL;
  836|      0|            }
  837|       |
  838|      0|            if (PyBytesWriter_GetSize(writer) < (Py_ssize_t)bufsize) {
  ------------------
  |  Branch (838:17): [True: 0, False: 0]
  ------------------
  839|      0|                if (PyBytesWriter_Resize(writer, bufsize) < 0)
  ------------------
  |  Branch (839:21): [True: 0, False: 0]
  ------------------
  840|      0|                    return NULL;
  841|      0|            }
  842|      0|        }
  843|       |
  844|     54|        n = _Py_read(self->fd,
  845|     54|                     (char*)PyBytesWriter_GetData(writer) + bytes_read,
  846|     54|                     bufsize - bytes_read);
  847|       |
  848|     54|        if (n == 0)
  ------------------
  |  Branch (848:13): [True: 27, False: 27]
  ------------------
  849|     27|            break;
  850|     27|        if (n == -1) {
  ------------------
  |  Branch (850:13): [True: 0, False: 27]
  ------------------
  851|      0|            if (errno == EAGAIN) {
  ------------------
  |  Branch (851:17): [True: 0, False: 0]
  ------------------
  852|      0|                PyErr_Clear();
  853|      0|                if (bytes_read > 0)
  ------------------
  |  Branch (853:21): [True: 0, False: 0]
  ------------------
  854|      0|                    break;
  855|      0|                PyBytesWriter_Discard(writer);
  856|      0|                Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  857|      0|            }
  858|      0|            PyBytesWriter_Discard(writer);
  859|      0|            return NULL;
  860|      0|        }
  861|     27|        bytes_read += n;
  862|     27|    }
  863|       |
  864|     27|    return PyBytesWriter_FinishWithSize(writer, bytes_read);
  865|     27|}
fileio.c:_io_FileIO_write_impl:
  940|     50|{
  941|     50|    Py_ssize_t n;
  942|     50|    int err;
  943|       |
  944|     50|    if (self->fd < 0)
  ------------------
  |  Branch (944:9): [True: 0, False: 50]
  ------------------
  945|      0|        return err_closed();
  946|     50|    if (!self->writable) {
  ------------------
  |  Branch (946:9): [True: 0, False: 50]
  ------------------
  947|      0|        _PyIO_State *state = get_io_state_by_cls(cls);
  948|      0|        return err_mode(state, "writing");
  949|      0|    }
  950|       |
  951|     50|    n = _Py_write(self->fd, b->buf, b->len);
  952|       |    /* copy errno because PyBuffer_Release() can indirectly modify it */
  953|     50|    err = errno;
  954|       |
  955|     50|    if (n < 0) {
  ------------------
  |  Branch (955:9): [True: 0, False: 50]
  ------------------
  956|      0|        if (err == EAGAIN) {
  ------------------
  |  Branch (956:13): [True: 0, False: 0]
  ------------------
  957|      0|            PyErr_Clear();
  958|      0|            Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  959|      0|        }
  960|      0|        return NULL;
  961|      0|    }
  962|       |
  963|     50|    return PyLong_FromSsize_t(n);
  964|     50|}
fileio.c:portable_lseek:
  971|     37|{
  972|     37|    Py_off_t pos, res;
  973|     37|    int fd = self->fd;
  974|       |
  975|     37|#ifdef SEEK_SET
  976|       |    /* Turn 0, 1, 2 into SEEK_{SET,CUR,END} */
  977|     37|    switch (whence) {
  ------------------
  |  Branch (977:13): [Folded, False: 37]
  ------------------
  978|       |#if SEEK_SET != 0
  979|       |    case 0: whence = SEEK_SET; break;
  980|       |#endif
  981|       |#if SEEK_CUR != 1
  982|       |    case 1: whence = SEEK_CUR; break;
  983|       |#endif
  984|       |#if SEEK_END != 2
  985|       |    case 2: whence = SEEK_END; break;
  986|       |#endif
  987|     37|    }
  988|     37|#endif /* SEEK_SET */
  989|       |
  990|     37|    if (posobj == NULL) {
  ------------------
  |  Branch (990:9): [True: 37, False: 0]
  ------------------
  991|     37|        pos = 0;
  992|     37|    }
  993|      0|    else {
  994|       |#if defined(HAVE_LARGEFILE_SUPPORT)
  995|       |        pos = PyLong_AsLongLong(posobj);
  996|       |#else
  997|      0|        pos = PyLong_AsLong(posobj);
  998|      0|#endif
  999|      0|        if (PyErr_Occurred())
  ------------------
  |  Branch (999:13): [True: 0, False: 0]
  ------------------
 1000|      0|            return NULL;
 1001|      0|    }
 1002|       |
 1003|     37|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|     37|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|     37|                        PyThreadState *_save; \
  |  |  119|     37|                        _save = PyEval_SaveThread();
  ------------------
 1004|     37|    _Py_BEGIN_SUPPRESS_IPH
 1005|       |#ifdef MS_WINDOWS
 1006|       |    HANDLE h = (HANDLE)_get_osfhandle(fd);
 1007|       |    if (h != INVALID_HANDLE_VALUE && GetFileType(h) == FILE_TYPE_PIPE) {
 1008|       |        res = -1;
 1009|       |        errno = ESPIPE;
 1010|       |    }
 1011|       |    else {
 1012|       |        res = _lseeki64(fd, pos, whence);
 1013|       |    }
 1014|       |#else
 1015|     37|    res = lseek(fd, pos, whence);
 1016|     37|#endif
 1017|     37|    _Py_END_SUPPRESS_IPH
 1018|     37|    Py_END_ALLOW_THREADS
  ------------------
  |  |  122|     37|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|     37|                 }
  ------------------
 1019|       |
 1020|     37|    if (self->seekable < 0) {
  ------------------
  |  Branch (1020:9): [True: 33, False: 4]
  ------------------
 1021|     33|        self->seekable = (res >= 0);
 1022|     33|    }
 1023|       |
 1024|     37|    if (res < 0) {
  ------------------
  |  Branch (1024:9): [True: 0, False: 37]
  ------------------
 1025|      0|        if (suppress_pipe_error && errno == ESPIPE) {
  ------------------
  |  Branch (1025:13): [True: 0, False: 0]
  |  Branch (1025:36): [True: 0, False: 0]
  ------------------
 1026|      0|            res = 0;
 1027|      0|        } else {
 1028|      0|            return PyErr_SetFromErrno(PyExc_OSError);
 1029|      0|        }
 1030|      0|    }
 1031|       |
 1032|       |#if defined(HAVE_LARGEFILE_SUPPORT)
 1033|       |    return PyLong_FromLongLong(res);
 1034|       |#else
 1035|     37|    return PyLong_FromLong(res);
 1036|     37|#endif
 1037|     37|}
fileio.c:_io_FileIO_tell_impl:
 1078|     37|{
 1079|     37|    if (self->fd < 0)
  ------------------
  |  Branch (1079:9): [True: 0, False: 37]
  ------------------
 1080|      0|        return err_closed();
 1081|       |
 1082|     37|    return portable_lseek(self, NULL, 1, false);
 1083|     37|}
fileio.c:_io_FileIO_close_impl:
  171|     27|{
  172|     27|    PyObject *res;
  173|     27|    int rc;
  174|     27|    _PyIO_State *state = get_io_state_by_cls(cls);
  175|     27|    res = PyObject_CallMethodOneArg((PyObject*)state->PyRawIOBase_Type,
  176|     27|                                     &_Py_ID(close), (PyObject *)self);
  ------------------
  |  |  951|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  177|     27|    if (!self->closefd) {
  ------------------
  |  Branch (177:9): [True: 0, False: 27]
  ------------------
  178|      0|        self->fd = -1;
  179|      0|        return res;
  180|      0|    }
  181|       |
  182|     27|    PyObject *exc = NULL;
  183|     27|    if (res == NULL) {
  ------------------
  |  Branch (183:9): [True: 0, False: 27]
  ------------------
  184|      0|        exc = PyErr_GetRaisedException();
  185|      0|    }
  186|     27|    if (self->finalizing) {
  ------------------
  |  Branch (186:9): [True: 0, False: 27]
  ------------------
  187|      0|        PyObject *r = _io_FileIO__dealloc_warn_impl(self, (PyObject *)self);
  188|      0|        if (r) {
  ------------------
  |  Branch (188:13): [True: 0, False: 0]
  ------------------
  189|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  190|      0|        }
  191|      0|        else {
  192|      0|            PyErr_Clear();
  193|      0|        }
  194|      0|    }
  195|     27|    rc = internal_close(self);
  196|     27|    if (res == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 27]
  ------------------
  197|      0|        _PyErr_ChainExceptions1(exc);
  198|      0|    }
  199|     27|    if (rc < 0) {
  ------------------
  |  Branch (199:9): [True: 0, False: 27]
  ------------------
  200|       |        Py_CLEAR(res);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  201|      0|    }
  202|     27|    return res;
  203|     27|}
fileio.c:internal_close:
  131|     27|{
  132|     27|    int err = 0;
  133|     27|    int save_errno = 0;
  134|     27|    if (self->fd >= 0) {
  ------------------
  |  Branch (134:9): [True: 27, False: 0]
  ------------------
  135|     27|        int fd = self->fd;
  136|     27|        self->fd = -1;
  137|       |        /* fd is accessible and someone else may have closed it */
  138|     27|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|     27|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|     27|                        PyThreadState *_save; \
  |  |  119|     27|                        _save = PyEval_SaveThread();
  ------------------
  139|     27|        _Py_BEGIN_SUPPRESS_IPH
  140|     27|        err = close(fd);
  141|     27|        if (err < 0)
  ------------------
  |  Branch (141:13): [True: 0, False: 27]
  ------------------
  142|      0|            save_errno = errno;
  143|     27|        _Py_END_SUPPRESS_IPH
  144|     27|        Py_END_ALLOW_THREADS
  ------------------
  |  |  122|     27|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|     27|                 }
  ------------------
  145|     27|    }
  146|     27|    PyMem_Free(self->stat_atopen);
  147|     27|    self->stat_atopen = NULL;
  148|     27|    if (err < 0) {
  ------------------
  |  Branch (148:9): [True: 0, False: 27]
  ------------------
  149|      0|        errno = save_errno;
  150|      0|        PyErr_SetFromErrno(PyExc_OSError);
  151|      0|        return -1;
  152|      0|    }
  153|     27|    return 0;
  154|     27|}
fileio.c:_io_FileIO_seekable_impl:
  667|      6|{
  668|      6|    if (self->fd < 0)
  ------------------
  |  Branch (668:9): [True: 0, False: 6]
  ------------------
  669|      0|        return err_closed();
  670|      6|    if (self->seekable < 0) {
  ------------------
  |  Branch (670:9): [True: 0, False: 6]
  ------------------
  671|       |        /* portable_lseek() sets the seekable attribute */
  672|      0|        PyObject *pos = portable_lseek(self, NULL, SEEK_CUR, false);
  673|      0|        assert(self->seekable >= 0);
  ------------------
  |  Branch (673:9): [True: 0, False: 0]
  ------------------
  674|      0|        if (pos == NULL) {
  ------------------
  |  Branch (674:13): [True: 0, False: 0]
  ------------------
  675|      0|            PyErr_Clear();
  676|      0|        }
  677|      0|        else {
  678|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  679|      0|        }
  680|      0|    }
  681|      6|    return PyBool_FromLong((long) self->seekable);
  682|      6|}
fileio.c:_io_FileIO_readable_impl:
  637|     31|{
  638|     31|    if (self->fd < 0)
  ------------------
  |  Branch (638:9): [True: 0, False: 31]
  ------------------
  639|      0|        return err_closed();
  640|     31|    return PyBool_FromLong((long) self->readable);
  641|     31|}
fileio.c:_io_FileIO_writable_impl:
  652|      8|{
  653|      8|    if (self->fd < 0)
  ------------------
  |  Branch (653:9): [True: 0, False: 8]
  ------------------
  654|      0|        return err_closed();
  655|      8|    return PyBool_FromLong((long) self->writable);
  656|      8|}
fileio.c:_io_FileIO_isatty_impl:
 1243|      8|{
 1244|      8|    long res;
 1245|       |
 1246|      8|    if (self->fd < 0)
  ------------------
  |  Branch (1246:9): [True: 0, False: 8]
  ------------------
 1247|      0|        return err_closed();
 1248|      8|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|      8|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|      8|                        PyThreadState *_save; \
  |  |  119|      8|                        _save = PyEval_SaveThread();
  ------------------
 1249|      8|    _Py_BEGIN_SUPPRESS_IPH
 1250|      8|    res = isatty(self->fd);
 1251|      8|    _Py_END_SUPPRESS_IPH
 1252|      8|    Py_END_ALLOW_THREADS
  ------------------
  |  |  122|      8|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|      8|                 }
  ------------------
 1253|      8|    return PyBool_FromLong(res);
 1254|      8|}
fileio.c:_io_FileIO__isatty_open_only_impl:
 1271|     33|{
 1272|     33|    if (self->stat_atopen != NULL && !S_ISCHR(self->stat_atopen->st_mode)) {
  ------------------
  |  Branch (1272:9): [True: 33, False: 0]
  |  Branch (1272:38): [True: 31, False: 2]
  ------------------
 1273|     31|        Py_RETURN_FALSE;
  ------------------
  |  |   45|     31|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     31|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1274|     31|    }
 1275|      2|    return _io_FileIO_isatty_impl(self);
 1276|     33|}
fileio.c:_io_FileIO_closed_get_impl:
 1312|     81|{
 1313|     81|    return self->fd < 0;
 1314|     81|}
fileio.c:_io_FileIO__blksize_get_impl:
 1354|     33|{
 1355|     33|#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
 1356|     33|    if (self->stat_atopen != NULL && self->stat_atopen->st_blksize > 1) {
  ------------------
  |  Branch (1356:9): [True: 33, False: 0]
  |  Branch (1356:38): [True: 33, False: 0]
  ------------------
 1357|     33|        return self->stat_atopen->st_blksize;
 1358|     33|    }
 1359|      0|#endif /* HAVE_STRUCT_STAT_ST_BLKSIZE */
 1360|      0|    return DEFAULT_BUFFER_SIZE;
  ------------------
  |  |   82|      0|#define DEFAULT_BUFFER_SIZE (128 * 1024)  /* bytes */
  ------------------
 1361|     33|}
fileio.c:_io_FileIO___init___impl:
  261|     33|{
  262|       |#ifdef MS_WINDOWS
  263|       |    wchar_t *widename = NULL;
  264|       |#else
  265|     33|    const char *name = NULL;
  266|     33|#endif
  267|     33|    PyObject *stringobj = NULL;
  268|     33|    const char *s;
  269|     33|    int ret = 0;
  270|     33|    int rwa = 0, plus = 0;
  271|     33|    int flags = 0;
  272|     33|    int fd = -1;
  273|     33|    int fd_is_own = 0;
  274|     33|#ifdef O_CLOEXEC
  275|     33|    int *atomic_flag_works = &_Py_open_cloexec_works;
  276|       |#elif !defined(MS_WINDOWS)
  277|       |    int *atomic_flag_works = NULL;
  278|       |#endif
  279|     33|    int fstat_result;
  280|     33|    int async_err = 0;
  281|       |
  282|       |#ifdef Py_DEBUG
  283|       |    _PyIO_State *state = find_io_state_by_def(Py_TYPE(self));
  284|       |    assert(PyFileIO_Check(state, self));
  285|       |#endif
  286|     33|    if (self->fd >= 0) {
  ------------------
  |  Branch (286:9): [True: 0, False: 33]
  ------------------
  287|      0|        if (self->closefd) {
  ------------------
  |  Branch (287:13): [True: 0, False: 0]
  ------------------
  288|       |            /* Have to close the existing file first. */
  289|      0|            if (internal_close(self) < 0) {
  ------------------
  |  Branch (289:17): [True: 0, False: 0]
  ------------------
  290|      0|                return -1;
  291|      0|            }
  292|      0|        }
  293|      0|        else
  294|      0|            self->fd = -1;
  295|      0|    }
  296|       |
  297|     33|    if (PyBool_Check(nameobj)) {
  ------------------
  |  |   12|     33|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|     33|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 33]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  298|      0|        if (PyErr_WarnEx(PyExc_RuntimeWarning,
  ------------------
  |  Branch (298:13): [True: 0, False: 0]
  ------------------
  299|      0|                "bool is used as a file descriptor", 1))
  300|      0|        {
  301|      0|            return -1;
  302|      0|        }
  303|      0|    }
  304|     33|    if (_PyIndex_Check(nameobj)) {
  ------------------
  |  Branch (304:9): [True: 6, False: 27]
  ------------------
  305|      6|        fd = PyLong_AsInt(nameobj);
  306|      6|        if (fd < 0) {
  ------------------
  |  Branch (306:13): [True: 0, False: 6]
  ------------------
  307|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (307:17): [True: 0, False: 0]
  ------------------
  308|      0|                PyErr_SetString(PyExc_ValueError,
  309|      0|                                "negative file descriptor");
  310|      0|                return -1;
  311|      0|            }
  312|       |            /* Failed to convert; try other paths. */
  313|      0|            PyErr_Clear();
  314|      0|        }
  315|      6|    }
  316|       |
  317|     33|    if (fd < 0) {
  ------------------
  |  Branch (317:9): [True: 27, False: 6]
  ------------------
  318|       |#ifdef MS_WINDOWS
  319|       |        if (!PyUnicode_FSDecoder(nameobj, &stringobj)) {
  320|       |            return -1;
  321|       |        }
  322|       |        widename = PyUnicode_AsWideCharString(stringobj, NULL);
  323|       |        if (widename == NULL)
  324|       |            return -1;
  325|       |#else
  326|     27|        if (!PyUnicode_FSConverter(nameobj, &stringobj)) {
  ------------------
  |  Branch (326:13): [True: 0, False: 27]
  ------------------
  327|      0|            return -1;
  328|      0|        }
  329|     27|        name = PyBytes_AS_STRING(stringobj);
  ------------------
  |  |   27|     27|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  330|     27|#endif
  331|     27|    }
  332|       |
  333|     33|    s = mode;
  334|     66|    while (*s) {
  ------------------
  |  Branch (334:12): [True: 33, False: 33]
  ------------------
  335|     33|        switch (*s++) {
  336|      0|        case 'x':
  ------------------
  |  Branch (336:9): [True: 0, False: 33]
  ------------------
  337|      0|            if (rwa) {
  ------------------
  |  Branch (337:17): [True: 0, False: 0]
  ------------------
  338|      0|            bad_mode:
  339|      0|                PyErr_SetString(PyExc_ValueError,
  340|      0|                                "Must have exactly one of create/read/write/append "
  341|      0|                                "mode and at most one plus");
  342|      0|                goto error;
  343|      0|            }
  344|      0|            rwa = 1;
  345|      0|            self->created = 1;
  346|      0|            self->writable = 1;
  347|      0|            flags |= O_EXCL | O_CREAT;
  348|      0|            break;
  349|     29|        case 'r':
  ------------------
  |  Branch (349:9): [True: 29, False: 4]
  ------------------
  350|     29|            if (rwa)
  ------------------
  |  Branch (350:17): [True: 0, False: 29]
  ------------------
  351|      0|                goto bad_mode;
  352|     29|            rwa = 1;
  353|     29|            self->readable = 1;
  354|     29|            break;
  355|      4|        case 'w':
  ------------------
  |  Branch (355:9): [True: 4, False: 29]
  ------------------
  356|      4|            if (rwa)
  ------------------
  |  Branch (356:17): [True: 0, False: 4]
  ------------------
  357|      0|                goto bad_mode;
  358|      4|            rwa = 1;
  359|      4|            self->writable = 1;
  360|      4|            self->truncate = 1;
  361|      4|            flags |= O_CREAT | O_TRUNC;
  362|      4|            break;
  363|      0|        case 'a':
  ------------------
  |  Branch (363:9): [True: 0, False: 33]
  ------------------
  364|      0|            if (rwa)
  ------------------
  |  Branch (364:17): [True: 0, False: 0]
  ------------------
  365|      0|                goto bad_mode;
  366|      0|            rwa = 1;
  367|      0|            self->writable = 1;
  368|      0|            self->appending = 1;
  369|      0|            flags |= O_APPEND | O_CREAT;
  370|      0|            break;
  371|      0|        case 'b':
  ------------------
  |  Branch (371:9): [True: 0, False: 33]
  ------------------
  372|      0|            break;
  373|      0|        case '+':
  ------------------
  |  Branch (373:9): [True: 0, False: 33]
  ------------------
  374|      0|            if (plus)
  ------------------
  |  Branch (374:17): [True: 0, False: 0]
  ------------------
  375|      0|                goto bad_mode;
  376|      0|            self->readable = self->writable = 1;
  377|      0|            plus = 1;
  378|      0|            break;
  379|      0|        default:
  ------------------
  |  Branch (379:9): [True: 0, False: 33]
  ------------------
  380|      0|            PyErr_Format(PyExc_ValueError,
  381|      0|                         "invalid mode: %.200s", mode);
  382|      0|            goto error;
  383|     33|        }
  384|     33|    }
  385|       |
  386|     33|    if (!rwa)
  ------------------
  |  Branch (386:9): [True: 0, False: 33]
  ------------------
  387|      0|        goto bad_mode;
  388|       |
  389|     33|    if (self->readable && self->writable)
  ------------------
  |  Branch (389:9): [True: 29, False: 4]
  |  Branch (389:27): [True: 0, False: 29]
  ------------------
  390|      0|        flags |= O_RDWR;
  391|     33|    else if (self->readable)
  ------------------
  |  Branch (391:14): [True: 29, False: 4]
  ------------------
  392|     29|        flags |= O_RDONLY;
  393|      4|    else
  394|      4|        flags |= O_WRONLY;
  395|       |
  396|       |#ifdef O_BINARY
  397|       |    flags |= O_BINARY;
  398|       |#endif
  399|       |
  400|       |#ifdef MS_WINDOWS
  401|       |    flags |= O_NOINHERIT;
  402|       |#elif defined(O_CLOEXEC)
  403|     33|    flags |= O_CLOEXEC;
  404|     33|#endif
  405|       |
  406|     33|    if (PySys_Audit("open", "Osi", nameobj, mode, flags) < 0) {
  ------------------
  |  Branch (406:9): [True: 0, False: 33]
  ------------------
  407|      0|        goto error;
  408|      0|    }
  409|       |
  410|     33|    if (fd >= 0) {
  ------------------
  |  Branch (410:9): [True: 6, False: 27]
  ------------------
  411|      6|        self->fd = fd;
  412|      6|        self->closefd = closefd;
  413|      6|    }
  414|     27|    else {
  415|     27|        self->closefd = 1;
  416|     27|        if (!closefd) {
  ------------------
  |  Branch (416:13): [True: 0, False: 27]
  ------------------
  417|      0|            PyErr_SetString(PyExc_ValueError,
  418|      0|                "Cannot use closefd=False with file name");
  419|      0|            goto error;
  420|      0|        }
  421|       |
  422|     27|        errno = 0;
  423|     27|        if (opener == Py_None) {
  ------------------
  |  |  616|     27|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (423:13): [True: 27, False: 0]
  ------------------
  424|     27|            do {
  425|     27|                Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|     27|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|     27|                        PyThreadState *_save; \
  |  |  119|     27|                        _save = PyEval_SaveThread();
  ------------------
  426|       |#ifdef MS_WINDOWS
  427|       |                self->fd = _wopen(widename, flags, 0666);
  428|       |#else
  429|     27|                self->fd = open(name, flags, 0666);
  430|     27|#endif
  431|     27|                Py_END_ALLOW_THREADS
  ------------------
  |  |  122|     27|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|     27|                 }
  ------------------
  432|     27|            } while (self->fd < 0 && errno == EINTR &&
  ------------------
  |  Branch (432:22): [True: 0, False: 27]
  |  Branch (432:38): [True: 0, False: 0]
  ------------------
  433|      0|                     !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (433:22): [True: 0, False: 0]
  ------------------
  434|       |
  435|     27|            if (async_err)
  ------------------
  |  Branch (435:17): [True: 0, False: 27]
  ------------------
  436|      0|                goto error;
  437|       |
  438|     27|            if (self->fd < 0) {
  ------------------
  |  Branch (438:17): [True: 0, False: 27]
  ------------------
  439|      0|                PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, nameobj);
  440|      0|                goto error;
  441|      0|            }
  442|     27|        }
  443|      0|        else {
  444|      0|            PyObject *fdobj;
  445|       |
  446|      0|#ifndef MS_WINDOWS
  447|       |            /* the opener may clear the atomic flag */
  448|      0|            atomic_flag_works = NULL;
  449|      0|#endif
  450|       |
  451|      0|            fdobj = PyObject_CallFunction(opener, "Oi", nameobj, flags);
  452|      0|            if (fdobj == NULL)
  ------------------
  |  Branch (452:17): [True: 0, False: 0]
  ------------------
  453|      0|                goto error;
  454|      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 (454:17): [True: 0, False: 0]
  ------------------
  455|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  456|      0|                PyErr_SetString(PyExc_TypeError,
  457|      0|                        "expected integer from opener");
  458|      0|                goto error;
  459|      0|            }
  460|       |
  461|      0|            self->fd = PyLong_AsInt(fdobj);
  462|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  463|      0|            if (self->fd < 0) {
  ------------------
  |  Branch (463:17): [True: 0, False: 0]
  ------------------
  464|      0|                if (!PyErr_Occurred()) {
  ------------------
  |  Branch (464:21): [True: 0, False: 0]
  ------------------
  465|       |                    /* The opener returned a negative but didn't set an
  466|       |                       exception.  See issue #27066 */
  467|      0|                    PyErr_Format(PyExc_ValueError,
  468|      0|                                 "opener returned %d", self->fd);
  469|      0|                }
  470|      0|                goto error;
  471|      0|            }
  472|      0|        }
  473|     27|        fd_is_own = 1;
  474|       |
  475|     27|#ifndef MS_WINDOWS
  476|     27|        if (_Py_set_inheritable(self->fd, 0, atomic_flag_works) < 0)
  ------------------
  |  Branch (476:13): [True: 0, False: 27]
  ------------------
  477|      0|            goto error;
  478|     27|#endif
  479|     27|    }
  480|       |
  481|     33|    PyMem_Free(self->stat_atopen);
  482|     33|    self->stat_atopen = PyMem_New(struct _Py_stat_struct, 1);
  ------------------
  |  |   64|     33|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|     33|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [Folded, False: 33]
  |  |  ------------------
  |  |   65|     33|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  483|     33|    if (self->stat_atopen == NULL) {
  ------------------
  |  Branch (483:9): [True: 0, False: 33]
  ------------------
  484|      0|        PyErr_NoMemory();
  485|      0|        goto error;
  486|      0|    }
  487|     33|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|     33|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|     33|                        PyThreadState *_save; \
  |  |  119|     33|                        _save = PyEval_SaveThread();
  ------------------
  488|     33|    fstat_result = _Py_fstat_noraise(self->fd, self->stat_atopen);
  489|     33|    Py_END_ALLOW_THREADS
  ------------------
  |  |  122|     33|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|     33|                 }
  ------------------
  490|     33|    if (fstat_result < 0) {
  ------------------
  |  Branch (490:9): [True: 0, False: 33]
  ------------------
  491|       |        /* Tolerate fstat() errors other than EBADF.  See Issue #25717, where
  492|       |        an anonymous file on a Virtual Box shared folder filesystem would
  493|       |        raise ENOENT. */
  494|       |#ifdef MS_WINDOWS
  495|       |        if (GetLastError() == ERROR_INVALID_HANDLE) {
  496|       |            PyErr_SetFromWindowsErr(0);
  497|       |#else
  498|      0|        if (errno == EBADF) {
  ------------------
  |  Branch (498:13): [True: 0, False: 0]
  ------------------
  499|      0|            PyErr_SetFromErrno(PyExc_OSError);
  500|      0|#endif
  501|      0|            goto error;
  502|      0|        }
  503|       |
  504|      0|        PyMem_Free(self->stat_atopen);
  505|      0|        self->stat_atopen = NULL;
  506|      0|    }
  507|     33|    else {
  508|     33|#if defined(S_ISDIR) && defined(EISDIR)
  509|       |        /* On Unix, open will succeed for directories.
  510|       |           In Python, there should be no file objects referring to
  511|       |           directories, so we need a check.  */
  512|     33|        if (S_ISDIR(self->stat_atopen->st_mode)) {
  ------------------
  |  Branch (512:13): [True: 0, False: 33]
  ------------------
  513|      0|            errno = EISDIR;
  514|      0|            PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, nameobj);
  515|      0|            goto error;
  516|      0|        }
  517|     33|#endif /* defined(S_ISDIR) */
  518|     33|    }
  519|       |
  520|       |#if defined(MS_WINDOWS) || defined(__CYGWIN__)
  521|       |    /* don't translate newlines (\r\n <=> \n) */
  522|       |    _setmode(self->fd, O_BINARY);
  523|       |#endif
  524|       |
  525|     33|    if (PyObject_SetAttr((PyObject *)self, &_Py_ID(name), nameobj) < 0)
  ------------------
  |  |  951|     33|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     33|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     33|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (525:9): [True: 0, False: 33]
  ------------------
  526|      0|        goto error;
  527|       |
  528|     33|    if (self->appending) {
  ------------------
  |  Branch (528:9): [True: 0, False: 33]
  ------------------
  529|       |        /* For consistent behaviour, we explicitly seek to the
  530|       |           end of file (otherwise, it might be done only on the
  531|       |           first write()). */
  532|      0|        PyObject *pos = portable_lseek(self, NULL, 2, true);
  533|      0|        if (pos == NULL)
  ------------------
  |  Branch (533:13): [True: 0, False: 0]
  ------------------
  534|      0|            goto error;
  535|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  536|      0|    }
  537|       |
  538|     33|    goto done;
  539|       |
  540|     33| error:
  541|      0|    ret = -1;
  542|      0|    if (!fd_is_own)
  ------------------
  |  Branch (542:9): [True: 0, False: 0]
  ------------------
  543|      0|        self->fd = -1;
  544|      0|    if (self->fd >= 0) {
  ------------------
  |  Branch (544:9): [True: 0, False: 0]
  ------------------
  545|      0|        PyObject *exc = PyErr_GetRaisedException();
  546|      0|        internal_close(self);
  547|      0|        _PyErr_ChainExceptions1(exc);
  548|      0|    }
  549|      0|    PyMem_Free(self->stat_atopen);
  550|      0|    self->stat_atopen = NULL;
  551|       |
  552|     33| done:
  553|       |#ifdef MS_WINDOWS
  554|       |    PyMem_Free(widename);
  555|       |#endif
  556|       |    Py_CLEAR(stringobj);
  ------------------
  |  |  487|     33|    do { \
  |  |  488|     33|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     33|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     33|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     33|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 27, False: 6]
  |  |  ------------------
  |  |  491|     27|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     27|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     27|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     27|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     27|        } \
  |  |  494|     33|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 33]
  |  |  ------------------
  ------------------
  557|     33|    return ret;
  558|      0|}
fileio.c:fileio_new:
  207|     33|{
  208|     33|    assert(type != NULL && type->tp_alloc != NULL);
  ------------------
  |  Branch (208:5): [True: 33, False: 0]
  |  Branch (208:5): [True: 33, False: 0]
  ------------------
  209|       |
  210|     33|    fileio *self = (fileio *) type->tp_alloc(type, 0);
  211|     33|    if (self == NULL) {
  ------------------
  |  Branch (211:9): [True: 0, False: 33]
  ------------------
  212|      0|        return NULL;
  213|      0|    }
  214|       |
  215|     33|    self->fd = -1;
  216|     33|    self->created = 0;
  217|     33|    self->readable = 0;
  218|     33|    self->writable = 0;
  219|     33|    self->appending = 0;
  220|     33|    self->seekable = -1;
  221|     33|    self->truncate = 0;
  222|     33|    self->stat_atopen = NULL;
  223|     33|    self->closefd = 1;
  224|       |    self->weakreflist = NULL;
  225|     33|    return (PyObject *) self;
  226|     33|}

_PyIOBase_finalize:
  367|     54|{
  368|     54|    int is_zombie;
  369|       |
  370|       |    /* If _PyIOBase_finalize() is called from a destructor, we need to
  371|       |       resurrect the object as calling close() can invoke arbitrary code. */
  372|     54|    is_zombie = (Py_REFCNT(self) == 0);
  ------------------
  |  |  119|     54|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  373|     54|    if (is_zombie)
  ------------------
  |  Branch (373:9): [True: 54, False: 0]
  ------------------
  374|     54|        return PyObject_CallFinalizerFromDealloc(self);
  375|      0|    else {
  376|      0|        PyObject_CallFinalizer(self);
  377|      0|        return 0;
  378|      0|    }
  379|     54|}
_PyIOBase_check_readable:
  478|     29|{
  479|     29|    PyObject *res = PyObject_CallMethodNoArgs(self, &_Py_ID(readable));
  ------------------
  |  |  951|     29|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     29|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     29|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|     29|    if (res == NULL)
  ------------------
  |  Branch (480:9): [True: 0, False: 29]
  ------------------
  481|      0|        return NULL;
  482|     29|    if (res != Py_True) {
  ------------------
  |  |   26|     29|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (482:9): [True: 0, False: 29]
  ------------------
  483|      0|        Py_CLEAR(res);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  484|      0|        iobase_unsupported(state, "File or stream is not readable.");
  485|      0|        return NULL;
  486|      0|    }
  487|     29|    if (args == Py_True) {
  ------------------
  |  |   26|     29|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (487:9): [True: 29, False: 0]
  ------------------
  488|     29|        Py_DECREF(res);
  ------------------
  |  |  430|     29|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|     29|    }
  490|     29|    return res;
  491|     29|}
_PyIOBase_check_writable:
  511|      4|{
  512|      4|    PyObject *res = PyObject_CallMethodNoArgs(self, &_Py_ID(writable));
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  513|      4|    if (res == NULL)
  ------------------
  |  Branch (513:9): [True: 0, False: 4]
  ------------------
  514|      0|        return NULL;
  515|      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 (515:9): [True: 0, False: 4]
  ------------------
  516|      0|        Py_CLEAR(res);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  517|      0|        iobase_unsupported(state, "File or stream is not writable.");
  518|      0|        return NULL;
  519|      0|    }
  520|      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 (520:9): [True: 4, False: 0]
  ------------------
  521|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  522|      4|    }
  523|      4|    return res;
  524|      4|}
iobase.c:iobase_check_closed:
  203|     27|{
  204|     27|    PyObject *res;
  205|     27|    int closed;
  206|       |    /* This gets the derived attribute, which is *not* __IOBase_closed
  207|       |       in most cases! */
  208|     27|    closed = PyObject_GetOptionalAttr(self, &_Py_ID(closed), &res);
  ------------------
  |  |  951|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|     27|    if (closed > 0) {
  ------------------
  |  Branch (209:9): [True: 27, False: 0]
  ------------------
  210|     27|        closed = PyObject_IsTrue(res);
  211|     27|        Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|     27|        if (closed > 0) {
  ------------------
  |  Branch (212:13): [True: 0, False: 27]
  ------------------
  213|      0|            PyErr_SetString(PyExc_ValueError, "I/O operation on closed file.");
  214|      0|            return -1;
  215|      0|        }
  216|     27|    }
  217|     27|    return closed;
  218|     27|}
iobase.c:_io__IOBase_flush_impl:
  174|     54|{
  175|       |    /* XXX Should this return the number of bytes written??? */
  176|     54|    int closed = iobase_is_closed(self);
  177|       |
  178|     54|    if (!closed) {
  ------------------
  |  Branch (178:9): [True: 54, False: 0]
  ------------------
  179|     54|        Py_RETURN_NONE;
  ------------------
  |  |  628|     54|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     54|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  180|     54|    }
  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|     54|}
iobase.c:iobase_is_closed:
   82|     81|{
   83|     81|    return PyObject_HasAttrWithError(self, &_Py_ID(__IOBase_closed));
  ------------------
  |  |  951|     81|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     81|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     81|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|     81|}
iobase.c:_io__IOBase_close_impl:
  302|     27|{
  303|     27|    int rc1, rc2, closed = iobase_is_closed(self);
  304|       |
  305|     27|    if (closed < 0) {
  ------------------
  |  Branch (305:9): [True: 0, False: 27]
  ------------------
  306|      0|        return NULL;
  307|      0|    }
  308|     27|    if (closed) {
  ------------------
  |  Branch (308:9): [True: 0, False: 27]
  ------------------
  309|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  310|      0|    }
  311|       |
  312|     27|    rc1 = _PyFile_Flush(self);
  313|     27|    PyObject *exc = PyErr_GetRaisedException();
  314|     27|    rc2 = PyObject_SetAttr(self, &_Py_ID(__IOBase_closed), Py_True);
  ------------------
  |  |  951|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  rc2 = PyObject_SetAttr(self, &_Py_ID(__IOBase_closed), Py_True);
  ------------------
  |  |   26|     27|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  315|     27|    _PyErr_ChainExceptions1(exc);
  316|     27|    if (rc1 < 0 || rc2 < 0) {
  ------------------
  |  Branch (316:9): [True: 0, False: 27]
  |  Branch (316:20): [True: 0, False: 27]
  ------------------
  317|      0|        return NULL;
  318|      0|    }
  319|       |
  320|     27|    Py_RETURN_NONE;
  ------------------
  |  |  628|     27|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     27|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  321|     27|}
iobase.c:_io__IOBase_readable_impl:
  471|      4|{
  472|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  473|      4|}
iobase.c:_io__IOBase_writable_impl:
  504|      2|{
  505|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  506|      2|}
iobase.c:_io__IOBase___enter___impl:
  537|     27|{
  538|     27|    if (iobase_check_closed(self))
  ------------------
  |  Branch (538:9): [True: 0, False: 27]
  ------------------
  539|      0|        return NULL;
  540|       |
  541|     27|    return Py_NewRef(self);
  ------------------
  |  |  647|     27|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  542|     27|}
iobase.c:_io__IOBase___exit___impl:
  554|     27|{
  555|     27|    return PyObject_CallMethodNoArgs(self, &_Py_ID(close));
  ------------------
  |  |  951|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  556|     27|}
iobase.c:iobase_finalize:
  327|     54|{
  328|     54|    PyObject *res;
  329|     54|    int closed;
  330|       |
  331|       |    /* Save the current exception, if any. */
  332|     54|    PyObject *exc = PyErr_GetRaisedException();
  333|       |
  334|       |    /* If `closed` doesn't exist or can't be evaluated as bool, then the
  335|       |       object is probably in an unusable state, so ignore. */
  336|     54|    if (PyObject_GetOptionalAttr(self, &_Py_ID(closed), &res) <= 0) {
  ------------------
  |  |  951|     54|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     54|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     54|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (336:9): [True: 0, False: 54]
  ------------------
  337|      0|        PyErr_Clear();
  338|      0|        closed = -1;
  339|      0|    }
  340|     54|    else {
  341|     54|        closed = PyObject_IsTrue(res);
  342|     54|        Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  343|     54|        if (closed == -1)
  ------------------
  |  Branch (343:13): [True: 0, False: 54]
  ------------------
  344|      0|            PyErr_Clear();
  345|     54|    }
  346|     54|    if (closed == 0) {
  ------------------
  |  Branch (346:9): [True: 0, False: 54]
  ------------------
  347|       |        /* Signal close() that it was called as part of the object
  348|       |           finalization process. */
  349|      0|        if (PyObject_SetAttr(self, &_Py_ID(_finalizing), Py_True))
  ------------------
  |  |  951|      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 (349:13): [True: 0, False: 0]
  ------------------
  350|      0|            PyErr_Clear();
  351|      0|        res = PyObject_CallMethodNoArgs((PyObject *)self, &_Py_ID(close));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  352|      0|        if (res == NULL) {
  ------------------
  |  Branch (352:13): [True: 0, False: 0]
  ------------------
  353|      0|            PyErr_FormatUnraisable("Exception ignored "
  354|      0|                                   "while finalizing file %R", self);
  355|      0|        }
  356|      0|        else {
  357|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  358|      0|        }
  359|      0|    }
  360|       |
  361|       |    /* Restore the saved exception. */
  362|     54|    PyErr_SetRaisedException(exc);
  363|     54|}

textio.c:textiowrapper_traverse:
 1567|     12|{
 1568|     12|    textio *self = textio_CAST(op);
  ------------------
  |  |  740|     12|#define textio_CAST(op) ((textio *)(op))
  ------------------
 1569|     12|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1570|     12|    Py_VISIT(self->buffer);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1571|     12|    Py_VISIT(self->encoding);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1572|     12|    Py_VISIT(self->encoder);
  ------------------
  |  |  194|     12|    do {                                                                \
  |  |  195|     12|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8, False: 4]
  |  |  ------------------
  |  |  196|      8|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      8|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8]
  |  |  ------------------
  |  |  198|      8|                return vret;                                            \
  |  |  199|      8|        }                                                               \
  |  |  200|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
 1573|     12|    Py_VISIT(self->decoder);
  ------------------
  |  |  194|     12|    do {                                                                \
  |  |  195|     12|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4, False: 8]
  |  |  ------------------
  |  |  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|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
 1574|     12|    Py_VISIT(self->readnl);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1575|     12|    Py_VISIT(self->decoded_chars);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1576|     12|    Py_VISIT(self->pending_bytes);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1577|     12|    Py_VISIT(self->snapshot);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1578|     12|    Py_VISIT(self->errors);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1579|     12|    Py_VISIT(self->raw);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1580|       |
 1581|     12|    Py_VISIT(self->dict);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1582|     12|    return 0;
 1583|     12|}
textio.c:buffer_access_safe:
  749|    116|{
  750|       |    /* Check self->buffer directly but match errors of CHECK_ATTACHED since this
  751|       |       is called during construction and finalization where self->ok == 0. */
  752|    116|    if (self->buffer == NULL) {
  ------------------
  |  Branch (752:9): [True: 0, False: 116]
  ------------------
  753|      0|        if (self->ok <= 0) {
  ------------------
  |  Branch (753:13): [True: 0, False: 0]
  ------------------
  754|      0|            PyErr_SetString(PyExc_ValueError,
  755|      0|                            "I/O operation on uninitialized object");
  756|      0|        }
  757|      0|        else {
  758|      0|            PyErr_SetString(PyExc_ValueError,
  759|      0|                            "underlying buffer has been detached");
  760|      0|        }
  761|      0|        return NULL;
  762|      0|    }
  763|       |
  764|    116|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  765|    116|    return Py_NewRef(self->buffer);
  ------------------
  |  |  647|    116|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    116|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    116|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  766|    116|}
textio.c:_textiowrapper_writeflush:
 1669|     50|{
 1670|     50|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
 1671|       |
 1672|     50|    if (self->pending_bytes == NULL)
  ------------------
  |  Branch (1672:9): [True: 0, False: 50]
  ------------------
 1673|      0|        return 0;
 1674|       |
 1675|     50|    PyObject *pending = self->pending_bytes;
 1676|     50|    PyObject *b;
 1677|       |
 1678|     50|    if (PyBytes_Check(pending)) {
  ------------------
  |  |   28|     50|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     50|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 50]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1679|      0|        b = Py_NewRef(pending);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1680|      0|    }
 1681|     50|    else if (PyUnicode_Check(pending)) {
  ------------------
  |  |  103|     50|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     50|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 50, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1682|     50|        assert(PyUnicode_IS_ASCII(pending));
  ------------------
  |  Branch (1682:9): [True: 50, False: 0]
  ------------------
 1683|     50|        assert(PyUnicode_GET_LENGTH(pending) == self->pending_bytes_count);
  ------------------
  |  Branch (1683:9): [True: 50, False: 0]
  ------------------
 1684|     50|        b = PyBytes_FromStringAndSize(
 1685|     50|                PyUnicode_DATA(pending), PyUnicode_GET_LENGTH(pending));
  ------------------
  |  |  285|     50|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              PyUnicode_DATA(pending), PyUnicode_GET_LENGTH(pending));
  ------------------
  |  |  300|     50|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1686|     50|        if (b == NULL) {
  ------------------
  |  Branch (1686:13): [True: 0, False: 50]
  ------------------
 1687|      0|            return -1;
 1688|      0|        }
 1689|     50|    }
 1690|      0|    else {
 1691|      0|        assert(PyList_Check(pending));
  ------------------
  |  Branch (1691:9): [True: 0, False: 0]
  ------------------
 1692|      0|        PyBytesWriter *writer = PyBytesWriter_Create(self->pending_bytes_count);
 1693|      0|        if (writer == NULL) {
  ------------------
  |  Branch (1693:13): [True: 0, False: 0]
  ------------------
 1694|      0|            return -1;
 1695|      0|        }
 1696|       |
 1697|      0|        char *buf = PyBytesWriter_GetData(writer);
 1698|      0|        Py_ssize_t pos = 0;
 1699|       |
 1700|      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 (1700:32): [True: 0, False: 0]
  ------------------
 1701|      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 (1701:29): [True: 0, False: 0]
  ------------------
 1702|      0|            const char *src;
 1703|      0|            Py_ssize_t len;
 1704|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1705|      0|                assert(PyUnicode_IS_ASCII(obj));
  ------------------
  |  Branch (1705:17): [True: 0, False: 0]
  ------------------
 1706|      0|                src = PyUnicode_DATA(obj);
  ------------------
  |  |  285|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1707|      0|                len = PyUnicode_GET_LENGTH(obj);
  ------------------
  |  |  300|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1708|      0|            }
 1709|      0|            else {
 1710|      0|                assert(PyBytes_Check(obj));
  ------------------
  |  Branch (1710:17): [True: 0, False: 0]
  ------------------
 1711|      0|                src = PyBytes_AS_STRING(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1712|      0|                len = PyBytes_GET_SIZE(obj);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1713|      0|            }
 1714|      0|            memcpy(buf + pos, src, len);
 1715|      0|            pos += len;
 1716|      0|        }
 1717|      0|        assert(pos == self->pending_bytes_count);
  ------------------
  |  Branch (1717:9): [True: 0, False: 0]
  ------------------
 1718|       |
 1719|      0|        b = PyBytesWriter_Finish(writer);
 1720|      0|        if (b == NULL) {
  ------------------
  |  Branch (1720:13): [True: 0, False: 0]
  ------------------
 1721|      0|            return -1;
 1722|      0|        }
 1723|      0|    }
 1724|       |
 1725|     50|    self->pending_bytes_count = 0;
 1726|     50|    self->pending_bytes = NULL;
 1727|     50|    Py_DECREF(pending);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1728|       |
 1729|     50|    PyObject *ret;
 1730|     50|    do {
 1731|     50|        ret = buffer_callmethod_onearg(self, &_Py_ID(write), b);
  ------------------
  |  |  951|     50|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     50|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     50|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1732|     50|    } while (ret == NULL && _PyIO_trap_eintr());
  ------------------
  |  Branch (1732:14): [True: 0, False: 50]
  |  Branch (1732:29): [True: 0, False: 0]
  ------------------
 1733|     50|    Py_DECREF(b);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1734|       |    // NOTE: We cleared buffer but we don't know how many bytes are actually written
 1735|       |    // when an error occurred.
 1736|     50|    if (ret == NULL)
  ------------------
  |  Branch (1736:9): [True: 0, False: 50]
  ------------------
 1737|      0|        return -1;
 1738|     50|    Py_DECREF(ret);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1739|     50|    return 0;
 1740|     50|}
textio.c:buffer_callmethod_onearg:
  796|     50|{
  797|     50|    PyObject *buffer = buffer_access_safe(self);
  798|     50|    if (buffer == NULL) {
  ------------------
  |  Branch (798:9): [True: 0, False: 50]
  ------------------
  799|      0|        return NULL;
  800|      0|    }
  801|       |
  802|     50|    PyObject *res = PyObject_CallMethodOneArg(buffer, name, arg);
  803|     50|    Py_DECREF(buffer);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  804|     50|    return res;
  805|     50|}
textio.c:validate_newline:
  921|      6|{
  922|      6|    if (newline && newline[0] != '\0'
  ------------------
  |  Branch (922:9): [True: 6, False: 0]
  |  Branch (922:20): [True: 6, False: 0]
  ------------------
  923|      6|        && !(newline[0] == '\n' && newline[1] == '\0')
  ------------------
  |  Branch (923:14): [True: 6, False: 0]
  |  Branch (923:36): [True: 6, False: 0]
  ------------------
  924|      0|        && !(newline[0] == '\r' && newline[1] == '\0')
  ------------------
  |  Branch (924:14): [True: 0, False: 0]
  |  Branch (924:36): [True: 0, False: 0]
  ------------------
  925|      0|        && !(newline[0] == '\r' && newline[1] == '\n' && newline[2] == '\0')) {
  ------------------
  |  Branch (925:14): [True: 0, False: 0]
  |  Branch (925:36): [True: 0, False: 0]
  |  Branch (925:58): [True: 0, False: 0]
  ------------------
  926|      0|        PyErr_Format(PyExc_ValueError,
  927|      0|                     "illegal newline value: %s", newline);
  928|      0|        return -1;
  929|      0|    }
  930|      6|    return 0;
  931|      6|}
textio.c:set_newline:
  935|      6|{
  936|      6|    PyObject *old = self->readnl;
  937|      6|    if (newline == NULL) {
  ------------------
  |  Branch (937:9): [True: 0, False: 6]
  ------------------
  938|      0|        self->readnl = NULL;
  939|      0|    }
  940|      6|    else {
  941|      6|        self->readnl = PyUnicode_FromString(newline);
  942|      6|        if (self->readnl == NULL) {
  ------------------
  |  Branch (942:13): [True: 0, False: 6]
  ------------------
  943|      0|            self->readnl = old;
  944|      0|            return -1;
  945|      0|        }
  946|      6|    }
  947|      6|    self->readuniversal = (newline == NULL || newline[0] == '\0');
  ------------------
  |  Branch (947:28): [True: 0, False: 6]
  |  Branch (947:47): [True: 0, False: 6]
  ------------------
  948|      6|    self->readtranslate = (newline == NULL);
  949|      6|    self->writetranslate = (newline == NULL || newline[0] != '\0');
  ------------------
  |  Branch (949:29): [True: 0, False: 6]
  |  Branch (949:48): [True: 6, False: 0]
  ------------------
  950|      6|    if (!self->readuniversal && self->readnl != NULL) {
  ------------------
  |  Branch (950:9): [True: 6, False: 0]
  |  Branch (950:33): [True: 6, False: 0]
  ------------------
  951|       |        // validate_newline() accepts only ASCII newlines.
  952|      6|        assert(PyUnicode_KIND(self->readnl) == PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (952:9): [True: 6, False: 0]
  |  Branch (952:9): [True: 6, False: 0]
  ------------------
  953|      6|        self->writenl = (const char *)PyUnicode_1BYTE_DATA(self->readnl);
  ------------------
  |  |  292|      6|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      6|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  954|      6|        if (strcmp(self->writenl, "\n") == 0) {
  ------------------
  |  Branch (954:13): [True: 6, False: 0]
  ------------------
  955|      6|            self->writenl = NULL;
  956|      6|        }
  957|      6|    }
  958|      0|    else {
  959|       |#ifdef MS_WINDOWS
  960|       |        self->writenl = "\r\n";
  961|       |#else
  962|      0|        self->writenl = NULL;
  963|      0|#endif
  964|      0|    }
  965|      6|    Py_XDECREF(old);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  966|      6|    return 0;
  967|      6|}
textio.c:_textiowrapper_set_decoder:
  972|      6|{
  973|      6|    PyObject *res;
  974|      6|    int r;
  975|       |
  976|      6|    res = buffer_callmethod_noargs(self, &_Py_ID(readable));
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  977|      6|    if (res == NULL)
  ------------------
  |  Branch (977:9): [True: 0, False: 6]
  ------------------
  978|      0|        return -1;
  979|       |
  980|      6|    r = PyObject_IsTrue(res);
  981|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  982|      6|    if (r == -1)
  ------------------
  |  Branch (982:9): [True: 0, False: 6]
  ------------------
  983|      0|        return -1;
  984|       |
  985|      6|    if (r != 1)
  ------------------
  |  Branch (985:9): [True: 4, False: 2]
  ------------------
  986|      4|        return 0;
  987|       |
  988|      2|    Py_CLEAR(self->decoder);
  ------------------
  |  |  487|      2|    do { \
  |  |  488|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  989|      2|    self->decoder = _PyCodecInfo_GetIncrementalDecoder(codec_info, errors);
  990|      2|    if (self->decoder == NULL)
  ------------------
  |  Branch (990:9): [True: 0, False: 2]
  ------------------
  991|      0|        return -1;
  992|       |
  993|      2|    if (self->readuniversal) {
  ------------------
  |  Branch (993:9): [True: 0, False: 2]
  ------------------
  994|      0|        _PyIO_State *state = self->state;
  995|      0|        PyObject *incrementalDecoder = PyObject_CallFunctionObjArgs(
  996|      0|            (PyObject *)state->PyIncrementalNewlineDecoder_Type,
  997|      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 (997:28): [True: 0, False: 0]
  ------------------
  998|      0|        if (incrementalDecoder == NULL)
  ------------------
  |  Branch (998:13): [True: 0, False: 0]
  ------------------
  999|      0|            return -1;
 1000|      0|        Py_XSETREF(self->decoder, incrementalDecoder);
  ------------------
  |  |  576|      0|    do { \
  |  |  577|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      0|        *_tmp_dst_ptr = (src); \
  |  |  580|      0|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1001|      0|    }
 1002|       |
 1003|      2|    return 0;
 1004|      2|}
textio.c:buffer_callmethod_noargs:
  783|     16|{
  784|     16|    PyObject *buffer = buffer_access_safe(self);
  785|     16|    if (buffer == NULL) {
  ------------------
  |  Branch (785:9): [True: 0, False: 16]
  ------------------
  786|      0|        return NULL;
  787|      0|    }
  788|       |
  789|     16|    PyObject *res = PyObject_CallMethodNoArgs(buffer, name);
  790|     16|    Py_DECREF(buffer);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  791|     16|    return res;
  792|     16|}
textio.c:_textiowrapper_set_encoder:
 1034|      6|{
 1035|      6|    PyObject *res;
 1036|      6|    int r;
 1037|       |
 1038|      6|    res = buffer_callmethod_noargs(self, &_Py_ID(writable));
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1039|      6|    if (res == NULL)
  ------------------
  |  Branch (1039:9): [True: 0, False: 6]
  ------------------
 1040|      0|        return -1;
 1041|       |
 1042|      6|    r = PyObject_IsTrue(res);
 1043|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1044|      6|    if (r == -1)
  ------------------
  |  Branch (1044:9): [True: 0, False: 6]
  ------------------
 1045|      0|        return -1;
 1046|       |
 1047|      6|    if (r != 1)
  ------------------
  |  Branch (1047:9): [True: 2, False: 4]
  ------------------
 1048|      2|        return 0;
 1049|       |
 1050|      4|    Py_CLEAR(self->encoder);
  ------------------
  |  |  487|      4|    do { \
  |  |  488|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1051|      4|    self->encodefunc = NULL;
 1052|      4|    self->encoder = _PyCodecInfo_GetIncrementalEncoder(codec_info, errors);
 1053|      4|    if (self->encoder == NULL)
  ------------------
  |  Branch (1053:9): [True: 0, False: 4]
  ------------------
 1054|      0|        return -1;
 1055|       |
 1056|       |    /* Get the normalized named of the codec */
 1057|      4|    if (PyObject_GetOptionalAttr(codec_info, &_Py_ID(name), &res) < 0) {
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1057:9): [True: 0, False: 4]
  ------------------
 1058|      0|        return -1;
 1059|      0|    }
 1060|      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 (1060:9): [True: 4, False: 0]
  ------------------
 1061|      4|        const encodefuncentry *e = encodefuncs;
 1062|     12|        while (e->name != NULL) {
  ------------------
  |  Branch (1062:16): [True: 12, False: 0]
  ------------------
 1063|     12|            if (_PyUnicode_EqualToASCIIString(res, e->name)) {
  ------------------
  |  Branch (1063:17): [True: 4, False: 8]
  ------------------
 1064|      4|                self->encodefunc = e->encodefunc;
 1065|      4|                break;
 1066|      4|            }
 1067|      8|            e++;
 1068|      8|        }
 1069|      4|    }
 1070|      4|    Py_XDECREF(res);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1071|       |
 1072|      4|    return 0;
 1073|      4|}
textio.c:_textiowrapper_fix_encoder_state:
 1077|      6|{
 1078|      6|    if (!self->seekable || !self->encoder) {
  ------------------
  |  Branch (1078:9): [True: 0, False: 6]
  |  Branch (1078:28): [True: 2, False: 4]
  ------------------
 1079|      2|        return 0;
 1080|      2|    }
 1081|       |
 1082|      4|    self->encoding_start_of_stream = 1;
 1083|       |
 1084|      4|    PyObject *cookieObj = buffer_callmethod_noargs(self, &_Py_ID(tell));
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1085|      4|    if (cookieObj == NULL) {
  ------------------
  |  Branch (1085:9): [True: 0, False: 4]
  ------------------
 1086|      0|        return -1;
 1087|      0|    }
 1088|       |
 1089|      4|    int cmp = PyObject_RichCompareBool(cookieObj, _PyLong_GetZero(), Py_EQ);
  ------------------
  |  |  654|      4|#define Py_EQ 2
  ------------------
 1090|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1091|      4|    if (cmp < 0) {
  ------------------
  |  Branch (1091:9): [True: 0, False: 4]
  ------------------
 1092|      0|        return -1;
 1093|      0|    }
 1094|       |
 1095|      4|    if (cmp == 0) {
  ------------------
  |  Branch (1095:9): [True: 2, False: 2]
  ------------------
 1096|      2|        self->encoding_start_of_stream = 0;
 1097|      2|        PyObject *res = PyObject_CallMethodOneArg(
 1098|      2|            self->encoder, &_Py_ID(setstate), _PyLong_GetZero());
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1099|      2|        if (res == NULL) {
  ------------------
  |  Branch (1099:13): [True: 0, False: 2]
  ------------------
 1100|      0|            return -1;
 1101|      0|        }
 1102|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1103|      2|    }
 1104|       |
 1105|      4|    return 0;
 1106|      4|}
textio.c:_io_TextIOWrapper_write_impl:
 1942|     50|{
 1943|     50|    if (textiowrapper_check_write(self) == NULL) {
  ------------------
  |  Branch (1943:9): [True: 0, False: 50]
  ------------------
 1944|      0|        return NULL;
 1945|      0|    }
 1946|     50|    return textiowrapper_write_text(self, text);
 1947|     50|}
textio.c:textiowrapper_check_write:
 1745|     50|{
 1746|     50|    CHECK_ATTACHED(self);
  ------------------
  |  | 1623|     50|    CHECK_INITIALIZED(self); \
  |  |  ------------------
  |  |  |  | 1616|     50|    if (self->ok <= 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1616:9): [True: 0, False: 50]
  |  |  |  |  ------------------
  |  |  |  | 1617|      0|        PyErr_SetString(PyExc_ValueError, \
  |  |  |  | 1618|      0|            "I/O operation on uninitialized object"); \
  |  |  |  | 1619|      0|        return NULL; \
  |  |  |  | 1620|      0|    }
  |  |  ------------------
  |  | 1624|     50|    if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (1624:9): [True: 0, False: 50]
  |  |  ------------------
  |  | 1625|      0|        PyErr_SetString(PyExc_ValueError, \
  |  | 1626|      0|             "underlying buffer has been detached"); \
  |  | 1627|      0|        return NULL; \
  |  | 1628|      0|    }
  ------------------
 1747|     50|    CHECK_CLOSED(self);
  ------------------
  |  | 1590|     50|    do { \
  |  | 1591|     50|        int r; \
  |  | 1592|     50|        PyObject *_res; \
  |  | 1593|     50|        if (Py_IS_TYPE(self, self->state->PyTextIOWrapper_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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1594|     50|            if (self->raw != NULL) \
  |  |  ------------------
  |  |  |  Branch (1594:17): [True: 50, False: 0]
  |  |  ------------------
  |  | 1595|     50|                r = _PyFileIO_closed(self->raw); \
  |  | 1596|     50|            else { \
  |  | 1597|      0|                _res = _io_TextIOWrapper_closed_get_impl(self); \
  |  | 1598|      0|                if (_res == NULL) \
  |  |  ------------------
  |  |  |  Branch (1598:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1599|      0|                    return NULL; \
  |  | 1600|      0|                r = PyObject_IsTrue(_res); \
  |  | 1601|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1602|      0|                if (r < 0) \
  |  |  ------------------
  |  |  |  Branch (1602:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1603|      0|                    return NULL; \
  |  | 1604|      0|            } \
  |  | 1605|     50|            if (r > 0) { \
  |  |  ------------------
  |  |  |  Branch (1605:17): [True: 0, False: 50]
  |  |  ------------------
  |  | 1606|      0|                PyErr_SetString(PyExc_ValueError, \
  |  | 1607|      0|                                "I/O operation on closed file."); \
  |  | 1608|      0|                return NULL; \
  |  | 1609|      0|            } \
  |  | 1610|     50|        } \
  |  | 1611|     50|        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 (1611:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 1612|      0|            return NULL; \
  |  | 1613|     50|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1613:14): [Folded, False: 50]
  |  |  ------------------
  ------------------
 1748|       |
 1749|     50|    if (self->encoder == NULL) {
  ------------------
  |  Branch (1749:9): [True: 0, False: 50]
  ------------------
 1750|      0|        return _unsupported(self->state, "not writable");
 1751|      0|    }
 1752|     50|    return Py_None;
  ------------------
  |  |  616|     50|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1753|     50|}
textio.c:textiowrapper_write_text:
 1854|     50|{
 1855|     50|    PyObject *b;
 1856|     50|    Py_ssize_t textlen;
 1857|     50|    int haslf = 0;
 1858|     50|    int needflush = 0, text_needflush = 0;
 1859|       |
 1860|     50|    Py_INCREF(text);
  ------------------
  |  |  310|     50|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1861|       |
 1862|     50|    textlen = PyUnicode_GET_LENGTH(text);
  ------------------
  |  |  300|     50|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1863|       |
 1864|     50|    if ((self->writetranslate && self->writenl != NULL) || self->line_buffering)
  ------------------
  |  Branch (1864:10): [True: 50, False: 0]
  |  Branch (1864:34): [True: 0, False: 50]
  |  Branch (1864:60): [True: 50, False: 0]
  ------------------
 1865|     50|        if (PyUnicode_FindChar(text, '\n', 0, PyUnicode_GET_LENGTH(text), 1) != -1)
  ------------------
  |  |  300|     50|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1865:13): [True: 50, False: 0]
  ------------------
 1866|     50|            haslf = 1;
 1867|       |
 1868|     50|    if (haslf && self->writetranslate && self->writenl != NULL) {
  ------------------
  |  Branch (1868:9): [True: 50, False: 0]
  |  Branch (1868:18): [True: 50, False: 0]
  |  Branch (1868:42): [True: 0, False: 50]
  ------------------
 1869|      0|        PyObject *newtext = _PyObject_CallMethod(text, &_Py_ID(replace),
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1870|      0|                                                 "ss", "\n", self->writenl);
 1871|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1872|      0|        if (newtext == NULL)
  ------------------
  |  Branch (1872:13): [True: 0, False: 0]
  ------------------
 1873|      0|            return NULL;
 1874|      0|        if (!PyUnicode_Check(newtext)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1874:13): [True: 0, False: 0]
  ------------------
 1875|      0|            PyErr_Format(PyExc_TypeError,
 1876|      0|                         "replace() should return a str, not %T", newtext);
 1877|      0|            Py_DECREF(newtext);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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|            return NULL;
 1879|      0|        }
 1880|       |        /* replace() may have closed, detached or reinitialized the stream. */
 1881|      0|        if (textiowrapper_check_write(self) == NULL) {
  ------------------
  |  Branch (1881:13): [True: 0, False: 0]
  ------------------
 1882|      0|            Py_DECREF(newtext);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1883|      0|            return NULL;
 1884|      0|        }
 1885|      0|        text = newtext;
 1886|      0|    }
 1887|       |
 1888|     50|    if (self->write_through)
  ------------------
  |  Branch (1888:9): [True: 0, False: 50]
  ------------------
 1889|      0|        text_needflush = 1;
 1890|     50|    if (self->line_buffering &&
  ------------------
  |  Branch (1890:9): [True: 50, False: 0]
  ------------------
 1891|     50|        (haslf ||
  ------------------
  |  Branch (1891:10): [True: 50, False: 0]
  ------------------
 1892|      0|         PyUnicode_FindChar(text, '\r', 0, PyUnicode_GET_LENGTH(text), 1) != -1))
  ------------------
  |  |  300|      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 (1892:10): [True: 0, False: 0]
  ------------------
 1893|     50|        needflush = 1;
 1894|       |
 1895|       |    /* XXX What if we were just reading? */
 1896|     50|    if (self->encodefunc != NULL) {
  ------------------
  |  Branch (1896:9): [True: 50, False: 0]
  ------------------
 1897|     50|        if (PyUnicode_IS_ASCII(text) &&
  ------------------
  |  |  228|    100|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 50, False: 0]
  |  |  ------------------
  ------------------
 1898|       |                // See bpo-43260
 1899|     50|                PyUnicode_GET_LENGTH(text) <= self->chunk_size &&
  ------------------
  |  |  300|     50|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1899:17): [True: 50, False: 0]
  ------------------
 1900|     50|                is_asciicompat_encoding(self->encodefunc)) {
  ------------------
  |  Branch (1900:17): [True: 50, False: 0]
  ------------------
 1901|     50|            b = Py_NewRef(text);
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1902|     50|        }
 1903|      0|        else {
 1904|      0|            b = (*self->encodefunc)((PyObject *) self, text);
 1905|      0|        }
 1906|     50|        self->encoding_start_of_stream = 0;
 1907|     50|    }
 1908|      0|    else {
 1909|       |        /* A codec callback may reconfigure the stream. */
 1910|      0|        PyObject *encoder = Py_NewRef(self->encoder);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1911|      0|        b = PyObject_CallMethodOneArg(encoder, &_Py_ID(encode), text);
  ------------------
  |  |  951|      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(encoder);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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|    }
 1914|       |
 1915|     50|    Py_DECREF(text);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1916|     50|    if (b == NULL)
  ------------------
  |  Branch (1916:9): [True: 0, False: 50]
  ------------------
 1917|      0|        return NULL;
 1918|     50|    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 (1918:9): [True: 0, False: 50]
  |  Branch (1918:22): [True: 0, False: 0]
  ------------------
 1919|      0|        PyErr_Format(PyExc_TypeError,
 1920|      0|                     "encoder should return a bytes object, not '%.200s'",
 1921|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1922|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1923|      0|        return NULL;
 1924|      0|    }
 1925|       |
 1926|     50|    if (textiowrapper_write_bytes(self, b, needflush, text_needflush) < 0) {
  ------------------
  |  Branch (1926:9): [True: 0, False: 50]
  ------------------
 1927|      0|        return NULL;
 1928|      0|    }
 1929|     50|    return PyLong_FromSsize_t(textlen);
 1930|     50|}
textio.c:is_asciicompat_encoding:
  895|     50|{
  896|     50|    return f == ascii_encode || f == latin1_encode || f == utf8_encode;
  ------------------
  |  Branch (896:12): [True: 0, False: 50]
  |  Branch (896:33): [True: 0, False: 50]
  |  Branch (896:55): [True: 50, False: 0]
  ------------------
  897|     50|}
textio.c:textiowrapper_write_bytes:
 1759|     50|{
 1760|     50|    Py_ssize_t bytes_len;
 1761|     50|    if (PyUnicode_Check(b)) {
  ------------------
  |  |  103|     50|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     50|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 50, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1762|     50|        assert(PyUnicode_IS_ASCII(b));
  ------------------
  |  Branch (1762:9): [True: 50, False: 0]
  ------------------
 1763|     50|        bytes_len = PyUnicode_GET_LENGTH(b);
  ------------------
  |  |  300|     50|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1764|     50|    }
 1765|      0|    else {
 1766|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1767|      0|    }
 1768|       |
 1769|       |    // We should avoid concatenating huge data.
 1770|       |    // Flush the buffer before adding b to the buffer if b is not small.
 1771|       |    // https://github.com/python/cpython/issues/87426
 1772|     50|    if (bytes_len >= self->chunk_size) {
  ------------------
  |  Branch (1772:9): [True: 0, False: 50]
  ------------------
 1773|       |        // _textiowrapper_writeflush() calls buffer.write().
 1774|       |        // self->pending_bytes can be appended during buffer->write()
 1775|       |        // or other thread.
 1776|       |        // We need to loop until buffer becomes empty.
 1777|       |        // https://github.com/python/cpython/issues/118138
 1778|       |        // https://github.com/python/cpython/issues/119506
 1779|      0|        while (self->pending_bytes != NULL) {
  ------------------
  |  Branch (1779:16): [True: 0, False: 0]
  ------------------
 1780|      0|            if (_textiowrapper_writeflush(self) < 0) {
  ------------------
  |  Branch (1780:17): [True: 0, False: 0]
  ------------------
 1781|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1782|      0|                return -1;
 1783|      0|            }
 1784|      0|        }
 1785|      0|    }
 1786|       |
 1787|     50|    if (bytes_len > 0) {
  ------------------
  |  Branch (1787:9): [True: 50, False: 0]
  ------------------
 1788|     50|        if (self->pending_bytes == NULL) {
  ------------------
  |  Branch (1788:13): [True: 50, False: 0]
  ------------------
 1789|     50|            assert(self->pending_bytes_count == 0);
  ------------------
  |  Branch (1789:13): [True: 50, False: 0]
  ------------------
 1790|     50|            self->pending_bytes = b;
 1791|     50|        }
 1792|      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 (1792:18): [True: 0, False: 0]
  ------------------
 1793|      0|            PyObject *list = PyList_New(2);
 1794|      0|            if (list == NULL) {
  ------------------
  |  Branch (1794:17): [True: 0, False: 0]
  ------------------
 1795|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1796|      0|                return -1;
 1797|      0|            }
 1798|       |            // Since Python 3.12, allocating GC object won't trigger GC and release
 1799|       |            // GIL. See https://github.com/python/cpython/issues/97922
 1800|      0|            assert(!PyList_CheckExact(self->pending_bytes));
  ------------------
  |  Branch (1800:13): [True: 0, False: 0]
  ------------------
 1801|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1802|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1803|      0|            self->pending_bytes = list;
 1804|      0|        }
 1805|      0|        else {
 1806|      0|            if (PyList_Append(self->pending_bytes, b) < 0) {
  ------------------
  |  Branch (1806:17): [True: 0, False: 0]
  ------------------
 1807|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1808|      0|                return -1;
 1809|      0|            }
 1810|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1811|      0|        }
 1812|       |
 1813|     50|        self->pending_bytes_count += bytes_len;
 1814|     50|    }
 1815|      0|    else {
 1816|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1817|      0|    }
 1818|       |
 1819|     50|    if (self->pending_bytes_count >= self->chunk_size || needflush ||
  ------------------
  |  Branch (1819:9): [True: 0, False: 50]
  |  Branch (1819:58): [True: 50, False: 0]
  ------------------
 1820|     50|        text_needflush) {
  ------------------
  |  Branch (1820:9): [True: 0, False: 0]
  ------------------
 1821|     50|        if (_textiowrapper_writeflush(self) < 0)
  ------------------
  |  Branch (1821:13): [True: 0, False: 50]
  ------------------
 1822|      0|            return -1;
 1823|     50|    }
 1824|       |
 1825|     50|    if (needflush) {
  ------------------
  |  Branch (1825:9): [True: 50, False: 0]
  ------------------
 1826|     50|        PyObject *buffer = buffer_access_safe(self);
 1827|     50|        if (buffer == NULL) {
  ------------------
  |  Branch (1827:13): [True: 0, False: 50]
  ------------------
 1828|      0|            return -1;
 1829|      0|        }
 1830|     50|        int res = _PyFile_Flush(buffer);
 1831|     50|        Py_DECREF(buffer);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1832|     50|        if (res < 0) {
  ------------------
  |  Branch (1832:13): [True: 0, False: 50]
  ------------------
 1833|      0|            return -1;
 1834|      0|        }
 1835|     50|    }
 1836|       |
 1837|     50|    if (self->snapshot != NULL) {
  ------------------
  |  Branch (1837:9): [True: 0, False: 50]
  ------------------
 1838|      0|        textiowrapper_set_decoded_chars(self, NULL);
 1839|      0|        Py_CLEAR(self->snapshot);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1840|      0|    }
 1841|       |
 1842|     50|    if (self->decoder) {
  ------------------
  |  Branch (1842:9): [True: 0, False: 50]
  ------------------
 1843|      0|        PyObject *ret = PyObject_CallMethodNoArgs(self->decoder, &_Py_ID(reset));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1844|      0|        if (ret == NULL)
  ------------------
  |  Branch (1844:13): [True: 0, False: 0]
  ------------------
 1845|      0|            return -1;
 1846|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1847|      0|    }
 1848|       |
 1849|     50|    return 0;
 1850|     50|}
textio.c:_io_TextIOWrapper___init___impl:
 1189|      6|{
 1190|      6|    PyObject *raw, *codec_info = NULL;
 1191|      6|    PyObject *res;
 1192|      6|    int r;
 1193|       |
 1194|      6|    self->ok = 0;
 1195|      6|    self->detached = 0;
 1196|       |
 1197|      6|    if (encoding == NULL) {
  ------------------
  |  Branch (1197:9): [True: 0, False: 6]
  ------------------
 1198|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 1199|      0|        if (_PyInterpreterState_GetConfig(interp)->warn_default_encoding) {
  ------------------
  |  Branch (1199:13): [True: 0, False: 0]
  ------------------
 1200|      0|            if (PyErr_WarnEx(PyExc_EncodingWarning,
  ------------------
  |  Branch (1200:17): [True: 0, False: 0]
  ------------------
 1201|      0|                             "'encoding' argument not specified", 1)) {
 1202|      0|                return -1;
 1203|      0|            }
 1204|      0|        }
 1205|      0|    }
 1206|       |
 1207|      6|    if (errors == Py_None) {
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1207:9): [True: 0, False: 6]
  ------------------
 1208|      0|        errors = &_Py_ID(strict);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1209|      0|    }
 1210|      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 (1210:14): [True: 0, False: 6]
  ------------------
 1211|       |        // Check 'errors' argument here because Argument Clinic doesn't support
 1212|       |        // 'str(accept={str, NoneType})' converter.
 1213|      0|        PyErr_Format(
 1214|      0|            PyExc_TypeError,
 1215|      0|            "TextIOWrapper() argument 'errors' must be str or None, not %.50s",
 1216|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1217|      0|        return -1;
 1218|      0|    }
 1219|      6|    else if (io_check_errors(errors)) {
  ------------------
  |  Branch (1219:14): [True: 0, False: 6]
  ------------------
 1220|      0|        return -1;
 1221|      0|    }
 1222|      6|    const char *errors_str = _PyUnicode_AsUTF8NoNUL(errors);
 1223|      6|    if (errors_str == NULL) {
  ------------------
  |  Branch (1223:9): [True: 0, False: 6]
  ------------------
 1224|      0|        return -1;
 1225|      0|    }
 1226|       |
 1227|      6|    if (validate_newline(newline) < 0) {
  ------------------
  |  Branch (1227:9): [True: 0, False: 6]
  ------------------
 1228|      0|        return -1;
 1229|      0|    }
 1230|       |
 1231|      6|    Py_CLEAR(self->buffer);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1232|      6|    Py_CLEAR(self->encoding);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1233|      6|    Py_CLEAR(self->encoder);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1234|      6|    Py_CLEAR(self->decoder);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1235|      6|    Py_CLEAR(self->readnl);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1236|      6|    Py_CLEAR(self->decoded_chars);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1237|      6|    Py_CLEAR(self->pending_bytes);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1238|      6|    Py_CLEAR(self->snapshot);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1239|      6|    Py_CLEAR(self->errors);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1240|      6|    Py_CLEAR(self->raw);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1241|      6|    self->decoded_chars_used = 0;
 1242|      6|    self->pending_bytes_count = 0;
 1243|      6|    self->encodefunc = NULL;
 1244|      6|    self->b2cratio = 0.0;
 1245|       |
 1246|      6|    if (encoding == NULL && _PyRuntime.preconfig.utf8_mode) {
  ------------------
  |  Branch (1246:9): [True: 0, False: 6]
  |  Branch (1246:29): [True: 0, False: 0]
  ------------------
 1247|      0|        _Py_DECLARE_STR(utf_8, "utf-8");
 1248|      0|        self->encoding = &_Py_STR(utf_8);
  ------------------
  |  |  953|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1249|      0|    }
 1250|      6|    else if (encoding == NULL || (strcmp(encoding, "locale") == 0)) {
  ------------------
  |  Branch (1250:14): [True: 0, False: 6]
  |  Branch (1250:34): [True: 0, False: 6]
  ------------------
 1251|      0|        self->encoding = _Py_GetLocaleEncodingObject();
 1252|      0|        if (self->encoding == NULL) {
  ------------------
  |  Branch (1252:13): [True: 0, False: 0]
  ------------------
 1253|      0|            goto error;
 1254|      0|        }
 1255|      0|        assert(PyUnicode_Check(self->encoding));
  ------------------
  |  Branch (1255:9): [True: 0, False: 0]
  ------------------
 1256|      0|    }
 1257|       |
 1258|      6|    if (self->encoding != NULL) {
  ------------------
  |  Branch (1258:9): [True: 0, False: 6]
  ------------------
 1259|      0|        encoding = PyUnicode_AsUTF8(self->encoding);
 1260|      0|        if (encoding == NULL)
  ------------------
  |  Branch (1260:13): [True: 0, False: 0]
  ------------------
 1261|      0|            goto error;
 1262|      0|    }
 1263|      6|    else if (encoding != NULL) {
  ------------------
  |  Branch (1263:14): [True: 6, False: 0]
  ------------------
 1264|      6|        self->encoding = PyUnicode_FromString(encoding);
 1265|      6|        if (self->encoding == NULL)
  ------------------
  |  Branch (1265:13): [True: 0, False: 6]
  ------------------
 1266|      0|            goto error;
 1267|      6|    }
 1268|      0|    else {
 1269|      0|        PyErr_SetString(PyExc_OSError,
 1270|      0|                        "could not determine default encoding");
 1271|      0|        goto error;
 1272|      0|    }
 1273|       |
 1274|       |    /* Check we have been asked for a real text encoding */
 1275|      6|    codec_info = _PyCodec_LookupTextEncoding(encoding, NULL);
 1276|      6|    if (codec_info == NULL) {
  ------------------
  |  Branch (1276:9): [True: 0, False: 6]
  ------------------
 1277|      0|        Py_CLEAR(self->encoding);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1278|      0|        goto error;
 1279|      0|    }
 1280|       |
 1281|       |    /* XXX: Failures beyond this point have the potential to leak elements
 1282|       |     * of the partially constructed object (like self->encoding)
 1283|       |     */
 1284|       |
 1285|      6|    self->errors = Py_NewRef(errors);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1286|      6|    self->chunk_size = 8192;
 1287|      6|    self->line_buffering = line_buffering;
 1288|      6|    self->write_through = write_through;
 1289|      6|    if (set_newline(self, newline) < 0) {
  ------------------
  |  Branch (1289:9): [True: 0, False: 6]
  ------------------
 1290|      0|        goto error;
 1291|      0|    }
 1292|       |
 1293|      6|    self->buffer = Py_NewRef(buffer);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1294|       |
 1295|       |    /* Build the decoder object */
 1296|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1297|      6|    self->state = state;
 1298|      6|    if (_textiowrapper_set_decoder(self, codec_info, errors_str) != 0)
  ------------------
  |  Branch (1298:9): [True: 0, False: 6]
  ------------------
 1299|      0|        goto error;
 1300|       |
 1301|       |    /* Build the encoder object */
 1302|      6|    if (_textiowrapper_set_encoder(self, codec_info, errors_str) != 0)
  ------------------
  |  Branch (1302:9): [True: 0, False: 6]
  ------------------
 1303|      0|        goto error;
 1304|       |
 1305|       |    /* Finished sorting out the codec details */
 1306|      6|    Py_CLEAR(codec_info);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  491|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      6|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      6|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1307|       |
 1308|      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]
  |  |  ------------------
  ------------------
 1309|      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]
  |  |  ------------------
  ------------------
 1310|      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]
  |  |  ------------------
  ------------------
 1311|      6|    {
 1312|      6|        if (PyObject_GetOptionalAttr(buffer, &_Py_ID(raw), &raw) < 0)
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1312:13): [True: 0, False: 6]
  ------------------
 1313|      0|            goto error;
 1314|       |        /* Cache the raw FileIO object to speed up 'closed' checks */
 1315|      6|        if (raw != NULL) {
  ------------------
  |  Branch (1315:13): [True: 6, False: 0]
  ------------------
 1316|      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]
  |  |  ------------------
  ------------------
 1317|      6|                self->raw = raw;
 1318|      0|            else
 1319|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1320|      6|        }
 1321|      6|    }
 1322|       |
 1323|      6|    res = PyObject_CallMethodNoArgs(buffer, &_Py_ID(seekable));
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1324|      6|    if (res == NULL)
  ------------------
  |  Branch (1324:9): [True: 0, False: 6]
  ------------------
 1325|      0|        goto error;
 1326|      6|    r = PyObject_IsTrue(res);
 1327|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1328|      6|    if (r < 0)
  ------------------
  |  Branch (1328:9): [True: 0, False: 6]
  ------------------
 1329|      0|        goto error;
 1330|      6|    self->seekable = self->telling = r;
 1331|       |
 1332|      6|    r = PyObject_HasAttrWithError(buffer, &_Py_ID(read1));
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1333|      6|    if (r < 0) {
  ------------------
  |  Branch (1333:9): [True: 0, False: 6]
  ------------------
 1334|      0|        goto error;
 1335|      0|    }
 1336|      6|    self->has_read1 = r;
 1337|       |
 1338|      6|    self->encoding_start_of_stream = 0;
 1339|      6|    if (_textiowrapper_fix_encoder_state(self) < 0) {
  ------------------
  |  Branch (1339:9): [True: 0, False: 6]
  ------------------
 1340|      0|        goto error;
 1341|      0|    }
 1342|       |
 1343|      6|    self->ok = 1;
 1344|      6|    return 0;
 1345|       |
 1346|      0|  error:
 1347|      0|    Py_XDECREF(codec_info);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1348|      0|    return -1;
 1349|      6|}
textio.c:io_check_errors:
 1110|      6|{
 1111|      6|    assert(errors != NULL && errors != Py_None);
  ------------------
  |  Branch (1111:5): [True: 6, False: 0]
  |  Branch (1111:5): [True: 6, False: 0]
  ------------------
 1112|       |
 1113|      6|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1114|      6|#ifndef Py_DEBUG
 1115|       |    /* In release mode, only check in development mode (-X dev) */
 1116|      6|    if (!_PyInterpreterState_GetConfig(interp)->dev_mode) {
  ------------------
  |  Branch (1116:9): [True: 6, False: 0]
  ------------------
 1117|      6|        return 0;
 1118|      6|    }
 1119|       |#else
 1120|       |    /* Always check in debug mode */
 1121|       |#endif
 1122|       |
 1123|       |    /* Avoid calling PyCodec_LookupError() before the codec registry is ready:
 1124|       |       before_PyUnicode_InitEncodings() is called. */
 1125|      0|    if (!interp->unicode.fs_codec.encoding) {
  ------------------
  |  Branch (1125:9): [True: 0, False: 0]
  ------------------
 1126|      0|        return 0;
 1127|      0|    }
 1128|       |
 1129|      0|    const char *name = _PyUnicode_AsUTF8NoNUL(errors);
 1130|      0|    if (name == NULL) {
  ------------------
  |  Branch (1130:9): [True: 0, False: 0]
  ------------------
 1131|      0|        return -1;
 1132|      0|    }
 1133|      0|    PyObject *handler = PyCodec_LookupError(name);
 1134|      0|    if (handler != NULL) {
  ------------------
  |  Branch (1134:9): [True: 0, False: 0]
  ------------------
 1135|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1136|      0|        return 0;
 1137|      0|    }
 1138|      0|    return -1;
 1139|      0|}

PyInit__operator:
 2032|      1|{
 2033|      1|    return PyModuleDef_Init(&operatormodule);
 2034|      1|}
_operator.c:operator_exec:
 1954|      1|{
 1955|      1|    _operator_state *state = get_operator_state(module);
 1956|      1|    state->attrgetter_type = PyType_FromModuleAndSpec(module, &attrgetter_type_spec, NULL);
 1957|      1|    if (state->attrgetter_type == NULL) {
  ------------------
  |  Branch (1957:9): [True: 0, False: 1]
  ------------------
 1958|      0|        return -1;
 1959|      0|    }
 1960|      1|    if (PyModule_AddType(module, (PyTypeObject *)state->attrgetter_type) < 0) {
  ------------------
  |  Branch (1960:9): [True: 0, False: 1]
  ------------------
 1961|      0|        return -1;
 1962|      0|    }
 1963|       |
 1964|      1|    state->itemgetter_type = PyType_FromModuleAndSpec(module, &itemgetter_type_spec, NULL);
 1965|      1|    if (state->itemgetter_type == NULL) {
  ------------------
  |  Branch (1965:9): [True: 0, False: 1]
  ------------------
 1966|      0|        return -1;
 1967|      0|    }
 1968|      1|    if (PyModule_AddType(module, (PyTypeObject *)state->itemgetter_type) < 0) {
  ------------------
  |  Branch (1968:9): [True: 0, False: 1]
  ------------------
 1969|      0|        return -1;
 1970|      0|    }
 1971|       |
 1972|      1|    state->methodcaller_type = PyType_FromModuleAndSpec(module, &methodcaller_type_spec, NULL);
 1973|      1|    if (state->methodcaller_type == NULL) {
  ------------------
  |  Branch (1973:9): [True: 0, False: 1]
  ------------------
 1974|      0|        return -1;
 1975|      0|    }
 1976|      1|    if (PyModule_AddType(module, (PyTypeObject *)state->methodcaller_type) < 0) {
  ------------------
  |  Branch (1976:9): [True: 0, False: 1]
  ------------------
 1977|      0|        return -1;
 1978|      0|    }
 1979|       |
 1980|      1|    return 0;
 1981|      1|}
_operator.c:get_operator_state:
   20|      3|{
   21|      3|    void *state = _PyModule_GetState(module);
   22|      3|    assert(state != NULL);
  ------------------
  |  Branch (22:5): [True: 3, False: 0]
  ------------------
   23|      3|    return (_operator_state *)state;
   24|      3|}
_operator.c:operator_traverse:
 1994|      2|{
 1995|      2|    _operator_state *state = get_operator_state(module);
 1996|      2|    Py_VISIT(state->attrgetter_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1997|      2|    Py_VISIT(state->itemgetter_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1998|      2|    Py_VISIT(state->methodcaller_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1999|      2|    return 0;
 2000|      2|}

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

PyInit__sre:
 3701|      1|{
 3702|      1|    return PyModuleDef_Init(&sremodule);
 3703|      1|}
sre.c:_sre_compile_impl:
 1780|      4|{
 1781|       |    /* "compile" pattern descriptor to pattern object */
 1782|       |
 1783|      4|    _sremodulestate *module_state = get_sre_module_state(module);
 1784|      4|    PatternObject* self;
 1785|      4|    Py_ssize_t i, n;
 1786|       |
 1787|      4|    n = PyList_GET_SIZE(code);
  ------------------
  |  |   38|      4|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1788|       |    /* coverity[ampersand_in_size] */
 1789|      4|    self = PyObject_GC_NewVar(PatternObject, module_state->Pattern_Type, n);
  ------------------
  |  |  183|      4|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1790|      4|    if (!self)
  ------------------
  |  Branch (1790:9): [True: 0, False: 4]
  ------------------
 1791|      0|        return NULL;
 1792|      4|    self->weakreflist = NULL;
 1793|      4|    self->pattern = NULL;
 1794|      4|    self->groupindex = NULL;
 1795|      4|    self->indexgroup = NULL;
 1796|       |#ifdef Py_DEBUG
 1797|       |    self->fail_after_count = -1;
 1798|       |    self->fail_after_exc = NULL;
 1799|       |#endif
 1800|       |
 1801|      4|    self->codesize = n;
 1802|       |
 1803|    144|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1803:17): [True: 140, False: 4]
  ------------------
 1804|    140|        PyObject *o = PyList_GET_ITEM(code, i);
  ------------------
  |  |   40|    140|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    140|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1804:23): [True: 140, False: 0]
  ------------------
 1805|      0|        unsigned long value = PyLong_AsUnsignedLong(o);
 1806|    140|        if (value == (unsigned long)-1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1806:13): [True: 0, False: 140]
  |  Branch (1806:43): [True: 0, False: 0]
  ------------------
 1807|      0|            break;
 1808|      0|        }
 1809|    140|        self->code[i] = (SRE_CODE) value;
 1810|    140|        if ((unsigned long) self->code[i] != value) {
  ------------------
  |  Branch (1810:13): [True: 0, False: 140]
  ------------------
 1811|      0|            PyErr_SetString(PyExc_OverflowError,
 1812|      0|                            "regular expression code size limit exceeded");
 1813|      0|            break;
 1814|      0|        }
 1815|    140|    }
 1816|      4|    PyObject_GC_Track(self);
 1817|       |
 1818|      4|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1818:9): [True: 0, False: 4]
  ------------------
 1819|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1820|      0|        return NULL;
 1821|      0|    }
 1822|       |
 1823|      4|    if (pattern == Py_None) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1823:9): [True: 0, False: 4]
  ------------------
 1824|      0|        self->isbytes = -1;
 1825|      0|    }
 1826|      4|    else {
 1827|      4|        Py_ssize_t p_length;
 1828|      4|        int charsize;
 1829|      4|        Py_buffer view;
 1830|      4|        view.buf = NULL;
 1831|      4|        if (!getstring(pattern, &p_length, &self->isbytes,
  ------------------
  |  Branch (1831:13): [True: 0, False: 4]
  ------------------
 1832|      4|                       &charsize, &view)) {
 1833|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1834|      0|            return NULL;
 1835|      0|        }
 1836|      4|        if (view.buf)
  ------------------
  |  Branch (1836:13): [True: 2, False: 2]
  ------------------
 1837|      2|            PyBuffer_Release(&view);
 1838|      4|    }
 1839|       |
 1840|      4|    self->pattern = Py_NewRef(pattern);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1841|       |
 1842|      4|    self->flags = flags;
 1843|       |
 1844|      4|    self->groups = groups;
 1845|       |
 1846|      4|    if (PyDict_GET_SIZE(groupindex) > 0) {
  ------------------
  |  |   63|      4|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1846:9): [True: 0, False: 4]
  ------------------
 1847|      0|        self->groupindex = Py_NewRef(groupindex);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1848|      0|        if (PyTuple_GET_SIZE(indexgroup) > 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 (1848:13): [True: 0, False: 0]
  ------------------
 1849|      0|            self->indexgroup = Py_NewRef(indexgroup);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1850|      0|        }
 1851|      0|    }
 1852|       |
 1853|      4|    if (!_validate(self)) {
  ------------------
  |  Branch (1853:9): [True: 0, False: 4]
  ------------------
 1854|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1855|      0|        return NULL;
 1856|      0|    }
 1857|       |
 1858|      4|    return (PyObject*) self;
 1859|      4|}
sre.c:get_sre_module_state:
  532|      6|{
  533|      6|    _sremodulestate *state = (_sremodulestate *)_PyModule_GetState(m);
  534|      6|    assert(state);
  ------------------
  |  Branch (534:5): [True: 6, False: 0]
  ------------------
  535|      6|    return state;
  536|      6|}
sre.c:getstring:
  650|      5|{
  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|      5|    if (PyUnicode_Check(string)) {
  ------------------
  |  |  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: 3, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  658|      3|        *p_length = PyUnicode_GET_LENGTH(string);
  ------------------
  |  |  300|      3|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  659|      3|        *p_charsize = PyUnicode_KIND(string);
  ------------------
  |  |  259|      3|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  660|      0|        *p_isbytes = 0;
  661|      3|        return PyUnicode_DATA(string);
  ------------------
  |  |  285|      3|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  662|      3|    }
  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:
 2470|      4|{
 2471|      4|    if (_validate_outer(self->code, self->code+self->codesize, self->groups))
  ------------------
  |  Branch (2471:9): [True: 0, False: 4]
  ------------------
 2472|      0|    {
 2473|      0|        PyErr_SetString(PyExc_RuntimeError, "invalid SRE code");
 2474|      0|        return 0;
 2475|      0|    }
 2476|      4|    else
 2477|      4|        VTRACE(("Success!\n"));
  ------------------
  |  | 1957|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1957:31): [Folded, False: 4]
  |  |  ------------------
  ------------------
 2478|      4|    return 1;
 2479|      4|}
sre.c:_validate_outer:
 2461|      4|{
 2462|      4|    if (groups < 0 || (size_t)groups > SRE_MAXGROUPS ||
  ------------------
  |  |   21|      8|# define SRE_MAXGROUPS ((SRE_CODE)INT32_MAX / 2)
  ------------------
  |  Branch (2462:9): [True: 0, False: 4]
  |  Branch (2462:23): [True: 0, False: 4]
  ------------------
 2463|      4|        code >= end || end[-1] != SRE_OP_SUCCESS)
  ------------------
  |  |   16|      4|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2463:9): [True: 0, False: 4]
  |  Branch (2463:24): [True: 0, False: 4]
  ------------------
 2464|      0|        FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2465|      4|    return _validate_inner(code, end-1, groups);
 2466|      4|}
sre.c:_validate_inner:
 2138|     11|{
 2139|       |    /* Some variables are manipulated by the macros above */
 2140|     11|    SRE_CODE op;
  ------------------
  |  |   18|     11|#define SRE_CODE Py_UCS4
  ------------------
 2141|     11|    SRE_CODE arg;
  ------------------
  |  |   18|     11|#define SRE_CODE Py_UCS4
  ------------------
 2142|     11|    SRE_CODE skip;
  ------------------
  |  |   18|     11|#define SRE_CODE Py_UCS4
  ------------------
 2143|       |
 2144|     11|    VTRACE(("code=%p, end=%p\n", code, end));
  ------------------
  |  | 1957|     11|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1957:31): [Folded, False: 11]
  |  |  ------------------
  ------------------
 2145|       |
 2146|     11|    if (code > end)
  ------------------
  |  Branch (2146:9): [True: 0, False: 11]
  ------------------
 2147|      0|        FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2148|       |
 2149|     40|    while (code < end) {
  ------------------
  |  Branch (2149:12): [True: 29, False: 11]
  ------------------
 2150|     29|        GET_OP;
  ------------------
  |  | 1965|     29|    do {                                                \
  |  | 1966|     29|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|     29|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 29]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1967|     29|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1967:13): [True: 0, False: 29]
  |  |  ------------------
  |  | 1968|     29|        op = *code++;                                   \
  |  | 1969|     29|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1957|     29|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 29]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|     29|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1970:14): [Folded, False: 29]
  |  |  ------------------
  ------------------
 2151|     29|        switch (op) {
 2152|       |
 2153|      2|        case SRE_OP_MARK:
  ------------------
  |  |   32|      2|#define SRE_OP_MARK 17
  ------------------
  |  Branch (2153:9): [True: 2, False: 27]
  ------------------
 2154|       |            /* We don't check whether marks are properly nested; the
 2155|       |               sre_match() code is robust even if they don't, and the worst
 2156|       |               you can get is nonsensical match results. */
 2157|      2|            GET_ARG;
  ------------------
  |  | 1972|      2|    do {                                                \
  |  | 1973|      2|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      2|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1975|      2|        arg = *code++;                                  \
  |  | 1976|      2|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2158|      2|            if (arg >= 2 * (size_t)groups) {
  ------------------
  |  Branch (2158:17): [True: 0, False: 2]
  ------------------
 2159|      0|                VTRACE(("arg=%d, groups=%d\n", (int)arg, (int)groups));
  ------------------
  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2160|      0|                FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2161|      0|            }
 2162|      2|            break;
 2163|       |
 2164|      7|        case SRE_OP_LITERAL:
  ------------------
  |  |   31|      7|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (2164:9): [True: 7, False: 22]
  ------------------
 2165|      7|        case SRE_OP_NOT_LITERAL:
  ------------------
  |  |   35|      7|#define SRE_OP_NOT_LITERAL 20
  ------------------
  |  Branch (2165:9): [True: 0, False: 29]
  ------------------
 2166|      7|        case SRE_OP_LITERAL_IGNORE:
  ------------------
  |  |   47|      7|#define SRE_OP_LITERAL_IGNORE 32
  ------------------
  |  Branch (2166:9): [True: 0, False: 29]
  ------------------
 2167|      7|        case SRE_OP_NOT_LITERAL_IGNORE:
  ------------------
  |  |   48|      7|#define SRE_OP_NOT_LITERAL_IGNORE 33
  ------------------
  |  Branch (2167:9): [True: 0, False: 29]
  ------------------
 2168|      7|        case SRE_OP_LITERAL_UNI_IGNORE:
  ------------------
  |  |   55|      7|#define SRE_OP_LITERAL_UNI_IGNORE 40
  ------------------
  |  Branch (2168:9): [True: 0, False: 29]
  ------------------
 2169|      7|        case SRE_OP_NOT_LITERAL_UNI_IGNORE:
  ------------------
  |  |   56|      7|#define SRE_OP_NOT_LITERAL_UNI_IGNORE 41
  ------------------
  |  Branch (2169:9): [True: 0, False: 29]
  ------------------
 2170|      7|        case SRE_OP_LITERAL_LOC_IGNORE:
  ------------------
  |  |   51|      7|#define SRE_OP_LITERAL_LOC_IGNORE 36
  ------------------
  |  Branch (2170:9): [True: 0, False: 29]
  ------------------
 2171|      7|        case SRE_OP_NOT_LITERAL_LOC_IGNORE:
  ------------------
  |  |   52|      7|#define SRE_OP_NOT_LITERAL_LOC_IGNORE 37
  ------------------
  |  Branch (2171:9): [True: 0, False: 29]
  ------------------
 2172|      7|            GET_ARG;
  ------------------
  |  | 1972|      7|    do {                                                \
  |  | 1973|      7|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      7|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      7|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 7]
  |  |  ------------------
  |  | 1975|      7|        arg = *code++;                                  \
  |  | 1976|      7|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      7|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 2173|       |            /* The arg is just a character, nothing to check */
 2174|      7|            break;
 2175|       |
 2176|      7|        case SRE_OP_SUCCESS:
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2176:9): [True: 0, False: 29]
  ------------------
 2177|      0|        case SRE_OP_FAILURE:
  ------------------
  |  |   15|      0|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (2177:9): [True: 0, False: 29]
  ------------------
 2178|       |            /* Nothing to check; these normally end the matching process */
 2179|      0|            break;
 2180|       |
 2181|      3|        case SRE_OP_AT:
  ------------------
  |  |   21|      3|#define SRE_OP_AT 6
  ------------------
  |  Branch (2181:9): [True: 3, False: 26]
  ------------------
 2182|      3|            GET_ARG;
  ------------------
  |  | 1972|      3|    do {                                                \
  |  | 1973|      3|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      3|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      3|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 3]
  |  |  ------------------
  |  | 1975|      3|        arg = *code++;                                  \
  |  | 1976|      3|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      3|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 2183|      3|            switch (arg) {
 2184|      2|            case SRE_AT_BEGINNING:
  ------------------
  |  |   58|      2|#define SRE_AT_BEGINNING 0
  ------------------
  |  Branch (2184:13): [True: 2, False: 1]
  ------------------
 2185|      2|            case SRE_AT_BEGINNING_STRING:
  ------------------
  |  |   60|      2|#define SRE_AT_BEGINNING_STRING 2
  ------------------
  |  Branch (2185:13): [True: 0, False: 3]
  ------------------
 2186|      2|            case SRE_AT_BEGINNING_LINE:
  ------------------
  |  |   59|      2|#define SRE_AT_BEGINNING_LINE 1
  ------------------
  |  Branch (2186:13): [True: 0, False: 3]
  ------------------
 2187|      3|            case SRE_AT_END:
  ------------------
  |  |   63|      3|#define SRE_AT_END 5
  ------------------
  |  Branch (2187:13): [True: 1, False: 2]
  ------------------
 2188|      3|            case SRE_AT_END_LINE:
  ------------------
  |  |   64|      3|#define SRE_AT_END_LINE 6
  ------------------
  |  Branch (2188:13): [True: 0, False: 3]
  ------------------
 2189|      3|            case SRE_AT_END_STRING:
  ------------------
  |  |   65|      3|#define SRE_AT_END_STRING 7
  ------------------
  |  Branch (2189:13): [True: 0, False: 3]
  ------------------
 2190|      3|            case SRE_AT_BOUNDARY:
  ------------------
  |  |   61|      3|#define SRE_AT_BOUNDARY 3
  ------------------
  |  Branch (2190:13): [True: 0, False: 3]
  ------------------
 2191|      3|            case SRE_AT_NON_BOUNDARY:
  ------------------
  |  |   62|      3|#define SRE_AT_NON_BOUNDARY 4
  ------------------
  |  Branch (2191:13): [True: 0, False: 3]
  ------------------
 2192|      3|            case SRE_AT_LOC_BOUNDARY:
  ------------------
  |  |   66|      3|#define SRE_AT_LOC_BOUNDARY 8
  ------------------
  |  Branch (2192:13): [True: 0, False: 3]
  ------------------
 2193|      3|            case SRE_AT_LOC_NON_BOUNDARY:
  ------------------
  |  |   67|      3|#define SRE_AT_LOC_NON_BOUNDARY 9
  ------------------
  |  Branch (2193:13): [True: 0, False: 3]
  ------------------
 2194|      3|            case SRE_AT_UNI_BOUNDARY:
  ------------------
  |  |   68|      3|#define SRE_AT_UNI_BOUNDARY 10
  ------------------
  |  Branch (2194:13): [True: 0, False: 3]
  ------------------
 2195|      3|            case SRE_AT_UNI_NON_BOUNDARY:
  ------------------
  |  |   69|      3|#define SRE_AT_UNI_NON_BOUNDARY 11
  ------------------
  |  Branch (2195:13): [True: 0, False: 3]
  ------------------
 2196|      3|                break;
 2197|      0|            default:
  ------------------
  |  Branch (2197:13): [True: 0, False: 3]
  ------------------
 2198|      0|                FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2199|      3|            }
 2200|      3|            break;
 2201|       |
 2202|      3|        case SRE_OP_CATEGORY:
  ------------------
  |  |   23|      0|#define SRE_OP_CATEGORY 8
  ------------------
  |  Branch (2202:9): [True: 0, False: 29]
  ------------------
 2203|      0|            GET_ARG;
  ------------------
  |  | 1972|      0|    do {                                                \
  |  | 1973|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1975|      0|        arg = *code++;                                  \
  |  | 1976|      0|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2204|      0|            if (!_validate_category(arg)) {
  ------------------
  |  Branch (2204:17): [True: 0, False: 0]
  ------------------
 2205|      0|                FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2206|      0|            }
 2207|      0|            break;
 2208|       |
 2209|      1|        case SRE_OP_ANY:
  ------------------
  |  |   17|      1|#define SRE_OP_ANY 2
  ------------------
  |  Branch (2209:9): [True: 1, False: 28]
  ------------------
 2210|      1|        case SRE_OP_ANY_ALL:
  ------------------
  |  |   18|      1|#define SRE_OP_ANY_ALL 3
  ------------------
  |  Branch (2210:9): [True: 0, False: 29]
  ------------------
 2211|       |            /* These have no operands */
 2212|      1|            break;
 2213|       |
 2214|      6|        case SRE_OP_IN:
  ------------------
  |  |   28|      6|#define SRE_OP_IN 13
  ------------------
  |  Branch (2214:9): [True: 6, False: 23]
  ------------------
 2215|      6|        case SRE_OP_IN_IGNORE:
  ------------------
  |  |   46|      6|#define SRE_OP_IN_IGNORE 31
  ------------------
  |  Branch (2215:9): [True: 0, False: 29]
  ------------------
 2216|      6|        case SRE_OP_IN_UNI_IGNORE:
  ------------------
  |  |   54|      6|#define SRE_OP_IN_UNI_IGNORE 39
  ------------------
  |  Branch (2216:9): [True: 0, False: 29]
  ------------------
 2217|      6|        case SRE_OP_IN_LOC_IGNORE:
  ------------------
  |  |   50|      6|#define SRE_OP_IN_LOC_IGNORE 35
  ------------------
  |  Branch (2217:9): [True: 0, False: 29]
  ------------------
 2218|      6|            GET_SKIP;
  ------------------
  |  | 1989|      6|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1979|      6|    do {                                                \
  |  |  |  | 1980|      6|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      6|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1981|      6|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1981:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  | 1982|      6|        skip = *code;                                   \
  |  |  |  | 1983|      6|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      6|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1984|      6|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1985|      6|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1985:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  | 1986|      6|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1987|      6|        code++;                                         \
  |  |  |  | 1988|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1988:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2219|       |            /* Stop 1 before the end; we check the FAILURE below */
 2220|      6|            if (_validate_charset(code, code+skip-2))
  ------------------
  |  Branch (2220:17): [True: 0, False: 6]
  ------------------
 2221|      0|                FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2222|      6|            if (code[skip-2] != SRE_OP_FAILURE)
  ------------------
  |  |   15|      6|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (2222:17): [True: 0, False: 6]
  ------------------
 2223|      0|                FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2224|      6|            code += skip-1;
 2225|      6|            break;
 2226|       |
 2227|      4|        case SRE_OP_INFO:
  ------------------
  |  |   29|      4|#define SRE_OP_INFO 14
  ------------------
  |  Branch (2227:9): [True: 4, False: 25]
  ------------------
 2228|      4|            {
 2229|       |                /* A minimal info field is
 2230|       |                   <INFO> <1=skip> <2=flags> <3=min> <4=max>;
 2231|       |                   If SRE_INFO_PREFIX or SRE_INFO_CHARSET is in the flags,
 2232|       |                   more follows. */
 2233|      4|                SRE_CODE flags, i;
  ------------------
  |  |   18|      4|#define SRE_CODE Py_UCS4
  ------------------
 2234|      4|                SRE_CODE *newcode;
  ------------------
  |  |   18|      4|#define SRE_CODE Py_UCS4
  ------------------
 2235|      4|                GET_SKIP;
  ------------------
  |  | 1989|      4|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1979|      4|    do {                                                \
  |  |  |  | 1980|      4|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1981|      4|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1981:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 1982|      4|        skip = *code;                                   \
  |  |  |  | 1983|      4|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1984|      4|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1985|      4|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1985:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 1986|      4|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1987|      4|        code++;                                         \
  |  |  |  | 1988|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1988:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2236|      4|                newcode = code+skip-1;
 2237|      4|                GET_ARG; flags = arg;
  ------------------
  |  | 1972|      4|    do {                                                \
  |  | 1973|      4|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      4|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 1975|      4|        arg = *code++;                                  \
  |  | 1976|      4|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 2238|      4|                GET_ARG;
  ------------------
  |  | 1972|      4|    do {                                                \
  |  | 1973|      4|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      4|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 1975|      4|        arg = *code++;                                  \
  |  | 1976|      4|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 2239|      4|                GET_ARG;
  ------------------
  |  | 1972|      4|    do {                                                \
  |  | 1973|      4|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      4|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 1975|      4|        arg = *code++;                                  \
  |  | 1976|      4|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 2240|       |                /* Check that only valid flags are present */
 2241|      4|                if ((flags & ~(SRE_INFO_PREFIX |
  ------------------
  |  |  146|      4|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2241:21): [True: 0, False: 4]
  ------------------
 2242|      4|                               SRE_INFO_LITERAL |
  ------------------
  |  |  147|      4|#define SRE_INFO_LITERAL 2
  ------------------
 2243|      4|                               SRE_INFO_CHARSET)) != 0)
  ------------------
  |  |  148|      4|#define SRE_INFO_CHARSET 4
  ------------------
 2244|      0|                    FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2245|       |                /* PREFIX and CHARSET are mutually exclusive */
 2246|      4|                if ((flags & SRE_INFO_PREFIX) &&
  ------------------
  |  |  146|      4|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2246:21): [True: 0, False: 4]
  ------------------
 2247|      0|                    (flags & SRE_INFO_CHARSET))
  ------------------
  |  |  148|      0|#define SRE_INFO_CHARSET 4
  ------------------
  |  Branch (2247:21): [True: 0, False: 0]
  ------------------
 2248|      0|                    FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2249|       |                /* LITERAL implies PREFIX */
 2250|      4|                if ((flags & SRE_INFO_LITERAL) &&
  ------------------
  |  |  147|      4|#define SRE_INFO_LITERAL 2
  ------------------
  |  Branch (2250:21): [True: 0, False: 4]
  ------------------
 2251|      0|                    !(flags & SRE_INFO_PREFIX))
  ------------------
  |  |  146|      0|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2251:21): [True: 0, False: 0]
  ------------------
 2252|      0|                    FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2253|       |                /* Validate the prefix */
 2254|      4|                if (flags & SRE_INFO_PREFIX) {
  ------------------
  |  |  146|      4|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2254:21): [True: 0, False: 4]
  ------------------
 2255|      0|                    SRE_CODE prefix_len;
  ------------------
  |  |   18|      0|#define SRE_CODE Py_UCS4
  ------------------
 2256|      0|                    GET_ARG; prefix_len = arg;
  ------------------
  |  | 1972|      0|    do {                                                \
  |  | 1973|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1975|      0|        arg = *code++;                                  \
  |  | 1976|      0|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2257|      0|                    GET_ARG;
  ------------------
  |  | 1972|      0|    do {                                                \
  |  | 1973|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1975|      0|        arg = *code++;                                  \
  |  | 1976|      0|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2258|       |                    /* Here comes the prefix string */
 2259|      0|                    if (prefix_len > (uintptr_t)(newcode - code))
  ------------------
  |  Branch (2259:25): [True: 0, False: 0]
  ------------------
 2260|      0|                        FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2261|      0|                    code += prefix_len;
 2262|       |                    /* And here comes the overlap table */
 2263|      0|                    if (prefix_len > (uintptr_t)(newcode - code))
  ------------------
  |  Branch (2263:25): [True: 0, False: 0]
  ------------------
 2264|      0|                        FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2265|       |                    /* Each overlap value should be < prefix_len */
 2266|      0|                    for (i = 0; i < prefix_len; i++) {
  ------------------
  |  Branch (2266:33): [True: 0, False: 0]
  ------------------
 2267|      0|                        if (code[i] >= prefix_len)
  ------------------
  |  Branch (2267:29): [True: 0, False: 0]
  ------------------
 2268|      0|                            FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2269|      0|                    }
 2270|      0|                    code += prefix_len;
 2271|      0|                }
 2272|       |                /* Validate the charset */
 2273|      4|                if (flags & SRE_INFO_CHARSET) {
  ------------------
  |  |  148|      4|#define SRE_INFO_CHARSET 4
  ------------------
  |  Branch (2273:21): [True: 0, False: 4]
  ------------------
 2274|      0|                    if (_validate_charset(code, newcode-1))
  ------------------
  |  Branch (2274:25): [True: 0, False: 0]
  ------------------
 2275|      0|                        FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2276|      0|                    if (newcode[-1] != SRE_OP_FAILURE)
  ------------------
  |  |   15|      0|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (2276:25): [True: 0, False: 0]
  ------------------
 2277|      0|                        FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2278|      0|                    code = newcode;
 2279|      0|                }
 2280|      4|                else if (code != newcode) {
  ------------------
  |  Branch (2280:26): [True: 0, False: 4]
  ------------------
 2281|      0|                  VTRACE(("code=%p, newcode=%p\n", code, newcode));
  ------------------
  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2282|      0|                    FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2283|      0|                }
 2284|      4|            }
 2285|      4|            break;
 2286|       |
 2287|      4|        case SRE_OP_BRANCH:
  ------------------
  |  |   22|      1|#define SRE_OP_BRANCH 7
  ------------------
  |  Branch (2287:9): [True: 1, False: 28]
  ------------------
 2288|      1|            {
 2289|      1|                SRE_CODE *target = NULL;
  ------------------
  |  |   18|      1|#define SRE_CODE Py_UCS4
  ------------------
 2290|      3|                for (;;) {
 2291|      3|                    GET_SKIP;
  ------------------
  |  | 1989|      3|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1979|      3|    do {                                                \
  |  |  |  | 1980|      3|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      3|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1981|      3|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1981:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  | 1982|      3|        skip = *code;                                   \
  |  |  |  | 1983|      3|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      3|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1984|      3|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1985|      3|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1985:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  | 1986|      3|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1987|      3|        code++;                                         \
  |  |  |  | 1988|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1988:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2292|      3|                    if (skip == 0)
  ------------------
  |  Branch (2292:25): [True: 1, False: 2]
  ------------------
 2293|      1|                        break;
 2294|       |                    /* Stop 2 before the end; we check the JUMP below */
 2295|      2|                    if (_validate_inner(code, code+skip-3, groups))
  ------------------
  |  Branch (2295:25): [True: 0, False: 2]
  ------------------
 2296|      0|                        FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2297|      2|                    code += skip-3;
 2298|       |                    /* Check that it ends with a JUMP, and that each JUMP
 2299|       |                       has the same target */
 2300|      2|                    GET_OP;
  ------------------
  |  | 1965|      2|    do {                                                \
  |  | 1966|      2|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1967|      2|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1967:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1968|      2|        op = *code++;                                   \
  |  | 1969|      2|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1957|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1970:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2301|      2|                    if (op != SRE_OP_JUMP)
  ------------------
  |  |   30|      2|#define SRE_OP_JUMP 15
  ------------------
  |  Branch (2301:25): [True: 0, False: 2]
  ------------------
 2302|      0|                        FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2303|      2|                    GET_SKIP;
  ------------------
  |  | 1989|      2|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1979|      2|    do {                                                \
  |  |  |  | 1980|      2|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1981|      2|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1981:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 1982|      2|        skip = *code;                                   \
  |  |  |  | 1983|      2|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1984|      2|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1985|      2|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1985:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 1986|      2|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1987|      2|        code++;                                         \
  |  |  |  | 1988|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1988:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2304|      2|                    if (target == NULL)
  ------------------
  |  Branch (2304:25): [True: 1, False: 1]
  ------------------
 2305|      1|                        target = code+skip-1;
 2306|      1|                    else if (code+skip-1 != target)
  ------------------
  |  Branch (2306:30): [True: 0, False: 1]
  ------------------
 2307|      0|                        FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2308|      2|                }
 2309|      1|                if (code != target)
  ------------------
  |  Branch (2309:21): [True: 0, False: 1]
  ------------------
 2310|      0|                    FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2311|      1|            }
 2312|      1|            break;
 2313|       |
 2314|      4|        case SRE_OP_REPEAT_ONE:
  ------------------
  |  |   39|      4|#define SRE_OP_REPEAT_ONE 24
  ------------------
  |  Branch (2314:9): [True: 4, False: 25]
  ------------------
 2315|      5|        case SRE_OP_MIN_REPEAT_ONE:
  ------------------
  |  |   41|      5|#define SRE_OP_MIN_REPEAT_ONE 26
  ------------------
  |  Branch (2315:9): [True: 1, False: 28]
  ------------------
 2316|      5|        case SRE_OP_POSSESSIVE_REPEAT_ONE:
  ------------------
  |  |   44|      5|#define SRE_OP_POSSESSIVE_REPEAT_ONE 29
  ------------------
  |  Branch (2316:9): [True: 0, False: 29]
  ------------------
 2317|      5|            {
 2318|      5|                SRE_CODE min, max;
  ------------------
  |  |   18|      5|#define SRE_CODE Py_UCS4
  ------------------
 2319|      5|                GET_SKIP;
  ------------------
  |  | 1989|      5|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1979|      5|    do {                                                \
  |  |  |  | 1980|      5|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      5|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 5]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1981|      5|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1981:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  | 1982|      5|        skip = *code;                                   \
  |  |  |  | 1983|      5|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      5|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 5]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1984|      5|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1985|      5|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1985:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  | 1986|      5|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1987|      5|        code++;                                         \
  |  |  |  | 1988|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1988:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2320|      5|                GET_ARG; min = arg;
  ------------------
  |  | 1972|      5|    do {                                                \
  |  | 1973|      5|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      5|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      5|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 5]
  |  |  ------------------
  |  | 1975|      5|        arg = *code++;                                  \
  |  | 1976|      5|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      5|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
 2321|      5|                GET_ARG; max = arg;
  ------------------
  |  | 1972|      5|    do {                                                \
  |  | 1973|      5|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      5|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      5|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 5]
  |  |  ------------------
  |  | 1975|      5|        arg = *code++;                                  \
  |  | 1976|      5|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      5|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
 2322|      5|                if (min > max)
  ------------------
  |  Branch (2322:21): [True: 0, False: 5]
  ------------------
 2323|      0|                    FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2324|      5|                if (max > SRE_MAXREPEAT)
  ------------------
  |  |   20|      5|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (2324:21): [True: 0, False: 5]
  ------------------
 2325|      0|                    FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2326|      5|                if (_validate_inner(code, code+skip-4, groups))
  ------------------
  |  Branch (2326:21): [True: 0, False: 5]
  ------------------
 2327|      0|                    FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2328|      5|                code += skip-4;
 2329|      5|                GET_OP;
  ------------------
  |  | 1965|      5|    do {                                                \
  |  | 1966|      5|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      5|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1967|      5|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1967:13): [True: 0, False: 5]
  |  |  ------------------
  |  | 1968|      5|        op = *code++;                                   \
  |  | 1969|      5|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1957|      5|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1970:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
 2330|      5|                if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|      5|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2330:21): [True: 0, False: 5]
  ------------------
 2331|      0|                    FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2332|      5|            }
 2333|      5|            break;
 2334|       |
 2335|      5|        case SRE_OP_REPEAT:
  ------------------
  |  |   38|      0|#define SRE_OP_REPEAT 23
  ------------------
  |  Branch (2335:9): [True: 0, False: 29]
  ------------------
 2336|      0|        case SRE_OP_POSSESSIVE_REPEAT:
  ------------------
  |  |   43|      0|#define SRE_OP_POSSESSIVE_REPEAT 28
  ------------------
  |  Branch (2336:9): [True: 0, False: 29]
  ------------------
 2337|      0|            {
 2338|      0|                SRE_CODE op1 = op, min, max;
  ------------------
  |  |   18|      0|#define SRE_CODE Py_UCS4
  ------------------
 2339|      0|                GET_SKIP;
  ------------------
  |  | 1989|      0|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1979|      0|    do {                                                \
  |  |  |  | 1980|      0|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1981|      0|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1981:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1982|      0|        skip = *code;                                   \
  |  |  |  | 1983|      0|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1984|      0|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1985|      0|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1985:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1986|      0|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1987|      0|        code++;                                         \
  |  |  |  | 1988|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1988:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2340|      0|                GET_ARG; min = arg;
  ------------------
  |  | 1972|      0|    do {                                                \
  |  | 1973|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1975|      0|        arg = *code++;                                  \
  |  | 1976|      0|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2341|      0|                GET_ARG; max = arg;
  ------------------
  |  | 1972|      0|    do {                                                \
  |  | 1973|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1975|      0|        arg = *code++;                                  \
  |  | 1976|      0|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2342|      0|                if (min > max)
  ------------------
  |  Branch (2342:21): [True: 0, False: 0]
  ------------------
 2343|      0|                    FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2344|      0|                if (max > SRE_MAXREPEAT)
  ------------------
  |  |   20|      0|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (2344:21): [True: 0, False: 0]
  ------------------
 2345|      0|                    FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2346|      0|                if (_validate_inner(code, code+skip-3, groups))
  ------------------
  |  Branch (2346:21): [True: 0, False: 0]
  ------------------
 2347|      0|                    FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2348|      0|                code += skip-3;
 2349|      0|                GET_OP;
  ------------------
  |  | 1965|      0|    do {                                                \
  |  | 1966|      0|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1967|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1967:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1968|      0|        op = *code++;                                   \
  |  | 1969|      0|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1970:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2350|      0|                if (op1 == SRE_OP_POSSESSIVE_REPEAT) {
  ------------------
  |  |   43|      0|#define SRE_OP_POSSESSIVE_REPEAT 28
  ------------------
  |  Branch (2350:21): [True: 0, False: 0]
  ------------------
 2351|      0|                    if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2351:25): [True: 0, False: 0]
  ------------------
 2352|      0|                        FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2353|      0|                }
 2354|      0|                else {
 2355|      0|                    if (op != SRE_OP_MAX_UNTIL && op != SRE_OP_MIN_UNTIL)
  ------------------
  |  |   33|      0|#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 (2355:25): [True: 0, False: 0]
  |  Branch (2355:51): [True: 0, False: 0]
  ------------------
 2356|      0|                        FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2357|      0|                }
 2358|      0|            }
 2359|      0|            break;
 2360|       |
 2361|      0|        case SRE_OP_ATOMIC_GROUP:
  ------------------
  |  |   42|      0|#define SRE_OP_ATOMIC_GROUP 27
  ------------------
  |  Branch (2361:9): [True: 0, False: 29]
  ------------------
 2362|      0|            {
 2363|      0|                GET_SKIP;
  ------------------
  |  | 1989|      0|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1979|      0|    do {                                                \
  |  |  |  | 1980|      0|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1981|      0|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1981:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1982|      0|        skip = *code;                                   \
  |  |  |  | 1983|      0|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1984|      0|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1985|      0|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1985:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1986|      0|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1987|      0|        code++;                                         \
  |  |  |  | 1988|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1988:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2364|      0|                if (_validate_inner(code, code+skip-2, groups))
  ------------------
  |  Branch (2364:21): [True: 0, False: 0]
  ------------------
 2365|      0|                    FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2366|      0|                code += skip-2;
 2367|      0|                GET_OP;
  ------------------
  |  | 1965|      0|    do {                                                \
  |  | 1966|      0|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1967|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1967:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1968|      0|        op = *code++;                                   \
  |  | 1969|      0|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1970:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2368|      0|                if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2368:21): [True: 0, False: 0]
  ------------------
 2369|      0|                    FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2370|      0|            }
 2371|      0|            break;
 2372|       |
 2373|      0|        case SRE_OP_GROUPREF:
  ------------------
  |  |   26|      0|#define SRE_OP_GROUPREF 11
  ------------------
  |  Branch (2373:9): [True: 0, False: 29]
  ------------------
 2374|      0|        case SRE_OP_GROUPREF_IGNORE:
  ------------------
  |  |   45|      0|#define SRE_OP_GROUPREF_IGNORE 30
  ------------------
  |  Branch (2374:9): [True: 0, False: 29]
  ------------------
 2375|      0|        case SRE_OP_GROUPREF_UNI_IGNORE:
  ------------------
  |  |   53|      0|#define SRE_OP_GROUPREF_UNI_IGNORE 38
  ------------------
  |  Branch (2375:9): [True: 0, False: 29]
  ------------------
 2376|      0|        case SRE_OP_GROUPREF_LOC_IGNORE:
  ------------------
  |  |   49|      0|#define SRE_OP_GROUPREF_LOC_IGNORE 34
  ------------------
  |  Branch (2376:9): [True: 0, False: 29]
  ------------------
 2377|      0|            GET_ARG;
  ------------------
  |  | 1972|      0|    do {                                                \
  |  | 1973|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1975|      0|        arg = *code++;                                  \
  |  | 1976|      0|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2378|      0|            if (arg >= (size_t)groups)
  ------------------
  |  Branch (2378:17): [True: 0, False: 0]
  ------------------
 2379|      0|                FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2380|      0|            break;
 2381|       |
 2382|      0|        case SRE_OP_GROUPREF_EXISTS:
  ------------------
  |  |   27|      0|#define SRE_OP_GROUPREF_EXISTS 12
  ------------------
  |  Branch (2382:9): [True: 0, False: 29]
  ------------------
 2383|       |            /* The regex syntax for this is: '(?(group)then|else)', where
 2384|       |               'group' is either an integer group number or a group name,
 2385|       |               'then' and 'else' are sub-regexes, and 'else' is optional. */
 2386|      0|            GET_ARG;
  ------------------
  |  | 1972|      0|    do {                                                \
  |  | 1973|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1975|      0|        arg = *code++;                                  \
  |  | 1976|      0|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2387|      0|            if (arg >= (size_t)groups)
  ------------------
  |  Branch (2387:17): [True: 0, False: 0]
  ------------------
 2388|      0|                FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2389|      0|            GET_SKIP_ADJ(1);
  ------------------
  |  | 1979|      0|    do {                                                \
  |  | 1980|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1981|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1981:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1982|      0|        skip = *code;                                   \
  |  | 1983|      0|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1984|      0|               (unsigned long)skip, code+skip));        \
  |  | 1985|      0|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  ------------------
  |  |  |  Branch (1985:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1986|      0|            FAIL;                                       \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1987|      0|        code++;                                         \
  |  | 1988|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1988:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2390|      0|            code--; /* The skip is relative to the first arg! */
 2391|       |            /* There are two possibilities here: if there is both a 'then'
 2392|       |               part and an 'else' part, the generated code looks like:
 2393|       |
 2394|       |               GROUPREF_EXISTS
 2395|       |               <group>
 2396|       |               <skipyes>
 2397|       |               ...then part...
 2398|       |               JUMP
 2399|       |               <skipno>
 2400|       |               (<skipyes> jumps here)
 2401|       |               ...else part...
 2402|       |               (<skipno> jumps here)
 2403|       |
 2404|       |               If there is only a 'then' part, it looks like:
 2405|       |
 2406|       |               GROUPREF_EXISTS
 2407|       |               <group>
 2408|       |               <skip>
 2409|       |               ...then part...
 2410|       |               (<skip> jumps here)
 2411|       |
 2412|       |               There is no direct way to decide which it is, and we don't want
 2413|       |               to allow arbitrary jumps anywhere in the code; so we just look
 2414|       |               for a JUMP opcode preceding our skip target.
 2415|       |            */
 2416|      0|            VTRACE(("then part:\n"));
  ------------------
  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2417|      0|            int rc = _validate_inner(code+1, code+skip-1, groups);
 2418|      0|            if (rc == 1) {
  ------------------
  |  Branch (2418:17): [True: 0, False: 0]
  ------------------
 2419|      0|                VTRACE(("else part:\n"));
  ------------------
  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2420|      0|                code += skip-2; /* Position after JUMP, at <skipno> */
 2421|      0|                GET_SKIP;
  ------------------
  |  | 1989|      0|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1979|      0|    do {                                                \
  |  |  |  | 1980|      0|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1981|      0|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1981:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1982|      0|        skip = *code;                                   \
  |  |  |  | 1983|      0|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1984|      0|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1985|      0|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1985:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1986|      0|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1987|      0|        code++;                                         \
  |  |  |  | 1988|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1988:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2422|      0|                rc = _validate_inner(code, code+skip-1, groups);
 2423|      0|            }
 2424|      0|            if (rc)
  ------------------
  |  Branch (2424:17): [True: 0, False: 0]
  ------------------
 2425|      0|                FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2426|      0|            code += skip-1;
 2427|      0|            break;
 2428|       |
 2429|      0|        case SRE_OP_ASSERT:
  ------------------
  |  |   19|      0|#define SRE_OP_ASSERT 4
  ------------------
  |  Branch (2429:9): [True: 0, False: 29]
  ------------------
 2430|      0|        case SRE_OP_ASSERT_NOT:
  ------------------
  |  |   20|      0|#define SRE_OP_ASSERT_NOT 5
  ------------------
  |  Branch (2430:9): [True: 0, False: 29]
  ------------------
 2431|      0|            GET_SKIP;
  ------------------
  |  | 1989|      0|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1979|      0|    do {                                                \
  |  |  |  | 1980|      0|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1981|      0|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1981:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1982|      0|        skip = *code;                                   \
  |  |  |  | 1983|      0|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1984|      0|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1985|      0|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1985:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1986|      0|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1987|      0|        code++;                                         \
  |  |  |  | 1988|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1988:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2432|      0|            GET_ARG; /* 0 for lookahead, width for lookbehind */
  ------------------
  |  | 1972|      0|    do {                                                \
  |  | 1973|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1975|      0|        arg = *code++;                                  \
  |  | 1976|      0|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2433|      0|            code--; /* Back up over arg to simplify math below */
 2434|       |            /* Stop 1 before the end; we check the SUCCESS below */
 2435|      0|            if (_validate_inner(code+1, code+skip-2, groups))
  ------------------
  |  Branch (2435:17): [True: 0, False: 0]
  ------------------
 2436|      0|                FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2437|      0|            code += skip-2;
 2438|      0|            GET_OP;
  ------------------
  |  | 1965|      0|    do {                                                \
  |  | 1966|      0|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1967|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1967:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1968|      0|        op = *code++;                                   \
  |  | 1969|      0|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1970:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2439|      0|            if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2439:17): [True: 0, False: 0]
  ------------------
 2440|      0|                FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2441|      0|            break;
 2442|       |
 2443|      0|        case SRE_OP_JUMP:
  ------------------
  |  |   30|      0|#define SRE_OP_JUMP 15
  ------------------
  |  Branch (2443:9): [True: 0, False: 29]
  ------------------
 2444|      0|            if (code + 1 != end)
  ------------------
  |  Branch (2444:17): [True: 0, False: 0]
  ------------------
 2445|      0|                FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2446|      0|            VTRACE(("JUMP: %d\n", __LINE__));
  ------------------
  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2447|      0|            return 1;
 2448|       |
 2449|      0|        default:
  ------------------
  |  Branch (2449:9): [True: 0, False: 29]
  ------------------
 2450|      0|            FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2451|       |
 2452|     29|        }
 2453|     29|    }
 2454|       |
 2455|     11|    VTRACE(("okay\n"));
  ------------------
  |  | 1957|     11|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1957:31): [Folded, False: 11]
  |  |  ------------------
  ------------------
 2456|     11|    return 0;
 2457|     11|}
sre.c:_validate_category:
 1993|      1|{
 1994|      1|    switch (arg) {
 1995|      0|    case SRE_CATEGORY_DIGIT:
  ------------------
  |  |   70|      0|#define SRE_CATEGORY_DIGIT 0
  ------------------
  |  Branch (1995:5): [True: 0, False: 1]
  ------------------
 1996|      0|    case SRE_CATEGORY_NOT_DIGIT:
  ------------------
  |  |   71|      0|#define SRE_CATEGORY_NOT_DIGIT 1
  ------------------
  |  Branch (1996:5): [True: 0, False: 1]
  ------------------
 1997|      0|    case SRE_CATEGORY_SPACE:
  ------------------
  |  |   72|      0|#define SRE_CATEGORY_SPACE 2
  ------------------
  |  Branch (1997:5): [True: 0, False: 1]
  ------------------
 1998|      0|    case SRE_CATEGORY_NOT_SPACE:
  ------------------
  |  |   73|      0|#define SRE_CATEGORY_NOT_SPACE 3
  ------------------
  |  Branch (1998:5): [True: 0, False: 1]
  ------------------
 1999|      1|    case SRE_CATEGORY_WORD:
  ------------------
  |  |   74|      1|#define SRE_CATEGORY_WORD 4
  ------------------
  |  Branch (1999:5): [True: 1, False: 0]
  ------------------
 2000|      1|    case SRE_CATEGORY_NOT_WORD:
  ------------------
  |  |   75|      1|#define SRE_CATEGORY_NOT_WORD 5
  ------------------
  |  Branch (2000:5): [True: 0, False: 1]
  ------------------
 2001|      1|    case SRE_CATEGORY_LINEBREAK:
  ------------------
  |  |   76|      1|#define SRE_CATEGORY_LINEBREAK 6
  ------------------
  |  Branch (2001:5): [True: 0, False: 1]
  ------------------
 2002|      1|    case SRE_CATEGORY_NOT_LINEBREAK:
  ------------------
  |  |   77|      1|#define SRE_CATEGORY_NOT_LINEBREAK 7
  ------------------
  |  Branch (2002:5): [True: 0, False: 1]
  ------------------
 2003|      1|    case SRE_CATEGORY_LOC_WORD:
  ------------------
  |  |   78|      1|#define SRE_CATEGORY_LOC_WORD 8
  ------------------
  |  Branch (2003:5): [True: 0, False: 1]
  ------------------
 2004|      1|    case SRE_CATEGORY_LOC_NOT_WORD:
  ------------------
  |  |   79|      1|#define SRE_CATEGORY_LOC_NOT_WORD 9
  ------------------
  |  Branch (2004:5): [True: 0, False: 1]
  ------------------
 2005|      1|    case SRE_CATEGORY_UNI_DIGIT:
  ------------------
  |  |   80|      1|#define SRE_CATEGORY_UNI_DIGIT 10
  ------------------
  |  Branch (2005:5): [True: 0, False: 1]
  ------------------
 2006|      1|    case SRE_CATEGORY_UNI_NOT_DIGIT:
  ------------------
  |  |   81|      1|#define SRE_CATEGORY_UNI_NOT_DIGIT 11
  ------------------
  |  Branch (2006:5): [True: 0, False: 1]
  ------------------
 2007|      1|    case SRE_CATEGORY_UNI_SPACE:
  ------------------
  |  |   82|      1|#define SRE_CATEGORY_UNI_SPACE 12
  ------------------
  |  Branch (2007:5): [True: 0, False: 1]
  ------------------
 2008|      1|    case SRE_CATEGORY_UNI_NOT_SPACE:
  ------------------
  |  |   83|      1|#define SRE_CATEGORY_UNI_NOT_SPACE 13
  ------------------
  |  Branch (2008:5): [True: 0, False: 1]
  ------------------
 2009|      1|    case SRE_CATEGORY_UNI_WORD:
  ------------------
  |  |   84|      1|#define SRE_CATEGORY_UNI_WORD 14
  ------------------
  |  Branch (2009:5): [True: 0, False: 1]
  ------------------
 2010|      1|    case SRE_CATEGORY_UNI_NOT_WORD:
  ------------------
  |  |   85|      1|#define SRE_CATEGORY_UNI_NOT_WORD 15
  ------------------
  |  Branch (2010:5): [True: 0, False: 1]
  ------------------
 2011|      1|    case SRE_CATEGORY_UNI_LINEBREAK:
  ------------------
  |  |   86|      1|#define SRE_CATEGORY_UNI_LINEBREAK 16
  ------------------
  |  Branch (2011:5): [True: 0, False: 1]
  ------------------
 2012|      1|    case SRE_CATEGORY_UNI_NOT_LINEBREAK:
  ------------------
  |  |   87|      1|#define SRE_CATEGORY_UNI_NOT_LINEBREAK 17
  ------------------
  |  Branch (2012:5): [True: 0, False: 1]
  ------------------
 2013|      1|    case SRE_CATEGORY_ALPHA:
  ------------------
  |  |   88|      1|#define SRE_CATEGORY_ALPHA 18
  ------------------
  |  Branch (2013:5): [True: 0, False: 1]
  ------------------
 2014|      1|    case SRE_CATEGORY_NOT_ALPHA:
  ------------------
  |  |   89|      1|#define SRE_CATEGORY_NOT_ALPHA 19
  ------------------
  |  Branch (2014:5): [True: 0, False: 1]
  ------------------
 2015|      1|    case SRE_CATEGORY_LOWER:
  ------------------
  |  |   90|      1|#define SRE_CATEGORY_LOWER 20
  ------------------
  |  Branch (2015:5): [True: 0, False: 1]
  ------------------
 2016|      1|    case SRE_CATEGORY_NOT_LOWER:
  ------------------
  |  |   91|      1|#define SRE_CATEGORY_NOT_LOWER 21
  ------------------
  |  Branch (2016:5): [True: 0, False: 1]
  ------------------
 2017|      1|    case SRE_CATEGORY_UPPER:
  ------------------
  |  |   92|      1|#define SRE_CATEGORY_UPPER 22
  ------------------
  |  Branch (2017:5): [True: 0, False: 1]
  ------------------
 2018|      1|    case SRE_CATEGORY_NOT_UPPER:
  ------------------
  |  |   93|      1|#define SRE_CATEGORY_NOT_UPPER 23
  ------------------
  |  Branch (2018:5): [True: 0, False: 1]
  ------------------
 2019|      1|    case SRE_CATEGORY_NUMERIC:
  ------------------
  |  |   94|      1|#define SRE_CATEGORY_NUMERIC 24
  ------------------
  |  Branch (2019:5): [True: 0, False: 1]
  ------------------
 2020|      1|    case SRE_CATEGORY_NOT_NUMERIC:
  ------------------
  |  |   95|      1|#define SRE_CATEGORY_NOT_NUMERIC 25
  ------------------
  |  Branch (2020:5): [True: 0, False: 1]
  ------------------
 2021|      1|    case SRE_CATEGORY_PRINTABLE:
  ------------------
  |  |   96|      1|#define SRE_CATEGORY_PRINTABLE 26
  ------------------
  |  Branch (2021:5): [True: 0, False: 1]
  ------------------
 2022|      1|    case SRE_CATEGORY_NOT_PRINTABLE:
  ------------------
  |  |   97|      1|#define SRE_CATEGORY_NOT_PRINTABLE 27
  ------------------
  |  Branch (2022:5): [True: 0, False: 1]
  ------------------
 2023|      1|    case SRE_CATEGORY_ALNUM:
  ------------------
  |  |   98|      1|#define SRE_CATEGORY_ALNUM 28
  ------------------
  |  Branch (2023:5): [True: 0, False: 1]
  ------------------
 2024|      1|    case SRE_CATEGORY_NOT_ALNUM:
  ------------------
  |  |   99|      1|#define SRE_CATEGORY_NOT_ALNUM 29
  ------------------
  |  Branch (2024:5): [True: 0, False: 1]
  ------------------
 2025|      1|    case SRE_CATEGORY_XID_START:
  ------------------
  |  |  100|      1|#define SRE_CATEGORY_XID_START 30
  ------------------
  |  Branch (2025:5): [True: 0, False: 1]
  ------------------
 2026|      1|    case SRE_CATEGORY_NOT_XID_START:
  ------------------
  |  |  101|      1|#define SRE_CATEGORY_NOT_XID_START 31
  ------------------
  |  Branch (2026:5): [True: 0, False: 1]
  ------------------
 2027|      1|    case SRE_CATEGORY_XID_CONTINUE:
  ------------------
  |  |  102|      1|#define SRE_CATEGORY_XID_CONTINUE 32
  ------------------
  |  Branch (2027:5): [True: 0, False: 1]
  ------------------
 2028|      1|    case SRE_CATEGORY_NOT_XID_CONTINUE:
  ------------------
  |  |  103|      1|#define SRE_CATEGORY_NOT_XID_CONTINUE 33
  ------------------
  |  Branch (2028:5): [True: 0, False: 1]
  ------------------
 2029|      1|    case SRE_CATEGORY_TITLE:
  ------------------
  |  |  104|      1|#define SRE_CATEGORY_TITLE 34
  ------------------
  |  Branch (2029:5): [True: 0, False: 1]
  ------------------
 2030|      1|    case SRE_CATEGORY_NOT_TITLE:
  ------------------
  |  |  105|      1|#define SRE_CATEGORY_NOT_TITLE 35
  ------------------
  |  Branch (2030:5): [True: 0, False: 1]
  ------------------
 2031|      1|    case SRE_CATEGORY_CASED:
  ------------------
  |  |  106|      1|#define SRE_CATEGORY_CASED 36
  ------------------
  |  Branch (2031:5): [True: 0, False: 1]
  ------------------
 2032|      1|    case SRE_CATEGORY_NOT_CASED:
  ------------------
  |  |  107|      1|#define SRE_CATEGORY_NOT_CASED 37
  ------------------
  |  Branch (2032:5): [True: 0, False: 1]
  ------------------
 2033|      1|    case SRE_CATEGORY_CASE_IGNORABLE:
  ------------------
  |  |  108|      1|#define SRE_CATEGORY_CASE_IGNORABLE 38
  ------------------
  |  Branch (2033:5): [True: 0, False: 1]
  ------------------
 2034|      1|    case SRE_CATEGORY_NOT_CASE_IGNORABLE:
  ------------------
  |  |  109|      1|#define SRE_CATEGORY_NOT_CASE_IGNORABLE 39
  ------------------
  |  Branch (2034:5): [True: 0, False: 1]
  ------------------
 2035|      1|    case SRE_CATEGORY_LU:
  ------------------
  |  |  110|      1|#define SRE_CATEGORY_LU 40
  ------------------
  |  Branch (2035:5): [True: 0, False: 1]
  ------------------
 2036|      1|    case SRE_CATEGORY_NOT_LU:
  ------------------
  |  |  111|      1|#define SRE_CATEGORY_NOT_LU 41
  ------------------
  |  Branch (2036:5): [True: 0, False: 1]
  ------------------
 2037|      1|    case SRE_CATEGORY_N:
  ------------------
  |  |  112|      1|#define SRE_CATEGORY_N 42
  ------------------
  |  Branch (2037:5): [True: 0, False: 1]
  ------------------
 2038|      1|    case SRE_CATEGORY_NOT_N:
  ------------------
  |  |  113|      1|#define SRE_CATEGORY_NOT_N 43
  ------------------
  |  Branch (2038:5): [True: 0, False: 1]
  ------------------
 2039|      1|    case SRE_CATEGORY_LM:
  ------------------
  |  |  114|      1|#define SRE_CATEGORY_LM 44
  ------------------
  |  Branch (2039:5): [True: 0, False: 1]
  ------------------
 2040|      1|    case SRE_CATEGORY_NOT_LM:
  ------------------
  |  |  115|      1|#define SRE_CATEGORY_NOT_LM 45
  ------------------
  |  Branch (2040:5): [True: 0, False: 1]
  ------------------
 2041|      1|    case SRE_CATEGORY_NL:
  ------------------
  |  |  116|      1|#define SRE_CATEGORY_NL 46
  ------------------
  |  Branch (2041:5): [True: 0, False: 1]
  ------------------
 2042|      1|    case SRE_CATEGORY_NOT_NL:
  ------------------
  |  |  117|      1|#define SRE_CATEGORY_NOT_NL 47
  ------------------
  |  Branch (2042:5): [True: 0, False: 1]
  ------------------
 2043|      1|    case SRE_CATEGORY_NO:
  ------------------
  |  |  118|      1|#define SRE_CATEGORY_NO 48
  ------------------
  |  Branch (2043:5): [True: 0, False: 1]
  ------------------
 2044|      1|    case SRE_CATEGORY_NOT_NO:
  ------------------
  |  |  119|      1|#define SRE_CATEGORY_NOT_NO 49
  ------------------
  |  Branch (2044:5): [True: 0, False: 1]
  ------------------
 2045|      1|    case SRE_CATEGORY_CF:
  ------------------
  |  |  120|      1|#define SRE_CATEGORY_CF 50
  ------------------
  |  Branch (2045:5): [True: 0, False: 1]
  ------------------
 2046|      1|    case SRE_CATEGORY_NOT_CF:
  ------------------
  |  |  121|      1|#define SRE_CATEGORY_NOT_CF 51
  ------------------
  |  Branch (2046:5): [True: 0, False: 1]
  ------------------
 2047|      1|    case SRE_CATEGORY_Z:
  ------------------
  |  |  122|      1|#define SRE_CATEGORY_Z 52
  ------------------
  |  Branch (2047:5): [True: 0, False: 1]
  ------------------
 2048|      1|    case SRE_CATEGORY_NOT_Z:
  ------------------
  |  |  123|      1|#define SRE_CATEGORY_NOT_Z 53
  ------------------
  |  Branch (2048:5): [True: 0, False: 1]
  ------------------
 2049|      1|    case SRE_CATEGORY_ZS:
  ------------------
  |  |  124|      1|#define SRE_CATEGORY_ZS 54
  ------------------
  |  Branch (2049:5): [True: 0, False: 1]
  ------------------
 2050|      1|    case SRE_CATEGORY_NOT_ZS:
  ------------------
  |  |  125|      1|#define SRE_CATEGORY_NOT_ZS 55
  ------------------
  |  Branch (2050:5): [True: 0, False: 1]
  ------------------
 2051|      1|    case SRE_CATEGORY_C:
  ------------------
  |  |  126|      1|#define SRE_CATEGORY_C 56
  ------------------
  |  Branch (2051:5): [True: 0, False: 1]
  ------------------
 2052|      1|    case SRE_CATEGORY_NOT_C:
  ------------------
  |  |  127|      1|#define SRE_CATEGORY_NOT_C 57
  ------------------
  |  Branch (2052:5): [True: 0, False: 1]
  ------------------
 2053|      1|    case SRE_CATEGORY_CN:
  ------------------
  |  |  128|      1|#define SRE_CATEGORY_CN 58
  ------------------
  |  Branch (2053:5): [True: 0, False: 1]
  ------------------
 2054|      1|    case SRE_CATEGORY_NOT_CN:
  ------------------
  |  |  129|      1|#define SRE_CATEGORY_NOT_CN 59
  ------------------
  |  Branch (2054:5): [True: 0, False: 1]
  ------------------
 2055|      1|    case SRE_CATEGORY_ASSIGNED:
  ------------------
  |  |  130|      1|#define SRE_CATEGORY_ASSIGNED 60
  ------------------
  |  Branch (2055:5): [True: 0, False: 1]
  ------------------
 2056|      1|    case SRE_CATEGORY_NOT_ASSIGNED:
  ------------------
  |  |  131|      1|#define SRE_CATEGORY_NOT_ASSIGNED 61
  ------------------
  |  Branch (2056:5): [True: 0, False: 1]
  ------------------
 2057|      1|    case SRE_CATEGORY_BLANK:
  ------------------
  |  |  132|      1|#define SRE_CATEGORY_BLANK 62
  ------------------
  |  Branch (2057:5): [True: 0, False: 1]
  ------------------
 2058|      1|    case SRE_CATEGORY_NOT_BLANK:
  ------------------
  |  |  133|      1|#define SRE_CATEGORY_NOT_BLANK 63
  ------------------
  |  Branch (2058:5): [True: 0, False: 1]
  ------------------
 2059|      1|    case SRE_CATEGORY_GRAPH:
  ------------------
  |  |  134|      1|#define SRE_CATEGORY_GRAPH 64
  ------------------
  |  Branch (2059:5): [True: 0, False: 1]
  ------------------
 2060|      1|    case SRE_CATEGORY_NOT_GRAPH:
  ------------------
  |  |  135|      1|#define SRE_CATEGORY_NOT_GRAPH 65
  ------------------
  |  Branch (2060:5): [True: 0, False: 1]
  ------------------
 2061|      1|    case SRE_CATEGORY_PRINT:
  ------------------
  |  |  136|      1|#define SRE_CATEGORY_PRINT 66
  ------------------
  |  Branch (2061:5): [True: 0, False: 1]
  ------------------
 2062|      1|    case SRE_CATEGORY_NOT_PRINT:
  ------------------
  |  |  137|      1|#define SRE_CATEGORY_NOT_PRINT 67
  ------------------
  |  Branch (2062:5): [True: 0, False: 1]
  ------------------
 2063|      1|        return 1;
 2064|      0|    default:
  ------------------
  |  Branch (2064:5): [True: 0, False: 1]
  ------------------
 2065|      0|        return 0;
 2066|      1|    }
 2067|      1|}
sre.c:_validate_charset:
 2071|      6|{
 2072|       |    /* Some variables are manipulated by the macros above */
 2073|      6|    SRE_CODE op;
  ------------------
  |  |   18|      6|#define SRE_CODE Py_UCS4
  ------------------
 2074|      6|    SRE_CODE arg;
  ------------------
  |  |   18|      6|#define SRE_CODE Py_UCS4
  ------------------
 2075|      6|    SRE_CODE offset;
  ------------------
  |  |   18|      6|#define SRE_CODE Py_UCS4
  ------------------
 2076|      6|    int i;
 2077|       |
 2078|     15|    while (code < end) {
  ------------------
  |  Branch (2078:12): [True: 9, False: 6]
  ------------------
 2079|      9|        GET_OP;
  ------------------
  |  | 1965|      9|    do {                                                \
  |  | 1966|      9|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1967|      9|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1967:13): [True: 0, False: 9]
  |  |  ------------------
  |  | 1968|      9|        op = *code++;                                   \
  |  | 1969|      9|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1957|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1970:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 2080|      9|        switch (op) {
 2081|       |
 2082|      0|        case SRE_OP_NEGATE:
  ------------------
  |  |   36|      0|#define SRE_OP_NEGATE 21
  ------------------
  |  Branch (2082:9): [True: 0, False: 9]
  ------------------
 2083|      0|            break;
 2084|       |
 2085|      4|        case SRE_OP_LITERAL:
  ------------------
  |  |   31|      4|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (2085:9): [True: 4, False: 5]
  ------------------
 2086|      4|            GET_ARG;
  ------------------
  |  | 1972|      4|    do {                                                \
  |  | 1973|      4|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      4|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 1975|      4|        arg = *code++;                                  \
  |  | 1976|      4|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 2087|      4|            break;
 2088|       |
 2089|      4|        case SRE_OP_RANGE:
  ------------------
  |  |   37|      1|#define SRE_OP_RANGE 22
  ------------------
  |  Branch (2089:9): [True: 1, False: 8]
  ------------------
 2090|      1|        case SRE_OP_RANGE_UNI_IGNORE:
  ------------------
  |  |   57|      1|#define SRE_OP_RANGE_UNI_IGNORE 42
  ------------------
  |  Branch (2090:9): [True: 0, False: 9]
  ------------------
 2091|      1|            GET_ARG;
  ------------------
  |  | 1972|      1|    do {                                                \
  |  | 1973|      1|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      1|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      1|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1975|      1|        arg = *code++;                                  \
  |  | 1976|      1|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      1|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2092|      1|            GET_ARG;
  ------------------
  |  | 1972|      1|    do {                                                \
  |  | 1973|      1|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      1|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      1|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1975|      1|        arg = *code++;                                  \
  |  | 1976|      1|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      1|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2093|      1|            break;
 2094|       |
 2095|      3|        case SRE_OP_CHARSET:
  ------------------
  |  |   24|      3|#define SRE_OP_CHARSET 9
  ------------------
  |  Branch (2095:9): [True: 3, False: 6]
  ------------------
 2096|      3|            offset = 256/SRE_CODE_BITS; /* 256-bit bitmap */
  ------------------
  |  |   56|      3|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
 2097|      3|            if (offset > (uintptr_t)(end - code))
  ------------------
  |  Branch (2097:17): [True: 0, False: 3]
  ------------------
 2098|      0|                FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2099|      3|            code += offset;
 2100|      3|            break;
 2101|       |
 2102|      0|        case SRE_OP_BIGCHARSET:
  ------------------
  |  |   25|      0|#define SRE_OP_BIGCHARSET 10
  ------------------
  |  Branch (2102:9): [True: 0, False: 9]
  ------------------
 2103|      0|            GET_ARG; /* Number of blocks */
  ------------------
  |  | 1972|      0|    do {                                                \
  |  | 1973|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1975|      0|        arg = *code++;                                  \
  |  | 1976|      0|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2104|      0|            offset = 256/sizeof(SRE_CODE); /* 256-byte table */
 2105|      0|            if (offset > (uintptr_t)(end - code))
  ------------------
  |  Branch (2105:17): [True: 0, False: 0]
  ------------------
 2106|      0|                FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2107|       |            /* Make sure that each byte points to a valid block */
 2108|      0|            for (i = 0; i < 256; i++) {
  ------------------
  |  Branch (2108:25): [True: 0, False: 0]
  ------------------
 2109|      0|                if (((unsigned char *)code)[i] >= arg)
  ------------------
  |  Branch (2109:21): [True: 0, False: 0]
  ------------------
 2110|      0|                    FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2111|      0|            }
 2112|      0|            code += offset;
 2113|      0|            offset = arg * (256/SRE_CODE_BITS); /* 256-bit bitmap times arg */
  ------------------
  |  |   56|      0|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
 2114|      0|            if (offset > (uintptr_t)(end - code))
  ------------------
  |  Branch (2114:17): [True: 0, False: 0]
  ------------------
 2115|      0|                FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2116|      0|            code += offset;
 2117|      0|            break;
 2118|       |
 2119|      1|        case SRE_OP_CATEGORY:
  ------------------
  |  |   23|      1|#define SRE_OP_CATEGORY 8
  ------------------
  |  Branch (2119:9): [True: 1, False: 8]
  ------------------
 2120|      1|            GET_ARG;
  ------------------
  |  | 1972|      1|    do {                                                \
  |  | 1973|      1|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      1|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      1|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1975|      1|        arg = *code++;                                  \
  |  | 1976|      1|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      1|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2121|      1|            if (!_validate_category(arg)) {
  ------------------
  |  Branch (2121:17): [True: 0, False: 1]
  ------------------
 2122|      0|                FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2123|      0|            }
 2124|      1|            break;
 2125|       |
 2126|      1|        default:
  ------------------
  |  Branch (2126:9): [True: 0, False: 9]
  ------------------
 2127|      0|            FAIL;
  ------------------
  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2128|       |
 2129|      9|        }
 2130|      9|    }
 2131|       |
 2132|      6|    return 0;
 2133|      6|}
sre.c:sre_exec:
 3644|      1|{
 3645|      1|    _sremodulestate *state;
 3646|       |
 3647|       |#ifdef Py_DEBUG
 3648|       |    _assert_match_aliases_prefixmatch(pattern_methods);
 3649|       |    _assert_match_aliases_prefixmatch(scanner_methods);
 3650|       |#endif
 3651|       |
 3652|       |    /* Create heap types */
 3653|      1|    state = get_sre_module_state(m);
 3654|      1|    CREATE_TYPE(m, state->Pattern_Type, &pattern_spec);
  ------------------
  |  | 3612|      1|#define CREATE_TYPE(m, type, spec)                                  \
  |  | 3613|      1|do {                                                                \
  |  | 3614|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(m, spec, NULL); \
  |  | 3615|      1|    if (type == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (3615:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 3616|      0|        goto error;                                                 \
  |  | 3617|      0|    }                                                               \
  |  | 3618|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (3618:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3655|      1|    CREATE_TYPE(m, state->Match_Type, &match_spec);
  ------------------
  |  | 3612|      1|#define CREATE_TYPE(m, type, spec)                                  \
  |  | 3613|      1|do {                                                                \
  |  | 3614|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(m, spec, NULL); \
  |  | 3615|      1|    if (type == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (3615:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 3616|      0|        goto error;                                                 \
  |  | 3617|      0|    }                                                               \
  |  | 3618|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (3618:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3656|      1|    CREATE_TYPE(m, state->Scanner_Type, &scanner_spec);
  ------------------
  |  | 3612|      1|#define CREATE_TYPE(m, type, spec)                                  \
  |  | 3613|      1|do {                                                                \
  |  | 3614|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(m, spec, NULL); \
  |  | 3615|      1|    if (type == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (3615:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 3616|      0|        goto error;                                                 \
  |  | 3617|      0|    }                                                               \
  |  | 3618|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (3618:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3657|      1|    CREATE_TYPE(m, state->Template_Type, &template_spec);
  ------------------
  |  | 3612|      1|#define CREATE_TYPE(m, type, spec)                                  \
  |  | 3613|      1|do {                                                                \
  |  | 3614|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(m, spec, NULL); \
  |  | 3615|      1|    if (type == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (3615:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 3616|      0|        goto error;                                                 \
  |  | 3617|      0|    }                                                               \
  |  | 3618|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (3618:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3658|       |
 3659|      1|    if (PyModule_AddIntConstant(m, "MAGIC", SRE_MAGIC) < 0) {
  ------------------
  |  |   14|      1|#define SRE_MAGIC 20260622
  ------------------
  |  Branch (3659:9): [True: 0, False: 1]
  ------------------
 3660|      0|        goto error;
 3661|      0|    }
 3662|       |
 3663|      1|    if (PyModule_AddIntConstant(m, "CODESIZE", sizeof(SRE_CODE)) < 0) {
  ------------------
  |  Branch (3663:9): [True: 0, False: 1]
  ------------------
 3664|      0|        goto error;
 3665|      0|    }
 3666|       |
 3667|      1|    ADD_ULONG_CONSTANT(m, "MAXREPEAT", SRE_MAXREPEAT);
  ------------------
  |  | 3621|      1|    do {                                                  \
  |  | 3622|      1|        if (PyModule_Add(module, name, PyLong_FromUnsignedLong(value)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (3622:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 3623|      0|            goto error;                                   \
  |  | 3624|      0|        }                                                 \
  |  | 3625|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (3625:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3668|      1|    ADD_ULONG_CONSTANT(m, "MAXGROUPS", SRE_MAXGROUPS);
  ------------------
  |  | 3621|      1|    do {                                                  \
  |  | 3622|      1|        if (PyModule_Add(module, name, PyLong_FromUnsignedLong(value)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (3622:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 3623|      0|            goto error;                                   \
  |  | 3624|      0|        }                                                 \
  |  | 3625|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (3625:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3669|       |
 3670|      1|    if (PyModule_AddStringConstant(m, "copyright", copyright) < 0) {
  ------------------
  |  Branch (3670:9): [True: 0, False: 1]
  ------------------
 3671|      0|        goto error;
 3672|      0|    }
 3673|       |
 3674|      1|    return 0;
 3675|       |
 3676|      0|error:
 3677|      0|    return -1;
 3678|      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:
  942|      1|{
  943|      1|    _sremodulestate *module_state = get_sre_module_state_by_class(cls);
  ------------------
  |  |  540|      1|    (get_sre_module_state(PyType_GetModule(cls)))
  ------------------
  944|      1|    SRE_STATE state;
  945|      1|    Py_ssize_t status;
  946|      1|    PyObject *match;
  947|       |
  948|      1|    if (!state_init(&state, self, string, pos, endpos))
  ------------------
  |  Branch (948:9): [True: 0, False: 1]
  ------------------
  949|      0|        return NULL;
  950|       |
  951|      1|    INIT_TRACE(&state);
  952|      1|    state.ptr = state.start;
  953|       |
  954|      1|    TRACE(("|%p|%p|MATCH\n", PatternObject_GetCode(self), state.ptr));
  955|       |
  956|      1|    status = sre_match(&state, PatternObject_GetCode(self));
  ------------------
  |  |   47|      1|#define PatternObject_GetCode(o) (((PatternObject*)(o))->code)
  ------------------
  957|       |
  958|      1|    TRACE(("|%p|%p|END\n", PatternObject_GetCode(self), state.ptr));
  959|      1|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (959:9): [True: 0, False: 1]
  ------------------
  960|      0|        state_fini(&state);
  961|      0|        return NULL;
  962|      0|    }
  963|       |
  964|      1|    match = pattern_new_match(module_state, self, &state, status);
  965|      1|    state_fini(&state);
  966|      1|    return match;
  967|      1|}
sre.c:state_init:
  687|      1|{
  688|       |    /* prepare state object */
  689|       |
  690|      1|    Py_ssize_t length;
  691|      1|    int isbytes, charsize;
  692|      1|    const void* ptr;
  693|       |
  694|      1|    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|      1|    if (pattern->groups) {
  ------------------
  |  Branch (700:9): [True: 0, False: 1]
  ------------------
  701|      0|        state->mark = PyMem_New(const void *, pattern->groups * 2);
  ------------------
  |  |   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)) ) )
  ------------------
  702|      0|        if (!state->mark) {
  ------------------
  |  Branch (702:13): [True: 0, False: 0]
  ------------------
  703|      0|            PyErr_NoMemory();
  704|      0|            goto err;
  705|      0|        }
  706|      0|    }
  707|      1|    state->lastmark = -1;
  708|      1|    state->lastindex = -1;
  709|       |
  710|      1|    state->buffer.buf = NULL;
  711|      1|    ptr = getstring(string, &length, &isbytes, &charsize, &state->buffer);
  712|      1|    if (!ptr)
  ------------------
  |  Branch (712:9): [True: 0, False: 1]
  ------------------
  713|      0|        goto err;
  714|       |
  715|      1|    if (isbytes && pattern->isbytes == 0) {
  ------------------
  |  Branch (715:9): [True: 0, False: 1]
  |  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|      1|    if (!isbytes && pattern->isbytes > 0) {
  ------------------
  |  Branch (720:9): [True: 1, False: 0]
  |  Branch (720:21): [True: 0, False: 1]
  ------------------
  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|      1|    if (start < 0)
  ------------------
  |  Branch (727:9): [True: 0, False: 1]
  ------------------
  728|      0|        start = 0;
  729|      1|    else if (start > length)
  ------------------
  |  Branch (729:14): [True: 0, False: 1]
  ------------------
  730|      0|        start = length;
  731|       |
  732|      1|    if (end < 0)
  ------------------
  |  Branch (732:9): [True: 0, False: 1]
  ------------------
  733|      0|        end = 0;
  734|      1|    else if (end > length)
  ------------------
  |  Branch (734:14): [True: 1, False: 0]
  ------------------
  735|      1|        end = length;
  736|       |
  737|      1|    state->isbytes = isbytes;
  738|      1|    state->charsize = charsize;
  739|      1|    state->match_all = 0;
  740|      1|    state->must_advance = 0;
  741|      1|    state->save_marks = 0;
  742|      1|    state->debug = ((pattern->flags & SRE_FLAG_DEBUG) != 0);
  ------------------
  |  |  144|      1|#define SRE_FLAG_DEBUG 128
  ------------------
  743|       |
  744|      1|    state->beginning = ptr;
  745|       |
  746|      1|    state->start = (void*) ((char*) ptr + start * state->charsize);
  747|      1|    state->end = (void*) ((char*) ptr + end * state->charsize);
  748|       |
  749|      1|    state->string = Py_NewRef(string);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  750|      1|    state->pos = start;
  751|      1|    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|      1|    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|      1|}
sre.c:sre_match:
  901|      1|{
  902|       |    /* No match if pos > endpos. */
  903|      1|    if (state->ptr > state->end) {
  ------------------
  |  Branch (903:9): [True: 0, False: 1]
  ------------------
  904|      0|        return 0;
  905|      0|    }
  906|      1|    if (state->charsize == 1)
  ------------------
  |  Branch (906:9): [True: 1, False: 0]
  ------------------
  907|      1|        return sre_ucs1_match(state, pattern, 1);
  908|      0|    if (state->charsize == 2)
  ------------------
  |  Branch (908:9): [True: 0, False: 0]
  ------------------
  909|      0|        return sre_ucs2_match(state, pattern, 1);
  910|      0|    assert(state->charsize == 4);
  ------------------
  |  Branch (910:5): [True: 0, False: 0]
  ------------------
  911|      0|    return sre_ucs4_match(state, pattern, 1);
  912|      0|}
sre.c:data_stack_grow:
  398|      1|{
  399|      1|    INIT_TRACE(state);
  400|      1|    Py_ssize_t minsize, cursize;
  401|      1|    minsize = state->data_stack_base+size;
  402|      1|    cursize = state->data_stack_size;
  403|      1|    if (cursize < minsize) {
  ------------------
  |  Branch (403:9): [True: 1, False: 0]
  ------------------
  404|      1|        void* stack;
  405|      1|        cursize = minsize+minsize/4+1024;
  406|      1|        TRACE(("allocate/grow stack %zd\n", cursize));
  407|      1|        stack = PyMem_Realloc(state->data_stack, cursize);
  408|      1|        if (!stack) {
  ------------------
  |  Branch (408:13): [True: 0, False: 1]
  ------------------
  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|      1|        state->data_stack = (char *)stack;
  413|      1|        state->data_stack_size = cursize;
  414|      1|    }
  415|      1|    return 0;
  416|      1|}
sre.c:data_stack_dealloc:
  388|      1|{
  389|      1|    if (state->data_stack) {
  ------------------
  |  Branch (389:9): [True: 1, False: 0]
  ------------------
  390|      1|        PyMem_Free(state->data_stack);
  391|       |        state->data_stack = NULL;
  392|      1|    }
  393|      1|    state->data_stack_size = state->data_stack_base = 0;
  394|      1|}
sre.c:state_fini:
  772|      1|{
  773|      1|    if (state->buffer.buf)
  ------------------
  |  Branch (773:9): [True: 0, False: 1]
  ------------------
  774|      0|        PyBuffer_Release(&state->buffer);
  775|      1|    Py_XDECREF(state->string);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  776|      1|    data_stack_dealloc(state);
  777|       |    /* See above PyMem_Free() for why we explicitly cast here. */
  778|      1|    PyMem_Free((void*) state->mark);
  779|      1|    state->mark = NULL;
  780|       |    /* SRE_REPEAT pool */
  781|      1|    repeat_pool_clear(state);
  782|      1|}
sre.c:repeat_pool_clear:
  477|      1|{
  478|       |    /* clear used pool */
  479|      1|    SRE_REPEAT *next = state->repeat_pool_used;
  480|      1|    state->repeat_pool_used = NULL;
  481|      1|    while (next) {
  ------------------
  |  Branch (481:12): [True: 0, False: 1]
  ------------------
  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|      1|    next = state->repeat_pool_unused;
  489|      1|    state->repeat_pool_unused = NULL;
  490|      1|    while (next) {
  ------------------
  |  Branch (490:12): [True: 0, False: 1]
  ------------------
  491|      0|        SRE_REPEAT *temp = next;
  492|      0|        next = temp->pool_next;
  493|      0|        PyMem_Free(temp);
  494|      0|    }
  495|      1|}
sre.c:pattern_new_match:
 2946|      1|{
 2947|       |    /* create match object (from state object) */
 2948|       |
 2949|      1|    MatchObject* match;
 2950|      1|    Py_ssize_t i, j;
 2951|      1|    char* base;
 2952|      1|    int n;
 2953|       |
 2954|      1|    if (status > 0) {
  ------------------
  |  Branch (2954:9): [True: 1, False: 0]
  ------------------
 2955|       |
 2956|       |        /* create match object (with room for extra group marks) */
 2957|       |        /* coverity[ampersand_in_size] */
 2958|      1|        match = PyObject_GC_NewVar(MatchObject,
  ------------------
  |  |  183|      1|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2959|      1|                                   module_state->Match_Type,
 2960|      1|                                   2*(pattern->groups+1));
 2961|      1|        if (!match)
  ------------------
  |  Branch (2961:13): [True: 0, False: 1]
  ------------------
 2962|      0|            return NULL;
 2963|       |
 2964|      1|        Py_INCREF(pattern);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2965|      1|        match->pattern = pattern;
 2966|       |
 2967|      1|        match->string = Py_NewRef(state->string);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2968|       |
 2969|      1|        match->regs = NULL;
 2970|      1|        match->groups = pattern->groups+1;
 2971|       |
 2972|       |        /* fill in group slices */
 2973|       |
 2974|      1|        base = (char*) state->beginning;
 2975|      1|        n = state->charsize;
 2976|       |
 2977|      1|        match->mark[0] = ((char*) state->start - base) / n;
 2978|      1|        match->mark[1] = ((char*) state->ptr - base) / n;
 2979|       |
 2980|      1|        for (i = j = 0; i < pattern->groups; i++, j+=2)
  ------------------
  |  Branch (2980:25): [True: 0, False: 1]
  ------------------
 2981|      0|            if (j+1 <= state->lastmark && state->mark[j] && state->mark[j+1]) {
  ------------------
  |  Branch (2981:17): [True: 0, False: 0]
  |  Branch (2981:43): [True: 0, False: 0]
  |  Branch (2981:61): [True: 0, False: 0]
  ------------------
 2982|      0|                match->mark[j+2] = ((char*) state->mark[j] - base) / n;
 2983|      0|                match->mark[j+3] = ((char*) state->mark[j+1] - base) / n;
 2984|       |
 2985|       |                /* check wrong span */
 2986|      0|                if (match->mark[j+2] > match->mark[j+3]) {
  ------------------
  |  Branch (2986:21): [True: 0, False: 0]
  ------------------
 2987|      0|                    PyErr_SetString(PyExc_SystemError,
 2988|      0|                                    "The span of capturing group is wrong,"
 2989|      0|                                    " please report a bug for the re module.");
 2990|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2991|      0|                    return NULL;
 2992|      0|                }
 2993|      0|            } else
 2994|      0|                match->mark[j+2] = match->mark[j+3] = -1; /* undefined */
 2995|       |
 2996|      1|        match->pos = state->pos;
 2997|      1|        match->endpos = state->endpos;
 2998|       |
 2999|      1|        match->lastindex = state->lastindex;
 3000|       |
 3001|      1|        PyObject_GC_Track(match);
 3002|      1|        return (PyObject*) match;
 3003|       |
 3004|      1|    } else if (status == 0) {
  ------------------
  |  Branch (3004:16): [True: 0, False: 0]
  ------------------
 3005|       |
 3006|       |        /* no match */
 3007|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 3008|       |
 3009|      0|    }
 3010|       |
 3011|       |    /* internal error */
 3012|      0|    pattern_error(status);
 3013|       |    return NULL;
 3014|      1|}
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);
  ------------------
  |  |  487|      2|    do { \
  |  |  488|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  880|      2|    Py_CLEAR(self->indexgroup);
  ------------------
  |  |  487|      2|    do { \
  |  |  488|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  881|      2|    Py_CLEAR(self->pattern);
  ------------------
  |  |  487|      2|    do { \
  |  |  488|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  491|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      2|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      2|        } \
  |  |  494|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494: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:
 2507|      1|{
 2508|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2509|      1|    PyObject_GC_UnTrack(self);
 2510|      1|    (void)match_clear(self);
 2511|      1|    tp->tp_free(self);
 2512|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2513|      1|}
sre.c:match_clear:
 2497|      1|{
 2498|      1|    MatchObject *self = _MatchObject_CAST(op);
  ------------------
  |  |  547|      1|#define _MatchObject_CAST(op)       ((MatchObject *)(op))
  ------------------
 2499|      1|    Py_CLEAR(self->string);
  ------------------
  |  |  487|      1|    do { \
  |  |  488|      1|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      1|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      1|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 1, False: 0]
  |  |  ------------------
  |  |  491|      1|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      1|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      1|        } \
  |  |  494|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2500|      1|    Py_CLEAR(self->regs);
  ------------------
  |  |  487|      1|    do { \
  |  |  488|      1|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      1|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      1|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 1]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2501|       |    Py_CLEAR(self->pattern);
  ------------------
  |  |  487|      1|    do { \
  |  |  488|      1|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      1|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      1|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 1, False: 0]
  |  |  ------------------
  |  |  491|      1|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      1|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      1|        } \
  |  |  494|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2502|      1|    return 0;
 2503|      1|}

sre.c:sre_ucs1_match:
  663|      1|{
  664|      1|    const SRE_CHAR* end = (const SRE_CHAR *)state->end;
  665|      1|    Py_ssize_t alloc_pos, ctx_pos = -1;
  666|      1|    Py_ssize_t ret = 0;
  667|      1|    int jump;
  668|      1|    unsigned int sigcount = state->sigcount;
  669|       |
  670|      1|    SRE(match_context)* ctx;
  ------------------
  |  |  501|      1|#define SRE(F) sre_ucs1_##F
  ------------------
  671|      1|    SRE(match_context)* nextctx;
  ------------------
  |  |  501|      1|#define SRE(F) sre_ucs1_##F
  ------------------
  672|      1|    INIT_TRACE(state);
  673|       |
  674|      1|    TRACE(("|%p|%p|ENTER\n", pattern, state->ptr));
  675|       |
  676|      1|    DATA_ALLOC(SRE(match_context), ctx);
  ------------------
  |  |  512|      1|    DATA_STACK_ALLOC(state, t, p)
  |  |  ------------------
  |  |  |  |  451|      1|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  452|      1|do { \
  |  |  |  |  453|      1|    alloc_pos = state->data_stack_base; \
  |  |  |  |  454|      1|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  455|      1|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  456|      1|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (456:9): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  457|      1|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  458|      1|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (458:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |  459|      1|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (459:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |  460|      1|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  461|      1|    } \
  |  |  |  |  462|      1|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  463|      1|    state->data_stack_base += sizeof(type); \
  |  |  |  |  464|      1|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (464:10): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  677|      1|    ctx->last_ctx_pos = -1;
  678|      1|    ctx->jump = JUMP_NONE;
  ------------------
  |  |  559|      1|#define JUMP_NONE            0
  ------------------
  679|      1|    ctx->toplevel = toplevel;
  680|      1|    ctx_pos = alloc_pos;
  681|       |
  682|      1|#if USE_COMPUTED_GOTOS
  683|      1|#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|      1|static void *sre_targets[43] = {
  |  |   15|      1|    &&TARGET_SRE_OP_FAILURE,
  |  |   16|      1|    &&TARGET_SRE_OP_SUCCESS,
  |  |   17|      1|    &&TARGET_SRE_OP_ANY,
  |  |   18|      1|    &&TARGET_SRE_OP_ANY_ALL,
  |  |   19|      1|    &&TARGET_SRE_OP_ASSERT,
  |  |   20|      1|    &&TARGET_SRE_OP_ASSERT_NOT,
  |  |   21|      1|    &&TARGET_SRE_OP_AT,
  |  |   22|      1|    &&TARGET_SRE_OP_BRANCH,
  |  |   23|      1|    &&TARGET_SRE_OP_CATEGORY,
  |  |   24|      1|    &&TARGET_SRE_OP_CHARSET,
  |  |   25|      1|    &&TARGET_SRE_OP_BIGCHARSET,
  |  |   26|      1|    &&TARGET_SRE_OP_GROUPREF,
  |  |   27|      1|    &&TARGET_SRE_OP_GROUPREF_EXISTS,
  |  |   28|      1|    &&TARGET_SRE_OP_IN,
  |  |   29|      1|    &&TARGET_SRE_OP_INFO,
  |  |   30|      1|    &&TARGET_SRE_OP_JUMP,
  |  |   31|      1|    &&TARGET_SRE_OP_LITERAL,
  |  |   32|      1|    &&TARGET_SRE_OP_MARK,
  |  |   33|      1|    &&TARGET_SRE_OP_MAX_UNTIL,
  |  |   34|      1|    &&TARGET_SRE_OP_MIN_UNTIL,
  |  |   35|      1|    &&TARGET_SRE_OP_NOT_LITERAL,
  |  |   36|      1|    &&TARGET_SRE_OP_NEGATE,
  |  |   37|      1|    &&TARGET_SRE_OP_RANGE,
  |  |   38|      1|    &&TARGET_SRE_OP_REPEAT,
  |  |   39|      1|    &&TARGET_SRE_OP_REPEAT_ONE,
  |  |   40|      1|    &&TARGET_SRE_OP_SUBPATTERN,
  |  |   41|      1|    &&TARGET_SRE_OP_MIN_REPEAT_ONE,
  |  |   42|      1|    &&TARGET_SRE_OP_ATOMIC_GROUP,
  |  |   43|      1|    &&TARGET_SRE_OP_POSSESSIVE_REPEAT,
  |  |   44|      1|    &&TARGET_SRE_OP_POSSESSIVE_REPEAT_ONE,
  |  |   45|      1|    &&TARGET_SRE_OP_GROUPREF_IGNORE,
  |  |   46|      1|    &&TARGET_SRE_OP_IN_IGNORE,
  |  |   47|      1|    &&TARGET_SRE_OP_LITERAL_IGNORE,
  |  |   48|      1|    &&TARGET_SRE_OP_NOT_LITERAL_IGNORE,
  |  |   49|      1|    &&TARGET_SRE_OP_GROUPREF_LOC_IGNORE,
  |  |   50|      1|    &&TARGET_SRE_OP_IN_LOC_IGNORE,
  |  |   51|      1|    &&TARGET_SRE_OP_LITERAL_LOC_IGNORE,
  |  |   52|      1|    &&TARGET_SRE_OP_NOT_LITERAL_LOC_IGNORE,
  |  |   53|      1|    &&TARGET_SRE_OP_GROUPREF_UNI_IGNORE,
  |  |   54|      1|    &&TARGET_SRE_OP_IN_UNI_IGNORE,
  |  |   55|      1|    &&TARGET_SRE_OP_LITERAL_UNI_IGNORE,
  |  |   56|      1|    &&TARGET_SRE_OP_NOT_LITERAL_UNI_IGNORE,
  |  |   57|      1|    &&TARGET_SRE_OP_RANGE_UNI_IGNORE,
  |  |   58|      1|};
  ------------------
  684|      1|#endif
  685|       |
  686|      1|entrance:
  687|       |
  688|      1|    ;  // Fashion statement.
  689|      1|    const SRE_CHAR *ptr = (SRE_CHAR *)state->ptr;
  690|       |
  691|      1|    if (pattern[0] == SRE_OP_INFO) {
  ------------------
  |  |   29|      1|#define SRE_OP_INFO 14
  ------------------
  |  Branch (691:9): [True: 1, False: 0]
  ------------------
  692|       |        /* optimization info block */
  693|       |        /* <INFO> <1=skip> <2=flags> <3=min> ... */
  694|      1|        if (pattern[3] && (uintptr_t)(end - ptr) < pattern[3]) {
  ------------------
  |  Branch (694:13): [True: 0, False: 1]
  |  Branch (694:27): [True: 0, False: 0]
  ------------------
  695|      0|            TRACE(("reject (got %tu chars, need %zu)\n",
  696|      0|                   end - ptr, (size_t) pattern[3]));
  697|      0|            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  698|      0|        }
  699|      1|        pattern += pattern[1] + 1;
  700|      1|    }
  701|       |
  702|      1|#if USE_COMPUTED_GOTOS
  703|      1|    DISPATCH;
  ------------------
  |  |  650|      1|        do {                               \
  |  |  651|      1|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      1|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      1|    do {                                                           \
  |  |  |  |  |  |  616|      1|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 1]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      1|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      1|            goto *sre_targets[*pattern++]; \
  |  |  653|      1|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 1]
  |  |  ------------------
  ------------------
  704|       |#else
  705|       |dispatch:
  706|       |    MAYBE_CHECK_SIGNALS;
  707|       |    switch (*pattern++)
  708|       |#endif
  709|      1|    {
  710|       |
  711|      1|        TARGET(SRE_OP_MARK):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  712|       |            /* set mark */
  713|       |            /* <MARK> <gid> */
  714|      0|            TRACE(("|%p|%p|MARK %d\n", pattern,
  715|      0|                   ptr, pattern[0]));
  716|      0|            {
  717|      0|                int i = pattern[0];
  718|      0|                if (i & 1)
  ------------------
  |  Branch (718:21): [True: 0, False: 0]
  ------------------
  719|      0|                    state->lastindex = i/2 + 1;
  720|      0|                if (i > state->lastmark) {
  ------------------
  |  Branch (720:21): [True: 0, False: 0]
  ------------------
  721|       |                    /* state->lastmark is the highest valid index in the
  722|       |                       state->mark array.  If it is increased by more than 1,
  723|       |                       the intervening marks must be set to NULL to signal
  724|       |                       that these marks have not been encountered. */
  725|      0|                    int j = state->lastmark + 1;
  726|      0|                    while (j < i)
  ------------------
  |  Branch (726:28): [True: 0, False: 0]
  ------------------
  727|      0|                        state->mark[j++] = NULL;
  728|      0|                    state->lastmark = i;
  729|      0|                }
  730|      0|                state->mark[i] = ptr;
  731|      0|            }
  732|      0|            pattern++;
  733|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  734|       |
  735|      0|        TARGET(SRE_OP_LITERAL):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  736|       |            /* match literal string */
  737|       |            /* <LITERAL> <code> */
  738|      0|            TRACE(("|%p|%p|LITERAL %d\n", pattern,
  739|      0|                   ptr, *pattern));
  740|      0|            if (ptr >= end || (SRE_CODE) ptr[0] != pattern[0])
  ------------------
  |  Branch (740:17): [True: 0, False: 0]
  |  Branch (740:31): [True: 0, False: 0]
  ------------------
  741|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  742|      0|            pattern++;
  743|      0|            ptr++;
  744|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  745|       |
  746|      0|        TARGET(SRE_OP_NOT_LITERAL):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  747|       |            /* match anything that is not literal character */
  748|       |            /* <NOT_LITERAL> <code> */
  749|      0|            TRACE(("|%p|%p|NOT_LITERAL %d\n", pattern,
  750|      0|                   ptr, *pattern));
  751|      0|            if (ptr >= end || (SRE_CODE) ptr[0] == pattern[0])
  ------------------
  |  Branch (751:17): [True: 0, False: 0]
  |  Branch (751:31): [True: 0, False: 0]
  ------------------
  752|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  753|      0|            pattern++;
  754|      0|            ptr++;
  755|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  756|       |
  757|      1|        TARGET(SRE_OP_SUCCESS):
  ------------------
  |  |  648|      1|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  758|       |            /* end of pattern */
  759|      1|            TRACE(("|%p|%p|SUCCESS\n", pattern, ptr));
  760|      1|            if (ctx->toplevel &&
  ------------------
  |  Branch (760:17): [True: 1, False: 0]
  ------------------
  761|      1|                ((state->match_all && ptr != state->end) ||
  ------------------
  |  Branch (761:19): [True: 0, False: 1]
  |  Branch (761:39): [True: 0, False: 0]
  ------------------
  762|      1|                 (state->must_advance && ptr == state->start)))
  ------------------
  |  Branch (762:19): [True: 0, False: 1]
  |  Branch (762:42): [True: 0, False: 0]
  ------------------
  763|      0|            {
  764|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  765|      0|            }
  766|      1|            state->ptr = ptr;
  767|      1|            RETURN_SUCCESS;
  ------------------
  |  |  442|      1|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  768|       |
  769|      0|        TARGET(SRE_OP_AT):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  770|       |            /* match at given position */
  771|       |            /* <AT> <code> */
  772|      0|            TRACE(("|%p|%p|AT %d\n", pattern, ptr, *pattern));
  773|      0|            if (!SRE(at)(state, ptr, *pattern))
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (773:17): [True: 0, False: 0]
  ------------------
  774|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  775|      0|            pattern++;
  776|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  777|       |
  778|      0|        TARGET(SRE_OP_CATEGORY):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  779|       |            /* match at given category */
  780|       |            /* <CATEGORY> <code> */
  781|      0|            TRACE(("|%p|%p|CATEGORY %d\n", pattern,
  782|      0|                   ptr, *pattern));
  783|      0|            if (ptr >= end || !sre_category(pattern[0], ptr[0]))
  ------------------
  |  Branch (783:17): [True: 0, False: 0]
  |  Branch (783:31): [True: 0, False: 0]
  ------------------
  784|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  785|      0|            pattern++;
  786|      0|            ptr++;
  787|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  788|       |
  789|      0|        TARGET(SRE_OP_ANY):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  790|       |            /* match anything (except a newline) */
  791|       |            /* <ANY> */
  792|      0|            TRACE(("|%p|%p|ANY\n", pattern, ptr));
  793|      0|            if (ptr >= end || SRE_IS_LINEBREAK(ptr[0]))
  ------------------
  |  |  142|      0|    ((ch) == '\n')
  |  |  ------------------
  |  |  |  Branch (142:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (793:17): [True: 0, False: 0]
  ------------------
  794|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  795|      0|            ptr++;
  796|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  797|       |
  798|      0|        TARGET(SRE_OP_ANY_ALL):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  799|       |            /* match anything */
  800|       |            /* <ANY_ALL> */
  801|      0|            TRACE(("|%p|%p|ANY_ALL\n", pattern, ptr));
  802|      0|            if (ptr >= end)
  ------------------
  |  Branch (802:17): [True: 0, False: 0]
  ------------------
  803|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  804|      0|            ptr++;
  805|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  806|       |
  807|      0|        TARGET(SRE_OP_IN):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  808|       |            /* match set member (or non_member) */
  809|       |            /* <IN> <skip> <set> */
  810|      0|            TRACE(("|%p|%p|IN\n", pattern, ptr));
  811|      0|            if (ptr >= end ||
  ------------------
  |  Branch (811:17): [True: 0, False: 0]
  ------------------
  812|      0|                !SRE(charset)(state, pattern + 1, *ptr))
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (812:17): [True: 0, False: 0]
  ------------------
  813|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  814|      0|            pattern += pattern[0];
  815|      0|            ptr++;
  816|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  817|       |
  818|      0|        TARGET(SRE_OP_LITERAL_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  819|      0|            TRACE(("|%p|%p|LITERAL_IGNORE %d\n",
  820|      0|                   pattern, ptr, pattern[0]));
  821|      0|            if (ptr >= end ||
  ------------------
  |  Branch (821:17): [True: 0, False: 0]
  ------------------
  822|      0|                sre_lower_ascii(*ptr) != *pattern)
  ------------------
  |  Branch (822:17): [True: 0, False: 0]
  ------------------
  823|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  824|      0|            pattern++;
  825|      0|            ptr++;
  826|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  827|       |
  828|      0|        TARGET(SRE_OP_LITERAL_UNI_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  829|      0|            TRACE(("|%p|%p|LITERAL_UNI_IGNORE %d\n",
  830|      0|                   pattern, ptr, pattern[0]));
  831|      0|            if (ptr >= end ||
  ------------------
  |  Branch (831:17): [True: 0, False: 0]
  ------------------
  832|      0|                sre_lower_unicode(*ptr) != *pattern)
  ------------------
  |  Branch (832:17): [True: 0, False: 0]
  ------------------
  833|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  834|      0|            pattern++;
  835|      0|            ptr++;
  836|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  837|       |
  838|      0|        TARGET(SRE_OP_LITERAL_LOC_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  839|      0|            TRACE(("|%p|%p|LITERAL_LOC_IGNORE %d\n",
  840|      0|                   pattern, ptr, pattern[0]));
  841|      0|            if (ptr >= end
  ------------------
  |  Branch (841:17): [True: 0, False: 0]
  ------------------
  842|      0|                || !char_loc_ignore(*pattern, *ptr))
  ------------------
  |  Branch (842:20): [True: 0, False: 0]
  ------------------
  843|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  844|      0|            pattern++;
  845|      0|            ptr++;
  846|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  847|       |
  848|      0|        TARGET(SRE_OP_NOT_LITERAL_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  849|      0|            TRACE(("|%p|%p|NOT_LITERAL_IGNORE %d\n",
  850|      0|                   pattern, ptr, *pattern));
  851|      0|            if (ptr >= end ||
  ------------------
  |  Branch (851:17): [True: 0, False: 0]
  ------------------
  852|      0|                sre_lower_ascii(*ptr) == *pattern)
  ------------------
  |  Branch (852:17): [True: 0, False: 0]
  ------------------
  853|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  854|      0|            pattern++;
  855|      0|            ptr++;
  856|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  857|       |
  858|      0|        TARGET(SRE_OP_NOT_LITERAL_UNI_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  859|      0|            TRACE(("|%p|%p|NOT_LITERAL_UNI_IGNORE %d\n",
  860|      0|                   pattern, ptr, *pattern));
  861|      0|            if (ptr >= end ||
  ------------------
  |  Branch (861:17): [True: 0, False: 0]
  ------------------
  862|      0|                sre_lower_unicode(*ptr) == *pattern)
  ------------------
  |  Branch (862:17): [True: 0, False: 0]
  ------------------
  863|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  864|      0|            pattern++;
  865|      0|            ptr++;
  866|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  867|       |
  868|      0|        TARGET(SRE_OP_NOT_LITERAL_LOC_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  869|      0|            TRACE(("|%p|%p|NOT_LITERAL_LOC_IGNORE %d\n",
  870|      0|                   pattern, ptr, *pattern));
  871|      0|            if (ptr >= end
  ------------------
  |  Branch (871:17): [True: 0, False: 0]
  ------------------
  872|      0|                || char_loc_ignore(*pattern, *ptr))
  ------------------
  |  Branch (872:20): [True: 0, False: 0]
  ------------------
  873|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  874|      0|            pattern++;
  875|      0|            ptr++;
  876|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  877|       |
  878|      0|        TARGET(SRE_OP_IN_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  879|      0|            TRACE(("|%p|%p|IN_IGNORE\n", pattern, ptr));
  880|      0|            if (ptr >= end
  ------------------
  |  Branch (880:17): [True: 0, False: 0]
  ------------------
  881|      0|                || !SRE(charset)(state, pattern+1,
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (881:20): [True: 0, False: 0]
  ------------------
  882|      0|                                 (SRE_CODE)sre_lower_ascii(*ptr)))
  883|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  884|      0|            pattern += pattern[0];
  885|      0|            ptr++;
  886|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  887|       |
  888|      0|        TARGET(SRE_OP_IN_UNI_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  889|      0|            TRACE(("|%p|%p|IN_UNI_IGNORE\n", pattern, ptr));
  890|      0|            if (ptr >= end
  ------------------
  |  Branch (890:17): [True: 0, False: 0]
  ------------------
  891|      0|                || !SRE(charset)(state, pattern+1,
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (891:20): [True: 0, False: 0]
  ------------------
  892|      0|                                 (SRE_CODE)sre_lower_unicode(*ptr)))
  893|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  894|      0|            pattern += pattern[0];
  895|      0|            ptr++;
  896|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  897|       |
  898|      0|        TARGET(SRE_OP_IN_LOC_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  899|      0|            TRACE(("|%p|%p|IN_LOC_IGNORE\n", pattern, ptr));
  900|      0|            if (ptr >= end
  ------------------
  |  Branch (900:17): [True: 0, False: 0]
  ------------------
  901|      0|                || !SRE(charset_loc_ignore)(state, pattern+1, *ptr))
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (901:20): [True: 0, False: 0]
  ------------------
  902|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  903|      0|            pattern += pattern[0];
  904|      0|            ptr++;
  905|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  906|       |
  907|      0|        TARGET(SRE_OP_JUMP):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  908|      0|        TARGET(SRE_OP_INFO):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  909|       |            /* jump forward */
  910|       |            /* <JUMP> <offset> */
  911|      0|            TRACE(("|%p|%p|JUMP %d\n", pattern,
  912|      0|                   ptr, pattern[0]));
  913|      0|            pattern += pattern[0];
  914|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  915|       |
  916|      0|        TARGET(SRE_OP_BRANCH):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  917|       |            /* alternation */
  918|       |            /* <BRANCH> <0=skip> code <JUMP> ... <NULL> */
  919|      0|            TRACE(("|%p|%p|BRANCH\n", pattern, ptr));
  920|      0|            LASTMARK_SAVE();
  ------------------
  |  |  417|      0|    do { \
  |  |  418|      0|        ctx->lastmark = state->lastmark; \
  |  |  419|      0|        ctx->lastindex = state->lastindex; \
  |  |  420|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (420:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  921|      0|            if (state->save_marks)
  ------------------
  |  Branch (921:17): [True: 0, False: 0]
  ------------------
  922|      0|                MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  535|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (535:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  536|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  537|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  538|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  472|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  473|      0|do { \
  |  |  |  |  474|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  475|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  476|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (476:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  477|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  478|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (478:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  479|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (479:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  480|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  481|      0|    } \
  |  |  |  |  482|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  483|      0|    state->data_stack_base += size; \
  |  |  |  |  484|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (484:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  539|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (539:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  923|      0|            for (; pattern[0]; pattern += pattern[0]) {
  ------------------
  |  Branch (923:20): [True: 0, False: 0]
  ------------------
  924|      0|                if (pattern[1] == SRE_OP_LITERAL &&
  ------------------
  |  |   31|      0|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (924:21): [True: 0, False: 0]
  ------------------
  925|      0|                    (ptr >= end ||
  ------------------
  |  Branch (925:22): [True: 0, False: 0]
  ------------------
  926|      0|                     (SRE_CODE) *ptr != pattern[2]))
  ------------------
  |  Branch (926:22): [True: 0, False: 0]
  ------------------
  927|      0|                    continue;
  928|      0|                if (pattern[1] == SRE_OP_IN &&
  ------------------
  |  |   28|      0|#define SRE_OP_IN 13
  ------------------
  |  Branch (928:21): [True: 0, False: 0]
  ------------------
  929|      0|                    (ptr >= end ||
  ------------------
  |  Branch (929:22): [True: 0, False: 0]
  ------------------
  930|      0|                     !SRE(charset)(state, pattern + 3,
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (930:22): [True: 0, False: 0]
  ------------------
  931|      0|                                   (SRE_CODE) *ptr)))
  932|      0|                    continue;
  933|      0|                state->ptr = ptr;
  934|      0|                DO_JUMP(JUMP_BRANCH, jump_branch, pattern+1);
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
  935|      0|                if (ret) {
  ------------------
  |  Branch (935:21): [True: 0, False: 0]
  ------------------
  936|      0|                    if (state->save_marks)
  ------------------
  |  Branch (936:25): [True: 0, False: 0]
  ------------------
  937|      0|                        MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  938|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  939|      0|                    RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  940|      0|                }
  941|      0|                if (state->save_marks)
  ------------------
  |  Branch (941:21): [True: 0, False: 0]
  ------------------
  942|      0|                    MARK_POP_KEEP(ctx->lastmark);
  ------------------
  |  |  547|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (547:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  548|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  549|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 0); \
  |  |  ------------------
  |  |  |  |  489|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  490|      0|do { \
  |  |  |  |  491|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  492|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  493|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  494|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  495|      0|        state->data_stack_base -= size; \
  |  |  |  |  496|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (496:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|        MARK_TRACE("pop keep", (lastmark)); \
  |  |  551|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (551:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  943|      0|                LASTMARK_RESTORE();
  ------------------
  |  |  422|      0|    do { \
  |  |  423|      0|        state->lastmark = ctx->lastmark; \
  |  |  424|      0|        state->lastindex = ctx->lastindex; \
  |  |  425|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (425:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  944|      0|            }
  945|      0|            if (state->save_marks)
  ------------------
  |  Branch (945:17): [True: 0, False: 0]
  ------------------
  946|      0|                MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  947|      0|            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  948|       |
  949|      0|        TARGET(SRE_OP_REPEAT_ONE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  950|       |            /* match repeated sequence (maximizing regexp) */
  951|       |
  952|       |            /* this operator only works if the repeated item is
  953|       |               exactly one character wide, and we're not already
  954|       |               collecting backtracking points.  for other cases,
  955|       |               use the MAX_REPEAT operator */
  956|       |
  957|       |            /* <REPEAT_ONE> <skip> <1=min> <2=max> item <SUCCESS> tail */
  958|       |
  959|      0|            TRACE(("|%p|%p|REPEAT_ONE %d %d\n", pattern, ptr,
  960|      0|                   pattern[1], pattern[2]));
  961|       |
  962|      0|            if ((Py_ssize_t) pattern[1] > end - ptr)
  ------------------
  |  Branch (962:17): [True: 0, False: 0]
  ------------------
  963|      0|                RETURN_FAILURE; /* cannot match */
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  964|       |
  965|      0|            state->ptr = ptr;
  966|       |
  967|      0|            ret = SRE(count)(state, pattern+3, pattern[2]);
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  968|      0|            RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  969|      0|            DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  514|      0|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  467|      0|do { \
  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  470|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  970|      0|            ctx->count = ret;
  971|      0|            ptr += ctx->count;
  972|       |
  973|       |            /* when we arrive here, count contains the number of
  974|       |               matches, and ptr points to the tail of the target
  975|       |               string.  check if the rest of the pattern matches,
  976|       |               and backtrack if not. */
  977|       |
  978|      0|            if (ctx->count < (Py_ssize_t) pattern[1])
  ------------------
  |  Branch (978:17): [True: 0, False: 0]
  ------------------
  979|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  980|       |
  981|      0|            if (pattern[pattern[0]] == SRE_OP_SUCCESS &&
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (981:17): [True: 0, False: 0]
  ------------------
  982|      0|                ptr == state->end &&
  ------------------
  |  Branch (982:17): [True: 0, False: 0]
  ------------------
  983|      0|                !(ctx->toplevel && state->must_advance && ptr == state->start))
  ------------------
  |  Branch (983:19): [True: 0, False: 0]
  |  Branch (983:36): [True: 0, False: 0]
  |  Branch (983:59): [True: 0, False: 0]
  ------------------
  984|      0|            {
  985|       |                /* tail is empty.  we're finished */
  986|      0|                state->ptr = ptr;
  987|      0|                RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  988|      0|            }
  989|       |
  990|      0|            LASTMARK_SAVE();
  ------------------
  |  |  417|      0|    do { \
  |  |  418|      0|        ctx->lastmark = state->lastmark; \
  |  |  419|      0|        ctx->lastindex = state->lastindex; \
  |  |  420|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (420:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  991|      0|            if (state->save_marks)
  ------------------
  |  Branch (991:17): [True: 0, False: 0]
  ------------------
  992|      0|                MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  535|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (535:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  536|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  537|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  538|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  472|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  473|      0|do { \
  |  |  |  |  474|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  475|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  476|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (476:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  477|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  478|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (478:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  479|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (479:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  480|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  481|      0|    } \
  |  |  |  |  482|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  483|      0|    state->data_stack_base += size; \
  |  |  |  |  484|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (484:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  539|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (539:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  993|       |
  994|      0|            if (pattern[pattern[0]] == SRE_OP_LITERAL) {
  ------------------
  |  |   31|      0|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (994:17): [True: 0, False: 0]
  ------------------
  995|       |                /* tail starts with a literal. skip positions where
  996|       |                   the rest of the pattern cannot possibly match */
  997|      0|                ctx->u.chr = pattern[pattern[0]+1];
  998|      0|                for (;;) {
  999|      0|                    while (ctx->count >= (Py_ssize_t) pattern[1] &&
  ------------------
  |  Branch (999:28): [True: 0, False: 0]
  ------------------
 1000|      0|                           (ptr >= end || *ptr != ctx->u.chr)) {
  ------------------
  |  Branch (1000:29): [True: 0, False: 0]
  |  Branch (1000:43): [True: 0, False: 0]
  ------------------
 1001|      0|                        ptr--;
 1002|      0|                        ctx->count--;
 1003|      0|                    }
 1004|      0|                    if (ctx->count < (Py_ssize_t) pattern[1])
  ------------------
  |  Branch (1004:25): [True: 0, False: 0]
  ------------------
 1005|      0|                        break;
 1006|      0|                    state->ptr = ptr;
 1007|      0|                    DO_JUMP(JUMP_REPEAT_ONE_1, jump_repeat_one_1,
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1008|      0|                            pattern+pattern[0]);
 1009|      0|                    if (ret) {
  ------------------
  |  Branch (1009:25): [True: 0, False: 0]
  ------------------
 1010|      0|                        if (state->save_marks)
  ------------------
  |  Branch (1010:29): [True: 0, False: 0]
  ------------------
 1011|      0|                            MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1012|      0|                        RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1013|      0|                        RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1014|      0|                    }
 1015|      0|                    if (state->save_marks)
  ------------------
  |  Branch (1015:25): [True: 0, False: 0]
  ------------------
 1016|      0|                        MARK_POP_KEEP(ctx->lastmark);
  ------------------
  |  |  547|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (547:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  548|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  549|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 0); \
  |  |  ------------------
  |  |  |  |  489|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  490|      0|do { \
  |  |  |  |  491|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  492|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  493|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  494|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  495|      0|        state->data_stack_base -= size; \
  |  |  |  |  496|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (496:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|        MARK_TRACE("pop keep", (lastmark)); \
  |  |  551|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (551:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1017|      0|                    LASTMARK_RESTORE();
  ------------------
  |  |  422|      0|    do { \
  |  |  423|      0|        state->lastmark = ctx->lastmark; \
  |  |  424|      0|        state->lastindex = ctx->lastindex; \
  |  |  425|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (425:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1018|       |
 1019|      0|                    ptr--;
 1020|      0|                    ctx->count--;
 1021|      0|                }
 1022|      0|                if (state->save_marks)
  ------------------
  |  Branch (1022:21): [True: 0, False: 0]
  ------------------
 1023|      0|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1024|      0|            } else {
 1025|       |                /* general case */
 1026|      0|                while (ctx->count >= (Py_ssize_t) pattern[1]) {
  ------------------
  |  Branch (1026:24): [True: 0, False: 0]
  ------------------
 1027|      0|                    state->ptr = ptr;
 1028|      0|                    DO_JUMP(JUMP_REPEAT_ONE_2, jump_repeat_one_2,
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1029|      0|                            pattern+pattern[0]);
 1030|      0|                    if (ret) {
  ------------------
  |  Branch (1030:25): [True: 0, False: 0]
  ------------------
 1031|      0|                        if (state->save_marks)
  ------------------
  |  Branch (1031:29): [True: 0, False: 0]
  ------------------
 1032|      0|                            MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1033|      0|                        RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1034|      0|                        RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1035|      0|                    }
 1036|      0|                    if (state->save_marks)
  ------------------
  |  Branch (1036:25): [True: 0, False: 0]
  ------------------
 1037|      0|                        MARK_POP_KEEP(ctx->lastmark);
  ------------------
  |  |  547|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (547:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  548|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  549|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 0); \
  |  |  ------------------
  |  |  |  |  489|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  490|      0|do { \
  |  |  |  |  491|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  492|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  493|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  494|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  495|      0|        state->data_stack_base -= size; \
  |  |  |  |  496|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (496:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|        MARK_TRACE("pop keep", (lastmark)); \
  |  |  551|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (551:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1038|      0|                    LASTMARK_RESTORE();
  ------------------
  |  |  422|      0|    do { \
  |  |  423|      0|        state->lastmark = ctx->lastmark; \
  |  |  424|      0|        state->lastindex = ctx->lastindex; \
  |  |  425|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (425:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1039|       |
 1040|      0|                    ptr--;
 1041|      0|                    ctx->count--;
 1042|      0|                }
 1043|      0|                if (state->save_marks)
  ------------------
  |  Branch (1043:21): [True: 0, False: 0]
  ------------------
 1044|      0|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1045|      0|            }
 1046|      0|            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1047|       |
 1048|      0|        TARGET(SRE_OP_MIN_REPEAT_ONE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1049|       |            /* match repeated sequence (minimizing regexp) */
 1050|       |
 1051|       |            /* this operator only works if the repeated item is
 1052|       |               exactly one character wide, and we're not already
 1053|       |               collecting backtracking points.  for other cases,
 1054|       |               use the MIN_REPEAT operator */
 1055|       |
 1056|       |            /* <MIN_REPEAT_ONE> <skip> <1=min> <2=max> item <SUCCESS> tail */
 1057|       |
 1058|      0|            TRACE(("|%p|%p|MIN_REPEAT_ONE %d %d\n", pattern, ptr,
 1059|      0|                   pattern[1], pattern[2]));
 1060|       |
 1061|      0|            if ((Py_ssize_t) pattern[1] > end - ptr)
  ------------------
  |  Branch (1061:17): [True: 0, False: 0]
  ------------------
 1062|      0|                RETURN_FAILURE; /* cannot match */
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1063|       |
 1064|      0|            state->ptr = ptr;
 1065|       |
 1066|      0|            if (pattern[1] == 0)
  ------------------
  |  Branch (1066:17): [True: 0, False: 0]
  ------------------
 1067|      0|                ctx->count = 0;
 1068|      0|            else {
 1069|       |                /* count using pattern min as the maximum */
 1070|      0|                ret = SRE(count)(state, pattern+3, pattern[1]);
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
 1071|      0|                RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1072|      0|                DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  514|      0|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  467|      0|do { \
  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  470|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|      0|                if (ret < (Py_ssize_t) pattern[1])
  ------------------
  |  Branch (1073:21): [True: 0, False: 0]
  ------------------
 1074|       |                    /* didn't match minimum number of times */
 1075|      0|                    RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1076|       |                /* advance past minimum matches of repeat */
 1077|      0|                ctx->count = ret;
 1078|      0|                ptr += ctx->count;
 1079|      0|            }
 1080|       |
 1081|      0|            if (pattern[pattern[0]] == SRE_OP_SUCCESS &&
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (1081:17): [True: 0, False: 0]
  ------------------
 1082|      0|                !(ctx->toplevel &&
  ------------------
  |  Branch (1082:19): [True: 0, False: 0]
  ------------------
 1083|      0|                  ((state->match_all && ptr != state->end) ||
  ------------------
  |  Branch (1083:21): [True: 0, False: 0]
  |  Branch (1083:41): [True: 0, False: 0]
  ------------------
 1084|      0|                   (state->must_advance && ptr == state->start))))
  ------------------
  |  Branch (1084:21): [True: 0, False: 0]
  |  Branch (1084:44): [True: 0, False: 0]
  ------------------
 1085|      0|            {
 1086|       |                /* tail is empty.  we're finished */
 1087|      0|                state->ptr = ptr;
 1088|      0|                RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1089|       |
 1090|      0|            } else {
 1091|       |                /* general case */
 1092|      0|                LASTMARK_SAVE();
  ------------------
  |  |  417|      0|    do { \
  |  |  418|      0|        ctx->lastmark = state->lastmark; \
  |  |  419|      0|        ctx->lastindex = state->lastindex; \
  |  |  420|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (420:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1093|      0|                if (state->save_marks)
  ------------------
  |  Branch (1093:21): [True: 0, False: 0]
  ------------------
 1094|      0|                    MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  535|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (535:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  536|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  537|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  538|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  472|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  473|      0|do { \
  |  |  |  |  474|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  475|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  476|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (476:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  477|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  478|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (478:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  479|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (479:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  480|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  481|      0|    } \
  |  |  |  |  482|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  483|      0|    state->data_stack_base += size; \
  |  |  |  |  484|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (484:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  539|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (539:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1095|       |
 1096|      0|                while ((Py_ssize_t)pattern[2] == SRE_MAXREPEAT
  ------------------
  |  |   20|      0|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (1096:24): [True: 0, False: 0]
  ------------------
 1097|      0|                       || ctx->count <= (Py_ssize_t)pattern[2]) {
  ------------------
  |  Branch (1097:27): [True: 0, False: 0]
  ------------------
 1098|      0|                    state->ptr = ptr;
 1099|      0|                    DO_JUMP(JUMP_MIN_REPEAT_ONE,jump_min_repeat_one,
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1100|      0|                            pattern+pattern[0]);
 1101|      0|                    if (ret) {
  ------------------
  |  Branch (1101:25): [True: 0, False: 0]
  ------------------
 1102|      0|                        if (state->save_marks)
  ------------------
  |  Branch (1102:29): [True: 0, False: 0]
  ------------------
 1103|      0|                            MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1104|      0|                        RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1105|      0|                        RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1106|      0|                    }
 1107|      0|                    if (state->save_marks)
  ------------------
  |  Branch (1107:25): [True: 0, False: 0]
  ------------------
 1108|      0|                        MARK_POP_KEEP(ctx->lastmark);
  ------------------
  |  |  547|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (547:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  548|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  549|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 0); \
  |  |  ------------------
  |  |  |  |  489|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  490|      0|do { \
  |  |  |  |  491|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  492|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  493|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  494|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  495|      0|        state->data_stack_base -= size; \
  |  |  |  |  496|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (496:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|        MARK_TRACE("pop keep", (lastmark)); \
  |  |  551|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (551:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1109|      0|                    LASTMARK_RESTORE();
  ------------------
  |  |  422|      0|    do { \
  |  |  423|      0|        state->lastmark = ctx->lastmark; \
  |  |  424|      0|        state->lastindex = ctx->lastindex; \
  |  |  425|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (425:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1110|       |
 1111|      0|                    state->ptr = ptr;
 1112|      0|                    ret = SRE(count)(state, pattern+3, 1);
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
 1113|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1114|      0|                    DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  514|      0|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  467|      0|do { \
  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  470|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1115|      0|                    if (ret == 0)
  ------------------
  |  Branch (1115:25): [True: 0, False: 0]
  ------------------
 1116|      0|                        break;
 1117|      0|                    assert(ret == 1);
  ------------------
  |  Branch (1117:21): [True: 0, False: 0]
  ------------------
 1118|      0|                    ptr++;
 1119|      0|                    ctx->count++;
 1120|      0|                }
 1121|      0|                if (state->save_marks)
  ------------------
  |  Branch (1121:21): [True: 0, False: 0]
  ------------------
 1122|      0|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1123|      0|            }
 1124|      0|            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1125|       |
 1126|      0|        TARGET(SRE_OP_POSSESSIVE_REPEAT_ONE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1127|       |            /* match repeated sequence (maximizing regexp) without
 1128|       |               backtracking */
 1129|       |
 1130|       |            /* this operator only works if the repeated item is
 1131|       |               exactly one character wide, and we're not already
 1132|       |               collecting backtracking points.  for other cases,
 1133|       |               use the MAX_REPEAT operator */
 1134|       |
 1135|       |            /* <POSSESSIVE_REPEAT_ONE> <skip> <1=min> <2=max> item <SUCCESS>
 1136|       |               tail */
 1137|       |
 1138|      0|            TRACE(("|%p|%p|POSSESSIVE_REPEAT_ONE %d %d\n", pattern,
 1139|      0|                   ptr, pattern[1], pattern[2]));
 1140|       |
 1141|      0|            if (ptr + pattern[1] > end) {
  ------------------
  |  Branch (1141:17): [True: 0, False: 0]
  ------------------
 1142|      0|                RETURN_FAILURE; /* cannot match */
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1143|      0|            }
 1144|       |
 1145|      0|            state->ptr = ptr;
 1146|       |
 1147|      0|            ret = SRE(count)(state, pattern + 3, pattern[2]);
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
 1148|      0|            RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1149|      0|            DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  514|      0|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  467|      0|do { \
  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  470|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1150|      0|            ctx->count = ret;
 1151|      0|            ptr += ctx->count;
 1152|       |
 1153|       |            /* when we arrive here, count contains the number of
 1154|       |               matches, and ptr points to the tail of the target
 1155|       |               string.  check if the rest of the pattern matches,
 1156|       |               and fail if not. */
 1157|       |
 1158|       |            /* Test for not enough repetitions in match */
 1159|      0|            if (ctx->count < (Py_ssize_t) pattern[1]) {
  ------------------
  |  Branch (1159:17): [True: 0, False: 0]
  ------------------
 1160|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1161|      0|            }
 1162|       |
 1163|       |            /* Update the pattern to point to the next op code */
 1164|      0|            pattern += pattern[0];
 1165|       |
 1166|       |            /* Let the tail be evaluated separately and consider this
 1167|       |               match successful. */
 1168|      0|            if (*pattern == SRE_OP_SUCCESS &&
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (1168:17): [True: 0, False: 0]
  ------------------
 1169|      0|                ptr == state->end &&
  ------------------
  |  Branch (1169:17): [True: 0, False: 0]
  ------------------
 1170|      0|                !(ctx->toplevel && state->must_advance && ptr == state->start))
  ------------------
  |  Branch (1170:19): [True: 0, False: 0]
  |  Branch (1170:36): [True: 0, False: 0]
  |  Branch (1170:59): [True: 0, False: 0]
  ------------------
 1171|      0|            {
 1172|       |                /* tail is empty.  we're finished */
 1173|      0|                state->ptr = ptr;
 1174|      0|                RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1175|      0|            }
 1176|       |
 1177|       |            /* Attempt to match the rest of the string */
 1178|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1179|       |
 1180|      0|        TARGET(SRE_OP_REPEAT):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1181|       |            /* create repeat context.  all the hard work is done
 1182|       |               by the UNTIL operator (MAX_UNTIL, MIN_UNTIL) */
 1183|       |            /* <REPEAT> <skip> <1=min> <2=max>
 1184|       |               <3=repeat_index> item <UNTIL> tail */
 1185|      0|            TRACE(("|%p|%p|REPEAT %d %d\n", pattern, ptr,
 1186|      0|                   pattern[1], pattern[2]));
 1187|       |
 1188|       |            /* install new repeat context */
 1189|      0|            ctx->u.rep = repeat_pool_malloc(state);
 1190|      0|            if (!ctx->u.rep) {
  ------------------
  |  Branch (1190:17): [True: 0, False: 0]
  ------------------
 1191|      0|                RETURN_ERROR(SRE_ERROR_MEMORY);
  ------------------
  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  ------------------
  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1192|      0|            }
 1193|      0|            ctx->u.rep->count = -1;
 1194|      0|            ctx->u.rep->pattern = pattern;
 1195|      0|            ctx->u.rep->prev = state->repeat;
 1196|      0|            ctx->u.rep->last_ptr = NULL;
 1197|      0|            state->repeat = ctx->u.rep;
 1198|      0|            state->save_marks++;
 1199|       |
 1200|      0|            state->ptr = ptr;
 1201|      0|            DO_JUMP(JUMP_REPEAT, jump_repeat, pattern+pattern[0]);
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1202|      0|            state->repeat = ctx->u.rep->prev;
 1203|      0|            state->save_marks--;
 1204|      0|            repeat_pool_free(state, ctx->u.rep);
 1205|       |
 1206|      0|            if (ret) {
  ------------------
  |  Branch (1206:17): [True: 0, False: 0]
  ------------------
 1207|      0|                RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1208|      0|                RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1209|      0|            }
 1210|      0|            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1211|       |
 1212|      0|        TARGET(SRE_OP_MAX_UNTIL):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1213|       |            /* maximizing repeat */
 1214|       |            /* <REPEAT> <skip> <1=min> <2=max> item <MAX_UNTIL> tail */
 1215|       |
 1216|       |            /* FIXME: we probably need to deal with zero-width
 1217|       |               matches in here... */
 1218|       |
 1219|      0|            ctx->u.rep = state->repeat;
 1220|      0|            if (!ctx->u.rep)
  ------------------
  |  Branch (1220:17): [True: 0, False: 0]
  ------------------
 1221|      0|                RETURN_ERROR(SRE_ERROR_STATE);
  ------------------
  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  ------------------
  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1222|       |
 1223|      0|            state->ptr = ptr;
 1224|       |
 1225|      0|            ctx->count = ctx->u.rep->count+1;
 1226|       |
 1227|      0|            TRACE(("|%p|%p|MAX_UNTIL %zd\n", pattern,
 1228|      0|                   ptr, ctx->count));
 1229|       |
 1230|      0|            if (ctx->count < (Py_ssize_t) ctx->u.rep->pattern[1]) {
  ------------------
  |  Branch (1230:17): [True: 0, False: 0]
  ------------------
 1231|       |                /* not enough matches */
 1232|      0|                ctx->u.rep->count = ctx->count;
 1233|      0|                DO_JUMP(JUMP_MAX_UNTIL_1, jump_max_until_1,
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1234|      0|                        ctx->u.rep->pattern+3);
 1235|      0|                if (ret) {
  ------------------
  |  Branch (1235:21): [True: 0, False: 0]
  ------------------
 1236|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1237|      0|                    RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1238|      0|                }
 1239|      0|                ctx->u.rep->count = ctx->count-1;
 1240|      0|                state->ptr = ptr;
 1241|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1242|      0|            }
 1243|       |
 1244|      0|            if ((ctx->count < (Py_ssize_t) ctx->u.rep->pattern[2] ||
  ------------------
  |  Branch (1244:18): [True: 0, False: 0]
  ------------------
 1245|      0|                ctx->u.rep->pattern[2] == SRE_MAXREPEAT) &&
  ------------------
  |  |   20|      0|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (1245:17): [True: 0, False: 0]
  ------------------
 1246|      0|                state->ptr != ctx->u.rep->last_ptr) {
  ------------------
  |  Branch (1246:17): [True: 0, False: 0]
  ------------------
 1247|       |                /* we may have enough matches, but if we can
 1248|       |                   match another item, do so */
 1249|      0|                ctx->u.rep->count = ctx->count;
 1250|      0|                LASTMARK_SAVE();
  ------------------
  |  |  417|      0|    do { \
  |  |  418|      0|        ctx->lastmark = state->lastmark; \
  |  |  419|      0|        ctx->lastindex = state->lastindex; \
  |  |  420|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (420:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1251|      0|                MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  535|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (535:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  536|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  537|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  538|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  472|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  473|      0|do { \
  |  |  |  |  474|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  475|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  476|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (476:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  477|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  478|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (478:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  479|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (479:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  480|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  481|      0|    } \
  |  |  |  |  482|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  483|      0|    state->data_stack_base += size; \
  |  |  |  |  484|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (484:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  539|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (539:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1252|       |                /* zero-width match protection */
 1253|      0|                LAST_PTR_PUSH();
  ------------------
  |  |  428|      0|    do { \
  |  |  429|      0|        TRACE(("push last_ptr: %zd", \
  |  |  430|      0|                PTR_TO_INDEX(ctx->u.rep->last_ptr))); \
  |  |  431|      0|        DATA_PUSH(&ctx->u.rep->last_ptr); \
  |  |  ------------------
  |  |  |  |  506|      0|    DATA_STACK_PUSH(state, (x), sizeof(*(x)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  472|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  |  |  473|      0|do { \
  |  |  |  |  |  |  474|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  |  |  475|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  |  |  476|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (476:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  477|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  |  |  478|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (478:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (479:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  480|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  481|      0|    } \
  |  |  |  |  |  |  482|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  |  |  483|      0|    state->data_stack_base += size; \
  |  |  |  |  |  |  484|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (484:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  432|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (432:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1254|      0|                ctx->u.rep->last_ptr = state->ptr;
 1255|      0|                DO_JUMP(JUMP_MAX_UNTIL_2, jump_max_until_2,
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1256|      0|                        ctx->u.rep->pattern+3);
 1257|      0|                LAST_PTR_POP();
  ------------------
  |  |  434|      0|    do { \
  |  |  435|      0|        DATA_POP(&ctx->u.rep->last_ptr); \
  |  |  ------------------
  |  |  |  |  508|      0|    DATA_STACK_POP(state, (x), sizeof(*(x)), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  |  |  490|      0|do { \
  |  |  |  |  |  |  491|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  |  |  492|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  |  |  493|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  |  |  494|      0|    if (discard) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (494:9): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  495|      0|        state->data_stack_base -= size; \
  |  |  |  |  |  |  496|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (496:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  436|      0|        TRACE(("pop last_ptr: %zd", \
  |  |  437|      0|                PTR_TO_INDEX(ctx->u.rep->last_ptr))); \
  |  |  438|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (438:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1258|      0|                if (ret) {
  ------------------
  |  Branch (1258:21): [True: 0, False: 0]
  ------------------
 1259|      0|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1260|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1261|      0|                    RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1262|      0|                }
 1263|      0|                MARK_POP(ctx->lastmark);
  ------------------
  |  |  541|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (541:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  542|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  543|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 1); \
  |  |  ------------------
  |  |  |  |  489|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  490|      0|do { \
  |  |  |  |  491|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  492|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  493|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  494|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:9): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |  495|      0|        state->data_stack_base -= size; \
  |  |  |  |  496|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (496:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  544|      0|        MARK_TRACE("pop", (lastmark)); \
  |  |  545|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (545:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1264|      0|                LASTMARK_RESTORE();
  ------------------
  |  |  422|      0|    do { \
  |  |  423|      0|        state->lastmark = ctx->lastmark; \
  |  |  424|      0|        state->lastindex = ctx->lastindex; \
  |  |  425|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (425:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1265|      0|                ctx->u.rep->count = ctx->count-1;
 1266|      0|                state->ptr = ptr;
 1267|      0|            }
 1268|       |
 1269|       |            /* cannot match more repeated items here.  make sure the
 1270|       |               tail matches */
 1271|      0|            state->repeat = ctx->u.rep->prev;
 1272|      0|            state->save_marks--;
 1273|      0|            DO_JUMP(JUMP_MAX_UNTIL_3, jump_max_until_3, pattern);
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1274|      0|            state->repeat = ctx->u.rep; // restore repeat before return
 1275|      0|            state->save_marks++;
 1276|       |
 1277|      0|            RETURN_ON_SUCCESS(ret);
  ------------------
  |  |  447|      0|    do { RETURN_ON_ERROR(i); if (i > 0) RETURN_SUCCESS; } while (0)
  |  |  ------------------
  |  |  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   do { RETURN_ON_ERROR(i); if (i > 0) RETURN_SUCCESS; } while (0)
  |  |  ------------------
  |  |  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (447:34): [True: 0, False: 0]
  |  |  |  Branch (447:66): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1278|      0|            state->ptr = ptr;
 1279|      0|            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1280|       |
 1281|      0|        TARGET(SRE_OP_MIN_UNTIL):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1282|       |            /* minimizing repeat */
 1283|       |            /* <REPEAT> <skip> <1=min> <2=max> item <MIN_UNTIL> tail */
 1284|       |
 1285|      0|            ctx->u.rep = state->repeat;
 1286|      0|            if (!ctx->u.rep)
  ------------------
  |  Branch (1286:17): [True: 0, False: 0]
  ------------------
 1287|      0|                RETURN_ERROR(SRE_ERROR_STATE);
  ------------------
  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  ------------------
  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1288|       |
 1289|      0|            state->ptr = ptr;
 1290|       |
 1291|      0|            ctx->count = ctx->u.rep->count+1;
 1292|       |
 1293|      0|            TRACE(("|%p|%p|MIN_UNTIL %zd %p\n", pattern,
 1294|      0|                   ptr, ctx->count, ctx->u.rep->pattern));
 1295|       |
 1296|      0|            if (ctx->count < (Py_ssize_t) ctx->u.rep->pattern[1]) {
  ------------------
  |  Branch (1296:17): [True: 0, False: 0]
  ------------------
 1297|       |                /* not enough matches */
 1298|      0|                ctx->u.rep->count = ctx->count;
 1299|      0|                DO_JUMP(JUMP_MIN_UNTIL_1, jump_min_until_1,
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1300|      0|                        ctx->u.rep->pattern+3);
 1301|      0|                if (ret) {
  ------------------
  |  Branch (1301:21): [True: 0, False: 0]
  ------------------
 1302|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1303|      0|                    RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1304|      0|                }
 1305|      0|                ctx->u.rep->count = ctx->count-1;
 1306|      0|                state->ptr = ptr;
 1307|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1308|      0|            }
 1309|       |
 1310|       |            /* see if the tail matches */
 1311|      0|            state->repeat = ctx->u.rep->prev;
 1312|      0|            state->save_marks--;
 1313|       |
 1314|      0|            LASTMARK_SAVE();
  ------------------
  |  |  417|      0|    do { \
  |  |  418|      0|        ctx->lastmark = state->lastmark; \
  |  |  419|      0|        ctx->lastindex = state->lastindex; \
  |  |  420|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (420:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1315|      0|            if (state->save_marks)
  ------------------
  |  Branch (1315:17): [True: 0, False: 0]
  ------------------
 1316|      0|                MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  535|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (535:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  536|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  537|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  538|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  472|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  473|      0|do { \
  |  |  |  |  474|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  475|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  476|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (476:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  477|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  478|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (478:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  479|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (479:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  480|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  481|      0|    } \
  |  |  |  |  482|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  483|      0|    state->data_stack_base += size; \
  |  |  |  |  484|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (484:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  539|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (539:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1317|       |
 1318|      0|            DO_JUMP(JUMP_MIN_UNTIL_2, jump_min_until_2, pattern);
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1319|       |            /* save_marks is balanced across the jump, so this equals the
 1320|       |               value tested for MARK_PUSH above */
 1321|      0|            int pushed = state->save_marks != 0;
 1322|      0|            state->repeat = ctx->u.rep; // restore repeat before return
 1323|      0|            state->save_marks++;
 1324|       |
 1325|      0|            if (ret) {
  ------------------
  |  Branch (1325:17): [True: 0, False: 0]
  ------------------
 1326|      0|                if (pushed)
  ------------------
  |  Branch (1326:21): [True: 0, False: 0]
  ------------------
 1327|      0|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1328|      0|                RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1329|      0|                RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1330|      0|            }
 1331|      0|            if (pushed)
  ------------------
  |  Branch (1331:17): [True: 0, False: 0]
  ------------------
 1332|      0|                MARK_POP(ctx->lastmark);
  ------------------
  |  |  541|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (541:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  542|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  543|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 1); \
  |  |  ------------------
  |  |  |  |  489|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  490|      0|do { \
  |  |  |  |  491|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  492|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  493|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  494|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:9): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |  495|      0|        state->data_stack_base -= size; \
  |  |  |  |  496|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (496:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  544|      0|        MARK_TRACE("pop", (lastmark)); \
  |  |  545|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (545:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1333|      0|            LASTMARK_RESTORE();
  ------------------
  |  |  422|      0|    do { \
  |  |  423|      0|        state->lastmark = ctx->lastmark; \
  |  |  424|      0|        state->lastindex = ctx->lastindex; \
  |  |  425|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (425:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1334|       |
 1335|      0|            state->ptr = ptr;
 1336|       |
 1337|      0|            if ((ctx->count >= (Py_ssize_t) ctx->u.rep->pattern[2]
  ------------------
  |  Branch (1337:18): [True: 0, False: 0]
  ------------------
 1338|      0|                && ctx->u.rep->pattern[2] != SRE_MAXREPEAT) ||
  ------------------
  |  |   20|      0|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (1338:20): [True: 0, False: 0]
  ------------------
 1339|      0|                state->ptr == ctx->u.rep->last_ptr)
  ------------------
  |  Branch (1339:17): [True: 0, False: 0]
  ------------------
 1340|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1341|       |
 1342|      0|            ctx->u.rep->count = ctx->count;
 1343|       |            /* zero-width match protection */
 1344|      0|            LAST_PTR_PUSH();
  ------------------
  |  |  428|      0|    do { \
  |  |  429|      0|        TRACE(("push last_ptr: %zd", \
  |  |  430|      0|                PTR_TO_INDEX(ctx->u.rep->last_ptr))); \
  |  |  431|      0|        DATA_PUSH(&ctx->u.rep->last_ptr); \
  |  |  ------------------
  |  |  |  |  506|      0|    DATA_STACK_PUSH(state, (x), sizeof(*(x)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  472|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  |  |  473|      0|do { \
  |  |  |  |  |  |  474|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  |  |  475|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  |  |  476|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (476:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  477|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  |  |  478|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (478:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (479:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  480|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  481|      0|    } \
  |  |  |  |  |  |  482|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  |  |  483|      0|    state->data_stack_base += size; \
  |  |  |  |  |  |  484|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (484:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  432|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (432:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1345|      0|            ctx->u.rep->last_ptr = state->ptr;
 1346|      0|            DO_JUMP(JUMP_MIN_UNTIL_3,jump_min_until_3,
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1347|      0|                    ctx->u.rep->pattern+3);
 1348|      0|            LAST_PTR_POP();
  ------------------
  |  |  434|      0|    do { \
  |  |  435|      0|        DATA_POP(&ctx->u.rep->last_ptr); \
  |  |  ------------------
  |  |  |  |  508|      0|    DATA_STACK_POP(state, (x), sizeof(*(x)), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  |  |  490|      0|do { \
  |  |  |  |  |  |  491|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  |  |  492|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  |  |  493|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  |  |  494|      0|    if (discard) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (494:9): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  495|      0|        state->data_stack_base -= size; \
  |  |  |  |  |  |  496|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (496:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  436|      0|        TRACE(("pop last_ptr: %zd", \
  |  |  437|      0|                PTR_TO_INDEX(ctx->u.rep->last_ptr))); \
  |  |  438|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (438:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1349|      0|            if (ret) {
  ------------------
  |  Branch (1349:17): [True: 0, False: 0]
  ------------------
 1350|      0|                RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1351|      0|                RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1352|      0|            }
 1353|      0|            ctx->u.rep->count = ctx->count-1;
 1354|      0|            state->ptr = ptr;
 1355|      0|            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1356|       |
 1357|      0|        TARGET(SRE_OP_POSSESSIVE_REPEAT):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1358|       |            /* create possessive repeat contexts. */
 1359|       |            /* <POSSESSIVE_REPEAT> <skip> <1=min> <2=max> pattern
 1360|       |               <SUCCESS> tail */
 1361|      0|            TRACE(("|%p|%p|POSSESSIVE_REPEAT %d %d\n", pattern,
 1362|      0|                   ptr, pattern[1], pattern[2]));
 1363|       |
 1364|       |            /* Set the global Input pointer to this context's Input
 1365|       |               pointer */
 1366|      0|            state->ptr = ptr;
 1367|       |
 1368|       |            /* Capture groups in the body can be revisited on backtracking
 1369|       |               between iterations, so their marks must be saved and restored,
 1370|       |               as is done inside a repeat. */
 1371|      0|            state->save_marks++;
 1372|       |
 1373|       |            /* Initialize Count to 0 */
 1374|      0|            ctx->count = 0;
 1375|       |
 1376|       |            /* Check for minimum required matches. */
 1377|      0|            while (ctx->count < (Py_ssize_t)pattern[1]) {
  ------------------
  |  Branch (1377:20): [True: 0, False: 0]
  ------------------
 1378|       |                /* not enough matches */
 1379|      0|                DO_JUMP0(JUMP_POSS_REPEAT_1, jump_poss_repeat_1,
  ------------------
  |  |  597|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, 0)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1380|      0|                         &pattern[3]);
 1381|      0|                if (ret) {
  ------------------
  |  Branch (1381:21): [True: 0, False: 0]
  ------------------
 1382|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1383|      0|                    ctx->count++;
 1384|      0|                }
 1385|      0|                else {
 1386|      0|                    state->ptr = ptr;
 1387|      0|                    state->save_marks--;
 1388|      0|                    RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1389|      0|                }
 1390|      0|            }
 1391|       |
 1392|       |            /* Clear the context's Input stream pointer so that it
 1393|       |               doesn't match the global state so that the while loop can
 1394|       |               be entered. */
 1395|      0|            ptr = NULL;
 1396|       |
 1397|       |            /* Keep trying to parse the <pattern> sub-pattern until the
 1398|       |               end is reached, creating a new context each time. */
 1399|      0|            while ((ctx->count < (Py_ssize_t)pattern[2] ||
  ------------------
  |  Branch (1399:21): [True: 0, False: 0]
  ------------------
 1400|      0|                    (Py_ssize_t)pattern[2] == SRE_MAXREPEAT) &&
  ------------------
  |  |   20|      0|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (1400:21): [True: 0, False: 0]
  ------------------
 1401|      0|                   state->ptr != ptr) {
  ------------------
  |  Branch (1401:20): [True: 0, False: 0]
  ------------------
 1402|       |                /* Save the Capture Group Marker state into the current
 1403|       |                   Context and back up the current highest number
 1404|       |                   Capture Group marker. */
 1405|      0|                LASTMARK_SAVE();
  ------------------
  |  |  417|      0|    do { \
  |  |  418|      0|        ctx->lastmark = state->lastmark; \
  |  |  419|      0|        ctx->lastindex = state->lastindex; \
  |  |  420|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (420:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1406|      0|                MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  535|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (535:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  536|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  537|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  538|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  472|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  473|      0|do { \
  |  |  |  |  474|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  475|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  476|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (476:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  477|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  478|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (478:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  479|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (479:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  480|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  481|      0|    } \
  |  |  |  |  482|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  483|      0|    state->data_stack_base += size; \
  |  |  |  |  484|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (484:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  539|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (539:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1407|       |
 1408|       |                /* zero-width match protection */
 1409|       |                /* Set the context's Input Stream pointer to be the
 1410|       |                   current Input Stream pointer from the global
 1411|       |                   state.  When the loop reaches the next iteration,
 1412|       |                   the context will then store the last known good
 1413|       |                   position with the global state holding the Input
 1414|       |                   Input Stream position that has been updated with
 1415|       |                   the most recent match.  Thus, if state's Input
 1416|       |                   stream remains the same as the one stored in the
 1417|       |                   current Context, we know we have successfully
 1418|       |                   matched an empty string and that all subsequent
 1419|       |                   matches will also be the empty string until the
 1420|       |                   maximum number of matches are counted, and because
 1421|       |                   of this, we could immediately stop at that point and
 1422|       |                   consider this match successful. */
 1423|      0|                ptr = state->ptr;
 1424|       |
 1425|       |                /* We have not reached the maximin matches, so try to
 1426|       |                   match once more. */
 1427|      0|                DO_JUMP0(JUMP_POSS_REPEAT_2, jump_poss_repeat_2,
  ------------------
  |  |  597|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, 0)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1428|      0|                         &pattern[3]);
 1429|       |
 1430|       |                /* Check to see if the last attempted match
 1431|       |                   succeeded. */
 1432|      0|                if (ret) {
  ------------------
  |  Branch (1432:21): [True: 0, False: 0]
  ------------------
 1433|       |                    /* Drop the saved highest number Capture Group
 1434|       |                       marker saved above and use the newly updated
 1435|       |                       value. */
 1436|      0|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1437|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1438|       |
 1439|       |                    /* Success, increment the count. */
 1440|      0|                    ctx->count++;
 1441|      0|                }
 1442|       |                /* Last attempted match failed. */
 1443|      0|                else {
 1444|       |                    /* Restore the previously saved highest number
 1445|       |                       Capture Group marker since the last iteration
 1446|       |                       did not match, then restore that to the global
 1447|       |                       state. */
 1448|      0|                    MARK_POP(ctx->lastmark);
  ------------------
  |  |  541|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (541:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  542|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  543|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 1); \
  |  |  ------------------
  |  |  |  |  489|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  490|      0|do { \
  |  |  |  |  491|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  492|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  493|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  494|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:9): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |  495|      0|        state->data_stack_base -= size; \
  |  |  |  |  496|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (496:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  544|      0|        MARK_TRACE("pop", (lastmark)); \
  |  |  545|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (545:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1449|      0|                    LASTMARK_RESTORE();
  ------------------
  |  |  422|      0|    do { \
  |  |  423|      0|        state->lastmark = ctx->lastmark; \
  |  |  424|      0|        state->lastindex = ctx->lastindex; \
  |  |  425|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (425:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1450|       |
 1451|       |                    /* Restore the global Input Stream pointer
 1452|       |                       since it can change after jumps. */
 1453|      0|                    state->ptr = ptr;
 1454|       |
 1455|       |                    /* We have sufficient matches, so exit loop. */
 1456|      0|                    break;
 1457|      0|                }
 1458|      0|            }
 1459|       |
 1460|      0|            state->save_marks--;
 1461|       |
 1462|       |            /* Evaluate Tail */
 1463|       |            /* Jump to end of pattern indicated by skip, and then skip
 1464|       |               the SUCCESS op code that follows it. */
 1465|      0|            pattern += pattern[0] + 1;
 1466|      0|            ptr = state->ptr;
 1467|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1468|       |
 1469|      0|        TARGET(SRE_OP_ATOMIC_GROUP):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1470|       |            /* Atomic Group Sub Pattern */
 1471|       |            /* <ATOMIC_GROUP> <skip> pattern <SUCCESS> tail */
 1472|      0|            TRACE(("|%p|%p|ATOMIC_GROUP\n", pattern, ptr));
 1473|       |
 1474|       |            /* Set the global Input pointer to this context's Input
 1475|       |               pointer */
 1476|      0|            state->ptr = ptr;
 1477|       |
 1478|       |            /* Evaluate the Atomic Group in a new context, terminating
 1479|       |               when the end of the group, represented by a SUCCESS op
 1480|       |               code, is reached. */
 1481|       |            /* Group Pattern begins at an offset of 1 code. */
 1482|      0|            DO_JUMP0(JUMP_ATOMIC_GROUP, jump_atomic_group,
  ------------------
  |  |  597|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, 0)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1483|      0|                     &pattern[1]);
 1484|       |
 1485|       |            /* Test Exit Condition */
 1486|      0|            RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1487|       |
 1488|      0|            if (ret == 0) {
  ------------------
  |  Branch (1488:17): [True: 0, False: 0]
  ------------------
 1489|       |                /* Atomic Group failed to Match. */
 1490|      0|                state->ptr = ptr;
 1491|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1492|      0|            }
 1493|       |
 1494|       |            /* Evaluate Tail */
 1495|       |            /* Jump to end of pattern indicated by skip, and then skip
 1496|       |               the SUCCESS op code that follows it. */
 1497|      0|            pattern += pattern[0];
 1498|      0|            ptr = state->ptr;
 1499|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1500|       |
 1501|      0|        TARGET(SRE_OP_GROUPREF):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1502|       |            /* match backreference */
 1503|      0|            TRACE(("|%p|%p|GROUPREF %d\n", pattern,
 1504|      0|                   ptr, pattern[0]));
 1505|      0|            {
 1506|      0|                int groupref = pattern[0] * 2;
 1507|      0|                if (groupref >= state->lastmark) {
  ------------------
  |  Branch (1507:21): [True: 0, False: 0]
  ------------------
 1508|      0|                    RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1509|      0|                } else {
 1510|      0|                    SRE_CHAR* p = (SRE_CHAR*) state->mark[groupref];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1511|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1512|      0|                    if (!p || !e || e < p)
  ------------------
  |  Branch (1512:25): [True: 0, False: 0]
  |  Branch (1512:31): [True: 0, False: 0]
  |  Branch (1512:37): [True: 0, False: 0]
  ------------------
 1513|      0|                        RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1514|      0|                    while (p < e) {
  ------------------
  |  Branch (1514:28): [True: 0, False: 0]
  ------------------
 1515|      0|                        if (ptr >= end || *ptr != *p)
  ------------------
  |  Branch (1515:29): [True: 0, False: 0]
  |  Branch (1515:43): [True: 0, False: 0]
  ------------------
 1516|      0|                            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1517|      0|                        p++;
 1518|      0|                        ptr++;
 1519|      0|                    }
 1520|      0|                }
 1521|      0|            }
 1522|      0|            pattern++;
 1523|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1524|       |
 1525|      0|        TARGET(SRE_OP_GROUPREF_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1526|       |            /* match backreference */
 1527|      0|            TRACE(("|%p|%p|GROUPREF_IGNORE %d\n", pattern,
 1528|      0|                   ptr, pattern[0]));
 1529|      0|            {
 1530|      0|                int groupref = pattern[0] * 2;
 1531|      0|                if (groupref >= state->lastmark) {
  ------------------
  |  Branch (1531:21): [True: 0, False: 0]
  ------------------
 1532|      0|                    RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1533|      0|                } else {
 1534|      0|                    SRE_CHAR* p = (SRE_CHAR*) state->mark[groupref];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1535|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1536|      0|                    if (!p || !e || e < p)
  ------------------
  |  Branch (1536:25): [True: 0, False: 0]
  |  Branch (1536:31): [True: 0, False: 0]
  |  Branch (1536:37): [True: 0, False: 0]
  ------------------
 1537|      0|                        RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1538|      0|                    while (p < e) {
  ------------------
  |  Branch (1538:28): [True: 0, False: 0]
  ------------------
 1539|      0|                        if (ptr >= end ||
  ------------------
  |  Branch (1539:29): [True: 0, False: 0]
  ------------------
 1540|      0|                            sre_lower_ascii(*ptr) != sre_lower_ascii(*p))
  ------------------
  |  Branch (1540:29): [True: 0, False: 0]
  ------------------
 1541|      0|                            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1542|      0|                        p++;
 1543|      0|                        ptr++;
 1544|      0|                    }
 1545|      0|                }
 1546|      0|            }
 1547|      0|            pattern++;
 1548|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1549|       |
 1550|      0|        TARGET(SRE_OP_GROUPREF_UNI_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1551|       |            /* match backreference */
 1552|      0|            TRACE(("|%p|%p|GROUPREF_UNI_IGNORE %d\n", pattern,
 1553|      0|                   ptr, pattern[0]));
 1554|      0|            {
 1555|      0|                int groupref = pattern[0] * 2;
 1556|      0|                if (groupref >= state->lastmark) {
  ------------------
  |  Branch (1556:21): [True: 0, False: 0]
  ------------------
 1557|      0|                    RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1558|      0|                } else {
 1559|      0|                    SRE_CHAR* p = (SRE_CHAR*) state->mark[groupref];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1560|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1561|      0|                    if (!p || !e || e < p)
  ------------------
  |  Branch (1561:25): [True: 0, False: 0]
  |  Branch (1561:31): [True: 0, False: 0]
  |  Branch (1561:37): [True: 0, False: 0]
  ------------------
 1562|      0|                        RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1563|      0|                    while (p < e) {
  ------------------
  |  Branch (1563:28): [True: 0, False: 0]
  ------------------
 1564|      0|                        if (ptr >= end ||
  ------------------
  |  Branch (1564:29): [True: 0, False: 0]
  ------------------
 1565|      0|                            sre_lower_unicode(*ptr) != sre_lower_unicode(*p))
  ------------------
  |  Branch (1565:29): [True: 0, False: 0]
  ------------------
 1566|      0|                            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1567|      0|                        p++;
 1568|      0|                        ptr++;
 1569|      0|                    }
 1570|      0|                }
 1571|      0|            }
 1572|      0|            pattern++;
 1573|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1574|       |
 1575|      0|        TARGET(SRE_OP_GROUPREF_LOC_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1576|       |            /* match backreference */
 1577|      0|            TRACE(("|%p|%p|GROUPREF_LOC_IGNORE %d\n", pattern,
 1578|      0|                   ptr, pattern[0]));
 1579|      0|            {
 1580|      0|                int groupref = pattern[0] * 2;
 1581|      0|                if (groupref >= state->lastmark) {
  ------------------
  |  Branch (1581:21): [True: 0, False: 0]
  ------------------
 1582|      0|                    RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1583|      0|                } else {
 1584|      0|                    SRE_CHAR* p = (SRE_CHAR*) state->mark[groupref];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1585|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1586|      0|                    if (!p || !e || e < p)
  ------------------
  |  Branch (1586:25): [True: 0, False: 0]
  |  Branch (1586:31): [True: 0, False: 0]
  |  Branch (1586:37): [True: 0, False: 0]
  ------------------
 1587|      0|                        RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1588|      0|                    while (p < e) {
  ------------------
  |  Branch (1588:28): [True: 0, False: 0]
  ------------------
 1589|      0|                        if (ptr >= end ||
  ------------------
  |  Branch (1589:29): [True: 0, False: 0]
  ------------------
 1590|      0|                            sre_lower_locale(*ptr) != sre_lower_locale(*p))
  ------------------
  |  Branch (1590:29): [True: 0, False: 0]
  ------------------
 1591|      0|                            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1592|      0|                        p++;
 1593|      0|                        ptr++;
 1594|      0|                    }
 1595|      0|                }
 1596|      0|            }
 1597|      0|            pattern++;
 1598|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1599|       |
 1600|      0|        TARGET(SRE_OP_GROUPREF_EXISTS):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1601|      0|            TRACE(("|%p|%p|GROUPREF_EXISTS %d\n", pattern,
 1602|      0|                   ptr, pattern[0]));
 1603|       |            /* <GROUPREF_EXISTS> <group> <skip> codeyes <JUMP> codeno ... */
 1604|      0|            {
 1605|      0|                int groupref = pattern[0] * 2;
 1606|      0|                if (groupref >= state->lastmark) {
  ------------------
  |  Branch (1606:21): [True: 0, False: 0]
  ------------------
 1607|      0|                    pattern += pattern[1];
 1608|      0|                    DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1609|      0|                } else {
 1610|      0|                    SRE_CHAR* p = (SRE_CHAR*) state->mark[groupref];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1611|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1612|      0|                    if (!p || !e || e < p) {
  ------------------
  |  Branch (1612:25): [True: 0, False: 0]
  |  Branch (1612:31): [True: 0, False: 0]
  |  Branch (1612:37): [True: 0, False: 0]
  ------------------
 1613|      0|                        pattern += pattern[1];
 1614|      0|                        DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1615|      0|                    }
 1616|      0|                }
 1617|      0|            }
 1618|      0|            pattern += 2;
 1619|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1620|       |
 1621|      0|        TARGET(SRE_OP_ASSERT):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1622|       |            /* assert subpattern */
 1623|       |            /* <ASSERT> <skip> <back> <pattern> */
 1624|      0|            TRACE(("|%p|%p|ASSERT %d\n", pattern,
 1625|      0|                   ptr, pattern[1]));
 1626|      0|            if ((uintptr_t)(ptr - (SRE_CHAR *)state->beginning) < pattern[1])
  ------------------
  |  Branch (1626:17): [True: 0, False: 0]
  ------------------
 1627|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1628|      0|            state->ptr = ptr - pattern[1];
 1629|      0|            DO_JUMP0(JUMP_ASSERT, jump_assert, pattern+2);
  ------------------
  |  |  597|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, 0)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1630|      0|            RETURN_ON_FAILURE(ret);
  ------------------
  |  |  449|      0|    do { RETURN_ON_ERROR(i); if (i == 0) RETURN_FAILURE; } while (0)
  |  |  ------------------
  |  |  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   do { RETURN_ON_ERROR(i); if (i == 0) RETURN_FAILURE; } while (0)
  |  |  ------------------
  |  |  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (449:34): [True: 0, False: 0]
  |  |  |  Branch (449:67): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1631|      0|            pattern += pattern[0];
 1632|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1633|       |
 1634|      0|        TARGET(SRE_OP_ASSERT_NOT):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1635|       |            /* assert not subpattern */
 1636|       |            /* <ASSERT_NOT> <skip> <back> <pattern> */
 1637|      0|            TRACE(("|%p|%p|ASSERT_NOT %d\n", pattern,
 1638|      0|                   ptr, pattern[1]));
 1639|      0|            if ((uintptr_t)(ptr - (SRE_CHAR *)state->beginning) >= pattern[1]) {
  ------------------
  |  Branch (1639:17): [True: 0, False: 0]
  ------------------
 1640|      0|                state->ptr = ptr - pattern[1];
 1641|      0|                LASTMARK_SAVE();
  ------------------
  |  |  417|      0|    do { \
  |  |  418|      0|        ctx->lastmark = state->lastmark; \
  |  |  419|      0|        ctx->lastindex = state->lastindex; \
  |  |  420|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (420:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1642|      0|                if (state->save_marks)
  ------------------
  |  Branch (1642:21): [True: 0, False: 0]
  ------------------
 1643|      0|                    MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  535|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (535:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  536|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  537|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  538|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  472|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  473|      0|do { \
  |  |  |  |  474|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  475|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  476|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (476:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  477|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  478|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (478:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  479|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (479:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  480|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  481|      0|    } \
  |  |  |  |  482|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  483|      0|    state->data_stack_base += size; \
  |  |  |  |  484|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (484:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  539|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (539:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1644|       |
 1645|      0|                DO_JUMP0(JUMP_ASSERT_NOT, jump_assert_not, pattern+2);
  ------------------
  |  |  597|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, 0)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1646|      0|                if (ret) {
  ------------------
  |  Branch (1646:21): [True: 0, False: 0]
  ------------------
 1647|      0|                    if (state->save_marks)
  ------------------
  |  Branch (1647:25): [True: 0, False: 0]
  ------------------
 1648|      0|                        MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1649|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1650|      0|                    RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1651|      0|                }
 1652|      0|                if (state->save_marks)
  ------------------
  |  Branch (1652:21): [True: 0, False: 0]
  ------------------
 1653|      0|                    MARK_POP(ctx->lastmark);
  ------------------
  |  |  541|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (541:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  542|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  543|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 1); \
  |  |  ------------------
  |  |  |  |  489|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  490|      0|do { \
  |  |  |  |  491|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  492|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  493|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  494|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:9): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |  495|      0|        state->data_stack_base -= size; \
  |  |  |  |  496|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (496:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  544|      0|        MARK_TRACE("pop", (lastmark)); \
  |  |  545|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (545:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1654|      0|                LASTMARK_RESTORE();
  ------------------
  |  |  422|      0|    do { \
  |  |  423|      0|        state->lastmark = ctx->lastmark; \
  |  |  424|      0|        state->lastindex = ctx->lastindex; \
  |  |  425|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (425:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1655|      0|            }
 1656|      0|            pattern += pattern[0];
 1657|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1658|       |
 1659|      0|        TARGET(SRE_OP_FAILURE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1660|       |            /* immediate failure */
 1661|      0|            TRACE(("|%p|%p|FAILURE\n", pattern, ptr));
 1662|      0|            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1663|       |
 1664|       |#if !USE_COMPUTED_GOTOS
 1665|       |        default:
 1666|       |#endif
 1667|       |        // Also any unused opcodes:
 1668|      0|        TARGET(SRE_OP_RANGE_UNI_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1669|      0|        TARGET(SRE_OP_SUBPATTERN):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1670|      0|        TARGET(SRE_OP_RANGE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1671|      0|        TARGET(SRE_OP_NEGATE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1672|      0|        TARGET(SRE_OP_BIGCHARSET):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1673|      0|        TARGET(SRE_OP_CHARSET):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1674|      0|            TRACE(("|%p|%p|UNKNOWN %d\n", pattern, ptr,
 1675|      0|                   pattern[-1]));
 1676|      0|            RETURN_ERROR(SRE_ERROR_ILLEGAL);
  ------------------
  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  ------------------
  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1677|       |
 1678|      0|    }
 1679|       |
 1680|      1|exit:
 1681|      1|    ctx_pos = ctx->last_ctx_pos;
 1682|      1|    jump = ctx->jump;
 1683|      1|    DATA_POP_DISCARD(ctx);
  ------------------
  |  |  510|      1|    DATA_STACK_POP_DISCARD(state, sizeof(*(x)))
  |  |  ------------------
  |  |  |  |  498|      1|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      1|do { \
  |  |  |  |  500|      1|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      1|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      1|    state->data_stack_base -= size; \
  |  |  |  |  503|      1|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1684|      1|    if (ctx_pos == -1) {
  ------------------
  |  Branch (1684:9): [True: 1, False: 0]
  ------------------
 1685|      1|        state->sigcount = sigcount;
 1686|      1|        return ret;
 1687|      1|    }
 1688|      0|    DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  514|      0|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  467|      0|do { \
  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  470|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1689|       |
 1690|      0|    switch (jump) {
  ------------------
  |  Branch (1690:13): [True: 0, False: 0]
  ------------------
 1691|      0|        case JUMP_MAX_UNTIL_2:
  ------------------
  |  |  561|      0|#define JUMP_MAX_UNTIL_2     2
  ------------------
  |  Branch (1691:9): [True: 0, False: 0]
  ------------------
 1692|      0|            TRACE(("|%p|%p|JUMP_MAX_UNTIL_2\n", pattern, ptr));
 1693|      0|            goto jump_max_until_2;
 1694|      0|        case JUMP_MAX_UNTIL_3:
  ------------------
  |  |  562|      0|#define JUMP_MAX_UNTIL_3     3
  ------------------
  |  Branch (1694:9): [True: 0, False: 0]
  ------------------
 1695|      0|            TRACE(("|%p|%p|JUMP_MAX_UNTIL_3\n", pattern, ptr));
 1696|      0|            goto jump_max_until_3;
 1697|      0|        case JUMP_MIN_UNTIL_2:
  ------------------
  |  |  564|      0|#define JUMP_MIN_UNTIL_2     5
  ------------------
  |  Branch (1697:9): [True: 0, False: 0]
  ------------------
 1698|      0|            TRACE(("|%p|%p|JUMP_MIN_UNTIL_2\n", pattern, ptr));
 1699|      0|            goto jump_min_until_2;
 1700|      0|        case JUMP_MIN_UNTIL_3:
  ------------------
  |  |  565|      0|#define JUMP_MIN_UNTIL_3     6
  ------------------
  |  Branch (1700:9): [True: 0, False: 0]
  ------------------
 1701|      0|            TRACE(("|%p|%p|JUMP_MIN_UNTIL_3\n", pattern, ptr));
 1702|      0|            goto jump_min_until_3;
 1703|      0|        case JUMP_BRANCH:
  ------------------
  |  |  570|      0|#define JUMP_BRANCH          11
  ------------------
  |  Branch (1703:9): [True: 0, False: 0]
  ------------------
 1704|      0|            TRACE(("|%p|%p|JUMP_BRANCH\n", pattern, ptr));
 1705|      0|            goto jump_branch;
 1706|      0|        case JUMP_MAX_UNTIL_1:
  ------------------
  |  |  560|      0|#define JUMP_MAX_UNTIL_1     1
  ------------------
  |  Branch (1706:9): [True: 0, False: 0]
  ------------------
 1707|      0|            TRACE(("|%p|%p|JUMP_MAX_UNTIL_1\n", pattern, ptr));
 1708|      0|            goto jump_max_until_1;
 1709|      0|        case JUMP_MIN_UNTIL_1:
  ------------------
  |  |  563|      0|#define JUMP_MIN_UNTIL_1     4
  ------------------
  |  Branch (1709:9): [True: 0, False: 0]
  ------------------
 1710|      0|            TRACE(("|%p|%p|JUMP_MIN_UNTIL_1\n", pattern, ptr));
 1711|      0|            goto jump_min_until_1;
 1712|      0|        case JUMP_POSS_REPEAT_1:
  ------------------
  |  |  573|      0|#define JUMP_POSS_REPEAT_1   14
  ------------------
  |  Branch (1712:9): [True: 0, False: 0]
  ------------------
 1713|      0|            TRACE(("|%p|%p|JUMP_POSS_REPEAT_1\n", pattern, ptr));
 1714|      0|            goto jump_poss_repeat_1;
 1715|      0|        case JUMP_POSS_REPEAT_2:
  ------------------
  |  |  574|      0|#define JUMP_POSS_REPEAT_2   15
  ------------------
  |  Branch (1715:9): [True: 0, False: 0]
  ------------------
 1716|      0|            TRACE(("|%p|%p|JUMP_POSS_REPEAT_2\n", pattern, ptr));
 1717|      0|            goto jump_poss_repeat_2;
 1718|      0|        case JUMP_REPEAT:
  ------------------
  |  |  566|      0|#define JUMP_REPEAT          7
  ------------------
  |  Branch (1718:9): [True: 0, False: 0]
  ------------------
 1719|      0|            TRACE(("|%p|%p|JUMP_REPEAT\n", pattern, ptr));
 1720|      0|            goto jump_repeat;
 1721|      0|        case JUMP_REPEAT_ONE_1:
  ------------------
  |  |  567|      0|#define JUMP_REPEAT_ONE_1    8
  ------------------
  |  Branch (1721:9): [True: 0, False: 0]
  ------------------
 1722|      0|            TRACE(("|%p|%p|JUMP_REPEAT_ONE_1\n", pattern, ptr));
 1723|      0|            goto jump_repeat_one_1;
 1724|      0|        case JUMP_REPEAT_ONE_2:
  ------------------
  |  |  568|      0|#define JUMP_REPEAT_ONE_2    9
  ------------------
  |  Branch (1724:9): [True: 0, False: 0]
  ------------------
 1725|      0|            TRACE(("|%p|%p|JUMP_REPEAT_ONE_2\n", pattern, ptr));
 1726|      0|            goto jump_repeat_one_2;
 1727|      0|        case JUMP_MIN_REPEAT_ONE:
  ------------------
  |  |  569|      0|#define JUMP_MIN_REPEAT_ONE  10
  ------------------
  |  Branch (1727:9): [True: 0, False: 0]
  ------------------
 1728|      0|            TRACE(("|%p|%p|JUMP_MIN_REPEAT_ONE\n", pattern, ptr));
 1729|      0|            goto jump_min_repeat_one;
 1730|      0|        case JUMP_ATOMIC_GROUP:
  ------------------
  |  |  575|      0|#define JUMP_ATOMIC_GROUP    16
  ------------------
  |  Branch (1730:9): [True: 0, False: 0]
  ------------------
 1731|      0|            TRACE(("|%p|%p|JUMP_ATOMIC_GROUP\n", pattern, ptr));
 1732|      0|            goto jump_atomic_group;
 1733|      0|        case JUMP_ASSERT:
  ------------------
  |  |  571|      0|#define JUMP_ASSERT          12
  ------------------
  |  Branch (1733:9): [True: 0, False: 0]
  ------------------
 1734|      0|            TRACE(("|%p|%p|JUMP_ASSERT\n", pattern, ptr));
 1735|      0|            goto jump_assert;
 1736|      0|        case JUMP_ASSERT_NOT:
  ------------------
  |  |  572|      0|#define JUMP_ASSERT_NOT      13
  ------------------
  |  Branch (1736:9): [True: 0, False: 0]
  ------------------
 1737|      0|            TRACE(("|%p|%p|JUMP_ASSERT_NOT\n", pattern, ptr));
 1738|      0|            goto jump_assert_not;
 1739|      0|        case JUMP_NONE:
  ------------------
  |  |  559|      0|#define JUMP_NONE            0
  ------------------
  |  Branch (1739:9): [True: 0, False: 0]
  ------------------
 1740|      0|            TRACE(("|%p|%p|RETURN %zd\n", pattern,
 1741|      0|                   ptr, ret));
 1742|      0|            break;
 1743|      0|    }
 1744|       |
 1745|      0|    return ret; /* should never get here */
 1746|      0|}

PyInit__stat:
  711|      2|{
  712|      2|    return PyModuleDef_Init(&statmodule);
  713|      2|}
_stat.c:stat_S_ISDIR:
  334|      2|stat_S_ISFUNC(S_ISDIR,
  ------------------
  |  |  326|      2|    {                                                          \
  |  |  327|      2|       mode_t mode = _PyLong_AsMode_t(omode);                   \
  |  |  328|      2|       if ((mode == (mode_t)-1) && PyErr_Occurred())           \
  |  |  ------------------
  |  |  |  Branch (328:12): [True: 0, False: 2]
  |  |  |  Branch (328:36): [True: 0, False: 0]
  |  |  ------------------
  |  |  329|      2|           return NULL;                                        \
  |  |  330|      2|       return PyBool_FromLong(isfunc(mode));                   \
  |  |  ------------------
  |  |  |  |  334|      2|stat_S_ISFUNC(S_ISDIR,
  |  |  ------------------
  |  |  331|      2|    }                                                          \
  ------------------
_stat.c:_PyLong_AsMode_t:
  294|      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++) {
  ------------------
  |  |  232|     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:
 2906|      2|{
 2907|      2|    return PyModuleDef_Init(&thread_module);
 2908|      2|}
_threadmodule.c:get_thread_state:
   58|    169|{
   59|    169|    void *state = _PyModule_GetState(module);
   60|    169|    assert(state != NULL);
  ------------------
  |  Branch (60:5): [True: 169, False: 0]
  ------------------
   61|    169|    return (thread_module_state *)state;
   62|    169|}
_threadmodule.c:_thread_allocate_lock_impl:
 2140|     81|{
 2141|     81|    thread_module_state *state = get_thread_state(module);
 2142|     81|    return lock_new_impl(state->lock_type);
 2143|     81|}
_threadmodule.c:lock_new_impl:
 1015|     81|{
 1016|     81|    lockobject *self = (lockobject *)type->tp_alloc(type, 0);
 1017|     81|    if (self == NULL) {
  ------------------
  |  Branch (1017:9): [True: 0, False: 81]
  ------------------
 1018|      0|        return NULL;
 1019|      0|    }
 1020|     81|    self->lock = (PyMutex){0};
 1021|     81|    return (PyObject *)self;
 1022|     81|}
_threadmodule.c:_thread_get_ident_impl:
 2167|    224|{
 2168|    224|    PyThread_ident_t ident = PyThread_get_thread_ident_ex();
 2169|    224|    if (ident == PYTHREAD_INVALID_THREAD_ID) {
  ------------------
  |  |   13|    224|#define PYTHREAD_INVALID_THREAD_ID ((unsigned long)-1)
  ------------------
  |  Branch (2169:9): [True: 0, False: 224]
  ------------------
 2170|      0|        PyErr_SetString(ThreadError, "no current thread ident");
  ------------------
  |  |   23|      0|#define ThreadError PyExc_RuntimeError
  ------------------
 2171|      0|        return NULL;
 2172|      0|    }
 2173|    224|    return PyLong_FromUnsignedLongLong(ident);
 2174|    224|}
_threadmodule.c:thread_module_exec:
 2725|      2|{
 2726|      2|    thread_module_state *state = get_thread_state(module);
 2727|      2|    PyObject *d = PyModule_GetDict(module);
 2728|       |
 2729|       |    // Initialize the C thread library
 2730|      2|    PyThread_init_thread();
 2731|       |
 2732|       |    // _ThreadHandle
 2733|      2|    state->thread_handle_type = (PyTypeObject *)PyType_FromSpec(&ThreadHandle_Type_spec);
 2734|      2|    if (state->thread_handle_type == NULL) {
  ------------------
  |  Branch (2734:9): [True: 0, False: 2]
  ------------------
 2735|      0|        return -1;
 2736|      0|    }
 2737|      2|    if (PyDict_SetItemString(d, "_ThreadHandle", (PyObject *)state->thread_handle_type) < 0) {
  ------------------
  |  Branch (2737:9): [True: 0, False: 2]
  ------------------
 2738|      0|        return -1;
 2739|      0|    }
 2740|       |
 2741|       |    // Lock
 2742|      2|    state->lock_type = (PyTypeObject *)PyType_FromModuleAndSpec(module, &lock_type_spec, NULL);
 2743|      2|    if (state->lock_type == NULL) {
  ------------------
  |  Branch (2743:9): [True: 0, False: 2]
  ------------------
 2744|      0|        return -1;
 2745|      0|    }
 2746|      2|    if (PyModule_AddType(module, state->lock_type) < 0) {
  ------------------
  |  Branch (2746:9): [True: 0, False: 2]
  ------------------
 2747|      0|        return -1;
 2748|      0|    }
 2749|       |    // Old alias: lock -> LockType
 2750|      2|    if (PyDict_SetItemString(d, "LockType", (PyObject *)state->lock_type) < 0) {
  ------------------
  |  Branch (2750:9): [True: 0, False: 2]
  ------------------
 2751|      0|        return -1;
 2752|      0|    }
 2753|       |
 2754|       |    // RLock
 2755|      2|    state->rlock_type = (PyTypeObject *)PyType_FromModuleAndSpec(module, &rlock_type_spec, NULL);
 2756|      2|    if (state->rlock_type == NULL) {
  ------------------
  |  Branch (2756:9): [True: 0, False: 2]
  ------------------
 2757|      0|        return -1;
 2758|      0|    }
 2759|      2|    if (PyModule_AddType(module, state->rlock_type) < 0) {
  ------------------
  |  Branch (2759:9): [True: 0, False: 2]
  ------------------
 2760|      0|        return -1;
 2761|      0|    }
 2762|       |
 2763|       |    // Local dummy
 2764|      2|    state->local_dummy_type = (PyTypeObject *)PyType_FromSpec(&local_dummy_type_spec);
 2765|      2|    if (state->local_dummy_type == NULL) {
  ------------------
  |  Branch (2765:9): [True: 0, False: 2]
  ------------------
 2766|      0|        return -1;
 2767|      0|    }
 2768|       |
 2769|       |    // Local
 2770|      2|    state->local_type = (PyTypeObject *)PyType_FromModuleAndSpec(module, &local_type_spec, NULL);
 2771|      2|    if (state->local_type == NULL) {
  ------------------
  |  Branch (2771:9): [True: 0, False: 2]
  ------------------
 2772|      0|        return -1;
 2773|      0|    }
 2774|      2|    if (PyModule_AddType(module, state->local_type) < 0) {
  ------------------
  |  Branch (2774:9): [True: 0, False: 2]
  ------------------
 2775|      0|        return -1;
 2776|      0|    }
 2777|       |
 2778|       |    // Add module attributes
 2779|      2|    if (PyDict_SetItemString(d, "error", ThreadError) < 0) {
  ------------------
  |  |   23|      2|#define ThreadError PyExc_RuntimeError
  ------------------
  |  Branch (2779:9): [True: 0, False: 2]
  ------------------
 2780|      0|        return -1;
 2781|      0|    }
 2782|       |
 2783|       |    // _ExceptHookArgs type
 2784|      2|    state->excepthook_type = PyStructSequence_NewType(&ExceptHookArgs_desc);
 2785|      2|    if (state->excepthook_type == NULL) {
  ------------------
  |  Branch (2785:9): [True: 0, False: 2]
  ------------------
 2786|      0|        return -1;
 2787|      0|    }
 2788|      2|    if (PyModule_AddType(module, state->excepthook_type) < 0) {
  ------------------
  |  Branch (2788:9): [True: 0, False: 2]
  ------------------
 2789|      0|        return -1;
 2790|      0|    }
 2791|       |
 2792|       |    // TIMEOUT_MAX
 2793|      2|    double timeout_max = (double)PY_TIMEOUT_MAX * 1e-6;
 2794|      2|    double time_max = PyTime_AsSecondsDouble(PyTime_MAX);
  ------------------
  |  |   12|      2|#define PyTime_MAX INT64_MAX
  ------------------
 2795|      2|    timeout_max = Py_MIN(timeout_max, time_max);
  ------------------
  |  |  127|      2|       __extension__ \
  |  |  128|      2|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      2|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      2|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2796|       |    // Round towards minus infinity
 2797|      2|    timeout_max = floor(timeout_max);
 2798|       |
 2799|      2|    if (PyModule_Add(module, "TIMEOUT_MAX",
  ------------------
  |  Branch (2799:9): [True: 0, False: 2]
  ------------------
 2800|      2|                        PyFloat_FromDouble(timeout_max)) < 0) {
 2801|      0|        return -1;
 2802|      0|    }
 2803|       |
 2804|      2|    llist_init(&state->shutdown_handles);
 2805|       |
 2806|      2|#ifdef _PYTHREAD_NAME_MAXLEN
 2807|      2|    if (PyModule_AddIntConstant(module, "_NAME_MAXLEN",
  ------------------
  |  Branch (2807:9): [True: 0, False: 2]
  ------------------
 2808|      2|                                _PYTHREAD_NAME_MAXLEN) < 0) {
  ------------------
  |  | 2029|      2|#define _PYTHREAD_NAME_MAXLEN 15
  ------------------
 2809|      0|        return -1;
 2810|      0|    }
 2811|      2|#endif
 2812|       |
 2813|       |#ifdef MS_WINDOWS
 2814|       |    HMODULE kernelbase = GetModuleHandleW(L"kernelbase.dll");
 2815|       |    if (kernelbase != NULL) {
 2816|       |        if (pGetThreadDescription == NULL) {
 2817|       |            pGetThreadDescription = (PF_GET_THREAD_DESCRIPTION)GetProcAddress(
 2818|       |                                        kernelbase, "GetThreadDescription");
 2819|       |        }
 2820|       |        if (pSetThreadDescription == NULL) {
 2821|       |            pSetThreadDescription = (PF_SET_THREAD_DESCRIPTION)GetProcAddress(
 2822|       |                                        kernelbase, "SetThreadDescription");
 2823|       |        }
 2824|       |    }
 2825|       |
 2826|       |    if (pGetThreadDescription == NULL) {
 2827|       |        if (PyObject_DelAttrString(module, "_get_name") < 0) {
 2828|       |            return -1;
 2829|       |        }
 2830|       |    }
 2831|       |    if (pSetThreadDescription == NULL) {
 2832|       |        if (PyObject_DelAttrString(module, "set_name") < 0) {
 2833|       |            return -1;
 2834|       |        }
 2835|       |    }
 2836|       |#endif
 2837|       |
 2838|      2|    return 0;
 2839|      2|}
_threadmodule.c:lock_dealloc:
  791|     81|{
  792|     81|    PyObject_GC_UnTrack(self);
  793|     81|    PyObject_ClearWeakRefs(self);
  794|     81|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|     81|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  795|     81|    tp->tp_free(self);
  796|     81|    Py_DECREF(tp);
  ------------------
  |  |  430|     81|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  797|     81|}
_threadmodule.c:lock_acquire_parse_timeout:
  802|    224|{
  803|       |    // XXX Use PyThread_ParseTimeoutArg().
  804|       |
  805|    224|    const PyTime_t unset_timeout = _PyTime_FromSeconds(-1);
  806|    224|    *timeout = unset_timeout;
  807|       |
  808|    224|    if (timeout_obj
  ------------------
  |  Branch (808:9): [True: 0, False: 224]
  ------------------
  809|      0|        && _PyTime_FromSecondsObject(timeout,
  ------------------
  |  Branch (809:12): [True: 0, False: 0]
  ------------------
  810|      0|                                     timeout_obj, _PyTime_ROUND_TIMEOUT) < 0)
  811|      0|        return -1;
  812|       |
  813|    224|    if (!blocking && *timeout != unset_timeout ) {
  ------------------
  |  Branch (813:9): [True: 0, False: 224]
  |  Branch (813:22): [True: 0, False: 0]
  ------------------
  814|      0|        PyErr_SetString(PyExc_ValueError,
  815|      0|                        "can't specify a timeout for a non-blocking call");
  816|      0|        return -1;
  817|      0|    }
  818|    224|    if (*timeout < 0 && *timeout != unset_timeout) {
  ------------------
  |  Branch (818:9): [True: 224, False: 0]
  |  Branch (818:25): [True: 0, False: 224]
  ------------------
  819|      0|        PyErr_SetString(PyExc_ValueError,
  820|      0|                        "timeout value must be a non-negative number");
  821|      0|        return -1;
  822|      0|    }
  823|    224|    if (!blocking)
  ------------------
  |  Branch (823:9): [True: 0, False: 224]
  ------------------
  824|      0|        *timeout = 0;
  825|    224|    else if (*timeout != unset_timeout) {
  ------------------
  |  Branch (825:14): [True: 0, False: 224]
  ------------------
  826|      0|        PyTime_t microseconds;
  827|       |
  828|      0|        microseconds = _PyTime_AsMicroseconds(*timeout, _PyTime_ROUND_TIMEOUT);
  829|      0|        if (microseconds > PY_TIMEOUT_MAX) {
  ------------------
  |  Branch (829:13): [True: 0, False: 0]
  ------------------
  830|      0|            PyErr_SetString(PyExc_OverflowError,
  831|      0|                            "timeout value is too large");
  832|      0|            return -1;
  833|      0|        }
  834|      0|    }
  835|    224|    return 0;
  836|    224|}
_threadmodule.c:get_thread_state_by_cls:
   66|     82|{
   67|       |    // Use PyType_GetModuleByDef() to handle (R)Lock subclasses.
   68|     82|    PyObject *module = PyType_GetModuleByDef(cls, &thread_module);
   69|     82|    if (module == NULL) {
  ------------------
  |  Branch (69:9): [True: 0, False: 82]
  ------------------
   70|      0|        return NULL;
   71|      0|    }
   72|     82|    return get_thread_state(module);
   73|     82|}
_threadmodule.c:rlock_dealloc:
 1083|     81|{
 1084|     81|    PyObject_GC_UnTrack(self);
 1085|     81|    PyObject_ClearWeakRefs(self);
 1086|     81|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|     81|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1087|     81|    tp->tp_free(self);
 1088|     81|    Py_DECREF(tp);
  ------------------
  |  |  430|     81|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1089|     81|}
_threadmodule.c:_thread_RLock_acquire_impl:
 1116|    224|{
 1117|    224|    PyTime_t timeout;
 1118|       |
 1119|    224|    if (lock_acquire_parse_timeout(timeoutobj, blocking, &timeout) < 0) {
  ------------------
  |  Branch (1119:9): [True: 0, False: 224]
  ------------------
 1120|      0|        return NULL;
 1121|      0|    }
 1122|       |
 1123|    224|    PyLockStatus r = _PyRecursiveMutex_LockTimed(
 1124|    224|        &self->lock, timeout,
 1125|    224|        _PY_LOCK_PYTHONLOCK | _PY_LOCK_HANDLE_SIGNALS | _PY_LOCK_DETACH);
 1126|    224|    if (r == PY_LOCK_INTR) {
  ------------------
  |  Branch (1126:9): [True: 0, False: 224]
  ------------------
 1127|      0|        assert(PyErr_Occurred());
  ------------------
  |  Branch (1127:9): [True: 0, False: 0]
  ------------------
 1128|      0|        return NULL;
 1129|      0|    }
 1130|    224|    if (r == PY_LOCK_FAILURE && PyErr_Occurred()) {
  ------------------
  |  Branch (1130:9): [True: 0, False: 224]
  |  Branch (1130:33): [True: 0, False: 0]
  ------------------
 1131|      0|        return NULL;
 1132|      0|    }
 1133|       |
 1134|    224|    return PyBool_FromLong(r == PY_LOCK_ACQUIRED);
 1135|    224|}
_threadmodule.c:_thread_RLock_release_impl:
 1168|    224|{
 1169|    224|    if (_PyRecursiveMutex_TryUnlock(&self->lock) < 0) {
  ------------------
  |  Branch (1169:9): [True: 0, False: 224]
  ------------------
 1170|      0|        PyErr_SetString(PyExc_RuntimeError,
 1171|      0|                        "cannot release un-acquired lock");
 1172|      0|        return NULL;
 1173|      0|    }
 1174|    224|    Py_RETURN_NONE;
  ------------------
  |  |  628|    224|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    224|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1175|    224|}
_threadmodule.c:_thread_RLock___enter___impl:
 1146|    224|{
 1147|       |    return _thread_RLock_acquire_impl(self, 1, NULL);
 1148|    224|}
_threadmodule.c:_thread_RLock___exit___impl:
 1192|    224|{
 1193|    224|    return _thread_RLock_release_impl(self);
 1194|    224|}
_threadmodule.c:rlock_new_impl:
 1299|     82|{
 1300|     82|    rlockobject *self = (rlockobject *) type->tp_alloc(type, 0);
 1301|     82|    if (self == NULL) {
  ------------------
  |  Branch (1301:9): [True: 0, False: 82]
  ------------------
 1302|      0|        return NULL;
 1303|      0|    }
 1304|     82|    self->lock = (_PyRecursiveMutex){0};
 1305|     82|    return (PyObject *) self;
 1306|     82|}
_threadmodule.c:thread_module_traverse:
 2844|      4|{
 2845|      4|    thread_module_state *state = get_thread_state(module);
 2846|      4|    Py_VISIT(state->excepthook_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2847|      4|    Py_VISIT(state->lock_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2848|      4|    Py_VISIT(state->rlock_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2849|      4|    Py_VISIT(state->local_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2850|      4|    Py_VISIT(state->local_dummy_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2851|      4|    Py_VISIT(state->thread_handle_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2852|      4|    return 0;
 2853|      4|}

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|    112|{
   59|    112|    if (_PyDict_DelItemIf(dct, key, is_dead_weakref, NULL) < 0) {
  ------------------
  |  Branch (59:9): [True: 0, False: 112]
  ------------------
   60|      0|        return NULL;
   61|      0|    }
   62|    112|    Py_RETURN_NONE;
  ------------------
  |  |  628|    112|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    112|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
   63|    112|}
_weakref.c:is_dead_weakref:
   35|    112|{
   36|    112|    if (!PyWeakref_Check(value)) {
  ------------------
  |  |   23|    112|        (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   15|    112|#define PyWeakref_CheckRef(op) PyObject_TypeCheck((op), &_PyWeakref_RefType)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|    224|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 112, 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|    112|    return _PyWeakref_IS_DEAD(value);
   41|    112|}
_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:
  602|      2|int LLVMFuzzerInitialize(int *argc, char ***argv) {
  603|      2|    PyConfig config;
  604|      2|    PyConfig_InitPythonConfig(&config);
  605|      2|    config.install_signal_handlers = 0;
  606|       |    /* Raise the limit above the default allows exercising larger things
  607|       |     * now that we fall back to the _pylong module for large values. */
  608|      2|    config.int_max_str_digits = 8086;
  609|      2|    PyStatus status;
  610|      2|    status = PyConfig_SetBytesString(&config, &config.program_name, *argv[0]);
  611|      2|    if (PyStatus_Exception(status)) {
  ------------------
  |  Branch (611:9): [True: 0, False: 2]
  ------------------
  612|      0|        goto fail;
  613|      0|    }
  614|       |
  615|      2|    status = Py_InitializeFromConfig(&config);
  616|      2|    if (PyStatus_Exception(status)) {
  ------------------
  |  Branch (616:9): [True: 0, False: 2]
  ------------------
  617|      0|        goto fail;
  618|      0|    }
  619|      2|    PyConfig_Clear(&config);
  620|       |
  621|      2|    return 0;
  622|       |
  623|      0|fail:
  624|      0|    PyConfig_Clear(&config);
  625|      0|    Py_ExitStatusException(status);
  626|      2|}
LLVMFuzzerTestOneInput:
  635|     37|int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  636|     37|    assert(Py_IsInitialized());
  637|       |
  638|     37|    int rv = 0;
  639|       |
  640|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_builtin_float)
  641|       |    rv |= _run_fuzz(data, size, fuzz_builtin_float);
  642|       |#endif
  643|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_builtin_int)
  644|       |    rv |= _run_fuzz(data, size, fuzz_builtin_int);
  645|       |#endif
  646|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_builtin_unicode)
  647|       |    rv |= _run_fuzz(data, size, fuzz_builtin_unicode);
  648|       |#endif
  649|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_struct_unpack)
  650|       |    static int STRUCT_UNPACK_INITIALIZED = 0;
  651|       |    if (!STRUCT_UNPACK_INITIALIZED && !init_struct_unpack()) {
  652|       |        PyErr_Print();
  653|       |        abort();
  654|       |    } else {
  655|       |        STRUCT_UNPACK_INITIALIZED = 1;
  656|       |    }
  657|       |    rv |= _run_fuzz(data, size, fuzz_struct_unpack);
  658|       |#endif
  659|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_json_loads)
  660|       |    static int JSON_LOADS_INITIALIZED = 0;
  661|       |    if (!JSON_LOADS_INITIALIZED && !init_json_loads()) {
  662|       |        PyErr_Print();
  663|       |        abort();
  664|       |    } else {
  665|       |        JSON_LOADS_INITIALIZED = 1;
  666|       |    }
  667|       |
  668|       |    rv |= _run_fuzz(data, size, fuzz_json_loads);
  669|       |#endif
  670|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_sre_compile)
  671|       |    static int SRE_COMPILE_INITIALIZED = 0;
  672|       |    if (!SRE_COMPILE_INITIALIZED && !init_sre_compile()) {
  673|       |        PyErr_Print();
  674|       |        abort();
  675|       |    } else {
  676|       |        SRE_COMPILE_INITIALIZED = 1;
  677|       |    }
  678|       |
  679|       |    if (SRE_COMPILE_INITIALIZED) {
  680|       |        rv |= _run_fuzz(data, size, fuzz_sre_compile);
  681|       |    }
  682|       |#endif
  683|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_sre_match)
  684|       |    static int SRE_MATCH_INITIALIZED = 0;
  685|       |    if (!SRE_MATCH_INITIALIZED && !init_sre_match()) {
  686|       |        PyErr_Print();
  687|       |        abort();
  688|       |    } else {
  689|       |        SRE_MATCH_INITIALIZED = 1;
  690|       |    }
  691|       |
  692|       |    rv |= _run_fuzz(data, size, fuzz_sre_match);
  693|       |#endif
  694|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_csv_reader)
  695|       |    static int CSV_READER_INITIALIZED = 0;
  696|       |    if (!CSV_READER_INITIALIZED && !init_csv_reader()) {
  697|       |        PyErr_Print();
  698|       |        abort();
  699|       |    } else {
  700|       |        CSV_READER_INITIALIZED = 1;
  701|       |    }
  702|       |
  703|       |    rv |= _run_fuzz(data, size, fuzz_csv_reader);
  704|       |#endif
  705|     37|#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_ast_literal_eval)
  706|     37|    static int AST_LITERAL_EVAL_INITIALIZED = 0;
  707|     37|    if (!AST_LITERAL_EVAL_INITIALIZED && !init_ast_literal_eval()) {
  ------------------
  |  Branch (707:9): [True: 1, False: 36]
  |  Branch (707:42): [True: 0, False: 1]
  ------------------
  708|      0|        PyErr_Print();
  709|      0|        abort();
  710|     37|    } else {
  711|     37|        AST_LITERAL_EVAL_INITIALIZED = 1;
  712|     37|    }
  713|       |
  714|     37|    rv |= _run_fuzz(data, size, fuzz_ast_literal_eval);
  715|     37|#endif
  716|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_elementtree_parsewhole)
  717|       |    static int ELEMENTTREE_PARSEWHOLE_INITIALIZED = 0;
  718|       |    if (!ELEMENTTREE_PARSEWHOLE_INITIALIZED && !init_elementtree_parsewhole()) {
  719|       |        PyErr_Print();
  720|       |        abort();
  721|       |    } else {
  722|       |        ELEMENTTREE_PARSEWHOLE_INITIALIZED = 1;
  723|       |    }
  724|       |
  725|       |    rv |= _run_fuzz(data, size, fuzz_elementtree_parsewhole);
  726|       |#endif
  727|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_pycompile)
  728|       |    rv |= _run_fuzz(data, size, fuzz_pycompile);
  729|       |#endif
  730|     37|  return rv;
  731|     37|}
fuzzer.c:init_ast_literal_eval:
  402|      1|static int init_ast_literal_eval(void) {
  403|      1|    PyObject* ast_module = PyImport_ImportModule("ast");
  404|      1|    if (ast_module == NULL) {
  ------------------
  |  Branch (404:9): [True: 0, False: 1]
  ------------------
  405|      0|        return 0;
  406|      0|    }
  407|      1|    ast_literal_eval_method = PyObject_GetAttrString(ast_module, "literal_eval");
  408|       |    return ast_literal_eval_method != NULL;
  409|      1|}
fuzzer.c:_run_fuzz:
  586|     37|static int _run_fuzz(const uint8_t *data, size_t size, int(*fuzzer)(const char* , size_t)) {
  587|     37|    int rv = fuzzer((const char*) data, size);
  588|     37|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (588:9): [True: 0, False: 37]
  ------------------
  589|       |        /* Fuzz tests should handle expected errors for themselves.
  590|       |           This is last-ditch check in case they didn't. */
  591|      0|        PyErr_Print();
  592|      0|        abort();
  593|      0|    }
  594|       |    /* Someday the return value might mean something, propagate it. */
  595|     37|    return rv;
  596|     37|}
fuzzer.c:fuzz_ast_literal_eval:
  411|     37|static int fuzz_ast_literal_eval(const char* data, size_t size) {
  412|     37|    if (size > MAX_AST_LITERAL_EVAL_TEST_SIZE) {
  ------------------
  |  |  399|     37|#define MAX_AST_LITERAL_EVAL_TEST_SIZE 0x100000
  ------------------
  |  Branch (412:9): [True: 0, False: 37]
  ------------------
  413|      0|        return 0;
  414|      0|    }
  415|       |    /* Ignore non null-terminated strings since ast can't handle
  416|       |       embedded nulls */
  417|     37|    if (memchr(data, '\0', size) == NULL) {
  ------------------
  |  Branch (417:9): [True: 0, False: 37]
  ------------------
  418|      0|        return 0;
  419|      0|    }
  420|       |
  421|     37|    PyObject* s = PyUnicode_FromString(data);
  422|       |    /* Ignore exceptions until we have a valid string */
  423|     37|    if (s == NULL) {
  ------------------
  |  Branch (423:9): [True: 4, False: 33]
  ------------------
  424|      4|        PyErr_Clear();
  425|      4|        return 0;
  426|      4|    }
  427|       |
  428|     33|    PyObject* literal = PyObject_CallOneArg(ast_literal_eval_method, s);
  429|       |    /* Ignore some common errors thrown by ast.literal_eval */
  430|     33|    if (literal == NULL && (PyErr_ExceptionMatches(PyExc_ValueError) ||
  ------------------
  |  Branch (430:9): [True: 32, False: 1]
  |  Branch (430:29): [True: 8, False: 24]
  ------------------
  431|     24|                            PyErr_ExceptionMatches(PyExc_TypeError) ||
  ------------------
  |  Branch (431:29): [True: 0, False: 24]
  ------------------
  432|     24|                            PyErr_ExceptionMatches(PyExc_SyntaxError) ||
  ------------------
  |  Branch (432:29): [True: 24, False: 0]
  ------------------
  433|      0|                            PyErr_ExceptionMatches(PyExc_MemoryError) ||
  ------------------
  |  Branch (433:29): [True: 0, False: 0]
  ------------------
  434|      0|                            PyErr_ExceptionMatches(PyExc_OverflowError) ||
  ------------------
  |  Branch (434:29): [True: 0, False: 0]
  ------------------
  435|      0|                            PyErr_ExceptionMatches(PyExc_RecursionError))
  ------------------
  |  Branch (435:29): [True: 0, False: 0]
  ------------------
  436|     33|    ) {
  437|     32|        PyErr_Clear();
  438|     32|    }
  439|       |
  440|     33|    Py_XDECREF(literal);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  441|     33|    Py_DECREF(s);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  442|     33|    return 0;
  443|     37|}

_PyAtExit_Init:
   75|      2|{
   76|      2|    struct atexit_state *state = &interp->atexit;
   77|       |    // _PyAtExit_Init() must only be called once
   78|      2|    assert(state->callbacks == NULL);
  ------------------
  |  Branch (78:5): [True: 2, False: 0]
  ------------------
   79|       |
   80|      2|    state->callbacks = PyList_New(0);
   81|      2|    if (state->callbacks == NULL) {
  ------------------
  |  Branch (81:9): [True: 0, False: 2]
  ------------------
   82|      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)}
  |  |  ------------------
  ------------------
   83|      0|    }
   84|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
   85|      2|}

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

_codecsmodule.c:_codecs_lookup_error:
 2679|     12|{
 2680|     12|    PyObject *return_value = NULL;
 2681|     12|    const char *name;
 2682|       |
 2683|     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 (2683:9): [True: 0, False: 12]
  ------------------
 2684|      0|        _PyArg_BadArgument("lookup_error", "argument", "str", arg);
 2685|      0|        goto exit;
 2686|      0|    }
 2687|     12|    name = _PyUnicode_AsUTF8NoNUL(arg);
 2688|     12|    if (name == NULL) {
  ------------------
  |  Branch (2688:9): [True: 0, False: 12]
  ------------------
 2689|      0|        goto exit;
 2690|      0|    }
 2691|     12|    return_value = _codecs_lookup_error_impl(module, name);
 2692|       |
 2693|     12|exit:
 2694|     12|    return return_value;
 2695|     12|}
_codecsmodule.c:_codecs__normalize_encoding:
 2713|      2|{
 2714|      2|    PyObject *return_value = NULL;
 2715|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 2716|       |
 2717|      2|    #define NUM_KEYWORDS 1
 2718|      2|    static struct {
 2719|      2|        PyGC_Head _this_is_not_used;
 2720|      2|        PyObject_VAR_HEAD
 2721|      2|        Py_hash_t ob_hash;
 2722|      2|        PyObject *ob_item[NUM_KEYWORDS];
 2723|      2|    } _kwtuple = {
 2724|      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|    },
  ------------------
 2725|      2|        .ob_hash = -1,
 2726|      2|        .ob_item = { &_Py_ID(encoding), },
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2727|      2|    };
 2728|      2|    #undef NUM_KEYWORDS
 2729|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 2730|       |
 2731|       |    #else  // !Py_BUILD_CORE
 2732|       |    #  define KWTUPLE NULL
 2733|       |    #endif  // !Py_BUILD_CORE
 2734|       |
 2735|      2|    static const char * const _keywords[] = {"encoding", NULL};
 2736|      2|    static _PyArg_Parser _parser = {
 2737|      2|        .keywords = _keywords,
 2738|      2|        .fname = "_normalize_encoding",
 2739|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  | 2729|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 2740|      2|    };
 2741|      2|    #undef KWTUPLE
 2742|      2|    PyObject *argsbuf[1];
 2743|      2|    PyObject *encoding;
 2744|       |
 2745|      2|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 2, False: 0]
  |  |  ------------------
  |  |   91|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 2, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 2]
  |  |  |  Branch (91:43): [True: 2, False: 0]
  |  |  |  Branch (91:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   92|      2|      (args) : \
  |  |   93|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 2746|      2|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 2747|      2|    if (!args) {
  ------------------
  |  Branch (2747:9): [True: 0, False: 2]
  ------------------
 2748|      0|        goto exit;
 2749|      0|    }
 2750|      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 (2750:9): [True: 0, False: 2]
  ------------------
 2751|      0|        _PyArg_BadArgument("_normalize_encoding", "argument 'encoding'", "str", args[0]);
 2752|      0|        goto exit;
 2753|      0|    }
 2754|      2|    encoding = args[0];
 2755|      2|    return_value = _codecs__normalize_encoding_impl(module, encoding);
 2756|       |
 2757|      2|exit:
 2758|      2|    return return_value;
 2759|      2|}

_collectionsmodule.c:tuplegetter_new:
  679|      9|{
  680|      9|    PyObject *return_value = NULL;
  681|      9|    PyTypeObject *base_tp = clinic_state()->tuplegetter_type;
  ------------------
  |  |   58|      9|#define clinic_state() (get_module_state_by_cls(type))
  ------------------
  682|      9|    Py_ssize_t index;
  683|      9|    PyObject *doc;
  684|       |
  685|      9|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (685:10): [True: 9, False: 0]
  |  Branch (685:29): [True: 0, False: 0]
  ------------------
  686|      9|        !_PyArg_NoKeywords("_tuplegetter", kwargs)) {
  ------------------
  |  |   32|      9|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 9, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  687|      0|        goto exit;
  688|      0|    }
  689|      9|    if (!_PyArg_CheckPositional("_tuplegetter", PyTuple_GET_SIZE(args), 2, 2)) {
  ------------------
  |  |   38|      9|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 9, False: 0]
  |  |  |  Branch (38:27): [True: 9, False: 0]
  |  |  ------------------
  |  |   39|      9|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  690|      0|        goto exit;
  691|      0|    }
  692|      9|    {
  693|      9|        Py_ssize_t ival = -1;
  694|      9|        PyObject *iobj = _PyNumber_Index(PyTuple_GET_ITEM(args, 0));
  ------------------
  |  |   29|      9|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      9|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (694:42): [True: 9, False: 0]
  ------------------
  695|      9|        if (iobj != NULL) {
  ------------------
  |  Branch (695:13): [True: 9, False: 0]
  ------------------
  696|      9|            ival = PyLong_AsSsize_t(iobj);
  697|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  698|      9|        }
  699|      9|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (699:13): [True: 0, False: 9]
  |  Branch (699:27): [True: 0, False: 0]
  ------------------
  700|      0|            goto exit;
  701|      0|        }
  702|      9|        index = ival;
  703|      9|    }
  704|      9|    doc = PyTuple_GET_ITEM(args, 1);
  ------------------
  |  |   29|      9|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      9|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (704:11): [True: 9, False: 0]
  ------------------
  705|      0|    return_value = tuplegetter_new_impl(type, index, doc);
  706|       |
  707|      9|exit:
  708|      9|    return return_value;
  709|      9|}

_threadmodule.c:_thread_allocate_lock:
  950|     81|{
  951|     81|    return _thread_allocate_lock_impl(module);
  952|     81|}
_threadmodule.c:_thread_get_ident:
  975|    224|{
  976|    224|    return _thread_get_ident_impl(module);
  977|    224|}
_threadmodule.c:_thread_RLock___enter__:
  513|    224|{
  514|    224|    return _thread_RLock___enter___impl((rlockobject *)self);
  515|    224|}
_threadmodule.c:_thread_RLock___exit__:
  559|    224|{
  560|    224|    PyObject *return_value = NULL;
  561|    224|    PyObject *exc_type;
  562|    224|    PyObject *exc_value;
  563|    224|    PyObject *exc_tb;
  564|       |
  565|    224|    if (!_PyArg_CheckPositional("__exit__", nargs, 3, 3)) {
  ------------------
  |  |   38|    224|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 224, False: 0]
  |  |  |  Branch (38:27): [True: 224, False: 0]
  |  |  ------------------
  |  |   39|    224|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  566|      0|        goto exit;
  567|      0|    }
  568|    224|    exc_type = args[0];
  569|    224|    exc_value = args[1];
  570|    224|    exc_tb = args[2];
  571|    224|    return_value = _thread_RLock___exit___impl((rlockobject *)self, exc_type, exc_value, exc_tb);
  572|       |
  573|    224|exit:
  574|    224|    return return_value;
  575|    224|}
_threadmodule.c:rlock_new:
  676|     82|{
  677|     82|    PyObject *return_value = NULL;
  678|     82|    PyTypeObject *base_tp = clinic_state()->rlock_type;
  ------------------
  |  |   92|     82|#define clinic_state() get_thread_state_by_cls(type)
  ------------------
  679|       |
  680|     82|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (680:10): [True: 82, False: 0]
  |  Branch (680:29): [True: 0, False: 0]
  ------------------
  681|     82|        !_PyArg_NoPositional("RLock", args)) {
  ------------------
  |  |   21|     82|    ((args) == NULL || _PyArg_NoPositional((funcname), (args)))
  |  |  ------------------
  |  |  |  Branch (21:6): [True: 0, False: 82]
  |  |  |  Branch (21:24): [True: 82, False: 0]
  |  |  ------------------
  ------------------
  682|      0|        goto exit;
  683|      0|    }
  684|     82|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (684:10): [True: 82, False: 0]
  |  Branch (684:29): [True: 0, False: 0]
  ------------------
  685|     82|        !_PyArg_NoKeywords("RLock", kwargs)) {
  ------------------
  |  |   32|     82|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 82, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  686|      0|        goto exit;
  687|      0|    }
  688|     82|    return_value = rlock_new_impl(type);
  689|       |
  690|     82|exit:
  691|     82|    return return_value;
  692|     82|}

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

getpath.c:getpath_abspath:
   21|      2|{
   22|      2|    PyObject *return_value = NULL;
   23|      2|    const wchar_t *path = NULL;
   24|       |
   25|      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 (25:9): [True: 0, False: 2]
  ------------------
   26|      0|        _PyArg_BadArgument("abspath", "argument", "str", arg);
   27|      0|        goto exit;
   28|      0|    }
   29|      2|    path = PyUnicode_AsWideCharString(arg, NULL);
   30|      2|    if (path == NULL) {
  ------------------
  |  Branch (30:9): [True: 0, False: 2]
  ------------------
   31|      0|        goto exit;
   32|      0|    }
   33|      2|    return_value = getpath_abspath_impl(module, path);
   34|       |
   35|      2|exit:
   36|       |    /* Cleanup for path */
   37|      2|    PyMem_Free((void *)path);
   38|       |
   39|      2|    return return_value;
   40|      2|}
getpath.c:getpath_dirname:
   85|     12|{
   86|     12|    PyObject *return_value = NULL;
   87|     12|    PyObject *path;
   88|       |
   89|     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 (89:9): [True: 0, False: 12]
  ------------------
   90|      0|        _PyArg_BadArgument("dirname", "argument", "str", arg);
   91|      0|        goto exit;
   92|      0|    }
   93|     12|    path = arg;
   94|     12|    return_value = getpath_dirname_impl(module, path);
   95|       |
   96|     12|exit:
   97|     12|    return return_value;
   98|     12|}
getpath.c:getpath_isdir:
  198|      8|{
  199|      8|    PyObject *return_value = NULL;
  200|      8|    const wchar_t *path = NULL;
  201|      8|    int _return_value;
  202|       |
  203|      8|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|      8|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      8|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (203:9): [True: 0, False: 8]
  ------------------
  204|      0|        _PyArg_BadArgument("isdir", "argument", "str", arg);
  205|      0|        goto exit;
  206|      0|    }
  207|      8|    path = PyUnicode_AsWideCharString(arg, NULL);
  208|      8|    if (path == NULL) {
  ------------------
  |  Branch (208:9): [True: 0, False: 8]
  ------------------
  209|      0|        goto exit;
  210|      0|    }
  211|      8|    _return_value = getpath_isdir_impl(module, path);
  212|      8|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (212:9): [True: 0, False: 8]
  |  Branch (212:34): [True: 0, False: 0]
  ------------------
  213|      0|        goto exit;
  214|      0|    }
  215|      8|    return_value = PyBool_FromLong((long)_return_value);
  216|       |
  217|      8|exit:
  218|       |    /* Cleanup for path */
  219|      8|    PyMem_Free((void *)path);
  220|       |
  221|      8|    return return_value;
  222|      8|}
getpath.c:getpath_isfile:
  238|     10|{
  239|     10|    PyObject *return_value = NULL;
  240|     10|    PyObject *pathobj;
  241|     10|    int _return_value;
  242|       |
  243|     10|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|     10|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     10|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (243:9): [True: 0, False: 10]
  ------------------
  244|      0|        _PyArg_BadArgument("isfile", "argument", "str", arg);
  245|      0|        goto exit;
  246|      0|    }
  247|     10|    pathobj = arg;
  248|     10|    _return_value = getpath_isfile_impl(module, pathobj);
  249|     10|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (249:9): [True: 0, False: 10]
  |  Branch (249:34): [True: 0, False: 0]
  ------------------
  250|      0|        goto exit;
  251|      0|    }
  252|     10|    return_value = PyBool_FromLong((long)_return_value);
  253|       |
  254|     10|exit:
  255|     10|    return return_value;
  256|     10|}
getpath.c:getpath_joinpath:
  306|     24|{
  307|     24|    PyObject *return_value = NULL;
  308|     24|    PyObject *__clinic_args = NULL;
  309|       |
  310|     24|    __clinic_args = PyTuple_FromArray(args, nargs);
  311|     24|    if (__clinic_args == NULL) {
  ------------------
  |  Branch (311:9): [True: 0, False: 24]
  ------------------
  312|      0|        goto exit;
  313|      0|    }
  314|     24|    return_value = getpath_joinpath_impl(module, __clinic_args);
  315|       |
  316|     24|exit:
  317|       |    /* Cleanup for args */
  318|     24|    Py_XDECREF(__clinic_args);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  319|       |
  320|     24|    return return_value;
  321|     24|}
getpath.c:getpath_readlines:
  337|     10|{
  338|     10|    PyObject *return_value = NULL;
  339|     10|    PyObject *pathobj;
  340|       |
  341|     10|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|     10|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     10|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (341:9): [True: 0, False: 10]
  ------------------
  342|      0|        _PyArg_BadArgument("readlines", "argument", "str", arg);
  343|      0|        goto exit;
  344|      0|    }
  345|     10|    pathobj = arg;
  346|     10|    return_value = getpath_readlines_impl(module, pathobj);
  347|       |
  348|     10|exit:
  349|     10|    return return_value;
  350|     10|}
getpath.c:getpath_realpath:
  366|      2|{
  367|      2|    PyObject *return_value = NULL;
  368|      2|    PyObject *pathobj;
  369|       |
  370|      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 (370:9): [True: 0, False: 2]
  ------------------
  371|      0|        _PyArg_BadArgument("realpath", "argument", "str", arg);
  372|      0|        goto exit;
  373|      0|    }
  374|      2|    pathobj = arg;
  375|      2|    return_value = getpath_realpath_impl(module, pathobj);
  376|       |
  377|      2|exit:
  378|      2|    return return_value;
  379|      2|}

itertoolsmodule.c:permutations_next:
  801|     57|{
  802|     57|    PyObject *return_value = NULL;
  803|       |
  804|     57|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     57|    {
  ------------------
  805|     57|    return_value = permutations_next_impl((permutationsobject *)self);
  806|     57|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     57|    }
  ------------------
  807|       |
  808|     57|    return return_value;
  809|     57|}
itertoolsmodule.c:itertools_permutations:
  743|     24|{
  744|     24|    PyObject *return_value = NULL;
  745|     24|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  746|       |
  747|     24|    #define NUM_KEYWORDS 2
  748|     24|    static struct {
  749|     24|        PyGC_Head _this_is_not_used;
  750|     24|        PyObject_VAR_HEAD
  751|     24|        Py_hash_t ob_hash;
  752|     24|        PyObject *ob_item[NUM_KEYWORDS];
  753|     24|    } _kwtuple = {
  754|     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|    },
  ------------------
  755|     24|        .ob_hash = -1,
  756|     24|        .ob_item = { &_Py_ID(iterable), _Py_LATIN1_CHR('r'), },
  ------------------
  |  |  951|     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'), },
  ------------------
  |  |  955|     24|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (955:6): [True: 0, Folded]
  |  |  ------------------
  |  |  956|     24|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  957|     24|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  757|     24|    };
  758|     24|    #undef NUM_KEYWORDS
  759|     24|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  760|       |
  761|       |    #else  // !Py_BUILD_CORE
  762|       |    #  define KWTUPLE NULL
  763|       |    #endif  // !Py_BUILD_CORE
  764|       |
  765|     24|    static const char * const _keywords[] = {"iterable", "r", NULL};
  766|     24|    static _PyArg_Parser _parser = {
  767|     24|        .keywords = _keywords,
  768|     24|        .fname = "permutations",
  769|     24|        .kwtuple = KWTUPLE,
  ------------------
  |  |  759|     24|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  770|     24|    };
  771|     24|    #undef KWTUPLE
  772|     24|    PyObject *argsbuf[2];
  773|     24|    PyObject * const *fastargs;
  774|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  775|     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 (775:36): [True: 0, False: 24]
  ------------------
  776|     24|    PyObject *iterable;
  777|     24|    PyObject *robj = Py_None;
  ------------------
  |  |  616|     24|#  define Py_None (&_Py_NoneStruct)
  ------------------
  778|       |
  779|     24|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   90|     24|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 24, Folded]
  |  |  |  Branch (90:23): [True: 24, False: 0]
  |  |  |  Branch (90:43): [True: 0, Folded]
  |  |  ------------------
  |  |   91|     48|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 24, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 24]
  |  |  |  Branch (91:43): [True: 24, False: 0]
  |  |  |  Branch (91:67): [True: 24, False: 0]
  |  |  |  Branch (91:68): [True: 24, False: 0]
  |  |  ------------------
  |  |   92|     48|      (args) : \
  |  |  ------------------
  |  |  |  Branch (92:8): [True: 24, False: 0]
  |  |  ------------------
  |  |   93|     24|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (93:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  780|     24|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  781|     24|    if (!fastargs) {
  ------------------
  |  Branch (781:9): [True: 0, False: 24]
  ------------------
  782|      0|        goto exit;
  783|      0|    }
  784|     24|    iterable = fastargs[0];
  785|     24|    if (!noptargs) {
  ------------------
  |  Branch (785:9): [True: 24, False: 0]
  ------------------
  786|     24|        goto skip_optional_pos;
  787|     24|    }
  788|      0|    robj = fastargs[1];
  789|     24|skip_optional_pos:
  790|     24|    return_value = itertools_permutations_impl(type, iterable, robj);
  791|       |
  792|     24|exit:
  793|     24|    return return_value;
  794|     24|}
itertoolsmodule.c:product_next:
  532|    135|{
  533|    135|    PyObject *return_value = NULL;
  534|       |
  535|    135|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    135|    {
  ------------------
  536|    135|    return_value = product_next_impl((productobject *)self);
  537|    135|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    135|    }
  ------------------
  538|       |
  539|    135|    return return_value;
  540|    135|}

posixmodule.c:os_stat:
   48|    152|{
   49|    152|    PyObject *return_value = NULL;
   50|    152|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   51|       |
   52|    152|    #define NUM_KEYWORDS 3
   53|    152|    static struct {
   54|    152|        PyGC_Head _this_is_not_used;
   55|    152|        PyObject_VAR_HEAD
   56|    152|        Py_hash_t ob_hash;
   57|    152|        PyObject *ob_item[NUM_KEYWORDS];
   58|    152|    } _kwtuple = {
   59|    152|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    152|    {                                     \
  |  |   98|    152|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    152|    {                               \
  |  |  |  |   91|    152|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    152|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    152|#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|    152|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    152|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    152|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    152|        (type)                      \
  |  |  |  |   93|    152|    },
  |  |  ------------------
  |  |   99|    152|        (size)                            \
  |  |  100|    152|    },
  ------------------
   60|    152|        .ob_hash = -1,
   61|    152|        .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), &_Py_ID(follow_symlinks), },
  ------------------
  |  |  951|    152|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    152|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    152|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), &_Py_ID(follow_symlinks), },
  ------------------
  |  |  951|    152|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    152|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    152|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), &_Py_ID(follow_symlinks), },
  ------------------
  |  |  951|    152|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    152|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    152|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   62|    152|    };
   63|    152|    #undef NUM_KEYWORDS
   64|    152|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   65|       |
   66|       |    #else  // !Py_BUILD_CORE
   67|       |    #  define KWTUPLE NULL
   68|       |    #endif  // !Py_BUILD_CORE
   69|       |
   70|    152|    static const char * const _keywords[] = {"path", "dir_fd", "follow_symlinks", NULL};
   71|    152|    static _PyArg_Parser _parser = {
   72|    152|        .keywords = _keywords,
   73|    152|        .fname = "stat",
   74|    152|        .kwtuple = KWTUPLE,
  ------------------
  |  |   64|    152|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   75|    152|    };
   76|    152|    #undef KWTUPLE
   77|    152|    PyObject *argsbuf[3];
   78|    152|    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 (78:36): [True: 0, False: 152]
  ------------------
   79|    152|    path_t path = PATH_T_INITIALIZE_P("stat", "path", 0, 0, 0, 1);
  ------------------
  |  | 1389|    152|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1379|    152|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1380|    152|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1390|    152|                      suppress_value_error, allow_fd)
  ------------------
   80|    152|    int dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1162|    152|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
   81|    152|    int follow_symlinks = 1;
   82|       |
   83|    152|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|    152|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 152, False: 0]
  |  |  ------------------
  |  |   91|    152|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 152, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 152]
  |  |  |  Branch (91:43): [True: 152, False: 0]
  |  |  |  Branch (91:67): [True: 152, False: 0]
  |  |  ------------------
  |  |   92|    152|      (args) : \
  |  |   93|    152|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   84|    152|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   85|    152|    if (!args) {
  ------------------
  |  Branch (85:9): [True: 0, False: 152]
  ------------------
   86|      0|        goto exit;
   87|      0|    }
   88|    152|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (88:9): [True: 0, False: 152]
  ------------------
   89|      0|        goto exit;
   90|      0|    }
   91|    152|    if (!noptargs) {
  ------------------
  |  Branch (91:9): [True: 152, False: 0]
  ------------------
   92|    152|        goto skip_optional_kwonly;
   93|    152|    }
   94|      0|    if (args[1]) {
  ------------------
  |  Branch (94:9): [True: 0, False: 0]
  ------------------
   95|      0|        if (!FSTATAT_DIR_FD_CONVERTER(args[1], &dir_fd)) {
  ------------------
  |  | 3031|      0|    #define FSTATAT_DIR_FD_CONVERTER dir_fd_converter
  ------------------
  |  Branch (95:13): [True: 0, False: 0]
  ------------------
   96|      0|            goto exit;
   97|      0|        }
   98|      0|        if (!--noptargs) {
  ------------------
  |  Branch (98:13): [True: 0, False: 0]
  ------------------
   99|      0|            goto skip_optional_kwonly;
  100|      0|        }
  101|      0|    }
  102|      0|    follow_symlinks = PyObject_IsTrue(args[2]);
  103|      0|    if (follow_symlinks < 0) {
  ------------------
  |  Branch (103:9): [True: 0, False: 0]
  ------------------
  104|      0|        goto exit;
  105|      0|    }
  106|    152|skip_optional_kwonly:
  107|    152|    return_value = os_stat_impl(module, &path, dir_fd, follow_symlinks);
  108|       |
  109|    152|exit:
  110|       |    /* Cleanup for path */
  111|    152|    path_cleanup(&path);
  112|       |
  113|    152|    return return_value;
  114|    152|}
posixmodule.c:os_listdir:
 1778|     11|{
 1779|     11|    PyObject *return_value = NULL;
 1780|     11|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1781|       |
 1782|     11|    #define NUM_KEYWORDS 1
 1783|     11|    static struct {
 1784|     11|        PyGC_Head _this_is_not_used;
 1785|     11|        PyObject_VAR_HEAD
 1786|     11|        Py_hash_t ob_hash;
 1787|     11|        PyObject *ob_item[NUM_KEYWORDS];
 1788|     11|    } _kwtuple = {
 1789|     11|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     11|    {                                     \
  |  |   98|     11|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     11|    {                               \
  |  |  |  |   91|     11|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     11|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     11|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     11|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     11|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     11|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     11|        (type)                      \
  |  |  |  |   93|     11|    },
  |  |  ------------------
  |  |   99|     11|        (size)                            \
  |  |  100|     11|    },
  ------------------
 1790|     11|        .ob_hash = -1,
 1791|     11|        .ob_item = { &_Py_ID(path), },
  ------------------
  |  |  951|     11|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     11|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     11|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1792|     11|    };
 1793|     11|    #undef NUM_KEYWORDS
 1794|     11|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1795|       |
 1796|       |    #else  // !Py_BUILD_CORE
 1797|       |    #  define KWTUPLE NULL
 1798|       |    #endif  // !Py_BUILD_CORE
 1799|       |
 1800|     11|    static const char * const _keywords[] = {"path", NULL};
 1801|     11|    static _PyArg_Parser _parser = {
 1802|     11|        .keywords = _keywords,
 1803|     11|        .fname = "listdir",
 1804|     11|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1794|     11|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1805|     11|    };
 1806|     11|    #undef KWTUPLE
 1807|     11|    PyObject *argsbuf[1];
 1808|     11|    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 (1808:36): [True: 0, False: 11]
  ------------------
 1809|     11|    path_t path = PATH_T_INITIALIZE_P("listdir", "path", 1, 0, 0, PATH_HAVE_FDOPENDIR);
  ------------------
  |  | 1389|     11|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1379|     11|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1380|     11|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1390|     11|                      suppress_value_error, allow_fd)
  ------------------
 1810|       |
 1811|     11|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|     11|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 11, False: 0]
  |  |  ------------------
  |  |   91|     11|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 11, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 11]
  |  |  |  Branch (91:43): [True: 11, False: 0]
  |  |  |  Branch (91:67): [True: 11, False: 0]
  |  |  ------------------
  |  |   92|     11|      (args) : \
  |  |   93|     11|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1812|     11|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1813|     11|    if (!args) {
  ------------------
  |  Branch (1813:9): [True: 0, False: 11]
  ------------------
 1814|      0|        goto exit;
 1815|      0|    }
 1816|     11|    if (!noptargs) {
  ------------------
  |  Branch (1816:9): [True: 0, False: 11]
  ------------------
 1817|      0|        goto skip_optional_pos;
 1818|      0|    }
 1819|     11|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (1819:9): [True: 0, False: 11]
  ------------------
 1820|      0|        goto exit;
 1821|      0|    }
 1822|     11|skip_optional_pos:
 1823|     11|    return_value = os_listdir_impl(module, &path);
 1824|       |
 1825|     11|exit:
 1826|       |    /* Cleanup for path */
 1827|     11|    path_cleanup(&path);
 1828|       |
 1829|     11|    return return_value;
 1830|     11|}
posixmodule.c:os_getegid:
 5220|      2|{
 5221|      2|    return os_getegid_impl(module);
 5222|      2|}
posixmodule.c:os_geteuid:
 5242|      2|{
 5243|      2|    return os_geteuid_impl(module);
 5244|      2|}
posixmodule.c:os_getgid:
 5264|      2|{
 5265|      2|    return os_getgid_impl(module);
 5266|      2|}
posixmodule.c:os_getuid:
 5675|      2|{
 5676|      2|    return os_getuid_impl(module);
 5677|      2|}
posixmodule.c:os__path_normpath:
 2663|     10|{
 2664|     10|    PyObject *return_value = NULL;
 2665|     10|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 2666|       |
 2667|     10|    #define NUM_KEYWORDS 1
 2668|     10|    static struct {
 2669|     10|        PyGC_Head _this_is_not_used;
 2670|     10|        PyObject_VAR_HEAD
 2671|     10|        Py_hash_t ob_hash;
 2672|     10|        PyObject *ob_item[NUM_KEYWORDS];
 2673|     10|    } _kwtuple = {
 2674|     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|    },
  ------------------
 2675|     10|        .ob_hash = -1,
 2676|     10|        .ob_item = { &_Py_ID(path), },
  ------------------
  |  |  951|     10|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2677|     10|    };
 2678|     10|    #undef NUM_KEYWORDS
 2679|     10|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 2680|       |
 2681|       |    #else  // !Py_BUILD_CORE
 2682|       |    #  define KWTUPLE NULL
 2683|       |    #endif  // !Py_BUILD_CORE
 2684|       |
 2685|     10|    static const char * const _keywords[] = {"path", NULL};
 2686|     10|    static _PyArg_Parser _parser = {
 2687|     10|        .keywords = _keywords,
 2688|     10|        .fname = "_path_normpath",
 2689|     10|        .kwtuple = KWTUPLE,
  ------------------
  |  | 2679|     10|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 2690|     10|    };
 2691|     10|    #undef KWTUPLE
 2692|     10|    PyObject *argsbuf[1];
 2693|     10|    path_t path = PATH_T_INITIALIZE("_path_normpath", "path", 0, 1, 1, 0, 0);
  ------------------
  |  | 1379|     10|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  | 1380|     10|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  ------------------
 2694|       |
 2695|     10|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|     10|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 10, False: 0]
  |  |  ------------------
  |  |   91|     10|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 10, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 10]
  |  |  |  Branch (91:43): [True: 10, False: 0]
  |  |  |  Branch (91:67): [True: 10, False: 0]
  |  |  ------------------
  |  |   92|     10|      (args) : \
  |  |   93|     10|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 2696|     10|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 2697|     10|    if (!args) {
  ------------------
  |  Branch (2697:9): [True: 0, False: 10]
  ------------------
 2698|      0|        goto exit;
 2699|      0|    }
 2700|     10|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (2700:9): [True: 0, False: 10]
  ------------------
 2701|      0|        goto exit;
 2702|      0|    }
 2703|     10|    return_value = os__path_normpath_impl(module, &path);
 2704|       |
 2705|     10|exit:
 2706|       |    /* Cleanup for path */
 2707|     10|    path_cleanup(&path);
 2708|       |
 2709|     10|    return return_value;
 2710|     10|}
posixmodule.c:os_fspath:
12559|    135|{
12560|    135|    PyObject *return_value = NULL;
12561|    135|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
12562|       |
12563|    135|    #define NUM_KEYWORDS 1
12564|    135|    static struct {
12565|    135|        PyGC_Head _this_is_not_used;
12566|    135|        PyObject_VAR_HEAD
12567|    135|        Py_hash_t ob_hash;
12568|    135|        PyObject *ob_item[NUM_KEYWORDS];
12569|    135|    } _kwtuple = {
12570|    135|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    135|    {                                     \
  |  |   98|    135|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    135|    {                               \
  |  |  |  |   91|    135|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    135|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    135|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    135|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    135|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    135|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    135|        (type)                      \
  |  |  |  |   93|    135|    },
  |  |  ------------------
  |  |   99|    135|        (size)                            \
  |  |  100|    135|    },
  ------------------
12571|    135|        .ob_hash = -1,
12572|    135|        .ob_item = { &_Py_ID(path), },
  ------------------
  |  |  951|    135|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    135|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    135|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12573|    135|    };
12574|    135|    #undef NUM_KEYWORDS
12575|    135|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
12576|       |
12577|       |    #else  // !Py_BUILD_CORE
12578|       |    #  define KWTUPLE NULL
12579|       |    #endif  // !Py_BUILD_CORE
12580|       |
12581|    135|    static const char * const _keywords[] = {"path", NULL};
12582|    135|    static _PyArg_Parser _parser = {
12583|    135|        .keywords = _keywords,
12584|    135|        .fname = "fspath",
12585|    135|        .kwtuple = KWTUPLE,
  ------------------
  |  |12575|    135|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
12586|    135|    };
12587|    135|    #undef KWTUPLE
12588|    135|    PyObject *argsbuf[1];
12589|    135|    PyObject *path;
12590|       |
12591|    135|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|    135|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 135, False: 0]
  |  |  ------------------
  |  |   91|    135|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 135, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 135]
  |  |  |  Branch (91:43): [True: 135, False: 0]
  |  |  |  Branch (91:67): [True: 135, False: 0]
  |  |  ------------------
  |  |   92|    135|      (args) : \
  |  |   93|    135|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
12592|    135|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
12593|    135|    if (!args) {
  ------------------
  |  Branch (12593:9): [True: 0, False: 135]
  ------------------
12594|      0|        goto exit;
12595|      0|    }
12596|    135|    path = args[0];
12597|    135|    return_value = os_fspath_impl(module, path);
12598|       |
12599|    135|exit:
12600|    135|    return return_value;
12601|    135|}

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:
  881|      2|{
  882|      2|    return PyMarshal_ReadObjectFromString(
  883|      2|        (const char*)_Py_M__getpath, sizeof(_Py_M__getpath));
  884|      2|}
_PyConfig_InitPathConfig:
  904|      4|{
  905|      4|    PyStatus status = _PyPathConfig_ReadGlobal(config);
  906|       |
  907|      4|    if (_PyStatus_EXCEPTION(status) || !compute_path_config) {
  ------------------
  |  |   43|      8|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (907:40): [True: 2, False: 2]
  ------------------
  908|      2|        return status;
  909|      2|    }
  910|       |
  911|      2|    if (!_PyThreadState_GET()) {
  ------------------
  |  Branch (911:9): [True: 0, False: 2]
  ------------------
  912|      0|        return PyStatus_Error("cannot calculate path configuration without GIL");
  913|      0|    }
  914|       |
  915|      2|    PyObject *configDict = _PyConfig_AsDict(config);
  916|      2|    if (!configDict) {
  ------------------
  |  Branch (916:9): [True: 0, False: 2]
  ------------------
  917|      0|        PyErr_Clear();
  918|      0|        return PyStatus_NoMemory();
  919|      0|    }
  920|       |
  921|      2|    PyObject *dict = PyDict_New();
  922|      2|    if (!dict) {
  ------------------
  |  Branch (922:9): [True: 0, False: 2]
  ------------------
  923|      0|        PyErr_Clear();
  924|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  925|      0|        return PyStatus_NoMemory();
  926|      0|    }
  927|       |
  928|      2|    if (PyDict_SetItemString(dict, "config", configDict) < 0) {
  ------------------
  |  Branch (928:9): [True: 0, False: 2]
  ------------------
  929|      0|        PyErr_Clear();
  930|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  931|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  932|      0|        return PyStatus_NoMemory();
  933|      0|    }
  934|       |    /* reference now held by dict */
  935|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  936|       |
  937|      2|    PyObject *co = _Py_Get_Getpath_CodeObject();
  938|      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 (938:9): [True: 0, False: 2]
  |  Branch (938:16): [True: 0, False: 2]
  ------------------
  939|      0|        PyErr_Clear();
  940|      0|        Py_XDECREF(co);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  941|      0|        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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  942|      0|        return PyStatus_Error("error reading frozen getpath.py");
  943|      0|    }
  944|       |
  945|       |#ifdef MS_WINDOWS
  946|       |    PyObject *winreg = PyImport_ImportModule("winreg");
  947|       |    if (!winreg || PyDict_SetItemString(dict, "winreg", winreg) < 0) {
  948|       |        PyErr_Clear();
  949|       |        Py_XDECREF(winreg);
  950|       |        if (PyDict_SetItemString(dict, "winreg", Py_None) < 0) {
  951|       |            PyErr_Clear();
  952|       |            Py_DECREF(co);
  953|       |            Py_DECREF(dict);
  954|       |            return PyStatus_Error("error importing winreg module");
  955|       |        }
  956|       |    } else {
  957|       |        Py_DECREF(winreg);
  958|       |    }
  959|       |#endif
  960|       |
  961|      2|    if (
  962|       |#ifdef MS_WINDOWS
  963|       |        !decode_to_dict(dict, "os_name", "nt") ||
  964|       |#elif defined(__APPLE__)
  965|       |        !decode_to_dict(dict, "os_name", "darwin") ||
  966|       |#else
  967|      2|        !decode_to_dict(dict, "os_name", "posix") ||
  ------------------
  |  Branch (967:9): [True: 0, False: 2]
  ------------------
  968|      2|#endif
  969|       |#ifdef WITH_NEXT_FRAMEWORK
  970|       |        !int_to_dict(dict, "WITH_NEXT_FRAMEWORK", 1) ||
  971|       |#else
  972|      2|        !int_to_dict(dict, "WITH_NEXT_FRAMEWORK", 0) ||
  ------------------
  |  Branch (972:9): [True: 0, False: 2]
  ------------------
  973|      2|#endif
  974|      2|        !decode_to_dict(dict, "PREFIX", PREFIX) ||
  ------------------
  |  Branch (974:9): [True: 0, False: 2]
  ------------------
  975|      2|        !decode_to_dict(dict, "EXEC_PREFIX", EXEC_PREFIX) ||
  ------------------
  |  Branch (975:9): [True: 0, False: 2]
  ------------------
  976|      2|        !decode_to_dict(dict, "PYTHONPATH", PYTHONPATH) ||
  ------------------
  |  Branch (976:9): [True: 0, False: 2]
  ------------------
  977|      2|        !decode_to_dict(dict, "VPATH", VPATH) ||
  ------------------
  |  Branch (977:9): [True: 0, False: 2]
  ------------------
  978|      2|        !decode_to_dict(dict, "PLATLIBDIR", PLATLIBDIR) ||
  ------------------
  |  Branch (978:9): [True: 0, False: 2]
  ------------------
  979|      2|        !decode_to_dict(dict, "PYDEBUGEXT", PYDEBUGEXT) ||
  ------------------
  |  |   41|      2|#define PYDEBUGEXT NULL
  ------------------
  |  Branch (979:9): [True: 0, False: 2]
  ------------------
  980|      2|        !int_to_dict(dict, "VERSION_MAJOR", PY_MAJOR_VERSION) ||
  ------------------
  |  |   23|      2|#define PY_MAJOR_VERSION        3
  ------------------
  |  Branch (980:9): [True: 0, False: 2]
  ------------------
  981|      2|        !int_to_dict(dict, "VERSION_MINOR", PY_MINOR_VERSION) ||
  ------------------
  |  |   24|      2|#define PY_MINOR_VERSION        16
  ------------------
  |  Branch (981:9): [True: 0, False: 2]
  ------------------
  982|      2|        !decode_to_dict(dict, "PYWINVER", PYWINVER) ||
  ------------------
  |  |   48|      2|#define PYWINVER NULL
  ------------------
  |  Branch (982:9): [True: 0, False: 2]
  ------------------
  983|      2|        !wchar_to_dict(dict, "EXE_SUFFIX", EXE_SUFFIX) ||
  ------------------
  |  |   56|      2|#define EXE_SUFFIX NULL
  ------------------
  |  Branch (983:9): [True: 0, False: 2]
  ------------------
  984|      2|        !env_to_dict(dict, "ENV_PATH", 0) ||
  ------------------
  |  Branch (984:9): [True: 0, False: 2]
  ------------------
  985|      2|        !env_to_dict(dict, "ENV_PYTHONHOME", 0) ||
  ------------------
  |  Branch (985:9): [True: 0, False: 2]
  ------------------
  986|      2|        !env_to_dict(dict, "ENV_PYTHONEXECUTABLE", 0) ||
  ------------------
  |  Branch (986:9): [True: 0, False: 2]
  ------------------
  987|      2|        !env_to_dict(dict, "ENV___PYVENV_LAUNCHER__", 1) ||
  ------------------
  |  Branch (987:9): [True: 0, False: 2]
  ------------------
  988|      2|        !progname_to_dict(dict, "real_executable") ||
  ------------------
  |  Branch (988:9): [True: 0, False: 2]
  ------------------
  989|      2|        !library_to_dict(dict, "library") ||
  ------------------
  |  Branch (989:9): [True: 0, False: 2]
  ------------------
  990|      2|        !wchar_to_dict(dict, "executable_dir", NULL) ||
  ------------------
  |  Branch (990:9): [True: 0, False: 2]
  ------------------
  991|      2|        !wchar_to_dict(dict, "py_setpath", _PyPathConfig_GetGlobalModuleSearchPath()) ||
  ------------------
  |  Branch (991:9): [True: 0, False: 2]
  ------------------
  992|      2|        !funcs_to_dict(dict, config->pathconfig_warnings) ||
  ------------------
  |  Branch (992:9): [True: 0, False: 2]
  ------------------
  993|       |#ifdef Py_GIL_DISABLED
  994|       |        !decode_to_dict(dict, "ABI_THREAD", "t") ||
  995|       |#else
  996|      2|        !decode_to_dict(dict, "ABI_THREAD", "") ||
  ------------------
  |  Branch (996:9): [True: 0, False: 2]
  ------------------
  997|      2|#endif
  998|      2|#ifndef MS_WINDOWS
  999|      2|        PyDict_SetItemString(dict, "winreg", Py_None) < 0 ||
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (999:9): [True: 0, False: 2]
  ------------------
 1000|      2|#endif
 1001|      2|        PyDict_SetItemString(dict, "__builtins__", PyEval_GetBuiltins()) < 0
  ------------------
  |  Branch (1001:9): [True: 0, False: 2]
  ------------------
 1002|      2|    ) {
 1003|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1004|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1005|      0|        PyErr_FormatUnraisable("Exception ignored while preparing getpath");
 1006|      0|        return PyStatus_Error("error evaluating initial values");
 1007|      0|    }
 1008|       |
 1009|      2|    PyObject *r = PyEval_EvalCode(co, dict, dict);
 1010|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1011|       |
 1012|      2|    if (!r) {
  ------------------
  |  Branch (1012:9): [True: 0, False: 2]
  ------------------
 1013|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1014|      0|        PyErr_FormatUnraisable("Exception ignored while running getpath");
 1015|      0|        return PyStatus_Error("error evaluating path");
 1016|      0|    }
 1017|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1018|       |
 1019|      2|    if (_PyConfig_FromDict(config, configDict) < 0) {
  ------------------
  |  Branch (1019:9): [True: 0, False: 2]
  ------------------
 1020|      0|        PyErr_FormatUnraisable("Exception ignored while reading getpath results");
 1021|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1022|      0|        return PyStatus_Error("error getting getpath results");
 1023|      0|    }
 1024|       |
 1025|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1026|       |
 1027|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1028|      2|}
getpath.c:decode_to_dict:
  706|     18|{
  707|     18|    PyObject *u = NULL;
  708|     18|    int r;
  709|     18|    if (s && s[0]) {
  ------------------
  |  Branch (709:9): [True: 14, False: 4]
  |  Branch (709:14): [True: 8, False: 6]
  ------------------
  710|      8|        size_t len;
  711|      8|        const wchar_t *w = Py_DecodeLocale(s, &len);
  712|      8|        if (w) {
  ------------------
  |  Branch (712:13): [True: 8, False: 0]
  ------------------
  713|      8|            u = PyUnicode_FromWideChar(w, len);
  714|      8|            PyMem_RawFree((void *)w);
  715|      8|        }
  716|      8|        if (!u) {
  ------------------
  |  Branch (716:13): [True: 0, False: 8]
  ------------------
  717|      0|            return 0;
  718|      0|        }
  719|     10|    } else {
  720|     10|        u = Py_NewRef(Py_None);
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  721|     10|    }
  722|     18|    r = PyDict_SetItemString(dict, key, u) == 0;
  723|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  724|     18|    return r;
  725|     18|}
getpath.c:int_to_dict:
  785|      6|{
  786|      6|    PyObject *o;
  787|      6|    int r;
  788|      6|    o = PyLong_FromLong(v);
  789|      6|    if (!o) {
  ------------------
  |  Branch (789:9): [True: 0, False: 6]
  ------------------
  790|      0|        return 0;
  791|      0|    }
  792|      6|    r = PyDict_SetItemString(dict, key, o) == 0;
  793|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  794|      6|    return r;
  795|      6|}
getpath.c:wchar_to_dict:
  686|      6|{
  687|      6|    PyObject *u;
  688|      6|    int r;
  689|      6|    if (s && s[0]) {
  ------------------
  |  Branch (689:9): [True: 0, False: 6]
  |  Branch (689:14): [True: 0, False: 0]
  ------------------
  690|      0|        u = PyUnicode_FromWideChar(s, -1);
  691|      0|        if (!u) {
  ------------------
  |  Branch (691:13): [True: 0, False: 0]
  ------------------
  692|      0|            return 0;
  693|      0|        }
  694|      6|    } else {
  695|      6|        u = Py_NewRef(Py_None);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  696|      6|    }
  697|      6|    r = PyDict_SetItemString(dict, key, u) == 0;
  698|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  699|      6|    return r;
  700|      6|}
getpath.c:env_to_dict:
  730|      8|{
  731|      8|    PyObject *u = NULL;
  732|      8|    int r = 0;
  733|      8|    assert(strncmp(key, "ENV_", 4) == 0);
  ------------------
  |  Branch (733:5): [True: 8, False: 0]
  ------------------
  734|      8|    assert(strlen(key) < 64);
  ------------------
  |  Branch (734:5): [True: 8, False: 0]
  ------------------
  735|       |#ifdef MS_WINDOWS
  736|       |    wchar_t wkey[64];
  737|       |    // Quick convert to wchar_t, since we know key is ASCII
  738|       |    wchar_t *wp = wkey;
  739|       |    for (const char *p = &key[4]; *p; ++p) {
  740|       |        assert(!(*p & 0x80));
  741|       |        *wp++ = *p;
  742|       |    }
  743|       |    *wp = L'\0';
  744|       |    const wchar_t *v = _wgetenv(wkey);
  745|       |    if (v) {
  746|       |        u = PyUnicode_FromWideChar(v, -1);
  747|       |        if (!u) {
  748|       |            PyErr_Clear();
  749|       |        }
  750|       |    }
  751|       |#else
  752|      8|    const char *v = getenv(&key[4]);
  753|      8|    if (v) {
  ------------------
  |  Branch (753:9): [True: 2, False: 6]
  ------------------
  754|      2|        size_t len;
  755|      2|        const wchar_t *w = Py_DecodeLocale(v, &len);
  756|      2|        if (w) {
  ------------------
  |  Branch (756:13): [True: 2, False: 0]
  ------------------
  757|      2|            u = PyUnicode_FromWideChar(w, len);
  758|      2|            if (!u) {
  ------------------
  |  Branch (758:17): [True: 0, False: 2]
  ------------------
  759|      0|                PyErr_Clear();
  760|      0|            }
  761|      2|            PyMem_RawFree((void *)w);
  762|      2|        }
  763|      2|    }
  764|      8|#endif
  765|      8|    if (u) {
  ------------------
  |  Branch (765:9): [True: 2, False: 6]
  ------------------
  766|      2|        r = PyDict_SetItemString(dict, key, u) == 0;
  767|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  768|      6|    } else {
  769|      6|        r = PyDict_SetItemString(dict, key, Py_None) == 0;
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  770|      6|    }
  771|      8|    if (r && and_clear) {
  ------------------
  |  Branch (771:9): [True: 8, False: 0]
  |  Branch (771:14): [True: 2, False: 6]
  ------------------
  772|       |#ifdef MS_WINDOWS
  773|       |        _wputenv_s(wkey, L"");
  774|       |#else
  775|      2|        unsetenv(&key[4]);
  776|      2|#endif
  777|      2|    }
  778|      8|    return r;
  779|      8|}
getpath.c:progname_to_dict:
  822|      2|{
  823|       |#ifdef MS_WINDOWS
  824|       |    return winmodule_to_dict(dict, key, NULL);
  825|       |#elif defined(__APPLE__)
  826|       |    char *path;
  827|       |    uint32_t pathLen = 256;
  828|       |    while (pathLen) {
  829|       |        path = PyMem_RawMalloc((pathLen + 1) * sizeof(char));
  830|       |        if (!path) {
  831|       |            return 0;
  832|       |        }
  833|       |        if (_NSGetExecutablePath(path, &pathLen) != 0) {
  834|       |            PyMem_RawFree(path);
  835|       |            continue;
  836|       |        }
  837|       |        // Only keep if the path is absolute
  838|       |        if (path[0] == SEP) {
  839|       |            int r = decode_to_dict(dict, key, path);
  840|       |            PyMem_RawFree(path);
  841|       |            return r;
  842|       |        }
  843|       |        // Fall back and store None
  844|       |        PyMem_RawFree(path);
  845|       |        break;
  846|       |    }
  847|       |#endif
  848|      2|    return PyDict_SetItemString(dict, key, Py_None) == 0;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  849|      2|}
getpath.c:library_to_dict:
  855|      2|{
  856|       |/* macOS framework builds do not link against a libpython dynamic library, but
  857|       |   instead link against a macOS Framework. */
  858|       |#if defined(Py_ENABLE_SHARED) || defined(WITH_NEXT_FRAMEWORK)
  859|       |
  860|       |#ifdef MS_WINDOWS
  861|       |    extern HMODULE PyWin_DLLhModule;
  862|       |    if (PyWin_DLLhModule) {
  863|       |        return winmodule_to_dict(dict, key, PyWin_DLLhModule);
  864|       |    }
  865|       |#endif
  866|       |
  867|       |#if HAVE_DLADDR
  868|       |    Dl_info libpython_info;
  869|       |    if (dladdr(&Py_Initialize, &libpython_info) && libpython_info.dli_fname) {
  870|       |        return decode_to_dict(dict, key, libpython_info.dli_fname);
  871|       |    }
  872|       |#endif
  873|       |#endif
  874|       |
  875|      2|    return PyDict_SetItemString(dict, key, Py_None) == 0;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  876|      2|}
getpath.c:funcs_to_dict:
  657|      2|{
  658|     24|    for (PyMethodDef *m = getpath_methods; m->ml_name; ++m) {
  ------------------
  |  Branch (658:44): [True: 22, False: 2]
  ------------------
  659|     22|        PyObject *f = PyCFunction_NewEx(m, NULL, NULL);
  ------------------
  |  |   87|     22|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  660|     22|        if (!f) {
  ------------------
  |  Branch (660:13): [True: 0, False: 22]
  ------------------
  661|      0|            return 0;
  662|      0|        }
  663|     22|        if (PyDict_SetItemString(dict, m->ml_name, f) < 0) {
  ------------------
  |  Branch (663:13): [True: 0, False: 22]
  ------------------
  664|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  665|      0|            return 0;
  666|      0|        }
  667|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  668|     22|    }
  669|      2|    PyMethodDef *m2 = warnings ? &getpath_warn_method : &getpath_nowarn_method;
  ------------------
  |  Branch (669:23): [True: 2, False: 0]
  ------------------
  670|      2|    PyObject *f = PyCFunction_NewEx(m2, NULL, NULL);
  ------------------
  |  |   87|      2|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  671|      2|    if (!f) {
  ------------------
  |  Branch (671:9): [True: 0, False: 2]
  ------------------
  672|      0|        return 0;
  673|      0|    }
  674|      2|    if (PyDict_SetItemString(dict, m2->ml_name, f) < 0) {
  ------------------
  |  Branch (674:9): [True: 0, False: 2]
  ------------------
  675|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  676|      0|        return 0;
  677|      0|    }
  678|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  679|      2|    return 1;
  680|      2|}
getpath.c:getpath_abspath_impl:
   82|      2|{
   83|      2|    wchar_t *abs;
   84|      2|    if (_Py_abspath(_Py_normpath((wchar_t *)path, -1), &abs) < 0 || abs == NULL) {
  ------------------
  |  Branch (84:9): [True: 0, False: 2]
  |  Branch (84:69): [True: 0, False: 2]
  ------------------
   85|      0|        PyErr_SetString(PyExc_OSError, "failed to make path absolute");
   86|      0|        return NULL;
   87|      0|    }
   88|      2|    PyObject *r = PyUnicode_FromWideChar(abs, -1);
   89|      2|    PyMem_RawFree((void *)abs);
   90|      2|    return r;
   91|      2|}
getpath.c:getpath_dirname_impl:
  128|     12|{
  129|     12|    Py_ssize_t end = PyUnicode_GET_LENGTH(path);
  ------------------
  |  |  300|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  130|     12|    Py_ssize_t pos = PyUnicode_FindChar(path, SEP, 0, end, -1);
  ------------------
  |  |   29|     12|#  define SEP L'/'
  ------------------
  131|     12|    if (pos < 0) {
  ------------------
  |  Branch (131:9): [True: 0, False: 12]
  ------------------
  132|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  133|      0|    }
  134|     12|    return PyUnicode_Substring(path, 0, pos);
  135|     12|}
getpath.c:getpath_isdir_impl:
  203|      8|{
  204|       |#ifdef MS_WINDOWS
  205|       |    DWORD attr = GetFileAttributesW(path);
  206|       |    return (attr != INVALID_FILE_ATTRIBUTES)
  207|       |           && (attr & FILE_ATTRIBUTE_DIRECTORY);
  208|       |#else
  209|      8|    struct stat st;
  210|      8|    return (_Py_wstat(path, &st) == 0) && S_ISDIR(st.st_mode);
  ------------------
  |  Branch (210:12): [True: 8, False: 0]
  |  Branch (210:43): [True: 8, False: 0]
  ------------------
  211|      8|#endif
  212|      8|}
getpath.c:getpath_isfile_impl:
  227|     10|{
  228|       |#ifdef MS_WINDOWS
  229|       |    wchar_t *path = PyUnicode_AsWideCharString(pathobj, NULL);
  230|       |    if (path == NULL) {
  231|       |        return -1;
  232|       |    }
  233|       |
  234|       |    DWORD attr = GetFileAttributesW(path);
  235|       |    PyMem_Free(path);
  236|       |    return (attr != INVALID_FILE_ATTRIBUTES)
  237|       |           && !(attr & FILE_ATTRIBUTE_DIRECTORY);
  238|       |#else
  239|     10|    struct stat st;
  240|     10|    int res = _Py_stat(pathobj, &st);
  241|     10|    if (res == -2) {
  ------------------
  |  Branch (241:9): [True: 0, False: 10]
  ------------------
  242|      0|        return -1;
  243|      0|    }
  244|     10|    return (res == 0) && S_ISREG(st.st_mode);
  ------------------
  |  Branch (244:12): [True: 2, False: 8]
  |  Branch (244:26): [True: 2, False: 0]
  ------------------
  245|     10|#endif
  246|     10|}
getpath.c:getpath_joinpath_impl:
  298|     24|{
  299|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  300|     24|    if (n == 0) {
  ------------------
  |  Branch (300:9): [True: 0, False: 24]
  ------------------
  301|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  302|      0|    }
  303|       |    /* Convert all parts to wchar and accumulate max final length */
  304|     24|    wchar_t **parts = (wchar_t **)PyMem_Malloc(n * sizeof(wchar_t *));
  305|     24|    if (parts == NULL) {
  ------------------
  |  Branch (305:9): [True: 0, False: 24]
  ------------------
  306|      0|        PyErr_NoMemory();
  307|      0|        return NULL;
  308|      0|    }
  309|     24|    memset(parts, 0, n * sizeof(wchar_t *));
  310|     24|    Py_ssize_t cchFinal = 0;
  311|     24|    Py_ssize_t first = 0;
  312|       |
  313|     72|    for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (313:28): [True: 48, False: 24]
  ------------------
  314|     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 (314:23): [True: 48, False: 0]
  ------------------
  315|      0|        Py_ssize_t cch;
  316|     48|        if (s == Py_None) {
  ------------------
  |  |  616|     48|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (316:13): [True: 0, False: 48]
  ------------------
  317|      0|            cch = 0;
  318|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  319|     48|            parts[i] = PyUnicode_AsWideCharString(s, &cch);
  320|     48|            if (!parts[i]) {
  ------------------
  |  Branch (320:17): [True: 0, False: 48]
  ------------------
  321|      0|                cchFinal = -1;
  322|      0|                break;
  323|      0|            }
  324|     48|            if (_Py_isabs(parts[i])) {
  ------------------
  |  Branch (324:17): [True: 24, False: 24]
  ------------------
  325|     24|                first = i;
  326|     24|            }
  327|     48|        } else {
  328|      0|            PyErr_SetString(PyExc_TypeError, "all arguments to joinpath() must be str or None");
  329|      0|            cchFinal = -1;
  330|      0|            break;
  331|      0|        }
  332|     48|        cchFinal += cch + 1;
  333|     48|    }
  334|       |
  335|     24|    wchar_t *final = cchFinal > 0 ? (wchar_t *)PyMem_Malloc(cchFinal * sizeof(wchar_t)) : NULL;
  ------------------
  |  Branch (335:22): [True: 24, False: 0]
  ------------------
  336|     24|    if (!final) {
  ------------------
  |  Branch (336:9): [True: 0, False: 24]
  ------------------
  337|      0|        for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (337:32): [True: 0, False: 0]
  ------------------
  338|      0|            PyMem_Free(parts[i]);
  339|      0|        }
  340|      0|        PyMem_Free(parts);
  341|      0|        if (cchFinal) {
  ------------------
  |  Branch (341:13): [True: 0, False: 0]
  ------------------
  342|      0|            PyErr_NoMemory();
  343|      0|            return NULL;
  344|      0|        }
  345|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  346|      0|    }
  347|       |
  348|     24|    final[0] = '\0';
  349|       |    /* Now join all the paths. The final result should be shorter than the buffer */
  350|     72|    for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (350:28): [True: 48, False: 24]
  ------------------
  351|     48|        if (!parts[i]) {
  ------------------
  |  Branch (351:13): [True: 0, False: 48]
  ------------------
  352|      0|            continue;
  353|      0|        }
  354|     48|        if (i >= first && final) {
  ------------------
  |  Branch (354:13): [True: 48, False: 0]
  |  Branch (354:27): [True: 48, False: 0]
  ------------------
  355|     48|            if (!final[0]) {
  ------------------
  |  Branch (355:17): [True: 24, False: 24]
  ------------------
  356|       |                /* final is definitely long enough to fit any individual part */
  357|     24|                wcscpy(final, parts[i]);
  358|     24|            } else if (_Py_add_relfile(final, parts[i], cchFinal) < 0) {
  ------------------
  |  Branch (358:24): [True: 0, False: 24]
  ------------------
  359|       |                /* if we fail, keep iterating to free memory, but stop adding parts */
  360|      0|                PyMem_Free(final);
  361|      0|                final = NULL;
  362|      0|            }
  363|     48|        }
  364|     48|        PyMem_Free(parts[i]);
  365|     48|    }
  366|     24|    PyMem_Free(parts);
  367|     24|    if (!final) {
  ------------------
  |  Branch (367:9): [True: 0, False: 24]
  ------------------
  368|      0|        PyErr_SetString(PyExc_SystemError, "failed to join paths");
  369|      0|        return NULL;
  370|      0|    }
  371|     24|    PyObject *r = PyUnicode_FromWideChar(_Py_normpath(final, -1), -1);
  372|     24|    PyMem_Free(final);
  373|     24|    return r;
  374|     24|}
getpath.c:getpath_readlines_impl:
  389|     10|{
  390|     10|    FILE *fp = Py_fopen(pathobj, "rb");
  391|     10|    if (!fp) {
  ------------------
  |  Branch (391:9): [True: 10, False: 0]
  ------------------
  392|     10|        return NULL;
  393|     10|    }
  394|       |
  395|      0|    PyObject *r = PyList_New(0);
  396|      0|    if (!r) {
  ------------------
  |  Branch (396:9): [True: 0, False: 0]
  ------------------
  397|      0|        fclose(fp);
  398|      0|        return NULL;
  399|      0|    }
  400|      0|    const size_t MAX_FILE = 32 * 1024;
  401|      0|    char *buffer = (char *)PyMem_Malloc(MAX_FILE);
  402|      0|    if (!buffer) {
  ------------------
  |  Branch (402:9): [True: 0, False: 0]
  ------------------
  403|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  404|      0|        fclose(fp);
  405|      0|        PyErr_NoMemory();
  406|      0|        return NULL;
  407|      0|    }
  408|       |
  409|      0|    size_t cb = fread(buffer, 1, MAX_FILE, fp);
  410|      0|    fclose(fp);
  411|      0|    if (!cb) {
  ------------------
  |  Branch (411:9): [True: 0, False: 0]
  ------------------
  412|      0|        PyMem_Free(buffer);
  413|      0|        return r;
  414|      0|    }
  415|      0|    if (cb >= MAX_FILE) {
  ------------------
  |  Branch (415:9): [True: 0, False: 0]
  ------------------
  416|      0|        PyMem_Free(buffer);
  417|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  418|      0|        PyErr_SetString(PyExc_MemoryError,
  419|      0|            "cannot read file larger than 32KB during initialization");
  420|      0|        return NULL;
  421|      0|    }
  422|      0|    buffer[cb] = '\0';
  423|       |
  424|      0|    size_t len;
  425|      0|    wchar_t *wbuffer = _Py_DecodeUTF8_surrogateescape(buffer, cb, &len);
  426|      0|    PyMem_Free((void *)buffer);
  427|      0|    if (!wbuffer) {
  ------------------
  |  Branch (427:9): [True: 0, False: 0]
  ------------------
  428|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  429|      0|        PyErr_NoMemory();
  430|      0|        return NULL;
  431|      0|    }
  432|       |
  433|      0|    wchar_t *p1 = wbuffer;
  434|      0|    wchar_t *p2 = p1;
  435|      0|    while ((p2 = wcschr(p1, L'\n')) != NULL) {
  ------------------
  |  Branch (435:12): [True: 0, False: 0]
  ------------------
  436|      0|        Py_ssize_t cb = p2 - p1;
  437|      0|        while (cb >= 0 && (p1[cb] == L'\n' || p1[cb] == L'\r')) {
  ------------------
  |  Branch (437:16): [True: 0, False: 0]
  |  Branch (437:28): [True: 0, False: 0]
  |  Branch (437:47): [True: 0, False: 0]
  ------------------
  438|      0|            --cb;
  439|      0|        }
  440|      0|        PyObject *u = PyUnicode_FromWideChar(p1, cb >= 0 ? cb + 1 : 0);
  ------------------
  |  Branch (440:50): [True: 0, False: 0]
  ------------------
  441|      0|        if (!u || PyList_Append(r, u) < 0) {
  ------------------
  |  Branch (441:13): [True: 0, False: 0]
  |  Branch (441:19): [True: 0, False: 0]
  ------------------
  442|      0|            Py_XDECREF(u);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  443|      0|            Py_CLEAR(r);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  444|      0|            break;
  445|      0|        }
  446|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  447|      0|        p1 = p2 + 1;
  448|      0|    }
  449|      0|    if (r && p1 && *p1) {
  ------------------
  |  Branch (449:9): [True: 0, False: 0]
  |  Branch (449:14): [True: 0, False: 0]
  |  Branch (449:20): [True: 0, False: 0]
  ------------------
  450|      0|        PyObject *u = PyUnicode_FromWideChar(p1, -1);
  451|      0|        if (!u || PyList_Append(r, u) < 0) {
  ------------------
  |  Branch (451:13): [True: 0, False: 0]
  |  Branch (451:19): [True: 0, False: 0]
  ------------------
  452|      0|            Py_CLEAR(r);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  453|      0|        }
  454|      0|        Py_XDECREF(u);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  455|      0|    }
  456|      0|    PyMem_RawFree(wbuffer);
  457|      0|    return r;
  458|      0|}
getpath.c:getpath_realpath_impl:
  473|      2|{
  474|      2|#if defined(HAVE_READLINK)
  475|       |    /* This readlink calculation only resolves a symlinked file, and
  476|       |       does not resolve any path segments. This is consistent with
  477|       |       prior releases, however, the realpath implementation below is
  478|       |       potentially correct in more cases. */
  479|      2|    PyObject *r = NULL;
  480|      2|    int nlink = 0;
  481|      2|    wchar_t *path = PyUnicode_AsWideCharString(pathobj, NULL);
  482|      2|    if (!path) {
  ------------------
  |  Branch (482:9): [True: 0, False: 2]
  ------------------
  483|      0|        goto done;
  484|      0|    }
  485|      2|    wchar_t *path2 = _PyMem_RawWcsdup(path);
  486|      2|    PyMem_Free((void *)path);
  487|      2|    path = path2;
  488|      2|    while (path) {
  ------------------
  |  Branch (488:12): [True: 2, False: 0]
  ------------------
  489|      2|        wchar_t resolved[MAXPATHLEN + 1];
  490|      2|        int linklen = _Py_wreadlink(path, resolved, Py_ARRAY_LENGTH(resolved));
  ------------------
  |  |  232|      2|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  491|      2|        if (linklen == -1) {
  ------------------
  |  Branch (491:13): [True: 2, False: 0]
  ------------------
  492|      2|            r = PyUnicode_FromWideChar(path, -1);
  493|      2|            break;
  494|      2|        }
  495|      0|        if (_Py_isabs(resolved)) {
  ------------------
  |  Branch (495:13): [True: 0, False: 0]
  ------------------
  496|      0|            PyMem_RawFree((void *)path);
  497|      0|            path = _PyMem_RawWcsdup(resolved);
  498|      0|        } else {
  499|      0|            wchar_t *s = wcsrchr(path, SEP);
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
  500|      0|            if (s) {
  ------------------
  |  Branch (500:17): [True: 0, False: 0]
  ------------------
  501|      0|                *s = L'\0';
  502|      0|            }
  503|      0|            path2 = _Py_join_relfile(path, resolved);
  504|      0|            if (path2) {
  ------------------
  |  Branch (504:17): [True: 0, False: 0]
  ------------------
  505|      0|                path2 = _Py_normpath(path2, -1);
  506|      0|            }
  507|      0|            PyMem_RawFree((void *)path);
  508|      0|            path = path2;
  509|      0|        }
  510|      0|        nlink++;
  511|       |        /* 40 is the Linux kernel 4.2 limit */
  512|      0|        if (nlink >= 40) {
  ------------------
  |  Branch (512:13): [True: 0, False: 0]
  ------------------
  513|      0|            PyErr_SetString(PyExc_OSError, "maximum number of symbolic links reached");
  514|      0|            break;
  515|      0|        }
  516|      0|    }
  517|      2|    if (!path) {
  ------------------
  |  Branch (517:9): [True: 0, False: 2]
  ------------------
  518|      0|        PyErr_NoMemory();
  519|      0|    }
  520|      2|done:
  521|      2|    PyMem_RawFree((void *)path);
  522|      2|    return r;
  523|       |
  524|       |#elif defined(HAVE_REALPATH)
  525|       |    PyObject *r = NULL;
  526|       |    struct stat st;
  527|       |    const char *narrow = NULL;
  528|       |    wchar_t *path = PyUnicode_AsWideCharString(pathobj, NULL);
  529|       |    if (!path) {
  530|       |        goto done;
  531|       |    }
  532|       |    narrow = Py_EncodeLocale(path, NULL);
  533|       |    if (!narrow) {
  534|       |        PyErr_NoMemory();
  535|       |        goto done;
  536|       |    }
  537|       |    if (lstat(narrow, &st)) {
  538|       |        PyErr_SetFromErrno(PyExc_OSError);
  539|       |        goto done;
  540|       |    }
  541|       |    if (!S_ISLNK(st.st_mode)) {
  542|       |        r = Py_NewRef(pathobj);
  543|       |        goto done;
  544|       |    }
  545|       |    wchar_t resolved[MAXPATHLEN+1];
  546|       |    if (_Py_wrealpath(path, resolved, MAXPATHLEN) == NULL) {
  547|       |        PyErr_SetFromErrno(PyExc_OSError);
  548|       |    } else {
  549|       |        r = PyUnicode_FromWideChar(resolved, -1);
  550|       |    }
  551|       |done:
  552|       |    PyMem_Free((void *)path);
  553|       |    PyMem_Free((void *)narrow);
  554|       |    return r;
  555|       |#elif defined(MS_WINDOWS)
  556|       |    HANDLE hFile;
  557|       |    wchar_t resolved[MAXPATHLEN+1];
  558|       |    int len = 0, err;
  559|       |    Py_ssize_t pathlen;
  560|       |    PyObject *result;
  561|       |
  562|       |    wchar_t *path = PyUnicode_AsWideCharString(pathobj, &pathlen);
  563|       |    if (!path) {
  564|       |        return NULL;
  565|       |    }
  566|       |    if (wcslen(path) != pathlen) {
  567|       |        PyErr_SetString(PyExc_ValueError, "path contains embedded nulls");
  568|       |        return NULL;
  569|       |    }
  570|       |
  571|       |    Py_BEGIN_ALLOW_THREADS
  572|       |    hFile = CreateFileW(path, 0, 0, NULL, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, NULL);
  573|       |    if (hFile != INVALID_HANDLE_VALUE) {
  574|       |        len = GetFinalPathNameByHandleW(hFile, resolved, MAXPATHLEN, VOLUME_NAME_DOS);
  575|       |        err = len ? 0 : GetLastError();
  576|       |        CloseHandle(hFile);
  577|       |    } else {
  578|       |        err = GetLastError();
  579|       |    }
  580|       |    Py_END_ALLOW_THREADS
  581|       |
  582|       |    if (err) {
  583|       |        PyErr_SetFromWindowsErr(err);
  584|       |        result = NULL;
  585|       |    } else if (len <= MAXPATHLEN) {
  586|       |        const wchar_t *p = resolved;
  587|       |        if (0 == wcsncmp(p, L"\\\\?\\", 4)) {
  588|       |            if (GetFileAttributesW(&p[4]) != INVALID_FILE_ATTRIBUTES) {
  589|       |                p += 4;
  590|       |                len -= 4;
  591|       |            }
  592|       |        }
  593|       |        if (CompareStringOrdinal(path, (int)pathlen, p, len, TRUE) == CSTR_EQUAL) {
  594|       |            result = Py_NewRef(pathobj);
  595|       |        } else {
  596|       |            result = PyUnicode_FromWideChar(p, len);
  597|       |        }
  598|       |    } else {
  599|       |        result = Py_NewRef(pathobj);
  600|       |    }
  601|       |    PyMem_Free(path);
  602|       |    return result;
  603|       |#endif
  604|       |
  605|      0|    return Py_NewRef(pathobj);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  606|      2|}

PyInit_itertools:
 4225|      1|{
 4226|      1|    return PyModuleDef_Init(&itertoolsmodule);
 4227|      1|}
itertoolsmodule.c:get_module_state:
   44|      3|{
   45|      3|    void *state = _PyModule_GetState(mod);
   46|      3|    assert(state != NULL);
  ------------------
  |  Branch (46:5): [True: 3, False: 0]
  ------------------
   47|      3|    return (itertools_state *)state;
   48|      3|}
itertoolsmodule.c:itertoolsmodule_exec:
 4168|      1|{
 4169|      1|    itertools_state *state = get_module_state(mod);
 4170|      1|    ADD_TYPE(mod, state->accumulate_type, &accumulate_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4171|      1|    ADD_TYPE(mod, state->batched_type, &batched_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4172|      1|    ADD_TYPE(mod, state->chain_type, &chain_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4173|      1|    ADD_TYPE(mod, state->combinations_type, &combinations_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4174|      1|    ADD_TYPE(mod, state->compress_type, &compress_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4175|      1|    ADD_TYPE(mod, state->count_type, &count_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4176|      1|    ADD_TYPE(mod, state->cwr_type, &cwr_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4177|      1|    ADD_TYPE(mod, state->cycle_type, &cycle_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4178|      1|    ADD_TYPE(mod, state->dropwhile_type, &dropwhile_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4179|      1|    ADD_TYPE(mod, state->filterfalse_type, &filterfalse_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4180|      1|    ADD_TYPE(mod, state->groupby_type, &groupby_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4181|      1|    ADD_TYPE(mod, state->_grouper_type, &_grouper_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4182|      1|    ADD_TYPE(mod, state->islice_type, &islice_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4183|      1|    ADD_TYPE(mod, state->pairwise_type, &pairwise_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4184|      1|    ADD_TYPE(mod, state->permutations_type, &permutations_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4185|      1|    ADD_TYPE(mod, state->product_type, &product_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4186|      1|    ADD_TYPE(mod, state->repeat_type, &repeat_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4187|      1|    ADD_TYPE(mod, state->starmap_type, &starmap_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4188|      1|    ADD_TYPE(mod, state->takewhile_type, &takewhile_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4189|      1|    ADD_TYPE(mod, state->tee_type, &tee_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4190|      1|    ADD_TYPE(mod, state->teedataobject_type, &teedataobject_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4191|      1|    ADD_TYPE(mod, state->ziplongest_type, &ziplongest_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4192|       |
 4193|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4194|      1|    return 0;
 4195|      1|}
itertoolsmodule.c:permutations_dealloc:
 2909|     24|{
 2910|     24|    permutationsobject *po = permutationsobject_CAST(op);
  ------------------
  |  | 2827|     24|#define permutationsobject_CAST(op) ((permutationsobject *)(op))
  ------------------
 2911|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2912|     24|    PyObject_GC_UnTrack(po);
 2913|     24|    Py_XDECREF(po->pool);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2914|     24|    Py_XDECREF(po->result);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2915|     24|    PyMem_Free(po->indices);
 2916|     24|    PyMem_Free(po->cycles);
 2917|     24|    tp->tp_free(po);
 2918|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2919|     24|}
itertoolsmodule.c:permutations_next_impl:
 2949|     57|{
 2950|     57|    permutationsobject *po = self;
 2951|     57|    PyObject *elem;
 2952|     57|    PyObject *oldelem;
 2953|     57|    PyObject *pool = po->pool;
 2954|     57|    Py_ssize_t *indices = po->indices;
 2955|     57|    Py_ssize_t *cycles = po->cycles;
 2956|     57|    PyObject *result = po->result;
 2957|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2958|     57|    Py_ssize_t r = po->r;
 2959|     57|    Py_ssize_t i, j, k, index;
 2960|       |
 2961|     57|    if (po->stopped)
  ------------------
  |  Branch (2961:9): [True: 0, False: 57]
  ------------------
 2962|      0|        return NULL;
 2963|       |
 2964|     57|    if (result == NULL) {
  ------------------
  |  Branch (2964:9): [True: 24, False: 33]
  ------------------
 2965|       |        /* On the first pass, initialize result tuple using the indices */
 2966|     24|        result = PyTuple_New(r);
 2967|     24|        if (result == NULL)
  ------------------
  |  Branch (2967:13): [True: 0, False: 24]
  ------------------
 2968|      0|            goto empty;
 2969|     24|        po->result = result;
 2970|     57|        for (i=0; i<r ; i++) {
  ------------------
  |  Branch (2970:19): [True: 33, False: 24]
  ------------------
 2971|     33|            index = indices[i];
 2972|     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 (2972:20): [True: 33, False: 0]
  ------------------
 2973|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2974|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2975|     33|        }
 2976|     33|    } else {
 2977|     33|        if (n == 0)
  ------------------
  |  Branch (2977:13): [True: 0, False: 33]
  ------------------
 2978|      0|            goto empty;
 2979|       |
 2980|       |        /* Copy the previous result tuple or re-use it if available */
 2981|     33|        if (!_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (2981:13): [True: 33, False: 0]
  ------------------
 2982|     33|            PyObject *old_result = result;
 2983|     33|            result = PyTuple_FromArray(_PyTuple_ITEMS(old_result), r);
  ------------------
  |  |   26|     33|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  313|     66|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 33, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2984|     33|            if (result == NULL)
  ------------------
  |  Branch (2984:17): [True: 0, False: 33]
  ------------------
 2985|      0|                goto empty;
 2986|     33|            po->result = result;
 2987|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2988|     33|        }
 2989|       |        // bpo-42536: The GC may have untracked this result tuple. Since we're
 2990|       |        // recycling it, make sure it's tracked again:
 2991|      0|        else {
 2992|      0|            _PyTuple_Recycle(result);
 2993|      0|        }
 2994|       |        /* Now, we've got the only copy so we can update it in-place */
 2995|     33|        assert(r == 0 || Py_REFCNT(result) == 1);
  ------------------
  |  Branch (2995:9): [True: 0, False: 33]
  |  Branch (2995:9): [True: 33, False: 0]
  ------------------
 2996|       |
 2997|       |        /* Decrement rightmost cycle, moving leftward upon zero rollover */
 2998|     75|        for (i=r-1 ; i>=0 ; i--) {
  ------------------
  |  Branch (2998:22): [True: 51, False: 24]
  ------------------
 2999|     51|            cycles[i] -= 1;
 3000|     51|            if (cycles[i] == 0) {
  ------------------
  |  Branch (3000:17): [True: 42, False: 9]
  ------------------
 3001|       |                /* rotatation: indices[i:] = indices[i+1:] + indices[i:i+1] */
 3002|     42|                index = indices[i];
 3003|     51|                for (j=i ; j<n-1 ; j++)
  ------------------
  |  Branch (3003:28): [True: 9, False: 42]
  ------------------
 3004|      9|                    indices[j] = indices[j+1];
 3005|     42|                indices[n-1] = index;
 3006|     42|                cycles[i] = n - i;
 3007|     42|            } else {
 3008|      9|                j = cycles[i];
 3009|      9|                index = indices[i];
 3010|      9|                indices[i] = indices[n-j];
 3011|      9|                indices[n-j] = index;
 3012|       |
 3013|     27|                for (k=i; k<r ; k++) {
  ------------------
  |  Branch (3013:27): [True: 18, False: 9]
  ------------------
 3014|       |                    /* start with i, the leftmost element that changed */
 3015|       |                    /* yield tuple(pool[k] for k in indices[:r]) */
 3016|     18|                    index = indices[k];
 3017|     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 (3017:28): [True: 18, False: 0]
  ------------------
 3018|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3019|     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 (3019:31): [True: 18, False: 0]
  ------------------
 3020|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3021|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3022|     18|                }
 3023|      9|                break;
 3024|      9|            }
 3025|     51|        }
 3026|       |        /* If i is negative, then the cycles have all
 3027|       |           rolled-over and we're done. */
 3028|     33|        if (i < 0)
  ------------------
  |  Branch (3028:13): [True: 24, False: 9]
  ------------------
 3029|     24|            goto empty;
 3030|     33|    }
 3031|     33|    return Py_NewRef(result);
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3032|       |
 3033|     24|empty:
 3034|     24|    po->stopped = 1;
 3035|       |    return NULL;
 3036|     57|}
itertoolsmodule.c:itertools_permutations_impl:
 2843|     24|{
 2844|     24|    permutationsobject *po;
 2845|     24|    Py_ssize_t n;
 2846|     24|    Py_ssize_t r;
 2847|     24|    PyObject *pool = NULL;
 2848|     24|    Py_ssize_t *indices = NULL;
 2849|     24|    Py_ssize_t *cycles = NULL;
 2850|     24|    Py_ssize_t i;
 2851|       |
 2852|     24|    pool = PySequence_Tuple(iterable);
 2853|     24|    if (pool == NULL)
  ------------------
  |  Branch (2853:9): [True: 0, False: 24]
  ------------------
 2854|      0|        goto error;
 2855|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2856|       |
 2857|     24|    r = n;
 2858|     24|    if (robj != Py_None) {
  ------------------
  |  |  616|     24|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2858:9): [True: 0, False: 24]
  ------------------
 2859|      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 (2859:13): [True: 0, False: 0]
  ------------------
 2860|      0|            PyErr_SetString(PyExc_TypeError, "Expected int as r");
 2861|      0|            goto error;
 2862|      0|        }
 2863|      0|        r = PyLong_AsSsize_t(robj);
 2864|      0|        if (r == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2864:13): [True: 0, False: 0]
  |  Branch (2864:24): [True: 0, False: 0]
  ------------------
 2865|      0|            goto error;
 2866|      0|    }
 2867|     24|    if (r < 0) {
  ------------------
  |  Branch (2867:9): [True: 0, False: 24]
  ------------------
 2868|      0|        PyErr_SetString(PyExc_ValueError, "r must be non-negative");
 2869|      0|        goto error;
 2870|      0|    }
 2871|       |
 2872|     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)) ) )
  ------------------
 2873|     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)) ) )
  ------------------
 2874|     24|    if (indices == NULL || cycles == NULL) {
  ------------------
  |  Branch (2874:9): [True: 0, False: 24]
  |  Branch (2874:28): [True: 0, False: 24]
  ------------------
 2875|      0|        PyErr_NoMemory();
 2876|      0|        goto error;
 2877|      0|    }
 2878|       |
 2879|     57|    for (i=0 ; i<n ; i++)
  ------------------
  |  Branch (2879:16): [True: 33, False: 24]
  ------------------
 2880|     33|        indices[i] = i;
 2881|     57|    for (i=0 ; i<r ; i++)
  ------------------
  |  Branch (2881:16): [True: 33, False: 24]
  ------------------
 2882|     33|        cycles[i] = n - i;
 2883|       |
 2884|       |    /* create permutationsobject structure */
 2885|     24|    po = (permutationsobject *)type->tp_alloc(type, 0);
 2886|     24|    if (po == NULL)
  ------------------
  |  Branch (2886:9): [True: 0, False: 24]
  ------------------
 2887|      0|        goto error;
 2888|       |
 2889|     24|    po->pool = pool;
 2890|     24|    po->indices = indices;
 2891|     24|    po->cycles = cycles;
 2892|     24|    po->result = NULL;
 2893|     24|    po->r = r;
 2894|     24|    po->stopped = r > n ? 1 : 0;
  ------------------
  |  Branch (2894:19): [True: 0, False: 24]
  ------------------
 2895|       |
 2896|     24|    return (PyObject *)po;
 2897|       |
 2898|      0|error:
 2899|      0|    if (indices != NULL)
  ------------------
  |  Branch (2899:9): [True: 0, False: 0]
  ------------------
 2900|      0|        PyMem_Free(indices);
 2901|      0|    if (cycles != NULL)
  ------------------
  |  Branch (2901:9): [True: 0, False: 0]
  ------------------
 2902|      0|        PyMem_Free(cycles);
 2903|      0|    Py_XDECREF(pool);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2904|       |    return NULL;
 2905|     24|}
itertoolsmodule.c:product_dealloc:
 2161|     33|{
 2162|     33|    productobject *lz = productobject_CAST(op);
  ------------------
  |  | 2074|     33|#define productobject_CAST(op)  ((productobject *)(op))
  ------------------
 2163|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2164|     33|    PyObject_GC_UnTrack(lz);
 2165|     33|    Py_XDECREF(lz->pools);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2166|     33|    Py_XDECREF(lz->result);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2167|     33|    PyMem_Free(lz->indices);
 2168|     33|    tp->tp_free(lz);
 2169|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2170|     33|}
itertoolsmodule.c:product_next_impl:
 2201|    135|{
 2202|    135|    productobject *lz = self;
 2203|    135|    PyObject *pool;
 2204|    135|    PyObject *elem;
 2205|    135|    PyObject *oldelem;
 2206|    135|    PyObject *pools = lz->pools;
 2207|    135|    PyObject *result = lz->result;
 2208|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2209|    135|    Py_ssize_t i;
 2210|       |
 2211|    135|    if (lz->stopped)
  ------------------
  |  Branch (2211:9): [True: 0, False: 135]
  ------------------
 2212|      0|        return NULL;
 2213|       |
 2214|    135|    if (result == NULL) {
  ------------------
  |  Branch (2214:9): [True: 33, False: 102]
  ------------------
 2215|       |        /* On the first pass, return an initial tuple filled with the
 2216|       |           first element from each pool. */
 2217|     33|        result = PyTuple_New(npools);
 2218|     33|        if (result == NULL)
  ------------------
  |  Branch (2218:13): [True: 0, False: 33]
  ------------------
 2219|      0|            goto empty;
 2220|     33|        lz->result = result;
 2221|     84|        for (i=0; i < npools; i++) {
  ------------------
  |  Branch (2221:19): [True: 51, False: 33]
  ------------------
 2222|     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 (2222:20): [True: 51, False: 0]
  ------------------
 2223|     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 (2223:17): [True: 0, False: 51]
  ------------------
 2224|      0|                goto empty;
 2225|     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 (2225:20): [True: 51, False: 0]
  ------------------
 2226|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2227|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2228|     51|        }
 2229|    102|    } else {
 2230|    102|        Py_ssize_t *indices = lz->indices;
 2231|       |
 2232|       |        /* Copy the previous result tuple or re-use it if available */
 2233|    102|        if (!_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (2233:13): [True: 102, False: 0]
  ------------------
 2234|    102|            PyObject *old_result = result;
 2235|    102|            result = PyTuple_FromArray(_PyTuple_ITEMS(old_result), npools);
  ------------------
  |  |   26|    102|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  313|    204|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 102, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2236|    102|            if (result == NULL)
  ------------------
  |  Branch (2236:17): [True: 0, False: 102]
  ------------------
 2237|      0|                goto empty;
 2238|    102|            lz->result = result;
 2239|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2240|    102|        }
 2241|       |        // bpo-42536: The GC may have untracked this result tuple. Since we're
 2242|       |        // recycling it, make sure it's tracked again:
 2243|      0|        else {
 2244|      0|            _PyTuple_Recycle(result);
 2245|      0|        }
 2246|       |        /* Now, we've got the only copy so we can update it in-place */
 2247|    102|        assert (npools==0 || Py_REFCNT(result) == 1);
  ------------------
  |  Branch (2247:9): [True: 0, False: 102]
  |  Branch (2247:9): [True: 102, False: 0]
  ------------------
 2248|       |
 2249|       |        /* Update the pool indices right-to-left.  Only advance to the
 2250|       |           next pool when the previous one rolls-over */
 2251|    171|        for (i=npools-1 ; i >= 0 ; i--) {
  ------------------
  |  Branch (2251:27): [True: 138, False: 33]
  ------------------
 2252|    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 (2252:20): [True: 138, False: 0]
  ------------------
 2253|      0|            indices[i]++;
 2254|    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 (2254:17): [True: 69, False: 69]
  ------------------
 2255|       |                /* Roll-over and advance to next pool */
 2256|     69|                indices[i] = 0;
 2257|     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 (2257:24): [True: 69, False: 0]
  ------------------
 2258|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2259|     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 (2259:27): [True: 69, False: 0]
  ------------------
 2260|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2261|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2262|     69|            } else {
 2263|       |                /* No rollover. Just increment and stop here. */
 2264|     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 (2264:24): [True: 69, False: 0]
  ------------------
 2265|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2266|     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 (2266:27): [True: 69, False: 0]
  ------------------
 2267|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2268|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2269|     69|                break;
 2270|     69|            }
 2271|    138|        }
 2272|       |
 2273|       |        /* If i is negative, then the indices have all rolled-over
 2274|       |           and we're done. */
 2275|    102|        if (i < 0)
  ------------------
  |  Branch (2275:13): [True: 33, False: 69]
  ------------------
 2276|     33|            goto empty;
 2277|    102|    }
 2278|       |
 2279|    102|    return Py_NewRef(result);
  ------------------
  |  |  647|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2280|       |
 2281|     33|empty:
 2282|     33|    lz->stopped = 1;
 2283|       |    return NULL;
 2284|    135|}
itertoolsmodule.c:product_new:
 2078|     33|{
 2079|     33|    productobject *lz;
 2080|     33|    Py_ssize_t nargs, npools, repeat=1;
 2081|     33|    PyObject *pools = NULL;
 2082|     33|    Py_ssize_t *indices = NULL;
 2083|     33|    Py_ssize_t i;
 2084|       |
 2085|     33|    if (kwds != NULL) {
  ------------------
  |  Branch (2085:9): [True: 0, False: 33]
  ------------------
 2086|      0|        char *kwlist[] = {"repeat", 0};
 2087|      0|        PyObject *tmpargs = PyTuple_New(0);
 2088|      0|        if (tmpargs == NULL)
  ------------------
  |  Branch (2088:13): [True: 0, False: 0]
  ------------------
 2089|      0|            return NULL;
 2090|      0|        if (!PyArg_ParseTupleAndKeywords(tmpargs, kwds, "|n:product",
  ------------------
  |  Branch (2090:13): [True: 0, False: 0]
  ------------------
 2091|      0|                                         kwlist, &repeat)) {
 2092|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2093|      0|            return NULL;
 2094|      0|        }
 2095|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2096|      0|        if (repeat < 0) {
  ------------------
  |  Branch (2096:13): [True: 0, False: 0]
  ------------------
 2097|      0|            PyErr_SetString(PyExc_ValueError,
 2098|      0|                            "repeat argument cannot be negative");
 2099|      0|            return NULL;
 2100|      0|        }
 2101|      0|    }
 2102|       |
 2103|     33|    assert(PyTuple_CheckExact(args));
  ------------------
  |  Branch (2103:5): [True: 33, False: 0]
  ------------------
 2104|     33|    if (repeat == 0) {
  ------------------
  |  Branch (2104:9): [True: 0, False: 33]
  ------------------
 2105|      0|        nargs = 0;
 2106|     33|    } else {
 2107|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2108|     33|        if ((size_t)nargs > PY_SSIZE_T_MAX/sizeof(Py_ssize_t)/repeat) {
  ------------------
  |  |  137|     33|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2108:13): [True: 0, False: 33]
  ------------------
 2109|      0|            PyErr_SetString(PyExc_OverflowError, "repeat argument too large");
 2110|      0|            return NULL;
 2111|      0|        }
 2112|     33|    }
 2113|     33|    npools = nargs * repeat;
 2114|       |
 2115|     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)) ) )
  ------------------
 2116|     33|    if (indices == NULL) {
  ------------------
  |  Branch (2116:9): [True: 0, False: 33]
  ------------------
 2117|      0|        PyErr_NoMemory();
 2118|      0|        goto error;
 2119|      0|    }
 2120|       |
 2121|     33|    pools = PyTuple_New(npools);
 2122|     33|    if (pools == NULL)
  ------------------
  |  Branch (2122:9): [True: 0, False: 33]
  ------------------
 2123|      0|        goto error;
 2124|       |
 2125|     84|    for (i=0; i < nargs ; ++i) {
  ------------------
  |  Branch (2125:15): [True: 51, False: 33]
  ------------------
 2126|     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 (2126:26): [True: 51, False: 0]
  ------------------
 2127|      0|        PyObject *pool = PySequence_Tuple(item);
 2128|     51|        if (pool == NULL)
  ------------------
  |  Branch (2128:13): [True: 0, False: 51]
  ------------------
 2129|      0|            goto error;
 2130|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2131|     51|        indices[i] = 0;
 2132|     51|    }
 2133|     33|    for ( ; i < npools; ++i) {
  ------------------
  |  Branch (2133:13): [True: 0, False: 33]
  ------------------
 2134|      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 (2134:26): [True: 0, False: 0]
  ------------------
 2135|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2136|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2137|      0|        indices[i] = 0;
 2138|      0|    }
 2139|       |
 2140|       |    /* create productobject structure */
 2141|     33|    lz = (productobject *)type->tp_alloc(type, 0);
 2142|     33|    if (lz == NULL)
  ------------------
  |  Branch (2142:9): [True: 0, False: 33]
  ------------------
 2143|      0|        goto error;
 2144|       |
 2145|     33|    lz->pools = pools;
 2146|     33|    lz->indices = indices;
 2147|     33|    lz->result = NULL;
 2148|     33|    lz->stopped = 0;
 2149|       |
 2150|     33|    return (PyObject *)lz;
 2151|       |
 2152|      0|error:
 2153|      0|    if (indices != NULL)
  ------------------
  |  Branch (2153:9): [True: 0, False: 0]
  ------------------
 2154|      0|        PyMem_Free(indices);
 2155|      0|    Py_XDECREF(pools);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2156|       |    return NULL;
 2157|     33|}
itertoolsmodule.c:itertoolsmodule_traverse:
 4093|      2|{
 4094|      2|    itertools_state *state = get_module_state(mod);
 4095|      2|    Py_VISIT(state->accumulate_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4096|      2|    Py_VISIT(state->batched_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4097|      2|    Py_VISIT(state->chain_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4098|      2|    Py_VISIT(state->combinations_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4099|      2|    Py_VISIT(state->compress_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4100|      2|    Py_VISIT(state->count_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4101|      2|    Py_VISIT(state->cwr_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4102|      2|    Py_VISIT(state->cycle_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4103|      2|    Py_VISIT(state->dropwhile_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4104|      2|    Py_VISIT(state->filterfalse_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4105|      2|    Py_VISIT(state->groupby_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4106|      2|    Py_VISIT(state->_grouper_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4107|      2|    Py_VISIT(state->islice_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4108|      2|    Py_VISIT(state->pairwise_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4109|      2|    Py_VISIT(state->permutations_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4110|      2|    Py_VISIT(state->product_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4111|      2|    Py_VISIT(state->repeat_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4112|      2|    Py_VISIT(state->starmap_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4113|      2|    Py_VISIT(state->takewhile_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4114|      2|    Py_VISIT(state->tee_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4115|      2|    Py_VISIT(state->teedataobject_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4116|      2|    Py_VISIT(state->ziplongest_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4117|      2|    return 0;
 4118|      2|}

_PyLong_FromUid:
  867|    122|{
  868|    122|    if (uid == (uid_t)-1)
  ------------------
  |  Branch (868:9): [True: 0, False: 122]
  ------------------
  869|      0|        return PyLong_FromLong(-1);
  870|    122|    return PyLong_FromUnsignedLong(uid);
  871|    122|}
_PyLong_FromGid:
  875|    122|{
  876|    122|    if (gid == (gid_t)-1)
  ------------------
  |  Branch (876:9): [True: 0, False: 122]
  ------------------
  877|      0|        return PyLong_FromLong(-1);
  878|    122|    return PyLong_FromUnsignedLong(gid);
  879|    122|}
PyOS_FSPath:
17543|    232|{
17544|       |    /* For error message reasons, this function is manually inlined in
17545|       |       path_converter(). */
17546|    232|    PyObject *func = NULL;
17547|    232|    PyObject *path_repr = NULL;
17548|       |
17549|    232|    if (PyUnicode_Check(path) || PyBytes_Check(path)) {
  ------------------
  |  |  103|    232|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    464|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 232, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17550|    232|        return Py_NewRef(path);
  ------------------
  |  |  647|    232|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    232|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    232|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17551|    232|    }
17552|       |
17553|      0|    func = _PyObject_LookupSpecial(path, &_Py_ID(__fspath__));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17554|      0|    if ((NULL == func) || (func == Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (17554:9): [True: 0, False: 0]
  |  Branch (17554:27): [True: 0, False: 0]
  ------------------
17555|      0|        return PyErr_Format(PyExc_TypeError,
17556|      0|                            "expected str, bytes or os.PathLike object, "
17557|      0|                            "not %.200s",
17558|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17559|      0|    }
17560|       |
17561|      0|    path_repr = _PyObject_CallNoArgs(func);
17562|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17563|      0|    if (NULL == path_repr) {
  ------------------
  |  Branch (17563:9): [True: 0, False: 0]
  ------------------
17564|      0|        return NULL;
17565|      0|    }
17566|       |
17567|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17568|      0|        PyErr_Format(PyExc_TypeError,
17569|      0|                     "expected %.200s.__fspath__() to return str or bytes, "
17570|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17571|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17572|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17573|      0|        return NULL;
17574|      0|    }
17575|       |
17576|      0|    return path_repr;
17577|      0|}
PyInit_posix:
19315|      2|{
19316|      2|    return PyModuleDef_Init(&posixmodule);
19317|      2|}
posixmodule.c:path_converter:
 1405|    173|{
 1406|    173|    path_t *path = (path_t *)p;
 1407|    173|    PyObject *bytes = NULL;
 1408|    173|    Py_ssize_t length = 0;
 1409|    173|    int is_index, is_bytes, is_unicode;
 1410|    173|    const char *narrow;
 1411|    173|    PyObject *wo = NULL;
 1412|    173|    wchar_t *wide = NULL;
 1413|       |
 1414|    173|#define FORMAT_EXCEPTION(exc, fmt) \
 1415|    173|    PyErr_Format(exc, "%s%s" fmt, \
 1416|    173|        path->function_name ? path->function_name : "", \
 1417|    173|        path->function_name ? ": "                : "", \
 1418|    173|        path->argument_name ? path->argument_name : "path")
 1419|       |
 1420|       |    /* Py_CLEANUP_SUPPORTED support */
 1421|    173|    if (o == NULL) {
  ------------------
  |  Branch (1421:9): [True: 0, False: 173]
  ------------------
 1422|      0|        path_cleanup(path);
 1423|      0|        return 1;
 1424|      0|    }
 1425|       |
 1426|       |    /* Ensure it's always safe to call path_cleanup(). */
 1427|    173|    path->object = path->cleanup = NULL;
 1428|       |    /* path->object owns a reference to the original object */
 1429|    173|    Py_INCREF(o);
  ------------------
  |  |  310|    173|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    173|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    173|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1430|       |
 1431|    173|    if ((o == Py_None) && path->nullable) {
  ------------------
  |  |  616|    173|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1431:9): [True: 0, False: 173]
  |  Branch (1431:27): [True: 0, False: 0]
  ------------------
 1432|      0|        path->wide = NULL;
 1433|      0|        path->narrow = NULL;
 1434|      0|        path->fd = -1;
 1435|      0|        goto success_exit;
 1436|      0|    }
 1437|       |
 1438|       |    /* Only call this here so that we don't treat the return value of
 1439|       |       os.fspath() as an fd or buffer. */
 1440|    173|    is_index = path->allow_fd && PyIndex_Check(o);
  ------------------
  |  Branch (1440:16): [True: 163, False: 10]
  |  Branch (1440:34): [True: 0, False: 163]
  ------------------
 1441|    173|    is_bytes = PyBytes_Check(o);
  ------------------
  |  |   28|    173|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    173|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
 1442|    173|    is_unicode = PyUnicode_Check(o);
  ------------------
  |  |  103|    173|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    173|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
 1443|       |
 1444|    173|    if (!is_index && !is_unicode && !is_bytes) {
  ------------------
  |  Branch (1444:9): [True: 173, False: 0]
  |  Branch (1444:22): [True: 0, False: 173]
  |  Branch (1444:37): [True: 0, False: 0]
  ------------------
 1445|       |        /* Inline PyOS_FSPath() for better error messages. */
 1446|      0|        PyObject *func, *res;
 1447|       |
 1448|      0|        func = _PyObject_LookupSpecial(o, &_Py_ID(__fspath__));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1449|      0|        if ((NULL == func) || (func == Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1449:13): [True: 0, False: 0]
  |  Branch (1449:31): [True: 0, False: 0]
  ------------------
 1450|      0|            goto error_format;
 1451|      0|        }
 1452|      0|        res = _PyObject_CallNoArgs(func);
 1453|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1454|      0|        if (NULL == res) {
  ------------------
  |  Branch (1454:13): [True: 0, False: 0]
  ------------------
 1455|      0|            goto error_exit;
 1456|      0|        }
 1457|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1458|      0|            is_unicode = 1;
 1459|      0|        }
 1460|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1461|      0|            is_bytes = 1;
 1462|      0|        }
 1463|      0|        else {
 1464|      0|            PyErr_Format(PyExc_TypeError,
 1465|      0|                 "expected %.200s.__fspath__() to return str or bytes, "
 1466|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1467|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1468|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1469|      0|            goto error_exit;
 1470|      0|        }
 1471|       |
 1472|       |        /* still owns a reference to the original object */
 1473|      0|        Py_SETREF(o, res);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1474|      0|    }
 1475|       |
 1476|    173|    if (is_unicode) {
  ------------------
  |  Branch (1476:9): [True: 173, False: 0]
  ------------------
 1477|    173|        if (path->make_wide) {
  ------------------
  |  Branch (1477:13): [True: 10, False: 163]
  ------------------
 1478|     10|            wide = PyUnicode_AsWideCharString(o, &length);
 1479|     10|            if (!wide) {
  ------------------
  |  Branch (1479:17): [True: 0, False: 10]
  ------------------
 1480|      0|                goto error_exit;
 1481|      0|            }
 1482|       |#ifdef MS_WINDOWS
 1483|       |            if (!path->nonstrict && length > 32767) {
 1484|       |                FORMAT_EXCEPTION(PyExc_ValueError, "%s too long for Windows");
 1485|       |                goto error_exit;
 1486|       |            }
 1487|       |#endif
 1488|     10|            if (!path->nonstrict && wcslen(wide) != (size_t)length) {
  ------------------
  |  Branch (1488:17): [True: 0, False: 10]
  |  Branch (1488:37): [True: 0, False: 0]
  ------------------
 1489|      0|                FORMAT_EXCEPTION(PyExc_ValueError,
  ------------------
  |  | 1415|      0|    PyErr_Format(exc, "%s%s" fmt, \
  |  | 1416|      0|        path->function_name ? path->function_name : "", \
  |  |  ------------------
  |  |  |  Branch (1416:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1417|      0|        path->function_name ? ": "                : "", \
  |  |  ------------------
  |  |  |  Branch (1417:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1418|      0|        path->argument_name ? path->argument_name : "path")
  |  |  ------------------
  |  |  |  Branch (1418:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1490|      0|                                 "embedded null character in %s");
 1491|      0|                goto error_exit;
 1492|      0|            }
 1493|       |
 1494|     10|            path->wide = wide;
 1495|     10|            path->narrow = NULL;
 1496|     10|            path->fd = -1;
 1497|     10|            wide = NULL;
 1498|     10|            goto success_exit;
 1499|     10|        }
 1500|    163|        bytes = PyUnicode_EncodeFSDefault(o);
 1501|    163|        if (!bytes) {
  ------------------
  |  Branch (1501:13): [True: 0, False: 163]
  ------------------
 1502|      0|            goto error_exit;
 1503|      0|        }
 1504|    163|    }
 1505|      0|    else if (is_bytes) {
  ------------------
  |  Branch (1505:14): [True: 0, False: 0]
  ------------------
 1506|      0|        bytes = Py_NewRef(o);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1507|      0|    }
 1508|      0|    else if (is_index) {
  ------------------
  |  Branch (1508:14): [True: 0, False: 0]
  ------------------
 1509|      0|        if (!_fd_converter(o, &path->fd)) {
  ------------------
  |  Branch (1509:13): [True: 0, False: 0]
  ------------------
 1510|      0|            goto error_exit;
 1511|      0|        }
 1512|      0|        path->wide = NULL;
 1513|      0|        path->narrow = NULL;
 1514|      0|        path->is_fd = true;
 1515|      0|        goto success_exit;
 1516|      0|    }
 1517|      0|    else {
 1518|      0| error_format:
 1519|      0|        PyErr_Format(PyExc_TypeError, "%s%s%s should be %s, not %.200s",
 1520|      0|            path->function_name ? path->function_name : "",
  ------------------
  |  Branch (1520:13): [True: 0, False: 0]
  ------------------
 1521|      0|            path->function_name ? ": "                : "",
  ------------------
  |  Branch (1521:13): [True: 0, False: 0]
  ------------------
 1522|      0|            path->argument_name ? path->argument_name : "path",
  ------------------
  |  Branch (1522:13): [True: 0, False: 0]
  ------------------
 1523|      0|            path->allow_fd && path->nullable ? "string, bytes, os.PathLike, "
  ------------------
  |  Branch (1523:13): [True: 0, False: 0]
  |  Branch (1523:31): [True: 0, False: 0]
  ------------------
 1524|      0|                                               "integer or None" :
 1525|      0|            path->allow_fd ? "string, bytes, os.PathLike or integer" :
  ------------------
  |  Branch (1525:13): [True: 0, False: 0]
  ------------------
 1526|      0|            path->nullable ? "string, bytes, os.PathLike or None" :
  ------------------
  |  Branch (1526:13): [True: 0, False: 0]
  ------------------
 1527|      0|                             "string, bytes or os.PathLike",
 1528|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1529|      0|        goto error_exit;
 1530|      0|    }
 1531|       |
 1532|    163|    length = PyBytes_GET_SIZE(bytes);
  ------------------
  |  |   33|    163|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    163|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    163|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1533|    163|    narrow = PyBytes_AS_STRING(bytes);
  ------------------
  |  |   27|    163|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    163|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    163|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1534|    163|    if (!path->nonstrict && strlen(narrow) != (size_t)length) {
  ------------------
  |  Branch (1534:9): [True: 163, False: 0]
  |  Branch (1534:29): [True: 0, False: 163]
  ------------------
 1535|      0|        FORMAT_EXCEPTION(PyExc_ValueError, "embedded null character in %s");
  ------------------
  |  | 1415|      0|    PyErr_Format(exc, "%s%s" fmt, \
  |  | 1416|      0|        path->function_name ? path->function_name : "", \
  |  |  ------------------
  |  |  |  Branch (1416:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1417|      0|        path->function_name ? ": "                : "", \
  |  |  ------------------
  |  |  |  Branch (1417:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1418|      0|        path->argument_name ? path->argument_name : "path")
  |  |  ------------------
  |  |  |  Branch (1418:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1536|      0|        goto error_exit;
 1537|      0|    }
 1538|       |
 1539|    163|    if (path->make_wide) {
  ------------------
  |  Branch (1539:9): [True: 0, False: 163]
  ------------------
 1540|      0|        wo = PyUnicode_DecodeFSDefaultAndSize(narrow, length);
 1541|      0|        if (!wo) {
  ------------------
  |  Branch (1541:13): [True: 0, False: 0]
  ------------------
 1542|      0|            goto error_exit;
 1543|      0|        }
 1544|       |
 1545|      0|        wide = PyUnicode_AsWideCharString(wo, &length);
 1546|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1547|      0|        if (!wide) {
  ------------------
  |  Branch (1547:13): [True: 0, False: 0]
  ------------------
 1548|      0|            goto error_exit;
 1549|      0|        }
 1550|       |#ifdef MS_WINDOWS
 1551|       |        if (!path->nonstrict && length > 32767) {
 1552|       |            FORMAT_EXCEPTION(PyExc_ValueError, "%s too long for Windows");
 1553|       |            goto error_exit;
 1554|       |        }
 1555|       |#endif
 1556|      0|        if (!path->nonstrict && wcslen(wide) != (size_t)length) {
  ------------------
  |  Branch (1556:13): [True: 0, False: 0]
  |  Branch (1556:33): [True: 0, False: 0]
  ------------------
 1557|      0|            FORMAT_EXCEPTION(PyExc_ValueError,
  ------------------
  |  | 1415|      0|    PyErr_Format(exc, "%s%s" fmt, \
  |  | 1416|      0|        path->function_name ? path->function_name : "", \
  |  |  ------------------
  |  |  |  Branch (1416:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1417|      0|        path->function_name ? ": "                : "", \
  |  |  ------------------
  |  |  |  Branch (1417:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1418|      0|        path->argument_name ? path->argument_name : "path")
  |  |  ------------------
  |  |  |  Branch (1418:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1558|      0|                             "embedded null character in %s");
 1559|      0|            goto error_exit;
 1560|      0|        }
 1561|      0|        path->wide = wide;
 1562|      0|        path->narrow = NULL;
 1563|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1564|      0|        wide = NULL;
 1565|      0|    }
 1566|    163|    else {
 1567|    163|        path->wide = NULL;
 1568|    163|        path->narrow = narrow;
 1569|    163|        if (bytes == o) {
  ------------------
  |  Branch (1569:13): [True: 0, False: 163]
  ------------------
 1570|       |            /* Still a reference owned by path->object, don't have to
 1571|       |            worry about path->narrow is used after free. */
 1572|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1573|      0|        }
 1574|    163|        else {
 1575|    163|            path->cleanup = bytes;
 1576|    163|        }
 1577|    163|    }
 1578|    163|    path->fd = -1;
 1579|       |
 1580|    173| success_exit:
 1581|    173|    path->value_error = 0;
 1582|    173|    path->length = length;
 1583|    173|    path->object = o;
 1584|    173|    return Py_CLEANUP_SUPPORTED;
  ------------------
  |  |   57|    173|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
 1585|       |
 1586|      0| error_exit:
 1587|      0|    Py_XDECREF(o);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1588|      0|    Py_XDECREF(bytes);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1589|      0|    PyMem_Free(wide);
 1590|      0|    if (!path->suppress_value_error ||
  ------------------
  |  Branch (1590:9): [True: 0, False: 0]
  ------------------
 1591|      0|        !PyErr_ExceptionMatches(PyExc_ValueError))
  ------------------
  |  Branch (1591:9): [True: 0, False: 0]
  ------------------
 1592|      0|    {
 1593|      0|        return 0;
 1594|      0|    }
 1595|      0|    PyErr_Clear();
 1596|      0|    path->wide = NULL;
 1597|      0|    path->narrow = NULL;
 1598|      0|    path->fd = -1;
 1599|      0|    path->value_error = 1;
 1600|      0|    path->length = 0;
 1601|      0|    path->object = NULL;
 1602|      0|    return Py_CLEANUP_SUPPORTED;
  ------------------
  |  |   57|      0|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
 1603|      0|}
posixmodule.c:dir_fd_converter:
 1206|      4|{
 1207|      4|    if (o == Py_None) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1207:9): [True: 4, False: 0]
  ------------------
 1208|      4|        *(int *)p = DEFAULT_DIR_FD;
  ------------------
  |  | 1162|      4|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
 1209|      4|        return 1;
 1210|      4|    }
 1211|      0|    else if (PyIndex_Check(o)) {
  ------------------
  |  Branch (1211:14): [True: 0, False: 0]
  ------------------
 1212|      0|        return _fd_converter(o, (int *)p);
 1213|      0|    }
 1214|      0|    else {
 1215|      0|        PyErr_Format(PyExc_TypeError,
 1216|      0|                     "argument should be integer or None, not %.200s",
 1217|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1218|      0|        return 0;
 1219|      0|    }
 1220|      4|}
posixmodule.c:os_stat_impl:
 3303|    152|{
 3304|    152|    return posix_do_stat(module, "stat", path, dir_fd, follow_symlinks);
 3305|    152|}
posixmodule.c:posix_do_stat:
 2899|    152|{
 2900|    152|    STRUCT_STAT st;
  ------------------
  |  |  413|    152|#  define STRUCT_STAT struct stat
  ------------------
 2901|    152|    int result;
 2902|       |
 2903|    152|#ifdef HAVE_FSTATAT
 2904|    152|    int fstatat_unavailable = 0;
 2905|    152|#endif
 2906|       |
 2907|       |#if !defined(MS_WINDOWS) && !defined(HAVE_FSTATAT) && !defined(HAVE_LSTAT)
 2908|       |    if (follow_symlinks_specified(function_name, follow_symlinks))
 2909|       |        return NULL;
 2910|       |#endif
 2911|       |
 2912|    152|    if (path_and_dir_fd_invalid("stat", path, dir_fd) ||
  ------------------
  |  Branch (2912:9): [True: 0, False: 152]
  ------------------
 2913|    152|        dir_fd_and_fd_invalid("stat", dir_fd, path->fd) ||
  ------------------
  |  Branch (2913:9): [True: 0, False: 152]
  ------------------
 2914|    152|        fd_and_follow_symlinks_invalid("stat", path->is_fd, follow_symlinks))
  ------------------
  |  Branch (2914:9): [True: 0, False: 152]
  ------------------
 2915|      0|        return NULL;
 2916|       |
 2917|    152|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|    152|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|    152|                        PyThreadState *_save; \
  |  |  119|    152|                        _save = PyEval_SaveThread();
  ------------------
 2918|    152|    if (path->is_fd) {
  ------------------
  |  Branch (2918:9): [True: 0, False: 152]
  ------------------
 2919|      0|        result = FSTAT(path->fd, &st);
  ------------------
  |  |  412|      0|#  define FSTAT fstat
  ------------------
 2920|      0|    }
 2921|       |#ifdef MS_WINDOWS
 2922|       |    else if (follow_symlinks)
 2923|       |        result = win32_stat(path->wide, &st);
 2924|       |    else
 2925|       |        result = win32_lstat(path->wide, &st);
 2926|       |#else
 2927|    152|    else
 2928|    152|#if defined(HAVE_LSTAT)
 2929|    152|    if ((!follow_symlinks) && (dir_fd == DEFAULT_DIR_FD))
  ------------------
  |  | 1162|      0|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (2929:9): [True: 0, False: 152]
  |  Branch (2929:31): [True: 0, False: 0]
  ------------------
 2930|      0|        result = LSTAT(path->narrow, &st);
  ------------------
  |  |  411|      0|#  define LSTAT lstat
  ------------------
 2931|    152|    else
 2932|    152|#endif /* HAVE_LSTAT */
 2933|    152|#ifdef HAVE_FSTATAT
 2934|    152|    if ((dir_fd != DEFAULT_DIR_FD) || !follow_symlinks) {
  ------------------
  |  | 1162|    152|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (2934:9): [True: 0, False: 152]
  |  Branch (2934:39): [True: 0, False: 152]
  ------------------
 2935|      0|        if (HAVE_FSTATAT_RUNTIME) {
  ------------------
  |  |  617|      0|#  define HAVE_FSTATAT_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (617:32): [True: 0, Folded]
  |  |  ------------------
  ------------------
 2936|      0|            result = fstatat(dir_fd, path->narrow, &st,
 2937|      0|                         follow_symlinks ? 0 : AT_SYMLINK_NOFOLLOW);
  ------------------
  |  Branch (2937:26): [True: 0, False: 0]
  ------------------
 2938|       |
 2939|      0|        } else {
 2940|      0|            fstatat_unavailable = 1;
 2941|      0|        }
 2942|      0|    } else
 2943|    152|#endif /* HAVE_FSTATAT */
 2944|    152|        result = STAT(path->narrow, &st);
  ------------------
  |  |  410|    152|#  define STAT stat
  ------------------
 2945|    152|#endif /* MS_WINDOWS */
 2946|    152|    Py_END_ALLOW_THREADS
  ------------------
  |  |  122|    152|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|    152|                 }
  ------------------
 2947|       |
 2948|    152|#ifdef HAVE_FSTATAT
 2949|    152|    if (fstatat_unavailable) {
  ------------------
  |  Branch (2949:9): [True: 0, False: 152]
  ------------------
 2950|      0|        argument_unavailable_error("stat", "dir_fd");
 2951|      0|        return NULL;
 2952|      0|    }
 2953|    152|#endif
 2954|       |
 2955|    152|    if (result != 0) {
  ------------------
  |  Branch (2955:9): [True: 34, False: 118]
  ------------------
 2956|     34|        return path_error(path);
 2957|     34|    }
 2958|       |
 2959|    118|    return _pystat_fromstructstat(module, &st);
 2960|    152|}
posixmodule.c:path_and_dir_fd_invalid:
 1651|    152|{
 1652|    152|    if (!path->wide && (dir_fd != DEFAULT_DIR_FD) && !path->narrow) {
  ------------------
  |  | 1162|    152|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (1652:9): [True: 152, False: 0]
  |  Branch (1652:24): [True: 0, False: 152]
  |  Branch (1652:54): [True: 0, False: 0]
  ------------------
 1653|      0|        PyErr_Format(PyExc_ValueError,
 1654|      0|                     "%s: can't specify dir_fd without matching path",
 1655|      0|                     function_name);
 1656|      0|        return 1;
 1657|      0|    }
 1658|    152|    return 0;
 1659|    152|}
posixmodule.c:dir_fd_and_fd_invalid:
 1663|    152|{
 1664|    152|    if ((dir_fd != DEFAULT_DIR_FD) && (fd != -1)) {
  ------------------
  |  | 1162|    152|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (1664:9): [True: 0, False: 152]
  |  Branch (1664:39): [True: 0, False: 0]
  ------------------
 1665|      0|        PyErr_Format(PyExc_ValueError,
 1666|      0|                     "%s: can't specify both dir_fd and fd",
 1667|      0|                     function_name);
 1668|      0|        return 1;
 1669|      0|    }
 1670|    152|    return 0;
 1671|    152|}
posixmodule.c:fd_and_follow_symlinks_invalid:
 1676|    152|{
 1677|    152|    if (is_fd && (!follow_symlinks)) {
  ------------------
  |  Branch (1677:9): [True: 0, False: 152]
  |  Branch (1677:18): [True: 0, False: 0]
  ------------------
 1678|      0|        PyErr_Format(PyExc_ValueError,
 1679|      0|                     "%s: cannot use fd and follow_symlinks together",
 1680|      0|                     function_name);
 1681|      0|        return 1;
 1682|      0|    }
 1683|    152|    return 0;
 1684|    152|}
posixmodule.c:path_error:
 1940|     34|{
 1941|     34|    return path_object_error(path->object);
 1942|     34|}
posixmodule.c:path_object_error:
 1918|     34|{
 1919|       |#ifdef MS_WINDOWS
 1920|       |    return PyErr_SetExcFromWindowsErrWithFilenameObject(
 1921|       |                PyExc_OSError, 0, path);
 1922|       |#else
 1923|     34|    return posix_path_object_error(path);
 1924|     34|#endif
 1925|     34|}
posixmodule.c:posix_path_object_error:
 1912|     34|{
 1913|     34|    return PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, path);
 1914|     34|}
posixmodule.c:_pystat_fromstructstat:
 2772|    118|{
 2773|    118|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2773:5): [True: 118, False: 0]
  ------------------
 2774|       |
 2775|    118|    _posixstate *state = get_posix_state(module);
 2776|    118|    PyObject *StatResultType = state->StatResultType;
 2777|    118|    PyObject *v = PyStructSequence_New((PyTypeObject *)StatResultType);
 2778|    118|    if (v == NULL) {
  ------------------
  |  Branch (2778:9): [True: 0, False: 118]
  ------------------
 2779|      0|        return NULL;
 2780|      0|    }
 2781|       |
 2782|    118|#define SET_ITEM(pos, expr) \
 2783|    118|    do { \
 2784|    118|        PyObject *obj = (expr); \
 2785|    118|        if (obj == NULL) { \
 2786|    118|            goto error; \
 2787|    118|        } \
 2788|    118|        PyStructSequence_SET_ITEM(v, (pos), obj); \
 2789|    118|    } while (0)
 2790|       |
 2791|    118|    SET_ITEM(0, PyLong_FromLong((long)st->st_mode));
  ------------------
  |  | 2783|    118|    do { \
  |  | 2784|    118|        PyObject *obj = (expr); \
  |  | 2785|    118|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2785:13): [True: 0, False: 118]
  |  |  ------------------
  |  | 2786|      0|            goto error; \
  |  | 2787|      0|        } \
  |  | 2788|    118|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    118|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2789|    118|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2789:14): [Folded, False: 118]
  |  |  ------------------
  ------------------
 2792|       |#ifdef MS_WINDOWS
 2793|       |    SET_ITEM(1, _pystat_l128_from_l64_l64(st->st_ino, st->st_ino_high));
 2794|       |    SET_ITEM(2, PyLong_FromUnsignedLongLong(st->st_dev));
 2795|       |#else
 2796|    118|    static_assert(sizeof(unsigned long long) >= sizeof(st->st_ino),
 2797|    118|                  "stat.st_ino is larger than unsigned long long");
 2798|    118|    SET_ITEM(1, PyLong_FromUnsignedLongLong(st->st_ino));
  ------------------
  |  | 2783|    118|    do { \
  |  | 2784|    118|        PyObject *obj = (expr); \
  |  | 2785|    118|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2785:13): [True: 0, False: 118]
  |  |  ------------------
  |  | 2786|      0|            goto error; \
  |  | 2787|      0|        } \
  |  | 2788|    118|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    118|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2789|    118|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2789:14): [Folded, False: 118]
  |  |  ------------------
  ------------------
 2799|    118|    SET_ITEM(2, _PyLong_FromDev(st->st_dev));
  ------------------
  |  | 2783|    118|    do { \
  |  | 2784|    118|        PyObject *obj = (expr); \
  |  | 2785|    118|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2785:13): [True: 0, False: 118]
  |  |  ------------------
  |  | 2786|      0|            goto error; \
  |  | 2787|      0|        } \
  |  | 2788|    118|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    118|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2789|    118|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2789:14): [Folded, False: 118]
  |  |  ------------------
  ------------------
 2800|    118|#endif
 2801|    118|    SET_ITEM(3, PyLong_FromLong((long)st->st_nlink));
  ------------------
  |  | 2783|    118|    do { \
  |  | 2784|    118|        PyObject *obj = (expr); \
  |  | 2785|    118|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2785:13): [True: 0, False: 118]
  |  |  ------------------
  |  | 2786|      0|            goto error; \
  |  | 2787|      0|        } \
  |  | 2788|    118|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    118|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2789|    118|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2789:14): [Folded, False: 118]
  |  |  ------------------
  ------------------
 2802|       |#if defined(MS_WINDOWS)
 2803|       |    SET_ITEM(4, PyLong_FromLong(0));
 2804|       |    SET_ITEM(5, PyLong_FromLong(0));
 2805|       |#else
 2806|    118|    SET_ITEM(4, _PyLong_FromUid(st->st_uid));
  ------------------
  |  | 2783|    118|    do { \
  |  | 2784|    118|        PyObject *obj = (expr); \
  |  | 2785|    118|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2785:13): [True: 0, False: 118]
  |  |  ------------------
  |  | 2786|      0|            goto error; \
  |  | 2787|      0|        } \
  |  | 2788|    118|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    118|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2789|    118|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2789:14): [Folded, False: 118]
  |  |  ------------------
  ------------------
 2807|    118|    SET_ITEM(5, _PyLong_FromGid(st->st_gid));
  ------------------
  |  | 2783|    118|    do { \
  |  | 2784|    118|        PyObject *obj = (expr); \
  |  | 2785|    118|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2785:13): [True: 0, False: 118]
  |  |  ------------------
  |  | 2786|      0|            goto error; \
  |  | 2787|      0|        } \
  |  | 2788|    118|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    118|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2789|    118|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2789:14): [Folded, False: 118]
  |  |  ------------------
  ------------------
 2808|    118|#endif
 2809|    118|    static_assert(sizeof(long long) >= sizeof(st->st_size),
 2810|    118|                  "stat.st_size is larger than long long");
 2811|    118|    SET_ITEM(6, PyLong_FromLongLong(st->st_size));
  ------------------
  |  | 2783|    118|    do { \
  |  | 2784|    118|        PyObject *obj = (expr); \
  |  | 2785|    118|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2785:13): [True: 0, False: 118]
  |  |  ------------------
  |  | 2786|      0|            goto error; \
  |  | 2787|      0|        } \
  |  | 2788|    118|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    118|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2789|    118|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2789:14): [Folded, False: 118]
  |  |  ------------------
  ------------------
 2812|       |
 2813|       |    // Set st_atime, st_mtime and st_ctime
 2814|    118|    unsigned long ansec, mnsec, cnsec;
 2815|    118|#if defined(HAVE_STAT_TV_NSEC)
 2816|    118|    ansec = st->st_atim.tv_nsec;
 2817|    118|    mnsec = st->st_mtim.tv_nsec;
 2818|    118|    cnsec = st->st_ctim.tv_nsec;
 2819|       |#elif defined(HAVE_STAT_TV_NSEC2)
 2820|       |    ansec = st->st_atimespec.tv_nsec;
 2821|       |    mnsec = st->st_mtimespec.tv_nsec;
 2822|       |    cnsec = st->st_ctimespec.tv_nsec;
 2823|       |#elif defined(HAVE_STAT_NSEC)
 2824|       |    ansec = st->st_atime_nsec;
 2825|       |    mnsec = st->st_mtime_nsec;
 2826|       |    cnsec = st->st_ctime_nsec;
 2827|       |#else
 2828|       |    ansec = mnsec = cnsec = 0;
 2829|       |#endif
 2830|    118|    if (fill_time(state, v, 7, 10, 13, st->st_atime, ansec) < 0) {
  ------------------
  |  Branch (2830:9): [True: 0, False: 118]
  ------------------
 2831|      0|        goto error;
 2832|      0|    }
 2833|    118|    if (fill_time(state, v, 8, 11, 14, st->st_mtime, mnsec) < 0) {
  ------------------
  |  Branch (2833:9): [True: 0, False: 118]
  ------------------
 2834|      0|        goto error;
 2835|      0|    }
 2836|    118|    if (fill_time(state, v, 9, 12, 15, st->st_ctime, cnsec) < 0) {
  ------------------
  |  Branch (2836:9): [True: 0, False: 118]
  ------------------
 2837|      0|        goto error;
 2838|      0|    }
 2839|       |
 2840|    118|#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
 2841|    118|    SET_ITEM(ST_BLKSIZE_IDX, PyLong_FromLong((long)st->st_blksize));
  ------------------
  |  | 2783|    118|    do { \
  |  | 2784|    118|        PyObject *obj = (expr); \
  |  | 2785|    118|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2785:13): [True: 0, False: 118]
  |  |  ------------------
  |  | 2786|      0|            goto error; \
  |  | 2787|      0|        } \
  |  | 2788|    118|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    118|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2789|    118|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2789:14): [Folded, False: 118]
  |  |  ------------------
  ------------------
 2842|    118|#endif
 2843|    118|#ifdef HAVE_STRUCT_STAT_ST_BLOCKS
 2844|    118|    SET_ITEM(ST_BLOCKS_IDX, PyLong_FromLong((long)st->st_blocks));
  ------------------
  |  | 2783|    118|    do { \
  |  | 2784|    118|        PyObject *obj = (expr); \
  |  | 2785|    118|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2785:13): [True: 0, False: 118]
  |  |  ------------------
  |  | 2786|      0|            goto error; \
  |  | 2787|      0|        } \
  |  | 2788|    118|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    118|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2789|    118|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2789:14): [Folded, False: 118]
  |  |  ------------------
  ------------------
 2845|    118|#endif
 2846|    118|#ifdef HAVE_STRUCT_STAT_ST_RDEV
 2847|    118|    SET_ITEM(ST_RDEV_IDX, _PyLong_FromDev(st->st_rdev));
  ------------------
  |  | 2783|    118|    do { \
  |  | 2784|    118|        PyObject *obj = (expr); \
  |  | 2785|    118|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2785:13): [True: 0, False: 118]
  |  |  ------------------
  |  | 2786|      0|            goto error; \
  |  | 2787|      0|        } \
  |  | 2788|    118|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    118|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2789|    118|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2789:14): [Folded, False: 118]
  |  |  ------------------
  ------------------
 2848|    118|#endif
 2849|       |#ifdef HAVE_STRUCT_STAT_ST_GEN
 2850|       |    SET_ITEM(ST_GEN_IDX, PyLong_FromLong((long)st->st_gen));
 2851|       |#endif
 2852|       |#if defined(HAVE_STRUCT_STAT_ST_BIRTHTIME)
 2853|       |    {
 2854|       |      unsigned long bsec, bnsec;
 2855|       |      bsec = (long)st->st_birthtime;
 2856|       |#ifdef HAVE_STAT_TV_NSEC2
 2857|       |      bnsec = st->st_birthtimespec.tv_nsec;
 2858|       |#else
 2859|       |      bnsec = 0;
 2860|       |#endif
 2861|       |      SET_ITEM(ST_BIRTHTIME_IDX, PyFloat_FromDouble(bsec + bnsec * 1e-9));
 2862|       |    }
 2863|       |#elif defined(MS_WINDOWS)
 2864|       |    if (fill_time(state, v, -1, ST_BIRTHTIME_IDX, ST_BIRTHTIME_NS_IDX,
 2865|       |                  st->st_birthtime, st->st_birthtime_nsec) < 0) {
 2866|       |        goto error;
 2867|       |    }
 2868|       |#endif
 2869|       |#ifdef HAVE_STRUCT_STAT_ST_FLAGS
 2870|       |    SET_ITEM(ST_FLAGS_IDX, PyLong_FromLong((long)st->st_flags));
 2871|       |#endif
 2872|       |#ifdef HAVE_STRUCT_STAT_ST_FILE_ATTRIBUTES
 2873|       |    SET_ITEM(ST_FILE_ATTRIBUTES_IDX,
 2874|       |             PyLong_FromUnsignedLong(st->st_file_attributes));
 2875|       |#endif
 2876|       |#ifdef HAVE_STRUCT_STAT_ST_FSTYPE
 2877|       |   SET_ITEM(ST_FSTYPE_IDX, PyUnicode_FromString(st->st_fstype));
 2878|       |#endif
 2879|       |#ifdef HAVE_STRUCT_STAT_ST_REPARSE_TAG
 2880|       |    SET_ITEM(ST_REPARSE_TAG_IDX, PyLong_FromUnsignedLong(st->st_reparse_tag));
 2881|       |#endif
 2882|       |
 2883|    118|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2883:5): [True: 118, False: 0]
  ------------------
 2884|    118|    return v;
 2885|       |
 2886|      0|error:
 2887|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2888|      0|    return NULL;
 2889|       |
 2890|    118|#undef SET_ITEM
 2891|    118|}
posixmodule.c:get_posix_state:
 1254|    124|{
 1255|    124|    void *state = _PyModule_GetState(module);
 1256|    124|    assert(state != NULL);
  ------------------
  |  Branch (1256:5): [True: 124, False: 0]
  ------------------
 1257|    124|    return (_posixstate *)state;
 1258|    124|}
posixmodule.c:_PyLong_FromDev:
 1098|    238|{
 1099|    238|#ifdef NODEV
 1100|    238|    if (dev == NODEV) {
  ------------------
  |  Branch (1100:9): [True: 2, False: 236]
  ------------------
 1101|      2|        return PyLong_FromLongLong((long long)dev);
 1102|      2|    }
 1103|    236|#endif
 1104|    236|    return PyLong_FromUnsignedLongLong((unsigned long long)dev);
 1105|    238|}
posixmodule.c:fill_time:
 2708|    354|{
 2709|    354|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2709:5): [True: 354, False: 0]
  ------------------
 2710|    354|    assert(nsec < SEC_TO_NS);
  ------------------
  |  Branch (2710:5): [True: 354, False: 0]
  ------------------
 2711|       |
 2712|    354|    if (s_index >= 0) {
  ------------------
  |  Branch (2712:9): [True: 354, False: 0]
  ------------------
 2713|    354|        PyObject *s = _PyLong_FromTime_t(sec);
 2714|    354|        if (s == NULL) {
  ------------------
  |  Branch (2714:13): [True: 0, False: 354]
  ------------------
 2715|      0|            return -1;
 2716|      0|        }
 2717|    354|        PyStructSequence_SET_ITEM(v, s_index, s);
  ------------------
  |  |   11|    354|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 2718|    354|    }
 2719|       |
 2720|    354|    if (f_index >= 0) {
  ------------------
  |  Branch (2720:9): [True: 354, False: 0]
  ------------------
 2721|    354|        PyObject *float_s = PyFloat_FromDouble((double)sec + 1e-9 * nsec);
 2722|    354|        if (float_s == NULL) {
  ------------------
  |  Branch (2722:13): [True: 0, False: 354]
  ------------------
 2723|      0|            return -1;
 2724|      0|        }
 2725|    354|        PyStructSequence_SET_ITEM(v, f_index, float_s);
  ------------------
  |  |   11|    354|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 2726|    354|    }
 2727|       |
 2728|    354|    if (ns_index >= 0) {
  ------------------
  |  Branch (2728:9): [True: 354, False: 0]
  ------------------
 2729|    354|        PyObject *ns_total = stat_nanosecond_timestamp(state, sec, nsec);
 2730|    354|        if (ns_total == NULL) {
  ------------------
  |  Branch (2730:13): [True: 0, False: 354]
  ------------------
 2731|      0|            return -1;
 2732|      0|        }
 2733|    354|        PyStructSequence_SET_ITEM(v, ns_index, ns_total);
  ------------------
  |  |   11|    354|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 2734|    354|    }
 2735|       |
 2736|    354|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2736:5): [True: 354, False: 0]
  ------------------
 2737|    354|    return 0;
 2738|    354|}
posixmodule.c:stat_nanosecond_timestamp:
 2671|    354|{
 2672|       |#if SIZEOF_TIME_T == 4
 2673|       |    return PyLong_FromLongLong(sec * SEC_TO_NS + nsec);
 2674|       |#else
 2675|       |    /* 1677-09-21 00:12:44 to 2262-04-11 23:47:15 UTC inclusive */
 2676|    354|    if ((LLONG_MIN/SEC_TO_NS) <= sec && sec <= (LLONG_MAX/SEC_TO_NS - 1)) {
  ------------------
  |  | 2668|    354|#define SEC_TO_NS (1000000000LL)
  ------------------
                  if ((LLONG_MIN/SEC_TO_NS) <= sec && sec <= (LLONG_MAX/SEC_TO_NS - 1)) {
  ------------------
  |  | 2668|    354|#define SEC_TO_NS (1000000000LL)
  ------------------
  |  Branch (2676:9): [True: 354, False: 0]
  |  Branch (2676:41): [True: 354, False: 0]
  ------------------
 2677|    354|        return PyLong_FromLongLong(sec * SEC_TO_NS + nsec);
  ------------------
  |  | 2668|    354|#define SEC_TO_NS (1000000000LL)
  ------------------
 2678|    354|    }
 2679|      0|    else
 2680|      0|    {
 2681|      0|        PyObject *ns_total = NULL;
 2682|      0|        PyObject *s_in_ns = NULL;
 2683|      0|        PyObject *s = _PyLong_FromTime_t(sec);
 2684|      0|        PyObject *ns_fractional = PyLong_FromUnsignedLong(nsec);
 2685|      0|        if (s == NULL || ns_fractional == NULL) {
  ------------------
  |  Branch (2685:13): [True: 0, False: 0]
  |  Branch (2685:26): [True: 0, False: 0]
  ------------------
 2686|      0|            goto exit;
 2687|      0|        }
 2688|       |
 2689|      0|        s_in_ns = PyNumber_Multiply(s, state->billion);
 2690|      0|        if (s_in_ns == NULL) {
  ------------------
  |  Branch (2690:13): [True: 0, False: 0]
  ------------------
 2691|      0|            goto exit;
 2692|      0|        }
 2693|       |
 2694|      0|        ns_total = PyNumber_Add(s_in_ns, ns_fractional);
 2695|       |
 2696|      0|    exit:
 2697|      0|        Py_XDECREF(s);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2698|      0|        Py_XDECREF(ns_fractional);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2699|      0|        Py_XDECREF(s_in_ns);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2700|      0|        return ns_total;
 2701|      0|    }
 2702|    354|#endif
 2703|    354|}
posixmodule.c:path_cleanup:
 1395|    173|{
 1396|    173|    wchar_t *wide = (wchar_t *)path->wide;
 1397|    173|    path->wide = NULL;
 1398|    173|    PyMem_Free(wide);
 1399|    173|    Py_CLEAR(path->object);
  ------------------
  |  |  487|    173|    do { \
  |  |  488|    173|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    173|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    173|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    173|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    173|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    173|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 173, False: 0]
  |  |  ------------------
  |  |  491|    173|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    173|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    173|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    173|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    173|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    173|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    173|        } \
  |  |  494|    173|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 173]
  |  |  ------------------
  ------------------
 1400|       |    Py_CLEAR(path->cleanup);
  ------------------
  |  |  487|    173|    do { \
  |  |  488|    173|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    173|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    173|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    173|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    173|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    173|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 163, False: 10]
  |  |  ------------------
  |  |  491|    163|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    163|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    163|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    163|        } \
  |  |  494|    173|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 173]
  |  |  ------------------
  ------------------
 1401|    173|}
posixmodule.c:follow_symlinks_specified:
 1641|      2|{
 1642|      2|    if (follow_symlinks)
  ------------------
  |  Branch (1642:9): [True: 2, False: 0]
  ------------------
 1643|      2|        return 0;
 1644|       |
 1645|      0|    argument_unavailable_error(function_name, "follow_symlinks");
 1646|      0|    return 1;
 1647|      2|}
posixmodule.c:dir_fd_and_follow_symlinks_invalid:
 1689|      2|{
 1690|      2|    if ((dir_fd != DEFAULT_DIR_FD) && (!follow_symlinks)) {
  ------------------
  |  | 1162|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (1690:9): [True: 0, False: 2]
  |  Branch (1690:39): [True: 0, False: 0]
  ------------------
 1691|      0|        PyErr_Format(PyExc_ValueError,
 1692|      0|                     "%s: cannot use dir_fd and follow_symlinks together",
 1693|      0|                     function_name);
 1694|      0|        return 1;
 1695|      0|    }
 1696|      2|    return 0;
 1697|      2|}
posixmodule.c:os_listdir_impl:
 5151|     11|{
 5152|     11|    if (PySys_Audit("os.listdir", "O",
  ------------------
  |  Branch (5152:9): [True: 0, False: 11]
  ------------------
 5153|     11|                    path->object ? path->object : Py_None) < 0) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5153:21): [True: 11, False: 0]
  ------------------
 5154|      0|        return NULL;
 5155|      0|    }
 5156|       |#if defined(MS_WINDOWS) && !defined(HAVE_OPENDIR)
 5157|       |    return _listdir_windows_no_opendir(path, NULL);
 5158|       |#else
 5159|     11|    return _posix_listdir(path, NULL);
 5160|     11|#endif
 5161|     11|}
posixmodule.c:_posix_listdir:
 5015|     11|{
 5016|     11|    PyObject *v;
 5017|     11|    DIR *dirp = NULL;
 5018|     11|    struct dirent *ep;
 5019|     11|    int return_str; /* if false, return bytes */
 5020|     11|#ifdef HAVE_FDOPENDIR
 5021|     11|    int fd = -1;
 5022|     11|#endif
 5023|       |
 5024|     11|    errno = 0;
 5025|     11|#ifdef HAVE_FDOPENDIR
 5026|     11|    if (path->is_fd) {
  ------------------
  |  Branch (5026:9): [True: 0, False: 11]
  ------------------
 5027|      0|      if (HAVE_FDOPENDIR_RUNTIME) {
  ------------------
  |  |  626|      0|#  define HAVE_FDOPENDIR_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (626:34): [True: 0, Folded]
  |  |  ------------------
  ------------------
 5028|       |        /* closedir() closes the FD, so we duplicate it */
 5029|      0|        fd = _Py_dup(path->fd);
 5030|      0|        if (fd == -1)
  ------------------
  |  Branch (5030:13): [True: 0, False: 0]
  ------------------
 5031|      0|            return NULL;
 5032|       |
 5033|      0|        return_str = 1;
 5034|       |
 5035|      0|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|      0|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|      0|                        PyThreadState *_save; \
  |  |  119|      0|                        _save = PyEval_SaveThread();
  ------------------
 5036|      0|        dirp = fdopendir(fd);
 5037|      0|        Py_END_ALLOW_THREADS
  ------------------
  |  |  122|      0|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|      0|                 }
  ------------------
 5038|      0|      } else {
 5039|      0|        PyErr_SetString(PyExc_TypeError,
 5040|      0|            "listdir: path should be string, bytes, os.PathLike or None, not int");
 5041|      0|        return NULL;
 5042|      0|      }
 5043|      0|    }
 5044|     11|    else
 5045|     11|#endif
 5046|     11|    {
 5047|     11|        const char *name;
 5048|     11|        if (path->narrow) {
  ------------------
  |  Branch (5048:13): [True: 11, False: 0]
  ------------------
 5049|     11|            name = path->narrow;
 5050|       |            /* only return bytes if they specified a bytes object */
 5051|     11|            return_str = !PyBytes_Check(path->object);
  ------------------
  |  |   28|     11|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     11|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
 5052|     11|        }
 5053|      0|        else {
 5054|      0|            name = ".";
 5055|      0|            return_str = 1;
 5056|      0|        }
 5057|       |
 5058|     11|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|     11|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|     11|                        PyThreadState *_save; \
  |  |  119|     11|                        _save = PyEval_SaveThread();
  ------------------
 5059|     11|        dirp = opendir(name);
 5060|     11|        Py_END_ALLOW_THREADS
  ------------------
  |  |  122|     11|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|     11|                 }
  ------------------
 5061|     11|    }
 5062|       |
 5063|     11|    if (dirp == NULL) {
  ------------------
  |  Branch (5063:9): [True: 0, False: 11]
  ------------------
 5064|      0|        path_error(path);
 5065|      0|        list = NULL;
 5066|      0|#ifdef HAVE_FDOPENDIR
 5067|      0|        if (fd != -1) {
  ------------------
  |  Branch (5067:13): [True: 0, False: 0]
  ------------------
 5068|      0|            Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|      0|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|      0|                        PyThreadState *_save; \
  |  |  119|      0|                        _save = PyEval_SaveThread();
  ------------------
 5069|      0|            close(fd);
 5070|      0|            Py_END_ALLOW_THREADS
  ------------------
  |  |  122|      0|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|      0|                 }
  ------------------
 5071|      0|        }
 5072|      0|#endif
 5073|      0|        goto exit;
 5074|      0|    }
 5075|     11|    if ((list = PyList_New(0)) == NULL) {
  ------------------
  |  Branch (5075:9): [True: 0, False: 11]
  ------------------
 5076|      0|        goto exit;
 5077|      0|    }
 5078|    849|    for (;;) {
 5079|    849|        errno = 0;
 5080|    849|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|    849|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|    849|                        PyThreadState *_save; \
  |  |  119|    849|                        _save = PyEval_SaveThread();
  ------------------
 5081|    849|        ep = readdir(dirp);
 5082|    849|        Py_END_ALLOW_THREADS
  ------------------
  |  |  122|    849|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|    849|                 }
  ------------------
 5083|    849|        if (ep == NULL) {
  ------------------
  |  Branch (5083:13): [True: 11, False: 838]
  ------------------
 5084|     11|            if (errno == 0) {
  ------------------
  |  Branch (5084:17): [True: 11, False: 0]
  ------------------
 5085|     11|                break;
 5086|     11|            } else {
 5087|      0|                path_error(path);
 5088|      0|                Py_CLEAR(list);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5089|      0|                goto exit;
 5090|      0|            }
 5091|     11|        }
 5092|    838|        if (ep->d_name[0] == '.' &&
  ------------------
  |  Branch (5092:13): [True: 22, False: 816]
  ------------------
 5093|     22|            (NAMLEN(ep) == 1 ||
  ------------------
  |  |  329|     22|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
  |  Branch (5093:14): [True: 11, False: 11]
  ------------------
 5094|     11|             (ep->d_name[1] == '.' && NAMLEN(ep) == 2)))
  ------------------
  |  |  329|     11|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
  |  Branch (5094:15): [True: 11, False: 0]
  |  Branch (5094:39): [True: 11, False: 0]
  ------------------
 5095|     22|            continue;
 5096|    816|        if (return_str)
  ------------------
  |  Branch (5096:13): [True: 816, False: 0]
  ------------------
 5097|    816|            v = PyUnicode_DecodeFSDefaultAndSize(ep->d_name, NAMLEN(ep));
  ------------------
  |  |  329|    816|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
 5098|      0|        else
 5099|      0|            v = PyBytes_FromStringAndSize(ep->d_name, NAMLEN(ep));
  ------------------
  |  |  329|      0|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
 5100|    816|        if (v == NULL) {
  ------------------
  |  Branch (5100:13): [True: 0, False: 816]
  ------------------
 5101|      0|            Py_CLEAR(list);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5102|      0|            break;
 5103|      0|        }
 5104|    816|        if (PyList_Append(list, v) != 0) {
  ------------------
  |  Branch (5104:13): [True: 0, False: 816]
  ------------------
 5105|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5106|      0|            Py_CLEAR(list);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5107|      0|            break;
 5108|      0|        }
 5109|    816|        Py_DECREF(v);
  ------------------
  |  |  430|    816|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    816|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    816|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5110|    816|    }
 5111|       |
 5112|     11|exit:
 5113|     11|    if (dirp != NULL) {
  ------------------
  |  Branch (5113:9): [True: 11, False: 0]
  ------------------
 5114|     11|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|     11|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|     11|                        PyThreadState *_save; \
  |  |  119|     11|                        _save = PyEval_SaveThread();
  ------------------
 5115|     11|#ifdef HAVE_FDOPENDIR
 5116|     11|        if (fd > -1)
  ------------------
  |  Branch (5116:13): [True: 0, False: 11]
  ------------------
 5117|      0|            rewinddir(dirp);
 5118|     11|#endif
 5119|     11|        closedir(dirp);
 5120|     11|        Py_END_ALLOW_THREADS
  ------------------
  |  |  122|     11|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|     11|                 }
  ------------------
 5121|     11|    }
 5122|       |
 5123|     11|    return list;
 5124|     11|}  /* end of _posix_listdir */
posixmodule.c:os_getegid_impl:
 9614|      2|{
 9615|      2|    return _PyLong_FromGid(getegid());
 9616|      2|}
posixmodule.c:os_geteuid_impl:
 9630|      2|{
 9631|      2|    return _PyLong_FromUid(geteuid());
 9632|      2|}
posixmodule.c:os_getgid_impl:
 9646|      2|{
 9647|      2|    return _PyLong_FromGid(getgid());
 9648|      2|}
posixmodule.c:os_getuid_impl:
10189|      2|{
10190|      2|    return _PyLong_FromUid(getuid());
10191|      2|}
posixmodule.c:os__path_normpath_impl:
 6145|     10|{
 6146|     10|    PyObject *result;
 6147|     10|    Py_ssize_t norm_len;
 6148|     10|    wchar_t *norm_path = _Py_normpath_and_size((wchar_t *)path->wide,
 6149|     10|                                               path->length, &norm_len);
 6150|     10|    if (!norm_len) {
  ------------------
  |  Branch (6150:9): [True: 0, False: 10]
  ------------------
 6151|      0|        result = PyUnicode_FromOrdinal('.');
 6152|      0|    }
 6153|     10|    else {
 6154|     10|        result = PyUnicode_FromWideChar(norm_path, norm_len);
 6155|     10|    }
 6156|     10|    if (result == NULL) {
  ------------------
  |  Branch (6156:9): [True: 0, False: 10]
  ------------------
 6157|      0|        return NULL;
 6158|      0|    }
 6159|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6160|      0|        Py_SETREF(result, PyUnicode_EncodeFSDefault(result));
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6161|      0|    }
 6162|     10|    return result;
 6163|     10|}
posixmodule.c:os_fspath_impl:
17594|    135|{
17595|    135|    return PyOS_FSPath(path);
17596|    135|}
posixmodule.c:convertenviron:
 1797|      2|{
 1798|      2|    PyObject *d;
 1799|       |#ifdef MS_WINDOWS
 1800|       |    wchar_t **e;
 1801|       |#else
 1802|      2|    char **e;
 1803|      2|#endif
 1804|       |
 1805|      2|    d = PyDict_New();
 1806|      2|    if (d == NULL)
  ------------------
  |  Branch (1806:9): [True: 0, False: 2]
  ------------------
 1807|      0|        return NULL;
 1808|       |#ifdef MS_WINDOWS
 1809|       |    /* _wenviron must be initialized in this way if the program is started
 1810|       |       through main() instead of wmain(). */
 1811|       |    (void)_wgetenv(L"");
 1812|       |    e = _wenviron;
 1813|       |#elif defined(USE_DARWIN_NS_GET_ENVIRON)
 1814|       |    /* environ is not accessible as an extern in a shared object on OSX; use
 1815|       |       _NSGetEnviron to resolve it. The value changes if you add environment
 1816|       |       variables between calls to Py_Initialize, so don't cache the value. */
 1817|       |    e = *_NSGetEnviron();
 1818|       |#else
 1819|      2|    e = environ;
 1820|      2|#endif
 1821|      2|    if (e == NULL)
  ------------------
  |  Branch (1821:9): [True: 0, False: 2]
  ------------------
 1822|      0|        return d;
 1823|     70|    for (; *e != NULL; e++) {
  ------------------
  |  Branch (1823:12): [True: 68, False: 2]
  ------------------
 1824|     68|        PyObject *k;
 1825|     68|        PyObject *v;
 1826|       |#ifdef MS_WINDOWS
 1827|       |        const wchar_t *p = wcschr(*e, L'=');
 1828|       |#else
 1829|     68|        const char *p = strchr(*e, '=');
 1830|     68|#endif
 1831|     68|        if (p == NULL)
  ------------------
  |  Branch (1831:13): [True: 0, False: 68]
  ------------------
 1832|      0|            continue;
 1833|       |#ifdef MS_WINDOWS
 1834|       |        k = PyUnicode_FromWideChar(*e, (Py_ssize_t)(p-*e));
 1835|       |#else
 1836|     68|        k = PyBytes_FromStringAndSize(*e, (Py_ssize_t)(p-*e));
 1837|     68|#endif
 1838|     68|        if (k == NULL) {
  ------------------
  |  Branch (1838:13): [True: 0, False: 68]
  ------------------
 1839|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1840|      0|            return NULL;
 1841|      0|        }
 1842|       |#ifdef MS_WINDOWS
 1843|       |        v = PyUnicode_FromWideChar(p+1, -1);
 1844|       |#else
 1845|     68|        v = PyBytes_FromStringAndSize(p+1, strlen(p+1));
 1846|     68|#endif
 1847|     68|        if (v == NULL) {
  ------------------
  |  Branch (1847:13): [True: 0, False: 68]
  ------------------
 1848|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1849|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1850|      0|            return NULL;
 1851|      0|        }
 1852|     68|        if (PyDict_SetDefaultRef(d, k, v, NULL) < 0) {
  ------------------
  |  Branch (1852:13): [True: 0, False: 68]
  ------------------
 1853|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1854|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1855|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1856|      0|            return NULL;
 1857|      0|        }
 1858|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1859|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1860|     68|    }
 1861|      2|    return d;
 1862|      2|}
posixmodule.c:posixmodule_exec:
19107|      2|{
19108|      2|    _posixstate *state = get_posix_state(m);
19109|       |
19110|      2|#if defined(HAVE_PWRITEV)
19111|      2|    if (HAVE_PWRITEV_RUNTIME) {} else {
  ------------------
  |  |  635|      2|#  define HAVE_PWRITEV_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (635:32): [True: 2, Folded]
  |  |  ------------------
  ------------------
19112|      0|        PyObject* dct = PyModule_GetDict(m);
19113|       |
19114|      0|        if (dct == NULL) {
  ------------------
  |  Branch (19114:13): [True: 0, False: 0]
  ------------------
19115|      0|            return -1;
19116|      0|        }
19117|       |
19118|      0|        if (PyDict_PopString(dct, "pwritev", NULL) < 0) {
  ------------------
  |  Branch (19118:13): [True: 0, False: 0]
  ------------------
19119|      0|            return -1;
19120|      0|        }
19121|      0|        if (PyDict_PopString(dct, "preadv", NULL) < 0) {
  ------------------
  |  Branch (19121:13): [True: 0, False: 0]
  ------------------
19122|      0|            return -1;
19123|      0|        }
19124|      0|    }
19125|      2|#endif
19126|       |
19127|      2|#ifdef HAVE_STATX
19128|      2|    if (statx == NULL) {
  ------------------
  |  Branch (19128:9): [True: 0, False: 2]
  ------------------
19129|      0|        PyObject* dct = PyModule_GetDict(m);
19130|      0|        if (dct == NULL) {
  ------------------
  |  Branch (19130:13): [True: 0, False: 0]
  ------------------
19131|      0|            return -1;
19132|      0|        }
19133|      0|        if (PyDict_PopString(dct, "statx", NULL) < 0) {
  ------------------
  |  Branch (19133:13): [True: 0, False: 0]
  ------------------
19134|      0|            return -1;
19135|      0|        }
19136|      0|    }
19137|      2|    else {
19138|      2|        state->StatxResultType = PyType_FromModuleAndSpec(m, &pystatx_result_spec, NULL);
19139|      2|        if (PyModule_AddObjectRef(m, "statx_result", state->StatxResultType) < 0) {
  ------------------
  |  Branch (19139:13): [True: 0, False: 2]
  ------------------
19140|      0|            return -1;
19141|      0|        }
19142|      2|    }
19143|      2|#endif
19144|       |
19145|      2|#if HAVE_PIPE2
19146|      2|    if (HAVE_PIPE2_RUNTIME) {
  ------------------
  |  |  640|      2|#  define HAVE_PIPE2_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (640:30): [True: 2, Folded]
  |  |  ------------------
  ------------------
19147|       |        // Do nothing. (`__builtin_available` doesn't allow `!`; see
19148|       |        // "using negations" in a comment above.)
19149|      2|    }
19150|      0|    else {
19151|      0|        PyObject* dct = PyModule_GetDict(m);
19152|      0|        if (dct == NULL) {
  ------------------
  |  Branch (19152:13): [True: 0, False: 0]
  ------------------
19153|      0|            return -1;
19154|      0|        }
19155|      0|        if (PyDict_PopString(dct, "pipe2", NULL) < 0) {
  ------------------
  |  Branch (19155:13): [True: 0, False: 0]
  ------------------
19156|      0|            return -1;
19157|      0|        }
19158|      0|    }
19159|      2|#endif
19160|       |
19161|       |    /* Initialize environ dictionary */
19162|      2|    if (PyModule_Add(m, "environ", convertenviron()) != 0) {
  ------------------
  |  Branch (19162:9): [True: 0, False: 2]
  ------------------
19163|      0|        return -1;
19164|      0|    }
19165|       |
19166|      2|    if (all_ins(m))
  ------------------
  |  Branch (19166:9): [True: 0, False: 2]
  ------------------
19167|      0|        return -1;
19168|       |
19169|      2|    if (setup_confname_tables(m))
  ------------------
  |  Branch (19169:9): [True: 0, False: 2]
  ------------------
19170|      0|        return -1;
19171|       |
19172|      2|    if (PyModule_AddObjectRef(m, "error", PyExc_OSError) < 0) {
  ------------------
  |  Branch (19172:9): [True: 0, False: 2]
  ------------------
19173|      0|        return -1;
19174|      0|    }
19175|       |
19176|      2|#if defined(HAVE_WAITID)
19177|      2|    state->WaitidResultType = (PyObject *)PyStructSequence_NewType(&waitid_result_desc);
19178|      2|    if (PyModule_AddObjectRef(m, "waitid_result", state->WaitidResultType) < 0) {
  ------------------
  |  Branch (19178:9): [True: 0, False: 2]
  ------------------
19179|      0|        return -1;
19180|      0|    }
19181|      2|#endif
19182|       |
19183|      2|    stat_result_desc.fields[7].name = PyStructSequence_UnnamedField;
19184|      2|    stat_result_desc.fields[8].name = PyStructSequence_UnnamedField;
19185|      2|    stat_result_desc.fields[9].name = PyStructSequence_UnnamedField;
19186|      2|    state->StatResultType = (PyObject *)PyStructSequence_NewType(&stat_result_desc);
19187|      2|    if (PyModule_AddObjectRef(m, "stat_result", state->StatResultType) < 0) {
  ------------------
  |  Branch (19187:9): [True: 0, False: 2]
  ------------------
19188|      0|        return -1;
19189|      0|    }
19190|      2|    state->statresult_new_orig = ((PyTypeObject *)state->StatResultType)->tp_new;
19191|      2|    ((PyTypeObject *)state->StatResultType)->tp_new = statresult_new;
19192|       |
19193|      2|    state->StatVFSResultType = (PyObject *)PyStructSequence_NewType(&statvfs_result_desc);
19194|      2|    if (PyModule_AddObjectRef(m, "statvfs_result", state->StatVFSResultType) < 0) {
  ------------------
  |  Branch (19194:9): [True: 0, False: 2]
  ------------------
19195|      0|        return -1;
19196|      0|    }
19197|       |
19198|      2|#if defined(HAVE_SCHED_SETPARAM) || defined(HAVE_SCHED_SETSCHEDULER) || defined(POSIX_SPAWN_SETSCHEDULER) || defined(POSIX_SPAWN_SETSCHEDPARAM)
19199|      2|    state->SchedParamType = (PyObject *)PyStructSequence_NewType(&sched_param_desc);
19200|      2|    if (PyModule_AddObjectRef(m, "sched_param", state->SchedParamType) < 0) {
  ------------------
  |  Branch (19200:9): [True: 0, False: 2]
  ------------------
19201|      0|        return -1;
19202|      0|    }
19203|      2|    ((PyTypeObject *)state->SchedParamType)->tp_new = os_sched_param;
19204|      2|    if (_PyType_AddMethod((PyTypeObject *)state->SchedParamType,
  ------------------
  |  Branch (19204:9): [True: 0, False: 2]
  ------------------
19205|      2|                          &os_sched_param_reduce_method) < 0)
19206|      0|    {
19207|      0|        return -1;
19208|      0|    }
19209|      2|    PyType_Modified((PyTypeObject *)state->SchedParamType);
19210|      2|#endif
19211|       |
19212|       |    /* initialize TerminalSize_info */
19213|      2|    state->TerminalSizeType = (PyObject *)PyStructSequence_NewType(&TerminalSize_desc);
19214|      2|    if (PyModule_AddObjectRef(m, "terminal_size", state->TerminalSizeType) < 0) {
  ------------------
  |  Branch (19214:9): [True: 0, False: 2]
  ------------------
19215|      0|        return -1;
19216|      0|    }
19217|       |
19218|       |    /* initialize scandir types */
19219|      2|    PyObject *ScandirIteratorType = PyType_FromModuleAndSpec(m, &ScandirIteratorType_spec, NULL);
19220|      2|    if (ScandirIteratorType == NULL) {
  ------------------
  |  Branch (19220:9): [True: 0, False: 2]
  ------------------
19221|      0|        return -1;
19222|      0|    }
19223|      2|    state->ScandirIteratorType = ScandirIteratorType;
19224|       |
19225|      2|    state->DirEntryType = PyType_FromModuleAndSpec(m, &DirEntryType_spec, NULL);
19226|      2|    if (PyModule_AddObjectRef(m, "DirEntry", state->DirEntryType) < 0) {
  ------------------
  |  Branch (19226:9): [True: 0, False: 2]
  ------------------
19227|      0|        return -1;
19228|      0|    }
19229|       |
19230|      2|    state->TimesResultType = (PyObject *)PyStructSequence_NewType(&times_result_desc);
19231|      2|    if (PyModule_AddObjectRef(m, "times_result", state->TimesResultType) < 0) {
  ------------------
  |  Branch (19231:9): [True: 0, False: 2]
  ------------------
19232|      0|        return -1;
19233|      0|    }
19234|       |
19235|      2|    state->UnameResultType = (PyObject *)PyStructSequence_NewType(&uname_result_desc);
19236|      2|    if (PyModule_AddObjectRef(m, "uname_result", state->UnameResultType) < 0) {
  ------------------
  |  Branch (19236:9): [True: 0, False: 2]
  ------------------
19237|      0|        return -1;
19238|      0|    }
19239|       |
19240|      2|    if ((state->billion = PyLong_FromLong(1000000000)) == NULL)
  ------------------
  |  Branch (19240:9): [True: 0, False: 2]
  ------------------
19241|      0|        return -1;
19242|      2|#if defined(HAVE_WAIT3) || defined(HAVE_WAIT4)
19243|      2|    state->struct_rusage = PyUnicode_InternFromString("struct_rusage");
19244|      2|    if (state->struct_rusage == NULL)
  ------------------
  |  Branch (19244:9): [True: 0, False: 2]
  ------------------
19245|      0|        return -1;
19246|      2|#endif
19247|      2|    state->st_mode = PyUnicode_InternFromString("st_mode");
19248|      2|    if (state->st_mode == NULL)
  ------------------
  |  Branch (19248:9): [True: 0, False: 2]
  ------------------
19249|      0|        return -1;
19250|       |
19251|       |    /* suppress "function not used" warnings */
19252|      2|    {
19253|      2|    int ignored;
19254|      2|    fd_specified("", -1);
19255|      2|    follow_symlinks_specified("", 1);
19256|      2|    dir_fd_and_follow_symlinks_invalid("chmod", DEFAULT_DIR_FD, 1);
  ------------------
  |  | 1162|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
19257|      2|    dir_fd_converter(Py_None, &ignored);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
19258|      2|    dir_fd_unavailable(Py_None, &ignored);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
19259|      2|    }
19260|       |
19261|       |    /*
19262|       |     * provide list of locally available functions
19263|       |     * so os.py can populate support_* lists
19264|       |     */
19265|      2|    PyObject *list = PyList_New(0);
19266|      2|    if (!list) {
  ------------------
  |  Branch (19266:9): [True: 0, False: 2]
  ------------------
19267|      0|        return -1;
19268|      0|    }
19269|     66|    for (const struct have_function *trace = have_functions; trace->label; trace++) {
  ------------------
  |  Branch (19269:62): [True: 64, False: 2]
  ------------------
19270|     64|        PyObject *unicode;
19271|     64|        if (trace->probe && !trace->probe()) continue;
  ------------------
  |  Branch (19271:13): [True: 34, False: 30]
  |  Branch (19271:29): [True: 0, False: 34]
  ------------------
19272|     64|        unicode = PyUnicode_DecodeASCII(trace->label, strlen(trace->label), NULL);
19273|     64|        if (!unicode)
  ------------------
  |  Branch (19273:13): [True: 0, False: 64]
  ------------------
19274|      0|            return -1;
19275|     64|        if (PyList_Append(list, unicode))
  ------------------
  |  Branch (19275:13): [True: 0, False: 64]
  ------------------
19276|      0|            return -1;
19277|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
19278|     64|    }
19279|       |
19280|      2|#ifndef MS_WINDOWS
19281|      2|    if (_Py_GetTicksPerSecond(&state->ticks_per_second) < 0) {
  ------------------
  |  Branch (19281:9): [True: 0, False: 2]
  ------------------
19282|      0|        PyErr_SetString(PyExc_RuntimeError,
19283|      0|                        "cannot read ticks_per_second");
19284|      0|        return -1;
19285|      0|    }
19286|      2|    assert(state->ticks_per_second >= 1);
  ------------------
  |  Branch (19286:5): [True: 2, False: 0]
  ------------------
19287|      2|#endif
19288|       |
19289|      2|    return PyModule_Add(m, "_have_functions", list);
19290|      2|}
posixmodule.c:all_ins:
18174|      2|{
18175|      2|#ifdef F_OK
18176|      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]
  |  |  ------------------
  ------------------
18177|      2|#endif
18178|      2|#ifdef R_OK
18179|      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]
  |  |  ------------------
  ------------------
18180|      2|#endif
18181|      2|#ifdef W_OK
18182|      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]
  |  |  ------------------
  ------------------
18183|      2|#endif
18184|      2|#ifdef X_OK
18185|      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]
  |  |  ------------------
  ------------------
18186|      2|#endif
18187|      2|#ifdef NGROUPS_MAX
18188|      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]
  |  |  ------------------
  ------------------
18189|      2|#endif
18190|      2|#ifdef TMP_MAX
18191|      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]
  |  |  ------------------
  ------------------
18192|      2|#endif
18193|      2|#ifdef WCONTINUED
18194|      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]
  |  |  ------------------
  ------------------
18195|      2|#endif
18196|      2|#ifdef WNOHANG
18197|      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]
  |  |  ------------------
  ------------------
18198|      2|#endif
18199|      2|#ifdef WUNTRACED
18200|      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]
  |  |  ------------------
  ------------------
18201|      2|#endif
18202|      2|#ifdef O_RDONLY
18203|      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]
  |  |  ------------------
  ------------------
18204|      2|#endif
18205|      2|#ifdef O_WRONLY
18206|      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]
  |  |  ------------------
  ------------------
18207|      2|#endif
18208|      2|#ifdef O_RDWR
18209|      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]
  |  |  ------------------
  ------------------
18210|      2|#endif
18211|      2|#ifdef O_NDELAY
18212|      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]
  |  |  ------------------
  ------------------
18213|      2|#endif
18214|      2|#ifdef O_NONBLOCK
18215|      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]
  |  |  ------------------
  ------------------
18216|      2|#endif
18217|      2|#ifdef O_APPEND
18218|      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]
  |  |  ------------------
  ------------------
18219|      2|#endif
18220|      2|#ifdef O_DSYNC
18221|      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]
  |  |  ------------------
  ------------------
18222|      2|#endif
18223|      2|#ifdef O_RSYNC
18224|      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]
  |  |  ------------------
  ------------------
18225|      2|#endif
18226|      2|#ifdef O_SYNC
18227|      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]
  |  |  ------------------
  ------------------
18228|      2|#endif
18229|      2|#ifdef O_NOCTTY
18230|      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]
  |  |  ------------------
  ------------------
18231|      2|#endif
18232|      2|#ifdef O_CREAT
18233|      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]
  |  |  ------------------
  ------------------
18234|      2|#endif
18235|      2|#ifdef O_EXCL
18236|      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]
  |  |  ------------------
  ------------------
18237|      2|#endif
18238|      2|#ifdef O_TRUNC
18239|      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]
  |  |  ------------------
  ------------------
18240|      2|#endif
18241|       |#ifdef O_BINARY
18242|       |    if (PyModule_AddIntMacro(m, O_BINARY)) return -1;
18243|       |#endif
18244|       |#ifdef O_TEXT
18245|       |    if (PyModule_AddIntMacro(m, O_TEXT)) return -1;
18246|       |#endif
18247|       |#ifdef O_XATTR
18248|       |    if (PyModule_AddIntMacro(m, O_XATTR)) return -1;
18249|       |#endif
18250|      2|#ifdef O_LARGEFILE
18251|      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]
  |  |  ------------------
  ------------------
18252|      2|#endif
18253|      2|#ifndef __GNU__
18254|       |#ifdef O_SHLOCK
18255|       |    if (PyModule_AddIntMacro(m, O_SHLOCK)) return -1;
18256|       |#endif
18257|       |#ifdef O_EXLOCK
18258|       |    if (PyModule_AddIntMacro(m, O_EXLOCK)) return -1;
18259|       |#endif
18260|      2|#endif
18261|       |#ifdef O_EXEC
18262|       |    if (PyModule_AddIntMacro(m, O_EXEC)) return -1;
18263|       |#endif
18264|       |#ifdef O_SEARCH
18265|       |    if (PyModule_AddIntMacro(m, O_SEARCH)) return -1;
18266|       |#endif
18267|      2|#ifdef O_PATH
18268|      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]
  |  |  ------------------
  ------------------
18269|      2|#endif
18270|       |#ifdef O_TTY_INIT
18271|       |    if (PyModule_AddIntMacro(m, O_TTY_INIT)) return -1;
18272|       |#endif
18273|      2|#ifdef O_TMPFILE
18274|      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]
  |  |  ------------------
  ------------------
18275|      2|#endif
18276|      2|#ifdef PRIO_PROCESS
18277|      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]
  |  |  ------------------
  ------------------
18278|      2|#endif
18279|      2|#ifdef PRIO_PGRP
18280|      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]
  |  |  ------------------
  ------------------
18281|      2|#endif
18282|      2|#ifdef PRIO_USER
18283|      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]
  |  |  ------------------
  ------------------
18284|      2|#endif
18285|       |#ifdef PRIO_DARWIN_THREAD
18286|       |    if (PyModule_AddIntMacro(m, PRIO_DARWIN_THREAD)) return -1;
18287|       |#endif
18288|       |#ifdef PRIO_DARWIN_PROCESS
18289|       |    if (PyModule_AddIntMacro(m, PRIO_DARWIN_PROCESS)) return -1;
18290|       |#endif
18291|       |#ifdef PRIO_DARWIN_BG
18292|       |    if (PyModule_AddIntMacro(m, PRIO_DARWIN_BG)) return -1;
18293|       |#endif
18294|       |#ifdef PRIO_DARWIN_NONUI
18295|       |    if (PyModule_AddIntMacro(m, PRIO_DARWIN_NONUI)) return -1;
18296|       |#endif
18297|      2|#ifdef O_CLOEXEC
18298|      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]
  |  |  ------------------
  ------------------
18299|      2|#endif
18300|      2|#ifdef O_ACCMODE
18301|      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]
  |  |  ------------------
  ------------------
18302|      2|#endif
18303|       |#ifdef O_EVTONLY
18304|       |    if (PyModule_AddIntMacro(m, O_EVTONLY)) return -1;
18305|       |#endif
18306|      2|#ifdef O_FSYNC
18307|      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]
  |  |  ------------------
  ------------------
18308|      2|#endif
18309|       |#ifdef O_SYMLINK
18310|       |    if (PyModule_AddIntMacro(m, O_SYMLINK)) return -1;
18311|       |#endif
18312|       |
18313|      2|#ifdef SEEK_HOLE
18314|      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]
  |  |  ------------------
  ------------------
18315|      2|#endif
18316|      2|#ifdef SEEK_DATA
18317|      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]
  |  |  ------------------
  ------------------
18318|      2|#endif
18319|       |
18320|       |/* MS Windows */
18321|       |#ifdef O_NOINHERIT
18322|       |    /* Don't inherit in child processes. */
18323|       |    if (PyModule_AddIntMacro(m, O_NOINHERIT)) return -1;
18324|       |#endif
18325|       |#ifdef _O_SHORT_LIVED
18326|       |    /* Optimize for short life (keep in memory). */
18327|       |    /* MS forgot to define this one with a non-underscore form too. */
18328|       |    if (PyModule_AddIntConstant(m, "O_SHORT_LIVED", _O_SHORT_LIVED)) return -1;
18329|       |#endif
18330|       |#ifdef O_TEMPORARY
18331|       |    /* Automatically delete when last handle is closed. */
18332|       |    if (PyModule_AddIntMacro(m, O_TEMPORARY)) return -1;
18333|       |#endif
18334|       |#ifdef O_RANDOM
18335|       |    /* Optimize for random access. */
18336|       |    if (PyModule_AddIntMacro(m, O_RANDOM)) return -1;
18337|       |#endif
18338|       |#ifdef O_SEQUENTIAL
18339|       |    /* Optimize for sequential access. */
18340|       |    if (PyModule_AddIntMacro(m, O_SEQUENTIAL)) return -1;
18341|       |#endif
18342|       |
18343|       |/* GNU extensions. */
18344|      2|#ifdef O_ASYNC
18345|       |    /* Send a SIGIO signal whenever input or output
18346|       |       becomes available on file descriptor */
18347|      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]
  |  |  ------------------
  ------------------
18348|      2|#endif
18349|      2|#ifdef O_DIRECT
18350|       |    /* Direct disk access. */
18351|      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]
  |  |  ------------------
  ------------------
18352|      2|#endif
18353|      2|#ifdef O_DIRECTORY
18354|       |    /* Must be a directory.      */
18355|      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]
  |  |  ------------------
  ------------------
18356|      2|#endif
18357|      2|#ifdef O_NOFOLLOW
18358|       |    /* Do not follow links.      */
18359|      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]
  |  |  ------------------
  ------------------
18360|      2|#endif
18361|       |#ifdef O_NOFOLLOW_ANY
18362|       |    if (PyModule_AddIntMacro(m, O_NOFOLLOW_ANY)) return -1;
18363|       |#endif
18364|       |#ifdef O_NOLINKS
18365|       |    /* Fails if link count of the named file is greater than 1 */
18366|       |    if (PyModule_AddIntMacro(m, O_NOLINKS)) return -1;
18367|       |#endif
18368|      2|#ifdef O_NOATIME
18369|       |    /* Do not update the access time. */
18370|      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]
  |  |  ------------------
  ------------------
18371|      2|#endif
18372|       |
18373|       |    /* These come from sysexits.h */
18374|      2|#ifdef EX_OK
18375|      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]
  |  |  ------------------
  ------------------
18376|      2|#endif /* EX_OK */
18377|      2|#ifdef EX_USAGE
18378|      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]
  |  |  ------------------
  ------------------
18379|      2|#endif /* EX_USAGE */
18380|      2|#ifdef EX_DATAERR
18381|      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]
  |  |  ------------------
  ------------------
18382|      2|#endif /* EX_DATAERR */
18383|      2|#ifdef EX_NOINPUT
18384|      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]
  |  |  ------------------
  ------------------
18385|      2|#endif /* EX_NOINPUT */
18386|      2|#ifdef EX_NOUSER
18387|      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]
  |  |  ------------------
  ------------------
18388|      2|#endif /* EX_NOUSER */
18389|      2|#ifdef EX_NOHOST
18390|      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]
  |  |  ------------------
  ------------------
18391|      2|#endif /* EX_NOHOST */
18392|      2|#ifdef EX_UNAVAILABLE
18393|      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]
  |  |  ------------------
  ------------------
18394|      2|#endif /* EX_UNAVAILABLE */
18395|      2|#ifdef EX_SOFTWARE
18396|      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]
  |  |  ------------------
  ------------------
18397|      2|#endif /* EX_SOFTWARE */
18398|      2|#ifdef EX_OSERR
18399|      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]
  |  |  ------------------
  ------------------
18400|      2|#endif /* EX_OSERR */
18401|      2|#ifdef EX_OSFILE
18402|      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]
  |  |  ------------------
  ------------------
18403|      2|#endif /* EX_OSFILE */
18404|      2|#ifdef EX_CANTCREAT
18405|      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]
  |  |  ------------------
  ------------------
18406|      2|#endif /* EX_CANTCREAT */
18407|      2|#ifdef EX_IOERR
18408|      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]
  |  |  ------------------
  ------------------
18409|      2|#endif /* EX_IOERR */
18410|      2|#ifdef EX_TEMPFAIL
18411|      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]
  |  |  ------------------
  ------------------
18412|      2|#endif /* EX_TEMPFAIL */
18413|      2|#ifdef EX_PROTOCOL
18414|      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]
  |  |  ------------------
  ------------------
18415|      2|#endif /* EX_PROTOCOL */
18416|      2|#ifdef EX_NOPERM
18417|      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]
  |  |  ------------------
  ------------------
18418|      2|#endif /* EX_NOPERM */
18419|      2|#ifdef EX_CONFIG
18420|      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]
  |  |  ------------------
  ------------------
18421|      2|#endif /* EX_CONFIG */
18422|       |#ifdef EX_NOTFOUND
18423|       |    if (PyModule_AddIntMacro(m, EX_NOTFOUND)) return -1;
18424|       |#endif /* EX_NOTFOUND */
18425|       |
18426|       |    /* statvfs */
18427|      2|#ifdef ST_RDONLY
18428|      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]
  |  |  ------------------
  ------------------
18429|      2|#endif /* ST_RDONLY */
18430|      2|#ifdef ST_NOSUID
18431|      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]
  |  |  ------------------
  ------------------
18432|      2|#endif /* ST_NOSUID */
18433|       |
18434|       |       /* GNU extensions */
18435|      2|#ifdef ST_NODEV
18436|      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]
  |  |  ------------------
  ------------------
18437|      2|#endif /* ST_NODEV */
18438|      2|#ifdef ST_NOEXEC
18439|      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]
  |  |  ------------------
  ------------------
18440|      2|#endif /* ST_NOEXEC */
18441|      2|#ifdef ST_SYNCHRONOUS
18442|      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]
  |  |  ------------------
  ------------------
18443|      2|#endif /* ST_SYNCHRONOUS */
18444|      2|#ifdef ST_MANDLOCK
18445|      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]
  |  |  ------------------
  ------------------
18446|      2|#endif /* ST_MANDLOCK */
18447|      2|#ifdef ST_WRITE
18448|      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]
  |  |  ------------------
  ------------------
18449|      2|#endif /* ST_WRITE */
18450|      2|#ifdef ST_APPEND
18451|      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]
  |  |  ------------------
  ------------------
18452|      2|#endif /* ST_APPEND */
18453|      2|#ifdef ST_NOATIME
18454|      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]
  |  |  ------------------
  ------------------
18455|      2|#endif /* ST_NOATIME */
18456|      2|#ifdef ST_NODIRATIME
18457|      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]
  |  |  ------------------
  ------------------
18458|      2|#endif /* ST_NODIRATIME */
18459|      2|#ifdef ST_RELATIME
18460|      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]
  |  |  ------------------
  ------------------
18461|      2|#endif /* ST_RELATIME */
18462|       |
18463|       |    /* FreeBSD sendfile() constants */
18464|       |#ifdef SF_NODISKIO
18465|       |    if (PyModule_AddIntMacro(m, SF_NODISKIO)) return -1;
18466|       |#endif
18467|       |    /* is obsolete since the 11.x release */
18468|       |#ifdef SF_MNOWAIT
18469|       |    if (PyModule_AddIntMacro(m, SF_MNOWAIT)) return -1;
18470|       |#endif
18471|       |#ifdef SF_SYNC
18472|       |    if (PyModule_AddIntMacro(m, SF_SYNC)) return -1;
18473|       |#endif
18474|       |#ifdef SF_NOCACHE
18475|       |    if (PyModule_AddIntMacro(m, SF_NOCACHE)) return -1;
18476|       |#endif
18477|       |
18478|      2|#ifdef TFD_NONBLOCK
18479|      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]
  |  |  ------------------
  ------------------
18480|      2|#endif
18481|      2|#ifdef TFD_CLOEXEC
18482|      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]
  |  |  ------------------
  ------------------
18483|      2|#endif
18484|      2|#ifdef TFD_TIMER_ABSTIME
18485|      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]
  |  |  ------------------
  ------------------
18486|      2|#endif
18487|      2|#ifdef TFD_TIMER_CANCEL_ON_SET
18488|      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]
  |  |  ------------------
  ------------------
18489|      2|#endif
18490|       |
18491|       |    /* constants for posix_fadvise */
18492|      2|#ifdef POSIX_FADV_NORMAL
18493|      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]
  |  |  ------------------
  ------------------
18494|      2|#endif
18495|      2|#ifdef POSIX_FADV_SEQUENTIAL
18496|      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]
  |  |  ------------------
  ------------------
18497|      2|#endif
18498|      2|#ifdef POSIX_FADV_RANDOM
18499|      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]
  |  |  ------------------
  ------------------
18500|      2|#endif
18501|      2|#ifdef POSIX_FADV_NOREUSE
18502|      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]
  |  |  ------------------
  ------------------
18503|      2|#endif
18504|      2|#ifdef POSIX_FADV_WILLNEED
18505|      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]
  |  |  ------------------
  ------------------
18506|      2|#endif
18507|      2|#ifdef POSIX_FADV_DONTNEED
18508|      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]
  |  |  ------------------
  ------------------
18509|      2|#endif
18510|       |
18511|       |    /* constants for waitid */
18512|      2|#if defined(HAVE_SYS_WAIT_H) && defined(HAVE_WAITID)
18513|      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]
  |  |  ------------------
  ------------------
18514|      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]
  |  |  ------------------
  ------------------
18515|      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]
  |  |  ------------------
  ------------------
18516|      2|#ifdef P_PIDFD
18517|      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]
  |  |  ------------------
  ------------------
18518|      2|#endif
18519|       |#ifdef PIDFD_NONBLOCK
18520|       |    if (PyModule_AddIntMacro(m, PIDFD_NONBLOCK)) return -1;
18521|       |#endif
18522|      2|#endif
18523|      2|#ifdef WEXITED
18524|      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]
  |  |  ------------------
  ------------------
18525|      2|#endif
18526|      2|#ifdef WNOWAIT
18527|      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]
  |  |  ------------------
  ------------------
18528|      2|#endif
18529|      2|#ifdef WSTOPPED
18530|      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]
  |  |  ------------------
  ------------------
18531|      2|#endif
18532|      2|#ifdef CLD_EXITED
18533|      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]
  |  |  ------------------
  ------------------
18534|      2|#endif
18535|      2|#ifdef CLD_KILLED
18536|      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]
  |  |  ------------------
  ------------------
18537|      2|#endif
18538|      2|#ifdef CLD_DUMPED
18539|      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]
  |  |  ------------------
  ------------------
18540|      2|#endif
18541|      2|#ifdef CLD_TRAPPED
18542|      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]
  |  |  ------------------
  ------------------
18543|      2|#endif
18544|      2|#ifdef CLD_STOPPED
18545|      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]
  |  |  ------------------
  ------------------
18546|      2|#endif
18547|      2|#ifdef CLD_CONTINUED
18548|      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]
  |  |  ------------------
  ------------------
18549|      2|#endif
18550|       |
18551|       |    /* constants for lockf */
18552|      2|#ifdef F_LOCK
18553|      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]
  |  |  ------------------
  ------------------
18554|      2|#endif
18555|      2|#ifdef F_TLOCK
18556|      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]
  |  |  ------------------
  ------------------
18557|      2|#endif
18558|      2|#ifdef F_ULOCK
18559|      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]
  |  |  ------------------
  ------------------
18560|      2|#endif
18561|      2|#ifdef F_TEST
18562|      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]
  |  |  ------------------
  ------------------
18563|      2|#endif
18564|       |
18565|      2|#ifdef RWF_DSYNC
18566|      2|    if (PyModule_AddIntConstant(m, "RWF_DSYNC", RWF_DSYNC)) return -1;
  ------------------
  |  Branch (18566:9): [True: 0, False: 2]
  ------------------
18567|      2|#endif
18568|      2|#ifdef RWF_HIPRI
18569|      2|    if (PyModule_AddIntConstant(m, "RWF_HIPRI", RWF_HIPRI)) return -1;
  ------------------
  |  Branch (18569:9): [True: 0, False: 2]
  ------------------
18570|      2|#endif
18571|      2|#ifdef RWF_SYNC
18572|      2|    if (PyModule_AddIntConstant(m, "RWF_SYNC", RWF_SYNC)) return -1;
  ------------------
  |  Branch (18572:9): [True: 0, False: 2]
  ------------------
18573|      2|#endif
18574|      2|#ifdef RWF_NOWAIT
18575|      2|    if (PyModule_AddIntConstant(m, "RWF_NOWAIT", RWF_NOWAIT)) return -1;
  ------------------
  |  Branch (18575:9): [True: 0, False: 2]
  ------------------
18576|      2|#endif
18577|       |#ifdef RWF_DONTCACHE
18578|       |    if (PyModule_AddIntConstant(m, "RWF_DONTCACHE", RWF_DONTCACHE)) return -1;
18579|       |#endif
18580|       |#ifdef RWF_ATOMIC
18581|       |    if (PyModule_AddIntConstant(m, "RWF_ATOMIC", RWF_ATOMIC)) return -1;
18582|       |#endif
18583|      2|#ifdef RWF_APPEND
18584|      2|    if (PyModule_AddIntConstant(m, "RWF_APPEND", RWF_APPEND)) return -1;
  ------------------
  |  Branch (18584:9): [True: 0, False: 2]
  ------------------
18585|      2|#endif
18586|       |#ifdef RWF_NOSIGNAL
18587|       |    if (PyModule_AddIntConstant(m, "RWF_NOSIGNAL", RWF_NOSIGNAL)) return -1;
18588|       |#endif
18589|       |
18590|       |/* constants for splice */
18591|      2|#if defined(HAVE_SPLICE) && defined(__linux__)
18592|      2|    if (PyModule_AddIntConstant(m, "SPLICE_F_MOVE", SPLICE_F_MOVE)) return -1;
  ------------------
  |  Branch (18592:9): [True: 0, False: 2]
  ------------------
18593|      2|    if (PyModule_AddIntConstant(m, "SPLICE_F_NONBLOCK", SPLICE_F_NONBLOCK)) return -1;
  ------------------
  |  Branch (18593:9): [True: 0, False: 2]
  ------------------
18594|      2|    if (PyModule_AddIntConstant(m, "SPLICE_F_MORE", SPLICE_F_MORE)) return -1;
  ------------------
  |  Branch (18594:9): [True: 0, False: 2]
  ------------------
18595|      2|#endif
18596|       |
18597|       |/* constants for posix_spawn */
18598|      2|#ifdef HAVE_POSIX_SPAWN
18599|      2|    if (PyModule_AddIntConstant(m, "POSIX_SPAWN_OPEN", POSIX_SPAWN_OPEN)) return -1;
  ------------------
  |  Branch (18599:9): [True: 0, False: 2]
  ------------------
18600|      2|    if (PyModule_AddIntConstant(m, "POSIX_SPAWN_CLOSE", POSIX_SPAWN_CLOSE)) return -1;
  ------------------
  |  Branch (18600:9): [True: 0, False: 2]
  ------------------
18601|      2|    if (PyModule_AddIntConstant(m, "POSIX_SPAWN_DUP2", POSIX_SPAWN_DUP2)) return -1;
  ------------------
  |  Branch (18601:9): [True: 0, False: 2]
  ------------------
18602|       |#ifdef HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSEFROM_NP
18603|       |    if (PyModule_AddIntMacro(m, POSIX_SPAWN_CLOSEFROM)) return -1;
18604|       |#endif
18605|      2|#endif
18606|       |
18607|       |#if defined(HAVE_SPAWNV) || defined (HAVE_RTPSPAWN)
18608|       |    if (PyModule_AddIntConstant(m, "P_WAIT", _P_WAIT)) return -1;
18609|       |    if (PyModule_AddIntConstant(m, "P_NOWAIT", _P_NOWAIT)) return -1;
18610|       |    if (PyModule_AddIntConstant(m, "P_NOWAITO", _P_NOWAITO)) return -1;
18611|       |#endif
18612|       |#ifdef HAVE_SPAWNV
18613|       |    if (PyModule_AddIntConstant(m, "P_OVERLAY", _OLD_P_OVERLAY)) return -1;
18614|       |    if (PyModule_AddIntConstant(m, "P_DETACH", _P_DETACH)) return -1;
18615|       |#endif
18616|       |
18617|      2|#ifdef HAVE_SCHED_H
18618|      2|#ifdef SCHED_OTHER
18619|      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]
  |  |  ------------------
  ------------------
18620|      2|#endif
18621|      2|#ifdef SCHED_DEADLINE
18622|      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]
  |  |  ------------------
  ------------------
18623|      2|#endif
18624|      2|#ifdef SCHED_FIFO
18625|      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]
  |  |  ------------------
  ------------------
18626|      2|#endif
18627|      2|#ifdef SCHED_NORMAL
18628|      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]
  |  |  ------------------
  ------------------
18629|      2|#endif
18630|      2|#ifdef SCHED_RR
18631|      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]
  |  |  ------------------
  ------------------
18632|      2|#endif
18633|       |#ifdef SCHED_SPORADIC
18634|       |    if (PyModule_AddIntMacro(m, SCHED_SPORADIC)) return -1;
18635|       |#endif
18636|      2|#ifdef SCHED_BATCH
18637|      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]
  |  |  ------------------
  ------------------
18638|      2|#endif
18639|      2|#ifdef SCHED_IDLE
18640|      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]
  |  |  ------------------
  ------------------
18641|      2|#endif
18642|      2|#ifdef SCHED_RESET_ON_FORK
18643|      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]
  |  |  ------------------
  ------------------
18644|      2|#endif
18645|       |#ifdef SCHED_SYS
18646|       |    if (PyModule_AddIntMacro(m, SCHED_SYS)) return -1;
18647|       |#endif
18648|       |#ifdef SCHED_IA
18649|       |    if (PyModule_AddIntMacro(m, SCHED_IA)) return -1;
18650|       |#endif
18651|       |#ifdef SCHED_FSS
18652|       |    if (PyModule_AddIntMacro(m, SCHED_FSS)) return -1;
18653|       |#endif
18654|       |#ifdef SCHED_FX
18655|       |    if (PyModule_AddIntConstant(m, "SCHED_FX", SCHED_FSS)) return -1;
18656|       |#endif
18657|       |
18658|       |/* constants for namespaces */
18659|      2|#if defined(HAVE_SETNS) || defined(HAVE_UNSHARE)
18660|      2|#ifdef CLONE_FS
18661|      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]
  |  |  ------------------
  ------------------
18662|      2|#endif
18663|      2|#ifdef CLONE_FILES
18664|      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]
  |  |  ------------------
  ------------------
18665|      2|#endif
18666|      2|#ifdef CLONE_NEWNS
18667|      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]
  |  |  ------------------
  ------------------
18668|      2|#endif
18669|      2|#ifdef CLONE_NEWCGROUP
18670|      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]
  |  |  ------------------
  ------------------
18671|      2|#endif
18672|      2|#ifdef CLONE_NEWUTS
18673|      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]
  |  |  ------------------
  ------------------
18674|      2|#endif
18675|      2|#ifdef CLONE_NEWIPC
18676|      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]
  |  |  ------------------
  ------------------
18677|      2|#endif
18678|      2|#ifdef CLONE_NEWUSER
18679|      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]
  |  |  ------------------
  ------------------
18680|      2|#endif
18681|      2|#ifdef CLONE_NEWPID
18682|      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]
  |  |  ------------------
  ------------------
18683|      2|#endif
18684|      2|#ifdef CLONE_NEWNET
18685|      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]
  |  |  ------------------
  ------------------
18686|      2|#endif
18687|       |#ifdef CLONE_NEWTIME
18688|       |    if (PyModule_AddIntMacro(m, CLONE_NEWTIME)) return -1;
18689|       |#endif
18690|      2|#ifdef CLONE_SYSVSEM
18691|      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]
  |  |  ------------------
  ------------------
18692|      2|#endif
18693|      2|#ifdef CLONE_THREAD
18694|      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]
  |  |  ------------------
  ------------------
18695|      2|#endif
18696|      2|#ifdef CLONE_SIGHAND
18697|      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]
  |  |  ------------------
  ------------------
18698|      2|#endif
18699|      2|#ifdef CLONE_VM
18700|      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]
  |  |  ------------------
  ------------------
18701|      2|#endif
18702|      2|#endif
18703|       |
18704|      2|#endif
18705|       |
18706|      2|#ifdef USE_XATTRS
18707|      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]
  |  |  ------------------
  ------------------
18708|      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]
  |  |  ------------------
  ------------------
18709|      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]
  |  |  ------------------
  ------------------
18710|      2|#endif
18711|       |
18712|      2|#if HAVE_DECL_RTLD_LAZY
18713|      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]
  |  |  ------------------
  ------------------
18714|      2|#endif
18715|      2|#if HAVE_DECL_RTLD_NOW
18716|      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]
  |  |  ------------------
  ------------------
18717|      2|#endif
18718|      2|#if HAVE_DECL_RTLD_GLOBAL
18719|      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]
  |  |  ------------------
  ------------------
18720|      2|#endif
18721|      2|#if HAVE_DECL_RTLD_LOCAL
18722|      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]
  |  |  ------------------
  ------------------
18723|      2|#endif
18724|      2|#if HAVE_DECL_RTLD_NODELETE
18725|      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]
  |  |  ------------------
  ------------------
18726|      2|#endif
18727|      2|#if HAVE_DECL_RTLD_NOLOAD
18728|      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]
  |  |  ------------------
  ------------------
18729|      2|#endif
18730|      2|#if HAVE_DECL_RTLD_DEEPBIND
18731|      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]
  |  |  ------------------
  ------------------
18732|      2|#endif
18733|       |#if HAVE_DECL_RTLD_MEMBER
18734|       |    if (PyModule_AddIntMacro(m, RTLD_MEMBER)) return -1;
18735|       |#endif
18736|       |
18737|      2|#if defined(HAVE_GETRANDOM) || defined(HAVE_GETRANDOM_SYSCALL)
18738|      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]
  |  |  ------------------
  ------------------
18739|      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]
  |  |  ------------------
  ------------------
18740|      2|#endif
18741|      2|#ifdef _Py_HAVE_MEMFD_CREATE
18742|      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]
  |  |  ------------------
  ------------------
18743|      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]
  |  |  ------------------
  ------------------
18744|      2|#ifdef MFD_HUGETLB
18745|      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]
  |  |  ------------------
  ------------------
18746|      2|#endif
18747|      2|#ifdef MFD_HUGE_SHIFT
18748|      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]
  |  |  ------------------
  ------------------
18749|      2|#endif
18750|      2|#ifdef MFD_HUGE_MASK
18751|      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]
  |  |  ------------------
  ------------------
18752|      2|#endif
18753|      2|#ifdef MFD_HUGE_64KB
18754|      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]
  |  |  ------------------
  ------------------
18755|      2|#endif
18756|      2|#ifdef MFD_HUGE_512KB
18757|      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]
  |  |  ------------------
  ------------------
18758|      2|#endif
18759|      2|#ifdef MFD_HUGE_1MB
18760|      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]
  |  |  ------------------
  ------------------
18761|      2|#endif
18762|      2|#ifdef MFD_HUGE_2MB
18763|      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]
  |  |  ------------------
  ------------------
18764|      2|#endif
18765|      2|#ifdef MFD_HUGE_8MB
18766|      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]
  |  |  ------------------
  ------------------
18767|      2|#endif
18768|      2|#ifdef MFD_HUGE_16MB
18769|      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]
  |  |  ------------------
  ------------------
18770|      2|#endif
18771|      2|#ifdef MFD_HUGE_32MB
18772|      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]
  |  |  ------------------
  ------------------
18773|      2|#endif
18774|      2|#ifdef MFD_HUGE_256MB
18775|      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]
  |  |  ------------------
  ------------------
18776|      2|#endif
18777|      2|#ifdef MFD_HUGE_512MB
18778|      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]
  |  |  ------------------
  ------------------
18779|      2|#endif
18780|      2|#ifdef MFD_HUGE_1GB
18781|      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]
  |  |  ------------------
  ------------------
18782|      2|#endif
18783|      2|#ifdef MFD_HUGE_2GB
18784|      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]
  |  |  ------------------
  ------------------
18785|      2|#endif
18786|      2|#ifdef MFD_HUGE_16GB
18787|      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]
  |  |  ------------------
  ------------------
18788|      2|#endif
18789|      2|#endif /* _Py_HAVE_MEMFD_CREATE */
18790|       |
18791|      2|#if defined(HAVE_EVENTFD) && defined(EFD_CLOEXEC)
18792|      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]
  |  |  ------------------
  ------------------
18793|      2|#ifdef EFD_NONBLOCK
18794|      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]
  |  |  ------------------
  ------------------
18795|      2|#endif
18796|      2|#ifdef EFD_SEMAPHORE
18797|      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]
  |  |  ------------------
  ------------------
18798|      2|#endif
18799|      2|#endif  /* HAVE_EVENTFD && EFD_CLOEXEC */
18800|       |
18801|      2|#ifdef NODEV
18802|      2|    if (PyModule_Add(m, "NODEV", _PyLong_FromDev(NODEV))) return -1;
  ------------------
  |  Branch (18802:9): [True: 0, False: 2]
  ------------------
18803|      2|#endif
18804|       |
18805|      2|#ifdef AT_NO_AUTOMOUNT
18806|      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]
  |  |  ------------------
  ------------------
18807|      2|#endif
18808|       |
18809|      2|#ifdef HAVE_STATX
18810|      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]
  |  |  ------------------
  ------------------
18811|      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]
  |  |  ------------------
  ------------------
18812|      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]
  |  |  ------------------
  ------------------
18813|      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]
  |  |  ------------------
  ------------------
18814|      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]
  |  |  ------------------
  ------------------
18815|      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]
  |  |  ------------------
  ------------------
18816|      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]
  |  |  ------------------
  ------------------
18817|      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]
  |  |  ------------------
  ------------------
18818|      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]
  |  |  ------------------
  ------------------
18819|      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]
  |  |  ------------------
  ------------------
18820|      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]
  |  |  ------------------
  ------------------
18821|      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]
  |  |  ------------------
  ------------------
18822|      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]
  |  |  ------------------
  ------------------
18823|       |#ifdef STATX_MNT_ID
18824|       |    if (PyModule_AddIntMacro(m, STATX_MNT_ID)) return -1;
18825|       |#endif
18826|       |#ifdef STATX_DIOALIGN
18827|       |    if (PyModule_AddIntMacro(m, STATX_DIOALIGN)) return -1;
18828|       |#endif
18829|       |#ifdef STATX_MNT_ID_UNIQUE
18830|       |    if (PyModule_AddIntMacro(m, STATX_MNT_ID_UNIQUE)) return -1;
18831|       |#endif
18832|       |#ifdef STATX_SUBVOL
18833|       |    if (PyModule_AddIntMacro(m, STATX_SUBVOL)) return -1;
18834|       |#endif
18835|       |#ifdef STATX_WRITE_ATOMIC
18836|       |    if (PyModule_AddIntMacro(m, STATX_WRITE_ATOMIC)) return -1;
18837|       |#endif
18838|       |#ifdef STATX_DIO_READ_ALIGN
18839|       |    if (PyModule_AddIntMacro(m, STATX_DIO_READ_ALIGN)) return -1;
18840|       |#endif
18841|       |    /* STATX_ALL intentionally omitted because it is deprecated */
18842|      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]
  |  |  ------------------
  ------------------
18843|      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]
  |  |  ------------------
  ------------------
18844|      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]
  |  |  ------------------
  ------------------
18845|       |    /* STATX_ATTR_* constants are in the stat module */
18846|      2|#endif /* HAVE_STATX */
18847|       |
18848|       |#if defined(__APPLE__)
18849|       |    if (PyModule_AddIntConstant(m, "_COPYFILE_DATA", COPYFILE_DATA)) return -1;
18850|       |    if (PyModule_AddIntConstant(m, "_COPYFILE_STAT", COPYFILE_STAT)) return -1;
18851|       |    if (PyModule_AddIntConstant(m, "_COPYFILE_ACL", COPYFILE_ACL)) return -1;
18852|       |    if (PyModule_AddIntConstant(m, "_COPYFILE_XATTR", COPYFILE_XATTR)) return -1;
18853|       |#endif
18854|       |
18855|       |#ifdef MS_WINDOWS
18856|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_DEFAULT_DIRS", LOAD_LIBRARY_SEARCH_DEFAULT_DIRS)) return -1;
18857|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_APPLICATION_DIR", LOAD_LIBRARY_SEARCH_APPLICATION_DIR)) return -1;
18858|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_SYSTEM32", LOAD_LIBRARY_SEARCH_SYSTEM32)) return -1;
18859|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_USER_DIRS", LOAD_LIBRARY_SEARCH_USER_DIRS)) return -1;
18860|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR", LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR)) return -1;
18861|       |#endif
18862|       |
18863|      2|    return 0;
18864|      2|}
posixmodule.c:setup_confname_tables:
15398|      2|{
15399|      2|#if defined(HAVE_FPATHCONF) || defined(HAVE_PATHCONF)
15400|      2|    if (setup_confname_table(posix_constants_pathconf,
  ------------------
  |  Branch (15400:9): [True: 0, False: 2]
  ------------------
15401|      2|                             sizeof(posix_constants_pathconf)
15402|      2|                               / sizeof(struct constdef),
15403|      2|                             "pathconf_names", module))
15404|      0|        return -1;
15405|      2|#endif
15406|      2|#ifdef HAVE_CONFSTR
15407|      2|    if (setup_confname_table(posix_constants_confstr,
  ------------------
  |  Branch (15407:9): [True: 0, False: 2]
  ------------------
15408|      2|                             sizeof(posix_constants_confstr)
15409|      2|                               / sizeof(struct constdef),
15410|      2|                             "confstr_names", module))
15411|      0|        return -1;
15412|      2|#endif
15413|      2|#ifdef HAVE_SYSCONF
15414|      2|    if (setup_confname_table(posix_constants_sysconf,
  ------------------
  |  Branch (15414:9): [True: 0, False: 2]
  ------------------
15415|      2|                             sizeof(posix_constants_sysconf)
15416|      2|                               / sizeof(struct constdef),
15417|      2|                             "sysconf_names", module))
15418|      0|        return -1;
15419|      2|#endif
15420|      2|    return 0;
15421|      2|}
posixmodule.c:setup_confname_table:
15378|      6|{
15379|      6|    PyObject *d = PyDict_New();
15380|      6|    if (d == NULL)
  ------------------
  |  Branch (15380:9): [True: 0, False: 6]
  ------------------
15381|      0|        return -1;
15382|       |
15383|    368|    for (size_t i=0; i < tablesize; ++i) {
  ------------------
  |  Branch (15383:22): [True: 362, False: 6]
  ------------------
15384|    362|        PyObject *o = PyLong_FromLong(table[i].value);
15385|    362|        if (o == NULL || PyDict_SetItemString(d, table[i].name, o) == -1) {
  ------------------
  |  Branch (15385:13): [True: 0, False: 362]
  |  Branch (15385:26): [True: 0, False: 362]
  ------------------
15386|      0|            Py_XDECREF(o);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15387|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15388|      0|            return -1;
15389|      0|        }
15390|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15391|    362|    }
15392|      6|    return PyModule_Add(module, tablename, d);
15393|      6|}
posixmodule.c:fd_specified:
 1631|      2|{
 1632|      2|    if (fd == -1)
  ------------------
  |  Branch (1632:9): [True: 2, False: 0]
  ------------------
 1633|      2|        return 0;
 1634|       |
 1635|      0|    argument_unavailable_error(function_name, "fd");
 1636|      0|    return 1;
 1637|      2|}
posixmodule.c:dir_fd_unavailable:
 1617|      2|{
 1618|      2|    int dir_fd;
 1619|      2|    if (!dir_fd_converter(o, &dir_fd))
  ------------------
  |  Branch (1619:9): [True: 0, False: 2]
  ------------------
 1620|      0|        return 0;
 1621|      2|    if (dir_fd != DEFAULT_DIR_FD) {
  ------------------
  |  | 1162|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (1621:9): [True: 0, False: 2]
  ------------------
 1622|      0|        argument_unavailable_error(NULL, "dir_fd");
 1623|      0|        return 0;
 1624|      0|    }
 1625|      2|    *(int *)p = dir_fd;
 1626|      2|    return 1;
 1627|      2|}
posixmodule.c:probe_faccessat:
18870|      2|   {                      \
18871|      2|      if (test) {        \
  ------------------
  |  Branch (18871:11): [True: 2, Folded]
  ------------------
18872|      2|          return 1;       \
18873|      2|      } else {            \
18874|      0|          return 0;       \
18875|      0|      }                   \
18876|      2|   }
posixmodule.c:probe_fchmodat:
18870|      2|   {                      \
18871|      2|      if (test) {        \
  ------------------
  |  Branch (18871:11): [True: 2, Folded]
  ------------------
18872|      2|          return 1;       \
18873|      2|      } else {            \
18874|      0|          return 0;       \
18875|      0|      }                   \
18876|      2|   }
posixmodule.c:probe_fchownat:
18870|      2|   {                      \
18871|      2|      if (test) {        \
  ------------------
  |  Branch (18871:11): [True: 2, Folded]
  ------------------
18872|      2|          return 1;       \
18873|      2|      } else {            \
18874|      0|          return 0;       \
18875|      0|      }                   \
18876|      2|   }
posixmodule.c:probe_fdopendir:
18870|      2|   {                      \
18871|      2|      if (test) {        \
  ------------------
  |  Branch (18871:11): [True: 2, Folded]
  ------------------
18872|      2|          return 1;       \
18873|      2|      } else {            \
18874|      0|          return 0;       \
18875|      0|      }                   \
18876|      2|   }
posixmodule.c:probe_fstatat:
18870|      2|   {                      \
18871|      2|      if (test) {        \
  ------------------
  |  Branch (18871:11): [True: 2, Folded]
  ------------------
18872|      2|          return 1;       \
18873|      2|      } else {            \
18874|      0|          return 0;       \
18875|      0|      }                   \
18876|      2|   }
posixmodule.c:probe_futimens:
18870|      2|   {                      \
18871|      2|      if (test) {        \
  ------------------
  |  Branch (18871:11): [True: 2, Folded]
  ------------------
18872|      2|          return 1;       \
18873|      2|      } else {            \
18874|      0|          return 0;       \
18875|      0|      }                   \
18876|      2|   }
posixmodule.c:probe_linkat:
18870|      2|   {                      \
18871|      2|      if (test) {        \
  ------------------
  |  Branch (18871:11): [True: 2, Folded]
  ------------------
18872|      2|          return 1;       \
18873|      2|      } else {            \
18874|      0|          return 0;       \
18875|      0|      }                   \
18876|      2|   }
posixmodule.c:probe_mkdirat:
18870|      2|   {                      \
18871|      2|      if (test) {        \
  ------------------
  |  Branch (18871:11): [True: 2, Folded]
  ------------------
18872|      2|          return 1;       \
18873|      2|      } else {            \
18874|      0|          return 0;       \
18875|      0|      }                   \
18876|      2|   }
posixmodule.c:probe_mkfifoat:
18870|      2|   {                      \
18871|      2|      if (test) {        \
  ------------------
  |  Branch (18871:11): [True: 2, Folded]
  ------------------
18872|      2|          return 1;       \
18873|      2|      } else {            \
18874|      0|          return 0;       \
18875|      0|      }                   \
18876|      2|   }
posixmodule.c:probe_mknodat:
18870|      2|   {                      \
18871|      2|      if (test) {        \
  ------------------
  |  Branch (18871:11): [True: 2, Folded]
  ------------------
18872|      2|          return 1;       \
18873|      2|      } else {            \
18874|      0|          return 0;       \
18875|      0|      }                   \
18876|      2|   }
posixmodule.c:probe_openat:
18870|      2|   {                      \
18871|      2|      if (test) {        \
  ------------------
  |  Branch (18871:11): [True: 2, Folded]
  ------------------
18872|      2|          return 1;       \
18873|      2|      } else {            \
18874|      0|          return 0;       \
18875|      0|      }                   \
18876|      2|   }
posixmodule.c:probe_readlinkat:
18870|      2|   {                      \
18871|      2|      if (test) {        \
  ------------------
  |  Branch (18871:11): [True: 2, Folded]
  ------------------
18872|      2|          return 1;       \
18873|      2|      } else {            \
18874|      0|          return 0;       \
18875|      0|      }                   \
18876|      2|   }
posixmodule.c:probe_renameat:
18870|      2|   {                      \
18871|      2|      if (test) {        \
  ------------------
  |  Branch (18871:11): [True: 2, Folded]
  ------------------
18872|      2|          return 1;       \
18873|      2|      } else {            \
18874|      0|          return 0;       \
18875|      0|      }                   \
18876|      2|   }
posixmodule.c:probe_symlinkat:
18870|      2|   {                      \
18871|      2|      if (test) {        \
  ------------------
  |  Branch (18871:11): [True: 2, Folded]
  ------------------
18872|      2|          return 1;       \
18873|      2|      } else {            \
18874|      0|          return 0;       \
18875|      0|      }                   \
18876|      2|   }
posixmodule.c:probe_unlinkat:
18870|      2|   {                      \
18871|      2|      if (test) {        \
  ------------------
  |  Branch (18871:11): [True: 2, Folded]
  ------------------
18872|      2|          return 1;       \
18873|      2|      } else {            \
18874|      0|          return 0;       \
18875|      0|      }                   \
18876|      2|   }
posixmodule.c:probe_utimensat:
18870|      2|   {                      \
18871|      2|      if (test) {        \
  ------------------
  |  Branch (18871:11): [True: 2, Folded]
  ------------------
18872|      2|          return 1;       \
18873|      2|      } else {            \
18874|      0|          return 0;       \
18875|      0|      }                   \
18876|      2|   }
posixmodule.c:probe_ptsname_r:
18870|      2|   {                      \
18871|      2|      if (test) {        \
  ------------------
  |  Branch (18871:11): [True: 2, Folded]
  ------------------
18872|      2|          return 1;       \
18873|      2|      } else {            \
18874|      0|          return 0;       \
18875|      0|      }                   \
18876|      2|   }
posixmodule.c:_posix_traverse:
 2635|      4|{
 2636|      4|    _posixstate *state = get_posix_state(module);
 2637|      4|    Py_VISIT(state->billion);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2638|      4|    Py_VISIT(state->DirEntryType);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2639|      4|    Py_VISIT(state->ScandirIteratorType);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2640|      4|#if defined(HAVE_SCHED_SETPARAM) || defined(HAVE_SCHED_SETSCHEDULER) || defined(POSIX_SPAWN_SETSCHEDULER) || defined(POSIX_SPAWN_SETSCHEDPARAM)
 2641|      4|    Py_VISIT(state->SchedParamType);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2642|      4|#endif
 2643|      4|    Py_VISIT(state->StatResultType);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2644|      4|#ifdef HAVE_STATX
 2645|      4|    Py_VISIT(state->StatxResultType);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2646|      4|#endif
 2647|      4|    Py_VISIT(state->StatVFSResultType);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2648|      4|    Py_VISIT(state->TerminalSizeType);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2649|      4|    Py_VISIT(state->TimesResultType);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2650|      4|    Py_VISIT(state->UnameResultType);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2651|      4|#if defined(HAVE_WAITID)
 2652|      4|    Py_VISIT(state->WaitidResultType);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2653|      4|#endif
 2654|      4|#if defined(HAVE_WAIT3) || defined(HAVE_WAIT4)
 2655|      4|    Py_VISIT(state->struct_rusage);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2656|      4|#endif
 2657|      4|    Py_VISIT(state->st_mode);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2658|      4|    return 0;
 2659|      4|}

PyErr_CheckSignals:
 1775|    584|{
 1776|    584|    PyThreadState *tstate = _PyThreadState_GET();
 1777|       |
 1778|       |    /* Opportunistically check if the GC is scheduled to run and run it
 1779|       |       if we have a request. This is done here because native code needs
 1780|       |       to call this API if is going to run for some time without executing
 1781|       |       Python code to ensure signals are handled. Checking for the GC here
 1782|       |       allows long running native code to clean cycles created using the C-API
 1783|       |       even if it doesn't run the evaluation loop */
 1784|    584|    uintptr_t breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
 1785|    584|    if (breaker & _PY_GC_SCHEDULED_BIT) {
  ------------------
  |  |  349|    584|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
  |  Branch (1785:9): [True: 0, False: 584]
  ------------------
 1786|      0|        _Py_unset_eval_breaker_bit(tstate, _PY_GC_SCHEDULED_BIT);
  ------------------
  |  |  349|      0|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
 1787|      0|        _Py_RunGC(tstate);
 1788|      0|    }
 1789|    584|    if (breaker & _PY_ASYNC_EXCEPTION_BIT) {
  ------------------
  |  |  348|    584|#define _PY_ASYNC_EXCEPTION_BIT (1U << 3)
  ------------------
  |  Branch (1789:9): [True: 0, False: 584]
  ------------------
 1790|      0|        if (_PyEval_RaiseAsyncExc(tstate) < 0) {
  ------------------
  |  Branch (1790:13): [True: 0, False: 0]
  ------------------
 1791|      0|            return -1;
 1792|      0|        }
 1793|      0|    }
 1794|       |
 1795|    584|#if defined(Py_REMOTE_DEBUG) && defined(Py_SUPPORTS_REMOTE_DEBUG)
 1796|    584|    _PyRunRemoteDebugger(tstate);
 1797|    584|#endif
 1798|       |
 1799|    584|    if (_PyErr_CheckSignalsTstate(tstate) < 0) {
  ------------------
  |  Branch (1799:9): [True: 0, False: 584]
  ------------------
 1800|      0|        return -1;
 1801|      0|    }
 1802|       |
 1803|    584|    return 0;
 1804|    584|}
_PyErr_CheckSignalsTstate:
 1894|    584|{
 1895|    584|    _Py_CHECK_EMSCRIPTEN_SIGNALS();
 1896|    584|    if (!_Py_atomic_load_int(&is_tripped)) {
  ------------------
  |  |  112|    584|#define is_tripped _PyRuntime.signals.is_tripped
  ------------------
  |  Branch (1896:9): [True: 584, False: 0]
  ------------------
 1897|    584|        return 0;
 1898|    584|    }
 1899|      0|    if (!_Py_ThreadCanHandleSignals(tstate->interp)) {
  ------------------
  |  Branch (1899:9): [True: 0, False: 0]
  ------------------
 1900|      0|        return 0;
 1901|      0|    }
 1902|      0|    return run_tripped_handlers(tstate);
 1903|      0|}
_PySignal_Init:
 1989|      2|{
 1990|      2|    signal_state_t *state = &signal_global_state;
  ------------------
  |  |  116|      2|#define signal_global_state _PyRuntime.signals
  ------------------
 1991|       |
 1992|      2|    state->default_handler = PyLong_FromVoidPtr((void *)SIG_DFL);
 1993|      2|    if (state->default_handler == NULL) {
  ------------------
  |  Branch (1993:9): [True: 0, False: 2]
  ------------------
 1994|      0|        return -1;
 1995|      0|    }
 1996|       |
 1997|      2|    state->ignore_handler = PyLong_FromVoidPtr((void *)SIG_IGN);
 1998|      2|    if (state->ignore_handler == NULL) {
  ------------------
  |  Branch (1998:9): [True: 0, False: 2]
  ------------------
 1999|      0|        return -1;
 2000|      0|    }
 2001|       |
 2002|       |#ifdef MS_WINDOWS
 2003|       |    /* Create manual-reset event, initially unset */
 2004|       |    state->sigint_event = (void *)CreateEvent(NULL, TRUE, FALSE, FALSE);
 2005|       |    if (state->sigint_event == NULL) {
 2006|       |        PyErr_SetFromWindowsErr(0);
 2007|       |        return -1;
 2008|       |    }
 2009|       |#endif
 2010|       |
 2011|    130|    for (int signum = 1; signum < Py_NSIG; signum++) {
  ------------------
  |  |   26|    130|#  define Py_NSIG NSIG
  ------------------
  |  Branch (2011:26): [True: 128, False: 2]
  ------------------
 2012|    128|        _Py_atomic_store_int_relaxed(&Handlers[signum].tripped, 0);
  ------------------
  |  |  110|    128|#define Handlers _PyRuntime.signals.handlers
  ------------------
 2013|    128|    }
 2014|       |
 2015|      2|    if (install_signal_handlers) {
  ------------------
  |  Branch (2015:9): [True: 0, False: 2]
  ------------------
 2016|      0|        if (signal_install_handlers() < 0) {
  ------------------
  |  Branch (2016:13): [True: 0, False: 0]
  ------------------
 2017|      0|            return -1;
 2018|      0|        }
 2019|      0|    }
 2020|       |
 2021|      2|    return 0;
 2022|      2|}

PyInit_time:
 2309|      2|{
 2310|      2|    return PyModuleDef_Init(&timemodule);
 2311|      2|}
timemodule.c:get_time_state:
   93|      6|{
   94|      6|    void *state = _PyModule_GetState(module);
   95|      6|    assert(state != NULL);
  ------------------
  |  Branch (95:5): [True: 6, False: 0]
  ------------------
   96|      6|    return (time_module_state *)state;
   97|      6|}
timemodule.c:init_timezone:
 1882|      2|{
 1883|      2|#define ADD_INT(NAME, VALUE) do {                       \
 1884|      2|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
 1885|      2|        return -1;                                      \
 1886|      2|    }                                                   \
 1887|      2|} while (0)
 1888|       |
 1889|      2|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (1889:5): [True: 2, False: 0]
  ------------------
 1890|       |
 1891|       |    /* This code moved from PyInit_time wholesale to allow calling it from
 1892|       |    time_tzset. In the future, some parts of it can be moved back
 1893|       |    (for platforms that don't HAVE_WORKING_TZSET, when we know what they
 1894|       |    are), and the extraneous calls to tzset(3) should be removed.
 1895|       |    I haven't done this yet, as I don't want to change this code as
 1896|       |    little as possible when introducing the time.tzset and time.tzsetwall
 1897|       |    methods. This should simply be a method of doing the following once,
 1898|       |    at the top of this function and removing the call to tzset() from
 1899|       |    time_tzset():
 1900|       |
 1901|       |        #ifdef HAVE_TZSET
 1902|       |        tzset()
 1903|       |        #endif
 1904|       |
 1905|       |    And I'm lazy and hate C so nyer.
 1906|       |     */
 1907|       |#ifdef HAVE_DECL_TZNAME
 1908|       |    PyObject *otz0, *otz1;
 1909|       |#if !defined(MS_WINDOWS) || defined(MS_WINDOWS_DESKTOP) || defined(MS_WINDOWS_SYSTEM)
 1910|       |    tzset();
 1911|       |#endif
 1912|       |    ADD_INT("timezone", _Py_timezone);
 1913|       |#ifdef HAVE_ALTZONE
 1914|       |    ADD_INT("altzone", altzone);
 1915|       |#else
 1916|       |    ADD_INT("altzone", _Py_timezone-3600);
 1917|       |#endif
 1918|       |    ADD_INT("daylight", _Py_daylight);
 1919|       |#ifdef MS_WINDOWS
 1920|       |    TIME_ZONE_INFORMATION tzinfo = {0};
 1921|       |    GetTimeZoneInformation(&tzinfo);
 1922|       |    otz0 = PyUnicode_FromWideChar(tzinfo.StandardName, -1);
 1923|       |    if (otz0 == NULL) {
 1924|       |        return -1;
 1925|       |    }
 1926|       |    otz1 = PyUnicode_FromWideChar(tzinfo.DaylightName, -1);
 1927|       |    if (otz1 == NULL) {
 1928|       |        Py_DECREF(otz0);
 1929|       |        return -1;
 1930|       |    }
 1931|       |#else
 1932|       |    otz0 = PyUnicode_DecodeLocale(_Py_tzname[0], "surrogateescape");
 1933|       |    if (otz0 == NULL) {
 1934|       |        return -1;
 1935|       |    }
 1936|       |    otz1 = PyUnicode_DecodeLocale(_Py_tzname[1], "surrogateescape");
 1937|       |    if (otz1 == NULL) {
 1938|       |        Py_DECREF(otz0);
 1939|       |        return -1;
 1940|       |    }
 1941|       |#endif // MS_WINDOWS
 1942|       |    if (PyModule_Add(m, "tzname", Py_BuildValue("(NN)", otz0, otz1)) < 0) {
 1943|       |        return -1;
 1944|       |    }
 1945|       |#else // !HAVE_DECL_TZNAME
 1946|      2|    static const time_t YEAR = (365 * 24 + 6) * 3600;
 1947|      2|    time_t t;
 1948|      2|    struct tm p;
 1949|      2|    time_t janzone_t, julyzone_t;
 1950|      2|    char janname[10], julyname[10];
 1951|      2|    t = (time((time_t *)0) / YEAR) * YEAR;
 1952|      2|    _PyTime_localtime(t, &p);
 1953|      2|    get_zone(janname, 9, &p);
 1954|      2|    janzone_t = -get_gmtoff(t, &p);
 1955|      2|    janname[9] = '\0';
 1956|      2|    t += YEAR/2;
 1957|      2|    _PyTime_localtime(t, &p);
 1958|      2|    get_zone(julyname, 9, &p);
 1959|      2|    julyzone_t = -get_gmtoff(t, &p);
 1960|      2|    julyname[9] = '\0';
 1961|       |
 1962|       |    /* Sanity check, don't check for the validity of timezones.
 1963|       |       In practice, it should be more in range -12 hours .. +14 hours. */
 1964|      2|#define MAX_TIMEZONE (48 * 3600)
 1965|      2|    if (janzone_t < -MAX_TIMEZONE || janzone_t > MAX_TIMEZONE
  ------------------
  |  | 1964|      4|#define MAX_TIMEZONE (48 * 3600)
  ------------------
                  if (janzone_t < -MAX_TIMEZONE || janzone_t > MAX_TIMEZONE
  ------------------
  |  | 1964|      4|#define MAX_TIMEZONE (48 * 3600)
  ------------------
  |  Branch (1965:9): [True: 0, False: 2]
  |  Branch (1965:38): [True: 0, False: 2]
  ------------------
 1966|      2|        || julyzone_t < -MAX_TIMEZONE || julyzone_t > MAX_TIMEZONE)
  ------------------
  |  | 1964|      4|#define MAX_TIMEZONE (48 * 3600)
  ------------------
                      || julyzone_t < -MAX_TIMEZONE || julyzone_t > MAX_TIMEZONE)
  ------------------
  |  | 1964|      2|#define MAX_TIMEZONE (48 * 3600)
  ------------------
  |  Branch (1966:12): [True: 0, False: 2]
  |  Branch (1966:42): [True: 0, False: 2]
  ------------------
 1967|      0|    {
 1968|      0|        PyErr_SetString(PyExc_RuntimeError, "invalid GMT offset");
 1969|      0|        return -1;
 1970|      0|    }
 1971|      2|    int janzone = (int)janzone_t;
 1972|      2|    int julyzone = (int)julyzone_t;
 1973|       |
 1974|      2|    PyObject *tzname_obj;
 1975|      2|    if (janzone < julyzone) {
  ------------------
  |  Branch (1975:9): [True: 0, False: 2]
  ------------------
 1976|       |        /* DST is reversed in the southern hemisphere */
 1977|      0|        ADD_INT("timezone", julyzone);
  ------------------
  |  | 1883|      0|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1884|      0|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1884:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1885|      0|        return -1;                                      \
  |  | 1886|      0|    }                                                   \
  |  | 1887|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1887:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1978|      0|        ADD_INT("altzone", janzone);
  ------------------
  |  | 1883|      0|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1884|      0|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1884:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1885|      0|        return -1;                                      \
  |  | 1886|      0|    }                                                   \
  |  | 1887|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1887:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1979|      0|        ADD_INT("daylight", janzone != julyzone);
  ------------------
  |  | 1883|      0|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1884|      0|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1884:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1885|      0|        return -1;                                      \
  |  | 1886|      0|    }                                                   \
  |  | 1887|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1887:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1980|      0|        tzname_obj = Py_BuildValue("(zz)", julyname, janname);
 1981|      2|    } else {
 1982|      2|        ADD_INT("timezone", janzone);
  ------------------
  |  | 1883|      2|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1884|      2|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1884:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1885|      0|        return -1;                                      \
  |  | 1886|      0|    }                                                   \
  |  | 1887|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (1887:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1983|      2|        ADD_INT("altzone", julyzone);
  ------------------
  |  | 1883|      2|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1884|      2|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1884:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1885|      0|        return -1;                                      \
  |  | 1886|      0|    }                                                   \
  |  | 1887|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (1887:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1984|      2|        ADD_INT("daylight", janzone != julyzone);
  ------------------
  |  | 1883|      2|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1884|      2|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1884:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1885|      0|        return -1;                                      \
  |  | 1886|      0|    }                                                   \
  |  | 1887|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (1887:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1985|      2|        tzname_obj = Py_BuildValue("(zz)", janname, julyname);
 1986|      2|    }
 1987|      2|    if (PyModule_Add(m, "tzname", tzname_obj) < 0) {
  ------------------
  |  Branch (1987:9): [True: 0, False: 2]
  ------------------
 1988|      0|        return -1;
 1989|      0|    }
 1990|      2|#endif // !HAVE_DECL_TZNAME
 1991|      2|#undef ADD_INT
 1992|       |
 1993|      2|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1993:9): [True: 0, False: 2]
  ------------------
 1994|      0|        return -1;
 1995|      0|    }
 1996|      2|    return 0;
 1997|      2|}
timemodule.c:get_zone:
 1860|      4|{
 1861|      4|#ifdef HAVE_STRUCT_TM_TM_ZONE
 1862|      4|    strncpy(zone, p->tm_zone ? p->tm_zone : "   ", n);
  ------------------
  |  Branch (1862:19): [True: 4, False: 0]
  ------------------
 1863|       |#else
 1864|       |    tzset();
 1865|       |    strftime(zone, n, "%Z", p);
 1866|       |#endif
 1867|      4|}
timemodule.c:get_gmtoff:
 1871|      4|{
 1872|      4|#ifdef HAVE_STRUCT_TM_TM_ZONE
 1873|      4|    return p->tm_gmtoff;
 1874|       |#else
 1875|       |    return timegm(p) - t;
 1876|       |#endif
 1877|      4|}
timemodule.c:time_exec:
 2078|      2|{
 2079|      2|    time_module_state *state = get_time_state(module);
 2080|       |#if defined(__APPLE__) && defined(HAVE_CLOCK_GETTIME)
 2081|       |    if (HAVE_CLOCK_GETTIME_RUNTIME) {
 2082|       |        /* pass: ^^^ cannot use '!' here */
 2083|       |    } else {
 2084|       |        PyObject* dct = PyModule_GetDict(module);
 2085|       |        if (dct == NULL) {
 2086|       |            return -1;
 2087|       |        }
 2088|       |
 2089|       |        if (PyDict_PopString(dct, "clock_gettime", NULL) < 0) {
 2090|       |            return -1;
 2091|       |        }
 2092|       |        if (PyDict_PopString(dct, "clock_gettime_ns", NULL) < 0) {
 2093|       |            return -1;
 2094|       |        }
 2095|       |        if (PyDict_PopString(dct, "clock_settime", NULL) < 0) {
 2096|       |            return -1;
 2097|       |        }
 2098|       |        if (PyDict_PopString(dct, "clock_settime_ns", NULL) < 0) {
 2099|       |            return -1;
 2100|       |        }
 2101|       |        if (PyDict_PopString(dct, "clock_getres", NULL) < 0) {
 2102|       |            return -1;
 2103|       |        }
 2104|       |    }
 2105|       |#endif
 2106|       |#if defined(__APPLE__) && defined(HAVE_THREAD_TIME)
 2107|       |    if (HAVE_CLOCK_GETTIME_RUNTIME) {
 2108|       |        /* pass: ^^^ cannot use '!' here */
 2109|       |    } else {
 2110|       |        PyObject* dct = PyModule_GetDict(module);
 2111|       |
 2112|       |        if (PyDict_PopString(dct, "thread_time", NULL) < 0) {
 2113|       |            return -1;
 2114|       |        }
 2115|       |        if (PyDict_PopString(dct, "thread_time_ns", NULL) < 0) {
 2116|       |            return -1;
 2117|       |        }
 2118|       |    }
 2119|       |#endif
 2120|       |    /* Set, or reset, module variables like time.timezone */
 2121|      2|    if (init_timezone(module) < 0) {
  ------------------
  |  Branch (2121:9): [True: 0, False: 2]
  ------------------
 2122|      0|        return -1;
 2123|      0|    }
 2124|       |
 2125|      2|#if defined(HAVE_CLOCK_GETTIME) || defined(HAVE_CLOCK_SETTIME) || defined(HAVE_CLOCK_GETRES)
 2126|      2|    if (HAVE_CLOCK_GETTIME_RUNTIME) {
  ------------------
  |  |   61|      2|#  define HAVE_CLOCK_GETTIME_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (61:38): [True: 2, Folded]
  |  |  ------------------
  ------------------
 2127|       |
 2128|      2|#ifdef CLOCK_REALTIME
 2129|      2|        if (PyModule_AddIntMacro(module, CLOCK_REALTIME) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2129:13): [True: 0, False: 2]
  ------------------
 2130|      0|            return -1;
 2131|      0|        }
 2132|      2|#endif
 2133|      2|#ifdef CLOCK_MONOTONIC
 2134|      2|        if (PyModule_AddIntMacro(module, CLOCK_MONOTONIC) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2134:13): [True: 0, False: 2]
  ------------------
 2135|      0|            return -1;
 2136|      0|        }
 2137|      2|#endif
 2138|      2|#ifdef CLOCK_MONOTONIC_RAW
 2139|      2|        if (PyModule_AddIntMacro(module, CLOCK_MONOTONIC_RAW) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2139:13): [True: 0, False: 2]
  ------------------
 2140|      0|            return -1;
 2141|      0|        }
 2142|      2|#endif
 2143|       |#ifdef CLOCK_HIGHRES
 2144|       |        if (PyModule_AddIntMacro(module, CLOCK_HIGHRES) < 0) {
 2145|       |            return -1;
 2146|       |        }
 2147|       |#endif
 2148|      2|#ifdef CLOCK_PROCESS_CPUTIME_ID
 2149|      2|        if (PyModule_AddIntMacro(module, CLOCK_PROCESS_CPUTIME_ID) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2149:13): [True: 0, False: 2]
  ------------------
 2150|      0|            return -1;
 2151|      0|        }
 2152|      2|#endif
 2153|      2|#ifdef CLOCK_THREAD_CPUTIME_ID
 2154|      2|        if (PyModule_AddIntMacro(module, CLOCK_THREAD_CPUTIME_ID) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2154:13): [True: 0, False: 2]
  ------------------
 2155|      0|            return -1;
 2156|      0|        }
 2157|      2|#endif
 2158|       |#ifdef CLOCK_PROF
 2159|       |        if (PyModule_AddIntMacro(module, CLOCK_PROF) < 0) {
 2160|       |            return -1;
 2161|       |        }
 2162|       |#endif
 2163|      2|#ifdef CLOCK_BOOTTIME
 2164|      2|        if (PyModule_AddIntMacro(module, CLOCK_BOOTTIME) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2164:13): [True: 0, False: 2]
  ------------------
 2165|      0|            return -1;
 2166|      0|        }
 2167|      2|#endif
 2168|      2|#ifdef CLOCK_TAI
 2169|      2|        if (PyModule_AddIntMacro(module, CLOCK_TAI) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2169:13): [True: 0, False: 2]
  ------------------
 2170|      0|            return -1;
 2171|      0|        }
 2172|      2|#endif
 2173|       |#ifdef CLOCK_UPTIME
 2174|       |        if (PyModule_AddIntMacro(module, CLOCK_UPTIME) < 0) {
 2175|       |            return -1;
 2176|       |        }
 2177|       |#endif
 2178|       |#ifdef CLOCK_UPTIME_RAW
 2179|       |        if (PyModule_AddIntMacro(module, CLOCK_UPTIME_RAW) < 0) {
 2180|       |            return -1;
 2181|       |        }
 2182|       |#endif
 2183|       |#ifdef CLOCK_MONOTONIC_RAW_APPROX
 2184|       |        if (PyModule_AddIntMacro(module, CLOCK_MONOTONIC_RAW_APPROX) < 0) {
 2185|       |            return -1;
 2186|       |        }
 2187|       |#endif
 2188|       |#ifdef CLOCK_UPTIME_RAW_APPROX
 2189|       |        if (PyModule_AddIntMacro(module, CLOCK_UPTIME_RAW_APPROX) < 0) {
 2190|       |            return -1;
 2191|       |        }
 2192|       |#endif
 2193|      2|    }
 2194|       |
 2195|      2|#endif  /* defined(HAVE_CLOCK_GETTIME) || defined(HAVE_CLOCK_SETTIME) || defined(HAVE_CLOCK_GETRES) */
 2196|       |
 2197|      2|    if (PyModule_AddIntConstant(module, "_STRUCT_TM_ITEMS", 11)) {
  ------------------
  |  Branch (2197:9): [True: 0, False: 2]
  ------------------
 2198|      0|        return -1;
 2199|      0|    }
 2200|       |
 2201|       |    // struct_time type
 2202|      2|    state->struct_time_type = _PyStructSequence_NewType(
 2203|      2|        &struct_time_type_desc, Py_TPFLAGS_IMMUTABLETYPE);
  ------------------
  |  |  500|      2|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
 2204|      2|    if (state->struct_time_type == NULL) {
  ------------------
  |  Branch (2204:9): [True: 0, False: 2]
  ------------------
 2205|      0|        return -1;
 2206|      0|    }
 2207|      2|    if (PyModule_AddType(module, state->struct_time_type)) {
  ------------------
  |  Branch (2207:9): [True: 0, False: 2]
  ------------------
 2208|      0|        return -1;
 2209|      0|    }
 2210|       |
 2211|       |#if defined(__linux__) && !defined(__GLIBC__)
 2212|       |    struct tm tm;
 2213|       |    const time_t zero = 0;
 2214|       |    if (gmtime_r(&zero, &tm) != NULL)
 2215|       |        utc_string = tm.tm_zone;
 2216|       |#endif
 2217|       |
 2218|       |#if defined(MS_WINDOWS)
 2219|       |    if (timer_flags == (DWORD)-1) {
 2220|       |        DWORD test_flags = CREATE_WAITABLE_TIMER_HIGH_RESOLUTION;
 2221|       |        HANDLE timer = CreateWaitableTimerExW(NULL, NULL, test_flags,
 2222|       |                                              TIMER_ALL_ACCESS);
 2223|       |        if (timer == NULL) {
 2224|       |            // CREATE_WAITABLE_TIMER_HIGH_RESOLUTION is not supported.
 2225|       |            timer_flags = 0;
 2226|       |        }
 2227|       |        else {
 2228|       |            // CREATE_WAITABLE_TIMER_HIGH_RESOLUTION is supported.
 2229|       |            timer_flags = CREATE_WAITABLE_TIMER_HIGH_RESOLUTION;
 2230|       |            CloseHandle(timer);
 2231|       |        }
 2232|       |    }
 2233|       |#endif
 2234|       |
 2235|       |// gh-115714: Don't use times() on WASI.
 2236|      2|#if defined(HAVE_TIMES) && !defined(__wasi__)
 2237|      2|    long ticks_per_second;
 2238|      2|    if (_Py_GetTicksPerSecond(&ticks_per_second) < 0) {
  ------------------
  |  Branch (2238:9): [True: 0, False: 2]
  ------------------
 2239|      0|        PyErr_SetString(PyExc_RuntimeError,
 2240|      0|                        "cannot read ticks_per_second");
 2241|      0|        return -1;
 2242|      0|    }
 2243|      2|    if (_PyTimeFraction_Set(&state->times_base, SEC_TO_NS,
  ------------------
  |  |   65|      2|#define SEC_TO_NS (1000 * 1000 * 1000)
  ------------------
  |  Branch (2243:9): [True: 0, False: 2]
  ------------------
 2244|      2|                            ticks_per_second) < 0) {
 2245|      0|        PyErr_Format(PyExc_OverflowError, "ticks_per_second is too large");
 2246|      0|        return -1;
 2247|      0|    }
 2248|      2|#endif
 2249|       |
 2250|      2|#ifdef HAVE_CLOCK
 2251|      2|    if (_PyTimeFraction_Set(&state->clock_base, SEC_TO_NS,
  ------------------
  |  |   65|      2|#define SEC_TO_NS (1000 * 1000 * 1000)
  ------------------
  |  Branch (2251:9): [True: 0, False: 2]
  ------------------
 2252|      2|                            CLOCKS_PER_SEC) < 0) {
 2253|      0|        PyErr_Format(PyExc_OverflowError, "CLOCKS_PER_SEC is too large");
 2254|      0|        return -1;
 2255|      0|    }
 2256|      2|#endif
 2257|       |
 2258|      2|    return 0;
 2259|      2|}
timemodule.c:time_module_traverse:
 2264|      4|{
 2265|      4|    time_module_state *state = get_time_state(module);
 2266|      4|    Py_VISIT(state->struct_time_type);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2267|      4|    return 0;
 2268|      4|}

PyObject_Type:
   46|      4|{
   47|      4|    PyObject *v;
   48|       |
   49|      4|    if (o == NULL) {
  ------------------
  |  Branch (49:9): [True: 0, False: 4]
  ------------------
   50|      0|        return null_error();
   51|      0|    }
   52|       |
   53|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   54|      4|    return Py_NewRef(v);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   55|      4|}
PyObject_Size:
   59|  1.16k|{
   60|  1.16k|    if (o == NULL) {
  ------------------
  |  Branch (60:9): [True: 0, False: 1.16k]
  ------------------
   61|      0|        null_error();
   62|      0|        return -1;
   63|      0|    }
   64|       |
   65|  1.16k|    PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
  ------------------
  |  |  213|  1.16k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   66|  1.16k|    if (m && m->sq_length) {
  ------------------
  |  Branch (66:9): [True: 1.16k, False: 0]
  |  Branch (66:14): [True: 1.15k, False: 10]
  ------------------
   67|  1.15k|        Py_ssize_t len = m->sq_length(o);
   68|  1.15k|        assert(_Py_CheckSlotResult(o, "__len__", len >= 0));
  ------------------
  |  Branch (68:9): [True: 1.15k, False: 0]
  ------------------
   69|  1.15k|        return len;
   70|  1.15k|    }
   71|       |
   72|     10|    return PyMapping_Size(o);
   73|  1.16k|}
_PyObject_HasLen:
   84|    118|_PyObject_HasLen(PyObject *o) {
   85|    118|    return (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_length) ||
  ------------------
  |  |  213|    118|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    118|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_length) ||
  ------------------
  |  |  213|      3|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (85:13): [True: 3, False: 115]
  |  Branch (85:43): [True: 3, False: 0]
  ------------------
   86|    115|        (Py_TYPE(o)->tp_as_mapping && Py_TYPE(o)->tp_as_mapping->mp_length);
  ------------------
  |  |  213|    115|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    115|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    115|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      (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 (86:10): [True: 0, False: 115]
  |  Branch (86:39): [True: 0, False: 0]
  ------------------
   87|    118|}
PyObject_LengthHint:
   97|    117|{
   98|    117|    PyObject *hint, *result;
   99|    117|    Py_ssize_t res;
  100|    117|    if (_PyObject_HasLen(o)) {
  ------------------
  |  Branch (100:9): [True: 2, False: 115]
  ------------------
  101|      2|        res = PyObject_Length(o);
  ------------------
  |  |   81|      2|#define PyObject_Length PyObject_Size
  ------------------
  102|      2|        if (res < 0) {
  ------------------
  |  Branch (102:13): [True: 0, False: 2]
  ------------------
  103|      0|            PyThreadState *tstate = _PyThreadState_GET();
  104|      0|            assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (104:13): [True: 0, False: 0]
  ------------------
  105|      0|            if (!_PyErr_ExceptionMatches(tstate, PyExc_TypeError)) {
  ------------------
  |  Branch (105:17): [True: 0, False: 0]
  ------------------
  106|      0|                return -1;
  107|      0|            }
  108|      0|            _PyErr_Clear(tstate);
  109|      0|        }
  110|      2|        else {
  111|      2|            return res;
  112|      2|        }
  113|      2|    }
  114|    115|    hint = _PyObject_LookupSpecial(o, &_Py_ID(__length_hint__));
  ------------------
  |  |  951|    115|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    115|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    115|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  115|    115|    if (hint == NULL) {
  ------------------
  |  Branch (115:9): [True: 35, False: 80]
  ------------------
  116|     35|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (116:13): [True: 0, False: 35]
  ------------------
  117|      0|            return -1;
  118|      0|        }
  119|     35|        return defaultvalue;
  120|     35|    }
  121|     80|    result = _PyObject_CallNoArgs(hint);
  122|     80|    Py_DECREF(hint);
  ------------------
  |  |  430|     80|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  123|     80|    if (result == NULL) {
  ------------------
  |  Branch (123:9): [True: 0, False: 80]
  ------------------
  124|      0|        PyThreadState *tstate = _PyThreadState_GET();
  125|      0|        if (_PyErr_ExceptionMatches(tstate, PyExc_TypeError)) {
  ------------------
  |  Branch (125:13): [True: 0, False: 0]
  ------------------
  126|      0|            _PyErr_Clear(tstate);
  127|      0|            return defaultvalue;
  128|      0|        }
  129|      0|        return -1;
  130|      0|    }
  131|     80|    else if (result == Py_NotImplemented) {
  ------------------
  |  |  640|     80|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (131:14): [True: 0, False: 80]
  ------------------
  132|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  133|      0|        return defaultvalue;
  134|      0|    }
  135|     80|    if (!PyLong_Check(result)) {
  ------------------
  |  |   13|     80|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     80|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (135:9): [True: 0, False: 80]
  ------------------
  136|      0|        PyErr_Format(PyExc_TypeError,
  137|      0|                     "%T.__length_hint__() must return an int, not %T",
  138|      0|                     o, result);
  139|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  140|      0|        return -1;
  141|      0|    }
  142|     80|    res = PyLong_AsSsize_t(result);
  143|     80|    Py_DECREF(result);
  ------------------
  |  |  430|     80|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  144|     80|    if (res < 0 && PyErr_Occurred()) {
  ------------------
  |  Branch (144:9): [True: 0, False: 80]
  |  Branch (144:20): [True: 0, False: 0]
  ------------------
  145|      0|        return -1;
  146|      0|    }
  147|     80|    if (res < 0) {
  ------------------
  |  Branch (147:9): [True: 0, False: 80]
  ------------------
  148|      0|        PyErr_Format(PyExc_ValueError,
  149|      0|                     "%T.__length_hint__() must return a non-negative int", o);
  150|      0|        return -1;
  151|      0|    }
  152|     80|    return res;
  153|     80|}
PyObject_GetItem:
  157|  1.38k|{
  158|  1.38k|    if (o == NULL || key == NULL) {
  ------------------
  |  Branch (158:9): [True: 0, False: 1.38k]
  |  Branch (158:22): [True: 0, False: 1.38k]
  ------------------
  159|      0|        return null_error();
  160|      0|    }
  161|       |
  162|  1.38k|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  163|  1.38k|    if (m && m->mp_subscript) {
  ------------------
  |  Branch (163:9): [True: 1.38k, False: 5]
  |  Branch (163:14): [True: 1.38k, False: 0]
  ------------------
  164|  1.38k|        PyObject *item = m->mp_subscript(o, key);
  165|  1.38k|        assert(_Py_CheckSlotResult(o, "__getitem__", item != NULL));
  ------------------
  |  Branch (165:9): [True: 1.38k, False: 0]
  ------------------
  166|  1.38k|        return item;
  167|  1.38k|    }
  168|       |
  169|      5|    PySequenceMethods *ms = Py_TYPE(o)->tp_as_sequence;
  ------------------
  |  |  213|      5|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  170|      5|    if (ms && ms->sq_item) {
  ------------------
  |  Branch (170:9): [True: 0, False: 5]
  |  Branch (170:15): [True: 0, False: 0]
  ------------------
  171|      0|        if (_PyIndex_Check(key)) {
  ------------------
  |  Branch (171:13): [True: 0, False: 0]
  ------------------
  172|      0|            Py_ssize_t key_value;
  173|      0|            key_value = PyNumber_AsSsize_t(key, PyExc_IndexError);
  174|      0|            if (key_value == -1 && PyErr_Occurred())
  ------------------
  |  Branch (174:17): [True: 0, False: 0]
  |  Branch (174:36): [True: 0, False: 0]
  ------------------
  175|      0|                return NULL;
  176|      0|            return PySequence_GetItem(o, key_value);
  177|      0|        }
  178|      0|        else {
  179|      0|            return type_error("sequence index must "
  180|      0|                              "be integer, not '%.200s'", key);
  181|      0|        }
  182|      0|    }
  183|       |
  184|      5|    if (PyType_Check(o)) {
  ------------------
  |  |  766|      5|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 5, False: 0]
  |  |  ------------------
  ------------------
  185|      5|        PyObject *meth, *result;
  186|       |
  187|       |        // Special case type[int], but disallow other types so str[int] fails
  188|      5|        if ((PyTypeObject*)o == &PyType_Type) {
  ------------------
  |  Branch (188:13): [True: 0, False: 5]
  ------------------
  189|      0|            return Py_GenericAlias(o, key);
  190|      0|        }
  191|       |
  192|      5|        if (PyObject_GetOptionalAttr(o, &_Py_ID(__class_getitem__), &meth) < 0) {
  ------------------
  |  |  951|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (192:13): [True: 0, False: 5]
  ------------------
  193|      0|            return NULL;
  194|      0|        }
  195|      5|        if (meth && meth != Py_None) {
  ------------------
  |  |  616|      5|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (195:13): [True: 5, False: 0]
  |  Branch (195:21): [True: 5, False: 0]
  ------------------
  196|      5|            result = PyObject_CallOneArg(meth, key);
  197|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  198|      5|            return result;
  199|      5|        }
  200|      0|        Py_XDECREF(meth);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  201|      0|        PyErr_Format(PyExc_TypeError, "type '%.200s' is not subscriptable",
  202|      0|                     ((PyTypeObject *)o)->tp_name);
  203|      0|        return NULL;
  204|      5|    }
  205|       |
  206|      0|    return type_error("'%.200s' object is not subscriptable", o);
  207|      5|}
PyMapping_GetOptionalItem:
  211|  6.81k|{
  212|  6.81k|    if (PyAnyDict_CheckExact(obj)) {
  ------------------
  |  |   41|  6.81k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  6.81k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_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.78k, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  213|  6.78k|        return PyDict_GetItemRef(obj, key, result);
  214|  6.78k|    }
  215|       |
  216|     25|    *result = PyObject_GetItem(obj, key);
  217|     25|    if (*result) {
  ------------------
  |  Branch (217:9): [True: 4, False: 21]
  ------------------
  218|      4|        return 1;
  219|      4|    }
  220|     25|    assert(PyErr_Occurred());
  ------------------
  |  Branch (220:5): [True: 21, False: 0]
  ------------------
  221|     21|    if (!PyErr_ExceptionMatches(PyExc_KeyError)) {
  ------------------
  |  Branch (221:9): [True: 0, False: 21]
  ------------------
  222|      0|        return -1;
  223|      0|    }
  224|     21|    PyErr_Clear();
  225|     21|    return 0;
  226|     21|}
_PyMapping_GetOptionalItem2:
  230|    240|{
  231|    240|    PyObject* result;
  232|    240|    *err = PyMapping_GetOptionalItem(obj, key, &result);
  233|    240|    return result;
  234|    240|}
PyObject_SetItem:
  238|    248|{
  239|    248|    if (o == NULL || key == NULL || value == NULL) {
  ------------------
  |  Branch (239:9): [True: 0, False: 248]
  |  Branch (239:22): [True: 0, False: 248]
  |  Branch (239:37): [True: 0, False: 248]
  ------------------
  240|      0|        null_error();
  241|      0|        return -1;
  242|      0|    }
  243|       |
  244|    248|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|    248|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    248|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    248|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  245|    248|    if (m && m->mp_ass_subscript) {
  ------------------
  |  Branch (245:9): [True: 248, False: 0]
  |  Branch (245:14): [True: 248, False: 0]
  ------------------
  246|    248|        int res = m->mp_ass_subscript(o, key, value);
  247|    248|        assert(_Py_CheckSlotResult(o, "__setitem__", res >= 0));
  ------------------
  |  Branch (247:9): [True: 248, False: 0]
  ------------------
  248|    248|        return res;
  249|    248|    }
  250|       |
  251|      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 (251:9): [True: 0, False: 0]
  ------------------
  252|      0|        if (_PyIndex_Check(key)) {
  ------------------
  |  Branch (252:13): [True: 0, False: 0]
  ------------------
  253|      0|            Py_ssize_t key_value;
  254|      0|            key_value = PyNumber_AsSsize_t(key, PyExc_IndexError);
  255|      0|            if (key_value == -1 && PyErr_Occurred())
  ------------------
  |  Branch (255:17): [True: 0, False: 0]
  |  Branch (255:36): [True: 0, False: 0]
  ------------------
  256|      0|                return -1;
  257|      0|            return PySequence_SetItem(o, key_value, value);
  258|      0|        }
  259|      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 (259:18): [True: 0, False: 0]
  ------------------
  260|      0|            type_error("sequence index must be "
  261|      0|                       "integer, not '%.200s'", key);
  262|      0|            return -1;
  263|      0|        }
  264|      0|    }
  265|       |
  266|      0|    type_error("'%.200s' object does not support item assignment", o);
  267|      0|    return -1;
  268|      0|}
PyObject_DelItem:
  272|    118|{
  273|    118|    if (o == NULL || key == NULL) {
  ------------------
  |  Branch (273:9): [True: 0, False: 118]
  |  Branch (273:22): [True: 0, False: 118]
  ------------------
  274|      0|        null_error();
  275|      0|        return -1;
  276|      0|    }
  277|       |
  278|    118|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|    118|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    118|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  279|    118|    if (m && m->mp_ass_subscript) {
  ------------------
  |  Branch (279:9): [True: 118, False: 0]
  |  Branch (279:14): [True: 118, False: 0]
  ------------------
  280|    118|        int res = m->mp_ass_subscript(o, key, (PyObject*)NULL);
  281|    118|        assert(_Py_CheckSlotResult(o, "__delitem__", res >= 0));
  ------------------
  |  Branch (281:9): [True: 118, False: 0]
  ------------------
  282|    118|        return res;
  283|    118|    }
  284|       |
  285|      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 (285:9): [True: 0, False: 0]
  ------------------
  286|      0|        if (_PyIndex_Check(key)) {
  ------------------
  |  Branch (286:13): [True: 0, False: 0]
  ------------------
  287|      0|            Py_ssize_t key_value;
  288|      0|            key_value = PyNumber_AsSsize_t(key, PyExc_IndexError);
  289|      0|            if (key_value == -1 && PyErr_Occurred())
  ------------------
  |  Branch (289:17): [True: 0, False: 0]
  |  Branch (289:36): [True: 0, False: 0]
  ------------------
  290|      0|                return -1;
  291|      0|            return PySequence_DelItem(o, key_value);
  292|      0|        }
  293|      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 (293:18): [True: 0, False: 0]
  ------------------
  294|      0|            type_error("sequence index must be "
  295|      0|                       "integer, not '%.200s'", key);
  296|      0|            return -1;
  297|      0|        }
  298|      0|    }
  299|       |
  300|      0|    type_error("'%.200s' object does not support item deletion", o);
  301|      0|    return -1;
  302|      0|}
PyObject_CheckBuffer:
  326|     79|{
  327|     79|    PyBufferProcs *tp_as_buffer = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  328|     79|    return (tp_as_buffer != NULL && tp_as_buffer->bf_getbuffer != NULL);
  ------------------
  |  Branch (328:13): [True: 27, False: 52]
  |  Branch (328:37): [True: 27, False: 0]
  ------------------
  329|     79|}
PyObject_GetBuffer:
  441|    227|{
  442|    227|    if (flags != PyBUF_SIMPLE) {  /* fast path */
  ------------------
  |  |  108|    227|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (442:9): [True: 27, False: 200]
  ------------------
  443|     27|        if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  137|     54|#define PyBUF_READ  0x100
  ------------------
                      if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  138|     27|#define PyBUF_WRITE 0x200
  ------------------
  |  Branch (443:13): [True: 0, False: 27]
  |  Branch (443:36): [True: 0, False: 27]
  ------------------
  444|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  445|      0|            return -1;
  446|      0|        }
  447|     27|    }
  448|    227|    PyBufferProcs *pb = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  213|    227|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    227|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    227|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  449|       |
  450|    227|    if (pb == NULL || pb->bf_getbuffer == NULL) {
  ------------------
  |  Branch (450:9): [True: 0, False: 227]
  |  Branch (450:23): [True: 0, False: 227]
  ------------------
  451|      0|        PyErr_Format(PyExc_TypeError,
  452|      0|                     "a bytes-like object is required, not '%.100s'",
  453|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  454|      0|        return -1;
  455|      0|    }
  456|    227|    int res = (*pb->bf_getbuffer)(obj, view, flags);
  457|    227|    assert(_Py_CheckSlotResult(obj, "getbuffer", res >= 0));
  ------------------
  |  Branch (457:5): [True: 227, False: 0]
  ------------------
  458|    227|    return res;
  459|    227|}
PyBuffer_FillInfo:
  777|    200|{
  778|    200|    if (view == NULL) {
  ------------------
  |  Branch (778:9): [True: 0, False: 200]
  ------------------
  779|      0|        PyErr_SetString(PyExc_BufferError,
  780|      0|                        "PyBuffer_FillInfo: view==NULL argument is obsolete");
  781|      0|        return -1;
  782|      0|    }
  783|       |
  784|    200|    if (flags != PyBUF_SIMPLE) {  /* fast path */
  ------------------
  |  |  108|    200|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (784:9): [True: 77, False: 123]
  ------------------
  785|     77|        if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  137|    154|#define PyBUF_READ  0x100
  ------------------
                      if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  138|     77|#define PyBUF_WRITE 0x200
  ------------------
  |  Branch (785:13): [True: 0, False: 77]
  |  Branch (785:36): [True: 0, False: 77]
  ------------------
  786|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  787|      0|            return -1;
  788|      0|        }
  789|     77|        if (((flags & PyBUF_WRITABLE) == PyBUF_WRITABLE) &&
  ------------------
  |  |  109|     77|#define PyBUF_WRITABLE 0x0001
  ------------------
                      if (((flags & PyBUF_WRITABLE) == PyBUF_WRITABLE) &&
  ------------------
  |  |  109|     77|#define PyBUF_WRITABLE 0x0001
  ------------------
  |  Branch (789:13): [True: 0, False: 77]
  ------------------
  790|      0|            (readonly == 1)) {
  ------------------
  |  Branch (790:13): [True: 0, False: 0]
  ------------------
  791|      0|            PyErr_SetString(PyExc_BufferError,
  792|      0|                            "Object is not writable.");
  793|      0|            return -1;
  794|      0|        }
  795|     77|    }
  796|       |
  797|    200|    view->obj = Py_XNewRef(obj);
  ------------------
  |  |  648|    200|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    200|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  798|    200|    view->buf = buf;
  799|    200|    view->len = len;
  800|    200|    view->readonly = readonly;
  801|    200|    view->itemsize = 1;
  802|    200|    view->format = NULL;
  803|    200|    if ((flags & PyBUF_FORMAT) == PyBUF_FORMAT)
  ------------------
  |  |  116|    200|#define PyBUF_FORMAT 0x0004
  ------------------
                  if ((flags & PyBUF_FORMAT) == PyBUF_FORMAT)
  ------------------
  |  |  116|    200|#define PyBUF_FORMAT 0x0004
  ------------------
  |  Branch (803:9): [True: 27, False: 173]
  ------------------
  804|     27|        view->format = "B";
  805|    200|    view->ndim = 1;
  806|    200|    view->shape = NULL;
  807|    200|    if ((flags & PyBUF_ND) == PyBUF_ND)
  ------------------
  |  |  117|    200|#define PyBUF_ND 0x0008
  ------------------
                  if ((flags & PyBUF_ND) == PyBUF_ND)
  ------------------
  |  |  117|    200|#define PyBUF_ND 0x0008
  ------------------
  |  Branch (807:9): [True: 77, False: 123]
  ------------------
  808|     77|        view->shape = &(view->len);
  809|    200|    view->strides = NULL;
  810|    200|    if ((flags & PyBUF_STRIDES) == PyBUF_STRIDES)
  ------------------
  |  |  118|    200|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|    200|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
                  if ((flags & PyBUF_STRIDES) == PyBUF_STRIDES)
  ------------------
  |  |  118|    200|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|    200|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (810:9): [True: 27, False: 173]
  ------------------
  811|     27|        view->strides = &(view->itemsize);
  812|    200|    view->suboffsets = NULL;
  813|       |    view->internal = NULL;
  814|    200|    return 0;
  815|    200|}
PyBuffer_Release:
  819|    277|{
  820|    277|    PyObject *obj = view->obj;
  821|    277|    PyBufferProcs *pb;
  822|    277|    if (obj == NULL)
  ------------------
  |  Branch (822:9): [True: 50, False: 227]
  ------------------
  823|     50|        return;
  824|    227|    pb = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  213|    227|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    227|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    227|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  825|    227|    if (pb && pb->bf_releasebuffer) {
  ------------------
  |  Branch (825:9): [True: 227, False: 0]
  |  Branch (825:15): [True: 77, False: 150]
  ------------------
  826|     77|        pb->bf_releasebuffer(obj, view);
  827|     77|    }
  828|    227|    view->obj = NULL;
  829|    227|    Py_DECREF(obj);
  ------------------
  |  |  430|    227|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    227|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    227|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  830|    227|}
PyObject_Format:
  855|    139|{
  856|    139|    PyObject *meth;
  857|    139|    PyObject *empty = NULL;
  858|    139|    PyObject *result = NULL;
  859|       |
  860|    139|    if (format_spec != NULL && !PyUnicode_Check(format_spec)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (860:9): [True: 0, False: 139]
  |  Branch (860:32): [True: 0, False: 0]
  ------------------
  861|      0|        PyErr_Format(PyExc_SystemError,
  862|      0|                     "Format specifier must be a string, not %.200s",
  863|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  864|      0|        return NULL;
  865|      0|    }
  866|       |
  867|       |    /* Fast path for common types. */
  868|    139|    if (format_spec == NULL || PyUnicode_GET_LENGTH(format_spec) == 0) {
  ------------------
  |  |  300|      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 (868:9): [True: 139, False: 0]
  |  Branch (868:32): [True: 0, False: 0]
  ------------------
  869|    139|        if (PyUnicode_CheckExact(obj)) {
  ------------------
  |  |  104|    139|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    139|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    139|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    139|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 139]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  870|      0|            return Py_NewRef(obj);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  871|      0|        }
  872|    139|        if (PyLong_CheckExact(obj)) {
  ------------------
  |  |   14|    139|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    139|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    139|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    139|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 89, False: 50]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  873|     89|            return PyObject_Str(obj);
  874|     89|        }
  875|    139|    }
  876|       |
  877|       |    /* If no format_spec is provided, use an empty string */
  878|     50|    if (format_spec == NULL) {
  ------------------
  |  Branch (878:9): [True: 50, False: 0]
  ------------------
  879|     50|        empty = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|     50|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  880|     50|        format_spec = empty;
  881|     50|    }
  882|       |
  883|       |    /* Find the (unbound!) __format__ method */
  884|     50|    meth = _PyObject_LookupSpecial(obj, &_Py_ID(__format__));
  ------------------
  |  |  951|     50|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     50|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     50|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  885|     50|    if (meth == NULL) {
  ------------------
  |  Branch (885:9): [True: 0, False: 50]
  ------------------
  886|      0|        PyThreadState *tstate = _PyThreadState_GET();
  887|      0|        if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (887:13): [True: 0, False: 0]
  ------------------
  888|      0|            _PyErr_Format(tstate, PyExc_TypeError,
  889|      0|                          "Type %.100s doesn't define __format__",
  890|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  891|      0|        }
  892|      0|        goto done;
  893|      0|    }
  894|       |
  895|       |    /* And call it. */
  896|     50|    result = PyObject_CallOneArg(meth, format_spec);
  897|     50|    Py_DECREF(meth);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  898|       |
  899|     50|    if (result && !PyUnicode_Check(result)) {
  ------------------
  |  |  103|     50|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     50|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (899:9): [True: 50, False: 0]
  |  Branch (899:19): [True: 0, False: 50]
  ------------------
  900|      0|        PyErr_Format(PyExc_TypeError,
  901|      0|                     "%T.__format__() must return a str, not %T",
  902|      0|                     obj, result);
  903|      0|        Py_SETREF(result, NULL);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  904|      0|        goto done;
  905|      0|    }
  906|       |
  907|     50|done:
  908|     50|    Py_XDECREF(empty);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  909|     50|    return result;
  910|     50|}
PyNumber_Check:
  915|     33|{
  916|     33|    if (o == NULL)
  ------------------
  |  Branch (916:9): [True: 0, False: 33]
  ------------------
  917|      0|        return 0;
  918|     33|    PyNumberMethods *nb = Py_TYPE(o)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  919|     33|    return nb && (nb->nb_index || nb->nb_int || nb->nb_float || PyComplex_Check(o));
  ------------------
  |  |   13|     27|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  378|     27|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 27]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (919:12): [True: 33, False: 0]
  |  Branch (919:19): [True: 6, False: 27]
  |  Branch (919:35): [True: 0, False: 27]
  |  Branch (919:49): [True: 0, False: 27]
  ------------------
  920|     33|}
PyNumber_Add:
 1140|    103|{
 1141|    103|    PyObject *result = BINARY_OP1(v, w, NB_SLOT(nb_add), "+");
  ------------------
  |  |  996|    103|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot, op_name)
  ------------------
 1142|    103|    if (result != Py_NotImplemented) {
  ------------------
  |  |  640|    103|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1142:9): [True: 45, False: 58]
  ------------------
 1143|     45|        return result;
 1144|     45|    }
 1145|     58|    Py_DECREF(result);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1146|       |
 1147|     58|    PySequenceMethods *m = Py_TYPE(v)->tp_as_sequence;
  ------------------
  |  |  213|     58|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1148|     58|    if (m && m->sq_concat) {
  ------------------
  |  Branch (1148:9): [True: 58, False: 0]
  |  Branch (1148:14): [True: 58, False: 0]
  ------------------
 1149|     58|        result = (*m->sq_concat)(v, w);
 1150|     58|        assert(_Py_CheckSlotResult(v, "+", result != NULL));
  ------------------
  |  Branch (1150:9): [True: 58, False: 0]
  ------------------
 1151|     58|        return result;
 1152|     58|    }
 1153|       |
 1154|      0|    return binop_type_error(v, w, "+");
 1155|     58|}
PyNumber_Multiply:
 1178|     17|{
 1179|     17|    PyObject *result = BINARY_OP1(v, w, NB_SLOT(nb_multiply), "*");
  ------------------
  |  |  996|     17|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot, op_name)
  ------------------
 1180|     17|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|     17|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1180:9): [True: 6, False: 11]
  ------------------
 1181|      6|        PySequenceMethods *mv = Py_TYPE(v)->tp_as_sequence;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1182|      6|        PySequenceMethods *mw = Py_TYPE(w)->tp_as_sequence;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1183|      6|        Py_DECREF(result);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1184|      6|        if  (mv && mv->sq_repeat) {
  ------------------
  |  Branch (1184:14): [True: 6, False: 0]
  |  Branch (1184:20): [True: 6, False: 0]
  ------------------
 1185|      6|            return sequence_repeat(mv->sq_repeat, v, w);
 1186|      6|        }
 1187|      0|        else if (mw && mw->sq_repeat) {
  ------------------
  |  Branch (1187:18): [True: 0, False: 0]
  |  Branch (1187:24): [True: 0, False: 0]
  ------------------
 1188|      0|            return sequence_repeat(mw->sq_repeat, w, v);
 1189|      0|        }
 1190|      0|        result = binop_type_error(v, w, "*");
 1191|      0|    }
 1192|     11|    return result;
 1193|     17|}
PyNumber_Power:
 1202|      1|{
 1203|       |    return ternary_op(v, w, z, NB_SLOT(nb_power), "** or pow()");
  ------------------
  |  |  924|      1|#define NB_SLOT(x) offsetof(PyNumberMethods, x)
  ------------------
 1204|      1|}
_PyNumber_PowerNoMod:
 1208|      1|{
 1209|      1|    return PyNumber_Power(lhs, rhs, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1210|      1|}
PyNumber_InPlaceAdd:
 1309|     14|{
 1310|     14|    PyObject *result = BINARY_IOP1(v, w, NB_SLOT(nb_inplace_add),
  ------------------
  |  | 1257|     14|#  define BINARY_IOP1(v, w, iop_slot, op_slot, op_name) binary_iop1(v, w, iop_slot, op_slot, op_name)
  ------------------
 1311|     14|                                   NB_SLOT(nb_add), "+=");
 1312|     14|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|     14|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1312:9): [True: 13, False: 1]
  ------------------
 1313|     13|        PySequenceMethods *m = Py_TYPE(v)->tp_as_sequence;
  ------------------
  |  |  213|     13|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|     13|        Py_DECREF(result);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1315|     13|        if (m != NULL) {
  ------------------
  |  Branch (1315:13): [True: 13, False: 0]
  ------------------
 1316|     13|            binaryfunc func = m->sq_inplace_concat;
 1317|     13|            if (func == NULL)
  ------------------
  |  Branch (1317:17): [True: 6, False: 7]
  ------------------
 1318|      6|                func = m->sq_concat;
 1319|     13|            if (func != NULL) {
  ------------------
  |  Branch (1319:17): [True: 13, False: 0]
  ------------------
 1320|     13|                result = func(v, w);
 1321|     13|                assert(_Py_CheckSlotResult(v, "+=", result != NULL));
  ------------------
  |  Branch (1321:17): [True: 13, False: 0]
  ------------------
 1322|     13|                return result;
 1323|     13|            }
 1324|     13|        }
 1325|      0|        result = binop_type_error(v, w, "+=");
 1326|      0|    }
 1327|      1|    return result;
 1328|     14|}
PyIndex_Check:
 1400|    165|{
 1401|    165|    return _PyIndex_Check(obj);
 1402|    165|}
_PyNumber_Index:
 1412|    759|{
 1413|    759|    if (item == NULL) {
  ------------------
  |  Branch (1413:9): [True: 0, False: 759]
  ------------------
 1414|      0|        return null_error();
 1415|      0|    }
 1416|       |
 1417|    759|    if (PyLong_Check(item)) {
  ------------------
  |  |   13|    759|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    759|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 759, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1418|    759|        return Py_NewRef(item);
  ------------------
  |  |  647|    759|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    759|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    759|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1419|    759|    }
 1420|      0|    if (!_PyIndex_Check(item)) {
  ------------------
  |  Branch (1420:9): [True: 0, False: 0]
  ------------------
 1421|      0|        PyErr_Format(PyExc_TypeError,
 1422|      0|                     "'%.200s' object cannot be interpreted "
 1423|      0|                     "as an integer", 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1424|      0|        return NULL;
 1425|      0|    }
 1426|       |
 1427|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1428|      0|    assert(_Py_CheckSlotResult(item, "__index__", result != NULL));
  ------------------
  |  Branch (1428:5): [True: 0, False: 0]
  ------------------
 1429|      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 (1429:9): [True: 0, False: 0]
  ------------------
 1430|      0|        return result;
 1431|      0|    }
 1432|       |
 1433|      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 (1433:9): [True: 0, False: 0]
  ------------------
 1434|      0|        PyErr_Format(PyExc_TypeError,
 1435|      0|                     "%T.__index__() must return an int, not %T",
 1436|      0|                     item, result);
 1437|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1438|      0|        return NULL;
 1439|      0|    }
 1440|       |    /* Issue #17576: warn if 'result' not of exact type int. */
 1441|      0|    if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
  ------------------
  |  Branch (1441:9): [True: 0, False: 0]
  ------------------
 1442|      0|            "%T.__index__() must return an int, not %T.  "
 1443|      0|            "The ability to return an instance of a strict subclass of int "
 1444|      0|            "is deprecated, and may be removed in a future version of Python.",
 1445|      0|            item, result)) {
 1446|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1447|      0|        return NULL;
 1448|      0|    }
 1449|      0|    return result;
 1450|      0|}
PyNumber_Index:
 1458|    191|{
 1459|    191|    PyObject *result = _PyNumber_Index(item);
 1460|    191|    if (result != NULL && !PyLong_CheckExact(result)) {
  ------------------
  |  |   14|    191|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    191|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    191|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    191|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1460:9): [True: 191, False: 0]
  |  Branch (1460:27): [True: 0, False: 191]
  ------------------
 1461|      0|        Py_SETREF(result, _PyLong_Copy((PyLongObject *)result));
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1462|      0|    }
 1463|    191|    return result;
 1464|    191|}
PyNumber_AsSsize_t:
 1470|    444|{
 1471|    444|    Py_ssize_t result;
 1472|    444|    PyObject *runerr;
 1473|    444|    PyObject *value = _PyNumber_Index(item);
 1474|    444|    if (value == NULL)
  ------------------
  |  Branch (1474:9): [True: 0, False: 444]
  ------------------
 1475|      0|        return -1;
 1476|       |
 1477|       |    /* We're done if PyLong_AsSsize_t() returns without error. */
 1478|    444|    result = PyLong_AsSsize_t(value);
 1479|    444|    if (result != -1)
  ------------------
  |  Branch (1479:9): [True: 327, False: 117]
  ------------------
 1480|    327|        goto finish;
 1481|       |
 1482|    117|    PyThreadState *tstate = _PyThreadState_GET();
 1483|    117|    runerr = _PyErr_Occurred(tstate);
 1484|    117|    if (!runerr) {
  ------------------
  |  Branch (1484:9): [True: 117, False: 0]
  ------------------
 1485|    117|        goto finish;
 1486|    117|    }
 1487|       |
 1488|       |    /* Error handling code -- only manage OverflowError differently */
 1489|      0|    if (!PyErr_GivenExceptionMatches(runerr, PyExc_OverflowError)) {
  ------------------
  |  Branch (1489:9): [True: 0, False: 0]
  ------------------
 1490|      0|        goto finish;
 1491|      0|    }
 1492|      0|    _PyErr_Clear(tstate);
 1493|       |
 1494|       |    /* If no error-handling desired then the default clipping
 1495|       |       is sufficient. */
 1496|      0|    if (!err) {
  ------------------
  |  Branch (1496:9): [True: 0, False: 0]
  ------------------
 1497|      0|        assert(PyLong_Check(value));
  ------------------
  |  Branch (1497:9): [True: 0, False: 0]
  ------------------
 1498|       |        /* Whether or not it is less than or equal to
 1499|       |           zero is determined by the sign of ob_size
 1500|       |        */
 1501|      0|        if (_PyLong_IsNegative((PyLongObject *)value))
  ------------------
  |  Branch (1501:13): [True: 0, False: 0]
  ------------------
 1502|      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
  |  |  ------------------
  ------------------
 1503|      0|        else
 1504|      0|            result = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1505|      0|    }
 1506|      0|    else {
 1507|       |        /* Otherwise replace the error with caller's error object. */
 1508|      0|        _PyErr_Format(tstate, err,
 1509|      0|                      "cannot fit '%.200s' into an index-sized integer",
 1510|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1511|      0|    }
 1512|       |
 1513|    444| finish:
 1514|    444|    Py_DECREF(value);
  ------------------
  |  |  430|    444|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    444|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    444|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1515|    444|    return result;
 1516|      0|}
PyNumber_Long:
 1521|    169|{
 1522|    169|    PyObject *result;
 1523|    169|    PyNumberMethods *m;
 1524|    169|    Py_buffer view;
 1525|       |
 1526|    169|    if (o == NULL) {
  ------------------
  |  Branch (1526:9): [True: 0, False: 169]
  ------------------
 1527|      0|        return null_error();
 1528|      0|    }
 1529|       |
 1530|    169|    if (PyLong_CheckExact(o)) {
  ------------------
  |  |   14|    169|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    169|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    169|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    169|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 142, False: 27]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1531|    142|        return Py_NewRef(o);
  ------------------
  |  |  647|    142|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    142|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    142|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1532|    142|    }
 1533|     27|    m = Py_TYPE(o)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1534|     27|    if (m && m->nb_int) { /* This should include subclasses of int */
  ------------------
  |  Branch (1534:9): [True: 27, False: 0]
  |  Branch (1534:14): [True: 27, False: 0]
  ------------------
 1535|       |        /* Convert using the nb_int slot, which should return something
 1536|       |           of exact type int. */
 1537|     27|        result = m->nb_int(o);
 1538|     27|        assert(_Py_CheckSlotResult(o, "__int__", result != NULL));
  ------------------
  |  Branch (1538:9): [True: 27, False: 0]
  ------------------
 1539|     27|        if (!result || PyLong_CheckExact(result)) {
  ------------------
  |  |   14|     27|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1539:13): [True: 0, False: 27]
  ------------------
 1540|     27|            return result;
 1541|     27|        }
 1542|       |
 1543|      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 (1543:13): [True: 0, False: 0]
  ------------------
 1544|      0|            PyErr_Format(PyExc_TypeError,
 1545|      0|                         "%T.__int__() must return an int, not %T",
 1546|      0|                         o, result);
 1547|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1548|      0|            return NULL;
 1549|      0|        }
 1550|       |        /* Issue #17576: warn if 'result' not of exact type int. */
 1551|      0|        if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
  ------------------
  |  Branch (1551:13): [True: 0, False: 0]
  ------------------
 1552|      0|                "%T.__int__() must return an int, not %T.  "
 1553|      0|                "The ability to return an instance of a strict subclass of int "
 1554|      0|                "is deprecated, and may be removed in a future version of Python.",
 1555|      0|                o, result)) {
 1556|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1557|      0|            return NULL;
 1558|      0|        }
 1559|      0|        Py_SETREF(result, _PyLong_Copy((PyLongObject *)result));
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1560|      0|        return result;
 1561|      0|    }
 1562|      0|    if (m && m->nb_index) {
  ------------------
  |  Branch (1562:9): [True: 0, False: 0]
  |  Branch (1562:14): [True: 0, False: 0]
  ------------------
 1563|      0|        return PyNumber_Index(o);
 1564|      0|    }
 1565|       |
 1566|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1567|       |        /* The below check is done in PyLong_FromUnicodeObject(). */
 1568|      0|        return PyLong_FromUnicodeObject(o, 10);
 1569|       |
 1570|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1571|       |        /* need to do extra error checking that PyLong_FromString()
 1572|       |         * doesn't do.  In particular int('9\x005') must raise an
 1573|       |         * exception, not truncate at the null.
 1574|       |         */
 1575|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1576|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1577|       |
 1578|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1579|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1580|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1581|       |
 1582|      0|    if (PyObject_GetBuffer(o, &view, PyBUF_SIMPLE) == 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1582:9): [True: 0, False: 0]
  ------------------
 1583|      0|        PyObject *bytes;
 1584|       |
 1585|       |        /* Copy to NUL-terminated buffer. */
 1586|      0|        bytes = PyBytes_FromStringAndSize((const char *)view.buf, view.len);
 1587|      0|        if (bytes == NULL) {
  ------------------
  |  Branch (1587:13): [True: 0, False: 0]
  ------------------
 1588|      0|            PyBuffer_Release(&view);
 1589|      0|            return NULL;
 1590|      0|        }
 1591|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1592|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1593|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1594|      0|        PyBuffer_Release(&view);
 1595|      0|        return result;
 1596|      0|    }
 1597|       |
 1598|      0|    return type_error("int() argument must be a string, a bytes-like object "
 1599|      0|                      "or a real number, not '%.200s'", o);
 1600|      0|}
PySequence_Check:
 1683|     18|{
 1684|     18|    if (PyDict_Check(s))
  ------------------
  |  |   18|     18|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     18|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1685|      0|        return 0;
 1686|     18|    return Py_TYPE(s)->tp_as_sequence &&
  ------------------
  |  |  213|     18|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1686:12): [True: 18, False: 0]
  ------------------
 1687|     18|        Py_TYPE(s)->tp_as_sequence->sq_item != NULL;
  ------------------
  |  |  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 (1687:9): [True: 18, False: 0]
  ------------------
 1688|     18|}
PySequence_Size:
 1692|     34|{
 1693|     34|    if (s == NULL) {
  ------------------
  |  Branch (1693:9): [True: 0, False: 34]
  ------------------
 1694|      0|        null_error();
 1695|      0|        return -1;
 1696|      0|    }
 1697|       |
 1698|     34|    PySequenceMethods *m = Py_TYPE(s)->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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1699|     34|    if (m && m->sq_length) {
  ------------------
  |  Branch (1699:9): [True: 34, False: 0]
  |  Branch (1699:14): [True: 34, False: 0]
  ------------------
 1700|     34|        Py_ssize_t len = m->sq_length(s);
 1701|     34|        assert(_Py_CheckSlotResult(s, "__len__", len >= 0));
  ------------------
  |  Branch (1701:9): [True: 34, False: 0]
  ------------------
 1702|     34|        return len;
 1703|     34|    }
 1704|       |
 1705|      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 (1705:9): [True: 0, False: 0]
  |  Branch (1705:38): [True: 0, False: 0]
  ------------------
 1706|      0|        type_error("%.200s is not a sequence", s);
 1707|      0|        return -1;
 1708|      0|    }
 1709|      0|    type_error("object of type '%.200s' has no len()", s);
 1710|      0|    return -1;
 1711|      0|}
PySequence_GetItem:
 1843|  1.92k|{
 1844|  1.92k|    if (s == NULL) {
  ------------------
  |  Branch (1844:9): [True: 0, False: 1.92k]
  ------------------
 1845|      0|        return null_error();
 1846|      0|    }
 1847|       |
 1848|  1.92k|    PySequenceMethods *m = Py_TYPE(s)->tp_as_sequence;
  ------------------
  |  |  213|  1.92k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.92k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1849|  1.92k|    if (m && m->sq_item) {
  ------------------
  |  Branch (1849:9): [True: 1.92k, False: 0]
  |  Branch (1849:14): [True: 1.92k, False: 0]
  ------------------
 1850|  1.92k|        if (i < 0) {
  ------------------
  |  Branch (1850:13): [True: 0, False: 1.92k]
  ------------------
 1851|      0|            if (m->sq_length) {
  ------------------
  |  Branch (1851:17): [True: 0, False: 0]
  ------------------
 1852|      0|                Py_ssize_t l = (*m->sq_length)(s);
 1853|      0|                assert(_Py_CheckSlotResult(s, "__len__", l >= 0));
  ------------------
  |  Branch (1853:17): [True: 0, False: 0]
  ------------------
 1854|      0|                if (l < 0) {
  ------------------
  |  Branch (1854:21): [True: 0, False: 0]
  ------------------
 1855|      0|                    return NULL;
 1856|      0|                }
 1857|      0|                i += l;
 1858|      0|            }
 1859|      0|        }
 1860|  1.92k|        PyObject *res = m->sq_item(s, i);
 1861|  1.92k|        assert(_Py_CheckSlotResult(s, "__getitem__", res != NULL));
  ------------------
  |  Branch (1861:9): [True: 1.92k, False: 0]
  ------------------
 1862|  1.92k|        return res;
 1863|  1.92k|    }
 1864|       |
 1865|      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 (1865:9): [True: 0, False: 0]
  |  Branch (1865:38): [True: 0, False: 0]
  ------------------
 1866|      0|        return type_error("%.200s is not a sequence", s);
 1867|      0|    }
 1868|      0|    return type_error("'%.200s' object does not support indexing", s);
 1869|      0|}
PySequence_DelItem:
 1928|      2|{
 1929|      2|    if (s == NULL) {
  ------------------
  |  Branch (1929:9): [True: 0, False: 2]
  ------------------
 1930|      0|        null_error();
 1931|      0|        return -1;
 1932|      0|    }
 1933|       |
 1934|      2|    PySequenceMethods *m = Py_TYPE(s)->tp_as_sequence;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1935|      2|    if (m && m->sq_ass_item) {
  ------------------
  |  Branch (1935:9): [True: 2, False: 0]
  |  Branch (1935:14): [True: 2, False: 0]
  ------------------
 1936|      2|        if (i < 0) {
  ------------------
  |  Branch (1936:13): [True: 0, False: 2]
  ------------------
 1937|      0|            if (m->sq_length) {
  ------------------
  |  Branch (1937:17): [True: 0, False: 0]
  ------------------
 1938|      0|                Py_ssize_t l = (*m->sq_length)(s);
 1939|      0|                assert(_Py_CheckSlotResult(s, "__len__", l >= 0));
  ------------------
  |  Branch (1939:17): [True: 0, False: 0]
  ------------------
 1940|      0|                if (l < 0) {
  ------------------
  |  Branch (1940:21): [True: 0, False: 0]
  ------------------
 1941|      0|                    return -1;
 1942|      0|                }
 1943|      0|                i += l;
 1944|      0|            }
 1945|      0|        }
 1946|      2|        int res = m->sq_ass_item(s, i, (PyObject *)NULL);
 1947|      2|        assert(_Py_CheckSlotResult(s, "__delitem__", res >= 0));
  ------------------
  |  Branch (1947:9): [True: 2, False: 0]
  ------------------
 1948|      2|        return res;
 1949|      2|    }
 1950|       |
 1951|      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 (1951:9): [True: 0, False: 0]
  |  Branch (1951:38): [True: 0, False: 0]
  ------------------
 1952|      0|        type_error("%.200s is not a sequence", s);
 1953|      0|        return -1;
 1954|      0|    }
 1955|      0|    type_error("'%.200s' object doesn't support item deletion", s);
 1956|      0|    return -1;
 1957|      0|}
PySequence_Tuple:
 2007|  1.15k|{
 2008|  1.15k|    PyObject *it;  /* iter(v) */
 2009|       |
 2010|  1.15k|    if (v == NULL) {
  ------------------
  |  Branch (2010:9): [True: 0, False: 1.15k]
  ------------------
 2011|      0|        return null_error();
 2012|      0|    }
 2013|       |
 2014|       |    /* Special-case the common tuple and list cases, for efficiency. */
 2015|  1.15k|    if (PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|  1.15k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  1.15k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 978, False: 177]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2016|       |        /* Note that we can't know whether it's safe to return
 2017|       |           a tuple *subclass* instance as-is, hence the restriction
 2018|       |           to exact tuples here.  In contrast, lists always make
 2019|       |           a copy, so there's no need for exactness below. */
 2020|    978|        return Py_NewRef(v);
  ------------------
  |  |  647|    978|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    978|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    978|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2021|    978|    }
 2022|    177|    if (PyList_CheckExact(v))
  ------------------
  |  |   26|    177|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|    177|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    177|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    177|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 135, False: 42]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2023|    135|        return PyList_AsTuple(v);
 2024|       |
 2025|       |    /* Get iterator. */
 2026|     42|    it = PyObject_GetIter(v);
 2027|     42|    if (it == NULL)
  ------------------
  |  Branch (2027:9): [True: 0, False: 42]
  ------------------
 2028|      0|        return NULL;
 2029|       |
 2030|     42|    Py_ssize_t n;
 2031|     42|    PyObject *buffer[8];
 2032|    153|    for (n = 0; n < 8; n++) {
  ------------------
  |  Branch (2032:17): [True: 151, False: 2]
  ------------------
 2033|    151|        PyObject *item = PyIter_Next(it);
 2034|    151|        if (item == NULL) {
  ------------------
  |  Branch (2034:13): [True: 40, False: 111]
  ------------------
 2035|     40|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (2035:17): [True: 1, False: 39]
  ------------------
 2036|      1|                goto fail;
 2037|      1|            }
 2038|     39|            Py_DECREF(it);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2039|     39|            return _PyTuple_FromArraySteal(buffer, n);
 2040|     40|        }
 2041|    111|        buffer[n] = item;
 2042|    111|    }
 2043|      2|    PyListObject *list = (PyListObject *)PyList_New(16);
 2044|      2|    if (list == NULL) {
  ------------------
  |  Branch (2044:9): [True: 0, False: 2]
  ------------------
 2045|      0|        goto fail;
 2046|      0|    }
 2047|      2|    assert(n == 8);
  ------------------
  |  Branch (2047:5): [True: 2, False: 0]
  ------------------
 2048|      2|    Py_SET_SIZE(list, n);
  ------------------
  |  |  216|      2|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      2|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2049|     18|    for (Py_ssize_t j = 0; j < n; j++) {
  ------------------
  |  Branch (2049:28): [True: 16, False: 2]
  ------------------
 2050|     16|        PyList_SET_ITEM(list, j, buffer[j]);
  ------------------
  |  |   50|     16|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2051|     16|    }
 2052|     69|    for (;;) {
 2053|     69|        PyObject *item = PyIter_Next(it);
 2054|     69|        if (item == NULL) {
  ------------------
  |  Branch (2054:13): [True: 2, False: 67]
  ------------------
 2055|      2|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (2055:17): [True: 0, False: 2]
  ------------------
 2056|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2057|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2058|      0|                return NULL;
 2059|      0|            }
 2060|      2|            break;
 2061|      2|        }
 2062|     67|        if (_PyList_AppendTakeRef(list, item) < 0) {
  ------------------
  |  Branch (2062:13): [True: 0, False: 67]
  ------------------
 2063|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2064|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2065|      0|            return NULL;
 2066|      0|        }
 2067|     67|    }
 2068|      2|    Py_DECREF(it);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2069|      2|    PyObject *res = _PyList_AsTupleAndClear(list);
 2070|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2071|      2|    return res;
 2072|      1|fail:
 2073|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2074|      1|    while (n > 0) {
  ------------------
  |  Branch (2074:12): [True: 0, False: 1]
  ------------------
 2075|      0|        n--;
 2076|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2077|      0|    }
 2078|       |    return NULL;
 2079|      2|}
PySequence_List:
 2083|    159|{
 2084|    159|    PyObject *result;  /* result list */
 2085|    159|    PyObject *rv;          /* return value from PyList_Extend */
 2086|       |
 2087|    159|    if (v == NULL) {
  ------------------
  |  Branch (2087:9): [True: 0, False: 159]
  ------------------
 2088|      0|        return null_error();
 2089|      0|    }
 2090|       |
 2091|    159|    result = PyList_New(0);
 2092|    159|    if (result == NULL)
  ------------------
  |  Branch (2092:9): [True: 0, False: 159]
  ------------------
 2093|      0|        return NULL;
 2094|       |
 2095|    159|    rv = _PyList_Extend((PyListObject *)result, v);
 2096|    159|    if (rv == NULL) {
  ------------------
  |  Branch (2096:9): [True: 0, False: 159]
  ------------------
 2097|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2098|      0|        return NULL;
 2099|      0|    }
 2100|    159|    Py_DECREF(rv);
  ------------------
  |  |  430|    159|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    159|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    159|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2101|    159|    return result;
 2102|    159|}
PySequence_Fast:
 2106|  1.71k|{
 2107|  1.71k|    PyObject *it;
 2108|       |
 2109|  1.71k|    if (v == NULL) {
  ------------------
  |  Branch (2109:9): [True: 0, False: 1.71k]
  ------------------
 2110|      0|        return null_error();
 2111|      0|    }
 2112|       |
 2113|  1.71k|    if (PyList_CheckExact(v) || PyTuple_CheckExact(v)) {
  ------------------
  |  |   26|  1.71k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  3.43k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 504, False: 1.21k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyList_CheckExact(v) || PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|  1.21k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  1.21k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.21k, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|  1.71k|        return Py_NewRef(v);
  ------------------
  |  |  647|  1.71k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2115|  1.71k|    }
 2116|       |
 2117|      3|    it = PyObject_GetIter(v);
 2118|      3|    if (it == NULL) {
  ------------------
  |  Branch (2118:9): [True: 0, False: 3]
  ------------------
 2119|      0|        PyThreadState *tstate = _PyThreadState_GET();
 2120|      0|        if (_PyErr_ExceptionMatches(tstate, PyExc_TypeError)) {
  ------------------
  |  Branch (2120:13): [True: 0, False: 0]
  ------------------
 2121|      0|            _PyErr_SetString(tstate, PyExc_TypeError, m);
 2122|      0|        }
 2123|      0|        return NULL;
 2124|      0|    }
 2125|       |
 2126|      3|    v = PySequence_List(it);
 2127|      3|    Py_DECREF(it);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2128|       |
 2129|      3|    return v;
 2130|      3|}
PySequence_Contains:
 2242|    557|{
 2243|    557|    PySequenceMethods *sqm = Py_TYPE(seq)->tp_as_sequence;
  ------------------
  |  |  213|    557|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    557|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    557|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2244|    557|    if (sqm != NULL && sqm->sq_contains != NULL) {
  ------------------
  |  Branch (2244:9): [True: 557, False: 0]
  |  Branch (2244:24): [True: 557, False: 0]
  ------------------
 2245|    557|        int res = (*sqm->sq_contains)(seq, ob);
 2246|    557|        assert(_Py_CheckSlotResult(seq, "__contains__", res >= 0));
  ------------------
  |  Branch (2246:9): [True: 557, False: 0]
  ------------------
 2247|    557|        return res;
 2248|    557|    }
 2249|      0|    Py_ssize_t result = _PySequence_IterSearch(seq, ob, PY_ITERSEARCH_CONTAINS);
  ------------------
  |  |   29|      0|#define PY_ITERSEARCH_CONTAINS 3
  ------------------
 2250|      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))
  |  |  ------------------
  ------------------
 2251|    557|}
PyMapping_Check:
 2271|    694|{
 2272|    694|    return o && Py_TYPE(o)->tp_as_mapping &&
  ------------------
  |  |  213|    694|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    694|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    694|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2272:12): [True: 694, False: 0]
  |  Branch (2272:17): [True: 694, False: 0]
  ------------------
 2273|    694|        Py_TYPE(o)->tp_as_mapping->mp_subscript;
  ------------------
  |  |  213|    694|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    694|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    694|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2273:9): [True: 694, False: 0]
  ------------------
 2274|    694|}
PyMapping_Size:
 2278|     10|{
 2279|     10|    if (o == NULL) {
  ------------------
  |  Branch (2279:9): [True: 0, False: 10]
  ------------------
 2280|      0|        null_error();
 2281|      0|        return -1;
 2282|      0|    }
 2283|       |
 2284|     10|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|     10|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2285|     10|    if (m && m->mp_length) {
  ------------------
  |  Branch (2285:9): [True: 10, False: 0]
  |  Branch (2285:14): [True: 10, False: 0]
  ------------------
 2286|     10|        Py_ssize_t len = m->mp_length(o);
 2287|     10|        assert(_Py_CheckSlotResult(o, "__len__", len >= 0));
  ------------------
  |  Branch (2287:9): [True: 10, False: 0]
  ------------------
 2288|     10|        return len;
 2289|     10|    }
 2290|       |
 2291|      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 (2291:9): [True: 0, False: 0]
  |  Branch (2291:39): [True: 0, False: 0]
  ------------------
 2292|      0|        type_error("%.200s is not a mapping", o);
 2293|      0|        return -1;
 2294|      0|    }
 2295|       |    /* PyMapping_Size() can be called from PyObject_Size(). */
 2296|      0|    type_error("object of type '%.200s' has no len()", o);
 2297|      0|    return -1;
 2298|      0|}
PyMapping_GetItemString:
 2310|      8|{
 2311|      8|    PyObject *okey, *r;
 2312|       |
 2313|      8|    if (key == NULL) {
  ------------------
  |  Branch (2313:9): [True: 0, False: 8]
  ------------------
 2314|      0|        return null_error();
 2315|      0|    }
 2316|       |
 2317|      8|    okey = PyUnicode_FromString(key);
 2318|      8|    if (okey == NULL)
  ------------------
  |  Branch (2318:9): [True: 0, False: 8]
  ------------------
 2319|      0|        return NULL;
 2320|      8|    r = PyObject_GetItem(o, okey);
 2321|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2322|      8|    return r;
 2323|      8|}
PyMapping_SetItemString:
 2345|      2|{
 2346|      2|    PyObject *okey;
 2347|      2|    int r;
 2348|       |
 2349|      2|    if (key == NULL) {
  ------------------
  |  Branch (2349:9): [True: 0, False: 2]
  ------------------
 2350|      0|        null_error();
 2351|      0|        return -1;
 2352|      0|    }
 2353|       |
 2354|      2|    okey = PyUnicode_FromString(key);
 2355|      2|    if (okey == NULL)
  ------------------
  |  Branch (2355:9): [True: 0, False: 2]
  ------------------
 2356|      0|        return -1;
 2357|      2|    r = PyObject_SetItem(o, okey, value);
 2358|      2|    Py_DECREF(okey);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2359|      2|    return r;
 2360|      2|}
PyMapping_Keys:
 2462|     20|{
 2463|     20|    if (o == NULL) {
  ------------------
  |  Branch (2463:9): [True: 0, False: 20]
  ------------------
 2464|      0|        return null_error();
 2465|      0|    }
 2466|     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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2467|     12|        return PyDict_Keys(o);
 2468|     12|    }
 2469|      8|    return method_output_as_list(o, &_Py_ID(keys));
  ------------------
  |  |  951|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2470|     20|}
PyMapping_Items:
 2474|     71|{
 2475|     71|    if (o == NULL) {
  ------------------
  |  Branch (2475:9): [True: 0, False: 71]
  ------------------
 2476|      0|        return null_error();
 2477|      0|    }
 2478|     71|    if (PyAnyDict_CheckExact(o)) {
  ------------------
  |  |   41|     71|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|     71|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    142|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     71|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     71|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 71]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|     71|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     71|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     71|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     71|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 71]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2479|      0|        return PyDict_Items(o);
 2480|      0|    }
 2481|     71|    return method_output_as_list(o, &_Py_ID(items));
  ------------------
  |  |  951|     71|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     71|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     71|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2482|     71|}
PyObject_IsInstance:
 2727|    724|{
 2728|    724|    PyThreadState *tstate = _PyThreadState_GET();
 2729|    724|    return object_recursive_isinstance(tstate, inst, cls);
 2730|    724|}
PyObject_IsSubclass:
 2805|    749|{
 2806|    749|    PyThreadState *tstate = _PyThreadState_GET();
 2807|    749|    return object_issubclass(tstate, derived, cls);
 2808|    749|}
_PyObject_RealIsInstance:
 2813|      2|{
 2814|      2|    return object_isinstance(inst, cls);
 2815|      2|}
_PyObject_RealIsSubclass:
 2819|    363|{
 2820|    363|    return recursive_issubclass(derived, cls);
 2821|    363|}
PyObject_GetIter:
 2826|    632|{
 2827|    632|    PyTypeObject *t = Py_TYPE(o);
  ------------------
  |  |  213|    632|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    632|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    632|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2828|    632|    getiterfunc f;
 2829|       |
 2830|    632|    f = t->tp_iter;
 2831|    632|    if (f == NULL) {
  ------------------
  |  Branch (2831:9): [True: 9, False: 623]
  ------------------
 2832|      9|        if (PySequence_Check(o))
  ------------------
  |  Branch (2832:13): [True: 9, False: 0]
  ------------------
 2833|      9|            return PySeqIter_New(o);
 2834|      0|        return type_error("'%.200s' object is not iterable", o);
 2835|      9|    }
 2836|    623|    else {
 2837|    623|        PyObject *res = (*f)(o);
 2838|    623|        if (res != NULL && !PyIter_Check(res)) {
  ------------------
  |  Branch (2838:13): [True: 623, False: 0]
  |  Branch (2838:28): [True: 0, False: 623]
  ------------------
 2839|      0|            PyErr_Format(PyExc_TypeError,
 2840|      0|                         "%T.__iter__() must return an iterator, not %T",
 2841|      0|                         o, res);
 2842|      0|            Py_SETREF(res, NULL);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2843|      0|        }
 2844|    623|        return res;
 2845|    623|    }
 2846|    632|}
PyIter_Check:
 2869|    625|{
 2870|    625|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|    625|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    625|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    625|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2871|    625|    return (tp->tp_iternext != NULL &&
  ------------------
  |  Branch (2871:13): [True: 625, False: 0]
  ------------------
 2872|    625|            tp->tp_iternext != &_PyObject_NextNotImplemented);
  ------------------
  |  Branch (2872:13): [True: 625, False: 0]
  ------------------
 2873|    625|}
PyIter_NextItem:
 2913|     22|{
 2914|     22|    assert(iter != NULL);
  ------------------
  |  Branch (2914:5): [True: 22, False: 0]
  ------------------
 2915|     22|    assert(item != NULL);
  ------------------
  |  Branch (2915:5): [True: 22, False: 0]
  ------------------
 2916|       |
 2917|     22|    if (Py_TYPE(iter)->tp_iternext == NULL) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2917:9): [True: 0, False: 22]
  ------------------
 2918|      0|        *item = NULL;
 2919|      0|        PyErr_Format(PyExc_TypeError, "expected an iterator, got '%T'", iter);
 2920|      0|        return -1;
 2921|      0|    }
 2922|       |
 2923|     22|    return iternext(iter, item);
 2924|     22|}
PyIter_Next:
 2936|  2.59k|{
 2937|  2.59k|    PyObject *item;
 2938|  2.59k|    (void)iternext(iter, &item);
 2939|  2.59k|    return item;
 2940|  2.59k|}
abstract.c:binary_op:
 1013|    150|{
 1014|    150|    PyObject *result = BINARY_OP1(v, w, op_slot, op_name);
  ------------------
  |  |  996|    150|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot, op_name)
  ------------------
 1015|    150|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|    150|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1015:9): [True: 0, False: 150]
  ------------------
 1016|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1017|      0|        return binop_type_error(v, w, op_name);
 1018|      0|    }
 1019|    150|    return result;
 1020|    150|}
abstract.c:binary_op1:
  946|    288|{
  947|    288|    binaryfunc slotv;
  948|    288|    if (Py_TYPE(v)->tp_as_number != NULL) {
  ------------------
  |  |  213|    288|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    288|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    288|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (948:9): [True: 269, False: 19]
  ------------------
  949|    269|        slotv = NB_BINOP(Py_TYPE(v)->tp_as_number, op_slot);
  ------------------
  |  |  926|    269|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
  950|    269|    }
  951|     19|    else {
  952|     19|        slotv = NULL;
  953|     19|    }
  954|       |
  955|    288|    binaryfunc slotw;
  956|    288|    if (!Py_IS_TYPE(w, Py_TYPE(v)) && Py_TYPE(w)->tp_as_number != NULL) {
  ------------------
  |  |  215|    576|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    288|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    288|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!Py_IS_TYPE(w, Py_TYPE(v)) && Py_TYPE(w)->tp_as_number != NULL) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (956:9): [True: 8, False: 280]
  |  Branch (956:39): [True: 8, False: 0]
  ------------------
  957|      8|        slotw = NB_BINOP(Py_TYPE(w)->tp_as_number, op_slot);
  ------------------
  |  |  926|      8|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
  958|      8|        if (slotw == slotv) {
  ------------------
  |  Branch (958:13): [True: 0, False: 8]
  ------------------
  959|      0|            slotw = NULL;
  960|      0|        }
  961|      8|    }
  962|    280|    else {
  963|    280|        slotw = NULL;
  964|    280|    }
  965|       |
  966|    288|    if (slotv) {
  ------------------
  |  Branch (966:9): [True: 211, False: 77]
  ------------------
  967|    211|        PyObject *x;
  968|    211|        if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  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 (968:13): [True: 2, False: 209]
  |  Branch (968:22): [True: 2, False: 0]
  ------------------
  969|      2|            x = slotw(v, w);
  970|      2|            if (x != Py_NotImplemented)
  ------------------
  |  |  640|      2|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (970:17): [True: 2, False: 0]
  ------------------
  971|      2|                return x;
  972|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  973|      0|            slotw = NULL;
  974|      0|        }
  975|    209|        x = slotv(v, w);
  976|    209|        assert(_Py_CheckSlotResult(v, op_name, x != NULL));
  ------------------
  |  Branch (976:9): [True: 209, False: 0]
  ------------------
  977|    209|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|    209|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (977:13): [True: 209, False: 0]
  ------------------
  978|    209|            return x;
  979|    209|        }
  980|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  981|      0|    }
  982|     77|    if (slotw) {
  ------------------
  |  Branch (982:9): [True: 6, False: 71]
  ------------------
  983|      6|        PyObject *x = slotw(v, w);
  984|      6|        assert(_Py_CheckSlotResult(w, op_name, x != NULL));
  ------------------
  |  Branch (984:9): [True: 6, False: 0]
  ------------------
  985|      6|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|      6|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (985:13): [True: 0, False: 6]
  ------------------
  986|      0|            return x;
  987|      0|        }
  988|      6|        Py_DECREF(x); /* can't do it */
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  989|      6|    }
  990|     77|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|     77|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|     77|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  991|     77|}
abstract.c:sequence_repeat:
 1159|      6|{
 1160|      6|    Py_ssize_t count;
 1161|      6|    if (_PyIndex_Check(n)) {
  ------------------
  |  Branch (1161:9): [True: 6, False: 0]
  ------------------
 1162|      6|        count = PyNumber_AsSsize_t(n, PyExc_OverflowError);
 1163|      6|        if (count == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1163:13): [True: 0, False: 6]
  |  Branch (1163:28): [True: 0, False: 0]
  ------------------
 1164|      0|            return NULL;
 1165|      0|        }
 1166|      6|    }
 1167|      0|    else {
 1168|      0|        return type_error("can't multiply sequence by "
 1169|      0|                          "non-int of type '%.200s'", n);
 1170|      0|    }
 1171|      6|    PyObject *res = (*repeatfunc)(seq, count);
 1172|      6|    assert(_Py_CheckSlotResult(seq, "*", res != NULL));
  ------------------
  |  Branch (1172:5): [True: 6, False: 0]
  ------------------
 1173|      6|    return res;
 1174|      6|}
abstract.c:ternary_op:
 1037|      1|{
 1038|      1|    PyNumberMethods *mv = Py_TYPE(v)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1039|      1|    PyNumberMethods *mw = Py_TYPE(w)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1040|       |
 1041|      1|    ternaryfunc slotv;
 1042|      1|    if (mv != NULL) {
  ------------------
  |  Branch (1042:9): [True: 1, False: 0]
  ------------------
 1043|      1|        slotv = NB_TERNOP(mv, op_slot);
  ------------------
  |  |  928|      1|        (*(ternaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1044|      1|    }
 1045|      0|    else {
 1046|      0|        slotv = NULL;
 1047|      0|    }
 1048|       |
 1049|      1|    ternaryfunc slotw;
 1050|      1|    if (!Py_IS_TYPE(w, Py_TYPE(v)) && mw != NULL) {
  ------------------
  |  |  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 (1050:9): [True: 0, False: 1]
  |  Branch (1050:39): [True: 0, False: 0]
  ------------------
 1051|      0|        slotw = NB_TERNOP(mw, op_slot);
  ------------------
  |  |  928|      0|        (*(ternaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1052|      0|        if (slotw == slotv) {
  ------------------
  |  Branch (1052:13): [True: 0, False: 0]
  ------------------
 1053|      0|            slotw = NULL;
 1054|      0|        }
 1055|      0|    }
 1056|      1|    else {
 1057|      1|        slotw = NULL;
 1058|      1|    }
 1059|       |
 1060|      1|    if (slotv) {
  ------------------
  |  Branch (1060:9): [True: 1, False: 0]
  ------------------
 1061|      1|        PyObject *x;
 1062|      1|        if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1062:13): [True: 0, False: 1]
  |  Branch (1062:22): [True: 0, False: 0]
  ------------------
 1063|      0|            x = slotw(v, w, z);
 1064|      0|            if (x != Py_NotImplemented) {
  ------------------
  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1064:17): [True: 0, False: 0]
  ------------------
 1065|      0|                return x;
 1066|      0|            }
 1067|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1068|      0|            slotw = NULL;
 1069|      0|        }
 1070|      1|        x = slotv(v, w, z);
 1071|      1|        assert(_Py_CheckSlotResult(v, op_name, x != NULL));
  ------------------
  |  Branch (1071:9): [True: 1, False: 0]
  ------------------
 1072|      1|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|      1|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1072:13): [True: 1, False: 0]
  ------------------
 1073|      1|            return x;
 1074|      1|        }
 1075|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1076|      0|    }
 1077|      0|    if (slotw) {
  ------------------
  |  Branch (1077:9): [True: 0, False: 0]
  ------------------
 1078|      0|        PyObject *x = slotw(v, w, z);
 1079|      0|        assert(_Py_CheckSlotResult(w, op_name, x != NULL));
  ------------------
  |  Branch (1079:9): [True: 0, False: 0]
  ------------------
 1080|      0|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1080:13): [True: 0, False: 0]
  ------------------
 1081|      0|            return x;
 1082|      0|        }
 1083|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1084|      0|    }
 1085|       |
 1086|      0|    PyNumberMethods *mz = Py_TYPE(z)->tp_as_number;
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1087|      0|    if (mz != NULL) {
  ------------------
  |  Branch (1087:9): [True: 0, False: 0]
  ------------------
 1088|      0|        ternaryfunc slotz = NB_TERNOP(mz, op_slot);
  ------------------
  |  |  928|      0|        (*(ternaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1089|      0|        if (slotz == slotv || slotz == slotw) {
  ------------------
  |  Branch (1089:13): [True: 0, False: 0]
  |  Branch (1089:31): [True: 0, False: 0]
  ------------------
 1090|      0|            slotz = NULL;
 1091|      0|        }
 1092|      0|        if (slotz) {
  ------------------
  |  Branch (1092:13): [True: 0, False: 0]
  ------------------
 1093|      0|            PyObject *x = slotz(v, w, z);
 1094|      0|            assert(_Py_CheckSlotResult(z, op_name, x != NULL));
  ------------------
  |  Branch (1094:13): [True: 0, False: 0]
  ------------------
 1095|      0|            if (x != Py_NotImplemented) {
  ------------------
  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1095:17): [True: 0, False: 0]
  ------------------
 1096|      0|                return x;
 1097|      0|            }
 1098|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1099|      0|        }
 1100|      0|    }
 1101|       |
 1102|      0|    if (z == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1102:9): [True: 0, False: 0]
  ------------------
 1103|      0|        PyErr_Format(
 1104|      0|            PyExc_TypeError,
 1105|      0|            "unsupported operand type(s) for %.100s: "
 1106|      0|            "'%.100s' and '%.100s'",
 1107|      0|            op_name,
 1108|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1109|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1110|      0|    }
 1111|      0|    else {
 1112|      0|        PyErr_Format(
 1113|      0|            PyExc_TypeError,
 1114|      0|            "unsupported operand type(s) for %.100s: "
 1115|      0|            "'%.100s', '%.100s', '%.100s'",
 1116|      0|            op_name,
 1117|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1118|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1119|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1120|      0|    }
 1121|       |    return NULL;
 1122|      0|}
abstract.c:binary_iop:
 1263|     18|{
 1264|     18|    PyObject *result = BINARY_IOP1(v, w, iop_slot, op_slot, op_name);
  ------------------
  |  | 1257|     18|#  define BINARY_IOP1(v, w, iop_slot, op_slot, op_name) binary_iop1(v, w, iop_slot, op_slot, op_name)
  ------------------
 1265|     18|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|     18|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1265:9): [True: 0, False: 18]
  ------------------
 1266|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1267|      0|        return binop_type_error(v, w, op_name);
 1268|      0|    }
 1269|     18|    return result;
 1270|     18|}
abstract.c:binary_iop1:
 1234|     32|{
 1235|     32|    PyNumberMethods *mv = Py_TYPE(v)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1236|     32|    if (mv != NULL) {
  ------------------
  |  Branch (1236:9): [True: 25, False: 7]
  ------------------
 1237|     25|        binaryfunc slot = NB_BINOP(mv, iop_slot);
  ------------------
  |  |  926|     25|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1238|     25|        if (slot) {
  ------------------
  |  Branch (1238:13): [True: 14, False: 11]
  ------------------
 1239|     14|            PyObject *x = (slot)(v, w);
 1240|     14|            assert(_Py_CheckSlotResult(v, op_name, x != NULL));
  ------------------
  |  Branch (1240:13): [True: 14, False: 0]
  ------------------
 1241|     14|            if (x != Py_NotImplemented) {
  ------------------
  |  |  640|     14|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1241:17): [True: 14, False: 0]
  ------------------
 1242|     14|                return x;
 1243|     14|            }
 1244|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1245|      0|        }
 1246|     25|    }
 1247|       |#ifdef NDEBUG
 1248|       |    return binary_op1(v, w, op_slot);
 1249|       |#else
 1250|     18|    return binary_op1(v, w, op_slot, op_name);
 1251|     32|#endif
 1252|     32|}
abstract.c:method_output_as_list:
 2435|     79|{
 2436|     79|    PyObject *it, *result, *meth_output;
 2437|       |
 2438|     79|    assert(o != NULL);
  ------------------
  |  Branch (2438:5): [True: 79, False: 0]
  ------------------
 2439|     79|    meth_output = PyObject_CallMethodNoArgs(o, meth);
 2440|     79|    if (meth_output == NULL || PyList_CheckExact(meth_output)) {
  ------------------
  |  |   26|     79|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|     79|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 79]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2440:9): [True: 0, False: 79]
  ------------------
 2441|      0|        return meth_output;
 2442|      0|    }
 2443|     79|    it = PyObject_GetIter(meth_output);
 2444|     79|    if (it == NULL) {
  ------------------
  |  Branch (2444:9): [True: 0, False: 79]
  ------------------
 2445|      0|        PyThreadState *tstate = _PyThreadState_GET();
 2446|      0|        if (_PyErr_ExceptionMatches(tstate, PyExc_TypeError)) {
  ------------------
  |  Branch (2446:13): [True: 0, False: 0]
  ------------------
 2447|      0|            _PyErr_Format(tstate, PyExc_TypeError,
 2448|      0|                          "%T.%U() must return an iterable, not %T",
 2449|      0|                          o, meth, meth_output);
 2450|      0|        }
 2451|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2452|      0|        return NULL;
 2453|      0|    }
 2454|     79|    Py_DECREF(meth_output);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2455|     79|    result = PySequence_List(it);
 2456|     79|    Py_DECREF(it);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2457|     79|    return result;
 2458|     79|}
abstract.c:object_recursive_isinstance:
 2672|    765|{
 2673|       |    /* Quick test for an exact match */
 2674|    765|    if (Py_IS_TYPE(inst, (PyTypeObject *)cls)) {
  ------------------
  |  |  215|    765|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    765|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    765|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 377, False: 388]
  |  |  ------------------
  ------------------
 2675|    377|        return 1;
 2676|    377|    }
 2677|       |
 2678|       |    /* We know what type's __instancecheck__ does. */
 2679|    388|    if (PyType_CheckExact(cls)) {
  ------------------
  |  |  776|    388|#  define PyType_CheckExact(op) PyType_CheckExact(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    388|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    388|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (776:33): [True: 351, False: 37]
  |  |  ------------------
  ------------------
 2680|    351|        return object_isinstance(inst, cls);
 2681|    351|    }
 2682|       |
 2683|     37|    if (_PyUnion_Check(cls)) {
  ------------------
  |  |   15|     37|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_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: 0, False: 37]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2684|      0|        cls = _Py_union_args(cls);
 2685|      0|    }
 2686|       |
 2687|     37|    if (PyTuple_Check(cls)) {
  ------------------
  |  |   27|     37|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     37|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 35, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2688|       |        /* Not a general sequence -- that opens up the road to
 2689|       |           recursion and stack overflow. */
 2690|     35|        if (_Py_EnterRecursiveCallTstate(tstate, " in __instancecheck__")) {
  ------------------
  |  Branch (2690:13): [True: 0, False: 35]
  ------------------
 2691|      0|            return -1;
 2692|      0|        }
 2693|     35|        Py_ssize_t n = PyTuple_GET_SIZE(cls);
  ------------------
  |  |   27|     35|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2694|     35|        int r = 0;
 2695|     43|        for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (2695:32): [True: 41, False: 2]
  ------------------
 2696|     41|            PyObject *item = PyTuple_GET_ITEM(cls, 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 (2696:30): [True: 41, False: 0]
  ------------------
 2697|      0|            r = object_recursive_isinstance(tstate, inst, item);
 2698|     41|            if (r != 0) {
  ------------------
  |  Branch (2698:17): [True: 33, False: 8]
  ------------------
 2699|       |                /* either found it, or got an error */
 2700|     33|                break;
 2701|     33|            }
 2702|     41|        }
 2703|     35|        _Py_LeaveRecursiveCallTstate(tstate);
 2704|     35|        return r;
 2705|     35|    }
 2706|       |
 2707|      2|    PyObject *res;
 2708|      2|    int found = call_special_method(tstate, cls, &_Py_ID(__instancecheck__),
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2709|      2|                                    " in __instancecheck__", inst, &res);
 2710|      2|    if (found > 0) {
  ------------------
  |  Branch (2710:9): [True: 2, False: 0]
  ------------------
 2711|      2|        int ok = PyObject_IsTrue(res);
 2712|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2713|       |
 2714|      2|        return ok;
 2715|      2|    }
 2716|      0|    else if (found < 0) {
  ------------------
  |  Branch (2716:14): [True: 0, False: 0]
  ------------------
 2717|      0|        return -1;
 2718|      0|    }
 2719|       |
 2720|       |    /* cls has no __instancecheck__() method */
 2721|      0|    return object_isinstance(inst, cls);
 2722|      2|}
abstract.c:call_special_method:
 2642|     89|{
 2643|     89|    _PyCStackRef cref;
 2644|     89|    _PyThreadState_PushCStackRef(tstate, &cref);
 2645|     89|    _PyStackRef self = PyStackRef_FromPyObjectBorrow(cls);
 2646|     89|    int found = _PyObject_LookupSpecialMethod(name, &cref.ref, &self);
 2647|     89|    if (found > 0) {
  ------------------
  |  Branch (2647:9): [True: 89, False: 0]
  ------------------
 2648|     89|        *res = NULL;
 2649|     89|        if (!_Py_EnterRecursiveCallTstate(tstate, where)) {
  ------------------
  |  Branch (2649:13): [True: 89, False: 0]
  ------------------
 2650|     89|            PyObject *method = PyStackRef_AsPyObjectBorrow(cref.ref);
 2651|     89|            PyObject *args[2] = {PyStackRef_AsPyObjectBorrow(self), arg};
 2652|     89|            if (args[0] != NULL) {
  ------------------
  |  Branch (2652:17): [True: 89, False: 0]
  ------------------
 2653|       |                /* Unbound method: prepend self. */
 2654|     89|                *res = PyObject_Vectorcall(method, args, 2, NULL);
 2655|     89|            }
 2656|      0|            else {
 2657|      0|                *res = PyObject_Vectorcall(method, args + 1, 1, NULL);
 2658|      0|            }
 2659|     89|            _Py_LeaveRecursiveCallTstate(tstate);
 2660|     89|        }
 2661|     89|        if (*res == NULL) {
  ------------------
  |  Branch (2661:13): [True: 0, False: 89]
  ------------------
 2662|      0|            found = -1;
 2663|      0|        }
 2664|     89|    }
 2665|     89|    PyStackRef_XCLOSE(self);
 2666|     89|    _PyThreadState_PopCStackRef(tstate, &cref);
 2667|     89|    return found;
 2668|     89|}
abstract.c:object_issubclass:
 2755|    749|{
 2756|       |    /* We know what type's __subclasscheck__ does. */
 2757|    749|    if (PyType_CheckExact(cls)) {
  ------------------
  |  |  776|    749|#  define PyType_CheckExact(op) PyType_CheckExact(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    749|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    749|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (776:33): [True: 662, False: 87]
  |  |  ------------------
  ------------------
 2758|       |        /* Quick test for an exact match */
 2759|    662|        if (derived == cls)
  ------------------
  |  Branch (2759:13): [True: 317, False: 345]
  ------------------
 2760|    317|            return 1;
 2761|    345|        return recursive_issubclass(derived, cls);
 2762|    662|    }
 2763|       |
 2764|     87|    if (_PyUnion_Check(cls)) {
  ------------------
  |  |   15|     87|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2765|      0|        cls = _Py_union_args(cls);
 2766|      0|    }
 2767|       |
 2768|     87|    if (PyTuple_Check(cls)) {
  ------------------
  |  |   27|     87|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     87|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 87]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2769|       |
 2770|      0|        if (_Py_EnterRecursiveCallTstate(tstate, " in __subclasscheck__")) {
  ------------------
  |  Branch (2770:13): [True: 0, False: 0]
  ------------------
 2771|      0|            return -1;
 2772|      0|        }
 2773|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2774|      0|        int r = 0;
 2775|      0|        for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (2775:32): [True: 0, False: 0]
  ------------------
 2776|      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 (2776:30): [True: 0, False: 0]
  ------------------
 2777|      0|            r = object_issubclass(tstate, derived, item);
 2778|      0|            if (r != 0)
  ------------------
  |  Branch (2778:17): [True: 0, False: 0]
  ------------------
 2779|       |                /* either found it, or got an error */
 2780|      0|                break;
 2781|      0|        }
 2782|      0|        _Py_LeaveRecursiveCallTstate(tstate);
 2783|      0|        return r;
 2784|      0|    }
 2785|       |
 2786|     87|    PyObject *res;
 2787|     87|    int found = call_special_method(tstate, cls, &_Py_ID(__subclasscheck__),
  ------------------
  |  |  951|     87|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     87|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     87|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2788|     87|                                    " in __subclasscheck__", derived, &res);
 2789|     87|    if (found > 0) {
  ------------------
  |  Branch (2789:9): [True: 87, False: 0]
  ------------------
 2790|     87|        int ok = PyObject_IsTrue(res);
 2791|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2792|     87|        return ok;
 2793|     87|    }
 2794|      0|    else if (found < 0) {
  ------------------
  |  Branch (2794:14): [True: 0, False: 0]
  ------------------
 2795|      0|        return -1;
 2796|      0|    }
 2797|       |
 2798|       |    /* Can be reached when infinite recursion happens. */
 2799|      0|    return recursive_issubclass(derived, cls);
 2800|     87|}
abstract.c:object_isinstance:
 2605|    353|{
 2606|    353|    PyObject *icls;
 2607|    353|    int retval;
 2608|    353|    if (PyType_Check(cls)) {
  ------------------
  |  |  766|    353|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    353|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    353|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 353, False: 0]
  |  |  ------------------
  ------------------
 2609|    353|        retval = PyObject_TypeCheck(inst, (PyTypeObject *)cls);
  ------------------
  |  |  378|    353|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    353|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    353|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2610|    353|        if (retval == 0) {
  ------------------
  |  Branch (2610:13): [True: 326, False: 27]
  ------------------
 2611|    326|            retval = PyObject_GetOptionalAttr(inst, &_Py_ID(__class__), &icls);
  ------------------
  |  |  951|    326|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    326|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    326|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2612|    326|            if (icls != NULL) {
  ------------------
  |  Branch (2612:17): [True: 326, False: 0]
  ------------------
 2613|    326|                if (icls != (PyObject *)(Py_TYPE(inst)) && PyType_Check(icls)) {
  ------------------
  |  |  213|    326|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    326|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    326|#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 (2613:21): [True: 0, False: 326]
  ------------------
 2614|      0|                    retval = PyType_IsSubtype(
 2615|      0|                        (PyTypeObject *)icls,
 2616|      0|                        (PyTypeObject *)cls);
 2617|      0|                }
 2618|    326|                else {
 2619|    326|                    retval = 0;
 2620|    326|                }
 2621|    326|                Py_DECREF(icls);
  ------------------
  |  |  430|    326|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    326|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    326|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2622|    326|            }
 2623|    326|        }
 2624|    353|    }
 2625|      0|    else {
 2626|      0|        if (!check_class(cls,
  ------------------
  |  Branch (2626:13): [True: 0, False: 0]
  ------------------
 2627|      0|            "isinstance() arg 2 must be a type, a tuple of types, or a union"))
 2628|      0|            return -1;
 2629|      0|        retval = PyObject_GetOptionalAttr(inst, &_Py_ID(__class__), &icls);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2630|      0|        if (icls != NULL) {
  ------------------
  |  Branch (2630:13): [True: 0, False: 0]
  ------------------
 2631|      0|            retval = abstract_issubclass(icls, cls);
 2632|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2633|      0|        }
 2634|      0|    }
 2635|       |
 2636|    353|    return retval;
 2637|    353|}
abstract.c:recursive_issubclass:
 2735|    708|{
 2736|    708|    if (PyType_Check(cls) && PyType_Check(derived)) {
  ------------------
  |  |  766|  1.41k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    708|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    708|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 708, False: 0]
  |  |  ------------------
  ------------------
                  if (PyType_Check(cls) && PyType_Check(derived)) {
  ------------------
  |  |  766|    708|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    708|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    708|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 708, False: 0]
  |  |  ------------------
  ------------------
 2737|       |        /* Fast path (non-recursive) */
 2738|    708|        return PyType_IsSubtype((PyTypeObject *)derived, (PyTypeObject *)cls);
 2739|    708|    }
 2740|      0|    if (!check_class(derived,
  ------------------
  |  Branch (2740:9): [True: 0, False: 0]
  ------------------
 2741|      0|                     "issubclass() arg 1 must be a class"))
 2742|      0|        return -1;
 2743|       |
 2744|      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 (2744:9): [True: 0, False: 0]
  |  Branch (2744:33): [True: 0, False: 0]
  ------------------
 2745|      0|                            "issubclass() arg 2 must be a class,"
 2746|      0|                            " a tuple of classes, or a union")) {
 2747|      0|        return -1;
 2748|      0|    }
 2749|       |
 2750|      0|    return abstract_issubclass(derived, cls);
 2751|      0|}
abstract.c:iternext:
 2886|  2.61k|{
 2887|  2.61k|    iternextfunc tp_iternext = Py_TYPE(iter)->tp_iternext;
  ------------------
  |  |  213|  2.61k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2888|  2.61k|    if ((*item = tp_iternext(iter))) {
  ------------------
  |  Branch (2888:9): [True: 2.37k, False: 244]
  ------------------
 2889|  2.37k|        return 1;
 2890|  2.37k|    }
 2891|       |
 2892|    244|    PyThreadState *tstate = _PyThreadState_GET();
 2893|       |    /* When the iterator is exhausted it must return NULL;
 2894|       |     * a StopIteration exception may or may not be set. */
 2895|    244|    if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2895:9): [True: 243, False: 1]
  ------------------
 2896|    243|        return 0;
 2897|    243|    }
 2898|      1|    if (_PyErr_ExceptionMatches(tstate, PyExc_StopIteration)) {
  ------------------
  |  Branch (2898:9): [True: 0, False: 1]
  ------------------
 2899|      0|        _PyErr_Clear(tstate);
 2900|      0|        return 0;
 2901|      0|    }
 2902|       |
 2903|       |    /* Error case: an exception (different than StopIteration) is set. */
 2904|      1|    return -1;
 2905|      1|}

PyBool_FromLong:
   28|  4.54k|{
   29|  4.54k|    return ok ? Py_True : Py_False;
  ------------------
  |  |   26|  4.54k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    791|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    791|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return ok ? Py_True : Py_False;
  ------------------
  |  |   25|  4.54k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  3.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (29:12): [True: 791, False: 3.75k]
  ------------------
   30|  4.54k|}
boolobject.c:bool_new_impl:
   49|      6|{
   50|      6|    int ok = PyObject_IsTrue(x);
   51|      6|    if (ok < 0) {
  ------------------
  |  Branch (51:9): [True: 0, False: 6]
  ------------------
   52|      0|        return NULL;
   53|      0|    }
   54|      6|    return PyBool_FromLong(ok);
   55|      6|}

PyByteArray_FromStringAndSize:
  175|     30|{
  176|     30|    PyByteArrayObject *new;
  177|       |
  178|     30|    if (size < 0) {
  ------------------
  |  Branch (178:9): [True: 0, False: 30]
  ------------------
  179|      0|        PyErr_SetString(PyExc_SystemError,
  180|      0|            "Negative size passed to PyByteArray_FromStringAndSize");
  181|      0|        return NULL;
  182|      0|    }
  183|       |
  184|     30|    new = PyObject_New(PyByteArrayObject, &PyByteArray_Type);
  ------------------
  |  |  130|     30|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
  185|     30|    if (new == NULL) {
  ------------------
  |  Branch (185:9): [True: 0, False: 30]
  ------------------
  186|      0|        return NULL;
  187|      0|    }
  188|       |
  189|       |    /* Fill values used in bytearray_dealloc.
  190|       |
  191|       |       In an optimized build the memory isn't zeroed and ob_exports would be
  192|       |       uninitialized when when PyBytes_FromStringAndSize errored leading to
  193|       |       intermittent test failures. */
  194|     30|    new->ob_exports = 0;
  195|       |
  196|       |    /* Optimization: size=0 bytearray should not allocate space
  197|       |
  198|       |       PyBytes_FromStringAndSize returns the empty bytes global when size=0 so
  199|       |       no allocation occurs. */
  200|     30|    new->ob_bytes_object = PyBytes_FromStringAndSize(NULL, size);
  201|     30|    if (new->ob_bytes_object == NULL) {
  ------------------
  |  Branch (201:9): [True: 0, False: 30]
  ------------------
  202|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  203|      0|        return NULL;
  204|      0|    }
  205|     30|    bytearray_reinit_from_bytes(new, size);
  206|     30|    if (bytes != NULL && size > 0) {
  ------------------
  |  Branch (206:9): [True: 24, False: 6]
  |  Branch (206:26): [True: 24, False: 0]
  ------------------
  207|     24|        memcpy(new->ob_bytes, bytes, size);
  208|     24|    }
  209|       |
  210|     30|    return (PyObject *)new;
  211|     30|}
PyByteArray_Resize:
  371|     14|{
  372|     14|    int ret;
  373|     14|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     14|    {
  ------------------
  374|     14|    ret = bytearray_resize_lock_held(self, requested_size);
  375|     14|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     14|    }
  ------------------
  376|     14|    return ret;
  377|     14|}
bytearrayobject.c:bytearray_reinit_from_bytes:
   57|     44|{
   58|     44|    Py_ssize_t alloc = PyBytes_GET_SIZE(self->ob_bytes_object);
  ------------------
  |  |   33|     44|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   59|     44|    assert(0 <= size && size <= alloc);
  ------------------
  |  Branch (59:5): [True: 44, False: 0]
  |  Branch (59:5): [True: 44, False: 0]
  ------------------
   60|       |
   61|     44|    if (alloc != 0) {
  ------------------
  |  Branch (61:9): [True: 36, False: 8]
  ------------------
   62|     36|        assert(_PyBytes_IsMutable(self->ob_bytes_object));
  ------------------
  |  Branch (62:9): [True: 36, False: 0]
  ------------------
   63|     36|    }
   64|      8|    else {
   65|       |        // Use the empty bytes string singleton for an empty bytearray
   66|      8|        assert(_Py_IsImmortal(self->ob_bytes_object));
  ------------------
  |  Branch (66:9): [True: 8, False: 0]
  ------------------
   67|      8|    }
   68|       |
   69|     44|    self->ob_bytes = self->ob_start = PyBytes_AS_STRING(self->ob_bytes_object);
  ------------------
  |  |   27|     44|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   70|     44|    Py_SET_SIZE(self, size);
  ------------------
  |  |  216|     44|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     44|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   71|     44|    FT_ATOMIC_STORE_SSIZE_RELAXED(self->ob_alloc, alloc);
  ------------------
  |  |  197|     44|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
   72|     44|}
bytearrayobject.c:bytearray_resize_lock_held:
  347|     14|{
  348|     14|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  349|     14|    PyByteArrayObject *obj = ((PyByteArrayObject *)self);
  350|       |
  351|     14|    assert(self != NULL);
  ------------------
  |  Branch (351:5): [True: 14, False: 0]
  ------------------
  352|     14|    assert(PyByteArray_Check(self));
  ------------------
  |  Branch (352:5): [True: 14, False: 0]
  ------------------
  353|       |
  354|     14|    if (requested_size < 0) {
  ------------------
  |  Branch (354:9): [True: 0, False: 14]
  ------------------
  355|      0|        PyErr_Format(PyExc_ValueError,
  356|      0|            "Can only resize to positive sizes, got %zd", requested_size);
  357|      0|        return -1;
  358|      0|    }
  359|       |
  360|     14|    if (requested_size == Py_SIZE(self)) {
  ------------------
  |  |  214|     14|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (360:9): [True: 8, False: 6]
  ------------------
  361|      8|        return 0;
  362|      8|    }
  363|      6|    if (!_canresize(obj)) {
  ------------------
  |  Branch (363:9): [True: 0, False: 6]
  ------------------
  364|      0|        return -1;
  365|      0|    }
  366|      6|    return bytearray_resize_unchecked(obj, requested_size);
  367|      6|}
bytearrayobject.c:_canresize:
  134|     14|{
  135|     14|    if (self->ob_exports > 0) {
  ------------------
  |  Branch (135:9): [True: 0, False: 14]
  ------------------
  136|      0|        PyErr_SetString(PyExc_BufferError,
  137|      0|                "Existing exports of data: object cannot be re-sized");
  138|      0|        return 0;
  139|      0|    }
  140|     14|    return 1;
  141|     14|}
bytearrayobject.c:bytearray_resize_unchecked:
  278|      6|{
  279|      6|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(obj);
  280|      6|    PyObject *self = (PyObject *)obj;
  281|       |
  282|      6|    assert(obj->ob_bytes_object != NULL);
  ------------------
  |  Branch (282:5): [True: 6, False: 0]
  ------------------
  283|      6|    assert(requested_size >= 0);
  ------------------
  |  Branch (283:5): [True: 6, False: 0]
  ------------------
  284|      6|    assert(obj->ob_exports == 0);
  ------------------
  |  Branch (284:5): [True: 6, False: 0]
  ------------------
  285|       |
  286|       |    /* All computations are done unsigned to avoid integer overflows
  287|       |       (see issue #22335). */
  288|      6|    size_t alloc = (size_t) obj->ob_alloc;
  289|      6|    size_t logical_offset = (size_t) (obj->ob_start - obj->ob_bytes);
  290|      6|    size_t size = (size_t) requested_size;
  291|       |
  292|      6|    assert(logical_offset <= alloc);
  ------------------
  |  Branch (292:5): [True: 6, False: 0]
  ------------------
  293|       |
  294|       |    /* Resize to 0 resets to empty bytes (see issue #153419). */
  295|      6|    if (requested_size == 0) {
  ------------------
  |  Branch (295:9): [True: 0, False: 6]
  ------------------
  296|      0|        Py_SETREF(obj->ob_bytes_object,
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  297|      0|                   Py_GetConstant(Py_CONSTANT_EMPTY_BYTES));
  298|      0|        bytearray_reinit_from_bytes(obj, 0);
  299|      0|        return 0;
  300|      0|    }
  301|       |
  302|      6|    if (size + logical_offset <= alloc) {
  ------------------
  |  Branch (302:9): [True: 0, False: 6]
  ------------------
  303|       |        /* Current buffer is large enough to host the requested size,
  304|       |           decide on a strategy. */
  305|      0|        if (size < alloc / 2) {
  ------------------
  |  Branch (305:13): [True: 0, False: 0]
  ------------------
  306|       |            /* Major downsize; resize down to exact size */
  307|      0|            alloc = size;
  308|      0|        }
  309|      0|        else {
  310|       |            /* Minor downsize; quick exit */
  311|      0|            Py_SET_SIZE(self, size);
  ------------------
  |  |  216|      0|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      0|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  312|       |            /* Add mid-buffer null; end provided by bytes. */
  313|      0|            bytearray_write_trailing_null_byte(_PyByteArray_CAST(self));
  ------------------
  |  |   22|      0|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (313:48): [True: 0, False: 0]
  ------------------
  314|      0|            return 0;
  315|      0|        }
  316|      0|    }
  317|      6|    else {
  318|       |        /* Need growing, decide on a strategy */
  319|      6|        if (size <= alloc * 1.125) {
  ------------------
  |  Branch (319:13): [True: 0, False: 6]
  ------------------
  320|       |            /* Moderate upsize; overallocate similar to list_resize() */
  321|      0|            alloc = size + (size >> 3) + (size < 9 ? 3 : 6);
  ------------------
  |  Branch (321:43): [True: 0, False: 0]
  ------------------
  322|      0|        }
  323|      6|        else {
  324|       |            /* Major upsize; resize up to exact size */
  325|      6|            alloc = size;
  326|      6|        }
  327|      6|    }
  328|      6|    if (alloc > PyByteArray_SIZE_MAX) {
  ------------------
  |  |   21|      6|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|      6|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   76|      6|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (328:9): [True: 0, False: 6]
  ------------------
  329|      0|        PyErr_NoMemory();
  330|      0|        return -1;
  331|      0|    }
  332|       |
  333|      6|    if (bytearray_resize_storage(obj, requested_size, (Py_ssize_t)alloc) < 0) {
  ------------------
  |  Branch (333:9): [True: 0, False: 6]
  ------------------
  334|      0|        return -1;
  335|      0|    }
  336|       |
  337|      6|    bytearray_reinit_from_bytes(obj, size);
  338|      6|    if (alloc != size) {
  ------------------
  |  Branch (338:9): [True: 0, False: 6]
  ------------------
  339|       |        /* Add mid-buffer null; end provided by bytes. */
  340|      0|        bytearray_write_trailing_null_byte(obj);
  341|      0|    }
  342|      6|    return 0;
  343|      6|}
bytearrayobject.c:bytearray_resize_storage:
  235|      6|{
  236|      6|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  237|      6|    assert(1 <= new_size && new_size <= alloc);
  ------------------
  |  Branch (237:5): [True: 6, False: 0]
  |  Branch (237:5): [True: 6, False: 0]
  ------------------
  238|       |
  239|      6|    Py_ssize_t size = Py_SIZE(self);
  ------------------
  |  |  214|      6|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  240|       |
  241|       |    /* Re-align data to the start of the allocation. */
  242|      6|    char *old_start = self->ob_start;
  243|      6|    if (self->ob_start != self->ob_bytes) {
  ------------------
  |  Branch (243:9): [True: 0, False: 6]
  ------------------
  244|       |        /* optimization tradeoff: This is faster than a new allocation when
  245|       |           the number of bytes being removed in a resize is small; for
  246|       |           large size changes it may be better to just make a new bytes
  247|       |           object as _PyBytes_Resize will do a malloc + memcpy internally.
  248|       |           */
  249|      0|        Py_ssize_t move = Py_MIN(new_size, size);
  ------------------
  |  |  127|      0|       __extension__ \
  |  |  128|      0|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      0|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      0|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  250|      0|        memmove(self->ob_bytes, self->ob_start, move);
  251|      0|        self->ob_start = self->ob_bytes;
  252|      0|    }
  253|       |
  254|      6|    if (_PyBytes_ResizeKeepOnError(&self->ob_bytes_object, alloc) < 0) {
  ------------------
  |  Branch (254:9): [True: 0, False: 6]
  ------------------
  255|      0|        if (old_start != self->ob_bytes && new_size < size) {
  ------------------
  |  Branch (255:13): [True: 0, False: 0]
  |  Branch (255:44): [True: 0, False: 0]
  ------------------
  256|       |            // Move remaining bytes
  257|      0|            Py_ssize_t moved = new_size;
  258|      0|            Py_ssize_t remaining = size - moved;
  259|      0|            memmove(self->ob_bytes + moved, old_start + moved, remaining);
  260|      0|        }
  261|      0|        bytearray_write_trailing_null_byte(self);
  262|      0|        return -1;
  263|      0|    }
  264|      6|    assert(_PyBytes_IsMutable(self->ob_bytes_object));
  ------------------
  |  Branch (264:5): [True: 6, False: 0]
  ------------------
  265|      6|    return 0;
  266|      6|}
bytearrayobject.c:bytearray_dealloc:
 1301|     38|{
 1302|     38|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|     38|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1302:31): [True: 38, False: 0]
  ------------------
 1303|       |#ifdef Py_DEBUG
 1304|       |    if (self->ob_bytes_object != NULL) {
 1305|       |        _PyBytes_CheckOverflow(self->ob_bytes_object, op, "bytearray");
 1306|       |    }
 1307|       |#endif
 1308|       |
 1309|     38|    if (self->ob_exports > 0) {
  ------------------
  |  Branch (1309:9): [True: 0, False: 38]
  ------------------
 1310|      0|        PyErr_SetString(PyExc_SystemError,
 1311|      0|                        "deallocated bytearray object has exported buffers");
 1312|      0|        PyErr_Print();
 1313|      0|    }
 1314|     38|    Py_XDECREF(self->ob_bytes_object);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1315|     38|    Py_TYPE(self)->tp_free((PyObject *)self);
  ------------------
  |  |  213|     38|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1316|     38|}
bytearrayobject.c:bytearray_length:
  420|      6|{
  421|      6|    return PyByteArray_GET_SIZE(op);
  ------------------
  |  |   38|      6|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  422|      6|}
bytearrayobject.c:_getbytevalue:
   27|     15|{
   28|     15|    int overflow;
   29|     15|    long face_value = PyLong_AsLongAndOverflow(arg, &overflow);
   30|       |
   31|     15|    if (face_value == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (31:9): [True: 0, False: 15]
  |  Branch (31:29): [True: 0, False: 0]
  ------------------
   32|      0|        *value = -1;
   33|      0|        return 0;
   34|      0|    }
   35|     15|    if (face_value < 0 || face_value >= 256) {
  ------------------
  |  Branch (35:9): [True: 0, False: 15]
  |  Branch (35:27): [True: 0, False: 15]
  ------------------
   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|     15|    *value = face_value;
   43|     15|    return 1;
   44|     15|}
bytearrayobject.c:bytearray_subscript:
  607|     27|{
  608|     27|    PyObject *ret;
  609|     27|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     27|    {
  ------------------
  610|     27|    ret = bytearray_subscript_lock_held(op, index);
  611|     27|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     27|    }
  ------------------
  612|     27|    return ret;
  613|       |
  614|     27|}
bytearrayobject.c:bytearray_subscript_lock_held:
  547|     27|{
  548|     27|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(op);
  549|     27|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|     27|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (549:31): [True: 27, False: 0]
  ------------------
  550|     27|    if (_PyIndex_Check(index)) {
  ------------------
  |  Branch (550:9): [True: 0, False: 27]
  ------------------
  551|      0|        Py_ssize_t i = PyNumber_AsSsize_t(index, PyExc_IndexError);
  552|       |
  553|      0|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (553:13): [True: 0, False: 0]
  |  Branch (553:24): [True: 0, False: 0]
  ------------------
  554|      0|            return NULL;
  555|       |
  556|      0|        if (i < 0)
  ------------------
  |  Branch (556:13): [True: 0, False: 0]
  ------------------
  557|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  558|       |
  559|      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 (559:13): [True: 0, False: 0]
  |  Branch (559:22): [True: 0, False: 0]
  ------------------
  560|      0|            PyErr_SetString(PyExc_IndexError, "bytearray index out of range");
  561|      0|            return NULL;
  562|      0|        }
  563|      0|        return _PyLong_FromUnsignedChar((unsigned char)(self->ob_start[i]));
  564|      0|    }
  565|     27|    else if (PySlice_Check(index)) {
  ------------------
  |  |   22|     27|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  566|     27|        Py_ssize_t start, stop, step, slicelength, i;
  567|     27|        size_t cur;
  568|     27|        if (PySlice_Unpack(index, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (568:13): [True: 0, False: 27]
  ------------------
  569|      0|            return NULL;
  570|      0|        }
  571|     27|        slicelength = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self),
  ------------------
  |  |   38|     27|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  572|     27|                                            &start, &stop, step);
  573|       |
  574|     27|        if (slicelength <= 0)
  ------------------
  |  Branch (574:13): [True: 0, False: 27]
  ------------------
  575|      0|            return PyByteArray_FromStringAndSize("", 0);
  576|     27|        else if (step == 1) {
  ------------------
  |  Branch (576:18): [True: 24, False: 3]
  ------------------
  577|     24|            return PyByteArray_FromStringAndSize(
  578|     24|                PyByteArray_AS_STRING(self) + start, slicelength);
  ------------------
  |  |   28|     24|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  579|     24|        }
  580|      3|        else {
  581|      3|            char *source_buf = PyByteArray_AS_STRING(self);
  ------------------
  |  |   28|      3|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  582|      3|            char *result_buf;
  583|      3|            PyObject *result;
  584|       |
  585|      3|            result = PyByteArray_FromStringAndSize(NULL, slicelength);
  586|      3|            if (result == NULL)
  ------------------
  |  Branch (586:17): [True: 0, False: 3]
  ------------------
  587|      0|                return NULL;
  588|       |
  589|      3|            result_buf = PyByteArray_AS_STRING(result);
  ------------------
  |  |   28|      3|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  590|    771|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (590:38): [True: 768, False: 3]
  ------------------
  591|    768|                 cur += step, i++) {
  592|    768|                     result_buf[i] = source_buf[cur];
  593|    768|            }
  594|      3|            return result;
  595|      3|        }
  596|     27|    }
  597|      0|    else {
  598|      0|        PyErr_Format(PyExc_TypeError,
  599|      0|                     "bytearray indices must be integers or slices, not %.200s",
  600|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  601|       |        return NULL;
  602|      0|    }
  603|     27|}
bytearrayobject.c:bytearray_ass_subscript:
  958|     15|{
  959|     15|    int ret;
  960|     15|    if (values != NULL && PyByteArray_Check(values)) {
  ------------------
  |  |   24|     15|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|     15|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (960:9): [True: 15, False: 0]
  ------------------
  961|      0|        Py_BEGIN_CRITICAL_SECTION2(op, values);
  ------------------
  |  |   57|      0|    {
  ------------------
  962|      0|        ret = bytearray_ass_subscript_lock_held(op, index, values);
  963|      0|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
  964|      0|    }
  965|     15|    else {
  966|     15|        Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     15|    {
  ------------------
  967|     15|        ret = bytearray_ass_subscript_lock_held(op, index, values);
  968|     15|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     15|    }
  ------------------
  969|     15|    }
  970|     15|    return ret;
  971|     15|}
bytearrayobject.c:bytearray_ass_subscript_lock_held:
  797|     15|{
  798|     15|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(op);
  799|     15|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|     15|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (799:31): [True: 15, False: 0]
  ------------------
  800|      0|    Py_ssize_t start, stop, step, slicelen;
  801|       |    // Do not store a reference to the internal buffer since
  802|       |    // index.__index__() or _getbytevalue() may alter 'self'.
  803|       |    // See https://github.com/python/cpython/issues/91153.
  804|       |
  805|     15|    if (_PyIndex_Check(index)) {
  ------------------
  |  Branch (805:9): [True: 15, False: 0]
  ------------------
  806|     15|        Py_ssize_t i = PyNumber_AsSsize_t(index, PyExc_IndexError);
  807|       |
  808|     15|        if (i == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (808:13): [True: 0, False: 15]
  |  Branch (808:24): [True: 0, False: 0]
  ------------------
  809|      0|            return -1;
  810|      0|        }
  811|       |
  812|     15|        int ival = -1;
  813|       |
  814|       |        // GH-91153: We need to do this *before* the size check, in case values
  815|       |        // has a nasty __index__ method that changes the size of the bytearray:
  816|     15|        if (values && !_getbytevalue(values, &ival)) {
  ------------------
  |  Branch (816:13): [True: 15, False: 0]
  |  Branch (816:23): [True: 0, False: 15]
  ------------------
  817|      0|            return -1;
  818|      0|        }
  819|       |
  820|     15|        if (i < 0) {
  ------------------
  |  Branch (820:13): [True: 0, False: 15]
  ------------------
  821|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  822|      0|        }
  823|       |
  824|     15|        if (i < 0 || i >= Py_SIZE(self)) {
  ------------------
  |  |  214|     15|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (824:13): [True: 0, False: 15]
  |  Branch (824:22): [True: 0, False: 15]
  ------------------
  825|      0|            PyErr_SetString(PyExc_IndexError, "bytearray index out of range");
  826|      0|            return -1;
  827|      0|        }
  828|       |
  829|     15|        if (values == NULL) {
  ------------------
  |  Branch (829:13): [True: 0, False: 15]
  ------------------
  830|       |            /* Fall through to slice assignment */
  831|      0|            start = i;
  832|      0|            stop = i + 1;
  833|      0|            step = 1;
  834|      0|            slicelen = 1;
  835|      0|        }
  836|     15|        else {
  837|     15|            assert(0 <= ival && ival < 256);
  ------------------
  |  Branch (837:13): [True: 15, False: 0]
  |  Branch (837:13): [True: 15, False: 0]
  ------------------
  838|     15|            PyByteArray_AS_STRING(self)[i] = (char)ival;
  ------------------
  |  |   28|     15|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  839|     15|            return 0;
  840|     15|        }
  841|     15|    }
  842|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  843|      0|        if (PySlice_Unpack(index, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (843:13): [True: 0, False: 0]
  ------------------
  844|      0|            return -1;
  845|      0|        }
  846|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  847|      0|                                         &stop, step);
  848|      0|    }
  849|      0|    else {
  850|      0|        PyErr_Format(PyExc_TypeError,
  851|      0|                     "bytearray indices must be integers or slices, not %.200s",
  852|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  853|      0|        return -1;
  854|      0|    }
  855|       |
  856|      0|    char *bytes;
  857|      0|    Py_ssize_t needed;
  858|      0|    if (values == NULL) {
  ------------------
  |  Branch (858:9): [True: 0, False: 0]
  ------------------
  859|      0|        bytes = NULL;
  860|      0|        needed = 0;
  861|      0|    }
  862|      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 (862:14): [True: 0, False: 0]
  |  Branch (862:44): [True: 0, False: 0]
  ------------------
  863|      0|        int err;
  864|      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 (864:13): [True: 0, False: 0]
  ------------------
  865|      0|            PyErr_SetString(PyExc_TypeError,
  866|      0|                            "can assign only bytes, buffers, or iterables "
  867|      0|                            "of ints in range(0, 256)");
  868|      0|            return -1;
  869|      0|        }
  870|       |        /* Make a copy and call this function recursively */
  871|      0|        values = PyByteArray_FromObject(values);
  872|      0|        if (values == NULL)
  ------------------
  |  Branch (872:13): [True: 0, False: 0]
  ------------------
  873|      0|            return -1;
  874|      0|        err = bytearray_ass_subscript_lock_held((PyObject*)self, index, values);
  875|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  876|      0|        return err;
  877|      0|    }
  878|      0|    else {
  879|      0|        assert(PyByteArray_Check(values));
  ------------------
  |  Branch (879:9): [True: 0, False: 0]
  ------------------
  880|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  881|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  882|      0|    }
  883|       |
  884|       |    /* Make sure b[5:2] = ... inserts before 5, not before 2. */
  885|      0|    if ((step < 0 && start < stop) ||
  ------------------
  |  Branch (885:10): [True: 0, False: 0]
  |  Branch (885:22): [True: 0, False: 0]
  ------------------
  886|      0|        (step > 0 && start > stop))
  ------------------
  |  Branch (886:10): [True: 0, False: 0]
  |  Branch (886:22): [True: 0, False: 0]
  ------------------
  887|      0|    {
  888|      0|        stop = start;
  889|      0|    }
  890|       |
  891|      0|    if (step == 1) {
  ------------------
  |  Branch (891:9): [True: 0, False: 0]
  ------------------
  892|      0|        return bytearray_setslice_linear(self, start, stop, bytes, needed);
  893|      0|    }
  894|      0|    else {
  895|      0|        if (needed == 0) {
  ------------------
  |  Branch (895:13): [True: 0, False: 0]
  ------------------
  896|       |            /* Delete slice */
  897|      0|            size_t cur;
  898|      0|            Py_ssize_t i;
  899|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  900|       |
  901|      0|            if (!_canresize(self))
  ------------------
  |  Branch (901:17): [True: 0, False: 0]
  ------------------
  902|      0|                return -1;
  903|       |
  904|      0|            if (slicelen == 0)
  ------------------
  |  Branch (904:17): [True: 0, False: 0]
  ------------------
  905|       |                /* Nothing to do here. */
  906|      0|                return 0;
  907|       |
  908|      0|            if (step < 0) {
  ------------------
  |  Branch (908:17): [True: 0, False: 0]
  ------------------
  909|      0|                stop = start + 1;
  910|      0|                start = stop + step * (slicelen - 1) - 1;
  911|      0|                step = -step;
  912|      0|            }
  913|      0|            for (cur = start, i = 0;
  914|      0|                 i < slicelen; cur += step, i++) {
  ------------------
  |  Branch (914:18): [True: 0, False: 0]
  ------------------
  915|      0|                Py_ssize_t lim = step - 1;
  916|       |
  917|      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 (917:21): [True: 0, False: 0]
  ------------------
  918|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  919|       |
  920|      0|                memmove(buf + cur - i,
  921|      0|                        buf + cur + 1, lim);
  922|      0|            }
  923|       |            /* Move the tail of the bytes, in one chunk */
  924|      0|            cur = start + (size_t)slicelen*step;
  925|      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 (925:17): [True: 0, False: 0]
  ------------------
  926|      0|                memmove(buf + cur - slicelen,
  927|      0|                        buf + cur,
  928|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  929|      0|            }
  930|      0|            if (bytearray_resize_lock_held((PyObject *)self,
  ------------------
  |  Branch (930:17): [True: 0, False: 0]
  ------------------
  931|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  932|      0|                return -1;
  933|       |
  934|      0|            return 0;
  935|      0|        }
  936|      0|        else {
  937|       |            /* Assign slice */
  938|      0|            Py_ssize_t i;
  939|      0|            size_t cur;
  940|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  941|       |
  942|      0|            if (needed != slicelen) {
  ------------------
  |  Branch (942:17): [True: 0, False: 0]
  ------------------
  943|      0|                PyErr_Format(PyExc_ValueError,
  944|      0|                             "attempt to assign bytes of size %zd "
  945|      0|                             "to extended slice of size %zd",
  946|      0|                             needed, slicelen);
  947|      0|                return -1;
  948|      0|            }
  949|      0|            for (cur = start, i = 0; i < slicelen; cur += step, i++)
  ------------------
  |  Branch (949:38): [True: 0, False: 0]
  ------------------
  950|      0|                buf[cur] = bytes[i];
  951|      0|            return 0;
  952|      0|        }
  953|      0|    }
  954|      0|}
bytearrayobject.c:_bytearray_with_buffer:
  120|     28|{
  121|     28|    PyObject *res;
  122|       |
  123|     28|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  124|       |
  125|       |    /* Increase exports to prevent bytearray storage from changing during op. */
  126|     28|    self->ob_exports++;
  127|     28|    res = op(PyByteArray_AS_STRING(self), Py_SIZE(self), sub, start, end);
  ------------------
  |  |   28|     28|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  res = op(PyByteArray_AS_STRING(self), Py_SIZE(self), sub, start, end);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  128|     28|    self->ob_exports--;
  129|     28|    return res;
  130|     28|}
bytearrayobject.c:bytearray_find_impl:
 1368|     28|{
 1369|     28|    return _bytearray_with_buffer(self, _Py_bytes_find, sub, start, end);
 1370|     28|}
bytearrayobject.c:bytearray_translate_impl:
 1741|      3|{
 1742|      3|    char *input, *output;
 1743|      3|    const char *table_chars;
 1744|      3|    Py_ssize_t i, c;
 1745|      3|    PyObject *input_obj = (PyObject*)self;
 1746|      3|    const char *output_start;
 1747|      3|    Py_ssize_t inlen;
 1748|      3|    PyObject *result = NULL;
 1749|      3|    int trans_table[256];
 1750|      3|    Py_buffer vtable, vdel;
 1751|       |
 1752|      3|    if (table == Py_None) {
  ------------------
  |  |  616|      3|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1752:9): [True: 0, False: 3]
  ------------------
 1753|      0|        table_chars = NULL;
 1754|      0|        table = NULL;
 1755|      3|    } else if (PyObject_GetBuffer(table, &vtable, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      3|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1755:16): [True: 0, False: 3]
  ------------------
 1756|      0|        return NULL;
 1757|      3|    } else {
 1758|      3|        if (vtable.len != 256) {
  ------------------
  |  Branch (1758:13): [True: 0, False: 3]
  ------------------
 1759|      0|            PyErr_SetString(PyExc_ValueError,
 1760|      0|                            "translation table must be 256 characters long");
 1761|      0|            PyBuffer_Release(&vtable);
 1762|      0|            return NULL;
 1763|      0|        }
 1764|      3|        table_chars = (const char*)vtable.buf;
 1765|      3|    }
 1766|       |
 1767|      3|    if (deletechars != NULL) {
  ------------------
  |  Branch (1767:9): [True: 0, False: 3]
  ------------------
 1768|      0|        if (PyObject_GetBuffer(deletechars, &vdel, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1768:13): [True: 0, False: 0]
  ------------------
 1769|      0|            if (table != NULL)
  ------------------
  |  Branch (1769:17): [True: 0, False: 0]
  ------------------
 1770|      0|                PyBuffer_Release(&vtable);
 1771|      0|            return NULL;
 1772|      0|        }
 1773|      0|    }
 1774|      3|    else {
 1775|      3|        vdel.buf = NULL;
 1776|      3|        vdel.len = 0;
 1777|      3|    }
 1778|       |
 1779|      3|    inlen = PyByteArray_GET_SIZE(input_obj);
  ------------------
  |  |   38|      3|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1780|      3|    result = PyByteArray_FromStringAndSize((char *)NULL, inlen);
 1781|      3|    if (result == NULL)
  ------------------
  |  Branch (1781:9): [True: 0, False: 3]
  ------------------
 1782|      0|        goto done;
 1783|      3|    output_start = output = PyByteArray_AS_STRING(result);
  ------------------
  |  |   28|      3|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1784|      3|    input = PyByteArray_AS_STRING(input_obj);
  ------------------
  |  |   28|      3|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1785|       |
 1786|      3|    if (vdel.len == 0 && table_chars != NULL) {
  ------------------
  |  Branch (1786:9): [True: 3, False: 0]
  |  Branch (1786:26): [True: 3, False: 0]
  ------------------
 1787|       |        /* If no deletions are required, use faster code */
 1788|    771|        for (i = inlen; --i >= 0; ) {
  ------------------
  |  Branch (1788:25): [True: 768, False: 3]
  ------------------
 1789|    768|            c = Py_CHARMASK(*input++);
  ------------------
  |  |  170|    768|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1790|    768|            *output++ = table_chars[c];
 1791|    768|        }
 1792|      3|        goto done;
 1793|      3|    }
 1794|       |
 1795|      0|    if (table_chars == NULL) {
  ------------------
  |  Branch (1795:9): [True: 0, False: 0]
  ------------------
 1796|      0|        for (i = 0; i < 256; i++)
  ------------------
  |  Branch (1796:21): [True: 0, False: 0]
  ------------------
 1797|      0|            trans_table[i] = Py_CHARMASK(i);
  ------------------
  |  |  170|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1798|      0|    } else {
 1799|      0|        for (i = 0; i < 256; i++)
  ------------------
  |  Branch (1799:21): [True: 0, False: 0]
  ------------------
 1800|      0|            trans_table[i] = Py_CHARMASK(table_chars[i]);
  ------------------
  |  |  170|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1801|      0|    }
 1802|       |
 1803|      0|    for (i = 0; i < vdel.len; i++)
  ------------------
  |  Branch (1803:17): [True: 0, False: 0]
  ------------------
 1804|      0|        trans_table[(int) Py_CHARMASK( ((unsigned char*)vdel.buf)[i] )] = -1;
  ------------------
  |  |  170|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1805|       |
 1806|      0|    for (i = inlen; --i >= 0; ) {
  ------------------
  |  Branch (1806:21): [True: 0, False: 0]
  ------------------
 1807|      0|        c = Py_CHARMASK(*input++);
  ------------------
  |  |  170|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1808|      0|        if (trans_table[c] != -1)
  ------------------
  |  Branch (1808:13): [True: 0, False: 0]
  ------------------
 1809|      0|            *output++ = (char)trans_table[c];
 1810|      0|    }
 1811|       |    /* Fix the size of the resulting bytearray */
 1812|      0|    if (inlen > 0)
  ------------------
  |  Branch (1812:9): [True: 0, False: 0]
  ------------------
 1813|      0|        if (PyByteArray_Resize(result, output - output_start) < 0) {
  ------------------
  |  Branch (1813:13): [True: 0, False: 0]
  ------------------
 1814|      0|            Py_CLEAR(result);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1815|      0|            goto done;
 1816|      0|        }
 1817|       |
 1818|      3|done:
 1819|      3|    if (table != NULL)
  ------------------
  |  Branch (1819:9): [True: 3, False: 0]
  ------------------
 1820|      3|        PyBuffer_Release(&vtable);
 1821|      3|    if (deletechars != NULL)
  ------------------
  |  Branch (1821:9): [True: 0, False: 3]
  ------------------
 1822|      0|        PyBuffer_Release(&vdel);
 1823|      3|    return result;
 1824|      0|}
bytearrayobject.c:bytearray___init___impl:
 1001|      8|{
 1002|      8|    Py_ssize_t count;
 1003|      8|    PyObject *it;
 1004|      8|    PyObject *(*iternext)(PyObject *);
 1005|       |
 1006|       |    /* Disallow any __init__ call if the object is not resizable (has exports)
 1007|       |       to make the handling of non-null `source` init values simpler. */
 1008|      8|    if (!_canresize(self)) {
  ------------------
  |  Branch (1008:9): [True: 0, False: 8]
  ------------------
 1009|      0|        return -1;
 1010|      0|    }
 1011|       |
 1012|       |    /* Empty any previous contents (do this first of all!). */
 1013|      8|    if (PyByteArray_Resize((PyObject *)self, 0) < 0) {
  ------------------
  |  Branch (1013:9): [True: 0, False: 8]
  ------------------
 1014|      0|        return -1;
 1015|      0|    }
 1016|      8|    assert(self->ob_bytes_object == Py_GetConstantBorrowed(Py_CONSTANT_EMPTY_BYTES));
  ------------------
  |  Branch (1016:5): [True: 8, False: 0]
  ------------------
 1017|      8|    assert(self->ob_exports == 0);
  ------------------
  |  Branch (1017:5): [True: 8, False: 0]
  ------------------
 1018|       |
 1019|       |    /* Make a quick exit if no first argument */
 1020|      8|    if (arg == NULL) {
  ------------------
  |  Branch (1020:9): [True: 2, False: 6]
  ------------------
 1021|      2|        if (encoding != NULL || errors != NULL) {
  ------------------
  |  Branch (1021:13): [True: 0, False: 2]
  |  Branch (1021:33): [True: 0, False: 2]
  ------------------
 1022|      0|            PyErr_SetString(PyExc_TypeError,
 1023|      0|                            encoding != NULL ?
  ------------------
  |  Branch (1023:29): [True: 0, False: 0]
  ------------------
 1024|      0|                            "encoding without a string argument" :
 1025|      0|                            "errors without a string argument");
 1026|      0|            return -1;
 1027|      0|        }
 1028|      2|        return 0;
 1029|      2|    }
 1030|       |
 1031|      6|    if (PyUnicode_Check(arg)) {
  ------------------
  |  |  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: 0, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1032|       |        /* Encode via the codec registry */
 1033|      0|        PyObject *encoded, *new;
 1034|      0|        if (encoding == NULL) {
  ------------------
  |  Branch (1034:13): [True: 0, False: 0]
  ------------------
 1035|      0|            PyErr_SetString(PyExc_TypeError,
 1036|      0|                            "string argument without an encoding");
 1037|      0|            return -1;
 1038|      0|        }
 1039|      0|        encoded = PyUnicode_AsEncodedString(arg, encoding, errors);
 1040|      0|        if (encoded == NULL) {
  ------------------
  |  Branch (1040:13): [True: 0, False: 0]
  ------------------
 1041|      0|            return -1;
 1042|      0|        }
 1043|      0|        assert(PyBytes_Check(encoded));
  ------------------
  |  Branch (1043:9): [True: 0, False: 0]
  ------------------
 1044|       |
 1045|       |        /* Most encodes return a new unique bytes, just use it as buffer. */
 1046|      0|        if (_PyObject_IsUniquelyReferenced(encoded)
  ------------------
  |  Branch (1046:13): [True: 0, False: 0]
  ------------------
 1047|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1048|      0|            && _PyBytes_GET_CACHED_HASH((PyBytesObject*)encoded) == -1)
  ------------------
  |  Branch (1048:16): [True: 0, False: 0]
  ------------------
 1049|      0|        {
 1050|      0|            Py_ssize_t size = PyBytes_GET_SIZE(encoded);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1051|      0|            self->ob_bytes_object = encoded;
 1052|      0|            bytearray_reinit_from_bytes(self, size);
 1053|      0|            return 0;
 1054|      0|        }
 1055|      0|        new = bytearray_iconcat((PyObject*)self, encoded);
 1056|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1057|      0|        if (new == NULL)
  ------------------
  |  Branch (1057:13): [True: 0, False: 0]
  ------------------
 1058|      0|            return -1;
 1059|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1060|      0|        return 0;
 1061|      0|    }
 1062|       |
 1063|       |    /* If it's not unicode, there can't be encoding or errors */
 1064|      6|    if (encoding != NULL || errors != NULL) {
  ------------------
  |  Branch (1064:9): [True: 0, False: 6]
  |  Branch (1064:29): [True: 0, False: 6]
  ------------------
 1065|      0|        PyErr_SetString(PyExc_TypeError,
 1066|      0|                        encoding != NULL ?
  ------------------
  |  Branch (1066:25): [True: 0, False: 0]
  ------------------
 1067|      0|                        "encoding without a string argument" :
 1068|      0|                        "errors without a string argument");
 1069|      0|        return -1;
 1070|      0|    }
 1071|       |
 1072|       |    /* Is it an int? */
 1073|      6|    if (_PyIndex_Check(arg)) {
  ------------------
  |  Branch (1073:9): [True: 6, False: 0]
  ------------------
 1074|      6|        count = PyNumber_AsSsize_t(arg, PyExc_OverflowError);
 1075|      6|        if (count == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1075:13): [True: 0, False: 6]
  |  Branch (1075:28): [True: 0, False: 0]
  ------------------
 1076|      0|            if (!PyErr_ExceptionMatches(PyExc_TypeError))
  ------------------
  |  Branch (1076:17): [True: 0, False: 0]
  ------------------
 1077|      0|                return -1;
 1078|      0|            PyErr_Clear();  /* fall through */
 1079|      0|        }
 1080|      6|        else {
 1081|      6|            if (count < 0) {
  ------------------
  |  Branch (1081:17): [True: 0, False: 6]
  ------------------
 1082|      0|                PyErr_SetString(PyExc_ValueError, "negative count");
 1083|      0|                return -1;
 1084|      0|            }
 1085|      6|            if (count > 0) {
  ------------------
  |  Branch (1085:17): [True: 6, False: 0]
  ------------------
 1086|      6|                if (PyByteArray_Resize((PyObject *)self, count))
  ------------------
  |  Branch (1086:21): [True: 0, False: 6]
  ------------------
 1087|      0|                    return -1;
 1088|      6|                memset(PyByteArray_AS_STRING(self), 0, count);
  ------------------
  |  |   28|      6|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1089|      6|            }
 1090|      6|            return 0;
 1091|      6|        }
 1092|      6|    }
 1093|       |
 1094|       |    /* Use the buffer API */
 1095|      0|    if (PyObject_CheckBuffer(arg)) {
  ------------------
  |  Branch (1095:9): [True: 0, False: 0]
  ------------------
 1096|      0|        Py_ssize_t size;
 1097|      0|        Py_buffer view;
 1098|      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 (1098:13): [True: 0, False: 0]
  ------------------
 1099|      0|            return -1;
 1100|      0|        size = view.len;
 1101|      0|        if (PyByteArray_Resize((PyObject *)self, size) < 0) goto fail;
  ------------------
  |  Branch (1101:13): [True: 0, False: 0]
  ------------------
 1102|      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 (1102:13): [True: 0, False: 0]
  ------------------
 1103|      0|            &view, size, 'C') < 0)
 1104|      0|        {
 1105|       |            /* Don't expose the uninitialized bytes: reset to empty */
 1106|      0|            (void)PyByteArray_Resize((PyObject *)self, 0);
 1107|      0|            goto fail;
 1108|      0|        }
 1109|      0|        PyBuffer_Release(&view);
 1110|      0|        return 0;
 1111|      0|    fail:
 1112|      0|        PyBuffer_Release(&view);
 1113|      0|        return -1;
 1114|      0|    }
 1115|       |
 1116|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1117|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1118|      0|        if (PyByteArray_Resize((PyObject *)self, size) < 0) {
  ------------------
  |  Branch (1118:13): [True: 0, False: 0]
  ------------------
 1119|      0|            return -1;
 1120|      0|        }
 1121|      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)
  ------------------
 1122|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1123|      0|        for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (1123:32): [True: 0, False: 0]
  ------------------
 1124|      0|            int value;
 1125|      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 (1125:17): [True: 0, False: 0]
  ------------------
 1126|       |                /* Resize to 0 and go through slowpath */
 1127|      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 (1127:21): [True: 0, False: 0]
  ------------------
 1128|      0|                   if (PyByteArray_Resize((PyObject *)self, 0) < 0) {
  ------------------
  |  Branch (1128:24): [True: 0, False: 0]
  ------------------
 1129|      0|                       return -1;
 1130|      0|                   }
 1131|      0|                }
 1132|      0|                goto slowpath;
 1133|      0|            }
 1134|      0|            int rc = _getbytevalue(items[i], &value);
 1135|      0|            if (!rc) {
  ------------------
  |  Branch (1135:17): [True: 0, False: 0]
  ------------------
 1136|       |                /* Don't expose the uninitialized bytes: reset to empty */
 1137|      0|                (void)PyByteArray_Resize((PyObject *)self, 0);
 1138|      0|                return -1;
 1139|      0|            }
 1140|      0|            s[i] = value;
 1141|      0|        }
 1142|      0|        return 0;
 1143|      0|    }
 1144|      0|slowpath:
 1145|       |    /* Get the iterator */
 1146|      0|    it = PyObject_GetIter(arg);
 1147|      0|    if (it == NULL) {
  ------------------
  |  Branch (1147:9): [True: 0, False: 0]
  ------------------
 1148|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (1148:13): [True: 0, False: 0]
  ------------------
 1149|      0|            PyErr_Format(PyExc_TypeError,
 1150|      0|                         "cannot convert '%.200s' object to bytearray",
 1151|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1152|      0|        }
 1153|      0|        return -1;
 1154|      0|    }
 1155|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1156|       |
 1157|       |    /* Run the iterator to exhaustion */
 1158|      0|    for (;;) {
 1159|      0|        PyObject *item;
 1160|      0|        int rc, value;
 1161|       |
 1162|       |        /* Get the next item */
 1163|      0|        item = iternext(it);
 1164|      0|        if (item == NULL) {
  ------------------
  |  Branch (1164:13): [True: 0, False: 0]
  ------------------
 1165|      0|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (1165:17): [True: 0, False: 0]
  ------------------
 1166|      0|                if (!PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (1166:21): [True: 0, False: 0]
  ------------------
 1167|      0|                    goto error;
 1168|      0|                PyErr_Clear();
 1169|      0|            }
 1170|      0|            break;
 1171|      0|        }
 1172|       |
 1173|       |        /* Interpret it as an int (__index__) */
 1174|      0|        rc = _getbytevalue(item, &value);
 1175|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1176|      0|        if (!rc) {
  ------------------
  |  Branch (1176:13): [True: 0, False: 0]
  ------------------
 1177|      0|            goto error;
 1178|      0|        }
 1179|       |
 1180|       |        /* Append the byte.
 1181|       |
 1182|       |           gh-158928: Iterators are arbitrary code which could modify the
 1183|       |           bytearray so this must re-calculate if there is enough space(). */
 1184|      0|        Py_ssize_t needed =
 1185|      0|            self->ob_start - self->ob_bytes + Py_SIZE(self) + 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1186|      0|        if (needed < self->ob_alloc) {
  ------------------
  |  Branch (1186:13): [True: 0, False: 0]
  ------------------
 1187|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1188|      0|            bytearray_write_trailing_null_byte(self);
 1189|      0|        }
 1190|      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 (1190:18): [True: 0, False: 0]
  ------------------
 1191|      0|            goto error;
 1192|      0|        }
 1193|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1194|      0|        assert(self->ob_start - self->ob_bytes + Py_SIZE(self) <=
  ------------------
  |  Branch (1194:9): [True: 0, False: 0]
  ------------------
 1195|      0|               self->ob_alloc);
 1196|      0|    }
 1197|       |
 1198|       |    /* Clean up and return success */
 1199|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1200|      0|    return 0;
 1201|       |
 1202|      0| error:
 1203|       |    /* Error handling when it != NULL */
 1204|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1205|      0|    return -1;
 1206|      0|}
bytearrayobject.c:bytearray_new:
  975|      8|{
  976|      8|    PyObject *op = PyType_GenericNew(type, args, kwds);
  977|      8|    if (op == NULL) {
  ------------------
  |  Branch (977:9): [True: 0, False: 8]
  ------------------
  978|      0|        return NULL;
  979|      0|    }
  980|      8|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|      8|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (980:31): [True: 8, False: 0]
  ------------------
  981|      8|    self->ob_bytes_object = Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|      8|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
  982|      8|    bytearray_reinit_from_bytes(self, 0);
  983|      8|    self->ob_exports = 0;
  984|      8|    return op;
  985|      8|}
bytearrayobject.c:bytearrayiter_dealloc:
 3068|      2|{
 3069|      2|    bytesiterobject *it = _bytesiterobject_CAST(self);
  ------------------
  |  | 3064|      2|#define _bytesiterobject_CAST(op)   ((bytesiterobject *)(op))
  ------------------
 3070|      2|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  504|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3071|      2|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3072|      2|    PyObject_GC_Del(it);
 3073|      2|}
bytearrayobject.c:bytearray_iter:
 3222|      2|{
 3223|      2|    bytesiterobject *it;
 3224|       |
 3225|      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 (3225:9): [True: 0, False: 2]
  ------------------
 3226|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3227|      0|        return NULL;
 3228|      0|    }
 3229|      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))
  |  |  ------------------
  ------------------
 3230|      2|    if (it == NULL)
  ------------------
  |  Branch (3230:9): [True: 0, False: 2]
  ------------------
 3231|      0|        return NULL;
 3232|      2|    it->it_index = 0;  // -1 indicates exhausted
 3233|      2|    it->it_seq = (PyByteArrayObject *)Py_NewRef(seq);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3234|      2|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  502|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3235|      2|    return (PyObject *)it;
 3236|      2|}

_Py_bytes_lower:
  252|      8|{
  253|      8|    Py_ssize_t i;
  254|       |
  255|     54|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (255:17): [True: 46, False: 8]
  ------------------
  256|     46|        result[i] = Py_TOLOWER((unsigned char) cptr[i]);
  ------------------
  |  |   32|     46|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|     46|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  257|     46|    }
  258|      8|}
_Py_bytes_upper:
  268|     51|{
  269|     51|    Py_ssize_t i;
  270|       |
  271|    102|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (271:17): [True: 51, False: 51]
  ------------------
  272|     51|        result[i] = Py_TOUPPER((unsigned char) cptr[i]);
  ------------------
  |  |   33|     51|#define Py_TOUPPER(c) (_Py_ctype_toupper[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|     51|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  273|     51|    }
  274|     51|}
_Py_bytes_find:
  516|     28|{
  517|     28|    Py_ssize_t result = find_internal(str, len, "find", sub, start, end, +1);
  518|     28|    if (result == -2)
  ------------------
  |  Branch (518:9): [True: 0, False: 28]
  ------------------
  519|      0|        return NULL;
  520|     28|    return PyLong_FromSsize_t(result);
  521|     28|}
bytes_methods.c:find_internal:
  458|     28|{
  459|     28|    char byte;
  460|     28|    Py_buffer subbuf;
  461|     28|    const char *sub;
  462|     28|    Py_ssize_t sub_len;
  463|     28|    Py_ssize_t res;
  464|       |
  465|     28|    if (!parse_args_finds_byte(function_name, &subobj, &byte)) {
  ------------------
  |  Branch (465:9): [True: 0, False: 28]
  ------------------
  466|      0|        return -2;
  467|      0|    }
  468|       |
  469|     28|    if (subobj) {
  ------------------
  |  Branch (469:9): [True: 0, False: 28]
  ------------------
  470|      0|        if (PyObject_GetBuffer(subobj, &subbuf, PyBUF_SIMPLE) != 0)
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (470:13): [True: 0, False: 0]
  ------------------
  471|      0|            return -2;
  472|       |
  473|      0|        sub = subbuf.buf;
  474|      0|        sub_len = subbuf.len;
  475|      0|    }
  476|     28|    else {
  477|     28|        sub = &byte;
  478|     28|        sub_len = 1;
  479|     28|    }
  480|       |
  481|     28|    ADJUST_INDICES(start, end, len);
  ------------------
  |  |  435|     28|    do {                                \
  |  |  436|     28|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (436:13): [True: 28, False: 0]
  |  |  ------------------
  |  |  437|     28|            end = len;                  \
  |  |  438|     28|        }                               \
  |  |  439|     28|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (439:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  440|      0|            end += len;                 \
  |  |  441|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (441:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  442|      0|                end = 0;                \
  |  |  443|      0|            }                           \
  |  |  444|      0|        }                               \
  |  |  445|     28|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (445:13): [True: 0, False: 28]
  |  |  ------------------
  |  |  446|      0|            start += len;               \
  |  |  447|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (447:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  448|      0|                start = 0;              \
  |  |  449|      0|            }                           \
  |  |  450|      0|        }                               \
  |  |  451|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (451:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
  482|     28|    if (end - start < sub_len)
  ------------------
  |  Branch (482:9): [True: 0, False: 28]
  ------------------
  483|      0|        res = -1;
  484|     28|    else if (sub_len == 1) {
  ------------------
  |  Branch (484:14): [True: 28, False: 0]
  ------------------
  485|     28|        if (dir > 0)
  ------------------
  |  Branch (485:13): [True: 28, False: 0]
  ------------------
  486|     28|            res = stringlib_find_char(
  487|     28|                str + start, end - start,
  488|     28|                *sub);
  489|      0|        else
  490|      0|            res = stringlib_rfind_char(
  491|      0|                str + start, end - start,
  492|      0|                *sub);
  493|     28|        if (res >= 0)
  ------------------
  |  Branch (493:13): [True: 25, False: 3]
  ------------------
  494|     25|            res += start;
  495|     28|    }
  496|      0|    else {
  497|      0|        if (dir > 0)
  ------------------
  |  Branch (497:13): [True: 0, False: 0]
  ------------------
  498|      0|            res = stringlib_find_slice(
  499|      0|                str, len,
  500|      0|                sub, sub_len, start, end);
  501|      0|        else
  502|      0|            res = stringlib_rfind_slice(
  503|      0|                str, len,
  504|      0|                sub, sub_len, start, end);
  505|      0|    }
  506|       |
  507|     28|    if (subobj)
  ------------------
  |  Branch (507:9): [True: 0, False: 28]
  ------------------
  508|      0|        PyBuffer_Release(&subbuf);
  509|       |
  510|     28|    return res;
  511|     28|}
bytes_methods.c:parse_args_finds_byte:
  406|     28|{
  407|     28|    if (PyObject_CheckBuffer(*subobj)) {
  ------------------
  |  Branch (407:9): [True: 0, False: 28]
  ------------------
  408|      0|        return 1;
  409|      0|    }
  410|       |
  411|     28|    if (!_PyIndex_Check(*subobj)) {
  ------------------
  |  Branch (411:9): [True: 0, False: 28]
  ------------------
  412|      0|        PyErr_Format(PyExc_TypeError,
  413|      0|                     "argument should be integer or bytes-like object, "
  414|      0|                     "not '%.200s'",
  415|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  416|      0|        return 0;
  417|      0|    }
  418|       |
  419|     28|    Py_ssize_t ival = PyNumber_AsSsize_t(*subobj, NULL);
  420|     28|    if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (420:9): [True: 0, False: 28]
  |  Branch (420:23): [True: 0, False: 0]
  ------------------
  421|      0|        return 0;
  422|      0|    }
  423|     28|    if (ival < 0 || ival > 255) {
  ------------------
  |  Branch (423:9): [True: 0, False: 28]
  |  Branch (423:21): [True: 0, False: 28]
  ------------------
  424|      0|        PyErr_SetString(PyExc_ValueError, "byte must be in range(0, 256)");
  425|      0|        return 0;
  426|      0|    }
  427|       |
  428|     28|    *subobj = NULL;
  429|     28|    *byte = (char)ival;
  430|     28|    return 1;
  431|     28|}

PyBytes_FromStringAndSize:
  197|  1.51M|{
  198|  1.51M|    if (size < 0) {
  ------------------
  |  Branch (198:9): [True: 0, False: 1.51M]
  ------------------
  199|      0|        PyErr_SetString(PyExc_SystemError,
  200|      0|            "Negative size passed to PyBytes_FromStringAndSize");
  201|      0|        return NULL;
  202|      0|    }
  203|       |
  204|  1.51M|    if (str != NULL) {
  ------------------
  |  Branch (204:9): [True: 1.51M, False: 34]
  ------------------
  205|  1.51M|        return _PyBytes_FromStringAndSize(str, size);
  206|  1.51M|    }
  207|     34|    else {
  208|     34|        if (size == 0) {
  ------------------
  |  Branch (208:13): [True: 2, False: 32]
  ------------------
  209|      2|            return bytes_get_empty();
  210|      2|        }
  211|     32|        return bytes_alloc(size);
  212|     34|    }
  213|  1.51M|}
_PyBytes_DecodeEscape2:
 1236|     20|{
 1237|     20|    PyBytesWriter *writer = PyBytesWriter_Create(len);
 1238|     20|    if (writer == NULL) {
  ------------------
  |  Branch (1238:9): [True: 0, False: 20]
  ------------------
 1239|      0|        return NULL;
 1240|      0|    }
 1241|     20|    char *p = PyBytesWriter_GetData(writer);
 1242|       |
 1243|     20|    *first_invalid_escape_char = -1;
 1244|     20|    *first_invalid_escape_ptr = NULL;
 1245|       |
 1246|     20|    const char *end = s + len;
 1247|  2.08M|    while (s < end) {
  ------------------
  |  Branch (1247:12): [True: 2.08M, False: 20]
  ------------------
 1248|  2.08M|        if (*s != '\\') {
  ------------------
  |  Branch (1248:13): [True: 2.07M, False: 4.96k]
  ------------------
 1249|  2.07M|            *p++ = *s++;
 1250|  2.07M|            continue;
 1251|  2.07M|        }
 1252|       |
 1253|  4.96k|        s++;
 1254|  4.96k|        if (s == end) {
  ------------------
  |  Branch (1254:13): [True: 0, False: 4.96k]
  ------------------
 1255|      0|            PyErr_SetString(PyExc_ValueError,
 1256|      0|                            "Trailing \\ in string");
 1257|      0|            goto failed;
 1258|      0|        }
 1259|       |
 1260|  4.96k|        switch (*s++) {
 1261|       |        /* XXX This assumes ASCII! */
 1262|      0|        case '\n': break;
  ------------------
  |  Branch (1262:9): [True: 0, False: 4.96k]
  ------------------
 1263|      8|        case '\\': *p++ = '\\'; break;
  ------------------
  |  Branch (1263:9): [True: 8, False: 4.95k]
  ------------------
 1264|  1.14k|        case '\'': *p++ = '\''; break;
  ------------------
  |  Branch (1264:9): [True: 1.14k, False: 3.81k]
  ------------------
 1265|      0|        case '\"': *p++ = '\"'; break;
  ------------------
  |  Branch (1265:9): [True: 0, False: 4.96k]
  ------------------
 1266|      0|        case 'b': *p++ = '\b'; break;
  ------------------
  |  Branch (1266:9): [True: 0, False: 4.96k]
  ------------------
 1267|      0|        case 'f': *p++ = '\014'; break; /* FF */
  ------------------
  |  Branch (1267:9): [True: 0, False: 4.96k]
  ------------------
 1268|      0|        case 't': *p++ = '\t'; break;
  ------------------
  |  Branch (1268:9): [True: 0, False: 4.96k]
  ------------------
 1269|      0|        case 'n': *p++ = '\n'; break;
  ------------------
  |  Branch (1269:9): [True: 0, False: 4.96k]
  ------------------
 1270|      0|        case 'r': *p++ = '\r'; break;
  ------------------
  |  Branch (1270:9): [True: 0, False: 4.96k]
  ------------------
 1271|      7|        case 'v': *p++ = '\013'; break; /* VT */
  ------------------
  |  Branch (1271:9): [True: 7, False: 4.95k]
  ------------------
 1272|    852|        case 'a': *p++ = '\007'; break; /* BEL, not classic C */
  ------------------
  |  Branch (1272:9): [True: 852, False: 4.11k]
  ------------------
 1273|      0|        case '0': case '1': case '2': case '3':
  ------------------
  |  Branch (1273:9): [True: 0, False: 4.96k]
  |  Branch (1273:19): [True: 0, False: 4.96k]
  |  Branch (1273:29): [True: 0, False: 4.96k]
  |  Branch (1273:39): [True: 0, False: 4.96k]
  ------------------
 1274|      0|        case '4': case '5': case '6': case '7':
  ------------------
  |  Branch (1274:9): [True: 0, False: 4.96k]
  |  Branch (1274:19): [True: 0, False: 4.96k]
  |  Branch (1274:29): [True: 0, False: 4.96k]
  |  Branch (1274:39): [True: 0, False: 4.96k]
  ------------------
 1275|      0|        {
 1276|      0|            int c = s[-1] - '0';
 1277|      0|            if (s < end && '0' <= *s && *s <= '7') {
  ------------------
  |  Branch (1277:17): [True: 0, False: 0]
  |  Branch (1277:28): [True: 0, False: 0]
  |  Branch (1277:41): [True: 0, False: 0]
  ------------------
 1278|      0|                c = (c<<3) + *s++ - '0';
 1279|      0|                if (s < end && '0' <= *s && *s <= '7')
  ------------------
  |  Branch (1279:21): [True: 0, False: 0]
  |  Branch (1279:32): [True: 0, False: 0]
  |  Branch (1279:45): [True: 0, False: 0]
  ------------------
 1280|      0|                    c = (c<<3) + *s++ - '0';
 1281|      0|            }
 1282|      0|            if (c > 0377) {
  ------------------
  |  Branch (1282:17): [True: 0, False: 0]
  ------------------
 1283|      0|                if (*first_invalid_escape_char == -1) {
  ------------------
  |  Branch (1283:21): [True: 0, False: 0]
  ------------------
 1284|      0|                    *first_invalid_escape_char = c;
 1285|       |                    /* Back up 3 chars, since we've already incremented s. */
 1286|      0|                    *first_invalid_escape_ptr = s - 3;
 1287|      0|                }
 1288|      0|            }
 1289|      0|            *p++ = c;
 1290|      0|            break;
 1291|      0|        }
 1292|      2|        case 'x':
  ------------------
  |  Branch (1292:9): [True: 2, False: 4.96k]
  ------------------
 1293|      2|            if (s+1 < end) {
  ------------------
  |  Branch (1293:17): [True: 2, False: 0]
  ------------------
 1294|      2|                int digit1, digit2;
 1295|      2|                digit1 = _PyLong_DigitValue[Py_CHARMASK(s[0])];
  ------------------
  |  |  170|      2|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1296|      2|                digit2 = _PyLong_DigitValue[Py_CHARMASK(s[1])];
  ------------------
  |  |  170|      2|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1297|      2|                if (digit1 < 16 && digit2 < 16) {
  ------------------
  |  Branch (1297:21): [True: 2, False: 0]
  |  Branch (1297:36): [True: 2, False: 0]
  ------------------
 1298|      2|                    *p++ = (unsigned char)((digit1 << 4) + digit2);
 1299|      2|                    s += 2;
 1300|      2|                    break;
 1301|      2|                }
 1302|      2|            }
 1303|       |            /* invalid hexadecimal digits */
 1304|       |
 1305|      0|            if (!errors || strcmp(errors, "strict") == 0) {
  ------------------
  |  Branch (1305:17): [True: 0, False: 0]
  |  Branch (1305:28): [True: 0, False: 0]
  ------------------
 1306|      0|                PyErr_Format(PyExc_ValueError,
 1307|      0|                             "invalid \\x escape at position %zd",
 1308|      0|                             s - 2 - (end - len));
 1309|      0|                goto failed;
 1310|      0|            }
 1311|      0|            if (strcmp(errors, "replace") == 0) {
  ------------------
  |  Branch (1311:17): [True: 0, False: 0]
  ------------------
 1312|      0|                *p++ = '?';
 1313|      0|            } else if (strcmp(errors, "ignore") == 0)
  ------------------
  |  Branch (1313:24): [True: 0, False: 0]
  ------------------
 1314|      0|                /* do nothing */;
 1315|      0|            else {
 1316|      0|                PyErr_Format(PyExc_ValueError,
 1317|      0|                             "decoding error; unknown "
 1318|      0|                             "error handling code: %.400s",
 1319|      0|                             errors);
 1320|      0|                goto failed;
 1321|      0|            }
 1322|       |            /* skip \x */
 1323|      0|            if (s < end && Py_ISXDIGIT(s[0]))
  ------------------
  |  |   25|      0|#define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |  170|      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 (1323:17): [True: 0, False: 0]
  ------------------
 1324|      0|                s++; /* and a hexdigit */
 1325|      0|            break;
 1326|       |
 1327|  2.94k|        default:
  ------------------
  |  Branch (1327:9): [True: 2.94k, False: 2.01k]
  ------------------
 1328|  2.94k|            if (*first_invalid_escape_char == -1) {
  ------------------
  |  Branch (1328:17): [True: 20, False: 2.92k]
  ------------------
 1329|     20|                *first_invalid_escape_char = (unsigned char)s[-1];
 1330|       |                /* Back up one char, since we've already incremented s. */
 1331|     20|                *first_invalid_escape_ptr = s - 1;
 1332|     20|            }
 1333|  2.94k|            *p++ = '\\';
 1334|  2.94k|            s--;
 1335|  4.96k|        }
 1336|  4.96k|    }
 1337|       |
 1338|     20|    return PyBytesWriter_FinishWithPointer(writer, p);
 1339|       |
 1340|      0|  failed:
 1341|      0|    PyBytesWriter_Discard(writer);
 1342|       |    return NULL;
 1343|     20|}
PyBytes_Size:
 1387|     82|{
 1388|     82|    if (!PyBytes_Check(op)) {
  ------------------
  |  |   28|     82|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     82|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1388:9): [True: 0, False: 82]
  ------------------
 1389|      0|        PyErr_Format(PyExc_TypeError,
 1390|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1391|      0|        return -1;
 1392|      0|    }
 1393|     82|    return Py_SIZE(op);
  ------------------
  |  |  214|     82|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1394|     82|}
PyBytes_AsString:
 1398|  3.00M|{
 1399|  3.00M|    if (!PyBytes_Check(op)) {
  ------------------
  |  |   28|  3.00M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.00M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1399:9): [True: 0, False: 3.00M]
  ------------------
 1400|      0|        PyErr_Format(PyExc_TypeError,
 1401|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1402|      0|        return NULL;
 1403|      0|    }
 1404|  3.00M|    return ((PyBytesObject *)op)->ob_sval;
 1405|  3.00M|}
PyBytes_AsStringAndSize:
 1411|    177|{
 1412|    177|    if (s == NULL) {
  ------------------
  |  Branch (1412:9): [True: 0, False: 177]
  ------------------
 1413|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1414|      0|        return -1;
 1415|      0|    }
 1416|       |
 1417|    177|    if (!PyBytes_Check(obj)) {
  ------------------
  |  |   28|    177|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    177|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1417:9): [True: 0, False: 177]
  ------------------
 1418|      0|        PyErr_Format(PyExc_TypeError,
 1419|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1420|      0|        return -1;
 1421|      0|    }
 1422|       |
 1423|    177|    *s = PyBytes_AS_STRING(obj);
  ------------------
  |  |   27|    177|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    177|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    177|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1424|    177|    if (len != NULL)
  ------------------
  |  Branch (1424:9): [True: 167, False: 10]
  ------------------
 1425|    167|        *len = PyBytes_GET_SIZE(obj);
  ------------------
  |  |   33|    167|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    167|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    167|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1426|     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 (1426:14): [True: 0, False: 10]
  ------------------
 1427|      0|        PyErr_SetString(PyExc_ValueError,
 1428|      0|                        "embedded null byte");
 1429|      0|        return -1;
 1430|      0|    }
 1431|    177|    return 0;
 1432|    177|}
PyBytes_Repr:
 1491|      2|{
 1492|      2|    return _Py_bytes_repr(PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   27|      2|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _Py_bytes_repr(PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   33|      2|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1493|      2|                          smartquotes, "bytes");
 1494|      2|}
_Py_bytes_repr:
 1499|      2|{
 1500|      2|    Py_ssize_t i;
 1501|      2|    Py_ssize_t newsize, squotes, dquotes;
 1502|      2|    PyObject *v;
 1503|      2|    unsigned char quote;
 1504|      2|    Py_UCS1 *p;
 1505|       |
 1506|       |    /* Compute size of output string */
 1507|      2|    squotes = dquotes = 0;
 1508|      2|    newsize = 3; /* b'' */
 1509|  2.08M|    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (1509:17): [True: 2.08M, False: 2]
  ------------------
 1510|  2.08M|        unsigned char c = data[i];
 1511|  2.08M|        Py_ssize_t incr = 1;
 1512|  2.08M|        switch(c) {
 1513|  1.14k|        case '\'': squotes++; break;
  ------------------
  |  Branch (1513:9): [True: 1.14k, False: 2.08M]
  ------------------
 1514|  1.54k|        case '"':  dquotes++; break;
  ------------------
  |  Branch (1514:9): [True: 1.54k, False: 2.08M]
  ------------------
 1515|  2.95k|        case '\\': case '\t': case '\n': case '\r':
  ------------------
  |  Branch (1515:9): [True: 2.95k, False: 2.08M]
  |  Branch (1515:20): [True: 0, False: 2.08M]
  |  Branch (1515:31): [True: 0, False: 2.08M]
  |  Branch (1515:42): [True: 0, False: 2.08M]
  ------------------
 1516|  2.95k|            incr = 2; break; /* \C */
 1517|  2.07M|        default:
  ------------------
  |  Branch (1517:9): [True: 2.07M, False: 5.64k]
  ------------------
 1518|  2.07M|            if (c < ' ' || c >= 0x7f)
  ------------------
  |  Branch (1518:17): [True: 782k, False: 1.29M]
  |  Branch (1518:28): [True: 116, False: 1.29M]
  ------------------
 1519|   782k|                incr = 4; /* \xHH */
 1520|  2.08M|        }
 1521|  2.08M|        if (newsize > PY_SSIZE_T_MAX - incr)
  ------------------
  |  |  137|  2.08M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1521:13): [True: 0, False: 2.08M]
  ------------------
 1522|      0|            goto overflow;
 1523|  2.08M|        newsize += incr;
 1524|  2.08M|    }
 1525|      2|    quote = '\'';
 1526|      2|    if (smartquotes && squotes && !dquotes)
  ------------------
  |  Branch (1526:9): [True: 2, False: 0]
  |  Branch (1526:24): [True: 2, False: 0]
  |  Branch (1526:35): [True: 0, False: 2]
  ------------------
 1527|      0|        quote = '"';
 1528|      2|    if (squotes && quote == '\'') {
  ------------------
  |  Branch (1528:9): [True: 2, False: 0]
  |  Branch (1528:20): [True: 2, False: 0]
  ------------------
 1529|      2|        if (newsize > PY_SSIZE_T_MAX - squotes)
  ------------------
  |  |  137|      2|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1529:13): [True: 0, False: 2]
  ------------------
 1530|      0|            goto overflow;
 1531|      2|        newsize += squotes;
 1532|      2|    }
 1533|       |
 1534|      2|    v = PyUnicode_New(newsize, 127);
 1535|      2|    if (v == NULL) {
  ------------------
  |  Branch (1535:9): [True: 0, False: 2]
  ------------------
 1536|      0|        return NULL;
 1537|      0|    }
 1538|      2|    p = PyUnicode_1BYTE_DATA(v);
  ------------------
  |  |  292|      2|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      2|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1539|       |
 1540|      2|    *p++ = 'b', *p++ = quote;
 1541|  2.08M|    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (1541:17): [True: 2.08M, False: 2]
  ------------------
 1542|  2.08M|        unsigned char c = data[i];
 1543|  2.08M|        if (c == quote || c == '\\')
  ------------------
  |  Branch (1543:13): [True: 1.14k, False: 2.08M]
  |  Branch (1543:27): [True: 2.95k, False: 2.08M]
  ------------------
 1544|  4.10k|            *p++ = '\\', *p++ = c;
 1545|  2.08M|        else if (c == '\t')
  ------------------
  |  Branch (1545:18): [True: 0, False: 2.08M]
  ------------------
 1546|      0|            *p++ = '\\', *p++ = 't';
 1547|  2.08M|        else if (c == '\n')
  ------------------
  |  Branch (1547:18): [True: 0, False: 2.08M]
  ------------------
 1548|      0|            *p++ = '\\', *p++ = 'n';
 1549|  2.08M|        else if (c == '\r')
  ------------------
  |  Branch (1549:18): [True: 0, False: 2.08M]
  ------------------
 1550|      0|            *p++ = '\\', *p++ = 'r';
 1551|  2.08M|        else if (c < ' ' || c >= 0x7f) {
  ------------------
  |  Branch (1551:18): [True: 782k, False: 1.29M]
  |  Branch (1551:29): [True: 116, False: 1.29M]
  ------------------
 1552|   782k|            *p++ = '\\';
 1553|   782k|            *p++ = 'x';
 1554|   782k|            *p++ = Py_hexdigits[(c & 0xf0) >> 4];
 1555|   782k|            *p++ = Py_hexdigits[c & 0xf];
 1556|   782k|        }
 1557|  1.29M|        else
 1558|  1.29M|            *p++ = c;
 1559|  2.08M|    }
 1560|      2|    *p++ = quote;
 1561|      2|    assert(_PyUnicode_CheckConsistency(v, 1));
  ------------------
  |  Branch (1561:5): [True: 2, False: 0]
  ------------------
 1562|      2|    return v;
 1563|       |
 1564|      0|  overflow:
 1565|      0|    PyErr_Format(PyExc_OverflowError,
 1566|      0|                 "%s object is too large to make repr", classname);
 1567|       |    return NULL;
 1568|      2|}
_PyBytes_IsMutable:
 3395|    574|{
 3396|    574|    assert(PyBytes_Check(self));
  ------------------
  |  Branch (3396:5): [True: 574, False: 0]
  ------------------
 3397|       |    // Do not use _PyObject_IsUniquelyReferenced(): this function is called
 3398|       |    // by bytearray and PyBytesWriter which can be used by multiple threads.
 3399|    574|    assert(Py_REFCNT(self) == 1);
  ------------------
  |  Branch (3399:5): [True: 574, False: 0]
  ------------------
 3400|    574|    assert(!_Py_IsImmortal(self));
  ------------------
  |  Branch (3400:5): [True: 574, False: 0]
  ------------------
 3401|       |
 3402|       |    // Check that the object is not a singleton
 3403|    574|    Py_ssize_t size = PyBytes_GET_SIZE(self);
  ------------------
  |  |   33|    574|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    574|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    574|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3404|    574|    if (size == 0) {
  ------------------
  |  Branch (3404:9): [True: 0, False: 574]
  ------------------
 3405|      0|        assert(self != bytes_get_empty());
  ------------------
  |  Branch (3405:9): [True: 0, False: 0]
  ------------------
 3406|      0|    }
 3407|    574|    else if (size == 1) {
  ------------------
  |  Branch (3407:14): [True: 0, False: 574]
  ------------------
 3408|      0|        unsigned char ch = PyBytes_AS_STRING(self)[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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3409|      0|        assert(self != (PyObject*)CHARACTER(ch));
  ------------------
  |  Branch (3409:9): [True: 0, False: 0]
  ------------------
 3410|      0|    }
 3411|       |
 3412|       |    // gh-158219: The hash value must not be cached yet. Otherwise, it means
 3413|       |    // that the bytes object was already used in Python somehow (ex: as a
 3414|       |    // dictionary key).
 3415|    574|    assert(get_ob_shash((PyBytesObject *)self) == -1);
  ------------------
  |  Branch (3415:5): [True: 574, False: 0]
  ------------------
 3416|       |
 3417|    574|    return 1;
 3418|    574|}
_PyBytes_ResizeKeepOnError:
 3484|      6|{
 3485|      6|    PyObject *v = *pv;
 3486|       |
 3487|      6|    if (!PyBytes_Check(v) || newsize < 0) {
  ------------------
  |  |   28|      6|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     12|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3487:9): [True: 0, False: 6]
  |  Branch (3487:30): [True: 0, False: 6]
  ------------------
 3488|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3489|      0|        return -1;
 3490|      0|    }
 3491|       |
 3492|      6|    Py_ssize_t oldsize = PyBytes_GET_SIZE(v);
  ------------------
  |  |   33|      6|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3493|      6|    if (oldsize == newsize) {
  ------------------
  |  Branch (3493:9): [True: 0, False: 6]
  ------------------
 3494|       |        // Leave the object unchanged if the new size is the same as the old
 3495|       |        // size, even if the object is not uniquely referenced or if the hash
 3496|       |        // value was already computed.
 3497|      0|        return 0;
 3498|      0|    }
 3499|       |
 3500|      6|    if (oldsize == 0) {
  ------------------
  |  Branch (3500:9): [True: 6, False: 0]
  ------------------
 3501|      6|        assert(newsize >= 1);
  ------------------
  |  Branch (3501:9): [True: 6, False: 0]
  ------------------
 3502|      6|        PyObject *result = bytes_alloc(newsize);
 3503|      6|        if (result == NULL) {
  ------------------
  |  Branch (3503:13): [True: 0, False: 6]
  ------------------
 3504|      0|            return -1;
 3505|      0|        }
 3506|      6|        *pv = result;
 3507|      6|        Py_DECREF(v);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3508|      6|        assert(_PyBytes_IsMutable(*pv));
  ------------------
  |  Branch (3508:9): [True: 6, False: 0]
  ------------------
 3509|      6|        return 0;
 3510|      6|    }
 3511|       |
 3512|      0|    if (newsize == 0) {
  ------------------
  |  Branch (3512:9): [True: 0, False: 0]
  ------------------
 3513|      0|        *pv = bytes_get_empty();  // cannot fail
 3514|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3515|      0|        return 0;
 3516|      0|    }
 3517|       |
 3518|      0|    if (!_PyObject_IsUniquelyReferenced(v)
  ------------------
  |  Branch (3518:9): [True: 0, False: 0]
  ------------------
 3519|       |        // Return a copy if the hash value was already computed
 3520|      0|        || get_ob_shash((PyBytesObject *)v) != -1)
  ------------------
  |  |   92|      0|#define get_ob_shash(op) _PyBytes_GET_CACHED_HASH(op)
  ------------------
  |  Branch (3520:12): [True: 0, False: 0]
  ------------------
 3521|      0|    {
 3522|       |        // Allocate and then copy so we don't get a shared immortal
 3523|       |        // one-character singleton!
 3524|      0|        PyObject *result = bytes_alloc(newsize);
 3525|      0|        if (!result) {
  ------------------
  |  Branch (3525:13): [True: 0, False: 0]
  ------------------
 3526|      0|            return -1;
 3527|      0|        }
 3528|       |
 3529|      0|        memcpy(PyBytes_AS_STRING(result), PyBytes_AS_STRING(v),
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      memcpy(PyBytes_AS_STRING(result), PyBytes_AS_STRING(v),
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3530|      0|               Py_MIN(oldsize, newsize));
  ------------------
  |  |  127|      0|       __extension__ \
  |  |  128|      0|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      0|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      0|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3531|      0|        *pv = result;
 3532|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3533|      0|        assert(_PyBytes_IsMutable(*pv));
  ------------------
  |  Branch (3533:9): [True: 0, False: 0]
  ------------------
 3534|      0|        return 0;
 3535|      0|    }
 3536|       |
 3537|      0|    return bytes_resize_inplace(pv, newsize);
 3538|      0|}
PyBytesWriter_Create:
 3957|    112|{
 3958|    112|    return byteswriter_create(size, 0);
 3959|    112|}
PyBytesWriter_Discard:
 3970|     59|{
 3971|     59|    if (writer == NULL) {
  ------------------
  |  Branch (3971:9): [True: 12, False: 47]
  ------------------
 3972|     12|        return;
 3973|     12|    }
 3974|       |
 3975|     59|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (3975:5): [True: 47, False: 0]
  ------------------
 3976|     47|    if (writer->obj != NULL) {
  ------------------
  |  Branch (3976:9): [True: 47, False: 0]
  ------------------
 3977|       |#ifdef Py_DEBUG
 3978|       |        byteswriter_reset_trailing_byte(writer);
 3979|       |#endif
 3980|     47|        Py_DECREF(writer->obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3981|     47|    }
 3982|     47|    _Py_FREELIST_FREE(bytes_writers, writer, PyMem_Free);
  ------------------
  |  |   35|     47|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|     47|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     47|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|     47|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   30|     47|#  define Py_bytes_writers_MAXFREELIST 1
  |  |  ------------------
  ------------------
 3983|     47|}
PyBytesWriter_FinishWithSize:
 4061|     62|{
 4062|     62|    if (size < 0) {
  ------------------
  |  Branch (4062:9): [True: 0, False: 62]
  ------------------
 4063|      0|        PyErr_Format(PyExc_ValueError, "size must be positive");
 4064|      0|        goto error;
 4065|      0|    }
 4066|     62|    if (size > writer->size) {
  ------------------
  |  Branch (4066:9): [True: 0, False: 62]
  ------------------
 4067|      0|        PyErr_SetString(PyExc_ValueError, "size larger than allocated size");
 4068|      0|        goto error;
 4069|      0|    }
 4070|     62|    return byteswriter_finish_with_size(writer, size);
 4071|       |
 4072|      0|error:
 4073|      0|    PyBytesWriter_Discard(writer);
 4074|       |    return NULL;
 4075|     62|}
PyBytesWriter_Finish:
 4079|      3|{
 4080|      3|    return byteswriter_finish_with_size(writer, writer->size);
 4081|      3|}
PyBytesWriter_FinishWithPointer:
 4086|     23|{
 4087|     23|    Py_ssize_t size = (char*)buf - _PyBytesWriter_GetData(writer);
 4088|       |    // Call PyBytesWriter_FinishWithSize() to check size
 4089|     23|    return PyBytesWriter_FinishWithSize(writer, size);
 4090|     23|}
PyBytesWriter_GetData:
 4095|    248|{
 4096|    248|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (4096:5): [True: 248, False: 0]
  ------------------
 4097|       |
 4098|    248|    return _PyBytesWriter_GetData(writer);
 4099|    248|}
PyBytesWriter_GetSize:
 4104|     42|{
 4105|     42|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (4105:5): [True: 42, False: 0]
  ------------------
 4106|       |
 4107|     42|    return _PyBytesWriter_GetSize(writer);
 4108|     42|}
PyBytesWriter_Resize:
 4113|      2|{
 4114|      2|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (4114:5): [True: 2, False: 0]
  ------------------
 4115|       |
 4116|      2|    if (new_size < 0) {
  ------------------
  |  Branch (4116:9): [True: 0, False: 2]
  ------------------
 4117|      0|        PyErr_SetString(PyExc_ValueError, "size must be >= 0");
 4118|      0|        return -1;
 4119|      0|    }
 4120|      2|    if (writer->size < new_size) {
  ------------------
  |  Branch (4120:9): [True: 2, False: 0]
  ------------------
 4121|      2|        if (byteswriter_resize(writer, new_size, 1) < 0) {
  ------------------
  |  Branch (4121:13): [True: 0, False: 2]
  ------------------
 4122|      0|            return -1;
 4123|      0|        }
 4124|      2|    }
 4125|      0|    else {
 4126|       |        // The buffer is already large enough. Never shrink the buffer.
 4127|      0|    }
 4128|       |
 4129|      2|    writer->size = new_size;
 4130|       |#ifdef Py_DEBUG
 4131|       |    byteswriter_write_canary_byte(writer);
 4132|       |#endif
 4133|      2|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (4133:5): [True: 2, False: 0]
  ------------------
 4134|      2|    return 0;
 4135|      2|}
bytesobject.c:_PyBytes_FromStringAndSize:
  176|  1.51M|{
  177|  1.51M|    assert(str != NULL);
  ------------------
  |  Branch (177:5): [True: 1.51M, False: 0]
  ------------------
  178|  1.51M|    assert(size >= 0);
  ------------------
  |  Branch (178:5): [True: 1.51M, False: 0]
  ------------------
  179|       |
  180|  1.51M|    if (size == 0) {
  ------------------
  |  Branch (180:9): [True: 63, False: 1.51M]
  ------------------
  181|     63|        return bytes_get_empty();
  182|     63|    }
  183|  1.51M|    if (size == 1) {
  ------------------
  |  Branch (183:9): [True: 888k, False: 623k]
  ------------------
  184|   888k|        return bytes_get_char((uint8_t)str[0]);
  185|   888k|    }
  186|       |
  187|   623k|    PyBytesObject *op = (PyBytesObject *)bytes_alloc(size);
  188|   623k|    if (op == NULL) {
  ------------------
  |  Branch (188:9): [True: 0, False: 623k]
  ------------------
  189|      0|        return NULL;
  190|      0|    }
  191|   623k|    memcpy(op->ob_sval, str, size);
  192|   623k|    return (PyObject *) op;
  193|   623k|}
bytesobject.c:bytes_get_empty:
   47|     69|{
   48|     69|    PyObject *empty = &EMPTY->ob_base.ob_base;
  ------------------
  |  |   41|     69|#define EMPTY (&_Py_SINGLETON(bytes_empty))
  |  |  ------------------
  |  |  |  |   18|     69|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     69|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|     69|    assert(_Py_IsImmortal(empty));
  ------------------
  |  Branch (49:5): [True: 69, False: 0]
  ------------------
   50|     69|    return empty;
   51|     69|}
bytesobject.c:bytes_alloc:
  122|   623k|{
  123|   623k|    assert(size >= 1);
  ------------------
  |  Branch (123:5): [True: 623k, False: 0]
  ------------------
  124|       |
  125|   623k|    if ((size_t)size > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |  137|   623k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if ((size_t)size > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |   30|   623k|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|   623k|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (125:9): [True: 0, False: 623k]
  ------------------
  126|      0|        PyErr_SetString(PyExc_OverflowError,
  127|      0|                        "byte string is too large");
  128|      0|        return NULL;
  129|      0|    }
  130|   623k|    size_t alloc = PyBytesObject_SIZE + size;
  ------------------
  |  |   30|   623k|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|   623k|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  131|       |
  132|       |    /* Inline PyObject_NewVar */
  133|   623k|    PyBytesObject *op = (PyBytesObject *)PyObject_Malloc(alloc);
  134|   623k|    if (op == NULL) {
  ------------------
  |  Branch (134:9): [True: 0, False: 623k]
  ------------------
  135|      0|        return PyErr_NoMemory();
  136|      0|    }
  137|       |
  138|   623k|    _PyObject_InitVar(_PyVarObject_CAST(op), &PyBytes_Type, size);
  ------------------
  |  |  182|   623k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   623k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  139|   623k|    set_ob_shash_unsafe(op, -1);
  140|   623k|    op->ob_sval[size] = '\0';
  141|   623k|    return (PyObject *) op;
  142|   623k|}
bytesobject.c:set_ob_shash_unsafe:
   81|   623k|{
   82|       |    // Don't test _PyObject_IsUniquelyReferenced(), so the function can be
   83|       |    // called by bytes_resize_inplace().
   84|   623k|    assert(Py_REFCNT(a) == 1);
  ------------------
  |  Branch (84:5): [True: 623k, False: 0]
  ------------------
   85|       |
   86|   623k|_Py_COMP_DIAG_PUSH
   87|   623k|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
   88|   623k|    a->ob_shash = hash;
   89|   623k|_Py_COMP_DIAG_POP
   90|   623k|}
bytesobject.c:bytes_get_char:
   57|   888k|{
   58|   888k|    PyObject *obj = (PyObject*)CHARACTER(ch);
  ------------------
  |  |   40|   888k|     ((PyBytesObject *)&(CHARACTERS[ch]))
  |  |  ------------------
  |  |  |  |   38|   888k|#define CHARACTERS _Py_SINGLETON(bytes_characters)
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|   888k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|   888k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   59|   888k|    assert(_Py_IsImmortal(obj));
  ------------------
  |  Branch (59:5): [True: 888k, False: 0]
  ------------------
   60|   888k|    return obj;
   61|   888k|}
bytesobject.c:byteswriter_allocated:
 3748|     99|{
 3749|     99|    if (writer->obj == NULL) {
  ------------------
  |  Branch (3749:9): [True: 99, False: 0]
  ------------------
 3750|       |        // Reserve the last byte for the canary byte
 3751|     99|        return sizeof(writer->small_buffer) - 1;
 3752|     99|    }
 3753|      0|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (3753:14): [True: 0, False: 0]
  ------------------
 3754|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3755|      0|    }
 3756|      0|    else {
 3757|      0|        return PyBytes_GET_SIZE(writer->obj);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3758|      0|    }
 3759|     99|}
bytesobject.c:bytes_repr:
 1572|      2|{
 1573|      2|    return PyBytes_Repr(op, 1);
 1574|      2|}
bytesobject.c:bytes_length:
 1590|    108|{
 1591|    108|    PyBytesObject *a = _PyBytes_CAST(self);
  ------------------
  |  |   21|    108|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1591:24): [True: 108, False: 0]
  ------------------
 1592|    108|    return Py_SIZE(a);
  ------------------
  |  |  214|    108|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    108|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1593|    108|}
bytesobject.c:bytes_subscript:
 1790|    108|{
 1791|    108|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|    108|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1791:27): [True: 108, False: 0]
  ------------------
 1792|    108|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (1792:9): [True: 0, False: 108]
  ------------------
 1793|      0|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 1794|      0|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1794:13): [True: 0, False: 0]
  |  Branch (1794:24): [True: 0, False: 0]
  ------------------
 1795|      0|            return NULL;
 1796|      0|        if (i < 0)
  ------------------
  |  Branch (1796:13): [True: 0, False: 0]
  ------------------
 1797|      0|            i += PyBytes_GET_SIZE(self);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1798|      0|        if (i < 0 || i >= PyBytes_GET_SIZE(self)) {
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1798:13): [True: 0, False: 0]
  |  Branch (1798:22): [True: 0, False: 0]
  ------------------
 1799|      0|            PyErr_SetString(PyExc_IndexError,
 1800|      0|                            "index out of range");
 1801|      0|            return NULL;
 1802|      0|        }
 1803|      0|        return _PyLong_FromUnsignedChar((unsigned char)self->ob_sval[i]);
 1804|      0|    }
 1805|    108|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|    108|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|    108|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    108|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 108, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1806|    108|        Py_ssize_t start, stop, step, slicelength, i;
 1807|    108|        size_t cur;
 1808|    108|        const char* source_buf;
 1809|    108|        char* result_buf;
 1810|       |
 1811|    108|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (1811:13): [True: 0, False: 108]
  ------------------
 1812|      0|            return NULL;
 1813|      0|        }
 1814|    108|        slicelength = PySlice_AdjustIndices(PyBytes_GET_SIZE(self), &start,
  ------------------
  |  |   33|    108|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    108|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1815|    108|                                            &stop, step);
 1816|       |
 1817|    108|        if (slicelength <= 0) {
  ------------------
  |  Branch (1817:13): [True: 0, False: 108]
  ------------------
 1818|      0|            return Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|      0|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 1819|      0|        }
 1820|    108|        else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (1820:18): [True: 27, False: 81]
  |  Branch (1820:32): [True: 27, False: 0]
  ------------------
 1821|     27|                 slicelength == PyBytes_GET_SIZE(self) &&
  ------------------
  |  |   33|    135|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1821:18): [True: 0, False: 27]
  ------------------
 1822|      0|                 PyBytes_CheckExact(self)) {
  ------------------
  |  |   29|      0|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1823|      0|            return Py_NewRef(self);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1824|      0|        }
 1825|    108|        else if (step == 1) {
  ------------------
  |  Branch (1825:18): [True: 108, False: 0]
  ------------------
 1826|    108|            return _PyBytes_FromStringAndSize(
 1827|    108|                PyBytes_AS_STRING(self) + start,
  ------------------
  |  |   27|    108|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    108|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1828|    108|                slicelength);
 1829|    108|        }
 1830|      0|        else {
 1831|      0|            source_buf = PyBytes_AS_STRING(self);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1832|      0|            PyObject* result = bytes_alloc(slicelength);
 1833|      0|            if (result == NULL) {
  ------------------
  |  Branch (1833:17): [True: 0, False: 0]
  ------------------
 1834|      0|                return NULL;
 1835|      0|            }
 1836|       |
 1837|      0|            result_buf = PyBytes_AS_STRING(result);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1838|      0|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (1838:38): [True: 0, False: 0]
  ------------------
 1839|      0|                 cur += step, i++) {
 1840|      0|                result_buf[i] = source_buf[cur];
 1841|      0|            }
 1842|      0|            return result;
 1843|      0|        }
 1844|    108|    }
 1845|      0|    else {
 1846|      0|        PyErr_Format(PyExc_TypeError,
 1847|      0|                     "byte indices must be integers or slices, not %.200s",
 1848|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1849|       |        return NULL;
 1850|      0|    }
 1851|    108|}
bytesobject.c:bytes_hash:
 1777|  3.00M|{
 1778|  3.00M|    PyBytesObject *a = _PyBytes_CAST(self);
  ------------------
  |  |   21|  3.00M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  3.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1778:24): [True: 3.00M, False: 0]
  ------------------
 1779|  3.00M|    Py_hash_t hash = get_ob_shash(a);
  ------------------
  |  |   92|  3.00M|#define get_ob_shash(op) _PyBytes_GET_CACHED_HASH(op)
  ------------------
 1780|  3.00M|    if (hash == -1) {
  ------------------
  |  Branch (1780:9): [True: 615k, False: 2.39M]
  ------------------
 1781|       |        /* Can't fail */
 1782|   615k|        hash = Py_HashBuffer(a->ob_sval, Py_SIZE(a));
  ------------------
  |  |  214|   615k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   615k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   615k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1783|   615k|        set_ob_shash(a, hash);
 1784|   615k|    }
 1785|  3.00M|    return hash;
 1786|  3.00M|}
bytesobject.c:set_ob_shash:
   66|   615k|{
   67|   615k|_Py_COMP_DIAG_PUSH
   68|   615k|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
   69|       |#ifdef Py_GIL_DISABLED
   70|       |    _Py_atomic_store_ssize_relaxed(&a->ob_shash, hash);
   71|       |#else
   72|   615k|    a->ob_shash = hash;
   73|   615k|#endif
   74|   615k|_Py_COMP_DIAG_POP
   75|   615k|}
bytesobject.c:bytes_buffer_getbuffer:
 1855|    150|{
 1856|    150|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|    150|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    150|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1856:27): [True: 150, False: 0]
  ------------------
 1857|    150|    return PyBuffer_FillInfo(view, (PyObject*)self, (void *)self->ob_sval, Py_SIZE(self),
  ------------------
  |  |  214|    150|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    150|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    150|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1858|    150|                             1, flags);
 1859|    150|}
bytesobject.c:bytes_richcompare:
 1714|     31|{
 1715|       |    /* Make sure both arguments are strings. */
 1716|     31|    if (!(PyBytes_Check(aa) && PyBytes_Check(bb))) {
  ------------------
  |  |   28|     31|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     62|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 31, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!(PyBytes_Check(aa) && PyBytes_Check(bb))) {
  ------------------
  |  |   28|     31|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     31|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 31, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1717|      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 (1717:13): [True: 0, False: 0]
  |  Branch (1717:48): [True: 0, False: 0]
  |  Branch (1717:63): [True: 0, False: 0]
  ------------------
 1718|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1719|      0|                if (PyErr_WarnEx(PyExc_BytesWarning,
  ------------------
  |  Branch (1719:21): [True: 0, False: 0]
  ------------------
 1720|      0|                                 "Comparison between bytes and string", 1))
 1721|      0|                    return NULL;
 1722|      0|            }
 1723|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1724|      0|                if (PyErr_WarnEx(PyExc_BytesWarning,
  ------------------
  |  Branch (1724:21): [True: 0, False: 0]
  ------------------
 1725|      0|                                 "Comparison between bytes and int", 1))
 1726|      0|                    return NULL;
 1727|      0|            }
 1728|      0|        }
 1729|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1730|      0|    }
 1731|       |
 1732|     31|    PyBytesObject *a = _PyBytes_CAST(aa);
  ------------------
  |  |   21|     31|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1732:24): [True: 31, False: 0]
  ------------------
 1733|     31|    PyBytesObject *b = _PyBytes_CAST(bb);
  ------------------
  |  |   21|     31|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1733:24): [True: 31, False: 0]
  ------------------
 1734|     31|    if (a == b) {
  ------------------
  |  Branch (1734:9): [True: 0, False: 31]
  ------------------
 1735|      0|        switch (op) {
 1736|      0|        case Py_EQ:
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  |  Branch (1736:9): [True: 0, False: 0]
  ------------------
 1737|      0|        case Py_LE:
  ------------------
  |  |  653|      0|#define Py_LE 1
  ------------------
  |  Branch (1737:9): [True: 0, False: 0]
  ------------------
 1738|      0|        case Py_GE:
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
  |  Branch (1738:9): [True: 0, False: 0]
  ------------------
 1739|       |            /* a byte string is equal to itself */
 1740|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1741|      0|        case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (1741:9): [True: 0, False: 0]
  ------------------
 1742|      0|        case Py_LT:
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  |  Branch (1742:9): [True: 0, False: 0]
  ------------------
 1743|      0|        case Py_GT:
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (1743:9): [True: 0, False: 0]
  ------------------
 1744|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1745|      0|        default:
  ------------------
  |  Branch (1745:9): [True: 0, False: 0]
  ------------------
 1746|      0|            PyErr_BadArgument();
 1747|      0|            return NULL;
 1748|      0|        }
 1749|      0|    }
 1750|     31|    else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  654|     62|#define Py_EQ 2
  ------------------
                  else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  655|     27|#define Py_NE 3
  ------------------
  |  Branch (1750:14): [True: 4, False: 27]
  |  Branch (1750:29): [True: 27, False: 0]
  ------------------
 1751|     31|        int eq = bytes_compare_eq(a, b);
 1752|     31|        eq ^= (op == Py_NE);
  ------------------
  |  |  655|     31|#define Py_NE 3
  ------------------
 1753|     31|        return PyBool_FromLong(eq);
 1754|     31|    }
 1755|      0|    else {
 1756|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1757|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1758|      0|        Py_ssize_t min_len = Py_MIN(len_a, len_b);
  ------------------
  |  |  127|      0|       __extension__ \
  |  |  128|      0|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      0|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      0|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1759|      0|        int c;
 1760|      0|        if (min_len > 0) {
  ------------------
  |  Branch (1760:13): [True: 0, False: 0]
  ------------------
 1761|      0|            c = Py_CHARMASK(*a->ob_sval) - Py_CHARMASK(*b->ob_sval);
  ------------------
  |  |  170|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
                          c = Py_CHARMASK(*a->ob_sval) - Py_CHARMASK(*b->ob_sval);
  ------------------
  |  |  170|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1762|      0|            if (c == 0)
  ------------------
  |  Branch (1762:17): [True: 0, False: 0]
  ------------------
 1763|      0|                c = memcmp(a->ob_sval, b->ob_sval, min_len);
 1764|      0|        }
 1765|      0|        else {
 1766|      0|            c = 0;
 1767|      0|        }
 1768|      0|        if (c != 0) {
  ------------------
  |  Branch (1768:13): [True: 0, False: 0]
  ------------------
 1769|      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();                                               \
  |  |  ------------------
  |  |  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|      0|        }                                                                   \
  |  |  685|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1770|      0|        }
 1771|      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();                                               \
  |  |  ------------------
  |  |  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|      0|        }                                                                   \
  |  |  685|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1772|      0|    }
 1773|     31|}
bytesobject.c:bytes_compare_eq:
 1697|     31|{
 1698|     31|    int cmp;
 1699|     31|    Py_ssize_t len;
 1700|       |
 1701|     31|    len = Py_SIZE(a);
  ------------------
  |  |  214|     31|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1702|     31|    if (Py_SIZE(b) != len)
  ------------------
  |  |  214|     31|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1702:9): [True: 0, False: 31]
  ------------------
 1703|      0|        return 0;
 1704|       |
 1705|     31|    if (a->ob_sval[0] != b->ob_sval[0])
  ------------------
  |  Branch (1705:9): [True: 0, False: 31]
  ------------------
 1706|      0|        return 0;
 1707|       |
 1708|     31|    cmp = memcmp(a->ob_sval, b->ob_sval, len);
 1709|     31|    return (cmp == 0);
 1710|     31|}
bytesobject.c:bytes_decode_impl:
 2642|      2|{
 2643|      2|    return PyUnicode_FromEncodedObject((PyObject*)self, encoding, errors);
 2644|      2|}
bytesobject.c:bytes_replace_impl:
 2487|     34|{
 2488|     34|    return stringlib_replace((PyObject *)self,
 2489|     34|                             (const char *)old->buf, old->len,
 2490|     34|                             (const char *)new->buf, new->len, count);
 2491|     34|}
bytesobject.c:bytes_iteritem:
 3246|     25|{
 3247|     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 (3247:24): [True: 25, False: 0]
  ------------------
 3248|     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 (3248:9): [True: 1, False: 24]
  ------------------
 3249|      1|        return (_PyObjectIndexPair) { .object = NULL, .index = index };
 3250|      1|    }
 3251|     24|    PyObject *l = _PyLong_FromUnsignedChar((unsigned char)a->ob_sval[index]);
 3252|     24|    return (_PyObjectIndexPair) { .object = l, .index = index + 1 };
 3253|     25|}
bytesobject.c:bytes_resize_inplace:
 3424|     32|{
 3425|     32|    PyObject *v = *pv;
 3426|       |    // Do not test _PyObject_IsUniquelyReferenced(). The function is used by
 3427|       |    // PyBytesWriter_FinishWithSize() and its caller can have its own lock.
 3428|     32|    assert(Py_REFCNT(v) == 1);
  ------------------
  |  Branch (3428:5): [True: 32, False: 0]
  ------------------
 3429|     32|    assert(PyBytes_GET_SIZE(v) >= 1);
  ------------------
  |  Branch (3429:5): [True: 32, False: 0]
  ------------------
 3430|     32|    assert(newsize >= 1);
  ------------------
  |  Branch (3430:5): [True: 32, False: 0]
  ------------------
 3431|     32|    assert(get_ob_shash((PyBytesObject *)v) == -1);
  ------------------
  |  Branch (3431:5): [True: 32, False: 0]
  ------------------
 3432|       |
 3433|       |    // Only mutable bytes can be resized in-place
 3434|     32|    assert(_PyBytes_IsMutable(v));
  ------------------
  |  Branch (3434:5): [True: 32, False: 0]
  ------------------
 3435|       |
 3436|     32|    if ((size_t)newsize > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |  137|     32|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if ((size_t)newsize > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |   30|     32|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|     32|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (3436:9): [True: 0, False: 32]
  ------------------
 3437|      0|        PyErr_SetString(PyExc_OverflowError,
 3438|      0|                        "byte string is too large");
 3439|      0|        return -1;
 3440|      0|    }
 3441|       |
 3442|       |#ifdef Py_TRACE_REFS
 3443|       |    _Py_ForgetReference(v);
 3444|       |#endif
 3445|     32|    _PyReftracerTrack(v, PyRefTracer_DESTROY);
  ------------------
  |  |  109|     32|    do { \
  |  |  110|     32|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|     32|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 32]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|     32|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 32]
  |  |  ------------------
  ------------------
 3446|       |
 3447|     32|    PyObject *result = PyObject_Realloc(v, PyBytesObject_SIZE + newsize);
  ------------------
  |  |   30|     32|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|     32|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
 3448|     32|    if (result == NULL) {
  ------------------
  |  Branch (3448:9): [True: 0, False: 32]
  ------------------
 3449|       |#ifdef Py_TRACE_REFS
 3450|       |        _Py_AddToAllObjects(v);
 3451|       |#endif
 3452|      0|        _PyReftracerTrack(v, PyRefTracer_CREATE);
  ------------------
  |  |  109|      0|    do { \
  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3453|       |
 3454|      0|        PyErr_NoMemory();
 3455|      0|        return -1;
 3456|      0|    }
 3457|       |
 3458|     32|    *pv = result;
 3459|     32|    v = result;
 3460|     32|    _Py_NewReferenceNoTotal(v);
 3461|     32|    PyBytesObject *sv = (PyBytesObject *)v;
 3462|     32|    Py_SET_SIZE(sv, newsize);
  ------------------
  |  |  216|     32|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     32|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3463|     32|    sv->ob_sval[newsize] = '\0';
 3464|     32|    assert(_PyBytes_IsMutable(*pv));
  ------------------
  |  Branch (3464:5): [True: 32, False: 0]
  ------------------
 3465|     32|    return 0;
 3466|     32|}
bytesobject.c:striter_dealloc:
 3566|      2|{
 3567|      2|    striterobject *it = _striterobject_CAST(op);
  ------------------
  |  | 3562|      2|#define _striterobject_CAST(op)  ((striterobject *)(op))
  ------------------
 3568|      2|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  504|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3569|      2|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3570|      2|    PyObject_GC_Del(it);
 3571|      2|}
bytesobject.c:bytes_iter:
 3695|      2|{
 3696|      2|    striterobject *it;
 3697|       |
 3698|      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 (3698:9): [True: 0, False: 2]
  ------------------
 3699|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3700|      0|        return NULL;
 3701|      0|    }
 3702|      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))
  |  |  ------------------
  ------------------
 3703|      2|    if (it == NULL)
  ------------------
  |  Branch (3703:9): [True: 0, False: 2]
  ------------------
 3704|      0|        return NULL;
 3705|      2|    it->it_index = 0;
 3706|      2|    it->it_seq = (PyBytesObject *)Py_NewRef(seq);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3707|      2|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  502|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3708|      2|    return (PyObject *)it;
 3709|      2|}
bytesobject.c:byteswriter_create:
 3914|    112|{
 3915|    112|    if (size < 0) {
  ------------------
  |  Branch (3915:9): [True: 0, False: 112]
  ------------------
 3916|      0|        PyErr_SetString(PyExc_ValueError, "size must be >= 0");
 3917|      0|        return NULL;
 3918|      0|    }
 3919|       |
 3920|    112|    PyBytesWriter *writer = _Py_FREELIST_POP_MEM(bytes_writers);
  ------------------
  |  |   48|    112|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
 3921|    112|    if (writer == NULL) {
  ------------------
  |  Branch (3921:9): [True: 10, False: 102]
  ------------------
 3922|     10|        writer = (PyBytesWriter *)PyMem_Malloc(sizeof(PyBytesWriter));
 3923|     10|        if (writer == NULL) {
  ------------------
  |  Branch (3923:13): [True: 0, False: 10]
  ------------------
 3924|      0|            PyErr_NoMemory();
 3925|      0|            return NULL;
 3926|      0|        }
 3927|     10|    }
 3928|    112|    writer->obj = NULL;
 3929|    112|    writer->size = size;
 3930|    112|    writer->use_bytearray = use_bytearray;
 3931|    112|    writer->overallocate = !use_bytearray;
 3932|       |
 3933|    112|    Py_ssize_t allocated = sizeof(writer->small_buffer) - 1;
 3934|    112|    if (size > allocated) {
  ------------------
  |  Branch (3934:9): [True: 97, False: 15]
  ------------------
 3935|     97|        if (byteswriter_resize(writer, size, 0) < 0) {
  ------------------
  |  Branch (3935:13): [True: 0, False: 97]
  ------------------
 3936|       |#ifdef Py_DEBUG
 3937|       |            // Write the canary byte so byteswriter_check_consistency()
 3938|       |            // doesn't fail in PyBytesWriter_Discard()
 3939|       |            writer->size = 0;
 3940|       |            byteswriter_write_canary_byte(writer);
 3941|       |#endif
 3942|      0|            PyBytesWriter_Discard(writer);
 3943|      0|            return NULL;
 3944|      0|        }
 3945|     97|    }
 3946|       |#ifdef Py_DEBUG
 3947|       |    memset(_PyBytesWriter_GetData(writer), PyBytesWrite_NEW_BYTE,
 3948|       |           byteswriter_allocated(writer));
 3949|       |    byteswriter_write_canary_byte(writer);
 3950|       |#endif
 3951|    112|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (3951:5): [True: 112, False: 0]
  ------------------
 3952|    112|    return writer;
 3953|    112|}
bytesobject.c:byteswriter_check_consistency:
 3787|    518|{
 3788|    518|    PyObject *obj = writer->obj;
 3789|    518|    if (obj != NULL) {
  ------------------
  |  Branch (3789:9): [True: 365, False: 153]
  ------------------
 3790|    365|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3790:13): [True: 0, False: 365]
  ------------------
 3791|      0|            assert(PyByteArray_CheckExact(obj));
  ------------------
  |  Branch (3791:13): [True: 0, False: 0]
  ------------------
 3792|       |            // Do not use _PyObject_IsUniquelyReferenced(): the caller can have
 3793|       |            // its own lock to prevent a writer from being used by two threads
 3794|       |            // at the same time.
 3795|      0|            assert(Py_REFCNT(obj) == 1);
  ------------------
  |  Branch (3795:13): [True: 0, False: 0]
  ------------------
 3796|      0|            PyByteArrayObject *bytearray = (PyByteArrayObject*)obj;
 3797|      0|            obj = bytearray->ob_bytes_object;
 3798|      0|            assert(obj != NULL);
  ------------------
  |  Branch (3798:13): [True: 0, False: 0]
  ------------------
 3799|      0|        }
 3800|       |
 3801|       |        // Code adapted from _PyBytes_IsMutable()
 3802|    365|        assert(PyBytes_CheckExact(obj));
  ------------------
  |  Branch (3802:9): [True: 365, False: 0]
  ------------------
 3803|    365|        assert(_PyBytes_IsMutable(obj));
  ------------------
  |  Branch (3803:9): [True: 365, False: 0]
  ------------------
 3804|       |        // -1 since the last small buffer byte is used as the canary byte
 3805|    365|        assert((size_t)PyBytes_GET_SIZE(obj) > (sizeof(writer->small_buffer) - 1));
  ------------------
  |  Branch (3805:9): [True: 365, False: 0]
  ------------------
 3806|    365|    }
 3807|       |
 3808|       |#ifdef Py_DEBUG
 3809|       |    const unsigned char *data = (const unsigned char*)_PyBytesWriter_GetData(writer);
 3810|       |    unsigned char canary = data[writer->size];
 3811|       |    if (canary != PyBytesWriter_CANARY_BYTE) {
 3812|       |        _Py_FatalErrorFormat(__func__,
 3813|       |                             "Buffer overflow detected in PyBytesWriter %p "
 3814|       |                             "at position %zd",
 3815|       |                             writer, writer->size);
 3816|       |    }
 3817|       |#endif
 3818|    518|    return 1;
 3819|    518|}
bytesobject.c:byteswriter_finish_with_size:
 3988|     65|{
 3989|     65|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (3989:5): [True: 65, False: 0]
  ------------------
 3990|       |
 3991|     65|    PyObject *result;
 3992|     65|    if (final_size == 0 && !writer->use_bytearray) {
  ------------------
  |  Branch (3992:9): [True: 4, False: 61]
  |  Branch (3992:28): [True: 4, False: 0]
  ------------------
 3993|      4|        result = bytes_get_empty();
 3994|      4|        if (writer->obj != NULL) {
  ------------------
  |  Branch (3994:13): [True: 0, False: 4]
  ------------------
 3995|       |#ifdef Py_DEBUG
 3996|       |            byteswriter_reset_trailing_byte(writer);
 3997|       |#endif
 3998|      0|            Py_DECREF(writer->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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3999|      0|            writer->obj = NULL;
 4000|      0|        }
 4001|      4|    }
 4002|     61|    else if (writer->obj != NULL) {
  ------------------
  |  Branch (4002:14): [True: 50, False: 11]
  ------------------
 4003|       |        // Truncate the bytes/bytearray object if needed
 4004|       |#ifdef Py_DEBUG
 4005|       |        byteswriter_reset_trailing_byte(writer);
 4006|       |#endif
 4007|       |
 4008|     50|        if (writer->use_bytearray) {
  ------------------
  |  Branch (4008:13): [True: 0, False: 50]
  ------------------
 4009|      0|            if (final_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 (4009:17): [True: 0, False: 0]
  ------------------
 4010|      0|                if (PyByteArray_Resize(writer->obj, final_size)) {
  ------------------
  |  Branch (4010:21): [True: 0, False: 0]
  ------------------
 4011|      0|                    goto error;
 4012|      0|                }
 4013|      0|            }
 4014|      0|        }
 4015|     50|        else {
 4016|     50|            if (final_size == 1) {
  ------------------
  |  Branch (4016:17): [True: 0, False: 50]
  ------------------
 4017|      0|                unsigned char ch = PyBytes_AS_STRING(writer->obj)[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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4018|      0|                Py_SETREF(writer->obj, bytes_get_char(ch));
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4019|      0|            }
 4020|     50|            else if (final_size != PyBytes_GET_SIZE(writer->obj)) {
  ------------------
  |  |   33|     50|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4020:22): [True: 32, False: 18]
  ------------------
 4021|     32|                if (bytes_resize_inplace(&writer->obj, final_size)) {
  ------------------
  |  Branch (4021:21): [True: 0, False: 32]
  ------------------
 4022|      0|                    goto error;
 4023|      0|                }
 4024|     32|            }
 4025|     50|        }
 4026|       |
 4027|     50|        result = writer->obj;
 4028|     50|        writer->obj = NULL;
 4029|     50|    }
 4030|     11|    else {
 4031|       |        // Create an object from the small buffer
 4032|     11|        const char *buffer = (const char *)writer->small_buffer;
 4033|     11|        if (writer->use_bytearray) {
  ------------------
  |  Branch (4033:13): [True: 0, False: 11]
  ------------------
 4034|      0|            result = PyByteArray_FromStringAndSize(buffer, final_size);
 4035|      0|        }
 4036|     11|        else {
 4037|     11|            if (final_size == 1) {
  ------------------
  |  Branch (4037:17): [True: 0, False: 11]
  ------------------
 4038|      0|                result = bytes_get_char((uint8_t)buffer[0]);
 4039|      0|            }
 4040|     11|            else {
 4041|     11|                result = bytes_alloc(final_size);
 4042|     11|                if (result == NULL) {
  ------------------
  |  Branch (4042:21): [True: 0, False: 11]
  ------------------
 4043|      0|                    goto error;
 4044|      0|                }
 4045|     11|                memcpy(PyBytes_AS_STRING(result), buffer, final_size);
  ------------------
  |  |   27|     11|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4046|     11|            }
 4047|     11|        }
 4048|     11|    }
 4049|       |
 4050|     65|    assert(writer->obj == NULL);
  ------------------
  |  Branch (4050:5): [True: 65, False: 0]
  ------------------
 4051|     65|    _Py_FREELIST_FREE(bytes_writers, writer, PyMem_Free);
  ------------------
  |  |   35|     65|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|     65|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     65|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|     65|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   30|     65|#  define Py_bytes_writers_MAXFREELIST 1
  |  |  ------------------
  ------------------
 4052|     65|    return result;
 4053|       |
 4054|      0|error:
 4055|      0|    PyBytesWriter_Discard(writer);
 4056|       |    return NULL;
 4057|     65|}
bytesobject.c:byteswriter_resize:
 3833|     99|{
 3834|     99|    assert(new_size >= 1);
  ------------------
  |  Branch (3834:5): [True: 99, False: 0]
  ------------------
 3835|       |
 3836|     99|    Py_ssize_t old_allocated = byteswriter_allocated(writer);
 3837|     99|    if (new_size <= old_allocated) {
  ------------------
  |  Branch (3837:9): [True: 2, False: 97]
  ------------------
 3838|       |        // Do not shrink the buffer before PyBytesWriter_FinishWithSize()
 3839|      2|        return 0;
 3840|      2|    }
 3841|       |
 3842|     97|    Py_ssize_t alloc = new_size;
 3843|     97|    if (resize && writer->overallocate) {
  ------------------
  |  Branch (3843:9): [True: 0, False: 97]
  |  Branch (3843:19): [True: 0, False: 0]
  ------------------
 3844|      0|        if (alloc <= (PY_SSIZE_T_MAX - alloc / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                      if (alloc <= (PY_SSIZE_T_MAX - alloc / OVERALLOCATE_FACTOR)) {
  ------------------
  |  | 3828|      0|#  define OVERALLOCATE_FACTOR 4
  ------------------
  |  Branch (3844:13): [True: 0, False: 0]
  ------------------
 3845|      0|            alloc += alloc / OVERALLOCATE_FACTOR;
  ------------------
  |  | 3828|      0|#  define OVERALLOCATE_FACTOR 4
  ------------------
 3846|      0|        }
 3847|      0|    }
 3848|       |
 3849|     97|    if (writer->obj != NULL) {
  ------------------
  |  Branch (3849:9): [True: 0, False: 97]
  ------------------
 3850|      0|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3850:13): [True: 0, False: 0]
  ------------------
 3851|      0|            if (PyByteArray_Resize(writer->obj, alloc)) {
  ------------------
  |  Branch (3851:17): [True: 0, False: 0]
  ------------------
 3852|       |#ifdef Py_DEBUG
 3853|       |                // bytearray can override the canary byte on error
 3854|       |                byteswriter_write_canary_byte(writer);
 3855|       |#endif
 3856|      0|                assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (3856:17): [True: 0, False: 0]
  ------------------
 3857|      0|                return -1;
 3858|      0|            }
 3859|      0|        }
 3860|      0|        else {
 3861|       |            // Can raise MemoryError or OverflowError
 3862|      0|            if (_PyBytes_ResizeKeepOnError(&writer->obj, alloc)) {
  ------------------
  |  Branch (3862:17): [True: 0, False: 0]
  ------------------
 3863|      0|                assert(writer->obj != NULL);
  ------------------
  |  Branch (3863:17): [True: 0, False: 0]
  ------------------
 3864|      0|                assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (3864:17): [True: 0, False: 0]
  ------------------
 3865|      0|                return -1;
 3866|      0|            }
 3867|      0|            assert(_PyBytes_IsMutable(writer->obj));
  ------------------
  |  Branch (3867:13): [True: 0, False: 0]
  ------------------
 3868|      0|        }
 3869|      0|        assert(writer->obj != NULL);
  ------------------
  |  Branch (3869:9): [True: 0, False: 0]
  ------------------
 3870|      0|    }
 3871|     97|    else {
 3872|     97|        char *data;
 3873|     97|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3873:13): [True: 0, False: 97]
  ------------------
 3874|      0|            writer->obj = PyByteArray_FromStringAndSize(NULL, alloc);
 3875|      0|            if (writer->obj == NULL) {
  ------------------
  |  Branch (3875:17): [True: 0, False: 0]
  ------------------
 3876|      0|                return -1;
 3877|      0|            }
 3878|      0|            data = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3879|      0|        }
 3880|     97|        else {
 3881|     97|            writer->obj = bytes_alloc(alloc);
 3882|     97|            if (writer->obj == NULL) {
  ------------------
  |  Branch (3882:17): [True: 0, False: 97]
  ------------------
 3883|      0|                return -1;
 3884|      0|            }
 3885|     97|            assert(_PyBytes_IsMutable(writer->obj));
  ------------------
  |  Branch (3885:13): [True: 97, False: 0]
  ------------------
 3886|     97|            data = PyBytes_AS_STRING(writer->obj);
  ------------------
  |  |   27|     97|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3887|     97|        }
 3888|       |
 3889|     97|        if (resize) {
  ------------------
  |  Branch (3889:13): [True: 0, False: 97]
  ------------------
 3890|       |            // Copy data from the small buffer
 3891|      0|            Py_ssize_t old_size = writer->size;
 3892|      0|            assert((size_t)old_size <= sizeof(writer->small_buffer));
  ------------------
  |  Branch (3892:13): [True: 0, False: 0]
  ------------------
 3893|      0|            assert(old_size <= alloc);
  ------------------
  |  Branch (3893:13): [True: 0, False: 0]
  ------------------
 3894|      0|            memcpy(data, writer->small_buffer, old_size);
 3895|      0|        }
 3896|     97|    }
 3897|       |
 3898|       |#ifdef Py_DEBUG
 3899|       |    Py_ssize_t allocated = byteswriter_allocated(writer);
 3900|       |    if (resize) {
 3901|       |        Py_ssize_t old_size = writer->size;
 3902|       |        assert(allocated > old_size);
 3903|       |        memset(_PyBytesWriter_GetData(writer) + old_size, PyBytesWrite_NEW_BYTE,
 3904|       |               allocated - old_size);
 3905|       |    }
 3906|       |#endif
 3907|       |
 3908|     97|    return 0;
 3909|     97|}

_Py_CheckFunctionResult:
   27|  11.4k|{
   28|  11.4k|    assert((callable != NULL) ^ (where != NULL));
  ------------------
  |  Branch (28:5): [True: 11.4k, False: 0]
  ------------------
   29|       |
   30|  11.4k|    if (result == NULL) {
  ------------------
  |  Branch (30:9): [True: 119, False: 11.3k]
  ------------------
   31|    119|        if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (31:13): [True: 0, False: 119]
  ------------------
   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|    119|    }
   48|  11.3k|    else {
   49|  11.3k|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (49:13): [True: 0, False: 11.3k]
  ------------------
   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|  11.3k|    }
   70|  11.4k|    return result;
   71|  11.4k|}
_Py_CheckSlotResult:
   76|  5.99k|{
   77|  5.99k|    PyThreadState *tstate = _PyThreadState_GET();
   78|  5.99k|    if (!success) {
  ------------------
  |  Branch (78:9): [True: 66, False: 5.92k]
  ------------------
   79|     66|        if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (79:13): [True: 0, False: 66]
  ------------------
   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|     66|    }
   86|  5.92k|    else {
   87|  5.92k|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (87:13): [True: 0, False: 5.92k]
  ------------------
   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|  5.92k|    }
   94|  5.99k|    return 1;
   95|  5.99k|}
_PyObject_VectorcallDictTstate:
  114|  1.51k|{
  115|  1.51k|    assert(callable != NULL);
  ------------------
  |  Branch (115:5): [True: 1.51k, 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|  1.51k|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (120:5): [True: 1.51k, False: 0]
  ------------------
  121|       |
  122|  1.51k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  1.51k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  123|  1.51k|    assert(nargs >= 0);
  ------------------
  |  Branch (123:5): [True: 1.51k, False: 0]
  ------------------
  124|  1.51k|    assert(nargs == 0 || args != NULL);
  ------------------
  |  Branch (124:5): [True: 375, False: 1.13k]
  |  Branch (124:5): [True: 1.13k, False: 0]
  ------------------
  125|  1.51k|    assert(kwargs == NULL || PyDict_Check(kwargs));
  ------------------
  |  Branch (125:5): [True: 1.33k, False: 176]
  |  Branch (125:5): [True: 176, False: 0]
  ------------------
  126|       |
  127|  1.51k|    vectorcallfunc func = PyVectorcall_Function(callable);
  128|  1.51k|    if (func == NULL) {
  ------------------
  |  Branch (128:9): [True: 78, False: 1.43k]
  ------------------
  129|       |        /* Use tp_call instead */
  130|     78|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwargs);
  131|     78|    }
  132|       |
  133|  1.43k|    PyObject *res;
  134|  1.43k|    if (kwargs == NULL || PyDict_GET_SIZE(kwargs) == 0) {
  ------------------
  |  |   63|    150|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    150|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    150|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (134:9): [True: 1.28k, False: 150]
  |  Branch (134:27): [True: 48, False: 102]
  ------------------
  135|  1.33k|        res = func(callable, args, nargsf, NULL);
  136|  1.33k|    }
  137|    102|    else {
  138|    102|        PyObject *kwnames;
  139|    102|        PyObject *const *newargs;
  140|    102|        newargs = _PyStack_UnpackDict(tstate,
  141|    102|                                      args, nargs,
  142|    102|                                      kwargs, &kwnames);
  143|    102|        if (newargs == NULL) {
  ------------------
  |  Branch (143:13): [True: 0, False: 102]
  ------------------
  144|      0|            return NULL;
  145|      0|        }
  146|    102|        res = func(callable, newargs,
  147|    102|                   nargs | PY_VECTORCALL_ARGUMENTS_OFFSET, kwnames);
  ------------------
  |  |  287|    102|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    102|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  148|    102|        _PyStack_UnpackDict_Free(newargs, nargs, kwnames);
  149|    102|    }
  150|  1.43k|    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  151|  1.43k|}
PyObject_VectorcallDict:
  157|    856|{
  158|    856|    PyThreadState *tstate = _PyThreadState_GET();
  159|    856|    return _PyObject_VectorcallDictTstate(tstate, callable, args, nargsf, kwargs);
  160|    856|}
_PyObject_MakeTpCall:
  203|  1.92k|{
  204|  1.92k|    assert(nargs >= 0);
  ------------------
  |  Branch (204:5): [True: 1.92k, False: 0]
  ------------------
  205|  1.92k|    assert(nargs == 0 || args != NULL);
  ------------------
  |  Branch (205:5): [True: 421, False: 1.49k]
  |  Branch (205:5): [True: 1.49k, False: 0]
  ------------------
  206|  1.92k|    assert(keywords == NULL || PyTuple_Check(keywords) || PyDict_Check(keywords));
  ------------------
  |  Branch (206:5): [True: 1.75k, False: 162]
  |  Branch (206:5): [True: 136, False: 26]
  |  Branch (206:5): [True: 26, False: 0]
  ------------------
  207|       |
  208|       |    /* Slow path: build a temporary tuple for positional arguments and a
  209|       |     * temporary dictionary for keyword arguments (if any) */
  210|  1.92k|    ternaryfunc call = Py_TYPE(callable)->tp_call;
  ------------------
  |  |  213|  1.92k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.92k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  211|  1.92k|    if (call == NULL) {
  ------------------
  |  Branch (211:9): [True: 0, False: 1.92k]
  ------------------
  212|      0|        object_is_not_callable(tstate, callable);
  213|      0|        return NULL;
  214|      0|    }
  215|       |
  216|  1.92k|    PyObject *argstuple = PyTuple_FromArray(args, nargs);
  217|  1.92k|    if (argstuple == NULL) {
  ------------------
  |  Branch (217:9): [True: 0, False: 1.92k]
  ------------------
  218|      0|        return NULL;
  219|      0|    }
  220|       |
  221|  1.92k|    PyObject *kwdict;
  222|  1.92k|    if (keywords == NULL || PyDict_Check(keywords)) {
  ------------------
  |  |   18|    162|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    162|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 26, False: 136]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (222:9): [True: 1.75k, False: 162]
  ------------------
  223|  1.78k|        kwdict = keywords;
  224|  1.78k|    }
  225|    136|    else {
  226|    136|        if (PyTuple_GET_SIZE(keywords)) {
  ------------------
  |  |   27|    136|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    136|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    136|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 136, False: 0]
  |  |  ------------------
  ------------------
  227|    136|            assert(args != NULL);
  ------------------
  |  Branch (227:13): [True: 136, False: 0]
  ------------------
  228|    136|            kwdict = _PyStack_AsDict(args + nargs, keywords);
  229|    136|            if (kwdict == NULL) {
  ------------------
  |  Branch (229:17): [True: 0, False: 136]
  ------------------
  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|    136|        }
  234|      0|        else {
  235|      0|            keywords = kwdict = NULL;
  236|      0|        }
  237|    136|    }
  238|       |
  239|  1.92k|    PyObject *result = NULL;
  240|  1.92k|    if (_Py_EnterRecursiveCallTstate(tstate, " while calling a Python object") == 0)
  ------------------
  |  Branch (240:9): [True: 1.92k, False: 0]
  ------------------
  241|  1.92k|    {
  242|  1.92k|        result = _PyCFunctionWithKeywords_TrampolineCall(
  ------------------
  |  |   64|  1.92k|    (meth)((self), (args), (kw))
  ------------------
  243|  1.92k|            (PyCFunctionWithKeywords)call, callable, argstuple, kwdict);
  244|  1.92k|        _Py_LeaveRecursiveCallTstate(tstate);
  245|  1.92k|    }
  246|       |
  247|  1.92k|    Py_DECREF(argstuple);
  ------------------
  |  |  430|  1.92k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.92k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  248|  1.92k|    if (kwdict != keywords) {
  ------------------
  |  Branch (248:9): [True: 136, False: 1.78k]
  ------------------
  249|    136|        Py_DECREF(kwdict);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    136|    }
  251|       |
  252|       |    return _Py_CheckFunctionResult(tstate, callable, result, NULL);
  253|  1.92k|}
PyVectorcall_Function:
  258|  2.01k|{
  259|  2.01k|    return _PyVectorcall_FunctionInline(callable);
  260|  2.01k|}
PyObject_Vectorcall:
  325|  4.78k|{
  326|  4.78k|    PyThreadState *tstate = _PyThreadState_GET();
  327|  4.78k|    return _PyObject_VectorcallTstate(tstate, callable,
  328|  4.78k|                                      args, nargsf, kwnames);
  329|  4.78k|}
_PyObject_Call:
  335|    424|{
  336|    424|    ternaryfunc call;
  337|    424|    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|    424|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (342:5): [True: 424, False: 0]
  ------------------
  343|    424|    assert(PyTuple_Check(args));
  ------------------
  |  Branch (343:5): [True: 424, False: 0]
  ------------------
  344|    424|    assert(kwargs == NULL || PyDict_Check(kwargs));
  ------------------
  |  Branch (344:5): [True: 151, False: 273]
  |  Branch (344:5): [True: 273, False: 0]
  ------------------
  345|    424|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, callable);
  ------------------
  |  |   80|    424|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  346|    424|    vectorcallfunc vector_func = PyVectorcall_Function(callable);
  347|    424|    if (vector_func != NULL) {
  ------------------
  |  Branch (347:9): [True: 298, False: 126]
  ------------------
  348|    298|        return _PyVectorcall_Call(tstate, vector_func, callable, args, kwargs);
  349|    298|    }
  350|    126|    else {
  351|    126|        call = Py_TYPE(callable)->tp_call;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  352|    126|        if (call == NULL) {
  ------------------
  |  Branch (352:13): [True: 0, False: 126]
  ------------------
  353|      0|            object_is_not_callable(tstate, callable);
  354|      0|            return NULL;
  355|      0|        }
  356|       |
  357|    126|        if (_Py_EnterRecursiveCallTstate(tstate, " while calling a Python object")) {
  ------------------
  |  Branch (357:13): [True: 0, False: 126]
  ------------------
  358|      0|            return NULL;
  359|      0|        }
  360|       |
  361|    126|        result = (*call)(callable, args, kwargs);
  362|       |
  363|    126|        _Py_LeaveRecursiveCallTstate(tstate);
  364|       |
  365|       |        return _Py_CheckFunctionResult(tstate, callable, result, NULL);
  366|    126|    }
  367|    424|}
PyObject_Call:
  371|    424|{
  372|    424|    PyThreadState *tstate = _PyThreadState_GET();
  373|    424|    return _PyObject_Call(tstate, callable, args, kwargs);
  374|    424|}
PyObject_CallOneArg:
  387|    997|{
  388|    997|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|    997|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  389|    997|    assert(arg != NULL);
  ------------------
  |  Branch (389:5): [True: 997, False: 0]
  ------------------
  390|    997|    PyObject *_args[2];
  391|    997|    PyObject **args = _args + 1;  // For PY_VECTORCALL_ARGUMENTS_OFFSET
  392|    997|    args[0] = arg;
  393|    997|    PyThreadState *tstate = _PyThreadState_GET();
  394|    997|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    997|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    997|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  395|       |    return _PyObject_VectorcallTstate(tstate, func, args, nargsf, NULL);
  396|    997|}
_PyFunction_Vectorcall:
  404|  1.72k|{
  405|  1.72k|    assert(PyFunction_Check(func));
  ------------------
  |  Branch (405:5): [True: 1.72k, False: 0]
  ------------------
  406|  1.72k|    PyFunctionObject *f = (PyFunctionObject *)func;
  407|  1.72k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  1.72k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  408|  1.72k|    assert(nargs >= 0);
  ------------------
  |  Branch (408:5): [True: 1.72k, False: 0]
  ------------------
  409|  1.72k|    PyThreadState *tstate = _PyThreadState_GET();
  410|  1.72k|    assert(nargs == 0 || stack != NULL);
  ------------------
  |  Branch (410:5): [True: 2, False: 1.72k]
  |  Branch (410:5): [True: 1.72k, False: 0]
  ------------------
  411|  1.72k|    EVAL_CALL_STAT_INC(EVAL_CALL_FUNCTION_VECTORCALL);
  ------------------
  |  |   79|  1.72k|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  412|  1.72k|    if (((PyCodeObject *)f->func_code)->co_flags & CO_OPTIMIZED) {
  ------------------
  |  |  122|  1.72k|#define CO_OPTIMIZED    0x0001
  ------------------
  |  Branch (412:9): [True: 1.72k, False: 0]
  ------------------
  413|  1.72k|        return _PyEval_Vector(tstate, f, NULL, stack, nargs, kwnames);
  414|  1.72k|    }
  415|      0|    else {
  416|      0|        return _PyEval_Vector(tstate, f, f->func_globals, stack, nargs, kwnames);
  417|      0|    }
  418|  1.72k|}
_PyObject_Call_Prepend:
  480|    655|{
  481|    655|    assert(PyTuple_Check(args));
  ------------------
  |  Branch (481:5): [True: 655, False: 0]
  ------------------
  482|       |
  483|    655|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK];
  484|    655|    PyObject **stack;
  485|       |
  486|    655|    Py_ssize_t argcount = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    655|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    655|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    655|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  487|    655|    if (argcount + 1 <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) {
  ------------------
  |  |  232|    655|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (487:9): [True: 601, False: 54]
  ------------------
  488|    601|        stack = small_stack;
  489|    601|    }
  490|     54|    else {
  491|     54|        stack = PyMem_Malloc((argcount + 1) * sizeof(PyObject *));
  492|     54|        if (stack == NULL) {
  ------------------
  |  Branch (492:13): [True: 0, False: 54]
  ------------------
  493|      0|            PyErr_NoMemory();
  494|      0|            return NULL;
  495|      0|        }
  496|     54|    }
  497|       |
  498|       |    /* use borrowed references */
  499|    655|    stack[0] = obj;
  500|    655|    memcpy(&stack[1],
  501|    655|           _PyTuple_ITEMS(args),
  ------------------
  |  |   26|    655|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  313|  1.31k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 655, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  502|      0|           argcount * sizeof(PyObject *));
  503|       |
  504|      0|    PyObject *result = _PyObject_VectorcallDictTstate(tstate, callable,
  505|    655|                                                      stack, argcount + 1,
  506|    655|                                                      kwargs);
  507|    655|    if (stack != small_stack) {
  ------------------
  |  Branch (507:9): [True: 54, False: 601]
  ------------------
  508|     54|        PyMem_Free(stack);
  509|     54|    }
  510|    655|    return result;
  511|    655|}
PyObject_CallFunction:
  568|    343|{
  569|    343|    va_list va;
  570|    343|    PyObject *result;
  571|    343|    PyThreadState *tstate = _PyThreadState_GET();
  572|       |
  573|    343|    va_start(va, format);
  574|    343|    result = _PyObject_CallFunctionVa(tstate, callable, format, va);
  575|    343|    va_end(va);
  576|       |
  577|    343|    return result;
  578|    343|}
PyObject_CallMethod:
  683|     49|{
  684|     49|    PyThreadState *tstate = _PyThreadState_GET();
  685|       |
  686|     49|    if (obj == NULL || name == NULL) {
  ------------------
  |  Branch (686:9): [True: 0, False: 49]
  |  Branch (686:24): [True: 0, False: 49]
  ------------------
  687|      0|        return null_error(tstate);
  688|      0|    }
  689|       |
  690|     49|    PyObject *name_obj = PyUnicode_FromString(name);
  691|     49|    if (name_obj == NULL) {
  ------------------
  |  Branch (691:9): [True: 0, False: 49]
  ------------------
  692|      0|        return NULL;
  693|      0|    }
  694|       |
  695|     49|    va_list va;
  696|     49|    va_start(va, format);
  697|     49|    PyObject *retval = callmethod(tstate, obj, name_obj, format, va);
  698|     49|    va_end(va);
  699|       |
  700|     49|    Py_DECREF(name_obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  701|     49|    return retval;
  702|     49|}
_PyObject_CallMethod:
  733|     12|{
  734|     12|    PyThreadState *tstate = _PyThreadState_GET();
  735|     12|    if (obj == NULL || name == NULL) {
  ------------------
  |  Branch (735:9): [True: 0, False: 12]
  |  Branch (735:24): [True: 0, False: 12]
  ------------------
  736|      0|        return null_error(tstate);
  737|      0|    }
  738|       |
  739|     12|    va_list va;
  740|     12|    va_start(va, format);
  741|     12|    PyObject *retval = callmethod(tstate, obj, name, format, va);
  742|     12|    va_end(va);
  743|       |
  744|     12|    return retval;
  745|     12|}
_PyObject_VectorcallPrepend:
  868|     86|{
  869|     86|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     86|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  870|     86|    assert(nargs == 0 || args[nargs-1]);
  ------------------
  |  Branch (870:5): [True: 0, False: 86]
  |  Branch (870:5): [True: 86, False: 0]
  ------------------
  871|       |
  872|     86|    PyObject *result;
  873|     86|    if (nargsf & 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))
  |  |  ------------------
  ------------------
  |  Branch (873:9): [True: 71, False: 15]
  ------------------
  874|       |        /* PY_VECTORCALL_ARGUMENTS_OFFSET is set, so we are allowed to mutate the vector */
  875|     71|        PyObject **newargs = (PyObject**)args - 1;
  876|     71|        nargs += 1;
  877|     71|        PyObject *tmp = newargs[0];
  878|     71|        newargs[0] = arg;
  879|     71|        assert(newargs[nargs-1]);
  ------------------
  |  Branch (879:9): [True: 71, False: 0]
  ------------------
  880|     71|        result = _PyObject_VectorcallTstate(tstate, callable, newargs,
  881|     71|                                            nargs, kwnames);
  882|     71|        newargs[0] = tmp;
  883|     71|    }
  884|     15|    else {
  885|     15|        Py_ssize_t nkwargs = (kwnames == NULL) ? 0 : PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (885:30): [True: 15, False: 0]
  ------------------
  886|     15|        Py_ssize_t totalargs = nargs + nkwargs;
  887|     15|        if (totalargs == 0) {
  ------------------
  |  Branch (887:13): [True: 0, False: 15]
  ------------------
  888|      0|            return _PyObject_VectorcallTstate(tstate, callable, &arg, 1, NULL);
  889|      0|        }
  890|       |
  891|     15|        PyObject *newargs_stack[_PY_FASTCALL_SMALL_STACK];
  892|     15|        PyObject **newargs;
  893|     15|        if (totalargs <= (Py_ssize_t)Py_ARRAY_LENGTH(newargs_stack) - 1) {
  ------------------
  |  |  232|     15|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (893:13): [True: 15, False: 0]
  ------------------
  894|     15|            newargs = newargs_stack;
  895|     15|        }
  896|      0|        else {
  897|      0|            newargs = PyMem_Malloc((totalargs+1) * sizeof(PyObject *));
  898|      0|            if (newargs == NULL) {
  ------------------
  |  Branch (898:17): [True: 0, False: 0]
  ------------------
  899|      0|                _PyErr_NoMemory(tstate);
  900|      0|                return NULL;
  901|      0|            }
  902|      0|        }
  903|       |        /* use borrowed references */
  904|     15|        newargs[0] = arg;
  905|       |        /* bpo-37138: since totalargs > 0, it's impossible that args is NULL.
  906|       |         * We need this, since calling memcpy() with a NULL pointer is
  907|       |         * undefined behaviour. */
  908|     15|        assert(args != NULL);
  ------------------
  |  Branch (908:9): [True: 15, False: 0]
  ------------------
  909|     15|        memcpy(newargs + 1, args, totalargs * sizeof(PyObject *));
  910|     15|        result = _PyObject_VectorcallTstate(tstate, callable,
  911|     15|                                            newargs, nargs+1, kwnames);
  912|     15|        if (newargs != newargs_stack) {
  ------------------
  |  Branch (912:13): [True: 0, False: 15]
  ------------------
  913|      0|            PyMem_Free(newargs);
  914|      0|        }
  915|     15|    }
  916|     86|    return result;
  917|     86|}
PyObject_VectorcallMethod:
  922|    883|{
  923|    883|    assert(name != NULL);
  ------------------
  |  Branch (923:5): [True: 883, False: 0]
  ------------------
  924|    883|    assert(args != NULL);
  ------------------
  |  Branch (924:5): [True: 883, False: 0]
  ------------------
  925|    883|    assert(PyVectorcall_NARGS(nargsf) >= 1);
  ------------------
  |  Branch (925:5): [True: 883, False: 0]
  ------------------
  926|       |
  927|    883|    PyThreadState *tstate = _PyThreadState_GET();
  928|    883|    _PyCStackRef self, method;
  929|    883|    _PyThreadState_PushCStackRef(tstate, &self);
  930|    883|    _PyThreadState_PushCStackRef(tstate, &method);
  931|       |    /* Use args[0] as "self" argument */
  932|    883|    self.ref = PyStackRef_FromPyObjectBorrow(args[0]);
  933|    883|    int unbound = _PyObject_GetMethodStackRef(tstate, &self.ref, name, &method.ref);
  934|    883|    if (unbound < 0) {
  ------------------
  |  Branch (934:9): [True: 0, False: 883]
  ------------------
  935|      0|        _PyThreadState_PopCStackRef(tstate, &method);
  936|      0|        _PyThreadState_PopCStackRef(tstate, &self);
  937|      0|        return NULL;
  938|      0|    }
  939|       |
  940|    883|    PyObject *callable = PyStackRef_AsPyObjectBorrow(method.ref);
  941|    883|    PyObject *self_obj = PyStackRef_AsPyObjectBorrow(self.ref);
  942|    883|    PyObject *result;
  943|       |
  944|    883|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_METHOD, callable);
  ------------------
  |  |   80|    883|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  945|    883|    if (self_obj == NULL) {
  ------------------
  |  Branch (945:9): [True: 135, False: 748]
  ------------------
  946|       |        /* Skip "self". We can keep PY_VECTORCALL_ARGUMENTS_OFFSET since
  947|       |         * args[-1] in the onward call is args[0] here. */
  948|    135|        result = _PyObject_VectorcallTstate(tstate, callable,
  949|    135|                                            args + 1, nargsf - 1, kwnames);
  950|    135|    }
  951|    748|    else if (self_obj == args[0]) {
  ------------------
  |  Branch (951:14): [True: 748, False: 0]
  ------------------
  952|       |        /* We must remove PY_VECTORCALL_ARGUMENTS_OFFSET since
  953|       |         * that would be interpreted as allowing to change args[-1] */
  954|    748|        result = _PyObject_VectorcallTstate(tstate, callable, args,
  955|    748|                                            nargsf & ~PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|    748|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    748|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  956|    748|                                            kwnames);
  957|    748|    }
  958|      0|    else {
  959|       |        /* classmethod: self_obj is the type, not args[0]. Replace
  960|       |         * args[0] with self_obj and call the underlying callable. */
  961|      0|        result = _PyObject_VectorcallPrepend(tstate, callable, self_obj,
  962|      0|                                             args + 1, nargsf - 1, kwnames);
  963|      0|    }
  964|    883|    _PyThreadState_PopCStackRef(tstate, &method);
  965|    883|    _PyThreadState_PopCStackRef(tstate, &self);
  966|    883|    return result;
  967|    883|}
PyObject_CallMethodObjArgs:
  972|     87|{
  973|     87|    PyThreadState *tstate = _PyThreadState_GET();
  974|     87|    if (obj == NULL || name == NULL) {
  ------------------
  |  Branch (974:9): [True: 0, False: 87]
  |  Branch (974:24): [True: 0, False: 87]
  ------------------
  975|      0|        return null_error(tstate);
  976|      0|    }
  977|       |
  978|     87|    _PyCStackRef self, method;
  979|     87|    _PyThreadState_PushCStackRef(tstate, &self);
  980|     87|    _PyThreadState_PushCStackRef(tstate, &method);
  981|     87|    self.ref = PyStackRef_FromPyObjectBorrow(obj);
  982|     87|    int res = _PyObject_GetMethodStackRef(tstate, &self.ref, name, &method.ref);
  983|     87|    if (res < 0) {
  ------------------
  |  Branch (983:9): [True: 0, False: 87]
  ------------------
  984|      0|        _PyThreadState_PopCStackRef(tstate, &method);
  985|      0|        _PyThreadState_PopCStackRef(tstate, &self);
  986|      0|        return NULL;
  987|      0|    }
  988|     87|    PyObject *callable = PyStackRef_AsPyObjectBorrow(method.ref);
  989|     87|    PyObject *self_obj = PyStackRef_AsPyObjectBorrow(self.ref);
  990|       |
  991|     87|    va_list vargs;
  992|     87|    va_start(vargs, name);
  993|     87|    PyObject *result = object_vacall(tstate, self_obj, callable, vargs);
  994|     87|    va_end(vargs);
  995|       |
  996|     87|    _PyThreadState_PopCStackRef(tstate, &method);
  997|     87|    _PyThreadState_PopCStackRef(tstate, &self);
  998|     87|    return result;
  999|     87|}
PyObject_CallFunctionObjArgs:
 1004|     90|{
 1005|     90|    PyThreadState *tstate = _PyThreadState_GET();
 1006|     90|    va_list vargs;
 1007|     90|    PyObject *result;
 1008|       |
 1009|     90|    va_start(vargs, callable);
 1010|     90|    result = object_vacall(tstate, NULL, callable, vargs);
 1011|     90|    va_end(vargs);
 1012|       |
 1013|     90|    return result;
 1014|     90|}
_PyStack_AsDict:
 1021|    162|{
 1022|    162|    Py_ssize_t nkwargs;
 1023|       |
 1024|    162|    assert(kwnames != NULL);
  ------------------
  |  Branch (1024:5): [True: 162, False: 0]
  ------------------
 1025|    162|    nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|    162|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    162|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1026|    162|    return _PyDict_FromItems(&PyTuple_GET_ITEM(kwnames, 0), 1,
  ------------------
  |  |   29|    162|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    162|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1026:31): [True: 162, False: 0]
  ------------------
 1027|    162|                             values, 1, nkwargs);
 1028|    162|}
_PyStack_UnpackDict:
 1051|    102|{
 1052|    102|    assert(nargs >= 0);
  ------------------
  |  Branch (1052:5): [True: 102, False: 0]
  ------------------
 1053|    102|    assert(kwargs != NULL);
  ------------------
  |  Branch (1053:5): [True: 102, False: 0]
  ------------------
 1054|    102|    assert(PyDict_Check(kwargs));
  ------------------
  |  Branch (1054:5): [True: 102, False: 0]
  ------------------
 1055|       |
 1056|    102|    Py_ssize_t nkwargs = PyDict_GET_SIZE(kwargs);
  ------------------
  |  |   63|    102|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1057|       |    /* Check for overflow in the PyMem_Malloc() call below. The subtraction
 1058|       |     * in this check cannot overflow: both maxnargs and nkwargs are
 1059|       |     * non-negative signed integers, so their difference fits in the type. */
 1060|    102|    Py_ssize_t maxnargs = PY_SSIZE_T_MAX / sizeof(args[0]) - 1;
  ------------------
  |  |  137|    102|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1061|    102|    if (nargs > maxnargs - nkwargs) {
  ------------------
  |  Branch (1061:9): [True: 0, False: 102]
  ------------------
 1062|      0|        _PyErr_NoMemory(tstate);
 1063|      0|        return NULL;
 1064|      0|    }
 1065|       |
 1066|       |    /* Add 1 to support PY_VECTORCALL_ARGUMENTS_OFFSET */
 1067|    102|    PyObject **stack = PyMem_Malloc((1 + nargs + nkwargs) * sizeof(args[0]));
 1068|    102|    if (stack == NULL) {
  ------------------
  |  Branch (1068:9): [True: 0, False: 102]
  ------------------
 1069|      0|        _PyErr_NoMemory(tstate);
 1070|      0|        return NULL;
 1071|      0|    }
 1072|       |
 1073|    102|    PyObject *kwnames = PyTuple_New(nkwargs);
 1074|    102|    if (kwnames == NULL) {
  ------------------
  |  Branch (1074:9): [True: 0, False: 102]
  ------------------
 1075|      0|        PyMem_Free(stack);
 1076|      0|        return NULL;
 1077|      0|    }
 1078|       |
 1079|    102|    stack++;  /* For PY_VECTORCALL_ARGUMENTS_OFFSET */
 1080|       |
 1081|       |    /* Copy positional arguments (borrowed references) */
 1082|    404|    for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (1082:28): [True: 302, False: 102]
  ------------------
 1083|    302|        stack[i] = args[i];
 1084|    302|    }
 1085|       |
 1086|    102|    PyObject **kwstack = stack + nargs;
 1087|       |    /* This loop doesn't support lookup function mutating the dictionary
 1088|       |       to change its size. It's a deliberate choice for speed, this function is
 1089|       |       called in the performance critical hot code. */
 1090|    102|    Py_ssize_t pos = 0, i = 0;
 1091|    102|    PyObject *key, *value;
 1092|    102|    unsigned long keys_are_strings = Py_TPFLAGS_UNICODE_SUBCLASS;
  ------------------
  |  |  555|    102|#define Py_TPFLAGS_UNICODE_SUBCLASS     (1UL << 28)
  ------------------
 1093|    277|    while (PyDict_Next(kwargs, &pos, &key, &value)) {
  ------------------
  |  Branch (1093:12): [True: 175, False: 102]
  ------------------
 1094|    175|        keys_are_strings &= Py_TYPE(key)->tp_flags;
  ------------------
  |  |  213|    175|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    175|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    175|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1095|    175|        PyTuple_SET_ITEM(kwnames, i, Py_NewRef(key));
  ------------------
  |  |   40|    175|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    175|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    175|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    175|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    175|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1096|    175|        kwstack[i] = Py_NewRef(value);
  ------------------
  |  |  647|    175|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    175|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    175|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1097|    175|        i++;
 1098|    175|    }
 1099|       |
 1100|       |    /* keys_are_strings has the value Py_TPFLAGS_UNICODE_SUBCLASS if that
 1101|       |     * flag is set for all keys. Otherwise, keys_are_strings equals 0.
 1102|       |     * We do this check once at the end instead of inside the loop above
 1103|       |     * because it simplifies the deallocation in the failing case.
 1104|       |     * It happens to also make the loop above slightly more efficient. */
 1105|    102|    if (!keys_are_strings) {
  ------------------
  |  Branch (1105:9): [True: 0, False: 102]
  ------------------
 1106|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 1107|      0|                         "keywords must be strings");
 1108|      0|        _PyStack_UnpackDict_Free(stack, nargs, kwnames);
 1109|      0|        return NULL;
 1110|      0|    }
 1111|       |
 1112|    102|    *p_kwnames = kwnames;
 1113|    102|    return stack;
 1114|    102|}
_PyStack_UnpackDict_Free:
 1119|    102|{
 1120|       |    /* Only decref kwargs values, positional args are borrowed */
 1121|    102|    Py_ssize_t nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|    102|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1122|    277|    for (Py_ssize_t i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (1122:28): [True: 175, False: 102]
  ------------------
 1123|    175|        Py_DECREF(stack[nargs + i]);
  ------------------
  |  |  430|    175|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    175|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    175|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1124|    175|    }
 1125|    102|    _PyStack_UnpackDict_FreeNoDecRef(stack, kwnames);
 1126|    102|}
_PyStack_UnpackDict_FreeNoDecRef:
 1130|    102|{
 1131|    102|    PyMem_Free((PyObject **)stack - 1);
 1132|    102|    Py_DECREF(kwnames);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1133|    102|}
call.c:_PyVectorcall_Call:
  266|    298|{
  267|    298|    assert(func != NULL);
  ------------------
  |  Branch (267:5): [True: 298, False: 0]
  ------------------
  268|       |
  269|    298|    Py_ssize_t nargs = PyTuple_GET_SIZE(tuple);
  ------------------
  |  |   27|    298|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    298|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    298|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  270|       |
  271|       |    /* Fast path for no keywords */
  272|    298|    if (kwargs == NULL || PyDict_GET_SIZE(kwargs) == 0) {
  ------------------
  |  |   63|    273|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    273|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    273|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (272:9): [True: 25, False: 273]
  |  Branch (272:27): [True: 273, False: 0]
  ------------------
  273|    298|        return func(callable, _PyTuple_ITEMS(tuple), nargs, NULL);
  ------------------
  |  |   26|    298|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  313|    596|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 298, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  274|    298|    }
  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)
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313: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|    343|{
  520|    343|    PyObject* small_stack[_PY_FASTCALL_SMALL_STACK];
  521|    343|    const Py_ssize_t small_stack_len = Py_ARRAY_LENGTH(small_stack);
  ------------------
  |  |  232|    343|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  522|    343|    PyObject **stack;
  523|    343|    Py_ssize_t nargs, i;
  524|    343|    PyObject *result;
  525|       |
  526|    343|    if (callable == NULL) {
  ------------------
  |  Branch (526:9): [True: 0, False: 343]
  ------------------
  527|      0|        return null_error(tstate);
  528|      0|    }
  529|       |
  530|    343|    if (!format || !*format) {
  ------------------
  |  Branch (530:9): [True: 0, False: 343]
  |  Branch (530:20): [True: 0, False: 343]
  ------------------
  531|      0|        return _PyObject_CallNoArgsTstate(tstate, callable);
  532|      0|    }
  533|       |
  534|    343|    stack = _Py_VaBuildStack(small_stack, small_stack_len,
  535|    343|                             format, va, &nargs);
  536|    343|    if (stack == NULL) {
  ------------------
  |  Branch (536:9): [True: 0, False: 343]
  ------------------
  537|      0|        return NULL;
  538|      0|    }
  539|    343|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, callable);
  ------------------
  |  |   80|    343|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  540|    343|    if (nargs == 1 && PyTuple_Check(stack[0])) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (540:9): [True: 8, False: 335]
  ------------------
  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)
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313: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|    341|    else {
  552|    341|        result = _PyObject_VectorcallTstate(tstate, callable,
  553|    341|                                            stack, nargs, NULL);
  554|    341|    }
  555|       |
  556|  1.55k|    for (i = 0; i < nargs; ++i) {
  ------------------
  |  Branch (556:17): [True: 1.20k, False: 343]
  ------------------
  557|  1.20k|        Py_DECREF(stack[i]);
  ------------------
  |  |  430|  1.20k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  558|  1.20k|    }
  559|    343|    if (stack != small_stack) {
  ------------------
  |  Branch (559:9): [True: 0, False: 343]
  ------------------
  560|      0|        PyMem_Free(stack);
  561|      0|    }
  562|    343|    return result;
  563|    343|}
call.c:callmethod:
  618|     61|{
  619|     61|    PyObject *result = NULL;
  620|       |
  621|     61|    _PyCStackRef self, method;
  622|     61|    _PyThreadState_PushCStackRef(tstate, &self);
  623|     61|    _PyThreadState_PushCStackRef(tstate, &method);
  624|     61|    self.ref = PyStackRef_FromPyObjectBorrow(obj);
  625|       |
  626|     61|    int res = _PyObject_GetMethodStackRef(tstate, &self.ref, name, &method.ref);
  627|     61|    if (res < 0) {
  ------------------
  |  Branch (627:9): [True: 0, False: 61]
  ------------------
  628|      0|        goto exit;
  629|      0|    }
  630|       |
  631|     61|    PyObject *callable = PyStackRef_AsPyObjectBorrow(method.ref);
  632|     61|    PyObject *self_obj = PyStackRef_AsPyObjectBorrow(self.ref);
  633|       |
  634|     61|    if (!PyCallable_Check(callable)) {
  ------------------
  |  Branch (634:9): [True: 0, False: 61]
  ------------------
  635|      0|        _PyErr_Format(tstate, PyExc_TypeError,
  636|      0|                      "attribute of type '%.200s' is not callable",
  637|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  638|      0|        goto exit;
  639|      0|    }
  640|       |
  641|       |    /* Build the positional arguments from the format string. */
  642|     61|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK];
  643|     61|    Py_ssize_t nargs = 0;
  644|     61|    PyObject **built = NULL;
  645|     61|    if (format != NULL && *format != '\0') {
  ------------------
  |  Branch (645:9): [True: 16, False: 45]
  |  Branch (645:27): [True: 14, False: 2]
  ------------------
  646|     14|        built = _Py_VaBuildStack(small_stack, _PY_FASTCALL_SMALL_STACK,
  ------------------
  |  |   29|     14|#define _PY_FASTCALL_SMALL_STACK 5
  ------------------
  647|     14|                                 format, va, &nargs);
  648|     14|        if (built == NULL) {
  ------------------
  |  Branch (648:13): [True: 0, False: 14]
  ------------------
  649|      0|            goto exit;
  650|      0|        }
  651|     14|    }
  652|       |
  653|       |    /* Backward compat: a single tuple from "O" is unpacked. */
  654|     61|    PyObject *const *args = built;
  655|     61|    Py_ssize_t n = nargs;
  656|     61|    if (nargs == 1 && PyTuple_Check(built[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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (656:9): [True: 0, False: 61]
  ------------------
  657|      0|        args = _PyTuple_ITEMS(built[0]);
  ------------------
  |  |   26|      0|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  658|      0|        n = PyTuple_GET_SIZE(built[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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  659|      0|    }
  660|       |
  661|     61|    if (self_obj != NULL) {
  ------------------
  |  Branch (661:9): [True: 0, False: 61]
  ------------------
  662|      0|        result = _PyObject_VectorcallPrepend(tstate, callable, self_obj, args, n, NULL);
  663|      0|    }
  664|     61|    else {
  665|     61|        result = _PyObject_VectorcallTstate(tstate, callable, args, n, NULL);
  666|     61|    }
  667|       |
  668|    143|    for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (668:28): [True: 82, False: 61]
  ------------------
  669|     82|        Py_DECREF(built[i]);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  670|     82|    }
  671|     61|    if (built != small_stack) {
  ------------------
  |  Branch (671:9): [True: 59, False: 2]
  ------------------
  672|     59|        PyMem_Free(built);
  673|     59|    }
  674|       |
  675|     61|exit:
  676|     61|    _PyThreadState_PopCStackRef(tstate, &method);
  677|     61|    _PyThreadState_PopCStackRef(tstate, &self);
  678|     61|    return result;
  679|     61|}
call.c:object_vacall:
  805|    177|{
  806|    177|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK];
  807|    177|    PyObject **stack;
  808|    177|    Py_ssize_t nargs;
  809|    177|    PyObject *result;
  810|    177|    Py_ssize_t i;
  811|    177|    va_list countva;
  812|       |
  813|    177|    if (callable == NULL) {
  ------------------
  |  Branch (813:9): [True: 0, False: 177]
  ------------------
  814|      0|        return null_error(tstate);
  815|      0|    }
  816|       |
  817|       |    /* Count the number of arguments */
  818|    177|    va_copy(countva, vargs);
  819|    177|    nargs = base ? 1 : 0;
  ------------------
  |  Branch (819:13): [True: 0, False: 177]
  ------------------
  820|    795|    while (1) {
  ------------------
  |  Branch (820:12): [True: 795, Folded]
  ------------------
  821|    795|        PyObject *arg = va_arg(countva, PyObject *);
  822|    795|        if (arg == NULL) {
  ------------------
  |  Branch (822:13): [True: 177, False: 618]
  ------------------
  823|    177|            break;
  824|    177|        }
  825|    618|        nargs++;
  826|    618|    }
  827|    177|    va_end(countva);
  828|       |
  829|       |    /* Copy arguments */
  830|    177|    if (nargs <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) {
  ------------------
  |  |  232|    177|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (830:9): [True: 127, False: 50]
  ------------------
  831|    127|        stack = small_stack;
  832|    127|    }
  833|     50|    else {
  834|     50|        stack = PyMem_Malloc(nargs * sizeof(stack[0]));
  835|     50|        if (stack == NULL) {
  ------------------
  |  Branch (835:13): [True: 0, False: 50]
  ------------------
  836|      0|            PyErr_NoMemory();
  837|      0|            return NULL;
  838|      0|        }
  839|     50|    }
  840|       |
  841|    177|    i = 0;
  842|    177|    if (base) {
  ------------------
  |  Branch (842:9): [True: 0, False: 177]
  ------------------
  843|      0|        stack[i++] = base;
  844|      0|    }
  845|       |
  846|    795|    for (; i < nargs; ++i) {
  ------------------
  |  Branch (846:12): [True: 618, False: 177]
  ------------------
  847|    618|        stack[i] = va_arg(vargs, PyObject *);
  848|    618|    }
  849|       |
  850|       |#ifdef Py_STATS
  851|       |    if (PyFunction_Check(callable)) {
  852|       |        EVAL_CALL_STAT_INC(EVAL_CALL_API);
  853|       |    }
  854|       |#endif
  855|       |    /* Call the function */
  856|    177|    result = _PyObject_VectorcallTstate(tstate, callable, stack, nargs, NULL);
  857|       |
  858|    177|    if (stack != small_stack) {
  ------------------
  |  Branch (858:9): [True: 50, False: 127]
  ------------------
  859|     50|        PyMem_Free(stack);
  860|     50|    }
  861|    177|    return result;
  862|    177|}

PyCapsule_New:
   62|      3|{
   63|      3|    PyCapsule *capsule;
   64|       |
   65|      3|    if (!pointer) {
  ------------------
  |  Branch (65:9): [True: 0, False: 3]
  ------------------
   66|      0|        PyErr_SetString(PyExc_ValueError, "PyCapsule_New called with null pointer");
   67|      0|        return NULL;
   68|      0|    }
   69|       |
   70|      3|    capsule = PyObject_GC_New(PyCapsule, &PyCapsule_Type);
  ------------------
  |  |  181|      3|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   71|      3|    if (capsule == NULL) {
  ------------------
  |  Branch (71:9): [True: 0, False: 3]
  ------------------
   72|      0|        return NULL;
   73|      0|    }
   74|       |
   75|      3|    capsule->pointer = pointer;
   76|      3|    capsule->name = name;
   77|      3|    capsule->context = NULL;
   78|      3|    capsule->destructor = destructor;
   79|      3|    capsule->traverse_func = NULL;
   80|      3|    capsule->clear_func = NULL;
   81|       |    // Only track the object by the GC when _PyCapsule_SetTraverse() is called
   82|       |
   83|      3|    return (PyObject *)capsule;
   84|      3|}
PyCapsule_IsValid:
   89|      1|{
   90|      1|    PyCapsule *capsule = (PyCapsule *)op;
   91|       |
   92|      1|    return (capsule != NULL &&
  ------------------
  |  Branch (92:13): [True: 1, False: 0]
  ------------------
   93|      1|            PyCapsule_CheckExact(capsule) &&
  ------------------
  |  |   25|      1|#define PyCapsule_CheckExact(op) Py_IS_TYPE((op), &PyCapsule_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: 1, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   94|      1|            capsule->pointer != NULL &&
  ------------------
  |  Branch (94:13): [True: 1, False: 0]
  ------------------
   95|      1|            name_matches(capsule->name, name));
  ------------------
  |  Branch (95:13): [True: 1, False: 0]
  ------------------
   96|      1|}
PyCapsule_GetPointer:
  101|      2|{
  102|      2|    if (!is_legal_capsule(op, "PyCapsule_GetPointer")) {
  ------------------
  |  |   44|      2|    (_is_legal_capsule(capsule, \
  |  |   45|      2|     name " called with invalid PyCapsule object"))
  ------------------
  |  Branch (102:9): [True: 0, False: 2]
  ------------------
  103|      0|        return NULL;
  104|      0|    }
  105|      2|    PyCapsule *capsule = (PyCapsule *)op;
  106|       |
  107|      2|    if (!name_matches(name, capsule->name)) {
  ------------------
  |  Branch (107:9): [True: 0, False: 2]
  ------------------
  108|      0|        PyErr_SetString(PyExc_ValueError, "PyCapsule_GetPointer called with incorrect name");
  109|      0|        return NULL;
  110|      0|    }
  111|       |
  112|      2|    return capsule->pointer;
  113|      2|}
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);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  251|      0|                break;
  252|      0|            }
  253|      1|            Py_SETREF(object, attr);
  ------------------
  |  |  545|      1|    do { \
  |  |  546|      1|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      1|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      1|        *_tmp_dst_ptr = (src); \
  |  |  549|      1|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550: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);
  ------------------
  |  |  621|      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|      3|name_matches(const char *name1, const char *name2) {
   50|       |    /* if either is NULL, */
   51|      3|    if (!name1 || !name2) {
  ------------------
  |  Branch (51:9): [True: 0, False: 3]
  |  Branch (51:19): [True: 0, False: 3]
  ------------------
   52|       |        /* they're only the same if they're both NULL. */
   53|      0|        return name1 == name2;
   54|      0|    }
   55|      3|    return !strcmp(name1, name2);
   56|      3|}
capsule.c:_is_legal_capsule:
   27|      2|{
   28|      2|    if (!op || !PyCapsule_CheckExact(op)) {
  ------------------
  |  |   25|      2|#define PyCapsule_CheckExact(op) Py_IS_TYPE((op), &PyCapsule_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 (28:9): [True: 0, False: 2]
  |  Branch (28:16): [True: 0, False: 2]
  ------------------
   29|      0|        goto error;
   30|      0|    }
   31|      2|    PyCapsule *capsule = (PyCapsule *)op;
   32|       |
   33|      2|    if (capsule->pointer == NULL) {
  ------------------
  |  Branch (33:9): [True: 0, False: 2]
  ------------------
   34|      0|        goto error;
   35|      0|    }
   36|      2|    return 1;
   37|       |
   38|      0|error:
   39|      0|    PyErr_SetString(PyExc_ValueError, invalid_capsule);
   40|      0|    return 0;
   41|      2|}
capsule.c:capsule_dealloc:
  289|      2|{
  290|      2|    PyCapsule *capsule = _PyCapsule_CAST(op);
  ------------------
  |  |   22|      2|#define _PyCapsule_CAST(op)     ((PyCapsule *)(op))
  ------------------
  291|      2|    PyObject_GC_UnTrack(op);
  292|      2|    if (capsule->destructor) {
  ------------------
  |  Branch (292:9): [True: 0, False: 2]
  ------------------
  293|      0|        capsule->destructor(op);
  294|      0|    }
  295|      2|    PyObject_GC_Del(op);
  296|      2|}

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

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

boolobject.c:bool_vectorcall:
   48|      6|{
   49|      6|    PyObject *return_value = NULL;
   50|      6|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      6|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
   51|      6|    PyObject *x = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   52|       |
   53|      6|    assert(_PyType_CAST(type)->tp_new == bool_new);
  ------------------
  |  Branch (53:5): [True: 6, False: 0]
  |  Branch (53:5): [True: 6, False: 0]
  ------------------
   54|       |    /* Make sure the type object is immutable: the generated
   55|       |     * vectorcall doesn't deal e.g. with users reassigning __init__. */
   56|      6|    assert(PyType_HasFeature(_PyType_CAST(type), Py_TPFLAGS_IMMUTABLETYPE));
  ------------------
  |  Branch (56:5): [True: 6, False: 0]
  |  Branch (56:5): [True: 6, False: 0]
  ------------------
   57|      6|    if (!_PyArg_NoKwnames("bool", kwnames)) {
  ------------------
  |  |   16|      6|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 6, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   58|      0|        goto exit;
   59|      0|    }
   60|      6|    if (!_PyArg_CheckPositional("bool", nargs, 0, 1)) {
  ------------------
  |  |   38|      6|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 6, False: 0]
  |  |  |  Branch (38:27): [True: 6, False: 0]
  |  |  ------------------
  |  |   39|      6|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   61|      0|        goto exit;
   62|      0|    }
   63|      6|    if (nargs < 1) {
  ------------------
  |  Branch (63:9): [True: 0, False: 6]
  ------------------
   64|      0|        goto skip_optional;
   65|      0|    }
   66|      6|    x = args[0];
   67|      6|skip_optional:
   68|      6|    return_value = bool_new_impl(_PyType_CAST(type), x);
  ------------------
  |  |  770|      6|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (68:34): [True: 6, False: 0]
  ------------------
   69|       |
   70|      6|exit:
   71|      6|    return return_value;
   72|      6|}

bytearrayobject.c:bytearray_find:
  295|     28|{
  296|     28|    PyObject *return_value = NULL;
  297|     28|    PyObject *sub;
  298|     28|    Py_ssize_t start = 0;
  299|     28|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|     28|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  300|       |
  301|     28|    if (!_PyArg_CheckPositional("find", nargs, 1, 3)) {
  ------------------
  |  |   38|     28|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 28, False: 0]
  |  |  |  Branch (38:27): [True: 28, False: 0]
  |  |  ------------------
  |  |   39|     28|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  302|      0|        goto exit;
  303|      0|    }
  304|     28|    sub = args[0];
  305|     28|    if (nargs < 2) {
  ------------------
  |  Branch (305:9): [True: 0, False: 28]
  ------------------
  306|      0|        goto skip_optional;
  307|      0|    }
  308|     28|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (308:9): [True: 0, False: 28]
  ------------------
  309|      0|        goto exit;
  310|      0|    }
  311|     28|    if (nargs < 3) {
  ------------------
  |  Branch (311:9): [True: 28, False: 0]
  ------------------
  312|     28|        goto skip_optional;
  313|     28|    }
  314|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (314:9): [True: 0, False: 0]
  ------------------
  315|      0|        goto exit;
  316|      0|    }
  317|     28|skip_optional:
  318|     28|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     28|    {
  ------------------
  319|     28|    return_value = bytearray_find_impl((PyByteArrayObject *)self, sub, start, end);
  320|     28|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     28|    }
  ------------------
  321|       |
  322|     28|exit:
  323|     28|    return return_value;
  324|     28|}
bytearrayobject.c:bytearray_translate:
  860|      3|{
  861|      3|    PyObject *return_value = NULL;
  862|      3|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  863|       |
  864|      3|    #define NUM_KEYWORDS 1
  865|      3|    static struct {
  866|      3|        PyGC_Head _this_is_not_used;
  867|      3|        PyObject_VAR_HEAD
  868|      3|        Py_hash_t ob_hash;
  869|      3|        PyObject *ob_item[NUM_KEYWORDS];
  870|      3|    } _kwtuple = {
  871|      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|    },
  ------------------
  872|      3|        .ob_hash = -1,
  873|      3|        .ob_item = { &_Py_ID(delete), },
  ------------------
  |  |  951|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  874|      3|    };
  875|      3|    #undef NUM_KEYWORDS
  876|      3|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  877|       |
  878|       |    #else  // !Py_BUILD_CORE
  879|       |    #  define KWTUPLE NULL
  880|       |    #endif  // !Py_BUILD_CORE
  881|       |
  882|      3|    static const char * const _keywords[] = {"", "delete", NULL};
  883|      3|    static _PyArg_Parser _parser = {
  884|      3|        .keywords = _keywords,
  885|      3|        .fname = "translate",
  886|      3|        .kwtuple = KWTUPLE,
  ------------------
  |  |  876|      3|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  887|      3|    };
  888|      3|    #undef KWTUPLE
  889|      3|    PyObject *argsbuf[2];
  890|      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 (890:36): [True: 0, False: 3]
  ------------------
  891|      3|    PyObject *table;
  892|      3|    PyObject *deletechars = NULL;
  893|       |
  894|      3|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|      3|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 3, False: 0]
  |  |  ------------------
  |  |   91|      3|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 3, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 3]
  |  |  |  Branch (91:43): [True: 3, False: 0]
  |  |  |  Branch (91:67): [True: 3, False: 0]
  |  |  ------------------
  |  |   92|      3|      (args) : \
  |  |   93|      3|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  895|      3|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  896|      3|    if (!args) {
  ------------------
  |  Branch (896:9): [True: 0, False: 3]
  ------------------
  897|      0|        goto exit;
  898|      0|    }
  899|      3|    table = args[0];
  900|      3|    if (!noptargs) {
  ------------------
  |  Branch (900:9): [True: 3, False: 0]
  ------------------
  901|      3|        goto skip_optional_pos;
  902|      3|    }
  903|      0|    deletechars = args[1];
  904|      3|skip_optional_pos:
  905|      3|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      3|    {
  ------------------
  906|      3|    return_value = bytearray_translate_impl((PyByteArrayObject *)self, table, deletechars);
  907|      3|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      3|    }
  ------------------
  908|       |
  909|      3|exit:
  910|      3|    return return_value;
  911|      3|}
bytearrayobject.c:bytearray_vectorcall:
  187|      8|{
  188|      8|    PyObject *return_value = NULL;
  189|      8|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      8|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  190|      8|    PyObject *self;
  191|      8|    int _result;
  192|      8|    PyObject *arg = NULL;
  193|      8|    const char *encoding = NULL;
  194|      8|    const char *errors = NULL;
  195|       |
  196|      8|    assert(_PyType_CAST(type)->tp_init == bytearray___init__);
  ------------------
  |  Branch (196:5): [True: 8, False: 0]
  |  Branch (196:5): [True: 8, False: 0]
  ------------------
  197|       |    /* Make sure the type object is immutable: the generated
  198|       |     * vectorcall doesn't deal e.g. with users reassigning __init__. */
  199|      8|    assert(PyType_HasFeature(_PyType_CAST(type), Py_TPFLAGS_IMMUTABLETYPE));
  ------------------
  |  Branch (199:5): [True: 8, False: 0]
  |  Branch (199:5): [True: 8, False: 0]
  ------------------
  200|      8|    if (kwnames != NULL || nargs > 3) {
  ------------------
  |  Branch (200:9): [True: 0, False: 8]
  |  Branch (200:28): [True: 0, False: 8]
  ------------------
  201|      0|        self = _PyType_CAST(type)->tp_new(_PyType_CAST(type),
  ------------------
  |  |  770|      0|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                      self = _PyType_CAST(type)->tp_new(_PyType_CAST(type),
  ------------------
  |  |  770|      0|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (201:16): [True: 0, False: 0]
  |  Branch (201:43): [True: 0, False: 0]
  ------------------
  202|      0|            (PyObject *)&_Py_SINGLETON(tuple_empty), NULL);
  ------------------
  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
  203|      0|        if (self == NULL) {
  ------------------
  |  Branch (203:13): [True: 0, False: 0]
  ------------------
  204|      0|            return NULL;
  205|      0|        }
  206|      0|        _result = bytearray___init___helper(self, args, nargs,
  207|      0|            kwnames ? 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 (207:13): [True: 0, False: 0]
  ------------------
  208|      0|            NULL, kwnames);
  209|      0|        if (_result != 0) {
  ------------------
  |  Branch (209:13): [True: 0, False: 0]
  ------------------
  210|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  211|      0|            return NULL;
  212|      0|        }
  213|      0|        return self;
  214|      0|    }
  215|      8|    if (nargs < 1) {
  ------------------
  |  Branch (215:9): [True: 2, False: 6]
  ------------------
  216|      2|        goto skip_optional;
  217|      2|    }
  218|      6|    arg = args[0];
  219|      6|    if (nargs < 2) {
  ------------------
  |  Branch (219:9): [True: 6, False: 0]
  ------------------
  220|      6|        goto skip_optional;
  221|      6|    }
  222|      0|    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 (222:9): [True: 0, False: 0]
  ------------------
  223|      0|        _PyArg_BadArgument("bytearray", "argument 'encoding'", "str", args[1]);
  224|      0|        goto exit;
  225|      0|    }
  226|      0|    encoding = _PyUnicode_AsUTF8NoNUL(args[1]);
  227|      0|    if (encoding == NULL) {
  ------------------
  |  Branch (227:9): [True: 0, False: 0]
  ------------------
  228|      0|        goto exit;
  229|      0|    }
  230|      0|    if (nargs < 3) {
  ------------------
  |  Branch (230:9): [True: 0, False: 0]
  ------------------
  231|      0|        goto skip_optional;
  232|      0|    }
  233|      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 (233:9): [True: 0, False: 0]
  ------------------
  234|      0|        _PyArg_BadArgument("bytearray", "argument 'errors'", "str", args[2]);
  235|      0|        goto exit;
  236|      0|    }
  237|      0|    errors = _PyUnicode_AsUTF8NoNUL(args[2]);
  238|      0|    if (errors == NULL) {
  ------------------
  |  Branch (238:9): [True: 0, False: 0]
  ------------------
  239|      0|        goto exit;
  240|      0|    }
  241|      8|skip_optional:
  242|      8|    self = _PyType_CAST(type)->tp_new(_PyType_CAST(type),
  ------------------
  |  |  770|      8|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  self = _PyType_CAST(type)->tp_new(_PyType_CAST(type),
  ------------------
  |  |  770|      8|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (242:12): [True: 8, False: 0]
  |  Branch (242:39): [True: 8, False: 0]
  ------------------
  243|      8|        (PyObject *)&_Py_SINGLETON(tuple_empty), NULL);
  ------------------
  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
  244|      8|    if (self == NULL) {
  ------------------
  |  Branch (244:9): [True: 0, False: 8]
  ------------------
  245|      0|        goto exit;
  246|      0|    }
  247|      8|    _result = bytearray___init___impl((PyByteArrayObject *)self, arg, encoding, errors);
  248|      8|    if (_result != 0) {
  ------------------
  |  Branch (248:9): [True: 0, False: 8]
  ------------------
  249|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      0|        goto exit;
  251|      0|    }
  252|      8|    return_value = self;
  253|       |
  254|      8|exit:
  255|      8|    return return_value;
  256|      8|}

bytesobject.c:bytes_decode:
 1093|      2|{
 1094|      2|    PyObject *return_value = NULL;
 1095|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1096|       |
 1097|      2|    #define NUM_KEYWORDS 2
 1098|      2|    static struct {
 1099|      2|        PyGC_Head _this_is_not_used;
 1100|      2|        PyObject_VAR_HEAD
 1101|      2|        Py_hash_t ob_hash;
 1102|      2|        PyObject *ob_item[NUM_KEYWORDS];
 1103|      2|    } _kwtuple = {
 1104|      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|    },
  ------------------
 1105|      2|        .ob_hash = -1,
 1106|      2|        .ob_item = { &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  951|      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(encoding), &_Py_ID(errors), },
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1107|      2|    };
 1108|      2|    #undef NUM_KEYWORDS
 1109|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1110|       |
 1111|       |    #else  // !Py_BUILD_CORE
 1112|       |    #  define KWTUPLE NULL
 1113|       |    #endif  // !Py_BUILD_CORE
 1114|       |
 1115|      2|    static const char * const _keywords[] = {"encoding", "errors", NULL};
 1116|      2|    static _PyArg_Parser _parser = {
 1117|      2|        .keywords = _keywords,
 1118|      2|        .fname = "decode",
 1119|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1109|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1120|      2|    };
 1121|      2|    #undef KWTUPLE
 1122|      2|    PyObject *argsbuf[2];
 1123|      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 (1123:36): [True: 0, False: 2]
  ------------------
 1124|      2|    const char *encoding = NULL;
 1125|      2|    const char *errors = NULL;
 1126|       |
 1127|      2|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 2, False: 0]
  |  |  ------------------
  |  |   91|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 2, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 2]
  |  |  |  Branch (91:43): [True: 2, False: 0]
  |  |  |  Branch (91:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   92|      2|      (args) : \
  |  |   93|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1128|      2|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1129|      2|    if (!args) {
  ------------------
  |  Branch (1129:9): [True: 0, False: 2]
  ------------------
 1130|      0|        goto exit;
 1131|      0|    }
 1132|      2|    if (!noptargs) {
  ------------------
  |  Branch (1132:9): [True: 0, False: 2]
  ------------------
 1133|      0|        goto skip_optional_pos;
 1134|      0|    }
 1135|      2|    if (args[0]) {
  ------------------
  |  Branch (1135:9): [True: 2, False: 0]
  ------------------
 1136|      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 (1136:13): [True: 0, False: 2]
  ------------------
 1137|      0|            _PyArg_BadArgument("decode", "argument 'encoding'", "str", args[0]);
 1138|      0|            goto exit;
 1139|      0|        }
 1140|      2|        encoding = _PyUnicode_AsUTF8NoNUL(args[0]);
 1141|      2|        if (encoding == NULL) {
  ------------------
  |  Branch (1141:13): [True: 0, False: 2]
  ------------------
 1142|      0|            goto exit;
 1143|      0|        }
 1144|      2|        if (!--noptargs) {
  ------------------
  |  Branch (1144:13): [True: 0, False: 2]
  ------------------
 1145|      0|            goto skip_optional_pos;
 1146|      0|        }
 1147|      2|    }
 1148|      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 (1148:9): [True: 0, False: 2]
  ------------------
 1149|      0|        _PyArg_BadArgument("decode", "argument 'errors'", "str", args[1]);
 1150|      0|        goto exit;
 1151|      0|    }
 1152|      2|    errors = _PyUnicode_AsUTF8NoNUL(args[1]);
 1153|      2|    if (errors == NULL) {
  ------------------
  |  Branch (1153:9): [True: 0, False: 2]
  ------------------
 1154|      0|        goto exit;
 1155|      0|    }
 1156|      2|skip_optional_pos:
 1157|      2|    return_value = bytes_decode_impl((PyBytesObject *)self, encoding, errors);
 1158|       |
 1159|      2|exit:
 1160|      2|    return return_value;
 1161|      2|}
bytesobject.c:bytes_replace:
  818|     34|{
  819|     34|    PyObject *return_value = NULL;
  820|     34|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  821|       |
  822|     34|    #define NUM_KEYWORDS 1
  823|     34|    static struct {
  824|     34|        PyGC_Head _this_is_not_used;
  825|     34|        PyObject_VAR_HEAD
  826|     34|        Py_hash_t ob_hash;
  827|     34|        PyObject *ob_item[NUM_KEYWORDS];
  828|     34|    } _kwtuple = {
  829|     34|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     34|    {                                     \
  |  |   98|     34|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     34|    {                               \
  |  |  |  |   91|     34|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     34|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     34|#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|     34|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     34|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     34|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     34|        (type)                      \
  |  |  |  |   93|     34|    },
  |  |  ------------------
  |  |   99|     34|        (size)                            \
  |  |  100|     34|    },
  ------------------
  830|     34|        .ob_hash = -1,
  831|     34|        .ob_item = { &_Py_ID(count), },
  ------------------
  |  |  951|     34|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     34|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     34|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  832|     34|    };
  833|     34|    #undef NUM_KEYWORDS
  834|     34|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  835|       |
  836|       |    #else  // !Py_BUILD_CORE
  837|       |    #  define KWTUPLE NULL
  838|       |    #endif  // !Py_BUILD_CORE
  839|       |
  840|     34|    static const char * const _keywords[] = {"", "", "count", NULL};
  841|     34|    static _PyArg_Parser _parser = {
  842|     34|        .keywords = _keywords,
  843|     34|        .fname = "replace",
  844|     34|        .kwtuple = KWTUPLE,
  ------------------
  |  |  834|     34|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  845|     34|    };
  846|     34|    #undef KWTUPLE
  847|     34|    PyObject *argsbuf[3];
  848|     34|    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 (848:36): [True: 0, False: 34]
  ------------------
  849|     34|    Py_buffer old = {NULL, NULL};
  850|     34|    Py_buffer new = {NULL, NULL};
  851|     34|    Py_ssize_t count = -1;
  852|       |
  853|     34|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|     34|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 34, False: 0]
  |  |  ------------------
  |  |   91|     34|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 34, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 34]
  |  |  |  Branch (91:43): [True: 34, False: 0]
  |  |  |  Branch (91:67): [True: 34, False: 0]
  |  |  ------------------
  |  |   92|     34|      (args) : \
  |  |   93|     34|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  854|     34|            /*minpos*/ 2, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  855|     34|    if (!args) {
  ------------------
  |  Branch (855:9): [True: 0, False: 34]
  ------------------
  856|      0|        goto exit;
  857|      0|    }
  858|     34|    if (PyObject_GetBuffer(args[0], &old, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     34|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (858:9): [True: 0, False: 34]
  ------------------
  859|      0|        goto exit;
  860|      0|    }
  861|     34|    if (PyObject_GetBuffer(args[1], &new, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     34|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (861:9): [True: 0, False: 34]
  ------------------
  862|      0|        goto exit;
  863|      0|    }
  864|     34|    if (!noptargs) {
  ------------------
  |  Branch (864:9): [True: 34, False: 0]
  ------------------
  865|     34|        goto skip_optional_pos;
  866|     34|    }
  867|      0|    {
  868|      0|        Py_ssize_t ival = -1;
  869|      0|        PyObject *iobj = _PyNumber_Index(args[2]);
  870|      0|        if (iobj != NULL) {
  ------------------
  |  Branch (870:13): [True: 0, False: 0]
  ------------------
  871|      0|            ival = PyLong_AsSsize_t(iobj);
  872|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  873|      0|        }
  874|      0|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (874:13): [True: 0, False: 0]
  |  Branch (874:27): [True: 0, False: 0]
  ------------------
  875|      0|            goto exit;
  876|      0|        }
  877|      0|        count = ival;
  878|      0|    }
  879|     34|skip_optional_pos:
  880|     34|    return_value = bytes_replace_impl((PyBytesObject *)self, &old, &new, count);
  881|       |
  882|     34|exit:
  883|       |    /* Cleanup for old */
  884|     34|    if (old.obj) {
  ------------------
  |  Branch (884:9): [True: 34, False: 0]
  ------------------
  885|     34|       PyBuffer_Release(&old);
  886|     34|    }
  887|       |    /* Cleanup for new */
  888|     34|    if (new.obj) {
  ------------------
  |  Branch (888:9): [True: 34, False: 0]
  ------------------
  889|     34|       PyBuffer_Release(&new);
  890|     34|    }
  891|       |
  892|     34|    return return_value;
  893|     34|}

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), },
  ------------------
  |  |  951|      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,
  ------------------
  |  |   90|      1|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 1, Folded]
  |  |  |  Branch (90:23): [True: 1, False: 0]
  |  |  |  Branch (90:43): [True: 0, Folded]
  |  |  ------------------
  |  |   91|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 1, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 1]
  |  |  |  Branch (91:43): [True: 1, False: 0]
  |  |  |  Branch (91:67): [True: 1, False: 0]
  |  |  |  Branch (91:68): [True: 1, False: 0]
  |  |  ------------------
  |  |   92|      2|      (args) : \
  |  |  ------------------
  |  |  |  Branch (92:8): [True: 1, False: 0]
  |  |  ------------------
  |  |   93|      1|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (93:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   94|      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___set_name__:
   83|     28|{
   84|     28|    PyObject *return_value = NULL;
   85|     28|    PyObject *owner;
   86|     28|    PyObject *name;
   87|       |
   88|     28|    if (!_PyArg_CheckPositional("__set_name__", nargs, 2, 2)) {
  ------------------
  |  |   38|     28|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 28, False: 0]
  |  |  |  Branch (38:27): [True: 28, False: 0]
  |  |  ------------------
  |  |   39|     28|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   89|      0|        goto exit;
   90|      0|    }
   91|     28|    owner = args[0];
   92|     28|    name = args[1];
   93|     28|    return_value = property___set_name___impl((propertyobject *)self, owner, name);
   94|       |
   95|     28|exit:
   96|     28|    return return_value;
   97|     28|}
descrobject.c:property_init:
  142|     28|{
  143|     28|    int return_value = -1;
  144|     28|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  145|       |
  146|     28|    #define NUM_KEYWORDS 4
  147|     28|    static struct {
  148|     28|        PyGC_Head _this_is_not_used;
  149|     28|        PyObject_VAR_HEAD
  150|     28|        Py_hash_t ob_hash;
  151|     28|        PyObject *ob_item[NUM_KEYWORDS];
  152|     28|    } _kwtuple = {
  153|     28|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     28|    {                                     \
  |  |   98|     28|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     28|    {                               \
  |  |  |  |   91|     28|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     28|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     28|#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|     28|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     28|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     28|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     28|        (type)                      \
  |  |  |  |   93|     28|    },
  |  |  ------------------
  |  |   99|     28|        (size)                            \
  |  |  100|     28|    },
  ------------------
  154|     28|        .ob_hash = -1,
  155|     28|        .ob_item = { &_Py_ID(fget), &_Py_ID(fset), &_Py_ID(fdel), &_Py_ID(doc), },
  ------------------
  |  |  951|     28|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     28|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     28|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(fget), &_Py_ID(fset), &_Py_ID(fdel), &_Py_ID(doc), },
  ------------------
  |  |  951|     28|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     28|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     28|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(fget), &_Py_ID(fset), &_Py_ID(fdel), &_Py_ID(doc), },
  ------------------
  |  |  951|     28|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     28|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     28|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(fget), &_Py_ID(fset), &_Py_ID(fdel), &_Py_ID(doc), },
  ------------------
  |  |  951|     28|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     28|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     28|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  156|     28|    };
  157|     28|    #undef NUM_KEYWORDS
  158|     28|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  159|       |
  160|       |    #else  // !Py_BUILD_CORE
  161|       |    #  define KWTUPLE NULL
  162|       |    #endif  // !Py_BUILD_CORE
  163|       |
  164|     28|    static const char * const _keywords[] = {"fget", "fset", "fdel", "doc", NULL};
  165|     28|    static _PyArg_Parser _parser = {
  166|     28|        .keywords = _keywords,
  167|     28|        .fname = "property",
  168|     28|        .kwtuple = KWTUPLE,
  ------------------
  |  |  158|     28|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  169|     28|    };
  170|     28|    #undef KWTUPLE
  171|     28|    PyObject *argsbuf[4];
  172|     28|    PyObject * const *fastargs;
  173|     28|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     28|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  174|     28|    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 (174:36): [True: 0, False: 28]
  ------------------
  175|     28|    PyObject *fget = NULL;
  176|     28|    PyObject *fset = NULL;
  177|     28|    PyObject *fdel = NULL;
  178|     28|    PyObject *doc = NULL;
  179|       |
  180|     28|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   90|     28|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 28, Folded]
  |  |  |  Branch (90:23): [True: 28, False: 0]
  |  |  |  Branch (90:43): [True: 0, Folded]
  |  |  ------------------
  |  |   91|     56|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 28, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 28]
  |  |  |  Branch (91:43): [True: 28, False: 0]
  |  |  |  Branch (91:67): [True: 28, False: 0]
  |  |  |  Branch (91:68): [True: 28, False: 0]
  |  |  ------------------
  |  |   92|     56|      (args) : \
  |  |  ------------------
  |  |  |  Branch (92:8): [True: 28, False: 0]
  |  |  ------------------
  |  |   93|     28|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (93:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  181|     28|            /*minpos*/ 0, /*maxpos*/ 4, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  182|     28|    if (!fastargs) {
  ------------------
  |  Branch (182:9): [True: 0, False: 28]
  ------------------
  183|      0|        goto exit;
  184|      0|    }
  185|     28|    if (!noptargs) {
  ------------------
  |  Branch (185:9): [True: 0, False: 28]
  ------------------
  186|      0|        goto skip_optional_pos;
  187|      0|    }
  188|     28|    if (fastargs[0]) {
  ------------------
  |  Branch (188:9): [True: 28, False: 0]
  ------------------
  189|     28|        fget = fastargs[0];
  190|     28|        if (!--noptargs) {
  ------------------
  |  Branch (190:13): [True: 23, False: 5]
  ------------------
  191|     23|            goto skip_optional_pos;
  192|     23|        }
  193|     28|    }
  194|      5|    if (fastargs[1]) {
  ------------------
  |  Branch (194:9): [True: 5, False: 0]
  ------------------
  195|      5|        fset = fastargs[1];
  196|      5|        if (!--noptargs) {
  ------------------
  |  Branch (196:13): [True: 1, False: 4]
  ------------------
  197|      1|            goto skip_optional_pos;
  198|      1|        }
  199|      5|    }
  200|      4|    if (fastargs[2]) {
  ------------------
  |  Branch (200:9): [True: 4, False: 0]
  ------------------
  201|      4|        fdel = fastargs[2];
  202|      4|        if (!--noptargs) {
  ------------------
  |  Branch (202:13): [True: 0, False: 4]
  ------------------
  203|      0|            goto skip_optional_pos;
  204|      0|        }
  205|      4|    }
  206|      4|    doc = fastargs[3];
  207|     28|skip_optional_pos:
  208|     28|    return_value = property_init_impl((propertyobject *)self, fget, fset, fdel, doc);
  209|       |
  210|     28|exit:
  211|     28|    return return_value;
  212|     28|}

dictobject.c:dict___contains__:
   89|      4|{
   90|      4|    PyObject *return_value = NULL;
   91|       |
   92|      4|    return_value = dict___contains___impl((PyDictObject *)self, key);
   93|       |
   94|      4|    return return_value;
   95|      4|}
dictobject.c:dict_get:
  111|    526|{
  112|    526|    PyObject *return_value = NULL;
  113|    526|    PyObject *key;
  114|    526|    PyObject *default_value = Py_None;
  ------------------
  |  |  616|    526|#  define Py_None (&_Py_NoneStruct)
  ------------------
  115|       |
  116|    526|    if (!_PyArg_CheckPositional("get", nargs, 1, 2)) {
  ------------------
  |  |   38|    526|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 526, False: 0]
  |  |  |  Branch (38:27): [True: 526, False: 0]
  |  |  ------------------
  |  |   39|    526|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  117|      0|        goto exit;
  118|      0|    }
  119|    526|    key = args[0];
  120|    526|    if (nargs < 2) {
  ------------------
  |  Branch (120:9): [True: 166, False: 360]
  ------------------
  121|    166|        goto skip_optional;
  122|    166|    }
  123|    360|    default_value = args[1];
  124|    526|skip_optional:
  125|    526|    return_value = dict_get_impl((PyDictObject *)self, key, default_value);
  126|       |
  127|    526|exit:
  128|    526|    return return_value;
  129|    526|}
dictobject.c:dict_setdefault:
  148|     14|{
  149|     14|    PyObject *return_value = NULL;
  150|     14|    PyObject *key;
  151|     14|    PyObject *default_value = Py_None;
  ------------------
  |  |  616|     14|#  define Py_None (&_Py_NoneStruct)
  ------------------
  152|       |
  153|     14|    if (!_PyArg_CheckPositional("setdefault", nargs, 1, 2)) {
  ------------------
  |  |   38|     14|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 14, False: 0]
  |  |  |  Branch (38:27): [True: 14, False: 0]
  |  |  ------------------
  |  |   39|     14|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  154|      0|        goto exit;
  155|      0|    }
  156|     14|    key = args[0];
  157|     14|    if (nargs < 2) {
  ------------------
  |  Branch (157:9): [True: 0, False: 14]
  ------------------
  158|      0|        goto skip_optional;
  159|      0|    }
  160|     14|    default_value = args[1];
  161|     14|skip_optional:
  162|     14|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     14|    {
  ------------------
  163|     14|    return_value = dict_setdefault_impl((PyDictObject *)self, key, default_value);
  164|     14|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     14|    }
  ------------------
  165|       |
  166|     14|exit:
  167|     14|    return return_value;
  168|     14|}
dictobject.c:dict_pop:
  205|    162|{
  206|    162|    PyObject *return_value = NULL;
  207|    162|    PyObject *key;
  208|    162|    PyObject *default_value = NULL;
  209|       |
  210|    162|    if (!_PyArg_CheckPositional("pop", nargs, 1, 2)) {
  ------------------
  |  |   38|    162|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 162, False: 0]
  |  |  |  Branch (38:27): [True: 162, False: 0]
  |  |  ------------------
  |  |   39|    162|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  211|      0|        goto exit;
  212|      0|    }
  213|    162|    key = args[0];
  214|    162|    if (nargs < 2) {
  ------------------
  |  Branch (214:9): [True: 92, False: 70]
  ------------------
  215|     92|        goto skip_optional;
  216|     92|    }
  217|     70|    default_value = args[1];
  218|    162|skip_optional:
  219|    162|    return_value = dict_pop_impl((PyDictObject *)self, key, default_value);
  220|       |
  221|    162|exit:
  222|    162|    return return_value;
  223|    162|}
dictobject.c:dict_keys:
  302|     12|{
  303|     12|    return dict_keys_impl((PyDictObject *)self);
  304|     12|}
dictobject.c:dict_items:
  320|     97|{
  321|     97|    return dict_items_impl((PyDictObject *)self);
  322|     97|}
dictobject.c:dict_values:
  338|      5|{
  339|      5|    return dict_values_impl((PyDictObject *)self);
  340|      5|}
dictobject.c:dict_fromkeys:
   37|      6|{
   38|      6|    PyObject *return_value = NULL;
   39|      6|    PyObject *iterable;
   40|      6|    PyObject *value = Py_None;
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
   41|       |
   42|      6|    if (!_PyArg_CheckPositional("fromkeys", nargs, 1, 2)) {
  ------------------
  |  |   38|      6|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 6, False: 0]
  |  |  |  Branch (38:27): [True: 6, False: 0]
  |  |  ------------------
  |  |   39|      6|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   43|      0|        goto exit;
   44|      0|    }
   45|      6|    iterable = args[0];
   46|      6|    if (nargs < 2) {
  ------------------
  |  Branch (46:9): [True: 6, False: 0]
  ------------------
   47|      6|        goto skip_optional;
   48|      6|    }
   49|      0|    value = args[1];
   50|      6|skip_optional:
   51|      6|    return_value = dict_fromkeys_impl((PyTypeObject *)type, iterable, value);
   52|       |
   53|      6|exit:
   54|      6|    return return_value;
   55|      6|}

enumobject.c:enum_vectorcall:
   96|     23|{
   97|     23|    PyObject *return_value = NULL;
   98|     23|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     23|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
   99|     23|    PyObject *iterable;
  100|     23|    PyObject *start = 0;
  101|       |
  102|     23|    assert(_PyType_CAST(type)->tp_new == enum_new);
  ------------------
  |  Branch (102:5): [True: 23, False: 0]
  |  Branch (102:5): [True: 23, False: 0]
  ------------------
  103|       |    /* Make sure the type object is immutable: the generated
  104|       |     * vectorcall doesn't deal e.g. with users reassigning __init__. */
  105|     23|    assert(PyType_HasFeature(_PyType_CAST(type), Py_TPFLAGS_IMMUTABLETYPE));
  ------------------
  |  Branch (105:5): [True: 23, False: 0]
  |  Branch (105:5): [True: 23, False: 0]
  ------------------
  106|     23|    if (kwnames != NULL || nargs < 1 || nargs > 2) {
  ------------------
  |  Branch (106:9): [True: 0, False: 23]
  |  Branch (106:28): [True: 0, False: 23]
  |  Branch (106:41): [True: 0, False: 23]
  ------------------
  107|      0|        return enum_new_helper(_PyType_CAST(type), args, nargs,
  ------------------
  |  |  770|      0|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|      0|            kwnames ? 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 (108:13): [True: 0, False: 0]
  ------------------
  109|      0|            NULL, kwnames);
  110|      0|    }
  111|     23|    iterable = args[0];
  112|     23|    if (nargs < 2) {
  ------------------
  |  Branch (112:9): [True: 23, False: 0]
  ------------------
  113|     23|        goto skip_optional;
  114|     23|    }
  115|      0|    start = args[1];
  116|     23|skip_optional:
  117|     23|    return_value = enum_new_impl(_PyType_CAST(type), iterable, start);
  ------------------
  |  |  770|     23|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (117:34): [True: 23, False: 0]
  ------------------
  118|       |
  119|      0|    return return_value;
  120|     23|}
enumobject.c:reversed_vectorcall:
  155|      2|{
  156|      2|    PyObject *return_value = NULL;
  157|      2|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      2|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  158|      2|    PyObject *seq;
  159|       |
  160|      2|    assert(_PyType_CAST(type)->tp_new == reversed_new);
  ------------------
  |  Branch (160:5): [True: 2, False: 0]
  |  Branch (160:5): [True: 2, False: 0]
  ------------------
  161|       |    /* Make sure the type object is immutable: the generated
  162|       |     * vectorcall doesn't deal e.g. with users reassigning __init__. */
  163|      2|    assert(PyType_HasFeature(_PyType_CAST(type), Py_TPFLAGS_IMMUTABLETYPE));
  ------------------
  |  Branch (163:5): [True: 2, False: 0]
  |  Branch (163:5): [True: 2, False: 0]
  ------------------
  164|      2|    if (!_PyArg_NoKwnames("reversed", kwnames)) {
  ------------------
  |  |   16|      2|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 2, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  165|      0|        goto exit;
  166|      0|    }
  167|      2|    if (!_PyArg_CheckPositional("reversed", nargs, 1, 1)) {
  ------------------
  |  |   38|      2|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 2, False: 0]
  |  |  |  Branch (38:27): [True: 2, False: 0]
  |  |  ------------------
  |  |   39|      2|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  168|      0|        goto exit;
  169|      0|    }
  170|      2|    seq = args[0];
  171|      2|    return_value = reversed_new_impl(_PyType_CAST(type), seq);
  ------------------
  |  |  770|      2|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (171:38): [True: 2, False: 0]
  ------------------
  172|       |
  173|      2|exit:
  174|      2|    return return_value;
  175|      2|}

exceptions.c:BaseException_str:
   17|     50|{
   18|     50|    PyObject *return_value = NULL;
   19|       |
   20|     50|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     50|    {
  ------------------
   21|     50|    return_value = BaseException_str_impl((PyBaseExceptionObject *)self);
   22|     50|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     50|    }
  ------------------
   23|       |
   24|     50|    return return_value;
   25|     50|}
exceptions.c:ImportError_init:
  451|     11|{
  452|     11|    return ImportError_init_helper(self, _PyTuple_CAST(args)->ob_item,
  ------------------
  |  |   19|     11|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (452:42): [True: 11, False: 0]
  ------------------
  453|     11|        PyTuple_GET_SIZE(args),
  ------------------
  |  |   27|     11|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  454|     11|        kwargs ? PyDict_GET_SIZE(kwargs) : 0,
  ------------------
  |  |   63|     11|#define PyDict_GET_SIZE(op) PyDict_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 (454:9): [True: 11, False: 0]
  ------------------
  455|       |        kwargs, NULL);
  456|     11|}
exceptions.c:ImportError_init_helper:
  377|     18|{
  378|     18|    int return_value = -1;
  379|     18|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  380|       |
  381|     18|    #define NUM_KEYWORDS 3
  382|     18|    static struct {
  383|     18|        PyGC_Head _this_is_not_used;
  384|     18|        PyObject_VAR_HEAD
  385|     18|        Py_hash_t ob_hash;
  386|     18|        PyObject *ob_item[NUM_KEYWORDS];
  387|     18|    } _kwtuple = {
  388|     18|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     18|    {                                     \
  |  |   98|     18|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     18|    {                               \
  |  |  |  |   91|     18|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     18|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     18|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     18|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     18|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     18|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     18|        (type)                      \
  |  |  |  |   93|     18|    },
  |  |  ------------------
  |  |   99|     18|        (size)                            \
  |  |  100|     18|    },
  ------------------
  389|     18|        .ob_hash = -1,
  390|     18|        .ob_item = { &_Py_ID(name), &_Py_ID(path), &_Py_ID(name_from), },
  ------------------
  |  |  951|     18|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     18|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     18|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(path), &_Py_ID(name_from), },
  ------------------
  |  |  951|     18|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     18|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     18|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(path), &_Py_ID(name_from), },
  ------------------
  |  |  951|     18|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     18|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     18|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  391|     18|    };
  392|     18|    #undef NUM_KEYWORDS
  393|     18|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  394|       |
  395|       |    #else  // !Py_BUILD_CORE
  396|       |    #  define KWTUPLE NULL
  397|       |    #endif  // !Py_BUILD_CORE
  398|       |
  399|     18|    static const char * const _keywords[] = {"name", "path", "name_from", NULL};
  400|     18|    static _PyArg_Parser _parser = {
  401|     18|        .keywords = _keywords,
  402|     18|        .fname = "ImportError",
  403|     18|        .kwtuple = KWTUPLE,
  ------------------
  |  |  393|     18|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  404|     18|    };
  405|     18|    #undef KWTUPLE
  406|     18|    PyObject *argsbuf[3];
  407|     18|    PyObject * const *fastargs;
  408|     18|    Py_ssize_t noptargs = 0 + nkw - 0;
  409|     18|    PyObject *__clinic_args = NULL;
  410|     18|    PyObject *name = NULL;
  411|     18|    PyObject *path = NULL;
  412|     18|    PyObject *name_from = NULL;
  413|       |
  414|     18|    fastargs = _PyArg_UnpackKeywords(args, nargs, kwargs, kwnames, &_parser,
  ------------------
  |  |   90|     18|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 18, Folded]
  |  |  |  Branch (90:23): [True: 7, False: 11]
  |  |  |  Branch (90:43): [True: 0, False: 7]
  |  |  ------------------
  |  |   91|     18|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 0, False: 0]
  |  |  |  Branch (91:31): [True: 0, Folded]
  |  |  |  Branch (91:43): [True: 0, False: 0]
  |  |  |  Branch (91:67): [True: 0, False: 0]
  |  |  ------------------
  |  |   92|     18|      (args) : \
  |  |   93|     18|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|     18|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  415|     18|            /*minpos*/ 0, /*maxpos*/ 0, /*minkw*/ 0, /*varpos*/ 1, argsbuf);
  416|     18|    if (!fastargs) {
  ------------------
  |  Branch (416:9): [True: 0, False: 18]
  ------------------
  417|      0|        goto exit;
  418|      0|    }
  419|     18|    if (!noptargs) {
  ------------------
  |  Branch (419:9): [True: 0, False: 18]
  ------------------
  420|      0|        goto skip_optional_kwonly;
  421|      0|    }
  422|     18|    if (fastargs[0]) {
  ------------------
  |  Branch (422:9): [True: 5, False: 13]
  ------------------
  423|      5|        name = fastargs[0];
  424|      5|        if (!--noptargs) {
  ------------------
  |  Branch (424:13): [True: 4, False: 1]
  ------------------
  425|      4|            goto skip_optional_kwonly;
  426|      4|        }
  427|      5|    }
  428|     14|    if (fastargs[1]) {
  ------------------
  |  Branch (428:9): [True: 14, False: 0]
  ------------------
  429|     14|        path = fastargs[1];
  430|     14|        if (!--noptargs) {
  ------------------
  |  Branch (430:13): [True: 13, False: 1]
  ------------------
  431|     13|            goto skip_optional_kwonly;
  432|     13|        }
  433|     14|    }
  434|      1|    name_from = fastargs[2];
  435|     18|skip_optional_kwonly:
  436|     18|    __clinic_args = PyTuple_FromArray(args, nargs);
  437|     18|    if (__clinic_args == NULL) {
  ------------------
  |  Branch (437:9): [True: 0, False: 18]
  ------------------
  438|      0|        goto exit;
  439|      0|    }
  440|     18|    return_value = ImportError_init_impl((PyImportErrorObject *)self, __clinic_args, name, path, name_from);
  441|       |
  442|     18|exit:
  443|       |    /* Cleanup for args */
  444|     18|    Py_XDECREF(__clinic_args);
  ------------------
  |  |  621|     18|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  445|       |
  446|     18|    return return_value;
  447|     18|}
exceptions.c:ImportError_vectorcall:
  461|      7|{
  462|      7|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      7|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  463|      7|    PyObject *self;
  464|      7|    int _result;
  465|       |
  466|      7|    assert(_PyType_CAST(type)->tp_init == ImportError_init);
  ------------------
  |  Branch (466:5): [True: 7, False: 0]
  |  Branch (466:5): [True: 7, False: 0]
  ------------------
  467|       |    /* Make sure the type object is immutable: the generated
  468|       |     * vectorcall doesn't deal e.g. with users reassigning __init__. */
  469|      7|    assert(PyType_HasFeature(_PyType_CAST(type), Py_TPFLAGS_IMMUTABLETYPE));
  ------------------
  |  Branch (469:5): [True: 7, False: 0]
  |  Branch (469:5): [True: 7, False: 0]
  ------------------
  470|      7|    self = _PyType_CAST(type)->tp_new(_PyType_CAST(type),
  ------------------
  |  |  770|      7|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  self = _PyType_CAST(type)->tp_new(_PyType_CAST(type),
  ------------------
  |  |  770|      7|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (470:12): [True: 7, False: 0]
  |  Branch (470:39): [True: 7, False: 0]
  ------------------
  471|      7|        (PyObject *)&_Py_SINGLETON(tuple_empty), NULL);
  ------------------
  |  |   18|      7|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      7|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
  472|      7|    if (self == NULL) {
  ------------------
  |  Branch (472:9): [True: 0, False: 7]
  ------------------
  473|      0|        return NULL;
  474|      0|    }
  475|      7|    _result = ImportError_init_helper(self, args, nargs,
  476|      7|        kwnames ? PyTuple_GET_SIZE(kwnames) : 0,
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (476:9): [True: 7, False: 0]
  ------------------
  477|      7|        NULL, kwnames);
  478|      7|    if (_result != 0) {
  ------------------
  |  Branch (478:9): [True: 0, False: 7]
  ------------------
  479|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|      0|        return NULL;
  481|      0|    }
  482|      7|    return self;
  483|      7|}
exceptions.c:AttributeError_init_helper:
  592|     80|{
  593|     80|    int return_value = -1;
  594|     80|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  595|       |
  596|     80|    #define NUM_KEYWORDS 2
  597|     80|    static struct {
  598|     80|        PyGC_Head _this_is_not_used;
  599|     80|        PyObject_VAR_HEAD
  600|     80|        Py_hash_t ob_hash;
  601|     80|        PyObject *ob_item[NUM_KEYWORDS];
  602|     80|    } _kwtuple = {
  603|     80|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     80|    {                                     \
  |  |   98|     80|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     80|    {                               \
  |  |  |  |   91|     80|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     80|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     80|#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|     80|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     80|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     80|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     80|        (type)                      \
  |  |  |  |   93|     80|    },
  |  |  ------------------
  |  |   99|     80|        (size)                            \
  |  |  100|     80|    },
  ------------------
  604|     80|        .ob_hash = -1,
  605|     80|        .ob_item = { &_Py_ID(name), &_Py_ID(obj), },
  ------------------
  |  |  951|     80|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     80|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     80|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(obj), },
  ------------------
  |  |  951|     80|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     80|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     80|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  606|     80|    };
  607|     80|    #undef NUM_KEYWORDS
  608|     80|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  609|       |
  610|       |    #else  // !Py_BUILD_CORE
  611|       |    #  define KWTUPLE NULL
  612|       |    #endif  // !Py_BUILD_CORE
  613|       |
  614|     80|    static const char * const _keywords[] = {"name", "obj", NULL};
  615|     80|    static _PyArg_Parser _parser = {
  616|     80|        .keywords = _keywords,
  617|     80|        .fname = "AttributeError",
  618|     80|        .kwtuple = KWTUPLE,
  ------------------
  |  |  608|     80|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  619|     80|    };
  620|     80|    #undef KWTUPLE
  621|     80|    PyObject *argsbuf[2];
  622|     80|    PyObject * const *fastargs;
  623|     80|    Py_ssize_t noptargs = 0 + nkw - 0;
  624|     80|    PyObject *__clinic_args = NULL;
  625|     80|    PyObject *name = NULL;
  626|     80|    PyObject *obj = NULL;
  627|       |
  628|     80|    fastargs = _PyArg_UnpackKeywords(args, nargs, kwargs, kwnames, &_parser,
  ------------------
  |  |   90|     80|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 80, Folded]
  |  |  |  Branch (90:23): [True: 80, False: 0]
  |  |  |  Branch (90:43): [True: 80, False: 0]
  |  |  ------------------
  |  |   91|     80|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 80, False: 0]
  |  |  |  Branch (91:31): [True: 0, Folded]
  |  |  |  Branch (91:43): [True: 0, False: 0]
  |  |  |  Branch (91:67): [True: 80, False: 0]
  |  |  ------------------
  |  |   92|     80|      (args) : \
  |  |   93|     80|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  629|     80|            /*minpos*/ 0, /*maxpos*/ 0, /*minkw*/ 0, /*varpos*/ 1, argsbuf);
  630|     80|    if (!fastargs) {
  ------------------
  |  Branch (630:9): [True: 0, False: 80]
  ------------------
  631|      0|        goto exit;
  632|      0|    }
  633|     80|    if (!noptargs) {
  ------------------
  |  Branch (633:9): [True: 80, False: 0]
  ------------------
  634|     80|        goto skip_optional_kwonly;
  635|     80|    }
  636|      0|    if (fastargs[0]) {
  ------------------
  |  Branch (636:9): [True: 0, False: 0]
  ------------------
  637|      0|        name = fastargs[0];
  638|      0|        if (!--noptargs) {
  ------------------
  |  Branch (638:13): [True: 0, False: 0]
  ------------------
  639|      0|            goto skip_optional_kwonly;
  640|      0|        }
  641|      0|    }
  642|      0|    obj = fastargs[1];
  643|     80|skip_optional_kwonly:
  644|     80|    __clinic_args = PyTuple_FromArray(args, nargs);
  645|     80|    if (__clinic_args == NULL) {
  ------------------
  |  Branch (645:9): [True: 0, False: 80]
  ------------------
  646|      0|        goto exit;
  647|      0|    }
  648|     80|    return_value = AttributeError_init_impl((PyAttributeErrorObject *)self, __clinic_args, name, obj);
  649|       |
  650|     80|exit:
  651|       |    /* Cleanup for args */
  652|     80|    Py_XDECREF(__clinic_args);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  653|       |
  654|     80|    return return_value;
  655|     80|}
exceptions.c:AttributeError_vectorcall:
  669|     80|{
  670|     80|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     80|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  671|     80|    PyObject *self;
  672|     80|    int _result;
  673|       |
  674|     80|    assert(_PyType_CAST(type)->tp_init == AttributeError_init);
  ------------------
  |  Branch (674:5): [True: 80, False: 0]
  |  Branch (674:5): [True: 80, False: 0]
  ------------------
  675|       |    /* Make sure the type object is immutable: the generated
  676|       |     * vectorcall doesn't deal e.g. with users reassigning __init__. */
  677|     80|    assert(PyType_HasFeature(_PyType_CAST(type), Py_TPFLAGS_IMMUTABLETYPE));
  ------------------
  |  Branch (677:5): [True: 80, False: 0]
  |  Branch (677:5): [True: 80, False: 0]
  ------------------
  678|     80|    self = _PyType_CAST(type)->tp_new(_PyType_CAST(type),
  ------------------
  |  |  770|     80|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  self = _PyType_CAST(type)->tp_new(_PyType_CAST(type),
  ------------------
  |  |  770|     80|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (678:12): [True: 80, False: 0]
  |  Branch (678:39): [True: 80, False: 0]
  ------------------
  679|     80|        (PyObject *)&_Py_SINGLETON(tuple_empty), NULL);
  ------------------
  |  |   18|     80|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|     80|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
  680|     80|    if (self == NULL) {
  ------------------
  |  Branch (680:9): [True: 0, False: 80]
  ------------------
  681|      0|        return NULL;
  682|      0|    }
  683|     80|    _result = AttributeError_init_helper(self, args, nargs,
  684|     80|        kwnames ? 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 (684:9): [True: 0, False: 80]
  ------------------
  685|     80|        NULL, kwnames);
  686|     80|    if (_result != 0) {
  ------------------
  |  Branch (686:9): [True: 0, False: 80]
  ------------------
  687|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  688|      0|        return NULL;
  689|      0|    }
  690|     80|    return self;
  691|     80|}

frameobject.c:frame_locals_get:
   15|      2|{
   16|      2|    PyObject *return_value = NULL;
   17|       |
   18|      2|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      2|    {
  ------------------
   19|      2|    return_value = frame_locals_get_impl((PyFrameObject *)self);
   20|      2|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      2|    }
  ------------------
   21|       |
   22|      2|    return return_value;
   23|      2|}

funcobject.c:function___annotate___get:
   20|      5|{
   21|      5|    PyObject *return_value = NULL;
   22|       |
   23|      5|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      5|    {
  ------------------
   24|      5|    return_value = function___annotate___get_impl((PyFunctionObject *)self);
   25|      5|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      5|    }
  ------------------
   26|       |
   27|      5|    return return_value;
   28|      5|}
funcobject.c:function___annotate___set:
   35|      3|{
   36|      3|    int return_value = -1;
   37|      3|    PyObject *value;
   38|       |
   39|      3|    if (arg == NULL) {
  ------------------
  |  Branch (39:9): [True: 0, False: 3]
  ------------------
   40|      0|        PyErr_Format(PyExc_AttributeError,
   41|      0|                     "attribute '__annotate__' of '%.100s' objects cannot be deleted",
   42|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   43|      0|        return -1;
   44|      0|    }
   45|      3|    value = arg;
   46|      3|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      3|    {
  ------------------
   47|      3|    return_value = function___annotate___set_impl((PyFunctionObject *)self, value);
   48|      3|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      3|    }
  ------------------
   49|       |
   50|      3|    return return_value;
   51|      3|}
funcobject.c:function___type_params___get:
   98|      5|{
   99|      5|    PyObject *return_value = NULL;
  100|       |
  101|      5|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      5|    {
  ------------------
  102|      5|    return_value = function___type_params___get_impl((PyFunctionObject *)self);
  103|      5|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      5|    }
  ------------------
  104|       |
  105|      5|    return return_value;
  106|      5|}
funcobject.c:function___type_params___set:
  113|      3|{
  114|      3|    int return_value = -1;
  115|      3|    PyObject *value;
  116|       |
  117|      3|    if (arg == NULL) {
  ------------------
  |  Branch (117:9): [True: 0, False: 3]
  ------------------
  118|      0|        PyErr_Format(PyExc_AttributeError,
  119|      0|                     "attribute '__type_params__' of '%.100s' objects cannot be deleted",
  120|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  121|      0|        return -1;
  122|      0|    }
  123|      3|    if (!PyTuple_Check(arg)) {
  ------------------
  |  |   27|      3|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      3|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (123:9): [True: 0, False: 3]
  ------------------
  124|      0|        PyErr_Format(PyExc_TypeError, "attribute '__type_params__' must be tuple, not %T", arg);
  125|      0|        goto exit;
  126|      0|    }
  127|      3|    value = arg;
  128|      3|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      3|    {
  ------------------
  129|      3|    return_value = function___type_params___set_impl((PyFunctionObject *)self, value);
  130|      3|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      3|    }
  ------------------
  131|       |
  132|      3|exit:
  133|      3|    return return_value;
  134|      3|}

listobject.c:list_extend:
  202|    310|{
  203|    310|    PyObject *return_value = NULL;
  204|       |
  205|    310|    return_value = list_extend_impl((PyListObject *)self, iterable);
  206|       |
  207|    310|    return return_value;
  208|    310|}
listobject.c:list_repeat:
   33|      4|{
   34|      4|    PyObject *return_value = NULL;
   35|       |
   36|      4|    Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|      4|    {
  ------------------
   37|      4|    return_value = list_repeat_impl((PyListObject *)a, n);
   38|      4|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      4|    }
  ------------------
   39|       |
   40|      4|    return return_value;
   41|      4|}
listobject.c:list_ass_item:
   63|      2|{
   64|      2|    int return_value = -1;
   65|       |
   66|      2|    Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|      2|    {
  ------------------
   67|      2|    return_value = list_ass_item_impl((PyListObject *)a, i, v);
   68|      2|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      2|    }
  ------------------
   69|       |
   70|      2|    return return_value;
   71|      2|}
listobject.c:list___reversed__:
  528|      2|{
  529|      2|    return list___reversed___impl((PyListObject *)self);
  530|      2|}
listobject.c:list_append:
  178|    291|{
  179|    291|    PyObject *return_value = NULL;
  180|       |
  181|    291|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    291|    {
  ------------------
  182|    291|    return_value = list_append_impl((PyListObject *)self, object);
  183|    291|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    291|    }
  ------------------
  184|       |
  185|    291|    return return_value;
  186|    291|}
listobject.c:list_pop:
  226|    123|{
  227|    123|    PyObject *return_value = NULL;
  228|    123|    Py_ssize_t index = -1;
  229|       |
  230|    123|    if (!_PyArg_CheckPositional("pop", nargs, 0, 1)) {
  ------------------
  |  |   38|    123|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 123, False: 0]
  |  |  |  Branch (38:27): [True: 123, False: 0]
  |  |  ------------------
  |  |   39|    123|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  231|      0|        goto exit;
  232|      0|    }
  233|    123|    if (nargs < 1) {
  ------------------
  |  Branch (233:9): [True: 123, False: 0]
  ------------------
  234|    123|        goto skip_optional;
  235|    123|    }
  236|      0|    {
  237|      0|        Py_ssize_t ival = -1;
  238|      0|        PyObject *iobj = _PyNumber_Index(args[0]);
  239|      0|        if (iobj != NULL) {
  ------------------
  |  Branch (239:13): [True: 0, False: 0]
  ------------------
  240|      0|            ival = PyLong_AsSsize_t(iobj);
  241|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  242|      0|        }
  243|      0|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (243:13): [True: 0, False: 0]
  |  Branch (243:27): [True: 0, False: 0]
  ------------------
  244|      0|            goto exit;
  245|      0|        }
  246|      0|        index = ival;
  247|      0|    }
  248|    123|skip_optional:
  249|    123|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    123|    {
  ------------------
  250|    123|    return_value = list_pop_impl((PyListObject *)self, index);
  251|    123|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    123|    }
  ------------------
  252|       |
  253|    123|exit:
  254|    123|    return return_value;
  255|    123|}
listobject.c:list_remove:
  448|    112|{
  449|    112|    PyObject *return_value = NULL;
  450|       |
  451|    112|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    112|    {
  ------------------
  452|    112|    return_value = list_remove_impl((PyListObject *)self, value);
  453|    112|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    112|    }
  ------------------
  454|       |
  455|    112|    return return_value;
  456|    112|}
listobject.c:list_sort:
  279|      7|{
  280|      7|    PyObject *return_value = NULL;
  281|      7|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  282|       |
  283|      7|    #define NUM_KEYWORDS 2
  284|      7|    static struct {
  285|      7|        PyGC_Head _this_is_not_used;
  286|      7|        PyObject_VAR_HEAD
  287|      7|        Py_hash_t ob_hash;
  288|      7|        PyObject *ob_item[NUM_KEYWORDS];
  289|      7|    } _kwtuple = {
  290|      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|    },
  ------------------
  291|      7|        .ob_hash = -1,
  292|      7|        .ob_item = { &_Py_ID(key), &_Py_ID(reverse), },
  ------------------
  |  |  951|      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(key), &_Py_ID(reverse), },
  ------------------
  |  |  951|      7|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      7|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      7|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  293|      7|    };
  294|      7|    #undef NUM_KEYWORDS
  295|      7|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  296|       |
  297|       |    #else  // !Py_BUILD_CORE
  298|       |    #  define KWTUPLE NULL
  299|       |    #endif  // !Py_BUILD_CORE
  300|       |
  301|      7|    static const char * const _keywords[] = {"key", "reverse", NULL};
  302|      7|    static _PyArg_Parser _parser = {
  303|      7|        .keywords = _keywords,
  304|      7|        .fname = "sort",
  305|      7|        .kwtuple = KWTUPLE,
  ------------------
  |  |  295|      7|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  306|      7|    };
  307|      7|    #undef KWTUPLE
  308|      7|    PyObject *argsbuf[2];
  309|      7|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (309:36): [True: 1, False: 6]
  ------------------
  310|      7|    PyObject *keyfunc = Py_None;
  ------------------
  |  |  616|      7|#  define Py_None (&_Py_NoneStruct)
  ------------------
  311|      7|    int reverse = 0;
  312|       |
  313|      7|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|      7|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 6, False: 1]
  |  |  ------------------
  |  |   91|      7|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 6, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 6]
  |  |  |  Branch (91:43): [True: 6, False: 0]
  |  |  |  Branch (91:67): [True: 6, False: 0]
  |  |  ------------------
  |  |   92|      7|      (args) : \
  |  |   93|      7|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      1|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  314|      7|            /*minpos*/ 0, /*maxpos*/ 0, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  315|      7|    if (!args) {
  ------------------
  |  Branch (315:9): [True: 0, False: 7]
  ------------------
  316|      0|        goto exit;
  317|      0|    }
  318|      7|    if (!noptargs) {
  ------------------
  |  Branch (318:9): [True: 6, False: 1]
  ------------------
  319|      6|        goto skip_optional_kwonly;
  320|      6|    }
  321|      1|    if (args[0]) {
  ------------------
  |  Branch (321:9): [True: 0, False: 1]
  ------------------
  322|      0|        keyfunc = args[0];
  323|      0|        if (!--noptargs) {
  ------------------
  |  Branch (323:13): [True: 0, False: 0]
  ------------------
  324|      0|            goto skip_optional_kwonly;
  325|      0|        }
  326|      0|    }
  327|      1|    reverse = PyObject_IsTrue(args[1]);
  328|      1|    if (reverse < 0) {
  ------------------
  |  Branch (328:9): [True: 0, False: 1]
  ------------------
  329|      0|        goto exit;
  330|      0|    }
  331|      7|skip_optional_kwonly:
  332|      7|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      7|    {
  ------------------
  333|      7|    return_value = list_sort_impl((PyListObject *)self, keyfunc, reverse);
  334|      7|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      7|    }
  ------------------
  335|       |
  336|      7|exit:
  337|      7|    return return_value;
  338|      7|}
listobject.c:list___init__:
  472|    112|{
  473|    112|    int return_value = -1;
  474|    112|    PyTypeObject *base_tp = &PyList_Type;
  475|    112|    PyObject *iterable = NULL;
  476|       |
  477|    112|    if ((Py_IS_TYPE(self, base_tp) ||
  ------------------
  |  |  215|    224|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 112]
  |  |  ------------------
  ------------------
  478|    112|         Py_TYPE(self)->tp_new == base_tp->tp_new) &&
  ------------------
  |  |  213|    112|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (478:10): [True: 112, False: 0]
  ------------------
  479|    112|        !_PyArg_NoKeywords("list", kwargs)) {
  ------------------
  |  |   32|    112|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 112, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  480|      0|        goto exit;
  481|      0|    }
  482|    112|    if (!_PyArg_CheckPositional("list", PyTuple_GET_SIZE(args), 0, 1)) {
  ------------------
  |  |   38|    112|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 112, False: 0]
  |  |  |  Branch (38:27): [True: 112, False: 0]
  |  |  ------------------
  |  |   39|    112|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  483|      0|        goto exit;
  484|      0|    }
  485|    112|    if (PyTuple_GET_SIZE(args) < 1) {
  ------------------
  |  |   27|    112|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (485:9): [True: 112, False: 0]
  ------------------
  486|    112|        goto skip_optional;
  487|    112|    }
  488|      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 (488:16): [True: 0, False: 0]
  ------------------
  489|    112|skip_optional:
  490|    112|    return_value = list___init___impl((PyListObject *)self, iterable);
  491|       |
  492|    112|exit:
  493|    112|    return return_value;
  494|    112|}

longobject.c:int_bit_length:
  202|      1|{
  203|      1|    return int_bit_length_impl(self);
  204|      1|}
longobject.c:int_to_bytes:
  289|      2|{
  290|      2|    PyObject *return_value = NULL;
  291|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  292|       |
  293|      2|    #define NUM_KEYWORDS 3
  294|      2|    static struct {
  295|      2|        PyGC_Head _this_is_not_used;
  296|      2|        PyObject_VAR_HEAD
  297|      2|        Py_hash_t ob_hash;
  298|      2|        PyObject *ob_item[NUM_KEYWORDS];
  299|      2|    } _kwtuple = {
  300|      2|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      2|    {                                     \
  |  |   98|      2|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      2|    {                               \
  |  |  |  |   91|      2|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      2|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      2|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      2|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      2|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      2|        (type)                      \
  |  |  |  |   93|      2|    },
  |  |  ------------------
  |  |   99|      2|        (size)                            \
  |  |  100|      2|    },
  ------------------
  301|      2|        .ob_hash = -1,
  302|      2|        .ob_item = { &_Py_ID(length), &_Py_ID(byteorder), &_Py_ID(signed), },
  ------------------
  |  |  951|      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), },
  ------------------
  |  |  951|      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), },
  ------------------
  |  |  951|      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,
  ------------------
  |  |   90|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 2, False: 0]
  |  |  ------------------
  |  |   91|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 2, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 2]
  |  |  |  Branch (91:43): [True: 2, False: 0]
  |  |  |  Branch (91:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   92|      2|      (args) : \
  |  |   93|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      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|     81|{
  411|     81|    PyObject *return_value = NULL;
  412|     81|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  413|       |
  414|     81|    #define NUM_KEYWORDS 3
  415|     81|    static struct {
  416|     81|        PyGC_Head _this_is_not_used;
  417|     81|        PyObject_VAR_HEAD
  418|     81|        Py_hash_t ob_hash;
  419|     81|        PyObject *ob_item[NUM_KEYWORDS];
  420|     81|    } _kwtuple = {
  421|     81|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     81|    {                                     \
  |  |   98|     81|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     81|    {                               \
  |  |  |  |   91|     81|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     81|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     81|#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|     81|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     81|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     81|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     81|        (type)                      \
  |  |  |  |   93|     81|    },
  |  |  ------------------
  |  |   99|     81|        (size)                            \
  |  |  100|     81|    },
  ------------------
  422|     81|        .ob_hash = -1,
  423|     81|        .ob_item = { &_Py_ID(bytes), &_Py_ID(byteorder), &_Py_ID(signed), },
  ------------------
  |  |  951|     81|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     81|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     81|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(bytes), &_Py_ID(byteorder), &_Py_ID(signed), },
  ------------------
  |  |  951|     81|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     81|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     81|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(bytes), &_Py_ID(byteorder), &_Py_ID(signed), },
  ------------------
  |  |  951|     81|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     81|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     81|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  424|     81|    };
  425|     81|    #undef NUM_KEYWORDS
  426|     81|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  427|       |
  428|       |    #else  // !Py_BUILD_CORE
  429|       |    #  define KWTUPLE NULL
  430|       |    #endif  // !Py_BUILD_CORE
  431|       |
  432|     81|    static const char * const _keywords[] = {"bytes", "byteorder", "signed", NULL};
  433|     81|    static _PyArg_Parser _parser = {
  434|     81|        .keywords = _keywords,
  435|     81|        .fname = "from_bytes",
  436|     81|        .kwtuple = KWTUPLE,
  ------------------
  |  |  426|     81|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  437|     81|    };
  438|     81|    #undef KWTUPLE
  439|     81|    PyObject *argsbuf[3];
  440|     81|    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: 81]
  ------------------
  441|     81|    PyObject *bytes_obj;
  442|     81|    PyObject *byteorder = NULL;
  443|     81|    int is_signed = 0;
  444|       |
  445|     81|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|     81|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 81, False: 0]
  |  |  ------------------
  |  |   91|     81|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 81, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 81]
  |  |  |  Branch (91:43): [True: 81, False: 0]
  |  |  |  Branch (91:67): [True: 81, False: 0]
  |  |  ------------------
  |  |   92|     81|      (args) : \
  |  |   93|     81|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  446|     81|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  447|     81|    if (!args) {
  ------------------
  |  Branch (447:9): [True: 0, False: 81]
  ------------------
  448|      0|        goto exit;
  449|      0|    }
  450|     81|    bytes_obj = args[0];
  451|     81|    if (!noptargs) {
  ------------------
  |  Branch (451:9): [True: 0, False: 81]
  ------------------
  452|      0|        goto skip_optional_pos;
  453|      0|    }
  454|     81|    if (args[1]) {
  ------------------
  |  Branch (454:9): [True: 81, False: 0]
  ------------------
  455|     81|        if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|     81|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     81|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (455:13): [True: 0, False: 81]
  ------------------
  456|      0|            _PyArg_BadArgument("from_bytes", "argument 'byteorder'", "str", args[1]);
  457|      0|            goto exit;
  458|      0|        }
  459|     81|        byteorder = args[1];
  460|     81|        if (!--noptargs) {
  ------------------
  |  Branch (460:13): [True: 81, False: 0]
  ------------------
  461|     81|            goto skip_optional_pos;
  462|     81|        }
  463|     81|    }
  464|     81|skip_optional_pos:
  465|     81|    if (!noptargs) {
  ------------------
  |  Branch (465:9): [True: 81, False: 0]
  ------------------
  466|     81|        goto skip_optional_kwonly;
  467|     81|    }
  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|     81|skip_optional_kwonly:
  473|     81|    return_value = int_from_bytes_impl((PyTypeObject *)type, bytes_obj, byteorder, is_signed);
  474|       |
  475|     81|exit:
  476|     81|    return return_value;
  477|     81|}
longobject.c:long_new:
   17|    143|{
   18|    143|    PyObject *return_value = NULL;
   19|    143|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   20|       |
   21|    143|    #define NUM_KEYWORDS 1
   22|    143|    static struct {
   23|    143|        PyGC_Head _this_is_not_used;
   24|    143|        PyObject_VAR_HEAD
   25|    143|        Py_hash_t ob_hash;
   26|    143|        PyObject *ob_item[NUM_KEYWORDS];
   27|    143|    } _kwtuple = {
   28|    143|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    143|    {                                     \
  |  |   98|    143|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    143|    {                               \
  |  |  |  |   91|    143|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    143|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    143|#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|    143|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    143|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    143|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    143|        (type)                      \
  |  |  |  |   93|    143|    },
  |  |  ------------------
  |  |   99|    143|        (size)                            \
  |  |  100|    143|    },
  ------------------
   29|    143|        .ob_hash = -1,
   30|    143|        .ob_item = { &_Py_ID(base), },
  ------------------
  |  |  951|    143|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    143|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    143|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   31|    143|    };
   32|    143|    #undef NUM_KEYWORDS
   33|    143|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   34|       |
   35|       |    #else  // !Py_BUILD_CORE
   36|       |    #  define KWTUPLE NULL
   37|       |    #endif  // !Py_BUILD_CORE
   38|       |
   39|    143|    static const char * const _keywords[] = {"", "base", NULL};
   40|    143|    static _PyArg_Parser _parser = {
   41|    143|        .keywords = _keywords,
   42|    143|        .fname = "int",
   43|    143|        .kwtuple = KWTUPLE,
  ------------------
  |  |   33|    143|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   44|    143|    };
   45|    143|    #undef KWTUPLE
   46|    143|    PyObject *argsbuf[2];
   47|    143|    PyObject * const *fastargs;
   48|    143|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    143|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    143|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    143|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|    143|    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: 143]
  ------------------
   50|    143|    PyObject *x = NULL;
   51|    143|    PyObject *obase = NULL;
   52|       |
   53|    143|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   90|    143|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 143, Folded]
  |  |  |  Branch (90:23): [True: 143, False: 0]
  |  |  |  Branch (90:43): [True: 0, Folded]
  |  |  ------------------
  |  |   91|    286|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 143, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 143]
  |  |  |  Branch (91:43): [True: 143, False: 0]
  |  |  |  Branch (91:67): [True: 143, False: 0]
  |  |  |  Branch (91:68): [True: 143, False: 0]
  |  |  ------------------
  |  |   92|    286|      (args) : \
  |  |  ------------------
  |  |  |  Branch (92:8): [True: 143, False: 0]
  |  |  ------------------
  |  |   93|    143|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (93:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   54|    143|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   55|    143|    if (!fastargs) {
  ------------------
  |  Branch (55:9): [True: 0, False: 143]
  ------------------
   56|      0|        goto exit;
   57|      0|    }
   58|    143|    if (nargs < 1) {
  ------------------
  |  Branch (58:9): [True: 1, False: 142]
  ------------------
   59|      1|        goto skip_optional_posonly;
   60|      1|    }
   61|    142|    noptargs--;
   62|    142|    x = fastargs[0];
   63|    143|skip_optional_posonly:
   64|    143|    if (!noptargs) {
  ------------------
  |  Branch (64:9): [True: 143, False: 0]
  ------------------
   65|    143|        goto skip_optional_pos;
   66|    143|    }
   67|      0|    obase = fastargs[1];
   68|    143|skip_optional_pos:
   69|    143|    return_value = long_new_impl(type, x, obase);
   70|       |
   71|    143|exit:
   72|    143|    return return_value;
   73|    143|}

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

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

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

setobject.c:set_issubset:
  366|      4|{
  367|      4|    PyObject *return_value = NULL;
  368|       |
  369|      4|    Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|      4|    {
  ------------------
  370|      4|    return_value = set_issubset_impl((PySetObject *)so, other);
  371|      4|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      4|    }
  ------------------
  372|       |
  373|      4|    return return_value;
  374|      4|}
setobject.c:set_add:
  416|    413|{
  417|    413|    PyObject *return_value = NULL;
  418|       |
  419|    413|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|    413|    {
  ------------------
  420|    413|    return_value = set_add_impl((PySetObject *)so, key);
  421|    413|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    413|    }
  ------------------
  422|       |
  423|    413|    return return_value;
  424|    413|}
setobject.c:frozenset___contains__:
  462|     11|{
  463|     11|    PyObject *return_value = NULL;
  464|       |
  465|     11|    return_value = frozenset___contains___impl((PySetObject *)so, key);
  466|       |
  467|     11|    return return_value;
  468|     11|}
setobject.c:set_clear:
  137|     22|{
  138|     22|    PyObject *return_value = NULL;
  139|       |
  140|     22|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|     22|    {
  ------------------
  141|     22|    return_value = set_clear_impl((PySetObject *)so);
  142|     22|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     22|    }
  ------------------
  143|       |
  144|     22|    return return_value;
  145|     22|}
setobject.c:set_pop:
   38|      8|{
   39|      8|    PyObject *return_value = NULL;
   40|       |
   41|      8|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|      8|    {
  ------------------
   42|      8|    return_value = set_pop_impl((PySetObject *)so);
   43|      8|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      8|    }
  ------------------
   44|       |
   45|      8|    return return_value;
   46|      8|}

tupleobject.c:tuple_new:
   91|      2|{
   92|      2|    PyObject *return_value = NULL;
   93|      2|    PyTypeObject *base_tp = &PyTuple_Type;
   94|      2|    PyObject *iterable = NULL;
   95|       |
   96|      2|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (96:10): [True: 0, False: 2]
  |  Branch (96:29): [True: 2, False: 0]
  ------------------
   97|      2|        !_PyArg_NoKeywords("tuple", kwargs)) {
  ------------------
  |  |   32|      2|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 2, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   98|      0|        goto exit;
   99|      0|    }
  100|      2|    if (!_PyArg_CheckPositional("tuple", PyTuple_GET_SIZE(args), 0, 1)) {
  ------------------
  |  |   38|      2|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 2, False: 0]
  |  |  |  Branch (38:27): [True: 2, False: 0]
  |  |  ------------------
  |  |   39|      2|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  101|      0|        goto exit;
  102|      0|    }
  103|      2|    if (PyTuple_GET_SIZE(args) < 1) {
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (103:9): [True: 0, False: 2]
  ------------------
  104|      0|        goto skip_optional;
  105|      0|    }
  106|      2|    iterable = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|      2|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (106:16): [True: 2, False: 0]
  ------------------
  107|      2|skip_optional:
  108|      2|    return_value = tuple_new_impl(type, iterable);
  109|       |
  110|      2|exit:
  111|      2|    return return_value;
  112|      2|}
tupleobject.c:tuple_vectorcall:
  117|      5|{
  118|      5|    PyObject *return_value = NULL;
  119|      5|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      5|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  120|      5|    PyObject *iterable = NULL;
  121|       |
  122|      5|    assert(_PyType_CAST(type)->tp_new == tuple_new);
  ------------------
  |  Branch (122:5): [True: 5, False: 0]
  |  Branch (122:5): [True: 5, False: 0]
  ------------------
  123|       |    /* Make sure the type object is immutable: the generated
  124|       |     * vectorcall doesn't deal e.g. with users reassigning __init__. */
  125|      5|    assert(PyType_HasFeature(_PyType_CAST(type), Py_TPFLAGS_IMMUTABLETYPE));
  ------------------
  |  Branch (125:5): [True: 5, False: 0]
  |  Branch (125:5): [True: 5, False: 0]
  ------------------
  126|      5|    if (!_PyArg_NoKwnames("tuple", kwnames)) {
  ------------------
  |  |   16|      5|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 5, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  127|      0|        goto exit;
  128|      0|    }
  129|      5|    if (!_PyArg_CheckPositional("tuple", nargs, 0, 1)) {
  ------------------
  |  |   38|      5|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 5, False: 0]
  |  |  |  Branch (38:27): [True: 5, False: 0]
  |  |  ------------------
  |  |   39|      5|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  130|      0|        goto exit;
  131|      0|    }
  132|      5|    if (nargs < 1) {
  ------------------
  |  Branch (132:9): [True: 0, False: 5]
  ------------------
  133|      0|        goto skip_optional;
  134|      0|    }
  135|      5|    iterable = args[0];
  136|      5|skip_optional:
  137|      5|    return_value = tuple_new_impl(_PyType_CAST(type), iterable);
  ------------------
  |  |  770|      5|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (137:35): [True: 5, False: 0]
  ------------------
  138|       |
  139|      5|exit:
  140|      5|    return return_value;
  141|      5|}

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

unicodeobject.c:unicode_encode:
  220|      6|{
  221|      6|    PyObject *return_value = NULL;
  222|      6|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  223|       |
  224|      6|    #define NUM_KEYWORDS 2
  225|      6|    static struct {
  226|      6|        PyGC_Head _this_is_not_used;
  227|      6|        PyObject_VAR_HEAD
  228|      6|        Py_hash_t ob_hash;
  229|      6|        PyObject *ob_item[NUM_KEYWORDS];
  230|      6|    } _kwtuple = {
  231|      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|    },
  ------------------
  232|      6|        .ob_hash = -1,
  233|      6|        .ob_item = { &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  951|      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(encoding), &_Py_ID(errors), },
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  234|      6|    };
  235|      6|    #undef NUM_KEYWORDS
  236|      6|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  237|       |
  238|       |    #else  // !Py_BUILD_CORE
  239|       |    #  define KWTUPLE NULL
  240|       |    #endif  // !Py_BUILD_CORE
  241|       |
  242|      6|    static const char * const _keywords[] = {"encoding", "errors", NULL};
  243|      6|    static _PyArg_Parser _parser = {
  244|      6|        .keywords = _keywords,
  245|      6|        .fname = "encode",
  246|      6|        .kwtuple = KWTUPLE,
  ------------------
  |  |  236|      6|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  247|      6|    };
  248|      6|    #undef KWTUPLE
  249|      6|    PyObject *argsbuf[2];
  250|      6|    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 (250:36): [True: 0, False: 6]
  ------------------
  251|      6|    const char *encoding = NULL;
  252|      6|    const char *errors = NULL;
  253|       |
  254|      6|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|      6|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 6, False: 0]
  |  |  ------------------
  |  |   91|      6|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 6, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 6]
  |  |  |  Branch (91:43): [True: 6, False: 0]
  |  |  |  Branch (91:67): [True: 6, False: 0]
  |  |  ------------------
  |  |   92|      6|      (args) : \
  |  |   93|      6|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  255|      6|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  256|      6|    if (!args) {
  ------------------
  |  Branch (256:9): [True: 0, False: 6]
  ------------------
  257|      0|        goto exit;
  258|      0|    }
  259|      6|    if (!noptargs) {
  ------------------
  |  Branch (259:9): [True: 0, False: 6]
  ------------------
  260|      0|        goto skip_optional_pos;
  261|      0|    }
  262|      6|    if (args[0]) {
  ------------------
  |  Branch (262:9): [True: 6, False: 0]
  ------------------
  263|      6|        if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|      6|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (263:13): [True: 0, False: 6]
  ------------------
  264|      0|            _PyArg_BadArgument("encode", "argument 'encoding'", "str", args[0]);
  265|      0|            goto exit;
  266|      0|        }
  267|      6|        encoding = _PyUnicode_AsUTF8NoNUL(args[0]);
  268|      6|        if (encoding == NULL) {
  ------------------
  |  Branch (268:13): [True: 0, False: 6]
  ------------------
  269|      0|            goto exit;
  270|      0|        }
  271|      6|        if (!--noptargs) {
  ------------------
  |  Branch (271:13): [True: 0, False: 6]
  ------------------
  272|      0|            goto skip_optional_pos;
  273|      0|        }
  274|      6|    }
  275|      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 (275:9): [True: 0, False: 6]
  ------------------
  276|      0|        _PyArg_BadArgument("encode", "argument 'errors'", "str", args[1]);
  277|      0|        goto exit;
  278|      0|    }
  279|      6|    errors = _PyUnicode_AsUTF8NoNUL(args[1]);
  280|      6|    if (errors == NULL) {
  ------------------
  |  Branch (280:9): [True: 0, False: 6]
  ------------------
  281|      0|        goto exit;
  282|      0|    }
  283|      6|skip_optional_pos:
  284|      6|    return_value = unicode_encode_impl(self, encoding, errors);
  285|       |
  286|      6|exit:
  287|      6|    return return_value;
  288|      6|}
unicodeobject.c:unicode_replace:
  927|     27|{
  928|     27|    PyObject *return_value = NULL;
  929|     27|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  930|       |
  931|     27|    #define NUM_KEYWORDS 1
  932|     27|    static struct {
  933|     27|        PyGC_Head _this_is_not_used;
  934|     27|        PyObject_VAR_HEAD
  935|     27|        Py_hash_t ob_hash;
  936|     27|        PyObject *ob_item[NUM_KEYWORDS];
  937|     27|    } _kwtuple = {
  938|     27|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     27|    {                                     \
  |  |   98|     27|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     27|    {                               \
  |  |  |  |   91|     27|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     27|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     27|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     27|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     27|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     27|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     27|        (type)                      \
  |  |  |  |   93|     27|    },
  |  |  ------------------
  |  |   99|     27|        (size)                            \
  |  |  100|     27|    },
  ------------------
  939|     27|        .ob_hash = -1,
  940|     27|        .ob_item = { &_Py_ID(count), },
  ------------------
  |  |  951|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  941|     27|    };
  942|     27|    #undef NUM_KEYWORDS
  943|     27|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  944|       |
  945|       |    #else  // !Py_BUILD_CORE
  946|       |    #  define KWTUPLE NULL
  947|       |    #endif  // !Py_BUILD_CORE
  948|       |
  949|     27|    static const char * const _keywords[] = {"", "", "count", NULL};
  950|     27|    static _PyArg_Parser _parser = {
  951|     27|        .keywords = _keywords,
  952|     27|        .fname = "replace",
  953|     27|        .kwtuple = KWTUPLE,
  ------------------
  |  |  943|     27|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  954|     27|    };
  955|     27|    #undef KWTUPLE
  956|     27|    PyObject *argsbuf[3];
  957|     27|    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 (957:36): [True: 0, False: 27]
  ------------------
  958|     27|    PyObject *old;
  959|     27|    PyObject *new;
  960|     27|    Py_ssize_t count = -1;
  961|       |
  962|     27|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|     27|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 27, False: 0]
  |  |  ------------------
  |  |   91|     27|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 27, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 27]
  |  |  |  Branch (91:43): [True: 27, False: 0]
  |  |  |  Branch (91:67): [True: 27, False: 0]
  |  |  ------------------
  |  |   92|     27|      (args) : \
  |  |   93|     27|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  963|     27|            /*minpos*/ 2, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  964|     27|    if (!args) {
  ------------------
  |  Branch (964:9): [True: 0, False: 27]
  ------------------
  965|      0|        goto exit;
  966|      0|    }
  967|     27|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|     27|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     27|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (967:9): [True: 0, False: 27]
  ------------------
  968|      0|        _PyArg_BadArgument("replace", "argument 1", "str", args[0]);
  969|      0|        goto exit;
  970|      0|    }
  971|     27|    old = args[0];
  972|     27|    if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|     27|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     27|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (972:9): [True: 0, False: 27]
  ------------------
  973|      0|        _PyArg_BadArgument("replace", "argument 2", "str", args[1]);
  974|      0|        goto exit;
  975|      0|    }
  976|     27|    new = args[1];
  977|     27|    if (!noptargs) {
  ------------------
  |  Branch (977:9): [True: 27, False: 0]
  ------------------
  978|     27|        goto skip_optional_pos;
  979|     27|    }
  980|      0|    {
  981|      0|        Py_ssize_t ival = -1;
  982|      0|        PyObject *iobj = _PyNumber_Index(args[2]);
  983|      0|        if (iobj != NULL) {
  ------------------
  |  Branch (983:13): [True: 0, False: 0]
  ------------------
  984|      0|            ival = PyLong_AsSsize_t(iobj);
  985|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  986|      0|        }
  987|      0|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (987:13): [True: 0, False: 0]
  |  Branch (987:27): [True: 0, False: 0]
  ------------------
  988|      0|            goto exit;
  989|      0|        }
  990|      0|        count = ival;
  991|      0|    }
  992|     27|skip_optional_pos:
  993|     27|    return_value = unicode_replace_impl(self, old, new, count);
  994|       |
  995|     27|exit:
  996|     27|    return return_value;
  997|     27|}
unicodeobject.c:unicode_split:
 1257|     82|{
 1258|     82|    PyObject *return_value = NULL;
 1259|     82|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1260|       |
 1261|     82|    #define NUM_KEYWORDS 2
 1262|     82|    static struct {
 1263|     82|        PyGC_Head _this_is_not_used;
 1264|     82|        PyObject_VAR_HEAD
 1265|     82|        Py_hash_t ob_hash;
 1266|     82|        PyObject *ob_item[NUM_KEYWORDS];
 1267|     82|    } _kwtuple = {
 1268|     82|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     82|    {                                     \
  |  |   98|     82|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     82|    {                               \
  |  |  |  |   91|     82|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     82|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     82|#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|     82|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     82|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     82|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     82|        (type)                      \
  |  |  |  |   93|     82|    },
  |  |  ------------------
  |  |   99|     82|        (size)                            \
  |  |  100|     82|    },
  ------------------
 1269|     82|        .ob_hash = -1,
 1270|     82|        .ob_item = { &_Py_ID(sep), &_Py_ID(maxsplit), },
  ------------------
  |  |  951|     82|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     82|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     82|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(sep), &_Py_ID(maxsplit), },
  ------------------
  |  |  951|     82|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     82|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     82|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1271|     82|    };
 1272|     82|    #undef NUM_KEYWORDS
 1273|     82|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1274|       |
 1275|       |    #else  // !Py_BUILD_CORE
 1276|       |    #  define KWTUPLE NULL
 1277|       |    #endif  // !Py_BUILD_CORE
 1278|       |
 1279|     82|    static const char * const _keywords[] = {"sep", "maxsplit", NULL};
 1280|     82|    static _PyArg_Parser _parser = {
 1281|     82|        .keywords = _keywords,
 1282|     82|        .fname = "split",
 1283|     82|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1273|     82|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1284|     82|    };
 1285|     82|    #undef KWTUPLE
 1286|     82|    PyObject *argsbuf[2];
 1287|     82|    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 (1287:36): [True: 0, False: 82]
  ------------------
 1288|     82|    PyObject *sep = Py_None;
  ------------------
  |  |  616|     82|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1289|     82|    Py_ssize_t maxsplit = -1;
 1290|       |
 1291|     82|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|     82|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 82, False: 0]
  |  |  ------------------
  |  |   91|     82|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 82, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 82]
  |  |  |  Branch (91:43): [True: 82, False: 0]
  |  |  |  Branch (91:67): [True: 82, False: 0]
  |  |  ------------------
  |  |   92|     82|      (args) : \
  |  |   93|     82|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1292|     82|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1293|     82|    if (!args) {
  ------------------
  |  Branch (1293:9): [True: 0, False: 82]
  ------------------
 1294|      0|        goto exit;
 1295|      0|    }
 1296|     82|    if (!noptargs) {
  ------------------
  |  Branch (1296:9): [True: 1, False: 81]
  ------------------
 1297|      1|        goto skip_optional_pos;
 1298|      1|    }
 1299|     81|    if (args[0]) {
  ------------------
  |  Branch (1299:9): [True: 81, False: 0]
  ------------------
 1300|     81|        sep = args[0];
 1301|     81|        if (!--noptargs) {
  ------------------
  |  Branch (1301:13): [True: 81, False: 0]
  ------------------
 1302|     81|            goto skip_optional_pos;
 1303|     81|        }
 1304|     81|    }
 1305|      0|    {
 1306|      0|        Py_ssize_t ival = -1;
 1307|      0|        PyObject *iobj = _PyNumber_Index(args[1]);
 1308|      0|        if (iobj != NULL) {
  ------------------
  |  Branch (1308:13): [True: 0, False: 0]
  ------------------
 1309|      0|            ival = PyLong_AsSsize_t(iobj);
 1310|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1311|      0|        }
 1312|      0|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1312:13): [True: 0, False: 0]
  |  Branch (1312:27): [True: 0, False: 0]
  ------------------
 1313|      0|            goto exit;
 1314|      0|        }
 1315|      0|        maxsplit = ival;
 1316|      0|    }
 1317|     82|skip_optional_pos:
 1318|     82|    return_value = unicode_split_impl(self, sep, maxsplit);
 1319|       |
 1320|     82|exit:
 1321|     82|    return return_value;
 1322|     82|}
unicodeobject.c:unicode_find:
  376|      2|{
  377|      2|    PyObject *return_value = NULL;
  378|      2|    PyObject *substr;
  379|      2|    Py_ssize_t start = 0;
  380|      2|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      2|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  381|      2|    Py_ssize_t _return_value;
  382|       |
  383|      2|    if (!_PyArg_CheckPositional("find", nargs, 1, 3)) {
  ------------------
  |  |   38|      2|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 2, False: 0]
  |  |  |  Branch (38:27): [True: 2, False: 0]
  |  |  ------------------
  |  |   39|      2|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  384|      0|        goto exit;
  385|      0|    }
  386|      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 (386:9): [True: 0, False: 2]
  ------------------
  387|      0|        _PyArg_BadArgument("find", "argument 1", "str", args[0]);
  388|      0|        goto exit;
  389|      0|    }
  390|      2|    substr = args[0];
  391|      2|    if (nargs < 2) {
  ------------------
  |  Branch (391:9): [True: 0, False: 2]
  ------------------
  392|      0|        goto skip_optional;
  393|      0|    }
  394|      2|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (394:9): [True: 0, False: 2]
  ------------------
  395|      0|        goto exit;
  396|      0|    }
  397|      2|    if (nargs < 3) {
  ------------------
  |  Branch (397:9): [True: 2, False: 0]
  ------------------
  398|      2|        goto skip_optional;
  399|      2|    }
  400|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (400:9): [True: 0, False: 0]
  ------------------
  401|      0|        goto exit;
  402|      0|    }
  403|      2|skip_optional:
  404|      2|    _return_value = unicode_find_impl(str, substr, start, end);
  405|      2|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (405:9): [True: 0, False: 2]
  |  Branch (405:34): [True: 0, False: 0]
  ------------------
  406|      0|        goto exit;
  407|      0|    }
  408|      2|    return_value = PyLong_FromSsize_t(_return_value);
  409|       |
  410|      2|exit:
  411|      2|    return return_value;
  412|      2|}
unicodeobject.c:unicode_lower:
  799|      8|{
  800|      8|    return unicode_lower_impl(self);
  801|      8|}
unicodeobject.c:unicode_lstrip:
  853|     33|{
  854|     33|    PyObject *return_value = NULL;
  855|     33|    PyObject *chars = Py_None;
  ------------------
  |  |  616|     33|#  define Py_None (&_Py_NoneStruct)
  ------------------
  856|       |
  857|     33|    if (!_PyArg_CheckPositional("lstrip", nargs, 0, 1)) {
  ------------------
  |  |   38|     33|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 33, False: 0]
  |  |  |  Branch (38:27): [True: 33, False: 0]
  |  |  ------------------
  |  |   39|     33|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  858|      0|        goto exit;
  859|      0|    }
  860|     33|    if (nargs < 1) {
  ------------------
  |  Branch (860:9): [True: 0, False: 33]
  ------------------
  861|      0|        goto skip_optional;
  862|      0|    }
  863|     33|    chars = args[0];
  864|     33|skip_optional:
  865|     33|    return_value = unicode_lstrip_impl(self, chars);
  866|       |
  867|     33|exit:
  868|     33|    return return_value;
  869|     33|}
unicodeobject.c:unicode_rfind:
 1083|     33|{
 1084|     33|    PyObject *return_value = NULL;
 1085|     33|    PyObject *substr;
 1086|     33|    Py_ssize_t start = 0;
 1087|     33|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|     33|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1088|     33|    Py_ssize_t _return_value;
 1089|       |
 1090|     33|    if (!_PyArg_CheckPositional("rfind", nargs, 1, 3)) {
  ------------------
  |  |   38|     33|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 33, False: 0]
  |  |  |  Branch (38:27): [True: 33, False: 0]
  |  |  ------------------
  |  |   39|     33|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1091|      0|        goto exit;
 1092|      0|    }
 1093|     33|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|     33|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     33|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1093:9): [True: 0, False: 33]
  ------------------
 1094|      0|        _PyArg_BadArgument("rfind", "argument 1", "str", args[0]);
 1095|      0|        goto exit;
 1096|      0|    }
 1097|     33|    substr = args[0];
 1098|     33|    if (nargs < 2) {
  ------------------
  |  Branch (1098:9): [True: 33, False: 0]
  ------------------
 1099|     33|        goto skip_optional;
 1100|     33|    }
 1101|      0|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (1101:9): [True: 0, False: 0]
  ------------------
 1102|      0|        goto exit;
 1103|      0|    }
 1104|      0|    if (nargs < 3) {
  ------------------
  |  Branch (1104:9): [True: 0, False: 0]
  ------------------
 1105|      0|        goto skip_optional;
 1106|      0|    }
 1107|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (1107:9): [True: 0, False: 0]
  ------------------
 1108|      0|        goto exit;
 1109|      0|    }
 1110|     33|skip_optional:
 1111|     33|    _return_value = unicode_rfind_impl(str, substr, start, end);
 1112|     33|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (1112:9): [True: 0, False: 33]
  |  Branch (1112:34): [True: 0, False: 0]
  ------------------
 1113|      0|        goto exit;
 1114|      0|    }
 1115|     33|    return_value = PyLong_FromSsize_t(_return_value);
 1116|       |
 1117|     33|exit:
 1118|     33|    return return_value;
 1119|     33|}
unicodeobject.c:unicode_rstrip:
  887|    683|{
  888|    683|    PyObject *return_value = NULL;
  889|    683|    PyObject *chars = Py_None;
  ------------------
  |  |  616|    683|#  define Py_None (&_Py_NoneStruct)
  ------------------
  890|       |
  891|    683|    if (!_PyArg_CheckPositional("rstrip", nargs, 0, 1)) {
  ------------------
  |  |   38|    683|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 683, False: 0]
  |  |  |  Branch (38:27): [True: 683, False: 0]
  |  |  ------------------
  |  |   39|    683|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  892|      0|        goto exit;
  893|      0|    }
  894|    683|    if (nargs < 1) {
  ------------------
  |  Branch (894:9): [True: 0, False: 683]
  ------------------
  895|      0|        goto skip_optional;
  896|      0|    }
  897|    683|    chars = args[0];
  898|    683|skip_optional:
  899|    683|    return_value = unicode_rstrip_impl(self, chars);
  900|       |
  901|    683|exit:
  902|    683|    return return_value;
  903|    683|}
unicodeobject.c:unicode_upper:
 1625|     51|{
 1626|     51|    return unicode_upper_impl(self);
 1627|     51|}
unicodeobject.c:unicode_startswith:
 1689|    377|{
 1690|    377|    PyObject *return_value = NULL;
 1691|    377|    PyObject *subobj;
 1692|    377|    Py_ssize_t start = 0;
 1693|    377|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|    377|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1694|       |
 1695|    377|    if (!_PyArg_CheckPositional("startswith", nargs, 1, 3)) {
  ------------------
  |  |   38|    377|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 377, False: 0]
  |  |  |  Branch (38:27): [True: 377, False: 0]
  |  |  ------------------
  |  |   39|    377|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1696|      0|        goto exit;
 1697|      0|    }
 1698|    377|    subobj = args[0];
 1699|    377|    if (nargs < 2) {
  ------------------
  |  Branch (1699:9): [True: 377, False: 0]
  ------------------
 1700|    377|        goto skip_optional;
 1701|    377|    }
 1702|      0|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (1702:9): [True: 0, False: 0]
  ------------------
 1703|      0|        goto exit;
 1704|      0|    }
 1705|      0|    if (nargs < 3) {
  ------------------
  |  Branch (1705:9): [True: 0, False: 0]
  ------------------
 1706|      0|        goto skip_optional;
 1707|      0|    }
 1708|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (1708:9): [True: 0, False: 0]
  ------------------
 1709|      0|        goto exit;
 1710|      0|    }
 1711|    377|skip_optional:
 1712|    377|    return_value = unicode_startswith_impl(self, subobj, start, end);
 1713|       |
 1714|    377|exit:
 1715|    377|    return return_value;
 1716|    377|}
unicodeobject.c:unicode_endswith:
 1740|     88|{
 1741|     88|    PyObject *return_value = NULL;
 1742|     88|    PyObject *subobj;
 1743|     88|    Py_ssize_t start = 0;
 1744|     88|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|     88|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1745|       |
 1746|     88|    if (!_PyArg_CheckPositional("endswith", nargs, 1, 3)) {
  ------------------
  |  |   38|     88|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 88, False: 0]
  |  |  |  Branch (38:27): [True: 88, False: 0]
  |  |  ------------------
  |  |   39|     88|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1747|      0|        goto exit;
 1748|      0|    }
 1749|     88|    subobj = args[0];
 1750|     88|    if (nargs < 2) {
  ------------------
  |  Branch (1750:9): [True: 88, False: 0]
  ------------------
 1751|     88|        goto skip_optional;
 1752|     88|    }
 1753|      0|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (1753:9): [True: 0, False: 0]
  ------------------
 1754|      0|        goto exit;
 1755|      0|    }
 1756|      0|    if (nargs < 3) {
  ------------------
  |  Branch (1756:9): [True: 0, False: 0]
  ------------------
 1757|      0|        goto skip_optional;
 1758|      0|    }
 1759|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (1759:9): [True: 0, False: 0]
  ------------------
 1760|      0|        goto exit;
 1761|      0|    }
 1762|     88|skip_optional:
 1763|     88|    return_value = unicode_endswith_impl(self, subobj, start, end);
 1764|       |
 1765|     88|exit:
 1766|     88|    return return_value;
 1767|     88|}
unicodeobject.c:unicode_isascii:
  487|      2|{
  488|      2|    return unicode_isascii_impl(self);
  489|      2|}
unicodeobject.c:unicode_isidentifier:
  697|     11|{
  698|     11|    return unicode_isidentifier_impl(self);
  699|     11|}
unicodeobject.c:unicode_new:
 1822|      7|{
 1823|      7|    PyObject *return_value = NULL;
 1824|      7|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1825|       |
 1826|      7|    #define NUM_KEYWORDS 3
 1827|      7|    static struct {
 1828|      7|        PyGC_Head _this_is_not_used;
 1829|      7|        PyObject_VAR_HEAD
 1830|      7|        Py_hash_t ob_hash;
 1831|      7|        PyObject *ob_item[NUM_KEYWORDS];
 1832|      7|    } _kwtuple = {
 1833|      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|    },
  ------------------
 1834|      7|        .ob_hash = -1,
 1835|      7|        .ob_item = { &_Py_ID(object), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  951|      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), },
  ------------------
  |  |  951|      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), },
  ------------------
  |  |  951|      7|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      7|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      7|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1836|      7|    };
 1837|      7|    #undef NUM_KEYWORDS
 1838|      7|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1839|       |
 1840|       |    #else  // !Py_BUILD_CORE
 1841|       |    #  define KWTUPLE NULL
 1842|       |    #endif  // !Py_BUILD_CORE
 1843|       |
 1844|      7|    static const char * const _keywords[] = {"object", "encoding", "errors", NULL};
 1845|      7|    static _PyArg_Parser _parser = {
 1846|      7|        .keywords = _keywords,
 1847|      7|        .fname = "str",
 1848|      7|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1838|      7|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1849|      7|    };
 1850|      7|    #undef KWTUPLE
 1851|      7|    PyObject *argsbuf[3];
 1852|      7|    PyObject * const *fastargs;
 1853|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1854|      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 (1854:36): [True: 0, False: 7]
  ------------------
 1855|      7|    PyObject *x = NULL;
 1856|      7|    const char *encoding = NULL;
 1857|      7|    const char *errors = NULL;
 1858|       |
 1859|      7|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   90|      7|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 7, Folded]
  |  |  |  Branch (90:23): [True: 7, False: 0]
  |  |  |  Branch (90:43): [True: 0, Folded]
  |  |  ------------------
  |  |   91|     14|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 7, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 7]
  |  |  |  Branch (91:43): [True: 7, False: 0]
  |  |  |  Branch (91:67): [True: 7, False: 0]
  |  |  |  Branch (91:68): [True: 7, False: 0]
  |  |  ------------------
  |  |   92|     14|      (args) : \
  |  |  ------------------
  |  |  |  Branch (92:8): [True: 7, False: 0]
  |  |  ------------------
  |  |   93|      7|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (93:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1860|      7|            /*minpos*/ 0, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1861|      7|    if (!fastargs) {
  ------------------
  |  Branch (1861:9): [True: 0, False: 7]
  ------------------
 1862|      0|        goto exit;
 1863|      0|    }
 1864|      7|    if (!noptargs) {
  ------------------
  |  Branch (1864:9): [True: 0, False: 7]
  ------------------
 1865|      0|        goto skip_optional_pos;
 1866|      0|    }
 1867|      7|    if (fastargs[0]) {
  ------------------
  |  Branch (1867:9): [True: 7, False: 0]
  ------------------
 1868|      7|        x = fastargs[0];
 1869|      7|        if (!--noptargs) {
  ------------------
  |  Branch (1869:13): [True: 7, False: 0]
  ------------------
 1870|      7|            goto skip_optional_pos;
 1871|      7|        }
 1872|      7|    }
 1873|      0|    if (fastargs[1]) {
  ------------------
  |  Branch (1873:9): [True: 0, False: 0]
  ------------------
 1874|      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 (1874:13): [True: 0, False: 0]
  ------------------
 1875|      0|            _PyArg_BadArgument("str", "argument 'encoding'", "str", fastargs[1]);
 1876|      0|            goto exit;
 1877|      0|        }
 1878|      0|        encoding = _PyUnicode_AsUTF8NoNUL(fastargs[1]);
 1879|      0|        if (encoding == NULL) {
  ------------------
  |  Branch (1879:13): [True: 0, False: 0]
  ------------------
 1880|      0|            goto exit;
 1881|      0|        }
 1882|      0|        if (!--noptargs) {
  ------------------
  |  Branch (1882:13): [True: 0, False: 0]
  ------------------
 1883|      0|            goto skip_optional_pos;
 1884|      0|        }
 1885|      0|    }
 1886|      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 (1886:9): [True: 0, False: 0]
  ------------------
 1887|      0|        _PyArg_BadArgument("str", "argument 'errors'", "str", fastargs[2]);
 1888|      0|        goto exit;
 1889|      0|    }
 1890|      0|    errors = _PyUnicode_AsUTF8NoNUL(fastargs[2]);
 1891|      0|    if (errors == NULL) {
  ------------------
  |  Branch (1891:9): [True: 0, False: 0]
  ------------------
 1892|      0|        goto exit;
 1893|      0|    }
 1894|      7|skip_optional_pos:
 1895|      7|    return_value = unicode_new_impl(type, x, encoding, errors);
 1896|       |
 1897|      7|exit:
 1898|      7|    return return_value;
 1899|      7|}

weakrefobject.c:weakref_hash:
   13|    168|{
   14|    168|    Py_hash_t return_value = -1;
   15|       |
   16|    168|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    168|    {
  ------------------
   17|    168|    return_value = weakref_hash_impl((PyWeakReference *)self);
   18|    168|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    168|    }
  ------------------
   19|       |
   20|    168|    return return_value;
   21|    168|}
weakrefobject.c:weakref_ref_init:
  101|    112|{
  102|    112|    int return_value = -1;
  103|    112|    PyTypeObject *base_tp = &_PyWeakref_RefType;
  104|    112|    PyObject *object;
  105|    112|    PyObject *callback = Py_None;
  ------------------
  |  |  616|    112|#  define Py_None (&_Py_NoneStruct)
  ------------------
  106|       |
  107|    112|    if ((Py_IS_TYPE(self, base_tp) ||
  ------------------
  |  |  215|    224|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 112]
  |  |  ------------------
  ------------------
  108|    112|         Py_TYPE(self)->tp_new == base_tp->tp_new) &&
  ------------------
  |  |  213|    112|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (108:10): [True: 0, False: 112]
  ------------------
  109|      0|        !_PyArg_NoKeywords("ReferenceType", kwargs)) {
  ------------------
  |  |   32|      0|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 0, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  110|      0|        goto exit;
  111|      0|    }
  112|    112|    if (!_PyArg_CheckPositional("ReferenceType", PyTuple_GET_SIZE(args), 1, 2)) {
  ------------------
  |  |   38|    112|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 112, False: 0]
  |  |  |  Branch (38:27): [True: 112, False: 0]
  |  |  ------------------
  |  |   39|    112|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  113|      0|        goto exit;
  114|      0|    }
  115|    112|    object = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|    112|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    112|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (115:14): [True: 112, False: 0]
  ------------------
  116|    112|    if (PyTuple_GET_SIZE(args) < 2) {
  ------------------
  |  |   27|    112|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (116:9): [True: 0, False: 112]
  ------------------
  117|      0|        goto skip_optional;
  118|      0|    }
  119|    112|    callback = PyTuple_GET_ITEM(args, 1);
  ------------------
  |  |   29|    112|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    112|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (119:16): [True: 112, False: 0]
  ------------------
  120|    112|skip_optional:
  121|    112|    return_value = weakref_ref_init_impl((PyWeakReference *)self, object, callback);
  122|       |
  123|    112|exit:
  124|    112|    return return_value;
  125|    112|}
weakrefobject.c:weakref_ref_new:
   39|    112|{
   40|    112|    PyObject *return_value = NULL;
   41|    112|    PyTypeObject *base_tp = &_PyWeakref_RefType;
   42|    112|    PyObject *object;
   43|    112|    PyObject *callback = NULL;
   44|       |
   45|    112|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (45:10): [True: 0, False: 112]
  |  Branch (45:29): [True: 0, False: 112]
  ------------------
   46|      0|        !_PyArg_NoKeywords("ReferenceType", kwargs)) {
  ------------------
  |  |   32|      0|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 0, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   47|      0|        goto exit;
   48|      0|    }
   49|    112|    if (!_PyArg_CheckPositional("ReferenceType", PyTuple_GET_SIZE(args), 1, 2)) {
  ------------------
  |  |   38|    112|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 112, False: 0]
  |  |  |  Branch (38:27): [True: 112, False: 0]
  |  |  ------------------
  |  |   39|    112|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   50|      0|        goto exit;
   51|      0|    }
   52|    112|    object = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|    112|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    112|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (52:14): [True: 112, False: 0]
  ------------------
   53|    112|    if (PyTuple_GET_SIZE(args) < 2) {
  ------------------
  |  |   27|    112|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (53:9): [True: 0, False: 112]
  ------------------
   54|      0|        goto skip_optional;
   55|      0|    }
   56|    112|    callback = PyTuple_GET_ITEM(args, 1);
  ------------------
  |  |   29|    112|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    112|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (56:16): [True: 112, False: 0]
  ------------------
   57|    112|skip_optional:
   58|    112|    return_value = weakref_ref_new_impl(type, object, callback);
   59|       |
   60|    112|exit:
   61|    112|    return return_value;
   62|    112|}
weakrefobject.c:weakref_ref_vectorcall:
   67|     83|{
   68|     83|    PyObject *return_value = NULL;
   69|     83|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     83|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
   70|     83|    PyObject *object;
   71|     83|    PyObject *callback = NULL;
   72|       |
   73|     83|    assert(_PyType_CAST(type)->tp_new == weakref_ref_new);
  ------------------
  |  Branch (73:5): [True: 83, False: 0]
  |  Branch (73:5): [True: 83, False: 0]
  ------------------
   74|       |    /* Make sure the type object is immutable: the generated
   75|       |     * vectorcall doesn't deal e.g. with users reassigning __init__. */
   76|     83|    assert(PyType_HasFeature(_PyType_CAST(type), Py_TPFLAGS_IMMUTABLETYPE));
  ------------------
  |  Branch (76:5): [True: 83, False: 0]
  |  Branch (76:5): [True: 83, False: 0]
  ------------------
   77|     83|    if (!_PyArg_NoKwnames("ReferenceType", kwnames)) {
  ------------------
  |  |   16|     83|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 83, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   78|      0|        goto exit;
   79|      0|    }
   80|     83|    if (!_PyArg_CheckPositional("ReferenceType", nargs, 1, 2)) {
  ------------------
  |  |   38|     83|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 83, False: 0]
  |  |  |  Branch (38:27): [True: 83, False: 0]
  |  |  ------------------
  |  |   39|     83|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   81|      0|        goto exit;
   82|      0|    }
   83|     83|    object = args[0];
   84|     83|    if (nargs < 2) {
  ------------------
  |  Branch (84:9): [True: 2, False: 81]
  ------------------
   85|      2|        goto skip_optional;
   86|      2|    }
   87|     81|    callback = args[1];
   88|     83|skip_optional:
   89|     83|    return_value = weakref_ref_new_impl(_PyType_CAST(type), object, callback);
  ------------------
  |  |  770|     83|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     83|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (89:41): [True: 83, False: 0]
  ------------------
   90|       |
   91|     83|exit:
   92|     83|    return return_value;
   93|     83|}

_PyCode_ShouldInternString:
  118|  7.48k|{
  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|  7.48k|    const unsigned char *s, *e;
  125|       |
  126|  7.48k|    if (!PyUnicode_IS_ASCII(o))
  ------------------
  |  |  228|  7.48k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (126:9): [True: 2, False: 7.47k]
  ------------------
  127|      2|        return 0;
  128|       |
  129|  7.47k|    s = PyUnicode_1BYTE_DATA(o);
  ------------------
  |  |  292|  7.47k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  7.47k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  130|  7.47k|    e = s + PyUnicode_GET_LENGTH(o);
  ------------------
  |  |  300|  7.47k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  131|  58.5k|    for (; s != e; s++) {
  ------------------
  |  Branch (131:12): [True: 54.0k, False: 4.55k]
  ------------------
  132|  54.0k|        if (!Py_ISALNUM(*s) && *s != '_')
  ------------------
  |  |   26|   108k|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |  170|  54.0k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |   12|  54.0k|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   10|  54.0k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|  54.0k|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    9|  54.0k|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|  54.0k|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (132:13): [True: 6.57k, False: 47.4k]
  |  Branch (132:32): [True: 2.92k, False: 3.64k]
  ------------------
  133|  2.92k|            return 0;
  134|  54.0k|    }
  135|  4.55k|    return 1;
  136|  7.47k|#endif
  137|  7.47k|}
_Py_set_localsplus_info:
  391|     11|{
  392|     11|    PyTuple_SET_ITEM(names, offset, Py_NewRef(name));
  ------------------
  |  |   40|     11|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  393|     11|    _PyLocals_SetKind(kinds, offset, kind);
  394|     11|}
_PyCode_Validate:
  455|  2.41k|{
  456|       |    /* Check argument types */
  457|  2.41k|    if (con->argcount < con->posonlyargcount || con->posonlyargcount < 0 ||
  ------------------
  |  Branch (457:9): [True: 0, False: 2.41k]
  |  Branch (457:49): [True: 0, False: 2.41k]
  ------------------
  458|  2.41k|        con->kwonlyargcount < 0 ||
  ------------------
  |  Branch (458:9): [True: 0, False: 2.41k]
  ------------------
  459|  2.41k|        con->stacksize < 0 || con->flags < 0 ||
  ------------------
  |  Branch (459:9): [True: 0, False: 2.41k]
  |  Branch (459:31): [True: 0, False: 2.41k]
  ------------------
  460|  2.41k|        con->code == NULL || !PyBytes_Check(con->code) ||
  ------------------
  |  |   28|  2.41k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.83k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (460:9): [True: 0, False: 2.41k]
  |  Branch (460:30): [True: 0, False: 2.41k]
  ------------------
  461|  2.41k|        con->consts == NULL || !PyTuple_Check(con->consts) ||
  ------------------
  |  |   27|  2.41k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.83k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (461:9): [True: 0, False: 2.41k]
  |  Branch (461:32): [True: 0, False: 2.41k]
  ------------------
  462|  2.41k|        con->names == NULL || !PyTuple_Check(con->names) ||
  ------------------
  |  |   27|  2.41k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.83k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (462:9): [True: 0, False: 2.41k]
  |  Branch (462:31): [True: 0, False: 2.41k]
  ------------------
  463|  2.41k|        con->localsplusnames == NULL || !PyTuple_Check(con->localsplusnames) ||
  ------------------
  |  |   27|  2.41k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.83k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (463:9): [True: 0, False: 2.41k]
  |  Branch (463:41): [True: 0, False: 2.41k]
  ------------------
  464|  2.41k|        con->localspluskinds == NULL || !PyBytes_Check(con->localspluskinds) ||
  ------------------
  |  |   28|  2.41k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.83k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (464:9): [True: 0, False: 2.41k]
  |  Branch (464:41): [True: 0, False: 2.41k]
  ------------------
  465|  2.41k|        PyTuple_GET_SIZE(con->localsplusnames)
  ------------------
  |  |   27|  2.41k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (465:9): [True: 0, False: 2.41k]
  ------------------
  466|  2.41k|            != PyBytes_GET_SIZE(con->localspluskinds) ||
  ------------------
  |  |   33|  4.83k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  467|  2.41k|        con->name == NULL || !PyUnicode_Check(con->name) ||
  ------------------
  |  |  103|  2.41k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.83k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (467:9): [True: 0, False: 2.41k]
  |  Branch (467:30): [True: 0, False: 2.41k]
  ------------------
  468|  2.41k|        con->qualname == NULL || !PyUnicode_Check(con->qualname) ||
  ------------------
  |  |  103|  2.41k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.83k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (468:9): [True: 0, False: 2.41k]
  |  Branch (468:34): [True: 0, False: 2.41k]
  ------------------
  469|  2.41k|        con->filename == NULL || !PyUnicode_Check(con->filename) ||
  ------------------
  |  |  103|  2.41k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.83k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (469:9): [True: 0, False: 2.41k]
  |  Branch (469:34): [True: 0, False: 2.41k]
  ------------------
  470|  2.41k|        con->linetable == NULL || !PyBytes_Check(con->linetable) ||
  ------------------
  |  |   28|  2.41k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.83k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (470:9): [True: 0, False: 2.41k]
  |  Branch (470:35): [True: 0, False: 2.41k]
  ------------------
  471|  2.41k|        con->exceptiontable == NULL || !PyBytes_Check(con->exceptiontable)
  ------------------
  |  |   28|  2.41k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.41k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (471:9): [True: 0, False: 2.41k]
  |  Branch (471:40): [True: 0, False: 2.41k]
  ------------------
  472|  2.41k|        ) {
  473|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  474|      0|        return -1;
  475|      0|    }
  476|       |
  477|       |    /* Make sure that code is indexable with an int, this is
  478|       |       a long running assumption in ceval.c and many parts of
  479|       |       the interpreter. */
  480|  2.41k|    if (PyBytes_GET_SIZE(con->code) > INT_MAX) {
  ------------------
  |  |   33|  2.41k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (480:9): [True: 0, False: 2.41k]
  ------------------
  481|      0|        PyErr_SetString(PyExc_OverflowError,
  482|      0|                        "code: co_code larger than INT_MAX");
  483|      0|        return -1;
  484|      0|    }
  485|  2.41k|    if (PyBytes_GET_SIZE(con->code) % sizeof(_Py_CODEUNIT) != 0 ||
  ------------------
  |  |   33|  2.41k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (485:9): [True: 0, False: 2.41k]
  ------------------
  486|  2.41k|        !_Py_IS_ALIGNED(PyBytes_AS_STRING(con->code), sizeof(_Py_CODEUNIT))
  ------------------
  |  |  257|  2.41k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (486:9): [True: 0, False: 2.41k]
  ------------------
  487|  2.41k|        ) {
  488|      0|        PyErr_SetString(PyExc_ValueError, "code: co_code is malformed");
  489|      0|        return -1;
  490|      0|    }
  491|       |
  492|       |    /* Ensure that the co_varnames has enough names to cover the arg counts.
  493|       |     * Note that totalargs = nlocals - nplainlocals.  We check nplainlocals
  494|       |     * here to avoid the possibility of overflow (however remote). */
  495|  2.41k|    int nlocals;
  496|  2.41k|    get_localsplus_counts(con->localsplusnames, con->localspluskinds,
  497|  2.41k|                          &nlocals, NULL, NULL);
  498|  2.41k|    int nplainlocals = nlocals -
  499|  2.41k|                       con->argcount -
  500|  2.41k|                       con->kwonlyargcount -
  501|  2.41k|                       ((con->flags & CO_VARARGS) != 0) -
  ------------------
  |  |  124|  2.41k|#define CO_VARARGS      0x0004
  ------------------
  502|  2.41k|                       ((con->flags & CO_VARKEYWORDS) != 0);
  ------------------
  |  |  125|  2.41k|#define CO_VARKEYWORDS  0x0008
  ------------------
  503|  2.41k|    if (nplainlocals < 0) {
  ------------------
  |  Branch (503:9): [True: 0, False: 2.41k]
  ------------------
  504|      0|        PyErr_SetString(PyExc_ValueError, "code: co_varnames is too small");
  505|      0|        return -1;
  506|      0|    }
  507|       |
  508|  2.41k|    return 0;
  509|  2.41k|}
_PyCode_New:
  721|  2.41k|{
  722|  2.41k|    if (intern_code_constants(con) < 0) {
  ------------------
  |  Branch (722:9): [True: 0, False: 2.41k]
  ------------------
  723|      0|        return NULL;
  724|      0|    }
  725|       |
  726|  2.41k|    PyObject *replacement_locations = NULL;
  727|       |    // Compact the linetable if we are opted out of debug
  728|       |    // ranges.
  729|  2.41k|    if (!_Py_GetConfig()->code_debug_ranges) {
  ------------------
  |  Branch (729:9): [True: 0, False: 2.41k]
  ------------------
  730|      0|        replacement_locations = remove_column_info(con->linetable);
  731|      0|        if (replacement_locations == NULL) {
  ------------------
  |  Branch (731:13): [True: 0, False: 0]
  ------------------
  732|      0|            return NULL;
  733|      0|        }
  734|      0|        con->linetable = replacement_locations;
  735|      0|    }
  736|       |
  737|  2.41k|    Py_ssize_t size = PyBytes_GET_SIZE(con->code) / sizeof(_Py_CODEUNIT);
  ------------------
  |  |   33|  2.41k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  738|  2.41k|    PyCodeObject *co;
  739|       |#ifdef Py_GIL_DISABLED
  740|       |    co = PyObject_GC_NewVar(PyCodeObject, &PyCode_Type, size);
  741|       |#else
  742|  2.41k|    co = PyObject_NewVar(PyCodeObject, &PyCode_Type, size);
  ------------------
  |  |  137|  2.41k|                ( (type *) _PyObject_NewVar((typeobj), (n)) )
  ------------------
  743|  2.41k|#endif
  744|  2.41k|    if (co == NULL) {
  ------------------
  |  Branch (744:9): [True: 0, False: 2.41k]
  ------------------
  745|      0|        Py_XDECREF(replacement_locations);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  746|      0|        PyErr_NoMemory();
  747|      0|        return NULL;
  748|      0|    }
  749|       |
  750|       |#ifdef Py_GIL_DISABLED
  751|       |    co->_co_unique_id = _Py_INVALID_UNIQUE_ID;
  752|       |#endif
  753|       |
  754|  2.41k|    if (init_code(co, con) < 0) {
  ------------------
  |  Branch (754:9): [True: 0, False: 2.41k]
  ------------------
  755|      0|        Py_XDECREF(replacement_locations);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  756|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  757|      0|        return NULL;
  758|      0|    }
  759|       |
  760|       |#ifdef Py_GIL_DISABLED
  761|       |    co->_co_unique_id = _PyObject_AssignUniqueId((PyObject *)co);
  762|       |    _PyObject_GC_TRACK(co);
  763|       |#endif
  764|  2.41k|    Py_XDECREF(replacement_locations);
  ------------------
  |  |  621|  2.41k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  765|  2.41k|    return co;
  766|  2.41k|}
_PyCode_ConstantKey:
 2940|     43|{
 2941|     43|    PyObject *key;
 2942|       |
 2943|       |    /* Py_None and Py_Ellipsis are singletons. */
 2944|     43|    if (op == Py_None || op == Py_Ellipsis
  ------------------
  |  |  616|     86|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (op == Py_None || op == Py_Ellipsis
  ------------------
  |  |   14|     84|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (2944:9): [True: 2, False: 41]
  |  Branch (2944:26): [True: 0, False: 41]
  ------------------
 2945|     43|       || PyLong_CheckExact(op)
  ------------------
  |  |   14|     41|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|     84|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 41]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2946|     43|       || PyUnicode_CheckExact(op)
  ------------------
  |  |  104|     41|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|     84|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 13, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2947|       |          /* code_richcompare() uses _PyCode_ConstantKey() internally */
 2948|     28|       || PyCode_Check(op))
  ------------------
  |  |  168|     28|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|     28|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 24]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2949|     19|    {
 2950|       |        /* Objects of these types are always different from object of other
 2951|       |         * type and from tuples. */
 2952|     19|        key = Py_NewRef(op);
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2953|     19|    }
 2954|     24|    else if (PyBool_Check(op) || PyBytes_CheckExact(op)) {
  ------------------
  |  |   12|     24|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_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: 0, False: 24]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  else if (PyBool_Check(op) || PyBytes_CheckExact(op)) {
  ------------------
  |  |   29|     24|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|     24|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 12, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2955|       |        /* Make booleans different from integers 0 and 1.
 2956|       |         * Avoid BytesWarning from comparing bytes with strings. */
 2957|     12|        key = _PyTuple_FromPair((PyObject *)Py_TYPE(op), op);
  ------------------
  |  |  213|     12|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2958|     12|    }
 2959|     12|    else if (PyFloat_CheckExact(op)) {
  ------------------
  |  |   17|     12|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|     12|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2960|      0|        double d = PyFloat_AS_DOUBLE(op);
  ------------------
  |  |   18|      0|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2961|       |        /* all we need is to make the tuple different in either the 0.0
 2962|       |         * or -0.0 case from all others, just to avoid the "coercion".
 2963|       |         */
 2964|      0|        if (d == 0.0 && copysign(1.0, d) < 0.0)
  ------------------
  |  Branch (2964:13): [True: 0, False: 0]
  |  Branch (2964:25): [True: 0, False: 0]
  ------------------
 2965|      0|            key = PyTuple_Pack(3, Py_TYPE(op), op, Py_None);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          key = PyTuple_Pack(3, Py_TYPE(op), op, Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2966|      0|        else
 2967|      0|            key = _PyTuple_FromPair((PyObject *)Py_TYPE(op), op);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2968|      0|    }
 2969|     12|    else if (PyComplex_CheckExact(op)) {
  ------------------
  |  |   14|     12|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  215|     12|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2970|      0|        Py_complex z;
 2971|      0|        int real_negzero, imag_negzero;
 2972|       |        /* For the complex case we must make complex(x, 0.)
 2973|       |           different from complex(x, -0.) and complex(0., y)
 2974|       |           different from complex(-0., y), for any x and y.
 2975|       |           All four complex zeros must be distinguished.*/
 2976|      0|        z = PyComplex_AsCComplex(op);
 2977|      0|        real_negzero = z.real == 0.0 && copysign(1.0, z.real) < 0.0;
  ------------------
  |  Branch (2977:24): [True: 0, False: 0]
  |  Branch (2977:41): [True: 0, False: 0]
  ------------------
 2978|      0|        imag_negzero = z.imag == 0.0 && copysign(1.0, z.imag) < 0.0;
  ------------------
  |  Branch (2978:24): [True: 0, False: 0]
  |  Branch (2978:41): [True: 0, False: 0]
  ------------------
 2979|       |        /* use True, False and None singleton as tags for the real and imag
 2980|       |         * sign, to make tuples different */
 2981|      0|        if (real_negzero && imag_negzero) {
  ------------------
  |  Branch (2981:13): [True: 0, False: 0]
  |  Branch (2981:29): [True: 0, False: 0]
  ------------------
 2982|      0|            key = PyTuple_Pack(3, Py_TYPE(op), op, Py_True);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          key = PyTuple_Pack(3, Py_TYPE(op), op, Py_True);
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2983|      0|        }
 2984|      0|        else if (imag_negzero) {
  ------------------
  |  Branch (2984:18): [True: 0, False: 0]
  ------------------
 2985|      0|            key = PyTuple_Pack(3, Py_TYPE(op), op, Py_False);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          key = PyTuple_Pack(3, Py_TYPE(op), op, Py_False);
  ------------------
  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2986|      0|        }
 2987|      0|        else if (real_negzero) {
  ------------------
  |  Branch (2987:18): [True: 0, False: 0]
  ------------------
 2988|      0|            key = PyTuple_Pack(3, Py_TYPE(op), op, Py_None);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          key = PyTuple_Pack(3, Py_TYPE(op), op, Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2989|      0|        }
 2990|      0|        else {
 2991|      0|            key = _PyTuple_FromPair((PyObject *)Py_TYPE(op), op);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2992|      0|        }
 2993|      0|    }
 2994|     12|    else if (PyTuple_CheckExact(op)) {
  ------------------
  |  |   28|     12|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|     12|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 12, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2995|     12|        Py_ssize_t i, len;
 2996|     12|        PyObject *tuple;
 2997|       |
 2998|     12|        len = PyTuple_GET_SIZE(op);
  ------------------
  |  |   27|     12|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2999|     12|        tuple = PyTuple_New(len);
 3000|     12|        if (tuple == NULL)
  ------------------
  |  Branch (3000:13): [True: 0, False: 12]
  ------------------
 3001|      0|            return NULL;
 3002|       |
 3003|     29|        for (i=0; i < len; i++) {
  ------------------
  |  Branch (3003:19): [True: 17, False: 12]
  ------------------
 3004|     17|            PyObject *item, *item_key;
 3005|       |
 3006|     17|            item = PyTuple_GET_ITEM(op, i);
  ------------------
  |  |   29|     17|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     17|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3006:20): [True: 17, False: 0]
  ------------------
 3007|      0|            item_key = _PyCode_ConstantKey(item);
 3008|     17|            if (item_key == NULL) {
  ------------------
  |  Branch (3008:17): [True: 0, False: 17]
  ------------------
 3009|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3010|      0|                return NULL;
 3011|      0|            }
 3012|       |
 3013|     17|            PyTuple_SET_ITEM(tuple, i, item_key);
  ------------------
  |  |   40|     17|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3014|     17|        }
 3015|       |
 3016|     12|        key = _PyTuple_FromPair(tuple, op);
 3017|     12|        Py_DECREF(tuple);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3018|     12|    }
 3019|      0|    else if (PyFrozenSet_CheckExact(op)) {
  ------------------
  |  |   23|      0|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3020|      0|        Py_ssize_t pos = 0;
 3021|      0|        PyObject *item;
 3022|      0|        Py_hash_t hash;
 3023|      0|        Py_ssize_t i, len;
 3024|      0|        PyObject *tuple, *set;
 3025|       |
 3026|      0|        len = PySet_GET_SIZE(op);
  ------------------
  |  |   71|      0|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3027|      0|        tuple = PyTuple_New(len);
 3028|      0|        if (tuple == NULL)
  ------------------
  |  Branch (3028:13): [True: 0, False: 0]
  ------------------
 3029|      0|            return NULL;
 3030|       |
 3031|      0|        i = 0;
 3032|      0|        while (_PySet_NextEntry(op, &pos, &item, &hash)) {
  ------------------
  |  Branch (3032:16): [True: 0, False: 0]
  ------------------
 3033|      0|            PyObject *item_key;
 3034|       |
 3035|      0|            item_key = _PyCode_ConstantKey(item);
 3036|      0|            if (item_key == NULL) {
  ------------------
  |  Branch (3036:17): [True: 0, False: 0]
  ------------------
 3037|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3038|      0|                return NULL;
 3039|      0|            }
 3040|       |
 3041|      0|            assert(i < len);
  ------------------
  |  Branch (3041:13): [True: 0, False: 0]
  ------------------
 3042|      0|            PyTuple_SET_ITEM(tuple, i, item_key);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3043|      0|            i++;
 3044|      0|        }
 3045|      0|        set = PyFrozenSet_New(tuple);
 3046|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3047|      0|        if (set == NULL)
  ------------------
  |  Branch (3047:13): [True: 0, False: 0]
  ------------------
 3048|      0|            return NULL;
 3049|       |
 3050|      0|        key = _PyTuple_FromPair(set, op);
 3051|      0|        Py_DECREF(set);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3052|      0|        return key;
 3053|      0|    }
 3054|      0|    else if (PySlice_Check(op)) {
  ------------------
  |  |   22|      0|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3055|      0|        PySliceObject *slice = (PySliceObject *)op;
 3056|      0|        PyObject *start_key = NULL;
 3057|      0|        PyObject *stop_key = NULL;
 3058|      0|        PyObject *step_key = NULL;
 3059|      0|        key = NULL;
 3060|       |
 3061|      0|        start_key = _PyCode_ConstantKey(slice->start);
 3062|      0|        if (start_key == NULL) {
  ------------------
  |  Branch (3062:13): [True: 0, False: 0]
  ------------------
 3063|      0|            goto slice_exit;
 3064|      0|        }
 3065|       |
 3066|      0|        stop_key = _PyCode_ConstantKey(slice->stop);
 3067|      0|        if (stop_key == NULL) {
  ------------------
  |  Branch (3067:13): [True: 0, False: 0]
  ------------------
 3068|      0|            goto slice_exit;
 3069|      0|        }
 3070|       |
 3071|      0|        step_key = _PyCode_ConstantKey(slice->step);
 3072|      0|        if (step_key == NULL) {
  ------------------
  |  Branch (3072:13): [True: 0, False: 0]
  ------------------
 3073|      0|            goto slice_exit;
 3074|      0|        }
 3075|       |
 3076|      0|        PyObject *slice_key = PySlice_New(start_key, stop_key, step_key);
 3077|      0|        if (slice_key == NULL) {
  ------------------
  |  Branch (3077:13): [True: 0, False: 0]
  ------------------
 3078|      0|            goto slice_exit;
 3079|      0|        }
 3080|       |
 3081|      0|        key = _PyTuple_FromPair(slice_key, op);
 3082|      0|        Py_DECREF(slice_key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3083|      0|    slice_exit:
 3084|      0|        Py_XDECREF(start_key);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3085|      0|        Py_XDECREF(stop_key);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3086|      0|        Py_XDECREF(step_key);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3087|      0|    }
 3088|      0|    else {
 3089|       |        /* for other types, use the object identifier as a unique identifier
 3090|       |         * to ensure that they are seen as unequal. */
 3091|      0|        PyObject *obj_id = PyLong_FromVoidPtr(op);
 3092|      0|        if (obj_id == NULL)
  ------------------
  |  Branch (3092:13): [True: 0, False: 0]
  ------------------
 3093|      0|            return NULL;
 3094|       |
 3095|      0|        key = _PyTuple_FromPair(obj_id, op);
 3096|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3097|      0|    }
 3098|     43|    return key;
 3099|     43|}
_PyCode_Init:
 3261|      2|{
 3262|       |#ifdef Py_GIL_DISABLED
 3263|       |    struct _py_code_state *state = &interp->code_state;
 3264|       |    state->constants = _Py_hashtable_new_full(&hash_const, &compare_constants,
 3265|       |                                              &destroy_key, NULL, NULL);
 3266|       |    if (state->constants == NULL) {
 3267|       |        return _PyStatus_NO_MEMORY();
 3268|       |    }
 3269|       |#endif
 3270|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3271|      2|}
codeobject.c:get_localsplus_counts:
  400|  4.83k|{
  401|  4.83k|    int nlocals = 0;
  402|  4.83k|    int ncellvars = 0;
  403|  4.83k|    int nfreevars = 0;
  404|  4.83k|    Py_ssize_t nlocalsplus = PyTuple_GET_SIZE(names);
  ------------------
  |  |   27|  4.83k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  405|  20.0k|    for (int i = 0; i < nlocalsplus; i++) {
  ------------------
  |  Branch (405:21): [True: 15.2k, False: 4.83k]
  ------------------
  406|  15.2k|        _PyLocals_Kind kind = _PyLocals_GetKind(kinds, i);
  407|  15.2k|        if (kind & CO_FAST_LOCAL) {
  ------------------
  |  |  197|  15.2k|#define CO_FAST_LOCAL   (0x20)
  ------------------
  |  Branch (407:13): [True: 13.9k, False: 1.28k]
  ------------------
  408|  13.9k|            nlocals += 1;
  409|  13.9k|            if (kind & CO_FAST_CELL) {
  ------------------
  |  |  198|  13.9k|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (409:17): [True: 150, False: 13.8k]
  ------------------
  410|    150|                ncellvars += 1;
  411|    150|            }
  412|  13.9k|        }
  413|  1.28k|        else if (kind & CO_FAST_CELL) {
  ------------------
  |  |  198|  1.28k|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (413:18): [True: 664, False: 624]
  ------------------
  414|    664|            ncellvars += 1;
  415|    664|        }
  416|    624|        else if (kind & CO_FAST_FREE) {
  ------------------
  |  |  199|    624|#define CO_FAST_FREE    (0x80)
  ------------------
  |  Branch (416:18): [True: 624, False: 0]
  ------------------
  417|    624|            nfreevars += 1;
  418|    624|        }
  419|  15.2k|    }
  420|  4.83k|    if (pnlocals != NULL) {
  ------------------
  |  Branch (420:9): [True: 4.83k, False: 0]
  ------------------
  421|  4.83k|        *pnlocals = nlocals;
  422|  4.83k|    }
  423|  4.83k|    if (pncellvars != NULL) {
  ------------------
  |  Branch (423:9): [True: 2.41k, False: 2.41k]
  ------------------
  424|  2.41k|        *pncellvars = ncellvars;
  425|  2.41k|    }
  426|  4.83k|    if (pnfreevars != NULL) {
  ------------------
  |  Branch (426:9): [True: 2.41k, False: 2.41k]
  ------------------
  427|  2.41k|        *pnfreevars = nfreevars;
  428|  2.41k|    }
  429|  4.83k|}
codeobject.c:intern_code_constants:
  694|  2.41k|{
  695|       |#ifdef Py_GIL_DISABLED
  696|       |    PyInterpreterState *interp = _PyInterpreterState_GET();
  697|       |    struct _py_code_state *state = &interp->code_state;
  698|       |    FT_MUTEX_LOCK(&state->mutex);
  699|       |#endif
  700|  2.41k|    if (intern_strings(con->names) < 0) {
  ------------------
  |  Branch (700:9): [True: 0, False: 2.41k]
  ------------------
  701|      0|        goto error;
  702|      0|    }
  703|  2.41k|    if (intern_constants(con->consts, NULL) < 0) {
  ------------------
  |  Branch (703:9): [True: 0, False: 2.41k]
  ------------------
  704|      0|        goto error;
  705|      0|    }
  706|  2.41k|    if (intern_strings(con->localsplusnames) < 0) {
  ------------------
  |  Branch (706:9): [True: 0, False: 2.41k]
  ------------------
  707|      0|        goto error;
  708|      0|    }
  709|  2.41k|    FT_MUTEX_UNLOCK(&state->mutex);
  ------------------
  |  |  209|  2.41k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (209:44): [Folded, False: 2.41k]
  |  |  ------------------
  ------------------
  710|  2.41k|    return 0;
  711|       |
  712|      0|error:
  713|      0|    FT_MUTEX_UNLOCK(&state->mutex);
  ------------------
  |  |  209|      0|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (209:44): [Folded, False: 0]
  |  |  ------------------
  ------------------
  714|      0|    return -1;
  715|  2.41k|}
codeobject.c:intern_strings:
  191|  4.83k|{
  192|  4.83k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  193|  4.83k|    Py_ssize_t i;
  194|       |
  195|  28.2k|    for (i = PyTuple_GET_SIZE(tuple); --i >= 0; ) {
  ------------------
  |  |   27|  4.83k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (195:39): [True: 23.4k, False: 4.83k]
  ------------------
  196|  23.4k|        PyObject *v = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|  23.4k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  23.4k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (196:23): [True: 23.4k, False: 0]
  ------------------
  197|  23.4k|        if (v == NULL || !PyUnicode_CheckExact(v)) {
  ------------------
  |  |  104|  23.4k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  23.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  23.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  23.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (197:13): [True: 0, False: 23.4k]
  |  Branch (197:26): [True: 0, False: 23.4k]
  ------------------
  198|      0|            PyErr_SetString(PyExc_SystemError,
  199|      0|                            "non-string found in code slot");
  200|      0|            return -1;
  201|      0|        }
  202|  23.4k|        _PyUnicode_InternImmortal(interp, &_PyTuple_ITEMS(tuple)[i]);
  ------------------
  |  |   26|  23.4k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  313|  46.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 23.4k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  203|  23.4k|    }
  204|  4.83k|    return 0;
  205|  4.83k|}
codeobject.c:intern_constants:
  212|  3.33k|{
  213|  3.33k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  214|  15.9k|    for (Py_ssize_t i = PyTuple_GET_SIZE(tuple); --i >= 0; ) {
  ------------------
  |  |   27|  3.33k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (214:50): [True: 12.6k, False: 3.33k]
  ------------------
  215|  12.6k|        PyObject *v = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|  12.6k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  12.6k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (215:23): [True: 12.6k, False: 0]
  ------------------
  216|  12.6k|        if (PyUnicode_CheckExact(v)) {
  ------------------
  |  |  104|  12.6k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  12.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 7.47k, False: 5.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  217|  7.47k|            if (_PyCode_ShouldInternString(v)) {
  ------------------
  |  Branch (217:17): [True: 4.55k, False: 2.92k]
  ------------------
  218|  4.55k|                PyObject *w = v;
  219|  4.55k|                _PyUnicode_InternMortal(interp, &v);
  220|  4.55k|                if (w != v) {
  ------------------
  |  Branch (220:21): [True: 0, False: 4.55k]
  ------------------
  221|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  222|      0|                    if (modified) {
  ------------------
  |  Branch (222:25): [True: 0, False: 0]
  ------------------
  223|      0|                        *modified = 1;
  224|      0|                    }
  225|      0|                }
  226|  4.55k|            }
  227|  7.47k|        }
  228|  5.13k|        else if (PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|  5.13k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  5.13k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 907, False: 4.23k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  229|    907|            if (intern_constants(v, NULL) < 0) {
  ------------------
  |  Branch (229:17): [True: 0, False: 907]
  ------------------
  230|      0|                return -1;
  231|      0|            }
  232|    907|        }
  233|  4.23k|        else if (PyFrozenSet_CheckExact(v)) {
  ------------------
  |  |   23|  4.23k|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|  4.23k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 13, False: 4.21k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  234|     13|            PyObject *w = v;
  235|     13|            PyObject *tmp = PySequence_Tuple(v);
  236|     13|            if (tmp == NULL) {
  ------------------
  |  Branch (236:17): [True: 0, False: 13]
  ------------------
  237|      0|                return -1;
  238|      0|            }
  239|     13|            int tmp_modified = 0;
  240|     13|            if (intern_constants(tmp, &tmp_modified) < 0) {
  ------------------
  |  Branch (240:17): [True: 0, False: 13]
  ------------------
  241|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  242|      0|                return -1;
  243|      0|            }
  244|     13|            if (tmp_modified) {
  ------------------
  |  Branch (244:17): [True: 0, False: 13]
  ------------------
  245|      0|                v = PyFrozenSet_New(tmp);
  246|      0|                if (v == NULL) {
  ------------------
  |  Branch (246:21): [True: 0, False: 0]
  ------------------
  247|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  248|      0|                    return -1;
  249|      0|                }
  250|       |
  251|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  252|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  253|      0|                if (modified) {
  ------------------
  |  Branch (253:21): [True: 0, False: 0]
  ------------------
  254|      0|                    *modified = 1;
  255|      0|                }
  256|      0|            }
  257|     13|            Py_DECREF(tmp);
  ------------------
  |  |  430|     13|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  258|     13|        }
  259|       |#ifdef Py_GIL_DISABLED
  260|       |        else if (PySlice_Check(v)) {
  261|       |            PySliceObject *slice = (PySliceObject *)v;
  262|       |            PyObject *tmp = PyTuple_New(3);
  263|       |            if (tmp == NULL) {
  264|       |                return -1;
  265|       |            }
  266|       |            PyTuple_SET_ITEM(tmp, 0, Py_NewRef(slice->start));
  267|       |            PyTuple_SET_ITEM(tmp, 1, Py_NewRef(slice->stop));
  268|       |            PyTuple_SET_ITEM(tmp, 2, Py_NewRef(slice->step));
  269|       |            int tmp_modified = 0;
  270|       |            if (intern_constants(tmp, &tmp_modified) < 0) {
  271|       |                Py_DECREF(tmp);
  272|       |                return -1;
  273|       |            }
  274|       |            if (tmp_modified) {
  275|       |                v = PySlice_New(PyTuple_GET_ITEM(tmp, 0),
  276|       |                                PyTuple_GET_ITEM(tmp, 1),
  277|       |                                PyTuple_GET_ITEM(tmp, 2));
  278|       |                if (v == NULL) {
  279|       |                    Py_DECREF(tmp);
  280|       |                    return -1;
  281|       |                }
  282|       |                PyTuple_SET_ITEM(tuple, i, v);
  283|       |                Py_DECREF(slice);
  284|       |                if (modified) {
  285|       |                    *modified = 1;
  286|       |                }
  287|       |            }
  288|       |            Py_DECREF(tmp);
  289|       |        }
  290|       |
  291|       |        // Intern non-string constants in the free-threaded build
  292|       |        _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)_PyThreadState_GET();
  293|       |        if (!_Py_IsImmortal(v) && !PyUnicode_CheckExact(v) &&
  294|       |            should_immortalize_constant(v) &&
  295|       |            !tstate->suppress_co_const_immortalization)
  296|       |        {
  297|       |            PyObject *interned = intern_one_constant(v);
  298|       |            if (interned == NULL) {
  299|       |                return -1;
  300|       |            }
  301|       |            else if (interned != v) {
  302|       |                PyTuple_SET_ITEM(tuple, i, interned);
  303|       |                Py_SETREF(v, interned);
  304|       |                if (modified) {
  305|       |                    *modified = 1;
  306|       |                }
  307|       |            }
  308|       |        }
  309|       |#endif
  310|  12.6k|    }
  311|  3.33k|    return 0;
  312|  3.33k|}
codeobject.c:init_code:
  520|  2.41k|{
  521|  2.41k|    int nlocalsplus = (int)PyTuple_GET_SIZE(con->localsplusnames);
  ------------------
  |  |   27|  2.41k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  522|  2.41k|    int nlocals, ncellvars, nfreevars;
  523|  2.41k|    get_localsplus_counts(con->localsplusnames, con->localspluskinds,
  524|  2.41k|                          &nlocals, &ncellvars, &nfreevars);
  525|  2.41k|    if (con->stacksize == 0) {
  ------------------
  |  Branch (525:9): [True: 0, False: 2.41k]
  ------------------
  526|      0|        con->stacksize = 1;
  527|      0|    }
  528|       |
  529|  2.41k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  530|  2.41k|    co->co_filename = Py_NewRef(con->filename);
  ------------------
  |  |  647|  2.41k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  531|  2.41k|    co->co_name = Py_NewRef(con->name);
  ------------------
  |  |  647|  2.41k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  532|  2.41k|    co->co_qualname = Py_NewRef(con->qualname);
  ------------------
  |  |  647|  2.41k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  533|  2.41k|    _PyUnicode_InternMortal(interp, &co->co_filename);
  534|  2.41k|    _PyUnicode_InternMortal(interp, &co->co_name);
  535|  2.41k|    _PyUnicode_InternMortal(interp, &co->co_qualname);
  536|  2.41k|    co->co_flags = con->flags;
  537|       |
  538|  2.41k|    co->co_firstlineno = con->firstlineno;
  539|  2.41k|    co->co_linetable = Py_NewRef(con->linetable);
  ------------------
  |  |  647|  2.41k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  540|       |
  541|  2.41k|    co->co_consts = Py_NewRef(con->consts);
  ------------------
  |  |  647|  2.41k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  542|  2.41k|    co->co_names = Py_NewRef(con->names);
  ------------------
  |  |  647|  2.41k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|       |
  544|  2.41k|    co->co_localsplusnames = Py_NewRef(con->localsplusnames);
  ------------------
  |  |  647|  2.41k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  545|  2.41k|    co->co_localspluskinds = Py_NewRef(con->localspluskinds);
  ------------------
  |  |  647|  2.41k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  546|       |
  547|  2.41k|    co->co_argcount = con->argcount;
  548|  2.41k|    co->co_posonlyargcount = con->posonlyargcount;
  549|  2.41k|    co->co_kwonlyargcount = con->kwonlyargcount;
  550|       |
  551|  2.41k|    co->co_stacksize = con->stacksize;
  552|       |
  553|  2.41k|    co->co_exceptiontable = Py_NewRef(con->exceptiontable);
  ------------------
  |  |  647|  2.41k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  554|       |
  555|       |    /* derived values */
  556|  2.41k|    co->co_nlocalsplus = nlocalsplus;
  557|  2.41k|    co->co_nlocals = nlocals;
  558|  2.41k|    co->co_framesize = nlocalsplus + con->stacksize + FRAME_SPECIALS_SIZE;
  ------------------
  |  |  123|  2.41k|#define FRAME_SPECIALS_SIZE ((int)((sizeof(_PyInterpreterFrame)-1)/sizeof(PyObject *)))
  ------------------
  559|  2.41k|    co->co_ncellvars = ncellvars;
  560|  2.41k|    co->co_nfreevars = nfreevars;
  561|  2.41k|    FT_MUTEX_LOCK(&interp->func_state.mutex);
  ------------------
  |  |  207|  2.41k|#define FT_MUTEX_LOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (207:42): [Folded, False: 2.41k]
  |  |  ------------------
  ------------------
  562|  2.41k|    co->co_version = interp->func_state.next_version;
  563|  2.41k|    if (interp->func_state.next_version != 0) {
  ------------------
  |  Branch (563:9): [True: 2.41k, False: 0]
  ------------------
  564|  2.41k|        interp->func_state.next_version++;
  565|  2.41k|    }
  566|  2.41k|    FT_MUTEX_UNLOCK(&interp->func_state.mutex);
  ------------------
  |  |  209|  2.41k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (209:44): [Folded, False: 2.41k]
  |  |  ------------------
  ------------------
  567|  2.41k|    co->_co_monitoring = NULL;
  568|  2.41k|    co->_co_instrumentation_version = 0;
  569|       |    /* not set */
  570|  2.41k|    co->co_weakreflist = NULL;
  571|  2.41k|    co->co_extra = NULL;
  572|  2.41k|    co->_co_cached = NULL;
  573|  2.41k|    co->co_executors = NULL;
  574|       |
  575|  2.41k|    memcpy(_PyCode_CODE(co), PyBytes_AS_STRING(con->code),
  ------------------
  |  |   16|  2.41k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|  2.41k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  memcpy(_PyCode_CODE(co), PyBytes_AS_STRING(con->code),
  ------------------
  |  |   27|  2.41k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  576|  2.41k|           PyBytes_GET_SIZE(con->code));
  ------------------
  |  |   33|  2.41k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  577|       |#ifdef Py_GIL_DISABLED
  578|       |    co->co_tlbc = _PyCodeArray_New(INITIAL_SPECIALIZED_CODE_SIZE);
  579|       |    if (co->co_tlbc == NULL) {
  580|       |        return -1;
  581|       |    }
  582|       |    co->co_tlbc->entries[0] = co->co_code_adaptive;
  583|       |#endif
  584|  2.41k|    int entry_point = 0;
  585|  3.60k|    while (entry_point < Py_SIZE(co)) {
  ------------------
  |  |  214|  3.60k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (585:12): [True: 3.60k, False: 0]
  ------------------
  586|  3.60k|        if (_PyCode_CODE(co)[entry_point].op.code == RESUME &&
  ------------------
  |  |   16|  3.60k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|  3.60k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                      if (_PyCode_CODE(co)[entry_point].op.code == RESUME &&
  ------------------
  |  |  130|  7.20k|#define RESUME                                 128
  ------------------
  |  Branch (586:13): [True: 2.48k, False: 1.12k]
  ------------------
  587|  2.48k|           (_PyCode_CODE(co)[entry_point].op.arg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_GEN_EXPR_START
  ------------------
  |  |   16|  2.48k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|  2.48k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                         (_PyCode_CODE(co)[entry_point].op.arg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_GEN_EXPR_START
  ------------------
  |  |   94|  2.48k|#define RESUME_OPARG_LOCATION_MASK 0x7
  ------------------
                         (_PyCode_CODE(co)[entry_point].op.arg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_GEN_EXPR_START
  ------------------
  |  |   92|  2.48k|#define RESUME_AT_GEN_EXPR_START 4
  ------------------
  |  Branch (587:12): [True: 2.41k, False: 65]
  ------------------
  588|  3.60k|        ) {
  589|  2.41k|            break;
  590|  2.41k|        }
  591|  1.18k|        entry_point++;
  592|  1.18k|    }
  593|  2.41k|    co->_co_firsttraceable = entry_point;
  594|       |
  595|       |#ifdef Py_GIL_DISABLED
  596|       |    int enable_counters = interp->config.tlbc_enabled && interp->opt_config.specialization_enabled;
  597|       |    _PyCode_Quicken(_PyCode_CODE(co), Py_SIZE(co), enable_counters, co->co_flags);
  598|       |#else
  599|  2.41k|    _PyCode_Quicken(_PyCode_CODE(co), Py_SIZE(co), interp->opt_config.specialization_enabled, co->co_flags);
  ------------------
  |  |   16|  2.41k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|  2.41k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  _PyCode_Quicken(_PyCode_CODE(co), Py_SIZE(co), interp->opt_config.specialization_enabled, co->co_flags);
  ------------------
  |  |  214|  2.41k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  600|  2.41k|#endif
  601|  2.41k|    notify_code_watchers(PY_CODE_EVENT_CREATE, co);
  602|  2.41k|    return 0;
  603|  2.41k|}
codeobject.c:notify_code_watchers:
   42|  2.86k|{
   43|  2.86k|    assert(Py_REFCNT(co) > 0);
  ------------------
  |  Branch (43:5): [True: 2.86k, False: 0]
  ------------------
   44|  2.86k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   45|  2.86k|    assert(interp->_initialized);
  ------------------
  |  Branch (45:5): [True: 2.86k, False: 0]
  ------------------
   46|  2.86k|    uint8_t bits = interp->active_code_watchers;
   47|  2.86k|    int i = 0;
   48|  2.86k|    while (bits) {
  ------------------
  |  Branch (48:12): [True: 0, False: 2.86k]
  ------------------
   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|  2.86k|}
codeobject.c:code_dealloc:
 2404|    446|{
 2405|    446|    PyThreadState *tstate = PyThreadState_GET();
  ------------------
  |  |   63|    446|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 2406|    446|    _Py_atomic_add_uint64(&tstate->interp->_code_object_generation, 1);
 2407|    446|    PyCodeObject *co = _PyCodeObject_CAST(self);
  ------------------
  |  |  114|    446|#define _PyCodeObject_CAST(op)  (assert(PyCode_Check(op)), (PyCodeObject *)(op))
  ------------------
  |  Branch (2407:24): [True: 446, False: 0]
  ------------------
 2408|      0|    _PyObject_ResurrectStart(self);
 2409|    446|    notify_code_watchers(PY_CODE_EVENT_DESTROY, co);
 2410|    446|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (2410:9): [True: 0, False: 446]
  ------------------
 2411|      0|        return;
 2412|      0|    }
 2413|       |
 2414|       |#ifdef Py_GIL_DISABLED
 2415|       |    PyObject_GC_UnTrack(co);
 2416|       |#endif
 2417|       |
 2418|    446|    _PyFunction_ClearCodeByVersion(co->co_version);
 2419|    446|    if (co->co_extra != NULL) {
  ------------------
  |  Branch (2419:9): [True: 0, False: 446]
  ------------------
 2420|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 2421|      0|        _PyCodeObjectExtra *co_extra = co->co_extra;
 2422|       |
 2423|      0|        for (Py_ssize_t i = 0; i < co_extra->ce_size; i++) {
  ------------------
  |  Branch (2423:32): [True: 0, False: 0]
  ------------------
 2424|      0|            freefunc free_extra = interp->co_extra_freefuncs[i];
 2425|       |
 2426|      0|            if (free_extra != NULL) {
  ------------------
  |  Branch (2426:17): [True: 0, False: 0]
  ------------------
 2427|      0|                free_extra(co_extra->ce_extras[i]);
 2428|      0|            }
 2429|      0|        }
 2430|       |
 2431|      0|        PyMem_Free(co_extra);
 2432|      0|    }
 2433|       |#ifdef _Py_TIER2
 2434|       |    if (co->co_executors != NULL) {
 2435|       |        clear_executors(co);
 2436|       |    }
 2437|       |#endif
 2438|       |
 2439|    446|    Py_XDECREF(co->co_consts);
  ------------------
  |  |  621|    446|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    446|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    446|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2440|    446|    Py_XDECREF(co->co_names);
  ------------------
  |  |  621|    446|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    446|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    446|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2441|    446|    Py_XDECREF(co->co_localsplusnames);
  ------------------
  |  |  621|    446|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    446|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    446|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2442|    446|    Py_XDECREF(co->co_localspluskinds);
  ------------------
  |  |  621|    446|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    446|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    446|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2443|    446|    Py_XDECREF(co->co_filename);
  ------------------
  |  |  621|    446|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    446|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    446|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2444|    446|    Py_XDECREF(co->co_name);
  ------------------
  |  |  621|    446|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    446|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    446|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2445|    446|    Py_XDECREF(co->co_qualname);
  ------------------
  |  |  621|    446|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    446|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    446|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2446|    446|    Py_XDECREF(co->co_linetable);
  ------------------
  |  |  621|    446|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    446|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    446|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2447|    446|    Py_XDECREF(co->co_exceptiontable);
  ------------------
  |  |  621|    446|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    446|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    446|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2448|       |#ifdef Py_GIL_DISABLED
 2449|       |    assert(co->_co_unique_id == _Py_INVALID_UNIQUE_ID);
 2450|       |#endif
 2451|    446|    if (co->_co_cached != NULL) {
  ------------------
  |  Branch (2451:9): [True: 0, False: 446]
  ------------------
 2452|      0|        Py_XDECREF(co->_co_cached->_co_code);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2453|      0|        Py_XDECREF(co->_co_cached->_co_cellvars);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2454|      0|        Py_XDECREF(co->_co_cached->_co_freevars);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2455|      0|        Py_XDECREF(co->_co_cached->_co_varnames);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2456|      0|        PyMem_Free(co->_co_cached);
 2457|      0|    }
 2458|    446|    FT_CLEAR_WEAKREFS(self, co->co_weakreflist);
  ------------------
  |  |   47|    446|    do {                                            \
  |  |   48|    446|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|    446|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 446]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|    446|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 446]
  |  |  ------------------
  ------------------
  |  Branch (2458:5): [True: 446, False: 0]
  ------------------
 2459|    446|    free_monitoring_data(co->_co_monitoring);
 2460|       |#ifdef Py_GIL_DISABLED
 2461|       |    if (co->co_tlbc != NULL) {
 2462|       |        // The first element always points to the mutable bytecode at the end of
 2463|       |        // the code object, which will be freed when the code object is freed.
 2464|       |        for (Py_ssize_t i = 1; i < co->co_tlbc->size; i++) {
 2465|       |            char *entry = co->co_tlbc->entries[i];
 2466|       |            if (entry != NULL) {
 2467|       |                PyMem_Free(entry);
 2468|       |            }
 2469|       |        }
 2470|       |        PyMem_Free(co->co_tlbc);
 2471|       |    }
 2472|       |#endif
 2473|    446|    PyObject_Free(co);
 2474|    446|}
codeobject.c:free_monitoring_data:
 2380|    446|{
 2381|    446|    if (data == NULL) {
  ------------------
  |  Branch (2381:9): [True: 446, False: 0]
  ------------------
 2382|    446|        return;
 2383|    446|    }
 2384|      0|    if (data->tools) {
  ------------------
  |  Branch (2384:9): [True: 0, False: 0]
  ------------------
 2385|      0|        PyMem_Free(data->tools);
 2386|      0|    }
 2387|      0|    if (data->lines) {
  ------------------
  |  Branch (2387:9): [True: 0, False: 0]
  ------------------
 2388|      0|        PyMem_Free(data->lines);
 2389|      0|    }
 2390|      0|    if (data->line_tools) {
  ------------------
  |  Branch (2390:9): [True: 0, False: 0]
  ------------------
 2391|      0|        PyMem_Free(data->line_tools);
 2392|      0|    }
 2393|      0|    if (data->per_instruction_opcodes) {
  ------------------
  |  Branch (2393:9): [True: 0, False: 0]
  ------------------
 2394|      0|        PyMem_Free(data->per_instruction_opcodes);
 2395|      0|    }
 2396|      0|    if (data->per_instruction_tools) {
  ------------------
  |  Branch (2396:9): [True: 0, False: 0]
  ------------------
 2397|      0|        PyMem_Free(data->per_instruction_tools);
 2398|      0|    }
 2399|      0|    PyMem_Free(data);
 2400|      0|}
codeobject.c:code_hash:
 2597|     10|{
 2598|     10|    PyCodeObject *co = _PyCodeObject_CAST(self);
  ------------------
  |  |  114|     10|#define _PyCodeObject_CAST(op)  (assert(PyCode_Check(op)), (PyCodeObject *)(op))
  ------------------
  |  Branch (2598:24): [True: 10, False: 0]
  ------------------
 2599|      0|    Py_uhash_t uhash = 20221211;
 2600|     10|    #define SCRAMBLE_IN(H) do {       \
 2601|     10|        uhash ^= (Py_uhash_t)(H);     \
 2602|     10|        uhash *= PyHASH_MULTIPLIER;  \
 2603|     10|    } while (0)
 2604|     10|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
 2605|     10|        Py_hash_t h = PyObject_Hash(EXPR);  \
 2606|     10|        if (h == -1) {                      \
 2607|     10|            return -1;                      \
 2608|     10|        }                                   \
 2609|     10|        SCRAMBLE_IN(h);                     \
 2610|     10|    } while (0)
 2611|       |
 2612|     10|    SCRAMBLE_IN_HASH(co->co_name);
  ------------------
  |  | 2604|     10|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2605|     10|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2606|     10|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2606:13): [True: 0, False: 10]
  |  |  ------------------
  |  | 2607|      0|            return -1;                      \
  |  | 2608|      0|        }                                   \
  |  | 2609|     10|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2600|     10|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2601|     10|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2602|     10|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|     10|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2603|     10|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2603:14): [Folded, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2610|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2610:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
 2613|     10|    SCRAMBLE_IN_HASH(co->co_consts);
  ------------------
  |  | 2604|     10|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2605|     10|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2606|     10|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2606:13): [True: 0, False: 10]
  |  |  ------------------
  |  | 2607|      0|            return -1;                      \
  |  | 2608|      0|        }                                   \
  |  | 2609|     10|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2600|     10|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2601|     10|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2602|     10|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|     10|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2603|     10|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2603:14): [Folded, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2610|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2610:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
 2614|     10|    SCRAMBLE_IN_HASH(co->co_names);
  ------------------
  |  | 2604|     10|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2605|     10|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2606|     10|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2606:13): [True: 0, False: 10]
  |  |  ------------------
  |  | 2607|      0|            return -1;                      \
  |  | 2608|      0|        }                                   \
  |  | 2609|     10|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2600|     10|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2601|     10|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2602|     10|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|     10|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2603|     10|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2603:14): [Folded, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2610|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2610:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
 2615|     10|    SCRAMBLE_IN_HASH(co->co_localsplusnames);
  ------------------
  |  | 2604|     10|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2605|     10|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2606|     10|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2606:13): [True: 0, False: 10]
  |  |  ------------------
  |  | 2607|      0|            return -1;                      \
  |  | 2608|      0|        }                                   \
  |  | 2609|     10|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2600|     10|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2601|     10|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2602|     10|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|     10|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2603|     10|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2603:14): [Folded, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2610|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2610:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
 2616|     10|    SCRAMBLE_IN_HASH(co->co_linetable);
  ------------------
  |  | 2604|     10|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2605|     10|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2606|     10|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2606:13): [True: 0, False: 10]
  |  |  ------------------
  |  | 2607|      0|            return -1;                      \
  |  | 2608|      0|        }                                   \
  |  | 2609|     10|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2600|     10|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2601|     10|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2602|     10|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|     10|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2603|     10|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2603:14): [Folded, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2610|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2610:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
 2617|     10|    SCRAMBLE_IN_HASH(co->co_exceptiontable);
  ------------------
  |  | 2604|     10|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2605|     10|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2606|     10|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2606:13): [True: 0, False: 10]
  |  |  ------------------
  |  | 2607|      0|            return -1;                      \
  |  | 2608|      0|        }                                   \
  |  | 2609|     10|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2600|     10|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2601|     10|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2602|     10|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|     10|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2603|     10|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2603:14): [Folded, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2610|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2610:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
 2618|     10|    SCRAMBLE_IN(co->co_argcount);
  ------------------
  |  | 2600|     10|    #define SCRAMBLE_IN(H) do {       \
  |  | 2601|     10|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2602|     10|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|     10|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2603|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2603:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
 2619|     10|    SCRAMBLE_IN(co->co_posonlyargcount);
  ------------------
  |  | 2600|     10|    #define SCRAMBLE_IN(H) do {       \
  |  | 2601|     10|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2602|     10|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|     10|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2603|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2603:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
 2620|     10|    SCRAMBLE_IN(co->co_kwonlyargcount);
  ------------------
  |  | 2600|     10|    #define SCRAMBLE_IN(H) do {       \
  |  | 2601|     10|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2602|     10|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|     10|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2603|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2603:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
 2621|     10|    SCRAMBLE_IN(co->co_flags);
  ------------------
  |  | 2600|     10|    #define SCRAMBLE_IN(H) do {       \
  |  | 2601|     10|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2602|     10|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|     10|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2603|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2603:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
 2622|     10|    SCRAMBLE_IN(co->co_firstlineno);
  ------------------
  |  | 2600|     10|    #define SCRAMBLE_IN(H) do {       \
  |  | 2601|     10|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2602|     10|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|     10|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2603|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2603:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
 2623|     10|    SCRAMBLE_IN(Py_SIZE(co));
  ------------------
  |  | 2600|     10|    #define SCRAMBLE_IN(H) do {       \
  |  | 2601|     10|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2602|     10|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|     10|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2603|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2603:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
 2624|     90|    for (int i = 0; i < Py_SIZE(co); i++) {
  ------------------
  |  |  214|     90|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2624:21): [True: 80, False: 10]
  ------------------
 2625|     80|        _Py_CODEUNIT co_instr = _Py_GetBaseCodeUnit(co, i);
 2626|     80|        SCRAMBLE_IN(co_instr.op.code);
  ------------------
  |  | 2600|     80|    #define SCRAMBLE_IN(H) do {       \
  |  | 2601|     80|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2602|     80|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|     80|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2603|     80|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2603:14): [Folded, False: 80]
  |  |  ------------------
  ------------------
 2627|     80|        SCRAMBLE_IN(co_instr.op.arg);
  ------------------
  |  | 2600|     80|    #define SCRAMBLE_IN(H) do {       \
  |  | 2601|     80|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2602|     80|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|     80|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2603|     80|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2603:14): [Folded, False: 80]
  |  |  ------------------
  ------------------
 2628|     80|        i += _PyOpcode_Caches[co_instr.op.code];
 2629|     80|    }
 2630|     10|    if ((Py_hash_t)uhash == -1) {
  ------------------
  |  Branch (2630:9): [True: 0, False: 10]
  ------------------
 2631|      0|        return -2;
 2632|      0|    }
 2633|     10|    return (Py_hash_t)uhash;
 2634|     10|}

PyDescr_NewMethod:
  938|  1.63k|{
  939|       |    /* Figure out correct vectorcall function to use */
  940|  1.63k|    vectorcallfunc vectorcall;
  941|  1.63k|    switch (method->ml_flags & _Py_METH_CALL_FLAGS)
  ------------------
  |  |   17|  1.63k|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |   95|  1.63k|#define METH_VARARGS  0x0001
  |  |  ------------------
  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |  115|  1.63k|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |   98|  1.63k|#define METH_NOARGS   0x0004
  |  |  ------------------
  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |   99|  1.63k|#define METH_O        0x0008
  |  |  ------------------
  |  |   18|  1.63k|     METH_KEYWORDS | METH_METHOD)
  |  |  ------------------
  |  |  |  |   96|  1.63k|#define METH_KEYWORDS 0x0002
  |  |  ------------------
  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  ------------------
  |  |  |  |  133|  1.63k|#define METH_METHOD 0x0200
  |  |  ------------------
  ------------------
  942|  1.63k|    {
  943|      2|        case METH_VARARGS:
  ------------------
  |  |   95|      2|#define METH_VARARGS  0x0001
  ------------------
  |  Branch (943:9): [True: 2, False: 1.63k]
  ------------------
  944|      2|            vectorcall = method_vectorcall_VARARGS;
  945|      2|            break;
  946|     43|        case METH_VARARGS | METH_KEYWORDS:
  ------------------
  |  |   95|     43|#define METH_VARARGS  0x0001
  ------------------
                      case METH_VARARGS | METH_KEYWORDS:
  ------------------
  |  |   96|     43|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (946:9): [True: 43, False: 1.58k]
  ------------------
  947|     43|            vectorcall = method_vectorcall_VARARGS_KEYWORDS;
  948|     43|            break;
  949|    255|        case METH_FASTCALL:
  ------------------
  |  |  115|    255|#  define METH_FASTCALL  0x0080
  ------------------
  |  Branch (949:9): [True: 255, False: 1.37k]
  ------------------
  950|    255|            vectorcall = method_vectorcall_FASTCALL;
  951|    255|            break;
  952|    113|        case METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  115|    113|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |   96|    113|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (952:9): [True: 113, False: 1.51k]
  ------------------
  953|    113|            vectorcall = method_vectorcall_FASTCALL_KEYWORDS;
  954|    113|            break;
  955|    840|        case METH_NOARGS:
  ------------------
  |  |   98|    840|#define METH_NOARGS   0x0004
  ------------------
  |  Branch (955:9): [True: 840, False: 792]
  ------------------
  956|    840|            vectorcall = method_vectorcall_NOARGS;
  957|    840|            break;
  958|    318|        case METH_O:
  ------------------
  |  |   99|    318|#define METH_O        0x0008
  ------------------
  |  Branch (958:9): [True: 318, False: 1.31k]
  ------------------
  959|    318|            vectorcall = method_vectorcall_O;
  960|    318|            break;
  961|     61|        case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  133|     61|#define METH_METHOD 0x0200
  ------------------
                      case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  115|     61|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |   96|     61|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (961:9): [True: 61, False: 1.57k]
  ------------------
  962|     61|            vectorcall = method_vectorcall_FASTCALL_KEYWORDS_METHOD;
  963|     61|            break;
  964|      0|        default:
  ------------------
  |  Branch (964:9): [True: 0, False: 1.63k]
  ------------------
  965|      0|            PyErr_Format(PyExc_SystemError,
  966|      0|                         "%s() method: bad call flags", method->ml_name);
  967|      0|            return NULL;
  968|  1.63k|    }
  969|       |
  970|  1.63k|    PyMethodDescrObject *descr;
  971|       |
  972|  1.63k|    descr = (PyMethodDescrObject *)descr_new(&PyMethodDescr_Type,
  973|  1.63k|                                             type, method->ml_name);
  974|  1.63k|    if (descr != NULL) {
  ------------------
  |  Branch (974:9): [True: 1.63k, False: 0]
  ------------------
  975|  1.63k|        descr->d_method = method;
  976|  1.63k|        descr->vectorcall = vectorcall;
  977|  1.63k|    }
  978|  1.63k|    return (PyObject *)descr;
  979|  1.63k|}
PyDescr_NewClassMethod:
  983|    115|{
  984|    115|    PyMethodDescrObject *descr;
  985|       |
  986|    115|    descr = (PyMethodDescrObject *)descr_new(&PyClassMethodDescr_Type,
  987|    115|                                             type, method->ml_name);
  988|    115|    if (descr != NULL)
  ------------------
  |  Branch (988:9): [True: 115, False: 0]
  ------------------
  989|    115|        descr->d_method = method;
  990|    115|    return (PyObject *)descr;
  991|    115|}
PyDescr_NewMember:
  995|    689|{
  996|    689|    PyMemberDescrObject *descr;
  997|       |
  998|    689|    if (member->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    689|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (998:9): [True: 0, False: 689]
  ------------------
  999|      0|        PyErr_SetString(
 1000|      0|            PyExc_SystemError,
 1001|      0|            "PyDescr_NewMember used with Py_RELATIVE_OFFSET");
 1002|      0|        return NULL;
 1003|      0|    }
 1004|    689|    descr = (PyMemberDescrObject *)descr_new(&PyMemberDescr_Type,
 1005|    689|                                             type, member->name);
 1006|    689|    if (descr != NULL)
  ------------------
  |  Branch (1006:9): [True: 689, False: 0]
  ------------------
 1007|    689|        descr->d_member = member;
 1008|    689|    return (PyObject *)descr;
 1009|    689|}
PyDescr_NewGetSet:
 1013|    458|{
 1014|    458|    PyGetSetDescrObject *descr;
 1015|       |
 1016|    458|    descr = (PyGetSetDescrObject *)descr_new(&PyGetSetDescr_Type,
 1017|    458|                                             type, getset->name);
 1018|    458|    if (descr != NULL)
  ------------------
  |  Branch (1018:9): [True: 458, False: 0]
  ------------------
 1019|    458|        descr->d_getset = getset;
 1020|    458|    return (PyObject *)descr;
 1021|    458|}
PyDescr_NewWrapper:
 1025|  2.18k|{
 1026|  2.18k|    PyWrapperDescrObject *descr;
 1027|       |
 1028|  2.18k|    descr = (PyWrapperDescrObject *)descr_new(&PyWrapperDescr_Type,
 1029|  2.18k|                                             type, base->name);
 1030|  2.18k|    if (descr != NULL) {
  ------------------
  |  Branch (1030:9): [True: 2.18k, False: 0]
  ------------------
 1031|  2.18k|        descr->d_base = base;
 1032|  2.18k|        descr->d_wrapped = wrapped;
 1033|  2.18k|    }
 1034|  2.18k|    return (PyObject *)descr;
 1035|  2.18k|}
PyDescr_IsData:
 1039|  3.39k|{
 1040|  3.39k|    return Py_TYPE(ob)->tp_descr_set != NULL;
  ------------------
  |  |  213|  3.39k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1041|  3.39k|}
PyDictProxy_New:
 1288|    382|{
 1289|    382|    mappingproxyobject *pp;
 1290|       |
 1291|    382|    if (mappingproxy_check_mapping(mapping) == -1)
  ------------------
  |  Branch (1291:9): [True: 0, False: 382]
  ------------------
 1292|      0|        return NULL;
 1293|       |
 1294|    382|    pp = PyObject_GC_New(mappingproxyobject, &PyDictProxy_Type);
  ------------------
  |  |  181|    382|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    382|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1295|    382|    if (pp != NULL) {
  ------------------
  |  Branch (1295:9): [True: 382, False: 0]
  ------------------
 1296|    382|        pp->mapping = Py_NewRef(mapping);
  ------------------
  |  |  647|    382|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    382|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    382|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1297|    382|        _PyObject_GC_TRACK(pp);
  ------------------
  |  |  502|    382|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    382|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    382|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1298|    382|    }
 1299|    382|    return (PyObject *)pp;
 1300|    382|}
PyWrapper_New:
 1512|    103|{
 1513|    103|    wrapperobject *wp;
 1514|    103|    PyWrapperDescrObject *descr;
 1515|       |
 1516|    103|    assert(PyObject_TypeCheck(d, &PyWrapperDescr_Type));
  ------------------
  |  Branch (1516:5): [True: 103, False: 0]
  ------------------
 1517|    103|    descr = (PyWrapperDescrObject *)d;
 1518|    103|    assert(_PyObject_RealIsSubclass((PyObject *)Py_TYPE(self),
  ------------------
  |  Branch (1518:5): [True: 103, False: 0]
  ------------------
 1519|    103|                                    (PyObject *)PyDescr_TYPE(descr)));
 1520|       |
 1521|    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))
  |  |  ------------------
  ------------------
 1522|    103|    if (wp != NULL) {
  ------------------
  |  Branch (1522:9): [True: 103, False: 0]
  ------------------
 1523|    103|        wp->descr = (PyWrapperDescrObject*)Py_NewRef(descr);
  ------------------
  |  |  647|    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|        wp->self = Py_NewRef(self);
  ------------------
  |  |  647|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1525|    103|        _PyObject_GC_TRACK(wp);
  ------------------
  |  |  502|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1526|    103|    }
 1527|    103|    return (PyObject *)wp;
 1528|    103|}
descrobject.c:descr_dealloc:
   26|     79|{
   27|     79|    PyDescrObject *descr = (PyDescrObject *)self;
   28|     79|    _PyObject_GC_UNTRACK(descr);
  ------------------
  |  |  504|     79|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   29|     79|    Py_XDECREF(descr->d_type);
  ------------------
  |  |  621|     79|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   30|     79|    Py_XDECREF(descr->d_name);
  ------------------
  |  |  621|     79|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   31|     79|    Py_XDECREF(descr->d_qualname);
  ------------------
  |  |  621|     79|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|     79|    PyObject_GC_Del(descr);
   33|     79|}
descrobject.c:descr_traverse:
  721|  9.85k|{
  722|  9.85k|    PyDescrObject *descr = (PyDescrObject *)self;
  723|  9.85k|    Py_VISIT(descr->d_type);
  ------------------
  |  |  194|  9.85k|    do {                                                                \
  |  |  195|  9.85k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 9.85k, False: 0]
  |  |  ------------------
  |  |  196|  9.85k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  9.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  9.85k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 9.85k]
  |  |  ------------------
  |  |  198|  9.85k|                return vret;                                            \
  |  |  199|  9.85k|        }                                                               \
  |  |  200|  9.85k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 9.85k]
  |  |  ------------------
  ------------------
  724|  9.85k|    return 0;
  725|  9.85k|}
descrobject.c:method_get:
  141|    357|{
  142|    357|    PyMethodDescrObject *descr = (PyMethodDescrObject *)self;
  143|    357|    if (obj == NULL) {
  ------------------
  |  Branch (143:9): [True: 63, False: 294]
  ------------------
  144|     63|        return Py_NewRef(descr);
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  145|     63|    }
  146|    294|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (146:9): [True: 0, False: 294]
  ------------------
  147|      0|        return NULL;
  148|      0|    }
  149|    294|    if (descr->d_method->ml_flags & METH_METHOD) {
  ------------------
  |  |  133|    294|#define METH_METHOD 0x0200
  ------------------
  |  Branch (149:9): [True: 31, False: 263]
  ------------------
  150|     31|        if (type == NULL || PyType_Check(type)) {
  ------------------
  |  |  766|     31|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 31, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (150:13): [True: 0, False: 31]
  ------------------
  151|     31|            return PyCMethod_New(descr->d_method, obj, NULL, descr->d_common.d_type);
  152|     31|        } else {
  153|      0|            PyErr_Format(PyExc_TypeError,
  154|      0|                        "descriptor '%V' needs a type, not '%s', as arg 2",
  155|      0|                        descr_name((PyDescrObject *)descr), "?",
  156|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  157|      0|            return NULL;
  158|      0|        }
  159|    263|    } else {
  160|       |        return PyCFunction_NewEx(descr->d_method, obj, NULL);
  ------------------
  |  |   87|    263|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  161|    263|    }
  162|    294|}
descrobject.c:descr_check:
   83|  4.26k|{
   84|  4.26k|    if (!PyObject_TypeCheck(obj, descr->d_type)) {
  ------------------
  |  |  378|  4.26k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  4.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (84:9): [True: 0, False: 4.26k]
  ------------------
   85|      0|        PyErr_Format(PyExc_TypeError,
   86|      0|                     "descriptor '%V' for '%.100s' objects "
   87|      0|                     "doesn't apply to a '%.100s' object",
   88|      0|                     descr_name((PyDescrObject *)descr), "?",
   89|      0|                     descr->d_type->tp_name,
   90|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   91|      0|        return -1;
   92|      0|    }
   93|  4.26k|    return 0;
   94|  4.26k|}
descrobject.c:classmethod_get:
   98|    708|{
   99|    708|    PyMethodDescrObject *descr = (PyMethodDescrObject *)self;
  100|       |    /* Ensure a valid type.  Class methods ignore obj. */
  101|    708|    if (type == NULL) {
  ------------------
  |  Branch (101:9): [True: 0, False: 708]
  ------------------
  102|      0|        if (obj != NULL)
  ------------------
  |  Branch (102:13): [True: 0, False: 0]
  ------------------
  103|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  104|      0|        else {
  105|       |            /* Wot - no type?! */
  106|      0|            PyErr_Format(PyExc_TypeError,
  107|      0|                         "descriptor '%V' for type '%.100s' "
  108|      0|                         "needs either an object or a type",
  109|      0|                         descr_name((PyDescrObject *)descr), "?",
  110|      0|                         PyDescr_TYPE(descr)->tp_name);
  ------------------
  |  |   35|      0|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  111|      0|            return NULL;
  112|      0|        }
  113|      0|    }
  114|    708|    if (!PyType_Check(type)) {
  ------------------
  |  |  766|    708|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    708|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    708|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (114:9): [True: 0, False: 708]
  ------------------
  115|      0|        PyErr_Format(PyExc_TypeError,
  116|      0|                     "descriptor '%V' for type '%.100s' "
  117|      0|                     "needs a type, not a '%.100s' as arg 2",
  118|      0|                     descr_name((PyDescrObject *)descr), "?",
  119|      0|                     PyDescr_TYPE(descr)->tp_name,
  ------------------
  |  |   35|      0|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  120|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  121|      0|        return NULL;
  122|      0|    }
  123|    708|    if (!PyType_IsSubtype((PyTypeObject *)type, PyDescr_TYPE(descr))) {
  ------------------
  |  |   35|    708|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  |  Branch (123:9): [True: 0, False: 708]
  ------------------
  124|      0|        PyErr_Format(PyExc_TypeError,
  125|      0|                     "descriptor '%V' requires a subtype of '%.100s' "
  126|      0|                     "but received '%.100s'",
  127|      0|                     descr_name((PyDescrObject *)descr), "?",
  128|      0|                     PyDescr_TYPE(descr)->tp_name,
  ------------------
  |  |   35|      0|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  129|      0|                     ((PyTypeObject *)type)->tp_name);
  130|      0|        return NULL;
  131|      0|    }
  132|    708|    PyTypeObject *cls = NULL;
  133|    708|    if (descr->d_method->ml_flags & METH_METHOD) {
  ------------------
  |  |  133|    708|#define METH_METHOD 0x0200
  ------------------
  |  Branch (133:9): [True: 0, False: 708]
  ------------------
  134|      0|        cls = descr->d_common.d_type;
  135|      0|    }
  136|       |    return PyCMethod_New(descr->d_method, type, NULL, cls);
  137|    708|}
descrobject.c:member_get:
  166|    138|{
  167|    138|    PyMemberDescrObject *descr = (PyMemberDescrObject *)self;
  168|    138|    if (obj == NULL) {
  ------------------
  |  Branch (168:9): [True: 0, False: 138]
  ------------------
  169|      0|        return Py_NewRef(descr);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  170|      0|    }
  171|    138|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (171:9): [True: 0, False: 138]
  ------------------
  172|      0|        return NULL;
  173|      0|    }
  174|       |
  175|    138|    if (descr->d_member->flags & Py_AUDIT_READ) {
  ------------------
  |  |   84|    138|#define Py_AUDIT_READ          (1 << 1) // Added in 3.10, harmless no-op before that
  ------------------
  |  Branch (175:9): [True: 0, False: 138]
  ------------------
  176|      0|        if (PySys_Audit("object.__getattr__", "Os",
  ------------------
  |  Branch (176:13): [True: 0, False: 0]
  ------------------
  177|      0|            obj ? obj : Py_None, descr->d_member->name) < 0) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (177:13): [True: 0, False: 0]
  ------------------
  178|      0|            return NULL;
  179|      0|        }
  180|      0|    }
  181|       |
  182|    138|    return PyMember_GetOne((char *)obj, descr->d_member);
  183|    138|}
descrobject.c:member_set:
  236|    112|{
  237|    112|    PyMemberDescrObject *descr = (PyMemberDescrObject *)self;
  238|    112|    if (descr_setcheck((PyDescrObject *)descr, obj, value) < 0) {
  ------------------
  |  Branch (238:9): [True: 0, False: 112]
  ------------------
  239|      0|        return -1;
  240|      0|    }
  241|    112|    return PyMember_SetOne((char *)obj, descr->d_member, value);
  242|    112|}
descrobject.c:descr_setcheck:
  220|    416|{
  221|    416|    assert(obj != NULL);
  ------------------
  |  Branch (221:5): [True: 416, False: 0]
  ------------------
  222|    416|    if (!PyObject_TypeCheck(obj, descr->d_type)) {
  ------------------
  |  |  378|    416|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    416|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    416|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (222:9): [True: 0, False: 416]
  ------------------
  223|      0|        PyErr_Format(PyExc_TypeError,
  224|      0|                     "descriptor '%V' for '%.100s' objects "
  225|      0|                     "doesn't apply to a '%.100s' object",
  226|      0|                     descr_name(descr), "?",
  227|      0|                     descr->d_type->tp_name,
  228|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  229|      0|        return -1;
  230|      0|    }
  231|    416|    return 0;
  232|    416|}
descrobject.c:getset_get:
  187|  2.19k|{
  188|  2.19k|    PyGetSetDescrObject *descr = (PyGetSetDescrObject *)self;
  189|  2.19k|    if (obj == NULL) {
  ------------------
  |  Branch (189:9): [True: 0, False: 2.19k]
  ------------------
  190|      0|        return Py_NewRef(descr);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|      0|    }
  192|  2.19k|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (192:9): [True: 0, False: 2.19k]
  ------------------
  193|      0|        return NULL;
  194|      0|    }
  195|  2.19k|    if (descr->d_getset->get != NULL)
  ------------------
  |  Branch (195:9): [True: 2.19k, False: 0]
  ------------------
  196|  2.19k|        return descr_get_trampoline_call(
  ------------------
  |  |   70|  2.19k|    (get)((obj), (closure))
  ------------------
  197|  2.19k|            descr->d_getset->get, obj, descr->d_getset->closure);
  198|      0|    PyErr_Format(PyExc_AttributeError,
  199|      0|                 "attribute '%V' of '%.100s' objects is not readable",
  200|      0|                 descr_name((PyDescrObject *)descr), "?",
  201|      0|                 PyDescr_TYPE(descr)->tp_name);
  ------------------
  |  |   35|      0|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  202|       |    return NULL;
  203|  2.19k|}
descrobject.c:getset_set:
  246|    304|{
  247|    304|    PyGetSetDescrObject *descr = (PyGetSetDescrObject *)self;
  248|    304|    if (descr_setcheck((PyDescrObject *)descr, obj, value) < 0) {
  ------------------
  |  Branch (248:9): [True: 0, False: 304]
  ------------------
  249|      0|        return -1;
  250|      0|    }
  251|    304|    if (descr->d_getset->set != NULL) {
  ------------------
  |  Branch (251:9): [True: 304, False: 0]
  ------------------
  252|    304|        return descr_set_trampoline_call(
  ------------------
  |  |   67|    304|    (set)((obj), (value), (closure))
  ------------------
  253|    304|            descr->d_getset->set, obj, value,
  254|    304|            descr->d_getset->closure);
  255|    304|    }
  256|      0|    PyErr_Format(PyExc_AttributeError,
  257|      0|                 "attribute '%V' of '%.100s' objects is not writable",
  258|      0|                 descr_name((PyDescrObject *)descr), "?",
  259|      0|                 PyDescr_TYPE(descr)->tp_name);
  ------------------
  |  |   35|      0|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  260|      0|    return -1;
  261|    304|}
descrobject.c:wrapperdescr_call:
  539|    212|{
  540|    212|    PyWrapperDescrObject *descr = (PyWrapperDescrObject *)_descr;
  541|    212|    Py_ssize_t argc;
  542|    212|    PyObject *self, *result;
  543|       |
  544|       |    /* Make sure that the first argument is acceptable as 'self' */
  545|    212|    assert(PyTuple_Check(args));
  ------------------
  |  Branch (545:5): [True: 212, False: 0]
  ------------------
  546|    212|    argc = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    212|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    212|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    212|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  547|    212|    if (argc < 1) {
  ------------------
  |  Branch (547:9): [True: 0, False: 212]
  ------------------
  548|      0|        PyErr_Format(PyExc_TypeError,
  549|      0|                     "descriptor '%V' of '%.100s' "
  550|      0|                     "object needs an argument",
  551|      0|                     descr_name((PyDescrObject *)descr), "?",
  552|      0|                     PyDescr_TYPE(descr)->tp_name);
  ------------------
  |  |   35|      0|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  553|      0|        return NULL;
  554|      0|    }
  555|    212|    self = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|    212|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    212|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    212|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (555:12): [True: 212, False: 0]
  ------------------
  556|    212|    if (!_PyObject_RealIsSubclass((PyObject *)Py_TYPE(self),
  ------------------
  |  |  213|    212|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    212|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    212|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (556:9): [True: 0, False: 212]
  ------------------
  557|    212|                                  (PyObject *)PyDescr_TYPE(descr))) {
  ------------------
  |  |   35|    212|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  558|      0|        PyErr_Format(PyExc_TypeError,
  559|      0|                     "descriptor '%V' "
  560|      0|                     "requires a '%.100s' object "
  561|      0|                     "but received a '%.100s'",
  562|      0|                     descr_name((PyDescrObject *)descr), "?",
  563|      0|                     PyDescr_TYPE(descr)->tp_name,
  ------------------
  |  |   35|      0|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  564|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  565|      0|        return NULL;
  566|      0|    }
  567|       |
  568|    212|    args = PyTuple_GetSlice(args, 1, argc);
  569|    212|    if (args == NULL) {
  ------------------
  |  Branch (569:9): [True: 0, False: 212]
  ------------------
  570|      0|        return NULL;
  571|      0|    }
  572|    212|    result = wrapperdescr_raw_call(descr, self, args, kwds);
  573|    212|    Py_DECREF(args);
  ------------------
  |  |  430|    212|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    212|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    212|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  574|    212|    return result;
  575|    212|}
descrobject.c:wrapperdescr_raw_call:
  520|    314|{
  521|    314|    wrapperfunc wrapper = descr->d_base->wrapper;
  522|       |
  523|    314|    if (descr->d_base->flags & PyWrapperFlag_KEYWORDS) {
  ------------------
  |  |   22|    314|#define PyWrapperFlag_KEYWORDS 1 /* wrapper function takes keyword args */
  ------------------
  |  Branch (523:9): [True: 135, False: 179]
  ------------------
  524|    135|        wrapperfunc_kwds wk = _Py_FUNC_CAST(wrapperfunc_kwds, wrapper);
  ------------------
  |  |   47|    135|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  ------------------
  |  |  |  |   37|    135|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  525|    135|        return (*wk)(self, args, descr->d_wrapped, kwds);
  526|    135|    }
  527|       |
  528|    179|    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 (528:9): [True: 0, False: 179]
  |  Branch (528:26): [True: 0, False: 0]
  |  Branch (528:49): [True: 0, False: 0]
  ------------------
  529|      0|        PyErr_Format(PyExc_TypeError,
  530|      0|                     "wrapper %s() takes no keyword arguments",
  531|      0|                     descr->d_base->name);
  532|      0|        return NULL;
  533|      0|    }
  534|    179|    return (*wrapper)(self, args, descr->d_wrapped);
  535|    179|}
descrobject.c:wrapperdescr_get:
  207|    155|{
  208|    155|    PyWrapperDescrObject *descr = (PyWrapperDescrObject *)self;
  209|    155|    if (obj == NULL) {
  ------------------
  |  Branch (209:9): [True: 52, False: 103]
  ------------------
  210|     52|        return Py_NewRef(descr);
  ------------------
  |  |  647|     52|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  211|     52|    }
  212|    103|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (212:9): [True: 0, False: 103]
  ------------------
  213|      0|        return NULL;
  214|      0|    }
  215|    103|    return PyWrapper_New((PyObject *)descr, obj);
  216|    103|}
descrobject.c:method_check_args:
  270|  1.53k|{
  271|  1.53k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (271:5): [True: 1.53k, False: 0]
  ------------------
  272|  1.53k|    if (nargs < 1) {
  ------------------
  |  Branch (272:9): [True: 0, False: 1.53k]
  ------------------
  273|      0|        PyObject *funcstr = _PyObject_FunctionStr(func);
  274|      0|        if (funcstr != NULL) {
  ------------------
  |  Branch (274:13): [True: 0, False: 0]
  ------------------
  275|      0|            PyErr_Format(PyExc_TypeError,
  276|      0|                         "unbound method %U needs an argument", funcstr);
  277|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  278|      0|        }
  279|      0|        return -1;
  280|      0|    }
  281|  1.53k|    PyObject *self = args[0];
  282|  1.53k|    if (descr_check((PyDescrObject *)func, self) < 0) {
  ------------------
  |  Branch (282:9): [True: 0, False: 1.53k]
  ------------------
  283|      0|        return -1;
  284|      0|    }
  285|  1.53k|    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 (285:9): [True: 0, False: 1.53k]
  ------------------
  286|      0|        PyObject *funcstr = _PyObject_FunctionStr(func);
  287|      0|        if (funcstr != NULL) {
  ------------------
  |  Branch (287:13): [True: 0, False: 0]
  ------------------
  288|      0|            PyErr_Format(PyExc_TypeError,
  289|      0|                         "%U takes no keyword arguments", funcstr);
  290|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  291|      0|        }
  292|      0|        return -1;
  293|      0|    }
  294|  1.53k|    return 0;
  295|  1.53k|}
descrobject.c:method_enter_call:
  301|  1.53k|{
  302|  1.53k|    if (_Py_EnterRecursiveCallTstate(tstate, " while calling a Python object")) {
  ------------------
  |  Branch (302:9): [True: 0, False: 1.53k]
  ------------------
  303|      0|        return NULL;
  304|      0|    }
  305|  1.53k|    return (funcptr)((PyMethodDescrObject *)func)->d_method->ml_meth;
  306|  1.53k|}
descrobject.c:method_vectorcall_VARARGS_KEYWORDS:
  337|     31|{
  338|     31|    PyThreadState *tstate = _PyThreadState_GET();
  339|     31|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     31|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  340|     31|    if (method_check_args(func, args, nargs, NULL)) {
  ------------------
  |  Branch (340:9): [True: 0, False: 31]
  ------------------
  341|      0|        return NULL;
  342|      0|    }
  343|     31|    PyObject *argstuple = PyTuple_FromArray(args+1, nargs-1);
  344|     31|    if (argstuple == NULL) {
  ------------------
  |  Branch (344:9): [True: 0, False: 31]
  ------------------
  345|      0|        return NULL;
  346|      0|    }
  347|     31|    PyObject *result = NULL;
  348|       |    /* Create a temporary dict for keyword arguments */
  349|     31|    PyObject *kwdict = NULL;
  350|     31|    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 (350:9): [True: 0, False: 31]
  |  Branch (350:28): [True: 0, False: 0]
  ------------------
  351|      0|        kwdict = _PyStack_AsDict(args + nargs, kwnames);
  352|      0|        if (kwdict == NULL) {
  ------------------
  |  Branch (352:13): [True: 0, False: 0]
  ------------------
  353|      0|            goto exit;
  354|      0|        }
  355|      0|    }
  356|     31|    PyCFunctionWithKeywords meth = (PyCFunctionWithKeywords)
  357|     31|                                   method_enter_call(tstate, func);
  358|     31|    if (meth == NULL) {
  ------------------
  |  Branch (358:9): [True: 0, False: 31]
  ------------------
  359|      0|        goto exit;
  360|      0|    }
  361|     31|    result = _PyCFunctionWithKeywords_TrampolineCall(
  ------------------
  |  |   64|     31|    (meth)((self), (args), (kw))
  ------------------
  362|     31|        meth, args[0], argstuple, kwdict);
  363|     31|    _Py_LeaveRecursiveCallTstate(tstate);
  364|     31|exit:
  365|     31|    Py_DECREF(argstuple);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  366|     31|    Py_XDECREF(kwdict);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  367|     31|    return result;
  368|     31|}
descrobject.c:method_vectorcall_FASTCALL:
  393|    306|{
  394|    306|    PyThreadState *tstate = _PyThreadState_GET();
  395|    306|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    306|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  396|    306|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (396:9): [True: 0, False: 306]
  ------------------
  397|      0|        return NULL;
  398|      0|    }
  399|    306|    PyCFunctionFast meth = (PyCFunctionFast)
  400|    306|                            method_enter_call(tstate, func);
  401|    306|    if (meth == NULL) {
  ------------------
  |  Branch (401:9): [True: 0, False: 306]
  ------------------
  402|      0|        return NULL;
  403|      0|    }
  404|    306|    PyObject *result = meth(args[0], args+1, nargs-1);
  405|    306|    _Py_LeaveRecursiveCallTstate(tstate);
  406|    306|    return result;
  407|    306|}
descrobject.c:method_vectorcall_FASTCALL_KEYWORDS:
  412|     49|{
  413|     49|    PyThreadState *tstate = _PyThreadState_GET();
  414|     49|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     49|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  415|     49|    if (method_check_args(func, args, nargs, NULL)) {
  ------------------
  |  Branch (415:9): [True: 0, False: 49]
  ------------------
  416|      0|        return NULL;
  417|      0|    }
  418|     49|    PyCFunctionFastWithKeywords meth = (PyCFunctionFastWithKeywords)
  419|     49|                                        method_enter_call(tstate, func);
  420|     49|    if (meth == NULL) {
  ------------------
  |  Branch (420:9): [True: 0, False: 49]
  ------------------
  421|      0|        return NULL;
  422|      0|    }
  423|     49|    PyObject *result = meth(args[0], args+1, nargs-1, kwnames);
  424|     49|    _Py_LeaveRecursiveCallTstate(tstate);
  425|     49|    return result;
  426|     49|}
descrobject.c:method_vectorcall_NOARGS:
  431|    643|{
  432|    643|    PyThreadState *tstate = _PyThreadState_GET();
  433|    643|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    643|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  434|    643|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (434:9): [True: 0, False: 643]
  ------------------
  435|      0|        return NULL;
  436|      0|    }
  437|    643|    if (nargs != 1) {
  ------------------
  |  Branch (437:9): [True: 0, False: 643]
  ------------------
  438|      0|        PyObject *funcstr = _PyObject_FunctionStr(func);
  439|      0|        if (funcstr != NULL) {
  ------------------
  |  Branch (439:13): [True: 0, False: 0]
  ------------------
  440|      0|            PyErr_Format(PyExc_TypeError,
  441|      0|                "%U takes no arguments (%zd given)", funcstr, nargs-1);
  442|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  443|      0|        }
  444|      0|        return NULL;
  445|      0|    }
  446|    643|    PyCFunction meth = (PyCFunction)method_enter_call(tstate, func);
  447|    643|    if (meth == NULL) {
  ------------------
  |  Branch (447:9): [True: 0, False: 643]
  ------------------
  448|      0|        return NULL;
  449|      0|    }
  450|    643|    PyObject *result = _PyCFunction_TrampolineCall(meth, args[0], NULL);
  ------------------
  |  |   61|    643|    (meth)((self), (args))
  ------------------
  451|    643|    _Py_LeaveRecursiveCallTstate(tstate);
  452|    643|    return result;
  453|    643|}
descrobject.c:method_vectorcall_O:
  458|    429|{
  459|    429|    PyThreadState *tstate = _PyThreadState_GET();
  460|    429|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    429|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  461|    429|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (461:9): [True: 0, False: 429]
  ------------------
  462|      0|        return NULL;
  463|      0|    }
  464|    429|    if (nargs != 2) {
  ------------------
  |  Branch (464:9): [True: 0, False: 429]
  ------------------
  465|      0|        PyObject *funcstr = _PyObject_FunctionStr(func);
  466|      0|        if (funcstr != NULL) {
  ------------------
  |  Branch (466:13): [True: 0, False: 0]
  ------------------
  467|      0|            PyErr_Format(PyExc_TypeError,
  468|      0|                "%U takes exactly one argument (%zd given)",
  469|      0|                funcstr, nargs-1);
  470|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  471|      0|        }
  472|      0|        return NULL;
  473|      0|    }
  474|    429|    PyCFunction meth = (PyCFunction)method_enter_call(tstate, func);
  475|    429|    if (meth == NULL) {
  ------------------
  |  Branch (475:9): [True: 0, False: 429]
  ------------------
  476|      0|        return NULL;
  477|      0|    }
  478|    429|    PyObject *result = _PyCFunction_TrampolineCall(meth, args[0], args[1]);
  ------------------
  |  |   61|    429|    (meth)((self), (args))
  ------------------
  479|    429|    _Py_LeaveRecursiveCallTstate(tstate);
  480|    429|    return result;
  481|    429|}
descrobject.c:method_vectorcall_FASTCALL_KEYWORDS_METHOD:
  373|     78|{
  374|     78|    PyThreadState *tstate = _PyThreadState_GET();
  375|     78|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     78|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  376|     78|    if (method_check_args(func, args, nargs, NULL)) {
  ------------------
  |  Branch (376:9): [True: 0, False: 78]
  ------------------
  377|      0|        return NULL;
  378|      0|    }
  379|     78|    PyCMethod meth = (PyCMethod) method_enter_call(tstate, func);
  380|     78|    if (meth == NULL) {
  ------------------
  |  Branch (380:9): [True: 0, False: 78]
  ------------------
  381|      0|        return NULL;
  382|      0|    }
  383|     78|    PyObject *result = meth(args[0],
  384|     78|                            ((PyMethodDescrObject *)func)->d_common.d_type,
  385|     78|                            args+1, nargs-1, kwnames);
  386|     78|    _Py_LeaveRecursiveCall();
  387|     78|    return result;
  388|     78|}
descrobject.c:descr_new:
  918|  5.07k|{
  919|  5.07k|    PyDescrObject *descr;
  920|       |
  921|  5.07k|    descr = (PyDescrObject *)PyType_GenericAlloc(descrtype, 0);
  922|  5.07k|    if (descr != NULL) {
  ------------------
  |  Branch (922:9): [True: 5.07k, False: 0]
  ------------------
  923|  5.07k|        _PyObject_SetDeferredRefcount((PyObject *)descr);
  924|  5.07k|        descr->d_type = (PyTypeObject*)Py_XNewRef(type);
  ------------------
  |  |  648|  5.07k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  925|  5.07k|        descr->d_name = PyUnicode_InternFromString(name);
  926|  5.07k|        if (descr->d_name == NULL) {
  ------------------
  |  Branch (926:13): [True: 0, False: 5.07k]
  ------------------
  927|      0|            Py_SETREF(descr, NULL);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  928|      0|        }
  929|  5.07k|        else {
  930|       |            descr->d_qualname = NULL;
  931|  5.07k|        }
  932|  5.07k|    }
  933|  5.07k|    return descr;
  934|  5.07k|}
descrobject.c:mappingproxy_check_mapping:
 1274|    382|{
 1275|    382|    if (!PyMapping_Check(mapping)
  ------------------
  |  Branch (1275:9): [True: 0, False: 382]
  ------------------
 1276|    382|        || PyList_Check(mapping)
  ------------------
  |  |   25|    382|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    764|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 382]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1277|    382|        || PyTuple_Check(mapping)) {
  ------------------
  |  |   27|    382|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    382|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 382]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1278|      0|        PyErr_Format(PyExc_TypeError,
 1279|      0|                    "mappingproxy() argument must be a mapping, not %s",
 1280|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1281|      0|        return -1;
 1282|      0|    }
 1283|    382|    return 0;
 1284|    382|}
descrobject.c:wrapper_dealloc:
 1334|    103|{
 1335|    103|    wrapperobject *wp = (wrapperobject *)self;
 1336|    103|    PyObject_GC_UnTrack(wp);
 1337|    103|    Py_XDECREF(wp->descr);
  ------------------
  |  |  621|    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|    Py_XDECREF(wp->self);
  ------------------
  |  |  621|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1339|    103|    PyObject_GC_Del(wp);
 1340|    103|}
descrobject.c:wrapper_call:
 1458|    102|{
 1459|    102|    wrapperobject *wp = (wrapperobject *)self;
 1460|    102|    return wrapperdescr_raw_call(wp->descr, wp->self, args, kwds);
 1461|    102|}
descrobject.c:mappingproxy_dealloc:
 1198|    382|{
 1199|    382|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1200|    382|    _PyObject_GC_UNTRACK(pp);
  ------------------
  |  |  504|    382|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    382|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    382|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1201|    382|    Py_DECREF(pp->mapping);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1202|    382|    PyObject_GC_Del(pp);
 1203|    382|}
descrobject.c:mappingproxy_contains:
 1099|     92|{
 1100|     92|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1101|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1102|     92|        return PyDict_Contains(pp->mapping, key);
 1103|      0|    else
 1104|      0|        return PySequence_Contains(pp->mapping, key);
 1105|     92|}
descrobject.c:mappingproxy_getitem:
 1062|    283|{
 1063|    283|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1064|    283|    return PyObject_GetItem(pp->mapping, key);
 1065|    283|}
descrobject.c:mappingproxy_get:
 1122|    124|{
 1123|    124|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1124|       |    /* newargs: mapping, key, default=None */
 1125|    124|    PyObject *newargs[3];
 1126|    124|    newargs[0] = pp->mapping;
 1127|    124|    newargs[2] = Py_None;
  ------------------
  |  |  616|    124|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1128|       |
 1129|    124|    if (!_PyArg_UnpackStack(args, nargs, "get", 1, 2,
  ------------------
  |  Branch (1129:9): [True: 0, False: 124]
  ------------------
 1130|    124|                            &newargs[1], &newargs[2]))
 1131|      0|    {
 1132|      0|        return NULL;
 1133|      0|    }
 1134|    124|    return PyObject_VectorcallMethod(&_Py_ID(get), newargs,
  ------------------
  |  |  951|    124|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    124|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    124|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1135|    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))
  |  |  ------------------
  ------------------
 1136|       |                                     NULL);
 1137|    124|}
descrobject.c:mappingproxy_keys:
 1141|      8|{
 1142|      8|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1143|      8|    return PyObject_CallMethodNoArgs(pp->mapping, &_Py_ID(keys));
  ------------------
  |  |  951|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1144|      8|}
descrobject.c:mappingproxy_items:
 1155|     73|{
 1156|     73|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1157|     73|    return PyObject_CallMethodNoArgs(pp->mapping, &_Py_ID(items));
  ------------------
  |  |  951|     73|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     73|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     73|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1158|     73|}
descrobject.c:mappingproxy_new_impl:
 1314|      1|{
 1315|      1|    return PyDictProxy_New(mapping);
 1316|      1|}
descrobject.c:property_dealloc:
 1653|      4|{
 1654|      4|    propertyobject *gs = (propertyobject *)self;
 1655|       |
 1656|      4|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1657|      4|    Py_XDECREF(gs->prop_get);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1658|      4|    Py_XDECREF(gs->prop_set);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1659|      4|    Py_XDECREF(gs->prop_del);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1660|      4|    Py_XDECREF(gs->prop_doc);
  ------------------
  |  |  621|      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_name);
  ------------------
  |  |  621|      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_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1663|      4|}
descrobject.c:property_traverse:
 1996|     40|{
 1997|     40|    propertyobject *pp = (propertyobject *)self;
 1998|     40|    Py_VISIT(pp->prop_get);
  ------------------
  |  |  194|     40|    do {                                                                \
  |  |  195|     40|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 40, False: 0]
  |  |  ------------------
  |  |  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|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
 1999|     40|    Py_VISIT(pp->prop_set);
  ------------------
  |  |  194|     40|    do {                                                                \
  |  |  195|     40|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 10, False: 30]
  |  |  ------------------
  |  |  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|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
 2000|     40|    Py_VISIT(pp->prop_del);
  ------------------
  |  |  194|     40|    do {                                                                \
  |  |  195|     40|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 40]
  |  |  ------------------
  |  |  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|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
 2001|     40|    Py_VISIT(pp->prop_doc);
  ------------------
  |  |  194|     40|    do {                                                                \
  |  |  195|     40|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8, False: 32]
  |  |  ------------------
  |  |  196|      8|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      8|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8]
  |  |  ------------------
  |  |  198|      8|                return vret;                                            \
  |  |  199|      8|        }                                                               \
  |  |  200|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
 2002|     40|    Py_VISIT(pp->prop_name);
  ------------------
  |  |  194|     40|    do {                                                                \
  |  |  195|     40|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 38, False: 2]
  |  |  ------------------
  |  |  196|     38|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     38|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 38]
  |  |  ------------------
  |  |  198|     38|                return vret;                                            \
  |  |  199|     38|        }                                                               \
  |  |  200|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
 2003|     40|    return 0;
 2004|     40|}
descrobject.c:property_copy:
 1782|      4|{
 1783|      4|    propertyobject *pold = (propertyobject *)old;
 1784|      4|    PyObject *new, *type, *doc;
 1785|       |
 1786|      4|    type = PyObject_Type(old);
 1787|      4|    if (type == NULL)
  ------------------
  |  Branch (1787:9): [True: 0, False: 4]
  ------------------
 1788|      0|        return NULL;
 1789|       |
 1790|      4|    if (get == NULL || get == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1790:9): [True: 4, False: 0]
  |  Branch (1790:24): [True: 0, False: 0]
  ------------------
 1791|      4|        get = pold->prop_get ? pold->prop_get : Py_None;
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1791:15): [True: 4, False: 0]
  ------------------
 1792|      4|    }
 1793|      4|    if (set == NULL || set == Py_None) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1793:9): [True: 0, False: 4]
  |  Branch (1793:24): [True: 0, False: 4]
  ------------------
 1794|      0|        set = pold->prop_set ? pold->prop_set : Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1794:15): [True: 0, False: 0]
  ------------------
 1795|      0|    }
 1796|      4|    if (del == NULL || del == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1796:9): [True: 4, False: 0]
  |  Branch (1796:24): [True: 0, False: 0]
  ------------------
 1797|      4|        del = pold->prop_del ? pold->prop_del : Py_None;
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1797:15): [True: 0, False: 4]
  ------------------
 1798|      4|    }
 1799|      4|    if (pold->getter_doc && get != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1799:9): [True: 0, False: 4]
  |  Branch (1799:29): [True: 0, False: 0]
  ------------------
 1800|       |        /* make _init use __doc__ from getter */
 1801|      0|        doc = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1802|      0|    }
 1803|      4|    else {
 1804|      4|        doc = pold->prop_doc ? pold->prop_doc : Py_None;
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1804:15): [True: 0, False: 4]
  ------------------
 1805|      4|    }
 1806|       |
 1807|      4|    new =  PyObject_CallFunctionObjArgs(type, get, set, del, doc, NULL);
 1808|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1809|      4|    if (new == NULL)
  ------------------
  |  Branch (1809:9): [True: 0, False: 4]
  ------------------
 1810|      0|        return NULL;
 1811|       |
 1812|      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]
  |  |  ------------------
  ------------------
 1813|      4|        Py_XSETREF(((propertyobject *) new)->prop_name, Py_XNewRef(pold->prop_name));
  ------------------
  |  |  576|      4|    do { \
  |  |  577|      4|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      4|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      4|        *_tmp_dst_ptr = (src); \
  |  |  580|      4|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1814|      4|    }
 1815|      4|    return new;
 1816|      4|}
descrobject.c:property_setter:
 1607|      4|{
 1608|      4|    return property_copy(self, NULL, setter, NULL);
 1609|      4|}
descrobject.c:property___set_name___impl:
 1636|     28|{
 1637|     28|    Py_XSETREF(self->prop_name, Py_XNewRef(name));
  ------------------
  |  |  576|     28|    do { \
  |  |  577|     28|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     28|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     28|        *_tmp_dst_ptr = (src); \
  |  |  580|     28|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     28|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
 1638|       |
 1639|     28|    Py_RETURN_NONE;
  ------------------
  |  |  628|     28|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     28|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1640|     28|}
descrobject.c:property_get___isabstractmethod__:
 1958|      1|{
 1959|      1|    propertyobject *prop = _propertyobject_CAST(op);
  ------------------
  |  | 1533|      1|#define _propertyobject_CAST(op)    ((propertyobject *)(op))
  ------------------
 1960|      1|    int res = _PyObject_IsAbstract(prop->prop_get);
 1961|      1|    if (res == -1) {
  ------------------
  |  Branch (1961:9): [True: 0, False: 1]
  ------------------
 1962|      0|        return NULL;
 1963|      0|    }
 1964|      1|    else if (res) {
  ------------------
  |  Branch (1964:14): [True: 0, False: 1]
  ------------------
 1965|      0|        Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1966|      0|    }
 1967|       |
 1968|      1|    res = _PyObject_IsAbstract(prop->prop_set);
 1969|      1|    if (res == -1) {
  ------------------
  |  Branch (1969:9): [True: 0, False: 1]
  ------------------
 1970|      0|        return NULL;
 1971|      0|    }
 1972|      1|    else if (res) {
  ------------------
  |  Branch (1972:14): [True: 0, False: 1]
  ------------------
 1973|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1974|      0|    }
 1975|       |
 1976|      1|    res = _PyObject_IsAbstract(prop->prop_del);
 1977|      1|    if (res == -1) {
  ------------------
  |  Branch (1977:9): [True: 0, False: 1]
  ------------------
 1978|      0|        return NULL;
 1979|      0|    }
 1980|      1|    else if (res) {
  ------------------
  |  Branch (1980:14): [True: 0, False: 1]
  ------------------
 1981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1982|      0|    }
 1983|      1|    Py_RETURN_FALSE;
  ------------------
  |  |   45|      1|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      1|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1984|      1|}
descrobject.c:property_descr_get:
 1681|    182|{
 1682|    182|    if (obj == NULL || obj == Py_None) {
  ------------------
  |  |  616|    182|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1682:9): [True: 0, False: 182]
  |  Branch (1682:24): [True: 0, False: 182]
  ------------------
 1683|      0|        return Py_NewRef(self);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1684|      0|    }
 1685|       |
 1686|    182|    propertyobject *gs = (propertyobject *)self;
 1687|    182|    if (gs->prop_get == NULL) {
  ------------------
  |  Branch (1687:9): [True: 0, False: 182]
  ------------------
 1688|      0|        PyObject *propname;
 1689|      0|        if (property_name(gs, &propname) < 0) {
  ------------------
  |  Branch (1689:13): [True: 0, False: 0]
  ------------------
 1690|      0|            return NULL;
 1691|      0|        }
 1692|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1693|      0|        if (propname != NULL && qualname != NULL) {
  ------------------
  |  Branch (1693:13): [True: 0, False: 0]
  |  Branch (1693:33): [True: 0, False: 0]
  ------------------
 1694|      0|            PyErr_Format(PyExc_AttributeError,
 1695|      0|                         "property %R of %R object has no getter",
 1696|      0|                         propname,
 1697|      0|                         qualname);
 1698|      0|        }
 1699|      0|        else if (qualname != NULL) {
  ------------------
  |  Branch (1699:18): [True: 0, False: 0]
  ------------------
 1700|      0|            PyErr_Format(PyExc_AttributeError,
 1701|      0|                         "property of %R object has no getter",
 1702|      0|                         qualname);
 1703|      0|        } else {
 1704|      0|            PyErr_SetString(PyExc_AttributeError,
 1705|      0|                            "property has no getter");
 1706|      0|        }
 1707|      0|        Py_XDECREF(propname);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1708|      0|        Py_XDECREF(qualname);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1709|      0|        return NULL;
 1710|      0|    }
 1711|       |
 1712|    182|    return PyObject_CallOneArg(gs->prop_get, obj);
 1713|    182|}
descrobject.c:property_descr_set:
 1717|     10|{
 1718|     10|    propertyobject *gs = (propertyobject *)self;
 1719|     10|    PyObject *func, *res;
 1720|       |
 1721|     10|    if (value == NULL) {
  ------------------
  |  Branch (1721:9): [True: 0, False: 10]
  ------------------
 1722|      0|        func = gs->prop_del;
 1723|      0|    }
 1724|     10|    else {
 1725|     10|        func = gs->prop_set;
 1726|     10|    }
 1727|       |
 1728|     10|    if (func == NULL) {
  ------------------
  |  Branch (1728:9): [True: 0, False: 10]
  ------------------
 1729|      0|        PyObject *propname;
 1730|      0|        if (property_name(gs, &propname) < 0) {
  ------------------
  |  Branch (1730:13): [True: 0, False: 0]
  ------------------
 1731|      0|            return -1;
 1732|      0|        }
 1733|      0|        PyObject *qualname = NULL;
 1734|      0|        if (obj != NULL) {
  ------------------
  |  Branch (1734:13): [True: 0, False: 0]
  ------------------
 1735|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1736|      0|        }
 1737|      0|        if (propname != NULL && qualname != NULL) {
  ------------------
  |  Branch (1737:13): [True: 0, False: 0]
  |  Branch (1737:33): [True: 0, False: 0]
  ------------------
 1738|      0|            PyErr_Format(PyExc_AttributeError,
 1739|      0|                        value == NULL ?
  ------------------
  |  Branch (1739:25): [True: 0, False: 0]
  ------------------
 1740|      0|                        "property %R of %R object has no deleter" :
 1741|      0|                        "property %R of %R object has no setter",
 1742|      0|                        propname,
 1743|      0|                        qualname);
 1744|      0|        }
 1745|      0|        else if (qualname != NULL) {
  ------------------
  |  Branch (1745:18): [True: 0, False: 0]
  ------------------
 1746|      0|            PyErr_Format(PyExc_AttributeError,
 1747|      0|                            value == NULL ?
  ------------------
  |  Branch (1747:29): [True: 0, False: 0]
  ------------------
 1748|      0|                            "property of %R object has no deleter" :
 1749|      0|                            "property of %R object has no setter",
 1750|      0|                            qualname);
 1751|      0|        }
 1752|      0|        else {
 1753|      0|            PyErr_SetString(PyExc_AttributeError,
 1754|      0|                         value == NULL ?
  ------------------
  |  Branch (1754:26): [True: 0, False: 0]
  ------------------
 1755|      0|                         "property has no deleter" :
 1756|      0|                         "property has no setter");
 1757|      0|        }
 1758|      0|        Py_XDECREF(propname);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1759|      0|        Py_XDECREF(qualname);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1760|      0|        return -1;
 1761|      0|    }
 1762|       |
 1763|     10|    if (value == NULL) {
  ------------------
  |  Branch (1763:9): [True: 0, False: 10]
  ------------------
 1764|      0|        res = PyObject_CallOneArg(func, obj);
 1765|      0|    }
 1766|     10|    else {
 1767|     10|        EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|     10|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
 1768|     10|        PyObject *args[] = { obj, value };
 1769|     10|        res = PyObject_Vectorcall(func, args, 2, NULL);
 1770|     10|    }
 1771|       |
 1772|     10|    if (res == NULL) {
  ------------------
  |  Branch (1772:9): [True: 0, False: 10]
  ------------------
 1773|      0|        return -1;
 1774|      0|    }
 1775|       |
 1776|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1777|     10|    return 0;
 1778|     10|}
descrobject.c:property_init_impl:
 1859|     28|{
 1860|     28|    if (fget == Py_None)
  ------------------
  |  |  616|     28|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1860:9): [True: 0, False: 28]
  ------------------
 1861|      0|        fget = NULL;
 1862|     28|    if (fset == Py_None)
  ------------------
  |  |  616|     28|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1862:9): [True: 0, False: 28]
  ------------------
 1863|      0|        fset = NULL;
 1864|     28|    if (fdel == Py_None)
  ------------------
  |  |  616|     28|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1864:9): [True: 4, False: 24]
  ------------------
 1865|      4|        fdel = NULL;
 1866|       |
 1867|     28|    Py_XSETREF(self->prop_get, Py_XNewRef(fget));
  ------------------
  |  |  576|     28|    do { \
  |  |  577|     28|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     28|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     28|        *_tmp_dst_ptr = (src); \
  |  |  580|     28|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     28|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
 1868|     28|    Py_XSETREF(self->prop_set, Py_XNewRef(fset));
  ------------------
  |  |  576|     28|    do { \
  |  |  577|     28|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     28|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     28|        *_tmp_dst_ptr = (src); \
  |  |  580|     28|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     28|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
 1869|     28|    Py_XSETREF(self->prop_del, Py_XNewRef(fdel));
  ------------------
  |  |  576|     28|    do { \
  |  |  577|     28|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     28|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     28|        *_tmp_dst_ptr = (src); \
  |  |  580|     28|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     28|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
 1870|     28|    Py_XSETREF(self->prop_doc, NULL);
  ------------------
  |  |  576|     28|    do { \
  |  |  577|     28|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     28|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     28|        *_tmp_dst_ptr = (src); \
  |  |  580|     28|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     28|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
 1871|     28|    Py_XSETREF(self->prop_name, NULL);
  ------------------
  |  |  576|     28|    do { \
  |  |  577|     28|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     28|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     28|        *_tmp_dst_ptr = (src); \
  |  |  580|     28|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     28|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
 1872|       |
 1873|     28|    self->getter_doc = 0;
 1874|     28|    PyObject *prop_doc = NULL;
 1875|       |
 1876|     28|    if (doc != NULL && doc != Py_None) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1876:9): [True: 4, False: 24]
  |  Branch (1876:24): [True: 0, False: 4]
  ------------------
 1877|      0|        prop_doc = Py_XNewRef(doc);
  ------------------
  |  |  648|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1878|      0|    }
 1879|       |    /* if no docstring given and the getter has one, use that one */
 1880|     28|    else if (fget != NULL) {
  ------------------
  |  Branch (1880:14): [True: 28, False: 0]
  ------------------
 1881|     28|        int rc = PyObject_GetOptionalAttr(fget, &_Py_ID(__doc__), &prop_doc);
  ------------------
  |  |  951|     28|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     28|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     28|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1882|     28|        if (rc < 0) {
  ------------------
  |  Branch (1882:13): [True: 0, False: 28]
  ------------------
 1883|      0|            return rc;
 1884|      0|        }
 1885|     28|        if (prop_doc == Py_None) {
  ------------------
  |  |  616|     28|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1885:13): [True: 23, False: 5]
  ------------------
 1886|     23|            prop_doc = NULL;
 1887|     23|            Py_DECREF(Py_None);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1888|     23|        }
 1889|     28|        if (prop_doc != NULL){
  ------------------
  |  Branch (1889:13): [True: 5, False: 23]
  ------------------
 1890|      5|            self->getter_doc = 1;
 1891|      5|        }
 1892|     28|    }
 1893|       |
 1894|       |    /* At this point `prop_doc` is either NULL or
 1895|       |       a non-None object with incremented ref counter */
 1896|       |
 1897|     28|    if (Py_IS_TYPE(self, &PyProperty_Type)) {
  ------------------
  |  |  215|     28|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 28, False: 0]
  |  |  ------------------
  ------------------
 1898|     28|        Py_XSETREF(self->prop_doc, prop_doc);
  ------------------
  |  |  576|     28|    do { \
  |  |  577|     28|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     28|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     28|        *_tmp_dst_ptr = (src); \
  |  |  580|     28|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     28|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
 1899|     28|    } else {
 1900|       |        /* If this is a property subclass, put __doc__ in the dict
 1901|       |           or designated slot of the subclass instance instead, otherwise
 1902|       |           it gets shadowed by __doc__ in the class's dict. */
 1903|       |
 1904|      0|        if (prop_doc == NULL) {
  ------------------
  |  Branch (1904:13): [True: 0, False: 0]
  ------------------
 1905|      0|            prop_doc = Py_NewRef(Py_None);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1906|      0|        }
 1907|      0|        int err = PyObject_SetAttr(
 1908|      0|                    (PyObject *)self, &_Py_ID(__doc__), prop_doc);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1909|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1910|      0|        if (err < 0) {
  ------------------
  |  Branch (1910:13): [True: 0, False: 0]
  ------------------
 1911|      0|            assert(PyErr_Occurred());
  ------------------
  |  Branch (1911:13): [True: 0, False: 0]
  ------------------
 1912|      0|            if (!self->getter_doc &&
  ------------------
  |  Branch (1912:17): [True: 0, False: 0]
  ------------------
 1913|      0|                PyErr_ExceptionMatches(PyExc_AttributeError))
  ------------------
  |  Branch (1913:17): [True: 0, False: 0]
  ------------------
 1914|      0|            {
 1915|      0|                PyErr_Clear();
 1916|       |                // https://github.com/python/cpython/issues/98963#issuecomment-1574413319
 1917|       |                // Python silently dropped this doc assignment through 3.11.
 1918|       |                // We preserve that behavior for backwards compatibility.
 1919|       |                //
 1920|       |                // If we ever want to deprecate this behavior, only raise a
 1921|       |                // warning or error when proc_doc is not None so that
 1922|       |                // property without a specific doc= still works.
 1923|      0|                return 0;
 1924|      0|            } else {
 1925|      0|                return -1;
 1926|      0|            }
 1927|      0|        }
 1928|      0|    }
 1929|       |
 1930|     28|    return 0;
 1931|     28|}

_PyDict_CheckConsistency:
  699|  47.1k|{
  700|  47.1k|    ASSERT_WORLD_STOPPED_OR_DICT_LOCKED(op);
  701|       |
  702|  47.1k|#define CHECK(expr) \
  703|  47.1k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  704|       |
  705|  47.1k|    assert(op != NULL);
  ------------------
  |  Branch (705:5): [True: 47.1k, False: 0]
  ------------------
  706|  47.1k|    CHECK(PyAnyDict_Check(op));
  ------------------
  |  |  703|  47.1k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 47.1k, False: 3]
  |  |  |  Branch (703:16): [True: 3, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 47.1k]
  |  |  ------------------
  ------------------
  707|  47.1k|    PyDictObject *mp = (PyDictObject *)op;
  708|       |
  709|  47.1k|    PyDictKeysObject *keys = mp->ma_keys;
  710|  47.1k|    int splitted = _PyDict_HasSplitTable(mp);
  ------------------
  |  |   61|  47.1k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  ------------------
  711|  47.1k|    Py_ssize_t usable = USABLE_FRACTION(DK_SIZE(keys));
  ------------------
  |  |  590|  47.1k|#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|  47.1k|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  150|  47.1k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  716|  47.1k|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  150|  47.1k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  717|       |
  718|  47.1k|    CHECK(0 <= mp->ma_used && mp->ma_used <= usable);
  ------------------
  |  |  703|  94.3k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 47.1k, False: 0]
  |  |  |  Branch (703:16): [True: 47.1k, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 47.1k]
  |  |  ------------------
  ------------------
  719|  47.1k|    CHECK(0 <= dk_usable && dk_usable <= usable);
  ------------------
  |  |  703|  94.3k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 47.1k, False: 0]
  |  |  |  Branch (703:16): [True: 47.1k, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 47.1k]
  |  |  ------------------
  ------------------
  720|  47.1k|    CHECK(0 <= dk_nentries && dk_nentries <= usable);
  ------------------
  |  |  703|  94.3k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 47.1k, False: 0]
  |  |  |  Branch (703:16): [True: 47.1k, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 47.1k]
  |  |  ------------------
  ------------------
  721|  47.1k|    CHECK(dk_usable + dk_nentries <= usable);
  ------------------
  |  |  703|  47.1k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 47.1k]
  |  |  |  Branch (703:89): [Folded, False: 47.1k]
  |  |  ------------------
  ------------------
  722|       |
  723|  47.1k|    if (!splitted) {
  ------------------
  |  Branch (723:9): [True: 46.6k, False: 514]
  ------------------
  724|       |        /* combined table */
  725|  46.6k|        CHECK(keys->dk_kind != DICT_KEYS_SPLIT);
  ------------------
  |  |  703|  46.6k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 46.6k]
  |  |  |  Branch (703:89): [Folded, False: 46.6k]
  |  |  ------------------
  ------------------
  726|  46.6k|        CHECK(keys->dk_refcnt == 1 || keys == Py_EMPTY_KEYS);
  ------------------
  |  |  703|  49.9k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 43.4k, False: 3.25k]
  |  |  |  Branch (703:16): [True: 3.25k, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 46.6k]
  |  |  ------------------
  ------------------
  727|  46.6k|    }
  728|    514|    else {
  729|    514|        CHECK(keys->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  |  703|    514|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 514]
  |  |  |  Branch (703:89): [Folded, False: 514]
  |  |  ------------------
  ------------------
  730|    514|        CHECK(mp->ma_used <= SHARED_KEYS_MAX_SIZE);
  ------------------
  |  |  703|    514|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 514]
  |  |  |  Branch (703:89): [Folded, False: 514]
  |  |  ------------------
  ------------------
  731|    514|        if (mp->ma_values->embedded) {
  ------------------
  |  Branch (731:13): [True: 0, False: 514]
  ------------------
  732|      0|            CHECK(mp->ma_values->embedded == 1);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      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)
  |  |  ------------------
  |  |  |  |  363|      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|    514|    }
  736|       |
  737|  47.1k|    if (check_content) {
  ------------------
  |  Branch (737:9): [True: 0, False: 47.1k]
  ------------------
  738|      0|        LOCK_KEYS_IF_SPLIT(keys, keys->dk_kind);
  739|      0|        for (Py_ssize_t i=0; i < DK_SIZE(keys); i++) {
  ------------------
  |  |  283|      0|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  ------------------
  |  |  |  |  281|      0|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      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)
  |  |  ------------------
  |  |  |  |  363|      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)
  |  |  ------------------
  |  |  |  |  363|      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)
  |  |  ------------------
  |  |  |  |  363|      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)
  |  |  ------------------
  |  |  |  |  363|      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)
  |  |  ------------------
  |  |  |  |  363|      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)
  |  |  ------------------
  |  |  |  |  363|      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)
  |  |  ------------------
  |  |  |  |  363|      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)
  |  |  ------------------
  |  |  |  |  363|      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)
  |  |  ------------------
  |  |  |  |  363|      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)
  |  |  ------------------
  |  |  |  |  363|      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)
  |  |  ------------------
  |  |  |  |  363|      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|  47.1k|    return 1;
  797|       |
  798|  47.1k|#undef CHECK
  799|  47.1k|}
PyDict_New:
 1089|  2.91k|{
 1090|       |    /* We don't incref Py_EMPTY_KEYS here because it is immortal. */
 1091|  2.91k|    return new_dict(Py_EMPTY_KEYS, NULL, 0, 0);
  ------------------
  |  |  660|  2.91k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 1092|  2.91k|}
_PyDictKeys_StringLookup:
 1305|     44|{
 1306|     44|    if (!check_keys_unicode(dk, key)) {
  ------------------
  |  Branch (1306:9): [True: 0, False: 44]
  ------------------
 1307|      0|        return DKIX_ERROR;
  ------------------
  |  |  196|      0|#define DKIX_ERROR (-3)
  ------------------
 1308|      0|    }
 1309|     44|    Py_hash_t hash = hash_unicode_key(key);
 1310|     44|    return unicodekeys_lookup_unicode(dk, key, hash);
 1311|     44|}
_PyDictKeys_StringLookupAndVersion:
 1315|    259|{
 1316|    259|    if (!check_keys_unicode(dk, key)) {
  ------------------
  |  Branch (1316:9): [True: 0, False: 259]
  ------------------
 1317|      0|        return DKIX_ERROR;
  ------------------
  |  |  196|      0|#define DKIX_ERROR (-3)
  ------------------
 1318|      0|    }
 1319|    259|    Py_ssize_t ix;
 1320|    259|    Py_hash_t hash = hash_unicode_key(key);
 1321|    259|    LOCK_KEYS(dk);
 1322|    259|    ix = unicodekeys_lookup_unicode(dk, key, hash);
 1323|    259|    *version = _PyDictKeys_GetVersionForCurrentState(_PyInterpreterState_GET(), dk);
 1324|    259|    UNLOCK_KEYS(dk);
 1325|    259|    return ix;
 1326|    259|}
_PyDictKeys_StringLookupSplit:
 1333|  2.06k|{
 1334|  2.06k|    assert(dk->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  Branch (1334:5): [True: 2.06k, False: 0]
  ------------------
 1335|  2.06k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1335:5): [True: 2.06k, False: 0]
  ------------------
 1336|  2.06k|    Py_hash_t hash = unicode_get_hash(key);
 1337|  2.06k|    if (hash == -1) {
  ------------------
  |  Branch (1337:9): [True: 0, False: 2.06k]
  ------------------
 1338|      0|        hash = PyUnicode_Type.tp_hash(key);
 1339|      0|        if (hash == -1) {
  ------------------
  |  Branch (1339:13): [True: 0, False: 0]
  ------------------
 1340|      0|            PyErr_Clear();
 1341|      0|            return DKIX_ERROR;
  ------------------
  |  |  196|      0|#define DKIX_ERROR (-3)
  ------------------
 1342|      0|        }
 1343|      0|    }
 1344|  2.06k|    return unicodekeys_lookup_split(dk, key, hash);
 1345|  2.06k|}
_Py_dict_lookup:
 1364|  91.6k|{
 1365|  91.6k|    PyDictKeysObject *dk;
 1366|  91.6k|    DictKeysKind kind;
 1367|  91.6k|    Py_ssize_t ix;
 1368|       |
 1369|  91.6k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(mp);
 1370|  91.6k|start:
 1371|  91.6k|    dk = mp->ma_keys;
 1372|  91.6k|    kind = dk->dk_kind;
 1373|       |
 1374|  91.6k|    if (kind != DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (1374:9): [True: 89.6k, False: 2.08k]
  ------------------
 1375|  89.6k|        if (PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|  89.6k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  89.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  89.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  89.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 89.5k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1376|       |#ifdef Py_GIL_DISABLED
 1377|       |            if (kind == DICT_KEYS_SPLIT) {
 1378|       |                ix = unicodekeys_lookup_split(dk, key, hash);
 1379|       |            }
 1380|       |            else {
 1381|       |                ix = unicodekeys_lookup_unicode(dk, key, hash);
 1382|       |            }
 1383|       |#else
 1384|  89.5k|            ix = unicodekeys_lookup_unicode(dk, key, hash);
 1385|  89.5k|#endif
 1386|  89.5k|        }
 1387|      8|        else {
 1388|      8|            INCREF_KEYS_FT(dk);
 1389|      8|            LOCK_KEYS_IF_SPLIT(dk, kind);
 1390|       |
 1391|      8|            ix = unicodekeys_lookup_generic(mp, dk, key, hash);
 1392|       |
 1393|      8|            UNLOCK_KEYS_IF_SPLIT(dk, kind);
 1394|      8|            DECREF_KEYS_FT(dk, IS_DICT_SHARED(mp));
 1395|      8|            if (ix == DKIX_KEY_CHANGED) {
  ------------------
  |  |  197|      8|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
  |  Branch (1395:17): [True: 0, False: 8]
  ------------------
 1396|      0|                goto start;
 1397|      0|            }
 1398|      8|        }
 1399|       |
 1400|  89.6k|        if (ix >= 0) {
  ------------------
  |  Branch (1400:13): [True: 35.2k, False: 54.3k]
  ------------------
 1401|  35.2k|            if (kind == DICT_KEYS_SPLIT) {
  ------------------
  |  Branch (1401:17): [True: 173, False: 35.0k]
  ------------------
 1402|    173|                *value_addr = mp->ma_values->values[ix];
 1403|    173|            }
 1404|  35.0k|            else {
 1405|  35.0k|                *value_addr = DK_UNICODE_ENTRIES(dk)[ix].me_value;
 1406|  35.0k|            }
 1407|  35.2k|        }
 1408|  54.3k|        else {
 1409|  54.3k|            *value_addr = NULL;
 1410|  54.3k|        }
 1411|  89.6k|    }
 1412|  2.08k|    else {
 1413|  2.08k|        ix = dictkeys_generic_lookup(mp, dk, key, hash);
 1414|  2.08k|        if (ix == DKIX_KEY_CHANGED) {
  ------------------
  |  |  197|  2.08k|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
  |  Branch (1414:13): [True: 0, False: 2.08k]
  ------------------
 1415|      0|            goto start;
 1416|      0|        }
 1417|  2.08k|        if (ix >= 0) {
  ------------------
  |  Branch (1417:13): [True: 258, False: 1.82k]
  ------------------
 1418|    258|            *value_addr = DK_ENTRIES(dk)[ix].me_value;
 1419|    258|        }
 1420|  1.82k|        else {
 1421|  1.82k|            *value_addr = NULL;
 1422|  1.82k|        }
 1423|  2.08k|    }
 1424|       |
 1425|  91.6k|    return ix;
 1426|  91.6k|}
_Py_dict_lookup_threadsafe:
 1762|  1.83k|{
 1763|  1.83k|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, value_addr);
 1764|  1.83k|    Py_XNewRef(*value_addr);
  ------------------
  |  |  648|  1.83k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1765|  1.83k|    return ix;
 1766|  1.83k|}
_Py_dict_lookup_threadsafe_stackref:
 1770|  20.2k|{
 1771|  20.2k|    PyObject *val;
 1772|  20.2k|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, &val);
 1773|  20.2k|    if (val == NULL) {
  ------------------
  |  Branch (1773:9): [True: 11.7k, False: 8.45k]
  ------------------
 1774|  11.7k|        *value_addr = PyStackRef_NULL;
 1775|  11.7k|    }
 1776|  8.45k|    else {
 1777|  8.45k|        *value_addr = PyStackRef_FromPyObjectNew(val);
  ------------------
  |  |  611|  8.45k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1778|  8.45k|    }
 1779|  20.2k|    return ix;
 1780|  20.2k|}
_PyDict_GetMethodStackRef:
 1788|    320|{
 1789|    320|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1789:5): [True: 320, False: 0]
  ------------------
 1790|    320|    Py_hash_t hash = hash_unicode_key(key);
 1791|       |
 1792|       |#ifdef Py_GIL_DISABLED
 1793|       |    // NOTE: We can only do the fast-path lookup if we are on the owning
 1794|       |    // thread or if the dict is already marked as shared so that the load
 1795|       |    // of ma_keys is safe without a lock. We cannot call ensure_shared_on_read()
 1796|       |    // in this code path without incref'ing the dict because the dict is a
 1797|       |    // borrowed reference protected by QSBR, and acquiring the lock could lead
 1798|       |    // to a quiescent state (allowing the dict to be freed).
 1799|       |    if (_Py_IsOwnedByCurrentThread((PyObject *)mp) || IS_DICT_SHARED(mp)) {
 1800|       |        PyDictKeysObject *dk = _Py_atomic_load_ptr_acquire(&mp->ma_keys);
 1801|       |        if (dk->dk_kind == DICT_KEYS_UNICODE) {
 1802|       |            _PyStackRef ref;
 1803|       |            Py_ssize_t ix = lookup_threadsafe_unicode(dk, key, hash, &ref);
 1804|       |            if (ix >= 0) {
 1805|       |                assert(!PyStackRef_IsNull(ref));
 1806|       |                PyStackRef_XSETREF(*method, ref);
 1807|       |                return 1;
 1808|       |            }
 1809|       |            else if (ix == DKIX_EMPTY) {
 1810|       |                return 0;
 1811|       |            }
 1812|       |            assert(ix == DKIX_KEY_CHANGED);
 1813|       |        }
 1814|       |    }
 1815|       |#endif
 1816|       |
 1817|    320|    PyObject *obj;
 1818|    320|    Py_INCREF(mp);
  ------------------
  |  |  310|    320|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    320|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    320|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1819|    320|    Py_ssize_t ix = _Py_dict_lookup_threadsafe(mp, key, hash, &obj);
 1820|    320|    Py_DECREF(mp);
  ------------------
  |  |  430|    320|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    320|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    320|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1821|    320|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|    320|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (1821:9): [True: 0, False: 320]
  ------------------
 1822|      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]
  |  |  ------------------
  ------------------
 1823|      0|        return -1;
 1824|      0|    }
 1825|    320|    else if (ix >= 0 && obj != NULL) {
  ------------------
  |  Branch (1825:14): [True: 0, False: 320]
  |  Branch (1825:25): [True: 0, False: 0]
  ------------------
 1826|      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]
  |  |  ------------------
  ------------------
 1827|      0|        return 1;
 1828|      0|    }
 1829|    320|    return 0;  // not found
 1830|    320|}
_PyDict_HasOnlyStringKeys:
 1834|    403|{
 1835|    403|    Py_ssize_t pos = 0;
 1836|    403|    PyObject *key, *value;
 1837|    403|    assert(PyDict_Check(dict));
  ------------------
  |  Branch (1837:5): [True: 403, False: 0]
  ------------------
 1838|       |    /* Shortcut */
 1839|    403|    if (((PyDictObject *)dict)->ma_keys->dk_kind != DICT_KEYS_GENERAL)
  ------------------
  |  Branch (1839:9): [True: 403, False: 0]
  ------------------
 1840|    403|        return 1;
 1841|      0|    while (PyDict_Next(dict, &pos, &key, &value))
  ------------------
  |  Branch (1841:12): [True: 0, False: 0]
  ------------------
 1842|      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 (1842:13): [True: 0, False: 0]
  ------------------
 1843|      0|            return 0;
 1844|      0|    return 1;
 1845|      0|}
_PyDict_EnablePerThreadRefcounting:
 1849|     99|{
 1850|     99|    assert(PyDict_Check(op));
  ------------------
  |  Branch (1850:5): [True: 99, False: 0]
  ------------------
 1851|       |#ifdef Py_GIL_DISABLED
 1852|       |    Py_ssize_t id = _PyObject_AssignUniqueId(op);
 1853|       |    if (id == _Py_INVALID_UNIQUE_ID) {
 1854|       |        return;
 1855|       |    }
 1856|       |    if ((uint64_t)id >= (uint64_t)DICT_UNIQUE_ID_MAX) {
 1857|       |        _PyObject_ReleaseUniqueId(id);
 1858|       |        return;
 1859|       |    }
 1860|       |
 1861|       |    PyDictObject *mp = (PyDictObject *)op;
 1862|       |    assert((mp->_ma_watcher_tag >> DICT_UNIQUE_ID_SHIFT) == 0);
 1863|       |    mp->_ma_watcher_tag += (uint64_t)id << DICT_UNIQUE_ID_SHIFT;
 1864|       |#endif
 1865|     99|}
_PyDict_InsertSplitValue:
 1995|    185|{
 1996|    185|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (1996:5): [True: 185, False: 0]
  ------------------
 1997|    185|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1997:5): [True: 185, False: 0]
  ------------------
 1998|       |
 1999|    185|    PyObject *old_value = mp->ma_values->values[ix];
 2000|    185|    if (old_value == NULL) {
  ------------------
  |  Branch (2000:9): [True: 185, False: 0]
  ------------------
 2001|    185|        _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 2002|    185|        STORE_SPLIT_VALUE(mp, ix, Py_NewRef(value));
  ------------------
  |  |  332|    185|#define STORE_SPLIT_VALUE(mp, idx, value) FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_values->values[idx], value)
  |  |  ------------------
  |  |  |  |  166|    185|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2003|    185|        _PyDictValues_AddToInsertionOrder(mp->ma_values, ix);
 2004|    185|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|    185|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|    185|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2005|    185|    }
 2006|      0|    else {
 2007|      0|        _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, mp, key, value);
 2008|      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)
  |  |  ------------------
  |  |  |  |  166|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2009|       |        // old_value should be DECREFed after GC track checking is done, if not, it could raise a segmentation fault,
 2010|       |        // when dict only holds the strong reference to value in ep->me_value.
 2011|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2012|      0|    }
 2013|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|    185|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2013:5): [True: 185, False: 0]
  ------------------
 2014|    185|}
_PyDict_FromItems:
 2396|    800|{
 2397|    800|    bool unicode = true;
 2398|    800|    PyObject *const *ks = keys;
 2399|       |
 2400|  1.38k|    for (Py_ssize_t i = 0; i < length; i++) {
  ------------------
  |  Branch (2400:28): [True: 597, False: 791]
  ------------------
 2401|    597|        if (!PyUnicode_CheckExact(*ks)) {
  ------------------
  |  |  104|    597|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    597|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    597|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    597|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2401:13): [True: 9, False: 588]
  ------------------
 2402|      9|            unicode = false;
 2403|      9|            break;
 2404|      9|        }
 2405|    588|        ks += keys_offset;
 2406|    588|    }
 2407|       |
 2408|    800|    PyObject *dict = dict_new_presized(length, unicode);
 2409|    800|    if (dict == NULL) {
  ------------------
  |  Branch (2409:9): [True: 0, False: 800]
  ------------------
 2410|      0|        return NULL;
 2411|      0|    }
 2412|       |
 2413|    800|    ks = keys;
 2414|    800|    PyObject *const *vs = values;
 2415|       |
 2416|  1.41k|    for (Py_ssize_t i = 0; i < length; i++) {
  ------------------
  |  Branch (2416:28): [True: 619, False: 800]
  ------------------
 2417|    619|        PyObject *key = *ks;
 2418|    619|        PyObject *value = *vs;
 2419|    619|        if (setitem_lock_held((PyDictObject *)dict, key, value) < 0) {
  ------------------
  |  Branch (2419:13): [True: 0, False: 619]
  ------------------
 2420|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2421|      0|            return NULL;
 2422|      0|        }
 2423|    619|        ks += keys_offset;
 2424|    619|        vs += values_offset;
 2425|    619|    }
 2426|       |
 2427|    800|    return dict;
 2428|    800|}
PyDict_GetItem:
 2486|    280|{
 2487|    280|    return dict_getitem(op, key,
 2488|    280|            "Exception ignored in PyDict_GetItem(); consider using "
 2489|    280|            "PyDict_GetItemRef() or PyDict_GetItemWithError()");
 2490|    280|}
_PyDict_LookupIndexAndValue:
 2515|  1.64k|{
 2516|       |    // TODO: Thread safety
 2517|  1.64k|    assert(PyDict_CheckExact((PyObject*)mp));
  ------------------
  |  Branch (2517:5): [True: 1.64k, False: 0]
  ------------------
 2518|  1.64k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (2518:5): [True: 1.64k, False: 0]
  ------------------
 2519|       |
 2520|  1.64k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2521|  1.64k|    if (hash == -1) {
  ------------------
  |  Branch (2521:9): [True: 0, False: 1.64k]
  ------------------
 2522|      0|        dict_unhashable_type((PyObject*)mp, key);
 2523|      0|        return -1;
 2524|      0|    }
 2525|       |
 2526|  1.64k|    return _Py_dict_lookup(mp, key, hash, value);
 2527|  1.64k|}
_PyDict_GetItemRef_KnownHash:
 2591|  19.9k|{
 2592|  19.9k|    PyObject *value;
 2593|       |#ifdef Py_GIL_DISABLED
 2594|       |    Py_ssize_t ix = _Py_dict_lookup_threadsafe(op, key, hash, &value);
 2595|       |#else
 2596|  19.9k|    Py_ssize_t ix = _Py_dict_lookup(op, key, hash, &value);
 2597|  19.9k|#endif
 2598|  19.9k|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2598:5): [True: 16.2k, False: 3.70k]
  |  Branch (2598:5): [True: 3.70k, False: 0]
  ------------------
 2599|  19.9k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|  19.9k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2599:9): [True: 0, False: 19.9k]
  ------------------
 2600|      0|        *result = NULL;
 2601|      0|        return -1;
 2602|      0|    }
 2603|  19.9k|    if (value == NULL) {
  ------------------
  |  Branch (2603:9): [True: 3.71k, False: 16.2k]
  ------------------
 2604|  3.71k|        *result = NULL;
 2605|  3.71k|        return 0;  // missing key
 2606|  3.71k|    }
 2607|       |#ifdef Py_GIL_DISABLED
 2608|       |    *result = value;
 2609|       |#else
 2610|  16.2k|    *result = Py_NewRef(value);
  ------------------
  |  |  647|  16.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  16.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2611|  16.2k|#endif
 2612|  16.2k|    return 1;  // key is present
 2613|  19.9k|}
PyDict_GetItemRef:
 2617|  19.9k|{
 2618|  19.9k|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  19.9k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  19.9k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  39.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 19.9k, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2619|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2620|      0|        *result = NULL;
 2621|      0|        return -1;
 2622|      0|    }
 2623|       |
 2624|  19.9k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2625|  19.9k|    if (hash == -1) {
  ------------------
  |  Branch (2625:9): [True: 0, False: 19.9k]
  ------------------
 2626|      0|        dict_unhashable_type(op, key);
 2627|      0|        *result = NULL;
 2628|      0|        return -1;
 2629|      0|    }
 2630|       |
 2631|  19.9k|    return _PyDict_GetItemRef_KnownHash((PyDictObject *)op, key, hash, result);
 2632|  19.9k|}
_PyDict_GetItemRef_Unicode_LockHeld:
 2711|    361|{
 2712|    361|    ASSERT_DICT_LOCKED(op);
 2713|    361|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (2713:5): [True: 361, False: 0]
  ------------------
 2714|       |
 2715|    361|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2716|    361|    if (hash == -1) {
  ------------------
  |  Branch (2716:9): [True: 0, False: 361]
  ------------------
 2717|      0|        dict_unhashable_type((PyObject*)op, key);
 2718|      0|        *result = NULL;
 2719|      0|        return -1;
 2720|      0|    }
 2721|       |
 2722|    361|    PyObject *value;
 2723|    361|    Py_ssize_t ix = _Py_dict_lookup(op, key, hash, &value);
 2724|    361|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2724:5): [True: 40, False: 321]
  |  Branch (2724:5): [True: 321, False: 0]
  ------------------
 2725|    361|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|    361|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2725:9): [True: 0, False: 361]
  ------------------
 2726|      0|        *result = NULL;
 2727|      0|        return -1;
 2728|      0|    }
 2729|    361|    if (value == NULL) {
  ------------------
  |  Branch (2729:9): [True: 321, False: 40]
  ------------------
 2730|    321|        *result = NULL;
 2731|    321|        return 0;  // missing key
 2732|    321|    }
 2733|     40|    *result = Py_NewRef(value);
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2734|     40|    return 1;  // key is present
 2735|    361|}
PyDict_GetItemWithError:
 2743|  3.05k|{
 2744|  3.05k|    Py_ssize_t ix; (void)ix;
 2745|  3.05k|    Py_hash_t hash;
 2746|  3.05k|    PyDictObject*mp = (PyDictObject *)op;
 2747|  3.05k|    PyObject *value;
 2748|       |
 2749|  3.05k|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  3.05k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  3.05k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  6.10k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 3.05k, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2750|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2751|      0|        return NULL;
 2752|      0|    }
 2753|  3.05k|    hash = _PyObject_HashDictKey(key);
 2754|  3.05k|    if (hash == -1) {
  ------------------
  |  Branch (2754:9): [True: 0, False: 3.05k]
  ------------------
 2755|      0|        dict_unhashable_type(op, key);
 2756|      0|        return NULL;
 2757|      0|    }
 2758|       |
 2759|       |#ifdef Py_GIL_DISABLED
 2760|       |    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 2761|       |    Py_XDECREF(value);
 2762|       |#else
 2763|  3.05k|    ix = _Py_dict_lookup(mp, key, hash, &value);
 2764|  3.05k|#endif
 2765|  3.05k|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2765:5): [True: 1.00k, False: 2.04k]
  |  Branch (2765:5): [True: 2.04k, False: 0]
  ------------------
 2766|  3.05k|    return value;  // borrowed reference
 2767|  3.05k|}
_PyDict_LoadGlobalStackRef:
 2795|  4.94k|{
 2796|  4.94k|    Py_ssize_t ix;
 2797|  4.94k|    Py_hash_t hash;
 2798|       |
 2799|  4.94k|    hash = _PyObject_HashDictKey(key);
 2800|  4.94k|    if (hash == -1) {
  ------------------
  |  Branch (2800:9): [True: 0, False: 4.94k]
  ------------------
 2801|      0|        *res = PyStackRef_NULL;
 2802|      0|        return NULL;
 2803|      0|    }
 2804|       |
 2805|       |    /* namespace 1: globals */
 2806|  4.94k|    ix = _Py_dict_lookup_threadsafe_stackref(globals, key, hash, res);
 2807|  4.94k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|  4.94k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2807:9): [True: 0, False: 4.94k]
  ------------------
 2808|      0|        return NULL;
 2809|      0|    }
 2810|  4.94k|    if (ix != DKIX_EMPTY && !PyStackRef_IsNull(*res)) {
  ------------------
  |  |  194|  9.89k|#define DKIX_EMPTY (-1)
  ------------------
                  if (ix != DKIX_EMPTY && !PyStackRef_IsNull(*res)) {
  ------------------
  |  |  482|  1.72k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  1.72k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.72k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2810:9): [True: 1.72k, False: 3.22k]
  |  Branch (2810:29): [True: 1.72k, False: 0]
  ------------------
 2811|  1.72k|        return (PyObject *)globals;
 2812|  1.72k|    }
 2813|       |
 2814|       |    /* namespace 2: builtins */
 2815|  3.22k|    ix = _Py_dict_lookup_threadsafe_stackref(builtins, key, hash, res);
 2816|  3.22k|    assert(ix >= 0 || PyStackRef_IsNull(*res));
  ------------------
  |  Branch (2816:5): [True: 3.22k, False: 0]
  |  Branch (2816:5): [True: 0, False: 0]
  ------------------
 2817|  3.22k|    return PyStackRef_IsNull(*res) ? NULL : (PyObject *)builtins;
  ------------------
  |  |  482|  3.22k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  3.22k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.22k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 3.22k]
  |  |  ------------------
  ------------------
 2818|  3.22k|}
_PyDict_LoadBuiltinsFromGlobals:
 2822|  2.42k|{
 2823|  2.42k|    if (!PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|  2.42k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  2.42k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  4.84k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 2.42k, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2824|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2825|      0|        return NULL;
 2826|      0|    }
 2827|       |
 2828|  2.42k|    PyDictObject *mp = (PyDictObject *)globals;
 2829|  2.42k|    PyObject *key = &_Py_ID(__builtins__);
  ------------------
  |  |  951|  2.42k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.42k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.42k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2830|  2.42k|    Py_hash_t hash = unicode_get_hash(key);
 2831|       |
 2832|       |    // Use the stackref variant to avoid reference count contention on the
 2833|       |    // builtins module in the free threading build. It's important not to
 2834|       |    // make any escaping calls between the lookup and the `PyStackRef_CLOSE()`
 2835|       |    // because the `ref` is not visible to the GC.
 2836|  2.42k|    _PyStackRef ref;
 2837|  2.42k|    Py_ssize_t ix = _Py_dict_lookup_threadsafe_stackref(mp, key, hash, &ref);
 2838|  2.42k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|  2.42k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2838:9): [True: 0, False: 2.42k]
  ------------------
 2839|      0|        return NULL;
 2840|      0|    }
 2841|  2.42k|    if (PyStackRef_IsNull(ref)) {
  ------------------
  |  |  482|  2.42k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  2.42k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.42k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 2.42k]
  |  |  ------------------
  ------------------
 2842|      0|        return Py_NewRef(PyEval_GetBuiltins());
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2843|      0|    }
 2844|  2.42k|    PyObject *builtins = PyStackRef_AsPyObjectBorrow(ref);
 2845|  2.42k|    if (PyModule_Check(builtins)) {
  ------------------
  |  |   12|  2.42k|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|  2.42k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 2.42k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2846|      0|        builtins = _PyModule_GetDict(builtins);
 2847|      0|        assert(builtins != NULL);
  ------------------
  |  Branch (2847:9): [True: 0, False: 0]
  ------------------
 2848|      0|    }
 2849|  2.42k|    _Py_INCREF_BUILTINS(builtins);
  ------------------
  |  |  407|  2.42k|#  define _Py_INCREF_BUILTINS Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  2.42k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2850|  2.42k|    PyStackRef_CLOSE(ref);
 2851|  2.42k|    return builtins;
 2852|  2.42k|}
_PyDict_SetItem_Take2:
 2890|  17.3k|{
 2891|  17.3k|    int res;
 2892|  17.3k|    Py_BEGIN_CRITICAL_SECTION(mp);
  ------------------
  |  |   51|  17.3k|    {
  ------------------
 2893|  17.3k|    res = setitem_take2_lock_held(mp, key, value);
 2894|  17.3k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  17.3k|    }
  ------------------
 2895|  17.3k|    return res;
 2896|  17.3k|}
PyDict_SetItem:
 2916|  15.4k|{
 2917|  15.4k|    assert(key);
  ------------------
  |  Branch (2917:5): [True: 15.4k, False: 0]
  ------------------
 2918|  15.4k|    assert(value);
  ------------------
  |  Branch (2918:5): [True: 15.4k, False: 0]
  ------------------
 2919|       |
 2920|  15.4k|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|  15.4k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  15.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2920:9): [True: 0, False: 15.4k]
  ------------------
 2921|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2922|      0|            frozendict_does_not_support("assignment");
  ------------------
  |  | 2855|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2856|      0|                    "not support item " WHAT)
  ------------------
 2923|      0|        }
 2924|      0|        else {
 2925|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2926|      0|        }
 2927|      0|        return -1;
 2928|      0|    }
 2929|       |
 2930|  15.4k|    return _PyDict_SetItem_Take2((PyDictObject *)op,
 2931|  15.4k|                                 Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  647|  15.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  15.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                               Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  647|  15.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  15.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2932|  15.4k|}
PyDict_DelItem:
 3053|    632|{
 3054|    632|    assert(key);
  ------------------
  |  Branch (3054:5): [True: 632, False: 0]
  ------------------
 3055|    632|    Py_hash_t hash = _PyObject_HashDictKey(key);
 3056|    632|    if (hash == -1) {
  ------------------
  |  Branch (3056:9): [True: 0, False: 632]
  ------------------
 3057|      0|        dict_unhashable_type(op, key);
 3058|      0|        return -1;
 3059|      0|    }
 3060|       |
 3061|    632|    return _PyDict_DelItem_KnownHash(op, key, hash);
 3062|    632|}
_PyDict_DelItem_KnownHash_LockHeld:
 3066|    668|{
 3067|    668|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|    668|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    668|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3067:9): [True: 0, False: 668]
  ------------------
 3068|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3069|      0|            frozendict_does_not_support("deletion");
  ------------------
  |  | 2855|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2856|      0|                    "not support item " WHAT)
  ------------------
 3070|      0|        }
 3071|      0|        else {
 3072|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3073|      0|        }
 3074|      0|        return -1;
 3075|      0|    }
 3076|       |
 3077|    668|    Py_ssize_t ix;
 3078|    668|    PyObject *old_value;
 3079|    668|    PyDictObject *mp = (PyDictObject *)op;
 3080|    668|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3080:5): [True: 668, False: 0]
  ------------------
 3081|       |
 3082|    668|    assert(key);
  ------------------
  |  Branch (3082:5): [True: 668, False: 0]
  ------------------
 3083|    668|    assert(hash != -1);
  ------------------
  |  Branch (3083:5): [True: 668, False: 0]
  ------------------
 3084|    668|    ix = _Py_dict_lookup(mp, key, hash, &old_value);
 3085|    668|    if (ix == DKIX_ERROR)
  ------------------
  |  |  196|    668|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3085:9): [True: 0, False: 668]
  ------------------
 3086|      0|        return -1;
 3087|    668|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  194|  1.33k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3087:9): [True: 0, False: 668]
  |  Branch (3087:29): [True: 0, False: 668]
  ------------------
 3088|      0|        _PyErr_SetKeyError(key);
 3089|      0|        return -1;
 3090|      0|    }
 3091|       |
 3092|    668|    _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3093|    668|    delitem_common(mp, hash, ix, old_value);
 3094|    668|    return 0;
 3095|    668|}
_PyDict_DelItem_KnownHash:
 3099|    632|{
 3100|    632|    int res;
 3101|    632|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    632|    {
  ------------------
 3102|    632|    res = _PyDict_DelItem_KnownHash_LockHeld(op, key, hash);
 3103|    632|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    632|    }
  ------------------
 3104|    632|    return res;
 3105|    632|}
_PyDict_DelItemIf:
 3153|    112|{
 3154|    112|    assert(PyDict_Check(op));
  ------------------
  |  Branch (3154:5): [True: 112, False: 0]
  ------------------
 3155|    112|    int res;
 3156|    112|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    112|    {
  ------------------
 3157|    112|    res = delitemif_lock_held(op, key, predicate, arg);
 3158|    112|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    112|    }
  ------------------
 3159|    112|    return res;
 3160|    112|}
PyDict_Clear:
 3267|     14|{
 3268|     14|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     14|    {
  ------------------
 3269|     14|    clear_lock_held(op);
 3270|     14|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     14|    }
  ------------------
 3271|     14|}
_PyDict_Next:
 3281|  28.6k|{
 3282|  28.6k|    Py_ssize_t i;
 3283|  28.6k|    PyDictObject *mp;
 3284|  28.6k|    PyObject *key, *value;
 3285|  28.6k|    Py_hash_t hash;
 3286|       |
 3287|  28.6k|    if (!PyAnyDict_Check(op))
  ------------------
  |  |   43|  28.6k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  28.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  57.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 28.6k, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3288|      0|        return 0;
 3289|       |
 3290|  28.6k|    mp = (PyDictObject *)op;
 3291|  28.6k|    i = *ppos;
 3292|  28.6k|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   61|  28.6k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 28.6k]
  |  |  ------------------
  ------------------
 3293|      0|        assert(mp->ma_used <= SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (3293:9): [True: 0, False: 0]
  ------------------
 3294|      0|        if (i < 0 || i >= mp->ma_used)
  ------------------
  |  Branch (3294:13): [True: 0, False: 0]
  |  Branch (3294:22): [True: 0, False: 0]
  ------------------
 3295|      0|            return 0;
 3296|      0|        int index = get_index_from_order(mp, i);
 3297|      0|        value = mp->ma_values->values[index];
 3298|      0|        key = LOAD_SHARED_KEY(DK_UNICODE_ENTRIES(mp->ma_keys)[index].me_key);
  ------------------
  |  |  260|      0|#define LOAD_SHARED_KEY(key) key
  ------------------
 3299|      0|        hash = unicode_get_hash(key);
 3300|      0|        assert(value != NULL);
  ------------------
  |  Branch (3300:9): [True: 0, False: 0]
  ------------------
 3301|      0|    }
 3302|  28.6k|    else {
 3303|  28.6k|        Py_ssize_t n = mp->ma_keys->dk_nentries;
 3304|  28.6k|        if (i < 0 || i >= n)
  ------------------
  |  Branch (3304:13): [True: 0, False: 28.6k]
  |  Branch (3304:22): [True: 1.87k, False: 26.7k]
  ------------------
 3305|  1.87k|            return 0;
 3306|  26.7k|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  303|  26.7k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 26.6k, False: 124]
  |  |  ------------------
  ------------------
 3307|  26.6k|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(mp->ma_keys)[i];
 3308|  27.7k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (3308:20): [True: 27.7k, False: 76]
  |  Branch (3308:29): [True: 1.13k, False: 26.5k]
  ------------------
 3309|  1.13k|                entry_ptr++;
 3310|  1.13k|                i++;
 3311|  1.13k|            }
 3312|  26.6k|            if (i >= n)
  ------------------
  |  Branch (3312:17): [True: 76, False: 26.5k]
  ------------------
 3313|     76|                return 0;
 3314|  26.5k|            key = entry_ptr->me_key;
 3315|  26.5k|            hash = unicode_get_hash(entry_ptr->me_key);
 3316|  26.5k|            value = entry_ptr->me_value;
 3317|  26.5k|        }
 3318|    124|        else {
 3319|    124|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(mp->ma_keys)[i];
 3320|    124|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (3320:20): [True: 124, False: 0]
  |  Branch (3320:29): [True: 0, False: 124]
  ------------------
 3321|      0|                entry_ptr++;
 3322|      0|                i++;
 3323|      0|            }
 3324|    124|            if (i >= n)
  ------------------
  |  Branch (3324:17): [True: 0, False: 124]
  ------------------
 3325|      0|                return 0;
 3326|    124|            key = entry_ptr->me_key;
 3327|    124|            hash = entry_ptr->me_hash;
 3328|    124|            value = entry_ptr->me_value;
 3329|    124|        }
 3330|  26.7k|    }
 3331|  26.6k|    *ppos = i+1;
 3332|  26.6k|    if (pkey)
  ------------------
  |  Branch (3332:9): [True: 26.6k, False: 0]
  ------------------
 3333|  26.6k|        *pkey = key;
 3334|  26.6k|    if (pvalue)
  ------------------
  |  Branch (3334:9): [True: 24.2k, False: 2.48k]
  ------------------
 3335|  24.2k|        *pvalue = value;
 3336|  26.6k|    if (phash)
  ------------------
  |  Branch (3336:9): [True: 20.5k, False: 6.17k]
  ------------------
 3337|  20.5k|        *phash = hash;
 3338|  26.6k|    return 1;
 3339|  28.6k|}
PyDict_Next:
 3361|  4.07k|{
 3362|       |    return _PyDict_Next(op, ppos, pkey, pvalue, NULL);
 3363|  4.07k|}
_PyDict_Pop_KnownHash:
 3370|    458|{
 3371|    458|    assert(PyDict_Check(mp));
  ------------------
  |  Branch (3371:5): [True: 458, False: 0]
  ------------------
 3372|    458|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3372:5): [True: 458, False: 0]
  ------------------
 3373|       |
 3374|    458|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (3374:9): [True: 0, False: 458]
  ------------------
 3375|      0|        if (result) {
  ------------------
  |  Branch (3375:13): [True: 0, False: 0]
  ------------------
 3376|      0|            *result = NULL;
 3377|      0|        }
 3378|      0|        return 0;
 3379|      0|    }
 3380|       |
 3381|    458|    PyObject *old_value;
 3382|    458|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, &old_value);
 3383|    458|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|    458|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3383:9): [True: 0, False: 458]
  ------------------
 3384|      0|        if (result) {
  ------------------
  |  Branch (3384:13): [True: 0, False: 0]
  ------------------
 3385|      0|            *result = NULL;
 3386|      0|        }
 3387|      0|        return -1;
 3388|      0|    }
 3389|       |
 3390|    458|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  194|    916|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3390:9): [True: 307, False: 151]
  |  Branch (3390:29): [True: 0, False: 151]
  ------------------
 3391|    307|        if (result) {
  ------------------
  |  Branch (3391:13): [True: 77, False: 230]
  ------------------
 3392|     77|            *result = NULL;
 3393|     77|        }
 3394|    307|        return 0;
 3395|    307|    }
 3396|       |
 3397|    458|    assert(old_value != NULL);
  ------------------
  |  Branch (3397:5): [True: 151, False: 0]
  ------------------
 3398|    151|    _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3399|    151|    delitem_common(mp, hash, ix, Py_NewRef(old_value));
  ------------------
  |  |  647|    151|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    151|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    151|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3400|       |
 3401|    151|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|    151|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (3401:5): [True: 151, False: 0]
  ------------------
 3402|    151|    if (result) {
  ------------------
  |  Branch (3402:9): [True: 151, False: 0]
  ------------------
 3403|    151|        *result = old_value;
 3404|    151|    }
 3405|      0|    else {
 3406|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3407|      0|    }
 3408|    151|    return 1;
 3409|    151|}
PyDict_Pop:
 3449|    509|{
 3450|    509|    int err;
 3451|    509|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    509|    {
  ------------------
 3452|    509|    err = pop_lock_held(op, key, result);
 3453|    509|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    509|    }
  ------------------
 3454|       |
 3455|    509|    return err;
 3456|    509|}
_PyDict_FromKeys:
 3550|      6|{
 3551|      6|    PyObject *it = NULL;       /* iter(iterable) */
 3552|      6|    PyObject *d;
 3553|      6|    int need_copy = 0;
 3554|       |
 3555|      6|    if (cls == (PyObject*)&PyFrozenDict_Type) {
  ------------------
  |  Branch (3555:9): [True: 0, False: 6]
  ------------------
 3556|       |        // gh-151722: Create a frozendict which is not tracked by the GC.
 3557|      0|        d = frozendict_new_untracked(&PyFrozenDict_Type);
 3558|      0|    }
 3559|      6|    else {
 3560|       |        // Dict subclass, or frozendict subclass which overrides
 3561|       |        // the constructor.
 3562|      6|        d = _PyObject_CallNoArgs(cls);
 3563|      6|    }
 3564|      6|    if (d == NULL) {
  ------------------
  |  Branch (3564:9): [True: 0, False: 6]
  ------------------
 3565|      0|        return NULL;
 3566|      0|    }
 3567|       |
 3568|       |    // gh-151722: If cls constructor returns a frozendict which is tracked by
 3569|       |    // the GC, create a frozendict copy which is not tracked by the GC.
 3570|       |    //
 3571|       |    // At the function exit, return cls(fd) where fd is a frozendict.
 3572|       |    //
 3573|       |    // Untracking the frozendict requires tracking again the frozendict on
 3574|       |    // error which is more complicated. It's easier to work on a copy.
 3575|      6|    if (PyFrozenDict_Check(d) && _PyObject_GC_IS_TRACKED(d)) {
  ------------------
  |  |   37|      6|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|     12|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  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]
  |  |  ------------------
  ------------------
 3576|      0|        need_copy = 1;
 3577|       |
 3578|      0|        PyObject *copy = frozendict_new_untracked(&PyFrozenDict_Type);
 3579|      0|        if (copy == NULL) {
  ------------------
  |  Branch (3579:13): [True: 0, False: 0]
  ------------------
 3580|      0|            goto Fail;
 3581|      0|        }
 3582|      0|        if (dict_merge(copy, d, 1, NULL) < 0) {
  ------------------
  |  Branch (3582:13): [True: 0, False: 0]
  ------------------
 3583|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3584|      0|            goto Fail;
 3585|      0|        }
 3586|      0|        Py_SETREF(d, copy);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3587|      0|    }
 3588|      6|    if (PyFrozenDict_Check(d)) {
  ------------------
  |  |   37|      6|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      6|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3589|      0|        assert(can_modify_dict((PyDictObject*)d));
  ------------------
  |  Branch (3589:9): [True: 0, False: 0]
  ------------------
 3590|      0|    }
 3591|       |
 3592|      6|    if (PyDict_CheckExact(d)) {
  ------------------
  |  |   19|      6|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3593|      6|        if (PyDict_CheckExact(iterable)) {
  ------------------
  |  |   19|      6|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|      6|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3594|      0|            PyDictObject *mp = (PyDictObject *)d;
 3595|       |
 3596|      0|            Py_BEGIN_CRITICAL_SECTION2(d, iterable);
  ------------------
  |  |   57|      0|    {
  ------------------
 3597|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3598|      0|            Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 3599|      0|            goto Done;
 3600|      0|        }
 3601|      6|        else if (PyFrozenDict_CheckExact(iterable)) {
  ------------------
  |  |   38|      6|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|      6|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3602|      0|            PyDictObject *mp = (PyDictObject *)d;
 3603|       |
 3604|      0|            Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|      0|    {
  ------------------
 3605|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3606|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3607|      0|            goto Done;
 3608|      0|        }
 3609|      6|        else if (PyAnySet_CheckExact(iterable)) {
  ------------------
  |  |   29|      6|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|     12|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|      6|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3610|      0|            PyDictObject *mp = (PyDictObject *)d;
 3611|       |
 3612|      0|            Py_BEGIN_CRITICAL_SECTION2(d, iterable);
  ------------------
  |  |   57|      0|    {
  ------------------
 3613|      0|            d = (PyObject *)dict_set_fromkeys(mp, iterable, value);
 3614|      0|            Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 3615|      0|            goto Done;
 3616|      0|        }
 3617|      6|    }
 3618|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3619|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3620|      0|            PyDictObject *mp = (PyDictObject *)d;
 3621|       |
 3622|      0|            Py_BEGIN_CRITICAL_SECTION(iterable);
  ------------------
  |  |   51|      0|    {
  ------------------
 3623|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3624|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3625|      0|            goto Done;
 3626|      0|        }
 3627|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3628|      0|            PyDictObject *mp = (PyDictObject *)d;
 3629|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3630|      0|            goto Done;
 3631|      0|        }
 3632|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3633|      0|            PyDictObject *mp = (PyDictObject *)d;
 3634|       |
 3635|      0|            Py_BEGIN_CRITICAL_SECTION(iterable);
  ------------------
  |  |   51|      0|    {
  ------------------
 3636|      0|            d = (PyObject *)dict_set_fromkeys(mp, iterable, value);
 3637|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3638|      0|            goto Done;
 3639|      0|        }
 3640|      0|    }
 3641|       |
 3642|      6|    it = PyObject_GetIter(iterable);
 3643|      6|    if (it == NULL){
  ------------------
  |  Branch (3643:9): [True: 0, False: 6]
  ------------------
 3644|      0|        goto Fail;
 3645|      0|    }
 3646|       |
 3647|      6|    if (PyDict_CheckExact(d)) {
  ------------------
  |  |   19|      6|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3648|      6|        int status = 0;
 3649|       |
 3650|      6|        Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|      6|    {
  ------------------
 3651|     22|        while (1) {
  ------------------
  |  Branch (3651:16): [True: 22, Folded]
  ------------------
 3652|     22|            PyObject *key;
 3653|     22|            status = PyIter_NextItem(it, &key);
 3654|     22|            if (status <= 0) {
  ------------------
  |  Branch (3654:17): [True: 6, False: 16]
  ------------------
 3655|      6|                break;
 3656|      6|            }
 3657|       |
 3658|     16|            status = setitem_lock_held((PyDictObject *)d, key, value);
 3659|     16|            Py_DECREF(key);
  ------------------
  |  |  430|     16|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3660|     16|            if (status < 0) {
  ------------------
  |  Branch (3660:17): [True: 0, False: 16]
  ------------------
 3661|      0|                break;
 3662|      0|            }
 3663|     16|        }
 3664|      6|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      6|    }
  ------------------
 3665|       |
 3666|      6|        if (status < 0) {
  ------------------
  |  Branch (3666:13): [True: 0, False: 6]
  ------------------
 3667|      0|            goto Fail;
 3668|      0|        }
 3669|      6|    }
 3670|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3671|      0|        while (1) {
  ------------------
  |  Branch (3671:16): [True: 0, Folded]
  ------------------
 3672|      0|            PyObject *key;
 3673|      0|            int status = PyIter_NextItem(it, &key);
 3674|      0|            if (status < 0) {
  ------------------
  |  Branch (3674:17): [True: 0, False: 0]
  ------------------
 3675|      0|                goto Fail;
 3676|      0|            }
 3677|      0|            if (status == 0) {
  ------------------
  |  Branch (3677:17): [True: 0, False: 0]
  ------------------
 3678|      0|                break;
 3679|      0|            }
 3680|       |
 3681|       |            // setitem_take2_lock_held consumes a reference to key
 3682|      0|            status = setitem_take2_lock_held((PyDictObject *)d,
 3683|      0|                                             key, Py_NewRef(value));
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3684|      0|            if (status < 0) {
  ------------------
  |  Branch (3684:17): [True: 0, False: 0]
  ------------------
 3685|      0|                goto Fail;
 3686|      0|            }
 3687|      0|        }
 3688|      0|    }
 3689|      0|    else {
 3690|      0|        while (1) {
  ------------------
  |  Branch (3690:16): [True: 0, Folded]
  ------------------
 3691|      0|            PyObject *key;
 3692|      0|            int status = PyIter_NextItem(it, &key);
 3693|      0|            if (status < 0) {
  ------------------
  |  Branch (3693:17): [True: 0, False: 0]
  ------------------
 3694|      0|                goto Fail;
 3695|      0|            }
 3696|      0|            if (status == 0) {
  ------------------
  |  Branch (3696:17): [True: 0, False: 0]
  ------------------
 3697|      0|                break;
 3698|      0|            }
 3699|       |
 3700|      0|            status = PyObject_SetItem(d, key, value);
 3701|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3702|      0|            if (status < 0) {
  ------------------
  |  Branch (3702:17): [True: 0, False: 0]
  ------------------
 3703|      0|                goto Fail;
 3704|      0|            }
 3705|      0|        }
 3706|       |
 3707|      0|    }
 3708|       |
 3709|      6|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (3709:5): [True: 6, False: 0]
  ------------------
 3710|      6|    Py_DECREF(it);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3711|      6|    goto Done;
 3712|       |
 3713|      0|Fail:
 3714|      0|    assert(PyErr_Occurred());
  ------------------
  |  Branch (3714:5): [True: 0, False: 0]
  ------------------
 3715|      0|    Py_XDECREF(it);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3716|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3717|      0|    return NULL;
 3718|       |
 3719|      6|Done:
 3720|      6|    if (d == NULL) {
  ------------------
  |  Branch (3720:9): [True: 0, False: 6]
  ------------------
 3721|      0|        return NULL;
 3722|      0|    }
 3723|       |
 3724|      6|    if (need_copy) {
  ------------------
  |  Branch (3724:9): [True: 0, False: 6]
  ------------------
 3725|      0|        PyObject *copy = _PyObject_CallOneArg(cls, d);
  ------------------
  |  |   47|      0|#define _PyObject_CallOneArg PyObject_CallOneArg
  ------------------
 3726|      0|        Py_SETREF(d, copy);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3727|      0|    }
 3728|      6|    else if (!_PyObject_GC_IS_TRACKED(d)) {
  ------------------
  |  |   81|      6|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (3728:14): [True: 0, False: 6]
  ------------------
 3729|      0|        _PyObject_GC_TRACK(d);
  ------------------
  |  |  502|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3730|      0|    }
 3731|      6|    return d;
 3732|      6|}
_PyDict_SubscriptKnownHash:
 3887|    989|{
 3888|    989|    PyDictObject *mp = (PyDictObject *)self;
 3889|    989|    Py_ssize_t ix;
 3890|    989|    PyObject *value;
 3891|       |
 3892|    989|    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 3893|    989|    if (ix == DKIX_ERROR)
  ------------------
  |  |  196|    989|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3893:9): [True: 0, False: 989]
  ------------------
 3894|      0|        return NULL;
 3895|    989|    if (ix == DKIX_EMPTY || value == NULL) {
  ------------------
  |  |  194|  1.97k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3895:9): [True: 231, False: 758]
  |  Branch (3895:29): [True: 0, False: 758]
  ------------------
 3896|    231|        if (!PyAnyDict_CheckExact(mp)) {
  ------------------
  |  |   41|    231|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|    231|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    462|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    231|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    231|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 210, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3897|       |            /* Look up __missing__ method if we're a subclass. */
 3898|     21|            PyObject *missing, *res;
 3899|     21|            missing = _PyObject_LookupSpecial(
 3900|     21|                    (PyObject *)mp, &_Py_ID(__missing__));
  ------------------
  |  |  951|     21|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     21|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     21|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3901|     21|            if (missing != NULL) {
  ------------------
  |  Branch (3901:17): [True: 0, False: 21]
  ------------------
 3902|      0|                res = PyObject_CallOneArg(missing, key);
 3903|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3904|      0|                return res;
 3905|      0|            }
 3906|     21|            else if (PyErr_Occurred())
  ------------------
  |  Branch (3906:22): [True: 0, False: 21]
  ------------------
 3907|      0|                return NULL;
 3908|     21|        }
 3909|    231|        _PyErr_SetKeyError(key);
 3910|    231|        return NULL;
 3911|    231|    }
 3912|    758|    return value;
 3913|    989|}
_PyDict_Subscript:
 3917|    989|{
 3918|    989|    Py_hash_t hash = _PyObject_HashDictKey(key);
 3919|    989|    if (hash == -1) {
  ------------------
  |  Branch (3919:9): [True: 0, False: 989]
  ------------------
 3920|      0|        dict_unhashable_type(self, key);
 3921|      0|        return NULL;
 3922|      0|    }
 3923|    989|    return _PyDict_SubscriptKnownHash(self, key, hash);
 3924|    989|}
_PyDict_StoreSubscript:
 3928|    318|{
 3929|    318|    if (w == NULL)
  ------------------
  |  Branch (3929:9): [True: 117, False: 201]
  ------------------
 3930|    117|        return PyDict_DelItem(mp, v);
 3931|    201|    else
 3932|    201|        return PyDict_SetItem(mp, v, w);
 3933|    318|}
PyDict_Keys:
 3981|     18|{
 3982|     18|    PyObject *res;
 3983|     18|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|     18|    {
  ------------------
 3984|     18|    res = keys_lock_held(dict);
 3985|     18|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     18|    }
  ------------------
 3986|       |
 3987|     18|    return res;
 3988|     18|}
PyDict_Update:
 4513|     84|{
 4514|       |    return dict_merge_api(a, b, 1, NULL);
 4515|     84|}
_PyDict_MergeUniq:
 4526|    302|{
 4527|    302|    return dict_merge_api(a, b, 2, dupkey);
 4528|    302|}
PyDict_Copy:
 4689|    379|{
 4690|    379|    if (o == NULL || !PyDict_Check(o)) {
  ------------------
  |  |   18|    379|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    379|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4690:9): [True: 0, False: 379]
  |  Branch (4690:22): [True: 0, False: 379]
  ------------------
 4691|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4692|      0|        return NULL;
 4693|      0|    }
 4694|       |
 4695|    379|    PyObject *res;
 4696|    379|    Py_BEGIN_CRITICAL_SECTION(o);
  ------------------
  |  |   51|    379|    {
  ------------------
 4697|    379|    res = copy_lock_held_untracked(o, 0);
 4698|    379|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    379|    }
  ------------------
 4699|    379|    if (res != NULL) {
  ------------------
  |  Branch (4699:9): [True: 379, False: 0]
  ------------------
 4700|    379|        _PyObject_GC_TRACK(res);
  ------------------
  |  |  502|    379|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    379|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    379|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4701|    379|    }
 4702|    379|    return res;
 4703|    379|}
_PyDict_CopyAsDict:
 4728|    375|{
 4729|    375|    assert(PyAnyDict_Check(o));
  ------------------
  |  Branch (4729:5): [True: 375, False: 0]
  |  Branch (4729:5): [True: 0, False: 0]
  ------------------
 4730|       |
 4731|    375|    PyObject *res;
 4732|    375|    if (PyFrozenDict_Check(o)) {
  ------------------
  |  |   37|    375|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|    375|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    375|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    375|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 375]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4733|      0|        res = copy_lock_held_untracked(o, 0);
 4734|      0|    }
 4735|    375|    else {
 4736|    375|        Py_BEGIN_CRITICAL_SECTION(o);
  ------------------
  |  |   51|    375|    {
  ------------------
 4737|    375|        res = copy_lock_held_untracked(o, 0);
 4738|    375|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    375|    }
  ------------------
 4739|    375|    }
 4740|    375|    if (res != NULL) {
  ------------------
  |  Branch (4740:9): [True: 375, False: 0]
  ------------------
 4741|    375|        _PyObject_GC_TRACK(res);
  ------------------
  |  |  502|    375|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    375|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    375|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4742|    375|    }
 4743|    375|    return res;
 4744|    375|}
PyDict_Size:
 4748|      5|{
 4749|      5|    if (mp == NULL || !PyAnyDict_Check(mp)) {
  ------------------
  |  |   43|      5|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|      5|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     10|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 5, 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 (4749:9): [True: 0, False: 5]
  ------------------
 4750|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4751|      0|        return -1;
 4752|      0|    }
 4753|      5|    return GET_USED((PyDictObject *)mp);
  ------------------
  |  |  328|      5|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  151|      5|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 4754|      5|}
PyDict_SetDefaultRef:
 5015|  16.6k|{
 5016|  16.6k|    int res;
 5017|  16.6k|    Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|  16.6k|    {
  ------------------
 5018|  16.6k|    res = dict_setdefault_ref_lock_held(d, key, default_value, result, 1);
 5019|  16.6k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  16.6k|    }
  ------------------
 5020|  16.6k|    return res;
 5021|  16.6k|}
_PyDict_KeysSize:
 5267|    787|{
 5268|    787|    size_t es = (keys->dk_kind == DICT_KEYS_GENERAL
  ------------------
  |  Branch (5268:18): [True: 0, False: 787]
  ------------------
 5269|    787|                 ? sizeof(PyDictKeyEntry) : sizeof(PyDictUnicodeEntry));
 5270|    787|    size_t size = sizeof(PyDictKeysObject);
 5271|    787|    size += (size_t)1 << keys->dk_log2_index_bytes;
 5272|    787|    size += USABLE_FRACTION((size_t)DK_SIZE(keys)) * es;
  ------------------
  |  |  590|    787|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
 5273|    787|    return size;
 5274|    787|}
PyDict_Contains:
 5388|  6.50k|{
 5389|  6.50k|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  6.50k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  6.50k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  13.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 6.50k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5390|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 5391|      0|        return -1;
 5392|      0|    }
 5393|       |
 5394|  6.50k|    return dict_contains(op, key);
 5395|  6.50k|}
PyDict_ContainsString:
 5399|    117|{
 5400|    117|    PyObject *key_obj = PyUnicode_FromString(key);
 5401|    117|    if (key_obj == NULL) {
  ------------------
  |  Branch (5401:9): [True: 0, False: 117]
  ------------------
 5402|      0|        return -1;
 5403|      0|    }
 5404|    117|    int res = PyDict_Contains(op, key_obj);
 5405|    117|    Py_DECREF(key_obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5406|    117|    return res;
 5407|    117|}
_PyDict_Contains_KnownHash:
 5412|  6.53k|{
 5413|  6.53k|    PyDictObject *mp = _PyAnyDict_CAST(op);
  ------------------
  |  |  326|  6.53k|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|  6.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5413:24): [True: 6.53k, False: 0]
  |  Branch (5413:24): [True: 0, False: 0]
  ------------------
 5414|      0|    PyObject *value;
 5415|  6.53k|    Py_ssize_t ix;
 5416|       |
 5417|       |#ifdef Py_GIL_DISABLED
 5418|       |    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 5419|       |#else
 5420|  6.53k|    ix = _Py_dict_lookup(mp, key, hash, &value);
 5421|  6.53k|#endif
 5422|  6.53k|    if (ix == DKIX_ERROR)
  ------------------
  |  |  196|  6.53k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (5422:9): [True: 0, False: 6.53k]
  ------------------
 5423|      0|        return -1;
 5424|  6.53k|    if (ix != DKIX_EMPTY && value != NULL) {
  ------------------
  |  |  194|  13.0k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (5424:9): [True: 1.01k, False: 5.52k]
  |  Branch (5424:29): [True: 1.01k, False: 0]
  ------------------
 5425|       |#ifdef Py_GIL_DISABLED
 5426|       |        Py_DECREF(value);
 5427|       |#endif
 5428|  1.01k|        return 1;
 5429|  1.01k|    }
 5430|  5.52k|    return 0;
 5431|  6.53k|}
PyDict_GetItemStringRef:
 5665|    176|{
 5666|    176|    PyObject *key_obj = PyUnicode_FromString(key);
 5667|    176|    if (key_obj == NULL) {
  ------------------
  |  Branch (5667:9): [True: 0, False: 176]
  ------------------
 5668|      0|        *result = NULL;
 5669|      0|        return -1;
 5670|      0|    }
 5671|    176|    int res = PyDict_GetItemRef(v, key_obj, result);
 5672|    176|    Py_DECREF(key_obj);
  ------------------
  |  |  430|    176|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    176|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    176|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5673|    176|    return res;
 5674|    176|}
PyDict_SetItemString:
 5678|  1.90k|{
 5679|  1.90k|    PyObject *kv;
 5680|  1.90k|    int err;
 5681|  1.90k|    kv = PyUnicode_FromString(key);
 5682|  1.90k|    if (kv == NULL)
  ------------------
  |  Branch (5682:9): [True: 0, False: 1.90k]
  ------------------
 5683|      0|        return -1;
 5684|  1.90k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5685|  1.90k|    _PyUnicode_InternImmortal(interp, &kv); /* XXX Should we really? */
 5686|  1.90k|    err = PyDict_SetItem(v, kv, item);
 5687|  1.90k|    Py_DECREF(kv);
  ------------------
  |  |  430|  1.90k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5688|  1.90k|    return err;
 5689|  1.90k|}
_PyDictView_New:
 6576|    114|{
 6577|    114|    _PyDictViewObject *dv;
 6578|    114|    if (dict == NULL) {
  ------------------
  |  Branch (6578:9): [True: 0, False: 114]
  ------------------
 6579|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 6580|      0|        return NULL;
 6581|      0|    }
 6582|    114|    if (!PyAnyDict_Check(dict)) {
  ------------------
  |  |   43|    114|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    114|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    228|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 114, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6583|       |        /* XXX Get rid of this restriction later */
 6584|      0|        PyErr_Format(PyExc_TypeError,
 6585|      0|                     "%s() requires a dict argument, not '%s'",
 6586|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6587|      0|        return NULL;
 6588|      0|    }
 6589|    114|    dv = PyObject_GC_New(_PyDictViewObject, type);
  ------------------
  |  |  181|    114|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    114|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 6590|    114|    if (dv == NULL)
  ------------------
  |  Branch (6590:9): [True: 0, False: 114]
  ------------------
 6591|      0|        return NULL;
 6592|    114|    dv->dv_dict = (PyDictObject *)Py_NewRef(dict);
  ------------------
  |  |  647|    114|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    114|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    114|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6593|    114|    _PyObject_GC_TRACK(dv);
  ------------------
  |  |  502|    114|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    114|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    114|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6594|    114|    return (PyObject *)dv;
 6595|    114|}
_PyDict_NewKeysForClass:
 7374|    280|{
 7375|    280|    int log2_bytes = get_log2_bytes(NEXT_LOG2_SHARED_KEYS_MAX_SIZE);
  ------------------
  |  |  265|    280|#define NEXT_LOG2_SHARED_KEYS_MAX_SIZE 6
  ------------------
 7376|    280|    Py_ssize_t usable = USABLE_FRACTION((size_t)1<<NEXT_LOG2_SHARED_KEYS_MAX_SIZE);
  ------------------
  |  |  590|    280|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
 7377|       |
 7378|    280|    struct _instancekeysobject *shared_keys =
 7379|    280|                          PyMem_Malloc(sizeof(struct _instancekeysobject)
 7380|    280|                          + ((size_t)1 << log2_bytes)
 7381|    280|                          + sizeof(PyDictUnicodeEntry) * usable);
 7382|    280|    if (shared_keys == NULL) {
  ------------------
  |  Branch (7382:9): [True: 0, False: 280]
  ------------------
 7383|      0|        PyErr_Clear();
 7384|      0|        return NULL;
 7385|      0|    }
 7386|       |
 7387|    280|    shared_keys->dsk_owning_type = (PyTypeObject *)cls;
 7388|    280|    PyDictKeysObject* keys = &shared_keys->dsk_keys;
 7389|    280|    init_keys_object(keys, NEXT_LOG2_SHARED_KEYS_MAX_SIZE, log2_bytes, DICT_KEYS_SPLIT,
  ------------------
  |  |  265|    280|#define NEXT_LOG2_SHARED_KEYS_MAX_SIZE 6
  ------------------
 7390|    280|                     SHARED_KEYS_MAX_SIZE, sizeof(PyDictUnicodeEntry));
  ------------------
  |  |  264|    280|#define SHARED_KEYS_MAX_SIZE 30
  ------------------
 7391|    280|    assert(keys->dk_nentries == 0);
  ------------------
  |  Branch (7391:5): [True: 280, False: 0]
  ------------------
 7392|       |    /* Set to max size+1 as it will shrink by one before each new object */
 7393|    280|    if (cls->ht_type.tp_dict) {
  ------------------
  |  Branch (7393:9): [True: 280, False: 0]
  ------------------
 7394|    280|        PyObject *attrs = PyDict_GetItem(cls->ht_type.tp_dict, &_Py_ID(__static_attributes__));
  ------------------
  |  |  951|    280|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    280|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    280|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7395|    280|        if (attrs != NULL && PyTuple_Check(attrs)) {
  ------------------
  |  |   27|    148|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    148|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 148, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7395:13): [True: 148, False: 132]
  ------------------
 7396|    430|            for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(attrs); i++) {
  ------------------
  |  |   27|    430|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    430|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    430|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7396:36): [True: 282, False: 148]
  ------------------
 7397|    282|                PyObject *key = PyTuple_GET_ITEM(attrs, i);
  ------------------
  |  |   29|    282|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    282|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    282|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7397:33): [True: 282, False: 0]
  ------------------
 7398|      0|                Py_hash_t hash;
 7399|    282|                if (PyUnicode_CheckExact(key) && (hash = unicode_get_hash(key)) != -1) {
  ------------------
  |  |  104|    282|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    564|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    282|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    282|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 282, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7399:50): [True: 282, False: 0]
  ------------------
 7400|       |                    /* An attribute stored in a slot never uses the dict. */
 7401|    282|                    PyObject *descr = _PyType_Lookup((PyTypeObject *)cls, key);
 7402|    282|                    if (descr != NULL && Py_IS_TYPE(descr, &PyMemberDescr_Type)) {
  ------------------
  |  |  215|     14|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 5, False: 9]
  |  |  ------------------
  ------------------
  |  Branch (7402:25): [True: 14, False: 268]
  ------------------
 7403|      5|                        continue;
 7404|      5|                    }
 7405|    277|                    if (insert_split_key(keys, key, hash) == DKIX_EMPTY) {
  ------------------
  |  |  194|    277|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7405:25): [True: 0, False: 277]
  ------------------
 7406|      0|                        break;
 7407|      0|                    }
 7408|    277|                }
 7409|    282|            }
 7410|    148|        }
 7411|    280|    }
 7412|    280|    return keys;
 7413|    280|}
_PyDict_RemoveKeysForClass:
 7417|      2|{
 7418|      2|    struct _instancekeysobject *shared_keys = _PyDictKeys_AsSharedKeys(cls->ht_cached_keys);
 7419|      2|    FT_ATOMIC_STORE_PTR_RELEASE(shared_keys->dsk_owning_type, NULL);
  ------------------
  |  |  166|      2|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7420|       |
 7421|      2|    _PyDictKeys_DecRef(cls->ht_cached_keys);
 7422|      2|}
_PyObject_InitInlineValues:
 7426|    706|{
 7427|    706|    assert(tp->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  Branch (7427:5): [True: 706, False: 0]
  ------------------
 7428|    706|    assert(tp->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (7428:5): [True: 706, False: 0]
  ------------------
 7429|    706|    assert(tp->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (7429:5): [True: 706, False: 0]
  ------------------
 7430|    706|    PyDictKeysObject *keys = CACHED_KEYS(tp);
  ------------------
  |  |  911|    706|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7431|    706|    assert(keys != NULL);
  ------------------
  |  Branch (7431:5): [True: 706, False: 0]
  ------------------
 7432|    706|    OBJECT_STAT_INC(inline_values);
  ------------------
  |  |   77|    706|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 7433|       |#ifdef Py_GIL_DISABLED
 7434|       |    Py_ssize_t usable = _Py_atomic_load_ssize_relaxed(&keys->dk_usable);
 7435|       |    if (usable > 1) {
 7436|       |        LOCK_KEYS(keys);
 7437|       |        if (keys->dk_usable > 1) {
 7438|       |            _Py_atomic_store_ssize(&keys->dk_usable, keys->dk_usable - 1);
 7439|       |        }
 7440|       |        UNLOCK_KEYS(keys);
 7441|       |    }
 7442|       |#else
 7443|    706|    if (keys->dk_usable > 1) {
  ------------------
  |  Branch (7443:9): [True: 413, False: 293]
  ------------------
 7444|    413|        keys->dk_usable--;
 7445|    413|    }
 7446|    706|#endif
 7447|    706|    size_t size = shared_keys_usable_size(keys);
 7448|    706|    PyDictValues *values = _PyObject_InlineValues(obj);
 7449|    706|    assert(size < 256);
  ------------------
  |  Branch (7449:5): [True: 706, False: 0]
  ------------------
 7450|    706|    values->capacity = (uint8_t)size;
 7451|    706|    values->size = 0;
 7452|    706|    values->embedded = 1;
 7453|    706|    values->valid = 1;
 7454|  11.0k|    for (size_t i = 0; i < size; i++) {
  ------------------
  |  Branch (7454:24): [True: 10.3k, False: 706]
  ------------------
 7455|  10.3k|        values->values[i] = NULL;
 7456|  10.3k|    }
 7457|       |    _PyObject_ManagedDictPointer(obj)->dict = NULL;
 7458|    706|}
_PyDict_SetItem_LockHeld:
 7525|  2.77k|{
 7526|  2.77k|    if (!PyDict_Check(dict)) {
  ------------------
  |  |   18|  2.77k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.77k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7526:9): [True: 0, False: 2.77k]
  ------------------
 7527|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7528|      0|            if (value == NULL) {
  ------------------
  |  Branch (7528:17): [True: 0, False: 0]
  ------------------
 7529|      0|                frozendict_does_not_support("deletion");
  ------------------
  |  | 2855|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2856|      0|                    "not support item " WHAT)
  ------------------
 7530|      0|            }
 7531|      0|            else {
 7532|      0|                frozendict_does_not_support("assignment");
  ------------------
  |  | 2855|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2856|      0|                    "not support item " WHAT)
  ------------------
 7533|      0|            }
 7534|      0|        }
 7535|      0|        else {
 7536|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 7537|      0|        }
 7538|      0|        return -1;
 7539|      0|    }
 7540|       |
 7541|  2.77k|    if (value == NULL) {
  ------------------
  |  Branch (7541:9): [True: 36, False: 2.73k]
  ------------------
 7542|     36|        Py_hash_t hash = _PyObject_HashDictKey(name);
 7543|     36|        if (hash == -1) {
  ------------------
  |  Branch (7543:13): [True: 0, False: 36]
  ------------------
 7544|      0|            dict_unhashable_type((PyObject*)dict, name);
 7545|      0|            return -1;
 7546|      0|        }
 7547|     36|        return _PyDict_DelItem_KnownHash_LockHeld((PyObject *)dict, name, hash);
 7548|  2.73k|    } else {
 7549|  2.73k|        return setitem_lock_held(dict, name, value);
 7550|  2.73k|    }
 7551|  2.77k|}
_PyObject_StoreInstanceAttribute:
 7672|  1.02k|{
 7673|  1.02k|    PyDictValues *values = _PyObject_InlineValues(obj);
 7674|  1.02k|    if (!FT_ATOMIC_LOAD_UINT8(values->valid)) {
  ------------------
  |  |  156|  1.02k|#define FT_ATOMIC_LOAD_UINT8(value) value
  ------------------
  |  Branch (7674:9): [True: 0, False: 1.02k]
  ------------------
 7675|      0|        PyDictObject *dict;
 7676|      0|        int res;
 7677|       |#ifdef Py_GIL_DISABLED
 7678|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 7679|       |#endif
 7680|      0|        dict = _PyObject_GetManagedDict(obj);
 7681|      0|        Py_XINCREF(dict);
  ------------------
  |  |  611|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7682|       |#ifdef Py_GIL_DISABLED
 7683|       |        Py_END_CRITICAL_SECTION();
 7684|       |#endif
 7685|      0|        if (dict == NULL) {
  ------------------
  |  Branch (7685:13): [True: 0, False: 0]
  ------------------
 7686|      0|            dict = (PyDictObject *)PyObject_GenericGetDict(obj, NULL);
 7687|      0|            if (dict == NULL) {
  ------------------
  |  Branch (7687:17): [True: 0, False: 0]
  ------------------
 7688|      0|                return -1;
 7689|      0|            }
 7690|      0|        }
 7691|      0|        res = store_instance_attr_dict(obj, dict, name, value);
 7692|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7693|      0|        return res;
 7694|      0|    }
 7695|       |
 7696|       |#ifdef Py_GIL_DISABLED
 7697|       |    // We have a valid inline values, at least for now...  There are two potential
 7698|       |    // races with having the values become invalid.  One is the dictionary
 7699|       |    // being detached from the object.  The other is if someone is inserting
 7700|       |    // into the dictionary directly and therefore causing it to resize.
 7701|       |    //
 7702|       |    // If we haven't materialized the dictionary yet we lock on the object, which
 7703|       |    // will also be used to prevent the dictionary from being materialized while
 7704|       |    // we're doing the insertion.  If we race and the dictionary gets created
 7705|       |    // then we'll need to release the object lock and lock the dictionary to
 7706|       |    // prevent resizing.
 7707|       |    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7708|       |    if (dict == NULL) {
 7709|       |        int res;
 7710|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 7711|       |        dict = _PyObject_GetManagedDict(obj);
 7712|       |
 7713|       |        if (dict == NULL) {
 7714|       |            res = store_instance_attr_lock_held(obj, values, name, value);
 7715|       |        }
 7716|       |        Py_END_CRITICAL_SECTION();
 7717|       |
 7718|       |        if (dict == NULL) {
 7719|       |            return res;
 7720|       |        }
 7721|       |    }
 7722|       |    return store_instance_attr_dict(obj, dict, name, value);
 7723|       |#else
 7724|  1.02k|    return store_instance_attr_lock_held(obj, values, name, value);
 7725|  1.02k|#endif
 7726|  1.02k|}
_PyObject_TryGetInstanceAttribute:
 7763|  1.70k|{
 7764|  1.70k|    assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (7764:5): [True: 1.70k, False: 0]
  ------------------
 7765|  1.70k|    PyDictValues *values = _PyObject_InlineValues(obj);
 7766|  1.70k|    if (!FT_ATOMIC_LOAD_UINT8(values->valid)) {
  ------------------
  |  |  156|  1.70k|#define FT_ATOMIC_LOAD_UINT8(value) value
  ------------------
  |  Branch (7766:9): [True: 0, False: 1.70k]
  ------------------
 7767|      0|        return false;
 7768|      0|    }
 7769|       |
 7770|  1.70k|    PyDictKeysObject *keys = CACHED_KEYS(Py_TYPE(obj));
  ------------------
  |  |  911|  1.70k|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7771|  1.70k|    assert(keys != NULL);
  ------------------
  |  Branch (7771:5): [True: 1.70k, False: 0]
  ------------------
 7772|  1.70k|    Py_ssize_t ix = _PyDictKeys_StringLookupSplit(keys, name);
 7773|  1.70k|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  194|  1.70k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7773:9): [True: 199, False: 1.50k]
  ------------------
 7774|    199|        *attr = NULL;
 7775|    199|        return true;
 7776|    199|    }
 7777|       |
 7778|       |#ifdef Py_GIL_DISABLED
 7779|       |    PyObject *value = _Py_atomic_load_ptr_acquire(&values->values[ix]);
 7780|       |    if (value == NULL) {
 7781|       |        if (FT_ATOMIC_LOAD_UINT8(values->valid)) {
 7782|       |            *attr = NULL;
 7783|       |            return true;
 7784|       |        }
 7785|       |    }
 7786|       |    else if (_Py_TryIncrefCompare(&values->values[ix], value)) {
 7787|       |        *attr = value;
 7788|       |        return true;
 7789|       |    }
 7790|       |
 7791|       |    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7792|       |    if (dict == NULL) {
 7793|       |        // No dict, lock the object to prevent one from being
 7794|       |        // materialized...
 7795|       |        bool success = false;
 7796|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 7797|       |
 7798|       |        dict = _PyObject_GetManagedDict(obj);
 7799|       |        if (dict == NULL) {
 7800|       |            // Still no dict, we can read from the values
 7801|       |            assert(values->valid);
 7802|       |            value = values->values[ix];
 7803|       |            *attr = _Py_XNewRefWithLock(value);
 7804|       |            success = true;
 7805|       |        }
 7806|       |
 7807|       |        Py_END_CRITICAL_SECTION();
 7808|       |
 7809|       |        if (success) {
 7810|       |            return true;
 7811|       |        }
 7812|       |    }
 7813|       |
 7814|       |    // We have a dictionary, we'll need to lock it to prevent
 7815|       |    // the values from being resized.
 7816|       |    assert(dict != NULL);
 7817|       |
 7818|       |    bool success;
 7819|       |    Py_BEGIN_CRITICAL_SECTION(dict);
 7820|       |
 7821|       |    if (dict->ma_values == values && FT_ATOMIC_LOAD_UINT8(values->valid)) {
 7822|       |        value = _Py_atomic_load_ptr_consume(&values->values[ix]);
 7823|       |        *attr = _Py_XNewRefWithLock(value);
 7824|       |        success = true;
 7825|       |    } else {
 7826|       |        // Caller needs to lookup from the dictionary
 7827|       |        success = false;
 7828|       |    }
 7829|       |
 7830|       |    Py_END_CRITICAL_SECTION();
 7831|       |
 7832|       |    return success;
 7833|       |#else
 7834|  1.50k|    PyObject *value = values->values[ix];
 7835|  1.50k|    *attr = Py_XNewRef(value);
  ------------------
  |  |  648|  1.50k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7836|       |    return true;
 7837|  1.70k|#endif
 7838|  1.70k|}
PyObject_VisitManagedDict:
 7876|    338|{
 7877|    338|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|    338|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    338|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    338|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7878|    338|    if((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0) {
  ------------------
  |  |  482|    338|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (7878:8): [True: 0, False: 338]
  ------------------
 7879|      0|        return 0;
 7880|      0|    }
 7881|    338|    PyDictObject *dict = _PyObject_ManagedDictPointer(obj)->dict;
 7882|    338|    if (dict != NULL) {
  ------------------
  |  Branch (7882:9): [True: 4, False: 334]
  ------------------
 7883|       |        // GH-130327: If there's a managed dictionary available, we should
 7884|       |        // *always* traverse it. The dict is responsible for traversing the
 7885|       |        // inline values if it points to them.
 7886|      4|        Py_VISIT(dict);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 7887|      4|    }
 7888|    334|    else if (tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|    334|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (7888:14): [True: 334, False: 0]
  ------------------
 7889|    334|        PyDictValues *values = _PyObject_InlineValues(obj);
 7890|    334|        if (values->valid) {
  ------------------
  |  Branch (7890:13): [True: 334, False: 0]
  ------------------
 7891|  7.27k|            for (Py_ssize_t i = 0; i < values->capacity; i++) {
  ------------------
  |  Branch (7891:36): [True: 6.93k, False: 334]
  ------------------
 7892|  6.93k|                Py_VISIT(values->values[i]);
  ------------------
  |  |  194|  6.93k|    do {                                                                \
  |  |  195|  6.93k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.78k, False: 5.15k]
  |  |  ------------------
  |  |  196|  1.78k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.78k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.78k]
  |  |  ------------------
  |  |  198|  1.78k|                return vret;                                            \
  |  |  199|  1.78k|        }                                                               \
  |  |  200|  6.93k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 6.93k]
  |  |  ------------------
  ------------------
 7893|  6.93k|            }
 7894|    334|        }
 7895|    334|    }
 7896|    338|    return 0;
 7897|    338|}
PyObject_ClearManagedDict:
 8119|    544|{
 8120|       |    // This is called when the object is being freed or cleared
 8121|       |    // by the GC and therefore known to have no references.
 8122|    544|    if (Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  213|    544|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    544|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    544|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|    544|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (8122:9): [True: 537, False: 7]
  ------------------
 8123|    537|        PyDictObject *dict = _PyObject_GetManagedDict(obj);
 8124|    537|        if (dict == NULL) {
  ------------------
  |  Branch (8124:13): [True: 537, False: 0]
  ------------------
 8125|       |            // We have no materialized dictionary and inline values
 8126|       |            // that just need to be cleared.
 8127|       |            // No dict to clear, we're done
 8128|    537|            clear_inline_values(_PyObject_InlineValues(obj));
 8129|    537|            return;
 8130|    537|        }
 8131|      0|        if (FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_values) ==
  ------------------
  |  |  152|      0|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  |  Branch (8131:13): [True: 0, False: 0]
  ------------------
 8132|      0|                    _PyObject_InlineValues(obj)) {
 8133|       |            // We have a materialized object which points at the inline
 8134|       |            // values. We need to materialize the keys. Nothing can modify
 8135|       |            // this object, but we need to lock the dictionary.
 8136|      0|            int err;
 8137|      0|            Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|      0|    {
  ------------------
 8138|      0|            err = detach_dict_from_object(dict, obj);
 8139|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 8140|       |
 8141|      0|            if (err) {
  ------------------
  |  Branch (8141:17): [True: 0, False: 0]
  ------------------
 8142|       |                /* Must be out of memory */
 8143|      0|                assert(PyErr_Occurred() == PyExc_MemoryError);
  ------------------
  |  Branch (8143:17): [True: 0, False: 0]
  ------------------
 8144|      0|                PyErr_FormatUnraisable("Exception ignored while "
 8145|      0|                                       "clearing an object managed dict");
 8146|       |                /* Clear the dict */
 8147|      0|                Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|      0|    {
  ------------------
 8148|      0|                PyDictKeysObject *oldkeys = dict->ma_keys;
 8149|      0|                ensure_shared_on_resize(dict);
 8150|      0|                set_keys(dict, Py_EMPTY_KEYS);
  ------------------
  |  |  660|      0|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 8151|      0|                dict->ma_values = NULL;
 8152|      0|                dictkeys_decref(oldkeys, IS_DICT_SHARED(dict));
  ------------------
  |  |  269|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 8153|      0|                STORE_USED(dict, 0);
  ------------------
  |  |  336|      0|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 8154|      0|                clear_inline_values(_PyObject_InlineValues(obj));
 8155|      0|                Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 8156|      0|            }
 8157|      0|        }
 8158|      0|    }
 8159|      7|    Py_CLEAR(_PyObject_ManagedDictPointer(obj)->dict);
  ------------------
  |  |  487|      7|    do { \
  |  |  488|      7|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      7|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      7|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 7, False: 0]
  |  |  ------------------
  |  |  491|      7|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      7|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      7|        } \
  |  |  494|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 8160|      7|}
PyObject_GenericGetDict:
 8235|     40|{
 8236|     40|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8237|     40|    if (_PyType_HasFeature(tp, Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|     40|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (8237:9): [True: 0, False: 40]
  ------------------
 8238|      0|        return Py_XNewRef(ensure_managed_dict(obj));
  ------------------
  |  |  648|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8239|      0|    }
 8240|     40|    else {
 8241|     40|        PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 8242|     40|        if (dictptr == NULL) {
  ------------------
  |  Branch (8242:13): [True: 0, False: 40]
  ------------------
 8243|      0|            PyErr_SetString(PyExc_AttributeError,
 8244|      0|                            "This object has no __dict__");
 8245|      0|            return NULL;
 8246|      0|        }
 8247|       |
 8248|     40|        return Py_XNewRef(ensure_nonmanaged_dict(obj, dictptr));
  ------------------
  |  |  648|     40|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8249|     40|    }
 8250|     40|}
_PyObjectDict_SetItem:
 8255|  2.41k|{
 8256|  2.41k|    PyObject *dict;
 8257|  2.41k|    int res;
 8258|       |
 8259|  2.41k|    assert(dictptr != NULL);
  ------------------
  |  Branch (8259:5): [True: 2.41k, False: 0]
  ------------------
 8260|  2.41k|    dict = ensure_nonmanaged_dict(obj, dictptr);
 8261|  2.41k|    if (dict == NULL) {
  ------------------
  |  Branch (8261:9): [True: 0, False: 2.41k]
  ------------------
 8262|      0|        return -1;
 8263|      0|    }
 8264|       |
 8265|  2.41k|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|  2.41k|    {
  ------------------
 8266|  2.41k|    res = _PyDict_SetItem_LockHeld((PyDictObject *)dict, key, value);
 8267|  2.41k|    ASSERT_CONSISTENT(dict);
  ------------------
  |  |  668|  2.41k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (8267:5): [True: 2.41k, False: 0]
  ------------------
 8268|  2.41k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.41k|    }
  ------------------
 8269|  2.41k|    return res;
 8270|  2.41k|}
_PyDictKeys_DecRef:
 8274|      2|{
 8275|       |    dictkeys_decref(keys, false);
 8276|      2|}
_PyDictKeys_GetVersionForCurrentState:
 8305|  1.89k|{
 8306|  1.89k|    uint32_t dk_version = FT_ATOMIC_LOAD_UINT32_RELAXED(dictkeys->dk_version);
  ------------------
  |  |  161|  1.89k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  ------------------
 8307|  1.89k|    if (dk_version != 0) {
  ------------------
  |  Branch (8307:9): [True: 1.76k, False: 124]
  ------------------
 8308|  1.76k|        return dk_version;
 8309|  1.76k|    }
 8310|    124|    dk_version = get_next_dict_keys_version(interp);
 8311|    124|    FT_ATOMIC_STORE_UINT32_RELAXED(dictkeys->dk_version, dk_version);
  ------------------
  |  |  175|    124|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 8312|    124|    return dk_version;
 8313|  1.89k|}
_PyDict_GetKeysVersionForCurrentState:
 8318|  1.63k|{
 8319|  1.63k|    ASSERT_DICT_LOCKED((PyObject *) dict);
 8320|  1.63k|    uint32_t dk_version =
 8321|  1.63k|        _PyDictKeys_GetVersionForCurrentState(interp, dict->ma_keys);
 8322|  1.63k|    ensure_shared_on_keys_version_assignment(dict);
 8323|  1.63k|    return dk_version;
 8324|  1.63k|}
PyDict_Watch:
 8348|  1.52k|{
 8349|  1.52k|    if (!PyDict_Check(dict)) {
  ------------------
  |  |   18|  1.52k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.52k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (8349:9): [True: 0, False: 1.52k]
  ------------------
 8350|      0|        PyErr_SetString(PyExc_ValueError, "Cannot watch non-dictionary");
 8351|      0|        return -1;
 8352|      0|    }
 8353|  1.52k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 8354|  1.52k|    if (validate_watcher_id(interp, watcher_id)) {
  ------------------
  |  Branch (8354:9): [True: 0, False: 1.52k]
  ------------------
 8355|      0|        return -1;
 8356|      0|    }
 8357|  1.52k|    FT_ATOMIC_OR_UINT64(((PyDictObject*)dict)->_ma_watcher_tag,
  ------------------
  |  |  177|  1.52k|#define FT_ATOMIC_OR_UINT64(value, new_value) (void)(value |= new_value)
  ------------------
 8358|  1.52k|                        1ULL << watcher_id);
 8359|  1.52k|    return 0;
 8360|  1.52k|}
_PyDict_SendEvent:
 8435|  7.38k|{
 8436|  7.38k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 8437|  66.4k|    for (int i = 0; i < DICT_MAX_WATCHERS; i++) {
  ------------------
  |  |   11|  66.4k|#define DICT_MAX_WATCHERS 8
  ------------------
  |  Branch (8437:21): [True: 59.0k, False: 7.38k]
  ------------------
 8438|  59.0k|        if (watcher_bits & 1) {
  ------------------
  |  Branch (8438:13): [True: 7.38k, False: 51.6k]
  ------------------
 8439|  7.38k|            PyDict_WatchCallback cb = FT_ATOMIC_LOAD_PTR_ACQUIRE(
  ------------------
  |  |  152|  7.38k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 8440|  7.38k|                interp->dict_state.watchers[i]);
 8441|  7.38k|            if (cb && (cb(event, (PyObject*)mp, key, value) < 0)) {
  ------------------
  |  Branch (8441:17): [True: 7.38k, False: 0]
  |  Branch (8441:23): [True: 0, False: 7.38k]
  ------------------
 8442|       |                // We don't want to resurrect the dict by potentially having an
 8443|       |                // unraisablehook keep a reference to it, so we don't pass the
 8444|       |                // dict as context, just an informative string message.  Dict
 8445|       |                // repr can call arbitrary code, so we invent a simpler version.
 8446|      0|                PyErr_FormatUnraisable(
 8447|      0|                    "Exception ignored in %s watcher callback for <dict at %p>",
 8448|      0|                    dict_event_name(event), mp);
 8449|      0|            }
 8450|  7.38k|        }
 8451|  59.0k|        watcher_bits >>= 1;
 8452|  59.0k|    }
 8453|  7.38k|}
dictobject.c:dictkeys_get_index:
  528|   266k|{
  529|   266k|    int log2size = DK_LOG_SIZE(keys);
  ------------------
  |  |  281|   266k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  313|   266k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  530|   266k|    Py_ssize_t ix;
  531|       |
  532|   266k|    if (log2size < 8) {
  ------------------
  |  Branch (532:9): [True: 162k, False: 103k]
  ------------------
  533|   162k|        ix = LOAD_INDEX(keys, 8, i);
  ------------------
  |  |  271|   162k|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  534|   162k|    }
  535|   103k|    else if (log2size < 16) {
  ------------------
  |  Branch (535:14): [True: 103k, False: 0]
  ------------------
  536|   103k|        ix = LOAD_INDEX(keys, 16, i);
  ------------------
  |  |  271|   103k|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  537|   103k|    }
  538|      0|#if SIZEOF_VOID_P > 4
  539|      0|    else if (log2size >= 32) {
  ------------------
  |  Branch (539:14): [True: 0, False: 0]
  ------------------
  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|      0|#endif
  543|      0|    else {
  544|      0|        ix = LOAD_INDEX(keys, 32, i);
  ------------------
  |  |  271|      0|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  545|      0|    }
  546|   266k|    assert(ix >= DKIX_DUMMY);
  ------------------
  |  Branch (546:5): [True: 266k, False: 0]
  ------------------
  547|   266k|    return ix;
  548|   266k|}
dictobject.c:unicode_get_hash:
  451|   135k|{
  452|   135k|    return PyUnstable_Unicode_GET_CACHED_HASH(o);
  453|   135k|}
dictobject.c:new_dict:
  973|  3.07k|{
  974|  3.07k|    PyDictObject *mp = _Py_FREELIST_POP(PyDictObject, dicts);
  ------------------
  |  |   43|  3.07k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  3.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  975|  3.07k|    if (mp == NULL) {
  ------------------
  |  Branch (975:9): [True: 1.41k, False: 1.65k]
  ------------------
  976|  1.41k|        mp = PyObject_GC_New(PyDictObject, &PyDict_Type);
  ------------------
  |  |  181|  1.41k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  1.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  977|  1.41k|    }
  978|  3.07k|    assert(mp == NULL || Py_IS_TYPE(mp, &PyDict_Type));
  ------------------
  |  Branch (978:5): [True: 0, False: 3.07k]
  |  Branch (978:5): [True: 3.07k, False: 0]
  ------------------
  979|       |
  980|  3.07k|    return new_dict_impl(mp, keys, values, used, free_values_on_failure, 0, 1);
  981|  3.07k|}
dictobject.c:new_dict_impl:
  945|  3.83k|{
  946|  3.83k|    assert(keys != NULL);
  ------------------
  |  Branch (946:5): [True: 3.83k, False: 0]
  ------------------
  947|  3.83k|    if (mp == NULL) {
  ------------------
  |  Branch (947:9): [True: 0, False: 3.83k]
  ------------------
  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|  3.83k|    mp->ma_keys = keys;
  956|  3.83k|    mp->ma_values = values;
  957|  3.83k|    mp->ma_used = used;
  958|  3.83k|    mp->_ma_watcher_tag = 0;
  959|  3.83k|    if (frozendict) {
  ------------------
  |  Branch (959:9): [True: 0, False: 3.83k]
  ------------------
  960|      0|        ((PyFrozenDictObject *)mp)->ma_hash = -1;
  961|      0|    }
  962|  3.83k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  3.83k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (962:5): [True: 3.83k, False: 0]
  ------------------
  963|  3.83k|    if (gc_track) {
  ------------------
  |  Branch (963:9): [True: 3.07k, False: 752]
  ------------------
  964|  3.07k|        _PyObject_GC_TRACK(mp);
  ------------------
  |  |  502|  3.07k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  965|  3.07k|    }
  966|  3.83k|    return (PyObject *)mp;
  967|  3.83k|}
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:
 1252|    303|{
 1253|    303|    return PyUnicode_CheckExact(key) && (dk->dk_kind != DICT_KEYS_GENERAL);
  ------------------
  |  |  104|    303|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    606|#  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: 303, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1253:41): [True: 303, False: 0]
  ------------------
 1254|    303|}
dictobject.c:hash_unicode_key:
 1258|    623|{
 1259|    623|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1259:5): [True: 623, False: 0]
  ------------------
 1260|    623|    Py_hash_t hash = unicode_get_hash(key);
 1261|    623|    if (hash == -1) {
  ------------------
  |  Branch (1261:9): [True: 0, False: 623]
  ------------------
 1262|      0|        hash = PyUnicode_Type.tp_hash(key);
 1263|      0|        assert(hash != -1);
  ------------------
  |  Branch (1263:9): [True: 0, False: 0]
  ------------------
 1264|      0|    }
 1265|    623|    return hash;
 1266|    623|}
dictobject.c:unicodekeys_lookup_unicode:
 1212|  93.4k|{
 1213|       |    return do_lookup(NULL, dk, key, hash, compare_unicode_unicode);
 1214|  93.4k|}
dictobject.c:compare_unicode_unicode:
 1198|  97.2k|{
 1199|  97.2k|    PyDictUnicodeEntry *ep = &((PyDictUnicodeEntry *)ep0)[ix];
 1200|  97.2k|    PyObject *ep_key = FT_ATOMIC_LOAD_PTR_CONSUME(ep->me_key);
  ------------------
  |  |  153|  97.2k|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  ------------------
 1201|  97.2k|    assert(ep_key != NULL);
  ------------------
  |  Branch (1201:5): [True: 97.2k, False: 0]
  ------------------
 1202|  97.2k|    assert(PyUnicode_CheckExact(ep_key));
  ------------------
  |  Branch (1202:5): [True: 97.2k, False: 0]
  ------------------
 1203|  97.2k|    if (ep_key == key ||
  ------------------
  |  Branch (1203:9): [True: 33.6k, False: 63.6k]
  ------------------
 1204|  63.6k|            (unicode_get_hash(ep_key) == hash && unicode_eq(ep_key, key))) {
  ------------------
  |  Branch (1204:14): [True: 4.79k, False: 58.8k]
  |  Branch (1204:50): [True: 4.79k, False: 0]
  ------------------
 1205|  38.4k|        return 1;
 1206|  38.4k|    }
 1207|  58.8k|    return 0;
 1208|  97.2k|}
dictobject.c:unicodekeys_lookup_split:
 1276|  2.06k|{
 1277|  2.06k|    Py_ssize_t ix;
 1278|  2.06k|    assert(dk->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  Branch (1278:5): [True: 2.06k, False: 0]
  ------------------
 1279|  2.06k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1279:5): [True: 2.06k, False: 0]
  ------------------
 1280|       |
 1281|       |#ifdef Py_GIL_DISABLED
 1282|       |    // A split dictionaries keys can be mutated by other dictionaries
 1283|       |    // but if we have a unicode key we can avoid locking the shared
 1284|       |    // keys.
 1285|       |    ix = unicodekeys_lookup_unicode_threadsafe(dk, key, hash);
 1286|       |    if (ix == DKIX_KEY_CHANGED) {
 1287|       |        LOCK_KEYS(dk);
 1288|       |        ix = unicodekeys_lookup_unicode(dk, key, hash);
 1289|       |        UNLOCK_KEYS(dk);
 1290|       |    }
 1291|       |#else
 1292|  2.06k|    ix = unicodekeys_lookup_unicode(dk, key, hash);
 1293|  2.06k|#endif
 1294|  2.06k|    return ix;
 1295|  2.06k|}
dictobject.c:unicodekeys_lookup_generic:
 1191|      8|{
 1192|      8|    return do_lookup(mp, dk, key, hash, compare_unicode_generic);
 1193|      8|}
dictobject.c:dictkeys_generic_lookup:
 1246|  2.08k|{
 1247|  2.08k|    return do_lookup(mp, dk, key, hash, compare_generic);
 1248|  2.08k|}
dictobject.c:compare_generic:
 1219|  2.07k|{
 1220|  2.07k|    PyDictKeyEntry *ep = &((PyDictKeyEntry *)ep0)[ix];
 1221|  2.07k|    assert(ep->me_key != NULL);
  ------------------
  |  Branch (1221:5): [True: 2.07k, False: 0]
  ------------------
 1222|  2.07k|    if (ep->me_key == key) {
  ------------------
  |  Branch (1222:9): [True: 241, False: 1.83k]
  ------------------
 1223|    241|        return 1;
 1224|    241|    }
 1225|  1.83k|    if (ep->me_hash == hash) {
  ------------------
  |  Branch (1225:9): [True: 17, False: 1.81k]
  ------------------
 1226|     17|        PyObject *startkey = ep->me_key;
 1227|     17|        Py_INCREF(startkey);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1228|     17|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|     17|#define Py_EQ 2
  ------------------
 1229|     17|        Py_DECREF(startkey);
  ------------------
  |  |  430|     17|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1230|     17|        if (cmp < 0) {
  ------------------
  |  Branch (1230:13): [True: 0, False: 17]
  ------------------
 1231|      0|            return DKIX_ERROR;
  ------------------
  |  |  196|      0|#define DKIX_ERROR (-3)
  ------------------
 1232|      0|        }
 1233|     17|        if (dk == mp->ma_keys && ep->me_key == startkey) {
  ------------------
  |  Branch (1233:13): [True: 17, False: 0]
  |  Branch (1233:34): [True: 17, False: 0]
  ------------------
 1234|     17|            return cmp;
 1235|     17|        }
 1236|      0|        else {
 1237|       |            /* The dict was mutated, restart */
 1238|      0|            return DKIX_KEY_CHANGED;
  ------------------
  |  |  197|      0|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
 1239|      0|        }
 1240|     17|    }
 1241|  1.81k|    return 0;
 1242|  1.83k|}
dictobject.c:can_modify_dict:
  306|  66.7k|{
  307|  66.7k|    if (PyFrozenDict_Check(mp)) {
  ------------------
  |  |   37|  66.7k|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  66.7k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  66.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  66.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 3, False: 66.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|  66.7k|    else {
  317|       |        // Locking is only required if the dictionary is not
  318|       |        // uniquely referenced.
  319|  66.7k|        ASSERT_DICT_LOCKED(mp);
  320|  66.7k|    }
  321|  66.7k|    return 1;
  322|  66.7k|}
dictobject.c:dict_new_presized:
 2360|    800|{
 2361|    800|    const uint8_t log2_max_presize = 17;
 2362|    800|    const Py_ssize_t max_presize = ((Py_ssize_t)1) << log2_max_presize;
 2363|    800|    uint8_t log2_newsize;
 2364|    800|    PyDictKeysObject *new_keys;
 2365|       |
 2366|    800|    if (minused <= USABLE_FRACTION(PyDict_MINSIZE)) {
  ------------------
  |  |  590|    800|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (2366:9): [True: 784, False: 16]
  ------------------
 2367|    784|        return PyDict_New();
 2368|    784|    }
 2369|       |    /* There are no strict guarantee that returned dict can contain minused
 2370|       |     * items without resize.  So we create medium size dict instead of very
 2371|       |     * large dict or MemoryError.
 2372|       |     */
 2373|     16|    if (minused > USABLE_FRACTION(max_presize)) {
  ------------------
  |  |  590|     16|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (2373:9): [True: 0, False: 16]
  ------------------
 2374|      0|        log2_newsize = log2_max_presize;
 2375|      0|    }
 2376|     16|    else {
 2377|     16|        log2_newsize = estimate_log2_keysize(minused);
 2378|     16|    }
 2379|       |
 2380|     16|    new_keys = new_keys_object(log2_newsize, unicode);
 2381|     16|    if (new_keys == NULL)
  ------------------
  |  Branch (2381:9): [True: 0, False: 16]
  ------------------
 2382|      0|        return NULL;
 2383|     16|    return new_dict(new_keys, NULL, 0, 0);
 2384|     16|}
dictobject.c:estimate_log2_keysize:
  622|     17|{
  623|     17|    return calculate_log2_keysize((n*3 + 1) / 2);
  624|     17|}
dictobject.c:calculate_log2_keysize:
  595|  1.87k|{
  596|  1.87k|#if SIZEOF_LONG == SIZEOF_SIZE_T
  597|  1.87k|    minsize = Py_MAX(minsize, PyDict_MINSIZE);
  ------------------
  |  |  133|  1.87k|       __extension__ \
  |  |  134|  1.87k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  1.87k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  1.87k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  1.87k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  1.87k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 1.84k, False: 33]
  |  |  ------------------
  ------------------
  598|  1.87k|    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|  1.87k|}
dictobject.c:new_keys_object:
  849|  3.82k|{
  850|  3.82k|    Py_ssize_t usable = USABLE_FRACTION((size_t)1<<log2_size);
  ------------------
  |  |  590|  3.82k|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  851|  3.82k|    size_t entry_size = unicode ? sizeof(PyDictUnicodeEntry) : sizeof(PyDictKeyEntry);
  ------------------
  |  Branch (851:25): [True: 3.50k, False: 314]
  ------------------
  852|       |
  853|  3.82k|    int log2_bytes = get_log2_bytes(log2_size);
  854|       |
  855|  3.82k|    PyDictKeysObject *dk = NULL;
  856|  3.82k|    if (log2_size == PyDict_LOG_MINSIZE && unicode) {
  ------------------
  |  |  115|  7.64k|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (856:9): [True: 1.98k, False: 1.84k]
  |  Branch (856:44): [True: 1.76k, False: 219]
  ------------------
  857|  1.76k|        dk = _Py_FREELIST_POP_MEM(dictkeys);
  ------------------
  |  |   48|  1.76k|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
  858|  1.76k|    }
  859|  3.82k|    if (dk == NULL) {
  ------------------
  |  Branch (859:9): [True: 2.48k, False: 1.33k]
  ------------------
  860|  2.48k|        dk = PyMem_Malloc(sizeof(PyDictKeysObject)
  861|  2.48k|                          + ((size_t)1 << log2_bytes)
  862|  2.48k|                          + entry_size * usable);
  863|  2.48k|        if (dk == NULL) {
  ------------------
  |  Branch (863:13): [True: 0, False: 2.48k]
  ------------------
  864|      0|            PyErr_NoMemory();
  865|      0|            return NULL;
  866|      0|        }
  867|  2.48k|    }
  868|  3.82k|    init_keys_object(dk, log2_size, log2_bytes,
  869|  3.82k|                     unicode ? DICT_KEYS_UNICODE : DICT_KEYS_GENERAL,
  ------------------
  |  Branch (869:22): [True: 3.50k, False: 314]
  ------------------
  870|  3.82k|                     usable, entry_size);
  871|  3.82k|    return dk;
  872|  3.82k|}
dictobject.c:dict_getitem:
 2442|    280|{
 2443|    280|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|    280|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    280|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    560|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 280, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2444|      0|        return NULL;
 2445|      0|    }
 2446|    280|    PyDictObject *mp = (PyDictObject *)op;
 2447|       |
 2448|    280|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2449|    280|    if (hash == -1) {
  ------------------
  |  Branch (2449:9): [True: 0, False: 280]
  ------------------
 2450|      0|        PyErr_FormatUnraisable(warnmsg);
 2451|      0|        return NULL;
 2452|      0|    }
 2453|       |
 2454|    280|    PyThreadState *tstate = _PyThreadState_GET();
 2455|       |#ifdef Py_DEBUG
 2456|       |    // bpo-40839: Before Python 3.10, it was possible to call PyDict_GetItem()
 2457|       |    // with the GIL released.
 2458|       |    _Py_EnsureTstateNotNULL(tstate);
 2459|       |#endif
 2460|       |
 2461|       |    /* Preserve the existing exception */
 2462|    280|    PyObject *value;
 2463|    280|    Py_ssize_t ix; (void)ix;
 2464|       |
 2465|    280|    PyObject *exc = _PyErr_GetRaisedException(tstate);
 2466|       |#ifdef Py_GIL_DISABLED
 2467|       |    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 2468|       |    Py_XDECREF(value);
 2469|       |#else
 2470|    280|    ix = _Py_dict_lookup(mp, key, hash, &value);
 2471|    280|#endif
 2472|       |
 2473|       |    /* Ignore any exception raised by the lookup */
 2474|    280|    PyObject *exc2 = _PyErr_Occurred(tstate);
 2475|    280|    if (exc2 && !PyErr_GivenExceptionMatches(exc2, PyExc_KeyError)) {
  ------------------
  |  Branch (2475:9): [True: 0, False: 280]
  |  Branch (2475:17): [True: 0, False: 0]
  ------------------
 2476|      0|        PyErr_FormatUnraisable(warnmsg);
 2477|      0|    }
 2478|    280|    _PyErr_SetRaisedException(tstate, exc);
 2479|       |
 2480|    280|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2480:5): [True: 148, False: 132]
  |  Branch (2480:5): [True: 132, False: 0]
  ------------------
 2481|    280|    return value;  // borrowed reference
 2482|    280|}
dictobject.c:do_lookup:
 1119|  95.5k|{
 1120|  95.5k|    void *ep0 = _DK_ENTRIES(dk);
 1121|  95.5k|    size_t mask = DK_MASK(dk);
  ------------------
  |  |  467|  95.5k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  283|  95.5k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  281|  95.5k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  313|  95.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1122|  95.5k|    size_t perturb = hash;
 1123|  95.5k|    size_t i = (size_t)hash & mask;
 1124|  95.5k|    Py_ssize_t ix;
 1125|   115k|    for (;;) {
 1126|   115k|        ix = dictkeys_get_index(dk, i);
 1127|   115k|        if (ix >= 0) {
  ------------------
  |  Branch (1127:13): [True: 74.1k, False: 40.9k]
  ------------------
 1128|  74.1k|            int cmp = check_lookup(mp, dk, ep0, ix, key, hash);
 1129|  74.1k|            if (cmp < 0) {
  ------------------
  |  Branch (1129:17): [True: 0, False: 74.1k]
  ------------------
 1130|      0|                return cmp;
 1131|  74.1k|            } else if (cmp) {
  ------------------
  |  Branch (1131:24): [True: 32.7k, False: 41.3k]
  ------------------
 1132|  32.7k|                return ix;
 1133|  32.7k|            }
 1134|  74.1k|        }
 1135|  40.9k|        else if (ix == DKIX_EMPTY) {
  ------------------
  |  |  194|  40.9k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1135:18): [True: 39.9k, False: 998]
  ------------------
 1136|  39.9k|            return DKIX_EMPTY;
  ------------------
  |  |  194|  39.9k|#define DKIX_EMPTY (-1)
  ------------------
 1137|  39.9k|        }
 1138|  42.3k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  42.3k|#define PERTURB_SHIFT 5
  ------------------
 1139|  42.3k|        i = mask & (i*5 + perturb + 1);
 1140|       |
 1141|       |        // Manual loop unrolling
 1142|  42.3k|        ix = dictkeys_get_index(dk, i);
 1143|  42.3k|        if (ix >= 0) {
  ------------------
  |  Branch (1143:13): [True: 25.1k, False: 17.1k]
  ------------------
 1144|  25.1k|            int cmp = check_lookup(mp, dk, ep0, ix, key, hash);
 1145|  25.1k|            if (cmp < 0) {
  ------------------
  |  Branch (1145:17): [True: 0, False: 25.1k]
  ------------------
 1146|      0|                return cmp;
 1147|  25.1k|            } else if (cmp) {
  ------------------
  |  Branch (1147:24): [True: 5.90k, False: 19.2k]
  ------------------
 1148|  5.90k|                return ix;
 1149|  5.90k|            }
 1150|  25.1k|        }
 1151|  17.1k|        else if (ix == DKIX_EMPTY) {
  ------------------
  |  |  194|  17.1k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1151:18): [True: 16.9k, False: 260]
  ------------------
 1152|  16.9k|            return DKIX_EMPTY;
  ------------------
  |  |  194|  16.9k|#define DKIX_EMPTY (-1)
  ------------------
 1153|  16.9k|        }
 1154|  19.5k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  19.5k|#define PERTURB_SHIFT 5
  ------------------
 1155|  19.5k|        i = mask & (i*5 + perturb + 1);
 1156|  19.5k|    }
 1157|      0|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1158|  95.5k|}
dictobject.c:setitem_take2_lock_held:
 2876|  21.0k|{
 2877|  21.0k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2878|  21.0k|    if (hash == -1) {
  ------------------
  |  Branch (2878:9): [True: 0, False: 21.0k]
  ------------------
 2879|      0|        dict_unhashable_type((PyObject*)mp, key);
 2880|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2881|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2882|      0|        return -1;
 2883|      0|    }
 2884|       |
 2885|  21.0k|    return setitem_take2_lock_held_known_hash(mp, key, value, hash);
 2886|  21.0k|}
dictobject.c:setitem_take2_lock_held_known_hash:
 2861|  21.0k|{
 2862|  21.0k|    assert(PyAnyDict_Check(mp));
  ------------------
  |  Branch (2862:5): [True: 21.0k, False: 0]
  |  Branch (2862:5): [True: 0, False: 0]
  ------------------
 2863|  21.0k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2863:5): [True: 21.0k, False: 0]
  ------------------
 2864|  21.0k|    assert(key);
  ------------------
  |  Branch (2864:5): [True: 21.0k, False: 0]
  ------------------
 2865|  21.0k|    assert(value);
  ------------------
  |  Branch (2865:5): [True: 21.0k, False: 0]
  ------------------
 2866|       |
 2867|  21.0k|    if (mp->ma_keys == Py_EMPTY_KEYS) {
  ------------------
  |  |  660|  21.0k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (2867:9): [True: 1.92k, False: 19.1k]
  ------------------
 2868|  1.92k|        return insert_to_emptydict(mp, key, hash, value);
 2869|  1.92k|    }
 2870|       |    /* insertdict() handles any resizing that might be necessary */
 2871|  19.1k|    return insertdict(mp, key, hash, value);
 2872|  21.0k|}
dictobject.c:setitem_lock_held:
 2946|  3.72k|{
 2947|  3.72k|    assert(key);
  ------------------
  |  Branch (2947:5): [True: 3.72k, False: 0]
  ------------------
 2948|  3.72k|    assert(value);
  ------------------
  |  Branch (2948:5): [True: 3.72k, False: 0]
  ------------------
 2949|  3.72k|    return setitem_take2_lock_held(mp,
 2950|  3.72k|                                   Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  647|  3.72k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                 Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  647|  3.72k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2951|  3.72k|}
dictobject.c:insert_to_emptydict:
 2107|  1.94k|{
 2108|  1.94k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2108:5): [True: 1.94k, False: 0]
  ------------------
 2109|  1.94k|    assert(mp->ma_keys == Py_EMPTY_KEYS);
  ------------------
  |  Branch (2109:5): [True: 1.94k, False: 0]
  ------------------
 2110|       |
 2111|  1.94k|    int unicode = PyUnicode_CheckExact(key);
  ------------------
  |  |  104|  1.94k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  1.94k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2112|  1.94k|    PyDictKeysObject *newkeys = new_keys_object(PyDict_LOG_MINSIZE, unicode);
  ------------------
  |  |  115|  1.94k|#define PyDict_LOG_MINSIZE 3
  ------------------
 2113|  1.94k|    if (newkeys == NULL) {
  ------------------
  |  Branch (2113:9): [True: 0, False: 1.94k]
  ------------------
 2114|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2115|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2116|      0|        return -1;
 2117|      0|    }
 2118|  1.94k|    _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 2119|       |
 2120|       |    /* We don't decref Py_EMPTY_KEYS here because it is immortal. */
 2121|  1.94k|    assert(mp->ma_values == NULL);
  ------------------
  |  Branch (2121:5): [True: 1.94k, False: 0]
  ------------------
 2122|       |
 2123|  1.94k|    size_t hashpos = (size_t)hash & (PyDict_MINSIZE-1);
  ------------------
  |  |  116|  1.94k|#define PyDict_MINSIZE 8
  ------------------
 2124|  1.94k|    dictkeys_set_index(newkeys, hashpos, 0);
 2125|  1.94k|    if (unicode) {
  ------------------
  |  Branch (2125:9): [True: 1.75k, False: 198]
  ------------------
 2126|  1.75k|        PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(newkeys);
 2127|  1.75k|        ep->me_key = key;
 2128|  1.75k|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|  1.75k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|  1.75k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2129|  1.75k|    }
 2130|    198|    else {
 2131|    198|        PyDictKeyEntry *ep = DK_ENTRIES(newkeys);
 2132|    198|        ep->me_key = key;
 2133|    198|        ep->me_hash = hash;
 2134|    198|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|    198|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|    198|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2135|    198|    }
 2136|  1.94k|    STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|  1.94k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|  1.94k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2137|  1.94k|    newkeys->dk_usable--;
 2138|  1.94k|    newkeys->dk_nentries++;
 2139|       |    // We store the keys last so no one can see them in a partially inconsistent
 2140|       |    // state so that we don't need to switch the keys to being shared yet for
 2141|       |    // the case where we're inserting from the non-owner thread.  We don't use
 2142|       |    // set_keys here because the transition from empty to non-empty is safe
 2143|       |    // as the empty keys will never be freed.
 2144|  1.94k|    FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_keys, newkeys);
  ------------------
  |  |  166|  1.94k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 2145|  1.94k|    return 0;
 2146|  1.94k|}
dictobject.c:dictkeys_set_index:
  553|  75.4k|{
  554|  75.4k|    int log2size = DK_LOG_SIZE(keys);
  ------------------
  |  |  281|  75.4k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  313|  75.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  555|       |
  556|  75.4k|    assert(ix >= DKIX_DUMMY);
  ------------------
  |  Branch (556:5): [True: 75.4k, False: 0]
  ------------------
  557|  75.4k|    assert(keys->dk_version == 0);
  ------------------
  |  Branch (557:5): [True: 75.4k, False: 0]
  ------------------
  558|       |
  559|  75.4k|    if (log2size < 8) {
  ------------------
  |  Branch (559:9): [True: 39.8k, False: 35.5k]
  ------------------
  560|  39.8k|        assert(ix <= 0x7f);
  ------------------
  |  Branch (560:9): [True: 39.8k, False: 0]
  ------------------
  561|  39.8k|        STORE_INDEX(keys, 8, i, ix);
  ------------------
  |  |  272|  39.8k|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  562|  39.8k|    }
  563|  35.5k|    else if (log2size < 16) {
  ------------------
  |  Branch (563:14): [True: 35.5k, False: 0]
  ------------------
  564|  35.5k|        assert(ix <= 0x7fff);
  ------------------
  |  Branch (564:9): [True: 35.5k, False: 0]
  ------------------
  565|  35.5k|        STORE_INDEX(keys, 16, i, ix);
  ------------------
  |  |  272|  35.5k|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  566|  35.5k|    }
  567|      0|#if SIZEOF_VOID_P > 4
  568|      0|    else if (log2size >= 32) {
  ------------------
  |  Branch (568:14): [True: 0, False: 0]
  ------------------
  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|      0|#endif
  572|      0|    else {
  573|      0|        assert(ix <= 0x7fffffff);
  ------------------
  |  Branch (573:9): [True: 0, False: 0]
  ------------------
  574|      0|        STORE_INDEX(keys, 32, i, ix);
  ------------------
  |  |  272|      0|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  575|      0|    }
  576|  75.4k|}
dictobject.c:insertdict:
 2054|  20.0k|{
 2055|  20.0k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2055:5): [True: 20.0k, False: 0]
  ------------------
 2056|       |
 2057|  20.0k|    PyObject *old_value = NULL;
 2058|  20.0k|    Py_ssize_t ix;
 2059|       |
 2060|  20.0k|    if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |   61|  40.1k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 185, False: 19.8k]
  |  |  ------------------
  ------------------
                  if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|    185|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    185|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    185|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    185|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 185, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2061|    185|        ix = insert_split_key(mp->ma_keys, key, hash);
 2062|    185|        if (ix != DKIX_EMPTY) {
  ------------------
  |  |  194|    185|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2062:13): [True: 185, False: 0]
  ------------------
 2063|    185|            _PyDict_InsertSplitValue(mp, key, value, ix);
 2064|    185|            Py_DECREF(key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2065|    185|            Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2066|    185|            return 0;
 2067|    185|        }
 2068|       |        // No space in shared keys. Go to insert_combined_dict() below.
 2069|    185|    }
 2070|  19.8k|    else {
 2071|  19.8k|        ix = _Py_dict_lookup(mp, key, hash, &old_value);
 2072|  19.8k|        if (ix == DKIX_ERROR)
  ------------------
  |  |  196|  19.8k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2072:13): [True: 0, False: 19.8k]
  ------------------
 2073|      0|            goto Fail;
 2074|  19.8k|    }
 2075|       |
 2076|  19.8k|    if (old_value == NULL) {
  ------------------
  |  Branch (2076:9): [True: 18.5k, False: 1.36k]
  ------------------
 2077|       |        // insert_combined_dict() will convert from non DICT_KEYS_GENERAL table
 2078|       |        // into DICT_KEYS_GENERAL table if key is not Unicode.
 2079|       |        // We don't convert it before _Py_dict_lookup because non-Unicode key
 2080|       |        // may change generic table into Unicode table.
 2081|       |        //
 2082|       |        // NOTE: ix may not be DKIX_EMPTY because split table may have key
 2083|       |        // without value.
 2084|  18.5k|        if (insert_combined_dict(mp, hash, key, value) < 0) {
  ------------------
  |  Branch (2084:13): [True: 0, False: 18.5k]
  ------------------
 2085|      0|            goto Fail;
 2086|      0|        }
 2087|  18.5k|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|  18.5k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|  18.5k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2088|  18.5k|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  18.5k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2088:9): [True: 18.5k, False: 0]
  ------------------
 2089|  18.5k|        return 0;
 2090|  18.5k|    }
 2091|       |
 2092|  1.36k|    replace_value(mp, key, ix, old_value, value);
 2093|  1.36k|    Py_DECREF(key);
  ------------------
  |  |  430|  1.36k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2094|  1.36k|    return 0;
 2095|       |
 2096|      0|Fail:
 2097|      0|    Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2098|      0|    Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2099|      0|    return -1;
 2100|  19.8k|}
dictobject.c:insert_combined_dict:
 1905|  31.1k|{
 1906|       |    // gh-140551: If dict was cleared in _Py_dict_lookup,
 1907|       |    // we have to resize one more time to force general key kind.
 1908|  31.1k|    if (DK_IS_UNICODE(mp->ma_keys) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  303|  62.2k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 29.4k, False: 1.65k]
  |  |  ------------------
  ------------------
                  if (DK_IS_UNICODE(mp->ma_keys) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|  29.4k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  29.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  29.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  29.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1908:39): [True: 0, False: 29.4k]
  ------------------
 1909|      0|        if (insertion_resize(mp, 0) < 0)
  ------------------
  |  Branch (1909:13): [True: 0, False: 0]
  ------------------
 1910|      0|            return -1;
 1911|      0|        assert(mp->ma_keys->dk_kind == DICT_KEYS_GENERAL);
  ------------------
  |  Branch (1911:9): [True: 0, False: 0]
  ------------------
 1912|      0|    }
 1913|       |
 1914|  31.1k|    if (mp->ma_keys->dk_usable <= 0) {
  ------------------
  |  Branch (1914:9): [True: 1.85k, False: 29.2k]
  ------------------
 1915|       |        /* Need to resize. */
 1916|  1.85k|        if (insertion_resize(mp, 1) < 0) {
  ------------------
  |  Branch (1916:13): [True: 0, False: 1.85k]
  ------------------
 1917|      0|            return -1;
 1918|      0|        }
 1919|  1.85k|    }
 1920|       |
 1921|  31.1k|    _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 1922|  31.1k|    FT_ATOMIC_STORE_UINT32_RELAXED(mp->ma_keys->dk_version, 0);
  ------------------
  |  |  175|  31.1k|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 1923|       |
 1924|  31.1k|    Py_ssize_t hashpos = find_empty_slot(mp->ma_keys, hash);
 1925|  31.1k|    dictkeys_set_index(mp->ma_keys, hashpos, mp->ma_keys->dk_nentries);
 1926|       |
 1927|  31.1k|    if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  303|  31.1k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 29.4k, False: 1.65k]
  |  |  ------------------
  ------------------
 1928|  29.4k|        PyDictUnicodeEntry *ep;
 1929|  29.4k|        ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[mp->ma_keys->dk_nentries];
 1930|  29.4k|        STORE_KEY(ep, key);
  ------------------
  |  |  330|  29.4k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  166|  29.4k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1931|  29.4k|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|  29.4k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|  29.4k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1932|  29.4k|    }
 1933|  1.65k|    else {
 1934|  1.65k|        PyDictKeyEntry *ep;
 1935|  1.65k|        ep = &DK_ENTRIES(mp->ma_keys)[mp->ma_keys->dk_nentries];
 1936|  1.65k|        STORE_KEY(ep, key);
  ------------------
  |  |  330|  1.65k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  166|  1.65k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1937|  1.65k|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|  1.65k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|  1.65k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1938|  1.65k|        STORE_HASH(ep, hash);
  ------------------
  |  |  333|  1.65k|#define STORE_HASH(ep, hash) FT_ATOMIC_STORE_SSIZE_RELAXED((ep)->me_hash, hash)
  |  |  ------------------
  |  |  |  |  197|  1.65k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1939|  1.65k|    }
 1940|  31.1k|    STORE_KEYS_USABLE(mp->ma_keys, mp->ma_keys->dk_usable - 1);
  ------------------
  |  |  334|  31.1k|#define STORE_KEYS_USABLE(keys, usable) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_usable, usable)
  |  |  ------------------
  |  |  |  |  197|  31.1k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1941|  31.1k|    STORE_KEYS_NENTRIES(mp->ma_keys, mp->ma_keys->dk_nentries + 1);
  ------------------
  |  |  335|  31.1k|#define STORE_KEYS_NENTRIES(keys, nentries) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_nentries, nentries)
  |  |  ------------------
  |  |  |  |  197|  31.1k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1942|  31.1k|    assert(mp->ma_keys->dk_usable >= 0);
  ------------------
  |  Branch (1942:5): [True: 31.1k, False: 0]
  ------------------
 1943|  31.1k|    return 0;
 1944|  31.1k|}
dictobject.c:insertion_resize:
 1898|  1.85k|{
 1899|  1.85k|    return dictresize(mp, calculate_log2_keysize(GROWTH_RATE(mp)), unicode);
  ------------------
  |  |  637|  1.85k|#define GROWTH_RATE(d) ((d)->ma_used*3)
  ------------------
 1900|  1.85k|}
dictobject.c:dictresize:
 2209|  1.85k|{
 2210|  1.85k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2210:5): [True: 1.85k, False: 0]
  ------------------
 2211|       |
 2212|  1.85k|    PyDictKeysObject *oldkeys, *newkeys;
 2213|  1.85k|    PyDictValues *oldvalues;
 2214|       |
 2215|  1.85k|    if (log2_newsize >= SIZEOF_SIZE_T*8) {
  ------------------
  |  | 1813|  1.85k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (2215:9): [True: 0, False: 1.85k]
  ------------------
 2216|      0|        PyErr_NoMemory();
 2217|      0|        return -1;
 2218|      0|    }
 2219|  1.85k|    assert(log2_newsize >= PyDict_LOG_MINSIZE);
  ------------------
  |  Branch (2219:5): [True: 1.85k, False: 0]
  ------------------
 2220|       |
 2221|  1.85k|    oldkeys = mp->ma_keys;
 2222|  1.85k|    oldvalues = mp->ma_values;
 2223|       |
 2224|  1.85k|    if (!DK_IS_UNICODE(oldkeys)) {
  ------------------
  |  |  303|  1.85k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  ------------------
  |  Branch (2224:9): [True: 114, False: 1.74k]
  ------------------
 2225|    114|        unicode = 0;
 2226|    114|    }
 2227|       |
 2228|  1.85k|    ensure_shared_on_resize(mp);
 2229|       |    /* NOTE: Current odict checks mp->ma_keys to detect resize happen.
 2230|       |     * So we can't reuse oldkeys even if oldkeys->dk_size == newsize.
 2231|       |     * TODO: Try reusing oldkeys when reimplement odict.
 2232|       |     */
 2233|       |
 2234|       |    /* Allocate a new table. */
 2235|  1.85k|    newkeys = new_keys_object(log2_newsize, unicode);
 2236|  1.85k|    if (newkeys == NULL) {
  ------------------
  |  Branch (2236:9): [True: 0, False: 1.85k]
  ------------------
 2237|      0|        return -1;
 2238|      0|    }
 2239|       |    // New table must be large enough.
 2240|  1.85k|    assert(newkeys->dk_usable >= mp->ma_used);
  ------------------
  |  Branch (2240:5): [True: 1.85k, False: 0]
  ------------------
 2241|       |
 2242|  1.85k|    Py_ssize_t numentries = mp->ma_used;
 2243|       |
 2244|  1.85k|    if (oldvalues != NULL) {
  ------------------
  |  Branch (2244:9): [True: 0, False: 1.85k]
  ------------------
 2245|      0|        LOCK_KEYS(oldkeys);
 2246|      0|        PyDictUnicodeEntry *oldentries = DK_UNICODE_ENTRIES(oldkeys);
 2247|       |        /* Convert split table into new combined table.
 2248|       |         * We must incref keys; we can transfer values.
 2249|       |         */
 2250|      0|        if (newkeys->dk_kind == DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (2250:13): [True: 0, False: 0]
  ------------------
 2251|       |            // split -> generic
 2252|      0|            PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2253|       |
 2254|      0|            for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2254:36): [True: 0, False: 0]
  ------------------
 2255|      0|                int index = get_index_from_order(mp, i);
 2256|      0|                PyDictUnicodeEntry *ep = &oldentries[index];
 2257|      0|                assert(oldvalues->values[index] != NULL);
  ------------------
  |  Branch (2257:17): [True: 0, False: 0]
  ------------------
 2258|      0|                newentries[i].me_key = Py_NewRef(ep->me_key);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2259|      0|                newentries[i].me_hash = unicode_get_hash(ep->me_key);
 2260|      0|                newentries[i].me_value = oldvalues->values[index];
 2261|      0|            }
 2262|      0|            build_indices_generic(newkeys, newentries, numentries);
 2263|      0|        }
 2264|      0|        else { // split -> combined unicode
 2265|      0|            PyDictUnicodeEntry *newentries = DK_UNICODE_ENTRIES(newkeys);
 2266|       |
 2267|      0|            for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2267:36): [True: 0, False: 0]
  ------------------
 2268|      0|                int index = get_index_from_order(mp, i);
 2269|      0|                PyDictUnicodeEntry *ep = &oldentries[index];
 2270|      0|                assert(oldvalues->values[index] != NULL);
  ------------------
  |  Branch (2270:17): [True: 0, False: 0]
  ------------------
 2271|      0|                newentries[i].me_key = Py_NewRef(ep->me_key);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2272|      0|                newentries[i].me_value = oldvalues->values[index];
 2273|      0|            }
 2274|      0|            build_indices_unicode(newkeys, newentries, numentries);
 2275|      0|        }
 2276|      0|        UNLOCK_KEYS(oldkeys);
 2277|      0|        set_keys(mp, newkeys);
 2278|      0|        dictkeys_decref(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 2279|      0|        if (oldvalues->embedded) {
  ------------------
  |  Branch (2279:13): [True: 0, False: 0]
  ------------------
 2280|      0|            assert(oldvalues->embedded == 1);
  ------------------
  |  Branch (2280:13): [True: 0, False: 0]
  ------------------
 2281|      0|            assert(oldvalues->valid == 1);
  ------------------
  |  Branch (2281:13): [True: 0, False: 0]
  ------------------
 2282|      0|            invalidate_and_clear_inline_values(oldvalues);
 2283|      0|        }
 2284|      0|        else {
 2285|      0|            free_values(oldvalues, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 2286|      0|        }
 2287|      0|        set_values(mp, NULL);
 2288|      0|    }
 2289|  1.85k|    else {  // oldkeys is combined.
 2290|  1.85k|        if (oldkeys->dk_kind == DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (2290:13): [True: 114, False: 1.74k]
  ------------------
 2291|       |            // generic -> generic
 2292|    114|            assert(newkeys->dk_kind == DICT_KEYS_GENERAL);
  ------------------
  |  Branch (2292:13): [True: 114, False: 0]
  ------------------
 2293|    114|            PyDictKeyEntry *oldentries = DK_ENTRIES(oldkeys);
 2294|    114|            PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2295|    114|            if (oldkeys->dk_nentries == numentries) {
  ------------------
  |  Branch (2295:17): [True: 93, False: 21]
  ------------------
 2296|     93|                memcpy(newentries, oldentries, numentries * sizeof(PyDictKeyEntry));
 2297|     93|            }
 2298|     21|            else {
 2299|     21|                PyDictKeyEntry *ep = oldentries;
 2300|     21|                for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2300:40): [True: 0, False: 21]
  ------------------
 2301|      0|                    while (ep->me_value == NULL)
  ------------------
  |  Branch (2301:28): [True: 0, False: 0]
  ------------------
 2302|      0|                        ep++;
 2303|      0|                    newentries[i] = *ep++;
 2304|      0|                }
 2305|     21|            }
 2306|    114|            build_indices_generic(newkeys, newentries, numentries);
 2307|    114|        }
 2308|  1.74k|        else {  // oldkeys is combined unicode
 2309|  1.74k|            PyDictUnicodeEntry *oldentries = DK_UNICODE_ENTRIES(oldkeys);
 2310|  1.74k|            if (unicode) { // combined unicode -> combined unicode
  ------------------
  |  Branch (2310:17): [True: 1.74k, False: 0]
  ------------------
 2311|  1.74k|                PyDictUnicodeEntry *newentries = DK_UNICODE_ENTRIES(newkeys);
 2312|  1.74k|                if (oldkeys->dk_nentries == numentries && mp->ma_keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (2312:21): [True: 1.62k, False: 121]
  |  Branch (2312:59): [True: 1.62k, False: 0]
  ------------------
 2313|  1.62k|                    memcpy(newentries, oldentries, numentries * sizeof(PyDictUnicodeEntry));
 2314|  1.62k|                }
 2315|    121|                else {
 2316|    121|                    PyDictUnicodeEntry *ep = oldentries;
 2317|  1.21k|                    for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2317:44): [True: 1.09k, False: 121]
  ------------------
 2318|  1.33k|                        while (ep->me_value == NULL)
  ------------------
  |  Branch (2318:32): [True: 246, False: 1.09k]
  ------------------
 2319|    246|                            ep++;
 2320|  1.09k|                        newentries[i] = *ep++;
 2321|  1.09k|                    }
 2322|    121|                }
 2323|  1.74k|                build_indices_unicode(newkeys, newentries, numentries);
 2324|  1.74k|            }
 2325|      0|            else { // combined unicode -> generic
 2326|      0|                PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2327|      0|                PyDictUnicodeEntry *ep = oldentries;
 2328|      0|                for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2328:40): [True: 0, False: 0]
  ------------------
 2329|      0|                    while (ep->me_value == NULL)
  ------------------
  |  Branch (2329:28): [True: 0, False: 0]
  ------------------
 2330|      0|                        ep++;
 2331|      0|                    newentries[i].me_key = ep->me_key;
 2332|      0|                    newentries[i].me_hash = unicode_get_hash(ep->me_key);
 2333|      0|                    newentries[i].me_value = ep->me_value;
 2334|      0|                    ep++;
 2335|      0|                }
 2336|      0|                build_indices_generic(newkeys, newentries, numentries);
 2337|      0|            }
 2338|  1.74k|        }
 2339|       |
 2340|  1.85k|        set_keys(mp, newkeys);
 2341|       |
 2342|  1.85k|        if (oldkeys != Py_EMPTY_KEYS) {
  ------------------
  |  |  660|  1.85k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (2342:13): [True: 1.85k, False: 0]
  ------------------
 2343|       |#ifdef Py_REF_DEBUG
 2344|       |            _Py_DecRefTotal(_PyThreadState_GET());
 2345|       |#endif
 2346|  1.85k|            assert(oldkeys->dk_kind != DICT_KEYS_SPLIT);
  ------------------
  |  Branch (2346:13): [True: 1.85k, False: 0]
  ------------------
 2347|  1.85k|            assert(oldkeys->dk_refcnt == 1);
  ------------------
  |  Branch (2347:13): [True: 1.85k, False: 0]
  ------------------
 2348|  1.85k|            free_keys_object(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|  1.85k|#define IS_DICT_SHARED(mp) (false)
  ------------------
 2349|  1.85k|        }
 2350|  1.85k|    }
 2351|       |
 2352|  1.85k|    STORE_KEYS_USABLE(mp->ma_keys, mp->ma_keys->dk_usable - numentries);
  ------------------
  |  |  334|  1.85k|#define STORE_KEYS_USABLE(keys, usable) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_usable, usable)
  |  |  ------------------
  |  |  |  |  197|  1.85k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2353|  1.85k|    STORE_KEYS_NENTRIES(mp->ma_keys, numentries);
  ------------------
  |  |  335|  1.85k|#define STORE_KEYS_NENTRIES(keys, nentries) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_nentries, nentries)
  |  |  ------------------
  |  |  |  |  197|  1.85k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2354|  1.85k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  1.85k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2354:5): [True: 1.85k, False: 0]
  ------------------
 2355|  1.85k|    return 0;
 2356|  1.85k|}
dictobject.c:build_indices_generic:
 2153|    114|{
 2154|    114|    size_t mask = DK_MASK(keys);
  ------------------
  |  |  467|    114|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  283|    114|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  281|    114|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  313|    114|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2155|  1.95k|    for (Py_ssize_t ix = 0; ix != n; ix++, ep++) {
  ------------------
  |  Branch (2155:29): [True: 1.83k, False: 114]
  ------------------
 2156|  1.83k|        Py_hash_t hash = ep->me_hash;
 2157|  1.83k|        size_t i = hash & mask;
 2158|  2.67k|        for (size_t perturb = hash; dictkeys_get_index(keys, i) != DKIX_EMPTY;) {
  ------------------
  |  |  194|  2.67k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2158:37): [True: 841, False: 1.83k]
  ------------------
 2159|    841|            perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|    841|#define PERTURB_SHIFT 5
  ------------------
 2160|    841|            i = mask & (i*5 + perturb + 1);
 2161|    841|        }
 2162|  1.83k|        dictkeys_set_index(keys, i, ix);
 2163|  1.83k|    }
 2164|    114|}
dictobject.c:build_indices_unicode:
 2168|  1.74k|{
 2169|  1.74k|    size_t mask = DK_MASK(keys);
  ------------------
  |  |  467|  1.74k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  283|  1.74k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  281|  1.74k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  313|  1.74k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2170|  40.9k|    for (Py_ssize_t ix = 0; ix != n; ix++, ep++) {
  ------------------
  |  Branch (2170:29): [True: 39.2k, False: 1.74k]
  ------------------
 2171|  39.2k|        Py_hash_t hash = unicode_get_hash(ep->me_key);
 2172|  39.2k|        assert(hash != -1);
  ------------------
  |  Branch (2172:9): [True: 39.2k, False: 0]
  ------------------
 2173|  39.2k|        size_t i = hash & mask;
 2174|  47.1k|        for (size_t perturb = hash; dictkeys_get_index(keys, i) != DKIX_EMPTY;) {
  ------------------
  |  |  194|  47.1k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2174:37): [True: 7.96k, False: 39.2k]
  ------------------
 2175|  7.96k|            perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  7.96k|#define PERTURB_SHIFT 5
  ------------------
 2176|  7.96k|            i = mask & (i*5 + perturb + 1);
 2177|  7.96k|        }
 2178|  39.2k|        dictkeys_set_index(keys, i, ix);
 2179|  39.2k|    }
 2180|  1.74k|}
dictobject.c:free_keys_object:
  876|  2.98k|{
  877|  2.98k|    void *ptr = keys;
  878|       |#ifdef Py_GIL_DISABLED
  879|       |    size_t size = _PyDict_KeysSize(keys);
  880|       |#endif
  881|  2.98k|    if (keys->dk_kind == DICT_KEYS_SPLIT) {
  ------------------
  |  Branch (881:9): [True: 2, False: 2.97k]
  ------------------
  882|      2|        ptr = _PyDictKeys_AsSharedKeys(keys);
  883|       |#ifdef Py_GIL_DISABLED
  884|       |        size += offsetof(struct _instancekeysobject, dsk_keys);
  885|       |#endif
  886|      2|    }
  887|       |#ifdef Py_GIL_DISABLED
  888|       |    if (use_qsbr) {
  889|       |        _PyMem_FreeDelayed(ptr, size);
  890|       |        return;
  891|       |    }
  892|       |#endif
  893|  2.98k|    if (DK_LOG_SIZE(keys) == PyDict_LOG_MINSIZE && keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  |  281|  2.98k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  313|  2.98k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  if (DK_LOG_SIZE(keys) == PyDict_LOG_MINSIZE && keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  |  115|  5.96k|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (893:9): [True: 1.52k, False: 1.45k]
  |  Branch (893:52): [True: 1.45k, False: 66]
  ------------------
  894|  1.45k|        _Py_FREELIST_FREE(dictkeys, keys, PyMem_Free);
  ------------------
  |  |   35|  1.45k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  1.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  1.45k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   17|  1.45k|#  define Py_dictkeys_MAXFREELIST 80
  |  |  ------------------
  ------------------
  895|  1.45k|    }
  896|  1.52k|    else {
  897|  1.52k|        PyMem_Free(ptr);
  898|  1.52k|    }
  899|  2.98k|}
dictobject.c:find_empty_slot:
 1882|  31.4k|{
 1883|  31.4k|    assert(keys != NULL);
  ------------------
  |  Branch (1883:5): [True: 31.4k, False: 0]
  ------------------
 1884|       |
 1885|  31.4k|    const size_t mask = DK_MASK(keys);
  ------------------
  |  |  467|  31.4k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  283|  31.4k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  281|  31.4k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  313|  31.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1886|  31.4k|    size_t i = hash & mask;
 1887|  31.4k|    Py_ssize_t ix = dictkeys_get_index(keys, i);
 1888|  57.7k|    for (size_t perturb = hash; is_unusable_slot(ix);) {
  ------------------
  |  Branch (1888:33): [True: 26.2k, False: 31.4k]
  ------------------
 1889|  26.2k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  26.2k|#define PERTURB_SHIFT 5
  ------------------
 1890|  26.2k|        i = (i*5 + perturb + 1) & mask;
 1891|  26.2k|        ix = dictkeys_get_index(keys, i);
 1892|  26.2k|    }
 1893|  31.4k|    return i;
 1894|  31.4k|}
dictobject.c:is_unusable_slot:
 1869|  57.7k|{
 1870|       |#ifdef Py_GIL_DISABLED
 1871|       |    return ix >= 0 || ix == DKIX_DUMMY;
 1872|       |#else
 1873|  57.7k|    return ix >= 0;
 1874|  57.7k|#endif
 1875|  57.7k|}
dictobject.c:delitem_common:
 3011|    931|{
 3012|    931|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3012:5): [True: 931, False: 0]
  ------------------
 3013|       |
 3014|    931|    PyObject *old_key;
 3015|       |
 3016|    931|    STORE_USED(mp, mp->ma_used - 1);
  ------------------
  |  |  336|    931|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|    931|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3017|    931|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   61|    931|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 931]
  |  |  ------------------
  ------------------
 3018|      0|        assert(old_value == mp->ma_values->values[ix]);
  ------------------
  |  Branch (3018:9): [True: 0, False: 0]
  ------------------
 3019|      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)
  |  |  ------------------
  |  |  |  |  166|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3020|      0|        assert(ix < SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (3020:9): [True: 0, False: 0]
  ------------------
 3021|       |        /* Update order */
 3022|      0|        delete_index_from_values(mp->ma_values, ix);
 3023|      0|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|      0|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (3023:9): [True: 0, False: 0]
  ------------------
 3024|      0|    }
 3025|    931|    else {
 3026|    931|        Py_ssize_t hashpos = lookdict_index(mp->ma_keys, hash, ix);
 3027|    931|        assert(hashpos >= 0);
  ------------------
  |  Branch (3027:9): [True: 931, False: 0]
  ------------------
 3028|       |
 3029|    931|        FT_ATOMIC_STORE_UINT32_RELAXED(mp->ma_keys->dk_version, 0);
  ------------------
  |  |  175|    931|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 3030|    931|        dictkeys_set_index(mp->ma_keys, hashpos, DKIX_DUMMY);
  ------------------
  |  |  195|    931|#define DKIX_DUMMY (-2)  /* Used internally */
  ------------------
 3031|    931|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  303|    931|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 814, False: 117]
  |  |  ------------------
  ------------------
 3032|    814|            PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[ix];
 3033|    814|            old_key = ep->me_key;
 3034|    814|            STORE_KEY(ep, NULL);
  ------------------
  |  |  330|    814|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  166|    814|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3035|    814|            STORE_VALUE(ep, NULL);
  ------------------
  |  |  331|    814|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|    814|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3036|    814|        }
 3037|    117|        else {
 3038|    117|            PyDictKeyEntry *ep = &DK_ENTRIES(mp->ma_keys)[ix];
 3039|    117|            old_key = ep->me_key;
 3040|    117|            STORE_KEY(ep, NULL);
  ------------------
  |  |  330|    117|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  166|    117|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3041|    117|            STORE_VALUE(ep, NULL);
  ------------------
  |  |  331|    117|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|    117|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3042|    117|            STORE_HASH(ep, 0);
  ------------------
  |  |  333|    117|#define STORE_HASH(ep, hash) FT_ATOMIC_STORE_SSIZE_RELAXED((ep)->me_hash, hash)
  |  |  ------------------
  |  |  |  |  197|    117|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3043|    117|        }
 3044|    931|        Py_DECREF(old_key);
  ------------------
  |  |  430|    931|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    931|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    931|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3045|    931|    }
 3046|    931|    Py_DECREF(old_value);
  ------------------
  |  |  430|    931|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    931|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    931|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3047|       |
 3048|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|    931|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (3048:5): [True: 931, False: 0]
  ------------------
 3049|    931|}
dictobject.c:lookdict_index:
 1097|    931|{
 1098|    931|    size_t mask = DK_MASK(k);
  ------------------
  |  |  467|    931|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  283|    931|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  281|    931|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  313|    931|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1099|    931|    size_t perturb = (size_t)hash;
 1100|    931|    size_t i = (size_t)hash & mask;
 1101|       |
 1102|  1.21k|    for (;;) {
 1103|  1.21k|        Py_ssize_t ix = dictkeys_get_index(k, i);
 1104|  1.21k|        if (ix == index) {
  ------------------
  |  Branch (1104:13): [True: 931, False: 284]
  ------------------
 1105|    931|            return i;
 1106|    931|        }
 1107|    284|        if (ix == DKIX_EMPTY) {
  ------------------
  |  |  194|    284|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1107:13): [True: 0, False: 284]
  ------------------
 1108|      0|            return DKIX_EMPTY;
  ------------------
  |  |  194|      0|#define DKIX_EMPTY (-1)
  ------------------
 1109|      0|        }
 1110|    284|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|    284|#define PERTURB_SHIFT 5
  ------------------
 1111|    284|        i = mask & (i*5 + perturb + 1);
 1112|    284|    }
 1113|      0|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1114|    931|}
dictobject.c:delitemif_lock_held:
 3111|    112|{
 3112|    112|    PyDictObject *mp = _PyAnyDict_CAST(op);
  ------------------
  |  |  326|    112|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (3112:24): [True: 112, False: 0]
  |  Branch (3112:24): [True: 0, False: 0]
  ------------------
 3113|    112|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3113:5): [True: 112, False: 0]
  ------------------
 3114|       |
 3115|    112|    Py_ssize_t ix;
 3116|    112|    Py_hash_t hash;
 3117|    112|    PyObject *old_value;
 3118|    112|    int res;
 3119|       |
 3120|    112|    assert(key);
  ------------------
  |  Branch (3120:5): [True: 112, False: 0]
  ------------------
 3121|    112|    hash = PyObject_Hash(key);
 3122|    112|    if (hash == -1)
  ------------------
  |  Branch (3122:9): [True: 0, False: 112]
  ------------------
 3123|      0|        return -1;
 3124|    112|    ix = _Py_dict_lookup(mp, key, hash, &old_value);
 3125|    112|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|    112|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3125:9): [True: 0, False: 112]
  ------------------
 3126|      0|        return -1;
 3127|      0|    }
 3128|    112|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  194|    224|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3128:9): [True: 0, False: 112]
  |  Branch (3128:29): [True: 0, False: 112]
  ------------------
 3129|      0|        return 0;
 3130|      0|    }
 3131|       |
 3132|    112|    res = predicate(old_value, arg);
 3133|    112|    if (res == -1)
  ------------------
  |  Branch (3133:9): [True: 0, False: 112]
  ------------------
 3134|      0|        return -1;
 3135|       |
 3136|    112|    if (res > 0) {
  ------------------
  |  Branch (3136:9): [True: 112, False: 0]
  ------------------
 3137|    112|        _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3138|    112|        delitem_common(mp, hash, ix, old_value);
 3139|    112|        return 1;
 3140|    112|    } else {
 3141|      0|        return 0;
 3142|      0|    }
 3143|    112|}
dictobject.c:replace_value:
 2020|  1.36k|{
 2021|  1.36k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2021:5): [True: 1.36k, False: 0]
  ------------------
 2022|  1.36k|    assert(old_value != NULL);
  ------------------
  |  Branch (2022:5): [True: 1.36k, False: 0]
  ------------------
 2023|       |
 2024|  1.36k|    if (old_value != value) {
  ------------------
  |  Branch (2024:9): [True: 1.09k, False: 272]
  ------------------
 2025|  1.09k|        _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, mp, key, value);
 2026|  1.09k|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  303|  1.09k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 1.08k, False: 12]
  |  |  ------------------
  ------------------
 2027|  1.08k|            if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   61|  1.08k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 1.08k]
  |  |  ------------------
  ------------------
 2028|      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)
  |  |  ------------------
  |  |  |  |  166|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2029|      0|            }
 2030|  1.08k|            else {
 2031|  1.08k|                PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[ix];
 2032|  1.08k|                STORE_VALUE(ep, value);
  ------------------
  |  |  331|  1.08k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|  1.08k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2033|  1.08k|            }
 2034|  1.08k|        }
 2035|     12|        else {
 2036|     12|            PyDictKeyEntry *ep = &DK_ENTRIES(mp->ma_keys)[ix];
 2037|     12|            STORE_VALUE(ep, value);
  ------------------
  |  |  331|     12|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|     12|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2038|     12|        }
 2039|  1.09k|    }
 2040|  1.36k|    Py_DECREF(old_value); /* which **CAN** re-enter (see gh-66843) */
  ------------------
  |  |  430|  1.36k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2041|       |
 2042|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  1.36k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2042:5): [True: 1.36k, False: 0]
  ------------------
 2043|  1.36k|}
dictobject.c:clear_lock_held:
 3219|     14|{
 3220|     14|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|     14|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     14|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3220:9): [True: 0, False: 14]
  ------------------
 3221|      0|        return;
 3222|      0|    }
 3223|     14|    PyDictObject *mp = (PyDictObject *)op;
 3224|     14|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3224:5): [True: 14, False: 0]
  ------------------
 3225|       |
 3226|     14|    PyDictKeysObject *oldkeys;
 3227|     14|    PyDictValues *oldvalues;
 3228|     14|    Py_ssize_t i, n;
 3229|       |
 3230|     14|    oldkeys = mp->ma_keys;
 3231|     14|    oldvalues = mp->ma_values;
 3232|     14|    if (oldkeys == Py_EMPTY_KEYS) {
  ------------------
  |  |  660|     14|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (3232:9): [True: 5, False: 9]
  ------------------
 3233|      5|        return;
 3234|      5|    }
 3235|       |    /* Empty the dict... */
 3236|      9|    clear_common(mp);
 3237|      9|    if (oldvalues == NULL) {
  ------------------
  |  Branch (3237:9): [True: 9, False: 0]
  ------------------
 3238|      9|        set_keys(mp, Py_EMPTY_KEYS);
  ------------------
  |  |  660|      9|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 3239|      9|        assert(oldkeys->dk_refcnt == 1);
  ------------------
  |  Branch (3239:9): [True: 9, False: 0]
  ------------------
 3240|      9|        dictkeys_decref(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|      9|#define IS_DICT_SHARED(mp) (false)
  ------------------
 3241|      9|    }
 3242|      0|    else if (oldvalues->embedded) {
  ------------------
  |  Branch (3242:14): [True: 0, False: 0]
  ------------------
 3243|      0|        clear_embedded_values(oldvalues, oldkeys->dk_nentries);
 3244|      0|    }
 3245|      0|    else {
 3246|      0|        set_values(mp, NULL);
 3247|      0|        set_keys(mp, Py_EMPTY_KEYS);
  ------------------
  |  |  660|      0|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 3248|      0|        n = oldkeys->dk_nentries;
 3249|      0|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3249:21): [True: 0, False: 0]
  ------------------
 3250|      0|            PyObject *tmp = oldvalues->values[i];
 3251|      0|            FT_ATOMIC_STORE_PTR_RELEASE(oldvalues->values[i], NULL);
  ------------------
  |  |  166|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 3252|      0|            Py_XDECREF(tmp);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3253|      0|        }
 3254|      0|        free_values(oldvalues, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 3255|      0|        dictkeys_decref(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 3256|      0|    }
 3257|      9|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|      9|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (3257:5): [True: 9, False: 0]
  ------------------
 3258|      9|}
dictobject.c:clear_common:
 3210|      9|{
 3211|      9|    _PyDict_NotifyEvent(PyDict_EVENT_CLEARED, mp, NULL, NULL);
 3212|       |    // We don't inc ref empty keys because they're immortal
 3213|      9|    ensure_shared_on_resize(mp);
 3214|      9|    STORE_USED(mp, 0);
  ------------------
  |  |  336|      9|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|      9|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3215|      9|}
dictobject.c:pop_lock_held:
 3413|    509|{
 3414|    509|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|    509|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    509|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3414:9): [True: 0, False: 509]
  ------------------
 3415|      0|        if (result) {
  ------------------
  |  Branch (3415:13): [True: 0, False: 0]
  ------------------
 3416|      0|            *result = NULL;
 3417|      0|        }
 3418|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3419|      0|            frozendict_does_not_support("deletion");
  ------------------
  |  | 2855|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2856|      0|                    "not support item " WHAT)
  ------------------
 3420|      0|        }
 3421|      0|        else {
 3422|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3423|      0|        }
 3424|      0|        return -1;
 3425|      0|    }
 3426|    509|    PyDictObject *dict = (PyDictObject *)op;
 3427|    509|    assert(can_modify_dict(dict));
  ------------------
  |  Branch (3427:5): [True: 509, False: 0]
  ------------------
 3428|       |
 3429|    509|    if (dict->ma_used == 0) {
  ------------------
  |  Branch (3429:9): [True: 51, False: 458]
  ------------------
 3430|     51|        if (result) {
  ------------------
  |  Branch (3430:13): [True: 51, False: 0]
  ------------------
 3431|     51|            *result = NULL;
 3432|     51|        }
 3433|     51|        return 0;
 3434|     51|    }
 3435|       |
 3436|    458|    Py_hash_t hash = _PyObject_HashDictKey(key);
 3437|    458|    if (hash == -1) {
  ------------------
  |  Branch (3437:9): [True: 0, False: 458]
  ------------------
 3438|      0|        dict_unhashable_type(op, key);
 3439|      0|        if (result) {
  ------------------
  |  Branch (3439:13): [True: 0, False: 0]
  ------------------
 3440|      0|            *result = NULL;
 3441|      0|        }
 3442|      0|        return -1;
 3443|      0|    }
 3444|    458|    return _PyDict_Pop_KnownHash(dict, key, hash, result);
 3445|    458|}
dictobject.c:dict_pop_default:
 3478|    162|{
 3479|    162|    PyObject *result;
 3480|    162|    if (PyDict_Pop(dict, key, &result) == 0) {
  ------------------
  |  Branch (3480:9): [True: 59, False: 103]
  ------------------
 3481|     59|        if (default_value != NULL) {
  ------------------
  |  Branch (3481:13): [True: 59, False: 0]
  ------------------
 3482|     59|            return Py_NewRef(default_value);
  ------------------
  |  |  647|     59|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3483|     59|        }
 3484|      0|        _PyErr_SetKeyError(key);
 3485|      0|        return NULL;
 3486|     59|    }
 3487|    103|    return result;
 3488|    162|}
dictobject.c:keys_lock_held:
 3943|     18|{
 3944|     18|    ASSERT_DICT_LOCKED(dict);
 3945|       |
 3946|     18|    if (dict == NULL || !PyAnyDict_Check(dict)) {
  ------------------
  |  |   43|     18|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|     18|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     36|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 18, 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 (3946:9): [True: 0, False: 18]
  ------------------
 3947|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3948|      0|        return NULL;
 3949|      0|    }
 3950|     18|    PyDictObject *mp = (PyDictObject *)dict;
 3951|     18|    PyObject *v;
 3952|     18|    Py_ssize_t n;
 3953|       |
 3954|     18|  again:
 3955|     18|    n = mp->ma_used;
 3956|     18|    v = PyList_New(n);
 3957|     18|    if (v == NULL)
  ------------------
  |  Branch (3957:9): [True: 0, False: 18]
  ------------------
 3958|      0|        return NULL;
 3959|     18|    if (n != mp->ma_used) {
  ------------------
  |  Branch (3959:9): [True: 0, False: 18]
  ------------------
 3960|       |        /* Durnit.  The allocations caused the dict to resize.
 3961|       |         * Just start over, this shouldn't normally happen.
 3962|       |         */
 3963|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3964|      0|        goto again;
 3965|      0|    }
 3966|       |
 3967|       |    /* Nothing we do below makes any function calls. */
 3968|     18|    Py_ssize_t j = 0, pos = 0;
 3969|     18|    PyObject *key;
 3970|  2.50k|    while (_PyDict_Next((PyObject*)mp, &pos, &key, NULL, NULL)) {
  ------------------
  |  Branch (3970:12): [True: 2.48k, False: 18]
  ------------------
 3971|  2.48k|        assert(j < n);
  ------------------
  |  Branch (3971:9): [True: 2.48k, False: 0]
  ------------------
 3972|  2.48k|        PyList_SET_ITEM(v, j, Py_NewRef(key));
  ------------------
  |  |   50|  2.48k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3973|  2.48k|        j++;
 3974|  2.48k|    }
 3975|     18|    assert(j == n);
  ------------------
  |  Branch (3975:5): [True: 18, False: 0]
  ------------------
 3976|     18|    return v;
 3977|     18|}
dictobject.c:dict_merge_from_seq2:
 4272|      8|{
 4273|      8|    int res;
 4274|      8|    Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|      8|    {
  ------------------
 4275|      8|    res = merge_from_seq2_lock_held(d, seq2, override);
 4276|      8|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      8|    }
  ------------------
 4277|       |
 4278|      8|    return res;
 4279|      8|}
dictobject.c:merge_from_seq2_lock_held:
 4183|      8|{
 4184|      8|    PyObject *it;       /* iter(seq2) */
 4185|      8|    Py_ssize_t i;       /* index into seq2 of current element */
 4186|      8|    PyObject *item;     /* seq2[i] */
 4187|      8|    PyObject *fast;     /* item as a 2-tuple or 2-list */
 4188|       |
 4189|      8|    assert(d != NULL);
  ------------------
  |  Branch (4189:5): [True: 8, False: 0]
  ------------------
 4190|      8|    assert(PyAnyDict_Check(d));
  ------------------
  |  Branch (4190:5): [True: 8, False: 0]
  |  Branch (4190:5): [True: 0, False: 0]
  ------------------
 4191|      8|    assert(seq2 != NULL);
  ------------------
  |  Branch (4191:5): [True: 8, False: 0]
  ------------------
 4192|      8|    assert(can_modify_dict((PyDictObject*)d));
  ------------------
  |  Branch (4192:5): [True: 8, False: 0]
  ------------------
 4193|       |
 4194|      8|    it = PyObject_GetIter(seq2);
 4195|      8|    if (it == NULL)
  ------------------
  |  Branch (4195:9): [True: 0, False: 8]
  ------------------
 4196|      0|        return -1;
 4197|       |
 4198|    159|    for (i = 0; ; ++i) {
 4199|    159|        PyObject *key = NULL, *value = NULL;
 4200|    159|        Py_ssize_t n;
 4201|       |
 4202|    159|        fast = NULL;
 4203|    159|        item = PyIter_Next(it);
 4204|    159|        if (item == NULL) {
  ------------------
  |  Branch (4204:13): [True: 8, False: 151]
  ------------------
 4205|      8|            if (PyErr_Occurred())
  ------------------
  |  Branch (4205:17): [True: 0, False: 8]
  ------------------
 4206|      0|                goto Fail;
 4207|      8|            break;
 4208|      8|        }
 4209|       |
 4210|       |        /* Convert item to sequence, and verify length 2. */
 4211|    151|        fast = PySequence_Fast(item, "object is not iterable");
 4212|    151|        if (fast == NULL) {
  ------------------
  |  Branch (4212:13): [True: 0, False: 151]
  ------------------
 4213|      0|            if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (4213:17): [True: 0, False: 0]
  ------------------
 4214|      0|                _PyErr_FormatNote(
 4215|      0|                    "Cannot convert dictionary update "
 4216|      0|                    "sequence element #%zd to a sequence",
 4217|      0|                    i);
 4218|      0|            }
 4219|      0|            goto Fail;
 4220|      0|        }
 4221|    151|        Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(item);
  ------------------
  |  |   77|    151|# define Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(original) {
  ------------------
 4222|    151|        n = PySequence_Fast_GET_SIZE(fast);
  ------------------
  |  |   92|    151|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|    151|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    151|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 151]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (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|    151|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    151|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    151|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4223|    151|        if (n == 2) {
  ------------------
  |  Branch (4223:13): [True: 151, False: 0]
  ------------------
 4224|    151|            key = Py_NewRef(PySequence_Fast_GET_ITEM(fast, 0));
  ------------------
  |  |  647|    151|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    151|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    755|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (37:38): [True: 151, False: 0]
  |  |  |  |  |  |  |  Branch (37:38): [True: 0, False: 151]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4225|    151|            value = Py_NewRef(PySequence_Fast_GET_ITEM(fast, 1));
  ------------------
  |  |  647|    151|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    151|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    755|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (37:38): [True: 151, False: 0]
  |  |  |  |  |  |  |  Branch (37:38): [True: 0, False: 151]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4226|    151|        }
 4227|    151|        Py_END_CRITICAL_SECTION_SEQUENCE_FAST();
  ------------------
  |  |   78|    151|# define Py_END_CRITICAL_SECTION_SEQUENCE_FAST() }
  ------------------
 4228|    151|        if (n != 2) {
  ------------------
  |  Branch (4228:13): [True: 0, False: 151]
  ------------------
 4229|      0|            PyErr_Format(PyExc_ValueError,
 4230|      0|                         "dictionary update sequence element #%zd "
 4231|      0|                         "has length %zd; 2 is required",
 4232|      0|                         i, n);
 4233|      0|            goto Fail;
 4234|      0|        }
 4235|       |
 4236|       |        /* Update/merge with this (key, value) pair. */
 4237|    151|        if (override) {
  ------------------
  |  Branch (4237:13): [True: 151, False: 0]
  ------------------
 4238|    151|            if (setitem_lock_held((PyDictObject *)d, key, value) < 0) {
  ------------------
  |  Branch (4238:17): [True: 0, False: 151]
  ------------------
 4239|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4240|      0|                Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4241|      0|                goto Fail;
 4242|      0|            }
 4243|    151|        }
 4244|      0|        else {
 4245|      0|            if (dict_setdefault_ref_lock_held(d, key, value, NULL, 0) < 0) {
  ------------------
  |  Branch (4245:17): [True: 0, False: 0]
  ------------------
 4246|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4247|      0|                Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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|                goto Fail;
 4249|      0|            }
 4250|      0|        }
 4251|       |
 4252|    151|        Py_DECREF(key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4253|    151|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4254|    151|        Py_DECREF(fast);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4255|    151|        Py_DECREF(item);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4256|    151|    }
 4257|       |
 4258|      8|    i = 0;
 4259|      8|    ASSERT_CONSISTENT(d);
  ------------------
  |  |  668|      8|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4259:5): [True: 8, False: 0]
  ------------------
 4260|      8|    goto Return;
 4261|      8|Fail:
 4262|      0|    Py_XDECREF(item);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4263|      0|    Py_XDECREF(fast);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4264|      0|    i = -1;
 4265|      8|Return:
 4266|      8|    Py_DECREF(it);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4267|      8|    return Py_SAFE_DOWNCAST(i, Py_ssize_t, int);
  ------------------
  |  |  247|      8|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|      8|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4268|      0|}
dictobject.c:dict_merge:
 4392|    418|{
 4393|    418|    assert(a != NULL);
  ------------------
  |  Branch (4393:5): [True: 418, False: 0]
  ------------------
 4394|    418|    assert(b != NULL);
  ------------------
  |  Branch (4394:5): [True: 418, False: 0]
  ------------------
 4395|    418|    assert(0 <= override && override <= 2);
  ------------------
  |  Branch (4395:5): [True: 418, False: 0]
  |  Branch (4395:5): [True: 418, False: 0]
  ------------------
 4396|       |
 4397|    418|    PyDictObject *mp = _PyAnyDict_CAST(a);
  ------------------
  |  |  326|    418|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|    418|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (4397:24): [True: 417, False: 1]
  |  Branch (4397:24): [True: 1, False: 0]
  ------------------
 4398|       |
 4399|      0|    int res = 0;
 4400|    418|    if (PyAnyDict_Check(b) && (Py_TYPE(b)->tp_iter == dict_iter)) {
  ------------------
  |  |   43|    836|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    418|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    836|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 410, 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|    410|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    410|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    410|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4400:31): [True: 410, False: 0]
  ------------------
 4401|    410|        PyDictObject *other = (PyDictObject*)b;
 4402|    410|        int res;
 4403|    410|        Py_BEGIN_CRITICAL_SECTION2(a, b);
  ------------------
  |  |   57|    410|    {
  ------------------
 4404|    410|        assert(can_modify_dict(mp));
  ------------------
  |  Branch (4404:9): [True: 410, False: 0]
  ------------------
 4405|    410|        res = dict_dict_merge((PyDictObject *)a, other, override, dupkey);
 4406|    410|        ASSERT_CONSISTENT(a);
  ------------------
  |  |  668|    410|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4406:9): [True: 410, False: 0]
  ------------------
 4407|    410|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|    410|    }
  ------------------
 4408|    410|        return res;
 4409|    410|    }
 4410|      8|    else {
 4411|       |        /* Do it the generic, slower way */
 4412|      8|        Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|      8|    {
  ------------------
 4413|      8|        assert(can_modify_dict(mp));
  ------------------
  |  Branch (4413:9): [True: 8, False: 0]
  ------------------
 4414|       |
 4415|      8|        PyObject *keys = PyMapping_Keys(b);
 4416|      8|        PyObject *iter;
 4417|      8|        PyObject *key, *value;
 4418|      8|        int status;
 4419|       |
 4420|      8|        if (keys == NULL) {
  ------------------
  |  Branch (4420:13): [True: 0, False: 8]
  ------------------
 4421|       |            /* Docstring says this is equivalent to E.keys() so
 4422|       |             * if E doesn't have a .keys() method we want
 4423|       |             * AttributeError to percolate up.  Might as well
 4424|       |             * do the same for any other error.
 4425|       |             */
 4426|      0|            res = -1;
 4427|      0|            goto slow_exit;
 4428|      0|        }
 4429|       |
 4430|      8|        iter = PyObject_GetIter(keys);
 4431|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4432|      8|        if (iter == NULL) {
  ------------------
  |  Branch (4432:13): [True: 0, False: 8]
  ------------------
 4433|      0|            res = -1;
 4434|      0|            goto slow_exit;
 4435|      0|        }
 4436|       |
 4437|    208|        for (key = PyIter_Next(iter); key; key = PyIter_Next(iter)) {
  ------------------
  |  Branch (4437:39): [True: 200, False: 8]
  ------------------
 4438|    200|            if (override != 1) {
  ------------------
  |  Branch (4438:17): [True: 0, False: 200]
  ------------------
 4439|      0|                status = dict_contains(a, key);
 4440|      0|                if (status != 0) {
  ------------------
  |  Branch (4440:21): [True: 0, False: 0]
  ------------------
 4441|      0|                    if (status > 0) {
  ------------------
  |  Branch (4441:25): [True: 0, False: 0]
  ------------------
 4442|      0|                        if (dupkey == NULL) {
  ------------------
  |  Branch (4442:29): [True: 0, False: 0]
  ------------------
 4443|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4444|      0|                            continue;
 4445|      0|                        }
 4446|      0|                        *dupkey = key;
 4447|      0|                        res = -2;
 4448|      0|                    }
 4449|      0|                    else {
 4450|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4451|      0|                        res = -1;
 4452|      0|                    }
 4453|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4454|      0|                    goto slow_exit;
 4455|      0|                }
 4456|      0|            }
 4457|    200|            value = PyObject_GetItem(b, key);
 4458|    200|            if (value == NULL) {
  ------------------
  |  Branch (4458:17): [True: 0, False: 200]
  ------------------
 4459|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4460|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4461|      0|                res = -1;
 4462|      0|                goto slow_exit;
 4463|      0|            }
 4464|    200|            status = setitem_lock_held(mp, key, value);
 4465|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4466|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4467|    200|            if (status < 0) {
  ------------------
  |  Branch (4467:17): [True: 0, False: 200]
  ------------------
 4468|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4469|      0|                res = -1;
 4470|      0|                goto slow_exit;
 4471|      0|                return -1;
 4472|      0|            }
 4473|    200|        }
 4474|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4475|      8|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4475:13): [True: 0, False: 8]
  ------------------
 4476|       |            /* Iterator completed, via error */
 4477|      0|            res = -1;
 4478|      0|            goto slow_exit;
 4479|      0|        }
 4480|       |
 4481|      8|slow_exit:
 4482|      8|        ASSERT_CONSISTENT(a);
  ------------------
  |  |  668|      8|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4482:9): [True: 8, False: 0]
  ------------------
 4483|      8|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      8|    }
  ------------------
 4484|      8|        return res;
 4485|      8|    }
 4486|    418|}
dictobject.c:dict_dict_merge:
 4301|    410|{
 4302|    410|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (4302:5): [True: 410, False: 0]
  ------------------
 4303|    410|    if (!PyFrozenDict_Check(other)) {
  ------------------
  |  |   37|    410|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|    410|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    410|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    410|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4303:9): [True: 410, False: 0]
  ------------------
 4304|    410|        ASSERT_DICT_LOCKED(other);
 4305|    410|    }
 4306|       |
 4307|    410|    if (other == mp || other->ma_used == 0)
  ------------------
  |  Branch (4307:9): [True: 0, False: 410]
  |  Branch (4307:24): [True: 322, False: 88]
  ------------------
 4308|       |        /* a.update(a) or a.update({}); nothing to do */
 4309|    322|        return 0;
 4310|     88|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (4310:9): [True: 35, False: 53]
  ------------------
 4311|       |        /* Since the target dict is empty, _PyDict_Contains_KnownHash()
 4312|       |         * always returns 0.  Setting override to 1
 4313|       |         * skips the unnecessary test.
 4314|       |         */
 4315|     35|        override = 1;
 4316|     35|        PyDictKeysObject *okeys = other->ma_keys;
 4317|       |
 4318|       |        // If other is clean, combined, and just allocated, just clone it.
 4319|     35|        if (mp->ma_values == NULL &&
  ------------------
  |  Branch (4319:13): [True: 35, False: 0]
  ------------------
 4320|     35|            other->ma_values == NULL &&
  ------------------
  |  Branch (4320:13): [True: 35, False: 0]
  ------------------
 4321|     35|            other->ma_used == okeys->dk_nentries &&
  ------------------
  |  Branch (4321:13): [True: 35, False: 0]
  ------------------
 4322|     35|            (DK_LOG_SIZE(okeys) == PyDict_LOG_MINSIZE ||
  ------------------
  |  |  281|     35|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  313|     35|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                          (DK_LOG_SIZE(okeys) == PyDict_LOG_MINSIZE ||
  ------------------
  |  |  115|     70|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (4322:14): [True: 33, False: 2]
  ------------------
 4323|      2|             USABLE_FRACTION(DK_SIZE(okeys)/2) < other->ma_used)
  ------------------
  |  |  590|      2|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (4323:14): [True: 2, False: 0]
  ------------------
 4324|     35|        ) {
 4325|     35|            _PyDict_NotifyEvent(PyDict_EVENT_CLONED, mp, (PyObject *)other, NULL);
 4326|     35|            PyDictKeysObject *keys = clone_combined_dict_keys(other);
 4327|     35|            if (keys == NULL)
  ------------------
  |  Branch (4327:17): [True: 0, False: 35]
  ------------------
 4328|      0|                return -1;
 4329|       |
 4330|     35|            ensure_shared_on_resize(mp);
 4331|     35|            dictkeys_decref(mp->ma_keys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|     35|#define IS_DICT_SHARED(mp) (false)
  ------------------
 4332|     35|            set_keys(mp, keys);
 4333|     35|            STORE_USED(mp, other->ma_used);
  ------------------
  |  |  336|     35|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|     35|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4334|     35|            ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|     35|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4334:13): [True: 35, False: 0]
  ------------------
 4335|     35|            return 0;
 4336|     35|        }
 4337|     35|    }
 4338|       |    /* Do one big resize at the start, rather than
 4339|       |        * incrementally resizing as we insert new items.  Expect
 4340|       |        * that there will be no (or few) overlapping keys.
 4341|       |        */
 4342|     53|    if (USABLE_FRACTION(DK_SIZE(mp->ma_keys)) < other->ma_used) {
  ------------------
  |  |  590|     53|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (4342:9): [True: 1, False: 52]
  ------------------
 4343|      1|        int unicode = DK_IS_UNICODE(other->ma_keys);
  ------------------
  |  |  303|      1|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  ------------------
 4344|      1|        if (dictresize(mp, estimate_log2_keysize(mp->ma_used + other->ma_used),
  ------------------
  |  Branch (4344:13): [True: 0, False: 1]
  ------------------
 4345|      1|                        unicode)) {
 4346|      0|            return -1;
 4347|      0|        }
 4348|      1|    }
 4349|       |
 4350|     53|    Py_ssize_t orig_size = other->ma_used;
 4351|     53|    Py_ssize_t pos = 0;
 4352|     53|    Py_hash_t hash;
 4353|     53|    PyObject *key, *value;
 4354|       |
 4355|  1.00k|    while (_PyDict_Next((PyObject*)other, &pos, &key, &value, &hash)) {
  ------------------
  |  Branch (4355:12): [True: 951, False: 53]
  ------------------
 4356|    951|        int err = 0;
 4357|    951|        if (override == 1) {
  ------------------
  |  Branch (4357:13): [True: 951, False: 0]
  ------------------
 4358|    951|            err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  647|    951|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    951|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    951|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  647|    951|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    951|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    951|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4359|    951|        }
 4360|      0|        else {
 4361|      0|            Py_INCREF(key);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4362|      0|            Py_INCREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4363|      0|            err = _PyDict_Contains_KnownHash((PyObject *)mp, key, hash);
 4364|      0|            if (err == 0) {
  ------------------
  |  Branch (4364:17): [True: 0, False: 0]
  ------------------
 4365|      0|                err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _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));
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4366|      0|            }
 4367|      0|            else if (err > 0) {
  ------------------
  |  Branch (4367:22): [True: 0, False: 0]
  ------------------
 4368|      0|                if (dupkey != NULL) {
  ------------------
  |  Branch (4368:21): [True: 0, False: 0]
  ------------------
 4369|      0|                    *dupkey = key;
 4370|      0|                    Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4371|      0|                    return -2;
 4372|      0|                }
 4373|      0|                err = 0;
 4374|      0|            }
 4375|      0|            Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4376|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4377|      0|        }
 4378|    951|        if (err != 0)
  ------------------
  |  Branch (4378:13): [True: 0, False: 951]
  ------------------
 4379|      0|            return -1;
 4380|       |
 4381|    951|        if (orig_size != other->ma_used) {
  ------------------
  |  Branch (4381:13): [True: 0, False: 951]
  ------------------
 4382|      0|            PyErr_SetString(PyExc_RuntimeError,
 4383|      0|                    "dict mutated during update");
 4384|      0|            return -1;
 4385|      0|        }
 4386|    951|    }
 4387|     53|    return 0;
 4388|     53|}
dictobject.c:clone_combined_dict_keys:
 1024|    787|{
 1025|    787|    assert(PyAnyDict_Check(orig));
  ------------------
  |  Branch (1025:5): [True: 787, False: 0]
  |  Branch (1025:5): [True: 0, False: 0]
  ------------------
 1026|    787|    assert(Py_TYPE(orig)->tp_iter == dict_iter);
  ------------------
  |  Branch (1026:5): [True: 787, False: 0]
  ------------------
 1027|    787|    assert(orig->ma_values == NULL);
  ------------------
  |  Branch (1027:5): [True: 787, False: 0]
  ------------------
 1028|    787|    assert(orig->ma_keys != Py_EMPTY_KEYS);
  ------------------
  |  Branch (1028:5): [True: 787, False: 0]
  ------------------
 1029|    787|    assert(orig->ma_keys->dk_refcnt == 1);
  ------------------
  |  Branch (1029:5): [True: 787, False: 0]
  ------------------
 1030|       |
 1031|    787|    if (!PyFrozenDict_Check(orig)) {
  ------------------
  |  |   37|    787|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|    787|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    787|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    787|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1031:9): [True: 787, False: 0]
  ------------------
 1032|    787|        ASSERT_DICT_LOCKED(orig);
 1033|    787|    }
 1034|       |
 1035|    787|    size_t keys_size = _PyDict_KeysSize(orig->ma_keys);
 1036|    787|    PyDictKeysObject *keys = PyMem_Malloc(keys_size);
 1037|    787|    if (keys == NULL) {
  ------------------
  |  Branch (1037:9): [True: 0, False: 787]
  ------------------
 1038|      0|        PyErr_NoMemory();
 1039|      0|        return NULL;
 1040|      0|    }
 1041|       |
 1042|    787|    memcpy(keys, orig->ma_keys, keys_size);
 1043|       |
 1044|       |    /* The keys version must be unique per keys object: the specializer
 1045|       |       and the JIT optimizer rely on it to identify a dict's keys. */
 1046|    787|    keys->dk_version = 0;
 1047|       |
 1048|       |    /* After copying key/value pairs, we need to incref all
 1049|       |       keys and values and they are about to be co-owned by a
 1050|       |       new dict object. */
 1051|    787|    PyObject **pkey, **pvalue;
 1052|    787|    size_t offs;
 1053|    787|    if (DK_IS_UNICODE(orig->ma_keys)) {
  ------------------
  |  |  303|    787|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 787, False: 0]
  |  |  ------------------
  ------------------
 1054|    787|        PyDictUnicodeEntry *ep0 = DK_UNICODE_ENTRIES(keys);
 1055|    787|        pkey = &ep0->me_key;
 1056|    787|        pvalue = &ep0->me_value;
 1057|    787|        offs = sizeof(PyDictUnicodeEntry) / sizeof(PyObject*);
 1058|    787|    }
 1059|      0|    else {
 1060|      0|        PyDictKeyEntry *ep0 = DK_ENTRIES(keys);
 1061|      0|        pkey = &ep0->me_key;
 1062|      0|        pvalue = &ep0->me_value;
 1063|      0|        offs = sizeof(PyDictKeyEntry) / sizeof(PyObject*);
 1064|      0|    }
 1065|       |
 1066|    787|    Py_ssize_t n = keys->dk_nentries;
 1067|  8.36k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1067:28): [True: 7.57k, False: 787]
  ------------------
 1068|  7.57k|        PyObject *value = *pvalue;
 1069|  7.57k|        if (value != NULL) {
  ------------------
  |  Branch (1069:13): [True: 7.18k, False: 392]
  ------------------
 1070|  7.18k|            Py_INCREF(value);
  ------------------
  |  |  310|  7.18k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1071|  7.18k|            Py_INCREF(*pkey);
  ------------------
  |  |  310|  7.18k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1072|  7.18k|        }
 1073|  7.57k|        pvalue += offs;
 1074|  7.57k|        pkey += offs;
 1075|  7.57k|    }
 1076|       |
 1077|       |    /* Since we copied the keys table we now have an extra reference
 1078|       |       in the system.  Manually call increment _Py_RefTotal to signal that
 1079|       |       we have it now; calling dictkeys_incref would be an error as
 1080|       |       keys->dk_refcnt is already set to 1 (after memcpy). */
 1081|       |#ifdef Py_REF_DEBUG
 1082|       |    _Py_IncRefTotal(_PyThreadState_GET());
 1083|       |#endif
 1084|    787|    return keys;
 1085|    787|}
dictobject.c:dict_merge_api:
 4490|    386|{
 4491|       |    /* We accept for the argument either a concrete dictionary object,
 4492|       |     * or an abstract "mapping" object.  For the former, we can do
 4493|       |     * things quite efficiently.  For the latter, we only require that
 4494|       |     * PyMapping_Keys() and PyObject_GetItem() be supported.
 4495|       |     */
 4496|    386|    if (a == NULL || !PyDict_Check(a) || b == NULL) {
  ------------------
  |  |   18|    386|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    772|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4496:9): [True: 0, False: 386]
  |  Branch (4496:22): [True: 0, False: 386]
  |  Branch (4496:42): [True: 0, False: 386]
  ------------------
 4497|      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 (4497:13): [True: 0, False: 0]
  ------------------
 4498|      0|            frozendict_does_not_support("assignment");
  ------------------
  |  | 2855|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2856|      0|                    "not support item " WHAT)
  ------------------
 4499|      0|        }
 4500|      0|        else {
 4501|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4502|      0|        }
 4503|      0|        return -1;
 4504|      0|    }
 4505|       |
 4506|    386|    int res = dict_merge(a, b, override, dupkey);
 4507|    386|    assert(_PyObject_GC_IS_TRACKED(a));
  ------------------
  |  Branch (4507:5): [True: 386, False: 0]
  ------------------
 4508|    386|    return res;
 4509|    386|}
dictobject.c:copy_lock_held_untracked:
 4566|    754|{
 4567|    754|    PyObject *copy;
 4568|    754|    PyDictObject *mp;
 4569|       |
 4570|       |    // frozendict is immutable and so doesn't need critical section
 4571|    754|    if (!PyFrozenDict_Check(o)) {
  ------------------
  |  |   37|    754|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|    754|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    754|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    754|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4571:9): [True: 754, False: 0]
  ------------------
 4572|    754|        ASSERT_DICT_LOCKED(o);
 4573|    754|    }
 4574|       |
 4575|    754|    mp = (PyDictObject *)o;
 4576|    754|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (4576:9): [True: 2, False: 752]
  ------------------
 4577|       |        /* The dict is empty; just return a new dict. */
 4578|      2|        PyObject *d;
 4579|      2|        if (as_frozendict) {
  ------------------
  |  Branch (4579:13): [True: 0, False: 2]
  ------------------
 4580|      0|            d = frozendict_new_untracked(&PyFrozenDict_Type);
 4581|      0|        }
 4582|      2|        else {
 4583|      2|            d = dict_new_untracked(&PyDict_Type);
 4584|      2|        }
 4585|      2|        assert(d == NULL || !_PyObject_GC_IS_TRACKED(d));
  ------------------
  |  Branch (4585:9): [True: 0, False: 2]
  |  Branch (4585:9): [True: 2, False: 0]
  ------------------
 4586|      2|        return d;
 4587|      2|    }
 4588|       |
 4589|    752|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   61|    752|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 752]
  |  |  ------------------
  ------------------
 4590|      0|        PyDictObject *split_copy;
 4591|      0|        PyDictValues *newvalues = copy_values(mp->ma_values);
 4592|      0|        if (newvalues == NULL) {
  ------------------
  |  Branch (4592:13): [True: 0, False: 0]
  ------------------
 4593|      0|            return PyErr_NoMemory();
 4594|      0|        }
 4595|      0|        if (as_frozendict) {
  ------------------
  |  Branch (4595:13): [True: 0, False: 0]
  ------------------
 4596|      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))
  |  |  ------------------
  ------------------
 4597|      0|                                                         &PyFrozenDict_Type);
 4598|      0|        }
 4599|      0|        else {
 4600|      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))
  |  |  ------------------
  ------------------
 4601|      0|        }
 4602|      0|        if (split_copy == NULL) {
  ------------------
  |  Branch (4602:13): [True: 0, False: 0]
  ------------------
 4603|      0|            free_values(newvalues, false);
 4604|      0|            return NULL;
 4605|      0|        }
 4606|      0|        for (size_t i = 0; i < newvalues->capacity; i++) {
  ------------------
  |  Branch (4606:28): [True: 0, False: 0]
  ------------------
 4607|      0|            Py_XINCREF(newvalues->values[i]);
  ------------------
  |  |  611|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4608|      0|        }
 4609|      0|        split_copy->ma_values = newvalues;
 4610|      0|        split_copy->ma_keys = mp->ma_keys;
 4611|      0|        split_copy->ma_used = mp->ma_used;
 4612|      0|        split_copy->_ma_watcher_tag = 0;
 4613|      0|        dictkeys_incref(mp->ma_keys);
 4614|      0|        if (as_frozendict) {
  ------------------
  |  Branch (4614:13): [True: 0, False: 0]
  ------------------
 4615|      0|            PyFrozenDictObject *frozen = (PyFrozenDictObject *)split_copy;
 4616|      0|            frozen->ma_hash = -1;
 4617|      0|        }
 4618|      0|        assert(!_PyObject_GC_IS_TRACKED(split_copy));
  ------------------
  |  Branch (4618:9): [True: 0, False: 0]
  ------------------
 4619|      0|        return (PyObject *)split_copy;
 4620|      0|    }
 4621|       |
 4622|    752|    if (Py_TYPE(mp)->tp_iter == dict_iter &&
  ------------------
  |  |  213|    752|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    752|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    752|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4622:9): [True: 752, False: 0]
  ------------------
 4623|    752|            mp->ma_values == NULL &&
  ------------------
  |  Branch (4623:13): [True: 752, False: 0]
  ------------------
 4624|    752|            (mp->ma_used >= (mp->ma_keys->dk_nentries * 2) / 3))
  ------------------
  |  Branch (4624:13): [True: 752, False: 0]
  ------------------
 4625|    752|    {
 4626|       |        /* Use fast-copy if:
 4627|       |
 4628|       |           (1) type(mp) doesn't override tp_iter; and
 4629|       |
 4630|       |           (2) 'mp' is not a split-dict; and
 4631|       |
 4632|       |           (3) if 'mp' is non-compact ('del' operation does not resize dicts),
 4633|       |               do fast-copy only if it has at most 1/3 non-used keys.
 4634|       |
 4635|       |           The last condition (3) is important to guard against a pathological
 4636|       |           case when a large dict is almost emptied with multiple del/pop
 4637|       |           operations and copied after that.  In cases like this, we defer to
 4638|       |           PyDict_Merge, which produces a compacted copy.
 4639|       |        */
 4640|    752|        PyDictKeysObject *keys = clone_combined_dict_keys(mp);
 4641|    752|        if (keys == NULL) {
  ------------------
  |  Branch (4641:13): [True: 0, False: 752]
  ------------------
 4642|      0|            return NULL;
 4643|      0|        }
 4644|    752|        PyDictObject *new;
 4645|    752|        if (as_frozendict) {
  ------------------
  |  Branch (4645:13): [True: 0, False: 752]
  ------------------
 4646|      0|            new = (PyDictObject *)new_frozendict_untracked(keys, NULL, 0, 0);
 4647|      0|        }
 4648|    752|        else {
 4649|    752|            new = (PyDictObject *)new_dict_untracked(keys, NULL, 0, 0);
 4650|    752|        }
 4651|    752|        if (new == NULL) {
  ------------------
  |  Branch (4651:13): [True: 0, False: 752]
  ------------------
 4652|       |            /* In case of an error, new_dict()/new_frozendict() takes care of
 4653|       |               cleaning up `keys`. */
 4654|      0|            return NULL;
 4655|      0|        }
 4656|       |
 4657|    752|        new->ma_used = mp->ma_used;
 4658|    752|        ASSERT_CONSISTENT(new);
  ------------------
  |  |  668|    752|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4658:9): [True: 752, False: 0]
  ------------------
 4659|    752|        assert(!_PyObject_GC_IS_TRACKED(new));
  ------------------
  |  Branch (4659:9): [True: 752, False: 0]
  ------------------
 4660|    752|        return (PyObject *)new;
 4661|    752|    }
 4662|       |
 4663|      0|    if (as_frozendict) {
  ------------------
  |  Branch (4663:9): [True: 0, False: 0]
  ------------------
 4664|      0|        copy = frozendict_new_untracked(&PyFrozenDict_Type);
 4665|      0|    }
 4666|      0|    else {
 4667|      0|        copy = dict_new_untracked(&PyDict_Type);
 4668|      0|    }
 4669|      0|    if (copy == NULL)
  ------------------
  |  Branch (4669:9): [True: 0, False: 0]
  ------------------
 4670|      0|        return NULL;
 4671|      0|    int res;
 4672|      0|    if (Py_TYPE(mp)->tp_iter == dict_iter) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4672:9): [True: 0, False: 0]
  ------------------
 4673|      0|        res = dict_dict_merge((PyDictObject *)copy, mp, 1, NULL);
 4674|      0|    }
 4675|      0|    else {
 4676|      0|        res = dict_merge(copy, o, 1, NULL);
 4677|      0|    }
 4678|      0|    if (res < 0) {
  ------------------
  |  Branch (4678:9): [True: 0, False: 0]
  ------------------
 4679|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4680|      0|        return NULL;
 4681|      0|    }
 4682|       |
 4683|      0|    assert(!_PyObject_GC_IS_TRACKED(copy));
  ------------------
  |  Branch (4683:5): [True: 0, False: 0]
  ------------------
 4684|      0|    return copy;
 4685|      0|}
dictobject.c:dict_new_untracked:
 5477|      9|{
 5478|      9|    assert(PyObject_IsSubclass((PyObject*)type, (PyObject*)&PyDict_Type));
  ------------------
  |  Branch (5478:5): [True: 9, False: 0]
  ------------------
 5479|       |
 5480|      9|    return anydict_new_untracked(type);
 5481|      9|}
dictobject.c:anydict_new_untracked:
 5454|     10|{
 5455|     10|    assert(type != NULL);
  ------------------
  |  Branch (5455:5): [True: 10, False: 0]
  ------------------
 5456|       |    // dict and frozendict subclasses must implement the GC protocol
 5457|     10|    assert(_PyType_IS_GC(type));
  ------------------
  |  Branch (5457:5): [True: 10, False: 0]
  ------------------
 5458|       |
 5459|     10|    PyObject *self = _PyType_AllocNoTrack(type, 0);
 5460|     10|    if (self == NULL) {
  ------------------
  |  Branch (5460:9): [True: 0, False: 10]
  ------------------
 5461|      0|        return NULL;
 5462|      0|    }
 5463|     10|    PyDictObject *d = (PyDictObject *)self;
 5464|       |
 5465|     10|    d->ma_used = 0;
 5466|     10|    d->_ma_watcher_tag = 0;
 5467|       |    // We don't inc ref empty keys because they're immortal
 5468|     10|    assert((Py_EMPTY_KEYS)->dk_refcnt == _Py_DICT_IMMORTAL_INITIAL_REFCNT);
  ------------------
  |  Branch (5468:5): [True: 10, False: 0]
  ------------------
 5469|     10|    d->ma_keys = Py_EMPTY_KEYS;
  ------------------
  |  |  660|     10|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 5470|     10|    d->ma_values = NULL;
 5471|     10|    ASSERT_CONSISTENT(d);
  ------------------
  |  |  668|     10|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (5471:5): [True: 10, False: 0]
  ------------------
 5472|     10|    return self;
 5473|     10|}
dictobject.c:new_values:
  915|    144|{
  916|    144|    size_t n = values_size_from_count(size);
  917|    144|    PyDictValues *res = (PyDictValues *)PyMem_Malloc(n);
  918|    144|    if (res == NULL) {
  ------------------
  |  Branch (918:9): [True: 0, False: 144]
  ------------------
  919|      0|        return NULL;
  920|      0|    }
  921|    144|    res->embedded = 0;
  922|    144|    res->size = 0;
  923|    144|    assert(size < 256);
  ------------------
  |  Branch (923:5): [True: 144, False: 0]
  ------------------
  924|    144|    res->capacity = (uint8_t)size;
  925|    144|    return res;
  926|    144|}
dictobject.c:values_size_from_count:
  903|    144|{
  904|    144|    assert(count >= 1);
  ------------------
  |  Branch (904:5): [True: 144, False: 0]
  ------------------
  905|    144|    size_t suffix_size = _Py_SIZE_ROUND_UP(count, sizeof(PyObject *));
  ------------------
  |  |  249|    144|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  250|    144|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  906|    144|    assert(suffix_size < 128);
  ------------------
  |  Branch (906:5): [True: 144, False: 0]
  ------------------
  907|    144|    assert(suffix_size % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (907:5): [True: 144, False: 0]
  ------------------
  908|    144|    return (count + 1) * sizeof(PyObject *) + suffix_size;
  909|    144|}
dictobject.c:dictkeys_incref:
  482|    144|{
  483|    144|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) < 0) {
  ------------------
  |  |  151|    144|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (483:9): [True: 0, False: 144]
  ------------------
  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|    144|    INCREF_KEYS(dk);
  ------------------
  |  |  262|    144|#define INCREF_KEYS(dk)  dk->dk_refcnt++
  ------------------
  491|    144|}
dictobject.c:new_dict_untracked:
  987|    752|{
  988|    752|    PyDictObject *mp = _Py_FREELIST_POP(PyDictObject, dicts);
  ------------------
  |  |   43|    752|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|    752|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  989|    752|    if (mp == NULL) {
  ------------------
  |  Branch (989:9): [True: 465, False: 287]
  ------------------
  990|    465|        mp = PyObject_GC_New(PyDictObject, &PyDict_Type);
  ------------------
  |  |  181|    465|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    465|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  991|    465|    }
  992|    752|    assert(mp == NULL || Py_IS_TYPE(mp, &PyDict_Type));
  ------------------
  |  Branch (992:5): [True: 0, False: 752]
  |  Branch (992:5): [True: 752, False: 0]
  ------------------
  993|       |
  994|    752|    return new_dict_impl(mp, keys, values, used, free_values_on_failure, 0, 0);
  995|    752|}
dictobject.c:dict_setdefault_ref_lock_held:
 4913|  16.7k|{
 4914|  16.7k|    if (!PyDict_Check(d)) {
  ------------------
  |  |   18|  16.7k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  16.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4914:9): [True: 0, False: 16.7k]
  ------------------
 4915|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4916|      0|            frozendict_does_not_support("assignment");
  ------------------
  |  | 2855|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2856|      0|                    "not support item " WHAT)
  ------------------
 4917|      0|        }
 4918|      0|        else {
 4919|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4920|      0|        }
 4921|      0|        if (result) {
  ------------------
  |  Branch (4921:13): [True: 0, False: 0]
  ------------------
 4922|      0|            *result = NULL;
 4923|      0|        }
 4924|      0|        return -1;
 4925|      0|    }
 4926|  16.7k|    assert(can_modify_dict((PyDictObject*)d));
  ------------------
  |  Branch (4926:5): [True: 16.7k, False: 0]
  ------------------
 4927|       |
 4928|  16.7k|    PyDictObject *mp = (PyDictObject *)d;
 4929|  16.7k|    PyObject *value;
 4930|  16.7k|    Py_hash_t hash;
 4931|  16.7k|    Py_ssize_t ix;
 4932|       |
 4933|  16.7k|    hash = _PyObject_HashDictKey(key);
 4934|  16.7k|    if (hash == -1) {
  ------------------
  |  Branch (4934:9): [True: 0, False: 16.7k]
  ------------------
 4935|      0|        dict_unhashable_type(d, key);
 4936|      0|        if (result) {
  ------------------
  |  Branch (4936:13): [True: 0, False: 0]
  ------------------
 4937|      0|            *result = NULL;
 4938|      0|        }
 4939|      0|        return -1;
 4940|      0|    }
 4941|       |
 4942|  16.7k|    if (mp->ma_keys == Py_EMPTY_KEYS) {
  ------------------
  |  |  660|  16.7k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (4942:9): [True: 23, False: 16.6k]
  ------------------
 4943|     23|        if (insert_to_emptydict(mp, Py_NewRef(key), hash,
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4943:13): [True: 0, False: 23]
  ------------------
 4944|     23|                                Py_NewRef(default_value)) < 0) {
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4945|      0|            if (result) {
  ------------------
  |  Branch (4945:17): [True: 0, False: 0]
  ------------------
 4946|      0|                *result = NULL;
 4947|      0|            }
 4948|      0|            return -1;
 4949|      0|        }
 4950|     23|        if (result) {
  ------------------
  |  Branch (4950:13): [True: 6, False: 17]
  ------------------
 4951|      6|            *result = incref_result ? Py_NewRef(default_value) : default_value;
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4951:23): [True: 6, False: 0]
  ------------------
 4952|      6|        }
 4953|     23|        return 0;
 4954|     23|    }
 4955|       |
 4956|  16.6k|    if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |   61|  33.3k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 16.6k]
  |  |  ------------------
  ------------------
                  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4957|      0|        ix = insert_split_key(mp->ma_keys, key, hash);
 4958|      0|        if (ix != DKIX_EMPTY) {
  ------------------
  |  |  194|      0|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4958:13): [True: 0, False: 0]
  ------------------
 4959|      0|            PyObject *value = mp->ma_values->values[ix];
 4960|      0|            int already_present = value != NULL;
 4961|      0|            if (!already_present) {
  ------------------
  |  Branch (4961:17): [True: 0, False: 0]
  ------------------
 4962|      0|                _PyDict_InsertSplitValue(mp, key, default_value, ix);
 4963|      0|                value = default_value;
 4964|      0|            }
 4965|      0|            if (result) {
  ------------------
  |  Branch (4965:17): [True: 0, False: 0]
  ------------------
 4966|      0|                *result = incref_result ? Py_NewRef(value) : value;
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _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 (4966:27): [True: 0, False: 0]
  ------------------
 4967|      0|            }
 4968|      0|            return already_present;
 4969|      0|        }
 4970|       |        // No space in shared keys. Go to insert_combined_dict() below.
 4971|      0|    }
 4972|  16.6k|    else {
 4973|  16.6k|        ix = _Py_dict_lookup(mp, key, hash, &value);
 4974|  16.6k|        if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|  16.6k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (4974:13): [True: 0, False: 16.6k]
  ------------------
 4975|      0|            if (result) {
  ------------------
  |  Branch (4975:17): [True: 0, False: 0]
  ------------------
 4976|      0|                *result = NULL;
 4977|      0|            }
 4978|      0|            return -1;
 4979|      0|        }
 4980|  16.6k|    }
 4981|       |
 4982|  16.6k|    if (ix == DKIX_EMPTY || value == NULL) {
  ------------------
  |  |  194|  33.3k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4982:9): [True: 12.5k, False: 4.09k]
  |  Branch (4982:29): [True: 0, False: 4.09k]
  ------------------
 4983|  12.5k|        value = default_value;
 4984|       |
 4985|       |        // See comment to this function in insertdict.
 4986|  12.5k|        if (insert_combined_dict(mp, hash, Py_NewRef(key), Py_NewRef(value)) < 0) {
  ------------------
  |  |  647|  12.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  12.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (insert_combined_dict(mp, hash, Py_NewRef(key), Py_NewRef(value)) < 0) {
  ------------------
  |  |  647|  12.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  12.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4986:13): [True: 0, False: 12.5k]
  ------------------
 4987|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4988|      0|            Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4989|      0|            if (result) {
  ------------------
  |  Branch (4989:17): [True: 0, False: 0]
  ------------------
 4990|      0|                *result = NULL;
 4991|      0|            }
 4992|      0|            return -1;
 4993|      0|        }
 4994|       |
 4995|  12.5k|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|  12.5k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|  12.5k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4996|  12.5k|        assert(mp->ma_keys->dk_usable >= 0);
  ------------------
  |  Branch (4996:9): [True: 12.5k, False: 0]
  ------------------
 4997|  12.5k|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  12.5k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4997:9): [True: 12.5k, False: 0]
  ------------------
 4998|  12.5k|        if (result) {
  ------------------
  |  Branch (4998:13): [True: 9.42k, False: 3.17k]
  ------------------
 4999|  9.42k|            *result = incref_result ? Py_NewRef(value) : value;
  ------------------
  |  |  647|  9.42k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4999:23): [True: 9.42k, False: 0]
  ------------------
 5000|  9.42k|        }
 5001|  12.5k|        return 0;
 5002|  12.5k|    }
 5003|       |
 5004|  16.6k|    assert(value != NULL);
  ------------------
  |  Branch (5004:5): [True: 4.09k, False: 0]
  ------------------
 5005|  4.09k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  4.09k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (5005:5): [True: 4.09k, False: 0]
  ------------------
 5006|  4.09k|    if (result) {
  ------------------
  |  Branch (5006:9): [True: 4.09k, False: 0]
  ------------------
 5007|  4.09k|        *result = incref_result ? Py_NewRef(value) : value;
  ------------------
  |  |  647|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5007:19): [True: 4.09k, False: 0]
  ------------------
 5008|  4.09k|    }
 5009|  4.09k|    return 1;
 5010|  4.09k|}
dictobject.c:dict_update_arg:
 4123|     40|{
 4124|     40|    if (PyAnyDict_CheckExact(arg)) {
  ------------------
  |  |   41|     40|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|     40|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     80|#  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: 24, False: 16]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4125|     24|        return dict_merge(self, arg, 1, NULL);
 4126|     24|    }
 4127|     16|    int has_keys = PyObject_HasAttrWithError(arg, &_Py_ID(keys));
  ------------------
  |  |  951|     16|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     16|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     16|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4128|     16|    if (has_keys < 0) {
  ------------------
  |  Branch (4128:9): [True: 0, False: 16]
  ------------------
 4129|      0|        return -1;
 4130|      0|    }
 4131|     16|    if (has_keys) {
  ------------------
  |  Branch (4131:9): [True: 8, False: 8]
  ------------------
 4132|      8|        return dict_merge(self, arg, 1, NULL);
 4133|      8|    }
 4134|      8|    return dict_merge_from_seq2(self, arg, 1);
 4135|     16|}
dictobject.c:dict_contains:
 5375|  6.53k|{
 5376|  6.53k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 5377|  6.53k|    if (hash == -1) {
  ------------------
  |  Branch (5377:9): [True: 0, False: 6.53k]
  ------------------
 5378|      0|        dict_unhashable_type(op, key);
 5379|      0|        return -1;
 5380|      0|    }
 5381|       |
 5382|  6.53k|    return _PyDict_Contains_KnownHash(op, key, hash);
 5383|  6.53k|}
dictobject.c:dict_dealloc:
 3738|  1.95k|{
 3739|  1.95k|    PyDictObject *mp = (PyDictObject *)self;
 3740|  1.95k|    _PyObject_ResurrectStart(self);
 3741|  1.95k|    _PyDict_NotifyEvent(PyDict_EVENT_DEALLOCATED, mp, NULL, NULL);
 3742|  1.95k|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (3742:9): [True: 0, False: 1.95k]
  ------------------
 3743|      0|        return;
 3744|      0|    }
 3745|  1.95k|    PyDictValues *values = mp->ma_values;
 3746|  1.95k|    PyDictKeysObject *keys = mp->ma_keys;
 3747|  1.95k|    Py_ssize_t i, n;
 3748|       |
 3749|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 3750|  1.95k|    PyObject_GC_UnTrack(mp);
 3751|  1.95k|    if (values != NULL) {
  ------------------
  |  Branch (3751:9): [True: 7, False: 1.95k]
  ------------------
 3752|      7|        if (values->embedded == 0) {
  ------------------
  |  Branch (3752:13): [True: 7, False: 0]
  ------------------
 3753|    217|            for (i = 0, n = values->capacity; i < n; i++) {
  ------------------
  |  Branch (3753:47): [True: 210, False: 7]
  ------------------
 3754|    210|                Py_XDECREF(values->values[i]);
  ------------------
  |  |  621|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3755|    210|            }
 3756|      7|            free_values(values, false);
 3757|      7|        }
 3758|      7|        dictkeys_decref(keys, false);
 3759|      7|    }
 3760|  1.95k|    else if (keys != NULL) {
  ------------------
  |  Branch (3760:14): [True: 1.95k, False: 0]
  ------------------
 3761|  1.95k|        assert(keys->dk_refcnt == 1 || keys == Py_EMPTY_KEYS);
  ------------------
  |  Branch (3761:9): [True: 1.11k, False: 840]
  |  Branch (3761:9): [True: 840, False: 0]
  ------------------
 3762|  1.95k|        dictkeys_decref(keys, false);
 3763|  1.95k|    }
 3764|  1.95k|    if (Py_IS_TYPE(mp, &PyDict_Type)) {
  ------------------
  |  |  215|  1.95k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1.95k, False: 7]
  |  |  ------------------
  ------------------
 3765|  1.95k|        _Py_FREELIST_FREE(dicts, mp, Py_TYPE(mp)->tp_free);
  ------------------
  |  |   35|  1.95k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  1.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  1.95k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   16|  1.95k|#  define Py_dicts_MAXFREELIST 80
  |  |  ------------------
  ------------------
 3766|  1.95k|    }
 3767|      7|    else {
 3768|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3769|      7|    }
 3770|  1.95k|}
dictobject.c:dict_length:
 3875|     12|{
 3876|     12|    return GET_USED(_PyAnyDict_CAST(self));
  ------------------
  |  |  328|     12|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  151|     48|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (151:45): [True: 12, False: 0]
  |  |  |  |  |  Branch (151:45): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3877|     12|}
dictobject.c:dict_traverse:
 5188|  3.15k|{
 5189|  3.15k|    PyDictObject *mp = (PyDictObject *)op;
 5190|  3.15k|    PyDictKeysObject *keys = mp->ma_keys;
 5191|  3.15k|    Py_ssize_t i, n = keys->dk_nentries;
 5192|       |
 5193|  3.15k|    if (DK_IS_UNICODE(keys)) {
  ------------------
  |  |  303|  3.15k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 2.84k, False: 310]
  |  |  ------------------
  ------------------
 5194|  2.84k|        if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   61|  2.84k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 4, False: 2.83k]
  |  |  ------------------
  ------------------
 5195|     40|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5195:25): [True: 36, False: 4]
  ------------------
 5196|     36|                Py_VISIT(mp->ma_values->values[i]);
  ------------------
  |  |  194|     36|    do {                                                                \
  |  |  195|     36|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 32, False: 4]
  |  |  ------------------
  |  |  196|     32|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     32|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 32]
  |  |  ------------------
  |  |  198|     32|                return vret;                                            \
  |  |  199|     32|        }                                                               \
  |  |  200|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 5197|     36|            }
 5198|      4|        }
 5199|  2.83k|        else {
 5200|  2.83k|            PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
 5201|  39.0k|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5201:25): [True: 36.1k, False: 2.83k]
  ------------------
 5202|  36.1k|                Py_VISIT(entries[i].me_value);
  ------------------
  |  |  194|  36.1k|    do {                                                                \
  |  |  195|  36.1k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 35.5k, False: 652]
  |  |  ------------------
  |  |  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|  36.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 36.1k]
  |  |  ------------------
  ------------------
 5203|  36.1k|            }
 5204|  2.83k|        }
 5205|  2.84k|    }
 5206|    310|    else {
 5207|    310|        PyDictKeyEntry *entries = DK_ENTRIES(keys);
 5208|  2.18k|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5208:21): [True: 1.87k, False: 310]
  ------------------
 5209|  1.87k|            if (entries[i].me_value != NULL) {
  ------------------
  |  Branch (5209:17): [True: 1.85k, False: 20]
  ------------------
 5210|  1.85k|                Py_VISIT(entries[i].me_value);
  ------------------
  |  |  194|  1.85k|    do {                                                                \
  |  |  195|  1.85k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.85k, False: 0]
  |  |  ------------------
  |  |  196|  1.85k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.85k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.85k]
  |  |  ------------------
  |  |  198|  1.85k|                return vret;                                            \
  |  |  199|  1.85k|        }                                                               \
  |  |  200|  1.85k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.85k]
  |  |  ------------------
  ------------------
 5211|  1.85k|                Py_VISIT(entries[i].me_key);
  ------------------
  |  |  194|  1.85k|    do {                                                                \
  |  |  195|  1.85k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.85k, False: 0]
  |  |  ------------------
  |  |  196|  1.85k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.85k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.85k]
  |  |  ------------------
  |  |  198|  1.85k|                return vret;                                            \
  |  |  199|  1.85k|        }                                                               \
  |  |  200|  1.85k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.85k]
  |  |  ------------------
  ------------------
 5212|  1.85k|            }
 5213|  1.87k|        }
 5214|    310|    }
 5215|  3.15k|    return 0;
 5216|  3.15k|}
dictobject.c:dict_tp_clear:
 5220|      9|{
 5221|      9|    PyDict_Clear(op);
 5222|      9|    return 0;
 5223|      9|}
dictobject.c:dict_iter:
 5580|     13|{
 5581|     13|    PyDictObject *dict = (PyDictObject *)self;
 5582|     13|    return dictiter_new(dict, &PyDictIterKey_Type);
 5583|     13|}
dictobject.c:dictiter_new:
 5717|    120|{
 5718|    120|    Py_ssize_t used;
 5719|    120|    dictiterobject *di;
 5720|    120|    di = PyObject_GC_New(dictiterobject, itertype);
  ------------------
  |  |  181|    120|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5721|    120|    if (di == NULL) {
  ------------------
  |  Branch (5721:9): [True: 0, False: 120]
  ------------------
 5722|      0|        return NULL;
 5723|      0|    }
 5724|    120|    di->di_dict = (PyDictObject*)Py_NewRef(dict);
  ------------------
  |  |  647|    120|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5725|    120|    used = GET_USED(dict);
  ------------------
  |  |  328|    120|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  151|    120|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 5726|    120|    di->di_used = used;
 5727|    120|    di->len = used;
 5728|    120|    di->di_result = NULL;
 5729|    120|    if (itertype == &PyDictRevIterKey_Type ||
  ------------------
  |  Branch (5729:9): [True: 0, False: 120]
  ------------------
 5730|    120|         itertype == &PyDictRevIterItem_Type ||
  ------------------
  |  Branch (5730:10): [True: 0, False: 120]
  ------------------
 5731|    120|         itertype == &PyDictRevIterValue_Type) {
  ------------------
  |  Branch (5731:10): [True: 0, False: 120]
  ------------------
 5732|      0|        if (_PyDict_HasSplitTable(dict)) {
  ------------------
  |  |   61|      0|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5733|      0|            di->di_pos = used - 1;
 5734|      0|        }
 5735|      0|        else {
 5736|      0|            di->di_pos = load_keys_nentries(dict) - 1;
 5737|      0|        }
 5738|      0|    }
 5739|    120|    else {
 5740|    120|        di->di_pos = 0;
 5741|    120|    }
 5742|       |    /* gh-152107: track before allocating di_result. A dictiter with a NULL
 5743|       |       di_result is a valid state for dictiter_traverse()/dictiter_dealloc(),
 5744|       |       so a failure of the allocation below can safely DECREF a tracked di. */
 5745|    120|    _PyObject_GC_TRACK(di);
  ------------------
  |  |  502|    120|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5746|    120|    if (itertype == &PyDictIterItem_Type ||
  ------------------
  |  Branch (5746:9): [True: 95, False: 25]
  ------------------
 5747|     95|        itertype == &PyDictRevIterItem_Type) {
  ------------------
  |  Branch (5747:9): [True: 0, False: 25]
  ------------------
 5748|     95|        di->di_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|     95|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      di->di_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|     95|#  define Py_None (&_Py_NoneStruct)
  ------------------
 5749|     95|        if (di->di_result == NULL) {
  ------------------
  |  Branch (5749:13): [True: 0, False: 95]
  ------------------
 5750|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5751|      0|            return NULL;
 5752|      0|        }
 5753|     95|    }
 5754|    120|    return (PyObject *)di;
 5755|    120|}
dictobject.c:dict___contains___impl:
 4867|      4|{
 4868|      4|    int contains = dict_contains((PyObject *)self, key);
 4869|      4|    if (contains < 0) {
  ------------------
  |  Branch (4869:9): [True: 0, False: 4]
  ------------------
 4870|      0|        return NULL;
 4871|      0|    }
 4872|      4|    if (contains) {
  ------------------
  |  Branch (4872:9): [True: 0, False: 4]
  ------------------
 4873|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4874|      0|    }
 4875|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4876|      4|}
dictobject.c:dict_get_impl:
 4891|    526|{
 4892|    526|    PyObject *val = NULL;
 4893|    526|    Py_hash_t hash;
 4894|    526|    Py_ssize_t ix;
 4895|       |
 4896|    526|    hash = _PyObject_HashDictKey(key);
 4897|    526|    if (hash == -1) {
  ------------------
  |  Branch (4897:9): [True: 0, False: 526]
  ------------------
 4898|      0|        dict_unhashable_type((PyObject*)self, key);
 4899|      0|        return NULL;
 4900|      0|    }
 4901|    526|    ix = _Py_dict_lookup_threadsafe(self, key, hash, &val);
 4902|    526|    if (ix == DKIX_ERROR)
  ------------------
  |  |  196|    526|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (4902:9): [True: 0, False: 526]
  ------------------
 4903|      0|        return NULL;
 4904|    526|    if (ix == DKIX_EMPTY || val == NULL) {
  ------------------
  |  |  194|  1.05k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4904:9): [True: 324, False: 202]
  |  Branch (4904:29): [True: 0, False: 202]
  ------------------
 4905|    324|        val = Py_NewRef(default_value);
  ------------------
  |  |  647|    324|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    324|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    324|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4906|    324|    }
 4907|    526|    return val;
 4908|    526|}
dictobject.c:dict_setdefault_impl:
 5050|     14|{
 5051|     14|    PyObject *val;
 5052|     14|    dict_setdefault_ref_lock_held((PyObject *)self, key, default_value, &val, 1);
 5053|     14|    return val;
 5054|     14|}
dictobject.c:dict_pop_impl:
 5088|    162|{
 5089|    162|    return dict_pop_default((PyObject*)self, key, default_value);
 5090|    162|}
dictobject.c:dict_keys_impl:
 7153|     12|{
 7154|     12|    return _PyDictView_New((PyObject *)self, &PyDictKeys_Type);
 7155|     12|}
dictobject.c:dict_items_impl:
 7265|     97|{
 7266|     97|    return _PyDictView_New((PyObject *)self, &PyDictItems_Type);
 7267|     97|}
dictobject.c:dict_values_impl:
 7355|      5|{
 7356|      5|    return _PyDictView_New((PyObject *)self, &PyDictValues_Type);
 7357|      5|}
dictobject.c:dict_update:
 4165|     31|{
 4166|     31|    if (dict_update_common(self, args, kwds, "update") != -1)
  ------------------
  |  Branch (4166:9): [True: 31, False: 0]
  ------------------
 4167|     31|        Py_RETURN_NONE;
  ------------------
  |  |  628|     31|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     31|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 4168|      0|    return NULL;
 4169|     31|}
dictobject.c:dict_update_common:
 4140|     38|{
 4141|     38|    PyObject *arg = NULL;
 4142|     38|    int result = 0;
 4143|       |
 4144|     38|    if (!PyArg_UnpackTuple(args, methname, 0, 1, &arg)) {
  ------------------
  |  Branch (4144:9): [True: 0, False: 38]
  ------------------
 4145|      0|        result = -1;
 4146|      0|    }
 4147|     38|    else if (arg != NULL) {
  ------------------
  |  Branch (4147:14): [True: 31, False: 7]
  ------------------
 4148|     31|        result = dict_update_arg(self, arg);
 4149|     31|    }
 4150|       |
 4151|     38|    if (result == 0 && kwds != NULL) {
  ------------------
  |  Branch (4151:9): [True: 38, False: 0]
  |  Branch (4151:24): [True: 0, False: 38]
  ------------------
 4152|      0|        if (PyArg_ValidateKeywordArguments(kwds))
  ------------------
  |  Branch (4152:13): [True: 0, False: 0]
  ------------------
 4153|      0|            result = dict_merge(self, kwds, 1, NULL);
 4154|      0|        else
 4155|      0|            result = -1;
 4156|      0|    }
 4157|     38|    return result;
 4158|     38|}
dictobject.c:dict_fromkeys_impl:
 4116|      6|{
 4117|      6|    return _PyDict_FromKeys((PyObject *)type, iterable, value);
 4118|      6|}
dictobject.c:dict_init:
 5497|      7|{
 5498|      7|    return dict_update_common(self, args, kwds, "dict");
 5499|      7|}
dictobject.c:dict_new:
 5485|      7|{
 5486|       |    /* tp_new ignores args/kwds; args/kwds are consumed by dict_init (tp_init). */
 5487|      7|    PyObject *self = dict_new_untracked(type);
 5488|      7|    if (self == NULL) {
  ------------------
  |  Branch (5488:9): [True: 0, False: 7]
  ------------------
 5489|      0|        return NULL;
 5490|      0|    }
 5491|      7|    _PyObject_GC_TRACK(self);
  ------------------
  |  |  502|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5492|      7|    return self;
 5493|      7|}
dictobject.c:dict_vectorcall:
 5504|     14|{
 5505|     14|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     14|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5506|     14|    if (!_PyArg_CheckPositional("dict", nargs, 0, 1)) {
  ------------------
  |  |   38|     14|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 14, False: 0]
  |  |  |  Branch (38:27): [True: 14, False: 0]
  |  |  ------------------
  |  |   39|     14|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5507|      0|        return NULL;
 5508|      0|    }
 5509|       |
 5510|     14|    assert(type == (PyObject *)&PyDict_Type);
  ------------------
  |  Branch (5510:5): [True: 14, False: 0]
  ------------------
 5511|     14|    PyObject *self = PyDict_New();
 5512|     14|    if (self == NULL) {
  ------------------
  |  Branch (5512:9): [True: 0, False: 14]
  ------------------
 5513|      0|        return NULL;
 5514|      0|    }
 5515|     14|    if (nargs == 1) {
  ------------------
  |  Branch (5515:9): [True: 8, False: 6]
  ------------------
 5516|      8|        if (dict_update_arg(self, args[0]) < 0) {
  ------------------
  |  Branch (5516:13): [True: 0, False: 8]
  ------------------
 5517|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5518|      0|            return NULL;
 5519|      0|        }
 5520|      8|        args++;
 5521|      8|    }
 5522|     14|    if (kwnames != NULL) {
  ------------------
  |  Branch (5522:9): [True: 0, False: 14]
  ------------------
 5523|      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 (5523:32): [True: 0, False: 0]
  ------------------
 5524|      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 (5524:29): [True: 0, False: 0]
  ------------------
 5525|      0|            if (PyDict_SetItem(self, key, args[i]) < 0) {
  ------------------
  |  Branch (5525:17): [True: 0, False: 0]
  ------------------
 5526|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5527|      0|                return NULL;
 5528|      0|            }
 5529|      0|        }
 5530|      0|    }
 5531|     14|    return self;
 5532|     14|}
dictobject.c:dictiter_dealloc:
 5759|    120|{
 5760|    120|    dictiterobject *di = (dictiterobject *)self;
 5761|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 5762|    120|    _PyObject_GC_UNTRACK(di);
  ------------------
  |  |  504|    120|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5763|    120|    Py_XDECREF(di->di_dict);
  ------------------
  |  |  621|    120|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5764|    120|    Py_XDECREF(di->di_result);
  ------------------
  |  |  621|    120|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5765|    120|    PyObject_GC_Del(di);
 5766|    120|}
dictobject.c:dictiter_iternextkey:
 5882|    269|{
 5883|    269|    dictiterobject *di = (dictiterobject *)self;
 5884|    269|    PyDictObject *d = di->di_dict;
 5885|       |
 5886|    269|    if (d == NULL)
  ------------------
  |  Branch (5886:9): [True: 0, False: 269]
  ------------------
 5887|      0|        return NULL;
 5888|       |
 5889|    269|    PyObject *value;
 5890|       |#ifdef Py_GIL_DISABLED
 5891|       |    if (dictiter_iternext_threadsafe(d, self, &value, NULL) < 0) {
 5892|       |        value = NULL;
 5893|       |    }
 5894|       |#else
 5895|    269|    value = dictiter_iternextkey_lock_held(d, self);
 5896|    269|#endif
 5897|       |
 5898|    269|    return value;
 5899|    269|}
dictobject.c:dictiter_iternextkey_lock_held:
 5813|    269|{
 5814|    269|    dictiterobject *di = (dictiterobject *)self;
 5815|    269|    PyObject *key;
 5816|    269|    Py_ssize_t i;
 5817|    269|    PyDictKeysObject *k;
 5818|       |
 5819|    269|    assert (PyAnyDict_Check(d));
  ------------------
  |  Branch (5819:5): [True: 269, False: 0]
  |  Branch (5819:5): [True: 0, False: 0]
  ------------------
 5820|    269|    ASSERT_DICT_LOCKED(d);
 5821|       |
 5822|    269|    if (di->di_used != d->ma_used) {
  ------------------
  |  Branch (5822:9): [True: 0, False: 269]
  ------------------
 5823|      0|        PyErr_SetString(PyExc_RuntimeError,
 5824|      0|                        "dictionary changed size during iteration");
 5825|      0|        di->di_used = -1; /* Make this state sticky */
 5826|      0|        return NULL;
 5827|      0|    }
 5828|       |
 5829|    269|    i = di->di_pos;
 5830|    269|    k = d->ma_keys;
 5831|    269|    assert(i >= 0);
  ------------------
  |  Branch (5831:5): [True: 269, False: 0]
  ------------------
 5832|    269|    if (_PyDict_HasSplitTable(d)) {
  ------------------
  |  |   61|    269|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 269]
  |  |  ------------------
  ------------------
 5833|      0|        if (i >= d->ma_used)
  ------------------
  |  Branch (5833:13): [True: 0, False: 0]
  ------------------
 5834|      0|            goto fail;
 5835|      0|        int index = get_index_from_order(d, i);
 5836|      0|        key = LOAD_SHARED_KEY(DK_UNICODE_ENTRIES(k)[index].me_key);
  ------------------
  |  |  260|      0|#define LOAD_SHARED_KEY(key) key
  ------------------
 5837|      0|        assert(d->ma_values->values[index] != NULL);
  ------------------
  |  Branch (5837:9): [True: 0, False: 0]
  ------------------
 5838|      0|    }
 5839|    269|    else {
 5840|    269|        Py_ssize_t n = k->dk_nentries;
 5841|    269|        if (DK_IS_UNICODE(k)) {
  ------------------
  |  |  303|    269|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 269, False: 0]
  |  |  ------------------
  ------------------
 5842|    269|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(k)[i];
 5843|    290|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5843:20): [True: 269, False: 21]
  |  Branch (5843:29): [True: 21, False: 248]
  ------------------
 5844|     21|                entry_ptr++;
 5845|     21|                i++;
 5846|     21|            }
 5847|    269|            if (i >= n)
  ------------------
  |  Branch (5847:17): [True: 21, False: 248]
  ------------------
 5848|     21|                goto fail;
 5849|    248|            key = entry_ptr->me_key;
 5850|    248|        }
 5851|      0|        else {
 5852|      0|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(k)[i];
 5853|      0|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5853:20): [True: 0, False: 0]
  |  Branch (5853:29): [True: 0, False: 0]
  ------------------
 5854|      0|                entry_ptr++;
 5855|      0|                i++;
 5856|      0|            }
 5857|      0|            if (i >= n)
  ------------------
  |  Branch (5857:17): [True: 0, False: 0]
  ------------------
 5858|      0|                goto fail;
 5859|      0|            key = entry_ptr->me_key;
 5860|      0|        }
 5861|    269|    }
 5862|       |    // We found an element (key), but did not expect it
 5863|    248|    if (di->len == 0) {
  ------------------
  |  Branch (5863:9): [True: 0, False: 248]
  ------------------
 5864|      0|        PyErr_SetString(PyExc_RuntimeError,
 5865|      0|                        "dictionary keys changed during iteration");
 5866|      0|        goto fail;
 5867|      0|    }
 5868|    248|    di->di_pos = i+1;
 5869|    248|    di->len--;
 5870|    248|    return Py_NewRef(key);
  ------------------
  |  |  647|    248|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    248|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    248|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5871|       |
 5872|     21|fail:
 5873|     21|    di->di_dict = NULL;
 5874|     21|    Py_DECREF(d);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5875|       |    return NULL;
 5876|    248|}
dictobject.c:dictiter_len:
 5779|     79|{
 5780|     79|    dictiterobject *di = (dictiterobject *)self;
 5781|     79|    Py_ssize_t len = 0;
 5782|     79|    if (di->di_dict != NULL && di->di_used == GET_USED(di->di_dict))
  ------------------
  |  |  328|     79|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  151|     79|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
  |  Branch (5782:9): [True: 79, False: 0]
  |  Branch (5782:32): [True: 79, False: 0]
  ------------------
 5783|     79|        len = FT_ATOMIC_LOAD_SSIZE_RELAXED(di->len);
  ------------------
  |  |  151|     79|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 5784|     79|    return PyLong_FromSize_t(len);
 5785|     79|}
dictobject.c:dictiter_iternextitem:
 6288|  1.09k|{
 6289|  1.09k|    dictiterobject *di = (dictiterobject *)self;
 6290|  1.09k|    PyDictObject *d = di->di_dict;
 6291|       |
 6292|  1.09k|    if (d == NULL)
  ------------------
  |  Branch (6292:9): [True: 0, False: 1.09k]
  ------------------
 6293|      0|        return NULL;
 6294|       |
 6295|  1.09k|    PyObject *key, *value;
 6296|       |#ifdef Py_GIL_DISABLED
 6297|       |    if (dictiter_iternext_threadsafe(d, self, &key, &value) == 0) {
 6298|       |#else
 6299|  1.09k|    if (dictiter_iternextitem_lock_held(d, self, &key, &value) == 0) {
  ------------------
  |  Branch (6299:9): [True: 1.00k, False: 93]
  ------------------
 6300|       |
 6301|  1.00k|#endif
 6302|  1.00k|        PyObject *result = di->di_result;
 6303|  1.00k|        if (acquire_iter_result(result)) {
  ------------------
  |  Branch (6303:13): [True: 295, False: 709]
  ------------------
 6304|    295|            PyObject *oldkey = PyTuple_GET_ITEM(result, 0);
  ------------------
  |  |   29|    295|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    295|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    295|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6304:32): [True: 295, False: 0]
  ------------------
 6305|    295|            PyObject *oldvalue = PyTuple_GET_ITEM(result, 1);
  ------------------
  |  |   29|    295|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    295|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    295|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6305:34): [True: 295, False: 0]
  ------------------
 6306|    295|            PyTuple_SET_ITEM(result, 0, key);
  ------------------
  |  |   40|    295|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    295|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    295|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    295|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    295|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6307|    295|            PyTuple_SET_ITEM(result, 1, value);
  ------------------
  |  |   40|    295|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    295|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    295|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    295|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    295|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6308|    295|            Py_DECREF(oldkey);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6309|    295|            Py_DECREF(oldvalue);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6310|       |            // bpo-42536: The GC may have untracked this result tuple. Since we're
 6311|       |            // recycling it, make sure it's tracked again:
 6312|    295|            _PyTuple_Recycle(result);
 6313|    295|        }
 6314|    709|        else {
 6315|    709|            result = _PyTuple_FromPairSteal(key, value);
 6316|    709|        }
 6317|  1.00k|        return result;
 6318|  1.00k|    }
 6319|     93|    return NULL;
 6320|  1.09k|}
dictobject.c:dictiter_iternextitem_lock_held:
 6060|  1.09k|{
 6061|  1.09k|    dictiterobject *di = (dictiterobject *)self;
 6062|  1.09k|    PyObject *key, *value;
 6063|  1.09k|    Py_ssize_t i;
 6064|       |
 6065|  1.09k|    assert (PyAnyDict_Check(d));
  ------------------
  |  Branch (6065:5): [True: 1.09k, False: 0]
  |  Branch (6065:5): [True: 0, False: 0]
  ------------------
 6066|  1.09k|    ASSERT_DICT_LOCKED(d);
 6067|       |
 6068|  1.09k|    if (di->di_used != d->ma_used) {
  ------------------
  |  Branch (6068:9): [True: 0, False: 1.09k]
  ------------------
 6069|      0|        PyErr_SetString(PyExc_RuntimeError,
 6070|      0|                        "dictionary changed size during iteration");
 6071|      0|        di->di_used = -1; /* Make this state sticky */
 6072|      0|        return -1;
 6073|      0|    }
 6074|       |
 6075|  1.09k|    i = FT_ATOMIC_LOAD_SSIZE_RELAXED(di->di_pos);
  ------------------
  |  |  151|  1.09k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 6076|       |
 6077|  1.09k|    assert(i >= 0);
  ------------------
  |  Branch (6077:5): [True: 1.09k, False: 0]
  ------------------
 6078|  1.09k|    if (_PyDict_HasSplitTable(d)) {
  ------------------
  |  |   61|  1.09k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 1.09k]
  |  |  ------------------
  ------------------
 6079|      0|        if (i >= d->ma_used)
  ------------------
  |  Branch (6079:13): [True: 0, False: 0]
  ------------------
 6080|      0|            goto fail;
 6081|      0|        int index = get_index_from_order(d, i);
 6082|      0|        key = LOAD_SHARED_KEY(DK_UNICODE_ENTRIES(d->ma_keys)[index].me_key);
  ------------------
  |  |  260|      0|#define LOAD_SHARED_KEY(key) key
  ------------------
 6083|      0|        value = d->ma_values->values[index];
 6084|      0|        assert(value != NULL);
  ------------------
  |  Branch (6084:9): [True: 0, False: 0]
  ------------------
 6085|      0|    }
 6086|  1.09k|    else {
 6087|  1.09k|        Py_ssize_t n = d->ma_keys->dk_nentries;
 6088|  1.09k|        if (DK_IS_UNICODE(d->ma_keys)) {
  ------------------
  |  |  303|  1.09k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 1.09k, False: 0]
  |  |  ------------------
  ------------------
 6089|  1.09k|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(d->ma_keys)[i];
 6090|  1.22k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (6090:20): [True: 1.13k, False: 93]
  |  Branch (6090:29): [True: 132, False: 1.00k]
  ------------------
 6091|    132|                entry_ptr++;
 6092|    132|                i++;
 6093|    132|            }
 6094|  1.09k|            if (i >= n)
  ------------------
  |  Branch (6094:17): [True: 93, False: 1.00k]
  ------------------
 6095|     93|                goto fail;
 6096|  1.00k|            key = entry_ptr->me_key;
 6097|  1.00k|            value = entry_ptr->me_value;
 6098|  1.00k|        }
 6099|      0|        else {
 6100|      0|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(d->ma_keys)[i];
 6101|      0|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (6101:20): [True: 0, False: 0]
  |  Branch (6101:29): [True: 0, False: 0]
  ------------------
 6102|      0|                entry_ptr++;
 6103|      0|                i++;
 6104|      0|            }
 6105|      0|            if (i >= n)
  ------------------
  |  Branch (6105:17): [True: 0, False: 0]
  ------------------
 6106|      0|                goto fail;
 6107|      0|            key = entry_ptr->me_key;
 6108|      0|            value = entry_ptr->me_value;
 6109|      0|        }
 6110|  1.09k|    }
 6111|       |    // We found an element, but did not expect it
 6112|  1.00k|    if (di->len == 0) {
  ------------------
  |  Branch (6112:9): [True: 0, False: 1.00k]
  ------------------
 6113|      0|        PyErr_SetString(PyExc_RuntimeError,
 6114|      0|                        "dictionary keys changed during iteration");
 6115|      0|        goto fail;
 6116|      0|    }
 6117|  1.00k|    di->di_pos = i+1;
 6118|  1.00k|    di->len--;
 6119|  1.00k|    if (out_key != NULL) {
  ------------------
  |  Branch (6119:9): [True: 1.00k, False: 0]
  ------------------
 6120|  1.00k|        *out_key = Py_NewRef(key);
  ------------------
  |  |  647|  1.00k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6121|  1.00k|    }
 6122|  1.00k|    if (out_value != NULL) {
  ------------------
  |  Branch (6122:9): [True: 1.00k, False: 0]
  ------------------
 6123|  1.00k|        *out_value = Py_NewRef(value);
  ------------------
  |  |  647|  1.00k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6124|  1.00k|    }
 6125|  1.00k|    return 0;
 6126|       |
 6127|     93|fail:
 6128|     93|    di->di_dict = NULL;
 6129|     93|    Py_DECREF(d);
  ------------------
  |  |  430|     93|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     93|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     93|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6130|     93|    return -1;
 6131|  1.00k|}
dictobject.c:acquire_iter_result:
 6278|  1.00k|{
 6279|  1.00k|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (6279:9): [True: 295, False: 709]
  ------------------
 6280|    295|        Py_INCREF(result);
  ------------------
  |  |  310|    295|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    295|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    295|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6281|    295|        return true;
 6282|    295|    }
 6283|    709|    return false;
 6284|  1.00k|}
dictobject.c:dictview_dealloc:
 6548|    114|{
 6549|    114|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6550|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 6551|    114|    _PyObject_GC_UNTRACK(dv);
  ------------------
  |  |  504|    114|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    114|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    114|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6552|    114|    Py_XDECREF(dv->dv_dict);
  ------------------
  |  |  621|    114|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    114|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    114|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6553|    114|    PyObject_GC_Del(dv);
 6554|    114|}
dictobject.c:dictkeys_iter:
 6734|     10|{
 6735|     10|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6736|     10|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (6736:9): [True: 0, False: 10]
  ------------------
 6737|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6738|      0|    }
 6739|     10|    return dictiter_new(dv->dv_dict, &PyDictIterKey_Type);
 6740|     10|}
dictobject.c:dictitems_iter:
 7171|     95|{
 7172|     95|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 7173|     95|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (7173:9): [True: 0, False: 95]
  ------------------
 7174|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 7175|      0|    }
 7176|     95|    return dictiter_new(dv->dv_dict, &PyDictIterItem_Type);
 7177|     95|}
dictobject.c:dictvalues_iter:
 7283|      2|{
 7284|      2|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 7285|      2|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (7285:9): [True: 0, False: 2]
  ------------------
 7286|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 7287|      0|    }
 7288|      2|    return dictiter_new(dv->dv_dict, &PyDictIterValue_Type);
 7289|      2|}
dictobject.c:get_log2_bytes:
  804|  4.10k|{
  805|  4.10k|    int log2_bytes;
  806|  4.10k|    assert(log2_size >= PyDict_LOG_MINSIZE);
  ------------------
  |  Branch (806:5): [True: 4.10k, False: 0]
  ------------------
  807|       |
  808|  4.10k|    if (log2_size < 8) {
  ------------------
  |  Branch (808:9): [True: 4.04k, False: 62]
  ------------------
  809|  4.04k|        log2_bytes = log2_size;
  810|  4.04k|    }
  811|     62|    else if (log2_size < 16) {
  ------------------
  |  Branch (811:14): [True: 62, False: 0]
  ------------------
  812|     62|        log2_bytes = log2_size + 1;
  813|     62|    }
  814|      0|#if SIZEOF_VOID_P > 4
  815|      0|    else if (log2_size >= 32) {
  ------------------
  |  Branch (815:14): [True: 0, False: 0]
  ------------------
  816|      0|        log2_bytes = log2_size + 3;
  817|      0|    }
  818|      0|#endif
  819|      0|    else {
  820|      0|        log2_bytes = log2_size + 2;
  821|      0|    }
  822|       |
  823|  4.10k|    return log2_bytes;
  824|  4.10k|}
dictobject.c:init_keys_object:
  829|  4.10k|{
  830|       |#ifdef Py_REF_DEBUG
  831|       |    _Py_IncRefTotal(_PyThreadState_GET());
  832|       |#endif
  833|  4.10k|    dk->dk_refcnt = 1;
  834|  4.10k|    dk->dk_log2_size = log2_size;
  835|  4.10k|    dk->dk_log2_index_bytes = log2_bytes;
  836|  4.10k|    dk->dk_kind = kind;
  837|       |#ifdef Py_GIL_DISABLED
  838|       |    dk->dk_mutex = (PyMutex){0};
  839|       |#endif
  840|  4.10k|    dk->dk_nentries = 0;
  841|  4.10k|    dk->dk_usable = usable;
  842|  4.10k|    dk->dk_version = 0;
  843|  4.10k|    memset(&dk->dk_indices[0], 0xff, ((size_t)1 << log2_bytes));
  844|  4.10k|    memset(&dk->dk_indices[(size_t)1 << log2_bytes], 0, entry_size * usable);
  845|  4.10k|}
dictobject.c:insert_split_key:
 1948|  1.48k|{
 1949|  1.48k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1949:5): [True: 1.48k, False: 0]
  ------------------
 1950|  1.48k|    Py_ssize_t ix;
 1951|       |
 1952|       |
 1953|       |#ifdef Py_GIL_DISABLED
 1954|       |    ix = unicodekeys_lookup_unicode_threadsafe(keys, key, hash);
 1955|       |    if (ix >= 0) {
 1956|       |        return ix;
 1957|       |    }
 1958|       |
 1959|       |    // We need to acquire the type lock before the keys mutex. Another lock
 1960|       |    // is never acquired below the keys mutex but a keys mutex can be acquired
 1961|       |    // elsewhere while we hold the types lock. To avoid deadlocks we must always
 1962|       |    // acquire the type lock first.
 1963|       |    Py_BEGIN_CRITICAL_SECTION_MUTEX(&_PyInterpreterState_GET()->types.mutex);
 1964|       |#endif
 1965|       |
 1966|  1.48k|    LOCK_KEYS(keys);
 1967|  1.48k|    ix = unicodekeys_lookup_unicode(keys, key, hash);
 1968|  1.48k|    if (ix == DKIX_EMPTY && keys->dk_usable > 0) {
  ------------------
  |  |  194|  2.96k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1968:9): [True: 363, False: 1.12k]
  |  Branch (1968:29): [True: 363, False: 0]
  ------------------
 1969|       |        // Insert into new slot
 1970|    363|        FT_ATOMIC_STORE_UINT32_RELAXED(keys->dk_version, 0);
  ------------------
  |  |  175|    363|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 1971|    363|        struct _instancekeysobject *shared_keys = _PyDictKeys_AsSharedKeys(keys);
 1972|    363|        PyTypeObject *type = FT_ATOMIC_LOAD_PTR_ACQUIRE(shared_keys->dsk_owning_type);
  ------------------
  |  |  152|    363|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1973|    363|        if (type) {
  ------------------
  |  Branch (1973:13): [True: 363, False: 0]
  ------------------
 1974|       |            // we acquired the type lock above
 1975|    363|            _PyType_Modified_Unlocked(type);
 1976|    363|        }
 1977|    363|        Py_ssize_t hashpos = find_empty_slot(keys, hash);
 1978|    363|        ix = keys->dk_nentries;
 1979|    363|        dictkeys_set_index(keys, hashpos, ix);
 1980|    363|        PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(keys)[ix];
 1981|    363|        STORE_SHARED_KEY(ep->me_key, Py_NewRef(key));
  ------------------
  |  |  261|    363|#define STORE_SHARED_KEY(key, value) key = value
  ------------------
 1982|    363|        split_keys_entry_added(keys);
 1983|    363|    }
 1984|  1.48k|    assert (ix < SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (1984:5): [True: 1.48k, False: 0]
  ------------------
 1985|  1.48k|    UNLOCK_KEYS(keys);
 1986|       |
 1987|       |#ifdef Py_GIL_DISABLED
 1988|       |    Py_END_CRITICAL_SECTION();
 1989|       |#endif
 1990|  1.48k|    return ix;
 1991|  1.48k|}
dictobject.c:split_keys_entry_added:
  275|    363|{
  276|    363|    keys->dk_usable--;
  277|    363|    keys->dk_nentries++;
  278|    363|}
dictobject.c:store_instance_attr_lock_held:
 7559|  1.02k|{
 7560|  1.02k|    PyDictKeysObject *keys = CACHED_KEYS(Py_TYPE(obj));
  ------------------
  |  |  911|  1.02k|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7561|  1.02k|    assert(keys != NULL);
  ------------------
  |  Branch (7561:5): [True: 1.02k, False: 0]
  ------------------
 7562|  1.02k|    assert(values != NULL);
  ------------------
  |  Branch (7562:5): [True: 1.02k, False: 0]
  ------------------
 7563|  1.02k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (7563:5): [True: 1.02k, False: 0]
  ------------------
 7564|  1.02k|    Py_ssize_t ix = DKIX_EMPTY;
  ------------------
  |  |  194|  1.02k|#define DKIX_EMPTY (-1)
  ------------------
 7565|  1.02k|    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7566|  1.02k|    assert(dict == NULL || ((PyDictObject *)dict)->ma_values == values);
  ------------------
  |  Branch (7566:5): [True: 1.02k, False: 0]
  |  Branch (7566:5): [True: 0, False: 0]
  ------------------
 7567|  1.02k|    if (PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|  1.02k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  1.02k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.02k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7568|  1.02k|        Py_hash_t hash = unicode_get_hash(name);
 7569|  1.02k|        if (hash == -1) {
  ------------------
  |  Branch (7569:13): [True: 0, False: 1.02k]
  ------------------
 7570|      0|            hash = PyUnicode_Type.tp_hash(name);
 7571|      0|            assert(hash != -1);
  ------------------
  |  Branch (7571:13): [True: 0, False: 0]
  ------------------
 7572|      0|        }
 7573|       |
 7574|  1.02k|        ix = insert_split_key(keys, name, hash);
 7575|       |
 7576|       |#ifdef Py_STATS
 7577|       |        if (ix == DKIX_EMPTY) {
 7578|       |            if (PyUnicode_CheckExact(name)) {
 7579|       |                if (shared_keys_usable_size(keys) == SHARED_KEYS_MAX_SIZE) {
 7580|       |                    OBJECT_STAT_INC(dict_materialized_too_big);
 7581|       |                }
 7582|       |                else {
 7583|       |                    OBJECT_STAT_INC(dict_materialized_new_key);
 7584|       |                }
 7585|       |            }
 7586|       |            else {
 7587|       |                OBJECT_STAT_INC(dict_materialized_str_subclass);
 7588|       |            }
 7589|       |        }
 7590|       |#endif
 7591|  1.02k|    }
 7592|       |
 7593|  1.02k|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  194|  1.02k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7593:9): [True: 0, False: 1.02k]
  ------------------
 7594|      0|        int res;
 7595|      0|        if (dict == NULL) {
  ------------------
  |  Branch (7595:13): [True: 0, False: 0]
  ------------------
 7596|       |            // Make the dict but don't publish it in the object
 7597|       |            // so that no one else will see it.
 7598|      0|            dict = make_dict_from_instance_attributes(keys, values);
 7599|      0|            if (dict == NULL ||
  ------------------
  |  Branch (7599:17): [True: 0, False: 0]
  ------------------
 7600|      0|                _PyDict_SetItem_LockHeld(dict, name, value) < 0) {
  ------------------
  |  Branch (7600:17): [True: 0, False: 0]
  ------------------
 7601|      0|                Py_XDECREF(dict);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7602|      0|                return -1;
 7603|      0|            }
 7604|       |
 7605|      0|            FT_ATOMIC_STORE_PTR_RELEASE(_PyObject_ManagedDictPointer(obj)->dict,
  ------------------
  |  |  166|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7606|      0|                                        (PyDictObject *)dict);
 7607|      0|            return 0;
 7608|      0|        }
 7609|       |
 7610|      0|        _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(dict);
 7611|       |
 7612|      0|        res = _PyDict_SetItem_LockHeld(dict, name, value);
 7613|      0|        return res;
 7614|      0|    }
 7615|       |
 7616|  1.02k|    PyObject *old_value = values->values[ix];
 7617|  1.02k|    if (old_value == NULL && value == NULL) {
  ------------------
  |  Branch (7617:9): [True: 986, False: 36]
  |  Branch (7617:30): [True: 0, False: 986]
  ------------------
 7618|      0|        PyErr_Format(PyExc_AttributeError,
 7619|      0|                        "'%.100s' object has no attribute '%U'",
 7620|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7621|      0|        (void)_PyObject_SetAttributeErrorContext(obj, name);
 7622|      0|        return -1;
 7623|      0|    }
 7624|       |
 7625|  1.02k|    if (dict) {
  ------------------
  |  Branch (7625:9): [True: 0, False: 1.02k]
  ------------------
 7626|      0|        PyDict_WatchEvent event = (old_value == NULL ? PyDict_EVENT_ADDED :
  ------------------
  |  Branch (7626:36): [True: 0, False: 0]
  ------------------
 7627|      0|                                   value == NULL ? PyDict_EVENT_DELETED :
  ------------------
  |  Branch (7627:36): [True: 0, False: 0]
  ------------------
 7628|      0|                                   PyDict_EVENT_MODIFIED);
 7629|      0|        _PyDict_NotifyEvent(event, dict, name, value);
 7630|      0|    }
 7631|       |
 7632|  1.02k|    FT_ATOMIC_STORE_PTR_RELEASE(values->values[ix], Py_XNewRef(value));
  ------------------
  |  |  166|  1.02k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7633|       |
 7634|  1.02k|    if (old_value == NULL) {
  ------------------
  |  Branch (7634:9): [True: 986, False: 36]
  ------------------
 7635|    986|        _PyDictValues_AddToInsertionOrder(values, ix);
 7636|    986|        if (dict) {
  ------------------
  |  Branch (7636:13): [True: 0, False: 986]
  ------------------
 7637|      0|            assert(dict->ma_values == values);
  ------------------
  |  Branch (7637:13): [True: 0, False: 0]
  ------------------
 7638|      0|            STORE_USED(dict, dict->ma_used + 1);
  ------------------
  |  |  336|      0|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 7639|      0|        }
 7640|    986|    }
 7641|     36|    else {
 7642|     36|        if (value == NULL) {
  ------------------
  |  Branch (7642:13): [True: 0, False: 36]
  ------------------
 7643|      0|            delete_index_from_values(values, ix);
 7644|      0|            if (dict) {
  ------------------
  |  Branch (7644:17): [True: 0, False: 0]
  ------------------
 7645|      0|                assert(dict->ma_values == values);
  ------------------
  |  Branch (7645:17): [True: 0, False: 0]
  ------------------
 7646|      0|                STORE_USED(dict, dict->ma_used - 1);
  ------------------
  |  |  336|      0|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 7647|      0|            }
 7648|      0|        }
 7649|     36|        Py_DECREF(old_value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7650|     36|    }
 7651|  1.02k|    return 0;
 7652|  1.02k|}
dictobject.c:clear_inline_values:
 7901|    537|{
 7902|    537|    if (values->valid) {
  ------------------
  |  Branch (7902:9): [True: 500, False: 37]
  ------------------
 7903|    500|        FT_ATOMIC_STORE_UINT8(values->valid, 0);
  ------------------
  |  |  157|    500|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  ------------------
 7904|  6.54k|        for (Py_ssize_t i = 0; i < values->capacity; i++) {
  ------------------
  |  Branch (7904:32): [True: 6.04k, False: 500]
  ------------------
 7905|  6.04k|            PyObject *value = values->values[i];
 7906|       |            // The attribute read fast-path may read these without holding the
 7907|       |            // per-object lock.
 7908|  6.04k|            FT_ATOMIC_STORE_PTR_RELEASE(values->values[i], NULL);
  ------------------
  |  |  166|  6.04k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7909|  6.04k|            Py_XDECREF(value);
  ------------------
  |  |  621|  6.04k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7910|  6.04k|        }
 7911|    500|    }
 7912|    537|}
dictobject.c:ensure_shared_on_resize:
 1454|  1.90k|{
 1455|       |#ifdef Py_GIL_DISABLED
 1456|       |    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(mp);
 1457|       |
 1458|       |    if (!_Py_IsOwnedByCurrentThread((PyObject *)mp) && !IS_DICT_SHARED(mp)) {
 1459|       |        // We are writing to the dict from another thread that owns
 1460|       |        // it and we haven't marked it as shared which will ensure
 1461|       |        // that when we re-size ma_keys or ma_values that we will
 1462|       |        // free using QSBR.  We need to lock the dictionary to
 1463|       |        // contend with writes from the owning thread, mark it as
 1464|       |        // shared, and then we can continue with lock-free reads.
 1465|       |        // Technically this is a little heavy handed, we could just
 1466|       |        // free the individual old keys / old-values using qsbr
 1467|       |        SET_DICT_SHARED(mp);
 1468|       |    }
 1469|       |#endif
 1470|  1.90k|}
dictobject.c:set_keys:
  282|  1.90k|{
  283|  1.90k|    mp->ma_keys = keys;
  284|  1.90k|}
dictobject.c:dictkeys_decref:
  495|  2.00k|{
  496|  2.00k|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) < 0) {
  ------------------
  |  |  151|  2.00k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (496:9): [True: 875, False: 1.13k]
  ------------------
  497|    875|        assert(FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) == _Py_DICT_IMMORTAL_INITIAL_REFCNT);
  ------------------
  |  Branch (497:9): [True: 875, False: 0]
  ------------------
  498|    875|        return;
  499|    875|    }
  500|  2.00k|    assert(FT_ATOMIC_LOAD_SSIZE(dk->dk_refcnt) > 0);
  ------------------
  |  Branch (500:5): [True: 1.13k, False: 0]
  ------------------
  501|       |#ifdef Py_REF_DEBUG
  502|       |    _Py_DecRefTotal(_PyThreadState_GET());
  503|       |#endif
  504|  1.13k|    if (DECREF_KEYS(dk) == 1) {
  ------------------
  |  |  263|  1.13k|#define DECREF_KEYS(dk)  dk->dk_refcnt--
  ------------------
  |  Branch (504:9): [True: 1.12k, False: 7]
  ------------------
  505|  1.12k|        if (DK_IS_UNICODE(dk)) {
  ------------------
  |  |  303|  1.12k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 1.10k, False: 16]
  |  |  ------------------
  ------------------
  506|  1.10k|            PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(dk);
  507|  1.10k|            Py_ssize_t i, n;
  508|  10.1k|            for (i = 0, n = dk->dk_nentries; i < n; i++) {
  ------------------
  |  Branch (508:46): [True: 9.03k, False: 1.10k]
  ------------------
  509|  9.03k|                Py_XDECREF(entries[i].me_key);
  ------------------
  |  |  621|  9.03k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  510|  9.03k|                Py_XDECREF(entries[i].me_value);
  ------------------
  |  |  621|  9.03k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  9.03k|            }
  512|  1.10k|        }
  513|     16|        else {
  514|     16|            PyDictKeyEntry *entries = DK_ENTRIES(dk);
  515|     16|            Py_ssize_t i, n;
  516|     95|            for (i = 0, n = dk->dk_nentries; i < n; i++) {
  ------------------
  |  Branch (516:46): [True: 79, False: 16]
  ------------------
  517|     79|                Py_XDECREF(entries[i].me_key);
  ------------------
  |  |  621|     79|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  518|     79|                Py_XDECREF(entries[i].me_value);
  ------------------
  |  |  621|     79|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  519|     79|            }
  520|     16|        }
  521|  1.12k|        free_keys_object(dk, use_qsbr);
  522|  1.12k|    }
  523|  1.13k|}
dictobject.c:new_dict_with_shared_keys:
 1008|    144|{
 1009|    144|    size_t size = shared_keys_usable_size(keys);
 1010|    144|    PyDictValues *values = new_values(size);
 1011|    144|    if (values == NULL) {
  ------------------
  |  Branch (1011:9): [True: 0, False: 144]
  ------------------
 1012|      0|        return PyErr_NoMemory();
 1013|      0|    }
 1014|    144|    dictkeys_incref(keys);
 1015|  4.46k|    for (size_t i = 0; i < size; i++) {
  ------------------
  |  Branch (1015:24): [True: 4.32k, False: 144]
  ------------------
 1016|       |        values->values[i] = NULL;
 1017|  4.32k|    }
 1018|    144|    return new_dict(keys, values, 0, 1);
 1019|    144|}
dictobject.c:ensure_nonmanaged_dict:
 8204|  2.45k|{
 8205|  2.45k|    PyDictKeysObject *cached;
 8206|       |
 8207|  2.45k|    PyObject *dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*dictptr);
  ------------------
  |  |  152|  2.45k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 8208|  2.45k|    if (dict == NULL) {
  ------------------
  |  Branch (8208:9): [True: 446, False: 2.00k]
  ------------------
 8209|       |#ifdef Py_GIL_DISABLED
 8210|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 8211|       |        dict = *dictptr;
 8212|       |        if (dict != NULL) {
 8213|       |            goto done;
 8214|       |        }
 8215|       |#endif
 8216|    446|        PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|    446|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    446|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    446|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8217|    446|        if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE) && (cached = CACHED_KEYS(tp))) {
  ------------------
  |  |  503|    446|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
                      if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE) && (cached = CACHED_KEYS(tp))) {
  ------------------
  |  |  911|    185|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
  |  Branch (8217:13): [True: 185, False: 261]
  |  Branch (8217:60): [True: 144, False: 41]
  ------------------
 8218|    144|            assert(!_PyType_HasFeature(tp, Py_TPFLAGS_INLINE_VALUES));
  ------------------
  |  Branch (8218:13): [True: 144, False: 0]
  ------------------
 8219|    144|            dict = new_dict_with_shared_keys(cached);
 8220|    144|        }
 8221|    302|        else {
 8222|    302|            dict = PyDict_New();
 8223|    302|        }
 8224|    446|        FT_ATOMIC_STORE_PTR_RELEASE(*dictptr, dict);
  ------------------
  |  |  166|    446|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 8225|       |#ifdef Py_GIL_DISABLED
 8226|       |done:
 8227|       |        Py_END_CRITICAL_SECTION();
 8228|       |#endif
 8229|    446|    }
 8230|  2.45k|    return dict;
 8231|  2.45k|}
dictobject.c:get_next_dict_keys_version:
 8280|    124|{
 8281|       |#ifdef Py_GIL_DISABLED
 8282|       |    uint32_t v;
 8283|       |    do {
 8284|       |        v = _Py_atomic_load_uint32_relaxed(
 8285|       |            &interp->dict_state.next_keys_version);
 8286|       |        if (v == 0) {
 8287|       |            return 0;
 8288|       |        }
 8289|       |    } while (!_Py_atomic_compare_exchange_uint32(
 8290|       |        &interp->dict_state.next_keys_version, &v, v + 1));
 8291|       |#else
 8292|    124|    if (interp->dict_state.next_keys_version == 0) {
  ------------------
  |  Branch (8292:9): [True: 0, False: 124]
  ------------------
 8293|      0|        return 0;
 8294|      0|    }
 8295|    124|    uint32_t v = interp->dict_state.next_keys_version++;
 8296|    124|#endif
 8297|    124|    return v;
 8298|    124|}
dictobject.c:ensure_shared_on_keys_version_assignment:
 1474|  1.63k|{
 1475|  1.63k|    ASSERT_DICT_LOCKED((PyObject *) mp);
 1476|       |    #ifdef Py_GIL_DISABLED
 1477|       |    if (!IS_DICT_SHARED(mp)) {
 1478|       |        // This ensures that a concurrent resize operation will delay
 1479|       |        // freeing the old keys or values using QSBR, which is necessary to
 1480|       |        // safely allow concurrent reads without locking.
 1481|       |        SET_DICT_SHARED(mp);
 1482|       |    }
 1483|       |    #endif
 1484|  1.63k|}
dictobject.c:validate_watcher_id:
 8328|  1.52k|{
 8329|  1.52k|    if (watcher_id < 0 || watcher_id >= DICT_MAX_WATCHERS) {
  ------------------
  |  |   11|  1.52k|#define DICT_MAX_WATCHERS 8
  ------------------
  |  Branch (8329:9): [True: 0, False: 1.52k]
  |  Branch (8329:27): [True: 0, False: 1.52k]
  ------------------
 8330|      0|        PyErr_Format(PyExc_ValueError, "Invalid dict watcher ID %d", watcher_id);
 8331|      0|        return -1;
 8332|      0|    }
 8333|  1.52k|    PyDict_WatchCallback cb = FT_ATOMIC_LOAD_PTR_RELAXED(
  ------------------
  |  |  155|  1.52k|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  ------------------
 8334|  1.52k|        interp->dict_state.watchers[watcher_id]);
 8335|  1.52k|    if (cb == NULL) {
  ------------------
  |  Branch (8335:9): [True: 0, False: 1.52k]
  ------------------
 8336|      0|        PyErr_Format(PyExc_ValueError, "No dict watcher set for ID %d", watcher_id);
 8337|      0|        return -1;
 8338|      0|    }
 8339|  1.52k|    return 0;
 8340|  1.52k|}
dictobject.c:frozendict_new_untracked:
 8632|      1|{
 8633|      1|    assert(PyObject_IsSubclass((PyObject*)type, (PyObject*)&PyFrozenDict_Type));
  ------------------
  |  Branch (8633:5): [True: 1, False: 0]
  ------------------
 8634|       |
 8635|      1|    PyObject *d = anydict_new_untracked(type);
 8636|      1|    if (d == NULL) {
  ------------------
  |  Branch (8636:9): [True: 0, False: 1]
  ------------------
 8637|      0|        return NULL;
 8638|      0|    }
 8639|      1|    assert(can_modify_dict(_PyAnyDict_CAST(d)));
  ------------------
  |  Branch (8639:5): [True: 0, False: 1]
  |  Branch (8639:5): [True: 1, False: 0]
  |  Branch (8639:5): [True: 1, False: 0]
  ------------------
 8640|      1|    _PyFrozenDictObject_CAST(d)->ma_hash = -1;
  ------------------
  |  |  464|      1|    (assert(PyFrozenDict_Check(op)), _Py_CAST(PyFrozenDictObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (8640:5): [True: 1, False: 0]
  ------------------
 8641|      0|    return d;
 8642|      1|}
dictobject.c:frozendict_vectorcall:
 5537|      1|{
 5538|      1|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      1|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5539|      1|    if (!_PyArg_CheckPositional("frozendict", nargs, 0, 1)) {
  ------------------
  |  |   38|      1|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 1, False: 0]
  |  |  |  Branch (38:27): [True: 1, False: 0]
  |  |  ------------------
  |  |   39|      1|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5540|      0|        return NULL;
 5541|      0|    }
 5542|       |
 5543|      1|    if (nargs == 1 && kwnames == NULL
  ------------------
  |  Branch (5543:9): [True: 1, False: 0]
  |  Branch (5543:23): [True: 1, False: 0]
  ------------------
 5544|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5545|      0|        && Py_Is((PyTypeObject*)type, &PyFrozenDict_Type))
  ------------------
  |  |  187|      0|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  |  |  Branch (187:21): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5546|      0|    {
 5547|       |        // frozendict(frozendict) returns the same object unmodified
 5548|      0|        return Py_NewRef(args[0]);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5549|      0|    }
 5550|       |
 5551|       |    /* gh-151722: Keep the frozendict untracked until it is fully built,
 5552|       |       so a half-built object is never reachable from another thread (using the gc module). */
 5553|      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 (5553:47): [True: 1, False: 0]
  ------------------
 5554|      1|    if (self == NULL) {
  ------------------
  |  Branch (5554:9): [True: 0, False: 1]
  ------------------
 5555|      0|        return NULL;
 5556|      0|    }
 5557|      1|    if (nargs == 1) {
  ------------------
  |  Branch (5557:9): [True: 1, False: 0]
  ------------------
 5558|      1|        if (dict_update_arg(self, args[0]) < 0) {
  ------------------
  |  Branch (5558:13): [True: 0, False: 1]
  ------------------
 5559|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5560|      0|            return NULL;
 5561|      0|        }
 5562|      1|        args++;
 5563|      1|    }
 5564|      1|    if (kwnames != NULL) {
  ------------------
  |  Branch (5564:9): [True: 0, False: 1]
  ------------------
 5565|      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 (5565:32): [True: 0, False: 0]
  ------------------
 5566|      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 (5566:29): [True: 0, False: 0]
  ------------------
 5567|      0|            if (_PyAnyDict_SetItem(self, key, args[i]) < 0) {
  ------------------
  |  Branch (5567:17): [True: 0, False: 0]
  ------------------
 5568|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5569|      0|                return NULL;
 5570|      0|            }
 5571|      0|        }
 5572|      0|    }
 5573|       |
 5574|      1|    _PyObject_GC_TRACK(self);
  ------------------
  |  |  502|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5575|      1|    return self;
 5576|      1|}

enumobject.c:enum_dealloc:
   93|     23|{
   94|     23|    enumobject *en = _enumobject_CAST(op);
  ------------------
  |  |   28|     23|#define _enumobject_CAST(op)    ((enumobject *)(op))
  ------------------
   95|     23|    PyObject_GC_UnTrack(en);
   96|     23|    Py_XDECREF(en->en_sit);
  ------------------
  |  |  621|     23|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   97|     23|    Py_XDECREF(en->en_result);
  ------------------
  |  |  621|     23|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   98|     23|    Py_XDECREF(en->en_longindex);
  ------------------
  |  |  621|     23|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   99|     23|    Py_TYPE(en)->tp_free(en);
  ------------------
  |  |  213|     23|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  100|     23|}
enumobject.c:enum_next:
  170|    197|{
  171|    197|    enumobject *en = _enumobject_CAST(op);
  ------------------
  |  |   28|    197|#define _enumobject_CAST(op)    ((enumobject *)(op))
  ------------------
  172|    197|    PyObject *next_index;
  173|    197|    PyObject *next_item;
  174|    197|    PyObject *result = en->en_result;
  175|    197|    PyObject *it = en->en_sit;
  176|    197|    PyObject *old_index;
  177|    197|    PyObject *old_item;
  178|       |
  179|    197|    next_item = (*Py_TYPE(it)->tp_iternext)(it);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  180|    197|    if (next_item == NULL)
  ------------------
  |  Branch (180:9): [True: 23, False: 174]
  ------------------
  181|     23|        return NULL;
  182|       |
  183|    174|    Py_ssize_t en_index = FT_ATOMIC_LOAD_SSIZE_RELAXED(en->en_index);
  ------------------
  |  |  151|    174|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  184|    174|    if (en_index == PY_SSIZE_T_MAX)
  ------------------
  |  |  137|    174|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (184:9): [True: 0, False: 174]
  ------------------
  185|      0|        return enum_next_long(en, next_item);
  186|       |
  187|    174|    next_index = PyLong_FromSsize_t(en_index);
  188|    174|    if (next_index == NULL) {
  ------------------
  |  Branch (188:9): [True: 0, False: 174]
  ------------------
  189|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  190|      0|        return NULL;
  191|      0|    }
  192|    174|    FT_ATOMIC_STORE_SSIZE_RELAXED(en->en_index, en_index + 1);
  ------------------
  |  |  197|    174|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  193|       |
  194|    174|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (194:9): [True: 174, False: 0]
  ------------------
  195|    174|        Py_INCREF(result);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  196|    174|        old_index = PyTuple_GET_ITEM(result, 0);
  ------------------
  |  |   29|    174|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    174|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (196:21): [True: 174, False: 0]
  ------------------
  197|    174|        old_item = PyTuple_GET_ITEM(result, 1);
  ------------------
  |  |   29|    174|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    174|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (197:20): [True: 174, False: 0]
  ------------------
  198|    174|        PyTuple_SET_ITEM(result, 0, next_index);
  ------------------
  |  |   40|    174|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    174|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    174|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  199|    174|        PyTuple_SET_ITEM(result, 1, next_item);
  ------------------
  |  |   40|    174|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    174|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    174|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  200|    174|        Py_DECREF(old_index);
  ------------------
  |  |  430|    174|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    174|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  201|    174|        Py_DECREF(old_item);
  ------------------
  |  |  430|    174|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    174|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  202|       |        // bpo-42536: The GC may have untracked this result tuple. Since we're
  203|       |        // recycling it, make sure it's tracked again:
  204|    174|        _PyTuple_Recycle(result);
  205|    174|        return result;
  206|    174|    }
  207|      0|    return _PyTuple_FromPairSteal(next_index, next_item);
  208|    174|}
enumobject.c:enum_new_impl:
   51|     23|{
   52|     23|    enumobject *en;
   53|       |
   54|     23|    en = (enumobject *)type->tp_alloc(type, 0);
   55|     23|    if (en == NULL)
  ------------------
  |  Branch (55:9): [True: 0, False: 23]
  ------------------
   56|      0|        return NULL;
   57|     23|    if (start != NULL) {
  ------------------
  |  Branch (57:9): [True: 0, False: 23]
  ------------------
   58|      0|        start = PyNumber_Index(start);
   59|      0|        if (start == NULL) {
  ------------------
  |  Branch (59:13): [True: 0, False: 0]
  ------------------
   60|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   61|      0|            return NULL;
   62|      0|        }
   63|      0|        assert(PyLong_Check(start));
  ------------------
  |  Branch (63:9): [True: 0, False: 0]
  ------------------
   64|      0|        en->en_index = PyLong_AsSsize_t(start);
   65|      0|        if (en->en_index == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (65:13): [True: 0, False: 0]
  |  Branch (65:35): [True: 0, False: 0]
  ------------------
   66|      0|            PyErr_Clear();
   67|      0|            en->en_index = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
   68|      0|            en->en_longindex = start;
   69|      0|        } else {
   70|      0|            en->en_longindex = NULL;
   71|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   72|      0|        }
   73|     23|    } else {
   74|     23|        en->en_index = 0;
   75|     23|        en->en_longindex = NULL;
   76|     23|    }
   77|     23|    en->en_sit = PyObject_GetIter(iterable);
   78|     23|    if (en->en_sit == NULL) {
  ------------------
  |  Branch (78:9): [True: 0, False: 23]
  ------------------
   79|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   80|      0|        return NULL;
   81|      0|    }
   82|     23|    en->en_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|     23|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  en->en_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|     23|#  define Py_None (&_Py_NoneStruct)
  ------------------
   83|     23|    if (en->en_result == NULL) {
  ------------------
  |  Branch (83:9): [True: 0, False: 23]
  ------------------
   84|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   85|      0|        return NULL;
   86|      0|    }
   87|     23|    en->one = _PyLong_GetOne();    /* borrowed reference */
   88|     23|    return (PyObject *)en;
   89|     23|}
enumobject.c:reversed_new_impl:
  305|      2|{
  306|      2|    Py_ssize_t n;
  307|      2|    PyObject *reversed_meth;
  308|      2|    reversedobject *ro;
  309|       |
  310|      2|    reversed_meth = _PyObject_LookupSpecial(seq, &_Py_ID(__reversed__));
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  311|      2|    if (reversed_meth == Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (311:9): [True: 0, False: 2]
  ------------------
  312|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  313|      0|        PyErr_Format(PyExc_TypeError,
  314|      0|                     "'%.200s' object is not reversible",
  315|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  316|      0|        return NULL;
  317|      0|    }
  318|      2|    if (reversed_meth != NULL) {
  ------------------
  |  Branch (318:9): [True: 2, False: 0]
  ------------------
  319|      2|        PyObject *res = _PyObject_CallNoArgs(reversed_meth);
  320|      2|        Py_DECREF(reversed_meth);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  321|      2|        return res;
  322|      2|    }
  323|      0|    else if (PyErr_Occurred())
  ------------------
  |  Branch (323:14): [True: 0, False: 0]
  ------------------
  324|      0|        return NULL;
  325|       |
  326|      0|    if (!PySequence_Check(seq)) {
  ------------------
  |  Branch (326:9): [True: 0, False: 0]
  ------------------
  327|      0|        PyErr_Format(PyExc_TypeError,
  328|      0|                     "'%.200s' object is not reversible",
  329|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  330|      0|        return NULL;
  331|      0|    }
  332|       |
  333|      0|    n = PySequence_Size(seq);
  334|      0|    if (n == -1)
  ------------------
  |  Branch (334:9): [True: 0, False: 0]
  ------------------
  335|      0|        return NULL;
  336|       |
  337|      0|    ro = (reversedobject *)type->tp_alloc(type, 0);
  338|      0|    if (ro == NULL)
  ------------------
  |  Branch (338:9): [True: 0, False: 0]
  ------------------
  339|      0|        return NULL;
  340|       |
  341|      0|    ro->index = n-1;
  342|      0|    ro->seq = Py_NewRef(seq);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  343|      0|    return (PyObject *)ro;
  344|      0|}

PyException_GetTraceback:
  497|    455|{
  498|    455|    PyObject *traceback;
  499|    455|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    455|    {
  ------------------
  500|    455|    traceback = Py_XNewRef(PyBaseExceptionObject_CAST(self)->traceback);
  ------------------
  |  |  648|    455|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    455|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    455|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|    455|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    455|    }
  ------------------
  502|    455|    return traceback;
  503|    455|}
PyException_SetTraceback:
  508|    435|{
  509|    435|    int res;
  510|    435|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    435|    {
  ------------------
  511|    435|    res = BaseException___traceback___set_impl(PyBaseExceptionObject_CAST(self), tb);
  512|    435|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    435|    }
  ------------------
  513|    435|    return res;
  514|    435|}
PyException_GetContext:
  539|     19|{
  540|     19|    PyObject *context;
  541|     19|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     19|    {
  ------------------
  542|     19|    context = Py_XNewRef(PyBaseExceptionObject_CAST(self)->context);
  ------------------
  |  |  648|     19|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|     19|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     19|    }
  ------------------
  544|     19|    return context;
  545|     19|}
PyException_SetContext:
  550|     19|{
  551|     19|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     19|    {
  ------------------
  552|     19|    Py_XSETREF(PyBaseExceptionObject_CAST(self)->context, context);
  ------------------
  |  |  576|     19|    do { \
  |  |  577|     19|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     19|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     19|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     19|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     19|        *_tmp_dst_ptr = (src); \
  |  |  580|     19|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     19|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     19|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 19]
  |  |  ------------------
  ------------------
  553|     19|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     19|    }
  ------------------
  554|     19|}
PyUnicodeDecodeError_Create:
 3990|      6|{
 3991|      6|    return PyObject_CallFunction(PyExc_UnicodeDecodeError, "sy#nns",
 3992|      6|                                 encoding, object, length, start, end, reason);
 3993|      6|}
_PyExc_InitTypes:
 4552|      2|{
 4553|    140|    for (size_t i=0; i < Py_ARRAY_LENGTH(static_exceptions); i++) {
  ------------------
  |  |  232|    140|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (4553:22): [True: 138, False: 2]
  ------------------
 4554|    138|        PyTypeObject *exc = static_exceptions[i].exc;
 4555|    138|        if (_PyStaticType_InitBuiltin(interp, exc) < 0) {
  ------------------
  |  Branch (4555:13): [True: 0, False: 138]
  ------------------
 4556|      0|            return -1;
 4557|      0|        }
 4558|    138|        if (exc->tp_new == BaseException_new
  ------------------
  |  Branch (4558:13): [True: 102, False: 36]
  ------------------
 4559|    102|            && exc->tp_init == BaseException_init)
  ------------------
  |  Branch (4559:16): [True: 72, False: 30]
  ------------------
 4560|     72|        {
 4561|     72|            exc->tp_vectorcall = BaseException_vectorcall;
 4562|     72|        }
 4563|     66|        else if (exc->tp_init == ImportError_init) {
  ------------------
  |  Branch (4563:18): [True: 6, False: 60]
  ------------------
 4564|      6|            exc->tp_vectorcall = ImportError_vectorcall;
 4565|      6|        }
 4566|     60|        else if (exc->tp_init == NameError_init) {
  ------------------
  |  Branch (4566:18): [True: 4, False: 56]
  ------------------
 4567|      4|            exc->tp_vectorcall = NameError_vectorcall;
 4568|      4|        }
 4569|     56|        else if (exc->tp_init == AttributeError_init) {
  ------------------
  |  Branch (4569:18): [True: 2, False: 54]
  ------------------
 4570|      2|            exc->tp_vectorcall = AttributeError_vectorcall;
 4571|      2|        }
 4572|    138|    }
 4573|      2|    return 0;
 4574|      2|}
_PyExc_InitGlobalObjects:
 4589|      2|{
 4590|      2|    if (preallocate_memerrors() < 0) {
  ------------------
  |  Branch (4590:9): [True: 0, False: 2]
  ------------------
 4591|      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)}
  |  |  ------------------
  ------------------
 4592|      0|    }
 4593|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4594|      2|}
_PyExc_InitState:
 4598|      2|{
 4599|      2|    struct _Py_exc_state *state = &interp->exc_state;
 4600|       |
 4601|      2|#define ADD_ERRNO(TYPE, CODE) \
 4602|      2|    do { \
 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
 4606|      2|            Py_XDECREF(_code); \
 4607|      2|            return _PyStatus_ERR("errmap insertion problem."); \
 4608|      2|        } \
 4609|      2|        Py_DECREF(_code); \
 4610|      2|    } while (0)
 4611|       |
 4612|       |    /* Add exceptions to errnomap */
 4613|      2|    assert(state->errnomap == NULL);
  ------------------
  |  Branch (4613:5): [True: 2, False: 0]
  ------------------
 4614|      2|    state->errnomap = PyDict_New();
 4615|      2|    if (!state->errnomap) {
  ------------------
  |  Branch (4615:9): [True: 0, False: 2]
  ------------------
 4616|      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)}
  |  |  ------------------
  ------------------
 4617|      0|    }
 4618|       |
 4619|      2|    ADD_ERRNO(BlockingIOError, EAGAIN);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      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)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4619:5): [True: 2, False: 0]
  ------------------
 4620|      2|    ADD_ERRNO(BlockingIOError, EALREADY);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      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)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4620:5): [True: 2, False: 0]
  ------------------
 4621|      2|    ADD_ERRNO(BlockingIOError, EINPROGRESS);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      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)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4621:5): [True: 2, False: 0]
  ------------------
 4622|      2|    ADD_ERRNO(BlockingIOError, EWOULDBLOCK);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      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)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4622:5): [True: 2, False: 0]
  ------------------
 4623|      2|    ADD_ERRNO(BrokenPipeError, EPIPE);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      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)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4623:5): [True: 2, False: 0]
  ------------------
 4624|      2|#ifdef ESHUTDOWN
 4625|      2|    ADD_ERRNO(BrokenPipeError, ESHUTDOWN);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      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)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4625:5): [True: 2, False: 0]
  ------------------
 4626|      2|#endif
 4627|      2|    ADD_ERRNO(ChildProcessError, ECHILD);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      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)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4627:5): [True: 2, False: 0]
  ------------------
 4628|      2|    ADD_ERRNO(ConnectionAbortedError, ECONNABORTED);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      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)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4628:5): [True: 2, False: 0]
  ------------------
 4629|      2|    ADD_ERRNO(ConnectionRefusedError, ECONNREFUSED);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      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)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4629:5): [True: 2, False: 0]
  ------------------
 4630|      2|    ADD_ERRNO(ConnectionResetError, ECONNRESET);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      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)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4630:5): [True: 2, False: 0]
  ------------------
 4631|      2|    ADD_ERRNO(FileExistsError, EEXIST);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      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)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4631:5): [True: 2, False: 0]
  ------------------
 4632|      2|    ADD_ERRNO(FileNotFoundError, ENOENT);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      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)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4632:5): [True: 2, False: 0]
  ------------------
 4633|      2|    ADD_ERRNO(IsADirectoryError, EISDIR);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      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)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4633:5): [True: 2, False: 0]
  ------------------
 4634|      2|    ADD_ERRNO(NotADirectoryError, ENOTDIR);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      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)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4634:5): [True: 2, False: 0]
  ------------------
 4635|      2|    ADD_ERRNO(InterruptedError, EINTR);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      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)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4635:5): [True: 2, False: 0]
  ------------------
 4636|      2|    ADD_ERRNO(PermissionError, EACCES);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      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)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4636:5): [True: 2, False: 0]
  ------------------
 4637|      2|    ADD_ERRNO(PermissionError, EPERM);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      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)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4637:5): [True: 2, False: 0]
  ------------------
 4638|       |#ifdef ENOTCAPABLE
 4639|       |    // Extension for WASI capability-based security. Process lacks
 4640|       |    // capability to access a resource.
 4641|       |    ADD_ERRNO(PermissionError, ENOTCAPABLE);
 4642|       |#endif
 4643|      2|    ADD_ERRNO(ProcessLookupError, ESRCH);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      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)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4643:5): [True: 2, False: 0]
  ------------------
 4644|      2|    ADD_ERRNO(TimeoutError, ETIMEDOUT);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      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)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4644:5): [True: 2, False: 0]
  ------------------
 4645|       |#ifdef WSAETIMEDOUT
 4646|       |    ADD_ERRNO(TimeoutError, WSAETIMEDOUT);
 4647|       |#endif
 4648|       |
 4649|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4650|       |
 4651|      2|#undef ADD_ERRNO
 4652|      2|}
_PyBuiltins_AddExceptions:
 4658|      2|{
 4659|      2|    PyObject *mod_dict = PyModule_GetDict(bltinmod);
 4660|      2|    if (mod_dict == NULL) {
  ------------------
  |  Branch (4660:9): [True: 0, False: 2]
  ------------------
 4661|      0|        return -1;
 4662|      0|    }
 4663|       |
 4664|    140|    for (size_t i=0; i < Py_ARRAY_LENGTH(static_exceptions); i++) {
  ------------------
  |  |  232|    140|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (4664:22): [True: 138, False: 2]
  ------------------
 4665|    138|        struct static_exception item = static_exceptions[i];
 4666|       |
 4667|    138|        if (PyDict_SetItemString(mod_dict, item.name, (PyObject*)item.exc)) {
  ------------------
  |  Branch (4667:13): [True: 0, False: 138]
  ------------------
 4668|      0|            return -1;
 4669|      0|        }
 4670|    138|    }
 4671|       |
 4672|      2|    PyObject *PyExc_ExceptionGroup = create_exception_group_class();
 4673|      2|    if (!PyExc_ExceptionGroup) {
  ------------------
  |  Branch (4673:9): [True: 0, False: 2]
  ------------------
 4674|      0|        return -1;
 4675|      0|    }
 4676|      2|    if (PyDict_SetItemString(mod_dict, "ExceptionGroup", PyExc_ExceptionGroup)) {
  ------------------
  |  Branch (4676:9): [True: 0, False: 2]
  ------------------
 4677|      0|        return -1;
 4678|      0|    }
 4679|      2|    if (PyDict_SetItemString(mod_dict, "EnvironmentError", PyExc_OSError)) {
  ------------------
  |  Branch (4679:9): [True: 0, False: 2]
  ------------------
 4680|      0|        return -1;
 4681|      0|    }
 4682|      2|    if (PyDict_SetItemString(mod_dict, "IOError", PyExc_OSError)) {
  ------------------
  |  Branch (4682:9): [True: 0, False: 2]
  ------------------
 4683|      0|        return -1;
 4684|      0|    }
 4685|       |#ifdef MS_WINDOWS
 4686|       |    if (PyDict_SetItemString(mod_dict, "WindowsError", PyExc_OSError)) {
 4687|       |        return -1;
 4688|       |    }
 4689|       |#endif
 4690|      2|    return 0;
 4691|      2|}
exceptions.c:PyBaseExceptionObject_CAST:
   48|  1.95k|{
   49|  1.95k|    assert(PyExceptionInstance_Check(exc));
  ------------------
  |  Branch (49:5): [True: 1.95k, False: 0]
  ------------------
   50|  1.95k|    return (PyBaseExceptionObject *)exc;
   51|  1.95k|}
exceptions.c:BaseException___traceback___set_impl:
  388|    435|{
  389|    435|    if (PyTraceBack_Check(value)) {
  ------------------
  |  |   14|    435|#define PyTraceBack_Check(v) Py_IS_TYPE((v), &PyTraceBack_Type)
  |  |  ------------------
  |  |  |  |  215|    435|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    435|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    435|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 431, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  390|    431|        Py_XSETREF(self->traceback, Py_NewRef(value));
  ------------------
  |  |  576|    431|    do { \
  |  |  577|    431|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    431|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    431|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    431|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    431|        *_tmp_dst_ptr = (src); \
  |  |  580|    431|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    431|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    431|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    431|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    431|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 431]
  |  |  ------------------
  ------------------
  391|    431|    }
  392|      4|    else if (value == Py_None) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (392:14): [True: 4, False: 0]
  ------------------
  393|      4|        Py_CLEAR(self->traceback);
  ------------------
  |  |  487|      4|    do { \
  |  |  488|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  491|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      4|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      4|        } \
  |  |  494|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  394|      4|    }
  395|      0|    else {
  396|      0|        PyErr_SetString(PyExc_TypeError,
  397|      0|                        "__traceback__ must be a traceback or None");
  398|      0|        return -1;
  399|      0|    }
  400|    435|    return 0;
  401|    435|}
exceptions.c:BaseException_dealloc:
  144|    320|{
  145|    320|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  146|    320|    PyObject_GC_UnTrack(self);
  147|       |    // bpo-44348: The trashcan mechanism prevents stack overflow when deleting
  148|       |    // long chains of exceptions. For example, exceptions can be chained
  149|       |    // through the __context__ attributes or the __traceback__ attribute.
  150|    320|    (void)BaseException_clear(op);
  151|    320|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|    320|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    320|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    320|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  152|    320|}
exceptions.c:BaseException_str_impl:
  175|     50|{
  176|     50|    switch (PyTuple_GET_SIZE(self->args)) {
  ------------------
  |  |   27|     50|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  177|      0|    case 0:
  ------------------
  |  Branch (177:5): [True: 0, False: 50]
  ------------------
  178|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  179|     50|    case 1:
  ------------------
  |  Branch (179:5): [True: 50, False: 0]
  ------------------
  180|     50|        return PyObject_Str(PyTuple_GET_ITEM(self->args, 0));
  ------------------
  |  |   29|     50|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     50|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (180:29): [True: 50, False: 0]
  ------------------
  181|      0|    default:
  ------------------
  |  Branch (181:5): [True: 0, False: 50]
  ------------------
  182|      0|        return PyObject_Str(self->args);
  183|     50|    }
  184|     50|}
exceptions.c:get_exc_state:
   36|    110|{
   37|    110|    PyInterpreterState *interp = _PyInterpreterState_GET();
   38|    110|    return &interp->exc_state;
   39|    110|}
exceptions.c:ImportError_dealloc:
 1832|     18|{
 1833|     18|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|     18|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1834|     18|    (void)ImportError_clear(self);
 1835|     18|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|     18|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1836|     18|}
exceptions.c:PyImportErrorObject_CAST:
 1779|     18|{
 1780|     18|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_ImportError));
  ------------------
  |  Branch (1780:5): [True: 18, False: 0]
  ------------------
 1781|     18|    return (PyImportErrorObject *)self;
 1782|     18|}
exceptions.c:ImportError_clear:
 1821|     18|{
 1822|     18|    PyImportErrorObject *self = PyImportErrorObject_CAST(op);
 1823|     18|    Py_CLEAR(self->msg);
  ------------------
  |  |  487|     18|    do { \
  |  |  488|     18|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     18|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     18|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     18|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  491|     18|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     18|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     18|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     18|        } \
  |  |  494|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1824|     18|    Py_CLEAR(self->name);
  ------------------
  |  |  487|     18|    do { \
  |  |  488|     18|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     18|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     18|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     18|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 5, False: 13]
  |  |  ------------------
  |  |  491|      5|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      5|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      5|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      5|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      5|        } \
  |  |  494|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1825|     18|    Py_CLEAR(self->path);
  ------------------
  |  |  487|     18|    do { \
  |  |  488|     18|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     18|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     18|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     18|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 14, False: 4]
  |  |  ------------------
  |  |  491|     14|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     14|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     14|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     14|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     14|        } \
  |  |  494|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1826|       |    Py_CLEAR(self->name_from);
  ------------------
  |  |  487|     18|    do { \
  |  |  488|     18|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     18|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     18|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     18|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 1, False: 17]
  |  |  ------------------
  |  |  491|      1|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      1|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      1|        } \
  |  |  494|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1827|     18|    return BaseException_clear(op);
 1828|     18|}
exceptions.c:OSError_dealloc:
 2306|     44|{
 2307|     44|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|     44|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2308|     44|    (void)OSError_clear(self);
 2309|     44|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|     44|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2310|     44|}
exceptions.c:PyOSErrorObject_CAST:
 2020|     88|{
 2021|     88|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_OSError));
  ------------------
  |  Branch (2021:5): [True: 88, False: 0]
  ------------------
 2022|     88|    return (PyOSErrorObject *)self;
 2023|     88|}
exceptions.c:OSError_clear:
 2292|     44|{
 2293|     44|    PyOSErrorObject *self = PyOSErrorObject_CAST(op);
 2294|     44|    Py_CLEAR(self->myerrno);
  ------------------
  |  |  487|     44|    do { \
  |  |  488|     44|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     44|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     44|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     44|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 44, False: 0]
  |  |  ------------------
  |  |  491|     44|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     44|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     44|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     44|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     44|        } \
  |  |  494|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2295|     44|    Py_CLEAR(self->strerror);
  ------------------
  |  |  487|     44|    do { \
  |  |  488|     44|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     44|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     44|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     44|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 44, False: 0]
  |  |  ------------------
  |  |  491|     44|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     44|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     44|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     44|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     44|        } \
  |  |  494|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2296|     44|    Py_CLEAR(self->filename);
  ------------------
  |  |  487|     44|    do { \
  |  |  488|     44|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     44|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     44|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     44|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 44, False: 0]
  |  |  ------------------
  |  |  491|     44|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     44|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     44|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     44|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     44|        } \
  |  |  494|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2297|     44|    Py_CLEAR(self->filename2);
  ------------------
  |  |  487|     44|    do { \
  |  |  488|     44|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     44|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     44|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     44|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 44]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2298|       |#ifdef MS_WINDOWS
 2299|       |    Py_CLEAR(self->winerror);
 2300|       |#endif
 2301|     44|    return BaseException_clear(op);
 2302|     44|}
exceptions.c:OSError_init:
 2253|     44|{
 2254|     44|    PyOSErrorObject *self = PyOSErrorObject_CAST(op);
 2255|     44|    PyObject *myerrno = NULL, *strerror = NULL;
 2256|     44|    PyObject *filename = NULL, *filename2 = NULL;
 2257|       |#ifdef MS_WINDOWS
 2258|       |    PyObject *winerror = NULL;
 2259|       |#endif
 2260|       |
 2261|     44|    if (!oserror_use_init(Py_TYPE(self)))
  ------------------
  |  |  213|     44|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2261:9): [True: 44, False: 0]
  ------------------
 2262|       |        /* Everything already done in OSError_new */
 2263|     44|        return 0;
 2264|       |
 2265|      0|    if (!_PyArg_NoKeywords(Py_TYPE(self)->tp_name, kwds))
  ------------------
  |  |   32|      0|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 0, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2266|      0|        return -1;
 2267|       |
 2268|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2269|      0|    if (oserror_parse_args(&args, &myerrno, &strerror, &filename, &filename2
  ------------------
  |  Branch (2269:9): [True: 0, False: 0]
  ------------------
 2270|       |#ifdef MS_WINDOWS
 2271|       |                           , &winerror
 2272|       |#endif
 2273|      0|        ))
 2274|      0|        goto error;
 2275|       |
 2276|      0|    if (oserror_init(self, &args, myerrno, strerror, filename, filename2
  ------------------
  |  Branch (2276:9): [True: 0, False: 0]
  ------------------
 2277|       |#ifdef MS_WINDOWS
 2278|       |                     , winerror
 2279|       |#endif
 2280|      0|        ))
 2281|      0|        goto error;
 2282|       |
 2283|      0|    return 0;
 2284|       |
 2285|      0|error:
 2286|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2287|      0|    return -1;
 2288|      0|}
exceptions.c:oserror_use_init:
 2165|    132|{
 2166|       |    /* When __init__ is defined in an OSError subclass, we want any
 2167|       |       extraneous argument to __new__ to be ignored.  The only reasonable
 2168|       |       solution, given __new__ takes a variable number of arguments,
 2169|       |       is to defer arg parsing and initialization to __init__.
 2170|       |
 2171|       |       But when __new__ is overridden as well, it should call our __new__
 2172|       |       with the right arguments.
 2173|       |
 2174|       |       (see http://bugs.python.org/issue12555#msg148829 )
 2175|       |    */
 2176|    132|    if (type->tp_init != OSError_init && type->tp_new == OSError_new) {
  ------------------
  |  Branch (2176:9): [True: 0, False: 132]
  |  Branch (2176:42): [True: 0, False: 0]
  ------------------
 2177|      0|        assert((PyObject *) type != PyExc_OSError);
  ------------------
  |  Branch (2177:9): [True: 0, False: 0]
  ------------------
 2178|      0|        return 1;
 2179|      0|    }
 2180|    132|    return 0;
 2181|    132|}
exceptions.c:oserror_parse_args:
 2054|     44|{
 2055|     44|    Py_ssize_t nargs;
 2056|     44|    PyObject *args = *p_args;
 2057|     44|#ifndef MS_WINDOWS
 2058|       |    /*
 2059|       |     * ignored on non-Windows platforms,
 2060|       |     * but parsed so OSError has a consistent signature
 2061|       |     */
 2062|     44|    PyObject *_winerror = NULL;
 2063|     44|    PyObject **winerror = &_winerror;
 2064|     44|#endif /* MS_WINDOWS */
 2065|       |
 2066|     44|    nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     44|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2067|       |
 2068|     44|    if (nargs >= 2 && nargs <= 5) {
  ------------------
  |  Branch (2068:9): [True: 44, False: 0]
  |  Branch (2068:23): [True: 44, False: 0]
  ------------------
 2069|     44|        if (!PyArg_UnpackTuple(args, "OSError", 2, 5,
  ------------------
  |  Branch (2069:13): [True: 0, False: 44]
  ------------------
 2070|     44|                               myerrno, strerror,
 2071|     44|                               filename, winerror, filename2))
 2072|      0|            return -1;
 2073|       |#ifdef MS_WINDOWS
 2074|       |        if (*winerror && PyLong_Check(*winerror)) {
 2075|       |            long errcode, winerrcode;
 2076|       |            PyObject *newargs;
 2077|       |            Py_ssize_t i;
 2078|       |
 2079|       |            winerrcode = PyLong_AsLong(*winerror);
 2080|       |            if (winerrcode == -1 && PyErr_Occurred())
 2081|       |                return -1;
 2082|       |            errcode = winerror_to_errno(winerrcode);
 2083|       |            *myerrno = PyLong_FromLong(errcode);
 2084|       |            if (!*myerrno)
 2085|       |                return -1;
 2086|       |            newargs = PyTuple_New(nargs);
 2087|       |            if (!newargs)
 2088|       |                return -1;
 2089|       |            PyTuple_SET_ITEM(newargs, 0, *myerrno);
 2090|       |            for (i = 1; i < nargs; i++) {
 2091|       |                PyObject *val = PyTuple_GET_ITEM(args, i);
 2092|       |                PyTuple_SET_ITEM(newargs, i, Py_NewRef(val));
 2093|       |            }
 2094|       |            Py_DECREF(args);
 2095|       |            args = *p_args = newargs;
 2096|       |        }
 2097|       |#endif /* MS_WINDOWS */
 2098|     44|    }
 2099|       |
 2100|     44|    return 0;
 2101|     44|}
exceptions.c:oserror_init:
 2111|     44|{
 2112|     44|    PyObject *args = *p_args;
 2113|     44|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     44|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|       |
 2115|       |    /* self->filename will remain Py_None otherwise */
 2116|     44|    if (filename && filename != Py_None) {
  ------------------
  |  |  616|     44|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2116:9): [True: 44, False: 0]
  |  Branch (2116:21): [True: 44, False: 0]
  ------------------
 2117|     44|        if (Py_IS_TYPE(self, (PyTypeObject *) PyExc_BlockingIOError) &&
  ------------------
  |  |  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: 0, False: 44]
  |  |  ------------------
  ------------------
 2118|      0|            PyNumber_Check(filename)) {
  ------------------
  |  Branch (2118:13): [True: 0, False: 0]
  ------------------
 2119|       |            /* BlockingIOError's 3rd argument can be the number of
 2120|       |             * characters written.
 2121|       |             */
 2122|      0|            self->written = PyNumber_AsSsize_t(filename, PyExc_ValueError);
 2123|      0|            if (self->written == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2123:17): [True: 0, False: 0]
  |  Branch (2123:40): [True: 0, False: 0]
  ------------------
 2124|      0|                return -1;
 2125|      0|        }
 2126|     44|        else {
 2127|     44|            Py_XSETREF(self->filename, Py_NewRef(filename));
  ------------------
  |  |  576|     44|    do { \
  |  |  577|     44|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     44|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     44|        *_tmp_dst_ptr = (src); \
  |  |  580|     44|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2128|       |
 2129|     44|            if (filename2 && filename2 != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2129:17): [True: 0, False: 44]
  |  Branch (2129:30): [True: 0, False: 0]
  ------------------
 2130|      0|                Py_XSETREF(self->filename2, Py_NewRef(filename2));
  ------------------
  |  |  576|      0|    do { \
  |  |  577|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      0|        *_tmp_dst_ptr = (src); \
  |  |  580|      0|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2131|      0|            }
 2132|       |
 2133|     44|            if (nargs >= 2 && nargs <= 5) {
  ------------------
  |  Branch (2133:17): [True: 44, False: 0]
  |  Branch (2133:31): [True: 44, False: 0]
  ------------------
 2134|       |                /* filename, filename2, and winerror are removed from the args tuple
 2135|       |                   (for compatibility purposes, see test_exceptions.py) */
 2136|     44|                PyObject *subslice = PyTuple_GetSlice(args, 0, 2);
 2137|     44|                if (!subslice)
  ------------------
  |  Branch (2137:21): [True: 0, False: 44]
  ------------------
 2138|      0|                    return -1;
 2139|       |
 2140|     44|                Py_DECREF(args);  /* replacing args */
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2141|     44|                *p_args = args = subslice;
 2142|     44|            }
 2143|     44|        }
 2144|     44|    }
 2145|     44|    Py_XSETREF(self->myerrno, Py_XNewRef(myerrno));
  ------------------
  |  |  576|     44|    do { \
  |  |  577|     44|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     44|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     44|        *_tmp_dst_ptr = (src); \
  |  |  580|     44|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2146|     44|    Py_XSETREF(self->strerror, Py_XNewRef(strerror));
  ------------------
  |  |  576|     44|    do { \
  |  |  577|     44|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     44|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     44|        *_tmp_dst_ptr = (src); \
  |  |  580|     44|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2147|       |#ifdef MS_WINDOWS
 2148|       |    Py_XSETREF(self->winerror, Py_XNewRef(winerror));
 2149|       |#endif
 2150|       |
 2151|       |    /* Steals the reference to args */
 2152|     44|    Py_XSETREF(self->args, args);
  ------------------
  |  |  576|     44|    do { \
  |  |  577|     44|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     44|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     44|        *_tmp_dst_ptr = (src); \
  |  |  580|     44|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2153|     44|    *p_args = args = NULL;
 2154|       |
 2155|     44|    return 0;
 2156|     44|}
exceptions.c:OSError_new:
 2185|     44|{
 2186|     44|    PyOSErrorObject *self = NULL;
 2187|     44|    PyObject *myerrno = NULL, *strerror = NULL;
 2188|     44|    PyObject *filename = NULL, *filename2 = NULL;
 2189|       |#ifdef MS_WINDOWS
 2190|       |    PyObject *winerror = NULL;
 2191|       |#endif
 2192|       |
 2193|     44|    Py_INCREF(args);
  ------------------
  |  |  310|     44|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2194|       |
 2195|     44|    if (!oserror_use_init(type)) {
  ------------------
  |  Branch (2195:9): [True: 44, False: 0]
  ------------------
 2196|     44|        if (!_PyArg_NoKeywords(type->tp_name, kwds))
  ------------------
  |  |   32|     44|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 44, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2197|      0|            goto error;
 2198|       |
 2199|     44|        if (oserror_parse_args(&args, &myerrno, &strerror,
  ------------------
  |  Branch (2199:13): [True: 0, False: 44]
  ------------------
 2200|     44|                               &filename, &filename2
 2201|       |#ifdef MS_WINDOWS
 2202|       |                               , &winerror
 2203|       |#endif
 2204|     44|            ))
 2205|      0|            goto error;
 2206|       |
 2207|     44|        struct _Py_exc_state *state = get_exc_state();
 2208|     44|        if (myerrno && PyLong_Check(myerrno) &&
  ------------------
  |  |   13|     44|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     88|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 44, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2208:13): [True: 44, False: 0]
  ------------------
 2209|     44|            state->errnomap && (PyObject *) type == PyExc_OSError) {
  ------------------
  |  Branch (2209:13): [True: 44, False: 0]
  |  Branch (2209:32): [True: 44, False: 0]
  ------------------
 2210|     44|            PyObject *newtype;
 2211|     44|            newtype = PyDict_GetItemWithError(state->errnomap, myerrno);
 2212|     44|            if (newtype) {
  ------------------
  |  Branch (2212:17): [True: 44, False: 0]
  ------------------
 2213|     44|                type = _PyType_CAST(newtype);
  ------------------
  |  |  770|     44|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2213:24): [True: 44, False: 0]
  ------------------
 2214|     44|            }
 2215|      0|            else if (PyErr_Occurred())
  ------------------
  |  Branch (2215:22): [True: 0, False: 0]
  ------------------
 2216|      0|                goto error;
 2217|     44|        }
 2218|     44|    }
 2219|       |
 2220|     44|    self = (PyOSErrorObject *) type->tp_alloc(type, 0);
 2221|     44|    if (!self)
  ------------------
  |  Branch (2221:9): [True: 0, False: 44]
  ------------------
 2222|      0|        goto error;
 2223|       |
 2224|     44|    self->dict = NULL;
 2225|     44|    self->traceback = self->cause = self->context = NULL;
 2226|     44|    self->written = -1;
 2227|       |
 2228|     44|    if (!oserror_use_init(type)) {
  ------------------
  |  Branch (2228:9): [True: 44, False: 0]
  ------------------
 2229|     44|        if (oserror_init(self, &args, myerrno, strerror, filename, filename2
  ------------------
  |  Branch (2229:13): [True: 0, False: 44]
  ------------------
 2230|       |#ifdef MS_WINDOWS
 2231|       |                         , winerror
 2232|       |#endif
 2233|     44|            ))
 2234|      0|            goto error;
 2235|     44|    }
 2236|      0|    else {
 2237|      0|        self->args = PyTuple_New(0);
 2238|      0|        if (self->args == NULL)
  ------------------
  |  Branch (2238:13): [True: 0, False: 0]
  ------------------
 2239|      0|            goto error;
 2240|      0|    }
 2241|       |
 2242|     44|    Py_XDECREF(args);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2243|     44|    return (PyObject *) self;
 2244|       |
 2245|      0|error:
 2246|      0|    Py_XDECREF(args);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2247|      0|    Py_XDECREF(self);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2248|       |    return NULL;
 2249|     44|}
exceptions.c:AttributeError_dealloc:
 2700|     80|{
 2701|     80|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2702|     80|    (void)AttributeError_clear(self);
 2703|     80|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2704|     80|}
exceptions.c:PyAttributeErrorObject_CAST:
 2658|     80|{
 2659|     80|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_AttributeError));
  ------------------
  |  Branch (2659:5): [True: 80, False: 0]
  ------------------
 2660|     80|    return (PyAttributeErrorObject *)self;
 2661|     80|}
exceptions.c:AttributeError_clear:
 2691|     80|{
 2692|     80|    PyAttributeErrorObject *self = PyAttributeErrorObject_CAST(op);
 2693|     80|    Py_CLEAR(self->obj);
  ------------------
  |  |  487|     80|    do { \
  |  |  488|     80|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     80|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     80|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     80|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     80|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     80|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 50, False: 30]
  |  |  ------------------
  |  |  491|     50|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     50|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     50|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     50|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     50|        } \
  |  |  494|     80|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 80]
  |  |  ------------------
  ------------------
 2694|       |    Py_CLEAR(self->name);
  ------------------
  |  |  487|     80|    do { \
  |  |  488|     80|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     80|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     80|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     80|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     80|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     80|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 50, False: 30]
  |  |  ------------------
  |  |  491|     50|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     50|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     50|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     50|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     50|        } \
  |  |  494|     80|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 80]
  |  |  ------------------
  ------------------
 2695|     80|    return BaseException_clear(op);
 2696|     80|}
exceptions.c:PySyntaxErrorObject_CAST:
 2841|     72|{
 2842|     72|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_SyntaxError));
  ------------------
  |  Branch (2842:5): [True: 72, False: 0]
  ------------------
 2843|     72|    return (PySyntaxErrorObject *)self;
 2844|     72|}
exceptions.c:SyntaxError_dealloc:
 2913|     36|{
 2914|     36|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|     36|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2915|     36|    (void)SyntaxError_clear(self);
 2916|     36|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|     36|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2917|     36|}
exceptions.c:SyntaxError_clear:
 2897|     36|{
 2898|     36|    PySyntaxErrorObject *self = PySyntaxErrorObject_CAST(op);
 2899|     36|    Py_CLEAR(self->msg);
  ------------------
  |  |  487|     36|    do { \
  |  |  488|     36|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     36|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     36|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     36|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 36, False: 0]
  |  |  ------------------
  |  |  491|     36|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     36|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     36|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     36|        } \
  |  |  494|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 2900|     36|    Py_CLEAR(self->filename);
  ------------------
  |  |  487|     36|    do { \
  |  |  488|     36|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     36|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     36|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     36|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 36, False: 0]
  |  |  ------------------
  |  |  491|     36|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     36|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     36|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     36|        } \
  |  |  494|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 2901|     36|    Py_CLEAR(self->lineno);
  ------------------
  |  |  487|     36|    do { \
  |  |  488|     36|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     36|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     36|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     36|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 36, False: 0]
  |  |  ------------------
  |  |  491|     36|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     36|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     36|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     36|        } \
  |  |  494|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 2902|     36|    Py_CLEAR(self->offset);
  ------------------
  |  |  487|     36|    do { \
  |  |  488|     36|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     36|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     36|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     36|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 36, False: 0]
  |  |  ------------------
  |  |  491|     36|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     36|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     36|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     36|        } \
  |  |  494|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 2903|     36|    Py_CLEAR(self->end_lineno);
  ------------------
  |  |  487|     36|    do { \
  |  |  488|     36|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     36|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     36|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     36|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 36, False: 0]
  |  |  ------------------
  |  |  491|     36|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     36|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     36|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     36|        } \
  |  |  494|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 2904|     36|    Py_CLEAR(self->end_offset);
  ------------------
  |  |  487|     36|    do { \
  |  |  488|     36|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     36|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     36|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     36|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 36, False: 0]
  |  |  ------------------
  |  |  491|     36|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     36|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     36|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     36|        } \
  |  |  494|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 2905|     36|    Py_CLEAR(self->text);
  ------------------
  |  |  487|     36|    do { \
  |  |  488|     36|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     36|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     36|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     36|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 36, False: 0]
  |  |  ------------------
  |  |  491|     36|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     36|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     36|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     36|        } \
  |  |  494|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 2906|     36|    Py_CLEAR(self->print_file_and_line);
  ------------------
  |  |  487|     36|    do { \
  |  |  488|     36|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     36|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     36|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     36|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 36]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 2907|       |    Py_CLEAR(self->metadata);
  ------------------
  |  |  487|     36|    do { \
  |  |  488|     36|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     36|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     36|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     36|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 24, False: 12]
  |  |  ------------------
  |  |  491|     24|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     24|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     24|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     24|        } \
  |  |  494|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 2908|     36|    return BaseException_clear(op);
 2909|     36|}
exceptions.c:SyntaxError_init:
 2848|     36|{
 2849|     36|    PyObject *info = NULL;
 2850|     36|    Py_ssize_t lenargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2851|       |
 2852|     36|    if (BaseException_init(op, args, kwds) == -1)
  ------------------
  |  Branch (2852:9): [True: 0, False: 36]
  ------------------
 2853|      0|        return -1;
 2854|       |
 2855|     36|    PySyntaxErrorObject *self = PySyntaxErrorObject_CAST(op);
 2856|     36|    if (lenargs >= 1) {
  ------------------
  |  Branch (2856:9): [True: 36, False: 0]
  ------------------
 2857|     36|        Py_XSETREF(self->msg, Py_NewRef(PyTuple_GET_ITEM(args, 0)));
  ------------------
  |  |  576|     36|    do { \
  |  |  577|     36|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     36|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     72|        *_tmp_dst_ptr = (src); \
  |  |  ------------------
  |  |  |  Branch (579:26): [True: 36, False: 0]
  |  |  ------------------
  |  |  580|     36|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     36|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 2858|     36|    }
 2859|     36|    if (lenargs == 2) {
  ------------------
  |  Branch (2859:9): [True: 36, False: 0]
  ------------------
 2860|     36|        info = PyTuple_GET_ITEM(args, 1);
  ------------------
  |  |   29|     36|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     36|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2860:16): [True: 36, False: 0]
  ------------------
 2861|      0|        info = PySequence_Tuple(info);
 2862|     36|        if (!info) {
  ------------------
  |  Branch (2862:13): [True: 0, False: 36]
  ------------------
 2863|      0|            return -1;
 2864|      0|        }
 2865|       |
 2866|     36|        PyObject *filename, *lineno, *offset, *text;
 2867|     36|        PyObject *end_lineno = NULL;
 2868|     36|        PyObject *end_offset = NULL;
 2869|     36|        PyObject *metadata = NULL;
 2870|     36|        if (!PyArg_ParseTuple(info, "OOOO|OOO",
  ------------------
  |  Branch (2870:13): [True: 0, False: 36]
  ------------------
 2871|     36|                              &filename, &lineno,
 2872|     36|                              &offset, &text,
 2873|     36|                              &end_lineno, &end_offset, &metadata)) {
 2874|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2875|      0|            return -1;
 2876|      0|        }
 2877|       |
 2878|     36|        Py_XSETREF(self->filename, Py_NewRef(filename));
  ------------------
  |  |  576|     36|    do { \
  |  |  577|     36|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     36|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     36|        *_tmp_dst_ptr = (src); \
  |  |  580|     36|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     36|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 2879|     36|        Py_XSETREF(self->lineno, Py_NewRef(lineno));
  ------------------
  |  |  576|     36|    do { \
  |  |  577|     36|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     36|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     36|        *_tmp_dst_ptr = (src); \
  |  |  580|     36|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     36|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 2880|     36|        Py_XSETREF(self->offset, Py_NewRef(offset));
  ------------------
  |  |  576|     36|    do { \
  |  |  577|     36|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     36|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     36|        *_tmp_dst_ptr = (src); \
  |  |  580|     36|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     36|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 2881|     36|        Py_XSETREF(self->text, Py_NewRef(text));
  ------------------
  |  |  576|     36|    do { \
  |  |  577|     36|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     36|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     36|        *_tmp_dst_ptr = (src); \
  |  |  580|     36|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     36|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 2882|     36|        Py_XSETREF(self->end_lineno, Py_XNewRef(end_lineno));
  ------------------
  |  |  576|     36|    do { \
  |  |  577|     36|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     36|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     36|        *_tmp_dst_ptr = (src); \
  |  |  580|     36|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     36|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 2883|     36|        Py_XSETREF(self->end_offset, Py_XNewRef(end_offset));
  ------------------
  |  |  576|     36|    do { \
  |  |  577|     36|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     36|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     36|        *_tmp_dst_ptr = (src); \
  |  |  580|     36|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     36|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 2884|     36|        Py_XSETREF(self->metadata, Py_XNewRef(metadata));
  ------------------
  |  |  576|     36|    do { \
  |  |  577|     36|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     36|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     36|        *_tmp_dst_ptr = (src); \
  |  |  580|     36|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     36|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 2885|     36|        Py_DECREF(info);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2886|       |
 2887|     36|        if (self->end_lineno != NULL && self->end_offset == NULL) {
  ------------------
  |  Branch (2887:13): [True: 36, False: 0]
  |  Branch (2887:41): [True: 0, False: 36]
  ------------------
 2888|      0|            PyErr_SetString(PyExc_TypeError, "end_offset must be provided when end_lineno is provided");
 2889|      0|            return -1;
 2890|      0|        }
 2891|     36|    }
 2892|     36|    return 0;
 2893|     36|}
exceptions.c:check_unicode_error_attribute:
 3122|      2|{
 3123|      2|    assert(as_bytes == 0 || as_bytes == 1);
  ------------------
  |  Branch (3123:5): [True: 0, False: 2]
  |  Branch (3123:5): [True: 2, False: 0]
  ------------------
 3124|      2|    if (attr == NULL) {
  ------------------
  |  Branch (3124:9): [True: 0, False: 2]
  ------------------
 3125|      0|        PyErr_Format(PyExc_TypeError,
 3126|      0|                     "UnicodeError '%s' attribute is not set",
 3127|      0|                     name);
 3128|      0|        return -1;
 3129|      0|    }
 3130|      2|    if (!(as_bytes ? PyBytes_Check(attr) : PyUnicode_Check(attr))) {
  ------------------
  |  |   28|      2|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!(as_bytes ? PyBytes_Check(attr) : PyUnicode_Check(attr))) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3130:9): [True: 0, False: 2]
  |  Branch (3130:11): [True: 2, False: 0]
  ------------------
 3131|      0|        PyErr_Format(PyExc_TypeError,
 3132|      0|                     "UnicodeError '%s' attribute must be a %s",
 3133|      0|                     name, as_bytes ? "bytes" : "string");
  ------------------
  |  Branch (3133:28): [True: 0, False: 0]
  ------------------
 3134|      0|        return -1;
 3135|      0|    }
 3136|      2|    return 0;
 3137|      2|}
exceptions.c:UnicodeError_dealloc:
 3735|      6|{
 3736|      6|    PyTypeObject *type = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3737|      6|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|      6|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3738|      6|    (void)UnicodeError_clear(self);
 3739|      6|    type->tp_free(self);
 3740|      6|}
exceptions.c:UnicodeError_clear:
 3725|      6|{
 3726|      6|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3355|      6|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
  |  Branch (3726:33): [True: 6, False: 0]
  ------------------
 3727|      6|    Py_CLEAR(exc->encoding);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  491|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      6|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      6|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3728|      6|    Py_CLEAR(exc->object);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  491|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      6|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      6|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3729|       |    Py_CLEAR(exc->reason);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  491|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      6|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      6|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3730|      6|    return BaseException_clear(self);
 3731|      6|}
exceptions.c:UnicodeDecodeError_str:
 3921|      2|{
 3922|      2|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3355|      2|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
  |  Branch (3922:33): [True: 2, False: 0]
  ------------------
 3923|      2|    PyObject *result = NULL;
 3924|      2|    PyObject *reason_str = NULL;
 3925|      2|    PyObject *encoding_str = NULL;
 3926|       |
 3927|      2|    if (exc->object == NULL) {
  ------------------
  |  Branch (3927:9): [True: 0, False: 2]
  ------------------
 3928|       |        /* Not properly initialized. */
 3929|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 3930|      0|    }
 3931|       |
 3932|       |    /* Get reason and encoding as strings, which they might not be if
 3933|       |       they've been modified after we were constructed. */
 3934|      2|    reason_str = PyObject_Str(exc->reason);
 3935|      2|    if (reason_str == NULL) {
  ------------------
  |  Branch (3935:9): [True: 0, False: 2]
  ------------------
 3936|      0|        goto done;
 3937|      0|    }
 3938|      2|    encoding_str = PyObject_Str(exc->encoding);
 3939|      2|    if (encoding_str == NULL) {
  ------------------
  |  Branch (3939:9): [True: 0, False: 2]
  ------------------
 3940|      0|        goto done;
 3941|      0|    }
 3942|       |    // calls to PyObject_Str(...) above might mutate 'exc->object'
 3943|      2|    if (check_unicode_error_attribute(exc->object, "object", true) < 0) {
  ------------------
  |  Branch (3943:9): [True: 0, False: 2]
  ------------------
 3944|      0|        goto done;
 3945|      0|    }
 3946|      2|    Py_ssize_t len = PyBytes_GET_SIZE(exc->object);
  ------------------
  |  |   33|      2|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3947|      2|    Py_ssize_t start = exc->start, end = exc->end;
 3948|       |
 3949|      2|    if ((start >= 0 && start < len) && (end >= 0 && end <= len) && end == start + 1) {
  ------------------
  |  Branch (3949:10): [True: 2, False: 0]
  |  Branch (3949:24): [True: 2, False: 0]
  |  Branch (3949:41): [True: 2, False: 0]
  |  Branch (3949:53): [True: 2, False: 0]
  |  Branch (3949:68): [True: 0, False: 2]
  ------------------
 3950|      0|        int badbyte = (int)(PyBytes_AS_STRING(exc->object)[start] & 0xff);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3951|      0|        result = PyUnicode_FromFormat(
 3952|      0|            "'%U' codec can't decode byte 0x%02x in position %zd: %U",
 3953|      0|            encoding_str,
 3954|      0|            badbyte,
 3955|      0|            start,
 3956|      0|            reason_str);
 3957|      0|    }
 3958|      2|    else {
 3959|      2|        result = PyUnicode_FromFormat(
 3960|      2|            "'%U' codec can't decode bytes in position %zd-%zd: %U",
 3961|      2|            encoding_str,
 3962|      2|            start,
 3963|      2|            end - 1,
 3964|      2|            reason_str);
 3965|      2|    }
 3966|      2|done:
 3967|      2|    Py_XDECREF(reason_str);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3968|      2|    Py_XDECREF(encoding_str);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3969|      2|    return result;
 3970|      2|}
exceptions.c:UnicodeDecodeError_init:
 3880|      6|{
 3881|      6|    if (BaseException_init(self, args, kwds) == -1) {
  ------------------
  |  Branch (3881:9): [True: 0, False: 6]
  ------------------
 3882|      0|        return -1;
 3883|      0|    }
 3884|       |
 3885|      6|    PyObject *encoding = NULL, *object = NULL, *reason = NULL;  // borrowed
 3886|      6|    Py_ssize_t start = -1, end = -1;
 3887|       |
 3888|      6|    if (!PyArg_ParseTuple(args, "UOnnU",
  ------------------
  |  Branch (3888:9): [True: 0, False: 6]
  ------------------
 3889|      6|                          &encoding, &object, &start, &end, &reason))
 3890|      0|    {
 3891|      0|        return -1;
 3892|      0|    }
 3893|       |
 3894|      6|    if (PyBytes_Check(object)) {
  ------------------
  |  |   28|      6|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 6, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3895|      6|        Py_INCREF(object);  // make 'object' a strong reference
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3896|      6|    }
 3897|      0|    else {
 3898|      0|        Py_buffer view;
 3899|      0|        if (PyObject_GetBuffer(object, &view, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (3899:13): [True: 0, False: 0]
  ------------------
 3900|      0|            return -1;
 3901|      0|        }
 3902|       |        // 'object' is borrowed, so we can re-use the variable
 3903|      0|        object = PyBytes_FromStringAndSize(view.buf, view.len);
 3904|      0|        PyBuffer_Release(&view);
 3905|      0|        if (object == NULL) {
  ------------------
  |  Branch (3905:13): [True: 0, False: 0]
  ------------------
 3906|      0|            return -1;
 3907|      0|        }
 3908|      0|    }
 3909|       |
 3910|      6|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3355|      6|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
  |  Branch (3910:33): [True: 6, False: 0]
  ------------------
 3911|      6|    Py_XSETREF(exc->encoding, Py_NewRef(encoding));
  ------------------
  |  |  576|      6|    do { \
  |  |  577|      6|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      6|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      6|        *_tmp_dst_ptr = (src); \
  |  |  580|      6|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3912|      6|    Py_XSETREF(exc->object, object /* already a strong reference */);
  ------------------
  |  |  576|      6|    do { \
  |  |  577|      6|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      6|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      6|        *_tmp_dst_ptr = (src); \
  |  |  580|      6|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3913|      6|    exc->start = start;
 3914|      6|    exc->end = end;
 3915|      6|    Py_XSETREF(exc->reason, Py_NewRef(reason));
  ------------------
  |  |  576|      6|    do { \
  |  |  577|      6|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      6|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      6|        *_tmp_dst_ptr = (src); \
  |  |  580|      6|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3916|      6|    return 0;
 3917|      6|}
exceptions.c:get_memory_error:
 4169|     32|{
 4170|     32|    PyBaseExceptionObject *self = NULL;
 4171|     32|    struct _Py_exc_state *state = get_exc_state();
 4172|       |
 4173|     32|    MEMERRORS_LOCK(state);
  ------------------
  |  | 4163|     32|# define MEMERRORS_LOCK(state) ((void)0)
  ------------------
 4174|     32|    if (state->memerrors_freelist != NULL) {
  ------------------
  |  Branch (4174:9): [True: 0, False: 32]
  ------------------
 4175|       |        /* Fetch MemoryError from freelist and initialize it */
 4176|      0|        self = state->memerrors_freelist;
 4177|      0|        state->memerrors_freelist = (PyBaseExceptionObject *) self->dict;
 4178|      0|        state->memerrors_numfree--;
 4179|      0|        self->dict = NULL;
 4180|      0|        self->args = (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 4181|      0|        _Py_NewReference((PyObject *)self);
 4182|      0|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  502|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4183|      0|    }
 4184|     32|    MEMERRORS_UNLOCK(state);
  ------------------
  |  | 4164|     32|# define MEMERRORS_UNLOCK(state) ((void)0)
  ------------------
 4185|       |
 4186|     32|    if (self != NULL) {
  ------------------
  |  Branch (4186:9): [True: 0, False: 32]
  ------------------
 4187|      0|        return (PyObject *)self;
 4188|      0|    }
 4189|       |
 4190|     32|    if (!allow_allocation) {
  ------------------
  |  Branch (4190:9): [True: 0, False: 32]
  ------------------
 4191|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 4192|      0|        return Py_NewRef(
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4193|      0|            &_Py_INTERP_SINGLETON(interp, last_resort_memory_error));
 4194|      0|    }
 4195|     32|    return BaseException_new((PyTypeObject *)PyExc_MemoryError, args, kwds);
 4196|     32|}
exceptions.c:MemoryError_dealloc:
 4227|     32|{
 4228|     32|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
 4229|     32|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|     32|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4230|       |
 4231|     32|    (void)BaseException_clear(op);
 4232|       |
 4233|       |    /* If this is a subclass of MemoryError, we don't need to
 4234|       |     * do anything in the free-list*/
 4235|     32|    if (!Py_IS_TYPE(self, (PyTypeObject *) PyExc_MemoryError)) {
  ------------------
  |  |  215|     32|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4235:9): [True: 0, False: 32]
  ------------------
 4236|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4237|      0|        return;
 4238|      0|    }
 4239|       |
 4240|     32|    struct _Py_exc_state *state = get_exc_state();
 4241|     32|    MEMERRORS_LOCK(state);
  ------------------
  |  | 4163|     32|# define MEMERRORS_LOCK(state) ((void)0)
  ------------------
 4242|     32|    if (state->memerrors_numfree < MEMERRORS_SAVE) {
  ------------------
  |  | 4157|     32|#define MEMERRORS_SAVE 16
  ------------------
  |  Branch (4242:9): [True: 32, False: 0]
  ------------------
 4243|     32|        self->dict = (PyObject *) state->memerrors_freelist;
 4244|     32|        state->memerrors_freelist = self;
 4245|     32|        state->memerrors_numfree++;
 4246|     32|        MEMERRORS_UNLOCK(state);
  ------------------
  |  | 4164|     32|# define MEMERRORS_UNLOCK(state) ((void)0)
  ------------------
 4247|     32|        return;
 4248|     32|    }
 4249|      0|    MEMERRORS_UNLOCK(state);
  ------------------
  |  | 4164|      0|# define MEMERRORS_UNLOCK(state) ((void)0)
  ------------------
 4250|       |
 4251|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4252|      0|}
exceptions.c:BaseException_traverse:
  156|      2|{
  157|      2|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  158|      2|    Py_VISIT(self->dict);
  ------------------
  |  |  194|      2|    do {                                                                \
  |  |  195|      2|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  159|      2|    Py_VISIT(self->args);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  160|      2|    Py_VISIT(self->notes);
  ------------------
  |  |  194|      2|    do {                                                                \
  |  |  195|      2|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  161|      2|    Py_VISIT(self->traceback);
  ------------------
  |  |  194|      2|    do {                                                                \
  |  |  195|      2|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  162|      2|    Py_VISIT(self->cause);
  ------------------
  |  |  194|      2|    do {                                                                \
  |  |  195|      2|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  163|      2|    Py_VISIT(self->context);
  ------------------
  |  |  194|      2|    do {                                                                \
  |  |  195|      2|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  164|      2|    return 0;
  165|      2|}
exceptions.c:BaseException_clear:
  131|    536|{
  132|    536|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  133|    536|    Py_CLEAR(self->dict);
  ------------------
  |  |  487|    536|    do { \
  |  |  488|    536|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    536|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    536|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    536|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    536|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    536|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 536]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|    536|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 536]
  |  |  ------------------
  ------------------
  134|    536|    Py_CLEAR(self->args);
  ------------------
  |  |  487|    536|    do { \
  |  |  488|    536|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    536|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    536|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    536|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    536|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    536|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 536, False: 0]
  |  |  ------------------
  |  |  491|    536|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    536|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    536|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    536|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    536|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    536|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    536|        } \
  |  |  494|    536|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 536]
  |  |  ------------------
  ------------------
  135|    536|    Py_CLEAR(self->notes);
  ------------------
  |  |  487|    536|    do { \
  |  |  488|    536|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    536|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    536|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    536|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    536|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    536|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 536]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|    536|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 536]
  |  |  ------------------
  ------------------
  136|    536|    Py_CLEAR(self->traceback);
  ------------------
  |  |  487|    536|    do { \
  |  |  488|    536|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    536|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    536|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    536|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    536|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    536|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 349, False: 187]
  |  |  ------------------
  |  |  491|    349|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    349|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    349|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    349|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    349|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    349|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    349|        } \
  |  |  494|    536|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 536]
  |  |  ------------------
  ------------------
  137|    536|    Py_CLEAR(self->cause);
  ------------------
  |  |  487|    536|    do { \
  |  |  488|    536|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    536|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    536|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    536|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    536|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    536|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 536]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|    536|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 536]
  |  |  ------------------
  ------------------
  138|       |    Py_CLEAR(self->context);
  ------------------
  |  |  487|    536|    do { \
  |  |  488|    536|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    536|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    536|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    536|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    536|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    536|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 19, False: 517]
  |  |  ------------------
  |  |  491|     19|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     19|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     19|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     19|        } \
  |  |  494|    536|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 536]
  |  |  ------------------
  ------------------
  139|    536|    return 0;
  140|    536|}
exceptions.c:BaseException_init:
   86|    140|{
   87|    140|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
   88|    140|    if (!_PyArg_NoKeywords(Py_TYPE(self)->tp_name, kwds))
  ------------------
  |  |   32|    140|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 140, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   89|      0|        return -1;
   90|       |
   91|    140|    Py_XSETREF(self->args, Py_NewRef(args));
  ------------------
  |  |  576|    140|    do { \
  |  |  577|    140|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    140|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    140|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    140|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    140|        *_tmp_dst_ptr = (src); \
  |  |  580|    140|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    140|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    140|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 140]
  |  |  ------------------
  ------------------
   92|    140|    return 0;
   93|    140|}
exceptions.c:MemoryError_new:
 4200|     32|{
 4201|       |    /* If this is a subclass of MemoryError, don't use the freelist
 4202|       |     * and just return a fresh object */
 4203|     32|    if (type != (PyTypeObject *) PyExc_MemoryError) {
  ------------------
  |  Branch (4203:9): [True: 0, False: 32]
  ------------------
 4204|      0|        return BaseException_new(type, args, kwds);
 4205|      0|    }
 4206|     32|    return get_memory_error(1, args, kwds);
 4207|     32|}
exceptions.c:BaseException_new:
   58|    172|{
   59|    172|    PyBaseExceptionObject *self;
   60|       |
   61|    172|    self = (PyBaseExceptionObject *)type->tp_alloc(type, 0);
   62|    172|    if (!self)
  ------------------
  |  Branch (62:9): [True: 0, False: 172]
  ------------------
   63|      0|        return NULL;
   64|       |    /* the dict is created on the fly in PyObject_GenericSetAttr */
   65|    172|    self->dict = NULL;
   66|    172|    self->notes = NULL;
   67|    172|    self->traceback = self->cause = self->context = NULL;
   68|    172|    self->suppress_context = 0;
   69|       |
   70|    172|    if (args) {
  ------------------
  |  Branch (70:9): [True: 140, False: 32]
  ------------------
   71|    140|        self->args = Py_NewRef(args);
  ------------------
  |  |  647|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   72|    140|        return (PyObject *)self;
   73|    140|    }
   74|       |
   75|     32|    self->args = PyTuple_New(0);
   76|     32|    if (!self->args) {
  ------------------
  |  Branch (76:9): [True: 0, False: 32]
  ------------------
   77|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   78|      0|        return NULL;
   79|      0|    }
   80|       |
   81|     32|    return (PyObject *)self;
   82|     32|}
exceptions.c:BaseException_vectorcall:
   99|    320|{
  100|    320|    PyTypeObject *type = _PyType_CAST(type_obj);
  ------------------
  |  |  770|    320|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    320|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (100:26): [True: 320, False: 0]
  ------------------
  101|    320|    if (!_PyArg_NoKwnames(type->tp_name, kwnames)) {
  ------------------
  |  |   16|    320|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 320, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  102|      0|        return NULL;
  103|      0|    }
  104|       |
  105|    320|    PyBaseExceptionObject *self;
  106|    320|    self = (PyBaseExceptionObject *)type->tp_alloc(type, 0);
  107|    320|    if (!self) {
  ------------------
  |  Branch (107:9): [True: 0, False: 320]
  ------------------
  108|      0|        return NULL;
  109|      0|    }
  110|       |
  111|       |    // The dict is created on the fly in PyObject_GenericSetAttr()
  112|    320|    self->dict = NULL;
  113|    320|    self->notes = NULL;
  114|    320|    self->traceback = NULL;
  115|    320|    self->cause = NULL;
  116|    320|    self->context = NULL;
  117|    320|    self->suppress_context = 0;
  118|       |
  119|    320|    self->args = PyTuple_FromArray(args, PyVectorcall_NARGS(nargsf));
  ------------------
  |  |   37|    320|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  120|    320|    if (!self->args) {
  ------------------
  |  Branch (120:9): [True: 0, False: 320]
  ------------------
  121|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  122|      0|        return NULL;
  123|      0|    }
  124|       |
  125|    320|    return (PyObject *)self;
  126|    320|}
exceptions.c:ImportError_init_impl:
 1799|     18|{
 1800|     18|    PyObject *msg = NULL;
 1801|       |
 1802|     18|    if (BaseException_init((PyObject *)self, args, NULL) == -1) {
  ------------------
  |  Branch (1802:9): [True: 0, False: 18]
  ------------------
 1803|      0|        return -1;
 1804|      0|    }
 1805|       |
 1806|     18|    Py_XSETREF(self->name, Py_XNewRef(name));
  ------------------
  |  |  576|     18|    do { \
  |  |  577|     18|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     18|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     18|        *_tmp_dst_ptr = (src); \
  |  |  580|     18|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     18|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1807|     18|    Py_XSETREF(self->path, Py_XNewRef(path));
  ------------------
  |  |  576|     18|    do { \
  |  |  577|     18|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     18|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     18|        *_tmp_dst_ptr = (src); \
  |  |  580|     18|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     18|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1808|     18|    Py_XSETREF(self->name_from, Py_XNewRef(name_from));
  ------------------
  |  |  576|     18|    do { \
  |  |  577|     18|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     18|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     18|        *_tmp_dst_ptr = (src); \
  |  |  580|     18|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     18|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1809|       |
 1810|     18|    if (PyTuple_GET_SIZE(args) == 1) {
  ------------------
  |  |   27|     18|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1810:9): [True: 18, False: 0]
  ------------------
 1811|     18|        msg = Py_NewRef(PyTuple_GET_ITEM(args, 0));
  ------------------
  |  |  647|     18|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 18, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1812|     18|    }
 1813|     18|    Py_XSETREF(self->msg, msg);
  ------------------
  |  |  576|     18|    do { \
  |  |  577|     18|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     18|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     18|        *_tmp_dst_ptr = (src); \
  |  |  580|     18|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     18|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1814|       |
 1815|     18|    return 0;
 1816|     18|}
exceptions.c:AttributeError_init_impl:
 2677|     80|{
 2678|     80|    if (BaseException_init((PyObject *)self, args, NULL) == -1) {
  ------------------
  |  Branch (2678:9): [True: 0, False: 80]
  ------------------
 2679|      0|        return -1;
 2680|      0|    }
 2681|       |
 2682|     80|    Py_XSETREF(self->name, Py_XNewRef(name));
  ------------------
  |  |  576|     80|    do { \
  |  |  577|     80|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     80|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     80|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     80|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     80|        *_tmp_dst_ptr = (src); \
  |  |  580|     80|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     80|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 80]
  |  |  ------------------
  ------------------
 2683|     80|    Py_XSETREF(self->obj, Py_XNewRef(obj));
  ------------------
  |  |  576|     80|    do { \
  |  |  577|     80|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     80|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     80|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     80|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     80|        *_tmp_dst_ptr = (src); \
  |  |  580|     80|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     80|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 80]
  |  |  ------------------
  ------------------
 2684|       |
 2685|     80|    return 0;
 2686|     80|}
exceptions.c:preallocate_memerrors:
 4256|      2|{
 4257|       |    /* We create enough MemoryErrors and then decref them, which will fill
 4258|       |       up the freelist. */
 4259|      2|    int i;
 4260|       |
 4261|      2|    PyObject *errors[MEMERRORS_SAVE];
 4262|     34|    for (i = 0; i < MEMERRORS_SAVE; i++) {
  ------------------
  |  | 4157|     34|#define MEMERRORS_SAVE 16
  ------------------
  |  Branch (4262:17): [True: 32, False: 2]
  ------------------
 4263|     32|        errors[i] = MemoryError_new((PyTypeObject *) PyExc_MemoryError,
 4264|     32|                                    NULL, NULL);
 4265|     32|        if (!errors[i]) {
  ------------------
  |  Branch (4265:13): [True: 0, False: 32]
  ------------------
 4266|      0|            return -1;
 4267|      0|        }
 4268|     32|    }
 4269|     34|    for (i = 0; i < MEMERRORS_SAVE; i++) {
  ------------------
  |  | 4157|     34|#define MEMERRORS_SAVE 16
  ------------------
  |  Branch (4269:17): [True: 32, False: 2]
  ------------------
 4270|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4271|     32|    }
 4272|      2|    return 0;
 4273|      2|}
exceptions.c:create_exception_group_class:
 1749|      2|create_exception_group_class(void) {
 1750|      2|    struct _Py_exc_state *state = get_exc_state();
 1751|       |
 1752|      2|    PyObject *bases = _PyTuple_FromPair(
 1753|      2|        PyExc_BaseExceptionGroup, PyExc_Exception);
 1754|      2|    if (bases == NULL) {
  ------------------
  |  Branch (1754:9): [True: 0, False: 2]
  ------------------
 1755|      0|        return NULL;
 1756|      0|    }
 1757|       |
 1758|      2|    assert(!state->PyExc_ExceptionGroup);
  ------------------
  |  Branch (1758:5): [True: 2, False: 0]
  ------------------
 1759|      2|    state->PyExc_ExceptionGroup = PyErr_NewException(
 1760|      2|        "builtins.ExceptionGroup", bases, NULL);
 1761|       |
 1762|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1763|      2|    return state->PyExc_ExceptionGroup;
 1764|      2|}

PyFile_NewStdPrinter:
  302|      2|{
  303|      2|    PyStdPrinter_Object *self;
  304|       |
  305|      2|    if (fd != fileno(stdout) && fd != fileno(stderr)) {
  ------------------
  |  Branch (305:9): [True: 2, False: 0]
  |  Branch (305:33): [True: 0, False: 2]
  ------------------
  306|       |        /* not enough infrastructure for PyErr_BadInternalCall() */
  307|      0|        return NULL;
  308|      0|    }
  309|       |
  310|      2|    self = PyObject_New(PyStdPrinter_Object,
  ------------------
  |  |  130|      2|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
  311|      2|                        &PyStdPrinter_Type);
  312|      2|    if (self != NULL) {
  ------------------
  |  Branch (312:9): [True: 2, False: 0]
  ------------------
  313|      2|        self->fd = fd;
  314|      2|    }
  315|      2|    return (PyObject*)self;
  316|      2|}
PyFile_OpenCodeObject:
  517|     27|{
  518|     27|    PyObject *f = NULL;
  519|       |
  520|     27|    if (!PyUnicode_Check(path)) {
  ------------------
  |  |  103|     27|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     27|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (520:9): [True: 0, False: 27]
  ------------------
  521|      0|        PyErr_Format(PyExc_TypeError, "'path' must be 'str', not '%.200s'",
  522|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  523|      0|        return NULL;
  524|      0|    }
  525|       |
  526|     27|    Py_OpenCodeHookFunction hook = _PyRuntime.open_code_hook;
  527|     27|    if (hook) {
  ------------------
  |  Branch (527:9): [True: 0, False: 27]
  ------------------
  528|      0|        f = hook(path, _PyRuntime.open_code_userdata);
  529|     27|    } else {
  530|     27|        PyObject *open = PyImport_ImportModuleAttrString("_io", "open");
  531|     27|        if (open) {
  ------------------
  |  Branch (531:13): [True: 27, False: 0]
  ------------------
  532|     27|            f = PyObject_CallFunction(open, "Os", path, "rb");
  533|     27|            Py_DECREF(open);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  534|     27|        }
  535|     27|    }
  536|       |
  537|     27|    return f;
  538|     27|}
_PyFile_Flush:
  556|    104|{
  557|    104|    PyObject *tmp = PyObject_CallMethodNoArgs(file, &_Py_ID(flush));
  ------------------
  |  |  951|    104|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    104|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    104|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  558|    104|    if (tmp == NULL) {
  ------------------
  |  Branch (558:9): [True: 0, False: 104]
  ------------------
  559|      0|        return -1;
  560|      0|    }
  561|    104|    Py_DECREF(tmp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|    104|    return 0;
  563|    104|}

PyFloat_GetInfo:
   85|      2|{
   86|      2|    PyObject* floatinfo;
   87|      2|    int pos = 0;
   88|       |
   89|      2|    floatinfo = PyStructSequence_New(&FloatInfoType);
   90|      2|    if (floatinfo == NULL) {
  ------------------
  |  Branch (90:9): [True: 0, False: 2]
  ------------------
   91|      0|        return NULL;
   92|      0|    }
   93|       |
   94|      2|#define SetFlag(CALL) \
   95|      2|    do {                                                    \
   96|      2|        PyObject *flag = (CALL);                            \
   97|      2|        if (flag == NULL) {                                 \
   98|      2|            Py_CLEAR(floatinfo);                            \
   99|      2|            return NULL;                                    \
  100|      2|        }                                                   \
  101|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  102|      2|    } while (0)
  103|       |
  104|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  105|      2|#define SetDblFlag(FLAG) SetFlag(PyFloat_FromDouble((FLAG)))
  106|       |
  107|      2|    SetDblFlag(DBL_MAX);
  ------------------
  |  |  105|      2|#define SetDblFlag(FLAG) SetFlag(PyFloat_FromDouble((FLAG)))
  |  |  ------------------
  |  |  |  |   95|      2|    do {                                                    \
  |  |  |  |   96|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   97|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (97:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|    do { \
  |  |  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  493|      0|        } \
  |  |  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   99|      0|            return NULL;                                    \
  |  |  |  |  100|      0|        }                                                   \
  |  |  |  |  101|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  102|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (102:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  108|      2|    SetIntFlag(DBL_MAX_EXP);
  ------------------
  |  |  104|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   95|      2|    do {                                                    \
  |  |  |  |   96|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   97|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (97:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|    do { \
  |  |  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  493|      0|        } \
  |  |  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   99|      0|            return NULL;                                    \
  |  |  |  |  100|      0|        }                                                   \
  |  |  |  |  101|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  102|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (102:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  109|      2|    SetIntFlag(DBL_MAX_10_EXP);
  ------------------
  |  |  104|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   95|      2|    do {                                                    \
  |  |  |  |   96|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   97|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (97:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|    do { \
  |  |  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  493|      0|        } \
  |  |  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   99|      0|            return NULL;                                    \
  |  |  |  |  100|      0|        }                                                   \
  |  |  |  |  101|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  102|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (102:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  110|      2|    SetDblFlag(DBL_MIN);
  ------------------
  |  |  105|      2|#define SetDblFlag(FLAG) SetFlag(PyFloat_FromDouble((FLAG)))
  |  |  ------------------
  |  |  |  |   95|      2|    do {                                                    \
  |  |  |  |   96|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   97|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (97:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|    do { \
  |  |  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  493|      0|        } \
  |  |  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   99|      0|            return NULL;                                    \
  |  |  |  |  100|      0|        }                                                   \
  |  |  |  |  101|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  102|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (102:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  111|      2|    SetIntFlag(DBL_MIN_EXP);
  ------------------
  |  |  104|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   95|      2|    do {                                                    \
  |  |  |  |   96|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   97|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (97:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|    do { \
  |  |  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  493|      0|        } \
  |  |  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   99|      0|            return NULL;                                    \
  |  |  |  |  100|      0|        }                                                   \
  |  |  |  |  101|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  102|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (102:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  112|      2|    SetIntFlag(DBL_MIN_10_EXP);
  ------------------
  |  |  104|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   95|      2|    do {                                                    \
  |  |  |  |   96|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   97|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (97:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|    do { \
  |  |  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  493|      0|        } \
  |  |  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   99|      0|            return NULL;                                    \
  |  |  |  |  100|      0|        }                                                   \
  |  |  |  |  101|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  102|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (102:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  113|      2|    SetIntFlag(DBL_DIG);
  ------------------
  |  |  104|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   95|      2|    do {                                                    \
  |  |  |  |   96|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   97|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (97:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|    do { \
  |  |  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  493|      0|        } \
  |  |  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   99|      0|            return NULL;                                    \
  |  |  |  |  100|      0|        }                                                   \
  |  |  |  |  101|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  102|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (102:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  114|      2|    SetIntFlag(DBL_MANT_DIG);
  ------------------
  |  |  104|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   95|      2|    do {                                                    \
  |  |  |  |   96|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   97|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (97:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|    do { \
  |  |  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  493|      0|        } \
  |  |  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   99|      0|            return NULL;                                    \
  |  |  |  |  100|      0|        }                                                   \
  |  |  |  |  101|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  102|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (102:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  115|      2|    SetDblFlag(DBL_EPSILON);
  ------------------
  |  |  105|      2|#define SetDblFlag(FLAG) SetFlag(PyFloat_FromDouble((FLAG)))
  |  |  ------------------
  |  |  |  |   95|      2|    do {                                                    \
  |  |  |  |   96|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   97|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (97:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|    do { \
  |  |  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  493|      0|        } \
  |  |  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   99|      0|            return NULL;                                    \
  |  |  |  |  100|      0|        }                                                   \
  |  |  |  |  101|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  102|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (102:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  116|      2|    SetIntFlag(FLT_RADIX);
  ------------------
  |  |  104|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   95|      2|    do {                                                    \
  |  |  |  |   96|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   97|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (97:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|    do { \
  |  |  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  493|      0|        } \
  |  |  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   99|      0|            return NULL;                                    \
  |  |  |  |  100|      0|        }                                                   \
  |  |  |  |  101|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  102|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (102:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  117|      2|    SetIntFlag(FLT_ROUNDS);
  ------------------
  |  |  104|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   95|      2|    do {                                                    \
  |  |  |  |   96|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   97|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (97:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|    do { \
  |  |  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  493|      0|        } \
  |  |  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   99|      0|            return NULL;                                    \
  |  |  |  |  100|      0|        }                                                   \
  |  |  |  |  101|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  102|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (102:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  118|      2|#undef SetIntFlag
  119|      2|#undef SetDblFlag
  120|      2|#undef SetFlag
  121|       |
  122|      2|    return floatinfo;
  123|      2|}
PyFloat_FromDouble:
  127|    417|{
  128|    417|    PyFloatObject *op = _Py_FREELIST_POP(PyFloatObject, floats);
  ------------------
  |  |   43|    417|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|    417|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  129|    417|    if (op == NULL) {
  ------------------
  |  Branch (129:9): [True: 75, False: 342]
  ------------------
  130|     75|        op = PyObject_Malloc(sizeof(PyFloatObject));
  131|     75|        if (!op) {
  ------------------
  |  Branch (131:13): [True: 0, False: 75]
  ------------------
  132|      0|            return PyErr_NoMemory();
  133|      0|        }
  134|     75|        _PyObject_Init((PyObject*)op, &PyFloat_Type);
  135|     75|    }
  136|    417|    op->ob_fval = fval;
  137|    417|    return (PyObject *) op;
  138|    417|}
_PyFloat_ExactDealloc:
  232|    400|{
  233|    400|    assert(PyFloat_CheckExact(obj));
  ------------------
  |  Branch (233:5): [True: 400, False: 0]
  ------------------
  234|    400|    _Py_FREELIST_FREE(floats, obj, 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)
  |  |  ------------------
  |  |  |  |   18|    400|#  define Py_floats_MAXFREELIST 100
  |  |  ------------------
  ------------------
  235|    400|}
_PyFloat_InitTypes:
 1845|      2|{
 1846|       |    /* Init float info */
 1847|      2|    if (_PyStructSequence_InitBuiltin(interp, &FloatInfoType,
  ------------------
  |  Branch (1847:9): [True: 0, False: 2]
  ------------------
 1848|      2|                                      &floatinfo_desc) < 0)
 1849|      0|    {
 1850|      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)}
  ------------------
 1851|      0|    }
 1852|       |
 1853|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1854|      2|}
floatobject.c:float_dealloc:
  239|    400|{
  240|    400|    assert(PyFloat_Check(op));
  ------------------
  |  Branch (240:5): [True: 400, False: 0]
  ------------------
  241|    400|    if (PyFloat_CheckExact(op))
  ------------------
  |  |   17|    400|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|    400|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    400|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    400|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 400, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  242|    400|        _PyFloat_ExactDealloc(op);
  243|      0|    else
  244|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  245|    400|}
floatobject.c:float___trunc___impl:
  865|     27|{
  866|     27|    return PyLong_FromDouble(PyFloat_AS_DOUBLE(self));
  ------------------
  |  |   18|     27|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  867|     27|}
floatobject.c:float_richcompare:
  374|     15|{
  375|     15|    double i, j;
  376|     15|    int r = 0;
  377|       |
  378|     15|    assert(PyFloat_Check(v));
  ------------------
  |  Branch (378:5): [True: 15, False: 0]
  ------------------
  379|     15|    i = PyFloat_AS_DOUBLE(v);
  ------------------
  |  |   18|     15|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  380|       |
  381|       |    /* Switch on the type of w.  Set i and j to doubles to be compared,
  382|       |     * and op to the richcomp to use.
  383|       |     */
  384|     15|    if (PyFloat_Check(w))
  ------------------
  |  |   16|     15|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|     15|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 6, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  385|      6|        j = PyFloat_AS_DOUBLE(w);
  ------------------
  |  |   18|      6|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  386|       |
  387|      9|    else if (!isfinite(i)) {
  ------------------
  |  Branch (387:14): [True: 0, False: 9]
  ------------------
  388|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  389|       |            /* If i is an infinity, its magnitude exceeds any
  390|       |             * finite integer, so it doesn't matter which int we
  391|       |             * compare i with.  If i is a NaN, similarly.
  392|       |             */
  393|      0|            j = 0.0;
  394|      0|        else
  395|      0|            goto Unimplemented;
  396|      0|    }
  397|       |
  398|      9|    else if (PyLong_Check(w)) {
  ------------------
  |  |   13|      9|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      9|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 9, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  399|      9|        int vsign = i == 0.0 ? 0 : i < 0.0 ? -1 : 1;
  ------------------
  |  Branch (399:21): [True: 0, False: 9]
  |  Branch (399:36): [True: 0, False: 9]
  ------------------
  400|      9|        int wsign;
  401|      9|        int exponent;
  402|       |
  403|      9|        (void)PyLong_GetSign(w, &wsign);
  404|      9|        if (vsign != wsign) {
  ------------------
  |  Branch (404:13): [True: 9, False: 0]
  ------------------
  405|       |            /* Magnitudes are irrelevant -- the signs alone
  406|       |             * determine the outcome.
  407|       |             */
  408|      9|            i = (double)vsign;
  409|      9|            j = (double)wsign;
  410|      9|            goto Compare;
  411|      9|        }
  412|       |        /* The signs are the same. */
  413|       |        /* Convert w to a double if it fits.  In particular, 0 fits. */
  414|      0|        int64_t nbits64 = _PyLong_NumBits(w);
  415|      0|        assert(nbits64 >= 0);
  ------------------
  |  Branch (415:9): [True: 0, False: 0]
  ------------------
  416|      0|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (416:9): [True: 0, False: 0]
  ------------------
  417|      0|        if (nbits64 > DBL_MAX_EXP) {
  ------------------
  |  Branch (417:13): [True: 0, False: 0]
  ------------------
  418|       |            /* This Python integer is larger than any finite C double.
  419|       |             * Replace with little doubles
  420|       |             * that give the same outcome -- w is so large that
  421|       |             * its magnitude must exceed the magnitude of any
  422|       |             * finite float.
  423|       |             */
  424|      0|            i = (double)vsign;
  425|      0|            assert(wsign != 0);
  ------------------
  |  Branch (425:13): [True: 0, False: 0]
  ------------------
  426|      0|            j = wsign * 2.0;
  427|      0|            goto Compare;
  428|      0|        }
  429|      0|        int nbits = (int)nbits64;
  430|      0|        if (nbits <= 48) {
  ------------------
  |  Branch (430:13): [True: 0, False: 0]
  ------------------
  431|      0|            j = PyLong_AsDouble(w);
  432|       |            /* It's impossible that <= 48 bits overflowed. */
  433|      0|            assert(j != -1.0 || ! PyErr_Occurred());
  ------------------
  |  Branch (433:13): [True: 0, False: 0]
  |  Branch (433:13): [True: 0, False: 0]
  ------------------
  434|      0|            goto Compare;
  435|      0|        }
  436|      0|        assert(wsign != 0); /* else nbits was 0 */
  ------------------
  |  Branch (436:9): [True: 0, False: 0]
  ------------------
  437|      0|        assert(vsign != 0); /* if vsign were 0, then since wsign is
  ------------------
  |  Branch (437:9): [True: 0, False: 0]
  ------------------
  438|       |                             * not 0, we would have taken the
  439|       |                             * vsign != wsign branch at the start */
  440|      0|        (void) frexp(i, &exponent);
  441|       |        /* exponent is the # of bits in v before the radix point;
  442|       |         * we know that nbits (the # of bits in w) > 48 at this point
  443|       |         */
  444|      0|        if (exponent < nbits) {
  ------------------
  |  Branch (444:13): [True: 0, False: 0]
  ------------------
  445|      0|            j = i;
  446|      0|            i = 0.0;
  447|      0|            goto Compare;
  448|      0|        }
  449|      0|        if (exponent > nbits) {
  ------------------
  |  Branch (449:13): [True: 0, False: 0]
  ------------------
  450|      0|            j = 0.0;
  451|      0|            goto Compare;
  452|      0|        }
  453|       |        /* v and w have the same number of bits before the radix
  454|       |         * point.  Construct an int from the integer part of v and
  455|       |         * update op if necessary, so comparing two ints has the same outcome.
  456|       |         */
  457|      0|        {
  458|      0|            double fracpart;
  459|      0|            double intpart;
  460|      0|            PyObject *result = NULL;
  461|      0|            PyObject *vv = NULL;
  462|       |
  463|      0|            fracpart = modf(i, &intpart);
  464|      0|            if (fracpart != 0.0) {
  ------------------
  |  Branch (464:17): [True: 0, False: 0]
  ------------------
  465|      0|                switch (op) {
  ------------------
  |  Branch (465:25): [True: 0, False: 0]
  ------------------
  466|       |                    /* Non-integer float never equals to an int. */
  467|      0|                    case Py_EQ:
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  |  Branch (467:21): [True: 0, False: 0]
  ------------------
  468|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  469|      0|                    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (469:21): [True: 0, False: 0]
  ------------------
  470|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  471|       |                    /* For non-integer float, v <= w <=> v < w.
  472|       |                     * If v > 0: trunc(v) < v < trunc(v) + 1
  473|       |                     *   v < w => trunc(v) < w
  474|       |                     *   trunc(v) < w => trunc(v) + 1 <= w => v < w
  475|       |                     * If v < 0: trunc(v) - 1 < v < trunc(v)
  476|       |                     *   v < w => trunc(v) - 1 < w => trunc(v) <= w
  477|       |                     *   trunc(v) <= w => v < w
  478|       |                     */
  479|      0|                    case Py_LT:
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  |  Branch (479:21): [True: 0, False: 0]
  ------------------
  480|      0|                    case Py_LE:
  ------------------
  |  |  653|      0|#define Py_LE 1
  ------------------
  |  Branch (480:21): [True: 0, False: 0]
  ------------------
  481|      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 (481:30): [True: 0, False: 0]
  ------------------
  482|      0|                        break;
  483|       |                    /* The same as above, but with opposite directions. */
  484|      0|                    case Py_GT:
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (484:21): [True: 0, False: 0]
  ------------------
  485|      0|                    case Py_GE:
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
  |  Branch (485:21): [True: 0, False: 0]
  ------------------
  486|      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 (486:30): [True: 0, False: 0]
  ------------------
  487|      0|                        break;
  488|      0|                }
  489|      0|            }
  490|       |
  491|      0|            vv = PyLong_FromDouble(intpart);
  492|      0|            if (vv == NULL)
  ------------------
  |  Branch (492:17): [True: 0, False: 0]
  ------------------
  493|      0|                goto Error;
  494|       |
  495|      0|            r = PyObject_RichCompareBool(vv, w, op);
  496|      0|            if (r < 0)
  ------------------
  |  Branch (496:17): [True: 0, False: 0]
  ------------------
  497|      0|                goto Error;
  498|      0|            result = PyBool_FromLong(r);
  499|      0|         Error:
  500|      0|            Py_XDECREF(vv);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|      0|            return result;
  502|      0|        }
  503|      0|    } /* else if (PyLong_Check(w)) */
  504|       |
  505|      0|    else        /* w isn't float or int */
  506|      0|        goto Unimplemented;
  507|       |
  508|     15| Compare:
  509|     15|    switch (op) {
  ------------------
  |  Branch (509:13): [True: 15, False: 0]
  ------------------
  510|      0|    case Py_EQ:
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  |  Branch (510:5): [True: 0, False: 15]
  ------------------
  511|      0|        r = i == j;
  512|      0|        break;
  513|     15|    case Py_NE:
  ------------------
  |  |  655|     15|#define Py_NE 3
  ------------------
  |  Branch (513:5): [True: 15, False: 0]
  ------------------
  514|     15|        r = i != j;
  515|     15|        break;
  516|      0|    case Py_LE:
  ------------------
  |  |  653|      0|#define Py_LE 1
  ------------------
  |  Branch (516:5): [True: 0, False: 15]
  ------------------
  517|      0|        r = i <= j;
  518|      0|        break;
  519|      0|    case Py_GE:
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
  |  Branch (519:5): [True: 0, False: 15]
  ------------------
  520|      0|        r = i >= j;
  521|      0|        break;
  522|      0|    case Py_LT:
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  |  Branch (522:5): [True: 0, False: 15]
  ------------------
  523|      0|        r = i < j;
  524|      0|        break;
  525|      0|    case Py_GT:
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (525:5): [True: 0, False: 15]
  ------------------
  526|      0|        r = i > j;
  527|      0|        break;
  528|     15|    }
  529|     15|    return PyBool_FromLong(r);
  530|       |
  531|      0| Unimplemented:
  532|      0|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  533|     15|}

_PyFrameLocalsProxy_New:
 1025|      2|{
 1026|      2|    PyObject* args = PyTuple_Pack(1, frame);
 1027|      2|    if (args == NULL) {
  ------------------
  |  Branch (1027:9): [True: 0, False: 2]
  ------------------
 1028|      0|        return NULL;
 1029|      0|    }
 1030|       |
 1031|      2|    PyObject* proxy = framelocalsproxy_new(&PyFrameLocalsProxy_Type, args, NULL);
 1032|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1033|      2|    return proxy;
 1034|      2|}
_PyFrame_New_NoTrack:
 2193|    423|{
 2194|    423|    CALL_STAT_INC(frame_objects_created);
  ------------------
  |  |   76|    423|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 2195|    423|    int slots = code->co_nlocalsplus + code->co_stacksize;
 2196|    423|    PyFrameObject *f = PyObject_GC_NewVar(PyFrameObject, &PyFrame_Type, slots);
  ------------------
  |  |  183|    423|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|    423|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2197|    423|    if (f == NULL) {
  ------------------
  |  Branch (2197:9): [True: 0, False: 423]
  ------------------
 2198|      0|        return NULL;
 2199|      0|    }
 2200|    423|    f->f_back = NULL;
 2201|    423|    f->f_trace = NULL;
 2202|    423|    f->f_trace_lines = 1;
 2203|    423|    f->f_trace_opcodes = 0;
 2204|    423|    f->f_lineno = 0;
 2205|    423|    f->f_extra_locals = NULL;
 2206|    423|    f->f_locals_cache = NULL;
 2207|    423|    f->f_overwritten_fast_locals = NULL;
 2208|       |    f->f_weakreflist = NULL;
 2209|    423|    return f;
 2210|    423|}
_PyFrame_HasHiddenLocals:
 2379|     15|{
 2380|       |    /*
 2381|       |     * This function returns if there are hidden locals introduced by PEP 709,
 2382|       |     * which are the isolated fast locals for inline comprehensions
 2383|       |     */
 2384|     15|    PyCodeObject* co = _PyFrame_GetCode(frame);
 2385|       |
 2386|     16|    for (int i = 0; i < co->co_nlocalsplus; i++) {
  ------------------
  |  Branch (2386:21): [True: 1, False: 15]
  ------------------
 2387|      1|        _PyLocals_Kind kind = _PyLocals_GetKind(co->co_localspluskinds, i);
 2388|       |
 2389|      1|        if (kind & CO_FAST_HIDDEN) {
  ------------------
  |  |  196|      1|#define CO_FAST_HIDDEN  (0x10)
  ------------------
  |  Branch (2389:13): [True: 1, False: 0]
  ------------------
 2390|      1|            if (framelocalsproxy_hasval(frame, co, i)) {
  ------------------
  |  Branch (2390:17): [True: 0, False: 1]
  ------------------
 2391|      0|                return true;
 2392|      0|            }
 2393|      1|        }
 2394|      1|    }
 2395|       |
 2396|     15|    return false;
 2397|     15|}
_PyFrame_GetLocals:
 2402|     15|{
 2403|       |    // We should try to avoid creating the FrameObject if possible.
 2404|       |    // So we check if the frame is a module or class level scope
 2405|     15|    PyCodeObject *co = _PyFrame_GetCode(frame);
 2406|       |
 2407|     15|    if (!(co->co_flags & CO_OPTIMIZED) && !_PyFrame_HasHiddenLocals(frame)) {
  ------------------
  |  |  122|     15|#define CO_OPTIMIZED    0x0001
  ------------------
  |  Branch (2407:9): [True: 15, False: 0]
  |  Branch (2407:43): [True: 15, False: 0]
  ------------------
 2408|     15|        if (frame->f_locals == NULL) {
  ------------------
  |  Branch (2408:13): [True: 0, False: 15]
  ------------------
 2409|       |            // We found cases when f_locals is NULL for non-optimized code.
 2410|       |            // We fill the f_locals with an empty dict to avoid crash until
 2411|       |            // we find the root cause.
 2412|      0|            frame->f_locals = PyDict_New();
 2413|      0|            if (frame->f_locals == NULL) {
  ------------------
  |  Branch (2413:17): [True: 0, False: 0]
  ------------------
 2414|      0|                return NULL;
 2415|      0|            }
 2416|      0|        }
 2417|     15|        return Py_NewRef(frame->f_locals);
  ------------------
  |  |  647|     15|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2418|     15|    }
 2419|       |
 2420|      0|    PyFrameObject* f = _PyFrame_GetFrameObject(frame);
 2421|      0|    if (f == NULL) {
  ------------------
  |  Branch (2421:9): [True: 0, False: 0]
  ------------------
 2422|      0|        return NULL;
 2423|      0|    }
 2424|       |
 2425|      0|    return _PyFrameLocalsProxy_New(f);
 2426|      0|}
PyFrame_GetCode:
 2511|      8|{
 2512|      8|    assert(frame != NULL);
  ------------------
  |  Branch (2512:5): [True: 8, False: 0]
  ------------------
 2513|      8|    PyObject *code;
 2514|      8|    Py_BEGIN_CRITICAL_SECTION(frame);
  ------------------
  |  |   51|      8|    {
  ------------------
 2515|      8|    assert(!_PyFrame_IsIncomplete(frame->f_frame));
  ------------------
  |  Branch (2515:5): [True: 8, False: 0]
  ------------------
 2516|      8|    code = Py_NewRef(_PyFrame_GetCode(frame->f_frame));
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2517|      8|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      8|    }
  ------------------
 2518|      8|    return (PyCodeObject *)code;
 2519|      8|}
frameobject.c:framelocalsproxy_dealloc:
  448|      2|{
  449|      2|    PyFrameLocalsProxyObject *proxy = PyFrameLocalsProxyObject_CAST(self);
  ------------------
  |  |   31|      2|    (                                                               \
  |  |   32|      2|        assert(PyObject_TypeCheck((op), &PyFrameLocalsProxy_Type)), \
  |  |   33|      2|        (PyFrameLocalsProxyObject *)(op)                            \
  |  |   34|      2|    )
  ------------------
  |  Branch (449:39): [True: 2, False: 0]
  ------------------
  450|      0|    PyObject_GC_UnTrack(self);
  451|      2|    Py_CLEAR(proxy->frame);
  ------------------
  |  |  487|      2|    do { \
  |  |  488|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  491|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      2|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      2|        } \
  |  |  494|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  452|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  453|      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);
  ------------------
  |  |  611|      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:
  457|      2|{
  458|      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 (458:9): [True: 0, False: 2]
  ------------------
  459|      0|        PyErr_Format(PyExc_TypeError,
  460|      0|                     "FrameLocalsProxy expected 1 argument, got %zd",
  461|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  462|      0|        return NULL;
  463|      0|    }
  464|      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 (464:22): [True: 2, False: 0]
  ------------------
  465|       |
  466|      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 (466:9): [True: 0, False: 2]
  ------------------
  467|      0|        PyErr_Format(PyExc_TypeError, "expect frame, not %T", item);
  468|      0|        return NULL;
  469|      0|    }
  470|      2|    PyFrameObject *frame = (PyFrameObject*)item;
  471|       |
  472|      2|    if (kwds != NULL && PyDict_Size(kwds) != 0) {
  ------------------
  |  Branch (472:9): [True: 0, False: 2]
  |  Branch (472:25): [True: 0, False: 0]
  ------------------
  473|      0|        PyErr_SetString(PyExc_TypeError,
  474|      0|                        "FrameLocalsProxy takes no keyword arguments");
  475|      0|        return 0;
  476|      0|    }
  477|       |
  478|      2|    PyFrameLocalsProxyObject *self = (PyFrameLocalsProxyObject *)type->tp_alloc(type, 0);
  479|      2|    if (self == NULL) {
  ------------------
  |  Branch (479:9): [True: 0, False: 2]
  ------------------
  480|      0|        return NULL;
  481|      0|    }
  482|       |
  483|      2|    ((PyFrameLocalsProxyObject*)self)->frame = (PyFrameObject*)Py_NewRef(frame);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  484|       |
  485|      2|    return (PyObject *)self;
  486|      2|}
frameobject.c:frame_dealloc:
 2003|    423|{
 2004|       |    /* It is the responsibility of the owning generator/coroutine
 2005|       |     * to have cleared the generator pointer */
 2006|    423|    PyFrameObject *f = PyFrameObject_CAST(op);
  ------------------
  |  |   28|    423|    (assert(PyObject_TypeCheck((op), &PyFrame_Type)), (PyFrameObject *)(op))
  ------------------
  |  Branch (2006:24): [True: 423, False: 0]
  ------------------
 2007|    423|    if (_PyObject_GC_IS_TRACKED(f)) {
  ------------------
  |  |   81|    423|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    423|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 129, False: 294]
  |  |  ------------------
  ------------------
 2008|    129|        _PyObject_GC_UNTRACK(f);
  ------------------
  |  |  504|    129|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    129|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    129|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2009|    129|    }
 2010|       |
 2011|    423|    FT_CLEAR_WEAKREFS(op, f->f_weakreflist);
  ------------------
  |  |   47|    423|    do {                                            \
  |  |   48|    423|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|    423|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 423]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|    423|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 423]
  |  |  ------------------
  ------------------
  |  Branch (2011:5): [True: 423, False: 0]
  ------------------
 2012|       |
 2013|       |    /* GH-106092: If f->f_frame was on the stack and we reached the maximum
 2014|       |     * nesting depth for deallocations, the trashcan may have delayed this
 2015|       |     * deallocation until after f->f_frame is freed. Avoid dereferencing
 2016|       |     * f->f_frame unless we know it still points to valid memory. */
 2017|    423|    _PyInterpreterFrame *frame = (_PyInterpreterFrame *)f->_f_frame_data;
 2018|       |
 2019|       |    /* Kill all local variables including specials, if we own them */
 2020|    423|    if (f->f_frame == frame && frame->owner == FRAME_OWNED_BY_FRAME_OBJECT) {
  ------------------
  |  Branch (2020:9): [True: 129, False: 294]
  |  Branch (2020:32): [True: 129, False: 0]
  ------------------
 2021|    129|        PyStackRef_CLEAR(frame->f_executable);
  ------------------
  |  |  732|    129|    do { \
  |  |  733|    129|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|    129|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|    129|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|    129|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|    129|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 129]
  |  |  ------------------
  ------------------
 2022|    129|        PyStackRef_CLEAR(frame->f_funcobj);
  ------------------
  |  |  732|    129|    do { \
  |  |  733|    129|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|    129|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|    129|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|    129|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|    129|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 129]
  |  |  ------------------
  ------------------
 2023|    129|        Py_CLEAR(frame->f_locals);
  ------------------
  |  |  487|    129|    do { \
  |  |  488|    129|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    129|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    129|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    129|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    129|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    129|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 129]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|    129|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 129]
  |  |  ------------------
  ------------------
 2024|    129|        _PyStackRef *locals = _PyFrame_GetLocalsArray(frame);
 2025|    129|        _PyStackRef *sp = frame->stackpointer;
 2026|    656|        while (sp > locals) {
  ------------------
  |  Branch (2026:16): [True: 527, False: 129]
  ------------------
 2027|    527|            sp--;
 2028|    527|            PyStackRef_CLEAR(*sp);
  ------------------
  |  |  732|    527|    do { \
  |  |  733|    527|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|    527|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|    527|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|    527|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|    527|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 527]
  |  |  ------------------
  ------------------
 2029|    527|        }
 2030|    129|    }
 2031|    423|    Py_CLEAR(f->f_back);
  ------------------
  |  |  487|    423|    do { \
  |  |  488|    423|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    423|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    423|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    423|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    423|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    423|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 97, False: 326]
  |  |  ------------------
  |  |  491|     97|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     97|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     97|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     97|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     97|        } \
  |  |  494|    423|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 423]
  |  |  ------------------
  ------------------
 2032|    423|    Py_CLEAR(f->f_trace);
  ------------------
  |  |  487|    423|    do { \
  |  |  488|    423|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    423|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    423|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    423|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    423|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    423|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 423]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|    423|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 423]
  |  |  ------------------
  ------------------
 2033|    423|    Py_CLEAR(f->f_extra_locals);
  ------------------
  |  |  487|    423|    do { \
  |  |  488|    423|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    423|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    423|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    423|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    423|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    423|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 423]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|    423|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 423]
  |  |  ------------------
  ------------------
 2034|    423|    Py_CLEAR(f->f_locals_cache);
  ------------------
  |  |  487|    423|    do { \
  |  |  488|    423|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    423|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    423|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    423|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    423|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    423|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 423]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|    423|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 423]
  |  |  ------------------
  ------------------
 2035|       |    Py_CLEAR(f->f_overwritten_fast_locals);
  ------------------
  |  |  487|    423|    do { \
  |  |  488|    423|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    423|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    423|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    423|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    423|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    423|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 423]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|    423|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 423]
  |  |  ------------------
  ------------------
 2036|    423|    PyObject_GC_Del(f);
 2037|    423|}
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:
 1052|      2|{
 1053|      2|    assert(!_PyFrame_IsIncomplete(self->f_frame));
  ------------------
  |  Branch (1053:5): [True: 2, False: 0]
  ------------------
 1054|       |
 1055|      2|    PyCodeObject *co = _PyFrame_GetCode(self->f_frame);
 1056|       |
 1057|      2|    if (!(co->co_flags & CO_OPTIMIZED) && !_PyFrame_HasHiddenLocals(self->f_frame)) {
  ------------------
  |  |  122|      2|#define CO_OPTIMIZED    0x0001
  ------------------
  |  Branch (1057:9): [True: 0, False: 2]
  |  Branch (1057:43): [True: 0, False: 0]
  ------------------
 1058|      0|        if (self->f_frame->f_locals == NULL) {
  ------------------
  |  Branch (1058:13): [True: 0, False: 0]
  ------------------
 1059|       |            // We found cases when f_locals is NULL for non-optimized code.
 1060|       |            // We fill the f_locals with an empty dict to avoid crash until
 1061|       |            // we find the root cause.
 1062|      0|            self->f_frame->f_locals = PyDict_New();
 1063|      0|            if (self->f_frame->f_locals == NULL) {
  ------------------
  |  Branch (1063:17): [True: 0, False: 0]
  ------------------
 1064|      0|                return NULL;
 1065|      0|            }
 1066|      0|        }
 1067|      0|        return Py_NewRef(self->f_frame->f_locals);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1068|      0|    }
 1069|       |
 1070|      2|    return _PyFrameLocalsProxy_New(self);
 1071|      2|}

_PyFunction_FromConstructor:
  118|     59|{
  119|     59|    PyObject *module;
  120|     59|    if (PyDict_GetItemRef(constr->fc_globals, &_Py_ID(__name__), &module) < 0) {
  ------------------
  |  |  951|     59|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     59|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     59|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (120:9): [True: 0, False: 59]
  ------------------
  121|      0|        return NULL;
  122|      0|    }
  123|       |
  124|     59|    PyFunctionObject *op = PyObject_GC_New(PyFunctionObject, &PyFunction_Type);
  ------------------
  |  |  181|     59|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  125|     59|    if (op == NULL) {
  ------------------
  |  Branch (125:9): [True: 0, False: 59]
  ------------------
  126|      0|        Py_XDECREF(module);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  127|      0|        return NULL;
  128|      0|    }
  129|     59|    _Py_INCREF_DICT(constr->fc_globals);
  ------------------
  |  |  405|     59|#  define _Py_INCREF_DICT Py_INCREF
  |  |  ------------------
  |  |  |  |  310|     59|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  130|     59|    op->func_globals = constr->fc_globals;
  131|     59|    _Py_INCREF_BUILTINS(constr->fc_builtins);
  ------------------
  |  |  407|     59|#  define _Py_INCREF_BUILTINS Py_INCREF
  |  |  ------------------
  |  |  |  |  310|     59|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  132|     59|    op->func_builtins = constr->fc_builtins;
  133|     59|    op->func_name = Py_NewRef(constr->fc_name);
  ------------------
  |  |  647|     59|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  134|     59|    op->func_qualname = Py_NewRef(constr->fc_qualname);
  ------------------
  |  |  647|     59|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  135|     59|    _Py_INCREF_CODE((PyCodeObject *)constr->fc_code);
  ------------------
  |  |  306|     59|#  define _Py_INCREF_CODE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|     59|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  136|     59|    op->func_code = constr->fc_code;
  137|     59|    op->func_defaults = Py_XNewRef(constr->fc_defaults);
  ------------------
  |  |  648|     59|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  138|     59|    op->func_kwdefaults = Py_XNewRef(constr->fc_kwdefaults);
  ------------------
  |  |  648|     59|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  139|     59|    op->func_closure = Py_XNewRef(constr->fc_closure);
  ------------------
  |  |  648|     59|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  140|     59|    op->func_doc = Py_NewRef(Py_None);
  ------------------
  |  |  647|     59|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  141|     59|    op->func_dict = NULL;
  142|     59|    op->func_weakreflist = NULL;
  143|     59|    op->func_module = module;
  144|     59|    op->func_annotations = NULL;
  145|     59|    op->func_annotate = NULL;
  146|     59|    op->func_typeparams = NULL;
  147|     59|    op->vectorcall = _PyFunction_Vectorcall;
  148|     59|    op->func_version = FUNC_VERSION_UNSET;
  ------------------
  |  |   18|     59|#define FUNC_VERSION_UNSET 0
  ------------------
  149|       |    // NOTE: functions created via FrameConstructor do not use deferred
  150|       |    // reference counting because they are typically not part of cycles
  151|       |    // nor accessed by multiple threads.
  152|     59|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|     59|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  153|       |    handle_func_event(PyFunction_EVENT_CREATE, op, NULL);
  154|     59|    return op;
  155|     59|}
PyFunction_NewWithQualName:
  159|  2.36k|{
  160|  2.36k|    assert(globals != NULL);
  ------------------
  |  Branch (160:5): [True: 2.36k, False: 0]
  ------------------
  161|  2.36k|    assert(PyAnyDict_Check(globals));
  ------------------
  |  Branch (161:5): [True: 2.36k, False: 0]
  |  Branch (161:5): [True: 0, False: 0]
  ------------------
  162|  2.36k|    _Py_INCREF_DICT(globals);
  ------------------
  |  |  405|  2.36k|#  define _Py_INCREF_DICT Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  2.36k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  163|       |
  164|  2.36k|    PyCodeObject *code_obj = (PyCodeObject *)code;
  165|  2.36k|    _Py_INCREF_CODE(code_obj);
  ------------------
  |  |  306|  2.36k|#  define _Py_INCREF_CODE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  2.36k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  166|       |
  167|  2.36k|    assert(code_obj->co_name != NULL);
  ------------------
  |  Branch (167:5): [True: 2.36k, False: 0]
  ------------------
  168|  2.36k|    PyObject *name = Py_NewRef(code_obj->co_name);
  ------------------
  |  |  647|  2.36k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  169|       |
  170|  2.36k|    if (!qualname) {
  ------------------
  |  Branch (170:9): [True: 2.36k, False: 0]
  ------------------
  171|  2.36k|        qualname = code_obj->co_qualname;
  172|  2.36k|    }
  173|  2.36k|    assert(qualname != NULL);
  ------------------
  |  Branch (173:5): [True: 2.36k, False: 0]
  ------------------
  174|  2.36k|    Py_INCREF(qualname);
  ------------------
  |  |  310|  2.36k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  175|       |
  176|  2.36k|    PyObject *consts = code_obj->co_consts;
  177|  2.36k|    assert(PyTuple_Check(consts));
  ------------------
  |  Branch (177:5): [True: 2.36k, False: 0]
  ------------------
  178|  2.36k|    PyObject *doc;
  179|  2.36k|    if (code_obj->co_flags & CO_HAS_DOCSTRING) {
  ------------------
  |  |  154|  2.36k|#define CO_HAS_DOCSTRING 0x4000000
  ------------------
  |  Branch (179:9): [True: 885, False: 1.47k]
  ------------------
  180|    885|        assert(PyTuple_Size(consts) >= 1);
  ------------------
  |  Branch (180:9): [True: 885, False: 0]
  ------------------
  181|    885|        doc = PyTuple_GetItem(consts, 0);
  182|    885|        if (!PyUnicode_Check(doc)) {
  ------------------
  |  |  103|    885|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    885|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (182:13): [True: 0, False: 885]
  ------------------
  183|      0|            doc = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  184|      0|        }
  185|    885|    }
  186|  1.47k|    else {
  187|  1.47k|        doc = Py_None;
  ------------------
  |  |  616|  1.47k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  188|  1.47k|    }
  189|  2.36k|    Py_INCREF(doc);
  ------------------
  |  |  310|  2.36k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  190|       |
  191|       |    // __module__: Use globals['__name__'] if it exists, or NULL.
  192|  2.36k|    PyObject *module;
  193|  2.36k|    PyObject *builtins = NULL;
  194|  2.36k|    if (PyDict_GetItemRef(globals, &_Py_ID(__name__), &module) < 0) {
  ------------------
  |  |  951|  2.36k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.36k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.36k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (194:9): [True: 0, False: 2.36k]
  ------------------
  195|      0|        goto error;
  196|      0|    }
  197|       |
  198|  2.36k|    builtins = _PyDict_LoadBuiltinsFromGlobals(globals);
  199|  2.36k|    if (builtins == NULL) {
  ------------------
  |  Branch (199:9): [True: 0, False: 2.36k]
  ------------------
  200|      0|        goto error;
  201|      0|    }
  202|       |
  203|  2.36k|    PyFunctionObject *op = PyObject_GC_New(PyFunctionObject, &PyFunction_Type);
  ------------------
  |  |  181|  2.36k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  2.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  204|  2.36k|    if (op == NULL) {
  ------------------
  |  Branch (204:9): [True: 0, False: 2.36k]
  ------------------
  205|      0|        goto error;
  206|      0|    }
  207|       |    /* Note: No failures from this point on, since func_dealloc() does not
  208|       |       expect a partially-created object. */
  209|       |
  210|  2.36k|    op->func_globals = globals;
  211|  2.36k|    op->func_builtins = builtins;
  212|  2.36k|    op->func_name = name;
  213|  2.36k|    op->func_qualname = qualname;
  214|  2.36k|    op->func_code = (PyObject*)code_obj;
  215|  2.36k|    op->func_defaults = NULL;    // No default positional arguments
  216|  2.36k|    op->func_kwdefaults = NULL;  // No default keyword arguments
  217|  2.36k|    op->func_closure = NULL;
  218|  2.36k|    op->func_doc = doc;
  219|  2.36k|    op->func_dict = NULL;
  220|  2.36k|    op->func_weakreflist = NULL;
  221|  2.36k|    op->func_module = module;
  222|  2.36k|    op->func_annotations = NULL;
  223|  2.36k|    op->func_annotate = NULL;
  224|  2.36k|    op->func_typeparams = NULL;
  225|  2.36k|    op->vectorcall = _PyFunction_Vectorcall;
  226|  2.36k|    op->func_version = FUNC_VERSION_UNSET;
  ------------------
  |  |   18|  2.36k|#define FUNC_VERSION_UNSET 0
  ------------------
  227|  2.36k|    if (((code_obj->co_flags & CO_NESTED) == 0) ||
  ------------------
  |  |  126|  2.36k|#define CO_NESTED       0x0010
  ------------------
  |  Branch (227:9): [True: 2.12k, False: 233]
  ------------------
  228|  2.13k|        (code_obj->co_flags & CO_METHOD)) {
  ------------------
  |  |  157|    233|#define CO_METHOD  0x8000000
  ------------------
  |  Branch (228:9): [True: 6, False: 227]
  ------------------
  229|       |        // Use deferred reference counting for top-level functions, but not
  230|       |        // nested functions because they are more likely to capture variables,
  231|       |        // which makes prompt deallocation more important.
  232|       |        //
  233|       |        // Nested methods (functions defined in class scope) are also deferred,
  234|       |        // since they will likely be cleaned up by GC anyway.
  235|  2.13k|        _PyObject_SetDeferredRefcount((PyObject *)op);
  236|  2.13k|    }
  237|  2.36k|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|  2.36k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  238|  2.36k|    handle_func_event(PyFunction_EVENT_CREATE, op, NULL);
  239|  2.36k|    return (PyObject *)op;
  240|       |
  241|      0|error:
  242|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  243|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  245|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  246|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  247|      0|    Py_XDECREF(module);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) 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|      0|    Py_XDECREF(builtins);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  249|       |    return NULL;
  250|  2.36k|}
_PyFunction_SetVersion:
  321|  2.36k|{
  322|  2.36k|    assert(func->func_version == FUNC_VERSION_UNSET);
  ------------------
  |  Branch (322:5): [True: 2.36k, False: 0]
  ------------------
  323|  2.36k|    assert(version >= FUNC_VERSION_FIRST_VALID);
  ------------------
  |  Branch (323:5): [True: 2.36k, False: 0]
  ------------------
  324|       |    // This should only be called from MAKE_FUNCTION. No code is specialized
  325|       |    // based on the version, so we do not need to stop the world to set it.
  326|  2.36k|    func->func_version = version;
  327|  2.36k|#ifndef Py_GIL_DISABLED
  328|  2.36k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  329|  2.36k|    struct _func_version_cache_item *slot = get_cache_item(interp, version);
  330|  2.36k|    slot->func = func;
  331|  2.36k|    slot->code = func->func_code;
  332|  2.36k|#endif
  333|  2.36k|}
_PyFunction_ClearCodeByVersion:
  355|    446|{
  356|    446|#ifndef Py_GIL_DISABLED
  357|    446|    PyInterpreterState *interp = _PyInterpreterState_GET();
  358|    446|    struct _func_version_cache_item *slot = get_cache_item(interp, version);
  359|    446|    if (slot->code) {
  ------------------
  |  Branch (359:9): [True: 330, False: 116]
  ------------------
  360|    330|        assert(PyCode_Check(slot->code));
  ------------------
  |  Branch (360:9): [True: 330, False: 0]
  ------------------
  361|    330|        PyCodeObject *code = (PyCodeObject *)slot->code;
  362|    330|        if (code->co_version == version) {
  ------------------
  |  Branch (362:13): [True: 330, False: 0]
  ------------------
  363|    330|            slot->code = NULL;
  364|       |            slot->func = NULL;
  365|    330|        }
  366|    330|    }
  367|    446|#endif
  368|    446|}
_PyFunction_GetVersionForCurrentState:
  372|    307|{
  373|    307|    return func->func_version;
  374|    307|}
PyFunction_New:
  378|  2.36k|{
  379|       |    return PyFunction_NewWithQualName(code, globals, NULL);
  380|  2.36k|}
PyFunction_GetModule:
  404|      8|{
  405|      8|    if (!PyFunction_Check(op)) {
  ------------------
  |  |   68|      8|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_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 (405:9): [True: 0, False: 8]
  ------------------
  406|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  407|      0|        return NULL;
  408|      0|    }
  409|      8|    return PyFunction_GET_MODULE(op);
  ------------------
  |  |  108|      8|#define PyFunction_GET_MODULE(func) PyFunction_GET_MODULE(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  410|      8|}
PyStaticMethod_New:
 2007|     27|{
 2008|     27|    staticmethod *sm = (staticmethod *)
 2009|     27|        PyType_GenericAlloc(&PyStaticMethod_Type, 0);
 2010|     27|    if (sm == NULL) {
  ------------------
  |  Branch (2010:9): [True: 0, False: 27]
  ------------------
 2011|      0|        return NULL;
 2012|      0|    }
 2013|     27|    _PyObject_SetDeferredRefcount((PyObject *)sm);
 2014|     27|    if (sm_set_callable(sm, callable) < 0) {
  ------------------
  |  Branch (2014:9): [True: 0, False: 27]
  ------------------
 2015|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2016|      0|        return NULL;
 2017|      0|    }
 2018|     27|    return (PyObject *)sm;
 2019|     27|}
_PyStaticMethod_GetFunc:
 2030|    649|{
 2031|    649|    staticmethod *sm = _PyStaticMethod_CAST(self);
  ------------------
  |  | 1780|    649|    (assert(PyObject_TypeCheck((cm), &PyStaticMethod_Type)), \
  |  | 1781|    649|     _Py_CAST(staticmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|    649|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2031:24): [True: 649, False: 0]
  ------------------
 2032|      0|    return sm->sm_callable;
 2033|    649|}
funcobject.c:handle_func_event:
   56|  3.08k|{
   57|  3.08k|    assert(Py_REFCNT(func) > 0);
  ------------------
  |  Branch (57:5): [True: 3.08k, False: 0]
  ------------------
   58|  3.08k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   59|  3.08k|    assert(interp->_initialized);
  ------------------
  |  Branch (59:5): [True: 3.08k, False: 0]
  ------------------
   60|  3.08k|    if (interp->active_func_watchers) {
  ------------------
  |  Branch (60:9): [True: 0, False: 3.08k]
  ------------------
   61|      0|        notify_func_watchers(interp, event, func, new_value);
   62|      0|    }
   63|  3.08k|    switch (event) {
   64|      0|        case PyFunction_EVENT_MODIFY_CODE:
  ------------------
  |  Branch (64:9): [True: 0, False: 3.08k]
  ------------------
   65|      0|        case PyFunction_EVENT_MODIFY_DEFAULTS:
  ------------------
  |  Branch (65:9): [True: 0, False: 3.08k]
  ------------------
   66|      0|        case PyFunction_EVENT_MODIFY_KWDEFAULTS:
  ------------------
  |  Branch (66:9): [True: 0, False: 3.08k]
  ------------------
   67|     33|        case PyFunction_EVENT_MODIFY_QUALNAME:
  ------------------
  |  Branch (67:9): [True: 33, False: 3.04k]
  ------------------
   68|       |#if _Py_TIER2
   69|       |            // Note: we only invalidate JIT code if a function version changes.
   70|       |            // Not when the function is deallocated.
   71|       |            // Function deallocation occurs frequently (think: lambdas),
   72|       |            // so we want to minimize dependency invalidation there.
   73|       |            _Py_Executors_InvalidateDependency(interp, func, 1);
   74|       |#endif
   75|     33|            RARE_EVENT_INTERP_INC(interp, func_modification);
  ------------------
  |  |   98|     33|    do { \
  |  |   99|     33|        /* saturating add */ \
  |  |  100|     33|        uint8_t val = FT_ATOMIC_LOAD_UINT8_RELAXED(interp->rare_events.name); \
  |  |  ------------------
  |  |  |  |  159|     33|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  |  |  ------------------
  |  |  101|     33|        if (val < UINT8_MAX) { \
  |  |  ------------------
  |  |  |  Branch (101:13): [True: 33, False: 0]
  |  |  ------------------
  |  |  102|     33|            FT_ATOMIC_STORE_UINT8(interp->rare_events.name, val + 1); \
  |  |  ------------------
  |  |  |  |  157|     33|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  |  |  ------------------
  |  |  103|     33|        } \
  |  |  104|     33|        RARE_EVENT_STAT_INC(name); \
  |  |  ------------------
  |  |  |  |   89|     33|#define RARE_EVENT_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  |  105|     33|    } while (0); \
  |  |  ------------------
  |  |  |  Branch (105:14): [Folded, False: 33]
  |  |  ------------------
  ------------------
   76|     33|            break;
   77|  3.04k|        default:
  ------------------
  |  Branch (77:9): [True: 3.04k, False: 33]
  ------------------
   78|  3.04k|            break;
   79|  3.08k|    }
   80|  3.08k|}
funcobject.c:get_cache_item:
  313|  3.37k|{
  314|  3.37k|    return interp->func_state.func_version_cache +
  315|  3.37k|           (version % FUNC_VERSION_CACHE_SIZE);
  ------------------
  |  |  509|  3.37k|#define FUNC_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
  316|  3.37k|}
funcobject.c:func_clear_version:
  337|    668|{
  338|    668|    if (func->func_version < FUNC_VERSION_FIRST_VALID) {
  ------------------
  |  |   20|    668|#define FUNC_VERSION_FIRST_VALID 2
  ------------------
  |  Branch (338:9): [True: 100, False: 568]
  ------------------
  339|       |        // Version was never set or has already been cleared.
  340|    100|        return;
  341|    100|    }
  342|    568|#ifndef Py_GIL_DISABLED
  343|    568|    struct _func_version_cache_item *slot =
  344|    568|        get_cache_item(interp, func->func_version);
  345|    568|    if (slot->func == func) {
  ------------------
  |  Branch (345:9): [True: 538, False: 30]
  ------------------
  346|    538|        slot->func = NULL;
  347|       |        // Leave slot->code alone, there may be use for it.
  348|    538|    }
  349|    568|#endif
  350|    568|    func->func_version = FUNC_VERSION_CLEARED;
  ------------------
  |  |   19|    568|#define FUNC_VERSION_CLEARED 1
  ------------------
  351|    568|}
funcobject.c:func_dealloc:
 1232|    627|{
 1233|    627|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|    627|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|    627|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1233:28): [True: 627, False: 0]
  ------------------
 1234|      0|    _PyObject_ResurrectStart(self);
 1235|    627|    handle_func_event(PyFunction_EVENT_DESTROY, op, NULL);
 1236|    627|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (1236:9): [True: 0, False: 627]
  ------------------
 1237|      0|        return;
 1238|      0|    }
 1239|    627|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  504|    627|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    627|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    627|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1240|    627|    FT_CLEAR_WEAKREFS(self, op->func_weakreflist);
  ------------------
  |  |   47|    627|    do {                                            \
  |  |   48|    627|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|    627|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 627]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|    627|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 627]
  |  |  ------------------
  ------------------
  |  Branch (1240:5): [True: 627, False: 0]
  ------------------
 1241|    627|    (void)func_clear((PyObject*)op);
 1242|       |    // These aren't cleared by func_clear().
 1243|    627|    _Py_DECREF_CODE((PyCodeObject *)op->func_code);
  ------------------
  |  |  307|    627|#  define _Py_DECREF_CODE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|    627|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    627|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    627|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1244|    627|    Py_DECREF(op->func_name);
  ------------------
  |  |  430|    627|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    627|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    627|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1245|    627|    Py_DECREF(op->func_qualname);
  ------------------
  |  |  430|    627|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    627|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    627|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1246|    627|    PyObject_GC_Del(op);
 1247|    627|}
funcobject.c:func_traverse:
 1259|  2.88k|{
 1260|  2.88k|    PyFunctionObject *f = _PyFunction_CAST(self);
  ------------------
  |  |   86|  2.88k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  2.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1260:27): [True: 2.88k, False: 0]
  ------------------
 1261|  2.88k|    Py_VISIT(f->func_code);
  ------------------
  |  |  194|  2.88k|    do {                                                                \
  |  |  195|  2.88k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.88k, False: 0]
  |  |  ------------------
  |  |  196|  2.88k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.88k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.88k]
  |  |  ------------------
  |  |  198|  2.88k|                return vret;                                            \
  |  |  199|  2.88k|        }                                                               \
  |  |  200|  2.88k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.88k]
  |  |  ------------------
  ------------------
 1262|  2.88k|    Py_VISIT(f->func_globals);
  ------------------
  |  |  194|  2.88k|    do {                                                                \
  |  |  195|  2.88k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.88k, False: 0]
  |  |  ------------------
  |  |  196|  2.88k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.88k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.88k]
  |  |  ------------------
  |  |  198|  2.88k|                return vret;                                            \
  |  |  199|  2.88k|        }                                                               \
  |  |  200|  2.88k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.88k]
  |  |  ------------------
  ------------------
 1263|  2.88k|    Py_VISIT(f->func_builtins);
  ------------------
  |  |  194|  2.88k|    do {                                                                \
  |  |  195|  2.88k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.88k, False: 0]
  |  |  ------------------
  |  |  196|  2.88k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.88k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.88k]
  |  |  ------------------
  |  |  198|  2.88k|                return vret;                                            \
  |  |  199|  2.88k|        }                                                               \
  |  |  200|  2.88k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.88k]
  |  |  ------------------
  ------------------
 1264|  2.88k|    Py_VISIT(f->func_module);
  ------------------
  |  |  194|  2.88k|    do {                                                                \
  |  |  195|  2.88k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.88k, False: 4]
  |  |  ------------------
  |  |  196|  2.88k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.88k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.88k]
  |  |  ------------------
  |  |  198|  2.88k|                return vret;                                            \
  |  |  199|  2.88k|        }                                                               \
  |  |  200|  2.88k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.88k]
  |  |  ------------------
  ------------------
 1265|  2.88k|    Py_VISIT(f->func_defaults);
  ------------------
  |  |  194|  2.88k|    do {                                                                \
  |  |  195|  2.88k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 509, False: 2.37k]
  |  |  ------------------
  |  |  196|    509|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    509|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    509|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    509|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 509]
  |  |  ------------------
  |  |  198|    509|                return vret;                                            \
  |  |  199|    509|        }                                                               \
  |  |  200|  2.88k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.88k]
  |  |  ------------------
  ------------------
 1266|  2.88k|    Py_VISIT(f->func_kwdefaults);
  ------------------
  |  |  194|  2.88k|    do {                                                                \
  |  |  195|  2.88k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 88, False: 2.79k]
  |  |  ------------------
  |  |  196|     88|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     88|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 88]
  |  |  ------------------
  |  |  198|     88|                return vret;                                            \
  |  |  199|     88|        }                                                               \
  |  |  200|  2.88k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.88k]
  |  |  ------------------
  ------------------
 1267|  2.88k|    Py_VISIT(f->func_doc);
  ------------------
  |  |  194|  2.88k|    do {                                                                \
  |  |  195|  2.88k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.88k, False: 0]
  |  |  ------------------
  |  |  196|  2.88k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.88k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.88k]
  |  |  ------------------
  |  |  198|  2.88k|                return vret;                                            \
  |  |  199|  2.88k|        }                                                               \
  |  |  200|  2.88k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.88k]
  |  |  ------------------
  ------------------
 1268|  2.88k|    Py_VISIT(f->func_name);
  ------------------
  |  |  194|  2.88k|    do {                                                                \
  |  |  195|  2.88k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.88k, False: 0]
  |  |  ------------------
  |  |  196|  2.88k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.88k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.88k]
  |  |  ------------------
  |  |  198|  2.88k|                return vret;                                            \
  |  |  199|  2.88k|        }                                                               \
  |  |  200|  2.88k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.88k]
  |  |  ------------------
  ------------------
 1269|  2.88k|    Py_VISIT(f->func_dict);
  ------------------
  |  |  194|  2.88k|    do {                                                                \
  |  |  195|  2.88k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 182, False: 2.70k]
  |  |  ------------------
  |  |  196|    182|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    182|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    182|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    182|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 182]
  |  |  ------------------
  |  |  198|    182|                return vret;                                            \
  |  |  199|    182|        }                                                               \
  |  |  200|  2.88k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.88k]
  |  |  ------------------
  ------------------
 1270|  2.88k|    Py_VISIT(f->func_closure);
  ------------------
  |  |  194|  2.88k|    do {                                                                \
  |  |  195|  2.88k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 124, False: 2.76k]
  |  |  ------------------
  |  |  196|    124|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    124|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 124]
  |  |  ------------------
  |  |  198|    124|                return vret;                                            \
  |  |  199|    124|        }                                                               \
  |  |  200|  2.88k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.88k]
  |  |  ------------------
  ------------------
 1271|  2.88k|    Py_VISIT(f->func_annotations);
  ------------------
  |  |  194|  2.88k|    do {                                                                \
  |  |  195|  2.88k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 2.88k]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|  2.88k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.88k]
  |  |  ------------------
  ------------------
 1272|  2.88k|    Py_VISIT(f->func_annotate);
  ------------------
  |  |  194|  2.88k|    do {                                                                \
  |  |  195|  2.88k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 10, False: 2.87k]
  |  |  ------------------
  |  |  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|  2.88k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.88k]
  |  |  ------------------
  ------------------
 1273|  2.88k|    Py_VISIT(f->func_typeparams);
  ------------------
  |  |  194|  2.88k|    do {                                                                \
  |  |  195|  2.88k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4, False: 2.88k]
  |  |  ------------------
  |  |  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|  2.88k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.88k]
  |  |  ------------------
  ------------------
 1274|  2.88k|    Py_VISIT(f->func_qualname);
  ------------------
  |  |  194|  2.88k|    do {                                                                \
  |  |  195|  2.88k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.88k, False: 0]
  |  |  ------------------
  |  |  196|  2.88k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.88k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.88k]
  |  |  ------------------
  |  |  198|  2.88k|                return vret;                                            \
  |  |  199|  2.88k|        }                                                               \
  |  |  200|  2.88k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.88k]
  |  |  ------------------
  ------------------
 1275|  2.88k|    return 0;
 1276|  2.88k|}
funcobject.c:func_clear:
 1198|    668|{
 1199|    668|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|    668|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|    668|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1199:28): [True: 668, False: 0]
  ------------------
 1200|      0|    func_clear_version(_PyInterpreterState_GET(), op);
 1201|    668|    PyObject *globals = op->func_globals;
 1202|    668|    op->func_globals = NULL;
 1203|    668|    if (globals != NULL) {
  ------------------
  |  Branch (1203:9): [True: 627, False: 41]
  ------------------
 1204|    627|        _Py_DECREF_DICT(globals);
  ------------------
  |  |  406|    627|#  define _Py_DECREF_DICT Py_DECREF
  |  |  ------------------
  |  |  |  |  430|    627|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    627|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    627|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1205|    627|    }
 1206|    668|    PyObject *builtins = op->func_builtins;
 1207|    668|    op->func_builtins = NULL;
 1208|    668|    if (builtins != NULL) {
  ------------------
  |  Branch (1208:9): [True: 627, False: 41]
  ------------------
 1209|    627|        _Py_DECREF_BUILTINS(builtins);
  ------------------
  |  |  408|    627|#  define _Py_DECREF_BUILTINS Py_DECREF
  |  |  ------------------
  |  |  |  |  430|    627|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    627|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    627|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1210|    627|    }
 1211|    668|    Py_CLEAR(op->func_module);
  ------------------
  |  |  487|    668|    do { \
  |  |  488|    668|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    668|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    668|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    668|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 613, False: 55]
  |  |  ------------------
  |  |  491|    613|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    613|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    613|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    613|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    613|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    613|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    613|        } \
  |  |  494|    668|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 668]
  |  |  ------------------
  ------------------
 1212|    668|    Py_CLEAR(op->func_defaults);
  ------------------
  |  |  487|    668|    do { \
  |  |  488|    668|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    668|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    668|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    668|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 92, False: 576]
  |  |  ------------------
  |  |  491|     92|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     92|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     92|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     92|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     92|        } \
  |  |  494|    668|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 668]
  |  |  ------------------
  ------------------
 1213|    668|    Py_CLEAR(op->func_kwdefaults);
  ------------------
  |  |  487|    668|    do { \
  |  |  488|    668|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    668|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    668|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    668|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2, False: 666]
  |  |  ------------------
  |  |  491|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      2|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      2|        } \
  |  |  494|    668|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 668]
  |  |  ------------------
  ------------------
 1214|    668|    Py_CLEAR(op->func_doc);
  ------------------
  |  |  487|    668|    do { \
  |  |  488|    668|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    668|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    668|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    668|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 627, False: 41]
  |  |  ------------------
  |  |  491|    627|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    627|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    627|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    627|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    627|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    627|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    627|        } \
  |  |  494|    668|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 668]
  |  |  ------------------
  ------------------
 1215|    668|    Py_CLEAR(op->func_dict);
  ------------------
  |  |  487|    668|    do { \
  |  |  488|    668|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    668|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    668|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    668|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2, False: 666]
  |  |  ------------------
  |  |  491|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      2|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      2|        } \
  |  |  494|    668|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 668]
  |  |  ------------------
  ------------------
 1216|    668|    Py_CLEAR(op->func_closure);
  ------------------
  |  |  487|    668|    do { \
  |  |  488|    668|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    668|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    668|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    668|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 84, False: 584]
  |  |  ------------------
  |  |  491|     84|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     84|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     84|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     84|        } \
  |  |  494|    668|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 668]
  |  |  ------------------
  ------------------
 1217|    668|    Py_CLEAR(op->func_annotations);
  ------------------
  |  |  487|    668|    do { \
  |  |  488|    668|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    668|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    668|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    668|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 668]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|    668|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 668]
  |  |  ------------------
  ------------------
 1218|    668|    Py_CLEAR(op->func_annotate);
  ------------------
  |  |  487|    668|    do { \
  |  |  488|    668|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    668|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    668|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    668|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2, False: 666]
  |  |  ------------------
  |  |  491|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      2|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      2|        } \
  |  |  494|    668|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 668]
  |  |  ------------------
  ------------------
 1219|    668|    Py_CLEAR(op->func_typeparams);
  ------------------
  |  |  487|    668|    do { \
  |  |  488|    668|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    668|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    668|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    668|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2, False: 666]
  |  |  ------------------
  |  |  491|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      2|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      2|        } \
  |  |  494|    668|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 668]
  |  |  ------------------
  ------------------
 1220|       |    // Don't Py_CLEAR(op->func_code), since code is always required
 1221|       |    // to be non-NULL. Similarly, name and qualname shouldn't be NULL.
 1222|       |    // However, name and qualname could be str subclasses, so they
 1223|       |    // could have reference cycles. The solution is to replace them
 1224|       |    // with a genuinely immutable string.
 1225|    668|    Py_SETREF(op->func_name, &_Py_STR(empty));
  ------------------
  |  |  545|    668|    do { \
  |  |  546|    668|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|    668|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|    668|        *_tmp_dst_ptr = (src); \
  |  |  549|    668|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|    668|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    668|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    668|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|    668|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 668]
  |  |  ------------------
  ------------------
 1226|    668|    Py_SETREF(op->func_qualname, &_Py_STR(empty));
  ------------------
  |  |  545|    668|    do { \
  |  |  546|    668|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|    668|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    668|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|    668|        *_tmp_dst_ptr = (src); \
  |  |  549|    668|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|    668|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    668|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    668|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|    668|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 668]
  |  |  ------------------
  ------------------
 1227|    668|    return 0;
 1228|    668|}
funcobject.c:func_get_code:
  682|      4|{
  683|      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 (683:28): [True: 4, False: 0]
  ------------------
  684|      4|    if (PySys_Audit("object.__getattr__", "Os", op, "__code__") < 0) {
  ------------------
  |  Branch (684:9): [True: 0, False: 4]
  ------------------
  685|      0|        return NULL;
  686|      0|    }
  687|       |
  688|      4|    return Py_NewRef(op->func_code);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  689|      4|}
funcobject.c:function___annotate___get_impl:
  946|      5|{
  947|      5|    if (self->func_annotate == NULL) {
  ------------------
  |  Branch (947:9): [True: 5, False: 0]
  ------------------
  948|      5|        Py_RETURN_NONE;
  ------------------
  |  |  628|      5|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      5|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  949|      5|    }
  950|      0|    return Py_NewRef(self->func_annotate);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  951|      5|}
funcobject.c:function___annotate___set_impl:
  962|      3|{
  963|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  964|      3|        _PyObject_XSetRefDelayed(&self->func_annotate, Py_NewRef(value));
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  965|      3|        return 0;
  966|      3|    }
  967|      0|    else if (PyCallable_Check(value)) {
  ------------------
  |  Branch (967:14): [True: 0, False: 0]
  ------------------
  968|      0|        func_set_annotations_and_annotate(self, NULL, Py_NewRef(value));
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  969|      0|        return 0;
  970|      0|    }
  971|      0|    else {
  972|      0|        PyErr_SetString(PyExc_TypeError,
  973|      0|            "__annotate__ must be callable or None");
  974|      0|        return -1;
  975|      0|    }
  976|      3|}
funcobject.c:func_get_doc:
  798|    211|{
  799|    211|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|    211|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|    211|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (799:28): [True: 211, False: 0]
  ------------------
  800|    211|    PyObject *doc = FT_ATOMIC_LOAD_PTR_ACQUIRE(op->func_doc);
  ------------------
  |  |  152|    211|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  801|    211|    if (doc == NULL) {
  ------------------
  |  Branch (801:9): [True: 0, False: 211]
  ------------------
  802|      0|        doc = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  803|      0|    }
  804|    211|    return Py_NewRef(doc);
  ------------------
  |  |  647|    211|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    211|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    211|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  805|    211|}
funcobject.c:func_set_doc:
  809|     29|{
  810|       |    /* Legal to del f.__doc__ or to set it to any object. */
  811|     29|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|     29|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (811:28): [True: 29, False: 0]
  ------------------
  812|     29|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     29|    {
  ------------------
  813|     29|    _PyObject_XSetRefDelayed(&op->func_doc, Py_XNewRef(value));
  ------------------
  |  |  648|     29|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  814|     29|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     29|    }
  ------------------
  815|     29|    return 0;
  816|     29|}
funcobject.c:func_get_module:
  820|    177|{
  821|    177|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|    177|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|    177|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (821:28): [True: 177, False: 0]
  ------------------
  822|    177|    PyObject *module = FT_ATOMIC_LOAD_PTR_ACQUIRE(op->func_module);
  ------------------
  |  |  152|    177|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  823|    177|    if (module == NULL) {
  ------------------
  |  Branch (823:9): [True: 0, False: 177]
  ------------------
  824|      0|        module = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  825|      0|    }
  826|    177|    return Py_NewRef(module);
  ------------------
  |  |  647|    177|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    177|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    177|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  827|    177|}
funcobject.c:func_set_module:
  831|     25|{
  832|       |    /* Legal to del f.__module__ or to set it to any object. */
  833|     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 (833:28): [True: 25, False: 0]
  ------------------
  834|     25|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     25|    {
  ------------------
  835|     25|    _PyObject_XSetRefDelayed(&op->func_module, Py_XNewRef(value));
  ------------------
  |  |  648|     25|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  836|     25|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     25|    }
  ------------------
  837|     25|    return 0;
  838|     25|}
funcobject.c:func_get_name:
  747|    189|{
  748|    189|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|    189|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|    189|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (748:28): [True: 189, False: 0]
  ------------------
  749|    189|    PyObject *name = FT_ATOMIC_LOAD_PTR_ACQUIRE(op->func_name);
  ------------------
  |  |  152|    189|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  750|    189|    return Py_NewRef(name);
  ------------------
  |  |  647|    189|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    189|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    189|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  751|    189|}
funcobject.c:func_set_name:
  755|     23|{
  756|     23|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|     23|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (756:28): [True: 23, False: 0]
  ------------------
  757|       |    /* Not legal to del f.func_name or to set it to anything
  758|       |     * other than a string object. */
  759|     23|    if (value == NULL || !PyUnicode_Check(value)) {
  ------------------
  |  |  103|     23|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     23|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (759:9): [True: 0, False: 23]
  |  Branch (759:26): [True: 0, False: 23]
  ------------------
  760|      0|        PyErr_SetString(PyExc_TypeError,
  761|      0|                        "__name__ must be set to a string object");
  762|      0|        return -1;
  763|      0|    }
  764|     23|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     23|    {
  ------------------
  765|     23|    _PyObject_XSetRefDelayed(&op->func_name, Py_NewRef(value));
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  766|     23|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     23|    }
  ------------------
  767|     23|    return 0;
  768|     23|}
funcobject.c:func_get_qualname:
  772|    177|{
  773|    177|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|    177|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|    177|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (773:28): [True: 177, False: 0]
  ------------------
  774|    177|    PyObject *qualname = FT_ATOMIC_LOAD_PTR_ACQUIRE(op->func_qualname);
  ------------------
  |  |  152|    177|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  775|    177|    return Py_NewRef(qualname);
  ------------------
  |  |  647|    177|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    177|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    177|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  776|    177|}
funcobject.c:func_set_qualname:
  780|     33|{
  781|     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 (781:28): [True: 33, False: 0]
  ------------------
  782|       |    /* Not legal to del f.__qualname__ or to set it to anything
  783|       |     * other than a string object. */
  784|     33|    if (value == NULL || !PyUnicode_Check(value)) {
  ------------------
  |  |  103|     33|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     33|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (784:9): [True: 0, False: 33]
  |  Branch (784:26): [True: 0, False: 33]
  ------------------
  785|      0|        PyErr_SetString(PyExc_TypeError,
  786|      0|                        "__qualname__ must be set to a string object");
  787|      0|        return -1;
  788|      0|    }
  789|     33|    handle_func_event(PyFunction_EVENT_MODIFY_QUALNAME, (PyFunctionObject *) op, value);
  790|     33|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     33|    {
  ------------------
  791|     33|    _PyObject_XSetRefDelayed(&op->func_qualname, Py_NewRef(value));
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  792|     33|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     33|    }
  ------------------
  793|     33|    return 0;
  794|     33|}
funcobject.c:function___type_params___get_impl:
 1038|      5|{
 1039|      5|    if (self->func_typeparams == NULL) {
  ------------------
  |  Branch (1039:9): [True: 5, False: 0]
  ------------------
 1040|      5|        return PyTuple_New(0);
 1041|      5|    }
 1042|       |
 1043|      5|    assert(PyTuple_Check(self->func_typeparams));
  ------------------
  |  Branch (1043:5): [True: 0, False: 0]
  ------------------
 1044|      0|    return Py_NewRef(self->func_typeparams);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1045|      0|}
funcobject.c:function___type_params___set_impl:
 1057|      3|{
 1058|      3|    Py_XSETREF(self->func_typeparams, Py_NewRef(value));
  ------------------
  |  |  576|      3|    do { \
  |  |  577|      3|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      3|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      3|        *_tmp_dst_ptr = (src); \
  |  |  580|      3|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 1059|      3|    return 0;
 1060|      3|}
funcobject.c:func_descr_get:
 1281|    328|{
 1282|    328|    if (obj == Py_None || obj == NULL) {
  ------------------
  |  |  616|    656|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1282:9): [True: 0, False: 328]
  |  Branch (1282:27): [True: 162, False: 166]
  ------------------
 1283|    162|        return Py_NewRef(func);
  ------------------
  |  |  647|    162|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    162|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1284|    162|    }
 1285|    166|    return PyMethod_New(func, obj);
 1286|    328|}
funcobject.c:cm_dealloc:
 1520|      2|{
 1521|      2|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1515|      2|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1516|      2|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1521:23): [True: 2, False: 0]
  ------------------
 1522|      2|    _PyObject_GC_UNTRACK((PyObject *)cm);
  ------------------
  |  |  504|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1523|      2|    Py_XDECREF(cm->cm_callable);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1524|      2|    Py_XDECREF(cm->cm_dict);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1525|      2|    Py_TYPE(cm)->tp_free((PyObject *)cm);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1526|      2|}
funcobject.c:cm_traverse:
 1530|    182|{
 1531|    182|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1515|    182|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1516|    182|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|    182|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1531:23): [True: 182, False: 0]
  ------------------
 1532|    182|    Py_VISIT(cm->cm_callable);
  ------------------
  |  |  194|    182|    do {                                                                \
  |  |  195|    182|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 182, False: 0]
  |  |  ------------------
  |  |  196|    182|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    182|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    182|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    182|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 182]
  |  |  ------------------
  |  |  198|    182|                return vret;                                            \
  |  |  199|    182|        }                                                               \
  |  |  200|    182|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 182]
  |  |  ------------------
  ------------------
 1533|    182|    Py_VISIT(cm->cm_dict);
  ------------------
  |  |  194|    182|    do {                                                                \
  |  |  195|    182|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 182, False: 0]
  |  |  ------------------
  |  |  196|    182|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    182|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    182|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    182|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 182]
  |  |  ------------------
  |  |  198|    182|                return vret;                                            \
  |  |  199|    182|        }                                                               \
  |  |  200|    182|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 182]
  |  |  ------------------
  ------------------
 1534|    182|    return 0;
 1535|    182|}
funcobject.c:cm_clear:
 1539|      2|{
 1540|      2|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1515|      2|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1516|      2|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1540:23): [True: 2, False: 0]
  ------------------
 1541|      2|    Py_CLEAR(cm->cm_callable);
  ------------------
  |  |  487|      2|    do { \
  |  |  488|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  491|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      2|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      2|        } \
  |  |  494|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1542|       |    Py_CLEAR(cm->cm_dict);
  ------------------
  |  |  487|      2|    do { \
  |  |  488|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  491|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      2|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      2|        } \
  |  |  494|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1543|      2|    return 0;
 1544|      2|}
funcobject.c:cm_get___isabstractmethod__:
 1615|     58|{
 1616|     58|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1515|     58|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1516|     58|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1616:23): [True: 58, False: 0]
  ------------------
 1617|      0|    int res = _PyObject_IsAbstract(cm->cm_callable);
 1618|     58|    if (res == -1) {
  ------------------
  |  Branch (1618:9): [True: 0, False: 58]
  ------------------
 1619|      0|        return NULL;
 1620|      0|    }
 1621|     58|    else if (res) {
  ------------------
  |  Branch (1621:14): [True: 0, False: 58]
  ------------------
 1622|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1623|      0|    }
 1624|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1625|     58|}
funcobject.c:cm_descr_get:
 1549|    489|{
 1550|    489|    classmethod *cm = (classmethod *)self;
 1551|    489|    if (type == NULL)
  ------------------
  |  Branch (1551:9): [True: 0, False: 489]
  ------------------
 1552|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1553|    489|    return PyMethod_New(cm->cm_callable, type);
 1554|    489|}
funcobject.c:cm_init:
 1594|    109|{
 1595|    109|    if (!_PyArg_NoKeywords("classmethod", kwds)) {
  ------------------
  |  |   32|    109|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 109, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1596|      0|        return -1;
 1597|      0|    }
 1598|    109|    PyObject *callable;  // borrowed ref
 1599|    109|    if (!PyArg_UnpackTuple(args, "classmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1599:9): [True: 0, False: 109]
  ------------------
 1600|      0|        return -1;
 1601|      0|    }
 1602|       |
 1603|    109|    classmethod *cm = (classmethod *)self;
 1604|    109|    return cm_set_callable(cm, callable);
 1605|    109|}
funcobject.c:cm_new:
 1571|    109|{
 1572|    109|    if (!_PyArg_NoKeywords("classmethod", kwds)) {
  ------------------
  |  |   32|    109|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 109, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1573|      0|        return NULL;
 1574|      0|    }
 1575|    109|    PyObject *callable;  // borrowed ref
 1576|    109|    if (!PyArg_UnpackTuple(args, "classmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1576:9): [True: 0, False: 109]
  ------------------
 1577|      0|        return NULL;
 1578|      0|    }
 1579|       |
 1580|    109|    classmethod *cm = (classmethod *)PyType_GenericAlloc(type, 0);
 1581|    109|    if (cm == NULL) {
  ------------------
  |  Branch (1581:9): [True: 0, False: 109]
  ------------------
 1582|      0|        return NULL;
 1583|      0|    }
 1584|    109|    _PyObject_SetDeferredRefcount((PyObject *)cm);
 1585|    109|    if (cm_set_callable(cm, callable) < 0) {
  ------------------
  |  Branch (1585:9): [True: 0, False: 109]
  ------------------
 1586|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1587|      0|        return NULL;
 1588|      0|    }
 1589|    109|    return (PyObject *)cm;
 1590|    109|}
funcobject.c:cm_set_callable:
 1558|    218|{
 1559|    218|    assert(callable != NULL);
  ------------------
  |  Branch (1559:5): [True: 218, False: 0]
  ------------------
 1560|    218|    if (cm->cm_callable == callable) {
  ------------------
  |  Branch (1560:9): [True: 109, False: 109]
  ------------------
 1561|       |        // cm_init() sets the same callable than cm_new()
 1562|    109|        return 0;
 1563|    109|    }
 1564|       |
 1565|    109|    Py_XSETREF(cm->cm_callable, Py_NewRef(callable));
  ------------------
  |  |  576|    109|    do { \
  |  |  577|    109|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    109|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    109|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    109|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    109|        *_tmp_dst_ptr = (src); \
  |  |  580|    109|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    109|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    109|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    109|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    109|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 109]
  |  |  ------------------
  ------------------
 1566|    109|    return functools_wraps((PyObject *)cm, cm->cm_callable);
 1567|    218|}
funcobject.c:functools_wraps:
 1405|    161|{
 1406|    161|#define COPY_ATTR(ATTR) \
 1407|    161|    do { \
 1408|    161|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
 1409|    161|            return -1; \
 1410|    161|        } \
 1411|    161|    } while (0) \
 1412|    161|
 1413|    161|    COPY_ATTR(__module__);
  ------------------
  |  | 1407|    161|    do { \
  |  | 1408|    161|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  951|    161|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    161|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    161|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1408:13): [True: 0, False: 161]
  |  |  ------------------
  |  | 1409|      0|            return -1; \
  |  | 1410|      0|        } \
  |  | 1411|    161|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1411:14): [Folded, False: 161]
  |  |  ------------------
  ------------------
 1414|    161|    COPY_ATTR(__name__);
  ------------------
  |  | 1407|    161|    do { \
  |  | 1408|    161|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  951|    161|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    161|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    161|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1408:13): [True: 0, False: 161]
  |  |  ------------------
  |  | 1409|      0|            return -1; \
  |  | 1410|      0|        } \
  |  | 1411|    161|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1411:14): [Folded, False: 161]
  |  |  ------------------
  ------------------
 1415|    161|    COPY_ATTR(__qualname__);
  ------------------
  |  | 1407|    161|    do { \
  |  | 1408|    161|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  951|    161|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    161|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    161|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1408:13): [True: 0, False: 161]
  |  |  ------------------
  |  | 1409|      0|            return -1; \
  |  | 1410|      0|        } \
  |  | 1411|    161|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1411:14): [Folded, False: 161]
  |  |  ------------------
  ------------------
 1416|    161|    COPY_ATTR(__doc__);
  ------------------
  |  | 1407|    161|    do { \
  |  | 1408|    161|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  951|    161|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    161|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    161|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1408:13): [True: 0, False: 161]
  |  |  ------------------
  |  | 1409|      0|            return -1; \
  |  | 1410|      0|        } \
  |  | 1411|    161|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1411:14): [Folded, False: 161]
  |  |  ------------------
  ------------------
 1417|    161|    return 0;
 1418|       |
 1419|    161|#undef COPY_ATTR
 1420|    161|}
funcobject.c:functools_copy_attr:
 1392|    644|{
 1393|    644|    PyObject *value;
 1394|    644|    int res = PyObject_GetOptionalAttr(wrapped, name, &value);
 1395|    644|    if (value != NULL) {
  ------------------
  |  Branch (1395:9): [True: 644, False: 0]
  ------------------
 1396|    644|        res = PyObject_SetAttr(wrapper, name, value);
 1397|    644|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1398|    644|    }
 1399|    644|    return res;
 1400|    644|}
funcobject.c:sm_dealloc:
 1785|      3|{
 1786|      3|    staticmethod *sm = _PyStaticMethod_CAST(self);
  ------------------
  |  | 1780|      3|    (assert(PyObject_TypeCheck((cm), &PyStaticMethod_Type)), \
  |  | 1781|      3|     _Py_CAST(staticmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1786:24): [True: 3, False: 0]
  ------------------
 1787|      3|    _PyObject_GC_UNTRACK((PyObject *)sm);
  ------------------
  |  |  504|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1788|      3|    Py_XDECREF(sm->sm_callable);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1789|      3|    Py_XDECREF(sm->sm_dict);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1790|      3|    Py_TYPE(sm)->tp_free((PyObject *)sm);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1791|      3|}
funcobject.c:sm_traverse:
 1795|     78|{
 1796|     78|    staticmethod *sm = _PyStaticMethod_CAST(self);
  ------------------
  |  | 1780|     78|    (assert(PyObject_TypeCheck((cm), &PyStaticMethod_Type)), \
  |  | 1781|     78|     _Py_CAST(staticmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1796:24): [True: 78, False: 0]
  ------------------
 1797|     78|    Py_VISIT(sm->sm_callable);
  ------------------
  |  |  194|     78|    do {                                                                \
  |  |  195|     78|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 78, False: 0]
  |  |  ------------------
  |  |  196|     78|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     78|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 78]
  |  |  ------------------
  |  |  198|     78|                return vret;                                            \
  |  |  199|     78|        }                                                               \
  |  |  200|     78|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 78]
  |  |  ------------------
  ------------------
 1798|     78|    Py_VISIT(sm->sm_dict);
  ------------------
  |  |  194|     78|    do {                                                                \
  |  |  195|     78|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 78, False: 0]
  |  |  ------------------
  |  |  196|     78|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     78|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 78]
  |  |  ------------------
  |  |  198|     78|                return vret;                                            \
  |  |  199|     78|        }                                                               \
  |  |  200|     78|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 78]
  |  |  ------------------
  ------------------
 1799|     78|    return 0;
 1800|     78|}
funcobject.c:sm_descr_get:
 1813|    114|{
 1814|    114|    staticmethod *sm = (staticmethod *)self;
 1815|    114|    return Py_NewRef(sm->sm_callable);
  ------------------
  |  |  647|    114|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    114|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    114|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1816|    114|}
funcobject.c:sm_init:
 1856|     25|{
 1857|     25|    if (!_PyArg_NoKeywords("staticmethod", kwds)) {
  ------------------
  |  |   32|     25|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 25, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1858|      0|        return -1;
 1859|      0|    }
 1860|     25|    PyObject *callable;  // borrowed ref
 1861|     25|    if (!PyArg_UnpackTuple(args, "staticmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1861:9): [True: 0, False: 25]
  ------------------
 1862|      0|        return -1;
 1863|      0|    }
 1864|       |
 1865|     25|    staticmethod *sm = (staticmethod *)self;
 1866|     25|    return sm_set_callable(sm, callable);
 1867|     25|}
funcobject.c:sm_new:
 1833|     25|{
 1834|     25|    if (!_PyArg_NoKeywords("staticmethod", kwds)) {
  ------------------
  |  |   32|     25|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 25, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1835|      0|        return NULL;
 1836|      0|    }
 1837|     25|    PyObject *callable;  // borrowed ref
 1838|     25|    if (!PyArg_UnpackTuple(args, "staticmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1838:9): [True: 0, False: 25]
  ------------------
 1839|      0|        return NULL;
 1840|      0|    }
 1841|       |
 1842|     25|    staticmethod *sm = (staticmethod *)PyType_GenericAlloc(type, 0);
 1843|     25|    if (sm == NULL) {
  ------------------
  |  Branch (1843:9): [True: 0, False: 25]
  ------------------
 1844|      0|        return NULL;
 1845|      0|    }
 1846|     25|    _PyObject_SetDeferredRefcount((PyObject *)sm);
 1847|     25|    if (sm_set_callable(sm, callable) < 0) {
  ------------------
  |  Branch (1847:9): [True: 0, False: 25]
  ------------------
 1848|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1849|      0|        return NULL;
 1850|      0|    }
 1851|     25|    return (PyObject *)sm;
 1852|     25|}
funcobject.c:sm_set_callable:
 1820|     77|{
 1821|     77|    assert(callable != NULL);
  ------------------
  |  Branch (1821:5): [True: 77, False: 0]
  ------------------
 1822|     77|    if (sm->sm_callable == callable) {
  ------------------
  |  Branch (1822:9): [True: 25, False: 52]
  ------------------
 1823|       |        // sm_init() sets the same callable than sm_new()
 1824|     25|        return 0;
 1825|     25|    }
 1826|       |
 1827|     52|    Py_XSETREF(sm->sm_callable, Py_NewRef(callable));
  ------------------
  |  |  576|     52|    do { \
  |  |  577|     52|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     52|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     52|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     52|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     52|        *_tmp_dst_ptr = (src); \
  |  |  580|     52|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     52|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     52|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 52]
  |  |  ------------------
  ------------------
 1828|     52|    return functools_wraps((PyObject *)sm, sm->sm_callable);
 1829|     77|}

Py_GenericAlias:
 1093|     79|{
 1094|     79|    gaobject *alias = (gaobject*) PyType_GenericAlloc(
 1095|     79|            (PyTypeObject *)&Py_GenericAliasType, 0);
 1096|     79|    if (alias == NULL) {
  ------------------
  |  Branch (1096:9): [True: 0, False: 79]
  ------------------
 1097|      0|        return NULL;
 1098|      0|    }
 1099|     79|    if (!setup_ga(alias, origin, args)) {
  ------------------
  |  Branch (1099:9): [True: 0, False: 79]
  ------------------
 1100|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1101|      0|        return NULL;
 1102|      0|    }
 1103|     79|    return (PyObject *)alias;
 1104|     79|}
genericaliasobject.c:ga_dealloc:
   34|      5|{
   35|      5|    gaobject *alias = (gaobject *)self;
   36|       |
   37|      5|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   38|      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 (38:5): [True: 5, False: 0]
  ------------------
   39|      5|    Py_XDECREF(alias->origin);
  ------------------
  |  |  621|      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->args);
  ------------------
  |  |  621|      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_XDECREF(alias->parameters);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   42|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   43|      5|}
genericaliasobject.c:ga_traverse:
   47|    148|{
   48|    148|    gaobject *alias = (gaobject *)self;
   49|    148|    Py_VISIT(alias->origin);
  ------------------
  |  |  194|    148|    do {                                                                \
  |  |  195|    148|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 148, False: 0]
  |  |  ------------------
  |  |  196|    148|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    148|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    148|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 148]
  |  |  ------------------
  |  |  198|    148|                return vret;                                            \
  |  |  199|    148|        }                                                               \
  |  |  200|    148|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 148]
  |  |  ------------------
  ------------------
   50|    148|    Py_VISIT(alias->args);
  ------------------
  |  |  194|    148|    do {                                                                \
  |  |  195|    148|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 148, False: 0]
  |  |  ------------------
  |  |  196|    148|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    148|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    148|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 148]
  |  |  ------------------
  |  |  198|    148|                return vret;                                            \
  |  |  199|    148|        }                                                               \
  |  |  200|    148|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 148]
  |  |  ------------------
  ------------------
   51|    148|    Py_VISIT(alias->parameters);
  ------------------
  |  |  194|    148|    do {                                                                \
  |  |  195|    148|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 148]
  |  |  ------------------
  |  |  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|    148|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 148]
  |  |  ------------------
  ------------------
   52|    148|    return 0;
   53|    148|}
genericaliasobject.c:setup_ga:
  906|     79|setup_ga(gaobject *alias, PyObject *origin, PyObject *args) {
  907|     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 (907:9): [True: 79, False: 0]
  ------------------
  908|     79|        args = PyTuple_Pack(1, args);
  909|     79|        if (args == NULL) {
  ------------------
  |  Branch (909:13): [True: 0, False: 79]
  ------------------
  910|      0|            return 0;
  911|      0|        }
  912|     79|    }
  913|      0|    else {
  914|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  915|      0|    }
  916|       |
  917|     79|    alias->origin = Py_NewRef(origin);
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  918|     79|    alias->args = args;
  919|     79|    alias->parameters = NULL;
  920|     79|    alias->weakreflist = NULL;
  921|       |
  922|     79|    if (PyVectorcall_Function(origin) != NULL) {
  ------------------
  |  Branch (922:9): [True: 79, False: 0]
  ------------------
  923|     79|        alias->vectorcall = ga_vectorcall;
  924|     79|    }
  925|      0|    else {
  926|      0|        alias->vectorcall = NULL;
  927|      0|    }
  928|       |
  929|     79|    return 1;
  930|     79|}

_Py_MakeCoro:
 1132|    113|{
 1133|    113|    int coro_flags = ((PyCodeObject *)func->func_code)->co_flags &
 1134|    113|        (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR);
  ------------------
  |  |  127|    113|#define CO_GENERATOR    0x0020
  ------------------
                      (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR);
  ------------------
  |  |  131|    113|#define CO_COROUTINE            0x0080
  ------------------
                      (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR);
  ------------------
  |  |  133|    113|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
 1135|    113|    assert(coro_flags);
  ------------------
  |  Branch (1135:5): [True: 113, False: 0]
  ------------------
 1136|    113|    if (coro_flags == CO_GENERATOR) {
  ------------------
  |  |  127|    113|#define CO_GENERATOR    0x0020
  ------------------
  |  Branch (1136:9): [True: 109, False: 4]
  ------------------
 1137|    109|        return make_gen(&PyGen_Type, func);
 1138|    109|    }
 1139|      4|    if (coro_flags == CO_ASYNC_GENERATOR) {
  ------------------
  |  |  133|      4|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
  |  Branch (1139:9): [True: 2, False: 2]
  ------------------
 1140|      2|        PyAsyncGenObject *ag;
 1141|      2|        ag = (PyAsyncGenObject *)make_gen(&PyAsyncGen_Type, func);
 1142|      2|        if (ag == NULL) {
  ------------------
  |  Branch (1142:13): [True: 0, False: 2]
  ------------------
 1143|      0|            return NULL;
 1144|      0|        }
 1145|      2|        ag->ag_origin_or_finalizer = NULL;
 1146|      2|        ag->ag_closed = 0;
 1147|      2|        ag->ag_hooks_inited = 0;
 1148|      2|        ag->ag_running_async = 0;
 1149|      2|        return (PyObject*)ag;
 1150|      2|    }
 1151|       |
 1152|      4|    assert (coro_flags == CO_COROUTINE);
  ------------------
  |  Branch (1152:5): [True: 2, False: 0]
  ------------------
 1153|      2|    PyObject *coro = make_gen(&PyCoro_Type, func);
 1154|      2|    if (!coro) {
  ------------------
  |  Branch (1154:9): [True: 0, False: 2]
  ------------------
 1155|      0|        return NULL;
 1156|      0|    }
 1157|      2|    PyThreadState *tstate = _PyThreadState_GET();
 1158|      2|    int origin_depth = tstate->coroutine_origin_tracking_depth;
 1159|       |
 1160|      2|    if (origin_depth == 0) {
  ------------------
  |  Branch (1160:9): [True: 2, False: 0]
  ------------------
 1161|      2|        ((PyCoroObject *)coro)->cr_origin_or_finalizer = NULL;
 1162|      2|    } else {
 1163|      0|        _PyInterpreterFrame *frame = tstate->current_frame;
 1164|      0|        assert(frame);
  ------------------
  |  Branch (1164:9): [True: 0, False: 0]
  ------------------
 1165|      0|        assert(_PyFrame_IsIncomplete(frame));
  ------------------
  |  Branch (1165:9): [True: 0, False: 0]
  ------------------
 1166|      0|        frame = _PyFrame_GetFirstComplete(frame->previous);
 1167|      0|        PyObject *cr_origin = _PyCoro_ComputeOrigin(origin_depth, frame);
 1168|      0|        ((PyCoroObject *)coro)->cr_origin_or_finalizer = cr_origin;
 1169|      0|        if (!cr_origin) {
  ------------------
  |  Branch (1169:13): [True: 0, False: 0]
  ------------------
 1170|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1171|      0|            return NULL;
 1172|      0|        }
 1173|      0|    }
 1174|      2|    return coro;
 1175|      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);
  ------------------
  |  |  326|     12|    do { \
  |  |  327|     12|        PyThreadState *tstate_ = (tstate); \
  |  |  328|     12|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  329|     12|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  ------------------
  |  |  |  Branch (329:13): [True: 0, False: 12]
  |  |  ------------------
  |  |  330|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  331|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  332|      0|        } \
  |  |  333|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (333:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
  172|     12|    frame->previous = NULL;
  173|     12|    Py_BEGIN_CRITICAL_SECTION(gen);
  ------------------
  |  |   51|     12|    {
  ------------------
  174|     12|    _PyFrame_ClearExceptCode(frame);
  175|     12|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     12|    }
  ------------------
  176|     12|    _PyErr_ClearExcState(&gen->gi_exc_state);
  177|     12|}
genobject.c:gen_dealloc:
  209|    113|{
  210|    113|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|    113|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  211|       |
  212|    113|    _PyObject_GC_UNTRACK(gen);
  ------------------
  |  |  504|    113|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  213|       |
  214|    113|    FT_CLEAR_WEAKREFS(self, gen->gi_weakreflist);
  ------------------
  |  |   47|    113|    do {                                            \
  |  |   48|    113|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|    113|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 113]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|    113|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 113]
  |  |  ------------------
  ------------------
  |  Branch (214:5): [True: 113, False: 0]
  ------------------
  215|       |
  216|    113|    _PyObject_GC_TRACK(self);
  ------------------
  |  |  502|    113|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  217|       |
  218|    113|    if (PyObject_CallFinalizerFromDealloc(self))
  ------------------
  |  Branch (218:9): [True: 0, False: 113]
  ------------------
  219|      0|        return;                     /* resurrected.  :( */
  220|       |
  221|    113|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|    113|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  222|    113|    if (PyAsyncGen_CheckExact(gen)) {
  ------------------
  |  |   46|    113|#define PyAsyncGen_CheckExact(op) Py_IS_TYPE((op), &PyAsyncGen_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: 2, False: 111]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  223|       |        /* We have to handle this case for asynchronous generators
  224|       |           right here, because this code has to be between UNTRACK
  225|       |           and GC_Del. */
  226|      2|        Py_CLEAR(((PyAsyncGenObject*)gen)->ag_origin_or_finalizer);
  ------------------
  |  |  487|      2|    do { \
  |  |  488|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  227|      2|    }
  228|    113|    if (PyCoro_CheckExact(gen)) {
  ------------------
  |  |   31|    113|#define PyCoro_CheckExact(op) Py_IS_TYPE((op), &PyCoro_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: 2, False: 111]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  229|      2|        Py_CLEAR(((PyCoroObject *)gen)->cr_origin_or_finalizer);
  ------------------
  |  |  487|      2|    do { \
  |  |  488|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  230|      2|    }
  231|    113|    if (gen->gi_frame_state != FRAME_CLEARED) {
  ------------------
  |  Branch (231:9): [True: 0, False: 113]
  ------------------
  232|      0|        gen->gi_frame_state = FRAME_CLEARED;
  233|      0|        gen_clear_frame(gen);
  234|      0|    }
  235|    113|    assert(gen->gi_exc_state.exc_value == NULL);
  ------------------
  |  Branch (235:5): [True: 113, False: 0]
  ------------------
  236|    113|    PyStackRef_CLEAR(gen->gi_iframe.f_executable);
  ------------------
  |  |  732|    113|    do { \
  |  |  733|    113|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|    113|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|    113|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|    113|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|    113|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 113]
  |  |  ------------------
  ------------------
  237|    113|    Py_CLEAR(gen->gi_name);
  ------------------
  |  |  487|    113|    do { \
  |  |  488|    113|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    113|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    113|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    113|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    113|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    113|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 113, False: 0]
  |  |  ------------------
  |  |  491|    113|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    113|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    113|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    113|        } \
  |  |  494|    113|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 113]
  |  |  ------------------
  ------------------
  238|    113|    Py_CLEAR(gen->gi_qualname);
  ------------------
  |  |  487|    113|    do { \
  |  |  488|    113|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    113|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    113|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    113|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    113|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    113|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 113, False: 0]
  |  |  ------------------
  |  |  491|    113|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    113|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    113|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    113|        } \
  |  |  494|    113|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 113]
  |  |  ------------------
  ------------------
  239|       |
  240|    113|    PyObject_GC_Del(gen);
  241|    113|}
genobject.c:gen_send_ex:
  333|    192|{
  334|    192|    *presult = NULL;
  335|    192|    int8_t frame_state = FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state);
  ------------------
  |  |  158|    192|#define FT_ATOMIC_LOAD_INT8_RELAXED(value) value
  ------------------
  336|    192|    do {
  337|    192|        if (frame_state == FRAME_CREATED && arg && arg != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (337:13): [True: 75, False: 117]
  |  Branch (337:45): [True: 0, False: 75]
  |  Branch (337:52): [True: 0, False: 0]
  ------------------
  338|      0|            const char *msg = "can't send non-None value to a "
  339|      0|                                "just-started generator";
  340|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  341|      0|                msg = NON_INIT_CORO_MSG;
  342|      0|            }
  343|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  344|      0|                msg = "can't send non-None value to a "
  345|      0|                        "just-started async generator";
  346|      0|            }
  347|      0|            PyErr_SetString(PyExc_TypeError, msg);
  348|      0|            return PYGEN_ERROR;
  349|      0|        }
  350|    192|        if (frame_state == FRAME_EXECUTING) {
  ------------------
  |  Branch (350:13): [True: 0, False: 192]
  ------------------
  351|      0|            gen_raise_already_executing_error(gen);
  352|      0|            return PYGEN_ERROR;
  353|      0|        }
  354|    192|        if (FRAME_STATE_FINISHED(frame_state)) {
  ------------------
  |  |   58|    192|#define FRAME_STATE_FINISHED(S) ((S) == FRAME_CLEARED)
  |  |  ------------------
  |  |  |  Branch (58:33): [True: 0, False: 192]
  |  |  ------------------
  ------------------
  355|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  356|       |                /* `gen` is an exhausted coroutine: raise an error,
  357|       |                except when called from gen_close(), which should
  358|       |                always be a silent method. */
  359|      0|                PyErr_SetString(
  360|      0|                    PyExc_RuntimeError,
  361|      0|                    "cannot reuse already awaited coroutine");
  362|      0|            }
  363|      0|            else if (arg) {
  ------------------
  |  Branch (363:22): [True: 0, False: 0]
  ------------------
  364|       |                /* `gen` is an exhausted generator:
  365|       |                only return value if called from send(). */
  366|      0|                *presult = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  367|      0|                return PYGEN_RETURN;
  368|      0|            }
  369|      0|            return PYGEN_ERROR;
  370|      0|        }
  371|       |
  372|    192|        assert((frame_state == FRAME_CREATED) ||
  ------------------
  |  Branch (372:9): [True: 117, False: 0]
  |  Branch (372:9): [True: 117, False: 0]
  |  Branch (372:9): [True: 75, False: 117]
  ------------------
  373|    192|               FRAME_STATE_SUSPENDED(frame_state));
  374|    192|    } while (!_Py_GEN_TRY_SET_FRAME_STATE(gen, frame_state, FRAME_EXECUTING));
  ------------------
  |  |   57|    192|    ((gen)->gi_frame_state = (state), true)
  ------------------
  |  Branch (374:14): [True: 0, False: 192]
  ------------------
  375|       |
  376|    192|    return gen_send_ex2(gen, arg, presult, 0);
  377|    192|}
genobject.c:gen_send_ex2:
  263|    192|{
  264|    192|    assert(FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state) == FRAME_EXECUTING);
  ------------------
  |  Branch (264:5): [True: 192, False: 0]
  ------------------
  265|       |
  266|    192|    PyThreadState *tstate = _PyThreadState_GET();
  267|    192|    _PyInterpreterFrame *frame = &gen->gi_iframe;
  268|       |
  269|       |    /* Push arg onto the frame's value stack */
  270|    192|    PyObject *arg_obj = arg ? arg : Py_None;
  ------------------
  |  |  616|    192|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (270:25): [True: 0, False: 192]
  ------------------
  271|    192|    _PyFrame_StackPush(frame, PyStackRef_FromPyObjectNew(arg_obj));
  ------------------
  |  |  611|    192|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    192|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    192|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  272|       |
  273|    192|    _PyErr_StackItem *prev_exc_info = tstate->exc_info;
  274|    192|    gen->gi_exc_state.previous_item = prev_exc_info;
  275|    192|    tstate->exc_info = &gen->gi_exc_state;
  276|       |
  277|    192|    if (exc) {
  ------------------
  |  Branch (277:9): [True: 0, False: 192]
  ------------------
  278|      0|        assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (278:9): [True: 0, False: 0]
  ------------------
  279|      0|        _PyErr_ChainStackItem();
  280|      0|    }
  281|       |
  282|    192|    EVAL_CALL_STAT_INC(EVAL_CALL_GENERATOR);
  ------------------
  |  |   79|    192|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  283|    192|    PyObject *result = _PyEval_EvalFrame(tstate, frame, exc);
  284|    192|    assert(tstate->exc_info == prev_exc_info);
  ------------------
  |  Branch (284:5): [True: 192, False: 0]
  ------------------
  285|    192|#ifndef Py_GIL_DISABLED
  286|    192|    assert(gen->gi_exc_state.previous_item == NULL);
  ------------------
  |  Branch (286:5): [True: 192, False: 0]
  ------------------
  287|    192|    assert(frame->previous == NULL);
  ------------------
  |  Branch (287:5): [True: 192, False: 0]
  ------------------
  288|    192|    assert(gen->gi_frame_state != FRAME_EXECUTING);
  ------------------
  |  Branch (288:5): [True: 192, False: 0]
  ------------------
  289|    192|#endif
  290|       |
  291|       |    // The generator_return_kind field is used to distinguish between a
  292|       |    // yield and a return from within _PyEval_EvalFrame(). Earlier versions
  293|       |    // of CPython (prior to 3.15) used gi_frame_state for this purpose, but
  294|       |    // that requires the GIL for thread-safety.
  295|    192|    int return_kind = ((_PyThreadStateImpl *)tstate)->generator_return_kind;
  296|       |
  297|    192|    if (return_kind == GENERATOR_YIELD) {
  ------------------
  |  Branch (297:9): [True: 124, False: 68]
  ------------------
  298|    124|        assert(result != NULL && !_PyErr_Occurred(tstate));
  ------------------
  |  Branch (298:9): [True: 124, False: 0]
  |  Branch (298:9): [True: 124, False: 0]
  ------------------
  299|    124|#ifndef Py_GIL_DISABLED
  300|    124|        assert(FRAME_STATE_SUSPENDED(gen->gi_frame_state));
  ------------------
  |  Branch (300:9): [True: 124, False: 0]
  |  Branch (300:9): [True: 124, False: 0]
  ------------------
  301|    124|#endif
  302|    124|        *presult = result;
  303|    124|        return PYGEN_NEXT;
  304|    124|    }
  305|       |
  306|    192|    assert(return_kind == GENERATOR_RETURN);
  ------------------
  |  Branch (306:5): [True: 68, False: 0]
  ------------------
  307|     68|    assert(gen->gi_exc_state.exc_value == NULL);
  ------------------
  |  Branch (307:5): [True: 68, False: 0]
  ------------------
  308|     68|    assert(FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state) == FRAME_CLEARED);
  ------------------
  |  Branch (308:5): [True: 68, False: 0]
  ------------------
  309|       |
  310|       |    /* If the generator just returned (as opposed to yielding), signal
  311|       |     * that the generator is exhausted. */
  312|     68|    if (result) {
  ------------------
  |  Branch (312:9): [True: 68, False: 0]
  ------------------
  313|     68|        assert(result == Py_None || !PyAsyncGen_CheckExact(gen));
  ------------------
  |  Branch (313:9): [True: 68, False: 0]
  |  Branch (313:9): [True: 0, False: 0]
  ------------------
  314|     68|        if (result == Py_None && !PyAsyncGen_CheckExact(gen) && !arg) {
  ------------------
  |  |  616|    136|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      if (result == Py_None && !PyAsyncGen_CheckExact(gen) && !arg) {
  ------------------
  |  |   46|     68|#define PyAsyncGen_CheckExact(op) Py_IS_TYPE((op), &PyAsyncGen_Type)
  |  |  ------------------
  |  |  |  |  215|    136|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (314:13): [True: 68, False: 0]
  |  Branch (314:34): [True: 68, False: 0]
  |  Branch (314:65): [True: 68, False: 0]
  ------------------
  315|       |            /* Return NULL if called by gen_iternext() */
  316|     68|            Py_CLEAR(result);
  ------------------
  |  |  487|     68|    do { \
  |  |  488|     68|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     68|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     68|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     68|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     68|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     68|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 68, False: 0]
  |  |  ------------------
  |  |  491|     68|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     68|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     68|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     68|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     68|        } \
  |  |  494|     68|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 68]
  |  |  ------------------
  ------------------
  317|     68|        }
  318|     68|    }
  319|      0|    else {
  320|      0|        assert(!PyErr_ExceptionMatches(PyExc_StopIteration));
  ------------------
  |  Branch (320:9): [True: 0, False: 0]
  ------------------
  321|      0|        assert(!PyAsyncGen_CheckExact(gen) ||
  ------------------
  |  Branch (321:9): [True: 0, False: 0]
  |  Branch (321:9): [True: 0, False: 0]
  ------------------
  322|      0|            !PyErr_ExceptionMatches(PyExc_StopAsyncIteration));
  323|      0|    }
  324|       |
  325|     68|    *presult = result;
  326|     68|    return result ? PYGEN_RETURN : PYGEN_ERROR;
  ------------------
  |  Branch (326:12): [True: 0, False: 68]
  ------------------
  327|     68|}
genobject.c:gen_iternext:
  764|    192|{
  765|    192|    assert(PyGen_CheckExact(self) || PyCoro_CheckExact(self));
  ------------------
  |  Branch (765:5): [True: 192, False: 0]
  |  Branch (765:5): [True: 0, False: 0]
  ------------------
  766|    192|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|    192|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    192|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  767|       |
  768|    192|    PyObject *result;
  769|    192|    if (gen_send_ex(gen, NULL, &result) == PYGEN_RETURN) {
  ------------------
  |  Branch (769:9): [True: 0, False: 192]
  ------------------
  770|      0|        if (result != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (770:13): [True: 0, False: 0]
  ------------------
  771|      0|            _PyGen_SetStopIterationValue(result);
  772|      0|        }
  773|       |        Py_CLEAR(result);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  774|      0|    }
  775|    192|    return result;
  776|    192|}
genobject.c:gen_close:
  467|     12|{
  468|     12|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|     12|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  469|       |
  470|     12|    int8_t frame_state = FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state);
  ------------------
  |  |  158|     12|#define FT_ATOMIC_LOAD_INT8_RELAXED(value) value
  ------------------
  471|     12|    do {
  472|     12|        if (frame_state == FRAME_CREATED) {
  ------------------
  |  Branch (472:13): [True: 6, False: 6]
  ------------------
  473|       |            // && (1) to avoid -Wunreachable-code warning on Clang
  474|      6|            if (!_Py_GEN_TRY_SET_FRAME_STATE(gen, frame_state, FRAME_CLEARED) && (1)) {
  ------------------
  |  |   57|     12|    ((gen)->gi_frame_state = (state), true)
  ------------------
  |  Branch (474:17): [True: 0, False: 6]
  |  Branch (474:82): [True: 0, Folded]
  ------------------
  475|      0|                continue;
  476|      0|            }
  477|      6|            gen_clear_frame(gen);
  478|      6|            Py_RETURN_NONE;
  ------------------
  |  |  628|      6|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  479|      6|        }
  480|       |
  481|      6|        if (FRAME_STATE_FINISHED(frame_state)) {
  ------------------
  |  |   58|      6|#define FRAME_STATE_FINISHED(S) ((S) == FRAME_CLEARED)
  |  |  ------------------
  |  |  |  Branch (58:33): [True: 0, False: 6]
  |  |  ------------------
  ------------------
  482|      0|            Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  483|      0|        }
  484|       |
  485|      6|        if (frame_state == FRAME_EXECUTING) {
  ------------------
  |  Branch (485:13): [True: 0, False: 6]
  ------------------
  486|      0|            gen_raise_already_executing_error(gen);
  487|      0|            return NULL;
  488|      0|        }
  489|       |
  490|      6|        assert(FRAME_STATE_SUSPENDED(frame_state));
  ------------------
  |  Branch (490:9): [True: 6, False: 0]
  |  Branch (490:9): [True: 6, False: 0]
  ------------------
  491|      6|    } while (!_Py_GEN_TRY_SET_FRAME_STATE(gen, frame_state, FRAME_EXECUTING));
  ------------------
  |  |   57|      6|    ((gen)->gi_frame_state = (state), true)
  ------------------
  |  Branch (491:14): [True: 0, False: 6]
  ------------------
  492|       |
  493|      6|    int err = 0;
  494|      6|    _PyInterpreterFrame *frame = &gen->gi_iframe;
  495|      6|    if (frame_state == FRAME_SUSPENDED_YIELD_FROM) {
  ------------------
  |  Branch (495:9): [True: 0, False: 6]
  ------------------
  496|      0|        PyObject *yf = PyStackRef_AsPyObjectNew(_PyFrame_StackPeek(frame, 2));
  ------------------
  |  |  757|      0|#define PyStackRef_AsPyObjectNew(stackref) Py_NewRef(PyStackRef_AsPyObjectBorrow(stackref))
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  497|      0|        err = gen_close_iter(yf);
  498|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  499|      0|    }
  500|       |
  501|      6|    if (is_resume(frame->instr_ptr)) {
  ------------------
  |  Branch (501:9): [True: 6, False: 0]
  ------------------
  502|      6|        bool no_unwind_tools = _PyEval_NoToolsForUnwind(_PyThreadState_GET(), frame);
  503|       |        /* We can safely ignore the outermost try block
  504|       |         * as it is automatically generated to handle
  505|       |         * StopIteration. */
  506|      6|        int oparg = frame->instr_ptr->op.arg;
  507|      6|        if (oparg & RESUME_OPARG_DEPTH1_MASK && no_unwind_tools) {
  ------------------
  |  |   95|     12|#define RESUME_OPARG_DEPTH1_MASK 0x8
  ------------------
  |  Branch (507:13): [True: 6, False: 0]
  |  Branch (507:49): [True: 6, False: 0]
  ------------------
  508|       |            // RESUME after YIELD_VALUE and exception depth is 1
  509|      6|            assert((oparg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_FUNC_START);
  ------------------
  |  Branch (509:13): [True: 6, False: 0]
  ------------------
  510|      6|            FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_CLEARED);
  ------------------
  |  |  169|      6|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  ------------------
  511|      6|            gen_clear_frame(gen);
  512|      6|            Py_RETURN_NONE;
  ------------------
  |  |  628|      6|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  513|      6|        }
  514|      6|    }
  515|      0|    if (err == 0) {
  ------------------
  |  Branch (515:9): [True: 0, False: 0]
  ------------------
  516|      0|        PyErr_SetNone(PyExc_GeneratorExit);
  517|      0|    }
  518|       |
  519|      0|    PyObject *retval;
  520|      0|    if (gen_send_ex2(gen, Py_None, &retval, 1) == PYGEN_RETURN) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (520:9): [True: 0, False: 0]
  ------------------
  521|       |        // the generator returned a value while closing, return the value here
  522|      0|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (522:9): [True: 0, False: 0]
  ------------------
  523|      0|        return retval;
  524|      0|    }
  525|      0|    else if (retval) {
  ------------------
  |  Branch (525:14): [True: 0, False: 0]
  ------------------
  526|      0|        const char *msg = "generator ignored GeneratorExit";
  527|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  528|      0|            msg = "coroutine ignored GeneratorExit";
  529|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  530|      0|            msg = ASYNC_GEN_IGNORED_EXIT_MSG;
  531|      0|        }
  532|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  533|      0|        PyErr_SetString(PyExc_RuntimeError, msg);
  534|      0|        return NULL;
  535|      0|    }
  536|      0|    assert(PyErr_Occurred());
  ------------------
  |  Branch (536:5): [True: 0, False: 0]
  ------------------
  537|       |
  538|      0|    if (PyErr_ExceptionMatches(PyExc_GeneratorExit)) {
  ------------------
  |  Branch (538:9): [True: 0, False: 0]
  ------------------
  539|      0|        PyErr_Clear();          /* ignore this error */
  540|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  541|      0|    }
  542|      0|    return NULL;
  543|      0|}
genobject.c:is_resume:
  455|      6|{
  456|      6|    uint8_t code = FT_ATOMIC_LOAD_UINT8_RELAXED(instr->op.code);
  ------------------
  |  |  159|      6|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  ------------------
  457|      6|    return (
  458|      6|        code == RESUME ||
  ------------------
  |  |  130|     12|#define RESUME                                 128
  ------------------
  |  Branch (458:9): [True: 4, False: 2]
  ------------------
  459|      2|        code == RESUME_CHECK ||
  ------------------
  |  |  202|      8|#define RESUME_CHECK                           200
  ------------------
  |  Branch (459:9): [True: 2, False: 0]
  ------------------
  460|      0|        code == RESUME_CHECK_JIT ||
  ------------------
  |  |  203|      6|#define RESUME_CHECK_JIT                       201
  ------------------
  |  Branch (460:9): [True: 0, False: 0]
  ------------------
  461|      0|        code == INSTRUMENTED_RESUME
  ------------------
  |  |  232|      0|#define INSTRUMENTED_RESUME                    244
  ------------------
  |  Branch (461:9): [True: 0, False: 0]
  ------------------
  462|      6|    );
  463|      6|}
genobject.c:gen_finalize:
  109|    113|{
  110|    113|    PyGenObject *gen = (PyGenObject *)self;
  111|       |
  112|    113|    if (FRAME_STATE_FINISHED(gen->gi_frame_state)) {
  ------------------
  |  |   58|    113|#define FRAME_STATE_FINISHED(S) ((S) == FRAME_CLEARED)
  |  |  ------------------
  |  |  |  Branch (58:33): [True: 103, False: 10]
  |  |  ------------------
  ------------------
  113|       |        /* Generator isn't paused, so no need to close */
  114|    103|        return;
  115|    103|    }
  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:
 1108|    113|{
 1109|    113|    PyCodeObject *code = (PyCodeObject *)func->func_code;
 1110|    113|    int slots = _PyFrame_NumSlotsForCodeObject(code);
 1111|    113|    PyGenObject *gen = PyObject_GC_NewVar(PyGenObject, type, slots);
  ------------------
  |  |  183|    113|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1112|    113|    if (gen == NULL) {
  ------------------
  |  Branch (1112:9): [True: 0, False: 113]
  ------------------
 1113|      0|        return NULL;
 1114|      0|    }
 1115|    113|    gen->gi_frame_state = FRAME_CLEARED;
 1116|    113|    gen->gi_weakreflist = NULL;
 1117|    113|    gen->gi_exc_state.exc_value = NULL;
 1118|    113|    gen->gi_exc_state.previous_item = NULL;
 1119|    113|    gen->gi_iframe.f_executable = PyStackRef_None;
  ------------------
  |  |  485|    113|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|    113|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1120|    113|    PyObject *name = FT_ATOMIC_LOAD_PTR_ACQUIRE(func->func_name);
  ------------------
  |  |  152|    113|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1121|    113|    assert(name != NULL);
  ------------------
  |  Branch (1121:5): [True: 113, False: 0]
  ------------------
 1122|    113|    gen->gi_name = Py_NewRef(name);
  ------------------
  |  |  647|    113|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1123|    113|    PyObject *qualname = FT_ATOMIC_LOAD_PTR_ACQUIRE(func->func_qualname);
  ------------------
  |  |  152|    113|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1124|    113|    assert(qualname != NULL);
  ------------------
  |  Branch (1124:5): [True: 113, False: 0]
  ------------------
 1125|    113|    gen->gi_qualname = Py_NewRef(qualname);
  ------------------
  |  |  647|    113|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1126|    113|    _PyObject_GC_TRACK(gen);
  ------------------
  |  |  502|    113|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1127|    113|    return (PyObject *)gen;
 1128|    113|}

_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:
   24|      9|{
   25|      9|    seqiterobject *it;
   26|       |
   27|      9|    if (!PySequence_Check(seq)) {
  ------------------
  |  Branch (27:9): [True: 0, False: 9]
  ------------------
   28|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   29|      0|        return NULL;
   30|      0|    }
   31|      9|    it = PyObject_GC_New(seqiterobject, &PySeqIter_Type);
  ------------------
  |  |  181|      9|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|      9|    if (it == NULL)
  ------------------
  |  Branch (32:9): [True: 0, False: 9]
  ------------------
   33|      0|        return NULL;
   34|      9|    it->it_index = 0;
   35|      9|    it->it_seq = Py_NewRef(seq);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|      9|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  502|      9|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   37|      9|    return (PyObject *)it;
   38|      9|}
iterobject.c:iter_dealloc:
   42|      9|{
   43|      9|    seqiterobject *it = (seqiterobject*)op;
   44|      9|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  504|      9|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   45|      9|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   46|      9|    PyObject_GC_Del(it);
   47|      9|}
iterobject.c:iter_iternext:
   59|     18|{
   60|     18|    seqiterobject *it;
   61|     18|    PyObject *seq;
   62|     18|    PyObject *result;
   63|       |
   64|     18|    assert(PySeqIter_Check(iterator));
  ------------------
  |  Branch (64:5): [True: 18, False: 0]
  ------------------
   65|     18|    it = (seqiterobject *)iterator;
   66|     18|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  151|     18|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
   67|     18|    if (index < 0)
  ------------------
  |  Branch (67:9): [True: 0, False: 18]
  ------------------
   68|      0|        return NULL;
   69|     18|    seq = it->it_seq;
   70|     18|#ifndef Py_GIL_DISABLED
   71|     18|    if (seq == NULL)
  ------------------
  |  Branch (71:9): [True: 0, False: 18]
  ------------------
   72|      0|        return NULL;
   73|     18|#endif
   74|     18|    if (index == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|     18|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (74:9): [True: 0, False: 18]
  ------------------
   75|      0|        PyErr_SetString(PyExc_OverflowError,
   76|      0|                        "iter index too large");
   77|      0|        return NULL;
   78|      0|    }
   79|       |
   80|     18|    result = PySequence_GetItem(seq, index);
   81|     18|    if (result != NULL) {
  ------------------
  |  Branch (81:9): [True: 9, False: 9]
  ------------------
   82|       |        /* PySequence_GetItem() can exhaust the iterator re-entrantly.
   83|       |         * Preserve the exhaustion sentinel if it is observed.  Concurrent
   84|       |         * exhaustion can still race with the store, but remains memory-safe
   85|       |         * because the sequence stays alive. */
   86|      9|        if (FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index) >= 0) {
  ------------------
  |  |  151|      9|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (86:13): [True: 9, False: 0]
  ------------------
   87|      9|            FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, index + 1);
  ------------------
  |  |  197|      9|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
   88|      9|        }
   89|      9|        return result;
   90|      9|    }
   91|      9|    if (PyErr_ExceptionMatches(PyExc_IndexError) ||
  ------------------
  |  Branch (91:9): [True: 9, False: 0]
  ------------------
   92|      0|        PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (92:9): [True: 0, False: 0]
  ------------------
   93|      9|    {
   94|       |        /* Mark the iterator exhausted before anything that can run
   95|       |         * arbitrary code. */
   96|      9|        FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, -1);
  ------------------
  |  |  197|      9|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
   97|      9|#ifndef Py_GIL_DISABLED
   98|      9|        Py_CLEAR(it->it_seq);
  ------------------
  |  |  487|      9|    do { \
  |  |  488|      9|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      9|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      9|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      9|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      9|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      9|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 9, False: 0]
  |  |  ------------------
  |  |  491|      9|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      9|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      9|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      9|        } \
  |  |  494|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
   99|      9|#endif
  100|      9|        PyErr_Clear();
  101|      9|    }
  102|       |    return NULL;
  103|     18|}
iterobject.c:iter_len:
  107|      1|{
  108|      1|    seqiterobject *it = (seqiterobject*)op;
  109|      1|    Py_ssize_t seqsize, len;
  110|       |
  111|      1|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  151|      1|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  112|      1|    if (index >= 0 && it->it_seq != NULL) {
  ------------------
  |  Branch (112:9): [True: 1, False: 0]
  |  Branch (112:23): [True: 1, False: 0]
  ------------------
  113|      1|        if (_PyObject_HasLen(it->it_seq)) {
  ------------------
  |  Branch (113:13): [True: 1, False: 0]
  ------------------
  114|      1|            seqsize = PySequence_Size(it->it_seq);
  115|      1|            if (seqsize == -1)
  ------------------
  |  Branch (115:17): [True: 0, False: 1]
  ------------------
  116|      0|                return NULL;
  117|      1|        }
  118|      0|        else {
  119|      0|            Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  120|      0|        }
  121|      1|        len = seqsize - index;
  122|      1|        if (len >= 0)
  ------------------
  |  Branch (122:13): [True: 1, False: 0]
  ------------------
  123|      1|            return PyLong_FromSsize_t(len);
  124|      1|    }
  125|      0|    return PyLong_FromLong(0);
  126|      1|}

_PyLazyImport_New:
   40|     16|{
   41|     16|    if (!name || !(PyUnicode_Check(name) || PyLazyImport_CheckExact(name))) {
  ------------------
  |  |  103|     16|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     32|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 14, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!name || !(PyUnicode_Check(name) || PyLazyImport_CheckExact(name))) {
  ------------------
  |  |   15|      2|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|      2|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (41:9): [True: 0, False: 16]
  ------------------
   42|      0|        PyErr_SetString(PyExc_TypeError, "expected str or lazy_import for name");
   43|      0|        return NULL;
   44|      0|    }
   45|     16|    if (fromlist == Py_None || fromlist == NULL) {
  ------------------
  |  |  616|     32|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (45:9): [True: 12, False: 4]
  |  Branch (45:32): [True: 0, False: 4]
  ------------------
   46|     12|        fromlist = NULL;
   47|     12|    }
   48|      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 (48:14): [True: 2, False: 2]
  |  Branch (48:44): [True: 0, False: 2]
  ------------------
   49|      0|        PyErr_SetString(PyExc_TypeError,
   50|      0|            "lazy_import: fromlist must be None, a string, or a tuple");
   51|      0|        return NULL;
   52|      0|    }
   53|     16|#ifndef NDEBUG
   54|     16|    if (PyLazyImport_CheckExact(name)) {
  ------------------
  |  |   15|     16|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_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: 2, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   55|       |        // projection
   56|      2|        assert(builtins == NULL);
  ------------------
  |  Branch (56:9): [True: 2, False: 0]
  ------------------
   57|      2|        assert(fromlist != NULL);
  ------------------
  |  Branch (57:9): [True: 2, False: 0]
  ------------------
   58|      2|        assert(PyUnicode_Check(fromlist));
  ------------------
  |  Branch (58:9): [True: 2, False: 0]
  ------------------
   59|      2|    }
   60|     14|    else {
   61|       |        // root
   62|     14|        assert(builtins != NULL);
  ------------------
  |  Branch (62:9): [True: 14, False: 0]
  ------------------
   63|     14|    }
   64|     16|#endif
   65|     16|    PyLazyImportObject *m = PyObject_GC_New(
  ------------------
  |  |  181|     16|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   66|     16|        PyLazyImportObject, &PyLazyImport_Type);
   67|     16|    if (m == NULL) {
  ------------------
  |  Branch (67:9): [True: 0, False: 16]
  ------------------
   68|      0|        return NULL;
   69|      0|    }
   70|     16|    m->lz_builtins = Py_XNewRef(builtins);
  ------------------
  |  |  648|     16|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   71|     16|    m->lz_from = Py_NewRef(name);
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   72|     16|    m->lz_attr = Py_XNewRef(fromlist);
  ------------------
  |  |  648|     16|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|       |
   74|     16|    m->lz_code = NULL;
   75|     16|    m->lz_instr_offset = -1;
   76|     16|    m->lz_active = 0;
   77|       |
   78|     16|    if (frame != NULL) {
  ------------------
  |  Branch (78:9): [True: 16, False: 0]
  ------------------
   79|     16|        m->lz_code = (PyCodeObject *)Py_NewRef(_PyFrame_GetCode(frame));
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   80|     16|        m->lz_instr_offset = _PyInterpreterFrame_LASTI(frame);
  ------------------
  |  |   19|     16|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  ------------------
   81|     16|    }
   82|       |
   83|     16|    _PyObject_GC_TRACK(m);
  ------------------
  |  |  502|     16|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|     16|    return (PyObject *)m;
   85|     16|}
_PyEval_LazyImportFrom:
  135|      2|{
  136|      2|    assert(PyLazyImport_CheckExact(v));
  ------------------
  |  Branch (136:5): [True: 2, False: 0]
  ------------------
  137|      2|    assert(name);
  ------------------
  |  Branch (137:5): [True: 2, False: 0]
  ------------------
  138|      2|    assert(PyUnicode_Check(name));
  ------------------
  |  Branch (138:5): [True: 2, False: 0]
  ------------------
  139|      2|    PyLazyImportObject *lz = PyLazyImportObject_CAST(v);
  ------------------
  |  |   33|      2|#define PyLazyImportObject_CAST(op) ((PyLazyImportObject *)(op))
  ------------------
  140|       |    // Only `from a import b` can take b off an already imported a;
  141|       |    // `import a.b as c` has to import a.b first.
  142|      2|    if (lz->lz_attr != NULL && PyTuple_Check(lz->lz_attr) &&
  ------------------
  |  |   27|      2|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (142:9): [True: 2, False: 0]
  ------------------
  143|      2|        PyTuple_GET_SIZE(lz->lz_attr) > 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 (143:9): [True: 2, False: 0]
  ------------------
  144|      2|        PyObject *attr = lazy_import_get_loaded_attr(tstate, lz->lz_from, name);
  145|      2|        if (attr != NULL || PyErr_Occurred()) {
  ------------------
  |  Branch (145:13): [True: 0, False: 2]
  |  Branch (145:29): [True: 0, False: 2]
  ------------------
  146|      0|            return attr;
  147|      0|        }
  148|      2|    }
  149|      2|    return _PyLazyImport_New(frame, NULL, v, name);
  150|      2|}
lazyimportobject.c:lazy_import_get_loaded_attr:
   93|      2|{
   94|      2|    PyObject *mod = NULL, *spec = NULL, *current = NULL, *attr = NULL;
   95|      2|    PyObject *modules = Py_XNewRef(_PyImport_GetModules(tstate->interp));
  ------------------
  |  |  648|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|      2|    if (modules == NULL) {
  ------------------
  |  Branch (96:9): [True: 0, False: 2]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|      2|    int rc = PyMapping_GetOptionalItem(modules, name, &mod);
  100|      2|    if (rc <= 0 || !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 (100:9): [True: 2, False: 0]
  |  Branch (100:20): [True: 0, False: 0]
  ------------------
  101|      2|        goto done;
  102|      2|    }
  103|      0|    PyObject *dict = _PyModule_GetDict(mod);
  104|      0|    if (PyObject_GetOptionalAttr(mod, &_Py_ID(__spec__), &spec) < 0 ||
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (104:9): [True: 0, False: 0]
  ------------------
  105|      0|        _PyModuleSpec_IsInitializing(spec) != 0) {
  ------------------
  |  Branch (105:9): [True: 0, False: 0]
  ------------------
  106|      0|        goto done;
  107|      0|    }
  108|       |    // An initialization check can replace the module in sys.modules.
  109|      0|    if (modules != _PyImport_GetModules(tstate->interp) ||
  ------------------
  |  Branch (109:9): [True: 0, False: 0]
  ------------------
  110|      0|        PyMapping_GetOptionalItem(modules, name, &current) <= 0 ||
  ------------------
  |  Branch (110:9): [True: 0, False: 0]
  ------------------
  111|      0|        current != mod) {
  ------------------
  |  Branch (111:9): [True: 0, False: 0]
  ------------------
  112|      0|        goto done;
  113|      0|    }
  114|      0|    if (PyDict_GetItemRef(dict, attr_name, &attr) < 0) {
  ------------------
  |  Branch (114:9): [True: 0, False: 0]
  ------------------
  115|      0|        goto done;
  116|      0|    }
  117|      0|    if (attr != NULL && PyLazyImport_CheckExact(attr)) {
  ------------------
  |  |   15|      0|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_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 (117:9): [True: 0, False: 0]
  ------------------
  118|      0|        Py_CLEAR(attr);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  119|      0|    }
  120|       |
  121|      2|done:
  122|      2|    Py_XDECREF(current);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  123|      2|    Py_XDECREF(spec);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  124|      2|    Py_XDECREF(mod);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  125|      2|    Py_DECREF(modules);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  126|      2|    if (PyErr_ExceptionMatches(PyExc_Exception)) {
  ------------------
  |  Branch (126:9): [True: 0, False: 2]
  ------------------
  127|      0|        PyErr_Clear();
  128|      0|    }
  129|      2|    return attr;
  130|      0|}
lazyimportobject.c:lazy_import_traverse:
  154|     20|{
  155|     20|    PyLazyImportObject *m = PyLazyImportObject_CAST(op);
  ------------------
  |  |   33|     20|#define PyLazyImportObject_CAST(op) ((PyLazyImportObject *)(op))
  ------------------
  156|     20|    Py_VISIT(m->lz_builtins);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 4]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  157|     20|    Py_VISIT(m->lz_from);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  158|     20|    Py_VISIT(m->lz_attr);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8, False: 12]
  |  |  ------------------
  |  |  196|      8|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      8|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8]
  |  |  ------------------
  |  |  198|      8|                return vret;                                            \
  |  |  199|      8|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  159|     20|    Py_VISIT(m->lz_code);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  160|     20|    return 0;
  161|     20|}

PyList_New:
  263|  2.04k|{
  264|  2.04k|    if (size < 0) {
  ------------------
  |  Branch (264:9): [True: 0, False: 2.04k]
  ------------------
  265|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  266|      0|        return NULL;
  267|      0|    }
  268|       |
  269|  2.04k|    PyListObject *op = _Py_FREELIST_POP(PyListObject, lists);
  ------------------
  |  |   43|  2.04k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  2.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  270|  2.04k|    if (op == NULL) {
  ------------------
  |  Branch (270:9): [True: 243, False: 1.80k]
  ------------------
  271|    243|        op = PyObject_GC_New(PyListObject, &PyList_Type);
  ------------------
  |  |  181|    243|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    243|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  272|    243|        if (op == NULL) {
  ------------------
  |  Branch (272:13): [True: 0, False: 243]
  ------------------
  273|      0|            return NULL;
  274|      0|        }
  275|    243|    }
  276|  2.04k|    op->ob_item = NULL;
  277|  2.04k|    op->allocated = 0;
  278|  2.04k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  2.04k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  2.04k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  279|       |
  280|  2.04k|    if (size > 0) {
  ------------------
  |  Branch (280:9): [True: 309, False: 1.73k]
  ------------------
  281|       |#ifdef Py_GIL_DISABLED
  282|       |        _PyListArray *array = list_allocate_array(size);
  283|       |        if (array == NULL) {
  284|       |            Py_DECREF(op);
  285|       |            return PyErr_NoMemory();
  286|       |        }
  287|       |        memset(&array->ob_item, 0, size * sizeof(PyObject *));
  288|       |        op->ob_item = array->ob_item;
  289|       |#else
  290|    309|        op->ob_item = (PyObject **) PyMem_Calloc(size, sizeof(PyObject *));
  291|    309|#endif
  292|    309|        if (op->ob_item == NULL) {
  ------------------
  |  Branch (292:13): [True: 0, False: 309]
  ------------------
  293|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  294|      0|            return PyErr_NoMemory();
  295|      0|        }
  296|    309|    }
  297|       |
  298|  2.04k|    op->allocated = size;
  299|  2.04k|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|  2.04k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  300|  2.04k|    return (PyObject *) op;
  301|  2.04k|}
PyList_Size:
  332|     14|{
  333|     14|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|     14|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     14|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (333:9): [True: 0, False: 14]
  ------------------
  334|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  335|      0|        return -1;
  336|      0|    }
  337|     14|    else {
  338|     14|        return PyList_GET_SIZE(op);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  339|     14|    }
  340|     14|}
PyList_GetItemRef:
  429|      2|{
  430|      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 (430:9): [True: 0, False: 2]
  ------------------
  431|      0|        PyErr_SetString(PyExc_TypeError, "expected a list");
  432|      0|        return NULL;
  433|      0|    }
  434|      2|    PyObject *item = list_get_item_ref((PyListObject *)op, i);
  435|      2|    if (item == NULL) {
  ------------------
  |  Branch (435:9): [True: 0, False: 2]
  ------------------
  436|      0|        _Py_DECLARE_STR(list_err, "list index out of range");
  437|      0|        PyErr_SetObject(PyExc_IndexError, &_Py_STR(list_err));
  ------------------
  |  |  953|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  438|      0|        return NULL;
  439|      0|    }
  440|      2|    return item;
  441|      2|}
PyList_SetItem:
  478|      4|{
  479|      4|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|      4|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (479:9): [True: 0, False: 4]
  ------------------
  480|      0|        Py_XDECREF(newitem);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  482|      0|        return -1;
  483|      0|    }
  484|      4|    int ret;
  485|      4|    PyListObject *self = ((PyListObject *)op);
  486|      4|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      4|    {
  ------------------
  487|      4|    if (!valid_index(i, Py_SIZE(self))) {
  ------------------
  |  |  214|      4|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (487:9): [True: 0, False: 4]
  ------------------
  488|      0|        Py_XDECREF(newitem);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|      0|        PyErr_SetString(PyExc_IndexError,
  490|      0|                        "list assignment index out of range");
  491|      0|        ret = -1;
  492|      0|        goto end;
  493|      0|    }
  494|      4|    PyObject *tmp = self->ob_item[i];
  495|      4|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[i], newitem);
  ------------------
  |  |  166|      4|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  496|      4|    Py_XDECREF(tmp);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  497|      4|    ret = 0;
  498|      4|end:;
  499|      4|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      4|    }
  ------------------
  500|      4|    return ret;
  501|      4|}
PyList_Insert:
  567|      2|{
  568|      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 (568:9): [True: 0, False: 2]
  ------------------
  569|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  570|      0|        return -1;
  571|      0|    }
  572|      2|    PyListObject *self = (PyListObject *)op;
  573|      2|    int err;
  574|      2|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      2|    {
  ------------------
  575|      2|    err = ins1(self, where, newitem);
  576|      2|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      2|    }
  ------------------
  577|      2|    return err;
  578|      2|}
_PyList_AppendTakeRefListResize:
  583|  2.33k|{
  584|  2.33k|    Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|  2.33k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  585|  2.33k|    assert(self->allocated == -1 || self->allocated == len);
  ------------------
  |  Branch (585:5): [True: 0, False: 2.33k]
  |  Branch (585:5): [True: 2.33k, False: 0]
  ------------------
  586|  2.33k|    if (list_resize(self, len + 1) < 0) {
  ------------------
  |  Branch (586:9): [True: 0, False: 2.33k]
  ------------------
  587|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  588|      0|        return -1;
  589|      0|    }
  590|  2.33k|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[len], newitem);
  ------------------
  |  |  166|  2.33k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  591|  2.33k|    return 0;
  592|  2.33k|}
PyList_Append:
  596|  1.51M|{
  597|  1.51M|    if (PyList_Check(op) && (newitem != NULL)) {
  ------------------
  |  |   25|  1.51M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.02M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.51M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (597:29): [True: 1.51M, False: 0]
  ------------------
  598|  1.51M|        int ret;
  599|  1.51M|        Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  1.51M|    {
  ------------------
  600|  1.51M|        ret = _PyList_AppendTakeRef((PyListObject *)op, Py_NewRef(newitem));
  ------------------
  |  |  647|  1.51M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.51M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  601|  1.51M|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.51M|    }
  ------------------
  602|  1.51M|        return ret;
  603|  1.51M|    }
  604|      0|    PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  605|      0|    return -1;
  606|  1.51M|}
_PyList_Concat:
  857|      7|{
  858|      7|    if (!PyList_Check(bb)) {
  ------------------
  |  |   25|      7|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      7|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (858:9): [True: 0, False: 7]
  ------------------
  859|      0|        PyErr_Format(PyExc_TypeError,
  860|      0|                  "can only concatenate list (not \"%.200s\") to list",
  861|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  862|      0|        return NULL;
  863|      0|    }
  864|      7|    PyListObject *a = (PyListObject *)aa;
  865|      7|    PyListObject *b = (PyListObject *)bb;
  866|      7|    PyObject *ret;
  867|      7|    Py_BEGIN_CRITICAL_SECTION2(a, b);
  ------------------
  |  |   57|      7|    {
  ------------------
  868|      7|    ret = list_concat_lock_held(a, b);
  869|      7|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      7|    }
  ------------------
  870|      7|    return ret;
  871|      7|}
PyList_SetSlice:
 1125|     28|{
 1126|     28|    if (!PyList_Check(a)) {
  ------------------
  |  |   25|     28|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     28|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1126:9): [True: 0, False: 28]
  ------------------
 1127|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1128|      0|        return -1;
 1129|      0|    }
 1130|     28|    return list_ass_slice((PyListObject *)a, ilow, ihigh, v);
 1131|     28|}
_PyList_Extend:
 1589|    251|{
 1590|    251|    return list_extend((PyObject*)self, iterable);
 1591|    251|}
PyList_Sort:
 3287|     87|{
 3288|     87|    if (v == NULL || !PyList_Check(v)) {
  ------------------
  |  |   25|     87|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     87|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3288:9): [True: 0, False: 87]
  |  Branch (3288:22): [True: 0, False: 87]
  ------------------
 3289|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3290|      0|        return -1;
 3291|      0|    }
 3292|     87|    Py_BEGIN_CRITICAL_SECTION(v);
  ------------------
  |  |   51|     87|    {
  ------------------
 3293|     87|    v = list_sort_impl((PyListObject *)v, NULL, 0);
 3294|     87|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     87|    }
  ------------------
 3295|     87|    if (v == NULL)
  ------------------
  |  Branch (3295:9): [True: 0, False: 87]
  ------------------
 3296|      0|        return -1;
 3297|     87|    Py_DECREF(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3298|     87|    return 0;
 3299|     87|}
PyList_AsTuple:
 3336|    261|{
 3337|    261|    if (v == NULL || !PyList_Check(v)) {
  ------------------
  |  |   25|    261|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    261|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3337:9): [True: 0, False: 261]
  |  Branch (3337:22): [True: 0, False: 261]
  ------------------
 3338|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3339|      0|        return NULL;
 3340|      0|    }
 3341|    261|    PyObject *ret;
 3342|    261|    PyListObject *self = (PyListObject *)v;
 3343|    261|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    261|    {
  ------------------
 3344|    261|    ret = PyTuple_FromArray(self->ob_item, Py_SIZE(v));
  ------------------
  |  |  214|    261|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    261|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    261|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3345|    261|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    261|    }
  ------------------
 3346|    261|    return ret;
 3347|    261|}
_PyList_AsTupleAndClear:
 3351|     66|{
 3352|     66|    assert(self != NULL);
  ------------------
  |  Branch (3352:5): [True: 66, False: 0]
  ------------------
 3353|     66|    PyObject *ret;
 3354|     66|    if (self->ob_item == NULL) {
  ------------------
  |  Branch (3354:9): [True: 0, False: 66]
  ------------------
 3355|      0|        return PyTuple_New(0);
 3356|      0|    }
 3357|     66|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     66|    {
  ------------------
 3358|     66|    PyObject **items = self->ob_item;
 3359|     66|    Py_ssize_t size = Py_SIZE(self);
  ------------------
  |  |  214|     66|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3360|     66|    Py_SET_SIZE(self, 0);
  ------------------
  |  |  216|     66|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     66|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3361|     66|    ret = _PyTuple_FromArraySteal(items, size);
 3362|     66|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     66|    }
  ------------------
 3363|     66|    return ret;
 3364|     66|}
_PyList_FromStackRefStealOnSuccess:
 3368|  1.21k|{
 3369|  1.21k|    if (n == 0) {
  ------------------
  |  Branch (3369:9): [True: 1.06k, False: 150]
  ------------------
 3370|  1.06k|        return PyList_New(0);
 3371|  1.06k|    }
 3372|       |
 3373|    150|    PyListObject *list = (PyListObject *)PyList_New(n);
 3374|    150|    if (list == NULL) {
  ------------------
  |  Branch (3374:9): [True: 0, False: 150]
  ------------------
 3375|      0|        return NULL;
 3376|      0|    }
 3377|       |
 3378|    150|    PyObject **dst = list->ob_item;
 3379|    421|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3379:28): [True: 271, False: 150]
  ------------------
 3380|    271|        dst[i] = PyStackRef_AsPyObjectSteal(src[i]);
 3381|    271|    }
 3382|       |
 3383|    150|    return (PyObject *)list;
 3384|    150|}
_PyList_SliceSubscript:
 3767|      7|{
 3768|      7|    return list_slice_subscript(_self, item);
 3769|      7|}
listobject.c:valid_index:
  344|  5.08k|{
  345|       |    /* The cast to size_t lets us use just a single comparison
  346|       |       to check whether i is in the range: 0 <= i < limit.
  347|       |
  348|       |       See:  Section 14.2 "Bounds Checking" in the Agner Fog
  349|       |       optimization manual found at:
  350|       |       https://www.agner.org/optimize/optimizing_cpp.pdf
  351|       |    */
  352|  5.08k|    return (size_t) i < (size_t) limit;
  353|  5.08k|}
listobject.c:list_get_item_ref:
  404|  3.07k|{
  405|  3.07k|    if (!valid_index(i, Py_SIZE(op))) {
  ------------------
  |  |  214|  3.07k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (405:9): [True: 87, False: 2.98k]
  ------------------
  406|     87|        return NULL;
  407|     87|    }
  408|  2.98k|    return Py_NewRef(PyList_GET_ITEM(op, i));
  ------------------
  |  |  647|  2.98k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 2.98k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  409|  2.98k|}
listobject.c:ins1:
  538|      2|{
  539|      2|    Py_ssize_t n = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  540|      2|    PyObject **items;
  541|      2|    if (v == NULL) {
  ------------------
  |  Branch (541:9): [True: 0, False: 2]
  ------------------
  542|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  543|      0|        return -1;
  544|      0|    }
  545|       |
  546|      2|    assert((size_t)n + 1 < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (546:5): [True: 2, False: 0]
  ------------------
  547|      2|    if (list_resize(self, n+1) < 0)
  ------------------
  |  Branch (547:9): [True: 0, False: 2]
  ------------------
  548|      0|        return -1;
  549|       |
  550|      2|    if (where < 0) {
  ------------------
  |  Branch (550:9): [True: 0, False: 2]
  ------------------
  551|      0|        where += n;
  552|      0|        if (where < 0)
  ------------------
  |  Branch (552:13): [True: 0, False: 0]
  ------------------
  553|      0|            where = 0;
  554|      0|    }
  555|      2|    if (where > n)
  ------------------
  |  Branch (555:9): [True: 0, False: 2]
  ------------------
  556|      0|        where = n;
  557|      2|    items = self->ob_item;
  558|      2|    if (where < n) {
  ------------------
  |  Branch (558:9): [True: 2, False: 0]
  ------------------
  559|      2|        list_shift_items_right_lock_held(self, where, n);
  560|      2|    }
  561|      2|    FT_ATOMIC_STORE_PTR_RELEASE(items[where], Py_NewRef(v));
  ------------------
  |  |  166|      2|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  562|      2|    return 0;
  563|      2|}
listobject.c:list_shift_items_right_lock_held:
  509|      2|{
  510|       |#ifdef Py_GIL_DISABLED
  511|       |    ptr_wise_atomic_memmove(self, &self->ob_item[first + 1],
  512|       |                            &self->ob_item[first], last - first);
  513|       |#else
  514|      2|    PyObject **items = self->ob_item;
  515|      4|    for (Py_ssize_t i = last; --i >= first; ) {
  ------------------
  |  Branch (515:31): [True: 2, False: 2]
  ------------------
  516|      2|        items[i + 1] = items[i];
  517|      2|    }
  518|      2|#endif
  519|      2|}
listobject.c:list_resize:
  112|  2.54k|{
  113|  2.54k|    Py_ssize_t allocated = self->allocated;
  114|       |
  115|       |    /* Bypass realloc() when a previous overallocation is large enough
  116|       |       to accommodate the newsize.  If the newsize falls lower than half
  117|       |       the allocated size, then proceed with the realloc() to shrink the list.
  118|       |       gh-158592: do not shrink a small list, the realloc() cost is bigger
  119|       |       than the memory we get back.
  120|       |    */
  121|  2.54k|    if (allocated >= newsize
  ------------------
  |  Branch (121:9): [True: 150, False: 2.39k]
  ------------------
  122|    150|        && (newsize >= (allocated >> 1) || allocated <= LIST_SMALL_ALLOCATED))
  ------------------
  |  |   94|     63|#define LIST_SMALL_ALLOCATED 32
  ------------------
  |  Branch (122:13): [True: 87, False: 63]
  |  Branch (122:44): [True: 63, False: 0]
  ------------------
  123|    150|    {
  124|    150|        assert(self->ob_item != NULL || newsize == 0);
  ------------------
  |  Branch (124:9): [True: 150, False: 0]
  |  Branch (124:9): [True: 0, False: 0]
  ------------------
  125|    150|        Py_SET_SIZE(self, newsize);
  ------------------
  |  |  216|    150|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    150|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    150|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  126|    150|        return 0;
  127|    150|    }
  128|  2.39k|    return py_list_resize(self, newsize);
  129|  2.54k|}
listobject.c:py_list_resize:
  134|  2.39k|{
  135|  2.39k|    size_t new_allocated, target_bytes;
  136|  2.39k|    Py_ssize_t allocated = self->allocated;
  137|       |
  138|       |    /* This over-allocates proportional to the list size, making room
  139|       |     * for additional growth.  The over-allocation is mild, but is
  140|       |     * enough to give linear-time amortized behavior over a long
  141|       |     * sequence of appends() in the presence of a poorly-performing
  142|       |     * system realloc().
  143|       |     * Add padding to make the allocated size multiple of 4.
  144|       |     * The growth pattern is:  0, 4, 8, 16, 24, 32, 40, 52, 64, 76, ...
  145|       |     * Note: new_allocated won't overflow because the largest possible value
  146|       |     *       is PY_SSIZE_T_MAX * (9 / 8) + 6 which always fits in a size_t.
  147|       |     */
  148|  2.39k|    new_allocated = ((size_t)newsize + (newsize >> 3) + 6) & ~(size_t)3;
  149|       |    /* Do not overallocate if the new size is closer to overallocated size
  150|       |     * than to the old size.
  151|       |     */
  152|  2.39k|    if (newsize - Py_SIZE(self) > (Py_ssize_t)(new_allocated - newsize))
  ------------------
  |  |  214|  2.39k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (152:9): [True: 16, False: 2.37k]
  ------------------
  153|     16|        new_allocated = ((size_t)newsize + 3) & ~(size_t)3;
  154|       |
  155|  2.39k|    if (newsize == 0)
  ------------------
  |  Branch (155:9): [True: 0, False: 2.39k]
  ------------------
  156|      0|        new_allocated = 0;
  157|       |
  158|  2.39k|    assert(newsize > allocated || new_allocated < (size_t)allocated);
  ------------------
  |  Branch (158:5): [True: 2.39k, False: 0]
  |  Branch (158:5): [True: 0, False: 0]
  ------------------
  159|       |
  160|  2.39k|    ensure_shared_on_resize(self);
  161|       |
  162|       |#ifdef Py_GIL_DISABLED
  163|       |    _PyListArray *array = list_allocate_array(new_allocated);
  164|       |    if (array == NULL) {
  165|       |        if (newsize < allocated) {
  166|       |            // Never fail when shrinking allocations
  167|       |            Py_SET_SIZE(self, newsize);
  168|       |            return 0;
  169|       |        }
  170|       |        PyErr_NoMemory();
  171|       |        return -1;
  172|       |    }
  173|       |    PyObject **old_items = self->ob_item;
  174|       |    if (self->ob_item) {
  175|       |        if (new_allocated < (size_t)allocated) {
  176|       |            target_bytes = new_allocated * sizeof(PyObject*);
  177|       |        }
  178|       |        else {
  179|       |            target_bytes = allocated * sizeof(PyObject*);
  180|       |        }
  181|       |        memcpy(array->ob_item, self->ob_item, target_bytes);
  182|       |    }
  183|       |    if (new_allocated > (size_t)allocated) {
  184|       |        memset(array->ob_item + allocated, 0, sizeof(PyObject *) * (new_allocated - allocated));
  185|       |    }
  186|       |     _Py_atomic_store_ptr_release(&self->ob_item, &array->ob_item);
  187|       |    self->allocated = new_allocated;
  188|       |    Py_SET_SIZE(self, newsize);
  189|       |    if (old_items != NULL) {
  190|       |        free_list_items(old_items, _PyObject_GC_IS_SHARED(self));
  191|       |    }
  192|       |#else
  193|  2.39k|    PyObject **items;
  194|  2.39k|    if (new_allocated <= (size_t)PY_SSIZE_T_MAX / sizeof(PyObject *)) {
  ------------------
  |  |  137|  2.39k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (194:9): [True: 2.39k, False: 0]
  ------------------
  195|  2.39k|        target_bytes = new_allocated * sizeof(PyObject *);
  196|  2.39k|        items = (PyObject **)PyMem_Realloc(self->ob_item, target_bytes);
  197|  2.39k|    }
  198|      0|    else {
  199|       |        // integer overflow
  200|      0|        items = NULL;
  201|      0|    }
  202|  2.39k|    if (items == NULL) {
  ------------------
  |  Branch (202:9): [True: 0, False: 2.39k]
  ------------------
  203|      0|        if (newsize < allocated) {
  ------------------
  |  Branch (203:13): [True: 0, False: 0]
  ------------------
  204|       |            // Never fail when shrinking allocations
  205|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  206|      0|            return 0;
  207|      0|        }
  208|      0|        PyErr_NoMemory();
  209|      0|        return -1;
  210|      0|    }
  211|  2.39k|    self->ob_item = items;
  212|  2.39k|    Py_SET_SIZE(self, newsize);
  ------------------
  |  |  216|  2.39k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  2.39k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  213|  2.39k|    self->allocated = new_allocated;
  214|  2.39k|#endif
  215|  2.39k|    return 0;
  216|  2.39k|}
listobject.c:ensure_shared_on_resize:
   77|  2.39k|{
   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|  2.39k|}
listobject.c:list_slice_lock_held:
  751|     10|{
  752|     10|    PyListObject *np;
  753|     10|    PyObject **src, **dest;
  754|     10|    Py_ssize_t i, len;
  755|     10|    len = ihigh - ilow;
  756|     10|    if (len <= 0) {
  ------------------
  |  Branch (756:9): [True: 0, False: 10]
  ------------------
  757|      0|        return PyList_New(0);
  758|      0|    }
  759|     10|    np = (PyListObject *) list_new_prealloc(len);
  760|     10|    if (np == NULL)
  ------------------
  |  Branch (760:9): [True: 0, False: 10]
  ------------------
  761|      0|        return NULL;
  762|       |
  763|     10|    src = a->ob_item + ilow;
  764|     10|    dest = np->ob_item;
  765|     27|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (765:17): [True: 17, False: 10]
  ------------------
  766|     17|        PyObject *v = src[i];
  767|     17|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  647|     17|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  768|     17|    }
  769|     10|    Py_SET_SIZE(np, len);
  ------------------
  |  |  216|     10|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     10|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  770|     10|    return (PyObject *)np;
  771|     10|}
listobject.c:list_new_prealloc:
  305|     25|{
  306|     25|    assert(size > 0);
  ------------------
  |  Branch (306:5): [True: 25, False: 0]
  ------------------
  307|     25|    PyListObject *op = (PyListObject *) PyList_New(0);
  308|     25|    if (op == NULL) {
  ------------------
  |  Branch (308:9): [True: 0, False: 25]
  ------------------
  309|      0|        return NULL;
  310|      0|    }
  311|     25|    assert(op->ob_item == NULL);
  ------------------
  |  Branch (311:5): [True: 25, False: 0]
  ------------------
  312|       |#ifdef Py_GIL_DISABLED
  313|       |    _PyListArray *array = list_allocate_array(size);
  314|       |    if (array == NULL) {
  315|       |        Py_DECREF(op);
  316|       |        return PyErr_NoMemory();
  317|       |    }
  318|       |    op->ob_item = array->ob_item;
  319|       |#else
  320|     25|    op->ob_item = PyMem_New(PyObject *, size);
  ------------------
  |  |   64|     25|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|     25|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 25]
  |  |  ------------------
  |  |   65|     25|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  321|     25|    if (op->ob_item == NULL) {
  ------------------
  |  Branch (321:9): [True: 0, False: 25]
  ------------------
  322|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  323|      0|        return PyErr_NoMemory();
  324|      0|    }
  325|     25|#endif
  326|     25|    op->allocated = size;
  327|     25|    return (PyObject *) op;
  328|     25|}
listobject.c:list_concat_lock_held:
  825|      7|{
  826|      7|    Py_ssize_t size;
  827|      7|    Py_ssize_t i;
  828|      7|    PyObject **src, **dest;
  829|      7|    PyListObject *np;
  830|      7|    assert((size_t)Py_SIZE(a) + (size_t)Py_SIZE(b) < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (830:5): [True: 7, False: 0]
  ------------------
  831|      7|    size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  214|      7|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  214|      7|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  832|      7|    if (size == 0) {
  ------------------
  |  Branch (832:9): [True: 0, False: 7]
  ------------------
  833|      0|        return PyList_New(0);
  834|      0|    }
  835|      7|    np = (PyListObject *) list_new_prealloc(size);
  836|      7|    if (np == NULL) {
  ------------------
  |  Branch (836:9): [True: 0, False: 7]
  ------------------
  837|      0|        return NULL;
  838|      0|    }
  839|      7|    src = a->ob_item;
  840|      7|    dest = np->ob_item;
  841|    155|    for (i = 0; i < Py_SIZE(a); i++) {
  ------------------
  |  |  214|    155|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    155|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    155|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (841:17): [True: 148, False: 7]
  ------------------
  842|    148|        PyObject *v = src[i];
  843|    148|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  647|    148|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    148|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  844|    148|    }
  845|      7|    src = b->ob_item;
  846|      7|    dest = np->ob_item + Py_SIZE(a);
  ------------------
  |  |  214|      7|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  847|     95|    for (i = 0; i < Py_SIZE(b); i++) {
  ------------------
  |  |  214|     95|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (847:17): [True: 88, False: 7]
  ------------------
  848|     88|        PyObject *v = src[i];
  849|     88|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  850|     88|    }
  851|      7|    Py_SET_SIZE(np, size);
  ------------------
  |  |  216|      7|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      7|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  852|      7|    return (PyObject *)np;
  853|      7|}
listobject.c:list_ass_slice:
 1095|     28|{
 1096|     28|    int ret;
 1097|     28|    if (a == (PyListObject *)v) {
  ------------------
  |  Branch (1097:9): [True: 0, False: 28]
  ------------------
 1098|      0|        Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|      0|    {
  ------------------
 1099|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1100|      0|        PyObject *copy = list_slice_lock_held(a, 0, n);
 1101|      0|        if (copy == NULL) {
  ------------------
  |  Branch (1101:13): [True: 0, False: 0]
  ------------------
 1102|      0|            ret = -1;
 1103|      0|        }
 1104|      0|        else {
 1105|      0|            ret = list_ass_slice_lock_held(a, ilow, ihigh, copy);
 1106|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1107|      0|        }
 1108|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 1109|      0|    }
 1110|     28|    else if (v != NULL && PyList_CheckExact(v)) {
  ------------------
  |  |   26|      0|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1110:14): [True: 0, False: 28]
  ------------------
 1111|      0|        Py_BEGIN_CRITICAL_SECTION2(a, v);
  ------------------
  |  |   57|      0|    {
  ------------------
 1112|      0|        ret = list_ass_slice_lock_held(a, ilow, ihigh, v);
 1113|      0|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 1114|      0|    }
 1115|     28|    else {
 1116|     28|        Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|     28|    {
  ------------------
 1117|     28|        ret = list_ass_slice_lock_held(a, ilow, ihigh, v);
 1118|     28|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     28|    }
  ------------------
 1119|     28|    }
 1120|     28|    return ret;
 1121|     28|}
listobject.c:list_ass_slice_lock_held:
 1004|    156|{
 1005|       |    /* Because [X]DECREF can recursively invoke list operations on
 1006|       |       this list, we must postpone all [X]DECREF activity until
 1007|       |       after the list is back in its canonical shape.  Therefore
 1008|       |       we must allocate an additional array, 'recycle', into which
 1009|       |       we temporarily copy the items that are deleted from the
 1010|       |       list. :-( */
 1011|    156|    PyObject *recycle_on_stack[8];
 1012|    156|    PyObject **recycle = recycle_on_stack; /* will allocate more if needed */
 1013|    156|    PyObject **item;
 1014|    156|    PyObject **vitem = NULL;
 1015|    156|    PyObject *v_as_SF = NULL; /* PySequence_Fast(v) */
 1016|    156|    Py_ssize_t n; /* # of elements in replacement list */
 1017|    156|    Py_ssize_t norig; /* # of elements in list getting replaced */
 1018|    156|    Py_ssize_t d; /* Change in size */
 1019|    156|    Py_ssize_t k;
 1020|    156|    size_t s;
 1021|    156|    int result = -1;            /* guilty until proved innocent */
 1022|    156|#define b ((PyListObject *)v)
 1023|    156|    if (v == NULL)
  ------------------
  |  Branch (1023:9): [True: 141, False: 15]
  ------------------
 1024|    141|        n = 0;
 1025|     15|    else {
 1026|     15|        v_as_SF = PySequence_Fast(v, "can only assign an iterable");
 1027|     15|        if(v_as_SF == NULL)
  ------------------
  |  Branch (1027:12): [True: 0, False: 15]
  ------------------
 1028|      0|            goto Error;
 1029|     15|        n = PySequence_Fast_GET_SIZE(v_as_SF);
  ------------------
  |  |   92|     15|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|     15|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     15|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 15, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|     15|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     15|#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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1030|     15|        vitem = PySequence_Fast_ITEMS(v_as_SF);
  ------------------
  |  |  102|     15|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|     15|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     15|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 15, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|     15|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
 1031|     15|    }
 1032|    156|    if (ilow < 0)
  ------------------
  |  Branch (1032:9): [True: 0, False: 156]
  ------------------
 1033|      0|        ilow = 0;
 1034|    156|    else if (ilow > Py_SIZE(a))
  ------------------
  |  |  214|    156|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1034:14): [True: 0, False: 156]
  ------------------
 1035|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1036|       |
 1037|    156|    if (ihigh < ilow)
  ------------------
  |  Branch (1037:9): [True: 0, False: 156]
  ------------------
 1038|      0|        ihigh = ilow;
 1039|    156|    else if (ihigh > Py_SIZE(a))
  ------------------
  |  |  214|    156|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1039:14): [True: 0, False: 156]
  ------------------
 1040|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1041|       |
 1042|    156|    norig = ihigh - ilow;
 1043|    156|    assert(norig >= 0);
  ------------------
  |  Branch (1043:5): [True: 156, False: 0]
  ------------------
 1044|    156|    d = n - norig;
 1045|    156|    if (Py_SIZE(a) + d == 0) {
  ------------------
  |  |  214|    156|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1045:9): [True: 124, False: 32]
  ------------------
 1046|    124|        Py_XDECREF(v_as_SF);
  ------------------
  |  |  621|    124|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1047|    124|        list_clear(a);
 1048|    124|        return 0;
 1049|    124|    }
 1050|     32|    item = a->ob_item;
 1051|       |    /* recycle the items that we are about to remove */
 1052|     32|    s = norig * sizeof(PyObject *);
 1053|       |    /* If norig == 0, item might be NULL, in which case we may not memcpy from it. */
 1054|     32|    if (s) {
  ------------------
  |  Branch (1054:9): [True: 32, False: 0]
  ------------------
 1055|     32|        if (s > sizeof(recycle_on_stack)) {
  ------------------
  |  Branch (1055:13): [True: 1, False: 31]
  ------------------
 1056|      1|            recycle = (PyObject **)PyMem_Malloc(s);
 1057|      1|            if (recycle == NULL) {
  ------------------
  |  Branch (1057:17): [True: 0, False: 1]
  ------------------
 1058|      0|                PyErr_NoMemory();
 1059|      0|                goto Error;
 1060|      0|            }
 1061|      1|        }
 1062|     32|        memcpy(recycle, &item[ilow], s);
 1063|     32|    }
 1064|       |
 1065|     32|    if (d < 0) { /* Delete -d items */
  ------------------
  |  Branch (1065:9): [True: 19, False: 13]
  ------------------
 1066|     19|        Py_ssize_t tail = Py_SIZE(a) - ihigh;
  ------------------
  |  |  214|     19|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1067|     19|        ptr_wise_atomic_memmove(a, &item[ihigh+d], &item[ihigh], tail);
 1068|     19|        (void)list_resize(a, Py_SIZE(a) + d); // NB: shrinking a list can't fail
  ------------------
  |  |  214|     19|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1069|     19|        item = a->ob_item;
 1070|     19|    }
 1071|     13|    else if (d > 0) { /* Insert d items */
  ------------------
  |  Branch (1071:14): [True: 0, False: 13]
  ------------------
 1072|      0|        k = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|      0|        if (list_resize(a, k+d) < 0)
  ------------------
  |  Branch (1073:13): [True: 0, False: 0]
  ------------------
 1074|      0|            goto Error;
 1075|      0|        item = a->ob_item;
 1076|      0|        ptr_wise_atomic_memmove(a, &item[ihigh+d], &item[ihigh], k - ihigh);
 1077|      0|    }
 1078|     63|    for (k = 0; k < n; k++, ilow++) {
  ------------------
  |  Branch (1078:17): [True: 31, False: 32]
  ------------------
 1079|     31|        PyObject *w = vitem[k];
 1080|     31|        FT_ATOMIC_STORE_PTR_RELEASE(item[ilow], Py_XNewRef(w));
  ------------------
  |  |  166|     31|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1081|     31|    }
 1082|     83|    for (k = norig - 1; k >= 0; --k)
  ------------------
  |  Branch (1082:25): [True: 51, False: 32]
  ------------------
 1083|     51|        Py_XDECREF(recycle[k]);
  ------------------
  |  |  621|     83|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1084|     32|    result = 0;
 1085|     32| Error:
 1086|     32|    if (recycle != recycle_on_stack)
  ------------------
  |  Branch (1086:9): [True: 1, False: 31]
  ------------------
 1087|      1|        PyMem_Free(recycle);
 1088|     32|    Py_XDECREF(v_as_SF);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1089|     32|    return result;
 1090|     32|#undef b
 1091|     32|}
listobject.c:ptr_wise_atomic_memmove:
  972|     19|{
  973|     19|#ifndef Py_GIL_DISABLED
  974|     19|    memmove(dest, src, n * sizeof(PyObject *));
  975|       |#else
  976|       |    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(a);
  977|       |    if (_Py_IsOwnedByCurrentThread((PyObject *)a) && !_PyObject_GC_IS_SHARED(a)) {
  978|       |        // No other threads can read this list concurrently
  979|       |        memmove(dest, src, n * sizeof(PyObject *));
  980|       |        return;
  981|       |    }
  982|       |    if (dest < src) {
  983|       |        for (Py_ssize_t i = 0; i != n; i++) {
  984|       |            _Py_atomic_store_ptr_release(&dest[i], src[i]);
  985|       |        }
  986|       |    }
  987|       |    else {
  988|       |        // copy backwards to avoid overwriting src before it's read
  989|       |        for (Py_ssize_t i = n; i != 0; i--) {
  990|       |            _Py_atomic_store_ptr_release(&dest[i - 1], src[i - 1]);
  991|       |        }
  992|       |    }
  993|       |#endif
  994|     19|}
listobject.c:list_extend_impl:
 1580|    310|{
 1581|    310|    if (_list_extend(self, iterable) < 0) {
  ------------------
  |  Branch (1581:9): [True: 0, False: 310]
  ------------------
 1582|      0|        return NULL;
 1583|      0|    }
 1584|    310|    Py_RETURN_NONE;
  ------------------
  |  |  628|    310|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    310|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1585|    310|}
listobject.c:_list_extend:
 1513|    406|{
 1514|       |    // Special case:
 1515|       |    // lists and tuples which can use PySequence_Fast ops
 1516|    406|    int res = -1;
 1517|    406|    if ((PyObject *)self == iterable) {
  ------------------
  |  Branch (1517:9): [True: 0, False: 406]
  ------------------
 1518|      0|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      0|    {
  ------------------
 1519|      0|        res = list_inplace_repeat_lock_held(self, 2);
 1520|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 1521|      0|    }
 1522|    406|    else if (PyList_CheckExact(iterable)) {
  ------------------
  |  |   26|    406|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|    406|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    406|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    406|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 121, False: 285]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1523|    121|        Py_BEGIN_CRITICAL_SECTION2(self, iterable);
  ------------------
  |  |   57|    121|    {
  ------------------
 1524|    121|        res = list_extend_lock_held(self, iterable);
 1525|    121|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|    121|    }
  ------------------
 1526|    121|    }
 1527|    285|    else if (PyTuple_CheckExact(iterable)) {
  ------------------
  |  |   28|    285|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|    285|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    285|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    285|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 156, False: 129]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1528|    156|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    156|    {
  ------------------
 1529|    156|        res = list_extend_lock_held(self, iterable);
 1530|    156|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    156|    }
  ------------------
 1531|    156|    }
 1532|    129|    else if (PyAnySet_CheckExact(iterable)) {
  ------------------
  |  |   29|    129|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|    258|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    129|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    129|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 125]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|    125|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    125|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    125|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 125]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1533|      4|        Py_BEGIN_CRITICAL_SECTION2(self, iterable);
  ------------------
  |  |   57|      4|    {
  ------------------
 1534|      4|        res = list_extend_set(self, (PySetObject *)iterable);
 1535|      4|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      4|    }
  ------------------
 1536|      4|    }
 1537|    125|    else if (PyDict_CheckExact(iterable)) {
  ------------------
  |  |   19|    125|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    125|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    125|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    125|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 7, False: 118]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1538|      7|        Py_BEGIN_CRITICAL_SECTION2(self, iterable);
  ------------------
  |  |   57|      7|    {
  ------------------
 1539|      7|        res = list_extend_dict(self, (PyDictObject *)iterable, 0 /*keys*/);
 1540|      7|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      7|    }
  ------------------
 1541|      7|    }
 1542|    118|    else if (Py_IS_TYPE(iterable, &PyDictKeys_Type)) {
  ------------------
  |  |  215|    118|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    118|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 118]
  |  |  ------------------
  ------------------
 1543|      0|        PyDictObject *dict = ((_PyDictViewObject *)iterable)->dv_dict;
 1544|      0|        Py_BEGIN_CRITICAL_SECTION2(self, dict);
  ------------------
  |  |   57|      0|    {
  ------------------
 1545|      0|        res = list_extend_dict(self, dict, 0 /*keys*/);
 1546|      0|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 1547|      0|    }
 1548|    118|    else if (Py_IS_TYPE(iterable, &PyDictValues_Type)) {
  ------------------
  |  |  215|    118|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    118|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1, False: 117]
  |  |  ------------------
  ------------------
 1549|      1|        PyDictObject *dict = ((_PyDictViewObject *)iterable)->dv_dict;
 1550|      1|        Py_BEGIN_CRITICAL_SECTION2(self, dict);
  ------------------
  |  |   57|      1|    {
  ------------------
 1551|      1|        res = list_extend_dict(self, dict, 1 /*values*/);
 1552|      1|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      1|    }
  ------------------
 1553|      1|    }
 1554|    117|    else if (Py_IS_TYPE(iterable, &PyDictItems_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: 0, False: 117]
  |  |  ------------------
  ------------------
 1555|      0|        PyDictObject *dict = ((_PyDictViewObject *)iterable)->dv_dict;
 1556|      0|        Py_BEGIN_CRITICAL_SECTION2(self, dict);
  ------------------
  |  |   57|      0|    {
  ------------------
 1557|      0|        res = list_extend_dictitems(self, dict);
 1558|      0|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 1559|      0|    }
 1560|    117|    else {
 1561|    117|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    117|    {
  ------------------
 1562|    117|        res = list_extend_iter_lock_held(self, iterable);
 1563|    117|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    117|    }
  ------------------
 1564|    117|    }
 1565|    406|    return res;
 1566|    406|}
listobject.c:list_extend_lock_held:
 1411|    277|{
 1412|    277|    PyObject *seq = PySequence_Fast(iterable, "argument must be iterable");
 1413|    277|    if (!seq) {
  ------------------
  |  Branch (1413:9): [True: 0, False: 277]
  ------------------
 1414|      0|        return -1;
 1415|      0|    }
 1416|       |
 1417|    277|    int res = list_extend_fast(self, seq);
 1418|    277|    Py_DECREF(seq);
  ------------------
  |  |  430|    277|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    277|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    277|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1419|    277|    return res;
 1420|    277|}
listobject.c:list_extend_fast:
 1298|    277|{
 1299|    277|    Py_ssize_t n = PySequence_Fast_GET_SIZE(iterable);
  ------------------
  |  |   92|    277|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|    277|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    277|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 121, False: 156]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|    121|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    121|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    121|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|    156|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1300|    277|    if (n == 0) {
  ------------------
  |  Branch (1300:9): [True: 33, False: 244]
  ------------------
 1301|       |        /* short circuit when iterable is empty */
 1302|     33|        return 0;
 1303|     33|    }
 1304|       |
 1305|    244|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  214|    244|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    244|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    244|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1306|       |    // It should not be possible to allocate a list large enough to cause
 1307|       |    // an overflow on any relevant platform.
 1308|    244|    assert(m < PY_SSIZE_T_MAX - n);
  ------------------
  |  Branch (1308:5): [True: 244, False: 0]
  ------------------
 1309|    244|    if (self->ob_item == NULL) {
  ------------------
  |  Branch (1309:9): [True: 188, False: 56]
  ------------------
 1310|    188|        if (list_preallocate_exact(self, n) < 0) {
  ------------------
  |  Branch (1310:13): [True: 0, False: 188]
  ------------------
 1311|      0|            return -1;
 1312|      0|        }
 1313|    188|        Py_SET_SIZE(self, n);
  ------------------
  |  |  216|    188|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    188|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    188|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|    188|    }
 1315|     56|    else if (list_resize(self, m + n) < 0) {
  ------------------
  |  Branch (1315:14): [True: 0, False: 56]
  ------------------
 1316|      0|        return -1;
 1317|      0|    }
 1318|       |
 1319|       |    // note that we may still have self == iterable here for the
 1320|       |    // situation a.extend(a), but the following code works
 1321|       |    // in that case too.  Just make sure to resize self
 1322|       |    // before calling PySequence_Fast_ITEMS.
 1323|       |    //
 1324|       |    // populate the end of self with iterable's items.
 1325|    244|    PyObject **src = PySequence_Fast_ITEMS(iterable);
  ------------------
  |  |  102|    244|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|    244|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    244|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 115, False: 129]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|    244|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
 1326|    244|    PyObject **dest = self->ob_item + m;
 1327|  2.68k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1327:28): [True: 2.43k, False: 244]
  ------------------
 1328|  2.43k|        PyObject *o = src[i];
 1329|  2.43k|        FT_ATOMIC_STORE_PTR_RELEASE(dest[i], Py_NewRef(o));
  ------------------
  |  |  166|  2.43k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1330|  2.43k|    }
 1331|    244|    return 0;
 1332|    244|}
listobject.c:list_preallocate_exact:
  220|    287|{
  221|    287|    PyObject **items;
  222|    287|    assert(self->ob_item == NULL);
  ------------------
  |  Branch (222:5): [True: 287, False: 0]
  ------------------
  223|    287|    assert(size > 0);
  ------------------
  |  Branch (223:5): [True: 287, False: 0]
  ------------------
  224|       |
  225|       |    /* Since the Python memory allocator has granularity of 16 bytes on 64-bit
  226|       |     * platforms (8 on 32-bit), there is no benefit of allocating space for
  227|       |     * the odd number of items, and there is no drawback of rounding the
  228|       |     * allocated size up to the nearest even number.
  229|       |     */
  230|    287|    size = (size + 1) & ~(size_t)1;
  231|       |#ifdef Py_GIL_DISABLED
  232|       |    _PyListArray *array = list_allocate_array(size);
  233|       |    if (array == NULL) {
  234|       |        PyErr_NoMemory();
  235|       |        return -1;
  236|       |    }
  237|       |    items = array->ob_item;
  238|       |    memset(items, 0, size * sizeof(PyObject *));
  239|       |#else
  240|    287|    items = PyMem_New(PyObject*, size);
  ------------------
  |  |   64|    287|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    287|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 287]
  |  |  ------------------
  |  |   65|    287|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  241|    287|    if (items == NULL) {
  ------------------
  |  Branch (241:9): [True: 0, False: 287]
  ------------------
  242|      0|        PyErr_NoMemory();
  243|      0|        return -1;
  244|      0|    }
  245|    287|#endif
  246|    287|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item, items);
  ------------------
  |  |  166|    287|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  247|    287|    self->allocated = size;
  248|    287|    return 0;
  249|    287|}
listobject.c:list_extend_set:
 1424|      4|{
 1425|      4|    Py_ssize_t m = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1426|      4|    Py_ssize_t n = PySet_GET_SIZE(other);
  ------------------
  |  |   71|      4|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1427|      4|    Py_ssize_t r = m + n;
 1428|      4|    if (r == 0) {
  ------------------
  |  Branch (1428:9): [True: 4, False: 0]
  ------------------
 1429|      4|        return 0;
 1430|      4|    }
 1431|      0|    if (list_resize(self, r) < 0) {
  ------------------
  |  Branch (1431:9): [True: 0, False: 0]
  ------------------
 1432|      0|        return -1;
 1433|      0|    }
 1434|       |
 1435|      0|    assert(self->ob_item != NULL);
  ------------------
  |  Branch (1435:5): [True: 0, False: 0]
  ------------------
 1436|       |    /* populate the end of self with iterable's items */
 1437|      0|    Py_ssize_t setpos = 0;
 1438|      0|    Py_hash_t hash;
 1439|      0|    PyObject *key;
 1440|      0|    PyObject **dest = self->ob_item + m;
 1441|      0|    while (_PySet_NextEntryRef((PyObject *)other, &setpos, &key, &hash)) {
  ------------------
  |  Branch (1441:12): [True: 0, False: 0]
  ------------------
 1442|      0|        FT_ATOMIC_STORE_PTR_RELEASE(*dest, key);
  ------------------
  |  |  166|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1443|      0|        dest++;
 1444|      0|    }
 1445|      0|    Py_SET_SIZE(self, r);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1446|      0|    return 0;
 1447|      0|}
listobject.c:list_extend_dict:
 1451|      8|{
 1452|       |    // which_item: 0 for keys and 1 for values
 1453|      8|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1454|      8|    Py_ssize_t n = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|      8|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1455|      8|    Py_ssize_t r = m + n;
 1456|      8|    if (r == 0) {
  ------------------
  |  Branch (1456:9): [True: 0, False: 8]
  ------------------
 1457|      0|        return 0;
 1458|      0|    }
 1459|      8|    if (list_resize(self, r) < 0) {
  ------------------
  |  Branch (1459:9): [True: 0, False: 8]
  ------------------
 1460|      0|        return -1;
 1461|      0|    }
 1462|       |
 1463|      8|    assert(self->ob_item != NULL);
  ------------------
  |  Branch (1463:5): [True: 8, False: 0]
  ------------------
 1464|      8|    PyObject **dest = self->ob_item + m;
 1465|      8|    Py_ssize_t pos = 0;
 1466|      8|    PyObject *keyvalue[2];
 1467|    143|    while (_PyDict_Next((PyObject *)dict, &pos, &keyvalue[0], &keyvalue[1], NULL)) {
  ------------------
  |  Branch (1467:12): [True: 135, False: 8]
  ------------------
 1468|    135|        PyObject *obj = keyvalue[which_item];
 1469|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1470|    135|        FT_ATOMIC_STORE_PTR_RELEASE(*dest, obj);
  ------------------
  |  |  166|    135|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1471|    135|        dest++;
 1472|    135|    }
 1473|       |
 1474|      8|    Py_SET_SIZE(self, r);
  ------------------
  |  |  216|      8|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      8|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1475|      8|    return 0;
 1476|      8|}
listobject.c:list_extend_iter_lock_held:
 1336|    117|{
 1337|    117|    PyObject *it = PyObject_GetIter(iterable);
 1338|    117|    if (it == NULL) {
  ------------------
  |  Branch (1338:9): [True: 0, False: 117]
  ------------------
 1339|      0|        return -1;
 1340|      0|    }
 1341|    117|    PyObject *(*iternext)(PyObject *) = *Py_TYPE(it)->tp_iternext;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1342|       |
 1343|       |    /* Guess a result list size. */
 1344|    117|    Py_ssize_t n = PyObject_LengthHint(iterable, 8);
 1345|    117|    if (n < 0) {
  ------------------
  |  Branch (1345:9): [True: 0, False: 117]
  ------------------
 1346|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1347|      0|        return -1;
 1348|      0|    }
 1349|       |
 1350|    117|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1351|    117|    if (m > PY_SSIZE_T_MAX - n) {
  ------------------
  |  |  137|    117|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1351:9): [True: 0, False: 117]
  ------------------
 1352|       |        /* m + n overflowed; on the chance that n lied, and there really
 1353|       |         * is enough room, ignore it.  If n was telling the truth, we'll
 1354|       |         * eventually run out of memory during the loop.
 1355|       |         */
 1356|      0|    }
 1357|    117|    else if (self->ob_item == NULL) {
  ------------------
  |  Branch (1357:14): [True: 99, False: 18]
  ------------------
 1358|     99|        if (n && list_preallocate_exact(self, n) < 0)
  ------------------
  |  Branch (1358:13): [True: 99, False: 0]
  |  Branch (1358:18): [True: 0, False: 99]
  ------------------
 1359|      0|            goto error;
 1360|     99|    }
 1361|     18|    else {
 1362|       |        /* Make room. */
 1363|     18|        if (list_resize(self, m + n) < 0) {
  ------------------
  |  Branch (1363:13): [True: 0, False: 18]
  ------------------
 1364|      0|            goto error;
 1365|      0|        }
 1366|       |
 1367|       |        /* Make the list sane again. */
 1368|     18|        Py_SET_SIZE(self, m);
  ------------------
  |  |  216|     18|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     18|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1369|     18|    }
 1370|       |
 1371|       |    /* Run iterator to exhaustion. */
 1372|  1.44k|    for (;;) {
 1373|  1.44k|        PyObject *item = iternext(it);
 1374|  1.44k|        if (item == NULL) {
  ------------------
  |  Branch (1374:13): [True: 117, False: 1.32k]
  ------------------
 1375|    117|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (1375:17): [True: 0, False: 117]
  ------------------
 1376|      0|                if (PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (1376:21): [True: 0, False: 0]
  ------------------
 1377|      0|                    PyErr_Clear();
 1378|      0|                else
 1379|      0|                    goto error;
 1380|      0|            }
 1381|    117|            break;
 1382|    117|        }
 1383|       |
 1384|  1.32k|        if (Py_SIZE(self) < self->allocated) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1384:13): [True: 1.32k, False: 0]
  ------------------
 1385|  1.32k|            Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1386|  1.32k|            FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[len], item);  // steals item ref
  ------------------
  |  |  166|  1.32k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1387|  1.32k|            Py_SET_SIZE(self, len + 1);
  ------------------
  |  |  216|  1.32k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  1.32k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1388|  1.32k|        }
 1389|      0|        else {
 1390|      0|            if (_PyList_AppendTakeRef(self, item) < 0)
  ------------------
  |  Branch (1390:17): [True: 0, False: 0]
  ------------------
 1391|      0|                goto error;
 1392|      0|        }
 1393|  1.32k|    }
 1394|       |
 1395|       |    /* Cut back result list if initial guess was too large. */
 1396|    117|    if (Py_SIZE(self) < self->allocated) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1396:9): [True: 68, False: 49]
  ------------------
 1397|     68|        if (list_resize(self, Py_SIZE(self)) < 0)
  ------------------
  |  |  214|     68|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1397:13): [True: 0, False: 68]
  ------------------
 1398|      0|            goto error;
 1399|     68|    }
 1400|       |
 1401|    117|    Py_DECREF(it);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1402|    117|    return 0;
 1403|       |
 1404|      0|  error:
 1405|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1406|      0|    return -1;
 1407|    117|}
listobject.c:list_clear:
  957|    212|{
  958|       |    list_clear_impl(a, true);
  959|    212|}
listobject.c:list_clear_impl:
  927|    212|{
  928|    212|    PyObject **items = a->ob_item;
  929|    212|    if (items == NULL) {
  ------------------
  |  Branch (929:9): [True: 2, False: 210]
  ------------------
  930|      2|        return;
  931|      2|    }
  932|       |
  933|       |    /* Because XDECREF can recursively invoke operations on
  934|       |       this list, we make it empty first. */
  935|    210|    Py_ssize_t i = Py_SIZE(a);
  ------------------
  |  |  214|    210|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    210|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  936|    210|    Py_SET_SIZE(a, 0);
  ------------------
  |  |  216|    210|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    210|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  937|    210|    FT_ATOMIC_STORE_PTR_RELEASE(a->ob_item, NULL);
  ------------------
  |  |  166|    210|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  938|    210|    a->allocated = 0;
  939|    420|    while (--i >= 0) {
  ------------------
  |  Branch (939:12): [True: 210, False: 210]
  ------------------
  940|    210|        Py_XDECREF(items[i]);
  ------------------
  |  |  621|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  941|    210|    }
  942|       |#ifdef Py_GIL_DISABLED
  943|       |    if (is_resize) {
  944|       |        ensure_shared_on_resize(a);
  945|       |    }
  946|       |    bool use_qsbr = is_resize && _PyObject_GC_IS_SHARED(a);
  947|       |#else
  948|    210|    bool use_qsbr = false;
  949|    210|#endif
  950|    210|    free_list_items(items, use_qsbr);
  951|       |    // Note that there is no guarantee that the list is actually empty
  952|       |    // at this point, because XDECREF may have populated it indirectly again!
  953|    210|}
listobject.c:free_list_items:
   60|  1.37k|{
   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|  1.37k|    PyMem_Free(items);
   72|  1.37k|#endif
   73|  1.37k|}
listobject.c:list_sort_impl:
 3021|     94|{
 3022|     94|    MergeState ms;
 3023|     94|    Py_ssize_t nremaining;
 3024|     94|    Py_ssize_t minrun;
 3025|     94|    sortslice lo;
 3026|     94|    Py_ssize_t saved_ob_size, saved_allocated;
 3027|     94|    PyObject **saved_ob_item;
 3028|     94|    PyObject **final_ob_item;
 3029|     94|    PyObject *result = NULL;            /* guilty until proved innocent */
 3030|     94|    Py_ssize_t i;
 3031|     94|    PyObject **keys;
 3032|       |
 3033|     94|    assert(self != NULL);
  ------------------
  |  Branch (3033:5): [True: 94, False: 0]
  ------------------
 3034|     94|    assert(PyList_Check(self));
  ------------------
  |  Branch (3034:5): [True: 94, False: 0]
  ------------------
 3035|     94|    if (keyfunc == Py_None)
  ------------------
  |  |  616|     94|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3035:9): [True: 7, False: 87]
  ------------------
 3036|      7|        keyfunc = NULL;
 3037|       |
 3038|       |    /* The list is temporarily made empty, so that mutations performed
 3039|       |     * by comparison functions can't affect the slice of memory we're
 3040|       |     * sorting (allowing mutations during sorting is a core-dump
 3041|       |     * factory, since ob_item may change).
 3042|       |     */
 3043|     94|    saved_ob_size = Py_SIZE(self);
  ------------------
  |  |  214|     94|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3044|     94|    saved_ob_item = self->ob_item;
 3045|     94|    saved_allocated = self->allocated;
 3046|     94|    Py_SET_SIZE(self, 0);
  ------------------
  |  |  216|     94|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     94|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3047|     94|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item, NULL);
  ------------------
  |  |  166|     94|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 3048|     94|    self->allocated = -1; /* any operation will reset it to >= 0 */
 3049|       |
 3050|     94|    if (keyfunc == NULL) {
  ------------------
  |  Branch (3050:9): [True: 94, False: 0]
  ------------------
 3051|     94|        keys = NULL;
 3052|     94|        lo.keys = saved_ob_item;
 3053|     94|        lo.values = NULL;
 3054|     94|    }
 3055|      0|    else {
 3056|      0|        if (saved_ob_size < MERGESTATE_TEMP_SIZE/2)
  ------------------
  |  | 1786|      0|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (3056:13): [True: 0, False: 0]
  ------------------
 3057|       |            /* Leverage stack space we allocated but won't otherwise use */
 3058|      0|            keys = &ms.temparray[saved_ob_size+1];
 3059|      0|        else {
 3060|      0|            keys = PyMem_Malloc(sizeof(PyObject *) * saved_ob_size);
 3061|      0|            if (keys == NULL) {
  ------------------
  |  Branch (3061:17): [True: 0, False: 0]
  ------------------
 3062|      0|                PyErr_NoMemory();
 3063|      0|                goto keyfunc_fail;
 3064|      0|            }
 3065|      0|        }
 3066|       |
 3067|      0|        for (i = 0; i < saved_ob_size ; i++) {
  ------------------
  |  Branch (3067:21): [True: 0, False: 0]
  ------------------
 3068|      0|            keys[i] = PyObject_CallOneArg(keyfunc, saved_ob_item[i]);
 3069|      0|            if (keys[i] == NULL) {
  ------------------
  |  Branch (3069:17): [True: 0, False: 0]
  ------------------
 3070|      0|                for (i=i-1 ; i>=0 ; i--)
  ------------------
  |  Branch (3070:30): [True: 0, False: 0]
  ------------------
 3071|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3072|      0|                if (saved_ob_size >= MERGESTATE_TEMP_SIZE/2)
  ------------------
  |  | 1786|      0|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (3072:21): [True: 0, False: 0]
  ------------------
 3073|      0|                    PyMem_Free(keys);
 3074|      0|                goto keyfunc_fail;
 3075|      0|            }
 3076|      0|        }
 3077|       |
 3078|      0|        lo.keys = keys;
 3079|      0|        lo.values = saved_ob_item;
 3080|      0|    }
 3081|       |
 3082|       |
 3083|       |    /* The pre-sort check: here's where we decide which compare function to use.
 3084|       |     * How much optimization is safe? We test for homogeneity with respect to
 3085|       |     * several properties that are expensive to check at compare-time, and
 3086|       |     * set ms appropriately. */
 3087|     94|    if (saved_ob_size > 1) {
  ------------------
  |  Branch (3087:9): [True: 17, False: 77]
  ------------------
 3088|       |        /* Assume the first element is representative of the whole list. */
 3089|     17|        int keys_are_in_tuples = (Py_IS_TYPE(lo.keys[0], &PyTuple_Type) &&
  ------------------
  |  |  215|     34|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 17]
  |  |  ------------------
  ------------------
 3090|      0|                                  Py_SIZE(lo.keys[0]) > 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 (3090:35): [True: 0, False: 0]
  ------------------
 3091|       |
 3092|     17|        PyTypeObject* key_type = (keys_are_in_tuples ?
  ------------------
  |  Branch (3092:35): [True: 0, False: 17]
  ------------------
 3093|      0|                                  Py_TYPE(PyTuple_GET_ITEM(lo.keys[0], 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3094|     17|                                  Py_TYPE(lo.keys[0]));
  ------------------
  |  |  213|     17|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3095|       |
 3096|     17|        int keys_are_all_same_type = 1;
 3097|     17|        int strings_are_latin = 1;
 3098|     17|        int ints_are_bounded = 1;
 3099|       |
 3100|       |        /* Prove that assumption by checking every key. */
 3101|    945|        for (i=0; i < saved_ob_size; i++) {
  ------------------
  |  Branch (3101:19): [True: 928, False: 17]
  ------------------
 3102|       |
 3103|    928|            if (keys_are_in_tuples &&
  ------------------
  |  Branch (3103:17): [True: 0, False: 928]
  ------------------
 3104|      0|                !(Py_IS_TYPE(lo.keys[i], &PyTuple_Type) && Py_SIZE(lo.keys[i]) != 0)) {
  ------------------
  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      0|#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(lo.keys[i], &PyTuple_Type) && Py_SIZE(lo.keys[i]) != 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 (3104:60): [True: 0, False: 0]
  ------------------
 3105|      0|                keys_are_in_tuples = 0;
 3106|      0|                keys_are_all_same_type = 0;
 3107|      0|                break;
 3108|      0|            }
 3109|       |
 3110|       |            /* Note: for lists of tuples, key is the first element of the tuple
 3111|       |             * lo.keys[i], not lo.keys[i] itself! We verify type-homogeneity
 3112|       |             * for lists of tuples in the if-statement directly above. */
 3113|    928|            PyObject *key = (keys_are_in_tuples ?
  ------------------
  |  Branch (3113:30): [True: 0, False: 928]
  ------------------
 3114|      0|                             PyTuple_GET_ITEM(lo.keys[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 (3114:30): [True: 0, False: 0]
  ------------------
 3115|    928|                             lo.keys[i]);
 3116|       |
 3117|    928|            if (!Py_IS_TYPE(key, key_type)) {
  ------------------
  |  |  215|    928|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    928|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    928|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3117:17): [True: 0, False: 928]
  ------------------
 3118|      0|                keys_are_all_same_type = 0;
 3119|       |                /* If keys are in tuple we must loop over the whole list to make
 3120|       |                   sure all items are tuples */
 3121|      0|                if (!keys_are_in_tuples) {
  ------------------
  |  Branch (3121:21): [True: 0, False: 0]
  ------------------
 3122|      0|                    break;
 3123|      0|                }
 3124|      0|            }
 3125|       |
 3126|    928|            if (keys_are_all_same_type) {
  ------------------
  |  Branch (3126:17): [True: 928, False: 0]
  ------------------
 3127|    928|                if (key_type == &PyLong_Type &&
  ------------------
  |  Branch (3127:21): [True: 8, False: 920]
  ------------------
 3128|      8|                    ints_are_bounded &&
  ------------------
  |  Branch (3128:21): [True: 8, False: 0]
  ------------------
 3129|      8|                    !_PyLong_IsCompact((PyLongObject *)key)) {
  ------------------
  |  Branch (3129:21): [True: 0, False: 8]
  ------------------
 3130|       |
 3131|      0|                    ints_are_bounded = 0;
 3132|      0|                }
 3133|    928|                else if (key_type == &PyUnicode_Type &&
  ------------------
  |  Branch (3133:26): [True: 920, False: 8]
  ------------------
 3134|    920|                         strings_are_latin &&
  ------------------
  |  Branch (3134:26): [True: 920, False: 0]
  ------------------
 3135|  1.84k|                         PyUnicode_KIND(key) != PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  259|    920|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.84k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 920, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3135:26): [True: 0, False: 920]
  ------------------
 3136|       |
 3137|      0|                        strings_are_latin = 0;
 3138|      0|                    }
 3139|    928|                }
 3140|    928|            }
 3141|       |
 3142|       |        /* Choose the best compare, given what we now know about the keys. */
 3143|     17|        if (keys_are_all_same_type) {
  ------------------
  |  Branch (3143:13): [True: 17, False: 0]
  ------------------
 3144|       |
 3145|     17|            if (key_type == &PyUnicode_Type && strings_are_latin) {
  ------------------
  |  Branch (3145:17): [True: 16, False: 1]
  |  Branch (3145:48): [True: 16, False: 0]
  ------------------
 3146|     16|                ms.key_compare = unsafe_latin_compare;
 3147|     16|            }
 3148|      1|            else if (key_type == &PyLong_Type && ints_are_bounded) {
  ------------------
  |  Branch (3148:22): [True: 1, False: 0]
  |  Branch (3148:50): [True: 1, False: 0]
  ------------------
 3149|      1|                ms.key_compare = unsafe_long_compare;
 3150|      1|            }
 3151|      0|            else if (key_type == &PyFloat_Type) {
  ------------------
  |  Branch (3151:22): [True: 0, False: 0]
  ------------------
 3152|      0|                ms.key_compare = unsafe_float_compare;
 3153|      0|            }
 3154|      0|            else if ((ms.key_richcompare = key_type->tp_richcompare) != NULL) {
  ------------------
  |  Branch (3154:22): [True: 0, False: 0]
  ------------------
 3155|      0|                ms.key_compare = unsafe_object_compare;
 3156|      0|            }
 3157|      0|            else {
 3158|      0|                ms.key_compare = safe_object_compare;
 3159|      0|            }
 3160|     17|        }
 3161|      0|        else {
 3162|      0|            ms.key_compare = safe_object_compare;
 3163|      0|        }
 3164|       |
 3165|     17|        if (keys_are_in_tuples) {
  ------------------
  |  Branch (3165:13): [True: 0, False: 17]
  ------------------
 3166|       |            /* Make sure we're not dealing with tuples of tuples
 3167|       |             * (remember: here, key_type refers list [key[0] for key in keys]) */
 3168|      0|            if (key_type == &PyTuple_Type) {
  ------------------
  |  Branch (3168:17): [True: 0, False: 0]
  ------------------
 3169|      0|                ms.tuple_elem_compare = safe_object_compare;
 3170|      0|            }
 3171|      0|            else {
 3172|      0|                ms.tuple_elem_compare = ms.key_compare;
 3173|      0|            }
 3174|       |
 3175|      0|            ms.key_compare = unsafe_tuple_compare;
 3176|      0|        }
 3177|     17|    }
 3178|       |    /* End of pre-sort check: ms is now set properly! */
 3179|       |
 3180|     94|    merge_init(&ms, saved_ob_size, keys != NULL, &lo);
 3181|       |
 3182|     94|    nremaining = saved_ob_size;
 3183|     94|    if (nremaining < 2)
  ------------------
  |  Branch (3183:9): [True: 77, False: 17]
  ------------------
 3184|     77|        goto succeed;
 3185|       |
 3186|       |    /* Reverse sort stability achieved by initially reversing the list,
 3187|       |    applying a stable forward sort, then reversing the final result. */
 3188|     17|    if (reverse) {
  ------------------
  |  Branch (3188:9): [True: 1, False: 16]
  ------------------
 3189|      1|        if (keys != NULL)
  ------------------
  |  Branch (3189:13): [True: 0, False: 1]
  ------------------
 3190|      0|            reverse_slice(&keys[0], &keys[saved_ob_size]);
 3191|      1|        reverse_slice(&saved_ob_item[0], &saved_ob_item[saved_ob_size]);
 3192|      1|    }
 3193|       |
 3194|       |    /* March over the array once, left to right, finding natural runs,
 3195|       |     * and extending short natural runs to minrun elements.
 3196|       |     */
 3197|     31|    do {
 3198|     31|        Py_ssize_t n;
 3199|       |
 3200|       |        /* Identify next run. */
 3201|     31|        n = count_run(&ms, &lo, nremaining);
 3202|     31|        if (n < 0)
  ------------------
  |  Branch (3202:13): [True: 0, False: 31]
  ------------------
 3203|      0|            goto fail;
 3204|       |        /* If short, extend to min(minrun, nremaining). */
 3205|     31|        minrun = minrun_next(&ms);
 3206|     31|        if (n < minrun) {
  ------------------
  |  Branch (3206:13): [True: 27, False: 4]
  ------------------
 3207|     27|            const Py_ssize_t force = nremaining <= minrun ?
  ------------------
  |  Branch (3207:38): [True: 13, False: 14]
  ------------------
 3208|     14|                              nremaining : minrun;
 3209|     27|            if (binarysort(&ms, &lo, force, n) < 0)
  ------------------
  |  Branch (3209:17): [True: 0, False: 27]
  ------------------
 3210|      0|                goto fail;
 3211|     27|            n = force;
 3212|     27|        }
 3213|       |        /* Maybe merge pending runs. */
 3214|     31|        assert(ms.n == 0 || ms.pending[ms.n -1].base.keys +
  ------------------
  |  Branch (3214:9): [True: 17, False: 14]
  |  Branch (3214:9): [True: 14, False: 0]
  ------------------
 3215|     31|                            ms.pending[ms.n-1].len == lo.keys);
 3216|     31|        if (found_new_run(&ms, n) < 0)
  ------------------
  |  Branch (3216:13): [True: 0, False: 31]
  ------------------
 3217|      0|            goto fail;
 3218|       |        /* Push new run on stack. */
 3219|     31|        assert(ms.n < MAX_MERGE_PENDING);
  ------------------
  |  Branch (3219:9): [True: 31, False: 0]
  ------------------
 3220|     31|        ms.pending[ms.n].base = lo;
 3221|     31|        ms.pending[ms.n].len = n;
 3222|     31|        ++ms.n;
 3223|       |        /* Advance to find next run. */
 3224|     31|        sortslice_advance(&lo, n);
 3225|     31|        nremaining -= n;
 3226|     31|    } while (nremaining);
  ------------------
  |  Branch (3226:14): [True: 14, False: 17]
  ------------------
 3227|       |
 3228|     17|    if (merge_force_collapse(&ms) < 0)
  ------------------
  |  Branch (3228:9): [True: 0, False: 17]
  ------------------
 3229|      0|        goto fail;
 3230|     17|    assert(ms.n == 1);
  ------------------
  |  Branch (3230:5): [True: 17, False: 0]
  ------------------
 3231|     17|    assert(keys == NULL
  ------------------
  |  Branch (3231:5): [True: 17, False: 0]
  |  Branch (3231:5): [True: 17, False: 0]
  ------------------
 3232|     17|           ? ms.pending[0].base.keys == saved_ob_item
 3233|     17|           : ms.pending[0].base.keys == &keys[0]);
 3234|     17|    assert(ms.pending[0].len == saved_ob_size);
  ------------------
  |  Branch (3234:5): [True: 17, False: 0]
  ------------------
 3235|     17|    lo = ms.pending[0].base;
 3236|       |
 3237|     94|succeed:
 3238|     94|    result = Py_None;
  ------------------
  |  |  616|     94|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3239|     94|fail:
 3240|     94|    if (keys != NULL) {
  ------------------
  |  Branch (3240:9): [True: 0, False: 94]
  ------------------
 3241|      0|        for (i = 0; i < saved_ob_size; i++)
  ------------------
  |  Branch (3241:21): [True: 0, False: 0]
  ------------------
 3242|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3243|      0|        if (saved_ob_size >= MERGESTATE_TEMP_SIZE/2)
  ------------------
  |  | 1786|      0|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (3243:13): [True: 0, False: 0]
  ------------------
 3244|      0|            PyMem_Free(keys);
 3245|      0|    }
 3246|       |
 3247|     94|    if (self->allocated != -1 && result != NULL) {
  ------------------
  |  Branch (3247:9): [True: 0, False: 94]
  |  Branch (3247:34): [True: 0, False: 0]
  ------------------
 3248|       |        /* The user mucked with the list during the sort,
 3249|       |         * and we don't already have another error to report.
 3250|       |         */
 3251|      0|        PyErr_SetString(PyExc_ValueError, "list modified during sort");
 3252|      0|        result = NULL;
 3253|      0|    }
 3254|       |
 3255|     94|    if (reverse && saved_ob_size > 1)
  ------------------
  |  Branch (3255:9): [True: 1, False: 93]
  |  Branch (3255:20): [True: 1, False: 0]
  ------------------
 3256|      1|        reverse_slice(saved_ob_item, saved_ob_item + saved_ob_size);
 3257|       |
 3258|     94|    merge_freemem(&ms);
 3259|       |
 3260|     94|keyfunc_fail:
 3261|     94|    final_ob_item = self->ob_item;
 3262|     94|    i = Py_SIZE(self);
  ------------------
  |  |  214|     94|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3263|     94|    Py_SET_SIZE(self, saved_ob_size);
  ------------------
  |  |  216|     94|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     94|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3264|     94|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item, saved_ob_item);
  ------------------
  |  |  166|     94|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 3265|     94|    FT_ATOMIC_STORE_SSIZE_RELAXED(self->allocated, saved_allocated);
  ------------------
  |  |  197|     94|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 3266|     94|    if (final_ob_item != NULL) {
  ------------------
  |  Branch (3266:9): [True: 0, False: 94]
  ------------------
 3267|       |        /* we cannot use list_clear() for this because it does not
 3268|       |           guarantee that the list is really empty when it returns */
 3269|      0|        while (--i >= 0) {
  ------------------
  |  Branch (3269:16): [True: 0, False: 0]
  ------------------
 3270|      0|            Py_XDECREF(final_ob_item[i]);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3271|      0|        }
 3272|       |#ifdef Py_GIL_DISABLED
 3273|       |        ensure_shared_on_resize(self);
 3274|       |        bool use_qsbr = _PyObject_GC_IS_SHARED(self);
 3275|       |#else
 3276|      0|        bool use_qsbr = false;
 3277|      0|#endif
 3278|      0|        free_list_items(final_ob_item, use_qsbr);
 3279|      0|    }
 3280|     94|    return Py_XNewRef(result);
  ------------------
  |  |  648|     94|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3281|     94|}
listobject.c:unsafe_latin_compare:
 2891|  5.23k|{
 2892|  5.23k|    Py_ssize_t len;
 2893|  5.23k|    int res;
 2894|       |
 2895|       |    /* Modified from Objects/unicodeobject.c:unicode_compare, assuming: */
 2896|  5.23k|    assert(Py_IS_TYPE(v, &PyUnicode_Type));
  ------------------
  |  Branch (2896:5): [True: 5.23k, False: 0]
  ------------------
 2897|  5.23k|    assert(Py_IS_TYPE(w, &PyUnicode_Type));
  ------------------
  |  Branch (2897:5): [True: 5.23k, False: 0]
  ------------------
 2898|  5.23k|    assert(PyUnicode_KIND(v) == PyUnicode_KIND(w));
  ------------------
  |  Branch (2898:5): [True: 5.23k, False: 0]
  |  Branch (2898:5): [True: 5.23k, False: 0]
  |  Branch (2898:5): [True: 5.23k, False: 0]
  ------------------
 2899|  5.23k|    assert(PyUnicode_KIND(v) == PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (2899:5): [True: 5.23k, False: 0]
  |  Branch (2899:5): [True: 5.23k, False: 0]
  ------------------
 2900|       |
 2901|  5.23k|    len = Py_MIN(PyUnicode_GET_LENGTH(v), PyUnicode_GET_LENGTH(w));
  ------------------
  |  |  127|  5.23k|       __extension__ \
  |  |  128|  5.23k|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  5.23k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|  5.23k|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  5.23k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|  5.23k|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 1.92k, False: 3.30k]
  |  |  ------------------
  ------------------
 2902|  5.23k|    res = memcmp(PyUnicode_DATA(v), PyUnicode_DATA(w), len);
  ------------------
  |  |  285|  5.23k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  res = memcmp(PyUnicode_DATA(v), PyUnicode_DATA(w), len);
  ------------------
  |  |  285|  5.23k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2903|       |
 2904|  5.23k|    res = (res != 0 ?
  ------------------
  |  Branch (2904:12): [True: 5.13k, False: 91]
  ------------------
 2905|  5.13k|           res < 0 :
 2906|  5.23k|           PyUnicode_GET_LENGTH(v) < PyUnicode_GET_LENGTH(w));
  ------------------
  |  |  300|     91|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                         PyUnicode_GET_LENGTH(v) < PyUnicode_GET_LENGTH(w));
  ------------------
  |  |  300|     91|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2907|       |
 2908|  5.23k|    assert_compare_consistent(v, w, res);
 2909|  5.23k|    return res;
 2910|  5.23k|}
listobject.c:assert_compare_consistent:
 2871|  5.24k|{
 2872|  5.24k|    int cmp = PyObject_RichCompareBool(v, w, Py_LT);
  ------------------
  |  |  652|  5.24k|#define Py_LT 0
  ------------------
 2873|  5.24k|    if (cmp < 0) {
  ------------------
  |  Branch (2873:9): [True: 0, False: 5.24k]
  ------------------
 2874|       |        /* This debug-only cross-check can hit the C stack guard even when
 2875|       |         * the specialized comparison itself is safe. Keep the optimized path
 2876|       |         * side-effect free by discarding that exception.
 2877|       |         */
 2878|      0|        assert(PyErr_ExceptionMatches(PyExc_RecursionError));
  ------------------
  |  Branch (2878:9): [True: 0, False: 0]
  ------------------
 2879|      0|        PyErr_Clear();
 2880|      0|        return;
 2881|      0|    }
 2882|  5.24k|    assert(res == cmp);
  ------------------
  |  Branch (2882:5): [True: 5.24k, False: 0]
  ------------------
 2883|  5.24k|}
listobject.c:unsafe_long_compare:
 2915|     19|{
 2916|     19|    PyLongObject *vl, *wl;
 2917|     19|    intptr_t v0, w0;
 2918|     19|    int res;
 2919|       |
 2920|       |    /* Modified from Objects/longobject.c:long_compare, assuming: */
 2921|     19|    assert(Py_IS_TYPE(v, &PyLong_Type));
  ------------------
  |  Branch (2921:5): [True: 19, False: 0]
  ------------------
 2922|     19|    assert(Py_IS_TYPE(w, &PyLong_Type));
  ------------------
  |  Branch (2922:5): [True: 19, False: 0]
  ------------------
 2923|     19|    assert(_PyLong_IsCompact((PyLongObject *)v));
  ------------------
  |  Branch (2923:5): [True: 19, False: 0]
  ------------------
 2924|     19|    assert(_PyLong_IsCompact((PyLongObject *)w));
  ------------------
  |  Branch (2924:5): [True: 19, False: 0]
  ------------------
 2925|       |
 2926|     19|    vl = (PyLongObject*)v;
 2927|     19|    wl = (PyLongObject*)w;
 2928|       |
 2929|     19|    v0 = _PyLong_CompactValue(vl);
 2930|     19|    w0 = _PyLong_CompactValue(wl);
 2931|       |
 2932|     19|    res = v0 < w0;
 2933|     19|    assert_compare_consistent(v, w, res);
 2934|     19|    return res;
 2935|     19|}
listobject.c:merge_init:
 2289|     94|{
 2290|     94|    assert(ms != NULL);
  ------------------
  |  Branch (2290:5): [True: 94, False: 0]
  ------------------
 2291|     94|    if (has_keyfunc) {
  ------------------
  |  Branch (2291:9): [True: 0, False: 94]
  ------------------
 2292|       |        /* The temporary space for merging will need at most half the list
 2293|       |         * size rounded up.  Use the minimum possible space so we can use the
 2294|       |         * rest of temparray for other things.  In particular, if there is
 2295|       |         * enough extra space, listsort() will use it to store the keys.
 2296|       |         */
 2297|      0|        ms->alloced = (list_size + 1) / 2;
 2298|       |
 2299|       |        /* ms->alloced describes how many keys will be stored at
 2300|       |           ms->temparray, but we also need to store the values.  Hence,
 2301|       |           ms->alloced is capped at half of MERGESTATE_TEMP_SIZE. */
 2302|      0|        if (MERGESTATE_TEMP_SIZE / 2 < ms->alloced)
  ------------------
  |  | 1786|      0|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (2302:13): [True: 0, False: 0]
  ------------------
 2303|      0|            ms->alloced = MERGESTATE_TEMP_SIZE / 2;
  ------------------
  |  | 1786|      0|#define MERGESTATE_TEMP_SIZE 256
  ------------------
 2304|      0|        ms->a.values = &ms->temparray[ms->alloced];
 2305|      0|    }
 2306|     94|    else {
 2307|     94|        ms->alloced = MERGESTATE_TEMP_SIZE;
  ------------------
  |  | 1786|     94|#define MERGESTATE_TEMP_SIZE 256
  ------------------
 2308|     94|        ms->a.values = NULL;
 2309|     94|    }
 2310|     94|    ms->a.keys = ms->temparray;
 2311|     94|    ms->n = 0;
 2312|     94|    ms->min_gallop = MIN_GALLOP;
  ------------------
  |  | 1783|     94|#define MIN_GALLOP 7
  ------------------
 2313|     94|    ms->listlen = list_size;
 2314|     94|    ms->basekeys = lo->keys;
 2315|       |
 2316|       |    /* State for generating minrun values. See listsort.txt. */
 2317|     94|    ms->mr_e = 0;
 2318|    100|    while (list_size >> ms->mr_e >= MAX_MINRUN) {
  ------------------
  |  | 1789|    100|#define MAX_MINRUN 64
  ------------------
  |  Branch (2318:12): [True: 6, False: 94]
  ------------------
 2319|      6|        ++ms->mr_e;
 2320|      6|    }
 2321|     94|    ms->mr_mask = ((Py_ssize_t)1 << ms->mr_e) - 1;
 2322|     94|    ms->mr_current = 0;
 2323|     94|}
listobject.c:count_run:
 2007|     31|{
 2008|     31|    Py_ssize_t k; /* used by IFLT macro expansion */
 2009|     31|    Py_ssize_t n;
 2010|     31|    PyObject ** const lo = slo->keys;
 2011|       |
 2012|       |    /* In general, as things go on we've established that the slice starts
 2013|       |       with a monotone run of n elements, starting at lo. */
 2014|       |
 2015|       |    /* We're n elements into the slice, and the most recent neq+1 elements are
 2016|       |     * all equal. This reverses them in-place, and resets neq for reuse.
 2017|       |     */
 2018|     31|#define REVERSE_LAST_NEQ                        \
 2019|     31|    if (neq) {                                  \
 2020|     31|        sortslice slice = *slo;                 \
 2021|     31|        ++neq;                                  \
 2022|     31|        sortslice_advance(&slice, n - neq);     \
 2023|     31|        sortslice_reverse(&slice, neq);         \
 2024|     31|        neq = 0;                                \
 2025|     31|    }
 2026|       |
 2027|       |    /* Sticking to only __lt__ compares is confusing and error-prone. But in
 2028|       |     * this routine, almost all uses of IFLT can be captured by tiny macros
 2029|       |     * giving mnemonic names to the intent. Note that inline functions don't
 2030|       |     * work for this (IFLT expands to code including `goto fail`).
 2031|       |     */
 2032|     31|#define IF_NEXT_LARGER  IFLT(lo[n-1], lo[n])
 2033|     31|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
 2034|       |
 2035|     31|    assert(nremaining);
  ------------------
  |  Branch (2035:5): [True: 31, False: 0]
  ------------------
 2036|       |    /* try ascending run first */
 2037|     69|    for (n = 1; n < nremaining; ++n) {
  ------------------
  |  Branch (2037:17): [True: 68, False: 1]
  ------------------
 2038|     68|        IF_NEXT_SMALLER
  ------------------
  |  | 2033|     68|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
  |  |  ------------------
  |  |  |  | 1770|     68|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1764|     68|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1770:24): [True: 0, False: 68]
  |  |  |  |  ------------------
  |  |  |  | 1771|     68|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1771:16): [True: 30, False: 38]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2039|     30|            break;
 2040|     68|    }
 2041|     31|    if (n == nremaining)
  ------------------
  |  Branch (2041:9): [True: 1, False: 30]
  ------------------
 2042|      1|        return n;
 2043|       |    /* lo[n] is strictly less */
 2044|       |    /* If n is 1 now, then the first compare established it's a descending
 2045|       |     * run, so fall through to the descending case. But if n > 1, there are
 2046|       |     * n elements in an ascending run terminated by the strictly less lo[n].
 2047|       |     * If the first key < lo[n-1], *somewhere* along the way the sequence
 2048|       |     * increased, so we're done (there is no descending run).
 2049|       |     * Else first key >= lo[n-1], which implies that the entire ascending run
 2050|       |     * consists of equal elements. In that case, this is a descending run,
 2051|       |     * and we reverse the all-equal prefix in-place.
 2052|       |     */
 2053|     30|    if (n > 1) {
  ------------------
  |  Branch (2053:9): [True: 18, False: 12]
  ------------------
 2054|     18|        IFLT(lo[0], lo[n-1])
  ------------------
  |  | 1770|     18|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|     18|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 18]
  |  |  ------------------
  |  | 1771|     18|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 18, False: 0]
  |  |  ------------------
  ------------------
 2055|     18|            return n;
 2056|      0|        sortslice_reverse(slo, n);
 2057|      0|    }
 2058|     12|    ++n; /* in all cases it's been established that lo[n] has been resolved */
 2059|       |
 2060|       |    /* Finish descending run. All-squal subruns are reversed in-place on the
 2061|       |     * fly. Their original order will be restored at the end by the whole-slice
 2062|       |     * reversal.
 2063|       |     */
 2064|     12|    Py_ssize_t neq = 0;
 2065|     63|    for ( ; n < nremaining; ++n) {
  ------------------
  |  Branch (2065:13): [True: 60, False: 3]
  ------------------
 2066|     60|        IF_NEXT_SMALLER {
  ------------------
  |  | 2033|     60|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
  |  |  ------------------
  |  |  |  | 1770|     60|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1764|     60|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1770:24): [True: 0, False: 60]
  |  |  |  |  ------------------
  |  |  |  | 1771|     60|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1771:16): [True: 51, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2067|       |            /* This ends the most recent run of equal elements, but still in
 2068|       |             * the "descending" direction.
 2069|       |             */
 2070|     51|            REVERSE_LAST_NEQ
  ------------------
  |  | 2019|     51|    if (neq) {                                  \
  |  |  ------------------
  |  |  |  Branch (2019:9): [True: 0, False: 51]
  |  |  ------------------
  |  | 2020|      0|        sortslice slice = *slo;                 \
  |  | 2021|      0|        ++neq;                                  \
  |  | 2022|      0|        sortslice_advance(&slice, n - neq);     \
  |  | 2023|      0|        sortslice_reverse(&slice, neq);         \
  |  | 2024|      0|        neq = 0;                                \
  |  | 2025|      0|    }
  ------------------
 2071|     51|        }
 2072|      9|        else {
 2073|      9|            IF_NEXT_LARGER /* descending run is over */
  ------------------
  |  | 2032|      9|#define IF_NEXT_LARGER  IFLT(lo[n-1], lo[n])
  |  |  ------------------
  |  |  |  | 1770|      9|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1764|      9|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1770:24): [True: 0, False: 9]
  |  |  |  |  ------------------
  |  |  |  | 1771|      9|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1771:16): [True: 9, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2074|      9|                break;
 2075|      0|            else /* not x < y and not y < x implies x == y */
 2076|      0|                ++neq;
 2077|      9|        }
 2078|     60|    }
 2079|     12|    REVERSE_LAST_NEQ
  ------------------
  |  | 2019|     12|    if (neq) {                                  \
  |  |  ------------------
  |  |  |  Branch (2019:9): [True: 0, False: 12]
  |  |  ------------------
  |  | 2020|      0|        sortslice slice = *slo;                 \
  |  | 2021|      0|        ++neq;                                  \
  |  | 2022|      0|        sortslice_advance(&slice, n - neq);     \
  |  | 2023|      0|        sortslice_reverse(&slice, neq);         \
  |  | 2024|      0|        neq = 0;                                \
  |  | 2025|      0|    }
  ------------------
 2080|     12|    sortslice_reverse(slo, n); /* transform to ascending run */
 2081|       |
 2082|       |    /* And after reversing, it's possible this can be extended by a
 2083|       |     * naturally increasing suffix; e.g., [3, 2, 3, 4, 1] makes an
 2084|       |     * ascending run from the first 4 elements.
 2085|       |     */
 2086|     15|    for ( ; n < nremaining; ++n) {
  ------------------
  |  Branch (2086:13): [True: 12, False: 3]
  ------------------
 2087|     12|        IF_NEXT_SMALLER
  ------------------
  |  | 2033|     12|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
  |  |  ------------------
  |  |  |  | 1770|     12|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1764|     12|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1770:24): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  |  | 1771|     12|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1771:16): [True: 9, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2088|      9|            break;
 2089|     12|    }
 2090|       |
 2091|     12|    return n;
 2092|      0|fail:
 2093|      0|    return -1;
 2094|       |
 2095|     12|#undef REVERSE_LAST_NEQ
 2096|     12|#undef IF_NEXT_SMALLER
 2097|     12|#undef IF_NEXT_LARGER
 2098|     12|}
listobject.c:sortslice_reverse:
 1991|     12|{
 1992|     12|    reverse_slice(s->keys, &s->keys[n]);
 1993|     12|    if (s->values != NULL)
  ------------------
  |  Branch (1993:9): [True: 0, False: 12]
  ------------------
 1994|      0|        reverse_slice(s->values, &s->values[n]);
 1995|     12|}
listobject.c:minrun_next:
 2803|     31|{
 2804|     31|    ms->mr_current += ms->listlen;
 2805|     31|    assert(ms->mr_current >= 0); /* no overflow */
  ------------------
  |  Branch (2805:5): [True: 31, False: 0]
  ------------------
 2806|     31|    Py_ssize_t result = ms->mr_current >> ms->mr_e;
 2807|     31|    ms->mr_current &= ms->mr_mask;
 2808|     31|    return result;
 2809|     31|}
listobject.c:binarysort:
 1869|     27|{
 1870|     27|    Py_ssize_t k; /* for IFLT macro expansion */
 1871|     27|    PyObject ** const a = ss->keys;
 1872|     27|    PyObject ** const v = ss->values;
 1873|     27|    const bool has_values = v != NULL;
 1874|     27|    PyObject *pivot;
 1875|     27|    Py_ssize_t M;
 1876|       |
 1877|     27|    assert(0 <= ok && ok <= n && 1 <= n && n <= MAX_MINRUN);
  ------------------
  |  Branch (1877:5): [True: 27, False: 0]
  |  Branch (1877:5): [True: 27, False: 0]
  |  Branch (1877:5): [True: 27, False: 0]
  |  Branch (1877:5): [True: 27, False: 0]
  ------------------
 1878|       |    /* assert a[:ok] is sorted */
 1879|     27|    if (! ok)
  ------------------
  |  Branch (1879:9): [True: 0, False: 27]
  ------------------
 1880|      0|        ++ok;
 1881|       |    /* Regular insertion sort has average- and worst-case O(n**2) cost
 1882|       |       for both # of comparisons and number of bytes moved. But its branches
 1883|       |       are highly predictable, and it loves sorted input (n-1 compares and no
 1884|       |       data movement). This is significant in cases like sortperf.py's %sort,
 1885|       |       where an out-of-order element near the start of a run is moved into
 1886|       |       place slowly but then the remaining elements up to length minrun are
 1887|       |       generally at worst one slot away from their correct position (so only
 1888|       |       need 1 or 2 commpares to resolve). If comparisons are very fast (such
 1889|       |       as for a list of Python floats), the simple inner loop leaves it
 1890|       |       very competitive with binary insertion, despite that it does
 1891|       |       significantly more compares overall on random data.
 1892|       |
 1893|       |       Binary insertion sort has worst, average, and best case O(n log n)
 1894|       |       cost for # of comparisons, but worst and average case O(n**2) cost
 1895|       |       for data movement. The more expensive comparisons, the more important
 1896|       |       the comparison advantage. But its branches are less predictable the
 1897|       |       more "randomish" the data, and that's so significant its worst case
 1898|       |       in real life is random input rather than reverse-ordered (which does
 1899|       |       about twice the data movement than random input does).
 1900|       |
 1901|       |       Note that the number of bytes moved doesn't seem to matter. MAX_MINRUN
 1902|       |       of 64 is so small that the key and value pointers all fit in a corner
 1903|       |       of L1 cache, and moving things around in that is very fast. */
 1904|       |#if 0 // ordinary insertion sort.
 1905|       |    PyObject * vpivot = NULL;
 1906|       |    for (; ok < n; ++ok) {
 1907|       |        pivot = a[ok];
 1908|       |        if (has_values)
 1909|       |            vpivot = v[ok];
 1910|       |        for (M = ok - 1; M >= 0; --M) {
 1911|       |            k = ISLT(pivot, a[M]);
 1912|       |            if (k < 0) {
 1913|       |                a[M + 1] = pivot;
 1914|       |                if (has_values)
 1915|       |                    v[M + 1] = vpivot;
 1916|       |                goto fail;
 1917|       |            }
 1918|       |            else if (k) {
 1919|       |                a[M + 1] = a[M];
 1920|       |                if (has_values)
 1921|       |                    v[M + 1] = v[M];
 1922|       |            }
 1923|       |            else
 1924|       |                break;
 1925|       |        }
 1926|       |        a[M + 1] = pivot;
 1927|       |        if (has_values)
 1928|       |            v[M + 1] = vpivot;
 1929|       |    }
 1930|       |#else // binary insertion sort
 1931|     27|    Py_ssize_t L, R;
 1932|    820|    for (; ok < n; ++ok) {
  ------------------
  |  Branch (1932:12): [True: 793, False: 27]
  ------------------
 1933|       |        /* set L to where a[ok] belongs */
 1934|    793|        L = 0;
 1935|    793|        R = ok;
 1936|    793|        pivot = a[ok];
 1937|       |        /* Slice invariants. vacuously true at the start:
 1938|       |         * all a[0:L]  <= pivot
 1939|       |         * all a[L:R]     unknown
 1940|       |         * all a[R:ok]  > pivot
 1941|       |         */
 1942|    793|        assert(L < R);
  ------------------
  |  Branch (1942:9): [True: 793, False: 0]
  ------------------
 1943|  3.47k|        do {
 1944|       |            /* don't do silly ;-) things to prevent overflow when finding
 1945|       |               the midpoint; L and R are very far from filling a Py_ssize_t */
 1946|  3.47k|            M = (L + R) >> 1;
 1947|  3.47k|#if 1 // straightforward, but highly unpredictable branch on random data
 1948|  3.47k|            IFLT(pivot, a[M])
  ------------------
  |  | 1770|  3.47k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|  3.47k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 3.47k]
  |  |  ------------------
  |  | 1771|  3.47k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 1.74k, False: 1.73k]
  |  |  ------------------
  ------------------
 1949|  1.74k|                R = M;
 1950|  1.73k|            else
 1951|  1.73k|                L = M + 1;
 1952|       |#else
 1953|       |            /* Try to get compiler to generate conditional move instructions
 1954|       |               instead. Works fine, but leaving it disabled for now because
 1955|       |               it's not yielding consistently faster sorts. Needs more
 1956|       |               investigation. More computation in the inner loop adds its own
 1957|       |               costs, which can be significant when compares are fast. */
 1958|       |            k = ISLT(pivot, a[M]);
 1959|       |            if (k < 0)
 1960|       |                goto fail;
 1961|       |            Py_ssize_t Mp1 = M + 1;
 1962|       |            R = k ? M : R;
 1963|       |            L = k ? L : Mp1;
 1964|       |#endif
 1965|  3.47k|        } while (L < R);
  ------------------
  |  Branch (1965:18): [True: 2.68k, False: 793]
  ------------------
 1966|    793|        assert(L == R);
  ------------------
  |  Branch (1966:9): [True: 793, False: 0]
  ------------------
 1967|       |        /* a[:L] holds all elements from a[:ok] <= pivot now, so pivot belongs
 1968|       |           at index L. Slide a[L:ok] to the right a slot to make room for it.
 1969|       |           Caution: using memmove is much slower under MSVC 5; we're not
 1970|       |           usually moving many slots. Years later: under Visual Studio 2022,
 1971|       |           memmove seems just slightly slower than doing it "by hand". */
 1972|  9.63k|        for (M = ok; M > L; --M)
  ------------------
  |  Branch (1972:22): [True: 8.84k, False: 793]
  ------------------
 1973|  8.84k|            a[M] = a[M - 1];
 1974|    793|        a[L] = pivot;
 1975|    793|        if (has_values) {
  ------------------
  |  Branch (1975:13): [True: 0, False: 793]
  ------------------
 1976|      0|            pivot = v[ok];
 1977|      0|            for (M = ok; M > L; --M)
  ------------------
  |  Branch (1977:26): [True: 0, False: 0]
  ------------------
 1978|      0|                v[M] = v[M - 1];
 1979|      0|            v[L] = pivot;
 1980|      0|        }
 1981|    793|    }
 1982|     27|#endif // pick binary or regular insertion sort
 1983|     27|    return 0;
 1984|       |
 1985|      0| fail:
 1986|      0|    return -1;
 1987|     27|}
listobject.c:found_new_run:
 2761|     31|{
 2762|     31|    assert(ms);
  ------------------
  |  Branch (2762:5): [True: 31, False: 0]
  ------------------
 2763|     31|    if (ms->n) {
  ------------------
  |  Branch (2763:9): [True: 14, False: 17]
  ------------------
 2764|     14|        assert(ms->n > 0);
  ------------------
  |  Branch (2764:9): [True: 14, False: 0]
  ------------------
 2765|     14|        struct s_slice *p = ms->pending;
 2766|     14|        Py_ssize_t s1 = p[ms->n - 1].base.keys - ms->basekeys; /* start index */
 2767|     14|        Py_ssize_t n1 = p[ms->n - 1].len;
 2768|     14|        int power = powerloop(s1, n1, n2, ms->listlen);
 2769|     22|        while (ms->n > 1 && p[ms->n - 2].power > power) {
  ------------------
  |  Branch (2769:16): [True: 16, False: 6]
  |  Branch (2769:29): [True: 8, False: 8]
  ------------------
 2770|      8|            if (merge_at(ms, ms->n - 2) < 0)
  ------------------
  |  Branch (2770:17): [True: 0, False: 8]
  ------------------
 2771|      0|                return -1;
 2772|      8|        }
 2773|     14|        assert(ms->n < 2 || p[ms->n - 2].power < power);
  ------------------
  |  Branch (2773:9): [True: 6, False: 8]
  |  Branch (2773:9): [True: 8, False: 0]
  ------------------
 2774|     14|        p[ms->n - 1].power = power;
 2775|     14|    }
 2776|     31|    return 0;
 2777|     31|}
listobject.c:powerloop:
 2714|     14|{
 2715|     14|    int result = 0;
 2716|     14|    assert(s1 >= 0);
  ------------------
  |  Branch (2716:5): [True: 14, False: 0]
  ------------------
 2717|     14|    assert(n1 > 0 && n2 > 0);
  ------------------
  |  Branch (2717:5): [True: 14, False: 0]
  |  Branch (2717:5): [True: 14, False: 0]
  ------------------
 2718|     14|    assert(s1 + n1 + n2 <= n);
  ------------------
  |  Branch (2718:5): [True: 14, False: 0]
  ------------------
 2719|       |    /* midpoints a and b:
 2720|       |     * a = s1 + n1/2
 2721|       |     * b = s1 + n1 + n2/2 = a + (n1 + n2)/2
 2722|       |     *
 2723|       |     * Those may not be integers, though, because of the "/2". So we work with
 2724|       |     * 2*a and 2*b instead, which are necessarily integers. It makes no
 2725|       |     * difference to the outcome, since the bits in the expansion of (2*i)/n
 2726|       |     * are merely shifted one position from those of i/n.
 2727|       |     */
 2728|     14|    Py_ssize_t a = 2 * s1 + n1;  /* 2*a */
 2729|     14|    Py_ssize_t b = a + n1 + n2;  /* 2*b */
 2730|       |    /* Emulate a/n and b/n one bit a time, until bits differ. */
 2731|     34|    for (;;) {
 2732|     34|        ++result;
 2733|     34|        if (a >= n) {  /* both quotient bits are 1 */
  ------------------
  |  Branch (2733:13): [True: 10, False: 24]
  ------------------
 2734|     10|            assert(b >= a);
  ------------------
  |  Branch (2734:13): [True: 10, False: 0]
  ------------------
 2735|     10|            a -= n;
 2736|     10|            b -= n;
 2737|     10|        }
 2738|     24|        else if (b >= n) {  /* a/n bit is 0, b/n bit is 1 */
  ------------------
  |  Branch (2738:18): [True: 14, False: 10]
  ------------------
 2739|     14|            break;
 2740|     14|        } /* else both quotient bits are 0 */
 2741|     34|        assert(a < b && b < n);
  ------------------
  |  Branch (2741:9): [True: 20, False: 0]
  |  Branch (2741:9): [True: 20, False: 0]
  ------------------
 2742|     20|        a <<= 1;
 2743|     20|        b <<= 1;
 2744|     20|    }
 2745|     14|    return result;
 2746|     14|}
listobject.c:merge_at:
 2654|     14|{
 2655|     14|    sortslice ssa, ssb;
 2656|     14|    Py_ssize_t na, nb;
 2657|     14|    Py_ssize_t k;
 2658|       |
 2659|     14|    assert(ms != NULL);
  ------------------
  |  Branch (2659:5): [True: 14, False: 0]
  ------------------
 2660|     14|    assert(ms->n >= 2);
  ------------------
  |  Branch (2660:5): [True: 14, False: 0]
  ------------------
 2661|     14|    assert(i >= 0);
  ------------------
  |  Branch (2661:5): [True: 14, False: 0]
  ------------------
 2662|     14|    assert(i == ms->n - 2 || i == ms->n - 3);
  ------------------
  |  Branch (2662:5): [True: 14, False: 0]
  |  Branch (2662:5): [True: 0, False: 0]
  ------------------
 2663|       |
 2664|     14|    ssa = ms->pending[i].base;
 2665|     14|    na = ms->pending[i].len;
 2666|     14|    ssb = ms->pending[i+1].base;
 2667|     14|    nb = ms->pending[i+1].len;
 2668|     14|    assert(na > 0 && nb > 0);
  ------------------
  |  Branch (2668:5): [True: 14, False: 0]
  |  Branch (2668:5): [True: 14, False: 0]
  ------------------
 2669|     14|    assert(ssa.keys + na == ssb.keys);
  ------------------
  |  Branch (2669:5): [True: 14, False: 0]
  ------------------
 2670|       |
 2671|       |    /* Record the length of the combined runs; if i is the 3rd-last
 2672|       |     * run now, also slide over the last run (which isn't involved
 2673|       |     * in this merge).  The current run i+1 goes away in any case.
 2674|       |     */
 2675|     14|    ms->pending[i].len = na + nb;
 2676|     14|    if (i == ms->n - 3)
  ------------------
  |  Branch (2676:9): [True: 0, False: 14]
  ------------------
 2677|      0|        ms->pending[i+1] = ms->pending[i+2];
 2678|     14|    --ms->n;
 2679|       |
 2680|       |    /* Where does b start in a?  Elements in a before that can be
 2681|       |     * ignored (already in place).
 2682|       |     */
 2683|     14|    k = gallop_right(ms, *ssb.keys, ssa.keys, na, 0);
 2684|     14|    if (k < 0)
  ------------------
  |  Branch (2684:9): [True: 0, False: 14]
  ------------------
 2685|      0|        return -1;
 2686|     14|    sortslice_advance(&ssa, k);
 2687|     14|    na -= k;
 2688|     14|    if (na == 0)
  ------------------
  |  Branch (2688:9): [True: 0, False: 14]
  ------------------
 2689|      0|        return 0;
 2690|       |
 2691|       |    /* Where does a end in b?  Elements in b after that can be
 2692|       |     * ignored (already in place).
 2693|       |     */
 2694|     14|    nb = gallop_left(ms, ssa.keys[na-1], ssb.keys, nb, nb-1);
 2695|     14|    if (nb <= 0)
  ------------------
  |  Branch (2695:9): [True: 0, False: 14]
  ------------------
 2696|      0|        return nb;
 2697|       |
 2698|       |    /* Merge what remains of the runs, using a temp array with
 2699|       |     * min(na, nb) elements.
 2700|       |     */
 2701|     14|    if (na <= nb)
  ------------------
  |  Branch (2701:9): [True: 8, False: 6]
  ------------------
 2702|      8|        return merge_lo(ms, ssa, na, ssb, nb);
 2703|      6|    else
 2704|      6|        return merge_hi(ms, ssa, na, ssb, nb);
 2705|     14|}
listobject.c:gallop_right:
 2212|     70|{
 2213|     70|    Py_ssize_t ofs;
 2214|     70|    Py_ssize_t lastofs;
 2215|     70|    Py_ssize_t k;
 2216|       |
 2217|     70|    assert(key && a && n > 0 && hint >= 0 && hint < n);
  ------------------
  |  Branch (2217:5): [True: 70, False: 0]
  |  Branch (2217:5): [True: 70, False: 0]
  |  Branch (2217:5): [True: 70, False: 0]
  |  Branch (2217:5): [True: 70, False: 0]
  |  Branch (2217:5): [True: 70, False: 0]
  ------------------
 2218|       |
 2219|     70|    a += hint;
 2220|     70|    lastofs = 0;
 2221|     70|    ofs = 1;
 2222|     70|    IFLT(key, *a) {
  ------------------
  |  | 1770|     70|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|     70|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 70]
  |  |  ------------------
  |  | 1771|     70|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 38, False: 32]
  |  |  ------------------
  ------------------
 2223|       |        /* key < a[hint] -- gallop left, until
 2224|       |         * a[hint - ofs] <= key < a[hint - lastofs]
 2225|       |         */
 2226|     38|        const Py_ssize_t maxofs = hint + 1;             /* &a[0] is lowest */
 2227|     74|        while (ofs < maxofs) {
  ------------------
  |  Branch (2227:16): [True: 46, False: 28]
  ------------------
 2228|     46|            IFLT(key, *(a-ofs)) {
  ------------------
  |  | 1770|     46|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|     46|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 46]
  |  |  ------------------
  |  | 1771|     46|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 36, False: 10]
  |  |  ------------------
  ------------------
 2229|     36|                lastofs = ofs;
 2230|     36|                assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
  ------------------
  |  Branch (2230:17): [True: 36, False: 0]
  ------------------
 2231|     36|                ofs = (ofs << 1) + 1;
 2232|     36|            }
 2233|     10|            else                /* a[hint - ofs] <= key */
 2234|     10|                break;
 2235|     46|        }
 2236|     38|        if (ofs > maxofs)
  ------------------
  |  Branch (2236:13): [True: 4, False: 34]
  ------------------
 2237|      4|            ofs = maxofs;
 2238|       |        /* Translate back to positive offsets relative to &a[0]. */
 2239|     38|        k = lastofs;
 2240|     38|        lastofs = hint - ofs;
 2241|     38|        ofs = hint - k;
 2242|     38|    }
 2243|     32|    else {
 2244|       |        /* a[hint] <= key -- gallop right, until
 2245|       |         * a[hint + lastofs] <= key < a[hint + ofs]
 2246|       |        */
 2247|     32|        const Py_ssize_t maxofs = n - hint;             /* &a[n-1] is highest */
 2248|     80|        while (ofs < maxofs) {
  ------------------
  |  Branch (2248:16): [True: 70, False: 10]
  ------------------
 2249|     70|            IFLT(key, a[ofs])
  ------------------
  |  | 1770|     70|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|     70|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 70]
  |  |  ------------------
  |  | 1771|     70|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 22, False: 48]
  |  |  ------------------
  ------------------
 2250|     22|                break;
 2251|       |            /* a[hint + ofs] <= key */
 2252|     48|            lastofs = ofs;
 2253|     48|            assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
  ------------------
  |  Branch (2253:13): [True: 48, False: 0]
  ------------------
 2254|     48|            ofs = (ofs << 1) + 1;
 2255|     48|        }
 2256|     32|        if (ofs > maxofs)
  ------------------
  |  Branch (2256:13): [True: 0, False: 32]
  ------------------
 2257|      0|            ofs = maxofs;
 2258|       |        /* Translate back to offsets relative to &a[0]. */
 2259|     32|        lastofs += hint;
 2260|     32|        ofs += hint;
 2261|     32|    }
 2262|     70|    a -= hint;
 2263|       |
 2264|     70|    assert(-1 <= lastofs && lastofs < ofs && ofs <= n);
  ------------------
  |  Branch (2264:5): [True: 70, False: 0]
  |  Branch (2264:5): [True: 70, False: 0]
  |  Branch (2264:5): [True: 70, False: 0]
  ------------------
 2265|       |    /* Now a[lastofs] <= key < a[ofs], so key belongs somewhere to the
 2266|       |     * right of lastofs but no farther right than ofs.  Do a binary
 2267|       |     * search, with invariant a[lastofs-1] <= key < a[ofs].
 2268|       |     */
 2269|     70|    ++lastofs;
 2270|    152|    while (lastofs < ofs) {
  ------------------
  |  Branch (2270:12): [True: 82, False: 70]
  ------------------
 2271|     82|        Py_ssize_t m = lastofs + ((ofs - lastofs) >> 1);
 2272|       |
 2273|     82|        IFLT(key, a[m])
  ------------------
  |  | 1770|     82|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|     82|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 82]
  |  |  ------------------
  |  | 1771|     82|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 44, False: 38]
  |  |  ------------------
  ------------------
 2274|     44|            ofs = m;                    /* key < a[m] */
 2275|     38|        else
 2276|     38|            lastofs = m+1;              /* a[m] <= key */
 2277|     82|    }
 2278|     70|    assert(lastofs == ofs);             /* so a[ofs-1] <= key < a[ofs] */
  ------------------
  |  Branch (2278:5): [True: 70, False: 0]
  ------------------
 2279|     70|    return ofs;
 2280|       |
 2281|      0|fail:
 2282|      0|    return -1;
 2283|     70|}
listobject.c:gallop_left:
 2123|     64|{
 2124|     64|    Py_ssize_t ofs;
 2125|     64|    Py_ssize_t lastofs;
 2126|     64|    Py_ssize_t k;
 2127|       |
 2128|     64|    assert(key && a && n > 0 && hint >= 0 && hint < n);
  ------------------
  |  Branch (2128:5): [True: 64, False: 0]
  |  Branch (2128:5): [True: 64, False: 0]
  |  Branch (2128:5): [True: 64, False: 0]
  |  Branch (2128:5): [True: 64, False: 0]
  |  Branch (2128:5): [True: 64, False: 0]
  ------------------
 2129|       |
 2130|     64|    a += hint;
 2131|     64|    lastofs = 0;
 2132|     64|    ofs = 1;
 2133|     64|    IFLT(*a, key) {
  ------------------
  |  | 1770|     64|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|     64|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 64]
  |  |  ------------------
  |  | 1771|     64|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 28, False: 36]
  |  |  ------------------
  ------------------
 2134|       |        /* a[hint] < key -- gallop right, until
 2135|       |         * a[hint + lastofs] < key <= a[hint + ofs]
 2136|       |         */
 2137|     28|        const Py_ssize_t maxofs = n - hint;             /* &a[n-1] is highest */
 2138|     58|        while (ofs < maxofs) {
  ------------------
  |  Branch (2138:16): [True: 42, False: 16]
  ------------------
 2139|     42|            IFLT(a[ofs], key) {
  ------------------
  |  | 1770|     42|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|     42|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 42]
  |  |  ------------------
  |  | 1771|     42|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 30, False: 12]
  |  |  ------------------
  ------------------
 2140|     30|                lastofs = ofs;
 2141|     30|                assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
  ------------------
  |  Branch (2141:17): [True: 30, False: 0]
  ------------------
 2142|     30|                ofs = (ofs << 1) + 1;
 2143|     30|            }
 2144|     12|            else                /* key <= a[hint + ofs] */
 2145|     12|                break;
 2146|     42|        }
 2147|     28|        if (ofs > maxofs)
  ------------------
  |  Branch (2147:13): [True: 2, False: 26]
  ------------------
 2148|      2|            ofs = maxofs;
 2149|       |        /* Translate back to offsets relative to &a[0]. */
 2150|     28|        lastofs += hint;
 2151|     28|        ofs += hint;
 2152|     28|    }
 2153|     36|    else {
 2154|       |        /* key <= a[hint] -- gallop left, until
 2155|       |         * a[hint - ofs] < key <= a[hint - lastofs]
 2156|       |         */
 2157|     36|        const Py_ssize_t maxofs = hint + 1;             /* &a[0] is lowest */
 2158|     90|        while (ofs < maxofs) {
  ------------------
  |  Branch (2158:16): [True: 74, False: 16]
  ------------------
 2159|     74|            IFLT(*(a-ofs), key)
  ------------------
  |  | 1770|     74|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|     74|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 74]
  |  |  ------------------
  |  | 1771|     74|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 20, False: 54]
  |  |  ------------------
  ------------------
 2160|     20|                break;
 2161|       |            /* key <= a[hint - ofs] */
 2162|     54|            lastofs = ofs;
 2163|     54|            assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
  ------------------
  |  Branch (2163:13): [True: 54, False: 0]
  ------------------
 2164|     54|            ofs = (ofs << 1) + 1;
 2165|     54|        }
 2166|     36|        if (ofs > maxofs)
  ------------------
  |  Branch (2166:13): [True: 2, False: 34]
  ------------------
 2167|      2|            ofs = maxofs;
 2168|       |        /* Translate back to positive offsets relative to &a[0]. */
 2169|     36|        k = lastofs;
 2170|     36|        lastofs = hint - ofs;
 2171|     36|        ofs = hint - k;
 2172|     36|    }
 2173|     64|    a -= hint;
 2174|       |
 2175|     64|    assert(-1 <= lastofs && lastofs < ofs && ofs <= n);
  ------------------
  |  Branch (2175:5): [True: 64, False: 0]
  |  Branch (2175:5): [True: 64, False: 0]
  |  Branch (2175:5): [True: 64, False: 0]
  ------------------
 2176|       |    /* Now a[lastofs] < key <= a[ofs], so key belongs somewhere to the
 2177|       |     * right of lastofs but no farther right than ofs.  Do a binary
 2178|       |     * search, with invariant a[lastofs-1] < key <= a[ofs].
 2179|       |     */
 2180|     64|    ++lastofs;
 2181|    142|    while (lastofs < ofs) {
  ------------------
  |  Branch (2181:12): [True: 78, False: 64]
  ------------------
 2182|     78|        Py_ssize_t m = lastofs + ((ofs - lastofs) >> 1);
 2183|       |
 2184|     78|        IFLT(a[m], key)
  ------------------
  |  | 1770|     78|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|     78|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 78]
  |  |  ------------------
  |  | 1771|     78|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 36, False: 42]
  |  |  ------------------
  ------------------
 2185|     36|            lastofs = m+1;              /* a[m] < key */
 2186|     42|        else
 2187|     42|            ofs = m;                    /* key <= a[m] */
 2188|     78|    }
 2189|     64|    assert(lastofs == ofs);             /* so a[ofs-1] < key <= a[ofs] */
  ------------------
  |  Branch (2189:5): [True: 64, False: 0]
  ------------------
 2190|     64|    return ofs;
 2191|       |
 2192|      0|fail:
 2193|      0|    return -1;
 2194|     64|}
listobject.c:merge_lo:
 2384|      8|{
 2385|      8|    Py_ssize_t k;
 2386|      8|    sortslice dest;
 2387|      8|    int result = -1;            /* guilty until proved innocent */
 2388|      8|    Py_ssize_t min_gallop;
 2389|       |
 2390|      8|    assert(ms && ssa.keys && ssb.keys && na > 0 && nb > 0);
  ------------------
  |  Branch (2390:5): [True: 8, False: 0]
  |  Branch (2390:5): [True: 8, False: 0]
  |  Branch (2390:5): [True: 8, False: 0]
  |  Branch (2390:5): [True: 8, False: 0]
  |  Branch (2390:5): [True: 8, False: 0]
  ------------------
 2391|      8|    assert(ssa.keys + na == ssb.keys);
  ------------------
  |  Branch (2391:5): [True: 8, False: 0]
  ------------------
 2392|      8|    if (MERGE_GETMEM(ms, na) < 0)
  ------------------
  |  | 2372|      8|#define MERGE_GETMEM(MS, NEED) ((NEED) <= (MS)->alloced ? 0 :   \
  |  |  ------------------
  |  |  |  Branch (2372:33): [True: 8, False: 0]
  |  |  ------------------
  |  | 2373|      8|                                merge_getmem(MS, NEED))
  ------------------
  |  Branch (2392:9): [True: 0, False: 8]
  ------------------
 2393|      0|        return -1;
 2394|      8|    sortslice_memcpy(&ms->a, 0, &ssa, 0, na);
 2395|      8|    dest = ssa;
 2396|      8|    ssa = ms->a;
 2397|       |
 2398|      8|    sortslice_copy_incr(&dest, &ssb);
 2399|      8|    --nb;
 2400|      8|    if (nb == 0)
  ------------------
  |  Branch (2400:9): [True: 0, False: 8]
  ------------------
 2401|      0|        goto Succeed;
 2402|      8|    if (na == 1)
  ------------------
  |  Branch (2402:9): [True: 0, False: 8]
  ------------------
 2403|      0|        goto CopyB;
 2404|       |
 2405|      8|    min_gallop = ms->min_gallop;
 2406|     26|    for (;;) {
 2407|     26|        Py_ssize_t acount = 0;          /* # of times A won in a row */
 2408|     26|        Py_ssize_t bcount = 0;          /* # of times B won in a row */
 2409|       |
 2410|       |        /* Do the straightforward thing until (if ever) one run
 2411|       |         * appears to win consistently.
 2412|       |         */
 2413|    562|        for (;;) {
 2414|    562|            assert(na > 1 && nb > 0);
  ------------------
  |  Branch (2414:13): [True: 562, False: 0]
  |  Branch (2414:13): [True: 562, False: 0]
  ------------------
 2415|    562|            k = ISLT(ssb.keys[0], ssa.keys[0]);
  ------------------
  |  | 1764|    562|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  ------------------
 2416|    562|            if (k) {
  ------------------
  |  Branch (2416:17): [True: 256, False: 306]
  ------------------
 2417|    256|                if (k < 0)
  ------------------
  |  Branch (2417:21): [True: 0, False: 256]
  ------------------
 2418|      0|                    goto Fail;
 2419|    256|                sortslice_copy_incr(&dest, &ssb);
 2420|    256|                ++bcount;
 2421|    256|                acount = 0;
 2422|    256|                --nb;
 2423|    256|                if (nb == 0)
  ------------------
  |  Branch (2423:21): [True: 4, False: 252]
  ------------------
 2424|      4|                    goto Succeed;
 2425|    252|                if (bcount >= min_gallop)
  ------------------
  |  Branch (2425:21): [True: 8, False: 244]
  ------------------
 2426|      8|                    break;
 2427|    252|            }
 2428|    306|            else {
 2429|    306|                sortslice_copy_incr(&dest, &ssa);
 2430|    306|                ++acount;
 2431|    306|                bcount = 0;
 2432|    306|                --na;
 2433|    306|                if (na == 1)
  ------------------
  |  Branch (2433:21): [True: 0, False: 306]
  ------------------
 2434|      0|                    goto CopyB;
 2435|    306|                if (acount >= min_gallop)
  ------------------
  |  Branch (2435:21): [True: 14, False: 292]
  ------------------
 2436|     14|                    break;
 2437|    306|            }
 2438|    562|        }
 2439|       |
 2440|       |        /* One run is winning so consistently that galloping may
 2441|       |         * be a huge win.  So try that, and continue galloping until
 2442|       |         * (if ever) neither run appears to be winning consistently
 2443|       |         * anymore.
 2444|       |         */
 2445|     22|        ++min_gallop;
 2446|     32|        do {
 2447|     32|            assert(na > 1 && nb > 0);
  ------------------
  |  Branch (2447:13): [True: 32, False: 0]
  |  Branch (2447:13): [True: 32, False: 0]
  ------------------
 2448|     32|            min_gallop -= min_gallop > 1;
 2449|     32|            ms->min_gallop = min_gallop;
 2450|     32|            k = gallop_right(ms, ssb.keys[0], ssa.keys, na, 0);
 2451|     32|            acount = k;
 2452|     32|            if (k) {
  ------------------
  |  Branch (2452:17): [True: 18, False: 14]
  ------------------
 2453|     18|                if (k < 0)
  ------------------
  |  Branch (2453:21): [True: 0, False: 18]
  ------------------
 2454|      0|                    goto Fail;
 2455|     18|                sortslice_memcpy(&dest, 0, &ssa, 0, k);
 2456|     18|                sortslice_advance(&dest, k);
 2457|     18|                sortslice_advance(&ssa, k);
 2458|     18|                na -= k;
 2459|     18|                if (na == 1)
  ------------------
  |  Branch (2459:21): [True: 2, False: 16]
  ------------------
 2460|      2|                    goto CopyB;
 2461|       |                /* na==0 is impossible now if the comparison
 2462|       |                 * function is consistent, but we can't assume
 2463|       |                 * that it is.
 2464|       |                 */
 2465|     16|                if (na == 0)
  ------------------
  |  Branch (2465:21): [True: 0, False: 16]
  ------------------
 2466|      0|                    goto Succeed;
 2467|     16|            }
 2468|     30|            sortslice_copy_incr(&dest, &ssb);
 2469|     30|            --nb;
 2470|     30|            if (nb == 0)
  ------------------
  |  Branch (2470:17): [True: 2, False: 28]
  ------------------
 2471|      2|                goto Succeed;
 2472|       |
 2473|     28|            k = gallop_left(ms, ssa.keys[0], ssb.keys, nb, 0);
 2474|     28|            bcount = k;
 2475|     28|            if (k) {
  ------------------
  |  Branch (2475:17): [True: 14, False: 14]
  ------------------
 2476|     14|                if (k < 0)
  ------------------
  |  Branch (2476:21): [True: 0, False: 14]
  ------------------
 2477|      0|                    goto Fail;
 2478|     14|                sortslice_memmove(&dest, 0, &ssb, 0, k);
 2479|     14|                sortslice_advance(&dest, k);
 2480|     14|                sortslice_advance(&ssb, k);
 2481|     14|                nb -= k;
 2482|     14|                if (nb == 0)
  ------------------
  |  Branch (2482:21): [True: 0, False: 14]
  ------------------
 2483|      0|                    goto Succeed;
 2484|     14|            }
 2485|     28|            sortslice_copy_incr(&dest, &ssa);
 2486|     28|            --na;
 2487|     28|            if (na == 1)
  ------------------
  |  Branch (2487:17): [True: 0, False: 28]
  ------------------
 2488|      0|                goto CopyB;
 2489|     28|        } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1783|     56|#define MIN_GALLOP 7
  ------------------
                      } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1783|     20|#define MIN_GALLOP 7
  ------------------
  |  Branch (2489:18): [True: 8, False: 20]
  |  Branch (2489:42): [True: 2, False: 18]
  ------------------
 2490|     18|        ++min_gallop;           /* penalize it for leaving galloping mode */
 2491|     18|        ms->min_gallop = min_gallop;
 2492|     18|    }
 2493|      6|Succeed:
 2494|      6|    result = 0;
 2495|      6|Fail:
 2496|      6|    if (na)
  ------------------
  |  Branch (2496:9): [True: 6, False: 0]
  ------------------
 2497|      6|        sortslice_memcpy(&dest, 0, &ssa, 0, na);
 2498|      6|    return result;
 2499|      2|CopyB:
 2500|      2|    assert(na == 1 && nb > 0);
  ------------------
  |  Branch (2500:5): [True: 2, False: 0]
  |  Branch (2500:5): [True: 2, False: 0]
  ------------------
 2501|       |    /* The last element of ssa belongs at the end of the merge. */
 2502|      2|    sortslice_memmove(&dest, 0, &ssb, 0, nb);
 2503|      2|    sortslice_copy(&dest, nb, &ssa, 0);
 2504|      2|    return 0;
 2505|      2|}
listobject.c:sortslice_memcpy:
 1736|     58|{
 1737|     58|    memcpy(&s1->keys[i], &s2->keys[j], sizeof(PyObject *) * n);
 1738|     58|    if (s1->values != NULL)
  ------------------
  |  Branch (1738:9): [True: 0, False: 58]
  ------------------
 1739|      0|        memcpy(&s1->values[i], &s2->values[j], sizeof(PyObject *) * n);
 1740|     58|}
listobject.c:sortslice_copy_incr:
 1718|    628|{
 1719|    628|    *dst->keys++ = *src->keys++;
 1720|    628|    if (dst->values != NULL)
  ------------------
  |  Branch (1720:9): [True: 0, False: 628]
  ------------------
 1721|      0|        *dst->values++ = *src->values++;
 1722|    628|}
listobject.c:sortslice_memmove:
 1745|     30|{
 1746|     30|    memmove(&s1->keys[i], &s2->keys[j], sizeof(PyObject *) * n);
 1747|     30|    if (s1->values != NULL)
  ------------------
  |  Branch (1747:9): [True: 0, False: 30]
  ------------------
 1748|      0|        memmove(&s1->values[i], &s2->values[j], sizeof(PyObject *) * n);
 1749|     30|}
listobject.c:sortslice_copy:
 1710|      2|{
 1711|      2|    s1->keys[i] = s2->keys[j];
 1712|      2|    if (s1->values != NULL)
  ------------------
  |  Branch (1712:9): [True: 0, False: 2]
  ------------------
 1713|      0|        s1->values[i] = s2->values[j];
 1714|      2|}
listobject.c:merge_hi:
 2516|      6|{
 2517|      6|    Py_ssize_t k;
 2518|      6|    sortslice dest, basea, baseb;
 2519|      6|    int result = -1;            /* guilty until proved innocent */
 2520|      6|    Py_ssize_t min_gallop;
 2521|       |
 2522|      6|    assert(ms && ssa.keys && ssb.keys && na > 0 && nb > 0);
  ------------------
  |  Branch (2522:5): [True: 6, False: 0]
  |  Branch (2522:5): [True: 6, False: 0]
  |  Branch (2522:5): [True: 6, False: 0]
  |  Branch (2522:5): [True: 6, False: 0]
  |  Branch (2522:5): [True: 6, False: 0]
  ------------------
 2523|      6|    assert(ssa.keys + na == ssb.keys);
  ------------------
  |  Branch (2523:5): [True: 6, False: 0]
  ------------------
 2524|      6|    if (MERGE_GETMEM(ms, nb) < 0)
  ------------------
  |  | 2372|      6|#define MERGE_GETMEM(MS, NEED) ((NEED) <= (MS)->alloced ? 0 :   \
  |  |  ------------------
  |  |  |  Branch (2372:33): [True: 6, False: 0]
  |  |  ------------------
  |  | 2373|      6|                                merge_getmem(MS, NEED))
  ------------------
  |  Branch (2524:9): [True: 0, False: 6]
  ------------------
 2525|      0|        return -1;
 2526|      6|    dest = ssb;
 2527|      6|    sortslice_advance(&dest, nb-1);
 2528|      6|    sortslice_memcpy(&ms->a, 0, &ssb, 0, nb);
 2529|      6|    basea = ssa;
 2530|      6|    baseb = ms->a;
 2531|      6|    ssb.keys = ms->a.keys + nb - 1;
 2532|      6|    if (ssb.values != NULL)
  ------------------
  |  Branch (2532:9): [True: 0, False: 6]
  ------------------
 2533|      0|        ssb.values = ms->a.values + nb - 1;
 2534|      6|    sortslice_advance(&ssa, na - 1);
 2535|       |
 2536|      6|    sortslice_copy_decr(&dest, &ssa);
 2537|      6|    --na;
 2538|      6|    if (na == 0)
  ------------------
  |  Branch (2538:9): [True: 0, False: 6]
  ------------------
 2539|      0|        goto Succeed;
 2540|      6|    if (nb == 1)
  ------------------
  |  Branch (2540:9): [True: 0, False: 6]
  ------------------
 2541|      0|        goto CopyA;
 2542|       |
 2543|      6|    min_gallop = ms->min_gallop;
 2544|     14|    for (;;) {
 2545|     14|        Py_ssize_t acount = 0;          /* # of times A won in a row */
 2546|     14|        Py_ssize_t bcount = 0;          /* # of times B won in a row */
 2547|       |
 2548|       |        /* Do the straightforward thing until (if ever) one run
 2549|       |         * appears to win consistently.
 2550|       |         */
 2551|    520|        for (;;) {
 2552|    520|            assert(na > 0 && nb > 1);
  ------------------
  |  Branch (2552:13): [True: 520, False: 0]
  |  Branch (2552:13): [True: 520, False: 0]
  ------------------
 2553|    520|            k = ISLT(ssb.keys[0], ssa.keys[0]);
  ------------------
  |  | 1764|    520|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  ------------------
 2554|    520|            if (k) {
  ------------------
  |  Branch (2554:17): [True: 300, False: 220]
  ------------------
 2555|    300|                if (k < 0)
  ------------------
  |  Branch (2555:21): [True: 0, False: 300]
  ------------------
 2556|      0|                    goto Fail;
 2557|    300|                sortslice_copy_decr(&dest, &ssa);
 2558|    300|                ++acount;
 2559|    300|                bcount = 0;
 2560|    300|                --na;
 2561|    300|                if (na == 0)
  ------------------
  |  Branch (2561:21): [True: 4, False: 296]
  ------------------
 2562|      4|                    goto Succeed;
 2563|    296|                if (acount >= min_gallop)
  ------------------
  |  Branch (2563:21): [True: 8, False: 288]
  ------------------
 2564|      8|                    break;
 2565|    296|            }
 2566|    220|            else {
 2567|    220|                sortslice_copy_decr(&dest, &ssb);
 2568|    220|                ++bcount;
 2569|    220|                acount = 0;
 2570|    220|                --nb;
 2571|    220|                if (nb == 1)
  ------------------
  |  Branch (2571:21): [True: 0, False: 220]
  ------------------
 2572|      0|                    goto CopyA;
 2573|    220|                if (bcount >= min_gallop)
  ------------------
  |  Branch (2573:21): [True: 2, False: 218]
  ------------------
 2574|      2|                    break;
 2575|    220|            }
 2576|    520|        }
 2577|       |
 2578|       |        /* One run is winning so consistently that galloping may
 2579|       |         * be a huge win.  So try that, and continue galloping until
 2580|       |         * (if ever) neither run appears to be winning consistently
 2581|       |         * anymore.
 2582|       |         */
 2583|     10|        ++min_gallop;
 2584|     24|        do {
 2585|     24|            assert(na > 0 && nb > 1);
  ------------------
  |  Branch (2585:13): [True: 24, False: 0]
  |  Branch (2585:13): [True: 24, False: 0]
  ------------------
 2586|     24|            min_gallop -= min_gallop > 1;
 2587|     24|            ms->min_gallop = min_gallop;
 2588|     24|            k = gallop_right(ms, ssb.keys[0], basea.keys, na, na-1);
 2589|     24|            if (k < 0)
  ------------------
  |  Branch (2589:17): [True: 0, False: 24]
  ------------------
 2590|      0|                goto Fail;
 2591|     24|            k = na - k;
 2592|     24|            acount = k;
 2593|     24|            if (k) {
  ------------------
  |  Branch (2593:17): [True: 14, False: 10]
  ------------------
 2594|     14|                sortslice_advance(&dest, -k);
 2595|     14|                sortslice_advance(&ssa, -k);
 2596|     14|                sortslice_memmove(&dest, 1, &ssa, 1, k);
 2597|     14|                na -= k;
 2598|     14|                if (na == 0)
  ------------------
  |  Branch (2598:21): [True: 2, False: 12]
  ------------------
 2599|      2|                    goto Succeed;
 2600|     14|            }
 2601|     22|            sortslice_copy_decr(&dest, &ssb);
 2602|     22|            --nb;
 2603|     22|            if (nb == 1)
  ------------------
  |  Branch (2603:17): [True: 0, False: 22]
  ------------------
 2604|      0|                goto CopyA;
 2605|       |
 2606|     22|            k = gallop_left(ms, ssa.keys[0], baseb.keys, nb, nb-1);
 2607|     22|            if (k < 0)
  ------------------
  |  Branch (2607:17): [True: 0, False: 22]
  ------------------
 2608|      0|                goto Fail;
 2609|     22|            k = nb - k;
 2610|     22|            bcount = k;
 2611|     22|            if (k) {
  ------------------
  |  Branch (2611:17): [True: 14, False: 8]
  ------------------
 2612|     14|                sortslice_advance(&dest, -k);
 2613|     14|                sortslice_advance(&ssb, -k);
 2614|     14|                sortslice_memcpy(&dest, 1, &ssb, 1, k);
 2615|     14|                nb -= k;
 2616|     14|                if (nb == 1)
  ------------------
  |  Branch (2616:21): [True: 0, False: 14]
  ------------------
 2617|      0|                    goto CopyA;
 2618|       |                /* nb==0 is impossible now if the comparison
 2619|       |                 * function is consistent, but we can't assume
 2620|       |                 * that it is.
 2621|       |                 */
 2622|     14|                if (nb == 0)
  ------------------
  |  Branch (2622:21): [True: 0, False: 14]
  ------------------
 2623|      0|                    goto Succeed;
 2624|     14|            }
 2625|     22|            sortslice_copy_decr(&dest, &ssa);
 2626|     22|            --na;
 2627|     22|            if (na == 0)
  ------------------
  |  Branch (2627:17): [True: 0, False: 22]
  ------------------
 2628|      0|                goto Succeed;
 2629|     22|        } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1783|     44|#define MIN_GALLOP 7
  ------------------
                      } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1783|     14|#define MIN_GALLOP 7
  ------------------
  |  Branch (2629:18): [True: 8, False: 14]
  |  Branch (2629:42): [True: 6, False: 8]
  ------------------
 2630|      8|        ++min_gallop;           /* penalize it for leaving galloping mode */
 2631|      8|        ms->min_gallop = min_gallop;
 2632|      8|    }
 2633|      6|Succeed:
 2634|      6|    result = 0;
 2635|      6|Fail:
 2636|      6|    if (nb)
  ------------------
  |  Branch (2636:9): [True: 6, False: 0]
  ------------------
 2637|      6|        sortslice_memcpy(&dest, -(nb-1), &baseb, 0, nb);
 2638|      6|    return result;
 2639|      0|CopyA:
 2640|      0|    assert(nb == 1 && na > 0);
  ------------------
  |  Branch (2640:5): [True: 0, False: 0]
  |  Branch (2640:5): [True: 0, False: 0]
  ------------------
 2641|       |    /* The first element of ssb belongs at the front of the merge. */
 2642|      0|    sortslice_memmove(&dest, 1-na, &ssa, 1-na, na);
 2643|      0|    sortslice_advance(&dest, -na);
 2644|      0|    sortslice_advance(&ssa, -na);
 2645|      0|    sortslice_copy(&dest, 0, &ssb, 0);
 2646|      0|    return 0;
 2647|      0|}
listobject.c:sortslice_copy_decr:
 1726|    570|{
 1727|    570|    *dst->keys-- = *src->keys--;
 1728|    570|    if (dst->values != NULL)
  ------------------
  |  Branch (1728:9): [True: 0, False: 570]
  ------------------
 1729|      0|        *dst->values-- = *src->values--;
 1730|    570|}
listobject.c:sortslice_advance:
 1753|    177|{
 1754|    177|    slice->keys += n;
 1755|    177|    if (slice->values != NULL)
  ------------------
  |  Branch (1755:9): [True: 0, False: 177]
  ------------------
 1756|      0|        slice->values += n;
 1757|    177|}
listobject.c:merge_force_collapse:
 2786|     17|{
 2787|     17|    struct s_slice *p = ms->pending;
 2788|       |
 2789|     17|    assert(ms);
  ------------------
  |  Branch (2789:5): [True: 17, False: 0]
  ------------------
 2790|     23|    while (ms->n > 1) {
  ------------------
  |  Branch (2790:12): [True: 6, False: 17]
  ------------------
 2791|      6|        Py_ssize_t n = ms->n - 2;
 2792|      6|        if (n > 0 && p[n-1].len < p[n+1].len)
  ------------------
  |  Branch (2792:13): [True: 4, False: 2]
  |  Branch (2792:22): [True: 0, False: 4]
  ------------------
 2793|      0|            --n;
 2794|      6|        if (merge_at(ms, n) < 0)
  ------------------
  |  Branch (2794:13): [True: 0, False: 6]
  ------------------
 2795|      0|            return -1;
 2796|      6|    }
 2797|     17|    return 0;
 2798|     17|}
listobject.c:merge_freemem:
 2331|     94|{
 2332|     94|    assert(ms != NULL);
  ------------------
  |  Branch (2332:5): [True: 94, False: 0]
  ------------------
 2333|     94|    if (ms->a.keys != ms->temparray) {
  ------------------
  |  Branch (2333:9): [True: 0, False: 94]
  ------------------
 2334|      0|        PyMem_Free(ms->a.keys);
 2335|       |        ms->a.keys = NULL;
 2336|      0|    }
 2337|     94|}
listobject.c:reverse_slice:
 1677|     14|{
 1678|     14|    assert(lo && hi);
  ------------------
  |  Branch (1678:5): [True: 14, False: 0]
  |  Branch (1678:5): [True: 14, False: 0]
  ------------------
 1679|       |
 1680|     14|    --hi;
 1681|     99|    while (lo < hi) {
  ------------------
  |  Branch (1681:12): [True: 85, False: 14]
  ------------------
 1682|     85|        PyObject *t = *lo;
 1683|     85|        FT_ATOMIC_STORE_PTR_RELEASE(*lo, *hi);
  ------------------
  |  |  166|     85|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1684|     85|        FT_ATOMIC_STORE_PTR_RELEASE(*hi, t);
  ------------------
  |  |  166|     85|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1685|     85|        ++lo;
 1686|     85|        --hi;
 1687|     85|    }
 1688|     14|}
listobject.c:list_slice_subscript:
 3755|     15|{
 3756|     15|    assert(PyList_Check(self));
  ------------------
  |  Branch (3756:5): [True: 15, False: 0]
  ------------------
 3757|     15|    assert(PySlice_Check(item));
  ------------------
  |  Branch (3757:5): [True: 15, False: 0]
  ------------------
 3758|     15|    Py_ssize_t start, stop, step;
 3759|     15|    if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (3759:9): [True: 0, False: 15]
  ------------------
 3760|      0|        return NULL;
 3761|      0|    }
 3762|     15|    return list_slice_wrap((PyListObject *)self, start, stop, step);
 3763|     15|}
listobject.c:list_slice_wrap:
 3736|     15|{
 3737|     15|    PyObject *res = NULL;
 3738|     15|    Py_BEGIN_CRITICAL_SECTION(aa);
  ------------------
  |  |   51|     15|    {
  ------------------
 3739|     15|    Py_ssize_t len = PySlice_AdjustIndices(Py_SIZE(aa), &start, &stop, step);
  ------------------
  |  |  214|     15|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3740|     15|    if (len <= 0) {
  ------------------
  |  Branch (3740:9): [True: 1, False: 14]
  ------------------
 3741|      1|        res = PyList_New(0);
 3742|      1|    }
 3743|     14|    else if (step == 1) {
  ------------------
  |  Branch (3743:14): [True: 10, False: 4]
  ------------------
 3744|     10|        res = list_slice_lock_held(aa, start, stop);
 3745|     10|    }
 3746|      4|    else {
 3747|      4|        res = list_slice_step_lock_held(aa, start, step, len);
 3748|      4|    }
 3749|     15|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     15|    }
  ------------------
 3750|     15|    return res;
 3751|     15|}
listobject.c:list_slice_step_lock_held:
 3716|      4|{
 3717|      4|    PyListObject *np = (PyListObject *)list_new_prealloc(len);
 3718|      4|    if (np == NULL) {
  ------------------
  |  Branch (3718:9): [True: 0, False: 4]
  ------------------
 3719|      0|        return NULL;
 3720|      0|    }
 3721|      4|    size_t cur;
 3722|      4|    Py_ssize_t i;
 3723|      4|    PyObject **src = a->ob_item;
 3724|      4|    PyObject **dest = np->ob_item;
 3725|    140|    for (cur = start, i = 0; i < len;
  ------------------
  |  Branch (3725:30): [True: 136, False: 4]
  ------------------
 3726|    136|            cur += (size_t)step, i++) {
 3727|    136|        PyObject *v = src[cur];
 3728|    136|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  647|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3729|    136|    }
 3730|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3731|      4|    return (PyObject *)np;
 3732|      4|}
listobject.c:list_dealloc:
  612|  1.94k|{
  613|  1.94k|    PyListObject *op = (PyListObject *)self;
  614|  1.94k|    Py_ssize_t i;
  615|  1.94k|    PyObject_GC_UnTrack(op);
  616|  1.94k|    if (op->ob_item != NULL) {
  ------------------
  |  Branch (616:9): [True: 1.16k, False: 780]
  ------------------
  617|       |        /* Do it backwards, for Christian Tismer.
  618|       |           There's a simple test case where somehow this reduces
  619|       |           thrashing when a *very* large list is created and
  620|       |           immediately deleted. */
  621|  1.16k|        i = Py_SIZE(op);
  ------------------
  |  |  214|  1.16k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  622|  1.52M|        while (--i >= 0) {
  ------------------
  |  Branch (622:16): [True: 1.52M, False: 1.16k]
  ------------------
  623|  1.52M|            Py_XDECREF(op->ob_item[i]);
  ------------------
  |  |  621|  1.52M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  624|  1.52M|        }
  625|  1.16k|        free_list_items(op->ob_item, false);
  626|  1.16k|        op->ob_item = NULL;
  627|  1.16k|    }
  628|  1.94k|    if (PyList_CheckExact(op)) {
  ------------------
  |  |   26|  1.94k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  1.94k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.82k, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  629|  1.82k|        _Py_FREELIST_FREE(lists, op, PyObject_GC_Del);
  ------------------
  |  |   35|  1.82k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  1.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  1.82k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   13|  1.82k|#  define Py_lists_MAXFREELIST 80
  |  |  ------------------
  ------------------
  630|  1.82k|    }
  631|    112|    else {
  632|    112|        PyObject_GC_Del(op);
  633|    112|    }
  634|  1.94k|}
listobject.c:list_length:
  705|    694|{
  706|    694|    return PyList_GET_SIZE(a);
  ------------------
  |  |   38|    694|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    694|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    694|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  707|    694|}
listobject.c:list_repeat_impl:
  885|      4|{
  886|      4|    const Py_ssize_t input_size = Py_SIZE(a);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  887|      4|    if (input_size == 0 || n <= 0)
  ------------------
  |  Branch (887:9): [True: 0, False: 4]
  |  Branch (887:28): [True: 0, False: 4]
  ------------------
  888|      0|        return PyList_New(0);
  889|      4|    assert(n > 0);
  ------------------
  |  Branch (889:5): [True: 4, False: 0]
  ------------------
  890|       |
  891|      4|    if (input_size > PY_SSIZE_T_MAX / n)
  ------------------
  |  |  137|      4|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (891:9): [True: 0, False: 4]
  ------------------
  892|      0|        return PyErr_NoMemory();
  893|      4|    Py_ssize_t output_size = input_size * n;
  894|       |
  895|      4|    PyListObject *np = (PyListObject *) list_new_prealloc(output_size);
  896|      4|    if (np == NULL)
  ------------------
  |  Branch (896:9): [True: 0, False: 4]
  ------------------
  897|      0|        return NULL;
  898|       |
  899|      4|    PyObject **dest = np->ob_item;
  900|      4|    if (input_size == 1) {
  ------------------
  |  Branch (900:9): [True: 4, False: 0]
  ------------------
  901|      4|        PyObject *elem = a->ob_item[0];
  902|      4|        _Py_RefcntAdd(elem, n);
  ------------------
  |  |  176|      4|#define _Py_RefcntAdd(op, n) _Py_RefcntAdd(_PyObject_CAST(op), n)
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  903|      4|        PyObject **dest_end = dest + output_size;
  904|      9|        while (dest < dest_end) {
  ------------------
  |  Branch (904:16): [True: 5, False: 4]
  ------------------
  905|      5|            *dest++ = elem;
  906|      5|        }
  907|      4|    }
  908|      0|    else {
  909|      0|        PyObject **src = a->ob_item;
  910|      0|        PyObject **src_end = src + input_size;
  911|      0|        while (src < src_end) {
  ------------------
  |  Branch (911:16): [True: 0, False: 0]
  ------------------
  912|      0|            _Py_RefcntAdd(*src, n);
  ------------------
  |  |  176|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  913|      0|            *dest++ = *src++;
  914|      0|        }
  915|       |        // This list is not yet visible to other threads, so atomic repeat
  916|       |        // is not necessary even in Py_GIL_DISABLED builds.
  917|      0|        _Py_memory_repeat((char *)np->ob_item, sizeof(PyObject *)*output_size,
  918|      0|                                        sizeof(PyObject *)*input_size);
  919|      0|    }
  920|       |
  921|      4|    Py_SET_SIZE(np, output_size);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  922|      4|    return (PyObject *) np;
  923|      4|}
listobject.c:list_item:
  730|  1.87k|{
  731|  1.87k|    PyListObject *a = (PyListObject *)aa;
  732|  1.87k|    if (!valid_index(i, PyList_GET_SIZE(a))) {
  ------------------
  |  |   38|  1.87k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (732:9): [True: 24, False: 1.84k]
  ------------------
  733|     24|        PyErr_SetObject(PyExc_IndexError, &_Py_STR(list_err));
  ------------------
  |  |  953|     24|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  734|     24|        return NULL;
  735|     24|    }
  736|  1.84k|    PyObject *item;
  737|       |#ifdef Py_GIL_DISABLED
  738|       |    item = list_get_item_ref(a, i);
  739|       |    if (item == NULL) {
  740|       |        PyErr_SetObject(PyExc_IndexError, &_Py_STR(list_err));
  741|       |        return NULL;
  742|       |    }
  743|       |#else
  744|  1.84k|    item = Py_NewRef(a->ob_item[i]);
  ------------------
  |  |  647|  1.84k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  745|  1.84k|#endif
  746|  1.84k|    return item;
  747|  1.87k|}
listobject.c:list_ass_item_impl:
 1205|     13|{
 1206|     13|    if (!valid_index(i, Py_SIZE(a))) {
  ------------------
  |  |  214|     13|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1206:9): [True: 0, False: 13]
  ------------------
 1207|      0|        PyErr_SetString(PyExc_IndexError,
 1208|      0|                        "list assignment index out of range");
 1209|      0|        return -1;
 1210|      0|    }
 1211|     13|    PyObject *tmp = a->ob_item[i];
 1212|     13|    if (v == NULL) {
  ------------------
  |  Branch (1212:9): [True: 2, False: 11]
  ------------------
 1213|      2|        Py_ssize_t size = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1214|      2|        if (i < size - 1) {
  ------------------
  |  Branch (1214:13): [True: 0, False: 2]
  ------------------
 1215|      0|            list_shift_items_left_lock_held(a, i, size - 1);
 1216|      0|        }
 1217|      2|        list_resize(a, size - 1);  // NB: shrinking a list can't fail
 1218|      2|    }
 1219|     11|    else {
 1220|     11|        FT_ATOMIC_STORE_PTR_RELEASE(a->ob_item[i], Py_NewRef(v));
  ------------------
  |  |  166|     11|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1221|     11|    }
 1222|     13|    Py_DECREF(tmp);
  ------------------
  |  |  430|     13|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1223|     13|    return 0;
 1224|     13|}
listobject.c:list_contains:
  711|    101|{
  712|       |
  713|  1.63k|    for (Py_ssize_t i = 0; ; i++) {
  714|  1.63k|        PyObject *item = list_get_item_ref((PyListObject *)aa, i);
  715|  1.63k|        if (item == NULL) {
  ------------------
  |  Branch (715:13): [True: 23, False: 1.61k]
  ------------------
  716|       |            // out-of-bounds
  717|     23|            return 0;
  718|     23|        }
  719|  1.61k|        int cmp = PyObject_RichCompareBool(item, el, Py_EQ);
  ------------------
  |  |  654|  1.61k|#define Py_EQ 2
  ------------------
  720|  1.61k|        Py_DECREF(item);
  ------------------
  |  |  430|  1.61k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  721|  1.61k|        if (cmp != 0) {
  ------------------
  |  Branch (721:13): [True: 78, False: 1.53k]
  ------------------
  722|     78|            return cmp;
  723|     78|        }
  724|  1.61k|    }
  725|      0|    return 0;
  726|    101|}
listobject.c:list_inplace_concat:
 1620|      7|{
 1621|      7|    PyListObject *self = (PyListObject *)_self;
 1622|      7|    if (_list_extend(self, other) < 0) {
  ------------------
  |  Branch (1622:9): [True: 0, False: 7]
  ------------------
 1623|      0|        return NULL;
 1624|      0|    }
 1625|      7|    return Py_NewRef(self);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1626|      7|}
listobject.c:list_subscript:
 3773|     28|{
 3774|     28|    PyListObject* self = (PyListObject*)_self;
 3775|     28|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (3775:9): [True: 20, False: 8]
  ------------------
 3776|     20|        Py_ssize_t i;
 3777|     20|        i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 3778|     20|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3778:13): [True: 0, False: 20]
  |  Branch (3778:24): [True: 0, False: 0]
  ------------------
 3779|      0|            return NULL;
 3780|     20|        if (i < 0)
  ------------------
  |  Branch (3780:13): [True: 0, False: 20]
  ------------------
 3781|      0|            i += PyList_GET_SIZE(self);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3782|     20|        return list_item((PyObject *)self, i);
 3783|     20|    }
 3784|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3785|      8|        return list_slice_subscript(_self, item);
 3786|      8|    }
 3787|      0|    else {
 3788|      0|        PyErr_Format(PyExc_TypeError,
 3789|      0|                     "list indices must be integers or slices, not %.200s",
 3790|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3791|       |        return NULL;
 3792|      0|    }
 3793|     28|}
listobject.c:list_ass_subscript:
 3980|     27|{
 3981|     27|    int res;
 3982|       |#ifdef Py_GIL_DISABLED
 3983|       |    if (PySlice_Check(item) && value != NULL && PyList_CheckExact(value)) {
 3984|       |        Py_BEGIN_CRITICAL_SECTION2(self, value);
 3985|       |        res = list_ass_subscript_lock_held(self, item, value);
 3986|       |        Py_END_CRITICAL_SECTION2();
 3987|       |        return res;
 3988|       |    }
 3989|       |#endif
 3990|     27|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     27|    {
  ------------------
 3991|     27|    res = list_ass_subscript_lock_held(self, item, value);
 3992|     27|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     27|    }
  ------------------
 3993|     27|    return res;
 3994|     27|}
listobject.c:list_ass_subscript_lock_held:
 3814|     27|{
 3815|     27|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(_self);
 3816|       |
 3817|     27|    PyListObject *self = (PyListObject *)_self;
 3818|     27|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (3818:9): [True: 11, False: 16]
  ------------------
 3819|     11|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 3820|     11|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3820:13): [True: 5, False: 6]
  |  Branch (3820:24): [True: 0, False: 5]
  ------------------
 3821|      0|            return -1;
 3822|     11|        if (i < 0)
  ------------------
  |  Branch (3822:13): [True: 5, False: 6]
  ------------------
 3823|      5|            i += PyList_GET_SIZE(self);
  ------------------
  |  |   38|      5|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3824|     11|        return list_ass_item_impl(self, i, value);
 3825|     11|    }
 3826|     16|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|     16|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3827|     16|        Py_ssize_t start, stop, step;
 3828|       |
 3829|     16|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (3829:13): [True: 0, False: 16]
  ------------------
 3830|      0|            return -1;
 3831|      0|        }
 3832|       |
 3833|     16|        if (value == NULL) {
  ------------------
  |  Branch (3833:13): [True: 1, False: 15]
  ------------------
 3834|       |            /* delete slice */
 3835|      1|            PyObject **garbage;
 3836|      1|            size_t cur;
 3837|      1|            Py_ssize_t i;
 3838|      1|            int res;
 3839|       |
 3840|      1|            Py_ssize_t slicelength = adjust_slice_indexes(self, &start, &stop,
 3841|      1|                                                          step);
 3842|       |
 3843|      1|            if (step == 1)
  ------------------
  |  Branch (3843:17): [True: 1, False: 0]
  ------------------
 3844|      1|                return list_ass_slice_lock_held(self, start, stop, value);
 3845|       |
 3846|      0|            if (slicelength <= 0)
  ------------------
  |  Branch (3846:17): [True: 0, False: 0]
  ------------------
 3847|      0|                return 0;
 3848|       |
 3849|      0|            if (step < 0) {
  ------------------
  |  Branch (3849:17): [True: 0, False: 0]
  ------------------
 3850|      0|                stop = start + 1;
 3851|      0|                start = stop + step*(slicelength - 1) - 1;
 3852|      0|                step = -step;
 3853|      0|            }
 3854|       |
 3855|      0|            garbage = (PyObject**)
 3856|      0|                PyMem_Malloc(slicelength*sizeof(PyObject*));
 3857|      0|            if (!garbage) {
  ------------------
  |  Branch (3857:17): [True: 0, False: 0]
  ------------------
 3858|      0|                PyErr_NoMemory();
 3859|      0|                return -1;
 3860|      0|            }
 3861|       |
 3862|       |            /* drawing pictures might help understand these for
 3863|       |               loops. Basically, we memmove the parts of the
 3864|       |               list that are *not* part of the slice: step-1
 3865|       |               items for each item that is part of the slice,
 3866|       |               and then tail end of the list that was not
 3867|       |               covered by the slice */
 3868|      0|            for (cur = start, i = 0;
 3869|      0|                 cur < (size_t)stop;
  ------------------
  |  Branch (3869:18): [True: 0, False: 0]
  ------------------
 3870|      0|                 cur += step, i++) {
 3871|      0|                Py_ssize_t lim = step - 1;
 3872|       |
 3873|      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 (3873:30): [True: 0, False: 0]
  ------------------
 3874|       |
 3875|      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 (3875:21): [True: 0, False: 0]
  ------------------
 3876|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3877|      0|                }
 3878|       |
 3879|      0|                ptr_wise_atomic_memmove(self, self->ob_item + cur - i,
 3880|      0|                    self->ob_item + cur + 1, lim);
 3881|      0|            }
 3882|      0|            cur = start + (size_t)slicelength * step;
 3883|      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 (3883:17): [True: 0, False: 0]
  ------------------
 3884|      0|                ptr_wise_atomic_memmove(self, self->ob_item + cur - slicelength,
 3885|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3886|      0|            }
 3887|       |
 3888|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3889|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3890|       |
 3891|      0|            for (i = 0; i < slicelength; i++) {
  ------------------
  |  Branch (3891:25): [True: 0, False: 0]
  ------------------
 3892|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3893|      0|            }
 3894|      0|            PyMem_Free(garbage);
 3895|       |
 3896|      0|            return res;
 3897|      0|        }
 3898|     15|        else {
 3899|       |            /* assign slice */
 3900|     15|            PyObject *ins, *seq;
 3901|     15|            PyObject **garbage, **seqitems, **selfitems;
 3902|     15|            Py_ssize_t i;
 3903|     15|            size_t cur;
 3904|       |
 3905|       |            /* protect against a[::-1] = a */
 3906|     15|            if (self == (PyListObject*)value) {
  ------------------
  |  Branch (3906:17): [True: 0, False: 15]
  ------------------
 3907|      0|                seq = list_slice_lock_held((PyListObject *)value, 0,
 3908|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3909|      0|            }
 3910|     15|            else {
 3911|     15|                seq = PySequence_Fast(value,
 3912|     15|                                      "must assign iterable "
 3913|     15|                                      "to extended slice");
 3914|     15|            }
 3915|     15|            if (!seq)
  ------------------
  |  Branch (3915:17): [True: 0, False: 15]
  ------------------
 3916|      0|                return -1;
 3917|       |
 3918|     15|            Py_ssize_t slicelength = adjust_slice_indexes(self, &start, &stop,
 3919|     15|                                                          step);
 3920|       |
 3921|     15|            if (step == 1) {
  ------------------
  |  Branch (3921:17): [True: 15, False: 0]
  ------------------
 3922|     15|                int res = list_ass_slice_lock_held(self, start, stop, seq);
 3923|     15|                Py_DECREF(seq);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3924|     15|                return res;
 3925|     15|            }
 3926|       |
 3927|      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 (3927:17): [True: 0, False: 0]
  ------------------
 3928|      0|                PyErr_Format(PyExc_ValueError,
 3929|      0|                    "attempt to assign sequence of "
 3930|      0|                    "size %zd to extended slice of "
 3931|      0|                    "size %zd",
 3932|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3933|      0|                         slicelength);
 3934|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3935|      0|                return -1;
 3936|      0|            }
 3937|       |
 3938|      0|            if (!slicelength) {
  ------------------
  |  Branch (3938:17): [True: 0, False: 0]
  ------------------
 3939|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3940|      0|                return 0;
 3941|      0|            }
 3942|       |
 3943|      0|            garbage = (PyObject**)
 3944|      0|                PyMem_Malloc(slicelength*sizeof(PyObject*));
 3945|      0|            if (!garbage) {
  ------------------
  |  Branch (3945:17): [True: 0, False: 0]
  ------------------
 3946|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3947|      0|                PyErr_NoMemory();
 3948|      0|                return -1;
 3949|      0|            }
 3950|       |
 3951|      0|            selfitems = self->ob_item;
 3952|      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)
  ------------------
 3953|      0|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (3953:38): [True: 0, False: 0]
  ------------------
 3954|      0|                 cur += (size_t)step, i++) {
 3955|      0|                garbage[i] = selfitems[cur];
 3956|      0|                ins = Py_NewRef(seqitems[i]);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3957|      0|                FT_ATOMIC_STORE_PTR_RELEASE(selfitems[cur], ins);
  ------------------
  |  |  166|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 3958|      0|            }
 3959|       |
 3960|      0|            for (i = 0; i < slicelength; i++) {
  ------------------
  |  Branch (3960:25): [True: 0, False: 0]
  ------------------
 3961|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3962|      0|            }
 3963|       |
 3964|      0|            PyMem_Free(garbage);
 3965|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3966|       |
 3967|      0|            return 0;
 3968|      0|        }
 3969|     16|    }
 3970|      0|    else {
 3971|      0|        PyErr_Format(PyExc_TypeError,
 3972|      0|                     "list indices must be integers or slices, not %.200s",
 3973|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3974|      0|        return -1;
 3975|      0|    }
 3976|     27|}
listobject.c:adjust_slice_indexes:
 3799|     16|{
 3800|     16|    Py_ssize_t slicelength = PySlice_AdjustIndices(Py_SIZE(lst), start, stop,
  ------------------
  |  |  214|     16|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3801|     16|                                                   step);
 3802|       |
 3803|       |    /* Make sure s[5:2] = [..] inserts at the right place:
 3804|       |        before 5, not before 2. */
 3805|     16|    if ((step < 0 && *start < *stop) ||
  ------------------
  |  Branch (3805:10): [True: 0, False: 16]
  |  Branch (3805:22): [True: 0, False: 0]
  ------------------
 3806|     16|        (step > 0 && *start > *stop))
  ------------------
  |  Branch (3806:10): [True: 16, False: 0]
  |  Branch (3806:22): [True: 0, False: 16]
  ------------------
 3807|      0|        *stop = *start;
 3808|       |
 3809|     16|    return slicelength;
 3810|     16|}
listobject.c:list_traverse:
 3503|    384|{
 3504|    384|    PyListObject *o = (PyListObject *)self;
 3505|    384|    Py_ssize_t i;
 3506|       |
 3507|  1.99k|    for (i = Py_SIZE(o); --i >= 0; )
  ------------------
  |  |  214|    384|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    384|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    384|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3507:26): [True: 1.61k, False: 384]
  ------------------
 3508|  1.61k|        Py_VISIT(o->ob_item[i]);
  ------------------
  |  |  194|  1.61k|    do {                                                                \
  |  |  195|  1.61k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.61k, False: 0]
  |  |  ------------------
  |  |  196|  1.61k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.61k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.61k]
  |  |  ------------------
  |  |  198|  1.61k|                return vret;                                            \
  |  |  199|  1.61k|        }                                                               \
  |  |  200|  1.61k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.61k]
  |  |  ------------------
  ------------------
 3509|    384|    return 0;
 3510|    384|}
listobject.c:list_richcompare:
 3580|    150|{
 3581|    150|    PyObject *ret;
 3582|    150|    Py_BEGIN_CRITICAL_SECTION2(v, w);
  ------------------
  |  |   57|    150|    {
  ------------------
 3583|    150|    ret = list_richcompare_impl(v, w, op);
 3584|    150|    Py_END_CRITICAL_SECTION2()
  ------------------
  |  |   61|    150|    }
  ------------------
 3585|    150|    return ret;
 3586|    150|}
listobject.c:list_richcompare_impl:
 3514|    150|{
 3515|    150|    PyListObject *vl, *wl;
 3516|    150|    Py_ssize_t i;
 3517|       |
 3518|    150|    if (!PyList_Check(v) || !PyList_Check(w))
  ------------------
  |  |   25|    150|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    300|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyList_Check(v) || !PyList_Check(w))
  ------------------
  |  |   25|    150|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    150|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3518:9): [True: 0, False: 150]
  |  Branch (3518:29): [True: 24, False: 126]
  ------------------
 3519|     24|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|     24|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|     24|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 3520|       |
 3521|    126|    vl = (PyListObject *)v;
 3522|    126|    wl = (PyListObject *)w;
 3523|       |
 3524|    126|    if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  214|    126|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    126|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    126|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  214|    252|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    126|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    126|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  654|     76|#define Py_EQ 2
  ------------------
                  if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (3524:9): [True: 38, False: 88]
  |  Branch (3524:40): [True: 38, False: 0]
  |  Branch (3524:55): [True: 0, False: 0]
  ------------------
 3525|       |        /* Shortcut: if the lengths differ, the lists differ */
 3526|     38|        if (op == Py_EQ)
  ------------------
  |  |  654|     38|#define Py_EQ 2
  ------------------
  |  Branch (3526:13): [True: 38, False: 0]
  ------------------
 3527|     38|            Py_RETURN_FALSE;
  ------------------
  |  |   45|     38|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     38|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3528|      0|        else
 3529|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3530|     38|    }
 3531|       |
 3532|       |    /* Search for the first index where items are different.
 3533|       |     * We incref vitem/witem before calling PyObject_RichCompareBool, which may
 3534|       |     * release the GIL and allow the list to be mutated in the meantime.
 3535|       |     */
 3536|     94|    for (i = 0; i < Py_SIZE(vl) && i < Py_SIZE(wl); i++) {
  ------------------
  |  |  214|    188|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  for (i = 0; i < Py_SIZE(vl) && i < Py_SIZE(wl); i++) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3536:17): [True: 10, False: 84]
  |  Branch (3536:36): [True: 10, False: 0]
  ------------------
 3537|     10|        PyObject *vitem = vl->ob_item[i];
 3538|     10|        PyObject *witem = wl->ob_item[i];
 3539|     10|        if (vitem == witem) {
  ------------------
  |  Branch (3539:13): [True: 0, False: 10]
  ------------------
 3540|      0|            continue;
 3541|      0|        }
 3542|       |
 3543|     10|        Py_INCREF(vitem);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3544|     10|        Py_INCREF(witem);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3545|     10|        int k = PyObject_RichCompareBool(vitem, witem, Py_EQ);
  ------------------
  |  |  654|     10|#define Py_EQ 2
  ------------------
 3546|     10|        if (k < 0) {
  ------------------
  |  Branch (3546:13): [True: 0, False: 10]
  ------------------
 3547|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3548|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3549|      0|            return NULL;
 3550|      0|        }
 3551|     10|        if (!k) {
  ------------------
  |  Branch (3551:13): [True: 4, False: 6]
  ------------------
 3552|       |            /* We have a differing item -- shortcuts for EQ/NE */
 3553|      4|            if (op == Py_EQ) {
  ------------------
  |  |  654|      4|#define Py_EQ 2
  ------------------
  |  Branch (3553:17): [True: 3, False: 1]
  ------------------
 3554|      3|                Py_DECREF(vitem);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3555|      3|                Py_DECREF(witem);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3556|      3|                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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3557|      3|            }
 3558|      1|            if (op == Py_NE) {
  ------------------
  |  |  655|      1|#define Py_NE 3
  ------------------
  |  Branch (3558:17): [True: 1, False: 0]
  ------------------
 3559|      1|                Py_DECREF(vitem);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3560|      1|                Py_DECREF(witem);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3561|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3562|      1|            }
 3563|       |            /* Compare the differing items using the proper operator */
 3564|      0|            PyObject *result = PyObject_RichCompare(vitem, witem, op);
 3565|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3566|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3567|      0|            return result;
 3568|      1|        }
 3569|       |
 3570|      6|        Py_DECREF(vitem);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3571|      6|        Py_DECREF(witem);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3572|      6|    }
 3573|       |
 3574|       |    /* All compared elements were equal -- compare sizes */
 3575|     84|    Py_RETURN_RICHCOMPARE(Py_SIZE(vl), Py_SIZE(wl), op);
  ------------------
  |  |  674|     84|    do {                                                                    \
  |  |  675|     84|        switch (op) {                                                       \
  |  |  676|     81|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|     81|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|     81|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|     81|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     81|#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: 81, False: 3]
  |  |  |  Branch (676:25): [True: 81, False: 0]
  |  |  ------------------
  |  |  677|     81|        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: 81]
  |  |  |  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: 84]
  |  |  |  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: 84]
  |  |  |  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: 84]
  |  |  |  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: 84]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 84]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|     84|        }                                                                   \
  |  |  685|     84|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3576|     84|}
listobject.c:list___reversed___impl:
 4273|      2|{
 4274|      2|    listreviterobject *it;
 4275|       |
 4276|      2|    it = PyObject_GC_New(listreviterobject, &PyListRevIter_Type);
  ------------------
  |  |  181|      2|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4277|      2|    if (it == NULL)
  ------------------
  |  Branch (4277:9): [True: 0, False: 2]
  ------------------
 4278|      0|        return NULL;
 4279|      2|    assert(PyList_Check(self));
  ------------------
  |  Branch (4279:5): [True: 2, False: 0]
  ------------------
 4280|      2|    it->it_index = PyList_GET_SIZE(self) - 1;
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4281|      2|    it->it_seq = (PyListObject*)Py_NewRef(self);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4282|      2|    PyObject_GC_Track(it);
 4283|      2|    return (PyObject *)it;
 4284|      2|}
listobject.c:list_append_impl:
 1289|    291|{
 1290|    291|    if (_PyList_AppendTakeRef(self, Py_NewRef(object)) < 0) {
  ------------------
  |  |  647|    291|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    291|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    291|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1290:9): [True: 0, False: 291]
  ------------------
 1291|      0|        return NULL;
 1292|      0|    }
 1293|    291|    Py_RETURN_NONE;
  ------------------
  |  |  628|    291|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    291|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1294|    291|}
listobject.c:list_pop_impl:
 1643|    123|{
 1644|    123|    PyObject *v;
 1645|       |
 1646|    123|    if (Py_SIZE(self) == 0) {
  ------------------
  |  |  214|    123|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    123|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    123|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1646:9): [True: 0, False: 123]
  ------------------
 1647|       |        /* Special-case most common failure cause */
 1648|      0|        PyErr_SetString(PyExc_IndexError, "pop from empty list");
 1649|      0|        return NULL;
 1650|      0|    }
 1651|    123|    if (index < 0)
  ------------------
  |  Branch (1651:9): [True: 123, False: 0]
  ------------------
 1652|    123|        index += Py_SIZE(self);
  ------------------
  |  |  214|    123|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    123|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    123|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1653|    123|    if (!valid_index(index, Py_SIZE(self))) {
  ------------------
  |  |  214|    123|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    123|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    123|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1653:9): [True: 0, False: 123]
  ------------------
 1654|      0|        PyErr_SetString(PyExc_IndexError, "pop index out of range");
 1655|      0|        return NULL;
 1656|      0|    }
 1657|       |
 1658|    123|    PyObject **items = self->ob_item;
 1659|    123|    v = items[index];
 1660|    123|    if (Py_SIZE(self) == 1) {
  ------------------
  |  |  214|    123|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    123|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    123|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1660:9): [True: 88, False: 35]
  ------------------
 1661|     88|        Py_INCREF(v);
  ------------------
  |  |  310|     88|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1662|     88|        list_clear(self);
 1663|     88|        return v;
 1664|     88|    }
 1665|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1666|     35|    if (index < size_after_pop) {
  ------------------
  |  Branch (1666:9): [True: 0, False: 35]
  ------------------
 1667|      0|        ptr_wise_atomic_memmove(self, &items[index], &items[index+1],
 1668|      0|                                size_after_pop - index);
 1669|      0|    }
 1670|     35|    list_resize(self, size_after_pop);  // NB: shrinking a list can't fail
 1671|     35|    return v;
 1672|    123|}
listobject.c:list_remove_impl:
 3481|    112|{
 3482|    112|    Py_ssize_t i;
 3483|       |
 3484|    112|    for (i = 0; i < Py_SIZE(self); i++) {
  ------------------
  |  |  214|    112|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3484:17): [True: 112, False: 0]
  ------------------
 3485|    112|        PyObject *obj = self->ob_item[i];
 3486|    112|        Py_INCREF(obj);
  ------------------
  |  |  310|    112|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3487|    112|        int cmp = PyObject_RichCompareBool(obj, value, Py_EQ);
  ------------------
  |  |  654|    112|#define Py_EQ 2
  ------------------
 3488|    112|        Py_DECREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3489|    112|        if (cmp > 0) {
  ------------------
  |  Branch (3489:13): [True: 112, False: 0]
  ------------------
 3490|    112|            if (list_ass_slice_lock_held(self, i, i+1, NULL) == 0)
  ------------------
  |  Branch (3490:17): [True: 112, False: 0]
  ------------------
 3491|    112|                Py_RETURN_NONE;
  ------------------
  |  |  628|    112|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    112|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 3492|      0|            return NULL;
 3493|    112|        }
 3494|      0|        else if (cmp < 0)
  ------------------
  |  Branch (3494:18): [True: 0, False: 0]
  ------------------
 3495|      0|            return NULL;
 3496|    112|    }
 3497|      0|    PyErr_SetString(PyExc_ValueError, "list.remove(x): x not in list");
 3498|       |    return NULL;
 3499|    112|}
listobject.c:list___init___impl:
 3603|    201|{
 3604|       |    /* Verify list invariants */
 3605|    201|    assert(0 <= Py_SIZE(self));
  ------------------
  |  Branch (3605:5): [True: 201, False: 0]
  ------------------
 3606|    201|    assert(Py_SIZE(self) <= self->allocated || self->allocated == -1);
  ------------------
  |  Branch (3606:5): [True: 201, False: 0]
  |  Branch (3606:5): [True: 0, False: 0]
  ------------------
 3607|    201|    assert(self->ob_item != NULL ||
  ------------------
  |  Branch (3607:5): [True: 0, False: 201]
  |  Branch (3607:5): [True: 201, False: 0]
  |  Branch (3607:5): [True: 0, False: 0]
  ------------------
 3608|    201|           self->allocated == 0 || self->allocated == -1);
 3609|       |
 3610|       |    /* Empty previous contents */
 3611|    201|    if (self->ob_item != NULL) {
  ------------------
  |  Branch (3611:9): [True: 0, False: 201]
  ------------------
 3612|      0|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      0|    {
  ------------------
 3613|      0|        list_clear(self);
 3614|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3615|      0|    }
 3616|    201|    if (iterable != NULL) {
  ------------------
  |  Branch (3616:9): [True: 89, False: 112]
  ------------------
 3617|     89|        if (_list_extend(self, iterable) < 0) {
  ------------------
  |  Branch (3617:13): [True: 0, False: 89]
  ------------------
 3618|      0|            return -1;
 3619|      0|        }
 3620|     89|    }
 3621|    201|    return 0;
 3622|    201|}
listobject.c:list_vectorcall:
 3627|     89|{
 3628|     89|    if (!_PyArg_NoKwnames("list", kwnames)) {
  ------------------
  |  |   16|     89|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 89, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3629|      0|        return NULL;
 3630|      0|    }
 3631|     89|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     89|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 3632|     89|    if (!_PyArg_CheckPositional("list", nargs, 0, 1)) {
  ------------------
  |  |   38|     89|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 89, False: 0]
  |  |  |  Branch (38:27): [True: 89, False: 0]
  |  |  ------------------
  |  |   39|     89|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3633|      0|        return NULL;
 3634|      0|    }
 3635|       |
 3636|       |    /* use PyList_New() to make exact lists from the freelist. */
 3637|     89|    PyObject *list = (type == (PyObject *)&PyList_Type
  ------------------
  |  Branch (3637:23): [True: 89, False: 0]
  ------------------
 3638|     89|                      ? PyList_New(0)
 3639|     89|                      : PyType_GenericAlloc(_PyType_CAST(type), 0));
  ------------------
  |  |  770|      0|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (3639:45): [True: 0, False: 0]
  ------------------
 3640|     89|    if (list == NULL) {
  ------------------
  |  Branch (3640:9): [True: 0, False: 89]
  ------------------
 3641|      0|        return NULL;
 3642|      0|    }
 3643|     89|    if (nargs) {
  ------------------
  |  Branch (3643:9): [True: 89, False: 0]
  ------------------
 3644|     89|        if (list___init___impl((PyListObject *)list, args[0])) {
  ------------------
  |  Branch (3644:13): [True: 0, False: 89]
  ------------------
 3645|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3646|      0|            return NULL;
 3647|      0|        }
 3648|     89|    }
 3649|     89|    return list;
 3650|     89|}
listobject.c:list_iteritem:
 3998|     76|{
 3999|     76|    PyObject *result = list_get_item_ref((PyListObject *)obj, index);
 4000|     76|    return (_PyObjectIndexPair) { .object = result, .index = index + 1 };
 4001|     76|}
listobject.c:list_iter:
 4113|     53|{
 4114|     53|    if (!PyList_Check(seq)) {
  ------------------
  |  |   25|     53|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     53|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4114:9): [True: 0, False: 53]
  ------------------
 4115|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4116|      0|        return NULL;
 4117|      0|    }
 4118|     53|    _PyListIterObject *it = _Py_FREELIST_POP(_PyListIterObject, list_iters);
  ------------------
  |  |   43|     53|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|     53|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4119|     53|    if (it == NULL) {
  ------------------
  |  Branch (4119:9): [True: 4, False: 49]
  ------------------
 4120|      4|        it = PyObject_GC_New(_PyListIterObject, &PyListIter_Type);
  ------------------
  |  |  181|      4|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4121|      4|        if (it == NULL) {
  ------------------
  |  Branch (4121:13): [True: 0, False: 4]
  ------------------
 4122|      0|            return NULL;
 4123|      0|        }
 4124|      4|    }
 4125|     53|    it->it_index = 0;
 4126|     53|    it->it_seq = (PyListObject *)Py_NewRef(seq);
  ------------------
  |  |  647|     53|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     53|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     53|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4127|     53|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  502|     53|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     53|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     53|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4128|     53|    return (PyObject *)it;
 4129|     53|}
listobject.c:listiter_dealloc:
 4133|     53|{
 4134|     53|    _PyListIterObject *it = (_PyListIterObject *)self;
 4135|     53|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  504|     53|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     53|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     53|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4136|     53|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4137|     53|    assert(Py_IS_TYPE(self, &PyListIter_Type));
  ------------------
  |  Branch (4137:5): [True: 53, False: 0]
  ------------------
 4138|     53|    _Py_FREELIST_FREE(list_iters, it, PyObject_GC_Del);
  ------------------
  |  |   35|     53|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|     53|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     53|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|     53|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   14|     53|#  define Py_list_iters_MAXFREELIST 10
  |  |  ------------------
  ------------------
 4139|     53|}
listobject.c:listiter_next:
 4150|  1.35k|{
 4151|  1.35k|    _PyListIterObject *it = (_PyListIterObject *)self;
 4152|  1.35k|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  151|  1.35k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 4153|  1.35k|    if (index < 0) {
  ------------------
  |  Branch (4153:9): [True: 0, False: 1.35k]
  ------------------
 4154|      0|        return NULL;
 4155|      0|    }
 4156|       |
 4157|  1.35k|    PyObject *item = list_get_item_ref(it->it_seq, index);
 4158|  1.35k|    if (item == NULL) {
  ------------------
  |  Branch (4158:9): [True: 49, False: 1.30k]
  ------------------
 4159|       |        // out-of-bounds
 4160|     49|        FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, -1);
  ------------------
  |  |  197|     49|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4161|     49|#ifndef Py_GIL_DISABLED
 4162|     49|        PyListObject *seq = it->it_seq;
 4163|     49|        it->it_seq = NULL;
 4164|     49|        Py_DECREF(seq);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4165|     49|#endif
 4166|     49|        return NULL;
 4167|     49|    }
 4168|  1.30k|    FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, index + 1);
  ------------------
  |  |  197|  1.30k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4169|  1.30k|    return item;
 4170|  1.35k|}
listobject.c:listreviter_dealloc:
 4288|      2|{
 4289|      2|    listreviterobject *it = (listreviterobject *)self;
 4290|      2|    PyObject_GC_UnTrack(it);
 4291|      2|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4292|      2|    PyObject_GC_Del(it);
 4293|      2|}

PyLong_FromLong:
  408|  3.95k|{
  409|       |    PYLONG_FROM_INT(unsigned long, long, ival);
  ------------------
  |  |  371|  3.95k|    do {                                                                            \
  |  |  372|  3.95k|        /* Handle small and medium cases. */                                        \
  |  |  373|  3.95k|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|  3.95k|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|  3.95k|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|  3.95k|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|  3.95k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 3.95k, False: 7]
  |  |  |  |  |  |  |  Branch (68:37): [True: 3.13k, False: 820]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|  3.13k|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|  3.13k|        }                                                                           \
  |  |  376|  3.95k|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|    827|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    827|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    827|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|    827|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    827|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    827|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 827, False: 0]
  |  |  |  Branch (376:49): [True: 759, False: 68]
  |  |  ------------------
  |  |  377|    759|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|    759|        }                                                                           \
  |  |  379|    827|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 0, False: 68]
  |  |  ------------------
  |  |  380|     68|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|     68|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|     68|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|     68|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|     68|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|     68|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|     68|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 0, False: 68]
  |  |  ------------------
  |  |  385|      0|            ++ndigits;                                                              \
  |  |  386|      0|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|      0|        }                                                                           \
  |  |  388|     68|        /* Construct output value. */                                               \
  |  |  389|     68|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|     68|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 68]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|     68|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|     68|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 0, False: 68]
  |  |  ------------------
  |  |  395|     68|        t = abs_ival;                                                               \
  |  |  396|    204|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 136, False: 68]
  |  |  ------------------
  |  |  397|    136|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|    136|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    136|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    136|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|    136|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|    136|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|    136|        }                                                                           \
  |  |  400|     68|        return (PyObject *)v;                                                       \
  |  |  401|     68|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  410|  3.95k|}
PyLong_FromUnsignedLong:
  446|  1.20k|{
  447|       |    PYLONG_FROM_UINT(unsigned long, ival);
  ------------------
  |  |  413|  1.20k|    do { \
  |  |  414|  1.20k|        /* Handle small and medium cases. */ \
  |  |  415|  1.20k|        if (IS_SMALL_UINT(ival)) { \
  |  |  ------------------
  |  |  |  |   30|  1.20k|#define IS_SMALL_UINT(ival) ((ival) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  1.20k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (30:29): [True: 250, False: 952]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  416|    250|            return get_small_int((sdigit)(ival)); \
  |  |  417|    250|        } \
  |  |  418|  1.20k|        if ((ival) <= PyLong_MASK) { \
  |  |  ------------------
  |  |  |  |   62|    952|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    952|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    952|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (418:13): [True: 1, False: 951]
  |  |  ------------------
  |  |  419|      1|            return _PyLong_FromMedium((sdigit)(ival)); \
  |  |  420|      1|        } \
  |  |  421|    952|        /* Do shift in two steps to avoid possible undefined behavior. */ \
  |  |  422|    952|        INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|    951|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|    951|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  423|    951|        /* Count digits (at least two - smaller cases were handled above). */ \
  |  |  424|    951|        Py_ssize_t ndigits = 2; \
  |  |  425|    951|        while (t) { \
  |  |  ------------------
  |  |  |  Branch (425:16): [True: 0, False: 951]
  |  |  ------------------
  |  |  426|      0|            ++ndigits; \
  |  |  427|      0|            t >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  428|      0|        } \
  |  |  429|    951|        /* Construct output value. */ \
  |  |  430|    951|        PyLongObject *v = long_alloc(ndigits); \
  |  |  431|    951|        if (v == NULL) { \
  |  |  ------------------
  |  |  |  Branch (431:13): [True: 0, False: 951]
  |  |  ------------------
  |  |  432|      0|            return NULL; \
  |  |  433|      0|        } \
  |  |  434|    951|        digit *p = v->long_value.ob_digit; \
  |  |  435|  2.85k|        while ((ival)) { \
  |  |  ------------------
  |  |  |  Branch (435:16): [True: 1.90k, False: 951]
  |  |  ------------------
  |  |  436|  1.90k|            *p++ = (digit)((ival) & PyLong_MASK); \
  |  |  ------------------
  |  |  |  |   62|  1.90k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  1.90k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  1.90k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  437|  1.90k|            (ival) >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|  1.90k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  438|  1.90k|        } \
  |  |  439|    951|        return (PyObject *)v; \
  |  |  440|    951|    } while(0)
  |  |  ------------------
  |  |  |  Branch (440:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  448|  1.20k|}
PyLong_FromUnsignedLongLong:
  454|    578|{
  455|       |    PYLONG_FROM_UINT(unsigned long long, ival);
  ------------------
  |  |  413|    578|    do { \
  |  |  414|    578|        /* Handle small and medium cases. */ \
  |  |  415|    578|        if (IS_SMALL_UINT(ival)) { \
  |  |  ------------------
  |  |  |  |   30|    578|#define IS_SMALL_UINT(ival) ((ival) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|    578|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (30:29): [True: 118, False: 460]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  416|    118|            return get_small_int((sdigit)(ival)); \
  |  |  417|    118|        } \
  |  |  418|    578|        if ((ival) <= PyLong_MASK) { \
  |  |  ------------------
  |  |  |  |   62|    460|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    460|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    460|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (418:13): [True: 236, False: 224]
  |  |  ------------------
  |  |  419|    236|            return _PyLong_FromMedium((sdigit)(ival)); \
  |  |  420|    236|        } \
  |  |  421|    460|        /* Do shift in two steps to avoid possible undefined behavior. */ \
  |  |  422|    460|        INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|    224|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|    224|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  423|    224|        /* Count digits (at least two - smaller cases were handled above). */ \
  |  |  424|    224|        Py_ssize_t ndigits = 2; \
  |  |  425|    224|        while (t) { \
  |  |  ------------------
  |  |  |  Branch (425:16): [True: 0, False: 224]
  |  |  ------------------
  |  |  426|      0|            ++ndigits; \
  |  |  427|      0|            t >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  428|      0|        } \
  |  |  429|    224|        /* Construct output value. */ \
  |  |  430|    224|        PyLongObject *v = long_alloc(ndigits); \
  |  |  431|    224|        if (v == NULL) { \
  |  |  ------------------
  |  |  |  Branch (431:13): [True: 0, False: 224]
  |  |  ------------------
  |  |  432|      0|            return NULL; \
  |  |  433|      0|        } \
  |  |  434|    224|        digit *p = v->long_value.ob_digit; \
  |  |  435|    672|        while ((ival)) { \
  |  |  ------------------
  |  |  |  Branch (435:16): [True: 448, False: 224]
  |  |  ------------------
  |  |  436|    448|            *p++ = (digit)((ival) & PyLong_MASK); \
  |  |  ------------------
  |  |  |  |   62|    448|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    448|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    448|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  437|    448|            (ival) >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|    448|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  438|    448|        } \
  |  |  439|    224|        return (PyObject *)v; \
  |  |  440|    224|    } while(0)
  |  |  ------------------
  |  |  |  Branch (440:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  456|    578|}
PyLong_FromSize_t:
  462|     79|{
  463|       |    PYLONG_FROM_UINT(size_t, ival);
  ------------------
  |  |  413|     79|    do { \
  |  |  414|     79|        /* Handle small and medium cases. */ \
  |  |  415|     79|        if (IS_SMALL_UINT(ival)) { \
  |  |  ------------------
  |  |  |  |   30|     79|#define IS_SMALL_UINT(ival) ((ival) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|     79|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (30:29): [True: 79, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  416|     79|            return get_small_int((sdigit)(ival)); \
  |  |  417|     79|        } \
  |  |  418|     79|        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|     79|}
PyLong_FromDouble:
  470|     27|{
  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|     27|    const double int_max = (unsigned long)LONG_MAX + 1;
  482|     27|    if (-int_max < dval && dval < int_max) {
  ------------------
  |  Branch (482:9): [True: 27, False: 0]
  |  Branch (482:28): [True: 27, False: 0]
  ------------------
  483|     27|        return PyLong_FromLong((long)dval);
  484|     27|    }
  485|       |
  486|      0|    PyLongObject *v;
  487|      0|    double frac;
  488|      0|    int i, ndig, expo, neg;
  489|      0|    neg = 0;
  490|      0|    if (isinf(dval)) {
  ------------------
  |  Branch (490:9): [True: 0, False: 0]
  ------------------
  491|      0|        PyErr_SetString(PyExc_OverflowError,
  492|      0|                        "cannot convert float infinity to integer");
  493|      0|        return NULL;
  494|      0|    }
  495|      0|    if (isnan(dval)) {
  ------------------
  |  Branch (495:9): [True: 0, False: 0]
  ------------------
  496|      0|        PyErr_SetString(PyExc_ValueError,
  497|      0|                        "cannot convert float NaN to integer");
  498|      0|        return NULL;
  499|      0|    }
  500|      0|    if (dval < 0.0) {
  ------------------
  |  Branch (500:9): [True: 0, False: 0]
  ------------------
  501|      0|        neg = 1;
  502|      0|        dval = -dval;
  503|      0|    }
  504|      0|    frac = frexp(dval, &expo); /* dval = frac*2**expo; 0.0 <= frac < 1.0 */
  505|      0|    assert(expo > 0);
  ------------------
  |  Branch (505:5): [True: 0, False: 0]
  ------------------
  506|      0|    ndig = (expo-1) / PyLong_SHIFT + 1; /* Number of 'digits' in result */
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  507|      0|    v = long_alloc(ndig);
  508|      0|    if (v == NULL)
  ------------------
  |  Branch (508:9): [True: 0, False: 0]
  ------------------
  509|      0|        return NULL;
  510|      0|    frac = ldexp(frac, (expo-1) % PyLong_SHIFT + 1);
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  511|      0|    for (i = ndig; --i >= 0; ) {
  ------------------
  |  Branch (511:20): [True: 0, False: 0]
  ------------------
  512|      0|        digit bits = (digit)frac;
  513|      0|        v->long_value.ob_digit[i] = bits;
  514|      0|        frac = frac - (double)bits;
  515|      0|        frac = ldexp(frac, PyLong_SHIFT);
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  516|      0|    }
  517|      0|    if (neg) {
  ------------------
  |  Branch (517:9): [True: 0, False: 0]
  ------------------
  518|      0|        _PyLong_FlipSign(v);
  519|      0|    }
  520|      0|    return (PyObject *)v;
  521|      0|}
PyLong_AsLongAndOverflow:
  594|  1.52k|{
  595|       |    /* This version originally by Tim Peters */
  596|  1.52k|    PyLongObject *v;
  597|  1.52k|    long res;
  598|  1.52k|    Py_ssize_t i;
  599|  1.52k|    int sign;
  600|  1.52k|    int do_decref = 0; /* if PyNumber_Index was called */
  601|       |
  602|  1.52k|    *overflow = 0;
  603|  1.52k|    if (vv == NULL) {
  ------------------
  |  Branch (603:9): [True: 0, False: 1.52k]
  ------------------
  604|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  605|      0|        return -1;
  606|      0|    }
  607|       |
  608|  1.52k|    if (PyLong_Check(vv)) {
  ------------------
  |  |   13|  1.52k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.52k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.52k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  609|  1.52k|        v = (PyLongObject *)vv;
  610|  1.52k|    }
  611|      0|    else {
  612|      0|        v = (PyLongObject *)_PyNumber_Index(vv);
  613|      0|        if (v == NULL)
  ------------------
  |  Branch (613:13): [True: 0, False: 0]
  ------------------
  614|      0|            return -1;
  615|      0|        do_decref = 1;
  616|      0|    }
  617|  1.52k|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (617:9): [True: 1.51k, False: 2]
  ------------------
  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|  1.51k|        res = _PyLong_CompactValue(v);
  633|  1.51k|#endif
  634|  1.51k|    }
  635|      2|    else {
  636|      2|        res = -1;
  637|      2|        i = _PyLong_DigitCount(v);
  638|      2|        sign = _PyLong_NonCompactSign(v);
  639|       |
  640|      2|        unsigned long x = unroll_digits_ulong(v, &i);
  641|      2|        while (--i >= 0) {
  ------------------
  |  Branch (641:16): [True: 2, False: 0]
  ------------------
  642|      2|            if (x > (ULONG_MAX >> PyLong_SHIFT)) {
  ------------------
  |  |   47|      2|#define PyLong_SHIFT    30
  ------------------
  |  Branch (642:17): [True: 2, False: 0]
  ------------------
  643|      2|                *overflow = sign;
  644|      2|                goto exit;
  645|      2|            }
  646|      0|            x = (x << PyLong_SHIFT) | v->long_value.ob_digit[i];
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  647|      0|        }
  648|       |        /* Haven't lost any bits, but casting to long requires extra
  649|       |        * care (see comment above).
  650|       |        */
  651|      0|        if (x <= (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (651:13): [True: 0, False: 0]
  ------------------
  652|      0|            res = (long)x * sign;
  653|      0|        }
  654|      0|        else if (sign < 0 && x == PY_ABS_LONG_MIN) {
  ------------------
  |  |  532|      0|#define PY_ABS_LONG_MIN         (0-(unsigned long)LONG_MIN)
  ------------------
  |  Branch (654:18): [True: 0, False: 0]
  |  Branch (654:30): [True: 0, False: 0]
  ------------------
  655|      0|            res = LONG_MIN;
  656|      0|        }
  657|      0|        else {
  658|      0|            *overflow = sign;
  659|       |            /* res is already set to -1 */
  660|      0|        }
  661|      0|    }
  662|  1.52k|  exit:
  663|  1.52k|    if (do_decref) {
  ------------------
  |  Branch (663:9): [True: 0, False: 1.52k]
  ------------------
  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|  1.52k|    return res;
  667|  1.52k|}
PyLong_AsLong:
  674|    467|{
  675|    467|    int overflow;
  676|    467|    long result = PyLong_AsLongAndOverflow(obj, &overflow);
  677|    467|    if (overflow) {
  ------------------
  |  Branch (677:9): [True: 2, False: 465]
  ------------------
  678|       |        /* XXX: could be cute and give a different
  679|       |           message for overflow == -1 */
  680|      2|        PyErr_SetString(PyExc_OverflowError,
  681|      2|                        "Python int too large to convert to C long");
  682|      2|    }
  683|    467|    return result;
  684|    467|}
PyLong_AsInt:
  691|    742|{
  692|    742|    int overflow;
  693|    742|    long result = PyLong_AsLongAndOverflow(obj, &overflow);
  694|    742|    if (overflow || result > INT_MAX || result < INT_MIN) {
  ------------------
  |  Branch (694:9): [True: 0, False: 742]
  |  Branch (694:21): [True: 0, False: 742]
  |  Branch (694:41): [True: 0, False: 742]
  ------------------
  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|    742|    return (int)result;
  702|    742|}
PyLong_AsSsize_t:
  708|  1.14k|PyLong_AsSsize_t(PyObject *vv) {
  709|  1.14k|    PyLongObject *v;
  710|  1.14k|    Py_ssize_t i;
  711|  1.14k|    int sign;
  712|       |
  713|  1.14k|    if (vv == NULL) {
  ------------------
  |  Branch (713:9): [True: 0, False: 1.14k]
  ------------------
  714|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  715|      0|        return -1;
  716|      0|    }
  717|  1.14k|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|  1.14k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.14k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (717:9): [True: 0, False: 1.14k]
  ------------------
  718|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
  719|      0|        return -1;
  720|      0|    }
  721|       |
  722|  1.14k|    v = (PyLongObject *)vv;
  723|  1.14k|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (723:9): [True: 1.14k, False: 0]
  ------------------
  724|  1.14k|        return _PyLong_CompactValue(v);
  725|  1.14k|    }
  726|      0|    i = _PyLong_DigitCount(v);
  727|      0|    sign = _PyLong_NonCompactSign(v);
  728|       |
  729|      0|    size_t x = unroll_digits_size_t(v, &i);
  730|      0|    while (--i >= 0) {
  ------------------
  |  Branch (730:12): [True: 0, False: 0]
  ------------------
  731|      0|        if (x > (SIZE_MAX >> PyLong_SHIFT)) {
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  |  Branch (731:13): [True: 0, False: 0]
  ------------------
  732|      0|            goto overflow;
  733|      0|        }
  734|      0|        x = (x << PyLong_SHIFT) | v->long_value.ob_digit[i];
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  735|      0|    }
  736|       |    /* Haven't lost any bits, but casting to a signed type requires
  737|       |     * extra care (see comment above).
  738|       |     */
  739|      0|    if (x <= (size_t)PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (739:9): [True: 0, False: 0]
  ------------------
  740|      0|        return (Py_ssize_t)x * sign;
  741|      0|    }
  742|      0|    else if (sign < 0 && x == PY_ABS_SSIZE_T_MIN) {
  ------------------
  |  |  533|      0|#define PY_ABS_SSIZE_T_MIN      (0-(size_t)PY_SSIZE_T_MIN)
  |  |  ------------------
  |  |  |  |  146|      0|#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (742:14): [True: 0, False: 0]
  |  Branch (742:26): [True: 0, False: 0]
  ------------------
  743|      0|        return PY_SSIZE_T_MIN;
  ------------------
  |  |  146|      0|#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  744|      0|    }
  745|       |    /* else overflow */
  746|       |
  747|      0|  overflow:
  748|      0|    PyErr_SetString(PyExc_OverflowError,
  749|      0|                    "Python int too large to convert to C ssize_t");
  750|      0|    return -1;
  751|      0|}
PyLong_AsUnsignedLong:
  758|    144|{
  759|    144|    PyLongObject *v;
  760|    144|    Py_ssize_t i;
  761|       |
  762|    144|    if (vv == NULL) {
  ------------------
  |  Branch (762:9): [True: 0, False: 144]
  ------------------
  763|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  764|      0|        return (unsigned long)-1;
  765|      0|    }
  766|    144|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|    144|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    144|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (766:9): [True: 0, False: 144]
  ------------------
  767|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
  768|      0|        return (unsigned long)-1;
  769|      0|    }
  770|       |
  771|    144|    v = (PyLongObject *)vv;
  772|    144|    if (_PyLong_IsNonNegativeCompact(v)) {
  ------------------
  |  Branch (772:9): [True: 137, False: 7]
  ------------------
  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|    137|        return (unsigned long)(size_t)_PyLong_CompactValue(v);
  782|    137|#endif
  783|    137|    }
  784|      7|    if (_PyLong_IsNegative(v)) {
  ------------------
  |  Branch (784:9): [True: 0, False: 7]
  ------------------
  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|      7|    i = _PyLong_DigitCount(v);
  790|       |
  791|      7|    unsigned long x = unroll_digits_ulong(v, &i);
  792|      7|    while (--i >= 0) {
  ------------------
  |  Branch (792:12): [True: 0, False: 7]
  ------------------
  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|      7|    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|      7|}
PyLong_GetSign:
  955|     16|{
  956|     16|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|     16|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     16|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (956:9): [True: 0, False: 16]
  ------------------
  957|      0|        PyErr_Format(PyExc_TypeError, "expect int, got %T", vv);
  958|      0|        return -1;
  959|      0|    }
  960|       |
  961|     16|    *sign = long_sign(vv);
  962|     16|    return 0;
  963|     16|}
_PyLong_NumBits:
  977|      1|{
  978|      1|    PyLongObject *v = (PyLongObject *)vv;
  979|      1|    int64_t result = 0;
  980|      1|    Py_ssize_t ndigits;
  981|      1|    int msd_bits;
  982|       |
  983|      1|    assert(v != NULL);
  ------------------
  |  Branch (983:5): [True: 1, False: 0]
  ------------------
  984|      1|    assert(PyLong_Check(v));
  ------------------
  |  Branch (984:5): [True: 1, False: 0]
  ------------------
  985|      1|    ndigits = _PyLong_DigitCount(v);
  986|      1|    assert(ndigits == 0 || v->long_value.ob_digit[ndigits - 1] != 0);
  ------------------
  |  Branch (986:5): [True: 0, False: 1]
  |  Branch (986:5): [True: 1, False: 0]
  ------------------
  987|      1|    if (ndigits > 0) {
  ------------------
  |  Branch (987:9): [True: 1, False: 0]
  ------------------
  988|      1|        digit msd = v->long_value.ob_digit[ndigits - 1];
  989|      1|#if SIZEOF_SIZE_T == 8
  990|      1|        assert(ndigits <= INT64_MAX / PyLong_SHIFT);
  ------------------
  |  Branch (990:9): [True: 1, False: 0]
  ------------------
  991|      1|#endif
  992|      1|        result = (int64_t)(ndigits - 1) * PyLong_SHIFT;
  ------------------
  |  |   47|      1|#define PyLong_SHIFT    30
  ------------------
  993|      1|        msd_bits = bit_length_digit(msd);
  994|      1|        result += msd_bits;
  995|      1|    }
  996|      1|    return result;
  997|      1|}
_PyLong_FromByteArray:
 1002|     81|{
 1003|     81|    const unsigned char* pstartbyte;    /* LSB of bytes */
 1004|     81|    int incr;                           /* direction to move pstartbyte */
 1005|     81|    const unsigned char* pendbyte;      /* MSB of bytes */
 1006|     81|    size_t numsignificantbytes;         /* number of bytes that matter */
 1007|     81|    Py_ssize_t ndigits;                 /* number of Python int digits */
 1008|     81|    PyLongObject* v;                    /* result */
 1009|     81|    Py_ssize_t idigit = 0;              /* next free index in v->long_value.ob_digit */
 1010|       |
 1011|     81|    if (n == 0)
  ------------------
  |  Branch (1011:9): [True: 0, False: 81]
  ------------------
 1012|      0|        return PyLong_FromLong(0L);
 1013|       |
 1014|     81|    if (little_endian) {
  ------------------
  |  Branch (1014:9): [True: 81, False: 0]
  ------------------
 1015|     81|        pstartbyte = bytes;
 1016|     81|        pendbyte = bytes + n - 1;
 1017|     81|        incr = 1;
 1018|     81|    }
 1019|      0|    else {
 1020|      0|        pstartbyte = bytes + n - 1;
 1021|      0|        pendbyte = bytes;
 1022|      0|        incr = -1;
 1023|      0|    }
 1024|       |
 1025|     81|    if (is_signed)
  ------------------
  |  Branch (1025:9): [True: 0, False: 81]
  ------------------
 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|     81|    {
 1032|     81|        size_t i;
 1033|     81|        const unsigned char* p = pendbyte;
 1034|     81|        const int pincr = -incr;  /* search MSB to LSB */
 1035|     81|        const unsigned char insignificant = is_signed ? 0xff : 0x00;
  ------------------
  |  Branch (1035:45): [True: 0, False: 81]
  ------------------
 1036|       |
 1037|    242|        for (i = 0; i < n; ++i, p += pincr) {
  ------------------
  |  Branch (1037:21): [True: 215, False: 27]
  ------------------
 1038|    215|            if (*p != insignificant)
  ------------------
  |  Branch (1038:17): [True: 54, False: 161]
  ------------------
 1039|     54|                break;
 1040|    215|        }
 1041|     81|        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|     81|        if (is_signed && numsignificantbytes < n)
  ------------------
  |  Branch (1047:13): [True: 0, False: 81]
  |  Branch (1047:26): [True: 0, False: 0]
  ------------------
 1048|      0|            ++numsignificantbytes;
 1049|     81|    }
 1050|       |
 1051|       |    /* avoid integer overflow */
 1052|     81|    ndigits = numsignificantbytes / PyLong_SHIFT * 8
  ------------------
  |  |   47|     81|#define PyLong_SHIFT    30
  ------------------
 1053|     81|        + (numsignificantbytes % PyLong_SHIFT * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|     81|#define PyLong_SHIFT    30
  ------------------
                      + (numsignificantbytes % PyLong_SHIFT * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|     81|#define PyLong_SHIFT    30
  ------------------
                      + (numsignificantbytes % PyLong_SHIFT * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|     81|#define PyLong_SHIFT    30
  ------------------
 1054|     81|    v = long_alloc(ndigits);
 1055|     81|    if (v == NULL)
  ------------------
  |  Branch (1055:9): [True: 0, False: 81]
  ------------------
 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|     81|    {
 1062|     81|        size_t i;
 1063|     81|        twodigits carry = 1;                    /* for 2's-comp calculation */
 1064|     81|        twodigits accum = 0;                    /* sliding register */
 1065|     81|        unsigned int accumbits = 0;             /* number of bits in accum */
 1066|     81|        const unsigned char* p = pstartbyte;
 1067|       |
 1068|    244|        for (i = 0; i < numsignificantbytes; ++i, p += incr) {
  ------------------
  |  Branch (1068:21): [True: 163, False: 81]
  ------------------
 1069|    163|            twodigits thisbyte = *p;
 1070|       |            /* Compute correction for 2's comp, if needed. */
 1071|    163|            if (is_signed) {
  ------------------
  |  Branch (1071:17): [True: 0, False: 163]
  ------------------
 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|    163|            accum |= thisbyte << accumbits;
 1080|    163|            accumbits += 8;
 1081|    163|            if (accumbits >= PyLong_SHIFT) {
  ------------------
  |  |   47|    163|#define PyLong_SHIFT    30
  ------------------
  |  Branch (1081:17): [True: 27, False: 136]
  ------------------
 1082|       |                /* There's enough to fill a Python digit. */
 1083|     27|                assert(idigit < ndigits);
  ------------------
  |  Branch (1083:17): [True: 27, False: 0]
  ------------------
 1084|     27|                v->long_value.ob_digit[idigit] = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|     27|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|     27|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     27|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1085|     27|                ++idigit;
 1086|     27|                accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|     27|#define PyLong_SHIFT    30
  ------------------
 1087|     27|                accumbits -= PyLong_SHIFT;
  ------------------
  |  |   47|     27|#define PyLong_SHIFT    30
  ------------------
 1088|     27|                assert(accumbits < PyLong_SHIFT);
  ------------------
  |  Branch (1088:17): [True: 27, False: 0]
  ------------------
 1089|     27|            }
 1090|    163|        }
 1091|     81|        assert(accumbits < PyLong_SHIFT);
  ------------------
  |  Branch (1091:9): [True: 81, False: 0]
  ------------------
 1092|     81|        if (accumbits) {
  ------------------
  |  Branch (1092:13): [True: 54, False: 27]
  ------------------
 1093|     54|            assert(idigit < ndigits);
  ------------------
  |  Branch (1093:13): [True: 54, False: 0]
  ------------------
 1094|     54|            v->long_value.ob_digit[idigit] = (digit)accum;
 1095|     54|            ++idigit;
 1096|     54|        }
 1097|     81|    }
 1098|       |
 1099|     81|    int sign = is_signed ? -1: 1;
  ------------------
  |  Branch (1099:16): [True: 0, False: 81]
  ------------------
 1100|     81|    if (idigit == 0) {
  ------------------
  |  Branch (1100:9): [True: 27, False: 54]
  ------------------
 1101|     27|        sign = 0;
 1102|     27|        v->long_value.ob_digit[0] = 0;
 1103|     27|    }
 1104|     81|    _PyLong_SetSignAndDigitCount(v, sign, idigit);
 1105|     81|    return (PyObject *)maybe_small_long(long_normalize(v));
 1106|     81|}
_PyLong_AsByteArray:
 1113|      2|{
 1114|      2|    Py_ssize_t i;               /* index into v->long_value.ob_digit */
 1115|      2|    Py_ssize_t ndigits;         /* number of digits */
 1116|      2|    twodigits accum;            /* sliding register */
 1117|      2|    unsigned int accumbits;     /* # bits in accum */
 1118|      2|    int do_twos_comp;           /* store 2's-comp?  is_signed and v < 0 */
 1119|      2|    digit carry;                /* for computing 2's-comp */
 1120|      2|    size_t j;                   /* # bytes filled */
 1121|      2|    unsigned char* p;           /* pointer to next byte in bytes */
 1122|      2|    int pincr;                  /* direction to move p */
 1123|       |
 1124|      2|    assert(v != NULL && PyLong_Check(v));
  ------------------
  |  Branch (1124:5): [True: 2, False: 0]
  |  Branch (1124:5): [True: 2, False: 0]
  ------------------
 1125|       |
 1126|      2|    ndigits = _PyLong_DigitCount(v);
 1127|      2|    if (_PyLong_IsNegative(v)) {
  ------------------
  |  Branch (1127:9): [True: 0, False: 2]
  ------------------
 1128|      0|        if (!is_signed) {
  ------------------
  |  Branch (1128:13): [True: 0, False: 0]
  ------------------
 1129|      0|            if (with_exceptions) {
  ------------------
  |  Branch (1129:17): [True: 0, False: 0]
  ------------------
 1130|      0|                PyErr_SetString(PyExc_OverflowError,
 1131|      0|                                "can't convert negative int to unsigned");
 1132|      0|            }
 1133|      0|            return -1;
 1134|      0|        }
 1135|      0|        do_twos_comp = 1;
 1136|      0|    }
 1137|      2|    else {
 1138|      2|        do_twos_comp = 0;
 1139|      2|    }
 1140|       |
 1141|      2|    if (little_endian) {
  ------------------
  |  Branch (1141:9): [True: 2, False: 0]
  ------------------
 1142|      2|        p = bytes;
 1143|      2|        pincr = 1;
 1144|      2|    }
 1145|      0|    else {
 1146|      0|        p = bytes + n - 1;
 1147|      0|        pincr = -1;
 1148|      0|    }
 1149|       |
 1150|       |    /* Copy over all the Python digits.
 1151|       |       It's crucial that every Python digit except for the MSD contribute
 1152|       |       exactly PyLong_SHIFT bits to the total, so first assert that the int is
 1153|       |       normalized.
 1154|       |       NOTE: PyLong_AsNativeBytes() assumes that this function will fill in 'n'
 1155|       |       bytes even if it eventually fails to convert the whole number. Make sure
 1156|       |       you account for that if you are changing this algorithm to return without
 1157|       |       doing that.
 1158|       |       */
 1159|      2|    assert(ndigits == 0 || v->long_value.ob_digit[ndigits - 1] != 0);
  ------------------
  |  Branch (1159:5): [True: 0, False: 2]
  |  Branch (1159:5): [True: 2, False: 0]
  ------------------
 1160|      2|    j = 0;
 1161|      2|    accum = 0;
 1162|      2|    accumbits = 0;
 1163|      2|    carry = do_twos_comp ? 1 : 0;
  ------------------
  |  Branch (1163:13): [True: 0, False: 2]
  ------------------
 1164|      4|    for (i = 0; i < ndigits; ++i) {
  ------------------
  |  Branch (1164:17): [True: 2, False: 2]
  ------------------
 1165|      2|        digit thisdigit = v->long_value.ob_digit[i];
 1166|      2|        if (do_twos_comp) {
  ------------------
  |  Branch (1166:13): [True: 0, False: 2]
  ------------------
 1167|      0|            thisdigit = (thisdigit ^ PyLong_MASK) + carry;
  ------------------
  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1168|      0|            carry = thisdigit >> PyLong_SHIFT;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 1169|      0|            thisdigit &= PyLong_MASK;
  ------------------
  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1170|      0|        }
 1171|       |        /* Because we're going LSB to MSB, thisdigit is more
 1172|       |           significant than what's already in accum, so needs to be
 1173|       |           prepended to accum. */
 1174|      2|        accum |= (twodigits)thisdigit << accumbits;
 1175|       |
 1176|       |        /* The most-significant digit may be (probably is) at least
 1177|       |           partly empty. */
 1178|      2|        if (i == ndigits - 1) {
  ------------------
  |  Branch (1178:13): [True: 2, False: 0]
  ------------------
 1179|       |            /* Count # of sign bits -- they needn't be stored,
 1180|       |             * although for signed conversion we need later to
 1181|       |             * make sure at least one sign bit gets stored. */
 1182|      2|            digit s = do_twos_comp ? thisdigit ^ PyLong_MASK : thisdigit;
  ------------------
  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1182:23): [True: 0, False: 2]
  ------------------
 1183|     58|            while (s != 0) {
  ------------------
  |  Branch (1183:20): [True: 56, False: 2]
  ------------------
 1184|     56|                s >>= 1;
 1185|     56|                accumbits++;
 1186|     56|            }
 1187|      2|        }
 1188|      0|        else
 1189|      0|            accumbits += PyLong_SHIFT;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 1190|       |
 1191|       |        /* Store as many bytes as possible. */
 1192|      8|        while (accumbits >= 8) {
  ------------------
  |  Branch (1192:16): [True: 6, False: 2]
  ------------------
 1193|      6|            if (j >= n)
  ------------------
  |  Branch (1193:17): [True: 0, False: 6]
  ------------------
 1194|      0|                goto Overflow;
 1195|      6|            ++j;
 1196|      6|            *p = (unsigned char)(accum & 0xff);
 1197|      6|            p += pincr;
 1198|      6|            accumbits -= 8;
 1199|      6|            accum >>= 8;
 1200|      6|        }
 1201|      2|    }
 1202|       |
 1203|       |    /* Store the straggler (if any). */
 1204|      2|    assert(accumbits < 8);
  ------------------
  |  Branch (1204:5): [True: 2, False: 0]
  ------------------
 1205|      2|    assert(carry == 0);  /* else do_twos_comp and *every* digit was 0 */
  ------------------
  |  Branch (1205:5): [True: 2, False: 0]
  ------------------
 1206|      2|    if (accumbits > 0) {
  ------------------
  |  Branch (1206:9): [True: 2, False: 0]
  ------------------
 1207|      2|        if (j >= n)
  ------------------
  |  Branch (1207:13): [True: 0, False: 2]
  ------------------
 1208|      0|            goto Overflow;
 1209|      2|        ++j;
 1210|      2|        if (do_twos_comp) {
  ------------------
  |  Branch (1210:13): [True: 0, False: 2]
  ------------------
 1211|       |            /* Fill leading bits of the byte with sign bits
 1212|       |               (appropriately pretending that the int had an
 1213|       |               infinite supply of sign bits). */
 1214|      0|            accum |= (~(twodigits)0) << accumbits;
 1215|      0|        }
 1216|      2|        *p = (unsigned char)(accum & 0xff);
 1217|      2|        p += pincr;
 1218|      2|    }
 1219|      0|    else if (j == n && is_signed) {
  ------------------
  |  Branch (1219:14): [True: 0, False: 0]
  |  Branch (1219:24): [True: 0, False: 0]
  ------------------
 1220|       |        /* The main loop filled the byte array exactly, so the code
 1221|       |           just above didn't get to ensure there's a sign bit, and the
 1222|       |           loop below wouldn't add one either.  Make sure a sign bit
 1223|       |           exists. */
 1224|      0|        int sign_bit_set;
 1225|      0|        if (n > 0) {
  ------------------
  |  Branch (1225:13): [True: 0, False: 0]
  ------------------
 1226|      0|            unsigned char msb = *(p - pincr);
 1227|      0|            sign_bit_set = msb >= 0x80;
 1228|      0|        }
 1229|      0|        else {
 1230|      0|            sign_bit_set = 0;
 1231|      0|        }
 1232|      0|        assert(accumbits == 0);
  ------------------
  |  Branch (1232:9): [True: 0, False: 0]
  ------------------
 1233|      0|        if (sign_bit_set == do_twos_comp)
  ------------------
  |  Branch (1233:13): [True: 0, False: 0]
  ------------------
 1234|      0|            return 0;
 1235|      0|        else
 1236|      0|            goto Overflow;
 1237|      0|    }
 1238|       |
 1239|       |    /* Fill remaining bytes with copies of the sign bit. */
 1240|      2|    {
 1241|      2|        unsigned char signbyte = do_twos_comp ? 0xffU : 0U;
  ------------------
  |  Branch (1241:34): [True: 0, False: 2]
  ------------------
 1242|      2|        for ( ; j < n; ++j, p += pincr)
  ------------------
  |  Branch (1242:17): [True: 0, False: 2]
  ------------------
 1243|      0|            *p = signbyte;
 1244|      2|    }
 1245|       |
 1246|      2|    return 0;
 1247|       |
 1248|      0|  Overflow:
 1249|      0|    if (with_exceptions) {
  ------------------
  |  Branch (1249:9): [True: 0, False: 0]
  ------------------
 1250|      0|        PyErr_SetString(PyExc_OverflowError, "int too big to convert");
 1251|      0|    }
 1252|      0|    return -1;
 1253|       |
 1254|      2|}
PyLong_AsNativeBytes:
 1283|      3|{
 1284|      3|    PyLongObject *v;
 1285|      3|    union {
 1286|      3|        Py_ssize_t v;
 1287|      3|        unsigned char b[sizeof(Py_ssize_t)];
 1288|      3|    } cv;
 1289|      3|    int do_decref = 0;
 1290|      3|    Py_ssize_t res = 0;
 1291|       |
 1292|      3|    if (vv == NULL || n < 0) {
  ------------------
  |  Branch (1292:9): [True: 0, False: 3]
  |  Branch (1292:23): [True: 0, False: 3]
  ------------------
 1293|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1294|      0|        return -1;
 1295|      0|    }
 1296|       |
 1297|      3|    int little_endian = flags;
 1298|      3|    if (_resolve_endianness(&little_endian) < 0) {
  ------------------
  |  Branch (1298:9): [True: 0, False: 3]
  ------------------
 1299|      0|        return -1;
 1300|      0|    }
 1301|       |
 1302|      3|    if (PyLong_Check(vv)) {
  ------------------
  |  |   13|      3|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      3|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1303|      3|        v = (PyLongObject *)vv;
 1304|      3|    }
 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|      3|    if ((flags != -1 && (flags & Py_ASNATIVEBYTES_REJECT_NEGATIVE))
  ------------------
  |  |   49|      3|#define Py_ASNATIVEBYTES_REJECT_NEGATIVE 8
  ------------------
  |  Branch (1317:10): [True: 3, False: 0]
  |  Branch (1317:25): [True: 0, False: 3]
  ------------------
 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|      3|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (1326:9): [True: 3, False: 0]
  ------------------
 1327|      3|        res = 0;
 1328|      3|        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|      3|        res = sizeof(cv.b);
 1333|      3|        if (n <= 0) {
  ------------------
  |  Branch (1333:13): [True: 0, False: 3]
  ------------------
 1334|       |            // nothing to do!
 1335|      0|        }
 1336|      3|        else if (n <= (Py_ssize_t)sizeof(cv.b)) {
  ------------------
  |  Branch (1336:18): [True: 3, False: 0]
  ------------------
 1337|      3|#if PY_LITTLE_ENDIAN
 1338|      3|            if (little_endian) {
  ------------------
  |  Branch (1338:17): [True: 3, False: 0]
  ------------------
 1339|      3|                memcpy(buffer, cv.b, n);
 1340|      3|            }
 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|      3|            if (_fits_in_n_bits(cv.v, n * 8)) {
  ------------------
  |  Branch (1358:17): [True: 3, False: 0]
  ------------------
 1359|      3|                res = n;
 1360|      3|            } 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|      3|        }
 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|      3|    }
 1404|      0|    else {
 1405|      0|        if (n > 0) {
  ------------------
  |  Branch (1405:13): [True: 0, False: 0]
  ------------------
 1406|      0|            _PyLong_AsByteArray(v, buffer, (size_t)n, little_endian, 1, 0);
 1407|      0|        }
 1408|       |
 1409|       |        /* Calculates the number of bits required for the *absolute* value
 1410|       |         * of v. This does not take sign into account, only magnitude. */
 1411|      0|        int64_t nb = _PyLong_NumBits((PyObject *)v);
 1412|      0|        assert(nb >= 0);
  ------------------
  |  Branch (1412:9): [True: 0, False: 0]
  ------------------
 1413|       |        /* Normally this would be ((nb - 1) / 8) + 1 to avoid rounding up
 1414|       |         * multiples of 8 to the next byte, but we add an implied bit for
 1415|       |         * the sign and it cancels out. */
 1416|      0|        res = (Py_ssize_t)(nb / 8) + 1;
 1417|       |
 1418|       |        /* Two edge cases exist that are best handled after extracting the
 1419|       |         * bits. These may result in us reporting overflow when the value
 1420|       |         * actually fits.
 1421|       |         */
 1422|      0|        if (n > 0 && res == n + 1 && nb % 8 == 0) {
  ------------------
  |  Branch (1422:13): [True: 0, False: 0]
  |  Branch (1422:22): [True: 0, False: 0]
  |  Branch (1422:38): [True: 0, False: 0]
  ------------------
 1423|      0|            if (_PyLong_IsNegative(v)) {
  ------------------
  |  Branch (1423:17): [True: 0, False: 0]
  ------------------
 1424|       |                /* Values of 0x80...00 from negative values that use every
 1425|       |                 * available bit in the buffer do not require an additional
 1426|       |                 * bit to store the sign. */
 1427|      0|                int is_edge_case = 1;
 1428|      0|                unsigned char *b = (unsigned char *)buffer;
 1429|      0|                for (Py_ssize_t i = 0; i < n && is_edge_case; ++i, ++b) {
  ------------------
  |  Branch (1429:40): [True: 0, False: 0]
  |  Branch (1429:49): [True: 0, False: 0]
  ------------------
 1430|      0|                    if (i == 0) {
  ------------------
  |  Branch (1430:25): [True: 0, False: 0]
  ------------------
 1431|      0|                        is_edge_case = (*b == (little_endian ? 0 : 0x80));
  ------------------
  |  Branch (1431:48): [True: 0, False: 0]
  ------------------
 1432|      0|                    } else if (i < n - 1) {
  ------------------
  |  Branch (1432:32): [True: 0, False: 0]
  ------------------
 1433|      0|                        is_edge_case = (*b == 0);
 1434|      0|                    } else {
 1435|      0|                        is_edge_case = (*b == (little_endian ? 0x80 : 0));
  ------------------
  |  Branch (1435:48): [True: 0, False: 0]
  ------------------
 1436|      0|                    }
 1437|      0|                }
 1438|      0|                if (is_edge_case) {
  ------------------
  |  Branch (1438:21): [True: 0, False: 0]
  ------------------
 1439|      0|                    res = n;
 1440|      0|                }
 1441|      0|            }
 1442|      0|            else {
 1443|       |                /* Positive values with the MSB set do not require an
 1444|       |                 * additional bit when the caller's intent is to treat them
 1445|       |                 * as unsigned. */
 1446|      0|                unsigned char *b = (unsigned char *)buffer;
 1447|      0|                if (b[little_endian ? n - 1 : 0] & 0x80) {
  ------------------
  |  Branch (1447:21): [True: 0, False: 0]
  |  Branch (1447:23): [True: 0, False: 0]
  ------------------
 1448|      0|                    if (flags == -1 || (flags & Py_ASNATIVEBYTES_UNSIGNED_BUFFER)) {
  ------------------
  |  |   48|      0|#define Py_ASNATIVEBYTES_UNSIGNED_BUFFER 4
  ------------------
  |  Branch (1448:25): [True: 0, False: 0]
  |  Branch (1448:40): [True: 0, False: 0]
  ------------------
 1449|      0|                        res = n;
 1450|      0|                    } else {
 1451|      0|                        res = n + 1;
 1452|      0|                    }
 1453|      0|                }
 1454|      0|            }
 1455|      0|        }
 1456|      0|    }
 1457|       |
 1458|      3|    if (do_decref) {
  ------------------
  |  Branch (1458:9): [True: 0, False: 3]
  ------------------
 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|      3|    return res;
 1463|      3|}
PyLong_FromVoidPtr:
 1509|    954|{
 1510|    954|#if SIZEOF_VOID_P <= SIZEOF_LONG
 1511|    954|    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|    954|}
PyLong_FromLongLong:
 1567|    828|{
 1568|       |    PYLONG_FROM_INT(unsigned long long, long long, ival);
  ------------------
  |  |  371|    828|    do {                                                                            \
  |  |  372|    828|        /* Handle small and medium cases. */                                        \
  |  |  373|    828|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|    828|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|    828|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|    828|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|    828|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 828, False: 0]
  |  |  |  |  |  |  |  Branch (68:37): [True: 2, False: 826]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|      2|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|      2|        }                                                                           \
  |  |  376|    828|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|    826|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    826|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    826|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|    826|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    826|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    826|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 826, False: 0]
  |  |  |  Branch (376:49): [True: 118, False: 708]
  |  |  ------------------
  |  |  377|    118|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|    118|        }                                                                           \
  |  |  379|    826|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 0, False: 708]
  |  |  ------------------
  |  |  380|    708|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|    708|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|    708|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|    708|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|    708|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|    708|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|  1.06k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 354, False: 708]
  |  |  ------------------
  |  |  385|    354|            ++ndigits;                                                              \
  |  |  386|    354|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|    354|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|    354|        }                                                                           \
  |  |  388|    708|        /* Construct output value. */                                               \
  |  |  389|    708|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|    708|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 708]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|    708|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|    708|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 0, False: 708]
  |  |  ------------------
  |  |  395|    708|        t = abs_ival;                                                               \
  |  |  396|  2.47k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 1.77k, False: 708]
  |  |  ------------------
  |  |  397|  1.77k|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|  1.77k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  1.77k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  1.77k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|  1.77k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|  1.77k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|  1.77k|        }                                                                           \
  |  |  400|    708|        return (PyObject *)v;                                                       \
  |  |  401|    708|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1569|    828|}
PyLong_FromSsize_t:
 1575|  1.85k|{
 1576|       |    PYLONG_FROM_INT(size_t, Py_ssize_t, ival);
  ------------------
  |  |  371|  1.85k|    do {                                                                            \
  |  |  372|  1.85k|        /* Handle small and medium cases. */                                        \
  |  |  373|  1.85k|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|  1.85k|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|  1.85k|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|  1.85k|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|  1.85k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 1.85k, False: 0]
  |  |  |  |  |  |  |  Branch (68:37): [True: 1.77k, False: 77]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|  1.77k|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|  1.77k|        }                                                                           \
  |  |  376|  1.85k|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|     77|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|     77|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     77|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|     77|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|     77|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     77|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 77, False: 0]
  |  |  |  Branch (376:49): [True: 73, False: 4]
  |  |  ------------------
  |  |  377|     73|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|     73|        }                                                                           \
  |  |  379|     77|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 0, False: 4]
  |  |  ------------------
  |  |  380|      4|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|      4|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|      4|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|      4|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|      4|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|      4|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|      8|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 4, False: 4]
  |  |  ------------------
  |  |  385|      4|            ++ndigits;                                                              \
  |  |  386|      4|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|      4|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|      4|        }                                                                           \
  |  |  388|      4|        /* Construct output value. */                                               \
  |  |  389|      4|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|      4|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|      4|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|      4|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 0, False: 4]
  |  |  ------------------
  |  |  395|      4|        t = abs_ival;                                                               \
  |  |  396|     16|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 12, False: 4]
  |  |  ------------------
  |  |  397|     12|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|     12|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|     12|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     12|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|     12|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|     12|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|     12|        }                                                                           \
  |  |  400|      4|        return (PyObject *)v;                                                       \
  |  |  401|      4|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1577|  1.85k|}
PyLong_FromString:
 3053|     31|{
 3054|     31|    int sign = 1, error_if_nonzero = 0;
 3055|     31|    const char *orig_str = str;
 3056|     31|    PyLongObject *z = NULL;
 3057|     31|    PyObject *strobj;
 3058|     31|    Py_ssize_t slen;
 3059|       |
 3060|     31|    if ((base != 0 && base < 2) || base > 36) {
  ------------------
  |  Branch (3060:10): [True: 24, False: 7]
  |  Branch (3060:23): [True: 0, False: 24]
  |  Branch (3060:36): [True: 0, False: 31]
  ------------------
 3061|      0|        PyErr_SetString(PyExc_ValueError,
 3062|      0|                        "int() arg 2 must be >= 2 and <= 36");
 3063|      0|        return NULL;
 3064|      0|    }
 3065|     31|    while (*str != '\0' && Py_ISSPACE(*str)) {
  ------------------
  |  |   27|     31|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  170|     31|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|     31|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 31]
  |  |  ------------------
  ------------------
  |  Branch (3065:12): [True: 31, False: 0]
  ------------------
 3066|      0|        ++str;
 3067|      0|    }
 3068|     31|    if (*str == '+') {
  ------------------
  |  Branch (3068:9): [True: 0, False: 31]
  ------------------
 3069|      0|        ++str;
 3070|      0|    }
 3071|     31|    else if (*str == '-') {
  ------------------
  |  Branch (3071:14): [True: 0, False: 31]
  ------------------
 3072|      0|        ++str;
 3073|      0|        sign = -1;
 3074|      0|    }
 3075|     31|    if (base == 0) {
  ------------------
  |  Branch (3075:9): [True: 7, False: 24]
  ------------------
 3076|      7|        if (str[0] != '0') {
  ------------------
  |  Branch (3076:13): [True: 7, False: 0]
  ------------------
 3077|      7|            base = 10;
 3078|      7|        }
 3079|      0|        else if (str[1] == 'x' || str[1] == 'X') {
  ------------------
  |  Branch (3079:18): [True: 0, False: 0]
  |  Branch (3079:35): [True: 0, False: 0]
  ------------------
 3080|      0|            base = 16;
 3081|      0|        }
 3082|      0|        else if (str[1] == 'o' || str[1] == 'O') {
  ------------------
  |  Branch (3082:18): [True: 0, False: 0]
  |  Branch (3082:35): [True: 0, False: 0]
  ------------------
 3083|      0|            base = 8;
 3084|      0|        }
 3085|      0|        else if (str[1] == 'b' || str[1] == 'B') {
  ------------------
  |  Branch (3085:18): [True: 0, False: 0]
  |  Branch (3085:35): [True: 0, False: 0]
  ------------------
 3086|      0|            base = 2;
 3087|      0|        }
 3088|      0|        else {
 3089|       |            /* "old" (C-style) octal literal, now invalid.
 3090|       |               it might still be zero though */
 3091|      0|            error_if_nonzero = 1;
 3092|      0|            base = 10;
 3093|      0|        }
 3094|      7|    }
 3095|     31|    if (str[0] == '0' &&
  ------------------
  |  Branch (3095:9): [True: 24, False: 7]
  ------------------
 3096|     24|        ((base == 16 && (str[1] == 'x' || str[1] == 'X')) ||
  ------------------
  |  Branch (3096:11): [True: 0, False: 24]
  |  Branch (3096:26): [True: 0, False: 0]
  |  Branch (3096:43): [True: 0, False: 0]
  ------------------
 3097|     24|         (base == 8  && (str[1] == 'o' || str[1] == 'O')) ||
  ------------------
  |  Branch (3097:11): [True: 0, False: 24]
  |  Branch (3097:26): [True: 0, False: 0]
  |  Branch (3097:43): [True: 0, False: 0]
  ------------------
 3098|     24|         (base == 2  && (str[1] == 'b' || str[1] == 'B')))) {
  ------------------
  |  Branch (3098:11): [True: 24, False: 0]
  |  Branch (3098:26): [True: 0, False: 24]
  |  Branch (3098:43): [True: 0, False: 24]
  ------------------
 3099|      0|        str += 2;
 3100|       |        /* One underscore allowed here. */
 3101|      0|        if (*str == '_') {
  ------------------
  |  Branch (3101:13): [True: 0, False: 0]
  ------------------
 3102|      0|            ++str;
 3103|      0|        }
 3104|      0|    }
 3105|       |
 3106|       |    /* long_from_string_base is the main workhorse here. */
 3107|     31|    int ret = long_from_string_base(&str, base, &z);
 3108|     31|    if (ret == -1) {
  ------------------
  |  Branch (3108:9): [True: 0, False: 31]
  ------------------
 3109|       |        /* Syntax error. */
 3110|      0|        goto onError;
 3111|      0|    }
 3112|     31|    if (z == NULL) {
  ------------------
  |  Branch (3112:9): [True: 0, False: 31]
  ------------------
 3113|       |        /* Error. exception already set. */
 3114|      0|        return NULL;
 3115|      0|    }
 3116|       |
 3117|     31|    if (error_if_nonzero) {
  ------------------
  |  Branch (3117:9): [True: 0, False: 31]
  ------------------
 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|     31|    long_normalize(z);
 3130|     31|    z = maybe_small_long(z);
 3131|     31|    if (sign < 0) {
  ------------------
  |  Branch (3131:9): [True: 0, False: 31]
  ------------------
 3132|      0|        _PyLong_Negate(&z);
 3133|      0|    }
 3134|       |
 3135|     31|    if (pend != NULL) {
  ------------------
  |  Branch (3135:9): [True: 24, False: 7]
  ------------------
 3136|     24|        *pend = (char *)str;
 3137|     24|    }
 3138|     31|    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);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) 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|     24|{
 3165|     24|    PyObject *result, *strobj;
 3166|     24|    char *end = NULL;
 3167|       |
 3168|     24|    result = PyLong_FromString(s, &end, base);
 3169|     24|    if (end == NULL || (result != NULL && end == s + len))
  ------------------
  |  Branch (3169:9): [True: 0, False: 24]
  |  Branch (3169:25): [True: 24, False: 0]
  |  Branch (3169:43): [True: 24, False: 0]
  ------------------
 3170|     24|        return result;
 3171|      0|    Py_XDECREF(result);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) 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));
  ------------------
  |  |  127|      0|       __extension__ \
  |  |  128|      0|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      0|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      0|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [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|     24|}
_PyLong_ExactDealloc:
 3634|    261|{
 3635|    261|    assert(PyLong_CheckExact(self));
  ------------------
  |  Branch (3635:5): [True: 261, False: 0]
  ------------------
 3636|    261|    if (_PyLong_IsSmallInt((PyLongObject *)self)) {
  ------------------
  |  Branch (3636:9): [True: 0, False: 261]
  ------------------
 3637|       |        // See PEP 683, section Accidental De-Immortalizing for details
 3638|      0|        _Py_SetImmortal(self);
 3639|      0|        return;
 3640|      0|    }
 3641|    261|    if (_PyLong_IsCompact((PyLongObject *)self)) {
  ------------------
  |  Branch (3641:9): [True: 169, False: 92]
  ------------------
 3642|    169|        _Py_FREELIST_FREE(ints, self, PyObject_Free);
  ------------------
  |  |   35|    169|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|    169|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    169|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|    169|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   20|    169|#  define Py_ints_MAXFREELIST 100
  |  |  ------------------
  ------------------
 3643|    169|        return;
 3644|    169|    }
 3645|     92|    PyObject_Free(self);
 3646|     92|}
_PyCompactLong_Add:
 3877|    116|{
 3878|    116|    assert(_PyLong_BothAreCompact(a, b));
  ------------------
  |  Branch (3878:5): [True: 116, False: 0]
  ------------------
 3879|    116|    stwodigits v = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|    116|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|    116|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3880|    116|    return medium_from_stwodigits(v);
 3881|    116|}
_PyCompactLong_Subtract:
 3922|    145|{
 3923|    145|    assert(_PyLong_BothAreCompact(a, b));
  ------------------
  |  Branch (3923:5): [True: 145, False: 0]
  ------------------
 3924|    145|    stwodigits v = medium_value(a) - medium_value(b);
  ------------------
  |  |   27|    145|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) - medium_value(b);
  ------------------
  |  |   27|    145|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3925|    145|    return medium_from_stwodigits(v);
 3926|    145|}
_PyCompactLong_Multiply:
 4369|      4|{
 4370|      4|    assert(_PyLong_BothAreCompact(a, b));
  ------------------
  |  Branch (4370:5): [True: 4, False: 0]
  ------------------
 4371|      4|    stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|      4|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|      4|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 4372|      4|    return medium_from_stwodigits(v);
 4373|      4|}
PyLong_GetInfo:
 6743|      2|{
 6744|      2|    PyObject* int_info;
 6745|      2|    int field = 0;
 6746|      2|    int_info = PyStructSequence_New(&Int_InfoType);
 6747|      2|    if (int_info == NULL)
  ------------------
  |  Branch (6747:9): [True: 0, False: 2]
  ------------------
 6748|      0|        return NULL;
 6749|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6750|      2|                              PyLong_FromLong(PyLong_SHIFT));
  ------------------
  |  |   47|      2|#define PyLong_SHIFT    30
  ------------------
 6751|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6752|      2|                              PyLong_FromLong(sizeof(digit)));
 6753|       |    /*
 6754|       |     * The following two fields were added after investigating uses of
 6755|       |     * sys.int_info in the wild: Exceedingly rarely used. The ONLY use found was
 6756|       |     * numba using sys.int_info.bits_per_digit as attribute access rather than
 6757|       |     * sequence unpacking. Cython and sympy also refer to sys.int_info but only
 6758|       |     * as info for debugging. No concern about adding these in a backport.
 6759|       |     */
 6760|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6761|      2|                              PyLong_FromLong(_PY_LONG_DEFAULT_MAX_STR_DIGITS));
  ------------------
  |  |   29|      2|#define _PY_LONG_DEFAULT_MAX_STR_DIGITS 4300
  ------------------
 6762|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6763|      2|                              PyLong_FromLong(_PY_LONG_MAX_STR_DIGITS_THRESHOLD));
  ------------------
  |  |   42|      2|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
 6764|      2|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (6764:9): [True: 0, False: 2]
  ------------------
 6765|      0|        Py_CLEAR(int_info);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6766|      0|        return NULL;
 6767|      0|    }
 6768|      2|    return int_info;
 6769|      2|}
_PyLong_InitTypes:
 6776|      2|{
 6777|       |    /* initialize int_info */
 6778|      2|    if (_PyStructSequence_InitBuiltin(interp, &Int_InfoType,
  ------------------
  |  Branch (6778:9): [True: 0, False: 2]
  ------------------
 6779|      2|                                      &int_info_desc) < 0)
 6780|      0|    {
 6781|      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)}
  ------------------
 6782|      0|    }
 6783|       |
 6784|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 6785|      2|}
PyLong_FromInt64:
 6820|      1|{
 6821|       |    PYLONG_FROM_INT(uint64_t, int64_t, value);
  ------------------
  |  |  371|      1|    do {                                                                            \
  |  |  372|      1|        /* Handle small and medium cases. */                                        \
  |  |  373|      1|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|      1|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|      1|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|      1|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|      1|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 1, False: 0]
  |  |  |  |  |  |  |  Branch (68:37): [True: 1, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|      1|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|      1|        }                                                                           \
  |  |  376|      1|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 0, False: 0]
  |  |  |  Branch (376:49): [True: 0, False: 0]
  |  |  ------------------
  |  |  377|      0|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|      0|        }                                                                           \
  |  |  379|      0|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 0, False: 0]
  |  |  ------------------
  |  |  380|      0|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|      0|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|      0|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|      0|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|      0|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 0, False: 0]
  |  |  ------------------
  |  |  385|      0|            ++ndigits;                                                              \
  |  |  386|      0|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|      0|        }                                                                           \
  |  |  388|      0|        /* Construct output value. */                                               \
  |  |  389|      0|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|      0|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|      0|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|      0|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 0, False: 0]
  |  |  ------------------
  |  |  395|      0|        t = abs_ival;                                                               \
  |  |  396|      0|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 0, False: 0]
  |  |  ------------------
  |  |  397|      0|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|      0|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|      0|        }                                                                           \
  |  |  400|      0|        return (PyObject *)v;                                                       \
  |  |  401|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6822|      1|}
PyLong_AsInt64:
 6853|      3|{
 6854|      3|    LONG_TO_INT(int64_t, obj, result);
  ------------------
  |  | 6830|      3|    do { \
  |  | 6831|      3|        type value; \
  |  | 6832|      3|        int flags = (Py_ASNATIVEBYTES_NATIVE_ENDIAN \
  |  |  ------------------
  |  |  |  |   47|      3|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  |  |  ------------------
  |  | 6833|      3|                     | Py_ASNATIVEBYTES_ALLOW_INDEX); \
  |  |  ------------------
  |  |  |  |   50|      3|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  |  |  ------------------
  |  | 6834|      3|        Py_ssize_t bytes = PyLong_AsNativeBytes(obj, &value, sizeof(value), flags); \
  |  | 6835|      3|        if (bytes < 0) { \
  |  |  ------------------
  |  |  |  Branch (6835:13): [True: 0, False: 3]
  |  |  ------------------
  |  | 6836|      0|            return -1; \
  |  | 6837|      0|        } \
  |  | 6838|      3|        if ((size_t)bytes > sizeof(value)) { \
  |  |  ------------------
  |  |  |  Branch (6838:13): [True: 0, False: 3]
  |  |  ------------------
  |  | 6839|      0|            PyErr_SetString(PyExc_OverflowError, \
  |  | 6840|      0|                            "Python int too large to convert to C " #type); \
  |  | 6841|      0|            return -1; \
  |  | 6842|      0|        } \
  |  | 6843|      3|        *result = value; \
  |  | 6844|      3|        return 0; \
  |  | 6845|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6845:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6855|      3|}
PyLong_GetNativeLayout:
 6898|      9|{
 6899|      9|    return &PyLong_LAYOUT;
 6900|      9|}
PyLongWriter_Create:
 6961|      9|{
 6962|      9|    if (ndigits <= 0) {
  ------------------
  |  Branch (6962:9): [True: 0, False: 9]
  ------------------
 6963|      0|        PyErr_SetString(PyExc_ValueError, "ndigits must be positive");
 6964|      0|        goto error;
 6965|      0|    }
 6966|      9|    assert(digits != NULL);
  ------------------
  |  Branch (6966:5): [True: 9, False: 0]
  ------------------
 6967|       |
 6968|      9|    PyLongObject *obj = long_alloc(ndigits);
 6969|      9|    if (obj == NULL) {
  ------------------
  |  Branch (6969:9): [True: 0, False: 9]
  ------------------
 6970|      0|        goto error;
 6971|      0|    }
 6972|      9|    if (negative) {
  ------------------
  |  Branch (6972:9): [True: 0, False: 9]
  ------------------
 6973|      0|        _PyLong_FlipSign(obj);
 6974|      0|    }
 6975|       |
 6976|      9|    *digits = obj->long_value.ob_digit;
 6977|      9|    return (PyLongWriter*)obj;
 6978|       |
 6979|      0|error:
 6980|      0|    *digits = NULL;
 6981|       |    return NULL;
 6982|      9|}
PyLongWriter_Finish:
 7000|      9|{
 7001|      9|    PyLongObject *obj = (PyLongObject *)writer;
 7002|      9|    assert(Py_REFCNT(obj) == 1);
  ------------------
  |  Branch (7002:5): [True: 9, False: 0]
  ------------------
 7003|       |
 7004|       |#ifdef Py_DEBUG
 7005|       |    // gh-147988: Detect uninitialized digits: long_alloc() fills digits with
 7006|       |    // 0xFF byte pattern. It's posssible because PyLong_BASE is smaller than
 7007|       |    // the maximum value of the C digit type (uint32_t or unsigned short):
 7008|       |    // most significan bits are unused by the API.
 7009|       |    Py_ssize_t ndigits = _PyLong_DigitCount(obj);
 7010|       |    if (ndigits == 0) {
 7011|       |        // Check ob_digit[0] digit for the number zero
 7012|       |        ndigits = 1;
 7013|       |    }
 7014|       |    for (Py_ssize_t i = 0; i < ndigits; i++) {
 7015|       |        digit d = obj->long_value.ob_digit[i];
 7016|       |        if (d & ~(digit)PyLong_MASK) {
 7017|       |            Py_DECREF(obj);
 7018|       |            PyErr_Format(PyExc_SystemError,
 7019|       |                         "PyLongWriter_Finish: digit %zd is uninitialized",
 7020|       |                         i);
 7021|       |            return NULL;
 7022|       |        }
 7023|       |    }
 7024|       |#endif
 7025|       |
 7026|       |    // Normalize and get singleton if possible
 7027|      9|    obj = maybe_small_long(long_normalize(obj));
 7028|       |
 7029|      9|    return (PyObject*)obj;
 7030|      9|}
longobject.c:long_alloc:
  160|  2.23k|{
  161|  2.23k|    assert(size >= 0);
  ------------------
  |  Branch (161:5): [True: 2.23k, False: 0]
  ------------------
  162|  2.23k|    PyLongObject *result = NULL;
  163|  2.23k|    if (size > (Py_ssize_t)MAX_LONG_DIGITS) {
  ------------------
  |  |  155|  2.23k|# define MAX_LONG_DIGITS ((INT64_MAX-1) / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  2.23k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (163:9): [True: 0, False: 2.23k]
  ------------------
  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|  2.23k|    Py_ssize_t ndigits = size ? size : 1;
  ------------------
  |  Branch (170:26): [True: 2.21k, False: 27]
  ------------------
  171|       |
  172|  2.23k|    if (ndigits == 1) {
  ------------------
  |  Branch (172:9): [True: 83, False: 2.15k]
  ------------------
  173|     83|        result = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|     83|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|     83|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  174|     83|    }
  175|  2.23k|    if (result == NULL) {
  ------------------
  |  Branch (175:9): [True: 2.15k, False: 83]
  ------------------
  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|  2.15k|        result = PyObject_Malloc(offsetof(PyLongObject, long_value.ob_digit) +
  182|  2.15k|                                ndigits*sizeof(digit));
  183|  2.15k|        if (!result) {
  ------------------
  |  Branch (183:13): [True: 0, False: 2.15k]
  ------------------
  184|      0|            PyErr_NoMemory();
  185|      0|            return NULL;
  186|      0|        }
  187|  2.15k|        _PyObject_Init((PyObject*)result, &PyLong_Type);
  188|  2.15k|        _PyLong_InitTag(result);
  189|  2.15k|    }
  190|  2.23k|    _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|  2.23k|    return result;
  197|  2.23k|}
longobject.c:get_small_int:
   62|  5.77k|{
   63|  5.77k|    assert(IS_SMALL_INT(ival));
  ------------------
  |  Branch (63:5): [True: 5.77k, False: 0]
  |  Branch (63:5): [True: 5.77k, False: 0]
  ------------------
   64|  5.77k|    return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + ival];
  ------------------
  |  |   59|  5.77k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  5.77k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  5.77k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + ival];
  ------------------
  |  |   98|  5.77k|#define _PY_NSMALLNEGINTS           5
  ------------------
   65|  5.77k|}
longobject.c:_PyLong_FromMedium:
  252|  1.19k|{
  253|  1.19k|    assert(!IS_SMALL_INT(x));
  ------------------
  |  Branch (253:5): [True: 1.18k, False: 10]
  |  Branch (253:5): [True: 0, False: 1.18k]
  ------------------
  254|  1.19k|    assert(is_medium_int(x));
  ------------------
  |  Branch (254:5): [True: 1.19k, False: 0]
  ------------------
  255|       |
  256|  1.19k|    PyLongObject *v = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|  1.19k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  1.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  257|  1.19k|    if (v == NULL) {
  ------------------
  |  Branch (257:9): [True: 325, False: 873]
  ------------------
  258|    325|        v = PyObject_Malloc(sizeof(PyLongObject));
  259|    325|        if (v == NULL) {
  ------------------
  |  Branch (259:13): [True: 0, False: 325]
  ------------------
  260|      0|            PyErr_NoMemory();
  261|      0|            return NULL;
  262|      0|        }
  263|    325|        _PyObject_Init((PyObject*)v, &PyLong_Type);
  264|    325|        _PyLong_InitTag(v);
  265|    325|    }
  266|  1.19k|    digit abs_x = x < 0 ? -x : x;
  ------------------
  |  Branch (266:19): [True: 10, False: 1.18k]
  ------------------
  267|  1.19k|    _PyLong_SetSignAndDigitCount(v, x<0?-1:1, 1);
  ------------------
  |  Branch (267:37): [True: 10, False: 1.18k]
  ------------------
  268|  1.19k|    v->long_value.ob_digit[0] = abs_x;
  269|  1.19k|    return (PyObject*)v;
  270|  1.19k|}
longobject.c:is_medium_int:
   54|  1.20k|{
   55|       |    /* Take care that we are comparing unsigned values. */
   56|  1.20k|    twodigits x_plus_mask = ((twodigits)x) + PyLong_MASK;
  ------------------
  |  |   62|  1.20k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  1.20k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  1.20k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|  1.20k|    return x_plus_mask < ((twodigits)PyLong_MASK) + PyLong_BASE;
  ------------------
  |  |   62|  1.20k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  1.20k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  1.20k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return x_plus_mask < ((twodigits)PyLong_MASK) + PyLong_BASE;
  ------------------
  |  |   61|  1.20k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  1.20k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
   58|  1.20k|}
longobject.c:unroll_digits_ulong:
  537|      9|{
  538|      9|    assert(ULONG_MAX >= ((1UL << PyLong_SHIFT) - 1));
  ------------------
  |  Branch (538:5): [True: 9, Folded]
  ------------------
  539|       |
  540|      9|    Py_ssize_t i = *iptr;
  541|      9|    assert(i >= 2);
  ------------------
  |  Branch (541:5): [True: 9, False: 0]
  ------------------
  542|       |
  543|       |    /* unroll 1 digit */
  544|      9|    --i;
  545|      9|    digit *digits = v->long_value.ob_digit;
  546|      9|    unsigned long x = digits[i];
  547|       |
  548|      9|#if (ULONG_MAX >> PyLong_SHIFT) >= ((1UL << PyLong_SHIFT) - 1)
  549|       |    /* unroll another digit */
  550|      9|    x <<= PyLong_SHIFT;
  ------------------
  |  |   47|      9|#define PyLong_SHIFT    30
  ------------------
  551|      9|    --i;
  552|      9|    x |= digits[i];
  553|      9|#endif
  554|       |
  555|      9|    *iptr = i;
  556|      9|    return x;
  557|      9|}
longobject.c:long_sign:
  936|     16|{
  937|     16|    assert(vv != NULL);
  ------------------
  |  Branch (937:5): [True: 16, False: 0]
  ------------------
  938|     16|    assert(PyLong_Check(vv));
  ------------------
  |  Branch (938:5): [True: 16, False: 0]
  ------------------
  939|     16|    PyLongObject *v = (PyLongObject *)vv;
  940|       |
  941|     16|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (941:9): [True: 16, False: 0]
  ------------------
  942|     16|        return _PyLong_CompactSign(v);
  943|     16|    }
  944|      0|    return _PyLong_NonCompactSign(v);
  945|     16|}
longobject.c:bit_length_digit:
  967|      1|{
  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|      1|                  "digit is larger than unsigned long");
  972|      1|    return _Py_bit_length((unsigned long)x);
  973|      1|}
longobject.c:maybe_small_long:
   69|    179|{
   70|    179|    if (v && _PyLong_IsCompact(v)) {
  ------------------
  |  Branch (70:9): [True: 179, False: 0]
  |  Branch (70:14): [True: 105, False: 74]
  ------------------
   71|    105|        stwodigits ival = medium_value(v);
  ------------------
  |  |   27|    105|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
   72|    105|        if (IS_SMALL_INT(ival)) {
  ------------------
  |  |   29|    105|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|    105|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|    105|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|    105|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 105, False: 0]
  |  |  |  |  |  Branch (68:37): [True: 48, False: 57]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|     48|            _Py_DECREF_INT(v);
   74|     48|            return (PyLongObject *)get_small_int((sdigit)ival);
   75|     48|        }
   76|    105|    }
   77|    131|    return v;
   78|    179|}
longobject.c:_Py_DECREF_INT:
   47|    142|{
   48|    142|    assert(PyLong_CheckExact(op));
  ------------------
  |  Branch (48:5): [True: 142, False: 0]
  ------------------
   49|    142|    _Py_DECREF_SPECIALIZED((PyObject *)op, _PyLong_ExactDealloc);
   50|    142|}
longobject.c:long_normalize:
  127|    179|{
  128|    179|    Py_ssize_t j = _PyLong_DigitCount(v);
  129|    179|    Py_ssize_t i = j;
  130|       |
  131|    224|    while (i > 0 && v->long_value.ob_digit[i-1] == 0)
  ------------------
  |  Branch (131:12): [True: 179, False: 45]
  |  Branch (131:21): [True: 45, False: 134]
  ------------------
  132|     45|        --i;
  133|    179|    if (i != j) {
  ------------------
  |  Branch (133:9): [True: 27, False: 152]
  ------------------
  134|     27|        if (i == 0) {
  ------------------
  |  Branch (134:13): [True: 18, False: 9]
  ------------------
  135|     18|            _PyLong_SetSignAndDigitCount(v, 0, 0);
  136|     18|        }
  137|      9|        else {
  138|      9|            _PyLong_SetDigitCount(v, i);
  139|      9|        }
  140|     27|    }
  141|    179|    return v;
  142|    179|}
longobject.c:_resolve_endianness:
 1271|      3|{
 1272|      3|    if (*endianness == -1 || (*endianness & 2)) {
  ------------------
  |  Branch (1272:9): [True: 0, False: 3]
  |  Branch (1272:30): [True: 3, False: 0]
  ------------------
 1273|      3|        *endianness = PY_LITTLE_ENDIAN;
  ------------------
  |  |  453|      3|#  define PY_LITTLE_ENDIAN 1
  ------------------
 1274|      3|    } else {
 1275|      0|        *endianness &= 1;
 1276|      0|    }
 1277|      3|    assert(*endianness == 0 || *endianness == 1);
  ------------------
  |  Branch (1277:5): [True: 0, False: 3]
  |  Branch (1277:5): [True: 3, False: 0]
  ------------------
 1278|      3|    return 0;
 1279|      3|}
longobject.c:_fits_in_n_bits:
 1259|      3|{
 1260|      3|    if (n >= (Py_ssize_t)sizeof(Py_ssize_t) * 8) {
  ------------------
  |  Branch (1260:9): [True: 3, False: 0]
  ------------------
 1261|      3|        return 1;
 1262|      3|    }
 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|      3|}
longobject.c:long_to_decimal_string_internal:
 2097|     94|{
 2098|     94|    PyLongObject *scratch, *a;
 2099|     94|    PyObject *str = NULL;
 2100|     94|    Py_ssize_t size, strlen, size_a, i, j;
 2101|     94|    digit *pout, *pin, rem, tenpow;
 2102|     94|    int negative;
 2103|     94|    int d;
 2104|       |
 2105|       |    // writer or bytes_writer can be used, but not both at the same time.
 2106|     94|    assert(writer == NULL || bytes_writer == NULL);
  ------------------
  |  Branch (2106:5): [True: 94, False: 0]
  |  Branch (2106:5): [True: 0, False: 0]
  ------------------
 2107|       |
 2108|     94|    a = (PyLongObject *)aa;
 2109|     94|    if (a == NULL || !PyLong_Check(a)) {
  ------------------
  |  |   13|     94|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     94|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2109:9): [True: 0, False: 94]
  |  Branch (2109:22): [True: 0, False: 94]
  ------------------
 2110|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2111|      0|        return -1;
 2112|      0|    }
 2113|     94|    size_a = _PyLong_DigitCount(a);
 2114|     94|    negative = _PyLong_IsNegative(a);
 2115|       |
 2116|       |    /* quick and dirty pre-check for overflowing the decimal digit limit,
 2117|       |       based on the inequality 10/3 >= log2(10)
 2118|       |
 2119|       |       explanation in https://github.com/python/cpython/pull/96537
 2120|       |    */
 2121|     94|    if (size_a >= 10 * _PY_LONG_MAX_STR_DIGITS_THRESHOLD
  ------------------
  |  |   42|     94|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (2121:9): [True: 0, False: 94]
  ------------------
 2122|     94|                  / (3 * PyLong_SHIFT) + 2) {
  ------------------
  |  |   47|     94|#define PyLong_SHIFT    30
  ------------------
 2123|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 2124|      0|        int max_str_digits = _Py_atomic_load_int(&interp->long_state.max_str_digits);
 2125|      0|        if ((max_str_digits > 0) &&
  ------------------
  |  Branch (2125:13): [True: 0, False: 0]
  ------------------
 2126|      0|            (max_str_digits / (3 * PyLong_SHIFT) <= (size_a - 11) / 10)) {
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2126:13): [True: 0, False: 0]
  ------------------
 2127|      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"
  ------------------
 2128|      0|                         max_str_digits);
 2129|      0|            return -1;
 2130|      0|        }
 2131|      0|    }
 2132|       |
 2133|     94|#if WITH_PYLONG_MODULE
 2134|     94|    if (size_a > 1000) {
  ------------------
  |  Branch (2134:9): [True: 0, False: 94]
  ------------------
 2135|       |        /* Switch to _pylong.int_to_decimal_string(). */
 2136|      0|        return pylong_int_to_decimal_string(aa,
 2137|      0|                                         p_output,
 2138|      0|                                         writer,
 2139|      0|                                         bytes_writer,
 2140|      0|                                         bytes_str);
 2141|      0|    }
 2142|     94|#endif
 2143|       |
 2144|       |    /* quick and dirty upper bound for the number of digits
 2145|       |       required to express a in base _PyLong_DECIMAL_BASE:
 2146|       |
 2147|       |         #digits = 1 + floor(log2(a) / log2(_PyLong_DECIMAL_BASE))
 2148|       |
 2149|       |       But log2(a) < size_a * PyLong_SHIFT, and
 2150|       |       log2(_PyLong_DECIMAL_BASE) = log2(10) * _PyLong_DECIMAL_SHIFT
 2151|       |                                  > 3.3 * _PyLong_DECIMAL_SHIFT
 2152|       |
 2153|       |         size_a * PyLong_SHIFT / (3.3 * _PyLong_DECIMAL_SHIFT) =
 2154|       |             size_a + size_a / d < size_a + size_a / floor(d),
 2155|       |       where d = (3.3 * _PyLong_DECIMAL_SHIFT) /
 2156|       |                 (PyLong_SHIFT - 3.3 * _PyLong_DECIMAL_SHIFT)
 2157|       |    */
 2158|     94|    d = (33 * _PyLong_DECIMAL_SHIFT) /
  ------------------
  |  |   48|     94|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2159|     94|        (10 * PyLong_SHIFT - 33 * _PyLong_DECIMAL_SHIFT);
  ------------------
  |  |   47|     94|#define PyLong_SHIFT    30
  ------------------
                      (10 * PyLong_SHIFT - 33 * _PyLong_DECIMAL_SHIFT);
  ------------------
  |  |   48|     94|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2160|     94|    assert(size_a < PY_SSIZE_T_MAX/2);
  ------------------
  |  Branch (2160:5): [True: 94, False: 0]
  ------------------
 2161|     94|    size = 1 + size_a + size_a / d;
 2162|     94|    scratch = long_alloc(size);
 2163|     94|    if (scratch == NULL)
  ------------------
  |  Branch (2163:9): [True: 0, False: 94]
  ------------------
 2164|      0|        return -1;
 2165|       |
 2166|       |    /* convert array of base _PyLong_BASE digits in pin to an array of
 2167|       |       base _PyLong_DECIMAL_BASE digits in pout, following Knuth (TAOCP,
 2168|       |       Volume 2 (3rd edn), section 4.4, Method 1b). */
 2169|     94|    pin = a->long_value.ob_digit;
 2170|     94|    pout = scratch->long_value.ob_digit;
 2171|     94|    size = 0;
 2172|    186|    for (i = size_a; --i >= 0; ) {
  ------------------
  |  Branch (2172:22): [True: 92, False: 94]
  ------------------
 2173|     92|        digit hi = pin[i];
 2174|     92|        for (j = 0; j < size; j++) {
  ------------------
  |  Branch (2174:21): [True: 0, False: 92]
  ------------------
 2175|      0|            twodigits z = (twodigits)pout[j] << PyLong_SHIFT | hi;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 2176|      0|            hi = (digit)(z / _PyLong_DECIMAL_BASE);
  ------------------
  |  |   49|      0|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2177|      0|            pout[j] = (digit)(z - (twodigits)hi *
 2178|      0|                              _PyLong_DECIMAL_BASE);
  ------------------
  |  |   49|      0|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2179|      0|        }
 2180|    184|        while (hi) {
  ------------------
  |  Branch (2180:16): [True: 92, False: 92]
  ------------------
 2181|     92|            pout[size++] = hi % _PyLong_DECIMAL_BASE;
  ------------------
  |  |   49|     92|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2182|     92|            hi /= _PyLong_DECIMAL_BASE;
  ------------------
  |  |   49|     92|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2183|     92|        }
 2184|       |        /* check for keyboard interrupt */
 2185|     92|        SIGCHECK({
  ------------------
  |  |  117|     92|    do {                                        \
  |  |  118|     92|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 92]
  |  |  ------------------
  |  |  119|     92|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 92]
  |  |  ------------------
  ------------------
 2186|     92|                Py_DECREF(scratch);
 2187|     92|                return -1;
 2188|     92|            });
 2189|     92|    }
 2190|       |    /* pout should have at least one digit, so that the case when a = 0
 2191|       |       works correctly */
 2192|     94|    if (size == 0)
  ------------------
  |  Branch (2192:9): [True: 2, False: 92]
  ------------------
 2193|      2|        pout[size++] = 0;
 2194|       |
 2195|       |    /* calculate exact length of output string, and allocate */
 2196|     94|    strlen = negative + 1 + (size - 1) * _PyLong_DECIMAL_SHIFT;
  ------------------
  |  |   48|     94|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2197|     94|    tenpow = 10;
 2198|     94|    rem = pout[size-1];
 2199|    116|    while (rem >= tenpow) {
  ------------------
  |  Branch (2199:12): [True: 22, False: 94]
  ------------------
 2200|     22|        tenpow *= 10;
 2201|     22|        strlen++;
 2202|     22|    }
 2203|     94|    if (strlen > _PY_LONG_MAX_STR_DIGITS_THRESHOLD) {
  ------------------
  |  |   42|     94|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (2203:9): [True: 0, False: 94]
  ------------------
 2204|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 2205|      0|        int max_str_digits = _Py_atomic_load_int(&interp->long_state.max_str_digits);
 2206|      0|        Py_ssize_t strlen_nosign = strlen - negative;
 2207|      0|        if ((max_str_digits > 0) && (strlen_nosign > max_str_digits)) {
  ------------------
  |  Branch (2207:13): [True: 0, False: 0]
  |  Branch (2207:37): [True: 0, False: 0]
  ------------------
 2208|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2209|      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"
  ------------------
 2210|      0|                         max_str_digits);
 2211|      0|            return -1;
 2212|      0|        }
 2213|      0|    }
 2214|     94|    if (writer) {
  ------------------
  |  Branch (2214:9): [True: 0, False: 94]
  ------------------
 2215|      0|        if (_PyUnicodeWriter_Prepare(writer, strlen, 127) == -1) {
  ------------------
  |  Branch (2215:13): [True: 0, False: 0]
  ------------------
 2216|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2217|      0|            return -1;
 2218|      0|        }
 2219|      0|        assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (2219:9): [True: 0, False: 0]
  ------------------
 2220|      0|    }
 2221|     94|    else if (bytes_writer) {
  ------------------
  |  Branch (2221:14): [True: 0, False: 94]
  ------------------
 2222|      0|        *bytes_str = PyBytesWriter_GrowAndUpdatePointer(bytes_writer, strlen,
 2223|      0|                                                        *bytes_str);
 2224|      0|        if (*bytes_str == NULL) {
  ------------------
  |  Branch (2224:13): [True: 0, False: 0]
  ------------------
 2225|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2226|      0|            return -1;
 2227|      0|        }
 2228|      0|    }
 2229|     94|    else {
 2230|     94|        str = PyUnicode_New(strlen, 127);
 2231|     94|        if (str == NULL) {
  ------------------
  |  Branch (2231:13): [True: 0, False: 94]
  ------------------
 2232|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2233|      0|            return -1;
 2234|      0|        }
 2235|     94|    }
 2236|       |
 2237|     94|#define WRITE_DIGITS(p)                                               \
 2238|     94|    do {                                                              \
 2239|       |        /* pout[0] through pout[size-2] contribute exactly            \
 2240|       |           _PyLong_DECIMAL_SHIFT digits each */                       \
 2241|     94|        for (i=0; i < size - 1; i++) {                                \
 2242|     94|            rem = pout[i];                                            \
 2243|     94|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
 2244|     94|                *--p = '0' + rem % 10;                                \
 2245|     94|                rem /= 10;                                            \
 2246|     94|            }                                                         \
 2247|     94|        }                                                             \
 2248|       |        /* pout[size-1]: always produce at least one decimal digit */ \
 2249|     94|        rem = pout[i];                                                \
 2250|     94|        do {                                                          \
 2251|     94|            *--p = '0' + rem % 10;                                    \
 2252|     94|            rem /= 10;                                                \
 2253|     94|        } while (rem != 0);                                           \
 2254|     94|                                                                      \
 2255|       |        /* and sign */                                                \
 2256|     94|        if (negative)                                                 \
 2257|     94|            *--p = '-';                                               \
 2258|     94|    } while (0)
 2259|       |
 2260|     94|#define WRITE_UNICODE_DIGITS(TYPE)                                    \
 2261|     94|    do {                                                              \
 2262|     94|        if (writer)                                                   \
 2263|     94|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
 2264|     94|        else                                                          \
 2265|     94|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
 2266|     94|                                                                      \
 2267|     94|        WRITE_DIGITS(p);                                              \
 2268|     94|                                                                      \
 2269|       |        /* check we've counted correctly */                           \
 2270|     94|        if (writer)                                                   \
 2271|     94|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
 2272|     94|        else                                                          \
 2273|     94|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
 2274|     94|    } while (0)
 2275|       |
 2276|       |    /* fill the string right-to-left */
 2277|     94|    if (bytes_writer) {
  ------------------
  |  Branch (2277:9): [True: 0, False: 94]
  ------------------
 2278|      0|        char *p = *bytes_str + strlen;
 2279|      0|        WRITE_DIGITS(p);
  ------------------
  |  | 2238|      0|    do {                                                              \
  |  | 2239|      0|        /* pout[0] through pout[size-2] contribute exactly            \
  |  | 2240|      0|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  | 2241|      0|        for (i=0; i < size - 1; i++) {                                \
  |  |  ------------------
  |  |  |  Branch (2241:19): [True: 0, False: 0]
  |  |  ------------------
  |  | 2242|      0|            rem = pout[i];                                            \
  |  | 2243|      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 (2243:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2244|      0|                *--p = '0' + rem % 10;                                \
  |  | 2245|      0|                rem /= 10;                                            \
  |  | 2246|      0|            }                                                         \
  |  | 2247|      0|        }                                                             \
  |  | 2248|      0|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  | 2249|      0|        rem = pout[i];                                                \
  |  | 2250|      0|        do {                                                          \
  |  | 2251|      0|            *--p = '0' + rem % 10;                                    \
  |  | 2252|      0|            rem /= 10;                                                \
  |  | 2253|      0|        } while (rem != 0);                                           \
  |  |  ------------------
  |  |  |  Branch (2253:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 2254|      0|                                                                      \
  |  | 2255|      0|        /* and sign */                                                \
  |  | 2256|      0|        if (negative)                                                 \
  |  |  ------------------
  |  |  |  Branch (2256:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2257|      0|            *--p = '-';                                               \
  |  | 2258|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2258:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2280|      0|        assert(p == *bytes_str);
  ------------------
  |  Branch (2280:9): [True: 0, False: 0]
  ------------------
 2281|      0|    }
 2282|     94|    else {
 2283|     94|        int kind = writer ? writer->kind : PyUnicode_KIND(str);
  ------------------
  |  |  259|     94|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    188|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 94, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2283:20): [True: 0, False: 94]
  ------------------
 2284|     94|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (2284:13): [True: 94, False: 0]
  ------------------
 2285|     94|            Py_UCS1 *p;
 2286|     94|            WRITE_UNICODE_DIGITS(Py_UCS1);
  ------------------
  |  | 2261|     94|    do {                                                              \
  |  | 2262|     94|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2262:13): [True: 0, False: 94]
  |  |  ------------------
  |  | 2263|     94|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
  |  |  ------------------
  |  |  |  |  285|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2264|     94|        else                                                          \
  |  | 2265|     94|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
  |  |  ------------------
  |  |  |  |  285|     94|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2266|     94|                                                                      \
  |  | 2267|     94|        WRITE_DIGITS(p);                                              \
  |  |  ------------------
  |  |  |  | 2238|     94|    do {                                                              \
  |  |  |  | 2239|     94|        /* pout[0] through pout[size-2] contribute exactly            \
  |  |  |  | 2240|     94|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  |  |  | 2241|     94|        for (i=0; i < size - 1; i++) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2241:19): [True: 0, False: 94]
  |  |  |  |  ------------------
  |  |  |  | 2242|      0|            rem = pout[i];                                            \
  |  |  |  | 2243|      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 (2243:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2244|      0|                *--p = '0' + rem % 10;                                \
  |  |  |  | 2245|      0|                rem /= 10;                                            \
  |  |  |  | 2246|      0|            }                                                         \
  |  |  |  | 2247|      0|        }                                                             \
  |  |  |  | 2248|     94|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  |  |  | 2249|     94|        rem = pout[i];                                                \
  |  |  |  | 2250|    116|        do {                                                          \
  |  |  |  | 2251|    116|            *--p = '0' + rem % 10;                                    \
  |  |  |  | 2252|    116|            rem /= 10;                                                \
  |  |  |  | 2253|    116|        } while (rem != 0);                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2253:18): [True: 22, False: 94]
  |  |  |  |  ------------------
  |  |  |  | 2254|     94|                                                                      \
  |  |  |  | 2255|     94|        /* and sign */                                                \
  |  |  |  | 2256|     94|        if (negative)                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2256:13): [True: 0, False: 94]
  |  |  |  |  ------------------
  |  |  |  | 2257|     94|            *--p = '-';                                               \
  |  |  |  | 2258|     94|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2258:14): [Folded, False: 94]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2268|     94|                                                                      \
  |  | 2269|     94|        /* check we've counted correctly */                           \
  |  | 2270|     94|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2270:13): [True: 0, False: 94]
  |  |  ------------------
  |  | 2271|     94|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2272|     94|        else                                                          \
  |  | 2273|     94|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
  |  | 2274|     94|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2274:14): [Folded, False: 94]
  |  |  ------------------
  ------------------
  |  Branch (2286:13): [True: 0, False: 0]
  |  Branch (2286:13): [True: 94, False: 0]
  ------------------
 2287|     94|        }
 2288|      0|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (2288:18): [True: 0, False: 0]
  ------------------
 2289|      0|            Py_UCS2 *p;
 2290|      0|            WRITE_UNICODE_DIGITS(Py_UCS2);
  ------------------
  |  | 2261|      0|    do {                                                              \
  |  | 2262|      0|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2262:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2263|      0|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
  |  |  ------------------
  |  |  |  |  285|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2264|      0|        else                                                          \
  |  | 2265|      0|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
  |  |  ------------------
  |  |  |  |  285|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2266|      0|                                                                      \
  |  | 2267|      0|        WRITE_DIGITS(p);                                              \
  |  |  ------------------
  |  |  |  | 2238|      0|    do {                                                              \
  |  |  |  | 2239|      0|        /* pout[0] through pout[size-2] contribute exactly            \
  |  |  |  | 2240|      0|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  |  |  | 2241|      0|        for (i=0; i < size - 1; i++) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2241:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2242|      0|            rem = pout[i];                                            \
  |  |  |  | 2243|      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 (2243:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2244|      0|                *--p = '0' + rem % 10;                                \
  |  |  |  | 2245|      0|                rem /= 10;                                            \
  |  |  |  | 2246|      0|            }                                                         \
  |  |  |  | 2247|      0|        }                                                             \
  |  |  |  | 2248|      0|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  |  |  | 2249|      0|        rem = pout[i];                                                \
  |  |  |  | 2250|      0|        do {                                                          \
  |  |  |  | 2251|      0|            *--p = '0' + rem % 10;                                    \
  |  |  |  | 2252|      0|            rem /= 10;                                                \
  |  |  |  | 2253|      0|        } while (rem != 0);                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2253:18): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2254|      0|                                                                      \
  |  |  |  | 2255|      0|        /* and sign */                                                \
  |  |  |  | 2256|      0|        if (negative)                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2256:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2257|      0|            *--p = '-';                                               \
  |  |  |  | 2258|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2258:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2268|      0|                                                                      \
  |  | 2269|      0|        /* check we've counted correctly */                           \
  |  | 2270|      0|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2270:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2271|      0|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2272|      0|        else                                                          \
  |  | 2273|      0|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
  |  | 2274|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2274:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2290:13): [True: 0, False: 0]
  |  Branch (2290:13): [True: 0, False: 0]
  ------------------
 2291|      0|        }
 2292|      0|        else {
 2293|      0|            assert (kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (2293:13): [True: 0, False: 0]
  ------------------
 2294|      0|            Py_UCS4 *p;
 2295|      0|            WRITE_UNICODE_DIGITS(Py_UCS4);
  ------------------
  |  | 2261|      0|    do {                                                              \
  |  | 2262|      0|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2262:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2263|      0|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
  |  |  ------------------
  |  |  |  |  285|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2264|      0|        else                                                          \
  |  | 2265|      0|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
  |  |  ------------------
  |  |  |  |  285|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2266|      0|                                                                      \
  |  | 2267|      0|        WRITE_DIGITS(p);                                              \
  |  |  ------------------
  |  |  |  | 2238|      0|    do {                                                              \
  |  |  |  | 2239|      0|        /* pout[0] through pout[size-2] contribute exactly            \
  |  |  |  | 2240|      0|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  |  |  | 2241|      0|        for (i=0; i < size - 1; i++) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2241:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2242|      0|            rem = pout[i];                                            \
  |  |  |  | 2243|      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 (2243:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2244|      0|                *--p = '0' + rem % 10;                                \
  |  |  |  | 2245|      0|                rem /= 10;                                            \
  |  |  |  | 2246|      0|            }                                                         \
  |  |  |  | 2247|      0|        }                                                             \
  |  |  |  | 2248|      0|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  |  |  | 2249|      0|        rem = pout[i];                                                \
  |  |  |  | 2250|      0|        do {                                                          \
  |  |  |  | 2251|      0|            *--p = '0' + rem % 10;                                    \
  |  |  |  | 2252|      0|            rem /= 10;                                                \
  |  |  |  | 2253|      0|        } while (rem != 0);                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2253:18): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2254|      0|                                                                      \
  |  |  |  | 2255|      0|        /* and sign */                                                \
  |  |  |  | 2256|      0|        if (negative)                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2256:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2257|      0|            *--p = '-';                                               \
  |  |  |  | 2258|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2258:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2268|      0|                                                                      \
  |  | 2269|      0|        /* check we've counted correctly */                           \
  |  | 2270|      0|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2270:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2271|      0|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2272|      0|        else                                                          \
  |  | 2273|      0|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
  |  | 2274|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2274:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2295:13): [True: 0, False: 0]
  |  Branch (2295:13): [True: 0, False: 0]
  ------------------
 2296|      0|        }
 2297|     94|    }
 2298|       |
 2299|     94|#undef WRITE_DIGITS
 2300|     94|#undef WRITE_UNICODE_DIGITS
 2301|       |
 2302|     94|    _Py_DECREF_INT(scratch);
 2303|     94|    if (writer) {
  ------------------
  |  Branch (2303:9): [True: 0, False: 94]
  ------------------
 2304|      0|        writer->pos += strlen;
 2305|      0|    }
 2306|     94|    else if (bytes_writer) {
  ------------------
  |  Branch (2306:14): [True: 0, False: 94]
  ------------------
 2307|      0|        (*bytes_str) += strlen;
 2308|      0|    }
 2309|     94|    else {
 2310|     94|        assert(_PyUnicode_CheckConsistency(str, 1));
  ------------------
  |  Branch (2310:9): [True: 94, False: 0]
  ------------------
 2311|     94|        *p_output = (PyObject *)str;
 2312|     94|    }
 2313|     94|    return 0;
 2314|     94|}
longobject.c:long_from_string_base:
 2960|     31|{
 2961|     31|    const char *start, *end, *p;
 2962|     31|    char prev = 0;
 2963|     31|    Py_ssize_t digits = 0;
 2964|     31|    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|     31|    start = p = *str;
 2974|       |    /* Leading underscore not allowed. */
 2975|     31|    if (*start == '_') {
  ------------------
  |  Branch (2975:9): [True: 0, False: 31]
  ------------------
 2976|      0|        return -1;
 2977|      0|    }
 2978|       |    /* Verify all characters are digits and underscores. */
 2979|  1.06k|    while (_PyLong_DigitValue[Py_CHARMASK(*p)] < base || *p == '_') {
  ------------------
  |  |  170|  1.06k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (2979:12): [True: 1.03k, False: 31]
  |  Branch (2979:58): [True: 0, False: 31]
  ------------------
 2980|  1.03k|        if (*p == '_') {
  ------------------
  |  Branch (2980:13): [True: 0, False: 1.03k]
  ------------------
 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|  1.03k|        } else {
 2987|  1.03k|            ++digits;
 2988|  1.03k|        }
 2989|  1.03k|        prev = *p;
 2990|  1.03k|        ++p;
 2991|  1.03k|    }
 2992|       |    /* Trailing underscore not allowed. */
 2993|     31|    if (prev == '_') {
  ------------------
  |  Branch (2993:9): [True: 0, False: 31]
  ------------------
 2994|      0|        *str = p - 1;
 2995|      0|        return -1;
 2996|      0|    }
 2997|     31|    *str = end = p;
 2998|       |    /* Reject empty strings */
 2999|     31|    if (start == end) {
  ------------------
  |  Branch (2999:9): [True: 0, False: 31]
  ------------------
 3000|      0|        return -1;
 3001|      0|    }
 3002|       |    /* Allow only trailing whitespace after `end` */
 3003|     31|    while (*p && Py_ISSPACE(*p)) {
  ------------------
  |  |   27|      0|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  170|      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: 31]
  ------------------
 3004|      0|        p++;
 3005|      0|    }
 3006|     31|    *str = p;
 3007|     31|    if (*p != '\0') {
  ------------------
  |  Branch (3007:9): [True: 0, False: 31]
  ------------------
 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|     31|    if (is_binary_base) {
  ------------------
  |  Branch (3015:9): [True: 24, False: 7]
  ------------------
 3016|       |        /* Use the linear algorithm for binary bases. */
 3017|     24|        return long_from_binary_base(start, end, digits, base, res);
 3018|     24|    }
 3019|      7|    else {
 3020|       |        /* Limit the size to avoid excessive computation attacks exploiting the
 3021|       |         * quadratic algorithm. */
 3022|      7|        if (digits > _PY_LONG_MAX_STR_DIGITS_THRESHOLD) {
  ------------------
  |  |   42|      7|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (3022:13): [True: 0, False: 7]
  ------------------
 3023|      0|            PyInterpreterState *interp = _PyInterpreterState_GET();
 3024|      0|            int max_str_digits = _Py_atomic_load_int(&interp->long_state.max_str_digits);
 3025|      0|            if ((max_str_digits > 0) && (digits > max_str_digits)) {
  ------------------
  |  Branch (3025:17): [True: 0, False: 0]
  |  Branch (3025:41): [True: 0, False: 0]
  ------------------
 3026|      0|                PyErr_Format(PyExc_ValueError, _MAX_STR_DIGITS_ERROR_FMT_TO_INT,
  ------------------
  |  |   32|      0|#define _MAX_STR_DIGITS_ERROR_FMT_TO_INT "Exceeds the limit (%d digits) for integer string conversion: value has %zd digits; use sys.set_int_max_str_digits() to increase the limit"
  ------------------
 3027|      0|                             max_str_digits, digits);
 3028|      0|                *res = NULL;
 3029|      0|                return 0;
 3030|      0|            }
 3031|      0|        }
 3032|      7|#if WITH_PYLONG_MODULE
 3033|      7|        if (digits > 6000 && base == 10) {
  ------------------
  |  Branch (3033:13): [True: 0, False: 7]
  |  Branch (3033:30): [True: 0, False: 0]
  ------------------
 3034|       |            /* Switch to _pylong.int_from_string() */
 3035|      0|            return pylong_int_from_string(start, end, res);
 3036|      0|        }
 3037|      7|#endif
 3038|       |        /* Use the quadratic algorithm for non binary bases. */
 3039|      7|        return long_from_non_binary_base(start, end, digits, base, res);
 3040|      7|    }
 3041|     31|}
longobject.c:long_from_binary_base:
 2587|     24|{
 2588|     24|    const char *p;
 2589|     24|    int bits_per_char;
 2590|     24|    Py_ssize_t n;
 2591|     24|    PyLongObject *z;
 2592|     24|    twodigits accum;
 2593|     24|    int bits_in_accum;
 2594|     24|    digit *pdigit;
 2595|       |
 2596|     24|    assert(base >= 2 && base <= 32 && (base & (base - 1)) == 0);
  ------------------
  |  Branch (2596:5): [True: 24, False: 0]
  |  Branch (2596:5): [True: 24, False: 0]
  |  Branch (2596:5): [True: 24, False: 0]
  ------------------
 2597|     24|    n = base;
 2598|     72|    for (bits_per_char = -1; n; ++bits_per_char) {
  ------------------
  |  Branch (2598:30): [True: 48, False: 24]
  ------------------
 2599|     48|        n >>= 1;
 2600|     48|    }
 2601|       |
 2602|       |    /* n <- the number of Python digits needed,
 2603|       |            = ceiling((digits * bits_per_char) / PyLong_SHIFT). */
 2604|     24|    if (digits > (PY_SSIZE_T_MAX - (PyLong_SHIFT - 1)) / bits_per_char) {
  ------------------
  |  |  137|     24|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if (digits > (PY_SSIZE_T_MAX - (PyLong_SHIFT - 1)) / bits_per_char) {
  ------------------
  |  |   47|     24|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2604:9): [True: 0, False: 24]
  ------------------
 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|     24|    n = (digits * bits_per_char + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|     24|#define PyLong_SHIFT    30
  ------------------
                  n = (digits * bits_per_char + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|     24|#define PyLong_SHIFT    30
  ------------------
 2611|     24|    z = long_alloc(n);
 2612|     24|    if (z == NULL) {
  ------------------
  |  Branch (2612:9): [True: 0, False: 24]
  ------------------
 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|     24|    accum = 0;
 2620|     24|    bits_in_accum = 0;
 2621|     24|    pdigit = z->long_value.ob_digit;
 2622|     24|    p = end;
 2623|    792|    while (--p >= start) {
  ------------------
  |  Branch (2623:12): [True: 768, False: 24]
  ------------------
 2624|    768|        int k;
 2625|    768|        if (*p == '_') {
  ------------------
  |  Branch (2625:13): [True: 0, False: 768]
  ------------------
 2626|      0|            continue;
 2627|      0|        }
 2628|    768|        k = (int)_PyLong_DigitValue[Py_CHARMASK(*p)];
  ------------------
  |  |  170|    768|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 2629|    768|        assert(k >= 0 && k < base);
  ------------------
  |  Branch (2629:9): [True: 768, False: 0]
  |  Branch (2629:9): [True: 768, False: 0]
  ------------------
 2630|    768|        accum |= (twodigits)k << bits_in_accum;
 2631|    768|        bits_in_accum += bits_per_char;
 2632|    768|        if (bits_in_accum >= PyLong_SHIFT) {
  ------------------
  |  |   47|    768|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2632:13): [True: 24, False: 744]
  ------------------
 2633|     24|            *pdigit++ = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|     24|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|     24|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     24|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2634|     24|            assert(pdigit - z->long_value.ob_digit <= n);
  ------------------
  |  Branch (2634:13): [True: 24, False: 0]
  ------------------
 2635|     24|            accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|     24|#define PyLong_SHIFT    30
  ------------------
 2636|     24|            bits_in_accum -= PyLong_SHIFT;
  ------------------
  |  |   47|     24|#define PyLong_SHIFT    30
  ------------------
 2637|     24|            assert(bits_in_accum < PyLong_SHIFT);
  ------------------
  |  Branch (2637:13): [True: 24, False: 0]
  ------------------
 2638|     24|        }
 2639|    768|    }
 2640|     24|    if (bits_in_accum) {
  ------------------
  |  Branch (2640:9): [True: 24, False: 0]
  ------------------
 2641|     24|        assert(bits_in_accum <= PyLong_SHIFT);
  ------------------
  |  Branch (2641:9): [True: 24, False: 0]
  ------------------
 2642|     24|        *pdigit++ = (digit)accum;
 2643|     24|        assert(pdigit - z->long_value.ob_digit <= n);
  ------------------
  |  Branch (2643:9): [True: 24, False: 0]
  ------------------
 2644|     24|    }
 2645|     24|    while (pdigit - z->long_value.ob_digit < n)
  ------------------
  |  Branch (2645:12): [True: 0, False: 24]
  ------------------
 2646|      0|        *pdigit++ = 0;
 2647|     24|    *res = z;
 2648|     24|    return 0;
 2649|     24|}
longobject.c:long_from_non_binary_base:
 2827|      7|{
 2828|      7|    twodigits c;           /* current input character */
 2829|      7|    Py_ssize_t size_z;
 2830|      7|    int i;
 2831|      7|    int convwidth;
 2832|      7|    twodigits convmultmax, convmult;
 2833|      7|    digit *pz, *pzstop;
 2834|      7|    PyLongObject *z;
 2835|      7|    const char *p;
 2836|       |
 2837|      7|    assert(log_base_BASE[base] != 0.0);
  ------------------
  |  Branch (2837:5): [True: 7, 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|      7|    double fsize_z = (double)digits * log_base_BASE[base] + 1.0;
 2845|      7|    if (fsize_z > (double)MAX_LONG_DIGITS) {
  ------------------
  |  |  155|      7|# define MAX_LONG_DIGITS ((INT64_MAX-1) / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|      7|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (2845:9): [True: 0, False: 7]
  ------------------
 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|      7|    size_z = (Py_ssize_t)fsize_z;
 2853|       |    /* Uncomment next line to test exceedingly rare copy code */
 2854|       |    /* size_z = 1; */
 2855|      7|    assert(size_z > 0);
  ------------------
  |  Branch (2855:5): [True: 7, False: 0]
  ------------------
 2856|      7|    z = long_alloc(size_z);
 2857|      7|    if (z == NULL) {
  ------------------
  |  Branch (2857:9): [True: 0, False: 7]
  ------------------
 2858|      0|        *res = NULL;
 2859|      0|        return 0;
 2860|      0|    }
 2861|      7|    z->long_value.ob_digit[0] = 0;
 2862|      7|    _PyLong_SetSignAndDigitCount(z, 0, 0);
 2863|       |
 2864|       |    /* `convwidth` consecutive input digits are treated as a single
 2865|       |     * digit in base `convmultmax`.
 2866|       |     */
 2867|      7|    convwidth = convwidth_base[base];
 2868|      7|    convmultmax = convmultmax_base[base];
 2869|       |
 2870|       |    /* Work ;-) */
 2871|      7|    p = start;
 2872|     40|    while (p < end) {
  ------------------
  |  Branch (2872:12): [True: 33, False: 7]
  ------------------
 2873|     33|        if (*p == '_') {
  ------------------
  |  Branch (2873:13): [True: 0, False: 33]
  ------------------
 2874|      0|            p++;
 2875|      0|            continue;
 2876|      0|        }
 2877|       |        /* grab up to convwidth digits from the input string */
 2878|     33|        c = (digit)_PyLong_DigitValue[Py_CHARMASK(*p++)];
  ------------------
  |  |  170|     33|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 2879|    264|        for (i = 1; i < convwidth && p != end; ++p) {
  ------------------
  |  Branch (2879:21): [True: 238, False: 26]
  |  Branch (2879:38): [True: 231, False: 7]
  ------------------
 2880|    231|            if (*p == '_') {
  ------------------
  |  Branch (2880:17): [True: 0, False: 231]
  ------------------
 2881|      0|                continue;
 2882|      0|            }
 2883|    231|            i++;
 2884|    231|            c = (twodigits)(c *  base +
 2885|    231|                            (int)_PyLong_DigitValue[Py_CHARMASK(*p)]);
  ------------------
  |  |  170|    231|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 2886|    231|            assert(c < PyLong_BASE);
  ------------------
  |  Branch (2886:13): [True: 231, False: 0]
  ------------------
 2887|    231|        }
 2888|       |
 2889|     33|        convmult = convmultmax;
 2890|       |        /* Calculate the shift only if we couldn't get
 2891|       |         * convwidth digits.
 2892|       |         */
 2893|     33|        if (i != convwidth) {
  ------------------
  |  Branch (2893:13): [True: 7, False: 26]
  ------------------
 2894|      7|            convmult = base;
 2895|     30|            for ( ; i > 1; --i) {
  ------------------
  |  Branch (2895:21): [True: 23, False: 7]
  ------------------
 2896|     23|                convmult *= base;
 2897|     23|            }
 2898|      7|        }
 2899|       |
 2900|       |        /* Multiply z by convmult, and add c. */
 2901|     33|        pz = z->long_value.ob_digit;
 2902|     33|        pzstop = pz + _PyLong_DigitCount(z);
 2903|    117|        for (; pz < pzstop; ++pz) {
  ------------------
  |  Branch (2903:16): [True: 84, False: 33]
  ------------------
 2904|     84|            c += (twodigits)*pz * convmult;
 2905|     84|            *pz = (digit)(c & PyLong_MASK);
  ------------------
  |  |   62|     84|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|     84|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     84|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2906|     84|            c >>= PyLong_SHIFT;
  ------------------
  |  |   47|     84|#define PyLong_SHIFT    30
  ------------------
 2907|     84|        }
 2908|       |        /* carry off the current end? */
 2909|     33|        if (c) {
  ------------------
  |  Branch (2909:13): [True: 33, False: 0]
  ------------------
 2910|     33|            assert(c < PyLong_BASE);
  ------------------
  |  Branch (2910:13): [True: 33, False: 0]
  ------------------
 2911|     33|            if (_PyLong_DigitCount(z) < size_z) {
  ------------------
  |  Branch (2911:17): [True: 33, False: 0]
  ------------------
 2912|     33|                *pz = (digit)c;
 2913|     33|                assert(!_PyLong_IsNegative(z));
  ------------------
  |  Branch (2913:17): [True: 33, False: 0]
  ------------------
 2914|     33|                _PyLong_SetSignAndDigitCount(z, 1, _PyLong_DigitCount(z) + 1);
 2915|     33|            }
 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);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2930|      0|                z->long_value.ob_digit[size_z] = (digit)c;
 2931|      0|                ++size_z;
 2932|      0|            }
 2933|     33|        }
 2934|     33|    }
 2935|      7|    *res = z;
 2936|      7|    return 0;
 2937|      7|}
longobject.c:_PyLong_FromSTwoDigits:
  314|    120|{
  315|    120|    if (IS_SMALL_INT(x)) {
  ------------------
  |  |   29|    120|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|    120|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|    120|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|    117|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 117, False: 3]
  |  |  |  |  |  Branch (68:37): [True: 109, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  316|    109|        return (PyLongObject*)get_small_int((sdigit)x);
  317|    109|    }
  318|    120|    assert(x != 0);
  ------------------
  |  Branch (318:5): [True: 11, False: 0]
  ------------------
  319|     11|    if (is_medium_int(x)) {
  ------------------
  |  Branch (319:9): [True: 11, False: 0]
  ------------------
  320|     11|        return (PyLongObject*)_PyLong_FromMedium((sdigit)x);
  321|     11|    }
  322|      0|    return (PyLongObject*)_PyLong_FromLarge(x);
  323|     11|}
longobject.c:medium_from_stwodigits:
  329|    265|{
  330|    265|    if (IS_SMALL_INT(x)) {
  ------------------
  |  |   29|    265|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|    265|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|    265|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|    265|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 265, False: 0]
  |  |  |  |  |  Branch (68:37): [True: 265, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  331|    265|        return PyStackRef_FromPyObjectBorrow(get_small_int((sdigit)x));
  332|    265|    }
  333|    265|    assert(x != 0);
  ------------------
  |  Branch (333:5): [True: 0, False: 0]
  ------------------
  334|      0|    if(!is_medium_int(x)) {
  ------------------
  |  Branch (334:8): [True: 0, False: 0]
  ------------------
  335|      0|        return PyStackRef_NULL;
  336|      0|    }
  337|      0|    PyLongObject *v = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|      0|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  338|      0|    if (v == NULL) {
  ------------------
  |  Branch (338:9): [True: 0, False: 0]
  ------------------
  339|      0|        v = PyObject_Malloc(sizeof(PyLongObject));
  340|      0|        if (v == NULL) {
  ------------------
  |  Branch (340:13): [True: 0, False: 0]
  ------------------
  341|      0|            return PyStackRef_NULL;
  342|      0|        }
  343|      0|        _PyObject_Init((PyObject*)v, &PyLong_Type);
  344|      0|        _PyLong_InitTag(v);
  345|      0|    }
  346|      0|    digit abs_x = x < 0 ? (digit)(-x) : (digit)x;
  ------------------
  |  Branch (346:19): [True: 0, False: 0]
  ------------------
  347|      0|    _PyLong_SetSignAndDigitCount(v, x<0?-1:1, 1);
  ------------------
  |  Branch (347:37): [True: 0, False: 0]
  ------------------
  348|      0|    v->long_value.ob_digit[0] = abs_x;
  349|      0|    return PyStackRef_FromPyObjectStealMortal((PyObject *)v);
  350|      0|}
longobject.c:long_lshift_int64:
 5540|      3|{
 5541|      3|    assert(shiftby >= 0);
  ------------------
  |  Branch (5541:5): [True: 3, False: 0]
  ------------------
 5542|       |
 5543|      3|    if (_PyLong_IsZero(a)) {
  ------------------
  |  Branch (5543:9): [True: 0, False: 3]
  ------------------
 5544|      0|        return PyLong_FromLong(0);
 5545|      0|    }
 5546|       |#if PY_SSIZE_T_MAX <= INT64_MAX / PyLong_SHIFT
 5547|       |    /* Keep wordshift <= MAX_LONG_DIGITS, so that oldsize + wordshift
 5548|       |       cannot overflow Py_ssize_t in long_lshift1(). */
 5549|       |    if (shiftby > (int64_t)MAX_LONG_DIGITS * PyLong_SHIFT) {
 5550|       |        PyErr_SetString(PyExc_OverflowError,
 5551|       |                        "too many digits in integer");
 5552|       |        return NULL;
 5553|       |    }
 5554|       |#endif
 5555|      3|    Py_ssize_t wordshift = (Py_ssize_t)(shiftby / PyLong_SHIFT);
  ------------------
  |  |   47|      3|#define PyLong_SHIFT    30
  ------------------
 5556|      3|    digit remshift = (digit)(shiftby % PyLong_SHIFT);
  ------------------
  |  |   47|      3|#define PyLong_SHIFT    30
  ------------------
 5557|      3|    return long_lshift1(a, wordshift, remshift);
 5558|      3|}
longobject.c:long_lshift1:
 5471|      3|{
 5472|      3|    PyLongObject *z = NULL;
 5473|      3|    Py_ssize_t oldsize, newsize, i, j;
 5474|      3|    twodigits accum;
 5475|       |
 5476|      3|    if (wordshift == 0 && _PyLong_IsCompact(a)) {
  ------------------
  |  Branch (5476:9): [True: 0, False: 3]
  |  Branch (5476:27): [True: 0, False: 0]
  ------------------
 5477|      0|        stwodigits m = medium_value(a);
  ------------------
  |  |   27|      0|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5478|       |        // bypass undefined shift operator behavior
 5479|      0|        stwodigits x = m < 0 ? -(-m << remshift) : m << remshift;
  ------------------
  |  Branch (5479:24): [True: 0, False: 0]
  ------------------
 5480|      0|        return (PyObject*)_PyLong_FromSTwoDigits(x);
 5481|      0|    }
 5482|       |
 5483|      3|    oldsize = _PyLong_DigitCount(a);
 5484|      3|    newsize = oldsize + wordshift;
 5485|      3|    if (remshift)
  ------------------
  |  Branch (5485:9): [True: 3, False: 0]
  ------------------
 5486|      3|        ++newsize;
 5487|      3|    z = long_alloc(newsize);
 5488|      3|    if (z == NULL)
  ------------------
  |  Branch (5488:9): [True: 0, False: 3]
  ------------------
 5489|      0|        return NULL;
 5490|      3|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (5490:9): [True: 0, False: 3]
  ------------------
 5491|      0|        assert(Py_REFCNT(z) == 1);
  ------------------
  |  Branch (5491:9): [True: 0, False: 0]
  ------------------
 5492|      0|        _PyLong_FlipSign(z);
 5493|      0|    }
 5494|     70|    for (i = 0; i < wordshift; i++)
  ------------------
  |  Branch (5494:17): [True: 67, False: 3]
  ------------------
 5495|     67|        z->long_value.ob_digit[i] = 0;
 5496|      3|    accum = 0;
 5497|      6|    for (j = 0; j < oldsize; i++, j++) {
  ------------------
  |  Branch (5497:17): [True: 3, False: 3]
  ------------------
 5498|      3|        accum |= (twodigits)a->long_value.ob_digit[j] << remshift;
 5499|      3|        z->long_value.ob_digit[i] = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|      3|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      3|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      3|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5500|      3|        accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|      3|#define PyLong_SHIFT    30
  ------------------
 5501|      3|    }
 5502|      3|    if (remshift)
  ------------------
  |  Branch (5502:9): [True: 3, False: 0]
  ------------------
 5503|      3|        z->long_value.ob_digit[newsize-1] = (digit)accum;
 5504|      0|    else
 5505|      3|        assert(!accum);
  ------------------
  |  Branch (5505:9): [True: 0, False: 0]
  ------------------
 5506|      3|    z = long_normalize(z);
 5507|      3|    return (PyObject *) maybe_small_long(z);
 5508|      3|}
longobject.c:long_compare:
 3601|    378|{
 3602|    378|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3602:9): [True: 170, False: 208]
  ------------------
 3603|    170|        return _PyLong_CompactValue(a) - _PyLong_CompactValue(b);
 3604|    170|    }
 3605|    208|    Py_ssize_t sign = _PyLong_SignedDigitCount(a) - _PyLong_SignedDigitCount(b);
 3606|    208|    if (sign == 0) {
  ------------------
  |  Branch (3606:9): [True: 181, False: 27]
  ------------------
 3607|    181|        Py_ssize_t i = _PyLong_DigitCount(a);
 3608|    181|        sdigit diff = 0;
 3609|    541|        while (--i >= 0) {
  ------------------
  |  Branch (3609:16): [True: 362, False: 179]
  ------------------
 3610|    362|            diff = (sdigit) a->long_value.ob_digit[i] - (sdigit) b->long_value.ob_digit[i];
 3611|    362|            if (diff) {
  ------------------
  |  Branch (3611:17): [True: 2, False: 360]
  ------------------
 3612|      2|                break;
 3613|      2|            }
 3614|    362|        }
 3615|    181|        sign = _PyLong_IsNegative(a) ? -diff : diff;
  ------------------
  |  Branch (3615:16): [True: 0, False: 181]
  ------------------
 3616|    181|    }
 3617|    208|    return sign;
 3618|    378|}
longobject.c:long_neg:
 5284|      3|{
 5285|      3|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (5285:9): [True: 3, False: 0]
  ------------------
 5286|      3|        return _PyLong_FromSTwoDigits(-medium_value(v));
  ------------------
  |  |   27|      3|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5287|      3|    }
 5288|       |
 5289|      0|    PyLongObject *z = (PyLongObject *)_PyLong_Copy(v);
 5290|      0|    if (z != NULL) {
  ------------------
  |  Branch (5290:9): [True: 0, False: 0]
  ------------------
 5291|      0|        _PyLong_FlipSign(z);
 5292|      0|    }
 5293|      0|    return z;
 5294|      3|}
longobject.c:long_sub:
 3893|     19|{
 3894|     19|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3894:9): [True: 18, False: 1]
  ------------------
 3895|     18|        return _PyLong_FromSTwoDigits(medium_value(a) - medium_value(b));
  ------------------
  |  |   27|     18|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return _PyLong_FromSTwoDigits(medium_value(a) - medium_value(b));
  ------------------
  |  |   27|     18|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3896|     18|    }
 3897|       |
 3898|      1|    PyLongObject *z;
 3899|      1|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (3899:9): [True: 0, False: 1]
  ------------------
 3900|      0|        if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (3900:13): [True: 0, False: 0]
  ------------------
 3901|      0|            z = x_sub(b, a);
 3902|      0|        }
 3903|      0|        else {
 3904|      0|            z = x_add(a, b);
 3905|      0|            if (z != NULL) {
  ------------------
  |  Branch (3905:17): [True: 0, False: 0]
  ------------------
 3906|      0|                assert(_PyLong_IsZero(z) || Py_REFCNT(z) == 1);
  ------------------
  |  Branch (3906:17): [True: 0, False: 0]
  |  Branch (3906:17): [True: 0, False: 0]
  ------------------
 3907|      0|                _PyLong_FlipSign(z);
 3908|      0|            }
 3909|      0|        }
 3910|      0|    }
 3911|      1|    else {
 3912|      1|        if (_PyLong_IsNegative(b))
  ------------------
  |  Branch (3912:13): [True: 0, False: 1]
  ------------------
 3913|      0|            z = x_add(a, b);
 3914|      1|        else
 3915|      1|            z = x_sub(a, b);
 3916|      1|    }
 3917|      1|    return z;
 3918|      1|}
longobject.c:x_sub:
 3790|      1|{
 3791|      1|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3792|      1|    PyLongObject *z;
 3793|      1|    Py_ssize_t i;
 3794|      1|    int sign = 1;
 3795|      1|    digit borrow = 0;
 3796|       |
 3797|       |    /* Ensure a is the larger of the two: */
 3798|      1|    if (size_a < size_b) {
  ------------------
  |  Branch (3798:9): [True: 0, False: 1]
  ------------------
 3799|      0|        sign = -1;
 3800|      0|        { PyLongObject *temp = a; a = b; b = temp; }
 3801|      0|        { Py_ssize_t size_temp = size_a;
 3802|      0|            size_a = size_b;
 3803|      0|            size_b = size_temp; }
 3804|      0|    }
 3805|      1|    else if (size_a == size_b) {
  ------------------
  |  Branch (3805:14): [True: 0, False: 1]
  ------------------
 3806|       |        /* Find highest digit where a and b differ: */
 3807|      0|        i = size_a;
 3808|      0|        while (--i >= 0 && a->long_value.ob_digit[i] == b->long_value.ob_digit[i])
  ------------------
  |  Branch (3808:16): [True: 0, False: 0]
  |  Branch (3808:28): [True: 0, False: 0]
  ------------------
 3809|      0|            ;
 3810|      0|        if (i < 0)
  ------------------
  |  Branch (3810:13): [True: 0, False: 0]
  ------------------
 3811|      0|            return (PyLongObject *)PyLong_FromLong(0);
 3812|      0|        if (a->long_value.ob_digit[i] < b->long_value.ob_digit[i]) {
  ------------------
  |  Branch (3812:13): [True: 0, False: 0]
  ------------------
 3813|      0|            sign = -1;
 3814|      0|            { PyLongObject *temp = a; a = b; b = temp; }
 3815|      0|        }
 3816|      0|        size_a = size_b = i+1;
 3817|      0|    }
 3818|      1|    z = long_alloc(size_a);
 3819|      1|    if (z == NULL)
  ------------------
  |  Branch (3819:9): [True: 0, False: 1]
  ------------------
 3820|      0|        return NULL;
 3821|      2|    for (i = 0; i < size_b; ++i) {
  ------------------
  |  Branch (3821:17): [True: 1, False: 1]
  ------------------
 3822|       |        /* The following assumes unsigned arithmetic
 3823|       |           works module 2**N for some N>PyLong_SHIFT. */
 3824|      1|        borrow = a->long_value.ob_digit[i] - b->long_value.ob_digit[i] - borrow;
 3825|      1|        z->long_value.ob_digit[i] = borrow & PyLong_MASK;
  ------------------
  |  |   62|      1|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      1|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      1|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3826|      1|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|      1|#define PyLong_SHIFT    30
  ------------------
 3827|      1|        borrow &= 1; /* Keep only one sign bit */
 3828|      1|    }
 3829|      2|    for (; i < size_a; ++i) {
  ------------------
  |  Branch (3829:12): [True: 1, False: 1]
  ------------------
 3830|      1|        borrow = a->long_value.ob_digit[i] - borrow;
 3831|      1|        z->long_value.ob_digit[i] = borrow & PyLong_MASK;
  ------------------
  |  |   62|      1|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      1|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      1|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3832|      1|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|      1|#define PyLong_SHIFT    30
  ------------------
 3833|      1|        borrow &= 1; /* Keep only one sign bit */
 3834|      1|    }
 3835|      1|    assert(borrow == 0);
  ------------------
  |  Branch (3835:5): [True: 1, False: 0]
  ------------------
 3836|      1|    if (sign < 0) {
  ------------------
  |  Branch (3836:9): [True: 0, False: 1]
  ------------------
 3837|      0|        _PyLong_FlipSign(z);
 3838|      0|    }
 3839|      1|    return maybe_small_long(long_normalize(z));
 3840|      1|}
longobject.c:x_add:
 3745|     10|{
 3746|     10|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3747|     10|    PyLongObject *z;
 3748|     10|    Py_ssize_t i;
 3749|     10|    digit carry = 0;
 3750|       |
 3751|       |    /* Ensure a is the larger of the two: */
 3752|     10|    if (size_a < size_b) {
  ------------------
  |  Branch (3752:9): [True: 0, False: 10]
  ------------------
 3753|      0|        { PyLongObject *temp = a; a = b; b = temp; }
 3754|      0|        { Py_ssize_t size_temp = size_a;
 3755|      0|            size_a = size_b;
 3756|      0|            size_b = size_temp; }
 3757|      0|    }
 3758|     10|    assert(size_a >= 1);
  ------------------
  |  Branch (3758:5): [True: 10, False: 0]
  ------------------
 3759|       |    /* A carry out of the top digit is only possible if the top digits sum
 3760|       |       to at least PyLong_MASK; only then allocate a digit for it. */
 3761|     10|    digit top_sum = a->long_value.ob_digit[size_a - 1]
 3762|     10|        + (size_b == size_a ? b->long_value.ob_digit[size_b - 1] : 0);
  ------------------
  |  Branch (3762:12): [True: 1, False: 9]
  ------------------
 3763|     10|    int extra_digit = top_sum >= PyLong_MASK;
  ------------------
  |  |   62|     10|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|     10|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     10|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3764|     10|    z = long_alloc(size_a + extra_digit);
 3765|     10|    if (z == NULL)
  ------------------
  |  Branch (3765:9): [True: 0, False: 10]
  ------------------
 3766|      0|        return NULL;
 3767|     22|    for (i = 0; i < size_b; ++i) {
  ------------------
  |  Branch (3767:17): [True: 12, False: 10]
  ------------------
 3768|     12|        carry += a->long_value.ob_digit[i] + b->long_value.ob_digit[i];
 3769|     12|        z->long_value.ob_digit[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|     12|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|     12|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     12|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3770|     12|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|     12|#define PyLong_SHIFT    30
  ------------------
 3771|     12|    }
 3772|     28|    for (; i < size_a; ++i) {
  ------------------
  |  Branch (3772:12): [True: 18, False: 10]
  ------------------
 3773|     18|        carry += a->long_value.ob_digit[i];
 3774|     18|        z->long_value.ob_digit[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|     18|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|     18|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     18|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3775|     18|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|     18|#define PyLong_SHIFT    30
  ------------------
 3776|     18|    }
 3777|     10|    if (extra_digit) {
  ------------------
  |  Branch (3777:9): [True: 0, False: 10]
  ------------------
 3778|      0|        z->long_value.ob_digit[i] = carry;
 3779|      0|        return long_normalize(z);
 3780|      0|    }
 3781|     10|    assert(carry == 0);
  ------------------
  |  Branch (3781:5): [True: 10, False: 0]
  ------------------
 3782|     10|    assert(z->long_value.ob_digit[i - 1] != 0);
  ------------------
  |  Branch (3782:5): [True: 10, False: 0]
  ------------------
 3783|     10|    return z;
 3784|     10|}
longobject.c:long_add:
 3844|     46|{
 3845|     46|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3845:9): [True: 36, False: 10]
  ------------------
 3846|     36|        stwodigits z = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|     36|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      stwodigits z = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|     36|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3847|     36|        return _PyLong_FromSTwoDigits(z);
 3848|     36|    }
 3849|       |
 3850|     10|    PyLongObject *z;
 3851|     10|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (3851:9): [True: 0, False: 10]
  ------------------
 3852|      0|        if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (3852:13): [True: 0, False: 0]
  ------------------
 3853|      0|            z = x_add(a, b);
 3854|      0|            if (z != NULL) {
  ------------------
  |  Branch (3854:17): [True: 0, False: 0]
  ------------------
 3855|       |                /* x_add received at least one multiple-digit int,
 3856|       |                   and thus z must be a multiple-digit int.
 3857|       |                   That also means z is not an element of
 3858|       |                   small_ints, so negating it in-place is safe. */
 3859|      0|                assert(Py_REFCNT(z) == 1);
  ------------------
  |  Branch (3859:17): [True: 0, False: 0]
  ------------------
 3860|      0|                _PyLong_FlipSign(z);
 3861|      0|            }
 3862|      0|        }
 3863|      0|        else
 3864|      0|            z = x_sub(b, a);
 3865|      0|    }
 3866|     10|    else {
 3867|     10|        if (_PyLong_IsNegative(b))
  ------------------
  |  Branch (3867:13): [True: 0, False: 10]
  ------------------
 3868|      0|            z = x_sub(a, b);
 3869|     10|        else
 3870|     10|            z = x_add(a, b);
 3871|     10|    }
 3872|     10|    return z;
 3873|     10|}
longobject.c:long_dealloc:
 3650|  1.88k|{
 3651|  1.88k|    if (_PyLong_IsSmallInt((PyLongObject *)self)) {
  ------------------
  |  Branch (3651:9): [True: 0, False: 1.88k]
  ------------------
 3652|       |        /* This should never get called, but we also don't want to SEGV if
 3653|       |         * we accidentally decref small Ints out of existence. Instead,
 3654|       |         * since small Ints are immortal, re-set the reference count.
 3655|       |         *
 3656|       |         * See PEP 683, section Accidental De-Immortalizing for details
 3657|       |         */
 3658|      0|        _Py_SetImmortal(self);
 3659|      0|        return;
 3660|      0|    }
 3661|  1.88k|    if (PyLong_CheckExact(self) && _PyLong_IsCompact((PyLongObject *)self)) {
  ------------------
  |  |   14|  1.88k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  3.77k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.88k, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3661:36): [True: 823, False: 1.05k]
  ------------------
 3662|    823|        _Py_FREELIST_FREE(ints, self, PyObject_Free);
  ------------------
  |  |   35|    823|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|    823|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    823|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|    823|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   20|    823|#  define Py_ints_MAXFREELIST 100
  |  |  ------------------
  ------------------
 3663|    823|        return;
 3664|    823|    }
 3665|  1.06k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3666|  1.06k|}
longobject.c:long_to_decimal_string:
 2318|     94|{
 2319|     94|    PyObject *v;
 2320|     94|    if (long_to_decimal_string_internal(aa, &v, NULL, NULL, NULL) == -1)
  ------------------
  |  Branch (2320:9): [True: 0, False: 94]
  ------------------
 2321|      0|        return NULL;
 2322|     94|    return v;
 2323|     94|}
longobject.c:long_add_method:
 3885|     46|{
 3886|     46|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|     46|    do {                                                \
  |  | 1845|     46|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     46|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     92|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     46|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     46|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 46]
  |  |  |  Branch (1845:33): [True: 0, False: 46]
  |  |  ------------------
  |  | 1846|     46|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|     46|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 46]
  |  |  ------------------
  ------------------
 3887|     46|    return (PyObject*)long_add((PyLongObject*)a, (PyLongObject*)b);
 3888|     46|}
longobject.c:long_sub_method:
 3930|     19|{
 3931|     19|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|     19|    do {                                                \
  |  | 1845|     19|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     19|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     38|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     19|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     19|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 19]
  |  |  |  Branch (1845:33): [True: 0, False: 19]
  |  |  ------------------
  |  | 1846|     19|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|     19|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 19]
  |  |  ------------------
  ------------------
 3932|     19|    return (PyObject*)long_sub((PyLongObject*)a, (PyLongObject*)b);
 3933|     19|}
longobject.c:long_mul_method:
 4377|     17|{
 4378|     17|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|     17|    do {                                                \
  |  | 1845|     17|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     17|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     34|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     11|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     11|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 6, False: 11]
  |  |  |  Branch (1845:33): [True: 0, False: 11]
  |  |  ------------------
  |  | 1846|     17|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      6|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      6|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|     17|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 11]
  |  |  ------------------
  ------------------
 4379|     11|    return (PyObject*)long_mul((PyLongObject*)a, (PyLongObject*)b);
 4380|     17|}
longobject.c:long_mul:
 4350|     15|{
 4351|       |    /* fast path for single-digit multiplication */
 4352|     15|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (4352:9): [True: 15, False: 0]
  ------------------
 4353|     15|        stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|     15|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|     15|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 4354|     15|        return _PyLong_FromSTwoDigits(v);
 4355|     15|    }
 4356|       |
 4357|      0|    PyLongObject *z = k_mul(a, b);
 4358|       |    /* Negate if exactly one of the inputs is negative. */
 4359|      0|    if (!_PyLong_SameSign(a, b) && z) {
  ------------------
  |  Branch (4359:9): [True: 0, False: 0]
  |  Branch (4359:36): [True: 0, False: 0]
  ------------------
 4360|      0|        _PyLong_Negate(&z);
 4361|      0|    }
 4362|      0|    return z;
 4363|     15|}
longobject.c:long_pow:
 4985|      1|{
 4986|      1|    PyLongObject *a, *b, *c; /* a,b,c = v,w,x */
 4987|      1|    int negativeOutput = 0;  /* if x<0 return negative output */
 4988|       |
 4989|      1|    PyLongObject *z = NULL;  /* accumulated result */
 4990|      1|    Py_ssize_t i, j;             /* counters */
 4991|      1|    PyLongObject *temp = NULL;
 4992|      1|    PyLongObject *a2 = NULL; /* may temporarily hold a**2 % c */
 4993|       |
 4994|       |    /* k-ary values.  If the exponent is large enough, table is
 4995|       |     * precomputed so that table[i] == a**(2*i+1) % c for i in
 4996|       |     * range(EXP_TABLE_LEN).
 4997|       |     * Note: this is uninitialized stack trash: don't pay to set it to known
 4998|       |     * values unless it's needed. Instead ensure that num_table_entries is
 4999|       |     * set to the number of entries actually filled whenever a branch to the
 5000|       |     * Error or Done labels is possible.
 5001|       |     */
 5002|      1|    PyLongObject *table[EXP_TABLE_LEN];
 5003|      1|    Py_ssize_t num_table_entries = 0;
 5004|       |
 5005|       |    /* a, b, c = v, w, x */
 5006|      1|    CHECK_BINOP(v, w);
  ------------------
  |  | 1844|      1|    do {                                                \
  |  | 1845|      1|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|      1|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|      1|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      1|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 1]
  |  |  |  Branch (1845:33): [True: 0, False: 1]
  |  |  ------------------
  |  | 1846|      1|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 1]
  |  |  ------------------
  ------------------
 5007|      1|    a = (PyLongObject*)Py_NewRef(v);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5008|      1|    b = (PyLongObject*)Py_NewRef(w);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5009|      1|    if (PyLong_Check(x)) {
  ------------------
  |  |   13|      1|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      1|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5010|      0|        c = (PyLongObject *)Py_NewRef(x);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5011|      0|    }
 5012|      1|    else if (x == Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5012:14): [True: 1, False: 0]
  ------------------
 5013|      1|        c = NULL;
 5014|      0|    else {
 5015|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5016|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5017|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 5018|      0|    }
 5019|       |
 5020|      1|    if (_PyLong_IsNegative(b) && c == NULL) {
  ------------------
  |  Branch (5020:9): [True: 0, False: 1]
  |  Branch (5020:34): [True: 0, False: 0]
  ------------------
 5021|       |        /* if exponent is negative and there's no modulus:
 5022|       |               return a float.  This works because we know
 5023|       |               that this calls float_pow() which converts its
 5024|       |               arguments to double. */
 5025|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5026|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5027|      0|        return PyFloat_Type.tp_as_number->nb_power(v, w, x);
 5028|      0|    }
 5029|       |
 5030|      1|    if (c) {
  ------------------
  |  Branch (5030:9): [True: 0, False: 1]
  ------------------
 5031|       |        /* if modulus == 0:
 5032|       |               raise ValueError() */
 5033|      0|        if (_PyLong_IsZero(c)) {
  ------------------
  |  Branch (5033:13): [True: 0, False: 0]
  ------------------
 5034|      0|            PyErr_SetString(PyExc_ValueError,
 5035|      0|                            "pow() 3rd argument cannot be 0");
 5036|      0|            goto Error;
 5037|      0|        }
 5038|       |
 5039|       |        /* if modulus < 0:
 5040|       |               negativeOutput = True
 5041|       |               modulus = -modulus */
 5042|      0|        if (_PyLong_IsNegative(c)) {
  ------------------
  |  Branch (5042:13): [True: 0, False: 0]
  ------------------
 5043|      0|            negativeOutput = 1;
 5044|      0|            temp = (PyLongObject *)_PyLong_Copy(c);
 5045|      0|            if (temp == NULL)
  ------------------
  |  Branch (5045:17): [True: 0, False: 0]
  ------------------
 5046|      0|                goto Error;
 5047|      0|            Py_SETREF(c, temp);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5048|      0|            temp = NULL;
 5049|      0|            _PyLong_Negate(&c);
 5050|      0|            if (c == NULL)
  ------------------
  |  Branch (5050:17): [True: 0, False: 0]
  ------------------
 5051|      0|                goto Error;
 5052|      0|        }
 5053|       |
 5054|       |        /* if modulus == 1:
 5055|       |               return 0 */
 5056|      0|        if (_PyLong_IsNonNegativeCompact(c) && (c->long_value.ob_digit[0] == 1)) {
  ------------------
  |  Branch (5056:13): [True: 0, False: 0]
  |  Branch (5056:48): [True: 0, False: 0]
  ------------------
 5057|      0|            z = (PyLongObject *)PyLong_FromLong(0L);
 5058|      0|            goto Done;
 5059|      0|        }
 5060|       |
 5061|       |        /* if exponent is negative, negate the exponent and
 5062|       |           replace the base with a modular inverse */
 5063|      0|        if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (5063:13): [True: 0, False: 0]
  ------------------
 5064|      0|            temp = (PyLongObject *)_PyLong_Copy(b);
 5065|      0|            if (temp == NULL)
  ------------------
  |  Branch (5065:17): [True: 0, False: 0]
  ------------------
 5066|      0|                goto Error;
 5067|      0|            Py_SETREF(b, temp);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5068|      0|            temp = NULL;
 5069|      0|            _PyLong_Negate(&b);
 5070|      0|            if (b == NULL)
  ------------------
  |  Branch (5070:17): [True: 0, False: 0]
  ------------------
 5071|      0|                goto Error;
 5072|       |
 5073|      0|            temp = long_invmod(a, c);
 5074|      0|            if (temp == NULL)
  ------------------
  |  Branch (5074:17): [True: 0, False: 0]
  ------------------
 5075|      0|                goto Error;
 5076|      0|            Py_SETREF(a, temp);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5077|      0|            temp = NULL;
 5078|      0|        }
 5079|       |
 5080|       |        /* Reduce base by modulus in some cases:
 5081|       |           1. If base < 0.  Forcing the base non-negative makes things easier.
 5082|       |           2. If base is obviously larger than the modulus.  The "small
 5083|       |              exponent" case later can multiply directly by base repeatedly,
 5084|       |              while the "large exponent" case multiplies directly by base 31
 5085|       |              times.  It can be unboundedly faster to multiply by
 5086|       |              base % modulus instead.
 5087|       |           We could _always_ do this reduction, but l_mod() isn't cheap,
 5088|       |           so we only do it when it buys something. */
 5089|      0|        if (_PyLong_IsNegative(a) || _PyLong_DigitCount(a) > _PyLong_DigitCount(c)) {
  ------------------
  |  Branch (5089:13): [True: 0, False: 0]
  |  Branch (5089:38): [True: 0, False: 0]
  ------------------
 5090|      0|            if (l_mod(a, c, &temp) < 0)
  ------------------
  |  Branch (5090:17): [True: 0, False: 0]
  ------------------
 5091|      0|                goto Error;
 5092|      0|            Py_SETREF(a, temp);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5093|      0|            temp = NULL;
 5094|      0|        }
 5095|      0|    }
 5096|       |
 5097|       |    /* At this point a, b, and c are guaranteed non-negative UNLESS
 5098|       |       c is NULL, in which case a may be negative. */
 5099|       |
 5100|      1|    z = (PyLongObject *)PyLong_FromLong(1L);
 5101|      1|    if (z == NULL)
  ------------------
  |  Branch (5101:9): [True: 0, False: 1]
  ------------------
 5102|      0|        goto Error;
 5103|       |
 5104|       |    /* Perform a modular reduction, X = X % c, but leave X alone if c
 5105|       |     * is NULL.
 5106|       |     */
 5107|      1|#define REDUCE(X)                                       \
 5108|      1|    do {                                                \
 5109|      1|        if (c != NULL) {                                \
 5110|      1|            if (l_mod(X, c, &temp) < 0)                 \
 5111|      1|                goto Error;                             \
 5112|      1|            Py_XDECREF(X);                              \
 5113|      1|            X = temp;                                   \
 5114|      1|            temp = NULL;                                \
 5115|      1|        }                                               \
 5116|      1|    } while(0)
 5117|       |
 5118|       |    /* Multiply two values, then reduce the result:
 5119|       |       result = X*Y % c.  If c is NULL, skip the mod. */
 5120|      1|#define MULT(X, Y, result)                      \
 5121|      1|    do {                                        \
 5122|      1|        temp = (PyLongObject *)long_mul(X, Y);  \
 5123|      1|        if (temp == NULL)                       \
 5124|      1|            goto Error;                         \
 5125|      1|        Py_XDECREF(result);                     \
 5126|      1|        result = temp;                          \
 5127|      1|        temp = NULL;                            \
 5128|      1|        REDUCE(result);                         \
 5129|      1|    } while(0)
 5130|       |
 5131|      1|    i = _PyLong_SignedDigitCount(b);
 5132|      1|    digit bi = i ? b->long_value.ob_digit[i-1] : 0;
  ------------------
  |  Branch (5132:16): [True: 1, False: 0]
  ------------------
 5133|      1|    digit bit;
 5134|      1|    if (i <= 1 && bi <= 3) {
  ------------------
  |  Branch (5134:9): [True: 1, False: 0]
  |  Branch (5134:19): [True: 0, False: 1]
  ------------------
 5135|       |        /* aim for minimal overhead */
 5136|      0|        if (bi >= 2) {
  ------------------
  |  Branch (5136:13): [True: 0, False: 0]
  ------------------
 5137|      0|            MULT(a, a, z);
  ------------------
  |  | 5121|      0|    do {                                        \
  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5124|      0|            goto Error;                         \
  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|      0|        result = temp;                          \
  |  | 5127|      0|        temp = NULL;                            \
  |  | 5128|      0|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  | 5115|      0|        }                                               \
  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5138|      0|            if (bi == 3) {
  ------------------
  |  Branch (5138:17): [True: 0, False: 0]
  ------------------
 5139|      0|                MULT(z, a, z);
  ------------------
  |  | 5121|      0|    do {                                        \
  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5124|      0|            goto Error;                         \
  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|      0|        result = temp;                          \
  |  | 5127|      0|        temp = NULL;                            \
  |  | 5128|      0|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  | 5115|      0|        }                                               \
  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5140|      0|            }
 5141|      0|        }
 5142|      0|        else if (bi == 1) {
  ------------------
  |  Branch (5142:18): [True: 0, False: 0]
  ------------------
 5143|       |            /* Multiplying by 1 serves two purposes: if `a` is of an int
 5144|       |             * subclass, makes the result an int (e.g., pow(False, 1) returns
 5145|       |             * 0 instead of False), and potentially reduces `a` by the modulus.
 5146|       |             */
 5147|      0|            MULT(a, z, z);
  ------------------
  |  | 5121|      0|    do {                                        \
  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5124|      0|            goto Error;                         \
  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|      0|        result = temp;                          \
  |  | 5127|      0|        temp = NULL;                            \
  |  | 5128|      0|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  | 5115|      0|        }                                               \
  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5148|      0|        }
 5149|       |        /* else bi is 0, and z==1 is correct */
 5150|      0|    }
 5151|      1|    else if (i <= HUGE_EXP_CUTOFF / PyLong_SHIFT ) {
  ------------------
  |  |  114|      1|#define HUGE_EXP_CUTOFF 60
  ------------------
                  else if (i <= HUGE_EXP_CUTOFF / PyLong_SHIFT ) {
  ------------------
  |  |   47|      1|#define PyLong_SHIFT    30
  ------------------
  |  Branch (5151:14): [True: 1, False: 0]
  ------------------
 5152|       |        /* Left-to-right binary exponentiation (HAC Algorithm 14.79) */
 5153|       |        /* https://cacr.uwaterloo.ca/hac/about/chap14.pdf            */
 5154|       |
 5155|       |        /* Find the first significant exponent bit. Search right to left
 5156|       |         * because we're primarily trying to cut overhead for small powers.
 5157|       |         */
 5158|      1|        assert(bi);  /* else there is no significant bit */
  ------------------
  |  Branch (5158:9): [True: 1, False: 0]
  ------------------
 5159|      1|        Py_SETREF(z, (PyLongObject*)Py_NewRef(a));
  ------------------
  |  |  545|      1|    do { \
  |  |  546|      1|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      1|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      1|        *_tmp_dst_ptr = (src); \
  |  |  549|      1|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 5160|      4|        for (bit = 2; ; bit <<= 1) {
 5161|      4|            if (bit > bi) { /* found the first bit */
  ------------------
  |  Branch (5161:17): [True: 1, False: 3]
  ------------------
 5162|      1|                assert((bi & bit) == 0);
  ------------------
  |  Branch (5162:17): [True: 1, False: 0]
  ------------------
 5163|      1|                bit >>= 1;
 5164|      1|                assert(bi & bit);
  ------------------
  |  Branch (5164:17): [True: 1, False: 0]
  ------------------
 5165|      1|                break;
 5166|      1|            }
 5167|      4|        }
 5168|      1|        for (--i, bit >>= 1;;) {
 5169|      4|            for (; bit != 0; bit >>= 1) {
  ------------------
  |  Branch (5169:20): [True: 3, False: 1]
  ------------------
 5170|      3|                MULT(z, z, z);
  ------------------
  |  | 5121|      3|    do {                                        \
  |  | 5122|      3|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|      3|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 3]
  |  |  ------------------
  |  | 5124|      3|            goto Error;                         \
  |  | 5125|      3|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|      3|        result = temp;                          \
  |  | 5127|      3|        temp = NULL;                            \
  |  | 5128|      3|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|      3|    do {                                                \
  |  |  |  | 5109|      3|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  | 5115|      0|        }                                               \
  |  |  |  | 5116|      3|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|      3|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 3]
  |  |  ------------------
  ------------------
 5171|      3|                if (bi & bit) {
  ------------------
  |  Branch (5171:21): [True: 1, False: 2]
  ------------------
 5172|      1|                    MULT(z, a, z);
  ------------------
  |  | 5121|      1|    do {                                        \
  |  | 5122|      1|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|      1|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 5124|      1|            goto Error;                         \
  |  | 5125|      1|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|      1|        result = temp;                          \
  |  | 5127|      1|        temp = NULL;                            \
  |  | 5128|      1|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|      1|    do {                                                \
  |  |  |  | 5109|      1|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  | 5115|      0|        }                                               \
  |  |  |  | 5116|      1|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 1]
  |  |  ------------------
  ------------------
 5173|      1|                }
 5174|      3|            }
 5175|      1|            if (--i < 0) {
  ------------------
  |  Branch (5175:17): [True: 1, False: 0]
  ------------------
 5176|      1|                break;
 5177|      1|            }
 5178|      0|            bi = b->long_value.ob_digit[i];
 5179|      0|            bit = (digit)1 << (PyLong_SHIFT-1);
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 5180|      0|        }
 5181|      1|    }
 5182|      0|    else {
 5183|       |        /* Left-to-right k-ary sliding window exponentiation
 5184|       |         * (Handbook of Applied Cryptography (HAC) Algorithm 14.85)
 5185|       |         */
 5186|      0|        table[0] = (PyLongObject*)Py_NewRef(a);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5187|      0|        num_table_entries = 1;
 5188|      0|        MULT(a, a, a2);
  ------------------
  |  | 5121|      0|    do {                                        \
  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5124|      0|            goto Error;                         \
  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|      0|        result = temp;                          \
  |  | 5127|      0|        temp = NULL;                            \
  |  | 5128|      0|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  | 5115|      0|        }                                               \
  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5189|       |        /* table[i] == a**(2*i + 1) % c */
 5190|      0|        for (i = 1; i < EXP_TABLE_LEN; ++i) {
  ------------------
  |  |   94|      0|#define EXP_TABLE_LEN (1 << (EXP_WINDOW_SIZE - 1))
  |  |  ------------------
  |  |  |  |   93|      0|#define EXP_WINDOW_SIZE 5
  |  |  ------------------
  ------------------
  |  Branch (5190:21): [True: 0, False: 0]
  ------------------
 5191|      0|            table[i] = NULL; /* must set to known value for MULT */
 5192|      0|            MULT(table[i-1], a2, table[i]);
  ------------------
  |  | 5121|      0|    do {                                        \
  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5124|      0|            goto Error;                         \
  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|      0|        result = temp;                          \
  |  | 5127|      0|        temp = NULL;                            \
  |  | 5128|      0|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  | 5115|      0|        }                                               \
  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5193|      0|            ++num_table_entries; /* incremented iff MULT succeeded */
 5194|      0|        }
 5195|      0|        Py_CLEAR(a2);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5196|       |
 5197|       |        /* Repeatedly extract the next (no more than) EXP_WINDOW_SIZE bits
 5198|       |         * into `pending`, starting with the next 1 bit.  The current bit
 5199|       |         * length of `pending` is `blen`.
 5200|       |         */
 5201|      0|        int pending = 0, blen = 0;
 5202|      0|#define ABSORB_PENDING  do { \
 5203|      0|            int ntz = 0; /* number of trailing zeroes in `pending` */ \
 5204|      0|            assert(pending && blen); \
 5205|      0|            assert(pending >> (blen - 1)); \
 5206|      0|            assert(pending >> blen == 0); \
 5207|      0|            while ((pending & 1) == 0) { \
 5208|      0|                ++ntz; \
 5209|      0|                pending >>= 1; \
 5210|      0|            } \
 5211|      0|            assert(ntz < blen); \
 5212|      0|            blen -= ntz; \
 5213|      0|            do { \
 5214|      0|                MULT(z, z, z); \
 5215|      0|            } while (--blen); \
 5216|      0|            MULT(z, table[pending >> 1], z); \
 5217|      0|            while (ntz-- > 0) \
 5218|      0|                MULT(z, z, z); \
 5219|      0|            assert(blen == 0); \
 5220|      0|            pending = 0; \
 5221|      0|        } while(0)
 5222|       |
 5223|      0|        for (i = _PyLong_SignedDigitCount(b) - 1; i >= 0; --i) {
  ------------------
  |  Branch (5223:51): [True: 0, False: 0]
  ------------------
 5224|      0|            const digit bi = b->long_value.ob_digit[i];
 5225|      0|            for (j = PyLong_SHIFT - 1; j >= 0; --j) {
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  |  Branch (5225:40): [True: 0, False: 0]
  ------------------
 5226|      0|                const int bit = (bi >> j) & 1;
 5227|      0|                pending = (pending << 1) | bit;
 5228|      0|                if (pending) {
  ------------------
  |  Branch (5228:21): [True: 0, False: 0]
  ------------------
 5229|      0|                    ++blen;
 5230|      0|                    if (blen == EXP_WINDOW_SIZE)
  ------------------
  |  |   93|      0|#define EXP_WINDOW_SIZE 5
  ------------------
  |  Branch (5230:25): [True: 0, False: 0]
  ------------------
 5231|      0|                        ABSORB_PENDING;
  ------------------
  |  | 5202|      0|#define ABSORB_PENDING  do { \
  |  | 5203|      0|            int ntz = 0; /* number of trailing zeroes in `pending` */ \
  |  | 5204|      0|            assert(pending && blen); \
  |  | 5205|      0|            assert(pending >> (blen - 1)); \
  |  | 5206|      0|            assert(pending >> blen == 0); \
  |  | 5207|      0|            while ((pending & 1) == 0) { \
  |  |  ------------------
  |  |  |  Branch (5207:20): [True: 0, False: 0]
  |  |  ------------------
  |  | 5208|      0|                ++ntz; \
  |  | 5209|      0|                pending >>= 1; \
  |  | 5210|      0|            } \
  |  | 5211|      0|            assert(ntz < blen); \
  |  | 5212|      0|            blen -= ntz; \
  |  | 5213|      0|            do { \
  |  | 5214|      0|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5121|      0|    do {                                        \
  |  |  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5124|      0|            goto Error;                         \
  |  |  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5126|      0|        result = temp;                          \
  |  |  |  | 5127|      0|        temp = NULL;                            \
  |  |  |  | 5128|      0|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  |  |  | 5115|      0|        }                                               \
  |  |  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5129|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5215|      0|            } while (--blen); \
  |  |  ------------------
  |  |  |  Branch (5215:22): [True: 0, False: 0]
  |  |  ------------------
  |  | 5216|      0|            MULT(z, table[pending >> 1], z); \
  |  |  ------------------
  |  |  |  | 5121|      0|    do {                                        \
  |  |  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5124|      0|            goto Error;                         \
  |  |  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5126|      0|        result = temp;                          \
  |  |  |  | 5127|      0|        temp = NULL;                            \
  |  |  |  | 5128|      0|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  |  |  | 5115|      0|        }                                               \
  |  |  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5129|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5217|      0|            while (ntz-- > 0) \
  |  |  ------------------
  |  |  |  Branch (5217:20): [True: 0, False: 0]
  |  |  ------------------
  |  | 5218|      0|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5121|      0|    do {                                        \
  |  |  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5124|      0|            goto Error;                         \
  |  |  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5126|      0|        result = temp;                          \
  |  |  |  | 5127|      0|        temp = NULL;                            \
  |  |  |  | 5128|      0|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  |  |  | 5115|      0|        }                                               \
  |  |  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5129|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5219|      0|            assert(blen == 0); \
  |  | 5220|      0|            pending = 0; \
  |  | 5221|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (5221:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (5231:25): [True: 0, False: 0]
  |  Branch (5231:25): [True: 0, False: 0]
  |  Branch (5231:25): [True: 0, False: 0]
  |  Branch (5231:25): [True: 0, False: 0]
  |  Branch (5231:25): [True: 0, False: 0]
  |  Branch (5231:25): [True: 0, False: 0]
  ------------------
 5232|      0|                }
 5233|      0|                else /* absorb strings of 0 bits */
 5234|      0|                    MULT(z, z, z);
  ------------------
  |  | 5121|      0|    do {                                        \
  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5124|      0|            goto Error;                         \
  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|      0|        result = temp;                          \
  |  | 5127|      0|        temp = NULL;                            \
  |  | 5128|      0|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  | 5115|      0|        }                                               \
  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5235|      0|            }
 5236|      0|        }
 5237|      0|        if (pending)
  ------------------
  |  Branch (5237:13): [True: 0, False: 0]
  ------------------
 5238|      0|            ABSORB_PENDING;
  ------------------
  |  | 5202|      0|#define ABSORB_PENDING  do { \
  |  | 5203|      0|            int ntz = 0; /* number of trailing zeroes in `pending` */ \
  |  | 5204|      0|            assert(pending && blen); \
  |  | 5205|      0|            assert(pending >> (blen - 1)); \
  |  | 5206|      0|            assert(pending >> blen == 0); \
  |  | 5207|      0|            while ((pending & 1) == 0) { \
  |  |  ------------------
  |  |  |  Branch (5207:20): [True: 0, False: 0]
  |  |  ------------------
  |  | 5208|      0|                ++ntz; \
  |  | 5209|      0|                pending >>= 1; \
  |  | 5210|      0|            } \
  |  | 5211|      0|            assert(ntz < blen); \
  |  | 5212|      0|            blen -= ntz; \
  |  | 5213|      0|            do { \
  |  | 5214|      0|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5121|      0|    do {                                        \
  |  |  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5124|      0|            goto Error;                         \
  |  |  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5126|      0|        result = temp;                          \
  |  |  |  | 5127|      0|        temp = NULL;                            \
  |  |  |  | 5128|      0|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  |  |  | 5115|      0|        }                                               \
  |  |  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5129|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5215|      0|            } while (--blen); \
  |  |  ------------------
  |  |  |  Branch (5215:22): [True: 0, False: 0]
  |  |  ------------------
  |  | 5216|      0|            MULT(z, table[pending >> 1], z); \
  |  |  ------------------
  |  |  |  | 5121|      0|    do {                                        \
  |  |  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5124|      0|            goto Error;                         \
  |  |  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5126|      0|        result = temp;                          \
  |  |  |  | 5127|      0|        temp = NULL;                            \
  |  |  |  | 5128|      0|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  |  |  | 5115|      0|        }                                               \
  |  |  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5129|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5217|      0|            while (ntz-- > 0) \
  |  |  ------------------
  |  |  |  Branch (5217:20): [True: 0, False: 0]
  |  |  ------------------
  |  | 5218|      0|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5121|      0|    do {                                        \
  |  |  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5124|      0|            goto Error;                         \
  |  |  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5126|      0|        result = temp;                          \
  |  |  |  | 5127|      0|        temp = NULL;                            \
  |  |  |  | 5128|      0|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  |  |  | 5115|      0|        }                                               \
  |  |  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5129|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5219|      0|            assert(blen == 0); \
  |  | 5220|      0|            pending = 0; \
  |  | 5221|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (5221:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (5238:13): [True: 0, False: 0]
  |  Branch (5238:13): [True: 0, False: 0]
  |  Branch (5238:13): [True: 0, False: 0]
  |  Branch (5238:13): [True: 0, False: 0]
  |  Branch (5238:13): [True: 0, False: 0]
  |  Branch (5238:13): [True: 0, False: 0]
  ------------------
 5239|      0|    }
 5240|       |
 5241|      1|    if (negativeOutput && !_PyLong_IsZero(z)) {
  ------------------
  |  Branch (5241:9): [True: 0, False: 1]
  |  Branch (5241:27): [True: 0, False: 0]
  ------------------
 5242|      0|        temp = long_sub(z, c);
 5243|      0|        if (temp == NULL)
  ------------------
  |  Branch (5243:13): [True: 0, False: 0]
  ------------------
 5244|      0|            goto Error;
 5245|      0|        Py_SETREF(z, temp);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5246|      0|        temp = NULL;
 5247|      0|    }
 5248|      1|    goto Done;
 5249|       |
 5250|      1|  Error:
 5251|      0|    Py_CLEAR(z);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5252|       |    /* fall through */
 5253|      1|  Done:
 5254|      1|    for (i = 0; i < num_table_entries; ++i)
  ------------------
  |  Branch (5254:17): [True: 0, False: 1]
  ------------------
 5255|      0|        Py_DECREF(table[i]);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5256|      1|    Py_DECREF(a);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5257|      1|    Py_DECREF(b);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5258|      1|    Py_XDECREF(c);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5259|      1|    Py_XDECREF(a2);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5260|      1|    Py_XDECREF(temp);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5261|      1|    return (PyObject *)z;
 5262|      0|}
longobject.c:long_neg_method:
 5298|      3|{
 5299|      3|    return (PyObject*)long_neg(_PyLong_CAST(v));
  ------------------
  |  |    6|      3|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5299:32): [True: 3, False: 0]
  ------------------
 5300|      3|}
longobject.c:long_bool:
 5319|     48|{
 5320|     48|    return !_PyLong_IsZero(_PyLong_CAST(v));
  ------------------
  |  |    6|     48|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5320:28): [True: 48, False: 0]
  ------------------
 5321|     48|}
longobject.c:long_invert:
 5266|      1|{
 5267|      1|    PyLongObject *v = _PyLong_CAST(self);
  ------------------
  |  |    6|      1|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5267:23): [True: 1, False: 0]
  ------------------
 5268|       |
 5269|       |    /* Implement ~x as -(x+1) */
 5270|      1|    if (_PyLong_IsCompact(v))
  ------------------
  |  Branch (5270:9): [True: 1, False: 0]
  ------------------
 5271|      1|        return (PyObject*)_PyLong_FromSTwoDigits(~medium_value(v));
  ------------------
  |  |   27|      1|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5272|       |
 5273|      0|    PyLongObject *x = long_add(v, (PyLongObject *)_PyLong_GetOne());
 5274|      0|    if (x == NULL)
  ------------------
  |  Branch (5274:9): [True: 0, False: 0]
  ------------------
 5275|      0|        return NULL;
 5276|      0|    _PyLong_Negate(&x);
 5277|       |    /* No need for maybe_small_long here, since any small longs
 5278|       |       will have been caught in the _PyLong_IsCompact() fast path. */
 5279|      0|    return (PyObject *)x;
 5280|      0|}
longobject.c:long_lshift_method:
 5513|      3|{
 5514|      3|    CHECK_BINOP(aa, bb);
  ------------------
  |  | 1844|      3|    do {                                                \
  |  | 1845|      3|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|      3|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|      3|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      3|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 3]
  |  |  |  Branch (1845:33): [True: 0, False: 3]
  |  |  ------------------
  |  | 1846|      3|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|      3|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 3]
  |  |  ------------------
  ------------------
 5515|      3|    PyLongObject *a = (PyLongObject*)aa;
 5516|      3|    PyLongObject *b = (PyLongObject*)bb;
 5517|       |
 5518|      3|    if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (5518:9): [True: 0, False: 3]
  ------------------
 5519|      0|        PyErr_SetString(PyExc_ValueError, "negative shift count");
 5520|      0|        return NULL;
 5521|      0|    }
 5522|      3|    if (_PyLong_IsZero(a)) {
  ------------------
  |  Branch (5522:9): [True: 0, False: 3]
  ------------------
 5523|      0|        return PyLong_FromLong(0);
 5524|      0|    }
 5525|       |
 5526|      3|    int64_t shiftby;
 5527|      3|    if (PyLong_AsInt64(bb, &shiftby) < 0) {
  ------------------
  |  Branch (5527:9): [True: 0, False: 3]
  ------------------
 5528|      0|        if (PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (5528:13): [True: 0, False: 0]
  ------------------
 5529|      0|            PyErr_SetString(PyExc_OverflowError,
 5530|      0|                            "too many digits in integer");
 5531|      0|        }
 5532|      0|        return NULL;
 5533|      0|    }
 5534|      3|    return long_lshift_int64(a, shiftby);
 5535|      3|}
longobject.c:long_and:
 5720|     85|{
 5721|     85|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|     85|    do {                                                \
  |  | 1845|     85|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     85|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    170|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     85|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     85|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 85]
  |  |  |  Branch (1845:33): [True: 0, False: 85]
  |  |  ------------------
  |  | 1846|     85|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|     85|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 85]
  |  |  ------------------
  ------------------
 5722|     85|    PyLongObject *x = (PyLongObject*)a;
 5723|     85|    PyLongObject *y = (PyLongObject*)b;
 5724|     85|    if (_PyLong_IsCompact(x) && _PyLong_IsCompact(y)) {
  ------------------
  |  Branch (5724:9): [True: 58, False: 27]
  |  Branch (5724:33): [True: 31, False: 27]
  ------------------
 5725|     31|        return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) & medium_value(y));
  ------------------
  |  |   27|     31|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) & medium_value(y));
  ------------------
  |  |   27|     31|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5726|     31|    }
 5727|     54|    return long_bitwise(x, '&', y);
 5728|     85|}
longobject.c:long_bitwise:
 5596|     54|{
 5597|     54|    int nega, negb, negz;
 5598|     54|    Py_ssize_t size_a, size_b, size_z, i;
 5599|     54|    PyLongObject *z;
 5600|       |
 5601|     54|    PyLongObject *new_a = NULL;
 5602|     54|    PyLongObject *new_b = NULL;
 5603|       |
 5604|       |    /* Bitwise operations for negative numbers operate as though
 5605|       |       on a two's complement representation.  So convert arguments
 5606|       |       from sign-magnitude to two's complement, and convert the
 5607|       |       result back to sign-magnitude at the end. */
 5608|       |
 5609|     54|    size_a = _PyLong_DigitCount(a);
 5610|     54|    size_b = _PyLong_DigitCount(b);
 5611|       |    /* Swap a and b if necessary to ensure size_a >= size_b. */
 5612|     54|    if (size_a < size_b) {
  ------------------
  |  Branch (5612:9): [True: 27, False: 27]
  ------------------
 5613|     27|        z = a; a = b; b = z;
 5614|     27|        size_z = size_a; size_a = size_b; size_b = size_z;
 5615|     27|    }
 5616|       |
 5617|       |    /* If a is negative, replace it by its two's complement. */
 5618|     54|    nega = _PyLong_IsNegative(a);
 5619|     54|    if (nega) {
  ------------------
  |  Branch (5619:9): [True: 0, False: 54]
  ------------------
 5620|      0|        z = long_alloc(size_a);
 5621|      0|        if (z == NULL)
  ------------------
  |  Branch (5621:13): [True: 0, False: 0]
  ------------------
 5622|      0|            return NULL;
 5623|      0|        v_complement(z->long_value.ob_digit, a->long_value.ob_digit, size_a);
 5624|      0|        new_a = z; // reference to decrement instead of a itself
 5625|      0|        a = z;
 5626|      0|    }
 5627|       |
 5628|       |    /* Same for b. */
 5629|     54|    negb = _PyLong_IsNegative(b);
 5630|     54|    if (negb) {
  ------------------
  |  Branch (5630:9): [True: 0, False: 54]
  ------------------
 5631|      0|        z = long_alloc(size_b);
 5632|      0|        if (z == NULL) {
  ------------------
  |  Branch (5632:13): [True: 0, False: 0]
  ------------------
 5633|      0|            Py_XDECREF(new_a);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5634|      0|            return NULL;
 5635|      0|        }
 5636|      0|        v_complement(z->long_value.ob_digit, b->long_value.ob_digit, size_b);
 5637|      0|        new_b = z; // reference to decrement instead of b itself
 5638|      0|        b = z;
 5639|      0|    }
 5640|       |
 5641|       |    /* JRH: The original logic here was to allocate the result value (z)
 5642|       |       as the longer of the two operands.  However, there are some cases
 5643|       |       where the result is guaranteed to be shorter than that: AND of two
 5644|       |       positives, OR of two negatives: use the shorter number.  AND with
 5645|       |       mixed signs: use the positive number.  OR with mixed signs: use the
 5646|       |       negative number.
 5647|       |    */
 5648|     54|    switch (op) {
 5649|      0|    case '^':
  ------------------
  |  Branch (5649:5): [True: 0, False: 54]
  ------------------
 5650|      0|        negz = nega ^ negb;
 5651|      0|        size_z = size_a;
 5652|      0|        break;
 5653|     54|    case '&':
  ------------------
  |  Branch (5653:5): [True: 54, False: 0]
  ------------------
 5654|     54|        negz = nega & negb;
 5655|     54|        size_z = negb ? size_a : size_b;
  ------------------
  |  Branch (5655:18): [True: 0, False: 54]
  ------------------
 5656|     54|        break;
 5657|      0|    case '|':
  ------------------
  |  Branch (5657:5): [True: 0, False: 54]
  ------------------
 5658|      0|        negz = nega | negb;
 5659|      0|        size_z = negb ? size_b : size_a;
  ------------------
  |  Branch (5659:18): [True: 0, False: 0]
  ------------------
 5660|      0|        break;
 5661|      0|    default:
  ------------------
  |  Branch (5661:5): [True: 0, False: 54]
  ------------------
 5662|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5663|     54|    }
 5664|       |
 5665|     54|    if ((size_z + negz) == 0) {
  ------------------
  |  Branch (5665:9): [True: 0, False: 54]
  ------------------
 5666|      0|        Py_XDECREF(new_a);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5667|      0|        Py_XDECREF(new_b);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5668|      0|        return get_small_int(0);
 5669|      0|    }
 5670|       |
 5671|       |    /* We allow an extra digit if z is negative, to make sure that
 5672|       |       the final two's complement of z doesn't overflow. */
 5673|     54|    z = long_alloc(size_z + negz);
 5674|     54|    if (z == NULL) {
  ------------------
  |  Branch (5674:9): [True: 0, False: 54]
  ------------------
 5675|      0|        Py_XDECREF(new_a);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5676|      0|        Py_XDECREF(new_b);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5677|      0|        return NULL;
 5678|      0|    }
 5679|       |
 5680|       |    /* Compute digits for overlap of a and b. */
 5681|     54|    switch(op) {
 5682|     54|    case '&':
  ------------------
  |  Branch (5682:5): [True: 54, False: 0]
  ------------------
 5683|    135|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5683:21): [True: 81, False: 54]
  ------------------
 5684|     81|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] & b->long_value.ob_digit[i];
 5685|     54|        break;
 5686|      0|    case '|':
  ------------------
  |  Branch (5686:5): [True: 0, False: 54]
  ------------------
 5687|      0|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5687:21): [True: 0, False: 0]
  ------------------
 5688|      0|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] | b->long_value.ob_digit[i];
 5689|      0|        break;
 5690|      0|    case '^':
  ------------------
  |  Branch (5690:5): [True: 0, False: 54]
  ------------------
 5691|      0|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5691:21): [True: 0, False: 0]
  ------------------
 5692|      0|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] ^ b->long_value.ob_digit[i];
 5693|      0|        break;
 5694|      0|    default:
  ------------------
  |  Branch (5694:5): [True: 0, False: 54]
  ------------------
 5695|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5696|     54|    }
 5697|       |
 5698|       |    /* Copy any remaining digits of a, inverting if necessary. */
 5699|     54|    if (op == '^' && negb)
  ------------------
  |  Branch (5699:9): [True: 0, False: 54]
  |  Branch (5699:22): [True: 0, False: 0]
  ------------------
 5700|      0|        for (; i < size_z; ++i)
  ------------------
  |  Branch (5700:16): [True: 0, False: 0]
  ------------------
 5701|      0|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] ^ PyLong_MASK;
  ------------------
  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5702|     54|    else if (i < size_z)
  ------------------
  |  Branch (5702:14): [True: 0, False: 54]
  ------------------
 5703|      0|        memcpy(&z->long_value.ob_digit[i], &a->long_value.ob_digit[i],
 5704|      0|               (size_z-i)*sizeof(digit));
 5705|       |
 5706|       |    /* Complement result if negative. */
 5707|     54|    if (negz) {
  ------------------
  |  Branch (5707:9): [True: 0, False: 54]
  ------------------
 5708|      0|        _PyLong_FlipSign(z);
 5709|      0|        z->long_value.ob_digit[size_z] = PyLong_MASK;
  ------------------
  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5710|      0|        v_complement(z->long_value.ob_digit, z->long_value.ob_digit, size_z+1);
 5711|      0|    }
 5712|       |
 5713|     54|    Py_XDECREF(new_a);
  ------------------
  |  |  621|     54|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5714|     54|    Py_XDECREF(new_b);
  ------------------
  |  |  621|     54|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5715|     54|    return (PyObject *)maybe_small_long(long_normalize(z));
 5716|     54|}
longobject.c:long_or:
 5744|     16|{
 5745|     16|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|     16|    do {                                                \
  |  | 1845|     16|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     16|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     32|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     16|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     16|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 16]
  |  |  |  Branch (1845:33): [True: 0, False: 16]
  |  |  ------------------
  |  | 1846|     16|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|     16|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 16]
  |  |  ------------------
  ------------------
 5746|     16|    PyLongObject *x = (PyLongObject*)a;
 5747|     16|    PyLongObject *y = (PyLongObject*)b;
 5748|     16|    if (_PyLong_IsCompact(x) && _PyLong_IsCompact(y)) {
  ------------------
  |  Branch (5748:9): [True: 16, False: 0]
  |  Branch (5748:33): [True: 16, False: 0]
  ------------------
 5749|     16|        return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) | medium_value(y));
  ------------------
  |  |   27|     16|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) | medium_value(y));
  ------------------
  |  |   27|     16|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5750|     16|    }
 5751|      0|    return long_bitwise(x, '|', y);
 5752|     16|}
longobject.c:long_hash:
 3670|  2.27k|{
 3671|  2.27k|    PyLongObject *v = (PyLongObject *)obj;
 3672|  2.27k|    Py_uhash_t x;
 3673|  2.27k|    Py_ssize_t i;
 3674|  2.27k|    int sign;
 3675|       |
 3676|  2.27k|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (3676:9): [True: 986, False: 1.28k]
  ------------------
 3677|    986|        x = (Py_uhash_t)_PyLong_CompactValue(v);
 3678|    986|        if (x == (Py_uhash_t)-1) {
  ------------------
  |  Branch (3678:13): [True: 0, False: 986]
  ------------------
 3679|      0|            x = (Py_uhash_t)-2;
 3680|      0|        }
 3681|    986|        return x;
 3682|    986|    }
 3683|  1.28k|    i = _PyLong_DigitCount(v);
 3684|  1.28k|    sign = _PyLong_NonCompactSign(v);
 3685|       |
 3686|       |    // unroll first digit
 3687|  1.28k|    Py_BUILD_ASSERT(PyHASH_BITS > PyLong_SHIFT);
  ------------------
  |  |  199|  1.28k|        do { \
  |  |  200|  1.28k|            static_assert((cond), #cond); \
  |  |  201|  1.28k|        } while (0)
  |  |  ------------------
  |  |  |  Branch (201:18): [Folded, False: 1.28k]
  |  |  ------------------
  ------------------
 3688|  1.28k|    assert(i >= 1);
  ------------------
  |  Branch (3688:5): [True: 1.28k, False: 0]
  ------------------
 3689|  1.28k|    --i;
 3690|  1.28k|    x = v->long_value.ob_digit[i];
 3691|  1.28k|    assert(x < PyHASH_MODULUS);
  ------------------
  |  Branch (3691:5): [True: 1.28k, False: 0]
  ------------------
 3692|       |
 3693|  1.28k|#if PyHASH_BITS >= 2 * PyLong_SHIFT
 3694|       |    // unroll second digit
 3695|  1.28k|    assert(i >= 1);
  ------------------
  |  Branch (3695:5): [True: 1.28k, False: 0]
  ------------------
 3696|  1.28k|    --i;
 3697|  1.28k|    x <<= PyLong_SHIFT;
  ------------------
  |  |   47|  1.28k|#define PyLong_SHIFT    30
  ------------------
 3698|  1.28k|    x += v->long_value.ob_digit[i];
 3699|  1.28k|    assert(x < PyHASH_MODULUS);
  ------------------
  |  Branch (3699:5): [True: 1.28k, False: 0]
  ------------------
 3700|  1.28k|#endif
 3701|       |
 3702|  1.28k|    while (--i >= 0) {
  ------------------
  |  Branch (3702:12): [True: 0, False: 1.28k]
  ------------------
 3703|       |        /* Here x is a quantity in the range [0, PyHASH_MODULUS); we
 3704|       |           want to compute x * 2**PyLong_SHIFT + v->long_value.ob_digit[i] modulo
 3705|       |           PyHASH_MODULUS.
 3706|       |
 3707|       |           The computation of x * 2**PyLong_SHIFT % PyHASH_MODULUS
 3708|       |           amounts to a rotation of the bits of x.  To see this, write
 3709|       |
 3710|       |             x * 2**PyLong_SHIFT = y * 2**PyHASH_BITS + z
 3711|       |
 3712|       |           where y = x >> (PyHASH_BITS - PyLong_SHIFT) gives the top
 3713|       |           PyLong_SHIFT bits of x (those that are shifted out of the
 3714|       |           original PyHASH_BITS bits, and z = (x << PyLong_SHIFT) &
 3715|       |           PyHASH_MODULUS gives the bottom PyHASH_BITS - PyLong_SHIFT
 3716|       |           bits of x, shifted up.  Then since 2**PyHASH_BITS is
 3717|       |           congruent to 1 modulo PyHASH_MODULUS, y*2**PyHASH_BITS is
 3718|       |           congruent to y modulo PyHASH_MODULUS.  So
 3719|       |
 3720|       |             x * 2**PyLong_SHIFT = y + z (mod PyHASH_MODULUS).
 3721|       |
 3722|       |           The right-hand side is just the result of rotating the
 3723|       |           PyHASH_BITS bits of x left by PyLong_SHIFT places; since
 3724|       |           not all PyHASH_BITS bits of x are 1s, the same is true
 3725|       |           after rotation, so 0 <= y+z < PyHASH_MODULUS and y + z is
 3726|       |           the reduction of x*2**PyLong_SHIFT modulo
 3727|       |           PyHASH_MODULUS. */
 3728|      0|        x = ((x << PyLong_SHIFT) & PyHASH_MODULUS) |
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
                      x = ((x << PyLong_SHIFT) & PyHASH_MODULUS) |
  ------------------
  |  |   18|      0|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|      0|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
 3729|      0|            (x >> (PyHASH_BITS - PyLong_SHIFT));
  ------------------
  |  |   13|      0|#  define PyHASH_BITS 61
  ------------------
                          (x >> (PyHASH_BITS - PyLong_SHIFT));
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 3730|      0|        x += v->long_value.ob_digit[i];
 3731|      0|        if (x >= PyHASH_MODULUS)
  ------------------
  |  |   18|      0|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|      0|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
  |  Branch (3731:13): [True: 0, False: 0]
  ------------------
 3732|      0|            x -= PyHASH_MODULUS;
  ------------------
  |  |   18|      0|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|      0|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
 3733|      0|    }
 3734|  1.28k|    x = x * sign;
 3735|  1.28k|    if (x == (Py_uhash_t)-1)
  ------------------
  |  Branch (3735:9): [True: 0, False: 1.28k]
  ------------------
 3736|      0|        x = (Py_uhash_t)-2;
 3737|  1.28k|    return (Py_hash_t)x;
 3738|  1.28k|}
longobject.c:long_richcompare:
 3622|    417|{
 3623|    417|    Py_ssize_t result;
 3624|    417|    CHECK_BINOP(self, other);
  ------------------
  |  | 1844|    417|    do {                                                \
  |  | 1845|    417|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    417|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    834|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    417|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    417|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 417]
  |  |  |  Branch (1845:33): [True: 0, False: 417]
  |  |  ------------------
  |  | 1846|    417|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|    417|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 417]
  |  |  ------------------
  ------------------
 3625|    417|    if (self == other)
  ------------------
  |  Branch (3625:9): [True: 39, False: 378]
  ------------------
 3626|     39|        result = 0;
 3627|    378|    else
 3628|    378|        result = long_compare((PyLongObject*)self, (PyLongObject*)other);
 3629|    417|    Py_RETURN_RICHCOMPARE(result, 0, op);
  ------------------
  |  |  674|    417|    do {                                                                    \
  |  |  675|    417|        switch (op) {                                                       \
  |  |  676|    180|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|    180|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|     69|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|     69|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|    111|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|    111|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    111|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    111|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (676:9): [True: 180, False: 237]
  |  |  |  Branch (676:25): [True: 69, False: 111]
  |  |  ------------------
  |  |  677|    180|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|    151|#define Py_NE 3
  |  |  ------------------
  |  |                       case Py_NE: 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_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|    149|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|    149|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 151, False: 266]
  |  |  |  Branch (677:25): [True: 2, False: 149]
  |  |  ------------------
  |  |  678|    151|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|     59|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|     18|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|     18|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|     41|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|     41|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 59, False: 358]
  |  |  |  Branch (678:25): [True: 18, False: 41]
  |  |  ------------------
  |  |  679|     59|        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  656|     17|#define Py_GT 4
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      8|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      8|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (679:9): [True: 17, False: 400]
  |  |  |  Branch (679:25): [True: 8, False: 9]
  |  |  ------------------
  |  |  680|     17|        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  653|      2|#define Py_LE 1
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      1|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      1|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (680:9): [True: 2, False: 415]
  |  |  |  Branch (680:25): [True: 1, False: 1]
  |  |  ------------------
  |  |  681|      8|        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  657|      8|#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|      8|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      8|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (681:9): [True: 8, False: 409]
  |  |  |  Branch (681:25): [True: 0, False: 8]
  |  |  ------------------
  |  |  682|      8|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 417]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|    417|        }                                                                   \
  |  |  685|    417|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3630|    417|}
longobject.c:int_bit_length_impl:
 6318|      1|{
 6319|      1|    int64_t nbits = _PyLong_NumBits(self);
 6320|      1|    assert(nbits >= 0);
  ------------------
  |  Branch (6320:5): [True: 1, False: 0]
  ------------------
 6321|      1|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (6321:5): [True: 1, False: 0]
  ------------------
 6322|      1|    return PyLong_FromInt64(nbits);
 6323|      1|}
longobject.c:int_to_bytes_impl:
 6419|      2|{
 6420|      2|    int little_endian;
 6421|      2|    if (byteorder == NULL)
  ------------------
  |  Branch (6421:9): [True: 0, False: 2]
  ------------------
 6422|      0|        little_endian = 0;
 6423|      2|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(little)))
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6423:14): [True: 2, False: 0]
  ------------------
 6424|      2|        little_endian = 1;
 6425|      0|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(big)))
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6425:14): [True: 0, False: 0]
  ------------------
 6426|      0|        little_endian = 0;
 6427|      0|    else {
 6428|      0|        PyErr_SetString(PyExc_ValueError,
 6429|      0|            "byteorder must be either 'little' or 'big'");
 6430|      0|        return NULL;
 6431|      0|    }
 6432|       |
 6433|      2|    PyBytesWriter *writer = PyBytesWriter_Create(length);
 6434|      2|    if (writer == NULL) {
  ------------------
  |  Branch (6434:9): [True: 0, False: 2]
  ------------------
 6435|      0|        return NULL;
 6436|      0|    }
 6437|       |
 6438|      2|    if (_PyLong_AsByteArray((PyLongObject *)self,
  ------------------
  |  Branch (6438:9): [True: 0, False: 2]
  ------------------
 6439|      2|                            PyBytesWriter_GetData(writer),
 6440|      2|                            length, little_endian, is_signed, 1) < 0) {
 6441|      0|        PyBytesWriter_Discard(writer);
 6442|      0|        return NULL;
 6443|      0|    }
 6444|       |
 6445|      2|    return PyBytesWriter_Finish(writer);
 6446|      2|}
longobject.c:int_from_bytes_impl:
 6476|     81|{
 6477|     81|    int little_endian;
 6478|     81|    PyObject *long_obj, *bytes;
 6479|       |
 6480|     81|    if (byteorder == NULL)
  ------------------
  |  Branch (6480:9): [True: 0, False: 81]
  ------------------
 6481|      0|        little_endian = 0;
 6482|     81|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(little)))
  ------------------
  |  |  951|     81|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     81|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     81|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6482:14): [True: 81, False: 0]
  ------------------
 6483|     81|        little_endian = 1;
 6484|      0|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(big)))
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6484:14): [True: 0, False: 0]
  ------------------
 6485|      0|        little_endian = 0;
 6486|      0|    else {
 6487|      0|        PyErr_SetString(PyExc_ValueError,
 6488|      0|            "byteorder must be either 'little' or 'big'");
 6489|      0|        return NULL;
 6490|      0|    }
 6491|       |
 6492|       |    /* Fast-path exact bytes. */
 6493|     81|    if (PyBytes_CheckExact(bytes_obj)) {
  ------------------
  |  |   29|     81|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|     81|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 81, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6494|     81|        long_obj = _PyLong_FromByteArray(
 6495|     81|            (unsigned char *)PyBytes_AS_STRING(bytes_obj), Py_SIZE(bytes_obj),
  ------------------
  |  |   27|     81|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          (unsigned char *)PyBytes_AS_STRING(bytes_obj), Py_SIZE(bytes_obj),
  ------------------
  |  |  214|     81|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6496|     81|            little_endian, is_signed);
 6497|     81|    }
 6498|       |    /* Use buffer protocol to avoid copies. */
 6499|      0|    else if (PyObject_CheckBuffer(bytes_obj)) {
  ------------------
  |  Branch (6499:14): [True: 0, False: 0]
  ------------------
 6500|      0|        Py_buffer view;
 6501|      0|        if (PyObject_GetBuffer(bytes_obj, &view, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (6501:13): [True: 0, False: 0]
  ------------------
 6502|      0|            return NULL;
 6503|      0|        }
 6504|      0|        long_obj = _PyLong_FromByteArray(view.buf, view.len, little_endian,
 6505|      0|            is_signed);
 6506|      0|        PyBuffer_Release(&view);
 6507|      0|    }
 6508|      0|    else {
 6509|       |        /* fallback: Construct a bytes then convert. */
 6510|      0|        bytes = PyObject_Bytes(bytes_obj);
 6511|      0|        if (bytes == NULL) {
  ------------------
  |  Branch (6511:13): [True: 0, False: 0]
  ------------------
 6512|      0|            return NULL;
 6513|      0|        }
 6514|      0|        long_obj = _PyLong_FromByteArray(
 6515|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6516|      0|            little_endian, is_signed);
 6517|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6518|      0|    }
 6519|       |
 6520|     81|    if (long_obj != NULL && type != &PyLong_Type) {
  ------------------
  |  Branch (6520:9): [True: 81, False: 0]
  |  Branch (6520:29): [True: 0, False: 81]
  ------------------
 6521|      0|        Py_SETREF(long_obj, PyObject_CallOneArg((PyObject *)type, long_obj));
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6522|      0|    }
 6523|       |
 6524|     81|    return long_obj;
 6525|     81|}
longobject.c:long_new_impl:
 5997|    310|{
 5998|    310|    Py_ssize_t base;
 5999|       |
 6000|    310|    if (type != &PyLong_Type)
  ------------------
  |  Branch (6000:9): [True: 143, False: 167]
  ------------------
 6001|    143|        return long_subtype_new(type, x, obase); /* Wimp out */
 6002|    167|    if (x == NULL) {
  ------------------
  |  Branch (6002:9): [True: 1, False: 166]
  ------------------
 6003|      1|        if (obase != NULL) {
  ------------------
  |  Branch (6003:13): [True: 0, False: 1]
  ------------------
 6004|      0|            PyErr_SetString(PyExc_TypeError,
 6005|      0|                            "int() missing string argument");
 6006|      0|            return NULL;
 6007|      0|        }
 6008|      1|        return PyLong_FromLong(0L);
 6009|      1|    }
 6010|       |    /* default base and limit, forward to standard implementation */
 6011|    166|    if (obase == NULL)
  ------------------
  |  Branch (6011:9): [True: 142, False: 24]
  ------------------
 6012|    142|        return PyNumber_Long(x);
 6013|       |
 6014|     24|    base = PyNumber_AsSsize_t(obase, NULL);
 6015|     24|    if (base == -1 && PyErr_Occurred())
  ------------------
  |  Branch (6015:9): [True: 0, False: 24]
  |  Branch (6015:23): [True: 0, False: 0]
  ------------------
 6016|      0|        return NULL;
 6017|     24|    if ((base != 0 && base < 2) || base > 36) {
  ------------------
  |  Branch (6017:10): [True: 24, False: 0]
  |  Branch (6017:23): [True: 0, False: 24]
  |  Branch (6017:36): [True: 0, False: 24]
  ------------------
 6018|      0|        PyErr_SetString(PyExc_ValueError,
 6019|      0|                        "int() base must be >= 2 and <= 36, or 0");
 6020|      0|        return NULL;
 6021|      0|    }
 6022|       |
 6023|     24|    if (PyUnicode_Check(x))
  ------------------
  |  |  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: 0, False: 24]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6024|      0|        return PyLong_FromUnicodeObject(x, (int)base);
 6025|     24|    else if (PyByteArray_Check(x) || PyBytes_Check(x)) {
  ------------------
  |  |   24|     24|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|     48|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 24, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6026|     24|        const char *string;
 6027|     24|        if (PyByteArray_Check(x))
  ------------------
  |  |   24|     24|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|     24|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 24, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6028|     24|            string = PyByteArray_AS_STRING(x);
  ------------------
  |  |   28|     24|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6029|      0|        else
 6030|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6031|     24|        return _PyLong_FromBytes(string, Py_SIZE(x), (int)base);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6032|     24|    }
 6033|      0|    else {
 6034|      0|        PyErr_SetString(PyExc_TypeError,
 6035|      0|                        "int() can't convert non-string with explicit base");
 6036|       |        return NULL;
 6037|      0|    }
 6038|     24|}
longobject.c:long_subtype_new:
 6047|    143|{
 6048|    143|    PyLongObject *tmp, *newobj;
 6049|    143|    Py_ssize_t size, ndigits;
 6050|    143|    int sign;
 6051|       |
 6052|    143|    assert(PyType_IsSubtype(type, &PyLong_Type));
  ------------------
  |  Branch (6052:5): [True: 143, False: 0]
  ------------------
 6053|    143|    tmp = (PyLongObject *)long_new_impl(&PyLong_Type, x, obase);
 6054|    143|    if (tmp == NULL)
  ------------------
  |  Branch (6054:9): [True: 0, False: 143]
  ------------------
 6055|      0|        return NULL;
 6056|    143|    assert(PyLong_Check(tmp));
  ------------------
  |  Branch (6056:5): [True: 143, False: 0]
  ------------------
 6057|    143|    size = _PyLong_DigitCount(tmp);
 6058|       |    /* Fast operations for single digit integers (including zero)
 6059|       |     * assume that there is always at least one digit present. */
 6060|    143|    ndigits = size ? size : 1;
  ------------------
  |  Branch (6060:15): [True: 138, False: 5]
  ------------------
 6061|    143|    newobj = (PyLongObject *)type->tp_alloc(type, ndigits);
 6062|    143|    if (newobj == NULL) {
  ------------------
  |  Branch (6062:9): [True: 0, False: 143]
  ------------------
 6063|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6064|      0|        return NULL;
 6065|      0|    }
 6066|    143|    assert(PyLong_Check(newobj));
  ------------------
  |  Branch (6066:5): [True: 143, False: 0]
  ------------------
 6067|    143|    if (_PyLong_IsCompact(tmp)) {
  ------------------
  |  Branch (6067:9): [True: 142, False: 1]
  ------------------
 6068|    142|        sign = _PyLong_CompactSign(tmp);
 6069|    142|    }
 6070|      1|    else {
 6071|      1|        sign = _PyLong_NonCompactSign(tmp);
 6072|      1|    }
 6073|    143|    _PyLong_InitTag(newobj);
 6074|    143|    _PyLong_SetSignAndDigitCount(newobj, sign, size);
 6075|    143|    memcpy(newobj->long_value.ob_digit, tmp->long_value.ob_digit,
 6076|    143|           ndigits * sizeof(digit));
 6077|    143|    Py_DECREF(tmp);
  ------------------
  |  |  430|    143|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    143|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    143|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6078|    143|    return (PyObject *)newobj;
 6079|    143|}
longobject.c:long_vectorcall:
 6556|     51|{
 6557|     51|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     51|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 6558|     51|    if (kwnames != NULL) {
  ------------------
  |  Branch (6558:9): [True: 0, False: 51]
  ------------------
 6559|      0|        PyThreadState *tstate = PyThreadState_GET();
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 6560|      0|        return _PyObject_MakeTpCall(tstate, type, args, nargs, kwnames);
 6561|      0|    }
 6562|     51|    switch (nargs) {
 6563|      0|        case 0:
  ------------------
  |  Branch (6563:9): [True: 0, False: 51]
  ------------------
 6564|      0|            return _PyLong_GetZero();
 6565|     27|        case 1:
  ------------------
  |  Branch (6565:9): [True: 27, False: 24]
  ------------------
 6566|     27|            return PyNumber_Long(args[0]);
 6567|     24|        case 2:
  ------------------
  |  Branch (6567:9): [True: 24, False: 27]
  ------------------
 6568|     24|            return long_new_impl(_PyType_CAST(type), args[0], args[1]);
  ------------------
  |  |  770|     24|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (6568:34): [True: 24, False: 0]
  ------------------
 6569|      0|        default:
  ------------------
  |  Branch (6569:9): [True: 0, False: 51]
  ------------------
 6570|      0|            return PyErr_Format(PyExc_TypeError,
 6571|      0|                                "int expected at most 2 arguments, got %zd",
 6572|      0|                                nargs);
 6573|     51|    }
 6574|     51|}

PyMemoryView_FromBuffer:
  889|     50|{
  890|     50|    _PyManagedBufferObject *mbuf;
  891|     50|    PyObject *mv;
  892|       |
  893|     50|    if (info->buf == NULL) {
  ------------------
  |  Branch (893:9): [True: 0, False: 50]
  ------------------
  894|      0|        PyErr_SetString(PyExc_ValueError,
  895|      0|            "PyMemoryView_FromBuffer(): info->buf must not be NULL");
  896|      0|        return NULL;
  897|      0|    }
  898|       |
  899|     50|    mbuf = mbuf_alloc();
  900|     50|    if (mbuf == NULL)
  ------------------
  |  Branch (900:9): [True: 0, False: 50]
  ------------------
  901|      0|        return NULL;
  902|       |
  903|       |    /* info->obj is either NULL or a borrowed reference. This reference
  904|       |       should not be decremented in PyBuffer_Release(). */
  905|     50|    mbuf->master = *info;
  906|     50|    mbuf->master.obj = NULL;
  907|       |
  908|     50|    mv = mbuf_add_view(mbuf, NULL);
  909|     50|    Py_DECREF(mbuf);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  910|       |
  911|     50|    return mv;
  912|     50|}
PyMemoryView_FromObject:
  984|     27|{
  985|     27|    return PyMemoryView_FromObjectAndFlags(v, PyBUF_FULL_RO);
  ------------------
  |  |  134|     27|#define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  122|     27|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|     27|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|     27|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|     27|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  986|     27|}
memoryobject.c:mbuf_dealloc:
  171|     77|{
  172|     77|    _PyManagedBufferObject *self = (_PyManagedBufferObject *)_self;
  173|     77|    assert(FT_ATOMIC_LOAD_SSIZE_RELAXED(self->exports) == 0);
  ------------------
  |  Branch (173:5): [True: 77, False: 0]
  ------------------
  174|     77|    mbuf_release(self);
  175|     77|    if (mbuf_has_flag(self, _Py_MANAGED_BUFFER_FREE_FORMAT))
  ------------------
  |  |    9|     77|#define _Py_MANAGED_BUFFER_FREE_FORMAT 0x002  /* free format */
  ------------------
  |  Branch (175:9): [True: 0, False: 77]
  ------------------
  176|      0|        PyMem_Free(self->master.format);
  177|     77|    PyObject_GC_Del(self);
  178|     77|}
memoryobject.c:mbuf_release:
  159|    154|{
  160|    154|    if (mbuf_set_released(self)) {
  ------------------
  |  Branch (160:9): [True: 77, False: 77]
  ------------------
  161|     77|        return;
  162|     77|    }
  163|       |
  164|       |    /* PyBuffer_Release() decrements master->obj and sets it to NULL. */
  165|     77|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|     77|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     77|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     77|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  166|     77|    PyBuffer_Release(&self->master);
  167|     77|}
memoryobject.c:mbuf_set_released:
  153|    154|{
  154|    154|    return flags_set_released(&mbuf->flags, _Py_MANAGED_BUFFER_RELEASED);
  ------------------
  |  |    8|    154|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  ------------------
  155|    154|}
memoryobject.c:flags_set_released:
  108|    258|{
  109|       |#ifdef Py_GIL_DISABLED
  110|       |    int prev = _Py_atomic_load_int_relaxed(flags);
  111|       |    if (prev & released) {
  112|       |        return 1;
  113|       |    }
  114|       |    if (!_Py_atomic_compare_exchange_int(flags, &prev, prev | released)) {
  115|       |        // RELEASED is the only flag that can change concurrently.
  116|       |        assert(prev & released);
  117|       |        return 1;
  118|       |    }
  119|       |    return 0;
  120|       |#else
  121|    258|    int prev = *flags;
  122|    258|    *flags = prev | released;
  123|    258|    return (prev & released) != 0;
  124|    258|#endif
  125|    258|}
memoryobject.c:mbuf_has_flag:
  147|    208|{
  148|    208|    return (FT_ATOMIC_LOAD_INT(mbuf->flags) & bits) != 0;
  ------------------
  |  |  187|    208|#define FT_ATOMIC_LOAD_INT(value) value
  ------------------
  149|    208|}
memoryobject.c:mbuf_alloc:
   73|     77|{
   74|     77|    _PyManagedBufferObject *mbuf;
   75|       |
   76|     77|    mbuf = (_PyManagedBufferObject *)
   77|     77|        PyObject_GC_New(_PyManagedBufferObject, &_PyManagedBuffer_Type);
  ------------------
  |  |  181|     77|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     77|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   78|     77|    if (mbuf == NULL)
  ------------------
  |  Branch (78:9): [True: 0, False: 77]
  ------------------
   79|      0|        return NULL;
   80|     77|    mbuf->flags = 0;
   81|     77|    mbuf->exports = 0;
   82|     77|    mbuf->master.obj = NULL;
   83|     77|    _PyObject_GC_TRACK(mbuf);
  ------------------
  |  |  502|     77|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     77|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     77|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|       |
   85|     77|    return mbuf;
   86|     77|}
memoryobject.c:mbuf_add_view:
  727|    104|{
  728|    104|    PyMemoryViewObject *mv;
  729|    104|    Py_buffer *dest;
  730|       |
  731|    104|    if (src == NULL)
  ------------------
  |  Branch (731:9): [True: 77, False: 27]
  ------------------
  732|     77|        src = &mbuf->master;
  733|       |
  734|    104|    if (src->ndim > PyBUF_MAX_NDIM) {
  ------------------
  |  |  105|    104|#define PyBUF_MAX_NDIM 64
  ------------------
  |  Branch (734:9): [True: 0, False: 104]
  ------------------
  735|      0|        PyErr_SetString(PyExc_ValueError,
  736|      0|            "memoryview: number of dimensions must not exceed "
  737|      0|            Py_STRINGIFY(PyBUF_MAX_NDIM));
  ------------------
  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  ------------------
  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  ------------------
  ------------------
  738|      0|        return NULL;
  739|      0|    }
  740|       |
  741|    104|    mv = memory_alloc(src->ndim);
  742|    104|    if (mv == NULL)
  ------------------
  |  Branch (742:9): [True: 0, False: 104]
  ------------------
  743|      0|        return NULL;
  744|       |
  745|    104|    dest = &mv->view;
  746|    104|    init_shared_values(dest, src);
  747|    104|    init_shape_strides(dest, src);
  748|    104|    init_suboffsets(dest, src);
  749|    104|    init_flags(mv);
  750|       |
  751|    104|    mv->mbuf = (_PyManagedBufferObject*)Py_NewRef(mbuf);
  ------------------
  |  |  647|    104|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  752|    104|    FT_ATOMIC_ADD_SSIZE(mbuf->exports, 1);
  ------------------
  |  |  206|    104|#define FT_ATOMIC_ADD_SSIZE(value, new_value) (void)(value += new_value)
  ------------------
  753|       |
  754|    104|    return (PyObject *)mv;
  755|    104|}
memoryobject.c:memory_alloc:
  695|    104|{
  696|    104|    PyMemoryViewObject *mv;
  697|       |
  698|    104|    mv = (PyMemoryViewObject *)
  699|    104|        PyObject_GC_NewVar(PyMemoryViewObject, &PyMemoryView_Type, 3*ndim);
  ------------------
  |  |  183|    104|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  700|    104|    if (mv == NULL)
  ------------------
  |  Branch (700:9): [True: 0, False: 104]
  ------------------
  701|      0|        return NULL;
  702|       |
  703|    104|    mv->mbuf = NULL;
  704|    104|    mv->hash = -1;
  705|    104|    mv->flags = 0;
  706|    104|    mv->exports = 0;
  707|    104|    mv->view.ndim = ndim;
  708|    104|    mv->view.shape = mv->ob_array;
  709|    104|    mv->view.strides = mv->ob_array + ndim;
  710|    104|    mv->view.suboffsets = mv->ob_array + 2 * ndim;
  711|    104|    mv->weakreflist = NULL;
  712|       |
  713|    104|    _PyObject_GC_TRACK(mv);
  ------------------
  |  |  502|    104|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  714|    104|    return mv;
  715|    104|}
memoryobject.c:init_flags:
  662|    131|{
  663|    131|    const Py_buffer *view = &mv->view;
  664|    131|    int flags = 0;
  665|       |
  666|    131|    switch (view->ndim) {
  667|      0|    case 0:
  ------------------
  |  Branch (667:5): [True: 0, False: 131]
  ------------------
  668|      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 */
  ------------------
  669|      0|                  _Py_MEMORYVIEW_FORTRAN);
  ------------------
  |  |   22|      0|#define _Py_MEMORYVIEW_FORTRAN     0x004  /* Fortran contiguous layout */
  ------------------
  670|      0|        break;
  671|    131|    case 1:
  ------------------
  |  Branch (671:5): [True: 131, False: 0]
  ------------------
  672|    131|        if (MV_CONTIGUOUS_NDIM1(view))
  ------------------
  |  |  291|    131|    ((view)->shape[0] == 1 || (view)->strides[0] == (view)->itemsize)
  |  |  ------------------
  |  |  |  Branch (291:6): [True: 0, False: 131]
  |  |  |  Branch (291:31): [True: 131, False: 0]
  |  |  ------------------
  ------------------
  673|    131|            flags |= (_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN);
  ------------------
  |  |   21|    131|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  ------------------
                          flags |= (_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN);
  ------------------
  |  |   22|    131|#define _Py_MEMORYVIEW_FORTRAN     0x004  /* Fortran contiguous layout */
  ------------------
  674|    131|        break;
  675|      0|    default:
  ------------------
  |  Branch (675:5): [True: 0, False: 131]
  ------------------
  676|      0|        if (PyBuffer_IsContiguous(view, 'C'))
  ------------------
  |  Branch (676:13): [True: 0, False: 0]
  ------------------
  677|      0|            flags |= _Py_MEMORYVIEW_C;
  ------------------
  |  |   21|      0|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  ------------------
  678|      0|        if (PyBuffer_IsContiguous(view, 'F'))
  ------------------
  |  Branch (678:13): [True: 0, False: 0]
  ------------------
  679|      0|            flags |= _Py_MEMORYVIEW_FORTRAN;
  ------------------
  |  |   22|      0|#define _Py_MEMORYVIEW_FORTRAN     0x004  /* Fortran contiguous layout */
  ------------------
  680|      0|        break;
  681|    131|    }
  682|       |
  683|    131|    if (view->suboffsets) {
  ------------------
  |  Branch (683:9): [True: 0, False: 131]
  ------------------
  684|      0|        flags |= _Py_MEMORYVIEW_PIL;
  ------------------
  |  |   24|      0|#define _Py_MEMORYVIEW_PIL         0x010  /* PIL-style layout */
  ------------------
  685|      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 */
  ------------------
  686|      0|    }
  687|       |
  688|    131|    mv->flags = flags;
  689|    131|}
memoryobject.c:PyMemoryView_FromObjectAndFlags:
  920|     27|{
  921|     27|    _PyManagedBufferObject *mbuf;
  922|       |
  923|     27|    if (PyMemoryView_Check(v)) {
  ------------------
  |  |   11|     27|#define PyMemoryView_Check(op) Py_IS_TYPE((op), &PyMemoryView_Type)
  |  |  ------------------
  |  |  |  |  215|     27|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 27]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  924|      0|        PyMemoryViewObject *mv = (PyMemoryViewObject *)v;
  925|      0|        if (memoryview_pin(mv) < 0) {
  ------------------
  |  Branch (925:13): [True: 0, False: 0]
  ------------------
  926|      0|            return NULL;
  927|      0|        }
  928|      0|        PyObject *result;
  929|      0|        if (mv_has_flag(mv, _Py_MEMORYVIEW_RESTRICTED)) {
  ------------------
  |  |   25|      0|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  ------------------
  |  Branch (929:13): [True: 0, False: 0]
  ------------------
  930|      0|            PyErr_SetString(PyExc_ValueError,
  931|      0|                            "cannot create new view on restricted memoryview");
  932|      0|            result = NULL;
  933|      0|        }
  934|      0|        else {
  935|      0|            result = mbuf_add_view(mv->mbuf, &mv->view);
  936|      0|        }
  937|      0|        memoryview_unpin(mv);
  938|      0|        return result;
  939|      0|    }
  940|     27|    else if (PyObject_CheckBuffer(v)) {
  ------------------
  |  Branch (940:14): [True: 27, False: 0]
  ------------------
  941|     27|        PyObject *ret;
  942|     27|        mbuf = (_PyManagedBufferObject *)_PyManagedBuffer_FromObject(v, flags);
  943|     27|        if (mbuf == NULL)
  ------------------
  |  Branch (943:13): [True: 0, False: 27]
  ------------------
  944|      0|            return NULL;
  945|     27|        ret = mbuf_add_view(mbuf, NULL);
  946|     27|        Py_DECREF(mbuf);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  947|     27|        return ret;
  948|     27|    }
  949|       |
  950|      0|    PyErr_Format(PyExc_TypeError,
  951|      0|        "memoryview: a bytes-like object is required, not '%.200s'",
  952|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  953|       |    return NULL;
  954|     27|}
memoryobject.c:memoryview_pin:
  832|     27|{
  833|     27|    if (mv_has_flag(self, _Py_MEMORYVIEW_RELEASED)) {
  ------------------
  |  |   20|     27|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  ------------------
  |  Branch (833:9): [True: 0, False: 27]
  ------------------
  834|      0|        PyErr_SetString(PyExc_ValueError,
  835|      0|            "operation forbidden on released memoryview object");
  836|      0|        return -1;
  837|      0|    }
  838|     27|    _PyManagedBufferObject *mbuf = self->mbuf;
  839|     27|    FT_ATOMIC_ADD_SSIZE(mbuf->exports, 1);
  ------------------
  |  |  206|     27|#define FT_ATOMIC_ADD_SSIZE(value, new_value) (void)(value += new_value)
  ------------------
  840|     27|    if (BASE_INACCESSIBLE(self)) {
  ------------------
  |  |  231|     27|    (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  ------------------
  |  |  |  |   38|     27|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  ------------------
  |  |  |  |   20|     27|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  ------------------
  |  |  |  Branch (231:6): [True: 0, False: 27]
  |  |  ------------------
  |  |  232|     27|     mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  ------------------
  |  |  |  |   38|     27|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  ------------------
  |  |  |  |    8|     27|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  ------------------
  |  |  |  Branch (232:6): [True: 0, False: 27]
  |  |  ------------------
  ------------------
  841|      0|        mbuf_drop_export(mbuf);
  842|      0|        PyErr_SetString(PyExc_ValueError,
  843|      0|            "operation forbidden on released memoryview object");
  844|      0|        return -1;
  845|      0|    }
  846|     27|    return 0;
  847|     27|}
memoryobject.c:mbuf_drop_export:
  810|    131|{
  811|       |#ifdef Py_GIL_DISABLED
  812|       |    Py_ssize_t prev_exports = _Py_atomic_add_ssize(&mbuf->exports, -1);
  813|       |#else
  814|    131|    Py_ssize_t prev_exports = mbuf->exports--;
  815|    131|#endif
  816|    131|    assert(prev_exports > 0);
  ------------------
  |  Branch (816:5): [True: 131, False: 0]
  ------------------
  817|    131|    if (prev_exports == 1) {
  ------------------
  |  Branch (817:9): [True: 77, False: 54]
  ------------------
  818|     77|        mbuf_release(mbuf);
  819|     77|    }
  820|    131|}
memoryobject.c:mv_has_flag:
  135|    262|{
  136|    262|    return (mv_get_flags(mv) & bits) != 0;
  137|    262|}
memoryobject.c:mv_get_flags:
  129|    339|{
  130|    339|    return FT_ATOMIC_LOAD_INT_RELAXED(mv->flags);
  ------------------
  |  |  189|    339|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  ------------------
  131|    339|}
memoryobject.c:memoryview_unpin:
  851|     27|{
  852|     27|    mbuf_drop_export(self->mbuf);
  853|     27|}
memoryobject.c:_PyManagedBuffer_FromObject:
   90|     27|{
   91|     27|    _PyManagedBufferObject *mbuf;
   92|       |
   93|     27|    mbuf = mbuf_alloc();
   94|     27|    if (mbuf == NULL)
  ------------------
  |  Branch (94:9): [True: 0, False: 27]
  ------------------
   95|      0|        return NULL;
   96|       |
   97|     27|    if (PyObject_GetBuffer(base, &mbuf->master, flags) < 0) {
  ------------------
  |  Branch (97:9): [True: 0, False: 27]
  ------------------
   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|     27|    return (PyObject *)mbuf;
  104|     27|}
memoryobject.c:init_shared_values:
  594|    104|{
  595|    104|    dest->obj = src->obj;
  596|    104|    dest->buf = src->buf;
  597|    104|    dest->len = src->len;
  598|    104|    dest->itemsize = src->itemsize;
  599|    104|    dest->readonly = src->readonly;
  600|    104|    dest->format = src->format ? src->format : "B";
  ------------------
  |  Branch (600:20): [True: 54, False: 50]
  ------------------
  601|    104|    dest->internal = src->internal;
  602|    104|}
memoryobject.c:init_shape_strides:
  607|    104|{
  608|    104|    Py_ssize_t i;
  609|       |
  610|    104|    if (src->ndim == 0) {
  ------------------
  |  Branch (610:9): [True: 0, False: 104]
  ------------------
  611|      0|        dest->shape = NULL;
  612|      0|        dest->strides = NULL;
  613|      0|        return;
  614|      0|    }
  615|    104|    if (src->ndim == 1) {
  ------------------
  |  Branch (615:9): [True: 104, False: 0]
  ------------------
  616|    104|        dest->shape[0] = src->shape ? src->shape[0] : src->len / src->itemsize;
  ------------------
  |  Branch (616:26): [True: 104, False: 0]
  ------------------
  617|    104|        dest->strides[0] = src->strides ? src->strides[0] : src->itemsize;
  ------------------
  |  Branch (617:28): [True: 54, False: 50]
  ------------------
  618|    104|        return;
  619|    104|    }
  620|       |
  621|      0|    for (i = 0; i < src->ndim; i++)
  ------------------
  |  Branch (621:17): [True: 0, False: 0]
  ------------------
  622|      0|        dest->shape[i] = src->shape[i];
  623|      0|    if (src->strides) {
  ------------------
  |  Branch (623:9): [True: 0, False: 0]
  ------------------
  624|      0|        for (i = 0; i < src->ndim; i++)
  ------------------
  |  Branch (624:21): [True: 0, False: 0]
  ------------------
  625|      0|            dest->strides[i] = src->strides[i];
  626|      0|    }
  627|      0|    else {
  628|      0|        init_strides_from_shape(dest);
  629|      0|    }
  630|      0|}
memoryobject.c:init_suboffsets:
  634|    104|{
  635|    104|    Py_ssize_t i;
  636|       |
  637|    104|    if (src->suboffsets == NULL) {
  ------------------
  |  Branch (637:9): [True: 104, False: 0]
  ------------------
  638|    104|        dest->suboffsets = NULL;
  639|    104|        return;
  640|    104|    }
  641|      0|    for (i = 0; i < src->ndim; i++)
  ------------------
  |  Branch (641:17): [True: 0, False: 0]
  ------------------
  642|      0|        dest->suboffsets[i] = src->suboffsets[i];
  643|      0|}
memoryobject.c:memory_dealloc:
 1278|    104|{
 1279|    104|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1280|    104|    assert(get_exports(self) == 0);
  ------------------
  |  Branch (1280:5): [True: 104, False: 0]
  ------------------
 1281|    104|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|    104|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1282|    104|    _memory_release(self);
 1283|    104|    Py_CLEAR(self->mbuf);
  ------------------
  |  |  487|    104|    do { \
  |  |  488|    104|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    104|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    104|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    104|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    104|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    104|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 104, False: 0]
  |  |  ------------------
  |  |  491|    104|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    104|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    104|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    104|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    104|        } \
  |  |  494|    104|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 104]
  |  |  ------------------
  ------------------
 1284|    104|    if (self->weakreflist != NULL)
  ------------------
  |  Branch (1284:9): [True: 0, False: 104]
  ------------------
 1285|      0|        PyObject_ClearWeakRefs((PyObject *) self);
 1286|    104|    PyObject_GC_Del(self);
 1287|    104|}
memoryobject.c:get_exports:
 1220|    208|{
 1221|    208|    return FT_ATOMIC_LOAD_SSIZE_RELAXED(buf->exports);
  ------------------
  |  |  151|    208|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1222|    208|}
memoryobject.c:_memory_release:
 1235|    104|{
 1236|    104|    assert(get_exports(self) == 0);
  ------------------
  |  Branch (1236:5): [True: 104, False: 0]
  ------------------
 1237|    104|    if (mv_set_released(self)) {
  ------------------
  |  Branch (1237:9): [True: 0, False: 104]
  ------------------
 1238|      0|        return;
 1239|      0|    }
 1240|       |
 1241|    104|    mbuf_drop_export(self->mbuf);
 1242|    104|}
memoryobject.c:mv_set_released:
  141|    104|{
  142|    104|    return flags_set_released(&mv->flags, _Py_MEMORYVIEW_RELEASED);
  ------------------
  |  |   20|    104|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  ------------------
  143|    104|}
memoryobject.c:memory_subscript:
 3086|     27|{
 3087|     27|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 3088|     27|    if (memoryview_pin(self) < 0) {
  ------------------
  |  Branch (3088:9): [True: 0, False: 27]
  ------------------
 3089|      0|        return NULL;
 3090|      0|    }
 3091|     27|    PyObject *result = memory_subscript_pinned(_self, key);
 3092|     27|    memoryview_unpin(self);
 3093|     27|    return result;
 3094|     27|}
memoryobject.c:memory_subscript_pinned:
 2896|     27|{
 2897|     27|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 2898|     27|    Py_buffer *view;
 2899|     27|    view = &(self->view);
 2900|       |
 2901|     27|    CHECK_RELEASED(self);
  ------------------
  |  |  235|     27|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  231|     27|    (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|     27|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     27|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:6): [True: 0, False: 27]
  |  |  |  |  ------------------
  |  |  |  |  232|     27|     mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|     27|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                    mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|     27|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (232:6): [True: 0, False: 27]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  236|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  237|      0|            "operation forbidden on released memoryview object"); \
  |  |  238|      0|        return NULL;                                              \
  |  |  239|      0|    }
  ------------------
 2902|       |
 2903|     27|    if (view->ndim == 0) {
  ------------------
  |  Branch (2903:9): [True: 0, False: 27]
  ------------------
 2904|      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 (2904:35): [True: 0, False: 0]
  ------------------
 2905|      0|            const char *fmt = adjust_fmt(view);
 2906|      0|            if (fmt == NULL)
  ------------------
  |  Branch (2906:17): [True: 0, False: 0]
  ------------------
 2907|      0|                return NULL;
 2908|      0|            return unpack_single(self, view->buf, fmt);
 2909|      0|        }
 2910|      0|        else if (key == Py_Ellipsis) {
  ------------------
  |  |   14|      0|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (2910:18): [True: 0, False: 0]
  ------------------
 2911|      0|            return Py_NewRef(self);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2912|      0|        }
 2913|      0|        else {
 2914|      0|            PyErr_SetString(PyExc_TypeError,
 2915|      0|                "invalid indexing of 0-dim memory");
 2916|      0|            return NULL;
 2917|      0|        }
 2918|      0|    }
 2919|       |
 2920|     27|    if (_PyIndex_Check(key)) {
  ------------------
  |  Branch (2920:9): [True: 0, False: 27]
  ------------------
 2921|      0|        Py_ssize_t index;
 2922|      0|        index = PyNumber_AsSsize_t(key, PyExc_IndexError);
 2923|      0|        if (index == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2923:13): [True: 0, False: 0]
  |  Branch (2923:28): [True: 0, False: 0]
  ------------------
 2924|      0|            return NULL;
 2925|      0|        return memory_item_pinned((PyObject *)self, index);
 2926|      0|    }
 2927|     27|    else if (PySlice_Check(key)) {
  ------------------
  |  |   22|     27|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2928|     27|        CHECK_RESTRICTED(self);
  ------------------
  |  |  249|     27|    if (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RESTRICTED)) { \
  |  |  ------------------
  |  |  |  |   38|     27|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   if (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RESTRICTED)) { \
  |  |  ------------------
  |  |  |  |   25|     27|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  |  |  ------------------
  |  |  |  Branch (249:9): [True: 0, False: 27]
  |  |  ------------------
  |  |  250|      0|        PyErr_SetString(PyExc_ValueError,                                 \
  |  |  251|      0|            "cannot create new view on restricted memoryview");           \
  |  |  252|      0|        return NULL;                                                      \
  |  |  253|      0|    }
  ------------------
 2929|     27|        PyMemoryViewObject *sliced;
 2930|       |
 2931|     27|        sliced = (PyMemoryViewObject *)mbuf_add_view(self->mbuf, view);
 2932|     27|        if (sliced == NULL)
  ------------------
  |  Branch (2932:13): [True: 0, False: 27]
  ------------------
 2933|      0|            return NULL;
 2934|       |
 2935|     27|        if (init_slice(&sliced->view, key, 0) < 0) {
  ------------------
  |  Branch (2935:13): [True: 0, False: 27]
  ------------------
 2936|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2937|      0|            return NULL;
 2938|      0|        }
 2939|     27|        init_len(&sliced->view);
 2940|     27|        init_flags(sliced);
 2941|       |
 2942|     27|        return (PyObject *)sliced;
 2943|     27|    }
 2944|      0|    else if (is_multiindex(key)) {
  ------------------
  |  Branch (2944:14): [True: 0, False: 0]
  ------------------
 2945|      0|        return memory_item_multi(self, key);
 2946|      0|    }
 2947|      0|    else if (is_multislice(key)) {
  ------------------
  |  Branch (2947:14): [True: 0, False: 0]
  ------------------
 2948|      0|        PyErr_SetString(PyExc_NotImplementedError,
 2949|      0|            "multi-dimensional slicing is not implemented");
 2950|      0|        return NULL;
 2951|      0|    }
 2952|       |
 2953|      0|    PyErr_SetString(PyExc_TypeError, "memoryview: invalid slice key");
 2954|       |    return NULL;
 2955|     27|}
memoryobject.c:init_slice:
 2825|     27|{
 2826|     27|    Py_ssize_t start, stop, step, slicelength;
 2827|       |
 2828|     27|    if (PySlice_Unpack(key, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (2828:9): [True: 0, False: 27]
  ------------------
 2829|      0|        return -1;
 2830|      0|    }
 2831|     27|    slicelength = PySlice_AdjustIndices(base->shape[dim], &start, &stop, step);
 2832|       |
 2833|       |
 2834|     27|    if (base->suboffsets == NULL || dim == 0) {
  ------------------
  |  Branch (2834:9): [True: 27, False: 0]
  |  Branch (2834:37): [True: 0, False: 0]
  ------------------
 2835|     27|    adjust_buf:
 2836|     27|        base->buf = (char *)base->buf + base->strides[dim] * start;
 2837|     27|    }
 2838|      0|    else {
 2839|      0|        Py_ssize_t n = dim-1;
 2840|      0|        while (n >= 0 && base->suboffsets[n] < 0)
  ------------------
  |  Branch (2840:16): [True: 0, False: 0]
  |  Branch (2840:26): [True: 0, False: 0]
  ------------------
 2841|      0|            n--;
 2842|      0|        if (n < 0)
  ------------------
  |  Branch (2842:13): [True: 0, False: 0]
  ------------------
 2843|      0|            goto adjust_buf; /* all suboffsets are negative */
 2844|      0|        base->suboffsets[n] = base->suboffsets[n] + base->strides[dim] * start;
 2845|      0|    }
 2846|     27|    base->shape[dim] = slicelength;
 2847|     27|    base->strides[dim] = base->strides[dim] * step;
 2848|       |
 2849|     27|    return 0;
 2850|     27|}
memoryobject.c:init_len:
  648|     27|{
  649|     27|    Py_ssize_t i, len;
  650|       |
  651|     27|    len = 1;
  652|     54|    for (i = 0; i < view->ndim; i++)
  ------------------
  |  Branch (652:17): [True: 27, False: 27]
  ------------------
  653|     27|        len *= view->shape[i];
  654|     27|    len *= view->itemsize;
  655|       |
  656|     27|    view->len = len;
  657|     27|}
memoryobject.c:memory_getbuf:
 1740|     77|{
 1741|     77|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1742|     77|    Py_buffer *base = &self->view;
 1743|     77|    int baseflags = mv_get_flags(self);
 1744|       |
 1745|     77|    CHECK_RELEASED_INT(self);
  ------------------
  |  |  242|     77|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  231|     77|    (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|     77|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     77|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     77|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:6): [True: 0, False: 77]
  |  |  |  |  ------------------
  |  |  |  |  232|     77|     mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|     77|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     77|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                    mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|     77|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (232:6): [True: 0, False: 77]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  243|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  244|      0|            "operation forbidden on released memoryview object"); \
  |  |  245|      0|        return -1;                                                \
  |  |  246|      0|    }
  ------------------
 1746|     77|    CHECK_RESTRICTED_INT(self);
  ------------------
  |  |  256|     77|    if (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RESTRICTED)) { \
  |  |  ------------------
  |  |  |  |   38|     77|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     77|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   if (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RESTRICTED)) { \
  |  |  ------------------
  |  |  |  |   25|     77|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  |  |  ------------------
  |  |  |  Branch (256:9): [True: 0, False: 77]
  |  |  ------------------
  |  |  257|      0|        PyErr_SetString(PyExc_ValueError,                                 \
  |  |  258|      0|            "cannot create new view on restricted memoryview");           \
  |  |  259|      0|        return -1;                                                        \
  |  |  260|      0|    }
  ------------------
 1747|       |
 1748|       |    /* start with complete information */
 1749|     77|    *view = *base;
 1750|     77|    view->obj = NULL;
 1751|       |
 1752|     77|    if (REQ_WRITABLE(flags) && base->readonly) {
  ------------------
  |  |  300|    154|#define REQ_WRITABLE(flags) (flags&PyBUF_WRITABLE)
  |  |  ------------------
  |  |  |  |  109|     77|#define PyBUF_WRITABLE 0x0001
  |  |  ------------------
  |  |  |  Branch (300:29): [True: 0, False: 77]
  |  |  ------------------
  ------------------
  |  Branch (1752:32): [True: 0, False: 0]
  ------------------
 1753|      0|        PyErr_SetString(PyExc_BufferError,
 1754|      0|            "memoryview: underlying buffer is not writable");
 1755|      0|        return -1;
 1756|      0|    }
 1757|     77|    if (!REQ_FORMAT(flags)) {
  ------------------
  |  |  301|     77|#define REQ_FORMAT(flags) (flags&PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|     77|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  |  Branch (1757:9): [True: 77, False: 0]
  ------------------
 1758|       |        /* NULL indicates that the buffer's data type has been cast to 'B'.
 1759|       |           view->itemsize is the _previous_ itemsize. If shape is present,
 1760|       |           the equality product(shape) * itemsize = len still holds at this
 1761|       |           point. The equality calcsize(format) = itemsize does _not_ hold
 1762|       |           from here on! */
 1763|     77|        view->format = NULL;
 1764|     77|    }
 1765|       |
 1766|     77|    if (REQ_C_CONTIGUOUS(flags) && !MV_C_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  295|    154|#define REQ_C_CONTIGUOUS(flags) ((flags&PyBUF_C_CONTIGUOUS) == PyBUF_C_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  119|     77|#define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|     77|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|     77|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_C_CONTIGUOUS(flags) ((flags&PyBUF_C_CONTIGUOUS) == PyBUF_C_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  119|     77|#define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|     77|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|     77|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (295:33): [True: 0, False: 77]
  |  |  ------------------
  ------------------
                  if (REQ_C_CONTIGUOUS(flags) && !MV_C_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  283|      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 (1766:36): [True: 0, False: 0]
  ------------------
 1767|      0|        PyErr_SetString(PyExc_BufferError,
 1768|      0|            "memoryview: underlying buffer is not C-contiguous");
 1769|      0|        return -1;
 1770|      0|    }
 1771|     77|    if (REQ_F_CONTIGUOUS(flags) && !MV_F_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  296|    154|#define REQ_F_CONTIGUOUS(flags) ((flags&PyBUF_F_CONTIGUOUS) == PyBUF_F_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  120|     77|#define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|     77|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|     77|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_F_CONTIGUOUS(flags) ((flags&PyBUF_F_CONTIGUOUS) == PyBUF_F_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  120|     77|#define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|     77|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|     77|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (296:33): [True: 0, False: 77]
  |  |  ------------------
  ------------------
                  if (REQ_F_CONTIGUOUS(flags) && !MV_F_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  285|      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 (1771:36): [True: 0, False: 0]
  ------------------
 1772|      0|        PyErr_SetString(PyExc_BufferError,
 1773|      0|            "memoryview: underlying buffer is not Fortran contiguous");
 1774|      0|        return -1;
 1775|      0|    }
 1776|     77|    if (REQ_ANY_CONTIGUOUS(flags) && !MV_ANY_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  297|    154|#define REQ_ANY_CONTIGUOUS(flags) ((flags&PyBUF_ANY_CONTIGUOUS) == PyBUF_ANY_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  121|     77|#define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|     77|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|     77|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_ANY_CONTIGUOUS(flags) ((flags&PyBUF_ANY_CONTIGUOUS) == PyBUF_ANY_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  121|     77|#define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|     77|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|     77|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (297:35): [True: 0, False: 77]
  |  |  ------------------
  ------------------
                  if (REQ_ANY_CONTIGUOUS(flags) && !MV_ANY_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  287|      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 (1776:38): [True: 0, False: 0]
  ------------------
 1777|      0|        PyErr_SetString(PyExc_BufferError,
 1778|      0|            "memoryview: underlying buffer is not contiguous");
 1779|      0|        return -1;
 1780|      0|    }
 1781|     77|    if (!REQ_INDIRECT(flags) && (baseflags & _Py_MEMORYVIEW_PIL)) {
  ------------------
  |  |  294|    154|#define REQ_INDIRECT(flags) ((flags&PyBUF_INDIRECT) == PyBUF_INDIRECT)
  |  |  ------------------
  |  |  |  |  122|     77|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|     77|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|     77|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_INDIRECT(flags) ((flags&PyBUF_INDIRECT) == PyBUF_INDIRECT)
  |  |  ------------------
  |  |  |  |  122|     77|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|     77|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|     77|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!REQ_INDIRECT(flags) && (baseflags & _Py_MEMORYVIEW_PIL)) {
  ------------------
  |  |   24|     77|#define _Py_MEMORYVIEW_PIL         0x010  /* PIL-style layout */
  ------------------
  |  Branch (1781:9): [True: 77, False: 0]
  |  Branch (1781:33): [True: 0, False: 77]
  ------------------
 1782|      0|        PyErr_SetString(PyExc_BufferError,
 1783|      0|            "memoryview: underlying buffer requires suboffsets");
 1784|      0|        return -1;
 1785|      0|    }
 1786|     77|    if (!REQ_STRIDES(flags)) {
  ------------------
  |  |  298|     77|#define REQ_STRIDES(flags) ((flags&PyBUF_STRIDES) == PyBUF_STRIDES)
  |  |  ------------------
  |  |  |  |  118|     77|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|     77|#define PyBUF_ND 0x0008
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_STRIDES(flags) ((flags&PyBUF_STRIDES) == PyBUF_STRIDES)
  |  |  ------------------
  |  |  |  |  118|     77|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|     77|#define PyBUF_ND 0x0008
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1786:9): [True: 77, False: 0]
  ------------------
 1787|     77|        if (!MV_C_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  283|     77|#define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   23|     77|#define _Py_MEMORYVIEW_SCALAR      0x008  /* scalar: ndim = 0 */
  |  |  ------------------
  |  |               #define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   21|     77|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  |  |  ------------------
  ------------------
  |  Branch (1787:13): [True: 0, False: 77]
  ------------------
 1788|      0|            PyErr_SetString(PyExc_BufferError,
 1789|      0|                "memoryview: underlying buffer is not C-contiguous");
 1790|      0|            return -1;
 1791|      0|        }
 1792|     77|        view->strides = NULL;
 1793|     77|    }
 1794|     77|    if (!REQ_SHAPE(flags)) {
  ------------------
  |  |  299|     77|#define REQ_SHAPE(flags) ((flags&PyBUF_ND) == PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|     77|#define PyBUF_ND 0x0008
  |  |  ------------------
  |  |               #define REQ_SHAPE(flags) ((flags&PyBUF_ND) == PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|     77|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (1794:9): [True: 77, False: 0]
  ------------------
 1795|       |        /* PyBUF_SIMPLE or PyBUF_WRITABLE: at this point buf is C-contiguous,
 1796|       |           so base->buf = ndbuf->data. */
 1797|     77|        if (view->format != NULL) {
  ------------------
  |  Branch (1797:13): [True: 0, False: 77]
  ------------------
 1798|       |            /* PyBUF_SIMPLE|PyBUF_FORMAT and PyBUF_WRITABLE|PyBUF_FORMAT do
 1799|       |               not make sense. */
 1800|      0|            PyErr_Format(PyExc_BufferError,
 1801|      0|                "memoryview: cannot cast to unsigned bytes if the format flag "
 1802|      0|                "is present");
 1803|      0|            return -1;
 1804|      0|        }
 1805|       |        /* product(shape) * itemsize = len and calcsize(format) = itemsize
 1806|       |           do _not_ hold from here on! */
 1807|     77|        view->ndim = 1;
 1808|     77|        view->shape = NULL;
 1809|     77|    }
 1810|       |
 1811|       |#ifdef Py_GIL_DISABLED
 1812|       |    /* memoryview_add_export() keeps the buffer alive or fails. */
 1813|       |    if (memoryview_add_export(self) < 0) {
 1814|       |        return -1;
 1815|       |    }
 1816|       |#else
 1817|     77|    self->exports++;
 1818|     77|#endif
 1819|       |
 1820|     77|    view->obj = Py_NewRef(self);
  ------------------
  |  |  647|     77|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     77|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     77|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1821|     77|    return 0;
 1822|     77|}
memoryobject.c:memory_releasebuf:
 1826|     77|{
 1827|     77|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1828|     77|    FT_ATOMIC_ADD_SSIZE(self->exports, -1);
  ------------------
  |  |  206|     77|#define FT_ATOMIC_ADD_SSIZE(value, new_value) (void)(value += new_value)
  ------------------
 1829|     77|    return;
 1830|       |    /* PyBuffer_Release() decrements view->obj after this function returns. */
 1831|     77|}
memoryobject.c:memoryview_impl:
 1145|     27|{
 1146|     27|    return PyMemoryView_FromObject(object);
 1147|     27|}

PyCMethod_New:
   48|  2.43k|{
   49|       |    /* Figure out correct vectorcall function to use */
   50|  2.43k|    vectorcallfunc vectorcall;
   51|  2.43k|    switch (ml->ml_flags & _Py_METH_CALL_FLAGS)
  ------------------
  |  |   17|  2.43k|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |   95|  2.43k|#define METH_VARARGS  0x0001
  |  |  ------------------
  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |  115|  2.43k|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |   98|  2.43k|#define METH_NOARGS   0x0004
  |  |  ------------------
  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |   99|  2.43k|#define METH_O        0x0008
  |  |  ------------------
  |  |   18|  2.43k|     METH_KEYWORDS | METH_METHOD)
  |  |  ------------------
  |  |  |  |   96|  2.43k|#define METH_KEYWORDS 0x0002
  |  |  ------------------
  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  ------------------
  |  |  |  |  133|  2.43k|#define METH_METHOD 0x0200
  |  |  ------------------
  ------------------
   52|  2.43k|    {
   53|      6|        case METH_VARARGS:
  ------------------
  |  |   95|      6|#define METH_VARARGS  0x0001
  ------------------
  |  Branch (53:9): [True: 6, False: 2.42k]
  ------------------
   54|      6|        case METH_VARARGS | METH_KEYWORDS:
  ------------------
  |  |   95|      6|#define METH_VARARGS  0x0001
  ------------------
                      case METH_VARARGS | METH_KEYWORDS:
  ------------------
  |  |   96|      6|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (54:9): [True: 0, False: 2.43k]
  ------------------
   55|       |            /* For METH_VARARGS functions, it's more efficient to use tp_call
   56|       |             * instead of vectorcall. */
   57|      6|            vectorcall = NULL;
   58|      6|            break;
   59|    326|        case METH_FASTCALL:
  ------------------
  |  |  115|    326|#  define METH_FASTCALL  0x0080
  ------------------
  |  Branch (59:9): [True: 326, False: 2.10k]
  ------------------
   60|    326|            vectorcall = cfunction_vectorcall_FASTCALL;
   61|    326|            break;
   62|    852|        case METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  115|    852|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |   96|    852|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (62:9): [True: 852, False: 1.58k]
  ------------------
   63|    852|            vectorcall = cfunction_vectorcall_FASTCALL_KEYWORDS;
   64|    852|            break;
   65|    712|        case METH_NOARGS:
  ------------------
  |  |   98|    712|#define METH_NOARGS   0x0004
  ------------------
  |  Branch (65:9): [True: 712, False: 1.72k]
  ------------------
   66|    712|            vectorcall = cfunction_vectorcall_NOARGS;
   67|    712|            break;
   68|    508|        case METH_O:
  ------------------
  |  |   99|    508|#define METH_O        0x0008
  ------------------
  |  Branch (68:9): [True: 508, False: 1.92k]
  ------------------
   69|    508|            vectorcall = cfunction_vectorcall_O;
   70|    508|            break;
   71|     31|        case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  133|     31|#define METH_METHOD 0x0200
  ------------------
                      case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  115|     31|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |   96|     31|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (71:9): [True: 31, False: 2.40k]
  ------------------
   72|     31|            vectorcall = cfunction_vectorcall_FASTCALL_KEYWORDS_METHOD;
   73|     31|            break;
   74|      0|        default:
  ------------------
  |  Branch (74:9): [True: 0, False: 2.43k]
  ------------------
   75|      0|            PyErr_Format(PyExc_SystemError,
   76|      0|                         "%s() method: bad call flags", ml->ml_name);
   77|      0|            return NULL;
   78|  2.43k|    }
   79|       |
   80|  2.43k|    PyCFunctionObject *op = NULL;
   81|       |
   82|  2.43k|    if (ml->ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  2.43k|#define METH_METHOD 0x0200
  ------------------
  |  Branch (82:9): [True: 31, False: 2.40k]
  ------------------
   83|     31|        if (!cls) {
  ------------------
  |  Branch (83:13): [True: 0, False: 31]
  ------------------
   84|      0|            PyErr_SetString(PyExc_SystemError,
   85|      0|                            "attempting to create PyCMethod with a METH_METHOD "
   86|      0|                            "flag but no class");
   87|      0|            return NULL;
   88|      0|        }
   89|     31|        PyCMethodObject *om = _Py_FREELIST_POP(PyCMethodObject, pycmethodobject);
  ------------------
  |  |   43|     31|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   90|     31|        if (om == NULL) {
  ------------------
  |  Branch (90:13): [True: 2, False: 29]
  ------------------
   91|      2|            om = PyObject_GC_New(PyCMethodObject, &PyCMethod_Type);
  ------------------
  |  |  181|      2|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   92|      2|            if (om == NULL) {
  ------------------
  |  Branch (92:17): [True: 0, False: 2]
  ------------------
   93|      0|                return NULL;
   94|      0|            }
   95|      2|        }
   96|     31|        om->mm_class = (PyTypeObject*)Py_NewRef(cls);
  ------------------
  |  |  647|     31|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   97|     31|        op = (PyCFunctionObject *)om;
   98|  2.40k|    } else {
   99|  2.40k|        if (cls) {
  ------------------
  |  Branch (99:13): [True: 0, False: 2.40k]
  ------------------
  100|      0|            PyErr_SetString(PyExc_SystemError,
  101|      0|                            "attempting to create PyCFunction with class "
  102|      0|                            "but no METH_METHOD flag");
  103|      0|            return NULL;
  104|      0|        }
  105|  2.40k|        op = _Py_FREELIST_POP(PyCFunctionObject, pycfunctionobject);
  ------------------
  |  |   43|  2.40k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  2.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  106|  2.40k|        if (op == NULL) {
  ------------------
  |  Branch (106:13): [True: 1.39k, False: 1.01k]
  ------------------
  107|  1.39k|            op = PyObject_GC_New(PyCFunctionObject, &PyCFunction_Type);
  ------------------
  |  |  181|  1.39k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  1.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  108|  1.39k|            if (op == NULL) {
  ------------------
  |  Branch (108:17): [True: 0, False: 1.39k]
  ------------------
  109|      0|                return NULL;
  110|      0|            }
  111|  1.39k|        }
  112|  2.40k|    }
  113|       |
  114|  2.43k|    op->m_weakreflist = NULL;
  115|  2.43k|    op->m_ml = ml;
  116|  2.43k|    op->m_self = Py_XNewRef(self);
  ------------------
  |  |  648|  2.43k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  117|  2.43k|    op->m_module = Py_XNewRef(module);
  ------------------
  |  |  648|  2.43k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  118|  2.43k|    op->vectorcall = vectorcall;
  119|  2.43k|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|  2.43k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  120|  2.43k|    return (PyObject *)op;
  121|  2.43k|}
methodobject.c:meth_dealloc:
  167|  1.04k|{
  168|  1.04k|    PyCFunctionObject *m = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|  1.04k|    (assert(PyCFunction_Check(func)), \
  |  |   18|  1.04k|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  1.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (168:28): [True: 1.04k, False: 0]
  ------------------
  169|      0|    PyObject_GC_UnTrack(m);
  170|  1.04k|    FT_CLEAR_WEAKREFS(self, m->m_weakreflist);
  ------------------
  |  |   47|  1.04k|    do {                                            \
  |  |   48|  1.04k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  1.04k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 1.04k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  1.04k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 1.04k]
  |  |  ------------------
  ------------------
  |  Branch (170:5): [True: 1.04k, False: 0]
  ------------------
  171|       |    // We need to access ml_flags here rather than later.
  172|       |    // `m->m_ml` might have the same lifetime
  173|       |    // as `m_self` when it's dynamically allocated.
  174|  1.04k|    int ml_flags = m->m_ml->ml_flags;
  175|       |    // Dereference class before m_self: PyCFunction_GET_CLASS accesses
  176|       |    // PyMethodDef m_ml, which could be kept alive by m_self
  177|  1.04k|    Py_XDECREF(PyCFunction_GET_CLASS(m));
  ------------------
  |  |  621|  1.04k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  178|  1.04k|    Py_XDECREF(m->m_self);
  ------------------
  |  |  621|  1.04k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  179|  1.04k|    Py_XDECREF(m->m_module);
  ------------------
  |  |  621|  1.04k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  180|  1.04k|    if (ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  1.04k|#define METH_METHOD 0x0200
  ------------------
  |  Branch (180:9): [True: 31, False: 1.01k]
  ------------------
  181|     31|        assert(Py_IS_TYPE(self, &PyCMethod_Type));
  ------------------
  |  Branch (181:9): [True: 31, False: 0]
  ------------------
  182|     31|        _Py_FREELIST_FREE(pycmethodobject, m, PyObject_GC_Del);
  ------------------
  |  |   35|     31|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|     31|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   32|     31|#  define Py_pycmethodobject_MAXFREELIST 16
  |  |  ------------------
  ------------------
  183|     31|    }
  184|  1.01k|    else {
  185|  1.01k|        assert(Py_IS_TYPE(self, &PyCFunction_Type));
  ------------------
  |  Branch (185:9): [True: 1.01k, False: 0]
  ------------------
  186|  1.01k|        _Py_FREELIST_FREE(pycfunctionobject, m, PyObject_GC_Del);
  ------------------
  |  |   35|  1.01k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  1.01k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   31|  1.01k|#  define Py_pycfunctionobject_MAXFREELIST 16
  |  |  ------------------
  ------------------
  187|  1.01k|    }
  188|  1.04k|}
methodobject.c:meth_hash:
  343|    130|{
  344|    130|    PyCFunctionObject *a = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|    130|    (assert(PyCFunction_Check(func)), \
  |  |   18|    130|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (344:28): [True: 130, False: 0]
  ------------------
  345|      0|    Py_hash_t x = PyObject_GenericHash(a->m_self);
  346|    130|    Py_hash_t y = Py_HashPointer((void*)(a->m_ml->ml_meth));
  347|    130|    x ^= y;
  348|    130|    if (x == -1) {
  ------------------
  |  Branch (348:9): [True: 0, False: 130]
  ------------------
  349|      0|        x = -2;
  350|      0|    }
  351|    130|    return x;
  352|    130|}
methodobject.c:meth_traverse:
  266|  2.71k|{
  267|  2.71k|    PyCFunctionObject *m = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|  2.71k|    (assert(PyCFunction_Check(func)), \
  |  |   18|  2.71k|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  2.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (267:28): [True: 2.71k, False: 0]
  ------------------
  268|  2.71k|    Py_VISIT(PyCFunction_GET_CLASS(m));
  ------------------
  |  |  194|  2.71k|    do {                                                                \
  |  |  195|  2.71k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 2.71k]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|  2.71k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.71k]
  |  |  ------------------
  ------------------
  269|  2.71k|    Py_VISIT(m->m_self);
  ------------------
  |  |  194|  2.71k|    do {                                                                \
  |  |  195|  2.71k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.66k, False: 56]
  |  |  ------------------
  |  |  196|  2.66k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.66k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.66k]
  |  |  ------------------
  |  |  198|  2.66k|                return vret;                                            \
  |  |  199|  2.66k|        }                                                               \
  |  |  200|  2.71k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.71k]
  |  |  ------------------
  ------------------
  270|  2.71k|    Py_VISIT(m->m_module);
  ------------------
  |  |  194|  2.71k|    do {                                                                \
  |  |  195|  2.71k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.90k, False: 816]
  |  |  ------------------
  |  |  196|  1.90k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.90k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.90k]
  |  |  ------------------
  |  |  198|  1.90k|                return vret;                                            \
  |  |  199|  1.90k|        }                                                               \
  |  |  200|  2.71k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.71k]
  |  |  ------------------
  ------------------
  271|  2.71k|    return 0;
  272|  2.71k|}
methodobject.c:meth_richcompare:
  318|      8|{
  319|      8|    PyCFunctionObject *a, *b;
  320|      8|    PyObject *res;
  321|      8|    int eq;
  322|       |
  323|      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 (323:10): [True: 0, False: 8]
  |  Branch (323:25): [True: 0, False: 0]
  ------------------
  324|      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 (324:9): [True: 0, False: 8]
  ------------------
  325|      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 (325:9): [True: 6, False: 2]
  ------------------
  326|      6|    {
  327|      6|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      6|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      6|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  328|      6|    }
  329|      2|    a = (PyCFunctionObject *)self;
  330|      2|    b = (PyCFunctionObject *)other;
  331|      2|    eq = a->m_self == b->m_self;
  332|      2|    if (eq)
  ------------------
  |  Branch (332:9): [True: 0, False: 2]
  ------------------
  333|      0|        eq = a->m_ml->ml_meth == b->m_ml->ml_meth;
  334|      2|    if (op == Py_EQ)
  ------------------
  |  |  654|      2|#define Py_EQ 2
  ------------------
  |  Branch (334:9): [True: 2, False: 0]
  ------------------
  335|      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 (335:15): [True: 0, False: 2]
  ------------------
  336|      0|    else
  337|      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 (337:15): [True: 0, False: 0]
  ------------------
  338|      2|    return Py_NewRef(res);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  339|      8|}
methodobject.c:meth_get__doc__:
  217|      6|{
  218|      6|    PyCFunctionObject *m = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|      6|    (assert(PyCFunction_Check(func)), \
  |  |   18|      6|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (218:28): [True: 6, False: 0]
  ------------------
  219|      0|    return _PyType_GetDocFromInternalDoc(m->m_ml->ml_name, m->m_ml->ml_doc);
  220|      6|}
methodobject.c:meth_get__name__:
  224|      6|{
  225|      6|    PyCFunctionObject *m = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|      6|    (assert(PyCFunction_Check(func)), \
  |  |   18|      6|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:28): [True: 6, False: 0]
  ------------------
  226|      0|    return PyUnicode_FromString(m->m_ml->ml_name);
  227|      6|}
methodobject.c:meth_get__qualname__:
  231|      6|{
  232|       |    /* If __self__ is a module or NULL, return m.__name__
  233|       |       (e.g. len.__qualname__ == 'len')
  234|       |
  235|       |       If __self__ is a type, return m.__self__.__qualname__ + '.' + m.__name__
  236|       |       (e.g. dict.fromkeys.__qualname__ == 'dict.fromkeys')
  237|       |
  238|       |       Otherwise return type(m.__self__).__qualname__ + '.' + m.__name__
  239|       |       (e.g. [].append.__qualname__ == 'list.append') */
  240|       |
  241|      6|    PyCFunctionObject *m = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|      6|    (assert(PyCFunction_Check(func)), \
  |  |   18|      6|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (241:28): [True: 6, False: 0]
  ------------------
  242|      6|    if (m->m_self == NULL || PyModule_Check(m->m_self)) {
  ------------------
  |  |   12|      6|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|      6|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (242:9): [True: 0, False: 6]
  ------------------
  243|      0|        return PyUnicode_FromString(m->m_ml->ml_name);
  244|      0|    }
  245|       |
  246|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  247|       |
  248|      6|    PyObject *type_qualname = PyObject_GetAttr(type, &_Py_ID(__qualname__));
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  249|      6|    if (type_qualname == NULL)
  ------------------
  |  Branch (249:9): [True: 0, False: 6]
  ------------------
  250|      0|        return NULL;
  251|       |
  252|      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 (252:9): [True: 0, False: 6]
  ------------------
  253|      0|        PyErr_SetString(PyExc_TypeError, "<method>.__class__."
  254|      0|                        "__qualname__ is not a unicode object");
  255|      0|        Py_XDECREF(type_qualname);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  256|      0|        return NULL;
  257|      0|    }
  258|       |
  259|      6|    PyObject *res = PyUnicode_FromFormat("%S.%s", type_qualname, m->m_ml->ml_name);
  260|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  261|      6|    return res;
  262|      6|}
methodobject.c:cfunction_vectorcall_FASTCALL:
  437|    300|{
  438|    300|    PyThreadState *tstate = _PyThreadState_GET();
  439|    300|    if (cfunction_check_kwargs(tstate, func, kwnames)) {
  ------------------
  |  Branch (439:9): [True: 0, False: 300]
  ------------------
  440|      0|        return NULL;
  441|      0|    }
  442|    300|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    300|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  443|    300|    PyCFunctionFast meth = (PyCFunctionFast)
  444|    300|                            cfunction_enter_call(tstate, func);
  445|    300|    if (meth == NULL) {
  ------------------
  |  Branch (445:9): [True: 0, False: 300]
  ------------------
  446|      0|        return NULL;
  447|      0|    }
  448|    300|    PyObject *result = meth(PyCFunction_GET_SELF(func), args, nargs);
  ------------------
  |  |   52|    300|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|    300|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    300|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  449|    300|    _Py_LeaveRecursiveCallTstate(tstate);
  450|    300|    return result;
  451|    300|}
methodobject.c:cfunction_check_kwargs:
  407|  2.22k|{
  408|  2.22k|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (408:5): [True: 2.22k, False: 0]
  ------------------
  409|  2.22k|    assert(PyCFunction_Check(func));
  ------------------
  |  Branch (409:5): [True: 2.22k, False: 0]
  ------------------
  410|  2.22k|    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 (410:9): [True: 0, False: 2.22k]
  ------------------
  411|      0|        PyObject *funcstr = _PyObject_FunctionStr(func);
  412|      0|        if (funcstr != NULL) {
  ------------------
  |  Branch (412:13): [True: 0, False: 0]
  ------------------
  413|      0|            _PyErr_Format(tstate, PyExc_TypeError,
  414|      0|                         "%U takes no keyword arguments", funcstr);
  415|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  416|      0|        }
  417|      0|        return -1;
  418|      0|    }
  419|  2.22k|    return 0;
  420|  2.22k|}
methodobject.c:cfunction_enter_call:
  426|  3.19k|{
  427|  3.19k|    if (_Py_EnterRecursiveCallTstate(tstate, " while calling a Python object")) {
  ------------------
  |  Branch (427:9): [True: 0, False: 3.19k]
  ------------------
  428|      0|        return NULL;
  429|      0|    }
  430|  3.19k|    return (funcptr)PyCFunction_GET_FUNCTION(func);
  ------------------
  |  |   43|  3.19k|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  3.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  431|  3.19k|}
methodobject.c:cfunction_vectorcall_FASTCALL_KEYWORDS:
  456|    947|{
  457|    947|    PyThreadState *tstate = _PyThreadState_GET();
  458|    947|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    947|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  459|    947|    PyCFunctionFastWithKeywords meth = (PyCFunctionFastWithKeywords)
  460|    947|                                        cfunction_enter_call(tstate, func);
  461|    947|    if (meth == NULL) {
  ------------------
  |  Branch (461:9): [True: 0, False: 947]
  ------------------
  462|      0|        return NULL;
  463|      0|    }
  464|    947|    PyObject *result = meth(PyCFunction_GET_SELF(func), args, nargs, kwnames);
  ------------------
  |  |   52|    947|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|    947|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    947|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  465|    947|    _Py_LeaveRecursiveCallTstate(tstate);
  466|    947|    return result;
  467|    947|}
methodobject.c:cfunction_vectorcall_FASTCALL_KEYWORDS_METHOD:
  472|     27|{
  473|     27|    PyThreadState *tstate = _PyThreadState_GET();
  474|     27|    PyTypeObject *cls = PyCFunction_GET_CLASS(func);
  ------------------
  |  |   66|     27|#define PyCFunction_GET_CLASS(func) PyCFunction_GET_CLASS(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  475|     27|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     27|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  476|     27|    PyCMethod meth = (PyCMethod)cfunction_enter_call(tstate, func);
  477|     27|    if (meth == NULL) {
  ------------------
  |  Branch (477:9): [True: 0, False: 27]
  ------------------
  478|      0|        return NULL;
  479|      0|    }
  480|     27|    PyObject *result = meth(PyCFunction_GET_SELF(func), cls, args, nargs, kwnames);
  ------------------
  |  |   52|     27|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|     27|    _Py_LeaveRecursiveCallTstate(tstate);
  482|     27|    return result;
  483|     27|}
methodobject.c:cfunction_vectorcall_NOARGS:
  488|  1.60k|{
  489|  1.60k|    PyThreadState *tstate = _PyThreadState_GET();
  490|  1.60k|    if (cfunction_check_kwargs(tstate, func, kwnames)) {
  ------------------
  |  Branch (490:9): [True: 0, False: 1.60k]
  ------------------
  491|      0|        return NULL;
  492|      0|    }
  493|  1.60k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  1.60k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  494|  1.60k|    if (nargs != 0) {
  ------------------
  |  Branch (494:9): [True: 0, False: 1.60k]
  ------------------
  495|      0|        PyObject *funcstr = _PyObject_FunctionStr(func);
  496|      0|        if (funcstr != NULL) {
  ------------------
  |  Branch (496:13): [True: 0, False: 0]
  ------------------
  497|      0|            _PyErr_Format(tstate, PyExc_TypeError,
  498|      0|                "%U takes no arguments (%zd given)", funcstr, nargs);
  499|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  500|      0|        }
  501|      0|        return NULL;
  502|      0|    }
  503|  1.60k|    PyCFunction meth = (PyCFunction)cfunction_enter_call(tstate, func);
  504|  1.60k|    if (meth == NULL) {
  ------------------
  |  Branch (504:9): [True: 0, False: 1.60k]
  ------------------
  505|      0|        return NULL;
  506|      0|    }
  507|  1.60k|    PyObject *result = _PyCFunction_TrampolineCall(
  ------------------
  |  |   61|  1.60k|    (meth)((self), (args))
  ------------------
  508|  1.60k|        meth, PyCFunction_GET_SELF(func), NULL);
  509|  1.60k|    _Py_LeaveRecursiveCallTstate(tstate);
  510|  1.60k|    return result;
  511|  1.60k|}
methodobject.c:cfunction_vectorcall_O:
  516|    315|{
  517|    315|    PyThreadState *tstate = _PyThreadState_GET();
  518|    315|    if (cfunction_check_kwargs(tstate, func, kwnames)) {
  ------------------
  |  Branch (518:9): [True: 0, False: 315]
  ------------------
  519|      0|        return NULL;
  520|      0|    }
  521|    315|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    315|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  522|    315|    if (nargs != 1) {
  ------------------
  |  Branch (522:9): [True: 0, False: 315]
  ------------------
  523|      0|        PyObject *funcstr = _PyObject_FunctionStr(func);
  524|      0|        if (funcstr != NULL) {
  ------------------
  |  Branch (524:13): [True: 0, False: 0]
  ------------------
  525|      0|            _PyErr_Format(tstate, PyExc_TypeError,
  526|      0|                "%U takes exactly one argument (%zd given)", funcstr, nargs);
  527|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  528|      0|        }
  529|      0|        return NULL;
  530|      0|    }
  531|    315|    PyCFunction meth = (PyCFunction)cfunction_enter_call(tstate, func);
  532|    315|    if (meth == NULL) {
  ------------------
  |  Branch (532:9): [True: 0, False: 315]
  ------------------
  533|      0|        return NULL;
  534|      0|    }
  535|    315|    PyObject *result = _PyCFunction_TrampolineCall(
  ------------------
  |  |   61|    315|    (meth)((self), (args))
  ------------------
  536|    315|        meth, PyCFunction_GET_SELF(func), args[0]);
  537|    315|    _Py_LeaveRecursiveCallTstate(tstate);
  538|    315|    return result;
  539|    315|}

mi_heap_get_default:
  213|      2|mi_heap_t* mi_heap_get_default(void) {
  214|      2|  mi_thread_init();
  215|      2|  return mi_prim_get_default_heap();
  216|      2|}
_mi_heap_random_next:
  280|      6|uintptr_t _mi_heap_random_next(mi_heap_t* heap) {
  281|      6|  return _mi_random_next(&heap->random);
  282|      6|}

_mi_thread_id:
  126|     12|mi_threadid_t _mi_thread_id(void) mi_attr_noexcept {
  127|     12|  mi_threadid_t tid = _mi_prim_thread_id();
  128|     12|  mi_assert_internal( (tid & 0x03) == 0 ); // mimalloc reserves the bottom 2 bits
  129|     12|  return tid;
  130|     12|}
_mi_heap_guarded_init:
  205|      2|void _mi_heap_guarded_init(mi_heap_t* heap) {
  206|      2|  MI_UNUSED(heap);
  ------------------
  |  |  367|      2|#define MI_UNUSED(x)     (void)(x)
  ------------------
  207|      2|}
mi_thread_init:
  488|      4|{
  489|       |  // ensure our process has started already
  490|      4|  mi_process_init();
  491|       |
  492|       |  // initialize the thread local default heap
  493|       |  // (this will call `_mi_heap_set_default_direct` and thus set the
  494|       |  //  fiber/pthread key to a non-zero value, ensuring `_mi_thread_done` is called)
  495|      4|  if (_mi_thread_heap_init()) return;  // returns true if already initialized
  ------------------
  |  Branch (495:7): [True: 4, False: 0]
  ------------------
  496|       |
  497|      0|  _mi_stat_increase(&_mi_stats_main.threads, 1);
  498|      0|  mi_atomic_increment_relaxed(&thread_count);
  ------------------
  |  |   90|      0|#define mi_atomic_increment_relaxed(p)           mi_atomic_add_relaxed(p,(uintptr_t)1)
  |  |  ------------------
  |  |  |  |   83|      0|#define mi_atomic_add_relaxed(p,x)               mi_atomic(fetch_add_explicit)(p,x,mi_memory_order(relaxed))
  |  |  |  |  ------------------
  |  |  |  |  |  |   53|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|      0|#define  mi_memory_order(name)    memory_order_##name
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  499|       |  //_mi_verbose_message("thread init: 0x%zx\n", _mi_thread_id());
  500|      0|}
_mi_heap_set_default_direct:
  530|      2|void _mi_heap_set_default_direct(mi_heap_t* heap)  {
  531|      2|  mi_assert_internal(heap != NULL);
  532|       |  #if defined(MI_TLS_SLOT)
  533|       |  mi_prim_tls_slot_set(MI_TLS_SLOT,heap);
  534|       |  #elif defined(MI_TLS_PTHREAD_SLOT_OFS)
  535|       |  *mi_prim_tls_pthread_heap_slot() = heap;
  536|       |  #elif defined(MI_TLS_PTHREAD)
  537|       |  // we use _mi_heap_default_key
  538|       |  #else
  539|      2|  _mi_heap_default = heap;
  540|      2|  #endif
  541|       |
  542|       |  // ensure the default heap is passed to `_mi_thread_done`
  543|       |  // setting to a non-NULL value also ensures `mi_thread_done` is called.
  544|      2|  _mi_prim_thread_associate_default_heap(heap);
  545|      2|}
_mi_auto_process_init:
  567|      2|void _mi_auto_process_init(void) {
  568|      2|  mi_heap_main_init();
  569|       |  #if defined(__APPLE__) || defined(MI_TLS_RECURSE_GUARD)
  570|       |  volatile mi_heap_t* dummy = _mi_heap_default; // access TLS to allocate it before setting tls_initialized to true;
  571|       |  if (dummy == NULL) return;                    // use dummy or otherwise the access may get optimized away (issue #697)
  572|       |  #endif
  573|      2|  os_preloading = false;
  574|      2|  mi_assert_internal(_mi_is_main_thread());
  575|      2|  _mi_options_init();
  576|      2|  mi_process_setup_auto_thread_done();
  577|      2|  mi_process_init();
  578|      2|  if (_mi_is_redirected()) _mi_verbose_message("malloc is redirected.\n");
  ------------------
  |  Branch (578:7): [True: 0, False: 2]
  ------------------
  579|       |
  580|       |  // show message from the redirector (if present)
  581|      2|  const char* msg = NULL;
  582|      2|  _mi_allocator_init(&msg);
  583|      2|  if (msg != NULL && (mi_option_is_enabled(mi_option_verbose) || mi_option_is_enabled(mi_option_show_errors))) {
  ------------------
  |  Branch (583:7): [True: 0, False: 2]
  |  Branch (583:23): [True: 0, False: 0]
  |  Branch (583:66): [True: 0, False: 0]
  ------------------
  584|      0|    _mi_fputs(NULL,NULL,NULL,msg);
  585|      0|  }
  586|       |
  587|       |  // reseed random
  588|      2|  _mi_random_reinit_if_weak(&_mi_heap_main.random);
  589|      2|}
mi_process_init:
  649|      6|void mi_process_init(void) mi_attr_noexcept {
  650|      6|  #if _MSC_VER < 1920
  651|      6|	mi_heap_main_init(); // vs2017 can dynamically re-initialize _mi_heap_main
  652|      6|	#endif
  653|      6|  mi_atomic_do_once {
  ------------------
  |  |  660|      6|  static mi_atomic_once_t _mi_once = { MI_ATOMIC_VAR_INIT(0), MI_LOCK_INITIALIZER }; \
  |  |  ------------------
  |  |  |  |   60|      6| #define MI_ATOMIC_VAR_INIT(x)    ATOMIC_VAR_INIT(x)
  |  |  ------------------
  |  |                 static mi_atomic_once_t _mi_once = { MI_ATOMIC_VAR_INIT(0), MI_LOCK_INITIALIZER }; \
  |  |  ------------------
  |  |  |  |  555|      6|#define MI_LOCK_INITIALIZER { PTHREAD_MUTEX_INITIALIZER }
  |  |  ------------------
  |  |  661|      8|  for(bool _mi_exec = _mi_atomic_once_enter(&_mi_once); _mi_exec; (_mi_atomic_once_release(&_mi_once),_mi_exec=false))
  |  |  ------------------
  |  |  |  Branch (661:57): [True: 2, False: 6]
  |  |  ------------------
  ------------------
  654|      2|    mi_process_init_once();
  655|      2|  }
  656|      6|}
obmalloc.c:mi_heap_main_init:
  211|     10|static void mi_heap_main_init(void) {
  212|     10|  if (_mi_heap_main.cookie == 0) {
  ------------------
  |  Branch (212:7): [True: 2, False: 8]
  ------------------
  213|      2|    _mi_heap_main.thread_id = _mi_thread_id();
  214|      2|    _mi_heap_main.cookie = 1;
  215|       |    #if defined(_WIN32) && !defined(MI_SHARED_LIB)
  216|       |      _mi_random_init_weak(&_mi_heap_main.random);    // prevent allocation failure during bcrypt dll initialization with static linking
  217|       |    #else
  218|      2|      _mi_random_init(&_mi_heap_main.random);
  219|      2|    #endif
  220|      2|    _mi_heap_main.cookie  = _mi_heap_random_next(&_mi_heap_main);
  221|      2|    _mi_heap_main.keys[0] = _mi_heap_random_next(&_mi_heap_main);
  222|      2|    _mi_heap_main.keys[1] = _mi_heap_random_next(&_mi_heap_main);
  223|      2|    mi_lock_init(&mi_subproc_default.abandoned_os_lock);
  224|      2|    mi_lock_init(&mi_subproc_default.abandoned_os_visit_lock);
  225|      2|    _mi_heap_guarded_init(&_mi_heap_main);
  226|      2|  }
  227|     10|}
obmalloc.c:_mi_thread_heap_init:
  366|      4|static bool _mi_thread_heap_init(void) {
  367|      4|  if (mi_heap_is_initialized(mi_prim_get_default_heap())) return true;
  ------------------
  |  Branch (367:7): [True: 4, False: 0]
  ------------------
  368|      0|  if (_mi_is_main_thread()) {
  ------------------
  |  Branch (368:7): [True: 0, False: 0]
  ------------------
  369|       |    // mi_assert_internal(_mi_heap_main.thread_id != 0);  // can happen on freeBSD where alloc is called before any initialization
  370|       |    // the main heap is statically allocated
  371|      0|    mi_heap_main_init();
  372|      0|    _mi_heap_set_default_direct(&_mi_heap_main);
  373|       |    //mi_assert_internal(_mi_heap_default->tld->heap_backing == mi_prim_get_default_heap());
  374|      0|  }
  375|      0|  else {
  376|       |    // use `_mi_os_alloc` to allocate directly from the OS
  377|      0|    mi_thread_data_t* td = mi_thread_data_zalloc();
  378|      0|    if (td == NULL) return false;
  ------------------
  |  Branch (378:9): [True: 0, False: 0]
  ------------------
  379|       |
  380|      0|    mi_tld_t*  tld = &td->tld;
  381|      0|    mi_heap_t* heap = &td->heap;
  382|      0|    _mi_tld_init(tld, heap);  // must be before `_mi_heap_init`
  383|      0|    _mi_heap_init(heap, tld, _mi_arena_id_none(), false /* can reclaim */, 0 /* default tag */);
  384|      0|    _mi_heap_set_default_direct(heap);
  385|      0|  }
  386|      0|  return false;
  387|      0|}
obmalloc.c:mi_process_setup_auto_thread_done:
  468|      4|static void mi_process_setup_auto_thread_done(void) {
  469|      4|  mi_atomic_do_once {
  ------------------
  |  |  660|      4|  static mi_atomic_once_t _mi_once = { MI_ATOMIC_VAR_INIT(0), MI_LOCK_INITIALIZER }; \
  |  |  ------------------
  |  |  |  |   60|      4| #define MI_ATOMIC_VAR_INIT(x)    ATOMIC_VAR_INIT(x)
  |  |  ------------------
  |  |                 static mi_atomic_once_t _mi_once = { MI_ATOMIC_VAR_INIT(0), MI_LOCK_INITIALIZER }; \
  |  |  ------------------
  |  |  |  |  555|      4|#define MI_LOCK_INITIALIZER { PTHREAD_MUTEX_INITIALIZER }
  |  |  ------------------
  |  |  661|      6|  for(bool _mi_exec = _mi_atomic_once_enter(&_mi_once); _mi_exec; (_mi_atomic_once_release(&_mi_once),_mi_exec=false))
  |  |  ------------------
  |  |  |  Branch (661:57): [True: 2, False: 4]
  |  |  ------------------
  ------------------
  470|      2|    _mi_prim_thread_init_auto_done();
  471|      2|    _mi_heap_set_default_direct(&_mi_heap_main);
  472|      2|  }
  473|      4|}
obmalloc.c:mi_process_init_once:
  611|      2|static void mi_process_init_once(void) mi_attr_noexcept {
  612|      2|  _mi_process_is_initialized = true;
  613|      2|  _mi_verbose_message("process init: 0x%zx\n", _mi_thread_id());
  614|      2|  mi_process_setup_auto_thread_done();
  615|       |
  616|      2|  mi_detect_cpu_features();
  617|      2|  _mi_os_init();
  618|      2|  mi_heap_main_init();
  619|      2|  mi_thread_init();
  620|       |
  621|       |  #if defined(_WIN32)
  622|       |  // On windows, when building as a static lib the FLS cleanup happens to early for the main thread.
  623|       |  // To avoid this, set the FLS value for the main thread to NULL so the fls cleanup
  624|       |  // will not call _mi_thread_done on the (still executing) main thread. See issue #508.
  625|       |  _mi_prim_thread_associate_default_heap(NULL);
  626|       |  #endif
  627|       |
  628|      2|  mi_stats_reset();  // only call stat reset *after* thread init (or the heap tld == NULL)
  629|      2|  mi_track_init();
  630|       |
  631|      2|  if (mi_option_is_enabled(mi_option_reserve_huge_os_pages)) {
  ------------------
  |  Branch (631:7): [True: 0, False: 2]
  ------------------
  632|      0|    size_t pages = mi_option_get_clamp(mi_option_reserve_huge_os_pages, 0, 128*1024);
  633|      0|    int reserve_at  = (int)mi_option_get_clamp(mi_option_reserve_huge_os_pages_at, -1, INT_MAX);
  634|      0|    if (reserve_at != -1) {
  ------------------
  |  Branch (634:9): [True: 0, False: 0]
  ------------------
  635|      0|      mi_reserve_huge_os_pages_at(pages, reserve_at, pages*500);
  636|      0|    } else {
  637|      0|      mi_reserve_huge_os_pages_interleave(pages, 0, pages*500);
  638|      0|    }
  639|      0|  }
  640|      2|  if (mi_option_is_enabled(mi_option_reserve_os_memory)) {
  ------------------
  |  Branch (640:7): [True: 0, False: 2]
  ------------------
  641|      0|    long ksize = mi_option_get(mi_option_reserve_os_memory);
  642|      0|    if (ksize > 0) {
  ------------------
  |  Branch (642:9): [True: 0, False: 0]
  ------------------
  643|      0|      mi_reserve_os_memory((size_t)ksize*MI_KiB, true /* commit? */, true /* allow large pages? */);
  ------------------
  |  |  165|      0|#define MI_KiB     (MI_ZU(1024))
  |  |  ------------------
  |  |  |  |  155|      0|# define MI_ZU(x)  x##UL
  |  |  ------------------
  ------------------
  644|      0|    }
  645|      0|  }
  646|      2|}
obmalloc.c:mi_detect_cpu_features:
  605|      2|static void mi_detect_cpu_features(void) {
  606|       |  // nothing
  607|      2|}

_mi_toupper:
   19|  6.12k|char _mi_toupper(char c) {
   20|  6.12k|  if (c >= 'a' && c <= 'z') return (c - 'a' + 'A');
  ------------------
  |  Branch (20:7): [True: 3.06k, False: 3.06k]
  |  Branch (20:19): [True: 3.06k, False: 0]
  ------------------
   21|  3.06k|                       else return c;
   22|  6.12k|}
_mi_strnicmp:
   24|  2.97k|int _mi_strnicmp(const char* s, const char* t, size_t n) {
   25|  2.97k|  mi_assert_internal(s!=NULL && t!=NULL);
   26|  2.97k|  if (n == 0) return 0;
  ------------------
  |  Branch (26:7): [True: 0, False: 2.97k]
  ------------------
   27|  3.06k|  for (; *s != 0 && *t != 0 && n > 0; s++, t++, n--) {
  ------------------
  |  Branch (27:10): [True: 3.06k, False: 0]
  |  Branch (27:21): [True: 3.06k, False: 0]
  |  Branch (27:32): [True: 3.06k, False: 0]
  ------------------
   28|  3.06k|    if (_mi_toupper(*s) != _mi_toupper(*t)) break;
  ------------------
  |  Branch (28:9): [True: 2.97k, False: 90]
  ------------------
   29|  3.06k|  }
   30|  2.97k|  return (n == 0 ? 0 : *s - *t);
  ------------------
  |  Branch (30:11): [True: 0, False: 2.97k]
  ------------------
   31|  2.97k|}
_mi_strlcpy:
   42|    180|bool _mi_strlcpy(char* dest, const char* src, size_t dest_size) {
   43|    180|  if (dest==NULL || src==NULL || dest_size == 0) return (src==NULL || *src==0);
  ------------------
  |  Branch (43:7): [True: 0, False: 180]
  |  Branch (43:21): [True: 0, False: 180]
  |  Branch (43:34): [True: 0, False: 180]
  |  Branch (43:58): [True: 0, False: 0]
  |  Branch (43:71): [True: 0, False: 0]
  ------------------
   44|       |  // copy until end of src, or when dest is (almost) full
   45|  2.43k|  while (*src != 0 && dest_size > 1) {
  ------------------
  |  Branch (45:10): [True: 2.25k, False: 180]
  |  Branch (45:23): [True: 2.25k, False: 0]
  ------------------
   46|  2.25k|    *dest++ = *src++;
   47|  2.25k|    dest_size--;
   48|  2.25k|  }
   49|       |  // always zero terminate
   50|    180|  *dest = 0;
   51|    180|  return (*src == 0);
   52|    180|}
_mi_strlcat:
   54|     90|bool _mi_strlcat(char* dest, const char* src, size_t dest_size) {
   55|     90|  if (dest==NULL || src==NULL || dest_size == 0) return (src==NULL || *src==0);
  ------------------
  |  Branch (55:7): [True: 0, False: 90]
  |  Branch (55:21): [True: 0, False: 90]
  |  Branch (55:34): [True: 0, False: 90]
  |  Branch (55:58): [True: 0, False: 0]
  |  Branch (55:71): [True: 0, False: 0]
  ------------------
   56|       |  // find end of string in the dest buffer
   57|    900|  while (*dest != 0 && dest_size > 1) {
  ------------------
  |  Branch (57:10): [True: 810, False: 90]
  |  Branch (57:24): [True: 810, False: 0]
  ------------------
   58|    810|    dest++;
   59|    810|    dest_size--;
   60|    810|  }
   61|       |  // and catenate
   62|     90|  return _mi_strlcpy(dest, src, dest_size);
   63|     90|}
_mi_strnlen:
   65|     90|size_t _mi_strnlen(const char* s, size_t max_len) {
   66|     90|  if (s==NULL) return 0;
  ------------------
  |  Branch (66:7): [True: 0, False: 90]
  ------------------
   67|     90|  size_t len = 0;
   68|  2.34k|  while(len < max_len && s[len] != 0) { len++; }
  ------------------
  |  Branch (68:9): [True: 2.34k, False: 0]
  |  Branch (68:26): [True: 2.25k, False: 90]
  ------------------
   69|     90|  return len;
   70|     90|}
_mi_strlen:
   72|     90|size_t _mi_strlen(const char* s) {
   73|       |  return _mi_strnlen(s,PTRDIFF_MAX);
   74|     90|}
_mi_getenv:
   84|     90|int _mi_getenv(const char* name, char* result, size_t result_size) {
   85|     90|  if (name==NULL || result == NULL || result_size < 64) return ENOENT;
  ------------------
  |  Branch (85:7): [True: 0, False: 90]
  |  Branch (85:21): [True: 0, False: 90]
  |  Branch (85:39): [True: 0, False: 90]
  ------------------
   86|       |  // change the result of _mi_prim_getenv to an errno result
   87|     90|  const int res = _mi_prim_getenv(name,result,result_size);
   88|     90|  return (res > 0 ? 0 : (res == 0 ? ENOENT : EAGAIN));
  ------------------
  |  Branch (88:11): [True: 0, False: 90]
  |  Branch (88:26): [True: 90, False: 0]
  ------------------
   89|     90|}
_mi_atomic_once_enter:
  100|     10|bool _mi_atomic_once_enter(mi_atomic_once_t* once) {
  101|     10|  const uintptr_t once_tid = mi_atomic_load_acquire(&once->tid);
  ------------------
  |  |   71|     10|#define mi_atomic_load_acquire(p)                mi_atomic(load_explicit)(p,mi_memory_order(acquire))
  |  |  ------------------
  |  |  |  |   53|     10|#define  mi_atomic(name)          atomic_##name
  |  |  ------------------
  |  |               #define mi_atomic_load_acquire(p)                mi_atomic(load_explicit)(p,mi_memory_order(acquire))
  |  |  ------------------
  |  |  |  |   54|     10|#define  mi_memory_order(name)    memory_order_##name
  |  |  ------------------
  ------------------
  102|     10|  if mi_likely(once_tid == 1) {
  ------------------
  |  |   78|     10|#define mi_likely(x)       (__builtin_expect(!!(x),true))
  |  |  ------------------
  |  |  |  Branch (78:29): [True: 2, False: 8]
  |  |  ------------------
  ------------------
  103|      2|    return false; // already executed
  104|      2|  }
  105|      8|  const mi_threadid_t current_tid = _mi_thread_id();
  106|      8|  if (once_tid == current_tid) {
  ------------------
  |  Branch (106:7): [True: 4, False: 4]
  ------------------
  107|      4|    return false; // recursive invocation; we need this for process_init for example
  108|      4|  }
  109|       |
  110|      4|  mi_lock_acquire(&once->lock);
  111|      4|  uintptr_t expected = 0;
  112|      4|  if (mi_atomic_cas_strong_acq_rel(&once->tid, &expected, current_tid)) {  // could use atomic_load/store as well
  ------------------
  |  |   81|      4|#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))
  |  |  ------------------
  |  |  |  |   69|      4|  mi_atomic(compare_exchange_strong_explicit)(p,expected,desired,mem_success,mem_fail)
  |  |  |  |  ------------------
  |  |  |  |  |  |   53|      4|#define  mi_atomic(name)          atomic_##name
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (69:3): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  113|      4|    return true;  // should execute and release
  114|      4|  }
  115|      0|  else {
  116|      0|    mi_lock_release(&once->lock);
  117|       |    return false; // already another thread entered and released
  118|      0|  }
  119|      4|}
_mi_atomic_once_release:
  121|      4|void _mi_atomic_once_release(mi_atomic_once_t* once) {
  122|      4|  if (mi_atomic_load_acquire(&once->tid)>1) {  // paranoia
  ------------------
  |  |   71|      4|#define mi_atomic_load_acquire(p)                mi_atomic(load_explicit)(p,mi_memory_order(acquire))
  |  |  ------------------
  |  |  |  |   53|      4|#define  mi_atomic(name)          atomic_##name
  |  |  ------------------
  |  |               #define mi_atomic_load_acquire(p)                mi_atomic(load_explicit)(p,mi_memory_order(acquire))
  |  |  ------------------
  |  |  |  |   54|      4|#define  mi_memory_order(name)    memory_order_##name
  |  |  ------------------
  ------------------
  |  Branch (122:7): [True: 4, False: 0]
  ------------------
  123|       |    mi_atomic_store_release(&once->tid,1);     // done executing
  ------------------
  |  |   73|      4|#define mi_atomic_store_release(p,x)             mi_atomic(store_explicit)(p,x,mi_memory_order(release))
  |  |  ------------------
  |  |  |  |   53|      4|#define  mi_atomic(name)          atomic_##name
  |  |  ------------------
  |  |               #define mi_atomic_store_release(p,x)             mi_atomic(store_explicit)(p,x,mi_memory_order(release))
  |  |  ------------------
  |  |  |  |   54|      4|#define  mi_memory_order(name)    memory_order_##name
  |  |  ------------------
  ------------------
  124|      4|    mi_lock_release(&once->lock);
  125|      4|  }
  126|      4|}

_mi_options_init:
  181|      2|void _mi_options_init(void) {
  182|       |  // called on process load
  183|      2|  mi_add_stderr_output(); // now it safe to use stderr for output
  184|     78|  for(int i = 0; i < _mi_option_last; i++ ) {
  ------------------
  |  Branch (184:18): [True: 76, False: 2]
  ------------------
  185|     76|    mi_option_t option = (mi_option_t)i;
  186|     76|    long l = mi_option_get(option); MI_UNUSED(l); // initialize
  ------------------
  |  |  367|     76|#define MI_UNUSED(x)     (void)(x)
  ------------------
  187|     76|  }
  188|      2|  mi_max_error_count = mi_option_get(mi_option_max_errors);
  189|      2|  mi_max_warning_count = mi_option_get(mi_option_max_warnings);
  190|       |  #if MI_GUARDED
  191|       |  if (mi_option_get(mi_option_guarded_sample_rate) > 0) {
  192|       |    if (mi_option_is_enabled(mi_option_allow_large_os_pages)) {
  193|       |      mi_option_disable(mi_option_allow_large_os_pages);
  194|       |      _mi_warning_message("option 'allow_large_os_pages' is disabled to allow for guarded objects\n");
  195|       |    }
  196|       |  }
  197|       |  #endif
  198|      2|  if (mi_option_is_enabled(mi_option_verbose)) { mi_options_print(); }
  ------------------
  |  Branch (198:7): [True: 0, False: 2]
  ------------------
  199|      2|}
mi_option_get:
  253|     90|mi_decl_nodiscard long mi_option_get(mi_option_t option) {
  254|     90|  mi_assert(option >= 0 && option < _mi_option_last);
  255|     90|  if (option < 0 || option >= _mi_option_last) return 0;
  ------------------
  |  Branch (255:7): [True: 0, False: 90]
  |  Branch (255:21): [True: 0, False: 90]
  ------------------
  256|     90|  mi_option_desc_t* desc = &options[option];
  257|     90|  mi_assert(desc->option == option);  // index should match the option
  258|     90|  if mi_unlikely(desc->init == UNINIT) {
  ------------------
  |  |   77|     90|#define mi_unlikely(x)     (__builtin_expect(!!(x),false))
  |  |  ------------------
  |  |  |  Branch (77:29): [True: 76, False: 14]
  |  |  ------------------
  ------------------
  259|     76|    mi_option_init(desc);
  260|     76|  }
  261|     90|  return desc->value;
  262|     90|}
mi_option_is_enabled:
  305|     10|mi_decl_nodiscard bool mi_option_is_enabled(mi_option_t option) {
  306|     10|  return (mi_option_get(option) != 0);
  307|     10|}
_mi_verbose_message:
  515|      2|void _mi_verbose_message(const char* fmt, ...) {
  516|      2|  if (!mi_option_is_enabled(mi_option_verbose)) return;
  ------------------
  |  Branch (516:7): [True: 2, False: 0]
  ------------------
  517|      0|  va_list args;
  518|      0|  va_start(args,fmt);
  519|      0|  mi_vfprintf(NULL, NULL, "mimalloc: ", fmt, args);
  520|       |  va_end(args);
  521|      0|}
obmalloc.c:mi_out_stderr:
  325|      2|static void mi_cdecl mi_out_stderr(const char* msg, void* arg) {
  326|      2|  MI_UNUSED(arg);
  ------------------
  |  |  367|      2|#define MI_UNUSED(x)     (void)(x)
  ------------------
  327|      2|  if (msg != NULL && msg[0] != 0) {
  ------------------
  |  Branch (327:7): [True: 2, False: 0]
  |  Branch (327:22): [True: 0, False: 2]
  ------------------
  328|      0|    _mi_prim_out_stderr(msg);
  329|      0|  }
  330|      2|}
obmalloc.c:mi_out_buf_flush:
  362|      2|static void mi_out_buf_flush(mi_output_fun* out, bool no_more_buf, void* arg) {
  363|      2|  if (out==NULL) return;
  ------------------
  |  Branch (363:7): [True: 0, False: 2]
  ------------------
  364|       |  // claim (if `no_more_buf == true`, no more output will be added after this point)
  365|      2|  mi_lock(&out_buf_lock) {
  ------------------
  |  |  518|      4|#define mi_lock(lock)                  for(bool _mi_go = (mi_lock_acquire(lock),true); _mi_go; (mi_lock_release(lock), _mi_go=false) )
  |  |  ------------------
  |  |  |  Branch (518:88): [True: 2, False: 2]
  |  |  ------------------
  ------------------
  366|      2|    size_t count = mi_atomic_add_acq_rel(&out_len, (no_more_buf ? MI_MAX_DELAY_OUTPUT : 1));
  ------------------
  |  |   85|      4|#define mi_atomic_add_acq_rel(p,x)               mi_atomic(fetch_add_explicit)(p,x,mi_memory_order(acq_rel))
  |  |  ------------------
  |  |  |  |   53|      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))
  |  |  ------------------
  |  |  |  |   54|      2|#define  mi_memory_order(name)    memory_order_##name
  |  |  ------------------
  |  |  |  Branch (85:82): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  367|       |    // and output the current contents
  368|      2|    if (count>MI_MAX_DELAY_OUTPUT) count = MI_MAX_DELAY_OUTPUT;
  ------------------
  |  |  337|      2|#define MI_MAX_DELAY_OUTPUT ((size_t)(16*1024))
  ------------------
                  if (count>MI_MAX_DELAY_OUTPUT) count = MI_MAX_DELAY_OUTPUT;
  ------------------
  |  |  337|      0|#define MI_MAX_DELAY_OUTPUT ((size_t)(16*1024))
  ------------------
  |  Branch (368:9): [True: 0, False: 2]
  ------------------
  369|      2|    out_buf[count] = 0;
  370|      2|    out(out_buf,arg);
  371|      2|    if (!no_more_buf) {
  ------------------
  |  Branch (371:9): [True: 2, False: 0]
  ------------------
  372|      2|      out_buf[count] = '\n'; // if continue with the buffer, insert a newline
  373|      2|    }
  374|      2|  }
  375|      2|}
obmalloc.c:mi_add_stderr_output:
  409|      2|static void mi_add_stderr_output(void) {
  410|      2|  mi_assert_internal(mi_out_default == NULL);
  411|      2|  mi_out_buf_flush(&mi_out_stderr, false, NULL); // flush current contents to stderr
  412|      2|  mi_atomic_store_ptr_release(void,&mi_out_default,(void*)&mi_out_buf_stderr);  // and add stderr to the delayed output
  ------------------
  |  |  119|      2|#define mi_atomic_store_ptr_release(tp,p,x)             mi_atomic_store_release(p,x)
  |  |  ------------------
  |  |  |  |   73|      2|#define mi_atomic_store_release(p,x)             mi_atomic(store_explicit)(p,x,mi_memory_order(release))
  |  |  |  |  ------------------
  |  |  |  |  |  |   53|      2|#define  mi_atomic(name)          atomic_##name
  |  |  |  |  ------------------
  |  |  |  |               #define mi_atomic_store_release(p,x)             mi_atomic(store_explicit)(p,x,mi_memory_order(release))
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|      2|#define  mi_memory_order(name)    memory_order_##name
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|       |  mi_atomic_store_ptr_release(void,&mi_out_arg,NULL);
  ------------------
  |  |  119|      2|#define mi_atomic_store_ptr_release(tp,p,x)             mi_atomic_store_release(p,x)
  |  |  ------------------
  |  |  |  |   73|      2|#define mi_atomic_store_release(p,x)             mi_atomic(store_explicit)(p,x,mi_memory_order(release))
  |  |  |  |  ------------------
  |  |  |  |  |  |   53|      2|#define  mi_atomic(name)          atomic_##name
  |  |  |  |  ------------------
  |  |  |  |               #define mi_atomic_store_release(p,x)             mi_atomic(store_explicit)(p,x,mi_memory_order(release))
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|      2|#define  mi_memory_order(name)    memory_order_##name
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|      2|}
obmalloc.c:mi_option_init:
  611|     76|static void mi_option_init(mi_option_desc_t* desc) {
  612|       |  // Read option value from the environment
  613|     76|  char s[64 + 1];
  614|     76|  char buf[64+1];
  615|     76|  _mi_strlcpy(buf, "mimalloc_", sizeof(buf));
  616|     76|  _mi_strlcat(buf, desc->name, sizeof(buf));
  617|     76|  int err = _mi_getenv(buf, s, sizeof(s));
  618|     76|  if (err==ENOENT && desc->legacy_name != NULL) {
  ------------------
  |  Branch (618:7): [True: 76, False: 0]
  |  Branch (618:22): [True: 14, False: 62]
  ------------------
  619|     14|    _mi_strlcpy(buf, "mimalloc_", sizeof(buf));
  620|     14|    _mi_strlcat(buf, desc->legacy_name, sizeof(buf));
  621|     14|    err = _mi_getenv(buf, s, sizeof(s));
  622|     14|    if (err==0) {
  ------------------
  |  Branch (622:9): [True: 0, False: 14]
  ------------------
  623|      0|      _mi_warning_message("environment option \"mimalloc_%s\" is deprecated -- use \"mimalloc_%s\" instead.\n", desc->legacy_name, desc->name);
  624|      0|    }
  625|     14|  }
  626|       |
  627|     76|  if (err==0) {
  ------------------
  |  Branch (627:7): [True: 0, False: 76]
  ------------------
  628|      0|    size_t len = _mi_strnlen(s, sizeof(buf) - 1);
  629|      0|    for (size_t i = 0; i < len; i++) {
  ------------------
  |  Branch (629:24): [True: 0, False: 0]
  ------------------
  630|      0|      buf[i] = _mi_toupper(s[i]);
  631|      0|    }
  632|      0|    buf[len] = 0;
  633|      0|    if (buf[0] == 0 || _mi_streq(buf,"1") || _mi_streq(buf,"TRUE") || _mi_streq(buf,"YES") || _mi_streq(buf,"ON")) {
  ------------------
  |  Branch (633:9): [True: 0, False: 0]
  |  Branch (633:24): [True: 0, False: 0]
  |  Branch (633:46): [True: 0, False: 0]
  |  Branch (633:71): [True: 0, False: 0]
  |  Branch (633:95): [True: 0, False: 0]
  ------------------
  634|      0|      desc->value = 1;
  635|      0|      desc->init = INITIALIZED;
  636|      0|    }
  637|      0|    else if (_mi_streq(buf,"0") || _mi_streq(buf,"FALSE") || _mi_streq(buf,"NO") || _mi_streq(buf,"OFF")) {
  ------------------
  |  Branch (637:14): [True: 0, False: 0]
  |  Branch (637:36): [True: 0, False: 0]
  |  Branch (637:62): [True: 0, False: 0]
  |  Branch (637:85): [True: 0, False: 0]
  ------------------
  638|      0|      desc->value = 0;
  639|      0|      desc->init = INITIALIZED;
  640|      0|    }
  641|      0|    else {
  642|      0|      char* end = buf;
  643|      0|      errno = 0;
  644|      0|      long value = strtol(buf, &end, 10);
  645|      0|      if (errno==0 && mi_option_has_size_in_kib(desc->option)) {
  ------------------
  |  Branch (645:11): [True: 0, False: 0]
  |  Branch (645:23): [True: 0, False: 0]
  ------------------
  646|       |        // this option is interpreted in KiB to prevent overflow of `long` for large allocations
  647|       |        // (long is 32-bit on 64-bit windows, which allows for 4TiB max.)
  648|      0|        size_t size = (value < 0 ? 0 : (size_t)value);
  ------------------
  |  Branch (648:24): [True: 0, False: 0]
  ------------------
  649|      0|        bool overflow = false;
  650|      0|        if (*end == 'K') { end++; }
  ------------------
  |  Branch (650:13): [True: 0, False: 0]
  ------------------
  651|      0|        else if (*end == 'M') { overflow = mi_mul_overflow(size,MI_KiB,&size); end++; }
  ------------------
  |  |  165|      0|#define MI_KiB     (MI_ZU(1024))
  |  |  ------------------
  |  |  |  |  155|      0|# define MI_ZU(x)  x##UL
  |  |  ------------------
  ------------------
  |  Branch (651:18): [True: 0, False: 0]
  ------------------
  652|      0|        else if (*end == 'G') { overflow = mi_mul_overflow(size,MI_MiB,&size); end++; }
  ------------------
  |  |  166|      0|#define MI_MiB     (MI_KiB*MI_KiB)
  |  |  ------------------
  |  |  |  |  165|      0|#define MI_KiB     (MI_ZU(1024))
  |  |  |  |  ------------------
  |  |  |  |  |  |  155|      0|# define MI_ZU(x)  x##UL
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MI_MiB     (MI_KiB*MI_KiB)
  |  |  ------------------
  |  |  |  |  165|      0|#define MI_KiB     (MI_ZU(1024))
  |  |  |  |  ------------------
  |  |  |  |  |  |  155|      0|# define MI_ZU(x)  x##UL
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (652:18): [True: 0, False: 0]
  ------------------
  653|      0|        else if (*end == 'T') { overflow = mi_mul_overflow(size,MI_GiB,&size); end++; }
  ------------------
  |  |  167|      0|#define MI_GiB     (MI_MiB*MI_KiB)
  |  |  ------------------
  |  |  |  |  166|      0|#define MI_MiB     (MI_KiB*MI_KiB)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      0|#define MI_KiB     (MI_ZU(1024))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  155|      0|# define MI_ZU(x)  x##UL
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define MI_MiB     (MI_KiB*MI_KiB)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      0|#define MI_KiB     (MI_ZU(1024))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  155|      0|# define MI_ZU(x)  x##UL
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MI_GiB     (MI_MiB*MI_KiB)
  |  |  ------------------
  |  |  |  |  165|      0|#define MI_KiB     (MI_ZU(1024))
  |  |  |  |  ------------------
  |  |  |  |  |  |  155|      0|# define MI_ZU(x)  x##UL
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (653:18): [True: 0, False: 0]
  ------------------
  654|      0|        else { size = (size + MI_KiB - 1) / MI_KiB; }
  ------------------
  |  |  165|      0|#define MI_KiB     (MI_ZU(1024))
  |  |  ------------------
  |  |  |  |  155|      0|# define MI_ZU(x)  x##UL
  |  |  ------------------
  ------------------
                      else { size = (size + MI_KiB - 1) / MI_KiB; }
  ------------------
  |  |  165|      0|#define MI_KiB     (MI_ZU(1024))
  |  |  ------------------
  |  |  |  |  155|      0|# define MI_ZU(x)  x##UL
  |  |  ------------------
  ------------------
  655|      0|        if (end[0] == 'I' && end[1] == 'B') { end += 2; } // KiB, MiB, GiB, TiB
  ------------------
  |  Branch (655:13): [True: 0, False: 0]
  |  Branch (655:30): [True: 0, False: 0]
  ------------------
  656|      0|        else if (*end == 'B') { end++; }                  // Kb, Mb, Gb, Tb
  ------------------
  |  Branch (656:18): [True: 0, False: 0]
  ------------------
  657|      0|        if (overflow || size > (MI_MAX_ALLOC_SIZE / MI_KiB)) { size = (MI_MAX_ALLOC_SIZE / MI_KiB); }
  ------------------
  |  |  232|      0|#define MI_MAX_ALLOC_SIZE   (MI_SEGMENT_SLICE_SIZE * (UINT32_MAX-1))
  |  |  ------------------
  |  |  |  |  199|      0|#define MI_SEGMENT_SLICE_SIZE             (MI_ZU(1)<< MI_SEGMENT_SLICE_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  155|      0|# define MI_ZU(x)  x##UL
  |  |  |  |  ------------------
  |  |  |  |               #define MI_SEGMENT_SLICE_SIZE             (MI_ZU(1)<< MI_SEGMENT_SLICE_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|      0|#    define MI_SEGMENT_SLICE_SHIFT 14
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (overflow || size > (MI_MAX_ALLOC_SIZE / MI_KiB)) { size = (MI_MAX_ALLOC_SIZE / MI_KiB); }
  ------------------
  |  |  165|      0|#define MI_KiB     (MI_ZU(1024))
  |  |  ------------------
  |  |  |  |  155|      0|# define MI_ZU(x)  x##UL
  |  |  ------------------
  ------------------
                      if (overflow || size > (MI_MAX_ALLOC_SIZE / MI_KiB)) { size = (MI_MAX_ALLOC_SIZE / MI_KiB); }
  ------------------
  |  |  232|      0|#define MI_MAX_ALLOC_SIZE   (MI_SEGMENT_SLICE_SIZE * (UINT32_MAX-1))
  |  |  ------------------
  |  |  |  |  199|      0|#define MI_SEGMENT_SLICE_SIZE             (MI_ZU(1)<< MI_SEGMENT_SLICE_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  155|      0|# define MI_ZU(x)  x##UL
  |  |  |  |  ------------------
  |  |  |  |               #define MI_SEGMENT_SLICE_SIZE             (MI_ZU(1)<< MI_SEGMENT_SLICE_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|      0|#    define MI_SEGMENT_SLICE_SHIFT 14
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (overflow || size > (MI_MAX_ALLOC_SIZE / MI_KiB)) { size = (MI_MAX_ALLOC_SIZE / MI_KiB); }
  ------------------
  |  |  165|      0|#define MI_KiB     (MI_ZU(1024))
  |  |  ------------------
  |  |  |  |  155|      0|# define MI_ZU(x)  x##UL
  |  |  ------------------
  ------------------
  |  Branch (657:13): [True: 0, False: 0]
  |  Branch (657:25): [True: 0, False: 0]
  ------------------
  658|      0|        value = (size > LONG_MAX ? LONG_MAX : (long)size);
  ------------------
  |  Branch (658:18): [True: 0, False: 0]
  ------------------
  659|      0|      }
  660|      0|      if (errno==0 && *end == 0) {
  ------------------
  |  Branch (660:11): [True: 0, False: 0]
  |  Branch (660:23): [True: 0, False: 0]
  ------------------
  661|      0|        mi_option_set(desc->option, value);
  662|      0|      }
  663|      0|      else {
  664|       |        // set `init` first to avoid recursion through _mi_warning_message on mimalloc_verbose.
  665|      0|        desc->init = DEFAULTED;
  666|      0|        if (desc->option == mi_option_verbose && desc->value == 0) {
  ------------------
  |  Branch (666:13): [True: 0, False: 0]
  |  Branch (666:50): [True: 0, False: 0]
  ------------------
  667|       |          // if the 'mimalloc_verbose' env var has a bogus value we'd never know
  668|       |          // (since the value defaults to 'off') so in that case briefly enable verbose
  669|      0|          desc->value = 1;
  670|      0|          _mi_warning_message("environment option mimalloc_%s has an invalid value.\n", desc->name);
  671|      0|          desc->value = 0;
  672|      0|        }
  673|      0|        else {
  674|      0|          _mi_warning_message("environment option mimalloc_%s has an invalid value.\n", desc->name);
  675|      0|        }
  676|      0|      }
  677|      0|    }
  678|      0|    mi_assert_internal(desc->init != UNINIT);
  679|      0|  }
  680|     76|  else if (err==ENOENT) {
  ------------------
  |  Branch (680:12): [True: 76, False: 0]
  ------------------
  681|     76|    desc->init = DEFAULTED;
  682|     76|  }
  683|       |  // and on another error, keep unitialized to try again (can happen during preloading if getenv is not available)
  684|     76|}

_mi_os_init:
   83|      2|void _mi_os_init(void) {
   84|      2|  _mi_prim_mem_init(&mi_os_mem_config);
   85|      2|}

obmalloc.c:mi_process_attach:
   42|      2|  static void mi_attr_constructor mi_process_attach(void) {
   43|      2|    _mi_auto_process_init();
   44|      2|  }
_mi_is_redirected:
   67|      2|bool _mi_is_redirected(void) {
   68|       |  return false;
   69|      2|}
_mi_allocator_init:
   70|      2|bool _mi_allocator_init(const char** message) {
   71|      2|  if (message != NULL) { *message = NULL; }
  ------------------
  |  Branch (71:7): [True: 2, False: 0]
  ------------------
   72|       |  return true;
   73|      2|}

_mi_prim_mem_init:
  192|      2|{
  193|      2|  long psize = sysconf(_SC_PAGESIZE);
  194|      2|  if (psize > 0 && (unsigned long)psize < SIZE_MAX) {
  ------------------
  |  Branch (194:7): [True: 2, False: 0]
  |  Branch (194:20): [True: 2, False: 0]
  ------------------
  195|      2|    config->page_size = (size_t)psize;
  196|      2|    config->alloc_granularity = (size_t)psize;
  197|      2|    unix_detect_physical_memory(config->page_size, &config->physical_memory_in_kib);
  198|      2|  }
  199|      2|  config->large_page_size = MI_UNIX_LARGE_PAGE_SIZE;
  ------------------
  |  |   75|      2|#define MI_UNIX_LARGE_PAGE_SIZE (2*MI_MiB) // TODO: can we query the OS for this?
  |  |  ------------------
  |  |  |  |  166|      2|#define MI_MiB     (MI_KiB*MI_KiB)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      2|#define MI_KiB     (MI_ZU(1024))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  155|      2|# define MI_ZU(x)  x##UL
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define MI_MiB     (MI_KiB*MI_KiB)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      2|#define MI_KiB     (MI_ZU(1024))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  155|      2|# define MI_ZU(x)  x##UL
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  200|      2|  config->has_overcommit = unix_detect_overcommit();
  201|      2|  config->has_partial_free = true;    // mmap can free in parts
  202|      2|  config->has_virtual_reserve = true; // todo: check if this true for NetBSD?  (for anonymous mmap with PROT_NONE)
  203|       |
  204|       |  // disable transparent huge pages for this process?
  205|      2|  #if (defined(__linux__) || defined(__ANDROID__)) && defined(PR_GET_THP_DISABLE)
  206|      2|  if (!mi_option_is_enabled(mi_option_allow_thp)) // disable THP if requested through an option
  ------------------
  |  Branch (206:7): [True: 0, False: 2]
  ------------------
  207|      0|  {
  208|      0|    if (prctl(PR_GET_THP_DISABLE, 0, 0, 0, 0) == 0) {   // -1 on error, 1 if already disabled
  ------------------
  |  Branch (208:9): [True: 0, False: 0]
  ------------------
  209|       |      // Most likely since distros often come with always/madvise settings.
  210|       |      // Disabling only for mimalloc process rather than touching system wide settings
  211|       |      (void)prctl(PR_SET_THP_DISABLE, 1, 0, 0, 0);
  212|      0|    }
  213|      0|  }
  214|      2|  #endif
  215|      2|}
_mi_prim_clock_now:
  692|      6|mi_msecs_t _mi_prim_clock_now(void) {
  693|      6|  #if defined(CLOCK_REALTIME) || defined(CLOCK_MONOTONIC)
  694|      6|    #ifdef CLOCK_MONOTONIC
  695|      6|    const clockid_t clockid = CLOCK_MONOTONIC;
  696|       |    #else
  697|       |    const clockid_t clockid = CLOCK_REALTIME;
  698|       |    #endif
  699|      6|    struct timespec t;
  700|      6|    if (clock_gettime(clockid,&t) == 0) {
  ------------------
  |  Branch (700:9): [True: 6, False: 0]
  ------------------
  701|      6|      return ((mi_msecs_t)t.tv_sec * 1000) + ((mi_msecs_t)t.tv_nsec / 1000000L);
  702|      6|    }
  703|      0|  #endif
  704|      0|  return mi_prim_clock_now_lowres();
  705|      6|}
_mi_prim_getenv:
  818|     90|int _mi_prim_getenv(const char* name, char* result, size_t result_size) {
  819|     90|  if (name==NULL) return -1;
  ------------------
  |  Branch (819:7): [True: 0, False: 90]
  ------------------
  820|     90|  const size_t len = _mi_strlen(name);
  821|     90|  if (len == 0) return -1;
  ------------------
  |  Branch (821:7): [True: 0, False: 90]
  ------------------
  822|     90|  char** env = mi_get_environ();
  823|     90|  if (env == NULL) return -1;
  ------------------
  |  Branch (823:7): [True: 0, False: 90]
  ------------------
  824|       |  // compare up to 10000 entries
  825|  3.06k|  for (int i = 0; i < 10000 && env[i] != NULL; i++) {
  ------------------
  |  Branch (825:19): [True: 3.06k, False: 0]
  |  Branch (825:32): [True: 2.97k, False: 90]
  ------------------
  826|  2.97k|    const char* s = env[i];
  827|  2.97k|    if (_mi_strnicmp(name, s, len) == 0 && s[len] == '=') { // case insensitive
  ------------------
  |  Branch (827:9): [True: 0, False: 2.97k]
  |  Branch (827:44): [True: 0, False: 0]
  ------------------
  828|       |      // found it
  829|      0|      if (!_mi_strlcpy(result, s + len + 1, result_size)) return -1;
  ------------------
  |  Branch (829:11): [True: 0, False: 0]
  ------------------
  830|      0|      return 1;   // success
  831|      0|    }
  832|  2.97k|  }
  833|     90|  return 0; // not found
  834|     90|}
_mi_prim_random_buf:
  889|      2|bool _mi_prim_random_buf(void* buf, size_t buf_len) {
  890|       |  // Modern Linux provides `getrandom` but different distributions either use `sys/random.h` or `linux/random.h`
  891|       |  // and for the latter the actual `getrandom` call is not always defined.
  892|       |  // (see <https://stackoverflow.com/questions/45237324/why-doesnt-getrandom-compile>)
  893|       |  // We therefore use a syscall directly and fall back dynamically to /dev/urandom when needed.
  894|      2|  #if defined(MI_HAS_SYSCALL_H) && defined(SYS_getrandom)
  895|      2|    #ifndef GRND_NONBLOCK
  896|      2|    #define GRND_NONBLOCK (1)
  897|      2|    #endif
  898|      2|    static _Atomic(uintptr_t) no_getrandom; // = 0
  899|      2|    if (mi_atomic_load_acquire(&no_getrandom)==0) {
  ------------------
  |  |   71|      2|#define mi_atomic_load_acquire(p)                mi_atomic(load_explicit)(p,mi_memory_order(acquire))
  |  |  ------------------
  |  |  |  |   53|      2|#define  mi_atomic(name)          atomic_##name
  |  |  ------------------
  |  |               #define mi_atomic_load_acquire(p)                mi_atomic(load_explicit)(p,mi_memory_order(acquire))
  |  |  ------------------
  |  |  |  |   54|      2|#define  mi_memory_order(name)    memory_order_##name
  |  |  ------------------
  ------------------
  |  Branch (899:9): [True: 2, False: 0]
  ------------------
  900|      2|      ssize_t ret = syscall(SYS_getrandom, buf, buf_len, GRND_NONBLOCK);
  ------------------
  |  |  896|      2|    #define GRND_NONBLOCK (1)
  ------------------
  901|      2|      if (ret >= 0) return (buf_len == (size_t)ret);
  ------------------
  |  Branch (901:11): [True: 2, False: 0]
  ------------------
  902|      0|      if (errno != ENOSYS) return false;
  ------------------
  |  Branch (902:11): [True: 0, False: 0]
  ------------------
  903|      0|      mi_atomic_store_release(&no_getrandom, (uintptr_t)1); // don't call again, and fall back to /dev/urandom
  ------------------
  |  |   73|      0|#define mi_atomic_store_release(p,x)             mi_atomic(store_explicit)(p,x,mi_memory_order(release))
  |  |  ------------------
  |  |  |  |   53|      0|#define  mi_atomic(name)          atomic_##name
  |  |  ------------------
  |  |               #define mi_atomic_store_release(p,x)             mi_atomic(store_explicit)(p,x,mi_memory_order(release))
  |  |  ------------------
  |  |  |  |   54|      0|#define  mi_memory_order(name)    memory_order_##name
  |  |  ------------------
  ------------------
  904|      0|    }
  905|      0|  #endif
  906|      0|  int flags = O_RDONLY;
  907|      0|  #if defined(O_CLOEXEC)
  908|      0|  flags |= O_CLOEXEC;
  909|      0|  #endif
  910|      0|  int fd = mi_prim_open("/dev/urandom", flags);
  911|      0|  if (fd < 0) return false;
  ------------------
  |  Branch (911:7): [True: 0, False: 0]
  ------------------
  912|      0|  size_t count = 0;
  913|      0|  while(count < buf_len) {
  ------------------
  |  Branch (913:9): [True: 0, False: 0]
  ------------------
  914|      0|    ssize_t ret = mi_prim_read(fd, (char*)buf + count, buf_len - count);
  915|      0|    if (ret==0) {
  ------------------
  |  Branch (915:9): [True: 0, False: 0]
  ------------------
  916|      0|      break;
  917|      0|    }
  918|      0|    else if (ret<0) {
  ------------------
  |  Branch (918:14): [True: 0, False: 0]
  ------------------
  919|      0|      if (errno!=EAGAIN && errno!=EINTR) break;
  ------------------
  |  Branch (919:11): [True: 0, False: 0]
  |  Branch (919:28): [True: 0, False: 0]
  ------------------
  920|      0|    }
  921|      0|    else {
  922|      0|      count += ret;
  923|      0|    }
  924|      0|  }
  925|      0|  mi_prim_close(fd);
  926|      0|  return (count==buf_len);
  927|      0|}
_mi_prim_thread_init_auto_done:
  954|      2|void _mi_prim_thread_init_auto_done(void) {
  955|      2|  mi_assert_internal(_mi_heap_default_key == (pthread_key_t)(-1));
  956|      2|  const int err = pthread_key_create(&_mi_heap_default_key, &mi_pthread_done);
  957|      2|  if (err!=0) {
  ------------------
  |  Branch (957:7): [True: 0, False: 2]
  ------------------
  958|      0|    _mi_error_message(err,"unable to create a pthread thread local key (error %d (0x%x))", err, err);
  959|      0|    _mi_heap_default_key = (pthread_key_t)(-1);
  960|      0|  };
  961|      2|}
_mi_prim_thread_associate_default_heap:
  969|      2|void _mi_prim_thread_associate_default_heap(mi_heap_t* heap) {
  970|      2|  if (_mi_heap_default_key != (pthread_key_t)(-1)) {  // can happen during recursive invocation on freeBSD
  ------------------
  |  Branch (970:7): [True: 2, False: 0]
  ------------------
  971|      2|    pthread_setspecific(_mi_heap_default_key, heap);
  972|      2|  }
  973|      2|}
obmalloc.c:unix_detect_physical_memory:
  150|      2|static void unix_detect_physical_memory( size_t page_size, size_t* physical_memory_in_kib ) {
  151|       |  #if defined(CTL_HW) && (defined(HW_PHYSMEM64) || defined(HW_MEMSIZE))  // freeBSD, macOS
  152|       |    MI_UNUSED(page_size);
  153|       |    int64_t physical_memory = 0;
  154|       |    size_t length = sizeof(int64_t);
  155|       |    #if defined(HW_PHYSMEM64)
  156|       |    int mib[2] = { CTL_HW, HW_PHYSMEM64 };
  157|       |    #else
  158|       |    int mib[2] = { CTL_HW, HW_MEMSIZE };
  159|       |    #endif
  160|       |    const int err = sysctl(mib, 2, &physical_memory, &length, NULL, 0);
  161|       |    if (err==0 && physical_memory > 0) {
  162|       |      const int64_t phys_in_kib = physical_memory / MI_KiB;
  163|       |      if (phys_in_kib > 0 && (uint64_t)phys_in_kib <= SIZE_MAX) {
  164|       |        *physical_memory_in_kib = (size_t)phys_in_kib;
  165|       |      }
  166|       |    }
  167|       |  #elif defined(__linux__)
  168|      2|    MI_UNUSED(page_size);
  ------------------
  |  |  367|      2|#define MI_UNUSED(x)     (void)(x)
  ------------------
  169|      2|    struct sysinfo info; _mi_memzero_var(info);
  ------------------
  |  |  385|      2|#define _mi_memzero_var(x)  memset(&x,0,sizeof(x))
  ------------------
  170|      2|    const int err = sysinfo(&info);
  171|      2|    if (err==0 && info.mem_unit > 0 && info.totalram <= SIZE_MAX) {
  ------------------
  |  Branch (171:9): [True: 2, False: 0]
  |  Branch (171:19): [True: 2, False: 0]
  |  Branch (171:40): [True: 2, False: 0]
  ------------------
  172|      2|      if (info.mem_unit==MI_KiB) {
  ------------------
  |  |  165|      2|#define MI_KiB     (MI_ZU(1024))
  |  |  ------------------
  |  |  |  |  155|      2|# define MI_ZU(x)  x##UL
  |  |  ------------------
  ------------------
  |  Branch (172:11): [True: 0, False: 2]
  ------------------
  173|      0|        *physical_memory_in_kib = (size_t)info.totalram;
  174|      0|      }
  175|      2|      else {
  176|      2|        size_t total = 0;
  177|      2|        if (!mi_mul_overflow((size_t)info.totalram, (size_t)info.mem_unit, &total)) {
  ------------------
  |  Branch (177:13): [True: 2, False: 0]
  ------------------
  178|      2|          *physical_memory_in_kib = (total / MI_KiB);
  ------------------
  |  |  165|      2|#define MI_KiB     (MI_ZU(1024))
  |  |  ------------------
  |  |  |  |  155|      2|# define MI_ZU(x)  x##UL
  |  |  ------------------
  ------------------
  179|      2|        }
  180|      2|      }
  181|      2|    }
  182|       |  #elif defined(_SC_PHYS_PAGES)  // do not use by default as it might cause allocation (by using `fopen` to parse /proc/meminfo) (issue #1100)
  183|       |    const long pphys = sysconf(_SC_PHYS_PAGES);
  184|       |    const size_t psize_in_kib = page_size / MI_KiB;
  185|       |    if (psize_in_kib > 0 && pphys > 0 && (unsigned long)pphys <= SIZE_MAX && (size_t)pphys <= (SIZE_MAX/psize_in_kib)) {
  186|       |      *physical_memory_in_kib = (size_t)pphys * psize_in_kib;
  187|       |    }
  188|       |  #endif
  189|      2|}
obmalloc.c:unix_detect_overcommit:
  123|      2|static bool unix_detect_overcommit(void) {
  124|      2|  bool os_overcommit = true;
  125|      2|  #if defined(__linux__)
  126|      2|    int fd = mi_prim_open("/proc/sys/vm/overcommit_memory", O_RDONLY);
  127|      2|    if (fd >= 0) {
  ------------------
  |  Branch (127:9): [True: 2, False: 0]
  ------------------
  128|      2|      char buf[32] = {0};  // CPython: zero-initialize to avoid an MSAN report
  129|      2|      ssize_t nread = mi_prim_read(fd, &buf, sizeof(buf));
  130|      2|      mi_prim_close(fd);
  131|       |      // <https://www.kernel.org/doc/Documentation/vm/overcommit-accounting>
  132|       |      // 0: heuristic overcommit, 1: always overcommit, 2: never overcommit (ignore NORESERVE)
  133|      2|      if (nread >= 1) {
  ------------------
  |  Branch (133:11): [True: 2, False: 0]
  ------------------
  134|      2|        os_overcommit = (buf[0] == '0' || buf[0] == '1');
  ------------------
  |  Branch (134:26): [True: 0, False: 2]
  |  Branch (134:43): [True: 2, False: 0]
  ------------------
  135|      2|      }
  136|      2|    }
  137|       |  #elif defined(__FreeBSD__)
  138|       |    int val = 0;
  139|       |    size_t olen = sizeof(val);
  140|       |    if (sysctlbyname("vm.overcommit", &val, &olen, NULL, 0) == 0) {
  141|       |      os_overcommit = (val != 0);
  142|       |    }
  143|       |  #else
  144|       |    // default: overcommit is true
  145|       |  #endif
  146|      2|  return os_overcommit;
  147|      2|}
obmalloc.c:mi_get_environ:
  814|     90|static char** mi_get_environ(void) {
  815|     90|  return environ;
  816|     90|}
obmalloc.c:mi_prim_open:
   87|      2|static inline int mi_prim_open(const char* fpath, int open_flags) {
   88|       |  return syscall(SYS_open,fpath,open_flags,0);
   89|      2|}
obmalloc.c:mi_prim_read:
   90|      2|static inline ssize_t mi_prim_read(int fd, void* buf, size_t bufsize) {
   91|       |  return syscall(SYS_read,fd,buf,bufsize);
   92|      2|}
obmalloc.c:mi_prim_close:
   93|      2|static inline int mi_prim_close(int fd) {
   94|       |  return syscall(SYS_close,fd);
   95|      2|}

_mi_random_next:
  147|      6|uintptr_t _mi_random_next(mi_random_ctx_t* ctx) {
  148|      6|  mi_assert_internal(mi_random_is_initialized(ctx));
  149|      6|  uintptr_t r;
  150|      6|  do {
  151|       |    #if MI_INTPTR_SIZE <= 4
  152|       |    r = chacha_next32(ctx);
  153|       |    #elif MI_INTPTR_SIZE == 8
  154|       |    r = (((uintptr_t)chacha_next32(ctx) << 32) | chacha_next32(ctx));
  155|       |    #else
  156|       |    # error "define mi_random_next for this platform"
  157|       |    #endif
  158|      6|  } while (r==0);
  ------------------
  |  Branch (158:12): [True: 0, False: 6]
  ------------------
  159|      6|  return r;
  160|      6|}
_mi_random_init:
  204|      2|void _mi_random_init(mi_random_ctx_t* ctx) {
  205|       |  mi_random_init_ex(ctx, false);
  206|      2|}
_mi_random_reinit_if_weak:
  212|      2|void _mi_random_reinit_if_weak(mi_random_ctx_t * ctx) {
  213|      2|  if (ctx->weak) {
  ------------------
  |  Branch (213:7): [True: 0, False: 2]
  ------------------
  214|      0|    _mi_random_init(ctx);
  215|      0|  }
  216|      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:
  180|      2|static void mi_random_init_ex(mi_random_ctx_t* ctx, bool use_weak) {
  181|      2|  uint8_t key[32] = {0};  // CPython: zero-initialize to avoid an MSAN report
  182|      2|  if (use_weak || !_mi_prim_random_buf(key, sizeof(key))) {
  ------------------
  |  Branch (182:7): [True: 0, False: 2]
  |  Branch (182:19): [True: 0, False: 2]
  ------------------
  183|       |    // if we fail to get random data from the OS, we fall back to a
  184|       |    // weak random source based on the current time
  185|      0|    #if !defined(__wasi__)
  186|      0|    if (!use_weak) { _mi_warning_message("unable to use secure randomness\n"); }
  ------------------
  |  Branch (186:9): [True: 0, False: 0]
  ------------------
  187|      0|    #endif
  188|      0|    uintptr_t x = _mi_os_random_weak(0);
  189|      0|    for (size_t i = 0; i < 32; i+=4, x++) {
  ------------------
  |  Branch (189:24): [True: 0, False: 0]
  ------------------
  190|      0|      x = _mi_random_shuffle(x);
  191|      0|      key[i]   = (uint8_t)(x);
  192|      0|      key[i+1] = (uint8_t)(x>>8);
  193|      0|      key[i+2] = (uint8_t)(x>>16);
  194|      0|      key[i+3] = (uint8_t)(x>>24);
  195|      0|    }
  196|      0|    ctx->weak = true;
  197|      0|  }
  198|      2|  else {
  199|       |    ctx->weak = false;
  200|      2|  }
  201|      2|  chacha_init(ctx, key, (uintptr_t)ctx /*nonce*/ );
  202|      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|  ctx->output_available = 0;
  103|      2|  _mi_memzero(ctx->output,sizeof(ctx->output));
  104|     10|  for (size_t i = 0; i < 4; i++) {
  ------------------
  |  Branch (104:22): [True: 8, False: 2]
  ------------------
  105|      8|    const uint8_t* sigma = (uint8_t*)"expand 32-byte k";
  106|      8|    ctx->input[i] = read32(sigma,i);
  107|      8|  }
  108|     18|  for (size_t i = 0; i < 8; i++) {
  ------------------
  |  Branch (108:22): [True: 16, False: 2]
  ------------------
  109|     16|    ctx->input[i + 4] = read32(key,i);
  110|     16|  }
  111|      2|  ctx->input[12] = 0;
  112|      2|  ctx->input[13] = 0;
  113|      2|  ctx->input[14] = (uint32_t)nonce;
  114|      2|  ctx->input[15] = (uint32_t)(nonce >> 32);
  115|      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:
  395|      2|void mi_stats_reset(void) mi_attr_noexcept {
  396|      2|  mi_stats_t* stats = mi_stats_get_default();
  397|      2|  if (stats != &_mi_stats_main) { memset(stats, 0, sizeof(mi_stats_t)); }
  ------------------
  |  Branch (397:7): [True: 2, False: 0]
  ------------------
  398|      2|  memset(&_mi_stats_main, 0, sizeof(mi_stats_t));
  399|      2|  if (mi_process_start == 0) { mi_process_start = _mi_clock_start(); };
  ------------------
  |  Branch (399:7): [True: 2, False: 0]
  ------------------
  400|      2|}
_mi_clock_now:
  435|      6|mi_msecs_t _mi_clock_now(void) {
  436|      6|  return _mi_prim_clock_now();
  437|      6|}
_mi_clock_start:
  439|      2|mi_msecs_t _mi_clock_start(void) {
  440|      2|  if (mi_clock_diff == 0.0) {
  ------------------
  |  Branch (440:7): [True: 2, False: 0]
  ------------------
  441|      2|    mi_msecs_t t0 = _mi_clock_now();
  442|      2|    mi_clock_diff = _mi_clock_now() - t0;
  443|      2|  }
  444|      2|  return _mi_clock_now();
  445|      2|}
obmalloc.c:mi_stats_get_default:
  383|      2|static mi_stats_t* mi_stats_get_default(void) {
  384|      2|  mi_heap_t* heap = mi_heap_get_default();
  385|      2|  return &heap->tld->stats;
  386|      2|}

PyModuleDef_Init:
   83|     76|{
   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|     76|    assert(PyModuleDef_Type.tp_flags & Py_TPFLAGS_READY);
  ------------------
  |  Branch (137:5): [True: 76, False: 0]
  ------------------
  138|     76|    if (def->m_base.m_index == 0) {
  ------------------
  |  Branch (138:9): [True: 42, False: 34]
  ------------------
  139|     42|        Py_SET_REFCNT(def, 1);
  ------------------
  |  |  201|     42|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  140|     42|        Py_SET_TYPE(def, &PyModuleDef_Type);
  ------------------
  |  |  217|     42|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  141|     42|        def->m_base.m_index = _PyImport_GetNextModuleIndex();
  142|     42|    }
  143|     76|    return (PyObject*)def;
  144|     76|}
_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;
  ------------------
  |  |  315|      2|#define MODULE_WATCHER_ID       2
  ------------------
  224|      2|    return 0;
  225|      2|}
PyModule_NewObject:
  248|     48|{
  249|     48|    PyModuleObject *m = new_module_notrack(&PyModule_Type);
  250|     48|    if (m == NULL)
  ------------------
  |  Branch (250:9): [True: 0, False: 48]
  ------------------
  251|      0|        return NULL;
  252|     48|    if (module_init_dict(m, m->md_dict, name, NULL) != 0)
  ------------------
  |  Branch (252:9): [True: 0, False: 48]
  ------------------
  253|      0|        goto fail;
  254|     48|    track_module(m);
  255|     48|    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|     48|}
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|     34|{
  672|     34|    PyModuleDef_Init(def);
  673|       |    return module_from_slots_and_spec(NULL, spec, module_api_version, def);
  674|     34|}
PyModule_Exec:
  753|     34|{
  754|     34|    if (alloc_state(module) < 0) {
  ------------------
  |  Branch (754:9): [True: 0, False: 34]
  ------------------
  755|      0|        return -1;
  756|      0|    }
  757|     34|    PyModuleObject *md = (PyModuleObject*)module;
  758|     34|    if (md->md_exec) {
  ------------------
  |  Branch (758:9): [True: 0, False: 34]
  ------------------
  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|     34|    PyModuleDef *def = _PyModule_GetDefOrNull(module);
  764|     34|    if (def) {
  ------------------
  |  Branch (764:9): [True: 34, False: 0]
  ------------------
  765|     34|        return PyModule_ExecDef(module, def);
  766|     34|    }
  767|      0|    return 0;
  768|     34|}
PyModule_ExecDef:
  772|     34|{
  773|     34|    if (alloc_state(module) < 0) {
  ------------------
  |  Branch (773:9): [True: 0, False: 34]
  ------------------
  774|      0|        return -1;
  775|      0|    }
  776|       |
  777|     34|    assert(PyModule_Check(module));
  ------------------
  |  Branch (777:5): [True: 34, False: 0]
  ------------------
  778|       |
  779|     34|    if (def->m_slots == NULL) {
  ------------------
  |  Branch (779:9): [True: 0, False: 34]
  ------------------
  780|      0|        return 0;
  781|      0|    }
  782|       |
  783|     34|    _PySlotIterator it;
  784|     34|    _PySlotIterator_InitLegacy(&it, def->m_slots, _PySlot_KIND_MOD);
  785|    164|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (785:12): [True: 130, False: 34]
  ------------------
  786|    130|        _Py_modexecfunc func;
  787|    130|        switch (it.current.sl_id) {
  ------------------
  |  Branch (787:17): [True: 32, False: 98]
  ------------------
  788|      0|            case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (788:13): [True: 0, False: 130]
  ------------------
  789|      0|                return -1;
  790|     32|            case Py_mod_exec:
  ------------------
  |  |   93|     32|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|     32|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (790:13): [True: 32, False: 98]
  ------------------
  791|     32|                func = (_Py_modexecfunc)it.current.sl_func;
  792|     32|                if (run_exec_func(module, func) < 0) {
  ------------------
  |  Branch (792:21): [True: 0, False: 32]
  ------------------
  793|      0|                    return -1;
  794|      0|                }
  795|     32|                break;
  796|    130|        }
  797|    130|    }
  798|     34|    return 0;
  799|     34|}
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|     35|{
  818|     35|    PyObject *v;
  819|       |
  820|     35|    v = PyUnicode_FromString(doc);
  821|     35|    if (v == NULL || PyObject_SetAttr(m, &_Py_ID(__doc__), v) != 0) {
  ------------------
  |  |  951|     35|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     35|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     35|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (821:9): [True: 0, False: 35]
  |  Branch (821:22): [True: 0, False: 35]
  ------------------
  822|      0|        Py_XDECREF(v);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) 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|     35|    Py_DECREF(v);
  ------------------
  |  |  430|     35|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  826|     35|    return 0;
  827|     35|}
PyModule_GetDict:
  831|    814|{
  832|    814|    if (!PyModule_Check(m)) {
  ------------------
  |  |   12|    814|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|    814|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    814|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    814|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (832:9): [True: 0, False: 814]
  ------------------
  833|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  834|      0|        return NULL;
  835|      0|    }
  836|    814|    return _PyModule_GetDict(m);  // borrowed reference
  837|    814|}
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) {
  ------------------
  |  |  951|      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);
  ------------------
  |  |  951|      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:
 1033|     35|{
 1034|     35|    if (!PyModule_Check(m)) {
  ------------------
  |  |   12|     35|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|     35|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1034:9): [True: 0, False: 35]
  ------------------
 1035|      0|        PyErr_BadArgument();
 1036|      0|        return NULL;
 1037|      0|    }
 1038|     35|    return _PyModule_GetState(m);
 1039|     35|}
_PyModuleSpec_IsInitializing:
 1179|    645|{
 1180|    645|    if (spec == NULL) {
  ------------------
  |  Branch (1180:9): [True: 0, False: 645]
  ------------------
 1181|      0|        return 0;
 1182|      0|    }
 1183|    645|    PyObject *value;
 1184|    645|    int rc = PyObject_GetOptionalAttr(spec, &_Py_ID(_initializing), &value);
  ------------------
  |  |  951|    645|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    645|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    645|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1185|    645|    if (rc > 0) {
  ------------------
  |  Branch (1185:9): [True: 521, False: 124]
  ------------------
 1186|    521|        rc = PyObject_IsTrue(value);
 1187|    521|        Py_DECREF(value);
  ------------------
  |  |  430|    521|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    521|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    521|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1188|    521|    }
 1189|    645|    return rc;
 1190|    645|}
_PyModuleSpec_IsUninitializedSubmodule:
 1197|     24|{
 1198|     24|    if (spec == NULL) {
  ------------------
  |  Branch (1198:9): [True: 0, False: 24]
  ------------------
 1199|      0|         return 0;
 1200|      0|    }
 1201|       |
 1202|     24|    PyObject *value;
 1203|     24|    int rc = PyObject_GetOptionalAttr(spec, &_Py_ID(_uninitialized_submodules), &value);
  ------------------
  |  |  951|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1204|     24|    if (rc > 0) {
  ------------------
  |  Branch (1204:9): [True: 4, False: 20]
  ------------------
 1205|      4|        rc = PySequence_Contains(value, name);
 1206|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1207|      4|    }
 1208|     24|    return rc;
 1209|     24|}
_PyModuleSpec_GetFileOrigin:
 1213|     25|{
 1214|     25|    PyObject *has_location = NULL;
 1215|     25|    int rc = PyObject_GetOptionalAttr(spec, &_Py_ID(has_location), &has_location);
  ------------------
  |  |  951|     25|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     25|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     25|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1216|     25|    if (rc <= 0) {
  ------------------
  |  Branch (1216:9): [True: 20, False: 5]
  ------------------
 1217|     20|        return rc;
 1218|     20|    }
 1219|       |    // If origin is not a location, or doesn't exist, or is not a str, we could consider falling
 1220|       |    // back to module.__file__. But the cases in which module.__file__ is not __spec__.origin
 1221|       |    // are cases in which we probably shouldn't be guessing.
 1222|      5|    rc = PyObject_IsTrue(has_location);
 1223|      5|    Py_DECREF(has_location);
  ------------------
  |  |  430|      5|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1224|      5|    if (rc <= 0) {
  ------------------
  |  Branch (1224:9): [True: 3, False: 2]
  ------------------
 1225|      3|        return rc;
 1226|      3|    }
 1227|       |    // has_location is true, so origin is a location
 1228|      2|    PyObject *origin = NULL;
 1229|      2|    rc = PyObject_GetOptionalAttr(spec, &_Py_ID(origin), &origin);
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1230|      2|    if (rc <= 0) {
  ------------------
  |  Branch (1230:9): [True: 0, False: 2]
  ------------------
 1231|      0|        return rc;
 1232|      0|    }
 1233|      2|    assert(origin != NULL);
  ------------------
  |  Branch (1233:5): [True: 2, False: 0]
  ------------------
 1234|      2|    if (!PyUnicode_Check(origin)) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1234:9): [True: 0, False: 2]
  ------------------
 1235|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1236|      0|        return 0;
 1237|      0|    }
 1238|      2|    *p_origin = origin;
 1239|      2|    return 1;
 1240|      2|}
_PyModule_IsPossiblyShadowing:
 1244|     25|{
 1245|     25|    int result = 0;
 1246|     25|    wchar_t *root = NULL;
 1247|     25|    wchar_t *sys_path_0_buf = NULL;
 1248|       |
 1249|       |    // origin must be a unicode subtype
 1250|       |    // Returns 1 if the module at origin could be shadowing a module of the
 1251|       |    // same name later in the module search path. The condition we check is basically:
 1252|       |    // root = os.path.dirname(origin.removesuffix(os.sep + "__init__.py"))
 1253|       |    // return not sys.flags.safe_path and root == (sys.path[0] or os.getcwd())
 1254|       |    // Returns 0 otherwise (or if we aren't sure)
 1255|       |    // Returns -1 if an error occurred that should be propagated
 1256|     25|    if (origin == NULL) {
  ------------------
  |  Branch (1256:9): [True: 23, False: 2]
  ------------------
 1257|     23|        return 0;
 1258|     23|    }
 1259|       |
 1260|       |    // not sys.flags.safe_path
 1261|      2|    const PyConfig *config = _Py_GetConfig();
 1262|      2|    if (config->safe_path) {
  ------------------
  |  Branch (1262:9): [True: 0, False: 2]
  ------------------
 1263|      0|        return 0;
 1264|      0|    }
 1265|       |
 1266|       |    // root = os.path.dirname(origin.removesuffix(os.sep + "__init__.py"))
 1267|      2|    root = PyUnicode_AsWideCharString(origin, NULL);
 1268|      2|    if (root == NULL) {
  ------------------
  |  Branch (1268:9): [True: 0, False: 2]
  ------------------
 1269|      0|        return -1;
 1270|      0|    }
 1271|       |
 1272|      2|    wchar_t *sep = wcsrchr(root, SEP);
  ------------------
  |  |   29|      2|#  define SEP L'/'
  ------------------
 1273|      2|    if (sep == NULL) {
  ------------------
  |  Branch (1273:9): [True: 0, False: 2]
  ------------------
 1274|      0|        goto done;
 1275|      0|    }
 1276|       |    // If it's a package then we need to look one directory further up
 1277|      2|    if (wcscmp(sep + 1, L"__init__.py") == 0) {
  ------------------
  |  Branch (1277:9): [True: 0, False: 2]
  ------------------
 1278|      0|        *sep = L'\0';
 1279|      0|        sep = wcsrchr(root, SEP);
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
 1280|      0|        if (sep == NULL) {
  ------------------
  |  Branch (1280:13): [True: 0, False: 0]
  ------------------
 1281|      0|            goto done;
 1282|      0|        }
 1283|      0|    }
 1284|      2|    *sep = L'\0';
 1285|       |
 1286|       |    // sys.path[0] or os.getcwd()
 1287|      2|    wchar_t *sys_path_0 = config->sys_path_0;
 1288|      2|    if (!sys_path_0) {
  ------------------
  |  Branch (1288:9): [True: 2, False: 0]
  ------------------
 1289|      2|        goto done;
 1290|      2|    }
 1291|       |
 1292|      0|    if (sys_path_0[0] == L'\0') {
  ------------------
  |  Branch (1292:9): [True: 0, False: 0]
  ------------------
 1293|       |        // if sys.path[0] == "", treat it as if it were the current directory
 1294|      0|        sys_path_0_buf = PyMem_Malloc(MAXPATHLEN * sizeof(wchar_t));
  ------------------
  |  |   43|      0|#    define MAXPATHLEN PATH_MAX
  ------------------
 1295|      0|        if (sys_path_0_buf == NULL) {
  ------------------
  |  Branch (1295:13): [True: 0, False: 0]
  ------------------
 1296|      0|            PyErr_NoMemory();
 1297|      0|            result = -1;
 1298|      0|            goto done;
 1299|      0|        }
 1300|      0|        if (!_Py_wgetcwd(sys_path_0_buf, MAXPATHLEN)) {
  ------------------
  |  |   43|      0|#    define MAXPATHLEN PATH_MAX
  ------------------
  |  Branch (1300:13): [True: 0, False: 0]
  ------------------
 1301|       |            // If we failed to getcwd, don't raise an exception and instead
 1302|       |            // let the caller proceed assuming no shadowing
 1303|      0|            goto done;
 1304|      0|        }
 1305|      0|        sys_path_0 = sys_path_0_buf;
 1306|      0|    }
 1307|       |
 1308|      0|    result = (wcscmp(sys_path_0, root) == 0);
 1309|       |
 1310|      2|done:
 1311|      2|    PyMem_Free(root);
 1312|      2|    PyMem_Free(sys_path_0_buf);
 1313|      2|    return result;
 1314|      0|}
_Py_module_getattro_impl:
 1335|  5.37k|{
 1336|       |    // When suppress=1, this function suppresses AttributeError.
 1337|  5.37k|    PyObject *attr, *mod_name, *getattr;
 1338|  5.37k|    attr = _PyObject_GenericGetAttrWithDict((PyObject *)m, name, NULL, suppress);
 1339|  5.37k|    if (attr == NULL) {
  ------------------
  |  Branch (1339:9): [True: 261, False: 5.11k]
  ------------------
 1340|    261|        if (suppress == 1) {
  ------------------
  |  Branch (1340:13): [True: 237, False: 24]
  ------------------
 1341|    237|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (1341:17): [True: 0, False: 237]
  ------------------
 1342|       |                // pass up non-AttributeError exception
 1343|      0|                return NULL;
 1344|      0|            }
 1345|    237|        }
 1346|     24|        else {
 1347|     24|            if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1347:17): [True: 0, False: 24]
  ------------------
 1348|       |                // pass up non-AttributeError exception
 1349|      0|                return NULL;
 1350|      0|            }
 1351|     24|            PyErr_Clear();
 1352|     24|        }
 1353|    261|        assert(m->md_dict != NULL);
  ------------------
  |  Branch (1353:9): [True: 261, False: 0]
  ------------------
 1354|    261|        int recheck_dict;
 1355|    261|        attr = _PyImport_TryLoadLazySubmodule((PyObject *)m, name, suppress,
 1356|    261|                                             &recheck_dict);
 1357|    261|        if (attr != NULL || PyErr_Occurred()) {
  ------------------
  |  Branch (1357:13): [True: 0, False: 261]
  |  Branch (1357:29): [True: 0, False: 261]
  ------------------
 1358|      0|            return attr;
 1359|      0|        }
 1360|       |        // A concurrent load may have bound the child and removed its pending
 1361|       |        // registration after our initial dictionary lookup.
 1362|    261|        if (recheck_dict) {
  ------------------
  |  Branch (1362:13): [True: 0, False: 261]
  ------------------
 1363|      0|            if (Py_TYPE(m) != &PyModule_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 (1363:17): [True: 0, False: 0]
  ------------------
 1364|      0|                PyObject *descr = _PyType_LookupRef(Py_TYPE(m), name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_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|                if (descr != NULL) {
  ------------------
  |  Branch (1365:21): [True: 0, False: 0]
  ------------------
 1366|       |                    // Preserve the fallback after a descriptor raised.
 1367|      0|                    recheck_dict = Py_TYPE(descr)->tp_descr_get == 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1368|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1369|      0|                }
 1370|      0|            }
 1371|      0|            if (recheck_dict &&
  ------------------
  |  Branch (1371:17): [True: 0, False: 0]
  ------------------
 1372|      0|                PyDict_GetItemRef(m->md_dict, name, &attr) < 0) {
  ------------------
  |  Branch (1372:17): [True: 0, False: 0]
  ------------------
 1373|      0|                return NULL;
 1374|      0|            }
 1375|      0|        }
 1376|    261|    }
 1377|  5.37k|    if (attr) {
  ------------------
  |  Branch (1377:9): [True: 5.11k, False: 261]
  ------------------
 1378|  5.11k|        if (PyLazyImport_CheckExact(attr)) {
  ------------------
  |  |   15|  5.11k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|  5.11k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 5.11k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1379|      0|            PyThreadState *tstate = PyThreadState_GET();
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 1380|      0|            if (suppress && _PyLazyImport_IsResolving(tstate, attr)) {
  ------------------
  |  Branch (1380:17): [True: 0, False: 0]
  |  Branch (1380:29): [True: 0, False: 0]
  ------------------
 1381|       |                // Only direct reentry means this attribute is unavailable.
 1382|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1383|      0|                return NULL;
 1384|      0|            }
 1385|      0|            PyObject *new_value = _PyLazyImport_Reify(
 1386|      0|                tstate, attr, name, m->md_dict);
 1387|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1388|      0|            return new_value;
 1389|      0|        }
 1390|  5.11k|        return attr;
 1391|  5.11k|    }
 1392|    261|    if (module_get_resolved_dict_item(
  ------------------
  |  Branch (1392:9): [True: 0, False: 261]
  ------------------
 1393|    261|            m->md_dict, &_Py_ID(__getattr__), &getattr) < 0) {
  ------------------
  |  |  951|    261|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    261|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    261|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1394|      0|        return NULL;
 1395|      0|    }
 1396|    261|    if (getattr) {
  ------------------
  |  Branch (1396:9): [True: 6, False: 255]
  ------------------
 1397|      6|        PyObject *result = PyObject_CallOneArg(getattr, name);
 1398|      6|        if (result == NULL && suppress == 1 && PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1398:13): [True: 6, False: 0]
  |  Branch (1398:31): [True: 6, False: 0]
  |  Branch (1398:48): [True: 6, False: 0]
  ------------------
 1399|       |            // suppress AttributeError
 1400|      6|            PyErr_Clear();
 1401|      6|        }
 1402|      6|        Py_DECREF(getattr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1403|      6|        return result;
 1404|      6|    }
 1405|       |
 1406|       |    // The attribute was not found.  We make a best effort attempt at a useful error message,
 1407|       |    // but only if we're not suppressing AttributeError.
 1408|    255|    if (suppress == 1) {
  ------------------
  |  Branch (1408:9): [True: 231, False: 24]
  ------------------
 1409|    231|        return NULL;
 1410|    231|    }
 1411|     24|    if (PyDict_GetItemRef(m->md_dict, &_Py_ID(__name__), &mod_name) < 0) {
  ------------------
  |  |  951|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1411:9): [True: 0, False: 24]
  ------------------
 1412|      0|        return NULL;
 1413|      0|    }
 1414|     24|    if (!mod_name || !PyUnicode_Check(mod_name)) {
  ------------------
  |  |  103|     24|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     24|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1414:9): [True: 0, False: 24]
  |  Branch (1414:22): [True: 0, False: 24]
  ------------------
 1415|      0|        Py_XDECREF(mod_name);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1416|      0|        PyErr_Format(PyExc_AttributeError,
 1417|      0|                    "module has no attribute '%U'", name);
 1418|      0|        return NULL;
 1419|      0|    }
 1420|     24|    PyObject *spec;
 1421|     24|    if (PyDict_GetItemRef(m->md_dict, &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  951|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1421:9): [True: 0, False: 24]
  ------------------
 1422|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1423|      0|        return NULL;
 1424|      0|    }
 1425|     24|    if (spec == NULL) {
  ------------------
  |  Branch (1425:9): [True: 0, False: 24]
  ------------------
 1426|      0|        PyErr_Format(PyExc_AttributeError,
 1427|      0|                     "module '%U' has no attribute '%U'",
 1428|      0|                     mod_name, name);
 1429|      0|        Py_DECREF(mod_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1430|      0|        return NULL;
 1431|      0|    }
 1432|       |
 1433|     24|    PyObject *origin = NULL;
 1434|     24|    if (_PyModuleSpec_GetFileOrigin(spec, &origin) < 0) {
  ------------------
  |  Branch (1434:9): [True: 0, False: 24]
  ------------------
 1435|      0|        goto done;
 1436|      0|    }
 1437|       |
 1438|     24|    int is_possibly_shadowing = _PyModule_IsPossiblyShadowing(origin);
 1439|     24|    if (is_possibly_shadowing < 0) {
  ------------------
  |  Branch (1439:9): [True: 0, False: 24]
  ------------------
 1440|      0|        goto done;
 1441|      0|    }
 1442|     24|    int is_possibly_shadowing_stdlib = 0;
 1443|     24|    if (is_possibly_shadowing) {
  ------------------
  |  Branch (1443:9): [True: 0, False: 24]
  ------------------
 1444|      0|        PyObject *stdlib_modules;
 1445|      0|        if (PySys_GetOptionalAttrString("stdlib_module_names", &stdlib_modules) < 0) {
  ------------------
  |  Branch (1445:13): [True: 0, False: 0]
  ------------------
 1446|      0|            goto done;
 1447|      0|        }
 1448|      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 (1448:13): [True: 0, False: 0]
  ------------------
 1449|      0|            is_possibly_shadowing_stdlib = PySet_Contains(stdlib_modules, mod_name);
 1450|      0|            if (is_possibly_shadowing_stdlib < 0) {
  ------------------
  |  Branch (1450:17): [True: 0, False: 0]
  ------------------
 1451|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1452|      0|                goto done;
 1453|      0|            }
 1454|      0|        }
 1455|      0|        Py_XDECREF(stdlib_modules);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1456|      0|    }
 1457|       |
 1458|     24|    if (is_possibly_shadowing_stdlib) {
  ------------------
  |  Branch (1458:9): [True: 0, False: 24]
  ------------------
 1459|      0|        assert(origin);
  ------------------
  |  Branch (1459:9): [True: 0, False: 0]
  ------------------
 1460|      0|        PyErr_Format(PyExc_AttributeError,
 1461|      0|                    "module '%U' has no attribute '%U' "
 1462|      0|                    "(consider renaming '%U' since it has the same "
 1463|      0|                    "name as the standard library module named '%U' "
 1464|      0|                    "and prevents importing that standard library module)",
 1465|      0|                    mod_name, name, origin, mod_name);
 1466|      0|    }
 1467|     24|    else {
 1468|     24|        int rc = _PyModuleSpec_IsInitializing(spec);
 1469|     24|        if (rc < 0) {
  ------------------
  |  Branch (1469:13): [True: 0, False: 24]
  ------------------
 1470|      0|            goto done;
 1471|      0|        }
 1472|     24|        else if (rc > 0) {
  ------------------
  |  Branch (1472:18): [True: 0, False: 24]
  ------------------
 1473|      0|            if (is_possibly_shadowing) {
  ------------------
  |  Branch (1473:17): [True: 0, False: 0]
  ------------------
 1474|      0|                assert(origin);
  ------------------
  |  Branch (1474:17): [True: 0, False: 0]
  ------------------
 1475|       |                // For non-stdlib modules, only mention the possibility of
 1476|       |                // shadowing if the module is being initialized.
 1477|      0|                PyErr_Format(PyExc_AttributeError,
 1478|      0|                            "module '%U' has no attribute '%U' "
 1479|      0|                            "(consider renaming '%U' if it has the same name "
 1480|      0|                            "as a library you intended to import)",
 1481|      0|                            mod_name, name, origin);
 1482|      0|            }
 1483|      0|            else if (origin) {
  ------------------
  |  Branch (1483:22): [True: 0, False: 0]
  ------------------
 1484|      0|                PyErr_Format(PyExc_AttributeError,
 1485|      0|                            "partially initialized "
 1486|      0|                            "module '%U' from '%U' has no attribute '%U' "
 1487|      0|                            "(most likely due to a circular import)",
 1488|      0|                            mod_name, origin, name);
 1489|      0|            }
 1490|      0|            else {
 1491|      0|                PyErr_Format(PyExc_AttributeError,
 1492|      0|                            "partially initialized "
 1493|      0|                            "module '%U' has no attribute '%U' "
 1494|      0|                            "(most likely due to a circular import)",
 1495|      0|                            mod_name, name);
 1496|      0|            }
 1497|      0|        }
 1498|     24|        else {
 1499|     24|            assert(rc == 0);
  ------------------
  |  Branch (1499:13): [True: 24, False: 0]
  ------------------
 1500|     24|            rc = _PyModuleSpec_IsUninitializedSubmodule(spec, name);
 1501|     24|            if (rc > 0) {
  ------------------
  |  Branch (1501:17): [True: 0, False: 24]
  ------------------
 1502|      0|                PyErr_Format(PyExc_AttributeError,
 1503|      0|                            "cannot access submodule '%U' of module '%U' "
 1504|      0|                            "(most likely due to a circular import)",
 1505|      0|                            name, mod_name);
 1506|      0|            }
 1507|     24|            else if (rc == 0) {
  ------------------
  |  Branch (1507:22): [True: 24, False: 0]
  ------------------
 1508|     24|                PyErr_Format(PyExc_AttributeError,
 1509|     24|                            "module '%U' has no attribute '%U'",
 1510|     24|                            mod_name, name);
 1511|     24|            }
 1512|     24|        }
 1513|     24|    }
 1514|       |
 1515|     24|done:
 1516|     24|    Py_XDECREF(origin);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1517|     24|    Py_DECREF(spec);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1518|     24|    Py_DECREF(mod_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1519|       |    return NULL;
 1520|     24|}
_Py_module_getattro:
 1525|  3.52k|{
 1526|  3.52k|    PyModuleObject *m = _PyModule_CAST(self);
  ------------------
  |  |   24|  3.52k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1526:25): [True: 3.52k, False: 0]
  ------------------
 1527|      0|    return _Py_module_getattro_impl(m, name, 0);
 1528|  3.52k|}
moduleobject.c:module_dict_watcher:
  206|  7.38k|{
  207|  7.38k|    assert(PyDict_Check(dict));
  ------------------
  |  Branch (207:5): [True: 7.38k, False: 0]
  ------------------
  208|       |    // Only if a new lazy object shows up do we need to clear the dictionary. If
  209|       |    // this is adding a new key then the version will be reset anyway.
  210|  7.38k|    if (event == PyDict_EVENT_MODIFIED &&
  ------------------
  |  Branch (210:9): [True: 829, False: 6.55k]
  ------------------
  211|    829|        new_value != NULL &&
  ------------------
  |  Branch (211:9): [True: 829, False: 0]
  ------------------
  212|    829|        PyLazyImport_CheckExact(new_value)) {
  ------------------
  |  |   15|    829|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|    829|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    829|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    829|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 829]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  213|      0|        _PyDict_ClearKeysVersionLockHeld(dict);
  214|      0|    }
  215|  7.38k|    return 0;
  216|  7.38k|}
moduleobject.c:new_module_notrack:
  173|     99|{
  174|     99|    PyModuleObject *m;
  175|     99|    m = (PyModuleObject *)_PyType_AllocNoTrack(mt, 0);
  176|     99|    if (m == NULL)
  ------------------
  |  Branch (176:9): [True: 0, False: 99]
  ------------------
  177|      0|        return NULL;
  178|     99|    m->md_state = NULL;
  179|     99|    m->md_weaklist = NULL;
  180|     99|    m->md_name = NULL;
  181|     99|    m->md_token_is_def = false;
  182|       |#ifdef Py_GIL_DISABLED
  183|       |    m->md_requires_gil = true;
  184|       |#endif
  185|     99|    m->md_state_size = 0;
  186|     99|    m->md_state_traverse = NULL;
  187|     99|    m->md_state_clear = NULL;
  188|     99|    m->md_state_free = NULL;
  189|     99|    m->md_exec = NULL;
  190|     99|    m->md_token = NULL;
  191|     99|    m->md_dict = PyDict_New();
  192|     99|    if (m->md_dict == NULL) {
  ------------------
  |  Branch (192:9): [True: 0, False: 99]
  ------------------
  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|     99|    return m;
  197|     99|}
moduleobject.c:module_init_dict:
  149|     99|{
  150|     99|    assert(md_dict != NULL);
  ------------------
  |  Branch (150:5): [True: 99, False: 0]
  ------------------
  151|     99|    if (doc == NULL)
  ------------------
  |  Branch (151:9): [True: 48, False: 51]
  ------------------
  152|     48|        doc = Py_None;
  ------------------
  |  |  616|     48|#  define Py_None (&_Py_NoneStruct)
  ------------------
  153|       |
  154|     99|    if (PyDict_SetItem(md_dict, &_Py_ID(__name__), name) != 0)
  ------------------
  |  |  951|     99|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     99|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     99|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (154:9): [True: 0, False: 99]
  ------------------
  155|      0|        return -1;
  156|     99|    if (PyDict_SetItem(md_dict, &_Py_ID(__doc__), doc) != 0)
  ------------------
  |  |  951|     99|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     99|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     99|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (156:9): [True: 0, False: 99]
  ------------------
  157|      0|        return -1;
  158|     99|    if (PyDict_SetItem(md_dict, &_Py_ID(__package__), Py_None) != 0)
  ------------------
  |  |  951|     99|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     99|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     99|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyDict_SetItem(md_dict, &_Py_ID(__package__), Py_None) != 0)
  ------------------
  |  |  616|     99|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (158:9): [True: 0, False: 99]
  ------------------
  159|      0|        return -1;
  160|     99|    if (PyDict_SetItem(md_dict, &_Py_ID(__loader__), Py_None) != 0)
  ------------------
  |  |  951|     99|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     99|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     99|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyDict_SetItem(md_dict, &_Py_ID(__loader__), Py_None) != 0)
  ------------------
  |  |  616|     99|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (160:9): [True: 0, False: 99]
  ------------------
  161|      0|        return -1;
  162|     99|    if (PyDict_SetItem(md_dict, &_Py_ID(__spec__), Py_None) != 0)
  ------------------
  |  |  951|     99|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     99|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     99|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyDict_SetItem(md_dict, &_Py_ID(__spec__), Py_None) != 0)
  ------------------
  |  |  616|     99|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (162:9): [True: 0, False: 99]
  ------------------
  163|      0|        return -1;
  164|     99|    if (PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|     99|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|     99|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     99|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     99|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 99, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|     99|        Py_XSETREF(mod->md_name, Py_NewRef(name));
  ------------------
  |  |  576|     99|    do { \
  |  |  577|     99|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     99|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     99|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     99|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     99|        *_tmp_dst_ptr = (src); \
  |  |  580|     99|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     99|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     99|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     99|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     99|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 99]
  |  |  ------------------
  ------------------
  166|     99|    }
  167|       |
  168|     99|    return 0;
  169|     99|}
moduleobject.c:track_module:
  229|     99|{
  230|     99|    _PyDict_EnablePerThreadRefcounting(m->md_dict);
  231|     99|    _PyObject_SetDeferredRefcount((PyObject *)m);
  232|     99|    PyDict_Watch(MODULE_WATCHER_ID, m->md_dict);
  ------------------
  |  |  315|     99|#define MODULE_WATCHER_ID       2
  ------------------
  233|     99|    PyObject_GC_Track(m);
  234|     99|}
moduleobject.c:check_api_version:
  280|     42|{
  281|     42|    if (module_api_version != PYTHON_API_VERSION && module_api_version != PYTHON_ABI_VERSION) {
  ------------------
  |  |   59|     84|#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: 42]
  |  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|     42|    return 1;
  292|     42|}
moduleobject.c:module_copy_members_from_deflike:
  338|     42|{
  339|     42|    md->md_state_size = def_like->m_size;
  340|     42|    md->md_state_traverse = def_like->m_traverse;
  341|     42|    md->md_state_clear = def_like->m_clear;
  342|     42|    md->md_state_free = def_like->m_free;
  343|     42|}
moduleobject.c:module_from_slots_and_spec:
  408|     34|{
  409|     34|    createfunc_t create = NULL;
  410|     34|    PyObject *nameobj;
  411|     34|    PyObject *m = NULL;
  412|     34|    uint64_t multiple_interpreters = (uint64_t)(uintptr_t)Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED;
  ------------------
  |  |   81|     34|#  define Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED ((void *)1)
  ------------------
  413|     34|    bool requires_gil = true;
  414|     34|    const char *name;
  415|     34|    int ret;
  416|     34|    void *token = NULL;
  417|     34|    _Py_modexecfunc m_exec = NULL;
  418|     34|    PyInterpreterState *interp = _PyInterpreterState_GET();
  419|       |
  420|     34|    nameobj = PyObject_GetAttrString(spec, "name");
  421|     34|    if (nameobj == NULL) {
  ------------------
  |  Branch (421:9): [True: 0, False: 34]
  ------------------
  422|      0|        return NULL;
  423|      0|    }
  424|     34|    name = PyUnicode_AsUTF8(nameobj);
  425|     34|    if (name == NULL) {
  ------------------
  |  Branch (425:9): [True: 0, False: 34]
  ------------------
  426|      0|        goto error;
  427|      0|    }
  428|       |
  429|     34|    if (!check_api_version(name, module_api_version)) {
  ------------------
  |  Branch (429:9): [True: 0, False: 34]
  ------------------
  430|      0|        goto error;
  431|      0|    }
  432|       |
  433|     34|    _PySlotIterator it;
  434|       |
  435|     34|    PyModuleDef _dummy_def = {0};
  436|     34|    PyModuleDef *def_like;
  437|     34|    if (slots) {
  ------------------
  |  Branch (437:9): [True: 0, False: 34]
  ------------------
  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|     34|    else {
  443|     34|        assert(original_def);
  ------------------
  |  Branch (443:9): [True: 34, False: 0]
  ------------------
  444|     34|        def_like = original_def;
  445|     34|         _PySlotIterator_InitLegacy(&it, def_like->m_slots, _PySlot_KIND_MOD);
  446|     34|    }
  447|     34|    it.name = name;
  448|       |
  449|    164|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (449:12): [True: 130, False: 34]
  ------------------
  450|    130|        switch (it.current.sl_id) {
  ------------------
  |  Branch (450:17): [True: 130, False: 0]
  ------------------
  451|      0|            case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (451:13): [True: 0, False: 130]
  ------------------
  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: 130]
  ------------------
  454|      0|                create = (createfunc_t)it.current.sl_func;
  455|      0|                break;
  456|     32|            case Py_mod_exec:
  ------------------
  |  |   93|     32|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|     32|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (456:13): [True: 32, False: 98]
  ------------------
  457|     32|                if (!original_def) {
  ------------------
  |  Branch (457:21): [True: 0, False: 32]
  ------------------
  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|     32|                break;
  468|     34|            case Py_mod_multiple_interpreters:
  ------------------
  |  |   94|     34|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|     34|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (468:13): [True: 34, False: 96]
  ------------------
  469|     34|                multiple_interpreters = it.current.sl_uint64;
  470|     34|                break;
  471|     34|            case Py_mod_gil:
  ------------------
  |  |   95|     34|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|     34|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (471:13): [True: 34, False: 96]
  ------------------
  472|     34|                {
  473|     34|                    uint64_t val = it.current.sl_uint64;
  474|     34|                    requires_gil = (val != (uint64_t)(uintptr_t)Py_MOD_GIL_NOT_USED);
  ------------------
  |  |   88|     34|#  define Py_MOD_GIL_NOT_USED ((void *)1)
  ------------------
  475|     34|                }
  476|     34|                break;
  477|     30|            case Py_mod_abi:
  ------------------
  |  |  117|     30|#define Py_mod_abi 109
  ------------------
  |  Branch (477:13): [True: 30, False: 100]
  ------------------
  478|     30|                if (PyABIInfo_Check(it.current.sl_ptr, name) < 0) {
  ------------------
  |  Branch (478:21): [True: 0, False: 30]
  ------------------
  479|      0|                    goto error;
  480|      0|                }
  481|     30|                break;
  482|     30|            case Py_mod_token:
  ------------------
  |  |  118|      0|#define Py_mod_token 110
  ------------------
  |  Branch (482:13): [True: 0, False: 130]
  ------------------
  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: 130]
  |  |  ------------------
  |  |  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: 130]
  |  |  ------------------
  |  |  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: 130]
  |  |  ------------------
  |  |  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: 130]
  |  |  ------------------
  |  |  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: 130]
  |  |  ------------------
  |  |  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: 130]
  |  |  ------------------
  |  |  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|    130|            DEF_SLOT_CASE(Py_mod_state_free, freefunc, sl_func, m_free)
  ------------------
  |  |  495|      0|            case SLOT:                                                      \
  |  |  ------------------
  |  |  |  Branch (495:13): [True: 0, False: 130]
  |  |  ------------------
  |  |  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|    130|#undef DEF_SLOT_CASE
  522|    130|        }
  523|    130|    }
  524|     34|    if (!original_def && !_PySlotIterator_SawSlot(&it, Py_mod_abi)) {
  ------------------
  |  |  117|      0|#define Py_mod_abi 109
  ------------------
  |  Branch (524:9): [True: 0, False: 34]
  |  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|     34|    if (def_like->m_size < 0) {
  ------------------
  |  Branch (549:9): [True: 0, False: 34]
  ------------------
  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|     34|    if (multiple_interpreters == (int64_t)(intptr_t)Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED) {
  ------------------
  |  |   80|     34|#  define Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED ((void *)0)
  ------------------
  |  Branch (559:9): [True: 0, False: 34]
  ------------------
  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|     34|    else if (multiple_interpreters != (int64_t)(intptr_t)Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
  ------------------
  |  |   82|     68|#  define Py_MOD_PER_INTERPRETER_GIL_SUPPORTED ((void *)2)
  ------------------
  |  Branch (566:14): [True: 0, False: 34]
  ------------------
  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|     34|    if (create) {
  ------------------
  |  Branch (574:9): [True: 0, False: 34]
  ------------------
  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|     34|    } else {
  594|     34|        m = PyModule_NewObject(nameobj);
  595|     34|        if (m == NULL) {
  ------------------
  |  Branch (595:13): [True: 0, False: 34]
  ------------------
  596|      0|            goto error;
  597|      0|        }
  598|     34|    }
  599|       |
  600|     34|    if (PyModule_Check(m)) {
  ------------------
  |  |   12|     34|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|     34|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 34, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  601|     34|        PyModuleObject *mod = (PyModuleObject*)m;
  602|     34|        mod->md_state = NULL;
  603|     34|        module_copy_members_from_deflike(mod, def_like);
  604|     34|        if (original_def) {
  ------------------
  |  Branch (604:13): [True: 34, False: 0]
  ------------------
  605|     34|            assert (!token || token == original_def);
  ------------------
  |  Branch (605:13): [True: 34, False: 0]
  |  Branch (605:13): [True: 0, False: 0]
  ------------------
  606|     34|            mod->md_token = original_def;
  607|     34|            mod->md_token_is_def = 1;
  608|     34|        }
  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|     34|        (void)requires_gil;
  616|     34|#endif
  617|     34|        mod->md_exec = m_exec;
  618|     34|    } 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|     34|    if (def_like->m_methods != NULL) {
  ------------------
  |  Branch (646:9): [True: 33, False: 1]
  ------------------
  647|     33|        ret = _add_methods_to_object(m, nameobj, def_like->m_methods);
  648|     33|        if (ret != 0) {
  ------------------
  |  Branch (648:13): [True: 0, False: 33]
  ------------------
  649|      0|            goto error;
  650|      0|        }
  651|     33|    }
  652|       |
  653|     34|    if (def_like->m_doc != NULL) {
  ------------------
  |  Branch (653:9): [True: 29, False: 5]
  ------------------
  654|     29|        ret = PyModule_SetDocString(m, def_like->m_doc);
  655|     29|        if (ret != 0) {
  ------------------
  |  Branch (655:13): [True: 0, False: 29]
  ------------------
  656|      0|            goto error;
  657|      0|        }
  658|     29|    }
  659|       |
  660|     34|    Py_DECREF(nameobj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  661|     34|    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);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) 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|     34|}
moduleobject.c:alloc_state:
  729|     68|{
  730|     68|    if (!PyModule_Check(module)) {
  ------------------
  |  |   12|     68|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|     68|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (730:9): [True: 0, False: 68]
  ------------------
  731|      0|        PyErr_Format(PyExc_TypeError, "expected module, got %T", module);
  732|      0|        return -1;
  733|      0|    }
  734|     68|    PyModuleObject *md = (PyModuleObject*)module;
  735|       |
  736|     68|    if (md->md_state_size >= 0) {
  ------------------
  |  Branch (736:9): [True: 68, False: 0]
  ------------------
  737|     68|        if (md->md_state == NULL) {
  ------------------
  |  Branch (737:13): [True: 34, False: 34]
  ------------------
  738|       |            /* Always set a state pointer; this serves as a marker to skip
  739|       |             * multiple initialization (importlib.reload() is no-op) */
  740|     34|            md->md_state = PyMem_Malloc(md->md_state_size);
  741|     34|            if (!md->md_state) {
  ------------------
  |  Branch (741:17): [True: 0, False: 34]
  ------------------
  742|      0|                PyErr_NoMemory();
  743|      0|                return -1;
  744|      0|            }
  745|     34|            memset(md->md_state, 0, md->md_state_size);
  746|     34|        }
  747|     68|    }
  748|     68|    return 0;
  749|     68|}
moduleobject.c:run_exec_func:
  706|     32|{
  707|     32|    int ret = exec(module);
  708|     32|    if (ret != 0) {
  ------------------
  |  Branch (708:9): [True: 0, False: 32]
  ------------------
  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|     32|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (717:9): [True: 0, False: 32]
  ------------------
  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|     32|    return 0;
  725|     32|}
moduleobject.c:_add_methods_to_object:
  296|     41|{
  297|     41|    PyObject *func;
  298|     41|    PyMethodDef *fdef;
  299|       |
  300|  1.01k|    for (fdef = functions; fdef->ml_name != NULL; fdef++) {
  ------------------
  |  Branch (300:28): [True: 976, False: 41]
  ------------------
  301|    976|        if ((fdef->ml_flags & METH_CLASS) ||
  ------------------
  |  |  104|    976|#define METH_CLASS    0x0010
  ------------------
  |  Branch (301:13): [True: 0, False: 976]
  ------------------
  302|    976|            (fdef->ml_flags & METH_STATIC)) {
  ------------------
  |  |  105|    976|#define METH_STATIC   0x0020
  ------------------
  |  Branch (302:13): [True: 0, False: 976]
  ------------------
  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|    976|        func = PyCFunction_NewEx(fdef, (PyObject*)module, name);
  ------------------
  |  |   87|    976|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  309|    976|        if (func == NULL) {
  ------------------
  |  Branch (309:13): [True: 0, False: 976]
  ------------------
  310|      0|            return -1;
  311|      0|        }
  312|    976|        _PyObject_SetDeferredRefcount(func);
  313|    976|        if (PyObject_SetAttrString(module, fdef->ml_name, func) != 0) {
  ------------------
  |  Branch (313:13): [True: 0, False: 976]
  ------------------
  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|    976|        Py_DECREF(func);
  ------------------
  |  |  430|    976|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    976|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    976|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  318|    976|    }
  319|       |
  320|     41|    return 0;
  321|     41|}
moduleobject.c:module_get_resolved_dict_item:
 1318|    263|{
 1319|    263|    int rc = PyDict_GetItemRef(dict, name, result);
 1320|    263|    if (rc <= 0 || !PyLazyImport_CheckExact(*result)) {
  ------------------
  |  |   15|      6|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_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 (1320:9): [True: 257, False: 6]
  |  Branch (1320:20): [True: 6, False: 0]
  ------------------
 1321|    263|        return rc;
 1322|    263|    }
 1323|      0|    PyThreadState *tstate = PyThreadState_GET();
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 1324|      0|    if (_PyLazyImport_IsResolving(tstate, *result)) {
  ------------------
  |  Branch (1324:9): [True: 0, False: 0]
  ------------------
 1325|      0|        Py_CLEAR(*result);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1326|      0|        return 0;
 1327|      0|    }
 1328|      0|    PyObject *value = _PyLazyImport_Reify(tstate, *result, name, dict);
 1329|      0|    Py_SETREF(*result, value);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1330|      0|    return value == NULL ? -1 : 1;
  ------------------
  |  Branch (1330:12): [True: 0, False: 0]
  ------------------
 1331|      0|}
moduleobject.c:assert_def_missing_or_redundant:
   34|    168|{
   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|    168|#ifndef NDEBUG
   40|    168|    if (m->md_token_is_def) {
  ------------------
  |  Branch (40:9): [True: 76, False: 92]
  ------------------
   41|     76|        PyModuleDef *def = (PyModuleDef *)m->md_token;
   42|     76|        assert(def);
  ------------------
  |  Branch (42:9): [True: 76, False: 0]
  ------------------
   43|     76|#define DO_ASSERT(F) assert (def->m_ ## F == m->md_state_ ## F);
   44|     76|        DO_ASSERT(size);
  ------------------
  |  |   43|     76|#define DO_ASSERT(F) assert (def->m_ ## F == m->md_state_ ## F);
  ------------------
  |  Branch (44:9): [True: 76, False: 0]
  ------------------
   45|     76|        DO_ASSERT(traverse);
  ------------------
  |  |   43|     76|#define DO_ASSERT(F) assert (def->m_ ## F == m->md_state_ ## F);
  ------------------
  |  Branch (45:9): [True: 76, False: 0]
  ------------------
   46|     76|        DO_ASSERT(clear);
  ------------------
  |  |   43|     76|#define DO_ASSERT(F) assert (def->m_ ## F == m->md_state_ ## F);
  ------------------
  |  Branch (46:9): [True: 76, False: 0]
  ------------------
   47|     76|        DO_ASSERT(free);
  ------------------
  |  |   43|     76|#define DO_ASSERT(F) assert (def->m_ ## F == m->md_state_ ## F);
  ------------------
  |  Branch (47:9): [True: 76, False: 0]
  ------------------
   48|     76|#undef DO_ASSERT
   49|     76|    }
   50|    168|#endif // NDEBUG
   51|    168|}
moduleobject.c:module_traverse:
 1532|    168|{
 1533|    168|    PyModuleObject *m = _PyModule_CAST(self);
  ------------------
  |  |   24|    168|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    168|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1533:25): [True: 168, False: 0]
  ------------------
 1534|       |
 1535|      0|    assert_def_missing_or_redundant(m);
 1536|       |    /* bpo-39824: Don't call m_traverse() if m_size > 0 and md_state=NULL */
 1537|    168|    if (m->md_state_traverse && (m->md_state_size <= 0 || m->md_state != NULL))
  ------------------
  |  Branch (1537:9): [True: 28, False: 140]
  |  Branch (1537:34): [True: 0, False: 28]
  |  Branch (1537:59): [True: 28, False: 0]
  ------------------
 1538|     28|    {
 1539|     28|        int res = m->md_state_traverse((PyObject*)m, visit, arg);
 1540|     28|        if (res)
  ------------------
  |  Branch (1540:13): [True: 0, False: 28]
  ------------------
 1541|      0|            return res;
 1542|     28|    }
 1543|       |
 1544|    168|    Py_VISIT(m->md_dict);
  ------------------
  |  |  194|    168|    do {                                                                \
  |  |  195|    168|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 168, False: 0]
  |  |  ------------------
  |  |  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|    168|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 168]
  |  |  ------------------
  ------------------
 1545|    168|    return 0;
 1546|    168|}
moduleobject.c:module_dir:
 1573|      2|{
 1574|      2|    PyObject *result = NULL;
 1575|      2|    PyObject *dict;
 1576|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1577|      2|        dict = Py_NewRef(((PyModuleObject *)self)->md_dict);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1578|      2|    } else {
 1579|      0|        dict = PyObject_GetAttr(self, &_Py_ID(__dict__));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1580|      0|    }
 1581|       |
 1582|      2|    if (dict != NULL) {
  ------------------
  |  Branch (1582:9): [True: 2, False: 0]
  ------------------
 1583|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1584|      2|            PyObject *dirfunc;
 1585|      2|            int rc = module_get_resolved_dict_item(
 1586|      2|                dict, &_Py_ID(__dir__), &dirfunc);
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1587|      2|            if (rc > 0) {
  ------------------
  |  Branch (1587:17): [True: 0, False: 2]
  ------------------
 1588|      0|                result = _PyObject_CallNoArgs(dirfunc);
 1589|      0|                Py_DECREF(dirfunc);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1590|      0|            }
 1591|      2|            else if (rc == 0) {
  ------------------
  |  Branch (1591:22): [True: 2, False: 0]
  ------------------
 1592|      2|                result = PyDict_Keys(dict);
 1593|      2|            }
 1594|      2|        }
 1595|      0|        else {
 1596|      0|            PyErr_Format(PyExc_TypeError, "<module>.__dict__ is not a dictionary");
 1597|      0|        }
 1598|      2|    }
 1599|       |
 1600|      2|    Py_XDECREF(dict);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1601|      2|    return result;
 1602|      2|}
moduleobject.c:module___init___impl:
 1135|     51|{
 1136|     51|    return module_init_dict(self, self->md_dict, name, doc);
 1137|     51|}
moduleobject.c:new_module:
  238|     51|{
  239|     51|    PyModuleObject *m = new_module_notrack(mt);
  240|     51|    if (m != NULL) {
  ------------------
  |  Branch (240:9): [True: 51, False: 0]
  ------------------
  241|     51|        track_module(m);
  242|     51|    }
  243|     51|    return (PyObject *)m;
  244|     51|}

_PyNamespace_New:
  333|      8|{
  334|      8|    PyObject *ns = namespace_new(&_PyNamespace_Type, NULL, NULL);
  335|      8|    if (ns == NULL)
  ------------------
  |  Branch (335:9): [True: 0, False: 8]
  ------------------
  336|      0|        return NULL;
  337|       |
  338|      8|    if (kwds == NULL)
  ------------------
  |  Branch (338:9): [True: 2, False: 6]
  ------------------
  339|      2|        return ns;
  340|      6|    if (PyDict_Update(((_PyNamespaceObject *)ns)->ns_dict, kwds) != 0) {
  ------------------
  |  Branch (340:9): [True: 0, False: 6]
  ------------------
  341|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  342|      0|        return NULL;
  343|      0|    }
  344|       |
  345|      6|    return (PyObject *)ns;
  346|      6|}
namespaceobject.c:namespace_dealloc:
   91|      2|{
   92|      2|    _PyNamespaceObject *ns = _PyNamespace_CAST(op);
  ------------------
  |  |   20|      2|#define _PyNamespace_CAST(op) _Py_CAST(_PyNamespaceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   93|      2|    PyObject_GC_UnTrack(ns);
   94|      2|    Py_CLEAR(ns->ns_dict);
  ------------------
  |  |  487|      2|    do { \
  |  |  488|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  491|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      2|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      2|        } \
  |  |  494|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   95|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|      2|}
namespaceobject.c:namespace_traverse:
  186|     64|{
  187|     64|    _PyNamespaceObject *ns = _PyNamespace_CAST(op);
  ------------------
  |  |   20|     64|#define _PyNamespace_CAST(op) _Py_CAST(_PyNamespaceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  188|     64|    Py_VISIT(ns->ns_dict);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  189|     64|    return 0;
  190|     64|}
namespaceobject.c:namespace_init:
   55|     28|{
   56|     28|    _PyNamespaceObject *ns = _PyNamespace_CAST(op);
  ------------------
  |  |   20|     28|#define _PyNamespace_CAST(op) _Py_CAST(_PyNamespaceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   57|     28|    PyObject *arg = NULL;
   58|     28|    if (!PyArg_UnpackTuple(args, _PyType_Name(Py_TYPE(ns)), 0, 1, &arg)) {
  ------------------
  |  |  213|     28|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (58:9): [True: 0, False: 28]
  ------------------
   59|      0|        return -1;
   60|      0|    }
   61|     28|    if (arg != NULL) {
  ------------------
  |  Branch (61:9): [True: 0, False: 28]
  ------------------
   62|      0|        PyObject *dict;
   63|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   64|      0|            dict = Py_NewRef(arg);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   65|      0|        }
   66|      0|        else {
   67|      0|            dict = PyObject_CallOneArg((PyObject *)&PyDict_Type, arg);
   68|      0|            if (dict == NULL) {
  ------------------
  |  Branch (68:17): [True: 0, False: 0]
  ------------------
   69|      0|                return -1;
   70|      0|            }
   71|      0|        }
   72|      0|        int err = (!PyArg_ValidateKeywordArguments(dict) ||
  ------------------
  |  Branch (72:20): [True: 0, False: 0]
  ------------------
   73|      0|                   PyDict_Update(ns->ns_dict, dict) < 0);
  ------------------
  |  Branch (73:20): [True: 0, False: 0]
  ------------------
   74|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   75|      0|        if (err) {
  ------------------
  |  Branch (75:13): [True: 0, False: 0]
  ------------------
   76|      0|            return -1;
   77|      0|        }
   78|      0|    }
   79|     28|    if (kwds == NULL) {
  ------------------
  |  Branch (79:9): [True: 0, False: 28]
  ------------------
   80|      0|        return 0;
   81|      0|    }
   82|     28|    if (!PyArg_ValidateKeywordArguments(kwds)) {
  ------------------
  |  Branch (82:9): [True: 0, False: 28]
  ------------------
   83|      0|        return -1;
   84|      0|    }
   85|     28|    return PyDict_Update(ns->ns_dict, kwds);
   86|     28|}
namespaceobject.c:namespace_new:
   36|     36|{
   37|     36|    PyObject *self;
   38|       |
   39|     36|    assert(type != NULL && type->tp_alloc != NULL);
  ------------------
  |  Branch (39:5): [True: 36, False: 0]
  |  Branch (39:5): [True: 36, False: 0]
  ------------------
   40|     36|    self = type->tp_alloc(type, 0);
   41|     36|    if (self != NULL) {
  ------------------
  |  Branch (41:9): [True: 36, False: 0]
  ------------------
   42|     36|        _PyNamespaceObject *ns = (_PyNamespaceObject *)self;
   43|     36|        ns->ns_dict = PyDict_New();
   44|     36|        if (ns->ns_dict == NULL) {
  ------------------
  |  Branch (44:13): [True: 0, False: 36]
  ------------------
   45|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   46|      0|            return NULL;
   47|      0|        }
   48|     36|    }
   49|     36|    return self;
   50|     36|}

_Py_DecRef:
  357|    550|{
  358|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  359|    550|}
_PyObject_New:
  556|     43|{
  557|     43|    PyObject *op = (PyObject *) PyObject_Malloc(_PyObject_SIZE(tp));
  558|     43|    if (op == NULL) {
  ------------------
  |  Branch (558:9): [True: 0, False: 43]
  ------------------
  559|      0|        return PyErr_NoMemory();
  560|      0|    }
  561|     43|    _PyObject_Init(op, tp);
  562|     43|    return op;
  563|     43|}
_PyObject_NewVar:
  567|  2.41k|{
  568|  2.41k|    PyVarObject *op;
  569|  2.41k|    const size_t size = _PyObject_VAR_SIZE(tp, nitems);
  570|  2.41k|    op = (PyVarObject *) PyObject_Malloc(size);
  571|  2.41k|    if (op == NULL) {
  ------------------
  |  Branch (571:9): [True: 0, False: 2.41k]
  ------------------
  572|      0|        return (PyVarObject *)PyErr_NoMemory();
  573|      0|    }
  574|  2.41k|    _PyObject_InitVar(op, tp, nitems);
  575|  2.41k|    return op;
  576|  2.41k|}
PyObject_CallFinalizer:
  580|    167|{
  581|    167|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|    167|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    167|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    167|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  582|       |
  583|    167|    if (tp->tp_finalize == NULL)
  ------------------
  |  Branch (583:9): [True: 0, False: 167]
  ------------------
  584|      0|        return;
  585|       |    /* tp_finalize should only be called once. */
  586|    167|    if (_PyType_IS_GC(tp)) {
  ------------------
  |  Branch (586:9): [True: 167, False: 0]
  ------------------
  587|    167|        if (_PyGC_FINALIZED(self))
  ------------------
  |  Branch (587:13): [True: 0, False: 167]
  ------------------
  588|      0|            return;
  589|       |
  590|    167|        _PyGC_SET_FINALIZED(self);
  591|    167|    }
  592|    167|    tp->tp_finalize(self);
  593|    167|}
PyObject_CallFinalizerFromDealloc:
  597|    167|{
  598|    167|    if (Py_REFCNT(self) != 0) {
  ------------------
  |  |  119|    167|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    167|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    167|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (598:9): [True: 0, False: 167]
  ------------------
  599|      0|        _PyObject_ASSERT_FAILED_MSG(self,
  ------------------
  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  ------------------
  600|      0|                                    "PyObject_CallFinalizerFromDealloc called "
  601|      0|                                    "on object with a non-zero refcount");
  602|      0|    }
  603|       |
  604|       |    /* Temporarily resurrect the object. */
  605|    167|    _PyObject_ResurrectStart(self);
  606|       |
  607|    167|    PyObject_CallFinalizer(self);
  608|       |
  609|    167|    _PyObject_ASSERT_WITH_MSG(self,
  ------------------
  |  |  358|    167|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  351|    167|    ((expr) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (351:6): [True: 167, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  352|    167|      ? (void)(0) \
  |  |  |  |  353|    167|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  ------------------
  ------------------
  610|    167|                              Py_REFCNT(self) > 0,
  611|    167|                              "refcount is too small");
  612|       |
  613|    167|    _PyObject_ASSERT(self,
  ------------------
  |  |  360|    167|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|    167|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|    334|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:7): [True: 0, False: 167]
  |  |  |  |  |  |  |  Branch (351:7): [True: 167, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|    167|      ? (void)(0) \
  |  |  |  |  |  |  353|    167|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  614|    167|                    (!_PyType_IS_GC(Py_TYPE(self))
  615|    167|                    || _PyObject_GC_IS_TRACKED(self)));
  616|       |
  617|       |    /* Undo the temporary resurrection; can't use DECREF here, it would
  618|       |     * cause a recursive call. */
  619|    167|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (619:9): [True: 0, False: 167]
  ------------------
  620|       |        /* tp_finalize resurrected it!
  621|       |           gh-130202: Note that the object may still be dead in the free
  622|       |           threaded build in some circumstances, so it's not safe to access
  623|       |           `self` after this point. For example, the last reference to the
  624|       |           resurrected `self` may be held by another thread, which can
  625|       |           concurrently deallocate it. */
  626|      0|        return -1;
  627|      0|    }
  628|       |
  629|       |    /* this is the normal path out, the caller continues with deallocation. */
  630|    167|    return 0;
  631|    167|}
_PyObject_IsFreed:
  712|  69.2k|{
  713|  69.2k|    if (_PyMem_IsPtrFreed(op) || _PyMem_IsPtrFreed(Py_TYPE(op))) {
  ------------------
  |  |  213|  69.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  69.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  69.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (713:9): [True: 0, False: 69.2k]
  |  Branch (713:34): [True: 0, False: 69.2k]
  ------------------
  714|      0|        return 1;
  715|      0|    }
  716|  69.2k|    return 0;
  717|  69.2k|}
PyObject_Repr:
  761|     60|{
  762|     60|    PyObject *res;
  763|     60|    if (PyErr_CheckSignals())
  ------------------
  |  Branch (763:9): [True: 0, False: 60]
  ------------------
  764|      0|        return NULL;
  765|     60|    if (v == NULL)
  ------------------
  |  Branch (765:9): [True: 0, False: 60]
  ------------------
  766|      0|        return PyUnicode_FromString("<NULL>");
  767|     60|    if (Py_TYPE(v)->tp_repr == NULL)
  ------------------
  |  |  213|     60|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (767:9): [True: 0, False: 60]
  ------------------
  768|      0|        return PyUnicode_FromFormat("<%s object at %p>",
  769|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  770|       |
  771|     60|    PyThreadState *tstate = _PyThreadState_GET();
  772|       |#ifdef Py_DEBUG
  773|       |    /* PyObject_Repr() must not be called with an exception set,
  774|       |       because it can clear it (directly or indirectly) and so the
  775|       |       caller loses its exception */
  776|       |    assert(!_PyErr_Occurred(tstate));
  777|       |#endif
  778|       |
  779|       |    /* It is possible for a type to have a tp_repr representation that loops
  780|       |       infinitely. */
  781|     60|    if (_Py_EnterRecursiveCallTstate(tstate,
  ------------------
  |  Branch (781:9): [True: 0, False: 60]
  ------------------
  782|     60|                                     " while getting the repr of an object")) {
  783|      0|        return NULL;
  784|      0|    }
  785|     60|    res = (*Py_TYPE(v)->tp_repr)(v);
  ------------------
  |  |  213|     60|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  786|     60|    _Py_LeaveRecursiveCallTstate(tstate);
  787|       |
  788|     60|    if (res == NULL) {
  ------------------
  |  Branch (788:9): [True: 0, False: 60]
  ------------------
  789|      0|        return NULL;
  790|      0|    }
  791|     60|    if (!PyUnicode_Check(res)) {
  ------------------
  |  |  103|     60|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     60|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (791:9): [True: 0, False: 60]
  ------------------
  792|      0|        _PyErr_Format(tstate, PyExc_TypeError,
  793|      0|                      "%T.__repr__() must return a str, not %T", v, res);
  794|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  795|      0|        return NULL;
  796|      0|    }
  797|     60|    return res;
  798|     60|}
PyObject_Str:
  802|    382|{
  803|    382|    PyObject *res;
  804|    382|    if (PyErr_CheckSignals())
  ------------------
  |  Branch (804:9): [True: 0, False: 382]
  ------------------
  805|      0|        return NULL;
  806|    382|    if (v == NULL)
  ------------------
  |  Branch (806:9): [True: 0, False: 382]
  ------------------
  807|      0|        return PyUnicode_FromString("<NULL>");
  808|    382|    if (PyUnicode_CheckExact(v)) {
  ------------------
  |  |  104|    382|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    382|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    382|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    382|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 241, False: 141]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  809|    241|        return Py_NewRef(v);
  ------------------
  |  |  647|    241|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    241|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    241|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  810|    241|    }
  811|    141|    if (Py_TYPE(v)->tp_str == NULL)
  ------------------
  |  |  213|    141|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    141|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    141|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (811:9): [True: 0, False: 141]
  ------------------
  812|      0|        return PyObject_Repr(v);
  813|       |
  814|    141|    PyThreadState *tstate = _PyThreadState_GET();
  815|       |#ifdef Py_DEBUG
  816|       |    /* PyObject_Str() must not be called with an exception set,
  817|       |       because it can clear it (directly or indirectly) and so the
  818|       |       caller loses its exception */
  819|       |    assert(!_PyErr_Occurred(tstate));
  820|       |#endif
  821|       |
  822|       |    /* It is possible for a type to have a tp_str representation that loops
  823|       |       infinitely. */
  824|    141|    if (_Py_EnterRecursiveCallTstate(tstate, " while getting the str of an object")) {
  ------------------
  |  Branch (824:9): [True: 0, False: 141]
  ------------------
  825|      0|        return NULL;
  826|      0|    }
  827|    141|    res = (*Py_TYPE(v)->tp_str)(v);
  ------------------
  |  |  213|    141|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    141|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    141|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  828|    141|    _Py_LeaveRecursiveCallTstate(tstate);
  829|       |
  830|    141|    if (res == NULL) {
  ------------------
  |  Branch (830:9): [True: 0, False: 141]
  ------------------
  831|      0|        return NULL;
  832|      0|    }
  833|    141|    if (!PyUnicode_Check(res)) {
  ------------------
  |  |  103|    141|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    141|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (833:9): [True: 0, False: 141]
  ------------------
  834|      0|        _PyErr_Format(tstate, PyExc_TypeError,
  835|      0|                      "%T.__str__() must return a str, not %T", v, res);
  836|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  837|      0|        return NULL;
  838|      0|    }
  839|    141|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (839:5): [True: 141, False: 0]
  ------------------
  840|    141|    return res;
  841|    141|}
PyObject_RichCompare:
 1102|  9.40k|{
 1103|  9.40k|    PyThreadState *tstate = _PyThreadState_GET();
 1104|       |
 1105|  9.40k|    assert(Py_LT <= op && op <= Py_GE);
  ------------------
  |  Branch (1105:5): [True: 9.40k, False: 0]
  |  Branch (1105:5): [True: 9.40k, False: 0]
  ------------------
 1106|  9.40k|    if (v == NULL || w == NULL) {
  ------------------
  |  Branch (1106:9): [True: 0, False: 9.40k]
  |  Branch (1106:22): [True: 0, False: 9.40k]
  ------------------
 1107|      0|        if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1107:13): [True: 0, False: 0]
  ------------------
 1108|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1109|      0|        }
 1110|      0|        return NULL;
 1111|      0|    }
 1112|  9.40k|    if (_Py_EnterRecursiveCallTstate(tstate, " in comparison")) {
  ------------------
  |  Branch (1112:9): [True: 0, False: 9.40k]
  ------------------
 1113|      0|        return NULL;
 1114|      0|    }
 1115|  9.40k|    PyObject *res = do_richcompare(tstate, v, w, op);
 1116|  9.40k|    _Py_LeaveRecursiveCallTstate(tstate);
 1117|  9.40k|    return res;
 1118|  9.40k|}
PyObject_RichCompareBool:
 1124|  8.99k|{
 1125|  8.99k|    PyObject *res;
 1126|  8.99k|    int ok;
 1127|       |
 1128|       |    /* Quick result when objects are the same.
 1129|       |       Guarantees that identity implies equality. */
 1130|  8.99k|    if (v == w) {
  ------------------
  |  Branch (1130:9): [True: 174, False: 8.82k]
  ------------------
 1131|    174|        if (op == Py_EQ)
  ------------------
  |  |  654|    174|#define Py_EQ 2
  ------------------
  |  Branch (1131:13): [True: 173, False: 1]
  ------------------
 1132|    173|            return 1;
 1133|      1|        else if (op == Py_NE)
  ------------------
  |  |  655|      1|#define Py_NE 3
  ------------------
  |  Branch (1133:18): [True: 0, False: 1]
  ------------------
 1134|      0|            return 0;
 1135|    174|    }
 1136|       |
 1137|  8.82k|    res = PyObject_RichCompare(v, w, op);
 1138|  8.82k|    if (res == NULL)
  ------------------
  |  Branch (1138:9): [True: 0, False: 8.82k]
  ------------------
 1139|      0|        return -1;
 1140|  8.82k|    if (PyBool_Check(res)) {
  ------------------
  |  |   12|  8.82k|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_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 (215:32): [True: 8.82k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1141|  8.82k|        ok = (res == Py_True);
  ------------------
  |  |   26|  8.82k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  8.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1142|  8.82k|        assert(_Py_IsImmortal(res));
  ------------------
  |  Branch (1142:9): [True: 8.82k, False: 0]
  ------------------
 1143|  8.82k|    }
 1144|      0|    else {
 1145|      0|        ok = PyObject_IsTrue(res);
 1146|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1147|      0|    }
 1148|  8.82k|    return ok;
 1149|  8.82k|}
PyObject_Hash:
 1161|  3.01M|{
 1162|  3.01M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  3.01M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1163|  3.01M|    if (tp->tp_hash != NULL)
  ------------------
  |  Branch (1163:9): [True: 3.01M, False: 0]
  ------------------
 1164|  3.01M|        return (*tp->tp_hash)(v);
 1165|       |    /* To keep to the general practice that inheriting
 1166|       |     * solely from object in C code should work without
 1167|       |     * an explicit call to PyType_Ready, we implicitly call
 1168|       |     * PyType_Ready here and then check the tp_hash slot again
 1169|       |     */
 1170|      0|    if (!_PyType_IsReady(tp)) {
  ------------------
  |  Branch (1170:9): [True: 0, False: 0]
  ------------------
 1171|      0|        if (PyType_Ready(tp) < 0)
  ------------------
  |  Branch (1171:13): [True: 0, False: 0]
  ------------------
 1172|      0|            return -1;
 1173|      0|        if (tp->tp_hash != NULL)
  ------------------
  |  Branch (1173:13): [True: 0, False: 0]
  ------------------
 1174|      0|            return (*tp->tp_hash)(v);
 1175|      0|    }
 1176|       |    /* Otherwise, the object can't be hashed */
 1177|      0|    return PyObject_HashNotImplemented(v);
 1178|      0|}
PyObject_GetAttrString:
 1182|     49|{
 1183|     49|    PyObject *w, *res;
 1184|       |
 1185|     49|    if (Py_TYPE(v)->tp_getattr != NULL)
  ------------------
  |  |  213|     49|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     49|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1185:9): [True: 0, False: 49]
  ------------------
 1186|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1187|     49|    w = PyUnicode_FromString(name);
 1188|     49|    if (w == NULL)
  ------------------
  |  Branch (1188:9): [True: 0, False: 49]
  ------------------
 1189|      0|        return NULL;
 1190|     49|    res = PyObject_GetAttr(v, w);
 1191|     49|    Py_DECREF(w);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1192|     49|    return res;
 1193|     49|}
PyObject_SetAttrString:
 1221|  1.26k|{
 1222|  1.26k|    PyThreadState *tstate = _PyThreadState_GET();
 1223|  1.26k|    if (w == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1223:9): [True: 0, False: 1.26k]
  |  Branch (1223:22): [True: 0, False: 0]
  ------------------
 1224|      0|        PyObject *exc = _PyErr_GetRaisedException(tstate);
 1225|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 1226|      0|            "PyObject_SetAttrString() must not be called with NULL value "
 1227|      0|            "and an exception set");
 1228|      0|        _PyErr_ChainExceptions1Tstate(tstate, exc);
 1229|      0|        return -1;
 1230|      0|    }
 1231|       |
 1232|  1.26k|    if (Py_TYPE(v)->tp_setattr != NULL) {
  ------------------
  |  |  213|  1.26k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1232:9): [True: 0, False: 1.26k]
  ------------------
 1233|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1234|      0|    }
 1235|       |
 1236|  1.26k|    PyObject *s = PyUnicode_InternFromString(name);
 1237|  1.26k|    if (s == NULL) {
  ------------------
  |  Branch (1237:9): [True: 0, False: 1.26k]
  ------------------
 1238|      0|        return -1;
 1239|      0|    }
 1240|       |
 1241|  1.26k|    int res = PyObject_SetAttr(v, s, w);
 1242|  1.26k|    Py_DECREF(s);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1243|  1.26k|    return res;
 1244|  1.26k|}
_PyObject_IsAbstract:
 1254|    948|{
 1255|    948|    int res;
 1256|    948|    PyObject* isabstract;
 1257|       |
 1258|    948|    if (obj == NULL)
  ------------------
  |  Branch (1258:9): [True: 2, False: 946]
  ------------------
 1259|      2|        return 0;
 1260|       |
 1261|    946|    res = PyObject_GetOptionalAttr(obj, &_Py_ID(__isabstractmethod__), &isabstract);
  ------------------
  |  |  951|    946|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    946|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    946|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1262|    946|    if (res > 0) {
  ------------------
  |  Branch (1262:9): [True: 157, False: 789]
  ------------------
 1263|    157|        res = PyObject_IsTrue(isabstract);
 1264|    157|        Py_DECREF(isabstract);
  ------------------
  |  |  430|    157|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    157|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    157|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1265|    157|    }
 1266|    946|    return res;
 1267|    948|}
_PyObject_SetAttributeErrorContext:
 1285|     50|{
 1286|     50|    assert(PyErr_Occurred());
  ------------------
  |  Branch (1286:5): [True: 50, False: 0]
  ------------------
 1287|     50|    if (!PyErr_ExceptionMatches(PyExc_AttributeError)){
  ------------------
  |  Branch (1287:9): [True: 0, False: 50]
  ------------------
 1288|      0|        return 0;
 1289|      0|    }
 1290|       |    // Intercept AttributeError exceptions and augment them to offer suggestions later.
 1291|     50|    PyObject *exc = PyErr_GetRaisedException();
 1292|     50|    if (!PyErr_GivenExceptionMatches(exc, PyExc_AttributeError)) {
  ------------------
  |  Branch (1292:9): [True: 0, False: 50]
  ------------------
 1293|      0|        goto restore;
 1294|      0|    }
 1295|     50|    PyAttributeErrorObject* the_exc = (PyAttributeErrorObject*) exc;
 1296|       |    // Check if this exception was already augmented
 1297|     50|    if (the_exc->name || the_exc->obj) {
  ------------------
  |  Branch (1297:9): [True: 0, False: 50]
  |  Branch (1297:26): [True: 0, False: 50]
  ------------------
 1298|      0|        goto restore;
 1299|      0|    }
 1300|       |    // Augment the exception with the name and object
 1301|     50|    if (PyObject_SetAttr(exc, &_Py_ID(name), name) ||
  ------------------
  |  |  951|     50|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     50|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     50|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1301:9): [True: 0, False: 50]
  ------------------
 1302|     50|        PyObject_SetAttr(exc, &_Py_ID(obj), v)) {
  ------------------
  |  |  951|     50|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     50|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     50|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1302:9): [True: 0, False: 50]
  ------------------
 1303|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1304|      0|        return 1;
 1305|      0|    }
 1306|     50|restore:
 1307|     50|    PyErr_SetRaisedException(exc);
 1308|     50|    return 0;
 1309|     50|}
PyObject_GetAttr:
 1313|  3.88k|{
 1314|  3.88k|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  3.88k|#  define Py_TYPE(ob) _Py_TYPE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1315|  3.88k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  3.88k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.88k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1315:9): [True: 0, False: 3.88k]
  ------------------
 1316|      0|        PyErr_Format(PyExc_TypeError,
 1317|      0|                     "attribute name must be string, not '%.200s'",
 1318|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1319|      0|        return NULL;
 1320|      0|    }
 1321|       |
 1322|  3.88k|    PyObject* result = NULL;
 1323|  3.88k|    if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1323:9): [True: 3.88k, False: 0]
  ------------------
 1324|  3.88k|        result = (*tp->tp_getattro)(v, name);
 1325|  3.88k|    }
 1326|      0|    else if (tp->tp_getattr != NULL) {
  ------------------
  |  Branch (1326:14): [True: 0, False: 0]
  ------------------
 1327|      0|        const char *name_str = PyUnicode_AsUTF8(name);
 1328|      0|        if (name_str == NULL) {
  ------------------
  |  Branch (1328:13): [True: 0, False: 0]
  ------------------
 1329|      0|            return NULL;
 1330|      0|        }
 1331|      0|        result = (*tp->tp_getattr)(v, (char *)name_str);
 1332|      0|    }
 1333|      0|    else {
 1334|      0|        PyErr_Format(PyExc_AttributeError,
 1335|      0|                    "'%.100s' object has no attribute '%U'",
 1336|      0|                    tp->tp_name, name);
 1337|      0|    }
 1338|       |
 1339|  3.88k|    if (result == NULL) {
  ------------------
  |  Branch (1339:9): [True: 2, False: 3.88k]
  ------------------
 1340|      2|        _PyObject_SetAttributeErrorContext(v, name);
 1341|      2|    }
 1342|  3.88k|    return result;
 1343|  3.88k|}
_PyObject_GetAttrStackRef:
 1350|  4.13k|{
 1351|  4.13k|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  4.13k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1352|  4.13k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  4.13k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.13k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1352:9): [True: 0, False: 4.13k]
  ------------------
 1353|      0|        PyErr_Format(PyExc_TypeError,
 1354|      0|                     "attribute name must be string, not '%.200s'",
 1355|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1356|      0|        return PyStackRef_NULL;
 1357|      0|    }
 1358|       |
 1359|       |    /* Fast path for types - can return deferred references */
 1360|  4.13k|    if (tp->tp_getattro == _Py_type_getattro) {
  ------------------
  |  Branch (1360:9): [True: 1.30k, False: 2.83k]
  ------------------
 1361|  1.30k|        _PyStackRef result = _Py_type_getattro_stackref((PyTypeObject *)v, name, NULL);
 1362|  1.30k|        if (PyStackRef_IsNull(result)) {
  ------------------
  |  |  482|  1.30k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  1.30k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.30k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 2, False: 1.30k]
  |  |  ------------------
  ------------------
 1363|      2|            _PyObject_SetAttributeErrorContext(v, name);
 1364|      2|        }
 1365|  1.30k|        return result;
 1366|  1.30k|    }
 1367|       |
 1368|       |    /* Fall back to regular PyObject_GetAttr and convert to stackref */
 1369|  2.83k|    PyObject *result = NULL;
 1370|  2.83k|    if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1370:9): [True: 2.83k, False: 0]
  ------------------
 1371|  2.83k|        result = (*tp->tp_getattro)(v, name);
 1372|  2.83k|    }
 1373|      0|    else if (tp->tp_getattr != NULL) {
  ------------------
  |  Branch (1373:14): [True: 0, False: 0]
  ------------------
 1374|      0|        const char *name_str = PyUnicode_AsUTF8(name);
 1375|      0|        if (name_str == NULL) {
  ------------------
  |  Branch (1375:13): [True: 0, False: 0]
  ------------------
 1376|      0|            return PyStackRef_NULL;
 1377|      0|        }
 1378|      0|        result = (*tp->tp_getattr)(v, (char *)name_str);
 1379|      0|    }
 1380|      0|    else {
 1381|      0|        PyErr_Format(PyExc_AttributeError,
 1382|      0|                    "'%.100s' object has no attribute '%U'",
 1383|      0|                    tp->tp_name, name);
 1384|      0|    }
 1385|       |
 1386|  2.83k|    if (result == NULL) {
  ------------------
  |  Branch (1386:9): [True: 22, False: 2.81k]
  ------------------
 1387|     22|        _PyObject_SetAttributeErrorContext(v, name);
 1388|     22|        return PyStackRef_NULL;
 1389|     22|    }
 1390|  2.81k|    return PyStackRef_FromPyObjectSteal(result);
 1391|  2.83k|}
PyObject_GetOptionalAttr:
 1395|  5.50k|{
 1396|  5.50k|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  5.50k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1397|       |
 1398|  5.50k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  5.50k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.50k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1398:9): [True: 0, False: 5.50k]
  ------------------
 1399|      0|        PyErr_Format(PyExc_TypeError,
 1400|      0|                     "attribute name must be string, not '%.200s'",
 1401|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1402|      0|        *result = NULL;
 1403|      0|        return -1;
 1404|      0|    }
 1405|       |
 1406|  5.50k|    if (tp->tp_getattro == PyObject_GenericGetAttr) {
  ------------------
  |  Branch (1406:9): [True: 2.97k, False: 2.53k]
  ------------------
 1407|  2.97k|        *result = _PyObject_GenericGetAttrWithDict(v, name, NULL, 1);
 1408|  2.97k|        if (*result != NULL) {
  ------------------
  |  Branch (1408:13): [True: 1.87k, False: 1.10k]
  ------------------
 1409|  1.87k|            return 1;
 1410|  1.87k|        }
 1411|  1.10k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1411:13): [True: 0, False: 1.10k]
  ------------------
 1412|      0|            return -1;
 1413|      0|        }
 1414|  1.10k|        return 0;
 1415|  1.10k|    }
 1416|  2.53k|    if (tp->tp_getattro == _Py_type_getattro) {
  ------------------
  |  Branch (1416:9): [True: 683, False: 1.85k]
  ------------------
 1417|    683|        int suppress_missing_attribute_exception = 0;
 1418|    683|        *result = _Py_type_getattro_impl((PyTypeObject*)v, name, &suppress_missing_attribute_exception);
 1419|    683|        if (suppress_missing_attribute_exception) {
  ------------------
  |  Branch (1419:13): [True: 30, False: 653]
  ------------------
 1420|       |            // return 0 without having to clear the exception
 1421|     30|            return 0;
 1422|     30|        }
 1423|    683|    }
 1424|  1.85k|    else if (tp->tp_getattro == (getattrofunc)_Py_module_getattro) {
  ------------------
  |  Branch (1424:14): [True: 1.85k, False: 0]
  ------------------
 1425|       |        // optimization: suppress attribute error from module getattro method
 1426|  1.85k|        *result = _Py_module_getattro_impl((PyModuleObject*)v, name, 1);
 1427|  1.85k|        if (*result != NULL) {
  ------------------
  |  Branch (1427:13): [True: 1.61k, False: 237]
  ------------------
 1428|  1.61k|            return 1;
 1429|  1.61k|        }
 1430|    237|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1430:13): [True: 0, False: 237]
  ------------------
 1431|      0|            return -1;
 1432|      0|        }
 1433|    237|        return 0;
 1434|    237|    }
 1435|      0|    else if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1435:14): [True: 0, False: 0]
  ------------------
 1436|      0|        *result = (*tp->tp_getattro)(v, name);
 1437|      0|    }
 1438|      0|    else if (tp->tp_getattr != NULL) {
  ------------------
  |  Branch (1438:14): [True: 0, False: 0]
  ------------------
 1439|      0|        const char *name_str = PyUnicode_AsUTF8(name);
 1440|      0|        if (name_str == NULL) {
  ------------------
  |  Branch (1440:13): [True: 0, False: 0]
  ------------------
 1441|      0|            *result = NULL;
 1442|      0|            return -1;
 1443|      0|        }
 1444|      0|        *result = (*tp->tp_getattr)(v, (char *)name_str);
 1445|      0|    }
 1446|      0|    else {
 1447|      0|        *result = NULL;
 1448|      0|        return 0;
 1449|      0|    }
 1450|       |
 1451|    653|    if (*result != NULL) {
  ------------------
  |  Branch (1451:9): [True: 629, False: 24]
  ------------------
 1452|    629|        return 1;
 1453|    629|    }
 1454|     24|    if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1454:9): [True: 0, False: 24]
  ------------------
 1455|      0|        return -1;
 1456|      0|    }
 1457|     24|    PyErr_Clear();
 1458|     24|    return 0;
 1459|     24|}
PyObject_GetOptionalAttrString:
 1463|      1|{
 1464|      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 (1464:9): [True: 1, False: 0]
  ------------------
 1465|      1|        PyObject *oname = PyUnicode_FromString(name);
 1466|      1|        if (oname == NULL) {
  ------------------
  |  Branch (1466:13): [True: 0, False: 1]
  ------------------
 1467|      0|            *result = NULL;
 1468|      0|            return -1;
 1469|      0|        }
 1470|      1|        int rc = PyObject_GetOptionalAttr(obj, oname, result);
 1471|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1472|      1|        return rc;
 1473|      1|    }
 1474|       |
 1475|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1476|      0|    if (*result != NULL) {
  ------------------
  |  Branch (1476:9): [True: 0, False: 0]
  ------------------
 1477|      0|        return 1;
 1478|      0|    }
 1479|      0|    if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1479:9): [True: 0, False: 0]
  ------------------
 1480|      0|        return -1;
 1481|      0|    }
 1482|      0|    PyErr_Clear();
 1483|      0|    return 0;
 1484|      0|}
PyObject_HasAttrWithError:
 1488|    196|{
 1489|    196|    PyObject *res;
 1490|    196|    int rc = PyObject_GetOptionalAttr(obj, name, &res);
 1491|    196|    Py_XDECREF(res);
  ------------------
  |  |  621|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1492|    196|    return rc;
 1493|    196|}
PyObject_SetAttr:
 1511|  4.22k|{
 1512|  4.22k|    PyThreadState *tstate = _PyThreadState_GET();
 1513|  4.22k|    if (value == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1513:9): [True: 36, False: 4.18k]
  |  Branch (1513:26): [True: 0, False: 36]
  ------------------
 1514|      0|        PyObject *exc = _PyErr_GetRaisedException(tstate);
 1515|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 1516|      0|            "PyObject_SetAttr() must not be called with NULL value "
 1517|      0|            "and an exception set");
 1518|      0|        _PyErr_ChainExceptions1Tstate(tstate, exc);
 1519|      0|        return -1;
 1520|      0|    }
 1521|       |
 1522|  4.22k|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  4.22k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1523|  4.22k|    int err;
 1524|       |
 1525|  4.22k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  4.22k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.22k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1525:9): [True: 0, False: 4.22k]
  ------------------
 1526|      0|        PyErr_Format(PyExc_TypeError,
 1527|      0|                     "attribute name must be string, not '%.200s'",
 1528|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1529|      0|        return -1;
 1530|      0|    }
 1531|  4.22k|    Py_INCREF(name);
  ------------------
  |  |  310|  4.22k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1532|       |
 1533|  4.22k|    _PyUnicode_InternMortal(tstate->interp, &name);
 1534|  4.22k|    if (tp->tp_setattro != NULL) {
  ------------------
  |  Branch (1534:9): [True: 4.22k, False: 0]
  ------------------
 1535|  4.22k|        err = (*tp->tp_setattro)(v, name, value);
 1536|  4.22k|        Py_DECREF(name);
  ------------------
  |  |  430|  4.22k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1537|  4.22k|        return err;
 1538|  4.22k|    }
 1539|      0|    if (tp->tp_setattr != NULL) {
  ------------------
  |  Branch (1539:9): [True: 0, False: 0]
  ------------------
 1540|      0|        const char *name_str = PyUnicode_AsUTF8(name);
 1541|      0|        if (name_str == NULL) {
  ------------------
  |  Branch (1541:13): [True: 0, False: 0]
  ------------------
 1542|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1543|      0|            return -1;
 1544|      0|        }
 1545|      0|        err = (*tp->tp_setattr)(v, (char *)name_str, value);
 1546|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1547|      0|        return err;
 1548|      0|    }
 1549|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1550|      0|    _PyObject_ASSERT(name, Py_REFCNT(name) >= 1);
  ------------------
  |  |  360|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      0|      ? (void)(0) \
  |  |  |  |  |  |  353|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1551|      0|    if (tp->tp_getattr == NULL && tp->tp_getattro == NULL)
  ------------------
  |  Branch (1551:9): [True: 0, False: 0]
  |  Branch (1551:35): [True: 0, False: 0]
  ------------------
 1552|      0|        PyErr_Format(PyExc_TypeError,
 1553|      0|                     "'%.100s' object has no attributes "
 1554|      0|                     "(%s .%U)",
 1555|      0|                     tp->tp_name,
 1556|      0|                     value==NULL ? "del" : "assign to",
  ------------------
  |  Branch (1556:22): [True: 0, False: 0]
  ------------------
 1557|      0|                     name);
 1558|      0|    else
 1559|      0|        PyErr_Format(PyExc_TypeError,
 1560|      0|                     "'%.100s' object has only read-only attributes "
 1561|      0|                     "(%s .%U)",
 1562|      0|                     tp->tp_name,
 1563|      0|                     value==NULL ? "del" : "assign to",
  ------------------
  |  Branch (1563:22): [True: 0, False: 0]
  ------------------
 1564|      0|                     name);
 1565|      0|    return -1;
 1566|      0|}
PyObject_DelAttr:
 1570|     36|{
 1571|       |    return PyObject_SetAttr(v, name, NULL);
 1572|     36|}
_PyObject_ComputedDictPointer:
 1576|  10.0k|{
 1577|  10.0k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  10.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1578|  10.0k|    assert((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  ------------------
  |  Branch (1578:5): [True: 10.0k, False: 0]
  ------------------
 1579|       |
 1580|  10.0k|    Py_ssize_t dictoffset = tp->tp_dictoffset;
 1581|  10.0k|    if (dictoffset == 0) {
  ------------------
  |  Branch (1581:9): [True: 1.32k, False: 8.72k]
  ------------------
 1582|  1.32k|        return NULL;
 1583|  1.32k|    }
 1584|       |
 1585|  8.72k|    if (dictoffset < 0) {
  ------------------
  |  Branch (1585:9): [True: 0, False: 8.72k]
  ------------------
 1586|      0|        assert(dictoffset != -1);
  ------------------
  |  Branch (1586:9): [True: 0, False: 0]
  ------------------
 1587|       |
 1588|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1589|      0|        if (tsize < 0) {
  ------------------
  |  Branch (1589:13): [True: 0, False: 0]
  ------------------
 1590|      0|            tsize = -tsize;
 1591|      0|        }
 1592|      0|        size_t size = _PyObject_VAR_SIZE(tp, tsize);
 1593|      0|        assert(size <= (size_t)PY_SSIZE_T_MAX);
  ------------------
  |  Branch (1593:9): [True: 0, False: 0]
  ------------------
 1594|      0|        dictoffset += (Py_ssize_t)size;
 1595|       |
 1596|      0|        _PyObject_ASSERT(obj, dictoffset > 0);
  ------------------
  |  |  360|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      0|      ? (void)(0) \
  |  |  |  |  |  |  353|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1597|      0|        _PyObject_ASSERT(obj, dictoffset % SIZEOF_VOID_P == 0);
  ------------------
  |  |  360|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      0|      ? (void)(0) \
  |  |  |  |  |  |  353|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1598|      0|    }
 1599|  8.72k|    return (PyObject **) ((char *)obj + dictoffset);
 1600|  8.72k|}
PyObject_SelfIter:
 1628|    156|{
 1629|    156|    return Py_NewRef(obj);
  ------------------
  |  |  647|    156|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1630|    156|}
_PyObject_GetMethodStackRef:
 1760|  2.22k|{
 1761|  2.22k|    int meth_found = 0;
 1762|  2.22k|    PyObject *obj = PyStackRef_AsPyObjectBorrow(*self);
 1763|       |
 1764|  2.22k|    assert(PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1764:5): [True: 2.22k, False: 0]
  ------------------
 1765|       |
 1766|  2.22k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  2.22k|#  define Py_TYPE(ob) _Py_TYPE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1767|  2.22k|    if (!_PyType_IsReady(tp)) {
  ------------------
  |  Branch (1767:9): [True: 0, False: 2.22k]
  ------------------
 1768|      0|        if (PyType_Ready(tp) < 0) {
  ------------------
  |  Branch (1768:13): [True: 0, False: 0]
  ------------------
 1769|      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]
  |  |  ------------------
  ------------------
 1770|      0|            return -1;
 1771|      0|        }
 1772|      0|    }
 1773|       |
 1774|  2.22k|    if (tp->tp_getattro != PyObject_GenericGetAttr || !PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|  1.28k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  1.28k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1774:9): [True: 941, False: 1.28k]
  |  Branch (1774:55): [True: 0, False: 1.28k]
  ------------------
 1775|    941|        PyObject *res = PyObject_GetAttr(obj, name);
 1776|    941|        PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|    941|    do { \
  |  |  733|    941|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|    941|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|    941|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|    941|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|    941|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 941]
  |  |  ------------------
  ------------------
 1777|    941|        if (res != NULL) {
  ------------------
  |  Branch (1777:13): [True: 939, False: 2]
  ------------------
 1778|    939|            *method = PyStackRef_FromPyObjectSteal(res);
 1779|    939|            return 0;
 1780|    939|        }
 1781|      2|        return -1;
 1782|    941|    }
 1783|       |
 1784|  1.28k|    _PyType_LookupStackRefAndVersion(tp, name, method);
 1785|  1.28k|    PyObject *descr = PyStackRef_AsPyObjectBorrow(*method);
 1786|  1.28k|    descrgetfunc f = NULL;
 1787|  1.28k|    if (descr != NULL) {
  ------------------
  |  Branch (1787:9): [True: 1.27k, False: 12]
  ------------------
 1788|  1.27k|        if (_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|  1.27k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|  1.27k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (1788:13): [True: 1.27k, False: 1]
  ------------------
 1789|  1.27k|            meth_found = 1;
 1790|  1.27k|        }
 1791|      1|        else {
 1792|      1|            f = Py_TYPE(descr)->tp_descr_get;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1793|      1|            if (f != NULL && PyDescr_IsData(descr)) {
  ------------------
  |  Branch (1793:17): [True: 1, False: 0]
  |  Branch (1793:30): [True: 1, False: 0]
  ------------------
 1794|      1|                PyObject *value = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1795|      1|                PyStackRef_CLEAR(*method);
  ------------------
  |  |  732|      1|    do { \
  |  |  733|      1|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      1|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      1|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      1|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1796|      1|                PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      1|    do { \
  |  |  733|      1|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      1|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      1|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      1|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1797|      1|                if (value != NULL) {
  ------------------
  |  Branch (1797:21): [True: 1, False: 0]
  ------------------
 1798|      1|                    *method = PyStackRef_FromPyObjectSteal(value);
 1799|      1|                    return 0;
 1800|      1|                }
 1801|      0|                return -1;
 1802|      1|            }
 1803|      1|        }
 1804|  1.27k|    }
 1805|  1.28k|    PyObject *dict, *attr;
 1806|  1.28k|    if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) &&
  ------------------
  |  |  472|  1.28k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (1806:9): [True: 125, False: 1.15k]
  ------------------
 1807|    125|         _PyObject_TryGetInstanceAttribute(obj, name, &attr)) {
  ------------------
  |  Branch (1807:10): [True: 125, False: 0]
  ------------------
 1808|    125|        if (attr != NULL) {
  ------------------
  |  Branch (1808:13): [True: 12, False: 113]
  ------------------
 1809|     12|            PyStackRef_XSETREF(*method, PyStackRef_FromPyObjectSteal(attr));
  ------------------
  |  |  855|     12|    do { \
  |  |  856|     12|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  857|     12|        (dst) = (src); \
  |  |  858|     12|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  859|     12|    } while(0)
  |  |  ------------------
  |  |  |  Branch (859:13): [Folded, False: 12]
  |  |  ------------------
  ------------------
 1810|     12|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|     12|    do { \
  |  |  733|     12|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|     12|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|     12|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|     12|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
 1811|     12|            return 0;
 1812|     12|        }
 1813|    113|        dict = NULL;
 1814|    113|    }
 1815|  1.15k|    else if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  1.15k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (1815:14): [True: 18, False: 1.14k]
  ------------------
 1816|     18|        dict = (PyObject *)_PyObject_GetManagedDict(obj);
 1817|     18|    }
 1818|  1.14k|    else {
 1819|  1.14k|        PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 1820|  1.14k|        if (dictptr != NULL) {
  ------------------
  |  Branch (1820:13): [True: 480, False: 660]
  ------------------
 1821|    480|            dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*dictptr);
  ------------------
  |  |  152|    480|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1822|    480|        }
 1823|    660|        else {
 1824|    660|            dict = NULL;
 1825|    660|        }
 1826|  1.14k|    }
 1827|  1.27k|    if (dict != NULL) {
  ------------------
  |  Branch (1827:9): [True: 320, False: 951]
  ------------------
 1828|    320|        assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (1828:9): [True: 320, False: 0]
  ------------------
 1829|    320|        int found = _PyDict_GetMethodStackRef((PyDictObject *)dict, name, method);
 1830|    320|        if (found < 0) {
  ------------------
  |  Branch (1830:13): [True: 0, False: 320]
  ------------------
 1831|      0|            assert(PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1831:13): [True: 0, False: 0]
  ------------------
 1832|      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]
  |  |  ------------------
  ------------------
 1833|      0|            return -1;
 1834|      0|        }
 1835|    320|        else if (found) {
  ------------------
  |  Branch (1835:18): [True: 0, False: 320]
  ------------------
 1836|      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]
  |  |  ------------------
  ------------------
 1837|      0|            return 0;
 1838|      0|        }
 1839|    320|    }
 1840|       |
 1841|  1.27k|    if (meth_found) {
  ------------------
  |  Branch (1841:9): [True: 1.27k, False: 0]
  ------------------
 1842|  1.27k|        assert(!PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1842:9): [True: 1.27k, False: 0]
  ------------------
 1843|  1.27k|        return 1;
 1844|  1.27k|    }
 1845|       |
 1846|      0|    if (f != NULL) {
  ------------------
  |  Branch (1846:9): [True: 0, False: 0]
  ------------------
 1847|      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]
  |  |  ------------------
  ------------------
 1848|      0|            PyObject *callable = _PyClassMethod_GetFunc(descr);
 1849|      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]
  |  |  ------------------
  ------------------
 1850|      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]
  |  |  ------------------
  ------------------
 1851|      0|            return 1;
 1852|      0|        }
 1853|      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]
  |  |  ------------------
  ------------------
 1854|      0|            PyObject *callable = _PyStaticMethod_GetFunc(descr);
 1855|      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]
  |  |  ------------------
  ------------------
 1856|      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]
  |  |  ------------------
  ------------------
 1857|      0|            return 0;
 1858|      0|        }
 1859|      0|        PyObject *value = f(descr, obj, (PyObject *)tp);
 1860|      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]
  |  |  ------------------
  ------------------
 1861|      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]
  |  |  ------------------
  ------------------
 1862|      0|        if (value) {
  ------------------
  |  Branch (1862:13): [True: 0, False: 0]
  ------------------
 1863|      0|            *method = PyStackRef_FromPyObjectSteal(value);
 1864|      0|            return 0;
 1865|      0|        }
 1866|      0|        return -1;
 1867|      0|    }
 1868|       |
 1869|      0|    if (descr != NULL) {
  ------------------
  |  Branch (1869:9): [True: 0, False: 0]
  ------------------
 1870|      0|        assert(!PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1870:9): [True: 0, False: 0]
  ------------------
 1871|      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]
  |  |  ------------------
  ------------------
 1872|      0|        return 0;
 1873|      0|    }
 1874|       |
 1875|      0|    PyErr_Format(PyExc_AttributeError,
 1876|      0|                 "'%.100s' object has no attribute '%U'",
 1877|      0|                 tp->tp_name, name);
 1878|       |
 1879|      0|    _PyObject_SetAttributeErrorContext(obj, name);
 1880|      0|    assert(PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1880:5): [True: 0, False: 0]
  ------------------
 1881|      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]
  |  |  ------------------
  ------------------
 1882|      0|    return -1;
 1883|      0|}
_PyObject_GenericGetAttrWithDict:
 1891|  10.0k|{
 1892|       |    /* Make sure the logic of _PyObject_GetMethod is in sync with
 1893|       |       this method.
 1894|       |
 1895|       |       When suppress=1, this function suppresses AttributeError.
 1896|       |    */
 1897|       |
 1898|  10.0k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  10.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1899|  10.0k|    PyObject *descr = NULL;
 1900|  10.0k|    PyObject *res = NULL;
 1901|  10.0k|    descrgetfunc f;
 1902|       |
 1903|  10.0k|    if (!PyUnicode_Check(name)){
  ------------------
  |  |  103|  10.0k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  10.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1903:9): [True: 0, False: 10.0k]
  ------------------
 1904|      0|        PyErr_Format(PyExc_TypeError,
 1905|      0|                     "attribute name must be string, not '%.200s'",
 1906|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1907|      0|        return NULL;
 1908|      0|    }
 1909|       |
 1910|  10.0k|    if (!_PyType_IsReady(tp)) {
  ------------------
  |  Branch (1910:9): [True: 0, False: 10.0k]
  ------------------
 1911|      0|        if (PyType_Ready(tp) < 0)
  ------------------
  |  Branch (1911:13): [True: 0, False: 0]
  ------------------
 1912|      0|            return NULL;
 1913|      0|    }
 1914|       |
 1915|  10.0k|    Py_INCREF(name);
  ------------------
  |  |  310|  10.0k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1916|       |
 1917|  10.0k|    PyThreadState *tstate = _PyThreadState_GET();
 1918|  10.0k|    _PyCStackRef cref;
 1919|  10.0k|    _PyThreadState_PushCStackRef(tstate, &cref);
 1920|       |
 1921|  10.0k|    _PyType_LookupStackRefAndVersion(tp, name, &cref.ref);
 1922|  10.0k|    descr = PyStackRef_AsPyObjectBorrow(cref.ref);
 1923|       |
 1924|  10.0k|    f = NULL;
 1925|  10.0k|    if (descr != NULL) {
  ------------------
  |  Branch (1925:9): [True: 1.98k, False: 8.09k]
  ------------------
 1926|  1.98k|        f = Py_TYPE(descr)->tp_descr_get;
  ------------------
  |  |  213|  1.98k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1927|  1.98k|        if (f != NULL && PyDescr_IsData(descr)) {
  ------------------
  |  Branch (1927:13): [True: 1.96k, False: 27]
  |  Branch (1927:26): [True: 1.68k, False: 274]
  ------------------
 1928|       |            // gh-157840: We special-case member descriptors here to avoid
 1929|       |            // allocating an extra AttributeError
 1930|  1.68k|            if (suppress && Py_IS_TYPE(descr, &PyMemberDescr_Type)) {
  ------------------
  |  |  215|  1.14k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 28, False: 1.11k]
  |  |  ------------------
  ------------------
  |  Branch (1930:17): [True: 1.14k, False: 540]
  ------------------
 1931|     28|                PyMemberDef *member = ((PyMemberDescrObject *)descr)->d_member;
 1932|     28|                if (member->type == Py_T_OBJECT_EX
  ------------------
  |  |   75|     56|#define Py_T_OBJECT_EX 16
  ------------------
  |  Branch (1932:21): [True: 0, False: 28]
  ------------------
 1933|      0|                    && !(member->flags & Py_AUDIT_READ)
  ------------------
  |  |   84|      0|#define Py_AUDIT_READ          (1 << 1) // Added in 3.10, harmless no-op before that
  ------------------
  |  Branch (1933:24): [True: 0, False: 0]
  ------------------
 1934|      0|                    && PyObject_TypeCheck(obj, PyDescr_TYPE(descr))) {
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1935|      0|                    PyObject **addr = _PyMember_GetOffset(obj, member);
 1936|      0|                    if (FT_ATOMIC_LOAD_PTR(*addr) == NULL) {
  ------------------
  |  |  147|      0|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  |  Branch (1936:25): [True: 0, False: 0]
  ------------------
 1937|      0|                        goto done;
 1938|      0|                    }
 1939|      0|                }
 1940|     28|            }
 1941|  1.68k|            res = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  213|  1.68k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1942|  1.68k|            if (res == NULL && suppress &&
  ------------------
  |  Branch (1942:17): [True: 0, False: 1.68k]
  |  Branch (1942:32): [True: 0, False: 0]
  ------------------
 1943|      0|                    PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1943:21): [True: 0, False: 0]
  ------------------
 1944|      0|                PyErr_Clear();
 1945|      0|            }
 1946|  1.68k|            goto done;
 1947|  1.68k|        }
 1948|  1.98k|    }
 1949|  8.39k|    if (dict == NULL) {
  ------------------
  |  Branch (1949:9): [True: 8.39k, False: 0]
  ------------------
 1950|  8.39k|        if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES)) {
  ------------------
  |  |  472|  8.39k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (1950:13): [True: 1.57k, False: 6.82k]
  ------------------
 1951|  1.57k|            if (PyUnicode_CheckExact(name) &&
  ------------------
  |  |  104|  1.57k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  3.15k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.57k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1952|  1.57k|                _PyObject_TryGetInstanceAttribute(obj, name, &res)) {
  ------------------
  |  Branch (1952:17): [True: 1.57k, False: 0]
  ------------------
 1953|  1.57k|                if (res != NULL) {
  ------------------
  |  Branch (1953:21): [True: 1.38k, False: 190]
  ------------------
 1954|  1.38k|                    goto done;
 1955|  1.38k|                }
 1956|  1.57k|            }
 1957|      0|            else {
 1958|      0|                dict = (PyObject *)_PyObject_MaterializeManagedDict(obj);
 1959|      0|                if (dict == NULL) {
  ------------------
  |  Branch (1959:21): [True: 0, False: 0]
  ------------------
 1960|      0|                    res = NULL;
 1961|      0|                    goto done;
 1962|      0|                }
 1963|      0|            }
 1964|  1.57k|        }
 1965|  6.82k|        else if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  6.82k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (1965:18): [True: 177, False: 6.64k]
  ------------------
 1966|    177|            dict = (PyObject *)_PyObject_GetManagedDict(obj);
 1967|    177|        }
 1968|  6.64k|        else {
 1969|  6.64k|            PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 1970|  6.64k|            if (dictptr) {
  ------------------
  |  Branch (1970:17): [True: 5.97k, False: 669]
  ------------------
 1971|       |#ifdef Py_GIL_DISABLED
 1972|       |                dict = _Py_atomic_load_ptr_acquire(dictptr);
 1973|       |#else
 1974|  5.97k|                dict = *dictptr;
 1975|  5.97k|#endif
 1976|  5.97k|            }
 1977|  6.64k|        }
 1978|  8.39k|    }
 1979|  7.01k|    if (dict != NULL) {
  ------------------
  |  Branch (1979:9): [True: 5.74k, False: 1.26k]
  ------------------
 1980|  5.74k|        Py_INCREF(dict);
  ------------------
  |  |  310|  5.74k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1981|  5.74k|        int rc = PyDict_GetItemRef(dict, name, &res);
 1982|  5.74k|        Py_DECREF(dict);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1983|  5.74k|        if (res != NULL) {
  ------------------
  |  Branch (1983:13): [True: 5.36k, False: 380]
  ------------------
 1984|  5.36k|            goto done;
 1985|  5.36k|        }
 1986|    380|        else if (rc < 0) {
  ------------------
  |  Branch (1986:18): [True: 0, False: 380]
  ------------------
 1987|      0|            if (suppress && PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1987:17): [True: 0, False: 0]
  |  Branch (1987:29): [True: 0, False: 0]
  ------------------
 1988|      0|                PyErr_Clear();
 1989|      0|            }
 1990|      0|            else {
 1991|      0|                goto done;
 1992|      0|            }
 1993|      0|        }
 1994|  5.74k|    }
 1995|       |
 1996|  1.64k|    if (f != NULL) {
  ------------------
  |  Branch (1996:9): [True: 274, False: 1.37k]
  ------------------
 1997|    274|        res = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1998|    274|        if (res == NULL && suppress &&
  ------------------
  |  Branch (1998:13): [True: 0, False: 274]
  |  Branch (1998:28): [True: 0, False: 0]
  ------------------
 1999|      0|                PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1999:17): [True: 0, False: 0]
  ------------------
 2000|      0|            PyErr_Clear();
 2001|      0|        }
 2002|    274|        goto done;
 2003|    274|    }
 2004|       |
 2005|  1.37k|    if (descr != NULL) {
  ------------------
  |  Branch (2005:9): [True: 11, False: 1.36k]
  ------------------
 2006|     11|        res = PyStackRef_AsPyObjectSteal(cref.ref);
 2007|     11|        cref.ref = PyStackRef_NULL;
 2008|     11|        goto done;
 2009|     11|    }
 2010|       |
 2011|  1.36k|    if (!suppress) {
  ------------------
  |  Branch (2011:9): [True: 24, False: 1.33k]
  ------------------
 2012|     24|        PyErr_Format(PyExc_AttributeError,
 2013|     24|                     "'%.100s' object has no attribute '%U'",
 2014|     24|                     tp->tp_name, name);
 2015|       |
 2016|     24|        _PyObject_SetAttributeErrorContext(obj, name);
 2017|     24|    }
 2018|  10.0k|  done:
 2019|  10.0k|    _PyThreadState_PopCStackRef(tstate, &cref);
 2020|  10.0k|    Py_DECREF(name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2021|  10.0k|    return res;
 2022|  1.36k|}
PyObject_GenericGetAttr:
 2026|  1.73k|{
 2027|       |    return _PyObject_GenericGetAttrWithDict(obj, name, NULL, 0);
 2028|  1.73k|}
_PyObject_GenericSetAttrWithDict:
 2033|  3.67k|{
 2034|  3.67k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  3.67k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2035|  3.67k|    PyObject *descr;
 2036|  3.67k|    descrsetfunc f;
 2037|  3.67k|    int res = -1;
 2038|       |
 2039|  3.67k|    assert(!PyType_IsSubtype(tp, &PyType_Type));
  ------------------
  |  Branch (2039:5): [True: 3.67k, False: 0]
  ------------------
 2040|  3.67k|    if (!PyUnicode_Check(name)){
  ------------------
  |  |  103|  3.67k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.67k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2040:9): [True: 0, False: 3.67k]
  ------------------
 2041|      0|        PyErr_Format(PyExc_TypeError,
 2042|      0|                     "attribute name must be string, not '%.200s'",
 2043|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2044|      0|        return -1;
 2045|      0|    }
 2046|       |
 2047|  3.67k|    if (!_PyType_IsReady(tp) && PyType_Ready(tp) < 0) {
  ------------------
  |  Branch (2047:9): [True: 0, False: 3.67k]
  |  Branch (2047:33): [True: 0, False: 0]
  ------------------
 2048|      0|        return -1;
 2049|      0|    }
 2050|       |
 2051|  3.67k|    Py_INCREF(name);
  ------------------
  |  |  310|  3.67k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2052|  3.67k|    _Py_INCREF_TYPE(tp);
  ------------------
  |  |  304|  3.67k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  3.67k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2053|       |
 2054|  3.67k|    PyThreadState *tstate = _PyThreadState_GET();
 2055|  3.67k|    _PyCStackRef cref;
 2056|  3.67k|    _PyThreadState_PushCStackRef(tstate, &cref);
 2057|       |
 2058|  3.67k|    _PyType_LookupStackRefAndVersion(tp, name, &cref.ref);
 2059|  3.67k|    descr = PyStackRef_AsPyObjectBorrow(cref.ref);
 2060|       |
 2061|  3.67k|    if (descr != NULL) {
  ------------------
  |  Branch (2061:9): [True: 514, False: 3.16k]
  ------------------
 2062|    514|        f = Py_TYPE(descr)->tp_descr_set;
  ------------------
  |  |  213|    514|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    514|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    514|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2063|    514|        if (f != NULL) {
  ------------------
  |  Branch (2063:13): [True: 238, False: 276]
  ------------------
 2064|    238|            res = f(descr, obj, value);
 2065|    238|            goto done;
 2066|    238|        }
 2067|    514|    }
 2068|       |
 2069|  3.43k|    if (dict == NULL) {
  ------------------
  |  Branch (2069:9): [True: 3.43k, False: 0]
  ------------------
 2070|  3.43k|        PyObject **dictptr;
 2071|       |
 2072|  3.43k|        if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES)) {
  ------------------
  |  |  472|  3.43k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2072:13): [True: 1.02k, False: 2.41k]
  ------------------
 2073|  1.02k|            res = _PyObject_StoreInstanceAttribute(obj, name, value);
 2074|  1.02k|            goto error_check;
 2075|  1.02k|        }
 2076|       |
 2077|  2.41k|        if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  2.41k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2077:13): [True: 185, False: 2.22k]
  ------------------
 2078|    185|            PyManagedDictPointer *managed_dict = _PyObject_ManagedDictPointer(obj);
 2079|    185|            dictptr = (PyObject **)&managed_dict->dict;
 2080|    185|        }
 2081|  2.22k|        else {
 2082|  2.22k|            dictptr = _PyObject_ComputedDictPointer(obj);
 2083|  2.22k|        }
 2084|  2.41k|        if (dictptr == NULL) {
  ------------------
  |  Branch (2084:13): [True: 0, False: 2.41k]
  ------------------
 2085|      0|            if (descr == NULL) {
  ------------------
  |  Branch (2085:17): [True: 0, False: 0]
  ------------------
 2086|      0|                if (tp->tp_setattro == PyObject_GenericSetAttr) {
  ------------------
  |  Branch (2086:21): [True: 0, False: 0]
  ------------------
 2087|      0|                    PyErr_Format(PyExc_AttributeError,
 2088|      0|                                "'%.100s' object has no attribute '%U' and no "
 2089|      0|                                "__dict__ for setting new attributes",
 2090|      0|                                tp->tp_name, name);
 2091|      0|                }
 2092|      0|                else {
 2093|      0|                    PyErr_Format(PyExc_AttributeError,
 2094|      0|                                "'%.100s' object has no attribute '%U'",
 2095|      0|                                tp->tp_name, name);
 2096|      0|                }
 2097|      0|                _PyObject_SetAttributeErrorContext(obj, name);
 2098|      0|            }
 2099|      0|            else {
 2100|      0|                PyErr_Format(PyExc_AttributeError,
 2101|      0|                            "'%.100s' object attribute '%U' is read-only",
 2102|      0|                            tp->tp_name, name);
 2103|      0|            }
 2104|      0|            goto done;
 2105|      0|        }
 2106|  2.41k|        else {
 2107|  2.41k|            res = _PyObjectDict_SetItem(tp, obj, dictptr, name, value);
 2108|  2.41k|        }
 2109|  2.41k|    }
 2110|      0|    else {
 2111|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2112|      0|        if (value == NULL)
  ------------------
  |  Branch (2112:13): [True: 0, False: 0]
  ------------------
 2113|      0|            res = PyDict_DelItem(dict, name);
 2114|      0|        else
 2115|      0|            res = PyDict_SetItem(dict, name, value);
 2116|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2117|      0|    }
 2118|  3.43k|  error_check:
 2119|  3.43k|    if (res < 0 && PyErr_ExceptionMatches(PyExc_KeyError)) {
  ------------------
  |  Branch (2119:9): [True: 0, False: 3.43k]
  |  Branch (2119:20): [True: 0, False: 0]
  ------------------
 2120|      0|        PyErr_Format(PyExc_AttributeError,
 2121|      0|                        "'%.100s' object has no attribute '%U'",
 2122|      0|                        tp->tp_name, name);
 2123|      0|        _PyObject_SetAttributeErrorContext(obj, name);
 2124|      0|    }
 2125|  3.67k|  done:
 2126|  3.67k|    _PyThreadState_PopCStackRef(tstate, &cref);
 2127|  3.67k|    _Py_DECREF_TYPE(tp);
  ------------------
  |  |  305|  3.67k|#  define _Py_DECREF_TYPE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  3.67k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2128|  3.67k|    Py_DECREF(name);
  ------------------
  |  |  430|  3.67k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2129|  3.67k|    return res;
 2130|  3.43k|}
PyObject_GenericSetAttr:
 2134|  3.67k|{
 2135|       |    return _PyObject_GenericSetAttrWithDict(obj, name, value, NULL);
 2136|  3.67k|}
PyObject_IsTrue:
 2154|  2.76k|{
 2155|  2.76k|    Py_ssize_t res;
 2156|  2.76k|    if (v == Py_True)
  ------------------
  |  |   26|  2.76k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  2.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2156:9): [True: 639, False: 2.12k]
  ------------------
 2157|    639|        return 1;
 2158|  2.12k|    if (v == Py_False)
  ------------------
  |  |   25|  2.12k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  2.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2158:9): [True: 1.27k, False: 852]
  ------------------
 2159|  1.27k|        return 0;
 2160|    852|    if (v == Py_None)
  ------------------
  |  |  616|    852|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2160:9): [True: 114, False: 738]
  ------------------
 2161|    114|        return 0;
 2162|    738|    else if (Py_TYPE(v)->tp_as_number != NULL &&
  ------------------
  |  |  213|    738|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    738|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    738|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2162:14): [True: 495, False: 243]
  ------------------
 2163|    495|             Py_TYPE(v)->tp_as_number->nb_bool != NULL)
  ------------------
  |  |  213|    495|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    495|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    495|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2163:14): [True: 48, False: 447]
  ------------------
 2164|     48|        res = (*Py_TYPE(v)->tp_as_number->nb_bool)(v);
  ------------------
  |  |  213|     48|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2165|    690|    else if (Py_TYPE(v)->tp_as_mapping != NULL &&
  ------------------
  |  |  213|    690|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    690|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    690|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2165:14): [True: 430, False: 260]
  ------------------
 2166|    430|             Py_TYPE(v)->tp_as_mapping->mp_length != NULL)
  ------------------
  |  |  213|    430|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    430|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    430|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2166:14): [True: 408, False: 22]
  ------------------
 2167|    408|        res = (*Py_TYPE(v)->tp_as_mapping->mp_length)(v);
  ------------------
  |  |  213|    408|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    408|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    408|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2168|    282|    else if (Py_TYPE(v)->tp_as_sequence != NULL &&
  ------------------
  |  |  213|    282|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    282|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    282|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2168:14): [True: 224, False: 58]
  ------------------
 2169|    224|             Py_TYPE(v)->tp_as_sequence->sq_length != NULL)
  ------------------
  |  |  213|    224|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    224|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    224|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2169:14): [True: 202, False: 22]
  ------------------
 2170|    202|        res = (*Py_TYPE(v)->tp_as_sequence->sq_length)(v);
  ------------------
  |  |  213|    202|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    202|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    202|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2171|     80|    else
 2172|     80|        return 1;
 2173|       |    /* if it is negative, it should be either -1 or -2 */
 2174|    658|    return (res > 0) ? 1 : Py_SAFE_DOWNCAST(res, Py_ssize_t, int);
  ------------------
  |  |  247|    316|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|    316|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2174:12): [True: 342, False: 316]
  ------------------
 2175|    852|}
PyCallable_Check:
 2194|  9.90k|{
 2195|  9.90k|    if (x == NULL)
  ------------------
  |  Branch (2195:9): [True: 0, False: 9.90k]
  ------------------
 2196|      0|        return 0;
 2197|  9.90k|    return Py_TYPE(x)->tp_call != NULL;
  ------------------
  |  |  213|  9.90k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2198|  9.90k|}
PyObject_Dir:
 2283|      2|{
 2284|      2|    return (obj == NULL) ? _dir_locals() : _dir_object(obj);
  ------------------
  |  Branch (2284:12): [True: 0, False: 2]
  ------------------
 2285|      2|}
_PyObject_InitState:
 2519|      2|{
 2520|       |#ifdef Py_TRACE_REFS
 2521|       |    if (refchain_init(interp) < 0) {
 2522|       |        return _PyStatus_NO_MEMORY();
 2523|       |    }
 2524|       |#endif
 2525|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2526|      2|}
_PyTypes_InitTypes:
 2683|      2|{
 2684|       |    // All other static types (unless initialized elsewhere)
 2685|    242|    for (size_t i=0; i < Py_ARRAY_LENGTH(static_types); i++) {
  ------------------
  |  |  232|    242|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (2685:22): [True: 240, False: 2]
  ------------------
 2686|    240|        PyTypeObject *type = static_types[i];
 2687|    240|        if (type == NULL) {
  ------------------
  |  Branch (2687:13): [True: 4, False: 236]
  ------------------
 2688|      4|            continue;
 2689|      4|        }
 2690|    236|        if (_PyStaticType_InitBuiltin(interp, type) < 0) {
  ------------------
  |  Branch (2690:13): [True: 0, False: 236]
  ------------------
 2691|      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)}
  ------------------
 2692|      0|        }
 2693|    236|        if (type == &PyType_Type) {
  ------------------
  |  Branch (2693:13): [True: 2, False: 234]
  ------------------
 2694|       |            // Sanitify checks of the two most important types
 2695|      2|            assert(PyBaseObject_Type.tp_base == NULL);
  ------------------
  |  Branch (2695:13): [True: 2, False: 0]
  ------------------
 2696|      2|            assert(PyType_Type.tp_base == &PyBaseObject_Type);
  ------------------
  |  Branch (2696:13): [True: 2, False: 0]
  ------------------
 2697|      2|        }
 2698|    236|    }
 2699|       |
 2700|       |    // Cache __reduce__ from PyBaseObject_Type object
 2701|      2|    PyObject *baseobj_dict = _PyType_GetDict(&PyBaseObject_Type);
 2702|      2|    PyObject *baseobj_reduce = PyDict_GetItemWithError(baseobj_dict, &_Py_ID(__reduce__));
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2703|      2|    if (baseobj_reduce == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (2703:9): [True: 0, False: 2]
  |  Branch (2703:35): [True: 0, False: 0]
  ------------------
 2704|      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)}
  ------------------
 2705|      0|    }
 2706|      2|    _Py_INTERP_CACHED_OBJECT(interp, objreduce) = baseobj_reduce;
  ------------------
  |  |   22|      2|    (interp)->cached_objects.NAME
  ------------------
 2707|       |
 2708|       |    // Must be after static types are initialized
 2709|      2|    if (_Py_initialize_generic(interp) < 0) {
  ------------------
  |  Branch (2709:9): [True: 0, False: 2]
  ------------------
 2710|      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)}
  ------------------
 2711|      0|    }
 2712|       |
 2713|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2714|      2|}
_Py_NewReference:
 2773|   908k|{
 2774|       |#ifdef Py_REF_DEBUG
 2775|       |    _Py_IncRefTotal(_PyThreadState_GET());
 2776|       |#endif
 2777|   908k|    new_reference(op);
 2778|   908k|}
_Py_NewReferenceNoTotal:
 2782|    469|{
 2783|    469|    new_reference(op);
 2784|    469|}
_Py_SetImmortalUntracked:
 2788|  9.08k|{
 2789|       |    // Check if already immortal to avoid degrading from static immortal to plain immortal
 2790|  9.08k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  9.08k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 30, False: 9.05k]
  |  |  ------------------
  ------------------
 2791|     30|        return;
 2792|     30|    }
 2793|       |#ifdef Py_GIL_DISABLED
 2794|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_UNOWNED_TID);
 2795|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, _Py_IMMORTAL_REFCNT_LOCAL);
 2796|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
 2797|       |    _Py_atomic_or_uint8(&op->ob_gc_bits, _PyGC_BITS_DEFERRED);
 2798|       |#elif SIZEOF_VOID_P > 4
 2799|  9.05k|    op->ob_flags = _Py_IMMORTAL_FLAGS;
  ------------------
  |  |  581|  9.05k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  ------------------
 2800|  9.05k|    op->ob_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
  ------------------
  |  |   47|  9.05k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
 2801|       |#else
 2802|       |    op->ob_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
 2803|       |#endif
 2804|  9.05k|}
_Py_SetImmortal:
 2808|  9.07k|{
 2809|  9.07k|    if (PyObject_IS_GC(op) && _PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|    830|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    830|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 826, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (2809:9): [True: 830, False: 8.24k]
  ------------------
 2810|    826|        _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  504|    826|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    826|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    826|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2811|    826|    }
 2812|  9.07k|    _Py_SetImmortalUntracked(op);
 2813|  9.07k|}
_PyObject_SetDeferredRefcount:
 2817|  8.73k|{
 2818|       |#ifdef Py_GIL_DISABLED
 2819|       |    assert(PyType_IS_GC(Py_TYPE(op)));
 2820|       |    assert(_Py_IsOwnedByCurrentThread(op));
 2821|       |    assert(op->ob_ref_shared == 0);
 2822|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_DEFERRED);
 2823|       |    op->ob_ref_shared = _Py_REF_SHARED(_Py_REF_DEFERRED, 0);
 2824|       |#endif
 2825|  8.73k|}
PyUnstable_Object_EnableDeferredRefcount:
 2829|    496|{
 2830|       |#ifdef Py_GIL_DISABLED
 2831|       |    if (!PyType_IS_GC(Py_TYPE(op))) {
 2832|       |        // Deferred reference counting doesn't work
 2833|       |        // on untracked types.
 2834|       |        return 0;
 2835|       |    }
 2836|       |
 2837|       |    if (!PyObject_GC_IsTracked(op)) {
 2838|       |        // When deferred refcount is enabled, the object will only be
 2839|       |        // deallocated by the tracing garbage collector. So it must be tracked
 2840|       |        // by the garbage collector.
 2841|       |        return 0;
 2842|       |    }
 2843|       |
 2844|       |    uint8_t bits = _Py_atomic_load_uint8(&op->ob_gc_bits);
 2845|       |    if ((bits & _PyGC_BITS_DEFERRED) != 0)
 2846|       |    {
 2847|       |        // Nothing to do.
 2848|       |        return 0;
 2849|       |    }
 2850|       |
 2851|       |    if (_Py_atomic_compare_exchange_uint8(&op->ob_gc_bits, &bits, bits | _PyGC_BITS_DEFERRED) == 0)
 2852|       |    {
 2853|       |        // Someone beat us to it!
 2854|       |        return 0;
 2855|       |    }
 2856|       |    _Py_atomic_add_ssize(&op->ob_ref_shared, _Py_REF_SHARED(_Py_REF_DEFERRED, 0));
 2857|       |    return 1;
 2858|       |#else
 2859|    496|    return 0;
 2860|    496|#endif
 2861|    496|}
PyUnstable_EnableTryIncRef:
 2898|      6|{
 2899|       |#ifdef Py_GIL_DISABLED
 2900|       |    _PyObject_SetMaybeWeakref(op);
 2901|       |#endif
 2902|      6|}
Py_ReprEnter:
 3121|     24|{
 3122|     24|    PyObject *dict;
 3123|     24|    PyObject *list;
 3124|     24|    Py_ssize_t i;
 3125|       |
 3126|     24|    dict = PyThreadState_GetDict();
 3127|       |    /* Ignore a missing thread-state, so that this function can be called
 3128|       |       early on startup. */
 3129|     24|    if (dict == NULL)
  ------------------
  |  Branch (3129:9): [True: 0, False: 24]
  ------------------
 3130|      0|        return 0;
 3131|     24|    list = PyDict_GetItemWithError(dict, &_Py_ID(Py_Repr));
  ------------------
  |  |  951|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3132|     24|    if (list == NULL) {
  ------------------
  |  Branch (3132:9): [True: 1, False: 23]
  ------------------
 3133|      1|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (3133:13): [True: 0, False: 1]
  ------------------
 3134|      0|            return -1;
 3135|      0|        }
 3136|      1|        list = PyList_New(0);
 3137|      1|        if (list == NULL)
  ------------------
  |  Branch (3137:13): [True: 0, False: 1]
  ------------------
 3138|      0|            return -1;
 3139|      1|        if (_PyDict_SetItem_Take2((PyDictObject *)dict, &_Py_ID(Py_Repr), list) < 0) {
  ------------------
  |  |  951|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3139:13): [True: 0, False: 1]
  ------------------
 3140|      0|            return -1;
 3141|      0|        }
 3142|      1|    }
 3143|     24|    i = PyList_GET_SIZE(list);
  ------------------
  |  |   38|     24|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3144|     44|    while (--i >= 0) {
  ------------------
  |  Branch (3144:12): [True: 20, False: 24]
  ------------------
 3145|     40|        if (PyList_GET_ITEM(list, i) == obj)
  ------------------
  |  |   40|     20|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|     20|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3145:13): [True: 20, False: 0]
  |  Branch (3145:13): [True: 0, False: 20]
  ------------------
 3146|      0|            return 1;
 3147|     20|    }
 3148|     24|    if (PyList_Append(list, obj) < 0)
  ------------------
  |  Branch (3148:9): [True: 0, False: 24]
  ------------------
 3149|      0|        return -1;
 3150|     24|    return 0;
 3151|     24|}
Py_ReprLeave:
 3155|     24|{
 3156|     24|    PyObject *dict;
 3157|     24|    PyObject *list;
 3158|     24|    Py_ssize_t i;
 3159|       |
 3160|     24|    PyObject *exc = PyErr_GetRaisedException();
 3161|       |
 3162|     24|    dict = PyThreadState_GetDict();
 3163|     24|    if (dict == NULL)
  ------------------
  |  Branch (3163:9): [True: 0, False: 24]
  ------------------
 3164|      0|        goto finally;
 3165|       |
 3166|     24|    list = PyDict_GetItemWithError(dict, &_Py_ID(Py_Repr));
  ------------------
  |  |  951|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3167|     24|    if (list == NULL || !PyList_Check(list))
  ------------------
  |  |   25|     24|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     24|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3167:9): [True: 0, False: 24]
  |  Branch (3167:25): [True: 0, False: 24]
  ------------------
 3168|      0|        goto finally;
 3169|       |
 3170|     24|    i = PyList_GET_SIZE(list);
  ------------------
  |  |   38|     24|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3171|       |    /* Count backwards because we always expect obj to be list[-1] */
 3172|     24|    while (--i >= 0) {
  ------------------
  |  Branch (3172:12): [True: 24, False: 0]
  ------------------
 3173|     48|        if (PyList_GET_ITEM(list, i) == obj) {
  ------------------
  |  |   40|     24|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|     24|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3173:13): [True: 24, False: 0]
  |  Branch (3173:13): [True: 24, False: 0]
  ------------------
 3174|     24|            PyList_SetSlice(list, i, i + 1, NULL);
 3175|     24|            break;
 3176|     24|        }
 3177|     24|    }
 3178|       |
 3179|     24|finally:
 3180|       |    /* ignore exceptions because there is no way to report them. */
 3181|     24|    PyErr_SetRaisedException(exc);
 3182|     24|}
_Py_Dealloc:
 3379|   864k|{
 3380|   864k|#if !defined(Py_DEBUG) && !defined(Py_TRACE_REFS)
 3381|       |    // gh-130706: Avoid unnecessary register spills for non-GC objects.
 3382|   864k|    PyTypeObject *type = Py_TYPE(op);
  ------------------
  |  |  213|   864k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   864k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   864k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3383|   864k|    if (_PyRuntime.ref_tracer.tracer_func == NULL
  ------------------
  |  Branch (3383:9): [True: 864k, False: 0]
  ------------------
 3384|   864k|        && !(type->tp_flags & Py_TPFLAGS_HAVE_GC))
  ------------------
  |  |  524|   864k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (3384:12): [True: 846k, False: 18.2k]
  ------------------
 3385|   846k|    {
 3386|   846k|        type->tp_dealloc(op);
 3387|   846k|        return;
 3388|   846k|    }
 3389|  18.2k|#endif
 3390|       |    // GC objects (trashcan), reftracer set, or debug builds.
 3391|  18.2k|    py_dealloc(op);
 3392|  18.2k|}
_Py_GetConstant_Init:
 3495|      2|{
 3496|      2|    constants[Py_CONSTANT_ZERO] = _PyLong_GetZero();
  ------------------
  |  |  595|      2|#define Py_CONSTANT_ZERO 5
  ------------------
 3497|      2|    constants[Py_CONSTANT_ONE] = _PyLong_GetOne();
  ------------------
  |  |  596|      2|#define Py_CONSTANT_ONE 6
  ------------------
 3498|      2|    constants[Py_CONSTANT_EMPTY_STR] = PyUnicode_New(0, 0);
  ------------------
  |  |  597|      2|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 3499|      2|    constants[Py_CONSTANT_EMPTY_BYTES] = PyBytes_FromStringAndSize("", 0);
  ------------------
  |  |  598|      2|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 3500|      2|    constants[Py_CONSTANT_EMPTY_TUPLE] = PyTuple_New(0);
  ------------------
  |  |  599|      2|#define Py_CONSTANT_EMPTY_TUPLE 9
  ------------------
 3501|      2|#ifndef NDEBUG
 3502|     22|    for (size_t i=0; i < Py_ARRAY_LENGTH(constants); i++) {
  ------------------
  |  |  232|     22|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (3502:22): [True: 20, False: 2]
  ------------------
 3503|     20|        assert(constants[i] != NULL);
  ------------------
  |  Branch (3503:9): [True: 20, False: 0]
  ------------------
 3504|     20|        assert(_Py_IsImmortal(constants[i]));
  ------------------
  |  Branch (3504:9): [True: 20, False: 0]
  ------------------
 3505|     20|    }
 3506|      2|#endif
 3507|      2|}
Py_GetConstant:
 3511|     70|{
 3512|     70|    if (constant_id < Py_ARRAY_LENGTH(constants)) {
  ------------------
  |  |  232|     70|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (3512:9): [True: 70, False: 0]
  ------------------
 3513|     70|        return constants[constant_id];
 3514|     70|    }
 3515|      0|    else {
 3516|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3517|       |        return NULL;
 3518|      0|    }
 3519|     70|}
Py_GetConstantBorrowed:
 3524|     12|{
 3525|       |    // All constants are immortal
 3526|     12|    return Py_GetConstant(constant_id);
 3527|     12|}
PyUnstable_IsImmortal:
 3531|     31|{
 3532|       |    /* Checking a reference count requires a thread state */
 3533|     31|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|     31|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 3534|     31|    assert(op != NULL);
  ------------------
  |  Branch (3534:5): [True: 31, False: 0]
  ------------------
 3535|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3536|     31|}
PyUnstable_Object_IsUniquelyReferenced:
 3540|   209k|{
 3541|   209k|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|   209k|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 3542|   209k|    assert(op != NULL);
  ------------------
  |  Branch (3542:5): [True: 209k, False: 0]
  ------------------
 3543|   209k|    return _PyObject_IsUniquelyReferenced(op);
 3544|   209k|}
_PyObject_VisitType:
 3548|     46|{
 3549|     46|    assert(op != NULL);
  ------------------
  |  Branch (3549:5): [True: 46, False: 0]
  ------------------
 3550|     46|    PyTypeObject *tp = Py_TYPE(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3551|     46|    _PyObject_ASSERT((PyObject *)tp, PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  360|     46|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|     46|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|     46|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 46, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|     46|      ? (void)(0) \
  |  |  |  |  |  |  353|     46|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3552|     46|    Py_VISIT(tp);
  ------------------
  |  |  194|     46|    do {                                                                \
  |  |  195|     46|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 46, False: 0]
  |  |  ------------------
  |  |  196|     46|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     46|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 46]
  |  |  ------------------
  |  |  198|     46|                return vret;                                            \
  |  |  199|     46|        }                                                               \
  |  |  200|     46|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 46]
  |  |  ------------------
  ------------------
 3553|     46|    return 0;
 3554|     46|}
object.c:do_richcompare:
 1051|  9.40k|{
 1052|  9.40k|    richcmpfunc f;
 1053|  9.40k|    PyObject *res;
 1054|  9.40k|    int checked_reverse_op = 0;
 1055|       |
 1056|  9.40k|    if (!Py_IS_TYPE(v, Py_TYPE(w)) &&
  ------------------
  |  |  215|  18.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  9.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1056:9): [True: 83, False: 9.31k]
  ------------------
 1057|     83|        PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v)) &&
  ------------------
  |  |  213|     83|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     83|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     83|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v)) &&
  ------------------
  |  |  213|     83|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     83|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     83|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1057:9): [True: 3, False: 80]
  ------------------
 1058|      3|        (f = Py_TYPE(w)->tp_richcompare) != NULL) {
  ------------------
  |  |  213|      3|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1058:9): [True: 3, False: 0]
  ------------------
 1059|      3|        checked_reverse_op = 1;
 1060|      3|        res = (*f)(w, v, _Py_SwappedOp[op]);
 1061|      3|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|      3|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1061:13): [True: 0, False: 3]
  ------------------
 1062|      0|            return res;
 1063|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1064|      3|    }
 1065|  9.40k|    if ((f = Py_TYPE(v)->tp_richcompare) != NULL) {
  ------------------
  |  |  213|  9.40k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1065:9): [True: 9.40k, False: 0]
  ------------------
 1066|  9.40k|        res = (*f)(v, w, op);
 1067|  9.40k|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|  9.40k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1067:13): [True: 9.32k, False: 78]
  ------------------
 1068|  9.32k|            return res;
 1069|     78|        Py_DECREF(res);
  ------------------
  |  |  430|     78|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1070|     78|    }
 1071|     78|    if (!checked_reverse_op && (f = Py_TYPE(w)->tp_richcompare) != NULL) {
  ------------------
  |  |  213|     75|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     75|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     75|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1071:9): [True: 75, False: 3]
  |  Branch (1071:32): [True: 75, False: 0]
  ------------------
 1072|     75|        res = (*f)(w, v, _Py_SwappedOp[op]);
 1073|     75|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|     75|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1073:13): [True: 0, False: 75]
  ------------------
 1074|      0|            return res;
 1075|     75|        Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1076|     75|    }
 1077|       |    /* If neither object implements it, provide a sensible default
 1078|       |       for == and !=, but raise an exception for ordering. */
 1079|     78|    switch (op) {
 1080|     78|    case Py_EQ:
  ------------------
  |  |  654|     78|#define Py_EQ 2
  ------------------
  |  Branch (1080:5): [True: 78, False: 0]
  ------------------
 1081|     78|        res = (v == w) ? Py_True : Py_False;
  ------------------
  |  |   26|     78|#  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|     78|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1081:15): [True: 0, False: 78]
  ------------------
 1082|     78|        break;
 1083|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (1083:5): [True: 0, False: 78]
  ------------------
 1084|      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 (1084:15): [True: 0, False: 0]
  ------------------
 1085|      0|        break;
 1086|      0|    default:
  ------------------
  |  Branch (1086:5): [True: 0, False: 78]
  ------------------
 1087|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 1088|      0|                      "'%s' not supported between instances of '%.100s' and '%.100s'",
 1089|      0|                      opstrings[op],
 1090|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1091|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1092|      0|        return NULL;
 1093|     78|    }
 1094|     78|    return Py_NewRef(res);
  ------------------
  |  |  647|     78|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1095|     78|}
object.c:_dir_object:
 2250|      2|{
 2251|      2|    PyObject *result, *sorted;
 2252|      2|    PyObject *dirfunc = _PyObject_LookupSpecial(obj, &_Py_ID(__dir__));
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2253|       |
 2254|      2|    assert(obj != NULL);
  ------------------
  |  Branch (2254:5): [True: 2, False: 0]
  ------------------
 2255|      2|    if (dirfunc == NULL) {
  ------------------
  |  Branch (2255:9): [True: 0, False: 2]
  ------------------
 2256|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (2256:13): [True: 0, False: 0]
  ------------------
 2257|      0|            PyErr_SetString(PyExc_TypeError, "object does not provide __dir__");
 2258|      0|        return NULL;
 2259|      0|    }
 2260|       |    /* use __dir__ */
 2261|      2|    result = _PyObject_CallNoArgs(dirfunc);
 2262|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2263|      2|    if (result == NULL)
  ------------------
  |  Branch (2263:9): [True: 0, False: 2]
  ------------------
 2264|      0|        return NULL;
 2265|       |    /* return sorted(result) */
 2266|      2|    sorted = PySequence_List(result);
 2267|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2268|      2|    if (sorted == NULL)
  ------------------
  |  Branch (2268:9): [True: 0, False: 2]
  ------------------
 2269|      0|        return NULL;
 2270|      2|    if (PyList_Sort(sorted)) {
  ------------------
  |  Branch (2270:9): [True: 0, False: 2]
  ------------------
 2271|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2272|      0|        return NULL;
 2273|      0|    }
 2274|      2|    return sorted;
 2275|      2|}
object.c:none_repr:
 2296|     17|{
 2297|     17|    return PyUnicode_FromString("None");
 2298|     17|}
object.c:none_hash:
 2327|     33|{
 2328|     33|    return 0xFCA86420;
 2329|     33|}
object.c:new_reference:
 2740|   908k|{
 2741|       |    // Skip the immortal object check in Py_SET_REFCNT; always set refcnt to 1
 2742|   908k|#if !defined(Py_GIL_DISABLED)
 2743|   908k|#if SIZEOF_VOID_P > 4
 2744|   908k|    op->ob_refcnt_full = 1;
 2745|   908k|    assert(op->ob_refcnt == 1);
  ------------------
  |  Branch (2745:5): [True: 908k, False: 0]
  ------------------
 2746|   908k|    assert(op->ob_flags == 0);
  ------------------
  |  Branch (2746:5): [True: 908k, False: 0]
  ------------------
 2747|       |#else
 2748|       |    op->ob_refcnt = 1;
 2749|       |#endif
 2750|       |#else
 2751|       |    op->ob_flags = 0;
 2752|       |    op->ob_mutex = (PyMutex){ 0 };
 2753|       |#ifdef _Py_THREAD_SANITIZER
 2754|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
 2755|       |    _Py_atomic_store_uint8_relaxed(&op->ob_gc_bits, 0);
 2756|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
 2757|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
 2758|       |#else
 2759|       |    op->ob_tid = _Py_ThreadId();
 2760|       |    op->ob_gc_bits = 0;
 2761|       |    op->ob_ref_local = 1;
 2762|       |    op->ob_ref_shared = 0;
 2763|       |#endif
 2764|       |#endif
 2765|       |#ifdef Py_TRACE_REFS
 2766|       |    _Py_AddToAllObjects(op);
 2767|       |#endif
 2768|   908k|    _PyReftracerTrack(op, PyRefTracer_CREATE);
  ------------------
  |  |  109|   908k|    do { \
  |  |  110|   908k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|   908k|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 908k]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|   908k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 908k]
  |  |  ------------------
  ------------------
 2769|   908k|}
object.c:py_dealloc:
 3308|  18.2k|{
 3309|  18.2k|    PyTypeObject *type = Py_TYPE(op);
  ------------------
  |  |  213|  18.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  18.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3310|  18.2k|    unsigned long gc_flag = type->tp_flags & Py_TPFLAGS_HAVE_GC;
  ------------------
  |  |  524|  18.2k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 3311|  18.2k|    destructor dealloc = type->tp_dealloc;
 3312|  18.2k|    PyThreadState *tstate = NULL;
 3313|  18.2k|    intptr_t margin = 0;
 3314|  18.2k|    if (gc_flag) {
  ------------------
  |  Branch (3314:9): [True: 18.2k, False: 0]
  ------------------
 3315|  18.2k|        tstate = _PyThreadState_GET();
 3316|  18.2k|        margin = _Py_RecursionLimit_GetMargin(tstate);
 3317|  18.2k|        if (margin < 2) {
  ------------------
  |  Branch (3317:13): [True: 0, False: 18.2k]
  ------------------
 3318|      0|            _PyTrash_thread_deposit_object(tstate, (PyObject *)op);
 3319|      0|            return;
 3320|      0|        }
 3321|  18.2k|    }
 3322|       |#ifdef Py_DEBUG
 3323|       |    if (tstate == NULL) {
 3324|       |        tstate = _PyThreadState_GET();
 3325|       |    }
 3326|       |#if !defined(Py_GIL_DISABLED) && !defined(Py_STACKREF_DEBUG)
 3327|       |    /* This assertion doesn't hold for the free-threading build, as
 3328|       |     * PyStackRef_CLOSE_SPECIALIZED is not implemented */
 3329|       |    assert(tstate->current_frame == NULL || tstate->current_frame->stackpointer != NULL);
 3330|       |#endif
 3331|       |    PyObject *old_exc = tstate != NULL ? tstate->current_exception : NULL;
 3332|       |    // Keep the old exception type alive to prevent undefined behavior
 3333|       |    // on (tstate->curexc_type != old_exc_type) below
 3334|       |    Py_XINCREF(old_exc);
 3335|       |    // Make sure that type->tp_name remains valid
 3336|       |    Py_INCREF(type);
 3337|       |#endif
 3338|       |
 3339|       |#ifdef Py_TRACE_REFS
 3340|       |    _Py_ForgetReference(op);
 3341|       |#endif
 3342|  18.2k|    _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  109|  18.2k|    do { \
  |  |  110|  18.2k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|  18.2k|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 18.2k]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|  18.2k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 18.2k]
  |  |  ------------------
  ------------------
 3343|  18.2k|    (*dealloc)(op);
 3344|       |
 3345|       |#ifdef Py_DEBUG
 3346|       |    // gh-89373: The tp_dealloc function must leave the current exception
 3347|       |    // unchanged.
 3348|       |    if (tstate != NULL && tstate->current_exception != old_exc) {
 3349|       |        const char *err;
 3350|       |        if (old_exc == NULL) {
 3351|       |            err = "Deallocator of type '%s' raised an exception";
 3352|       |        }
 3353|       |        else if (tstate->current_exception == NULL) {
 3354|       |            err = "Deallocator of type '%s' cleared the current exception";
 3355|       |        }
 3356|       |        else {
 3357|       |            // It can happen if dealloc() normalized the current exception.
 3358|       |            // A deallocator function must not change the current exception,
 3359|       |            // not even normalize it.
 3360|       |            err = "Deallocator of type '%s' overrode the current exception";
 3361|       |        }
 3362|       |        _Py_FatalErrorFormat(__func__, err, type->tp_name);
 3363|       |    }
 3364|       |    Py_XDECREF(old_exc);
 3365|       |    Py_DECREF(type);
 3366|       |#endif
 3367|  18.2k|    if (gc_flag && tstate->delete_later && margin >= 4) {
  ------------------
  |  Branch (3367:9): [True: 18.2k, False: 0]
  |  Branch (3367:20): [True: 0, False: 18.2k]
  |  Branch (3367:44): [True: 0, False: 0]
  ------------------
 3368|      0|        _PyTrash_thread_destroy_chain(tstate);
 3369|      0|    }
 3370|  18.2k|}

_PyMem_RawMalloc:
   59|   500k|{
   60|       |    /* PyMem_RawMalloc(0) means malloc(1). Some systems would return NULL
   61|       |       for malloc(0), which would be treated as an error. Some platforms would
   62|       |       return a pointer with no memory behind it, which would break pymalloc.
   63|       |       To solve these problems, allocate an extra byte. */
   64|   500k|    if (size == 0)
  ------------------
  |  Branch (64:9): [True: 25, False: 500k]
  ------------------
   65|     25|        size = 1;
   66|   500k|    return malloc(size);
   67|   500k|}
_PyMem_RawCalloc:
   71|    289|{
   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|    289|    if (nelem == 0 || elsize == 0) {
  ------------------
  |  Branch (76:9): [True: 0, False: 289]
  |  Branch (76:23): [True: 0, False: 289]
  ------------------
   77|      0|        nelem = 1;
   78|      0|        elsize = 1;
   79|      0|    }
   80|    289|    return calloc(nelem, elsize);
   81|    289|}
_PyMem_RawRealloc:
   85|  5.83k|{
   86|  5.83k|    if (size == 0)
  ------------------
  |  Branch (86:9): [True: 0, False: 5.83k]
  ------------------
   87|      0|        size = 1;
   88|  5.83k|    return realloc(ptr, size);
   89|  5.83k|}
_PyMem_RawFree:
   93|   496k|{
   94|   496k|    free(ptr);
   95|   496k|}
_PyMem_DefaultRawMalloc:
  481|     14|{
  482|       |#ifdef Py_DEBUG
  483|       |    return _PyMem_DebugRawMalloc(&_PyRuntime.allocators.debug.raw, size);
  484|       |#else
  485|       |    return _PyMem_RawMalloc(NULL, size);
  486|     14|#endif
  487|     14|}
_PyMem_DefaultRawFree:
  511|     16|{
  512|       |#ifdef Py_DEBUG
  513|       |    _PyMem_DebugRawFree(&_PyRuntime.allocators.debug.raw, ptr);
  514|       |#else
  515|       |    _PyMem_RawFree(NULL, ptr);
  516|     16|#endif
  517|     16|}
_PyMem_DefaultRawWcsdup:
  521|     10|{
  522|     10|    assert(str != NULL);
  ------------------
  |  Branch (522:5): [True: 10, False: 0]
  ------------------
  523|       |
  524|     10|    size_t len = wcslen(str);
  525|     10|    if (len > (size_t)PY_SSIZE_T_MAX / sizeof(wchar_t) - 1) {
  ------------------
  |  |  137|     10|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (525:9): [True: 0, False: 10]
  ------------------
  526|      0|        return NULL;
  527|      0|    }
  528|       |
  529|     10|    size_t size = (len + 1) * sizeof(wchar_t);
  530|     10|    wchar_t *str2 = _PyMem_DefaultRawMalloc(size);
  531|     10|    if (str2 == NULL) {
  ------------------
  |  Branch (531:9): [True: 0, False: 10]
  ------------------
  532|      0|        return NULL;
  533|      0|    }
  534|       |
  535|     10|    memcpy(str2, str, size);
  536|     10|    return str2;
  537|     10|}
_PyMem_ArenaAlloc:
  633|     19|{
  634|       |#ifdef MS_WINDOWS
  635|       |#  ifdef PYMALLOC_USE_HUGEPAGES
  636|       |    if (_PyRuntime.allocators.use_hugepages) {
  637|       |        SIZE_T lp_size = GetLargePageMinimum();
  638|       |        if (lp_size > 0 && size % lp_size == 0) {
  639|       |            void *ptr = VirtualAlloc(NULL, size,
  640|       |                            MEM_COMMIT | MEM_RESERVE | MEM_LARGE_PAGES,
  641|       |                            PAGE_READWRITE);
  642|       |            if (ptr != NULL)
  643|       |                return ptr;
  644|       |        }
  645|       |    }
  646|       |    /* Fall back to regular pages */
  647|       |#  endif
  648|       |    return VirtualAlloc(NULL, size,
  649|       |                        MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE);
  650|       |#elif defined(ARENAS_USE_MMAP)
  651|       |    void *ptr;
  652|       |#  ifdef PYMALLOC_USE_HUGEPAGES
  653|       |#    ifdef MAP_HUGETLB
  654|       |    if (_PyRuntime.allocators.use_hugepages) {
  655|       |        size_t hp_size = _pymalloc_system_hugepage_size();
  656|       |        /* Only use huge pages if the arena size is a multiple of the
  657|       |         * system's default huge page size.  When the arena is smaller
  658|       |         * than the huge page, mmap still succeeds but silently
  659|       |         * allocates an entire huge page; the subsequent munmap with
  660|       |         * the smaller arena size then fails with EINVAL, leaking
  661|       |         * all of that memory. */
  662|       |        if (hp_size > 0 && size % hp_size == 0) {
  663|       |            ptr = mmap(NULL, size, PROT_READ|PROT_WRITE,
  664|       |                       MAP_PRIVATE|MAP_ANONYMOUS|MAP_HUGETLB, -1, 0);
  665|       |            if (ptr != MAP_FAILED) {
  666|       |                assert(ptr != NULL);
  667|       |                (void)_PyAnnotateMemoryMap(ptr, size, "cpython:pymalloc:hugepage");
  668|       |                return ptr;
  669|       |            }
  670|       |        }
  671|       |    }
  672|       |    /* Fall back to regular pages */
  673|       |#    endif
  674|       |#  endif
  675|     19|    ptr = mmap(NULL, size, PROT_READ|PROT_WRITE,
  676|     19|               MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
  677|     19|    if (ptr == MAP_FAILED)
  ------------------
  |  Branch (677:9): [True: 0, False: 19]
  ------------------
  678|      0|        return NULL;
  679|     19|    assert(ptr != NULL);
  ------------------
  |  Branch (679:5): [True: 19, False: 0]
  ------------------
  680|     19|#ifdef MADV_HUGEPAGE
  681|     19|    (void)madvise(ptr, size, MADV_HUGEPAGE);
  682|     19|#endif
  683|     19|    (void)_PyAnnotateMemoryMap(ptr, size, "cpython:pymalloc");
  684|     19|    return ptr;
  685|       |#else
  686|       |    return malloc(size);
  687|       |#endif
  688|     19|}
_PyMem_ArenaFree:
  698|      7|{
  699|       |#ifdef MS_WINDOWS
  700|       |    /* Unlike free(), VirtualFree() does not special-case NULL to noop. */
  701|       |    if (ptr == NULL) {
  702|       |        return;
  703|       |    }
  704|       |    VirtualFree(ptr, 0, MEM_RELEASE);
  705|       |#elif defined(ARENAS_USE_MMAP)
  706|       |    /* Unlike free(), munmap() does not special-case NULL to noop. */
  707|      7|    if (ptr == NULL) {
  ------------------
  |  Branch (707:9): [True: 0, False: 7]
  ------------------
  708|      0|        return;
  709|      0|    }
  710|      7|    if (munmap(ptr, size) < 0) {
  ------------------
  |  Branch (710:9): [True: 0, False: 7]
  ------------------
  711|      0|        _Py_FatalErrorFormat(__func__,
  712|      0|                             "munmap(%p, %zu) failed with errno %d",
  713|      0|                             ptr, size, errno);
  714|      0|    }
  715|       |#else
  716|       |    free(ptr);
  717|       |#endif
  718|      7|}
PyMem_GetAllocator:
 1142|      2|{
 1143|      2|    PyMutex_Lock(&ALLOCATORS_MUTEX);
  ------------------
  |  |   59|      2|#define PyMutex_Lock _PyMutex_Lock
  ------------------
                  PyMutex_Lock(&ALLOCATORS_MUTEX);
  ------------------
  |  |  725|      2|#define ALLOCATORS_MUTEX (_PyRuntime.allocators.mutex)
  ------------------
 1144|      2|    get_allocator_unlocked(domain, allocator);
 1145|      2|    PyMutex_Unlock(&ALLOCATORS_MUTEX);
  ------------------
  |  |   70|      2|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
                  PyMutex_Unlock(&ALLOCATORS_MUTEX);
  ------------------
  |  |  725|      2|#define ALLOCATORS_MUTEX (_PyRuntime.allocators.mutex)
  ------------------
 1146|      2|}
_PyObject_VirtualAlloc:
 1193|      2|{
 1194|      2|    size_t alloc_size = _pymalloc_virtual_alloc_size(size);
 1195|      2|    if (alloc_size == 0 && size != 0) {
  ------------------
  |  Branch (1195:9): [True: 0, False: 2]
  |  Branch (1195:28): [True: 0, False: 0]
  ------------------
 1196|      0|        return NULL;
 1197|      0|    }
 1198|      2|    return _PyObject_Arena.alloc(_PyObject_Arena.ctx, alloc_size);
  ------------------
  |  |  730|      2|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                  return _PyObject_Arena.alloc(_PyObject_Arena.ctx, alloc_size);
  ------------------
  |  |  730|      2|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
 1199|      2|}
PyMem_RawMalloc:
 1216|   500k|{
 1217|       |    /*
 1218|       |     * Limit ourselves to PY_SSIZE_T_MAX bytes to prevent security holes.
 1219|       |     * Most python internals blindly use a signed Py_ssize_t to track
 1220|       |     * things without checking for overflows or negatives.
 1221|       |     * As size_t is unsigned, checking for size < 0 is not required.
 1222|       |     */
 1223|   500k|    if (size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|   500k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1223:9): [True: 0, False: 500k]
  ------------------
 1224|      0|        return NULL;
 1225|   500k|    return _PyMem_Raw.malloc(_PyMem_Raw.ctx, size);
  ------------------
  |  |  726|   500k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  return _PyMem_Raw.malloc(_PyMem_Raw.ctx, size);
  ------------------
  |  |  726|   500k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1226|   500k|}
PyMem_RawCalloc:
 1230|    289|{
 1231|       |    /* see PyMem_RawMalloc() */
 1232|    289|    if (elsize != 0 && nelem > (size_t)PY_SSIZE_T_MAX / elsize)
  ------------------
  |  |  137|    289|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1232:9): [True: 289, False: 0]
  |  Branch (1232:24): [True: 0, False: 289]
  ------------------
 1233|      0|        return NULL;
 1234|    289|    return _PyMem_Raw.calloc(_PyMem_Raw.ctx, nelem, elsize);
  ------------------
  |  |  726|    289|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  return _PyMem_Raw.calloc(_PyMem_Raw.ctx, nelem, elsize);
  ------------------
  |  |  726|    289|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1235|    289|}
PyMem_RawRealloc:
 1239|  5.83k|{
 1240|       |    /* see PyMem_RawMalloc() */
 1241|  5.83k|    if (new_size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  5.83k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1241:9): [True: 0, False: 5.83k]
  ------------------
 1242|      0|        return NULL;
 1243|  5.83k|    return _PyMem_Raw.realloc(_PyMem_Raw.ctx, ptr, new_size);
  ------------------
  |  |  726|  5.83k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  return _PyMem_Raw.realloc(_PyMem_Raw.ctx, ptr, new_size);
  ------------------
  |  |  726|  5.83k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1244|  5.83k|}
PyMem_RawFree:
 1247|   496k|{
 1248|   496k|    _PyMem_Raw.free(_PyMem_Raw.ctx, ptr);
  ------------------
  |  |  726|   496k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  _PyMem_Raw.free(_PyMem_Raw.ctx, ptr);
  ------------------
  |  |  726|   496k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1249|   496k|}
PyMem_Malloc:
 1258|   498k|{
 1259|       |    /* see PyMem_RawMalloc() */
 1260|   498k|    if (size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|   498k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1260:9): [True: 0, False: 498k]
  ------------------
 1261|      0|        return NULL;
 1262|   498k|    OBJECT_STAT_INC_COND(allocations512, size < 512);
  ------------------
  |  |   78|   498k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1263|   498k|    OBJECT_STAT_INC_COND(allocations4k, size >= 512 && size < 4094);
  ------------------
  |  |   78|   498k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1264|   498k|    OBJECT_STAT_INC_COND(allocations_big, size >= 4094);
  ------------------
  |  |   78|   498k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1265|   498k|    OBJECT_STAT_INC(allocations);
  ------------------
  |  |   77|   498k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1266|   498k|    return _PyMem.malloc(_PyMem.ctx, size);
  ------------------
  |  |  727|   498k|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  return _PyMem.malloc(_PyMem.ctx, size);
  ------------------
  |  |  727|   498k|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1267|   498k|}
PyMem_Calloc:
 1271|  1.26k|{
 1272|       |    /* see PyMem_RawMalloc() */
 1273|  1.26k|    if (elsize != 0 && nelem > (size_t)PY_SSIZE_T_MAX / elsize)
  ------------------
  |  |  137|  1.26k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1273:9): [True: 1.26k, False: 0]
  |  Branch (1273:24): [True: 0, False: 1.26k]
  ------------------
 1274|      0|        return NULL;
 1275|  1.26k|    OBJECT_STAT_INC_COND(allocations512, elsize < 512);
  ------------------
  |  |   78|  1.26k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1276|  1.26k|    OBJECT_STAT_INC_COND(allocations4k, elsize >= 512 && elsize < 4094);
  ------------------
  |  |   78|  1.26k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1277|  1.26k|    OBJECT_STAT_INC_COND(allocations_big, elsize >= 4094);
  ------------------
  |  |   78|  1.26k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1278|  1.26k|    OBJECT_STAT_INC(allocations);
  ------------------
  |  |   77|  1.26k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1279|  1.26k|    return _PyMem.calloc(_PyMem.ctx, nelem, elsize);
  ------------------
  |  |  727|  1.26k|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  return _PyMem.calloc(_PyMem.ctx, nelem, elsize);
  ------------------
  |  |  727|  1.26k|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1280|  1.26k|}
PyMem_Realloc:
 1284|  11.8k|{
 1285|       |    /* see PyMem_RawMalloc() */
 1286|  11.8k|    if (new_size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  11.8k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1286:9): [True: 0, False: 11.8k]
  ------------------
 1287|      0|        return NULL;
 1288|  11.8k|    return _PyMem.realloc(_PyMem.ctx, ptr, new_size);
  ------------------
  |  |  727|  11.8k|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  return _PyMem.realloc(_PyMem.ctx, ptr, new_size);
  ------------------
  |  |  727|  11.8k|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1289|  11.8k|}
PyMem_Free:
 1293|   507k|{
 1294|   507k|    OBJECT_STAT_INC(frees);
  ------------------
  |  |   77|   507k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1295|   507k|    _PyMem.free(_PyMem.ctx, ptr);
  ------------------
  |  |  727|   507k|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  _PyMem.free(_PyMem.ctx, ptr);
  ------------------
  |  |  727|   507k|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1296|   507k|}
_PyMem_RawWcsdup:
 1305|     82|{
 1306|     82|    assert(str != NULL);
  ------------------
  |  Branch (1306:5): [True: 82, False: 0]
  ------------------
 1307|       |
 1308|     82|    size_t len = wcslen(str);
 1309|     82|    if (len > (size_t)PY_SSIZE_T_MAX / sizeof(wchar_t) - 1) {
  ------------------
  |  |  137|     82|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1309:9): [True: 0, False: 82]
  ------------------
 1310|      0|        return NULL;
 1311|      0|    }
 1312|       |
 1313|     82|    size_t size = (len + 1) * sizeof(wchar_t);
 1314|     82|    wchar_t *str2 = PyMem_RawMalloc(size);
 1315|     82|    if (str2 == NULL) {
  ------------------
  |  Branch (1315:9): [True: 0, False: 82]
  ------------------
 1316|      0|        return NULL;
 1317|      0|    }
 1318|       |
 1319|     82|    memcpy(str2, str, size);
 1320|     82|    return str2;
 1321|     82|}
_PyMem_RawStrdup:
 1325|      8|{
 1326|      8|    assert(str != NULL);
  ------------------
  |  Branch (1326:5): [True: 8, False: 0]
  ------------------
 1327|      8|    size_t size = strlen(str) + 1;
 1328|      8|    char *copy = PyMem_RawMalloc(size);
 1329|      8|    if (copy == NULL) {
  ------------------
  |  Branch (1329:9): [True: 0, False: 8]
  ------------------
 1330|      0|        return NULL;
 1331|      0|    }
 1332|      8|    memcpy(copy, str, size);
 1333|      8|    return copy;
 1334|      8|}
_PyMem_Strdup:
 1338|      1|{
 1339|      1|    assert(str != NULL);
  ------------------
  |  Branch (1339:5): [True: 1, False: 0]
  ------------------
 1340|      1|    size_t size = strlen(str) + 1;
 1341|      1|    char *copy = PyMem_Malloc(size);
 1342|      1|    if (copy == NULL) {
  ------------------
  |  Branch (1342:9): [True: 0, False: 1]
  ------------------
 1343|      0|        return NULL;
 1344|      0|    }
 1345|      1|    memcpy(copy, str, size);
 1346|      1|    return copy;
 1347|      1|}
_PyMem_FreeDelayed:
 1526|    322|{
 1527|    322|    assert(!((uintptr_t)ptr & 0x01));
  ------------------
  |  Branch (1527:5): [True: 322, False: 0]
  ------------------
 1528|    322|    if (ptr != NULL) {
  ------------------
  |  Branch (1528:9): [True: 322, False: 0]
  ------------------
 1529|    322|        free_delayed((uintptr_t)ptr, size);
 1530|    322|    }
 1531|    322|}
PyObject_Malloc:
 1711|   893k|{
 1712|       |    /* see PyMem_RawMalloc() */
 1713|   893k|    if (size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|   893k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1713:9): [True: 0, False: 893k]
  ------------------
 1714|      0|        return NULL;
 1715|   893k|    OBJECT_STAT_INC_COND(allocations512, size < 512);
  ------------------
  |  |   78|   893k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1716|   893k|    OBJECT_STAT_INC_COND(allocations4k, size >= 512 && size < 4094);
  ------------------
  |  |   78|   893k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1717|   893k|    OBJECT_STAT_INC_COND(allocations_big, size >= 4094);
  ------------------
  |  |   78|   893k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1718|   893k|    OBJECT_STAT_INC(allocations);
  ------------------
  |  |   77|   893k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1719|   893k|    return _PyObject.malloc(_PyObject.ctx, size);
  ------------------
  |  |  728|   893k|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
                  return _PyObject.malloc(_PyObject.ctx, size);
  ------------------
  |  |  728|   893k|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
 1720|   893k|}
PyObject_Realloc:
 1737|    469|{
 1738|       |    /* see PyMem_RawMalloc() */
 1739|    469|    if (new_size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|    469|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1739:9): [True: 0, False: 469]
  ------------------
 1740|      0|        return NULL;
 1741|    469|    return _PyObject.realloc(_PyObject.ctx, ptr, new_size);
  ------------------
  |  |  728|    469|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
                  return _PyObject.realloc(_PyObject.ctx, ptr, new_size);
  ------------------
  |  |  728|    469|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
 1742|    469|}
PyObject_Free:
 1746|   850k|{
 1747|   850k|    OBJECT_STAT_INC(frees);
  ------------------
  |  |   77|   850k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1748|   850k|    _PyObject.free(_PyObject.ctx, ptr);
  ------------------
  |  |  728|   850k|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
                  _PyObject.free(_PyObject.ctx, ptr);
  ------------------
  |  |  728|   850k|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
 1749|   850k|}
_PyObject_Malloc:
 2552|  1.39M|{
 2553|  1.39M|    OMState *state = get_state();
 2554|  1.39M|    void* ptr = pymalloc_alloc(state, ctx, nbytes);
 2555|  1.39M|    if (LIKELY(ptr != NULL)) {
  ------------------
  |  | 1756|  1.39M|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1756:25): [True: 901k, False: 496k]
  |  |  ------------------
  ------------------
 2556|   901k|        return ptr;
 2557|   901k|    }
 2558|       |
 2559|   496k|    ptr = PyMem_RawMalloc(nbytes);
 2560|   496k|    if (ptr != NULL) {
  ------------------
  |  Branch (2560:9): [True: 496k, False: 0]
  ------------------
 2561|   496k|        raw_allocated_blocks++;
  ------------------
  |  | 1806|   496k|#define raw_allocated_blocks (state->mgmt.raw_allocated_blocks)
  ------------------
 2562|   496k|    }
 2563|   496k|    return ptr;
 2564|  1.39M|}
_PyObject_Calloc:
 2569|  1.26k|{
 2570|  1.26k|    assert(elsize == 0 || nelem <= (size_t)PY_SSIZE_T_MAX / elsize);
  ------------------
  |  Branch (2570:5): [True: 0, False: 1.26k]
  |  Branch (2570:5): [True: 1.26k, False: 0]
  ------------------
 2571|  1.26k|    size_t nbytes = nelem * elsize;
 2572|       |
 2573|  1.26k|    OMState *state = get_state();
 2574|  1.26k|    void* ptr = pymalloc_alloc(state, ctx, nbytes);
 2575|  1.26k|    if (LIKELY(ptr != NULL)) {
  ------------------
  |  | 1756|  1.26k|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1756:25): [True: 977, False: 283]
  |  |  ------------------
  ------------------
 2576|    977|        memset(ptr, 0, nbytes);
 2577|    977|        return ptr;
 2578|    977|    }
 2579|       |
 2580|    283|    ptr = PyMem_RawCalloc(nelem, elsize);
 2581|    283|    if (ptr != NULL) {
  ------------------
  |  Branch (2581:9): [True: 283, False: 0]
  ------------------
 2582|    283|        raw_allocated_blocks++;
  ------------------
  |  | 1806|    283|#define raw_allocated_blocks (state->mgmt.raw_allocated_blocks)
  ------------------
 2583|    283|    }
 2584|    283|    return ptr;
 2585|  1.26k|}
_PyObject_Free:
 2834|  1.36M|{
 2835|       |    /* PyObject_Free(NULL) has no effect */
 2836|  1.36M|    if (p == NULL) {
  ------------------
  |  Branch (2836:9): [True: 7.88k, False: 1.35M]
  ------------------
 2837|  7.88k|        return;
 2838|  7.88k|    }
 2839|       |
 2840|  1.35M|    OMState *state = get_state();
 2841|  1.35M|    if (UNLIKELY(!pymalloc_free(state, ctx, p))) {
  ------------------
  |  | 1755|  1.35M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1755:27): [True: 495k, False: 858k]
  |  |  ------------------
  ------------------
 2842|       |        /* pymalloc didn't allocate this address */
 2843|   495k|        PyMem_RawFree(p);
 2844|   495k|        raw_allocated_blocks--;
  ------------------
  |  | 1806|   495k|#define raw_allocated_blocks (state->mgmt.raw_allocated_blocks)
  ------------------
 2845|   495k|    }
 2846|  1.35M|}
_PyObject_Realloc:
 2922|  12.2k|{
 2923|  12.2k|    void *ptr2;
 2924|       |
 2925|  12.2k|    if (ptr == NULL) {
  ------------------
  |  Branch (2925:9): [True: 2.16k, False: 10.1k]
  ------------------
 2926|  2.16k|        return _PyObject_Malloc(ctx, nbytes);
 2927|  2.16k|    }
 2928|       |
 2929|  10.1k|    OMState *state = get_state();
 2930|  10.1k|    if (pymalloc_realloc(state, ctx, &ptr2, ptr, nbytes)) {
  ------------------
  |  Branch (2930:9): [True: 4.39k, False: 5.72k]
  ------------------
 2931|  4.39k|        return ptr2;
 2932|  4.39k|    }
 2933|       |
 2934|  5.72k|    return PyMem_RawRealloc(ptr, nbytes);
 2935|  10.1k|}
_PyMem_init_obmalloc:
 3574|      2|{
 3575|      2|#ifdef WITH_PYMALLOC
 3576|       |    /* Initialize obmalloc, but only for subinterpreters,
 3577|       |       since the main interpreter is initialized statically. */
 3578|      2|    if (_Py_IsMainInterpreter(interp)
  ------------------
  |  Branch (3578:9): [True: 2, False: 0]
  ------------------
 3579|      0|            || _PyInterpreterState_HasFeature(interp,
  ------------------
  |  Branch (3579:16): [True: 0, False: 0]
  ------------------
 3580|      2|                                              Py_RTFLAGS_USE_MAIN_OBMALLOC)) {
  ------------------
  |  |   79|      0|#define Py_RTFLAGS_USE_MAIN_OBMALLOC (1UL << 5)
  ------------------
 3581|      2|        interp->obmalloc = &obmalloc_state_main;
 3582|      2|        if (!obmalloc_state_initialized) {
  ------------------
  |  Branch (3582:13): [True: 2, False: 0]
  ------------------
 3583|      2|            init_obmalloc_pools(interp);
 3584|      2|            obmalloc_state_initialized = true;
 3585|      2|        }
 3586|      2|    } else {
 3587|      0|        interp->obmalloc = PyMem_RawCalloc(1, sizeof(struct _obmalloc_state));
 3588|      0|        if (interp->obmalloc == NULL) {
  ------------------
  |  Branch (3588:13): [True: 0, False: 0]
  ------------------
 3589|      0|            return -1;
 3590|      0|        }
 3591|      0|        init_obmalloc_pools(interp);
 3592|      0|    }
 3593|      2|#endif /* WITH_PYMALLOC */
 3594|      2|    return 0; // success
 3595|      2|}
obmalloc.c:get_allocator_unlocked:
 1112|      2|{
 1113|      2|    switch(domain)
 1114|      2|    {
 1115|      2|    case PYMEM_DOMAIN_RAW: *allocator = _PyMem_Raw; break;
  ------------------
  |  |  726|      2|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
  |  Branch (1115:5): [True: 2, False: 0]
  ------------------
 1116|      0|    case PYMEM_DOMAIN_MEM: *allocator = _PyMem; break;
  ------------------
  |  |  727|      0|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
  |  Branch (1116:5): [True: 0, False: 2]
  ------------------
 1117|      0|    case PYMEM_DOMAIN_OBJ: *allocator = _PyObject; break;
  ------------------
  |  |  728|      0|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
  |  Branch (1117:5): [True: 0, False: 2]
  ------------------
 1118|      0|    default:
  ------------------
  |  Branch (1118:5): [True: 0, False: 2]
  ------------------
 1119|       |        /* unknown domain: set all attributes to NULL */
 1120|      0|        allocator->ctx = NULL;
 1121|      0|        allocator->malloc = NULL;
 1122|      0|        allocator->calloc = NULL;
 1123|      0|        allocator->realloc = NULL;
 1124|       |        allocator->free = NULL;
 1125|      2|    }
 1126|      2|}
obmalloc.c:_pymalloc_virtual_alloc_size:
  612|      2|{
  613|       |#if defined(MS_WINDOWS) && defined(PYMALLOC_USE_HUGEPAGES)
  614|       |    if (_PyRuntime.allocators.use_hugepages) {
  615|       |        SIZE_T large_page_size = GetLargePageMinimum();
  616|       |        if (large_page_size > 0) {
  617|       |            return _pymalloc_round_up_to_multiple(size, (size_t)large_page_size);
  618|       |        }
  619|       |    }
  620|       |#elif defined(PYMALLOC_USE_HUGEPAGES) && defined(ARENAS_USE_MMAP) && defined(MAP_HUGETLB)
  621|       |    if (_PyRuntime.allocators.use_hugepages) {
  622|       |        size_t hp_size = _pymalloc_system_hugepage_size();
  623|       |        if (hp_size > 0) {
  624|       |            return _pymalloc_round_up_to_multiple(size, hp_size);
  625|       |        }
  626|       |    }
  627|       |#endif
  628|      2|    return size;
  629|      2|}
obmalloc.c:free_delayed:
 1445|    322|{
 1446|    322|#ifndef Py_GIL_DISABLED
 1447|    322|    free_work_item(ptr, NULL, NULL);
 1448|       |#else
 1449|       |    PyInterpreterState *interp = _PyInterpreterState_GET();
 1450|       |    if (_PyInterpreterState_GetFinalizing(interp) != NULL ||
 1451|       |        interp->stoptheworld.world_stopped)
 1452|       |    {
 1453|       |        // Free immediately during interpreter shutdown or if the world is
 1454|       |        // stopped.
 1455|       |        assert(!interp->stoptheworld.world_stopped || !work_item_should_decref(ptr));
 1456|       |        free_work_item(ptr, NULL, NULL);
 1457|       |        return;
 1458|       |    }
 1459|       |
 1460|       |    _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)_PyThreadState_GET();
 1461|       |    struct llist_node *head = &tstate->mem_free_queue;
 1462|       |
 1463|       |    struct _mem_work_chunk *buf = NULL;
 1464|       |    if (!llist_empty(head)) {
 1465|       |        // Try to re-use the last buffer
 1466|       |        buf = llist_data(head->prev, struct _mem_work_chunk, node);
 1467|       |        if (buf->wr_idx == WORK_ITEMS_PER_CHUNK) {
 1468|       |            // already full
 1469|       |            buf = NULL;
 1470|       |        }
 1471|       |    }
 1472|       |
 1473|       |    if (buf == NULL) {
 1474|       |        buf = PyMem_Calloc(1, sizeof(*buf));
 1475|       |        if (buf != NULL) {
 1476|       |            llist_insert_tail(head, &buf->node);
 1477|       |        }
 1478|       |    }
 1479|       |
 1480|       |    if (buf == NULL) {
 1481|       |        // failed to allocate a buffer, free immediately
 1482|       |        PyObject *to_dealloc = NULL;
 1483|       |        _PyEval_StopTheWorld(tstate->base.interp);
 1484|       |        if (work_item_should_decref(ptr)) {
 1485|       |            PyObject *obj = (PyObject *)(ptr - 1);
 1486|       |            if (!_Py_IsImmortal(obj)) {
 1487|       |                Py_ssize_t refcount = _Py_ExplicitMergeRefcount(obj, -1);
 1488|       |                if (refcount == 0) {
 1489|       |                    to_dealloc = obj;
 1490|       |                }
 1491|       |            }
 1492|       |        }
 1493|       |        else {
 1494|       |            PyMem_Free((void *)ptr);
 1495|       |        }
 1496|       |        _PyEval_StartTheWorld(tstate->base.interp);
 1497|       |        if (to_dealloc != NULL) {
 1498|       |            _Py_Dealloc(to_dealloc);
 1499|       |        }
 1500|       |        return;
 1501|       |    }
 1502|       |
 1503|       |    assert(buf != NULL && buf->wr_idx < WORK_ITEMS_PER_CHUNK);
 1504|       |    uint64_t seq;
 1505|       |    if (should_advance_qsbr_for_free(tstate->qsbr, size)) {
 1506|       |        seq = _Py_qsbr_advance(tstate->qsbr->shared);
 1507|       |    }
 1508|       |    else {
 1509|       |        seq = _Py_qsbr_shared_next(tstate->qsbr->shared);
 1510|       |    }
 1511|       |    buf->array[buf->wr_idx].ptr = ptr;
 1512|       |    buf->array[buf->wr_idx].qsbr_goal = seq;
 1513|       |    buf->wr_idx++;
 1514|       |
 1515|       |    if (buf->wr_idx == WORK_ITEMS_PER_CHUNK) {
 1516|       |        // Normally the processing of delayed items is done from the eval
 1517|       |        // breaker.  Processing here is a safety measure to ensure too much
 1518|       |        // work does not accumulate.
 1519|       |        _PyMem_ProcessDelayed((PyThreadState *)tstate);
 1520|       |    }
 1521|       |#endif
 1522|    322|}
obmalloc.c:free_work_item:
 1380|    322|{
 1381|    322|    if (work_item_should_decref(ptr)) {
  ------------------
  |  Branch (1381:9): [True: 0, False: 322]
  ------------------
 1382|      0|        PyObject *obj = (PyObject *)(ptr - 1);
 1383|       |#ifdef Py_GIL_DISABLED
 1384|       |        if (cb == NULL) {
 1385|       |            assert(!_PyInterpreterState_GET()->stoptheworld.world_stopped);
 1386|       |            Py_DECREF(obj);
 1387|       |            return;
 1388|       |        }
 1389|       |        assert(_PyInterpreterState_GET()->stoptheworld.world_stopped);
 1390|       |        if (_Py_IsImmortal(obj)) {
 1391|       |            // The object may have become immortal after it was queued.
 1392|       |            return;
 1393|       |        }
 1394|       |        Py_ssize_t refcount = _Py_ExplicitMergeRefcount(obj, -1);
 1395|       |        if (refcount == 0) {
 1396|       |            cb(obj, state);
 1397|       |        }
 1398|       |#else
 1399|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1400|      0|#endif
 1401|      0|    }
 1402|    322|    else {
 1403|    322|        PyMem_Free((void *)ptr);
 1404|    322|    }
 1405|    322|}
obmalloc.c:work_item_should_decref:
 1374|    322|{
 1375|    322|    return ptr & 0x01;
 1376|    322|}
obmalloc.c:get_state:
 1790|  2.76M|{
 1791|  2.76M|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1792|  2.76M|    assert(interp->obmalloc != NULL); // otherwise not initialized or freed
  ------------------
  |  Branch (1792:5): [True: 2.76M, False: 0]
  ------------------
 1793|  2.76M|    return interp->obmalloc;
 1794|  2.76M|}
obmalloc.c:pymalloc_alloc:
 2504|  1.39M|{
 2505|       |#ifdef WITH_VALGRIND
 2506|       |    if (UNLIKELY(running_on_valgrind == -1)) {
 2507|       |        running_on_valgrind = RUNNING_ON_VALGRIND;
 2508|       |    }
 2509|       |    if (UNLIKELY(running_on_valgrind)) {
 2510|       |        return NULL;
 2511|       |    }
 2512|       |#endif
 2513|       |
 2514|  1.39M|    if (UNLIKELY(nbytes == 0)) {
  ------------------
  |  | 1755|  1.39M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1755:27): [True: 25, False: 1.39M]
  |  |  ------------------
  ------------------
 2515|     25|        return NULL;
 2516|     25|    }
 2517|  1.39M|    if (UNLIKELY(nbytes > SMALL_REQUEST_THRESHOLD)) {
  ------------------
  |  | 1755|  1.39M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1755:27): [True: 497k, False: 902k]
  |  |  ------------------
  ------------------
 2518|   497k|        return NULL;
 2519|   497k|    }
 2520|       |
 2521|   902k|    uint size = (uint)(nbytes - 1) >> ALIGNMENT_SHIFT;
  ------------------
  |  |   35|   902k|#define uint pymem_uint
  ------------------
                  uint size = (uint)(nbytes - 1) >> ALIGNMENT_SHIFT;
  ------------------
  |  |  139|   902k|#define ALIGNMENT_SHIFT         4
  ------------------
 2522|   902k|    poolp pool = usedpools[size + size];
  ------------------
  |  | 1797|   902k|#define usedpools (state->pools.used)
  ------------------
 2523|   902k|    pymem_block *bp;
 2524|       |
 2525|   902k|    if (LIKELY(pool != pool->nextpool)) {
  ------------------
  |  | 1756|   902k|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1756:25): [True: 900k, False: 2.20k]
  |  |  ------------------
  ------------------
 2526|       |        /*
 2527|       |         * There is a used pool for this size class.
 2528|       |         * Pick up the head block of its free list.
 2529|       |         */
 2530|   900k|        ++pool->ref.count;
 2531|   900k|        bp = pool->freeblock;
 2532|   900k|        assert(bp != NULL);
  ------------------
  |  Branch (2532:9): [True: 900k, False: 0]
  ------------------
 2533|       |
 2534|   900k|        if (UNLIKELY((pool->freeblock = *(pymem_block **)bp) == NULL)) {
  ------------------
  |  | 1755|   900k|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1755:27): [True: 302k, False: 597k]
  |  |  ------------------
  ------------------
 2535|       |            // Reached the end of the free list, try to extend it.
 2536|   302k|            pymalloc_pool_extend(pool, size);
 2537|   302k|        }
 2538|   900k|    }
 2539|  2.20k|    else {
 2540|       |        /* There isn't a pool of the right size class immediately
 2541|       |         * available:  use a free pool.
 2542|       |         */
 2543|  2.20k|        bp = allocate_from_new_pool(state, size);
 2544|  2.20k|    }
 2545|       |
 2546|   902k|    return (void *)bp;
 2547|   902k|}
obmalloc.c:pymalloc_pool_extend:
 2346|   302k|{
 2347|   302k|    if (UNLIKELY(pool->nextoffset <= pool->maxnextoffset)) {
  ------------------
  |  | 1755|   302k|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1755:27): [True: 298k, False: 4.49k]
  |  |  ------------------
  ------------------
 2348|       |        /* There is room for another block. */
 2349|   298k|        pool->freeblock = (pymem_block*)pool + pool->nextoffset;
 2350|   298k|        pool->nextoffset += INDEX2SIZE(size);
  ------------------
  |  |  146|   298k|#define INDEX2SIZE(I) (((pymem_uint)(I) + 1) << ALIGNMENT_SHIFT)
  |  |  ------------------
  |  |  |  |  139|   298k|#define ALIGNMENT_SHIFT         4
  |  |  ------------------
  ------------------
 2351|   298k|        *(pymem_block **)(pool->freeblock) = NULL;
 2352|   298k|        return;
 2353|   298k|    }
 2354|       |
 2355|       |    /* Pool is full, unlink from used pools. */
 2356|  4.49k|    poolp next;
 2357|  4.49k|    next = pool->nextpool;
 2358|  4.49k|    pool = pool->prevpool;
 2359|  4.49k|    next->prevpool = pool;
 2360|  4.49k|    pool->nextpool = next;
 2361|  4.49k|}
obmalloc.c:allocate_from_new_pool:
 2368|  2.20k|{
 2369|       |    /* There isn't a pool of the right size class immediately
 2370|       |     * available:  use a free pool.
 2371|       |     */
 2372|  2.20k|    if (UNLIKELY(usable_arenas == NULL)) {
  ------------------
  |  | 1755|  2.20k|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1755:27): [True: 17, False: 2.19k]
  |  |  ------------------
  ------------------
 2373|       |        /* No arena has a free pool:  allocate a new arena. */
 2374|       |#ifdef WITH_MEMORY_LIMITS
 2375|       |        if (narenas_currently_allocated >= MAX_ARENAS) {
 2376|       |            return NULL;
 2377|       |        }
 2378|       |#endif
 2379|     17|        usable_arenas = new_arena(state);
  ------------------
  |  | 1801|     17|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2380|     17|        if (usable_arenas == NULL) {
  ------------------
  |  | 1801|     17|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2380:13): [True: 0, False: 17]
  ------------------
 2381|      0|            return NULL;
 2382|      0|        }
 2383|     17|        usable_arenas->nextarena = usable_arenas->prevarena = NULL;
  ------------------
  |  | 1801|     17|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      usable_arenas->nextarena = usable_arenas->prevarena = NULL;
  ------------------
  |  | 1801|     17|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2384|     17|        assert(nfp2lasta[usable_arenas->nfreepools] == NULL);
  ------------------
  |  Branch (2384:9): [True: 17, False: 0]
  ------------------
 2385|     17|        nfp2lasta[usable_arenas->nfreepools] = usable_arenas;
  ------------------
  |  | 1802|     17|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools] = usable_arenas;
  ------------------
  |  | 1801|     17|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools] = usable_arenas;
  ------------------
  |  | 1801|     17|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2386|     17|    }
 2387|  2.20k|    assert(usable_arenas->address != 0);
  ------------------
  |  Branch (2387:5): [True: 2.20k, False: 0]
  ------------------
 2388|       |
 2389|       |    /* This arena already had the smallest nfreepools value, so decreasing
 2390|       |     * nfreepools doesn't change that, and we don't need to rearrange the
 2391|       |     * usable_arenas list.  However, if the arena becomes wholly allocated,
 2392|       |     * we need to remove its arena_object from usable_arenas.
 2393|       |     */
 2394|  2.20k|    assert(usable_arenas->nfreepools > 0);
  ------------------
  |  Branch (2394:5): [True: 2.20k, False: 0]
  ------------------
 2395|  2.20k|    if (nfp2lasta[usable_arenas->nfreepools] == usable_arenas) {
  ------------------
  |  | 1802|  2.20k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                  if (nfp2lasta[usable_arenas->nfreepools] == usable_arenas) {
  ------------------
  |  | 1801|  2.20k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                  if (nfp2lasta[usable_arenas->nfreepools] == usable_arenas) {
  ------------------
  |  | 1801|  2.20k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2395:9): [True: 2.20k, False: 5]
  ------------------
 2396|       |        /* It's the last of this size, so there won't be any. */
 2397|  2.20k|        nfp2lasta[usable_arenas->nfreepools] = NULL;
  ------------------
  |  | 1802|  2.20k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools] = NULL;
  ------------------
  |  | 1801|  2.20k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2398|  2.20k|    }
 2399|       |    /* If any free pools will remain, it will be the new smallest. */
 2400|  2.20k|    if (usable_arenas->nfreepools > 1) {
  ------------------
  |  | 1801|  2.20k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2400:9): [True: 2.17k, False: 35]
  ------------------
 2401|  2.17k|        assert(nfp2lasta[usable_arenas->nfreepools - 1] == NULL);
  ------------------
  |  Branch (2401:9): [True: 2.17k, False: 0]
  ------------------
 2402|  2.17k|        nfp2lasta[usable_arenas->nfreepools - 1] = usable_arenas;
  ------------------
  |  | 1802|  2.17k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools - 1] = usable_arenas;
  ------------------
  |  | 1801|  2.17k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools - 1] = usable_arenas;
  ------------------
  |  | 1801|  2.17k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2403|  2.17k|    }
 2404|       |
 2405|       |    /* Try to get a cached free pool. */
 2406|  2.20k|    poolp pool = usable_arenas->freepools;
  ------------------
  |  | 1801|  2.20k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2407|  2.20k|    if (LIKELY(pool != NULL)) {
  ------------------
  |  | 1756|  2.20k|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1756:25): [True: 1.17k, False: 1.03k]
  |  |  ------------------
  ------------------
 2408|       |        /* Unlink from cached pools. */
 2409|  1.17k|        usable_arenas->freepools = pool->nextpool;
  ------------------
  |  | 1801|  1.17k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2410|  1.17k|        usable_arenas->nfreepools--;
  ------------------
  |  | 1801|  1.17k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2411|  1.17k|        if (UNLIKELY(usable_arenas->nfreepools == 0)) {
  ------------------
  |  | 1755|  1.17k|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1755:27): [True: 20, False: 1.15k]
  |  |  ------------------
  ------------------
 2412|       |            /* Wholly allocated:  remove. */
 2413|     20|            assert(usable_arenas->freepools == NULL);
  ------------------
  |  Branch (2413:13): [True: 20, False: 0]
  ------------------
 2414|     20|            assert(usable_arenas->nextarena == NULL ||
  ------------------
  |  Branch (2414:13): [True: 0, False: 20]
  |  Branch (2414:13): [True: 20, False: 0]
  ------------------
 2415|     20|                   usable_arenas->nextarena->prevarena ==
 2416|     20|                   usable_arenas);
 2417|     20|            usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1801|     20|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                          usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1801|     20|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2418|     20|            if (usable_arenas != NULL) {
  ------------------
  |  | 1801|     20|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2418:17): [True: 20, False: 0]
  ------------------
 2419|     20|                usable_arenas->prevarena = NULL;
  ------------------
  |  | 1801|     20|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2420|     20|                assert(usable_arenas->address != 0);
  ------------------
  |  Branch (2420:17): [True: 20, False: 0]
  ------------------
 2421|     20|            }
 2422|     20|        }
 2423|  1.15k|        else {
 2424|       |            /* nfreepools > 0:  it must be that freepools
 2425|       |             * isn't NULL, or that we haven't yet carved
 2426|       |             * off all the arena's pools for the first
 2427|       |             * time.
 2428|       |             */
 2429|  1.15k|            assert(usable_arenas->freepools != NULL ||
  ------------------
  |  Branch (2429:13): [True: 967, False: 188]
  |  Branch (2429:13): [True: 188, False: 0]
  ------------------
 2430|  1.15k|                   usable_arenas->pool_address <=
 2431|  1.15k|                   (pymem_block*)usable_arenas->address +
 2432|  1.15k|                       ARENA_SIZE - POOL_SIZE);
 2433|  1.15k|        }
 2434|  1.17k|    }
 2435|  1.03k|    else {
 2436|       |        /* Carve off a new pool. */
 2437|  1.03k|        assert(usable_arenas->nfreepools > 0);
  ------------------
  |  Branch (2437:9): [True: 1.03k, False: 0]
  ------------------
 2438|  1.03k|        assert(usable_arenas->freepools == NULL);
  ------------------
  |  Branch (2438:9): [True: 1.03k, False: 0]
  ------------------
 2439|  1.03k|        pool = (poolp)usable_arenas->pool_address;
  ------------------
  |  | 1801|  1.03k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2440|  1.03k|        assert((pymem_block*)pool <= (pymem_block*)usable_arenas->address +
  ------------------
  |  Branch (2440:9): [True: 1.03k, False: 0]
  ------------------
 2441|  1.03k|                                 ARENA_SIZE - POOL_SIZE);
 2442|  1.03k|        pool->arenaindex = (uint)(usable_arenas - allarenas);
  ------------------
  |  | 1801|  1.03k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      pool->arenaindex = (uint)(usable_arenas - allarenas);
  ------------------
  |  | 1798|  1.03k|#define allarenas (state->mgmt.arenas)
  ------------------
 2443|  1.03k|        assert(&allarenas[pool->arenaindex] == usable_arenas);
  ------------------
  |  Branch (2443:9): [True: 1.03k, False: 0]
  ------------------
 2444|  1.03k|        pool->szidx = DUMMY_SIZE_IDX;
  ------------------
  |  |  321|  1.03k|#define DUMMY_SIZE_IDX          0xffff  /* size class of newly cached pools */
  ------------------
 2445|  1.03k|        usable_arenas->pool_address += POOL_SIZE;
  ------------------
  |  | 1801|  1.03k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      usable_arenas->pool_address += POOL_SIZE;
  ------------------
  |  |  240|  1.03k|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  ------------------
  |  |  |  |  236|  1.03k|#define POOL_BITS               14                  /* 16 KiB */
  |  |  ------------------
  ------------------
 2446|  1.03k|        --usable_arenas->nfreepools;
  ------------------
  |  | 1801|  1.03k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2447|       |
 2448|  1.03k|        if (usable_arenas->nfreepools == 0) {
  ------------------
  |  | 1801|  1.03k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2448:13): [True: 15, False: 1.01k]
  ------------------
 2449|     15|            assert(usable_arenas->nextarena == NULL ||
  ------------------
  |  Branch (2449:13): [True: 15, False: 0]
  |  Branch (2449:13): [True: 0, False: 0]
  ------------------
 2450|     15|                   usable_arenas->nextarena->prevarena ==
 2451|     15|                   usable_arenas);
 2452|       |            /* Unlink the arena:  it is completely allocated. */
 2453|     15|            usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1801|     15|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                          usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1801|     15|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2454|     15|            if (usable_arenas != NULL) {
  ------------------
  |  | 1801|     15|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2454:17): [True: 0, False: 15]
  ------------------
 2455|      0|                usable_arenas->prevarena = NULL;
  ------------------
  |  | 1801|      0|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2456|      0|                assert(usable_arenas->address != 0);
  ------------------
  |  Branch (2456:17): [True: 0, False: 0]
  ------------------
 2457|      0|            }
 2458|     15|        }
 2459|  1.03k|    }
 2460|       |
 2461|       |    /* Frontlink to used pools. */
 2462|  2.20k|    pymem_block *bp;
 2463|  2.20k|    poolp next = usedpools[size + size]; /* == prev */
  ------------------
  |  | 1797|  2.20k|#define usedpools (state->pools.used)
  ------------------
 2464|  2.20k|    pool->nextpool = next;
 2465|  2.20k|    pool->prevpool = next;
 2466|  2.20k|    next->nextpool = pool;
 2467|  2.20k|    next->prevpool = pool;
 2468|  2.20k|    pool->ref.count = 1;
 2469|  2.20k|    if (pool->szidx == size) {
  ------------------
  |  Branch (2469:9): [True: 1.10k, False: 1.10k]
  ------------------
 2470|       |        /* Luckily, this pool last contained blocks
 2471|       |         * of the same size class, so its header
 2472|       |         * and free list are already initialized.
 2473|       |         */
 2474|  1.10k|        bp = pool->freeblock;
 2475|  1.10k|        assert(bp != NULL);
  ------------------
  |  Branch (2475:9): [True: 1.10k, False: 0]
  ------------------
 2476|  1.10k|        pool->freeblock = *(pymem_block **)bp;
 2477|  1.10k|        return bp;
 2478|  1.10k|    }
 2479|       |    /*
 2480|       |     * Initialize the pool header, set up the free list to
 2481|       |     * contain just the second block, and return the first
 2482|       |     * block.
 2483|       |     */
 2484|  1.10k|    pool->szidx = size;
 2485|  1.10k|    size = INDEX2SIZE(size);
  ------------------
  |  |  146|  1.10k|#define INDEX2SIZE(I) (((pymem_uint)(I) + 1) << ALIGNMENT_SHIFT)
  |  |  ------------------
  |  |  |  |  139|  1.10k|#define ALIGNMENT_SHIFT         4
  |  |  ------------------
  ------------------
 2486|  1.10k|    bp = (pymem_block *)pool + POOL_OVERHEAD;
  ------------------
  |  |  319|  1.10k|#define POOL_OVERHEAD   _Py_SIZE_ROUND_UP(sizeof(struct pool_header), ALIGNMENT)
  |  |  ------------------
  |  |  |  |  249|  1.10k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  |  |  250|  1.10k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  |  |  ------------------
  ------------------
 2487|  1.10k|    pool->nextoffset = POOL_OVERHEAD + (size << 1);
  ------------------
  |  |  319|  1.10k|#define POOL_OVERHEAD   _Py_SIZE_ROUND_UP(sizeof(struct pool_header), ALIGNMENT)
  |  |  ------------------
  |  |  |  |  249|  1.10k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  |  |  250|  1.10k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  |  |  ------------------
  ------------------
 2488|  1.10k|    pool->maxnextoffset = POOL_SIZE - size;
  ------------------
  |  |  240|  1.10k|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  ------------------
  |  |  |  |  236|  1.10k|#define POOL_BITS               14                  /* 16 KiB */
  |  |  ------------------
  ------------------
 2489|  1.10k|    pool->freeblock = bp + size;
 2490|       |    *(pymem_block **)(pool->freeblock) = NULL;
 2491|  1.10k|    return bp;
 2492|  2.20k|}
obmalloc.c:new_arena:
 2134|     17|{
 2135|     17|    struct arena_object* arenaobj;
 2136|     17|    uint excess;        /* number of bytes above pool alignment */
  ------------------
  |  |   35|     17|#define uint pymem_uint
  ------------------
 2137|     17|    void *address;
 2138|       |
 2139|     17|    int debug_stats = _PyRuntime.obmalloc.dump_debug_stats;
 2140|     17|    if (debug_stats == -1) {
  ------------------
  |  Branch (2140:9): [True: 2, False: 15]
  ------------------
 2141|      2|        const char *opt = Py_GETENV("PYTHONMALLOCSTATS");
 2142|      2|        debug_stats = (opt != NULL && *opt != '\0');
  ------------------
  |  Branch (2142:24): [True: 0, False: 2]
  |  Branch (2142:39): [True: 0, False: 0]
  ------------------
 2143|      2|        _PyRuntime.obmalloc.dump_debug_stats = debug_stats;
 2144|      2|    }
 2145|     17|    if (debug_stats) {
  ------------------
  |  Branch (2145:9): [True: 0, False: 17]
  ------------------
 2146|      0|        _PyObject_DebugMallocStats(stderr);
 2147|      0|    }
 2148|       |
 2149|     17|    if (unused_arena_objects == NULL) {
  ------------------
  |  | 1800|     17|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
  |  Branch (2149:9): [True: 2, False: 15]
  ------------------
 2150|      2|        uint i;
  ------------------
  |  |   35|      2|#define uint pymem_uint
  ------------------
 2151|      2|        uint numarenas;
  ------------------
  |  |   35|      2|#define uint pymem_uint
  ------------------
 2152|      2|        size_t nbytes;
 2153|       |
 2154|       |        /* Double the number of arena objects on each allocation.
 2155|       |         * Note that it's possible for `numarenas` to overflow.
 2156|       |         */
 2157|      2|        numarenas = maxarenas ? maxarenas << 1 : INITIAL_ARENA_OBJECTS;
  ------------------
  |  | 1799|      2|#define maxarenas (state->mgmt.maxarenas)
  |  |  ------------------
  |  |  |  Branch (1799:19): [True: 0, False: 2]
  |  |  ------------------
  ------------------
                      numarenas = maxarenas ? maxarenas << 1 : INITIAL_ARENA_OBJECTS;
  ------------------
  |  | 1799|      0|#define maxarenas (state->mgmt.maxarenas)
  ------------------
                      numarenas = maxarenas ? maxarenas << 1 : INITIAL_ARENA_OBJECTS;
  ------------------
  |  |  485|      4|#define INITIAL_ARENA_OBJECTS 16
  ------------------
 2158|      2|        if (numarenas <= maxarenas)
  ------------------
  |  | 1799|      2|#define maxarenas (state->mgmt.maxarenas)
  ------------------
  |  Branch (2158:13): [True: 0, False: 2]
  ------------------
 2159|      0|            return NULL;                /* overflow */
 2160|       |#if SIZEOF_SIZE_T <= SIZEOF_INT
 2161|       |        if (numarenas > SIZE_MAX / sizeof(*allarenas))
 2162|       |            return NULL;                /* overflow */
 2163|       |#endif
 2164|      2|        nbytes = numarenas * sizeof(*allarenas);
  ------------------
  |  | 1798|      2|#define allarenas (state->mgmt.arenas)
  ------------------
 2165|      2|        arenaobj = (struct arena_object *)PyMem_RawRealloc(allarenas, nbytes);
  ------------------
  |  | 1798|      2|#define allarenas (state->mgmt.arenas)
  ------------------
 2166|      2|        if (arenaobj == NULL)
  ------------------
  |  Branch (2166:13): [True: 0, False: 2]
  ------------------
 2167|      0|            return NULL;
 2168|      2|        allarenas = arenaobj;
  ------------------
  |  | 1798|      2|#define allarenas (state->mgmt.arenas)
  ------------------
 2169|       |
 2170|       |        /* We might need to fix pointers that were copied.  However,
 2171|       |         * new_arena only gets called when all the pages in the
 2172|       |         * previous arenas are full.  Thus, there are *no* pointers
 2173|       |         * into the old array. Thus, we don't have to worry about
 2174|       |         * invalid pointers.  Just to be sure, some asserts:
 2175|       |         */
 2176|      2|        assert(usable_arenas == NULL);
  ------------------
  |  Branch (2176:9): [True: 2, False: 0]
  ------------------
 2177|      2|        assert(unused_arena_objects == NULL);
  ------------------
  |  Branch (2177:9): [True: 2, False: 0]
  ------------------
 2178|       |
 2179|       |        /* Put the new arenas on the unused_arena_objects list. */
 2180|     34|        for (i = maxarenas; i < numarenas; ++i) {
  ------------------
  |  | 1799|      2|#define maxarenas (state->mgmt.maxarenas)
  ------------------
  |  Branch (2180:29): [True: 32, False: 2]
  ------------------
 2181|     32|            allarenas[i].address = 0;              /* mark as unassociated */
  ------------------
  |  | 1798|     32|#define allarenas (state->mgmt.arenas)
  ------------------
 2182|     32|            allarenas[i].nextarena = i < numarenas - 1 ?
  ------------------
  |  | 1798|     32|#define allarenas (state->mgmt.arenas)
  ------------------
  |  Branch (2182:38): [True: 30, False: 2]
  ------------------
 2183|     32|                                        &allarenas[i+1] : NULL;
  ------------------
  |  | 1798|     30|#define allarenas (state->mgmt.arenas)
  ------------------
 2184|     32|        }
 2185|       |
 2186|       |        /* Update globals. */
 2187|      2|        unused_arena_objects = &allarenas[maxarenas];
  ------------------
  |  | 1800|      2|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
                      unused_arena_objects = &allarenas[maxarenas];
  ------------------
  |  | 1798|      2|#define allarenas (state->mgmt.arenas)
  ------------------
                      unused_arena_objects = &allarenas[maxarenas];
  ------------------
  |  | 1799|      2|#define maxarenas (state->mgmt.maxarenas)
  ------------------
 2188|      2|        maxarenas = numarenas;
  ------------------
  |  | 1799|      2|#define maxarenas (state->mgmt.maxarenas)
  ------------------
 2189|      2|    }
 2190|       |
 2191|       |    /* Take the next available arena object off the head of the list. */
 2192|     17|    assert(unused_arena_objects != NULL);
  ------------------
  |  Branch (2192:5): [True: 17, False: 0]
  ------------------
 2193|     17|    arenaobj = unused_arena_objects;
  ------------------
  |  | 1800|     17|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2194|     17|    unused_arena_objects = arenaobj->nextarena;
  ------------------
  |  | 1800|     17|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2195|     17|    assert(arenaobj->address == 0);
  ------------------
  |  Branch (2195:5): [True: 17, False: 0]
  ------------------
 2196|     17|    address = _PyObject_Arena.alloc(_PyObject_Arena.ctx, ARENA_SIZE);
  ------------------
  |  |  730|     17|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                  address = _PyObject_Arena.alloc(_PyObject_Arena.ctx, ARENA_SIZE);
  ------------------
  |  |  730|     17|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                  address = _PyObject_Arena.alloc(_PyObject_Arena.ctx, ARENA_SIZE);
  ------------------
  |  |  225|     17|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  ------------------
  |  |  |  |  220|     17|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  ------------------
  ------------------
 2197|     17|#if WITH_PYMALLOC_RADIX_TREE
 2198|     17|    if (address != NULL) {
  ------------------
  |  Branch (2198:9): [True: 17, False: 0]
  ------------------
 2199|     17|        if (!arena_map_mark_used(state, (uintptr_t)address, 1)) {
  ------------------
  |  Branch (2199:13): [True: 0, False: 17]
  ------------------
 2200|       |            /* marking arena in radix tree failed, abort */
 2201|      0|            _PyObject_Arena.free(_PyObject_Arena.ctx, address, ARENA_SIZE);
  ------------------
  |  |  730|      0|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                          _PyObject_Arena.free(_PyObject_Arena.ctx, address, ARENA_SIZE);
  ------------------
  |  |  730|      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 */
  |  |  ------------------
  ------------------
 2202|      0|            address = NULL;
 2203|      0|        }
 2204|     17|    }
 2205|     17|#endif
 2206|     17|    if (address == NULL) {
  ------------------
  |  Branch (2206:9): [True: 0, False: 17]
  ------------------
 2207|       |        /* The allocation failed: return NULL after putting the
 2208|       |         * arenaobj back.
 2209|       |         */
 2210|      0|        arenaobj->nextarena = unused_arena_objects;
  ------------------
  |  | 1800|      0|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2211|      0|        unused_arena_objects = arenaobj;
  ------------------
  |  | 1800|      0|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2212|      0|        return NULL;
 2213|      0|    }
 2214|     17|    arenaobj->address = (uintptr_t)address;
 2215|       |
 2216|     17|    ++narenas_currently_allocated;
  ------------------
  |  | 1803|     17|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
 2217|     17|    ++ntimes_arena_allocated;
  ------------------
  |  | 1804|     17|#define ntimes_arena_allocated (state->mgmt.ntimes_arena_allocated)
  ------------------
 2218|     17|    if (narenas_currently_allocated > narenas_highwater)
  ------------------
  |  | 1803|     17|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
                  if (narenas_currently_allocated > narenas_highwater)
  ------------------
  |  | 1805|     17|#define narenas_highwater (state->mgmt.narenas_highwater)
  ------------------
  |  Branch (2218:9): [True: 13, False: 4]
  ------------------
 2219|     13|        narenas_highwater = narenas_currently_allocated;
  ------------------
  |  | 1805|     13|#define narenas_highwater (state->mgmt.narenas_highwater)
  ------------------
                      narenas_highwater = narenas_currently_allocated;
  ------------------
  |  | 1803|     13|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
 2220|     17|    arenaobj->freepools = NULL;
 2221|       |    /* pool_address <- first pool-aligned address in the arena
 2222|       |       nfreepools <- number of whole pools that fit after alignment */
 2223|     17|    arenaobj->pool_address = (pymem_block*)arenaobj->address;
 2224|     17|    arenaobj->nfreepools = MAX_POOLS_IN_ARENA;
  ------------------
  |  |  249|     17|#define MAX_POOLS_IN_ARENA  (ARENA_SIZE / POOL_SIZE)
  |  |  ------------------
  |  |  |  |  225|     17|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|     17|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAX_POOLS_IN_ARENA  (ARENA_SIZE / POOL_SIZE)
  |  |  ------------------
  |  |  |  |  240|     17|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  236|     17|#define POOL_BITS               14                  /* 16 KiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2225|     17|    excess = (uint)(arenaobj->address & POOL_SIZE_MASK);
  ------------------
  |  |  241|     17|#define POOL_SIZE_MASK          (POOL_SIZE - 1)
  |  |  ------------------
  |  |  |  |  240|     17|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  236|     17|#define POOL_BITS               14                  /* 16 KiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2226|     17|    if (excess != 0) {
  ------------------
  |  Branch (2226:9): [True: 3, False: 14]
  ------------------
 2227|      3|        --arenaobj->nfreepools;
 2228|      3|        arenaobj->pool_address += POOL_SIZE - excess;
  ------------------
  |  |  240|      3|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  ------------------
  |  |  |  |  236|      3|#define POOL_BITS               14                  /* 16 KiB */
  |  |  ------------------
  ------------------
 2229|      3|    }
 2230|     17|    arenaobj->ntotalpools = arenaobj->nfreepools;
 2231|       |
 2232|     17|    return arenaobj;
 2233|     17|}
obmalloc.c:arena_map_mark_used:
 2063|     24|{
 2064|       |    /* sanity check that IGNORE_BITS is correct */
 2065|     24|    assert(HIGH_BITS(arena_base) == HIGH_BITS(&arena_map_root));
  ------------------
  |  Branch (2065:5): [True: 24, Folded]
  ------------------
 2066|     24|    arena_map_bot_t *n_hi = arena_map_get(
 2067|     24|            state, (pymem_block *)arena_base, is_used);
 2068|     24|    if (n_hi == NULL) {
  ------------------
  |  Branch (2068:9): [True: 0, False: 24]
  ------------------
 2069|      0|        assert(is_used); /* otherwise node should already exist */
  ------------------
  |  Branch (2069:9): [True: 0, False: 0]
  ------------------
 2070|      0|        return 0; /* failed to allocate space for node */
 2071|      0|    }
 2072|     24|    int i3 = MAP_BOT_INDEX((pymem_block *)arena_base);
  ------------------
  |  |  625|     24|#define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  624|     24|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  620|     24|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|     24|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  618|     24|#define MAP_BOT_MASK (MAP_BOT_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  617|     24|#define MAP_BOT_LENGTH (1 << MAP_BOT_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|     24|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|     24|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|     24|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|     24|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|     24|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|     24|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|     24|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|     24|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|     24|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|     24|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2073|     24|    int32_t tail = (int32_t)(arena_base & ARENA_SIZE_MASK);
  ------------------
  |  |  226|     24|#define ARENA_SIZE_MASK         (ARENA_SIZE - 1)
  |  |  ------------------
  |  |  |  |  225|     24|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|     24|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2074|     24|    if (tail == 0) {
  ------------------
  |  Branch (2074:9): [True: 3, False: 21]
  ------------------
 2075|       |        /* is ideal arena address */
 2076|      3|        n_hi->arenas[i3].tail_hi = is_used ? -1 : 0;
  ------------------
  |  Branch (2076:36): [True: 3, False: 0]
  ------------------
 2077|      3|    }
 2078|     21|    else {
 2079|       |        /* arena_base address is not ideal (aligned to arena size) and
 2080|       |         * so it potentially covers two MAP_BOT nodes.  Get the MAP_BOT node
 2081|       |         * for the next arena.  Note that it might be in different MAP_TOP
 2082|       |         * and MAP_MID nodes as well so we need to call arena_map_get()
 2083|       |         * again (do the full tree traversal).
 2084|       |         */
 2085|     21|        n_hi->arenas[i3].tail_hi = is_used ? tail : 0;
  ------------------
  |  Branch (2085:36): [True: 14, False: 7]
  ------------------
 2086|     21|        uintptr_t arena_base_next = arena_base + ARENA_SIZE;
  ------------------
  |  |  225|     21|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  ------------------
  |  |  |  |  220|     21|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  ------------------
  ------------------
 2087|       |        /* If arena_base is a legit arena address, so is arena_base_next - 1
 2088|       |         * (last address in arena).  If arena_base_next overflows then it
 2089|       |         * must overflow to 0.  However, that would mean arena_base was
 2090|       |         * "ideal" and we should not be in this case. */
 2091|     21|        assert(arena_base < arena_base_next);
  ------------------
  |  Branch (2091:9): [True: 21, False: 0]
  ------------------
 2092|     21|        arena_map_bot_t *n_lo = arena_map_get(
 2093|     21|                state, (pymem_block *)arena_base_next, is_used);
 2094|     21|        if (n_lo == NULL) {
  ------------------
  |  Branch (2094:13): [True: 0, False: 21]
  ------------------
 2095|      0|            assert(is_used); /* otherwise should already exist */
  ------------------
  |  Branch (2095:13): [True: 0, False: 0]
  ------------------
 2096|      0|            n_hi->arenas[i3].tail_hi = 0;
 2097|      0|            return 0; /* failed to allocate space for node */
 2098|      0|        }
 2099|     21|        int i3_next = MAP_BOT_INDEX(arena_base_next);
  ------------------
  |  |  625|     21|#define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  624|     21|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  620|     21|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|     21|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  618|     21|#define MAP_BOT_MASK (MAP_BOT_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  617|     21|#define MAP_BOT_LENGTH (1 << MAP_BOT_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|     21|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|     21|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|     21|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|     21|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|     21|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|     21|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|     21|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|     21|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|     21|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|     21|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2100|     21|        n_lo->arenas[i3_next].tail_lo = is_used ? tail : 0;
  ------------------
  |  Branch (2100:41): [True: 14, False: 7]
  ------------------
 2101|     21|    }
 2102|     24|    return 1;
 2103|     24|}
obmalloc.c:arena_map_get:
 2002|  1.36M|{
 2003|  1.36M|#ifdef USE_INTERIOR_NODES
 2004|       |    /* sanity check that IGNORE_BITS is correct */
 2005|  1.36M|    assert(HIGH_BITS(p) == HIGH_BITS(&arena_map_root));
  ------------------
  |  Branch (2005:5): [True: 1.36M, Folded]
  ------------------
 2006|  1.36M|    int i1 = MAP_TOP_INDEX(p);
  ------------------
  |  |  627|  1.36M|#define MAP_TOP_INDEX(p) ((AS_UINT(p) >> MAP_TOP_SHIFT) & MAP_TOP_MASK)
  |  |  ------------------
  |  |  |  |  624|  1.36M|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_TOP_INDEX(p) ((AS_UINT(p) >> MAP_TOP_SHIFT) & MAP_TOP_MASK)
  |  |  ------------------
  |  |  |  |  622|  1.36M|#define MAP_TOP_SHIFT (MAP_MID_BITS + MAP_MID_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  612|  1.36M|#define MAP_MID_BITS INTERIOR_BITS
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  603|  1.36M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|  1.36M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|  1.36M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|  1.36M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|  1.36M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define MAP_TOP_SHIFT (MAP_MID_BITS + MAP_MID_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|  1.36M|#define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|  1.36M|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|  1.36M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|  1.36M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|  1.36M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|  1.36M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|  1.36M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|  1.36M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|  1.36M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|  1.36M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|  1.36M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  620|  1.36M|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|  1.36M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_TOP_INDEX(p) ((AS_UINT(p) >> MAP_TOP_SHIFT) & MAP_TOP_MASK)
  |  |  ------------------
  |  |  |  |  610|  1.36M|#define MAP_TOP_MASK (MAP_TOP_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  609|  1.36M|#define MAP_TOP_LENGTH (1 << MAP_TOP_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  608|  1.36M|#define MAP_TOP_BITS INTERIOR_BITS
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|  1.36M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|  1.36M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|  1.36M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|  1.36M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|  1.36M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2007|  1.36M|    if (arena_map_root.ptrs[i1] == NULL) {
  ------------------
  |  | 1992|  1.36M|#define arena_map_root (state->usage.arena_map_root)
  ------------------
  |  Branch (2007:9): [True: 2, False: 1.36M]
  ------------------
 2008|      2|        if (!create) {
  ------------------
  |  Branch (2008:13): [True: 0, False: 2]
  ------------------
 2009|      0|            return NULL;
 2010|      0|        }
 2011|      2|        arena_map_mid_t *n = PyMem_RawCalloc(1, sizeof(arena_map_mid_t));
 2012|      2|        if (n == NULL) {
  ------------------
  |  Branch (2012:13): [True: 0, False: 2]
  ------------------
 2013|      0|            return NULL;
 2014|      0|        }
 2015|      2|        arena_map_root.ptrs[i1] = n;
  ------------------
  |  | 1992|      2|#define arena_map_root (state->usage.arena_map_root)
  ------------------
 2016|      2|        arena_map_mid_count++;
  ------------------
  |  | 1994|      2|#define arena_map_mid_count (state->usage.arena_map_mid_count)
  ------------------
 2017|      2|    }
 2018|  1.36M|    int i2 = MAP_MID_INDEX(p);
  ------------------
  |  |  626|  1.36M|#define MAP_MID_INDEX(p) ((AS_UINT(p) >> MAP_MID_SHIFT) & MAP_MID_MASK)
  |  |  ------------------
  |  |  |  |  624|  1.36M|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_MID_INDEX(p) ((AS_UINT(p) >> MAP_MID_SHIFT) & MAP_MID_MASK)
  |  |  ------------------
  |  |  |  |  621|  1.36M|#define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  616|  1.36M|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  599|  1.36M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  565|  1.36M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  576|  1.36M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  220|  1.36M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  603|  1.36M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|  1.36M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|  1.36M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|  1.36M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|  1.36M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  620|  1.36M|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  220|  1.36M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_MID_INDEX(p) ((AS_UINT(p) >> MAP_MID_SHIFT) & MAP_MID_MASK)
  |  |  ------------------
  |  |  |  |  614|  1.36M|#define MAP_MID_MASK (MAP_MID_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  613|  1.36M|#define MAP_MID_LENGTH (1 << MAP_MID_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  612|  1.36M|#define MAP_MID_BITS INTERIOR_BITS
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|  1.36M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|  1.36M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|  1.36M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|  1.36M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|  1.36M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2019|  1.36M|    if (arena_map_root.ptrs[i1]->ptrs[i2] == NULL) {
  ------------------
  |  | 1992|  1.36M|#define arena_map_root (state->usage.arena_map_root)
  ------------------
  |  Branch (2019:9): [True: 501k, False: 862k]
  ------------------
 2020|   501k|        if (!create) {
  ------------------
  |  Branch (2020:13): [True: 501k, False: 2]
  ------------------
 2021|   501k|            return NULL;
 2022|   501k|        }
 2023|      2|        arena_map_bot_t *n = PyMem_RawCalloc(1, sizeof(arena_map_bot_t));
 2024|      2|        if (n == NULL) {
  ------------------
  |  Branch (2024:13): [True: 0, False: 2]
  ------------------
 2025|      0|            return NULL;
 2026|      0|        }
 2027|      2|        arena_map_root.ptrs[i1]->ptrs[i2] = n;
  ------------------
  |  | 1992|      2|#define arena_map_root (state->usage.arena_map_root)
  ------------------
 2028|      2|        arena_map_bot_count++;
  ------------------
  |  | 1995|      2|#define arena_map_bot_count (state->usage.arena_map_bot_count)
  ------------------
 2029|      2|    }
 2030|   862k|    return arena_map_root.ptrs[i1]->ptrs[i2];
  ------------------
  |  | 1992|   862k|#define arena_map_root (state->usage.arena_map_root)
  ------------------
 2031|       |#else
 2032|       |    return &arena_map_root;
 2033|       |#endif
 2034|  1.36M|}
obmalloc.c:pymalloc_free:
 2776|  1.35M|{
 2777|  1.35M|    assert(p != NULL);
  ------------------
  |  Branch (2777:5): [True: 1.35M, False: 0]
  ------------------
 2778|       |
 2779|       |#ifdef WITH_VALGRIND
 2780|       |    if (UNLIKELY(running_on_valgrind > 0)) {
 2781|       |        return 0;
 2782|       |    }
 2783|       |#endif
 2784|       |
 2785|  1.35M|    poolp pool = POOL_ADDR(p);
  ------------------
  |  |  324|  1.35M|#define POOL_ADDR(P) ((poolp)_Py_ALIGN_DOWN((P), POOL_SIZE))
  |  |  ------------------
  |  |  |  |  252|  1.35M|#define _Py_ALIGN_DOWN(p, a) ((void *)((uintptr_t)(p) & ~(uintptr_t)((a) - 1)))
  |  |  ------------------
  ------------------
 2786|  1.35M|    if (UNLIKELY(!address_in_range(state, p, pool))) {
  ------------------
  |  | 1755|  1.35M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1755:27): [True: 495k, False: 858k]
  |  |  ------------------
  ------------------
 2787|   495k|        return 0;
 2788|   495k|    }
 2789|       |    /* We allocated this address. */
 2790|       |
 2791|       |    /* Link p to the start of the pool's freeblock list.  Since
 2792|       |     * the pool had at least the p block outstanding, the pool
 2793|       |     * wasn't empty (so it's already in a usedpools[] list, or
 2794|       |     * was full and is in no list -- it's not in the freeblocks
 2795|       |     * list in any case).
 2796|       |     */
 2797|  1.35M|    assert(pool->ref.count > 0);            /* else it was empty */
  ------------------
  |  Branch (2797:5): [True: 858k, False: 0]
  ------------------
 2798|   858k|    pymem_block *lastfree = pool->freeblock;
 2799|   858k|    *(pymem_block **)p = lastfree;
 2800|   858k|    pool->freeblock = (pymem_block *)p;
 2801|   858k|    pool->ref.count--;
 2802|       |
 2803|   858k|    if (UNLIKELY(lastfree == NULL)) {
  ------------------
  |  | 1755|   858k|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1755:27): [True: 4.28k, False: 853k]
  |  |  ------------------
  ------------------
 2804|       |        /* Pool was full, so doesn't currently live in any list:
 2805|       |         * link it to the front of the appropriate usedpools[] list.
 2806|       |         * This mimics LRU pool usage for new allocations and
 2807|       |         * targets optimal filling when several pools contain
 2808|       |         * blocks of the same size class.
 2809|       |         */
 2810|  4.28k|        insert_to_usedpool(state, pool);
 2811|  4.28k|        return 1;
 2812|  4.28k|    }
 2813|       |
 2814|       |    /* freeblock wasn't NULL, so the pool wasn't full,
 2815|       |     * and the pool is in a usedpools[] list.
 2816|       |     */
 2817|   853k|    if (LIKELY(pool->ref.count != 0)) {
  ------------------
  |  | 1756|   853k|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1756:25): [True: 852k, False: 1.90k]
  |  |  ------------------
  ------------------
 2818|       |        /* pool isn't empty:  leave it in usedpools */
 2819|   852k|        return 1;
 2820|   852k|    }
 2821|       |
 2822|       |    /* Pool is now empty:  unlink from usedpools, and
 2823|       |     * link to the front of freepools.  This ensures that
 2824|       |     * previously freed pools will be allocated later
 2825|       |     * (being not referenced, they are perhaps paged out).
 2826|       |     */
 2827|  1.90k|    insert_to_freepool(state, pool);
 2828|  1.90k|    return 1;
 2829|   853k|}
obmalloc.c:address_in_range:
 2243|  1.36M|{
 2244|  1.36M|    return arena_map_is_used(state, p);
 2245|  1.36M|}
obmalloc.c:arena_map_is_used:
 2109|  1.36M|{
 2110|  1.36M|    arena_map_bot_t *n = arena_map_get(state, p, 0);
 2111|  1.36M|    if (n == NULL) {
  ------------------
  |  Branch (2111:9): [True: 501k, False: 862k]
  ------------------
 2112|   501k|        return 0;
 2113|   501k|    }
 2114|   862k|    int i3 = MAP_BOT_INDEX(p);
  ------------------
  |  |  625|   862k|#define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  624|   862k|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  620|   862k|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|   862k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  618|   862k|#define MAP_BOT_MASK (MAP_BOT_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  617|   862k|#define MAP_BOT_LENGTH (1 << MAP_BOT_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|   862k|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|   862k|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|   862k|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|   862k|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|   862k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|   862k|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|   862k|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|   862k|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|   862k|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|   862k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2115|       |    /* ARENA_BITS must be < 32 so that the tail is a non-negative int32_t. */
 2116|   862k|    int32_t hi = n->arenas[i3].tail_hi;
 2117|   862k|    int32_t lo = n->arenas[i3].tail_lo;
 2118|   862k|    int32_t tail = (int32_t)(AS_UINT(p) & ARENA_SIZE_MASK);
  ------------------
  |  |  624|   862k|#define AS_UINT(p) ((uintptr_t)(p))
  ------------------
                  int32_t tail = (int32_t)(AS_UINT(p) & ARENA_SIZE_MASK);
  ------------------
  |  |  226|   862k|#define ARENA_SIZE_MASK         (ARENA_SIZE - 1)
  |  |  ------------------
  |  |  |  |  225|   862k|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|   862k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2119|   862k|    return (tail < lo) || (tail >= hi && hi != 0);
  ------------------
  |  Branch (2119:12): [True: 461k, False: 401k]
  |  Branch (2119:28): [True: 401k, False: 1]
  |  Branch (2119:42): [True: 401k, False: 31]
  ------------------
 2120|  1.36M|}
obmalloc.c:insert_to_usedpool:
 2590|  4.28k|{
 2591|  4.28k|    assert(pool->ref.count > 0);            /* else the pool is empty */
  ------------------
  |  Branch (2591:5): [True: 4.28k, False: 0]
  ------------------
 2592|       |
 2593|  4.28k|    uint size = pool->szidx;
  ------------------
  |  |   35|  4.28k|#define uint pymem_uint
  ------------------
 2594|  4.28k|    poolp next = usedpools[size + size];
  ------------------
  |  | 1797|  4.28k|#define usedpools (state->pools.used)
  ------------------
 2595|  4.28k|    poolp prev = next->prevpool;
 2596|       |
 2597|       |    /* insert pool before next:   prev <-> pool <-> next */
 2598|  4.28k|    pool->nextpool = next;
 2599|  4.28k|    pool->prevpool = prev;
 2600|  4.28k|    next->prevpool = pool;
 2601|  4.28k|    prev->nextpool = pool;
 2602|  4.28k|}
obmalloc.c:insert_to_freepool:
 2606|  1.90k|{
 2607|  1.90k|    poolp next = pool->nextpool;
 2608|  1.90k|    poolp prev = pool->prevpool;
 2609|  1.90k|    next->prevpool = prev;
 2610|  1.90k|    prev->nextpool = next;
 2611|       |
 2612|       |    /* Link the pool to freepools.  This is a singly-linked
 2613|       |     * list, and pool->prevpool isn't used there.
 2614|       |     */
 2615|  1.90k|    struct arena_object *ao = &allarenas[pool->arenaindex];
  ------------------
  |  | 1798|  1.90k|#define allarenas (state->mgmt.arenas)
  ------------------
 2616|  1.90k|    pool->nextpool = ao->freepools;
 2617|  1.90k|    ao->freepools = pool;
 2618|  1.90k|    uint nf = ao->nfreepools;
  ------------------
  |  |   35|  1.90k|#define uint pymem_uint
  ------------------
 2619|       |    /* If this is the rightmost arena with this number of free pools,
 2620|       |     * nfp2lasta[nf] needs to change.  Caution:  if nf is 0, there
 2621|       |     * are no arenas in usable_arenas with that value.
 2622|       |     */
 2623|  1.90k|    struct arena_object* lastnf = nfp2lasta[nf];
  ------------------
  |  | 1802|  1.90k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
 2624|  1.90k|    assert((nf == 0 && lastnf == NULL) ||
  ------------------
  |  Branch (2624:5): [True: 32, False: 1.86k]
  |  Branch (2624:5): [True: 32, False: 0]
  |  Branch (2624:5): [True: 1.86k, False: 0]
  |  Branch (2624:5): [True: 1.86k, False: 0]
  |  Branch (2624:5): [True: 1.86k, False: 0]
  |  Branch (2624:5): [True: 234, False: 1.63k]
  |  Branch (2624:5): [True: 1.63k, False: 0]
  ------------------
 2625|  1.90k|           (nf > 0 &&
 2626|  1.90k|            lastnf != NULL &&
 2627|  1.90k|            lastnf->nfreepools == nf &&
 2628|  1.90k|            (lastnf->nextarena == NULL ||
 2629|  1.90k|             nf < lastnf->nextarena->nfreepools)));
 2630|  1.90k|    if (lastnf == ao) {  /* it is the rightmost */
  ------------------
  |  Branch (2630:9): [True: 1.86k, False: 38]
  ------------------
 2631|  1.86k|        struct arena_object* p = ao->prevarena;
 2632|  1.86k|        nfp2lasta[nf] = (p != NULL && p->nfreepools == nf) ? p : NULL;
  ------------------
  |  | 1802|  1.86k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
  |  Branch (2632:26): [True: 0, False: 1.86k]
  |  Branch (2632:39): [True: 0, False: 0]
  ------------------
 2633|  1.86k|    }
 2634|  1.90k|    ao->nfreepools = ++nf;
 2635|       |
 2636|       |    /* All the rest is arena management.  We just freed
 2637|       |     * a pool, and there are 4 cases for arena mgmt:
 2638|       |     * 1. If all the pools are free, return the arena to
 2639|       |     *    the system free().  Except if this is the last
 2640|       |     *    arena in the list, keep it to avoid thrashing:
 2641|       |     *    keeping one wholly free arena in the list avoids
 2642|       |     *    pathological cases where a simple loop would
 2643|       |     *    otherwise provoke needing to allocate and free an
 2644|       |     *    arena on every iteration.  See bpo-37257.
 2645|       |     * 2. If this is the only free pool in the arena,
 2646|       |     *    add the arena back to the `usable_arenas` list.
 2647|       |     * 3. If the "next" arena has a smaller count of free
 2648|       |     *    pools, we have to "slide this arena right" to
 2649|       |     *    restore that usable_arenas is sorted in order of
 2650|       |     *    nfreepools.
 2651|       |     * 4. Else there's nothing more to do.
 2652|       |     */
 2653|  1.90k|    if (nf == ao->ntotalpools && ao->nextarena != NULL) {
  ------------------
  |  Branch (2653:9): [True: 10, False: 1.89k]
  |  Branch (2653:34): [True: 7, False: 3]
  ------------------
 2654|       |        /* Case 1.  First unlink ao from usable_arenas.
 2655|       |         */
 2656|      7|        assert(ao->prevarena == NULL ||
  ------------------
  |  Branch (2656:9): [True: 7, False: 0]
  |  Branch (2656:9): [True: 0, False: 0]
  ------------------
 2657|      7|               ao->prevarena->address != 0);
 2658|      7|        assert(ao ->nextarena == NULL ||
  ------------------
  |  Branch (2658:9): [True: 0, False: 7]
  |  Branch (2658:9): [True: 7, False: 0]
  ------------------
 2659|      7|               ao->nextarena->address != 0);
 2660|       |
 2661|       |        /* Fix the pointer in the prevarena, or the
 2662|       |         * usable_arenas pointer.
 2663|       |         */
 2664|      7|        if (ao->prevarena == NULL) {
  ------------------
  |  Branch (2664:13): [True: 7, False: 0]
  ------------------
 2665|      7|            usable_arenas = ao->nextarena;
  ------------------
  |  | 1801|      7|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2666|      7|            assert(usable_arenas == NULL ||
  ------------------
  |  Branch (2666:13): [True: 0, False: 7]
  |  Branch (2666:13): [True: 7, False: 0]
  ------------------
 2667|      7|                   usable_arenas->address != 0);
 2668|      7|        }
 2669|      0|        else {
 2670|      0|            assert(ao->prevarena->nextarena == ao);
  ------------------
  |  Branch (2670:13): [True: 0, False: 0]
  ------------------
 2671|      0|            ao->prevarena->nextarena =
 2672|      0|                ao->nextarena;
 2673|      0|        }
 2674|       |        /* Fix the pointer in the nextarena. */
 2675|      7|        if (ao->nextarena != NULL) {
  ------------------
  |  Branch (2675:13): [True: 7, False: 0]
  ------------------
 2676|      7|            assert(ao->nextarena->prevarena == ao);
  ------------------
  |  Branch (2676:13): [True: 7, False: 0]
  ------------------
 2677|      7|            ao->nextarena->prevarena =
 2678|      7|                ao->prevarena;
 2679|      7|        }
 2680|       |        /* Record that this arena_object slot is
 2681|       |         * available to be reused.
 2682|       |         */
 2683|      7|        ao->nextarena = unused_arena_objects;
  ------------------
  |  | 1800|      7|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2684|      7|        unused_arena_objects = ao;
  ------------------
  |  | 1800|      7|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2685|       |
 2686|      7|#if WITH_PYMALLOC_RADIX_TREE
 2687|       |        /* mark arena region as not under control of obmalloc */
 2688|      7|        arena_map_mark_used(state, ao->address, 0);
 2689|      7|#endif
 2690|       |
 2691|       |        /* Free the entire arena. */
 2692|      7|        _PyObject_Arena.free(_PyObject_Arena.ctx,
  ------------------
  |  |  730|      7|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                      _PyObject_Arena.free(_PyObject_Arena.ctx,
  ------------------
  |  |  730|      7|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
 2693|      7|                             (void *)ao->address, ARENA_SIZE);
  ------------------
  |  |  225|      7|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  ------------------
  |  |  |  |  220|      7|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  ------------------
  ------------------
 2694|      7|        ao->address = 0;                        /* mark unassociated */
 2695|      7|        --narenas_currently_allocated;
  ------------------
  |  | 1803|      7|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
 2696|       |
 2697|      7|        return;
 2698|      7|    }
 2699|       |
 2700|  1.89k|    if (nf == 1) {
  ------------------
  |  Branch (2700:9): [True: 32, False: 1.86k]
  ------------------
 2701|       |        /* Case 2.  Put ao at the head of
 2702|       |         * usable_arenas.  Note that because
 2703|       |         * ao->nfreepools was 0 before, ao isn't
 2704|       |         * currently on the usable_arenas list.
 2705|       |         */
 2706|     32|        ao->nextarena = usable_arenas;
  ------------------
  |  | 1801|     32|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2707|     32|        ao->prevarena = NULL;
 2708|     32|        if (usable_arenas)
  ------------------
  |  | 1801|     32|#define usable_arenas (state->mgmt.usable_arenas)
  |  |  ------------------
  |  |  |  Branch (1801:23): [True: 32, False: 0]
  |  |  ------------------
  ------------------
 2709|     32|            usable_arenas->prevarena = ao;
  ------------------
  |  | 1801|     32|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2710|     32|        usable_arenas = ao;
  ------------------
  |  | 1801|     32|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2711|     32|        assert(usable_arenas->address != 0);
  ------------------
  |  Branch (2711:9): [True: 32, False: 0]
  ------------------
 2712|     32|        if (nfp2lasta[1] == NULL) {
  ------------------
  |  | 1802|     32|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
  |  Branch (2712:13): [True: 32, False: 0]
  ------------------
 2713|     32|            nfp2lasta[1] = ao;
  ------------------
  |  | 1802|     32|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
 2714|     32|        }
 2715|       |
 2716|     32|        return;
 2717|     32|    }
 2718|       |
 2719|       |    /* If this arena is now out of order, we need to keep
 2720|       |     * the list sorted.  The list is kept sorted so that
 2721|       |     * the "most full" arenas are used first, which allows
 2722|       |     * the nearly empty arenas to be completely freed.  In
 2723|       |     * a few un-scientific tests, it seems like this
 2724|       |     * approach allowed a lot more memory to be freed.
 2725|       |     */
 2726|       |    /* If this is the only arena with nf, record that. */
 2727|  1.86k|    if (nfp2lasta[nf] == NULL) {
  ------------------
  |  | 1802|  1.86k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
  |  Branch (2727:9): [True: 1.85k, False: 11]
  ------------------
 2728|  1.85k|        nfp2lasta[nf] = ao;
  ------------------
  |  | 1802|  1.85k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
 2729|  1.85k|    } /* else the rightmost with nf doesn't change */
 2730|       |    /* If this was the rightmost of the old size, it remains in place. */
 2731|  1.86k|    if (ao == lastnf) {
  ------------------
  |  Branch (2731:9): [True: 1.86k, False: 0]
  ------------------
 2732|       |        /* Case 4.  Nothing to do. */
 2733|  1.86k|        return;
 2734|  1.86k|    }
 2735|       |    /* If ao were the only arena in the list, the last block would have
 2736|       |     * gotten us out.
 2737|       |     */
 2738|  1.86k|    assert(ao->nextarena != NULL);
  ------------------
  |  Branch (2738:5): [True: 0, False: 0]
  ------------------
 2739|       |
 2740|       |    /* Case 3:  We have to move the arena towards the end of the list,
 2741|       |     * because it has more free pools than the arena to its right.  It needs
 2742|       |     * to move to follow lastnf.
 2743|       |     * First unlink ao from usable_arenas.
 2744|       |     */
 2745|      0|    if (ao->prevarena != NULL) {
  ------------------
  |  Branch (2745:9): [True: 0, False: 0]
  ------------------
 2746|       |        /* ao isn't at the head of the list */
 2747|      0|        assert(ao->prevarena->nextarena == ao);
  ------------------
  |  Branch (2747:9): [True: 0, False: 0]
  ------------------
 2748|      0|        ao->prevarena->nextarena = ao->nextarena;
 2749|      0|    }
 2750|      0|    else {
 2751|       |        /* ao is at the head of the list */
 2752|      0|        assert(usable_arenas == ao);
  ------------------
  |  Branch (2752:9): [True: 0, False: 0]
  ------------------
 2753|      0|        usable_arenas = ao->nextarena;
  ------------------
  |  | 1801|      0|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2754|      0|    }
 2755|      0|    ao->nextarena->prevarena = ao->prevarena;
 2756|       |    /* And insert after lastnf. */
 2757|      0|    ao->prevarena = lastnf;
 2758|      0|    ao->nextarena = lastnf->nextarena;
 2759|      0|    if (ao->nextarena != NULL) {
  ------------------
  |  Branch (2759:9): [True: 0, False: 0]
  ------------------
 2760|      0|        ao->nextarena->prevarena = ao;
 2761|      0|    }
 2762|      0|    lastnf->nextarena = ao;
 2763|       |    /* Verify that the swaps worked. */
 2764|      0|    assert(ao->nextarena == NULL || nf <= ao->nextarena->nfreepools);
  ------------------
  |  Branch (2764:5): [True: 0, False: 0]
  |  Branch (2764:5): [True: 0, False: 0]
  ------------------
 2765|      0|    assert(ao->prevarena == NULL || nf > ao->prevarena->nfreepools);
  ------------------
  |  Branch (2765:5): [True: 0, False: 0]
  |  Branch (2765:5): [True: 0, False: 0]
  ------------------
 2766|      0|    assert(ao->nextarena == NULL || ao->nextarena->prevarena == ao);
  ------------------
  |  Branch (2766:5): [True: 0, False: 0]
  |  Branch (2766:5): [True: 0, False: 0]
  ------------------
 2767|      0|    assert((usable_arenas == ao && ao->prevarena == NULL)
  ------------------
  |  Branch (2767:5): [True: 0, False: 0]
  |  Branch (2767:5): [True: 0, False: 0]
  |  Branch (2767:5): [True: 0, False: 0]
  ------------------
 2768|      0|           || ao->prevarena->nextarena == ao);
 2769|      0|}
obmalloc.c:pymalloc_realloc:
 2861|  10.1k|{
 2862|  10.1k|    void *bp;
 2863|  10.1k|    poolp pool;
 2864|  10.1k|    size_t size;
 2865|       |
 2866|  10.1k|    assert(p != NULL);
  ------------------
  |  Branch (2866:5): [True: 10.1k, False: 0]
  ------------------
 2867|       |
 2868|       |#ifdef WITH_VALGRIND
 2869|       |    /* Treat running_on_valgrind == -1 the same as 0 */
 2870|       |    if (UNLIKELY(running_on_valgrind > 0)) {
 2871|       |        return 0;
 2872|       |    }
 2873|       |#endif
 2874|       |
 2875|  10.1k|    pool = POOL_ADDR(p);
  ------------------
  |  |  324|  10.1k|#define POOL_ADDR(P) ((poolp)_Py_ALIGN_DOWN((P), POOL_SIZE))
  |  |  ------------------
  |  |  |  |  252|  10.1k|#define _Py_ALIGN_DOWN(p, a) ((void *)((uintptr_t)(p) & ~(uintptr_t)((a) - 1)))
  |  |  ------------------
  ------------------
 2876|  10.1k|    if (!address_in_range(state, p, pool)) {
  ------------------
  |  Branch (2876:9): [True: 5.72k, False: 4.39k]
  ------------------
 2877|       |        /* pymalloc is not managing this block.
 2878|       |
 2879|       |           If nbytes <= SMALL_REQUEST_THRESHOLD, it's tempting to try to take
 2880|       |           over this block.  However, if we do, we need to copy the valid data
 2881|       |           from the C-managed block to one of our blocks, and there's no
 2882|       |           portable way to know how much of the memory space starting at p is
 2883|       |           valid.
 2884|       |
 2885|       |           As bug 1185883 pointed out the hard way, it's possible that the
 2886|       |           C-managed block is "at the end" of allocated VM space, so that a
 2887|       |           memory fault can occur if we try to copy nbytes bytes starting at p.
 2888|       |           Instead we punt: let C continue to manage this block. */
 2889|  5.72k|        return 0;
 2890|  5.72k|    }
 2891|       |
 2892|       |    /* pymalloc is in charge of this block */
 2893|  4.39k|    size = INDEX2SIZE(pool->szidx);
  ------------------
  |  |  146|  4.39k|#define INDEX2SIZE(I) (((pymem_uint)(I) + 1) << ALIGNMENT_SHIFT)
  |  |  ------------------
  |  |  |  |  139|  4.39k|#define ALIGNMENT_SHIFT         4
  |  |  ------------------
  ------------------
 2894|  4.39k|    if (nbytes <= size) {
  ------------------
  |  Branch (2894:9): [True: 754, False: 3.63k]
  ------------------
 2895|       |        /* The block is staying the same or shrinking.
 2896|       |
 2897|       |           If it's shrinking, there's a tradeoff: it costs cycles to copy the
 2898|       |           block to a smaller size class, but it wastes memory not to copy it.
 2899|       |
 2900|       |           The compromise here is to copy on shrink only if at least 25% of
 2901|       |           size can be shaved off. */
 2902|    754|        if (4 * nbytes > 3 * size) {
  ------------------
  |  Branch (2902:13): [True: 575, False: 179]
  ------------------
 2903|       |            /* It's the same, or shrinking and new/old > 3/4. */
 2904|    575|            *newptr_p = p;
 2905|    575|            return 1;
 2906|    575|        }
 2907|    179|        size = nbytes;
 2908|    179|    }
 2909|       |
 2910|  3.81k|    bp = _PyObject_Malloc(ctx, nbytes);
 2911|  3.81k|    if (bp != NULL) {
  ------------------
  |  Branch (2911:9): [True: 3.81k, False: 0]
  ------------------
 2912|  3.81k|        memcpy(bp, p, size);
 2913|  3.81k|        _PyObject_Free(ctx, p);
 2914|  3.81k|    }
 2915|  3.81k|    *newptr_p = bp;
 2916|  3.81k|    return 1;
 2917|  4.39k|}
obmalloc.c:init_obmalloc_pools:
 3564|      2|{
 3565|       |    // initialize the obmalloc->pools structure.  This must be done
 3566|       |    // before the obmalloc alloc/free functions can be called.
 3567|      2|    poolp temp[OBMALLOC_USED_POOLS_SIZE] =
 3568|      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 *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3569|      2|    memcpy(&interp->obmalloc->pools.used, temp, sizeof(temp));
 3570|      2|}

rangeobject.c:range_dealloc:
  186|    104|{
  187|    104|    rangeobject *r = (rangeobject*)op;
  188|    104|    Py_DECREF(r->start);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|    104|    Py_DECREF(r->stop);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  190|    104|    Py_DECREF(r->step);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|    104|    Py_DECREF(r->length);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  192|    104|    _Py_FREELIST_FREE(ranges, r, PyObject_Free);
  ------------------
  |  |   35|    104|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|    104|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   22|    104|#  define Py_ranges_MAXFREELIST 6
  |  |  ------------------
  ------------------
  193|    104|}
rangeobject.c:range_length:
  335|      2|{
  336|      2|    rangeobject *r = (rangeobject*)op;
  337|      2|    return PyLong_AsSsize_t(r->length);
  338|      2|}
rangeobject.c:compute_item:
  342|     14|{
  343|     14|    PyObject *incr, *result;
  344|       |    /* PyLong equivalent to:
  345|       |     *    return r->start + (i * r->step)
  346|       |     */
  347|     14|    if (r->step == _PyLong_GetOne()) {
  ------------------
  |  Branch (347:9): [True: 14, False: 0]
  ------------------
  348|     14|        result = PyNumber_Add(r->start, i);
  349|     14|    }
  350|      0|    else {
  351|      0|        incr = PyNumber_Multiply(i, r->step);
  352|      0|        if (!incr) {
  ------------------
  |  Branch (352:13): [True: 0, False: 0]
  ------------------
  353|      0|            return NULL;
  354|      0|        }
  355|      0|        result = PyNumber_Add(r->start, incr);
  356|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  357|      0|    }
  358|     14|    return result;
  359|     14|}
rangeobject.c:range_subscript:
  738|      7|{
  739|      7|    rangeobject *self = (rangeobject*)op;
  740|      7|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (740:9): [True: 0, False: 7]
  ------------------
  741|      0|        PyObject *i, *result;
  742|      0|        i = PyNumber_Index(item);
  743|      0|        if (!i)
  ------------------
  |  Branch (743:13): [True: 0, False: 0]
  ------------------
  744|      0|            return NULL;
  745|      0|        result = compute_range_item(self, i);
  746|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  747|      0|        return result;
  748|      0|    }
  749|      7|    if (PySlice_Check(item)) {
  ------------------
  |  |   22|      7|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|      7|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 7, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  750|      7|        return compute_slice(self, item);
  751|      7|    }
  752|      0|    PyErr_Format(PyExc_TypeError,
  753|      0|                 "range indices must be integers or slices, not %.200s",
  754|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  755|       |    return NULL;
  756|      7|}
rangeobject.c:compute_slice:
  428|      7|{
  429|      7|    PySliceObject *slice = (PySliceObject *) _slice;
  430|      7|    rangeobject *result;
  431|      7|    PyObject *start = NULL, *stop = NULL, *step = NULL;
  432|      7|    PyObject *substart = NULL, *substop = NULL, *substep = NULL;
  433|      7|    int error;
  434|       |
  435|      7|    error = _PySlice_GetLongIndices(slice, r->length, &start, &stop, &step);
  436|      7|    if (error == -1)
  ------------------
  |  Branch (436:9): [True: 0, False: 7]
  ------------------
  437|      0|        return NULL;
  438|       |
  439|      7|    substep = PyNumber_Multiply(r->step, step);
  440|      7|    if (substep == NULL) goto fail;
  ------------------
  |  Branch (440:9): [True: 0, False: 7]
  ------------------
  441|      7|    Py_CLEAR(step);
  ------------------
  |  |  487|      7|    do { \
  |  |  488|      7|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      7|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      7|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 7, False: 0]
  |  |  ------------------
  |  |  491|      7|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      7|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      7|        } \
  |  |  494|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
  442|       |
  443|      7|    substart = compute_item(r, start);
  444|      7|    if (substart == NULL) goto fail;
  ------------------
  |  Branch (444:9): [True: 0, False: 7]
  ------------------
  445|      7|    Py_CLEAR(start);
  ------------------
  |  |  487|      7|    do { \
  |  |  488|      7|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      7|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      7|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 7, False: 0]
  |  |  ------------------
  |  |  491|      7|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      7|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      7|        } \
  |  |  494|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
  446|       |
  447|      7|    substop = compute_item(r, stop);
  448|      7|    if (substop == NULL) goto fail;
  ------------------
  |  Branch (448:9): [True: 0, False: 7]
  ------------------
  449|      7|    Py_CLEAR(stop);
  ------------------
  |  |  487|      7|    do { \
  |  |  488|      7|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      7|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      7|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 7, False: 0]
  |  |  ------------------
  |  |  491|      7|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      7|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      7|        } \
  |  |  494|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
  450|       |
  451|      7|    result = make_range_object(Py_TYPE(r), substart, substop, substep);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  452|      7|    if (result != NULL) {
  ------------------
  |  Branch (452:9): [True: 7, False: 0]
  ------------------
  453|      7|        return (PyObject *) result;
  454|      7|    }
  455|      0|fail:
  456|      0|    Py_XDECREF(start);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  457|      0|    Py_XDECREF(stop);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  458|      0|    Py_XDECREF(step);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) 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|    Py_XDECREF(substart);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_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_XDECREF(substop);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  461|      0|    Py_XDECREF(substep);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  462|       |    return NULL;
  463|      7|}
rangeobject.c:make_range_object:
   69|    104|{
   70|    104|    PyObject *length;
   71|    104|    length = compute_range_length(start, stop, step);
   72|    104|    if (length == NULL) {
  ------------------
  |  Branch (72:9): [True: 0, False: 104]
  ------------------
   73|      0|        return NULL;
   74|      0|    }
   75|    104|    rangeobject *obj = _Py_FREELIST_POP(rangeobject, ranges);
  ------------------
  |  |   43|    104|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   76|    104|    if (obj == NULL) {
  ------------------
  |  Branch (76:9): [True: 3, False: 101]
  ------------------
   77|      3|        obj = PyObject_New(rangeobject, type);
  ------------------
  |  |  130|      3|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
   78|      3|        if (obj == NULL) {
  ------------------
  |  Branch (78:13): [True: 0, False: 3]
  ------------------
   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|      3|    }
   83|    104|    obj->start = start;
   84|    104|    obj->stop = stop;
   85|    104|    obj->step = step;
   86|    104|    obj->length = length;
   87|    104|    return obj;
   88|    104|}
rangeobject.c:compute_range_length:
  244|    104|{
  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|    104|    int cmp_result;
  250|    104|    PyObject *lo, *hi;
  251|    104|    PyObject *diff = NULL;
  252|    104|    PyObject *tmp1 = NULL, *tmp2 = NULL, *result;
  253|       |                /* holds sub-expression evaluations */
  254|       |
  255|    104|    PyObject *zero = _PyLong_GetZero();  // borrowed reference
  256|    104|    PyObject *one = _PyLong_GetOne();  // borrowed reference
  257|       |
  258|    104|    assert(PyLong_Check(start));
  ------------------
  |  Branch (258:5): [True: 104, False: 0]
  ------------------
  259|    104|    assert(PyLong_Check(stop));
  ------------------
  |  Branch (259:5): [True: 104, False: 0]
  ------------------
  260|    104|    assert(PyLong_Check(step));
  ------------------
  |  Branch (260:5): [True: 104, False: 0]
  ------------------
  261|       |
  262|       |    /* fast path for start == 0 and step == 1: length is max(stop, 0) */
  263|    104|    if (start == zero && step == one) {
  ------------------
  |  Branch (263:9): [True: 16, False: 88]
  |  Branch (263:26): [True: 13, False: 3]
  ------------------
  264|     13|        if (_PyLong_IsPositive((const PyLongObject *)stop)) {
  ------------------
  |  Branch (264:13): [True: 9, False: 4]
  ------------------
  265|      9|            return Py_NewRef(stop);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  266|      9|        }
  267|      4|        return zero;
  268|     13|    }
  269|       |
  270|       |    /* fast path when all arguments fit into a long integer */
  271|     91|    long len = compute_range_length_long(start, stop, step);
  272|     91|    if (len >= 0) {
  ------------------
  |  Branch (272:9): [True: 91, False: 0]
  ------------------
  273|     91|        return PyLong_FromLong(len);
  274|     91|    }
  275|      0|    else if (len == -1) {
  ------------------
  |  Branch (275:14): [True: 0, False: 0]
  ------------------
  276|       |        /* unexpected error from compute_range_length_long, we propagate to the caller */
  277|      0|        return NULL;
  278|      0|    }
  279|     91|    assert(len == -2);
  ------------------
  |  Branch (279:5): [True: 0, False: 0]
  ------------------
  280|       |
  281|      0|    cmp_result = PyObject_RichCompareBool(step, zero, Py_GT);
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  282|      0|    if (cmp_result == -1)
  ------------------
  |  Branch (282:9): [True: 0, False: 0]
  ------------------
  283|      0|        return NULL;
  284|       |
  285|      0|    if (cmp_result == 1) {
  ------------------
  |  Branch (285:9): [True: 0, False: 0]
  ------------------
  286|      0|        lo = start;
  287|      0|        hi = stop;
  288|      0|        Py_INCREF(step);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  289|      0|    } else {
  290|      0|        lo = stop;
  291|      0|        hi = start;
  292|      0|        step = PyNumber_Negative(step);
  293|      0|        if (!step)
  ------------------
  |  Branch (293:13): [True: 0, False: 0]
  ------------------
  294|      0|            return NULL;
  295|      0|    }
  296|       |
  297|       |    /* if (lo >= hi), return length of 0. */
  298|      0|    cmp_result = PyObject_RichCompareBool(lo, hi, Py_GE);
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
  299|      0|    if (cmp_result != 0) {
  ------------------
  |  Branch (299:9): [True: 0, False: 0]
  ------------------
  300|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  301|      0|        if (cmp_result < 0)
  ------------------
  |  Branch (301:13): [True: 0, False: 0]
  ------------------
  302|      0|            return NULL;
  303|      0|        result = zero;
  304|      0|        return Py_NewRef(result);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  305|      0|    }
  306|       |
  307|      0|    if ((tmp1 = PyNumber_Subtract(hi, lo)) == NULL)
  ------------------
  |  Branch (307:9): [True: 0, False: 0]
  ------------------
  308|      0|        goto Fail;
  309|       |
  310|      0|    if ((diff = PyNumber_Subtract(tmp1, one)) == NULL)
  ------------------
  |  Branch (310:9): [True: 0, False: 0]
  ------------------
  311|      0|        goto Fail;
  312|       |
  313|      0|    if ((tmp2 = PyNumber_FloorDivide(diff, step)) == NULL)
  ------------------
  |  Branch (313:9): [True: 0, False: 0]
  ------------------
  314|      0|        goto Fail;
  315|       |
  316|      0|    if ((result = PyNumber_Add(tmp2, one)) == NULL)
  ------------------
  |  Branch (316:9): [True: 0, False: 0]
  ------------------
  317|      0|        goto Fail;
  318|       |
  319|      0|    Py_DECREF(tmp2);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_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_DECREF(diff);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  321|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  322|      0|    Py_DECREF(tmp1);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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 result;
  324|       |
  325|      0|  Fail:
  326|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  327|      0|    Py_XDECREF(tmp2);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  328|      0|    Py_XDECREF(diff);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  329|      0|    Py_XDECREF(tmp1);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  330|       |    return NULL;
  331|      0|}
rangeobject.c:compute_range_length_long:
  203|     91|                PyObject *stop, PyObject *step) {
  204|     91|    int overflow = 0;
  205|       |
  206|     91|    long long_start = PyLong_AsLongAndOverflow(start, &overflow);
  207|     91|    if (overflow) {
  ------------------
  |  Branch (207:9): [True: 0, False: 91]
  ------------------
  208|      0|        return -2;
  209|      0|    }
  210|     91|    if (long_start == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (210:9): [True: 2, False: 89]
  |  Branch (210:29): [True: 0, False: 2]
  ------------------
  211|      0|        return -1;
  212|      0|    }
  213|     91|    long long_stop = PyLong_AsLongAndOverflow(stop, &overflow);
  214|     91|    if (overflow) {
  ------------------
  |  Branch (214:9): [True: 0, False: 91]
  ------------------
  215|      0|        return -2;
  216|      0|    }
  217|     91|    if (long_stop == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (217:9): [True: 7, False: 84]
  |  Branch (217:28): [True: 0, False: 7]
  ------------------
  218|      0|        return -1;
  219|      0|    }
  220|     91|    long long_step = PyLong_AsLongAndOverflow(step, &overflow);
  221|     91|    if (overflow) {
  ------------------
  |  Branch (221:9): [True: 0, False: 91]
  ------------------
  222|      0|        return -2;
  223|      0|    }
  224|     91|    if (long_step == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (224:9): [True: 7, False: 84]
  |  Branch (224:28): [True: 0, False: 7]
  ------------------
  225|      0|        return -1;
  226|      0|    }
  227|       |
  228|     91|    unsigned long ulen = get_len_of_range(long_start, long_stop, long_step);
  229|     91|    if (ulen > (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (229:9): [True: 0, False: 91]
  ------------------
  230|       |        /* length too large for a long */
  231|      0|        return -2;
  232|      0|    }
  233|     91|    else {
  234|     91|        return (long)ulen;
  235|     91|    }
  236|     91|}
rangeobject.c:get_len_of_range:
 1001|    186|{
 1002|       |    /* -------------------------------------------------------------
 1003|       |    If step > 0 and lo >= hi, or step < 0 and lo <= hi, the range is empty.
 1004|       |    Else for step > 0, if n values are in the range, the last one is
 1005|       |    lo + (n-1)*step, which must be <= hi-1.  Rearranging,
 1006|       |    n <= (hi - lo - 1)/step + 1, so taking the floor of the RHS gives
 1007|       |    the proper value.  Since lo < hi in this case, hi-lo-1 >= 0, so
 1008|       |    the RHS is non-negative and so truncation is the same as the
 1009|       |    floor.  Letting M be the largest positive long, the worst case
 1010|       |    for the RHS numerator is hi=M, lo=-M-1, and then
 1011|       |    hi-lo-1 = M-(-M-1)-1 = 2*M.  Therefore unsigned long has enough
 1012|       |    precision to compute the RHS exactly.  The analysis for step < 0
 1013|       |    is similar.
 1014|       |    ---------------------------------------------------------------*/
 1015|    186|    assert(step != 0);
  ------------------
  |  Branch (1015:5): [True: 186, False: 0]
  ------------------
 1016|    186|    if (step > 0 && lo < hi)
  ------------------
  |  Branch (1016:9): [True: 166, False: 20]
  |  Branch (1016:21): [True: 2, False: 164]
  ------------------
 1017|      2|        return 1UL + (hi - 1UL - lo) / step;
 1018|    184|    else if (step < 0 && lo > hi)
  ------------------
  |  Branch (1018:14): [True: 20, False: 164]
  |  Branch (1018:26): [True: 16, False: 4]
  ------------------
 1019|     16|        return 1UL + (lo - 1UL - hi) / (0UL - step);
 1020|    168|    else
 1021|    168|        return 0UL;
 1022|    186|}
rangeobject.c:fast_range_iter:
 1029|     95|{
 1030|     95|    _PyRangeIterObject *it = _Py_FREELIST_POP(_PyRangeIterObject, range_iters);
  ------------------
  |  |   43|     95|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1031|     95|    if (it == NULL) {
  ------------------
  |  Branch (1031:9): [True: 2, False: 93]
  ------------------
 1032|      2|        it = PyObject_New(_PyRangeIterObject, &PyRangeIter_Type);
  ------------------
  |  |  130|      2|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
 1033|      2|        if (it == NULL) {
  ------------------
  |  Branch (1033:13): [True: 0, False: 2]
  ------------------
 1034|      0|            return NULL;
 1035|      0|        }
 1036|      2|    }
 1037|     95|    assert(Py_IS_TYPE(it, &PyRangeIter_Type));
  ------------------
  |  Branch (1037:5): [True: 95, False: 0]
  ------------------
 1038|     95|    it->start = start;
 1039|     95|    it->step = step;
 1040|     95|    it->len = len;
 1041|     95|    return (PyObject *)it;
 1042|     95|}
rangeobject.c:range_from_array:
   97|     97|{
   98|     97|    rangeobject *obj;
   99|     97|    PyObject *start = NULL, *stop = NULL, *step = NULL;
  100|       |
  101|     97|    switch (num_args) {
  102|      3|        case 3:
  ------------------
  |  Branch (102:9): [True: 3, False: 94]
  ------------------
  103|      3|            step = args[2];
  104|      3|            _Py_FALLTHROUGH;
  ------------------
  |  |  667|      3|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  105|     84|        case 2:
  ------------------
  |  Branch (105:9): [True: 81, False: 16]
  ------------------
  106|       |            /* Convert borrowed refs to owned refs */
  107|     84|            start = PyNumber_Index(args[0]);
  108|     84|            if (!start) {
  ------------------
  |  Branch (108:17): [True: 0, False: 84]
  ------------------
  109|      0|                return NULL;
  110|      0|            }
  111|     84|            stop = PyNumber_Index(args[1]);
  112|     84|            if (!stop) {
  ------------------
  |  Branch (112:17): [True: 0, False: 84]
  ------------------
  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|     84|            step = validate_step(step);  /* Caution, this can clear exceptions */
  117|     84|            if (!step) {
  ------------------
  |  Branch (117:17): [True: 0, False: 84]
  ------------------
  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|     84|            break;
  123|     84|        case 1:
  ------------------
  |  Branch (123:9): [True: 13, False: 84]
  ------------------
  124|     13|            stop = PyNumber_Index(args[0]);
  125|     13|            if (!stop) {
  ------------------
  |  Branch (125:17): [True: 0, False: 13]
  ------------------
  126|      0|                return NULL;
  127|      0|            }
  128|     13|            start = _PyLong_GetZero();
  129|     13|            step = _PyLong_GetOne();
  130|     13|            break;
  131|      0|        case 0:
  ------------------
  |  Branch (131:9): [True: 0, False: 97]
  ------------------
  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: 97]
  ------------------
  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|     97|    }
  141|     97|    obj = make_range_object(type, start, stop, step);
  142|     97|    if (obj != NULL) {
  ------------------
  |  Branch (142:9): [True: 97, False: 0]
  ------------------
  143|     97|        return (PyObject *) obj;
  144|     97|    }
  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|     97|}
rangeobject.c:validate_step:
   48|     84|{
   49|       |    /* No step specified, use a step of 1. */
   50|     84|    if (!step)
  ------------------
  |  Branch (50:9): [True: 81, False: 3]
  ------------------
   51|     81|        return PyLong_FromLong(1);
   52|       |
   53|      3|    step = PyNumber_Index(step);
   54|      3|    if (step && _PyLong_IsZero((PyLongObject *)step)) {
  ------------------
  |  Branch (54:9): [True: 3, False: 0]
  |  Branch (54:17): [True: 0, False: 3]
  ------------------
   55|      0|        PyErr_SetString(PyExc_ValueError,
   56|      0|                        "range() arg 3 must not be zero");
   57|      0|        Py_CLEAR(step);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
   58|      0|    }
   59|       |
   60|      3|    return step;
   61|     84|}
rangeobject.c:range_vectorcall:
  166|     97|{
  167|     97|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     97|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  168|     97|    if (!_PyArg_NoKwnames("range", kwnames)) {
  ------------------
  |  |   16|     97|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 97, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  169|      0|        return NULL;
  170|      0|    }
  171|     97|    return range_from_array((PyTypeObject *)rangetype, args, nargs);
  172|     97|}
rangeobject.c:rangeiter_dealloc:
  952|     95|{
  953|     95|    _Py_FREELIST_FREE(range_iters, (_PyRangeIterObject *)self, PyObject_Free);
  ------------------
  |  |   35|     95|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|     95|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   23|     95|#  define Py_range_iters_MAXFREELIST 6
  |  |  ------------------
  ------------------
  954|     95|}
rangeobject.c:rangeiter_next:
  855|    262|{
  856|    262|    PyObject *ret = NULL;
  857|    262|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    262|    {
  ------------------
  858|    262|    _PyRangeIterObject *r = (_PyRangeIterObject*)op;
  859|    262|    if (r->len > 0) {
  ------------------
  |  Branch (859:9): [True: 257, False: 5]
  ------------------
  860|    257|        long result = r->start;
  861|    257|        r->start = result + r->step;
  862|    257|        r->len--;
  863|    257|        ret = PyLong_FromLong(result);
  864|    257|    }
  865|    262|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    262|    }
  ------------------
  866|    262|    return ret;
  867|    262|}
rangeobject.c:longrangeiter_dealloc:
 1161|      2|{
 1162|      2|    longrangeiterobject *r = (longrangeiterobject*)op;
 1163|      2|    Py_XDECREF(r->start);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1164|      2|    Py_XDECREF(r->step);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1165|      2|    Py_XDECREF(r->len);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1166|      2|    PyObject_Free(r);
 1167|      2|}
rangeobject.c:range_iter:
 1232|     97|{
 1233|     97|    rangeobject *r = (rangeobject *)seq;
 1234|     97|    longrangeiterobject *it;
 1235|     97|    long lstart, lstop, lstep;
 1236|     97|    unsigned long ulen;
 1237|       |
 1238|     97|    assert(PyRange_Check(seq));
  ------------------
  |  Branch (1238:5): [True: 97, False: 0]
  ------------------
 1239|       |
 1240|       |    /* If all three fields and the length convert to long, use the int
 1241|       |     * version */
 1242|     97|    lstart = PyLong_AsLong(r->start);
 1243|     97|    if (lstart == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1243:9): [True: 2, False: 95]
  |  Branch (1243:25): [True: 0, False: 2]
  ------------------
 1244|      0|        PyErr_Clear();
 1245|      0|        goto long_range;
 1246|      0|    }
 1247|     97|    lstop = PyLong_AsLong(r->stop);
 1248|     97|    if (lstop == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1248:9): [True: 9, False: 88]
  |  Branch (1248:24): [True: 2, False: 7]
  ------------------
 1249|      2|        PyErr_Clear();
 1250|      2|        goto long_range;
 1251|      2|    }
 1252|     95|    lstep = PyLong_AsLong(r->step);
 1253|     95|    if (lstep == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1253:9): [True: 7, False: 88]
  |  Branch (1253:24): [True: 0, False: 7]
  ------------------
 1254|      0|        PyErr_Clear();
 1255|      0|        goto long_range;
 1256|      0|    }
 1257|     95|    ulen = get_len_of_range(lstart, lstop, lstep);
 1258|     95|    if (ulen > (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (1258:9): [True: 0, False: 95]
  ------------------
 1259|      0|        goto long_range;
 1260|      0|    }
 1261|       |    /* check for potential overflow of lstart + ulen * lstep */
 1262|     95|    if (ulen) {
  ------------------
  |  Branch (1262:9): [True: 10, False: 85]
  ------------------
 1263|     10|        if (lstep > 0) {
  ------------------
  |  Branch (1263:13): [True: 2, False: 8]
  ------------------
 1264|      2|            if (lstop > LONG_MAX - (lstep - 1))
  ------------------
  |  Branch (1264:17): [True: 0, False: 2]
  ------------------
 1265|      0|                goto long_range;
 1266|      2|        }
 1267|      8|        else {
 1268|      8|            if (lstop < LONG_MIN + (-1 - lstep))
  ------------------
  |  Branch (1268:17): [True: 0, False: 8]
  ------------------
 1269|      0|                goto long_range;
 1270|      8|        }
 1271|     10|    }
 1272|     95|    return fast_range_iter(lstart, lstop, lstep, (long)ulen);
 1273|       |
 1274|      2|  long_range:
 1275|      2|    it = PyObject_New(longrangeiterobject, &PyLongRangeIter_Type);
  ------------------
  |  |  130|      2|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
 1276|      2|    if (it == NULL)
  ------------------
  |  Branch (1276:9): [True: 0, False: 2]
  ------------------
 1277|      0|        return NULL;
 1278|       |
 1279|      2|    it->start = Py_NewRef(r->start);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1280|      2|    it->step = Py_NewRef(r->step);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1281|      2|    it->len = Py_NewRef(r->length);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1282|      2|    return (PyObject *)it;
 1283|      2|}

PySentinel_New:
   94|      1|{
   95|      1|    PyObject *name_obj = PyUnicode_FromString(name);
   96|      1|    if (name_obj == NULL) {
  ------------------
  |  Branch (96:9): [True: 0, False: 1]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|      1|    PyObject *repr_obj = NULL;
  100|      1|    if (repr != NULL) {
  ------------------
  |  Branch (100:9): [True: 0, False: 1]
  ------------------
  101|      0|        repr_obj = PyUnicode_FromString(repr);
  102|      0|        if (repr_obj == NULL) {
  ------------------
  |  Branch (102:13): [True: 0, False: 0]
  ------------------
  103|      0|            Py_DECREF(name_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  104|      0|            return NULL;
  105|      0|        }
  106|      0|    }
  107|      1|    PyObject *module_obj = module_name == NULL
  ------------------
  |  Branch (107:28): [True: 0, False: 1]
  ------------------
  108|      1|        ? Py_None
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  109|      1|        : PyUnicode_FromString(module_name);
  110|      1|    if (module_obj == NULL) {
  ------------------
  |  Branch (110:9): [True: 0, False: 1]
  ------------------
  111|      0|        Py_DECREF(name_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  112|      0|        Py_XDECREF(repr_obj);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_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|       |
  116|      1|    PyObject *sentinel = sentinel_new_with_module(
  117|      1|        &PySentinel_Type, name_obj, module_obj, repr_obj);
  118|      1|    Py_DECREF(module_obj);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  119|      1|    Py_DECREF(name_obj);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  120|      1|    Py_XDECREF(repr_obj);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  121|      1|    return sentinel;
  122|      1|}
sentinelobject.c:sentinel_new_with_module:
   51|      7|{
   52|      7|    assert(PyUnicode_Check(name));
  ------------------
  |  Branch (52:5): [True: 7, False: 0]
  ------------------
   53|       |
   54|      7|    sentinelobject *self = PyObject_GC_New(sentinelobject, type);
  ------------------
  |  |  181|      7|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   55|      7|    if (self == NULL) {
  ------------------
  |  Branch (55:9): [True: 0, False: 7]
  ------------------
   56|      0|        return NULL;
   57|      0|    }
   58|      7|    self->name = Py_NewRef(name);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   59|      7|    self->module = Py_NewRef(module);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   60|      7|    self->repr = Py_XNewRef(repr);
  ------------------
  |  |  648|      7|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   61|      7|    _PyObject_GC_TRACK(self);
  ------------------
  |  |  502|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   62|      7|    return (PyObject *)self;
   63|      7|}
sentinelobject.c:sentinel_dealloc:
  136|      1|{
  137|      1|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  504|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  138|      1|    (void)sentinel_clear(op);
  139|      1|    Py_TYPE(op)->tp_free(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  140|      1|}
sentinelobject.c:sentinel_traverse:
  144|     10|{
  145|     10|    sentinelobject *self = sentinelobject_CAST(op);
  ------------------
  |  |   21|     10|    (assert(PySentinel_Check(op)), _Py_CAST(sentinelobject *, (op)))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (145:28): [True: 10, False: 0]
  ------------------
  146|     10|    Py_VISIT(self->name);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  147|     10|    Py_VISIT(self->module);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  148|     10|    Py_VISIT(self->repr);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  149|     10|    return 0;
  150|     10|}
sentinelobject.c:sentinel_clear:
  126|      1|{
  127|      1|    sentinelobject *self = sentinelobject_CAST(op);
  ------------------
  |  |   21|      1|    (assert(PySentinel_Check(op)), _Py_CAST(sentinelobject *, (op)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (127:28): [True: 1, False: 0]
  ------------------
  128|      1|    Py_CLEAR(self->name);
  ------------------
  |  |  487|      1|    do { \
  |  |  488|      1|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      1|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      1|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 1, False: 0]
  |  |  ------------------
  |  |  491|      1|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      1|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      1|        } \
  |  |  494|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  129|      1|    Py_CLEAR(self->module);
  ------------------
  |  |  487|      1|    do { \
  |  |  488|      1|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      1|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      1|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 1, False: 0]
  |  |  ------------------
  |  |  491|      1|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      1|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      1|        } \
  |  |  494|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  130|       |    Py_CLEAR(self->repr);
  ------------------
  |  |  487|      1|    do { \
  |  |  488|      1|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      1|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      1|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 1]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  131|      1|    return 0;
  132|      1|}
sentinelobject.c:sentinel_new_impl:
   78|      6|{
   79|      6|    if (repr == Py_None) {
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (79:9): [True: 6, False: 0]
  ------------------
   80|      6|        repr = NULL;
   81|      6|    }
   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|      6|    PyObject *module = caller();
   87|      6|    PyObject *self = sentinel_new_with_module(type, name, module, repr);
   88|      6|    Py_DECREF(module);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   89|      6|    return self;
   90|      6|}
sentinelobject.c:caller:
   33|      6|{
   34|      6|    _PyInterpreterFrame *f = _PyThreadState_GET()->current_frame;
   35|      6|    if (f == NULL || PyStackRef_IsNull(f->f_funcobj)) {
  ------------------
  |  |  482|      6|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|      6|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      6|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 6]
  |  |  ------------------
  ------------------
  |  Branch (35:9): [True: 0, False: 6]
  ------------------
   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|      6|    PyFunctionObject *func = _PyFrame_GetFunction(f);
   40|      6|    assert(PyFunction_Check(func));
  ------------------
  |  Branch (40:5): [True: 6, False: 0]
  ------------------
   41|      6|    PyObject *r = PyFunction_GetModule((PyObject *)func);
   42|      6|    if (!r) {
  ------------------
  |  Branch (42:9): [True: 0, False: 6]
  ------------------
   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|      6|    return Py_NewRef(r);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   47|      6|}

_PySet_AddTakeRef:
  363|    115|{
  364|    115|    Py_hash_t hash = PyObject_Hash(key);
  365|    115|    if (hash == -1) {
  ------------------
  |  Branch (365:9): [True: 0, False: 115]
  ------------------
  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|    115|    return set_add_entry_takeref(so, key, hash);
  373|    115|}
_PySet_Freeze:
 1570|      3|{
 1571|      3|    assert(set != NULL);
  ------------------
  |  Branch (1571:5): [True: 3, False: 0]
  ------------------
 1572|      3|    assert(PySet_CheckExact(set));
  ------------------
  |  Branch (1572:5): [True: 3, False: 0]
  ------------------
 1573|      3|    assert(_PyObject_IsUniquelyReferenced(set));
  ------------------
  |  Branch (1573:5): [True: 3, False: 0]
  ------------------
 1574|      3|    set->ob_type = &PyFrozenSet_Type;
 1575|      3|    _PyFrozenSet_MaybeUntrack(set);
 1576|      3|    return Py_NewRef(set);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1577|      3|}
_PySet_Contains:
 2555|    435|{
 2556|    435|    assert(so);
  ------------------
  |  Branch (2556:5): [True: 435, False: 0]
  ------------------
 2557|       |
 2558|    435|    Py_hash_t hash = PyObject_Hash(key);
 2559|    435|    if (hash == -1) {
  ------------------
  |  Branch (2559:9): [True: 0, False: 435]
  ------------------
 2560|      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 (2560:34): [True: 0, False: 0]
  ------------------
 2561|      0|            set_unhashable_type(key);
 2562|      0|            return -1;
 2563|      0|        }
 2564|      0|        PyErr_Clear();
 2565|       |        // Note that 'key' could be a set() or frozenset() object.  Unlike most
 2566|       |        // container types, set allows membership testing with a set key, even
 2567|       |        // though it is not hashable.
 2568|      0|        Py_BEGIN_CRITICAL_SECTION(key);
  ------------------
  |  |   51|      0|    {
  ------------------
 2569|      0|        hash = frozenset_hash_impl(key);
 2570|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 2571|      0|    }
 2572|    435|    return set_contains_entry(so, key, hash);
 2573|    435|}
PySet_New:
 3033|    182|{
 3034|    182|    return make_new_set(&PySet_Type, iterable);
 3035|    182|}
PyFrozenSet_New:
 3039|    150|{
 3040|    150|    PyObject *result = make_new_set(&PyFrozenSet_Type, iterable);
 3041|    150|    if (result != NULL) {
  ------------------
  |  Branch (3041:9): [True: 150, False: 0]
  ------------------
 3042|    150|        _PyFrozenSet_MaybeUntrack(result);
 3043|    150|    }
 3044|    150|    return result;
 3045|    150|}
PySet_Clear:
 3059|     22|{
 3060|     22|    if (!PySet_Check(set)) {
  ------------------
  |  |   37|     22|    (Py_IS_TYPE((ob), &PySet_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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|     22|    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]
  |  |  ------------------
  ------------------
 3061|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3062|      0|        return -1;
 3063|      0|    }
 3064|     22|    (void)set_clear(set, NULL);
 3065|     22|    return 0;
 3066|     22|}
PySet_Contains:
 3076|    162|{
 3077|    162|    if (!PyAnySet_Check(anyset)) {
  ------------------
  |  |   31|    162|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    324|#  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: 162, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    162|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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|    162|      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|    162|      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]
  |  |  ------------------
  ------------------
 3078|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3079|      0|        return -1;
 3080|      0|    }
 3081|       |
 3082|    162|    PySetObject *so = (PySetObject *)anyset;
 3083|    162|    Py_hash_t hash = PyObject_Hash(key);
 3084|    162|    if (hash == -1) {
  ------------------
  |  Branch (3084:9): [True: 0, False: 162]
  ------------------
 3085|      0|        set_unhashable_type(key);
 3086|      0|        return -1;
 3087|      0|    }
 3088|    162|    return set_contains_entry(so, key, hash);
 3089|    162|}
PySet_Discard:
 3093|     99|{
 3094|     99|    if (!PySet_Check(set)) {
  ------------------
  |  |   37|     99|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    198|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     99|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     99|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 99, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|     99|    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]
  |  |  ------------------
  ------------------
 3095|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3096|      0|        return -1;
 3097|      0|    }
 3098|       |
 3099|     99|    int rv;
 3100|     99|    Py_BEGIN_CRITICAL_SECTION(set);
  ------------------
  |  |   51|     99|    {
  ------------------
 3101|     99|    rv = set_discard_key((PySetObject *)set, key);
 3102|     99|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     99|    }
  ------------------
 3103|     99|    return rv;
 3104|     99|}
PySet_Add:
 3108|    394|{
 3109|    394|    if (PySet_Check(anyset)) {
  ------------------
  |  |   37|    394|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    788|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    394|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    394|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 250, False: 144]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|    394|    PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
  |  |  ------------------
  |  |  |  |  213|    144|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    144|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (38:5): [True: 0, False: 144]
  |  |  ------------------
  ------------------
 3110|    250|        int rv;
 3111|    250|        Py_BEGIN_CRITICAL_SECTION(anyset);
  ------------------
  |  |   51|    250|    {
  ------------------
 3112|    250|        rv = set_add_key((PySetObject *)anyset, key);
 3113|    250|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    250|    }
  ------------------
 3114|    250|        return rv;
 3115|    250|    }
 3116|       |
 3117|    144|    if (PyFrozenSet_Check(anyset) && _PyObject_IsUniquelyReferenced(anyset)) {
  ------------------
  |  |   25|    288|    (Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    288|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    144|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 144, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   26|    288|      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 (3117:38): [True: 144, False: 0]
  ------------------
 3118|       |        // We can only change frozensets if they are uniquely referenced. The
 3119|       |        // API limits the usage of `PySet_Add` to "fill in the values of brand
 3120|       |        // new frozensets before they are exposed to other code". In this case,
 3121|       |        // this can be done without a lock.
 3122|       |        // Since another key is added to the set, we must track the frozenset
 3123|       |        // if needed.
 3124|    144|        if (PyFrozenSet_CheckExact(anyset) && !PyObject_GC_IsTracked(anyset) && PyObject_GC_IsTracked(key)) {
  ------------------
  |  |   23|    144|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|    288|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    144|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 144, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3124:47): [True: 144, False: 0]
  |  Branch (3124:81): [True: 0, False: 144]
  ------------------
 3125|      0|            _PyObject_GC_TRACK(anyset);
  ------------------
  |  |  502|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3126|      0|        }
 3127|    144|        return set_add_key((PySetObject *)anyset, key);
 3128|    144|    }
 3129|       |
 3130|      0|    PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3131|      0|    return -1;
 3132|    144|}
_PySet_NextEntry:
 3136|     65|{
 3137|     65|    setentry *entry;
 3138|       |
 3139|     65|    if (!PyAnySet_Check(set)) {
  ------------------
  |  |   31|     65|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    130|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     65|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     65|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 65]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    130|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     65|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     65|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 65, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|     65|      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|     65|      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]
  |  |  ------------------
  ------------------
 3140|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3141|      0|        return -1;
 3142|      0|    }
 3143|     65|    if (set_next((PySetObject *)set, pos, &entry) == 0)
  ------------------
  |  Branch (3143:9): [True: 22, False: 43]
  ------------------
 3144|     22|        return 0;
 3145|     43|    *key = entry->key;
 3146|     43|    *hash = entry->hash;
 3147|     43|    return 1;
 3148|     65|}
setobject.c:set_add_entry_takeref:
  254|  2.46k|{
  255|  2.46k|    setentry *table;
  256|  2.46k|    setentry *freeslot;
  257|  2.46k|    setentry *entry;
  258|  2.46k|    size_t perturb;
  259|  2.46k|    size_t mask;
  260|  2.46k|    size_t i;                       /* Unsigned for defined overflow behavior */
  261|  2.46k|    int probes;
  262|  2.46k|    int cmp;
  263|       |
  264|  2.46k|  restart:
  265|       |
  266|  2.46k|    mask = so->mask;
  267|  2.46k|    i = (size_t)hash & mask;
  268|  2.46k|    freeslot = NULL;
  269|  2.46k|    perturb = hash;
  270|       |
  271|  2.63k|    while (1) {
  ------------------
  |  Branch (271:12): [True: 2.63k, Folded]
  ------------------
  272|  2.63k|        entry = &so->table[i];
  273|  2.63k|        probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|  2.63k|#define LINEAR_PROBES 9
  ------------------
                      probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|  1.67k|#define LINEAR_PROBES 9
  ------------------
  |  Branch (273:18): [True: 1.67k, False: 962]
  ------------------
  274|  3.83k|        do {
  275|  3.83k|            if (entry->hash == 0 && entry->key == NULL)
  ------------------
  |  Branch (275:17): [True: 2.45k, False: 1.37k]
  |  Branch (275:37): [True: 2.45k, False: 7]
  ------------------
  276|  2.45k|                goto found_unused_or_dummy;
  277|  1.38k|            if (entry->hash == hash) {
  ------------------
  |  Branch (277:17): [True: 17, False: 1.36k]
  ------------------
  278|     17|                PyObject *startkey = entry->key;
  279|     17|                assert(startkey != dummy);
  ------------------
  |  Branch (279:17): [True: 17, False: 0]
  ------------------
  280|     17|                if (startkey == key)
  ------------------
  |  Branch (280:21): [True: 17, False: 0]
  ------------------
  281|     17|                    goto found_active;
  282|      0|                if (PyUnicode_CheckExact(startkey)
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  283|      0|                    && 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  284|      0|                    && unicode_eq(startkey, key))
  ------------------
  |  Branch (284:24): [True: 0, False: 0]
  ------------------
  285|      0|                    goto found_active;
  286|      0|                table = so->table;
  287|      0|                Py_INCREF(startkey);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  288|      0|                cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  289|      0|                Py_DECREF(startkey);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  290|      0|                if (cmp > 0)
  ------------------
  |  Branch (290:21): [True: 0, False: 0]
  ------------------
  291|      0|                    goto found_active;
  292|      0|                if (cmp < 0)
  ------------------
  |  Branch (292:21): [True: 0, False: 0]
  ------------------
  293|      0|                    goto comparison_error;
  294|      0|                if (table != so->table || entry->key != startkey)
  ------------------
  |  Branch (294:21): [True: 0, False: 0]
  |  Branch (294:43): [True: 0, False: 0]
  ------------------
  295|      0|                    goto restart;
  296|      0|                mask = so->mask;
  297|      0|            }
  298|  1.36k|            else if (entry->hash == -1) {
  ------------------
  |  Branch (298:22): [True: 0, False: 1.36k]
  ------------------
  299|      0|                assert (entry->key == dummy);
  ------------------
  |  Branch (299:17): [True: 0, False: 0]
  ------------------
  300|      0|                freeslot = entry;
  301|      0|            }
  302|  1.36k|            entry++;
  303|  1.36k|        } while (probes--);
  ------------------
  |  Branch (303:18): [True: 1.19k, False: 168]
  ------------------
  304|    168|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  218|    168|#define PERTURB_SHIFT 5
  ------------------
  305|    168|        i = (i * 5 + 1 + perturb) & mask;
  306|    168|    }
  307|       |
  308|  2.45k|  found_unused_or_dummy:
  309|  2.45k|    if (freeslot == NULL)
  ------------------
  |  Branch (309:9): [True: 2.45k, False: 0]
  ------------------
  310|  2.45k|        goto found_unused;
  311|      0|    if (freeslot->hash != -1) {
  ------------------
  |  Branch (311:9): [True: 0, False: 0]
  ------------------
  312|      0|        goto restart;
  313|      0|    }
  314|      0|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used + 1);
  ------------------
  |  |  197|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  315|      0|    FT_ATOMIC_STORE_SSIZE_RELAXED(freeslot->hash, hash);
  ------------------
  |  |  197|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  316|      0|    FT_ATOMIC_STORE_PTR_RELEASE(freeslot->key, key);
  ------------------
  |  |  166|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  317|      0|    return 0;
  318|       |
  319|  2.45k|  found_unused:
  320|  2.45k|    so->fill++;
  321|  2.45k|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used + 1);
  ------------------
  |  |  197|  2.45k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  322|  2.45k|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, hash);
  ------------------
  |  |  197|  2.45k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  323|  2.45k|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, key);
  ------------------
  |  |  166|  2.45k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  324|  2.45k|    if ((size_t)so->fill*5 < mask*3)
  ------------------
  |  Branch (324:9): [True: 2.37k, False: 74]
  ------------------
  325|  2.37k|        return 0;
  326|     74|    return set_table_resize(so, so->used>50000 ? so->used*2 : so->used*4);
  ------------------
  |  Branch (326:33): [True: 0, False: 74]
  ------------------
  327|       |
  328|     17|  found_active:
  329|     17|    Py_DECREF(key);
  ------------------
  |  |  430|     17|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  330|     17|    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|  2.45k|}
setobject.c:set_table_resize:
  485|     76|{
  486|     76|    setentry *oldtable, *newtable, *entry;
  487|     76|    Py_ssize_t oldmask = so->mask;
  488|     76|    Py_ssize_t oldsize = (size_t)oldmask + 1;
  489|     76|    size_t newmask;
  490|     76|    int is_oldtable_malloced;
  491|     76|    setentry small_copy[PySet_MINSIZE];
  492|       |
  493|     76|    assert(minused >= 0);
  ------------------
  |  Branch (493:5): [True: 76, False: 0]
  ------------------
  494|       |
  495|       |    /* Find the smallest table size > minused. */
  496|       |    /* XXX speed-up with intrinsics */
  497|     76|    size_t newsize = PySet_MINSIZE;
  ------------------
  |  |   18|     76|#define PySet_MINSIZE 8
  ------------------
  498|    282|    while (newsize <= (size_t)minused) {
  ------------------
  |  Branch (498:12): [True: 206, False: 76]
  ------------------
  499|    206|        newsize <<= 1; // The largest possible value is PY_SSIZE_T_MAX + 1.
  500|    206|    }
  501|       |
  502|       |    /* Get space for a new table. */
  503|     76|    oldtable = so->table;
  504|     76|    assert(oldtable != NULL);
  ------------------
  |  Branch (504:5): [True: 76, False: 0]
  ------------------
  505|     76|    is_oldtable_malloced = oldtable != so->smalltable;
  506|       |
  507|     76|    if (newsize == PySet_MINSIZE) {
  ------------------
  |  |   18|     76|#define PySet_MINSIZE 8
  ------------------
  |  Branch (507:9): [True: 0, False: 76]
  ------------------
  508|       |        /* A large table is shrinking, or we can't get any smaller. */
  509|      0|        newtable = so->smalltable;
  510|      0|        if (newtable == oldtable) {
  ------------------
  |  Branch (510:13): [True: 0, False: 0]
  ------------------
  511|      0|            if (so->fill == so->used) {
  ------------------
  |  Branch (511:17): [True: 0, False: 0]
  ------------------
  512|       |                /* No dummies, so no point doing anything. */
  513|      0|                return 0;
  514|      0|            }
  515|       |            /* We're not going to resize it, but rebuild the
  516|       |               table anyway to purge old dummy entries.
  517|       |               Subtle:  This is *necessary* if fill==size,
  518|       |               as set_lookkey needs at least one virgin slot to
  519|       |               terminate failing searches.  If fill < size, it's
  520|       |               merely desirable, as dummies slow searches. */
  521|      0|            assert(so->fill > so->used);
  ------------------
  |  Branch (521:13): [True: 0, False: 0]
  ------------------
  522|      0|            memcpy(small_copy, oldtable, sizeof(small_copy));
  523|      0|            oldtable = small_copy;
  524|      0|        }
  525|      0|    }
  526|     76|    else {
  527|     76|        newtable = PyMem_NEW(setentry, newsize);
  ------------------
  |  |   82|     76|#define PyMem_NEW(type, n)        PyMem_New(type, (n))
  |  |  ------------------
  |  |  |  |   64|     76|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     76|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:5): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  |  |   65|     76|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  |  |  ------------------
  ------------------
  528|     76|        if (newtable == NULL) {
  ------------------
  |  Branch (528:13): [True: 0, False: 76]
  ------------------
  529|      0|            PyErr_NoMemory();
  530|      0|            return -1;
  531|      0|        }
  532|     76|    }
  533|       |
  534|       |    /* Make the set empty, using the new table. */
  535|     76|    assert(newtable != oldtable);
  ------------------
  |  Branch (535:5): [True: 76, False: 0]
  ------------------
  536|     76|    set_zero_table(newtable, newsize);
  537|     76|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, NULL);
  ------------------
  |  |  166|     76|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  538|     76|    FT_ATOMIC_STORE_SSIZE_RELEASE(so->mask, newsize - 1);
  ------------------
  |  |  171|     76|#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|     76|    newmask = (size_t)so->mask;
  543|     76|    if (so->fill == so->used) {
  ------------------
  |  Branch (543:9): [True: 75, False: 1]
  ------------------
  544|  1.77k|        for (entry = oldtable; entry <= oldtable + oldmask; entry++) {
  ------------------
  |  Branch (544:32): [True: 1.70k, False: 75]
  ------------------
  545|  1.70k|            if (entry->key != NULL) {
  ------------------
  |  Branch (545:17): [True: 1.02k, False: 683]
  ------------------
  546|  1.02k|                set_insert_clean(newtable, newmask, entry->key, entry->hash);
  547|  1.02k|            }
  548|  1.70k|        }
  549|     75|    } else {
  550|      1|        so->fill = so->used;
  551|      9|        for (entry = oldtable; entry <= oldtable + oldmask; entry++) {
  ------------------
  |  Branch (551:32): [True: 8, False: 1]
  ------------------
  552|      8|            if (entry->key != NULL && entry->key != dummy) {
  ------------------
  |  |   64|      5|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (552:17): [True: 5, False: 3]
  |  Branch (552:39): [True: 4, False: 1]
  ------------------
  553|      4|                set_insert_clean(newtable, newmask, entry->key, entry->hash);
  554|      4|            }
  555|      8|        }
  556|      1|    }
  557|       |
  558|     76|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, newtable);
  ------------------
  |  |  166|     76|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  559|       |
  560|     76|    if (is_oldtable_malloced)
  ------------------
  |  Branch (560:9): [True: 22, False: 54]
  ------------------
  561|     22|        free_entries(oldtable, oldsize, SET_IS_SHARED(so));
  ------------------
  |  |  132|     22|#define SET_IS_SHARED(so) 0
  ------------------
  562|     76|    return 0;
  563|     76|}
setobject.c:set_zero_table:
  197|     98|{
  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|     98|    memset(table, 0, sizeof(setentry)*size);
  206|     98|#endif
  207|     98|}
setobject.c:set_insert_clean:
  385|  1.03k|{
  386|  1.03k|    setentry *entry;
  387|  1.03k|    size_t perturb = hash;
  388|  1.03k|    size_t i = (size_t)hash & mask;
  389|  1.03k|    size_t j;
  390|       |
  391|  1.04k|    while (1) {
  ------------------
  |  Branch (391:12): [True: 1.04k, Folded]
  ------------------
  392|  1.04k|        entry = &table[i];
  393|  1.04k|        if (entry->key == NULL)
  ------------------
  |  Branch (393:13): [True: 981, False: 66]
  ------------------
  394|    981|            goto found_null;
  395|     66|        if (i + LINEAR_PROBES <= mask) {
  ------------------
  |  |  214|     66|#define LINEAR_PROBES 9
  ------------------
  |  Branch (395:13): [True: 55, False: 11]
  ------------------
  396|     67|            for (j = 0; j < LINEAR_PROBES; j++) {
  ------------------
  |  |  214|     67|#define LINEAR_PROBES 9
  ------------------
  |  Branch (396:25): [True: 67, False: 0]
  ------------------
  397|     67|                entry++;
  398|     67|                if (entry->key == NULL)
  ------------------
  |  Branch (398:21): [True: 55, False: 12]
  ------------------
  399|     55|                    goto found_null;
  400|     67|            }
  401|     55|        }
  402|     11|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  218|     11|#define PERTURB_SHIFT 5
  ------------------
  403|     11|        i = (i * 5 + 1 + perturb) & mask;
  404|     11|    }
  405|  1.03k|  found_null:
  406|  1.03k|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, hash);
  ------------------
  |  |  197|  1.03k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  407|  1.03k|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, key);
  ------------------
  |  |  166|  1.03k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  408|  1.03k|}
setobject.c:free_entries:
  468|     32|{
  469|       |#ifdef Py_GIL_DISABLED
  470|       |    if (use_qsbr) {
  471|       |        _PyMem_FreeDelayed(entries, size * sizeof(setentry));
  472|       |        return;
  473|       |    }
  474|       |#endif
  475|     32|    PyMem_Free(entries);
  476|     32|}
setobject.c:setiter_dealloc:
 1038|     84|{
 1039|     84|    setiterobject *si = (setiterobject*)self;
 1040|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 1041|     84|    _PyObject_GC_UNTRACK(si);
  ------------------
  |  |  504|     84|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1042|     84|    Py_XDECREF(si->si_set);
  ------------------
  |  |  621|     84|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1043|     84|    PyObject_GC_Del(si);
 1044|     84|}
setobject.c:setiter_iternext:
 1093|    347|{
 1094|    347|    setiterobject *si = (setiterobject*)self;
 1095|    347|    PyObject *key = NULL;
 1096|    347|    Py_ssize_t i, mask;
 1097|    347|    setentry *entry;
 1098|    347|    PySetObject *so = si->si_set;
 1099|       |
 1100|    347|    if (so == NULL)
  ------------------
  |  Branch (1100:9): [True: 0, False: 347]
  ------------------
 1101|      0|        return NULL;
 1102|    347|    assert (PyAnySet_Check(so));
  ------------------
  |  Branch (1102:5): [True: 112, False: 235]
  |  Branch (1102:5): [True: 235, False: 0]
  |  Branch (1102:5): [True: 0, False: 0]
  |  Branch (1102:5): [True: 0, False: 0]
  ------------------
 1103|       |
 1104|    347|    Py_ssize_t so_used = FT_ATOMIC_LOAD_SSIZE_RELAXED(so->used);
  ------------------
  |  |  151|    347|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1105|    347|    Py_ssize_t si_used = FT_ATOMIC_LOAD_SSIZE_RELAXED(si->si_used);
  ------------------
  |  |  151|    347|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1106|    347|    if (si_used != so_used) {
  ------------------
  |  Branch (1106:9): [True: 0, False: 347]
  ------------------
 1107|      0|        PyErr_SetString(PyExc_RuntimeError,
 1108|      0|                        "Set changed size during iteration");
 1109|      0|        si->si_used = -1; /* Make this state sticky */
 1110|      0|        return NULL;
 1111|      0|    }
 1112|       |
 1113|    347|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|    347|    {
  ------------------
 1114|    347|    i = si->si_pos;
 1115|    347|    assert(i>=0);
  ------------------
  |  Branch (1115:5): [True: 347, False: 0]
  ------------------
 1116|    347|    entry = so->table;
 1117|    347|    mask = so->mask;
 1118|  1.33k|    while (i <= mask && (entry[i].key == NULL || entry[i].key == dummy)) {
  ------------------
  |  |   64|    265|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (1118:12): [True: 1.25k, False: 82]
  |  Branch (1118:26): [True: 991, False: 265]
  |  Branch (1118:50): [True: 0, False: 265]
  ------------------
 1119|    991|        i++;
 1120|    991|    }
 1121|    347|    if (i <= mask) {
  ------------------
  |  Branch (1121:9): [True: 265, False: 82]
  ------------------
 1122|    265|        key = Py_NewRef(entry[i].key);
  ------------------
  |  |  647|    265|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    265|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    265|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1123|    265|    }
 1124|    347|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    347|    }
  ------------------
 1125|    347|    si->si_pos = i+1;
 1126|    347|    if (key == NULL) {
  ------------------
  |  Branch (1126:9): [True: 82, False: 265]
  ------------------
 1127|     82|        si->si_set = NULL;
 1128|     82|        Py_DECREF(so);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1129|     82|        return NULL;
 1130|     82|    }
 1131|    265|    si->len--;
 1132|    265|    return key;
 1133|    347|}
setobject.c:_PyFrozenSet_MaybeUntrack:
 1411|    162|{
 1412|    162|    assert(op != NULL);
  ------------------
  |  Branch (1412:5): [True: 162, False: 0]
  ------------------
 1413|       |    // subclasses of a frozenset can generate reference cycles, so do not untrack
 1414|    162|    if (!PyFrozenSet_CheckExact(op)) {
  ------------------
  |  |   23|    162|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_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 (1414:9): [True: 0, False: 162]
  ------------------
 1415|      0|        return;
 1416|      0|    }
 1417|       |    // if no elements of a frozenset are tracked by the GC, we untrack the object
 1418|    162|    Py_ssize_t pos = 0;
 1419|    162|    setentry *entry;
 1420|    934|    while (set_next((PySetObject *)op, &pos, &entry)) {
  ------------------
  |  Branch (1420:12): [True: 822, False: 112]
  ------------------
 1421|    822|        if (_PyObject_GC_MAY_BE_TRACKED(entry->key)) {
  ------------------
  |  Branch (1421:13): [True: 50, False: 772]
  ------------------
 1422|     50|            return;
 1423|     50|        }
 1424|    822|    }
 1425|    112|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  504|    112|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1426|    112|}
setobject.c:set_contains_entry:
  567|    607|{
  568|       |#ifdef Py_GIL_DISABLED
  569|       |    return set_lookkey_threadsafe(so, key, hash);
  570|       |#else
  571|    607|    setentry *entry; // unused
  572|    607|    return set_lookkey(so, key, hash, &entry);
  573|    607|#endif
  574|    607|}
setobject.c:set_lookkey:
  415|    706|{
  416|    706|    int status;
  417|    706|    if (PyFrozenSet_CheckExact(so)) {
  ------------------
  |  |   23|    706|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|    706|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    706|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    706|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 52, False: 654]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  418|     52|        status = set_do_lookup(so, so->table, so->mask, key, hash, epp,
  419|     52|                               set_compare_frozenset);
  420|     52|    }
  421|    654|    else {
  422|    654|        Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|    654|    {
  ------------------
  423|    654|        do {
  424|    654|            status = set_do_lookup(so, so->table, so->mask, key, hash, epp,
  425|    654|                                   set_compare_entry_lock_held);
  426|    654|        } while (status == SET_LOOKKEY_CHANGED);
  ------------------
  |  |   69|    654|#define SET_LOOKKEY_CHANGED (-2)
  ------------------
  |  Branch (426:18): [True: 0, False: 654]
  ------------------
  427|    654|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    654|    }
  ------------------
  428|    654|    }
  429|    706|    assert(status == SET_LOOKKEY_FOUND ||
  ------------------
  |  Branch (429:5): [True: 83, False: 623]
  |  Branch (429:5): [True: 623, False: 0]
  |  Branch (429:5): [True: 0, False: 0]
  ------------------
  430|    706|           status == SET_LOOKKEY_NO_MATCH ||
  431|    706|           status == SET_LOOKKEY_ERROR);
  432|    706|    return status;
  433|    706|}
setobject.c:set_do_lookup:
  223|    717|{
  224|    717|    setentry *entry;
  225|    717|    size_t perturb = hash;
  226|    717|    size_t i = (size_t)hash & mask; /* Unsigned for defined overflow behavior */
  227|    717|    int probes;
  228|    717|    int status;
  229|       |
  230|    794|    while (1) {
  ------------------
  |  Branch (230:12): [True: 794, Folded]
  ------------------
  231|    794|        entry = &table[i];
  232|    794|        probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|    794|#define LINEAR_PROBES 9
  ------------------
                      probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|    333|#define LINEAR_PROBES 9
  ------------------
  |  Branch (232:18): [True: 333, False: 461]
  ------------------
  233|  1.01k|        do {
  234|  1.01k|            status = compare_entry(so, table, entry, key, hash);
  235|  1.01k|            if (status != SET_LOOKKEY_NO_MATCH) {
  ------------------
  |  |   67|  1.01k|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  |  Branch (235:17): [True: 717, False: 302]
  ------------------
  236|    717|                if (status == SET_LOOKKEY_EMPTY) {
  ------------------
  |  |   70|    717|#define SET_LOOKKEY_EMPTY (-3)
  ------------------
  |  Branch (236:21): [True: 634, False: 83]
  ------------------
  237|    634|                    return SET_LOOKKEY_NO_MATCH;
  ------------------
  |  |   67|    634|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  238|    634|                }
  239|     83|                *epp = entry;
  240|     83|                return status;
  241|    717|            }
  242|    302|            entry++;
  243|    302|        } while (probes--);
  ------------------
  |  Branch (243:18): [True: 225, False: 77]
  ------------------
  244|     77|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  218|     77|#define PERTURB_SHIFT 5
  ------------------
  245|     77|        i = (i * 5 + 1 + perturb) & mask;
  246|     77|    }
  247|      0|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  248|    717|}
setobject.c:set_compare_frozenset:
  174|     84|{
  175|     84|    assert(PyFrozenSet_Check(so));
  ------------------
  |  Branch (175:5): [True: 84, False: 0]
  |  Branch (175:5): [True: 0, False: 0]
  ------------------
  176|     84|    PyObject *startkey = ep->key;
  177|     84|    if (startkey == NULL) {
  ------------------
  |  Branch (177:9): [True: 44, False: 40]
  ------------------
  178|     44|        return SET_LOOKKEY_EMPTY;
  ------------------
  |  |   70|     44|#define SET_LOOKKEY_EMPTY (-3)
  ------------------
  179|     44|    }
  180|     40|    if (startkey == key) {
  ------------------
  |  Branch (180:9): [True: 19, False: 21]
  ------------------
  181|     19|        return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|     19|#define SET_LOOKKEY_FOUND 1
  ------------------
  182|     19|    }
  183|     21|    Py_ssize_t ep_hash = ep->hash;
  184|     21|    if (ep_hash == hash) {
  ------------------
  |  Branch (184:9): [True: 0, False: 21]
  ------------------
  185|      0|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  186|      0|        if (cmp < 0) {
  ------------------
  |  Branch (186:13): [True: 0, False: 0]
  ------------------
  187|      0|            return SET_LOOKKEY_ERROR;
  ------------------
  |  |   68|      0|#define SET_LOOKKEY_ERROR (-1)
  ------------------
  188|      0|        }
  189|      0|        assert(cmp == SET_LOOKKEY_FOUND || cmp == SET_LOOKKEY_NO_MATCH);
  ------------------
  |  Branch (189:9): [True: 0, False: 0]
  |  Branch (189:9): [True: 0, False: 0]
  ------------------
  190|      0|        return cmp;
  191|      0|    }
  192|     21|    return SET_LOOKKEY_NO_MATCH;
  ------------------
  |  |   67|     21|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  193|     21|}
setobject.c:set_compare_entry_lock_held:
  140|    935|{
  141|    935|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
  142|    935|    if (entry->hash == 0 && entry->key == NULL)
  ------------------
  |  Branch (142:9): [True: 590, False: 345]
  |  Branch (142:29): [True: 590, False: 0]
  ------------------
  143|    590|        return SET_LOOKKEY_EMPTY;
  ------------------
  |  |   70|    590|#define SET_LOOKKEY_EMPTY (-3)
  ------------------
  144|    345|    if (entry->hash == hash) {
  ------------------
  |  Branch (144:9): [True: 64, False: 281]
  ------------------
  145|     64|        PyObject *startkey = entry->key;
  146|     64|        assert(startkey != dummy);
  ------------------
  |  Branch (146:9): [True: 64, False: 0]
  ------------------
  147|     64|        if (startkey == key)
  ------------------
  |  Branch (147:13): [True: 34, False: 30]
  ------------------
  148|     34|            return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|     34|#define SET_LOOKKEY_FOUND 1
  ------------------
  149|     30|        if (PyUnicode_CheckExact(startkey)
  ------------------
  |  |  104|     30|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|     60|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 30, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  150|     30|            && PyUnicode_CheckExact(key)
  ------------------
  |  |  104|     30|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|     60|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 30, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  151|     30|            && unicode_eq(startkey, key))
  ------------------
  |  Branch (151:16): [True: 30, False: 0]
  ------------------
  152|     30|            return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|     30|#define SET_LOOKKEY_FOUND 1
  ------------------
  153|      0|        table = so->table;
  154|      0|        Py_INCREF(startkey);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  155|      0|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  156|      0|        Py_DECREF(startkey);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  157|      0|        if (cmp < 0)
  ------------------
  |  Branch (157:13): [True: 0, False: 0]
  ------------------
  158|      0|            return SET_LOOKKEY_ERROR;
  ------------------
  |  |   68|      0|#define SET_LOOKKEY_ERROR (-1)
  ------------------
  159|      0|        if (table != so->table || entry->key != startkey)
  ------------------
  |  Branch (159:13): [True: 0, False: 0]
  |  Branch (159:35): [True: 0, False: 0]
  ------------------
  160|      0|            return SET_LOOKKEY_CHANGED;
  ------------------
  |  |   69|      0|#define SET_LOOKKEY_CHANGED (-2)
  ------------------
  161|      0|        if (cmp > 0)
  ------------------
  |  Branch (161:13): [True: 0, False: 0]
  ------------------
  162|      0|            return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|      0|#define SET_LOOKKEY_FOUND 1
  ------------------
  163|      0|    }
  164|    281|    return SET_LOOKKEY_NO_MATCH;
  ------------------
  |  |   67|    281|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  165|    345|}
setobject.c:set_dealloc:
  735|    200|{
  736|    200|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|    200|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (736:23): [True: 177, False: 23]
  |  Branch (736:23): [True: 23, False: 0]
  |  Branch (736:23): [True: 0, False: 0]
  |  Branch (736:23): [True: 0, False: 0]
  ------------------
  737|      0|    setentry *entry;
  738|    200|    Py_ssize_t used = so->used;
  739|    200|    Py_ssize_t oldsize = (size_t)so->mask + 1;
  740|       |
  741|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
  742|    200|    PyObject_GC_UnTrack(so);
  743|    200|    FT_CLEAR_WEAKREFS(self, so->weakreflist);
  ------------------
  |  |   47|    200|    do {                                            \
  |  |   48|    200|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|    200|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 200]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|    200|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 200]
  |  |  ------------------
  ------------------
  |  Branch (743:5): [True: 200, False: 0]
  ------------------
  744|       |
  745|  1.48k|    for (entry = so->table; used > 0; entry++) {
  ------------------
  |  Branch (745:29): [True: 1.28k, False: 200]
  ------------------
  746|  1.28k|        if (entry->key && entry->key != dummy) {
  ------------------
  |  |   64|    410|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (746:13): [True: 410, False: 876]
  |  Branch (746:27): [True: 410, False: 0]
  ------------------
  747|    410|                used--;
  748|    410|                Py_DECREF(entry->key);
  ------------------
  |  |  430|    410|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    410|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    410|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  749|    410|        }
  750|  1.28k|    }
  751|    200|    if (so->table != so->smalltable)
  ------------------
  |  Branch (751:9): [True: 10, False: 190]
  ------------------
  752|     10|        free_entries(so->table, oldsize, SET_IS_SHARED(so));
  ------------------
  |  |  132|     10|#define SET_IS_SHARED(so) 0
  ------------------
  753|    200|    Py_TYPE(so)->tp_free(so);
  ------------------
  |  |  213|    200|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    200|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  754|    200|}
setobject.c:set_merge_lock_held:
  827|     89|{
  828|     89|    PySetObject *other;
  829|     89|    PyObject *key;
  830|     89|    Py_ssize_t i;
  831|     89|    setentry *so_entry;
  832|     89|    setentry *other_entry;
  833|       |
  834|     89|    assert (PyAnySet_Check(so));
  ------------------
  |  Branch (834:5): [True: 22, False: 67]
  |  Branch (834:5): [True: 67, False: 0]
  |  Branch (834:5): [True: 0, False: 0]
  |  Branch (834:5): [True: 0, False: 0]
  ------------------
  835|     89|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
  836|     89|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(otherset);
  837|       |
  838|     89|    other = _PySet_CAST(otherset);
  ------------------
  |  |   62|     89|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|     89|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (838:13): [True: 89, False: 0]
  |  Branch (838:13): [True: 0, False: 0]
  |  Branch (838:13): [True: 0, False: 0]
  |  Branch (838:13): [True: 0, False: 0]
  ------------------
  839|     89|    if (other == so || other->used == 0)
  ------------------
  |  Branch (839:9): [True: 0, False: 89]
  |  Branch (839:24): [True: 20, False: 69]
  ------------------
  840|       |        /* a.update(a) or a.update(set()); nothing to do */
  841|     20|        return 0;
  842|       |    /* Do one big resize at the start, rather than
  843|       |     * incrementally resizing as we insert new keys.  Expect
  844|       |     * that there will be no (or few) overlapping keys.
  845|       |     */
  846|     69|    if ((so->fill + other->used)*5 >= so->mask*3) {
  ------------------
  |  Branch (846:9): [True: 2, False: 67]
  ------------------
  847|      2|        if (set_table_resize(so, (so->used + other->used)*2) != 0)
  ------------------
  |  Branch (847:13): [True: 0, False: 2]
  ------------------
  848|      0|            return -1;
  849|      2|    }
  850|     69|    so_entry = so->table;
  851|     69|    other_entry = other->table;
  852|       |
  853|       |    /* If our table is empty, and both tables have the same size, and
  854|       |       there are no dummies to eliminate, then just copy the pointers. */
  855|     69|    if (so->fill == 0 && so->mask == other->mask && other->fill == other->used) {
  ------------------
  |  Branch (855:9): [True: 69, False: 0]
  |  Branch (855:26): [True: 67, False: 2]
  |  Branch (855:53): [True: 67, False: 0]
  ------------------
  856|    603|        for (i = 0; i <= other->mask; i++, so_entry++, other_entry++) {
  ------------------
  |  Branch (856:21): [True: 536, False: 67]
  ------------------
  857|    536|            key = other_entry->key;
  858|    536|            if (key != NULL) {
  ------------------
  |  Branch (858:17): [True: 133, False: 403]
  ------------------
  859|    133|                assert(so_entry->key == NULL);
  ------------------
  |  Branch (859:17): [True: 133, False: 0]
  ------------------
  860|    133|                FT_ATOMIC_STORE_SSIZE_RELAXED(so_entry->hash, other_entry->hash);
  ------------------
  |  |  197|    133|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  861|    133|                FT_ATOMIC_STORE_PTR_RELEASE(so_entry->key, Py_NewRef(key));
  ------------------
  |  |  166|    133|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  862|    133|            }
  863|    536|        }
  864|     67|        so->fill = other->fill;
  865|     67|        FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, other->used);
  ------------------
  |  |  197|     67|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  866|     67|        return 0;
  867|     67|    }
  868|       |
  869|       |    /* If our table is empty, we can use set_insert_clean() */
  870|      2|    if (so->fill == 0) {
  ------------------
  |  Branch (870:9): [True: 2, False: 0]
  ------------------
  871|      2|        setentry *newtable = so->table;
  872|      2|        size_t newmask = (size_t)so->mask;
  873|      2|        so->fill = other->used;
  874|      2|        FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, other->used);
  ------------------
  |  |  197|      2|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  875|     66|        for (i = other->mask + 1; i > 0 ; i--, other_entry++) {
  ------------------
  |  Branch (875:35): [True: 64, False: 2]
  ------------------
  876|     64|            key = other_entry->key;
  877|     64|            if (key != NULL && key != dummy) {
  ------------------
  |  |   64|     11|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (877:17): [True: 11, False: 53]
  |  Branch (877:32): [True: 11, False: 0]
  ------------------
  878|     11|                set_insert_clean(newtable, newmask, Py_NewRef(key),
  ------------------
  |  |  647|     11|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  879|     11|                                 other_entry->hash);
  880|     11|            }
  881|     64|        }
  882|      2|        return 0;
  883|      2|    }
  884|       |
  885|       |    /* We can't assure there are no duplicates, so do normal insertions */
  886|      0|    for (i = 0; i <= other->mask; i++) {
  ------------------
  |  Branch (886:17): [True: 0, False: 0]
  ------------------
  887|      0|        other_entry = &other->table[i];
  888|      0|        key = other_entry->key;
  889|      0|        if (key != NULL && key != dummy) {
  ------------------
  |  |   64|      0|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (889:13): [True: 0, False: 0]
  |  Branch (889:28): [True: 0, False: 0]
  ------------------
  890|      0|            if (set_add_entry(so, key, other_entry->hash))
  ------------------
  |  Branch (890:17): [True: 0, False: 0]
  ------------------
  891|      0|                return -1;
  892|      0|        }
  893|      0|    }
  894|      0|    return 0;
  895|      0|}
setobject.c:set_intersection:
 1719|      7|{
 1720|      7|    PySetObject *result;
 1721|      7|    PyObject *key, *it, *tmp;
 1722|      7|    Py_hash_t hash;
 1723|      7|    int rv;
 1724|       |
 1725|      7|    if ((PyObject *)so == other)
  ------------------
  |  Branch (1725:9): [True: 0, False: 7]
  ------------------
 1726|      0|        return set_copy_impl(so);
 1727|       |
 1728|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1729|      7|    if (result == NULL)
  ------------------
  |  Branch (1729:9): [True: 0, False: 7]
  ------------------
 1730|      0|        return NULL;
 1731|       |
 1732|      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]
  |  |  ------------------
  ------------------
 1733|      7|        Py_ssize_t pos = 0;
 1734|      7|        setentry *entry;
 1735|       |
 1736|      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 (1736:13): [True: 6, False: 1]
  ------------------
 1737|      6|            tmp = (PyObject *)so;
 1738|      6|            so = (PySetObject *)other;
 1739|      6|            other = tmp;
 1740|      6|        }
 1741|       |
 1742|      9|        while (set_next((PySetObject *)other, &pos, &entry)) {
  ------------------
  |  Branch (1742:16): [True: 2, False: 7]
  ------------------
 1743|      2|            key = entry->key;
 1744|      2|            hash = entry->hash;
 1745|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1746|      2|            rv = set_contains_entry(so, key, hash);
 1747|      2|            if (rv < 0) {
  ------------------
  |  Branch (1747:17): [True: 0, False: 2]
  ------------------
 1748|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1749|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1750|      0|                return NULL;
 1751|      0|            }
 1752|      2|            if (rv) {
  ------------------
  |  Branch (1752:17): [True: 0, False: 2]
  ------------------
 1753|      0|                if (set_add_entry(result, key, hash)) {
  ------------------
  |  Branch (1753:21): [True: 0, False: 0]
  ------------------
 1754|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1755|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1756|      0|                    return NULL;
 1757|      0|                }
 1758|      0|            }
 1759|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1760|      2|        }
 1761|      7|        _PyObject_GC_TRACK(result);
  ------------------
  |  |  502|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1762|      7|        return (PyObject *)result;
 1763|      7|    }
 1764|       |
 1765|      0|    it = PyObject_GetIter(other);
 1766|      0|    if (it == NULL) {
  ------------------
  |  Branch (1766:9): [True: 0, False: 0]
  ------------------
 1767|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1768|      0|        return NULL;
 1769|      0|    }
 1770|       |
 1771|      0|    while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (1771:12): [True: 0, False: 0]
  ------------------
 1772|      0|        hash = PyObject_Hash(key);
 1773|      0|        if (hash == -1)
  ------------------
  |  Branch (1773:13): [True: 0, False: 0]
  ------------------
 1774|      0|            goto error;
 1775|      0|        rv = set_contains_entry(so, key, hash);
 1776|      0|        if (rv < 0)
  ------------------
  |  Branch (1776:13): [True: 0, False: 0]
  ------------------
 1777|      0|            goto error;
 1778|      0|        if (rv) {
  ------------------
  |  Branch (1778:13): [True: 0, False: 0]
  ------------------
 1779|      0|            if (set_add_entry(result, key, hash))
  ------------------
  |  Branch (1779:17): [True: 0, False: 0]
  ------------------
 1780|      0|                goto error;
 1781|      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 (1781:17): [True: 0, False: 0]
  ------------------
 1782|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1783|      0|                break;
 1784|      0|            }
 1785|      0|        }
 1786|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1787|      0|    }
 1788|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1789|      0|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1789:9): [True: 0, False: 0]
  ------------------
 1790|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1791|      0|        return NULL;
 1792|      0|    }
 1793|      0|    _PyObject_GC_TRACK(result);
  ------------------
  |  |  502|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1794|      0|    return (PyObject *)result;
 1795|      0|  error:
 1796|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1797|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1798|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1799|       |    return NULL;
 1800|      0|}
setobject.c:set_discard_entry:
  581|     99|{
  582|     99|    setentry *entry;
  583|     99|    PyObject *old_key;
  584|     99|    int status = set_lookkey(so, key, hash, &entry);
  585|     99|    if (status < 0) {
  ------------------
  |  Branch (585:9): [True: 0, False: 99]
  ------------------
  586|      0|        return -1;
  587|      0|    }
  588|     99|    if (status == SET_LOOKKEY_NO_MATCH) {
  ------------------
  |  |   67|     99|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  |  Branch (588:9): [True: 98, False: 1]
  ------------------
  589|     98|        return DISCARD_NOTFOUND;
  ------------------
  |  |  576|     98|#define DISCARD_NOTFOUND 0
  ------------------
  590|     98|    }
  591|     99|    assert(status == SET_LOOKKEY_FOUND);
  ------------------
  |  Branch (591:5): [True: 1, False: 0]
  ------------------
  592|      1|    old_key = entry->key;
  593|      1|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, -1);
  ------------------
  |  |  197|      1|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  594|      1|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used - 1);
  ------------------
  |  |  197|      1|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  595|      1|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, dummy);
  ------------------
  |  |  166|      1|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  596|      1|    Py_DECREF(old_key);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|      1|    return DISCARD_FOUND;
  ------------------
  |  |  577|      1|#define DISCARD_FOUND 1
  ------------------
  598|      1|}
setobject.c:make_new_set_basetype_untracked:
 1388|      7|{
 1389|      7|    if (type != &PySet_Type && type != &PyFrozenSet_Type) {
  ------------------
  |  Branch (1389:9): [True: 0, False: 7]
  |  Branch (1389:32): [True: 0, False: 0]
  ------------------
 1390|      0|        if (PyType_IsSubtype(type, &PySet_Type))
  ------------------
  |  Branch (1390:13): [True: 0, False: 0]
  ------------------
 1391|      0|            type = &PySet_Type;
 1392|      0|        else
 1393|      0|            type = &PyFrozenSet_Type;
 1394|      0|    }
 1395|      7|    return make_new_set_untracked(type, iterable);
 1396|      7|}
setobject.c:make_new_set_untracked:
 1349|    443|{
 1350|    443|    assert(PyType_Check(type));
  ------------------
  |  Branch (1350:5): [True: 443, False: 0]
  ------------------
 1351|       |
 1352|       |    // fields are zero-initialized by _PyType_AllocNoTrack
 1353|    443|    PySetObject *so = (PySetObject *)_PyType_AllocNoTrack(type, 0);
 1354|    443|    if (so == NULL) {
  ------------------
  |  Branch (1354:9): [True: 0, False: 443]
  ------------------
 1355|      0|        return NULL;
 1356|      0|    }
 1357|       |
 1358|    443|    assert(so->fill == 0);
  ------------------
  |  Branch (1358:5): [True: 443, False: 0]
  ------------------
 1359|    443|    assert(so->used == 0);
  ------------------
  |  Branch (1359:5): [True: 443, False: 0]
  ------------------
 1360|    443|    so->mask = PySet_MINSIZE - 1;
  ------------------
  |  |   18|    443|#define PySet_MINSIZE 8
  ------------------
 1361|    443|    so->table = so->smalltable;
 1362|    443|    so->hash = -1;
 1363|    443|    assert(so->finger == 0);
  ------------------
  |  Branch (1363:5): [True: 443, False: 0]
  ------------------
 1364|    443|    assert(so->weakreflist == NULL);
  ------------------
  |  Branch (1364:5): [True: 443, False: 0]
  ------------------
 1365|       |
 1366|    443|    if (iterable != NULL) {
  ------------------
  |  Branch (1366:9): [True: 101, False: 342]
  ------------------
 1367|    101|        if (set_update_local(so, iterable)) {
  ------------------
  |  Branch (1367:13): [True: 0, False: 101]
  ------------------
 1368|      0|            Py_DECREF(so);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1369|      0|            return NULL;
 1370|      0|        }
 1371|    101|    }
 1372|       |
 1373|    443|    return (PyObject *)so;
 1374|    443|}
setobject.c:set_update_local:
 1258|    101|{
 1259|    101|    assert(Py_REFCNT(so) == 1);
  ------------------
  |  Branch (1259:5): [True: 101, False: 0]
  ------------------
 1260|    101|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|    101|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    202|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 75, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    127|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|    101|      PyType_IsSubtype(Py_TYPE(ob), &PySet_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 26]
  |  |  ------------------
  |  |   33|    101|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 26]
  |  |  ------------------
  ------------------
 1261|     75|        int rv;
 1262|     75|        Py_BEGIN_CRITICAL_SECTION(other);
  ------------------
  |  |   51|     75|    {
  ------------------
 1263|     75|        rv = set_merge_lock_held(so, other);
 1264|     75|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     75|    }
  ------------------
 1265|     75|        return rv;
 1266|     75|    }
 1267|     26|    else if (PyDict_CheckExact(other)) {
  ------------------
  |  |   19|     26|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|     26|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 7, False: 19]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1268|      7|        int rv;
 1269|      7|        Py_BEGIN_CRITICAL_SECTION(other);
  ------------------
  |  |   51|      7|    {
  ------------------
 1270|      7|        rv = set_update_dict_lock_held(so, other);
 1271|      7|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      7|    }
  ------------------
 1272|      7|        return rv;
 1273|      7|    }
 1274|     19|    else if (PyFrozenDict_CheckExact(other)) {
  ------------------
  |  |   38|     19|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_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: 0, False: 19]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1275|      0|        return set_update_dict_lock_held(so, other);
 1276|      0|    }
 1277|     19|    return set_update_iterable_lock_held(so, other);
 1278|    101|}
setobject.c:set_update_dict_lock_held:
 1185|      7|{
 1186|      7|    assert(PyAnyDict_CheckExact(other));
  ------------------
  |  Branch (1186:5): [True: 7, False: 0]
  |  Branch (1186:5): [True: 0, False: 0]
  ------------------
 1187|       |
 1188|      7|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
 1189|       |#ifdef Py_DEBUG
 1190|       |    if (!PyFrozenDict_CheckExact(other)) {
 1191|       |        _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(other);
 1192|       |    }
 1193|       |#endif
 1194|       |
 1195|       |    /* Do one big resize at the start, rather than
 1196|       |    * incrementally resizing as we insert new keys.  Expect
 1197|       |    * that there will be no (or few) overlapping keys.
 1198|       |    */
 1199|      7|    Py_ssize_t dictsize = PyDict_GET_SIZE(other);
  ------------------
  |  |   63|      7|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1200|      7|    if ((so->fill + dictsize)*5 >= so->mask*3) {
  ------------------
  |  Branch (1200:9): [True: 0, False: 7]
  ------------------
 1201|      0|        if (set_table_resize(so, (so->used + dictsize)*2) != 0) {
  ------------------
  |  Branch (1201:13): [True: 0, False: 0]
  ------------------
 1202|      0|            return -1;
 1203|      0|        }
 1204|      0|    }
 1205|       |
 1206|      7|    Py_ssize_t pos = 0;
 1207|      7|    PyObject *key;
 1208|      7|    PyObject *value;
 1209|      7|    Py_hash_t hash;
 1210|     11|    while (_PyDict_Next(other, &pos, &key, &value, &hash)) {
  ------------------
  |  Branch (1210:12): [True: 4, False: 7]
  ------------------
 1211|      4|        if (set_add_entry(so, key, hash)) {
  ------------------
  |  Branch (1211:13): [True: 0, False: 4]
  ------------------
 1212|      0|            return -1;
 1213|      0|        }
 1214|      4|    }
 1215|      7|    return 0;
 1216|      7|}
setobject.c:set_update_iterable_lock_held:
 1220|     19|{
 1221|     19|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
 1222|       |
 1223|     19|    PyObject *it = PyObject_GetIter(other);
 1224|     19|    if (it == NULL) {
  ------------------
  |  Branch (1224:9): [True: 0, False: 19]
  ------------------
 1225|      0|        return -1;
 1226|      0|    }
 1227|       |
 1228|     19|    PyObject *key;
 1229|  1.56k|    while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (1229:12): [True: 1.54k, False: 19]
  ------------------
 1230|  1.54k|        if (set_add_key(so, key)) {
  ------------------
  |  Branch (1230:13): [True: 0, False: 1.54k]
  ------------------
 1231|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1232|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1233|      0|            return -1;
 1234|      0|        }
 1235|  1.54k|        Py_DECREF(key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1236|  1.54k|    }
 1237|     19|    Py_DECREF(it);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1238|     19|    if (PyErr_Occurred())
  ------------------
  |  Branch (1238:9): [True: 0, False: 19]
  ------------------
 1239|      0|        return -1;
 1240|     19|    return 0;
 1241|     19|}
setobject.c:set_add_entry:
  339|  2.35k|{
  340|  2.35k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
  341|       |
  342|  2.35k|    return set_add_entry_takeref(so, Py_NewRef(key), hash);
  ------------------
  |  |  647|  2.35k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  343|  2.35k|}
setobject.c:set_and:
 1877|      7|{
 1878|      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]
  |  |  ------------------
  ------------------
 1879|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1880|      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 (1880:23): [True: 7, False: 0]
  |  Branch (1880:23): [True: 0, False: 0]
  |  Branch (1880:23): [True: 0, False: 0]
  |  Branch (1880:23): [True: 0, False: 0]
  ------------------
 1881|       |
 1882|      0|    PyObject *rv;
 1883|      7|    Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|      7|    {
  ------------------
 1884|      7|    rv = set_intersection(so, other);
 1885|      7|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      7|    }
  ------------------
 1886|       |
 1887|      7|    return rv;
 1888|      7|}
setobject.c:set_ior:
 1706|     14|{
 1707|     14|    if (!PyAnySet_Check(other))
  ------------------
  |  |   31|     14|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     28|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 14, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (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|      0|#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|     14|      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]
  |  |  ------------------
  ------------------
 1708|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1709|     14|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|     14|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1709:23): [True: 14, False: 0]
  |  Branch (1709:23): [True: 0, False: 0]
  |  Branch (1709:23): [True: 0, False: 0]
  |  Branch (1709:23): [True: 0, False: 0]
  ------------------
 1710|       |
 1711|     14|    if (set_update_internal(so, other)) {
  ------------------
  |  Branch (1711:9): [True: 0, False: 14]
  ------------------
 1712|      0|        return NULL;
 1713|      0|    }
 1714|     14|    return Py_NewRef(so);
  ------------------
  |  |  647|     14|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1715|     14|}
setobject.c:set_contains:
 2577|     27|{
 2578|     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 (2578:23): [True: 18, False: 9]
  |  Branch (2578:23): [True: 9, False: 0]
  |  Branch (2578:23): [True: 0, False: 0]
  |  Branch (2578:23): [True: 0, False: 0]
  ------------------
 2579|      0|    return _PySet_Contains(so, key);
 2580|     27|}
setobject.c:set_traverse:
  935|    198|{
  936|    198|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|    198|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|    198|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (936:23): [True: 148, False: 50]
  |  Branch (936:23): [True: 50, False: 0]
  |  Branch (936:23): [True: 0, False: 0]
  |  Branch (936:23): [True: 0, False: 0]
  ------------------
  937|      0|    Py_ssize_t pos = 0;
  938|    198|    setentry *entry;
  939|       |
  940|  2.03k|    while (set_next(so, &pos, &entry))
  ------------------
  |  Branch (940:12): [True: 1.83k, False: 198]
  ------------------
  941|  1.83k|        Py_VISIT(entry->key);
  ------------------
  |  |  194|  2.03k|    do {                                                                \
  |  |  195|  1.83k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.83k, False: 0]
  |  |  ------------------
  |  |  196|  1.83k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.83k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.83k]
  |  |  ------------------
  |  |  198|  1.83k|                return vret;                                            \
  |  |  199|  1.83k|        }                                                               \
  |  |  200|  1.83k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.83k]
  |  |  ------------------
  ------------------
  942|    198|    return 0;
  943|    198|}
setobject.c:set_clear_internal:
  647|     22|{
  648|     22|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|     22|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (648:23): [True: 22, 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|     22|    setentry *table = so->table;
  651|     22|    Py_ssize_t fill = so->fill;
  652|     22|    Py_ssize_t used = so->used;
  653|     22|    Py_ssize_t oldsize = (size_t)so->mask + 1;
  654|     22|    int table_is_malloced = table != so->smalltable;
  655|     22|    setentry small_copy[PySet_MINSIZE];
  656|       |
  657|     22|    assert (PyAnySet_Check(so));
  ------------------
  |  Branch (657:5): [True: 22, False: 0]
  |  Branch (657:5): [True: 0, False: 0]
  |  Branch (657:5): [True: 0, False: 0]
  |  Branch (657:5): [True: 0, False: 0]
  ------------------
  658|     22|    assert(table != NULL);
  ------------------
  |  Branch (658:5): [True: 22, 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|     22|    if (table_is_malloced)
  ------------------
  |  Branch (666:9): [True: 0, False: 22]
  ------------------
  667|      0|        set_empty_to_minsize(so);
  668|       |
  669|     22|    else if (fill > 0) {
  ------------------
  |  Branch (669:14): [True: 22, 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|     22|        memcpy(small_copy, table, sizeof(small_copy));
  675|     22|        table = small_copy;
  676|     22|        set_empty_to_minsize(so);
  677|     22|    }
  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|    135|    for (entry = table; used > 0; entry++) {
  ------------------
  |  Branch (684:25): [True: 113, False: 22]
  ------------------
  685|    113|        if (entry->key && entry->key != dummy) {
  ------------------
  |  |   64|     22|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (685:13): [True: 22, False: 91]
  |  Branch (685:27): [True: 22, False: 0]
  ------------------
  686|     22|            used--;
  687|     22|            Py_DECREF(entry->key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  688|     22|        }
  689|    113|    }
  690|       |
  691|     22|    if (table_is_malloced)
  ------------------
  |  Branch (691:9): [True: 0, False: 22]
  ------------------
  692|      0|        free_entries(table, oldsize, SET_IS_SHARED(so));
  ------------------
  |  |  132|      0|#define SET_IS_SHARED(so) 0
  ------------------
  693|     22|    return 0;
  694|     22|}
setobject.c:set_empty_to_minsize:
  635|     22|{
  636|     22|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, NULL);
  ------------------
  |  |  166|     22|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  637|     22|    set_zero_table(so->smalltable, PySet_MINSIZE);
  ------------------
  |  |   18|     22|#define PySet_MINSIZE 8
  ------------------
  638|     22|    so->fill = 0;
  639|     22|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, 0);
  ------------------
  |  |  197|     22|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  640|     22|    FT_ATOMIC_STORE_SSIZE_RELEASE(so->mask, PySet_MINSIZE - 1);
  ------------------
  |  |  171|     22|#define FT_ATOMIC_STORE_SSIZE_RELEASE(value, new_value) value = new_value
  ------------------
  641|     22|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->hash, -1);
  ------------------
  |  |  197|     22|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  642|     22|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, so->smalltable);
  ------------------
  |  |  166|     22|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  643|     22|}
setobject.c:set_richcompare:
 2490|      4|{
 2491|      4|    PySetObject *v = _PySet_CAST(self);
  ------------------
  |  |   62|      4|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2491:22): [True: 4, False: 0]
  |  Branch (2491:22): [True: 0, False: 0]
  |  Branch (2491:22): [True: 0, False: 0]
  |  Branch (2491:22): [True: 0, False: 0]
  ------------------
 2492|      0|    PyObject *r1;
 2493|      4|    int r2;
 2494|       |
 2495|      4|    if(!PyAnySet_Check(w))
  ------------------
  |  |   31|      4|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      8|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|      4|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|      4|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2496|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2497|       |
 2498|      4|    switch (op) {
  ------------------
  |  Branch (2498:13): [True: 4, False: 0]
  ------------------
 2499|      0|    case Py_EQ:
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  |  Branch (2499:5): [True: 0, False: 4]
  ------------------
 2500|      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 (2500:13): [True: 0, False: 0]
  ------------------
 2501|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2502|      0|        Py_hash_t v_hash = FT_ATOMIC_LOAD_SSIZE_RELAXED(v->hash);
  ------------------
  |  |  151|      0|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 2503|      0|        Py_hash_t w_hash = FT_ATOMIC_LOAD_SSIZE_RELAXED(((PySetObject *)w)->hash);
  ------------------
  |  |  151|      0|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 2504|      0|        if (v_hash != -1 && w_hash != -1 && v_hash != w_hash)
  ------------------
  |  Branch (2504:13): [True: 0, False: 0]
  |  Branch (2504:29): [True: 0, False: 0]
  |  Branch (2504:45): [True: 0, False: 0]
  ------------------
 2505|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2506|      0|        return set_issubset((PyObject*)v, w);
 2507|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (2507:5): [True: 0, False: 4]
  ------------------
 2508|      0|        r1 = set_richcompare((PyObject*)v, w, Py_EQ);
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
 2509|      0|        if (r1 == NULL)
  ------------------
  |  Branch (2509:13): [True: 0, False: 0]
  ------------------
 2510|      0|            return NULL;
 2511|      0|        r2 = PyObject_IsTrue(r1);
 2512|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2513|      0|        if (r2 < 0)
  ------------------
  |  Branch (2513:13): [True: 0, False: 0]
  ------------------
 2514|      0|            return NULL;
 2515|      0|        return PyBool_FromLong(!r2);
 2516|      4|    case Py_LE:
  ------------------
  |  |  653|      4|#define Py_LE 1
  ------------------
  |  Branch (2516:5): [True: 4, False: 0]
  ------------------
 2517|      4|        return set_issubset((PyObject*)v, w);
 2518|      0|    case Py_GE:
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
  |  Branch (2518:5): [True: 0, False: 4]
  ------------------
 2519|      0|        return set_issuperset((PyObject*)v, w);
 2520|      0|    case Py_LT:
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  |  Branch (2520:5): [True: 0, False: 4]
  ------------------
 2521|      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 (2521:13): [True: 0, False: 0]
  ------------------
 2522|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2523|      0|        return set_issubset((PyObject*)v, w);
 2524|      0|    case Py_GT:
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (2524:5): [True: 0, False: 4]
  ------------------
 2525|      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 (2525:13): [True: 0, False: 0]
  ------------------
 2526|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2527|      0|        return set_issuperset((PyObject*)v, w);
 2528|      4|    }
 2529|      0|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2530|      4|}
setobject.c:set_issubset_impl:
 2415|      4|{
 2416|      4|    setentry *entry;
 2417|      4|    Py_ssize_t pos = 0;
 2418|      4|    int rv;
 2419|       |
 2420|      4|    if (!PyAnySet_Check(other)) {
  ------------------
  |  |   31|      4|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      8|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|      4|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|      4|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2421|      0|        PyObject *tmp = set_intersection(so, other);
 2422|      0|        if (tmp == NULL) {
  ------------------
  |  Branch (2422:13): [True: 0, False: 0]
  ------------------
 2423|      0|            return NULL;
 2424|      0|        }
 2425|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2426|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2427|      0|        return PyBool_FromLong(result);
 2428|      0|    }
 2429|      4|    if (PySet_GET_SIZE(so) > PySet_GET_SIZE(other))
  ------------------
  |  |   71|      4|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PySet_GET_SIZE(so) > PySet_GET_SIZE(other))
  ------------------
  |  |   71|      4|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2429:9): [True: 0, False: 4]
  ------------------
 2430|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2431|       |
 2432|     12|    while (set_next(so, &pos, &entry)) {
  ------------------
  |  Branch (2432:12): [True: 8, False: 4]
  ------------------
 2433|      8|        PyObject *key = entry->key;
 2434|      8|        Py_INCREF(key);
  ------------------
  |  |  310|      8|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2435|      8|        rv = set_contains_entry((PySetObject *)other, key, entry->hash);
 2436|      8|        Py_DECREF(key);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2437|      8|        if (rv < 0) {
  ------------------
  |  Branch (2437:13): [True: 0, False: 8]
  ------------------
 2438|      0|            return NULL;
 2439|      0|        }
 2440|      8|        if (!rv) {
  ------------------
  |  Branch (2440:13): [True: 0, False: 8]
  ------------------
 2441|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2442|      0|        }
 2443|      8|    }
 2444|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2445|      4|}
setobject.c:set_iter:
 1170|     84|{
 1171|     84|    Py_ssize_t size = set_len(so);
 1172|     84|    setiterobject *si = PyObject_GC_New(setiterobject, &PySetIter_Type);
  ------------------
  |  |  181|     84|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1173|     84|    if (si == NULL)
  ------------------
  |  Branch (1173:9): [True: 0, False: 84]
  ------------------
 1174|      0|        return NULL;
 1175|     84|    si->si_set = (PySetObject*)Py_NewRef(so);
  ------------------
  |  |  647|     84|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1176|     84|    si->si_used = size;
 1177|     84|    si->si_pos = 0;
 1178|     84|    si->len = size;
 1179|     84|    _PyObject_GC_TRACK(si);
  ------------------
  |  |  502|     84|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1180|     84|    return (PyObject *)si;
 1181|     84|}
setobject.c:set_add_impl:
 2547|    413|{
 2548|    413|    if (set_add_key(so, key))
  ------------------
  |  Branch (2548:9): [True: 0, False: 413]
  ------------------
 2549|      0|        return NULL;
 2550|    413|    Py_RETURN_NONE;
  ------------------
  |  |  628|    413|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    413|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2551|    413|}
setobject.c:set_vectorcall:
 2793|     95|{
 2794|     95|    assert(PyType_Check(type));
  ------------------
  |  Branch (2794:5): [True: 95, False: 0]
  ------------------
 2795|       |
 2796|     95|    if (!_PyArg_NoKwnames("set", kwnames)) {
  ------------------
  |  |   16|     95|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 95, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2797|      0|        return NULL;
 2798|      0|    }
 2799|       |
 2800|     95|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     95|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 2801|     95|    if (!_PyArg_CheckPositional("set", nargs, 0, 1)) {
  ------------------
  |  |   38|     95|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 95, False: 0]
  |  |  |  Branch (38:27): [True: 95, False: 0]
  |  |  ------------------
  |  |   39|     95|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2802|      0|        return NULL;
 2803|      0|    }
 2804|       |
 2805|     95|    if (nargs) {
  ------------------
  |  Branch (2805:9): [True: 17, False: 78]
  ------------------
 2806|     17|        return make_new_set(_PyType_CAST(type), args[0]);
  ------------------
  |  |  770|     17|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2806:29): [True: 17, False: 0]
  ------------------
 2807|     17|    }
 2808|       |
 2809|     78|    return make_new_set(_PyType_CAST(type), NULL);
  ------------------
  |  |  770|     78|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2809:25): [True: 78, False: 0]
  ------------------
 2810|     78|}
setobject.c:frozenset___contains___impl:
 2617|     11|{
 2618|     11|    Py_hash_t hash = PyObject_Hash(key);
 2619|     11|    if (hash == -1) {
  ------------------
  |  Branch (2619:9): [True: 0, False: 11]
  ------------------
 2620|      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 (2620:34): [True: 0, False: 0]
  ------------------
 2621|      0|            set_unhashable_type(key);
 2622|      0|            return NULL;
 2623|      0|        }
 2624|      0|        PyErr_Clear();
 2625|      0|        Py_BEGIN_CRITICAL_SECTION(key);
  ------------------
  |  |   51|      0|    {
  ------------------
 2626|      0|        hash = frozenset_hash_impl(key);
 2627|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 2628|      0|    }
 2629|     11|    setentry *entry; // unused
 2630|     11|    int status = set_do_lookup(so, so->table, so->mask, key, hash, &entry,
 2631|     11|                           set_compare_frozenset);
 2632|     11|    if (status < 0)
  ------------------
  |  Branch (2632:9): [True: 0, False: 11]
  ------------------
 2633|      0|        return NULL;
 2634|     11|    return PyBool_FromLong(status);
 2635|     11|}
setobject.c:make_new_frozenset:
 1430|      9|{
 1431|      9|    if (type != &PyFrozenSet_Type) {
  ------------------
  |  Branch (1431:9): [True: 0, False: 9]
  ------------------
 1432|      0|        return make_new_set(type, iterable);
 1433|      0|    }
 1434|       |
 1435|      9|    if (iterable != NULL && PyFrozenSet_CheckExact(iterable)) {
  ------------------
  |  |   23|      9|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|      9|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1435:9): [True: 9, False: 0]
  ------------------
 1436|       |        /* frozenset(f) is idempotent */
 1437|      0|        return Py_NewRef(iterable);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1438|      0|    }
 1439|      9|    PyObject *obj = make_new_set(type, iterable);
 1440|      9|    if (obj != NULL) {
  ------------------
  |  Branch (1440:9): [True: 9, False: 0]
  ------------------
 1441|      9|        _PyFrozenSet_MaybeUntrack(obj);
 1442|      9|    }
 1443|      9|    return obj;
 1444|      9|}
setobject.c:frozenset_vectorcall:
 1467|      9|{
 1468|      9|    if (!_PyArg_NoKwnames("frozenset", kwnames)) {
  ------------------
  |  |   16|      9|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 9, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1469|      0|        return NULL;
 1470|      0|    }
 1471|       |
 1472|      9|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      9|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 1473|      9|    if (!_PyArg_CheckPositional("frozenset", nargs, 0, 1)) {
  ------------------
  |  |   38|      9|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 9, False: 0]
  |  |  |  Branch (38:27): [True: 9, False: 0]
  |  |  ------------------
  |  |   39|      9|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1474|      0|        return NULL;
 1475|      0|    }
 1476|       |
 1477|      9|    PyObject *iterable = (nargs ? args[0] : NULL);
  ------------------
  |  Branch (1477:27): [True: 9, False: 0]
  ------------------
 1478|      9|    return make_new_frozenset(_PyType_CAST(type), iterable);
  ------------------
  |  |  770|      9|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1478:31): [True: 9, False: 0]
  ------------------
 1479|      9|}
setobject.c:make_new_set:
 1378|    436|{
 1379|    436|    PyObject *so = make_new_set_untracked(type, iterable);
 1380|    436|    if (so != NULL) {
  ------------------
  |  Branch (1380:9): [True: 436, False: 0]
  ------------------
 1381|    436|        _PyObject_GC_TRACK(so);
  ------------------
  |  |  502|    436|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    436|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    436|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1382|    436|    }
 1383|    436|    return so;
 1384|    436|}
setobject.c:set_len:
  820|    298|{
  821|    298|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|    298|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|    298|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (821:23): [True: 152, False: 146]
  |  Branch (821:23): [True: 146, False: 0]
  |  Branch (821:23): [True: 0, False: 0]
  |  Branch (821:23): [True: 0, False: 0]
  ------------------
  822|    298|    return FT_ATOMIC_LOAD_SSIZE_RELAXED(so->used);
  ------------------
  |  |  151|    298|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  823|    298|}
setobject.c:set_clear_impl:
 1642|     22|{
 1643|     22|    set_clear_internal((PyObject*)so);
 1644|     22|    Py_RETURN_NONE;
  ------------------
  |  |  628|     22|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     22|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1645|     22|}
setobject.c:set_discard_key:
  624|     99|{
  625|     99|    Py_hash_t hash = PyObject_Hash(key);
  626|     99|    if (hash == -1) {
  ------------------
  |  Branch (626:9): [True: 0, False: 99]
  ------------------
  627|      0|        set_unhashable_type(key);
  628|      0|        return -1;
  629|      0|    }
  630|     99|    return set_discard_entry(so, key, hash);
  631|     99|}
setobject.c:set_add_key:
  602|  2.35k|{
  603|  2.35k|    Py_hash_t hash = PyObject_Hash(key);
  604|  2.35k|    if (hash == -1) {
  ------------------
  |  Branch (604:9): [True: 0, False: 2.35k]
  ------------------
  605|      0|        set_unhashable_type(key);
  606|      0|        return -1;
  607|      0|    }
  608|  2.35k|    return set_add_entry(so, key, hash);
  609|  2.35k|}
setobject.c:set_next:
  711|  3.05k|{
  712|  3.05k|    Py_ssize_t i;
  713|  3.05k|    Py_ssize_t mask;
  714|  3.05k|    setentry *entry;
  715|       |
  716|  3.05k|    assert (PyAnySet_Check(so));
  ------------------
  |  Branch (716:5): [True: 1.90k, False: 1.14k]
  |  Branch (716:5): [True: 1.14k, False: 0]
  |  Branch (716:5): [True: 0, False: 0]
  |  Branch (716:5): [True: 0, False: 0]
  ------------------
  717|  3.05k|    i = *pos_ptr;
  718|  3.05k|    assert(i >= 0);
  ------------------
  |  Branch (718:5): [True: 3.05k, False: 0]
  ------------------
  719|  3.05k|    mask = so->mask;
  720|  3.05k|    entry = &so->table[i];
  721|  9.46k|    while (i <= mask && (entry->key == NULL || entry->key == dummy)) {
  ------------------
  |  |   64|  2.70k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (721:12): [True: 9.12k, False: 343]
  |  Branch (721:26): [True: 6.41k, False: 2.70k]
  |  Branch (721:48): [True: 0, False: 2.70k]
  ------------------
  722|  6.41k|        i++;
  723|  6.41k|        entry++;
  724|  6.41k|    }
  725|  3.05k|    *pos_ptr = i+1;
  726|  3.05k|    if (i > mask)
  ------------------
  |  Branch (726:9): [True: 343, False: 2.70k]
  ------------------
  727|    343|        return 0;
  728|  3.05k|    assert(entry != NULL);
  ------------------
  |  Branch (728:5): [True: 2.70k, False: 0]
  ------------------
  729|  2.70k|    *entry_ptr = entry;
  730|  2.70k|    return 1;
  731|  2.70k|}
setobject.c:set_pop_impl:
  910|      8|{
  911|       |    /* Make sure the search finger is in bounds */
  912|      8|    setentry *entry = so->table + (so->finger & so->mask);
  913|      8|    setentry *limit = so->table + so->mask;
  914|      8|    PyObject *key;
  915|       |
  916|      8|    if (so->used == 0) {
  ------------------
  |  Branch (916:9): [True: 0, False: 8]
  ------------------
  917|      0|        PyErr_SetString(PyExc_KeyError, "pop from an empty set");
  918|      0|        return NULL;
  919|      0|    }
  920|     20|    while (entry->key == NULL || entry->key==dummy) {
  ------------------
  |  |   64|      8|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (920:12): [True: 12, False: 8]
  |  Branch (920:34): [True: 0, False: 8]
  ------------------
  921|     12|        entry++;
  922|     12|        if (entry > limit)
  ------------------
  |  Branch (922:13): [True: 0, False: 12]
  ------------------
  923|      0|            entry = so->table;
  924|     12|    }
  925|      8|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, -1);
  ------------------
  |  |  197|      8|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  926|      8|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used - 1);
  ------------------
  |  |  197|      8|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  927|      8|    key = entry->key;
  928|      8|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, dummy);
  ------------------
  |  |  166|      8|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  929|      8|    so->finger = entry - so->table + 1;   /* next place to start */
  930|      8|    return key;
  931|      8|}
setobject.c:set_update_internal:
 1282|     14|{
 1283|     14|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|     14|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     28|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 14, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (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|      0|#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|     14|      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]
  |  |  ------------------
  ------------------
 1284|     14|        if (Py_Is((PyObject *)so, other)) {
  ------------------
  |  |  187|     14|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  |  |  Branch (187:21): [True: 0, False: 14]
  |  |  ------------------
  ------------------
 1285|      0|            return 0;
 1286|      0|        }
 1287|     14|        int rv;
 1288|     14|        Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|     14|    {
  ------------------
 1289|     14|        rv = set_merge_lock_held(so, other);
 1290|     14|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|     14|    }
  ------------------
 1291|     14|        return rv;
 1292|     14|    }
 1293|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1294|      0|        int rv;
 1295|      0|        Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|      0|    {
  ------------------
 1296|      0|        rv = set_update_dict_lock_held(so, other);
 1297|      0|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 1298|      0|        return rv;
 1299|      0|    }
 1300|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1301|      0|        int rv;
 1302|      0|        Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|      0|    {
  ------------------
 1303|      0|        rv = set_update_dict_lock_held(so, other);
 1304|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 1305|      0|        return rv;
 1306|      0|    }
 1307|      0|    else {
 1308|      0|        int rv;
 1309|      0|        Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|      0|    {
  ------------------
 1310|      0|        rv = set_update_iterable_lock_held(so, other);
 1311|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 1312|      0|        return rv;
 1313|      0|    }
 1314|     14|}

_PyBuildSlice_ConsumeRefs:
  129|    168|{
  130|    168|    assert(start != NULL && stop != NULL && step != NULL);
  ------------------
  |  Branch (130:5): [True: 168, False: 0]
  |  Branch (130:5): [True: 168, False: 0]
  |  Branch (130:5): [True: 168, False: 0]
  ------------------
  131|    168|    PySliceObject *obj = _Py_FREELIST_POP(PySliceObject, slices);
  ------------------
  |  |   43|    168|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|    168|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  132|    168|    if (obj == NULL) {
  ------------------
  |  Branch (132:9): [True: 122, False: 46]
  ------------------
  133|    122|        obj = PyObject_GC_New(PySliceObject, &PySlice_Type);
  ------------------
  |  |  181|    122|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    122|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  134|    122|        if (obj == NULL) {
  ------------------
  |  Branch (134:13): [True: 0, False: 122]
  ------------------
  135|      0|            goto error;
  136|      0|        }
  137|    122|    }
  138|       |
  139|    168|    obj->start = start;
  140|    168|    obj->stop = stop;
  141|    168|    obj->step = step;
  142|       |
  143|    168|    _PyObject_GC_TRACK(obj);
  ------------------
  |  |  502|    168|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    168|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    168|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  144|    168|    return (PyObject *)obj;
  145|      0|error:
  146|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  147|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  148|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  149|       |    return NULL;
  150|    168|}
PySlice_New:
  154|    167|{
  155|    167|    if (step == NULL) {
  ------------------
  |  Branch (155:9): [True: 30, False: 137]
  ------------------
  156|     30|        step = Py_None;
  ------------------
  |  |  616|     30|#  define Py_None (&_Py_NoneStruct)
  ------------------
  157|     30|    }
  158|    167|    if (start == NULL) {
  ------------------
  |  Branch (158:9): [True: 0, False: 167]
  ------------------
  159|      0|        start = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  160|      0|    }
  161|    167|    if (stop == NULL) {
  ------------------
  |  Branch (161:9): [True: 0, False: 167]
  ------------------
  162|      0|        stop = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  163|      0|    }
  164|    167|    return _PyBuildSlice_ConsumeRefs(Py_NewRef(start),
  ------------------
  |  |  647|    167|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    167|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    167|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|    167|                                              Py_NewRef(stop), Py_NewRef(step));
  ------------------
  |  |  647|    167|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    167|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    167|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                            Py_NewRef(stop), Py_NewRef(step));
  ------------------
  |  |  647|    167|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    167|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    167|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  166|    167|}
PySlice_Unpack:
  220|    294|{
  221|    294|    PySliceObject *r = (PySliceObject*)_r;
  222|       |    /* this is harder to get right than you might think */
  223|       |
  224|    294|    static_assert(PY_SSIZE_T_MIN + 1 <= -PY_SSIZE_T_MAX,
  225|    294|                  "-PY_SSIZE_T_MAX < PY_SSIZE_T_MIN + 1");
  226|       |
  227|    294|    if (r->step == Py_None) {
  ------------------
  |  |  616|    294|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (227:9): [True: 287, False: 7]
  ------------------
  228|    287|        *step = 1;
  229|    287|    }
  230|      7|    else {
  231|      7|        if (!_PyEval_SliceIndex(r->step, step)) return -1;
  ------------------
  |  Branch (231:13): [True: 0, False: 7]
  ------------------
  232|      7|        if (*step == 0) {
  ------------------
  |  Branch (232:13): [True: 0, False: 7]
  ------------------
  233|      0|            PyErr_SetString(PyExc_ValueError,
  234|      0|                            "slice step cannot be zero");
  235|      0|            return -1;
  236|      0|        }
  237|       |        /* Here *step might be -PY_SSIZE_T_MAX-1; in this case we replace it
  238|       |         * with -PY_SSIZE_T_MAX.  This doesn't affect the semantics, and it
  239|       |         * guards against later undefined behaviour resulting from code that
  240|       |         * does "step = -step" as part of a slice reversal.
  241|       |         */
  242|      7|        if (*step < -PY_SSIZE_T_MAX)
  ------------------
  |  |  137|      7|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (242:13): [True: 0, False: 7]
  ------------------
  243|      0|            *step = -PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  244|      7|    }
  245|       |
  246|    294|    if (r->start == Py_None) {
  ------------------
  |  |  616|    294|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (246:9): [True: 140, False: 154]
  ------------------
  247|    140|        *start = *step < 0 ? PY_SSIZE_T_MAX : 0;
  ------------------
  |  |  137|    140|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (247:18): [True: 3, False: 137]
  ------------------
  248|    140|    }
  249|    154|    else {
  250|    154|        if (!_PyEval_SliceIndex(r->start, start)) return -1;
  ------------------
  |  Branch (250:13): [True: 0, False: 154]
  ------------------
  251|    154|    }
  252|       |
  253|    294|    if (r->stop == Py_None) {
  ------------------
  |  |  616|    294|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (253:9): [True: 73, False: 221]
  ------------------
  254|     73|        *stop = *step < 0 ? PY_SSIZE_T_MIN : PY_SSIZE_T_MAX;
  ------------------
  |  |  146|      3|#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
  |  |  ------------------
  |  |  |  |  137|      3|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
                      *stop = *step < 0 ? PY_SSIZE_T_MIN : PY_SSIZE_T_MAX;
  ------------------
  |  |  137|     73|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (254:17): [True: 3, False: 70]
  ------------------
  255|     73|    }
  256|    221|    else {
  257|    221|        if (!_PyEval_SliceIndex(r->stop, stop)) return -1;
  ------------------
  |  Branch (257:13): [True: 0, False: 221]
  ------------------
  258|    221|    }
  259|       |
  260|    294|    return 0;
  261|    294|}
PySlice_AdjustIndices:
  266|    446|{
  267|       |    /* this is harder to get right than you might think */
  268|       |
  269|    446|    assert(step != 0);
  ------------------
  |  Branch (269:5): [True: 446, False: 0]
  ------------------
  270|    446|    assert(step >= -PY_SSIZE_T_MAX);
  ------------------
  |  Branch (270:5): [True: 446, False: 0]
  ------------------
  271|       |
  272|    446|    if (*start < 0) {
  ------------------
  |  Branch (272:9): [True: 94, False: 352]
  ------------------
  273|     94|        *start += length;
  274|     94|        if (*start < 0) {
  ------------------
  |  Branch (274:13): [True: 0, False: 94]
  ------------------
  275|      0|            *start = (step < 0) ? -1 : 0;
  ------------------
  |  Branch (275:22): [True: 0, False: 0]
  ------------------
  276|      0|        }
  277|     94|    }
  278|    352|    else if (*start >= length) {
  ------------------
  |  Branch (278:14): [True: 8, False: 344]
  ------------------
  279|      8|        *start = (step < 0) ? length - 1 : length;
  ------------------
  |  Branch (279:18): [True: 3, False: 5]
  ------------------
  280|      8|    }
  281|       |
  282|    446|    if (*stop < 0) {
  ------------------
  |  Branch (282:9): [True: 3, False: 443]
  ------------------
  283|      3|        *stop += length;
  284|      3|        if (*stop < 0) {
  ------------------
  |  Branch (284:13): [True: 3, False: 0]
  ------------------
  285|      3|            *stop = (step < 0) ? -1 : 0;
  ------------------
  |  Branch (285:21): [True: 3, False: 0]
  ------------------
  286|      3|        }
  287|      3|    }
  288|    443|    else if (*stop >= length) {
  ------------------
  |  Branch (288:14): [True: 193, False: 250]
  ------------------
  289|    193|        *stop = (step < 0) ? length - 1 : length;
  ------------------
  |  Branch (289:17): [True: 0, False: 193]
  ------------------
  290|    193|    }
  291|       |
  292|    446|    if (step < 0) {
  ------------------
  |  Branch (292:9): [True: 3, False: 443]
  ------------------
  293|      3|        if (*stop < *start) {
  ------------------
  |  Branch (293:13): [True: 3, False: 0]
  ------------------
  294|      3|            return (*start - *stop - 1) / (-step) + 1;
  295|      3|        }
  296|      3|    }
  297|    443|    else {
  298|    443|        if (*start < *stop) {
  ------------------
  |  Branch (298:13): [True: 438, False: 5]
  ------------------
  299|    438|            return (*stop - *start - 1) / step + 1;
  300|    438|        }
  301|    443|    }
  302|      5|    return 0;
  303|    446|}
_PySlice_GetLongIndices:
  402|      7|{
  403|      7|    PyObject *start=NULL, *stop=NULL, *step=NULL;
  404|      7|    PyObject *upper=NULL, *lower=NULL;
  405|      7|    int step_is_negative, cmp_result;
  406|       |
  407|       |    /* Convert step to an integer; raise for zero step. */
  408|      7|    if (self->step == Py_None) {
  ------------------
  |  |  616|      7|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (408:9): [True: 0, False: 7]
  ------------------
  409|      0|        step = _PyLong_GetOne();
  410|      0|        step_is_negative = 0;
  411|      0|    }
  412|      7|    else {
  413|      7|        step = evaluate_slice_index(self->step);
  414|      7|        if (step == NULL) {
  ------------------
  |  Branch (414:13): [True: 0, False: 7]
  ------------------
  415|      0|            goto error;
  416|      0|        }
  417|      7|        assert(PyLong_Check(step));
  ------------------
  |  Branch (417:9): [True: 7, False: 0]
  ------------------
  418|       |
  419|      7|        int step_sign;
  420|      7|        (void)PyLong_GetSign(step, &step_sign);
  421|      7|        if (step_sign == 0) {
  ------------------
  |  Branch (421:13): [True: 0, False: 7]
  ------------------
  422|      0|            PyErr_SetString(PyExc_ValueError,
  423|      0|                            "slice step cannot be zero");
  424|      0|            goto error;
  425|      0|        }
  426|      7|        step_is_negative = step_sign < 0;
  427|      7|    }
  428|       |
  429|       |    /* Find lower and upper bounds for start and stop. */
  430|      7|    if (step_is_negative) {
  ------------------
  |  Branch (430:9): [True: 7, False: 0]
  ------------------
  431|      7|        lower = PyLong_FromLong(-1L);
  432|      7|        if (lower == NULL)
  ------------------
  |  Branch (432:13): [True: 0, False: 7]
  ------------------
  433|      0|            goto error;
  434|       |
  435|      7|        upper = PyNumber_Add(length, lower);
  436|      7|        if (upper == NULL)
  ------------------
  |  Branch (436:13): [True: 0, False: 7]
  ------------------
  437|      0|            goto error;
  438|      7|    }
  439|      0|    else {
  440|      0|        lower = _PyLong_GetZero();
  441|      0|        upper = Py_NewRef(length);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  442|      0|    }
  443|       |
  444|       |    /* Compute start. */
  445|      7|    if (self->start == Py_None) {
  ------------------
  |  |  616|      7|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (445:9): [True: 7, False: 0]
  ------------------
  446|      7|        start = Py_NewRef(step_is_negative ? upper : lower);
  ------------------
  |  |  647|      7|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 7, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  447|      7|    }
  448|      0|    else {
  449|      0|        start = evaluate_slice_index(self->start);
  450|      0|        if (start == NULL)
  ------------------
  |  Branch (450:13): [True: 0, False: 0]
  ------------------
  451|      0|            goto error;
  452|       |
  453|      0|        if (_PyLong_IsNegative((PyLongObject *)start)) {
  ------------------
  |  Branch (453:13): [True: 0, False: 0]
  ------------------
  454|       |            /* start += length */
  455|      0|            PyObject *tmp = PyNumber_Add(start, length);
  456|      0|            Py_SETREF(start, tmp);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  457|      0|            if (start == NULL)
  ------------------
  |  Branch (457:17): [True: 0, False: 0]
  ------------------
  458|      0|                goto error;
  459|       |
  460|      0|            cmp_result = PyObject_RichCompareBool(start, lower, Py_LT);
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  461|      0|            if (cmp_result < 0)
  ------------------
  |  Branch (461:17): [True: 0, False: 0]
  ------------------
  462|      0|                goto error;
  463|      0|            if (cmp_result) {
  ------------------
  |  Branch (463:17): [True: 0, False: 0]
  ------------------
  464|      0|                Py_SETREF(start, Py_NewRef(lower));
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  465|      0|            }
  466|      0|        }
  467|      0|        else {
  468|      0|            cmp_result = PyObject_RichCompareBool(start, upper, Py_GT);
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  469|      0|            if (cmp_result < 0)
  ------------------
  |  Branch (469:17): [True: 0, False: 0]
  ------------------
  470|      0|                goto error;
  471|      0|            if (cmp_result) {
  ------------------
  |  Branch (471:17): [True: 0, False: 0]
  ------------------
  472|      0|                Py_SETREF(start, Py_NewRef(upper));
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  473|      0|            }
  474|      0|        }
  475|      0|    }
  476|       |
  477|       |    /* Compute stop. */
  478|      7|    if (self->stop == Py_None) {
  ------------------
  |  |  616|      7|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (478:9): [True: 7, False: 0]
  ------------------
  479|      7|        stop = Py_NewRef(step_is_negative ? lower : upper);
  ------------------
  |  |  647|      7|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 7, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|      7|    }
  481|      0|    else {
  482|      0|        stop = evaluate_slice_index(self->stop);
  483|      0|        if (stop == NULL)
  ------------------
  |  Branch (483:13): [True: 0, False: 0]
  ------------------
  484|      0|            goto error;
  485|       |
  486|      0|        if (_PyLong_IsNegative((PyLongObject *)stop)) {
  ------------------
  |  Branch (486:13): [True: 0, False: 0]
  ------------------
  487|       |            /* stop += length */
  488|      0|            PyObject *tmp = PyNumber_Add(stop, length);
  489|      0|            Py_SETREF(stop, tmp);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  490|      0|            if (stop == NULL)
  ------------------
  |  Branch (490:17): [True: 0, False: 0]
  ------------------
  491|      0|                goto error;
  492|       |
  493|      0|            cmp_result = PyObject_RichCompareBool(stop, lower, Py_LT);
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  494|      0|            if (cmp_result < 0)
  ------------------
  |  Branch (494:17): [True: 0, False: 0]
  ------------------
  495|      0|                goto error;
  496|      0|            if (cmp_result) {
  ------------------
  |  Branch (496:17): [True: 0, False: 0]
  ------------------
  497|      0|                Py_SETREF(stop, Py_NewRef(lower));
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  498|      0|            }
  499|      0|        }
  500|      0|        else {
  501|      0|            cmp_result = PyObject_RichCompareBool(stop, upper, Py_GT);
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  502|      0|            if (cmp_result < 0)
  ------------------
  |  Branch (502:17): [True: 0, False: 0]
  ------------------
  503|      0|                goto error;
  504|      0|            if (cmp_result) {
  ------------------
  |  Branch (504:17): [True: 0, False: 0]
  ------------------
  505|      0|                Py_SETREF(stop, Py_NewRef(upper));
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  506|      0|            }
  507|      0|        }
  508|      0|    }
  509|       |
  510|      7|    *start_ptr = start;
  511|      7|    *stop_ptr = stop;
  512|      7|    *step_ptr = step;
  513|      7|    Py_DECREF(upper);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  514|      7|    Py_DECREF(lower);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  515|      7|    return 0;
  516|       |
  517|      0|  error:
  518|      0|    *start_ptr = *stop_ptr = *step_ptr = NULL;
  519|      0|    Py_XDECREF(start);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  520|      0|    Py_XDECREF(stop);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    Py_XDECREF(step);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  522|      0|    Py_XDECREF(upper);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  523|      0|    Py_XDECREF(lower);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  524|      0|    return -1;
  525|      7|}
sliceobject.c:evaluate_slice_index:
  382|      7|{
  383|      7|    if (_PyIndex_Check(v)) {
  ------------------
  |  Branch (383:9): [True: 7, False: 0]
  ------------------
  384|      7|        return PyNumber_Index(v);
  385|      7|    }
  386|      0|    else {
  387|      0|        PyErr_SetString(PyExc_TypeError,
  388|      0|                        "slice indices must be integers or "
  389|      0|                        "None or have an __index__ method");
  390|       |        return NULL;
  391|      0|    }
  392|      7|}
sliceobject.c:slice_dealloc:
  353|     64|{
  354|     64|    PySliceObject *r = _PySlice_CAST(op);
  ------------------
  |  |   32|     64|#define _PySlice_CAST(op) _Py_CAST(PySliceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  355|     64|    PyObject_GC_UnTrack(r);
  356|     64|    Py_DECREF(r->step);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  357|     64|    Py_DECREF(r->start);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  358|     64|    Py_DECREF(r->stop);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  359|     64|    _Py_FREELIST_FREE(slices, r, PyObject_GC_Del);
  ------------------
  |  |   35|     64|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|     64|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   21|     64|#  define Py_slices_MAXFREELIST 1
  |  |  ------------------
  ------------------
  360|     64|}
sliceobject.c:slice_traverse:
  631|    210|{
  632|    210|    PySliceObject *v = _PySlice_CAST(op);
  ------------------
  |  |   32|    210|#define _PySlice_CAST(op) _Py_CAST(PySliceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  633|    210|    Py_VISIT(v->start);
  ------------------
  |  |  194|    210|    do {                                                                \
  |  |  195|    210|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 210, False: 0]
  |  |  ------------------
  |  |  196|    210|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    210|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    210|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 210]
  |  |  ------------------
  |  |  198|    210|                return vret;                                            \
  |  |  199|    210|        }                                                               \
  |  |  200|    210|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 210]
  |  |  ------------------
  ------------------
  634|    210|    Py_VISIT(v->stop);
  ------------------
  |  |  194|    210|    do {                                                                \
  |  |  195|    210|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 210, False: 0]
  |  |  ------------------
  |  |  196|    210|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    210|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    210|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 210]
  |  |  ------------------
  |  |  198|    210|                return vret;                                            \
  |  |  199|    210|        }                                                               \
  |  |  200|    210|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 210]
  |  |  ------------------
  ------------------
  635|    210|    Py_VISIT(v->step);
  ------------------
  |  |  194|    210|    do {                                                                \
  |  |  195|    210|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 210, False: 0]
  |  |  ------------------
  |  |  196|    210|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    210|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    210|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 210]
  |  |  ------------------
  |  |  198|    210|                return vret;                                            \
  |  |  199|    210|        }                                                               \
  |  |  200|    210|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 210]
  |  |  ------------------
  ------------------
  636|    210|    return 0;
  637|    210|}

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

dictobject.c:unicode_eq:
    8|  4.79k|{
    9|  4.79k|    Py_ssize_t len = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  300|  4.79k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   10|  4.79k|    if (PyUnicode_GET_LENGTH(str2) != len) {
  ------------------
  |  |  300|  4.79k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10:9): [True: 0, False: 4.79k]
  ------------------
   11|      0|        return 0;
   12|      0|    }
   13|       |
   14|  4.79k|    int kind = PyUnicode_KIND(str1);
  ------------------
  |  |  259|  4.79k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  9.59k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 4.79k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   15|  9.59k|    if (PyUnicode_KIND(str2) != kind) {
  ------------------
  |  |  259|  4.79k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  9.59k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 4.79k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (15:9): [True: 0, False: 4.79k]
  ------------------
   16|      0|        return 0;
   17|      0|    }
   18|       |
   19|  4.79k|    const void *data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  285|  4.79k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|  4.79k|    const void *data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  285|  4.79k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|  4.79k|    return (memcmp(data1, data2, len * kind) == 0);
   22|  4.79k|}
setobject.c:unicode_eq:
    8|     30|{
    9|     30|    Py_ssize_t len = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  300|     30|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   10|     30|    if (PyUnicode_GET_LENGTH(str2) != len) {
  ------------------
  |  |  300|     30|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10:9): [True: 0, False: 30]
  ------------------
   11|      0|        return 0;
   12|      0|    }
   13|       |
   14|     30|    int kind = PyUnicode_KIND(str1);
  ------------------
  |  |  259|     30|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     60|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 30, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   15|     60|    if (PyUnicode_KIND(str2) != kind) {
  ------------------
  |  |  259|     30|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     60|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 30, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (15:9): [True: 0, False: 30]
  ------------------
   16|      0|        return 0;
   17|      0|    }
   18|       |
   19|     30|    const void *data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  285|     30|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|     30|    const void *data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  285|     30|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|     30|    return (memcmp(data1, data2, len * kind) == 0);
   22|     30|}
unicodeobject.c:unicode_eq:
    8|  12.4k|{
    9|  12.4k|    Py_ssize_t len = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  300|  12.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   10|  12.4k|    if (PyUnicode_GET_LENGTH(str2) != len) {
  ------------------
  |  |  300|  12.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10:9): [True: 3.24k, False: 9.18k]
  ------------------
   11|  3.24k|        return 0;
   12|  3.24k|    }
   13|       |
   14|  9.18k|    int kind = PyUnicode_KIND(str1);
  ------------------
  |  |  259|  9.18k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  18.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 9.18k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   15|  18.3k|    if (PyUnicode_KIND(str2) != kind) {
  ------------------
  |  |  259|  9.18k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  18.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 9.18k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (15:9): [True: 0, False: 9.18k]
  ------------------
   16|      0|        return 0;
   17|      0|    }
   18|       |
   19|  9.18k|    const void *data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  285|  9.18k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|  9.18k|    const void *data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  285|  9.18k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|  9.18k|    return (memcmp(data1, data2, len * kind) == 0);
   22|  9.18k|}

unicodeobject.c:ucs1lib_find_char:
   51|    881|{
   52|    881|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|    881|    p = s;
   55|    881|    e = s + n;
   56|    881|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|    881|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 66, False: 815]
  ------------------
   57|     66|#ifdef STRINGLIB_FAST_MEMCHR
   58|     66|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |   23|     66|#define STRINGLIB_FAST_MEMCHR    memchr
  ------------------
   59|     66|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 56, False: 10]
  ------------------
   60|     56|            return (p - s);
   61|     10|        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|     66|    }
   98|  4.31k|    while (p < e) {
  ------------------
  |  Branch (98:12): [True: 3.52k, False: 782]
  ------------------
   99|  3.52k|        if (*p == ch)
  ------------------
  |  Branch (99:13): [True: 33, False: 3.49k]
  ------------------
  100|     33|            return (p - s);
  101|  3.49k|        p++;
  102|  3.49k|    }
  103|    782|    return -1;
  104|    815|}
unicodeobject.c:ucs1lib_rfind_char:
  117|    120|{
  118|    120|    const STRINGLIB_CHAR *p;
  119|    120|#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|    120|    if (n > MEMRCHR_CUT_OFF) {
  ------------------
  |  |  109|    120|#  define MEMRCHR_CUT_OFF 15
  ------------------
  |  Branch (125:9): [True: 41, False: 79]
  ------------------
  126|     41|#if STRINGLIB_SIZEOF_CHAR == 1
  127|     41|        p = memrchr(s, ch, n);
  128|     41|        if (p != NULL)
  ------------------
  |  Branch (128:13): [True: 41, False: 0]
  ------------------
  129|     41|            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|     41|    }
  169|     79|#endif  /* HAVE_MEMRCHR */
  170|     79|    p = s + n;
  171|    628|    while (p > s) {
  ------------------
  |  Branch (171:12): [True: 560, False: 68]
  ------------------
  172|    560|        p--;
  173|    560|        if (*p == ch)
  ------------------
  |  Branch (173:13): [True: 11, False: 549]
  ------------------
  174|     11|            return (p - s);
  175|    560|    }
  176|     68|    return -1;
  177|     79|}
unicodeobject.c:asciilib_fastsearch:
  776|    337|{
  777|    337|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|    674|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 0, False: 337]
  |  Branch (777:19): [True: 0, False: 337]
  |  Branch (777:41): [True: 0, False: 0]
  ------------------
  778|      0|        return -1;
  779|      0|    }
  780|       |
  781|       |    /* look for special cases */
  782|    337|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 337, False: 0]
  ------------------
  783|    337|        if (m <= 0) {
  ------------------
  |  Branch (783:13): [True: 0, False: 337]
  ------------------
  784|      0|            return -1;
  785|      0|        }
  786|       |        /* use special case for 1-character strings */
  787|    337|        if (mode == FAST_SEARCH)
  ------------------
  |  |   25|    337|#define FAST_SEARCH 1
  ------------------
  |  Branch (787:13): [True: 0, False: 337]
  ------------------
  788|      0|            return STRINGLIB(find_char)(s, n, p[0]);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             asciilib_##F
  ------------------
  789|    337|        else if (mode == FAST_RSEARCH)
  ------------------
  |  |   26|    337|#define FAST_RSEARCH 2
  ------------------
  |  Branch (789:18): [True: 337, False: 0]
  ------------------
  790|    337|            return STRINGLIB(rfind_char)(s, n, p[0]);
  ------------------
  |  |    7|    337|#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|    337|    }
  798|       |
  799|      0|    if (mode != FAST_RSEARCH) {
  ------------------
  |  |   26|      0|#define FAST_RSEARCH 2
  ------------------
  |  Branch (799:9): [True: 0, False: 0]
  ------------------
  800|      0|        if (n < 2500 || (m < 100 && n < 30000) || m < 6) {
  ------------------
  |  Branch (800:13): [True: 0, False: 0]
  |  Branch (800:26): [True: 0, False: 0]
  |  Branch (800:37): [True: 0, False: 0]
  |  Branch (800:51): [True: 0, False: 0]
  ------------------
  801|      0|            return STRINGLIB(default_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             asciilib_##F
  ------------------
  802|      0|        }
  803|      0|        else if ((m >> 2) * 3 < (n >> 2)) {
  ------------------
  |  Branch (803:18): [True: 0, False: 0]
  ------------------
  804|       |            /* 33% threshold, but don't overflow. */
  805|       |            /* For larger problems where the needle isn't a huge
  806|       |               percentage of the size of the haystack, the relatively
  807|       |               expensive O(m) startup cost of the two-way algorithm
  808|       |               will surely pay off. */
  809|      0|            if (mode == FAST_SEARCH) {
  ------------------
  |  |   25|      0|#define FAST_SEARCH 1
  ------------------
  |  Branch (809:17): [True: 0, False: 0]
  ------------------
  810|      0|                return STRINGLIB(_two_way_find)(s, n, p, m);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             asciilib_##F
  ------------------
  811|      0|            }
  812|      0|            else {
  813|      0|                return STRINGLIB(_two_way_count)(s, n, p, m, maxcount);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             asciilib_##F
  ------------------
  814|      0|            }
  815|      0|        }
  816|      0|        else {
  817|       |            /* To ensure that we have good worst-case behavior,
  818|       |               here's an adaptive version of the algorithm, where if
  819|       |               we match O(m) characters without any matches of the
  820|       |               entire needle, then we predict that the startup cost of
  821|       |               the two-way algorithm will probably be worth it. */
  822|      0|            return STRINGLIB(adaptive_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             asciilib_##F
  ------------------
  823|      0|        }
  824|      0|    }
  825|      0|    else {
  826|       |        /* FAST_RSEARCH */
  827|      0|        return STRINGLIB(default_rfind)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             asciilib_##F
  ------------------
  828|      0|    }
  829|      0|}
unicodeobject.c:asciilib_rfind_char:
  117|    337|{
  118|    337|    const STRINGLIB_CHAR *p;
  119|    337|#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|    337|    if (n > MEMRCHR_CUT_OFF) {
  ------------------
  |  |  109|    337|#  define MEMRCHR_CUT_OFF 15
  ------------------
  |  Branch (125:9): [True: 36, False: 301]
  ------------------
  126|     36|#if STRINGLIB_SIZEOF_CHAR == 1
  127|     36|        p = memrchr(s, ch, n);
  128|     36|        if (p != NULL)
  ------------------
  |  Branch (128:13): [True: 22, False: 14]
  ------------------
  129|     22|            return (p - s);
  130|     14|        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|     36|    }
  169|    301|#endif  /* HAVE_MEMRCHR */
  170|    301|    p = s + n;
  171|  2.38k|    while (p > s) {
  ------------------
  |  Branch (171:12): [True: 2.15k, False: 234]
  ------------------
  172|  2.15k|        p--;
  173|  2.15k|        if (*p == ch)
  ------------------
  |  Branch (173:13): [True: 67, False: 2.08k]
  ------------------
  174|     67|            return (p - s);
  175|  2.15k|    }
  176|    234|    return -1;
  177|    301|}
unicodeobject.c:ucs1lib_fastsearch:
  776|      8|{
  777|      8|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|     16|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 0, False: 8]
  |  Branch (777:19): [True: 0, False: 8]
  |  Branch (777:41): [True: 0, False: 0]
  ------------------
  778|      0|        return -1;
  779|      0|    }
  780|       |
  781|       |    /* look for special cases */
  782|      8|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 0, False: 8]
  ------------------
  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]);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs1lib_##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]);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs1lib_##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)             ucs1lib_##F
  ------------------
  794|      0|            }
  795|      0|            return STRINGLIB(count_char)(s, n, p[0], maxcount);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  796|      0|        }
  797|      0|    }
  798|       |
  799|      8|    if (mode != FAST_RSEARCH) {
  ------------------
  |  |   26|      8|#define FAST_RSEARCH 2
  ------------------
  |  Branch (799:9): [True: 8, False: 0]
  ------------------
  800|      8|        if (n < 2500 || (m < 100 && n < 30000) || m < 6) {
  ------------------
  |  Branch (800:13): [True: 8, False: 0]
  |  Branch (800:26): [True: 0, False: 0]
  |  Branch (800:37): [True: 0, False: 0]
  |  Branch (800:51): [True: 0, False: 0]
  ------------------
  801|      8|            return STRINGLIB(default_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|      8|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  802|      8|        }
  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|      8|    }
  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|      8|}
unicodeobject.c:ucs1lib_default_find:
  560|      8|{
  561|      8|    const Py_ssize_t w = n - m;
  562|      8|    Py_ssize_t mlast = m - 1, count = 0;
  563|      8|    Py_ssize_t gap = mlast;
  564|      8|    const STRINGLIB_CHAR last = p[mlast];
  565|      8|    const STRINGLIB_CHAR *const ss = &s[mlast];
  566|       |
  567|      8|    unsigned long mask = 0;
  568|     16|    for (Py_ssize_t i = 0; i < mlast; i++) {
  ------------------
  |  Branch (568:28): [True: 8, False: 8]
  ------------------
  569|      8|        STRINGLIB_BLOOM_ADD(mask, p[i]);
  ------------------
  |  |   39|      8|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|      8|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  570|      8|        if (p[i] == last) {
  ------------------
  |  Branch (570:13): [True: 0, False: 8]
  ------------------
  571|      0|            gap = mlast - i - 1;
  572|      0|        }
  573|      8|    }
  574|      8|    STRINGLIB_BLOOM_ADD(mask, last);
  ------------------
  |  |   39|      8|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|      8|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  575|       |
  576|     16|    for (Py_ssize_t i = 0; i <= w; i++) {
  ------------------
  |  Branch (576:28): [True: 8, False: 8]
  ------------------
  577|      8|        if (ss[i] == last) {
  ------------------
  |  Branch (577:13): [True: 0, False: 8]
  ------------------
  578|       |            /* candidate match */
  579|      0|            Py_ssize_t j;
  580|      0|            for (j = 0; j < mlast; j++) {
  ------------------
  |  Branch (580:25): [True: 0, False: 0]
  ------------------
  581|      0|                if (s[i+j] != p[j]) {
  ------------------
  |  Branch (581:21): [True: 0, False: 0]
  ------------------
  582|      0|                    break;
  583|      0|                }
  584|      0|            }
  585|      0|            if (j == mlast) {
  ------------------
  |  Branch (585:17): [True: 0, False: 0]
  ------------------
  586|       |                /* got a match! */
  587|      0|                if (mode != FAST_COUNT) {
  ------------------
  |  |   24|      0|#define FAST_COUNT 0
  ------------------
  |  Branch (587:21): [True: 0, False: 0]
  ------------------
  588|      0|                    return i;
  589|      0|                }
  590|      0|                count++;
  591|      0|                if (count == maxcount) {
  ------------------
  |  Branch (591:21): [True: 0, False: 0]
  ------------------
  592|      0|                    return maxcount;
  593|      0|                }
  594|      0|                i = i + mlast;
  595|      0|                continue;
  596|      0|            }
  597|       |            /* miss: check if next character is part of pattern */
  598|      0|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|      0|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|      0|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (598:17): [True: 0, False: 0]
  |  Branch (598:31): [True: 0, False: 0]
  ------------------
  599|      0|                i = i + m;
  600|      0|            }
  601|      0|            else {
  602|      0|                i = i + gap;
  603|      0|            }
  604|      0|        }
  605|      8|        else {
  606|       |            /* skip: check if next character is part of pattern */
  607|      8|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|      8|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|      8|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (607:17): [True: 8, False: 0]
  |  Branch (607:31): [True: 8, False: 0]
  ------------------
  608|      8|                i = i + m;
  609|      8|            }
  610|      8|        }
  611|      8|    }
  612|      8|    return mode == FAST_COUNT ? count : -1;
  ------------------
  |  |   24|      8|#define FAST_COUNT 0
  ------------------
  |  Branch (612:12): [True: 0, False: 8]
  ------------------
  613|      8|}
bytes_methods.c:stringlib_find_char:
   51|     28|{
   52|     28|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|     28|    p = s;
   55|     28|    e = s + n;
   56|     28|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|     28|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 28, False: 0]
  ------------------
   57|     28|#ifdef STRINGLIB_FAST_MEMCHR
   58|     28|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |  384|     28|#define STRINGLIB_FAST_MEMCHR memchr
  ------------------
   59|     28|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 25, False: 3]
  ------------------
   60|     25|            return (p - s);
   61|      3|        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|     28|    }
   98|      0|    while (p < e) {
  ------------------
  |  Branch (98:12): [True: 0, False: 0]
  ------------------
   99|      0|        if (*p == ch)
  ------------------
  |  Branch (99:13): [True: 0, False: 0]
  ------------------
  100|      0|            return (p - s);
  101|      0|        p++;
  102|      0|    }
  103|      0|    return -1;
  104|      0|}

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

unicode_writer.c:ucs1lib_find_max_char:
   63|    423|{
   64|    423|    const unsigned char *p = (const unsigned char *)begin;
   65|    423|    const unsigned char *_end = (const unsigned char *)end;
   66|    423|    size_t value = 0;
   67|       |
   68|    423|    if (p + SIZEOF_SIZE_T <= _end) {
  ------------------
  |  | 1813|    423|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (68:9): [True: 214, False: 209]
  ------------------
   69|    214|        if (!_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  257|    214|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (69:13): [True: 173, False: 41]
  ------------------
   70|    173|#if STRINGLIB_SIZEOF_CHAR == 1
   71|    173|            if (!_Py_IS_ALIGNED(p, sizeof(uint16_t))) {
  ------------------
  |  |  257|    173|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (71:17): [True: 70, False: 103]
  ------------------
   72|     70|                value |= *p++;
   73|     70|            }
   74|    173|#endif
   75|    173|#if STRINGLIB_SIZEOF_CHAR <= 2
   76|    173|            if (!_Py_IS_ALIGNED(p, sizeof(uint32_t))) {
  ------------------
  |  |  257|    173|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (76:17): [True: 79, False: 94]
  ------------------
   77|     79|                value |= *(const uint16_t *)p;
   78|     79|                p += sizeof(uint16_t);
   79|     79|            }
   80|    173|#endif
   81|    173|#if SIZEOF_SIZE_T == 8
   82|    173|            if (!_Py_IS_ALIGNED(p, SIZEOF_SIZE_T)) {
  ------------------
  |  |  257|    173|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (82:17): [True: 88, False: 85]
  ------------------
   83|     88|                value |= *(const uint32_t *)p;
   84|     88|                p += sizeof(uint32_t);
   85|     88|            }
   86|    173|#endif
   87|    173|            if (value & MASK_MAX_CHAR) {
  ------------------
  |  |   23|    173|#  define MASK_MAX_CHAR MASK_ASCII
  |  |  ------------------
  |  |  |  |   17|    173|#    define MASK_ASCII 0x8080808080808080ULL
  |  |  ------------------
  ------------------
  |  Branch (87:17): [True: 0, False: 173]
  ------------------
   88|      0|                return MAX_CHAR;
  ------------------
  |  |   24|      0|#  define MAX_CHAR MAX_CHAR_UCS1
  |  |  ------------------
  |  |  |  |    9|      0|#define MAX_CHAR_UCS1  0xff
  |  |  ------------------
  ------------------
   89|      0|            }
   90|    173|            assert(_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T));
  ------------------
  |  Branch (90:13): [True: 173, False: 0]
  ------------------
   91|    173|        }
   92|       |
   93|    214|        for (; p + SIZEOF_SIZE_T * 16 <= _end; p += SIZEOF_SIZE_T * 16) {
  ------------------
  |  | 1813|    214|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; p + SIZEOF_SIZE_T * 16 <= _end; p += SIZEOF_SIZE_T * 16) {
  ------------------
  |  | 1813|      0|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (93:16): [True: 0, False: 214]
  ------------------
   94|       |            /* Four independent accumulators so the loop does not serialize on
   95|       |               one register when the compiler does not vectorize it. */
   96|      0|            size_t v0 = 0, v1 = 0, v2 = 0, v3 = 0;
   97|      0|            for (int i = 0; i < 16 * SIZEOF_SIZE_T; i += 4 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|      0|#define SIZEOF_SIZE_T 8
  ------------------
                          for (int i = 0; i < 16 * SIZEOF_SIZE_T; i += 4 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|      0|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (97:29): [True: 0, False: 0]
  ------------------
   98|      0|                const size_t *w = (const size_t *)(p + i);
   99|      0|                v0 |= w[0];
  100|      0|                v1 |= w[1];
  101|      0|                v2 |= w[2];
  102|      0|                v3 |= w[3];
  103|      0|            }
  104|      0|            size_t block = v0 | v1 | v2 | v3;
  105|      0|            if (block & MASK_MAX_CHAR) {
  ------------------
  |  |   23|      0|#  define MASK_MAX_CHAR MASK_ASCII
  |  |  ------------------
  |  |  |  |   17|      0|#    define MASK_ASCII 0x8080808080808080ULL
  |  |  ------------------
  ------------------
  |  Branch (105:17): [True: 0, False: 0]
  ------------------
  106|      0|                return MAX_CHAR;
  ------------------
  |  |   24|      0|#  define MAX_CHAR MAX_CHAR_UCS1
  |  |  ------------------
  |  |  |  |    9|      0|#define MAX_CHAR_UCS1  0xff
  |  |  ------------------
  ------------------
  107|      0|            }
  108|      0|            value |= block;
  109|      0|        }
  110|       |
  111|  1.13k|        for (; p + SIZEOF_SIZE_T <= _end; p += SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|  1.13k|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; p + SIZEOF_SIZE_T <= _end; p += SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|    919|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (111:16): [True: 919, False: 214]
  ------------------
  112|    919|            value |= *(const size_t *)p;
  113|    919|        }
  114|    214|    }
  115|       |
  116|       |    /* Fewer than SIZEOF_SIZE_T bytes are left. Read them as two overlapping
  117|       |       pieces, one from each end. OR does not mind seeing a byte twice. */
  118|    423|    if (p < _end) {
  ------------------
  |  Branch (118:9): [True: 416, False: 7]
  ------------------
  119|    416|        size_t n = (size_t)(_end - p);
  120|    416|        if (n >= 4) {
  ------------------
  |  Branch (120:13): [True: 140, False: 276]
  ------------------
  121|    140|            uint32_t a, b;
  122|    140|            memcpy(&a, p, 4);
  123|    140|            memcpy(&b, _end - 4, 4);
  124|    140|            value |= a | b;
  125|    140|        }
  126|    276|#if STRINGLIB_SIZEOF_CHAR <= 2
  127|    276|        else if (n >= 2) {
  ------------------
  |  Branch (127:18): [True: 164, False: 112]
  ------------------
  128|    164|            uint16_t a, b;
  129|    164|            memcpy(&a, p, 2);
  130|    164|            memcpy(&b, _end - 2, 2);
  131|    164|            value |= a | b;
  132|    164|        }
  133|    112|#endif
  134|    112|#if STRINGLIB_SIZEOF_CHAR == 1
  135|    112|        else {
  136|    112|            value |= *p;
  137|    112|        }
  138|    416|#endif
  139|    416|    }
  140|       |
  141|       |#ifdef MASK_UCS2
  142|       |    if (value & MASK_UCS2) {
  143|       |        return MAX_CHAR_UCS4;
  144|       |    }
  145|       |#endif
  146|       |#ifdef MASK_UCS1
  147|       |    if (value & MASK_UCS1) {
  148|       |        return MAX_CHAR_UCS2;
  149|       |    }
  150|       |#endif
  151|    423|    if (value & MASK_ASCII) {
  ------------------
  |  |   17|    423|#    define MASK_ASCII 0x8080808080808080ULL
  ------------------
  |  Branch (151:9): [True: 0, False: 423]
  ------------------
  152|      0|        return MAX_CHAR_UCS1;
  ------------------
  |  |    9|      0|#define MAX_CHAR_UCS1  0xff
  ------------------
  153|      0|    }
  154|    423|    return MAX_CHAR_ASCII;
  ------------------
  |  |    8|    423|#define MAX_CHAR_ASCII 0x7f
  ------------------
  155|    423|}
unicodeobject.c:ucs4lib_find_max_char:
   63|      9|{
   64|      9|    const unsigned char *p = (const unsigned char *)begin;
   65|      9|    const unsigned char *_end = (const unsigned char *)end;
   66|      9|    size_t value = 0;
   67|       |
   68|      9|    if (p + SIZEOF_SIZE_T <= _end) {
  ------------------
  |  | 1813|      9|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (68:9): [True: 9, False: 0]
  ------------------
   69|      9|        if (!_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  257|      9|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (69:13): [True: 0, False: 9]
  ------------------
   70|       |#if STRINGLIB_SIZEOF_CHAR == 1
   71|       |            if (!_Py_IS_ALIGNED(p, sizeof(uint16_t))) {
   72|       |                value |= *p++;
   73|       |            }
   74|       |#endif
   75|       |#if STRINGLIB_SIZEOF_CHAR <= 2
   76|       |            if (!_Py_IS_ALIGNED(p, sizeof(uint32_t))) {
   77|       |                value |= *(const uint16_t *)p;
   78|       |                p += sizeof(uint16_t);
   79|       |            }
   80|       |#endif
   81|      0|#if SIZEOF_SIZE_T == 8
   82|      0|            if (!_Py_IS_ALIGNED(p, SIZEOF_SIZE_T)) {
  ------------------
  |  |  257|      0|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (82:17): [True: 0, False: 0]
  ------------------
   83|      0|                value |= *(const uint32_t *)p;
   84|      0|                p += sizeof(uint32_t);
   85|      0|            }
   86|      0|#endif
   87|      0|            if (value & MASK_MAX_CHAR) {
  ------------------
  |  |   49|      0|#  define MASK_MAX_CHAR MASK_UCS2
  |  |  ------------------
  |  |  |  |   41|      0|#    define MASK_UCS2 0xFFFF0000FFFF0000ULL
  |  |  ------------------
  ------------------
  |  Branch (87:17): [True: 0, False: 0]
  ------------------
   88|      0|                return MAX_CHAR;
  ------------------
  |  |   50|      0|#  define MAX_CHAR MAX_CHAR_UCS4
  |  |  ------------------
  |  |  |  |   11|      0|#define MAX_CHAR_UCS4  0x10ffff
  |  |  ------------------
  ------------------
   89|      0|            }
   90|      0|            assert(_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T));
  ------------------
  |  Branch (90:13): [True: 0, False: 0]
  ------------------
   91|      0|        }
   92|       |
   93|   104k|        for (; p + SIZEOF_SIZE_T * 16 <= _end; p += SIZEOF_SIZE_T * 16) {
  ------------------
  |  | 1813|   104k|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; p + SIZEOF_SIZE_T * 16 <= _end; p += SIZEOF_SIZE_T * 16) {
  ------------------
  |  | 1813|   104k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (93:16): [True: 104k, False: 5]
  ------------------
   94|       |            /* Four independent accumulators so the loop does not serialize on
   95|       |               one register when the compiler does not vectorize it. */
   96|   104k|            size_t v0 = 0, v1 = 0, v2 = 0, v3 = 0;
   97|   522k|            for (int i = 0; i < 16 * SIZEOF_SIZE_T; i += 4 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   522k|#define SIZEOF_SIZE_T 8
  ------------------
                          for (int i = 0; i < 16 * SIZEOF_SIZE_T; i += 4 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   418k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (97:29): [True: 418k, False: 104k]
  ------------------
   98|   418k|                const size_t *w = (const size_t *)(p + i);
   99|   418k|                v0 |= w[0];
  100|   418k|                v1 |= w[1];
  101|   418k|                v2 |= w[2];
  102|   418k|                v3 |= w[3];
  103|   418k|            }
  104|   104k|            size_t block = v0 | v1 | v2 | v3;
  105|   104k|            if (block & MASK_MAX_CHAR) {
  ------------------
  |  |   49|   104k|#  define MASK_MAX_CHAR MASK_UCS2
  |  |  ------------------
  |  |  |  |   41|   104k|#    define MASK_UCS2 0xFFFF0000FFFF0000ULL
  |  |  ------------------
  ------------------
  |  Branch (105:17): [True: 4, False: 104k]
  ------------------
  106|      4|                return MAX_CHAR;
  ------------------
  |  |   50|      4|#  define MAX_CHAR MAX_CHAR_UCS4
  |  |  ------------------
  |  |  |  |   11|      4|#define MAX_CHAR_UCS4  0x10ffff
  |  |  ------------------
  ------------------
  107|      4|            }
  108|   104k|            value |= block;
  109|   104k|        }
  110|       |
  111|     53|        for (; p + SIZEOF_SIZE_T <= _end; p += SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|     53|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; p + SIZEOF_SIZE_T <= _end; p += SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|     48|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (111:16): [True: 48, False: 5]
  ------------------
  112|     48|            value |= *(const size_t *)p;
  113|     48|        }
  114|      5|    }
  115|       |
  116|       |    /* Fewer than SIZEOF_SIZE_T bytes are left. Read them as two overlapping
  117|       |       pieces, one from each end. OR does not mind seeing a byte twice. */
  118|      5|    if (p < _end) {
  ------------------
  |  Branch (118:9): [True: 2, False: 3]
  ------------------
  119|      2|        size_t n = (size_t)(_end - p);
  120|      2|        if (n >= 4) {
  ------------------
  |  Branch (120:13): [True: 2, False: 0]
  ------------------
  121|      2|            uint32_t a, b;
  122|      2|            memcpy(&a, p, 4);
  123|      2|            memcpy(&b, _end - 4, 4);
  124|      2|            value |= a | b;
  125|      2|        }
  126|       |#if STRINGLIB_SIZEOF_CHAR <= 2
  127|       |        else if (n >= 2) {
  128|       |            uint16_t a, b;
  129|       |            memcpy(&a, p, 2);
  130|       |            memcpy(&b, _end - 2, 2);
  131|       |            value |= a | b;
  132|       |        }
  133|       |#endif
  134|       |#if STRINGLIB_SIZEOF_CHAR == 1
  135|       |        else {
  136|       |            value |= *p;
  137|       |        }
  138|       |#endif
  139|      2|    }
  140|       |
  141|      5|#ifdef MASK_UCS2
  142|      5|    if (value & MASK_UCS2) {
  ------------------
  |  |   41|      5|#    define MASK_UCS2 0xFFFF0000FFFF0000ULL
  ------------------
  |  Branch (142:9): [True: 1, False: 4]
  ------------------
  143|      1|        return MAX_CHAR_UCS4;
  ------------------
  |  |   11|      1|#define MAX_CHAR_UCS4  0x10ffff
  ------------------
  144|      1|    }
  145|      4|#endif
  146|      4|#ifdef MASK_UCS1
  147|      4|    if (value & MASK_UCS1) {
  ------------------
  |  |   40|      4|#    define MASK_UCS1 0xFFFFFF00FFFFFF00ULL
  ------------------
  |  Branch (147:9): [True: 4, False: 0]
  ------------------
  148|      4|        return MAX_CHAR_UCS2;
  ------------------
  |  |   10|      4|#define MAX_CHAR_UCS2  0xffff
  ------------------
  149|      4|    }
  150|      0|#endif
  151|      0|    if (value & MASK_ASCII) {
  ------------------
  |  |   39|      0|#    define MASK_ASCII 0xFFFFFF80FFFFFF80ULL
  ------------------
  |  Branch (151:9): [True: 0, False: 0]
  ------------------
  152|      0|        return MAX_CHAR_UCS1;
  ------------------
  |  |    9|      0|#define MAX_CHAR_UCS1  0xff
  ------------------
  153|      0|    }
  154|      0|    return MAX_CHAR_ASCII;
  ------------------
  |  |    8|      0|#define MAX_CHAR_ASCII 0x7f
  ------------------
  155|      0|}
unicodeobject.c:ucs1lib_find_max_char:
   63|  14.3k|{
   64|  14.3k|    const unsigned char *p = (const unsigned char *)begin;
   65|  14.3k|    const unsigned char *_end = (const unsigned char *)end;
   66|  14.3k|    size_t value = 0;
   67|       |
   68|  14.3k|    if (p + SIZEOF_SIZE_T <= _end) {
  ------------------
  |  | 1813|  14.3k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (68:9): [True: 9.33k, False: 5.03k]
  ------------------
   69|  9.33k|        if (!_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  257|  9.33k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (69:13): [True: 8.18k, False: 1.15k]
  ------------------
   70|  8.18k|#if STRINGLIB_SIZEOF_CHAR == 1
   71|  8.18k|            if (!_Py_IS_ALIGNED(p, sizeof(uint16_t))) {
  ------------------
  |  |  257|  8.18k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (71:17): [True: 4.70k, False: 3.48k]
  ------------------
   72|  4.70k|                value |= *p++;
   73|  4.70k|            }
   74|  8.18k|#endif
   75|  8.18k|#if STRINGLIB_SIZEOF_CHAR <= 2
   76|  8.18k|            if (!_Py_IS_ALIGNED(p, sizeof(uint32_t))) {
  ------------------
  |  |  257|  8.18k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (76:17): [True: 4.74k, False: 3.44k]
  ------------------
   77|  4.74k|                value |= *(const uint16_t *)p;
   78|  4.74k|                p += sizeof(uint16_t);
   79|  4.74k|            }
   80|  8.18k|#endif
   81|  8.18k|#if SIZEOF_SIZE_T == 8
   82|  8.18k|            if (!_Py_IS_ALIGNED(p, SIZEOF_SIZE_T)) {
  ------------------
  |  |  257|  8.18k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (82:17): [True: 4.67k, False: 3.50k]
  ------------------
   83|  4.67k|                value |= *(const uint32_t *)p;
   84|  4.67k|                p += sizeof(uint32_t);
   85|  4.67k|            }
   86|  8.18k|#endif
   87|  8.18k|            if (value & MASK_MAX_CHAR) {
  ------------------
  |  |   23|  8.18k|#  define MASK_MAX_CHAR MASK_ASCII
  |  |  ------------------
  |  |  |  |   17|  8.18k|#    define MASK_ASCII 0x8080808080808080ULL
  |  |  ------------------
  ------------------
  |  Branch (87:17): [True: 0, False: 8.18k]
  ------------------
   88|      0|                return MAX_CHAR;
  ------------------
  |  |   24|      0|#  define MAX_CHAR MAX_CHAR_UCS1
  |  |  ------------------
  |  |  |  |    9|      0|#define MAX_CHAR_UCS1  0xff
  |  |  ------------------
  ------------------
   89|      0|            }
   90|  8.18k|            assert(_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T));
  ------------------
  |  Branch (90:13): [True: 8.18k, False: 0]
  ------------------
   91|  8.18k|        }
   92|       |
   93|  10.3k|        for (; p + SIZEOF_SIZE_T * 16 <= _end; p += SIZEOF_SIZE_T * 16) {
  ------------------
  |  | 1813|  10.3k|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; p + SIZEOF_SIZE_T * 16 <= _end; p += SIZEOF_SIZE_T * 16) {
  ------------------
  |  | 1813|  1.04k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (93:16): [True: 1.04k, False: 9.33k]
  ------------------
   94|       |            /* Four independent accumulators so the loop does not serialize on
   95|       |               one register when the compiler does not vectorize it. */
   96|  1.04k|            size_t v0 = 0, v1 = 0, v2 = 0, v3 = 0;
   97|  5.21k|            for (int i = 0; i < 16 * SIZEOF_SIZE_T; i += 4 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|  5.21k|#define SIZEOF_SIZE_T 8
  ------------------
                          for (int i = 0; i < 16 * SIZEOF_SIZE_T; i += 4 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|  4.16k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (97:29): [True: 4.16k, False: 1.04k]
  ------------------
   98|  4.16k|                const size_t *w = (const size_t *)(p + i);
   99|  4.16k|                v0 |= w[0];
  100|  4.16k|                v1 |= w[1];
  101|  4.16k|                v2 |= w[2];
  102|  4.16k|                v3 |= w[3];
  103|  4.16k|            }
  104|  1.04k|            size_t block = v0 | v1 | v2 | v3;
  105|  1.04k|            if (block & MASK_MAX_CHAR) {
  ------------------
  |  |   23|  1.04k|#  define MASK_MAX_CHAR MASK_ASCII
  |  |  ------------------
  |  |  |  |   17|  1.04k|#    define MASK_ASCII 0x8080808080808080ULL
  |  |  ------------------
  ------------------
  |  Branch (105:17): [True: 0, False: 1.04k]
  ------------------
  106|      0|                return MAX_CHAR;
  ------------------
  |  |   24|      0|#  define MAX_CHAR MAX_CHAR_UCS1
  |  |  ------------------
  |  |  |  |    9|      0|#define MAX_CHAR_UCS1  0xff
  |  |  ------------------
  ------------------
  107|      0|            }
  108|  1.04k|            value |= block;
  109|  1.04k|        }
  110|       |
  111|  26.3k|        for (; p + SIZEOF_SIZE_T <= _end; p += SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|  26.3k|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; p + SIZEOF_SIZE_T <= _end; p += SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|  17.0k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (111:16): [True: 17.0k, False: 9.33k]
  ------------------
  112|  17.0k|            value |= *(const size_t *)p;
  113|  17.0k|        }
  114|  9.33k|    }
  115|       |
  116|       |    /* Fewer than SIZEOF_SIZE_T bytes are left. Read them as two overlapping
  117|       |       pieces, one from each end. OR does not mind seeing a byte twice. */
  118|  14.3k|    if (p < _end) {
  ------------------
  |  Branch (118:9): [True: 13.2k, False: 1.08k]
  ------------------
  119|  13.2k|        size_t n = (size_t)(_end - p);
  120|  13.2k|        if (n >= 4) {
  ------------------
  |  Branch (120:13): [True: 8.70k, False: 4.58k]
  ------------------
  121|  8.70k|            uint32_t a, b;
  122|  8.70k|            memcpy(&a, p, 4);
  123|  8.70k|            memcpy(&b, _end - 4, 4);
  124|  8.70k|            value |= a | b;
  125|  8.70k|        }
  126|  4.58k|#if STRINGLIB_SIZEOF_CHAR <= 2
  127|  4.58k|        else if (n >= 2) {
  ------------------
  |  Branch (127:18): [True: 3.43k, False: 1.15k]
  ------------------
  128|  3.43k|            uint16_t a, b;
  129|  3.43k|            memcpy(&a, p, 2);
  130|  3.43k|            memcpy(&b, _end - 2, 2);
  131|  3.43k|            value |= a | b;
  132|  3.43k|        }
  133|  1.15k|#endif
  134|  1.15k|#if STRINGLIB_SIZEOF_CHAR == 1
  135|  1.15k|        else {
  136|  1.15k|            value |= *p;
  137|  1.15k|        }
  138|  13.2k|#endif
  139|  13.2k|    }
  140|       |
  141|       |#ifdef MASK_UCS2
  142|       |    if (value & MASK_UCS2) {
  143|       |        return MAX_CHAR_UCS4;
  144|       |    }
  145|       |#endif
  146|       |#ifdef MASK_UCS1
  147|       |    if (value & MASK_UCS1) {
  148|       |        return MAX_CHAR_UCS2;
  149|       |    }
  150|       |#endif
  151|  14.3k|    if (value & MASK_ASCII) {
  ------------------
  |  |   17|  14.3k|#    define MASK_ASCII 0x8080808080808080ULL
  ------------------
  |  Branch (151:9): [True: 0, False: 14.3k]
  ------------------
  152|      0|        return MAX_CHAR_UCS1;
  ------------------
  |  |    9|      0|#define MAX_CHAR_UCS1  0xff
  ------------------
  153|      0|    }
  154|  14.3k|    return MAX_CHAR_ASCII;
  ------------------
  |  |    8|  14.3k|#define MAX_CHAR_ASCII 0x7f
  ------------------
  155|  14.3k|}

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

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

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

unicodeobject.c:asciilib_split_whitespace:
   51|      1|{
   52|      1|    Py_ssize_t i, j, count=0;
   53|      1|    PyObject *list = PyList_New(PREALLOC_SIZE(maxcount));
  ------------------
  |  |   20|      1|    (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   16|      2|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |                   (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   16|      1|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (20:6): [True: 1, False: 0]
  |  |  ------------------
  ------------------
   54|      1|    PyObject *sub;
   55|       |
   56|      1|    if (list == NULL)
  ------------------
  |  Branch (56:9): [True: 0, False: 1]
  ------------------
   57|      0|        return NULL;
   58|       |
   59|      1|    i = j = 0;
   60|      6|    while (maxcount-- > 0) {
  ------------------
  |  Branch (60:12): [True: 6, False: 0]
  ------------------
   61|     10|        while (i < str_len && STRINGLIB_ISSPACE(str[i]))
  ------------------
  |  |   14|      9|#define STRINGLIB_ISSPACE        Py_UNICODE_ISSPACE
  ------------------
  |  Branch (61:16): [True: 9, False: 1]
  |  Branch (61:31): [True: 4, False: 5]
  ------------------
   62|      4|            i++;
   63|      6|        if (i == str_len) break;
  ------------------
  |  Branch (63:13): [True: 1, False: 5]
  ------------------
   64|      5|        j = i; i++;
   65|     22|        while (i < str_len && !STRINGLIB_ISSPACE(str[i]))
  ------------------
  |  |   14|     21|#define STRINGLIB_ISSPACE        Py_UNICODE_ISSPACE
  ------------------
  |  Branch (65:16): [True: 21, False: 1]
  |  Branch (65:31): [True: 17, False: 4]
  ------------------
   66|     17|            i++;
   67|      5|#if !STRINGLIB_MUTABLE
   68|      5|        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 (68:13): [True: 1, False: 4]
  |  Branch (68:23): [True: 0, False: 1]
  ------------------
   69|       |            /* No whitespace in str_obj, so just use it as list[0] */
   70|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   71|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   72|      0|            count++;
   73|      0|            break;
   74|      0|        }
   75|      5|#endif
   76|     15|        SPLIT_ADD(str, j, i);
  ------------------
  |  |   30|      5|#define SPLIT_ADD(data, left, right) {          \
  |  |   31|      5|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|      5|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   32|      5|                        (right) - (left));      \
  |  |   33|      5|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (33:9): [True: 0, False: 5]
  |  |  ------------------
  |  |   34|      5|        goto onError;                           \
  |  |   35|      5|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   16|      5|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 5, False: 0]
  |  |  ------------------
  |  |   36|      5|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|      5|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   37|      5|    } else {                                    \
  |  |   38|      0|        if (_PyList_AppendTakeRef((PyListObject *)list, sub)) \
  |  |  ------------------
  |  |  |  Branch (38:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   39|      0|            goto onError;                       \
  |  |   40|      0|    }                                           \
  |  |   41|      5|    count++; }
  ------------------
   77|     15|    }
   78|       |
   79|      1|    if (i < str_len) {
  ------------------
  |  Branch (79:9): [True: 0, False: 1]
  ------------------
   80|       |        /* Only occurs when maxcount was reached */
   81|       |        /* Skip any remaining whitespace and copy to end of string */
   82|      0|        while (i < str_len && STRINGLIB_ISSPACE(str[i]))
  ------------------
  |  |   14|      0|#define STRINGLIB_ISSPACE        Py_UNICODE_ISSPACE
  ------------------
  |  Branch (82:16): [True: 0, False: 0]
  |  Branch (82:31): [True: 0, False: 0]
  ------------------
   83|      0|            i++;
   84|      0|        if (i != str_len)
  ------------------
  |  Branch (84:13): [True: 0, False: 0]
  ------------------
   85|      0|            SPLIT_ADD(str, i, str_len);
  ------------------
  |  |   30|      0|#define SPLIT_ADD(data, left, right) {          \
  |  |   31|      0|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|      0|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   32|      0|                        (right) - (left));      \
  |  |   33|      0|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (33:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   34|      0|        goto onError;                           \
  |  |   35|      0|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   16|      0|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   36|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   37|      0|    } else {                                    \
  |  |   38|      0|        if (_PyList_AppendTakeRef((PyListObject *)list, sub)) \
  |  |  ------------------
  |  |  |  Branch (38:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   39|      0|            goto onError;                       \
  |  |   40|      0|    }                                           \
  |  |   41|      0|    count++; }
  ------------------
   86|      0|    }
   87|      1|    FIX_PREALLOC_SIZE(list);
  ------------------
  |  |   45|      1|#define FIX_PREALLOC_SIZE(list) Py_SET_SIZE(list, count)
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   88|      1|    return list;
   89|       |
   90|      0|  onError:
   91|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   92|       |    return NULL;
   93|      1|}
unicodeobject.c:asciilib_split:
  143|     81|{
  144|     81|    Py_ssize_t i, j, pos, count=0;
  145|     81|    PyObject *list, *sub;
  146|       |
  147|     81|    if (sep_len == 0) {
  ------------------
  |  Branch (147:9): [True: 0, False: 81]
  ------------------
  148|      0|        PyErr_SetString(PyExc_ValueError, "empty separator");
  149|      0|        return NULL;
  150|      0|    }
  151|     81|    else if (sep_len == 1)
  ------------------
  |  Branch (151:14): [True: 81, False: 0]
  ------------------
  152|     81|        return STRINGLIB(split_char)(str_obj, str, str_len, sep[0], maxcount);
  ------------------
  |  |    7|     81|#define STRINGLIB(F)             asciilib_##F
  ------------------
  153|       |
  154|      0|    list = PyList_New(PREALLOC_SIZE(maxcount));
  ------------------
  |  |   20|      0|    (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   16|      0|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |                   (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   16|      0|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (20:6): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  155|      0|    if (list == NULL)
  ------------------
  |  Branch (155:9): [True: 0, False: 0]
  ------------------
  156|      0|        return NULL;
  157|       |
  158|      0|    i = j = 0;
  159|      0|    while (maxcount-- > 0) {
  ------------------
  |  Branch (159:12): [True: 0, False: 0]
  ------------------
  160|      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
  ------------------
  161|      0|        if (pos < 0)
  ------------------
  |  Branch (161:13): [True: 0, False: 0]
  ------------------
  162|      0|            break;
  163|      0|        j = i + pos;
  164|      0|        SPLIT_ADD(str, i, j);
  ------------------
  |  |   30|      0|#define SPLIT_ADD(data, left, right) {          \
  |  |   31|      0|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|      0|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   32|      0|                        (right) - (left));      \
  |  |   33|      0|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (33:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   34|      0|        goto onError;                           \
  |  |   35|      0|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   16|      0|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   36|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   37|      0|    } else {                                    \
  |  |   38|      0|        if (_PyList_AppendTakeRef((PyListObject *)list, sub)) \
  |  |  ------------------
  |  |  |  Branch (38:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   39|      0|            goto onError;                       \
  |  |   40|      0|    }                                           \
  |  |   41|      0|    count++; }
  ------------------
  165|      0|        i = j + sep_len;
  166|      0|    }
  167|      0|#if !STRINGLIB_MUTABLE
  168|      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 (168:9): [True: 0, False: 0]
  ------------------
  169|       |        /* No match in str_obj, so just use it as list[0] */
  170|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  171|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  172|      0|        count++;
  173|      0|    } else
  174|      0|#endif
  175|      0|    {
  176|      0|        SPLIT_ADD(str, i, str_len);
  ------------------
  |  |   30|      0|#define SPLIT_ADD(data, left, right) {          \
  |  |   31|      0|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|      0|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   32|      0|                        (right) - (left));      \
  |  |   33|      0|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (33:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   34|      0|        goto onError;                           \
  |  |   35|      0|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   16|      0|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   36|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   37|      0|    } else {                                    \
  |  |   38|      0|        if (_PyList_AppendTakeRef((PyListObject *)list, sub)) \
  |  |  ------------------
  |  |  |  Branch (38:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   39|      0|            goto onError;                       \
  |  |   40|      0|    }                                           \
  |  |   41|      0|    count++; }
  ------------------
  177|      0|    }
  178|      0|    FIX_PREALLOC_SIZE(list);
  ------------------
  |  |   45|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  179|      0|    return list;
  180|       |
  181|      0|  onError:
  182|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  183|       |    return NULL;
  184|      0|}
unicodeobject.c:asciilib_split_char:
  100|     81|{
  101|     81|    Py_ssize_t i, j, count=0;
  102|     81|    PyObject *list = PyList_New(PREALLOC_SIZE(maxcount));
  ------------------
  |  |   20|     81|    (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   16|    162|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |                   (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   16|     27|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (20:6): [True: 27, False: 54]
  |  |  ------------------
  ------------------
  103|     81|    PyObject *sub;
  104|       |
  105|     81|    if (list == NULL)
  ------------------
  |  Branch (105:9): [True: 0, False: 81]
  ------------------
  106|      0|        return NULL;
  107|       |
  108|     81|    i = j = 0;
  109|    173|    while ((j < str_len) && (maxcount-- > 0)) {
  ------------------
  |  Branch (109:12): [True: 92, False: 81]
  |  Branch (109:29): [True: 92, False: 0]
  ------------------
  110|    799|        for(; j < str_len; j++) {
  ------------------
  |  Branch (110:15): [True: 718, False: 81]
  ------------------
  111|       |            /* I found that using memchr makes no difference */
  112|    718|            if (str[j] == ch) {
  ------------------
  |  Branch (112:17): [True: 11, False: 707]
  ------------------
  113|     11|                SPLIT_ADD(str, i, j);
  ------------------
  |  |   30|     11|#define SPLIT_ADD(data, left, right) {          \
  |  |   31|     11|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|     11|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   32|     11|                        (right) - (left));      \
  |  |   33|     11|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (33:9): [True: 0, False: 11]
  |  |  ------------------
  |  |   34|     11|        goto onError;                           \
  |  |   35|     11|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   16|     11|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 11, False: 0]
  |  |  ------------------
  |  |   36|     11|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|     11|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   37|     11|    } else {                                    \
  |  |   38|      0|        if (_PyList_AppendTakeRef((PyListObject *)list, sub)) \
  |  |  ------------------
  |  |  |  Branch (38:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   39|      0|            goto onError;                       \
  |  |   40|      0|    }                                           \
  |  |   41|     11|    count++; }
  ------------------
  114|     11|                i = j = j + 1;
  115|     11|                break;
  116|     11|            }
  117|    718|        }
  118|     92|    }
  119|     81|#if !STRINGLIB_MUTABLE
  120|     81|    if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) {
  ------------------
  |  |   22|     70|#define STRINGLIB_CHECK_EXACT    PyUnicode_CheckExact
  |  |  ------------------
  |  |  |  |  104|     70|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     70|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 70, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (120:9): [True: 70, False: 11]
  ------------------
  121|       |        /* ch not in str_obj, so just use str_obj as list[0] */
  122|     70|        Py_INCREF(str_obj);
  ------------------
  |  |  310|     70|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  123|     70|        PyList_SET_ITEM(list, 0, (PyObject *)str_obj);
  ------------------
  |  |   50|     70|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  124|     70|        count++;
  125|     70|    } else
  126|     11|#endif
  127|     11|    if (i <= str_len) {
  ------------------
  |  Branch (127:9): [True: 11, False: 0]
  ------------------
  128|     22|        SPLIT_ADD(str, i, str_len);
  ------------------
  |  |   30|     11|#define SPLIT_ADD(data, left, right) {          \
  |  |   31|     11|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|     11|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   32|     11|                        (right) - (left));      \
  |  |   33|     11|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (33:9): [True: 0, False: 11]
  |  |  ------------------
  |  |   34|     11|        goto onError;                           \
  |  |   35|     11|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   16|     11|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 11, False: 0]
  |  |  ------------------
  |  |   36|     11|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|     11|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   37|     11|    } else {                                    \
  |  |   38|      0|        if (_PyList_AppendTakeRef((PyListObject *)list, sub)) \
  |  |  ------------------
  |  |  |  Branch (38:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   39|      0|            goto onError;                       \
  |  |   40|      0|    }                                           \
  |  |   41|     11|    count++; }
  ------------------
  129|     22|    }
  130|     81|    FIX_PREALLOC_SIZE(list);
  ------------------
  |  |   45|     81|#define FIX_PREALLOC_SIZE(list) Py_SET_SIZE(list, count)
  |  |  ------------------
  |  |  |  |  216|     81|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  182|     81|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  131|     81|    return list;
  132|       |
  133|      0|  onError:
  134|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  135|       |    return NULL;
  136|     81|}

bytesobject.c:return_self:
   17|     34|{
   18|     34|#if !STRINGLIB_MUTABLE
   19|     34|    if (STRINGLIB_CHECK_EXACT(self)) {
  ------------------
  |  |   24|     34|#define STRINGLIB_CHECK_EXACT    PyBytes_CheckExact
  |  |  ------------------
  |  |  |  |   29|     34|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     34|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 34, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|     34|        return Py_NewRef(self);
  ------------------
  |  |  647|     34|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|     34|    }
   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|     34|}
bytesobject.c:stringlib_replace:
  682|     34|{
  683|     34|    if (STRINGLIB_LEN(self) < from_len) {
  ------------------
  |  |   21|     34|#define STRINGLIB_LEN            PyBytes_GET_SIZE
  |  |  ------------------
  |  |  |  |   33|     34|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (683:9): [True: 0, False: 34]
  ------------------
  684|       |        /* nothing to do; return the original bytes */
  685|      0|        return return_self(self);
  686|      0|    }
  687|     34|    if (maxcount < 0) {
  ------------------
  |  Branch (687:9): [True: 34, False: 0]
  ------------------
  688|     34|        maxcount = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|     34|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  689|     34|    } 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|     34|    if (from_len == 0) {
  ------------------
  |  Branch (695:9): [True: 0, False: 34]
  ------------------
  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|     34|    if (to_len == 0) {
  ------------------
  |  Branch (706:9): [True: 0, False: 34]
  ------------------
  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|     34|    if (from_len == to_len) {
  ------------------
  |  Branch (719:9): [True: 34, False: 0]
  ------------------
  720|     34|        if (from_len == 1) {
  ------------------
  |  Branch (720:13): [True: 34, False: 0]
  ------------------
  721|     34|            return stringlib_replace_single_character_in_place(
  722|     34|                self, from_s[0], to_s[0], maxcount);
  723|     34|        } else {
  724|      0|            return stringlib_replace_substring_in_place(
  725|      0|                self, from_s, from_len, to_s, to_len, maxcount);
  726|      0|        }
  727|     34|    }
  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|     34|{
  450|     34|    const char *self_s, *end;
  451|     34|    char *result_s, *start, *next;
  452|     34|    Py_ssize_t self_len;
  453|     34|    PyObject *result;
  454|       |
  455|       |    /* The result string will be the same size */
  456|     34|    self_s = STRINGLIB_STR(self);
  ------------------
  |  |   20|     34|#define STRINGLIB_STR            PyBytes_AS_STRING
  |  |  ------------------
  |  |  |  |   27|     34|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  457|     34|    self_len = STRINGLIB_LEN(self);
  ------------------
  |  |   21|     34|#define STRINGLIB_LEN            PyBytes_GET_SIZE
  |  |  ------------------
  |  |  |  |   33|     34|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  458|       |
  459|     34|    next = findchar(self_s, self_len, from_c);
  ------------------
  |  |  254|     34|  ((char *)memchr((const void *)(target), c, target_len))
  ------------------
  460|       |
  461|     34|    if (next == NULL) {
  ------------------
  |  Branch (461:9): [True: 34, False: 0]
  ------------------
  462|       |        /* No matches; return the original bytes */
  463|     34|        return return_self(self);
  464|     34|    }
  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|    132|{
   67|    132|    PyStructSequence *obj;
   68|    132|    Py_ssize_t size = REAL_SIZE_TP(type), i;
  ------------------
  |  |   48|    132|    get_type_attr_as_size(tp, &_Py_ID(n_fields))
  |  |  ------------------
  |  |  |  |  951|    132|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    132|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    132|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   69|    132|    if (size < 0) {
  ------------------
  |  Branch (69:9): [True: 0, False: 132]
  ------------------
   70|      0|        return NULL;
   71|      0|    }
   72|    132|    Py_ssize_t vsize = VISIBLE_SIZE_TP(type);
  ------------------
  |  |   46|    132|    get_type_attr_as_size(tp, &_Py_ID(n_sequence_fields))
  |  |  ------------------
  |  |  |  |  951|    132|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    132|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    132|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|    132|    if (vsize < 0) {
  ------------------
  |  Branch (73:9): [True: 0, False: 132]
  ------------------
   74|      0|        return NULL;
   75|      0|    }
   76|       |
   77|    132|    obj = PyObject_GC_NewVar(PyStructSequence, type, size);
  ------------------
  |  |  183|    132|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   78|    132|    if (obj == NULL)
  ------------------
  |  Branch (78:9): [True: 0, False: 132]
  ------------------
   79|      0|        return NULL;
   80|    132|    _PyTuple_RESET_HASH_CACHE(obj);
  ------------------
  |  |   44|    132|    do {                                    \
  |  |   45|    132|        assert(op != NULL);                 \
  |  |   46|    264|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|    132|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|    264|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 132]
  |  |  ------------------
  ------------------
  |  Branch (80:5): [True: 132, False: 0]
  |  Branch (80:5): [True: 132, False: 0]
  ------------------
   81|       |    /* Hack the size of the variable object, so invisible fields don't appear
   82|       |     to Python code. */
   83|    132|    Py_SET_SIZE(obj, vsize);
  ------------------
  |  |  216|    132|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    132|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|  2.52k|    for (i = 0; i < size; i++)
  ------------------
  |  Branch (84:17): [True: 2.39k, False: 132]
  ------------------
   85|  2.39k|        obj->ob_item[i] = NULL;
   86|       |
   87|    132|    return (PyObject*)obj;
   88|    132|}
PyStructSequence_SetItem:
   92|  2.39k|{
   93|  2.39k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  2.39k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (93:28): [True: 2.39k, False: 0]
  ------------------
   94|  2.39k|    assert(0 <= index);
  ------------------
  |  Branch (94:5): [True: 2.39k, False: 0]
  ------------------
   95|  2.39k|#ifndef NDEBUG
   96|  2.39k|    Py_ssize_t n_fields = REAL_SIZE(op);
  ------------------
  |  |   49|  2.39k|#define REAL_SIZE(op) get_real_size((PyObject *)op)
  ------------------
   97|  2.39k|    assert(n_fields >= 0);
  ------------------
  |  Branch (97:5): [True: 2.39k, False: 0]
  ------------------
   98|  2.39k|    assert(index < n_fields);
  ------------------
  |  Branch (98:5): [True: 2.39k, False: 0]
  ------------------
   99|  2.39k|#endif
  100|  2.39k|    tuple->ob_item[index] = value;
  101|  2.39k|}
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:
  612|     16|{
  613|     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 (613:9): [True: 16, False: 0]
  ------------------
  614|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  615|     16|    }
  616|     16|    Py_ssize_t n_unnamed_members;
  617|     16|    Py_ssize_t n_members = count_members(desc, &n_unnamed_members);
  618|     16|    PyMemberDef *members = NULL;
  619|       |
  620|     16|    if ((type->tp_flags & Py_TPFLAGS_READY) == 0) {
  ------------------
  |  |  518|     16|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (620:9): [True: 16, False: 0]
  ------------------
  621|     16|        assert(type->tp_name == NULL);
  ------------------
  |  Branch (621:9): [True: 16, False: 0]
  ------------------
  622|     16|        assert(type->tp_members == NULL);
  ------------------
  |  Branch (622:9): [True: 16, False: 0]
  ------------------
  623|     16|        assert(type->tp_base == NULL);
  ------------------
  |  Branch (623:9): [True: 16, False: 0]
  ------------------
  624|       |
  625|     16|        members = initialize_members(desc, n_members, n_unnamed_members);
  626|     16|        if (members == NULL) {
  ------------------
  |  Branch (626:13): [True: 0, False: 16]
  ------------------
  627|      0|            goto error;
  628|      0|        }
  629|     16|        initialize_static_fields(type, desc, members, n_members, tp_flags);
  630|       |
  631|     16|        _Py_SetImmortal((PyObject *)type);
  632|     16|    }
  633|      0|#ifndef NDEBUG
  634|      0|    else {
  635|       |        // Ensure that the type was initialized.
  636|      0|        assert(type->tp_name != NULL);
  ------------------
  |  Branch (636:9): [True: 0, False: 0]
  ------------------
  637|      0|        assert(type->tp_members != NULL);
  ------------------
  |  Branch (637:9): [True: 0, False: 0]
  ------------------
  638|      0|        assert(type->tp_base == &PyTuple_Type);
  ------------------
  |  Branch (638:9): [True: 0, False: 0]
  ------------------
  639|      0|        assert((type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
  ------------------
  |  Branch (639:9): [True: 0, False: 0]
  ------------------
  640|      0|        assert(_Py_IsImmortal(type));
  ------------------
  |  Branch (640:9): [True: 0, False: 0]
  ------------------
  641|      0|    }
  642|     16|#endif
  643|       |
  644|     16|    if (_PyStaticType_InitBuiltin(interp, type) < 0) {
  ------------------
  |  Branch (644:9): [True: 0, False: 16]
  ------------------
  645|      0|        PyErr_Format(PyExc_RuntimeError,
  646|      0|                     "Can't initialize builtin type %s",
  647|      0|                     desc->name);
  648|      0|        goto error;
  649|      0|    }
  650|       |
  651|     16|    if (initialize_structseq_dict(
  ------------------
  |  Branch (651:9): [True: 0, False: 16]
  ------------------
  652|     16|            desc, _PyType_GetDict(type), n_members, n_unnamed_members) < 0)
  653|      0|    {
  654|      0|        goto error;
  655|      0|    }
  656|       |
  657|     16|    return 0;
  658|       |
  659|      0|error:
  660|      0|    if (members != NULL) {
  ------------------
  |  Branch (660:9): [True: 0, False: 0]
  ------------------
  661|      0|        PyMem_Free(members);
  662|      0|    }
  663|      0|    return -1;
  664|     16|}
_PyStructSequence_NewType:
  740|     18|{
  741|     18|    PyMemberDef *members;
  742|     18|    PyTypeObject *type;
  743|     18|    PyType_Slot slots[8];
  744|     18|    PyType_Spec spec;
  745|     18|    Py_ssize_t n_members, n_unnamed_members;
  746|       |
  747|       |    /* Initialize MemberDefs */
  748|     18|    n_members = count_members(desc, &n_unnamed_members);
  749|     18|    members = initialize_members(desc, n_members, n_unnamed_members);
  750|     18|    if (members == NULL) {
  ------------------
  |  Branch (750:9): [True: 0, False: 18]
  ------------------
  751|      0|        return NULL;
  752|      0|    }
  753|       |
  754|       |    /* Initialize Slots */
  755|     18|    slots[0] = (PyType_Slot){Py_tp_dealloc, structseq_dealloc};
  ------------------
  |  |   60|     18|#define Py_tp_dealloc 52
  ------------------
  756|     18|    slots[1] = (PyType_Slot){Py_tp_repr, structseq_repr};
  ------------------
  |  |   74|     18|#define Py_tp_repr 66
  ------------------
  757|     18|    slots[2] = (PyType_Slot){Py_tp_doc, (void *)desc->doc};
  ------------------
  |  |   64|     18|#define Py_tp_doc 56
  ------------------
  758|     18|    slots[3] = (PyType_Slot){Py_tp_methods, structseq_methods};
  ------------------
  |  |   72|     18|#define Py_tp_methods 64
  ------------------
  759|     18|    slots[4] = (PyType_Slot){Py_tp_new, structseq_new};
  ------------------
  |  |   73|     18|#define Py_tp_new 65
  ------------------
  760|     18|    slots[5] = (PyType_Slot){Py_tp_members, members};
  ------------------
  |  |   80|     18|#define Py_tp_members 72
  ------------------
  761|     18|    slots[6] = (PyType_Slot){Py_tp_traverse, structseq_traverse};
  ------------------
  |  |   79|     18|#define Py_tp_traverse 71
  ------------------
  762|     18|    slots[7] = (PyType_Slot){0, 0};
  763|       |
  764|       |    /* Initialize Spec */
  765|       |    /* The name in this PyType_Spec is statically allocated so it is */
  766|       |    /* expected that it'll outlive the PyType_Spec */
  767|     18|    spec.name = desc->name;
  768|     18|    Py_ssize_t hidden = n_members - desc->n_in_sequence;
  769|     18|    spec.basicsize = (int)(sizeof(PyStructSequence) + (hidden - 1) * sizeof(PyObject *));
  770|     18|    spec.itemsize = sizeof(PyObject *);
  771|     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)
  ------------------
  772|     18|    spec.slots = slots;
  773|       |
  774|     18|    type = (PyTypeObject *)PyType_FromSpecWithBases(&spec, (PyObject *)&PyTuple_Type);
  775|     18|    PyMem_Free(members);
  776|     18|    if (type == NULL) {
  ------------------
  |  Branch (776:9): [True: 0, False: 18]
  ------------------
  777|      0|        return NULL;
  778|      0|    }
  779|       |
  780|     18|    if (initialize_structseq_dict(
  ------------------
  |  Branch (780:9): [True: 0, False: 18]
  ------------------
  781|     18|            desc, _PyType_GetDict(type), n_members, n_unnamed_members) < 0) {
  782|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  783|      0|        return NULL;
  784|      0|    }
  785|       |
  786|     18|    return type;
  787|     18|}
PyStructSequence_NewType:
  792|     16|{
  793|     16|    return _PyStructSequence_NewType(desc, 0);
  794|     16|}
structseq.c:get_type_attr_as_size:
   29|    264|{
   30|    264|    PyObject *v = PyDict_GetItemWithError(_PyType_GetDict(tp), name);
   31|       |
   32|    264|    if (v == NULL) {
  ------------------
  |  Branch (32:9): [True: 0, False: 264]
  ------------------
   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|    264|    return PyLong_AsSsize_t(v);
   42|    264|}
structseq.c:get_real_size:
   57|  2.60k|{
   58|       |    // Compute the real size from the visible size (i.e., Py_SIZE()) and the
   59|       |    // number of non-sequence fields accounted for in tp_basicsize.
   60|  2.60k|    Py_ssize_t hidden = Py_TYPE(op)->tp_basicsize - offsetof(PyStructSequence, ob_item);
  ------------------
  |  |  213|  2.60k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   61|  2.60k|    return Py_SIZE(op) + hidden / sizeof(PyObject *);
  ------------------
  |  |  214|  2.60k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   62|  2.60k|}
structseq.c:count_members:
  463|     34|count_members(PyStructSequence_Desc *desc, Py_ssize_t *n_unnamed_members) {
  464|     34|    Py_ssize_t i;
  465|       |
  466|     34|    *n_unnamed_members = 0;
  467|    282|    for (i = 0; desc->fields[i].name != NULL; ++i) {
  ------------------
  |  Branch (467:17): [True: 248, False: 34]
  ------------------
  468|    248|        if (desc->fields[i].name == PyStructSequence_UnnamedField) {
  ------------------
  |  Branch (468:13): [True: 6, False: 242]
  ------------------
  469|      6|            (*n_unnamed_members)++;
  470|      6|        }
  471|    248|    }
  472|     34|    return i;
  473|     34|}
structseq.c:initialize_members:
  536|     34|{
  537|     34|    PyMemberDef *members;
  538|       |
  539|     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)) ) )
  |  |  ------------------
  ------------------
  540|     34|    if (members == NULL) {
  ------------------
  |  Branch (540:9): [True: 0, False: 34]
  ------------------
  541|      0|        PyErr_NoMemory();
  542|      0|        return NULL;
  543|      0|    }
  544|       |
  545|     34|    Py_ssize_t i, k;
  546|    282|    for (i = k = 0; i < n_members; ++i) {
  ------------------
  |  Branch (546:21): [True: 248, False: 34]
  ------------------
  547|    248|        if (desc->fields[i].name == PyStructSequence_UnnamedField) {
  ------------------
  |  Branch (547:13): [True: 6, False: 242]
  ------------------
  548|      6|            continue;
  549|      6|        }
  550|       |
  551|       |        /* The names and docstrings in these MemberDefs are statically */
  552|       |        /* allocated so it is expected that they'll outlive the MemberDef */
  553|    242|        members[k].name = desc->fields[i].name;
  554|    242|        members[k].type = _Py_T_OBJECT;
  ------------------
  |  |   59|    242|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  555|    242|        members[k].offset = offsetof(PyStructSequence, ob_item)
  556|    242|          + i * sizeof(PyObject*);
  557|    242|        members[k].flags = Py_READONLY;
  ------------------
  |  |   83|    242|#define Py_READONLY            (1 << 0)
  ------------------
  558|    242|        members[k].doc = desc->fields[i].doc;
  559|    242|        k++;
  560|    242|    }
  561|     34|    members[k].name = NULL;
  562|       |
  563|     34|    return members;
  564|     34|}
structseq.c:initialize_static_fields:
  571|     16|{
  572|     16|    type->tp_name = desc->name;
  573|       |    // Account for hidden members in tp_basicsize because they are not
  574|       |    // included in the variable size.
  575|     16|    Py_ssize_t n_hidden = n_members - desc->n_in_sequence;
  576|     16|    type->tp_basicsize = sizeof(PyStructSequence) + (n_hidden - 1) * sizeof(PyObject *);
  577|     16|    type->tp_itemsize = sizeof(PyObject *);
  578|     16|    type->tp_dealloc = structseq_dealloc;
  579|     16|    type->tp_repr = structseq_repr;
  580|     16|    type->tp_doc = desc->doc;
  581|     16|    type->tp_base = &PyTuple_Type;
  582|     16|    type->tp_methods = structseq_methods;
  583|     16|    type->tp_new = structseq_new;
  584|     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)
  ------------------
  585|     16|    type->tp_traverse = structseq_traverse;
  586|     16|    type->tp_members = tp_members;
  587|     16|}
structseq.c:initialize_structseq_dict:
  477|     34|                          Py_ssize_t n_members, Py_ssize_t n_unnamed_members) {
  478|     34|    PyObject *v;
  479|       |
  480|     34|#define SET_DICT_FROM_SIZE(key, value)                                         \
  481|     34|    do {                                                                       \
  482|     34|        v = PyLong_FromSsize_t(value);                                         \
  483|     34|        if (v == NULL) {                                                       \
  484|     34|            return -1;                                                         \
  485|     34|        }                                                                      \
  486|     34|        if (PyDict_SetItemString(dict, key, v) < 0) {                          \
  487|     34|            Py_DECREF(v);                                                      \
  488|     34|            return -1;                                                         \
  489|     34|        }                                                                      \
  490|     34|        Py_DECREF(v);                                                          \
  491|     34|    } while (0)
  492|       |
  493|     34|    SET_DICT_FROM_SIZE(visible_length_key, desc->n_in_sequence);
  ------------------
  |  |  481|     34|    do {                                                                       \
  |  |  482|     34|        v = PyLong_FromSsize_t(value);                                         \
  |  |  483|     34|        if (v == NULL) {                                                       \
  |  |  ------------------
  |  |  |  Branch (483:13): [True: 0, False: 34]
  |  |  ------------------
  |  |  484|      0|            return -1;                                                         \
  |  |  485|      0|        }                                                                      \
  |  |  486|     34|        if (PyDict_SetItemString(dict, key, v) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (486:13): [True: 0, False: 34]
  |  |  ------------------
  |  |  487|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  488|      0|            return -1;                                                         \
  |  |  489|      0|        }                                                                      \
  |  |  490|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  491|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
  494|     34|    SET_DICT_FROM_SIZE(real_length_key, n_members);
  ------------------
  |  |  481|     34|    do {                                                                       \
  |  |  482|     34|        v = PyLong_FromSsize_t(value);                                         \
  |  |  483|     34|        if (v == NULL) {                                                       \
  |  |  ------------------
  |  |  |  Branch (483:13): [True: 0, False: 34]
  |  |  ------------------
  |  |  484|      0|            return -1;                                                         \
  |  |  485|      0|        }                                                                      \
  |  |  486|     34|        if (PyDict_SetItemString(dict, key, v) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (486:13): [True: 0, False: 34]
  |  |  ------------------
  |  |  487|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  488|      0|            return -1;                                                         \
  |  |  489|      0|        }                                                                      \
  |  |  490|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  491|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
  495|     34|    SET_DICT_FROM_SIZE(unnamed_fields_key, n_unnamed_members);
  ------------------
  |  |  481|     34|    do {                                                                       \
  |  |  482|     34|        v = PyLong_FromSsize_t(value);                                         \
  |  |  483|     34|        if (v == NULL) {                                                       \
  |  |  ------------------
  |  |  |  Branch (483:13): [True: 0, False: 34]
  |  |  ------------------
  |  |  484|      0|            return -1;                                                         \
  |  |  485|      0|        }                                                                      \
  |  |  486|     34|        if (PyDict_SetItemString(dict, key, v) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (486:13): [True: 0, False: 34]
  |  |  ------------------
  |  |  487|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  488|      0|            return -1;                                                         \
  |  |  489|      0|        }                                                                      \
  |  |  490|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  491|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
  496|       |
  497|       |    // Prepare and set __match_args__
  498|     34|    Py_ssize_t i, k;
  499|     34|    PyObject* keys = PyTuple_New(desc->n_in_sequence);
  500|     34|    if (keys == NULL) {
  ------------------
  |  Branch (500:9): [True: 0, False: 34]
  ------------------
  501|      0|        return -1;
  502|      0|    }
  503|       |
  504|    250|    for (i = k = 0; i < desc->n_in_sequence; ++i) {
  ------------------
  |  Branch (504:21): [True: 216, False: 34]
  ------------------
  505|    216|        if (desc->fields[i].name == PyStructSequence_UnnamedField) {
  ------------------
  |  Branch (505:13): [True: 6, False: 210]
  ------------------
  506|      6|            continue;
  507|      6|        }
  508|    210|        PyObject* new_member = PyUnicode_FromString(desc->fields[i].name);
  509|    210|        if (new_member == NULL) {
  ------------------
  |  Branch (509:13): [True: 0, False: 210]
  ------------------
  510|      0|            goto error;
  511|      0|        }
  512|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  513|    210|        k++;
  514|    210|    }
  515|       |
  516|     34|    if (_PyTuple_Resize(&keys, k) == -1) {
  ------------------
  |  Branch (516:9): [True: 0, False: 34]
  ------------------
  517|      0|        assert(keys == NULL);
  ------------------
  |  Branch (517:9): [True: 0, False: 0]
  ------------------
  518|      0|        return -1;
  519|      0|    }
  520|       |
  521|     34|    if (PyDict_SetItemString(dict, match_args_key, keys) < 0) {
  ------------------
  |  Branch (521:9): [True: 0, False: 34]
  ------------------
  522|      0|        goto error;
  523|      0|    }
  524|       |
  525|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  526|     34|    return 0;
  527|       |
  528|      0|error:
  529|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  530|      0|    return -1;
  531|     34|}
structseq.c:structseq_dealloc:
  133|    120|{
  134|    120|    PyStructSequence *obj = (PyStructSequence *)op;
  135|    120|    Py_ssize_t i, size;
  136|    120|    PyObject_GC_UnTrack(obj);
  137|       |
  138|    120|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|    120|    size = REAL_SIZE(obj);
  ------------------
  |  |   49|    120|#define REAL_SIZE(op) get_real_size((PyObject *)op)
  ------------------
  143|  2.40k|    for (i = 0; i < size; ++i) {
  ------------------
  |  Branch (143:17): [True: 2.28k, False: 120]
  ------------------
  144|  2.28k|        Py_XDECREF(obj->ob_item[i]);
  ------------------
  |  |  621|  2.28k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  145|  2.28k|    }
  146|    120|    PyObject_GC_Del(obj);
  147|    120|    if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    120|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (147:9): [True: 118, False: 2]
  ------------------
  148|    118|        Py_DECREF(tp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  149|    118|    }
  150|    120|}

PyTuple_New:
   77|  7.88k|{
   78|  7.88k|    PyTupleObject *op;
   79|  7.88k|    if (size == 0) {
  ------------------
  |  Branch (79:9): [True: 174, False: 7.70k]
  ------------------
   80|    174|        return tuple_get_empty();
   81|    174|    }
   82|  7.70k|    op = tuple_alloc(size);
   83|  7.70k|    if (op == NULL) {
  ------------------
  |  Branch (83:9): [True: 0, False: 7.70k]
  ------------------
   84|      0|        return NULL;
   85|      0|    }
   86|  46.6k|    for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (86:28): [True: 38.9k, False: 7.70k]
  ------------------
   87|  38.9k|        op->ob_item[i] = NULL;
   88|  38.9k|    }
   89|  7.70k|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|  7.70k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   90|  7.70k|    return (PyObject *) op;
   91|  7.70k|}
PyTuple_Size:
   95|    885|{
   96|    885|    if (!PyTuple_Check(op)) {
  ------------------
  |  |   27|    885|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    885|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (96:9): [True: 0, False: 885]
  ------------------
   97|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   98|      0|        return -1;
   99|      0|    }
  100|    885|    else
  101|    885|        return Py_SIZE(op);
  ------------------
  |  |  214|    885|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    885|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    885|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  102|    885|}
PyTuple_GetItem:
  106|    885|{
  107|    885|    if (!PyTuple_Check(op)) {
  ------------------
  |  |   27|    885|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    885|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (107:9): [True: 0, False: 885]
  ------------------
  108|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  109|      0|        return NULL;
  110|      0|    }
  111|    885|    if (i < 0 || i >= Py_SIZE(op)) {
  ------------------
  |  |  214|    885|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    885|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    885|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (111:9): [True: 0, False: 885]
  |  Branch (111:18): [True: 0, False: 885]
  ------------------
  112|      0|        PyErr_SetString(PyExc_IndexError, "tuple index out of range");
  113|      0|        return NULL;
  114|      0|    }
  115|    885|    return ((PyTupleObject *)op) -> ob_item[i];
  116|    885|}
_PyTuple_MaybeUntrack:
  140|  5.55k|{
  141|  5.55k|    PyTupleObject *t;
  142|  5.55k|    Py_ssize_t i, n;
  143|       |
  144|  5.55k|    if (!PyTuple_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op))
  ------------------
  |  |   28|  5.55k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  11.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyTuple_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op))
  ------------------
  |  |   81|  5.55k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  5.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (144:9): [True: 0, False: 5.55k]
  |  Branch (144:36): [True: 0, False: 5.55k]
  ------------------
  145|      0|        return;
  146|  5.55k|    t = (PyTupleObject *) op;
  147|  5.55k|    n = Py_SIZE(t);
  ------------------
  |  |  214|  5.55k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  148|  24.9k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (148:17): [True: 20.5k, False: 4.36k]
  ------------------
  149|  20.5k|        PyObject *elt = PyTuple_GET_ITEM(t, i);
  ------------------
  |  |   29|  20.5k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  20.5k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (149:25): [True: 20.5k, False: 0]
  ------------------
  150|       |        /* Tuple with NULL elements aren't
  151|       |           fully constructed, don't untrack
  152|       |           them yet. */
  153|  20.5k|        if (!elt ||
  ------------------
  |  Branch (153:13): [True: 0, False: 20.5k]
  ------------------
  154|  20.5k|            _PyObject_GC_MAY_BE_TRACKED(elt))
  ------------------
  |  Branch (154:13): [True: 1.18k, False: 19.3k]
  ------------------
  155|  1.18k|            return;
  156|  20.5k|    }
  157|  4.36k|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  504|  4.36k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  158|  4.36k|}
PyTuple_Pack:
  174|    793|{
  175|    793|    Py_ssize_t i;
  176|    793|    PyObject *o;
  177|    793|    PyObject **items;
  178|    793|    va_list vargs;
  179|    793|    bool track = false;
  180|       |
  181|    793|    if (n == 0) {
  ------------------
  |  Branch (181:9): [True: 0, False: 793]
  ------------------
  182|      0|        return tuple_get_empty();
  183|      0|    }
  184|       |
  185|    793|    va_start(vargs, n);
  186|    793|    PyTupleObject *result = tuple_alloc(n);
  187|    793|    if (result == NULL) {
  ------------------
  |  Branch (187:9): [True: 0, False: 793]
  ------------------
  188|      0|        va_end(vargs);
  189|      0|        return NULL;
  190|      0|    }
  191|    793|    items = result->ob_item;
  192|  1.77k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (192:17): [True: 981, False: 793]
  ------------------
  193|    981|        o = va_arg(vargs, PyObject *);
  194|    981|        if (!track && maybe_tracked(o)) {
  ------------------
  |  Branch (194:13): [True: 911, False: 70]
  |  Branch (194:23): [True: 769, False: 142]
  ------------------
  195|    769|            track = true;
  196|    769|        }
  197|    981|        items[i] = Py_NewRef(o);
  ------------------
  |  |  647|    981|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    981|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    981|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  198|    981|    }
  199|    793|    va_end(vargs);
  200|    793|    if (track) {
  ------------------
  |  Branch (200:9): [True: 769, False: 24]
  ------------------
  201|    769|        _PyObject_GC_TRACK(result);
  ------------------
  |  |  502|    769|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    769|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    769|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  202|    769|    }
  203|    793|    return (PyObject *)result;
  204|    793|}
_PyTuple_FromPair:
  208|     44|{
  209|     44|    assert(first != NULL);
  ------------------
  |  Branch (209:5): [True: 44, False: 0]
  ------------------
  210|     44|    assert(second != NULL);
  ------------------
  |  Branch (210:5): [True: 44, False: 0]
  ------------------
  211|       |
  212|     44|    return _PyTuple_FromPairSteal(Py_NewRef(first), Py_NewRef(second));
  ------------------
  |  |  647|     44|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _PyTuple_FromPairSteal(Py_NewRef(first), Py_NewRef(second));
  ------------------
  |  |  647|     44|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  213|     44|}
_PyTuple_FromPairSteal:
  217|    871|{
  218|    871|    assert(first != NULL);
  ------------------
  |  Branch (218:5): [True: 871, False: 0]
  ------------------
  219|    871|    assert(second != NULL);
  ------------------
  |  Branch (219:5): [True: 871, False: 0]
  ------------------
  220|       |
  221|    871|    PyTupleObject *op = tuple_alloc(2);
  222|    871|    if (op == NULL) {
  ------------------
  |  Branch (222:9): [True: 0, False: 871]
  ------------------
  223|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  224|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  225|      0|        return NULL;
  226|      0|    }
  227|    871|    PyObject **items = op->ob_item;
  228|    871|    items[0] = first;
  229|    871|    items[1] = second;
  230|    871|    if (maybe_tracked(first) || maybe_tracked(second)) {
  ------------------
  |  Branch (230:9): [True: 26, False: 845]
  |  Branch (230:33): [True: 572, False: 273]
  ------------------
  231|    598|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|    598|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    598|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    598|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  232|    598|    }
  233|    871|    return (PyObject *)op;
  234|    871|}
PyTuple_FromArray:
  465|  3.74k|{
  466|  3.74k|    if (n == 0) {
  ------------------
  |  Branch (466:9): [True: 588, False: 3.15k]
  ------------------
  467|    588|        return tuple_get_empty();
  468|    588|    }
  469|       |
  470|  3.15k|    PyTupleObject *tuple = tuple_alloc(n);
  471|  3.15k|    if (tuple == NULL) {
  ------------------
  |  Branch (471:9): [True: 0, False: 3.15k]
  ------------------
  472|      0|        return NULL;
  473|      0|    }
  474|  3.15k|    PyObject **dst = tuple->ob_item;
  475|  3.15k|    bool track = false;
  476|  9.94k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (476:28): [True: 6.79k, False: 3.15k]
  ------------------
  477|  6.79k|        PyObject *item = src[i];
  478|  6.79k|        if (!track && maybe_tracked(item)) {
  ------------------
  |  Branch (478:13): [True: 4.59k, False: 2.19k]
  |  Branch (478:23): [True: 1.91k, False: 2.68k]
  ------------------
  479|  1.91k|            track = true;
  480|  1.91k|        }
  481|  6.79k|        dst[i] = Py_NewRef(item);
  ------------------
  |  |  647|  6.79k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  482|  6.79k|    }
  483|  3.15k|    if (track) {
  ------------------
  |  Branch (483:9): [True: 1.91k, False: 1.24k]
  ------------------
  484|  1.91k|        _PyObject_GC_TRACK(tuple);
  ------------------
  |  |  502|  1.91k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  485|  1.91k|    }
  486|  3.15k|    return (PyObject *)tuple;
  487|  3.15k|}
_PyTuple_FromStackRefStealOnSuccess:
  491|  2.19k|{
  492|  2.19k|    if (n == 0) {
  ------------------
  |  Branch (492:9): [True: 0, False: 2.19k]
  ------------------
  493|      0|        return tuple_get_empty();
  494|      0|    }
  495|  2.19k|    PyTupleObject *tuple = tuple_alloc(n);
  496|  2.19k|    if (tuple == NULL) {
  ------------------
  |  Branch (496:9): [True: 0, False: 2.19k]
  ------------------
  497|      0|        return NULL;
  498|      0|    }
  499|  2.19k|    PyObject **dst = tuple->ob_item;
  500|  2.19k|    bool track = false;
  501|  6.50k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (501:28): [True: 4.31k, False: 2.19k]
  ------------------
  502|  4.31k|        PyObject *item = PyStackRef_AsPyObjectSteal(src[i]);
  503|  4.31k|        if (!track && maybe_tracked(item)) {
  ------------------
  |  Branch (503:13): [True: 3.56k, False: 748]
  |  Branch (503:23): [True: 860, False: 2.70k]
  ------------------
  504|    860|            track = true;
  505|    860|        }
  506|  4.31k|        dst[i] = item;
  507|  4.31k|    }
  508|  2.19k|    if (track) {
  ------------------
  |  Branch (508:9): [True: 860, False: 1.33k]
  ------------------
  509|    860|        _PyObject_GC_TRACK(tuple);
  ------------------
  |  |  502|    860|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    860|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    860|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  510|    860|    }
  511|  2.19k|    return (PyObject *)tuple;
  512|  2.19k|}
_PyTuple_FromArraySteal:
  516|    105|{
  517|    105|    if (n == 0) {
  ------------------
  |  Branch (517:9): [True: 0, False: 105]
  ------------------
  518|      0|        return tuple_get_empty();
  519|      0|    }
  520|    105|    PyTupleObject *tuple = tuple_alloc(n);
  521|    105|    if (tuple == NULL) {
  ------------------
  |  Branch (521:9): [True: 0, False: 105]
  ------------------
  522|      0|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (522:32): [True: 0, False: 0]
  ------------------
  523|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  524|      0|        }
  525|      0|        return NULL;
  526|      0|    }
  527|    105|    PyObject **dst = tuple->ob_item;
  528|    987|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (528:28): [True: 882, False: 105]
  ------------------
  529|    882|        PyObject *item = src[i];
  530|    882|        dst[i] = item;
  531|    882|    }
  532|    105|    _PyObject_GC_TRACK(tuple);
  ------------------
  |  |  502|    105|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    105|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  533|    105|    return (PyObject *)tuple;
  534|    105|}
PyTuple_GetSlice:
  573|    256|{
  574|    256|    if (op == NULL || !PyTuple_Check(op)) {
  ------------------
  |  |   27|    256|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    256|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (574:9): [True: 0, False: 256]
  |  Branch (574:23): [True: 0, False: 256]
  ------------------
  575|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  576|      0|        return NULL;
  577|      0|    }
  578|    256|    return tuple_slice((PyTupleObject *)op, i, j);
  579|    256|}
_PyTuple_Concat:
  583|      2|{
  584|      2|    PyTupleObject *a = _PyTuple_CAST(aa);
  ------------------
  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (584:24): [True: 2, False: 0]
  ------------------
  585|      2|    if (Py_SIZE(a) == 0 && PyTuple_CheckExact(bb)) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(a) == 0 && PyTuple_CheckExact(bb)) {
  ------------------
  |  |   28|      0|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (585:9): [True: 0, False: 2]
  ------------------
  586|      0|        return Py_NewRef(bb);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  587|      0|    }
  588|      2|    if (!PyTuple_Check(bb)) {
  ------------------
  |  |   27|      2|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (588:9): [True: 0, False: 2]
  ------------------
  589|      0|        PyErr_Format(PyExc_TypeError,
  590|      0|             "can only concatenate tuple (not \"%.200s\") to tuple",
  591|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  592|      0|        return NULL;
  593|      0|    }
  594|      2|    PyTupleObject *b = (PyTupleObject *)bb;
  595|       |
  596|      2|    if (Py_SIZE(b) == 0 && PyTuple_CheckExact(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(b) == 0 && PyTuple_CheckExact(a)) {
  ------------------
  |  |   28|      0|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (596:9): [True: 0, False: 2]
  ------------------
  597|      0|        return Py_NewRef(a);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  598|      0|    }
  599|      2|    assert((size_t)Py_SIZE(a) + (size_t)Py_SIZE(b) < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (599:5): [True: 2, False: 0]
  ------------------
  600|      2|    Py_ssize_t size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  Py_ssize_t size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  601|      2|    if (size == 0) {
  ------------------
  |  Branch (601:9): [True: 0, False: 2]
  ------------------
  602|      0|        return tuple_get_empty();
  603|      0|    }
  604|       |
  605|      2|    PyTupleObject *np = tuple_alloc(size);
  606|      2|    if (np == NULL) {
  ------------------
  |  Branch (606:9): [True: 0, False: 2]
  ------------------
  607|      0|        return NULL;
  608|      0|    }
  609|       |
  610|      2|    PyObject **src = a->ob_item;
  611|      2|    PyObject **dest = np->ob_item;
  612|     14|    for (Py_ssize_t i = 0; i < Py_SIZE(a); 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 (612:28): [True: 12, False: 2]
  ------------------
  613|     12|        PyObject *v = src[i];
  614|     12|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  615|     12|    }
  616|       |
  617|      2|    src = b->ob_item;
  618|      2|    dest = np->ob_item + 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  619|      4|    for (Py_ssize_t i = 0; i < Py_SIZE(b); i++) {
  ------------------
  |  |  214|      4|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (619:28): [True: 2, False: 2]
  ------------------
  620|      2|        PyObject *v = src[i];
  621|      2|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  622|      2|    }
  623|       |
  624|      2|    _PyObject_GC_TRACK(np);
  ------------------
  |  |  502|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  625|      2|    return (PyObject *)np;
  626|      2|}
_PyTuple_Resize:
 1045|     34|{
 1046|     34|    PyTupleObject *v;
 1047|     34|    PyTupleObject *sv;
 1048|     34|    Py_ssize_t i;
 1049|     34|    Py_ssize_t oldsize;
 1050|       |
 1051|     34|    v = (PyTupleObject *) *pv;
 1052|     34|    if (v == NULL || !Py_IS_TYPE(v, &PyTuple_Type) || newsize < 0
  ------------------
  |  |  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 (1052:9): [True: 0, False: 34]
  |  Branch (1052:22): [True: 0, False: 34]
  |  Branch (1052:55): [True: 0, False: 34]
  ------------------
 1053|     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 (1053:13): [True: 34, False: 0]
  |  Branch (1053:32): [True: 0, False: 34]
  ------------------
 1054|       |        // gh-161226: Disallow resizing a tuple if the hash value is cached
 1055|     34|        || (Py_SIZE(v) != 0 && v->ob_hash != -1))
  ------------------
  |  |  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 (1055:13): [True: 34, False: 0]
  |  Branch (1055:32): [True: 0, False: 34]
  ------------------
 1056|      0|    {
 1057|      0|        *pv = 0;
 1058|      0|        Py_XDECREF(v);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1059|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1060|      0|        return -1;
 1061|      0|    }
 1062|       |
 1063|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1064|     34|    if (oldsize == newsize) {
  ------------------
  |  Branch (1064:9): [True: 32, False: 2]
  ------------------
 1065|     32|        return 0;
 1066|     32|    }
 1067|      2|    if (newsize == 0) {
  ------------------
  |  Branch (1067:9): [True: 0, False: 2]
  ------------------
 1068|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1069|      0|        *pv = tuple_get_empty();
 1070|      0|        return 0;
 1071|      0|    }
 1072|      2|    if (oldsize == 0) {
  ------------------
  |  Branch (1072:9): [True: 0, False: 2]
  ------------------
 1073|       |#ifdef Py_DEBUG
 1074|       |        assert(v == &_Py_SINGLETON(tuple_empty));
 1075|       |#endif
 1076|       |        /* The empty tuple is statically allocated so we never
 1077|       |           resize it in-place. */
 1078|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1079|      0|        *pv = PyTuple_New(newsize);
 1080|      0|        return *pv == NULL ? -1 : 0;
  ------------------
  |  Branch (1080:16): [True: 0, False: 0]
  ------------------
 1081|      0|    }
 1082|       |    /* Check for overflow */
 1083|      2|    if ((size_t)newsize > ((size_t)PY_SSIZE_T_MAX - (sizeof(PyTupleObject) -
  ------------------
  |  |  137|      2|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1083:9): [True: 0, False: 2]
  ------------------
 1084|      2|                sizeof(PyObject *))) / sizeof(PyObject *)) {
 1085|      0|        *pv = NULL;
 1086|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1087|      0|        PyErr_NoMemory();
 1088|      0|        return -1;
 1089|      0|    }
 1090|       |
 1091|      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]
  |  |  ------------------
  ------------------
 1092|      2|        _PyObject_GC_UNTRACK(v);
  ------------------
  |  |  504|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1093|      2|    }
 1094|       |#ifdef Py_TRACE_REFS
 1095|       |    _Py_ForgetReference((PyObject *) v);
 1096|       |#endif
 1097|       |    /* DECREF items deleted by shrinkage */
 1098|      8|    for (i = newsize; i < oldsize; i++) {
  ------------------
  |  Branch (1098:23): [True: 6, False: 2]
  ------------------
 1099|      6|        Py_CLEAR(v->ob_item[i]);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1100|      6|    }
 1101|      2|    _PyReftracerTrack((PyObject *)v, PyRefTracer_DESTROY);
  ------------------
  |  |  109|      2|    do { \
  |  |  110|      2|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|      2|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1102|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1103|      2|    if (sv == NULL) {
  ------------------
  |  Branch (1103:9): [True: 0, False: 2]
  ------------------
 1104|      0|        *pv = NULL;
 1105|       |#ifdef Py_REF_DEBUG
 1106|       |        _Py_DecRefTotal(_PyThreadState_GET());
 1107|       |#endif
 1108|       |        /* The failed reallocation leaves the original items owned by v. */
 1109|      0|        i = oldsize;
 1110|      0|        while (--i >= 0) {
  ------------------
  |  Branch (1110:16): [True: 0, False: 0]
  ------------------
 1111|      0|            Py_XDECREF(v->ob_item[i]);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1112|      0|        }
 1113|      0|        PyObject_GC_Del(v);
 1114|      0|        return -1;
 1115|      0|    }
 1116|      2|    _Py_NewReferenceNoTotal((PyObject *) sv);
 1117|       |    /* Zero out items added by growing */
 1118|      2|    if (newsize > oldsize)
  ------------------
  |  Branch (1118:9): [True: 0, False: 2]
  ------------------
 1119|      0|        memset(&sv->ob_item[oldsize], 0,
 1120|      0|               sizeof(*sv->ob_item) * (newsize - oldsize));
 1121|      2|    *pv = (PyObject *) sv;
 1122|      2|    _PyObject_GC_TRACK(sv);
  ------------------
  |  |  502|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1123|      2|    return 0;
 1124|      2|}
tupleobject.c:tuple_get_empty:
   71|    762|{
   72|    762|    return (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|    762|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|    762|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
   73|    762|}
tupleobject.c:tuple_alloc:
   39|  14.8k|{
   40|  14.8k|    if (size < 0) {
  ------------------
  |  Branch (40:9): [True: 0, False: 14.8k]
  ------------------
   41|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   42|      0|        return NULL;
   43|      0|    }
   44|  14.8k|    assert(size != 0);    // The empty tuple is statically allocated.
  ------------------
  |  Branch (44:5): [True: 14.8k, False: 0]
  ------------------
   45|  14.8k|    Py_ssize_t index = size - 1;
   46|  14.8k|    if (index < PyTuple_MAXSAVESIZE) {
  ------------------
  |  |   11|  14.8k|#  define PyTuple_MAXSAVESIZE 20     // Largest tuple to save on freelist
  ------------------
  |  Branch (46:9): [True: 14.6k, False: 220]
  ------------------
   47|  14.6k|        PyTupleObject *op = _Py_FREELIST_POP(PyTupleObject, tuples[index]);
  ------------------
  |  |   43|  14.6k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  14.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   48|  14.6k|        if (op != NULL) {
  ------------------
  |  Branch (48:13): [True: 7.49k, False: 7.12k]
  ------------------
   49|  7.49k|            _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|  7.49k|    do {                                    \
  |  |   45|  7.49k|        assert(op != NULL);                 \
  |  |   46|  14.9k|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|  7.49k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|  14.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 7.49k]
  |  |  ------------------
  ------------------
  |  Branch (49:13): [True: 7.49k, False: 0]
  |  Branch (49:13): [True: 7.49k, False: 0]
  ------------------
   50|  7.49k|            return op;
   51|  7.49k|        }
   52|  14.6k|    }
   53|       |    /* Check for overflow */
   54|  7.34k|    if ((size_t)size > ((size_t)PY_SSIZE_T_MAX - (sizeof(PyTupleObject) -
  ------------------
  |  |  137|  7.34k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (54:9): [True: 0, False: 7.34k]
  ------------------
   55|  7.34k|                sizeof(PyObject *))) / sizeof(PyObject *)) {
   56|      0|        return (PyTupleObject *)PyErr_NoMemory();
   57|      0|    }
   58|  7.34k|    PyTupleObject *result = PyObject_GC_NewVar(PyTupleObject, &PyTuple_Type, size);
  ------------------
  |  |  183|  7.34k|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  7.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   59|  7.34k|    if (result != NULL) {
  ------------------
  |  Branch (59:9): [True: 7.34k, False: 0]
  ------------------
   60|  7.34k|        _PyTuple_RESET_HASH_CACHE(result);
  ------------------
  |  |   44|  7.34k|    do {                                    \
  |  |   45|  7.34k|        assert(op != NULL);                 \
  |  |   46|  14.6k|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|  7.34k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|  14.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 7.34k]
  |  |  ------------------
  ------------------
  |  Branch (60:9): [True: 7.34k, False: 0]
  |  Branch (60:9): [True: 7.34k, False: 0]
  ------------------
   61|  7.34k|    }
   62|  7.34k|    return result;
   63|  7.34k|}
tupleobject.c:maybe_tracked:
  168|  10.7k|{
  169|  10.7k|    return _PyType_IS_GC(Py_TYPE(ob));
  ------------------
  |  |  213|  10.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  170|  10.7k|}
tupleobject.c:tuple_slice:
  539|    256|{
  540|    256|    if (ilow < 0)
  ------------------
  |  Branch (540:9): [True: 0, False: 256]
  ------------------
  541|      0|        ilow = 0;
  542|    256|    if (ihigh > Py_SIZE(a))
  ------------------
  |  |  214|    256|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (542:9): [True: 0, False: 256]
  ------------------
  543|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  544|    256|    if (ihigh < ilow)
  ------------------
  |  Branch (544:9): [True: 0, False: 256]
  ------------------
  545|      0|        ihigh = ilow;
  546|    256|    if (ilow == 0 && ihigh == Py_SIZE(a) && PyTuple_CheckExact(a)) {
  ------------------
  |  |  214|    300|#  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  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 (546:9): [True: 44, False: 212]
  |  Branch (546:22): [True: 0, False: 44]
  ------------------
  547|      0|        return Py_NewRef(a);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  548|      0|    }
  549|    256|    return PyTuple_FromArray(a->ob_item + ilow, ihigh - ilow);
  550|    256|}
tupleobject.c:tuple_dealloc:
  257|  7.71k|{
  258|  7.71k|    PyTupleObject *op = _PyTuple_CAST(self);
  ------------------
  |  |   19|  7.71k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (258:25): [True: 7.71k, False: 0]
  ------------------
  259|  7.71k|    if (Py_SIZE(op) == 0) {
  ------------------
  |  |  214|  7.71k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (259:9): [True: 0, False: 7.71k]
  ------------------
  260|       |        /* The empty tuple is statically allocated. */
  261|      0|        if (op == &_Py_SINGLETON(tuple_empty)) {
  ------------------
  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
  |  Branch (261:13): [True: 0, False: 0]
  ------------------
  262|       |#ifdef Py_DEBUG
  263|       |            _Py_FatalRefcountError("deallocating the empty tuple singleton");
  264|       |#else
  265|      0|            return;
  266|      0|#endif
  267|      0|        }
  268|       |#ifdef Py_DEBUG
  269|       |        /* tuple subclasses have their own empty instances. */
  270|       |        assert(!PyTuple_CheckExact(op));
  271|       |#endif
  272|      0|    }
  273|       |
  274|  7.71k|    PyObject_GC_UnTrack(op);
  275|       |
  276|  7.71k|    Py_ssize_t i = Py_SIZE(op);
  ------------------
  |  |  214|  7.71k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  277|  34.5k|    while (--i >= 0) {
  ------------------
  |  Branch (277:12): [True: 26.8k, False: 7.71k]
  ------------------
  278|  26.8k|        Py_XDECREF(op->ob_item[i]);
  ------------------
  |  |  621|  26.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  279|  26.8k|    }
  280|       |    // This will abort on the empty singleton (if there is one).
  281|  7.71k|    if (!maybe_freelist_push(op)) {
  ------------------
  |  Branch (281:9): [True: 108, False: 7.60k]
  ------------------
  282|    108|        Py_TYPE(op)->tp_free((PyObject *)op);
  ------------------
  |  |  213|    108|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    108|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  283|    108|    }
  284|  7.71k|}
tupleobject.c:tuple_length:
  436|    161|{
  437|    161|    PyTupleObject *a = _PyTuple_CAST(self);
  ------------------
  |  |   19|    161|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    161|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (437:24): [True: 161, False: 0]
  ------------------
  438|    161|    return Py_SIZE(a);
  ------------------
  |  |  214|    161|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    161|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    161|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  439|    161|}
tupleobject.c:tuple_item:
  454|    111|{
  455|    111|    PyTupleObject *a = _PyTuple_CAST(op);
  ------------------
  |  |   19|    111|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    111|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (455:24): [True: 111, False: 0]
  ------------------
  456|    111|    if (i < 0 || i >= Py_SIZE(a)) {
  ------------------
  |  |  214|    111|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    111|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    111|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (456:9): [True: 0, False: 111]
  |  Branch (456:18): [True: 0, False: 111]
  ------------------
  457|      0|        PyErr_SetString(PyExc_IndexError, "tuple index out of range");
  458|      0|        return NULL;
  459|      0|    }
  460|    111|    return Py_NewRef(a->ob_item[i]);
  ------------------
  |  |  647|    111|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    111|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    111|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  461|    111|}
tupleobject.c:tuple_contains:
  443|    224|{
  444|    224|    PyTupleObject *a = _PyTuple_CAST(self);
  ------------------
  |  |   19|    224|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    224|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (444:24): [True: 224, False: 0]
  ------------------
  445|      0|    int cmp = 0;
  446|  2.15k|    for (Py_ssize_t i = 0; cmp == 0 && i < Py_SIZE(a); ++i) {
  ------------------
  |  |  214|  2.03k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (446:28): [True: 2.03k, False: 118]
  |  Branch (446:40): [True: 1.93k, False: 106]
  ------------------
  447|  1.93k|        cmp = PyObject_RichCompareBool(PyTuple_GET_ITEM(a, i), el, Py_EQ);
  ------------------
  |  |   29|  1.93k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.93k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      cmp = PyObject_RichCompareBool(PyTuple_GET_ITEM(a, i), el, Py_EQ);
  ------------------
  |  |  654|  1.93k|#define Py_EQ 2
  ------------------
  |  Branch (447:40): [True: 1.93k, False: 0]
  ------------------
  448|  1.93k|    }
  449|    224|    return cmp;
  450|    224|}
tupleobject.c:tuple_subscript:
  900|     68|{
  901|     68|    PyTupleObject *self = _PyTuple_CAST(op);
  ------------------
  |  |   19|     68|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (901:27): [True: 68, False: 0]
  ------------------
  902|     68|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (902:9): [True: 57, False: 11]
  ------------------
  903|     57|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
  904|     57|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (904:13): [True: 14, False: 43]
  |  Branch (904:24): [True: 0, False: 14]
  ------------------
  905|      0|            return NULL;
  906|     57|        if (i < 0)
  ------------------
  |  Branch (906:13): [True: 14, False: 43]
  ------------------
  907|     14|            i += PyTuple_GET_SIZE(self);
  ------------------
  |  |   27|     14|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  908|     57|        return tuple_item(op, i);
  909|     57|    }
  910|     11|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|     11|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|     11|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 11, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  911|     11|        Py_ssize_t start, stop, step, slicelength, i;
  912|     11|        size_t cur;
  913|     11|        PyObject* it;
  914|     11|        PyObject **src, **dest;
  915|       |
  916|     11|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (916:13): [True: 0, False: 11]
  ------------------
  917|      0|            return NULL;
  918|      0|        }
  919|     11|        slicelength = PySlice_AdjustIndices(PyTuple_GET_SIZE(self), &start,
  ------------------
  |  |   27|     11|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  920|     11|                                            &stop, step);
  921|       |
  922|     11|        if (slicelength <= 0) {
  ------------------
  |  Branch (922:13): [True: 0, False: 11]
  ------------------
  923|      0|            return tuple_get_empty();
  924|      0|        }
  925|     11|        else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (925:18): [True: 0, False: 11]
  |  Branch (925:32): [True: 0, False: 0]
  ------------------
  926|      0|                 slicelength == PyTuple_GET_SIZE(self) &&
  ------------------
  |  |   27|     11|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (926:18): [True: 0, False: 0]
  ------------------
  927|      0|                 PyTuple_CheckExact(self)) {
  ------------------
  |  |   28|      0|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  928|      0|            return Py_NewRef(self);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  929|      0|        }
  930|     11|        else {
  931|     11|            PyTupleObject* result = tuple_alloc(slicelength);
  932|     11|            if (!result) return NULL;
  ------------------
  |  Branch (932:17): [True: 0, False: 11]
  ------------------
  933|       |
  934|     11|            src = self->ob_item;
  935|     11|            dest = result->ob_item;
  936|     73|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (936:38): [True: 62, False: 11]
  ------------------
  937|     62|                 cur += step, i++) {
  938|     62|                it = Py_NewRef(src[cur]);
  ------------------
  |  |  647|     62|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  939|     62|                dest[i] = it;
  940|     62|            }
  941|       |
  942|     11|            _PyObject_GC_TRACK(result);
  ------------------
  |  |  502|     11|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  943|     11|            return (PyObject *)result;
  944|     11|        }
  945|     11|    }
  946|      0|    else {
  947|      0|        PyErr_Format(PyExc_TypeError,
  948|      0|                     "tuple indices must be integers or slices, not %.200s",
  949|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  950|       |        return NULL;
  951|      0|    }
  952|     68|}
tupleobject.c:tuple_hash:
  374|    101|{
  375|    101|    PyTupleObject *v = _PyTuple_CAST(op);
  ------------------
  |  |   19|    101|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (375:24): [True: 101, False: 0]
  ------------------
  376|       |
  377|    101|    Py_uhash_t acc = FT_ATOMIC_LOAD_SSIZE_RELAXED(v->ob_hash);
  ------------------
  |  |  151|    101|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  378|    101|    if (acc != (Py_uhash_t)-1) {
  ------------------
  |  Branch (378:9): [True: 44, False: 57]
  ------------------
  379|     44|        return acc;
  380|     44|    }
  381|       |
  382|     57|    Py_ssize_t len = Py_SIZE(v);
  ------------------
  |  |  214|     57|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     57|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     57|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  383|     57|    PyObject **item = v->ob_item;
  384|       |
  385|       |    /* Hashing an item recurses back into tuple_hash() when that item is
  386|       |       itself a tuple, so guard the descent to raise RecursionError rather
  387|       |       than overflow the C stack on a deeply nested tuple. */
  388|     57|    if (_Py_EnterRecursiveCall(" while hashing a tuple")) {
  ------------------
  |  Branch (388:9): [True: 0, False: 57]
  ------------------
  389|      0|        return -1;
  390|      0|    }
  391|       |
  392|     57|    acc = _PyTuple_HASH_XXPRIME_5;
  ------------------
  |  |   69|     57|#define _PyTuple_HASH_XXPRIME_5 ((Py_uhash_t)2870177450012600261ULL)
  ------------------
  393|    177|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (393:28): [True: 120, False: 57]
  ------------------
  394|    120|        Py_uhash_t lane = PyObject_Hash(item[i]);
  395|    120|        if (lane == (Py_uhash_t)-1) {
  ------------------
  |  Branch (395:13): [True: 0, False: 120]
  ------------------
  396|      0|            if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (396:17): [True: 0, False: 0]
  ------------------
  397|       |                /* Preserve the original error while providing context for
  398|       |                   the element that could not be hashed. */
  399|      0|                PyObject *exc = PyErr_GetRaisedException();
  400|      0|                PyObject *note = PyUnicode_FromFormat(
  401|      0|                    "when hashing tuple item %zd", i);
  402|      0|                if (note != NULL) {
  ------------------
  |  Branch (402:21): [True: 0, False: 0]
  ------------------
  403|      0|                    if (_PyException_AddNote(exc, note) < 0) {
  ------------------
  |  Branch (403:25): [True: 0, False: 0]
  ------------------
  404|      0|                        PyErr_Clear();
  405|      0|                    }
  406|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  407|      0|                }
  408|      0|                else {
  409|      0|                    PyErr_Clear();
  410|      0|                }
  411|      0|                PyErr_SetRaisedException(exc);
  412|      0|            }
  413|      0|            _Py_LeaveRecursiveCall();
  414|      0|            return -1;
  415|      0|        }
  416|    120|        acc += lane * _PyTuple_HASH_XXPRIME_2;
  ------------------
  |  |   68|    120|#define _PyTuple_HASH_XXPRIME_2 ((Py_uhash_t)14029467366897019727ULL)
  ------------------
  417|    120|        acc = _PyTuple_HASH_XXROTATE(acc);
  ------------------
  |  |   70|    120|#define _PyTuple_HASH_XXROTATE(x) ((x << 31) | (x >> 33))  /* Rotate left 31 bits */
  ------------------
  418|    120|        acc *= _PyTuple_HASH_XXPRIME_1;
  ------------------
  |  |   67|    120|#define _PyTuple_HASH_XXPRIME_1 ((Py_uhash_t)11400714785074694791ULL)
  ------------------
  419|    120|    }
  420|     57|    _Py_LeaveRecursiveCall();
  421|       |
  422|       |    /* Add input length, mangled to keep the historical value of hash(()). */
  423|     57|    acc += len ^ (_PyTuple_HASH_XXPRIME_5 ^ 3527539UL);
  ------------------
  |  |   69|     57|#define _PyTuple_HASH_XXPRIME_5 ((Py_uhash_t)2870177450012600261ULL)
  ------------------
  424|       |
  425|     57|    if (acc == (Py_uhash_t)-1) {
  ------------------
  |  Branch (425:9): [True: 0, False: 57]
  ------------------
  426|      0|        acc = 1546275796;
  427|      0|    }
  428|       |
  429|     57|    FT_ATOMIC_STORE_SSIZE_RELAXED(v->ob_hash, acc);
  ------------------
  |  |  197|     57|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  430|       |
  431|     57|    return acc;
  432|     57|}
tupleobject.c:tuple_traverse:
  747|  11.1k|{
  748|  11.1k|    PyTupleObject *o = _PyTuple_CAST(self);
  ------------------
  |  |   19|  11.1k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  11.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (748:24): [True: 11.1k, False: 0]
  ------------------
  749|  57.0k|    for (Py_ssize_t i = Py_SIZE(o); --i >= 0; ) {
  ------------------
  |  |  214|  11.1k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  11.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (749:37): [True: 45.9k, False: 11.1k]
  ------------------
  750|  45.9k|        Py_VISIT(o->ob_item[i]);
  ------------------
  |  |  194|  45.9k|    do {                                                                \
  |  |  195|  45.9k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 45.9k, False: 0]
  |  |  ------------------
  |  |  196|  45.9k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  45.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  45.9k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 45.9k]
  |  |  ------------------
  |  |  198|  45.9k|                return vret;                                            \
  |  |  199|  45.9k|        }                                                               \
  |  |  200|  45.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 45.9k]
  |  |  ------------------
  ------------------
  751|  45.9k|    }
  752|  11.1k|    return 0;
  753|  11.1k|}
tupleobject.c:tuple_richcompare:
  757|      8|{
  758|      8|    PyTupleObject *vt, *wt;
  759|      8|    Py_ssize_t i;
  760|      8|    Py_ssize_t vlen, wlen;
  761|       |
  762|      8|    if (!PyTuple_Check(v) || !PyTuple_Check(w))
  ------------------
  |  |   27|      8|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     16|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyTuple_Check(v) || !PyTuple_Check(w))
  ------------------
  |  |   27|      8|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      8|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (762:9): [True: 0, False: 8]
  |  Branch (762:30): [True: 0, False: 8]
  ------------------
  763|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  764|       |
  765|      8|    vt = (PyTupleObject *)v;
  766|      8|    wt = (PyTupleObject *)w;
  767|       |
  768|      8|    vlen = Py_SIZE(vt);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  769|      8|    wlen = Py_SIZE(wt);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  770|       |
  771|       |    /* Note:  the corresponding code for lists has an "early out" test
  772|       |     * here when op is EQ or NE and the lengths differ.  That pays there,
  773|       |     * but Tim was unable to find any real code where EQ/NE tuple
  774|       |     * compares don't have the same length, so testing for it here would
  775|       |     * have cost without benefit.
  776|       |     */
  777|       |
  778|       |    /* Search for the first index where items are different.
  779|       |     * Note that because tuples are immutable, it's safe to reuse
  780|       |     * vlen and wlen across the comparison calls.
  781|       |     */
  782|     16|    for (i = 0; i < vlen && i < wlen; i++) {
  ------------------
  |  Branch (782:17): [True: 12, False: 4]
  |  Branch (782:29): [True: 12, False: 0]
  ------------------
  783|     12|        int k = PyObject_RichCompareBool(vt->ob_item[i],
  784|     12|                                         wt->ob_item[i], Py_EQ);
  ------------------
  |  |  654|     12|#define Py_EQ 2
  ------------------
  785|     12|        if (k < 0)
  ------------------
  |  Branch (785:13): [True: 0, False: 12]
  ------------------
  786|      0|            return NULL;
  787|     12|        if (!k)
  ------------------
  |  Branch (787:13): [True: 4, False: 8]
  ------------------
  788|      4|            break;
  789|     12|    }
  790|       |
  791|      8|    if (i >= vlen || i >= wlen) {
  ------------------
  |  Branch (791:9): [True: 4, False: 4]
  |  Branch (791:22): [True: 0, False: 4]
  ------------------
  792|       |        /* No more items to compare -- compare sizes */
  793|      4|        Py_RETURN_RICHCOMPARE(vlen, wlen, op);
  ------------------
  |  |  674|      4|    do {                                                                    \
  |  |  675|      4|        switch (op) {                                                       \
  |  |  676|      4|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|      4|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: 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_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (676:9): [True: 4, False: 0]
  |  |  |  Branch (676:25): [True: 4, False: 0]
  |  |  ------------------
  |  |  677|      4|        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: 4]
  |  |  |  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: 4]
  |  |  |  Branch (678:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  679|      0|        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  656|      0|#define Py_GT 4
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (679:9): [True: 0, False: 4]
  |  |  |  Branch (679:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  680|      0|        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  653|      0|#define Py_LE 1
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (680:9): [True: 0, False: 4]
  |  |  |  Branch (680:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  681|      0|        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  657|      0|#define Py_GE 5
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (681:9): [True: 0, False: 4]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 4]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|      4|        }                                                                   \
  |  |  685|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  794|      4|    }
  795|       |
  796|       |    /* We have an item that differs -- shortcuts for EQ/NE */
  797|      4|    if (op == Py_EQ) {
  ------------------
  |  |  654|      4|#define Py_EQ 2
  ------------------
  |  Branch (797:9): [True: 3, False: 1]
  ------------------
  798|      3|        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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  799|      3|    }
  800|      1|    if (op == Py_NE) {
  ------------------
  |  |  655|      1|#define Py_NE 3
  ------------------
  |  Branch (800:9): [True: 1, False: 0]
  ------------------
  801|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  802|      1|    }
  803|       |
  804|       |    /* Compare the final item again using the proper operator */
  805|      0|    return PyObject_RichCompare(vt->ob_item[i], wt->ob_item[i], op);
  806|      1|}
tupleobject.c:tuple_new_impl:
  829|      9|{
  830|      9|    if (type != &PyTuple_Type)
  ------------------
  |  Branch (830:9): [True: 2, False: 7]
  ------------------
  831|      2|        return tuple_subtype_new(type, iterable);
  832|       |
  833|      7|    if (iterable == NULL) {
  ------------------
  |  Branch (833:9): [True: 0, False: 7]
  ------------------
  834|      0|        return tuple_get_empty();
  835|      0|    }
  836|      7|    else {
  837|      7|        return PySequence_Tuple(iterable);
  838|      7|    }
  839|      7|}
tupleobject.c:tuple_subtype_new:
  843|      2|{
  844|      2|    PyObject *tmp, *newobj, *item;
  845|      2|    Py_ssize_t i, n;
  846|       |
  847|      2|    assert(PyType_IsSubtype(type, &PyTuple_Type));
  ------------------
  |  Branch (847:5): [True: 2, False: 0]
  ------------------
  848|       |    // tuple subclasses must implement the GC protocol
  849|      2|    assert(_PyType_IS_GC(type));
  ------------------
  |  Branch (849:5): [True: 2, False: 0]
  ------------------
  850|       |
  851|      2|    tmp = tuple_new_impl(&PyTuple_Type, iterable);
  852|      2|    if (tmp == NULL)
  ------------------
  |  Branch (852:9): [True: 0, False: 2]
  ------------------
  853|      0|        return NULL;
  854|      2|    assert(PyTuple_Check(tmp));
  ------------------
  |  Branch (854:5): [True: 2, False: 0]
  ------------------
  855|       |    /* This may allocate an empty tuple that is not the global one. */
  856|      2|    newobj = type->tp_alloc(type, n = PyTuple_GET_SIZE(tmp));
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  857|      2|    if (newobj == NULL) {
  ------------------
  |  Branch (857:9): [True: 0, False: 2]
  ------------------
  858|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  859|      0|        return NULL;
  860|      0|    }
  861|     10|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (861:17): [True: 8, False: 2]
  ------------------
  862|      8|        item = PyTuple_GET_ITEM(tmp, i);
  ------------------
  |  |   29|      8|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      8|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (862:16): [True: 8, False: 0]
  ------------------
  863|      8|        PyTuple_SET_ITEM(newobj, i, Py_NewRef(item));
  ------------------
  |  |   40|      8|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  864|      8|    }
  865|      2|    Py_DECREF(tmp);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  866|       |
  867|      2|    _PyTuple_RESET_HASH_CACHE(newobj);
  ------------------
  |  |   44|      2|    do {                                    \
  |  |   45|      2|        assert(op != NULL);                 \
  |  |   46|      4|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (867:5): [True: 2, False: 0]
  |  Branch (867:5): [True: 2, False: 0]
  ------------------
  868|       |
  869|       |    // Don't track if a subclass tp_alloc is PyType_GenericAlloc()
  870|      2|    if (!_PyObject_GC_IS_TRACKED(newobj)) {
  ------------------
  |  |   81|      2|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (870:9): [True: 0, False: 2]
  ------------------
  871|      0|        _PyObject_GC_TRACK(newobj);
  ------------------
  |  |  502|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  872|      0|    }
  873|      2|    return newobj;
  874|      2|}
tupleobject.c:tuple_iteritem:
  889|     50|{
  890|     50|    if (index >= PyTuple_GET_SIZE(obj)) {
  ------------------
  |  |   27|     50|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (890:9): [True: 6, False: 44]
  ------------------
  891|      6|        return (_PyObjectIndexPair) { .object = NULL, .index = index };
  892|      6|    }
  893|     44|    PyObject *result = PyTuple_GET_ITEM(obj, index);
  ------------------
  |  |   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 (893:24): [True: 44, False: 0]
  ------------------
  894|     44|    Py_INCREF(result);
  ------------------
  |  |  310|     44|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  895|     44|    return (_PyObjectIndexPair) { .object = result, .index = index + 1 };
  896|     44|}
tupleobject.c:tupleiter_dealloc:
 1132|     74|{
 1133|     74|    _PyTupleIterObject *it = _PyTupleIterObject_CAST(self);
  ------------------
  |  | 1128|     74|#define _PyTupleIterObject_CAST(op) ((_PyTupleIterObject *)(op))
  ------------------
 1134|     74|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  504|     74|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1135|     74|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  621|     74|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1136|     74|    assert(Py_IS_TYPE(self, &PyTupleIter_Type));
  ------------------
  |  Branch (1136:5): [True: 74, False: 0]
  ------------------
 1137|     74|    _Py_FREELIST_FREE(tuple_iters, it, PyObject_GC_Del);
  ------------------
  |  |   35|     74|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|     74|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   15|     74|#  define Py_tuple_iters_MAXFREELIST 10
  |  |  ------------------
  ------------------
 1138|     74|}
tupleobject.c:tupleiter_next:
 1150|    945|{
 1151|    945|    _PyTupleIterObject *it = _PyTupleIterObject_CAST(self);
  ------------------
  |  | 1128|    945|#define _PyTupleIterObject_CAST(op) ((_PyTupleIterObject *)(op))
  ------------------
 1152|    945|    PyTupleObject *seq;
 1153|    945|    PyObject *item;
 1154|       |
 1155|    945|    assert(it != NULL);
  ------------------
  |  Branch (1155:5): [True: 945, False: 0]
  ------------------
 1156|    945|    seq = it->it_seq;
 1157|    945|#ifndef Py_GIL_DISABLED
 1158|    945|    if (seq == NULL)
  ------------------
  |  Branch (1158:9): [True: 0, False: 945]
  ------------------
 1159|      0|        return NULL;
 1160|    945|#endif
 1161|    945|    assert(PyTuple_Check(seq));
  ------------------
  |  Branch (1161:5): [True: 945, False: 0]
  ------------------
 1162|       |
 1163|    945|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  151|    945|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1164|    945|    if (index < PyTuple_GET_SIZE(seq)) {
  ------------------
  |  |   27|    945|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    945|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    945|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1164:9): [True: 873, False: 72]
  ------------------
 1165|    873|        FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, index + 1);
  ------------------
  |  |  197|    873|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 1166|    873|        item = PyTuple_GET_ITEM(seq, index);
  ------------------
  |  |   29|    873|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    873|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    873|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1166:16): [True: 873, False: 0]
  ------------------
 1167|    873|        return Py_NewRef(item);
  ------------------
  |  |  647|    873|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    873|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    873|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1168|    873|    }
 1169|       |
 1170|     72|#ifndef Py_GIL_DISABLED
 1171|     72|    it->it_seq = NULL;
 1172|     72|    Py_DECREF(seq);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1173|     72|#endif
 1174|       |    return NULL;
 1175|    945|}
tupleobject.c:tuple_iter:
 1279|     74|{
 1280|     74|    if (!PyTuple_Check(seq)) {
  ------------------
  |  |   27|     74|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     74|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1280:9): [True: 0, False: 74]
  ------------------
 1281|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1282|      0|        return NULL;
 1283|      0|    }
 1284|     74|    _PyTupleIterObject *it = _Py_FREELIST_POP(_PyTupleIterObject, tuple_iters);
  ------------------
  |  |   43|     74|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1285|     74|    if (it == NULL) {
  ------------------
  |  Branch (1285:9): [True: 3, False: 71]
  ------------------
 1286|      3|        it = PyObject_GC_New(_PyTupleIterObject, &PyTupleIter_Type);
  ------------------
  |  |  181|      3|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1287|      3|        if (it == NULL)
  ------------------
  |  Branch (1287:13): [True: 0, False: 3]
  ------------------
 1288|      0|            return NULL;
 1289|      3|    }
 1290|     74|    it->it_index = 0;
 1291|     74|    it->it_seq = (PyTupleObject *)Py_NewRef(seq);
  ------------------
  |  |  647|     74|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1292|     74|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  502|     74|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1293|     74|    return (PyObject *)it;
 1294|     74|}
tupleobject.c:maybe_freelist_push:
 1303|  7.71k|{
 1304|  7.71k|    if (!Py_IS_TYPE(op, &PyTuple_Type)) {
  ------------------
  |  |  215|  7.71k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  7.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1304:9): [True: 0, False: 7.71k]
  ------------------
 1305|      0|        return 0;
 1306|      0|    }
 1307|  7.71k|    Py_ssize_t index = Py_SIZE(op) - 1;
  ------------------
  |  |  214|  7.71k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1308|  7.71k|    if (index < PyTuple_MAXSAVESIZE) {
  ------------------
  |  |   11|  7.71k|#  define PyTuple_MAXSAVESIZE 20     // Largest tuple to save on freelist
  ------------------
  |  Branch (1308:9): [True: 7.60k, False: 108]
  ------------------
 1309|  7.60k|        return _Py_FREELIST_PUSH(tuples[index], op, Py_tuple_MAXFREELIST);
  ------------------
  |  |   39|  7.60k|    _PyFreeList_Push(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), limit)
  |  |  ------------------
  |  |  |  |  171|  7.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1310|  7.60k|    }
 1311|    108|    return 0;
 1312|  7.71k|}

_PyStaticType_GetState:
  244|  48.0k|{
  245|  48.0k|    assert(self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  Branch (245:5): [True: 48.0k, False: 0]
  ------------------
  246|  48.0k|    return managed_static_type_state_get(interp, self);
  247|  48.0k|}
_PyType_GetDict:
  481|  22.8k|{
  482|       |    /* It returns a borrowed reference. */
  483|  22.8k|    return lookup_tp_dict(self);
  484|  22.8k|}
PyType_GetDict:
  488|    113|{
  489|    113|    PyObject *dict = lookup_tp_dict(self);
  490|    113|    return _Py_XNewRef(dict);
  491|    113|}
_PyType_GetBases:
  528|     71|{
  529|     71|    PyObject *res;
  530|       |
  531|     71|    BEGIN_TYPE_LOCK();
  532|     71|    res = lookup_tp_bases(self);
  533|     71|    Py_INCREF(res);
  ------------------
  |  |  310|     71|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     71|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     71|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  534|     71|    END_TYPE_LOCK();
  535|       |
  536|     71|    return res;
  537|     71|}
_PyType_GetSubclasses:
  783|     45|{
  784|     45|    PyObject *list = PyList_New(0);
  785|     45|    if (list == NULL) {
  ------------------
  |  Branch (785:9): [True: 0, False: 45]
  ------------------
  786|      0|        return NULL;
  787|      0|    }
  788|       |
  789|       |    // The type lock protects tp_subclasses from being mutated while we
  790|       |    // iterate over it (e.g. by add_subclass() or by remove_subclass() when a
  791|       |    // subclass is deallocated).
  792|     45|    int res;
  793|     45|    BEGIN_TYPE_LOCK();
  794|     45|    res = get_subclasses_unlocked(self, list);
  795|     45|    END_TYPE_LOCK();
  796|       |
  797|     45|    if (res < 0) {
  ------------------
  |  Branch (797:9): [True: 0, False: 45]
  ------------------
  798|       |        Py_CLEAR(list);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  799|      0|    }
  800|     45|    return list;
  801|     45|}
_PyType_CheckConsistency:
  861|  2.25k|{
  862|  2.25k|#define CHECK(expr) \
  863|  2.25k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  864|       |
  865|  2.25k|    CHECK(!_PyObject_IsFreed((PyObject *)type));
  ------------------
  |  |  863|  2.25k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (863:14): [True: 0, False: 2.25k]
  |  |  |  Branch (863:103): [Folded, False: 2.25k]
  |  |  ------------------
  ------------------
  866|       |
  867|  2.25k|    if (!(type->tp_flags & Py_TPFLAGS_READY)) {
  ------------------
  |  |  518|  2.25k|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (867:9): [True: 496, False: 1.76k]
  ------------------
  868|       |        /* don't check static types before PyType_Ready() */
  869|    496|        return 1;
  870|    496|    }
  871|       |
  872|  1.76k|    CHECK(Py_REFCNT(type) >= 1);
  ------------------
  |  |  863|  1.76k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (863:14): [True: 0, False: 1.76k]
  |  |  |  Branch (863:103): [Folded, False: 1.76k]
  |  |  ------------------
  ------------------
  873|  1.76k|    CHECK(PyType_Check(type));
  ------------------
  |  |  863|  1.76k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (863:14): [True: 0, False: 1.76k]
  |  |  |  Branch (863:103): [Folded, False: 1.76k]
  |  |  ------------------
  ------------------
  874|       |
  875|  1.76k|    CHECK(!is_readying(type));
  ------------------
  |  |  863|  1.76k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (863:14): [True: 0, False: 1.76k]
  |  |  |  Branch (863:103): [Folded, False: 1.76k]
  |  |  ------------------
  ------------------
  876|  1.76k|    CHECK(lookup_tp_dict(type) != NULL);
  ------------------
  |  |  863|  1.76k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (863:14): [True: 0, False: 1.76k]
  |  |  |  Branch (863:103): [Folded, False: 1.76k]
  |  |  ------------------
  ------------------
  877|       |
  878|  1.76k|    if (type->tp_flags & Py_TPFLAGS_HAVE_GC) {
  ------------------
  |  |  524|  1.76k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (878:9): [True: 1.68k, False: 78]
  ------------------
  879|       |        // bpo-44263: tp_traverse is required if Py_TPFLAGS_HAVE_GC is set.
  880|       |        // Note: tp_clear is optional.
  881|  1.68k|        CHECK(type->tp_traverse != NULL);
  ------------------
  |  |  863|  1.68k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (863:14): [True: 0, False: 1.68k]
  |  |  |  Branch (863:103): [Folded, False: 1.68k]
  |  |  ------------------
  ------------------
  882|  1.68k|    }
  883|       |
  884|  1.76k|    if (type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION) {
  ------------------
  |  |  497|  1.76k|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  ------------------
  |  Branch (884:9): [True: 172, False: 1.59k]
  ------------------
  885|    172|        CHECK(type->tp_new == NULL);
  ------------------
  |  |  863|    172|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (863:14): [True: 0, False: 172]
  |  |  |  Branch (863:103): [Folded, False: 172]
  |  |  ------------------
  ------------------
  886|    172|        CHECK(PyDict_Contains(lookup_tp_dict(type), &_Py_ID(__new__)) == 0);
  ------------------
  |  |  863|    172|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (863:14): [True: 0, False: 172]
  |  |  |  Branch (863:103): [Folded, False: 172]
  |  |  ------------------
  ------------------
  887|    172|    }
  888|       |
  889|  1.76k|    return 1;
  890|  1.76k|#undef CHECK
  891|  1.76k|}
_PyType_GetDocFromInternalDoc:
  908|     23|{
  909|     23|    const char *doc = _PyType_DocWithoutSignature(name, internal_doc);
  910|       |
  911|     23|    if (!doc || *doc == '\0') {
  ------------------
  |  Branch (911:9): [True: 0, False: 23]
  |  Branch (911:17): [True: 0, False: 23]
  ------------------
  912|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  913|      0|    }
  914|       |
  915|     23|    return PyUnicode_FromString(doc);
  916|     23|}
_PyType_Modified_Unlocked:
 1103|  1.28k|{
 1104|       |    /* Invalidate any cached data for the specified type and all
 1105|       |       subclasses.  This function is called after the base
 1106|       |       classes, mro, or attributes of the type are altered.
 1107|       |
 1108|       |       Invariants:
 1109|       |
 1110|       |       - before tp_version_tag can be set on a type,
 1111|       |         it must first be set on all super types.
 1112|       |
 1113|       |       This function clears the tp_version_tag of a
 1114|       |       type (so it must first clear it on all subclasses).  The
 1115|       |       tp_version_tag value is meaningless when equal to zero.
 1116|       |       We don't assign new version tags eagerly, but only as
 1117|       |       needed.
 1118|       |     */
 1119|  1.28k|    ASSERT_NEW_TYPE_OR_LOCKED(type);
 1120|       |#ifdef Py_GIL_DISABLED
 1121|       |    // This function is re-entrant and it's not safe to call it
 1122|       |    // with the world stopped.
 1123|       |    assert(!types_world_is_stopped());
 1124|       |#endif
 1125|  1.28k|    if (type->tp_version_tag == 0) {
  ------------------
  |  Branch (1125:9): [True: 1.07k, False: 213]
  ------------------
 1126|  1.07k|        return;
 1127|  1.07k|    }
 1128|       |    // Cannot modify static builtin types.
 1129|  1.28k|    assert((type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) == 0);
  ------------------
  |  Branch (1129:5): [True: 213, False: 0]
  ------------------
 1130|       |
 1131|    213|    PyObject *subclasses = lookup_tp_subclasses(type);
 1132|    213|    if (subclasses != NULL) {
  ------------------
  |  Branch (1132:9): [True: 0, False: 213]
  ------------------
 1133|      0|        assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (1133:9): [True: 0, False: 0]
  ------------------
 1134|       |
 1135|      0|        Py_ssize_t i = 0;
 1136|      0|        PyObject *ref;
 1137|      0|        while (PyDict_Next(subclasses, &i, NULL, &ref)) {
  ------------------
  |  Branch (1137:16): [True: 0, False: 0]
  ------------------
 1138|      0|            PyTypeObject *subclass = type_from_ref(ref);
 1139|      0|            if (subclass == NULL) {
  ------------------
  |  Branch (1139:17): [True: 0, False: 0]
  ------------------
 1140|      0|                continue;
 1141|      0|            }
 1142|      0|            _PyType_Modified_Unlocked(subclass);
 1143|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1144|      0|        }
 1145|      0|    }
 1146|       |
 1147|       |    // Notify registered type watchers, if any
 1148|    213|    if (type->tp_watched) {
  ------------------
  |  Branch (1148:9): [True: 0, False: 213]
  ------------------
 1149|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 1150|      0|        int bits = type->tp_watched;
 1151|      0|        int i = 0;
 1152|      0|        while (bits) {
  ------------------
  |  Branch (1152:16): [True: 0, False: 0]
  ------------------
 1153|      0|            assert(i < TYPE_MAX_WATCHERS);
  ------------------
  |  Branch (1153:13): [True: 0, False: 0]
  ------------------
 1154|      0|            if (bits & 1) {
  ------------------
  |  Branch (1154:17): [True: 0, False: 0]
  ------------------
 1155|       |                // Note that PyErr_FormatUnraisable is potentially re-entrant
 1156|       |                // and the watcher callback might be too.
 1157|      0|                PyType_WatchCallback cb = interp->type_watchers[i];
 1158|      0|                if (cb && (cb(type) < 0)) {
  ------------------
  |  Branch (1158:21): [True: 0, False: 0]
  |  Branch (1158:27): [True: 0, False: 0]
  ------------------
 1159|      0|                    PyErr_FormatUnraisable(
 1160|      0|                        "Exception ignored in type watcher callback #%d for %R",
 1161|      0|                        i, type);
 1162|      0|                }
 1163|      0|            }
 1164|      0|            i++;
 1165|      0|            bits >>= 1;
 1166|      0|        }
 1167|      0|    }
 1168|       |
 1169|    213|    set_version_unlocked(type, 0); /* 0 is not a valid version tag */
 1170|    213|    _PyTypeCache_Invalidate(type);
 1171|    213|    if (PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    213|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1171:9): [True: 213, False: 0]
  ------------------
 1172|       |        // This field *must* be invalidated if the type is modified (see the
 1173|       |        // comment on struct _specialization_cache):
 1174|    213|        FT_ATOMIC_STORE_PTR_RELAXED(
  ------------------
  |  |  165|    213|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
 1175|    213|            ((PyHeapTypeObject *)type)->_spec_cache.getitem, NULL);
 1176|    213|    }
 1177|    213|}
PyType_Modified:
 1181|    124|{
 1182|       |    // Quick check without the lock held
 1183|    124|    if (FT_ATOMIC_LOAD_UINT_RELAXED(type->tp_version_tag) == 0) {
  ------------------
  |  |  192|    124|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  ------------------
  |  Branch (1183:9): [True: 124, False: 0]
  ------------------
 1184|    124|        return;
 1185|    124|    }
 1186|       |
 1187|      0|    BEGIN_TYPE_LOCK();
 1188|      0|    _PyType_Modified_Unlocked(type);
 1189|      0|    END_TYPE_LOCK();
 1190|      0|}
_PyType_SetVersion:
 1275|    388|{
 1276|    388|    BEGIN_TYPE_LOCK();
 1277|    388|    set_version_unlocked(tp, version);
 1278|    388|    END_TYPE_LOCK();
 1279|    388|}
_PyType_Name:
 1446|    244|{
 1447|    244|    assert(type->tp_name != NULL);
  ------------------
  |  Branch (1447:5): [True: 244, False: 0]
  ------------------
 1448|    244|    const char *s = strrchr(type->tp_name, '.');
 1449|    244|    if (s == NULL) {
  ------------------
  |  Branch (1449:9): [True: 106, False: 138]
  ------------------
 1450|    106|        s = type->tp_name;
 1451|    106|    }
 1452|    138|    else {
 1453|    138|        s++;
 1454|    138|    }
 1455|    244|    return s;
 1456|    244|}
_PyType_AllocNoTrack:
 2539|  10.0k|{
 2540|  10.0k|    PyObject *obj;
 2541|       |    /* The +1 on nitems is needed for most types but not all. We could save a
 2542|       |     * bit of space by allocating one less item in certain cases, depending on
 2543|       |     * the type. However, given the extra complexity (e.g. an additional type
 2544|       |     * flag to indicate when that is safe) it does not seem worth the memory
 2545|       |     * savings. An example type that doesn't need the +1 is a subclass of
 2546|       |     * tuple. See GH-100659 and GH-81381. */
 2547|  10.0k|    size_t size = _PyObject_VAR_SIZE(type, nitems+1);
 2548|       |
 2549|  10.0k|    const size_t presize = _PyType_PreHeaderSize(type);
 2550|  10.0k|    if (type->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  10.0k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2550:9): [True: 706, False: 9.36k]
  ------------------
 2551|    706|        assert(type->tp_itemsize == 0);
  ------------------
  |  Branch (2551:9): [True: 706, False: 0]
  ------------------
 2552|    706|        size += _PyInlineValuesSize(type);
 2553|    706|    }
 2554|  10.0k|    char *alloc = _PyObject_MallocWithType(type, size + presize);
 2555|  10.0k|    if (alloc  == NULL) {
  ------------------
  |  Branch (2555:9): [True: 0, False: 10.0k]
  ------------------
 2556|      0|        return PyErr_NoMemory();
 2557|      0|    }
 2558|  10.0k|    obj = (PyObject *)(alloc + presize);
 2559|  10.0k|    if (presize) {
  ------------------
  |  Branch (2559:9): [True: 10.0k, False: 44]
  ------------------
 2560|  10.0k|        ((PyObject **)alloc)[0] = NULL;
 2561|  10.0k|        ((PyObject **)alloc)[1] = NULL;
 2562|  10.0k|    }
 2563|  10.0k|    if (PyType_IS_GC(type)) {
  ------------------
  |  |  157|  10.0k|#define PyType_IS_GC(t) PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  10.0k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (157:25): [True: 10.0k, False: 44]
  |  |  ------------------
  ------------------
 2564|  10.0k|        _PyObject_GC_Link(obj);
 2565|  10.0k|    }
 2566|       |    // Zero out the object after the PyObject header. The header fields are
 2567|       |    // initialized by _PyObject_Init[Var]().
 2568|  10.0k|    memset((char *)obj + sizeof(PyObject), 0, size - sizeof(PyObject));
 2569|       |
 2570|  10.0k|    if (type->tp_itemsize == 0) {
  ------------------
  |  Branch (2570:9): [True: 9.42k, False: 641]
  ------------------
 2571|  9.42k|        _PyObject_Init(obj, type);
 2572|  9.42k|    }
 2573|    641|    else {
 2574|    641|        _PyObject_InitVar((PyVarObject *)obj, type, nitems);
 2575|    641|    }
 2576|  10.0k|    if (type->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  10.0k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2576:9): [True: 706, False: 9.36k]
  ------------------
 2577|    706|        _PyObject_InitInlineValues(obj, type);
 2578|    706|    }
 2579|  10.0k|    return obj;
 2580|  10.0k|}
PyType_GenericAlloc:
 2584|  9.51k|{
 2585|  9.51k|    PyObject *obj = _PyType_AllocNoTrack(type, nitems);
 2586|  9.51k|    if (obj == NULL) {
  ------------------
  |  Branch (2586:9): [True: 0, False: 9.51k]
  ------------------
 2587|      0|        return NULL;
 2588|      0|    }
 2589|       |
 2590|  9.51k|    if (_PyType_IS_GC(type)) {
  ------------------
  |  Branch (2590:9): [True: 9.47k, False: 44]
  ------------------
 2591|  9.47k|        _PyObject_GC_TRACK(obj);
  ------------------
  |  |  502|  9.47k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2592|  9.47k|    }
 2593|  9.51k|    return obj;
 2594|  9.51k|}
PyType_GenericNew:
 2598|    217|{
 2599|    217|    return type->tp_alloc(type, 0);
 2600|    217|}
PyType_IsSubtype:
 2960|  82.9k|{
 2961|  82.9k|    return is_subtype_with_mro(a->tp_mro, a, b);
 2962|  82.9k|}
_PyObject_LookupSpecial:
 2981|  3.48k|{
 2982|  3.48k|    PyObject *res;
 2983|       |
 2984|  3.48k|    res = _PyType_LookupRef(Py_TYPE(self), attr);
  ------------------
  |  |  213|  3.48k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2985|  3.48k|    if (res != NULL) {
  ------------------
  |  Branch (2985:9): [True: 170, False: 3.31k]
  ------------------
 2986|    170|        descrgetfunc f;
 2987|    170|        if ((f = Py_TYPE(res)->tp_descr_get) != NULL) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2987:13): [True: 170, False: 0]
  ------------------
 2988|    170|            Py_SETREF(res, f(res, self, (PyObject *)(Py_TYPE(self))));
  ------------------
  |  |  545|    170|    do { \
  |  |  546|    170|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    170|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|    170|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    170|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|    170|        *_tmp_dst_ptr = (src); \
  |  |  549|    170|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|    170|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 170]
  |  |  ------------------
  ------------------
 2989|    170|        }
 2990|    170|    }
 2991|  3.48k|    return res;
 2992|  3.48k|}
_PyObject_LookupSpecialMethod:
 3006|  1.15k|{
 3007|  1.15k|    PyObject *self_o = PyStackRef_AsPyObjectBorrow(*self);
 3008|  1.15k|    _PyType_LookupStackRefAndVersion(Py_TYPE(self_o), attr, method);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3009|  1.15k|    PyObject *method_o = PyStackRef_AsPyObjectBorrow(*method);
 3010|  1.15k|    if (method_o == NULL) {
  ------------------
  |  Branch (3010:9): [True: 0, False: 1.15k]
  ------------------
 3011|      0|        return 0;
 3012|      0|    }
 3013|       |
 3014|  1.15k|    if (_PyType_HasFeature(Py_TYPE(method_o), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyType_HasFeature(Py_TYPE(method_o), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|  1.15k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (3014:9): [True: 1.15k, False: 0]
  ------------------
 3015|       |        /* Avoid temporary PyMethodObject */
 3016|  1.15k|        return 1;
 3017|  1.15k|    }
 3018|       |
 3019|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3020|      0|    if (f != NULL) {
  ------------------
  |  Branch (3020:9): [True: 0, False: 0]
  ------------------
 3021|      0|        PyObject *func = f(method_o, self_o, (PyObject *)(Py_TYPE(self_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3022|      0|        if (func == NULL) {
  ------------------
  |  Branch (3022:13): [True: 0, False: 0]
  ------------------
 3023|      0|            return -1;
 3024|      0|        }
 3025|      0|        PyStackRef_CLEAR(*method); // 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]
  |  |  ------------------
  ------------------
 3026|      0|        *method = PyStackRef_FromPyObjectSteal(func);
 3027|      0|    }
 3028|      0|    PyStackRef_CLEAR(*self); // 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]
  |  |  ------------------
  ------------------
 3029|      0|    return 1;
 3030|      0|}
PyType_GetFlags:
 4086|    268|{
 4087|    268|    return type->tp_flags;
 4088|    268|}
_PyType_CalculateMetaclass:
 4101|    643|{
 4102|    643|    Py_ssize_t i, nbases;
 4103|    643|    PyTypeObject *winner;
 4104|    643|    PyObject *tmp;
 4105|    643|    PyTypeObject *tmptype;
 4106|       |
 4107|       |    /* Determine the proper metatype to deal with this,
 4108|       |       and check for metatype conflicts while we're at it.
 4109|       |       Note that if some other metatype wins to contract,
 4110|       |       it's possible that its instances are not types. */
 4111|       |
 4112|    643|    nbases = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|    643|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    643|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    643|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4113|    643|    winner = metatype;
 4114|  1.24k|    for (i = 0; i < nbases; i++) {
  ------------------
  |  Branch (4114:17): [True: 606, False: 643]
  ------------------
 4115|    606|        tmp = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|    606|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    606|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    606|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4115:15): [True: 606, False: 0]
  ------------------
 4116|    606|        tmptype = Py_TYPE(tmp);
  ------------------
  |  |  213|    606|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    606|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    606|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4117|    606|        if (PyType_IsSubtype(winner, tmptype)) {
  ------------------
  |  Branch (4117:13): [True: 598, False: 8]
  ------------------
 4118|    598|            continue;
 4119|    598|        }
 4120|      8|        if (PyType_IsSubtype(tmptype, winner)) {
  ------------------
  |  Branch (4120:13): [True: 8, False: 0]
  ------------------
 4121|      8|            winner = tmptype;
 4122|      8|            continue;
 4123|      8|        }
 4124|       |        /* else: */
 4125|      0|        PyErr_SetString(PyExc_TypeError,
 4126|      0|                        "metaclass conflict: "
 4127|      0|                        "the metaclass of a derived class "
 4128|      0|                        "must be a (non-strict) subclass "
 4129|      0|                        "of the metaclasses of all its bases");
 4130|      0|        return NULL;
 4131|      8|    }
 4132|    643|    return winner;
 4133|    643|}
PyType_FromMetaclass:
 5808|      5|{
 5809|       |    return type_from_slots_or_spec(NULL, spec, metaclass, module, bases);
 5810|      5|}
PyType_FromModuleAndSpec:
 5814|     78|{
 5815|     78|    return type_from_slots_or_spec(NULL, spec, NULL, module, bases);
 5816|     78|}
PyType_FromSpecWithBases:
 5820|     18|{
 5821|     18|    return type_from_slots_or_spec(NULL, spec, NULL, NULL, bases);
 5822|     18|}
PyType_FromSpec:
 5826|     20|{
 5827|     20|    return type_from_slots_or_spec(NULL, spec, NULL, NULL, NULL);
 5828|     20|}
PyType_GetSlot:
 5850|     37|{
 5851|     37|    uint16_t slot = _PySlot_resolve_type_slot(slot_in);
 5852|     37|    return _PySlot_type_getslot(type, slot);
 5853|     37|}
PyType_GetModule:
 5868|      1|{
 5869|      1|    assert(PyType_Check(type));
  ------------------
  |  Branch (5869:5): [True: 1, False: 0]
  ------------------
 5870|      1|    if (!_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|      1|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5870:9): [True: 0, False: 1]
  ------------------
 5871|      0|        PyErr_Format(
 5872|      0|            PyExc_TypeError,
 5873|      0|            "PyType_GetModule: Type '%s' is not a heap type",
 5874|      0|            type->tp_name);
 5875|      0|        return NULL;
 5876|      0|    }
 5877|       |
 5878|      1|    PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 5879|      1|    if (!et->ht_module) {
  ------------------
  |  Branch (5879:9): [True: 0, False: 1]
  ------------------
 5880|      0|        PyErr_Format(
 5881|      0|            PyExc_TypeError,
 5882|      0|            "PyType_GetModule: Type '%s' has no associated module",
 5883|      0|            type->tp_name);
 5884|      0|        return NULL;
 5885|      0|    }
 5886|      1|    return et->ht_module;
 5887|      1|}
PyType_GetModuleByToken_DuringGC:
 5914|    123|{
 5915|    123|    assert(PyType_Check(type));
  ------------------
  |  Branch (5915:5): [True: 123, False: 0]
  ------------------
 5916|       |
 5917|    123|    if (!_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    123|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5917:9): [True: 0, False: 123]
  ------------------
 5918|       |        // type_ready_mro() ensures that no heap type is
 5919|       |        // contained in a static type MRO.
 5920|      0|        return NULL;
 5921|      0|    }
 5922|    123|    else {
 5923|    123|        PyHeapTypeObject *ht = (PyHeapTypeObject*)type;
 5924|    123|        PyObject *module = ht->ht_module;
 5925|    123|        if (module && _PyModule_GetToken(module) == token) {
  ------------------
  |  Branch (5925:13): [True: 123, False: 0]
  |  Branch (5925:23): [True: 123, False: 0]
  ------------------
 5926|    123|            return module;
 5927|    123|        }
 5928|    123|    }
 5929|       |
 5930|      0|    PyObject *res = NULL;
 5931|      0|    BEGIN_TYPE_LOCK();
 5932|       |
 5933|      0|    PyObject *mro = lookup_tp_mro(type);
 5934|       |    // The type must be ready
 5935|      0|    assert(mro != NULL);
  ------------------
  |  Branch (5935:5): [True: 0, False: 0]
  ------------------
 5936|      0|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (5936:5): [True: 0, False: 0]
  ------------------
 5937|       |    // mro_invoke() ensures that the type MRO cannot be empty.
 5938|      0|    assert(PyTuple_GET_SIZE(mro) >= 1);
  ------------------
  |  Branch (5938:5): [True: 0, False: 0]
  ------------------
 5939|       |    // Also, the first item in the MRO is the type itself, which
 5940|       |    // we already checked above. We skip it in the loop.
 5941|      0|    assert(PyTuple_GET_ITEM(mro, 0) == (PyObject *)type);
  ------------------
  |  Branch (5941:5): [True: 0, False: 0]
  |  Branch (5941:5): [True: 0, False: 0]
  ------------------
 5942|       |
 5943|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5944|      0|    for (Py_ssize_t i = 1; i < n; i++) {
  ------------------
  |  Branch (5944:28): [True: 0, False: 0]
  ------------------
 5945|      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 (5945:27): [True: 0, False: 0]
  ------------------
 5946|      0|        if (!_PyType_HasFeature((PyTypeObject *)super, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5946:13): [True: 0, False: 0]
  ------------------
 5947|       |            // Static types in the MRO need to be skipped
 5948|      0|            continue;
 5949|      0|        }
 5950|       |
 5951|      0|        PyHeapTypeObject *ht = (PyHeapTypeObject*)super;
 5952|      0|        PyObject *module = ht->ht_module;
 5953|      0|        if (module && _PyModule_GetToken(module) == token) {
  ------------------
  |  Branch (5953:13): [True: 0, False: 0]
  |  Branch (5953:23): [True: 0, False: 0]
  ------------------
 5954|      0|            res = module;
 5955|      0|            break;
 5956|      0|        }
 5957|      0|    }
 5958|      0|    END_TYPE_LOCK();
 5959|       |
 5960|      0|    return res;
 5961|      0|}
PyType_GetModuleByDef:
 5971|    123|{
 5972|    123|    PyObject *mod = PyType_GetModuleByToken_DuringGC(type, def);
 5973|    123|    if (!mod) {
  ------------------
  |  Branch (5973:9): [True: 0, False: 123]
  ------------------
 5974|      0|        PyErr_Format(
 5975|      0|            PyExc_TypeError,
 5976|      0|            "PyType_GetModuleByDef: No superclass of '%s' has the given module",
 5977|      0|            type->tp_name);
 5978|      0|        return NULL;
 5979|      0|    }
 5980|    123|    return mod;
 5981|    123|}
PyObject_GetItemData:
 6133|    709|{
 6134|       |    return getitemdata(obj, true);
 6135|    709|}
_PyType_LookupRefAndVersion:
 6265|  5.31k|{
 6266|  5.31k|    _PyStackRef out;
 6267|  5.31k|    unsigned int ver = _PyType_LookupStackRefAndVersion(type, name, &out);
 6268|  5.31k|    if (version) {
  ------------------
  |  Branch (6268:9): [True: 997, False: 4.32k]
  ------------------
 6269|    997|        *version = ver;
 6270|    997|    }
 6271|  5.31k|    if (PyStackRef_IsNull(out)) {
  ------------------
  |  |  482|  5.31k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  5.31k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  5.31k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 4.40k, False: 919]
  |  |  ------------------
  ------------------
 6272|  4.40k|        return NULL;
 6273|  4.40k|    }
 6274|    919|    return PyStackRef_AsPyObjectSteal(out);
 6275|  5.31k|}
_PyType_LookupStackRefAndVersion:
 6287|  27.7k|{
 6288|  27.7k|    int cacheable = MCACHE_CACHEABLE_NAME(name);
  ------------------
  |  |   44|  27.7k|#define MCACHE_CACHEABLE_NAME(name) (PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name))
  |  |  ------------------
  |  |  |  |  104|  27.7k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  55.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  27.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  27.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 27.7k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MCACHE_CACHEABLE_NAME(name) (PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name))
  |  |  ------------------
  |  |  |  |  215|  27.7k|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  27.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  27.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:38): [True: 27.5k, False: 187]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6289|  27.7k|    if (cacheable) {
  ------------------
  |  Branch (6289:9): [True: 27.5k, False: 187]
  ------------------
 6290|  27.5k|        struct _PyTypeCacheLookupResult r = _PyTypeCache_Lookup(type, name);
 6291|  27.5k|        if (r.cache_hit) {
  ------------------
  |  Branch (6291:13): [True: 23.4k, False: 4.18k]
  ------------------
 6292|  23.4k|            OBJECT_STAT_INC_COND(type_cache_hits, !is_dunder_name(name));
  ------------------
  |  |   78|  23.4k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6293|  23.4k|            OBJECT_STAT_INC_COND(type_cache_dunder_hits, is_dunder_name(name));
  ------------------
  |  |   78|  23.4k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6294|  23.4k|            *out = r.value;
 6295|  23.4k|            return r.version_tag;
 6296|  23.4k|        }
 6297|  27.5k|    }
 6298|  4.37k|    OBJECT_STAT_INC_COND(type_cache_misses, !is_dunder_name(name));
  ------------------
  |  |   78|  4.37k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6299|  4.37k|    OBJECT_STAT_INC_COND(type_cache_dunder_misses, is_dunder_name(name));
  ------------------
  |  |   78|  4.37k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6300|       |
 6301|       |    /* We may end up clearing live exceptions below, so make sure it's ours. */
 6302|  4.37k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (6302:5): [True: 4.37k, False: 0]
  ------------------
 6303|       |
 6304|  4.37k|    int res;
 6305|  4.37k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 6306|       |
 6307|  4.37k|    unsigned int version_tag = FT_ATOMIC_LOAD_UINT(type->tp_version_tag);
  ------------------
  |  |  191|  4.37k|#define FT_ATOMIC_LOAD_UINT(value) value
  ------------------
 6308|  4.37k|    if (cacheable &&
  ------------------
  |  Branch (6308:9): [True: 4.18k, False: 187]
  ------------------
 6309|  4.18k|        (version_tag != 0 || should_assign_version_tag(type, name, version_tag)))
  ------------------
  |  Branch (6309:10): [True: 3.56k, False: 617]
  |  Branch (6309:30): [True: 617, False: 0]
  ------------------
 6310|  4.18k|    {
 6311|  4.18k|        BEGIN_TYPE_LOCK();
 6312|  4.18k|        version_tag = type->tp_version_tag;
 6313|  4.18k|        if (version_tag == 0) {
  ------------------
  |  Branch (6313:13): [True: 617, False: 3.56k]
  ------------------
 6314|    617|            assign_version_tag(interp, type);
 6315|    617|            version_tag = type->tp_version_tag;
 6316|    617|        }
 6317|  4.18k|        res = find_name_in_mro(type, name, out);
 6318|       |        // find_name_in_mro can release the type lock and another thread can
 6319|       |        // modify the type, so we need to check version tag again before caching the result.
 6320|  4.18k|        if (res >= 0 && version_tag != 0 && version_tag == type->tp_version_tag) {
  ------------------
  |  Branch (6320:13): [True: 4.18k, False: 0]
  |  Branch (6320:25): [True: 3.90k, False: 282]
  |  Branch (6320:45): [True: 3.90k, False: 0]
  ------------------
 6321|  3.90k|            _PyTypeCache_Insert(type, name, PyStackRef_AsPyObjectBorrow(*out));
 6322|  3.90k|        }
 6323|  4.18k|        END_TYPE_LOCK();
 6324|  4.18k|    }
 6325|    187|    else {
 6326|    187|        version_tag = 0;
 6327|    187|        res = find_name_in_mro(type, name, out);
 6328|    187|    }
 6329|       |
 6330|       |    /* Only put NULL results into cache if there was no error. */
 6331|  4.37k|    if (res < 0) {
  ------------------
  |  Branch (6331:9): [True: 0, False: 4.37k]
  ------------------
 6332|      0|        *out = PyStackRef_NULL;
 6333|      0|        return 0;
 6334|      0|    }
 6335|       |
 6336|  4.37k|    return version_tag;
 6337|  4.37k|}
_PyType_LookupRef:
 6344|  4.03k|{
 6345|       |    return _PyType_LookupRefAndVersion(type, name, NULL);
 6346|  4.03k|}
_PyType_Lookup:
 6352|    289|{
 6353|    289|    PyObject *res = _PyType_LookupRefAndVersion(type, name, NULL);
 6354|    289|    Py_XDECREF(res);
  ------------------
  |  |  621|    289|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    289|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    289|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6355|    289|    return res;
 6356|    289|}
_PyType_CacheInitForSpecialization:
 6361|     11|{
 6362|     11|    if (!init || !tp_version) {
  ------------------
  |  Branch (6362:9): [True: 0, False: 11]
  |  Branch (6362:18): [True: 0, False: 11]
  ------------------
 6363|      0|        return 0;
 6364|      0|    }
 6365|     11|    int can_cache;
 6366|     11|    BEGIN_TYPE_LOCK();
 6367|     11|    can_cache = ((PyTypeObject*)type)->tp_version_tag == tp_version;
 6368|       |    #ifdef Py_GIL_DISABLED
 6369|       |    can_cache = can_cache && _PyObject_HasDeferredRefcount(init);
 6370|       |    #endif
 6371|     11|    if (can_cache) {
  ------------------
  |  Branch (6371:9): [True: 11, False: 0]
  ------------------
 6372|     11|        FT_ATOMIC_STORE_PTR_RELEASE(type->_spec_cache.init, init);
  ------------------
  |  |  166|     11|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 6373|     11|    }
 6374|     11|    END_TYPE_LOCK();
 6375|     11|    return can_cache;
 6376|     11|}
_PyType_CacheGetItemForSpecialization:
 6380|      6|{
 6381|      6|    if (!descriptor || !tp_version) {
  ------------------
  |  Branch (6381:9): [True: 0, False: 6]
  |  Branch (6381:24): [True: 0, False: 6]
  ------------------
 6382|      0|        return 0;
 6383|      0|    }
 6384|      6|    int can_cache;
 6385|      6|    BEGIN_TYPE_LOCK();
 6386|      6|    can_cache = ((PyTypeObject*)ht)->tp_version_tag == tp_version;
 6387|       |    // This pointer is invalidated by PyType_Modified (see the comment on
 6388|       |    // struct _specialization_cache):
 6389|      6|    PyFunctionObject *func = (PyFunctionObject *)descriptor;
 6390|      6|    uint32_t version = _PyFunction_GetVersionForCurrentState(func);
 6391|      6|    can_cache = can_cache && _PyFunction_IsVersionValid(version);
  ------------------
  |  Branch (6391:17): [True: 6, False: 0]
  |  Branch (6391:30): [True: 6, False: 0]
  ------------------
 6392|       |#ifdef Py_GIL_DISABLED
 6393|       |    can_cache = can_cache && _PyObject_HasDeferredRefcount(descriptor);
 6394|       |#endif
 6395|      6|    if (can_cache) {
  ------------------
  |  Branch (6395:9): [True: 6, False: 0]
  ------------------
 6396|      6|        FT_ATOMIC_STORE_PTR_RELEASE(ht->_spec_cache.getitem, descriptor);
  ------------------
  |  |  166|      6|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 6397|      6|        FT_ATOMIC_STORE_UINT32_RELAXED(ht->_spec_cache.getitem_version, version);
  ------------------
  |  |  175|      6|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 6398|      6|    }
 6399|      6|    END_TYPE_LOCK();
 6400|      6|    return can_cache;
 6401|      6|}
_PyType_SetFlags:
 6405|      4|{
 6406|      4|    unsigned long new_flags = (self->tp_flags & ~mask) | flags;
 6407|      4|    if (new_flags != self->tp_flags) {
  ------------------
  |  Branch (6407:9): [True: 4, False: 0]
  ------------------
 6408|      4|        types_stop_world();
 6409|       |        // can't use new_flags here since they could be out-of-date
 6410|      4|        self->tp_flags = (self->tp_flags & ~mask) | flags;
 6411|      4|        types_start_world();
 6412|      4|    }
 6413|      4|}
_PyType_Validate:
 6417|      4|{
 6418|      4|    int err;
 6419|      4|    BEGIN_TYPE_LOCK();
 6420|      4|    err = validate(ty);
 6421|      4|    if (!err) {
  ------------------
  |  Branch (6421:9): [True: 0, False: 4]
  ------------------
 6422|      0|        if(assign_version_tag(_PyInterpreterState_GET(), ty)) {
  ------------------
  |  Branch (6422:12): [True: 0, False: 0]
  ------------------
 6423|      0|            *tp_version = ty->tp_version_tag;
 6424|      0|        }
 6425|      0|        else {
 6426|      0|            err = -1;
 6427|      0|        }
 6428|      0|    }
 6429|      4|    END_TYPE_LOCK();
 6430|      4|    return err;
 6431|      4|}
_PyType_SetFlagsRecursive:
 6458|     27|{
 6459|     27|    BEGIN_TYPE_LOCK();
 6460|       |    // Immutable/static-builtin types are skipped because
 6461|       |    // set_flags_recursive() does not modify them.
 6462|     27|    int modified = (!PyType_HasFeature(self, Py_TPFLAGS_IMMUTABLETYPE) &&
  ------------------
  |  |  500|     27|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6462:21): [True: 0, False: 27]
  ------------------
 6463|      0|                    (self->tp_flags & mask) != flags);
  ------------------
  |  Branch (6463:21): [True: 0, False: 0]
  ------------------
 6464|     27|    types_stop_world();
 6465|     27|    set_flags_recursive(self, mask, flags);
 6466|     27|    types_start_world();
 6467|       |    // Invalidate the version tags after update, while TYPE_LOCK is
 6468|       |    // still held.
 6469|     27|    ASSERT_TYPE_LOCK_HELD();
 6470|     27|    if (modified) {
  ------------------
  |  Branch (6470:9): [True: 0, False: 27]
  ------------------
 6471|      0|        _PyType_Modified_Unlocked(self);
 6472|      0|    }
 6473|     27|    END_TYPE_LOCK();
 6474|     27|}
_Py_type_getattro_impl:
 6490|  1.74k|{
 6491|  1.74k|    _PyStackRef ref = _Py_type_getattro_stackref(type, name, suppress_missing_attribute);
 6492|  1.74k|    if (PyStackRef_IsNull(ref)) {
  ------------------
  |  |  482|  1.74k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  1.74k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.74k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 54, False: 1.69k]
  |  |  ------------------
  ------------------
 6493|     54|        return NULL;
 6494|     54|    }
 6495|  1.69k|    return PyStackRef_AsPyObjectSteal(ref);
 6496|  1.74k|}
_Py_type_getattro:
 6502|  1.06k|{
 6503|  1.06k|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|  1.06k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6504|       |    return _Py_type_getattro_impl(type, name, NULL);
 6505|  1.06k|}
_Py_type_getattro_stackref:
 6520|  3.05k|{
 6521|  3.05k|    PyTypeObject *metatype = Py_TYPE(type);
  ------------------
  |  |  213|  3.05k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6522|  3.05k|    descrgetfunc meta_get = NULL;
 6523|       |
 6524|  3.05k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  3.05k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.05k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (6524:9): [True: 0, False: 3.05k]
  ------------------
 6525|      0|        PyErr_Format(PyExc_TypeError,
 6526|      0|                     "attribute name must be string, not '%.200s'",
 6527|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6528|      0|        return PyStackRef_NULL;
 6529|      0|    }
 6530|       |
 6531|       |    /* Initialize this type (we'll assume the metatype is initialized) */
 6532|  3.05k|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (6532:9): [True: 0, False: 3.05k]
  ------------------
 6533|      0|        if (PyType_Ready(type) < 0)
  ------------------
  |  Branch (6533:13): [True: 0, False: 0]
  ------------------
 6534|      0|            return PyStackRef_NULL;
 6535|      0|    }
 6536|       |
 6537|       |    /* Set up GC-visible stack refs */
 6538|  3.05k|    _PyCStackRef result_ref, meta_attribute_ref, attribute_ref;
 6539|  3.05k|    PyThreadState *tstate = _PyThreadState_GET();
 6540|  3.05k|    _PyThreadState_PushCStackRef(tstate, &result_ref);
 6541|  3.05k|    _PyThreadState_PushCStackRef(tstate, &meta_attribute_ref);
 6542|  3.05k|    _PyThreadState_PushCStackRef(tstate, &attribute_ref);
 6543|       |
 6544|       |    /* Look for the attribute in the metatype */
 6545|  3.05k|    _PyType_LookupStackRefAndVersion(metatype, name, &meta_attribute_ref.ref);
 6546|       |
 6547|  3.05k|    if (!PyStackRef_IsNull(meta_attribute_ref.ref)) {
  ------------------
  |  |  482|  3.05k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  3.05k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.05k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6547:9): [True: 1.76k, False: 1.28k]
  ------------------
 6548|  1.76k|        PyObject *meta_attr_obj = PyStackRef_AsPyObjectBorrow(meta_attribute_ref.ref);
 6549|  1.76k|        meta_get = Py_TYPE(meta_attr_obj)->tp_descr_get;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6550|       |
 6551|  1.76k|        if (meta_get != NULL && PyDescr_IsData(meta_attr_obj)) {
  ------------------
  |  Branch (6551:13): [True: 1.43k, False: 338]
  |  Branch (6551:33): [True: 833, False: 597]
  ------------------
 6552|       |            /* Data descriptors implement tp_descr_set to intercept
 6553|       |             * writes. Assume the attribute is not overridden in
 6554|       |             * type's tp_dict (and bases): call the descriptor now.
 6555|       |             */
 6556|    833|            PyObject *res = meta_get(meta_attr_obj, (PyObject *)type,
 6557|    833|                                     (PyObject *)metatype);
 6558|    833|            if (res != NULL) {
  ------------------
  |  Branch (6558:17): [True: 809, False: 24]
  ------------------
 6559|    809|                result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6560|    809|            }
 6561|    833|            goto done;
 6562|    833|        }
 6563|  1.76k|    }
 6564|       |
 6565|       |    /* No data descriptor found on metatype. Look in tp_dict of this
 6566|       |     * type and its bases */
 6567|  2.21k|    _PyType_LookupStackRefAndVersion(type, name, &attribute_ref.ref);
 6568|  2.21k|    if (!PyStackRef_IsNull(attribute_ref.ref)) {
  ------------------
  |  |  482|  2.21k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  2.21k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.21k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6568:9): [True: 2.05k, False: 165]
  ------------------
 6569|       |        /* Implement descriptor functionality, if any */
 6570|  2.05k|        PyObject *attr_obj = PyStackRef_AsPyObjectBorrow(attribute_ref.ref);
 6571|  2.05k|        descrgetfunc local_get = Py_TYPE(attr_obj)->tp_descr_get;
  ------------------
  |  |  213|  2.05k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6572|       |
 6573|       |        /* Release meta_attribute early since we found in local dict */
 6574|  2.05k|        PyStackRef_CLEAR(meta_attribute_ref.ref);
  ------------------
  |  |  732|  2.05k|    do { \
  |  |  733|  2.05k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  2.05k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  2.05k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  2.05k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  2.05k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 2.05k]
  |  |  ------------------
  ------------------
 6575|       |
 6576|  2.05k|        if (local_get != NULL) {
  ------------------
  |  Branch (6576:13): [True: 1.74k, False: 305]
  ------------------
 6577|       |            /* Special case staticmethod to avoid descriptor call overhead.
 6578|       |             * staticmethod.__get__ just returns the wrapped callable. */
 6579|  1.74k|            if (Py_TYPE(attr_obj) == &PyStaticMethod_Type) {
  ------------------
  |  |  213|  1.74k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6579:17): [True: 649, False: 1.09k]
  ------------------
 6580|    649|                PyObject *callable = _PyStaticMethod_GetFunc(attr_obj);
 6581|    649|                if (callable) {
  ------------------
  |  Branch (6581:21): [True: 649, False: 0]
  ------------------
 6582|    649|                    result_ref.ref = PyStackRef_FromPyObjectNew(callable);
  ------------------
  |  |  611|    649|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    649|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    649|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6583|    649|                    goto done;
 6584|    649|                }
 6585|    649|            }
 6586|       |            /* NULL 2nd argument indicates the descriptor was
 6587|       |             * found on the target object itself (or a base)  */
 6588|  1.09k|            PyObject *res = local_get(attr_obj, (PyObject *)NULL,
 6589|  1.09k|                                      (PyObject *)type);
 6590|  1.09k|            if (res != NULL) {
  ------------------
  |  Branch (6590:17): [True: 1.09k, False: 0]
  ------------------
 6591|  1.09k|                result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6592|  1.09k|            }
 6593|  1.09k|            goto done;
 6594|  1.74k|        }
 6595|       |
 6596|       |        /* No descriptor, return the attribute directly */
 6597|    305|        result_ref.ref = attribute_ref.ref;
 6598|    305|        attribute_ref.ref = PyStackRef_NULL;
 6599|    305|        goto done;
 6600|  2.05k|    }
 6601|       |
 6602|       |    /* No attribute found in local __dict__ (or bases): use the
 6603|       |     * descriptor from the metatype, if any */
 6604|    165|    if (meta_get != NULL) {
  ------------------
  |  Branch (6604:9): [True: 133, False: 32]
  ------------------
 6605|    133|        PyObject *meta_attr_obj = PyStackRef_AsPyObjectBorrow(meta_attribute_ref.ref);
 6606|    133|        PyObject *res = meta_get(meta_attr_obj, (PyObject *)type,
 6607|    133|                                 (PyObject *)metatype);
 6608|    133|        if (res != NULL) {
  ------------------
  |  Branch (6608:13): [True: 133, False: 0]
  ------------------
 6609|    133|            result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6610|    133|        }
 6611|    133|        goto done;
 6612|    133|    }
 6613|       |
 6614|       |    /* If an ordinary attribute was found on the metatype, return it now */
 6615|     32|    if (!PyStackRef_IsNull(meta_attribute_ref.ref)) {
  ------------------
  |  |  482|     32|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|     32|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     32|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6615:9): [True: 0, False: 32]
  ------------------
 6616|      0|        result_ref.ref = meta_attribute_ref.ref;
 6617|      0|        meta_attribute_ref.ref = PyStackRef_NULL;
 6618|      0|        goto done;
 6619|      0|    }
 6620|       |
 6621|       |    /* Give up */
 6622|     32|    if (suppress_missing_attribute == NULL) {
  ------------------
  |  Branch (6622:9): [True: 2, False: 30]
  ------------------
 6623|      2|        PyErr_Format(PyExc_AttributeError,
 6624|      2|                     "type object '%.100s' has no attribute '%U'",
 6625|      2|                     type->tp_name, name);
 6626|      2|    }
 6627|     30|    else {
 6628|       |        // signal the caller we have not set an PyExc_AttributeError and gave up
 6629|     30|        *suppress_missing_attribute = 1;
 6630|     30|    }
 6631|       |
 6632|  3.05k|done:
 6633|  3.05k|    _PyThreadState_PopCStackRef(tstate, &attribute_ref);
 6634|  3.05k|    _PyThreadState_PopCStackRef(tstate, &meta_attribute_ref);
 6635|  3.05k|    return _PyThreadState_PopCStackRefSteal(tstate, &result_ref);
 6636|     32|}
_Py_BaseObject_RichCompare:
 7514|     28|{
 7515|     28|    return object_richcompare(self, other, op);
 7516|     28|}
_PyType_AddMethod:
 8656|      2|{
 8657|      2|    return type_add_method(type, meth);
 8658|      2|}
_PyStaticType_InitForExtension:
 9727|     12|{
 9728|     12|    return init_static_type(interp, self, 0, ((self->tp_flags & Py_TPFLAGS_READY) == 0));
  ------------------
  |  |  518|     12|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
 9729|     12|}
_PyStaticType_InitBuiltin:
 9733|    400|{
 9734|    400|    return init_static_type(interp, self, 1, _Py_IsMainInterpreter(interp));
 9735|    400|}
_PyType_InitSlotDefs:
12334|      2|{
12335|      2|    if (!_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (12335:9): [True: 0, False: 2]
  ------------------
12336|      0|        return 0;
12337|      0|    }
12338|      2|    init_slotname_table();
12339|       |
12340|       |    /* Group the slotdefs by name: slotdefs_dups[i] lists the indices of
12341|       |       all slotdefs with the same name as slotdefs[i], in slotdefs order. */
12342|      2|    memset(slotdefs_dups, 0, sizeof(slotdefs_dups));
12343|    190|    for (Py_ssize_t idx = 0; slotdefs[idx].name_strobj != NULL; idx++) {
  ------------------
  |  Branch (12343:30): [True: 188, False: 2]
  ------------------
12344|    188|        assert(idx < 255);
  ------------------
  |  Branch (12344:9): [True: 188, False: 0]
  ------------------
12345|    188|        PyObject *name = slotdefs[idx].name_strobj;
12346|    188|        Py_ssize_t first = slotname_lookup(name, _PyObject_HashDictKey(name));
12347|    188|        assert(first >= 0 && first <= idx);
  ------------------
  |  Branch (12347:9): [True: 188, False: 0]
  |  Branch (12347:9): [True: 188, False: 0]
  ------------------
12348|    188|        uint8_t *data = slotdefs_dups[first];
12349|    188|        data[0] += 1;
12350|    188|        assert(data[0] < MAX_EQUIV);
  ------------------
  |  Branch (12350:9): [True: 188, False: 0]
  ------------------
12351|    188|        data[data[0]] = (uint8_t)idx;
12352|    188|    }
12353|    190|    for (Py_ssize_t idx = 0; slotdefs[idx].name_strobj != NULL; idx++) {
  ------------------
  |  Branch (12353:30): [True: 188, False: 2]
  ------------------
12354|    188|        PyObject *name = slotdefs[idx].name_strobj;
12355|    188|        Py_ssize_t first = slotname_lookup(name, _PyObject_HashDictKey(name));
12356|    188|        if (first != idx) {
  ------------------
  |  Branch (12356:13): [True: 26, False: 162]
  ------------------
12357|     26|            memcpy(slotdefs_dups[idx], slotdefs_dups[first],
12358|     26|                   sizeof(slotdefs_dups[idx]));
12359|     26|        }
12360|    188|    }
12361|      2|    return 0;
12362|      2|}
_PySuper_LookupDescr:
12725|    993|{
12726|    993|    PyObject *mro, *res;
12727|    993|    Py_ssize_t i, n;
12728|       |
12729|    993|    mro = lookup_tp_mro(su_obj_type);
12730|    993|    if (mro == NULL)
  ------------------
  |  Branch (12730:9): [True: 0, False: 993]
  ------------------
12731|      0|        return NULL;
12732|       |
12733|       |    /* Keep a strong reference to mro because su_obj_type->tp_mro can be
12734|       |       replaced during PyDict_GetItemRef(dict, name, &res). */
12735|    993|    PyThreadState *tstate = _PyThreadState_GET();
12736|    993|    _PyCStackRef mro_ref;
12737|    993|    _PyThreadState_PushCStackRefNew(tstate, &mro_ref, mro);
12738|       |
12739|    993|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (12739:5): [True: 993, False: 0]
  ------------------
12740|    993|    n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|    993|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    993|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    993|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12741|       |
12742|       |    /* No need to check the last one: it's gonna be skipped anyway.  */
12743|    995|    for (i = 0; i+1 < n; i++) {
  ------------------
  |  Branch (12743:17): [True: 995, False: 0]
  ------------------
12744|    995|        if ((PyObject *)(su_type) == PyTuple_GET_ITEM(mro, i))
  ------------------
  |  |   29|    995|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    995|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    995|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12744:13): [True: 993, False: 2]
  |  Branch (12744:38): [True: 995, False: 0]
  ------------------
12745|    993|            break;
12746|    995|    }
12747|    993|    i++;  /* skip su->type (if any)  */
12748|    993|    if (i >= n) {
  ------------------
  |  Branch (12748:9): [True: 0, False: 993]
  ------------------
12749|      0|        _PyThreadState_PopCStackRef(tstate, &mro_ref);
12750|      0|        return NULL;
12751|      0|    }
12752|       |
12753|  1.58k|    do {
12754|  1.58k|        PyObject *obj = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|  1.58k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.58k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12754:25): [True: 1.58k, False: 0]
  ------------------
12755|  1.58k|        PyObject *dict = lookup_tp_dict(_PyType_CAST(obj));
  ------------------
  |  |  770|  1.58k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (12755:41): [True: 1.58k, False: 0]
  ------------------
12756|  1.58k|        assert(dict != NULL && PyDict_Check(dict));
  ------------------
  |  Branch (12756:9): [True: 1.58k, False: 0]
  |  Branch (12756:9): [True: 1.58k, False: 0]
  ------------------
12757|       |
12758|  1.58k|        if (PyDict_GetItemRef(dict, name, &res) != 0) {
  ------------------
  |  Branch (12758:13): [True: 993, False: 591]
  ------------------
12759|       |            // found or error
12760|    993|            _PyThreadState_PopCStackRef(tstate, &mro_ref);
12761|    993|            return res;
12762|    993|        }
12763|       |
12764|    591|        i++;
12765|    591|    } while (i < n);
  ------------------
  |  Branch (12765:14): [True: 591, False: 0]
  ------------------
12766|      0|    _PyThreadState_PopCStackRef(tstate, &mro_ref);
12767|       |    return NULL;
12768|    993|}
_PySuper_Lookup:
12906|    603|{
12907|    603|    PyTypeObject *su_obj_type = supercheck(su_type, su_obj);
12908|    603|    if (su_obj_type == NULL) {
  ------------------
  |  Branch (12908:9): [True: 0, False: 603]
  ------------------
12909|      0|        return NULL;
12910|      0|    }
12911|    603|    PyObject *res = do_super_lookup(NULL, su_type, su_obj, su_obj_type, name, method);
12912|    603|    Py_DECREF(su_obj_type);
  ------------------
  |  |  430|    603|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    603|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    603|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12913|    603|    return res;
12914|    603|}
typeobject.c:managed_static_type_state_get:
  227|  49.7k|{
  228|       |    // It's probably a builtin type.
  229|  49.7k|    size_t index = managed_static_type_index_get(self);
  230|  49.7k|    managed_static_type_state *state =
  231|  49.7k|            &(interp->types.builtins.initialized[index]);
  232|  49.7k|    if (state->type == self) {
  ------------------
  |  Branch (232:9): [True: 49.4k, False: 320]
  ------------------
  233|  49.4k|        return state;
  234|  49.4k|    }
  235|    320|    if (index > _Py_MAX_MANAGED_STATIC_EXT_TYPES) {
  ------------------
  |  |  544|    320|#define _Py_MAX_MANAGED_STATIC_EXT_TYPES 10
  ------------------
  |  Branch (235:9): [True: 0, False: 320]
  ------------------
  236|      0|        return state;
  237|      0|    }
  238|    320|    return &(interp->types.for_extensions.initialized[index]);
  239|    320|}
typeobject.c:managed_static_type_index_get:
  181|  49.7k|{
  182|  49.7k|    assert(managed_static_type_index_is_set(self));
  ------------------
  |  Branch (182:5): [True: 49.7k, False: 0]
  ------------------
  183|       |    /* We store a 1-based index so 0 can mean "not initialized". */
  184|  49.7k|    return (size_t)self->tp_subclasses - 1;
  185|  49.7k|}
typeobject.c:managed_static_type_index_is_set:
  174|  50.1k|{
  175|       |    return self->tp_subclasses != NULL;
  176|  50.1k|}
typeobject.c:lookup_tp_dict:
  469|  45.1k|{
  470|  45.1k|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  45.1k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (470:9): [True: 25.8k, False: 19.2k]
  ------------------
  471|  25.8k|        PyInterpreterState *interp = _PyInterpreterState_GET();
  472|  25.8k|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  473|  25.8k|        assert(state != NULL);
  ------------------
  |  Branch (473:9): [True: 25.8k, False: 0]
  ------------------
  474|  25.8k|        return state->tp_dict;
  475|  25.8k|    }
  476|  19.2k|    return self->tp_dict;
  477|  45.1k|}
typeobject.c:lookup_tp_bases:
  522|  4.50k|{
  523|  4.50k|    return self->tp_bases;
  524|  4.50k|}
typeobject.c:lookup_tp_subclasses:
  709|  1.22k|{
  710|  1.22k|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.22k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (710:9): [True: 673, False: 551]
  ------------------
  711|    673|        PyInterpreterState *interp = _PyInterpreterState_GET();
  712|    673|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  713|    673|        assert(state != NULL);
  ------------------
  |  Branch (713:9): [True: 673, False: 0]
  ------------------
  714|    673|        return state->tp_subclasses;
  715|    673|    }
  716|    551|    return (PyObject *)self->tp_subclasses;
  717|  1.22k|}
typeobject.c:init_tp_subclasses:
  677|    159|{
  678|    159|    PyObject *subclasses = PyDict_New();
  679|    159|    if (subclasses == NULL) {
  ------------------
  |  Branch (679:9): [True: 0, False: 159]
  ------------------
  680|      0|        return NULL;
  681|      0|    }
  682|    159|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    159|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (682:9): [True: 71, False: 88]
  ------------------
  683|     71|        PyInterpreterState *interp = _PyInterpreterState_GET();
  684|     71|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  685|     71|        state->tp_subclasses = subclasses;
  686|     71|        return subclasses;
  687|     71|    }
  688|     88|    self->tp_subclasses = (void *)subclasses;
  689|     88|    return subclasses;
  690|    159|}
typeobject.c:get_subclasses_unlocked:
  753|     45|{
  754|     45|    ASSERT_TYPE_LOCK_HELD();
  755|       |
  756|     45|    PyObject *subclasses = lookup_tp_subclasses(self);  // borrowed ref
  757|     45|    if (subclasses == NULL) {
  ------------------
  |  Branch (757:9): [True: 45, False: 0]
  ------------------
  758|     45|        return 0;
  759|     45|    }
  760|     45|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (760:5): [True: 0, False: 0]
  ------------------
  761|       |    // The loop cannot modify tp_subclasses, there is no need
  762|       |    // to hold a strong reference (use a borrowed reference).
  763|       |
  764|      0|    Py_ssize_t i = 0;
  765|      0|    PyObject *ref;  // borrowed ref
  766|      0|    while (PyDict_Next(subclasses, &i, NULL, &ref)) {
  ------------------
  |  Branch (766:12): [True: 0, False: 0]
  ------------------
  767|      0|        PyTypeObject *subclass = type_from_ref(ref);
  768|      0|        if (subclass == NULL) {
  ------------------
  |  Branch (768:13): [True: 0, False: 0]
  ------------------
  769|      0|            continue;
  770|      0|        }
  771|       |
  772|      0|        int res = PyList_Append(list, _PyObject_CAST(subclass));
  ------------------
  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  773|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|      0|        if (res < 0) {
  ------------------
  |  Branch (774:13): [True: 0, False: 0]
  ------------------
  775|      0|            return -1;
  776|      0|        }
  777|      0|    }
  778|      0|    return 0;
  779|      0|}
typeobject.c:is_readying:
  454|  3.16k|{
  455|  3.16k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  3.16k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (455:9): [True: 824, False: 2.34k]
  ------------------
  456|    824|        PyInterpreterState *interp = _PyInterpreterState_GET();
  457|    824|        managed_static_type_state *state = managed_static_type_state_get(interp, type);
  458|    824|        assert(state != NULL);
  ------------------
  |  Branch (458:9): [True: 824, False: 0]
  ------------------
  459|    824|        return state->readying;
  460|    824|    }
  461|  2.34k|    return (type->tp_flags & Py_TPFLAGS_READYING) != 0;
  ------------------
  |  |  521|  2.34k|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  462|  3.16k|}
typeobject.c:_PyType_DocWithoutSignature:
  895|    485|{
  896|    485|    const char *doc = find_signature(name, internal_doc);
  897|       |
  898|    485|    if (doc) {
  ------------------
  |  Branch (898:9): [True: 217, False: 268]
  ------------------
  899|    217|        doc = skip_signature(doc);
  900|    217|        if (doc)
  ------------------
  |  Branch (900:13): [True: 193, False: 24]
  ------------------
  901|    193|            return doc;
  902|    217|        }
  903|    292|    return internal_doc;
  904|    485|}
typeobject.c:find_signature:
  816|    485|{
  817|    485|    const char *dot;
  818|    485|    size_t length;
  819|       |
  820|    485|    if (!doc)
  ------------------
  |  Branch (820:9): [True: 0, False: 485]
  ------------------
  821|      0|        return NULL;
  822|       |
  823|    485|    assert(name != NULL);
  ------------------
  |  Branch (823:5): [True: 485, False: 0]
  ------------------
  824|       |
  825|       |    /* for dotted names like classes, only use the last component */
  826|    485|    dot = strrchr(name, '.');
  827|    485|    if (dot)
  ------------------
  |  Branch (827:9): [True: 257, False: 228]
  ------------------
  828|    257|        name = dot + 1;
  829|       |
  830|    485|    length = strlen(name);
  831|    485|    if (strncmp(doc, name, length))
  ------------------
  |  Branch (831:9): [True: 236, False: 249]
  ------------------
  832|    236|        return NULL;
  833|    249|    doc += length;
  834|    249|    if (*doc != '(')
  ------------------
  |  Branch (834:9): [True: 32, False: 217]
  ------------------
  835|     32|        return NULL;
  836|    217|    return doc;
  837|    249|}
typeobject.c:skip_signature:
  847|    217|{
  848|  9.75k|    while (*doc) {
  ------------------
  |  Branch (848:12): [True: 9.74k, False: 8]
  ------------------
  849|  9.74k|        if ((*doc == *SIGNATURE_END_MARKER) &&
  ------------------
  |  |  839|  9.74k|#define SIGNATURE_END_MARKER         ")\n--\n\n"
  ------------------
  |  Branch (849:13): [True: 307, False: 9.43k]
  ------------------
  850|    307|            !strncmp(doc, SIGNATURE_END_MARKER, SIGNATURE_END_MARKER_LENGTH))
  ------------------
  |  |  839|    307|#define SIGNATURE_END_MARKER         ")\n--\n\n"
  ------------------
                          !strncmp(doc, SIGNATURE_END_MARKER, SIGNATURE_END_MARKER_LENGTH))
  ------------------
  |  |  840|    307|#define SIGNATURE_END_MARKER_LENGTH  6
  ------------------
  |  Branch (850:13): [True: 193, False: 114]
  ------------------
  851|    193|            return doc + SIGNATURE_END_MARKER_LENGTH;
  ------------------
  |  |  840|    193|#define SIGNATURE_END_MARKER_LENGTH  6
  ------------------
  852|  9.55k|        if ((*doc == '\n') && (doc[1] == '\n'))
  ------------------
  |  Branch (852:13): [True: 122, False: 9.43k]
  |  Branch (852:31): [True: 16, False: 106]
  ------------------
  853|     16|            return NULL;
  854|  9.53k|        doc++;
  855|  9.53k|    }
  856|      8|    return NULL;
  857|    217|}
typeobject.c:set_version_unlocked:
 1071|    982|{
 1072|    982|    assert(version == 0 || (tp->tp_versions_used != _Py_ATTR_CACHE_UNUSED));
  ------------------
  |  Branch (1072:5): [True: 213, False: 769]
  |  Branch (1072:5): [True: 769, False: 0]
  ------------------
 1073|    982|#ifndef Py_GIL_DISABLED
 1074|    982|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1075|       |    // lookup the old version and set to null
 1076|    982|    if (tp->tp_version_tag != 0) {
  ------------------
  |  Branch (1076:9): [True: 213, False: 769]
  ------------------
 1077|    213|        PyTypeObject **slot =
 1078|    213|            interp->types.type_version_cache
 1079|    213|            + (tp->tp_version_tag % TYPE_VERSION_CACHE_SIZE);
  ------------------
  |  |  583|    213|#define TYPE_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
 1080|    213|        *slot = NULL;
 1081|    213|    }
 1082|    982|    if (version) {
  ------------------
  |  Branch (1082:9): [True: 769, False: 213]
  ------------------
 1083|    769|        tp->tp_versions_used++;
 1084|    769|    }
 1085|       |#else
 1086|       |    if (version) {
 1087|       |        _Py_atomic_add_uint16(&tp->tp_versions_used, 1);
 1088|       |    }
 1089|       |#endif
 1090|    982|    FT_ATOMIC_STORE_UINT_RELAXED(tp->tp_version_tag, version);
  ------------------
  |  |  193|    982|#define FT_ATOMIC_STORE_UINT_RELAXED(value, new_value) value = new_value
  ------------------
 1091|    982|#ifndef Py_GIL_DISABLED
 1092|    982|    if (version != 0) {
  ------------------
  |  Branch (1092:9): [True: 769, False: 213]
  ------------------
 1093|    769|        PyTypeObject **slot =
 1094|    769|            interp->types.type_version_cache
 1095|    769|            + (version % TYPE_VERSION_CACHE_SIZE);
  ------------------
  |  |  583|    769|#define TYPE_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
 1096|    769|        *slot = tp;
 1097|    769|    }
 1098|    982|#endif
 1099|    982|}
typeobject.c:assign_version_tag:
 1347|  1.07k|{
 1348|  1.07k|    ASSERT_TYPE_LOCK_HELD();
 1349|       |
 1350|       |    /* Ensure that the tp_version_tag is valid.
 1351|       |     * To respect the invariant, this must first be done on all super classes.
 1352|       |     * Return 0 if this cannot be done, 1 if tp_version_tag is set.
 1353|       |    */
 1354|  1.07k|    if (type->tp_version_tag != 0) {
  ------------------
  |  Branch (1354:9): [True: 410, False: 663]
  ------------------
 1355|    410|        return 1;
 1356|    410|    }
 1357|    663|    if (!_PyType_HasFeature(type, Py_TPFLAGS_READY)) {
  ------------------
  |  |  518|    663|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (1357:9): [True: 282, False: 381]
  ------------------
 1358|    282|        return 0;
 1359|    282|    }
 1360|    381|    if (type->tp_versions_used >= MAX_VERSIONS_PER_CLASS) {
  ------------------
  |  | 1327|    381|#define MAX_VERSIONS_PER_CLASS 1000
  ------------------
  |  Branch (1360:9): [True: 0, False: 381]
  ------------------
 1361|       |        /* (this includes `tp_versions_used == _Py_ATTR_CACHE_UNUSED`) */
 1362|      0|        return 0;
 1363|      0|    }
 1364|       |
 1365|    381|    PyObject *bases = lookup_tp_bases(type);
 1366|    381|    Py_ssize_t n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|    381|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    381|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    381|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1367|    837|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1367:28): [True: 456, False: 381]
  ------------------
 1368|    456|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|    456|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    456|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    456|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1368:23): [True: 456, False: 0]
  ------------------
 1369|    456|        if (!assign_version_tag(interp, _PyType_CAST(b))) {
  ------------------
  |  |  770|    456|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    456|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1369:13): [True: 0, False: 456]
  |  Branch (1369:41): [True: 456, False: 0]
  ------------------
 1370|      0|            return 0;
 1371|      0|        }
 1372|    456|    }
 1373|    381|    if (type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    381|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1373:9): [True: 21, False: 360]
  ------------------
 1374|       |        /* static types */
 1375|     21|        unsigned int next_version_tag = next_global_version_tag();
 1376|     21|        if (next_version_tag == 0) {
  ------------------
  |  Branch (1376:13): [True: 0, False: 21]
  ------------------
 1377|       |            /* We have run out of version numbers */
 1378|      0|            return 0;
 1379|      0|        }
 1380|     21|        set_version_unlocked(type, next_version_tag);
 1381|     21|        assert (type->tp_version_tag <= _Py_MAX_GLOBAL_TYPE_VERSION_TAG);
  ------------------
  |  Branch (1381:9): [True: 21, False: 0]
  ------------------
 1382|     21|    }
 1383|    360|    else {
 1384|       |        /* heap types */
 1385|    360|        if (NEXT_VERSION_TAG(interp) == 0) {
  ------------------
  |  |   47|    360|    (interp)->types.next_version_tag
  ------------------
  |  Branch (1385:13): [True: 0, False: 360]
  ------------------
 1386|       |            /* We have run out of version numbers */
 1387|      0|            return 0;
 1388|      0|        }
 1389|    360|        set_version_unlocked(type, NEXT_VERSION_TAG(interp)++);
  ------------------
  |  |   47|    360|    (interp)->types.next_version_tag
  ------------------
 1390|    360|        assert (type->tp_version_tag != 0);
  ------------------
  |  Branch (1390:9): [True: 360, False: 0]
  ------------------
 1391|    360|    }
 1392|    381|    return 1;
 1393|    381|}
typeobject.c:next_global_version_tag:
 1334|    409|{
 1335|    409|    unsigned int old;
 1336|    409|    do {
 1337|    409|        old = _Py_atomic_load_uint_relaxed(&_PyRuntime.types.next_version_tag);
 1338|    409|        if (old >= _Py_MAX_GLOBAL_TYPE_VERSION_TAG) {
  ------------------
  |  |   35|    409|#define _Py_MAX_GLOBAL_TYPE_VERSION_TAG (_Py_TYPE_BASE_VERSION_TAG - 1)
  |  |  ------------------
  |  |  |  |   34|    409|#define _Py_TYPE_BASE_VERSION_TAG (2<<16)
  |  |  ------------------
  ------------------
  |  Branch (1338:13): [True: 0, False: 409]
  ------------------
 1339|      0|            return 0;
 1340|      0|        }
 1341|    409|    } while (!_Py_atomic_compare_exchange_uint(&_PyRuntime.types.next_version_tag, &old, old + 1));
  ------------------
  |  Branch (1341:14): [True: 0, False: 409]
  ------------------
 1342|    409|    return old + 1;
 1343|    409|}
typeobject.c:type_qualname:
 1473|     25|{
 1474|     25|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     25|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1475|     25|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|     25|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1475:9): [True: 2, False: 23]
  ------------------
 1476|      2|        PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 1477|      2|        return Py_NewRef(et->ht_qualname);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1478|      2|    }
 1479|     23|    else {
 1480|     23|        return PyUnicode_FromString(_PyType_Name(type));
 1481|     23|    }
 1482|     25|}
typeobject.c:type_module:
 1546|     25|{
 1547|     25|    PyObject *mod;
 1548|     25|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|     25|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1548:9): [True: 2, False: 23]
  ------------------
 1549|      2|        PyObject *dict = lookup_tp_dict(type);
 1550|      2|        if (PyDict_GetItemRef(dict, &_Py_ID(__module__), &mod) == 0) {
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1550:13): [True: 0, False: 2]
  ------------------
 1551|      0|            PyErr_Format(PyExc_AttributeError, "__module__");
 1552|      0|        }
 1553|      2|    }
 1554|     23|    else {
 1555|     23|        const char *s = strrchr(type->tp_name, '.');
 1556|     23|        if (s != NULL) {
  ------------------
  |  Branch (1556:13): [True: 17, False: 6]
  ------------------
 1557|     17|            mod = PyUnicode_FromStringAndSize(
 1558|     17|                type->tp_name, (Py_ssize_t)(s - type->tp_name));
 1559|     17|            if (mod != NULL) {
  ------------------
  |  Branch (1559:17): [True: 17, False: 0]
  ------------------
 1560|     17|                PyInterpreterState *interp = _PyInterpreterState_GET();
 1561|     17|                _PyUnicode_InternMortal(interp, &mod);
 1562|     17|            }
 1563|     17|        }
 1564|      6|        else {
 1565|      6|            mod = &_Py_ID(builtins);
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1566|      6|        }
 1567|     23|    }
 1568|     25|    return mod;
 1569|     25|}
typeobject.c:is_subtype_with_mro:
 2935|  97.9k|{
 2936|  97.9k|    int res;
 2937|  97.9k|    if (a_mro != NULL) {
  ------------------
  |  Branch (2937:9): [True: 95.9k, False: 2.08k]
  ------------------
 2938|       |        /* Deal with multiple inheritance without recursion
 2939|       |           by walking the MRO tuple */
 2940|  95.9k|        Py_ssize_t i, n;
 2941|  95.9k|        assert(PyTuple_Check(a_mro));
  ------------------
  |  Branch (2941:9): [True: 95.9k, False: 0]
  ------------------
 2942|  95.9k|        n = PyTuple_GET_SIZE(a_mro);
  ------------------
  |  |   27|  95.9k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  95.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  95.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2943|  95.9k|        res = 0;
 2944|   279k|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2944:21): [True: 198k, False: 80.3k]
  ------------------
 2945|   397k|            if (PyTuple_GET_ITEM(a_mro, i) == (PyObject *)b) {
  ------------------
  |  |   29|   198k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   198k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   198k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2945:17): [True: 198k, False: 0]
  |  Branch (2945:17): [True: 15.5k, False: 183k]
  ------------------
 2946|  15.5k|                res = 1;
 2947|  15.5k|                break;
 2948|  15.5k|            }
 2949|   198k|        }
 2950|  95.9k|    }
 2951|  2.08k|    else {
 2952|       |        /* a is not completely initialized yet; follow tp_base */
 2953|  2.08k|        res = type_is_subtype_base_chain(a, b);
 2954|  2.08k|    }
 2955|  97.9k|    return res;
 2956|  97.9k|}
typeobject.c:type_is_subtype_base_chain:
 2923|  2.08k|{
 2924|  2.09k|    do {
 2925|  2.09k|        if (a == b)
  ------------------
  |  Branch (2925:13): [True: 6, False: 2.08k]
  ------------------
 2926|      6|            return 1;
 2927|  2.08k|        a = a->tp_base;
 2928|  2.08k|    } while (a != NULL);
  ------------------
  |  Branch (2928:14): [True: 8, False: 2.08k]
  ------------------
 2929|       |
 2930|  2.08k|    return (b == &PyBaseObject_Type);
 2931|  2.08k|}
typeobject.c:maybe_call_special_no_args:
 3200|      4|{
 3201|      4|    PyThreadState *tstate = _PyThreadState_GET();
 3202|      4|    _PyCStackRef cref;
 3203|      4|    _PyThreadState_PushCStackRef(tstate, &cref);
 3204|       |
 3205|      4|    PyObject *res = NULL;
 3206|      4|    int unbound = lookup_maybe_method(self, attr, &cref.ref);
 3207|      4|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3208|      4|    if (attr_is_none != NULL) {
  ------------------
  |  Branch (3208:9): [True: 4, False: 0]
  ------------------
 3209|      4|        *attr_is_none = (func == Py_None);
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3210|      4|    }
 3211|      4|    if (func != NULL && (func != Py_None || attr_is_none == NULL)) {
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3211:9): [True: 4, False: 0]
  |  Branch (3211:26): [True: 4, False: 0]
  |  Branch (3211:45): [True: 0, False: 0]
  ------------------
 3212|      4|        res = call_unbound_noarg(unbound, func, self);
 3213|      4|    }
 3214|      4|    _PyThreadState_PopCStackRef(tstate, &cref);
 3215|      4|    return res;
 3216|      4|}
typeobject.c:lookup_maybe_method:
 3069|     12|{
 3070|     12|    return lookup_method_ex(self, attr, out, 0);
 3071|     12|}
typeobject.c:lookup_method_ex:
 3035|    672|{
 3036|    672|    _PyType_LookupStackRefAndVersion(Py_TYPE(self), attr, out);
  ------------------
  |  |  213|    672|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    672|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    672|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3037|    672|    if (PyStackRef_IsNull(*out)) {
  ------------------
  |  |  482|    672|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|    672|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    672|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 672]
  |  |  ------------------
  ------------------
 3038|      0|        if (raise_attribute_error) {
  ------------------
  |  Branch (3038:13): [True: 0, False: 0]
  ------------------
 3039|      0|            PyErr_SetObject(PyExc_AttributeError, attr);
 3040|      0|        }
 3041|      0|        return -1;
 3042|      0|    }
 3043|       |
 3044|    672|    PyObject *value = PyStackRef_AsPyObjectBorrow(*out);
 3045|    672|    if (_PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|    672|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    672|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    672|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|    672|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (3045:9): [True: 672, False: 0]
  ------------------
 3046|       |        /* Avoid temporary PyMethodObject */
 3047|    672|        return 1;
 3048|    672|    }
 3049|       |
 3050|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3051|      0|    if (f != NULL) {
  ------------------
  |  Branch (3051:9): [True: 0, False: 0]
  ------------------
 3052|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3053|      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]
  |  |  ------------------
  ------------------
 3054|      0|        if (value == NULL) {
  ------------------
  |  Branch (3054:13): [True: 0, False: 0]
  ------------------
 3055|      0|            if (!raise_attribute_error &&
  ------------------
  |  Branch (3055:17): [True: 0, False: 0]
  ------------------
 3056|      0|                PyErr_ExceptionMatches(PyExc_AttributeError))
  ------------------
  |  Branch (3056:17): [True: 0, False: 0]
  ------------------
 3057|      0|            {
 3058|      0|                PyErr_Clear();
 3059|      0|            }
 3060|      0|            return -1;
 3061|      0|        }
 3062|      0|        *out = PyStackRef_FromPyObjectSteal(value);
 3063|      0|    }
 3064|      0|    return 0;
 3065|      0|}
typeobject.c:call_unbound_noarg:
 3097|     84|{
 3098|     84|    if (unbound) {
  ------------------
  |  Branch (3098:9): [True: 84, False: 0]
  ------------------
 3099|     84|        return PyObject_CallOneArg(func, self);
 3100|     84|    }
 3101|      0|    else {
 3102|      0|        return _PyObject_CallNoArgs(func);
 3103|      0|    }
 3104|     84|}
typeobject.c:maybe_call_special_one_arg:
 3221|      6|{
 3222|      6|    PyThreadState *tstate = _PyThreadState_GET();
 3223|      6|    _PyCStackRef cref;
 3224|      6|    _PyThreadState_PushCStackRef(tstate, &cref);
 3225|       |
 3226|      6|    PyObject *res = NULL;
 3227|      6|    int unbound = lookup_maybe_method(self, attr, &cref.ref);
 3228|      6|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3229|      6|    if (attr_is_none != NULL) {
  ------------------
  |  Branch (3229:9): [True: 6, False: 0]
  ------------------
 3230|      6|        *attr_is_none = (func == Py_None);
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3231|      6|    }
 3232|      6|    if (func != NULL && (func != Py_None || attr_is_none == NULL)) {
  ------------------
  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3232:9): [True: 6, False: 0]
  |  Branch (3232:26): [True: 6, False: 0]
  |  Branch (3232:45): [True: 0, False: 0]
  ------------------
 3233|      6|        PyObject *args[] = { self, arg };
 3234|      6|        res = vectorcall_unbound(tstate, unbound, func, args, 2);
 3235|      6|    }
 3236|      6|    _PyThreadState_PopCStackRef(tstate, &cref);
 3237|      6|    return res;
 3238|      6|}
typeobject.c:vectorcall_unbound:
 3083|    253|{
 3084|    253|    size_t nargsf = nargs;
 3085|    253|    if (!unbound) {
  ------------------
  |  Branch (3085:9): [True: 0, False: 253]
  ------------------
 3086|       |        /* Skip self argument, freeing up args[0] to use for
 3087|       |         * PY_VECTORCALL_ARGUMENTS_OFFSET */
 3088|      0|        args++;
 3089|      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))
  |  |  ------------------
  ------------------
 3090|      0|    }
 3091|    253|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_SLOT, func);
  ------------------
  |  |   80|    253|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
 3092|       |    return _PyObject_VectorcallTstate(tstate, func, args, nargsf, NULL);
 3093|    253|}
typeobject.c:type_from_slots_or_spec:
 5253|    121|{
 5254|       |    /* Invariant: A non-NULL value in one of these means this function holds
 5255|       |     * a strong reference or owns allocated memory.
 5256|       |     * These get decrefed/freed/returned at the end, on both success and error.
 5257|       |     */
 5258|    121|    PyHeapTypeObject *res = NULL;
 5259|    121|    PyTypeObject *type;
 5260|    121|    PyObject *bases = NULL;
 5261|    121|    char *tp_doc = NULL;
 5262|    121|    PyObject *ht_name = NULL;
 5263|    121|    char *_ht_tpname = NULL;
 5264|       |
 5265|    121|    int r;
 5266|       |
 5267|       |    /* First pass of slots */
 5268|       |
 5269|    121|    Py_ssize_t nmembers = 0;
 5270|    121|    const PyMemberDef *weaklistoffset_member = NULL;
 5271|    121|    const PyMemberDef *dictoffset_member = NULL;
 5272|    121|    const PyMemberDef *vectorcalloffset_member = NULL;
 5273|    121|    Py_ssize_t basicsize = 0;
 5274|    121|    Py_ssize_t extra_basicsize = 0;
 5275|    121|    Py_ssize_t itemsize = 0;
 5276|    121|    int flags = 0;
 5277|    121|    void *token = NULL;
 5278|       |
 5279|    121|    bool have_relative_members = false;
 5280|    121|    Py_ssize_t max_relative_offset = 0;
 5281|       |
 5282|    121|    PyObject *bases_slot = NULL; /* borrowed from the slots */
 5283|       |
 5284|    121|    _PySlotIterator it;
 5285|       |
 5286|    121|    if (spec) {
  ------------------
  |  Branch (5286:9): [True: 121, False: 0]
  ------------------
 5287|    121|        assert(!slots);
  ------------------
  |  Branch (5287:9): [True: 121, False: 0]
  ------------------
 5288|    121|        if (spec->basicsize > 0) {
  ------------------
  |  Branch (5288:13): [True: 115, False: 6]
  ------------------
 5289|    115|            basicsize = spec->basicsize;
 5290|    115|        }
 5291|    121|        if (spec->basicsize < 0) {
  ------------------
  |  Branch (5291:13): [True: 0, False: 121]
  ------------------
 5292|      0|            extra_basicsize = -spec->basicsize;
 5293|      0|        }
 5294|    121|        itemsize = spec->itemsize;
 5295|    121|        flags = spec->flags;
 5296|    121|        _PySlotIterator_InitLegacy(&it, spec->slots, _PySlot_KIND_TYPE);
 5297|    121|        it.name = spec->name;
 5298|    121|    }
 5299|      0|    else {
 5300|      0|        assert(!spec);
  ------------------
  |  Branch (5300:9): [True: 0, False: 0]
  ------------------
 5301|      0|        assert(!metaclass);
  ------------------
  |  Branch (5301:9): [True: 0, False: 0]
  ------------------
 5302|      0|        assert(!module);
  ------------------
  |  Branch (5302:9): [True: 0, False: 0]
  ------------------
 5303|      0|        assert(!bases_in);
  ------------------
  |  Branch (5303:9): [True: 0, False: 0]
  ------------------
 5304|      0|        _PySlotIterator_Init(&it, slots, _PySlot_KIND_TYPE);
 5305|      0|    }
 5306|       |
 5307|    121|    #define NO_SPEC                                         \
 5308|    121|        if (spec) {                                         \
 5309|    121|            PyErr_Format(                                   \
 5310|    121|                PyExc_SystemError,                          \
 5311|    121|                "%s must not be used with PyType_Spec",     \
 5312|    121|                _PySlot_GetName(it.current.sl_id));         \
 5313|    121|            goto finally;                                   \
 5314|    121|        }                                                   \
 5315|       |        /////////////////////////////////////////////////////
 5316|       |
 5317|  1.07k|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (5317:12): [True: 953, False: 121]
  ------------------
 5318|    953|        switch (it.current.sl_id) {
  ------------------
  |  Branch (5318:17): [True: 166, False: 787]
  ------------------
 5319|      0|        case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (5319:9): [True: 0, False: 953]
  ------------------
 5320|      0|            goto finally;
 5321|      0|        case Py_tp_name:
  ------------------
  |  |  103|      0|#define Py_tp_name 95
  ------------------
  |  Branch (5321:9): [True: 0, False: 953]
  ------------------
 5322|      0|            NO_SPEC;
  ------------------
  |  | 5308|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5308:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5309|      0|            PyErr_Format(                                   \
  |  | 5310|      0|                PyExc_SystemError,                          \
  |  | 5311|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5312|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5313|      0|            goto finally;                                   \
  |  | 5314|      0|        }                                                   \
  ------------------
 5323|      0|            it.name = it.current.sl_ptr;
 5324|      0|            break;
 5325|      0|        case Py_tp_metaclass:
  ------------------
  |  |  115|      0|#define Py_tp_metaclass 107
  ------------------
  |  Branch (5325:9): [True: 0, False: 953]
  ------------------
 5326|      0|            NO_SPEC;
  ------------------
  |  | 5308|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5308:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5309|      0|            PyErr_Format(                                   \
  |  | 5310|      0|                PyExc_SystemError,                          \
  |  | 5311|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5312|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5313|      0|            goto finally;                                   \
  |  | 5314|      0|        }                                                   \
  ------------------
 5327|      0|            metaclass = it.current.sl_ptr;
 5328|      0|            break;
 5329|      0|        case Py_tp_module:
  ------------------
  |  |  116|      0|#define Py_tp_module 108
  ------------------
  |  Branch (5329:9): [True: 0, False: 953]
  ------------------
 5330|      0|            NO_SPEC;
  ------------------
  |  | 5308|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5308:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5309|      0|            PyErr_Format(                                   \
  |  | 5310|      0|                PyExc_SystemError,                          \
  |  | 5311|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5312|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5313|      0|            goto finally;                                   \
  |  | 5314|      0|        }                                                   \
  ------------------
 5331|      0|            module = it.current.sl_ptr;
 5332|      0|            break;
 5333|      0|        case Py_tp_bases:
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (5333:9): [True: 0, False: 953]
  ------------------
 5334|      0|            bases_slot = it.current.sl_ptr;
 5335|      0|            break;
 5336|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (5336:9): [True: 0, False: 953]
  ------------------
 5337|      0|            if (!_PySlotIterator_SawSlot(&it, Py_tp_bases)) {
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (5337:17): [True: 0, False: 0]
  ------------------
 5338|      0|                bases_slot = it.current.sl_ptr;
 5339|      0|            }
 5340|      0|            break;
 5341|      0|        case Py_tp_basicsize:
  ------------------
  |  |  104|      0|#define Py_tp_basicsize 96
  ------------------
  |  Branch (5341:9): [True: 0, False: 953]
  ------------------
 5342|      0|            NO_SPEC;
  ------------------
  |  | 5308|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5308:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5309|      0|            PyErr_Format(                                   \
  |  | 5310|      0|                PyExc_SystemError,                          \
  |  | 5311|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5312|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5313|      0|            goto finally;                                   \
  |  | 5314|      0|        }                                                   \
  ------------------
 5343|      0|            basicsize = it.current.sl_size;
 5344|      0|            if (basicsize <= 0) {
  ------------------
  |  Branch (5344:17): [True: 0, False: 0]
  ------------------
 5345|      0|                PyErr_SetString(
 5346|      0|                    PyExc_SystemError,
 5347|      0|                    "Py_tp_basicsize must be positive");
 5348|      0|                goto finally;
 5349|      0|            }
 5350|      0|            break;
 5351|      0|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|      0|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (5351:9): [True: 0, False: 953]
  ------------------
 5352|      0|            NO_SPEC;
  ------------------
  |  | 5308|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5308:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5309|      0|            PyErr_Format(                                   \
  |  | 5310|      0|                PyExc_SystemError,                          \
  |  | 5311|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5312|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5313|      0|            goto finally;                                   \
  |  | 5314|      0|        }                                                   \
  ------------------
 5353|      0|            extra_basicsize = it.current.sl_size;
 5354|      0|            if (extra_basicsize <= 0) {
  ------------------
  |  Branch (5354:17): [True: 0, False: 0]
  ------------------
 5355|      0|                PyErr_SetString(
 5356|      0|                    PyExc_SystemError,
 5357|      0|                    "Py_tp_extra_basicsize must be positive");
 5358|      0|                goto finally;
 5359|      0|            }
 5360|      0|            break;
 5361|      0|        case Py_tp_itemsize:
  ------------------
  |  |  106|      0|#define Py_tp_itemsize 98
  ------------------
  |  Branch (5361:9): [True: 0, False: 953]
  ------------------
 5362|      0|            NO_SPEC;
  ------------------
  |  | 5308|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5308:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5309|      0|            PyErr_Format(                                   \
  |  | 5310|      0|                PyExc_SystemError,                          \
  |  | 5311|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5312|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5313|      0|            goto finally;                                   \
  |  | 5314|      0|        }                                                   \
  ------------------
 5363|      0|            itemsize = it.current.sl_size;
 5364|      0|            if (itemsize <= 0) {
  ------------------
  |  Branch (5364:17): [True: 0, False: 0]
  ------------------
 5365|      0|                PyErr_SetString(
 5366|      0|                    PyExc_SystemError,
 5367|      0|                    "Py_tp_itemsize must be positive");
 5368|      0|                goto finally;
 5369|      0|            }
 5370|      0|            break;
 5371|      0|        case Py_tp_flags:
  ------------------
  |  |  107|      0|#define Py_tp_flags 99
  ------------------
  |  Branch (5371:9): [True: 0, False: 953]
  ------------------
 5372|      0|            NO_SPEC;
  ------------------
  |  | 5308|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5308:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5309|      0|            PyErr_Format(                                   \
  |  | 5310|      0|                PyExc_SystemError,                          \
  |  | 5311|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5312|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5313|      0|            goto finally;                                   \
  |  | 5314|      0|        }                                                   \
  ------------------
 5373|      0|            flags = (int)it.current.sl_uint64;
 5374|      0|            break;
 5375|     69|        case Py_tp_members:
  ------------------
  |  |   80|     69|#define Py_tp_members 72
  ------------------
  |  Branch (5375:9): [True: 69, False: 884]
  ------------------
 5376|     69|            for (const PyMemberDef *memb = it.current.sl_ptr;
 5377|    335|                 memb->name != NULL;
  ------------------
  |  Branch (5377:18): [True: 266, False: 69]
  ------------------
 5378|    266|                 memb++)
 5379|    266|            {
 5380|    266|                nmembers++;
 5381|    266|                if (memb->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    266|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (5381:21): [True: 0, False: 266]
  ------------------
 5382|      0|                    if (memb->offset < 0) {
  ------------------
  |  Branch (5382:25): [True: 0, False: 0]
  ------------------
 5383|      0|                        PyErr_SetString(
 5384|      0|                            PyExc_SystemError,
 5385|      0|                            "Member offset must not be negative");
 5386|      0|                        goto finally;
 5387|      0|                    }
 5388|      0|                    have_relative_members = true;
 5389|      0|                    max_relative_offset = Py_MAX(max_relative_offset,
  ------------------
  |  |  133|      0|       __extension__ \
  |  |  134|      0|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|      0|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|      0|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5390|      0|                                                 memb->offset);
 5391|      0|                }
 5392|    266|                if (strcmp(memb->name, "__weaklistoffset__") == 0) {
  ------------------
  |  Branch (5392:21): [True: 27, False: 239]
  ------------------
 5393|     27|                    weaklistoffset_member = memb;
 5394|     27|                }
 5395|    239|                else if (strcmp(memb->name, "__dictoffset__") == 0) {
  ------------------
  |  Branch (5395:26): [True: 20, False: 219]
  ------------------
 5396|     20|                    dictoffset_member = memb;
 5397|     20|                }
 5398|    219|                else if (strcmp(memb->name, "__vectorcalloffset__") == 0) {
  ------------------
  |  Branch (5398:26): [True: 4, False: 215]
  ------------------
 5399|      4|                    vectorcalloffset_member = memb;
 5400|      4|                }
 5401|    266|            }
 5402|     69|            break;
 5403|     69|        case Py_tp_token:
  ------------------
  |  |   91|      1|#define Py_tp_token 83
  ------------------
  |  Branch (5403:9): [True: 1, False: 952]
  ------------------
 5404|      1|            token = it.current.sl_ptr;
 5405|      1|            if (token == Py_TP_USE_SPEC) {
  ------------------
  |  |  365|      1|#define Py_TP_USE_SPEC NULL
  ------------------
  |  Branch (5405:17): [True: 1, False: 0]
  ------------------
 5406|      1|                if (!spec) {
  ------------------
  |  Branch (5406:21): [True: 0, False: 1]
  ------------------
 5407|      0|                    PyErr_SetString(
 5408|      0|                        PyExc_SystemError,
 5409|      0|                        "Py_tp_token: Py_TP_USE_SPEC (NULL) can only be "
 5410|      0|                        "used with PyType_Spec");
 5411|      0|                    goto finally;
 5412|      0|                }
 5413|      1|                token = spec;
 5414|      1|            }
 5415|      1|            break;
 5416|     96|        case Py_tp_doc:
  ------------------
  |  |   64|     96|#define Py_tp_doc 56
  ------------------
  |  Branch (5416:9): [True: 96, False: 857]
  ------------------
 5417|       |            /* For the docstring slot, which usually points to a static string
 5418|       |               literal, we need to make a copy */
 5419|     96|            if (it.current.sl_ptr == NULL) {
  ------------------
  |  Branch (5419:17): [True: 0, False: 96]
  ------------------
 5420|      0|                PyMem_Free(tp_doc);
 5421|      0|                tp_doc = NULL;
 5422|      0|            }
 5423|     96|            else {
 5424|     96|                size_t len = strlen(it.current.sl_ptr)+1;
 5425|     96|                tp_doc = PyMem_Malloc(len);
 5426|     96|                if (tp_doc == NULL) {
  ------------------
  |  Branch (5426:21): [True: 0, False: 96]
  ------------------
 5427|      0|                    PyErr_NoMemory();
 5428|      0|                    goto finally;
 5429|      0|                }
 5430|     96|                memcpy(tp_doc, it.current.sl_ptr, len);
 5431|     96|            }
 5432|     96|            break;
 5433|    953|        }
 5434|    953|    }
 5435|    121|    #undef NO_SPEC
 5436|       |
 5437|       |    /* Required slots & bad combinations */
 5438|       |
 5439|    121|    if (it.name == NULL) {
  ------------------
  |  Branch (5439:9): [True: 0, False: 121]
  ------------------
 5440|      0|        if (spec) {
  ------------------
  |  Branch (5440:13): [True: 0, False: 0]
  ------------------
 5441|      0|            PyErr_SetString(PyExc_SystemError,
 5442|      0|                            "Type spec does not define the name field.");
 5443|      0|        }
 5444|      0|        else {
 5445|      0|            PyErr_SetString(PyExc_SystemError,
 5446|      0|                            "Py_tp_name slot is required.");
 5447|      0|        }
 5448|      0|        goto finally;
 5449|      0|    }
 5450|       |
 5451|    121|    if (_PySlotIterator_SawSlot(&it, Py_tp_basicsize)
  ------------------
  |  |  104|    121|#define Py_tp_basicsize 96
  ------------------
  |  Branch (5451:9): [True: 0, False: 121]
  ------------------
 5452|      0|        && _PySlotIterator_SawSlot(&it, Py_tp_extra_basicsize))
  ------------------
  |  |  105|      0|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (5452:12): [True: 0, False: 0]
  ------------------
 5453|      0|    {
 5454|      0|        PyErr_Format(
 5455|      0|            PyExc_SystemError,
 5456|      0|            "type %s: Py_tp_basicsize and Py_tp_extra_basicsize are "
 5457|      0|            "mutually exclusive",
 5458|      0|            it.name);
 5459|      0|        goto finally;
 5460|      0|    }
 5461|       |
 5462|    121|    if (have_relative_members) {
  ------------------
  |  Branch (5462:9): [True: 0, False: 121]
  ------------------
 5463|      0|        if (!extra_basicsize) {
  ------------------
  |  Branch (5463:13): [True: 0, False: 0]
  ------------------
 5464|      0|            PyErr_SetString(
 5465|      0|                PyExc_SystemError,
 5466|      0|                "With Py_RELATIVE_OFFSET, basicsize must be extended");
 5467|      0|            goto finally;
 5468|      0|        }
 5469|      0|        if (max_relative_offset >= extra_basicsize) {
  ------------------
  |  Branch (5469:13): [True: 0, False: 0]
  ------------------
 5470|      0|            PyErr_SetString(
 5471|      0|                PyExc_SystemError,
 5472|      0|                "Member offset out of range (0..extra_basicsize)");
 5473|      0|            goto finally;
 5474|      0|        }
 5475|      0|    }
 5476|       |
 5477|       |    /* Prepare the type name and qualname */
 5478|       |
 5479|    121|    assert(it.name);
  ------------------
  |  Branch (5479:5): [True: 121, False: 0]
  ------------------
 5480|    121|    const char *s = strrchr(it.name, '.');
 5481|    121|    if (s == NULL) {
  ------------------
  |  Branch (5481:9): [True: 0, False: 121]
  ------------------
 5482|      0|        s = it.name;
 5483|      0|    }
 5484|    121|    else {
 5485|    121|        s++;
 5486|    121|    }
 5487|       |
 5488|    121|    ht_name = PyUnicode_FromString(s);
 5489|    121|    if (!ht_name) {
  ------------------
  |  Branch (5489:9): [True: 0, False: 121]
  ------------------
 5490|      0|        goto finally;
 5491|      0|    }
 5492|       |
 5493|       |    /* Copy the name to a buffer we own.
 5494|       |    *
 5495|       |    * Unfortunately, we can't use tp_name directly (with some
 5496|       |    * flag saying that it should be deallocated with the type),
 5497|       |    * because tp_name is public API and may be set independently
 5498|       |    * of any such flag.
 5499|       |    * So, we use a separate buffer, _ht_tpname, that's always
 5500|       |    * deallocated with the type (if it's non-NULL).
 5501|       |    */
 5502|    121|    Py_ssize_t name_buf_len = strlen(it.name) + 1;
 5503|    121|    _ht_tpname = PyMem_Malloc(name_buf_len);
 5504|    121|    if (_ht_tpname == NULL) {
  ------------------
  |  Branch (5504:9): [True: 0, False: 121]
  ------------------
 5505|      0|        PyErr_NoMemory();
 5506|      0|        goto finally;
 5507|      0|    }
 5508|    121|    memcpy(_ht_tpname, it.name, name_buf_len);
 5509|       |
 5510|       |    /* Get a tuple of bases.
 5511|       |     * bases is a strong reference (unlike bases_in).
 5512|       |     * (This is convoluted for backwards compatibility -- preserving priority
 5513|       |     * of the various ways to specify bases)
 5514|       |     */
 5515|    121|    if (!bases_in) {
  ------------------
  |  Branch (5515:9): [True: 80, False: 41]
  ------------------
 5516|     80|        bases_in = bases_slot;
 5517|     80|    }
 5518|    121|    if (bases_in) {
  ------------------
  |  Branch (5518:9): [True: 41, False: 80]
  ------------------
 5519|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5520|      0|            bases = Py_NewRef(bases_in);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5521|      0|        }
 5522|     41|        else {
 5523|     41|            bases = PyTuple_Pack(1, bases_in);
 5524|     41|        }
 5525|     41|    }
 5526|     80|    else {
 5527|     80|        bases = PyTuple_Pack(1, &PyBaseObject_Type);
 5528|     80|    }
 5529|    121|    if (!bases) {
  ------------------
  |  Branch (5529:9): [True: 0, False: 121]
  ------------------
 5530|      0|        goto finally;
 5531|      0|    }
 5532|       |
 5533|       |    /* If this is an immutable type, check if all bases are also immutable.
 5534|       |     * (This isn't necessary for static types: those can't have heap bases,
 5535|       |     * and only heap types can be mutable.)
 5536|       |     */
 5537|    121|    if (flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    121|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (5537:9): [True: 100, False: 21]
  ------------------
 5538|    100|        if (check_immutable_bases(it.name, bases, 0) < 0) {
  ------------------
  |  Branch (5538:13): [True: 0, False: 100]
  ------------------
 5539|      0|            goto finally;
 5540|      0|        }
 5541|    100|    }
 5542|       |
 5543|       |    /* Calculate best base, and check that all bases are type objects */
 5544|    121|    PyTypeObject *base = find_best_base(bases);  // borrowed ref
 5545|    121|    if (base == NULL) {
  ------------------
  |  Branch (5545:9): [True: 0, False: 121]
  ------------------
 5546|      0|        goto finally;
 5547|      0|    }
 5548|       |
 5549|       |    /* Calculate the metaclass */
 5550|       |
 5551|    121|    if (!metaclass) {
  ------------------
  |  Branch (5551:9): [True: 121, False: 0]
  ------------------
 5552|    121|        metaclass = &PyType_Type;
 5553|    121|    }
 5554|    121|    metaclass = _PyType_CalculateMetaclass(metaclass, bases);
 5555|    121|    if (metaclass == NULL) {
  ------------------
  |  Branch (5555:9): [True: 0, False: 121]
  ------------------
 5556|      0|        goto finally;
 5557|      0|    }
 5558|    121|    if (!PyType_Check(metaclass)) {
  ------------------
  |  |  766|    121|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    121|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    121|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5558:9): [True: 0, False: 121]
  ------------------
 5559|      0|        PyErr_Format(PyExc_TypeError,
 5560|      0|                     "Metaclass '%R' is not a subclass of 'type'.",
 5561|      0|                     metaclass);
 5562|      0|        goto finally;
 5563|      0|    }
 5564|    121|    if (metaclass->tp_new && metaclass->tp_new != PyType_Type.tp_new) {
  ------------------
  |  Branch (5564:9): [True: 121, False: 0]
  |  Branch (5564:30): [True: 0, False: 121]
  ------------------
 5565|      0|        PyErr_SetString(
 5566|      0|            PyExc_TypeError,
 5567|      0|            "Metaclasses with custom tp_new are not supported.");
 5568|      0|        goto finally;
 5569|      0|    }
 5570|       |
 5571|       |    // find_best_base() should check Py_TPFLAGS_BASETYPE & raise a proper
 5572|       |    // exception, here we just check its work
 5573|    121|    assert(_PyType_HasFeature(base, Py_TPFLAGS_BASETYPE));
  ------------------
  |  Branch (5573:5): [True: 121, False: 0]
  ------------------
 5574|       |
 5575|       |    /* Calculate sizes */
 5576|       |
 5577|    121|    Py_ssize_t type_data_offset = basicsize;
 5578|    121|    if (extra_basicsize) {
  ------------------
  |  Branch (5578:9): [True: 0, False: 121]
  ------------------
 5579|       |        /* Extend */
 5580|      0|        assert(basicsize == 0);
  ------------------
  |  Branch (5580:9): [True: 0, False: 0]
  ------------------
 5581|      0|        type_data_offset = _align_up(base->tp_basicsize);
 5582|      0|        basicsize = type_data_offset + _align_up(extra_basicsize);
 5583|       |
 5584|       |        /* Inheriting variable-sized types is limited */
 5585|      0|        if (base->tp_itemsize
  ------------------
  |  Branch (5585:13): [True: 0, False: 0]
  ------------------
 5586|      0|            && !((base->tp_flags | flags) & Py_TPFLAGS_ITEMS_AT_END))
  ------------------
  |  |  548|      0|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (5586:16): [True: 0, False: 0]
  ------------------
 5587|      0|        {
 5588|      0|            PyErr_SetString(
 5589|      0|                PyExc_SystemError,
 5590|      0|                "Cannot extend variable-size class without Py_TPFLAGS_ITEMS_AT_END.");
 5591|      0|            goto finally;
 5592|      0|        }
 5593|      0|    }
 5594|    121|    if (basicsize == 0) {
  ------------------
  |  Branch (5594:9): [True: 6, False: 115]
  ------------------
 5595|       |        /* Inherit */
 5596|      6|        basicsize = base->tp_basicsize;
 5597|      6|    }
 5598|       |
 5599|       |    /* Compute special offsets */
 5600|       |
 5601|    121|    Py_ssize_t weaklistoffset = 0;
 5602|    121|    if (special_offset_from_member(weaklistoffset_member, type_data_offset,
  ------------------
  |  Branch (5602:9): [True: 0, False: 121]
  ------------------
 5603|    121|                                  &weaklistoffset) < 0) {
 5604|      0|        goto finally;
 5605|      0|    }
 5606|    121|    Py_ssize_t dictoffset = 0;
 5607|    121|    if (special_offset_from_member(dictoffset_member, type_data_offset,
  ------------------
  |  Branch (5607:9): [True: 0, False: 121]
  ------------------
 5608|    121|                                  &dictoffset) < 0) {
 5609|      0|        goto finally;
 5610|      0|    }
 5611|    121|    Py_ssize_t vectorcalloffset = 0;
 5612|    121|    if (special_offset_from_member(vectorcalloffset_member, type_data_offset,
  ------------------
  |  Branch (5612:9): [True: 0, False: 121]
  ------------------
 5613|    121|                                  &vectorcalloffset) < 0) {
 5614|      0|        goto finally;
 5615|      0|    }
 5616|       |
 5617|       |    /* Allocate the new type
 5618|       |     *
 5619|       |     * Between here and PyType_Ready, we should limit:
 5620|       |     * - calls to Python code
 5621|       |     * - raising exceptions
 5622|       |     * - memory allocations
 5623|       |     */
 5624|       |
 5625|    121|    res = (PyHeapTypeObject*)metaclass->tp_alloc(metaclass, nmembers);
 5626|    121|    if (res == NULL) {
  ------------------
  |  Branch (5626:9): [True: 0, False: 121]
  ------------------
 5627|      0|        goto finally;
 5628|      0|    }
 5629|       |
 5630|    121|    type = &res->ht_type;
 5631|       |    /* The flags must be initialized early, before the GC traverses us */
 5632|    121|    type_set_flags(type, flags | Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  503|    121|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 5633|       |
 5634|    121|    res->ht_module = Py_XNewRef(module);
  ------------------
  |  |  648|    121|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    121|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    121|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5635|       |
 5636|       |    /* Initialize essential fields */
 5637|       |
 5638|    121|    type->tp_as_async = &res->as_async;
 5639|    121|    type->tp_as_number = &res->as_number;
 5640|    121|    type->tp_as_sequence = &res->as_sequence;
 5641|    121|    type->tp_as_mapping = &res->as_mapping;
 5642|    121|    type->tp_as_buffer = &res->as_buffer;
 5643|       |
 5644|       |    /* Set slots we have prepared */
 5645|       |
 5646|    121|    type->tp_base = (PyTypeObject *)Py_NewRef(base);
  ------------------
  |  |  647|    121|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    121|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    121|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5647|    121|    set_tp_bases(type, bases);
 5648|    121|    bases = NULL;  // We give our reference to bases to the type
 5649|       |
 5650|    121|    type->tp_doc = tp_doc;
 5651|    121|    tp_doc = NULL;  // Give ownership of the allocated memory to the type
 5652|       |
 5653|    121|    res->ht_qualname = Py_NewRef(ht_name);
  ------------------
  |  |  647|    121|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    121|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    121|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5654|    121|    res->ht_name = ht_name;
 5655|    121|    ht_name = NULL;  // Give our reference to the type
 5656|       |
 5657|    121|    type->tp_name = _ht_tpname;
 5658|    121|    res->_ht_tpname = _ht_tpname;
 5659|    121|    _ht_tpname = NULL;  // Give ownership to the type
 5660|       |
 5661|    121|    res->ht_token = token;
 5662|       |
 5663|       |    /* Copy the sizes */
 5664|       |
 5665|    121|    type->tp_basicsize = basicsize;
 5666|    121|    type->tp_itemsize = itemsize;
 5667|       |
 5668|       |    /* Second pass of slots: copy most of them into the type */
 5669|       |
 5670|    121|    _PySlotIterator_Rewind(&it, spec ? (void*)spec->slots : (void*)slots);
  ------------------
  |  Branch (5670:33): [True: 121, False: 0]
  ------------------
 5671|  1.07k|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (5671:12): [True: 953, False: 121]
  ------------------
 5672|    953|        switch (it.current.sl_id) {
 5673|      0|        case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (5673:9): [True: 0, False: 953]
  ------------------
 5674|      0|            goto finally;
 5675|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (5675:9): [True: 0, False: 953]
  ------------------
 5676|      0|        case Py_tp_bases:
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (5676:9): [True: 0, False: 953]
  ------------------
 5677|     96|        case Py_tp_doc:
  ------------------
  |  |   64|     96|#define Py_tp_doc 56
  ------------------
  |  Branch (5677:9): [True: 96, False: 857]
  ------------------
 5678|       |            /* Processed above */
 5679|     96|            break;
 5680|     69|        case Py_tp_members:
  ------------------
  |  |   80|     69|#define Py_tp_members 72
  ------------------
  |  Branch (5680:9): [True: 69, False: 884]
  ------------------
 5681|     69|            {
 5682|       |                /* Move the slots to the heap type itself */
 5683|     69|                size_t len = Py_TYPE(type)->tp_itemsize * nmembers;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5684|     69|                memcpy(_PyHeapType_GET_MEMBERS(res), it.current.sl_ptr, len);
 5685|     69|                type->tp_members = _PyHeapType_GET_MEMBERS(res);
 5686|     69|                PyMemberDef *memb;
 5687|     69|                Py_ssize_t i;
 5688|     69|                for (memb = _PyHeapType_GET_MEMBERS(res), i = nmembers;
 5689|    335|                     i > 0; ++memb, --i)
  ------------------
  |  Branch (5689:22): [True: 266, False: 69]
  ------------------
 5690|    266|                {
 5691|    266|                    if (memb->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    266|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (5691:25): [True: 0, False: 266]
  ------------------
 5692|      0|                        memb->flags &= ~Py_RELATIVE_OFFSET;
  ------------------
  |  |   86|      0|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
 5693|      0|                        memb->offset += type_data_offset;
 5694|      0|                    }
 5695|    266|                }
 5696|     69|            }
 5697|     69|            break;
 5698|    788|        default:
  ------------------
  |  Branch (5698:9): [True: 788, False: 165]
  ------------------
 5699|    788|            _PySlot_heaptype_apply_field_slot(res, it.current);
 5700|    788|            break;
 5701|    953|        }
 5702|    953|    }
 5703|    121|    if (type->tp_dealloc == NULL) {
  ------------------
  |  Branch (5703:9): [True: 6, False: 115]
  ------------------
 5704|       |        /* It's a heap type, so needs the heap types' dealloc.
 5705|       |           subtype_dealloc will call the base type's tp_dealloc, if
 5706|       |           necessary. */
 5707|      6|        type->tp_dealloc = subtype_dealloc;
 5708|      6|    }
 5709|       |
 5710|       |    /* Set up offsets */
 5711|       |
 5712|    121|    type->tp_vectorcall_offset = vectorcalloffset;
 5713|    121|    type->tp_weaklistoffset = weaklistoffset;
 5714|    121|    type->tp_dictoffset = dictoffset;
 5715|       |
 5716|       |#ifdef Py_GIL_DISABLED
 5717|       |    // Assign a unique id to enable per-thread refcounting
 5718|       |    res->unique_id = _PyObject_AssignUniqueId((PyObject *)res);
 5719|       |#endif
 5720|       |
 5721|       |    /* Ready the type (which includes inheritance).
 5722|       |     *
 5723|       |     * After this call we should generally only touch up what's
 5724|       |     * accessible to Python code, like __dict__.
 5725|       |     */
 5726|    121|    if (type_ready_publish(type, 0) < 0) {
  ------------------
  |  Branch (5726:9): [True: 0, False: 121]
  ------------------
 5727|      0|        goto finally;
 5728|      0|    }
 5729|       |
 5730|    121|    if (!check_basicsize_includes_size_and_offsets(type)) {
  ------------------
  |  Branch (5730:9): [True: 0, False: 121]
  ------------------
 5731|      0|        goto finally;
 5732|      0|    }
 5733|       |
 5734|    121|    PyObject *dict = lookup_tp_dict(type);
 5735|    121|    if (type->tp_doc) {
  ------------------
  |  Branch (5735:9): [True: 96, False: 25]
  ------------------
 5736|     96|        PyObject *__doc__ = PyUnicode_FromString(_PyType_DocWithoutSignature(type->tp_name, type->tp_doc));
 5737|     96|        if (!__doc__) {
  ------------------
  |  Branch (5737:13): [True: 0, False: 96]
  ------------------
 5738|      0|            goto finally;
 5739|      0|        }
 5740|     96|        r = PyDict_SetItem(dict, &_Py_ID(__doc__), __doc__);
  ------------------
  |  |  951|     96|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     96|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     96|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5741|     96|        Py_DECREF(__doc__);
  ------------------
  |  |  430|     96|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5742|     96|        if (r < 0) {
  ------------------
  |  Branch (5742:13): [True: 0, False: 96]
  ------------------
 5743|      0|            goto finally;
 5744|      0|        }
 5745|     96|    }
 5746|       |
 5747|    121|    if (weaklistoffset) {
  ------------------
  |  Branch (5747:9): [True: 27, False: 94]
  ------------------
 5748|     27|        if (PyDict_DelItem(dict, &_Py_ID(__weaklistoffset__)) < 0) {
  ------------------
  |  |  951|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5748:13): [True: 0, False: 27]
  ------------------
 5749|      0|            goto finally;
 5750|      0|        }
 5751|     27|    }
 5752|    121|    if (dictoffset) {
  ------------------
  |  Branch (5752:9): [True: 20, False: 101]
  ------------------
 5753|     20|        if (PyDict_DelItem(dict, &_Py_ID(__dictoffset__)) < 0) {
  ------------------
  |  |  951|     20|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     20|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     20|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5753:13): [True: 0, False: 20]
  ------------------
 5754|      0|            goto finally;
 5755|      0|        }
 5756|     20|    }
 5757|       |
 5758|       |    /* Set type.__module__ */
 5759|    121|    r = PyDict_Contains(dict, &_Py_ID(__module__));
  ------------------
  |  |  951|    121|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    121|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    121|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5760|    121|    if (r < 0) {
  ------------------
  |  Branch (5760:9): [True: 0, False: 121]
  ------------------
 5761|      0|        goto finally;
 5762|      0|    }
 5763|    121|    if (r == 0) {
  ------------------
  |  Branch (5763:9): [True: 121, False: 0]
  ------------------
 5764|    121|        s = strrchr(it.name, '.');
 5765|    121|        if (s != NULL) {
  ------------------
  |  Branch (5765:13): [True: 121, False: 0]
  ------------------
 5766|    121|            PyObject *modname = PyUnicode_FromStringAndSize(
 5767|    121|                    it.name, (Py_ssize_t)(s - it.name));
 5768|    121|            if (modname == NULL) {
  ------------------
  |  Branch (5768:17): [True: 0, False: 121]
  ------------------
 5769|      0|                goto finally;
 5770|      0|            }
 5771|    121|            r = PyDict_SetItem(dict, &_Py_ID(__module__), modname);
  ------------------
  |  |  951|    121|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    121|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    121|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5772|    121|            Py_DECREF(modname);
  ------------------
  |  |  430|    121|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    121|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    121|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5773|    121|            if (r != 0) {
  ------------------
  |  Branch (5773:17): [True: 0, False: 121]
  ------------------
 5774|      0|                goto finally;
 5775|      0|            }
 5776|    121|        }
 5777|      0|        else {
 5778|      0|            if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
  ------------------
  |  Branch (5778:17): [True: 0, False: 0]
  ------------------
 5779|      0|                    "builtin type %.200s has no __module__ attribute",
 5780|      0|                    it.name))
 5781|      0|                goto finally;
 5782|      0|        }
 5783|    121|    }
 5784|       |
 5785|    121|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (5785:5): [True: 121, False: 0]
  ------------------
 5786|       |
 5787|    121|finally:
 5788|    121|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (5788:9): [True: 0, False: 121]
  ------------------
 5789|      0|        Py_CLEAR(res);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5790|      0|    }
 5791|    121|    Py_XDECREF(bases);
  ------------------
  |  |  621|    121|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    121|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    121|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5792|    121|    PyMem_Free(tp_doc);
 5793|    121|    Py_XDECREF(ht_name);
  ------------------
  |  |  621|    121|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    121|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    121|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5794|    121|    PyMem_Free(_ht_tpname);
 5795|    121|    return (PyObject*)res;
 5796|    121|}
typeobject.c:find_best_base:
 3787|    401|{
 3788|    401|    Py_ssize_t i, n;
 3789|    401|    PyTypeObject *base, *winner;
 3790|       |
 3791|    401|    assert(PyTuple_Check(bases));
  ------------------
  |  Branch (3791:5): [True: 401, False: 0]
  ------------------
 3792|    401|    n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|    401|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    401|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    401|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3793|    401|    assert(n > 0);
  ------------------
  |  Branch (3793:5): [True: 401, False: 0]
  ------------------
 3794|    401|    base = NULL;
 3795|    401|    winner = NULL;
 3796|    833|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3796:17): [True: 432, False: 401]
  ------------------
 3797|    432|        PyObject *base_proto = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|    432|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    432|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    432|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3797:32): [True: 432, False: 0]
  ------------------
 3798|    432|        if (!PyType_Check(base_proto)) {
  ------------------
  |  |  766|    432|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    432|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    432|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3798:13): [True: 0, False: 432]
  ------------------
 3799|      0|            PyErr_Format(
 3800|      0|                PyExc_TypeError,
 3801|      0|                "bases must be types; got '%T'", base_proto);
 3802|      0|            return NULL;
 3803|      0|        }
 3804|    432|        PyTypeObject *base_i = (PyTypeObject *)base_proto;
 3805|       |
 3806|    432|        if (!_PyType_IsReady(base_i)) {
  ------------------
  |  Branch (3806:13): [True: 0, False: 432]
  ------------------
 3807|      0|            if (PyType_Ready(base_i) < 0)
  ------------------
  |  Branch (3807:17): [True: 0, False: 0]
  ------------------
 3808|      0|                return NULL;
 3809|      0|        }
 3810|    432|        if (!_PyType_HasFeature(base_i, Py_TPFLAGS_BASETYPE)) {
  ------------------
  |  |  506|    432|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
  |  Branch (3810:13): [True: 0, False: 432]
  ------------------
 3811|      0|            PyErr_Format(PyExc_TypeError,
 3812|      0|                         "type '%.100s' is not an acceptable base type",
 3813|      0|                         base_i->tp_name);
 3814|      0|            return NULL;
 3815|      0|        }
 3816|    432|        if (update_best_base(base_i, &base, &winner) < 0) {
  ------------------
  |  Branch (3816:13): [True: 0, False: 432]
  ------------------
 3817|      0|            PyErr_SetString(
 3818|      0|                PyExc_TypeError,
 3819|      0|                "multiple bases have "
 3820|      0|                "instance lay-out conflict");
 3821|      0|            return NULL;
 3822|      0|        }
 3823|    432|    }
 3824|    401|    assert (base != NULL);
  ------------------
  |  Branch (3824:5): [True: 401, False: 0]
  ------------------
 3825|       |
 3826|    401|    return base;
 3827|    401|}
typeobject.c:update_best_base:
 3764|    432|{
 3765|    432|    PyTypeObject *candidate = solid_base(base_i);
 3766|    432|    if (*winner == NULL) {
  ------------------
  |  Branch (3766:9): [True: 401, False: 31]
  ------------------
 3767|    401|        *winner = candidate;
 3768|    401|        *base = base_i;
 3769|    401|    }
 3770|     31|    else if (PyType_IsSubtype(*winner, candidate))
  ------------------
  |  Branch (3770:14): [True: 31, False: 0]
  ------------------
 3771|     31|        ;
 3772|      0|    else if (PyType_IsSubtype(candidate, *winner)) {
  ------------------
  |  Branch (3772:14): [True: 0, False: 0]
  ------------------
 3773|      0|        *winner = candidate;
 3774|      0|        *base = base_i;
 3775|      0|    }
 3776|      0|    else {
 3777|      0|        return -1;
 3778|      0|    }
 3779|    432|    return 0;
 3780|    432|}
typeobject.c:solid_base:
 3840|  2.23k|{
 3841|  2.23k|    PyTypeObject *base;
 3842|       |
 3843|  2.23k|    if (type->tp_base) {
  ------------------
  |  Branch (3843:9): [True: 1.34k, False: 894]
  ------------------
 3844|  1.34k|        base = solid_base(type->tp_base);
 3845|  1.34k|    }
 3846|    894|    else {
 3847|    894|        base = &PyBaseObject_Type;
 3848|    894|    }
 3849|  2.23k|    if (shape_differs(type, base)) {
  ------------------
  |  Branch (3849:9): [True: 190, False: 2.04k]
  ------------------
 3850|    190|        return type;
 3851|    190|    }
 3852|  2.04k|    else {
 3853|  2.04k|        return base;
 3854|  2.04k|    }
 3855|  2.23k|}
typeobject.c:shape_differs:
 3831|  2.23k|{
 3832|  2.23k|    return (
 3833|  2.23k|        t1->tp_basicsize != t2->tp_basicsize ||
  ------------------
  |  Branch (3833:9): [True: 190, False: 2.04k]
  ------------------
 3834|  2.04k|        t1->tp_itemsize != t2->tp_itemsize
  ------------------
  |  Branch (3834:9): [True: 0, False: 2.04k]
  ------------------
 3835|  2.23k|    );
 3836|  2.23k|}
typeobject.c:special_offset_from_member:
 5221|    363|{
 5222|    363|    if (memb == NULL) {
  ------------------
  |  Branch (5222:9): [True: 312, False: 51]
  ------------------
 5223|    312|        *dest = 0;
 5224|    312|        return 0;
 5225|    312|    }
 5226|     51|    if (memb->type != Py_T_PYSSIZET) {
  ------------------
  |  |   79|     51|#define Py_T_PYSSIZET  19      /* Py_ssize_t */
  ------------------
  |  Branch (5226:9): [True: 0, False: 51]
  ------------------
 5227|      0|        PyErr_Format(
 5228|      0|            PyExc_SystemError,
 5229|      0|            "type of %s must be Py_T_PYSSIZET",
 5230|      0|            memb->name);
 5231|      0|        return -1;
 5232|      0|    }
 5233|     51|    if (memb->flags == Py_READONLY) {
  ------------------
  |  |   83|     51|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (5233:9): [True: 51, False: 0]
  ------------------
 5234|     51|        *dest = memb->offset;
 5235|     51|        return 0;
 5236|     51|    }
 5237|      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 (5237:14): [True: 0, False: 0]
  ------------------
 5238|      0|        *dest = memb->offset + type_data_offset;
 5239|      0|        return 0;
 5240|      0|    }
 5241|      0|    PyErr_Format(
 5242|      0|        PyExc_SystemError,
 5243|      0|        "flags for %s must be Py_READONLY or (Py_READONLY | Py_RELATIVE_OFFSET)",
 5244|      0|        memb->name);
 5245|      0|    return -1;
 5246|     51|}
typeobject.c:type_set_flags:
  397|  7.61k|{
  398|  7.61k|    ASSERT_WORLD_STOPPED_OR_NEW_TYPE(tp);
  399|  7.61k|    tp->tp_flags = flags;
  400|  7.61k|}
typeobject.c:set_tp_bases:
  541|    908|{
  542|    908|    assert(PyTuple_Check(bases));
  ------------------
  |  Branch (542:5): [True: 908, False: 0]
  ------------------
  543|    908|    ASSERT_NEW_TYPE_OR_LOCKED(self);
  544|    908|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    908|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (544:9): [True: 412, False: 496]
  ------------------
  545|       |        // XXX tp_bases can probably be statically allocated for each
  546|       |        // static builtin type.
  547|    412|        assert(PyTuple_CheckExact(bases));
  ------------------
  |  Branch (547:9): [True: 412, False: 0]
  ------------------
  548|    412|        assert(self->tp_bases == NULL);
  ------------------
  |  Branch (548:9): [True: 412, False: 0]
  ------------------
  549|    412|        if (PyTuple_GET_SIZE(bases) == 0) {
  ------------------
  |  |   27|    412|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    412|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    412|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (549:13): [True: 2, False: 410]
  ------------------
  550|      2|            assert(self->tp_base == NULL);
  ------------------
  |  Branch (550:13): [True: 2, False: 0]
  ------------------
  551|      2|        }
  552|    410|        else {
  553|    410|            assert(PyTuple_GET_SIZE(bases) == 1);
  ------------------
  |  Branch (553:13): [True: 410, False: 0]
  ------------------
  554|    410|            assert(PyTuple_GET_ITEM(bases, 0) == (PyObject *)self->tp_base);
  ------------------
  |  Branch (554:13): [True: 410, False: 0]
  |  Branch (554:13): [True: 410, False: 0]
  ------------------
  555|    410|            assert(self->tp_base->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  Branch (555:13): [True: 410, False: 0]
  ------------------
  556|    410|            assert(_Py_IsImmortal(self->tp_base));
  ------------------
  |  Branch (556:13): [True: 410, False: 0]
  ------------------
  557|    410|        }
  558|    412|        _Py_SetImmortal(bases);
  559|    412|    }
  560|    908|    self->tp_bases = bases;
  561|    908|}
typeobject.c:_PyHeapType_GET_MEMBERS:
 2606|    709|{
 2607|    709|    return PyObject_GetItemData((PyObject *)type);
 2608|    709|}
typeobject.c:subtype_dealloc:
 2746|    744|{
 2747|    744|    PyTypeObject *type, *base;
 2748|    744|    destructor basedealloc;
 2749|    744|    int has_finalizer;
 2750|       |
 2751|       |    /* Extract the type; we expect it to be a heap type */
 2752|    744|    type = Py_TYPE(self);
  ------------------
  |  |  213|    744|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    744|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    744|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2753|    744|    _PyObject_ASSERT((PyObject *)type, type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  360|    744|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|    744|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|    744|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 744, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|    744|      ? (void)(0) \
  |  |  |  |  |  |  353|    744|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2754|       |
 2755|       |    /* Test whether the type has GC exactly once */
 2756|       |
 2757|    744|    if (!_PyType_IS_GC(type)) {
  ------------------
  |  Branch (2757:9): [True: 0, False: 744]
  ------------------
 2758|       |        /* A non GC dynamic type allows certain simplifications:
 2759|       |           there's no need to call clear_slots(), or DECREF the dict,
 2760|       |           or clear weakrefs. */
 2761|       |
 2762|       |        /* Maybe call finalizer; exit early if resurrected */
 2763|      0|        if (type->tp_finalize) {
  ------------------
  |  Branch (2763:13): [True: 0, False: 0]
  ------------------
 2764|      0|            if (PyObject_CallFinalizerFromDealloc(self) < 0)
  ------------------
  |  Branch (2764:17): [True: 0, False: 0]
  ------------------
 2765|      0|                return;
 2766|      0|        }
 2767|      0|        if (type->tp_del) {
  ------------------
  |  Branch (2767:13): [True: 0, False: 0]
  ------------------
 2768|      0|            type->tp_del(self);
 2769|      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 (2769:17): [True: 0, False: 0]
  ------------------
 2770|      0|                return;
 2771|      0|            }
 2772|      0|        }
 2773|       |
 2774|       |        /* Find the nearest base with a different tp_dealloc */
 2775|      0|        base = type;
 2776|      0|        while ((basedealloc = base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2776:16): [True: 0, False: 0]
  ------------------
 2777|      0|            base = base->tp_base;
 2778|      0|            assert(base);
  ------------------
  |  Branch (2778:13): [True: 0, False: 0]
  ------------------
 2779|      0|        }
 2780|       |
 2781|       |        /* Extract the type again; tp_del may have changed it */
 2782|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2783|       |
 2784|       |        // Don't read type memory after calling basedealloc() since basedealloc()
 2785|       |        // can deallocate the type and free its memory.
 2786|      0|        int type_needs_decref = (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2786:34): [True: 0, False: 0]
  ------------------
 2787|      0|                                 && !(base->tp_flags & Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2787:37): [True: 0, False: 0]
  ------------------
 2788|       |
 2789|      0|        assert((type->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  ------------------
  |  Branch (2789:9): [True: 0, False: 0]
  ------------------
 2790|       |
 2791|       |        /* Call the base tp_dealloc() */
 2792|      0|        assert(basedealloc);
  ------------------
  |  Branch (2792:9): [True: 0, False: 0]
  ------------------
 2793|      0|        basedealloc(self);
 2794|       |
 2795|       |        /* Can't reference self beyond this point. It's possible tp_del switched
 2796|       |           our type from a HEAPTYPE to a non-HEAPTYPE, so be careful about
 2797|       |           reference counting. Only decref if the base type is not already a heap
 2798|       |           allocated type. Otherwise, basedealloc should have decref'd it already */
 2799|      0|        if (type_needs_decref) {
  ------------------
  |  Branch (2799:13): [True: 0, False: 0]
  ------------------
 2800|      0|            _Py_DECREF_TYPE(type);
  ------------------
  |  |  305|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2801|      0|        }
 2802|       |
 2803|       |        /* Done */
 2804|      0|        return;
 2805|      0|    }
 2806|       |
 2807|       |    /* We get here only if the type has GC */
 2808|       |
 2809|       |    /* UnTrack and re-Track around the trashcan macro, alas */
 2810|       |    /* See explanation at end of function for full disclosure */
 2811|    744|    PyObject_GC_UnTrack(self);
 2812|       |
 2813|       |    /* Find the nearest base with a different tp_dealloc */
 2814|    744|    base = type;
 2815|  1.54k|    while ((/*basedealloc =*/ base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2815:12): [True: 799, False: 744]
  ------------------
 2816|    799|        base = base->tp_base;
 2817|    799|        assert(base);
  ------------------
  |  Branch (2817:9): [True: 799, False: 0]
  ------------------
 2818|    799|    }
 2819|       |
 2820|    744|    has_finalizer = type->tp_finalize || type->tp_del;
  ------------------
  |  Branch (2820:21): [True: 0, False: 744]
  |  Branch (2820:42): [True: 0, False: 744]
  ------------------
 2821|       |
 2822|    744|    if (type->tp_finalize) {
  ------------------
  |  Branch (2822:9): [True: 0, False: 744]
  ------------------
 2823|      0|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  502|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2824|      0|        if (PyObject_CallFinalizerFromDealloc(self) < 0) {
  ------------------
  |  Branch (2824:13): [True: 0, False: 0]
  ------------------
 2825|       |            /* Resurrected */
 2826|      0|            return;
 2827|      0|        }
 2828|      0|        _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2829|      0|    }
 2830|       |
 2831|       |    /* Extract the type again; tp_finalize may have changed it */
 2832|    744|    type = Py_TYPE(self);
  ------------------
  |  |  213|    744|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    744|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    744|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2833|       |
 2834|       |    /*
 2835|       |      If we added a weaklist, we clear it. Do this *before* calling tp_del,
 2836|       |      clearing slots, or clearing the instance dict.
 2837|       |
 2838|       |      GC tracking must be off at this point. weakref callbacks (if any, and
 2839|       |      whether directly here or indirectly in something we call) may trigger GC,
 2840|       |      and if self is tracked at that point, it will look like trash to GC and GC
 2841|       |      will try to delete self again.
 2842|       |    */
 2843|    744|    if (type->tp_weaklistoffset && !base->tp_weaklistoffset) {
  ------------------
  |  Branch (2843:9): [True: 623, False: 121]
  |  Branch (2843:36): [True: 623, False: 0]
  ------------------
 2844|    623|        PyObject_ClearWeakRefs(self);
 2845|    623|    }
 2846|       |
 2847|    744|    if (type->tp_del) {
  ------------------
  |  Branch (2847:9): [True: 0, False: 744]
  ------------------
 2848|      0|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  502|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2849|      0|        type->tp_del(self);
 2850|      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 (2850:13): [True: 0, False: 0]
  ------------------
 2851|       |            /* Resurrected */
 2852|      0|            return;
 2853|      0|        }
 2854|      0|        _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2855|      0|    }
 2856|    744|    if (has_finalizer) {
  ------------------
  |  Branch (2856:9): [True: 0, False: 744]
  ------------------
 2857|       |        /* New weakrefs could be created during the finalizer call.
 2858|       |           If this occurs, clear them out without calling their
 2859|       |           finalizers since they might rely on part of the object
 2860|       |           being finalized that has already been destroyed. */
 2861|      0|        if (type->tp_weaklistoffset && !base->tp_weaklistoffset) {
  ------------------
  |  Branch (2861:13): [True: 0, False: 0]
  |  Branch (2861:40): [True: 0, False: 0]
  ------------------
 2862|      0|            _PyWeakref_ClearWeakRefsNoCallbacks(self);
 2863|      0|        }
 2864|      0|    }
 2865|       |
 2866|       |    /*  Clear slots up to the nearest base with a different tp_dealloc */
 2867|    744|    base = type;
 2868|  1.54k|    while ((basedealloc = base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2868:12): [True: 799, False: 744]
  ------------------
 2869|    799|        if (Py_SIZE(base))
  ------------------
  |  |  214|    799|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    799|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    799|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:23): [True: 114, False: 685]
  |  |  ------------------
  ------------------
 2870|    114|            clear_slots(base, self);
 2871|    799|        base = base->tp_base;
 2872|    799|        assert(base);
  ------------------
  |  Branch (2872:9): [True: 799, False: 0]
  ------------------
 2873|    799|    }
 2874|       |
 2875|       |    /* If we added a dict, DECREF it, or free inline values. */
 2876|    744|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|    744|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2876:9): [True: 507, False: 237]
  ------------------
 2877|    507|        PyObject_ClearManagedDict(self);
 2878|    507|    }
 2879|    237|    else if (type->tp_dictoffset && !base->tp_dictoffset) {
  ------------------
  |  Branch (2879:14): [True: 11, False: 226]
  |  Branch (2879:37): [True: 0, False: 11]
  ------------------
 2880|      0|        PyObject **dictptr = _PyObject_ComputedDictPointer(self);
 2881|      0|        if (dictptr != NULL) {
  ------------------
  |  Branch (2881:13): [True: 0, False: 0]
  ------------------
 2882|      0|            PyObject *dict = *dictptr;
 2883|      0|            if (dict != NULL) {
  ------------------
  |  Branch (2883:17): [True: 0, False: 0]
  ------------------
 2884|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2885|      0|                *dictptr = NULL;
 2886|      0|            }
 2887|      0|        }
 2888|      0|    }
 2889|       |
 2890|       |    /* Extract the type again; tp_del may have changed it */
 2891|    744|    type = Py_TYPE(self);
  ------------------
  |  |  213|    744|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    744|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    744|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2892|       |
 2893|       |    /* Call the base tp_dealloc(); first retrack self if
 2894|       |     * basedealloc knows about gc.
 2895|       |     */
 2896|    744|    if (_PyType_IS_GC(base)) {
  ------------------
  |  Branch (2896:9): [True: 279, False: 465]
  ------------------
 2897|    279|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  502|    279|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    279|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    279|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2898|    279|    }
 2899|       |
 2900|       |    // Don't read type memory after calling basedealloc() since basedealloc()
 2901|       |    // can deallocate the type and free its memory.
 2902|    744|    int type_needs_decref = (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|  1.48k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2902:30): [True: 744, False: 0]
  ------------------
 2903|    744|                             && !(base->tp_flags & Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  503|    744|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2903:33): [True: 707, False: 37]
  ------------------
 2904|       |
 2905|    744|    assert(basedealloc);
  ------------------
  |  Branch (2905:5): [True: 744, False: 0]
  ------------------
 2906|    744|    basedealloc(self);
 2907|       |
 2908|       |    /* Can't reference self beyond this point. It's possible tp_del switched
 2909|       |       our type from a HEAPTYPE to a non-HEAPTYPE, so be careful about
 2910|       |       reference counting. Only decref if the base type is not already a heap
 2911|       |       allocated type. Otherwise, basedealloc should have decref'd it already */
 2912|    744|    if (type_needs_decref) {
  ------------------
  |  Branch (2912:9): [True: 707, False: 37]
  ------------------
 2913|    707|        _Py_DECREF_TYPE(type);
  ------------------
  |  |  305|    707|#  define _Py_DECREF_TYPE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|    707|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    707|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    707|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2914|    707|    }
 2915|    744|}
typeobject.c:clear_slots:
 2687|    114|{
 2688|    114|    Py_ssize_t i, n;
 2689|    114|    PyMemberDef *mp;
 2690|       |
 2691|    114|    n = Py_SIZE(type);
  ------------------
  |  |  214|    114|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    114|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    114|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2692|    114|    mp = _PyHeapType_GET_MEMBERS((PyHeapTypeObject *)type);
 2693|    236|    for (i = 0; i < n; i++, mp++) {
  ------------------
  |  Branch (2693:17): [True: 122, False: 114]
  ------------------
 2694|    122|        if (mp->type == Py_T_OBJECT_EX && !(mp->flags & Py_READONLY)) {
  ------------------
  |  |   75|    244|#define Py_T_OBJECT_EX 16
  ------------------
                      if (mp->type == Py_T_OBJECT_EX && !(mp->flags & Py_READONLY)) {
  ------------------
  |  |   83|    122|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (2694:13): [True: 122, False: 0]
  |  Branch (2694:43): [True: 122, False: 0]
  ------------------
 2695|    122|            void *addr = _PyMember_GetOffset(self, mp);
 2696|    122|            PyObject *obj = *(PyObject **)addr;
 2697|    122|            if (obj != NULL) {
  ------------------
  |  Branch (2697:17): [True: 122, False: 0]
  ------------------
 2698|    122|                *(PyObject **)addr = NULL;
 2699|    122|                Py_DECREF(obj);
  ------------------
  |  |  430|    122|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    122|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    122|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2700|    122|            }
 2701|    122|        }
 2702|    122|    }
 2703|    114|}
typeobject.c:type_ready_publish:
 9618|    496|{
 9619|    496|    int res;
 9620|    496|    BEGIN_TYPE_LOCK();
 9621|    496|    res = type_ready(type, 1, 0);
 9622|    496|    if (res == 0) {
  ------------------
  |  Branch (9622:9): [True: 496, False: 0]
  ------------------
 9623|    496|        assert(!(type->tp_flags & Py_TPFLAGS_READY));
  ------------------
  |  Branch (9623:9): [True: 496, False: 0]
  ------------------
 9624|    496|        assert(!is_readying(type));
  ------------------
  |  Branch (9624:9): [True: 496, False: 0]
  ------------------
 9625|       |
 9626|    496|        if (fix_slots) {
  ------------------
  |  Branch (9626:13): [True: 375, False: 121]
  ------------------
 9627|       |            // Put the proper slots in place and only then publish the type as
 9628|       |            // a subclass of its bases.  Since the type is not reachable by
 9629|       |            // other threads before it is published, the slots can be updated
 9630|       |            // without stopping the world.  This step is skipped for
 9631|       |            // type_from_slots_or_spec().
 9632|    375|            fixup_slot_dispatchers(type);
 9633|    375|        }
 9634|       |
 9635|       |        // Set the ready flag before revealing the type since type_add_flags()
 9636|       |        // may only be used on types that are not yet revealed.
 9637|    496|        type_add_flags(type, Py_TPFLAGS_READY);
  ------------------
  |  |  518|    496|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
 9638|       |
 9639|       |#if defined(Py_GIL_DISABLED) && defined(Py_DEBUG) && SIZEOF_VOID_P > 4
 9640|       |        // Mark the type as revealed while still holding the type lock.
 9641|       |        // Threads can only find the type through the subclasses of its bases,
 9642|       |        // which is done below with the lock held.  So, they cannot see the
 9643|       |        // type before the flag is set.
 9644|       |        ((PyObject*)type)->ob_flags |= _Py_TYPE_REVEALED_FLAG;
 9645|       |#endif
 9646|       |
 9647|    496|        res = type_ready_add_subclasses(type);
 9648|    496|        if (res == 0) {
  ------------------
  |  Branch (9648:13): [True: 496, False: 0]
  ------------------
 9649|    496|            assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (9649:13): [True: 496, False: 0]
  ------------------
 9650|    496|        }
 9651|    496|    }
 9652|    496|    END_TYPE_LOCK();
 9653|    496|    return res;
 9654|    496|}
typeobject.c:fixup_slot_dispatchers:
12299|    375|{
12300|    375|    ASSERT_TYPE_LOCK_HELD();
12301|    375|    ASSERT_WORLD_STOPPED_OR_NEW_TYPE(type);
12302|    375|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (12302:5): [True: 375, False: 0]
  ------------------
12303|    375|    PyObject *descrs_buf[Py_ARRAY_LENGTH(slotdefs) - 1];
12304|    375|    PyObject **descrs = descrs_buf;
12305|    375|    if (collect_slot_descrs(type, descrs_buf) < 0) {
  ------------------
  |  Branch (12305:9): [True: 0, False: 375]
  ------------------
12306|      0|        descrs = NULL;
12307|      0|    }
12308|  25.5k|    for (pytype_slotdef *p = slotdefs; p->name; ) {
  ------------------
  |  Branch (12308:40): [True: 25.1k, False: 375]
  ------------------
12309|  25.1k|        update_one_slot(type, p, &p, descrs);
12310|  25.1k|    }
12311|    375|    if (descrs != NULL) {
  ------------------
  |  Branch (12311:9): [True: 375, False: 0]
  ------------------
12312|    375|        clear_slot_descrs(descrs);
12313|    375|    }
12314|    375|}
typeobject.c:collect_slot_descrs:
11958|    375|{
11959|    375|    ASSERT_NEW_TYPE_OR_LOCKED(type);
11960|    375|    PyObject *mro = lookup_tp_mro(type);
11961|    375|    assert(mro != NULL && PyTuple_CheckExact(mro));
  ------------------
  |  Branch (11961:5): [True: 375, False: 0]
  |  Branch (11961:5): [True: 375, False: 0]
  ------------------
11962|    375|    memset(descrs, 0, sizeof(PyObject *) * (Py_ARRAY_LENGTH(slotdefs) - 1));
  ------------------
  |  |  232|    375|    (sizeof(array) / sizeof((array)[0]))
  ------------------
11963|    375|    Py_ssize_t mro_size = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|    375|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    375|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    375|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11964|  1.71k|    for (Py_ssize_t m = 0; m < mro_size; m++) {
  ------------------
  |  Branch (11964:28): [True: 1.34k, False: 375]
  ------------------
11965|  1.34k|        PyObject *base = PyTuple_GET_ITEM(mro, m);
  ------------------
  |  |   29|  1.34k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.34k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11965:26): [True: 1.34k, False: 0]
  ------------------
11966|  1.34k|        assert(PyType_Check(base));
  ------------------
  |  Branch (11966:9): [True: 1.34k, False: 0]
  ------------------
11967|  1.34k|        PyObject *dict = lookup_tp_dict(_PyType_CAST(base));
  ------------------
  |  |  770|  1.34k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (11967:41): [True: 1.34k, False: 0]
  ------------------
11968|  1.34k|        assert(dict != NULL && PyDict_Check(dict));
  ------------------
  |  Branch (11968:9): [True: 1.34k, False: 0]
  |  Branch (11968:9): [True: 1.34k, False: 0]
  ------------------
11969|       |#ifdef Py_GIL_DISABLED
11970|       |        /* _PyDict_Next() needs the dict mutex, but we must not block for it:
11971|       |           blocking detaches the thread, which releases TYPE_LOCK and lets
11972|       |           another thread change a dict scanned earlier.  Fall back instead. */
11973|       |        PyMutex *mutex = &dict->ob_mutex;
11974|       |        if (!PyMutex_LockFast(mutex)) {
11975|       |            goto fail;
11976|       |        }
11977|       |#endif
11978|  1.34k|        int ok = 1;
11979|  1.34k|        if (!DK_IS_UNICODE(((PyDictObject *)dict)->ma_keys)
  ------------------
  |  |  303|  2.68k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  ------------------
  |  Branch (11979:13): [True: 0, False: 1.34k]
  ------------------
11980|  1.34k|            || PyDict_GET_SIZE(dict) > SLOT_SCAN_MAX_DICT_SIZE) {
  ------------------
  |  |   63|  1.34k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          || PyDict_GET_SIZE(dict) > SLOT_SCAN_MAX_DICT_SIZE) {
  ------------------
  |  |11941|  1.34k|#define SLOT_SCAN_MAX_DICT_SIZE 1000
  ------------------
  |  Branch (11980:16): [True: 0, False: 1.34k]
  ------------------
11981|      0|            ok = 0;
11982|      0|        }
11983|  1.34k|        else {
11984|  1.34k|            Py_ssize_t pos = 0;
11985|  1.34k|            PyObject *key, *value;
11986|  1.34k|            Py_hash_t hash;
11987|  20.9k|            while (_PyDict_Next(dict, &pos, &key, &value, &hash)) {
  ------------------
  |  Branch (11987:20): [True: 19.5k, False: 1.34k]
  ------------------
11988|  19.5k|                if (!is_dunder_name(key)) {
  ------------------
  |  Branch (11988:21): [True: 2.75k, False: 16.8k]
  ------------------
11989|  2.75k|                    continue;
11990|  2.75k|                }
11991|  16.8k|                Py_ssize_t idx = slotname_lookup(key, hash);
11992|  16.8k|                if (idx < 0) {
  ------------------
  |  Branch (11992:21): [True: 9.13k, False: 7.68k]
  ------------------
11993|  9.13k|                    continue;
11994|  9.13k|                }
11995|       |                /* First class in the MRO wins. */
11996|  7.68k|                const uint8_t *dups = slotdefs_dups[idx];
11997|  17.1k|                for (uint8_t k = 1; k <= dups[0]; k++) {
  ------------------
  |  Branch (11997:37): [True: 9.46k, False: 7.68k]
  ------------------
11998|  9.46k|                    if (descrs[dups[k]] == NULL) {
  ------------------
  |  Branch (11998:25): [True: 7.29k, False: 2.16k]
  ------------------
11999|  7.29k|                        descrs[dups[k]] = Py_NewRef(value);
  ------------------
  |  |  647|  7.29k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  7.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12000|  7.29k|                    }
12001|  9.46k|                }
12002|  7.68k|            }
12003|  1.34k|        }
12004|       |#ifdef Py_GIL_DISABLED
12005|       |        PyMutex_Unlock(mutex);
12006|       |#endif
12007|  1.34k|        if (!ok) {
  ------------------
  |  Branch (12007:13): [True: 0, False: 1.34k]
  ------------------
12008|      0|            goto fail;
12009|      0|        }
12010|  1.34k|    }
12011|    375|    return 0;
12012|       |
12013|      0|fail:
12014|      0|    clear_slot_descrs(descrs);
12015|      0|    return -1;
12016|    375|}
typeobject.c:is_dunder_name:
 6244|  19.9k|{
 6245|  19.9k|    Py_ssize_t length = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  300|  19.9k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6246|  19.9k|    int kind = PyUnicode_KIND(name);
  ------------------
  |  |  259|  19.9k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  39.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 19.9k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6247|       |    /* Special names contain at least "__x__" and are always ASCII. */
 6248|  19.9k|    if (length > 4 && kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (6248:9): [True: 19.7k, False: 214]
  |  Branch (6248:23): [True: 19.7k, False: 0]
  ------------------
 6249|  19.7k|        const Py_UCS1 *characters = PyUnicode_1BYTE_DATA(name);
  ------------------
  |  |  292|  19.7k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  19.7k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 6250|  19.7k|        return (
 6251|  19.7k|            ((characters[length-2] == '_') && (characters[length-1] == '_')) &&
  ------------------
  |  Branch (6251:14): [True: 16.8k, False: 2.86k]
  |  Branch (6251:47): [True: 16.8k, False: 0]
  ------------------
 6252|  16.8k|            ((characters[0] == '_') && (characters[1] == '_'))
  ------------------
  |  Branch (6252:14): [True: 16.8k, False: 0]
  |  Branch (6252:40): [True: 16.8k, False: 0]
  ------------------
 6253|  19.7k|        );
 6254|  19.7k|    }
 6255|    214|    return 0;
 6256|  19.9k|}
typeobject.c:update_one_slot:
12084|  25.1k|{
12085|  25.1k|    ASSERT_NEW_TYPE_OR_LOCKED(type);
12086|       |
12087|  25.1k|    PyObject *descr;
12088|  25.1k|    PyWrapperDescrObject *d;
12089|       |
12090|       |    // The correct specialized C function, like "tp_repr of str" in the
12091|       |    // example above
12092|  25.1k|    void *specific = NULL;
12093|       |
12094|       |    // A generic wrapper that uses method lookup (safe but slow)
12095|  25.1k|    void *generic = NULL;
12096|       |
12097|       |    // Set to 1 if the generic wrapper is necessary
12098|  25.1k|    int use_generic = 0;
12099|       |
12100|  25.1k|    int offset = p->offset;
12101|  25.1k|    void **ptr = slotptr(type, offset);
12102|       |
12103|  25.1k|    if (ptr == NULL) {
  ------------------
  |  Branch (12103:9): [True: 0, False: 25.1k]
  ------------------
12104|      0|        do {
12105|      0|            ++p;
12106|      0|        } while (p->offset == offset);
  ------------------
  |  Branch (12106:18): [True: 0, False: 0]
  ------------------
12107|      0|        if (next_p != NULL) {
  ------------------
  |  Branch (12107:13): [True: 0, False: 0]
  ------------------
12108|      0|            *next_p = p;
12109|      0|        }
12110|      0|        return;
12111|      0|    }
12112|       |    /* We may end up clearing live exceptions below, so make sure it's ours. */
12113|  25.1k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (12113:5): [True: 25.1k, False: 0]
  ------------------
12114|  35.2k|    do {
12115|  35.2k|        _PyStackRef descr_ref;
12116|  35.2k|        int res;
12117|  35.2k|        if (descrs != NULL) {
  ------------------
  |  Branch (12117:13): [True: 35.2k, False: 30]
  ------------------
12118|       |            /* Precomputed by collect_slot_descrs(), which owns the refs. */
12119|  35.2k|            PyObject *found = descrs[p - slotdefs];
12120|  35.2k|            res = (found != NULL);
12121|  35.2k|            descr_ref = res ? PyStackRef_FromPyObjectBorrow(found) : PyStackRef_NULL;
  ------------------
  |  Branch (12121:25): [True: 7.29k, False: 27.9k]
  ------------------
12122|  35.2k|        }
12123|     30|        else {
12124|       |#ifdef Py_GIL_DISABLED
12125|       |            res = find_slot_name_in_mro(type, p->name_strobj, &descr_ref);
12126|       |#else
12127|       |            /* Use faster uncached lookup as we won't get any cache hits during type setup. */
12128|     30|            res = find_name_in_mro(type, p->name_strobj, &descr_ref);
12129|     30|#endif
12130|     30|        }
12131|  35.2k|        if (res <= 0) {
  ------------------
  |  Branch (12131:13): [True: 27.9k, False: 7.32k]
  ------------------
12132|  27.9k|            if (ptr == (void**)&type->tp_iternext) {
  ------------------
  |  Branch (12132:17): [True: 358, False: 27.5k]
  ------------------
12133|    358|                specific = (void *)_PyObject_NextNotImplemented;
12134|    358|            }
12135|  27.9k|            continue;
12136|  27.9k|        }
12137|  7.32k|        descr = PyStackRef_AsPyObjectBorrow(descr_ref);
12138|  7.32k|        if (Py_IS_TYPE(descr, &PyWrapperDescr_Type) &&
  ------------------
  |  |  215|  14.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  7.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 6.06k, False: 1.26k]
  |  |  ------------------
  ------------------
12139|  6.06k|            ((PyWrapperDescrObject *)descr)->d_base->name_strobj == p->name_strobj) {
  ------------------
  |  Branch (12139:13): [True: 6.05k, False: 2]
  ------------------
12140|  6.05k|            void **tptr;
12141|  6.05k|            size_t index = (p - slotdefs);
12142|  6.05k|            if (slotdefs_dups[index][0] > 1) {
  ------------------
  |  Branch (12142:17): [True: 2.39k, False: 3.66k]
  ------------------
12143|  2.39k|                tptr = NULL;
12144|  7.14k|                for (size_t i = 1; i <= slotdefs_dups[index][0]; i++) {
  ------------------
  |  Branch (12144:36): [True: 4.79k, False: 2.35k]
  ------------------
12145|  4.79k|                    pytype_slotdef *q = &slotdefs[slotdefs_dups[index][i]];
12146|  4.79k|                    void **qptr = slotptr(type, q->offset);
12147|  4.79k|                    if (qptr == NULL || *qptr == NULL)
  ------------------
  |  Branch (12147:25): [True: 0, False: 4.79k]
  |  Branch (12147:41): [True: 2.35k, False: 2.44k]
  ------------------
12148|  2.35k|                        continue;
12149|  2.44k|                    if (tptr != NULL) {
  ------------------
  |  Branch (12149:25): [True: 46, False: 2.39k]
  ------------------
12150|     46|                        tptr = NULL;
12151|     46|                        break;
12152|     46|                    }
12153|  2.39k|                    tptr = qptr;
12154|  2.39k|                }
12155|  2.39k|            }
12156|  3.66k|            else {
12157|  3.66k|                tptr = slotptr(type, offset);
12158|  3.66k|            }
12159|       |
12160|  6.05k|            if (tptr == NULL || tptr == ptr)
  ------------------
  |  Branch (12160:17): [True: 46, False: 6.01k]
  |  Branch (12160:33): [True: 4.83k, False: 1.17k]
  ------------------
12161|  4.88k|                generic = p->function;
12162|  6.05k|            d = (PyWrapperDescrObject *)descr;
12163|  6.05k|            if ((specific == NULL || specific == d->d_wrapped) &&
  ------------------
  |  Branch (12163:18): [True: 3.80k, False: 2.25k]
  |  Branch (12163:38): [True: 2.24k, False: 1]
  ------------------
12164|  6.05k|                d->d_base->wrapper == p->wrapper &&
  ------------------
  |  Branch (12164:17): [True: 4.87k, False: 1.18k]
  ------------------
12165|  4.87k|                is_subtype_with_mro(lookup_tp_mro(type), type, PyDescr_TYPE(d)))
  ------------------
  |  |   35|  4.87k|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  |  Branch (12165:17): [True: 4.87k, False: 0]
  ------------------
12166|  4.87k|            {
12167|  4.87k|                specific = d->d_wrapped;
12168|  4.87k|            }
12169|  1.18k|            else {
12170|       |                /* We cannot use the specific slot function because either
12171|       |                   - it is not unique: there are multiple methods for this
12172|       |                     slot and they conflict
12173|       |                   - the signature is wrong (as checked by the ->wrapper
12174|       |                     comparison above)
12175|       |                   - it's wrapping the wrong class
12176|       |                 */
12177|  1.18k|                use_generic = 1;
12178|  1.18k|            }
12179|  6.05k|        }
12180|  1.26k|        else if (Py_IS_TYPE(descr, &PyCFunction_Type) &&
  ------------------
  |  |  215|  2.53k|#  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: 348, False: 918]
  |  |  ------------------
  ------------------
12181|    348|                 PyCFunction_GET_FUNCTION(descr) ==
  ------------------
  |  |   43|    348|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|    348|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    348|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12181:18): [True: 348, False: 0]
  ------------------
12182|  1.26k|                 _PyCFunction_CAST(tp_new_wrapper) &&
  ------------------
  |  |   53|  1.26k|    _Py_FUNC_CAST(PyCFunction, func)
  |  |  ------------------
  |  |  |  |   47|    348|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12183|    348|                 ptr == (void**)&type->tp_new)
  ------------------
  |  Branch (12183:18): [True: 348, False: 0]
  ------------------
12184|    348|        {
12185|       |            /* The __new__ wrapper is not a wrapper descriptor,
12186|       |               so must be special-cased differently.
12187|       |               If we don't do this, creating an instance will
12188|       |               always use slot_tp_new which will look up
12189|       |               __new__ in the MRO which will call tp_new_wrapper
12190|       |               which will look through the base classes looking
12191|       |               for a static base and call its tp_new (usually
12192|       |               PyType_GenericNew), after performing various
12193|       |               sanity checks and constructing a new argument
12194|       |               list.  Cut all that nonsense short -- this speeds
12195|       |               up instance creation tremendously. */
12196|    348|            specific = (void *)type->tp_new;
12197|       |            /* XXX I'm not 100% sure that there isn't a hole
12198|       |               in this reasoning that requires additional
12199|       |               sanity checks.  I'll buy the first person to
12200|       |               point out a bug in this reasoning a beer. */
12201|    348|        }
12202|    918|        else if (descr == Py_None &&
  ------------------
  |  |  616|  1.83k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12202:18): [True: 26, False: 892]
  ------------------
12203|     26|                 ptr == (void**)&type->tp_hash) {
  ------------------
  |  Branch (12203:18): [True: 26, False: 0]
  ------------------
12204|       |            /* We specifically allow __hash__ to be set to None
12205|       |               to prevent inheritance of the default
12206|       |               implementation from object.__hash__ */
12207|     26|            specific = (void *)PyObject_HashNotImplemented;
12208|     26|        }
12209|    892|        else {
12210|    892|            use_generic = 1;
12211|    892|            if (generic == NULL && Py_IS_TYPE(descr, &PyMethodDescr_Type) &&
  ------------------
  |  |  215|  1.61k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    718|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    718|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 13, False: 705]
  |  |  ------------------
  ------------------
  |  Branch (12211:17): [True: 718, False: 174]
  ------------------
12212|     13|                *ptr == ((PyMethodDescrObject *)descr)->d_method->ml_meth)
  ------------------
  |  Branch (12212:17): [True: 5, False: 8]
  ------------------
12213|      5|            {
12214|      5|                generic = *ptr;
12215|      5|            }
12216|    887|            else {
12217|    887|                generic = p->function;
12218|    887|            }
12219|    892|            if (p->function == slot_tp_call) {
  ------------------
  |  Branch (12219:17): [True: 16, False: 876]
  ------------------
12220|       |                /* A generic __call__ is incompatible with vectorcall */
12221|     16|                type_clear_flags(type, Py_TPFLAGS_HAVE_VECTORCALL);
  ------------------
  |  |  510|     16|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
12222|     16|            }
12223|    892|        }
12224|  7.32k|        PyStackRef_CLOSE(descr_ref);
12225|  35.2k|    } while ((++p)->offset == offset);
  ------------------
  |  Branch (12225:14): [True: 10.1k, False: 25.1k]
  ------------------
12226|       |
12227|  25.1k|    void *slot_value;
12228|  25.1k|    if (specific && !use_generic) {
  ------------------
  |  Branch (12228:9): [True: 3.35k, False: 21.7k]
  |  Branch (12228:21): [True: 3.30k, False: 54]
  ------------------
12229|  3.30k|        slot_value = specific;
12230|  21.8k|    } else {
12231|  21.8k|        slot_value = generic;
12232|  21.8k|    }
12233|       |
12234|  25.1k|    ASSERT_WORLD_STOPPED_OR_NEW_TYPE(type);
12235|  25.1k|    *ptr = slot_value;
12236|       |
12237|  25.1k|    if (next_p != NULL) {
  ------------------
  |  Branch (12237:9): [True: 25.1k, False: 24]
  ------------------
12238|  25.1k|        *next_p = p;
12239|  25.1k|    }
12240|  25.1k|}
typeobject.c:slotptr:
11898|   115k|{
11899|   115k|    char *ptr;
11900|   115k|    long offset = ioffset;
11901|       |
11902|       |    /* Note: this depends on the order of the members of PyHeapTypeObject! */
11903|   115k|    assert(offset >= 0);
  ------------------
  |  Branch (11903:5): [True: 115k, False: 0]
  ------------------
11904|   115k|    assert((size_t)offset < offsetof(PyHeapTypeObject, ht_name));
  ------------------
  |  Branch (11904:5): [True: 115k, False: 0]
  ------------------
11905|   115k|    if ((size_t)offset >= offsetof(PyHeapTypeObject, as_buffer)) {
  ------------------
  |  Branch (11905:9): [True: 2.58k, False: 113k]
  ------------------
11906|  2.58k|        ptr = (char *)type->tp_as_buffer;
11907|  2.58k|        offset -= offsetof(PyHeapTypeObject, as_buffer);
11908|  2.58k|    }
11909|   113k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_sequence)) {
  ------------------
  |  Branch (11909:14): [True: 12.3k, False: 100k]
  ------------------
11910|  12.3k|        ptr = (char *)type->tp_as_sequence;
11911|  12.3k|        offset -= offsetof(PyHeapTypeObject, as_sequence);
11912|  12.3k|    }
11913|   100k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_mapping)) {
  ------------------
  |  Branch (11913:14): [True: 4.91k, False: 95.8k]
  ------------------
11914|  4.91k|        ptr = (char *)type->tp_as_mapping;
11915|  4.91k|        offset -= offsetof(PyHeapTypeObject, as_mapping);
11916|  4.91k|    }
11917|  95.8k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_number)) {
  ------------------
  |  Branch (11917:14): [True: 58.4k, False: 37.4k]
  ------------------
11918|  58.4k|        ptr = (char *)type->tp_as_number;
11919|  58.4k|        offset -= offsetof(PyHeapTypeObject, as_number);
11920|  58.4k|    }
11921|  37.4k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_async)) {
  ------------------
  |  Branch (11921:14): [True: 3.85k, False: 33.5k]
  ------------------
11922|  3.85k|        ptr = (char *)type->tp_as_async;
11923|  3.85k|        offset -= offsetof(PyHeapTypeObject, as_async);
11924|  3.85k|    }
11925|  33.5k|    else {
11926|  33.5k|        ptr = (char *)type;
11927|  33.5k|    }
11928|   115k|    if (ptr != NULL)
  ------------------
  |  Branch (11928:9): [True: 90.4k, False: 25.2k]
  ------------------
11929|  90.4k|        ptr += offset;
11930|   115k|    return (void **)ptr;
11931|   115k|}
typeobject.c:tp_new_wrapper:
10460|    347|{
10461|    347|    PyTypeObject *staticbase;
10462|    347|    PyObject *arg0, *res;
10463|       |
10464|    347|    if (self == NULL || !PyType_Check(self)) {
  ------------------
  |  |  766|    347|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    347|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    347|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10464:9): [True: 0, False: 347]
  |  Branch (10464:25): [True: 0, False: 347]
  ------------------
10465|      0|        PyErr_Format(PyExc_SystemError,
10466|      0|                     "__new__() called with non-type 'self'");
10467|      0|        return NULL;
10468|      0|    }
10469|    347|    PyTypeObject *type = (PyTypeObject *)self;
10470|       |
10471|    347|    if (nargs < 1) {
  ------------------
  |  Branch (10471:9): [True: 0, False: 347]
  ------------------
10472|      0|        PyErr_Format(PyExc_TypeError,
10473|      0|                     "%s.__new__(): not enough arguments",
10474|      0|                     type->tp_name);
10475|      0|        return NULL;
10476|      0|    }
10477|    347|    arg0 = args[0];
10478|    347|    if (!PyType_Check(arg0)) {
  ------------------
  |  |  766|    347|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    347|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    347|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10478:9): [True: 0, False: 347]
  ------------------
10479|      0|        PyErr_Format(PyExc_TypeError,
10480|      0|                     "%s.__new__(X): X is not a type object (%s)",
10481|      0|                     type->tp_name,
10482|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10483|      0|        return NULL;
10484|      0|    }
10485|    347|    PyTypeObject *subtype = (PyTypeObject *)arg0;
10486|       |
10487|    347|    if (!PyType_IsSubtype(subtype, type)) {
  ------------------
  |  Branch (10487:9): [True: 0, False: 347]
  ------------------
10488|      0|        PyErr_Format(PyExc_TypeError,
10489|      0|                     "%s.__new__(%s): %s is not a subtype of %s",
10490|      0|                     type->tp_name,
10491|      0|                     subtype->tp_name,
10492|      0|                     subtype->tp_name,
10493|      0|                     type->tp_name);
10494|      0|        return NULL;
10495|      0|    }
10496|       |
10497|       |    /* Check that the use doesn't do something silly and unsafe like
10498|       |       object.__new__(dict).  To do this, we check that the
10499|       |       most derived base that's not a heap type is this type. */
10500|    347|    staticbase = subtype;
10501|    715|    while (staticbase && (staticbase->tp_new == slot_tp_new))
  ------------------
  |  Branch (10501:12): [True: 715, False: 0]
  |  Branch (10501:26): [True: 368, False: 347]
  ------------------
10502|    368|        staticbase = staticbase->tp_base;
10503|       |    /* If staticbase is NULL now, it is a really weird type.
10504|       |       In the spirit of backwards compatibility (?), just shut up. */
10505|    347|    if (staticbase && staticbase->tp_new != type->tp_new) {
  ------------------
  |  Branch (10505:9): [True: 347, False: 0]
  |  Branch (10505:23): [True: 0, False: 347]
  ------------------
10506|      0|        if (staticbase->tp_new == NULL) {
  ------------------
  |  Branch (10506:13): [True: 0, False: 0]
  ------------------
10507|      0|            PyErr_Format(PyExc_TypeError,
10508|      0|                         "cannot create '%s' instances", subtype->tp_name);
10509|      0|            return NULL;
10510|      0|        }
10511|      0|        PyErr_Format(PyExc_TypeError,
10512|      0|                     "%s.__new__(%s) is not safe, use %s.__new__()",
10513|      0|                     type->tp_name,
10514|      0|                     subtype->tp_name,
10515|      0|                     staticbase->tp_name);
10516|      0|        return NULL;
10517|      0|    }
10518|       |
10519|    347|    PyObject *args_tuple = PyTuple_FromArray(args + 1, nargs - 1);
10520|    347|    if (args_tuple == NULL) {
  ------------------
  |  Branch (10520:9): [True: 0, False: 347]
  ------------------
10521|      0|        return NULL;
10522|      0|    }
10523|    347|    PyObject *kwds = NULL;
10524|    347|    if (kwnames != NULL) {
  ------------------
  |  Branch (10524:9): [True: 0, False: 347]
  ------------------
10525|      0|        kwds = _PyStack_AsDict(args + nargs, kwnames);
10526|      0|        if (kwds == NULL) {
  ------------------
  |  Branch (10526:13): [True: 0, False: 0]
  ------------------
10527|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10528|      0|            return NULL;
10529|      0|        }
10530|      0|    }
10531|    347|    res = type->tp_new(subtype, args_tuple, kwds);
10532|    347|    Py_DECREF(args_tuple);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10533|    347|    Py_XDECREF(kwds);
  ------------------
  |  |  621|    347|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    347|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    347|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10534|    347|    return res;
10535|    347|}
typeobject.c:slot_tp_new:
11244|    320|{
11245|    320|    PyThreadState *tstate = _PyThreadState_GET();
11246|    320|    PyObject *result;
11247|       |
11248|    320|    _PyCStackRef func_ref;
11249|    320|    _PyThreadState_PushCStackRef(tstate, &func_ref);
11250|    320|    func_ref.ref = _PyObject_GetAttrStackRef((PyObject *)type, &_Py_ID(__new__));
  ------------------
  |  |  951|    320|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    320|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    320|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11251|    320|    if (PyStackRef_IsNull(func_ref.ref)) {
  ------------------
  |  |  482|    320|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|    320|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    320|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 320]
  |  |  ------------------
  ------------------
11252|      0|        _PyThreadState_PopCStackRef(tstate, &func_ref);
11253|      0|        return NULL;
11254|      0|    }
11255|       |
11256|    320|    PyObject *func = PyStackRef_AsPyObjectBorrow(func_ref.ref);
11257|    320|    result = _PyObject_Call_Prepend(tstate, func, (PyObject *)type, args, kwds);
11258|    320|    _PyThreadState_PopCStackRef(tstate, &func_ref);
11259|    320|    return result;
11260|    320|}
typeobject.c:slot_tp_call:
10989|      2|{
10990|      2|    return call_method(self, &_Py_ID(__call__), args, kwds);
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10991|      2|}
typeobject.c:call_method:
 3126|    335|{
 3127|    335|    PyThreadState *tstate = _PyThreadState_GET();
 3128|    335|    _PyCStackRef cref;
 3129|    335|    _PyThreadState_PushCStackRef(tstate, &cref);
 3130|    335|    PyObject *res = NULL;
 3131|    335|    int unbound = lookup_method(self, attr, &cref.ref);
 3132|    335|    if (unbound >= 0) {
  ------------------
  |  Branch (3132:9): [True: 335, False: 0]
  ------------------
 3133|    335|        PyObject *meth = PyStackRef_AsPyObjectBorrow(cref.ref);
 3134|    335|        if (unbound) {
  ------------------
  |  Branch (3134:13): [True: 335, False: 0]
  ------------------
 3135|    335|            res = _PyObject_Call_Prepend(tstate, meth, self, args, kwds);
 3136|    335|        }
 3137|      0|        else {
 3138|      0|            res = _PyObject_Call(tstate, meth, args, kwds);
 3139|      0|        }
 3140|    335|    }
 3141|    335|    _PyThreadState_PopCStackRef(tstate, &cref);
 3142|    335|    return res;
 3143|    335|}
typeobject.c:lookup_method:
 3075|    660|{
 3076|    660|    return lookup_method_ex(self, attr, out, 1);
 3077|    660|}
typeobject.c:type_clear_flags:
  418|    535|{
  419|    535|    type_set_flags(tp, tp->tp_flags & ~flag);
  420|    535|}
typeobject.c:clear_slot_descrs:
11945|    375|{
11946|  35.6k|    for (size_t i = 0; i < Py_ARRAY_LENGTH(slotdefs) - 1; i++) {
  ------------------
  |  |  232|  35.6k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (11946:24): [True: 35.2k, False: 375]
  ------------------
11947|       |        Py_CLEAR(descrs[i]);
  ------------------
  |  |  487|  35.2k|    do { \
  |  |  488|  35.2k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  35.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  35.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  35.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  35.2k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  35.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 7.29k, False: 27.9k]
  |  |  ------------------
  |  |  491|  7.29k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  7.29k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  7.29k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  7.29k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  7.29k|        } \
  |  |  494|  35.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 35.2k]
  |  |  ------------------
  ------------------
11948|  35.2k|    }
11949|    375|}
typeobject.c:type_ready_add_subclasses:
 9399|    908|{
 9400|    908|    PyObject *bases = lookup_tp_bases(type);
 9401|    908|    Py_ssize_t nbase = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|    908|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    908|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    908|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9402|  1.84k|    for (Py_ssize_t i = 0; i < nbase; i++) {
  ------------------
  |  Branch (9402:28): [True: 937, False: 908]
  ------------------
 9403|    937|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|    937|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    937|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    937|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9403:23): [True: 937, False: 0]
  ------------------
 9404|    937|        if (PyType_Check(b) && add_subclass((PyTypeObject *)b, type) < 0) {
  ------------------
  |  |  766|  1.87k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    937|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    937|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 937, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (9404:32): [True: 0, False: 937]
  ------------------
 9405|      0|            return -1;
 9406|      0|        }
 9407|    937|    }
 9408|    908|    return 0;
 9409|    908|}
typeobject.c:add_subclass:
 9740|    937|{
 9741|    937|    PyObject *key = PyLong_FromVoidPtr((void *) type);
 9742|    937|    if (key == NULL)
  ------------------
  |  Branch (9742:9): [True: 0, False: 937]
  ------------------
 9743|      0|        return -1;
 9744|       |
 9745|    937|    PyObject *ref = PyWeakref_NewRef((PyObject *)type, NULL);
 9746|    937|    if (ref == NULL) {
  ------------------
  |  Branch (9746:9): [True: 0, False: 937]
  ------------------
 9747|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9748|      0|        return -1;
 9749|      0|    }
 9750|       |
 9751|       |    // Only get tp_subclasses after creating the key and value.
 9752|       |    // PyWeakref_NewRef() can trigger a garbage collection which can execute
 9753|       |    // arbitrary Python code and so modify base->tp_subclasses.
 9754|    937|    PyObject *subclasses = lookup_tp_subclasses(base);
 9755|    937|    if (subclasses == NULL) {
  ------------------
  |  Branch (9755:9): [True: 159, False: 778]
  ------------------
 9756|    159|        subclasses = init_tp_subclasses(base);
 9757|    159|        if (subclasses == NULL) {
  ------------------
  |  Branch (9757:13): [True: 0, False: 159]
  ------------------
 9758|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9759|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9760|      0|            return -1;
 9761|      0|        }
 9762|    159|    }
 9763|    937|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (9763:5): [True: 937, False: 0]
  ------------------
 9764|       |
 9765|    937|    int result = PyDict_SetItem(subclasses, key, ref);
 9766|    937|    Py_DECREF(ref);
  ------------------
  |  |  430|    937|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    937|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    937|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9767|    937|    Py_DECREF(key);
  ------------------
  |  |  430|    937|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    937|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    937|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9768|    937|    return result;
 9769|    937|}
typeobject.c:check_basicsize_includes_size_and_offsets:
 5149|    121|{
 5150|    121|    if (type->tp_alloc != PyType_GenericAlloc) {
  ------------------
  |  Branch (5150:9): [True: 0, False: 121]
  ------------------
 5151|       |        // Custom allocators can ignore tp_basicsize
 5152|      0|        return 1;
 5153|      0|    }
 5154|    121|    Py_ssize_t max = (Py_ssize_t)type->tp_basicsize;
 5155|       |
 5156|    121|    if (type->tp_base && type->tp_base->tp_basicsize > type->tp_basicsize) {
  ------------------
  |  Branch (5156:9): [True: 121, False: 0]
  |  Branch (5156:26): [True: 0, False: 121]
  ------------------
 5157|      0|        PyErr_Format(PyExc_TypeError,
 5158|      0|                     "tp_basicsize for type '%s' (%zd) is too small for base '%s' (%zd)",
 5159|      0|                     type->tp_name, type->tp_basicsize,
 5160|      0|                     type->tp_base->tp_name, type->tp_base->tp_basicsize);
 5161|      0|        return 0;
 5162|      0|    }
 5163|    121|    if (type->tp_weaklistoffset + (Py_ssize_t)sizeof(PyObject*) > max) {
  ------------------
  |  Branch (5163:9): [True: 0, False: 121]
  ------------------
 5164|      0|        PyErr_Format(PyExc_TypeError,
 5165|      0|                     "weaklist offset %zd is out of bounds for type '%s' (tp_basicsize = %zd)",
 5166|      0|                     type->tp_weaklistoffset,
 5167|      0|                     type->tp_name, type->tp_basicsize);
 5168|      0|        return 0;
 5169|      0|    }
 5170|    121|    if (type->tp_dictoffset + (Py_ssize_t)sizeof(PyObject*) > max) {
  ------------------
  |  Branch (5170:9): [True: 0, False: 121]
  ------------------
 5171|      0|        PyErr_Format(PyExc_TypeError,
 5172|      0|                     "dict offset %zd is out of bounds for type '%s' (tp_basicsize = %zd)",
 5173|      0|                     type->tp_dictoffset,
 5174|      0|                     type->tp_name, type->tp_basicsize);
 5175|      0|        return 0;
 5176|      0|    }
 5177|    121|    if (type->tp_vectorcall_offset + (Py_ssize_t)sizeof(vectorcallfunc*) > max) {
  ------------------
  |  Branch (5177:9): [True: 0, False: 121]
  ------------------
 5178|      0|        PyErr_Format(PyExc_TypeError,
 5179|      0|                     "vectorcall offset %zd is out of bounds for type '%s' (tp_basicsize = %zd)",
 5180|      0|                     type->tp_vectorcall_offset,
 5181|      0|                     type->tp_name, type->tp_basicsize);
 5182|      0|        return 0;
 5183|      0|    }
 5184|    121|    return 1;
 5185|    121|}
typeobject.c:type_name:
 1460|    125|{
 1461|    125|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|    125|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1462|    125|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|    125|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1462:9): [True: 8, False: 117]
  ------------------
 1463|      8|        PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 1464|      8|        return Py_NewRef(et->ht_name);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1465|      8|    }
 1466|    117|    else {
 1467|    117|        return PyUnicode_FromString(_PyType_Name(type));
 1468|    117|    }
 1469|    125|}
typeobject.c:lookup_tp_mro:
  608|  22.7k|{
  609|  22.7k|    return self->tp_mro;
  610|  22.7k|}
typeobject.c:getitemdata:
 6113|    709|{
 6114|    709|    if (!_PyType_HasFeature(Py_TYPE(obj), Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  213|    709|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    709|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    709|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!_PyType_HasFeature(Py_TYPE(obj), Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  548|    709|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (6114:9): [True: 0, False: 709]
  ------------------
 6115|      0|        if (raise) {
  ------------------
  |  Branch (6115:13): [True: 0, False: 0]
  ------------------
 6116|      0|            PyErr_Format(PyExc_TypeError,
 6117|      0|                         "type '%T' does not have Py_TPFLAGS_ITEMS_AT_END",
 6118|      0|                         obj);
 6119|      0|        }
 6120|      0|        return NULL;
 6121|      0|    }
 6122|    709|    return (char *)obj + Py_TYPE(obj)->tp_basicsize;
  ------------------
  |  |  213|    709|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    709|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    709|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6123|    709|}
typeobject.c:should_assign_version_tag:
 6279|    617|{
 6280|    617|    return (version_tag == 0
  ------------------
  |  Branch (6280:13): [True: 617, False: 0]
  ------------------
 6281|    617|        && FT_ATOMIC_LOAD_UINT16_RELAXED(type->tp_versions_used) < MAX_VERSIONS_PER_CLASS
  ------------------
  |  |  160|    617|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  ------------------
                      && FT_ATOMIC_LOAD_UINT16_RELAXED(type->tp_versions_used) < MAX_VERSIONS_PER_CLASS
  ------------------
  |  | 1327|  1.23k|#define MAX_VERSIONS_PER_CLASS 1000
  ------------------
  |  Branch (6281:12): [True: 617, False: 0]
  ------------------
 6282|    617|        && MCACHE_CACHEABLE_NAME(name));
  ------------------
  |  |   44|    617|#define MCACHE_CACHEABLE_NAME(name) (PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name))
  |  |  ------------------
  |  |  |  |  104|    617|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  1.23k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    617|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    617|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 617, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MCACHE_CACHEABLE_NAME(name) (PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name))
  |  |  ------------------
  |  |  |  |  215|    617|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    617|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    617|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:38): [True: 617, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6283|    617|}
typeobject.c:find_name_in_mro:
 6143|  4.40k|{
 6144|  4.40k|    Py_hash_t hash = _PyObject_HashDictKey(name);
 6145|  4.40k|    if (hash == -1) {
  ------------------
  |  Branch (6145:9): [True: 0, False: 4.40k]
  ------------------
 6146|      0|        PyErr_Clear();
 6147|      0|        return -1;
 6148|      0|    }
 6149|       |
 6150|       |    /* Look in tp_dict of types in MRO */
 6151|  4.40k|    PyObject *mro = lookup_tp_mro(type);
 6152|  4.40k|    if (mro == NULL) {
  ------------------
  |  Branch (6152:9): [True: 0, False: 4.40k]
  ------------------
 6153|      0|        if (!is_readying(type)) {
  ------------------
  |  Branch (6153:13): [True: 0, False: 0]
  ------------------
 6154|      0|            if (PyType_Ready(type) < 0) {
  ------------------
  |  Branch (6154:17): [True: 0, False: 0]
  ------------------
 6155|      0|                PyErr_Clear();
 6156|      0|                return -1;
 6157|      0|            }
 6158|      0|            mro = lookup_tp_mro(type);
 6159|      0|        }
 6160|      0|        if (mro == NULL) {
  ------------------
  |  Branch (6160:13): [True: 0, False: 0]
  ------------------
 6161|      0|            return -1;
 6162|      0|        }
 6163|      0|    }
 6164|       |
 6165|  4.40k|    int res = 0;
 6166|  4.40k|    PyThreadState *tstate = _PyThreadState_GET();
 6167|       |    /* Keep a strong reference to mro because type->tp_mro can be replaced
 6168|       |       during dict lookup, e.g. when comparing to non-string keys. */
 6169|  4.40k|    _PyCStackRef mro_ref;
 6170|  4.40k|    _PyThreadState_PushCStackRef(tstate, &mro_ref);
 6171|  4.40k|    mro_ref.ref = PyStackRef_FromPyObjectNew(mro);
  ------------------
  |  |  611|  4.40k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6172|  4.40k|    Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|  4.40k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6173|  12.9k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (6173:28): [True: 9.63k, False: 3.30k]
  ------------------
 6174|  9.63k|        PyObject *base = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|  9.63k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  9.63k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6174:26): [True: 9.63k, False: 0]
  ------------------
 6175|  9.63k|        PyObject *dict = lookup_tp_dict(_PyType_CAST(base));
  ------------------
  |  |  770|  9.63k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (6175:41): [True: 9.63k, False: 0]
  ------------------
 6176|  9.63k|        assert(dict && PyDict_Check(dict));
  ------------------
  |  Branch (6176:9): [True: 9.63k, False: 0]
  |  Branch (6176:9): [True: 9.63k, False: 0]
  ------------------
 6177|  9.63k|        Py_ssize_t ix = _Py_dict_lookup_threadsafe_stackref(
 6178|  9.63k|            (PyDictObject *)dict, name, hash, out);
 6179|  9.63k|        if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|  9.63k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (6179:13): [True: 0, False: 9.63k]
  ------------------
 6180|      0|            PyErr_Clear();
 6181|      0|            res = -1;
 6182|      0|            goto done;
 6183|      0|        }
 6184|  9.63k|        if (!PyStackRef_IsNull(*out)) {
  ------------------
  |  |  482|  9.63k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  9.63k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  9.63k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6184:13): [True: 1.09k, False: 8.53k]
  ------------------
 6185|  1.09k|            res = 1;
 6186|  1.09k|            break;
 6187|  1.09k|        }
 6188|  9.63k|    }
 6189|  4.40k|done:
 6190|  4.40k|    _PyThreadState_PopCStackRef(tstate, &mro_ref);
 6191|  4.40k|    return res;
 6192|  4.40k|}
typeobject.c:set_flags_recursive:
 6435|     27|{
 6436|     27|    if (PyType_HasFeature(self, Py_TPFLAGS_IMMUTABLETYPE) ||
  ------------------
  |  |  500|     27|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6436:9): [True: 27, False: 0]
  ------------------
 6437|      0|        (self->tp_flags & mask) == flags)
  ------------------
  |  Branch (6437:9): [True: 0, False: 0]
  ------------------
 6438|     27|    {
 6439|     27|        return;
 6440|     27|    }
 6441|       |
 6442|      0|    type_set_flags_with_mask(self, mask, flags);
 6443|       |
 6444|      0|    PyObject *children = _PyType_GetSubclasses(self);
 6445|      0|    if (children == NULL) {
  ------------------
  |  Branch (6445:9): [True: 0, False: 0]
  ------------------
 6446|      0|        return;
 6447|      0|    }
 6448|       |
 6449|      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 (6449:28): [True: 0, False: 0]
  ------------------
 6450|      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 (6450:27): [True: 0, False: 0]
  ------------------
 6451|      0|        set_flags_recursive((PyTypeObject *)child, mask, flags);
 6452|      0|    }
 6453|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6454|      0|}
typeobject.c:type_dealloc_common:
 6794|      5|{
 6795|      5|    PyObject *bases = lookup_tp_bases(type);
 6796|      5|    if (bases != NULL) {
  ------------------
  |  Branch (6796:9): [True: 5, False: 0]
  ------------------
 6797|      5|        PyObject *exc = PyErr_GetRaisedException();
 6798|      5|        BEGIN_TYPE_LOCK();
 6799|      5|        remove_all_subclasses(type, bases);
 6800|      5|        END_TYPE_LOCK();
 6801|      5|        PyErr_SetRaisedException(exc);
 6802|      5|    }
 6803|      5|}
typeobject.c:remove_all_subclasses:
 9843|      5|{
 9844|      5|    assert(bases != NULL);
  ------------------
  |  Branch (9844:5): [True: 5, False: 0]
  ------------------
 9845|       |    // remove_subclass() can clear the current exception
 9846|      5|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (9846:5): [True: 5, False: 0]
  ------------------
 9847|       |
 9848|     10|    for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(bases); i++) {
  ------------------
  |  |   27|     10|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9848:28): [True: 5, False: 5]
  ------------------
 9849|      5|        PyObject *base = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|      5|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      5|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9849:26): [True: 5, False: 0]
  ------------------
 9850|      5|        if (PyType_Check(base)) {
  ------------------
  |  |  766|      5|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 5, False: 0]
  |  |  ------------------
  ------------------
 9851|      5|            remove_subclass((PyTypeObject*) base, type);
 9852|      5|        }
 9853|      5|    }
 9854|      5|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (9854:5): [True: 5, False: 0]
  ------------------
 9855|      5|}
typeobject.c:remove_subclass:
 9820|      5|{
 9821|      5|    PyObject *subclasses = lookup_tp_subclasses(base);  // borrowed ref
 9822|      5|    if (subclasses == NULL) {
  ------------------
  |  Branch (9822:9): [True: 0, False: 5]
  ------------------
 9823|      0|        return;
 9824|      0|    }
 9825|      5|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (9825:5): [True: 5, False: 0]
  ------------------
 9826|       |
 9827|      5|    PyObject *key = get_subclasses_key(type, base);
 9828|      5|    if (key != NULL && PyDict_DelItem(subclasses, key)) {
  ------------------
  |  Branch (9828:9): [True: 5, False: 0]
  |  Branch (9828:24): [True: 0, False: 5]
  ------------------
 9829|       |        /* This can happen if the type initialization errored out before
 9830|       |           the base subclasses were updated (e.g. a non-str __qualname__
 9831|       |           was passed in the type dict). */
 9832|      0|        PyErr_Clear();
 9833|      0|    }
 9834|      5|    Py_XDECREF(key);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9835|       |
 9836|      5|    if (PyDict_Size(subclasses) == 0) {
  ------------------
  |  Branch (9836:9): [True: 0, False: 5]
  ------------------
 9837|      0|        clear_tp_subclasses(base);
 9838|      0|    }
 9839|      5|}
typeobject.c:get_subclasses_key:
 9789|      5|{
 9790|      5|    PyObject *key = PyLong_FromVoidPtr((void *) type);
 9791|      5|    if (key != NULL) {
  ------------------
  |  Branch (9791:9): [True: 5, False: 0]
  ------------------
 9792|      5|        return key;
 9793|      5|    }
 9794|      0|    PyErr_Clear();
 9795|       |
 9796|       |    /* This basically means we're out of memory.
 9797|       |       We fall back to manually traversing the values. */
 9798|      0|    Py_ssize_t i = 0;
 9799|      0|    PyObject *ref;  // borrowed ref
 9800|      0|    PyObject *subclasses = lookup_tp_subclasses(base);
 9801|      0|    if (subclasses != NULL) {
  ------------------
  |  Branch (9801:9): [True: 0, False: 0]
  ------------------
 9802|      0|        while (PyDict_Next(subclasses, &i, &key, &ref)) {
  ------------------
  |  Branch (9802:16): [True: 0, False: 0]
  ------------------
 9803|      0|            PyTypeObject *subclass = type_from_ref(ref);
 9804|      0|            if (subclass == NULL) {
  ------------------
  |  Branch (9804:17): [True: 0, False: 0]
  ------------------
 9805|      0|                continue;
 9806|      0|            }
 9807|      0|            if (subclass == type) {
  ------------------
  |  Branch (9807:17): [True: 0, False: 0]
  ------------------
 9808|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9809|      0|                return Py_NewRef(key);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9810|      0|            }
 9811|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9812|      0|        }
 9813|      0|    }
 9814|       |    /* It wasn't found. */
 9815|      0|    return NULL;
 9816|      0|}
typeobject.c:clear_tp_subclasses:
  694|      5|{
  695|       |    /* Delete the dictionary to save memory. _PyStaticType_Dealloc()
  696|       |       callers also test if tp_subclasses is NULL to check if a static type
  697|       |       has no subclass. */
  698|      5|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|      5|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (698:9): [True: 0, False: 5]
  ------------------
  699|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
  700|      0|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  701|      0|        Py_CLEAR(state->tp_subclasses);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  702|      0|        return;
  703|      0|    }
  704|      5|    Py_CLEAR(self->tp_subclasses);
  ------------------
  |  |  487|      5|    do { \
  |  |  488|      5|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      5|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      5|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      5|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      5|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      5|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 5]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
  705|      5|}
typeobject.c:type_dealloc:
 6926|      5|{
 6927|      5|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  141|      5|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6928|       |
 6929|       |    // Assert this is a heap-allocated type object
 6930|      5|    _PyObject_ASSERT((PyObject *)type, type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  360|      5|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      5|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      5|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 5, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      5|      ? (void)(0) \
  |  |  |  |  |  |  353|      5|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6931|       |
 6932|       |    // Notify type watchers before teardown.  The type object is still fully
 6933|       |    // intact at this point (dict, bases, mro, name are all valid), so
 6934|       |    // callbacks can safely inspect it.
 6935|      5|    if (type->tp_watched) {
  ------------------
  |  Branch (6935:9): [True: 0, False: 5]
  ------------------
 6936|      0|        _PyObject_ResurrectStart(self);
 6937|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 6938|      0|        int bits = type->tp_watched;
 6939|      0|        int i = 0;
 6940|      0|        while (bits) {
  ------------------
  |  Branch (6940:16): [True: 0, False: 0]
  ------------------
 6941|      0|            assert(i < TYPE_MAX_WATCHERS);
  ------------------
  |  Branch (6941:13): [True: 0, False: 0]
  ------------------
 6942|      0|            if (bits & 1) {
  ------------------
  |  Branch (6942:17): [True: 0, False: 0]
  ------------------
 6943|      0|                PyType_WatchCallback cb = interp->type_watchers[i];
 6944|      0|                if (cb && (cb(type) < 0)) {
  ------------------
  |  Branch (6944:21): [True: 0, False: 0]
  |  Branch (6944:27): [True: 0, False: 0]
  ------------------
 6945|      0|                    PyErr_FormatUnraisable(
 6946|      0|                        "Exception ignored in type watcher callback #%d "
 6947|      0|                        "for %R",
 6948|      0|                        i, type);
 6949|      0|                }
 6950|      0|            }
 6951|      0|            i++;
 6952|      0|            bits >>= 1;
 6953|      0|        }
 6954|      0|        if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (6954:13): [True: 0, False: 0]
  ------------------
 6955|      0|            return;     // callback resurrected the object
 6956|      0|        }
 6957|      0|    }
 6958|       |
 6959|      5|    _PyObject_GC_UNTRACK(type);
  ------------------
  |  |  504|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6960|      5|    type_dealloc_common(type);
 6961|       |
 6962|       |    // PyObject_ClearWeakRefs() raises an exception if Py_REFCNT() != 0
 6963|      5|    assert(Py_REFCNT(type) == 0);
  ------------------
  |  Branch (6963:5): [True: 5, False: 0]
  ------------------
 6964|      5|    PyObject_ClearWeakRefs((PyObject *)type);
 6965|       |
 6966|      5|    Py_XDECREF(type->tp_base);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6967|      5|    Py_XDECREF(type->tp_dict);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6968|      5|    Py_XDECREF(type->tp_bases);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6969|      5|    Py_XDECREF(type->tp_mro);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6970|      5|    Py_XDECREF(type->tp_cache);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6971|      5|    clear_tp_subclasses(type);
 6972|      5|    _PyTypeCache_Invalidate(type);
 6973|       |
 6974|       |    /* A type's tp_doc is heap allocated, unlike the tp_doc slots
 6975|       |     * of most other objects.  It's okay to cast it to char *.
 6976|       |     */
 6977|      5|    PyMem_Free((char *)type->tp_doc);
 6978|       |
 6979|      5|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 6980|      5|    Py_XDECREF(et->ht_name);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6981|      5|    Py_XDECREF(et->ht_qualname);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6982|      5|    Py_XDECREF(et->ht_slots);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6983|      5|    if (et->ht_cached_keys) {
  ------------------
  |  Branch (6983:9): [True: 2, False: 3]
  ------------------
 6984|      2|        _PyDict_RemoveKeysForClass(et);
 6985|      2|    }
 6986|      5|    Py_XDECREF(et->ht_module);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6987|      5|    PyMem_Free(et->_ht_tpname);
 6988|       |#ifdef Py_GIL_DISABLED
 6989|       |    assert(et->unique_id == _Py_INVALID_UNIQUE_ID);
 6990|       |#endif
 6991|      5|    et->ht_token = NULL;
 6992|      5|    Py_TYPE(type)->tp_free((PyObject *)type);
  ------------------
  |  |  213|      5|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6993|      5|}
typeobject.c:type_call:
 2458|  1.73k|{
 2459|  1.73k|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  141|  1.73k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2460|  1.73k|    PyObject *obj;
 2461|  1.73k|    PyThreadState *tstate = _PyThreadState_GET();
 2462|       |
 2463|       |#ifdef Py_DEBUG
 2464|       |    /* type_call() must not be called with an exception set,
 2465|       |       because it can clear it (directly or indirectly) and so the
 2466|       |       caller loses its exception */
 2467|       |    assert(!_PyErr_Occurred(tstate));
 2468|       |#endif
 2469|       |
 2470|       |    /* Special case: type(x) should return Py_TYPE(x) */
 2471|       |    /* We only want type itself to accept the one-argument form (#27157) */
 2472|  1.73k|    if (type == &PyType_Type) {
  ------------------
  |  Branch (2472:9): [True: 297, False: 1.43k]
  ------------------
 2473|    297|        assert(args != NULL && PyTuple_Check(args));
  ------------------
  |  Branch (2473:9): [True: 297, False: 0]
  |  Branch (2473:9): [True: 297, False: 0]
  ------------------
 2474|    297|        assert(kwds == NULL || PyDict_Check(kwds));
  ------------------
  |  Branch (2474:9): [True: 295, False: 2]
  |  Branch (2474:9): [True: 2, False: 0]
  ------------------
 2475|    297|        Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    297|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    297|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    297|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2476|       |
 2477|    297|        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 (2477:13): [True: 0, False: 297]
  |  Branch (2477:28): [True: 0, False: 0]
  |  Branch (2477:44): [True: 0, False: 0]
  ------------------
 2478|      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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2479|      0|            return Py_NewRef(obj);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2480|      0|        }
 2481|       |
 2482|       |        /* SF bug 475327 -- if that didn't trigger, we need 3
 2483|       |           arguments. But PyArg_ParseTuple in type_new may give
 2484|       |           a msg saying type() needs exactly 3. */
 2485|    297|        if (nargs != 3) {
  ------------------
  |  Branch (2485:13): [True: 0, False: 297]
  ------------------
 2486|      0|            PyErr_SetString(PyExc_TypeError,
 2487|      0|                            "type() takes 1 or 3 arguments");
 2488|      0|            return NULL;
 2489|      0|        }
 2490|    297|    }
 2491|       |
 2492|  1.73k|    if (type->tp_new == NULL) {
  ------------------
  |  Branch (2492:9): [True: 0, False: 1.73k]
  ------------------
 2493|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 2494|      0|                      "cannot create '%s' instances", type->tp_name);
 2495|      0|        return NULL;
 2496|      0|    }
 2497|       |
 2498|  1.73k|    obj = type->tp_new(type, args, kwds);
 2499|  1.73k|    obj = _Py_CheckFunctionResult(tstate, (PyObject*)type, obj, NULL);
 2500|  1.73k|    if (obj == NULL)
  ------------------
  |  Branch (2500:9): [True: 0, False: 1.73k]
  ------------------
 2501|      0|        return NULL;
 2502|       |
 2503|       |    /* If the returned object is not an instance of type,
 2504|       |       it won't be initialized. */
 2505|  1.73k|    if (!PyObject_TypeCheck(obj, type))
  ------------------
  |  |  378|  1.73k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2505:9): [True: 0, False: 1.73k]
  ------------------
 2506|      0|        return obj;
 2507|       |
 2508|  1.73k|    type = Py_TYPE(obj);
  ------------------
  |  |  213|  1.73k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2509|  1.73k|    if (type->tp_init != NULL) {
  ------------------
  |  Branch (2509:9): [True: 1.73k, False: 0]
  ------------------
 2510|  1.73k|        int res = type->tp_init(obj, args, kwds);
 2511|  1.73k|        if (res < 0) {
  ------------------
  |  Branch (2511:13): [True: 11, False: 1.71k]
  ------------------
 2512|     11|            assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2512:13): [True: 11, False: 0]
  ------------------
 2513|     11|            Py_SETREF(obj, NULL);
  ------------------
  |  |  545|     11|    do { \
  |  |  546|     11|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     11|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|     11|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     11|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|     11|        *_tmp_dst_ptr = (src); \
  |  |  549|     11|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|     11|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|     11|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 11]
  |  |  ------------------
  ------------------
 2514|     11|        }
 2515|  1.71k|        else {
 2516|  1.71k|            assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2516:13): [True: 1.71k, False: 0]
  ------------------
 2517|  1.71k|        }
 2518|  1.73k|    }
 2519|  1.73k|    return obj;
 2520|  1.73k|}
typeobject.c:type_setattro:
 6694|    547|{
 6695|    547|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  141|    547|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6696|    547|    int res;
 6697|    547|    if (type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    547|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6697:9): [True: 0, False: 547]
  ------------------
 6698|      0|        PyErr_Format(
 6699|      0|            PyExc_TypeError,
 6700|      0|            "cannot set %R attribute of immutable type '%s'",
 6701|      0|            name, type->tp_name);
 6702|      0|        return -1;
 6703|      0|    }
 6704|    547|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|    547|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    547|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (6704:9): [True: 0, False: 547]
  ------------------
 6705|      0|        PyErr_Format(PyExc_TypeError,
 6706|      0|                     "attribute name must be string, not '%.200s'",
 6707|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6708|      0|        return -1;
 6709|      0|    }
 6710|       |
 6711|    547|    if (PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|    547|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    547|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    547|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    547|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 547, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6712|    547|        Py_INCREF(name);
  ------------------
  |  |  310|    547|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    547|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    547|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6713|    547|    }
 6714|      0|    else {
 6715|      0|        name = _PyUnicode_Copy(name);
 6716|      0|        if (name == NULL)
  ------------------
  |  Branch (6716:13): [True: 0, False: 0]
  ------------------
 6717|      0|            return -1;
 6718|      0|    }
 6719|    547|    if (!PyUnicode_CHECK_INTERNED(name)) {
  ------------------
  |  |  215|    547|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    547|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    547|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6719:9): [True: 0, False: 547]
  ------------------
 6720|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 6721|      0|        _PyUnicode_InternMortal(interp, &name);
 6722|      0|        if (!PyUnicode_CHECK_INTERNED(name)) {
  ------------------
  |  |  215|      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 (6722:13): [True: 0, False: 0]
  ------------------
 6723|      0|            PyErr_SetString(PyExc_MemoryError,
 6724|      0|                            "Out of memory interning an attribute name");
 6725|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6726|      0|            return -1;
 6727|      0|        }
 6728|      0|    }
 6729|       |
 6730|    547|    PyTypeObject *metatype = Py_TYPE(type);
  ------------------
  |  |  213|    547|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    547|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    547|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6731|    547|    assert(!_PyType_HasFeature(metatype, Py_TPFLAGS_INLINE_VALUES));
  ------------------
  |  Branch (6731:5): [True: 547, False: 0]
  ------------------
 6732|    547|    assert(!_PyType_HasFeature(metatype, Py_TPFLAGS_MANAGED_DICT));
  ------------------
  |  Branch (6732:5): [True: 547, False: 0]
  ------------------
 6733|       |
 6734|       |#ifdef Py_GIL_DISABLED
 6735|       |    // gh-139103: Enable deferred refcounting for functions and descriptors
 6736|       |    // assigned to type objects.  This is important for `dataclass.__init__`,
 6737|       |    // which is generated dynamically, and for descriptor scaling on
 6738|       |    // free-threaded builds.
 6739|       |    if (value != NULL && (PyFunction_Check(value) || Py_TYPE(value)->tp_descr_get != NULL))
 6740|       |    {
 6741|       |        PyUnstable_Object_EnableDeferredRefcount(value);
 6742|       |    }
 6743|       |#endif
 6744|       |
 6745|    547|    PyObject *old_value = NULL;
 6746|    547|    PyObject *descr = _PyType_LookupRef(metatype, name);
 6747|    547|    if (descr != NULL) {
  ------------------
  |  Branch (6747:9): [True: 213, False: 334]
  ------------------
 6748|    213|        descrsetfunc f = Py_TYPE(descr)->tp_descr_set;
  ------------------
  |  |  213|    213|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    213|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    213|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6749|    213|        if (f != NULL) {
  ------------------
  |  Branch (6749:13): [True: 188, False: 25]
  ------------------
 6750|    188|            res = f(descr, (PyObject *)type, value);
 6751|    188|            goto done;
 6752|    188|        }
 6753|    213|    }
 6754|       |
 6755|    359|    PyObject *dict = type->tp_dict;
 6756|    359|    if (dict == NULL) {
  ------------------
  |  Branch (6756:9): [True: 0, False: 359]
  ------------------
 6757|       |        // This is an unlikely case.  PyType_Ready has not yet been done and
 6758|       |        // we need to initialize tp_dict.  We don't just do PyType_Ready
 6759|       |        // because we could already be readying.
 6760|      0|        BEGIN_TYPE_LOCK();
 6761|      0|        dict = type->tp_dict;
 6762|      0|        if (dict == NULL) {
  ------------------
  |  Branch (6762:13): [True: 0, False: 0]
  ------------------
 6763|      0|            dict = type->tp_dict = PyDict_New();
 6764|      0|        }
 6765|      0|        END_TYPE_LOCK();
 6766|      0|        if (dict == NULL) {
  ------------------
  |  Branch (6766:13): [True: 0, False: 0]
  ------------------
 6767|      0|            res = -1;
 6768|      0|            goto done;
 6769|      0|        }
 6770|      0|    }
 6771|       |
 6772|    359|    BEGIN_TYPE_DICT_LOCK(dict);
 6773|    359|    res = type_update_dict(type, (PyDictObject *)dict, name, value, &old_value);
 6774|    359|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (6774:5): [True: 359, False: 0]
  ------------------
 6775|    359|    if (res == 0) {
  ------------------
  |  Branch (6775:9): [True: 359, False: 0]
  ------------------
 6776|    359|        if (is_dunder_name(name) && has_slotdef(name)) {
  ------------------
  |  Branch (6776:13): [True: 32, False: 327]
  |  Branch (6776:37): [True: 24, False: 8]
  ------------------
 6777|       |            // The name corresponds to a type slot.
 6778|     24|            res = update_slot_after_setattr(type, name);
 6779|     24|        }
 6780|    359|    }
 6781|    359|    END_TYPE_DICT_LOCK();
 6782|       |
 6783|    547|done:
 6784|    547|    Py_DECREF(name);
  ------------------
  |  |  430|    547|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    547|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    547|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6785|    547|    Py_XDECREF(descr);
  ------------------
  |  |  621|    547|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    547|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    547|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6786|       |    // delay decref of the old value as lock-free type cache readers may access it
 6787|    547|    _PyObject_XDecRefDelayed(old_value);
 6788|    547|    return res;
 6789|    359|}
typeobject.c:type_update_dict:
 6643|    359|{
 6644|       |    // We don't want any re-entrancy between when we update the dict
 6645|       |    // and call _PyType_Modified_Unlocked, including running the destructor
 6646|       |    // of the current value as it can observe the cache in an inconsistent
 6647|       |    // state.  The name is an exact unicode (see type_setattro()) and
 6648|       |    // str subclass keys are copied to exact str by type_new_copy_dict()
 6649|       |    // and type_setattro().  The type dict can still hold non-str keys
 6650|       |    // (type_new_impl() only warns about them) and comparing with one of
 6651|       |    // those can run user code that releases the locks.
 6652|    359|    if (_PyDict_GetItemRef_Unicode_LockHeld(dict, name, old_value) < 0) {
  ------------------
  |  Branch (6652:9): [True: 0, False: 359]
  ------------------
 6653|      0|        return -1;
 6654|      0|    }
 6655|       |
 6656|       |    /* Clear the VALID_VERSION flag of 'type' and all its
 6657|       |        subclasses.  This could possibly be unified with the
 6658|       |        update_subclasses() recursion in update_slot(), but carefully:
 6659|       |        they each have their own conditions on which to stop
 6660|       |        recursing into subclasses. */
 6661|    359|    _PyType_Modified_Unlocked(type);
 6662|       |
 6663|    359|    if (_PyDict_SetItem_LockHeld(dict, name, value) < 0) {
  ------------------
  |  Branch (6663:9): [True: 0, False: 359]
  ------------------
 6664|      0|        PyErr_Format(PyExc_AttributeError,
 6665|      0|                     "type object '%.50s' has no attribute '%U'",
 6666|      0|                     ((PyTypeObject*)type)->tp_name, name);
 6667|      0|        _PyObject_SetAttributeErrorContext((PyObject *)type, name);
 6668|      0|        return -1;
 6669|      0|    }
 6670|       |
 6671|    359|    return 0;
 6672|    359|}
typeobject.c:has_slotdef:
11937|     32|{
11938|     32|    return slotname_lookup(name, _PyObject_HashDictKey(name)) >= 0;
11939|     32|}
typeobject.c:update_slot_after_setattr:
 6676|     24|{
 6677|     24|    types_stop_world();
 6678|     24|    int res = update_slot(type, name);
 6679|     24|    types_start_world();
 6680|       |#ifdef Py_GIL_DISABLED
 6681|       |    // Invalidate again, after the slots are updated and while TYPE_LOCK is
 6682|       |    // still held.  Other threads may have assigned new version tags while
 6683|       |    // the lock was released waiting for the stop-the-world and cached
 6684|       |    // decisions based on the old slots.  This is a no-op if the tags are
 6685|       |    // still invalid.
 6686|       |    ASSERT_TYPE_LOCK_HELD();
 6687|       |    _PyType_Modified_Unlocked(type);
 6688|       |#endif
 6689|     24|    return res;
 6690|     24|}
typeobject.c:update_slot:
12261|     24|{
12262|     24|    pytype_slotdef *ptrs[MAX_EQUIV];
12263|     24|    pytype_slotdef *p;
12264|     24|    pytype_slotdef **pp;
12265|     24|    int offset;
12266|       |
12267|     24|    ASSERT_TYPE_LOCK_HELD();
12268|     24|    assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (12268:5): [True: 24, False: 0]
  ------------------
12269|     24|    assert(PyUnicode_CHECK_INTERNED(name));
  ------------------
  |  Branch (12269:5): [True: 24, False: 0]
  ------------------
12270|       |
12271|     24|    Py_ssize_t idx = slotname_lookup(name, _PyObject_HashDictKey(name));
12272|     24|    if (idx < 0) {
  ------------------
  |  Branch (12272:9): [True: 0, False: 24]
  ------------------
12273|      0|        return 0; /* Not an attribute that affects any slots */
12274|      0|    }
12275|       |    /* All slotdefs with this name, in slotdefs order. */
12276|     24|    const uint8_t *dups = slotdefs_dups[idx];
12277|     24|    pp = ptrs;
12278|     48|    for (uint8_t k = 1; k <= dups[0]; k++) {
  ------------------
  |  Branch (12278:25): [True: 24, False: 24]
  ------------------
12279|     24|        p = &slotdefs[dups[k]];
12280|     24|        offset = p->offset;
12281|     27|        while (p > slotdefs && (p-1)->offset == offset)
  ------------------
  |  Branch (12281:16): [True: 27, False: 0]
  |  Branch (12281:32): [True: 3, False: 24]
  ------------------
12282|      3|            --p;
12283|     24|        *pp++ = p;
12284|     24|    }
12285|     24|    *pp = NULL;
12286|       |
12287|     24|    update_callback_data_t callback_data;
12288|     24|    callback_data.defs = ptrs;
12289|     24|    return update_subclasses(type, name,
12290|     24|                             update_slots_callback, (void *)&callback_data);
12291|     24|}
typeobject.c:update_subclasses:
12465|     24|{
12466|     24|    if (callback(type, data) < 0) {
  ------------------
  |  Branch (12466:9): [True: 0, False: 24]
  ------------------
12467|      0|        return -1;
12468|      0|    }
12469|     24|    return recurse_down_subclasses(type, attr_name, callback, data);
12470|     24|}
typeobject.c:recurse_down_subclasses:
12475|     24|{
12476|       |    // It is safe to use a borrowed reference because update_subclasses() is
12477|       |    // only used with update_slots_callback() which doesn't modify
12478|       |    // tp_subclasses.
12479|     24|    PyObject *subclasses = lookup_tp_subclasses(type);  // borrowed ref
12480|     24|    if (subclasses == NULL) {
  ------------------
  |  Branch (12480:9): [True: 24, False: 0]
  ------------------
12481|     24|        return 0;
12482|     24|    }
12483|     24|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (12483:5): [True: 0, False: 0]
  ------------------
12484|       |
12485|      0|    Py_ssize_t i = 0;
12486|      0|    PyObject *ref;
12487|      0|    while (PyDict_Next(subclasses, &i, NULL, &ref)) {
  ------------------
  |  Branch (12487:12): [True: 0, False: 0]
  ------------------
12488|       |#ifdef Py_GIL_DISABLED
12489|       |        // With the world stopped, use borrowed references to the subclasses,
12490|       |        // so that dropping a reference cannot run type_dealloc().  Look up
12491|       |        // attr_name without calling __eq__ of non-str keys, consistent with
12492|       |        // find_slot_name_in_mro().
12493|       |        assert(types_world_is_stopped());
12494|       |        if (_PyWeakref_IS_DEAD(ref)) {
12495|       |            continue;
12496|       |        }
12497|       |        PyTypeObject *subclass =
12498|       |            _PyType_CAST(((PyWeakReference *)ref)->wr_object);
12499|       |
12500|       |        /* Avoid recursing down into unaffected classes */
12501|       |        PyObject *dict = lookup_tp_dict(subclass);
12502|       |        if (dict != NULL && PyDict_Check(dict) &&
12503|       |            _PyDict_GetItem_ExactUnicode((PyDictObject *)dict,
12504|       |                                         attr_name) != NULL)
12505|       |        {
12506|       |            continue;
12507|       |        }
12508|       |
12509|       |        if (update_subclasses(subclass, attr_name, callback, data) < 0) {
12510|       |            return -1;
12511|       |        }
12512|       |#else
12513|      0|        PyTypeObject *subclass = type_from_ref(ref);
12514|      0|        if (subclass == NULL) {
  ------------------
  |  Branch (12514:13): [True: 0, False: 0]
  ------------------
12515|      0|            continue;
12516|      0|        }
12517|       |
12518|       |        /* Avoid recursing down into unaffected classes */
12519|      0|        PyObject *dict = lookup_tp_dict(subclass);
12520|      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 (12520:13): [True: 0, False: 0]
  ------------------
12521|      0|            int r = PyDict_Contains(dict, attr_name);
12522|      0|            if (r < 0) {
  ------------------
  |  Branch (12522:17): [True: 0, False: 0]
  ------------------
12523|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12524|      0|                return -1;
12525|      0|            }
12526|      0|            if (r > 0) {
  ------------------
  |  Branch (12526:17): [True: 0, False: 0]
  ------------------
12527|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12528|      0|                continue;
12529|      0|            }
12530|      0|        }
12531|       |
12532|      0|        if (update_subclasses(subclass, attr_name, callback, data) < 0) {
  ------------------
  |  Branch (12532:13): [True: 0, False: 0]
  ------------------
12533|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12534|      0|            return -1;
12535|      0|        }
12536|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12537|      0|#endif
12538|      0|    }
12539|      0|    return 0;
12540|      0|}
typeobject.c:update_slots_callback:
12246|     24|{
12247|     24|    ASSERT_NEW_TYPE_OR_LOCKED(type);
12248|       |
12249|     24|    update_callback_data_t *update_data = (update_callback_data_t *)data;
12250|     24|    pytype_slotdef **pp = update_data->defs;
12251|     48|    for (; *pp; pp++) {
  ------------------
  |  Branch (12251:12): [True: 24, False: 24]
  ------------------
12252|     24|        update_one_slot(type, *pp, NULL, NULL);
12253|     24|    }
12254|     24|    return 0;
12255|     24|}
typeobject.c:type_traverse:
 7147|    879|{
 7148|    879|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  141|    879|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7149|       |
 7150|       |    /* Because of type_is_gc(), the collector only calls this
 7151|       |       for heaptypes. */
 7152|    879|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    879|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (7152:9): [True: 0, False: 879]
  ------------------
 7153|      0|        char msg[200];
 7154|      0|        sprintf(msg, "type_traverse() called on non-heap type '%.100s'",
 7155|      0|                type->tp_name);
 7156|      0|        _PyObject_ASSERT_FAILED_MSG((PyObject *)type, msg);
  ------------------
  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  ------------------
 7157|      0|    }
 7158|       |
 7159|    879|    Py_VISIT(type->tp_dict);
  ------------------
  |  |  194|    879|    do {                                                                \
  |  |  195|    879|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 879, False: 0]
  |  |  ------------------
  |  |  196|    879|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    879|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    879|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    879|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 879]
  |  |  ------------------
  |  |  198|    879|                return vret;                                            \
  |  |  199|    879|        }                                                               \
  |  |  200|    879|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 879]
  |  |  ------------------
  ------------------
 7160|    879|    Py_VISIT(type->tp_cache);
  ------------------
  |  |  194|    879|    do {                                                                \
  |  |  195|    879|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 879]
  |  |  ------------------
  |  |  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|    879|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 879]
  |  |  ------------------
  ------------------
 7161|    879|    Py_VISIT(type->tp_mro);
  ------------------
  |  |  194|    879|    do {                                                                \
  |  |  195|    879|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 879, False: 0]
  |  |  ------------------
  |  |  196|    879|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    879|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    879|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    879|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 879]
  |  |  ------------------
  |  |  198|    879|                return vret;                                            \
  |  |  199|    879|        }                                                               \
  |  |  200|    879|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 879]
  |  |  ------------------
  ------------------
 7162|    879|    Py_VISIT(type->tp_bases);
  ------------------
  |  |  194|    879|    do {                                                                \
  |  |  195|    879|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 879, False: 0]
  |  |  ------------------
  |  |  196|    879|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    879|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    879|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    879|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 879]
  |  |  ------------------
  |  |  198|    879|                return vret;                                            \
  |  |  199|    879|        }                                                               \
  |  |  200|    879|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 879]
  |  |  ------------------
  ------------------
 7163|    879|    Py_VISIT(type->tp_base);
  ------------------
  |  |  194|    879|    do {                                                                \
  |  |  195|    879|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 879, False: 0]
  |  |  ------------------
  |  |  196|    879|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    879|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    879|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    879|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 879]
  |  |  ------------------
  |  |  198|    879|                return vret;                                            \
  |  |  199|    879|        }                                                               \
  |  |  200|    879|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 879]
  |  |  ------------------
  ------------------
 7164|    879|    Py_VISIT(((PyHeapTypeObject *)type)->ht_module);
  ------------------
  |  |  194|    879|    do {                                                                \
  |  |  195|    879|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 152, False: 727]
  |  |  ------------------
  |  |  196|    152|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    152|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    152|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    152|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 152]
  |  |  ------------------
  |  |  198|    152|                return vret;                                            \
  |  |  199|    152|        }                                                               \
  |  |  200|    879|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 879]
  |  |  ------------------
  ------------------
 7165|       |
 7166|       |    /* There's no need to visit others because they can't be involved
 7167|       |       in cycles:
 7168|       |       type->tp_subclasses is a list of weak references,
 7169|       |       ((PyHeapTypeObject *)type)->ht_slots is a tuple of strings,
 7170|       |       ((PyHeapTypeObject *)type)->ht_*name are strings.
 7171|       |       */
 7172|       |
 7173|    879|    return 0;
 7174|    879|}
typeobject.c:type_clear:
 7178|      5|{
 7179|      5|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  141|      5|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7180|       |
 7181|       |    /* Because of type_is_gc(), the collector only calls this
 7182|       |       for heaptypes. */
 7183|      5|    _PyObject_ASSERT((PyObject *)type, type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  360|      5|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      5|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      5|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 5, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      5|      ? (void)(0) \
  |  |  |  |  |  |  353|      5|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7184|       |
 7185|       |    /* We need to invalidate the method cache carefully before clearing
 7186|       |       the dict, so that other objects caught in a reference cycle
 7187|       |       don't start calling destroyed methods.
 7188|       |
 7189|       |       Otherwise, we need to clear tp_mro, which is
 7190|       |       part of a hard cycle (its first element is the class itself) that
 7191|       |       won't be broken otherwise (it's a tuple and tuples don't have a
 7192|       |       tp_clear handler).
 7193|       |       We also need to clear ht_module, if present: the module usually holds a
 7194|       |       reference to its class. None of the other fields need to be
 7195|       |
 7196|       |       cleared, and here's why:
 7197|       |
 7198|       |       tp_cache:
 7199|       |           Not used; if it were, it would be a dict.
 7200|       |
 7201|       |       tp_bases, tp_base:
 7202|       |           If these are involved in a cycle, there must be at least
 7203|       |           one other, mutable object in the cycle, e.g. a base
 7204|       |           class's dict; the cycle will be broken that way.
 7205|       |
 7206|       |       tp_subclasses:
 7207|       |           A dict of weak references can't be part of a cycle; and
 7208|       |           dicts have their own tp_clear.
 7209|       |
 7210|       |       slots (in PyHeapTypeObject):
 7211|       |           A tuple of strings can't be part of a cycle.
 7212|       |    */
 7213|       |
 7214|      5|    PyType_Modified(type);
 7215|      5|    PyObject *dict = lookup_tp_dict(type);
 7216|      5|    if (dict) {
  ------------------
  |  Branch (7216:9): [True: 5, False: 0]
  ------------------
 7217|      5|        PyDict_Clear(dict);
 7218|      5|    }
 7219|      5|    Py_CLEAR(((PyHeapTypeObject *)type)->ht_module);
  ------------------
  |  |  487|      5|    do { \
  |  |  488|      5|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      5|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      5|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      5|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      5|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      5|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 5]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
 7220|       |
 7221|      5|    Py_CLEAR(type->tp_mro);
  ------------------
  |  |  487|      5|    do { \
  |  |  488|      5|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      5|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      5|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      5|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      5|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      5|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 5, False: 0]
  |  |  ------------------
  |  |  491|      5|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      5|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      5|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      5|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      5|        } \
  |  |  494|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
 7222|       |
 7223|      5|    return 0;
 7224|      5|}
typeobject.c:type_mro_impl:
 3572|     80|{
 3573|     80|    PyObject *seq;
 3574|     80|    seq = mro_implementation(self);
 3575|     80|    if (seq != NULL && !PyList_Check(seq)) {
  ------------------
  |  |   25|     80|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     80|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3575:9): [True: 80, False: 0]
  |  Branch (3575:24): [True: 64, False: 16]
  ------------------
 3576|     64|        Py_SETREF(seq, PySequence_List(seq));
  ------------------
  |  |  545|     64|    do { \
  |  |  546|     64|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     64|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|     64|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     64|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|     64|        *_tmp_dst_ptr = (src); \
  |  |  549|     64|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|     64|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 64]
  |  |  ------------------
  ------------------
 3577|     64|    }
 3578|     80|    return seq;
 3579|     80|}
typeobject.c:mro_implementation:
 3555|     80|{
 3556|     80|    PyObject *mro;
 3557|     80|    BEGIN_TYPE_LOCK();
 3558|     80|    mro = mro_implementation_unlocked(type);
 3559|     80|    END_TYPE_LOCK();
 3560|     80|    return mro;
 3561|     80|}
typeobject.c:mro_implementation_unlocked:
 3467|    908|{
 3468|    908|    ASSERT_TYPE_LOCK_HELD();
 3469|       |
 3470|    908|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (3470:9): [True: 0, False: 908]
  ------------------
 3471|      0|        if (PyType_Ready(type) < 0)
  ------------------
  |  Branch (3471:13): [True: 0, False: 0]
  ------------------
 3472|      0|            return NULL;
 3473|      0|    }
 3474|       |
 3475|    908|    PyObject *bases = lookup_tp_bases(type);
 3476|    908|    Py_ssize_t n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|    908|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    908|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    908|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3477|  1.84k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3477:28): [True: 937, False: 908]
  ------------------
 3478|  1.87k|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, i));
  ------------------
  |  |  770|    937|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 937, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3478:30): [True: 937, False: 0]
  |  Branch (3478:30): [True: 937, False: 0]
  ------------------
 3479|    937|        if (lookup_tp_mro(base) == NULL) {
  ------------------
  |  Branch (3479:13): [True: 0, False: 937]
  ------------------
 3480|      0|            PyErr_Format(PyExc_TypeError,
 3481|      0|                         "Cannot extend an incomplete type '%.100s'",
 3482|      0|                         base->tp_name);
 3483|      0|            return NULL;
 3484|      0|        }
 3485|  1.87k|        assert(PyTuple_Check(lookup_tp_mro(base)));
  ------------------
  |  Branch (3485:9): [True: 937, False: 0]
  ------------------
 3486|    937|    }
 3487|       |
 3488|    908|    if (n == 1) {
  ------------------
  |  Branch (3488:9): [True: 878, False: 30]
  ------------------
 3489|       |        /* Fast path: if there is a single base, constructing the MRO
 3490|       |         * is trivial.
 3491|       |         */
 3492|  1.75k|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, 0));
  ------------------
  |  |  770|    878|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 878, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3492:30): [True: 878, False: 0]
  |  Branch (3492:30): [True: 878, False: 0]
  ------------------
 3493|      0|        PyObject *base_mro = lookup_tp_mro(base);
 3494|  1.75k|        assert(base_mro != NULL);
  ------------------
  |  Branch (3494:9): [True: 878, False: 0]
  ------------------
 3495|    878|        Py_ssize_t k = PyTuple_GET_SIZE(base_mro);
  ------------------
  |  |   27|    878|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    878|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    878|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3496|    878|        PyObject *result = PyTuple_New(k + 1);
 3497|    878|        if (result == NULL) {
  ------------------
  |  Branch (3497:13): [True: 0, False: 878]
  ------------------
 3498|      0|            return NULL;
 3499|      0|        }
 3500|       |
 3501|    878|        ;
 3502|    878|        PyTuple_SET_ITEM(result, 0, Py_NewRef(type));
  ------------------
  |  |   40|    878|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    878|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    878|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    878|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    878|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3503|  2.70k|        for (Py_ssize_t i = 0; i < k; i++) {
  ------------------
  |  Branch (3503:32): [True: 1.82k, False: 878]
  ------------------
 3504|  1.82k|            PyObject *cls = PyTuple_GET_ITEM(base_mro, i);
  ------------------
  |  |   29|  1.82k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.82k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3504:29): [True: 1.82k, False: 0]
  ------------------
 3505|  1.82k|            PyTuple_SET_ITEM(result, i + 1, Py_NewRef(cls));
  ------------------
  |  |   40|  1.82k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3506|  1.82k|        }
 3507|    878|        return result;
 3508|    878|    }
 3509|       |
 3510|       |    /* This is just a basic sanity check. */
 3511|     30|    if (check_duplicates(bases) < 0) {
  ------------------
  |  Branch (3511:9): [True: 0, False: 30]
  ------------------
 3512|      0|        return NULL;
 3513|      0|    }
 3514|       |
 3515|       |    /* Find a superclass linearization that honors the constraints
 3516|       |       of the explicit tuples of bases and the constraints implied by
 3517|       |       each base class.
 3518|       |
 3519|       |       to_merge is an array of tuples, where each tuple is a superclass
 3520|       |       linearization implied by a base class.  The last element of
 3521|       |       to_merge is the declared tuple of bases.
 3522|       |    */
 3523|     30|    PyObject **to_merge = PyMem_New(PyObject *, n + 1);
  ------------------
  |  |   64|     30|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|     30|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 30]
  |  |  ------------------
  |  |   65|     30|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3524|     30|    if (to_merge == NULL) {
  ------------------
  |  Branch (3524:9): [True: 0, False: 30]
  ------------------
 3525|      0|        PyErr_NoMemory();
 3526|      0|        return NULL;
 3527|      0|    }
 3528|       |
 3529|     30|    PyObject *mro_to_merge;
 3530|     89|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3530:28): [True: 59, False: 30]
  ------------------
 3531|    118|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, i));
  ------------------
  |  |  770|     59|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 59, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3531:30): [True: 59, False: 0]
  |  Branch (3531:30): [True: 59, False: 0]
  ------------------
 3532|      0|        mro_to_merge = lookup_tp_mro(base);
 3533|    118|        assert(mro_to_merge != NULL);
  ------------------
  |  Branch (3533:9): [True: 59, False: 0]
  ------------------
 3534|     59|        to_merge[i] = mro_to_merge;
 3535|     59|    }
 3536|     30|    to_merge[n] = bases;
 3537|       |
 3538|     30|    PyObject *result = PyList_New(1);
 3539|     30|    if (result == NULL) {
  ------------------
  |  Branch (3539:9): [True: 0, False: 30]
  ------------------
 3540|      0|        PyMem_Free(to_merge);
 3541|      0|        return NULL;
 3542|      0|    }
 3543|       |
 3544|     30|    PyList_SET_ITEM(result, 0, Py_NewRef(type));
  ------------------
  |  |   50|     30|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3545|     30|    if (pmerge(result, to_merge, n + 1) < 0) {
  ------------------
  |  Branch (3545:9): [True: 0, False: 30]
  ------------------
 3546|      0|        Py_CLEAR(result);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3547|      0|    }
 3548|     30|    PyMem_Free(to_merge);
 3549|       |
 3550|     30|    return result;
 3551|     30|}
typeobject.c:check_duplicates:
 3306|     30|{
 3307|     30|    Py_ssize_t i, j, n;
 3308|       |    /* Let's use a quadratic time algorithm,
 3309|       |       assuming that the bases tuples is short.
 3310|       |    */
 3311|     30|    n = PyTuple_GET_SIZE(tuple);
  ------------------
  |  |   27|     30|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3312|     89|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3312:17): [True: 59, False: 30]
  ------------------
 3313|     59|        PyObject *o = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|     59|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     59|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3313:23): [True: 59, False: 0]
  ------------------
 3314|     93|        for (j = i + 1; j < n; j++) {
  ------------------
  |  Branch (3314:25): [True: 34, False: 59]
  ------------------
 3315|     68|            if (PyTuple_GET_ITEM(tuple, j) == o) {
  ------------------
  |  |   29|     34|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     34|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3315:17): [True: 34, False: 0]
  |  Branch (3315:17): [True: 0, False: 34]
  ------------------
 3316|      0|                o = class_name(o);
 3317|      0|                if (o != NULL) {
  ------------------
  |  Branch (3317:21): [True: 0, False: 0]
  ------------------
 3318|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3319|      0|                        PyErr_Format(PyExc_TypeError,
 3320|      0|                                     "duplicate base class %U", o);
 3321|      0|                    }
 3322|      0|                    else {
 3323|      0|                        PyErr_SetString(PyExc_TypeError,
 3324|      0|                                        "duplicate base class");
 3325|      0|                    }
 3326|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3327|      0|                }
 3328|      0|                return -1;
 3329|      0|            }
 3330|     34|        }
 3331|     59|    }
 3332|     30|    return 0;
 3333|     30|}
typeobject.c:pmerge:
 3397|     30|{
 3398|     30|    int res = 0;
 3399|     30|    Py_ssize_t i, j, empty_cnt;
 3400|     30|    Py_ssize_t *remain;
 3401|       |
 3402|       |    /* remain stores an index into each sublist of to_merge.
 3403|       |       remain[i] is the index of the next base in to_merge[i]
 3404|       |       that is not included in acc.
 3405|       |    */
 3406|     30|    remain = PyMem_New(Py_ssize_t, to_merge_size);
  ------------------
  |  |   64|     30|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|     30|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 30]
  |  |  ------------------
  |  |   65|     30|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3407|     30|    if (remain == NULL) {
  ------------------
  |  Branch (3407:9): [True: 0, False: 30]
  ------------------
 3408|      0|        PyErr_NoMemory();
 3409|      0|        return -1;
 3410|      0|    }
 3411|    119|    for (i = 0; i < to_merge_size; i++)
  ------------------
  |  Branch (3411:17): [True: 89, False: 30]
  ------------------
 3412|     89|        remain[i] = 0;
 3413|       |
 3414|    163|  again:
 3415|    163|    empty_cnt = 0;
 3416|    311|    for (i = 0; i < to_merge_size; i++) {
  ------------------
  |  Branch (3416:17): [True: 281, False: 30]
  ------------------
 3417|    281|        PyObject *candidate;
 3418|       |
 3419|    281|        PyObject *cur_tuple = to_merge[i];
 3420|       |
 3421|    281|        if (remain[i] >= PyTuple_GET_SIZE(cur_tuple)) {
  ------------------
  |  |   27|    281|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    281|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    281|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3421:13): [True: 89, False: 192]
  ------------------
 3422|     89|            empty_cnt++;
 3423|     89|            continue;
 3424|     89|        }
 3425|       |
 3426|       |        /* Choose next candidate for MRO.
 3427|       |
 3428|       |           The input sequences alone can determine the choice.
 3429|       |           If not, choose the class which appears in the MRO
 3430|       |           of the earliest direct superclass of the new class.
 3431|       |        */
 3432|       |
 3433|    192|        candidate = PyTuple_GET_ITEM(cur_tuple, remain[i]);
  ------------------
  |  |   29|    192|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    192|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    192|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3433:21): [True: 192, False: 0]
  ------------------
 3434|    668|        for (j = 0; j < to_merge_size; j++) {
  ------------------
  |  Branch (3434:21): [True: 535, False: 133]
  ------------------
 3435|    535|            PyObject *j_lst = to_merge[j];
 3436|    535|            if (tail_contains(j_lst, remain[j], candidate))
  ------------------
  |  Branch (3436:17): [True: 59, False: 476]
  ------------------
 3437|     59|                goto skip; /* continue outer loop */
 3438|    535|        }
 3439|    133|        res = PyList_Append(acc, candidate);
 3440|    133|        if (res < 0)
  ------------------
  |  Branch (3440:13): [True: 0, False: 133]
  ------------------
 3441|      0|            goto out;
 3442|       |
 3443|    545|        for (j = 0; j < to_merge_size; j++) {
  ------------------
  |  Branch (3443:21): [True: 412, False: 133]
  ------------------
 3444|    412|            PyObject *j_lst = to_merge[j];
 3445|    412|            if (remain[j] < PyTuple_GET_SIZE(j_lst) &&
  ------------------
  |  |   27|    824|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    412|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    412|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3445:17): [True: 338, False: 74]
  ------------------
 3446|    676|                PyTuple_GET_ITEM(j_lst, remain[j]) == candidate) {
  ------------------
  |  |   29|    338|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    338|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    338|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3446:17): [True: 338, False: 0]
  |  Branch (3446:17): [True: 245, False: 93]
  ------------------
 3447|    245|                remain[j]++;
 3448|    245|            }
 3449|    412|        }
 3450|    133|        goto again;
 3451|     59|      skip: ;
 3452|     59|    }
 3453|       |
 3454|     30|    if (empty_cnt != to_merge_size) {
  ------------------
  |  Branch (3454:9): [True: 0, False: 30]
  ------------------
 3455|      0|        set_mro_error(to_merge, to_merge_size, remain);
 3456|      0|        res = -1;
 3457|      0|    }
 3458|       |
 3459|     30|  out:
 3460|     30|    PyMem_Free(remain);
 3461|       |
 3462|     30|    return res;
 3463|     30|}
typeobject.c:tail_contains:
 3282|    535|{
 3283|    535|    Py_ssize_t j, size;
 3284|    535|    size = PyTuple_GET_SIZE(tuple);
  ------------------
  |  |   27|    535|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    535|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    535|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3285|       |
 3286|    963|    for (j = whence+1; j < size; j++) {
  ------------------
  |  Branch (3286:24): [True: 487, False: 476]
  ------------------
 3287|    974|        if (PyTuple_GET_ITEM(tuple, j) == o)
  ------------------
  |  |   29|    487|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    487|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    487|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3287:13): [True: 487, False: 0]
  |  Branch (3287:13): [True: 59, False: 428]
  ------------------
 3288|     59|            return 1;
 3289|    487|    }
 3290|    476|    return 0;
 3291|    535|}
typeobject.c:type___subclasses___impl:
 7005|     45|{
 7006|     45|    return _PyType_GetSubclasses(self);
 7007|     45|}
typeobject.c:type_prepare:
 7012|    233|{
 7013|    233|    return PyDict_New();
 7014|    233|}
typeobject.c:type___instancecheck___impl:
 2381|      2|{
 2382|      2|    return _PyObject_RealIsInstance(instance, (PyObject *)self);
 2383|      2|}
typeobject.c:type___subclasscheck___impl:
 2397|     10|{
 2398|     10|    return _PyObject_RealIsSubclass(subclass, (PyObject *)self);
 2399|     10|}
typeobject.c:check_set_special_type_attr:
 1422|      4|{
 1423|      4|    if (!value) {
  ------------------
  |  Branch (1423:9): [True: 0, False: 4]
  ------------------
 1424|      0|        PyErr_Format(PyExc_TypeError,
 1425|      0|                     "cannot delete '%s' attribute of type '%s'",
 1426|      0|                     name, type->tp_name);
 1427|      0|        return 0;
 1428|      0|    }
 1429|      4|    if (_PyType_HasFeature(type, Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|      4|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1429:9): [True: 0, False: 4]
  ------------------
 1430|      0|        PyErr_Format(PyExc_TypeError,
 1431|      0|                     "cannot set '%s' attribute of immutable type '%s'",
 1432|      0|                     name, type->tp_name);
 1433|      0|        return 0;
 1434|      0|    }
 1435|       |
 1436|      4|    if (PySys_Audit("object.__setattr__", "OsO",
  ------------------
  |  Branch (1436:9): [True: 0, False: 4]
  ------------------
 1437|      4|                    type, name, value) < 0) {
 1438|      0|        return 0;
 1439|      0|    }
 1440|       |
 1441|      4|    return 1;
 1442|      4|}
typeobject.c:type_get_bases:
 1699|     71|{
 1700|     71|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     71|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1701|     71|    PyObject *bases = _PyType_GetBases(type);
 1702|     71|    if (bases == NULL) {
  ------------------
  |  Branch (1702:9): [True: 0, False: 71]
  ------------------
 1703|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1704|      0|    }
 1705|     71|    return bases;
 1706|     71|}
typeobject.c:mro_internal:
 3691|    908|{
 3692|    908|    ASSERT_TYPE_LOCK_HELD();
 3693|       |
 3694|    908|    PyObject *new_mro, *old_mro;
 3695|       |
 3696|       |    /* Keep a reference to be able to do a reentrancy check below.
 3697|       |       Don't let old_mro be GC'ed and its address be reused for
 3698|       |       another object, like (suddenly!) a new tp_mro.  */
 3699|    908|    old_mro = Py_XNewRef(lookup_tp_mro(type));
  ------------------
  |  |  648|    908|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    908|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    908|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3700|    908|    new_mro = mro_invoke(type);  /* might cause reentrance */
 3701|    908|    if (new_mro == NULL) {
  ------------------
  |  Branch (3701:9): [True: 0, False: 908]
  ------------------
 3702|      0|        Py_XDECREF(old_mro);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3703|      0|        return -1;
 3704|      0|    }
 3705|    908|    int res;
 3706|    908|    if (initial) {
  ------------------
  |  Branch (3706:9): [True: 908, False: 0]
  ------------------
 3707|       |        // The type has not been revealed to other threads yet, so only
 3708|       |        // same-thread reentrance can have replaced tp_mro.
 3709|    908|        if (lookup_tp_mro(type) == old_mro) {
  ------------------
  |  Branch (3709:13): [True: 908, False: 0]
  ------------------
 3710|    908|            set_tp_mro(type, new_mro);
 3711|    908|            res = 1;
 3712|    908|        }
 3713|      0|        else {
 3714|      0|            res = 0;
 3715|      0|        }
 3716|    908|    }
 3717|      0|    else {
 3718|       |        // Store with the world stopped.  TYPE_LOCK may have been released
 3719|       |        // while mro_invoke() ran, so check for reentrance inside the
 3720|       |        // stop-the-world.  mro() can itself update types (assign a slot,
 3721|       |        // for example) and the result is stored anyway, as on the default
 3722|       |        // build.
 3723|      0|        res = try_set_tp_mro(type, old_mro, new_mro);
 3724|      0|    }
 3725|    908|    if (res == 0) {
  ------------------
  |  Branch (3725:9): [True: 0, False: 908]
  ------------------
 3726|       |        /* reentrance: tp_mro was replaced by someone else */
 3727|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3728|      0|        Py_XDECREF(old_mro);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3729|      0|        return 0;
 3730|      0|    }
 3731|       |    /* Drop our temporary reference.  The reference previously owned by
 3732|       |       the type is now owned by this function and transferred below. */
 3733|    908|    Py_XDECREF(old_mro);
  ------------------
  |  |  621|    908|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    908|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    908|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3734|       |
 3735|    908|    type_mro_modified(type, new_mro);
 3736|       |    /* corner case: the super class might have been hidden
 3737|       |       from the custom MRO */
 3738|    908|    type_mro_modified(type, lookup_tp_bases(type));
 3739|       |
 3740|       |    // XXX Expand this to Py_TPFLAGS_IMMUTABLETYPE?
 3741|    908|    if (!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN)) {
  ------------------
  |  |  467|    908|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (3741:9): [True: 496, False: 412]
  ------------------
 3742|    496|        _PyType_Modified_Unlocked(type);
 3743|    496|    }
 3744|    412|    else {
 3745|       |        /* For static builtin types, this is only called during init
 3746|       |           before the method cache has been populated. */
 3747|    412|        assert(type->tp_version_tag);
  ------------------
  |  Branch (3747:9): [True: 412, False: 0]
  ------------------
 3748|    412|    }
 3749|       |
 3750|    908|    if (p_old_mro != NULL)
  ------------------
  |  Branch (3750:9): [True: 0, False: 908]
  ------------------
 3751|      0|        *p_old_mro = old_mro;  /* transfer the ownership */
 3752|    908|    else
 3753|    908|        Py_XDECREF(old_mro);
  ------------------
  |  |  621|    908|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    908|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    908|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3754|       |
 3755|    908|    return 1;
 3756|    908|}
typeobject.c:mro_invoke:
 3627|    908|{
 3628|    908|    PyObject *mro_result;
 3629|    908|    PyObject *new_mro;
 3630|       |
 3631|    908|    ASSERT_TYPE_LOCK_HELD();
 3632|       |
 3633|    908|    const int custom = !Py_IS_TYPE(type, &PyType_Type);
  ------------------
  |  |  215|    908|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    908|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    908|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3634|       |
 3635|    908|    if (custom) {
  ------------------
  |  Branch (3635:9): [True: 80, False: 828]
  ------------------
 3636|       |        // Custom mro() method on metaclass.  This is potentially re-entrant.
 3637|       |        // We are called either from type_ready() or from type_set_bases().
 3638|     80|        mro_result = call_method_noarg((PyObject *)type, &_Py_ID(mro));
  ------------------
  |  |  951|     80|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     80|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     80|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3639|     80|    }
 3640|    828|    else {
 3641|       |        // In this case, the mro() method on the type object is being used and
 3642|       |        // we know that these calls are not re-entrant.
 3643|    828|        mro_result = mro_implementation_unlocked(type);
 3644|    828|    }
 3645|    908|    if (mro_result == NULL)
  ------------------
  |  Branch (3645:9): [True: 0, False: 908]
  ------------------
 3646|      0|        return NULL;
 3647|       |
 3648|    908|    new_mro = PySequence_Tuple(mro_result);
 3649|    908|    Py_DECREF(mro_result);
  ------------------
  |  |  430|    908|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    908|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    908|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3650|    908|    if (new_mro == NULL) {
  ------------------
  |  Branch (3650:9): [True: 0, False: 908]
  ------------------
 3651|      0|        return NULL;
 3652|      0|    }
 3653|       |
 3654|    908|    if (PyTuple_GET_SIZE(new_mro) == 0) {
  ------------------
  |  |   27|    908|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    908|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    908|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3654:9): [True: 0, False: 908]
  ------------------
 3655|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3656|      0|        PyErr_Format(PyExc_TypeError, "type MRO must not be empty");
 3657|      0|        return NULL;
 3658|      0|    }
 3659|       |
 3660|    908|    if (custom && mro_check(type, new_mro) < 0) {
  ------------------
  |  Branch (3660:9): [True: 80, False: 828]
  |  Branch (3660:19): [True: 0, False: 80]
  ------------------
 3661|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3662|      0|        return NULL;
 3663|      0|    }
 3664|    908|    return new_mro;
 3665|    908|}
typeobject.c:call_method_noarg:
 3110|     80|{
 3111|     80|    PyThreadState *tstate = _PyThreadState_GET();
 3112|     80|    _PyCStackRef cref;
 3113|     80|    _PyThreadState_PushCStackRef(tstate, &cref);
 3114|     80|    PyObject *res = NULL;
 3115|     80|    int unbound = lookup_method(self, attr, &cref.ref);
 3116|     80|    if (unbound >= 0) {
  ------------------
  |  Branch (3116:9): [True: 80, False: 0]
  ------------------
 3117|     80|        PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3118|     80|        res = call_unbound_noarg(unbound, func, self);
 3119|     80|    }
 3120|     80|    _PyThreadState_PopCStackRef(tstate, &cref);
 3121|     80|    return res;
 3122|     80|}
typeobject.c:mro_check:
 3583|     80|{
 3584|     80|    PyTypeObject *solid;
 3585|     80|    Py_ssize_t i, n;
 3586|       |
 3587|     80|    solid = solid_base(type);
 3588|       |
 3589|     80|    n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|     80|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3590|    462|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3590:17): [True: 382, False: 80]
  ------------------
 3591|    382|        PyObject *obj = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|    382|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    382|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    382|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3591:25): [True: 382, False: 0]
  ------------------
 3592|    382|        if (!PyType_Check(obj)) {
  ------------------
  |  |  766|    382|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    382|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    382|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3592:13): [True: 0, False: 382]
  ------------------
 3593|      0|            PyErr_Format(PyExc_TypeError,
 3594|      0|                         "%N.mro() returned a non-class ('%T')", type, obj);
 3595|      0|            return -1;
 3596|      0|        }
 3597|    382|        PyTypeObject *base = (PyTypeObject*)obj;
 3598|       |
 3599|    382|        if (!is_subtype_with_mro(lookup_tp_mro(solid), solid, solid_base(base))) {
  ------------------
  |  Branch (3599:13): [True: 0, False: 382]
  ------------------
 3600|      0|            PyErr_Format(
 3601|      0|                PyExc_TypeError,
 3602|      0|                "%N.mro() returned base with unsuitable layout ('%N')",
 3603|      0|                type, base);
 3604|      0|            return -1;
 3605|      0|        }
 3606|    382|    }
 3607|       |
 3608|     80|    return 0;
 3609|     80|}
typeobject.c:set_tp_mro:
  614|    908|{
  615|    908|    if (mro != NULL) {
  ------------------
  |  Branch (615:9): [True: 908, False: 0]
  ------------------
  616|    908|        assert(PyTuple_CheckExact(mro));
  ------------------
  |  Branch (616:9): [True: 908, False: 0]
  ------------------
  617|    908|        if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    908|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (617:13): [True: 412, False: 496]
  ------------------
  618|       |            // XXX tp_mro can probably be statically allocated for each
  619|       |            // static builtin type.
  620|    412|            assert(self->tp_mro == NULL);
  ------------------
  |  Branch (620:13): [True: 412, False: 0]
  ------------------
  621|       |            /* Other checks are done via set_tp_bases. */
  622|    412|            _Py_SetImmortal(mro);
  623|    412|        }
  624|    496|        else {
  625|    496|            PyUnstable_Object_EnableDeferredRefcount(mro);
  626|    496|        }
  627|    908|    }
  628|    908|    self->tp_mro = mro;
  629|    908|}
typeobject.c:type_mro_modified:
 1217|  1.81k|{
 1218|       |    /*
 1219|       |       Check that all base classes or elements of the MRO of type are
 1220|       |       able to be cached.  This function is called after the base
 1221|       |       classes or mro of the type are altered.
 1222|       |
 1223|       |       Unset HAVE_VERSION_TAG and VALID_VERSION_TAG if the type
 1224|       |       has a custom MRO that includes a type which is not officially
 1225|       |       super type, or if the type implements its own mro() method.
 1226|       |
 1227|       |       Called from mro_internal, which will subsequently be called on
 1228|       |       each subclass when their mro is recursively updated.
 1229|       |     */
 1230|  1.81k|    Py_ssize_t i, n;
 1231|       |
 1232|  1.81k|    ASSERT_TYPE_LOCK_HELD();
 1233|  1.81k|    if (!Py_IS_TYPE(type, &PyType_Type) && has_custom_mro(type)) {
  ------------------
  |  |  215|  3.63k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1233:9): [True: 160, False: 1.65k]
  |  Branch (1233:44): [True: 0, False: 160]
  ------------------
 1234|      0|        goto clear;
 1235|      0|    }
 1236|  1.81k|    n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  1.81k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1237|  5.62k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1237:17): [True: 3.80k, False: 1.81k]
  ------------------
 1238|  3.80k|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  3.80k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.80k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1238:23): [True: 3.80k, False: 0]
  ------------------
 1239|  3.80k|        PyTypeObject *cls = _PyType_CAST(b);
  ------------------
  |  |  770|  3.80k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1239:29): [True: 3.80k, False: 0]
  ------------------
 1240|       |
 1241|  3.80k|        if (cls->tp_versions_used >= _Py_ATTR_CACHE_UNUSED) {
  ------------------
  |  |  253|  3.80k|#define _Py_ATTR_CACHE_UNUSED (30000)  // (see tp_versions_used)
  ------------------
  |  Branch (1241:13): [True: 0, False: 3.80k]
  ------------------
 1242|      0|            goto clear;
 1243|      0|        }
 1244|       |
 1245|  3.80k|        if (!is_subtype_with_mro(lookup_tp_mro(type), type, cls)) {
  ------------------
  |  Branch (1245:13): [True: 0, False: 3.80k]
  ------------------
 1246|      0|            goto clear;
 1247|      0|        }
 1248|  3.80k|    }
 1249|  1.81k|    return;
 1250|       |
 1251|  1.81k| clear:
 1252|      0|    assert(!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
  ------------------
  |  Branch (1252:5): [True: 0, False: 0]
  ------------------
 1253|      0|    set_version_unlocked(type, 0);  /* 0 is not a valid version tag */
 1254|      0|    _PyTypeCache_Invalidate(type);
 1255|      0|    type->tp_versions_used = _Py_ATTR_CACHE_UNUSED;
  ------------------
  |  |  253|      0|#define _Py_ATTR_CACHE_UNUSED (30000)  // (see tp_versions_used)
  ------------------
 1256|      0|    if (PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1256:9): [True: 0, False: 0]
  ------------------
 1257|       |        // This field *must* be invalidated if the type is modified (see the
 1258|       |        // comment on struct _specialization_cache):
 1259|      0|        FT_ATOMIC_STORE_PTR_RELAXED(
  ------------------
  |  |  165|      0|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
 1260|      0|            ((PyHeapTypeObject *)type)->_spec_cache.getitem, NULL);
 1261|      0|    }
 1262|      0|}
typeobject.c:has_custom_mro:
 1199|    160|{
 1200|    160|    _PyCStackRef c_ref1, c_ref2;
 1201|    160|    PyThreadState *tstate = _PyThreadState_GET();
 1202|    160|    _PyThreadState_PushCStackRef(tstate, &c_ref1);
 1203|    160|    _PyThreadState_PushCStackRef(tstate, &c_ref2);
 1204|       |
 1205|    160|    _PyType_LookupStackRefAndVersion(Py_TYPE(tp), &_Py_ID(mro), &c_ref1.ref);
  ------------------
  |  |  213|    160|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    160|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    160|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _PyType_LookupStackRefAndVersion(Py_TYPE(tp), &_Py_ID(mro), &c_ref1.ref);
  ------------------
  |  |  951|    160|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    160|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    160|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1206|    160|    _PyType_LookupStackRefAndVersion(&PyType_Type, &_Py_ID(mro), &c_ref2.ref);
  ------------------
  |  |  951|    160|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    160|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    160|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1207|       |
 1208|    160|    int custom = !PyStackRef_Is(c_ref1.ref, c_ref2.ref);
  ------------------
  |  |  742|    160|#define PyStackRef_Is(a, b) (((a).bits & (~Py_TAG_REFCNT)) == ((b).bits & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    160|#define Py_TAG_REFCNT 1
  |  |  ------------------
  |  |               #define PyStackRef_Is(a, b) (((a).bits & (~Py_TAG_REFCNT)) == ((b).bits & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    160|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1209|       |
 1210|    160|    _PyThreadState_PopCStackRef(tstate, &c_ref2);
 1211|    160|    _PyThreadState_PopCStackRef(tstate, &c_ref1);
 1212|    160|    return custom;
 1213|    160|}
typeobject.c:type_get_module:
 1573|     19|{
 1574|     19|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     19|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1575|     19|    return type_module(type);
 1576|     19|}
typeobject.c:type_set_module:
 1580|      4|{
 1581|      4|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|      4|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1582|      4|    if (!check_set_special_type_attr(type, value, "__module__"))
  ------------------
  |  Branch (1582:9): [True: 0, False: 4]
  ------------------
 1583|      0|        return -1;
 1584|       |
 1585|      4|    PyType_Modified(type);
 1586|       |
 1587|      4|    PyObject *dict = lookup_tp_dict(type);
 1588|      4|    if (PyDict_Pop(dict, &_Py_ID(__firstlineno__), NULL) < 0) {
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1588:9): [True: 0, False: 4]
  ------------------
 1589|      0|        return -1;
 1590|      0|    }
 1591|      4|    return PyDict_SetItem(dict, &_Py_ID(__module__), value);
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1592|      4|}
typeobject.c:type_abstractmethods:
 1636|     86|{
 1637|     86|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     86|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1638|     86|    PyObject *res = NULL;
 1639|       |    /* type itself has an __abstractmethods__ descriptor (this). Don't return
 1640|       |       that. */
 1641|     86|    if (type == &PyType_Type) {
  ------------------
  |  Branch (1641:9): [True: 0, False: 86]
  ------------------
 1642|      0|        PyErr_SetObject(PyExc_AttributeError, &_Py_ID(__abstractmethods__));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1643|      0|    }
 1644|     86|    else {
 1645|     86|        PyObject *dict = lookup_tp_dict(type);
 1646|     86|        if (PyDict_GetItemRef(dict, &_Py_ID(__abstractmethods__), &res) == 0) {
  ------------------
  |  |  951|     86|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     86|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     86|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1646:13): [True: 24, False: 62]
  ------------------
 1647|     24|            PyErr_SetObject(PyExc_AttributeError, &_Py_ID(__abstractmethods__));
  ------------------
  |  |  951|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1648|     24|        }
 1649|     86|    }
 1650|     86|    return res;
 1651|     86|}
typeobject.c:type_set_abstractmethods:
 1655|     71|{
 1656|     71|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     71|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1657|       |    /* __abstractmethods__ should only be set once on a type, in
 1658|       |       abc.ABCMeta.__new__, so this function doesn't do anything
 1659|       |       special to update subclasses.
 1660|       |    */
 1661|     71|    int abstract, res;
 1662|     71|    PyObject *dict = lookup_tp_dict(type);
 1663|     71|    if (value != NULL) {
  ------------------
  |  Branch (1663:9): [True: 71, False: 0]
  ------------------
 1664|     71|        abstract = PyObject_IsTrue(value);
 1665|     71|        if (abstract < 0)
  ------------------
  |  Branch (1665:13): [True: 0, False: 71]
  ------------------
 1666|      0|            return -1;
 1667|     71|        res = PyDict_SetItem(dict, &_Py_ID(__abstractmethods__), value);
  ------------------
  |  |  951|     71|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     71|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     71|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1668|     71|    }
 1669|      0|    else {
 1670|      0|        abstract = 0;
 1671|      0|        res = PyDict_Pop(dict, &_Py_ID(__abstractmethods__), NULL);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1672|      0|        if (res == 0) {
  ------------------
  |  Branch (1672:13): [True: 0, False: 0]
  ------------------
 1673|      0|            PyErr_SetObject(PyExc_AttributeError, &_Py_ID(__abstractmethods__));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1674|      0|            return -1;
 1675|      0|        }
 1676|      0|    }
 1677|     71|    if (res < 0) {
  ------------------
  |  Branch (1677:9): [True: 0, False: 71]
  ------------------
 1678|      0|        return -1;
 1679|      0|    }
 1680|       |
 1681|     71|    BEGIN_TYPE_LOCK();
 1682|     71|    types_stop_world();
 1683|     71|    if (abstract)
  ------------------
  |  Branch (1683:9): [True: 48, False: 23]
  ------------------
 1684|     48|        type_add_flags(type, Py_TPFLAGS_IS_ABSTRACT);
  ------------------
  |  |  540|     48|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
 1685|     23|    else
 1686|     23|        type_clear_flags(type, Py_TPFLAGS_IS_ABSTRACT);
  ------------------
  |  |  540|     23|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
 1687|     71|    types_start_world();
 1688|       |    // Invalidate the version tag after update, while TYPE_LOCK is
 1689|       |    // still held.
 1690|     71|    ASSERT_TYPE_LOCK_HELD();
 1691|     71|    _PyType_Modified_Unlocked(type);
 1692|     71|    END_TYPE_LOCK();
 1693|       |
 1694|     71|    return 0;
 1695|     71|}
typeobject.c:type_dict:
 2066|    381|{
 2067|    381|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|    381|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2068|    381|    PyObject *dict = lookup_tp_dict(type);
 2069|    381|    if (dict == NULL) {
  ------------------
  |  Branch (2069:9): [True: 0, False: 381]
  ------------------
 2070|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2071|      0|    }
 2072|    381|    return PyDictProxy_New(dict);
 2073|    381|}
typeobject.c:type_get_doc:
 2077|     23|{
 2078|     23|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     23|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2079|     23|    PyObject *result;
 2080|     23|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE) && type->tp_doc != NULL) {
  ------------------
  |  |  503|     23|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2080:9): [True: 17, False: 6]
  |  Branch (2080:52): [True: 17, False: 0]
  ------------------
 2081|     17|        return _PyType_GetDocFromInternalDoc(type->tp_name, type->tp_doc);
 2082|     17|    }
 2083|      6|    PyObject *dict = lookup_tp_dict(type);
 2084|      6|    if (PyDict_GetItemRef(dict, &_Py_ID(__doc__), &result) == 0) {
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2084:9): [True: 0, False: 6]
  ------------------
 2085|      0|        result = Py_NewRef(Py_None);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2086|      0|    }
 2087|      6|    else if (result) {
  ------------------
  |  Branch (2087:14): [True: 6, False: 0]
  ------------------
 2088|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2089|      6|        if (descr_get) {
  ------------------
  |  Branch (2089:13): [True: 0, False: 6]
  ------------------
 2090|      0|            Py_SETREF(result, descr_get(result, NULL, (PyObject *)type));
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2091|      0|        }
 2092|      6|    }
 2093|      6|    return result;
 2094|     23|}
typeobject.c:type_set_annotations:
 2266|    113|{
 2267|    113|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|    113|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2268|    113|    if (_PyType_HasFeature(type, Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|    113|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (2268:9): [True: 0, False: 113]
  ------------------
 2269|      0|        PyErr_Format(PyExc_TypeError,
 2270|      0|                     "cannot set '__annotations__' attribute of immutable type '%s'",
 2271|      0|                     type->tp_name);
 2272|      0|        return -1;
 2273|      0|    }
 2274|       |
 2275|    113|    PyObject *dict = PyType_GetDict(type);
 2276|    113|    int result = PyDict_ContainsString(dict, "__annotations__");
 2277|    113|    if (result < 0) {
  ------------------
  |  Branch (2277:9): [True: 0, False: 113]
  ------------------
 2278|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2279|      0|        return -1;
 2280|      0|    }
 2281|    113|    if (result) {
  ------------------
  |  Branch (2281:9): [True: 0, False: 113]
  ------------------
 2282|       |        // If __annotations__ is currently in the dict, we update it,
 2283|      0|        if (value != NULL) {
  ------------------
  |  Branch (2283:13): [True: 0, False: 0]
  ------------------
 2284|      0|            result = PyDict_SetItem(dict, &_Py_ID(__annotations__), value);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2285|      0|        } else {
 2286|      0|            result = PyDict_Pop(dict, &_Py_ID(__annotations__), NULL);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2287|      0|            if (result == 0) {
  ------------------
  |  Branch (2287:17): [True: 0, False: 0]
  ------------------
 2288|       |                // Somebody else just deleted it?
 2289|      0|                PyErr_SetString(PyExc_AttributeError, "__annotations__");
 2290|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2291|      0|                return -1;
 2292|      0|            }
 2293|      0|        }
 2294|      0|        if (result < 0) {
  ------------------
  |  Branch (2294:13): [True: 0, False: 0]
  ------------------
 2295|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2296|      0|            return -1;
 2297|      0|        }
 2298|       |        // Also clear __annotations_cache__ just in case.
 2299|      0|        result = PyDict_Pop(dict, &_Py_ID(__annotations_cache__), NULL);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2300|      0|    }
 2301|    113|    else {
 2302|       |        // Else we update only __annotations_cache__.
 2303|    113|        if (value != NULL) {
  ------------------
  |  Branch (2303:13): [True: 113, False: 0]
  ------------------
 2304|       |            /* set */
 2305|    113|            result = PyDict_SetItem(dict, &_Py_ID(__annotations_cache__), value);
  ------------------
  |  |  951|    113|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    113|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    113|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2306|    113|        } else {
 2307|       |            /* delete */
 2308|      0|            result = PyDict_Pop(dict, &_Py_ID(__annotations_cache__), NULL);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2309|      0|            if (result == 0) {
  ------------------
  |  Branch (2309:17): [True: 0, False: 0]
  ------------------
 2310|      0|                PyErr_SetString(PyExc_AttributeError, "__annotations__");
 2311|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2312|      0|                return -1;
 2313|      0|            }
 2314|      0|        }
 2315|    113|    }
 2316|    113|    if (result < 0) {
  ------------------
  |  Branch (2316:9): [True: 0, False: 113]
  ------------------
 2317|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2318|      0|        return -1;
 2319|    113|    } else {  // result can be 0 or 1
 2320|    113|        if (PyDict_Pop(dict, &_Py_ID(__annotate_func__), NULL) < 0) {
  ------------------
  |  |  951|    113|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    113|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    113|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2320:13): [True: 0, False: 113]
  ------------------
 2321|      0|            PyType_Modified(type);
 2322|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2323|      0|            return -1;
 2324|      0|        }
 2325|    113|        if (PyDict_Pop(dict, &_Py_ID(__annotate__), NULL) < 0) {
  ------------------
  |  |  951|    113|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    113|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    113|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2325:13): [True: 0, False: 113]
  ------------------
 2326|      0|            PyType_Modified(type);
 2327|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2328|      0|            return -1;
 2329|      0|        }
 2330|    113|    }
 2331|    113|    PyType_Modified(type);
 2332|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2333|    113|    return 0;
 2334|    113|}
typeobject.c:type_init:
 4063|    375|{
 4064|    375|    assert(args != NULL && PyTuple_Check(args));
  ------------------
  |  Branch (4064:5): [True: 375, False: 0]
  |  Branch (4064:5): [True: 375, False: 0]
  ------------------
 4065|    375|    assert(kwds == NULL || PyDict_Check(kwds));
  ------------------
  |  Branch (4065:5): [True: 347, False: 28]
  |  Branch (4065:5): [True: 28, False: 0]
  ------------------
 4066|       |
 4067|    375|    if (kwds != NULL && PyTuple_GET_SIZE(args) == 1 &&
  ------------------
  |  |   27|     28|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4067:9): [True: 28, False: 347]
  |  Branch (4067:25): [True: 0, False: 28]
  ------------------
 4068|      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 (4068:9): [True: 0, False: 0]
  ------------------
 4069|      0|        PyErr_SetString(PyExc_TypeError,
 4070|      0|                        "type.__init__() takes no keyword arguments");
 4071|      0|        return -1;
 4072|      0|    }
 4073|       |
 4074|    375|    if ((PyTuple_GET_SIZE(args) != 1 && PyTuple_GET_SIZE(args) != 3)) {
  ------------------
  |  |   27|    375|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    375|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    375|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if ((PyTuple_GET_SIZE(args) != 1 && PyTuple_GET_SIZE(args) != 3)) {
  ------------------
  |  |   27|    375|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    375|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    375|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4074:10): [True: 375, False: 0]
  |  Branch (4074:41): [True: 0, False: 375]
  ------------------
 4075|      0|        PyErr_SetString(PyExc_TypeError,
 4076|      0|                        "type.__init__() takes 1 or 3 arguments");
 4077|      0|        return -1;
 4078|      0|    }
 4079|       |
 4080|    375|    return 0;
 4081|    375|}
typeobject.c:type_new:
 5068|    377|{
 5069|    377|    assert(args != NULL && PyTuple_Check(args));
  ------------------
  |  Branch (5069:5): [True: 377, False: 0]
  |  Branch (5069:5): [True: 377, False: 0]
  ------------------
 5070|    377|    assert(kwds == NULL || PyDict_Check(kwds));
  ------------------
  |  Branch (5070:5): [True: 375, False: 2]
  |  Branch (5070:5): [True: 2, False: 0]
  ------------------
 5071|       |
 5072|       |    /* Parse arguments: (name, bases, dict) */
 5073|    377|    PyObject *name, *bases, *orig_dict;
 5074|    377|    if (!PyArg_ParseTuple(args, "UO!O:type.__new__",
  ------------------
  |  Branch (5074:9): [True: 0, False: 377]
  ------------------
 5075|    377|                          &name,
 5076|    377|                          &PyTuple_Type, &bases,
 5077|    377|                          &orig_dict))
 5078|      0|    {
 5079|      0|        return NULL;
 5080|      0|    }
 5081|    377|    if (!PyAnyDict_Check(orig_dict)) {
  ------------------
  |  |   43|    377|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    377|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    754|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 377, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5082|      0|        PyErr_Format(PyExc_TypeError,
 5083|      0|                     "type.__new__() argument 3 must be dict or frozendict, not %T",
 5084|      0|                     orig_dict);
 5085|      0|        return NULL;
 5086|      0|    }
 5087|       |
 5088|    377|    type_new_ctx ctx = {
 5089|    377|        .metatype = metatype,
 5090|    377|        .args = args,
 5091|    377|        .kwds = kwds,
 5092|    377|        .orig_dict = orig_dict,
 5093|    377|        .name = name,
 5094|    377|        .bases = bases,
 5095|    377|        .base = NULL,
 5096|    377|        .slots = NULL,
 5097|    377|        .nslot = 0,
 5098|    377|        .add_dict = 0,
 5099|    377|        .add_weak = 0,
 5100|    377|        .may_add_dict = 0,
 5101|    377|        .may_add_weak = 0};
 5102|    377|    PyObject *type = NULL;
 5103|    377|    int res = type_new_get_bases(&ctx, &type);
 5104|    377|    if (res < 0) {
  ------------------
  |  Branch (5104:9): [True: 0, False: 377]
  ------------------
 5105|      0|        assert(PyErr_Occurred());
  ------------------
  |  Branch (5105:9): [True: 0, False: 0]
  ------------------
 5106|      0|        return NULL;
 5107|      0|    }
 5108|    377|    if (res == 1) {
  ------------------
  |  Branch (5108:9): [True: 2, False: 375]
  ------------------
 5109|      2|        assert(type != NULL);
  ------------------
  |  Branch (5109:9): [True: 2, False: 0]
  ------------------
 5110|      2|        return type;
 5111|      2|    }
 5112|    377|    assert(ctx.base != NULL);
  ------------------
  |  Branch (5112:5): [True: 375, False: 0]
  ------------------
 5113|    375|    assert(ctx.bases != NULL);
  ------------------
  |  Branch (5113:5): [True: 375, False: 0]
  ------------------
 5114|       |
 5115|    375|    type = type_new_impl(&ctx);
 5116|    375|    Py_DECREF(ctx.bases);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5117|    375|    return type;
 5118|    375|}
typeobject.c:type_new_get_bases:
 4997|    377|{
 4998|    377|    Py_ssize_t nbases = PyTuple_GET_SIZE(ctx->bases);
  ------------------
  |  |   27|    377|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    377|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    377|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4999|    377|    if (nbases == 0) {
  ------------------
  |  Branch (4999:9): [True: 95, False: 282]
  ------------------
 5000|       |        // Adjust for empty tuple bases
 5001|     95|        ctx->base = &PyBaseObject_Type;
 5002|     95|        PyObject *new_bases = PyTuple_Pack(1, ctx->base);
 5003|     95|        if (new_bases == NULL) {
  ------------------
  |  Branch (5003:13): [True: 0, False: 95]
  ------------------
 5004|      0|            return -1;
 5005|      0|        }
 5006|     95|        ctx->bases = new_bases;
 5007|     95|        return 0;
 5008|     95|    }
 5009|       |
 5010|    595|    for (Py_ssize_t i = 0; i < nbases; i++) {
  ------------------
  |  Branch (5010:28): [True: 313, False: 282]
  ------------------
 5011|    313|        PyObject *base = PyTuple_GET_ITEM(ctx->bases, i);
  ------------------
  |  |   29|    313|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    313|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    313|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5011:26): [True: 313, False: 0]
  ------------------
 5012|    313|        if (PyType_Check(base)) {
  ------------------
  |  |  766|    313|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    313|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    313|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 313, False: 0]
  |  |  ------------------
  ------------------
 5013|    313|            continue;
 5014|    313|        }
 5015|      0|        int rc = PyObject_HasAttrWithError(base, &_Py_ID(__mro_entries__));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5016|      0|        if (rc < 0) {
  ------------------
  |  Branch (5016:13): [True: 0, False: 0]
  ------------------
 5017|      0|            return -1;
 5018|      0|        }
 5019|      0|        if (rc) {
  ------------------
  |  Branch (5019:13): [True: 0, False: 0]
  ------------------
 5020|      0|            PyErr_SetString(PyExc_TypeError,
 5021|      0|                            "type() doesn't support MRO entry resolution; "
 5022|      0|                            "use types.new_class()");
 5023|      0|            return -1;
 5024|      0|        }
 5025|      0|    }
 5026|       |
 5027|       |    // Search the bases for the proper metatype to deal with this
 5028|    282|    PyTypeObject *winner;
 5029|    282|    winner = _PyType_CalculateMetaclass(ctx->metatype, ctx->bases);
 5030|    282|    if (winner == NULL) {
  ------------------
  |  Branch (5030:9): [True: 0, False: 282]
  ------------------
 5031|      0|        return -1;
 5032|      0|    }
 5033|       |
 5034|    282|    if (winner != ctx->metatype) {
  ------------------
  |  Branch (5034:9): [True: 2, False: 280]
  ------------------
 5035|      2|        if (winner->tp_new != type_new) {
  ------------------
  |  Branch (5035:13): [True: 2, False: 0]
  ------------------
 5036|       |            /* Check if tp_new is NULL (cannot instantiate this type) */
 5037|      2|            if (winner->tp_new == NULL) {
  ------------------
  |  Branch (5037:17): [True: 0, False: 2]
  ------------------
 5038|      0|                PyErr_Format(PyExc_TypeError,
 5039|      0|                             "cannot create '%.400s' instances",
 5040|      0|                             winner->tp_name);
 5041|      0|                return -1;
 5042|      0|            }
 5043|       |            /* Pass it to the winner */
 5044|      2|            *type = winner->tp_new(winner, ctx->args, ctx->kwds);
 5045|      2|            if (*type == NULL) {
  ------------------
  |  Branch (5045:17): [True: 0, False: 2]
  ------------------
 5046|      0|                return -1;
 5047|      0|            }
 5048|      2|            return 1;
 5049|      2|        }
 5050|       |
 5051|      0|        ctx->metatype = winner;
 5052|      0|    }
 5053|       |
 5054|       |    /* Calculate best base, and check that all bases are type objects */
 5055|    280|    PyTypeObject *base = find_best_base(ctx->bases);
 5056|    280|    if (base == NULL) {
  ------------------
  |  Branch (5056:9): [True: 0, False: 280]
  ------------------
 5057|      0|        return -1;
 5058|      0|    }
 5059|       |
 5060|    280|    ctx->base = base;
 5061|    280|    ctx->bases = Py_NewRef(ctx->bases);
  ------------------
  |  |  647|    280|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    280|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    280|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5062|    280|    return 0;
 5063|    280|}
typeobject.c:type_new_impl:
 4951|    375|{
 4952|    375|    PyTypeObject *type = type_new_init(ctx);
 4953|    375|    if (type == NULL) {
  ------------------
  |  Branch (4953:9): [True: 0, False: 375]
  ------------------
 4954|      0|        return NULL;
 4955|      0|    }
 4956|       |
 4957|    375|    if (type_new_set_attrs(ctx, type) < 0) {
  ------------------
  |  Branch (4957:9): [True: 0, False: 375]
  ------------------
 4958|      0|        goto error;
 4959|      0|    }
 4960|       |
 4961|       |    /* Initialize the rest */
 4962|    375|    if (type_ready_publish(type, 1) < 0) {
  ------------------
  |  Branch (4962:9): [True: 0, False: 375]
  ------------------
 4963|      0|        goto error;
 4964|      0|    }
 4965|       |
 4966|    375|    if (!_PyDict_HasOnlyStringKeys(type->tp_dict)) {
  ------------------
  |  Branch (4966:9): [True: 0, False: 375]
  ------------------
 4967|      0|        if (PyErr_WarnFormat(
  ------------------
  |  Branch (4967:13): [True: 0, False: 0]
  ------------------
 4968|      0|                PyExc_RuntimeWarning,
 4969|      0|                1,
 4970|      0|                "non-string key in the __dict__ of class %.200s",
 4971|      0|                type->tp_name) == -1)
 4972|      0|        {
 4973|      0|            goto error;
 4974|      0|        }
 4975|      0|    }
 4976|       |
 4977|    375|    if (type_new_set_names(type) < 0) {
  ------------------
  |  Branch (4977:9): [True: 0, False: 375]
  ------------------
 4978|      0|        goto error;
 4979|      0|    }
 4980|       |
 4981|    375|    if (type_new_init_subclass(type, ctx->kwds) < 0) {
  ------------------
  |  Branch (4981:9): [True: 0, False: 375]
  ------------------
 4982|      0|        goto error;
 4983|      0|    }
 4984|       |
 4985|    375|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (4985:5): [True: 375, False: 0]
  ------------------
 4986|       |
 4987|    375|    return (PyObject *)type;
 4988|       |
 4989|      0|error:
 4990|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4991|       |    return NULL;
 4992|    375|}
typeobject.c:type_new_init:
 4908|    375|{
 4909|    375|    PyObject *dict = type_new_copy_dict(ctx->orig_dict);
 4910|    375|    if (dict == NULL) {
  ------------------
  |  Branch (4910:9): [True: 0, False: 375]
  ------------------
 4911|      0|        goto error;
 4912|      0|    }
 4913|       |
 4914|    375|    if (type_new_get_slots(ctx, dict) < 0) {
  ------------------
  |  Branch (4914:9): [True: 0, False: 375]
  ------------------
 4915|      0|        goto error;
 4916|      0|    }
 4917|    375|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (4917:5): [True: 375, False: 0]
  ------------------
 4918|       |
 4919|    375|    if (type_new_slots(ctx, dict) < 0) {
  ------------------
  |  Branch (4919:9): [True: 0, False: 375]
  ------------------
 4920|      0|        goto error;
 4921|      0|    }
 4922|       |
 4923|    375|    PyTypeObject *type = type_new_alloc(ctx);
 4924|    375|    if (type == NULL) {
  ------------------
  |  Branch (4924:9): [True: 0, False: 375]
  ------------------
 4925|      0|        goto error;
 4926|      0|    }
 4927|       |
 4928|    375|    set_tp_dict(type, dict);
 4929|       |
 4930|    375|    PyHeapTypeObject *et = (PyHeapTypeObject*)type;
 4931|    375|    if (ctx->slots && PyTuple_GET_SIZE(ctx->slots)) {
  ------------------
  |  |   27|     75|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     75|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     75|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 13, False: 62]
  |  |  ------------------
  ------------------
  |  Branch (4931:9): [True: 75, False: 300]
  ------------------
 4932|     13|        et->ht_slots = ctx->slots;
 4933|     13|        ctx->slots = NULL;
 4934|     13|    }
 4935|    362|    else {
 4936|    362|        et->ht_slots = NULL;
 4937|    362|        Py_CLEAR(ctx->slots);
  ------------------
  |  |  487|    362|    do { \
  |  |  488|    362|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    362|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    362|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    362|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    362|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    362|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 62, False: 300]
  |  |  ------------------
  |  |  491|     62|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     62|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     62|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     62|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     62|        } \
  |  |  494|    362|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 362]
  |  |  ------------------
  ------------------
 4938|    362|    }
 4939|       |
 4940|    375|    return type;
 4941|       |
 4942|      0|error:
 4943|      0|    Py_CLEAR(ctx->slots);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4944|      0|    Py_XDECREF(dict);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4945|       |    return NULL;
 4946|    375|}
typeobject.c:type_new_copy_dict:
 4852|    375|{
 4853|    375|    PyObject *dict = _PyDict_CopyAsDict(orig_dict);
 4854|    375|    if (dict == NULL) {
  ------------------
  |  Branch (4854:9): [True: 0, False: 375]
  ------------------
 4855|      0|        return NULL;
 4856|      0|    }
 4857|    375|    if (((PyDictObject *)dict)->ma_keys->dk_kind != DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (4857:9): [True: 375, False: 0]
  ------------------
 4858|       |        // Only exact str keys are possible, nothing to do.
 4859|    375|        return dict;
 4860|    375|    }
 4861|      0|    Py_ssize_t pos = 0;
 4862|      0|    PyObject *key, *value;
 4863|      0|    int rebuild = 0;
 4864|      0|    while (PyDict_Next(dict, &pos, &key, &value)) {
  ------------------
  |  Branch (4864:12): [True: 0, False: 0]
  ------------------
 4865|      0|        if (PyUnicode_Check(key) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  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(key) && !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 (4865:37): [True: 0, False: 0]
  ------------------
 4866|      0|            rebuild = 1;
 4867|      0|            break;
 4868|      0|        }
 4869|      0|    }
 4870|      0|    if (!rebuild) {
  ------------------
  |  Branch (4870:9): [True: 0, False: 0]
  ------------------
 4871|      0|        return dict;
 4872|      0|    }
 4873|       |    // Rebuild rather than delete/insert so that the key order is kept.
 4874|      0|    PyObject *newdict = PyDict_New();
 4875|      0|    if (newdict == NULL) {
  ------------------
  |  Branch (4875:9): [True: 0, False: 0]
  ------------------
 4876|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4877|      0|        return NULL;
 4878|      0|    }
 4879|      0|    pos = 0;
 4880|      0|    while (PyDict_Next(dict, &pos, &key, &value)) {
  ------------------
  |  Branch (4880:12): [True: 0, False: 0]
  ------------------
 4881|      0|        PyObject *newkey;
 4882|      0|        if (PyUnicode_Check(key) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  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(key) && !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 (4882:37): [True: 0, False: 0]
  ------------------
 4883|      0|            newkey = _PyUnicode_Copy(key);
 4884|      0|            if (newkey == NULL) {
  ------------------
  |  Branch (4884:17): [True: 0, False: 0]
  ------------------
 4885|      0|                goto error;
 4886|      0|            }
 4887|      0|        }
 4888|      0|        else {
 4889|      0|            newkey = Py_NewRef(key);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4890|      0|        }
 4891|      0|        int err = PyDict_SetItem(newdict, newkey, value);
 4892|      0|        Py_DECREF(newkey);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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|        if (err < 0) {
  ------------------
  |  Branch (4893:13): [True: 0, False: 0]
  ------------------
 4894|      0|            goto error;
 4895|      0|        }
 4896|      0|    }
 4897|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4898|      0|    return newdict;
 4899|       |
 4900|      0|error:
 4901|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4902|      0|    Py_DECREF(newdict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4903|       |    return NULL;
 4904|      0|}
typeobject.c:type_new_get_slots:
 4815|    375|{
 4816|    375|    PyObject *slots = PyDict_GetItemWithError(dict, &_Py_ID(__slots__));
  ------------------
  |  |  951|    375|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    375|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    375|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4817|    375|    if (slots == NULL) {
  ------------------
  |  Branch (4817:9): [True: 300, False: 75]
  ------------------
 4818|    300|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4818:13): [True: 0, False: 300]
  ------------------
 4819|      0|            return -1;
 4820|      0|        }
 4821|    300|        ctx->slots = NULL;
 4822|    300|        ctx->nslot = 0;
 4823|    300|        return 0;
 4824|    300|    }
 4825|       |
 4826|       |    // Make it into a tuple
 4827|     75|    PyObject *new_slots;
 4828|     75|    if (PyUnicode_Check(slots)) {
  ------------------
  |  |  103|     75|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     75|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 75]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4829|      0|        new_slots = PyTuple_Pack(1, slots);
 4830|      0|    }
 4831|     75|    else {
 4832|     75|        new_slots = PySequence_Tuple(slots);
 4833|     75|    }
 4834|     75|    if (new_slots == NULL) {
  ------------------
  |  Branch (4834:9): [True: 0, False: 75]
  ------------------
 4835|      0|        return -1;
 4836|      0|    }
 4837|     75|    assert(PyTuple_CheckExact(new_slots));
  ------------------
  |  Branch (4837:5): [True: 75, False: 0]
  ------------------
 4838|     75|    ctx->slots = new_slots;
 4839|     75|    ctx->nslot = PyTuple_GET_SIZE(new_slots);
  ------------------
  |  |   27|     75|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     75|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     75|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4840|     75|    return 0;
 4841|     75|}
typeobject.c:type_new_slots:
 4328|    375|{
 4329|       |    // Check for a __slots__ sequence variable in dict, and count it
 4330|    375|    ctx->add_dict = 0;
 4331|    375|    ctx->add_weak = 0;
 4332|    375|    ctx->may_add_dict = (ctx->base->tp_dictoffset == 0);
 4333|    375|    ctx->may_add_weak = (ctx->base->tp_weaklistoffset == 0);
 4334|       |
 4335|    375|    if (ctx->slots == NULL) {
  ------------------
  |  Branch (4335:9): [True: 300, False: 75]
  ------------------
 4336|    300|        if (ctx->may_add_dict) {
  ------------------
  |  Branch (4336:13): [True: 104, False: 196]
  ------------------
 4337|    104|            ctx->add_dict++;
 4338|    104|        }
 4339|    300|        if (ctx->may_add_weak && ctx->base->tp_itemsize == 0) {
  ------------------
  |  Branch (4339:13): [True: 144, False: 156]
  |  Branch (4339:34): [True: 136, False: 8]
  ------------------
 4340|    136|            ctx->add_weak++;
 4341|    136|        }
 4342|    300|    }
 4343|     75|    else {
 4344|       |        /* Have slots */
 4345|     75|        if (type_new_slots_impl(ctx, dict) < 0) {
  ------------------
  |  Branch (4345:13): [True: 0, False: 75]
  ------------------
 4346|      0|            return -1;
 4347|      0|        }
 4348|     75|    }
 4349|    375|    return 0;
 4350|    375|}
typeobject.c:type_new_slots_impl:
 4306|     75|{
 4307|     75|    if (type_new_visit_slots(ctx) < 0) {
  ------------------
  |  Branch (4307:9): [True: 0, False: 75]
  ------------------
 4308|      0|        return -1;
 4309|      0|    }
 4310|       |
 4311|     75|    PyObject *new_slots = type_new_copy_slots(ctx, dict);
 4312|     75|    if (new_slots == NULL) {
  ------------------
  |  Branch (4312:9): [True: 0, False: 75]
  ------------------
 4313|      0|        return -1;
 4314|      0|    }
 4315|     75|    assert(PyTuple_CheckExact(new_slots));
  ------------------
  |  Branch (4315:5): [True: 75, False: 0]
  ------------------
 4316|       |
 4317|     75|    Py_XSETREF(ctx->slots, new_slots);
  ------------------
  |  |  576|     75|    do { \
  |  |  577|     75|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     75|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     75|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     75|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     75|        *_tmp_dst_ptr = (src); \
  |  |  580|     75|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     75|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     75|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     75|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     75|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 75]
  |  |  ------------------
  ------------------
 4318|     75|    ctx->nslot = PyTuple_GET_SIZE(new_slots);
  ------------------
  |  |   27|     75|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     75|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     75|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4319|       |
 4320|       |    /* Secondary bases may provide weakrefs or dict */
 4321|     75|    type_new_slots_bases(ctx);
 4322|     75|    return 0;
 4323|     75|}
typeobject.c:type_new_visit_slots:
 4160|     75|{
 4161|     75|    PyObject *slots = ctx->slots;
 4162|     75|    Py_ssize_t nslot = ctx->nslot;
 4163|    115|    for (Py_ssize_t i = 0; i < nslot; i++) {
  ------------------
  |  Branch (4163:28): [True: 40, False: 75]
  ------------------
 4164|     40|        PyObject *name = PyTuple_GET_ITEM(slots, i);
  ------------------
  |  |   29|     40|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     40|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4164:26): [True: 40, False: 0]
  ------------------
 4165|     40|        if (!valid_identifier(name)) {
  ------------------
  |  Branch (4165:13): [True: 0, False: 40]
  ------------------
 4166|      0|            return -1;
 4167|      0|        }
 4168|     40|        assert(PyUnicode_Check(name));
  ------------------
  |  Branch (4168:9): [True: 40, False: 0]
  ------------------
 4169|     40|        if (_PyUnicode_Equal(name, &_Py_ID(__dict__))) {
  ------------------
  |  |  951|     40|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     40|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     40|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4169:13): [True: 1, False: 39]
  ------------------
 4170|      1|            if (!ctx->may_add_dict || ctx->add_dict != 0) {
  ------------------
  |  Branch (4170:17): [True: 0, False: 1]
  |  Branch (4170:39): [True: 0, False: 1]
  ------------------
 4171|      0|                PyErr_SetString(PyExc_TypeError,
 4172|      0|                    "__dict__ slot disallowed: "
 4173|      0|                    "we already got one");
 4174|      0|                return -1;
 4175|      0|            }
 4176|      1|            ctx->add_dict++;
 4177|      1|        }
 4178|     40|        if (_PyUnicode_Equal(name, &_Py_ID(__weakref__))) {
  ------------------
  |  |  951|     40|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     40|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     40|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4178:13): [True: 4, False: 36]
  ------------------
 4179|      4|            if (!ctx->may_add_weak || ctx->add_weak != 0) {
  ------------------
  |  Branch (4179:17): [True: 0, False: 4]
  |  Branch (4179:39): [True: 0, False: 4]
  ------------------
 4180|      0|                PyErr_SetString(PyExc_TypeError,
 4181|      0|                    "__weakref__ slot disallowed: "
 4182|      0|                    "we already got one");
 4183|      0|                return -1;
 4184|      0|            }
 4185|      4|            ctx->add_weak++;
 4186|      4|        }
 4187|     40|    }
 4188|     75|    return 0;
 4189|     75|}
typeobject.c:valid_identifier:
 4046|     40|{
 4047|     40|    if (!PyUnicode_Check(s)) {
  ------------------
  |  |  103|     40|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     40|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4047:9): [True: 0, False: 40]
  ------------------
 4048|      0|        PyErr_Format(PyExc_TypeError,
 4049|      0|                     "__slots__ items must be strings, not '%.200s'",
 4050|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4051|      0|        return 0;
 4052|      0|    }
 4053|     40|    if (!PyUnicode_IsIdentifier(s)) {
  ------------------
  |  Branch (4053:9): [True: 0, False: 40]
  ------------------
 4054|      0|        PyErr_SetString(PyExc_TypeError,
 4055|      0|                        "__slots__ must be identifiers");
 4056|      0|        return 0;
 4057|      0|    }
 4058|     40|    return 1;
 4059|     40|}
typeobject.c:type_new_copy_slots:
 4198|     75|{
 4199|     75|    PyObject *slots = ctx->slots;
 4200|     75|    Py_ssize_t nslot = ctx->nslot;
 4201|       |
 4202|     75|    Py_ssize_t new_nslot = nslot - ctx->add_dict - ctx->add_weak;
 4203|     75|    PyObject *new_slots = PyList_New(new_nslot);
 4204|     75|    if (new_slots == NULL) {
  ------------------
  |  Branch (4204:9): [True: 0, False: 75]
  ------------------
 4205|      0|        return NULL;
 4206|      0|    }
 4207|       |
 4208|     75|    Py_ssize_t j = 0;
 4209|    115|    for (Py_ssize_t i = 0; i < nslot; i++) {
  ------------------
  |  Branch (4209:28): [True: 40, False: 75]
  ------------------
 4210|     40|        PyObject *slot = PyTuple_GET_ITEM(slots, i);
  ------------------
  |  |   29|     40|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     40|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4210:26): [True: 40, False: 0]
  ------------------
 4211|     40|        if ((ctx->add_dict && _PyUnicode_Equal(slot, &_Py_ID(__dict__))) ||
  ------------------
  |  |  951|      7|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      7|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      7|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4211:14): [True: 7, False: 33]
  |  Branch (4211:31): [True: 1, False: 6]
  ------------------
 4212|     39|            (ctx->add_weak && _PyUnicode_Equal(slot, &_Py_ID(__weakref__))))
  ------------------
  |  |  951|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4212:14): [True: 12, False: 27]
  |  Branch (4212:31): [True: 4, False: 8]
  ------------------
 4213|      5|        {
 4214|      5|            continue;
 4215|      5|        }
 4216|       |
 4217|     35|        slot =_Py_Mangle(ctx->name, slot);
 4218|     35|        if (!slot) {
  ------------------
  |  Branch (4218:13): [True: 0, False: 35]
  ------------------
 4219|      0|            goto error;
 4220|      0|        }
 4221|     35|        PyList_SET_ITEM(new_slots, j, slot);
  ------------------
  |  |   50|     35|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4222|       |
 4223|     35|        int r = PyDict_Contains(dict, slot);
 4224|     35|        if (r < 0) {
  ------------------
  |  Branch (4224:13): [True: 0, False: 35]
  ------------------
 4225|      0|            goto error;
 4226|      0|        }
 4227|     35|        if (r > 0) {
  ------------------
  |  Branch (4227:13): [True: 0, False: 35]
  ------------------
 4228|       |            /* CPython inserts these names (when needed)
 4229|       |               into the namespace when creating a class.  They will be deleted
 4230|       |               below so won't act as class variables. */
 4231|      0|            if (!_PyUnicode_Equal(slot, &_Py_ID(__qualname__)) &&
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4231:17): [True: 0, False: 0]
  ------------------
 4232|      0|                !_PyUnicode_Equal(slot, &_Py_ID(__classcell__)) &&
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4232:17): [True: 0, False: 0]
  ------------------
 4233|      0|                !_PyUnicode_Equal(slot, &_Py_ID(__classdictcell__)))
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4233:17): [True: 0, False: 0]
  ------------------
 4234|      0|            {
 4235|      0|                PyErr_Format(PyExc_ValueError,
 4236|      0|                             "%R in __slots__ conflicts with class variable",
 4237|      0|                             slot);
 4238|      0|                goto error;
 4239|      0|            }
 4240|      0|        }
 4241|       |
 4242|     35|        j++;
 4243|     35|    }
 4244|     75|    assert(j == new_nslot);
  ------------------
  |  Branch (4244:5): [True: 75, False: 0]
  ------------------
 4245|       |
 4246|     75|    if (PyList_Sort(new_slots) == -1) {
  ------------------
  |  Branch (4246:9): [True: 0, False: 75]
  ------------------
 4247|      0|        goto error;
 4248|      0|    }
 4249|       |
 4250|     75|    PyObject *tuple = PyList_AsTuple(new_slots);
 4251|     75|    Py_DECREF(new_slots);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4252|     75|    if (tuple == NULL) {
  ------------------
  |  Branch (4252:9): [True: 0, False: 75]
  ------------------
 4253|      0|        return NULL;
 4254|      0|    }
 4255|       |
 4256|     75|    assert(PyTuple_GET_SIZE(tuple) == new_nslot);
  ------------------
  |  Branch (4256:5): [True: 75, False: 0]
  ------------------
 4257|     75|    return tuple;
 4258|       |
 4259|      0|error:
 4260|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4261|       |    return NULL;
 4262|     75|}
typeobject.c:type_new_slots_bases:
 4267|     75|{
 4268|     75|    Py_ssize_t nbases = PyTuple_GET_SIZE(ctx->bases);
  ------------------
  |  |   27|     75|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     75|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     75|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4269|     75|    if (nbases > 1 &&
  ------------------
  |  Branch (4269:9): [True: 10, False: 65]
  ------------------
 4270|     10|        ((ctx->may_add_dict && ctx->add_dict == 0) ||
  ------------------
  |  Branch (4270:11): [True: 10, False: 0]
  |  Branch (4270:32): [True: 10, False: 0]
  ------------------
 4271|      0|         (ctx->may_add_weak && ctx->add_weak == 0)))
  ------------------
  |  Branch (4271:11): [True: 0, False: 0]
  |  Branch (4271:32): [True: 0, False: 0]
  ------------------
 4272|     10|    {
 4273|     32|        for (Py_ssize_t i = 0; i < nbases; i++) {
  ------------------
  |  Branch (4273:32): [True: 22, False: 10]
  ------------------
 4274|     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 (4274:29): [True: 22, False: 0]
  ------------------
 4275|     22|            if (obj == (PyObject *)ctx->base) {
  ------------------
  |  Branch (4275:17): [True: 10, False: 12]
  ------------------
 4276|       |                /* Skip primary base */
 4277|     10|                continue;
 4278|     10|            }
 4279|     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 (4279:34): [True: 12, False: 0]
  ------------------
 4280|       |
 4281|     12|            if (ctx->may_add_dict && ctx->add_dict == 0 &&
  ------------------
  |  Branch (4281:17): [True: 12, False: 0]
  |  Branch (4281:38): [True: 12, False: 0]
  ------------------
 4282|     12|                base->tp_dictoffset != 0)
  ------------------
  |  Branch (4282:17): [True: 0, False: 12]
  ------------------
 4283|      0|            {
 4284|      0|                ctx->add_dict++;
 4285|      0|            }
 4286|     12|            if (ctx->may_add_weak && ctx->add_weak == 0 &&
  ------------------
  |  Branch (4286:17): [True: 12, False: 0]
  |  Branch (4286:38): [True: 12, False: 0]
  ------------------
 4287|     12|                base->tp_weaklistoffset != 0)
  ------------------
  |  Branch (4287:17): [True: 0, False: 12]
  ------------------
 4288|      0|            {
 4289|      0|                ctx->add_weak++;
 4290|      0|            }
 4291|     12|            if (ctx->may_add_dict && ctx->add_dict == 0) {
  ------------------
  |  Branch (4291:17): [True: 12, False: 0]
  |  Branch (4291:38): [True: 12, False: 0]
  ------------------
 4292|     12|                continue;
 4293|     12|            }
 4294|      0|            if (ctx->may_add_weak && ctx->add_weak == 0) {
  ------------------
  |  Branch (4294:17): [True: 0, False: 0]
  |  Branch (4294:38): [True: 0, False: 0]
  ------------------
 4295|      0|                continue;
 4296|      0|            }
 4297|       |            /* Nothing more to check */
 4298|      0|            break;
 4299|      0|        }
 4300|     10|    }
 4301|     75|}
typeobject.c:type_new_alloc:
 4355|    375|{
 4356|    375|    PyTypeObject *metatype = ctx->metatype;
 4357|    375|    PyTypeObject *type;
 4358|       |
 4359|       |    // Allocate the type object
 4360|    375|    type = (PyTypeObject *)metatype->tp_alloc(metatype, ctx->nslot);
 4361|    375|    if (type == NULL) {
  ------------------
  |  Branch (4361:9): [True: 0, False: 375]
  ------------------
 4362|      0|        return NULL;
 4363|      0|    }
 4364|    375|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4365|       |
 4366|       |    // Initialize tp_flags.
 4367|       |    // All heap types need GC, since we can create a reference cycle by storing
 4368|       |    // an instance on one of its parents.
 4369|    375|    type_set_flags(type, Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE |
  ------------------
  |  |  560|    375|#define Py_TPFLAGS_DEFAULT  ( \
  |  |  561|    375|                 Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | \
  |  |  ------------------
  |  |  |  |  530|    375|#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0
  |  |  ------------------
  |  |  562|    375|                0)
  ------------------
                  type_set_flags(type, Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE |
  ------------------
  |  |  503|    375|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 4370|    375|                   Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  506|    375|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
                                 Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  524|    375|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 4371|       |
 4372|       |    // Initialize essential fields
 4373|    375|    type->tp_as_async = &et->as_async;
 4374|    375|    type->tp_as_number = &et->as_number;
 4375|    375|    type->tp_as_sequence = &et->as_sequence;
 4376|    375|    type->tp_as_mapping = &et->as_mapping;
 4377|    375|    type->tp_as_buffer = &et->as_buffer;
 4378|       |
 4379|    375|    set_tp_bases(type, Py_NewRef(ctx->bases));
  ------------------
  |  |  647|    375|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    375|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    375|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4380|    375|    type->tp_base = (PyTypeObject *)Py_NewRef(ctx->base);
  ------------------
  |  |  647|    375|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    375|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    375|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4381|       |
 4382|    375|    type->tp_dealloc = subtype_dealloc;
 4383|       |    /* Always override allocation strategy to use regular heap */
 4384|    375|    type->tp_alloc = PyType_GenericAlloc;
 4385|    375|    type->tp_free = PyObject_GC_Del;
 4386|       |
 4387|    375|    type->tp_traverse = subtype_traverse;
 4388|    375|    type->tp_clear = subtype_clear;
 4389|       |
 4390|    375|    et->ht_name = Py_NewRef(ctx->name);
  ------------------
  |  |  647|    375|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    375|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    375|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4391|    375|    et->ht_module = NULL;
 4392|    375|    et->_ht_tpname = NULL;
 4393|    375|    et->ht_token = NULL;
 4394|       |
 4395|       |#ifdef Py_GIL_DISABLED
 4396|       |    et->unique_id = _PyObject_AssignUniqueId((PyObject *)et);
 4397|       |#endif
 4398|       |
 4399|    375|    return type;
 4400|    375|}
typeobject.c:subtype_traverse:
 2634|    466|{
 2635|    466|    PyTypeObject *type, *base;
 2636|    466|    traverseproc basetraverse;
 2637|       |
 2638|       |    /* Find the nearest base with a different tp_traverse,
 2639|       |       and traverse slots while we're at it */
 2640|    466|    type = Py_TYPE(self);
  ------------------
  |  |  213|    466|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    466|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    466|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2641|    466|    base = type;
 2642|  1.07k|    while ((basetraverse = base->tp_traverse) == subtype_traverse) {
  ------------------
  |  Branch (2642:12): [True: 604, False: 466]
  ------------------
 2643|    604|        if (Py_SIZE(base)) {
  ------------------
  |  |  214|    604|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    604|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    604|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:23): [True: 0, False: 604]
  |  |  ------------------
  ------------------
 2644|      0|            int err = traverse_slots(base, self, visit, arg);
 2645|      0|            if (err)
  ------------------
  |  Branch (2645:17): [True: 0, False: 0]
  ------------------
 2646|      0|                return err;
 2647|      0|        }
 2648|    604|        base = base->tp_base;
 2649|    604|        assert(base);
  ------------------
  |  Branch (2649:9): [True: 604, False: 0]
  ------------------
 2650|    604|    }
 2651|       |
 2652|    466|    if (type->tp_dictoffset != base->tp_dictoffset) {
  ------------------
  |  Branch (2652:9): [True: 274, False: 192]
  ------------------
 2653|    274|        assert(base->tp_dictoffset == 0);
  ------------------
  |  Branch (2653:9): [True: 274, False: 0]
  ------------------
 2654|    274|        if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|    274|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2654:13): [True: 274, False: 0]
  ------------------
 2655|    274|            assert(type->tp_dictoffset == -1);
  ------------------
  |  Branch (2655:13): [True: 274, False: 0]
  ------------------
 2656|    274|            int err = PyObject_VisitManagedDict(self, visit, arg);
 2657|    274|            if (err) {
  ------------------
  |  Branch (2657:17): [True: 0, False: 274]
  ------------------
 2658|      0|                return err;
 2659|      0|            }
 2660|    274|        }
 2661|      0|        else {
 2662|      0|            PyObject **dictptr = _PyObject_ComputedDictPointer(self);
 2663|      0|            if (dictptr && *dictptr) {
  ------------------
  |  Branch (2663:17): [True: 0, False: 0]
  |  Branch (2663:28): [True: 0, False: 0]
  ------------------
 2664|      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]
  |  |  ------------------
  ------------------
 2665|      0|            }
 2666|      0|        }
 2667|    274|    }
 2668|       |
 2669|    466|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|    932|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2669:9): [True: 466, False: 0]
  ------------------
 2670|    466|        && (!basetraverse || !(base->tp_flags & Py_TPFLAGS_HEAPTYPE))) {
  ------------------
  |  |  503|    196|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2670:13): [True: 270, False: 196]
  |  Branch (2670:30): [True: 132, False: 64]
  ------------------
 2671|       |        /* For a heaptype, the instances count as references
 2672|       |           to the type.          Traverse the type so the collector
 2673|       |           can find cycles involving this link.
 2674|       |           Skip this visit if basetraverse belongs to a heap type: in that
 2675|       |           case, basetraverse will visit the type when we call it later.
 2676|       |           */
 2677|    402|        Py_VISIT(type);
  ------------------
  |  |  194|    402|    do {                                                                \
  |  |  195|    402|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 402, False: 0]
  |  |  ------------------
  |  |  196|    402|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    402|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    402|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    402|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 402]
  |  |  ------------------
  |  |  198|    402|                return vret;                                            \
  |  |  199|    402|        }                                                               \
  |  |  200|    402|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 402]
  |  |  ------------------
  ------------------
 2678|    402|    }
 2679|       |
 2680|    466|    if (basetraverse)
  ------------------
  |  Branch (2680:9): [True: 196, False: 270]
  ------------------
 2681|    196|        return basetraverse(self, visit, arg);
 2682|    270|    return 0;
 2683|    466|}
typeobject.c:set_tp_dict:
  495|    908|{
  496|    908|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    908|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (496:9): [True: 412, False: 496]
  ------------------
  497|    412|        PyInterpreterState *interp = _PyInterpreterState_GET();
  498|    412|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  499|    412|        assert(state != NULL);
  ------------------
  |  Branch (499:9): [True: 412, False: 0]
  ------------------
  500|    412|        state->tp_dict = dict;
  501|    412|        return;
  502|    412|    }
  503|    496|    self->tp_dict = dict;
  504|    496|}
typeobject.c:type_new_set_attrs:
 4750|    375|{
 4751|    375|    if (type_new_set_name(ctx, type) < 0) {
  ------------------
  |  Branch (4751:9): [True: 0, False: 375]
  ------------------
 4752|      0|        return -1;
 4753|      0|    }
 4754|       |
 4755|    375|    PyObject *dict = lookup_tp_dict(type);
 4756|    375|    assert(dict);
  ------------------
  |  Branch (4756:5): [True: 375, False: 0]
  ------------------
 4757|       |
 4758|    375|    if (type_new_set_module(dict) < 0) {
  ------------------
  |  Branch (4758:9): [True: 0, False: 375]
  ------------------
 4759|      0|        return -1;
 4760|      0|    }
 4761|       |
 4762|    375|    if (type_new_set_ht_name(type, dict) < 0) {
  ------------------
  |  Branch (4762:9): [True: 0, False: 375]
  ------------------
 4763|      0|        return -1;
 4764|      0|    }
 4765|       |
 4766|    375|    if (type_new_set_doc(type, dict) < 0) {
  ------------------
  |  Branch (4766:9): [True: 0, False: 375]
  ------------------
 4767|      0|        return -1;
 4768|      0|    }
 4769|       |
 4770|       |    /* Special-case __new__: if it's a plain function,
 4771|       |       make it a static function */
 4772|    375|    if (type_new_staticmethod(dict, &_Py_ID(__new__)) < 0) {
  ------------------
  |  |  951|    375|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    375|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    375|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4772:9): [True: 0, False: 375]
  ------------------
 4773|      0|        return -1;
 4774|      0|    }
 4775|       |
 4776|       |    /* Special-case __init_subclass__ and __class_getitem__:
 4777|       |       if they are plain functions, make them classmethods */
 4778|    375|    if (type_new_classmethod(dict, &_Py_ID(__init_subclass__)) < 0) {
  ------------------
  |  |  951|    375|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    375|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    375|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4778:9): [True: 0, False: 375]
  ------------------
 4779|      0|        return -1;
 4780|      0|    }
 4781|    375|    if (type_new_classmethod(dict, &_Py_ID(__class_getitem__)) < 0) {
  ------------------
  |  |  951|    375|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    375|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    375|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4781:9): [True: 0, False: 375]
  ------------------
 4782|      0|        return -1;
 4783|      0|    }
 4784|       |
 4785|    375|    if (type_new_descriptors(ctx, type, dict) < 0) {
  ------------------
  |  Branch (4785:9): [True: 0, False: 375]
  ------------------
 4786|      0|        return -1;
 4787|      0|    }
 4788|       |
 4789|    375|    type_new_set_slots(ctx, type);
 4790|       |
 4791|    375|    if (type_new_set_classcell(type, dict) < 0) {
  ------------------
  |  Branch (4791:9): [True: 0, False: 375]
  ------------------
 4792|      0|        return -1;
 4793|      0|    }
 4794|    375|    if (type_new_set_classdictcell(dict) < 0) {
  ------------------
  |  Branch (4794:9): [True: 0, False: 375]
  ------------------
 4795|      0|        return -1;
 4796|      0|    }
 4797|       |
 4798|       |#ifdef Py_GIL_DISABLED
 4799|       |    // enable deferred reference counting on functions and descriptors
 4800|       |    Py_ssize_t pos = 0;
 4801|       |    PyObject *key, *value;
 4802|       |    while (PyDict_Next(dict, &pos, &key, &value)) {
 4803|       |        if (PyFunction_Check(value) || Py_TYPE(value)->tp_descr_get != NULL) {
 4804|       |            PyUnstable_Object_EnableDeferredRefcount(value);
 4805|       |        }
 4806|       |    }
 4807|       |#endif
 4808|       |
 4809|    375|    return 0;
 4810|    375|}
typeobject.c:type_new_set_name:
 4405|    375|{
 4406|    375|    Py_ssize_t name_size;
 4407|    375|    type->tp_name = PyUnicode_AsUTF8AndSize(ctx->name, &name_size);
 4408|    375|    if (!type->tp_name) {
  ------------------
  |  Branch (4408:9): [True: 0, False: 375]
  ------------------
 4409|      0|        return -1;
 4410|      0|    }
 4411|    375|    if (strlen(type->tp_name) != (size_t)name_size) {
  ------------------
  |  Branch (4411:9): [True: 0, False: 375]
  ------------------
 4412|      0|        PyErr_SetString(PyExc_ValueError,
 4413|      0|                        "type name must not contain null characters");
 4414|      0|        return -1;
 4415|      0|    }
 4416|    375|    return 0;
 4417|    375|}
typeobject.c:type_new_set_module:
 4423|    375|{
 4424|    375|    int r = PyDict_Contains(dict, &_Py_ID(__module__));
  ------------------
  |  |  951|    375|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    375|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    375|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4425|    375|    if (r < 0) {
  ------------------
  |  Branch (4425:9): [True: 0, False: 375]
  ------------------
 4426|      0|        return -1;
 4427|      0|    }
 4428|    375|    if (r > 0) {
  ------------------
  |  Branch (4428:9): [True: 371, False: 4]
  ------------------
 4429|    371|        return 0;
 4430|    371|    }
 4431|       |
 4432|      4|    PyObject *globals = PyEval_GetGlobals();
 4433|      4|    if (globals == NULL) {
  ------------------
  |  Branch (4433:9): [True: 0, False: 4]
  ------------------
 4434|      0|        return 0;
 4435|      0|    }
 4436|       |
 4437|      4|    PyObject *module;
 4438|      4|    r = PyDict_GetItemRef(globals, &_Py_ID(__name__), &module);
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4439|      4|    if (module) {
  ------------------
  |  Branch (4439:9): [True: 4, False: 0]
  ------------------
 4440|      4|        r = PyDict_SetItem(dict, &_Py_ID(__module__), module);
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4441|      4|        Py_DECREF(module);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4442|      4|    }
 4443|      4|    return r;
 4444|      4|}
typeobject.c:type_new_set_ht_name:
 4451|    375|{
 4452|    375|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4453|    375|    PyObject *qualname;
 4454|    375|    if (PyDict_GetItemRef(dict, &_Py_ID(__qualname__), &qualname) < 0) {
  ------------------
  |  |  951|    375|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    375|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    375|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4454:9): [True: 0, False: 375]
  ------------------
 4455|      0|        return -1;
 4456|      0|    }
 4457|    375|    if (qualname != NULL) {
  ------------------
  |  Branch (4457:9): [True: 240, False: 135]
  ------------------
 4458|    240|        if (!PyUnicode_Check(qualname)) {
  ------------------
  |  |  103|    240|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    240|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4458:13): [True: 0, False: 240]
  ------------------
 4459|      0|            PyErr_Format(PyExc_TypeError,
 4460|      0|                    "type __qualname__ must be a str, not %s",
 4461|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4462|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4463|      0|            return -1;
 4464|      0|        }
 4465|    240|        et->ht_qualname = qualname;
 4466|    240|        if (PyDict_DelItem(dict, &_Py_ID(__qualname__)) < 0) {
  ------------------
  |  |  951|    240|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    240|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    240|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4466:13): [True: 0, False: 240]
  ------------------
 4467|      0|            return -1;
 4468|      0|        }
 4469|    240|    }
 4470|    135|    else {
 4471|    135|        et->ht_qualname = Py_NewRef(et->ht_name);
  ------------------
  |  |  647|    135|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    135|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    135|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4472|    135|    }
 4473|    375|    return 0;
 4474|    375|}
typeobject.c:type_new_set_doc:
 4482|    375|{
 4483|    375|    PyObject *doc = PyDict_GetItemWithError(dict, &_Py_ID(__doc__));
  ------------------
  |  |  951|    375|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    375|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    375|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4484|    375|    if (doc == NULL) {
  ------------------
  |  Branch (4484:9): [True: 107, False: 268]
  ------------------
 4485|    107|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4485:13): [True: 0, False: 107]
  ------------------
 4486|      0|            return -1;
 4487|      0|        }
 4488|       |        // no __doc__ key
 4489|    107|        return 0;
 4490|    107|    }
 4491|    268|    if (!PyUnicode_Check(doc)) {
  ------------------
  |  |  103|    268|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    268|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4491:9): [True: 0, False: 268]
  ------------------
 4492|       |        // ignore non-string __doc__
 4493|      0|        return 0;
 4494|      0|    }
 4495|       |
 4496|    268|    const char *doc_str = PyUnicode_AsUTF8(doc);
 4497|    268|    if (doc_str == NULL) {
  ------------------
  |  Branch (4497:9): [True: 0, False: 268]
  ------------------
 4498|      0|        return -1;
 4499|      0|    }
 4500|       |
 4501|       |    // Silently truncate the docstring if it contains a null byte
 4502|    268|    Py_ssize_t size = strlen(doc_str) + 1;
 4503|    268|    char *tp_doc = (char *)PyMem_Malloc(size);
 4504|    268|    if (tp_doc == NULL) {
  ------------------
  |  Branch (4504:9): [True: 0, False: 268]
  ------------------
 4505|      0|        PyErr_NoMemory();
 4506|      0|        return -1;
 4507|      0|    }
 4508|       |
 4509|    268|    memcpy(tp_doc, doc_str, size);
 4510|    268|    type->tp_doc = tp_doc;
 4511|    268|    return 0;
 4512|    268|}
typeobject.c:type_new_staticmethod:
 4517|    375|{
 4518|    375|    PyObject *func = PyDict_GetItemWithError(dict, attr);
 4519|    375|    if (func == NULL) {
  ------------------
  |  Branch (4519:9): [True: 354, False: 21]
  ------------------
 4520|    354|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4520:13): [True: 0, False: 354]
  ------------------
 4521|      0|            return -1;
 4522|      0|        }
 4523|    354|        return 0;
 4524|    354|    }
 4525|     21|    if (!PyFunction_Check(func)) {
  ------------------
  |  |   68|     21|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_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 (4525:9): [True: 0, False: 21]
  ------------------
 4526|      0|        return 0;
 4527|      0|    }
 4528|       |
 4529|     21|    PyObject *static_func = PyStaticMethod_New(func);
 4530|     21|    if (static_func == NULL) {
  ------------------
  |  Branch (4530:9): [True: 0, False: 21]
  ------------------
 4531|      0|        return -1;
 4532|      0|    }
 4533|     21|    if (PyDict_SetItem(dict, attr, static_func) < 0) {
  ------------------
  |  Branch (4533:9): [True: 0, False: 21]
  ------------------
 4534|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4535|      0|        return -1;
 4536|      0|    }
 4537|     21|    Py_DECREF(static_func);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4538|     21|    return 0;
 4539|     21|}
typeobject.c:type_new_classmethod:
 4544|    750|{
 4545|    750|    PyObject *func = PyDict_GetItemWithError(dict, attr);
 4546|    750|    if (func == NULL) {
  ------------------
  |  Branch (4546:9): [True: 731, False: 19]
  ------------------
 4547|    731|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4547:13): [True: 0, False: 731]
  ------------------
 4548|      0|            return -1;
 4549|      0|        }
 4550|    731|        return 0;
 4551|    731|    }
 4552|     19|    if (!PyFunction_Check(func)) {
  ------------------
  |  |   68|     19|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_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 (4552:9): [True: 19, False: 0]
  ------------------
 4553|     19|        return 0;
 4554|     19|    }
 4555|       |
 4556|      0|    PyObject *method = PyClassMethod_New(func);
 4557|      0|    if (method == NULL) {
  ------------------
  |  Branch (4557:9): [True: 0, False: 0]
  ------------------
 4558|      0|        return -1;
 4559|      0|    }
 4560|       |
 4561|      0|    if (PyDict_SetItem(dict, attr, method) < 0) {
  ------------------
  |  Branch (4561:9): [True: 0, False: 0]
  ------------------
 4562|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4563|      0|        return -1;
 4564|      0|    }
 4565|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4566|      0|    return 0;
 4567|      0|}
typeobject.c:type_new_descriptors:
 4599|    375|{
 4600|    375|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4601|    375|    Py_ssize_t slotoffset = ctx->base->tp_basicsize;
 4602|    375|    if (et->ht_slots != NULL) {
  ------------------
  |  Branch (4602:9): [True: 13, False: 362]
  ------------------
 4603|     13|        PyMemberDef *mp = _PyHeapType_GET_MEMBERS(et);
 4604|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4605|     13|        int after_items = (ctx->base->tp_itemsize != 0 &&
  ------------------
  |  Branch (4605:28): [True: 0, False: 13]
  ------------------
 4606|      0|                           !(ctx->base->tp_flags & Py_TPFLAGS_ITEMS_AT_END));
  ------------------
  |  |  548|      0|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (4606:28): [True: 0, False: 0]
  ------------------
 4607|     13|        if (ctx->base->tp_itemsize != 0 &&
  ------------------
  |  Branch (4607:13): [True: 0, False: 13]
  ------------------
 4608|      0|            !(ctx->base->tp_flags & Py_TPFLAGS_TUPLE_SUBCLASS))
  ------------------
  |  |  553|      0|#define Py_TPFLAGS_TUPLE_SUBCLASS       (1UL << 26)
  ------------------
  |  Branch (4608:13): [True: 0, False: 0]
  ------------------
 4609|      0|        {
 4610|      0|            PyErr_Format(PyExc_TypeError,
 4611|      0|                         "arbitrary __slots__ not supported for subtype of '%s'",
 4612|      0|                         ctx->base->tp_name);
 4613|      0|            return -1;
 4614|      0|        }
 4615|     48|        for (Py_ssize_t i = 0; i < nslot; i++, mp++) {
  ------------------
  |  Branch (4615:32): [True: 35, False: 13]
  ------------------
 4616|     35|            mp->name = PyUnicode_AsUTF8(
 4617|     35|                PyTuple_GET_ITEM(et->ht_slots, i));
  ------------------
  |  |   29|     35|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     35|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4617:17): [True: 35, False: 0]
  ------------------
 4618|     35|            if (mp->name == NULL) {
  ------------------
  |  Branch (4618:17): [True: 0, False: 35]
  ------------------
 4619|      0|                return -1;
 4620|      0|            }
 4621|     35|            mp->type = Py_T_OBJECT_EX;
  ------------------
  |  |   75|     35|#define Py_T_OBJECT_EX 16
  ------------------
 4622|     35|            mp->offset = slotoffset;
 4623|     35|            if (after_items) {
  ------------------
  |  Branch (4623:17): [True: 0, False: 35]
  ------------------
 4624|      0|                mp->flags |= _Py_AFTER_ITEMS;
  ------------------
  |  |   89|      0|#  define _Py_AFTER_ITEMS      (1 << 4) // For internal use.
  ------------------
 4625|      0|            }
 4626|       |
 4627|       |            /* __dict__ and __weakref__ are already filtered out */
 4628|     35|            assert(strcmp(mp->name, "__dict__") != 0);
  ------------------
  |  Branch (4628:13): [True: 35, False: 0]
  ------------------
 4629|     35|            assert(strcmp(mp->name, "__weakref__") != 0);
  ------------------
  |  Branch (4629:13): [True: 35, False: 0]
  ------------------
 4630|       |
 4631|     35|            slotoffset += sizeof(PyObject *);
 4632|     35|        }
 4633|     13|    }
 4634|       |
 4635|    375|    if (ctx->add_weak) {
  ------------------
  |  Branch (4635:9): [True: 140, False: 235]
  ------------------
 4636|    140|        assert((type->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF) == 0);
  ------------------
  |  Branch (4636:9): [True: 140, False: 0]
  ------------------
 4637|    140|        type_add_flags(type, Py_TPFLAGS_MANAGED_WEAKREF);
  ------------------
  |  |  477|    140|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  ------------------
 4638|    140|        type->tp_weaklistoffset = MANAGED_WEAKREF_OFFSET;
  ------------------
  |  |  911|    140|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
 4639|    140|    }
 4640|    375|    if (ctx->add_dict) {
  ------------------
  |  Branch (4640:9): [True: 105, False: 270]
  ------------------
 4641|    105|        assert((type->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  ------------------
  |  Branch (4641:9): [True: 105, False: 0]
  ------------------
 4642|    105|        type_add_flags(type, Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  |  482|    105|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
 4643|    105|        type->tp_dictoffset = -1;
 4644|    105|    }
 4645|       |
 4646|    375|    type->tp_basicsize = slotoffset;
 4647|    375|    type->tp_itemsize = ctx->base->tp_itemsize;
 4648|    375|    type->tp_members = _PyHeapType_GET_MEMBERS(et);
 4649|       |
 4650|    375|    PyInterpreterState *interp = _PyInterpreterState_GET();
 4651|       |
 4652|    375|    if (type->tp_dictoffset) {
  ------------------
  |  Branch (4652:9): [True: 105, False: 270]
  ------------------
 4653|    105|        if (type_add_common_descriptor(
  ------------------
  |  Branch (4653:13): [True: 0, False: 105]
  ------------------
 4654|    105|            interp,
 4655|    105|            &interp->cached_objects.dict_descriptor,
 4656|    105|            &subtype_getset_dict,
 4657|    105|            dict) < 0)
 4658|      0|        {
 4659|      0|            return -1;
 4660|      0|        }
 4661|    105|    }
 4662|    375|    if (type->tp_weaklistoffset) {
  ------------------
  |  Branch (4662:9): [True: 140, False: 235]
  ------------------
 4663|    140|        if (type_add_common_descriptor(
  ------------------
  |  Branch (4663:13): [True: 0, False: 140]
  ------------------
 4664|    140|            interp,
 4665|    140|            &interp->cached_objects.weakref_descriptor,
 4666|    140|            &subtype_getset_weakref,
 4667|    140|            dict) < 0)
 4668|      0|        {
 4669|      0|            return -1;
 4670|      0|        }
 4671|    140|    }
 4672|       |
 4673|    375|    return 0;
 4674|    375|}
typeobject.c:type_add_common_descriptor:
 4575|    245|{
 4576|       |#ifdef Py_GIL_DISABLED
 4577|       |    PyMutex_Lock(&interp->cached_objects.descriptor_mutex);
 4578|       |#endif
 4579|    245|    PyObject *descr = *cache;
 4580|    245|    if (!descr) {
  ------------------
  |  Branch (4580:9): [True: 4, False: 241]
  ------------------
 4581|      4|        descr = PyDescr_NewGetSet(&PyBaseObject_Type, getset_def);
 4582|      4|        *cache = descr;
 4583|      4|    }
 4584|       |#ifdef Py_GIL_DISABLED
 4585|       |    PyMutex_Unlock(&interp->cached_objects.descriptor_mutex);
 4586|       |#endif
 4587|    245|    if (!descr) {
  ------------------
  |  Branch (4587:9): [True: 0, False: 245]
  ------------------
 4588|      0|        return -1;
 4589|      0|    }
 4590|    245|    if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|    245|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (4590:9): [True: 0, False: 245]
  ------------------
 4591|      0|        return -1;
 4592|      0|    }
 4593|    245|    return 0;
 4594|    245|}
typeobject.c:type_new_set_slots:
 4679|    375|{
 4680|    375|    type->tp_getset = NULL;
 4681|       |
 4682|       |    /* Special case some slots */
 4683|    375|    if (type->tp_dictoffset != 0 || ctx->nslot > 0) {
  ------------------
  |  Branch (4683:9): [True: 105, False: 270]
  |  Branch (4683:37): [True: 12, False: 258]
  ------------------
 4684|    117|        PyTypeObject *base = ctx->base;
 4685|    117|        if (base->tp_getattr == NULL && base->tp_getattro == NULL) {
  ------------------
  |  Branch (4685:13): [True: 117, False: 0]
  |  Branch (4685:41): [True: 0, False: 117]
  ------------------
 4686|      0|            type->tp_getattro = PyObject_GenericGetAttr;
 4687|      0|        }
 4688|    117|        if (base->tp_setattr == NULL && base->tp_setattro == NULL) {
  ------------------
  |  Branch (4688:13): [True: 117, False: 0]
  |  Branch (4688:41): [True: 0, False: 117]
  ------------------
 4689|      0|            type->tp_setattro = PyObject_GenericSetAttr;
 4690|      0|        }
 4691|    117|    }
 4692|    375|}
typeobject.c:type_new_set_classcell:
 4698|    375|{
 4699|    375|    PyObject *cell = PyDict_GetItemWithError(dict, &_Py_ID(__classcell__));
  ------------------
  |  |  951|    375|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    375|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    375|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4700|    375|    if (cell == NULL) {
  ------------------
  |  Branch (4700:9): [True: 355, False: 20]
  ------------------
 4701|    355|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4701:13): [True: 0, False: 355]
  ------------------
 4702|      0|            return -1;
 4703|      0|        }
 4704|    355|        return 0;
 4705|    355|    }
 4706|       |
 4707|       |    /* At least one method requires a reference to its defining class */
 4708|     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 (4708:9): [True: 0, False: 20]
  ------------------
 4709|      0|        PyErr_Format(PyExc_TypeError,
 4710|      0|                     "__classcell__ must be a nonlocal cell, not %.200R",
 4711|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4712|      0|        return -1;
 4713|      0|    }
 4714|       |
 4715|     20|    (void)PyCell_Set(cell, (PyObject *) type);
 4716|     20|    if (PyDict_DelItem(dict, &_Py_ID(__classcell__)) < 0) {
  ------------------
  |  |  951|     20|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     20|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     20|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4716:9): [True: 0, False: 20]
  ------------------
 4717|      0|        return -1;
 4718|      0|    }
 4719|     20|    return 0;
 4720|     20|}
typeobject.c:type_new_set_classdictcell:
 4724|    375|{
 4725|    375|    PyObject *cell = PyDict_GetItemWithError(dict, &_Py_ID(__classdictcell__));
  ------------------
  |  |  951|    375|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    375|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    375|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4726|    375|    if (cell == NULL) {
  ------------------
  |  Branch (4726:9): [True: 172, False: 203]
  ------------------
 4727|    172|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4727:13): [True: 0, False: 172]
  ------------------
 4728|      0|            return -1;
 4729|      0|        }
 4730|    172|        return 0;
 4731|    172|    }
 4732|       |
 4733|       |    /* At least one method requires a reference to the dict of its defining class */
 4734|    203|    if (!PyCell_Check(cell)) {
  ------------------
  |  |   18|    203|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|    203|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    203|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    203|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4734:9): [True: 0, False: 203]
  ------------------
 4735|      0|        PyErr_Format(PyExc_TypeError,
 4736|      0|                     "__classdictcell__ must be a nonlocal cell, not %.200R",
 4737|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4738|      0|        return -1;
 4739|      0|    }
 4740|       |
 4741|    203|    (void)PyCell_Set(cell, (PyObject *)dict);
 4742|    203|    if (PyDict_DelItem(dict, &_Py_ID(__classdictcell__)) < 0) {
  ------------------
  |  |  951|    203|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    203|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    203|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4742:9): [True: 0, False: 203]
  ------------------
 4743|      0|        return -1;
 4744|      0|    }
 4745|    203|    return 0;
 4746|    203|}
typeobject.c:type_new_set_names:
12387|    375|{
12388|    375|    PyObject *dict = lookup_tp_dict(type);
12389|    375|    PyObject *names_to_set = PyDict_Copy(dict);
12390|    375|    if (names_to_set == NULL) {
  ------------------
  |  Branch (12390:9): [True: 0, False: 375]
  ------------------
12391|      0|        return -1;
12392|      0|    }
12393|       |
12394|    375|    Py_ssize_t i = 0;
12395|    375|    PyObject *key, *value;
12396|  3.67k|    while (PyDict_Next(names_to_set, &i, &key, &value)) {
  ------------------
  |  Branch (12396:12): [True: 3.29k, False: 375]
  ------------------
12397|  3.29k|        PyObject *set_name = _PyObject_LookupSpecial(value,
12398|  3.29k|                                                     &_Py_ID(__set_name__));
  ------------------
  |  |  951|  3.29k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.29k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.29k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12399|  3.29k|        if (set_name == NULL) {
  ------------------
  |  Branch (12399:13): [True: 3.26k, False: 36]
  ------------------
12400|  3.26k|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (12400:17): [True: 0, False: 3.26k]
  ------------------
12401|      0|                goto error;
12402|      0|            }
12403|  3.26k|            continue;
12404|  3.26k|        }
12405|       |
12406|     36|        PyObject *res = PyObject_CallFunctionObjArgs(set_name, type, key, NULL);
12407|     36|        Py_DECREF(set_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12408|       |
12409|     36|        if (res == NULL) {
  ------------------
  |  Branch (12409:13): [True: 0, False: 36]
  ------------------
12410|      0|            _PyErr_FormatNote(
12411|      0|                "Error calling __set_name__ on '%.100s' instance %R "
12412|      0|                "in '%.100s'",
12413|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12414|      0|            goto error;
12415|      0|        }
12416|     36|        else {
12417|     36|            Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12418|     36|        }
12419|     36|    }
12420|       |
12421|    375|    Py_DECREF(names_to_set);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12422|    375|    return 0;
12423|       |
12424|      0|error:
12425|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12426|      0|    return -1;
12427|    375|}
typeobject.c:type_new_init_subclass:
12433|    375|{
12434|    375|    PyObject *args[2] = {(PyObject *)type, (PyObject *)type};
12435|    375|    PyObject *super = PyObject_Vectorcall((PyObject *)&PySuper_Type,
12436|    375|                                          args, 2, NULL);
12437|    375|    if (super == NULL) {
  ------------------
  |  Branch (12437:9): [True: 0, False: 375]
  ------------------
12438|      0|        return -1;
12439|      0|    }
12440|       |
12441|    375|    PyObject *func = PyObject_GetAttr(super, &_Py_ID(__init_subclass__));
  ------------------
  |  |  951|    375|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    375|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    375|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12442|    375|    Py_DECREF(super);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12443|    375|    if (func == NULL) {
  ------------------
  |  Branch (12443:9): [True: 0, False: 375]
  ------------------
12444|      0|        return -1;
12445|      0|    }
12446|       |
12447|    375|    PyObject *result = PyObject_VectorcallDict(func, NULL, 0, kwds);
12448|    375|    Py_DECREF(func);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12449|    375|    if (result == NULL) {
  ------------------
  |  Branch (12449:9): [True: 0, False: 375]
  ------------------
12450|      0|        return -1;
12451|      0|    }
12452|       |
12453|    375|    Py_DECREF(result);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12454|    375|    return 0;
12455|    375|}
typeobject.c:type_is_gc:
 7228|  20.8k|{
 7229|  20.8k|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|  20.8k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7230|  20.8k|    return type->tp_flags & Py_TPFLAGS_HEAPTYPE;
  ------------------
  |  |  503|  20.8k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 7231|  20.8k|}
typeobject.c:type_vectorcall:
 5124|    370|{
 5125|    370|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    370|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5126|    370|    if (nargs == 1 && metatype == (PyObject *)&PyType_Type){
  ------------------
  |  Branch (5126:9): [True: 73, False: 297]
  |  Branch (5126:23): [True: 73, False: 0]
  ------------------
 5127|     73|        if (!_PyArg_NoKwnames("type", kwnames)) {
  ------------------
  |  |   16|     73|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 73, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5128|      0|            return NULL;
 5129|      0|        }
 5130|     73|        return Py_NewRef(Py_TYPE(args[0]));
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5131|     73|    }
 5132|       |    /* In other (much less common) cases, fall back to
 5133|       |       more flexible calling conventions. */
 5134|    297|    PyThreadState *tstate = _PyThreadState_GET();
 5135|    297|    return _PyObject_MakeTpCall(tstate, metatype, args, nargs, kwnames);
 5136|    370|}
typeobject.c:object_richcompare:
 7470|    126|{
 7471|    126|    PyObject *res;
 7472|       |
 7473|    126|    switch (op) {
 7474|       |
 7475|    126|    case Py_EQ:
  ------------------
  |  |  654|    126|#define Py_EQ 2
  ------------------
  |  Branch (7475:5): [True: 126, False: 0]
  ------------------
 7476|       |        /* Return NotImplemented instead of False, so if two
 7477|       |           objects are compared, both get a chance at the
 7478|       |           comparison.  See issue #1393. */
 7479|    126|        res = Py_NewRef((self == other) ? Py_True : Py_NotImplemented);
  ------------------
  |  |  647|    126|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    126|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    252|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 4, False: 122]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7480|    126|        break;
 7481|       |
 7482|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (7482:5): [True: 0, False: 126]
  ------------------
 7483|       |        /* By default, __ne__() delegates to __eq__() and inverts the result,
 7484|       |           unless the latter returns NotImplemented. */
 7485|      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 (7485:13): [True: 0, False: 0]
  ------------------
 7486|      0|            res = Py_NewRef(Py_NotImplemented);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7487|      0|            break;
 7488|      0|        }
 7489|      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
  ------------------
 7490|      0|        if (res != NULL && res != Py_NotImplemented) {
  ------------------
  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (7490:13): [True: 0, False: 0]
  |  Branch (7490:28): [True: 0, False: 0]
  ------------------
 7491|      0|            int ok = PyObject_IsTrue(res);
 7492|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7493|      0|            if (ok < 0)
  ------------------
  |  Branch (7493:17): [True: 0, False: 0]
  ------------------
 7494|      0|                res = NULL;
 7495|      0|            else {
 7496|      0|                if (ok)
  ------------------
  |  Branch (7496:21): [True: 0, False: 0]
  ------------------
 7497|      0|                    res = Py_NewRef(Py_False);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7498|      0|                else
 7499|      0|                    res = Py_NewRef(Py_True);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7500|      0|            }
 7501|      0|        }
 7502|      0|        break;
 7503|       |
 7504|      0|    default:
  ------------------
  |  Branch (7504:5): [True: 0, False: 126]
  ------------------
 7505|      0|        res = Py_NewRef(Py_NotImplemented);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7506|      0|        break;
 7507|    126|    }
 7508|       |
 7509|    126|    return res;
 7510|    126|}
typeobject.c:object_dealloc:
 7425|   619k|{
 7426|   619k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|   619k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   619k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   619k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7427|   619k|}
typeobject.c:object_str:
 7459|     89|{
 7460|     89|    unaryfunc f;
 7461|       |
 7462|     89|    f = Py_TYPE(self)->tp_repr;
  ------------------
  |  |  213|     89|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     89|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     89|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7463|     89|    if (f == NULL)
  ------------------
  |  Branch (7463:9): [True: 0, False: 89]
  ------------------
 7464|      0|        f = object_repr;
 7465|     89|    return f(self);
 7466|     89|}
typeobject.c:object_subclasshook:
 8396|      8|{
 8397|      8|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      8|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      8|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 8398|      8|}
typeobject.c:object_init_subclass:
 8410|    375|{
 8411|    375|    Py_RETURN_NONE;
  ------------------
  |  |  628|    375|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    375|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 8412|    375|}
typeobject.c:object___format___impl:
 8434|     50|{
 8435|       |    /* Issue 7994: If we're converting to a string, we
 8436|       |       should reject format specifications */
 8437|     50|    if (PyUnicode_GET_LENGTH(format_spec) > 0) {
  ------------------
  |  |  300|     50|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8437:9): [True: 0, False: 50]
  ------------------
 8438|      0|        PyErr_Format(PyExc_TypeError,
 8439|      0|                     "unsupported format string passed to %.200s.__format__",
 8440|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8441|      0|        return NULL;
 8442|      0|    }
 8443|     50|    return PyObject_Str(self);
 8444|     50|}
typeobject.c:object_get_class:
 7520|    334|{
 7521|    334|    PyTypeObject *type = Py_TYPE(self);
  ------------------
  |  |  213|    334|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    334|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    334|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7522|    334|    _Py_INCREF_TYPE(type);
  ------------------
  |  |  304|    334|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|    334|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    334|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    334|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7523|    334|    return (PyObject *)type;
 7524|    334|}
typeobject.c:object_init:
 7335|    516|{
 7336|    516|    PyTypeObject *type = Py_TYPE(self);
  ------------------
  |  |  213|    516|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    516|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    516|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7337|    516|    if (excess_args(args, kwds)) {
  ------------------
  |  Branch (7337:9): [True: 247, False: 269]
  ------------------
 7338|    247|        if (type->tp_init != object_init) {
  ------------------
  |  Branch (7338:13): [True: 0, False: 247]
  ------------------
 7339|      0|            PyErr_SetString(PyExc_TypeError,
 7340|      0|                            "object.__init__() takes exactly one argument (the instance to initialize)");
 7341|      0|            return -1;
 7342|      0|        }
 7343|    247|        if (type->tp_new == object_new) {
  ------------------
  |  Branch (7343:13): [True: 0, False: 247]
  ------------------
 7344|      0|            PyErr_Format(PyExc_TypeError,
 7345|      0|                         "%.200s.__init__() takes exactly one argument (the instance to initialize)",
 7346|      0|                         type->tp_name);
 7347|      0|            return -1;
 7348|      0|        }
 7349|    247|    }
 7350|    516|    return 0;
 7351|    516|}
typeobject.c:excess_args:
 7328|    959|{
 7329|    959|    return PyTuple_GET_SIZE(args) ||
  ------------------
  |  |   27|  1.91k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    959|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    959|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 489, False: 470]
  |  |  ------------------
  ------------------
 7330|    470|        (kwds && PyDict_Check(kwds) && PyDict_GET_SIZE(kwds));
  ------------------
  |  |   18|      2|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    472|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      (kwds && PyDict_Check(kwds) && PyDict_GET_SIZE(kwds));
  ------------------
  |  |   63|      2|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (63:29): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (7330:10): [True: 2, False: 468]
  ------------------
 7331|    959|}
typeobject.c:object_new:
 7355|    443|{
 7356|    443|    if (excess_args(args, kwds)) {
  ------------------
  |  Branch (7356:9): [True: 244, False: 199]
  ------------------
 7357|    244|        if (type->tp_new != object_new) {
  ------------------
  |  Branch (7357:13): [True: 0, False: 244]
  ------------------
 7358|      0|            PyErr_SetString(PyExc_TypeError,
 7359|      0|                            "object.__new__() takes exactly one argument (the type to instantiate)");
 7360|      0|            return NULL;
 7361|      0|        }
 7362|    244|        if (type->tp_init == object_init) {
  ------------------
  |  Branch (7362:13): [True: 0, False: 244]
  ------------------
 7363|      0|            PyErr_Format(PyExc_TypeError, "%.200s() takes no arguments",
 7364|      0|                         type->tp_name);
 7365|      0|            return NULL;
 7366|      0|        }
 7367|    244|    }
 7368|       |
 7369|    443|    if (type->tp_flags & Py_TPFLAGS_IS_ABSTRACT) {
  ------------------
  |  |  540|    443|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
  |  Branch (7369:9): [True: 0, False: 443]
  ------------------
 7370|      0|        PyObject *abstract_methods;
 7371|      0|        PyObject *sorted_methods;
 7372|      0|        PyObject *joined;
 7373|      0|        PyObject* comma_w_quotes_sep;
 7374|      0|        Py_ssize_t method_count;
 7375|       |
 7376|       |        /* Compute "', '".join(sorted(type.__abstractmethods__))
 7377|       |           into joined. */
 7378|      0|        abstract_methods = type_abstractmethods((PyObject *)type, NULL);
 7379|      0|        if (abstract_methods == NULL)
  ------------------
  |  Branch (7379:13): [True: 0, False: 0]
  ------------------
 7380|      0|            return NULL;
 7381|      0|        sorted_methods = PySequence_List(abstract_methods);
 7382|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7383|      0|        if (sorted_methods == NULL)
  ------------------
  |  Branch (7383:13): [True: 0, False: 0]
  ------------------
 7384|      0|            return NULL;
 7385|      0|        if (PyList_Sort(sorted_methods)) {
  ------------------
  |  Branch (7385:13): [True: 0, False: 0]
  ------------------
 7386|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7387|      0|            return NULL;
 7388|      0|        }
 7389|      0|        comma_w_quotes_sep = PyUnicode_FromString("', '");
 7390|      0|        if (!comma_w_quotes_sep) {
  ------------------
  |  Branch (7390:13): [True: 0, False: 0]
  ------------------
 7391|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7392|      0|            return NULL;
 7393|      0|        }
 7394|      0|        joined = PyUnicode_Join(comma_w_quotes_sep, sorted_methods);
 7395|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7396|      0|        if (joined == NULL)  {
  ------------------
  |  Branch (7396:13): [True: 0, False: 0]
  ------------------
 7397|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7398|      0|            return NULL;
 7399|      0|        }
 7400|      0|        method_count = PyObject_Length(sorted_methods);
  ------------------
  |  |  353|      0|#define PyObject_Length PyObject_Size
  ------------------
 7401|      0|        Py_DECREF(sorted_methods);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7402|      0|        if (method_count == -1) {
  ------------------
  |  Branch (7402:13): [True: 0, False: 0]
  ------------------
 7403|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7404|      0|            return NULL;
 7405|      0|        }
 7406|       |
 7407|      0|        PyErr_Format(PyExc_TypeError,
 7408|      0|                     "Can't instantiate abstract class %s "
 7409|      0|                     "without an implementation for abstract method%s '%U'",
 7410|      0|                     type->tp_name,
 7411|      0|                     method_count > 1 ? "s" : "",
  ------------------
  |  Branch (7411:22): [True: 0, False: 0]
  ------------------
 7412|      0|                     joined);
 7413|      0|        Py_DECREF(joined);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7414|      0|        return NULL;
 7415|      0|    }
 7416|    443|    PyObject *obj = type->tp_alloc(type, 0);
 7417|    443|    if (obj == NULL) {
  ------------------
  |  Branch (7417:9): [True: 0, False: 443]
  ------------------
 7418|      0|        return NULL;
 7419|      0|    }
 7420|    443|    return obj;
 7421|    443|}
typeobject.c:type_add_method:
 8589|  1.75k|{
 8590|  1.75k|    PyObject *descr;
 8591|  1.75k|    int isdescr = 1;
 8592|  1.75k|    if (meth->ml_flags & METH_CLASS) {
  ------------------
  |  |  104|  1.75k|#define METH_CLASS    0x0010
  ------------------
  |  Branch (8592:9): [True: 115, False: 1.63k]
  ------------------
 8593|    115|        if (meth->ml_flags & METH_STATIC) {
  ------------------
  |  |  105|    115|#define METH_STATIC   0x0020
  ------------------
  |  Branch (8593:13): [True: 0, False: 115]
  ------------------
 8594|      0|            PyErr_SetString(PyExc_ValueError,
 8595|      0|                    "method cannot be both class and static");
 8596|      0|            return -1;
 8597|      0|        }
 8598|    115|        descr = PyDescr_NewClassMethod(type, meth);
 8599|    115|    }
 8600|  1.63k|    else if (meth->ml_flags & METH_STATIC) {
  ------------------
  |  |  105|  1.63k|#define METH_STATIC   0x0020
  ------------------
  |  Branch (8600:14): [True: 6, False: 1.63k]
  ------------------
 8601|      6|        PyObject *mod = type_module(type);
 8602|      6|        if (mod == NULL) {
  ------------------
  |  Branch (8602:13): [True: 0, False: 6]
  ------------------
 8603|      0|            if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (8603:17): [True: 0, False: 0]
  ------------------
 8604|      0|                return -1;
 8605|      0|            }
 8606|      0|            PyErr_Clear();
 8607|      0|        }
 8608|      6|        PyObject *cfunc = PyCFunction_NewEx(meth, (PyObject*)type, mod);
  ------------------
  |  |   87|      6|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
 8609|      6|        Py_XDECREF(mod);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8610|      6|        if (cfunc == NULL) {
  ------------------
  |  Branch (8610:13): [True: 0, False: 6]
  ------------------
 8611|      0|            return -1;
 8612|      0|        }
 8613|      6|        descr = PyStaticMethod_New(cfunc);
 8614|      6|        isdescr = 0;  // PyStaticMethod is not PyDescrObject
 8615|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8616|      6|    }
 8617|  1.63k|    else {
 8618|  1.63k|        descr = PyDescr_NewMethod(type, meth);
 8619|  1.63k|    }
 8620|  1.75k|    if (descr == NULL) {
  ------------------
  |  Branch (8620:9): [True: 0, False: 1.75k]
  ------------------
 8621|      0|        return -1;
 8622|      0|    }
 8623|       |
 8624|  1.75k|    PyObject *name;
 8625|  1.75k|    if (isdescr) {
  ------------------
  |  Branch (8625:9): [True: 1.74k, False: 6]
  ------------------
 8626|  1.74k|        name = PyDescr_NAME(descr);
  ------------------
  |  |   36|  1.74k|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
 8627|  1.74k|    }
 8628|      6|    else {
 8629|      6|        name = PyUnicode_FromString(meth->ml_name);
 8630|      6|        if (name == NULL) {
  ------------------
  |  Branch (8630:13): [True: 0, False: 6]
  ------------------
 8631|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8632|      0|            return -1;
 8633|      0|        }
 8634|      6|    }
 8635|       |
 8636|  1.75k|    int err;
 8637|  1.75k|    PyObject *dict = lookup_tp_dict(type);
 8638|  1.75k|    if (!(meth->ml_flags & METH_COEXIST)) {
  ------------------
  |  |  112|  1.75k|#define METH_COEXIST   0x0040
  ------------------
  |  Branch (8638:9): [True: 1.73k, False: 20]
  ------------------
 8639|  1.73k|        err = PyDict_SetDefaultRef(dict, name, descr, NULL) < 0;
 8640|  1.73k|    }
 8641|     20|    else {
 8642|     20|        err = PyDict_SetItem(dict, name, descr) < 0;
 8643|     20|    }
 8644|  1.75k|    if (!isdescr) {
  ------------------
  |  Branch (8644:9): [True: 6, False: 1.74k]
  ------------------
 8645|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8646|      6|    }
 8647|  1.75k|    Py_DECREF(descr);
  ------------------
  |  |  430|  1.75k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8648|  1.75k|    if (err) {
  ------------------
  |  Branch (8648:9): [True: 0, False: 1.75k]
  ------------------
 8649|      0|        return -1;
 8650|      0|    }
 8651|  1.75k|    return 0;
 8652|  1.75k|}
typeobject.c:type_add_flags:
  412|  6.58k|{
  413|  6.58k|    type_set_flags(tp, tp->tp_flags | flag);
  414|  6.58k|}
typeobject.c:type_ready:
 9529|    908|{
 9530|    908|    ASSERT_TYPE_LOCK_HELD();
 9531|       |
 9532|    908|    _PyObject_ASSERT((PyObject *)type, !is_readying(type));
  ------------------
  |  |  360|    908|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|    908|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|    908|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 908, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|    908|      ? (void)(0) \
  |  |  |  |  |  |  353|    908|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9533|    908|    start_readying(type);
 9534|       |
 9535|    908|    if (type_ready_pre_checks(type) < 0) {
  ------------------
  |  Branch (9535:9): [True: 0, False: 908]
  ------------------
 9536|      0|        goto error;
 9537|      0|    }
 9538|       |
 9539|    908|    _PyTypeCache_InitType(type);
 9540|       |
 9541|       |#ifdef Py_TRACE_REFS
 9542|       |    /* PyType_Ready is the closest thing we have to a choke point
 9543|       |     * for type objects, so is the best place I can think of to try
 9544|       |     * to get type objects into the doubly-linked list of all objects.
 9545|       |     * Still, not all type objects go through PyType_Ready.
 9546|       |     */
 9547|       |    _Py_AddToAllObjects((PyObject *)type);
 9548|       |#endif
 9549|       |
 9550|       |    /* Initialize tp_dict: _PyType_IsReady() tests if tp_dict != NULL */
 9551|    908|    if (type_ready_set_dict(type) < 0) {
  ------------------
  |  Branch (9551:9): [True: 0, False: 908]
  ------------------
 9552|      0|        goto error;
 9553|      0|    }
 9554|    908|    if (type_ready_set_base(type) < 0) {
  ------------------
  |  Branch (9554:9): [True: 0, False: 908]
  ------------------
 9555|      0|        goto error;
 9556|      0|    }
 9557|    908|    if (type_ready_set_type(type) < 0) {
  ------------------
  |  Branch (9557:9): [True: 0, False: 908]
  ------------------
 9558|      0|        goto error;
 9559|      0|    }
 9560|    908|    if (type_ready_set_bases(type, initial) < 0) {
  ------------------
  |  Branch (9560:9): [True: 0, False: 908]
  ------------------
 9561|      0|        goto error;
 9562|      0|    }
 9563|    908|    if (type_ready_mro(type, initial) < 0) {
  ------------------
  |  Branch (9563:9): [True: 0, False: 908]
  ------------------
 9564|      0|        goto error;
 9565|      0|    }
 9566|    908|    if (type_ready_set_new(type, initial) < 0) {
  ------------------
  |  Branch (9566:9): [True: 0, False: 908]
  ------------------
 9567|      0|        goto error;
 9568|      0|    }
 9569|    908|    if (type_ready_fill_dict(type) < 0) {
  ------------------
  |  Branch (9569:9): [True: 0, False: 908]
  ------------------
 9570|      0|        goto error;
 9571|      0|    }
 9572|    908|    if (initial) {
  ------------------
  |  Branch (9572:9): [True: 908, False: 0]
  ------------------
 9573|    908|        if (type_ready_inherit(type) < 0) {
  ------------------
  |  Branch (9573:13): [True: 0, False: 908]
  ------------------
 9574|      0|            goto error;
 9575|      0|        }
 9576|    908|        if (type_ready_preheader(type) < 0) {
  ------------------
  |  Branch (9576:13): [True: 0, False: 908]
  ------------------
 9577|      0|            goto error;
 9578|      0|        }
 9579|    908|    }
 9580|    908|    if (type_ready_set_hash(type) < 0) {
  ------------------
  |  Branch (9580:9): [True: 0, False: 908]
  ------------------
 9581|      0|        goto error;
 9582|      0|    }
 9583|    908|    if (add_subclasses) {
  ------------------
  |  Branch (9583:9): [True: 412, False: 496]
  ------------------
 9584|    412|        if (type_ready_add_subclasses(type) < 0) {
  ------------------
  |  Branch (9584:13): [True: 0, False: 412]
  ------------------
 9585|      0|            goto error;
 9586|      0|        }
 9587|    412|    }
 9588|    908|    if (initial) {
  ------------------
  |  Branch (9588:9): [True: 908, False: 0]
  ------------------
 9589|    908|        if (type_ready_managed_dict(type) < 0) {
  ------------------
  |  Branch (9589:13): [True: 0, False: 908]
  ------------------
 9590|      0|            goto error;
 9591|      0|        }
 9592|    908|        if (type_ready_post_checks(type) < 0) {
  ------------------
  |  Branch (9592:13): [True: 0, False: 908]
  ------------------
 9593|      0|            goto error;
 9594|      0|        }
 9595|    908|    }
 9596|       |
 9597|    908|    if (add_subclasses) {
  ------------------
  |  Branch (9597:9): [True: 412, False: 496]
  ------------------
 9598|       |        /* All done -- set the ready flag */
 9599|    412|        if (initial) {
  ------------------
  |  Branch (9599:13): [True: 412, False: 0]
  ------------------
 9600|    412|            type_add_flags(type, Py_TPFLAGS_READY);
  ------------------
  |  |  518|    412|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
 9601|    412|        } else {
 9602|      0|            assert(type->tp_flags & Py_TPFLAGS_READY);
  ------------------
  |  Branch (9602:13): [True: 0, False: 0]
  ------------------
 9603|      0|        }
 9604|    412|    }
 9605|       |
 9606|    908|    stop_readying(type);
 9607|       |
 9608|    908|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (9608:5): [True: 908, False: 0]
  ------------------
 9609|    908|    return 0;
 9610|       |
 9611|      0|error:
 9612|      0|    stop_readying(type);
 9613|      0|    return -1;
 9614|    908|}
typeobject.c:start_readying:
  424|    908|{
  425|    908|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    908|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (425:9): [True: 412, False: 496]
  ------------------
  426|    412|        PyInterpreterState *interp = _PyInterpreterState_GET();
  427|    412|        managed_static_type_state *state = managed_static_type_state_get(interp, type);
  428|    412|        assert(state != NULL);
  ------------------
  |  Branch (428:9): [True: 412, False: 0]
  ------------------
  429|    412|        assert(!state->readying);
  ------------------
  |  Branch (429:9): [True: 412, False: 0]
  ------------------
  430|    412|        state->readying = 1;
  431|    412|        return;
  432|    412|    }
  433|    908|    assert((type->tp_flags & Py_TPFLAGS_READYING) == 0);
  ------------------
  |  Branch (433:5): [True: 496, False: 0]
  ------------------
  434|    496|    type_add_flags(type, Py_TPFLAGS_READYING);
  ------------------
  |  |  521|    496|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  435|    496|}
typeobject.c:type_ready_pre_checks:
 9024|    908|{
 9025|       |    /* Consistency checks for PEP 590:
 9026|       |     * - Py_TPFLAGS_METHOD_DESCRIPTOR requires tp_descr_get
 9027|       |     * - Py_TPFLAGS_HAVE_VECTORCALL requires tp_call and
 9028|       |     *   tp_vectorcall_offset > 0
 9029|       |     * To avoid mistakes, we require this before inheriting.
 9030|       |     */
 9031|    908|    if (type->tp_flags & Py_TPFLAGS_METHOD_DESCRIPTOR) {
  ------------------
  |  |  534|    908|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (9031:9): [True: 7, False: 901]
  ------------------
 9032|      7|        _PyObject_ASSERT((PyObject *)type, type->tp_descr_get != NULL);
  ------------------
  |  |  360|      7|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      7|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      7|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 7, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      7|      ? (void)(0) \
  |  |  |  |  |  |  353|      7|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9033|      7|    }
 9034|    908|    if (type->tp_flags & Py_TPFLAGS_HAVE_VECTORCALL) {
  ------------------
  |  |  510|    908|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (9034:9): [True: 20, False: 888]
  ------------------
 9035|     20|        _PyObject_ASSERT((PyObject *)type, type->tp_vectorcall_offset > 0);
  ------------------
  |  |  360|     20|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|     20|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|     20|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 20, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|     20|      ? (void)(0) \
  |  |  |  |  |  |  353|     20|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9036|     20|        _PyObject_ASSERT((PyObject *)type, type->tp_call != NULL);
  ------------------
  |  |  360|     20|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|     20|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|     20|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 20, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|     20|      ? (void)(0) \
  |  |  |  |  |  |  353|     20|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9037|     20|    }
 9038|       |
 9039|       |    /* Consistency checks for pattern matching
 9040|       |     * Py_TPFLAGS_SEQUENCE and Py_TPFLAGS_MAPPING are mutually exclusive */
 9041|    908|    _PyObject_ASSERT((PyObject *)type, (type->tp_flags & COLLECTION_FLAGS) != COLLECTION_FLAGS);
  ------------------
  |  |  360|    908|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|    908|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|    908|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 908, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|    908|      ? (void)(0) \
  |  |  |  |  |  |  353|    908|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9042|       |
 9043|    908|    if (type->tp_name == NULL) {
  ------------------
  |  Branch (9043:9): [True: 0, False: 908]
  ------------------
 9044|      0|        PyErr_Format(PyExc_SystemError,
 9045|      0|                     "Type does not define the tp_name field.");
 9046|      0|        return -1;
 9047|      0|    }
 9048|    908|    return 0;
 9049|    908|}
typeobject.c:type_ready_set_dict:
 9130|    908|{
 9131|    908|    if (lookup_tp_dict(type) != NULL) {
  ------------------
  |  Branch (9131:9): [True: 375, False: 533]
  ------------------
 9132|    375|        return 0;
 9133|    375|    }
 9134|       |
 9135|    533|    PyObject *dict = PyDict_New();
 9136|    533|    if (dict == NULL) {
  ------------------
  |  Branch (9136:9): [True: 0, False: 533]
  ------------------
 9137|      0|        return -1;
 9138|      0|    }
 9139|    533|    set_tp_dict(type, dict);
 9140|    533|    return 0;
 9141|    533|}
typeobject.c:type_ready_set_base:
 9054|    908|{
 9055|       |    /* Initialize tp_base (defaults to BaseObject unless that's us) */
 9056|    908|    PyTypeObject *base = type->tp_base;
 9057|    908|    if (base == NULL && type != &PyBaseObject_Type) {
  ------------------
  |  Branch (9057:9): [True: 240, False: 668]
  |  Branch (9057:25): [True: 238, False: 2]
  ------------------
 9058|    238|        base = &PyBaseObject_Type;
 9059|    238|        if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|    238|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9059:13): [True: 0, False: 238]
  ------------------
 9060|      0|            type->tp_base = (PyTypeObject*)Py_NewRef((PyObject*)base);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9061|      0|        }
 9062|    238|        else {
 9063|    238|            type->tp_base = base;
 9064|    238|        }
 9065|    238|    }
 9066|    908|    assert(type->tp_base != NULL || type == &PyBaseObject_Type);
  ------------------
  |  Branch (9066:5): [True: 906, False: 2]
  |  Branch (9066:5): [True: 2, False: 0]
  ------------------
 9067|       |
 9068|       |    /* Now the only way base can still be NULL is if type is
 9069|       |     * &PyBaseObject_Type. */
 9070|       |
 9071|       |    /* Initialize the base class */
 9072|    908|    if (base != NULL && !_PyType_IsReady(base)) {
  ------------------
  |  Branch (9072:9): [True: 906, False: 2]
  |  Branch (9072:25): [True: 0, False: 906]
  ------------------
 9073|      0|        if (PyType_Ready(base) < 0) {
  ------------------
  |  Branch (9073:13): [True: 0, False: 0]
  ------------------
 9074|      0|            return -1;
 9075|      0|        }
 9076|      0|    }
 9077|       |
 9078|    908|    return 0;
 9079|    908|}
typeobject.c:type_ready_set_type:
 9083|    908|{
 9084|       |    /* Initialize ob_type if NULL.      This means extensions that want to be
 9085|       |       compilable separately on Windows can call PyType_Ready() instead of
 9086|       |       initializing the ob_type field of their type objects. */
 9087|       |    /* The test for base != NULL is really unnecessary, since base is only
 9088|       |       NULL when type is &PyBaseObject_Type, and we know its ob_type is
 9089|       |       not NULL (it's initialized to &PyType_Type).      But coverity doesn't
 9090|       |       know that. */
 9091|    908|    PyTypeObject *base = type->tp_base;
 9092|    908|    if (Py_IS_TYPE(type, NULL) && base != NULL) {
  ------------------
  |  |  215|  1.81k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    908|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    908|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 170, False: 738]
  |  |  ------------------
  ------------------
  |  Branch (9092:35): [True: 170, False: 0]
  ------------------
 9093|    170|        Py_SET_TYPE(type, Py_TYPE(base));
  ------------------
  |  |  217|    170|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|    170|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    170|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9094|    170|    }
 9095|       |
 9096|    908|    return 0;
 9097|    908|}
typeobject.c:type_ready_set_bases:
 9101|    908|{
 9102|    908|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    908|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (9102:9): [True: 412, False: 496]
  ------------------
 9103|    412|        if (!initial) {
  ------------------
  |  Branch (9103:13): [True: 0, False: 412]
  ------------------
 9104|      0|            assert(lookup_tp_bases(type) != NULL);
  ------------------
  |  Branch (9104:13): [True: 0, False: 0]
  ------------------
 9105|      0|            return 0;
 9106|      0|        }
 9107|    412|        assert(lookup_tp_bases(type) == NULL);
  ------------------
  |  Branch (9107:9): [True: 412, False: 0]
  ------------------
 9108|    412|    }
 9109|       |
 9110|    908|    PyObject *bases = lookup_tp_bases(type);
 9111|    908|    if (bases == NULL) {
  ------------------
  |  Branch (9111:9): [True: 412, False: 496]
  ------------------
 9112|    412|        PyTypeObject *base = type->tp_base;
 9113|    412|        if (base == NULL) {
  ------------------
  |  Branch (9113:13): [True: 2, False: 410]
  ------------------
 9114|      2|            bases = PyTuple_New(0);
 9115|      2|        }
 9116|    410|        else {
 9117|    410|            bases = PyTuple_Pack(1, base);
 9118|    410|        }
 9119|    412|        if (bases == NULL) {
  ------------------
  |  Branch (9119:13): [True: 0, False: 412]
  ------------------
 9120|      0|            return -1;
 9121|      0|        }
 9122|    412|        set_tp_bases(type, bases);
 9123|    412|    }
 9124|    908|    return 0;
 9125|    908|}
typeobject.c:type_ready_mro:
 9247|    908|{
 9248|    908|    ASSERT_TYPE_LOCK_HELD();
 9249|       |
 9250|    908|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    908|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (9250:9): [True: 412, False: 496]
  ------------------
 9251|    412|        if (!initial) {
  ------------------
  |  Branch (9251:13): [True: 0, False: 412]
  ------------------
 9252|      0|            assert(lookup_tp_mro(type) != NULL);
  ------------------
  |  Branch (9252:13): [True: 0, False: 0]
  ------------------
 9253|      0|            return 0;
 9254|      0|        }
 9255|    412|        assert(lookup_tp_mro(type) == NULL);
  ------------------
  |  Branch (9255:9): [True: 412, False: 0]
  ------------------
 9256|    412|    }
 9257|       |
 9258|       |    /* Calculate method resolution order */
 9259|    908|    if (mro_internal(type, initial, NULL) < 0) {
  ------------------
  |  Branch (9259:9): [True: 0, False: 908]
  ------------------
 9260|      0|        return -1;
 9261|      0|    }
 9262|    908|    PyObject *mro = lookup_tp_mro(type);
 9263|    908|    assert(mro != NULL);
  ------------------
  |  Branch (9263:5): [True: 908, False: 0]
  ------------------
 9264|    908|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (9264:5): [True: 908, False: 0]
  ------------------
 9265|       |
 9266|       |    /* All bases of statically allocated type should be statically allocated,
 9267|       |       and static builtin types must have static builtin bases. */
 9268|    908|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    908|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9268:9): [True: 412, False: 496]
  ------------------
 9269|    412|        assert(type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE);
  ------------------
  |  Branch (9269:9): [True: 412, False: 0]
  ------------------
 9270|    412|        Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|    412|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    412|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    412|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9271|  1.64k|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (9271:32): [True: 1.23k, False: 412]
  ------------------
 9272|  2.46k|            PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(mro, i));
  ------------------
  |  |  770|  1.23k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 1.23k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9272:34): [True: 1.23k, False: 0]
  |  Branch (9272:34): [True: 1.23k, False: 0]
  ------------------
 9273|  1.23k|            if (base->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|  1.23k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9273:17): [True: 0, False: 1.23k]
  ------------------
 9274|      0|                PyErr_Format(PyExc_TypeError,
 9275|      0|                             "type '%.100s' is not dynamically allocated but "
 9276|      0|                             "its base type '%.100s' is dynamically allocated",
 9277|      0|                             type->tp_name, base->tp_name);
 9278|      0|                return -1;
 9279|      0|            }
 9280|  2.46k|            assert(!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) ||
  ------------------
  |  Branch (9280:13): [True: 0, False: 1.23k]
  |  Branch (9280:13): [True: 1.23k, False: 0]
  ------------------
 9281|  1.23k|                   (base->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
 9282|  1.23k|        }
 9283|    412|    }
 9284|    908|    return 0;
 9285|    908|}
typeobject.c:type_ready_set_new:
 9416|    908|{
 9417|    908|    PyTypeObject *base = type->tp_base;
 9418|       |    /* The condition below could use some explanation.
 9419|       |
 9420|       |       It appears that tp_new is not inherited for static types whose base
 9421|       |       class is 'object'; this seems to be a precaution so that old extension
 9422|       |       types don't suddenly become callable (object.__new__ wouldn't insure the
 9423|       |       invariants that the extension type's own factory function ensures).
 9424|       |
 9425|       |       Heap types, of course, are under our control, so they do inherit tp_new;
 9426|       |       static extension types that specify some other built-in type as the
 9427|       |       default also inherit object.__new__. */
 9428|    908|    if (type->tp_new == NULL
  ------------------
  |  Branch (9428:9): [True: 615, False: 293]
  ------------------
 9429|    615|        && base == &PyBaseObject_Type
  ------------------
  |  Branch (9429:12): [True: 264, False: 351]
  ------------------
 9430|    264|        && !(type->tp_flags & Py_TPFLAGS_HEAPTYPE))
  ------------------
  |  |  503|    264|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9430:12): [True: 126, False: 138]
  ------------------
 9431|    126|    {
 9432|    126|        if (initial) {
  ------------------
  |  Branch (9432:13): [True: 126, False: 0]
  ------------------
 9433|    126|            type_add_flags(type, Py_TPFLAGS_DISALLOW_INSTANTIATION);
  ------------------
  |  |  497|    126|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  ------------------
 9434|    126|        } else {
 9435|      0|            assert(type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION);
  ------------------
  |  Branch (9435:13): [True: 0, False: 0]
  ------------------
 9436|      0|        }
 9437|    126|    }
 9438|       |
 9439|    908|    if (!(type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION)) {
  ------------------
  |  |  497|    908|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  ------------------
  |  Branch (9439:9): [True: 757, False: 151]
  ------------------
 9440|    757|        if (type->tp_new != NULL) {
  ------------------
  |  Branch (9440:13): [True: 289, False: 468]
  ------------------
 9441|    289|            if (initial || base == NULL || type->tp_new != base->tp_new) {
  ------------------
  |  Branch (9441:17): [True: 289, False: 0]
  |  Branch (9441:28): [True: 0, False: 0]
  |  Branch (9441:44): [True: 0, False: 0]
  ------------------
 9442|       |                // If "__new__" key does not exists in the type dictionary,
 9443|       |                // set it to tp_new_wrapper().
 9444|    289|                if (add_tp_new_wrapper(type) < 0) {
  ------------------
  |  Branch (9444:21): [True: 0, False: 289]
  ------------------
 9445|      0|                    return -1;
 9446|      0|                }
 9447|    289|            }
 9448|    289|        }
 9449|    468|        else {
 9450|    468|            if (initial) {
  ------------------
  |  Branch (9450:17): [True: 468, False: 0]
  ------------------
 9451|       |                // tp_new is NULL: inherit tp_new from base
 9452|    468|                type->tp_new = base->tp_new;
 9453|    468|            }
 9454|    468|        }
 9455|    757|    }
 9456|    151|    else {
 9457|       |        // Py_TPFLAGS_DISALLOW_INSTANTIATION sets tp_new to NULL
 9458|    151|        if (initial) {
  ------------------
  |  Branch (9458:13): [True: 151, False: 0]
  ------------------
 9459|    151|            type->tp_new = NULL;
 9460|    151|        }
 9461|    151|    }
 9462|    908|    return 0;
 9463|    908|}
typeobject.c:add_tp_new_wrapper:
10547|    289|{
10548|    289|    PyObject *dict = lookup_tp_dict(type);
10549|    289|    int r = PyDict_Contains(dict, &_Py_ID(__new__));
  ------------------
  |  |  951|    289|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    289|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    289|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10550|    289|    if (r > 0) {
  ------------------
  |  Branch (10550:9): [True: 0, False: 289]
  ------------------
10551|      0|        return 0;
10552|      0|    }
10553|    289|    if (r < 0) {
  ------------------
  |  Branch (10553:9): [True: 0, False: 289]
  ------------------
10554|      0|        return -1;
10555|      0|    }
10556|       |
10557|    289|    PyObject *func = PyCFunction_NewEx(tp_new_methoddef, (PyObject *)type, NULL);
  ------------------
  |  |   87|    289|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
10558|    289|    if (func == NULL) {
  ------------------
  |  Branch (10558:9): [True: 0, False: 289]
  ------------------
10559|      0|        return -1;
10560|      0|    }
10561|    289|    _PyObject_SetDeferredRefcount(func);
10562|    289|    r = PyDict_SetItem(dict, &_Py_ID(__new__), func);
  ------------------
  |  |  951|    289|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    289|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    289|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10563|    289|    Py_DECREF(func);
  ------------------
  |  |  430|    289|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    289|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    289|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10564|    289|    return r;
10565|    289|}
typeobject.c:type_ready_fill_dict:
 9183|    908|{
 9184|       |    /* Add type-specific descriptors to tp_dict */
 9185|    908|    if (add_operators(type) < 0) {
  ------------------
  |  Branch (9185:9): [True: 0, False: 908]
  ------------------
 9186|      0|        return -1;
 9187|      0|    }
 9188|    908|    if (type_add_methods(type) < 0) {
  ------------------
  |  Branch (9188:9): [True: 0, False: 908]
  ------------------
 9189|      0|        return -1;
 9190|      0|    }
 9191|    908|    if (type_add_members(type) < 0) {
  ------------------
  |  Branch (9191:9): [True: 0, False: 908]
  ------------------
 9192|      0|        return -1;
 9193|      0|    }
 9194|    908|    if (type_add_getset(type) < 0) {
  ------------------
  |  Branch (9194:9): [True: 0, False: 908]
  ------------------
 9195|      0|        return -1;
 9196|      0|    }
 9197|    908|    if (type_dict_set_doc(type) < 0) {
  ------------------
  |  Branch (9197:9): [True: 0, False: 908]
  ------------------
 9198|      0|        return -1;
 9199|      0|    }
 9200|    908|    return 0;
 9201|    908|}
typeobject.c:add_operators:
12594|    908|{
12595|    908|    PyObject *dict = lookup_tp_dict(type);
12596|    908|    pytype_slotdef *p;
12597|    908|    PyObject *descr;
12598|    908|    void **ptr;
12599|       |
12600|  86.2k|    for (p = slotdefs; p->name; p++) {
  ------------------
  |  Branch (12600:24): [True: 85.3k, False: 908]
  ------------------
12601|  85.3k|        if (p->wrapper == NULL)
  ------------------
  |  Branch (12601:13): [True: 5.44k, False: 79.9k]
  ------------------
12602|  5.44k|            continue;
12603|  79.9k|        ptr = slotptr(type, p->offset);
12604|  79.9k|        if (!ptr || !*ptr)
  ------------------
  |  Branch (12604:13): [True: 24.5k, False: 55.3k]
  |  Branch (12604:21): [True: 52.8k, False: 2.55k]
  ------------------
12605|  77.3k|            continue;
12606|       |        /* Also ignore when the type slot has been inherited. */
12607|  2.55k|        if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN
  ------------------
  |  |  467|  5.11k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (12607:13): [True: 2.27k, False: 287]
  ------------------
12608|  2.27k|            && type->tp_base != NULL
  ------------------
  |  Branch (12608:16): [True: 2.24k, False: 26]
  ------------------
12609|  2.24k|            && slot_inherited(type, p, ptr))
  ------------------
  |  Branch (12609:16): [True: 318, False: 1.92k]
  ------------------
12610|    318|        {
12611|    318|            continue;
12612|    318|        }
12613|  2.24k|        int r = PyDict_Contains(dict, p->name_strobj);
12614|  2.24k|        if (r > 0)
  ------------------
  |  Branch (12614:13): [True: 40, False: 2.20k]
  ------------------
12615|     40|            continue;
12616|  2.20k|        if (r < 0) {
  ------------------
  |  Branch (12616:13): [True: 0, False: 2.20k]
  ------------------
12617|      0|            return -1;
12618|      0|        }
12619|  2.20k|        if (*ptr == (void *)PyObject_HashNotImplemented) {
  ------------------
  |  Branch (12619:13): [True: 19, False: 2.18k]
  ------------------
12620|       |            /* Classes may prevent the inheritance of the tp_hash
12621|       |               slot by storing PyObject_HashNotImplemented in it. Make it
12622|       |               visible as a None value for the __hash__ attribute. */
12623|     19|            if (PyDict_SetItem(dict, p->name_strobj, Py_None) < 0)
  ------------------
  |  |  616|     19|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12623:17): [True: 0, False: 19]
  ------------------
12624|      0|                return -1;
12625|     19|        }
12626|  2.18k|        else {
12627|  2.18k|            descr = PyDescr_NewWrapper(type, p, *ptr);
12628|  2.18k|            if (descr == NULL)
  ------------------
  |  Branch (12628:17): [True: 0, False: 2.18k]
  ------------------
12629|      0|                return -1;
12630|  2.18k|            if (PyDict_SetItem(dict, p->name_strobj, descr) < 0) {
  ------------------
  |  Branch (12630:17): [True: 0, False: 2.18k]
  ------------------
12631|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12632|      0|                return -1;
12633|      0|            }
12634|  2.18k|            Py_DECREF(descr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12635|  2.18k|        }
12636|  2.20k|    }
12637|    908|    return 0;
12638|    908|}
typeobject.c:slot_inherited:
12544|  2.24k|{
12545|  2.24k|    void **slot_base = slotptr(type->tp_base, slotdef->offset);
12546|  2.24k|    if (slot_base == NULL || *slot != *slot_base) {
  ------------------
  |  Branch (12546:9): [True: 764, False: 1.48k]
  |  Branch (12546:30): [True: 1.16k, False: 320]
  ------------------
12547|  1.92k|        return 0;
12548|  1.92k|    }
12549|       |
12550|       |    /* Some slots are inherited in pairs. */
12551|    320|    if (slot == (void *)&type->tp_hash) {
  ------------------
  |  Branch (12551:9): [True: 2, False: 318]
  ------------------
12552|      2|        return (type->tp_richcompare == type->tp_base->tp_richcompare);
12553|      2|    }
12554|    318|    else if (slot == (void *)&type->tp_richcompare) {
  ------------------
  |  Branch (12554:14): [True: 0, False: 318]
  ------------------
12555|      0|        return (type->tp_hash == type->tp_base->tp_hash);
12556|      0|    }
12557|       |
12558|       |    /* It must be inherited (see type_ready_inherit()). */
12559|    318|    return 1;
12560|    320|}
typeobject.c:type_add_methods:
 8664|    908|{
 8665|    908|    PyMethodDef *meth = type->tp_methods;
 8666|    908|    if (meth == NULL) {
  ------------------
  |  Branch (8666:9): [True: 594, False: 314]
  ------------------
 8667|    594|        return 0;
 8668|    594|    }
 8669|       |
 8670|  2.06k|    for (; meth->ml_name != NULL; meth++) {
  ------------------
  |  Branch (8670:12): [True: 1.75k, False: 314]
  ------------------
 8671|  1.75k|        if (type_add_method(type, meth) < 0) {
  ------------------
  |  Branch (8671:13): [True: 0, False: 1.75k]
  ------------------
 8672|      0|            return -1;
 8673|      0|        }
 8674|  1.75k|    }
 8675|    314|    return 0;
 8676|    314|}
typeobject.c:type_add_members:
 8681|    908|{
 8682|    908|    PyMemberDef *memb = type->tp_members;
 8683|    908|    if (memb == NULL) {
  ------------------
  |  Branch (8683:9): [True: 346, False: 562]
  ------------------
 8684|    346|        return 0;
 8685|    346|    }
 8686|       |
 8687|    562|    PyObject *dict = lookup_tp_dict(type);
 8688|  1.25k|    for (; memb->name != NULL; memb++) {
  ------------------
  |  Branch (8688:12): [True: 689, False: 562]
  ------------------
 8689|    689|        PyObject *descr = PyDescr_NewMember(type, memb);
 8690|    689|        if (descr == NULL)
  ------------------
  |  Branch (8690:13): [True: 0, False: 689]
  ------------------
 8691|      0|            return -1;
 8692|       |
 8693|    689|        if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|    689|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (8693:13): [True: 0, False: 689]
  ------------------
 8694|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8695|      0|            return -1;
 8696|      0|        }
 8697|    689|        Py_DECREF(descr);
  ------------------
  |  |  430|    689|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    689|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    689|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8698|    689|    }
 8699|    562|    return 0;
 8700|    562|}
typeobject.c:type_add_getset:
 8705|    908|{
 8706|    908|    PyGetSetDef *gsp = type->tp_getset;
 8707|    908|    if (gsp == NULL) {
  ------------------
  |  Branch (8707:9): [True: 780, False: 128]
  ------------------
 8708|    780|        return 0;
 8709|    780|    }
 8710|       |
 8711|    128|    PyObject *dict = lookup_tp_dict(type);
 8712|    582|    for (; gsp->name != NULL; gsp++) {
  ------------------
  |  Branch (8712:12): [True: 454, False: 128]
  ------------------
 8713|    454|        PyObject *descr = PyDescr_NewGetSet(type, gsp);
 8714|    454|        if (descr == NULL) {
  ------------------
  |  Branch (8714:13): [True: 0, False: 454]
  ------------------
 8715|      0|            return -1;
 8716|      0|        }
 8717|       |
 8718|    454|        if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|    454|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (8718:13): [True: 0, False: 454]
  ------------------
 8719|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8720|      0|            return -1;
 8721|      0|        }
 8722|    454|        Py_DECREF(descr);
  ------------------
  |  |  430|    454|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    454|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    454|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8723|    454|    }
 8724|    128|    return 0;
 8725|    128|}
typeobject.c:type_dict_set_doc:
 9148|    908|{
 9149|    908|    PyObject *dict = lookup_tp_dict(type);
 9150|    908|    int r = PyDict_Contains(dict, &_Py_ID(__doc__));
  ------------------
  |  |  951|    908|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    908|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    908|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9151|    908|    if (r < 0) {
  ------------------
  |  Branch (9151:9): [True: 0, False: 908]
  ------------------
 9152|      0|        return -1;
 9153|      0|    }
 9154|    908|    if (r > 0) {
  ------------------
  |  Branch (9154:9): [True: 293, False: 615]
  ------------------
 9155|    293|        return 0;
 9156|    293|    }
 9157|       |
 9158|    615|    if (type->tp_doc != NULL) {
  ------------------
  |  Branch (9158:9): [True: 366, False: 249]
  ------------------
 9159|    366|        const char *doc_str;
 9160|    366|        doc_str = _PyType_DocWithoutSignature(type->tp_name, type->tp_doc);
 9161|    366|        PyObject *doc = PyUnicode_FromString(doc_str);
 9162|    366|        if (doc == NULL) {
  ------------------
  |  Branch (9162:13): [True: 0, False: 366]
  ------------------
 9163|      0|            return -1;
 9164|      0|        }
 9165|       |
 9166|    366|        if (PyDict_SetItem(dict, &_Py_ID(__doc__), doc) < 0) {
  ------------------
  |  |  951|    366|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    366|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    366|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9166:13): [True: 0, False: 366]
  ------------------
 9167|      0|            Py_DECREF(doc);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9168|      0|            return -1;
 9169|      0|        }
 9170|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9171|    366|    }
 9172|    249|    else {
 9173|    249|        if (PyDict_SetItem(dict, &_Py_ID(__doc__), Py_None) < 0) {
  ------------------
  |  |  951|    249|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    249|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    249|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyDict_SetItem(dict, &_Py_ID(__doc__), Py_None) < 0) {
  ------------------
  |  |  616|    249|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9173:13): [True: 0, False: 249]
  ------------------
 9174|      0|            return -1;
 9175|      0|        }
 9176|    249|    }
 9177|    615|    return 0;
 9178|    615|}
typeobject.c:type_ready_inherit:
 9322|    908|{
 9323|    908|    ASSERT_TYPE_LOCK_HELD();
 9324|       |
 9325|       |    /* Inherit special flags from dominant base */
 9326|    908|    PyTypeObject *base = type->tp_base;
 9327|    908|    if (base != NULL) {
  ------------------
  |  Branch (9327:9): [True: 906, False: 2]
  ------------------
 9328|    906|        inherit_special(type, base);
 9329|    906|    }
 9330|       |
 9331|       |    // Inherit slots
 9332|    908|    PyObject *mro = lookup_tp_mro(type);
 9333|    908|    assert(mro != NULL);
  ------------------
  |  Branch (9333:5): [True: 908, False: 0]
  ------------------
 9334|    908|    Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|    908|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    908|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    908|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9335|  2.87k|    for (Py_ssize_t i = 1; i < n; i++) {
  ------------------
  |  Branch (9335:28): [True: 1.96k, False: 908]
  ------------------
 9336|  1.96k|        PyObject *b = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|  1.96k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.96k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9336:23): [True: 1.96k, False: 0]
  ------------------
 9337|  1.96k|        if (PyType_Check(b)) {
  ------------------
  |  |  766|  1.96k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 1.96k, False: 0]
  |  |  ------------------
  ------------------
 9338|  1.96k|            if (inherit_slots(type, (PyTypeObject *)b) < 0) {
  ------------------
  |  Branch (9338:17): [True: 0, False: 1.96k]
  ------------------
 9339|      0|                return -1;
 9340|      0|            }
 9341|  1.96k|            inherit_patma_flags(type, (PyTypeObject *)b);
 9342|  1.96k|        }
 9343|  1.96k|    }
 9344|       |
 9345|    908|    if (base != NULL) {
  ------------------
  |  Branch (9345:9): [True: 906, False: 2]
  ------------------
 9346|    906|        type_ready_inherit_as_structs(type, base);
 9347|    906|    }
 9348|       |
 9349|       |    /* Sanity check for tp_free. */
 9350|    908|    if (_PyType_IS_GC(type) && (type->tp_flags & Py_TPFLAGS_BASETYPE) &&
  ------------------
  |  |  506|    837|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
  |  Branch (9350:9): [True: 837, False: 71]
  |  Branch (9350:32): [True: 614, False: 223]
  ------------------
 9351|    614|        (type->tp_free == NULL || type->tp_free == PyObject_Free))
  ------------------
  |  Branch (9351:10): [True: 0, False: 614]
  |  Branch (9351:35): [True: 0, False: 614]
  ------------------
 9352|      0|    {
 9353|       |        /* This base class needs to call tp_free, but doesn't have
 9354|       |         * one, or its tp_free is for non-gc'ed objects.
 9355|       |         */
 9356|      0|        PyErr_Format(PyExc_TypeError, "type '%.100s' participates in "
 9357|      0|                     "gc and is a base type but has inappropriate "
 9358|      0|                     "tp_free slot",
 9359|      0|                     type->tp_name);
 9360|      0|        return -1;
 9361|      0|    }
 9362|       |
 9363|    908|    return 0;
 9364|    908|}
typeobject.c:inherit_special:
 8730|    906|{
 8731|       |    /* Copying tp_traverse and tp_clear is connected to the GC flags */
 8732|    906|    if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|    906|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8732:9): [True: 83, False: 823]
  ------------------
 8733|     83|        (base->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|     83|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8733:9): [True: 14, False: 69]
  ------------------
 8734|     14|        (!type->tp_traverse && !type->tp_clear)) {
  ------------------
  |  Branch (8734:10): [True: 14, False: 0]
  |  Branch (8734:32): [True: 14, False: 0]
  ------------------
 8735|     14|        type_add_flags(type, Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  524|     14|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 8736|     14|        if (type->tp_traverse == NULL)
  ------------------
  |  Branch (8736:13): [True: 14, False: 0]
  ------------------
 8737|     14|            type->tp_traverse = base->tp_traverse;
 8738|     14|        if (type->tp_clear == NULL)
  ------------------
  |  Branch (8738:13): [True: 14, False: 0]
  ------------------
 8739|     14|            type->tp_clear = base->tp_clear;
 8740|     14|    }
 8741|    906|    type_add_flags(type, base->tp_flags & Py_TPFLAGS_PREHEADER);
  ------------------
  |  |  487|    906|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|    906|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|    906|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
 8742|       |
 8743|    906|    if (type->tp_basicsize == 0)
  ------------------
  |  Branch (8743:9): [True: 18, False: 888]
  ------------------
 8744|     18|        type->tp_basicsize = base->tp_basicsize;
 8745|       |
 8746|       |    /* Copy other non-function slots */
 8747|       |
 8748|    906|#define COPYVAL(SLOT) \
 8749|    906|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
 8750|       |
 8751|    906|    COPYVAL(tp_itemsize);
  ------------------
  |  | 8749|    906|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8749:9): [True: 828, False: 78]
  |  |  ------------------
  ------------------
 8752|    906|    COPYVAL(tp_weaklistoffset);
  ------------------
  |  | 8749|    906|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8749:9): [True: 701, False: 205]
  |  |  ------------------
  ------------------
 8753|    906|    COPYVAL(tp_dictoffset);
  ------------------
  |  | 8749|    906|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8749:9): [True: 629, False: 277]
  |  |  ------------------
  ------------------
 8754|       |
 8755|    906|#undef COPYVAL
 8756|       |
 8757|       |    /* Setup fast subclass flags */
 8758|    906|    PyObject *mro = lookup_tp_mro(base);
 8759|    906|    unsigned long flags = 0;
 8760|    906|    if (is_subtype_with_mro(mro, base, (PyTypeObject*)PyExc_BaseException)) {
  ------------------
  |  Branch (8760:9): [True: 155, False: 751]
  ------------------
 8761|    155|        flags |= Py_TPFLAGS_BASE_EXC_SUBCLASS;
  ------------------
  |  |  557|    155|#define Py_TPFLAGS_BASE_EXC_SUBCLASS    (1UL << 30)
  ------------------
 8762|    155|    }
 8763|    751|    else if (is_subtype_with_mro(mro, base, &PyType_Type)) {
  ------------------
  |  Branch (8763:14): [True: 5, False: 746]
  ------------------
 8764|      5|        flags |= Py_TPFLAGS_TYPE_SUBCLASS;
  ------------------
  |  |  558|      5|#define Py_TPFLAGS_TYPE_SUBCLASS        (1UL << 31)
  ------------------
 8765|      5|    }
 8766|    746|    else if (is_subtype_with_mro(mro, base, &PyLong_Type)) {
  ------------------
  |  Branch (8766:14): [True: 7, False: 739]
  ------------------
 8767|      7|        flags |= Py_TPFLAGS_LONG_SUBCLASS;
  ------------------
  |  |  551|      7|#define Py_TPFLAGS_LONG_SUBCLASS        (1UL << 24)
  ------------------
 8768|      7|    }
 8769|    739|    else if (is_subtype_with_mro(mro, base, &PyBytes_Type)) {
  ------------------
  |  Branch (8769:14): [True: 0, False: 739]
  ------------------
 8770|      0|        flags |= Py_TPFLAGS_BYTES_SUBCLASS;
  ------------------
  |  |  554|      0|#define Py_TPFLAGS_BYTES_SUBCLASS       (1UL << 27)
  ------------------
 8771|      0|    }
 8772|    739|    else if (is_subtype_with_mro(mro, base, &PyUnicode_Type)) {
  ------------------
  |  Branch (8772:14): [True: 3, False: 736]
  ------------------
 8773|      3|        flags |= Py_TPFLAGS_UNICODE_SUBCLASS;
  ------------------
  |  |  555|      3|#define Py_TPFLAGS_UNICODE_SUBCLASS     (1UL << 28)
  ------------------
 8774|      3|    }
 8775|    736|    else if (is_subtype_with_mro(mro, base, &PyTuple_Type)) {
  ------------------
  |  Branch (8775:14): [True: 39, False: 697]
  ------------------
 8776|     39|        flags |= Py_TPFLAGS_TUPLE_SUBCLASS;
  ------------------
  |  |  553|     39|#define Py_TPFLAGS_TUPLE_SUBCLASS       (1UL << 26)
  ------------------
 8777|     39|    }
 8778|    697|    else if (is_subtype_with_mro(mro, base, &PyList_Type)) {
  ------------------
  |  Branch (8778:14): [True: 2, False: 695]
  ------------------
 8779|      2|        flags |= Py_TPFLAGS_LIST_SUBCLASS;
  ------------------
  |  |  552|      2|#define Py_TPFLAGS_LIST_SUBCLASS        (1UL << 25)
  ------------------
 8780|      2|    }
 8781|    695|    else if (is_subtype_with_mro(mro, base, &PyDict_Type)) {
  ------------------
  |  Branch (8781:14): [True: 6, False: 689]
  ------------------
 8782|      6|        flags |= Py_TPFLAGS_DICT_SUBCLASS;
  ------------------
  |  |  556|      6|#define Py_TPFLAGS_DICT_SUBCLASS        (1UL << 29)
  ------------------
 8783|      6|    }
 8784|       |
 8785|       |    /* Setup some inheritable flags */
 8786|    906|    if (PyType_HasFeature(base, _Py_TPFLAGS_MATCH_SELF)) {
  ------------------
  |  |  545|    906|#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
  ------------------
  |  Branch (8786:9): [True: 57, False: 849]
  ------------------
 8787|     57|        flags |= _Py_TPFLAGS_MATCH_SELF;
  ------------------
  |  |  545|     57|#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
  ------------------
 8788|     57|    }
 8789|    906|    if (PyType_HasFeature(base, Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  548|    906|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (8789:9): [True: 5, False: 901]
  ------------------
 8790|      5|        flags |= Py_TPFLAGS_ITEMS_AT_END;
  ------------------
  |  |  548|      5|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
 8791|      5|    }
 8792|    906|    type_add_flags(type, flags);
 8793|    906|}
typeobject.c:inherit_slots:
 8823|  1.96k|{
 8824|  1.96k|    PyTypeObject *basebase;
 8825|       |
 8826|  1.96k|#undef SLOTDEFINED
 8827|  1.96k|#undef COPYSLOT
 8828|  1.96k|#undef COPYNUM
 8829|  1.96k|#undef COPYSEQ
 8830|  1.96k|#undef COPYMAP
 8831|  1.96k|#undef COPYBUF
 8832|       |
 8833|  1.96k|#define SLOTDEFINED(SLOT) \
 8834|  1.96k|    (base->SLOT != 0 && \
 8835|  1.96k|     (basebase == NULL || base->SLOT != basebase->SLOT))
 8836|       |
 8837|  1.96k|#define COPYSLOT(SLOT) \
 8838|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
 8839|       |
 8840|  1.96k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
 8841|  1.96k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
 8842|  1.96k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
 8843|  1.96k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
 8844|  1.96k|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
 8845|       |
 8846|       |    /* This won't inherit indirect slots (from tp_as_number etc.)
 8847|       |       if type doesn't provide the space. */
 8848|       |
 8849|  1.96k|    if (type->tp_as_number != NULL && base->tp_as_number != NULL) {
  ------------------
  |  Branch (8849:9): [True: 1.20k, False: 754]
  |  Branch (8849:39): [True: 575, False: 633]
  ------------------
 8850|    575|        basebase = base->tp_base;
 8851|    575|        if (basebase->tp_as_number == NULL)
  ------------------
  |  Branch (8851:13): [True: 340, False: 235]
  ------------------
 8852|    340|            basebase = NULL;
 8853|    575|        COPYNUM(nb_add);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    565|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 557]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    565|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 565, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8854|    575|        COPYNUM(nb_subtract);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    529|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 16, False: 513]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    529|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 9]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 8, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 529, False: 46]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8855|    575|        COPYNUM(nb_multiply);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8856|    575|        COPYNUM(nb_remainder);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    561|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 13, False: 548]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    561|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 10, False: 3]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 561, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8857|    575|        COPYNUM(nb_divmod);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8858|    575|        COPYNUM(nb_power);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8859|    575|        COPYNUM(nb_negative);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8860|    575|        COPYNUM(nb_positive);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8861|    575|        COPYNUM(nb_absolute);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8862|    575|        COPYNUM(nb_bool);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8863|    575|        COPYNUM(nb_invert);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    564|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 5, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    564|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 4, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 1, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 564, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8864|    575|        COPYNUM(nb_lshift);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8865|    575|        COPYNUM(nb_rshift);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8866|    575|        COPYNUM(nb_and);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    528|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 13, False: 515]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    528|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 4, False: 9]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 9, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 528, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8867|    575|        COPYNUM(nb_xor);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    528|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 13, False: 515]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    528|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 4, False: 9]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 9, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 528, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8868|    575|        COPYNUM(nb_or);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    525|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 25, False: 500]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    525|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 14, False: 11]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 9, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 525, False: 50]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8869|    575|        COPYNUM(nb_int);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8870|    575|        COPYNUM(nb_float);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8871|    575|        COPYNUM(nb_inplace_add);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    569|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 1, False: 568]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    569|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 1, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 569, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8872|    575|        COPYNUM(nb_inplace_subtract);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8873|    575|        COPYNUM(nb_inplace_multiply);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8874|    575|        COPYNUM(nb_inplace_remainder);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8875|    575|        COPYNUM(nb_inplace_power);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8876|    575|        COPYNUM(nb_inplace_lshift);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8877|    575|        COPYNUM(nb_inplace_rshift);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8878|    575|        COPYNUM(nb_inplace_and);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8879|    575|        COPYNUM(nb_inplace_xor);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8880|    575|        COPYNUM(nb_inplace_or);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    573|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 4, False: 569]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    573|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 4, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 573, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8881|    575|        COPYNUM(nb_true_divide);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8882|    575|        COPYNUM(nb_floor_divide);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8883|    575|        COPYNUM(nb_inplace_true_divide);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8884|    575|        COPYNUM(nb_inplace_floor_divide);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8885|    575|        COPYNUM(nb_index);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8886|    575|        COPYNUM(nb_matrix_multiply);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8887|    575|        COPYNUM(nb_inplace_matrix_multiply);
  ------------------
  |  | 8841|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8888|    575|    }
 8889|       |
 8890|  1.96k|    if (type->tp_as_async != NULL && base->tp_as_async != NULL) {
  ------------------
  |  Branch (8890:9): [True: 1.15k, False: 808]
  |  Branch (8890:38): [True: 550, False: 604]
  ------------------
 8891|    550|        basebase = base->tp_base;
 8892|    550|        if (basebase->tp_as_async == NULL)
  ------------------
  |  Branch (8892:13): [True: 320, False: 230]
  ------------------
 8893|    320|            basebase = NULL;
 8894|    550|        COPYASYNC(am_await);
  ------------------
  |  | 8840|    550|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    550|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    550|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 2, False: 548]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    550|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 550, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8895|    550|        COPYASYNC(am_aiter);
  ------------------
  |  | 8840|    550|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    550|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    550|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 6, False: 544]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    550|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 4, False: 2]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 550, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8896|    550|        COPYASYNC(am_anext);
  ------------------
  |  | 8840|    550|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    550|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    548|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 2, False: 546]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    548|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 2]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 548, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8897|    550|    }
 8898|       |
 8899|  1.96k|    if (type->tp_as_sequence != NULL && base->tp_as_sequence != NULL) {
  ------------------
  |  Branch (8899:9): [True: 1.18k, False: 776]
  |  Branch (8899:41): [True: 582, False: 604]
  ------------------
 8900|    582|        basebase = base->tp_base;
 8901|    582|        if (basebase->tp_as_sequence == NULL)
  ------------------
  |  Branch (8901:13): [True: 349, False: 233]
  ------------------
 8902|    349|            basebase = NULL;
 8903|    582|        COPYSEQ(sq_length);
  ------------------
  |  | 8842|    582|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    582|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    492|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 120, False: 372]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    492|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 56, False: 64]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 7, False: 57]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 492, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8904|    582|        COPYSEQ(sq_concat);
  ------------------
  |  | 8842|    582|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    582|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    576|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 31, False: 545]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    576|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 28, False: 3]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 576, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8905|    582|        COPYSEQ(sq_repeat);
  ------------------
  |  | 8842|    582|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    582|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    576|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 31, False: 545]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    576|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 28, False: 3]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 576, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8906|    582|        COPYSEQ(sq_item);
  ------------------
  |  | 8842|    582|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    582|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    519|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 45, False: 474]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    519|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 25, False: 20]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 15, False: 5]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 519, False: 63]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8907|    582|        COPYSEQ(sq_ass_item);
  ------------------
  |  | 8842|    582|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    582|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    556|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 7, False: 549]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    556|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 2, False: 5]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 5, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 556, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8908|    582|        COPYSEQ(sq_contains);
  ------------------
  |  | 8842|    582|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    582|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    465|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 85, False: 380]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    465|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 35, False: 50]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 30, False: 20]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 465, False: 117]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8909|    582|        COPYSEQ(sq_inplace_concat);
  ------------------
  |  | 8842|    582|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    582|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    582|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 2, False: 580]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    582|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 582, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8910|    582|        COPYSEQ(sq_inplace_repeat);
  ------------------
  |  | 8842|    582|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    582|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    582|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 2, False: 580]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    582|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 582, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8911|    582|    }
 8912|       |
 8913|  1.96k|    if (type->tp_as_mapping != NULL && base->tp_as_mapping != NULL) {
  ------------------
  |  Branch (8913:9): [True: 1.19k, False: 772]
  |  Branch (8913:40): [True: 586, False: 604]
  ------------------
 8914|    586|        basebase = base->tp_base;
 8915|    586|        if (basebase->tp_as_mapping == NULL)
  ------------------
  |  Branch (8915:13): [True: 353, False: 233]
  ------------------
 8916|    353|            basebase = NULL;
 8917|    586|        COPYMAP(mp_length);
  ------------------
  |  | 8843|    586|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    586|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    496|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 126, False: 370]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    496|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 62, False: 64]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 7, False: 57]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 496, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8918|    586|        COPYMAP(mp_subscript);
  ------------------
  |  | 8843|    586|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    586|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    526|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 56, False: 470]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    526|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 36, False: 20]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 12, False: 8]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 526, False: 60]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8919|    586|        COPYMAP(mp_ass_subscript);
  ------------------
  |  | 8843|    586|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    586|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    558|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 11, False: 547]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    558|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 6, False: 5]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 5, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 558, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8920|    586|    }
 8921|       |
 8922|  1.96k|    if (type->tp_as_buffer != NULL && base->tp_as_buffer != NULL) {
  ------------------
  |  Branch (8922:9): [True: 1.15k, False: 808]
  |  Branch (8922:39): [True: 550, False: 604]
  ------------------
 8923|    550|        basebase = base->tp_base;
 8924|    550|        if (basebase->tp_as_buffer == NULL)
  ------------------
  |  Branch (8924:13): [True: 320, False: 230]
  ------------------
 8925|    320|            basebase = NULL;
 8926|    550|        COPYBUF(bf_getbuffer);
  ------------------
  |  | 8844|    550|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    550|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    550|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 550]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    550|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 550, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8927|    550|        COPYBUF(bf_releasebuffer);
  ------------------
  |  | 8844|    550|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    550|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    550|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 550]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    550|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 550, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8928|    550|    }
 8929|       |
 8930|  1.96k|    basebase = base->tp_base;
 8931|       |
 8932|  1.96k|    COPYSLOT(tp_dealloc);
  ------------------
  |  | 8838|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|     34|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 34, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|     34|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 16, False: 18]
  |  |  |  |  |  Branch (8835:27): [True: 12, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 34, False: 1.92k]
  |  |  ------------------
  ------------------
 8933|  1.96k|    if (type->tp_getattr == NULL && type->tp_getattro == NULL) {
  ------------------
  |  Branch (8933:9): [True: 1.96k, False: 0]
  |  Branch (8933:37): [True: 677, False: 1.28k]
  ------------------
 8934|    677|        type->tp_getattr = base->tp_getattr;
 8935|    677|        type->tp_getattro = base->tp_getattro;
 8936|    677|    }
 8937|  1.96k|    if (type->tp_setattr == NULL && type->tp_setattro == NULL) {
  ------------------
  |  Branch (8937:9): [True: 1.96k, False: 0]
  |  Branch (8937:37): [True: 882, False: 1.08k]
  ------------------
 8938|    882|        type->tp_setattr = base->tp_setattr;
 8939|    882|        type->tp_setattro = base->tp_setattro;
 8940|    882|    }
 8941|  1.96k|    COPYSLOT(tp_repr);
  ------------------
  |  | 8838|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.26k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 1.26k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.26k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 350, False: 911]
  |  |  |  |  |  Branch (8835:27): [True: 333, False: 578]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.26k, False: 701]
  |  |  ------------------
  ------------------
 8942|       |    /* tp_hash see tp_richcompare */
 8943|  1.96k|    {
 8944|       |        /* Always inherit tp_vectorcall_offset to support PyVectorcall_Call().
 8945|       |         * If Py_TPFLAGS_HAVE_VECTORCALL is not inherited, then vectorcall
 8946|       |         * won't be used automatically. */
 8947|  1.96k|        COPYSLOT(tp_vectorcall_offset);
  ------------------
  |  | 8838|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.93k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 13, False: 1.91k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.93k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 13]
  |  |  |  |  |  Branch (8835:27): [True: 11, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.93k, False: 31]
  |  |  ------------------
  ------------------
 8948|       |
 8949|       |        /* Inherit Py_TPFLAGS_HAVE_VECTORCALL if tp_call is not overridden */
 8950|  1.96k|        if (!type->tp_call &&
  ------------------
  |  Branch (8950:13): [True: 1.91k, False: 49]
  ------------------
 8951|  1.91k|            _PyType_HasFeature(base, Py_TPFLAGS_HAVE_VECTORCALL))
  ------------------
  |  |  510|  1.91k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (8951:13): [True: 13, False: 1.90k]
  ------------------
 8952|     13|        {
 8953|     13|            type_add_flags(type, Py_TPFLAGS_HAVE_VECTORCALL);
  ------------------
  |  |  510|     13|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
 8954|     13|        }
 8955|  1.96k|        COPYSLOT(tp_call);
  ------------------
  |  | 8838|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.91k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 15, False: 1.89k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.91k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 15]
  |  |  |  |  |  Branch (8835:27): [True: 13, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.91k, False: 49]
  |  |  ------------------
  ------------------
 8956|  1.96k|    }
 8957|  1.96k|    COPYSLOT(tp_str);
  ------------------
  |  | 8838|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.61k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 1.61k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.61k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 718, False: 896]
  |  |  |  |  |  Branch (8835:27): [True: 143, False: 753]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.61k, False: 348]
  |  |  ------------------
  ------------------
 8958|  1.96k|    {
 8959|       |        /* Copy comparison-related slots only when
 8960|       |           not overriding them anywhere */
 8961|  1.96k|        if (type->tp_richcompare == NULL &&
  ------------------
  |  Branch (8961:13): [True: 852, False: 1.11k]
  ------------------
 8962|    852|            type->tp_hash == NULL)
  ------------------
  |  Branch (8962:13): [True: 842, False: 10]
  ------------------
 8963|    842|        {
 8964|    842|            int r = overrides_hash(type);
 8965|    842|            if (r < 0) {
  ------------------
  |  Branch (8965:17): [True: 0, False: 842]
  ------------------
 8966|      0|                return -1;
 8967|      0|            }
 8968|    842|            if (!r) {
  ------------------
  |  Branch (8968:17): [True: 790, False: 52]
  ------------------
 8969|    790|                type->tp_richcompare = base->tp_richcompare;
 8970|    790|                type->tp_hash = base->tp_hash;
 8971|    790|            }
 8972|    842|        }
 8973|  1.96k|    }
 8974|  1.96k|    {
 8975|  1.96k|        COPYSLOT(tp_iter);
  ------------------
  |  | 8838|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.56k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 171, False: 1.39k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.56k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 171]
  |  |  |  |  |  Branch (8835:27): [True: 115, False: 56]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.56k, False: 401]
  |  |  ------------------
  ------------------
 8976|  1.96k|        COPYSLOT(tp_iternext);
  ------------------
  |  | 8838|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.40k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 315, False: 1.09k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.40k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 315]
  |  |  |  |  |  Branch (8835:27): [True: 217, False: 98]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.40k, False: 557]
  |  |  ------------------
  ------------------
 8977|  1.96k|    }
 8978|  1.96k|    {
 8979|  1.96k|        COPYSLOT(tp_descr_get);
  ------------------
  |  | 8838|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.92k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 7, False: 1.92k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.92k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 7]
  |  |  |  |  |  Branch (8835:27): [True: 7, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.92k, False: 34]
  |  |  ------------------
  ------------------
 8980|       |        /* Inherit Py_TPFLAGS_METHOD_DESCRIPTOR if tp_descr_get was inherited,
 8981|       |         * but only for extension types */
 8982|  1.96k|        if (base->tp_descr_get &&
  ------------------
  |  Branch (8982:13): [True: 7, False: 1.95k]
  ------------------
 8983|      7|            type->tp_descr_get == base->tp_descr_get &&
  ------------------
  |  Branch (8983:13): [True: 7, False: 0]
  ------------------
 8984|      7|            _PyType_HasFeature(type, Py_TPFLAGS_IMMUTABLETYPE) &&
  ------------------
  |  |  500|      7|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (8984:13): [True: 0, False: 7]
  ------------------
 8985|      0|            _PyType_HasFeature(base, Py_TPFLAGS_METHOD_DESCRIPTOR))
  ------------------
  |  |  534|      0|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (8985:13): [True: 0, False: 0]
  ------------------
 8986|      0|        {
 8987|      0|            type_add_flags(type, Py_TPFLAGS_METHOD_DESCRIPTOR);
  ------------------
  |  |  534|      0|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
 8988|      0|        }
 8989|  1.96k|        COPYSLOT(tp_descr_set);
  ------------------
  |  | 8838|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.95k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 3, False: 1.94k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.95k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 3]
  |  |  |  |  |  Branch (8835:27): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.95k, False: 10]
  |  |  ------------------
  ------------------
 8990|  1.96k|        COPYSLOT(tp_dictoffset);
  ------------------
  |  | 8838|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|    610|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 0, False: 610]
  |  |  |  |  ------------------
  |  |  |  | 8835|    610|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 610, False: 1.35k]
  |  |  ------------------
  ------------------
 8991|  1.96k|        COPYSLOT(tp_init);
  ------------------
  |  | 8838|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.10k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 1.10k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.10k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 521, False: 585]
  |  |  |  |  |  Branch (8835:27): [True: 200, False: 385]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.10k, False: 856]
  |  |  ------------------
  ------------------
 8992|  1.96k|        COPYSLOT(tp_alloc);
  ------------------
  |  | 8838|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|    906|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 906, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|    906|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 446, False: 460]
  |  |  |  |  |  Branch (8835:27): [True: 0, False: 460]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 906, False: 1.05k]
  |  |  ------------------
  ------------------
 8993|  1.96k|        COPYSLOT(tp_is_gc);
  ------------------
  |  | 8838|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.95k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 7, False: 1.94k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.95k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 7]
  |  |  |  |  |  Branch (8835:27): [True: 5, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.95k, False: 7]
  |  |  ------------------
  ------------------
 8994|  1.96k|        COPYSLOT(tp_finalize);
  ------------------
  |  | 8838|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.92k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 48, False: 1.87k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.92k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 48]
  |  |  |  |  |  Branch (8835:27): [True: 26, False: 22]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.92k, False: 40]
  |  |  ------------------
  ------------------
 8995|  1.96k|        if ((type->tp_flags & Py_TPFLAGS_HAVE_GC) ==
  ------------------
  |  |  524|  1.96k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8995:13): [True: 1.11k, False: 845]
  ------------------
 8996|  1.96k|            (base->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|  1.96k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 8997|       |            /* They agree about gc. */
 8998|  1.11k|            COPYSLOT(tp_free);
  ------------------
  |  | 8838|  1.11k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|    517|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 517, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|    517|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 53, False: 464]
  |  |  |  |  |  Branch (8835:27): [True: 206, False: 258]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 517, False: 600]
  |  |  ------------------
  ------------------
 8999|  1.11k|        }
 9000|    845|        else if ((type->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|    845|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9000:18): [True: 845, False: 0]
  ------------------
 9001|    845|                 type->tp_free == NULL &&
  ------------------
  |  Branch (9001:18): [True: 148, False: 697]
  ------------------
 9002|    148|                 base->tp_free == PyObject_Free) {
  ------------------
  |  Branch (9002:18): [True: 148, False: 0]
  ------------------
 9003|       |            /* A bit of magic to plug in the correct default
 9004|       |             * tp_free function when a derived class adds gc,
 9005|       |             * didn't define tp_free, and the base uses the
 9006|       |             * default non-gc tp_free.
 9007|       |             */
 9008|    148|            type->tp_free = PyObject_GC_Del;
 9009|    148|        }
 9010|       |        /* else they didn't agree about gc, and there isn't something
 9011|       |         * obvious to be done -- the type is on its own.
 9012|       |         */
 9013|  1.96k|    }
 9014|  1.96k|    return 0;
 9015|  1.96k|}
typeobject.c:overrides_hash:
 8797|    842|{
 8798|    842|    PyObject *dict = lookup_tp_dict(type);
 8799|       |
 8800|    842|    assert(dict != NULL);
  ------------------
  |  Branch (8800:5): [True: 842, False: 0]
  ------------------
 8801|       |#ifdef Py_GIL_DISABLED
 8802|       |    // Ignore non-str keys, consistent with find_slot_name_in_mro().
 8803|       |    _PyStackRef ref;
 8804|       |    int r = _PyDict_GetItemStackRef_ExactUnicode(
 8805|       |        (PyDictObject *)dict, &_Py_ID(__eq__), &ref);
 8806|       |    PyStackRef_XCLOSE(ref);
 8807|       |    if (r == 0) {
 8808|       |        r = _PyDict_GetItemStackRef_ExactUnicode(
 8809|       |            (PyDictObject *)dict, &_Py_ID(__hash__), &ref);
 8810|       |        PyStackRef_XCLOSE(ref);
 8811|       |    }
 8812|       |#else
 8813|    842|    int r = PyDict_Contains(dict, &_Py_ID(__eq__));
  ------------------
  |  |  951|    842|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    842|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    842|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8814|    842|    if (r == 0) {
  ------------------
  |  Branch (8814:9): [True: 793, False: 49]
  ------------------
 8815|    793|        r = PyDict_Contains(dict, &_Py_ID(__hash__));
  ------------------
  |  |  951|    793|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    793|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    793|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8816|    793|    }
 8817|    842|#endif
 8818|    842|    return r;
 8819|    842|}
typeobject.c:inherit_patma_flags:
 9314|  1.96k|inherit_patma_flags(PyTypeObject *type, PyTypeObject *base) {
 9315|  1.96k|    if ((type->tp_flags & COLLECTION_FLAGS) == 0) {
  ------------------
  |  | 9020|  1.96k|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|  1.96k|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|  1.96k|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
  |  Branch (9315:9): [True: 1.82k, False: 136]
  ------------------
 9316|  1.82k|        type_add_flags(type, base->tp_flags & COLLECTION_FLAGS);
  ------------------
  |  | 9020|  1.82k|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|  1.82k|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|  1.82k|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
 9317|  1.82k|    }
 9318|  1.96k|}
typeobject.c:type_ready_inherit_as_structs:
 9295|    906|{
 9296|    906|    if (type->tp_as_async == NULL) {
  ------------------
  |  Branch (9296:9): [True: 400, False: 506]
  ------------------
 9297|    400|        type->tp_as_async = base->tp_as_async;
 9298|    400|    }
 9299|    906|    if (type->tp_as_number == NULL) {
  ------------------
  |  Branch (9299:9): [True: 352, False: 554]
  ------------------
 9300|    352|        type->tp_as_number = base->tp_as_number;
 9301|    352|    }
 9302|    906|    if (type->tp_as_sequence == NULL) {
  ------------------
  |  Branch (9302:9): [True: 368, False: 538]
  ------------------
 9303|    368|        type->tp_as_sequence = base->tp_as_sequence;
 9304|    368|    }
 9305|    906|    if (type->tp_as_mapping == NULL) {
  ------------------
  |  Branch (9305:9): [True: 366, False: 540]
  ------------------
 9306|    366|        type->tp_as_mapping = base->tp_as_mapping;
 9307|    366|    }
 9308|    906|    if (type->tp_as_buffer == NULL) {
  ------------------
  |  Branch (9308:9): [True: 400, False: 506]
  ------------------
 9309|    400|        type->tp_as_buffer = base->tp_as_buffer;
 9310|    400|    }
 9311|    906|}
typeobject.c:type_ready_preheader:
 9205|    908|{
 9206|    908|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|    908|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9206:9): [True: 280, False: 628]
  ------------------
 9207|    280|        if (type->tp_dictoffset > 0 || type->tp_dictoffset < -1) {
  ------------------
  |  Branch (9207:13): [True: 0, False: 280]
  |  Branch (9207:40): [True: 0, False: 280]
  ------------------
 9208|      0|            PyErr_Format(PyExc_TypeError,
 9209|      0|                        "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9210|      0|                        "but tp_dictoffset is set",
 9211|      0|                        type->tp_name);
 9212|      0|            return -1;
 9213|      0|        }
 9214|    280|        if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|    280|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9214:13): [True: 0, False: 280]
  ------------------
 9215|      0|            PyErr_Format(PyExc_SystemError,
 9216|      0|                        "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9217|      0|                        "but not Py_TPFLAGS_HAVE_GC flag",
 9218|      0|                        type->tp_name);
 9219|      0|            return -1;
 9220|      0|        }
 9221|    280|        type->tp_dictoffset = -1;
 9222|    280|    }
 9223|    908|    if (type->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF) {
  ------------------
  |  |  477|    908|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  ------------------
  |  Branch (9223:9): [True: 301, False: 607]
  ------------------
 9224|    301|        if (type->tp_weaklistoffset != 0 &&
  ------------------
  |  Branch (9224:13): [True: 287, False: 14]
  ------------------
 9225|    287|            type->tp_weaklistoffset != MANAGED_WEAKREF_OFFSET)
  ------------------
  |  |  911|    287|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
  |  Branch (9225:13): [True: 0, False: 287]
  ------------------
 9226|      0|        {
 9227|      0|            PyErr_Format(PyExc_TypeError,
 9228|      0|                        "type %s has the Py_TPFLAGS_MANAGED_WEAKREF flag "
 9229|      0|                        "but tp_weaklistoffset is set",
 9230|      0|                        type->tp_name);
 9231|      0|            return -1;
 9232|      0|        }
 9233|    301|        if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|    301|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9233:13): [True: 0, False: 301]
  ------------------
 9234|      0|            PyErr_Format(PyExc_SystemError,
 9235|      0|                        "type %s has the Py_TPFLAGS_MANAGED_WEAKREF flag "
 9236|      0|                        "but not Py_TPFLAGS_HAVE_GC flag",
 9237|      0|                        type->tp_name);
 9238|      0|            return -1;
 9239|      0|        }
 9240|    301|        type->tp_weaklistoffset = MANAGED_WEAKREF_OFFSET;
  ------------------
  |  |  911|    301|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
 9241|    301|    }
 9242|    908|    return 0;
 9243|    908|}
typeobject.c:type_ready_set_hash:
 9374|    908|{
 9375|    908|    if (type->tp_hash != NULL) {
  ------------------
  |  Branch (9375:9): [True: 866, False: 42]
  ------------------
 9376|    866|        return 0;
 9377|    866|    }
 9378|       |
 9379|     42|    PyObject *dict = lookup_tp_dict(type);
 9380|     42|    int r = PyDict_Contains(dict, &_Py_ID(__hash__));
  ------------------
  |  |  951|     42|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     42|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     42|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9381|     42|    if (r < 0) {
  ------------------
  |  Branch (9381:9): [True: 0, False: 42]
  ------------------
 9382|      0|        return -1;
 9383|      0|    }
 9384|     42|    if (r > 0) {
  ------------------
  |  Branch (9384:9): [True: 8, False: 34]
  ------------------
 9385|      8|        return 0;
 9386|      8|    }
 9387|       |
 9388|     34|    if (PyDict_SetItem(dict, &_Py_ID(__hash__), Py_None) < 0) {
  ------------------
  |  |  951|     34|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     34|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     34|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyDict_SetItem(dict, &_Py_ID(__hash__), Py_None) < 0) {
  ------------------
  |  |  616|     34|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9388:9): [True: 0, False: 34]
  ------------------
 9389|      0|        return -1;
 9390|      0|    }
 9391|     34|    type->tp_hash = PyObject_HashNotImplemented;
 9392|     34|    return 0;
 9393|     34|}
typeobject.c:type_ready_managed_dict:
 9467|    908|{
 9468|    908|    if (!(type->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|    908|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9468:9): [True: 628, False: 280]
  ------------------
 9469|    628|        return 0;
 9470|    628|    }
 9471|    280|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    280|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9471:9): [True: 0, False: 280]
  ------------------
 9472|      0|        PyErr_Format(PyExc_SystemError,
 9473|      0|                     "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9474|      0|                     "but not Py_TPFLAGS_HEAPTYPE flag",
 9475|      0|                     type->tp_name);
 9476|      0|        return -1;
 9477|      0|    }
 9478|    280|    PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 9479|    280|    if (et->ht_cached_keys == NULL) {
  ------------------
  |  Branch (9479:9): [True: 280, False: 0]
  ------------------
 9480|    280|        et->ht_cached_keys = _PyDict_NewKeysForClass(et);
 9481|    280|        if (et->ht_cached_keys == NULL) {
  ------------------
  |  Branch (9481:13): [True: 0, False: 280]
  ------------------
 9482|      0|            PyErr_NoMemory();
 9483|      0|            return -1;
 9484|      0|        }
 9485|    280|    }
 9486|    280|    if (type->tp_itemsize == 0) {
  ------------------
  |  Branch (9486:9): [True: 272, False: 8]
  ------------------
 9487|    272|        type_add_flags(type, Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  |  472|    272|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
 9488|    272|    }
 9489|    280|    return 0;
 9490|    280|}
typeobject.c:type_ready_post_checks:
 9494|    908|{
 9495|       |    // bpo-44263: tp_traverse is required if Py_TPFLAGS_HAVE_GC is set.
 9496|       |    // Note: tp_clear is optional.
 9497|    908|    if (type->tp_flags & Py_TPFLAGS_HAVE_GC
  ------------------
  |  |  524|  1.81k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9497:9): [True: 837, False: 71]
  ------------------
 9498|    837|        && type->tp_traverse == NULL)
  ------------------
  |  Branch (9498:12): [True: 0, False: 837]
  ------------------
 9499|      0|    {
 9500|      0|        PyErr_Format(PyExc_SystemError,
 9501|      0|                     "type %s has the Py_TPFLAGS_HAVE_GC flag "
 9502|      0|                     "but has no traverse function",
 9503|      0|                     type->tp_name);
 9504|      0|        return -1;
 9505|      0|    }
 9506|    908|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|    908|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9506:9): [True: 280, False: 628]
  ------------------
 9507|    280|        if (type->tp_dictoffset != -1) {
  ------------------
  |  Branch (9507:13): [True: 0, False: 280]
  ------------------
 9508|      0|            PyErr_Format(PyExc_SystemError,
 9509|      0|                        "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9510|      0|                        "but tp_dictoffset is set to incompatible value",
 9511|      0|                        type->tp_name);
 9512|      0|            return -1;
 9513|      0|        }
 9514|    280|    }
 9515|    628|    else if (type->tp_dictoffset < (Py_ssize_t)sizeof(PyObject)) {
  ------------------
  |  Branch (9515:14): [True: 418, False: 210]
  ------------------
 9516|    418|        if (type->tp_dictoffset + type->tp_basicsize <= 0) {
  ------------------
  |  Branch (9516:13): [True: 0, False: 418]
  ------------------
 9517|      0|            PyErr_Format(PyExc_SystemError,
 9518|      0|                         "type %s has a tp_dictoffset that is too small",
 9519|      0|                         type->tp_name);
 9520|      0|            return -1;
 9521|      0|        }
 9522|    418|    }
 9523|    908|    return 0;
 9524|    908|}
typeobject.c:stop_readying:
  439|    908|{
  440|    908|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    908|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (440:9): [True: 412, False: 496]
  ------------------
  441|    412|        PyInterpreterState *interp = _PyInterpreterState_GET();
  442|    412|        managed_static_type_state *state = managed_static_type_state_get(interp, type);
  443|    412|        assert(state != NULL);
  ------------------
  |  Branch (443:9): [True: 412, False: 0]
  ------------------
  444|    412|        assert(state->readying);
  ------------------
  |  Branch (444:9): [True: 412, False: 0]
  ------------------
  445|    412|        state->readying = 0;
  446|    412|        return;
  447|    412|    }
  448|    908|    assert(type->tp_flags & Py_TPFLAGS_READYING);
  ------------------
  |  Branch (448:5): [True: 496, False: 0]
  ------------------
  449|    496|    type_clear_flags(type, Py_TPFLAGS_READYING);
  ------------------
  |  |  521|    496|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  450|    496|}
typeobject.c:init_static_type:
 9688|    412|{
 9689|    412|    assert(_Py_IsImmortal((PyObject *)self));
  ------------------
  |  Branch (9689:5): [True: 412, False: 0]
  ------------------
 9690|    412|    assert(!(self->tp_flags & Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  Branch (9690:5): [True: 412, False: 0]
  ------------------
 9691|    412|    assert(!(self->tp_flags & Py_TPFLAGS_MANAGED_DICT));
  ------------------
  |  Branch (9691:5): [True: 412, False: 0]
  ------------------
 9692|    412|    assert(!(self->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF));
  ------------------
  |  Branch (9692:5): [True: 412, False: 0]
  ------------------
 9693|       |
 9694|    412|    if (initial) {
  ------------------
  |  Branch (9694:9): [True: 412, False: 0]
  ------------------
 9695|    412|        assert((self->tp_flags & Py_TPFLAGS_READY) == 0);
  ------------------
  |  Branch (9695:9): [True: 412, False: 0]
  ------------------
 9696|       |
 9697|    412|        type_add_flags(self, _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  |  467|    412|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
 9698|    412|        type_add_flags(self, Py_TPFLAGS_IMMUTABLETYPE);
  ------------------
  |  |  500|    412|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
 9699|       |
 9700|    412|        if (self->tp_version_tag == 0) {
  ------------------
  |  Branch (9700:13): [True: 388, False: 24]
  ------------------
 9701|    388|            unsigned int next_version_tag = next_global_version_tag();
 9702|    388|            assert(next_version_tag != 0);
  ------------------
  |  Branch (9702:13): [True: 388, False: 0]
  ------------------
 9703|    388|            _PyType_SetVersion(self, next_version_tag);
 9704|    388|        }
 9705|    412|    }
 9706|      0|    else {
 9707|      0|        assert(!initial);
  ------------------
  |  Branch (9707:9): [True: 0, False: 0]
  ------------------
 9708|      0|        assert(self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  Branch (9708:9): [True: 0, False: 0]
  ------------------
 9709|      0|        assert(self->tp_version_tag != 0);
  ------------------
  |  Branch (9709:9): [True: 0, False: 0]
  ------------------
 9710|      0|    }
 9711|       |
 9712|    412|    managed_static_type_state_init(interp, self, isbuiltin, initial);
 9713|       |
 9714|    412|    int res;
 9715|    412|    BEGIN_TYPE_LOCK();
 9716|    412|    res = type_ready(self, initial, 1);
 9717|    412|    END_TYPE_LOCK();
 9718|    412|    if (res < 0) {
  ------------------
  |  Branch (9718:9): [True: 0, False: 412]
  ------------------
 9719|      0|        _PyStaticType_ClearWeakRefs(interp, self);
 9720|      0|        managed_static_type_state_clear(interp, self, isbuiltin, initial);
 9721|      0|    }
 9722|    412|    return res;
 9723|    412|}
typeobject.c:managed_static_type_state_init:
  253|    412|{
  254|    412|    assert(interp->runtime == &_PyRuntime);
  ------------------
  |  Branch (254:5): [True: 412, False: 0]
  ------------------
  255|       |
  256|    412|    size_t index;
  257|    412|    if (initial) {
  ------------------
  |  Branch (257:9): [True: 412, False: 0]
  ------------------
  258|    412|        assert(!managed_static_type_index_is_set(self));
  ------------------
  |  Branch (258:9): [True: 412, False: 0]
  ------------------
  259|    412|        if (isbuiltin) {
  ------------------
  |  Branch (259:13): [True: 400, False: 12]
  ------------------
  260|    400|            index = interp->types.builtins.num_initialized;
  261|    400|            assert(index < _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES);
  ------------------
  |  Branch (261:13): [True: 400, False: 0]
  ------------------
  262|    400|        }
  263|     12|        else {
  264|     12|            PyMutex_Lock(&interp->types.mutex);
  ------------------
  |  |   59|     12|#define PyMutex_Lock _PyMutex_Lock
  ------------------
  265|     12|            index = interp->types.for_extensions.next_index;
  266|     12|            interp->types.for_extensions.next_index++;
  267|     12|            PyMutex_Unlock(&interp->types.mutex);
  ------------------
  |  |   70|     12|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
  268|     12|            assert(index < _Py_MAX_MANAGED_STATIC_EXT_TYPES);
  ------------------
  |  Branch (268:13): [True: 12, False: 0]
  ------------------
  269|     12|        }
  270|    412|        managed_static_type_index_set(self, index);
  271|    412|    }
  272|      0|    else {
  273|      0|        index = managed_static_type_index_get(self);
  274|      0|        if (isbuiltin) {
  ------------------
  |  Branch (274:13): [True: 0, False: 0]
  ------------------
  275|      0|            assert(index == interp->types.builtins.num_initialized);
  ------------------
  |  Branch (275:13): [True: 0, False: 0]
  ------------------
  276|      0|            assert(index < _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES);
  ------------------
  |  Branch (276:13): [True: 0, False: 0]
  ------------------
  277|      0|        }
  278|      0|        else {
  279|      0|            assert(index < _Py_MAX_MANAGED_STATIC_EXT_TYPES);
  ------------------
  |  Branch (279:13): [True: 0, False: 0]
  ------------------
  280|      0|        }
  281|      0|    }
  282|    412|    size_t full_index = isbuiltin
  ------------------
  |  Branch (282:25): [True: 400, False: 12]
  ------------------
  283|    412|        ? index
  284|    412|        : index + _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES;
  ------------------
  |  |  543|     12|    (_Py_NUM_MANAGED_PREINITIALIZED_TYPES + 83)
  |  |  ------------------
  |  |  |  |  541|     12|#define _Py_NUM_MANAGED_PREINITIALIZED_TYPES 120
  |  |  ------------------
  ------------------
  285|       |
  286|    412|    assert((initial == 1) ==
  ------------------
  |  Branch (286:5): [True: 412, False: 0]
  ------------------
  287|    412|            (_Py_atomic_load_int64(&_PyRuntime.types.managed_static.types[full_index].interp_count) == 0));
  288|    412|    (void)_Py_atomic_add_int64(
  289|    412|            &_PyRuntime.types.managed_static.types[full_index].interp_count, 1);
  290|       |
  291|    412|    if (initial) {
  ------------------
  |  Branch (291:9): [True: 412, False: 0]
  ------------------
  292|    412|        assert(_PyRuntime.types.managed_static.types[full_index].type == NULL);
  ------------------
  |  Branch (292:9): [True: 412, False: 0]
  ------------------
  293|    412|        _PyRuntime.types.managed_static.types[full_index].type = self;
  294|    412|    }
  295|      0|    else {
  296|      0|        assert(_PyRuntime.types.managed_static.types[full_index].type == self);
  ------------------
  |  Branch (296:9): [True: 0, False: 0]
  ------------------
  297|      0|    }
  298|       |
  299|    412|    managed_static_type_state *state = isbuiltin
  ------------------
  |  Branch (299:40): [True: 400, False: 12]
  ------------------
  300|    412|        ? &(interp->types.builtins.initialized[index])
  301|    412|        : &(interp->types.for_extensions.initialized[index]);
  302|       |
  303|       |    /* It should only be called once for each builtin type per interpreter. */
  304|    412|    assert(state->type == NULL);
  ------------------
  |  Branch (304:5): [True: 412, False: 0]
  ------------------
  305|    412|    state->type = self;
  306|    412|    state->isbuiltin = isbuiltin;
  307|       |
  308|       |    /* state->tp_subclasses is left NULL until init_subclasses() sets it. */
  309|       |    /* state->tp_weaklist is left NULL until insert_head() or insert_after()
  310|       |       (in weakrefobject.c) sets it. */
  311|       |
  312|    412|    if (isbuiltin) {
  ------------------
  |  Branch (312:9): [True: 400, False: 12]
  ------------------
  313|    400|        interp->types.builtins.num_initialized++;
  314|    400|    }
  315|     12|    else {
  316|     12|        interp->types.for_extensions.num_initialized++;
  317|     12|    }
  318|    412|}
typeobject.c:managed_static_type_index_set:
  189|    412|{
  190|    412|    assert(index < _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES);
  ------------------
  |  Branch (190:5): [True: 412, False: 0]
  ------------------
  191|       |    /* We store a 1-based index so 0 can mean "not initialized". */
  192|    412|    self->tp_subclasses = (PyObject *)(index + 1);
  193|    412|}
typeobject.c:vectorcall_method:
 3152|    245|{
 3153|    245|    assert(nargs >= 1);
  ------------------
  |  Branch (3153:5): [True: 245, False: 0]
  ------------------
 3154|       |
 3155|    245|    PyThreadState *tstate = _PyThreadState_GET();
 3156|    245|    PyObject *retval = NULL;
 3157|    245|    PyObject *self = args[0];
 3158|    245|    _PyCStackRef cref;
 3159|    245|    _PyThreadState_PushCStackRef(tstate, &cref);
 3160|    245|    int unbound = lookup_method(self, name, &cref.ref);
 3161|    245|    if (unbound >= 0) {
  ------------------
  |  Branch (3161:9): [True: 245, False: 0]
  ------------------
 3162|    245|        PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3163|    245|        retval = vectorcall_unbound(tstate, unbound, func, args, nargs);
 3164|    245|    }
 3165|    245|    _PyThreadState_PopCStackRef(tstate, &cref);
 3166|    245|    return retval;
 3167|    245|}
typeobject.c:init_slotname_table:
11862|      2|{
11863|      2|#ifndef NDEBUG
11864|      2|    slotname_table_initialized = true;
11865|      2|#endif
11866|      2|    memset(slotname_table, 0, sizeof(slotname_table));
11867|    190|    for (size_t idx = 0; slotdefs[idx].name != NULL; idx++) {
  ------------------
  |  Branch (11867:26): [True: 188, False: 2]
  ------------------
11868|    188|        PyObject *name = slotdefs[idx].name_strobj;
11869|       |        /* Computes and caches the hash of name_strobj if not done yet. */
11870|    188|        Py_hash_t hash = _PyObject_HashDictKey(name);
11871|    188|        size_t i = slotname_probe(name, hash);
11872|    188|        if (slotname_table[i] == 0) {
  ------------------
  |  Branch (11872:13): [True: 162, False: 26]
  ------------------
11873|    162|            slotname_table[i] = (uint16_t)(idx + 1);
11874|    162|        }
11875|    188|    }
11876|       |    /* Keep the load factor low so probe sequences stay short. */
11877|       |    Py_BUILD_ASSERT(4 * Py_ARRAY_LENGTH(slotdefs) <= SLOTNAME_TABLE_SIZE);
  ------------------
  |  |  199|      2|        do { \
  |  |  200|      2|            static_assert((cond), #cond); \
  |  |  201|      2|        } while (0)
  |  |  ------------------
  |  |  |  Branch (201:18): [Folded, False: 2]
  |  |  ------------------
  ------------------
11878|      2|}
typeobject.c:slotname_probe:
11846|  17.4k|{
11847|  17.4k|    size_t i = (size_t)hash & (SLOTNAME_TABLE_SIZE - 1);
  ------------------
  |  |11838|  17.4k|#define SLOTNAME_TABLE_SIZE 512
  ------------------
11848|  18.6k|    while (slotname_table[i] != 0) {
  ------------------
  |  Branch (11848:12): [True: 9.37k, False: 9.30k]
  ------------------
11849|  9.37k|        PyObject *name = slotdefs[slotname_table[i] - 1].name_strobj;
11850|  9.37k|        if (name == key
  ------------------
  |  Branch (11850:13): [True: 8.13k, False: 1.24k]
  ------------------
11851|  1.24k|            || (PyUnstable_Unicode_GET_CACHED_HASH(name) == hash
  ------------------
  |  Branch (11851:17): [True: 0, False: 1.24k]
  ------------------
11852|  8.13k|                && _PyUnicode_Equal(name, key))) {
  ------------------
  |  Branch (11852:20): [True: 0, False: 0]
  ------------------
11853|  8.13k|            break;
11854|  8.13k|        }
11855|  1.24k|        i = (i + 1) & (SLOTNAME_TABLE_SIZE - 1);
  ------------------
  |  |11838|  1.24k|#define SLOTNAME_TABLE_SIZE 512
  ------------------
11856|  1.24k|    }
11857|  17.4k|    return i;
11858|  17.4k|}
typeobject.c:check_num_args:
 9859|     36|{
 9860|     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 (9860:9): [True: 0, False: 36]
  ------------------
 9861|      0|        PyErr_SetString(PyExc_SystemError,
 9862|      0|            "PyArg_UnpackTuple() argument list is not a tuple");
 9863|      0|        return 0;
 9864|      0|    }
 9865|     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 (9865:9): [True: 36, False: 0]
  ------------------
 9866|     36|        return 1;
 9867|      0|    PyErr_Format(
 9868|      0|        PyExc_TypeError,
 9869|      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 (9869:47): [True: 0, False: 0]
  ------------------
 9870|      0|    return 0;
 9871|     36|}
typeobject.c:slot_tp_setattro:
11089|     94|{
11090|     94|    PyObject *stack[3];
11091|     94|    PyObject *res;
11092|       |
11093|     94|    stack[0] = self;
11094|     94|    stack[1] = name;
11095|     94|    if (value == NULL) {
  ------------------
  |  Branch (11095:9): [True: 36, False: 58]
  ------------------
11096|     36|        res = vectorcall_method(&_Py_ID(__delattr__), stack, 2);
  ------------------
  |  |  951|     36|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     36|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     36|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11097|     36|    }
11098|     58|    else {
11099|     58|        stack[2] = value;
11100|     58|        res = vectorcall_method(&_Py_ID(__setattr__), stack, 3);
  ------------------
  |  |  951|     58|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     58|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     58|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11101|     58|    }
11102|     94|    if (res == NULL)
  ------------------
  |  Branch (11102:9): [True: 0, False: 94]
  ------------------
11103|      0|        return -1;
11104|     94|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11105|     94|    return 0;
11106|     94|}
typeobject.c:wrap_setattr:
10231|     58|{
10232|     58|    setattrofunc func = (setattrofunc)wrapped;
10233|     58|    int res;
10234|     58|    PyObject *name, *value;
10235|       |
10236|     58|    if (!PyArg_UnpackTuple(args, "__setattr__", 2, 2, &name, &value))
  ------------------
  |  Branch (10236:9): [True: 0, False: 58]
  ------------------
10237|      0|        return NULL;
10238|     58|    if (!hackcheck(self, func, "__setattr__"))
  ------------------
  |  Branch (10238:9): [True: 0, False: 58]
  ------------------
10239|      0|        return NULL;
10240|     58|    res = (*func)(self, name, value);
10241|     58|    if (res < 0)
  ------------------
  |  Branch (10241:9): [True: 0, False: 58]
  ------------------
10242|      0|        return NULL;
10243|     58|    Py_RETURN_NONE;
  ------------------
  |  |  628|     58|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     58|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10244|     58|}
typeobject.c:hackcheck:
10217|     94|{
10218|     94|    if (!PyType_Check(self)) {
  ------------------
  |  |  766|     94|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10218:9): [True: 0, False: 94]
  ------------------
10219|      0|        return 1;
10220|      0|    }
10221|       |
10222|     94|    int res;
10223|     94|    BEGIN_TYPE_LOCK();
10224|     94|    res = hackcheck_unlocked(self, func, what);
10225|     94|    END_TYPE_LOCK();
10226|     94|    return res;
10227|     94|}
typeobject.c:hackcheck_unlocked:
10169|     94|{
10170|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10171|       |
10172|     94|    ASSERT_TYPE_LOCK_HELD();
10173|       |
10174|     94|    PyObject *mro = lookup_tp_mro(type);
10175|     94|    if (!mro) {
  ------------------
  |  Branch (10175:9): [True: 0, False: 94]
  ------------------
10176|       |        /* Probably ok not to check the call in this case. */
10177|      0|        return 1;
10178|      0|    }
10179|     94|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (10179:5): [True: 94, False: 0]
  ------------------
10180|       |
10181|       |    /* Find the (base) type that defined the type's slot function. */
10182|     94|    PyTypeObject *defining_type = type;
10183|     94|    Py_ssize_t i;
10184|    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 (10184:41): [True: 282, False: 94]
  ------------------
10185|    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 (10185:30): [True: 282, False: 0]
  |  Branch (10185:30): [True: 282, False: 0]
  ------------------
10186|    282|        if (base->tp_setattro == slot_tp_setattro) {
  ------------------
  |  Branch (10186:13): [True: 94, False: 188]
  ------------------
10187|       |            /* Ignore Python classes:
10188|       |               they never define their own C-level setattro. */
10189|     94|        }
10190|    188|        else if (base->tp_setattro == type->tp_setattro) {
  ------------------
  |  Branch (10190:18): [True: 0, False: 188]
  ------------------
10191|      0|            defining_type = base;
10192|      0|            break;
10193|      0|        }
10194|    564|    }
10195|       |
10196|       |    /* Reject calls that jump over intermediate C-level overrides. */
10197|    188|    for (PyTypeObject *base = defining_type; base; base = base->tp_base) {
  ------------------
  |  Branch (10197:46): [True: 188, False: 0]
  ------------------
10198|    188|        if (base->tp_setattro == func) {
  ------------------
  |  Branch (10198:13): [True: 94, False: 94]
  ------------------
10199|       |            /* 'func' is the right slot function to call. */
10200|     94|            break;
10201|     94|        }
10202|     94|        else if (base->tp_setattro != slot_tp_setattro) {
  ------------------
  |  Branch (10202:18): [True: 0, False: 94]
  ------------------
10203|       |            /* 'base' is not a Python class and overrides 'func'.
10204|       |               Its tp_setattro should be called instead. */
10205|      0|            PyErr_Format(PyExc_TypeError,
10206|      0|                         "can't apply this %s to %s object",
10207|      0|                         what,
10208|      0|                         type->tp_name);
10209|      0|            return 0;
10210|      0|        }
10211|    188|    }
10212|     94|    return 1;
10213|     94|}
typeobject.c:wrap_delattr:
10248|     36|{
10249|     36|    setattrofunc func = (setattrofunc)wrapped;
10250|     36|    int res;
10251|     36|    PyObject *name;
10252|       |
10253|     36|    if (!check_num_args(args, 1))
  ------------------
  |  Branch (10253:9): [True: 0, False: 36]
  ------------------
10254|      0|        return NULL;
10255|     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 (10255:12): [True: 36, False: 0]
  ------------------
10256|     36|    if (!hackcheck(self, func, "__delattr__"))
  ------------------
  |  Branch (10256:9): [True: 0, False: 36]
  ------------------
10257|      0|        return NULL;
10258|     36|    res = (*func)(self, name, NULL);
10259|     36|    if (res < 0)
  ------------------
  |  Branch (10259:9): [True: 0, False: 36]
  ------------------
10260|      0|        return NULL;
10261|     36|    Py_RETURN_NONE;
  ------------------
  |  |  628|     36|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     36|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10262|     36|}
typeobject.c:slot_tp_iter:
11144|      4|{
11145|      4|    int attr_is_none = 0;
11146|      4|    PyObject *res = maybe_call_special_no_args(self, &_Py_ID(__iter__),
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11147|      4|                                               &attr_is_none);
11148|      4|    if (res != NULL) {
  ------------------
  |  Branch (11148:9): [True: 4, False: 0]
  ------------------
11149|      4|        return res;
11150|      4|    }
11151|      0|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (11151:14): [True: 0, False: 0]
  ------------------
11152|      0|        return NULL;
11153|      0|    }
11154|      0|    else if (attr_is_none || !has_dunder_getitem(self)) {
  ------------------
  |  Branch (11154:14): [True: 0, False: 0]
  |  Branch (11154:30): [True: 0, False: 0]
  ------------------
11155|      0|        PyErr_Format(PyExc_TypeError,
11156|      0|            "'%.200s' object is not iterable",
11157|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11158|      0|        return NULL;
11159|      0|    }
11160|      0|    return PySeqIter_New(self);
11161|      4|}
typeobject.c:slot_tp_descr_get:
11178|      2|{
11179|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11180|      2|    PyThreadState *tstate = _PyThreadState_GET();
11181|      2|    _PyCStackRef cref;
11182|      2|    _PyThreadState_PushCStackRef(tstate, &cref);
11183|      2|    _PyType_LookupStackRefAndVersion(tp, &_Py_ID(__get__), &cref.ref);
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11184|      2|    if (PyStackRef_IsNull(cref.ref)) {
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
11185|      0|        _PyThreadState_PopCStackRef(tstate, &cref);
11186|      0|#ifndef Py_GIL_DISABLED
11187|       |        /* Avoid further slowdowns */
11188|      0|        if (tp->tp_descr_get == slot_tp_descr_get)
  ------------------
  |  Branch (11188:13): [True: 0, False: 0]
  ------------------
11189|      0|            tp->tp_descr_get = NULL;
11190|      0|#endif
11191|      0|        return Py_NewRef(self);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11192|      0|    }
11193|      2|    if (obj == NULL)
  ------------------
  |  Branch (11193:9): [True: 0, False: 2]
  ------------------
11194|      0|        obj = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
11195|      2|    if (type == NULL)
  ------------------
  |  Branch (11195:9): [True: 0, False: 2]
  ------------------
11196|      0|        type = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
11197|      2|    PyObject *get = PyStackRef_AsPyObjectBorrow(cref.ref);
11198|      2|    PyObject *stack[3] = {self, obj, type};
11199|       |    PyObject *res = PyObject_Vectorcall(get, stack, 3, NULL);
11200|      2|    _PyThreadState_PopCStackRef(tstate, &cref);
11201|      2|    return res;
11202|      2|}
typeobject.c:slot_tp_init:
11227|    333|{
11228|    333|    PyObject *res = call_method(self, &_Py_ID(__init__), args, kwds);
  ------------------
  |  |  951|    333|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    333|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    333|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11229|    333|    if (res == NULL)
  ------------------
  |  Branch (11229:9): [True: 11, False: 322]
  ------------------
11230|     11|        return -1;
11231|    322|    if (res != Py_None) {
  ------------------
  |  |  616|    322|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (11231:9): [True: 0, False: 322]
  ------------------
11232|      0|        PyErr_Format(PyExc_TypeError,
11233|      0|                     "__init__() should return None, not '%.200s'",
11234|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11235|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11236|      0|        return -1;
11237|      0|    }
11238|    322|    Py_DECREF(res);
  ------------------
  |  |  430|    322|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    322|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    322|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11239|    322|    return 0;
11240|    322|}
typeobject.c:wrap_init:
10450|    135|{
10451|    135|    initproc func = (initproc)wrapped;
10452|       |
10453|    135|    if (func(self, args, kwds) < 0)
  ------------------
  |  Branch (10453:9): [True: 0, False: 135]
  ------------------
10454|      0|        return NULL;
10455|    135|    Py_RETURN_NONE;
  ------------------
  |  |  628|    135|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    135|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10456|    135|}
typeobject.c:vectorcall_maybe:
 3174|      2|{
 3175|      2|    assert(nargs >= 1);
  ------------------
  |  Branch (3175:5): [True: 2, False: 0]
  ------------------
 3176|       |
 3177|      2|    PyObject *self = args[0];
 3178|      2|    _PyCStackRef cref;
 3179|      2|    _PyThreadState_PushCStackRef(tstate, &cref);
 3180|      2|    int unbound = lookup_maybe_method(self, name, &cref.ref);
 3181|      2|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3182|      2|    if (func == NULL) {
  ------------------
  |  Branch (3182:9): [True: 0, False: 2]
  ------------------
 3183|      0|        _PyThreadState_PopCStackRef(tstate, &cref);
 3184|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (3184:13): [True: 0, False: 0]
  ------------------
 3185|      0|            Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 3186|      0|        }
 3187|      0|        return NULL;
 3188|      0|    }
 3189|      2|    PyObject *retval = vectorcall_unbound(tstate, unbound, func, args, nargs);
 3190|      2|    _PyThreadState_PopCStackRef(tstate, &cref);
 3191|      2|    return retval;
 3192|      2|}
typeobject.c:slot_sq_length:
10667|     27|{
10668|     27|    PyObject* stack[1] = {self};
10669|     27|    PyObject *res = vectorcall_method(&_Py_ID(__len__), stack, 1);
  ------------------
  |  |  951|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10670|     27|    Py_ssize_t len;
10671|       |
10672|     27|    if (res == NULL)
  ------------------
  |  Branch (10672:9): [True: 0, False: 27]
  ------------------
10673|      0|        return -1;
10674|       |
10675|     27|    Py_SETREF(res, _PyNumber_Index(res));
  ------------------
  |  |  545|     27|    do { \
  |  |  546|     27|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     27|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|     27|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     27|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|     27|        *_tmp_dst_ptr = (src); \
  |  |  549|     27|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|     27|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 27]
  |  |  ------------------
  ------------------
10676|     27|    if (res == NULL)
  ------------------
  |  Branch (10676:9): [True: 0, False: 27]
  ------------------
10677|      0|        return -1;
10678|       |
10679|     27|    assert(PyLong_Check(res));
  ------------------
  |  Branch (10679:5): [True: 27, False: 0]
  ------------------
10680|     27|    if (_PyLong_IsNegative((PyLongObject *)res)) {
  ------------------
  |  Branch (10680:9): [True: 0, False: 27]
  ------------------
10681|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10682|      0|        PyErr_SetString(PyExc_ValueError,
10683|      0|                        "__len__() should return >= 0");
10684|      0|        return -1;
10685|      0|    }
10686|       |
10687|     27|    len = PyNumber_AsSsize_t(res, PyExc_OverflowError);
10688|     27|    assert(len >= 0 || PyErr_ExceptionMatches(PyExc_OverflowError));
  ------------------
  |  Branch (10688:5): [True: 27, False: 0]
  |  Branch (10688:5): [True: 0, False: 0]
  ------------------
10689|     27|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10690|     27|    return len;
10691|     27|}
typeobject.c:slot_mp_subscript:
10580|     15|FUNCNAME(PyObject *self, ARG1TYPE arg1) \
10581|     15|{ \
10582|     15|    PyObject* stack[2] = {self, arg1}; \
10583|     15|    return vectorcall_method(&_Py_ID(DUNDER), stack, 2); \
  ------------------
  |  |  951|     15|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     15|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     15|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10584|     15|}
typeobject.c:slot_mp_ass_subscript:
10765|     91|{
10766|     91|    PyObject *stack[3];
10767|     91|    PyObject *res;
10768|       |
10769|     91|    stack[0] = self;
10770|     91|    stack[1] = key;
10771|     91|    if (value == NULL) {
  ------------------
  |  Branch (10771:9): [True: 0, False: 91]
  ------------------
10772|      0|        res = vectorcall_method(&_Py_ID(__delitem__), stack, 2);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10773|      0|    }
10774|     91|    else {
10775|     91|        stack[2] = value;
10776|     91|        res = vectorcall_method(&_Py_ID(__setitem__), stack, 3);
  ------------------
  |  |  951|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10777|     91|    }
10778|       |
10779|     91|    if (res == NULL)
  ------------------
  |  Branch (10779:9): [True: 0, False: 91]
  ------------------
10780|      0|        return -1;
10781|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10782|     91|    return 0;
10783|     91|}
typeobject.c:wrap_objobjargproc:
10134|     85|{
10135|     85|    objobjargproc func = (objobjargproc)wrapped;
10136|     85|    int res;
10137|     85|    PyObject *key, *value;
10138|       |
10139|     85|    if (!PyArg_UnpackTuple(args, "__setitem__", 2, 2, &key, &value))
  ------------------
  |  Branch (10139:9): [True: 0, False: 85]
  ------------------
10140|      0|        return NULL;
10141|     85|    res = (*func)(self, key, value);
10142|     85|    if (res == -1 && PyErr_Occurred())
  ------------------
  |  Branch (10142:9): [True: 0, False: 85]
  |  Branch (10142:22): [True: 0, False: 0]
  ------------------
10143|      0|        return NULL;
10144|     85|    Py_RETURN_NONE;
  ------------------
  |  |  628|     85|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     85|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10145|     85|}
typeobject.c:slot_sq_item:
10695|     18|{
10696|     18|    PyObject *ival = PyLong_FromSsize_t(i);
10697|     18|    if (ival == NULL) {
  ------------------
  |  Branch (10697:9): [True: 0, False: 18]
  ------------------
10698|      0|        return NULL;
10699|      0|    }
10700|     18|    PyObject *stack[2] = {self, ival};
10701|     18|    PyObject *retval = vectorcall_method(&_Py_ID(__getitem__), stack, 2);
  ------------------
  |  |  951|     18|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     18|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     18|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10702|     18|    Py_DECREF(ival);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10703|     18|    return retval;
10704|     18|}
typeobject.c:slot_sq_contains:
10738|      6|{
10739|      6|    int attr_is_none = 0;
10740|      6|    PyObject *res = maybe_call_special_one_arg(self, &_Py_ID(__contains__), value,
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10741|      6|                                               &attr_is_none);
10742|      6|    if (attr_is_none) {
  ------------------
  |  Branch (10742:9): [True: 0, False: 6]
  ------------------
10743|      0|        PyErr_Format(PyExc_TypeError,
10744|      0|            "'%.200s' object is not a container",
10745|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10746|      0|        return -1;
10747|      0|    }
10748|      6|    else if (res == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (10748:14): [True: 0, False: 6]
  |  Branch (10748:29): [True: 0, False: 0]
  ------------------
10749|      0|        return -1;
10750|      0|    }
10751|      6|    else if (res == NULL) {
  ------------------
  |  Branch (10751:14): [True: 0, False: 6]
  ------------------
10752|      0|        return (int)_PySequence_IterSearch(self, value, PY_ITERSEARCH_CONTAINS);
  ------------------
  |  |   29|      0|#define PY_ITERSEARCH_CONTAINS 3
  ------------------
10753|      0|    }
10754|      6|    int result = PyObject_IsTrue(res);
10755|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10756|      6|    return result;
10757|      6|}
typeobject.c:slotname_lookup:
11884|  17.2k|{
11885|  17.2k|    assert(slotname_table_initialized);
  ------------------
  |  Branch (11885:5): [True: 17.2k, False: 0]
  ------------------
11886|  17.2k|    assert(hash != -1);
  ------------------
  |  Branch (11886:5): [True: 17.2k, False: 0]
  ------------------
11887|  17.2k|    size_t i = slotname_probe(key, hash);
11888|  17.2k|    return slotname_table[i] ? slotname_table[i] - 1 : -1;
  ------------------
  |  Branch (11888:12): [True: 8.10k, False: 9.14k]
  ------------------
11889|  17.2k|}
typeobject.c:type_get_mro:
 1710|     79|{
 1711|     79|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     79|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1712|     79|    PyObject *mro = lookup_tp_mro(type);
 1713|     79|    if (mro == NULL) {
  ------------------
  |  Branch (1713:9): [True: 0, False: 79]
  ------------------
 1714|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1715|      0|    }
 1716|     79|    return Py_NewRef(mro);
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1717|     79|}
typeobject.c:check_immutable_bases:
 5189|    100|{
 5190|    100|    Py_ssize_t i = 0;
 5191|    100|    if (skip_first) {
  ------------------
  |  Branch (5191:9): [True: 0, False: 100]
  ------------------
 5192|       |        // When testing the MRO, skip the type itself
 5193|      0|        i = 1;
 5194|      0|    }
 5195|    200|    for (; i<PyTuple_GET_SIZE(bases); i++) {
  ------------------
  |  |   27|    200|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    200|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5195:12): [True: 100, False: 100]
  ------------------
 5196|    100|        PyTypeObject *b = (PyTypeObject*)PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|    100|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    100|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5196:42): [True: 100, False: 0]
  ------------------
 5197|    100|        if (!b) {
  ------------------
  |  Branch (5197:13): [True: 0, False: 100]
  ------------------
 5198|      0|            return -1;
 5199|      0|        }
 5200|    100|        if (!_PyType_HasFeature(b, Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|    100|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (5200:13): [True: 0, False: 100]
  ------------------
 5201|      0|            PyErr_Format(
 5202|      0|                PyExc_TypeError,
 5203|      0|                "Creating immutable type %s from mutable base %N",
 5204|      0|                type_name, b
 5205|      0|            );
 5206|      0|            return -1;
 5207|      0|        }
 5208|    100|    }
 5209|    100|    return 0;
 5210|    100|}
typeobject.c:supercheck:
12840|    993|{
12841|       |    /* Check that a super() call makes sense.  Return a type object.
12842|       |
12843|       |       obj can be a class, or an instance of one:
12844|       |
12845|       |       - If it is a class, it must be a subclass of 'type'.      This case is
12846|       |         used for class methods; the return value is obj.
12847|       |
12848|       |       - If it is an instance, it must be an instance of 'type'.  This is
12849|       |         the normal case; the return value is obj.__class__.
12850|       |
12851|       |       But... when obj is an instance, we want to allow for the case where
12852|       |       Py_TYPE(obj) is not a subclass of type, but obj.__class__ is!
12853|       |       This will allow using super() with a proxy for obj.
12854|       |    */
12855|       |
12856|       |    /* Check for first bullet above (special case) */
12857|    993|    if (PyType_Check(obj) && PyType_IsSubtype((PyTypeObject *)obj, type)) {
  ------------------
  |  |  766|  1.98k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    993|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    993|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 789, False: 204]
  |  |  ------------------
  ------------------
  |  Branch (12857:30): [True: 695, False: 94]
  ------------------
12858|    695|        return (PyTypeObject *)Py_NewRef(obj);
  ------------------
  |  |  647|    695|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    695|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    695|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12859|    695|    }
12860|       |
12861|       |    /* Normal case */
12862|    298|    if (PyType_IsSubtype(Py_TYPE(obj), type)) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12862:9): [True: 298, False: 0]
  ------------------
12863|    298|        return (PyTypeObject*)Py_NewRef(Py_TYPE(obj));
  ------------------
  |  |  647|    298|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    298|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    298|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12864|    298|    }
12865|      0|    else {
12866|       |        /* Try the slow way */
12867|      0|        PyObject *class_attr;
12868|       |
12869|      0|        if (PyObject_GetOptionalAttr(obj, &_Py_ID(__class__), &class_attr) < 0) {
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12869:13): [True: 0, False: 0]
  ------------------
12870|      0|            return NULL;
12871|      0|        }
12872|      0|        if (class_attr != NULL &&
  ------------------
  |  Branch (12872:13): [True: 0, False: 0]
  ------------------
12873|      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]
  |  |  ------------------
  ------------------
12874|      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 (12874:13): [True: 0, False: 0]
  ------------------
12875|      0|        {
12876|      0|            int ok = PyType_IsSubtype(
12877|      0|                (PyTypeObject *)class_attr, type);
12878|      0|            if (ok) {
  ------------------
  |  Branch (12878:17): [True: 0, False: 0]
  ------------------
12879|      0|                return (PyTypeObject *)class_attr;
12880|      0|            }
12881|      0|        }
12882|      0|        Py_XDECREF(class_attr);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12883|      0|    }
12884|       |
12885|      0|    const char *type_or_instance, *obj_str;
12886|       |
12887|      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]
  |  |  ------------------
  ------------------
12888|      0|        type_or_instance = "type";
12889|      0|        obj_str = ((PyTypeObject*)obj)->tp_name;
12890|      0|    }
12891|      0|    else {
12892|      0|        type_or_instance = "instance of";
12893|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12894|      0|    }
12895|       |
12896|      0|    PyErr_Format(PyExc_TypeError,
12897|      0|                "super(type, obj): obj (%s %.200s) is not "
12898|      0|                "an instance or subtype of type (%.200s).",
12899|      0|                type_or_instance, obj_str, type->tp_name);
12900|       |
12901|       |    return NULL;
12902|    298|}
typeobject.c:do_super_lookup:
12775|    993|{
12776|    993|    PyObject *res;
12777|    993|    int temp_su = 0;
12778|       |
12779|    993|    if (su_obj_type == NULL) {
  ------------------
  |  Branch (12779:9): [True: 0, False: 993]
  ------------------
12780|      0|        goto skip;
12781|      0|    }
12782|       |
12783|    993|    res = _PySuper_LookupDescr(su_type, su_obj_type, name);
12784|    993|    if (res != NULL) {
  ------------------
  |  Branch (12784:9): [True: 993, False: 0]
  ------------------
12785|    993|        if (method && _PyType_HasFeature(Py_TYPE(res), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|    200|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    200|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (method && _PyType_HasFeature(Py_TYPE(res), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|    200|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (12785:13): [True: 200, False: 793]
  |  Branch (12785:23): [True: 200, False: 0]
  ------------------
12786|    200|            *method = 1;
12787|    200|        }
12788|    793|        else {
12789|    793|            descrgetfunc f = Py_TYPE(res)->tp_descr_get;
  ------------------
  |  |  213|    793|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    793|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    793|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12790|    793|            if (f != NULL) {
  ------------------
  |  Branch (12790:17): [True: 475, False: 318]
  ------------------
12791|    475|                PyObject *res2;
12792|    475|                res2 = f(res,
12793|       |                    /* Only pass 'obj' param if this is instance-mode super
12794|       |                    (See SF ID #743627)  */
12795|    475|                    (su_obj == (PyObject *)su_obj_type) ? NULL : su_obj,
  ------------------
  |  Branch (12795:21): [True: 377, False: 98]
  ------------------
12796|    475|                    (PyObject *)su_obj_type);
12797|    475|                Py_SETREF(res, res2);
  ------------------
  |  |  545|    475|    do { \
  |  |  546|    475|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    475|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|    475|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    475|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|    475|        *_tmp_dst_ptr = (src); \
  |  |  549|    475|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|    475|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    475|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    475|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|    475|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 475]
  |  |  ------------------
  ------------------
12798|    475|            }
12799|    793|        }
12800|       |
12801|    993|        return res;
12802|    993|    }
12803|      0|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (12803:14): [True: 0, False: 0]
  ------------------
12804|      0|        return NULL;
12805|      0|    }
12806|       |
12807|      0|  skip:
12808|      0|    if (su == NULL) {
  ------------------
  |  Branch (12808:9): [True: 0, False: 0]
  ------------------
12809|      0|        PyObject *args[] = {(PyObject *)su_type, su_obj};
12810|      0|        su = (superobject *)PyObject_Vectorcall((PyObject *)&PySuper_Type, args, 2, NULL);
12811|      0|        if (su == NULL) {
  ------------------
  |  Branch (12811:13): [True: 0, False: 0]
  ------------------
12812|      0|            return NULL;
12813|      0|        }
12814|      0|        temp_su = 1;
12815|      0|    }
12816|      0|    res = PyObject_GenericGetAttr((PyObject *)su, name);
12817|      0|    if (temp_su) {
  ------------------
  |  Branch (12817:9): [True: 0, False: 0]
  ------------------
12818|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12819|      0|    }
12820|      0|    return res;
12821|      0|}
typeobject.c:super_dealloc:
12693|    390|{
12694|    390|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12679|    390|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
12695|       |
12696|    390|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|    390|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    390|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    390|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12697|    390|    Py_XDECREF(su->obj);
  ------------------
  |  |  621|    390|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    390|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    390|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12698|    390|    Py_XDECREF(su->type);
  ------------------
  |  |  621|    390|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    390|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    390|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12699|    390|    Py_XDECREF(su->obj_type);
  ------------------
  |  |  621|    390|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    390|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    390|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12700|    390|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|    390|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    390|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    390|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12701|    390|}
typeobject.c:super_getattro:
12825|    390|{
12826|    390|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12679|    390|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
12827|       |
12828|       |    /* We want __class__ to return the class of the super object
12829|       |       (i.e. super, or a subclass), not the class of su->obj. */
12830|    390|    if (PyUnicode_Check(name) &&
  ------------------
  |  |  103|    390|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    780|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 390, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12831|    390|        PyUnicode_GET_LENGTH(name) == 9 &&
  ------------------
  |  |  300|    390|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    390|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    390|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12831:9): [True: 0, False: 390]
  ------------------
12832|      0|        _PyUnicode_Equal(name, &_Py_ID(__class__)))
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12832:9): [True: 0, False: 0]
  ------------------
12833|      0|        return PyObject_GenericGetAttr(self, name);
12834|       |
12835|    390|    return do_super_lookup(su, su->type, su->obj, su->obj_type, name, NULL);
12836|    390|}
typeobject.c:super_init_impl:
13050|    390|super_init_impl(PyObject *self, PyTypeObject *type, PyObject *obj) {
13051|    390|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12679|    390|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
13052|    390|    PyTypeObject *obj_type = NULL;
13053|    390|    if (type == NULL) {
  ------------------
  |  Branch (13053:9): [True: 14, False: 376]
  ------------------
13054|       |        /* Call super(), without args -- fill in from __class__
13055|       |           and first local variable on the stack. */
13056|     14|        PyThreadState *tstate = _PyThreadState_GET();
13057|     14|        _PyInterpreterFrame *frame = _PyThreadState_GetFrame(tstate);
13058|     14|        if (frame == NULL) {
  ------------------
  |  Branch (13058:13): [True: 0, False: 14]
  ------------------
13059|      0|            PyErr_SetString(PyExc_RuntimeError,
13060|      0|                            "super(): no current frame");
13061|      0|            return -1;
13062|      0|        }
13063|     14|        int res = super_init_without_args(frame, &type, &obj);
13064|       |
13065|     14|        if (res < 0) {
  ------------------
  |  Branch (13065:13): [True: 0, False: 14]
  ------------------
13066|      0|            return -1;
13067|      0|        }
13068|     14|    }
13069|    376|    else {
13070|    376|        Py_INCREF(type);
  ------------------
  |  |  310|    376|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    376|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    376|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13071|    376|        Py_XINCREF(obj);
  ------------------
  |  |  611|    376|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    376|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    376|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13072|    376|    }
13073|       |
13074|    390|    if (obj == Py_None) {
  ------------------
  |  |  616|    390|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (13074:9): [True: 0, False: 390]
  ------------------
13075|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13076|      0|        obj = NULL;
13077|      0|    }
13078|    390|    if (obj != NULL) {
  ------------------
  |  Branch (13078:9): [True: 390, False: 0]
  ------------------
13079|    390|        obj_type = supercheck(type, obj);
13080|    390|        if (obj_type == NULL) {
  ------------------
  |  Branch (13080:13): [True: 0, False: 390]
  ------------------
13081|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13082|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13083|      0|            return -1;
13084|      0|        }
13085|    390|    }
13086|    390|    Py_XSETREF(su->type, (PyTypeObject*)type);
  ------------------
  |  |  576|    390|    do { \
  |  |  577|    390|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    390|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    390|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    390|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    390|        *_tmp_dst_ptr = (src); \
  |  |  580|    390|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    390|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    390|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    390|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    390|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 390]
  |  |  ------------------
  ------------------
13087|    390|    Py_XSETREF(su->obj, obj);
  ------------------
  |  |  576|    390|    do { \
  |  |  577|    390|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    390|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    390|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    390|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    390|        *_tmp_dst_ptr = (src); \
  |  |  580|    390|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    390|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    390|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    390|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    390|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 390]
  |  |  ------------------
  ------------------
13088|    390|    Py_XSETREF(su->obj_type, obj_type);
  ------------------
  |  |  576|    390|    do { \
  |  |  577|    390|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    390|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    390|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    390|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    390|        *_tmp_dst_ptr = (src); \
  |  |  580|    390|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    390|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    390|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    390|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    390|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 390]
  |  |  ------------------
  ------------------
13089|    390|    return 0;
13090|    390|}
typeobject.c:super_init_without_args:
12952|     14|{
12953|     14|    PyCodeObject *co = _PyFrame_GetCode(cframe);
12954|     14|    if (co->co_argcount == 0) {
  ------------------
  |  Branch (12954:9): [True: 0, False: 14]
  ------------------
12955|      0|        PyErr_SetString(PyExc_RuntimeError,
12956|      0|                        "super(): no arguments");
12957|      0|        return -1;
12958|      0|    }
12959|       |
12960|     14|    assert(_PyFrame_GetCode(cframe)->co_nlocalsplus > 0);
  ------------------
  |  Branch (12960:5): [True: 14, False: 0]
  ------------------
12961|     14|    PyObject *firstarg = PyStackRef_AsPyObjectBorrow(_PyFrame_GetLocalsArray(cframe)[0]);
12962|     14|    if (firstarg == NULL) {
  ------------------
  |  Branch (12962:9): [True: 0, False: 14]
  ------------------
12963|      0|        PyErr_SetString(PyExc_RuntimeError, "super(): arg[0] deleted");
12964|      0|        return -1;
12965|      0|    }
12966|       |    // The first argument might be a cell.
12967|       |    // "firstarg" is a cell here unless (very unlikely) super()
12968|       |    // was called from the C-API before the first MAKE_CELL op.
12969|     14|    if ((_PyLocals_GetKind(co->co_localspluskinds, 0) & CO_FAST_CELL) &&
  ------------------
  |  |  198|     14|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (12969:9): [True: 0, False: 14]
  ------------------
12970|      0|            (_PyInterpreterFrame_LASTI(cframe) >= 0)) {
  ------------------
  |  |   19|      0|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  ------------------
  |  Branch (12970:13): [True: 0, False: 0]
  ------------------
12971|       |        // MAKE_CELL and COPY_FREE_VARS have no quickened forms, so no need
12972|       |        // to use _PyOpcode_Deopt here:
12973|      0|        assert(_PyCode_CODE(co)[0].op.code == MAKE_CELL ||
  ------------------
  |  Branch (12973:9): [True: 0, False: 0]
  |  Branch (12973:9): [True: 0, False: 0]
  ------------------
12974|      0|                _PyCode_CODE(co)[0].op.code == COPY_FREE_VARS);
12975|      0|        assert(PyCell_Check(firstarg));
  ------------------
  |  Branch (12975:9): [True: 0, False: 0]
  ------------------
12976|      0|        firstarg = PyCell_GetRef((PyCellObject *)firstarg);
12977|      0|        if (firstarg == NULL) {
  ------------------
  |  Branch (12977:13): [True: 0, False: 0]
  ------------------
12978|      0|            PyErr_SetString(PyExc_RuntimeError, "super(): arg[0] deleted");
12979|      0|            return -1;
12980|      0|        }
12981|      0|    }
12982|     14|    else {
12983|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12984|     14|    }
12985|       |
12986|       |    // Look for __class__ in the free vars.
12987|     14|    PyTypeObject *type = NULL;
12988|     14|    int i = PyUnstable_Code_GetFirstFree(co);
12989|     14|    for (; i < co->co_nlocalsplus; i++) {
  ------------------
  |  Branch (12989:12): [True: 14, False: 0]
  ------------------
12990|     14|        assert((_PyLocals_GetKind(co->co_localspluskinds, i) & CO_FAST_FREE) != 0);
  ------------------
  |  Branch (12990:9): [True: 14, False: 0]
  ------------------
12991|     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 (12991:26): [True: 14, False: 0]
  ------------------
12992|     14|        assert(PyUnicode_Check(name));
  ------------------
  |  Branch (12992:9): [True: 14, False: 0]
  ------------------
12993|     14|        if (_PyUnicode_Equal(name, &_Py_ID(__class__))) {
  ------------------
  |  |  951|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12993:13): [True: 14, False: 0]
  ------------------
12994|     14|            PyObject *cell = PyStackRef_AsPyObjectBorrow(_PyFrame_GetLocalsArray(cframe)[i]);
12995|     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 (12995:17): [True: 0, False: 14]
  |  Branch (12995:33): [True: 0, False: 14]
  ------------------
12996|      0|                PyErr_SetString(PyExc_RuntimeError,
12997|      0|                  "super(): bad __class__ cell");
12998|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12999|      0|                return -1;
13000|      0|            }
13001|     14|            type = (PyTypeObject *) PyCell_GetRef((PyCellObject *)cell);
13002|     14|            if (type == NULL) {
  ------------------
  |  Branch (13002:17): [True: 0, False: 14]
  ------------------
13003|      0|                PyErr_SetString(PyExc_RuntimeError,
13004|      0|                  "super(): empty __class__ cell");
13005|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13006|      0|                return -1;
13007|      0|            }
13008|     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 (13008:17): [True: 0, False: 14]
  ------------------
13009|      0|                PyErr_Format(PyExc_RuntimeError,
13010|      0|                  "super(): __class__ is not a type (%s)",
13011|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13012|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13013|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13014|      0|                return -1;
13015|      0|            }
13016|     14|            break;
13017|     14|        }
13018|     14|    }
13019|     14|    if (type == NULL) {
  ------------------
  |  Branch (13019:9): [True: 0, False: 14]
  ------------------
13020|      0|        PyErr_SetString(PyExc_RuntimeError,
13021|      0|                        "super(): __class__ cell not found");
13022|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13023|      0|        return -1;
13024|      0|    }
13025|       |
13026|     14|    *type_p = type;
13027|     14|    *obj_p = firstarg;
13028|     14|    return 0;
13029|     14|}
typeobject.c:super_vectorcall:
13123|    390|{
13124|    390|    assert(PyType_Check(self));
  ------------------
  |  Branch (13124:5): [True: 390, False: 0]
  ------------------
13125|    390|    if (!_PyArg_NoKwnames("super", kwnames)) {
  ------------------
  |  |   16|    390|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 390, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
13126|      0|        return NULL;
13127|      0|    }
13128|    390|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    390|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
13129|    390|    if (!_PyArg_CheckPositional("super()", nargs, 0, 2)) {
  ------------------
  |  |   38|    390|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 390, False: 0]
  |  |  |  Branch (38:27): [True: 390, False: 0]
  |  |  ------------------
  |  |   39|    390|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
13130|      0|        return NULL;
13131|      0|    }
13132|    390|    PyTypeObject *type = NULL;
13133|    390|    PyObject *obj = NULL;
13134|    390|    PyTypeObject *self_type = (PyTypeObject *)self;
13135|    390|    PyObject *su = self_type->tp_alloc(self_type, 0);
13136|    390|    if (su == NULL) {
  ------------------
  |  Branch (13136:9): [True: 0, False: 390]
  ------------------
13137|      0|        return NULL;
13138|      0|    }
13139|       |    // 1 or 2 argument form super().
13140|    390|    if (nargs != 0) {
  ------------------
  |  Branch (13140:9): [True: 376, False: 14]
  ------------------
13141|    376|        PyObject *arg0 = args[0];
13142|    376|        if (!PyType_Check(arg0)) {
  ------------------
  |  |  766|    376|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    376|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    376|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13142:13): [True: 0, False: 376]
  ------------------
13143|      0|            PyErr_Format(PyExc_TypeError,
13144|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13145|      0|            goto fail;
13146|      0|        }
13147|    376|        type = (PyTypeObject *)arg0;
13148|    376|    }
13149|    390|    if (nargs == 2) {
  ------------------
  |  Branch (13149:9): [True: 376, False: 14]
  ------------------
13150|    376|        obj = args[1];
13151|    376|    }
13152|    390|    if (super_init_impl(su, type, obj) < 0) {
  ------------------
  |  Branch (13152:9): [True: 0, False: 390]
  ------------------
13153|      0|        goto fail;
13154|      0|    }
13155|    390|    return su;
13156|      0|fail:
13157|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13158|       |    return NULL;
13159|    390|}

_Py_initialize_generic:
 2417|      2|{
 2418|      2|#define MAKE_TYPE(name) \
 2419|      2|    do { \
 2420|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
 2421|      2|        if (name ## _type == NULL) { \
 2422|      2|            return -1; \
 2423|      2|        } \
 2424|      2|        interp->cached_objects.name ## _type = name ## _type; \
 2425|      2|    } while(0)
 2426|       |
 2427|      2|    MAKE_TYPE(generic);
  ------------------
  |  | 2419|      2|    do { \
  |  | 2420|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
  |  | 2421|      2|        if (name ## _type == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2421:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 2422|      0|            return -1; \
  |  | 2423|      0|        } \
  |  | 2424|      2|        interp->cached_objects.name ## _type = name ## _type; \
  |  | 2425|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2425:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2428|      2|    MAKE_TYPE(typevar);
  ------------------
  |  | 2419|      2|    do { \
  |  | 2420|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
  |  | 2421|      2|        if (name ## _type == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2421:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 2422|      0|            return -1; \
  |  | 2423|      0|        } \
  |  | 2424|      2|        interp->cached_objects.name ## _type = name ## _type; \
  |  | 2425|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2425:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2429|      2|    MAKE_TYPE(typevartuple);
  ------------------
  |  | 2419|      2|    do { \
  |  | 2420|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
  |  | 2421|      2|        if (name ## _type == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2421:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 2422|      0|            return -1; \
  |  | 2423|      0|        } \
  |  | 2424|      2|        interp->cached_objects.name ## _type = name ## _type; \
  |  | 2425|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2425:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2430|      2|    MAKE_TYPE(paramspec);
  ------------------
  |  | 2419|      2|    do { \
  |  | 2420|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
  |  | 2421|      2|        if (name ## _type == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2421:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 2422|      0|            return -1; \
  |  | 2423|      0|        } \
  |  | 2424|      2|        interp->cached_objects.name ## _type = name ## _type; \
  |  | 2425|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2425:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2431|      2|    MAKE_TYPE(paramspecargs);
  ------------------
  |  | 2419|      2|    do { \
  |  | 2420|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
  |  | 2421|      2|        if (name ## _type == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2421:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 2422|      0|            return -1; \
  |  | 2423|      0|        } \
  |  | 2424|      2|        interp->cached_objects.name ## _type = name ## _type; \
  |  | 2425|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2425:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2432|      2|    MAKE_TYPE(paramspeckwargs);
  ------------------
  |  | 2419|      2|    do { \
  |  | 2420|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
  |  | 2421|      2|        if (name ## _type == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2421:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 2422|      0|            return -1; \
  |  | 2423|      0|        } \
  |  | 2424|      2|        interp->cached_objects.name ## _type = name ## _type; \
  |  | 2425|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2425:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2433|      2|    MAKE_TYPE(constevaluator);
  ------------------
  |  | 2419|      2|    do { \
  |  | 2420|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
  |  | 2421|      2|        if (name ## _type == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2421:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 2422|      0|            return -1; \
  |  | 2423|      0|        } \
  |  | 2424|      2|        interp->cached_objects.name ## _type = name ## _type; \
  |  | 2425|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2425:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2434|      2|#undef MAKE_TYPE
 2435|      2|    return 0;
 2436|      2|}

PyUnicode_Format:
 1038|     21|{
 1039|     21|    struct unicode_formatter_t ctx;
 1040|       |
 1041|     21|    if (format == NULL || args == NULL) {
  ------------------
  |  Branch (1041:9): [True: 0, False: 21]
  |  Branch (1041:27): [True: 0, False: 21]
  ------------------
 1042|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1043|      0|        return NULL;
 1044|      0|    }
 1045|       |
 1046|     21|    if (ensure_unicode(format) < 0)
  ------------------
  |  |   52|     21|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (1046:9): [True: 0, False: 21]
  ------------------
 1047|      0|        return NULL;
 1048|       |
 1049|     21|    ctx.fmtstr = format;
 1050|     21|    ctx.fmtdata = PyUnicode_DATA(ctx.fmtstr);
  ------------------
  |  |  285|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1051|     21|    ctx.fmtkind = PyUnicode_KIND(ctx.fmtstr);
  ------------------
  |  |  259|     21|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     42|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 21, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1052|     21|    ctx.fmtcnt = PyUnicode_GET_LENGTH(ctx.fmtstr);
  ------------------
  |  |  300|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1053|     21|    ctx.fmtpos = 0;
 1054|       |
 1055|     21|    _PyUnicodeWriter_Init(&ctx.writer);
 1056|     21|    ctx.writer.min_length = ctx.fmtcnt + 100;
 1057|     21|    ctx.writer.overallocate = 1;
 1058|       |
 1059|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1060|      0|        ctx.arglen = PyTuple_Size(args);
 1061|      0|        ctx.argidx = 0;
 1062|      0|    }
 1063|     21|    else {
 1064|     21|        ctx.arglen = -1;
 1065|     21|        ctx.argidx = -2;
 1066|     21|    }
 1067|     21|    ctx.args_owned = 0;
 1068|     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 (1068:9): [True: 21, False: 0]
  |  Branch (1068:34): [True: 21, False: 0]
  |  Branch (1068:58): [True: 0, False: 21]
  ------------------
 1069|      0|        ctx.dict = args;
 1070|     21|    else
 1071|     21|        ctx.dict = NULL;
 1072|     21|    ctx.args = args;
 1073|       |
 1074|     84|    while (--ctx.fmtcnt >= 0) {
  ------------------
  |  Branch (1074:12): [True: 63, False: 21]
  ------------------
 1075|     63|        if (PyUnicode_READ(ctx.fmtkind, ctx.fmtdata, ctx.fmtpos) != '%') {
  ------------------
  |  |  355|     63|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     63|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     63|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     63|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|     63|                   (index))
  ------------------
  |  Branch (1075:13): [True: 42, False: 21]
  ------------------
 1076|     42|            Py_ssize_t nonfmtpos;
 1077|       |
 1078|     42|            nonfmtpos = ctx.fmtpos++;
 1079|    315|            while (ctx.fmtcnt >= 0 &&
  ------------------
  |  Branch (1079:20): [True: 294, False: 21]
  ------------------
 1080|    294|                   PyUnicode_READ(ctx.fmtkind, ctx.fmtdata, ctx.fmtpos) != '%') {
  ------------------
  |  |  355|    294|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    294|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    294|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    294|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|    294|                   (index))
  ------------------
  |  Branch (1080:20): [True: 273, False: 21]
  ------------------
 1081|    273|                ctx.fmtpos++;
 1082|    273|                ctx.fmtcnt--;
 1083|    273|            }
 1084|     42|            if (ctx.fmtcnt < 0) {
  ------------------
  |  Branch (1084:17): [True: 21, False: 21]
  ------------------
 1085|     21|                ctx.fmtpos--;
 1086|     21|                ctx.writer.overallocate = 0;
 1087|     21|            }
 1088|       |
 1089|     42|            if (_PyUnicodeWriter_WriteSubstring(&ctx.writer, ctx.fmtstr,
  ------------------
  |  Branch (1089:17): [True: 0, False: 42]
  ------------------
 1090|     42|                                                nonfmtpos, ctx.fmtpos) < 0)
 1091|      0|                goto onError;
 1092|     42|        }
 1093|     21|        else {
 1094|     21|            ctx.fmtpos++;
 1095|     21|            if (unicode_format_arg(&ctx) == -1)
  ------------------
  |  Branch (1095:17): [True: 0, False: 21]
  ------------------
 1096|      0|                goto onError;
 1097|     21|        }
 1098|     63|    }
 1099|       |
 1100|     21|    if (ctx.argidx < ctx.arglen && !ctx.dict) {
  ------------------
  |  Branch (1100:9): [True: 0, False: 21]
  |  Branch (1100:36): [True: 0, False: 0]
  ------------------
 1101|      0|        PyErr_Format(PyExc_TypeError,
 1102|      0|                     "not all arguments converted during string formatting "
 1103|      0|                     "(required %zd, got %zd)",
 1104|      0|                     ctx.arglen < 0 ? 0 : ctx.argidx,
  ------------------
  |  Branch (1104:22): [True: 0, False: 0]
  ------------------
 1105|      0|                     ctx.arglen < 0 ? 1 : ctx.arglen);
  ------------------
  |  Branch (1105:22): [True: 0, False: 0]
  ------------------
 1106|      0|        goto onError;
 1107|      0|    }
 1108|       |
 1109|     21|    if (ctx.args_owned) {
  ------------------
  |  Branch (1109:9): [True: 0, False: 21]
  ------------------
 1110|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1111|      0|    }
 1112|     21|    return _PyUnicodeWriter_Finish(&ctx.writer);
 1113|       |
 1114|      0|  onError:
 1115|      0|    _PyUnicodeWriter_Dealloc(&ctx.writer);
 1116|      0|    if (ctx.args_owned) {
  ------------------
  |  Branch (1116:9): [True: 0, False: 0]
  ------------------
 1117|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1118|      0|    }
 1119|       |    return NULL;
 1120|     21|}
unicode_format.c:unicode_format_arg:
  982|     21|{
  983|     21|    struct unicode_format_arg_t arg;
  984|     21|    PyObject *str;
  985|     21|    int ret;
  986|       |
  987|     21|    arg.ch = PyUnicode_READ(ctx->fmtkind, ctx->fmtdata, ctx->fmtpos);
  ------------------
  |  |  355|     21|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     21|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     21|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     21|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|     21|                   (index))
  ------------------
  988|     21|    if (arg.ch == '%') {
  ------------------
  |  Branch (988:9): [True: 0, False: 21]
  ------------------
  989|      0|        ctx->fmtpos++;
  990|      0|        ctx->fmtcnt--;
  991|      0|        if (_PyUnicodeWriter_WriteCharInline(&ctx->writer, '%') < 0)
  ------------------
  |  Branch (991:13): [True: 0, False: 0]
  ------------------
  992|      0|            return -1;
  993|      0|        return 0;
  994|      0|    }
  995|     21|    arg.flags = 0;
  996|     21|    arg.width = -1;
  997|     21|    arg.prec = -1;
  998|     21|    arg.sign = 0;
  999|     21|    arg.fmtstart = ctx->fmtpos - 1;
 1000|     21|    arg.key = NULL;
 1001|     21|    str = NULL;
 1002|       |
 1003|     21|    ret = unicode_format_arg_parse(ctx, &arg);
 1004|     21|    if (ret == -1) {
  ------------------
  |  Branch (1004:9): [True: 0, False: 21]
  ------------------
 1005|      0|        goto onError;
 1006|      0|    }
 1007|       |
 1008|     21|    ret = unicode_format_arg_format(ctx, &arg, &str);
 1009|     21|    if (ret == -1) {
  ------------------
  |  Branch (1009:9): [True: 0, False: 21]
  ------------------
 1010|      0|        goto onError;
 1011|      0|    }
 1012|       |
 1013|     21|    if (ret != 1) {
  ------------------
  |  Branch (1013:9): [True: 0, False: 21]
  ------------------
 1014|      0|        ret = unicode_format_arg_output(ctx, &arg, str);
 1015|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1016|      0|        if (ret == -1) {
  ------------------
  |  Branch (1016:13): [True: 0, False: 0]
  ------------------
 1017|      0|            goto onError;
 1018|      0|        }
 1019|      0|    }
 1020|       |
 1021|     21|    if (ctx->dict && (ctx->argidx < ctx->arglen)) {
  ------------------
  |  Branch (1021:9): [True: 0, False: 21]
  |  Branch (1021:22): [True: 0, False: 0]
  ------------------
 1022|       |        // XXX: Never happens?
 1023|      0|        PyErr_SetString(PyExc_TypeError,
 1024|      0|                        "not all arguments converted during string formatting");
 1025|      0|        goto onError;
 1026|      0|    }
 1027|     21|    Py_XDECREF(arg.key);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1028|     21|    return 0;
 1029|       |
 1030|      0|  onError:
 1031|      0|    Py_XDECREF(arg.key);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_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 -1;
 1033|     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)
  |  |  ------------------
  |  |  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  357|      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)
  |  |  ------------------
  |  |  |  |  355|     21|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     21|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|     21|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     21|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  357|     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|            if (arg->width == PY_SSIZE_T_MIN) {
  ------------------
  |  |  146|      0|#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (567:17): [True: 0, False: 0]
  ------------------
  568|      0|                FORMAT_ERROR(PyExc_OverflowError, "too big for width%s", "");
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
  569|      0|                return -1;
  570|      0|            }
  571|      0|            arg->flags |= F_LJUST;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  572|      0|            arg->width = -arg->width;
  573|      0|        }
  574|      0|        if (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (574:13): [True: 0, False: 0]
  ------------------
  575|      0|            arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|      0|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  357|      0|                   (index))
  |  |  ------------------
  ------------------
  576|      0|            ctx->fmtpos++;
  577|      0|        }
  578|      0|        assert(arg->width >= 0);
  ------------------
  |  Branch (578:9): [True: 0, False: 0]
  ------------------
  579|      0|    }
  580|     21|    else if (arg->ch >= '0' && arg->ch <= '9') {
  ------------------
  |  Branch (580:14): [True: 21, False: 0]
  |  Branch (580:32): [True: 0, False: 21]
  ------------------
  581|      0|        arg->width = arg->ch - '0';
  582|      0|        while (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (582:16): [True: 0, False: 0]
  ------------------
  583|      0|            arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|      0|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  357|      0|                   (index))
  |  |  ------------------
  ------------------
  584|      0|            ctx->fmtpos++;
  585|      0|            if (arg->ch < '0' || arg->ch > '9')
  ------------------
  |  Branch (585:17): [True: 0, False: 0]
  |  Branch (585:34): [True: 0, False: 0]
  ------------------
  586|      0|                break;
  587|       |            /* Since arg->ch is unsigned, the RHS would end up as unsigned,
  588|       |               mixing signed and unsigned comparison. Since arg->ch is between
  589|       |               '0' and '9', casting to int is safe. */
  590|      0|            if (arg->width > (PY_SSIZE_T_MAX - ((int)arg->ch - '0')) / 10) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (590:17): [True: 0, False: 0]
  ------------------
  591|      0|                PyErr_Format(PyExc_ValueError,
  592|      0|                             "width too big at position %zd",
  593|      0|                             arg->fmtstart);
  594|      0|                return -1;
  595|      0|            }
  596|      0|            arg->width = arg->width*10 + (arg->ch - '0');
  597|      0|        }
  598|      0|        assert(arg->width >= 0);
  ------------------
  |  Branch (598:9): [True: 0, False: 0]
  ------------------
  599|      0|    }
  600|       |
  601|       |    /* Parse precision. Example: "%.3f" => prec=3 */
  602|     21|    if (arg->ch == '.') {
  ------------------
  |  Branch (602:9): [True: 0, False: 21]
  ------------------
  603|      0|        arg->prec = 0;
  604|      0|        if (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (604:13): [True: 0, False: 0]
  ------------------
  605|      0|            arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|      0|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  357|      0|                   (index))
  |  |  ------------------
  ------------------
  606|      0|            ctx->fmtpos++;
  607|      0|        }
  608|      0|        if (arg->ch == '*') {
  ------------------
  |  Branch (608:13): [True: 0, False: 0]
  ------------------
  609|      0|            if (ctx->arglen < -1) {
  ------------------
  |  Branch (609:17): [True: 0, False: 0]
  ------------------
  610|      0|                PyErr_Format(PyExc_ValueError,
  611|      0|                        "* cannot be used with a parenthesised mapping key "
  612|      0|                        "at position %zd",
  613|      0|                        arg->fmtstart);
  614|      0|                return -1;
  615|      0|            }
  616|      0|            v = unicode_format_getnextarg(ctx, 0);
  617|      0|            if (v == NULL)
  ------------------
  |  Branch (617:17): [True: 0, False: 0]
  ------------------
  618|      0|                return -1;
  619|      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 (619:17): [True: 0, False: 0]
  ------------------
  620|      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]
  |  |  ------------------
  ------------------
  621|      0|                return -1;
  622|      0|            }
  623|      0|            arg->prec = PyLong_AsInt(v);
  624|      0|            if (arg->prec == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (624:17): [True: 0, False: 0]
  |  Branch (624:36): [True: 0, False: 0]
  ------------------
  625|      0|                if (PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (625:21): [True: 0, False: 0]
  ------------------
  626|      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]
  |  |  ------------------
  ------------------
  627|      0|                                 "too big for precision%s", "");
  628|      0|                }
  629|      0|                return -1;
  630|      0|            }
  631|      0|            if (arg->prec < 0)
  ------------------
  |  Branch (631:17): [True: 0, False: 0]
  ------------------
  632|      0|                arg->prec = 0;
  633|      0|            if (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (633:17): [True: 0, False: 0]
  ------------------
  634|      0|                arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|      0|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  357|      0|                   (index))
  |  |  ------------------
  ------------------
  635|      0|                ctx->fmtpos++;
  636|      0|            }
  637|      0|        }
  638|      0|        else if (arg->ch >= '0' && arg->ch <= '9') {
  ------------------
  |  Branch (638:18): [True: 0, False: 0]
  |  Branch (638:36): [True: 0, False: 0]
  ------------------
  639|      0|            arg->prec = arg->ch - '0';
  640|      0|            while (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (640:20): [True: 0, False: 0]
  ------------------
  641|      0|                arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|      0|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  357|      0|                   (index))
  |  |  ------------------
  ------------------
  642|      0|                ctx->fmtpos++;
  643|      0|                if (arg->ch < '0' || arg->ch > '9')
  ------------------
  |  Branch (643:21): [True: 0, False: 0]
  |  Branch (643:38): [True: 0, False: 0]
  ------------------
  644|      0|                    break;
  645|      0|                if (arg->prec > (INT_MAX - ((int)arg->ch - '0')) / 10) {
  ------------------
  |  Branch (645:21): [True: 0, False: 0]
  ------------------
  646|      0|                    PyErr_Format(PyExc_ValueError,
  647|      0|                                 "precision too big at position %zd",
  648|      0|                                 arg->fmtstart);
  649|      0|                    return -1;
  650|      0|                }
  651|      0|                arg->prec = arg->prec*10 + (arg->ch - '0');
  652|      0|            }
  653|      0|        }
  654|      0|        assert(arg->prec >= 0);
  ------------------
  |  Branch (654:9): [True: 0, False: 0]
  ------------------
  655|      0|    }
  656|       |
  657|       |    /* Ignore "h", "l" and "L" format prefix (ex: "%hi" or "%ls") */
  658|     21|    if (ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (658:9): [True: 21, False: 0]
  ------------------
  659|     21|        if (arg->ch == 'h' || arg->ch == 'l' || arg->ch == 'L') {
  ------------------
  |  Branch (659:13): [True: 0, False: 21]
  |  Branch (659:31): [True: 0, False: 21]
  |  Branch (659:49): [True: 0, False: 21]
  ------------------
  660|      0|            if (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (660:17): [True: 0, False: 0]
  ------------------
  661|      0|                arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|      0|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  357|      0|                   (index))
  |  |  ------------------
  ------------------
  662|      0|                ctx->fmtpos++;
  663|      0|            }
  664|      0|        }
  665|     21|    }
  666|     21|    if (ctx->fmtcnt < 0) {
  ------------------
  |  Branch (666:9): [True: 0, False: 21]
  ------------------
  667|      0|        PyErr_Format(PyExc_ValueError,
  668|      0|                     "stray %% at position %zd", arg->fmtstart);
  669|      0|        return -1;
  670|      0|    }
  671|     21|    return 0;
  672|       |
  673|     21|#undef FORMAT_READ
  674|     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:
  695|     21|{
  696|     21|    PyObject *v;
  697|     21|    _PyUnicodeWriter *writer = &ctx->writer;
  698|       |
  699|     21|    if (ctx->fmtcnt == 0)
  ------------------
  |  Branch (699:9): [True: 0, False: 21]
  ------------------
  700|      0|        ctx->writer.overallocate = 0;
  701|       |
  702|     21|    v = unicode_format_getnextarg(ctx, 1);
  703|     21|    if (v == NULL)
  ------------------
  |  Branch (703:9): [True: 0, False: 21]
  ------------------
  704|      0|        return -1;
  705|       |
  706|       |
  707|     21|    switch (arg->ch) {
  708|     21|    case 's':
  ------------------
  |  Branch (708:5): [True: 21, False: 0]
  ------------------
  709|     21|    case 'r':
  ------------------
  |  Branch (709:5): [True: 0, False: 21]
  ------------------
  710|     21|    case 'a':
  ------------------
  |  Branch (710:5): [True: 0, False: 21]
  ------------------
  711|     21|        if (arg->width < 0 && arg->prec < 0) {
  ------------------
  |  Branch (711:13): [True: 21, False: 0]
  |  Branch (711:31): [True: 21, False: 0]
  ------------------
  712|     21|            if (arg->ch == 's') {
  ------------------
  |  Branch (712:17): [True: 21, False: 0]
  ------------------
  713|     21|                if (PyUnicodeWriter_WriteStr((PyUnicodeWriter*)writer, v) < 0) {
  ------------------
  |  Branch (713:21): [True: 0, False: 21]
  ------------------
  714|      0|                    return -1;
  715|      0|                }
  716|     21|                return 1;
  717|     21|            }
  718|      0|            else if (arg->ch == 'r') {
  ------------------
  |  Branch (718:22): [True: 0, False: 0]
  ------------------
  719|      0|                if (PyUnicodeWriter_WriteRepr((PyUnicodeWriter*)writer, v) < 0) {
  ------------------
  |  Branch (719:21): [True: 0, False: 0]
  ------------------
  720|      0|                    return -1;
  721|      0|                }
  722|      0|                return 1;
  723|      0|            }
  724|     21|        }
  725|       |
  726|      0|        if (arg->ch == 's')
  ------------------
  |  Branch (726:13): [True: 0, False: 0]
  ------------------
  727|      0|            *p_str = PyObject_Str(v);
  728|      0|        else if (arg->ch == 'r')
  ------------------
  |  Branch (728:18): [True: 0, False: 0]
  ------------------
  729|      0|            *p_str = PyObject_Repr(v);
  730|      0|        else
  731|      0|            *p_str = PyObject_ASCII(v);
  732|      0|        break;
  733|       |
  734|      0|    case 'i':
  ------------------
  |  Branch (734:5): [True: 0, False: 21]
  ------------------
  735|      0|    case 'd':
  ------------------
  |  Branch (735:5): [True: 0, False: 21]
  ------------------
  736|      0|    case 'u':
  ------------------
  |  Branch (736:5): [True: 0, False: 21]
  ------------------
  737|      0|    case 'o':
  ------------------
  |  Branch (737:5): [True: 0, False: 21]
  ------------------
  738|      0|    case 'x':
  ------------------
  |  Branch (738:5): [True: 0, False: 21]
  ------------------
  739|      0|    case 'X':
  ------------------
  |  Branch (739:5): [True: 0, False: 21]
  ------------------
  740|      0|    {
  741|      0|        int ret = mainformatlong(v, ctx, arg, p_str, writer);
  742|      0|        if (ret != 0)
  ------------------
  |  Branch (742:13): [True: 0, False: 0]
  ------------------
  743|      0|            return ret;
  744|      0|        arg->sign = 1;
  745|      0|        break;
  746|      0|    }
  747|       |
  748|      0|    case 'e':
  ------------------
  |  Branch (748:5): [True: 0, False: 21]
  ------------------
  749|      0|    case 'E':
  ------------------
  |  Branch (749:5): [True: 0, False: 21]
  ------------------
  750|      0|    case 'f':
  ------------------
  |  Branch (750:5): [True: 0, False: 21]
  ------------------
  751|      0|    case 'F':
  ------------------
  |  Branch (751:5): [True: 0, False: 21]
  ------------------
  752|      0|    case 'g':
  ------------------
  |  Branch (752:5): [True: 0, False: 21]
  ------------------
  753|      0|    case 'G':
  ------------------
  |  Branch (753:5): [True: 0, False: 21]
  ------------------
  754|      0|        if (arg->width == -1 && arg->prec == -1
  ------------------
  |  Branch (754:13): [True: 0, False: 0]
  |  Branch (754:33): [True: 0, False: 0]
  ------------------
  755|      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 (755:16): [True: 0, False: 0]
  ------------------
  756|      0|        {
  757|       |            /* Fast path */
  758|      0|            if (formatfloat(v, ctx, arg, NULL, writer) == -1)
  ------------------
  |  Branch (758:17): [True: 0, False: 0]
  ------------------
  759|      0|                return -1;
  760|      0|            return 1;
  761|      0|        }
  762|       |
  763|      0|        arg->sign = 1;
  764|      0|        if (formatfloat(v, ctx, arg, p_str, NULL) == -1)
  ------------------
  |  Branch (764:13): [True: 0, False: 0]
  ------------------
  765|      0|            return -1;
  766|      0|        break;
  767|       |
  768|      0|    case 'c':
  ------------------
  |  Branch (768:5): [True: 0, False: 21]
  ------------------
  769|      0|    {
  770|      0|        Py_UCS4 ch = formatchar(v, ctx, arg);
  771|      0|        if (ch == (Py_UCS4) -1)
  ------------------
  |  Branch (771:13): [True: 0, False: 0]
  ------------------
  772|      0|            return -1;
  773|      0|        if (arg->width == -1 && arg->prec == -1) {
  ------------------
  |  Branch (773:13): [True: 0, False: 0]
  |  Branch (773:33): [True: 0, False: 0]
  ------------------
  774|       |            /* Fast path */
  775|      0|            if (_PyUnicodeWriter_WriteCharInline(writer, ch) < 0)
  ------------------
  |  Branch (775:17): [True: 0, False: 0]
  ------------------
  776|      0|                return -1;
  777|      0|            return 1;
  778|      0|        }
  779|      0|        *p_str = PyUnicode_FromOrdinal(ch);
  780|      0|        break;
  781|      0|    }
  782|       |
  783|      0|    default:
  ------------------
  |  Branch (783:5): [True: 0, False: 21]
  ------------------
  784|      0|        if (arg->ch < 128 && Py_ISALPHA(arg->ch)) {
  ------------------
  |  |   23|      0|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  170|      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 (784:13): [True: 0, False: 0]
  ------------------
  785|      0|            PyErr_Format(PyExc_ValueError,
  786|      0|                         "unsupported format %%%c at position %zd",
  787|      0|                         (int)arg->ch, arg->fmtstart);
  788|      0|        }
  789|      0|        else if (arg->ch == '\'') {
  ------------------
  |  Branch (789:18): [True: 0, False: 0]
  ------------------
  790|      0|            PyErr_Format(PyExc_ValueError,
  791|      0|                         "stray %% at position %zd or unexpected "
  792|      0|                         "format character \"'\" at position %zd",
  793|      0|                         arg->fmtstart,
  794|      0|                         ctx->fmtpos - 1);
  795|      0|        }
  796|      0|        else if (arg->ch >= 32 && arg->ch < 127) {
  ------------------
  |  Branch (796:18): [True: 0, False: 0]
  |  Branch (796:35): [True: 0, False: 0]
  ------------------
  797|      0|            PyErr_Format(PyExc_ValueError,
  798|      0|                         "stray %% at position %zd or unexpected "
  799|      0|                         "format character '%c' at position %zd",
  800|      0|                         arg->fmtstart,
  801|      0|                         (int)arg->ch, ctx->fmtpos - 1);
  802|      0|        }
  803|      0|        else if (Py_UNICODE_ISPRINTABLE(arg->ch)) {
  ------------------
  |  |  722|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  ------------------
  |  |  |  Branch (722:36): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  804|      0|            PyErr_Format(PyExc_ValueError,
  805|      0|                         "stray %% at position %zd or unexpected "
  806|      0|                         "format character '%c' (U+%04X) at position %zd",
  807|      0|                         arg->fmtstart,
  808|      0|                         (int)arg->ch, (int)arg->ch, ctx->fmtpos - 1);
  809|      0|        }
  810|      0|        else {
  811|      0|            PyErr_Format(PyExc_ValueError,
  812|      0|                         "stray %% at position %zd or unexpected "
  813|      0|                         "format character U+%04X at position %zd",
  814|      0|                         arg->fmtstart, (int)arg->ch, ctx->fmtpos - 1);
  815|      0|        }
  816|      0|        return -1;
  817|     21|    }
  818|      0|    if (*p_str == NULL)
  ------------------
  |  Branch (818:9): [True: 0, False: 0]
  ------------------
  819|      0|        return -1;
  820|      0|    assert (PyUnicode_Check(*p_str));
  ------------------
  |  Branch (820:5): [True: 0, False: 0]
  ------------------
  821|      0|    return 0;
  822|      0|}

_PyUnicodeWriter_Init:
   67|    303|{
   68|    303|    memset(writer, 0, sizeof(*writer));
   69|       |
   70|       |    /* ASCII is the bare minimum */
   71|    303|    writer->min_char = 127;
   72|       |
   73|       |    /* use a kind value smaller than PyUnicode_1BYTE_KIND so
   74|       |       _PyUnicodeWriter_PrepareKind() will copy the buffer. */
   75|    303|    assert(writer->kind == 0);
  ------------------
  |  Branch (75:5): [True: 303, False: 0]
  ------------------
   76|    303|    assert(writer->kind < PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (76:5): [True: 303, False: 0]
  ------------------
   77|    303|}
PyUnicodeWriter_Create:
   82|     32|{
   83|     32|    if (length < 0) {
  ------------------
  |  Branch (83:9): [True: 0, False: 32]
  ------------------
   84|      0|        PyErr_SetString(PyExc_ValueError,
   85|      0|                        "length must be positive");
   86|      0|        return NULL;
   87|      0|    }
   88|       |
   89|     32|    const size_t size = sizeof(_PyUnicodeWriter);
   90|     32|    PyUnicodeWriter *pub_writer;
   91|     32|    pub_writer = _Py_FREELIST_POP_MEM(unicode_writers);
  ------------------
  |  |   48|     32|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
   92|     32|    if (pub_writer == NULL) {
  ------------------
  |  Branch (92:9): [True: 15, False: 17]
  ------------------
   93|     15|        pub_writer = (PyUnicodeWriter *)PyMem_Malloc(size);
   94|     15|        if (pub_writer == NULL) {
  ------------------
  |  Branch (94:13): [True: 0, False: 15]
  ------------------
   95|      0|            return (PyUnicodeWriter *)PyErr_NoMemory();
   96|      0|        }
   97|     15|    }
   98|     32|    _PyUnicodeWriter *writer = (_PyUnicodeWriter *)pub_writer;
   99|       |
  100|     32|    _PyUnicodeWriter_Init(writer);
  101|       |    // The buffer is created lazily at the first write, except if
  102|       |    // the read-only optimization is used.
  103|     32|    writer->min_length = length;
  104|     32|    writer->overallocate = 1;
  105|       |
  106|     32|    return pub_writer;
  107|     32|}
_PyUnicodeWriter_InitWithBuffer:
  124|   209k|{
  125|   209k|    assert(PyUnstable_Object_IsUniquelyReferenced(buffer));
  ------------------
  |  Branch (125:5): [True: 209k, False: 0]
  ------------------
  126|       |
  127|   209k|    memset(writer, 0, sizeof(*writer));
  128|   209k|    _PyUnicodeWriter_SetBuffer(writer, buffer);
  129|   209k|    writer->min_length = writer->size;
  130|       |    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (130:5): [True: 209k, False: 0]
  ------------------
  131|   209k|}
_PyUnicodeWriter_PrepareInternal:
  137|    663|{
  138|    663|    assert(length >= 0);
  ------------------
  |  Branch (138:5): [True: 663, False: 0]
  ------------------
  139|    663|    assert(maxchar <= _Py_MAX_UNICODE);
  ------------------
  |  Branch (139:5): [True: 663, False: 0]
  ------------------
  140|       |
  141|       |    // Check that _PyUnicodeWriter_Prepare() or _PyUnicodeWriter_PrepareKind()
  142|       |    // was used
  143|    663|    assert(maxchar > writer->maxchar
  ------------------
  |  Branch (143:5): [True: 121, False: 0]
  |  Branch (143:5): [True: 121, False: 0]
  |  Branch (143:5): [True: 542, False: 121]
  ------------------
  144|    663|           || (length > (writer->size - writer->pos) && length >= 1));
  145|       |
  146|    663|    if (length > PY_SSIZE_T_MAX - writer->pos) {
  ------------------
  |  |  137|    663|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (146:9): [True: 0, False: 663]
  ------------------
  147|      0|        PyErr_NoMemory();
  148|      0|        return -1;
  149|      0|    }
  150|    663|    Py_ssize_t alloc = writer->pos + length;
  151|       |
  152|    663|    maxchar = Py_MAX(maxchar, writer->min_char);
  ------------------
  |  |  133|    663|       __extension__ \
  |  |  134|    663|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|    663|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|    663|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|    663|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|    663|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 279, False: 384]
  |  |  ------------------
  ------------------
  153|       |
  154|    663|    PyObject *new_buffer;
  155|    663|    if (writer->buffer == NULL) {
  ------------------
  |  Branch (155:9): [True: 279, False: 384]
  ------------------
  156|    279|        assert(!writer->readonly);
  ------------------
  |  Branch (156:9): [True: 279, False: 0]
  ------------------
  157|       |
  158|       |        // Do not overallocate at the first allocation, but use min_length
  159|    279|        if (alloc < writer->min_length) {
  ------------------
  |  Branch (159:13): [True: 165, False: 114]
  ------------------
  160|    165|            alloc = writer->min_length;
  161|    165|        }
  162|       |
  163|    279|        new_buffer = PyUnicode_New(alloc, maxchar);
  164|    279|        if (new_buffer == NULL) {
  ------------------
  |  Branch (164:13): [True: 0, False: 279]
  ------------------
  165|      0|            return -1;
  166|      0|        }
  167|    279|    }
  168|    384|    else if (alloc > writer->size) {
  ------------------
  |  Branch (168:14): [True: 147, False: 237]
  ------------------
  169|       |        // Do not overallocate at the first allocation, but use min_length
  170|    147|        int overallocate = (writer->overallocate && !writer->readonly);
  ------------------
  |  Branch (170:29): [True: 119, False: 28]
  |  Branch (170:53): [True: 95, False: 24]
  ------------------
  171|    147|        if (overallocate
  ------------------
  |  Branch (171:13): [True: 95, False: 52]
  ------------------
  172|     95|            && alloc <= (PY_SSIZE_T_MAX - alloc / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |  137|     95|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                          && alloc <= (PY_SSIZE_T_MAX - alloc / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |   52|     95|#  define OVERALLOCATE_FACTOR 4
  ------------------
  |  Branch (172:16): [True: 95, False: 0]
  ------------------
  173|       |            /* overallocate to limit the number of realloc() */
  174|     95|            alloc += alloc / OVERALLOCATE_FACTOR;
  ------------------
  |  |   52|     95|#  define OVERALLOCATE_FACTOR 4
  ------------------
  175|     95|        }
  176|    147|        if (alloc < writer->min_length) {
  ------------------
  |  Branch (176:13): [True: 16, False: 131]
  ------------------
  177|     16|            alloc = writer->min_length;
  178|     16|        }
  179|       |
  180|    147|        if (maxchar > writer->maxchar || writer->readonly) {
  ------------------
  |  Branch (180:13): [True: 26, False: 121]
  |  Branch (180:42): [True: 16, False: 105]
  ------------------
  181|       |            /* resize + widen */
  182|     42|            maxchar = Py_MAX(maxchar, writer->maxchar);
  ------------------
  |  |  133|     42|       __extension__ \
  |  |  134|     42|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|     42|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|     42|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|     42|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|     42|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 26, False: 16]
  |  |  ------------------
  ------------------
  183|     42|            new_buffer = PyUnicode_New(alloc, maxchar);
  184|     42|            if (new_buffer == NULL) {
  ------------------
  |  Branch (184:17): [True: 0, False: 42]
  ------------------
  185|      0|                return -1;
  186|      0|            }
  187|     42|            _PyUnicode_FastCopyCharacters(new_buffer, 0,
  188|     42|                                          writer->buffer, 0, writer->pos);
  189|     42|        }
  190|    105|        else {
  191|    105|            new_buffer = _PyUnicode_ResizeCompact(writer->buffer, alloc);
  192|    105|            if (new_buffer == NULL) {
  ------------------
  |  Branch (192:17): [True: 0, False: 105]
  ------------------
  193|      0|                return -1;
  194|      0|            }
  195|       |            // Do not DECREF the old buffer
  196|    105|            writer->buffer = NULL;
  197|    105|        }
  198|    147|    }
  199|    237|    else {
  200|    237|        assert(maxchar > writer->maxchar);
  ------------------
  |  Branch (200:9): [True: 237, False: 0]
  ------------------
  201|    237|        assert(!writer->readonly);
  ------------------
  |  Branch (201:9): [True: 237, False: 0]
  ------------------
  202|       |
  203|    237|        new_buffer = PyUnicode_New(writer->size, maxchar);
  204|    237|        if (new_buffer == NULL) {
  ------------------
  |  Branch (204:13): [True: 0, False: 237]
  ------------------
  205|      0|            return -1;
  206|      0|        }
  207|    237|        _PyUnicode_FastCopyCharacters(new_buffer, 0,
  208|    237|                                      writer->buffer, 0, writer->pos);
  209|    237|    }
  210|       |
  211|    663|    _PyUnicodeWriter_SetBuffer(writer, new_buffer);
  212|    663|    return 0;
  213|       |
  214|    663|#undef OVERALLOCATE_FACTOR
  215|    663|}
_PyUnicodeWriter_WriteChar:
  241|    110|{
  242|    110|    return _PyUnicodeWriter_WriteCharInline(writer, ch);
  243|    110|}
PyUnicodeWriter_WriteChar:
  248|    110|{
  249|    110|    if (ch > _Py_MAX_UNICODE) {
  ------------------
  |  |   18|    110|#define _Py_MAX_UNICODE 0x10ffff
  ------------------
  |  Branch (249:9): [True: 0, False: 110]
  ------------------
  250|      0|        PyErr_SetString(PyExc_ValueError,
  251|      0|                        "character must be in range(0x110000)");
  252|      0|        return -1;
  253|      0|    }
  254|       |
  255|    110|    return _PyUnicodeWriter_WriteChar((_PyUnicodeWriter*)writer, ch);
  256|    110|}
_PyUnicodeWriter_WriteStr:
  261|    295|{
  262|    295|    assert(PyUnicode_Check(str));
  ------------------
  |  Branch (262:5): [True: 295, False: 0]
  ------------------
  263|       |
  264|    295|    Py_ssize_t len = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  300|    295|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    295|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    295|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  265|    295|    if (len == 0) {
  ------------------
  |  Branch (265:9): [True: 0, False: 295]
  ------------------
  266|      0|        return 0;
  267|      0|    }
  268|    295|    Py_UCS4 maxchar = PyUnicode_MAX_CHAR_VALUE(str);
  ------------------
  |  |  406|    295|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    295|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    295|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  269|       |
  270|    295|    if (maxchar > writer->maxchar || len > writer->size - writer->pos) {
  ------------------
  |  Branch (270:9): [True: 46, False: 249]
  |  Branch (270:38): [True: 69, False: 180]
  ------------------
  271|    115|        if (writer->buffer == NULL && PyUnicode_CheckExact(str)) {
  ------------------
  |  |  104|     20|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|     20|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 20, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (271:13): [True: 20, False: 95]
  ------------------
  272|     20|            assert(_PyUnicode_CheckConsistency(str, 1));
  ------------------
  |  Branch (272:13): [True: 20, False: 0]
  ------------------
  273|     20|            _PyUnicodeWriter_SetReadOnly(writer, Py_NewRef(str), len);
  ------------------
  |  |  647|     20|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  274|     20|            return 0;
  275|     20|        }
  276|     95|        if (_PyUnicodeWriter_PrepareInternal(writer, len, maxchar) == -1)
  ------------------
  |  Branch (276:13): [True: 0, False: 95]
  ------------------
  277|      0|            return -1;
  278|     95|    }
  279|       |
  280|    295|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (280:5): [True: 275, False: 0]
  ------------------
  281|    275|    _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
  282|    275|                                  str, 0, len);
  283|    275|    writer->pos += len;
  284|    275|    return 0;
  285|    275|}
PyUnicodeWriter_WriteStr:
  290|    159|{
  291|    159|    _PyUnicodeWriter *writer = (_PyUnicodeWriter*)pub_writer;
  292|    159|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  213|    159|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    159|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    159|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  293|    159|    if (type == &PyUnicode_Type) {
  ------------------
  |  Branch (293:9): [True: 159, False: 0]
  ------------------
  294|    159|        return _PyUnicodeWriter_WriteStr(writer, obj);
  295|    159|    }
  296|       |
  297|      0|    if (type == &PyLong_Type) {
  ------------------
  |  Branch (297:9): [True: 0, False: 0]
  ------------------
  298|      0|        return _PyLong_FormatWriter(writer, obj, 10, 0);
  299|      0|    }
  300|       |
  301|      0|    PyObject *str = PyObject_Str(obj);
  302|      0|    if (str == NULL) {
  ------------------
  |  Branch (302:9): [True: 0, False: 0]
  ------------------
  303|      0|        return -1;
  304|      0|    }
  305|       |
  306|      0|    int res = _PyUnicodeWriter_WriteStr(writer, str);
  307|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  308|      0|    return res;
  309|      0|}
_PyUnicodeWriter_WriteSubstring:
  342|     42|{
  343|     42|    assert(0 <= start);
  ------------------
  |  Branch (343:5): [True: 42, False: 0]
  ------------------
  344|     42|    assert(start <= end);
  ------------------
  |  Branch (344:5): [True: 42, False: 0]
  ------------------
  345|     42|    assert(end <= PyUnicode_GET_LENGTH(str));
  ------------------
  |  Branch (345:5): [True: 42, False: 0]
  ------------------
  346|       |
  347|     42|    if (start == 0 && end == PyUnicode_GET_LENGTH(str)) {
  ------------------
  |  |  300|     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 (347:9): [True: 21, False: 21]
  |  Branch (347:23): [True: 0, False: 21]
  ------------------
  348|      0|        return _PyUnicodeWriter_WriteStr(writer, str);
  349|      0|    }
  350|       |
  351|     42|    Py_ssize_t len = end - start;
  352|     42|    if (len == 0) {
  ------------------
  |  Branch (352:9): [True: 0, False: 42]
  ------------------
  353|      0|        return 0;
  354|      0|    }
  355|       |
  356|     42|    Py_UCS4 maxchar;
  357|     42|    if (PyUnicode_MAX_CHAR_VALUE(str) > writer->maxchar) {
  ------------------
  |  |  406|     42|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (357:9): [True: 21, False: 21]
  ------------------
  358|     21|        maxchar = _PyUnicode_FindMaxChar(str, start, end);
  359|     21|    }
  360|     21|    else {
  361|     21|        maxchar = writer->maxchar;
  362|     21|    }
  363|     42|    if (_PyUnicodeWriter_Prepare(writer, len, maxchar) < 0) {
  ------------------
  |  Branch (363:9): [True: 0, False: 42]
  ------------------
  364|      0|        return -1;
  365|      0|    }
  366|     42|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (366:5): [True: 42, False: 0]
  ------------------
  367|       |
  368|     42|    _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
  369|     42|                                  str, start, len);
  370|     42|    writer->pos += len;
  371|     42|    return 0;
  372|     42|}
_PyUnicodeWriter_WriteASCIIString:
  400|    423|{
  401|    423|    if (len == -1)
  ------------------
  |  Branch (401:9): [True: 0, False: 423]
  ------------------
  402|      0|        len = strlen(ascii);
  403|       |
  404|    423|    if (len == 0) {
  ------------------
  |  Branch (404:9): [True: 0, False: 423]
  ------------------
  405|      0|        return 0;
  406|      0|    }
  407|       |
  408|    423|    assert(ucs1lib_find_max_char((const Py_UCS1*)ascii, (const Py_UCS1*)ascii + len) <= 127);
  ------------------
  |  Branch (408:5): [True: 423, False: 0]
  ------------------
  409|       |
  410|    423|    if (_PyUnicodeWriter_Prepare(writer, len, 127) == -1) {
  ------------------
  |  Branch (410:9): [True: 0, False: 423]
  ------------------
  411|      0|        return -1;
  412|      0|    }
  413|    423|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (413:5): [True: 423, False: 0]
  ------------------
  414|       |
  415|    423|    switch (writer->kind)
  416|    423|    {
  417|    397|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (417:5): [True: 397, False: 26]
  ------------------
  418|    397|    {
  419|    397|        const Py_UCS1 *str = (const Py_UCS1 *)ascii;
  420|    397|        Py_UCS1 *data = writer->data;
  421|       |
  422|    397|        memcpy(data + writer->pos, str, len);
  423|    397|        break;
  424|      0|    }
  425|      2|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (425:5): [True: 2, False: 421]
  ------------------
  426|      2|    {
  427|      2|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|      2|    do {                                                \
  |  |   48|      2|        to_type *_to = (to_type *)(to);                 \
  |  |   49|      2|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|      2|        const from_type *_end = (const from_type *)(end);\
  |  |   51|      2|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|      2|        const from_type *_unrolled_end =                \
  |  |   53|      2|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|      2|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|      2|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 0, False: 2]
  |  |  ------------------
  |  |   55|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   56|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   57|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   58|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   59|      0|            _iter += 4; _to += 4;                       \
  |  |   60|      0|        }                                               \
  |  |   61|      6|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 4, False: 2]
  |  |  ------------------
  |  |   62|      4|            *_to++ = (to_type) *_iter++;                \
  |  |   63|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  428|      2|            Py_UCS1, Py_UCS2,
  429|      2|            ascii, ascii + len,
  430|      2|            (Py_UCS2 *)writer->data + writer->pos);
  431|      2|        break;
  432|      0|    }
  433|     24|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (433:5): [True: 24, False: 399]
  ------------------
  434|     24|    {
  435|     24|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|     24|    do {                                                \
  |  |   48|     24|        to_type *_to = (to_type *)(to);                 \
  |  |   49|     24|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|     24|        const from_type *_end = (const from_type *)(end);\
  |  |   51|     24|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|     24|        const from_type *_unrolled_end =                \
  |  |   53|     24|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|     24|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|     24|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 0, False: 24]
  |  |  ------------------
  |  |   55|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   56|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   57|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   58|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   59|      0|            _iter += 4; _to += 4;                       \
  |  |   60|      0|        }                                               \
  |  |   61|     72|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 48, False: 24]
  |  |  ------------------
  |  |   62|     48|            *_to++ = (to_type) *_iter++;                \
  |  |   63|     24|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 24]
  |  |  ------------------
  ------------------
  436|     24|            Py_UCS1, Py_UCS4,
  437|     24|            ascii, ascii + len,
  438|     24|            (Py_UCS4 *)writer->data + writer->pos);
  439|     24|        break;
  440|      0|    }
  441|      0|    default:
  ------------------
  |  Branch (441:5): [True: 0, False: 423]
  ------------------
  442|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  443|    423|    }
  444|       |
  445|    423|    writer->pos += len;
  446|    423|    return 0;
  447|    423|}
PyUnicodeWriter_WriteASCII:
  454|     34|{
  455|     34|    assert(writer != NULL);
  ------------------
  |  Branch (455:5): [True: 34, False: 0]
  ------------------
  456|     34|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|     34|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
  457|       |
  458|     34|    return _PyUnicodeWriter_WriteASCIIString((_PyUnicodeWriter*)writer, str, size);
  459|     34|}
PyUnicodeWriter_WriteUTF8:
  466|     24|{
  467|     24|    if (size < 0) {
  ------------------
  |  Branch (467:9): [True: 24, False: 0]
  ------------------
  468|     24|        size = strlen(str);
  469|     24|    }
  470|       |
  471|     24|    return _PyUnicode_DecodeUTF8Writer((_PyUnicodeWriter*)writer, str, size,
  472|     24|                                       _Py_ERROR_STRICT, NULL, NULL);
  473|     24|}
_PyUnicodeWriter_Finish:
  541|   209k|{
  542|       |#ifdef Py_DEBUG
  543|       |    // Check for buffer overflow
  544|       |    if (writer->buffer != NULL) {
  545|       |        Py_ssize_t pos = PyUnicode_GET_LENGTH(writer->buffer);
  546|       |        Py_UCS4 ch = PyUnicode_READ_CHAR(writer->buffer, pos);
  547|       |        if (ch != 0) {
  548|       |            _Py_FatalErrorFormat(__func__,
  549|       |                                 "Buffer overflow detected in "
  550|       |                                 "PyUnicodeWriter %p at position %zd",
  551|       |                                 writer, pos);
  552|       |        }
  553|       |    }
  554|       |#endif
  555|       |
  556|   209k|    PyObject *str = writer->buffer;
  557|   209k|    writer->buffer = NULL;
  558|       |
  559|   209k|    Py_ssize_t final_size = writer->pos;
  560|   209k|    if (final_size == 0) {
  ------------------
  |  Branch (560:9): [True: 0, False: 209k]
  ------------------
  561|       |        // Get the empty string singleton
  562|      0|        PyObject *empty = _PyUnicode_GetEmpty();
  563|      0|        Py_XDECREF(str);  // writer->buffer can be NULL if the position is 0
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  564|      0|        return empty;
  565|      0|    }
  566|       |
  567|   209k|    if (writer->readonly) {
  ------------------
  |  Branch (567:9): [True: 0, False: 209k]
  ------------------
  568|      0|        assert(final_size == PyUnicode_GET_LENGTH(str));
  ------------------
  |  Branch (568:9): [True: 0, False: 0]
  ------------------
  569|      0|        goto done;
  570|      0|    }
  571|   209k|    assert(final_size <= PyUnicode_GET_LENGTH(str));
  ------------------
  |  Branch (571:5): [True: 209k, False: 0]
  ------------------
  572|       |
  573|   414k|    if (final_size == 1 && PyUnicode_KIND(str) == PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  259|   207k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   414k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 207k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (573:9): [True: 207k, False: 1.98k]
  |  Branch (573:28): [True: 163k, False: 43.4k]
  ------------------
  574|       |        // Get the single character singleton
  575|   163k|        assert(PyUnicode_GET_LENGTH(str) >= 1);
  ------------------
  |  Branch (575:9): [True: 163k, False: 0]
  ------------------
  576|   163k|        const Py_UCS1 *data = PyUnicode_1BYTE_DATA(str);
  ------------------
  |  |  292|   163k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   163k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  577|   163k|        Py_UCS1 ch = data[0];
  578|   163k|        Py_DECREF(str);
  ------------------
  |  |  430|   163k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   163k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   163k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  579|   163k|        str = _Py_LATIN1_CHR(ch);
  ------------------
  |  |  955|   163k|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (955:6): [True: 10, False: 163k]
  |  |  ------------------
  |  |  956|   163k|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  957|   163k|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|   163k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   163k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  580|   163k|        goto done;
  581|   163k|    }
  582|       |
  583|  45.4k|    if (writer->recheck_maxchar) {
  ------------------
  |  Branch (583:9): [True: 0, False: 45.4k]
  ------------------
  584|      0|        Py_UCS4 maxchar = _PyUnicode_FindMaxChar(str, 0, final_size);
  585|      0|        if (maxchar != writer->maxchar) {
  ------------------
  |  Branch (585:13): [True: 0, False: 0]
  ------------------
  586|       |            // Adjust the string kind
  587|      0|            PyObject *str2 = PyUnicode_New(final_size, maxchar);
  588|      0|            if (str2 == NULL) {
  ------------------
  |  Branch (588:17): [True: 0, False: 0]
  ------------------
  589|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  590|      0|                return NULL;
  591|      0|            }
  592|      0|            _PyUnicode_FastCopyCharacters(str2, 0, str, 0, final_size);
  593|      0|            Py_SETREF(str, str2);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  594|      0|            goto done;
  595|      0|        }
  596|      0|    }
  597|       |
  598|  45.4k|    if (PyUnicode_GET_LENGTH(str) != final_size) {
  ------------------
  |  |  300|  45.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  45.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (598:9): [True: 326, False: 45.1k]
  ------------------
  599|       |        // Truncate the string
  600|    326|        PyObject *str2 = _PyUnicode_ResizeCompact(str, final_size);
  601|    326|        if (str2 == NULL) {
  ------------------
  |  Branch (601:13): [True: 0, False: 326]
  ------------------
  602|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  603|      0|            return NULL;
  604|      0|        }
  605|    326|        str = str2;
  606|    326|        goto done;
  607|    326|    }
  608|       |
  609|   209k|done:
  610|   209k|    assert(_PyUnicode_CheckConsistency(str, 1));
  ------------------
  |  Branch (610:5): [True: 209k, False: 0]
  ------------------
  611|   209k|    return str;
  612|   209k|}
PyUnicodeWriter_Finish:
  637|     32|{
  638|     32|    PyObject *str = _PyUnicodeWriter_Finish((_PyUnicodeWriter*)writer);
  639|     32|    assert(((_PyUnicodeWriter*)writer)->buffer == NULL);
  ------------------
  |  Branch (639:5): [True: 32, False: 0]
  ------------------
  640|     32|    _Py_FREELIST_FREE(unicode_writers, writer, PyMem_Free);
  ------------------
  |  |   35|     32|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|     32|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   29|     32|#  define Py_unicode_writers_MAXFREELIST 1
  |  |  ------------------
  ------------------
  641|     32|    return str;
  642|     32|}
_PyUnicodeWriter_Dealloc:
  647|      6|{
  648|       |    Py_CLEAR(writer->buffer);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  491|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      6|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      6|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  649|      6|}

_PyUnicode_IsXidStart:
   86|  1.56k|{
   87|  1.56k|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
   88|       |
   89|  1.56k|    return (ctype->flags & XID_START_MASK) != 0;
  ------------------
  |  |   20|  1.56k|#define XID_START_MASK 0x100
  ------------------
   90|  1.56k|}
_PyUnicode_IsXidContinue:
   96|  2.95M|{
   97|  2.95M|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
   98|       |
   99|  2.95M|    return (ctype->flags & XID_CONTINUE_MASK) != 0;
  ------------------
  |  |   21|  2.95M|#define XID_CONTINUE_MASK 0x200
  ------------------
  100|  2.95M|}
_PyUnicode_IsPrintable:
  152|  1.78M|{
  153|  1.78M|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  154|       |
  155|  1.78M|    return (ctype->flags & PRINTABLE_MASK) != 0;
  ------------------
  |  |   22|  1.78M|#define PRINTABLE_MASK 0x400
  ------------------
  156|  1.78M|}
unicodectype.c:gettyperecord:
   46|  4.73M|{
   47|  4.73M|    int index;
   48|       |
   49|  4.73M|    if (code >= 0x110000)
  ------------------
  |  Branch (49:9): [True: 0, False: 4.73M]
  ------------------
   50|      0|        index = 0;
   51|  4.73M|    else
   52|  4.73M|    {
   53|  4.73M|        index = index1[(code>>SHIFT)];
  ------------------
  |  | 1772|  4.73M|#define SHIFT 6
  ------------------
   54|  4.73M|        index = index2[(index<<SHIFT)+(code&((1<<SHIFT)-1))];
  ------------------
  |  | 1772|  4.73M|#define SHIFT 6
  ------------------
                      index = index2[(index<<SHIFT)+(code&((1<<SHIFT)-1))];
  ------------------
  |  | 1772|  4.73M|#define SHIFT 6
  ------------------
   55|  4.73M|    }
   56|       |
   57|  4.73M|    return &_PyUnicode_TypeRecords[index];
   58|  4.73M|}

_PyUnicode_GetEmpty:
  193|  2.10k|{
  194|  2.10k|    _Py_DECLARE_STR(empty, "");
  195|  2.10k|    return &_Py_STR(empty);
  ------------------
  |  |  953|  2.10k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.10k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.10k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  196|  2.10k|}
_Py_GetErrorHandler:
  460|     44|{
  461|     44|    if (errors == NULL || strcmp(errors, "strict") == 0) {
  ------------------
  |  Branch (461:9): [True: 0, False: 44]
  |  Branch (461:27): [True: 0, False: 44]
  ------------------
  462|      0|        return _Py_ERROR_STRICT;
  463|      0|    }
  464|     44|    if (strcmp(errors, "surrogateescape") == 0) {
  ------------------
  |  Branch (464:9): [True: 44, False: 0]
  ------------------
  465|     44|        return _Py_ERROR_SURROGATEESCAPE;
  466|     44|    }
  467|      0|    if (strcmp(errors, "replace") == 0) {
  ------------------
  |  Branch (467:9): [True: 0, False: 0]
  ------------------
  468|      0|        return _Py_ERROR_REPLACE;
  469|      0|    }
  470|      0|    if (strcmp(errors, "ignore") == 0) {
  ------------------
  |  Branch (470:9): [True: 0, False: 0]
  ------------------
  471|      0|        return _Py_ERROR_IGNORE;
  472|      0|    }
  473|      0|    if (strcmp(errors, "backslashreplace") == 0) {
  ------------------
  |  Branch (473:9): [True: 0, False: 0]
  ------------------
  474|      0|        return _Py_ERROR_BACKSLASHREPLACE;
  475|      0|    }
  476|      0|    if (strcmp(errors, "surrogatepass") == 0) {
  ------------------
  |  Branch (476:9): [True: 0, False: 0]
  ------------------
  477|      0|        return _Py_ERROR_SURROGATEPASS;
  478|      0|    }
  479|      0|    if (strcmp(errors, "xmlcharrefreplace") == 0) {
  ------------------
  |  Branch (479:9): [True: 0, False: 0]
  ------------------
  480|      0|        return _Py_ERROR_XMLCHARREFREPLACE;
  481|      0|    }
  482|      0|    return _Py_ERROR_OTHER;
  483|      0|}
_PyUnicode_CheckConsistency:
  579|   468k|{
  580|   468k|#define CHECK(expr) \
  581|   468k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  582|       |#ifdef Py_GIL_DISABLED
  583|       |# define CHECK_IF_GIL(expr) (void)(expr)
  584|       |# define CHECK_IF_FT(expr) CHECK(expr)
  585|       |#else
  586|   468k|# define CHECK_IF_GIL(expr) CHECK(expr)
  587|   468k|# define CHECK_IF_FT(expr) (void)(expr)
  588|   468k|#endif
  589|       |
  590|   468k|    assert(op != NULL);
  ------------------
  |  Branch (590:5): [True: 468k, False: 0]
  ------------------
  591|   468k|    CHECK(PyUnicode_Check(op));
  ------------------
  |  |  581|   468k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 468k]
  |  |  |  Branch (581:89): [Folded, False: 468k]
  |  |  ------------------
  ------------------
  592|       |
  593|   468k|    PyASCIIObject *ascii = _PyASCIIObject_CAST(op);
  ------------------
  |  |  186|   468k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   468k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   468k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (593:28): [True: 468k, False: 0]
  ------------------
  594|      0|    int kind = ascii->state.kind;
  595|       |
  596|   468k|    if (ascii->state.ascii == 1 && ascii->state.compact == 1) {
  ------------------
  |  Branch (596:9): [True: 49.7k, False: 418k]
  |  Branch (596:36): [True: 49.7k, False: 7]
  ------------------
  597|  49.7k|        CHECK(kind == PyUnicode_1BYTE_KIND);
  ------------------
  |  |  581|  49.7k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 49.7k]
  |  |  |  Branch (581:89): [Folded, False: 49.7k]
  |  |  ------------------
  ------------------
  598|  49.7k|    }
  599|   418k|    else {
  600|   418k|        PyCompactUnicodeObject *compact = _PyCompactUnicodeObject_CAST(op);
  ------------------
  |  |  189|   418k|    (assert(!(_PyASCIIObject_CAST(op)->state.ascii \
  |  |  190|   418k|              && _PyASCIIObject_CAST(op)->state.compact)), \
  |  |  191|   418k|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   418k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (600:43): [True: 418k, False: 0]
  |  Branch (600:43): [True: 7, False: 0]
  |  Branch (600:43): [True: 7, False: 418k]
  |  Branch (600:43): [True: 0, False: 7]
  ------------------
  601|      0|        void *data;
  602|       |
  603|   418k|        if (ascii->state.compact == 1) {
  ------------------
  |  Branch (603:13): [True: 418k, False: 7]
  ------------------
  604|   418k|            data = compact + 1;
  605|   418k|            CHECK(kind == PyUnicode_1BYTE_KIND
  ------------------
  |  |  581|  1.01M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:16): [True: 327k, False: 90.7k]
  |  |  |  Branch (581:16): [True: 3.31k, False: 87.4k]
  |  |  |  Branch (581:16): [True: 87.4k, False: 0]
  |  |  |  Branch (581:89): [Folded, False: 418k]
  |  |  ------------------
  ------------------
  606|   418k|                                 || kind == PyUnicode_2BYTE_KIND
  607|   418k|                                 || kind == PyUnicode_4BYTE_KIND);
  608|   418k|            CHECK(ascii->state.ascii == 0);
  ------------------
  |  |  581|   418k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 418k]
  |  |  |  Branch (581:89): [Folded, False: 418k]
  |  |  ------------------
  ------------------
  609|   418k|            CHECK(_PyUnicode_UTF8(op) != data);
  ------------------
  |  |  581|   418k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 418k]
  |  |  |  Branch (581:89): [Folded, False: 418k]
  |  |  ------------------
  ------------------
  610|   418k|        }
  611|      7|        else {
  612|      7|            PyUnicodeObject *unicode = _PyUnicodeObject_CAST(op);
  ------------------
  |  |  193|      7|    (assert(!_PyASCIIObject_CAST(op)->state.compact), \
  |  |  194|      7|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (612:40): [True: 7, False: 0]
  |  Branch (612:40): [True: 7, False: 0]
  ------------------
  613|       |
  614|      0|            data = unicode->data.any;
  615|      7|            CHECK(kind == PyUnicode_1BYTE_KIND
  ------------------
  |  |  581|     14|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:16): [True: 7, False: 0]
  |  |  |  Branch (581:16): [True: 0, False: 0]
  |  |  |  Branch (581:16): [True: 0, False: 0]
  |  |  |  Branch (581:89): [Folded, False: 7]
  |  |  ------------------
  ------------------
  616|      7|                     || kind == PyUnicode_2BYTE_KIND
  617|      7|                     || kind == PyUnicode_4BYTE_KIND);
  618|      7|            CHECK(ascii->state.compact == 0);
  ------------------
  |  |  581|      7|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 7]
  |  |  |  Branch (581:89): [Folded, False: 7]
  |  |  ------------------
  ------------------
  619|      7|            CHECK(data != NULL);
  ------------------
  |  |  581|      7|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 7]
  |  |  |  Branch (581:89): [Folded, False: 7]
  |  |  ------------------
  ------------------
  620|      7|            if (ascii->state.ascii) {
  ------------------
  |  Branch (620:17): [True: 7, False: 0]
  ------------------
  621|      7|                CHECK(_PyUnicode_UTF8(op) == data);
  ------------------
  |  |  581|      7|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 7]
  |  |  |  Branch (581:89): [Folded, False: 7]
  |  |  ------------------
  ------------------
  622|      7|                CHECK(compact->utf8_length == ascii->length);
  ------------------
  |  |  581|      7|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 7]
  |  |  |  Branch (581:89): [Folded, False: 7]
  |  |  ------------------
  ------------------
  623|      7|            }
  624|      0|            else {
  625|      0|                CHECK(_PyUnicode_UTF8(op) != data);
  ------------------
  |  |  581|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 0]
  |  |  |  Branch (581:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  626|      0|            }
  627|      7|        }
  628|   418k|#ifndef Py_GIL_DISABLED
  629|   418k|        if (_PyUnicode_UTF8(op) == NULL)
  ------------------
  |  Branch (629:13): [True: 254k, False: 163k]
  ------------------
  630|   254k|            CHECK(compact->utf8_length == 0);
  ------------------
  |  |  581|   254k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 254k]
  |  |  |  Branch (581:89): [Folded, False: 254k]
  |  |  ------------------
  ------------------
  631|   418k|#endif
  632|   418k|    }
  633|       |
  634|       |    /* check that the best kind is used: O(n) operation */
  635|   468k|    const void *data = PyUnicode_DATA(ascii);
  ------------------
  |  |  285|   468k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   468k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   468k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  636|   468k|    if (check_content) {
  ------------------
  |  Branch (636:9): [True: 228k, False: 239k]
  ------------------
  637|   228k|        Py_ssize_t i;
  638|   228k|        Py_UCS4 maxchar = 0;
  639|   228k|        Py_UCS4 ch;
  640|       |
  641|   454M|        for (i=0; i < ascii->length; i++)
  ------------------
  |  Branch (641:19): [True: 454M, False: 228k]
  ------------------
  642|   454M|        {
  643|   454M|            ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  355|   454M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   454M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   454M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   454M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|   454M|                   (index))
  ------------------
  644|   454M|            if (ch > maxchar)
  ------------------
  |  Branch (644:17): [True: 271k, False: 454M]
  ------------------
  645|   271k|                maxchar = ch;
  646|   454M|        }
  647|   228k|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (647:13): [True: 183k, False: 45.2k]
  ------------------
  648|   183k|            if (ascii->state.ascii == 0) {
  ------------------
  |  Branch (648:17): [True: 163k, False: 19.5k]
  ------------------
  649|   163k|                CHECK(maxchar >= 128);
  ------------------
  |  |  581|   163k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 163k]
  |  |  |  Branch (581:89): [Folded, False: 163k]
  |  |  ------------------
  ------------------
  650|   163k|                CHECK(maxchar <= 255);
  ------------------
  |  |  581|   163k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 163k]
  |  |  |  Branch (581:89): [Folded, False: 163k]
  |  |  ------------------
  ------------------
  651|   163k|            }
  652|  19.5k|            else
  653|  19.5k|                CHECK(maxchar < 128);
  ------------------
  |  |  581|  19.5k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 19.5k]
  |  |  |  Branch (581:89): [Folded, False: 19.5k]
  |  |  ------------------
  ------------------
  654|   183k|        }
  655|  45.2k|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (655:18): [True: 1.62k, False: 43.6k]
  ------------------
  656|  1.62k|            CHECK(maxchar >= 0x100);
  ------------------
  |  |  581|  1.62k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 1.62k]
  |  |  |  Branch (581:89): [Folded, False: 1.62k]
  |  |  ------------------
  ------------------
  657|  1.62k|            CHECK(maxchar <= 0xFFFF);
  ------------------
  |  |  581|  1.62k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 1.62k]
  |  |  |  Branch (581:89): [Folded, False: 1.62k]
  |  |  ------------------
  ------------------
  658|  1.62k|        }
  659|  43.6k|        else {
  660|  43.6k|            CHECK(maxchar >= 0x10000);
  ------------------
  |  |  581|  43.6k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 43.6k]
  |  |  |  Branch (581:89): [Folded, False: 43.6k]
  |  |  ------------------
  ------------------
  661|  43.6k|            CHECK(maxchar <= MAX_UNICODE);
  ------------------
  |  |  581|  43.6k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 43.6k]
  |  |  |  Branch (581:89): [Folded, False: 43.6k]
  |  |  ------------------
  ------------------
  662|  43.6k|        }
  663|   228k|    }
  664|       |
  665|       |    // Detect buffer overflow: check if the trailing null character
  666|       |    // has been overridden
  667|   468k|    CHECK(PyUnicode_READ(kind, data, ascii->length) == 0);
  ------------------
  |  |  581|   468k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 468k]
  |  |  |  Branch (581:89): [Folded, False: 468k]
  |  |  ------------------
  ------------------
  668|       |
  669|       |    /* Check interning state */
  670|       |#ifdef Py_DEBUG
  671|       |    // Note that we do not check `_Py_IsImmortal(op)` in the GIL-enabled build
  672|       |    // since stable ABI extensions can make immortal strings mortal (but with a
  673|       |    // high enough refcount).
  674|       |    switch (PyUnicode_CHECK_INTERNED(op)) {
  675|       |        case SSTATE_NOT_INTERNED:
  676|       |            if (ascii->state.statically_allocated) {
  677|       |                // This state is for two exceptions:
  678|       |                // - strings are currently checked before they're interned
  679|       |                // - the 256 one-latin1-character strings
  680|       |                //   are static but use SSTATE_NOT_INTERNED
  681|       |            }
  682|       |            else {
  683|       |                CHECK_IF_GIL(!_Py_IsImmortal(op));
  684|       |            }
  685|       |            break;
  686|       |        case SSTATE_INTERNED_MORTAL:
  687|       |            CHECK(!ascii->state.statically_allocated);
  688|       |            CHECK_IF_GIL(!_Py_IsImmortal(op));
  689|       |            break;
  690|       |        case SSTATE_INTERNED_IMMORTAL:
  691|       |            CHECK(!ascii->state.statically_allocated);
  692|       |            CHECK_IF_FT(_Py_IsImmortal(op));
  693|       |            break;
  694|       |        case SSTATE_INTERNED_IMMORTAL_STATIC:
  695|       |            CHECK(ascii->state.statically_allocated);
  696|       |            CHECK_IF_FT(_Py_IsImmortal(op));
  697|       |            break;
  698|       |        default:
  699|       |            Py_UNREACHABLE();
  700|       |    }
  701|       |#endif
  702|       |
  703|   468k|    return 1;
  704|       |
  705|   468k|#undef CHECK
  706|   468k|}
_PyUnicode_Result:
  710|    790|{
  711|    790|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (711:5): [True: 790, False: 0]
  ------------------
  712|       |
  713|    790|    Py_ssize_t length = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|    790|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    790|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    790|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  714|    790|    if (length == 0) {
  ------------------
  |  Branch (714:9): [True: 0, False: 790]
  ------------------
  715|      0|        PyObject *empty = _PyUnicode_GetEmpty();
  716|      0|        if (unicode != empty) {
  ------------------
  |  Branch (716:13): [True: 0, False: 0]
  ------------------
  717|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  718|      0|        }
  719|      0|        return empty;
  720|      0|    }
  721|       |
  722|    790|    if (length == 1) {
  ------------------
  |  Branch (722:9): [True: 0, False: 790]
  ------------------
  723|      0|        int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  724|      0|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (724:13): [True: 0, False: 0]
  ------------------
  725|      0|            const Py_UCS1 *data = PyUnicode_1BYTE_DATA(unicode);
  ------------------
  |  |  292|      0|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  726|      0|            Py_UCS1 ch = data[0];
  727|      0|            PyObject *latin1_char = LATIN1(ch);
  ------------------
  |  |  174|      0|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  955|      0|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (955:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  956|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  957|      0|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  728|      0|            if (unicode != latin1_char) {
  ------------------
  |  Branch (728:17): [True: 0, False: 0]
  ------------------
  729|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  730|      0|            }
  731|      0|            return latin1_char;
  732|      0|        }
  733|      0|    }
  734|       |
  735|    790|    assert(_PyUnicode_CheckConsistency(unicode, 1));
  ------------------
  |  Branch (735:5): [True: 790, False: 0]
  ------------------
  736|    790|    return unicode;
  737|    790|}
_PyUnicode_ResizeCompact:
 1070|    435|{
 1071|    435|    Py_ssize_t char_size;
 1072|    435|    Py_ssize_t struct_size;
 1073|    435|    Py_ssize_t new_size;
 1074|    435|    PyObject *new_unicode;
 1075|       |#ifdef Py_DEBUG
 1076|       |    Py_ssize_t old_length = _PyUnicode_LENGTH(unicode);
 1077|       |#endif
 1078|       |
 1079|    435|    if (!_PyUnicode_IsModifiable(unicode)) {
  ------------------
  |  Branch (1079:9): [True: 0, False: 435]
  ------------------
 1080|      0|        PyObject *copy = resize_copy(unicode, length);
 1081|      0|        if (copy == NULL) {
  ------------------
  |  Branch (1081:13): [True: 0, False: 0]
  ------------------
 1082|      0|            return NULL;
 1083|      0|        }
 1084|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1085|      0|        return copy;
 1086|      0|    }
 1087|    435|    assert(PyUnicode_IS_COMPACT(unicode));
  ------------------
  |  Branch (1087:5): [True: 435, False: 0]
  ------------------
 1088|       |
 1089|    435|    char_size = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|    435|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    870|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 435, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1090|    435|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  228|    435|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    435|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    435|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 273, False: 162]
  |  |  ------------------
  ------------------
 1091|    273|        struct_size = sizeof(PyASCIIObject);
 1092|    162|    else
 1093|    162|        struct_size = sizeof(PyCompactUnicodeObject);
 1094|       |
 1095|    435|    if (length > ((PY_SSIZE_T_MAX - struct_size) / char_size - 1)) {
  ------------------
  |  |  137|    435|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1095:9): [True: 0, False: 435]
  ------------------
 1096|      0|        PyErr_NoMemory();
 1097|      0|        return NULL;
 1098|      0|    }
 1099|    435|    new_size = (struct_size + (length + 1) * char_size);
 1100|       |
 1101|    435|    if (_PyUnicode_HAS_UTF8_MEMORY(unicode)) {
  ------------------
  |  Branch (1101:9): [True: 0, False: 435]
  ------------------
 1102|      0|        PyMem_Free(_PyUnicode_UTF8(unicode));
 1103|      0|        PyUnicode_SET_UTF8_LENGTH(unicode, 0);
 1104|      0|        PyUnicode_SET_UTF8(unicode, NULL);
 1105|      0|    }
 1106|       |#ifdef Py_TRACE_REFS
 1107|       |    _Py_ForgetReference(unicode);
 1108|       |#endif
 1109|    435|    _PyReftracerTrack(unicode, PyRefTracer_DESTROY);
  ------------------
  |  |  109|    435|    do { \
  |  |  110|    435|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|    435|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 435]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|    435|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 435]
  |  |  ------------------
  ------------------
 1110|       |
 1111|    435|    new_unicode = (PyObject *)PyObject_Realloc(unicode, new_size);
 1112|    435|    if (new_unicode == NULL) {
  ------------------
  |  Branch (1112:9): [True: 0, False: 435]
  ------------------
 1113|      0|        _Py_NewReferenceNoTotal(unicode);
 1114|      0|        PyErr_NoMemory();
 1115|      0|        return NULL;
 1116|      0|    }
 1117|    435|    unicode = new_unicode;
 1118|    435|    _Py_NewReferenceNoTotal(unicode);
 1119|       |
 1120|    435|    _PyUnicode_LENGTH(unicode) = length;
  ------------------
  |  |  150|    435|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|    435|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|    435|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    435|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1120:5): [True: 435, False: 0]
  ------------------
 1121|       |#ifdef Py_DEBUG
 1122|       |    unicode_fill_invalid(unicode, old_length);
 1123|       |#endif
 1124|    435|    PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  336|    435|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|    870|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:47): [True: 435, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|    435|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|    435|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|    435|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1125|    435|                    length, 0);
 1126|    435|    assert(_PyUnicode_CheckConsistency(unicode, 0));
  ------------------
  |  Branch (1126:5): [True: 435, False: 0]
  ------------------
 1127|    435|    return unicode;
 1128|    435|}
PyUnicode_New:
 1272|   239k|{
 1273|       |    /* Optimization for empty strings */
 1274|   239k|    if (size == 0) {
  ------------------
  |  Branch (1274:9): [True: 4, False: 239k]
  ------------------
 1275|      4|        return _PyUnicode_GetEmpty();
 1276|      4|    }
 1277|       |
 1278|   239k|    PyObject *obj;
 1279|   239k|    PyCompactUnicodeObject *unicode;
 1280|   239k|    void *data;
 1281|   239k|    int kind;
 1282|   239k|    int is_ascii;
 1283|   239k|    Py_ssize_t char_size;
 1284|   239k|    Py_ssize_t struct_size;
 1285|       |
 1286|   239k|    is_ascii = 0;
 1287|   239k|    struct_size = sizeof(PyCompactUnicodeObject);
 1288|   239k|    if (maxchar < 128) {
  ------------------
  |  Branch (1288:9): [True: 29.9k, False: 209k]
  ------------------
 1289|  29.9k|        kind = PyUnicode_1BYTE_KIND;
 1290|  29.9k|        char_size = 1;
 1291|  29.9k|        is_ascii = 1;
 1292|  29.9k|        struct_size = sizeof(PyASCIIObject);
 1293|  29.9k|    }
 1294|   209k|    else if (maxchar < 256) {
  ------------------
  |  Branch (1294:14): [True: 164k, False: 45.3k]
  ------------------
 1295|   164k|        kind = PyUnicode_1BYTE_KIND;
 1296|   164k|        char_size = 1;
 1297|   164k|    }
 1298|  45.3k|    else if (maxchar < 65536) {
  ------------------
  |  Branch (1298:14): [True: 1.65k, False: 43.6k]
  ------------------
 1299|  1.65k|        kind = PyUnicode_2BYTE_KIND;
 1300|  1.65k|        char_size = 2;
 1301|  1.65k|    }
 1302|  43.6k|    else {
 1303|  43.6k|        if (maxchar > MAX_UNICODE) {
  ------------------
  |  |  108|  43.6k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   18|  43.6k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (1303:13): [True: 0, False: 43.6k]
  ------------------
 1304|      0|            PyErr_SetString(PyExc_SystemError,
 1305|      0|                            "invalid maximum character passed to PyUnicode_New");
 1306|      0|            return NULL;
 1307|      0|        }
 1308|  43.6k|        kind = PyUnicode_4BYTE_KIND;
 1309|  43.6k|        char_size = 4;
 1310|  43.6k|    }
 1311|       |
 1312|       |    /* Ensure we won't overflow the size. */
 1313|   239k|    if (size < 0) {
  ------------------
  |  Branch (1313:9): [True: 0, False: 239k]
  ------------------
 1314|      0|        PyErr_SetString(PyExc_SystemError,
 1315|      0|                        "Negative size passed to PyUnicode_New");
 1316|      0|        return NULL;
 1317|      0|    }
 1318|   239k|    if (size > ((PY_SSIZE_T_MAX - struct_size) / char_size - 1))
  ------------------
  |  |  137|   239k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1318:9): [True: 0, False: 239k]
  ------------------
 1319|      0|        return PyErr_NoMemory();
 1320|       |
 1321|       |    /* Duplicated allocation code from _PyObject_New() instead of a call to
 1322|       |     * PyObject_New() so we are able to allocate space for the object and
 1323|       |     * it's data buffer.
 1324|       |     */
 1325|   239k|    obj = (PyObject *) PyObject_Malloc(struct_size + (size + 1) * char_size);
 1326|   239k|    if (obj == NULL) {
  ------------------
  |  Branch (1326:9): [True: 0, False: 239k]
  ------------------
 1327|      0|        return PyErr_NoMemory();
 1328|      0|    }
 1329|   239k|    _PyObject_Init(obj, &PyUnicode_Type);
 1330|       |
 1331|   239k|    unicode = (PyCompactUnicodeObject *)obj;
 1332|   239k|    if (is_ascii)
  ------------------
  |  Branch (1332:9): [True: 29.9k, False: 209k]
  ------------------
 1333|  29.9k|        data = ((PyASCIIObject*)obj) + 1;
 1334|   209k|    else
 1335|   209k|        data = unicode + 1;
 1336|   239k|    _PyUnicode_LENGTH(unicode) = size;
  ------------------
  |  |  150|   239k|    (_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 (1336:5): [True: 239k, False: 0]
  ------------------
 1337|   239k|    _PyUnicode_HASH(unicode) = -1;
  ------------------
  |  |  154|   239k|    (_PyASCIIObject_CAST(op)->hash)
  |  |  ------------------
  |  |  |  |  186|   239k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|   239k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   239k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1337:5): [True: 239k, False: 0]
  ------------------
 1338|   239k|    _PyUnicode_STATE(unicode).interned = 0;
  ------------------
  |  |  152|   239k|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|   239k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|   239k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   239k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1338:5): [True: 239k, False: 0]
  ------------------
 1339|   239k|    _PyUnicode_STATE(unicode).kind = kind;
  ------------------
  |  |  152|   239k|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|   239k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|   239k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   239k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1339:5): [True: 239k, False: 0]
  ------------------
 1340|   239k|    _PyUnicode_STATE(unicode).compact = 1;
  ------------------
  |  |  152|   239k|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|   239k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|   239k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   239k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1340:5): [True: 239k, False: 0]
  ------------------
 1341|   239k|    _PyUnicode_STATE(unicode).ascii = is_ascii;
  ------------------
  |  |  152|   239k|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|   239k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|   239k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   239k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1341:5): [True: 239k, False: 0]
  ------------------
 1342|   239k|    _PyUnicode_STATE(unicode).statically_allocated = 0;
  ------------------
  |  |  152|   239k|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|   239k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|   239k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   239k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1342:5): [True: 239k, False: 0]
  ------------------
 1343|   239k|    if (is_ascii) {
  ------------------
  |  Branch (1343:9): [True: 29.9k, False: 209k]
  ------------------
 1344|  29.9k|        ((char*)data)[size] = 0;
 1345|  29.9k|    }
 1346|   209k|    else if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (1346:14): [True: 164k, False: 45.3k]
  ------------------
 1347|   164k|        ((char*)data)[size] = 0;
 1348|   164k|        unicode->utf8 = NULL;
 1349|   164k|        unicode->utf8_length = 0;
 1350|   164k|    }
 1351|  45.3k|    else {
 1352|  45.3k|        unicode->utf8 = NULL;
 1353|  45.3k|        unicode->utf8_length = 0;
 1354|  45.3k|        if (kind == PyUnicode_2BYTE_KIND)
  ------------------
  |  Branch (1354:13): [True: 1.65k, False: 43.6k]
  ------------------
 1355|  1.65k|            ((Py_UCS2*)data)[size] = 0;
 1356|  43.6k|        else /* kind == PyUnicode_4BYTE_KIND */
 1357|  43.6k|            ((Py_UCS4*)data)[size] = 0;
 1358|  45.3k|    }
 1359|       |#ifdef Py_DEBUG
 1360|       |    unicode_fill_invalid((PyObject*)unicode, 0);
 1361|       |#endif
 1362|   239k|    assert(_PyUnicode_CheckConsistency((PyObject*)unicode, 0));
  ------------------
  |  Branch (1362:5): [True: 239k, False: 0]
  ------------------
 1363|   239k|    return obj;
 1364|   239k|}
_PyUnicode_FastCopyCharacters:
 1524|  2.68k|{
 1525|  2.68k|    (void)_copy_characters(to, to_start, from, from_start, how_many, 0);
 1526|  2.68k|}
_PyUnicode_IsModifiable:
 1742|    493|{
 1743|    493|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (1743:5): [True: 493, False: 0]
  ------------------
 1744|    493|    if (!PyUnicode_CheckExact(unicode))
  ------------------
  |  |  104|    493|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    493|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    493|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    493|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1744:9): [True: 0, False: 493]
  ------------------
 1745|      0|        return 0;
 1746|       |    // On Free Threading, this test fails if called from a thread other
 1747|       |    // than the one which created the str object.
 1748|    493|    if (!_PyObject_IsUniquelyReferenced(unicode))
  ------------------
  |  Branch (1748:9): [True: 34, False: 459]
  ------------------
 1749|     34|        return 0;
 1750|    459|    if (PyUnicode_HASH(unicode) != -1)
  ------------------
  |  |  156|    459|#define PyUnicode_HASH PyUnstable_Unicode_GET_CACHED_HASH
  ------------------
  |  Branch (1750:9): [True: 0, False: 459]
  ------------------
 1751|      0|        return 0;
 1752|    459|    if (PyUnicode_CHECK_INTERNED(unicode))
  ------------------
  |  |  215|    459|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    459|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    459|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:38): [True: 0, False: 459]
  |  |  ------------------
  ------------------
 1753|      0|        return 0;
 1754|    459|    if (_PyUnicode_HAS_UTF8_MEMORY(unicode)) {
  ------------------
  |  Branch (1754:9): [True: 0, False: 459]
  ------------------
 1755|      0|        return 0;
 1756|      0|    }
 1757|       |#ifdef Py_DEBUG
 1758|       |    /* singleton refcount is greater than 1 */
 1759|       |    assert(!unicode_is_singleton(unicode));
 1760|       |#endif
 1761|    459|    return 1;
 1762|    459|}
PyUnicode_FromWideChar:
 1911|    794|{
 1912|    794|    PyObject *unicode;
 1913|    794|    Py_UCS4 maxchar = 0;
 1914|    794|    Py_ssize_t num_surrogates;
 1915|       |
 1916|    794|    if (u == NULL && size != 0) {
  ------------------
  |  Branch (1916:9): [True: 0, False: 794]
  |  Branch (1916:22): [True: 0, False: 0]
  ------------------
 1917|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1918|      0|        return NULL;
 1919|      0|    }
 1920|       |
 1921|    794|    if (size == -1) {
  ------------------
  |  Branch (1921:9): [True: 82, False: 712]
  ------------------
 1922|     82|        size = wcslen(u);
 1923|     82|    }
 1924|       |
 1925|       |    /* If the Unicode data is known at construction time, we can apply
 1926|       |       some optimizations which share commonly used objects. */
 1927|       |
 1928|       |    /* Optimization for empty strings */
 1929|    794|    if (size == 0)
  ------------------
  |  Branch (1929:9): [True: 4, False: 790]
  ------------------
 1930|      4|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      4|    do {                             \
  |  |  366|      4|        return _PyUnicode_GetEmpty();\
  |  |  367|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1931|       |
 1932|       |#ifdef HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION
 1933|       |    /* Oracle Solaris uses non-Unicode internal wchar_t form for
 1934|       |       non-Unicode locales and hence needs conversion to UCS-4 first. */
 1935|       |    if (_Py_LocaleUsesNonUnicodeWchar()) {
 1936|       |        wchar_t* converted = _Py_DecodeNonUnicodeWchar(u, size);
 1937|       |        if (!converted) {
 1938|       |            return NULL;
 1939|       |        }
 1940|       |        PyObject *unicode = _PyUnicode_FromUCS4(converted, size);
 1941|       |        PyMem_Free(converted);
 1942|       |        return unicode;
 1943|       |    }
 1944|       |#endif
 1945|       |
 1946|       |    /* Single character Unicode objects in the Latin-1 range are
 1947|       |       shared when using this constructor */
 1948|    790|    if (size == 1 && (Py_UCS4)*u < 256)
  ------------------
  |  Branch (1948:9): [True: 0, False: 790]
  |  Branch (1948:22): [True: 0, False: 0]
  ------------------
 1949|      0|        return get_latin1_char((unsigned char)*u);
 1950|       |
 1951|       |    /* If not empty and not single character, copy the Unicode data
 1952|       |       into the new object */
 1953|    790|    if (find_maxchar_surrogates(u, u + size,
  ------------------
  |  Branch (1953:9): [True: 0, False: 790]
  ------------------
 1954|    790|                                &maxchar, &num_surrogates) == -1)
 1955|      0|        return NULL;
 1956|       |
 1957|    790|    unicode = PyUnicode_New(size - num_surrogates, maxchar);
 1958|    790|    if (!unicode)
  ------------------
  |  Branch (1958:9): [True: 0, False: 790]
  ------------------
 1959|      0|        return NULL;
 1960|       |
 1961|    790|    unicode_write_widechar(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  259|    790|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.58k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 790, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  unicode_write_widechar(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  285|    790|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    790|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    790|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1962|    790|                           u, size, num_surrogates);
 1963|       |
 1964|    790|    return unicode_result(unicode);
  ------------------
  |  |  738|    790|#define unicode_result _PyUnicode_Result
  ------------------
 1965|    790|}
PyUnicode_FromStringAndSize:
 2021|    508|{
 2022|    508|    if (size < 0) {
  ------------------
  |  Branch (2022:9): [True: 0, False: 508]
  ------------------
 2023|      0|        PyErr_SetString(PyExc_SystemError,
 2024|      0|                        "Negative size passed to PyUnicode_FromStringAndSize");
 2025|      0|        return NULL;
 2026|      0|    }
 2027|    508|    if (u != NULL) {
  ------------------
  |  Branch (2027:9): [True: 508, False: 0]
  ------------------
 2028|    508|        return PyUnicode_DecodeUTF8Stateful(u, size, NULL, NULL);
 2029|    508|    }
 2030|      0|    if (size > 0) {
  ------------------
  |  Branch (2030:9): [True: 0, False: 0]
  ------------------
 2031|      0|        PyErr_SetString(PyExc_SystemError,
 2032|      0|            "NULL string with positive size with NULL passed to PyUnicode_FromStringAndSize");
 2033|      0|        return NULL;
 2034|      0|    }
 2035|      0|    return _PyUnicode_GetEmpty();
 2036|      0|}
PyUnicode_FromString:
 2040|  11.3k|{
 2041|  11.3k|    size_t size = strlen(u);
 2042|  11.3k|    if (size > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  11.3k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2042:9): [True: 0, False: 11.3k]
  ------------------
 2043|      0|        PyErr_SetString(PyExc_OverflowError, "input too long");
 2044|      0|        return NULL;
 2045|      0|    }
 2046|  11.3k|    return PyUnicode_DecodeUTF8Stateful(u, (Py_ssize_t)size, NULL, NULL);
 2047|  11.3k|}
_PyUnicode_FromASCII:
 2135|    479|{
 2136|    479|    const unsigned char *s = (const unsigned char *)buffer;
 2137|    479|    PyObject *unicode;
 2138|    479|    if (size == 1) {
  ------------------
  |  Branch (2138:9): [True: 0, False: 479]
  ------------------
 2139|       |#ifdef Py_DEBUG
 2140|       |        assert((unsigned char)s[0] < 128);
 2141|       |#endif
 2142|      0|        return get_latin1_char(s[0]);
 2143|      0|    }
 2144|    479|    unicode = PyUnicode_New(size, 127);
 2145|    479|    if (!unicode)
  ------------------
  |  Branch (2145:9): [True: 0, False: 479]
  ------------------
 2146|      0|        return NULL;
 2147|    479|    memcpy(PyUnicode_1BYTE_DATA(unicode), s, size);
  ------------------
  |  |  292|    479|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    479|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2148|    479|    assert(_PyUnicode_CheckConsistency(unicode, 1));
  ------------------
  |  Branch (2148:5): [True: 479, False: 0]
  ------------------
 2149|    479|    return unicode;
 2150|    479|}
PyUnicode_FromKindAndData:
 2331|  14.7k|{
 2332|  14.7k|    if (size < 0) {
  ------------------
  |  Branch (2332:9): [True: 0, False: 14.7k]
  ------------------
 2333|      0|        PyErr_SetString(PyExc_ValueError, "size must be positive");
 2334|      0|        return NULL;
 2335|      0|    }
 2336|  14.7k|    switch (kind) {
 2337|  14.7k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (2337:5): [True: 14.7k, False: 10]
  ------------------
 2338|  14.7k|        return _PyUnicode_FromUCS1(buffer, size);
 2339|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (2339:5): [True: 0, False: 14.7k]
  ------------------
 2340|      0|        return _PyUnicode_FromUCS2(buffer, size);
 2341|     10|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (2341:5): [True: 10, False: 14.7k]
  ------------------
 2342|     10|        return _PyUnicode_FromUCS4(buffer, size);
 2343|      0|    default:
  ------------------
  |  Branch (2343:5): [True: 0, False: 14.7k]
  ------------------
 2344|      0|        PyErr_SetString(PyExc_SystemError, "invalid kind");
 2345|       |        return NULL;
 2346|  14.7k|    }
 2347|  14.7k|}
_PyUnicode_FindMaxChar:
 2351|     21|{
 2352|     21|    int kind;
 2353|     21|    const void *startptr, *endptr;
 2354|       |
 2355|     21|    assert(0 <= start);
  ------------------
  |  Branch (2355:5): [True: 21, False: 0]
  ------------------
 2356|     21|    assert(end <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (2356:5): [True: 21, False: 0]
  ------------------
 2357|     21|    assert(start <= end);
  ------------------
  |  Branch (2357:5): [True: 21, False: 0]
  ------------------
 2358|       |
 2359|     21|    if (start == 0 && end == PyUnicode_GET_LENGTH(unicode))
  ------------------
  |  |  300|     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 (2359:9): [True: 21, False: 0]
  |  Branch (2359:23): [True: 0, False: 21]
  ------------------
 2360|      0|        return PyUnicode_MAX_CHAR_VALUE(unicode);
  ------------------
  |  |  406|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2361|       |
 2362|     21|    if (start == end)
  ------------------
  |  Branch (2362:9): [True: 0, False: 21]
  ------------------
 2363|      0|        return 127;
 2364|       |
 2365|     21|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  228|     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 (228:32): [True: 21, False: 0]
  |  |  ------------------
  ------------------
 2366|     21|        return 127;
 2367|       |
 2368|      0|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2369|      0|    startptr = PyUnicode_DATA(unicode);
  ------------------
  |  |  285|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2370|      0|    endptr = (char *)startptr + end * kind;
 2371|      0|    startptr = (char *)startptr + start * kind;
 2372|      0|    switch(kind) {
 2373|      0|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (2373:5): [True: 0, False: 0]
  ------------------
 2374|      0|        return ucs1lib_find_max_char(startptr, endptr);
 2375|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (2375:5): [True: 0, False: 0]
  ------------------
 2376|      0|        return ucs2lib_find_max_char(startptr, endptr);
 2377|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (2377:5): [True: 0, False: 0]
  ------------------
 2378|      0|        return ucs4lib_find_max_char(startptr, endptr);
 2379|      0|    default:
  ------------------
  |  Branch (2379:5): [True: 0, False: 0]
  ------------------
 2380|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2381|      0|    }
 2382|      0|}
PyUnicode_FromFormatV:
 3167|    160|{
 3168|    160|    _PyUnicodeWriter writer;
 3169|    160|    _PyUnicodeWriter_Init(&writer);
 3170|       |
 3171|    160|    if (unicode_from_format(&writer, format, vargs) < 0) {
  ------------------
  |  Branch (3171:9): [True: 0, False: 160]
  ------------------
 3172|      0|        _PyUnicodeWriter_Dealloc(&writer);
 3173|      0|        return NULL;
 3174|      0|    }
 3175|    160|    return _PyUnicodeWriter_Finish(&writer);
 3176|    160|}
PyUnicode_FromFormat:
 3180|     72|{
 3181|     72|    PyObject* ret;
 3182|     72|    va_list vargs;
 3183|       |
 3184|     72|    va_start(vargs, format);
 3185|     72|    ret = PyUnicode_FromFormatV(format, vargs);
 3186|       |    va_end(vargs);
 3187|     72|    return ret;
 3188|     72|}
PyUnicode_AsWideCharString:
 3343|    194|{
 3344|    194|    wchar_t *buffer;
 3345|    194|    Py_ssize_t buflen;
 3346|       |
 3347|    194|    if (unicode == NULL) {
  ------------------
  |  Branch (3347:9): [True: 0, False: 194]
  ------------------
 3348|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3349|      0|        return NULL;
 3350|      0|    }
 3351|    194|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|    194|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    194|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3351:9): [True: 0, False: 194]
  ------------------
 3352|      0|        PyErr_BadArgument();
 3353|      0|        return NULL;
 3354|      0|    }
 3355|       |
 3356|    194|    buflen = unicode_get_widechar_size(unicode);
 3357|    194|    buffer = (wchar_t *) PyMem_New(wchar_t, (buflen + 1));
  ------------------
  |  |   64|    194|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    194|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 194]
  |  |  ------------------
  |  |   65|    194|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3358|    194|    if (buffer == NULL) {
  ------------------
  |  Branch (3358:9): [True: 0, False: 194]
  ------------------
 3359|      0|        PyErr_NoMemory();
 3360|      0|        return NULL;
 3361|      0|    }
 3362|    194|    unicode_copy_as_widechar(unicode, buffer, buflen + 1);
 3363|       |
 3364|       |#ifdef HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION
 3365|       |    /* Oracle Solaris uses non-Unicode internal wchar_t form for
 3366|       |       non-Unicode locales and hence needs conversion first. */
 3367|       |    if (_Py_LocaleUsesNonUnicodeWchar()) {
 3368|       |        if (_Py_EncodeNonUnicodeWchar_InPlace(buffer, (buflen + 1)) < 0) {
 3369|       |            return NULL;
 3370|       |        }
 3371|       |    }
 3372|       |#endif
 3373|       |
 3374|    194|    if (size != NULL) {
  ------------------
  |  Branch (3374:9): [True: 140, False: 54]
  ------------------
 3375|    140|        *size = buflen;
 3376|    140|    }
 3377|     54|    else if (wcslen(buffer) != (size_t)buflen) {
  ------------------
  |  Branch (3377:14): [True: 0, False: 54]
  ------------------
 3378|      0|        PyMem_Free(buffer);
 3379|      0|        PyErr_SetString(PyExc_ValueError,
 3380|      0|                        "embedded null character");
 3381|      0|        return NULL;
 3382|      0|    }
 3383|    194|    return buffer;
 3384|    194|}
PyUnicode_FromOrdinal:
 3438|     24|{
 3439|     24|    if (ordinal < 0 || ordinal > MAX_UNICODE) {
  ------------------
  |  |  108|     24|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   18|     24|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (3439:9): [True: 0, False: 24]
  |  Branch (3439:24): [True: 0, False: 24]
  ------------------
 3440|      0|        PyErr_SetString(PyExc_ValueError,
 3441|      0|                        "chr() arg not in range(0x110000)");
 3442|      0|        return NULL;
 3443|      0|    }
 3444|       |
 3445|     24|    return unicode_char((Py_UCS4)ordinal);
 3446|     24|}
PyUnicode_FromObject:
 3450|     26|{
 3451|       |    /* XXX Perhaps we should make this API an alias of
 3452|       |       PyObject_Str() instead ?! */
 3453|     26|    if (PyUnicode_CheckExact(obj)) {
  ------------------
  |  |  104|     26|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|     26|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 26, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3454|     26|        return Py_NewRef(obj);
  ------------------
  |  |  647|     26|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3455|     26|    }
 3456|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3457|       |        /* For a Unicode subtype that's not a Unicode object,
 3458|       |           return a true Unicode object with the same data. */
 3459|      0|        return _PyUnicode_Copy(obj);
 3460|      0|    }
 3461|      0|    PyErr_Format(PyExc_TypeError,
 3462|      0|                 "Can't convert '%.100s' object to str implicitly",
 3463|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3464|       |    return NULL;
 3465|      0|}
PyUnicode_FromEncodedObject:
 3471|      4|{
 3472|      4|    Py_buffer buffer;
 3473|      4|    PyObject *v;
 3474|       |
 3475|      4|    if (obj == NULL) {
  ------------------
  |  Branch (3475:9): [True: 0, False: 4]
  ------------------
 3476|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3477|      0|        return NULL;
 3478|      0|    }
 3479|       |
 3480|       |    /* Decoding bytes objects is the most common case and should be fast */
 3481|      4|    if (PyBytes_Check(obj)) {
  ------------------
  |  |   28|      4|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3482|      4|        if (PyBytes_GET_SIZE(obj) == 0) {
  ------------------
  |  |   33|      4|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3482:13): [True: 0, False: 4]
  ------------------
 3483|      0|            if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3483:17): [True: 0, False: 0]
  ------------------
 3484|      0|                return NULL;
 3485|      0|            }
 3486|      0|            _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      0|    do {                             \
  |  |  366|      0|        return _PyUnicode_GetEmpty();\
  |  |  367|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3487|      0|        }
 3488|      4|        return PyUnicode_Decode(
 3489|      4|                PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   27|      4|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   33|      4|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3490|      4|                encoding, errors);
 3491|      4|    }
 3492|       |
 3493|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3494|      0|        PyErr_SetString(PyExc_TypeError,
 3495|      0|                        "decoding str is not supported");
 3496|      0|        return NULL;
 3497|      0|    }
 3498|       |
 3499|       |    /* Retrieve a bytes buffer view through the PEP 3118 buffer interface */
 3500|      0|    if (PyObject_GetBuffer(obj, &buffer, PyBUF_SIMPLE) < 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (3500:9): [True: 0, False: 0]
  ------------------
 3501|      0|        PyErr_Format(PyExc_TypeError,
 3502|      0|                     "decoding to str: need a bytes-like object, %.80s found",
 3503|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3504|      0|        return NULL;
 3505|      0|    }
 3506|       |
 3507|      0|    if (buffer.len == 0) {
  ------------------
  |  Branch (3507:9): [True: 0, False: 0]
  ------------------
 3508|      0|        PyBuffer_Release(&buffer);
 3509|      0|        if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3509:13): [True: 0, False: 0]
  ------------------
 3510|      0|            return NULL;
 3511|      0|        }
 3512|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      0|    do {                             \
  |  |  366|      0|        return _PyUnicode_GetEmpty();\
  |  |  367|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3513|      0|    }
 3514|       |
 3515|      0|    v = PyUnicode_Decode((char*) buffer.buf, buffer.len, encoding, errors);
 3516|      0|    PyBuffer_Release(&buffer);
 3517|      0|    return v;
 3518|      0|}
_Py_normalize_encoding:
 3528|     36|{
 3529|     36|    const char *e;
 3530|     36|    char *l;
 3531|     36|    char *l_end;
 3532|     36|    int punct;
 3533|       |
 3534|     36|    assert(encoding != NULL);
  ------------------
  |  Branch (3534:5): [True: 36, False: 0]
  ------------------
 3535|       |
 3536|     36|    e = encoding;
 3537|     36|    l = lower;
 3538|     36|    l_end = &lower[lower_len - 1];
 3539|     36|    punct = 0;
 3540|    218|    while (1) {
  ------------------
  |  Branch (3540:12): [True: 218, Folded]
  ------------------
 3541|    218|        char c = *e;
 3542|    218|        if (c == 0) {
  ------------------
  |  Branch (3542:13): [True: 36, False: 182]
  ------------------
 3543|     36|            break;
 3544|     36|        }
 3545|       |
 3546|    182|        if (Py_ISALNUM(c) || c == '.') {
  ------------------
  |  |   26|    364|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |  170|    182|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |   12|    182|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   10|    182|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|    182|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    9|    182|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|    182|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (26:24): [True: 148, False: 34]
  |  |  ------------------
  ------------------
  |  Branch (3546:30): [True: 0, False: 34]
  ------------------
 3547|    148|            if (punct && l != lower) {
  ------------------
  |  Branch (3547:17): [True: 34, False: 114]
  |  Branch (3547:26): [True: 34, False: 0]
  ------------------
 3548|     34|                if (l == l_end) {
  ------------------
  |  Branch (3548:21): [True: 0, False: 34]
  ------------------
 3549|      0|                    return 0;
 3550|      0|                }
 3551|     34|                *l++ = '_';
 3552|     34|            }
 3553|    148|            punct = 0;
 3554|       |
 3555|    148|            if (l == l_end) {
  ------------------
  |  Branch (3555:17): [True: 0, False: 148]
  ------------------
 3556|      0|                return 0;
 3557|      0|            }
 3558|    148|            *l++ = to_lower ? Py_TOLOWER(c) : c;
  ------------------
  |  |   32|    140|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|    140|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (3558:20): [True: 140, False: 8]
  ------------------
 3559|    148|        }
 3560|     34|        else {
 3561|     34|            punct = 1;
 3562|     34|        }
 3563|       |
 3564|    182|        e++;
 3565|    182|    }
 3566|     36|    *l = '\0';
 3567|     36|    return 1;
 3568|     36|}
PyUnicode_Decode:
 3575|     28|{
 3576|     28|    PyObject *buffer = NULL, *unicode;
 3577|     28|    Py_buffer info;
 3578|     28|    char buflower[11];   /* strlen("iso-8859-1\0") == 11, longest shortcut */
 3579|       |
 3580|     28|    if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3580:9): [True: 0, False: 28]
  ------------------
 3581|      0|        return NULL;
 3582|      0|    }
 3583|       |
 3584|     28|    if (size == 0) {
  ------------------
  |  Branch (3584:9): [True: 0, False: 28]
  ------------------
 3585|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      0|    do {                             \
  |  |  366|      0|        return _PyUnicode_GetEmpty();\
  |  |  367|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3586|      0|    }
 3587|       |
 3588|     28|    if (encoding == NULL) {
  ------------------
  |  Branch (3588:9): [True: 0, False: 28]
  ------------------
 3589|      0|        return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 3590|      0|    }
 3591|       |
 3592|       |    /* Shortcuts for common default encodings */
 3593|     28|    if (_Py_normalize_encoding(encoding, buflower, sizeof(buflower), 1)) {
  ------------------
  |  Branch (3593:9): [True: 28, False: 0]
  ------------------
 3594|     28|        char *lower = buflower;
 3595|       |
 3596|       |        /* Fast paths */
 3597|     28|        if (lower[0] == 'u' && lower[1] == 't' && lower[2] == 'f') {
  ------------------
  |  Branch (3597:13): [True: 26, False: 2]
  |  Branch (3597:32): [True: 26, False: 0]
  |  Branch (3597:51): [True: 26, False: 0]
  ------------------
 3598|     26|            lower += 3;
 3599|     26|            if (*lower == '_') {
  ------------------
  |  Branch (3599:17): [True: 26, False: 0]
  ------------------
 3600|       |                /* Match "utf8" and "utf_8" */
 3601|     26|                lower++;
 3602|     26|            }
 3603|       |
 3604|     26|            if (lower[0] == '8' && lower[1] == 0) {
  ------------------
  |  Branch (3604:17): [True: 26, False: 0]
  |  Branch (3604:36): [True: 26, False: 0]
  ------------------
 3605|     26|                return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 3606|     26|            }
 3607|      0|            else if (lower[0] == '1' && lower[1] == '6' && lower[2] == 0) {
  ------------------
  |  Branch (3607:22): [True: 0, False: 0]
  |  Branch (3607:41): [True: 0, False: 0]
  |  Branch (3607:60): [True: 0, False: 0]
  ------------------
 3608|      0|                return PyUnicode_DecodeUTF16(s, size, errors, 0);
 3609|      0|            }
 3610|      0|            else if (lower[0] == '3' && lower[1] == '2' && lower[2] == 0) {
  ------------------
  |  Branch (3610:22): [True: 0, False: 0]
  |  Branch (3610:41): [True: 0, False: 0]
  |  Branch (3610:60): [True: 0, False: 0]
  ------------------
 3611|      0|                return PyUnicode_DecodeUTF32(s, size, errors, 0);
 3612|      0|            }
 3613|     26|        }
 3614|      2|        else {
 3615|      2|            if (strcmp(lower, "ascii") == 0
  ------------------
  |  Branch (3615:17): [True: 0, False: 2]
  ------------------
 3616|      2|                || strcmp(lower, "us_ascii") == 0) {
  ------------------
  |  Branch (3616:20): [True: 0, False: 2]
  ------------------
 3617|      0|                return PyUnicode_DecodeASCII(s, size, errors);
 3618|      0|            }
 3619|       |    #ifdef MS_WINDOWS
 3620|       |            else if (strcmp(lower, "mbcs") == 0) {
 3621|       |                return PyUnicode_DecodeMBCS(s, size, errors);
 3622|       |            }
 3623|       |    #endif
 3624|      2|            else if (strcmp(lower, "latin1") == 0
  ------------------
  |  Branch (3624:22): [True: 2, False: 0]
  ------------------
 3625|      0|                     || strcmp(lower, "latin_1") == 0
  ------------------
  |  Branch (3625:25): [True: 0, False: 0]
  ------------------
 3626|      0|                     || strcmp(lower, "iso_8859_1") == 0
  ------------------
  |  Branch (3626:25): [True: 0, False: 0]
  ------------------
 3627|      2|                     || strcmp(lower, "iso8859_1") == 0) {
  ------------------
  |  Branch (3627:25): [True: 0, False: 0]
  ------------------
 3628|      2|                return PyUnicode_DecodeLatin1(s, size, errors);
 3629|      2|            }
 3630|      2|        }
 3631|     28|    }
 3632|       |
 3633|       |    /* Decode via the codec registry */
 3634|      0|    buffer = NULL;
 3635|      0|    if (PyBuffer_FillInfo(&info, NULL, (void *)s, size, 1, PyBUF_FULL_RO) < 0)
  ------------------
  |  |  134|      0|#define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  122|      0|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|      0|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|      0|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|      0|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  |  Branch (3635:9): [True: 0, False: 0]
  ------------------
 3636|      0|        goto onError;
 3637|      0|    buffer = PyMemoryView_FromBuffer(&info);
 3638|      0|    if (buffer == NULL)
  ------------------
  |  Branch (3638:9): [True: 0, False: 0]
  ------------------
 3639|      0|        goto onError;
 3640|      0|    unicode = _PyCodec_DecodeText(buffer, encoding, errors);
 3641|      0|    if (unicode == NULL)
  ------------------
  |  Branch (3641:9): [True: 0, False: 0]
  ------------------
 3642|      0|        goto onError;
 3643|      0|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3643:9): [True: 0, False: 0]
  ------------------
 3644|      0|        PyErr_Format(PyExc_TypeError,
 3645|      0|                     "'%.400s' decoder returned '%.400s' instead of 'str'; "
 3646|      0|                     "use codecs.decode() to decode to arbitrary types",
 3647|      0|                     encoding,
 3648|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3649|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3650|      0|        goto onError;
 3651|      0|    }
 3652|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3653|      0|    return unicode_result(unicode);
  ------------------
  |  |  738|      0|#define unicode_result _PyUnicode_Result
  ------------------
 3654|       |
 3655|      0|  onError:
 3656|      0|    Py_XDECREF(buffer);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3657|       |    return NULL;
 3658|      0|}
PyUnicode_EncodeFSDefault:
 3798|    211|{
 3799|    211|    PyInterpreterState *interp = _PyInterpreterState_GET();
 3800|    211|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
 3801|    211|    if (fs_codec->utf8) {
  ------------------
  |  Branch (3801:9): [True: 129, False: 82]
  ------------------
 3802|    129|        return unicode_encode_utf8(unicode,
 3803|    129|                                   fs_codec->error_handler,
 3804|    129|                                   fs_codec->errors);
 3805|    129|    }
 3806|     82|#ifndef _Py_FORCE_UTF8_FS_ENCODING
 3807|     82|    else if (fs_codec->encoding) {
  ------------------
  |  Branch (3807:14): [True: 0, False: 82]
  ------------------
 3808|      0|        return PyUnicode_AsEncodedString(unicode,
 3809|      0|                                         fs_codec->encoding,
 3810|      0|                                         fs_codec->errors);
 3811|      0|    }
 3812|     82|#endif
 3813|     82|    else {
 3814|       |        /* Before _PyUnicode_InitEncodings() is called, the Python codec
 3815|       |           machinery is not ready and so cannot be used:
 3816|       |           use wcstombs() in this case. */
 3817|     82|        const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 3818|     82|        const wchar_t *filesystem_errors = config->filesystem_errors;
 3819|     82|        assert(filesystem_errors != NULL);
  ------------------
  |  Branch (3819:9): [True: 82, False: 0]
  ------------------
 3820|     82|        _Py_error_handler errors = get_error_handler_wide(filesystem_errors);
 3821|     82|        assert(errors != _Py_ERROR_UNKNOWN);
  ------------------
  |  Branch (3821:9): [True: 82, False: 0]
  ------------------
 3822|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
 3823|       |        return unicode_encode_utf8(unicode, errors, NULL);
 3824|       |#else
 3825|     82|        return unicode_encode_locale(unicode, errors, 0);
 3826|     82|#endif
 3827|     82|    }
 3828|    211|}
PyUnicode_AsEncodedString:
 3834|      6|{
 3835|      6|    PyObject *v;
 3836|      6|    char buflower[11];   /* strlen("iso_8859_1\0") == 11, longest shortcut */
 3837|       |
 3838|      6|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|      6|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3838:9): [True: 0, False: 6]
  ------------------
 3839|      0|        PyErr_BadArgument();
 3840|      0|        return NULL;
 3841|      0|    }
 3842|       |
 3843|      6|    if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3843:9): [True: 0, False: 6]
  ------------------
 3844|      0|        return NULL;
 3845|      0|    }
 3846|       |
 3847|      6|    if (encoding == NULL) {
  ------------------
  |  Branch (3847:9): [True: 0, False: 6]
  ------------------
 3848|      0|        return _PyUnicode_AsUTF8String(unicode, errors);
 3849|      0|    }
 3850|       |
 3851|       |    /* Shortcuts for common default encodings */
 3852|      6|    if (_Py_normalize_encoding(encoding, buflower, sizeof(buflower), 1)) {
  ------------------
  |  Branch (3852:9): [True: 6, False: 0]
  ------------------
 3853|      6|        char *lower = buflower;
 3854|       |
 3855|       |        /* Fast paths */
 3856|      6|        if (lower[0] == 'u' && lower[1] == 't' && lower[2] == 'f') {
  ------------------
  |  Branch (3856:13): [True: 6, False: 0]
  |  Branch (3856:32): [True: 6, False: 0]
  |  Branch (3856:51): [True: 6, False: 0]
  ------------------
 3857|      6|            lower += 3;
 3858|      6|            if (*lower == '_') {
  ------------------
  |  Branch (3858:17): [True: 6, False: 0]
  ------------------
 3859|       |                /* Match "utf8" and "utf_8" */
 3860|      6|                lower++;
 3861|      6|            }
 3862|       |
 3863|      6|            if (lower[0] == '8' && lower[1] == 0) {
  ------------------
  |  Branch (3863:17): [True: 6, False: 0]
  |  Branch (3863:36): [True: 6, False: 0]
  ------------------
 3864|      6|                return _PyUnicode_AsUTF8String(unicode, errors);
 3865|      6|            }
 3866|      0|            else if (lower[0] == '1' && lower[1] == '6' && lower[2] == 0) {
  ------------------
  |  Branch (3866:22): [True: 0, False: 0]
  |  Branch (3866:41): [True: 0, False: 0]
  |  Branch (3866:60): [True: 0, False: 0]
  ------------------
 3867|      0|                return _PyUnicode_EncodeUTF16(unicode, errors, 0);
 3868|      0|            }
 3869|      0|            else if (lower[0] == '3' && lower[1] == '2' && lower[2] == 0) {
  ------------------
  |  Branch (3869:22): [True: 0, False: 0]
  |  Branch (3869:41): [True: 0, False: 0]
  |  Branch (3869:60): [True: 0, False: 0]
  ------------------
 3870|      0|                return _PyUnicode_EncodeUTF32(unicode, errors, 0);
 3871|      0|            }
 3872|      6|        }
 3873|      0|        else {
 3874|      0|            if (strcmp(lower, "ascii") == 0
  ------------------
  |  Branch (3874:17): [True: 0, False: 0]
  ------------------
 3875|      0|                || strcmp(lower, "us_ascii") == 0) {
  ------------------
  |  Branch (3875:20): [True: 0, False: 0]
  ------------------
 3876|      0|                return _PyUnicode_AsASCIIString(unicode, errors);
 3877|      0|            }
 3878|       |#ifdef MS_WINDOWS
 3879|       |            else if (strcmp(lower, "mbcs") == 0) {
 3880|       |                return PyUnicode_EncodeCodePage(CP_ACP, unicode, errors);
 3881|       |            }
 3882|       |#endif
 3883|      0|            else if (strcmp(lower, "latin1") == 0 ||
  ------------------
  |  Branch (3883:22): [True: 0, False: 0]
  ------------------
 3884|      0|                     strcmp(lower, "latin_1") == 0 ||
  ------------------
  |  Branch (3884:22): [True: 0, False: 0]
  ------------------
 3885|      0|                     strcmp(lower, "iso_8859_1") == 0 ||
  ------------------
  |  Branch (3885:22): [True: 0, False: 0]
  ------------------
 3886|      0|                     strcmp(lower, "iso8859_1") == 0) {
  ------------------
  |  Branch (3886:22): [True: 0, False: 0]
  ------------------
 3887|      0|                return _PyUnicode_AsLatin1String(unicode, errors);
 3888|      0|            }
 3889|      0|        }
 3890|      6|    }
 3891|       |
 3892|       |    /* Encode via the codec registry */
 3893|      0|    v = _PyCodec_EncodeText(unicode, encoding, errors);
 3894|      0|    if (v == NULL)
  ------------------
  |  Branch (3894:9): [True: 0, False: 0]
  ------------------
 3895|      0|        return NULL;
 3896|       |
 3897|       |    /* The normal path */
 3898|      0|    if (PyBytes_Check(v))
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3899|      0|        return v;
 3900|       |
 3901|       |    /* If the codec returns a buffer, raise a warning and convert to bytes */
 3902|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3903|      0|        int error;
 3904|      0|        PyObject *b;
 3905|       |
 3906|      0|        error = PyErr_WarnFormat(PyExc_RuntimeWarning, 1,
 3907|      0|            "encoder %s returned bytearray instead of bytes; "
 3908|      0|            "use codecs.encode() to encode to arbitrary types",
 3909|      0|            encoding);
 3910|      0|        if (error) {
  ------------------
  |  Branch (3910:13): [True: 0, False: 0]
  ------------------
 3911|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3912|      0|            return NULL;
 3913|      0|        }
 3914|       |
 3915|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3916|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3917|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3918|      0|        return b;
 3919|      0|    }
 3920|       |
 3921|      0|    PyErr_Format(PyExc_TypeError,
 3922|      0|                 "'%.400s' encoder returned '%.400s' instead of 'bytes'; "
 3923|      0|                 "use codecs.encode() to encode to arbitrary types",
 3924|      0|                 encoding,
 3925|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3926|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3927|       |    return NULL;
 3928|      0|}
PyUnicode_DecodeLocale:
 4015|     44|{
 4016|     44|    Py_ssize_t size = (Py_ssize_t)strlen(str);
 4017|     44|    _Py_error_handler error_handler = _Py_GetErrorHandler(errors);
 4018|     44|    return unicode_decode_locale(str, size, error_handler, 1);
 4019|     44|}
PyUnicode_DecodeFSDefaultAndSize:
 4030|    818|{
 4031|    818|    PyInterpreterState *interp = _PyInterpreterState_GET();
 4032|    818|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
 4033|    818|    if (fs_codec->utf8) {
  ------------------
  |  Branch (4033:9): [True: 170, False: 648]
  ------------------
 4034|    170|        return unicode_decode_utf8(s, size,
 4035|    170|                                   fs_codec->error_handler,
 4036|    170|                                   fs_codec->errors,
 4037|    170|                                   NULL);
 4038|    170|    }
 4039|    648|#ifndef _Py_FORCE_UTF8_FS_ENCODING
 4040|    648|    else if (fs_codec->encoding) {
  ------------------
  |  Branch (4040:14): [True: 0, False: 648]
  ------------------
 4041|      0|        return PyUnicode_Decode(s, size,
 4042|      0|                                fs_codec->encoding,
 4043|      0|                                fs_codec->errors);
 4044|      0|    }
 4045|    648|#endif
 4046|    648|    else {
 4047|       |        /* Before _PyUnicode_InitEncodings() is called, the Python codec
 4048|       |           machinery is not ready and so cannot be used:
 4049|       |           use mbstowcs() in this case. */
 4050|    648|        const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 4051|    648|        const wchar_t *filesystem_errors = config->filesystem_errors;
 4052|    648|        assert(filesystem_errors != NULL);
  ------------------
  |  Branch (4052:9): [True: 648, False: 0]
  ------------------
 4053|    648|        _Py_error_handler errors = get_error_handler_wide(filesystem_errors);
 4054|    648|        assert(errors != _Py_ERROR_UNKNOWN);
  ------------------
  |  Branch (4054:9): [True: 648, False: 0]
  ------------------
 4055|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
 4056|       |        return unicode_decode_utf8(s, size, errors, NULL, NULL);
 4057|       |#else
 4058|    648|        return unicode_decode_locale(s, size, errors, 0);
 4059|    648|#endif
 4060|    648|    }
 4061|    818|}
PyUnicode_FSConverter:
 4066|     37|{
 4067|     37|    PyObject *path = NULL;
 4068|     37|    PyObject *output = NULL;
 4069|     37|    Py_ssize_t size;
 4070|     37|    const char *data;
 4071|     37|    if (arg == NULL) {
  ------------------
  |  Branch (4071:9): [True: 0, False: 37]
  ------------------
 4072|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4073|      0|        *(PyObject**)addr = NULL;
 4074|      0|        return 1;
 4075|      0|    }
 4076|     37|    path = PyOS_FSPath(arg);
 4077|     37|    if (path == NULL) {
  ------------------
  |  Branch (4077:9): [True: 0, False: 37]
  ------------------
 4078|      0|        return 0;
 4079|      0|    }
 4080|     37|    if (PyBytes_Check(path)) {
  ------------------
  |  |   28|     37|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     37|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 37]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4081|      0|        output = path;
 4082|      0|    }
 4083|     37|    else {  // PyOS_FSPath() guarantees its returned value is bytes or str.
 4084|     37|        output = PyUnicode_EncodeFSDefault(path);
 4085|     37|        Py_DECREF(path);
  ------------------
  |  |  430|     37|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4086|     37|        if (!output) {
  ------------------
  |  Branch (4086:13): [True: 0, False: 37]
  ------------------
 4087|      0|            return 0;
 4088|      0|        }
 4089|     37|        assert(PyBytes_Check(output));
  ------------------
  |  Branch (4089:9): [True: 37, False: 0]
  ------------------
 4090|     37|    }
 4091|       |
 4092|     37|    size = PyBytes_GET_SIZE(output);
  ------------------
  |  |   33|     37|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4093|     37|    data = PyBytes_AS_STRING(output);
  ------------------
  |  |   27|     37|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4094|     37|    if ((size_t)size != strlen(data)) {
  ------------------
  |  Branch (4094:9): [True: 0, False: 37]
  ------------------
 4095|      0|        PyErr_SetString(PyExc_ValueError, "embedded null byte");
 4096|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4097|      0|        return 0;
 4098|      0|    }
 4099|     37|    *(PyObject**)addr = output;
 4100|     37|    return Py_CLEANUP_SUPPORTED;
  ------------------
  |  |   57|     37|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
 4101|     37|}
PyUnicode_FSDecoder:
 4106|     33|{
 4107|     33|    if (arg == NULL) {
  ------------------
  |  Branch (4107:9): [True: 0, False: 33]
  ------------------
 4108|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4109|      0|        *(PyObject**)addr = NULL;
 4110|      0|        return 1;
 4111|      0|    }
 4112|       |
 4113|     33|    PyObject *path = PyOS_FSPath(arg);
 4114|     33|    if (path == NULL) {
  ------------------
  |  Branch (4114:9): [True: 0, False: 33]
  ------------------
 4115|      0|        return 0;
 4116|      0|    }
 4117|       |
 4118|     33|    PyObject *output = NULL;
 4119|     33|    if (PyUnicode_Check(path)) {
  ------------------
  |  |  103|     33|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     33|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 33, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4120|     33|        output = path;
 4121|     33|    }
 4122|      0|    else if (PyBytes_Check(path)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4123|      0|        output = PyUnicode_DecodeFSDefaultAndSize(PyBytes_AS_STRING(path),
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4124|      0|                                                  PyBytes_GET_SIZE(path));
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4125|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4126|      0|        if (!output) {
  ------------------
  |  Branch (4126:13): [True: 0, False: 0]
  ------------------
 4127|      0|            return 0;
 4128|      0|        }
 4129|      0|    }
 4130|      0|    else {
 4131|      0|        PyErr_Format(PyExc_TypeError,
 4132|      0|                     "path should be string, bytes, or os.PathLike, not %.200s",
 4133|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4134|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4135|      0|        return 0;
 4136|      0|    }
 4137|       |
 4138|     33|    if (findchar(PyUnicode_DATA(output), PyUnicode_KIND(output),
  ------------------
  |  |  285|     33|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (findchar(PyUnicode_DATA(output), PyUnicode_KIND(output),
  ------------------
  |  |  259|     33|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     66|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 33, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4138:9): [True: 0, False: 33]
  ------------------
 4139|     33|                 PyUnicode_GET_LENGTH(output), 0, 1) >= 0) {
  ------------------
  |  |  300|     33|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4140|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 4141|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4142|      0|        return 0;
 4143|      0|    }
 4144|     33|    *(PyObject**)addr = output;
 4145|     33|    return Py_CLEANUP_SUPPORTED;
  ------------------
  |  |   57|     33|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
 4146|     33|}
PyUnicode_AsUTF8AndSize:
 4168|  1.22k|{
 4169|  1.22k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|  1.22k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.22k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4169:9): [True: 0, False: 1.22k]
  ------------------
 4170|      0|        PyErr_BadArgument();
 4171|      0|        if (psize) {
  ------------------
  |  Branch (4171:13): [True: 0, False: 0]
  ------------------
 4172|      0|            *psize = -1;
 4173|      0|        }
 4174|      0|        return NULL;
 4175|      0|    }
 4176|       |
 4177|  1.22k|    if (unicode_ensure_utf8(unicode) == -1) {
  ------------------
  |  Branch (4177:9): [True: 0, False: 1.22k]
  ------------------
 4178|      0|        if (psize) {
  ------------------
  |  Branch (4178:13): [True: 0, False: 0]
  ------------------
 4179|      0|            *psize = -1;
 4180|      0|        }
 4181|      0|        return NULL;
 4182|      0|    }
 4183|       |
 4184|  1.22k|    if (psize) {
  ------------------
  |  Branch (4184:9): [True: 816, False: 407]
  ------------------
 4185|    816|        *psize = PyUnicode_UTF8_LENGTH(unicode);
 4186|    816|    }
 4187|  1.22k|    return PyUnicode_UTF8(unicode);
 4188|  1.22k|}
PyUnicode_AsUTF8:
 4192|    407|{
 4193|       |    return PyUnicode_AsUTF8AndSize(unicode, NULL);
 4194|    407|}
_PyUnicode_AsUTF8NoNUL:
 4198|    404|{
 4199|    404|    Py_ssize_t size;
 4200|    404|    const char *s = PyUnicode_AsUTF8AndSize(unicode, &size);
 4201|    404|    if (s && strlen(s) != (size_t)size) {
  ------------------
  |  Branch (4201:9): [True: 404, False: 0]
  |  Branch (4201:14): [True: 0, False: 404]
  ------------------
 4202|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 4203|      0|        return NULL;
 4204|      0|    }
 4205|    404|    return s;
 4206|    404|}
PyUnicode_GetLength:
 4226|     68|{
 4227|     68|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|     68|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     68|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4227:9): [True: 0, False: 68]
  ------------------
 4228|      0|        PyErr_BadArgument();
 4229|      0|        return -1;
 4230|      0|    }
 4231|     68|    return PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|     68|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4232|     68|}
PyUnicode_DecodeUTF8:
 4922|   209k|{
 4923|       |    return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 4924|   209k|}
_PyUnicode_DecodeUTF8Writer:
 5417|     65|{
 5418|     65|    if (size == 0) {
  ------------------
  |  Branch (5418:9): [True: 0, False: 65]
  ------------------
 5419|      0|        if (consumed) {
  ------------------
  |  Branch (5419:13): [True: 0, False: 0]
  ------------------
 5420|      0|            *consumed = 0;
 5421|      0|        }
 5422|      0|        return 0;
 5423|      0|    }
 5424|       |
 5425|     65|    Py_ssize_t old_pos = writer->pos;
 5426|     65|    Py_UCS4 old_maxchar = writer->maxchar;
 5427|       |
 5428|       |    // fast path: try ASCII string.
 5429|     65|    if (_PyUnicodeWriter_Prepare(writer, size, 127) < 0) {
  ------------------
  |  Branch (5429:9): [True: 0, False: 65]
  ------------------
 5430|      0|        goto error;
 5431|      0|    }
 5432|     65|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (5432:5): [True: 65, False: 0]
  ------------------
 5433|       |
 5434|     65|    const char *starts = s;
 5435|     65|    const char *end = s + size;
 5436|     65|    if (writer->kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (5436:9): [True: 65, False: 0]
  ------------------
 5437|     65|        Py_UCS1 *dest = (Py_UCS1*)writer->data + writer->pos * writer->kind;
 5438|     65|        Py_ssize_t decoded = ascii_decode(s, end, dest);
 5439|     65|        writer->pos += decoded;
 5440|       |
 5441|     65|        if (decoded == size) {
  ------------------
  |  Branch (5441:13): [True: 65, False: 0]
  ------------------
 5442|     65|            if (consumed) {
  ------------------
  |  Branch (5442:17): [True: 0, False: 65]
  ------------------
 5443|      0|                *consumed = size;
 5444|      0|            }
 5445|     65|            return 0;
 5446|     65|        }
 5447|      0|        s += decoded;
 5448|      0|    }
 5449|       |
 5450|      0|    int res = unicode_decode_utf8_impl(writer, starts, s, end,
 5451|      0|                                       error_handler, errors, consumed);
 5452|      0|    if (res < 0) {
  ------------------
  |  Branch (5452:9): [True: 0, False: 0]
  ------------------
 5453|      0|        goto error;
 5454|      0|    }
 5455|      0|    return 0;
 5456|       |
 5457|      0|error:
 5458|       |    // Restore the writer to its previous state
 5459|      0|    writer->pos = old_pos;
 5460|      0|    if (writer->maxchar > old_maxchar) {
  ------------------
  |  Branch (5460:9): [True: 0, False: 0]
  ------------------
 5461|       |        // _PyUnicodeWriter_Finish() will check maxchar
 5462|      0|        writer->recheck_maxchar = 1;
 5463|      0|    }
 5464|      0|    if (consumed) {
  ------------------
  |  Branch (5464:9): [True: 0, False: 0]
  ------------------
 5465|      0|        *consumed = 0;
 5466|      0|    }
 5467|      0|    return -1;
 5468|      0|}
PyUnicode_DecodeUTF8Stateful:
 5476|   222k|{
 5477|   222k|    return unicode_decode_utf8(s, size,
 5478|   222k|                               errors ? _Py_ERROR_UNKNOWN : _Py_ERROR_STRICT,
  ------------------
  |  Branch (5478:32): [True: 92, False: 221k]
  ------------------
 5479|   222k|                               errors, consumed);
 5480|   222k|}
_Py_DecodeUTF8:
 5504|    660|{
 5505|    660|    assert(0 <= size);
  ------------------
  |  Branch (5505:5): [True: 660, False: 0]
  ------------------
 5506|    660|    assert(s != NULL);
  ------------------
  |  Branch (5506:5): [True: 660, False: 0]
  ------------------
 5507|    660|    assert(wstr != NULL);
  ------------------
  |  Branch (5507:5): [True: 660, False: 0]
  ------------------
 5508|       |
 5509|    660|    int surrogateescape = 0;
 5510|    660|    int surrogatepass = 0;
 5511|    660|    switch (errors)
 5512|    660|    {
 5513|      0|    case _Py_ERROR_STRICT:
  ------------------
  |  Branch (5513:5): [True: 0, False: 660]
  ------------------
 5514|      0|        break;
 5515|    660|    case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (5515:5): [True: 660, False: 0]
  ------------------
 5516|    660|        surrogateescape = 1;
 5517|    660|        break;
 5518|      0|    case _Py_ERROR_SURROGATEPASS:
  ------------------
  |  Branch (5518:5): [True: 0, False: 660]
  ------------------
 5519|      0|        surrogatepass = 1;
 5520|      0|        break;
 5521|      0|    default:
  ------------------
  |  Branch (5521:5): [True: 0, False: 660]
  ------------------
 5522|      0|        return _Py_CODEC_UNSUPPORTED_ERROR_HANDLER;
  ------------------
  |  |  191|      0|#define _Py_CODEC_UNSUPPORTED_ERROR_HANDLER -3
  ------------------
 5523|    660|    }
 5524|       |
 5525|       |    /* Note: size will always be longer than the resulting Unicode
 5526|       |       character count */
 5527|    660|    if ((size_t)PY_SSIZE_T_MAX / sizeof(wchar_t) - 1 < (size_t)size) {
  ------------------
  |  |  137|    660|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (5527:9): [True: 0, False: 660]
  ------------------
 5528|      0|        return _Py_CODEC_MEMORY_ERROR;
  ------------------
  |  |  188|      0|#define _Py_CODEC_MEMORY_ERROR -1
  ------------------
 5529|      0|    }
 5530|    660|    wchar_t *unicode = PyMem_RawMalloc((size + 1) * sizeof(wchar_t));
 5531|    660|    if (!unicode) {
  ------------------
  |  Branch (5531:9): [True: 0, False: 660]
  ------------------
 5532|      0|        return _Py_CODEC_MEMORY_ERROR;
  ------------------
  |  |  188|      0|#define _Py_CODEC_MEMORY_ERROR -1
  ------------------
 5533|      0|    }
 5534|       |
 5535|       |    /* Unpack UTF-8 encoded data */
 5536|    660|    const char *orig_s = s;
 5537|    660|    const char *e = s + size;
 5538|    660|    Py_ssize_t outpos = 0;
 5539|    660|    while (s < e) {
  ------------------
  |  Branch (5539:12): [True: 660, False: 0]
  ------------------
 5540|    660|        Py_UCS4 ch;
 5541|    660|#if SIZEOF_WCHAR_T == 4
 5542|    660|        ch = ucs4lib_utf8_decode(&s, e, (Py_UCS4 *)unicode, &outpos);
 5543|       |#else
 5544|       |        ch = ucs2lib_utf8_decode(&s, e, (Py_UCS2 *)unicode, &outpos);
 5545|       |#endif
 5546|    660|        if (ch > 0xFF) {
  ------------------
  |  Branch (5546:13): [True: 0, False: 660]
  ------------------
 5547|      0|#if SIZEOF_WCHAR_T == 4
 5548|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5549|       |#else
 5550|       |            assert(ch > 0xFFFF && ch <= MAX_UNICODE);
 5551|       |            /* write a surrogate pair */
 5552|       |            unicode[outpos++] = (wchar_t)Py_UNICODE_HIGH_SURROGATE(ch);
 5553|       |            unicode[outpos++] = (wchar_t)Py_UNICODE_LOW_SURROGATE(ch);
 5554|       |#endif
 5555|      0|        }
 5556|    660|        else {
 5557|    660|            if (!ch && s == e) {
  ------------------
  |  Branch (5557:17): [True: 660, False: 0]
  |  Branch (5557:24): [True: 660, False: 0]
  ------------------
 5558|    660|                break;
 5559|    660|            }
 5560|       |
 5561|      0|            if (surrogateescape) {
  ------------------
  |  Branch (5561:17): [True: 0, False: 0]
  ------------------
 5562|      0|                unicode[outpos++] = 0xDC00 + (unsigned char)*s++;
 5563|      0|            }
 5564|      0|            else {
 5565|       |                /* Is it a valid three-byte code? */
 5566|      0|                if (surrogatepass
  ------------------
  |  Branch (5566:21): [True: 0, False: 0]
  ------------------
 5567|      0|                    && (e - s) >= 3
  ------------------
  |  Branch (5567:24): [True: 0, False: 0]
  ------------------
 5568|      0|                    && (s[0] & 0xf0) == 0xe0
  ------------------
  |  Branch (5568:24): [True: 0, False: 0]
  ------------------
 5569|      0|                    && (s[1] & 0xc0) == 0x80
  ------------------
  |  Branch (5569:24): [True: 0, False: 0]
  ------------------
 5570|      0|                    && (s[2] & 0xc0) == 0x80)
  ------------------
  |  Branch (5570:24): [True: 0, False: 0]
  ------------------
 5571|      0|                {
 5572|      0|                    ch = ((s[0] & 0x0f) << 12) + ((s[1] & 0x3f) << 6) + (s[2] & 0x3f);
 5573|      0|                    s += 3;
 5574|      0|                    unicode[outpos++] = ch;
 5575|      0|                }
 5576|      0|                else {
 5577|      0|                    PyMem_RawFree(unicode );
 5578|      0|                    if (wlen != NULL) {
  ------------------
  |  Branch (5578:25): [True: 0, False: 0]
  ------------------
 5579|      0|                        *wlen = s - orig_s;
 5580|      0|                    }
 5581|      0|                    return _Py_CODEC_DECODE_ERROR;
  ------------------
  |  |  189|      0|#define _Py_CODEC_DECODE_ERROR -2
  ------------------
 5582|      0|                }
 5583|      0|            }
 5584|      0|        }
 5585|    660|    }
 5586|    660|    unicode[outpos] = L'\0';
 5587|    660|    if (wlen) {
  ------------------
  |  Branch (5587:9): [True: 660, False: 0]
  ------------------
 5588|    660|        *wlen = outpos;
 5589|    660|    }
 5590|    660|    *wstr = unicode;
 5591|    660|    return 0;
 5592|    660|}
_Py_EncodeUTF8:
 5634|    100|{
 5635|    100|    assert(str != NULL);
  ------------------
  |  Branch (5635:5): [True: 100, False: 0]
  ------------------
 5636|    100|    assert(output_length != NULL);
  ------------------
  |  Branch (5636:5): [True: 100, False: 0]
  ------------------
 5637|       |
 5638|       |    // U+10ffff encoded to UTF-8 takes 4 bytes
 5639|    100|    const size_t max_char_size = 4;
 5640|    100|    size_t len = wcslen(text);
 5641|       |
 5642|    100|    int surrogateescape = 0;
 5643|    100|    int surrogatepass = 0;
 5644|    100|    switch (errors)
 5645|    100|    {
 5646|      8|    case _Py_ERROR_STRICT:
  ------------------
  |  Branch (5646:5): [True: 8, False: 92]
  ------------------
 5647|      8|        break;
 5648|     92|    case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (5648:5): [True: 92, False: 8]
  ------------------
 5649|     92|        surrogateescape = 1;
 5650|     92|        break;
 5651|      0|    case _Py_ERROR_SURROGATEPASS:
  ------------------
  |  Branch (5651:5): [True: 0, False: 100]
  ------------------
 5652|      0|        surrogatepass = 1;
 5653|      0|        break;
 5654|      0|    default:
  ------------------
  |  Branch (5654:5): [True: 0, False: 100]
  ------------------
 5655|      0|        return _Py_CODEC_UNSUPPORTED_ERROR_HANDLER;
  ------------------
  |  |  191|      0|#define _Py_CODEC_UNSUPPORTED_ERROR_HANDLER -3
  ------------------
 5656|    100|    }
 5657|       |
 5658|    100|    if (len > (size_t)PY_SSIZE_T_MAX / max_char_size - 1) {
  ------------------
  |  |  137|    100|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (5658:9): [True: 0, False: 100]
  ------------------
 5659|      0|        return _Py_CODEC_MEMORY_ERROR;
  ------------------
  |  |  188|      0|#define _Py_CODEC_MEMORY_ERROR -1
  ------------------
 5660|      0|    }
 5661|    100|    char *bytes;
 5662|    100|    if (raw_malloc) {
  ------------------
  |  Branch (5662:9): [True: 100, False: 0]
  ------------------
 5663|    100|        bytes = PyMem_RawMalloc((len + 1) * max_char_size);
 5664|    100|    }
 5665|      0|    else {
 5666|      0|        bytes = PyMem_Malloc((len + 1) * max_char_size);
 5667|      0|    }
 5668|    100|    if (bytes == NULL) {
  ------------------
  |  Branch (5668:9): [True: 0, False: 100]
  ------------------
 5669|      0|        return _Py_CODEC_MEMORY_ERROR;
  ------------------
  |  |  188|      0|#define _Py_CODEC_MEMORY_ERROR -1
  ------------------
 5670|      0|    }
 5671|       |
 5672|    100|    char *p = bytes;
 5673|  6.48k|    for (size_t i = 0; i < len; ) {
  ------------------
  |  Branch (5673:24): [True: 6.38k, False: 100]
  ------------------
 5674|  6.38k|        Py_ssize_t ch_pos = i;
 5675|  6.38k|        Py_UCS4 ch = text[i];
 5676|  6.38k|        i++;
 5677|  6.38k|        if (sizeof(wchar_t) == 2
  ------------------
  |  Branch (5677:13): [Folded, False: 6.38k]
  ------------------
 5678|      0|            && Py_UNICODE_IS_HIGH_SURROGATE(ch)
  ------------------
  |  Branch (5678:16): [True: 0, False: 0]
  ------------------
 5679|      0|            && i < len
  ------------------
  |  Branch (5679:16): [True: 0, False: 0]
  ------------------
 5680|      0|            && Py_UNICODE_IS_LOW_SURROGATE(text[i]))
  ------------------
  |  Branch (5680:16): [True: 0, False: 0]
  ------------------
 5681|      0|        {
 5682|      0|            ch = Py_UNICODE_JOIN_SURROGATES(ch, text[i]);
 5683|      0|            i++;
 5684|      0|        }
 5685|       |
 5686|  6.38k|        if (ch < 0x80) {
  ------------------
  |  Branch (5686:13): [True: 6.38k, False: 0]
  ------------------
 5687|       |            /* Encode ASCII */
 5688|  6.38k|            *p++ = (char) ch;
 5689|  6.38k|        }
 5690|      0|        else if (ch < 0x0800) {
  ------------------
  |  Branch (5690:18): [True: 0, False: 0]
  ------------------
 5691|       |            /* Encode Latin-1 */
 5692|      0|            *p++ = (char)(0xc0 | (ch >> 6));
 5693|      0|            *p++ = (char)(0x80 | (ch & 0x3f));
 5694|      0|        }
 5695|      0|        else if (Py_UNICODE_IS_SURROGATE(ch) && !surrogatepass) {
  ------------------
  |  Branch (5695:18): [True: 0, False: 0]
  |  Branch (5695:49): [True: 0, False: 0]
  ------------------
 5696|       |            /* surrogateescape error handler */
 5697|      0|            if (!surrogateescape || !(0xDC80 <= ch && ch <= 0xDCFF)) {
  ------------------
  |  Branch (5697:17): [True: 0, False: 0]
  |  Branch (5697:39): [True: 0, False: 0]
  |  Branch (5697:55): [True: 0, False: 0]
  ------------------
 5698|      0|                if (error_pos != NULL) {
  ------------------
  |  Branch (5698:21): [True: 0, False: 0]
  ------------------
 5699|      0|                    *error_pos = (size_t)ch_pos;
 5700|      0|                }
 5701|      0|                if (raw_malloc) {
  ------------------
  |  Branch (5701:21): [True: 0, False: 0]
  ------------------
 5702|      0|                    PyMem_RawFree(bytes);
 5703|      0|                }
 5704|      0|                else {
 5705|      0|                    PyMem_Free(bytes);
 5706|      0|                }
 5707|      0|                return _Py_CODEC_ENCODE_ERROR;
  ------------------
  |  |  190|      0|#define _Py_CODEC_ENCODE_ERROR -2
  ------------------
 5708|      0|            }
 5709|      0|            *p++ = (char)(ch & 0xff);
 5710|      0|        }
 5711|      0|        else if (ch < 0x10000) {
  ------------------
  |  Branch (5711:18): [True: 0, False: 0]
  ------------------
 5712|      0|            *p++ = (char)(0xe0 | (ch >> 12));
 5713|      0|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
 5714|      0|            *p++ = (char)(0x80 | (ch & 0x3f));
 5715|      0|        }
 5716|      0|        else {  /* ch >= 0x10000 */
 5717|      0|            assert(ch <= MAX_UNICODE);
  ------------------
  |  Branch (5717:13): [True: 0, False: 0]
  ------------------
 5718|       |            /* Encode UCS4 Unicode ordinals */
 5719|      0|            *p++ = (char)(0xf0 | (ch >> 18));
 5720|      0|            *p++ = (char)(0x80 | ((ch >> 12) & 0x3f));
 5721|      0|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
 5722|      0|            *p++ = (char)(0x80 | (ch & 0x3f));
 5723|      0|        }
 5724|  6.38k|    }
 5725|       |
 5726|    100|    *p++ = '\0';  // trailing NUL byte
 5727|    100|    size_t final_size = (p - bytes);
 5728|    100|    assert(final_size >= 1);
  ------------------
  |  Branch (5728:5): [True: 100, False: 0]
  ------------------
 5729|    100|    *output_length = final_size - 1;  // -1 for the trailing NUL byte
 5730|       |
 5731|    100|    char *result;
 5732|    100|    if (raw_malloc) {
  ------------------
  |  Branch (5732:9): [True: 100, False: 0]
  ------------------
 5733|    100|        result = PyMem_RawRealloc(bytes, final_size);
 5734|    100|    }
 5735|      0|    else {
 5736|      0|        result = PyMem_Realloc(bytes, final_size);
 5737|      0|    }
 5738|    100|    if (result == NULL) {
  ------------------
  |  Branch (5738:9): [True: 0, False: 100]
  ------------------
 5739|      0|        if (raw_malloc) {
  ------------------
  |  Branch (5739:13): [True: 0, False: 0]
  ------------------
 5740|      0|            PyMem_RawFree(bytes);
 5741|      0|        }
 5742|      0|        else {
 5743|      0|            PyMem_Free(bytes);
 5744|      0|        }
 5745|      0|        return _Py_CODEC_MEMORY_ERROR;
  ------------------
  |  |  188|      0|#define _Py_CODEC_MEMORY_ERROR -1
  ------------------
 5746|      0|    }
 5747|    100|    *str = result;
 5748|    100|    return 0;
 5749|    100|}
_PyUnicode_AsUTF8String:
 5858|      9|{
 5859|      9|    return unicode_encode_utf8(unicode, _Py_ERROR_UNKNOWN, errors);
 5860|      9|}
PyUnicode_AsUTF8String:
 5865|      3|{
 5866|       |    return _PyUnicode_AsUTF8String(unicode, NULL);
 5867|      3|}
_PyUnicode_GetNameCAPI:
 6525|      2|{
 6526|      2|    PyInterpreterState *interp = _PyInterpreterState_GET();
 6527|      2|    _PyUnicode_Name_CAPI *ucnhash_capi;
 6528|       |
 6529|      2|    ucnhash_capi = _Py_atomic_load_ptr(&interp->unicode.ucnhash_capi);
 6530|      2|    if (ucnhash_capi == NULL) {
  ------------------
  |  Branch (6530:9): [True: 1, False: 1]
  ------------------
 6531|      1|        ucnhash_capi = (_PyUnicode_Name_CAPI *)PyCapsule_Import(
 6532|      1|                PyUnicodeData_CAPSULE_NAME, 1);
  ------------------
  |  |   14|      1|#define PyUnicodeData_CAPSULE_NAME "unicodedata._ucnhash_CAPI"
  ------------------
 6533|       |
 6534|       |        // It's fine if we overwrite the value here. It's always the same value.
 6535|      1|        _Py_atomic_store_ptr(&interp->unicode.ucnhash_capi, ucnhash_capi);
 6536|      1|    }
 6537|      2|    return ucnhash_capi;
 6538|      2|}
_PyUnicode_DecodeUnicodeEscapeInternal2:
 6549|     42|{
 6550|     42|    const char *starts = s;
 6551|     42|    const char *initial_starts = starts;
 6552|     42|    _PyUnicodeWriter writer;
 6553|     42|    const char *end;
 6554|     42|    PyObject *errorHandler = NULL;
 6555|     42|    PyObject *exc = NULL;
 6556|     42|    _PyUnicode_Name_CAPI *ucnhash_capi;
 6557|       |
 6558|       |    // so we can remember if we've seen an invalid escape char or not
 6559|     42|    *first_invalid_escape_char = -1;
 6560|     42|    *first_invalid_escape_ptr = NULL;
 6561|       |
 6562|     42|    if (size == 0) {
  ------------------
  |  Branch (6562:9): [True: 0, False: 42]
  ------------------
 6563|      0|        if (consumed) {
  ------------------
  |  Branch (6563:13): [True: 0, False: 0]
  ------------------
 6564|      0|            *consumed = 0;
 6565|      0|        }
 6566|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      0|    do {                             \
  |  |  366|      0|        return _PyUnicode_GetEmpty();\
  |  |  367|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6567|      0|    }
 6568|       |    /* Escaped strings will always be longer than the resulting
 6569|       |       Unicode string, so we start with size here and then reduce the
 6570|       |       length after conversion to the true value.
 6571|       |       (but if the error callback returns a long replacement string
 6572|       |       we'll have to allocate more space) */
 6573|     42|    _PyUnicodeWriter_Init(&writer);
 6574|     42|    writer.min_length = size;
 6575|     42|    if (_PyUnicodeWriter_Prepare(&writer, size, 127) < 0) {
  ------------------
  |  Branch (6575:9): [True: 0, False: 42]
  ------------------
 6576|      0|        goto onError;
 6577|      0|    }
 6578|       |
 6579|     42|    end = s + size;
 6580|  19.2M|    while (s < end) {
  ------------------
  |  Branch (6580:12): [True: 19.2M, False: 40]
  ------------------
 6581|  19.2M|        unsigned char c = (unsigned char) *s++;
 6582|  19.2M|        Py_UCS4 ch;
 6583|  19.2M|        int count;
 6584|  19.2M|        const char *message;
 6585|       |
 6586|  19.2M|#define WRITE_ASCII_CHAR(ch)                                                  \
 6587|  19.2M|            do {                                                              \
 6588|  19.2M|                assert(ch <= 127);                                            \
 6589|  19.2M|                assert(writer.pos < writer.size);                             \
 6590|  19.2M|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
 6591|  19.2M|            } while(0)
 6592|       |
 6593|  19.2M|#define WRITE_CHAR(ch)                                                        \
 6594|  19.2M|            do {                                                              \
 6595|  19.2M|                if (ch <= writer.maxchar) {                                   \
 6596|  19.2M|                    assert(writer.pos < writer.size);                         \
 6597|  19.2M|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
 6598|  19.2M|                }                                                             \
 6599|  19.2M|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
 6600|  19.2M|                    goto onError;                                             \
 6601|  19.2M|                }                                                             \
 6602|  19.2M|            } while(0)
 6603|       |
 6604|       |        /* Non-escape characters are interpreted as Unicode ordinals */
 6605|  19.2M|        if (c != '\\') {
  ------------------
  |  Branch (6605:13): [True: 15.0M, False: 4.18M]
  ------------------
 6606|  15.0M|            WRITE_CHAR(c);
  ------------------
  |  | 6594|  15.0M|            do {                                                              \
  |  | 6595|  15.0M|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6595:21): [True: 15.0M, False: 0]
  |  |  ------------------
  |  | 6596|  15.0M|                    assert(writer.pos < writer.size);                         \
  |  | 6597|  15.0M|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  336|  15.0M|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  15.0M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|  15.0M|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  15.0M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6598|  15.0M|                }                                                             \
  |  | 6599|  15.0M|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6599:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 6600|      0|                    goto onError;                                             \
  |  | 6601|      0|                }                                                             \
  |  | 6602|  15.0M|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6602:21): [Folded, False: 15.0M]
  |  |  ------------------
  ------------------
  |  Branch (6606:13): [True: 15.0M, False: 0]
  ------------------
 6607|  15.0M|            continue;
 6608|  15.0M|        }
 6609|       |
 6610|  4.18M|        Py_ssize_t startinpos = s - starts - 1;
 6611|       |        /* \ - Escapes */
 6612|  4.18M|        if (s >= end) {
  ------------------
  |  Branch (6612:13): [True: 0, False: 4.18M]
  ------------------
 6613|      0|            message = "\\ at end of string";
 6614|      0|            goto incomplete;
 6615|      0|        }
 6616|  4.18M|        c = (unsigned char) *s++;
 6617|       |
 6618|  4.18M|        assert(writer.pos < writer.size);
  ------------------
  |  Branch (6618:9): [True: 4.18M, False: 0]
  ------------------
 6619|  4.18M|        switch (c) {
 6620|       |
 6621|       |            /* \x escapes */
 6622|      0|        case '\n': continue;
  ------------------
  |  Branch (6622:9): [True: 0, False: 4.18M]
  ------------------
 6623|   361k|        case '\\': WRITE_ASCII_CHAR('\\'); continue;
  ------------------
  |  | 6587|   361k|            do {                                                              \
  |  | 6588|   361k|                assert(ch <= 127);                                            \
  |  | 6589|   361k|                assert(writer.pos < writer.size);                             \
  |  | 6590|   361k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|   361k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   361k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   361k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|   361k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   361k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|   361k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 361k]
  |  |  ------------------
  ------------------
  |  Branch (6623:9): [True: 361k, False: 3.81M]
  |  Branch (6623:20): [True: 361k, Folded]
  |  Branch (6623:20): [True: 361k, False: 0]
  ------------------
 6624|   361k|        case '\'': WRITE_ASCII_CHAR('\''); continue;
  ------------------
  |  | 6587|      0|            do {                                                              \
  |  | 6588|      0|                assert(ch <= 127);                                            \
  |  | 6589|      0|                assert(writer.pos < writer.size);                             \
  |  | 6590|      0|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|      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))
  |  |  |  |  ------------------
  |  |  |  |  337|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|      0|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (6624:9): [True: 0, False: 4.18M]
  |  Branch (6624:20): [True: 0, Folded]
  |  Branch (6624:20): [True: 0, False: 0]
  ------------------
 6625|   420k|        case '\"': WRITE_ASCII_CHAR('\"'); continue;
  ------------------
  |  | 6587|   420k|            do {                                                              \
  |  | 6588|   420k|                assert(ch <= 127);                                            \
  |  | 6589|   420k|                assert(writer.pos < writer.size);                             \
  |  | 6590|   420k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|   420k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   420k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   420k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|   420k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   420k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|   420k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 420k]
  |  |  ------------------
  ------------------
  |  Branch (6625:9): [True: 420k, False: 3.75M]
  |  Branch (6625:20): [True: 420k, Folded]
  |  Branch (6625:20): [True: 420k, False: 0]
  ------------------
 6626|   420k|        case 'b': WRITE_ASCII_CHAR('\b'); continue;
  ------------------
  |  | 6587|   150k|            do {                                                              \
  |  | 6588|   150k|                assert(ch <= 127);                                            \
  |  | 6589|   150k|                assert(writer.pos < writer.size);                             \
  |  | 6590|   150k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|   150k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   150k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   150k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|   150k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   150k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|   150k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 150k]
  |  |  ------------------
  ------------------
  |  Branch (6626:9): [True: 150k, False: 4.02M]
  |  Branch (6626:19): [True: 150k, Folded]
  |  Branch (6626:19): [True: 150k, False: 0]
  ------------------
 6627|       |        /* FF */
 6628|   601k|        case 'f': WRITE_ASCII_CHAR('\014'); continue;
  ------------------
  |  | 6587|   601k|            do {                                                              \
  |  | 6588|   601k|                assert(ch <= 127);                                            \
  |  | 6589|   601k|                assert(writer.pos < writer.size);                             \
  |  | 6590|   601k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|   601k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   601k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   601k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|   601k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   601k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|   601k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 601k]
  |  |  ------------------
  ------------------
  |  Branch (6628:9): [True: 601k, False: 3.57M]
  |  Branch (6628:19): [True: 601k, Folded]
  |  Branch (6628:19): [True: 601k, False: 0]
  ------------------
 6629|   601k|        case 't': WRITE_ASCII_CHAR('\t'); continue;
  ------------------
  |  | 6587|   157k|            do {                                                              \
  |  | 6588|   157k|                assert(ch <= 127);                                            \
  |  | 6589|   157k|                assert(writer.pos < writer.size);                             \
  |  | 6590|   157k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|   157k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   157k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   157k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|   157k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   157k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|   157k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 157k]
  |  |  ------------------
  ------------------
  |  Branch (6629:9): [True: 157k, False: 4.02M]
  |  Branch (6629:19): [True: 157k, Folded]
  |  Branch (6629:19): [True: 157k, False: 0]
  ------------------
 6630|  1.01M|        case 'n': WRITE_ASCII_CHAR('\n'); continue;
  ------------------
  |  | 6587|  1.01M|            do {                                                              \
  |  | 6588|  1.01M|                assert(ch <= 127);                                            \
  |  | 6589|  1.01M|                assert(writer.pos < writer.size);                             \
  |  | 6590|  1.01M|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|  1.01M|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.01M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|  1.01M|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.01M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|  1.01M|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 1.01M]
  |  |  ------------------
  ------------------
  |  Branch (6630:9): [True: 1.01M, False: 3.16M]
  |  Branch (6630:19): [True: 1.01M, Folded]
  |  Branch (6630:19): [True: 1.01M, False: 0]
  ------------------
 6631|  1.01M|        case 'r': WRITE_ASCII_CHAR('\r'); continue;
  ------------------
  |  | 6587|   575k|            do {                                                              \
  |  | 6588|   575k|                assert(ch <= 127);                                            \
  |  | 6589|   575k|                assert(writer.pos < writer.size);                             \
  |  | 6590|   575k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|   575k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   575k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   575k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|   575k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   575k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|   575k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 575k]
  |  |  ------------------
  ------------------
  |  Branch (6631:9): [True: 575k, False: 3.60M]
  |  Branch (6631:19): [True: 575k, Folded]
  |  Branch (6631:19): [True: 575k, False: 0]
  ------------------
 6632|       |        /* VT */
 6633|   575k|        case 'v': WRITE_ASCII_CHAR('\013'); continue;
  ------------------
  |  | 6587|  45.6k|            do {                                                              \
  |  | 6588|  45.6k|                assert(ch <= 127);                                            \
  |  | 6589|  45.6k|                assert(writer.pos < writer.size);                             \
  |  | 6590|  45.6k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|  45.6k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  45.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|  45.6k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  45.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|  45.6k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 45.6k]
  |  |  ------------------
  ------------------
  |  Branch (6633:9): [True: 45.6k, False: 4.13M]
  |  Branch (6633:19): [True: 45.6k, Folded]
  |  Branch (6633:19): [True: 45.6k, False: 0]
  ------------------
 6634|       |        /* BEL, not classic C */
 6635|  45.6k|        case 'a': WRITE_ASCII_CHAR('\007'); continue;
  ------------------
  |  | 6587|     57|            do {                                                              \
  |  | 6588|     57|                assert(ch <= 127);                                            \
  |  | 6589|     57|                assert(writer.pos < writer.size);                             \
  |  | 6590|     57|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|     57|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     57|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     57|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|     57|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     57|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|     57|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 57]
  |  |  ------------------
  ------------------
  |  Branch (6635:9): [True: 57, False: 4.18M]
  |  Branch (6635:19): [True: 57, Folded]
  |  Branch (6635:19): [True: 57, False: 0]
  ------------------
 6636|       |
 6637|       |            /* \OOO (octal) escapes */
 6638|  91.5k|        case '0': case '1': case '2': case '3':
  ------------------
  |  Branch (6638:9): [True: 89.4k, False: 4.09M]
  |  Branch (6638:19): [True: 102, False: 4.18M]
  |  Branch (6638:29): [True: 1.62k, False: 4.17M]
  |  Branch (6638:39): [True: 351, False: 4.17M]
  ------------------
 6639|   105k|        case '4': case '5': case '6': case '7':
  ------------------
  |  Branch (6639:9): [True: 6.08k, False: 4.17M]
  |  Branch (6639:19): [True: 7.78k, False: 4.17M]
  |  Branch (6639:29): [True: 6, False: 4.18M]
  |  Branch (6639:39): [True: 0, False: 4.18M]
  ------------------
 6640|   105k|            ch = c - '0';
 6641|   105k|            if (s < end && '0' <= *s && *s <= '7') {
  ------------------
  |  Branch (6641:17): [True: 105k, False: 0]
  |  Branch (6641:28): [True: 903, False: 104k]
  |  Branch (6641:41): [True: 576, False: 327]
  ------------------
 6642|    576|                ch = (ch<<3) + *s++ - '0';
 6643|    576|                if (s < end && '0' <= *s && *s <= '7') {
  ------------------
  |  Branch (6643:21): [True: 576, False: 0]
  |  Branch (6643:32): [True: 576, False: 0]
  |  Branch (6643:45): [True: 57, False: 519]
  ------------------
 6644|     57|                    ch = (ch<<3) + *s++ - '0';
 6645|     57|                }
 6646|    576|            }
 6647|   105k|            if (ch > 0377) {
  ------------------
  |  Branch (6647:17): [True: 0, False: 105k]
  ------------------
 6648|      0|                if (*first_invalid_escape_char == -1) {
  ------------------
  |  Branch (6648:21): [True: 0, False: 0]
  ------------------
 6649|      0|                    *first_invalid_escape_char = ch;
 6650|      0|                    if (starts == initial_starts) {
  ------------------
  |  Branch (6650:25): [True: 0, False: 0]
  ------------------
 6651|       |                        /* Back up 3 chars, since we've already incremented s. */
 6652|      0|                        *first_invalid_escape_ptr = s - 3;
 6653|      0|                    }
 6654|      0|                }
 6655|      0|            }
 6656|   105k|            WRITE_CHAR(ch);
  ------------------
  |  | 6594|   105k|            do {                                                              \
  |  | 6595|   105k|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6595:21): [True: 105k, False: 0]
  |  |  ------------------
  |  | 6596|   105k|                    assert(writer.pos < writer.size);                         \
  |  | 6597|   105k|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  336|   105k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   105k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   105k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|   105k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   105k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6598|   105k|                }                                                             \
  |  | 6599|   105k|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6599:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 6600|      0|                    goto onError;                                             \
  |  | 6601|      0|                }                                                             \
  |  | 6602|   105k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6602:21): [Folded, False: 105k]
  |  |  ------------------
  ------------------
  |  Branch (6656:13): [True: 105k, False: 0]
  ------------------
 6657|   105k|            continue;
 6658|       |
 6659|       |            /* hex escapes */
 6660|       |            /* \xXX */
 6661|   105k|        case 'x':
  ------------------
  |  Branch (6661:9): [True: 0, False: 4.18M]
  ------------------
 6662|      0|            count = 2;
 6663|      0|            message = "truncated \\xXX escape";
 6664|      0|            goto hexescape;
 6665|       |
 6666|       |            /* \uXXXX */
 6667|      0|        case 'u':
  ------------------
  |  Branch (6667:9): [True: 0, False: 4.18M]
  ------------------
 6668|      0|            count = 4;
 6669|      0|            message = "truncated \\uXXXX escape";
 6670|      0|            goto hexescape;
 6671|       |
 6672|       |            /* \UXXXXXXXX */
 6673|   207k|        case 'U':
  ------------------
  |  Branch (6673:9): [True: 207k, False: 3.97M]
  ------------------
 6674|   207k|            count = 8;
 6675|   207k|            message = "truncated \\UXXXXXXXX escape";
 6676|   207k|        hexescape:
 6677|  1.86M|            for (ch = 0; count; ++s, --count) {
  ------------------
  |  Branch (6677:26): [True: 1.65M, False: 207k]
  ------------------
 6678|  1.65M|                if (s >= end) {
  ------------------
  |  Branch (6678:21): [True: 0, False: 1.65M]
  ------------------
 6679|      0|                    goto incomplete;
 6680|      0|                }
 6681|  1.65M|                c = (unsigned char)*s;
 6682|  1.65M|                ch <<= 4;
 6683|  1.65M|                if (c >= '0' && c <= '9') {
  ------------------
  |  Branch (6683:21): [True: 1.65M, False: 0]
  |  Branch (6683:33): [True: 1.32M, False: 334k]
  ------------------
 6684|  1.32M|                    ch += c - '0';
 6685|  1.32M|                }
 6686|   334k|                else if (c >= 'a' && c <= 'f') {
  ------------------
  |  Branch (6686:26): [True: 334k, False: 0]
  |  Branch (6686:38): [True: 334k, False: 0]
  ------------------
 6687|   334k|                    ch += c - ('a' - 10);
 6688|   334k|                }
 6689|      0|                else if (c >= 'A' && c <= 'F') {
  ------------------
  |  Branch (6689:26): [True: 0, False: 0]
  |  Branch (6689:38): [True: 0, False: 0]
  ------------------
 6690|      0|                    ch += c - ('A' - 10);
 6691|      0|                }
 6692|      0|                else {
 6693|      0|                    goto error;
 6694|      0|                }
 6695|  1.65M|            }
 6696|       |
 6697|       |            /* when we get here, ch is a 32-bit unicode character */
 6698|   207k|            if (ch > MAX_UNICODE) {
  ------------------
  |  |  108|   207k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   18|   207k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (6698:17): [True: 0, False: 207k]
  ------------------
 6699|      0|                message = "illegal Unicode character";
 6700|      0|                goto error;
 6701|      0|            }
 6702|       |
 6703|   207k|            WRITE_CHAR(ch);
  ------------------
  |  | 6594|   207k|            do {                                                              \
  |  | 6595|   207k|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6595:21): [True: 207k, False: 53]
  |  |  ------------------
  |  | 6596|   207k|                    assert(writer.pos < writer.size);                         \
  |  | 6597|   207k|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  336|   207k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   207k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|   207k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   207k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6598|   207k|                }                                                             \
  |  | 6599|   207k|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6599:26): [True: 0, False: 53]
  |  |  ------------------
  |  | 6600|      0|                    goto onError;                                             \
  |  | 6601|      0|                }                                                             \
  |  | 6602|   207k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6602:21): [Folded, False: 207k]
  |  |  ------------------
  ------------------
  |  Branch (6703:13): [True: 207k, False: 0]
  ------------------
 6704|   207k|            continue;
 6705|       |
 6706|       |            /* \N{name} */
 6707|   207k|        case 'N':
  ------------------
  |  Branch (6707:9): [True: 2, False: 4.18M]
  ------------------
 6708|      2|            ucnhash_capi = _PyUnicode_GetNameCAPI();
 6709|      2|            if (ucnhash_capi == NULL) {
  ------------------
  |  Branch (6709:17): [True: 0, False: 2]
  ------------------
 6710|      0|                PyErr_SetString(
 6711|      0|                        PyExc_UnicodeError,
 6712|      0|                        "\\N escapes not supported (can't load unicodedata module)"
 6713|      0|                );
 6714|      0|                goto onError;
 6715|      0|            }
 6716|       |
 6717|      2|            message = "malformed \\N character escape";
 6718|      2|            if (s >= end) {
  ------------------
  |  Branch (6718:17): [True: 0, False: 2]
  ------------------
 6719|      0|                goto incomplete;
 6720|      0|            }
 6721|      2|            if (*s == '{') {
  ------------------
  |  Branch (6721:17): [True: 2, False: 0]
  ------------------
 6722|      2|                const char *start = ++s;
 6723|      2|                size_t namelen;
 6724|       |                /* look for the closing brace */
 6725|  2.08M|                while (s < end && *s != '}')
  ------------------
  |  Branch (6725:24): [True: 2.08M, False: 0]
  |  Branch (6725:35): [True: 2.08M, False: 2]
  ------------------
 6726|  2.08M|                    s++;
 6727|      2|                if (s >= end) {
  ------------------
  |  Branch (6727:21): [True: 0, False: 2]
  ------------------
 6728|      0|                    goto incomplete;
 6729|      0|                }
 6730|      2|                namelen = s - start;
 6731|      2|                if (namelen) {
  ------------------
  |  Branch (6731:21): [True: 2, False: 0]
  ------------------
 6732|       |                    /* found a name.  look it up in the unicode database */
 6733|      2|                    s++;
 6734|      2|                    ch = 0xffffffff; /* in case 'getcode' messes up */
 6735|      2|                    if (namelen <= INT_MAX &&
  ------------------
  |  Branch (6735:25): [True: 2, False: 0]
  ------------------
 6736|      2|                        ucnhash_capi->getcode(start, (int)namelen,
  ------------------
  |  Branch (6736:25): [True: 0, False: 2]
  ------------------
 6737|      2|                                              &ch, 0)) {
 6738|      0|                        assert(ch <= MAX_UNICODE);
  ------------------
  |  Branch (6738:25): [True: 0, False: 0]
  ------------------
 6739|      0|                        WRITE_CHAR(ch);
  ------------------
  |  | 6594|      0|            do {                                                              \
  |  | 6595|      0|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6595:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6596|      0|                    assert(writer.pos < writer.size);                         \
  |  | 6597|      0|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  336|      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))
  |  |  |  |  ------------------
  |  |  |  |  337|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6598|      0|                }                                                             \
  |  | 6599|      0|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6599:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 6600|      0|                    goto onError;                                             \
  |  | 6601|      0|                }                                                             \
  |  | 6602|      0|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6602:21): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (6739:25): [True: 0, False: 0]
  ------------------
 6740|      0|                        continue;
 6741|      0|                    }
 6742|      2|                    message = "unknown Unicode character name";
 6743|      2|                }
 6744|      2|            }
 6745|      2|            goto error;
 6746|       |
 6747|   542k|        default:
  ------------------
  |  Branch (6747:9): [True: 542k, False: 3.63M]
  ------------------
 6748|   542k|            if (*first_invalid_escape_char == -1) {
  ------------------
  |  Branch (6748:17): [True: 40, False: 542k]
  ------------------
 6749|     40|                *first_invalid_escape_char = c;
 6750|     40|                if (starts == initial_starts) {
  ------------------
  |  Branch (6750:21): [True: 40, False: 0]
  ------------------
 6751|       |                    /* Back up one char, since we've already incremented s. */
 6752|     40|                    *first_invalid_escape_ptr = s - 1;
 6753|     40|                }
 6754|     40|            }
 6755|   542k|            WRITE_ASCII_CHAR('\\');
  ------------------
  |  | 6587|   542k|            do {                                                              \
  |  | 6588|   542k|                assert(ch <= 127);                                            \
  |  | 6589|   542k|                assert(writer.pos < writer.size);                             \
  |  | 6590|   542k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|   542k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   542k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   542k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|   542k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   542k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|   542k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 542k]
  |  |  ------------------
  ------------------
  |  Branch (6755:13): [True: 542k, Folded]
  |  Branch (6755:13): [True: 542k, False: 0]
  ------------------
 6756|   542k|            WRITE_CHAR(c);
  ------------------
  |  | 6594|   542k|            do {                                                              \
  |  | 6595|   542k|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6595:21): [True: 542k, False: 0]
  |  |  ------------------
  |  | 6596|   542k|                    assert(writer.pos < writer.size);                         \
  |  | 6597|   542k|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  336|   542k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   542k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   542k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|   542k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   542k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6598|   542k|                }                                                             \
  |  | 6599|   542k|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6599:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 6600|      0|                    goto onError;                                             \
  |  | 6601|      0|                }                                                             \
  |  | 6602|   542k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6602:21): [Folded, False: 542k]
  |  |  ------------------
  ------------------
  |  Branch (6756:13): [True: 542k, False: 0]
  ------------------
 6757|   542k|            continue;
 6758|  4.18M|        }
 6759|       |
 6760|      0|      incomplete:
 6761|      0|        if (consumed) {
  ------------------
  |  Branch (6761:13): [True: 0, False: 0]
  ------------------
 6762|      0|            *consumed = startinpos;
 6763|      0|            break;
 6764|      0|        }
 6765|      2|      error:;
 6766|      2|        Py_ssize_t endinpos = s-starts;
 6767|      2|        writer.min_length = end - s + writer.pos;
 6768|      2|        if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (6768:13): [True: 2, False: 0]
  ------------------
 6769|      2|                errors, &errorHandler,
 6770|      2|                "unicodeescape", message,
 6771|      2|                &starts, &end, &startinpos, &endinpos, &exc, &s,
 6772|      2|                &writer)) {
 6773|      2|            goto onError;
 6774|      2|        }
 6775|      2|        assert(end - s <= writer.size - writer.pos);
  ------------------
  |  Branch (6775:9): [True: 0, False: 0]
  ------------------
 6776|       |
 6777|      0|#undef WRITE_ASCII_CHAR
 6778|      0|#undef WRITE_CHAR
 6779|      0|    }
 6780|       |
 6781|     40|    Py_XDECREF(errorHandler);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6782|     40|    Py_XDECREF(exc);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6783|     40|    return _PyUnicodeWriter_Finish(&writer);
 6784|       |
 6785|      2|  onError:
 6786|      2|    _PyUnicodeWriter_Dealloc(&writer);
 6787|      2|    Py_XDECREF(errorHandler);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6788|      2|    Py_XDECREF(exc);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6789|       |    return NULL;
 6790|     42|}
PyUnicode_DecodeLatin1:
 7160|      2|{
 7161|       |    /* Latin-1 is equivalent to the first 256 ordinals in Unicode. */
 7162|      2|    return _PyUnicode_FromUCS1((const unsigned char*)s, size);
 7163|      2|}
PyUnicode_DecodeASCII:
 7476|     64|{
 7477|     64|    const char *starts = s;
 7478|     64|    const char *e = s + size;
 7479|     64|    PyObject *error_handler_obj = NULL;
 7480|     64|    PyObject *exc = NULL;
 7481|     64|    _Py_error_handler error_handler = _Py_ERROR_UNKNOWN;
 7482|       |
 7483|     64|    if (size == 0)
  ------------------
  |  Branch (7483:9): [True: 0, False: 64]
  ------------------
 7484|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      0|    do {                             \
  |  |  366|      0|        return _PyUnicode_GetEmpty();\
  |  |  367|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 7485|       |
 7486|       |    /* ASCII is equivalent to the first 128 ordinals in Unicode. */
 7487|     64|    if (size == 1 && (unsigned char)s[0] < 128) {
  ------------------
  |  Branch (7487:9): [True: 0, False: 64]
  |  Branch (7487:22): [True: 0, False: 0]
  ------------------
 7488|      0|        return get_latin1_char((unsigned char)s[0]);
 7489|      0|    }
 7490|       |
 7491|       |    // Shortcut for simple case
 7492|     64|    PyObject *u = PyUnicode_New(size, 127);
 7493|     64|    if (u == NULL) {
  ------------------
  |  Branch (7493:9): [True: 0, False: 64]
  ------------------
 7494|      0|        return NULL;
 7495|      0|    }
 7496|     64|    Py_ssize_t outpos = ascii_decode(s, e, PyUnicode_1BYTE_DATA(u));
  ------------------
  |  |  292|     64|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 7497|     64|    if (outpos == size) {
  ------------------
  |  Branch (7497:9): [True: 64, False: 0]
  ------------------
 7498|     64|        return u;
 7499|     64|    }
 7500|       |
 7501|      0|    _PyUnicodeWriter writer;
 7502|      0|    _PyUnicodeWriter_InitWithBuffer(&writer, u);
 7503|      0|    writer.pos = outpos;
 7504|       |
 7505|      0|    s += outpos;
 7506|      0|    int kind = writer.kind;
 7507|      0|    void *data = writer.data;
 7508|      0|    Py_ssize_t startinpos, endinpos;
 7509|       |
 7510|      0|    while (s < e) {
  ------------------
  |  Branch (7510:12): [True: 0, False: 0]
  ------------------
 7511|      0|        unsigned char c = (unsigned char)*s;
 7512|      0|        if (c < 128) {
  ------------------
  |  Branch (7512:13): [True: 0, False: 0]
  ------------------
 7513|      0|            PyUnicode_WRITE(kind, data, writer.pos, c);
  ------------------
  |  |  336|      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))
  |  |  ------------------
  |  |  337|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 7514|      0|            writer.pos++;
 7515|      0|            ++s;
 7516|      0|            continue;
 7517|      0|        }
 7518|       |
 7519|       |        /* byte outsize range 0x00..0x7f: call the error handler */
 7520|       |
 7521|      0|        if (error_handler == _Py_ERROR_UNKNOWN)
  ------------------
  |  Branch (7521:13): [True: 0, False: 0]
  ------------------
 7522|      0|            error_handler = _Py_GetErrorHandler(errors);
 7523|       |
 7524|      0|        switch (error_handler)
 7525|      0|        {
 7526|      0|        case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (7526:9): [True: 0, False: 0]
  ------------------
 7527|      0|        case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (7527:9): [True: 0, False: 0]
  ------------------
 7528|       |            /* Fast-path: the error handler only writes one character,
 7529|       |               but we may switch to UCS2 at the first write */
 7530|      0|            if (_PyUnicodeWriter_PrepareKind(&writer, PyUnicode_2BYTE_KIND) < 0)
  ------------------
  |  |  543|      0|    ((KIND) <= (WRITER)->kind                                         \
  |  |  ------------------
  |  |  |  Branch (543:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  544|      0|     ? 0                                                              \
  |  |  545|      0|     : _PyUnicodeWriter_PrepareKindInternal((WRITER), (KIND)))
  ------------------
  |  Branch (7530:17): [True: 0, False: 0]
  ------------------
 7531|      0|                goto onError;
 7532|      0|            assert(_PyUnicodeWriter_CanWrite(&writer));
  ------------------
  |  Branch (7532:13): [True: 0, False: 0]
  ------------------
 7533|      0|            kind = writer.kind;
 7534|      0|            data = writer.data;
 7535|       |
 7536|      0|            if (error_handler == _Py_ERROR_REPLACE)
  ------------------
  |  Branch (7536:17): [True: 0, False: 0]
  ------------------
 7537|      0|                PyUnicode_WRITE(kind, data, writer.pos, 0xfffd);
  ------------------
  |  |  336|      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))
  |  |  ------------------
  |  |  337|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 7538|      0|            else
 7539|      0|                PyUnicode_WRITE(kind, data, writer.pos, c + 0xdc00);
  ------------------
  |  |  336|      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))
  |  |  ------------------
  |  |  337|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 7540|      0|            writer.pos++;
 7541|      0|            ++s;
 7542|      0|            break;
 7543|       |
 7544|      0|        case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (7544:9): [True: 0, False: 0]
  ------------------
 7545|      0|            ++s;
 7546|      0|            break;
 7547|       |
 7548|      0|        default:
  ------------------
  |  Branch (7548:9): [True: 0, False: 0]
  ------------------
 7549|      0|            startinpos = s-starts;
 7550|      0|            endinpos = startinpos + 1;
 7551|      0|            if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (7551:17): [True: 0, False: 0]
  ------------------
 7552|      0|                    errors, &error_handler_obj,
 7553|      0|                    "ascii", "ordinal not in range(128)",
 7554|      0|                    &starts, &e, &startinpos, &endinpos, &exc, &s,
 7555|      0|                    &writer))
 7556|      0|                goto onError;
 7557|      0|            kind = writer.kind;
 7558|      0|            data = writer.data;
 7559|      0|        }
 7560|      0|    }
 7561|      0|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7562|      0|    Py_XDECREF(exc);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7563|      0|    return _PyUnicodeWriter_Finish(&writer);
 7564|       |
 7565|      0|  onError:
 7566|      0|    _PyUnicodeWriter_Dealloc(&writer);
 7567|      0|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7568|      0|    Py_XDECREF(exc);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7569|       |    return NULL;
 7570|      0|}
_PyUnicode_AsASCIIString:
 7574|     34|{
 7575|     34|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|     34|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     34|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7575:9): [True: 0, False: 34]
  ------------------
 7576|      0|        PyErr_BadArgument();
 7577|      0|        return NULL;
 7578|      0|    }
 7579|       |    /* Fast path: if it is an ASCII-only string, construct bytes object
 7580|       |       directly. Else defer to above function to raise the exception. */
 7581|     34|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  228|     34|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 34, False: 0]
  |  |  ------------------
  ------------------
 7582|     34|        return PyBytes_FromStringAndSize(PyUnicode_DATA(unicode),
  ------------------
  |  |  285|     34|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7583|     34|                                         PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  |  300|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7584|      0|    return unicode_encode_ucs1(unicode, errors, 128);
 7585|     34|}
PyUnicode_AsASCIIString:
 7589|     34|{
 7590|       |    return _PyUnicode_AsASCIIString(unicode, NULL);
 7591|     34|}
PyUnicode_FindChar:
10099|    838|{
10100|    838|    int kind;
10101|    838|    Py_ssize_t len, result;
10102|    838|    len = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  300|    838|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    838|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    838|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10103|    838|    ADJUST_INDICES(start, end, len);
  ------------------
  |  | 9968|    838|    do {                                \
  |  | 9969|    838|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9969:13): [True: 0, False: 838]
  |  |  ------------------
  |  | 9970|      0|            end = len;                  \
  |  | 9971|      0|        }                               \
  |  | 9972|    838|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (9972:18): [True: 0, False: 838]
  |  |  ------------------
  |  | 9973|      0|            end += len;                 \
  |  | 9974|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (9974:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9975|      0|                end = 0;                \
  |  | 9976|      0|            }                           \
  |  | 9977|      0|        }                               \
  |  | 9978|    838|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9978:13): [True: 0, False: 838]
  |  |  ------------------
  |  | 9979|      0|            start += len;               \
  |  | 9980|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (9980:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9981|      0|                start = 0;              \
  |  | 9982|      0|            }                           \
  |  | 9983|      0|        }                               \
  |  | 9984|    838|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9984:14): [Folded, False: 838]
  |  |  ------------------
  ------------------
10104|    838|    if (end - start < 1)
  ------------------
  |  Branch (10104:9): [True: 0, False: 838]
  ------------------
10105|      0|        return -1;
10106|    838|    kind = PyUnicode_KIND(str);
  ------------------
  |  |  259|    838|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.67k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 838, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10107|    838|    result = findchar(PyUnicode_1BYTE_DATA(str) + kind*start,
  ------------------
  |  |  292|    838|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    838|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10108|    838|                      kind, end-start, ch, direction);
10109|    838|    if (result == -1)
  ------------------
  |  Branch (10109:9): [True: 761, False: 77]
  ------------------
10110|    761|        return -1;
10111|     77|    else
10112|     77|        return start + result;
10113|    838|}
PyUnicode_Join:
10425|    479|{
10426|    479|    PyObject *res;
10427|    479|    PyObject *fseq;
10428|    479|    Py_ssize_t seqlen;
10429|    479|    PyObject **items;
10430|       |
10431|    479|    fseq = PySequence_Fast(seq, "can only join an iterable");
10432|    479|    if (fseq == NULL) {
  ------------------
  |  Branch (10432:9): [True: 0, False: 479]
  ------------------
10433|      0|        return NULL;
10434|      0|    }
10435|       |
10436|    479|    Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(seq);
  ------------------
  |  |   77|    479|# define Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(original) {
  ------------------
10437|       |
10438|    479|    items = PySequence_Fast_ITEMS(fseq);
  ------------------
  |  |  102|    479|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|    479|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    479|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 356, False: 123]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|    479|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
10439|    479|    seqlen = PySequence_Fast_GET_SIZE(fseq);
  ------------------
  |  |   92|    479|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|    479|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    479|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 356, False: 123]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|    356|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    356|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    356|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|    123|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    123|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    123|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10440|    479|    res = _PyUnicode_JoinArray(separator, items, seqlen);
10441|       |
10442|    479|    Py_END_CRITICAL_SECTION_SEQUENCE_FAST();
  ------------------
  |  |   78|    479|# define Py_END_CRITICAL_SECTION_SEQUENCE_FAST() }
  ------------------
10443|       |
10444|    479|    Py_DECREF(fseq);
  ------------------
  |  |  430|    479|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    479|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    479|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10445|    479|    return res;
10446|    479|}
_PyUnicode_JoinArray:
10450|    750|{
10451|    750|    PyObject *res = NULL; /* the result */
10452|    750|    PyObject *sep = NULL;
10453|    750|    Py_ssize_t seplen;
10454|    750|    PyObject *item;
10455|    750|    Py_ssize_t sz, i, res_offset;
10456|    750|    Py_UCS4 maxchar;
10457|    750|    Py_UCS4 item_maxchar;
10458|    750|    int use_memcpy;
10459|    750|    unsigned char *res_data = NULL, *sep_data = NULL;
10460|    750|    PyObject *last_obj;
10461|    750|    int kind = 0;
10462|       |
10463|       |    /* If empty sequence, return u"". */
10464|    750|    if (seqlen == 0) {
  ------------------
  |  Branch (10464:9): [True: 0, False: 750]
  ------------------
10465|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      0|    do {                             \
  |  |  366|      0|        return _PyUnicode_GetEmpty();\
  |  |  367|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
10466|      0|    }
10467|       |
10468|       |    /* If singleton sequence with an exact Unicode, return that. */
10469|    750|    last_obj = NULL;
10470|    750|    if (seqlen == 1) {
  ------------------
  |  Branch (10470:9): [True: 35, False: 715]
  ------------------
10471|     35|        if (PyUnicode_CheckExact(items[0])) {
  ------------------
  |  |  104|     35|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|     35|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 35, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10472|     35|            res = items[0];
10473|     35|            return Py_NewRef(res);
  ------------------
  |  |  647|     35|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10474|     35|        }
10475|      0|        seplen = 0;
10476|      0|        maxchar = 0;
10477|      0|    }
10478|    715|    else {
10479|       |        /* Set up sep and seplen */
10480|    715|        if (separator == NULL) {
  ------------------
  |  Branch (10480:13): [True: 0, False: 715]
  ------------------
10481|       |            /* fall back to a blank space separator */
10482|      0|            sep = PyUnicode_FromOrdinal(' ');
10483|      0|            if (!sep)
  ------------------
  |  Branch (10483:17): [True: 0, False: 0]
  ------------------
10484|      0|                goto onError;
10485|      0|            seplen = 1;
10486|      0|            maxchar = 32;
10487|      0|        }
10488|    715|        else {
10489|    715|            if (!PyUnicode_Check(separator)) {
  ------------------
  |  |  103|    715|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    715|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (10489:17): [True: 0, False: 715]
  ------------------
10490|      0|                PyErr_Format(PyExc_TypeError,
10491|      0|                             "separator: expected str instance,"
10492|      0|                             " %.80s found",
10493|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10494|      0|                goto onError;
10495|      0|            }
10496|    715|            sep = separator;
10497|    715|            seplen = PyUnicode_GET_LENGTH(separator);
  ------------------
  |  |  300|    715|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    715|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    715|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10498|    715|            maxchar = PyUnicode_MAX_CHAR_VALUE(separator);
  ------------------
  |  |  406|    715|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    715|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    715|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10499|       |            /* inc refcount to keep this code path symmetric with the
10500|       |               above case of a blank separator */
10501|    715|            Py_INCREF(sep);
  ------------------
  |  |  310|    715|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    715|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    715|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10502|    715|        }
10503|    715|        last_obj = sep;
10504|    715|    }
10505|       |
10506|       |    /* There are at least two things to join, or else we have a subclass
10507|       |     * of str in the sequence.
10508|       |     * Do a pre-pass to figure out the total amount of space we'll
10509|       |     * need (sz), and see whether all argument are strings.
10510|       |     */
10511|    715|    sz = 0;
10512|       |#ifdef Py_DEBUG
10513|       |    use_memcpy = 0;
10514|       |#else
10515|    715|    use_memcpy = 1;
10516|    715|#endif
10517|  2.83k|    for (i = 0; i < seqlen; i++) {
  ------------------
  |  Branch (10517:17): [True: 2.11k, False: 715]
  ------------------
10518|  2.11k|        size_t add_sz;
10519|  2.11k|        item = items[i];
10520|  2.11k|        if (!PyUnicode_Check(item)) {
  ------------------
  |  |  103|  2.11k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.11k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (10520:13): [True: 0, False: 2.11k]
  ------------------
10521|      0|            PyErr_Format(PyExc_TypeError,
10522|      0|                         "sequence item %zd: expected str instance,"
10523|      0|                         " %.80s found",
10524|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10525|      0|            goto onError;
10526|      0|        }
10527|  2.11k|        add_sz = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  300|  2.11k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10528|  2.11k|        item_maxchar = PyUnicode_MAX_CHAR_VALUE(item);
  ------------------
  |  |  406|  2.11k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10529|  2.11k|        maxchar = Py_MAX(maxchar, item_maxchar);
  ------------------
  |  |  133|  2.11k|       __extension__ \
  |  |  134|  2.11k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  2.11k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  2.11k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  2.11k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  2.11k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 2.11k]
  |  |  ------------------
  ------------------
10530|  2.11k|        if (i != 0) {
  ------------------
  |  Branch (10530:13): [True: 1.40k, False: 715]
  ------------------
10531|  1.40k|            add_sz += seplen;
10532|  1.40k|        }
10533|  2.11k|        if (add_sz > (size_t)(PY_SSIZE_T_MAX - sz)) {
  ------------------
  |  |  137|  2.11k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (10533:13): [True: 0, False: 2.11k]
  ------------------
10534|      0|            PyErr_SetString(PyExc_OverflowError,
10535|      0|                            "join() result is too long for a Python string");
10536|      0|            goto onError;
10537|      0|        }
10538|  2.11k|        sz += add_sz;
10539|  2.11k|        if (use_memcpy && last_obj != NULL) {
  ------------------
  |  Branch (10539:13): [True: 2.11k, False: 0]
  |  Branch (10539:27): [True: 2.11k, False: 0]
  ------------------
10540|  4.23k|            if (PyUnicode_KIND(last_obj) != PyUnicode_KIND(item))
  ------------------
  |  |  259|  2.11k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  4.23k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 2.11k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyUnicode_KIND(last_obj) != PyUnicode_KIND(item))
  ------------------
  |  |  259|  2.11k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  4.23k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 2.11k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10540:17): [True: 6, False: 2.11k]
  ------------------
10541|      6|                use_memcpy = 0;
10542|  2.11k|        }
10543|      0|        last_obj = item;
10544|  2.11k|    }
10545|       |
10546|    715|    res = PyUnicode_New(sz, maxchar);
10547|    715|    if (res == NULL)
  ------------------
  |  Branch (10547:9): [True: 0, False: 715]
  ------------------
10548|      0|        goto onError;
10549|       |
10550|       |    /* Catenate everything. */
10551|       |#ifdef Py_DEBUG
10552|       |    use_memcpy = 0;
10553|       |#else
10554|    715|    if (use_memcpy) {
  ------------------
  |  Branch (10554:9): [True: 709, False: 6]
  ------------------
10555|    709|        res_data = PyUnicode_1BYTE_DATA(res);
  ------------------
  |  |  292|    709|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    709|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10556|    709|        kind = PyUnicode_KIND(res);
  ------------------
  |  |  259|    709|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.41k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 709, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10557|    709|        if (seplen != 0)
  ------------------
  |  Branch (10557:13): [True: 345, False: 364]
  ------------------
10558|    345|            sep_data = PyUnicode_1BYTE_DATA(sep);
  ------------------
  |  |  292|    345|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    345|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10559|    709|    }
10560|    715|#endif
10561|    715|    if (use_memcpy) {
  ------------------
  |  Branch (10561:9): [True: 709, False: 6]
  ------------------
10562|  2.81k|        for (i = 0; i < seqlen; ++i) {
  ------------------
  |  Branch (10562:21): [True: 2.10k, False: 709]
  ------------------
10563|  2.10k|            Py_ssize_t itemlen;
10564|  2.10k|            item = items[i];
10565|       |
10566|       |            /* Copy item, and maybe the separator. */
10567|  2.10k|            if (i && seplen != 0) {
  ------------------
  |  Branch (10567:17): [True: 1.39k, False: 709]
  |  Branch (10567:22): [True: 470, False: 928]
  ------------------
10568|    470|                memcpy(res_data,
10569|    470|                          sep_data,
10570|    470|                          kind * seplen);
10571|    470|                res_data += kind * seplen;
10572|    470|            }
10573|       |
10574|  2.10k|            itemlen = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  300|  2.10k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10575|  2.10k|            if (itemlen != 0) {
  ------------------
  |  Branch (10575:17): [True: 2.09k, False: 11]
  ------------------
10576|  2.09k|                memcpy(res_data,
10577|  2.09k|                          PyUnicode_DATA(item),
  ------------------
  |  |  285|  2.09k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10578|  2.09k|                          kind * itemlen);
10579|  2.09k|                res_data += kind * itemlen;
10580|  2.09k|            }
10581|  2.10k|        }
10582|    709|        assert(res_data == PyUnicode_1BYTE_DATA(res)
  ------------------
  |  Branch (10582:9): [True: 709, False: 0]
  ------------------
10583|    709|                           + kind * PyUnicode_GET_LENGTH(res));
10584|    709|    }
10585|      6|    else {
10586|     18|        for (i = 0, res_offset = 0; i < seqlen; ++i) {
  ------------------
  |  Branch (10586:37): [True: 12, False: 6]
  ------------------
10587|     12|            Py_ssize_t itemlen;
10588|     12|            item = items[i];
10589|       |
10590|       |            /* Copy item, and maybe the separator. */
10591|     12|            if (i && seplen != 0) {
  ------------------
  |  Branch (10591:17): [True: 6, False: 6]
  |  Branch (10591:22): [True: 0, False: 6]
  ------------------
10592|      0|                _PyUnicode_FastCopyCharacters(res, res_offset, sep, 0, seplen);
10593|      0|                res_offset += seplen;
10594|      0|            }
10595|       |
10596|     12|            itemlen = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  300|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10597|     12|            if (itemlen != 0) {
  ------------------
  |  Branch (10597:17): [True: 12, False: 0]
  ------------------
10598|     12|                _PyUnicode_FastCopyCharacters(res, res_offset, item, 0, itemlen);
10599|     12|                res_offset += itemlen;
10600|     12|            }
10601|     12|        }
10602|      6|        assert(res_offset == PyUnicode_GET_LENGTH(res));
  ------------------
  |  Branch (10602:9): [True: 6, False: 0]
  ------------------
10603|      6|    }
10604|       |
10605|    715|    Py_XDECREF(sep);
  ------------------
  |  |  621|    715|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    715|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    715|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10606|    715|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (10606:5): [True: 715, False: 0]
  ------------------
10607|    715|    return res;
10608|       |
10609|      0|  onError:
10610|      0|    Py_XDECREF(sep);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10611|      0|    Py_XDECREF(res);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10612|       |    return NULL;
10613|    715|}
_PyUnicode_FastFill:
10618|      8|{
10619|      8|    const int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|      8|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     16|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 8, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10620|      8|    void *data = PyUnicode_DATA(unicode);
  ------------------
  |  |  285|      8|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10621|      8|    assert(_PyUnicode_IsModifiable(unicode));
  ------------------
  |  Branch (10621:5): [True: 8, False: 0]
  ------------------
10622|      8|    assert(fill_char <= PyUnicode_MAX_CHAR_VALUE(unicode));
  ------------------
  |  Branch (10622:5): [True: 8, False: 0]
  ------------------
10623|      8|    assert(start >= 0);
  ------------------
  |  Branch (10623:5): [True: 8, False: 0]
  ------------------
10624|      8|    assert(start + length <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (10624:5): [True: 8, False: 0]
  ------------------
10625|      8|    _PyUnicode_Fill(kind, data, fill_char, start, length);
10626|      8|}
PyUnicode_Fill:
10631|      8|{
10632|      8|    Py_ssize_t maxlen;
10633|       |
10634|      8|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|      8|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      8|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (10634:9): [True: 0, False: 8]
  ------------------
10635|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
10636|      0|        return -1;
10637|      0|    }
10638|      8|    if (unicode_check_modifiable(unicode))
  ------------------
  |  Branch (10638:9): [True: 0, False: 8]
  ------------------
10639|      0|        return -1;
10640|       |
10641|      8|    if (start < 0) {
  ------------------
  |  Branch (10641:9): [True: 0, False: 8]
  ------------------
10642|      0|        PyErr_SetString(PyExc_IndexError, "string index out of range");
10643|      0|        return -1;
10644|      0|    }
10645|      8|    if (fill_char > PyUnicode_MAX_CHAR_VALUE(unicode)) {
  ------------------
  |  |  406|      8|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10645:9): [True: 0, False: 8]
  ------------------
10646|      0|        PyErr_SetString(PyExc_ValueError,
10647|      0|                         "fill character is bigger than "
10648|      0|                         "the string maximum character");
10649|      0|        return -1;
10650|      0|    }
10651|       |
10652|      8|    maxlen = PyUnicode_GET_LENGTH(unicode) - start;
  ------------------
  |  |  300|      8|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10653|      8|    length = Py_MIN(maxlen, length);
  ------------------
  |  |  127|      8|       __extension__ \
  |  |  128|      8|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      8|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      8|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 0, False: 8]
  |  |  ------------------
  ------------------
10654|      8|    if (length <= 0)
  ------------------
  |  Branch (10654:9): [True: 0, False: 8]
  ------------------
10655|      0|        return 0;
10656|       |
10657|      8|    _PyUnicode_FastFill(unicode, start, length, fill_char);
10658|      8|    return length;
10659|      8|}
_PyUnicode_Equal:
11482|  2.03k|{
11483|  2.03k|    assert(PyUnicode_Check(str1));
  ------------------
  |  Branch (11483:5): [True: 2.03k, False: 0]
  ------------------
11484|  2.03k|    assert(PyUnicode_Check(str2));
  ------------------
  |  Branch (11484:5): [True: 2.03k, False: 0]
  ------------------
11485|  2.03k|    if (str1 == str2) {
  ------------------
  |  Branch (11485:9): [True: 449, False: 1.58k]
  ------------------
11486|    449|        return 1;
11487|    449|    }
11488|  1.58k|    return unicode_eq(str1, str2);
11489|  2.03k|}
PyUnicode_Compare:
11512|     27|{
11513|     27|    if (PyUnicode_Check(left) && PyUnicode_Check(right)) {
  ------------------
  |  |  103|     27|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     54|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 27, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyUnicode_Check(left) && PyUnicode_Check(right)) {
  ------------------
  |  |  103|     27|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     27|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 27, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11514|       |        /* a string is equal to itself */
11515|     27|        if (left == right)
  ------------------
  |  Branch (11515:13): [True: 0, False: 27]
  ------------------
11516|      0|            return 0;
11517|       |
11518|     27|        return unicode_compare(left, right);
11519|     27|    }
11520|      0|    PyErr_Format(PyExc_TypeError,
11521|      0|                 "Can't compare %.100s and %.100s",
11522|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11523|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11524|      0|    return -1;
11525|     27|}
PyUnicode_CompareWithASCIIString:
11529|    963|{
11530|    963|    Py_ssize_t i;
11531|    963|    int kind;
11532|    963|    Py_UCS4 chr;
11533|       |
11534|    963|    assert(_PyUnicode_CHECK(uni));
  ------------------
  |  Branch (11534:5): [True: 963, False: 0]
  ------------------
11535|    963|    kind = PyUnicode_KIND(uni);
  ------------------
  |  |  259|    963|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.92k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 963, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11536|    963|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (11536:9): [True: 963, False: 0]
  ------------------
11537|    963|        const void *data = PyUnicode_1BYTE_DATA(uni);
  ------------------
  |  |  292|    963|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    963|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
11538|    963|        size_t len1 = (size_t)PyUnicode_GET_LENGTH(uni);
  ------------------
  |  |  300|    963|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    963|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    963|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11539|    963|        size_t len, len2 = strlen(str);
11540|    963|        int cmp;
11541|       |
11542|    963|        len = Py_MIN(len1, len2);
  ------------------
  |  |  127|    963|       __extension__ \
  |  |  128|    963|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|    963|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|    963|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|    963|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|    963|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 538, False: 425]
  |  |  ------------------
  ------------------
11543|    963|        cmp = memcmp(data, str, len);
11544|    963|        if (cmp != 0) {
  ------------------
  |  Branch (11544:13): [True: 932, False: 31]
  ------------------
11545|    932|            if (cmp < 0)
  ------------------
  |  Branch (11545:17): [True: 119, False: 813]
  ------------------
11546|    119|                return -1;
11547|    813|            else
11548|    813|                return 1;
11549|    932|        }
11550|     31|        if (len1 > len2)
  ------------------
  |  Branch (11550:13): [True: 0, False: 31]
  ------------------
11551|      0|            return 1; /* uni is longer */
11552|     31|        if (len1 < len2)
  ------------------
  |  Branch (11552:13): [True: 0, False: 31]
  ------------------
11553|      0|            return -1; /* str is longer */
11554|     31|        return 0;
11555|     31|    }
11556|      0|    else {
11557|      0|        const void *data = PyUnicode_DATA(uni);
  ------------------
  |  |  285|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11558|       |        /* Compare Unicode string and source character set string */
11559|      0|        for (i = 0; (chr = PyUnicode_READ(kind, data, i)) && str[i]; i++)
  ------------------
  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      0|                   (index))
  ------------------
  |  Branch (11559:21): [True: 0, False: 0]
  |  Branch (11559:62): [True: 0, False: 0]
  ------------------
11560|      0|            if (chr != (unsigned char)str[i])
  ------------------
  |  Branch (11560:17): [True: 0, False: 0]
  ------------------
11561|      0|                return (chr < (unsigned char)(str[i])) ? -1 : 1;
  ------------------
  |  Branch (11561:24): [True: 0, False: 0]
  ------------------
11562|       |        /* This check keeps Python strings that end in '\0' from comparing equal
11563|       |         to C strings identical up to that point. */
11564|      0|        if (PyUnicode_GET_LENGTH(uni) != i || chr)
  ------------------
  |  |  300|      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 (11564:13): [True: 0, False: 0]
  |  Branch (11564:47): [True: 0, False: 0]
  ------------------
11565|      0|            return 1; /* uni is longer */
11566|      0|        if (str[i])
  ------------------
  |  Branch (11566:13): [True: 0, False: 0]
  ------------------
11567|      0|            return -1; /* str is longer */
11568|      0|        return 0;
11569|      0|    }
11570|    963|}
_PyUnicode_EqualToASCIIString:
11650|  4.92k|{
11651|  4.92k|    size_t len;
11652|  4.92k|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (11652:5): [True: 4.92k, False: 0]
  ------------------
11653|  4.92k|    assert(str);
  ------------------
  |  Branch (11653:5): [True: 4.92k, False: 0]
  ------------------
11654|  4.92k|#ifndef NDEBUG
11655|  37.1k|    for (const char *p = str; *p; p++) {
  ------------------
  |  Branch (11655:31): [True: 32.1k, False: 4.92k]
  ------------------
11656|  32.1k|        assert((unsigned char)*p < 128);
  ------------------
  |  Branch (11656:9): [True: 32.1k, False: 0]
  ------------------
11657|  32.1k|    }
11658|  4.92k|#endif
11659|  4.92k|    if (!PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  228|  4.92k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.92k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11659:9): [True: 60, False: 4.86k]
  ------------------
11660|     60|        return 0;
11661|  4.86k|    len = (size_t)PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|  4.86k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11662|  4.86k|    return strlen(str) == len &&
  ------------------
  |  Branch (11662:12): [True: 535, False: 4.33k]
  ------------------
11663|    535|           memcmp(PyUnicode_1BYTE_DATA(unicode), str, len) == 0;
  ------------------
  |  |  292|    535|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    535|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (11663:12): [True: 126, False: 409]
  ------------------
11664|  4.92k|}
PyUnicode_RichCompare:
11668|  8.72k|{
11669|  8.72k|    int result;
11670|       |
11671|  8.72k|    if (!PyUnicode_Check(left) || !PyUnicode_Check(right))
  ------------------
  |  |  103|  8.72k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  17.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyUnicode_Check(left) || !PyUnicode_Check(right))
  ------------------
  |  |  103|  8.72k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.72k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11671:9): [True: 0, False: 8.72k]
  |  Branch (11671:35): [True: 4, False: 8.71k]
  ------------------
11672|      4|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      4|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      4|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
11673|       |
11674|  8.71k|    if (left == right) {
  ------------------
  |  Branch (11674:9): [True: 22, False: 8.69k]
  ------------------
11675|     22|        switch (op) {
11676|     15|        case Py_EQ:
  ------------------
  |  |  654|     15|#define Py_EQ 2
  ------------------
  |  Branch (11676:9): [True: 15, False: 7]
  ------------------
11677|     15|        case Py_LE:
  ------------------
  |  |  653|     15|#define Py_LE 1
  ------------------
  |  Branch (11677:9): [True: 0, False: 22]
  ------------------
11678|     15|        case Py_GE:
  ------------------
  |  |  657|     15|#define Py_GE 5
  ------------------
  |  Branch (11678:9): [True: 0, False: 22]
  ------------------
11679|       |            /* a string is equal to itself */
11680|     15|            Py_RETURN_TRUE;
  ------------------
  |  |   44|     15|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|     15|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11681|      7|        case Py_NE:
  ------------------
  |  |  655|      7|#define Py_NE 3
  ------------------
  |  Branch (11681:9): [True: 7, False: 15]
  ------------------
11682|      7|        case Py_LT:
  ------------------
  |  |  652|      7|#define Py_LT 0
  ------------------
  |  Branch (11682:9): [True: 0, False: 22]
  ------------------
11683|      7|        case Py_GT:
  ------------------
  |  |  656|      7|#define Py_GT 4
  ------------------
  |  Branch (11683:9): [True: 0, False: 22]
  ------------------
11684|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11685|      0|        default:
  ------------------
  |  Branch (11685:9): [True: 0, False: 22]
  ------------------
11686|      0|            PyErr_BadArgument();
11687|      0|            return NULL;
11688|     22|        }
11689|     22|    }
11690|  8.69k|    else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  654|  17.3k|#define Py_EQ 2
  ------------------
                  else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  655|  5.24k|#define Py_NE 3
  ------------------
  |  Branch (11690:14): [True: 3.44k, False: 5.24k]
  |  Branch (11690:29): [True: 18, False: 5.23k]
  ------------------
11691|  3.46k|        result = unicode_eq(left, right);
11692|  3.46k|        result ^= (op == Py_NE);
  ------------------
  |  |  655|  3.46k|#define Py_NE 3
  ------------------
11693|  3.46k|        return PyBool_FromLong(result);
11694|  3.46k|    }
11695|  5.23k|    else {
11696|  5.23k|        result = unicode_compare(left, right);
11697|  5.23k|        Py_RETURN_RICHCOMPARE(result, 0, op);
  ------------------
  |  |  674|  5.23k|    do {                                                                    \
  |  |  675|  5.23k|        switch (op) {                                                       \
  |  |  676|      0|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|      0|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (676:9): [True: 0, False: 5.23k]
  |  |  |  Branch (676:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  677|      0|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|      0|#define Py_NE 3
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 0, False: 5.23k]
  |  |  |  Branch (677:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  678|  5.23k|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|  5.23k|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|  2.65k|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  2.65k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|  2.57k|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|  2.57k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 5.23k, False: 0]
  |  |  |  Branch (678:25): [True: 2.65k, False: 2.57k]
  |  |  ------------------
  |  |  679|  5.23k|        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.23k]
  |  |  |  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.23k]
  |  |  |  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.23k]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 5.23k]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|  5.23k|        }                                                                   \
  |  |  685|  5.23k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
11698|  5.23k|    }
11699|  8.71k|}
PyUnicode_Contains:
11703|     80|{
11704|     80|    int kind1, kind2;
11705|     80|    const void *buf1, *buf2;
11706|     80|    Py_ssize_t len1, len2;
11707|     80|    int result;
11708|       |
11709|     80|    if (!PyUnicode_Check(substr)) {
  ------------------
  |  |  103|     80|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     80|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11709:9): [True: 0, False: 80]
  ------------------
11710|      0|        PyErr_Format(PyExc_TypeError,
11711|      0|                     "'in <string>' requires string as left operand, not %.100s",
11712|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11713|      0|        return -1;
11714|      0|    }
11715|     80|    if (ensure_unicode(str) < 0)
  ------------------
  |  |  109|     80|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (11715:9): [True: 0, False: 80]
  ------------------
11716|      0|        return -1;
11717|       |
11718|     80|    kind1 = PyUnicode_KIND(str);
  ------------------
  |  |  259|     80|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    160|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 80, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11719|     80|    kind2 = PyUnicode_KIND(substr);
  ------------------
  |  |  259|     80|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    160|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 80, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11720|     80|    if (kind1 < kind2)
  ------------------
  |  Branch (11720:9): [True: 0, False: 80]
  ------------------
11721|      0|        return 0;
11722|     80|    len1 = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  300|     80|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11723|     80|    len2 = PyUnicode_GET_LENGTH(substr);
  ------------------
  |  |  300|     80|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11724|     80|    if (len1 < len2)
  ------------------
  |  Branch (11724:9): [True: 4, False: 76]
  ------------------
11725|      4|        return 0;
11726|     76|    buf1 = PyUnicode_DATA(str);
  ------------------
  |  |  285|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11727|     76|    buf2 = PyUnicode_DATA(substr);
  ------------------
  |  |  285|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11728|     76|    if (len2 == 1) {
  ------------------
  |  Branch (11728:9): [True: 68, False: 8]
  ------------------
11729|     68|        Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  355|     68|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     68|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     68|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     68|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|     68|                   (index))
  ------------------
11730|     68|        result = findchar((const char *)buf1, kind1, len1, ch, 1) != -1;
11731|     68|        return result;
11732|     68|    }
11733|      8|    if (kind2 != kind1) {
  ------------------
  |  Branch (11733:9): [True: 0, False: 8]
  ------------------
11734|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
11735|      0|        if (!buf2)
  ------------------
  |  Branch (11735:13): [True: 0, False: 0]
  ------------------
11736|      0|            return -1;
11737|      0|    }
11738|       |
11739|      8|    switch (kind1) {
11740|      8|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11740:5): [True: 8, False: 0]
  ------------------
11741|      8|        result = ucs1lib_find(buf1, len1, buf2, len2, 0) != -1;
11742|      8|        break;
11743|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11743:5): [True: 0, False: 8]
  ------------------
11744|      0|        result = ucs2lib_find(buf1, len1, buf2, len2, 0) != -1;
11745|      0|        break;
11746|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11746:5): [True: 0, False: 8]
  ------------------
11747|      0|        result = ucs4lib_find(buf1, len1, buf2, len2, 0) != -1;
11748|      0|        break;
11749|      0|    default:
  ------------------
  |  Branch (11749:5): [True: 0, False: 8]
  ------------------
11750|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11751|      8|    }
11752|       |
11753|      8|    assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(substr)));
  ------------------
  |  Branch (11753:5): [True: 8, False: 0]
  ------------------
11754|      8|    if (kind2 != kind1)
  ------------------
  |  Branch (11754:9): [True: 0, False: 8]
  ------------------
11755|      0|        PyMem_Free((void *)buf2);
11756|       |
11757|      8|    return result;
11758|      8|}
PyUnicode_Concat:
11764|  1.00k|{
11765|  1.00k|    PyObject *result;
11766|  1.00k|    Py_UCS4 maxchar, maxchar2;
11767|  1.00k|    Py_ssize_t left_len, right_len, new_len;
11768|       |
11769|  1.00k|    if (ensure_unicode(left) < 0)
  ------------------
  |  |  109|  1.00k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (11769:9): [True: 0, False: 1.00k]
  ------------------
11770|      0|        return NULL;
11771|       |
11772|  1.00k|    if (!PyUnicode_Check(right)) {
  ------------------
  |  |  103|  1.00k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.00k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11772:9): [True: 0, False: 1.00k]
  ------------------
11773|      0|        PyErr_Format(PyExc_TypeError,
11774|      0|            "can only concatenate str (not \"%.200s\") to str",
11775|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11776|      0|        return NULL;
11777|      0|    }
11778|       |
11779|       |    /* Shortcuts */
11780|  1.00k|    PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
11781|  1.00k|    if (left == empty) {
  ------------------
  |  Branch (11781:9): [True: 8, False: 994]
  ------------------
11782|      8|        return PyUnicode_FromObject(right);
11783|      8|    }
11784|    994|    if (right == empty) {
  ------------------
  |  Branch (11784:9): [True: 0, False: 994]
  ------------------
11785|      0|        return PyUnicode_FromObject(left);
11786|      0|    }
11787|       |
11788|    994|    left_len = PyUnicode_GET_LENGTH(left);
  ------------------
  |  |  300|    994|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    994|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    994|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11789|    994|    right_len = PyUnicode_GET_LENGTH(right);
  ------------------
  |  |  300|    994|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    994|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    994|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11790|    994|    if (left_len > PY_SSIZE_T_MAX - right_len) {
  ------------------
  |  |  137|    994|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11790:9): [True: 0, False: 994]
  ------------------
11791|      0|        PyErr_SetString(PyExc_OverflowError,
11792|      0|                        "strings are too large to concat");
11793|      0|        return NULL;
11794|      0|    }
11795|    994|    new_len = left_len + right_len;
11796|       |
11797|    994|    maxchar = PyUnicode_MAX_CHAR_VALUE(left);
  ------------------
  |  |  406|    994|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    994|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    994|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11798|    994|    maxchar2 = PyUnicode_MAX_CHAR_VALUE(right);
  ------------------
  |  |  406|    994|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    994|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    994|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11799|    994|    maxchar = Py_MAX(maxchar, maxchar2);
  ------------------
  |  |  133|    994|       __extension__ \
  |  |  134|    994|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|    994|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|    994|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|    994|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|    994|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 994]
  |  |  ------------------
  ------------------
11800|       |
11801|       |    /* Concat the two Unicode strings */
11802|    994|    result = PyUnicode_New(new_len, maxchar);
11803|    994|    if (result == NULL)
  ------------------
  |  Branch (11803:9): [True: 0, False: 994]
  ------------------
11804|      0|        return NULL;
11805|    994|    _PyUnicode_FastCopyCharacters(result, 0, left, 0, left_len);
11806|    994|    _PyUnicode_FastCopyCharacters(result, left_len, right, 0, right_len);
11807|    994|    assert(_PyUnicode_CheckConsistency(result, 1));
  ------------------
  |  Branch (11807:5): [True: 994, False: 0]
  ------------------
11808|    994|    return result;
11809|    994|}
PyUnicode_Append:
11813|     38|{
11814|     38|    PyObject *left, *res;
11815|     38|    Py_UCS4 maxchar, maxchar2;
11816|     38|    Py_ssize_t left_len, right_len, new_len;
11817|       |
11818|     38|    if (p_left == NULL) {
  ------------------
  |  Branch (11818:9): [True: 0, False: 38]
  ------------------
11819|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (11819:13): [True: 0, False: 0]
  ------------------
11820|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
11821|      0|        return;
11822|      0|    }
11823|     38|    left = *p_left;
11824|     38|    if (right == NULL || left == NULL
  ------------------
  |  Branch (11824:9): [True: 0, False: 38]
  |  Branch (11824:26): [True: 0, False: 38]
  ------------------
11825|     38|        || !PyUnicode_Check(left) || !PyUnicode_Check(right)) {
  ------------------
  |  |  103|     38|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     76|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                      || !PyUnicode_Check(left) || !PyUnicode_Check(right)) {
  ------------------
  |  |  103|     38|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     38|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11825:12): [True: 0, False: 38]
  |  Branch (11825:38): [True: 0, False: 38]
  ------------------
11826|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (11826:13): [True: 0, False: 0]
  ------------------
11827|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
11828|      0|        goto error;
11829|      0|    }
11830|       |
11831|       |    /* Shortcuts */
11832|     38|    PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
11833|     38|    if (left == empty) {
  ------------------
  |  Branch (11833:9): [True: 0, False: 38]
  ------------------
11834|      0|        Py_DECREF(left);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11835|      0|        *p_left = Py_NewRef(right);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11836|      0|        return;
11837|      0|    }
11838|     38|    if (right == empty) {
  ------------------
  |  Branch (11838:9): [True: 0, False: 38]
  ------------------
11839|      0|        return;
11840|      0|    }
11841|       |
11842|     38|    left_len = PyUnicode_GET_LENGTH(left);
  ------------------
  |  |  300|     38|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11843|     38|    right_len = PyUnicode_GET_LENGTH(right);
  ------------------
  |  |  300|     38|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11844|     38|    if (left_len > PY_SSIZE_T_MAX - right_len) {
  ------------------
  |  |  137|     38|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11844:9): [True: 0, False: 38]
  ------------------
11845|      0|        PyErr_SetString(PyExc_OverflowError,
11846|      0|                        "strings are too large to concat");
11847|      0|        goto error;
11848|      0|    }
11849|     38|    new_len = left_len + right_len;
11850|       |
11851|     38|    if (_PyUnicode_IsModifiable(left)
  ------------------
  |  Branch (11851:9): [True: 4, False: 34]
  ------------------
11852|     38|        && PyUnicode_CheckExact(right)
  ------------------
  |  |  104|      4|#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|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11853|     38|        && PyUnicode_KIND(right) <= PyUnicode_KIND(left)
  ------------------
  |  |  259|      4|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      && PyUnicode_KIND(right) <= PyUnicode_KIND(left)
  ------------------
  |  |  259|      4|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     42|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11853:12): [True: 4, False: 0]
  ------------------
11854|       |        /* Don't resize for ascii += latin1. Convert ascii to latin1 requires
11855|       |           to change the structure size, but characters are stored just after
11856|       |           the structure, and so it requires to move all characters which is
11857|       |           not so different than duplicating the string. */
11858|      4|        && !(PyUnicode_IS_ASCII(left) && !PyUnicode_IS_ASCII(right)))
  ------------------
  |  |  228|      8|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 4, False: 0]
  |  |  ------------------
  ------------------
                      && !(PyUnicode_IS_ASCII(left) && !PyUnicode_IS_ASCII(right)))
  ------------------
  |  |  228|      4|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11858:42): [True: 0, False: 4]
  ------------------
11859|      4|    {
11860|       |        /* append inplace */
11861|      4|        if (unicode_resize(p_left, new_len) != 0)
  ------------------
  |  Branch (11861:13): [True: 0, False: 4]
  ------------------
11862|      0|            goto error;
11863|       |
11864|       |        /* copy 'right' into the newly allocated area of 'left' */
11865|      4|        _PyUnicode_FastCopyCharacters(*p_left, left_len, right, 0, right_len);
11866|      4|    }
11867|     34|    else {
11868|     34|        maxchar = PyUnicode_MAX_CHAR_VALUE(left);
  ------------------
  |  |  406|     34|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11869|     34|        maxchar2 = PyUnicode_MAX_CHAR_VALUE(right);
  ------------------
  |  |  406|     34|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11870|     34|        maxchar = Py_MAX(maxchar, maxchar2);
  ------------------
  |  |  133|     34|       __extension__ \
  |  |  134|     34|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|     34|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|     34|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 34]
  |  |  ------------------
  ------------------
11871|       |
11872|       |        /* Concat the two Unicode strings */
11873|     34|        res = PyUnicode_New(new_len, maxchar);
11874|     34|        if (res == NULL)
  ------------------
  |  Branch (11874:13): [True: 0, False: 34]
  ------------------
11875|      0|            goto error;
11876|     34|        _PyUnicode_FastCopyCharacters(res, 0, left, 0, left_len);
11877|     34|        _PyUnicode_FastCopyCharacters(res, left_len, right, 0, right_len);
11878|     34|        Py_DECREF(left);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11879|     34|        *p_left = res;
11880|     34|    }
11881|     38|    assert(_PyUnicode_CheckConsistency(*p_left, 1));
  ------------------
  |  Branch (11881:5): [True: 38, False: 0]
  ------------------
11882|     38|    return;
11883|       |
11884|     38|error:
11885|       |    Py_CLEAR(*p_left);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
11886|      0|}
_PyUnicode_ScanIdentifier:
12565|  1.56k|{
12566|  1.56k|    Py_ssize_t i;
12567|  1.56k|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|  1.56k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12568|  1.56k|    if (len == 0) {
  ------------------
  |  Branch (12568:9): [True: 0, False: 1.56k]
  ------------------
12569|       |        /* an empty string is not a valid identifier */
12570|      0|        return 0;
12571|      0|    }
12572|       |
12573|  1.56k|    int kind = PyUnicode_KIND(self);
  ------------------
  |  |  259|  1.56k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  3.12k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.56k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12574|  1.56k|    const void *data = PyUnicode_DATA(self);
  ------------------
  |  |  285|  1.56k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12575|  1.56k|    Py_UCS4 ch = PyUnicode_READ(kind, data, 0);
  ------------------
  |  |  355|  1.56k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  1.56k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  1.56k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  1.56k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  1.56k|                   (index))
  ------------------
12576|       |    /* PEP 3131 says that the first character must be in
12577|       |       XID_Start and subsequent characters in XID_Continue,
12578|       |       and for the ASCII range, the 2.x rules apply (i.e
12579|       |       start with letters and underscore, continue with
12580|       |       letters, digits, underscore). However, given the current
12581|       |       definition of XID_Start and XID_Continue, it is sufficient
12582|       |       to check just for these, except that _ must be allowed
12583|       |       as starting an identifier.  */
12584|  1.56k|    if (!_PyUnicode_IsXidStart(ch) && ch != 0x5F /* LOW LINE */) {
  ------------------
  |  Branch (12584:9): [True: 33, False: 1.52k]
  |  Branch (12584:39): [True: 1, False: 32]
  ------------------
12585|      1|        return 0;
12586|      1|    }
12587|       |
12588|  2.95M|    for (i = 1; i < len; i++) {
  ------------------
  |  Branch (12588:17): [True: 2.95M, False: 1.55k]
  ------------------
12589|  2.95M|        ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  355|  2.95M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  2.95M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  2.95M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  2.95M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  2.95M|                   (index))
  ------------------
12590|  2.95M|        if (!_PyUnicode_IsXidContinue(ch)) {
  ------------------
  |  Branch (12590:13): [True: 2, False: 2.95M]
  ------------------
12591|      2|            return i;
12592|      2|        }
12593|  2.95M|    }
12594|  1.55k|    return i;
12595|  1.56k|}
PyUnicode_IsIdentifier:
12599|     51|{
12600|     51|    Py_ssize_t i = _PyUnicode_ScanIdentifier(self);
12601|     51|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|     51|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12602|       |    /* an empty string is not a valid identifier */
12603|     51|    return len && i == len;
  ------------------
  |  Branch (12603:12): [True: 51, False: 0]
  |  Branch (12603:19): [True: 51, False: 0]
  ------------------
12604|     51|}
_PyUnicode_XStrip:
12734|    716|{
12735|    716|    const void *data;
12736|    716|    int kind;
12737|    716|    Py_ssize_t i, j, len;
12738|    716|    BLOOM_MASK sepmask;
  ------------------
  |  |  906|    716|#define BLOOM_MASK unsigned long
  ------------------
12739|    716|    Py_ssize_t seplen;
12740|       |
12741|    716|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  259|    716|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.43k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 716, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12742|    716|    data = PyUnicode_DATA(self);
  ------------------
  |  |  285|    716|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    716|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    716|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12743|    716|    len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|    716|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    716|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    716|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12744|    716|    seplen = PyUnicode_GET_LENGTH(sepobj);
  ------------------
  |  |  300|    716|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    716|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    716|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12745|    716|    sepmask = make_bloom_mask(PyUnicode_KIND(sepobj),
  ------------------
  |  |  259|    716|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.43k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 716, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12746|    716|                              PyUnicode_DATA(sepobj),
  ------------------
  |  |  285|    716|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    716|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    716|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12747|    716|                              seplen);
12748|       |
12749|      0|    i = 0;
12750|    716|    if (striptype != RIGHTSTRIP) {
  ------------------
  |  |12723|    716|#define RIGHTSTRIP 1
  ------------------
  |  Branch (12750:9): [True: 33, False: 683]
  ------------------
12751|     33|        while (i < len) {
  ------------------
  |  Branch (12751:16): [True: 33, False: 0]
  ------------------
12752|     33|            Py_UCS4 ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  355|     33|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     33|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     33|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     33|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|     33|                   (index))
  ------------------
12753|     33|            if (!BLOOM(sepmask, ch))
  ------------------
  |  |  910|     33|#define BLOOM(mask, ch)     ((mask &  (1UL << ((ch) & (BLOOM_WIDTH - 1)))))
  |  |  ------------------
  |  |  |  |  899|     33|#define BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (12753:17): [True: 33, False: 0]
  ------------------
12754|     33|                break;
12755|      0|            if (PyUnicode_FindChar(sepobj, ch, 0, seplen, 1) < 0)
  ------------------
  |  Branch (12755:17): [True: 0, False: 0]
  ------------------
12756|      0|                break;
12757|      0|            i++;
12758|      0|        }
12759|     33|    }
12760|       |
12761|    716|    j = len;
12762|    716|    if (striptype != LEFTSTRIP) {
  ------------------
  |  |12722|    716|#define LEFTSTRIP 0
  ------------------
  |  Branch (12762:9): [True: 683, False: 33]
  ------------------
12763|    683|        j--;
12764|    687|        while (j >= i) {
  ------------------
  |  Branch (12764:16): [True: 687, False: 0]
  ------------------
12765|    687|            Py_UCS4 ch = PyUnicode_READ(kind, data, j);
  ------------------
  |  |  355|    687|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    687|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    687|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    687|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|    687|                   (index))
  ------------------
12766|    687|            if (!BLOOM(sepmask, ch))
  ------------------
  |  |  910|    687|#define BLOOM(mask, ch)     ((mask &  (1UL << ((ch) & (BLOOM_WIDTH - 1)))))
  |  |  ------------------
  |  |  |  |  899|    687|#define BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (12766:17): [True: 442, False: 245]
  ------------------
12767|    442|                break;
12768|    245|            if (PyUnicode_FindChar(sepobj, ch, 0, seplen, 1) < 0)
  ------------------
  |  Branch (12768:17): [True: 241, False: 4]
  ------------------
12769|    241|                break;
12770|      4|            j--;
12771|      4|        }
12772|       |
12773|    683|        j++;
12774|    683|    }
12775|       |
12776|    716|    return PyUnicode_Substring(self, i, j);
12777|    716|}
_PyUnicode_BinarySlice:
12781|    152|{
12782|    152|    assert(PyUnicode_CheckExact(container));
  ------------------
  |  Branch (12782:5): [True: 152, False: 0]
  ------------------
12783|    152|    Py_ssize_t len = PyUnicode_GET_LENGTH(container);
  ------------------
  |  |  300|    152|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    152|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    152|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12784|    152|    Py_ssize_t istart, istop;
12785|    152|    if (!_PyEval_UnpackIndices(start_o, stop_o, len, &istart, &istop)) {
  ------------------
  |  Branch (12785:9): [True: 0, False: 152]
  ------------------
12786|      0|        return NULL;
12787|      0|    }
12788|    152|    return PyUnicode_Substring(container, istart, istop);
12789|    152|}
PyUnicode_Substring:
12793|  1.00k|{
12794|  1.00k|    const unsigned char *data;
12795|  1.00k|    int kind;
12796|  1.00k|    Py_ssize_t length;
12797|       |
12798|  1.00k|    length = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|  1.00k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12799|  1.00k|    end = Py_MIN(end, length);
  ------------------
  |  |  127|  1.00k|       __extension__ \
  |  |  128|  1.00k|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  1.00k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|  1.00k|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  1.00k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|  1.00k|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 155, False: 852]
  |  |  ------------------
  ------------------
12800|       |
12801|  1.00k|    if (start == 0 && end == length)
  ------------------
  |  Branch (12801:9): [True: 881, False: 126]
  |  Branch (12801:23): [True: 726, False: 155]
  ------------------
12802|    726|        return unicode_result_unchanged(self);
12803|       |
12804|    281|    if (start < 0 || end < 0) {
  ------------------
  |  Branch (12804:9): [True: 0, False: 281]
  |  Branch (12804:22): [True: 0, False: 281]
  ------------------
12805|      0|        PyErr_SetString(PyExc_IndexError, "string index out of range");
12806|      0|        return NULL;
12807|      0|    }
12808|    281|    if (start >= length || end < start)
  ------------------
  |  Branch (12808:9): [True: 0, False: 281]
  |  Branch (12808:28): [True: 0, False: 281]
  ------------------
12809|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      0|    do {                             \
  |  |  366|      0|        return _PyUnicode_GetEmpty();\
  |  |  367|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
12810|       |
12811|    281|    length = end - start;
12812|    281|    if (PyUnicode_IS_ASCII(self)) {
  ------------------
  |  |  228|    281|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    281|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    281|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 274, False: 7]
  |  |  ------------------
  ------------------
12813|    274|        data = PyUnicode_1BYTE_DATA(self);
  ------------------
  |  |  292|    274|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    274|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12814|    274|        return _PyUnicode_FromASCII((const char*)(data + start), length);
12815|    274|    }
12816|      7|    else {
12817|      7|        kind = PyUnicode_KIND(self);
  ------------------
  |  |  259|      7|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     14|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 7, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12818|      7|        data = PyUnicode_1BYTE_DATA(self);
  ------------------
  |  |  292|      7|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      7|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12819|      7|        return PyUnicode_FromKindAndData(kind,
12820|      7|                                         data + kind * start,
12821|      7|                                         length);
12822|      7|    }
12823|    281|}
_PyUnicode_Repeat:
12966|      4|{
12967|      4|    PyObject *u;
12968|      4|    Py_ssize_t nchars, n;
12969|       |
12970|      4|    if (len < 1)
  ------------------
  |  Branch (12970:9): [True: 0, False: 4]
  ------------------
12971|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      0|    do {                             \
  |  |  366|      0|        return _PyUnicode_GetEmpty();\
  |  |  367|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
12972|       |
12973|       |    /* no repeat, return original string */
12974|      4|    if (len == 1)
  ------------------
  |  Branch (12974:9): [True: 0, False: 4]
  ------------------
12975|      0|        return unicode_result_unchanged(str);
12976|       |
12977|      4|    if (PyUnicode_GET_LENGTH(str) > PY_SSIZE_T_MAX / len) {
  ------------------
  |  |  300|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyUnicode_GET_LENGTH(str) > PY_SSIZE_T_MAX / len) {
  ------------------
  |  |  137|      4|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (12977:9): [True: 0, False: 4]
  ------------------
12978|      0|        PyErr_SetString(PyExc_OverflowError,
12979|      0|                        "repeated string is too long");
12980|      0|        return NULL;
12981|      0|    }
12982|      4|    nchars = len * PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  300|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12983|       |
12984|      4|    u = PyUnicode_New(nchars, PyUnicode_MAX_CHAR_VALUE(str));
  ------------------
  |  |  406|      4|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12985|      4|    if (!u)
  ------------------
  |  Branch (12985:9): [True: 0, False: 4]
  ------------------
12986|      0|        return NULL;
12987|      4|    assert(PyUnicode_KIND(u) == PyUnicode_KIND(str));
  ------------------
  |  Branch (12987:5): [True: 4, False: 0]
  |  Branch (12987:5): [True: 4, False: 0]
  |  Branch (12987:5): [True: 4, False: 0]
  ------------------
12988|       |
12989|      4|    if (PyUnicode_GET_LENGTH(str) == 1) {
  ------------------
  |  |  300|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12989:9): [True: 4, False: 0]
  ------------------
12990|      4|        int kind = PyUnicode_KIND(str);
  ------------------
  |  |  259|      4|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12991|      4|        Py_UCS4 fill_char = PyUnicode_READ(kind, PyUnicode_DATA(str), 0);
  ------------------
  |  |  355|      4|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      4|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      4|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      4|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      4|                   (index))
  ------------------
12992|      4|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (12992:13): [True: 4, False: 0]
  ------------------
12993|      4|            void *to = PyUnicode_DATA(u);
  ------------------
  |  |  285|      4|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12994|      4|            memset(to, (unsigned char)fill_char, len);
12995|      4|        }
12996|      0|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (12996:18): [True: 0, False: 0]
  ------------------
12997|      0|            Py_UCS2 *ucs2 = PyUnicode_2BYTE_DATA(u);
  ------------------
  |  |  293|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12998|      0|            for (n = 0; n < len; ++n)
  ------------------
  |  Branch (12998:25): [True: 0, False: 0]
  ------------------
12999|      0|                ucs2[n] = fill_char;
13000|      0|        } else {
13001|      0|            Py_UCS4 *ucs4 = PyUnicode_4BYTE_DATA(u);
  ------------------
  |  |  294|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
13002|      0|            assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (13002:13): [True: 0, False: 0]
  ------------------
13003|      0|            for (n = 0; n < len; ++n)
  ------------------
  |  Branch (13003:25): [True: 0, False: 0]
  ------------------
13004|      0|                ucs4[n] = fill_char;
13005|      0|        }
13006|      4|    }
13007|      0|    else {
13008|      0|        Py_ssize_t char_size = PyUnicode_KIND(str);
  ------------------
  |  |  259|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13009|      0|        char *to = (char *) PyUnicode_DATA(u);
  ------------------
  |  |  285|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13010|      0|        _PyBytes_RepeatBuffer(to, nchars * char_size, PyUnicode_DATA(str),
  ------------------
  |  |  285|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13011|      0|            PyUnicode_GET_LENGTH(str) * char_size);
  ------------------
  |  |  300|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13012|      0|    }
13013|       |
13014|      4|    assert(_PyUnicode_CheckConsistency(u, 1));
  ------------------
  |  Branch (13014:5): [True: 4, False: 0]
  ------------------
13015|      4|    return u;
13016|      4|}
PyUnicode_RPartition:
13373|    337|{
13374|    337|    PyObject* out;
13375|    337|    int kind1, kind2;
13376|    337|    const void *buf1, *buf2;
13377|    337|    Py_ssize_t len1, len2;
13378|       |
13379|    337|    if (ensure_unicode(str_obj) < 0 || ensure_unicode(sep_obj) < 0)
  ------------------
  |  |  109|    337|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
                  if (ensure_unicode(str_obj) < 0 || ensure_unicode(sep_obj) < 0)
  ------------------
  |  |  109|    337|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (13379:9): [True: 0, False: 337]
  |  Branch (13379:40): [True: 0, False: 337]
  ------------------
13380|      0|        return NULL;
13381|       |
13382|    337|    kind1 = PyUnicode_KIND(str_obj);
  ------------------
  |  |  259|    337|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    674|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 337, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13383|    337|    kind2 = PyUnicode_KIND(sep_obj);
  ------------------
  |  |  259|    337|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    674|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 337, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13384|    337|    len1 = PyUnicode_GET_LENGTH(str_obj);
  ------------------
  |  |  300|    337|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    337|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    337|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13385|    337|    len2 = PyUnicode_GET_LENGTH(sep_obj);
  ------------------
  |  |  300|    337|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    337|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    337|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13386|    337|    if (kind1 < kind2 || len1 < len2) {
  ------------------
  |  Branch (13386:9): [True: 0, False: 337]
  |  Branch (13386:26): [True: 0, False: 337]
  ------------------
13387|      0|        PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
13388|      0|        return PyTuple_Pack(3, empty, empty, str_obj);
13389|      0|    }
13390|    337|    buf1 = PyUnicode_DATA(str_obj);
  ------------------
  |  |  285|    337|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    337|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    337|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13391|    337|    buf2 = PyUnicode_DATA(sep_obj);
  ------------------
  |  |  285|    337|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    337|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    337|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13392|    337|    if (kind2 != kind1) {
  ------------------
  |  Branch (13392:9): [True: 0, False: 337]
  ------------------
13393|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
13394|      0|        if (!buf2)
  ------------------
  |  Branch (13394:13): [True: 0, False: 0]
  ------------------
13395|      0|            return NULL;
13396|      0|    }
13397|       |
13398|    337|    switch (kind1) {
13399|    337|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (13399:5): [True: 337, False: 0]
  ------------------
13400|    337|        if (PyUnicode_IS_ASCII(str_obj) && PyUnicode_IS_ASCII(sep_obj))
  ------------------
  |  |  228|    674|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    337|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    337|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 337, False: 0]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(str_obj) && PyUnicode_IS_ASCII(sep_obj))
  ------------------
  |  |  228|    337|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    337|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    337|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 337, False: 0]
  |  |  ------------------
  ------------------
13401|    337|            out = asciilib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
13402|      0|        else
13403|      0|            out = ucs1lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
13404|    337|        break;
13405|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (13405:5): [True: 0, False: 337]
  ------------------
13406|      0|        out = ucs2lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
13407|      0|        break;
13408|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (13408:5): [True: 0, False: 337]
  ------------------
13409|      0|        out = ucs4lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
13410|      0|        break;
13411|      0|    default:
  ------------------
  |  Branch (13411:5): [True: 0, False: 337]
  ------------------
13412|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
13413|    337|    }
13414|       |
13415|    337|    assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(sep_obj)));
  ------------------
  |  Branch (13415:5): [True: 337, False: 0]
  ------------------
13416|    337|    if (kind2 != kind1)
  ------------------
  |  Branch (13416:9): [True: 0, False: 337]
  ------------------
13417|      0|        PyMem_Free((void *)buf2);
13418|       |
13419|    337|    return out;
13420|    337|}
_PyUnicode_ExactDealloc:
14471|    233|{
14472|    233|    assert(PyUnicode_CheckExact(op));
  ------------------
  |  Branch (14472:5): [True: 233, False: 0]
  ------------------
14473|    233|    unicode_dealloc(op);
14474|    233|}
_PyUnicode_InitState:
14567|      2|{
14568|      2|    if (!_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (14568:9): [True: 0, False: 2]
  ------------------
14569|      0|        return;
14570|      0|    }
14571|      2|    _init_global_state();
14572|      2|}
_PyUnicode_InitGlobalObjects:
14577|      2|{
14578|      2|    if (_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (14578:9): [True: 2, False: 0]
  ------------------
14579|      2|        PyStatus status = init_global_interned_strings(interp);
14580|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
14581|      0|            return status;
14582|      0|        }
14583|      2|    }
14584|      2|    assert(INTERNED_STRINGS);
  ------------------
  |  Branch (14584:5): [True: 2, False: 0]
  ------------------
14585|       |
14586|      2|    if (init_interned_dict(interp)) {
  ------------------
  |  Branch (14586:9): [True: 0, False: 2]
  ------------------
14587|      0|        PyErr_Clear();
14588|      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)}
  ------------------
14589|      0|    }
14590|       |
14591|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
14592|      2|}
_PyUnicode_InitTypes:
14597|      2|{
14598|      2|    if (_PyStaticType_InitBuiltin(interp, &EncodingMapType) < 0) {
  ------------------
  |  Branch (14598:9): [True: 0, False: 2]
  ------------------
14599|      0|        goto error;
14600|      0|    }
14601|      2|    if (_PyStaticType_InitBuiltin(interp, &PyFieldNameIter_Type) < 0) {
  ------------------
  |  Branch (14601:9): [True: 0, False: 2]
  ------------------
14602|      0|        goto error;
14603|      0|    }
14604|      2|    if (_PyStaticType_InitBuiltin(interp, &PyFormatterIter_Type) < 0) {
  ------------------
  |  Branch (14604:9): [True: 0, False: 2]
  ------------------
14605|      0|        goto error;
14606|      0|    }
14607|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
14608|       |
14609|      0|error:
14610|      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)}
  ------------------
14611|      2|}
_PyUnicode_InternStatic:
14654|  2.30k|{
14655|       |    // This should only be called as part of runtime initialization
14656|  2.30k|    assert(!Py_IsInitialized());
  ------------------
  |  Branch (14656:5): [True: 2.30k, False: 0]
  ------------------
14657|       |
14658|  2.30k|    *p = intern_static(interp, *p);
14659|       |    assert(*p);
  ------------------
  |  Branch (14659:5): [True: 2.30k, False: 0]
  ------------------
14660|  2.30k|}
_PyUnicode_InternImmortal:
14877|  38.1k|{
14878|  38.1k|    *p = intern_common(interp, *p, 1);
14879|       |    assert(*p);
  ------------------
  |  Branch (14879:5): [True: 38.1k, False: 0]
  ------------------
14880|  38.1k|}
_PyUnicode_InternMortal:
14884|  22.7k|{
14885|  22.7k|    *p = intern_common(interp, *p, 0);
14886|       |    assert(*p);
  ------------------
  |  Branch (14886:5): [True: 22.7k, False: 0]
  ------------------
14887|  22.7k|}
PyUnicode_InternFromString:
14915|  6.69k|{
14916|  6.69k|    PyObject *s = PyUnicode_FromString(cp);
14917|  6.69k|    if (s == NULL) {
  ------------------
  |  Branch (14917:9): [True: 0, False: 6.69k]
  ------------------
14918|      0|        return NULL;
14919|      0|    }
14920|  6.69k|    PyInterpreterState *interp = _PyInterpreterState_GET();
14921|  6.69k|    _PyUnicode_InternMortal(interp, &s);
14922|  6.69k|    return s;
14923|  6.69k|}
_PyUnicode_InitEncodings:
15384|      2|{
15385|      2|    PyStatus status = _PyCodec_InitRegistry(tstate->interp);
15386|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
15387|      0|        return status;
15388|      0|    }
15389|      2|    status = init_fs_encoding(tstate);
15390|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
15391|      0|        return status;
15392|      0|    }
15393|       |
15394|      2|    return init_stdio_encoding(tstate->interp);
15395|      2|}
unicodeobject.c:get_interned_dict:
  202|  13.5k|{
  203|  13.5k|    return _Py_INTERP_CACHED_OBJECT(interp, interned_strings);
  ------------------
  |  |   22|  13.5k|    (interp)->cached_objects.NAME
  ------------------
  204|  13.5k|}
unicodeobject.c:PyUnicode_SET_UTF8_LENGTH:
  145|     61|{
  146|     61|    _PyCompactUnicodeObject_CAST(op)->utf8_length = length;
  ------------------
  |  |  189|     61|    (assert(!(_PyASCIIObject_CAST(op)->state.ascii \
  |  |  190|     61|              && _PyASCIIObject_CAST(op)->state.compact)), \
  |  |  191|     61|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     61|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (146:5): [True: 61, False: 0]
  |  Branch (146:5): [True: 14, False: 0]
  |  Branch (146:5): [True: 14, False: 47]
  |  Branch (146:5): [True: 0, False: 14]
  ------------------
  147|     61|}
unicodeobject.c:PyUnicode_SET_UTF8:
  129|     61|{
  130|     61|    FT_ATOMIC_STORE_PTR_RELEASE(_PyCompactUnicodeObject_CAST(op)->utf8, utf8);
  ------------------
  |  |  166|    422|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (166:55): [True: 61, False: 0]
  |  |  |  Branch (166:55): [True: 14, False: 0]
  |  |  |  Branch (166:55): [True: 14, False: 47]
  |  |  |  Branch (166:55): [True: 0, False: 14]
  |  |  ------------------
  ------------------
  131|     61|}
unicodeobject.c:_copy_characters:
 1381|  2.68k|{
 1382|  2.68k|    int from_kind, to_kind;
 1383|  2.68k|    const void *from_data;
 1384|  2.68k|    void *to_data;
 1385|       |
 1386|  2.68k|    assert(0 <= how_many);
  ------------------
  |  Branch (1386:5): [True: 2.68k, False: 0]
  ------------------
 1387|  2.68k|    assert(0 <= from_start);
  ------------------
  |  Branch (1387:5): [True: 2.68k, False: 0]
  ------------------
 1388|  2.68k|    assert(0 <= to_start);
  ------------------
  |  Branch (1388:5): [True: 2.68k, False: 0]
  ------------------
 1389|  2.68k|    assert(PyUnicode_Check(from));
  ------------------
  |  Branch (1389:5): [True: 2.68k, False: 0]
  ------------------
 1390|  2.68k|    assert(from_start + how_many <= PyUnicode_GET_LENGTH(from));
  ------------------
  |  Branch (1390:5): [True: 2.68k, False: 0]
  ------------------
 1391|       |
 1392|  2.68k|    assert(to == NULL || PyUnicode_Check(to));
  ------------------
  |  Branch (1392:5): [True: 0, False: 2.68k]
  |  Branch (1392:5): [True: 2.68k, False: 0]
  ------------------
 1393|       |
 1394|  2.68k|    if (how_many == 0) {
  ------------------
  |  Branch (1394:9): [True: 0, False: 2.68k]
  ------------------
 1395|      0|        return 0;
 1396|      0|    }
 1397|       |
 1398|  2.68k|    assert(to != NULL);
  ------------------
  |  Branch (1398:5): [True: 2.68k, False: 0]
  ------------------
 1399|  2.68k|    assert(to_start + how_many <= PyUnicode_GET_LENGTH(to));
  ------------------
  |  Branch (1399:5): [True: 2.68k, False: 0]
  ------------------
 1400|       |
 1401|  2.68k|    from_kind = PyUnicode_KIND(from);
  ------------------
  |  |  259|  2.68k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  5.37k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 2.68k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1402|  2.68k|    from_data = PyUnicode_DATA(from);
  ------------------
  |  |  285|  2.68k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1403|  2.68k|    to_kind = PyUnicode_KIND(to);
  ------------------
  |  |  259|  2.68k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  5.37k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 2.68k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1404|  2.68k|    to_data = PyUnicode_DATA(to);
  ------------------
  |  |  285|  2.68k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1405|       |
 1406|       |#ifdef Py_DEBUG
 1407|       |    if (!check_maxchar
 1408|       |        && PyUnicode_MAX_CHAR_VALUE(from) > PyUnicode_MAX_CHAR_VALUE(to))
 1409|       |    {
 1410|       |        Py_UCS4 to_maxchar = PyUnicode_MAX_CHAR_VALUE(to);
 1411|       |        Py_UCS4 ch;
 1412|       |        Py_ssize_t i;
 1413|       |        for (i=0; i < how_many; i++) {
 1414|       |            ch = PyUnicode_READ(from_kind, from_data, from_start + i);
 1415|       |            assert(ch <= to_maxchar);
 1416|       |        }
 1417|       |    }
 1418|       |#endif
 1419|       |
 1420|  2.68k|    if (from_kind == to_kind) {
  ------------------
  |  Branch (1420:9): [True: 2.42k, False: 263]
  ------------------
 1421|  2.42k|        if (check_maxchar
  ------------------
  |  Branch (1421:13): [True: 0, False: 2.42k]
  ------------------
 1422|      0|            && !PyUnicode_IS_ASCII(from) && PyUnicode_IS_ASCII(to))
  ------------------
  |  |  228|  2.42k|#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))
  ------------------
  |  |  228|      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 (228:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1422:16): [True: 0, False: 0]
  ------------------
 1423|      0|        {
 1424|       |            /* Writing Latin-1 characters into an ASCII string requires to
 1425|       |               check that all written characters are pure ASCII */
 1426|      0|            Py_UCS4 max_char;
 1427|      0|            max_char = ucs1lib_find_max_char(from_data,
 1428|      0|                                             (const Py_UCS1*)from_data + how_many);
 1429|      0|            if (max_char >= 128)
  ------------------
  |  Branch (1429:17): [True: 0, False: 0]
  ------------------
 1430|      0|                return -1;
 1431|      0|        }
 1432|  2.42k|        memcpy((char*)to_data + to_kind * to_start,
 1433|  2.42k|                  (const char*)from_data + from_kind * from_start,
 1434|  2.42k|                  to_kind * how_many);
 1435|  2.42k|    }
 1436|    263|    else if (from_kind == PyUnicode_1BYTE_KIND
  ------------------
  |  Branch (1436:14): [True: 238, False: 25]
  ------------------
 1437|    238|             && to_kind == PyUnicode_2BYTE_KIND)
  ------------------
  |  Branch (1437:17): [True: 64, False: 174]
  ------------------
 1438|     64|    {
 1439|     64|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|     64|    do {                                                \
  |  |   48|     64|        to_type *_to = (to_type *)(to);                 \
  |  |   49|     64|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|     64|        const from_type *_end = (const from_type *)(end);\
  |  |   51|     64|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|     64|        const from_type *_unrolled_end =                \
  |  |   53|     64|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|     64|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|  1.96M|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 1.96M, False: 64]
  |  |  ------------------
  |  |   55|  1.96M|            _to[0] = (to_type) _iter[0];                \
  |  |   56|  1.96M|            _to[1] = (to_type) _iter[1];                \
  |  |   57|  1.96M|            _to[2] = (to_type) _iter[2];                \
  |  |   58|  1.96M|            _to[3] = (to_type) _iter[3];                \
  |  |   59|  1.96M|            _iter += 4; _to += 4;                       \
  |  |   60|  1.96M|        }                                               \
  |  |   61|    121|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 57, False: 64]
  |  |  ------------------
  |  |   62|     64|            *_to++ = (to_type) *_iter++;                \
  |  |   63|     64|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 64]
  |  |  ------------------
  ------------------
 1440|     64|            Py_UCS1, Py_UCS2,
 1441|     64|            PyUnicode_1BYTE_DATA(from) + from_start,
 1442|     64|            PyUnicode_1BYTE_DATA(from) + from_start + how_many,
 1443|     64|            PyUnicode_2BYTE_DATA(to) + to_start
 1444|     64|            );
 1445|     64|    }
 1446|    199|    else if (from_kind == PyUnicode_1BYTE_KIND
  ------------------
  |  Branch (1446:14): [True: 174, False: 25]
  ------------------
 1447|    174|             && to_kind == PyUnicode_4BYTE_KIND)
  ------------------
  |  Branch (1447:17): [True: 174, False: 0]
  ------------------
 1448|    174|    {
 1449|    174|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|    174|    do {                                                \
  |  |   48|    174|        to_type *_to = (to_type *)(to);                 \
  |  |   49|    174|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|    174|        const from_type *_end = (const from_type *)(end);\
  |  |   51|    174|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|    174|        const from_type *_unrolled_end =                \
  |  |   53|    174|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|    174|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|  1.48M|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 1.48M, False: 174]
  |  |  ------------------
  |  |   55|  1.48M|            _to[0] = (to_type) _iter[0];                \
  |  |   56|  1.48M|            _to[1] = (to_type) _iter[1];                \
  |  |   57|  1.48M|            _to[2] = (to_type) _iter[2];                \
  |  |   58|  1.48M|            _to[3] = (to_type) _iter[3];                \
  |  |   59|  1.48M|            _iter += 4; _to += 4;                       \
  |  |   60|  1.48M|        }                                               \
  |  |   61|    450|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 276, False: 174]
  |  |  ------------------
  |  |   62|    276|            *_to++ = (to_type) *_iter++;                \
  |  |   63|    174|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 174]
  |  |  ------------------
  ------------------
 1450|    174|            Py_UCS1, Py_UCS4,
 1451|    174|            PyUnicode_1BYTE_DATA(from) + from_start,
 1452|    174|            PyUnicode_1BYTE_DATA(from) + from_start + how_many,
 1453|    174|            PyUnicode_4BYTE_DATA(to) + to_start
 1454|    174|            );
 1455|    174|    }
 1456|     25|    else if (from_kind == PyUnicode_2BYTE_KIND
  ------------------
  |  Branch (1456:14): [True: 25, False: 0]
  ------------------
 1457|     25|             && to_kind == PyUnicode_4BYTE_KIND)
  ------------------
  |  Branch (1457:17): [True: 25, False: 0]
  ------------------
 1458|     25|    {
 1459|     25|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|     25|    do {                                                \
  |  |   48|     25|        to_type *_to = (to_type *)(to);                 \
  |  |   49|     25|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|     25|        const from_type *_end = (const from_type *)(end);\
  |  |   51|     25|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|     25|        const from_type *_unrolled_end =                \
  |  |   53|     25|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|     25|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|  1.41M|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 1.41M, False: 25]
  |  |  ------------------
  |  |   55|  1.41M|            _to[0] = (to_type) _iter[0];                \
  |  |   56|  1.41M|            _to[1] = (to_type) _iter[1];                \
  |  |   57|  1.41M|            _to[2] = (to_type) _iter[2];                \
  |  |   58|  1.41M|            _to[3] = (to_type) _iter[3];                \
  |  |   59|  1.41M|            _iter += 4; _to += 4;                       \
  |  |   60|  1.41M|        }                                               \
  |  |   61|     59|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 34, False: 25]
  |  |  ------------------
  |  |   62|     34|            *_to++ = (to_type) *_iter++;                \
  |  |   63|     25|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 25]
  |  |  ------------------
  ------------------
 1460|     25|            Py_UCS2, Py_UCS4,
 1461|     25|            PyUnicode_2BYTE_DATA(from) + from_start,
 1462|     25|            PyUnicode_2BYTE_DATA(from) + from_start + how_many,
 1463|     25|            PyUnicode_4BYTE_DATA(to) + to_start
 1464|     25|            );
 1465|     25|    }
 1466|      0|    else {
 1467|      0|        assert (PyUnicode_MAX_CHAR_VALUE(from) > PyUnicode_MAX_CHAR_VALUE(to));
  ------------------
  |  Branch (1467:9): [True: 0, False: 0]
  ------------------
 1468|       |
 1469|      0|        if (!check_maxchar) {
  ------------------
  |  Branch (1469:13): [True: 0, False: 0]
  ------------------
 1470|      0|            if (from_kind == PyUnicode_2BYTE_KIND
  ------------------
  |  Branch (1470:17): [True: 0, False: 0]
  ------------------
 1471|      0|                && to_kind == PyUnicode_1BYTE_KIND)
  ------------------
  |  Branch (1471:20): [True: 0, False: 0]
  ------------------
 1472|      0|            {
 1473|      0|                _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|      0|    do {                                                \
  |  |   48|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   49|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   51|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|      0|        const from_type *_unrolled_end =                \
  |  |   53|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   55|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   56|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   57|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   58|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   59|      0|            _iter += 4; _to += 4;                       \
  |  |   60|      0|        }                                               \
  |  |   61|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   62|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   63|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1474|      0|                    Py_UCS2, Py_UCS1,
 1475|      0|                    PyUnicode_2BYTE_DATA(from) + from_start,
 1476|      0|                    PyUnicode_2BYTE_DATA(from) + from_start + how_many,
 1477|      0|                    PyUnicode_1BYTE_DATA(to) + to_start
 1478|      0|                    );
 1479|      0|            }
 1480|      0|            else if (from_kind == PyUnicode_4BYTE_KIND
  ------------------
  |  Branch (1480:22): [True: 0, False: 0]
  ------------------
 1481|      0|                     && to_kind == PyUnicode_1BYTE_KIND)
  ------------------
  |  Branch (1481:25): [True: 0, False: 0]
  ------------------
 1482|      0|            {
 1483|      0|                _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|      0|    do {                                                \
  |  |   48|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   49|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   51|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|      0|        const from_type *_unrolled_end =                \
  |  |   53|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   55|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   56|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   57|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   58|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   59|      0|            _iter += 4; _to += 4;                       \
  |  |   60|      0|        }                                               \
  |  |   61|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   62|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   63|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1484|      0|                    Py_UCS4, Py_UCS1,
 1485|      0|                    PyUnicode_4BYTE_DATA(from) + from_start,
 1486|      0|                    PyUnicode_4BYTE_DATA(from) + from_start + how_many,
 1487|      0|                    PyUnicode_1BYTE_DATA(to) + to_start
 1488|      0|                    );
 1489|      0|            }
 1490|      0|            else if (from_kind == PyUnicode_4BYTE_KIND
  ------------------
  |  Branch (1490:22): [True: 0, False: 0]
  ------------------
 1491|      0|                     && to_kind == PyUnicode_2BYTE_KIND)
  ------------------
  |  Branch (1491:25): [True: 0, False: 0]
  ------------------
 1492|      0|            {
 1493|      0|                _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|      0|    do {                                                \
  |  |   48|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   49|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   51|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|      0|        const from_type *_unrolled_end =                \
  |  |   53|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   55|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   56|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   57|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   58|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   59|      0|            _iter += 4; _to += 4;                       \
  |  |   60|      0|        }                                               \
  |  |   61|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   62|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   63|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1494|      0|                    Py_UCS4, Py_UCS2,
 1495|      0|                    PyUnicode_4BYTE_DATA(from) + from_start,
 1496|      0|                    PyUnicode_4BYTE_DATA(from) + from_start + how_many,
 1497|      0|                    PyUnicode_2BYTE_DATA(to) + to_start
 1498|      0|                    );
 1499|      0|            }
 1500|      0|            else {
 1501|      0|                Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1502|      0|            }
 1503|      0|        }
 1504|      0|        else {
 1505|      0|            const Py_UCS4 to_maxchar = PyUnicode_MAX_CHAR_VALUE(to);
  ------------------
  |  |  406|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1506|      0|            Py_UCS4 ch;
 1507|      0|            Py_ssize_t i;
 1508|       |
 1509|      0|            for (i=0; i < how_many; i++) {
  ------------------
  |  Branch (1509:23): [True: 0, False: 0]
  ------------------
 1510|      0|                ch = PyUnicode_READ(from_kind, from_data, from_start + i);
  ------------------
  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      0|                   (index))
  ------------------
 1511|      0|                if (ch > to_maxchar)
  ------------------
  |  Branch (1511:21): [True: 0, False: 0]
  ------------------
 1512|      0|                    return -1;
 1513|      0|                PyUnicode_WRITE(to_kind, to_data, to_start + i, ch);
  ------------------
  |  |  336|      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))
  |  |  ------------------
  |  |  337|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1514|      0|            }
 1515|      0|        }
 1516|      0|    }
 1517|  2.68k|    return 0;
 1518|  2.68k|}
unicodeobject.c:unicode_check_modifiable:
 1368|      8|{
 1369|      8|    if (!_PyUnicode_IsModifiable(unicode)) {
  ------------------
  |  Branch (1369:9): [True: 0, False: 8]
  ------------------
 1370|      0|        PyErr_SetString(PyExc_SystemError,
 1371|      0|                        "Cannot modify a string currently used");
 1372|      0|        return -1;
 1373|      0|    }
 1374|      8|    return 0;
 1375|      8|}
unicodeobject.c:unicode_resize:
 1766|      4|{
 1767|      4|    PyObject *unicode;
 1768|      4|    Py_ssize_t old_length;
 1769|       |
 1770|      4|    assert(p_unicode != NULL);
  ------------------
  |  Branch (1770:5): [True: 4, False: 0]
  ------------------
 1771|      4|    unicode = *p_unicode;
 1772|       |
 1773|      4|    assert(unicode != NULL);
  ------------------
  |  Branch (1773:5): [True: 4, False: 0]
  ------------------
 1774|      4|    assert(PyUnicode_Check(unicode));
  ------------------
  |  Branch (1774:5): [True: 4, False: 0]
  ------------------
 1775|      4|    assert(0 <= length);
  ------------------
  |  Branch (1775:5): [True: 4, False: 0]
  ------------------
 1776|       |
 1777|      4|    old_length = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1778|      4|    if (old_length == length)
  ------------------
  |  Branch (1778:9): [True: 0, False: 4]
  ------------------
 1779|      0|        return 0;
 1780|       |
 1781|      4|    if (length == 0) {
  ------------------
  |  Branch (1781:9): [True: 0, False: 4]
  ------------------
 1782|      0|        PyObject *empty = _PyUnicode_GetEmpty();
 1783|      0|        Py_SETREF(*p_unicode, empty);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1784|      0|        return 0;
 1785|      0|    }
 1786|       |
 1787|      4|    if (!_PyUnicode_IsModifiable(unicode)) {
  ------------------
  |  Branch (1787:9): [True: 0, False: 4]
  ------------------
 1788|      0|        PyObject *copy = resize_copy(unicode, length);
 1789|      0|        if (copy == NULL)
  ------------------
  |  Branch (1789:13): [True: 0, False: 0]
  ------------------
 1790|      0|            return -1;
 1791|      0|        Py_SETREF(*p_unicode, copy);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1792|      0|        return 0;
 1793|      0|    }
 1794|       |
 1795|      4|    if (PyUnicode_IS_COMPACT(unicode)) {
  ------------------
  |  |  235|      4|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 1796|      4|        PyObject *new_unicode = _PyUnicode_ResizeCompact(unicode, length);
 1797|      4|        if (new_unicode == NULL)
  ------------------
  |  Branch (1797:13): [True: 0, False: 4]
  ------------------
 1798|      0|            return -1;
 1799|      4|        *p_unicode = new_unicode;
 1800|      4|        return 0;
 1801|      4|    }
 1802|      0|    return resize_inplace(unicode, length);
 1803|      4|}
unicodeobject.c:get_latin1_char:
 1824|    940|{
 1825|    940|    PyObject *o = LATIN1(ch);
  ------------------
  |  |  174|    940|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  955|    940|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (955:6): [True: 940, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  956|    940|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    940|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    940|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  957|    940|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1826|    940|    return o;
 1827|    940|}
unicodeobject.c:find_maxchar_surrogates:
 1597|    790|{
 1598|    790|    const wchar_t *iter;
 1599|    790|    Py_UCS4 ch;
 1600|       |
 1601|    790|    assert(num_surrogates != NULL && maxchar != NULL);
  ------------------
  |  Branch (1601:5): [True: 790, False: 0]
  |  Branch (1601:5): [True: 790, False: 0]
  ------------------
 1602|    790|    *num_surrogates = 0;
 1603|    790|    *maxchar = 0;
 1604|       |
 1605|  12.6k|    for (iter = begin; iter < end; ) {
  ------------------
  |  Branch (1605:24): [True: 11.8k, False: 790]
  ------------------
 1606|       |#if SIZEOF_WCHAR_T == 2
 1607|       |        if (Py_UNICODE_IS_HIGH_SURROGATE(iter[0])
 1608|       |            && (iter+1) < end
 1609|       |            && Py_UNICODE_IS_LOW_SURROGATE(iter[1]))
 1610|       |        {
 1611|       |            ch = Py_UNICODE_JOIN_SURROGATES(iter[0], iter[1]);
 1612|       |            ++(*num_surrogates);
 1613|       |            iter += 2;
 1614|       |        }
 1615|       |        else
 1616|       |#endif
 1617|  11.8k|        {
 1618|  11.8k|            ch = *iter;
 1619|  11.8k|            iter++;
 1620|  11.8k|        }
 1621|  11.8k|        if (ch > *maxchar) {
  ------------------
  |  Branch (1621:13): [True: 2.51k, False: 9.36k]
  ------------------
 1622|  2.51k|            *maxchar = ch;
 1623|  2.51k|            if (*maxchar > MAX_UNICODE) {
  ------------------
  |  |  108|  2.51k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   18|  2.51k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (1623:17): [True: 0, False: 2.51k]
  ------------------
 1624|      0|                unicode_invalid_character(PyExc_ValueError, ch);
 1625|      0|                return -1;
 1626|      0|            }
 1627|  2.51k|        }
 1628|  11.8k|    }
 1629|    790|    return 0;
 1630|    790|}
unicodeobject.c:unicode_write_widechar:
 1858|    790|{
 1859|    790|    switch (kind) {
 1860|    790|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (1860:5): [True: 790, False: 0]
  ------------------
 1861|    790|        _PyUnicode_CONVERT_BYTES(wchar_t, unsigned char, u, u + size, data);
  ------------------
  |  |   47|    790|    do {                                                \
  |  |   48|    790|        to_type *_to = (to_type *)(to);                 \
  |  |   49|    790|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|    790|        const from_type *_end = (const from_type *)(end);\
  |  |   51|    790|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|    790|        const from_type *_unrolled_end =                \
  |  |   53|    790|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|    790|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|  3.47k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 2.68k, False: 790]
  |  |  ------------------
  |  |   55|  2.68k|            _to[0] = (to_type) _iter[0];                \
  |  |   56|  2.68k|            _to[1] = (to_type) _iter[1];                \
  |  |   57|  2.68k|            _to[2] = (to_type) _iter[2];                \
  |  |   58|  2.68k|            _to[3] = (to_type) _iter[3];                \
  |  |   59|  2.68k|            _iter += 4; _to += 4;                       \
  |  |   60|  2.68k|        }                                               \
  |  |   61|  1.91k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 1.12k, False: 790]
  |  |  ------------------
  |  |   62|  1.12k|            *_to++ = (to_type) *_iter++;                \
  |  |   63|    790|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 790]
  |  |  ------------------
  ------------------
 1862|    790|        break;
 1863|       |
 1864|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (1864:5): [True: 0, False: 790]
  ------------------
 1865|       |#if SIZEOF_WCHAR_T == 2
 1866|       |        memcpy(data, u, size * 2);
 1867|       |#else
 1868|      0|        _PyUnicode_CONVERT_BYTES(wchar_t, Py_UCS2, u, u + size, data);
  ------------------
  |  |   47|      0|    do {                                                \
  |  |   48|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   49|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   51|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|      0|        const from_type *_unrolled_end =                \
  |  |   53|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   55|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   56|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   57|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   58|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   59|      0|            _iter += 4; _to += 4;                       \
  |  |   60|      0|        }                                               \
  |  |   61|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   62|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   63|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1869|      0|#endif
 1870|      0|        break;
 1871|       |
 1872|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (1872:5): [True: 0, False: 790]
  ------------------
 1873|      0|    {
 1874|       |#if SIZEOF_WCHAR_T == 2
 1875|       |        // Convert a 16-bits wchar_t representation to UCS4, this will decode
 1876|       |        // surrogate pairs.
 1877|       |        const wchar_t *end = u + size;
 1878|       |        Py_UCS4 *ucs4_out = (Py_UCS4*)data;
 1879|       |#  ifndef NDEBUG
 1880|       |        Py_UCS4 *ucs4_end = (Py_UCS4*)data + (size - num_surrogates);
 1881|       |#  endif
 1882|       |        for (const wchar_t *iter = u; iter < end; ) {
 1883|       |            assert(ucs4_out < ucs4_end);
 1884|       |            if (Py_UNICODE_IS_HIGH_SURROGATE(iter[0])
 1885|       |                && (iter+1) < end
 1886|       |                && Py_UNICODE_IS_LOW_SURROGATE(iter[1]))
 1887|       |            {
 1888|       |                *ucs4_out++ = Py_UNICODE_JOIN_SURROGATES(iter[0], iter[1]);
 1889|       |                iter += 2;
 1890|       |            }
 1891|       |            else {
 1892|       |                *ucs4_out++ = *iter;
 1893|       |                iter++;
 1894|       |            }
 1895|       |        }
 1896|       |        assert(ucs4_out == ucs4_end);
 1897|       |#else
 1898|      0|        assert(num_surrogates == 0);
  ------------------
  |  Branch (1898:9): [True: 0, False: 0]
  ------------------
 1899|      0|        memcpy(data, u, size * 4);
 1900|      0|#endif
 1901|      0|        break;
 1902|      0|    }
 1903|      0|    default:
  ------------------
  |  Branch (1903:5): [True: 0, False: 790]
  ------------------
 1904|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1905|    790|    }
 1906|    790|}
unicodeobject.c:_PyUnicode_FromUCS1:
 2169|  14.7k|{
 2170|  14.7k|    PyObject *res;
 2171|  14.7k|    unsigned char max_char;
 2172|       |
 2173|  14.7k|    if (size == 0) {
  ------------------
  |  Branch (2173:9): [True: 11, False: 14.7k]
  ------------------
 2174|     11|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|     11|    do {                             \
  |  |  366|     11|        return _PyUnicode_GetEmpty();\
  |  |  367|     11|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2175|     11|    }
 2176|  14.7k|    assert(size > 0);
  ------------------
  |  Branch (2176:5): [True: 14.7k, False: 0]
  ------------------
 2177|  14.7k|    if (size == 1) {
  ------------------
  |  Branch (2177:9): [True: 551, False: 14.2k]
  ------------------
 2178|    551|        return get_latin1_char(u[0]);
 2179|    551|    }
 2180|       |
 2181|  14.2k|    max_char = ucs1lib_find_max_char(u, u + size);
 2182|  14.2k|    res = PyUnicode_New(size, max_char);
 2183|  14.2k|    if (!res)
  ------------------
  |  Branch (2183:9): [True: 0, False: 14.2k]
  ------------------
 2184|      0|        return NULL;
 2185|  14.2k|    memcpy(PyUnicode_1BYTE_DATA(res), u, size);
  ------------------
  |  |  292|  14.2k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  14.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2186|  14.2k|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (2186:5): [True: 14.2k, False: 0]
  ------------------
 2187|  14.2k|    return res;
 2188|  14.2k|}
unicodeobject.c:_PyUnicode_FromUCS4:
 2218|     10|{
 2219|     10|    PyObject *res;
 2220|       |
 2221|     10|    if (size == 0)
  ------------------
  |  Branch (2221:9): [True: 0, False: 10]
  ------------------
 2222|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      0|    do {                             \
  |  |  366|      0|        return _PyUnicode_GetEmpty();\
  |  |  367|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2223|     10|    assert(size > 0);
  ------------------
  |  Branch (2223:5): [True: 10, False: 0]
  ------------------
 2224|       |
 2225|     10|    if (size == 1) {
  ------------------
  |  Branch (2225:9): [True: 1, False: 9]
  ------------------
 2226|       |        // Raise SystemError if the character is invalid
 2227|      1|        return unicode_char(u[0]);
 2228|      1|    }
 2229|       |
 2230|       |#ifdef Py_DEBUG
 2231|       |    // Check for invalid characters in debug mode
 2232|       |    Py_UCS4 max_char = 127;
 2233|       |    for (Py_ssize_t i = 0; i < size; i++) {
 2234|       |        Py_UCS4 ch = u[i];
 2235|       |        if (ch > max_char) {
 2236|       |            if (ch > MAX_UNICODE) {
 2237|       |                unicode_invalid_character(PyExc_SystemError, ch);
 2238|       |                return NULL;
 2239|       |            }
 2240|       |            max_char = ch;
 2241|       |        }
 2242|       |    }
 2243|       |#else
 2244|       |    // gh-158445: Return MAX_UNICODE even if the string contains invalid
 2245|       |    // characters. Checking for invalid characters would make the function
 2246|       |    // slower whereas it's unlikely in practice.
 2247|      9|    Py_UCS4 max_char = ucs4lib_find_max_char(u, u + size);
 2248|      9|#endif
 2249|       |
 2250|      9|    res = PyUnicode_New(size, max_char);
 2251|      9|    if (!res)
  ------------------
  |  Branch (2251:9): [True: 0, False: 9]
  ------------------
 2252|      0|        return NULL;
 2253|      9|    if (max_char < 256)
  ------------------
  |  Branch (2253:9): [True: 0, False: 9]
  ------------------
 2254|      0|        _PyUnicode_CONVERT_BYTES(Py_UCS4, Py_UCS1, u, u + size,
  ------------------
  |  |   47|      0|    do {                                                \
  |  |   48|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   49|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   51|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|      0|        const from_type *_unrolled_end =                \
  |  |   53|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   55|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   56|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   57|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   58|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   59|      0|            _iter += 4; _to += 4;                       \
  |  |   60|      0|        }                                               \
  |  |   61|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   62|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   63|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2255|      9|                                 PyUnicode_1BYTE_DATA(res));
 2256|      9|    else if (max_char < 0x10000)
  ------------------
  |  Branch (2256:14): [True: 4, False: 5]
  ------------------
 2257|      4|        _PyUnicode_CONVERT_BYTES(Py_UCS4, Py_UCS2, u, u + size,
  ------------------
  |  |   47|      4|    do {                                                \
  |  |   48|      4|        to_type *_to = (to_type *)(to);                 \
  |  |   49|      4|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|      4|        const from_type *_end = (const from_type *)(end);\
  |  |   51|      4|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|      4|        const from_type *_unrolled_end =                \
  |  |   53|      4|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|      4|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|   789k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 789k, False: 4]
  |  |  ------------------
  |  |   55|   789k|            _to[0] = (to_type) _iter[0];                \
  |  |   56|   789k|            _to[1] = (to_type) _iter[1];                \
  |  |   57|   789k|            _to[2] = (to_type) _iter[2];                \
  |  |   58|   789k|            _to[3] = (to_type) _iter[3];                \
  |  |   59|   789k|            _iter += 4; _to += 4;                       \
  |  |   60|   789k|        }                                               \
  |  |   61|     10|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 6, False: 4]
  |  |  ------------------
  |  |   62|      6|            *_to++ = (to_type) *_iter++;                \
  |  |   63|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 2258|      9|                                 PyUnicode_2BYTE_DATA(res));
 2259|      5|    else
 2260|      5|        memcpy(PyUnicode_4BYTE_DATA(res), u, sizeof(Py_UCS4)*size);
  ------------------
  |  |  294|      5|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      5|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2261|      9|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (2261:5): [True: 9, False: 0]
  ------------------
 2262|      9|    return res;
 2263|      9|}
unicodeobject.c:unicode_from_format:
 3113|    160|{
 3114|    160|    Py_ssize_t len = strlen(format);
 3115|    160|    writer->min_length += len + 100;
 3116|    160|    writer->overallocate = 1;
 3117|       |
 3118|       |    // Copy varags to be able to pass a reference to a subfunction.
 3119|    160|    va_list vargs2;
 3120|    160|    va_copy(vargs2, vargs);
 3121|       |
 3122|       |    // _PyUnicodeWriter_WriteASCIIString() below requires the format string
 3123|       |    // to be encoded to ASCII.
 3124|    160|    int is_ascii = (ucs1lib_find_max_char((Py_UCS1*)format, (Py_UCS1*)format + len) < 128);
 3125|    160|    if (!is_ascii) {
  ------------------
  |  Branch (3125:9): [True: 0, False: 160]
  ------------------
 3126|      0|        Py_ssize_t i;
 3127|      0|        for (i=0; i < len && (unsigned char)format[i] <= 127; i++);
  ------------------
  |  Branch (3127:19): [True: 0, False: 0]
  |  Branch (3127:30): [True: 0, False: 0]
  ------------------
 3128|      0|        PyErr_Format(PyExc_ValueError,
 3129|      0|            "PyUnicode_FromFormatV() expects an ASCII-encoded format "
 3130|      0|            "string, got a non-ASCII byte: 0x%02x",
 3131|      0|            (unsigned char)format[i]);
 3132|      0|        goto fail;
 3133|      0|    }
 3134|       |
 3135|    794|    for (const char *f = format; *f; ) {
  ------------------
  |  Branch (3135:34): [True: 634, False: 160]
  ------------------
 3136|    634|        if (*f == '%') {
  ------------------
  |  Branch (3136:13): [True: 263, False: 371]
  ------------------
 3137|    263|            f = unicode_fromformat_arg(writer, f, &vargs2);
 3138|    263|            if (f == NULL)
  ------------------
  |  Branch (3138:17): [True: 0, False: 263]
  ------------------
 3139|      0|                goto fail;
 3140|    263|        }
 3141|    371|        else {
 3142|    371|            const char *p = strchr(f, '%');
 3143|    371|            if (p != NULL) {
  ------------------
  |  Branch (3143:17): [True: 242, False: 129]
  ------------------
 3144|    242|                len = p - f;
 3145|    242|            }
 3146|    129|            else {
 3147|    129|                len = strlen(f);
 3148|    129|                writer->overallocate = 0;
 3149|    129|            }
 3150|       |
 3151|    371|            if (_PyUnicodeWriter_WriteASCIIString(writer, f, len) < 0) {
  ------------------
  |  Branch (3151:17): [True: 0, False: 371]
  ------------------
 3152|      0|                goto fail;
 3153|      0|            }
 3154|    371|            f += len;
 3155|    371|        }
 3156|    634|    }
 3157|    160|    va_end(vargs2);
 3158|    160|    return 0;
 3159|       |
 3160|      0|  fail:
 3161|       |    va_end(vargs2);
 3162|      0|    return -1;
 3163|    160|}
unicodeobject.c:unicode_fromformat_arg:
 2697|    263|{
 2698|    263|    const char *p;
 2699|    263|    Py_ssize_t len;
 2700|    263|    int flags = 0;
 2701|    263|    Py_ssize_t width;
 2702|    263|    Py_ssize_t precision;
 2703|       |
 2704|    263|    p = f;
 2705|    263|    f++;
 2706|    263|    if (*f == '%') {
  ------------------
  |  Branch (2706:9): [True: 0, False: 263]
  ------------------
 2707|      0|        if (_PyUnicodeWriter_WriteCharInline(writer, '%') < 0)
  ------------------
  |  Branch (2707:13): [True: 0, False: 0]
  ------------------
 2708|      0|            return NULL;
 2709|      0|        f++;
 2710|      0|        return f;
 2711|      0|    }
 2712|       |
 2713|       |    /* Parse flags. Example: "%-i" => flags=F_LJUST. */
 2714|       |    /* Flags '+', ' ' and '#' are not particularly useful.
 2715|       |     * They are not worth the implementation and maintenance costs.
 2716|       |     * In addition, '#' should add "0" for "o" conversions for compatibility
 2717|       |     * with printf, but it would confuse Python users. */
 2718|    274|    while (1) {
  ------------------
  |  Branch (2718:12): [True: 274, Folded]
  ------------------
 2719|    274|        switch (*f++) {
  ------------------
  |  Branch (2719:17): [True: 11, False: 263]
  ------------------
 2720|      0|        case '-': flags |= F_LJUST; continue;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2720:9): [True: 0, False: 274]
  ------------------
 2721|     11|        case '0': flags |= F_ZERO; continue;
  ------------------
  |  |   22|     11|#define F_ZERO  (1<<4)
  ------------------
  |  Branch (2721:9): [True: 11, False: 263]
  ------------------
 2722|      0|        case '#': flags |= F_ALT; continue;
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (2722:9): [True: 0, False: 274]
  ------------------
 2723|    274|        }
 2724|    263|        f--;
 2725|    263|        break;
 2726|    274|    }
 2727|       |
 2728|       |    /* parse the width.precision part, e.g. "%2.5s" => width=2, precision=5 */
 2729|    263|    width = -1;
 2730|    263|    if (*f == '*') {
  ------------------
  |  Branch (2730:9): [True: 0, False: 263]
  ------------------
 2731|      0|        width = va_arg(*vargs, int);
 2732|      0|        if (width < 0) {
  ------------------
  |  Branch (2732:13): [True: 0, False: 0]
  ------------------
 2733|      0|            flags |= F_LJUST;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
 2734|      0|            width = -width;
 2735|      0|        }
 2736|      0|        f++;
 2737|      0|    }
 2738|    263|    else if (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|    263|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|    263|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|    263|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 11, False: 252]
  |  |  ------------------
  ------------------
 2739|     11|        width = *f - '0';
 2740|     11|        f++;
 2741|     11|        while (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|     11|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|     11|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|     11|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 0, False: 11]
  |  |  ------------------
  ------------------
 2742|      0|            if (width > (PY_SSIZE_T_MAX - ((int)*f - '0')) / 10) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2742:17): [True: 0, False: 0]
  ------------------
 2743|      0|                PyErr_SetString(PyExc_ValueError,
 2744|      0|                                "width too big");
 2745|      0|                return NULL;
 2746|      0|            }
 2747|      0|            width = (width * 10) + (*f - '0');
 2748|      0|            f++;
 2749|      0|        }
 2750|     11|    }
 2751|    263|    precision = -1;
 2752|    263|    if (*f == '.') {
  ------------------
  |  Branch (2752:9): [True: 26, False: 237]
  ------------------
 2753|     26|        f++;
 2754|     26|        if (*f == '*') {
  ------------------
  |  Branch (2754:13): [True: 0, False: 26]
  ------------------
 2755|      0|            precision = va_arg(*vargs, int);
 2756|      0|            if (precision < 0) {
  ------------------
  |  Branch (2756:17): [True: 0, False: 0]
  ------------------
 2757|      0|                precision = -2;
 2758|      0|            }
 2759|      0|            f++;
 2760|      0|        }
 2761|     26|        else if (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|     26|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|     26|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|     26|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 26, False: 0]
  |  |  ------------------
  ------------------
 2762|     26|            precision = (*f - '0');
 2763|     26|            f++;
 2764|     78|            while (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|     78|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|     78|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|     78|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 52, False: 26]
  |  |  ------------------
  ------------------
 2765|     52|                if (precision > (PY_SSIZE_T_MAX - ((int)*f - '0')) / 10) {
  ------------------
  |  |  137|     52|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2765:21): [True: 0, False: 52]
  ------------------
 2766|      0|                    PyErr_SetString(PyExc_ValueError,
 2767|      0|                                    "precision too big");
 2768|      0|                    return NULL;
 2769|      0|                }
 2770|     52|                precision = (precision * 10) + (*f - '0');
 2771|     52|                f++;
 2772|     52|            }
 2773|     26|        }
 2774|     26|    }
 2775|       |
 2776|    263|    int sizemod = 0;
 2777|    263|    if (*f == 'l') {
  ------------------
  |  Branch (2777:9): [True: 0, False: 263]
  ------------------
 2778|      0|        if (f[1] == 'l') {
  ------------------
  |  Branch (2778:13): [True: 0, False: 0]
  ------------------
 2779|      0|            sizemod = F_LONGLONG;
  ------------------
  |  | 2689|      0|#define F_LONGLONG 2
  ------------------
 2780|      0|            f += 2;
 2781|      0|        }
 2782|      0|        else {
 2783|      0|            sizemod = F_LONG;
  ------------------
  |  | 2688|      0|#define F_LONG 1
  ------------------
 2784|      0|            ++f;
 2785|      0|        }
 2786|      0|    }
 2787|    263|    else if (*f == 'z') {
  ------------------
  |  Branch (2787:14): [True: 4, False: 259]
  ------------------
 2788|      4|        sizemod = F_SIZE;
  ------------------
  |  | 2690|      4|#define F_SIZE 3
  ------------------
 2789|      4|        ++f;
 2790|      4|    }
 2791|    259|    else if (*f == 't') {
  ------------------
  |  Branch (2791:14): [True: 0, False: 259]
  ------------------
 2792|      0|        sizemod = F_PTRDIFF;
  ------------------
  |  | 2691|      0|#define F_PTRDIFF 4
  ------------------
 2793|      0|        ++f;
 2794|      0|    }
 2795|    259|    else if (*f == 'j') {
  ------------------
  |  Branch (2795:14): [True: 0, False: 259]
  ------------------
 2796|      0|        sizemod = F_INTMAX;
  ------------------
  |  | 2692|      0|#define F_INTMAX 5
  ------------------
 2797|      0|        ++f;
 2798|      0|    }
 2799|    263|    if (f[0] != '\0' && f[1] == '\0')
  ------------------
  |  Branch (2799:9): [True: 263, False: 0]
  |  Branch (2799:25): [True: 31, False: 232]
  ------------------
 2800|     31|        writer->overallocate = 0;
 2801|       |
 2802|    263|    switch (*f) {
 2803|     18|    case 'd': case 'i': case 'o': case 'u': case 'x': case 'X':
  ------------------
  |  Branch (2803:5): [True: 7, False: 256]
  |  Branch (2803:15): [True: 0, False: 263]
  |  Branch (2803:25): [True: 0, False: 263]
  |  Branch (2803:35): [True: 0, False: 263]
  |  Branch (2803:45): [True: 0, False: 263]
  |  Branch (2803:55): [True: 11, False: 252]
  ------------------
 2804|     18|        break;
 2805|     96|    case 'c': case 'p':
  ------------------
  |  Branch (2805:5): [True: 96, False: 167]
  |  Branch (2805:15): [True: 0, False: 263]
  ------------------
 2806|     96|        if (sizemod || width >= 0 || precision >= 0) goto invalid_format;
  ------------------
  |  Branch (2806:13): [True: 0, False: 96]
  |  Branch (2806:24): [True: 0, False: 96]
  |  Branch (2806:38): [True: 0, False: 96]
  ------------------
 2807|     96|        break;
 2808|     96|    case 's':
  ------------------
  |  Branch (2808:5): [True: 41, False: 222]
  ------------------
 2809|     41|    case 'V':
  ------------------
  |  Branch (2809:5): [True: 0, False: 263]
  ------------------
 2810|     41|        if (sizemod && sizemod != F_LONG) goto invalid_format;
  ------------------
  |  | 2688|      0|#define F_LONG 1
  ------------------
  |  Branch (2810:13): [True: 0, False: 41]
  |  Branch (2810:24): [True: 0, False: 0]
  ------------------
 2811|     41|        break;
 2812|    108|    default:
  ------------------
  |  Branch (2812:5): [True: 108, False: 155]
  ------------------
 2813|    108|        if (sizemod) goto invalid_format;
  ------------------
  |  Branch (2813:13): [True: 0, False: 108]
  ------------------
 2814|    108|        break;
 2815|    263|    }
 2816|       |
 2817|    263|    switch (*f) {
 2818|     96|    case 'c':
  ------------------
  |  Branch (2818:5): [True: 96, False: 167]
  ------------------
 2819|     96|    {
 2820|     96|        int ordinal = va_arg(*vargs, int);
 2821|     96|        if (ordinal < 0 || ordinal > MAX_UNICODE) {
  ------------------
  |  |  108|     96|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   18|     96|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (2821:13): [True: 0, False: 96]
  |  Branch (2821:28): [True: 0, False: 96]
  ------------------
 2822|      0|            PyErr_SetString(PyExc_OverflowError,
 2823|      0|                            "character argument not in range(0x110000)");
 2824|      0|            return NULL;
 2825|      0|        }
 2826|     96|        if (_PyUnicodeWriter_WriteCharInline(writer, ordinal) < 0)
  ------------------
  |  Branch (2826:13): [True: 0, False: 96]
  ------------------
 2827|      0|            return NULL;
 2828|     96|        break;
 2829|     96|    }
 2830|       |
 2831|     96|    case 'd': case 'i':
  ------------------
  |  Branch (2831:5): [True: 7, False: 256]
  |  Branch (2831:15): [True: 0, False: 263]
  ------------------
 2832|     18|    case 'o': case 'u': case 'x': case 'X':
  ------------------
  |  Branch (2832:5): [True: 0, False: 263]
  |  Branch (2832:15): [True: 0, False: 263]
  |  Branch (2832:25): [True: 0, False: 263]
  |  Branch (2832:35): [True: 11, False: 252]
  ------------------
 2833|     18|    {
 2834|     18|        char buffer[MAX_INTMAX_CHARS];
 2835|       |
 2836|       |        // Fill buffer using sprinf, with one of many possible format
 2837|       |        // strings, like "%llX" for `long long` in hexadecimal.
 2838|       |        // The type/size is in `sizemod`; the format is in `*f`.
 2839|       |
 2840|       |        // Use macros with nested switches to keep the sprintf format strings
 2841|       |        // as compile-time literals, avoiding warnings and maybe allowing
 2842|       |        // optimizations.
 2843|       |
 2844|       |        // `SPRINT` macro does one sprintf
 2845|       |        // Example usage: SPRINT("l", "X", unsigned long) expands to
 2846|       |        // sprintf(buffer, "%" "l" "X", va_arg(*vargs, unsigned long))
 2847|     18|        #define SPRINT(SIZE_SPEC, FMT_CHAR, TYPE) \
 2848|     18|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
 2849|       |
 2850|       |        // One inner switch to handle all format variants
 2851|     18|        #define DO_SPRINTS(SIZE_SPEC, SIGNED_TYPE, UNSIGNED_TYPE)             \
 2852|     18|            switch (*f) {                                                     \
 2853|     18|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
 2854|     18|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
 2855|     18|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
 2856|     18|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
 2857|     18|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
 2858|     18|            }
 2859|       |
 2860|       |        // Outer switch to handle all the sizes/types
 2861|     18|        switch (sizemod) {
 2862|      0|            case F_LONG:     DO_SPRINTS("l", long, unsigned long); break;
  ------------------
  |  | 2688|      0|#define F_LONG 1
  ------------------
                          case F_LONG:     DO_SPRINTS("l", long, unsigned long); break;
  ------------------
  |  | 2852|      0|            switch (*f) {                                                     \
  |  | 2853|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2853:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2854|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2854:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2855|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2855:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2856|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2856:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2857|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2857:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2858|      0|            }
  ------------------
  |  Branch (2862:13): [True: 0, False: 18]
  ------------------
 2863|      0|            case F_LONGLONG: DO_SPRINTS("ll", long long, unsigned long long); break;
  ------------------
  |  | 2689|      0|#define F_LONGLONG 2
  ------------------
                          case F_LONGLONG: DO_SPRINTS("ll", long long, unsigned long long); break;
  ------------------
  |  | 2852|      0|            switch (*f) {                                                     \
  |  | 2853|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2853:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2854|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2854:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2855|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2855:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2856|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2856:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2857|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2857:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2858|      0|            }
  ------------------
  |  Branch (2863:13): [True: 0, False: 18]
  ------------------
 2864|      4|            case F_SIZE:     DO_SPRINTS("z", Py_ssize_t, size_t); break;
  ------------------
  |  | 2690|      4|#define F_SIZE 3
  ------------------
                          case F_SIZE:     DO_SPRINTS("z", Py_ssize_t, size_t); break;
  ------------------
  |  | 2852|      4|            switch (*f) {                                                     \
  |  | 2853|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2853:17): [True: 0, False: 4]
  |  |  ------------------
  |  | 2854|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2854:17): [True: 0, False: 4]
  |  |  ------------------
  |  | 2855|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2855:17): [True: 0, False: 4]
  |  |  ------------------
  |  | 2856|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2856:17): [True: 0, False: 4]
  |  |  ------------------
  |  | 2857|      4|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2848|      4|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2857:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 2858|      4|            }
  ------------------
  |  Branch (2864:13): [True: 4, False: 14]
  ------------------
 2865|      0|            case F_PTRDIFF:  DO_SPRINTS("t", ptrdiff_t, ptrdiff_t); break;
  ------------------
  |  | 2691|      0|#define F_PTRDIFF 4
  ------------------
                          case F_PTRDIFF:  DO_SPRINTS("t", ptrdiff_t, ptrdiff_t); break;
  ------------------
  |  | 2852|      0|            switch (*f) {                                                     \
  |  | 2853|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2853:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2854|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2854:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2855|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2855:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2856|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2856:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2857|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2857:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2858|      0|            }
  ------------------
  |  Branch (2865:13): [True: 0, False: 18]
  ------------------
 2866|      0|            case F_INTMAX:   DO_SPRINTS("j", intmax_t, uintmax_t); break;
  ------------------
  |  | 2692|      0|#define F_INTMAX 5
  ------------------
                          case F_INTMAX:   DO_SPRINTS("j", intmax_t, uintmax_t); break;
  ------------------
  |  | 2852|      0|            switch (*f) {                                                     \
  |  | 2853|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2853:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2854|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2854:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2855|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2855:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2856|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2856:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2857|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2857:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2858|      0|            }
  ------------------
  |  Branch (2866:13): [True: 0, False: 18]
  ------------------
 2867|     14|            default:         DO_SPRINTS("", int, unsigned int); break;
  ------------------
  |  | 2852|     14|            switch (*f) {                                                     \
  |  | 2853|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2853:17): [True: 0, False: 14]
  |  |  ------------------
  |  | 2854|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2854:17): [True: 0, False: 14]
  |  |  ------------------
  |  | 2855|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2855:17): [True: 0, False: 14]
  |  |  ------------------
  |  | 2856|     11|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|     11|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2856:17): [True: 11, False: 3]
  |  |  ------------------
  |  | 2857|      3|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2848|      3|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2857:17): [True: 3, False: 11]
  |  |  ------------------
  |  | 2858|     14|            }
  ------------------
  |  Branch (2867:13): [True: 14, False: 4]
  ------------------
 2868|     18|        }
 2869|     18|        #undef SPRINT
 2870|     18|        #undef DO_SPRINTS
 2871|       |
 2872|     18|        assert(len >= 1);
  ------------------
  |  Branch (2872:9): [True: 18, False: 0]
  ------------------
 2873|       |
 2874|     18|        int sign = (buffer[0] == '-');
 2875|     18|        len -= sign;
 2876|       |
 2877|     18|        precision = Py_MAX(precision, len);
  ------------------
  |  |  133|     18|       __extension__ \
  |  |  134|     18|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|     18|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|     18|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 18]
  |  |  ------------------
  ------------------
 2878|     18|        width = Py_MAX(width, precision + sign);
  ------------------
  |  |  133|     18|       __extension__ \
  |  |  134|     18|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|     18|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|     18|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 8, False: 10]
  |  |  ------------------
  ------------------
 2879|     18|        if ((flags & F_ZERO) && !(flags & F_LJUST)) {
  ------------------
  |  |   22|     18|#define F_ZERO  (1<<4)
  ------------------
                      if ((flags & F_ZERO) && !(flags & F_LJUST)) {
  ------------------
  |  |   18|     11|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2879:13): [True: 11, False: 7]
  |  Branch (2879:33): [True: 11, False: 0]
  ------------------
 2880|     11|            precision = width - sign;
 2881|     11|        }
 2882|       |
 2883|     18|        Py_ssize_t spacepad = Py_MAX(width - precision - sign, 0);
  ------------------
  |  |  133|     18|       __extension__ \
  |  |  134|     18|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|     18|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|     18|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 18]
  |  |  ------------------
  ------------------
 2884|     18|        Py_ssize_t zeropad = Py_MAX(precision - len, 0);
  ------------------
  |  |  133|     18|       __extension__ \
  |  |  134|     18|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|     18|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|     18|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 8, False: 10]
  |  |  ------------------
  ------------------
 2885|       |
 2886|     18|        if (_PyUnicodeWriter_Prepare(writer, width, 127) == -1) {
  ------------------
  |  Branch (2886:13): [True: 0, False: 18]
  ------------------
 2887|      0|            return NULL;
 2888|      0|        }
 2889|     18|        assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (2889:9): [True: 18, False: 0]
  ------------------
 2890|       |
 2891|     18|        if (spacepad && !(flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2891:13): [True: 0, False: 18]
  |  Branch (2891:25): [True: 0, False: 0]
  ------------------
 2892|      0|            if (PyUnicode_Fill(writer->buffer, writer->pos, spacepad, ' ') == -1)
  ------------------
  |  Branch (2892:17): [True: 0, False: 0]
  ------------------
 2893|      0|                return NULL;
 2894|      0|            writer->pos += spacepad;
 2895|      0|        }
 2896|       |
 2897|     18|        if (sign) {
  ------------------
  |  Branch (2897:13): [True: 0, False: 18]
  ------------------
 2898|      0|            if (_PyUnicodeWriter_WriteChar(writer, '-') == -1)
  ------------------
  |  Branch (2898:17): [True: 0, False: 0]
  ------------------
 2899|      0|                return NULL;
 2900|      0|        }
 2901|       |
 2902|     18|        if (zeropad) {
  ------------------
  |  Branch (2902:13): [True: 8, False: 10]
  ------------------
 2903|      8|            if (PyUnicode_Fill(writer->buffer, writer->pos, zeropad, '0') == -1)
  ------------------
  |  Branch (2903:17): [True: 0, False: 8]
  ------------------
 2904|      0|                return NULL;
 2905|      8|            writer->pos += zeropad;
 2906|      8|        }
 2907|       |
 2908|     18|        if (_PyUnicodeWriter_WriteASCIIString(writer, &buffer[sign], len) < 0)
  ------------------
  |  Branch (2908:13): [True: 0, False: 18]
  ------------------
 2909|      0|            return NULL;
 2910|       |
 2911|     18|        if (spacepad && (flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2911:13): [True: 0, False: 18]
  |  Branch (2911:25): [True: 0, False: 0]
  ------------------
 2912|      0|            if (PyUnicode_Fill(writer->buffer, writer->pos, spacepad, ' ') == -1)
  ------------------
  |  Branch (2912:17): [True: 0, False: 0]
  ------------------
 2913|      0|                return NULL;
 2914|      0|            writer->pos += spacepad;
 2915|      0|        }
 2916|     18|        break;
 2917|     18|    }
 2918|       |
 2919|     18|    case 'p':
  ------------------
  |  Branch (2919:5): [True: 0, False: 263]
  ------------------
 2920|      0|    {
 2921|      0|        char number[MAX_INTMAX_CHARS];
 2922|       |
 2923|      0|        len = sprintf(number, "%p", va_arg(*vargs, void*));
 2924|      0|        assert(len >= 0);
  ------------------
  |  Branch (2924:9): [True: 0, False: 0]
  ------------------
 2925|       |
 2926|       |        /* %p is ill-defined:  ensure leading 0x. */
 2927|      0|        if (number[1] == 'X')
  ------------------
  |  Branch (2927:13): [True: 0, False: 0]
  ------------------
 2928|      0|            number[1] = 'x';
 2929|      0|        else if (number[1] != 'x') {
  ------------------
  |  Branch (2929:18): [True: 0, False: 0]
  ------------------
 2930|      0|            memmove(number + 2, number,
 2931|      0|                    strlen(number) + 1);
 2932|      0|            number[0] = '0';
 2933|      0|            number[1] = 'x';
 2934|      0|            len += 2;
 2935|      0|        }
 2936|       |
 2937|      0|        if (_PyUnicodeWriter_WriteASCIIString(writer, number, len) < 0)
  ------------------
  |  Branch (2937:13): [True: 0, False: 0]
  ------------------
 2938|      0|            return NULL;
 2939|      0|        break;
 2940|      0|    }
 2941|       |
 2942|     41|    case 's':
  ------------------
  |  Branch (2942:5): [True: 41, False: 222]
  ------------------
 2943|     41|    {
 2944|     41|        if (sizemod) {
  ------------------
  |  Branch (2944:13): [True: 0, False: 41]
  ------------------
 2945|      0|            const wchar_t *s = va_arg(*vargs, const wchar_t*);
 2946|      0|            if (unicode_fromformat_write_wcstr(writer, s, width, precision, flags) < 0)
  ------------------
  |  Branch (2946:17): [True: 0, False: 0]
  ------------------
 2947|      0|                return NULL;
 2948|      0|        }
 2949|     41|        else {
 2950|       |            /* UTF-8 */
 2951|     41|            const char *s = va_arg(*vargs, const char*);
 2952|     41|            if (unicode_fromformat_write_utf8(writer, s, width, precision, flags) < 0)
  ------------------
  |  Branch (2952:17): [True: 0, False: 41]
  ------------------
 2953|      0|                return NULL;
 2954|     41|        }
 2955|     41|        break;
 2956|     41|    }
 2957|       |
 2958|    100|    case 'U':
  ------------------
  |  Branch (2958:5): [True: 100, False: 163]
  ------------------
 2959|    100|    {
 2960|    100|        PyObject *obj = va_arg(*vargs, PyObject *);
 2961|    100|        assert(obj && _PyUnicode_CHECK(obj));
  ------------------
  |  Branch (2961:9): [True: 100, False: 0]
  |  Branch (2961:9): [True: 100, False: 0]
  ------------------
 2962|       |
 2963|    100|        if (unicode_fromformat_write_str(writer, obj, width, precision, flags) == -1)
  ------------------
  |  Branch (2963:13): [True: 0, False: 100]
  ------------------
 2964|      0|            return NULL;
 2965|    100|        break;
 2966|    100|    }
 2967|       |
 2968|    100|    case 'V':
  ------------------
  |  Branch (2968:5): [True: 0, False: 263]
  ------------------
 2969|      0|    {
 2970|      0|        PyObject *obj = va_arg(*vargs, PyObject *);
 2971|      0|        const char *str;
 2972|      0|        const wchar_t *wstr;
 2973|      0|        if (sizemod) {
  ------------------
  |  Branch (2973:13): [True: 0, False: 0]
  ------------------
 2974|      0|            wstr = va_arg(*vargs, const wchar_t*);
 2975|      0|        }
 2976|      0|        else {
 2977|      0|            str = va_arg(*vargs, const char *);
 2978|      0|        }
 2979|      0|        if (obj) {
  ------------------
  |  Branch (2979:13): [True: 0, False: 0]
  ------------------
 2980|      0|            assert(_PyUnicode_CHECK(obj));
  ------------------
  |  Branch (2980:13): [True: 0, False: 0]
  ------------------
 2981|      0|            if (unicode_fromformat_write_str(writer, obj, width, precision, flags) == -1)
  ------------------
  |  Branch (2981:17): [True: 0, False: 0]
  ------------------
 2982|      0|                return NULL;
 2983|      0|        }
 2984|      0|        else if (sizemod) {
  ------------------
  |  Branch (2984:18): [True: 0, False: 0]
  ------------------
 2985|      0|            assert(wstr != NULL);
  ------------------
  |  Branch (2985:13): [True: 0, False: 0]
  ------------------
 2986|      0|            if (unicode_fromformat_write_wcstr(writer, wstr, width, precision, flags) < 0)
  ------------------
  |  Branch (2986:17): [True: 0, False: 0]
  ------------------
 2987|      0|                return NULL;
 2988|      0|        }
 2989|      0|        else {
 2990|      0|            assert(str != NULL);
  ------------------
  |  Branch (2990:13): [True: 0, False: 0]
  ------------------
 2991|      0|            if (unicode_fromformat_write_utf8(writer, str, width, precision, flags) < 0)
  ------------------
  |  Branch (2991:17): [True: 0, False: 0]
  ------------------
 2992|      0|                return NULL;
 2993|      0|        }
 2994|      0|        break;
 2995|      0|    }
 2996|       |
 2997|      6|    case 'S':
  ------------------
  |  Branch (2997:5): [True: 6, False: 257]
  ------------------
 2998|      6|    {
 2999|      6|        PyObject *obj = va_arg(*vargs, PyObject *);
 3000|      6|        PyObject *str;
 3001|      6|        assert(obj);
  ------------------
  |  Branch (3001:9): [True: 6, False: 0]
  ------------------
 3002|      6|        str = PyObject_Str(obj);
 3003|      6|        if (!str)
  ------------------
  |  Branch (3003:13): [True: 0, False: 6]
  ------------------
 3004|      0|            return NULL;
 3005|      6|        if (unicode_fromformat_write_str(writer, str, width, precision, flags) == -1) {
  ------------------
  |  Branch (3005:13): [True: 0, False: 6]
  ------------------
 3006|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3007|      0|            return NULL;
 3008|      0|        }
 3009|      6|        Py_DECREF(str);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3010|      6|        break;
 3011|      6|    }
 3012|       |
 3013|      2|    case 'R':
  ------------------
  |  Branch (3013:5): [True: 2, False: 261]
  ------------------
 3014|      2|    {
 3015|      2|        PyObject *obj = va_arg(*vargs, PyObject *);
 3016|      2|        PyObject *repr;
 3017|      2|        assert(obj);
  ------------------
  |  Branch (3017:9): [True: 2, False: 0]
  ------------------
 3018|      2|        repr = PyObject_Repr(obj);
 3019|      2|        if (!repr)
  ------------------
  |  Branch (3019:13): [True: 0, False: 2]
  ------------------
 3020|      0|            return NULL;
 3021|      2|        if (unicode_fromformat_write_str(writer, repr, width, precision, flags) == -1) {
  ------------------
  |  Branch (3021:13): [True: 0, False: 2]
  ------------------
 3022|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3023|      0|            return NULL;
 3024|      0|        }
 3025|      2|        Py_DECREF(repr);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3026|      2|        break;
 3027|      2|    }
 3028|       |
 3029|      0|    case 'A':
  ------------------
  |  Branch (3029:5): [True: 0, False: 263]
  ------------------
 3030|      0|    {
 3031|      0|        PyObject *obj = va_arg(*vargs, PyObject *);
 3032|      0|        PyObject *ascii;
 3033|      0|        assert(obj);
  ------------------
  |  Branch (3033:9): [True: 0, False: 0]
  ------------------
 3034|      0|        ascii = PyObject_ASCII(obj);
 3035|      0|        if (!ascii)
  ------------------
  |  Branch (3035:13): [True: 0, False: 0]
  ------------------
 3036|      0|            return NULL;
 3037|      0|        if (unicode_fromformat_write_str(writer, ascii, width, precision, flags) == -1) {
  ------------------
  |  Branch (3037:13): [True: 0, False: 0]
  ------------------
 3038|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3039|      0|            return NULL;
 3040|      0|        }
 3041|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3042|      0|        break;
 3043|      0|    }
 3044|       |
 3045|      0|    case 'T':
  ------------------
  |  Branch (3045:5): [True: 0, False: 263]
  ------------------
 3046|      0|    {
 3047|      0|        PyObject *obj = va_arg(*vargs, PyObject *);
 3048|      0|        PyTypeObject *type = (PyTypeObject *)Py_NewRef(Py_TYPE(obj));
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3049|       |
 3050|      0|        PyObject *type_name;
 3051|      0|        if (flags & F_ALT) {
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (3051:13): [True: 0, False: 0]
  ------------------
 3052|      0|            type_name = _PyType_GetFullyQualifiedName(type, ':');
 3053|      0|        }
 3054|      0|        else {
 3055|      0|            type_name = PyType_GetFullyQualifiedName(type);
 3056|      0|        }
 3057|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3058|      0|        if (!type_name) {
  ------------------
  |  Branch (3058:13): [True: 0, False: 0]
  ------------------
 3059|      0|            return NULL;
 3060|      0|        }
 3061|       |
 3062|      0|        if (unicode_fromformat_write_str(writer, type_name,
  ------------------
  |  Branch (3062:13): [True: 0, False: 0]
  ------------------
 3063|      0|                                         width, precision, flags) == -1) {
 3064|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3065|      0|            return NULL;
 3066|      0|        }
 3067|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3068|      0|        break;
 3069|      0|    }
 3070|       |
 3071|      0|    case 'N':
  ------------------
  |  Branch (3071:5): [True: 0, False: 263]
  ------------------
 3072|      0|    {
 3073|      0|        PyObject *type_raw = va_arg(*vargs, PyObject *);
 3074|      0|        assert(type_raw != NULL);
  ------------------
  |  Branch (3074:9): [True: 0, False: 0]
  ------------------
 3075|       |
 3076|      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 (3076:13): [True: 0, False: 0]
  ------------------
 3077|      0|            PyErr_SetString(PyExc_TypeError, "%N argument must be a type");
 3078|      0|            return NULL;
 3079|      0|        }
 3080|      0|        PyTypeObject *type = (PyTypeObject*)type_raw;
 3081|       |
 3082|      0|        PyObject *type_name;
 3083|      0|        if (flags & F_ALT) {
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (3083:13): [True: 0, False: 0]
  ------------------
 3084|      0|            type_name = _PyType_GetFullyQualifiedName(type, ':');
 3085|      0|        }
 3086|      0|        else {
 3087|      0|            type_name = PyType_GetFullyQualifiedName(type);
 3088|      0|        }
 3089|      0|        if (!type_name) {
  ------------------
  |  Branch (3089:13): [True: 0, False: 0]
  ------------------
 3090|      0|            return NULL;
 3091|      0|        }
 3092|      0|        if (unicode_fromformat_write_str(writer, type_name,
  ------------------
  |  Branch (3092:13): [True: 0, False: 0]
  ------------------
 3093|      0|                                         width, precision, flags) == -1) {
 3094|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3095|      0|            return NULL;
 3096|      0|        }
 3097|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3098|      0|        break;
 3099|      0|    }
 3100|       |
 3101|      0|    default:
  ------------------
  |  Branch (3101:5): [True: 0, False: 263]
  ------------------
 3102|      0|    invalid_format:
 3103|      0|        PyErr_Format(PyExc_SystemError, "invalid format string: %s", p);
 3104|      0|        return NULL;
 3105|    263|    }
 3106|       |
 3107|    263|    f++;
 3108|    263|    return f;
 3109|    263|}
unicodeobject.c:unicode_fromformat_write_utf8:
 2621|     41|{
 2622|       |    /* UTF-8 */
 2623|     41|    Py_ssize_t *pconsumed = NULL;
 2624|     41|    Py_ssize_t length;
 2625|     41|    if (precision == -1) {
  ------------------
  |  Branch (2625:9): [True: 15, False: 26]
  ------------------
 2626|     15|        length = strlen(str);
 2627|     15|    }
 2628|     26|    else {
 2629|     26|        length = 0;
 2630|    198|        while (length < precision && str[length]) {
  ------------------
  |  Branch (2630:16): [True: 198, False: 0]
  |  Branch (2630:38): [True: 172, False: 26]
  ------------------
 2631|    172|            length++;
 2632|    172|        }
 2633|     26|        if (length == precision) {
  ------------------
  |  Branch (2633:13): [True: 0, False: 26]
  ------------------
 2634|       |            /* The input string is not NUL-terminated.  If it ends with an
 2635|       |             * incomplete UTF-8 sequence, truncate the string just before it.
 2636|       |             * Incomplete sequences in the middle and sequences which cannot
 2637|       |             * be valid prefixes are still treated as errors and replaced
 2638|       |             * with \xfffd. */
 2639|      0|            pconsumed = &length;
 2640|      0|        }
 2641|     26|    }
 2642|       |
 2643|     41|    if (width < 0) {
  ------------------
  |  Branch (2643:9): [True: 41, False: 0]
  ------------------
 2644|     41|        return _PyUnicode_DecodeUTF8Writer(writer, str, length,
 2645|     41|                                           _Py_ERROR_REPLACE, "replace", pconsumed);
 2646|     41|    }
 2647|       |
 2648|      0|    PyObject *unicode = PyUnicode_DecodeUTF8Stateful(str, length,
 2649|      0|                                                     "replace", pconsumed);
 2650|      0|    if (unicode == NULL)
  ------------------
  |  Branch (2650:9): [True: 0, False: 0]
  ------------------
 2651|      0|        return -1;
 2652|       |
 2653|      0|    int res = unicode_fromformat_write_str(writer, unicode,
 2654|      0|                                           width, -1, flags);
 2655|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2656|      0|    return res;
 2657|      0|}
unicodeobject.c:unicode_fromformat_write_str:
 2575|    108|{
 2576|    108|    Py_ssize_t length, fill, arglen;
 2577|    108|    Py_UCS4 maxchar;
 2578|       |
 2579|    108|    length = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  300|    108|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    108|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2580|    108|    if ((precision == -1 || precision >= length) && width <= length) {
  ------------------
  |  Branch (2580:10): [True: 108, False: 0]
  |  Branch (2580:29): [True: 0, False: 0]
  |  Branch (2580:53): [True: 108, False: 0]
  ------------------
 2581|    108|        return _PyUnicodeWriter_WriteStr(writer, str);
 2582|    108|    }
 2583|       |
 2584|      0|    if (precision != -1)
  ------------------
  |  Branch (2584:9): [True: 0, False: 0]
  ------------------
 2585|      0|        length = Py_MIN(precision, length);
  ------------------
  |  |  127|      0|       __extension__ \
  |  |  128|      0|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      0|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      0|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2586|       |
 2587|      0|    arglen = Py_MAX(length, width);
  ------------------
  |  |  133|      0|       __extension__ \
  |  |  134|      0|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|      0|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|      0|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2588|      0|    if (PyUnicode_MAX_CHAR_VALUE(str) > writer->maxchar)
  ------------------
  |  |  406|      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 (2588:9): [True: 0, False: 0]
  ------------------
 2589|      0|        maxchar = _PyUnicode_FindMaxChar(str, 0, length);
 2590|      0|    else
 2591|      0|        maxchar = writer->maxchar;
 2592|       |
 2593|      0|    if (_PyUnicodeWriter_Prepare(writer, arglen, maxchar) == -1) {
  ------------------
  |  Branch (2593:9): [True: 0, False: 0]
  ------------------
 2594|      0|        return -1;
 2595|      0|    }
 2596|      0|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (2596:5): [True: 0, False: 0]
  ------------------
 2597|       |
 2598|      0|    fill = Py_MAX(width - length, 0);
  ------------------
  |  |  133|      0|       __extension__ \
  |  |  134|      0|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|      0|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|      0|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2599|      0|    if (fill && !(flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2599:9): [True: 0, False: 0]
  |  Branch (2599:17): [True: 0, False: 0]
  ------------------
 2600|      0|        if (PyUnicode_Fill(writer->buffer, writer->pos, fill, ' ') == -1)
  ------------------
  |  Branch (2600:13): [True: 0, False: 0]
  ------------------
 2601|      0|            return -1;
 2602|      0|        writer->pos += fill;
 2603|      0|    }
 2604|       |
 2605|      0|    _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
 2606|      0|                                  str, 0, length);
 2607|      0|    writer->pos += length;
 2608|       |
 2609|      0|    if (fill && (flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2609:9): [True: 0, False: 0]
  |  Branch (2609:17): [True: 0, False: 0]
  ------------------
 2610|      0|        if (PyUnicode_Fill(writer->buffer, writer->pos, fill, ' ') == -1)
  ------------------
  |  Branch (2610:13): [True: 0, False: 0]
  ------------------
 2611|      0|            return -1;
 2612|      0|        writer->pos += fill;
 2613|      0|    }
 2614|       |
 2615|      0|    return 0;
 2616|      0|}
unicodeobject.c:unicode_get_widechar_size:
 3222|    194|{
 3223|    194|    Py_ssize_t res;
 3224|       |
 3225|    194|    assert(unicode != NULL);
  ------------------
  |  Branch (3225:5): [True: 194, False: 0]
  ------------------
 3226|    194|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (3226:5): [True: 194, False: 0]
  ------------------
 3227|       |
 3228|    194|    res = _PyUnicode_LENGTH(unicode);
  ------------------
  |  |  150|    194|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|    194|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|    194|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    194|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3228:11): [True: 194, False: 0]
  ------------------
 3229|       |#if SIZEOF_WCHAR_T == 2
 3230|       |    if (PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND) {
 3231|       |        const Py_UCS4 *s = PyUnicode_4BYTE_DATA(unicode);
 3232|       |        const Py_UCS4 *end = s + res;
 3233|       |        for (; s < end; ++s) {
 3234|       |            if (*s > 0xFFFF) {
 3235|       |                ++res;
 3236|       |            }
 3237|       |        }
 3238|       |    }
 3239|       |#endif
 3240|      0|    return res;
 3241|    194|}
unicodeobject.c:unicode_copy_as_widechar:
 3245|    194|{
 3246|    194|    assert(unicode != NULL);
  ------------------
  |  Branch (3246:5): [True: 194, False: 0]
  ------------------
 3247|    194|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (3247:5): [True: 194, False: 0]
  ------------------
 3248|       |
 3249|    388|    if (PyUnicode_KIND(unicode) == sizeof(wchar_t)) {
  ------------------
  |  |  259|    194|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    388|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 194, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3249:9): [True: 0, False: 194]
  ------------------
 3250|      0|        memcpy(w, PyUnicode_DATA(unicode), size * sizeof(wchar_t));
  ------------------
  |  |  285|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3251|      0|        return;
 3252|      0|    }
 3253|       |
 3254|    388|    if (PyUnicode_KIND(unicode) == PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  259|    194|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    388|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 194, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3254:9): [True: 194, False: 0]
  ------------------
 3255|    194|        const Py_UCS1 *s = PyUnicode_1BYTE_DATA(unicode);
  ------------------
  |  |  292|    194|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    194|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3256|  10.1k|        for (; size--; ++s, ++w) {
  ------------------
  |  Branch (3256:16): [True: 9.92k, False: 194]
  ------------------
 3257|  9.92k|            *w = *s;
 3258|  9.92k|        }
 3259|    194|    }
 3260|      0|    else {
 3261|      0|#if SIZEOF_WCHAR_T == 4
 3262|      0|        assert(PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND);
  ------------------
  |  Branch (3262:9): [True: 0, False: 0]
  |  Branch (3262:9): [True: 0, False: 0]
  ------------------
 3263|      0|        const Py_UCS2 *s = PyUnicode_2BYTE_DATA(unicode);
  ------------------
  |  |  293|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3264|      0|        for (; size--; ++s, ++w) {
  ------------------
  |  Branch (3264:16): [True: 0, False: 0]
  ------------------
 3265|      0|            *w = *s;
 3266|      0|        }
 3267|       |#else
 3268|       |        assert(PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND);
 3269|       |        const Py_UCS4 *s = PyUnicode_4BYTE_DATA(unicode);
 3270|       |        for (; size--; ++s, ++w) {
 3271|       |            Py_UCS4 ch = *s;
 3272|       |            if (ch > 0xFFFF) {
 3273|       |                assert(ch <= MAX_UNICODE);
 3274|       |                /* encode surrogate pair in this case */
 3275|       |                *w++ = Py_UNICODE_HIGH_SURROGATE(ch);
 3276|       |                if (!size--)
 3277|       |                    break;
 3278|       |                *w = Py_UNICODE_LOW_SURROGATE(ch);
 3279|       |            }
 3280|       |            else {
 3281|       |                *w = ch;
 3282|       |            }
 3283|       |        }
 3284|       |#endif
 3285|      0|    }
 3286|    194|}
unicodeobject.c:unicode_char:
 1831|    250|{
 1832|    250|    if (ch < 256) {
  ------------------
  |  Branch (1832:9): [True: 249, False: 1]
  ------------------
 1833|    249|        return get_latin1_char(ch);
 1834|    249|    }
 1835|       |
 1836|       |    // Raise SystemError if the character is not in range [U+0000; MAX_UNICODE]
 1837|      1|    PyObject *unicode = PyUnicode_New(1, ch);
 1838|      1|    if (unicode == NULL) {
  ------------------
  |  Branch (1838:9): [True: 0, False: 1]
  ------------------
 1839|      0|        return NULL;
 1840|      0|    }
 1841|       |
 1842|      1|    assert(PyUnicode_KIND(unicode) != PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (1842:5): [True: 1, False: 0]
  |  Branch (1842:5): [True: 1, False: 0]
  ------------------
 1843|      2|    if (PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND) {
  ------------------
  |  |  259|      1|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1843:9): [True: 0, False: 1]
  ------------------
 1844|      0|        PyUnicode_2BYTE_DATA(unicode)[0] = (Py_UCS2)ch;
  ------------------
  |  |  293|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1845|      1|    } else {
 1846|      1|        assert(PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (1846:9): [True: 1, False: 0]
  |  Branch (1846:9): [True: 1, False: 0]
  ------------------
 1847|      1|        PyUnicode_4BYTE_DATA(unicode)[0] = ch;
  ------------------
  |  |  294|      1|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      1|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1848|      1|    }
 1849|      1|    assert(_PyUnicode_CheckConsistency(unicode, 1));
  ------------------
  |  Branch (1849:5): [True: 1, False: 0]
  ------------------
 1850|      1|    return unicode;
 1851|      1|}
unicodeobject.c:unicode_check_encoding_errors:
  516|     34|{
  517|     34|    if (encoding == NULL && errors == NULL) {
  ------------------
  |  Branch (517:9): [True: 0, False: 34]
  |  Branch (517:29): [True: 0, False: 0]
  ------------------
  518|      0|        return 0;
  519|      0|    }
  520|       |
  521|     34|    PyInterpreterState *interp = _PyInterpreterState_GET();
  522|     34|#ifndef Py_DEBUG
  523|       |    /* In release mode, only check in development mode (-X dev) */
  524|     34|    if (!_PyInterpreterState_GetConfig(interp)->dev_mode) {
  ------------------
  |  Branch (524:9): [True: 34, False: 0]
  ------------------
  525|     34|        return 0;
  526|     34|    }
  527|       |#else
  528|       |    /* Always check in debug mode */
  529|       |#endif
  530|       |
  531|       |    /* Avoid calling _PyCodec_Lookup() and PyCodec_LookupError() before the
  532|       |       codec registry is ready: before_PyUnicode_InitEncodings() is called. */
  533|      0|    if (!interp->unicode.fs_codec.encoding) {
  ------------------
  |  Branch (533:9): [True: 0, False: 0]
  ------------------
  534|      0|        return 0;
  535|      0|    }
  536|       |
  537|       |    /* Disable checks during Python finalization. For example, it allows to
  538|       |     * call PyObject_Dump() during finalization for debugging purpose.
  539|       |     */
  540|      0|    if (_PyInterpreterState_GetFinalizing(interp) != NULL) {
  ------------------
  |  Branch (540:9): [True: 0, False: 0]
  ------------------
  541|      0|        return 0;
  542|      0|    }
  543|       |
  544|      0|    if (encoding != NULL
  ------------------
  |  Branch (544:9): [True: 0, False: 0]
  ------------------
  545|       |        // Fast path for the most common built-in encodings. Even if the codec
  546|       |        // is cached, _PyCodec_Lookup() decodes the bytes string from UTF-8 to
  547|       |        // create a temporary Unicode string (the key in the cache).
  548|      0|        && strcmp(encoding, "utf-8") != 0
  ------------------
  |  Branch (548:12): [True: 0, False: 0]
  ------------------
  549|      0|        && strcmp(encoding, "utf8") != 0
  ------------------
  |  Branch (549:12): [True: 0, False: 0]
  ------------------
  550|      0|        && strcmp(encoding, "ascii") != 0)
  ------------------
  |  Branch (550:12): [True: 0, False: 0]
  ------------------
  551|      0|    {
  552|      0|        PyObject *handler = _PyCodec_Lookup(encoding);
  553|      0|        if (handler == NULL) {
  ------------------
  |  Branch (553:13): [True: 0, False: 0]
  ------------------
  554|      0|            return -1;
  555|      0|        }
  556|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  557|      0|    }
  558|       |
  559|      0|    if (errors != NULL
  ------------------
  |  Branch (559:9): [True: 0, False: 0]
  ------------------
  560|       |        // Fast path for the most common built-in error handlers.
  561|      0|        && strcmp(errors, "strict") != 0
  ------------------
  |  Branch (561:12): [True: 0, False: 0]
  ------------------
  562|      0|        && strcmp(errors, "ignore") != 0
  ------------------
  |  Branch (562:12): [True: 0, False: 0]
  ------------------
  563|      0|        && strcmp(errors, "replace") != 0
  ------------------
  |  Branch (563:12): [True: 0, False: 0]
  ------------------
  564|      0|        && strcmp(errors, "surrogateescape") != 0
  ------------------
  |  Branch (564:12): [True: 0, False: 0]
  ------------------
  565|      0|        && strcmp(errors, "surrogatepass") != 0)
  ------------------
  |  Branch (565:12): [True: 0, False: 0]
  ------------------
  566|      0|    {
  567|      0|        PyObject *handler = PyCodec_LookupError(errors);
  568|      0|        if (handler == NULL) {
  ------------------
  |  Branch (568:13): [True: 0, False: 0]
  ------------------
  569|      0|            return -1;
  570|      0|        }
  571|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  572|      0|    }
  573|      0|    return 0;
  574|      0|}
unicodeobject.c:unicode_encode_locale:
 3740|     82|{
 3741|     82|    Py_ssize_t wlen;
 3742|     82|    wchar_t *wstr = PyUnicode_AsWideCharString(unicode, &wlen);
 3743|     82|    if (wstr == NULL) {
  ------------------
  |  Branch (3743:9): [True: 0, False: 82]
  ------------------
 3744|      0|        return NULL;
 3745|      0|    }
 3746|       |
 3747|     82|    if ((size_t)wlen != wcslen(wstr)) {
  ------------------
  |  Branch (3747:9): [True: 0, False: 82]
  ------------------
 3748|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 3749|      0|        PyMem_Free(wstr);
 3750|      0|        return NULL;
 3751|      0|    }
 3752|       |
 3753|     82|    char *str;
 3754|     82|    size_t str_len;
 3755|     82|    size_t error_pos;
 3756|     82|    int res = _Py_EncodeLocale(wstr, &str, &str_len, &error_pos,
 3757|     82|                               current_locale, error_handler);
 3758|     82|    PyMem_Free(wstr);
 3759|       |
 3760|     82|    if (res != 0) {
  ------------------
  |  Branch (3760:9): [True: 0, False: 82]
  ------------------
 3761|      0|        if (res == _Py_CODEC_ENCODE_ERROR) {
  ------------------
  |  |  190|      0|#define _Py_CODEC_ENCODE_ERROR -2
  ------------------
  |  Branch (3761:13): [True: 0, False: 0]
  ------------------
 3762|      0|            PyObject *exc;
 3763|      0|            assert(error_pos <= (size_t)(PY_SSIZE_T_MAX - 1));
  ------------------
  |  Branch (3763:13): [True: 0, False: 0]
  ------------------
 3764|      0|            exc = PyObject_CallFunction(PyExc_UnicodeEncodeError, "sOnns",
 3765|      0|                    "locale", unicode,
 3766|      0|                    (Py_ssize_t)error_pos,
 3767|      0|                    (Py_ssize_t)(error_pos+1),
 3768|      0|                    "encode error");
 3769|      0|            if (exc != NULL) {
  ------------------
  |  Branch (3769:17): [True: 0, False: 0]
  ------------------
 3770|      0|                PyCodec_StrictErrors(exc);
 3771|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3772|      0|            }
 3773|      0|        }
 3774|      0|        else if (res == _Py_CODEC_UNSUPPORTED_ERROR_HANDLER) {
  ------------------
  |  |  191|      0|#define _Py_CODEC_UNSUPPORTED_ERROR_HANDLER -3
  ------------------
  |  Branch (3774:18): [True: 0, False: 0]
  ------------------
 3775|      0|            PyErr_SetString(PyExc_ValueError, "unsupported error handler");
 3776|      0|        }
 3777|      0|        else {
 3778|      0|            assert(res == _Py_CODEC_MEMORY_ERROR);
  ------------------
  |  Branch (3778:13): [True: 0, False: 0]
  ------------------
 3779|      0|            PyErr_NoMemory();
 3780|      0|        }
 3781|      0|        return NULL;
 3782|      0|    }
 3783|       |
 3784|     82|    PyObject *bytes = PyBytes_FromStringAndSize(str, str_len);
 3785|     82|    PyMem_RawFree(str);
 3786|     82|    return bytes;
 3787|     82|}
unicodeobject.c:get_error_handler_wide:
  488|    732|{
  489|    732|    if (errors == NULL || wcscmp(errors, L"strict") == 0) {
  ------------------
  |  Branch (489:9): [True: 0, False: 732]
  |  Branch (489:27): [True: 0, False: 732]
  ------------------
  490|      0|        return _Py_ERROR_STRICT;
  491|      0|    }
  492|    732|    if (wcscmp(errors, L"surrogateescape") == 0) {
  ------------------
  |  Branch (492:9): [True: 732, False: 0]
  ------------------
  493|    732|        return _Py_ERROR_SURROGATEESCAPE;
  494|    732|    }
  495|      0|    if (wcscmp(errors, L"replace") == 0) {
  ------------------
  |  Branch (495:9): [True: 0, False: 0]
  ------------------
  496|      0|        return _Py_ERROR_REPLACE;
  497|      0|    }
  498|      0|    if (wcscmp(errors, L"ignore") == 0) {
  ------------------
  |  Branch (498:9): [True: 0, False: 0]
  ------------------
  499|      0|        return _Py_ERROR_IGNORE;
  500|      0|    }
  501|      0|    if (wcscmp(errors, L"backslashreplace") == 0) {
  ------------------
  |  Branch (501:9): [True: 0, False: 0]
  ------------------
  502|      0|        return _Py_ERROR_BACKSLASHREPLACE;
  503|      0|    }
  504|      0|    if (wcscmp(errors, L"surrogatepass") == 0) {
  ------------------
  |  Branch (504:9): [True: 0, False: 0]
  ------------------
  505|      0|        return _Py_ERROR_SURROGATEPASS;
  506|      0|    }
  507|      0|    if (wcscmp(errors, L"xmlcharrefreplace") == 0) {
  ------------------
  |  Branch (507:9): [True: 0, False: 0]
  ------------------
  508|      0|        return _Py_ERROR_XMLCHARREFREPLACE;
  509|      0|    }
  510|      0|    return _Py_ERROR_OTHER;
  511|      0|}
unicodeobject.c:unicode_decode_locale:
 3967|    692|{
 3968|    692|    if (str[len] != '\0' || (size_t)len != strlen(str))  {
  ------------------
  |  Branch (3968:9): [True: 0, False: 692]
  |  Branch (3968:29): [True: 0, False: 692]
  ------------------
 3969|      0|        PyErr_SetString(PyExc_ValueError, "embedded null byte");
 3970|      0|        return NULL;
 3971|      0|    }
 3972|       |
 3973|    692|    wchar_t *wstr;
 3974|    692|    size_t wlen;
 3975|    692|    int res = _Py_DecodeLocale(str, &wstr, &wlen, current_locale, errors);
 3976|    692|    if (res != 0) {
  ------------------
  |  Branch (3976:9): [True: 0, False: 692]
  ------------------
 3977|      0|        if (res == _Py_CODEC_DECODE_ERROR) {
  ------------------
  |  |  189|      0|#define _Py_CODEC_DECODE_ERROR -2
  ------------------
  |  Branch (3977:13): [True: 0, False: 0]
  ------------------
 3978|      0|            PyObject *exc;
 3979|      0|            assert(wlen <= (size_t)(PY_SSIZE_T_MAX - 1));
  ------------------
  |  Branch (3979:13): [True: 0, False: 0]
  ------------------
 3980|      0|            exc = PyObject_CallFunction(PyExc_UnicodeDecodeError, "sy#nns",
 3981|      0|                                        "locale", str, len,
 3982|      0|                                        (Py_ssize_t)wlen,
 3983|      0|                                        (Py_ssize_t)(wlen + 1),
 3984|      0|                                        "decode error");
 3985|      0|            if (exc != NULL) {
  ------------------
  |  Branch (3985:17): [True: 0, False: 0]
  ------------------
 3986|      0|                PyCodec_StrictErrors(exc);
 3987|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3988|      0|            }
 3989|      0|        }
 3990|      0|        else if (res == _Py_CODEC_UNSUPPORTED_ERROR_HANDLER) {
  ------------------
  |  |  191|      0|#define _Py_CODEC_UNSUPPORTED_ERROR_HANDLER -3
  ------------------
  |  Branch (3990:18): [True: 0, False: 0]
  ------------------
 3991|      0|            PyErr_SetString(PyExc_ValueError, "unsupported error handler");
 3992|      0|        }
 3993|      0|        else {
 3994|      0|            assert(res == _Py_CODEC_MEMORY_ERROR);
  ------------------
  |  Branch (3994:13): [True: 0, False: 0]
  ------------------
 3995|      0|            PyErr_NoMemory();
 3996|      0|        }
 3997|      0|        return NULL;
 3998|      0|    }
 3999|       |
 4000|    692|    PyObject *unicode = PyUnicode_FromWideChar(wstr, wlen);
 4001|    692|    PyMem_RawFree(wstr);
 4002|    692|    return unicode;
 4003|    692|}
unicodeobject.c:findchar:
 1008|  1.00k|{
 1009|  1.00k|    switch (kind) {
 1010|  1.00k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (1010:5): [True: 1.00k, False: 0]
  ------------------
 1011|  1.00k|        if ((Py_UCS1) ch != ch)
  ------------------
  |  Branch (1011:13): [True: 0, False: 1.00k]
  ------------------
 1012|      0|            return -1;
 1013|  1.00k|        if (direction > 0)
  ------------------
  |  Branch (1013:13): [True: 881, False: 120]
  ------------------
 1014|    881|            return ucs1lib_find_char((const Py_UCS1 *) s, size, (Py_UCS1) ch);
 1015|    120|        else
 1016|    120|            return ucs1lib_rfind_char((const Py_UCS1 *) s, size, (Py_UCS1) ch);
 1017|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (1017:5): [True: 0, False: 1.00k]
  ------------------
 1018|      0|        if ((Py_UCS2) ch != ch)
  ------------------
  |  Branch (1018:13): [True: 0, False: 0]
  ------------------
 1019|      0|            return -1;
 1020|      0|        if (direction > 0)
  ------------------
  |  Branch (1020:13): [True: 0, False: 0]
  ------------------
 1021|      0|            return ucs2lib_find_char((const Py_UCS2 *) s, size, (Py_UCS2) ch);
 1022|      0|        else
 1023|      0|            return ucs2lib_rfind_char((const Py_UCS2 *) s, size, (Py_UCS2) ch);
 1024|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (1024:5): [True: 0, False: 1.00k]
  ------------------
 1025|      0|        if (direction > 0)
  ------------------
  |  Branch (1025:13): [True: 0, False: 0]
  ------------------
 1026|      0|            return ucs4lib_find_char((const Py_UCS4 *) s, size, ch);
 1027|      0|        else
 1028|      0|            return ucs4lib_rfind_char((const Py_UCS4 *) s, size, ch);
 1029|      0|    default:
  ------------------
  |  Branch (1029:5): [True: 0, False: 1.00k]
  ------------------
 1030|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1031|  1.00k|    }
 1032|  1.00k|}
unicodeobject.c:unicode_ensure_utf8:
 4154|  1.22k|{
 4155|  1.22k|    int err = 0;
 4156|  1.22k|    if (PyUnicode_UTF8(unicode) == NULL) {
  ------------------
  |  Branch (4156:9): [True: 47, False: 1.17k]
  ------------------
 4157|     47|        Py_BEGIN_CRITICAL_SECTION(unicode);
  ------------------
  |  |   51|     47|    {
  ------------------
 4158|     47|        if (PyUnicode_UTF8(unicode) == NULL) {
  ------------------
  |  Branch (4158:13): [True: 47, False: 0]
  ------------------
 4159|     47|            err = unicode_fill_utf8(unicode);
 4160|     47|        }
 4161|     47|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     47|    }
  ------------------
 4162|     47|    }
 4163|  1.22k|    return err;
 4164|  1.22k|}
unicodeobject.c:unicode_fill_utf8:
 5807|     47|{
 5808|     47|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(unicode);
 5809|       |    /* the string cannot be ASCII, or PyUnicode_UTF8() would be set */
 5810|     47|    assert(!PyUnicode_IS_ASCII(unicode));
  ------------------
  |  Branch (5810:5): [True: 47, False: 0]
  ------------------
 5811|       |
 5812|     47|    int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|     47|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     94|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 47, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5813|     47|    const void *data = PyUnicode_DATA(unicode);
  ------------------
  |  |  285|     47|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     47|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     47|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5814|     47|    Py_ssize_t size = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|     47|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     47|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     47|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5815|       |
 5816|     47|    PyBytesWriter *writer;
 5817|     47|    char *end;
 5818|       |
 5819|     47|    switch (kind) {
 5820|      0|    default:
  ------------------
  |  Branch (5820:5): [True: 0, False: 47]
  ------------------
 5821|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5822|      0|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (5822:5): [True: 0, False: 47]
  ------------------
 5823|      0|        writer = ucs1lib_utf8_encoder(unicode, data, size,
 5824|      0|                                      _Py_ERROR_STRICT, NULL, &end);
 5825|      0|        break;
 5826|     20|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (5826:5): [True: 20, False: 27]
  ------------------
 5827|     20|        writer = ucs2lib_utf8_encoder(unicode, data, size,
 5828|     20|                                      _Py_ERROR_STRICT, NULL, &end);
 5829|     20|        break;
 5830|     27|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (5830:5): [True: 27, False: 20]
  ------------------
 5831|     27|        writer = ucs4lib_utf8_encoder(unicode, data, size,
 5832|     27|                                      _Py_ERROR_STRICT, NULL, &end);
 5833|     27|        break;
 5834|     47|    }
 5835|     47|    if (writer == NULL) {
  ------------------
  |  Branch (5835:9): [True: 0, False: 47]
  ------------------
 5836|      0|        return -1;
 5837|      0|    }
 5838|       |
 5839|     47|    const char *start = PyBytesWriter_GetData(writer);
 5840|     47|    Py_ssize_t len = end - start;
 5841|       |
 5842|     47|    char *cache = PyMem_Malloc(len + 1);
 5843|     47|    if (cache == NULL) {
  ------------------
  |  Branch (5843:9): [True: 0, False: 47]
  ------------------
 5844|      0|        PyBytesWriter_Discard(writer);
 5845|      0|        PyErr_NoMemory();
 5846|      0|        return -1;
 5847|      0|    }
 5848|     47|    memcpy(cache, start, len);
 5849|     47|    cache[len] = '\0';
 5850|     47|    PyUnicode_SET_UTF8_LENGTH(unicode, len);
 5851|     47|    PyUnicode_SET_UTF8(unicode, cache);
 5852|     47|    PyBytesWriter_Discard(writer);
 5853|     47|    return 0;
 5854|     47|}
unicodeobject.c:PyUnicode_UTF8_LENGTH:
  134|    951|{
  135|    951|    assert(_PyUnicode_CHECK(op));
  ------------------
  |  Branch (135:5): [True: 951, False: 0]
  ------------------
  136|    951|    if (PyUnicode_IS_COMPACT_ASCII(op)) {
  ------------------
  |  |  242|    951|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    951|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    951|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (242:40): [True: 922, False: 29]
  |  |  ------------------
  ------------------
  137|    922|         return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|    922|    (assert(PyUnicode_Check(op)), \
  |  |  187|    922|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    922|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (137:17): [True: 922, False: 0]
  ------------------
  138|    922|    }
  139|     29|    else {
  140|     29|         return _PyCompactUnicodeObject_CAST(op)->utf8_length;
  ------------------
  |  |  189|     29|    (assert(!(_PyASCIIObject_CAST(op)->state.ascii \
  |  |  190|     29|              && _PyASCIIObject_CAST(op)->state.compact)), \
  |  |  191|     29|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (140:17): [True: 29, False: 0]
  |  Branch (140:17): [True: 0, False: 0]
  |  Branch (140:17): [True: 0, False: 29]
  |  Branch (140:17): [True: 0, False: 0]
  ------------------
  141|     29|    }
  142|    951|}
unicodeobject.c:PyUnicode_UTF8:
  118|  2.76k|{
  119|  2.76k|    assert(_PyUnicode_CHECK(op));
  ------------------
  |  Branch (119:5): [True: 2.76k, False: 0]
  ------------------
  120|  2.76k|    if (PyUnicode_IS_COMPACT_ASCII(op)) {
  ------------------
  |  |  242|  2.76k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (242:40): [True: 2.59k, False: 176]
  |  |  ------------------
  ------------------
  121|  2.59k|        return ((char*)(_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |  186|  2.59k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  2.59k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (121:25): [True: 2.59k, False: 0]
  ------------------
  122|  2.59k|    }
  123|    176|    else {
  124|    176|         return _PyUnicode_UTF8(op);
  125|    176|    }
  126|  2.76k|}
unicodeobject.c:unicode_decode_call_errorhandler_writer:
 4441|      6|{
 4442|      6|    static const char *argparse = "Un;decoding error handler must return (str, int) tuple";
 4443|       |
 4444|      6|    PyObject *restuple = NULL;
 4445|      6|    PyObject *repunicode = NULL;
 4446|      6|    Py_ssize_t insize;
 4447|      6|    Py_ssize_t newpos;
 4448|      6|    Py_ssize_t replen;
 4449|      6|    Py_ssize_t remain;
 4450|      6|    PyObject *inputobj = NULL;
 4451|      6|    int need_to_grow = 0;
 4452|      6|    const char *new_inptr;
 4453|       |
 4454|      6|    if (*errorHandler == NULL) {
  ------------------
  |  Branch (4454:9): [True: 6, False: 0]
  ------------------
 4455|      6|        *errorHandler = PyCodec_LookupError(errors);
 4456|      6|        if (*errorHandler == NULL)
  ------------------
  |  Branch (4456:13): [True: 0, False: 6]
  ------------------
 4457|      0|            goto onError;
 4458|      6|    }
 4459|       |
 4460|      6|    make_decode_exception(exceptionObject,
 4461|      6|        encoding,
 4462|      6|        *input, *inend - *input,
 4463|      6|        *startinpos, *endinpos,
 4464|      6|        reason);
 4465|      6|    if (*exceptionObject == NULL)
  ------------------
  |  Branch (4465:9): [True: 0, False: 6]
  ------------------
 4466|      0|        goto onError;
 4467|       |
 4468|      6|    restuple = PyObject_CallOneArg(*errorHandler, *exceptionObject);
 4469|      6|    if (restuple == NULL)
  ------------------
  |  Branch (4469:9): [True: 6, False: 0]
  ------------------
 4470|      6|        goto onError;
 4471|      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 (4471:9): [True: 0, False: 0]
  ------------------
 4472|      0|        PyErr_SetString(PyExc_TypeError, &argparse[3]);
 4473|      0|        goto onError;
 4474|      0|    }
 4475|      0|    if (!PyArg_ParseTuple(restuple, argparse, &repunicode, &newpos))
  ------------------
  |  Branch (4475:9): [True: 0, False: 0]
  ------------------
 4476|      0|        goto onError;
 4477|       |
 4478|       |    /* Copy back the bytes variables, which might have been modified by the
 4479|       |       callback */
 4480|      0|    inputobj = PyUnicodeDecodeError_GetObject(*exceptionObject);
 4481|      0|    if (!inputobj)
  ------------------
  |  Branch (4481:9): [True: 0, False: 0]
  ------------------
 4482|      0|        goto onError;
 4483|      0|    remain = *inend - *input - *endinpos;
 4484|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4485|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4486|      0|    *inend = *input + insize;
 4487|       |    /* we can DECREF safely, as the exception has another reference,
 4488|       |       so the object won't go away. */
 4489|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4490|       |
 4491|      0|    if (newpos<0)
  ------------------
  |  Branch (4491:9): [True: 0, False: 0]
  ------------------
 4492|      0|        newpos = insize+newpos;
 4493|      0|    if (newpos<0 || newpos>insize) {
  ------------------
  |  Branch (4493:9): [True: 0, False: 0]
  |  Branch (4493:21): [True: 0, False: 0]
  ------------------
 4494|      0|        PyErr_Format(PyExc_IndexError, "position %zd from error handler out of bounds", newpos);
 4495|      0|        goto onError;
 4496|      0|    }
 4497|       |
 4498|      0|    replen = PyUnicode_GET_LENGTH(repunicode);
  ------------------
  |  |  300|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4499|      0|    if (replen > 1) {
  ------------------
  |  Branch (4499:9): [True: 0, False: 0]
  ------------------
 4500|      0|        writer->min_length += replen - 1;
 4501|      0|        need_to_grow = 1;
 4502|      0|    }
 4503|      0|    new_inptr = *input + newpos;
 4504|      0|    if (*inend - new_inptr > remain) {
  ------------------
  |  Branch (4504:9): [True: 0, False: 0]
  ------------------
 4505|       |        /* We don't know the decoding algorithm here so we make the worst
 4506|       |           assumption that one byte decodes to one unicode character.
 4507|       |           If unfortunately one byte could decode to more unicode characters,
 4508|       |           the decoder may write out-of-bound then.  Is it possible for the
 4509|       |           algorithms using this function? */
 4510|      0|        writer->min_length += *inend - new_inptr - remain;
 4511|      0|        need_to_grow = 1;
 4512|      0|    }
 4513|      0|    if (need_to_grow) {
  ------------------
  |  Branch (4513:9): [True: 0, False: 0]
  ------------------
 4514|      0|        writer->overallocate = 1;
 4515|      0|        if (_PyUnicodeWriter_Prepare(writer, writer->min_length - writer->pos,
  ------------------
  |  Branch (4515:13): [True: 0, False: 0]
  ------------------
 4516|      0|                            PyUnicode_MAX_CHAR_VALUE(repunicode)) == -1)
  ------------------
  |  |  406|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4517|      0|            goto onError;
 4518|      0|    }
 4519|      0|    if (_PyUnicodeWriter_WriteStr(writer, repunicode) == -1)
  ------------------
  |  Branch (4519:9): [True: 0, False: 0]
  ------------------
 4520|      0|        goto onError;
 4521|       |
 4522|      0|    *endinpos = newpos;
 4523|      0|    *inptr = new_inptr;
 4524|       |
 4525|       |    /* we made it! */
 4526|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4527|      0|    return 0;
 4528|       |
 4529|      6|  onError:
 4530|      6|    Py_XDECREF(restuple);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4531|      6|    return -1;
 4532|      0|}
unicodeobject.c:make_decode_exception:
 4288|      6|{
 4289|      6|    if (*exceptionObject == NULL) {
  ------------------
  |  Branch (4289:9): [True: 6, False: 0]
  ------------------
 4290|      6|        *exceptionObject = PyUnicodeDecodeError_Create(
 4291|      6|            encoding, input, length, startpos, endpos, reason);
 4292|      6|    }
 4293|      0|    else {
 4294|      0|        if (PyUnicodeDecodeError_SetStart(*exceptionObject, startpos))
  ------------------
  |  Branch (4294:13): [True: 0, False: 0]
  ------------------
 4295|      0|            goto onError;
 4296|      0|        if (PyUnicodeDecodeError_SetEnd(*exceptionObject, endpos))
  ------------------
  |  Branch (4296:13): [True: 0, False: 0]
  ------------------
 4297|      0|            goto onError;
 4298|      0|        if (PyUnicodeDecodeError_SetReason(*exceptionObject, reason))
  ------------------
  |  Branch (4298:13): [True: 0, False: 0]
  ------------------
 4299|      0|            goto onError;
 4300|      0|    }
 4301|      6|    return;
 4302|       |
 4303|      6|onError:
 4304|       |    Py_CLEAR(*exceptionObject);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4305|      0|}
unicodeobject.c:unicode_decode_utf8:
 5322|   222k|{
 5323|   222k|    if (size == 0) {
  ------------------
  |  Branch (5323:9): [True: 798, False: 221k]
  ------------------
 5324|    798|        if (consumed) {
  ------------------
  |  Branch (5324:13): [True: 0, False: 798]
  ------------------
 5325|      0|            *consumed = 0;
 5326|      0|        }
 5327|    798|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|    798|    do {                             \
  |  |  366|    798|        return _PyUnicode_GetEmpty();\
  |  |  367|    798|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5328|    798|    }
 5329|       |
 5330|       |    /* ASCII is equivalent to the first 128 ordinals in Unicode. */
 5331|   221k|    if (size == 1 && (unsigned char)s[0] < 128) {
  ------------------
  |  Branch (5331:9): [True: 140, False: 221k]
  |  Branch (5331:22): [True: 140, False: 0]
  ------------------
 5332|    140|        if (consumed) {
  ------------------
  |  Branch (5332:13): [True: 0, False: 140]
  ------------------
 5333|      0|            *consumed = 1;
 5334|      0|        }
 5335|    140|        return get_latin1_char((unsigned char)s[0]);
 5336|    140|    }
 5337|       |
 5338|       |    // I don't know this check is necessary or not. But there is a test
 5339|       |    // case that requires size=PY_SSIZE_T_MAX cause MemoryError.
 5340|   221k|    if (PY_SSIZE_T_MAX - sizeof(PyCompactUnicodeObject) < (size_t)size) {
  ------------------
  |  |  137|   221k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (5340:9): [True: 0, False: 221k]
  ------------------
 5341|      0|        PyErr_NoMemory();
 5342|      0|        return NULL;
 5343|      0|    }
 5344|       |
 5345|   221k|    const char *starts = s;
 5346|   221k|    const char *end = s + size;
 5347|       |
 5348|   221k|    Py_ssize_t pos = find_first_nonascii((const unsigned char*)starts, (const unsigned char*)end);
 5349|   221k|    if (pos == size) {  // fast path: ASCII string.
  ------------------
  |  Branch (5349:9): [True: 12.1k, False: 209k]
  ------------------
 5350|  12.1k|        PyObject *u = PyUnicode_New(size, 127);
 5351|  12.1k|        if (u == NULL) {
  ------------------
  |  Branch (5351:13): [True: 0, False: 12.1k]
  ------------------
 5352|      0|            return NULL;
 5353|      0|        }
 5354|  12.1k|        memcpy(PyUnicode_1BYTE_DATA(u), s, size);
  ------------------
  |  |  292|  12.1k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  12.1k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5355|  12.1k|        if (consumed) {
  ------------------
  |  Branch (5355:13): [True: 0, False: 12.1k]
  ------------------
 5356|      0|            *consumed = size;
 5357|      0|        }
 5358|  12.1k|        return u;
 5359|  12.1k|    }
 5360|       |
 5361|   209k|    int maxchr = 127;
 5362|   209k|    Py_ssize_t maxsize = size;
 5363|       |
 5364|   209k|    unsigned char ch = (unsigned char)(s[pos]);
 5365|       |    // error handler other than strict may remove/replace the invalid byte.
 5366|       |    // consumed != NULL allows 1~3 bytes remainings.
 5367|       |    // 0x80 <= ch < 0xc2 is invalid start byte that cause UnicodeDecodeError.
 5368|       |    // otherwise: check the input and decide the maxchr and maxsize to reduce
 5369|       |    // reallocation and copy.
 5370|   209k|    if (error_handler == _Py_ERROR_STRICT && !consumed && ch >= 0xc2) {
  ------------------
  |  Branch (5370:9): [True: 209k, False: 81]
  |  Branch (5370:46): [True: 209k, False: 0]
  |  Branch (5370:59): [True: 209k, False: 0]
  ------------------
 5371|       |        // we only calculate the number of codepoints and don't determine the exact maxchr.
 5372|       |        // This is because writing fast and portable SIMD code to find maxchr is difficult.
 5373|       |        // If reallocation occurs for a larger maxchar, knowing the exact number of codepoints
 5374|       |        // means that it is no longer necessary to allocate several times the required amount
 5375|       |        // of memory.
 5376|   209k|        maxsize = utf8_count_codepoints((const unsigned char *)s, (const unsigned char *)end);
 5377|   209k|        if (ch < 0xc4) { // latin1
  ------------------
  |  Branch (5377:13): [True: 163k, False: 45.0k]
  ------------------
 5378|   163k|            maxchr = 0xff;
 5379|   163k|        }
 5380|  45.0k|        else if (ch < 0xf0) { // ucs2
  ------------------
  |  Branch (5380:18): [True: 1.58k, False: 43.4k]
  ------------------
 5381|  1.58k|            maxchr = 0xffff;
 5382|  1.58k|        }
 5383|  43.4k|        else { // ucs4
 5384|  43.4k|            maxchr = 0x10ffff;
 5385|  43.4k|        }
 5386|   209k|    }
 5387|   209k|    PyObject *u = PyUnicode_New(maxsize, maxchr);
 5388|   209k|    if (!u) {
  ------------------
  |  Branch (5388:9): [True: 0, False: 209k]
  ------------------
 5389|      0|        return NULL;
 5390|      0|    }
 5391|       |
 5392|       |    // Use _PyUnicodeWriter after fast path is failed.
 5393|   209k|    _PyUnicodeWriter writer;
 5394|   209k|    _PyUnicodeWriter_InitWithBuffer(&writer, u);
 5395|   209k|    if (maxchr <= 255) {
  ------------------
  |  Branch (5395:9): [True: 164k, False: 45.0k]
  ------------------
 5396|   164k|        memcpy(PyUnicode_1BYTE_DATA(u), s, pos);
  ------------------
  |  |  292|   164k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   164k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5397|   164k|        s += pos;
 5398|   164k|        writer.pos = pos;
 5399|   164k|    }
 5400|       |
 5401|   209k|    if (unicode_decode_utf8_impl(&writer, starts, s, end,
  ------------------
  |  Branch (5401:9): [True: 4, False: 209k]
  ------------------
 5402|   209k|                                 error_handler, errors,
 5403|   209k|                                 consumed) < 0) {
 5404|      4|        _PyUnicodeWriter_Dealloc(&writer);
 5405|      4|        return NULL;
 5406|      4|    }
 5407|   209k|    return _PyUnicodeWriter_Finish(&writer);
 5408|   209k|}
unicodeobject.c:find_first_nonascii:
 5039|   221k|{
 5040|       |    // The search is done in `size_t` chunks.
 5041|       |    // The start and end might not be aligned at `size_t` boundaries,
 5042|       |    // so they're handled specially.
 5043|       |
 5044|   221k|    const unsigned char *p = start;
 5045|       |
 5046|   221k|    if (end - start >= SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   221k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5046:9): [True: 7.76k, False: 213k]
  ------------------
 5047|       |        // Avoid unaligned read.
 5048|  7.76k|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 5049|  7.76k|        size_t u;
 5050|  7.76k|        memcpy(&u, p, sizeof(size_t));
 5051|  7.76k|        u &= ASCII_CHAR_MASK;
  ------------------
  |  | 4945|  7.76k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5052|  7.76k|        if (u) {
  ------------------
  |  Branch (5052:13): [True: 5, False: 7.75k]
  ------------------
 5053|      5|            return (ctz(u) - 7) / 8;
 5054|      5|        }
 5055|  7.75k|        p = _Py_ALIGN_DOWN(p + SIZEOF_SIZE_T, SIZEOF_SIZE_T);
  ------------------
  |  |  252|  7.75k|#define _Py_ALIGN_DOWN(p, a) ((void *)((uintptr_t)(p) & ~(uintptr_t)((a) - 1)))
  ------------------
 5056|       |#else /* PY_LITTLE_ENDIAN && HAVE_CTZ */
 5057|       |        const unsigned char *p2 = _Py_ALIGN_UP(p, SIZEOF_SIZE_T);
 5058|       |        while (p < p2) {
 5059|       |            if (*p & 0x80) {
 5060|       |                return p - start;
 5061|       |            }
 5062|       |            p++;
 5063|       |        }
 5064|       |#endif
 5065|       |
 5066|       |        // Long ASCII runs: test eight words per branch.
 5067|   371k|        for (; end - p >= 8 * SIZEOF_SIZE_T; p += 8 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   371k|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; end - p >= 8 * SIZEOF_SIZE_T; p += 8 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   363k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5067:16): [True: 363k, False: 7.61k]
  ------------------
 5068|   363k|            const size_t *w = (const size_t *)p;
 5069|   363k|            if ((w[0] | w[1] | w[2] | w[3] |
  ------------------
  |  Branch (5069:17): [True: 142, False: 363k]
  ------------------
 5070|   363k|                 w[4] | w[5] | w[6] | w[7]) & ASCII_CHAR_MASK)
  ------------------
  |  | 4945|   363k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5071|    142|            {
 5072|    142|                break;
 5073|    142|            }
 5074|   363k|        }
 5075|       |
 5076|  7.75k|        const unsigned char *e = end - SIZEOF_SIZE_T;
  ------------------
  |  | 1813|  7.75k|#define SIZEOF_SIZE_T 8
  ------------------
 5077|  13.9k|        while (p <= e) {
  ------------------
  |  Branch (5077:16): [True: 6.38k, False: 7.61k]
  ------------------
 5078|  6.38k|            size_t u = (*(const size_t *)p) & ASCII_CHAR_MASK;
  ------------------
  |  | 4945|  6.38k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5079|  6.38k|            if (u) {
  ------------------
  |  Branch (5079:17): [True: 146, False: 6.23k]
  ------------------
 5080|    146|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 5081|    146|                return p - start + (ctz(u) - 7) / 8;
 5082|       |#else
 5083|       |                // big endian and minor compilers are difficult to test.
 5084|       |                // fallback to per byte check.
 5085|       |                break;
 5086|       |#endif
 5087|    146|            }
 5088|  6.23k|            p += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|  6.23k|#define SIZEOF_SIZE_T 8
  ------------------
 5089|  6.23k|        }
 5090|  7.75k|    }
 5091|   221k|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 5092|   221k|    assert((end - p) < SIZEOF_SIZE_T);
  ------------------
  |  Branch (5092:5): [True: 221k, False: 0]
  ------------------
 5093|       |    // we can not use *(const size_t*)p to avoid buffer overrun.
 5094|   221k|    size_t u = load_unaligned(p, end - p) & ASCII_CHAR_MASK;
  ------------------
  |  | 4945|   221k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5095|   221k|    if (u) {
  ------------------
  |  Branch (5095:9): [True: 208k, False: 12.2k]
  ------------------
 5096|   208k|        return p - start + (ctz(u) - 7) / 8;
 5097|   208k|    }
 5098|  12.2k|    return end - start;
 5099|       |#else
 5100|       |    while (p < end) {
 5101|       |        if (*p & 0x80) {
 5102|       |            break;
 5103|       |        }
 5104|       |        p++;
 5105|       |    }
 5106|       |    return p - start;
 5107|       |#endif
 5108|   221k|}
unicodeobject.c:ctz:
 4961|   209k|{
 4962|   209k|    return __builtin_ctzll((unsigned long long)v);
 4963|   209k|}
unicodeobject.c:load_unaligned:
 4985|   221k|{
 4986|   221k|    union {
 4987|   221k|        size_t s;
 4988|   221k|        unsigned char b[SIZEOF_SIZE_T];
 4989|   221k|    } u;
 4990|   221k|    u.s = 0;
 4991|       |    // This switch statement assumes little endian because:
 4992|       |    // * union is faster than bitwise or and shift.
 4993|       |    // * big endian machine is rare and hard to maintain.
 4994|   221k|    switch (size) {
 4995|      0|    default:
  ------------------
  |  Branch (4995:5): [True: 0, False: 221k]
  ------------------
 4996|      0|#if SIZEOF_SIZE_T == 8
 4997|      0|    case 8:
  ------------------
  |  Branch (4997:5): [True: 0, False: 221k]
  ------------------
 4998|      0|        u.b[7] = p[7];
 4999|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5000|  2.28k|    case 7:
  ------------------
  |  Branch (5000:5): [True: 2.28k, False: 218k]
  ------------------
 5001|  2.28k|        u.b[6] = p[6];
 5002|  2.28k|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|  2.28k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5003|  4.53k|    case 6:
  ------------------
  |  Branch (5003:5): [True: 2.24k, False: 218k]
  ------------------
 5004|  4.53k|        u.b[5] = p[5];
 5005|  4.53k|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|  4.53k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5006|  7.29k|    case 5:
  ------------------
  |  Branch (5006:5): [True: 2.76k, False: 218k]
  ------------------
 5007|  7.29k|        u.b[4] = p[4];
 5008|  7.29k|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|  7.29k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5009|  7.29k|#endif
 5010|  52.8k|    case 4:
  ------------------
  |  Branch (5010:5): [True: 45.5k, False: 175k]
  ------------------
 5011|  52.8k|        u.b[3] = p[3];
 5012|  52.8k|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|  52.8k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5013|  54.1k|    case 3:
  ------------------
  |  Branch (5013:5): [True: 1.25k, False: 219k]
  ------------------
 5014|  54.1k|        u.b[2] = p[2];
 5015|  54.1k|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|  54.1k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5016|   219k|    case 2:
  ------------------
  |  Branch (5016:5): [True: 165k, False: 56.1k]
  ------------------
 5017|   219k|        u.b[1] = p[1];
 5018|   219k|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|   219k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5019|   220k|    case 1:
  ------------------
  |  Branch (5019:5): [True: 904, False: 220k]
  ------------------
 5020|   220k|        u.b[0] = p[0];
 5021|   220k|        break;
 5022|  1.12k|    case 0:
  ------------------
  |  Branch (5022:5): [True: 1.12k, False: 220k]
  ------------------
 5023|  1.12k|        break;
 5024|   221k|    }
 5025|   221k|    return u.s;
 5026|   221k|}
unicodeobject.c:utf8_count_codepoints:
 5127|   209k|{
 5128|   209k|    Py_ssize_t len = 0;
 5129|       |
 5130|   209k|    if (end - s >= SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   209k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5130:9): [True: 71, False: 208k]
  ------------------
 5131|    127|        while (!_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  257|    127|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (5131:16): [True: 56, False: 71]
  ------------------
 5132|     56|            len += scalar_utf8_start_char(*s++);
 5133|     56|        }
 5134|       |
 5135|  29.5k|        while (s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1813|  29.5k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5135:16): [True: 29.4k, False: 71]
  ------------------
 5136|  29.4k|            const unsigned char *e = end;
 5137|  29.4k|            if (e - s > SIZEOF_SIZE_T * 255) {
  ------------------
  |  | 1813|  29.4k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5137:17): [True: 29.3k, False: 67]
  ------------------
 5138|  29.3k|                e = s + SIZEOF_SIZE_T * 255;
  ------------------
  |  | 1813|  29.3k|#define SIZEOF_SIZE_T 8
  ------------------
 5139|  29.3k|            }
 5140|  29.4k|            Py_ssize_t vstart = 0;
 5141|  7.53M|            while (s + SIZEOF_SIZE_T <= e) {
  ------------------
  |  | 1813|  7.53M|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5141:20): [True: 7.50M, False: 29.4k]
  ------------------
 5142|  7.50M|                size_t v = *(size_t*)s;
 5143|  7.50M|                size_t vs = vector_utf8_start_chars(v);
 5144|  7.50M|                vstart += vs;
 5145|  7.50M|                s += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|  7.50M|#define SIZEOF_SIZE_T 8
  ------------------
 5146|  7.50M|            }
 5147|  29.4k|            vstart = (vstart & VECTOR_00FF) + ((vstart >> 8) & VECTOR_00FF);
  ------------------
  |  | 4948|  29.4k|# define VECTOR_00FF     0x00ff00ff00ff00ffULL
  ------------------
                          vstart = (vstart & VECTOR_00FF) + ((vstart >> 8) & VECTOR_00FF);
  ------------------
  |  | 4948|  29.4k|# define VECTOR_00FF     0x00ff00ff00ff00ffULL
  ------------------
 5148|  29.4k|            vstart += vstart >> 16;
 5149|  29.4k|#if SIZEOF_SIZE_T == 8
 5150|  29.4k|            vstart += vstart >> 32;
 5151|  29.4k|#endif
 5152|  29.4k|            len += vstart & 0x7ff;
 5153|  29.4k|        }
 5154|     71|    }
 5155|   718k|    while (s < end) {
  ------------------
  |  Branch (5155:12): [True: 509k, False: 209k]
  ------------------
 5156|   509k|        len += scalar_utf8_start_char(*s++);
 5157|   509k|    }
 5158|   209k|    return len;
 5159|   209k|}
unicodeobject.c:scalar_utf8_start_char:
 5112|   509k|{
 5113|       |    // 0xxxxxxx or 11xxxxxx are first byte.
 5114|   509k|    return (~ch >> 7 | ch >> 6) & 1;
 5115|   509k|}
unicodeobject.c:vector_utf8_start_chars:
 5119|  7.50M|{
 5120|  7.50M|    return ((~v >> 7) | (v >> 6)) & VECTOR_0101;
  ------------------
  |  | 4947|  7.50M|# define VECTOR_0101     0x0101010101010101ULL
  ------------------
 5121|  7.50M|}
unicodeobject.c:ascii_decode:
 5163|    129|{
 5164|    129|#if SIZEOF_SIZE_T <= SIZEOF_VOID_P
 5165|    129|    if (_Py_IS_ALIGNED(start, ALIGNOF_SIZE_T)
  ------------------
  |  |  257|    258|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (257:30): [True: 39, False: 90]
  |  |  ------------------
  ------------------
 5166|     39|        && _Py_IS_ALIGNED(dest, ALIGNOF_SIZE_T))
  ------------------
  |  |  257|     39|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (257:30): [True: 37, False: 2]
  |  |  ------------------
  ------------------
 5167|     37|    {
 5168|       |        /* Fast path, see in STRINGLIB(utf8_decode) for
 5169|       |           an explanation. */
 5170|     37|        const char *p = start;
 5171|     37|        Py_UCS1 *q = dest;
 5172|     66|        while (p + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1813|     66|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5172:16): [True: 29, False: 37]
  ------------------
 5173|     29|            size_t value = *(const size_t *) p;
 5174|     29|            if (value & ASCII_CHAR_MASK)
  ------------------
  |  | 4945|     29|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (5174:17): [True: 0, False: 29]
  ------------------
 5175|      0|                break;
 5176|     29|            *((size_t *)q) = value;
 5177|     29|            p += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|     29|#define SIZEOF_SIZE_T 8
  ------------------
 5178|     29|            q += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|     29|#define SIZEOF_SIZE_T 8
  ------------------
 5179|     29|        }
 5180|    134|        while (p < end) {
  ------------------
  |  Branch (5180:16): [True: 97, False: 37]
  ------------------
 5181|     97|            if ((unsigned char)*p & 0x80)
  ------------------
  |  Branch (5181:17): [True: 0, False: 97]
  ------------------
 5182|      0|                break;
 5183|     97|            *q++ = *p++;
 5184|     97|        }
 5185|     37|        return p - start;
 5186|     37|    }
 5187|     92|#endif
 5188|     92|    Py_ssize_t pos = find_first_nonascii((const unsigned char*)start,
 5189|     92|                                         (const unsigned char*)end);
 5190|     92|    memcpy(dest, start, pos);
 5191|     92|    return pos;
 5192|    129|}
unicodeobject.c:unicode_decode_utf8_impl:
 5200|   209k|{
 5201|   209k|    Py_ssize_t startinpos, endinpos;
 5202|   209k|    const char *errmsg = "";
 5203|   209k|    PyObject *error_handler_obj = NULL;
 5204|   209k|    PyObject *exc = NULL;
 5205|       |
 5206|   209k|    while (s < end) {
  ------------------
  |  Branch (5206:12): [True: 209k, False: 25]
  ------------------
 5207|   209k|        Py_UCS4 ch;
 5208|   209k|        int kind = writer->kind;
 5209|       |
 5210|   209k|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (5210:13): [True: 164k, False: 45.1k]
  ------------------
 5211|   164k|            if (PyUnicode_IS_ASCII(writer->buffer))
  ------------------
  |  |  228|   164k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   164k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   164k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 81, False: 164k]
  |  |  ------------------
  ------------------
 5212|     81|                ch = asciilib_utf8_decode(&s, end, writer->data, &writer->pos);
 5213|   164k|            else
 5214|   164k|                ch = ucs1lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5215|   164k|        } else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (5215:20): [True: 1.63k, False: 43.5k]
  ------------------
 5216|  1.63k|            ch = ucs2lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5217|  43.5k|        } else {
 5218|  43.5k|            assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (5218:13): [True: 43.5k, False: 0]
  ------------------
 5219|  43.5k|            ch = ucs4lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5220|  43.5k|        }
 5221|       |
 5222|   209k|        switch (ch) {
 5223|   209k|        case 0:
  ------------------
  |  Branch (5223:9): [True: 209k, False: 188]
  ------------------
 5224|   209k|            if (s == end || consumed)
  ------------------
  |  Branch (5224:17): [True: 209k, False: 0]
  |  Branch (5224:29): [True: 0, False: 0]
  ------------------
 5225|   209k|                goto End;
 5226|      0|            errmsg = "unexpected end of data";
 5227|      0|            startinpos = s - starts;
 5228|      0|            endinpos = end - starts;
 5229|      0|            break;
 5230|      1|        case 1:
  ------------------
  |  Branch (5230:9): [True: 1, False: 209k]
  ------------------
 5231|      1|            errmsg = "invalid start byte";
 5232|      1|            startinpos = s - starts;
 5233|      1|            endinpos = startinpos + 1;
 5234|      1|            break;
 5235|      3|        case 2:
  ------------------
  |  Branch (5235:9): [True: 3, False: 209k]
  ------------------
 5236|      3|            if (consumed && (unsigned char)s[0] == 0xED && end - s == 2
  ------------------
  |  Branch (5236:17): [True: 0, False: 3]
  |  Branch (5236:29): [True: 0, False: 0]
  |  Branch (5236:60): [True: 0, False: 0]
  ------------------
 5237|      0|                && (unsigned char)s[1] >= 0xA0 && (unsigned char)s[1] <= 0xBF)
  ------------------
  |  Branch (5237:20): [True: 0, False: 0]
  |  Branch (5237:51): [True: 0, False: 0]
  ------------------
 5238|      0|            {
 5239|       |                /* Truncated surrogate code in range D800-DFFF */
 5240|      0|                goto End;
 5241|      0|            }
 5242|      3|            _Py_FALLTHROUGH;
  ------------------
  |  |  667|      3|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5243|      3|        case 3:
  ------------------
  |  Branch (5243:9): [True: 0, False: 209k]
  ------------------
 5244|      3|        case 4:
  ------------------
  |  Branch (5244:9): [True: 0, False: 209k]
  ------------------
 5245|      3|            errmsg = "invalid continuation byte";
 5246|      3|            startinpos = s - starts;
 5247|      3|            endinpos = startinpos + ch - 1;
 5248|      3|            break;
 5249|    184|        default:
  ------------------
  |  Branch (5249:9): [True: 184, False: 209k]
  ------------------
 5250|       |            // ch doesn't fit into kind, so change the buffer kind to write
 5251|       |            // the character
 5252|    184|            if (_PyUnicodeWriter_WriteCharInline(writer, ch) < 0)
  ------------------
  |  Branch (5252:17): [True: 0, False: 184]
  ------------------
 5253|      0|                goto onError;
 5254|    184|            continue;
 5255|   209k|        }
 5256|       |
 5257|      4|        if (error_handler == _Py_ERROR_UNKNOWN)
  ------------------
  |  Branch (5257:13): [True: 0, False: 4]
  ------------------
 5258|      0|            error_handler = _Py_GetErrorHandler(errors);
 5259|       |
 5260|      4|        switch (error_handler) {
 5261|      0|        case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (5261:9): [True: 0, False: 4]
  ------------------
 5262|      0|            s += (endinpos - startinpos);
 5263|      0|            break;
 5264|       |
 5265|      0|        case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (5265:9): [True: 0, False: 4]
  ------------------
 5266|      0|            if (_PyUnicodeWriter_WriteCharInline(writer, 0xfffd) < 0)
  ------------------
  |  Branch (5266:17): [True: 0, False: 0]
  ------------------
 5267|      0|                goto onError;
 5268|      0|            s += (endinpos - startinpos);
 5269|      0|            break;
 5270|       |
 5271|      0|        case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (5271:9): [True: 0, False: 4]
  ------------------
 5272|      0|        {
 5273|      0|            Py_ssize_t i;
 5274|       |
 5275|      0|            if (_PyUnicodeWriter_PrepareKind(writer, PyUnicode_2BYTE_KIND) < 0)
  ------------------
  |  |  543|      0|    ((KIND) <= (WRITER)->kind                                         \
  |  |  ------------------
  |  |  |  Branch (543:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  544|      0|     ? 0                                                              \
  |  |  545|      0|     : _PyUnicodeWriter_PrepareKindInternal((WRITER), (KIND)))
  ------------------
  |  Branch (5275:17): [True: 0, False: 0]
  ------------------
 5276|      0|                goto onError;
 5277|      0|            assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (5277:13): [True: 0, False: 0]
  ------------------
 5278|      0|            for (i=startinpos; i<endinpos; i++) {
  ------------------
  |  Branch (5278:32): [True: 0, False: 0]
  ------------------
 5279|      0|                ch = (Py_UCS4)(unsigned char)(starts[i]);
 5280|      0|                PyUnicode_WRITE(writer->kind, writer->data, writer->pos,
  ------------------
  |  |  336|      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))
  |  |  ------------------
  |  |  337|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5281|      0|                                ch + 0xdc00);
 5282|      0|                writer->pos++;
 5283|      0|            }
 5284|      0|            s += (endinpos - startinpos);
 5285|      0|            break;
 5286|      0|        }
 5287|       |
 5288|      4|        default:
  ------------------
  |  Branch (5288:9): [True: 4, False: 0]
  ------------------
 5289|      4|            if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (5289:17): [True: 4, False: 0]
  ------------------
 5290|      4|                    errors, &error_handler_obj,
 5291|      4|                    "utf-8", errmsg,
 5292|      4|                    &starts, &end, &startinpos, &endinpos, &exc, &s,
 5293|      4|                    writer)) {
 5294|      4|                goto onError;
 5295|      4|            }
 5296|       |
 5297|      0|            if (_PyUnicodeWriter_Prepare(writer, end - s, 127) < 0) {
  ------------------
  |  Branch (5297:17): [True: 0, False: 0]
  ------------------
 5298|      0|                goto onError;
 5299|      0|            }
 5300|      4|        }
 5301|      4|    }
 5302|       |
 5303|   209k|End:
 5304|   209k|    if (consumed)
  ------------------
  |  Branch (5304:9): [True: 0, False: 209k]
  ------------------
 5305|      0|        *consumed = s - starts;
 5306|       |
 5307|   209k|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  621|   209k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   209k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   209k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5308|   209k|    Py_XDECREF(exc);
  ------------------
  |  |  621|   209k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   209k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   209k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5309|   209k|    return 0;
 5310|       |
 5311|      4|onError:
 5312|      4|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5313|      4|    Py_XDECREF(exc);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5314|      4|    return -1;
 5315|   209k|}
unicodeobject.c:unicode_encode_utf8:
 5762|    138|{
 5763|    138|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|    138|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    138|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (5763:9): [True: 0, False: 138]
  ------------------
 5764|      0|        PyErr_BadArgument();
 5765|      0|        return NULL;
 5766|      0|    }
 5767|       |
 5768|    138|    if (PyUnicode_UTF8(unicode))
  ------------------
  |  Branch (5768:9): [True: 135, False: 3]
  ------------------
 5769|    135|        return PyBytes_FromStringAndSize(PyUnicode_UTF8(unicode),
 5770|    135|                                         PyUnicode_UTF8_LENGTH(unicode));
 5771|       |
 5772|      3|    int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|      3|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5773|      3|    const void *data = PyUnicode_DATA(unicode);
  ------------------
  |  |  285|      3|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5774|      3|    Py_ssize_t size = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|      3|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5775|       |
 5776|      3|    PyBytesWriter *writer;
 5777|      3|    char *end;
 5778|       |
 5779|      3|    switch (kind) {
 5780|      0|    default:
  ------------------
  |  Branch (5780:5): [True: 0, False: 3]
  ------------------
 5781|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5782|      0|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (5782:5): [True: 0, False: 3]
  ------------------
 5783|       |        /* the string cannot be ASCII, or PyUnicode_UTF8() would be set */
 5784|      0|        assert(!PyUnicode_IS_ASCII(unicode));
  ------------------
  |  Branch (5784:9): [True: 0, False: 0]
  ------------------
 5785|      0|        writer = ucs1lib_utf8_encoder(unicode, data, size,
 5786|      0|                                      error_handler, errors, &end);
 5787|      0|        break;
 5788|      1|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (5788:5): [True: 1, False: 2]
  ------------------
 5789|      1|        writer = ucs2lib_utf8_encoder(unicode, data, size,
 5790|      1|                                      error_handler, errors, &end);
 5791|      1|        break;
 5792|      2|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (5792:5): [True: 2, False: 1]
  ------------------
 5793|      2|        writer = ucs4lib_utf8_encoder(unicode, data, size,
 5794|      2|                                      error_handler, errors, &end);
 5795|      2|        break;
 5796|      3|    }
 5797|       |
 5798|      3|    if (writer == NULL) {
  ------------------
  |  Branch (5798:9): [True: 0, False: 3]
  ------------------
 5799|      0|        PyBytesWriter_Discard(writer);
 5800|      0|        return NULL;
 5801|      0|    }
 5802|      3|    return PyBytesWriter_FinishWithPointer(writer, end);
 5803|      3|}
unicodeobject.c:_PyUnicode_TranslateCharmap:
 9795|     48|{
 9796|       |    /* input object */
 9797|     48|    const void *data;
 9798|     48|    Py_ssize_t size, i;
 9799|     48|    int kind;
 9800|       |    /* output buffer */
 9801|     48|    _PyUnicodeWriter writer;
 9802|       |    /* error handler */
 9803|     48|    const char *reason = "character maps to <undefined>";
 9804|     48|    PyObject *errorHandler = NULL;
 9805|     48|    PyObject *exc = NULL;
 9806|     48|    int ignore;
 9807|     48|    int res;
 9808|       |
 9809|     48|    if (mapping == NULL) {
  ------------------
  |  Branch (9809:9): [True: 0, False: 48]
  ------------------
 9810|      0|        PyErr_BadArgument();
 9811|      0|        return NULL;
 9812|      0|    }
 9813|       |
 9814|     48|    data = PyUnicode_DATA(input);
  ------------------
  |  |  285|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9815|     48|    kind = PyUnicode_KIND(input);
  ------------------
  |  |  259|     48|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     96|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 48, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9816|     48|    size = PyUnicode_GET_LENGTH(input);
  ------------------
  |  |  300|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9817|       |
 9818|     48|    if (size == 0)
  ------------------
  |  Branch (9818:9): [True: 0, False: 48]
  ------------------
 9819|      0|        return PyUnicode_FromObject(input);
 9820|       |
 9821|       |    /* allocate enough for a simple 1:1 translation without
 9822|       |       replacements, if we need more, we'll resize */
 9823|     48|    _PyUnicodeWriter_Init(&writer);
 9824|     48|    if (_PyUnicodeWriter_Prepare(&writer, size, 127) == -1)
  ------------------
  |  Branch (9824:9): [True: 0, False: 48]
  ------------------
 9825|      0|        goto onError;
 9826|       |
 9827|     48|    ignore = (errors != NULL && strcmp(errors, "ignore") == 0);
  ------------------
  |  Branch (9827:15): [True: 48, False: 0]
  |  Branch (9827:33): [True: 48, False: 0]
  ------------------
 9828|       |
 9829|     48|    if (PyUnicode_IS_ASCII(input)) {
  ------------------
  |  |  228|     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 (228:32): [True: 48, False: 0]
  |  |  ------------------
  ------------------
 9830|     48|        res = unicode_fast_translate(input, mapping, &writer, ignore, &i);
 9831|     48|        if (res < 0) {
  ------------------
  |  Branch (9831:13): [True: 0, False: 48]
  ------------------
 9832|      0|            _PyUnicodeWriter_Dealloc(&writer);
 9833|      0|            return NULL;
 9834|      0|        }
 9835|     48|        if (res == 1)
  ------------------
  |  Branch (9835:13): [True: 24, False: 24]
  ------------------
 9836|     24|            return _PyUnicodeWriter_Finish(&writer);
 9837|     48|    }
 9838|      0|    else {
 9839|      0|        i = 0;
 9840|      0|    }
 9841|       |
 9842|     60|    while (i<size) {
  ------------------
  |  Branch (9842:12): [True: 36, False: 24]
  ------------------
 9843|       |        /* try to encode it */
 9844|     36|        int translate;
 9845|     36|        PyObject *repunicode = NULL; /* initialize to prevent gcc warning */
 9846|     36|        Py_ssize_t newpos;
 9847|       |        /* startpos for collecting untranslatable chars */
 9848|     36|        Py_ssize_t collstart;
 9849|     36|        Py_ssize_t collend;
 9850|     36|        Py_UCS4 ch;
 9851|       |
 9852|     36|        ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  355|     36|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     36|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     36|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     36|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|     36|                   (index))
  ------------------
 9853|     36|        translate = charmaptranslate_output(ch, mapping, &writer);
 9854|     36|        if (translate < 0)
  ------------------
  |  Branch (9854:13): [True: 0, False: 36]
  ------------------
 9855|      0|            goto onError;
 9856|       |
 9857|     36|        if (translate != 0) {
  ------------------
  |  Branch (9857:13): [True: 36, False: 0]
  ------------------
 9858|       |            /* it worked => adjust input pointer */
 9859|     36|            ++i;
 9860|     36|            continue;
 9861|     36|        }
 9862|       |
 9863|       |        /* untranslatable character */
 9864|      0|        collstart = i;
 9865|      0|        collend = i+1;
 9866|       |
 9867|       |        /* find all untranslatable characters */
 9868|      0|        while (collend < size) {
  ------------------
  |  Branch (9868:16): [True: 0, False: 0]
  ------------------
 9869|      0|            PyObject *x;
 9870|      0|            Py_UCS4 replace;
 9871|      0|            ch = PyUnicode_READ(kind, data, collend);
  ------------------
  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      0|                   (index))
  ------------------
 9872|      0|            if (charmaptranslate_lookup(ch, mapping, &x, &replace))
  ------------------
  |  Branch (9872:17): [True: 0, False: 0]
  ------------------
 9873|      0|                goto onError;
 9874|      0|            Py_XDECREF(x);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9875|      0|            if (x != Py_None)
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9875:17): [True: 0, False: 0]
  ------------------
 9876|      0|                break;
 9877|      0|            ++collend;
 9878|      0|        }
 9879|       |
 9880|      0|        if (ignore) {
  ------------------
  |  Branch (9880:13): [True: 0, False: 0]
  ------------------
 9881|      0|            i = collend;
 9882|      0|        }
 9883|      0|        else {
 9884|      0|            repunicode = unicode_translate_call_errorhandler(errors, &errorHandler,
 9885|      0|                                                             reason, input, &exc,
 9886|      0|                                                             collstart, collend, &newpos);
 9887|      0|            if (repunicode == NULL)
  ------------------
  |  Branch (9887:17): [True: 0, False: 0]
  ------------------
 9888|      0|                goto onError;
 9889|      0|            if (_PyUnicodeWriter_WriteStr(&writer, repunicode) < 0) {
  ------------------
  |  Branch (9889:17): [True: 0, False: 0]
  ------------------
 9890|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9891|      0|                goto onError;
 9892|      0|            }
 9893|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9894|      0|            i = newpos;
 9895|      0|        }
 9896|      0|    }
 9897|     24|    Py_XDECREF(exc);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9898|     24|    Py_XDECREF(errorHandler);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9899|     24|    return _PyUnicodeWriter_Finish(&writer);
 9900|       |
 9901|      0|  onError:
 9902|      0|    _PyUnicodeWriter_Dealloc(&writer);
 9903|      0|    Py_XDECREF(exc);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9904|      0|    Py_XDECREF(errorHandler);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9905|       |    return NULL;
 9906|     24|}
unicodeobject.c:unicode_fast_translate:
 9744|     48|{
 9745|     48|    Py_UCS1 ascii_table[128], ch, ch2;
 9746|     48|    Py_ssize_t len;
 9747|     48|    const Py_UCS1 *in, *end;
 9748|     48|    Py_UCS1 *out;
 9749|     48|    int res = 0;
 9750|       |
 9751|     48|    len = PyUnicode_GET_LENGTH(input);
  ------------------
  |  |  300|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9752|       |
 9753|     48|    memset(ascii_table, 0xff, 128);
 9754|       |
 9755|     48|    in = PyUnicode_1BYTE_DATA(input);
  ------------------
  |  |  292|     48|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9756|     48|    end = in + len;
 9757|       |
 9758|     48|    assert(PyUnicode_IS_ASCII(writer->buffer));
  ------------------
  |  Branch (9758:5): [True: 48, False: 0]
  ------------------
 9759|     48|    assert(PyUnicode_GET_LENGTH(writer->buffer) == len);
  ------------------
  |  Branch (9759:5): [True: 48, False: 0]
  ------------------
 9760|     48|    out = PyUnicode_1BYTE_DATA(writer->buffer);
  ------------------
  |  |  292|     48|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9761|       |
 9762|     89|    for (; in < end; in++) {
  ------------------
  |  Branch (9762:12): [True: 65, False: 24]
  ------------------
 9763|     65|        ch = *in;
 9764|     65|        ch2 = ascii_table[ch];
 9765|     65|        if (ch2 == 0xff) {
  ------------------
  |  Branch (9765:13): [True: 58, False: 7]
  ------------------
 9766|     58|            int translate = unicode_fast_translate_lookup(mapping, ch,
 9767|     58|                                                          ascii_table);
 9768|     58|            if (translate < 0)
  ------------------
  |  Branch (9768:17): [True: 0, False: 58]
  ------------------
 9769|      0|                return -1;
 9770|     58|            if (translate == 0)
  ------------------
  |  Branch (9770:17): [True: 24, False: 34]
  ------------------
 9771|     24|                goto exit;
 9772|     34|            ch2 = ascii_table[ch];
 9773|     34|        }
 9774|     41|        if (ch2 == 0xfe) {
  ------------------
  |  Branch (9774:13): [True: 0, False: 41]
  ------------------
 9775|      0|            if (ignore)
  ------------------
  |  Branch (9775:17): [True: 0, False: 0]
  ------------------
 9776|      0|                continue;
 9777|      0|            goto exit;
 9778|      0|        }
 9779|     41|        assert(ch2 < 128);
  ------------------
  |  Branch (9779:9): [True: 41, False: 0]
  ------------------
 9780|     41|        *out = ch2;
 9781|     41|        out++;
 9782|     41|    }
 9783|     24|    res = 1;
 9784|       |
 9785|     48|exit:
 9786|     48|    writer->pos = out - PyUnicode_1BYTE_DATA(writer->buffer);
  ------------------
  |  |  292|     48|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9787|     48|    *input_pos = in - PyUnicode_1BYTE_DATA(input);
  ------------------
  |  |  292|     48|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9788|     48|    return res;
 9789|     24|}
unicodeobject.c:unicode_fast_translate_lookup:
 9691|     58|{
 9692|     58|    PyObject *item = NULL;
 9693|     58|    Py_UCS4 replace;
 9694|     58|    int ret = 0;
 9695|       |
 9696|     58|    if (charmaptranslate_lookup(ch, mapping, &item, &replace)) {
  ------------------
  |  Branch (9696:9): [True: 0, False: 58]
  ------------------
 9697|      0|        return -1;
 9698|      0|    }
 9699|       |
 9700|     58|    if (item == Py_None) {
  ------------------
  |  |  616|     58|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9700:9): [True: 0, False: 58]
  ------------------
 9701|       |        /* deletion */
 9702|      0|        translate[ch] = 0xfe;
 9703|      0|    }
 9704|     58|    else if (item == NULL) {
  ------------------
  |  Branch (9704:14): [True: 34, False: 24]
  ------------------
 9705|       |        /* not found => default to 1:1 mapping */
 9706|     34|        translate[ch] = ch;
 9707|     34|        return 1;
 9708|     34|    }
 9709|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9710|      0|        if (replace > 127) {
  ------------------
  |  Branch (9710:13): [True: 0, False: 0]
  ------------------
 9711|       |            /* invalid character or character outside ASCII:
 9712|       |               skip the fast translate */
 9713|      0|            goto exit;
 9714|      0|        }
 9715|      0|        translate[ch] = (Py_UCS1)replace;
 9716|      0|    }
 9717|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9718|     24|        if (PyUnicode_GET_LENGTH(item) != 1)
  ------------------
  |  |  300|     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 (9718:13): [True: 24, False: 0]
  ------------------
 9719|     24|            goto exit;
 9720|       |
 9721|      0|        replace = PyUnicode_READ_CHAR(item, 0);
  ------------------
  |  |  382|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9722|      0|        if (replace > 127)
  ------------------
  |  Branch (9722:13): [True: 0, False: 0]
  ------------------
 9723|      0|            goto exit;
 9724|      0|        translate[ch] = (Py_UCS1)replace;
 9725|      0|    }
 9726|      0|    else {
 9727|       |        /* not None, NULL, long or unicode */
 9728|      0|        goto exit;
 9729|      0|    }
 9730|      0|    ret = 1;
 9731|       |
 9732|     24|  exit:
 9733|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9734|     24|    return ret;
 9735|      0|}
unicodeobject.c:charmaptranslate_output:
 9645|     36|{
 9646|     36|    PyObject *item;
 9647|     36|    Py_UCS4 replace;
 9648|       |
 9649|     36|    if (charmaptranslate_lookup(ch, mapping, &item, &replace))
  ------------------
  |  Branch (9649:9): [True: 0, False: 36]
  ------------------
 9650|      0|        return -1;
 9651|       |
 9652|     36|    if (item == NULL) {
  ------------------
  |  Branch (9652:9): [True: 8, False: 28]
  ------------------
 9653|       |        /* not found => default to 1:1 mapping */
 9654|      8|        if (_PyUnicodeWriter_WriteCharInline(writer, ch) < 0) {
  ------------------
  |  Branch (9654:13): [True: 0, False: 8]
  ------------------
 9655|      0|            return -1;
 9656|      0|        }
 9657|      8|        return 1;
 9658|      8|    }
 9659|       |
 9660|     28|    if (item == Py_None) {
  ------------------
  |  |  616|     28|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9660:9): [True: 0, False: 28]
  ------------------
 9661|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9662|      0|        return 0;
 9663|      0|    }
 9664|       |
 9665|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9666|      0|        if (_PyUnicodeWriter_WriteCharInline(writer, replace) < 0) {
  ------------------
  |  Branch (9666:13): [True: 0, False: 0]
  ------------------
 9667|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9668|      0|            return -1;
 9669|      0|        }
 9670|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9671|      0|        return 1;
 9672|      0|    }
 9673|       |
 9674|     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 (9674:9): [True: 0, False: 28]
  ------------------
 9675|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9676|      0|        return -1;
 9677|      0|    }
 9678|       |
 9679|     28|    if (_PyUnicodeWriter_WriteStr(writer, item) < 0) {
  ------------------
  |  Branch (9679:9): [True: 0, False: 28]
  ------------------
 9680|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9681|      0|        return -1;
 9682|      0|    }
 9683|       |
 9684|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9685|     28|    return 1;
 9686|     28|}
unicodeobject.c:charmaptranslate_lookup:
 9587|     94|{
 9588|     94|    PyObject *w = PyLong_FromLong((long)c);
 9589|     94|    PyObject *x;
 9590|       |
 9591|     94|    if (w == NULL)
  ------------------
  |  Branch (9591:9): [True: 0, False: 94]
  ------------------
 9592|      0|        return -1;
 9593|     94|    int rc = PyMapping_GetOptionalItem(mapping, w, &x);
 9594|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9595|     94|    if (rc == 0) {
  ------------------
  |  Branch (9595:9): [True: 42, False: 52]
  ------------------
 9596|       |        /* No mapping found means: use 1:1 mapping. */
 9597|     42|        *result = NULL;
 9598|     42|        return 0;
 9599|     42|    }
 9600|     52|    if (x == NULL) {
  ------------------
  |  Branch (9600:9): [True: 0, False: 52]
  ------------------
 9601|      0|        if (PyErr_ExceptionMatches(PyExc_LookupError)) {
  ------------------
  |  Branch (9601:13): [True: 0, False: 0]
  ------------------
 9602|       |            /* No mapping found means: use 1:1 mapping. */
 9603|      0|            PyErr_Clear();
 9604|      0|            *result = NULL;
 9605|      0|            return 0;
 9606|      0|        } else
 9607|      0|            return -1;
 9608|      0|    }
 9609|     52|    else if (x == Py_None) {
  ------------------
  |  |  616|     52|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9609:14): [True: 0, False: 52]
  ------------------
 9610|      0|        *result = x;
 9611|      0|        return 0;
 9612|      0|    }
 9613|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9614|      0|        long value = PyLong_AsLong(x);
 9615|      0|        if (value < 0 || value > MAX_UNICODE) {
  ------------------
  |  |  108|      0|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   18|      0|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (9615:13): [True: 0, False: 0]
  |  Branch (9615:26): [True: 0, False: 0]
  ------------------
 9616|      0|            PyErr_Format(PyExc_ValueError,
 9617|      0|                         "character mapping must be in range(0x%lx)",
 9618|      0|                         (unsigned long)MAX_UNICODE + 1);
  ------------------
  |  |  108|      0|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   18|      0|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
 9619|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9620|      0|            return -1;
 9621|      0|        }
 9622|      0|        *result = x;
 9623|      0|        *replace = (Py_UCS4)value;
 9624|      0|        return 0;
 9625|      0|    }
 9626|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9627|     52|        *result = x;
 9628|     52|        return 0;
 9629|     52|    }
 9630|      0|    else {
 9631|       |        /* wrong return value */
 9632|      0|        PyErr_SetString(PyExc_TypeError,
 9633|      0|                        "character mapping must return integer, None or str");
 9634|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9635|      0|        return -1;
 9636|      0|    }
 9637|     52|}
unicodeobject.c:any_find_slice:
 9991|     35|{
 9992|     35|    int kind1, kind2;
 9993|     35|    const void *buf1, *buf2;
 9994|     35|    Py_ssize_t len1, len2, result;
 9995|       |
 9996|     35|    kind1 = PyUnicode_KIND(s1);
  ------------------
  |  |  259|     35|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     70|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 35, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9997|     35|    kind2 = PyUnicode_KIND(s2);
  ------------------
  |  |  259|     35|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     70|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 35, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9998|     35|    if (kind1 < kind2)
  ------------------
  |  Branch (9998:9): [True: 0, False: 35]
  ------------------
 9999|      0|        return -1;
10000|       |
10001|     35|    len1 = PyUnicode_GET_LENGTH(s1);
  ------------------
  |  |  300|     35|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10002|     35|    len2 = PyUnicode_GET_LENGTH(s2);
  ------------------
  |  |  300|     35|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10003|     35|    ADJUST_INDICES(start, end, len1);
  ------------------
  |  | 9968|     35|    do {                                \
  |  | 9969|     35|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9969:13): [True: 35, False: 0]
  |  |  ------------------
  |  | 9970|     35|            end = len;                  \
  |  | 9971|     35|        }                               \
  |  | 9972|     35|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (9972:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 9973|      0|            end += len;                 \
  |  | 9974|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (9974:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9975|      0|                end = 0;                \
  |  | 9976|      0|            }                           \
  |  | 9977|      0|        }                               \
  |  | 9978|     35|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9978:13): [True: 0, False: 35]
  |  |  ------------------
  |  | 9979|      0|            start += len;               \
  |  | 9980|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (9980:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9981|      0|                start = 0;              \
  |  | 9982|      0|            }                           \
  |  | 9983|      0|        }                               \
  |  | 9984|     35|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9984:14): [Folded, False: 35]
  |  |  ------------------
  ------------------
10004|     35|    if (end - start < len2)
  ------------------
  |  Branch (10004:9): [True: 0, False: 35]
  ------------------
10005|      0|        return -1;
10006|       |
10007|     35|    buf1 = PyUnicode_DATA(s1);
  ------------------
  |  |  285|     35|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10008|     35|    buf2 = PyUnicode_DATA(s2);
  ------------------
  |  |  285|     35|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10009|     35|    if (len2 == 1) {
  ------------------
  |  Branch (10009:9): [True: 35, False: 0]
  ------------------
10010|     35|        Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  355|     35|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     35|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     35|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     35|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|     35|                   (index))
  ------------------
10011|     35|        result = findchar((const char *)buf1 + kind1*start,
10012|     35|                          kind1, end - start, ch, direction);
10013|     35|        if (result == -1)
  ------------------
  |  Branch (10013:13): [True: 0, False: 35]
  ------------------
10014|      0|            return -1;
10015|     35|        else
10016|     35|            return start + result;
10017|     35|    }
10018|       |
10019|      0|    if (kind2 != kind1) {
  ------------------
  |  Branch (10019:9): [True: 0, False: 0]
  ------------------
10020|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
10021|      0|        if (!buf2)
  ------------------
  |  Branch (10021:13): [True: 0, False: 0]
  ------------------
10022|      0|            return -2;
10023|      0|    }
10024|       |
10025|      0|    if (direction > 0) {
  ------------------
  |  Branch (10025:9): [True: 0, False: 0]
  ------------------
10026|      0|        switch (kind1) {
10027|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10027:9): [True: 0, False: 0]
  ------------------
10028|      0|            if (PyUnicode_IS_ASCII(s1) && PyUnicode_IS_ASCII(s2))
  ------------------
  |  |  228|      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 (228:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                          if (PyUnicode_IS_ASCII(s1) && PyUnicode_IS_ASCII(s2))
  ------------------
  |  |  228|      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 (228:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
10029|      0|                result = asciilib_find_slice(buf1, len1, buf2, len2, start, end);
10030|      0|            else
10031|      0|                result = ucs1lib_find_slice(buf1, len1, buf2, len2, start, end);
10032|      0|            break;
10033|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10033:9): [True: 0, False: 0]
  ------------------
10034|      0|            result = ucs2lib_find_slice(buf1, len1, buf2, len2, start, end);
10035|      0|            break;
10036|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10036:9): [True: 0, False: 0]
  ------------------
10037|      0|            result = ucs4lib_find_slice(buf1, len1, buf2, len2, start, end);
10038|      0|            break;
10039|      0|        default:
  ------------------
  |  Branch (10039:9): [True: 0, False: 0]
  ------------------
10040|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10041|      0|        }
10042|      0|    }
10043|      0|    else {
10044|      0|        switch (kind1) {
10045|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10045:9): [True: 0, False: 0]
  ------------------
10046|      0|            if (PyUnicode_IS_ASCII(s1) && PyUnicode_IS_ASCII(s2))
  ------------------
  |  |  228|      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 (228:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                          if (PyUnicode_IS_ASCII(s1) && PyUnicode_IS_ASCII(s2))
  ------------------
  |  |  228|      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 (228:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
10047|      0|                result = asciilib_rfind_slice(buf1, len1, buf2, len2, start, end);
10048|      0|            else
10049|      0|                result = ucs1lib_rfind_slice(buf1, len1, buf2, len2, start, end);
10050|      0|            break;
10051|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10051:9): [True: 0, False: 0]
  ------------------
10052|      0|            result = ucs2lib_rfind_slice(buf1, len1, buf2, len2, start, end);
10053|      0|            break;
10054|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10054:9): [True: 0, False: 0]
  ------------------
10055|      0|            result = ucs4lib_rfind_slice(buf1, len1, buf2, len2, start, end);
10056|      0|            break;
10057|      0|        default:
  ------------------
  |  Branch (10057:9): [True: 0, False: 0]
  ------------------
10058|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10059|      0|        }
10060|      0|    }
10061|       |
10062|      0|    assert((kind2 != kind1) == (buf2 != PyUnicode_DATA(s2)));
  ------------------
  |  Branch (10062:5): [True: 0, False: 0]
  ------------------
10063|      0|    if (kind2 != kind1)
  ------------------
  |  Branch (10063:9): [True: 0, False: 0]
  ------------------
10064|      0|        PyMem_Free((void *)buf2);
10065|       |
10066|      0|    return result;
10067|      0|}
unicodeobject.c:tailmatch:
10121|    531|{
10122|    531|    int kind_self;
10123|    531|    int kind_sub;
10124|    531|    const void *data_self;
10125|    531|    const void *data_sub;
10126|    531|    Py_ssize_t offset;
10127|    531|    Py_ssize_t i;
10128|    531|    Py_ssize_t end_sub;
10129|       |
10130|    531|    ADJUST_INDICES(start, end, PyUnicode_GET_LENGTH(self));
  ------------------
  |  | 9968|    531|    do {                                \
  |  | 9969|    531|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9969:13): [True: 531, False: 0]
  |  |  ------------------
  |  | 9970|    531|            end = len;                  \
  |  | 9971|    531|        }                               \
  |  | 9972|    531|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (9972:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 9973|      0|            end += len;                 \
  |  | 9974|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (9974:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9975|      0|                end = 0;                \
  |  | 9976|      0|            }                           \
  |  | 9977|      0|        }                               \
  |  | 9978|    531|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9978:13): [True: 0, False: 531]
  |  |  ------------------
  |  | 9979|      0|            start += len;               \
  |  | 9980|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (9980:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9981|      0|                start = 0;              \
  |  | 9982|      0|            }                           \
  |  | 9983|      0|        }                               \
  |  | 9984|    531|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9984:14): [Folded, False: 531]
  |  |  ------------------
  ------------------
10131|    531|    end -= PyUnicode_GET_LENGTH(substring);
  ------------------
  |  |  300|    531|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    531|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    531|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10132|    531|    if (end < start)
  ------------------
  |  Branch (10132:9): [True: 48, False: 483]
  ------------------
10133|     48|        return 0;
10134|       |
10135|    483|    if (PyUnicode_GET_LENGTH(substring) == 0)
  ------------------
  |  |  300|    483|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    483|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    483|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10135:9): [True: 0, False: 483]
  ------------------
10136|      0|        return 1;
10137|       |
10138|    483|    kind_self = PyUnicode_KIND(self);
  ------------------
  |  |  259|    483|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    966|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 483, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10139|    483|    data_self = PyUnicode_DATA(self);
  ------------------
  |  |  285|    483|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    483|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    483|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10140|    483|    kind_sub = PyUnicode_KIND(substring);
  ------------------
  |  |  259|    483|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    966|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 483, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10141|    483|    data_sub = PyUnicode_DATA(substring);
  ------------------
  |  |  285|    483|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    483|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    483|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10142|    483|    end_sub = PyUnicode_GET_LENGTH(substring) - 1;
  ------------------
  |  |  300|    483|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    483|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    483|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10143|       |
10144|    483|    if (direction > 0)
  ------------------
  |  Branch (10144:9): [True: 84, False: 399]
  ------------------
10145|     84|        offset = end;
10146|    399|    else
10147|    399|        offset = start;
10148|       |
10149|    483|    if (PyUnicode_READ(kind_self, data_self, offset) ==
  ------------------
  |  |  355|    483|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    483|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    483|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    483|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|    483|                   (index))
  ------------------
  |  Branch (10149:9): [True: 266, False: 217]
  ------------------
10150|    483|        PyUnicode_READ(kind_sub, data_sub, 0) &&
  ------------------
  |  |  355|    966|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    483|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    966|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    483|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|    966|                   (index))
  ------------------
10151|    266|        PyUnicode_READ(kind_self, data_self, offset + end_sub) ==
  ------------------
  |  |  355|    266|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    266|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    266|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    266|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|    266|                   (index))
  ------------------
  |  Branch (10151:9): [True: 172, False: 94]
  ------------------
10152|    266|        PyUnicode_READ(kind_sub, data_sub, end_sub)) {
  ------------------
  |  |  355|    266|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    266|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    266|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    266|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|    266|                   (index))
  ------------------
10153|       |        /* If both are of the same kind, memcmp is sufficient */
10154|    172|        if (kind_self == kind_sub) {
  ------------------
  |  Branch (10154:13): [True: 172, False: 0]
  ------------------
10155|    172|            return ! memcmp((char *)data_self +
10156|    172|                                (offset * PyUnicode_KIND(substring)),
  ------------------
  |  |  259|    172|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    344|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 172, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10157|      0|                            data_sub,
10158|    172|                            PyUnicode_GET_LENGTH(substring) *
  ------------------
  |  |  300|    172|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    172|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    172|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10159|    172|                                PyUnicode_KIND(substring));
  ------------------
  |  |  259|    172|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    344|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 172, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10160|    172|        }
10161|       |        /* otherwise we have to compare each character by first accessing it */
10162|      0|        else {
10163|       |            /* We do not need to compare 0 and len(substring)-1 because
10164|       |               the if statement above ensured already that they are equal
10165|       |               when we end up here. */
10166|      0|            for (i = 1; i < end_sub; ++i) {
  ------------------
  |  Branch (10166:25): [True: 0, False: 0]
  ------------------
10167|      0|                if (PyUnicode_READ(kind_self, data_self, offset + i) !=
  ------------------
  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      0|                   (index))
  ------------------
  |  Branch (10167:21): [True: 0, False: 0]
  ------------------
10168|      0|                    PyUnicode_READ(kind_sub, data_sub, i))
  ------------------
  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      0|                   (index))
  ------------------
10169|      0|                    return 0;
10170|      0|            }
10171|      0|            return 1;
10172|      0|        }
10173|    172|    }
10174|       |
10175|    311|    return 0;
10176|    483|}
unicodeobject.c:unicode_compare:
11365|  5.25k|{
11366|  5.25k|#define COMPARE(TYPE1, TYPE2) \
11367|  5.25k|    do { \
11368|  5.25k|        TYPE1* p1 = (TYPE1 *)data1; \
11369|  5.25k|        TYPE2* p2 = (TYPE2 *)data2; \
11370|  5.25k|        TYPE1* end = p1 + len; \
11371|  5.25k|        Py_UCS4 c1, c2; \
11372|  5.25k|        for (; p1 != end; p1++, p2++) { \
11373|  5.25k|            c1 = *p1; \
11374|  5.25k|            c2 = *p2; \
11375|  5.25k|            if (c1 != c2) \
11376|  5.25k|                return (c1 < c2) ? -1 : 1; \
11377|  5.25k|        } \
11378|  5.25k|    } \
11379|  5.25k|    while (0)
11380|       |
11381|  5.25k|    int kind1, kind2;
11382|  5.25k|    const void *data1, *data2;
11383|  5.25k|    Py_ssize_t len1, len2, len;
11384|       |
11385|  5.25k|    kind1 = PyUnicode_KIND(str1);
  ------------------
  |  |  259|  5.25k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  10.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 5.25k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11386|  5.25k|    kind2 = PyUnicode_KIND(str2);
  ------------------
  |  |  259|  5.25k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  10.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 5.25k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11387|  5.25k|    data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  285|  5.25k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11388|  5.25k|    data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  285|  5.25k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11389|  5.25k|    len1 = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  300|  5.25k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11390|  5.25k|    len2 = PyUnicode_GET_LENGTH(str2);
  ------------------
  |  |  300|  5.25k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11391|  5.25k|    len = Py_MIN(len1, len2);
  ------------------
  |  |  127|  5.25k|       __extension__ \
  |  |  128|  5.25k|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  5.25k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|  5.25k|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  5.25k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|  5.25k|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 1.92k, False: 3.33k]
  |  |  ------------------
  ------------------
11392|       |
11393|  5.25k|    switch(kind1) {
11394|  5.25k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11394:5): [True: 5.25k, False: 0]
  ------------------
11395|  5.25k|    {
11396|  5.25k|        switch(kind2) {
11397|  5.25k|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11397:9): [True: 5.25k, False: 0]
  ------------------
11398|  5.25k|        {
11399|  5.25k|            int cmp = memcmp(data1, data2, len);
11400|       |            /* normalize result of memcmp() into the range [-1; 1] */
11401|  5.25k|            if (cmp < 0)
  ------------------
  |  Branch (11401:17): [True: 2.63k, False: 2.62k]
  ------------------
11402|  2.63k|                return -1;
11403|  2.62k|            if (cmp > 0)
  ------------------
  |  Branch (11403:17): [True: 2.50k, False: 118]
  ------------------
11404|  2.50k|                return 1;
11405|    118|            break;
11406|  2.62k|        }
11407|    118|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11407:9): [True: 0, False: 5.25k]
  ------------------
11408|      0|            COMPARE(Py_UCS1, Py_UCS2);
  ------------------
  |  |11367|      0|    do { \
  |  |11368|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11369|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11370|      0|        TYPE1* end = p1 + len; \
  |  |11371|      0|        Py_UCS4 c1, c2; \
  |  |11372|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11372:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11373|      0|            c1 = *p1; \
  |  |11374|      0|            c2 = *p2; \
  |  |11375|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11375:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11376|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11376:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11377|      0|        } \
  |  |11378|      0|    } \
  |  |11379|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11379:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11409|      0|            break;
11410|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11410:9): [True: 0, False: 5.25k]
  ------------------
11411|      0|            COMPARE(Py_UCS1, Py_UCS4);
  ------------------
  |  |11367|      0|    do { \
  |  |11368|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11369|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11370|      0|        TYPE1* end = p1 + len; \
  |  |11371|      0|        Py_UCS4 c1, c2; \
  |  |11372|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11372:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11373|      0|            c1 = *p1; \
  |  |11374|      0|            c2 = *p2; \
  |  |11375|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11375:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11376|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11376:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11377|      0|        } \
  |  |11378|      0|    } \
  |  |11379|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11379:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11412|      0|            break;
11413|      0|        default:
  ------------------
  |  Branch (11413:9): [True: 0, False: 5.25k]
  ------------------
11414|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11415|  5.25k|        }
11416|    118|        break;
11417|  5.25k|    }
11418|    118|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11418:5): [True: 0, False: 5.25k]
  ------------------
11419|      0|    {
11420|      0|        switch(kind2) {
11421|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11421:9): [True: 0, False: 0]
  ------------------
11422|      0|            COMPARE(Py_UCS2, Py_UCS1);
  ------------------
  |  |11367|      0|    do { \
  |  |11368|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11369|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11370|      0|        TYPE1* end = p1 + len; \
  |  |11371|      0|        Py_UCS4 c1, c2; \
  |  |11372|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11372:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11373|      0|            c1 = *p1; \
  |  |11374|      0|            c2 = *p2; \
  |  |11375|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11375:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11376|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11376:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11377|      0|        } \
  |  |11378|      0|    } \
  |  |11379|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11379:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11423|      0|            break;
11424|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11424:9): [True: 0, False: 0]
  ------------------
11425|      0|        {
11426|      0|            COMPARE(Py_UCS2, Py_UCS2);
  ------------------
  |  |11367|      0|    do { \
  |  |11368|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11369|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11370|      0|        TYPE1* end = p1 + len; \
  |  |11371|      0|        Py_UCS4 c1, c2; \
  |  |11372|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11372:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11373|      0|            c1 = *p1; \
  |  |11374|      0|            c2 = *p2; \
  |  |11375|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11375:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11376|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11376:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11377|      0|        } \
  |  |11378|      0|    } \
  |  |11379|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11379:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11427|      0|            break;
11428|      0|        }
11429|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11429:9): [True: 0, False: 0]
  ------------------
11430|      0|            COMPARE(Py_UCS2, Py_UCS4);
  ------------------
  |  |11367|      0|    do { \
  |  |11368|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11369|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11370|      0|        TYPE1* end = p1 + len; \
  |  |11371|      0|        Py_UCS4 c1, c2; \
  |  |11372|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11372:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11373|      0|            c1 = *p1; \
  |  |11374|      0|            c2 = *p2; \
  |  |11375|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11375:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11376|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11376:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11377|      0|        } \
  |  |11378|      0|    } \
  |  |11379|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11379:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11431|      0|            break;
11432|      0|        default:
  ------------------
  |  Branch (11432:9): [True: 0, False: 0]
  ------------------
11433|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11434|      0|        }
11435|      0|        break;
11436|      0|    }
11437|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11437:5): [True: 0, False: 5.25k]
  ------------------
11438|      0|    {
11439|      0|        switch(kind2) {
11440|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11440:9): [True: 0, False: 0]
  ------------------
11441|      0|            COMPARE(Py_UCS4, Py_UCS1);
  ------------------
  |  |11367|      0|    do { \
  |  |11368|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11369|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11370|      0|        TYPE1* end = p1 + len; \
  |  |11371|      0|        Py_UCS4 c1, c2; \
  |  |11372|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11372:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11373|      0|            c1 = *p1; \
  |  |11374|      0|            c2 = *p2; \
  |  |11375|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11375:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11376|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11376:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11377|      0|        } \
  |  |11378|      0|    } \
  |  |11379|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11379:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11442|      0|            break;
11443|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11443:9): [True: 0, False: 0]
  ------------------
11444|      0|            COMPARE(Py_UCS4, Py_UCS2);
  ------------------
  |  |11367|      0|    do { \
  |  |11368|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11369|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11370|      0|        TYPE1* end = p1 + len; \
  |  |11371|      0|        Py_UCS4 c1, c2; \
  |  |11372|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11372:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11373|      0|            c1 = *p1; \
  |  |11374|      0|            c2 = *p2; \
  |  |11375|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11375:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11376|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11376:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11377|      0|        } \
  |  |11378|      0|    } \
  |  |11379|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11379:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11445|      0|            break;
11446|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11446:9): [True: 0, False: 0]
  ------------------
11447|      0|        {
11448|      0|#if defined(HAVE_WMEMCMP) && SIZEOF_WCHAR_T == 4
11449|      0|            int cmp = wmemcmp((wchar_t *)data1, (wchar_t *)data2, len);
11450|       |            /* normalize result of wmemcmp() into the range [-1; 1] */
11451|      0|            if (cmp < 0)
  ------------------
  |  Branch (11451:17): [True: 0, False: 0]
  ------------------
11452|      0|                return -1;
11453|      0|            if (cmp > 0)
  ------------------
  |  Branch (11453:17): [True: 0, False: 0]
  ------------------
11454|      0|                return 1;
11455|       |#else
11456|       |            COMPARE(Py_UCS4, Py_UCS4);
11457|       |#endif
11458|      0|            break;
11459|      0|        }
11460|      0|        default:
  ------------------
  |  Branch (11460:9): [True: 0, False: 0]
  ------------------
11461|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11462|      0|        }
11463|      0|        break;
11464|      0|    }
11465|      0|    default:
  ------------------
  |  Branch (11465:5): [True: 0, False: 5.25k]
  ------------------
11466|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11467|  5.25k|    }
11468|       |
11469|    118|    if (len1 == len2)
  ------------------
  |  Branch (11469:9): [True: 27, False: 91]
  ------------------
11470|     27|        return 0;
11471|     91|    if (len1 < len2)
  ------------------
  |  Branch (11471:9): [True: 21, False: 70]
  ------------------
11472|     21|        return -1;
11473|     70|    else
11474|     70|        return 1;
11475|       |
11476|     91|#undef COMPARE
11477|     91|}
unicodeobject.c:make_bloom_mask:
  918|    718|{
  919|    718|#define BLOOM_UPDATE(TYPE, MASK, PTR, LEN)             \
  920|    718|    do {                                               \
  921|    718|        TYPE *data = (TYPE *)PTR;                      \
  922|    718|        TYPE *end = data + LEN;                        \
  923|    718|        Py_UCS4 ch;                                    \
  924|    718|        for (; data != end; data++) {                  \
  925|    718|            ch = *data;                                \
  926|    718|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  927|    718|        }                                              \
  928|    718|        break;                                         \
  929|    718|    } while (0)
  930|       |
  931|       |    /* calculate simple bloom-style bitmask for a given unicode string */
  932|       |
  933|    718|    BLOOM_MASK mask;
  ------------------
  |  |  906|    718|#define BLOOM_MASK unsigned long
  ------------------
  934|       |
  935|    718|    mask = 0;
  936|    718|    switch (kind) {
  937|    716|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (937:5): [True: 716, False: 2]
  ------------------
  938|    716|        BLOOM_UPDATE(Py_UCS1, mask, ptr, len);
  ------------------
  |  |  920|    716|    do {                                               \
  |  |  921|    716|        TYPE *data = (TYPE *)PTR;                      \
  |  |  922|    716|        TYPE *end = data + LEN;                        \
  |  |  923|    716|        Py_UCS4 ch;                                    \
  |  |  924|  1.46k|        for (; data != end; data++) {                  \
  |  |  ------------------
  |  |  |  Branch (924:16): [True: 749, False: 716]
  |  |  ------------------
  |  |  925|    749|            ch = *data;                                \
  |  |  926|    749|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  |  |  ------------------
  |  |  |  |  899|    749|#define BLOOM_WIDTH 64
  |  |  ------------------
  |  |  927|    749|        }                                              \
  |  |  928|    716|        break;                                         \
  |  |  929|    716|    } while (0)
  |  |  ------------------
  |  |  |  Branch (929:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  939|    716|        break;
  940|      2|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (940:5): [True: 2, False: 716]
  ------------------
  941|      2|        BLOOM_UPDATE(Py_UCS2, mask, ptr, len);
  ------------------
  |  |  920|      2|    do {                                               \
  |  |  921|      2|        TYPE *data = (TYPE *)PTR;                      \
  |  |  922|      2|        TYPE *end = data + LEN;                        \
  |  |  923|      2|        Py_UCS4 ch;                                    \
  |  |  924|     18|        for (; data != end; data++) {                  \
  |  |  ------------------
  |  |  |  Branch (924:16): [True: 16, False: 2]
  |  |  ------------------
  |  |  925|     16|            ch = *data;                                \
  |  |  926|     16|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  |  |  ------------------
  |  |  |  |  899|     16|#define BLOOM_WIDTH 64
  |  |  ------------------
  |  |  927|     16|        }                                              \
  |  |  928|      2|        break;                                         \
  |  |  929|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (929:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  942|      2|        break;
  943|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (943:5): [True: 0, False: 718]
  ------------------
  944|      0|        BLOOM_UPDATE(Py_UCS4, mask, ptr, len);
  ------------------
  |  |  920|      0|    do {                                               \
  |  |  921|      0|        TYPE *data = (TYPE *)PTR;                      \
  |  |  922|      0|        TYPE *end = data + LEN;                        \
  |  |  923|      0|        Py_UCS4 ch;                                    \
  |  |  924|      0|        for (; data != end; data++) {                  \
  |  |  ------------------
  |  |  |  Branch (924:16): [True: 0, False: 0]
  |  |  ------------------
  |  |  925|      0|            ch = *data;                                \
  |  |  926|      0|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  |  |  ------------------
  |  |  |  |  899|      0|#define BLOOM_WIDTH 64
  |  |  ------------------
  |  |  927|      0|        }                                              \
  |  |  928|      0|        break;                                         \
  |  |  929|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (929:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  945|      0|        break;
  946|      0|    default:
  ------------------
  |  Branch (946:5): [True: 0, False: 718]
  ------------------
  947|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  948|    718|    }
  949|    718|    return mask;
  950|       |
  951|    718|#undef BLOOM_UPDATE
  952|    718|}
unicodeobject.c:unicode_result_unchanged:
  742|    751|{
  743|    751|    if (PyUnicode_CheckExact(unicode)) {
  ------------------
  |  |  104|    751|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    751|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    751|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    751|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 751, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  744|    751|        return Py_NewRef(unicode);
  ------------------
  |  |  647|    751|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    751|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    751|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  745|    751|    }
  746|      0|    else
  747|       |        /* Subtype -- return genuine unicode string with the same value. */
  748|      0|        return _PyUnicode_Copy(unicode);
  749|    751|}
unicodeobject.c:replace:
10983|     27|{
10984|     27|    PyObject *u;
10985|     27|    const char *sbuf = PyUnicode_DATA(self);
  ------------------
  |  |  285|     27|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10986|     27|    const void *buf1 = PyUnicode_DATA(str1);
  ------------------
  |  |  285|     27|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10987|     27|    const void *buf2 = PyUnicode_DATA(str2);
  ------------------
  |  |  285|     27|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10988|     27|    int srelease = 0, release1 = 0, release2 = 0;
10989|     27|    int skind = PyUnicode_KIND(self);
  ------------------
  |  |  259|     27|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     54|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 27, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10990|     27|    int kind1 = PyUnicode_KIND(str1);
  ------------------
  |  |  259|     27|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     54|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 27, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10991|     27|    int kind2 = PyUnicode_KIND(str2);
  ------------------
  |  |  259|     27|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     54|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 27, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10992|     27|    Py_ssize_t slen = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|     27|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10993|     27|    Py_ssize_t len1 = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  300|     27|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10994|     27|    Py_ssize_t len2 = PyUnicode_GET_LENGTH(str2);
  ------------------
  |  |  300|     27|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10995|     27|    int mayshrink;
10996|     27|    Py_UCS4 maxchar, maxchar_str1, maxchar_str2;
10997|       |
10998|     27|    if (slen < len1)
  ------------------
  |  Branch (10998:9): [True: 0, False: 27]
  ------------------
10999|      0|        goto nothing;
11000|       |
11001|     27|    if (maxcount < 0)
  ------------------
  |  Branch (11001:9): [True: 27, False: 0]
  ------------------
11002|     27|        maxcount = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|     27|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
11003|      0|    else if (maxcount == 0)
  ------------------
  |  Branch (11003:14): [True: 0, False: 0]
  ------------------
11004|      0|        goto nothing;
11005|       |
11006|     27|    if (str1 == str2)
  ------------------
  |  Branch (11006:9): [True: 0, False: 27]
  ------------------
11007|      0|        goto nothing;
11008|       |
11009|     27|    maxchar = PyUnicode_MAX_CHAR_VALUE(self);
  ------------------
  |  |  406|     27|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11010|     27|    maxchar_str1 = PyUnicode_MAX_CHAR_VALUE(str1);
  ------------------
  |  |  406|     27|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11011|     27|    if (maxchar < maxchar_str1)
  ------------------
  |  Branch (11011:9): [True: 0, False: 27]
  ------------------
11012|       |        /* substring too wide to be present */
11013|      0|        goto nothing;
11014|     27|    maxchar_str2 = PyUnicode_MAX_CHAR_VALUE(str2);
  ------------------
  |  |  406|     27|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11015|       |    /* Replacing str1 with str2 may cause a maxchar reduction in the
11016|       |       result string. */
11017|     27|    mayshrink = (maxchar_str2 < maxchar_str1) && (maxchar == maxchar_str1);
  ------------------
  |  Branch (11017:17): [True: 0, False: 27]
  |  Branch (11017:50): [True: 0, False: 0]
  ------------------
11018|     27|    maxchar = Py_MAX(maxchar, maxchar_str2);
  ------------------
  |  |  133|     27|       __extension__ \
  |  |  134|     27|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|     27|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|     27|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|     27|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|     27|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 27]
  |  |  ------------------
  ------------------
11019|       |
11020|     27|    if (len1 == len2) {
  ------------------
  |  Branch (11020:9): [True: 27, False: 0]
  ------------------
11021|       |        /* same length */
11022|     27|        if (len1 == 0)
  ------------------
  |  Branch (11022:13): [True: 0, False: 27]
  ------------------
11023|      0|            goto nothing;
11024|     27|        if (len1 == 1) {
  ------------------
  |  Branch (11024:13): [True: 27, False: 0]
  ------------------
11025|       |            /* replace characters */
11026|     27|            Py_UCS4 u1, u2;
11027|     27|            Py_ssize_t pos;
11028|       |
11029|     27|            u1 = PyUnicode_READ(kind1, buf1, 0);
  ------------------
  |  |  355|     27|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     27|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     27|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     27|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|     27|                   (index))
  ------------------
11030|     27|            pos = findchar(sbuf, skind, slen, u1, 1);
11031|     27|            if (pos < 0)
  ------------------
  |  Branch (11031:17): [True: 25, False: 2]
  ------------------
11032|     25|                goto nothing;
11033|      2|            u2 = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  355|      2|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      2|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      2|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      2|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      2|                   (index))
  ------------------
11034|      2|            u = PyUnicode_New(slen, maxchar);
11035|      2|            if (!u)
  ------------------
  |  Branch (11035:17): [True: 0, False: 2]
  ------------------
11036|      0|                goto error;
11037|       |
11038|      2|            _PyUnicode_FastCopyCharacters(u, 0, self, 0, slen);
11039|      2|            replace_1char_inplace(u, pos, u1, u2, maxcount);
11040|      2|        }
11041|      0|        else {
11042|      0|            int rkind = skind;
11043|      0|            char *res;
11044|      0|            Py_ssize_t i;
11045|       |
11046|      0|            if (kind1 < rkind) {
  ------------------
  |  Branch (11046:17): [True: 0, False: 0]
  ------------------
11047|       |                /* widen substring */
11048|      0|                buf1 = unicode_askind(kind1, buf1, len1, rkind);
11049|      0|                if (!buf1) goto error;
  ------------------
  |  Branch (11049:21): [True: 0, False: 0]
  ------------------
11050|      0|                release1 = 1;
11051|      0|            }
11052|      0|            i = anylib_find(rkind, self, sbuf, slen, str1, buf1, len1, 0);
11053|      0|            if (i < 0)
  ------------------
  |  Branch (11053:17): [True: 0, False: 0]
  ------------------
11054|      0|                goto nothing;
11055|      0|            if (rkind > kind2) {
  ------------------
  |  Branch (11055:17): [True: 0, False: 0]
  ------------------
11056|       |                /* widen replacement */
11057|      0|                buf2 = unicode_askind(kind2, buf2, len2, rkind);
11058|      0|                if (!buf2) goto error;
  ------------------
  |  Branch (11058:21): [True: 0, False: 0]
  ------------------
11059|      0|                release2 = 1;
11060|      0|            }
11061|      0|            else if (rkind < kind2) {
  ------------------
  |  Branch (11061:22): [True: 0, False: 0]
  ------------------
11062|       |                /* widen self and buf1 */
11063|      0|                rkind = kind2;
11064|      0|                if (release1) {
  ------------------
  |  Branch (11064:21): [True: 0, False: 0]
  ------------------
11065|      0|                    assert(buf1 != PyUnicode_DATA(str1));
  ------------------
  |  Branch (11065:21): [True: 0, False: 0]
  ------------------
11066|      0|                    PyMem_Free((void *)buf1);
11067|      0|                    buf1 = PyUnicode_DATA(str1);
  ------------------
  |  |  285|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11068|      0|                    release1 = 0;
11069|      0|                }
11070|      0|                sbuf = unicode_askind(skind, sbuf, slen, rkind);
11071|      0|                if (!sbuf) goto error;
  ------------------
  |  Branch (11071:21): [True: 0, False: 0]
  ------------------
11072|      0|                srelease = 1;
11073|      0|                buf1 = unicode_askind(kind1, buf1, len1, rkind);
11074|      0|                if (!buf1) goto error;
  ------------------
  |  Branch (11074:21): [True: 0, False: 0]
  ------------------
11075|      0|                release1 = 1;
11076|      0|            }
11077|      0|            u = PyUnicode_New(slen, maxchar);
11078|      0|            if (!u)
  ------------------
  |  Branch (11078:17): [True: 0, False: 0]
  ------------------
11079|      0|                goto error;
11080|      0|            assert(PyUnicode_KIND(u) == rkind);
  ------------------
  |  Branch (11080:13): [True: 0, False: 0]
  |  Branch (11080:13): [True: 0, False: 0]
  ------------------
11081|      0|            res = PyUnicode_DATA(u);
  ------------------
  |  |  285|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11082|       |
11083|      0|            memcpy(res, sbuf, rkind * slen);
11084|       |            /* change everything in-place, starting with this one */
11085|      0|            memcpy(res + rkind * i,
11086|      0|                   buf2,
11087|      0|                   rkind * len2);
11088|      0|            i += len1;
11089|       |
11090|      0|            while ( --maxcount > 0) {
  ------------------
  |  Branch (11090:21): [True: 0, False: 0]
  ------------------
11091|      0|                i = anylib_find(rkind, self,
11092|      0|                                sbuf+rkind*i, slen-i,
11093|      0|                                str1, buf1, len1, i);
11094|      0|                if (i == -1)
  ------------------
  |  Branch (11094:21): [True: 0, False: 0]
  ------------------
11095|      0|                    break;
11096|      0|                memcpy(res + rkind * i,
11097|      0|                       buf2,
11098|      0|                       rkind * len2);
11099|      0|                i += len1;
11100|      0|            }
11101|      0|        }
11102|     27|    }
11103|      0|    else {
11104|      0|        Py_ssize_t n, i, j, ires;
11105|      0|        Py_ssize_t new_size;
11106|      0|        int rkind = skind;
11107|      0|        char *res;
11108|       |
11109|      0|        if (kind1 < rkind) {
  ------------------
  |  Branch (11109:13): [True: 0, False: 0]
  ------------------
11110|       |            /* widen substring */
11111|      0|            buf1 = unicode_askind(kind1, buf1, len1, rkind);
11112|      0|            if (!buf1) goto error;
  ------------------
  |  Branch (11112:17): [True: 0, False: 0]
  ------------------
11113|      0|            release1 = 1;
11114|      0|        }
11115|      0|        n = anylib_count(rkind, self, sbuf, slen, str1, buf1, len1, maxcount);
11116|      0|        if (n == 0)
  ------------------
  |  Branch (11116:13): [True: 0, False: 0]
  ------------------
11117|      0|            goto nothing;
11118|      0|        if (kind2 < rkind) {
  ------------------
  |  Branch (11118:13): [True: 0, False: 0]
  ------------------
11119|       |            /* widen replacement */
11120|      0|            buf2 = unicode_askind(kind2, buf2, len2, rkind);
11121|      0|            if (!buf2) goto error;
  ------------------
  |  Branch (11121:17): [True: 0, False: 0]
  ------------------
11122|      0|            release2 = 1;
11123|      0|        }
11124|      0|        else if (kind2 > rkind) {
  ------------------
  |  Branch (11124:18): [True: 0, False: 0]
  ------------------
11125|       |            /* widen self and buf1 */
11126|      0|            rkind = kind2;
11127|      0|            sbuf = unicode_askind(skind, sbuf, slen, rkind);
11128|      0|            if (!sbuf) goto error;
  ------------------
  |  Branch (11128:17): [True: 0, False: 0]
  ------------------
11129|      0|            srelease = 1;
11130|      0|            if (release1) {
  ------------------
  |  Branch (11130:17): [True: 0, False: 0]
  ------------------
11131|      0|                assert(buf1 != PyUnicode_DATA(str1));
  ------------------
  |  Branch (11131:17): [True: 0, False: 0]
  ------------------
11132|      0|                PyMem_Free((void *)buf1);
11133|      0|                buf1 = PyUnicode_DATA(str1);
  ------------------
  |  |  285|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11134|      0|                release1 = 0;
11135|      0|            }
11136|      0|            buf1 = unicode_askind(kind1, buf1, len1, rkind);
11137|      0|            if (!buf1) goto error;
  ------------------
  |  Branch (11137:17): [True: 0, False: 0]
  ------------------
11138|      0|            release1 = 1;
11139|      0|        }
11140|       |        /* new_size = PyUnicode_GET_LENGTH(self) + n * (PyUnicode_GET_LENGTH(str2) -
11141|       |           PyUnicode_GET_LENGTH(str1)); */
11142|      0|        if (len1 < len2 && len2 - len1 > (PY_SSIZE_T_MAX - slen) / n) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11142:13): [True: 0, False: 0]
  |  Branch (11142:28): [True: 0, False: 0]
  ------------------
11143|      0|                PyErr_SetString(PyExc_OverflowError,
11144|      0|                                "replace string is too long");
11145|      0|                goto error;
11146|      0|        }
11147|      0|        new_size = slen + n * (len2 - len1);
11148|      0|        if (new_size == 0) {
  ------------------
  |  Branch (11148:13): [True: 0, False: 0]
  ------------------
11149|      0|            u = _PyUnicode_GetEmpty();
11150|      0|            goto done;
11151|      0|        }
11152|      0|        if (new_size > (PY_SSIZE_T_MAX / rkind)) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11152:13): [True: 0, False: 0]
  ------------------
11153|      0|            PyErr_SetString(PyExc_OverflowError,
11154|      0|                            "replace string is too long");
11155|      0|            goto error;
11156|      0|        }
11157|      0|        u = PyUnicode_New(new_size, maxchar);
11158|      0|        if (!u)
  ------------------
  |  Branch (11158:13): [True: 0, False: 0]
  ------------------
11159|      0|            goto error;
11160|      0|        assert(PyUnicode_KIND(u) == rkind);
  ------------------
  |  Branch (11160:9): [True: 0, False: 0]
  |  Branch (11160:9): [True: 0, False: 0]
  ------------------
11161|      0|        res = PyUnicode_DATA(u);
  ------------------
  |  |  285|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11162|      0|        ires = i = 0;
11163|      0|        if (len1 > 0) {
  ------------------
  |  Branch (11163:13): [True: 0, False: 0]
  ------------------
11164|      0|            while (n-- > 0) {
  ------------------
  |  Branch (11164:20): [True: 0, False: 0]
  ------------------
11165|       |                /* look for next match */
11166|      0|                j = anylib_find(rkind, self,
11167|      0|                                sbuf + rkind * i, slen-i,
11168|      0|                                str1, buf1, len1, i);
11169|      0|                if (j == -1)
  ------------------
  |  Branch (11169:21): [True: 0, False: 0]
  ------------------
11170|      0|                    break;
11171|      0|                else if (j > i) {
  ------------------
  |  Branch (11171:26): [True: 0, False: 0]
  ------------------
11172|       |                    /* copy unchanged part [i:j] */
11173|      0|                    memcpy(res + rkind * ires,
11174|      0|                           sbuf + rkind * i,
11175|      0|                           rkind * (j-i));
11176|      0|                    ires += j - i;
11177|      0|                }
11178|       |                /* copy substitution string */
11179|      0|                if (len2 > 0) {
  ------------------
  |  Branch (11179:21): [True: 0, False: 0]
  ------------------
11180|      0|                    memcpy(res + rkind * ires,
11181|      0|                           buf2,
11182|      0|                           rkind * len2);
11183|      0|                    ires += len2;
11184|      0|                }
11185|      0|                i = j + len1;
11186|      0|            }
11187|      0|            if (i < slen)
  ------------------
  |  Branch (11187:17): [True: 0, False: 0]
  ------------------
11188|       |                /* copy tail [i:] */
11189|      0|                memcpy(res + rkind * ires,
11190|      0|                       sbuf + rkind * i,
11191|      0|                       rkind * (slen-i));
11192|      0|        }
11193|      0|        else {
11194|       |            /* interleave */
11195|      0|            while (n > 0) {
  ------------------
  |  Branch (11195:20): [True: 0, False: 0]
  ------------------
11196|      0|                memcpy(res + rkind * ires,
11197|      0|                       buf2,
11198|      0|                       rkind * len2);
11199|      0|                ires += len2;
11200|      0|                if (--n <= 0)
  ------------------
  |  Branch (11200:21): [True: 0, False: 0]
  ------------------
11201|      0|                    break;
11202|      0|                memcpy(res + rkind * ires,
11203|      0|                       sbuf + rkind * i,
11204|      0|                       rkind);
11205|      0|                ires++;
11206|      0|                i++;
11207|      0|            }
11208|      0|            memcpy(res + rkind * ires,
11209|      0|                   sbuf + rkind * i,
11210|      0|                   rkind * (slen-i));
11211|      0|        }
11212|      0|    }
11213|       |
11214|      2|    if (mayshrink) {
  ------------------
  |  Branch (11214:9): [True: 0, False: 2]
  ------------------
11215|      0|        unicode_adjust_maxchar(&u);
11216|      0|        if (u == NULL)
  ------------------
  |  Branch (11216:13): [True: 0, False: 0]
  ------------------
11217|      0|            goto error;
11218|      0|    }
11219|       |
11220|      2|  done:
11221|      2|    assert(srelease == (sbuf != NULL && sbuf != PyUnicode_DATA(self)));
  ------------------
  |  Branch (11221:5): [True: 2, False: 0]
  |  Branch (11221:5): [True: 0, False: 2]
  |  Branch (11221:5): [True: 2, False: 0]
  ------------------
11222|      2|    assert(release1 == (buf1 != NULL && buf1 != PyUnicode_DATA(str1)));
  ------------------
  |  Branch (11222:5): [True: 2, False: 0]
  |  Branch (11222:5): [True: 0, False: 2]
  |  Branch (11222:5): [True: 2, False: 0]
  ------------------
11223|      2|    assert(release2 == (buf2 != NULL && buf2 != PyUnicode_DATA(str2)));
  ------------------
  |  Branch (11223:5): [True: 2, False: 0]
  |  Branch (11223:5): [True: 0, False: 2]
  |  Branch (11223:5): [True: 2, False: 0]
  ------------------
11224|      2|    if (srelease)
  ------------------
  |  Branch (11224:9): [True: 0, False: 2]
  ------------------
11225|      0|        PyMem_Free((void *)sbuf);
11226|      2|    if (release1)
  ------------------
  |  Branch (11226:9): [True: 0, False: 2]
  ------------------
11227|      0|        PyMem_Free((void *)buf1);
11228|      2|    if (release2)
  ------------------
  |  Branch (11228:9): [True: 0, False: 2]
  ------------------
11229|      0|        PyMem_Free((void *)buf2);
11230|      2|    assert(_PyUnicode_CheckConsistency(u, 1));
  ------------------
  |  Branch (11230:5): [True: 2, False: 0]
  ------------------
11231|      2|    return u;
11232|       |
11233|     25|  nothing:
11234|       |    /* nothing to replace; return original string (when possible) */
11235|     25|    assert(srelease == (sbuf != NULL && sbuf != PyUnicode_DATA(self)));
  ------------------
  |  Branch (11235:5): [True: 25, False: 0]
  |  Branch (11235:5): [True: 0, False: 25]
  |  Branch (11235:5): [True: 25, False: 0]
  ------------------
11236|     25|    assert(release1 == (buf1 != NULL && buf1 != PyUnicode_DATA(str1)));
  ------------------
  |  Branch (11236:5): [True: 25, False: 0]
  |  Branch (11236:5): [True: 0, False: 25]
  |  Branch (11236:5): [True: 25, False: 0]
  ------------------
11237|     25|    assert(release2 == (buf2 != NULL && buf2 != PyUnicode_DATA(str2)));
  ------------------
  |  Branch (11237:5): [True: 25, False: 0]
  |  Branch (11237:5): [True: 0, False: 25]
  |  Branch (11237:5): [True: 25, False: 0]
  ------------------
11238|     25|    if (srelease)
  ------------------
  |  Branch (11238:9): [True: 0, False: 25]
  ------------------
11239|      0|        PyMem_Free((void *)sbuf);
11240|     25|    if (release1)
  ------------------
  |  Branch (11240:9): [True: 0, False: 25]
  ------------------
11241|      0|        PyMem_Free((void *)buf1);
11242|     25|    if (release2)
  ------------------
  |  Branch (11242:9): [True: 0, False: 25]
  ------------------
11243|      0|        PyMem_Free((void *)buf2);
11244|     25|    return unicode_result_unchanged(self);
11245|       |
11246|      0|  error:
11247|      0|    assert(srelease == (sbuf != NULL && sbuf != PyUnicode_DATA(self)));
  ------------------
  |  Branch (11247:5): [True: 0, False: 0]
  |  Branch (11247:5): [True: 0, False: 0]
  |  Branch (11247:5): [True: 0, False: 0]
  ------------------
11248|      0|    assert(release1 == (buf1 != NULL && buf1 != PyUnicode_DATA(str1)));
  ------------------
  |  Branch (11248:5): [True: 0, False: 0]
  |  Branch (11248:5): [True: 0, False: 0]
  |  Branch (11248:5): [True: 0, False: 0]
  ------------------
11249|      0|    assert(release2 == (buf2 != NULL && buf2 != PyUnicode_DATA(str2)));
  ------------------
  |  Branch (11249:5): [True: 0, False: 0]
  |  Branch (11249:5): [True: 0, False: 0]
  |  Branch (11249:5): [True: 0, False: 0]
  ------------------
11250|      0|    if (srelease)
  ------------------
  |  Branch (11250:9): [True: 0, False: 0]
  ------------------
11251|      0|        PyMem_Free((void *)sbuf);
11252|      0|    if (release1)
  ------------------
  |  Branch (11252:9): [True: 0, False: 0]
  ------------------
11253|      0|        PyMem_Free((void *)buf1);
11254|      0|    if (release2)
  ------------------
  |  Branch (11254:9): [True: 0, False: 0]
  ------------------
11255|      0|        PyMem_Free((void *)buf2);
11256|       |    return NULL;
11257|      0|}
unicodeobject.c:replace_1char_inplace:
10958|      2|{
10959|      2|    int kind = PyUnicode_KIND(u);
  ------------------
  |  |  259|      2|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10960|      2|    void *data = PyUnicode_DATA(u);
  ------------------
  |  |  285|      2|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10961|      2|    Py_ssize_t len = PyUnicode_GET_LENGTH(u);
  ------------------
  |  |  300|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10962|      2|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (10962:9): [True: 2, False: 0]
  ------------------
10963|      2|        ucs1lib_replace_1char_inplace((Py_UCS1 *)data + pos,
10964|      2|                                      (Py_UCS1 *)data + len,
10965|      2|                                      u1, u2, maxcount);
10966|      2|    }
10967|      0|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (10967:14): [True: 0, False: 0]
  ------------------
10968|      0|        ucs2lib_replace_1char_inplace((Py_UCS2 *)data + pos,
10969|      0|                                      (Py_UCS2 *)data + len,
10970|      0|                                      u1, u2, maxcount);
10971|      0|    }
10972|      0|    else {
10973|      0|        assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (10973:9): [True: 0, False: 0]
  ------------------
10974|      0|        ucs4lib_replace_1char_inplace((Py_UCS4 *)data + pos,
10975|      0|                                      (Py_UCS4 *)data + len,
10976|      0|                                      u1, u2, maxcount);
10977|      0|    }
10978|      2|}
unicodeobject.c:split:
10742|     82|{
10743|     82|    int kind1, kind2;
10744|     82|    const void *buf1, *buf2;
10745|     82|    Py_ssize_t len1, len2;
10746|     82|    PyObject* out;
10747|     82|    len1 = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|     82|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10748|     82|    kind1 = PyUnicode_KIND(self);
  ------------------
  |  |  259|     82|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    164|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 82, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10749|       |
10750|     82|    if (substring == NULL) {
  ------------------
  |  Branch (10750:9): [True: 1, False: 81]
  ------------------
10751|      1|        if (maxcount < 0) {
  ------------------
  |  Branch (10751:13): [True: 1, False: 0]
  ------------------
10752|      1|            maxcount = (len1 - 1) / 2 + 1;
10753|      1|        }
10754|      1|        switch (kind1) {
10755|      1|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10755:9): [True: 1, False: 0]
  ------------------
10756|      1|            if (PyUnicode_IS_ASCII(self))
  ------------------
  |  |  228|      1|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 1, False: 0]
  |  |  ------------------
  ------------------
10757|      1|                return asciilib_split_whitespace(
10758|      1|                    self,  PyUnicode_1BYTE_DATA(self),
  ------------------
  |  |  292|      1|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      1|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10759|      1|                    len1, maxcount
10760|      1|                    );
10761|      0|            else
10762|      0|                return ucs1lib_split_whitespace(
10763|      0|                    self,  PyUnicode_1BYTE_DATA(self),
  ------------------
  |  |  292|      0|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10764|      0|                    len1, maxcount
10765|      0|                    );
10766|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10766:9): [True: 0, False: 1]
  ------------------
10767|      0|            return ucs2lib_split_whitespace(
10768|      0|                self,  PyUnicode_2BYTE_DATA(self),
  ------------------
  |  |  293|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10769|      0|                len1, maxcount
10770|      0|                );
10771|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10771:9): [True: 0, False: 1]
  ------------------
10772|      0|            return ucs4lib_split_whitespace(
10773|      0|                self,  PyUnicode_4BYTE_DATA(self),
  ------------------
  |  |  294|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10774|      0|                len1, maxcount
10775|      0|                );
10776|      0|        default:
  ------------------
  |  Branch (10776:9): [True: 0, False: 1]
  ------------------
10777|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10778|      1|        }
10779|      1|    }
10780|       |
10781|     81|    kind2 = PyUnicode_KIND(substring);
  ------------------
  |  |  259|     81|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    162|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 81, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10782|     81|    len2 = PyUnicode_GET_LENGTH(substring);
  ------------------
  |  |  300|     81|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10783|     81|    if (maxcount < 0) {
  ------------------
  |  Branch (10783:9): [True: 81, False: 0]
  ------------------
10784|       |        // if len2 == 0, it will raise ValueError.
10785|     81|        maxcount = len2 == 0 ? 0 : (len1 / len2) + 1;
  ------------------
  |  Branch (10785:20): [True: 0, False: 81]
  ------------------
10786|       |        // handle expected overflow case: (Py_SSIZE_T_MAX / 1) + 1
10787|     81|        maxcount = maxcount < 0 ? len1 : maxcount;
  ------------------
  |  Branch (10787:20): [True: 0, False: 81]
  ------------------
10788|     81|    }
10789|     81|    if (kind1 < kind2 || len1 < len2) {
  ------------------
  |  Branch (10789:9): [True: 0, False: 81]
  |  Branch (10789:26): [True: 0, False: 81]
  ------------------
10790|      0|        out = PyList_New(1);
10791|      0|        if (out == NULL)
  ------------------
  |  Branch (10791:13): [True: 0, False: 0]
  ------------------
10792|      0|            return NULL;
10793|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10794|      0|        return out;
10795|      0|    }
10796|     81|    buf1 = PyUnicode_DATA(self);
  ------------------
  |  |  285|     81|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10797|     81|    buf2 = PyUnicode_DATA(substring);
  ------------------
  |  |  285|     81|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10798|     81|    if (kind2 != kind1) {
  ------------------
  |  Branch (10798:9): [True: 0, False: 81]
  ------------------
10799|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
10800|      0|        if (!buf2)
  ------------------
  |  Branch (10800:13): [True: 0, False: 0]
  ------------------
10801|      0|            return NULL;
10802|      0|    }
10803|       |
10804|     81|    switch (kind1) {
10805|     81|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10805:5): [True: 81, False: 0]
  ------------------
10806|     81|        if (PyUnicode_IS_ASCII(self) && PyUnicode_IS_ASCII(substring))
  ------------------
  |  |  228|    162|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 81, False: 0]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(self) && PyUnicode_IS_ASCII(substring))
  ------------------
  |  |  228|     81|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 81, False: 0]
  |  |  ------------------
  ------------------
10807|     81|            out = asciilib_split(
10808|     81|                self,  buf1, len1, buf2, len2, maxcount);
10809|      0|        else
10810|      0|            out = ucs1lib_split(
10811|      0|                self,  buf1, len1, buf2, len2, maxcount);
10812|     81|        break;
10813|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10813:5): [True: 0, False: 81]
  ------------------
10814|      0|        out = ucs2lib_split(
10815|      0|            self,  buf1, len1, buf2, len2, maxcount);
10816|      0|        break;
10817|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10817:5): [True: 0, False: 81]
  ------------------
10818|      0|        out = ucs4lib_split(
10819|      0|            self,  buf1, len1, buf2, len2, maxcount);
10820|      0|        break;
10821|      0|    default:
  ------------------
  |  Branch (10821:5): [True: 0, False: 81]
  ------------------
10822|      0|        out = NULL;
10823|     81|    }
10824|     81|    assert((kind2 != kind1) == (buf2 != PyUnicode_DATA(substring)));
  ------------------
  |  Branch (10824:5): [True: 81, False: 0]
  ------------------
10825|     81|    if (kind2 != kind1)
  ------------------
  |  Branch (10825:9): [True: 0, False: 81]
  ------------------
10826|      0|        PyMem_Free((void *)buf2);
10827|     81|    return out;
10828|     81|}
unicodeobject.c:unicode_dealloc:
 1634|   224k|{
 1635|       |#ifdef Py_DEBUG
 1636|       |    if (!unicode_is_finalizing() && unicode_is_singleton(unicode)) {
 1637|       |        _Py_FatalRefcountError("deallocating an Unicode singleton");
 1638|       |    }
 1639|       |#endif
 1640|   448k|    if (_PyUnicode_STATE(unicode).statically_allocated) {
  ------------------
  |  |  152|   224k|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|   224k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|   224k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   224k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1640:9): [True: 224k, False: 0]
  |  Branch (1640:9): [True: 0, False: 224k]
  ------------------
 1641|       |        /* This should never get called, but we also don't want to SEGV if
 1642|       |        * we accidentally decref an immortal string out of existence. Since
 1643|       |        * the string is an immortal object, just re-set the reference count.
 1644|       |        */
 1645|       |#ifdef Py_DEBUG
 1646|       |        Py_UNREACHABLE();
 1647|       |#endif
 1648|      0|        _Py_SetImmortal(unicode);
 1649|      0|        return;
 1650|      0|    }
 1651|   224k|    switch (_PyUnicode_STATE(unicode).interned) {
  ------------------
  |  |  152|   224k|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|   224k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|   224k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   224k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1651:13): [True: 224k, False: 0]
  ------------------
 1652|   224k|        case SSTATE_NOT_INTERNED:
  ------------------
  |  |  202|   224k|#define SSTATE_NOT_INTERNED 0
  ------------------
  |  Branch (1652:9): [True: 224k, False: 20]
  ------------------
 1653|   224k|            break;
 1654|     20|        case SSTATE_INTERNED_MORTAL:
  ------------------
  |  |  203|     20|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (1654:9): [True: 20, False: 224k]
  ------------------
 1655|       |            /* Remove the object from the intern dict.
 1656|       |             * Before doing so, we set the refcount to 2: the key and value
 1657|       |             * in the interned_dict.
 1658|       |             */
 1659|     20|            assert(Py_REFCNT(unicode) == 0);
  ------------------
  |  Branch (1659:13): [True: 20, False: 0]
  ------------------
 1660|     20|            Py_SET_REFCNT(unicode, 2);
  ------------------
  |  |  201|     20|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1661|       |#ifdef Py_REF_DEBUG
 1662|       |            /* let's be pedantic with the ref total */
 1663|       |            _Py_IncRefTotal(_PyThreadState_GET());
 1664|       |            _Py_IncRefTotal(_PyThreadState_GET());
 1665|       |#endif
 1666|     20|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1667|     20|            PyObject *interned = get_interned_dict(interp);
 1668|     20|            assert(interned != NULL);
  ------------------
  |  Branch (1668:13): [True: 20, False: 0]
  ------------------
 1669|     20|            PyObject *popped;
 1670|     20|            int r = PyDict_Pop(interned, unicode, &popped);
 1671|     20|            if (r == -1) {
  ------------------
  |  Branch (1671:17): [True: 0, False: 20]
  ------------------
 1672|      0|                PyErr_FormatUnraisable("Exception ignored while "
 1673|      0|                                       "removing an interned string %R",
 1674|      0|                                       unicode);
 1675|       |                // We don't know what happened to the string. It's probably
 1676|       |                // best to leak it:
 1677|       |                // - if it was popped, there are no more references to it
 1678|       |                //   so it can't cause trouble (except wasted memory)
 1679|       |                // - if it wasn't popped, it'll remain interned
 1680|      0|                _Py_SetImmortal(unicode);
 1681|      0|                _PyUnicode_STATE(unicode).interned = SSTATE_INTERNED_IMMORTAL;
  ------------------
  |  |  152|      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;
  ------------------
  |  |  204|      0|#define SSTATE_INTERNED_IMMORTAL 2
  ------------------
  |  Branch (1681:17): [True: 0, False: 0]
  ------------------
 1682|      0|                return;
 1683|      0|            }
 1684|     20|            if (r == 0) {
  ------------------
  |  Branch (1684:17): [True: 0, False: 20]
  ------------------
 1685|       |                // The interned string was not found in the interned_dict.
 1686|       |#ifdef Py_DEBUG
 1687|       |                Py_UNREACHABLE();
 1688|       |#endif
 1689|      0|                _Py_SetImmortal(unicode);
 1690|      0|                return;
 1691|      0|            }
 1692|       |            // Successfully popped.
 1693|     20|            assert(popped == unicode);
  ------------------
  |  Branch (1693:13): [True: 20, False: 0]
  ------------------
 1694|       |            // Only our `popped` reference should be left; remove it too.
 1695|     20|            assert(Py_REFCNT(unicode) == 1);
  ------------------
  |  Branch (1695:13): [True: 20, False: 0]
  ------------------
 1696|     20|            Py_SET_REFCNT(unicode, 0);
  ------------------
  |  |  201|     20|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1697|       |#ifdef Py_REF_DEBUG
 1698|       |            /* let's be pedantic with the ref total */
 1699|       |            _Py_DecRefTotal(_PyThreadState_GET());
 1700|       |#endif
 1701|     20|            break;
 1702|      0|        default:
  ------------------
  |  Branch (1702:9): [True: 0, False: 224k]
  ------------------
 1703|       |            // As with `statically_allocated` above.
 1704|       |#ifdef Py_REF_DEBUG
 1705|       |            Py_UNREACHABLE();
 1706|       |#endif
 1707|      0|            _Py_SetImmortal(unicode);
 1708|      0|            return;
 1709|   224k|    }
 1710|   224k|    if (_PyUnicode_HAS_UTF8_MEMORY(unicode)) {
  ------------------
  |  Branch (1710:9): [True: 47, False: 224k]
  ------------------
 1711|     47|        PyMem_Free(_PyUnicode_UTF8(unicode));
 1712|     47|    }
 1713|   224k|    if (!PyUnicode_IS_COMPACT(unicode) && _PyUnicode_DATA_ANY(unicode)) {
  ------------------
  |  |  235|   448k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   224k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   224k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyUnicode_IS_COMPACT(unicode) && _PyUnicode_DATA_ANY(unicode)) {
  ------------------
  |  |  164|      0|    (_PyUnicodeObject_CAST(op)->data.any)
  |  |  ------------------
  |  |  |  |  193|      0|    (assert(!_PyASCIIObject_CAST(op)->state.compact), \
  |  |  |  |  194|      0|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (164:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1713:9): [True: 0, False: 224k]
  |  Branch (1713:43): [True: 0, False: 0]
  |  Branch (1713:43): [True: 0, False: 0]
  ------------------
 1714|      0|        PyMem_Free(_PyUnicode_DATA_ANY(unicode));
  ------------------
  |  |  164|      0|    (_PyUnicodeObject_CAST(op)->data.any)
  |  |  ------------------
  |  |  |  |  193|      0|    (assert(!_PyASCIIObject_CAST(op)->state.compact), \
  |  |  |  |  194|      0|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1714:20): [True: 0, False: 0]
  |  Branch (1714:20): [True: 0, False: 0]
  ------------------
 1715|      0|    }
 1716|       |
 1717|   224k|    Py_TYPE(unicode)->tp_free(unicode);
  ------------------
  |  |  213|   224k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   224k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   224k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1718|   224k|}
unicodeobject.c:unicode_repr:
13112|     28|{
13113|     28|    Py_ssize_t isize = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|     28|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13114|     28|    const void *idata = PyUnicode_DATA(unicode);
  ------------------
  |  |  285|     28|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13115|       |
13116|       |    /* Compute length of output, quote characters, and
13117|       |       maximum character */
13118|     28|    Py_ssize_t osize = 0;
13119|     28|    Py_UCS4 maxch = 127;
13120|     28|    Py_ssize_t squote = 0;
13121|     28|    Py_ssize_t dquote = 0;
13122|     28|    int ikind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|     28|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     56|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 28, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13123|  14.6M|    for (Py_ssize_t i = 0; i < isize; i++) {
  ------------------
  |  Branch (13123:28): [True: 14.6M, False: 28]
  ------------------
13124|  14.6M|        Py_UCS4 ch = PyUnicode_READ(ikind, idata, i);
  ------------------
  |  |  355|  14.6M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  14.6M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  14.6M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  14.6M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  14.6M|                   (index))
  ------------------
13125|  14.6M|        Py_ssize_t incr = 1;
13126|  14.6M|        switch (ch) {
13127|     88|        case '\'': squote++; break;
  ------------------
  |  Branch (13127:9): [True: 88, False: 14.6M]
  ------------------
13128|      0|        case '"':  dquote++; break;
  ------------------
  |  Branch (13128:9): [True: 0, False: 14.6M]
  ------------------
13129|  23.1k|        case '\\': case '\t': case '\r': case '\n':
  ------------------
  |  Branch (13129:9): [True: 23.1k, False: 14.6M]
  |  Branch (13129:20): [True: 0, False: 14.6M]
  |  Branch (13129:31): [True: 0, False: 14.6M]
  |  Branch (13129:42): [True: 0, False: 14.6M]
  ------------------
13130|  23.1k|            incr = 2;
13131|  23.1k|            break;
13132|  14.6M|        default:
  ------------------
  |  Branch (13132:9): [True: 14.6M, False: 23.2k]
  ------------------
13133|       |            /* Fast-path ASCII */
13134|  14.6M|            if (ch < ' ' || ch == 0x7f)
  ------------------
  |  Branch (13134:17): [True: 10.2M, False: 4.35M]
  |  Branch (13134:29): [True: 0, False: 4.35M]
  ------------------
13135|  10.2M|                incr = 4; /* \xHH */
13136|  4.35M|            else if (ch < 0x7f)
  ------------------
  |  Branch (13136:22): [True: 4.35M, False: 174]
  ------------------
13137|  4.35M|                ;
13138|    174|            else if (Py_UNICODE_ISPRINTABLE(ch))
  ------------------
  |  |  722|    174|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  ------------------
  |  |  |  Branch (722:36): [True: 141, False: 33]
  |  |  ------------------
  ------------------
13139|    141|                maxch = (ch > maxch) ? ch : maxch;
  ------------------
  |  Branch (13139:25): [True: 15, False: 126]
  ------------------
13140|     33|            else if (ch < 0x100)
  ------------------
  |  Branch (13140:22): [True: 0, False: 33]
  ------------------
13141|      0|                incr = 4; /* \xHH */
13142|     33|            else if (ch < 0x10000)
  ------------------
  |  Branch (13142:22): [True: 0, False: 33]
  ------------------
13143|      0|                incr = 6; /* \uHHHH */
13144|     33|            else
13145|     33|                incr = 10; /* \uHHHHHHHH */
13146|  14.6M|        }
13147|  14.6M|        if (osize > PY_SSIZE_T_MAX - incr) {
  ------------------
  |  |  137|  14.6M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (13147:13): [True: 0, False: 14.6M]
  ------------------
13148|      0|            PyErr_SetString(PyExc_OverflowError,
13149|      0|                            "string is too long to generate repr");
13150|      0|            return NULL;
13151|      0|        }
13152|  14.6M|        osize += incr;
13153|  14.6M|    }
13154|       |
13155|     28|    Py_UCS4 quote = '\'';
13156|     28|    int changed = (osize != isize);
13157|     28|    if (squote) {
  ------------------
  |  Branch (13157:9): [True: 8, False: 20]
  ------------------
13158|      8|        changed = 1;
13159|      8|        if (dquote)
  ------------------
  |  Branch (13159:13): [True: 0, False: 8]
  ------------------
13160|       |            /* Both squote and dquote present. Use squote,
13161|       |               and escape them */
13162|      0|            osize += squote;
13163|      8|        else
13164|      8|            quote = '"';
13165|      8|    }
13166|     28|    osize += 2;   /* quotes */
13167|       |
13168|     28|    PyObject *repr = PyUnicode_New(osize, maxch);
13169|     28|    if (repr == NULL)
  ------------------
  |  Branch (13169:9): [True: 0, False: 28]
  ------------------
13170|      0|        return NULL;
13171|     28|    int okind = PyUnicode_KIND(repr);
  ------------------
  |  |  259|     28|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     56|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 28, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13172|     28|    void *odata = PyUnicode_DATA(repr);
  ------------------
  |  |  285|     28|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13173|       |
13174|     28|    if (!changed) {
  ------------------
  |  Branch (13174:9): [True: 16, False: 12]
  ------------------
13175|     16|        PyUnicode_WRITE(okind, odata, 0, quote);
  ------------------
  |  |  336|     16|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|     16|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|     16|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|     16|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
13176|       |
13177|     16|        _PyUnicode_FastCopyCharacters(repr, 1,
13178|     16|                                      unicode, 0,
13179|     16|                                      isize);
13180|       |
13181|     16|        PyUnicode_WRITE(okind, odata, osize-1, quote);
  ------------------
  |  |  336|     16|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|     16|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|     16|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|     16|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
13182|     16|    }
13183|     12|    else {
13184|     12|        switch (okind) {
13185|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (13185:9): [True: 0, False: 12]
  ------------------
13186|      0|            ucs1lib_repr(unicode, quote, odata);
13187|      0|            break;
13188|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (13188:9): [True: 0, False: 12]
  ------------------
13189|      0|            ucs2lib_repr(unicode, quote, odata);
13190|      0|            break;
13191|     12|        default:
  ------------------
  |  Branch (13191:9): [True: 12, False: 0]
  ------------------
13192|     12|            assert(okind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (13192:13): [True: 12, False: 0]
  ------------------
13193|     12|            ucs4lib_repr(unicode, quote, odata);
13194|     12|        }
13195|     12|    }
13196|       |
13197|     28|    assert(_PyUnicode_CheckConsistency(repr, 1));
  ------------------
  |  Branch (13197:5): [True: 28, False: 0]
  ------------------
13198|     28|    return repr;
13199|     28|}
unicodeobject.c:unicode_mod:
14183|     21|{
14184|     21|    if (!PyUnicode_Check(v))
  ------------------
  |  |  103|     21|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     21|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (14184:9): [True: 0, False: 21]
  ------------------
14185|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
14186|     21|    return PyUnicode_Format(v, w);
14187|     21|}
unicodeobject.c:unicode_length:
12680|    582|{
12681|    582|    return PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|    582|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    582|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    582|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12682|    582|}
unicodeobject.c:unicode_getitem:
12112|    198|{
12113|    198|    const void *data;
12114|    198|    int kind;
12115|    198|    Py_UCS4 ch;
12116|       |
12117|    198|    if (!PyUnicode_Check(self)) {
  ------------------
  |  |  103|    198|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    198|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (12117:9): [True: 0, False: 198]
  ------------------
12118|      0|        PyErr_BadArgument();
12119|      0|        return NULL;
12120|      0|    }
12121|    198|    if (index < 0 || index >= PyUnicode_GET_LENGTH(self)) {
  ------------------
  |  |  300|    198|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    198|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    198|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12121:9): [True: 0, False: 198]
  |  Branch (12121:22): [True: 4, False: 194]
  ------------------
12122|      4|        PyErr_SetString(PyExc_IndexError, "string index out of range");
12123|      4|        return NULL;
12124|      4|    }
12125|    194|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  259|    194|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    388|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 194, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12126|    194|    data = PyUnicode_DATA(self);
  ------------------
  |  |  285|    194|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    194|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    194|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12127|    194|    ch = PyUnicode_READ(kind, data, index);
  ------------------
  |  |  355|    194|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    194|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    194|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    194|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|    194|                   (index))
  ------------------
12128|    194|    return unicode_char(ch);
12129|    194|}
unicodeobject.c:unicode_subscript:
14209|    288|{
14210|    288|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (14210:9): [True: 198, False: 90]
  ------------------
14211|    198|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
14212|    198|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (14212:13): [True: 98, False: 100]
  |  Branch (14212:24): [True: 0, False: 98]
  ------------------
14213|      0|            return NULL;
14214|    198|        if (i < 0)
  ------------------
  |  Branch (14214:13): [True: 186, False: 12]
  ------------------
14215|    186|            i += PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|    186|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    186|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    186|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14216|    198|        return unicode_getitem(self, i);
14217|    198|    } else if (PySlice_Check(item)) {
  ------------------
  |  |   22|     90|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_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 (215:32): [True: 90, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14218|     90|        Py_ssize_t start, stop, step, slicelength, i;
14219|     90|        size_t cur;
14220|     90|        PyObject *result;
14221|     90|        const void *src_data;
14222|     90|        void *dest_data;
14223|     90|        int src_kind, dest_kind;
14224|     90|        Py_UCS4 ch, max_char, kind_limit;
14225|       |
14226|     90|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (14226:13): [True: 0, False: 90]
  ------------------
14227|      0|            return NULL;
14228|      0|        }
14229|     90|        slicelength = PySlice_AdjustIndices(PyUnicode_GET_LENGTH(self),
  ------------------
  |  |  300|     90|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14230|     90|                                            &start, &stop, step);
14231|       |
14232|     90|        if (slicelength <= 0) {
  ------------------
  |  Branch (14232:13): [True: 2, False: 88]
  ------------------
14233|      2|            _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      2|    do {                             \
  |  |  366|      2|        return _PyUnicode_GetEmpty();\
  |  |  367|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
14234|     88|        } else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (14234:20): [True: 88, False: 0]
  |  Branch (14234:34): [True: 88, False: 0]
  ------------------
14235|     88|                   slicelength == PyUnicode_GET_LENGTH(self)) {
  ------------------
  |  |  300|     88|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14235:20): [True: 0, False: 88]
  ------------------
14236|      0|            return unicode_result_unchanged(self);
14237|     88|        } else if (step == 1) {
  ------------------
  |  Branch (14237:20): [True: 88, False: 0]
  ------------------
14238|     88|            return PyUnicode_Substring(self,
14239|     88|                                       start, start + slicelength);
14240|     88|        }
14241|       |        /* General case */
14242|      0|        src_kind = PyUnicode_KIND(self);
  ------------------
  |  |  259|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14243|      0|        src_data = PyUnicode_DATA(self);
  ------------------
  |  |  285|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14244|      0|        if (!PyUnicode_IS_ASCII(self)) {
  ------------------
  |  |  228|      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 (14244:13): [True: 0, False: 0]
  ------------------
14245|      0|            kind_limit = kind_maxchar_limit(src_kind);
14246|      0|            max_char = 0;
14247|      0|            for (cur = start, i = 0; i < slicelength; cur += step, i++) {
  ------------------
  |  Branch (14247:38): [True: 0, False: 0]
  ------------------
14248|      0|                ch = PyUnicode_READ(src_kind, src_data, cur);
  ------------------
  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      0|                   (index))
  ------------------
14249|      0|                if (ch > max_char) {
  ------------------
  |  Branch (14249:21): [True: 0, False: 0]
  ------------------
14250|      0|                    max_char = ch;
14251|      0|                    if (max_char >= kind_limit)
  ------------------
  |  Branch (14251:25): [True: 0, False: 0]
  ------------------
14252|      0|                        break;
14253|      0|                }
14254|      0|            }
14255|      0|        }
14256|      0|        else
14257|      0|            max_char = 127;
14258|      0|        result = PyUnicode_New(slicelength, max_char);
14259|      0|        if (result == NULL)
  ------------------
  |  Branch (14259:13): [True: 0, False: 0]
  ------------------
14260|      0|            return NULL;
14261|      0|        dest_kind = PyUnicode_KIND(result);
  ------------------
  |  |  259|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14262|      0|        dest_data = PyUnicode_DATA(result);
  ------------------
  |  |  285|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14263|       |
14264|      0|        for (cur = start, i = 0; i < slicelength; cur += step, i++) {
  ------------------
  |  Branch (14264:34): [True: 0, False: 0]
  ------------------
14265|      0|            Py_UCS4 ch = PyUnicode_READ(src_kind, src_data, cur);
  ------------------
  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      0|                   (index))
  ------------------
14266|      0|            PyUnicode_WRITE(dest_kind, dest_data, i, ch);
  ------------------
  |  |  336|      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))
  |  |  ------------------
  |  |  337|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
14267|      0|        }
14268|      0|        assert(_PyUnicode_CheckConsistency(result, 1));
  ------------------
  |  Branch (14268:9): [True: 0, False: 0]
  ------------------
14269|      0|        return result;
14270|      0|    } else {
14271|      0|        PyErr_Format(PyExc_TypeError, "string indices must be integers, not '%.200s'",
14272|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14273|       |        return NULL;
14274|      0|    }
14275|    288|}
unicodeobject.c:unicode_hash:
12135|  35.4k|{
12136|  35.4k|    Py_uhash_t x;  /* Unsigned for defined overflow behavior. */
12137|       |
12138|       |#ifdef Py_DEBUG
12139|       |    assert(_Py_HashSecret_Initialized);
12140|       |#endif
12141|  35.4k|    Py_hash_t hash = PyUnicode_HASH(self);
  ------------------
  |  |  156|  35.4k|#define PyUnicode_HASH PyUnstable_Unicode_GET_CACHED_HASH
  ------------------
12142|  35.4k|    if (hash != -1) {
  ------------------
  |  Branch (12142:9): [True: 9.27k, False: 26.1k]
  ------------------
12143|  9.27k|        return hash;
12144|  9.27k|    }
12145|  26.1k|    x = Py_HashBuffer(PyUnicode_DATA(self),
  ------------------
  |  |  285|  26.1k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12146|  26.1k|                      PyUnicode_GET_LENGTH(self) * PyUnicode_KIND(self));
  ------------------
  |  |  300|  26.1k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                    PyUnicode_GET_LENGTH(self) * PyUnicode_KIND(self));
  ------------------
  |  |  259|  26.1k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  52.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 26.1k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12147|       |
12148|      0|    PyUnicode_SET_HASH(self, x);
12149|  26.1k|    return x;
12150|  26.1k|}
unicodeobject.c:PyUnicode_SET_HASH:
  159|  26.1k|{
  160|  26.1k|    FT_ATOMIC_STORE_SSIZE_RELAXED(_PyASCIIObject_CAST(op)->hash, hash);
  ------------------
  |  |  197|  52.3k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (197:57): [True: 26.1k, False: 0]
  |  |  ------------------
  ------------------
  161|  26.1k|}
unicodeobject.c:unicode_encode_impl:
11998|      6|{
11999|      6|    return PyUnicode_AsEncodedString(self, encoding, errors);
12000|      6|}
unicodeobject.c:unicode_replace_impl:
13050|     27|{
13051|     27|    return replace(self, old, new, count);
13052|     27|}
unicodeobject.c:unicode_split_impl:
13307|     82|{
13308|     82|    if (sep == Py_None)
  ------------------
  |  |  616|     82|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (13308:9): [True: 1, False: 81]
  ------------------
13309|      1|        return split(self, NULL, maxsplit);
13310|     81|    if (PyUnicode_Check(sep))
  ------------------
  |  |  103|     81|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     81|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 81, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13311|     81|        return split(self, sep, maxsplit);
13312|       |
13313|      0|    PyErr_Format(PyExc_TypeError,
13314|      0|                 "must be str or None, not %.100s",
13315|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13316|       |    return NULL;
13317|     81|}
unicodeobject.c:unicode_join:
12674|    479|{
12675|    479|    return PyUnicode_Join(self, iterable);
12676|    479|}
unicodeobject.c:ascii_upper_or_lower:
10193|     59|{
10194|     59|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|     59|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10195|     59|    const char *data = PyUnicode_DATA(self);
  ------------------
  |  |  285|     59|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10196|     59|    char *resdata;
10197|     59|    PyObject *res;
10198|       |
10199|     59|    res = PyUnicode_New(len, 127);
10200|     59|    if (res == NULL)
  ------------------
  |  Branch (10200:9): [True: 0, False: 59]
  ------------------
10201|      0|        return NULL;
10202|     59|    resdata = PyUnicode_DATA(res);
  ------------------
  |  |  285|     59|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10203|     59|    if (lower)
  ------------------
  |  Branch (10203:9): [True: 8, False: 51]
  ------------------
10204|      8|        _Py_bytes_lower(resdata, data, len);
10205|     51|    else
10206|     51|        _Py_bytes_upper(resdata, data, len);
10207|     59|    return res;
10208|     59|}
unicodeobject.c:unicode_find_impl:
12102|      2|{
12103|      2|    Py_ssize_t result = any_find_slice(str, substr, start, end, 1);
12104|      2|    if (result < 0) {
  ------------------
  |  Branch (12104:9): [True: 0, False: 2]
  ------------------
12105|      0|        return -1;
12106|      0|    }
12107|      2|    return result;
12108|      2|}
unicodeobject.c:unicode_lower_impl:
12716|      8|{
12717|      8|    if (PyUnicode_IS_ASCII(self))
  ------------------
  |  |  228|      8|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 8, False: 0]
  |  |  ------------------
  ------------------
12718|      8|        return ascii_upper_or_lower(self, 1);
12719|      0|    return case_operation(self, do_lower);
12720|      8|}
unicodeobject.c:unicode_lstrip_impl:
12940|     33|{
12941|     33|    return do_argstrip(self, LEFTSTRIP, chars);
  ------------------
  |  |12722|     33|#define LEFTSTRIP 0
  ------------------
12942|     33|}
unicodeobject.c:do_argstrip:
12890|    716|{
12891|    716|    if (sep != Py_None) {
  ------------------
  |  |  616|    716|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12891:9): [True: 716, False: 0]
  ------------------
12892|    716|        if (PyUnicode_Check(sep))
  ------------------
  |  |  103|    716|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    716|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 716, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12893|    716|            return _PyUnicode_XStrip(self, striptype, sep);
12894|      0|        else {
12895|      0|            PyErr_Format(PyExc_TypeError,
12896|      0|                         "%s arg must be None or str",
12897|      0|                         STRIPNAME(striptype));
  ------------------
  |  |12729|      0|#define STRIPNAME(i) (stripfuncnames[i])
  ------------------
12898|      0|            return NULL;
12899|      0|        }
12900|    716|    }
12901|       |
12902|      0|    return do_strip(self, striptype);
12903|    716|}
unicodeobject.c:unicode_rfind_impl:
13215|     33|{
13216|     33|    Py_ssize_t result = any_find_slice(str, substr, start, end, -1);
13217|     33|    if (result < 0) {
  ------------------
  |  Branch (13217:9): [True: 0, False: 33]
  ------------------
13218|      0|        return -1;
13219|      0|    }
13220|     33|    return result;
13221|     33|}
unicodeobject.c:unicode_rstrip_impl:
12959|    683|{
12960|    683|    return do_argstrip(self, RIGHTSTRIP, chars);
  ------------------
  |  |12723|    683|#define RIGHTSTRIP 1
  ------------------
12961|    683|}
unicodeobject.c:unicode_rpartition:
13462|    337|{
13463|    337|    return PyUnicode_RPartition(self, sep);
13464|    337|}
unicodeobject.c:unicode_translate:
13703|     48|{
13704|     48|    return _PyUnicode_TranslateCharmap(self, table, "ignore");
13705|     48|}
unicodeobject.c:unicode_upper_impl:
13716|     51|{
13717|     51|    if (PyUnicode_IS_ASCII(self))
  ------------------
  |  |  228|     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 (228:32): [True: 51, False: 0]
  |  |  ------------------
  ------------------
13718|     51|        return ascii_upper_or_lower(self, 0);
13719|      0|    return case_operation(self, do_upper);
13720|     51|}
unicodeobject.c:unicode_startswith_impl:
13788|    377|{
13789|    377|    if (PyTuple_Check(subobj)) {
  ------------------
  |  |   27|    377|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    377|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 11, False: 366]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13790|     11|        Py_ssize_t i;
13791|     88|        for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) {
  ------------------
  |  |   27|     88|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13791:21): [True: 77, False: 11]
  ------------------
13792|     77|            PyObject *substring = PyTuple_GET_ITEM(subobj, i);
  ------------------
  |  |   29|     77|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     77|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     77|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13792:35): [True: 77, False: 0]
  ------------------
13793|     77|            if (!PyUnicode_Check(substring)) {
  ------------------
  |  |  103|     77|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     77|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13793:17): [True: 0, False: 77]
  ------------------
13794|      0|                PyErr_Format(PyExc_TypeError,
13795|      0|                             "tuple for startswith must only contain str, "
13796|      0|                             "not %.100s",
13797|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13798|      0|                return NULL;
13799|      0|            }
13800|     77|            int result = tailmatch(self, substring, start, end, -1);
13801|     77|            if (result < 0) {
  ------------------
  |  Branch (13801:17): [True: 0, False: 77]
  ------------------
13802|      0|                return NULL;
13803|      0|            }
13804|     77|            if (result) {
  ------------------
  |  Branch (13804:17): [True: 0, False: 77]
  ------------------
13805|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13806|      0|            }
13807|     77|        }
13808|       |        /* nothing matched */
13809|     11|        Py_RETURN_FALSE;
  ------------------
  |  |   45|     11|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     11|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13810|     11|    }
13811|    366|    if (!PyUnicode_Check(subobj)) {
  ------------------
  |  |  103|    366|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    366|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13811:9): [True: 0, False: 366]
  ------------------
13812|      0|        PyErr_Format(PyExc_TypeError,
13813|      0|                     "startswith first arg must be str or "
13814|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13815|      0|        return NULL;
13816|      0|    }
13817|    366|    int result = tailmatch(self, subobj, start, end, -1);
13818|    366|    if (result < 0) {
  ------------------
  |  Branch (13818:9): [True: 0, False: 366]
  ------------------
13819|      0|        return NULL;
13820|      0|    }
13821|    366|    return PyBool_FromLong(result);
13822|    366|}
unicodeobject.c:unicode_endswith_impl:
13845|     88|{
13846|     88|    if (PyTuple_Check(subobj)) {
  ------------------
  |  |   27|     88|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     88|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 88]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13847|      0|        Py_ssize_t i;
13848|      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 (13848:21): [True: 0, False: 0]
  ------------------
13849|      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 (13849:35): [True: 0, False: 0]
  ------------------
13850|      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 (13850:17): [True: 0, False: 0]
  ------------------
13851|      0|                PyErr_Format(PyExc_TypeError,
13852|      0|                             "tuple for endswith must only contain str, "
13853|      0|                             "not %.100s",
13854|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13855|      0|                return NULL;
13856|      0|            }
13857|      0|            int result = tailmatch(self, substring, start, end, +1);
13858|      0|            if (result < 0) {
  ------------------
  |  Branch (13858:17): [True: 0, False: 0]
  ------------------
13859|      0|                return NULL;
13860|      0|            }
13861|      0|            if (result) {
  ------------------
  |  Branch (13861:17): [True: 0, False: 0]
  ------------------
13862|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13863|      0|            }
13864|      0|        }
13865|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13866|      0|    }
13867|     88|    if (!PyUnicode_Check(subobj)) {
  ------------------
  |  |  103|     88|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     88|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13867:9): [True: 0, False: 88]
  ------------------
13868|      0|        PyErr_Format(PyExc_TypeError,
13869|      0|                     "endswith first arg must be str or "
13870|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13871|      0|        return NULL;
13872|      0|    }
13873|     88|    int result = tailmatch(self, subobj, start, end, +1);
13874|     88|    if (result < 0) {
  ------------------
  |  Branch (13874:9): [True: 0, False: 88]
  ------------------
13875|      0|        return NULL;
13876|      0|    }
13877|     88|    return PyBool_FromLong(result);
13878|     88|}
unicodeobject.c:unicode_isascii_impl:
12190|      2|{
12191|      2|    return PyBool_FromLong(PyUnicode_IS_ASCII(self));
  ------------------
  |  |  228|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12192|      2|}
unicodeobject.c:unicode_isidentifier_impl:
12619|     11|{
12620|     11|    return PyBool_FromLong(PyUnicode_IsIdentifier(self));
12621|     11|}
unicodeobject.c:unicode_new_impl:
14301|      7|{
14302|      7|    PyObject *unicode;
14303|      7|    if (x == NULL) {
  ------------------
  |  Branch (14303:9): [True: 0, False: 7]
  ------------------
14304|      0|        unicode = _PyUnicode_GetEmpty();
14305|      0|    }
14306|      7|    else if (encoding == NULL && errors == NULL) {
  ------------------
  |  Branch (14306:14): [True: 7, False: 0]
  |  Branch (14306:34): [True: 7, False: 0]
  ------------------
14307|      7|        unicode = PyObject_Str(x);
14308|      7|    }
14309|      0|    else {
14310|      0|        unicode = PyUnicode_FromEncodedObject(x, encoding, errors);
14311|      0|    }
14312|       |
14313|      7|    if (unicode != NULL && type != &PyUnicode_Type) {
  ------------------
  |  Branch (14313:9): [True: 7, False: 0]
  |  Branch (14313:28): [True: 7, False: 0]
  ------------------
14314|      7|        Py_SETREF(unicode, unicode_subtype_new(type, unicode));
  ------------------
  |  |  545|      7|    do { \
  |  |  546|      7|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      7|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      7|        *_tmp_dst_ptr = (src); \
  |  |  549|      7|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
14315|      7|    }
14316|      7|    return unicode;
14317|      7|}
unicodeobject.c:unicode_subtype_new:
14380|      7|{
14381|      7|    PyObject *self;
14382|      7|    Py_ssize_t length, char_size;
14383|      7|    int share_utf8;
14384|      7|    int kind;
14385|      7|    void *data;
14386|       |
14387|      7|    assert(PyType_IsSubtype(type, &PyUnicode_Type));
  ------------------
  |  Branch (14387:5): [True: 7, False: 0]
  ------------------
14388|      7|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (14388:5): [True: 7, False: 0]
  ------------------
14389|       |
14390|      7|    self = type->tp_alloc(type, 0);
14391|      7|    if (self == NULL) {
  ------------------
  |  Branch (14391:9): [True: 0, False: 7]
  ------------------
14392|      0|        return NULL;
14393|      0|    }
14394|      7|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|      7|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     14|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 7, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14395|      7|    length = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14396|       |
14397|      7|    _PyUnicode_LENGTH(self) = length;
  ------------------
  |  |  150|      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 (14397:5): [True: 7, False: 0]
  ------------------
14398|       |#ifdef Py_DEBUG
14399|       |    _PyUnicode_HASH(self) = -1;
14400|       |#else
14401|      7|    _PyUnicode_HASH(self) = _PyUnicode_HASH(unicode);
  ------------------
  |  |  154|      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);
  ------------------
  |  |  154|      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 (14401:5): [True: 7, False: 0]
  |  Branch (14401:29): [True: 7, False: 0]
  ------------------
14402|      0|#endif
14403|      7|    _PyUnicode_STATE(self).interned = 0;
  ------------------
  |  |  152|      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 (14403:5): [True: 7, False: 0]
  ------------------
14404|      7|    _PyUnicode_STATE(self).kind = kind;
  ------------------
  |  |  152|      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 (14404:5): [True: 7, False: 0]
  ------------------
14405|      7|    _PyUnicode_STATE(self).compact = 0;
  ------------------
  |  |  152|      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 (14405:5): [True: 7, False: 0]
  ------------------
14406|      7|    _PyUnicode_STATE(self).ascii = _PyUnicode_STATE(unicode).ascii;
  ------------------
  |  |  152|      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;
  ------------------
  |  |  152|      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 (14406:5): [True: 7, False: 0]
  |  Branch (14406:36): [True: 7, False: 0]
  ------------------
14407|      7|    _PyUnicode_STATE(self).statically_allocated = 0;
  ------------------
  |  |  152|      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 (14407:5): [True: 7, False: 0]
  ------------------
14408|      0|    PyUnicode_SET_UTF8_LENGTH(self, 0);
14409|      7|    PyUnicode_SET_UTF8(self, NULL);
14410|      7|    _PyUnicode_DATA_ANY(self) = NULL;
  ------------------
  |  |  164|      7|    (_PyUnicodeObject_CAST(op)->data.any)
  |  |  ------------------
  |  |  |  |  193|      7|    (assert(!_PyASCIIObject_CAST(op)->state.compact), \
  |  |  |  |  194|      7|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14410:5): [True: 7, False: 0]
  |  Branch (14410:5): [True: 7, False: 0]
  ------------------
14411|       |
14412|      0|    share_utf8 = 0;
14413|      7|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (14413:9): [True: 7, False: 0]
  ------------------
14414|      7|        char_size = 1;
14415|      7|        if (PyUnicode_MAX_CHAR_VALUE(unicode) < 128)
  ------------------
  |  |  406|      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 (14415:13): [True: 7, False: 0]
  ------------------
14416|      7|            share_utf8 = 1;
14417|      7|    }
14418|      0|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (14418:14): [True: 0, False: 0]
  ------------------
14419|      0|        char_size = 2;
14420|      0|    }
14421|      0|    else {
14422|      0|        assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (14422:9): [True: 0, False: 0]
  ------------------
14423|      0|        char_size = 4;
14424|      0|    }
14425|       |
14426|       |    /* Ensure we won't overflow the length. */
14427|      7|    if (length > (PY_SSIZE_T_MAX / char_size - 1)) {
  ------------------
  |  |  137|      7|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (14427:9): [True: 0, False: 7]
  ------------------
14428|      0|        PyErr_NoMemory();
14429|      0|        goto onError;
14430|      0|    }
14431|      7|    data = PyMem_Malloc((length + 1) * char_size);
14432|      7|    if (data == NULL) {
  ------------------
  |  Branch (14432:9): [True: 0, False: 7]
  ------------------
14433|      0|        PyErr_NoMemory();
14434|      0|        goto onError;
14435|      0|    }
14436|       |
14437|     14|    _PyUnicode_DATA_ANY(self) = data;
  ------------------
  |  |  164|      7|    (_PyUnicodeObject_CAST(op)->data.any)
  |  |  ------------------
  |  |  |  |  193|      7|    (assert(!_PyASCIIObject_CAST(op)->state.compact), \
  |  |  |  |  194|      7|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14437:5): [True: 7, False: 0]
  |  Branch (14437:5): [True: 7, False: 0]
  ------------------
14438|      7|    if (share_utf8) {
  ------------------
  |  Branch (14438:9): [True: 7, False: 0]
  ------------------
14439|      7|        PyUnicode_SET_UTF8_LENGTH(self, length);
14440|      7|        PyUnicode_SET_UTF8(self, data);
14441|      7|    }
14442|       |
14443|     14|    memcpy(data, PyUnicode_DATA(unicode), kind * (length + 1));
  ------------------
  |  |  285|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14444|     14|    assert(_PyUnicode_CheckConsistency(self, 1));
  ------------------
  |  Branch (14444:5): [True: 7, False: 0]
  ------------------
14445|       |#ifdef Py_DEBUG
14446|       |    _PyUnicode_HASH(self) = _PyUnicode_HASH(unicode);
14447|       |#endif
14448|      7|    return self;
14449|       |
14450|      0|onError:
14451|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14452|       |    return NULL;
14453|     14|}
unicodeobject.c:unicode_vectorcall:
14334|     20|{
14335|     20|    assert(Py_Is(_PyType_CAST(type), &PyUnicode_Type));
  ------------------
  |  Branch (14335:5): [True: 20, False: 0]
  |  Branch (14335:5): [True: 20, False: 0]
  ------------------
14336|       |
14337|     20|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     20|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
14338|     20|    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 (14338:9): [True: 0, False: 20]
  |  Branch (14338:28): [True: 0, False: 0]
  ------------------
14339|       |        // Fallback to unicode_new()
14340|      0|        PyObject *tuple = PyTuple_FromArray(args, nargs);
14341|      0|        if (tuple == NULL) {
  ------------------
  |  Branch (14341:13): [True: 0, False: 0]
  ------------------
14342|      0|            return NULL;
14343|      0|        }
14344|      0|        PyObject *dict = _PyStack_AsDict(args + nargs, kwnames);
14345|      0|        if (dict == NULL) {
  ------------------
  |  Branch (14345:13): [True: 0, False: 0]
  ------------------
14346|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14347|      0|            return NULL;
14348|      0|        }
14349|      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 (14349:37): [True: 0, False: 0]
  ------------------
14350|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14351|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14352|      0|        return ret;
14353|      0|    }
14354|     20|    if (!_PyArg_CheckPositional("str", nargs, 0, 3)) {
  ------------------
  |  |   38|     20|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 20, False: 0]
  |  |  |  Branch (38:27): [True: 20, False: 0]
  |  |  ------------------
  |  |   39|     20|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
14355|      0|        return NULL;
14356|      0|    }
14357|     20|    if (nargs == 0) {
  ------------------
  |  Branch (14357:9): [True: 0, False: 20]
  ------------------
14358|      0|        return _PyUnicode_GetEmpty();
14359|      0|    }
14360|     20|    PyObject *object = args[0];
14361|     20|    if (nargs == 1) {
  ------------------
  |  Branch (14361:9): [True: 18, False: 2]
  ------------------
14362|     18|        return PyObject_Str(object);
14363|     18|    }
14364|      2|    const char *encoding = arg_as_utf8(args[1], "encoding");
14365|      2|    if (encoding == NULL) {
  ------------------
  |  Branch (14365:9): [True: 0, False: 2]
  ------------------
14366|      0|        return NULL;
14367|      0|    }
14368|      2|    const char *errors = NULL;
14369|      2|    if (nargs == 3) {
  ------------------
  |  Branch (14369:9): [True: 0, False: 2]
  ------------------
14370|      0|        errors = arg_as_utf8(args[2], "errors");
14371|      0|        if (errors == NULL) {
  ------------------
  |  Branch (14371:13): [True: 0, False: 0]
  ------------------
14372|      0|            return NULL;
14373|      0|        }
14374|      0|    }
14375|      2|    return PyUnicode_FromEncodedObject(object, encoding, errors);
14376|      2|}
unicodeobject.c:arg_as_utf8:
14321|      2|{
14322|      2|    if (!PyUnicode_Check(obj)) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (14322:9): [True: 0, False: 2]
  ------------------
14323|      0|        PyErr_Format(PyExc_TypeError,
14324|      0|                     "str() argument '%s' must be str, not %T",
14325|      0|                     name, obj);
14326|      0|        return NULL;
14327|      0|    }
14328|      2|    return _PyUnicode_AsUTF8NoNUL(obj);
14329|      2|}
unicodeobject.c:unicode_iteritem:
14457|     62|{
14458|     62|    if (index >= PyUnicode_GET_LENGTH(obj)) {
  ------------------
  |  |  300|     62|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14458:9): [True: 31, False: 31]
  ------------------
14459|     31|        return (_PyObjectIndexPair) { .object = NULL, .index = index };
14460|     31|    }
14461|     31|    const void *data = PyUnicode_DATA(obj);
  ------------------
  |  |  285|     31|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14462|     31|    int kind = PyUnicode_KIND(obj);
  ------------------
  |  |  259|     31|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     62|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 31, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14463|     31|    Py_UCS4 ch = PyUnicode_READ(kind, data, index);
  ------------------
  |  |  355|     31|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     31|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     31|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     31|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|     31|                   (index))
  ------------------
14464|     31|    PyObject *result = unicode_char(ch);
14465|     31|    index = (result == NULL) ? -1 : index + 1;
  ------------------
  |  Branch (14465:13): [True: 0, False: 31]
  ------------------
14466|     31|    return (_PyObjectIndexPair) { .object = result, .index = index };
14467|     31|}
unicodeobject.c:_init_global_state:
14542|      2|{
14543|      2|    static int initialized = 0;
14544|      2|    if (initialized) {
  ------------------
  |  Branch (14544:9): [True: 0, False: 2]
  ------------------
14545|      0|        return;
14546|      0|    }
14547|      2|    initialized = 1;
14548|       |
14549|       |    /* initialize the linebreak bloom filter */
14550|      2|    const Py_UCS2 linebreak[] = {
14551|      2|        0x000A, /* LINE FEED */
14552|      2|        0x000D, /* CARRIAGE RETURN */
14553|      2|        0x001C, /* FILE SEPARATOR */
14554|      2|        0x001D, /* GROUP SEPARATOR */
14555|      2|        0x001E, /* RECORD SEPARATOR */
14556|      2|        0x0085, /* NEXT LINE */
14557|      2|        0x2028, /* LINE SEPARATOR */
14558|      2|        0x2029, /* PARAGRAPH SEPARATOR */
14559|      2|    };
14560|      2|    bloom_linebreak = make_bloom_mask(
14561|      2|        PyUnicode_2BYTE_KIND, linebreak,
14562|      2|        Py_ARRAY_LENGTH(linebreak));
  ------------------
  |  |  232|      2|    (sizeof(array) / sizeof((array)[0]))
  ------------------
14563|      2|}
unicodeobject.c:init_global_interned_strings:
  314|      2|{
  315|      2|    assert(INTERNED_STRINGS == NULL);
  ------------------
  |  Branch (315:5): [True: 2, False: 0]
  ------------------
  316|      2|    _Py_hashtable_allocator_t hashtable_alloc = {PyMem_RawMalloc, PyMem_RawFree};
  317|       |
  318|      2|    INTERNED_STRINGS = _Py_hashtable_new_full(
  ------------------
  |  |  209|      2|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
  319|      2|        hashtable_unicode_hash,
  320|      2|        hashtable_unicode_compare,
  321|       |        // Objects stored here are immortal and statically allocated,
  322|       |        // so we don't need key_destroy_func & value_destroy_func:
  323|      2|        NULL,
  324|      2|        NULL,
  325|      2|        &hashtable_alloc
  326|      2|    );
  327|      2|    if (INTERNED_STRINGS == NULL) {
  ------------------
  |  |  209|      2|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
  |  Branch (327:9): [True: 0, False: 2]
  ------------------
  328|      0|        PyErr_Clear();
  329|      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)}
  ------------------
  330|      0|    }
  331|       |
  332|       |    /* Intern statically allocated string identifiers, deepfreeze strings,
  333|       |        * and one-byte latin-1 strings.
  334|       |        * This must be done before any module initialization so that statically
  335|       |        * allocated string identifiers are used instead of heap allocated strings.
  336|       |        * Deepfreeze uses the interned identifiers if present to save space
  337|       |        * else generates them and they are interned to speed up dict lookups.
  338|       |    */
  339|      2|    _PyUnicode_InitStaticStrings(interp);
  340|       |
  341|    514|    for (int i = 0; i < 256; i++) {
  ------------------
  |  Branch (341:21): [True: 512, False: 2]
  ------------------
  342|    512|        PyObject *s = LATIN1(i);
  ------------------
  |  |  174|    512|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  955|    512|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (955:6): [True: 256, False: 256]
  |  |  |  |  ------------------
  |  |  |  |  956|    512|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    256|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    256|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  957|    512|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    256|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    256|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  343|    512|        _PyUnicode_InternStatic(interp, &s);
  344|    512|        assert(s == LATIN1(i));
  ------------------
  |  Branch (344:9): [True: 256, False: 256]
  |  Branch (344:9): [True: 512, False: 0]
  ------------------
  345|    512|    }
  346|       |#ifdef Py_DEBUG
  347|       |    assert(_PyUnicode_CheckConsistency(&_Py_STR(empty), 1));
  348|       |
  349|       |    for (int i = 0; i < 256; i++) {
  350|       |        assert(_PyUnicode_CheckConsistency(LATIN1(i), 1));
  351|       |    }
  352|       |#endif
  353|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  354|      2|}
unicodeobject.c:hashtable_unicode_hash:
  245|  31.8k|{
  246|  31.8k|    return unicode_hash((PyObject *)key);
  247|  31.8k|}
unicodeobject.c:hashtable_unicode_compare:
  251|  7.38k|{
  252|  7.38k|    PyObject *obj1 = (PyObject *)key1;
  253|  7.38k|    PyObject *obj2 = (PyObject *)key2;
  254|  7.38k|    if (obj1 != NULL && obj2 != NULL) {
  ------------------
  |  Branch (254:9): [True: 7.38k, False: 0]
  |  Branch (254:25): [True: 7.38k, False: 0]
  ------------------
  255|  7.38k|        return unicode_eq(obj1, obj2);
  256|  7.38k|    }
  257|      0|    else {
  258|      0|        return obj1 == obj2;
  259|      0|    }
  260|  7.38k|}
unicodeobject.c:init_interned_dict:
  281|      2|{
  282|      2|    assert(get_interned_dict(interp) == NULL);
  ------------------
  |  Branch (282:5): [True: 2, False: 0]
  ------------------
  283|      2|    PyObject *interned;
  284|      2|    if (has_shared_intern_dict(interp)) {
  ------------------
  |  Branch (284:9): [True: 0, False: 2]
  ------------------
  285|      0|        interned = get_interned_dict(_PyInterpreterState_Main());
  286|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  287|      0|    }
  288|      2|    else {
  289|      2|        interned = PyDict_New();
  290|      2|        if (interned == NULL) {
  ------------------
  |  Branch (290:13): [True: 0, False: 2]
  ------------------
  291|      0|            return -1;
  292|      0|        }
  293|      2|    }
  294|      2|    _Py_INTERP_CACHED_OBJECT(interp, interned_strings) = interned;
  ------------------
  |  |   22|      2|    (interp)->cached_objects.NAME
  ------------------
  295|      2|    return 0;
  296|      2|}
unicodeobject.c:intern_static:
14615|  2.30k|{
14616|       |    // Note that this steals a reference to `s`, but in many cases that
14617|       |    // stolen ref is returned, requiring no decref/incref.
14618|       |
14619|  2.30k|    assert(s != NULL);
  ------------------
  |  Branch (14619:5): [True: 2.30k, False: 0]
  ------------------
14620|  2.30k|    assert(_PyUnicode_CHECK(s));
  ------------------
  |  Branch (14620:5): [True: 2.30k, False: 0]
  ------------------
14621|  2.30k|    assert(_PyUnicode_STATE(s).statically_allocated);
  ------------------
  |  Branch (14621:5): [True: 2.30k, False: 0]
  |  Branch (14621:5): [True: 2.30k, False: 0]
  ------------------
14622|  2.30k|    assert(!PyUnicode_CHECK_INTERNED(s));
  ------------------
  |  Branch (14622:5): [True: 2.30k, False: 0]
  ------------------
14623|       |
14624|       |#ifdef Py_DEBUG
14625|       |    /* We must not add process-global interned string if there's already a
14626|       |     * per-interpreter interned_dict, which might contain duplicates.
14627|       |     */
14628|       |    PyObject *interned = get_interned_dict(interp);
14629|       |    assert(interned == NULL);
14630|       |#endif
14631|       |
14632|       |    /* Look in the global cache first. */
14633|  2.30k|    PyObject *r = (PyObject *)_Py_hashtable_get(INTERNED_STRINGS, s);
  ------------------
  |  |  209|  2.30k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
14634|       |    /* We should only init each string once */
14635|  2.30k|    assert(r == NULL);
  ------------------
  |  Branch (14635:5): [True: 2.30k, False: 0]
  ------------------
14636|       |    /* but just in case (for the non-debug build), handle this */
14637|  2.30k|    if (r != NULL && r != s) {
  ------------------
  |  Branch (14637:9): [True: 0, False: 2.30k]
  |  Branch (14637:22): [True: 0, False: 0]
  ------------------
14638|      0|        assert(_PyUnicode_STATE(r).interned == SSTATE_INTERNED_IMMORTAL_STATIC);
  ------------------
  |  Branch (14638:9): [True: 0, False: 0]
  |  Branch (14638:9): [True: 0, False: 0]
  ------------------
14639|      0|        assert(_PyUnicode_CHECK(r));
  ------------------
  |  Branch (14639:9): [True: 0, False: 0]
  ------------------
14640|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14641|      0|        return Py_NewRef(r);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14642|      0|    }
14643|       |
14644|  2.30k|    if (_Py_hashtable_set(INTERNED_STRINGS, s, s) < 0) {
  ------------------
  |  |  209|  2.30k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
  |  Branch (14644:9): [True: 0, False: 2.30k]
  ------------------
14645|      0|        Py_FatalError("failed to intern static string");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
14646|      0|    }
14647|       |
14648|  2.30k|    _PyUnicode_STATE(s).interned = SSTATE_INTERNED_IMMORTAL_STATIC;
  ------------------
  |  |  152|  2.30k|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  2.30k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  2.30k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _PyUnicode_STATE(s).interned = SSTATE_INTERNED_IMMORTAL_STATIC;
  ------------------
  |  |  205|  2.30k|#define SSTATE_INTERNED_IMMORTAL_STATIC 3
  ------------------
  |  Branch (14648:5): [True: 2.30k, False: 0]
  ------------------
14649|      0|    return s;
14650|  2.30k|}
unicodeobject.c:intern_common:
14697|  60.9k|{
14698|       |    // Note that this steals a reference to `s`, but in many cases that
14699|       |    // stolen ref is returned, requiring no decref/incref.
14700|       |
14701|       |#ifdef Py_DEBUG
14702|       |    assert(s != NULL);
14703|       |    assert(_PyUnicode_CHECK(s));
14704|       |#else
14705|  60.9k|    if (s == NULL || !PyUnicode_Check(s)) {
  ------------------
  |  |  103|  60.9k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  60.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (14705:9): [True: 0, False: 60.9k]
  |  Branch (14705:22): [True: 0, False: 60.9k]
  ------------------
14706|      0|        return s;
14707|      0|    }
14708|  60.9k|#endif
14709|       |
14710|       |    /* If it's a subclass, we don't really know what putting
14711|       |       it in the interned dict might do. */
14712|  60.9k|    if (!PyUnicode_CheckExact(s)) {
  ------------------
  |  |  104|  60.9k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  60.9k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  60.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  60.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14712:9): [True: 0, False: 60.9k]
  ------------------
14713|      0|        return s;
14714|      0|    }
14715|       |
14716|       |    /* Is it already interned? */
14717|  60.9k|    switch (PyUnicode_CHECK_INTERNED(s)) {
  ------------------
  |  |  215|  60.9k|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  60.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  60.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14718|  20.8k|        case SSTATE_NOT_INTERNED:
  ------------------
  |  |  202|  20.8k|#define SSTATE_NOT_INTERNED 0
  ------------------
  |  Branch (14718:9): [True: 20.8k, False: 40.1k]
  ------------------
14719|       |            // no, go on
14720|  20.8k|            break;
14721|    785|        case SSTATE_INTERNED_MORTAL:
  ------------------
  |  |  203|    785|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (14721:9): [True: 785, False: 60.1k]
  ------------------
14722|    785|#ifndef Py_GIL_DISABLED
14723|       |            // yes but we might need to make it immortal
14724|    785|            if (immortalize) {
  ------------------
  |  Branch (14724:17): [True: 0, False: 785]
  ------------------
14725|      0|                immortalize_interned(s);
14726|      0|            }
14727|    785|            return s;
14728|       |#else
14729|       |            // not fully interned yet; fall through to the locking path
14730|       |            break;
14731|       |#endif
14732|  39.3k|        default:
  ------------------
  |  Branch (14732:9): [True: 39.3k, False: 21.6k]
  ------------------
14733|       |            // all done
14734|  39.3k|            return s;
14735|  60.9k|    }
14736|       |
14737|       |    /* Statically allocated strings must be already interned. */
14738|  60.9k|    assert(!_PyUnicode_STATE(s).statically_allocated);
  ------------------
  |  Branch (14738:5): [True: 20.8k, False: 0]
  |  Branch (14738:5): [True: 20.8k, False: 0]
  ------------------
14739|       |
14740|       |#ifdef Py_GIL_DISABLED
14741|       |    /* In the free-threaded build, all interned strings are immortal */
14742|       |    immortalize = 1;
14743|       |#endif
14744|       |
14745|       |    /* If it's already immortal, intern it as such */
14746|  20.8k|    if (_Py_IsImmortal(s)) {
  ------------------
  |  |  137|  20.8k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 20.8k]
  |  |  ------------------
  ------------------
14747|      0|        immortalize = 1;
14748|      0|    }
14749|       |
14750|       |    /* if it's a short string, get the singleton */
14751|  20.8k|    if (PyUnicode_GET_LENGTH(s) == 1 &&
  ------------------
  |  |  300|  20.8k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14751:9): [True: 2, False: 20.8k]
  ------------------
14752|      4|                PyUnicode_KIND(s) == PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  259|      2|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14752:17): [True: 0, False: 2]
  ------------------
14753|      0|        PyObject *r = LATIN1(*(unsigned char*)PyUnicode_DATA(s));
  ------------------
  |  |  174|      0|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  955|      0|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (955:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  956|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  957|      0|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14754|      0|        assert(PyUnicode_CHECK_INTERNED(r));
  ------------------
  |  Branch (14754:9): [True: 0, False: 0]
  ------------------
14755|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14756|      0|        return r;
14757|      0|    }
14758|       |#ifdef Py_DEBUG
14759|       |    assert(!unicode_is_singleton(s));
14760|       |#endif
14761|       |
14762|       |    /* Look in the global cache now. */
14763|  20.8k|    {
14764|  20.8k|        PyObject *r = (PyObject *)_Py_hashtable_get(INTERNED_STRINGS, s);
  ------------------
  |  |  209|  20.8k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
14765|  20.8k|        if (r != NULL) {
  ------------------
  |  Branch (14765:13): [True: 7.38k, False: 13.4k]
  ------------------
14766|  7.38k|            assert(_PyUnicode_STATE(r).statically_allocated);
  ------------------
  |  Branch (14766:13): [True: 7.38k, False: 0]
  |  Branch (14766:13): [True: 7.38k, False: 0]
  ------------------
14767|  7.38k|            assert(r != s);  // r must be statically_allocated; s is not
  ------------------
  |  Branch (14767:13): [True: 7.38k, False: 0]
  ------------------
14768|  7.38k|            Py_DECREF(s);
  ------------------
  |  |  430|  7.38k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14769|  7.38k|            return Py_NewRef(r);
  ------------------
  |  |  647|  7.38k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  7.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14770|  7.38k|        }
14771|  20.8k|    }
14772|       |
14773|       |    /* Do a setdefault on the per-interpreter cache. */
14774|  13.4k|    PyObject *interned = get_interned_dict(interp);
14775|  13.4k|    assert(interned != NULL);
  ------------------
  |  Branch (14775:5): [True: 13.4k, False: 0]
  ------------------
14776|       |#ifdef Py_GIL_DISABLED
14777|       |#  define INTERN_MUTEX &_Py_INTERP_CACHED_OBJECT(interp, interned_mutex)
14778|       |    // Lock-free fast path: check if there's already an interned copy that
14779|       |    // is in its final immortal state.
14780|       |    PyObject *r;
14781|       |    int res = PyDict_GetItemRef(interned, s, &r);
14782|       |    if (res < 0) {
14783|       |        PyErr_Clear();
14784|       |        return s;
14785|       |    }
14786|       |    if (res > 0) {
14787|       |        unsigned int state = _Py_atomic_load_uint8(&_PyUnicode_STATE(r).interned);
14788|       |        if (state == SSTATE_INTERNED_IMMORTAL) {
14789|       |            Py_DECREF(s);
14790|       |            return r;
14791|       |        }
14792|       |        // Not yet fully interned; fall through to the locking path.
14793|       |        Py_DECREF(r);
14794|       |    }
14795|       |#endif
14796|       |
14797|       |#ifdef Py_GIL_DISABLED
14798|       |    // Immortalization writes to the refcount fields non-atomically. That
14799|       |    // races with Py_INCREF / Py_DECREF on the thread that owns `s`. If we
14800|       |    // don't own it (and its refcount hasn't been merged), intern a copy
14801|       |    // we own instead.
14802|       |    if (!can_immortalize_safely(s)) {
14803|       |        PyObject *copy = _PyUnicode_Copy(s);
14804|       |        if (copy == NULL) {
14805|       |            PyErr_Clear();
14806|       |            return s;
14807|       |        }
14808|       |        Py_DECREF(s);
14809|       |        s = copy;
14810|       |    }
14811|       |#endif
14812|       |
14813|       |    // Why _Py_LOCK_DONT_DETACH is used here: waiting for the interned mutex
14814|       |    // must not detach the thread state. Extension code is expected to
14815|       |    // detach before blocking on opaque external synchronization. However,
14816|       |    // the lock used for C++ static initialization is hidden, making
14817|       |    // that difficult, and it is common for C++ extensions to call
14818|       |    // PyUnicode_InternFromString() from static initializers. Detaching here
14819|       |    // can therefore deadlock: a stop-the-world pause may prevent the lock
14820|       |    // owner from reattaching while the pause waits for another attached
14821|       |    // thread blocked on the hidden lock.
14822|  13.4k|    FT_MUTEX_LOCK_FLAGS(INTERN_MUTEX, _Py_LOCK_DONT_DETACH);
  ------------------
  |  |  208|  13.4k|#define FT_MUTEX_LOCK_FLAGS(lock, flags) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (208:55): [Folded, False: 13.4k]
  |  |  ------------------
  ------------------
14823|  13.4k|    PyObject *t;
14824|  13.4k|    {
14825|  13.4k|        int res = PyDict_SetDefaultRef(interned, s, s, &t);
14826|  13.4k|        if (res < 0) {
  ------------------
  |  Branch (14826:13): [True: 0, False: 13.4k]
  ------------------
14827|      0|            PyErr_Clear();
14828|      0|            FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  209|      0|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (209:44): [Folded, False: 0]
  |  |  ------------------
  ------------------
14829|      0|            return s;
14830|      0|        }
14831|  13.4k|        else if (res == 1) {
  ------------------
  |  Branch (14831:18): [True: 4.09k, False: 9.39k]
  ------------------
14832|       |            // value was already present (not inserted)
14833|  4.09k|            Py_DECREF(s);
  ------------------
  |  |  430|  4.09k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14834|  4.09k|            if (immortalize &&
  ------------------
  |  Branch (14834:17): [True: 3.30k, False: 790]
  ------------------
14835|  3.30k|                    PyUnicode_CHECK_INTERNED(t) == SSTATE_INTERNED_MORTAL) {
  ------------------
  |  |  215|  3.30k|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                  PyUnicode_CHECK_INTERNED(t) == SSTATE_INTERNED_MORTAL) {
  ------------------
  |  |  203|  3.30k|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (14835:21): [True: 362, False: 2.93k]
  ------------------
14836|    362|                immortalize_interned(t);
14837|    362|            }
14838|  4.09k|            FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  209|  4.09k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (209:44): [Folded, False: 4.09k]
  |  |  ------------------
  ------------------
14839|  4.09k|            return t;
14840|  4.09k|        }
14841|  9.39k|        else {
14842|       |            // value was newly inserted
14843|  9.39k|            assert (s == t);
  ------------------
  |  Branch (14843:13): [True: 9.39k, False: 0]
  ------------------
14844|  9.39k|            Py_DECREF(t);
  ------------------
  |  |  430|  9.39k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14845|  9.39k|        }
14846|  13.4k|    }
14847|       |
14848|       |    /* NOT_INTERNED -> INTERNED_MORTAL */
14849|       |
14850|  13.4k|    assert(_PyUnicode_STATE(s).interned == SSTATE_NOT_INTERNED);
  ------------------
  |  Branch (14850:5): [True: 9.39k, False: 0]
  |  Branch (14850:5): [True: 9.39k, False: 0]
  ------------------
14851|       |
14852|  9.39k|    if (!_Py_IsImmortal(s)) {
  ------------------
  |  |  137|  9.39k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14852:9): [True: 9.39k, False: 0]
  ------------------
14853|       |        /* The two references in interned dict (key and value) are not counted.
14854|       |        unicode_dealloc() and _PyUnicode_ClearInterned() take care of this. */
14855|  9.39k|        Py_DECREF(s);
  ------------------
  |  |  430|  9.39k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14856|  9.39k|        Py_DECREF(s);
  ------------------
  |  |  430|  9.39k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14857|  9.39k|    }
14858|  9.39k|    FT_ATOMIC_STORE_UINT8(_PyUnicode_STATE(s).interned, SSTATE_INTERNED_MORTAL);
  ------------------
  |  |  157|  18.7k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (157:49): [True: 9.39k, False: 0]
  |  |  ------------------
  ------------------
14859|       |
14860|       |    /* INTERNED_MORTAL -> INTERNED_IMMORTAL (if needed) */
14861|       |
14862|       |#ifdef Py_DEBUG
14863|       |    if (_Py_IsImmortal(s)) {
14864|       |        assert(immortalize);
14865|       |    }
14866|       |#endif
14867|  9.39k|    if (immortalize) {
  ------------------
  |  Branch (14867:9): [True: 7.84k, False: 1.54k]
  ------------------
14868|  7.84k|        immortalize_interned(s);
14869|  7.84k|    }
14870|       |
14871|  9.39k|    FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  209|  9.39k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (209:44): [Folded, False: 9.39k]
  |  |  ------------------
  ------------------
14872|  9.39k|    return s;
14873|  9.39k|}
unicodeobject.c:immortalize_interned:
14664|  8.20k|{
14665|  8.20k|    assert(PyUnicode_CHECK_INTERNED(s) == SSTATE_INTERNED_MORTAL);
  ------------------
  |  Branch (14665:5): [True: 8.20k, False: 0]
  ------------------
14666|  8.20k|    assert(!_Py_IsImmortal(s));
  ------------------
  |  Branch (14666:5): [True: 8.20k, False: 0]
  ------------------
14667|       |#ifdef Py_REF_DEBUG
14668|       |    /* The reference count value should be excluded from the RefTotal.
14669|       |       The decrements to these objects will not be registered so they
14670|       |       need to be accounted for in here. */
14671|       |    for (Py_ssize_t i = 0; i < Py_REFCNT(s); i++) {
14672|       |        _Py_DecRefTotal(_PyThreadState_GET());
14673|       |    }
14674|       |#endif
14675|  8.20k|    _Py_SetImmortal(s);
14676|       |    // The switch to SSTATE_INTERNED_IMMORTAL must be the last thing done here
14677|       |    // to synchronize with the check in intern_common() that avoids locking if
14678|       |    // the string is already immortal.
14679|  8.20k|    FT_ATOMIC_STORE_UINT8(_PyUnicode_STATE(s).interned, SSTATE_INTERNED_IMMORTAL);
  ------------------
  |  |  157|  16.4k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (157:49): [True: 8.20k, False: 0]
  |  |  ------------------
  ------------------
14680|  8.20k|}
unicodeobject.c:has_shared_intern_dict:
  274|      2|{
  275|      2|    PyInterpreterState *main_interp = _PyInterpreterState_Main();
  276|      2|    return interp != main_interp  && interp->feature_flags & Py_RTFLAGS_USE_MAIN_OBMALLOC;
  ------------------
  |  |   79|      2|#define Py_RTFLAGS_USE_MAIN_OBMALLOC (1UL << 5)
  ------------------
  |  Branch (276:12): [True: 0, False: 2]
  |  Branch (276:38): [True: 0, False: 0]
  ------------------
  277|      2|}
unicodeobject.c:unicodeiter_dealloc:
15025|     31|{
15026|     31|    unicodeiterobject *it = (unicodeiterobject *)op;
15027|     31|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  504|     31|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15028|     31|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15029|     31|    PyObject_GC_Del(it);
15030|     31|}
unicodeobject.c:unicode_ascii_iter_next:
15067|    160|{
15068|    160|    unicodeiterobject *it = (unicodeiterobject *)op;
15069|    160|    assert(it != NULL);
  ------------------
  |  Branch (15069:5): [True: 160, False: 0]
  ------------------
15070|    160|    PyObject *seq = it->it_seq;
15071|    160|    if (seq == NULL) {
  ------------------
  |  Branch (15071:9): [True: 0, False: 160]
  ------------------
15072|      0|        return NULL;
15073|      0|    }
15074|    160|    assert(_PyUnicode_CHECK(seq));
  ------------------
  |  Branch (15074:5): [True: 160, False: 0]
  ------------------
15075|    160|    assert(PyUnicode_IS_COMPACT_ASCII(seq));
  ------------------
  |  Branch (15075:5): [True: 160, False: 0]
  ------------------
15076|    160|    if (it->it_index < PyUnicode_GET_LENGTH(seq)) {
  ------------------
  |  |  300|    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 (15076:9): [True: 131, False: 29]
  ------------------
15077|    131|        const void *data = ((void*)(_PyASCIIObject_CAST(seq) + 1));
  ------------------
  |  |  186|    131|    (assert(PyUnicode_Check(op)), \
  |  |  187|    131|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    131|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (15077:37): [True: 131, False: 0]
  ------------------
15078|    131|        Py_UCS1 chr = (Py_UCS1)PyUnicode_READ(PyUnicode_1BYTE_KIND,
  ------------------
  |  |  355|    131|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    131|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    131|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    131|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|    131|                   (index))
  ------------------
15079|    131|                                              data, it->it_index);
15080|    131|        it->it_index++;
15081|    131|        return (PyObject*)&_Py_SINGLETON(strings).ascii[chr];
  ------------------
  |  |   18|    131|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|    131|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
15082|    131|    }
15083|     29|    it->it_seq = NULL;
15084|     29|    Py_DECREF(seq);
  ------------------
  |  |  430|     29|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15085|       |    return NULL;
15086|    160|}
unicodeobject.c:unicode_iter:
15198|     31|{
15199|     31|    unicodeiterobject *it;
15200|       |
15201|     31|    if (!PyUnicode_Check(seq)) {
  ------------------
  |  |  103|     31|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     31|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (15201:9): [True: 0, False: 31]
  ------------------
15202|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
15203|      0|        return NULL;
15204|      0|    }
15205|     31|    if (PyUnicode_IS_COMPACT_ASCII(seq)) {
  ------------------
  |  |  242|     31|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (242:40): [True: 31, False: 0]
  |  |  ------------------
  ------------------
15206|     31|        it = PyObject_GC_New(unicodeiterobject, &_PyUnicodeASCIIIter_Type);
  ------------------
  |  |  181|     31|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
15207|     31|    }
15208|      0|    else {
15209|      0|        it = PyObject_GC_New(unicodeiterobject, &PyUnicodeIter_Type);
  ------------------
  |  |  181|      0|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
15210|      0|    }
15211|     31|    if (it == NULL)
  ------------------
  |  Branch (15211:9): [True: 0, False: 31]
  ------------------
15212|      0|        return NULL;
15213|     31|    it->it_index = 0;
15214|     31|    it->it_seq = Py_NewRef(seq);
  ------------------
  |  |  647|     31|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15215|     31|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  502|     31|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15216|     31|    return (PyObject *)it;
15217|     31|}
unicodeobject.c:init_fs_encoding:
15362|      2|{
15363|      2|    PyInterpreterState *interp = tstate->interp;
15364|       |
15365|       |    /* Update the filesystem encoding to the normalized Python codec name.
15366|       |       For example, replace "ANSI_X3.4-1968" (locale encoding) with "ascii"
15367|       |       (Python codec name). */
15368|      2|    PyConfig *config = (PyConfig*)_PyInterpreterState_GetConfig(interp);
15369|      2|    if (config_get_codec_name(&config->filesystem_encoding) < 0) {
  ------------------
  |  Branch (15369:9): [True: 0, False: 2]
  ------------------
15370|      0|        _Py_DumpPathConfig(tstate);
15371|      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)}
  ------------------
15372|      0|                             "of the filesystem encoding");
15373|      0|    }
15374|       |
15375|      2|    if (init_fs_codec(interp) < 0) {
  ------------------
  |  Branch (15375:9): [True: 0, False: 2]
  ------------------
15376|      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)}
  ------------------
15377|      0|    }
15378|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
15379|      2|}
unicodeobject.c:config_get_codec_name:
15241|      4|{
15242|      4|    char *encoding;
15243|      4|    if (encode_wstr_utf8(*config_encoding, &encoding, "stdio_encoding") < 0) {
  ------------------
  |  Branch (15243:9): [True: 0, False: 4]
  ------------------
15244|      0|        return -1;
15245|      0|    }
15246|       |
15247|      4|    PyObject *name_obj = NULL;
15248|      4|    PyObject *codec = _PyCodec_Lookup(encoding);
15249|      4|    PyMem_RawFree(encoding);
15250|       |
15251|      4|    if (!codec)
  ------------------
  |  Branch (15251:9): [True: 0, False: 4]
  ------------------
15252|      0|        goto error;
15253|       |
15254|      4|    name_obj = PyObject_GetAttrString(codec, "name");
15255|      4|    Py_CLEAR(codec);
  ------------------
  |  |  487|      4|    do { \
  |  |  488|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  491|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      4|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      4|        } \
  |  |  494|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
15256|      4|    if (!name_obj) {
  ------------------
  |  Branch (15256:9): [True: 0, False: 4]
  ------------------
15257|      0|        goto error;
15258|      0|    }
15259|       |
15260|      4|    wchar_t *wname = PyUnicode_AsWideCharString(name_obj, NULL);
15261|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15262|      4|    if (wname == NULL) {
  ------------------
  |  Branch (15262:9): [True: 0, False: 4]
  ------------------
15263|      0|        goto error;
15264|      0|    }
15265|       |
15266|      4|    wchar_t *raw_wname = _PyMem_RawWcsdup(wname);
15267|      4|    if (raw_wname == NULL) {
  ------------------
  |  Branch (15267:9): [True: 0, False: 4]
  ------------------
15268|      0|        PyMem_Free(wname);
15269|      0|        PyErr_NoMemory();
15270|      0|        goto error;
15271|      0|    }
15272|       |
15273|      4|    PyMem_RawFree(*config_encoding);
15274|      4|    *config_encoding = raw_wname;
15275|       |
15276|      4|    PyMem_Free(wname);
15277|      4|    return 0;
15278|       |
15279|      0|error:
15280|      0|    Py_XDECREF(codec);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15281|      0|    Py_XDECREF(name_obj);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15282|      0|    return -1;
15283|      4|}
unicodeobject.c:encode_wstr_utf8:
15221|      8|{
15222|      8|    assert(str != NULL);
  ------------------
  |  Branch (15222:5): [True: 8, False: 0]
  ------------------
15223|       |
15224|      8|    size_t unused_output_length;
15225|      8|    int res = _Py_EncodeUTF8(wstr, str, &unused_output_length,
15226|      8|                             NULL, 1, _Py_ERROR_STRICT);
15227|      8|    if (res == -2) {
  ------------------
  |  Branch (15227:9): [True: 0, False: 8]
  ------------------
15228|      0|        PyErr_Format(PyExc_RuntimeError, "cannot encode %s", name);
15229|      0|        return -1;
15230|      0|    }
15231|      8|    if (res < 0) {
  ------------------
  |  Branch (15231:9): [True: 0, False: 8]
  ------------------
15232|      0|        PyErr_NoMemory();
15233|      0|        return -1;
15234|      0|    }
15235|      8|    return 0;
15236|      8|}
unicodeobject.c:init_fs_codec:
15305|      2|{
15306|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
15307|       |
15308|      2|    _Py_error_handler error_handler;
15309|      2|    error_handler = get_error_handler_wide(config->filesystem_errors);
15310|      2|    if (error_handler == _Py_ERROR_UNKNOWN) {
  ------------------
  |  Branch (15310:9): [True: 0, False: 2]
  ------------------
15311|      0|        PyErr_SetString(PyExc_RuntimeError, "unknown filesystem error handler");
15312|      0|        return -1;
15313|      0|    }
15314|       |
15315|      2|    char *encoding, *errors;
15316|      2|    if (encode_wstr_utf8(config->filesystem_encoding,
  ------------------
  |  Branch (15316:9): [True: 0, False: 2]
  ------------------
15317|      2|                         &encoding,
15318|      2|                         "filesystem_encoding") < 0) {
15319|      0|        return -1;
15320|      0|    }
15321|       |
15322|      2|    if (encode_wstr_utf8(config->filesystem_errors,
  ------------------
  |  Branch (15322:9): [True: 0, False: 2]
  ------------------
15323|      2|                         &errors,
15324|      2|                         "filesystem_errors") < 0) {
15325|      0|        PyMem_RawFree(encoding);
15326|      0|        return -1;
15327|      0|    }
15328|       |
15329|      2|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
15330|      2|    PyMem_RawFree(fs_codec->encoding);
15331|      2|    fs_codec->encoding = encoding;
15332|       |    /* encoding has been normalized by init_fs_encoding() */
15333|      2|    fs_codec->utf8 = (strcmp(encoding, "utf-8") == 0);
15334|      2|    PyMem_RawFree(fs_codec->errors);
15335|      2|    fs_codec->errors = errors;
15336|      2|    fs_codec->error_handler = error_handler;
15337|       |
15338|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
15339|       |    assert(fs_codec->utf8 == 1);
15340|       |#endif
15341|       |
15342|       |    /* At this point, PyUnicode_EncodeFSDefault() and
15343|       |       PyUnicode_DecodeFSDefault() can now use the Python codec rather than
15344|       |       the C implementation of the filesystem encoding. */
15345|       |
15346|       |    /* Set Py_FileSystemDefaultEncoding and Py_FileSystemDefaultEncodeErrors
15347|       |       global configuration variables. */
15348|      2|    if (_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (15348:9): [True: 2, False: 0]
  ------------------
15349|       |
15350|      2|        if (_Py_SetFileSystemEncoding(fs_codec->encoding,
  ------------------
  |  Branch (15350:13): [True: 0, False: 2]
  ------------------
15351|      2|                                      fs_codec->errors) < 0) {
15352|      0|            PyErr_NoMemory();
15353|      0|            return -1;
15354|      0|        }
15355|      2|    }
15356|      2|    return 0;
15357|      2|}
unicodeobject.c:init_stdio_encoding:
15288|      2|{
15289|       |    /* Update the stdio encoding to the normalized Python codec name. */
15290|      2|    PyConfig *config = (PyConfig*)_PyInterpreterState_GetConfig(interp);
15291|      2|    if (config->stdio_encoding == NULL) {
  ------------------
  |  Branch (15291:9): [True: 0, False: 2]
  ------------------
15292|       |        /* gh-86427: The encoding is determined for every stream. */
15293|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
15294|      0|    }
15295|      2|    if (config_get_codec_name(&config->stdio_encoding) < 0) {
  ------------------
  |  Branch (15295:9): [True: 0, False: 2]
  ------------------
15296|      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)}
  ------------------
15297|      0|                             "of the stdio encoding");
15298|      0|    }
15299|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
15300|      2|}

_PyUnicode_IsWhitespace:
 7091|      4|{
 7092|      4|    switch (ch) {
  ------------------
  |  Branch (7092:13): [True: 0, False: 4]
  ------------------
 7093|      0|    case 0x0009:
  ------------------
  |  Branch (7093:5): [True: 0, False: 4]
  ------------------
 7094|      0|    case 0x000A:
  ------------------
  |  Branch (7094:5): [True: 0, False: 4]
  ------------------
 7095|      0|    case 0x000B:
  ------------------
  |  Branch (7095:5): [True: 0, False: 4]
  ------------------
 7096|      0|    case 0x000C:
  ------------------
  |  Branch (7096:5): [True: 0, False: 4]
  ------------------
 7097|      0|    case 0x000D:
  ------------------
  |  Branch (7097:5): [True: 0, False: 4]
  ------------------
 7098|      0|    case 0x001C:
  ------------------
  |  Branch (7098:5): [True: 0, False: 4]
  ------------------
 7099|      0|    case 0x001D:
  ------------------
  |  Branch (7099:5): [True: 0, False: 4]
  ------------------
 7100|      0|    case 0x001E:
  ------------------
  |  Branch (7100:5): [True: 0, False: 4]
  ------------------
 7101|      0|    case 0x001F:
  ------------------
  |  Branch (7101:5): [True: 0, False: 4]
  ------------------
 7102|      0|    case 0x0020:
  ------------------
  |  Branch (7102:5): [True: 0, False: 4]
  ------------------
 7103|      0|    case 0x0085:
  ------------------
  |  Branch (7103:5): [True: 0, False: 4]
  ------------------
 7104|      0|    case 0x00A0:
  ------------------
  |  Branch (7104:5): [True: 0, False: 4]
  ------------------
 7105|      0|    case 0x1680:
  ------------------
  |  Branch (7105:5): [True: 0, False: 4]
  ------------------
 7106|      0|    case 0x2000:
  ------------------
  |  Branch (7106:5): [True: 0, False: 4]
  ------------------
 7107|      0|    case 0x2001:
  ------------------
  |  Branch (7107:5): [True: 0, False: 4]
  ------------------
 7108|      0|    case 0x2002:
  ------------------
  |  Branch (7108:5): [True: 0, False: 4]
  ------------------
 7109|      0|    case 0x2003:
  ------------------
  |  Branch (7109:5): [True: 0, False: 4]
  ------------------
 7110|      0|    case 0x2004:
  ------------------
  |  Branch (7110:5): [True: 0, False: 4]
  ------------------
 7111|      0|    case 0x2005:
  ------------------
  |  Branch (7111:5): [True: 0, False: 4]
  ------------------
 7112|      0|    case 0x2006:
  ------------------
  |  Branch (7112:5): [True: 0, False: 4]
  ------------------
 7113|      0|    case 0x2007:
  ------------------
  |  Branch (7113:5): [True: 0, False: 4]
  ------------------
 7114|      0|    case 0x2008:
  ------------------
  |  Branch (7114:5): [True: 0, False: 4]
  ------------------
 7115|      0|    case 0x2009:
  ------------------
  |  Branch (7115:5): [True: 0, False: 4]
  ------------------
 7116|      0|    case 0x200A:
  ------------------
  |  Branch (7116:5): [True: 0, False: 4]
  ------------------
 7117|      0|    case 0x2028:
  ------------------
  |  Branch (7117:5): [True: 0, False: 4]
  ------------------
 7118|      0|    case 0x2029:
  ------------------
  |  Branch (7118:5): [True: 0, False: 4]
  ------------------
 7119|      0|    case 0x202F:
  ------------------
  |  Branch (7119:5): [True: 0, False: 4]
  ------------------
 7120|      0|    case 0x205F:
  ------------------
  |  Branch (7120:5): [True: 0, False: 4]
  ------------------
 7121|      0|    case 0x3000:
  ------------------
  |  Branch (7121:5): [True: 0, False: 4]
  ------------------
 7122|      0|        return 1;
 7123|      4|    }
 7124|      4|    return 0;
 7125|      4|}

_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);
  ------------------
  |  |  621|     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);
  ------------------
  |  |  504|      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);
  ------------------
  |  |  621|      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);
  ------------------
  |  |  621|      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);
  ------------------
  |  |  621|      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);
  ------------------
  |  |  621|      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|     88|{
   37|     88|    unionobject *alias = (unionobject *)self;
   38|     88|    Py_VISIT(alias->args);
  ------------------
  |  |  194|     88|    do {                                                                \
  |  |  195|     88|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 88, False: 0]
  |  |  ------------------
  |  |  196|     88|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     88|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 88]
  |  |  ------------------
  |  |  198|     88|                return vret;                                            \
  |  |  199|     88|        }                                                               \
  |  |  200|     88|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 88]
  |  |  ------------------
  ------------------
   39|     88|    Py_VISIT(alias->hashable_args);
  ------------------
  |  |  194|     88|    do {                                                                \
  |  |  195|     88|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 88, False: 0]
  |  |  ------------------
  |  |  196|     88|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     88|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 88]
  |  |  ------------------
  |  |  198|     88|                return vret;                                            \
  |  |  199|     88|        }                                                               \
  |  |  200|     88|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 88]
  |  |  ------------------
  ------------------
   40|     88|    Py_VISIT(alias->unhashable_args);
  ------------------
  |  |  194|     88|    do {                                                                \
  |  |  195|     88|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 88]
  |  |  ------------------
  |  |  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|     88|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 88]
  |  |  ------------------
  ------------------
   41|     88|    Py_VISIT(alias->parameters);
  ------------------
  |  |  194|     88|    do {                                                                \
  |  |  195|     88|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 88]
  |  |  ------------------
  |  |  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|     88|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 88]
  |  |  ------------------
  ------------------
   42|     88|    return 0;
   43|     88|}
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);
  ------------------
  |  |  502|     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);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) 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);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) 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);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) 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:
   51|    193|{
   52|    193|    if (!_PyType_SUPPORTS_WEAKREFS(Py_TYPE(obj))) {
  ------------------
  |  |  213|    193|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    193|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    193|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (52:9): [True: 0, False: 193]
  ------------------
   53|      0|        return 0;
   54|      0|    }
   55|       |
   56|    193|    LOCK_WEAKREFS(obj);
   57|    193|    Py_ssize_t count = 0;
   58|    193|    PyWeakReference *head = *GET_WEAKREFS_LISTPTR(obj);
  ------------------
  |  |   46|    193|        ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
  ------------------
   59|    386|    while (head != NULL) {
  ------------------
  |  Branch (59:12): [True: 193, False: 193]
  ------------------
   60|    193|        ++count;
   61|    193|        head = head->wr_next;
   62|    193|    }
   63|    193|    UNLOCK_WEAKREFS(obj);
   64|    193|    return count;
   65|    193|}
_PyWeakref_ClearRef:
  142|      5|{
  143|      5|    assert(self != NULL);
  ------------------
  |  Branch (143:5): [True: 5, False: 0]
  ------------------
  144|      5|    assert(PyWeakref_Check(self));
  ------------------
  |  Branch (144:5): [True: 0, False: 0]
  |  Branch (144:5): [True: 0, False: 0]
  |  Branch (144:5): [True: 5, False: 0]
  ------------------
  145|      5|    clear_weakref_lock_held(self, NULL);
  146|      5|}
PyWeakref_NewRef:
  971|  1.22k|{
  972|  1.22k|    return (PyObject *)get_or_create_weakref(&_PyWeakref_RefType, ob,
  973|  1.22k|                                             callback);
  974|  1.22k|}
PyWeakref_GetRef:
 1002|     43|{
 1003|     43|    if (ref == NULL) {
  ------------------
  |  Branch (1003:9): [True: 0, False: 43]
  ------------------
 1004|      0|        *pobj = NULL;
 1005|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1006|      0|        return -1;
 1007|      0|    }
 1008|     43|    if (!PyWeakref_Check(ref)) {
  ------------------
  |  |   23|     43|        (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   15|     43|#define PyWeakref_CheckRef(op) PyObject_TypeCheck((op), &_PyWeakref_RefType)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|     86|#  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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1009|      0|        *pobj = NULL;
 1010|      0|        PyErr_SetString(PyExc_TypeError, "expected a weakref");
 1011|      0|        return -1;
 1012|      0|    }
 1013|     43|    *pobj = _PyWeakref_GET_REF(ref);
 1014|       |    return (*pobj != NULL);
 1015|     43|}
PyObject_ClearWeakRefs:
 1059|    790|{
 1060|    790|    PyWeakReference **list;
 1061|       |
 1062|    790|    if (object == NULL
  ------------------
  |  Branch (1062:9): [True: 0, False: 790]
  ------------------
 1063|    790|        || !_PyType_SUPPORTS_WEAKREFS(Py_TYPE(object))
  ------------------
  |  |  213|    790|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    790|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    790|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1063:12): [True: 0, False: 790]
  ------------------
 1064|    790|        || Py_REFCNT(object) != 0)
  ------------------
  |  |  119|    790|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    790|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    790|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1064:12): [True: 0, False: 790]
  ------------------
 1065|      0|    {
 1066|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1067|      0|        return;
 1068|      0|    }
 1069|       |
 1070|    790|    list = GET_WEAKREFS_LISTPTR(object);
  ------------------
  |  |   46|    790|        ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
  ------------------
 1071|    790|    if (FT_ATOMIC_LOAD_PTR(*list) == NULL) {
  ------------------
  |  |  147|    790|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  |  Branch (1071:9): [True: 597, False: 193]
  ------------------
 1072|       |        // Fast path for the common case
 1073|    597|        return;
 1074|    597|    }
 1075|       |
 1076|       |    /* Remove the callback-less basic and proxy references, which always appear
 1077|       |       at the head of the list.
 1078|       |    */
 1079|    386|    for (int done = 0; !done;) {
  ------------------
  |  Branch (1079:24): [True: 193, False: 193]
  ------------------
 1080|    193|        LOCK_WEAKREFS(object);
 1081|    193|        if (*list != NULL && is_basic_ref_or_proxy(*list)) {
  ------------------
  |  Branch (1081:13): [True: 193, False: 0]
  |  Branch (1081:30): [True: 0, False: 193]
  ------------------
 1082|      0|            PyObject *callback;
 1083|      0|            clear_weakref_lock_held(*list, &callback);
 1084|      0|            assert(callback == NULL);
  ------------------
  |  Branch (1084:13): [True: 0, False: 0]
  ------------------
 1085|      0|        }
 1086|    193|        done = (*list == NULL) || !is_basic_ref_or_proxy(*list);
  ------------------
  |  Branch (1086:16): [True: 0, False: 193]
  |  Branch (1086:35): [True: 193, False: 0]
  ------------------
 1087|    193|        UNLOCK_WEAKREFS(object);
 1088|    193|    }
 1089|       |
 1090|       |    /* Deal with non-canonical (subtypes or refs with callbacks) references. */
 1091|    193|    Py_ssize_t num_weakrefs = _PyWeakref_GetWeakrefCount(object);
 1092|    193|    if (num_weakrefs == 0) {
  ------------------
  |  Branch (1092:9): [True: 0, False: 193]
  ------------------
 1093|      0|        return;
 1094|      0|    }
 1095|       |
 1096|    193|    PyObject *exc = PyErr_GetRaisedException();
 1097|    193|    PyObject *tuple = PyTuple_New(num_weakrefs * 2);
 1098|    193|    if (tuple == NULL) {
  ------------------
  |  Branch (1098:9): [True: 0, False: 193]
  ------------------
 1099|      0|        _PyWeakref_ClearWeakRefsNoCallbacks(object);
 1100|      0|        PyErr_FormatUnraisable("Exception ignored while "
 1101|      0|                               "clearing object weakrefs");
 1102|      0|        PyErr_SetRaisedException(exc);
 1103|      0|        return;
 1104|      0|    }
 1105|       |
 1106|    193|    Py_ssize_t num_items = 0;
 1107|    386|    for (int done = 0; !done;) {
  ------------------
  |  Branch (1107:24): [True: 193, False: 193]
  ------------------
 1108|    193|        PyObject *callback = NULL;
 1109|    193|        LOCK_WEAKREFS(object);
 1110|    193|        PyWeakReference *cur = *list;
 1111|    193|        if (cur != NULL) {
  ------------------
  |  Branch (1111:13): [True: 193, False: 0]
  ------------------
 1112|    193|            clear_weakref_lock_held(cur, &callback);
 1113|    193|            if (_Py_TryIncref((PyObject *) cur)) {
  ------------------
  |  Branch (1113:17): [True: 193, False: 0]
  ------------------
 1114|    193|                assert(num_items / 2 < num_weakrefs);
  ------------------
  |  Branch (1114:17): [True: 193, False: 0]
  ------------------
 1115|    193|                PyTuple_SET_ITEM(tuple, num_items, (PyObject *) cur);
  ------------------
  |  |   40|    193|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    193|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    193|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    193|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    193|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1116|    193|                PyTuple_SET_ITEM(tuple, num_items + 1, callback);
  ------------------
  |  |   40|    193|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    193|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    193|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    193|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    193|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1117|    193|                num_items += 2;
 1118|    193|                callback = NULL;
 1119|    193|            }
 1120|    193|        }
 1121|    193|        done = (*list == NULL);
 1122|    193|        UNLOCK_WEAKREFS(object);
 1123|       |
 1124|    193|        Py_XDECREF(callback);
  ------------------
  |  |  621|    193|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    193|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    193|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1125|    193|    }
 1126|       |
 1127|    386|    for (Py_ssize_t i = 0; i < num_items; i += 2) {
  ------------------
  |  Branch (1127:28): [True: 193, False: 193]
  ------------------
 1128|    193|        PyObject *callback = PyTuple_GET_ITEM(tuple, i + 1);
  ------------------
  |  |   29|    193|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    193|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    193|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1128:30): [True: 193, False: 0]
  ------------------
 1129|    193|        if (callback != NULL) {
  ------------------
  |  Branch (1129:13): [True: 193, False: 0]
  ------------------
 1130|    193|            PyObject *weakref = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|    193|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    193|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    193|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1130:33): [True: 193, False: 0]
  ------------------
 1131|      0|            handle_callback((PyWeakReference *)weakref, callback);
 1132|    193|        }
 1133|    193|    }
 1134|       |
 1135|    193|    Py_DECREF(tuple);
  ------------------
  |  |  430|    193|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    193|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    193|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1136|       |
 1137|    193|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (1137:5): [True: 193, False: 0]
  ------------------
 1138|    193|    PyErr_SetRaisedException(exc);
 1139|    193|}
weakrefobject.c:clear_weakref_lock_held:
   88|    442|{
   89|    442|    if (self->wr_object != Py_None) {
  ------------------
  |  |  616|    442|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (89:9): [True: 244, False: 198]
  ------------------
   90|    244|        PyWeakReference **list = GET_WEAKREFS_LISTPTR(self->wr_object);
  ------------------
  |  |   46|    244|        ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
  ------------------
   91|    244|        if (*list == self) {
  ------------------
  |  Branch (91:13): [True: 222, False: 22]
  ------------------
   92|       |            /* If 'self' is the end of the list (and thus self->wr_next ==
   93|       |               NULL) then the weakref list itself (and thus the value of *list)
   94|       |               will end up being set to NULL. */
   95|    222|            FT_ATOMIC_STORE_PTR_RELEASE(*list, self->wr_next);
  ------------------
  |  |  166|    222|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
   96|    222|        }
   97|    244|        FT_ATOMIC_STORE_PTR_RELEASE(self->wr_object, Py_None);
  ------------------
  |  |  166|    244|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
   98|    244|        if (self->wr_prev != NULL) {
  ------------------
  |  Branch (98:13): [True: 22, False: 222]
  ------------------
   99|     22|            self->wr_prev->wr_next = self->wr_next;
  100|     22|        }
  101|    244|        if (self->wr_next != NULL) {
  ------------------
  |  Branch (101:13): [True: 3, False: 241]
  ------------------
  102|      3|            self->wr_next->wr_prev = self->wr_prev;
  103|      3|        }
  104|    244|        self->wr_prev = NULL;
  105|    244|        self->wr_next = NULL;
  106|    244|    }
  107|    442|    if (callback != NULL) {
  ------------------
  |  Branch (107:9): [True: 437, False: 5]
  ------------------
  108|    437|        *callback = self->wr_callback;
  109|       |        self->wr_callback = NULL;
  110|    437|    }
  111|    442|}
weakrefobject.c:weakref_dealloc:
  150|    244|{
  151|    244|    PyObject_GC_UnTrack(self);
  152|    244|    clear_weakref(self);
  153|    244|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|    244|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    244|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    244|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  154|    244|}
weakrefobject.c:clear_weakref:
  116|    244|{
  117|    244|    PyWeakReference *self = _PyWeakref_CAST(op);
  ------------------
  |  |   46|    244|    (assert(PyWeakref_Check(op)), _Py_CAST(PyWeakReference*, (op)))
  |  |  ------------------
  |  |  |  |   37|    244|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (117:29): [True: 0, False: 0]
  |  Branch (117:29): [True: 0, False: 0]
  |  Branch (117:29): [True: 244, False: 0]
  ------------------
  118|    244|    PyObject *callback = NULL;
  119|       |
  120|       |    // self->wr_object may be Py_None if the GC cleared the weakref, so lock
  121|       |    // using the pointer in the weakref.
  122|    244|    LOCK_WEAKREFS_FOR_WR(self);
  123|    244|    clear_weakref_lock_held(self, &callback);
  124|    244|    UNLOCK_WEAKREFS_FOR_WR(self);
  125|    244|    Py_XDECREF(callback);
  ------------------
  |  |  621|    244|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    244|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    244|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  126|    244|}
weakrefobject.c:weakref_hash_impl:
  205|    168|{
  206|    168|    if (self->hash != -1)
  ------------------
  |  Branch (206:9): [True: 2, False: 166]
  ------------------
  207|      2|        return self->hash;
  208|    166|    PyObject* obj = _PyWeakref_GET_REF((PyObject*)self);
  209|    166|    if (obj == NULL) {
  ------------------
  |  Branch (209:9): [True: 0, False: 166]
  ------------------
  210|      0|        PyErr_SetString(PyExc_TypeError, "weak object has gone away");
  211|      0|        return -1;
  212|      0|    }
  213|    166|    self->hash = PyObject_Hash(obj);
  214|    166|    Py_DECREF(obj);
  ------------------
  |  |  430|    166|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    166|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    166|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  215|    166|    return self->hash;
  216|    166|}
weakrefobject.c:gc_traverse:
  159|  2.00k|{
  160|  2.00k|    PyWeakReference *self = _PyWeakref_CAST(op);
  ------------------
  |  |   46|  2.00k|    (assert(PyWeakref_Check(op)), _Py_CAST(PyWeakReference*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (160:29): [True: 0, False: 0]
  |  Branch (160:29): [True: 0, False: 0]
  |  Branch (160:29): [True: 2.00k, False: 0]
  ------------------
  161|  2.00k|    Py_VISIT(self->wr_callback);
  ------------------
  |  |  194|  2.00k|    do {                                                                \
  |  |  195|  2.00k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 202, False: 1.80k]
  |  |  ------------------
  |  |  196|    202|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    202|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    202|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    202|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 202]
  |  |  ------------------
  |  |  198|    202|                return vret;                                            \
  |  |  199|    202|        }                                                               \
  |  |  200|  2.00k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.00k]
  |  |  ------------------
  ------------------
  162|  2.00k|    return 0;
  163|  2.00k|}
weakrefobject.c:weakref_ref_init_impl:
  505|    112|{
  506|       |    /* The arguments were already used by __new__; only validate them. */
  507|    112|    return 0;
  508|    112|}
weakrefobject.c:weakref_ref_new_impl:
  489|    195|{
  490|    195|    return (PyObject *)get_or_create_weakref(type, object, callback);
  491|    195|}
weakrefobject.c:get_or_create_weakref:
  419|  1.42k|{
  420|  1.42k|    if (!_PyType_SUPPORTS_WEAKREFS(Py_TYPE(obj))) {
  ------------------
  |  |  213|  1.42k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (420:9): [True: 0, False: 1.42k]
  ------------------
  421|      0|        PyErr_Format(PyExc_TypeError,
  422|      0|                     "cannot create weak reference to '%s' object",
  423|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  424|      0|        return NULL;
  425|      0|    }
  426|  1.42k|    if (callback == Py_None) {
  ------------------
  |  |  616|  1.42k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (426:9): [True: 0, False: 1.42k]
  ------------------
  427|      0|        callback = NULL;
  428|      0|    }
  429|  1.42k|    if (callback != NULL && !PyCallable_Check(callback)) {
  ------------------
  |  Branch (429:9): [True: 315, False: 1.10k]
  |  Branch (429:29): [True: 0, False: 315]
  ------------------
  430|      0|        PyErr_Format(PyExc_TypeError,
  431|      0|                     "callback must be callable or None, not '%T'",
  432|      0|                     callback);
  433|      0|        return NULL;
  434|      0|    }
  435|       |
  436|  1.42k|    PyWeakReference **list = GET_WEAKREFS_LISTPTR(obj);
  ------------------
  |  |   46|  1.42k|        ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
  ------------------
  437|  1.42k|    if ((type == &_PyWeakref_RefType) ||
  ------------------
  |  Branch (437:9): [True: 1.31k, False: 112]
  ------------------
  438|    112|        (type == &_PyWeakref_ProxyType) ||
  ------------------
  |  Branch (438:9): [True: 0, False: 112]
  ------------------
  439|    112|        (type == &_PyWeakref_CallableProxyType))
  ------------------
  |  Branch (439:9): [True: 0, False: 112]
  ------------------
  440|  1.31k|    {
  441|  1.31k|        LOCK_WEAKREFS(obj);
  442|  1.31k|        PyWeakReference *basic_ref = try_reuse_basic_ref(*list, type, callback);
  443|  1.31k|        if (basic_ref != NULL) {
  ------------------
  |  Branch (443:13): [True: 123, False: 1.18k]
  ------------------
  444|    123|            UNLOCK_WEAKREFS(obj);
  445|    123|            return basic_ref;
  446|    123|        }
  447|  1.18k|        PyWeakReference *newref = allocate_weakref(type, obj, callback);
  448|  1.18k|        if (newref == NULL) {
  ------------------
  |  Branch (448:13): [True: 0, False: 1.18k]
  ------------------
  449|      0|            UNLOCK_WEAKREFS(obj);
  450|      0|            return NULL;
  451|      0|        }
  452|  1.18k|        insert_weakref(newref, list);
  453|  1.18k|        UNLOCK_WEAKREFS(obj);
  454|  1.18k|        return newref;
  455|  1.18k|    }
  456|    112|    else {
  457|       |        // We may not be able to safely allocate inside the lock
  458|    112|        PyWeakReference *newref = allocate_weakref(type, obj, callback);
  459|    112|        if (newref == NULL) {
  ------------------
  |  Branch (459:13): [True: 0, False: 112]
  ------------------
  460|      0|            return NULL;
  461|      0|        }
  462|    112|        LOCK_WEAKREFS(obj);
  463|    112|        insert_weakref(newref, list);
  464|    112|        UNLOCK_WEAKREFS(obj);
  465|    112|        return newref;
  466|    112|    }
  467|  1.42k|}
weakrefobject.c:try_reuse_basic_ref:
  339|  1.31k|{
  340|  1.31k|    if (callback != NULL) {
  ------------------
  |  Branch (340:9): [True: 203, False: 1.10k]
  ------------------
  341|    203|        return NULL;
  342|    203|    }
  343|       |
  344|  1.10k|    PyWeakReference *ref, *proxy;
  345|  1.10k|    get_basic_refs(list, &ref, &proxy);
  346|       |
  347|  1.10k|    PyWeakReference *cand = NULL;
  348|  1.10k|    if (type == &_PyWeakref_RefType) {
  ------------------
  |  Branch (348:9): [True: 1.10k, False: 0]
  ------------------
  349|  1.10k|        cand = ref;
  350|  1.10k|    }
  351|  1.10k|    if ((type == &_PyWeakref_ProxyType) ||
  ------------------
  |  Branch (351:9): [True: 0, False: 1.10k]
  ------------------
  352|  1.10k|        (type == &_PyWeakref_CallableProxyType)) {
  ------------------
  |  Branch (352:9): [True: 0, False: 1.10k]
  ------------------
  353|      0|        cand = proxy;
  354|      0|    }
  355|       |
  356|  1.10k|    if (cand != NULL && _Py_TryIncref((PyObject *) cand)) {
  ------------------
  |  Branch (356:9): [True: 123, False: 986]
  |  Branch (356:25): [True: 123, False: 0]
  ------------------
  357|    123|        return cand;
  358|    123|    }
  359|    986|    return NULL;
  360|  1.10k|}
weakrefobject.c:get_basic_refs:
  286|  2.41k|{
  287|  2.41k|    *refp = NULL;
  288|  2.41k|    *proxyp = NULL;
  289|       |
  290|  2.41k|    if (head != NULL && head->wr_callback == NULL) {
  ------------------
  |  Branch (290:9): [True: 245, False: 2.16k]
  |  Branch (290:25): [True: 245, False: 0]
  ------------------
  291|       |        /* We need to be careful that the "basic refs" aren't
  292|       |           subclasses of the main types.  That complicates this a
  293|       |           little. */
  294|    245|        if (PyWeakref_CheckRefExact(head)) {
  ------------------
  |  |   17|    245|        Py_IS_TYPE((op), &_PyWeakref_RefType)
  |  |  ------------------
  |  |  |  |  215|    245|#  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  295|    245|            *refp = head;
  296|    245|            head = head->wr_next;
  297|    245|        }
  298|    245|        if (head != NULL
  ------------------
  |  Branch (298:13): [True: 51, False: 194]
  ------------------
  299|     51|            && head->wr_callback == NULL
  ------------------
  |  Branch (299:16): [True: 0, False: 51]
  ------------------
  300|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  301|      0|            *proxyp = head;
  302|       |            /* head = head->wr_next; */
  303|      0|        }
  304|    245|    }
  305|  2.41k|}
weakrefobject.c:allocate_weakref:
  408|  1.30k|{
  409|  1.30k|    PyWeakReference *newref = (PyWeakReference *) type->tp_alloc(type, 0);
  410|  1.30k|    if (newref == NULL) {
  ------------------
  |  Branch (410:9): [True: 0, False: 1.30k]
  ------------------
  411|      0|        return NULL;
  412|      0|    }
  413|  1.30k|    init_weakref(newref, obj, callback);
  414|  1.30k|    return newref;
  415|  1.30k|}
weakrefobject.c:init_weakref:
   71|  1.30k|{
   72|  1.30k|    self->hash = -1;
   73|  1.30k|    self->wr_object = ob;
   74|  1.30k|    self->wr_prev = NULL;
   75|  1.30k|    self->wr_next = NULL;
   76|  1.30k|    self->wr_callback = Py_XNewRef(callback);
  ------------------
  |  |  648|  1.30k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   77|  1.30k|    self->vectorcall = weakref_vectorcall;
   78|       |#ifdef Py_GIL_DISABLED
   79|       |    self->weakrefs_lock = &WEAKREF_LIST_LOCK(ob);
   80|       |    _PyObject_SetMaybeWeakref(ob);
   81|       |    _PyObject_SetMaybeWeakref((PyObject *)self);
   82|       |#endif
   83|  1.30k|}
weakrefobject.c:weakref_vectorcall:
  182|    143|{
  183|    143|    if (!_PyArg_NoKwnames("weakref", kwnames)) {
  ------------------
  |  |   16|    143|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 143, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  184|      0|        return NULL;
  185|      0|    }
  186|    143|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    143|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  187|    143|    if (!_PyArg_CheckPositional("weakref", nargs, 0, 0)) {
  ------------------
  |  |   38|    143|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 143, False: 0]
  |  |  |  Branch (38:27): [True: 143, False: 0]
  |  |  ------------------
  |  |   39|    143|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  188|      0|        return NULL;
  189|      0|    }
  190|    143|    PyObject *obj = _PyWeakref_GET_REF(self);
  191|    143|    if (obj == NULL) {
  ------------------
  |  Branch (191:9): [True: 0, False: 143]
  ------------------
  192|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  193|      0|    }
  194|    143|    return obj;
  195|    143|}
weakrefobject.c:insert_weakref:
  383|  1.30k|{
  384|  1.30k|    PyWeakReference *ref, *proxy;
  385|  1.30k|    get_basic_refs(*list, &ref, &proxy);
  386|       |
  387|  1.30k|    PyWeakReference *prev;
  388|  1.30k|    if (is_basic_ref(newref)) {
  ------------------
  |  Branch (388:9): [True: 986, False: 315]
  ------------------
  389|    986|        prev = NULL;
  390|    986|    }
  391|    315|    else if (is_basic_proxy(newref)) {
  ------------------
  |  Branch (391:14): [True: 0, False: 315]
  ------------------
  392|      0|        prev = ref;
  393|      0|    }
  394|    315|    else {
  395|    315|        prev = (proxy == NULL) ? ref : proxy;
  ------------------
  |  Branch (395:16): [True: 315, False: 0]
  ------------------
  396|    315|    }
  397|       |
  398|  1.30k|    if (prev == NULL) {
  ------------------
  |  Branch (398:9): [True: 1.17k, False: 122]
  ------------------
  399|  1.17k|        insert_head(newref, list);
  400|  1.17k|    }
  401|    122|    else {
  402|    122|        insert_after(newref, prev);
  403|    122|    }
  404|  1.30k|}
weakrefobject.c:is_basic_ref:
  364|  1.68k|{
  365|  1.68k|    return (ref->wr_callback == NULL) && PyWeakref_CheckRefExact(ref);
  ------------------
  |  |   17|    986|        Py_IS_TYPE((op), &_PyWeakref_RefType)
  |  |  ------------------
  |  |  |  |  215|    986|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    986|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    986|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 986, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (365:12): [True: 986, False: 701]
  ------------------
  366|  1.68k|}
weakrefobject.c:is_basic_proxy:
  370|    701|{
  371|    701|    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 (371:12): [True: 0, False: 701]
  ------------------
  372|    701|}
weakrefobject.c:insert_head:
  323|  1.17k|{
  324|  1.17k|    PyWeakReference *next = *list;
  325|       |
  326|  1.17k|    newref->wr_prev = NULL;
  327|  1.17k|    newref->wr_next = next;
  328|  1.17k|    if (next != NULL)
  ------------------
  |  Branch (328:9): [True: 0, False: 1.17k]
  ------------------
  329|      0|        next->wr_prev = newref;
  330|  1.17k|    *list = newref;
  331|  1.17k|}
weakrefobject.c:insert_after:
  310|    122|{
  311|    122|    newref->wr_prev = prev;
  312|    122|    newref->wr_next = prev->wr_next;
  313|    122|    if (prev->wr_next != NULL)
  ------------------
  |  Branch (313:9): [True: 49, False: 73]
  ------------------
  314|     49|        prev->wr_next->wr_prev = newref;
  315|    122|    prev->wr_next = newref;
  316|    122|}
weakrefobject.c:is_basic_ref_or_proxy:
  376|    386|{
  377|    386|    return is_basic_ref(wr) || is_basic_proxy(wr);
  ------------------
  |  Branch (377:12): [True: 0, False: 386]
  |  Branch (377:32): [True: 0, False: 386]
  ------------------
  378|    386|}
weakrefobject.c:handle_callback:
 1039|    193|{
 1040|    193|    PyObject *cbresult = PyObject_CallOneArg(callback, (PyObject *)ref);
 1041|       |
 1042|    193|    if (cbresult == NULL) {
  ------------------
  |  Branch (1042:9): [True: 0, False: 193]
  ------------------
 1043|      0|        PyErr_FormatUnraisable("Exception ignored while "
 1044|      0|                               "calling weakref callback %R", callback);
 1045|      0|    }
 1046|    193|    else {
 1047|    193|        Py_DECREF(cbresult);
  ------------------
  |  |  430|    193|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    193|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    193|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1048|    193|    }
 1049|    193|}

_PyPegen_dummy_name:
   14|  1.59k|{
   15|  1.59k|    return &_PyRuntime.parser.dummy_name;
   16|  1.59k|}
_PyPegen_seq_insert_in_front:
   34|  2.02k|{
   35|  2.02k|    assert(a != NULL);
  ------------------
  |  Branch (35:5): [True: 2.02k, False: 0]
  ------------------
   36|  2.02k|    if (!seq) {
  ------------------
  |  Branch (36:9): [True: 0, False: 2.02k]
  ------------------
   37|      0|        return _PyPegen_singleton_seq(p, a);
   38|      0|    }
   39|       |
   40|  2.02k|    asdl_seq *new_seq = (asdl_seq*)_Py_asdl_generic_seq_new(asdl_seq_LEN(seq) + 1, p->arena);
  ------------------
  |  |   83|  2.02k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  4.04k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 2.02k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   41|  2.02k|    if (!new_seq) {
  ------------------
  |  Branch (41:9): [True: 0, False: 2.02k]
  ------------------
   42|      0|        return NULL;
   43|      0|    }
   44|       |
   45|  2.02k|    asdl_seq_SET_UNTYPED(new_seq, 0, a);
  ------------------
  |  |  106|  2.02k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  2.02k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   46|  2.05k|    for (Py_ssize_t i = 1, l = asdl_seq_LEN(new_seq); i < l; i++) {
  ------------------
  |  |   83|  2.02k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  4.04k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 2.02k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (46:55): [True: 32, False: 2.02k]
  ------------------
   47|     32|        asdl_seq_SET_UNTYPED(new_seq, i, asdl_seq_GET_UNTYPED(seq, i - 1));
  ------------------
  |  |  106|     32|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|     32|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   48|     32|    }
   49|  2.02k|    return new_seq;
   50|  2.02k|}
_PyPegen_cmpop_expr_pair:
  199|      1|{
  200|      1|    assert(expr != NULL);
  ------------------
  |  Branch (200:5): [True: 1, False: 0]
  ------------------
  201|      1|    CmpopExprPair *a = _PyArena_Malloc(p->arena, sizeof(CmpopExprPair));
  202|      1|    if (!a) {
  ------------------
  |  Branch (202:9): [True: 0, False: 1]
  ------------------
  203|      0|        return NULL;
  204|      0|    }
  205|      1|    a->cmpop = cmpop;
  206|      1|    a->expr = expr;
  207|      1|    return a;
  208|      1|}
_PyPegen_get_cmpops:
  212|      1|{
  213|      1|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|      1|    assert(len > 0);
  ------------------
  |  Branch (214:5): [True: 1, False: 0]
  ------------------
  215|       |
  216|      1|    asdl_int_seq *new_seq = _Py_asdl_int_seq_new(len, p->arena);
  217|      1|    if (!new_seq) {
  ------------------
  |  Branch (217:9): [True: 0, False: 1]
  ------------------
  218|      0|        return NULL;
  219|      0|    }
  220|      2|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (220:28): [True: 1, False: 1]
  ------------------
  221|      1|        CmpopExprPair *pair = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|      1|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  222|      1|        asdl_seq_SET(new_seq, i, pair->cmpop);
  ------------------
  |  |   94|      1|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  223|      1|    }
  224|      1|    return new_seq;
  225|      1|}
_PyPegen_get_exprs:
  229|      1|{
  230|      1|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  231|      1|    assert(len > 0);
  ------------------
  |  Branch (231:5): [True: 1, False: 0]
  ------------------
  232|       |
  233|      1|    asdl_expr_seq *new_seq = _Py_asdl_expr_seq_new(len, p->arena);
  234|      1|    if (!new_seq) {
  ------------------
  |  Branch (234:9): [True: 0, False: 1]
  ------------------
  235|      0|        return NULL;
  236|      0|    }
  237|      2|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (237:28): [True: 1, False: 1]
  ------------------
  238|      1|        CmpopExprPair *pair = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|      1|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  239|      1|        asdl_seq_SET(new_seq, i, pair->expr);
  ------------------
  |  |   94|      1|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  240|      1|    }
  241|      1|    return new_seq;
  242|      1|}
_PyPegen_name_default_pair:
  457|  8.76M|{
  458|  8.76M|    NameDefaultPair *a = _PyArena_Malloc(p->arena, sizeof(NameDefaultPair));
  459|  8.76M|    if (!a) {
  ------------------
  |  Branch (459:9): [True: 0, False: 8.76M]
  ------------------
  460|      0|        return NULL;
  461|      0|    }
  462|  8.76M|    a->arg = _PyPegen_add_type_comment_to_arg(p, arg, tc);
  463|  8.76M|    if (!a->arg) {
  ------------------
  |  Branch (463:9): [True: 0, False: 8.76M]
  ------------------
  464|      0|        return NULL;
  465|      0|    }
  466|  8.76M|    a->value = value;
  467|  8.76M|    return a;
  468|  8.76M|}
_PyPegen_join_sequences:
  499|     31|{
  500|     31|    Py_ssize_t first_len = asdl_seq_LEN(a);
  ------------------
  |  |   83|     31|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|     62|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 31]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|     31|    Py_ssize_t second_len = asdl_seq_LEN(b);
  ------------------
  |  |   83|     31|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|     62|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 31]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  502|     31|    asdl_seq *new_seq = (asdl_seq*)_Py_asdl_generic_seq_new(first_len + second_len, p->arena);
  503|     31|    if (!new_seq) {
  ------------------
  |  Branch (503:9): [True: 0, False: 31]
  ------------------
  504|      0|        return NULL;
  505|      0|    }
  506|       |
  507|     31|    int k = 0;
  508|  5.88M|    for (Py_ssize_t i = 0; i < first_len; i++) {
  ------------------
  |  Branch (508:28): [True: 5.88M, False: 31]
  ------------------
  509|  5.88M|        asdl_seq_SET_UNTYPED(new_seq, k++, asdl_seq_GET_UNTYPED(a, i));
  ------------------
  |  |  106|  5.88M|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  5.88M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  510|  5.88M|    }
  511|     31|    for (Py_ssize_t i = 0; i < second_len; i++) {
  ------------------
  |  Branch (511:28): [True: 0, False: 31]
  ------------------
  512|      0|        asdl_seq_SET_UNTYPED(new_seq, k++, asdl_seq_GET_UNTYPED(b, i));
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  513|      0|    }
  514|       |
  515|     31|    return new_seq;
  516|     31|}
_PyPegen_make_arguments:
  672|     31|{
  673|     31|    asdl_arg_seq *posonlyargs;
  674|     31|    if (_make_posonlyargs(p, slash_without_default, slash_with_default, &posonlyargs) == -1) {
  ------------------
  |  Branch (674:9): [True: 0, False: 31]
  ------------------
  675|      0|        return NULL;
  676|      0|    }
  677|       |
  678|     31|    asdl_arg_seq *posargs;
  679|     31|    if (_make_posargs(p, plain_names, names_with_default, &posargs) == -1) {
  ------------------
  |  Branch (679:9): [True: 0, False: 31]
  ------------------
  680|      0|        return NULL;
  681|      0|    }
  682|       |
  683|     31|    asdl_expr_seq *posdefaults;
  684|     31|    if (_make_posdefaults(p,slash_with_default, names_with_default, &posdefaults) == -1) {
  ------------------
  |  Branch (684:9): [True: 0, False: 31]
  ------------------
  685|      0|        return NULL;
  686|      0|    }
  687|       |
  688|     31|    arg_ty vararg = NULL;
  689|     31|    if (star_etc != NULL && star_etc->vararg != NULL) {
  ------------------
  |  Branch (689:9): [True: 0, False: 31]
  |  Branch (689:29): [True: 0, False: 0]
  ------------------
  690|      0|        vararg = star_etc->vararg;
  691|      0|    }
  692|       |
  693|     31|    asdl_arg_seq *kwonlyargs;
  694|     31|    asdl_expr_seq *kwdefaults;
  695|     31|    if (_make_kwargs(p, star_etc, &kwonlyargs, &kwdefaults) == -1) {
  ------------------
  |  Branch (695:9): [True: 0, False: 31]
  ------------------
  696|      0|        return NULL;
  697|      0|    }
  698|       |
  699|     31|    arg_ty kwarg = NULL;
  700|     31|    if (star_etc != NULL && star_etc->kwarg != NULL) {
  ------------------
  |  Branch (700:9): [True: 0, False: 31]
  |  Branch (700:29): [True: 0, False: 0]
  ------------------
  701|      0|        kwarg = star_etc->kwarg;
  702|      0|    }
  703|       |
  704|     31|    return _PyAST_arguments(posonlyargs, posargs, vararg, kwonlyargs,
  705|     31|                            kwdefaults, kwarg, posdefaults, p->arena);
  706|     31|}
_PyPegen_keyword_or_starred:
  796|    204|{
  797|    204|    KeywordOrStarred *a = _PyArena_Malloc(p->arena, sizeof(KeywordOrStarred));
  798|    204|    if (!a) {
  ------------------
  |  Branch (798:9): [True: 0, False: 204]
  ------------------
  799|      0|        return NULL;
  800|      0|    }
  801|    204|    a->element = element;
  802|    204|    a->is_keyword = is_keyword;
  803|    204|    return a;
  804|    204|}
_PyPegen_seq_extract_starred_exprs:
  823|     36|{
  824|     36|    int new_len = _seq_number_of_starred_exprs(kwargs);
  825|     36|    if (new_len == 0) {
  ------------------
  |  Branch (825:9): [True: 36, False: 0]
  ------------------
  826|     36|        return NULL;
  827|     36|    }
  828|      0|    asdl_expr_seq *new_seq = _Py_asdl_expr_seq_new(new_len, p->arena);
  829|      0|    if (!new_seq) {
  ------------------
  |  Branch (829:9): [True: 0, False: 0]
  ------------------
  830|      0|        return NULL;
  831|      0|    }
  832|       |
  833|      0|    int idx = 0;
  834|      0|    for (Py_ssize_t i = 0, len = asdl_seq_LEN(kwargs); i < len; i++) {
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (834:56): [True: 0, False: 0]
  ------------------
  835|      0|        KeywordOrStarred *k = asdl_seq_GET_UNTYPED(kwargs, i);
  ------------------
  |  |   81|      0|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  836|      0|        if (!k->is_keyword) {
  ------------------
  |  Branch (836:13): [True: 0, False: 0]
  ------------------
  837|      0|            asdl_seq_SET(new_seq, idx++, k->element);
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  838|      0|        }
  839|      0|    }
  840|      0|    return new_seq;
  841|      0|}
_PyPegen_seq_delete_starred_exprs:
  846|     36|{
  847|     36|    Py_ssize_t len = asdl_seq_LEN(kwargs);
  ------------------
  |  |   83|     36|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|     72|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 36]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  848|     36|    Py_ssize_t new_len = len - _seq_number_of_starred_exprs(kwargs);
  849|     36|    if (new_len == 0) {
  ------------------
  |  Branch (849:9): [True: 0, False: 36]
  ------------------
  850|      0|        return NULL;
  851|      0|    }
  852|     36|    asdl_keyword_seq *new_seq = _Py_asdl_keyword_seq_new(new_len, p->arena);
  853|     36|    if (!new_seq) {
  ------------------
  |  Branch (853:9): [True: 0, False: 36]
  ------------------
  854|      0|        return NULL;
  855|      0|    }
  856|       |
  857|     36|    int idx = 0;
  858|     72|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (858:28): [True: 36, False: 36]
  ------------------
  859|     36|        KeywordOrStarred *k = asdl_seq_GET_UNTYPED(kwargs, i);
  ------------------
  |  |   81|     36|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|     36|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  860|     36|        if (k->is_keyword) {
  ------------------
  |  Branch (860:13): [True: 36, False: 0]
  ------------------
  861|     36|            asdl_seq_SET(new_seq, idx++, k->element);
  ------------------
  |  |   94|     36|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|     36|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  862|     36|        }
  863|     36|    }
  864|     36|    return new_seq;
  865|     36|}
_PyPegen_add_type_comment_to_arg:
  929|  8.76M|{
  930|  8.76M|    if (tc == NULL) {
  ------------------
  |  Branch (930:9): [True: 8.76M, False: 0]
  ------------------
  931|  8.76M|        return a;
  932|  8.76M|    }
  933|      0|    const char *bytes = PyBytes_AsString(tc->bytes);
  934|      0|    if (bytes == NULL) {
  ------------------
  |  Branch (934:9): [True: 0, False: 0]
  ------------------
  935|      0|        return NULL;
  936|      0|    }
  937|      0|    PyObject *tco = _PyPegen_new_type_comment(p, bytes);
  938|      0|    if (tco == NULL) {
  ------------------
  |  Branch (938:9): [True: 0, False: 0]
  ------------------
  939|      0|        return NULL;
  940|      0|    }
  941|      0|    return _PyAST_arg(a->arg, a->annotation, tco,
  942|      0|                      a->lineno, a->col_offset, a->end_lineno, a->end_col_offset,
  943|      0|                      p->arena);
  944|      0|}
_PyPegen_check_legacy_stmt:
  965|     32|_PyPegen_check_legacy_stmt(Parser *p, expr_ty name) {
  966|     32|    if (name->kind != Name_kind) {
  ------------------
  |  Branch (966:9): [True: 0, False: 32]
  ------------------
  967|      0|        return 0;
  968|      0|    }
  969|     32|    const char* candidates[2] = {"print", "exec"};
  970|     96|    for (int i=0; i<2; i++) {
  ------------------
  |  Branch (970:19): [True: 64, False: 32]
  ------------------
  971|     64|        if (PyUnicode_CompareWithASCIIString(name->v.Name.id, candidates[i]) == 0) {
  ------------------
  |  Branch (971:13): [True: 0, False: 64]
  ------------------
  972|      0|            return 1;
  973|      0|        }
  974|     64|    }
  975|     32|    return 0;
  976|     32|}
_PyPegen_raise_error_for_missing_comma:
  980|      1|{
  981|       |    // Don't raise for legacy statements like "print x" or "exec x"
  982|      1|    if (_PyPegen_check_legacy_stmt(p, a)) {
  ------------------
  |  Branch (982:9): [True: 0, False: 1]
  ------------------
  983|      0|        return NULL;
  984|      0|    }
  985|       |    // Only raise inside parentheses/brackets (level > 0)
  986|      1|    if (p->tokens[p->mark - 1]->level == 0) {
  ------------------
  |  Branch (986:9): [True: 0, False: 1]
  ------------------
  987|      0|        return NULL;
  988|      0|    }
  989|       |    // For multi-line expressions (like string concatenations), point to the
  990|       |    // last line instead of the first for a more helpful error message.
  991|       |    // Use a->col_offset as the starting column since all strings in the
  992|       |    // concatenation typically share the same indentation.
  993|      1|    if (a->end_lineno > a->lineno) {
  ------------------
  |  Branch (993:9): [True: 0, False: 1]
  ------------------
  994|      0|        return RAISE_ERROR_KNOWN_LOCATION(
  995|      0|            p, PyExc_SyntaxError, a->end_lineno, a->col_offset,
  996|      0|            a->end_lineno, a->end_col_offset,
  997|      0|            "invalid syntax. Perhaps you forgot a comma?"
  998|      0|        );
  999|      0|    }
 1000|      1|    return RAISE_ERROR_KNOWN_LOCATION(
 1001|      1|        p, PyExc_SyntaxError, a->lineno, a->col_offset,
 1002|      1|        b->end_lineno, b->end_col_offset,
 1003|      1|        "invalid syntax. Perhaps you forgot a comma?"
 1004|      1|    );
 1005|      1|}
_PyPegen_collect_call_seqs:
 1204|  1.56k|                     int end_col_offset, PyArena *arena) {
 1205|  1.56k|    Py_ssize_t args_len = asdl_seq_LEN(a);
  ------------------
  |  |   83|  1.56k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  3.12k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.56k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1206|  1.56k|    Py_ssize_t total_len = args_len;
 1207|       |
 1208|  1.56k|    if (b == NULL) {
  ------------------
  |  Branch (1208:9): [True: 1.56k, False: 0]
  ------------------
 1209|  1.56k|        return _PyAST_Call(_PyPegen_dummy_name(p), a, NULL, lineno, col_offset,
 1210|  1.56k|                        end_lineno, end_col_offset, arena);
 1211|       |
 1212|  1.56k|    }
 1213|       |
 1214|      0|    asdl_expr_seq *starreds = _PyPegen_seq_extract_starred_exprs(p, b);
 1215|      0|    if (!starreds && PyErr_Occurred()) {
  ------------------
  |  Branch (1215:9): [True: 0, False: 0]
  |  Branch (1215:22): [True: 0, False: 0]
  ------------------
 1216|      0|        return NULL;
 1217|      0|    }
 1218|       |
 1219|      0|    asdl_keyword_seq *keywords = _PyPegen_seq_delete_starred_exprs(p, b);
 1220|      0|    if (!keywords && PyErr_Occurred()) {
  ------------------
  |  Branch (1220:9): [True: 0, False: 0]
  |  Branch (1220:22): [True: 0, False: 0]
  ------------------
 1221|      0|        return NULL;
 1222|      0|    }
 1223|       |
 1224|      0|    if (starreds) {
  ------------------
  |  Branch (1224:9): [True: 0, False: 0]
  ------------------
 1225|      0|        total_len += asdl_seq_LEN(starreds);
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1226|      0|    }
 1227|       |
 1228|      0|    asdl_expr_seq *args = _Py_asdl_expr_seq_new(total_len, arena);
 1229|      0|    if (args == NULL) {
  ------------------
  |  Branch (1229:9): [True: 0, False: 0]
  ------------------
 1230|      0|        return NULL;
 1231|      0|    }
 1232|       |
 1233|      0|    Py_ssize_t i = 0;
 1234|      0|    for (i = 0; i < args_len; i++) {
  ------------------
  |  Branch (1234:17): [True: 0, False: 0]
  ------------------
 1235|      0|        asdl_seq_SET(args, i, asdl_seq_GET(a, i));
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1236|      0|    }
 1237|      0|    for (; i < total_len; i++) {
  ------------------
  |  Branch (1237:12): [True: 0, False: 0]
  ------------------
 1238|      0|        asdl_seq_SET(args, i, asdl_seq_GET(starreds, i - args_len));
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1239|      0|    }
 1240|       |
 1241|      0|    return _PyAST_Call(_PyPegen_dummy_name(p), args, keywords, lineno,
 1242|      0|                       col_offset, end_lineno, end_col_offset, arena);
 1243|      0|}
_PyPegen_template_str:
 1476|      4|_PyPegen_template_str(Parser *p, Token *a, asdl_expr_seq *raw_expressions, Token *b) {
 1477|       |
 1478|      4|    asdl_expr_seq *resized_exprs = _get_resized_exprs(p, a, raw_expressions, b, 1);
 1479|      4|    if (resized_exprs == NULL) {
  ------------------
  |  Branch (1479:9): [True: 0, False: 4]
  ------------------
 1480|      0|        return NULL;
 1481|      0|    }
 1482|      4|    return _PyAST_TemplateStr(resized_exprs, a->lineno, a->col_offset,
 1483|      4|                              b->end_lineno, b->end_col_offset,
 1484|      4|                              p->arena);
 1485|      4|}
_PyPegen_constant_from_string:
 1561|    858|expr_ty _PyPegen_constant_from_string(Parser* p, Token* tok) {
 1562|    858|    if (tok->bytes == NULL) {
  ------------------
  |  Branch (1562:9): [True: 0, False: 858]
  ------------------
 1563|      0|        return _PyPegen_raise_incomplete_input(p);
 1564|      0|    }
 1565|    858|    const char *the_str = PyBytes_AS_STRING(tok->bytes);
  ------------------
  |  |   27|    858|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    858|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    858|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1566|    858|    PyObject *s = _PyPegen_parse_string(p, tok);
 1567|    858|    if (s == NULL) {
  ------------------
  |  Branch (1567:9): [True: 2, False: 856]
  ------------------
 1568|      2|        _Pypegen_raise_decode_error(p);
 1569|      2|        return NULL;
 1570|      2|    }
 1571|    856|    if (_PyArena_AddPyObject(p->arena, s) < 0) {
  ------------------
  |  Branch (1571:9): [True: 0, False: 856]
  ------------------
 1572|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1573|      0|        return NULL;
 1574|      0|    }
 1575|    856|    PyObject *kind = NULL;
 1576|    856|    if (the_str && the_str[0] == 'u') {
  ------------------
  |  Branch (1576:9): [True: 856, False: 0]
  |  Branch (1576:20): [True: 0, False: 856]
  ------------------
 1577|      0|        kind = _PyPegen_new_identifier(p, "u");
 1578|      0|        if (kind == NULL) {
  ------------------
  |  Branch (1578:13): [True: 0, False: 0]
  ------------------
 1579|      0|            return NULL;
 1580|      0|        }
 1581|      0|    }
 1582|    856|    return _PyAST_Constant(s, kind, tok->lineno, tok->col_offset, tok->end_lineno, tok->end_col_offset, p->arena);
 1583|    856|}
_PyPegen_interpolation:
 1639|      4|                                 int end_lineno, int end_col_offset, PyArena *arena) {
 1640|       |
 1641|      4|    int conversion_val = _get_interpolation_conversion(p, debug, conversion, format);
 1642|       |
 1643|       |    /* Find the non whitespace token after the "=" */
 1644|      4|    int debug_end_line, debug_end_offset;
 1645|      4|    PyObject *debug_metadata;
 1646|      4|    constant exprstr;
 1647|       |
 1648|      4|    if (conversion) {
  ------------------
  |  Branch (1648:9): [True: 0, False: 4]
  ------------------
 1649|      0|        debug_end_line = ((expr_ty) conversion->result)->lineno;
 1650|      0|        debug_end_offset = ((expr_ty) conversion->result)->col_offset;
 1651|      0|        debug_metadata = exprstr = conversion->metadata;
 1652|      0|    }
 1653|      4|    else if (format) {
  ------------------
  |  Branch (1653:14): [True: 0, False: 4]
  ------------------
 1654|      0|        debug_end_line = ((expr_ty) format->result)->lineno;
 1655|      0|        debug_end_offset = ((expr_ty) format->result)->col_offset + 1;
 1656|      0|        debug_metadata = exprstr = format->metadata;
 1657|      0|    }
 1658|      4|    else {
 1659|      4|        debug_end_line = end_lineno;
 1660|      4|        debug_end_offset = end_col_offset;
 1661|      4|        debug_metadata = exprstr = closing_brace->metadata;
 1662|      4|    }
 1663|       |
 1664|      4|    assert(exprstr != NULL);
  ------------------
  |  Branch (1664:5): [True: 4, False: 0]
  ------------------
 1665|      4|    PyObject *final_exprstr = debug
  ------------------
  |  Branch (1665:31): [True: 4, False: 0]
  ------------------
 1666|      4|        ? _strip_interpolation_debug_expr(exprstr)
 1667|      4|        : Py_NewRef(exprstr);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1668|      4|    if (!final_exprstr || _PyArena_AddPyObject(arena, final_exprstr) < 0) {
  ------------------
  |  Branch (1668:9): [True: 0, False: 4]
  |  Branch (1668:27): [True: 0, False: 4]
  ------------------
 1669|      0|        Py_XDECREF(final_exprstr);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1670|      0|        return NULL;
 1671|      0|    }
 1672|       |
 1673|      4|    expr_ty interpolation = _PyAST_Interpolation(
 1674|      4|        expression, final_exprstr, conversion_val, format ? (expr_ty) format->result : NULL,
  ------------------
  |  Branch (1674:52): [True: 0, False: 4]
  ------------------
 1675|      4|        lineno, col_offset, end_lineno,
 1676|      4|        end_col_offset, arena
 1677|      4|    );
 1678|       |
 1679|      4|    if (!interpolation || !debug) {
  ------------------
  |  Branch (1679:9): [True: 0, False: 4]
  |  Branch (1679:27): [True: 0, False: 4]
  ------------------
 1680|      0|        return interpolation;
 1681|      0|    }
 1682|       |
 1683|      4|    expr_ty debug_text = _PyAST_Constant(debug_metadata, NULL, lineno, col_offset + 1, debug_end_line,
 1684|      4|                                            debug_end_offset - 1, p->arena);
 1685|      4|    if (!debug_text) {
  ------------------
  |  Branch (1685:9): [True: 0, False: 4]
  ------------------
 1686|      0|        return NULL;
 1687|      0|    }
 1688|       |
 1689|      4|    asdl_expr_seq *values = _Py_asdl_expr_seq_new(2, arena);
 1690|      4|    if (!values) {
  ------------------
  |  Branch (1690:9): [True: 0, False: 4]
  ------------------
 1691|      0|        return NULL;
 1692|      0|    }
 1693|      4|    asdl_seq_SET(values, 0, debug_text);
  ------------------
  |  |   94|      4|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1694|      4|    asdl_seq_SET(values, 1, interpolation);
  ------------------
  |  |   94|      4|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1695|      4|    return _PyAST_JoinedStr(values, lineno, col_offset, debug_end_line, debug_end_offset, p->arena);
 1696|      4|}
_PyPegen_concatenate_tstrings:
 2019|      4|{
 2020|      4|    asdl_expr_seq *values = _build_concatenated_str(p, strings, lineno,
 2021|      4|        col_offset, end_lineno, end_col_offset, arena);
 2022|      4|    if (!values) {
  ------------------
  |  Branch (2022:9): [True: 0, False: 4]
  ------------------
 2023|      0|        return NULL;
 2024|      0|    }
 2025|      4|    return _PyAST_TemplateStr(values, lineno, col_offset, end_lineno,
 2026|      4|        end_col_offset, arena);
 2027|      4|}
_PyPegen_concatenate_strings:
 2033|    546|{
 2034|    546|    Py_ssize_t len = asdl_seq_LEN(strings);
  ------------------
  |  |   83|    546|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  1.09k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 546]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2035|    546|    assert(len > 0);
  ------------------
  |  Branch (2035:5): [True: 546, False: 0]
  ------------------
 2036|       |
 2037|    546|    int f_string_found = 0;
 2038|    546|    int unicode_string_found = 0;
 2039|    546|    int bytes_found = 0;
 2040|       |
 2041|    546|    Py_ssize_t i = 0;
 2042|  1.12k|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (2042:17): [True: 582, False: 546]
  ------------------
 2043|    582|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|    582|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    582|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2044|    582|        switch(elem->kind) {
 2045|    582|            case Constant_kind:
  ------------------
  |  Branch (2045:13): [True: 582, False: 0]
  ------------------
 2046|    582|                if (PyBytes_CheckExact(elem->v.Constant.value)) {
  ------------------
  |  |   29|    582|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|    582|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    582|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    582|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 20, False: 562]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2047|     20|                    bytes_found = 1;
 2048|    562|                } else {
 2049|    562|                    unicode_string_found = 1;
 2050|    562|                }
 2051|    582|                break;
 2052|      0|            case JoinedStr_kind:
  ------------------
  |  Branch (2052:13): [True: 0, False: 582]
  ------------------
 2053|      0|                f_string_found = 1;
 2054|      0|                break;
 2055|      0|            case TemplateStr_kind:
  ------------------
  |  Branch (2055:13): [True: 0, False: 582]
  ------------------
 2056|       |                // python.gram handles this; we should never get here
 2057|      0|                assert(0);
  ------------------
  |  Branch (2057:17): [Folded, False: 0]
  ------------------
 2058|      0|                break;
 2059|      0|            default:
  ------------------
  |  Branch (2059:13): [True: 0, False: 582]
  ------------------
 2060|      0|                f_string_found = 1;
 2061|      0|                break;
 2062|    582|        }
 2063|    582|    }
 2064|       |
 2065|       |    // Cannot mix unicode and bytes
 2066|    546|    if ((unicode_string_found || f_string_found) && bytes_found) {
  ------------------
  |  Branch (2066:10): [True: 544, False: 2]
  |  Branch (2066:34): [True: 0, False: 2]
  |  Branch (2066:53): [True: 0, False: 544]
  ------------------
 2067|      0|        RAISE_SYNTAX_ERROR("cannot mix bytes and nonbytes literals");
  ------------------
  |  |  242|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 2068|      0|        return NULL;
 2069|      0|    }
 2070|       |
 2071|       |    // If it's only bytes or only unicode string, do a simple concat
 2072|    546|    if (!f_string_found) {
  ------------------
  |  Branch (2072:9): [True: 546, False: 0]
  ------------------
 2073|    546|        if (len == 1) {
  ------------------
  |  Branch (2073:13): [True: 541, False: 5]
  ------------------
 2074|    541|            return asdl_seq_GET(strings, 0);
  ------------------
  |  |   82|    541|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    541|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2075|    541|        }
 2076|      5|        else if (bytes_found) {
  ------------------
  |  Branch (2076:18): [True: 1, False: 4]
  ------------------
 2077|      1|            return _build_concatenated_bytes(p, strings, lineno, col_offset,
 2078|      1|                end_lineno, end_col_offset, arena);
 2079|      1|        }
 2080|      4|        else {
 2081|      4|            return _build_concatenated_unicode(p, strings, lineno, col_offset,
 2082|      4|                end_lineno, end_col_offset, arena);
 2083|      4|        }
 2084|    546|    }
 2085|       |
 2086|      0|    return _build_concatenated_joined_str(p, strings, lineno,
 2087|      0|        col_offset, end_lineno, end_col_offset, arena);
 2088|    546|}
action_helpers.c:_make_posonlyargs:
  552|     31|                  asdl_arg_seq **posonlyargs) {
  553|     31|    if (slash_without_default != NULL) {
  ------------------
  |  Branch (553:9): [True: 0, False: 31]
  ------------------
  554|      0|        *posonlyargs = slash_without_default;
  555|      0|    }
  556|     31|    else if (slash_with_default != NULL) {
  ------------------
  |  Branch (556:14): [True: 0, False: 31]
  ------------------
  557|      0|        asdl_arg_seq *slash_with_default_names =
  558|      0|                _get_names(p, slash_with_default->names_with_defaults);
  559|      0|        if (!slash_with_default_names) {
  ------------------
  |  Branch (559:13): [True: 0, False: 0]
  ------------------
  560|      0|            return -1;
  561|      0|        }
  562|      0|        *posonlyargs = (asdl_arg_seq*)_PyPegen_join_sequences(
  563|      0|                p,
  564|      0|                (asdl_seq*)slash_with_default->plain_names,
  565|      0|                (asdl_seq*)slash_with_default_names);
  566|      0|    }
  567|     31|    else {
  568|     31|        *posonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  569|     31|    }
  570|     31|    return *posonlyargs == NULL ? -1 : 0;
  ------------------
  |  Branch (570:12): [True: 0, False: 31]
  ------------------
  571|     31|}
action_helpers.c:_get_names:
  520|     31|{
  521|     31|    Py_ssize_t len = asdl_seq_LEN(names_with_defaults);
  ------------------
  |  |   83|     31|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|     62|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 31]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  522|     31|    asdl_arg_seq *seq = _Py_asdl_arg_seq_new(len, p->arena);
  523|     31|    if (!seq) {
  ------------------
  |  Branch (523:9): [True: 0, False: 31]
  ------------------
  524|      0|        return NULL;
  525|      0|    }
  526|     31|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (526:28): [True: 0, False: 31]
  ------------------
  527|      0|        NameDefaultPair *pair = asdl_seq_GET_UNTYPED(names_with_defaults, i);
  ------------------
  |  |   81|      0|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  528|      0|        asdl_seq_SET(seq, i, pair->arg);
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  529|      0|    }
  530|     31|    return seq;
  531|     31|}
action_helpers.c:_make_posargs:
  577|     31|              asdl_arg_seq **posargs) {
  578|       |
  579|     31|    if (names_with_default != NULL) {
  ------------------
  |  Branch (579:9): [True: 31, False: 0]
  ------------------
  580|     31|        if (plain_names != NULL) {
  ------------------
  |  Branch (580:13): [True: 31, False: 0]
  ------------------
  581|     31|            asdl_arg_seq *names_with_default_names = _get_names(p, names_with_default);
  582|     31|            if (!names_with_default_names) {
  ------------------
  |  Branch (582:17): [True: 0, False: 31]
  ------------------
  583|      0|                return -1;
  584|      0|            }
  585|     31|            *posargs = (asdl_arg_seq*)_PyPegen_join_sequences(
  586|     31|                    p,(asdl_seq*)plain_names, (asdl_seq*)names_with_default_names);
  587|     31|        }
  588|      0|        else {
  589|      0|            *posargs = _get_names(p, names_with_default);
  590|      0|        }
  591|     31|    }
  592|      0|    else {
  593|      0|        if (plain_names != NULL) {
  ------------------
  |  Branch (593:13): [True: 0, False: 0]
  ------------------
  594|       |            // With the current grammar, we never get here.
  595|       |            // If that has changed, remove the assert, and test thoroughly.
  596|      0|            assert(0);
  ------------------
  |  Branch (596:13): [Folded, False: 0]
  ------------------
  597|      0|            *posargs = plain_names;
  598|      0|        }
  599|      0|        else {
  600|      0|            *posargs = _Py_asdl_arg_seq_new(0, p->arena);
  601|      0|        }
  602|      0|    }
  603|     31|    return *posargs == NULL ? -1 : 0;
  ------------------
  |  Branch (603:12): [True: 0, False: 31]
  ------------------
  604|     31|}
action_helpers.c:_make_posdefaults:
  610|     31|                  asdl_expr_seq **posdefaults) {
  611|     31|    if (slash_with_default != NULL && names_with_default != NULL) {
  ------------------
  |  Branch (611:9): [True: 0, False: 31]
  |  Branch (611:39): [True: 0, False: 0]
  ------------------
  612|      0|        asdl_expr_seq *slash_with_default_values =
  613|      0|                _get_defaults(p, slash_with_default->names_with_defaults);
  614|      0|        if (!slash_with_default_values) {
  ------------------
  |  Branch (614:13): [True: 0, False: 0]
  ------------------
  615|      0|            return -1;
  616|      0|        }
  617|      0|        asdl_expr_seq *names_with_default_values = _get_defaults(p, names_with_default);
  618|      0|        if (!names_with_default_values) {
  ------------------
  |  Branch (618:13): [True: 0, False: 0]
  ------------------
  619|      0|            return -1;
  620|      0|        }
  621|      0|        *posdefaults = (asdl_expr_seq*)_PyPegen_join_sequences(
  622|      0|                p,
  623|      0|                (asdl_seq*)slash_with_default_values,
  624|      0|                (asdl_seq*)names_with_default_values);
  625|      0|    }
  626|     31|    else if (slash_with_default == NULL && names_with_default != NULL) {
  ------------------
  |  Branch (626:14): [True: 31, False: 0]
  |  Branch (626:44): [True: 31, False: 0]
  ------------------
  627|     31|        *posdefaults = _get_defaults(p, names_with_default);
  628|     31|    }
  629|      0|    else if (slash_with_default != NULL && names_with_default == NULL) {
  ------------------
  |  Branch (629:14): [True: 0, False: 0]
  |  Branch (629:44): [True: 0, False: 0]
  ------------------
  630|      0|        *posdefaults = _get_defaults(p, slash_with_default->names_with_defaults);
  631|      0|    }
  632|      0|    else {
  633|      0|        *posdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  634|      0|    }
  635|     31|    return *posdefaults == NULL ? -1 : 0;
  ------------------
  |  Branch (635:12): [True: 0, False: 31]
  ------------------
  636|     31|}
action_helpers.c:_get_defaults:
  535|     31|{
  536|     31|    Py_ssize_t len = asdl_seq_LEN(names_with_defaults);
  ------------------
  |  |   83|     31|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|     62|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 31]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     31|    asdl_expr_seq *seq = _Py_asdl_expr_seq_new(len, p->arena);
  538|     31|    if (!seq) {
  ------------------
  |  Branch (538:9): [True: 0, False: 31]
  ------------------
  539|      0|        return NULL;
  540|      0|    }
  541|     31|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (541:28): [True: 0, False: 31]
  ------------------
  542|      0|        NameDefaultPair *pair = asdl_seq_GET_UNTYPED(names_with_defaults, i);
  ------------------
  |  |   81|      0|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  543|      0|        asdl_seq_SET(seq, i, pair->value);
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  544|      0|    }
  545|     31|    return seq;
  546|     31|}
action_helpers.c:_make_kwargs:
  641|     31|             asdl_expr_seq **kwdefaults) {
  642|     31|    if (star_etc != NULL && star_etc->kwonlyargs != NULL) {
  ------------------
  |  Branch (642:9): [True: 0, False: 31]
  |  Branch (642:29): [True: 0, False: 0]
  ------------------
  643|      0|        *kwonlyargs = _get_names(p, star_etc->kwonlyargs);
  644|      0|    }
  645|     31|    else {
  646|     31|        *kwonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  647|     31|    }
  648|       |
  649|     31|    if (*kwonlyargs == NULL) {
  ------------------
  |  Branch (649:9): [True: 0, False: 31]
  ------------------
  650|      0|        return -1;
  651|      0|    }
  652|       |
  653|     31|    if (star_etc != NULL && star_etc->kwonlyargs != NULL) {
  ------------------
  |  Branch (653:9): [True: 0, False: 31]
  |  Branch (653:29): [True: 0, False: 0]
  ------------------
  654|      0|        *kwdefaults = _get_defaults(p, star_etc->kwonlyargs);
  655|      0|    }
  656|     31|    else {
  657|     31|        *kwdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  658|     31|    }
  659|       |
  660|     31|    if (*kwdefaults == NULL) {
  ------------------
  |  Branch (660:9): [True: 0, False: 31]
  ------------------
  661|      0|        return -1;
  662|      0|    }
  663|       |
  664|     31|    return 0;
  665|     31|}
action_helpers.c:_seq_number_of_starred_exprs:
  809|     72|{
  810|     72|    int n = 0;
  811|    144|    for (Py_ssize_t i = 0, l = asdl_seq_LEN(seq); i < l; i++) {
  ------------------
  |  |   83|     72|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    144|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 72]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (811:51): [True: 72, False: 72]
  ------------------
  812|     72|        KeywordOrStarred *k = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|     72|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|     72|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  813|     72|        if (!k->is_keyword) {
  ------------------
  |  Branch (813:13): [True: 0, False: 72]
  ------------------
  814|      0|            n++;
  815|      0|        }
  816|     72|    }
  817|     72|    return n;
  818|     72|}
action_helpers.c:_get_resized_exprs:
 1391|      4|{
 1392|      4|    Py_ssize_t n_items = asdl_seq_LEN(raw_expressions);
  ------------------
  |  |   83|      4|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1393|      4|    Py_ssize_t total_items = n_items;
 1394|      8|    for (Py_ssize_t i = 0; i < n_items; i++) {
  ------------------
  |  Branch (1394:28): [True: 4, False: 4]
  ------------------
 1395|      4|        expr_ty item = asdl_seq_GET(raw_expressions, i);
  ------------------
  |  |   82|      4|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1396|      4|        if (item->kind == JoinedStr_kind) {
  ------------------
  |  Branch (1396:13): [True: 4, False: 0]
  ------------------
 1397|      4|            total_items += asdl_seq_LEN(item->v.JoinedStr.values) - 1;
  ------------------
  |  |   83|      4|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1398|      4|        }
 1399|      4|    }
 1400|       |
 1401|      4|    const char* quote_str = PyBytes_AsString(a->bytes);
 1402|      4|    if (quote_str == NULL) {
  ------------------
  |  Branch (1402:9): [True: 0, False: 4]
  ------------------
 1403|      0|        return NULL;
 1404|      0|    }
 1405|      4|    int is_raw = strpbrk(quote_str, "rR") != NULL;
 1406|       |
 1407|      4|    asdl_expr_seq *seq = _Py_asdl_expr_seq_new(total_items, p->arena);
 1408|      4|    if (seq == NULL) {
  ------------------
  |  Branch (1408:9): [True: 0, False: 4]
  ------------------
 1409|      0|        return NULL;
 1410|      0|    }
 1411|       |
 1412|      4|    Py_ssize_t index = 0;
 1413|      8|    for (Py_ssize_t i = 0; i < n_items; i++) {
  ------------------
  |  Branch (1413:28): [True: 4, False: 4]
  ------------------
 1414|      4|        expr_ty item = asdl_seq_GET(raw_expressions, i);
  ------------------
  |  |   82|      4|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1415|       |
 1416|       |        /* Debug expressions arrive as JoinedStr(text, value); flatten them
 1417|       |           into the surrounding string. */
 1418|      4|        if (item->kind == JoinedStr_kind) {
  ------------------
  |  Branch (1418:13): [True: 4, False: 0]
  ------------------
 1419|      4|            asdl_expr_seq *values = item->v.JoinedStr.values;
 1420|      4|            if (asdl_seq_LEN(values) != 2) {
  ------------------
  |  |   83|      4|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1420:17): [True: 0, False: 4]
  ------------------
 1421|      0|                PyErr_Format(PyExc_SystemError,
 1422|      0|                             is_tstring
  ------------------
  |  Branch (1422:30): [True: 0, False: 0]
  ------------------
 1423|      0|                             ? "unexpected TemplateStr node without debug data in t-string at line %d"
 1424|      0|                             : "unexpected JoinedStr node without debug data in f-string at line %d",
 1425|      0|                             item->lineno);
 1426|      0|                return NULL;
 1427|      0|            }
 1428|       |
 1429|      4|            expr_ty first = asdl_seq_GET(values, 0);
  ------------------
  |  |   82|      4|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1430|      4|            assert(first->kind == Constant_kind);
  ------------------
  |  Branch (1430:13): [True: 4, False: 0]
  ------------------
 1431|      4|            asdl_seq_SET(seq, index++, first);
  ------------------
  |  |   94|      4|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1432|       |
 1433|      4|            expr_ty second = asdl_seq_GET(values, 1);
  ------------------
  |  |   82|      4|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1434|      4|            assert((is_tstring &&
  ------------------
  |  Branch (1434:13): [True: 4, False: 0]
  |  Branch (1434:13): [True: 4, False: 0]
  |  Branch (1434:13): [True: 0, False: 0]
  ------------------
 1435|      4|                    second->kind == Interpolation_kind) ||
 1436|      4|                   second->kind == FormattedValue_kind);
 1437|      4|            asdl_seq_SET(seq, index++, second);
  ------------------
  |  |   94|      4|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1438|       |
 1439|      4|            continue;
 1440|      4|        }
 1441|       |
 1442|      0|        if (item->kind == Constant_kind) {
  ------------------
  |  Branch (1442:13): [True: 0, False: 0]
  ------------------
 1443|      0|            item = _PyPegen_decode_fstring_part(p, is_raw, item, b);
 1444|      0|            if (item == NULL) {
  ------------------
  |  Branch (1444:17): [True: 0, False: 0]
  ------------------
 1445|      0|                return NULL;
 1446|      0|            }
 1447|       |
 1448|       |            /* Tokenizer emits string parts even when the underlying string
 1449|       |            might become an empty value (e.g. FSTRING_MIDDLE with the value \\n)
 1450|       |            so we need to check for them and simplify it here. */
 1451|      0|            if (PyUnicode_CheckExact(item->v.Constant.value)
  ------------------
  |  |  104|      0|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1452|      0|                && PyUnicode_GET_LENGTH(item->v.Constant.value) == 0) {
  ------------------
  |  |  300|      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 (1452:20): [True: 0, False: 0]
  ------------------
 1453|      0|                continue;
 1454|      0|            }
 1455|      0|        }
 1456|      0|        asdl_seq_SET(seq, index++, item);
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1457|      0|    }
 1458|       |
 1459|      4|    asdl_expr_seq *resized_exprs;
 1460|      4|    if (index != total_items) {
  ------------------
  |  Branch (1460:9): [True: 0, False: 4]
  ------------------
 1461|      0|        resized_exprs = _Py_asdl_expr_seq_new(index, p->arena);
 1462|      0|        if (resized_exprs == NULL) {
  ------------------
  |  Branch (1462:13): [True: 0, False: 0]
  ------------------
 1463|      0|            return NULL;
 1464|      0|        }
 1465|      0|        for (Py_ssize_t i = 0; i < index; i++) {
  ------------------
  |  Branch (1465:32): [True: 0, False: 0]
  ------------------
 1466|      0|            asdl_seq_SET(resized_exprs, i, asdl_seq_GET(seq, i));
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1467|      0|        }
 1468|      0|    }
 1469|      4|    else {
 1470|      4|        resized_exprs = seq;
 1471|      4|    }
 1472|      4|    return resized_exprs;
 1473|      4|}
action_helpers.c:_get_interpolation_conversion:
 1588|      4|{
 1589|      4|    if (conversion != NULL) {
  ------------------
  |  Branch (1589:9): [True: 0, False: 4]
  ------------------
 1590|      0|        expr_ty conversion_expr = (expr_ty) conversion->result;
 1591|      0|        assert(conversion_expr->kind == Name_kind);
  ------------------
  |  Branch (1591:9): [True: 0, False: 0]
  ------------------
 1592|      0|        Py_UCS4 first = PyUnicode_READ_CHAR(conversion_expr->v.Name.id, 0);
  ------------------
  |  |  382|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1593|      0|        return Py_SAFE_DOWNCAST(first, Py_UCS4, 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))
  |  |  ------------------
  ------------------
 1594|      0|    }
 1595|      4|    else if (debug && !format) {
  ------------------
  |  Branch (1595:14): [True: 4, False: 0]
  |  Branch (1595:23): [True: 4, False: 0]
  ------------------
 1596|       |        /* If no conversion is specified, use !r for debug expressions */
 1597|      4|        return (int)'r';
 1598|      4|    }
 1599|      0|    return -1;
 1600|      4|}
action_helpers.c:_strip_interpolation_debug_expr:
 1604|      4|{
 1605|      4|    Py_ssize_t len = PyUnicode_GET_LENGTH(exprstr);
  ------------------
  |  |  300|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1606|       |
 1607|       |    /* Discard whitespace and explicit line continuations after the debug "="
 1608|       |       but preserve whitespace before it. */
 1609|      4|    while (len > 0) {
  ------------------
  |  Branch (1609:12): [True: 4, False: 0]
  ------------------
 1610|      4|        int has_newline = 0;
 1611|      4|        while (len > 0) {
  ------------------
  |  Branch (1611:16): [True: 4, False: 0]
  ------------------
 1612|      4|            Py_UCS4 c = PyUnicode_READ_CHAR(exprstr, len - 1);
  ------------------
  |  |  382|      4|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1613|      4|            if (!_PyUnicode_IsWhitespace(c)) {
  ------------------
  |  Branch (1613:17): [True: 4, False: 0]
  ------------------
 1614|      4|                break;
 1615|      4|            }
 1616|      0|            if (c == '\r' || c == '\n') {
  ------------------
  |  Branch (1616:17): [True: 0, False: 0]
  |  Branch (1616:30): [True: 0, False: 0]
  ------------------
 1617|      0|                has_newline = 1;
 1618|      0|            }
 1619|      0|            len--;
 1620|      0|        }
 1621|      4|        if (!has_newline || len == 0 ||
  ------------------
  |  Branch (1621:13): [True: 4, False: 0]
  |  Branch (1621:29): [True: 0, False: 0]
  ------------------
 1622|      0|            PyUnicode_READ_CHAR(exprstr, len - 1) != '\\')
  ------------------
  |  |  382|      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 (1622:13): [True: 0, False: 0]
  ------------------
 1623|      4|        {
 1624|      4|            break;
 1625|      4|        }
 1626|      0|        len--;
 1627|      0|    }
 1628|       |
 1629|       |    /* Preserve unexpected metadata instead of dropping source text. */
 1630|      4|    if (len == 0 || PyUnicode_READ_CHAR(exprstr, len - 1) != '=') {
  ------------------
  |  |  382|      4|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1630:9): [True: 0, False: 4]
  |  Branch (1630:21): [True: 0, False: 4]
  ------------------
 1631|      0|        return Py_NewRef(exprstr);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1632|      0|    }
 1633|       |
 1634|      4|    return PyUnicode_Substring(exprstr, 0, len - 1);
 1635|      4|}
action_helpers.c:_build_concatenated_str:
 1850|      4|{
 1851|      4|    Py_ssize_t len = asdl_seq_LEN(strings);
  ------------------
  |  |   83|      4|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1852|      4|    assert(len > 0);
  ------------------
  |  Branch (1852:5): [True: 4, False: 0]
  ------------------
 1853|       |
 1854|      4|    Py_ssize_t n_flattened_elements = 0;
 1855|      8|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1855:28): [True: 4, False: 4]
  ------------------
 1856|      4|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|      4|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1857|      4|        switch(elem->kind) {
 1858|      0|            case JoinedStr_kind:
  ------------------
  |  Branch (1858:13): [True: 0, False: 4]
  ------------------
 1859|      0|                n_flattened_elements += asdl_seq_LEN(elem->v.JoinedStr.values);
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1860|      0|                break;
 1861|      4|            case TemplateStr_kind:
  ------------------
  |  Branch (1861:13): [True: 4, False: 0]
  ------------------
 1862|      4|                n_flattened_elements += asdl_seq_LEN(elem->v.TemplateStr.values);
  ------------------
  |  |   83|      4|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1863|      4|                break;
 1864|      0|            default:
  ------------------
  |  Branch (1864:13): [True: 0, False: 4]
  ------------------
 1865|      0|                n_flattened_elements++;
 1866|      0|                break;
 1867|      4|        }
 1868|      4|    }
 1869|       |
 1870|       |
 1871|      4|    asdl_expr_seq* flattened = _Py_asdl_expr_seq_new(n_flattened_elements, p->arena);
 1872|      4|    if (flattened == NULL) {
  ------------------
  |  Branch (1872:9): [True: 0, False: 4]
  ------------------
 1873|      0|        return NULL;
 1874|      0|    }
 1875|       |
 1876|       |    /* build flattened list */
 1877|      4|    Py_ssize_t current_pos = 0;
 1878|      8|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1878:28): [True: 4, False: 4]
  ------------------
 1879|      4|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|      4|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1880|      4|        switch(elem->kind) {
 1881|      0|            case JoinedStr_kind:
  ------------------
  |  Branch (1881:13): [True: 0, False: 4]
  ------------------
 1882|      0|                for (Py_ssize_t j = 0; j < asdl_seq_LEN(elem->v.JoinedStr.values); j++) {
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1882:40): [True: 0, False: 0]
  ------------------
 1883|      0|                    expr_ty subvalue = asdl_seq_GET(elem->v.JoinedStr.values, j);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1884|      0|                    if (subvalue == NULL) {
  ------------------
  |  Branch (1884:25): [True: 0, False: 0]
  ------------------
 1885|      0|                        return NULL;
 1886|      0|                    }
 1887|      0|                    asdl_seq_SET(flattened, current_pos++, subvalue);
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1888|      0|                }
 1889|      0|                break;
 1890|      4|            case TemplateStr_kind:
  ------------------
  |  Branch (1890:13): [True: 4, False: 0]
  ------------------
 1891|     12|                for (Py_ssize_t j = 0; j < asdl_seq_LEN(elem->v.TemplateStr.values); j++) {
  ------------------
  |  |   83|     12|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|     24|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1891:40): [True: 8, False: 4]
  ------------------
 1892|      8|                    expr_ty subvalue = asdl_seq_GET(elem->v.TemplateStr.values, j);
  ------------------
  |  |   82|      8|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1893|      8|                    if (subvalue == NULL) {
  ------------------
  |  Branch (1893:25): [True: 0, False: 8]
  ------------------
 1894|      0|                        return NULL;
 1895|      0|                    }
 1896|      8|                    asdl_seq_SET(flattened, current_pos++, subvalue);
  ------------------
  |  |   94|      8|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1897|      8|                }
 1898|      4|                break;
 1899|      4|            default:
  ------------------
  |  Branch (1899:13): [True: 0, False: 4]
  ------------------
 1900|      0|                asdl_seq_SET(flattened, current_pos++, elem);
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1901|      0|                break;
 1902|      4|        }
 1903|      4|    }
 1904|       |
 1905|       |    /* calculate folded element count */
 1906|      4|    Py_ssize_t n_elements = 0;
 1907|      4|    int prev_is_constant = 0;
 1908|     12|    for (Py_ssize_t i = 0; i < n_flattened_elements; i++) {
  ------------------
  |  Branch (1908:28): [True: 8, False: 4]
  ------------------
 1909|      8|        expr_ty elem = asdl_seq_GET(flattened, i);
  ------------------
  |  |   82|      8|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1910|       |
 1911|       |        /* The concatenation of a FormattedValue and an empty Constant should
 1912|       |           lead to the FormattedValue itself. Thus, we will not take any empty
 1913|       |           constants into account, just as in `_PyPegen_joined_str` */
 1914|      8|        if (elem->kind == Constant_kind &&
  ------------------
  |  Branch (1914:13): [True: 4, False: 4]
  ------------------
 1915|      8|            PyUnicode_CheckExact(elem->v.Constant.value) &&
  ------------------
  |  |  104|      4|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|     12|#  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1916|      4|            PyUnicode_GET_LENGTH(elem->v.Constant.value) == 0)
  ------------------
  |  |  300|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1916:13): [True: 0, False: 4]
  ------------------
 1917|      0|            continue;
 1918|       |
 1919|      8|        if (!prev_is_constant || elem->kind != Constant_kind) {
  ------------------
  |  Branch (1919:13): [True: 4, False: 4]
  |  Branch (1919:34): [True: 4, False: 0]
  ------------------
 1920|      8|            n_elements++;
 1921|      8|        }
 1922|      8|        prev_is_constant = elem->kind == Constant_kind;
 1923|      8|    }
 1924|       |
 1925|      4|    asdl_expr_seq* values = _Py_asdl_expr_seq_new(n_elements, p->arena);
 1926|      4|    if (values == NULL) {
  ------------------
  |  Branch (1926:9): [True: 0, False: 4]
  ------------------
 1927|      0|        return NULL;
 1928|      0|    }
 1929|       |
 1930|       |    /* build folded list */
 1931|      4|    current_pos = 0;
 1932|     12|    for (Py_ssize_t i = 0; i < n_flattened_elements; i++) {
  ------------------
  |  Branch (1932:28): [True: 8, False: 4]
  ------------------
 1933|      8|        expr_ty elem = asdl_seq_GET(flattened, i);
  ------------------
  |  |   82|      8|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1934|       |
 1935|       |        /* if the current elem and the following are constants,
 1936|       |           fold them and all consequent constants */
 1937|      8|        if (elem->kind == Constant_kind) {
  ------------------
  |  Branch (1937:13): [True: 4, False: 4]
  ------------------
 1938|      4|            if (i + 1 < n_flattened_elements &&
  ------------------
  |  Branch (1938:17): [True: 4, False: 0]
  ------------------
 1939|      4|                asdl_seq_GET(flattened, i + 1)->kind == Constant_kind) {
  ------------------
  |  |   82|      4|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (1939:17): [True: 0, False: 4]
  ------------------
 1940|      0|                expr_ty first_elem = elem;
 1941|       |
 1942|       |                /* When a string is getting concatenated, the kind of the string
 1943|       |                   is determined by the first string in the concatenation
 1944|       |                   sequence.
 1945|       |
 1946|       |                   u"abc" "def" -> u"abcdef"
 1947|       |                   "abc" u"abc" ->  "abcabc" */
 1948|      0|                PyObject *kind = elem->v.Constant.kind;
 1949|       |
 1950|      0|                PyUnicodeWriter *writer = PyUnicodeWriter_Create(0);
 1951|      0|                if (writer == NULL) {
  ------------------
  |  Branch (1951:21): [True: 0, False: 0]
  ------------------
 1952|      0|                    return NULL;
 1953|      0|                }
 1954|      0|                expr_ty last_elem = elem;
 1955|      0|                Py_ssize_t j;
 1956|      0|                for (j = i; j < n_flattened_elements; j++) {
  ------------------
  |  Branch (1956:29): [True: 0, False: 0]
  ------------------
 1957|      0|                    expr_ty current_elem = asdl_seq_GET(flattened, j);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1958|      0|                    if (current_elem->kind == Constant_kind) {
  ------------------
  |  Branch (1958:25): [True: 0, False: 0]
  ------------------
 1959|      0|                        if (PyUnicodeWriter_WriteStr(writer,
  ------------------
  |  Branch (1959:29): [True: 0, False: 0]
  ------------------
 1960|      0|                                                     current_elem->v.Constant.value)) {
 1961|      0|                            PyUnicodeWriter_Discard(writer);
 1962|      0|                            return NULL;
 1963|      0|                        }
 1964|      0|                        last_elem = current_elem;
 1965|      0|                    } else {
 1966|      0|                        break;
 1967|      0|                    }
 1968|      0|                }
 1969|      0|                i = j - 1;
 1970|       |
 1971|      0|                PyObject *concat_str = PyUnicodeWriter_Finish(writer);
 1972|      0|                if (concat_str == NULL) {
  ------------------
  |  Branch (1972:21): [True: 0, False: 0]
  ------------------
 1973|      0|                    return NULL;
 1974|      0|                }
 1975|      0|                if (_PyArena_AddPyObject(p->arena, concat_str) < 0) {
  ------------------
  |  Branch (1975:21): [True: 0, False: 0]
  ------------------
 1976|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1977|      0|                    return NULL;
 1978|      0|                }
 1979|      0|                elem = _PyAST_Constant(concat_str, kind, first_elem->lineno,
 1980|      0|                                       first_elem->col_offset,
 1981|      0|                                       last_elem->end_lineno,
 1982|      0|                                       last_elem->end_col_offset, p->arena);
 1983|      0|                if (elem == NULL) {
  ------------------
  |  Branch (1983:21): [True: 0, False: 0]
  ------------------
 1984|      0|                    return NULL;
 1985|      0|                }
 1986|      0|            }
 1987|       |
 1988|       |            /* Drop all empty contanst strings */
 1989|      4|            if (PyUnicode_CheckExact(elem->v.Constant.value) &&
  ------------------
  |  |  104|      4|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1990|      4|                PyUnicode_GET_LENGTH(elem->v.Constant.value) == 0) {
  ------------------
  |  |  300|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1990:17): [True: 0, False: 4]
  ------------------
 1991|      0|                continue;
 1992|      0|            }
 1993|      4|        }
 1994|       |
 1995|      8|        asdl_seq_SET(values, current_pos++, elem);
  ------------------
  |  |   94|      8|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1996|      8|    }
 1997|       |
 1998|      4|    assert(current_pos == n_elements);
  ------------------
  |  Branch (1998:5): [True: 4, False: 0]
  ------------------
 1999|      4|    return values;
 2000|      4|}
action_helpers.c:_build_concatenated_bytes:
 1751|      1|{
 1752|      1|    Py_ssize_t len = asdl_seq_LEN(strings);
  ------------------
  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1753|      1|    assert(len > 0);
  ------------------
  |  Branch (1753:5): [True: 1, False: 0]
  ------------------
 1754|       |
 1755|       |    /* Bytes literals never get a kind, but just for consistency
 1756|       |        since they are represented as Constant nodes, we'll mirror
 1757|       |        the same behavior as unicode strings for determining the
 1758|       |        kind. */
 1759|      1|    PyObject *kind = asdl_seq_GET(strings, 0)->v.Constant.kind;
  ------------------
  |  |   82|      1|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1760|       |
 1761|      1|    Py_ssize_t total = 0;
 1762|     20|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1762:28): [True: 19, False: 1]
  ------------------
 1763|     19|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|     19|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|     19|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1764|     19|        PyObject *bytes = elem->v.Constant.value;
 1765|     19|        Py_ssize_t part = PyBytes_GET_SIZE(bytes);
  ------------------
  |  |   33|     19|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1766|     19|        if (part > PY_SSIZE_T_MAX - total) {
  ------------------
  |  |  137|     19|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1766:13): [True: 0, False: 19]
  ------------------
 1767|      0|            PyErr_NoMemory();
 1768|      0|            return NULL;
 1769|      0|        }
 1770|     19|        total += part;
 1771|     19|    }
 1772|       |
 1773|      1|    PyBytesWriter *writer = PyBytesWriter_Create(total);
 1774|      1|    if (writer == NULL) {
  ------------------
  |  Branch (1774:9): [True: 0, False: 1]
  ------------------
 1775|      0|        return NULL;
 1776|      0|    }
 1777|      1|    char *out = PyBytesWriter_GetData(writer);
 1778|       |
 1779|     20|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1779:28): [True: 19, False: 1]
  ------------------
 1780|     19|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|     19|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|     19|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1781|     19|        PyObject *bytes = elem->v.Constant.value;
 1782|     19|        Py_ssize_t part = PyBytes_GET_SIZE(bytes);
  ------------------
  |  |   33|     19|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1783|     19|        if (part > 0) {
  ------------------
  |  Branch (1783:13): [True: 19, False: 0]
  ------------------
 1784|     19|            memcpy(out, PyBytes_AS_STRING(bytes), part);
  ------------------
  |  |   27|     19|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1785|     19|            out += part;
 1786|     19|        }
 1787|     19|    }
 1788|       |
 1789|      1|    PyObject *res = PyBytesWriter_Finish(writer);
 1790|      1|    if (res == NULL) {
  ------------------
  |  Branch (1790:9): [True: 0, False: 1]
  ------------------
 1791|      0|        return NULL;
 1792|      0|    }
 1793|      1|    if (_PyArena_AddPyObject(arena, res) < 0) {
  ------------------
  |  Branch (1793:9): [True: 0, False: 1]
  ------------------
 1794|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1795|      0|        return NULL;
 1796|      0|    }
 1797|      1|    return _PyAST_Constant(res, kind, lineno, col_offset, end_lineno, end_col_offset, p->arena);
 1798|      1|}
action_helpers.c:_build_concatenated_unicode:
 1804|      4|{
 1805|      4|    Py_ssize_t len = asdl_seq_LEN(strings);
  ------------------
  |  |   83|      4|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1806|      4|    assert(len > 1);
  ------------------
  |  Branch (1806:5): [True: 4, False: 0]
  ------------------
 1807|       |
 1808|      4|    expr_ty first = asdl_seq_GET(strings, 0);
  ------------------
  |  |   82|      4|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1809|       |
 1810|       |    /* When a string is getting concatenated, the kind of the string
 1811|       |        is determined by the first string in the concatenation
 1812|       |        sequence.
 1813|       |
 1814|       |        u"abc" "def" -> u"abcdef"
 1815|       |        "abc" u"abc" ->  "abcabc" */
 1816|      4|    PyObject *kind = first->v.Constant.kind;
 1817|       |
 1818|      4|    PyUnicodeWriter *writer = PyUnicodeWriter_Create(0);
 1819|      4|    if (writer == NULL) {
  ------------------
  |  Branch (1819:9): [True: 0, False: 4]
  ------------------
 1820|      0|        return NULL;
 1821|      0|    }
 1822|       |
 1823|     26|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1823:28): [True: 22, False: 4]
  ------------------
 1824|     22|        expr_ty current_elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|     22|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|     22|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1825|     22|        assert(current_elem->kind == Constant_kind);
  ------------------
  |  Branch (1825:9): [True: 22, False: 0]
  ------------------
 1826|       |
 1827|     22|        if (PyUnicodeWriter_WriteStr(writer,
  ------------------
  |  Branch (1827:13): [True: 0, False: 22]
  ------------------
 1828|     22|                                     current_elem->v.Constant.value)) {
 1829|      0|            PyUnicodeWriter_Discard(writer);
 1830|      0|            return NULL;
 1831|      0|        }
 1832|     22|    }
 1833|       |
 1834|      4|    PyObject *final = PyUnicodeWriter_Finish(writer);
 1835|      4|    if (final == NULL) {
  ------------------
  |  Branch (1835:9): [True: 0, False: 4]
  ------------------
 1836|      0|        return NULL;
 1837|      0|    }
 1838|      4|    if (_PyArena_AddPyObject(p->arena, final) < 0) {
  ------------------
  |  Branch (1838:9): [True: 0, False: 4]
  ------------------
 1839|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1840|      0|        return NULL;
 1841|      0|    }
 1842|      4|    return _PyAST_Constant(final, kind, lineno, col_offset,
 1843|      4|                           end_lineno, end_col_offset, arena);
 1844|      4|}

_PyLexer_ContinueLine:
   14|      1|{
   15|      1|    int c = tok_nextc(tok);
   16|      1|    if (c == '\r') {
  ------------------
  |  Branch (16:9): [True: 0, False: 1]
  ------------------
   17|      0|        c = tok_nextc(tok);
   18|      0|    }
   19|      1|    if (c != '\n') {
  ------------------
  |  Branch (19:9): [True: 1, False: 0]
  ------------------
   20|      1|        tok->done = E_LINECONT;
  ------------------
  |  |   37|      1|#define E_LINECONT       25      /* Unexpected characters after a line continuation */
  ------------------
   21|      1|        return -1;
   22|      1|    }
   23|      0|    c = tok_nextc(tok);
   24|      0|    if (tok->implicit_newline == _PyTokenizer_APPEND_NEWLINE) {
  ------------------
  |  Branch (24:9): [True: 0, False: 0]
  ------------------
   25|      0|        tok->needs_newline |= _PyTokenizer_NEWLINE_CONTINUATION;
   26|      0|    }
   27|      0|    if (c == EOF) {
  ------------------
  |  Branch (27:9): [True: 0, False: 0]
  ------------------
   28|      0|        tok->done = E_EOF;
  ------------------
  |  |   23|      0|#define E_EOF            11      /* End Of File */
  ------------------
   29|      0|        tok->cur = tok->inp;
   30|      0|        return -1;
   31|      0|    } else {
   32|      0|        tok_backup(tok, c);
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
   33|      0|    }
   34|      0|    return c;
   35|      0|}
_PyLexer_BeginLine:
   82|     36|{
   83|     36|    assert(tok->layout.at_bol);
  ------------------
  |  Branch (83:5): [True: 36, False: 0]
  ------------------
   84|     36|    int c;
   85|     36|    int blankline = 0;
   86|     36|    int col = 0;
   87|     36|    int altcol = 0;
   88|     36|    tok->layout.at_bol = 0;
   89|     36|    int cont_line_col = 0;
   90|     36|    for (;;) {
   91|     36|        c = tok_nextc(tok);
   92|     36|        if (c == ' ') {
  ------------------
  |  Branch (92:13): [True: 0, False: 36]
  ------------------
   93|      0|            col++, altcol++;
   94|      0|        }
   95|     36|        else if (c == '\t') {
  ------------------
  |  Branch (95:18): [True: 0, False: 36]
  ------------------
   96|      0|            col = (col / TABSIZE + 1) * TABSIZE;
  ------------------
  |  |    9|      0|#define TABSIZE 8
  ------------------
                          col = (col / TABSIZE + 1) * TABSIZE;
  ------------------
  |  |    9|      0|#define TABSIZE 8
  ------------------
   97|      0|            altcol = (altcol / ALTTABSIZE + 1) * ALTTABSIZE;
  ------------------
  |  |   10|      0|#define ALTTABSIZE 1
  ------------------
                          altcol = (altcol / ALTTABSIZE + 1) * ALTTABSIZE;
  ------------------
  |  |   10|      0|#define ALTTABSIZE 1
  ------------------
   98|      0|        }
   99|     36|        else if (c == '\014')  {/* Control-L (formfeed) */
  ------------------
  |  Branch (99:18): [True: 0, False: 36]
  ------------------
  100|      0|            col = altcol = 0; /* For Emacs users */
  101|      0|        }
  102|     36|        else if (c == '\\') {
  ------------------
  |  Branch (102:18): [True: 0, False: 36]
  ------------------
  103|       |            // Indentation cannot be split over multiple physical lines
  104|       |            // using backslashes. This means that if we found a backslash
  105|       |            // preceded by whitespace, **the first one we find** determines
  106|       |            // the level of indentation of whatever comes next.
  107|      0|            cont_line_col = cont_line_col ? cont_line_col : col;
  ------------------
  |  Branch (107:29): [True: 0, False: 0]
  ------------------
  108|      0|            if ((c = _PyLexer_ContinueLine(tok)) == -1) {
  ------------------
  |  Branch (108:17): [True: 0, False: 0]
  ------------------
  109|      0|                return -1;
  110|      0|            }
  111|      0|        }
  112|     36|        else if (c == EOF && PyErr_Occurred()) {
  ------------------
  |  Branch (112:18): [True: 0, False: 36]
  |  Branch (112:30): [True: 0, False: 0]
  ------------------
  113|      0|            return -1;
  114|      0|        }
  115|     36|        else {
  116|     36|            break;
  117|     36|        }
  118|     36|    }
  119|     36|    tok_backup(tok, c);
  ------------------
  |  |   24|     36|#define tok_backup _PyLexer_backup
  ------------------
  120|     36|    if (c == '\n' && tok->implicit_newline == _PyTokenizer_IMPLY_NEWLINE &&
  ------------------
  |  Branch (120:9): [True: 0, False: 36]
  |  Branch (120:22): [True: 0, False: 0]
  ------------------
  121|      0|        tok->level == 0 && (cont_line_col || col)) {
  ------------------
  |  Branch (121:9): [True: 0, False: 0]
  |  Branch (121:29): [True: 0, False: 0]
  |  Branch (121:46): [True: 0, False: 0]
  ------------------
  122|       |        // Without the newline, a whitespace-only line affects indentation.
  123|      0|        tok->needs_newline |= _PyTokenizer_NEWLINE_INDENT;
  124|      0|    }
  125|     36|    if (c == '#' || c == '\n' || c == '\r') {
  ------------------
  |  Branch (125:9): [True: 0, False: 36]
  |  Branch (125:21): [True: 0, False: 36]
  |  Branch (125:34): [True: 0, False: 36]
  ------------------
  126|      0|        int interactive = _PyTok_ReaderIsInteractive(tok);
  127|       |        /* Lines with only whitespace and/or comments
  128|       |           shouldn't affect the indentation and are
  129|       |           not passed to the parser as NEWLINE tokens,
  130|       |           except *totally* empty lines in interactive
  131|       |           mode, which signal the end of a command group. */
  132|      0|        if (col == 0 && c == '\n' && interactive) {
  ------------------
  |  Branch (132:13): [True: 0, False: 0]
  |  Branch (132:25): [True: 0, False: 0]
  |  Branch (132:38): [True: 0, False: 0]
  ------------------
  133|      0|            blankline = 0; /* Let it through */
  134|      0|        }
  135|      0|        else if (interactive && tok->lineno == 1) {
  ------------------
  |  Branch (135:18): [True: 0, False: 0]
  |  Branch (135:33): [True: 0, False: 0]
  ------------------
  136|       |            /* In interactive mode, if the first line contains
  137|       |               only spaces and/or a comment, let it through. */
  138|      0|            blankline = 0;
  139|      0|            col = altcol = 0;
  140|      0|        }
  141|      0|        else {
  142|      0|            blankline = 1; /* Ignore completely */
  143|      0|        }
  144|      0|    }
  145|     36|    if (!blankline && tok->level == 0) {
  ------------------
  |  Branch (145:9): [True: 36, False: 0]
  |  Branch (145:23): [True: 36, False: 0]
  ------------------
  146|     36|        col = cont_line_col ? cont_line_col : col;
  ------------------
  |  Branch (146:15): [True: 0, False: 36]
  ------------------
  147|     36|        altcol = cont_line_col ? cont_line_col : altcol;
  ------------------
  |  Branch (147:18): [True: 0, False: 36]
  ------------------
  148|     36|        if (update_indentation(tok, col, altcol) < 0) {
  ------------------
  |  Branch (148:13): [True: 0, False: 36]
  ------------------
  149|      0|            return -1;
  150|      0|        }
  151|     36|    }
  152|     36|    return blankline;
  153|     36|}
_PyLexer_Newline:
  181|      1|{
  182|      1|    if (!blankline && tok->implicit_newline == _PyTokenizer_IMPLY_NEWLINE) {
  ------------------
  |  Branch (182:9): [True: 1, False: 0]
  |  Branch (182:23): [True: 0, False: 1]
  ------------------
  183|       |        // The statement's terminating newline was not in the input.
  184|      0|        tok->needs_newline |= _PyTokenizer_NEWLINE_STATEMENT;
  185|      0|    }
  186|      1|    tok->layout.at_bol = 1;
  187|      1|    if (blankline || tok->level > 0) {
  ------------------
  |  Branch (187:9): [True: 0, False: 1]
  |  Branch (187:22): [True: 0, False: 1]
  ------------------
  188|      0|        if (!tok->tok_extra_tokens) {
  ------------------
  |  Branch (188:13): [True: 0, False: 0]
  ------------------
  189|      0|            return 0;
  190|      0|        }
  191|      0|    }
  192|      1|    else if (!tok->layout.comment_newline || !tok->tok_extra_tokens) {
  ------------------
  |  Branch (192:14): [True: 1, False: 0]
  |  Branch (192:46): [True: 0, False: 0]
  ------------------
  193|      1|        return _PyLexer_token_setup(tok, token, NEWLINE,
  ------------------
  |  |   20|      1|#define NEWLINE         4
  ------------------
  194|      1|                                    tok->start, tok->cur - 1);
  195|      1|    }
  196|      0|    tok->layout.comment_newline = 0;
  197|      0|    return _PyLexer_token_setup(tok, token, NL, tok->start, tok->cur);
  ------------------
  |  |   82|      0|#define NL              66
  ------------------
  198|      1|}
layout.c:update_indentation:
   40|     36|{
   41|     36|    lexer_layout_state *layout = &tok->layout;
   42|     36|    if (col == layout->stack[layout->depth].column) {
  ------------------
  |  Branch (42:9): [True: 36, False: 0]
  ------------------
   43|     36|        if (altcol != layout->stack[layout->depth].alternate_column) {
  ------------------
  |  Branch (43:13): [True: 0, False: 36]
  ------------------
   44|      0|            _PyTokenizer_indenterror(tok);
   45|      0|            return -1;
   46|      0|        }
   47|     36|    }
   48|      0|    else if (col > layout->stack[layout->depth].column) {
  ------------------
  |  Branch (48:14): [True: 0, False: 0]
  ------------------
   49|      0|        if (layout->depth + 1 >= MAXINDENT) {
  ------------------
  |  |    8|      0|#define MAXINDENT 100       /* Max indentation level */
  ------------------
  |  Branch (49:13): [True: 0, False: 0]
  ------------------
   50|      0|            tok->done = E_TOODEEP;
  ------------------
  |  |   32|      0|#define E_TOODEEP        20      /* Too many indentation levels */
  ------------------
   51|      0|            tok->cur = tok->inp;
   52|      0|            return -1;
   53|      0|        }
   54|      0|        if (altcol <= layout->stack[layout->depth].alternate_column) {
  ------------------
  |  Branch (54:13): [True: 0, False: 0]
  ------------------
   55|      0|            _PyTokenizer_indenterror(tok);
   56|      0|            return -1;
   57|      0|        }
   58|      0|        layout->pending++;
   59|      0|        layout->stack[++layout->depth] = (indentation_level){col, altcol};
   60|      0|    }
   61|      0|    else {
   62|      0|        while (layout->depth > 0 &&
  ------------------
  |  Branch (62:16): [True: 0, False: 0]
  ------------------
   63|      0|            col < layout->stack[layout->depth].column) {
  ------------------
  |  Branch (63:13): [True: 0, False: 0]
  ------------------
   64|      0|            layout->pending--;
   65|      0|            layout->depth--;
   66|      0|        }
   67|      0|        if (col != layout->stack[layout->depth].column) {
  ------------------
  |  Branch (67:13): [True: 0, False: 0]
  ------------------
   68|      0|            tok->done = E_DEDENT;
  ------------------
  |  |   33|      0|#define E_DEDENT         21      /* No matching outer block for dedent */
  ------------------
   69|      0|            tok->cur = tok->inp;
   70|      0|            return -1;
   71|      0|        }
   72|      0|        if (altcol != layout->stack[layout->depth].alternate_column) {
  ------------------
  |  Branch (72:13): [True: 0, False: 0]
  ------------------
   73|      0|            _PyTokenizer_indenterror(tok);
   74|      0|            return -1;
   75|      0|        }
   76|      0|    }
   77|     36|    return 0;
   78|     36|}

_PyLexer_refill:
   18|     89|{
   19|     89|    if (tok->done != E_OK) {
  ------------------
  |  |   22|     89|#define E_OK             10      /* No error */
  ------------------
  |  Branch (19:9): [True: 32, False: 57]
  ------------------
   20|     32|        return 0;
   21|     32|    }
   22|     57|    int rc = _PyTok_ReaderUnderflow(tok);
   23|       |#if defined(Py_DEBUG)
   24|       |    if (tok->debug) {
   25|       |        fprintf(stderr, "line[%d] = ", tok->lineno);
   26|       |        _PyTokenizer_print_escape(
   27|       |            stderr, _PyTok_SourcePointer(&tok->source, tok->cur),
   28|       |            tok->inp - tok->cur);
   29|       |        fprintf(stderr, "  tok->done = %d\n", tok->done);
   30|       |    }
   31|       |#endif
   32|     57|    if (!rc) {
  ------------------
  |  Branch (32:9): [True: 21, False: 36]
  ------------------
   33|     21|        tok->cur = tok->inp;
   34|     21|        return 0;
   35|     21|    }
   36|     36|    tok->line_start = tok->cur;
   37|     36|    _PyTok_Span line = {tok->line_start, tok->inp};
   38|     36|    if (_PyTok_SourceFindByte(&tok->source, line, '\0') >= 0) {
  ------------------
  |  Branch (38:9): [True: 0, False: 36]
  ------------------
   39|      0|        _PyTokenizer_syntaxerror(tok, "source code cannot contain null bytes");
   40|      0|        tok->cur = tok->inp;
   41|      0|        return 0;
   42|      0|    }
   43|     36|    return 1;
   44|     36|}
_PyLexer_backup:
   49|  7.11M|{
   50|  7.11M|    if (c != EOF) {
  ------------------
  |  Branch (50:9): [True: 7.11M, False: 32]
  ------------------
   51|  7.11M|        if (--tok->cur < tok->buf_offset) {
  ------------------
  |  Branch (51:13): [True: 0, False: 7.11M]
  ------------------
   52|      0|            Py_FatalError("tokenizer beginning of buffer");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
   53|      0|        }
   54|  7.11M|        if (_PyTok_SourceByte(&tok->source, tok->cur) != Py_CHARMASK(c)) {
  ------------------
  |  |  170|  7.11M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (54:13): [True: 0, False: 7.11M]
  ------------------
   55|      0|            Py_FatalError("tok_backup: wrong character");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
   56|      0|        }
   57|  7.11M|    }
   58|  7.11M|}
_PyLexer_get_normal:
  122|  3.55M|{
  123|  3.55M|    assert(current == NULL ||
  ------------------
  |  Branch (123:5): [True: 277k, False: 0]
  |  Branch (123:5): [True: 277k, False: 0]
  |  Branch (123:5): [True: 3.28M, False: 277k]
  ------------------
  124|  3.55M|           (current->mode == FTSTRING_MODE_EXPRESSION &&
  125|  3.55M|            current->replacement_depth > 0));
  126|  3.55M|    int c;
  127|  3.55M|    int blankline, nonascii;
  128|       |
  129|  3.55M|    _PyTok_Off p_start = -1;
  130|  3.55M|    _PyTok_Off p_end = -1;
  131|  3.55M|  nextline:
  132|  3.55M|    tok->start = -1;
  133|  3.55M|    tok->start_loc = (_PyTok_Loc){tok->lineno, -1};
  134|  3.55M|    blankline = 0;
  135|       |
  136|       |
  137|  3.55M|    if (tok->layout.at_bol) {
  ------------------
  |  Branch (137:9): [True: 36, False: 3.55M]
  ------------------
  138|     36|        blankline = _PyLexer_BeginLine(tok);
  139|     36|        if (blankline < 0) {
  ------------------
  |  Branch (139:13): [True: 0, False: 36]
  ------------------
  140|      0|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   10|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  141|      0|        }
  142|     36|    }
  143|       |
  144|  3.55M|    tok->start = tok->cur;
  145|  3.55M|    tok->start_loc = (_PyTok_Loc){
  146|  3.55M|        tok->lineno, tok->line_start >= 0 ? _PyLexer_ByteColumn(tok) : -1};
  ------------------
  |  Branch (146:22): [True: 3.55M, False: 0]
  ------------------
  147|       |
  148|  3.55M|    if (tok->layout.pending != 0) {
  ------------------
  |  Branch (148:9): [True: 0, False: 3.55M]
  ------------------
  149|      0|        return _PyLexer_IndentationToken(tok, token);
  150|      0|    }
  151|       |
  152|       |    /* Peek ahead at the next character */
  153|  3.55M|    c = tok_nextc(tok);
  154|  3.55M|    tok_backup(tok, c);
  ------------------
  |  |   24|  3.55M|#define tok_backup _PyLexer_backup
  ------------------
  155|       |
  156|  3.55M| again:
  157|  3.55M|    tok->start = -1;
  158|       |    /* Skip spaces */
  159|  3.55M|    do {
  160|  3.55M|        c = tok_nextc(tok);
  161|  3.55M|    } while (c == ' ' || c == '\t' || c == '\014');
  ------------------
  |  Branch (161:14): [True: 65, False: 3.55M]
  |  Branch (161:26): [True: 14, False: 3.55M]
  |  Branch (161:39): [True: 8, False: 3.55M]
  ------------------
  162|       |
  163|       |    /* Set start of current token */
  164|  3.55M|    tok->start = tok->cur - 1;
  165|  3.55M|    tok->start_loc = (_PyTok_Loc){
  166|  3.55M|        tok->lineno, tok->line_start >= 0 ? _PyLexer_ByteColumn(tok) - 1 : -1};
  ------------------
  |  Branch (166:22): [True: 3.55M, False: 0]
  ------------------
  167|       |
  168|       |    /* Skip comment, unless it's a type comment */
  169|  3.55M|    if (c == '#') {
  ------------------
  |  Branch (169:9): [True: 0, False: 3.55M]
  ------------------
  170|       |
  171|      0|        while (c != EOF && c != '\n' && c != '\r') {
  ------------------
  |  Branch (171:16): [True: 0, False: 0]
  |  Branch (171:28): [True: 0, False: 0]
  |  Branch (171:41): [True: 0, False: 0]
  ------------------
  172|      0|            c = tok_nextc(tok);
  173|      0|        }
  174|       |
  175|      0|        if (current != NULL) {
  ------------------
  |  Branch (175:13): [True: 0, False: 0]
  ------------------
  176|      0|            _PyTok_Off comment_end = tok->cur;
  177|      0|            if (c == '\n' || c == '\r') {
  ------------------
  |  Branch (177:17): [True: 0, False: 0]
  |  Branch (177:30): [True: 0, False: 0]
  ------------------
  178|      0|                comment_end--;
  179|      0|            }
  180|      0|            if (_PyLexer_record_ftstring_comment(
  ------------------
  |  Branch (180:17): [True: 0, False: 0]
  ------------------
  181|      0|                    tok, current, tok->start, comment_end) < 0) {
  182|      0|                tok->done = E_NOMEM;
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
  183|      0|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   10|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  184|      0|            }
  185|      0|        }
  186|       |
  187|      0|        _PyTok_Off comment = tok->start;
  188|      0|        if (tok->type_comments) {
  ------------------
  |  Branch (188:13): [True: 0, False: 0]
  ------------------
  189|      0|            const char *prefix = type_comment_prefix;
  190|      0|            while (*prefix && comment < tok->cur) {
  ------------------
  |  Branch (190:20): [True: 0, False: 0]
  |  Branch (190:31): [True: 0, False: 0]
  ------------------
  191|      0|                if (*prefix == ' ') {
  ------------------
  |  Branch (191:21): [True: 0, False: 0]
  ------------------
  192|      0|                    while (comment < tok->cur) {
  ------------------
  |  Branch (192:28): [True: 0, False: 0]
  ------------------
  193|      0|                        int ch = _PyTok_SourceByte(&tok->source, comment);
  194|      0|                        if (ch != ' ' && ch != '\t') {
  ------------------
  |  Branch (194:29): [True: 0, False: 0]
  |  Branch (194:42): [True: 0, False: 0]
  ------------------
  195|      0|                            break;
  196|      0|                        }
  197|      0|                        comment++;
  198|      0|                    }
  199|      0|                } else if (*prefix == _PyTok_SourceByte(&tok->source, comment)) {
  ------------------
  |  Branch (199:28): [True: 0, False: 0]
  ------------------
  200|      0|                    comment++;
  201|      0|                } else {
  202|      0|                    break;
  203|      0|                }
  204|       |
  205|      0|                prefix++;
  206|      0|            }
  207|       |
  208|       |            /* This is a type comment if we matched all of type_comment_prefix. */
  209|      0|            if (!*prefix) {
  ------------------
  |  Branch (209:17): [True: 0, False: 0]
  ------------------
  210|      0|                tok_backup(tok, c);  /* don't eat the newline or EOF */
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
  211|       |                /* A TYPE_IGNORE is "type: ignore" followed by the end of the token
  212|       |                 * or anything ASCII and non-alphanumeric. */
  213|      0|                int is_type_ignore = tok->cur - comment >= 6 &&
  ------------------
  |  Branch (213:38): [True: 0, False: 0]
  ------------------
  214|      0|                    memcmp(_PyTok_SourcePointer(&tok->source, comment),
  ------------------
  |  Branch (214:21): [True: 0, False: 0]
  ------------------
  215|      0|                           "ignore", 6) == 0;
  216|      0|                if (is_type_ignore && comment + 6 < tok->cur) {
  ------------------
  |  Branch (216:21): [True: 0, False: 0]
  |  Branch (216:39): [True: 0, False: 0]
  ------------------
  217|      0|                    int ch = _PyTok_SourceByte(&tok->source, comment + 6);
  218|      0|                    is_type_ignore = ch < 128 && !Py_ISALNUM(ch);
  ------------------
  |  |   26|      0|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |  170|      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 (218:38): [True: 0, False: 0]
  |  Branch (218:50): [True: 0, False: 0]
  ------------------
  219|      0|                }
  220|       |
  221|      0|                int type = is_type_ignore ? TYPE_IGNORE : TYPE_COMMENT;
  ------------------
  |  |   72|      0|#define TYPE_IGNORE     56
  ------------------
                              int type = is_type_ignore ? TYPE_IGNORE : TYPE_COMMENT;
  ------------------
  |  |   73|      0|#define TYPE_COMMENT    57
  ------------------
  |  Branch (221:28): [True: 0, False: 0]
  ------------------
  222|      0|                p_start = comment + (is_type_ignore ? 6 : 0);
  ------------------
  |  Branch (222:38): [True: 0, False: 0]
  ------------------
  223|      0|                p_end = tok->cur;
  224|      0|                int start_col_offset = tok->start_loc.byte_col +
  225|      0|                    (int)(p_start - tok->start);
  226|       |                /* Consume the newline after a standalone type ignore. */
  227|      0|                if (is_type_ignore && blankline) {
  ------------------
  |  Branch (227:21): [True: 0, False: 0]
  |  Branch (227:39): [True: 0, False: 0]
  ------------------
  228|      0|                    tok_nextc(tok);
  229|      0|                    tok->layout.at_bol = 1;
  230|      0|                }
  231|      0|                _PyLexer_token_setup(tok, token, type, p_start, p_end);
  232|      0|                token->start_loc = (_PyTok_Loc){tok->lineno, start_col_offset};
  233|      0|                token->end_loc = (_PyTok_Loc){tok->lineno,
  234|      0|                                              _PyLexer_ByteColumn(tok)};
  235|      0|                return type;
  236|      0|            }
  237|      0|        }
  238|      0|        if (tok->implicit_newline == _PyTokenizer_IMPLY_NEWLINE &&
  ------------------
  |  Branch (238:13): [True: 0, False: 0]
  ------------------
  239|      0|            tok->layout.depth > 0) {
  ------------------
  |  Branch (239:13): [True: 0, False: 0]
  ------------------
  240|       |            // Ending this comment lets the next line dedent the suite.
  241|      0|            tok->needs_newline |= _PyTokenizer_NEWLINE_STATEMENT;
  242|      0|        }
  243|      0|        if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (243:13): [True: 0, False: 0]
  ------------------
  244|      0|            tok_backup(tok, c);  /* don't eat the newline or EOF */
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
  245|      0|            p_start = comment;
  246|      0|            p_end = tok->cur;
  247|      0|            tok->layout.comment_newline = blankline;
  248|      0|            return MAKE_TOKEN(COMMENT);
  ------------------
  |  |   10|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  249|      0|        }
  250|      0|    }
  251|       |
  252|  3.55M|    if (tok->done == E_INTERACT_STOP) {
  ------------------
  |  |   39|  3.55M|#define E_INTERACT_STOP  28      /* Interactive mode stopped tokenization */
  ------------------
  |  Branch (252:9): [True: 0, False: 3.55M]
  ------------------
  253|      0|        return MAKE_TOKEN(ENDMARKER);
  ------------------
  |  |   10|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  254|      0|    }
  255|       |
  256|       |    /* Check for EOF and errors now */
  257|  3.55M|    if (c == EOF) {
  ------------------
  |  Branch (257:9): [True: 18, False: 3.55M]
  ------------------
  258|     18|        if (tok->level) {
  ------------------
  |  Branch (258:13): [True: 2, False: 16]
  ------------------
  259|      2|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   10|      2|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  260|      2|        }
  261|     16|        return MAKE_TOKEN(tok->done == E_EOF ? ENDMARKER : ERRORTOKEN);
  ------------------
  |  |   10|     32|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (10:65): [True: 16, False: 0]
  |  |  ------------------
  ------------------
  262|     18|    }
  263|       |
  264|       |    /* Identifier (most frequent token!) */
  265|  3.55M|    nonascii = 0;
  266|  3.55M|    if (is_potential_identifier_start(c)) {
  ------------------
  |  |    7|  3.55M|#define is_potential_identifier_start(c) (\
  |  |    8|  3.55M|              (c >= 'a' && c <= 'z')\
  |  |  ------------------
  |  |  |  Branch (8:16): [True: 16.2k, False: 3.54M]
  |  |  |  Branch (8:28): [True: 16.1k, False: 74]
  |  |  ------------------
  |  |    9|  3.55M|               || (c >= 'A' && c <= 'Z')\
  |  |  ------------------
  |  |  |  Branch (9:20): [True: 1.76M, False: 1.78M]
  |  |  |  Branch (9:32): [True: 1.76M, False: 1.86k]
  |  |  ------------------
  |  |   10|  3.55M|               || c == '_'\
  |  |  ------------------
  |  |  |  Branch (10:19): [True: 1.42k, False: 1.78M]
  |  |  ------------------
  |  |   11|  3.55M|               || (c >= 128))
  |  |  ------------------
  |  |  |  Branch (11:19): [True: 3, False: 1.78M]
  |  |  ------------------
  ------------------
  267|       |        /* Process the various legal combinations of b"", r"", u"", and f"". */
  268|  1.77M|        int saw_b = 0, saw_r = 0, saw_u = 0, saw_f = 0, saw_t = 0;
  269|  1.78M|        while (1) {
  ------------------
  |  Branch (269:16): [True: 1.78M, Folded]
  ------------------
  270|  1.78M|            if (!saw_b && (c == 'b' || c == 'B')) {
  ------------------
  |  Branch (270:17): [True: 1.78M, False: 4]
  |  Branch (270:28): [True: 22, False: 1.78M]
  |  Branch (270:40): [True: 0, False: 1.78M]
  ------------------
  271|     22|                saw_b = 1;
  272|     22|            }
  273|       |            /* Since this is a backwards compatibility support literal we don't
  274|       |               want to support it in arbitrary order like byte literals. */
  275|  1.78M|            else if (!saw_u && (c == 'u'|| c == 'U')) {
  ------------------
  |  Branch (275:22): [True: 1.77M, False: 4.15k]
  |  Branch (275:33): [True: 4, False: 1.77M]
  |  Branch (275:44): [True: 4.15k, False: 1.77M]
  ------------------
  276|  4.15k|                saw_u = 1;
  277|  4.15k|            }
  278|       |            /* ur"" and ru"" are not supported */
  279|  1.77M|            else if (!saw_r && (c == 'r' || c == 'R')) {
  ------------------
  |  Branch (279:22): [True: 1.77M, False: 312]
  |  Branch (279:33): [True: 286, False: 1.77M]
  |  Branch (279:45): [True: 25, False: 1.77M]
  ------------------
  280|    311|                saw_r = 1;
  281|    311|            }
  282|  1.77M|            else if (!saw_f && (c == 'f' || c == 'F')) {
  ------------------
  |  Branch (282:22): [True: 1.77M, False: 3]
  |  Branch (282:33): [True: 3, False: 1.77M]
  |  Branch (282:45): [True: 0, False: 1.77M]
  ------------------
  283|      3|                saw_f = 1;
  284|      3|            }
  285|  1.77M|            else if (!saw_t && (c == 't' || c == 'T')) {
  ------------------
  |  Branch (285:22): [True: 1.77M, False: 133]
  |  Branch (285:33): [True: 61, False: 1.77M]
  |  Branch (285:45): [True: 123, False: 1.77M]
  ------------------
  286|    184|                saw_t = 1;
  287|    184|            }
  288|  1.77M|            else {
  289|  1.77M|                break;
  290|  1.77M|            }
  291|  4.67k|            c = tok_nextc(tok);
  292|  4.67k|            if (c == '"' || c == '\'') {
  ------------------
  |  Branch (292:17): [True: 46, False: 4.63k]
  |  Branch (292:29): [True: 25, False: 4.60k]
  ------------------
  293|       |                // Raise error on incompatible string prefixes:
  294|     71|                int status = _PyLexer_check_string_prefixes(
  295|     71|                    tok, saw_b, saw_r, saw_u, saw_f, saw_t);
  296|     71|                if (status < 0) {
  ------------------
  |  Branch (296:21): [True: 0, False: 71]
  ------------------
  297|      0|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   10|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  298|      0|                }
  299|       |
  300|       |                // Handle valid f or t string creation:
  301|     71|                if (saw_f || saw_t) {
  ------------------
  |  Branch (301:21): [True: 0, False: 71]
  |  Branch (301:30): [True: 51, False: 20]
  ------------------
  302|     51|                    ftstring_kind kind = saw_t
  ------------------
  |  Branch (302:42): [True: 51, False: 0]
  ------------------
  303|     51|                        ? (saw_r ? RAW_TSTRING : TSTRING)
  ------------------
  |  Branch (303:28): [True: 0, False: 51]
  ------------------
  304|     51|                        : (saw_r ? RAW_FSTRING : FSTRING);
  ------------------
  |  Branch (304:28): [True: 0, False: 0]
  ------------------
  305|     51|                    return _PyLexer_scan_fstring_start(tok, token, c, kind);
  306|     51|                }
  307|     20|                return _PyLexer_scan_string(tok, token, c);
  308|     71|            }
  309|  4.67k|        }
  310|  9.99M|        while (is_potential_identifier_char(c)) {
  ------------------
  |  |   13|  9.99M|#define is_potential_identifier_char(c) (\
  |  |   14|  9.99M|              (c >= 'a' && c <= 'z')\
  |  |  ------------------
  |  |  |  Branch (14:16): [True: 5.63M, False: 4.36M]
  |  |  |  Branch (14:28): [True: 5.63M, False: 3.06k]
  |  |  ------------------
  |  |   15|  9.99M|               || (c >= 'A' && c <= 'Z')\
  |  |  ------------------
  |  |  |  Branch (15:20): [True: 2.58M, False: 1.78M]
  |  |  |  Branch (15:32): [True: 2.57M, False: 4.66k]
  |  |  ------------------
  |  |   16|  9.99M|               || (c >= '0' && c <= '9')\
  |  |  ------------------
  |  |  |  Branch (16:20): [True: 6.21k, False: 1.77M]
  |  |  |  Branch (16:32): [True: 1.52k, False: 4.69k]
  |  |  ------------------
  |  |   17|  9.99M|               || c == '_'\
  |  |  ------------------
  |  |  |  Branch (17:19): [True: 1.45k, False: 1.78M]
  |  |  ------------------
  |  |   18|  9.99M|               || (c >= 128))
  |  |  ------------------
  |  |  |  Branch (18:19): [True: 3.06k, False: 1.77M]
  |  |  ------------------
  ------------------
  311|  8.21M|            if (c >= 128) {
  ------------------
  |  Branch (311:17): [True: 3.06k, False: 8.21M]
  ------------------
  312|  3.06k|                nonascii = 1;
  313|  3.06k|            }
  314|  8.21M|            c = tok_nextc(tok);
  315|  8.21M|        }
  316|  1.77M|        tok_backup(tok, c);
  ------------------
  |  |   24|  1.77M|#define tok_backup _PyLexer_backup
  ------------------
  317|  1.77M|        if (nonascii && !verify_identifier(tok)) {
  ------------------
  |  Branch (317:13): [True: 1.51k, False: 1.77M]
  |  Branch (317:25): [True: 3, False: 1.50k]
  ------------------
  318|      3|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   10|      3|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  319|      3|        }
  320|       |
  321|  1.77M|        p_start = tok->start;
  322|  1.77M|        p_end = tok->cur;
  323|       |
  324|  1.77M|        return MAKE_TOKEN(NAME);
  ------------------
  |  |   10|  1.77M|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  325|  1.77M|    }
  326|       |
  327|  1.78M|    if (c == '\r') {
  ------------------
  |  Branch (327:9): [True: 0, False: 1.78M]
  ------------------
  328|      0|        c = tok_nextc(tok);
  329|      0|    }
  330|       |
  331|  1.78M|    if (c == '\n') {
  ------------------
  |  Branch (331:9): [True: 1, False: 1.78M]
  ------------------
  332|      1|        int type = _PyLexer_Newline(tok, token, blankline);
  333|      1|        if (type == 0) {
  ------------------
  |  Branch (333:13): [True: 0, False: 1]
  ------------------
  334|      0|            goto nextline;
  335|      0|        }
  336|      1|        return type;
  337|      1|    }
  338|       |
  339|       |    /* Period or number starting with period? */
  340|  1.78M|    if (c == '.') {
  ------------------
  |  Branch (340:9): [True: 0, False: 1.78M]
  ------------------
  341|      0|        c = tok_nextc(tok);
  342|      0|        if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|      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]
  |  |  ------------------
  ------------------
  343|      0|            return _PyLexer_scan_number(tok, token, c, 1);
  344|      0|        } else if (c == '.') {
  ------------------
  |  Branch (344:20): [True: 0, False: 0]
  ------------------
  345|      0|            c = tok_nextc(tok);
  346|      0|            if (c == '.') {
  ------------------
  |  Branch (346:17): [True: 0, False: 0]
  ------------------
  347|      0|                p_start = tok->start;
  348|      0|                p_end = tok->cur;
  349|      0|                return MAKE_TOKEN(ELLIPSIS);
  ------------------
  |  |   10|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  350|      0|            }
  351|      0|            else {
  352|      0|                tok_backup(tok, c);
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
  353|      0|            }
  354|      0|            tok_backup(tok, '.');
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
  355|      0|        }
  356|      0|        else {
  357|      0|            tok_backup(tok, c);
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
  358|      0|        }
  359|      0|        p_start = tok->start;
  360|      0|        p_end = tok->cur;
  361|      0|        return MAKE_TOKEN(DOT);
  ------------------
  |  |   10|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  362|      0|    }
  363|       |
  364|       |
  365|       |    /* Number */
  366|  1.78M|    if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|  1.78M|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|  1.78M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  1.78M|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 174, False: 1.78M]
  |  |  ------------------
  ------------------
  367|    174|        return _PyLexer_scan_number(tok, token, c, 0);
  368|    174|    }
  369|       |
  370|       |    /* String */
  371|  1.78M|    if (c == '\'' || c == '"') {
  ------------------
  |  Branch (371:9): [True: 301, False: 1.78M]
  |  Branch (371:22): [True: 4, False: 1.78M]
  ------------------
  372|    305|        return _PyLexer_scan_string(tok, token, c);
  373|    305|    }
  374|       |
  375|       |    /* Line continuation */
  376|  1.78M|    if (c == '\\') {
  ------------------
  |  Branch (376:9): [True: 1, False: 1.78M]
  ------------------
  377|      1|        if ((c = _PyLexer_ContinueLine(tok)) == -1) {
  ------------------
  |  Branch (377:13): [True: 1, False: 0]
  ------------------
  378|      1|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   10|      1|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  379|      1|        }
  380|      0|        goto again; /* Read next line */
  381|      1|    }
  382|       |
  383|       |    /* Punctuation character */
  384|  1.78M|    int is_punctuation = (c == ':' || c == '}' || c == '!');
  ------------------
  |  Branch (384:27): [True: 8, False: 1.78M]
  |  Branch (384:39): [True: 5, False: 1.78M]
  |  Branch (384:51): [True: 0, False: 1.78M]
  ------------------
  385|  1.78M|    if (is_punctuation && current != NULL) {
  ------------------
  |  Branch (385:9): [True: 13, False: 1.78M]
  |  Branch (385:27): [True: 4, False: 9]
  ------------------
  386|      4|        int type = _PyLexer_ftstring_punctuation(tok, current, token, c);
  387|      4|        if (type < 0) {
  ------------------
  |  Branch (387:13): [True: 0, False: 4]
  ------------------
  388|      0|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   10|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  389|      0|        }
  390|      4|        if (type != 0) {
  ------------------
  |  Branch (390:13): [True: 0, False: 4]
  ------------------
  391|      0|            p_start = tok->start;
  392|      0|            p_end = tok->cur;
  393|      0|            return MAKE_TOKEN(type);
  ------------------
  |  |   10|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  394|      0|        }
  395|      4|    }
  396|       |
  397|       |    /* Check for two-character token */
  398|  1.78M|    {
  399|  1.78M|        int c2 = tok_nextc(tok);
  400|  1.78M|        int current_token = _PyToken_TwoChars(c, c2, tok->barry_as_bdfl);
  401|  1.78M|        if (current_token != OP) {
  ------------------
  |  |   71|  1.78M|#define OP              55
  ------------------
  |  Branch (401:13): [True: 13, False: 1.78M]
  ------------------
  402|     13|            int c3 = tok_nextc(tok);
  403|     13|            int current_token3 = _PyToken_ThreeChars(c, c2, c3);
  404|     13|            if (current_token3 != OP) {
  ------------------
  |  |   71|     13|#define OP              55
  ------------------
  |  Branch (404:17): [True: 0, False: 13]
  ------------------
  405|      0|                current_token = current_token3;
  406|      0|            }
  407|     13|            else {
  408|     13|                tok_backup(tok, c3);
  ------------------
  |  |   24|     13|#define tok_backup _PyLexer_backup
  ------------------
  409|     13|            }
  410|     13|            p_start = tok->start;
  411|     13|            p_end = tok->cur;
  412|     13|            return MAKE_TOKEN(current_token);
  ------------------
  |  |   10|     13|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  413|     13|        }
  414|  1.78M|        tok_backup(tok, c2);
  ------------------
  |  |   24|  1.78M|#define tok_backup _PyLexer_backup
  ------------------
  415|  1.78M|    }
  416|       |
  417|       |    /* Keep track of parentheses nesting level */
  418|      0|    switch (c) {
  419|    890|    case '(':
  ------------------
  |  Branch (419:5): [True: 890, False: 1.77M]
  ------------------
  420|  1.24k|    case '[':
  ------------------
  |  Branch (420:5): [True: 357, False: 1.77M]
  ------------------
  421|  1.30k|    case '{':
  ------------------
  |  Branch (421:5): [True: 58, False: 1.78M]
  ------------------
  422|  1.30k|        if (tok->level >= MAXLEVEL) {
  ------------------
  |  |    9|  1.30k|#define MAXLEVEL 200        /* Max parentheses level */
  ------------------
  |  Branch (422:13): [True: 0, False: 1.30k]
  ------------------
  423|      0|            return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "too many nested parentheses"));
  ------------------
  |  |   10|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  424|      0|        }
  425|  1.30k|        tok->parenstack[tok->level] = c;
  426|  1.30k|        tok->parenlinenostack[tok->level] = tok->lineno;
  427|  1.30k|        tok->parencolstack[tok->level] = (int)(tok->start - tok->line_start);
  428|  1.30k|        tok->level++;
  429|  1.30k|        break;
  430|      4|    case ')':
  ------------------
  |  Branch (430:5): [True: 4, False: 1.78M]
  ------------------
  431|      4|    case ']':
  ------------------
  |  Branch (431:5): [True: 0, False: 1.78M]
  ------------------
  432|      9|    case '}':
  ------------------
  |  Branch (432:5): [True: 5, False: 1.78M]
  ------------------
  433|      9|        if (current != NULL &&
  ------------------
  |  Branch (433:13): [True: 4, False: 5]
  ------------------
  434|      4|                _PyLexer_FTStringBracketDepth(tok, current) == 0) {
  ------------------
  |  Branch (434:17): [True: 0, False: 4]
  ------------------
  435|      0|            if (c == '}') {
  ------------------
  |  Branch (435:17): [True: 0, False: 0]
  ------------------
  436|      0|                return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   10|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  437|      0|                    "%c-string: single '}' is not allowed",
  438|      0|                    _PyLexer_StringPrefix(current->kind)));
  439|      0|            }
  440|      0|            return MAKE_TOKEN(_PyTokenizer_syntaxerror(
  ------------------
  |  |   10|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  441|      0|                tok, "%c-string: unmatched '%c'",
  442|      0|                _PyLexer_StringPrefix(current->kind), c));
  443|      0|        }
  444|      9|        if (!tok->tok_extra_tokens && !tok->level) {
  ------------------
  |  Branch (444:13): [True: 9, False: 0]
  |  Branch (444:39): [True: 0, False: 9]
  ------------------
  445|      0|            return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "unmatched '%c'", c));
  ------------------
  |  |   10|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  446|      0|        }
  447|      9|        if (tok->level > 0) {
  ------------------
  |  Branch (447:13): [True: 9, False: 0]
  ------------------
  448|      9|            tok->level--;
  449|      9|            int opening = tok->parenstack[tok->level];
  450|      9|            if (!((opening == '(' && c == ')') ||
  ------------------
  |  Branch (450:20): [True: 4, False: 5]
  |  Branch (450:38): [True: 4, False: 0]
  ------------------
  451|      5|                  (opening == '[' && c == ']') ||
  ------------------
  |  Branch (451:20): [True: 0, False: 5]
  |  Branch (451:38): [True: 0, False: 0]
  ------------------
  452|      5|                  (opening == '{' && c == '}'))) {
  ------------------
  |  Branch (452:20): [True: 5, False: 0]
  |  Branch (452:38): [True: 5, False: 0]
  ------------------
  453|       |                /* Do not match a closer against the brace that opened the
  454|       |                 * current replacement field.  The f-string state relies on
  455|       |                 * that brace, so this is checked even with extra tokens. */
  456|      0|                if (current != NULL && opening == '{') {
  ------------------
  |  Branch (456:21): [True: 0, False: 0]
  |  Branch (456:40): [True: 0, False: 0]
  ------------------
  457|      0|                    int bracket_depth =
  458|      0|                        _PyLexer_FTStringBracketDepth(tok, current);
  459|      0|                    if (bracket_depth == current->replacement_depth - 1) {
  ------------------
  |  Branch (459:25): [True: 0, False: 0]
  ------------------
  460|      0|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   10|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  461|      0|                            "%c-string: unmatched '%c'",
  462|      0|                            _PyLexer_StringPrefix(current->kind), c));
  463|      0|                    }
  464|      0|                }
  465|      0|                if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (465:21): [True: 0, False: 0]
  ------------------
  466|       |                    /* Allow other mismatched brackets. */
  467|      0|                }
  468|      0|                else if (tok->parenlinenostack[tok->level] != tok->lineno) {
  ------------------
  |  Branch (468:26): [True: 0, False: 0]
  ------------------
  469|      0|                    return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   10|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  470|      0|                            "closing parenthesis '%c' does not match "
  471|      0|                            "opening parenthesis '%c' on line %d",
  472|      0|                            c, opening, tok->parenlinenostack[tok->level]));
  473|      0|                }
  474|      0|                else {
  475|      0|                    return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   10|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  476|      0|                            "closing parenthesis '%c' does not match "
  477|      0|                            "opening parenthesis '%c'",
  478|      0|                            c, opening));
  479|      0|                }
  480|      0|            }
  481|      9|        }
  482|      9|        if (current != NULL &&
  ------------------
  |  Branch (482:13): [True: 4, False: 5]
  ------------------
  483|      4|                _PyLexer_close_ftstring_expr(tok, current, c) < 0) {
  ------------------
  |  Branch (483:17): [True: 0, False: 4]
  ------------------
  484|      0|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   10|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  485|      0|        }
  486|      9|        break;
  487|  1.77M|    default:
  ------------------
  |  Branch (487:5): [True: 1.77M, False: 1.31k]
  ------------------
  488|  1.77M|        break;
  489|  1.78M|    }
  490|       |
  491|  1.78M|    if (!Py_UNICODE_ISPRINTABLE(c)) {
  ------------------
  |  |  722|  1.78M|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  ------------------
  |  Branch (491:9): [True: 8, False: 1.78M]
  ------------------
  492|      8|        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid non-printable character U+%04X", c));
  ------------------
  |  |   10|      8|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  493|      8|    }
  494|       |
  495|  1.78M|    if (c == '=' && current != NULL) {
  ------------------
  |  Branch (495:9): [True: 5, False: 1.78M]
  |  Branch (495:21): [True: 4, False: 1]
  ------------------
  496|      4|        _PyLexer_mark_ftstring_debug(tok, current);
  497|      4|    }
  498|       |
  499|       |    /* Punctuation character */
  500|  1.78M|    p_start = tok->start;
  501|  1.78M|    p_end = tok->cur;
  502|  1.78M|    return MAKE_TOKEN(_PyToken_OneChar(c));
  ------------------
  |  |   10|  1.78M|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  503|  1.78M|}
_PyTokenizer_Get:
  508|  3.55M|{
  509|  3.55M|    _PyToken_Free(token);
  510|  3.55M|    ftstring_state *current = _PyLexer_CurrentFTString(tok);
  511|  3.55M|    int result;
  512|  3.55M|    if (current == NULL) {
  ------------------
  |  Branch (512:9): [True: 3.28M, False: 277k]
  ------------------
  513|  3.28M|        result = _PyLexer_get_normal(tok, NULL, token);
  514|  3.28M|    }
  515|   277k|    else {
  516|   277k|        switch (current->mode) {
  517|   277k|        case FTSTRING_MODE_EXPRESSION:
  ------------------
  |  Branch (517:9): [True: 277k, False: 63]
  ------------------
  518|   277k|            result = _PyLexer_get_normal(tok, current, token);
  519|   277k|            break;
  520|     63|        case FTSTRING_MODE_MIDDLE:
  ------------------
  |  Branch (520:9): [True: 63, False: 277k]
  ------------------
  521|     63|        case FTSTRING_MODE_FORMAT_SPEC:
  ------------------
  |  Branch (521:9): [True: 0, False: 277k]
  ------------------
  522|     63|            result = _PyLexer_get_ftstring(tok, current, token);
  523|     63|            break;
  524|      0|        default:
  ------------------
  |  Branch (524:9): [True: 0, False: 277k]
  ------------------
  525|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  526|   277k|        }
  527|   277k|    }
  528|  3.55M|    if (tok_failed(tok) && tok->done != E_INCOMPLETE) {
  ------------------
  |  |   41|     19|#define E_INCOMPLETE     30      /* An unfinished token in partial input */
  ------------------
  |  Branch (528:9): [True: 19, False: 3.55M]
  |  Branch (528:28): [True: 19, False: 0]
  ------------------
  529|     19|        result = ERRORTOKEN;
  ------------------
  |  |   83|     19|#define ERRORTOKEN      67
  ------------------
  530|     19|    }
  531|  3.55M|    token->type = result;
  532|  3.55M|}
lexer.c:verify_identifier:
   65|  1.51k|{
   66|  1.51k|    if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (66:9): [True: 0, False: 1.51k]
  ------------------
   67|      0|        return 1;
   68|      0|    }
   69|  1.51k|    PyObject *s;
   70|  1.51k|    if (tok_failed(tok))
  ------------------
  |  Branch (70:9): [True: 0, False: 1.51k]
  ------------------
   71|      0|        return 0;
   72|  1.51k|    s = PyUnicode_DecodeUTF8(_PyTok_SourcePointer(&tok->source, tok->start),
   73|  1.51k|                             tok->cur - tok->start, NULL);
   74|  1.51k|    if (s == NULL) {
  ------------------
  |  Branch (74:9): [True: 0, False: 1.51k]
  ------------------
   75|      0|        if (PyErr_ExceptionMatches(PyExc_UnicodeDecodeError)) {
  ------------------
  |  Branch (75:13): [True: 0, False: 0]
  ------------------
   76|      0|            tok->done = E_DECODE;
  ------------------
  |  |   34|      0|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
   77|      0|        }
   78|      0|        else {
   79|      0|            tok->done = E_ERROR;
  ------------------
  |  |   29|      0|#define E_ERROR          17      /* Execution error */
  ------------------
   80|      0|        }
   81|      0|        return 0;
   82|      0|    }
   83|  1.51k|    Py_ssize_t invalid = _PyUnicode_ScanIdentifier(s);
   84|  1.51k|    assert(invalid >= 0);
  ------------------
  |  Branch (84:5): [True: 1.51k, False: 0]
  ------------------
   85|  1.51k|    assert(PyUnicode_GET_LENGTH(s) > 0);
  ------------------
  |  Branch (85:5): [True: 1.51k, False: 0]
  ------------------
   86|  1.51k|    if (invalid < PyUnicode_GET_LENGTH(s)) {
  ------------------
  |  |  300|  1.51k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (86:9): [True: 3, False: 1.50k]
  ------------------
   87|      3|        Py_UCS4 ch = PyUnicode_READ_CHAR(s, invalid);
  ------------------
  |  |  382|      3|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   88|      3|        _PyTok_Off error_cursor = tok->cur;
   89|      3|        if (invalid + 1 < PyUnicode_GET_LENGTH(s)) {
  ------------------
  |  |  300|      3|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (89:13): [True: 3, False: 0]
  ------------------
   90|       |            /* Determine the offset in UTF-8 encoded input */
   91|      3|            Py_SETREF(s, PyUnicode_Substring(s, 0, invalid + 1));
  ------------------
  |  |  545|      3|    do { \
  |  |  546|      3|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      3|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      3|        *_tmp_dst_ptr = (src); \
  |  |  549|      3|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
   92|      3|            if (s != NULL) {
  ------------------
  |  Branch (92:17): [True: 3, False: 0]
  ------------------
   93|      3|                Py_SETREF(s, PyUnicode_AsUTF8String(s));
  ------------------
  |  |  545|      3|    do { \
  |  |  546|      3|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      3|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      3|        *_tmp_dst_ptr = (src); \
  |  |  549|      3|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
   94|      3|            }
   95|      3|            if (s == NULL) {
  ------------------
  |  Branch (95:17): [True: 0, False: 3]
  ------------------
   96|      0|                tok->done = E_ERROR;
  ------------------
  |  |   29|      0|#define E_ERROR          17      /* Execution error */
  ------------------
   97|      0|                return 0;
   98|      0|            }
   99|      3|            error_cursor = tok->start + PyBytes_GET_SIZE(s);
  ------------------
  |  |   33|      3|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  100|      3|        }
  101|      3|        Py_DECREF(s);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  102|      3|        if (Py_UNICODE_ISPRINTABLE(ch)) {
  ------------------
  |  |  722|      3|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  ------------------
  |  |  |  Branch (722:36): [True: 0, False: 3]
  |  |  ------------------
  ------------------
  103|      0|            _PyTokenizer_syntaxerror_at(
  104|      0|                tok, _PyTok_SourcePointer(&tok->source, tok->line_start),
  105|      0|                error_cursor - tok->line_start, tok->lineno, -1, -1,
  106|      0|                "invalid character '%c' (U+%04X)", ch, ch);
  107|      0|        }
  108|      3|        else {
  109|      3|            _PyTokenizer_syntaxerror_at(
  110|      3|                tok, _PyTok_SourcePointer(&tok->source, tok->line_start),
  111|      3|                error_cursor - tok->line_start, tok->lineno, -1, -1,
  112|      3|                "invalid non-printable character U+%04X", ch);
  113|      3|        }
  114|      3|        return 0;
  115|      3|    }
  116|  1.50k|    Py_DECREF(s);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  117|  1.50k|    return 1;
  118|  1.51k|}

lexer.c:tok_nextc:
   37|  17.1M|{
   38|  17.1M|    while (tok->cur == tok->inp) {
  ------------------
  |  Branch (38:12): [True: 50, False: 17.1M]
  ------------------
   39|     50|        if (!_PyLexer_refill(tok)) {
  ------------------
  |  Branch (39:13): [True: 50, False: 0]
  ------------------
   40|     50|            return EOF;
   41|     50|        }
   42|     50|    }
   43|  17.1M|    if (tok->cur - tok->line_start >= INT_MAX) {
  ------------------
  |  Branch (43:9): [True: 0, False: 17.1M]
  ------------------
   44|      0|        tok->done = E_COLUMNOVERFLOW;
  ------------------
  |  |   40|      0|#define E_COLUMNOVERFLOW 29      /* Column offset overflow */
  ------------------
   45|      0|        return EOF;
   46|      0|    }
   47|  17.1M|    return _PyTok_SourceByte(&tok->source, tok->cur++);
   48|  17.1M|}
lexer.c:tok_failed:
   28|  3.56M|{
   29|  3.56M|    return tok->done != E_OK && tok->done != E_EOF &&
  ------------------
  |  |   22|  7.12M|#define E_OK             10      /* No error */
  ------------------
                  return tok->done != E_OK && tok->done != E_EOF &&
  ------------------
  |  |   23|  3.56M|#define E_EOF            11      /* End Of File */
  ------------------
  |  Branch (29:12): [True: 54, False: 3.56M]
  |  Branch (29:33): [True: 19, False: 35]
  ------------------
   30|     19|           tok->done != E_INTERACT_STOP;
  ------------------
  |  |   39|     19|#define E_INTERACT_STOP  28      /* Interactive mode stopped tokenization */
  ------------------
  |  Branch (30:12): [True: 19, False: 0]
  ------------------
   31|  3.56M|}
layout.c:tok_nextc:
   37|     37|{
   38|     73|    while (tok->cur == tok->inp) {
  ------------------
  |  Branch (38:12): [True: 36, False: 37]
  ------------------
   39|     36|        if (!_PyLexer_refill(tok)) {
  ------------------
  |  Branch (39:13): [True: 0, False: 36]
  ------------------
   40|      0|            return EOF;
   41|      0|        }
   42|     36|    }
   43|     37|    if (tok->cur - tok->line_start >= INT_MAX) {
  ------------------
  |  Branch (43:9): [True: 0, False: 37]
  ------------------
   44|      0|        tok->done = E_COLUMNOVERFLOW;
  ------------------
  |  |   40|      0|#define E_COLUMNOVERFLOW 29      /* Column offset overflow */
  ------------------
   45|      0|        return EOF;
   46|      0|    }
   47|     37|    return _PyTok_SourceByte(&tok->source, tok->cur++);
   48|     37|}
number.c:tok_nextc:
   37|  2.58M|{
   38|  2.58M|    while (tok->cur == tok->inp) {
  ------------------
  |  Branch (38:12): [True: 0, False: 2.58M]
  ------------------
   39|      0|        if (!_PyLexer_refill(tok)) {
  ------------------
  |  Branch (39:13): [True: 0, False: 0]
  ------------------
   40|      0|            return EOF;
   41|      0|        }
   42|      0|    }
   43|  2.58M|    if (tok->cur - tok->line_start >= INT_MAX) {
  ------------------
  |  Branch (43:9): [True: 0, False: 2.58M]
  ------------------
   44|      0|        tok->done = E_COLUMNOVERFLOW;
  ------------------
  |  |   40|      0|#define E_COLUMNOVERFLOW 29      /* Column offset overflow */
  ------------------
   45|      0|        return EOF;
   46|      0|    }
   47|  2.58M|    return _PyTok_SourceByte(&tok->source, tok->cur++);
   48|  2.58M|}
string.c:tok_nextc:
   37|  15.5M|{
   38|  15.5M|    while (tok->cur == tok->inp) {
  ------------------
  |  Branch (38:12): [True: 3, False: 15.5M]
  ------------------
   39|      3|        if (!_PyLexer_refill(tok)) {
  ------------------
  |  Branch (39:13): [True: 3, False: 0]
  ------------------
   40|      3|            return EOF;
   41|      3|        }
   42|      3|    }
   43|  15.5M|    if (tok->cur - tok->line_start >= INT_MAX) {
  ------------------
  |  Branch (43:9): [True: 0, False: 15.5M]
  ------------------
   44|      0|        tok->done = E_COLUMNOVERFLOW;
  ------------------
  |  |   40|      0|#define E_COLUMNOVERFLOW 29      /* Column offset overflow */
  ------------------
   45|      0|        return EOF;
   46|      0|    }
   47|  15.5M|    return _PyTok_SourceByte(&tok->source, tok->cur++);
   48|  15.5M|}
string.c:tok_failed:
   28|      3|{
   29|      3|    return tok->done != E_OK && tok->done != E_EOF &&
  ------------------
  |  |   22|      6|#define E_OK             10      /* No error */
  ------------------
                  return tok->done != E_OK && tok->done != E_EOF &&
  ------------------
  |  |   23|      6|#define E_EOF            11      /* End Of File */
  ------------------
  |  Branch (29:12): [True: 3, False: 0]
  |  Branch (29:33): [True: 0, False: 3]
  ------------------
   30|      0|           tok->done != E_INTERACT_STOP;
  ------------------
  |  |   39|      0|#define E_INTERACT_STOP  28      /* Interactive mode stopped tokenization */
  ------------------
  |  Branch (30:12): [True: 0, False: 0]
  ------------------
   31|      3|}

_PyLexer_scan_number:
  115|    174|{
  116|    174|    _PyTok_Off p_start = -1;
  117|    174|    _PyTok_Off p_end = -1;
  118|       |
  119|    174|    if (leading_dot) {
  ------------------
  |  Branch (119:9): [True: 0, False: 174]
  ------------------
  120|      0|        goto fraction;
  121|      0|    }
  122|    174|    if (c == '0') {
  ------------------
  |  Branch (122:9): [True: 88, False: 86]
  ------------------
  123|       |        /* Hex, octal or binary -- maybe. */
  124|     88|        c = tok_nextc(tok);
  125|     88|        if (c == 'x' || c == 'X') {
  ------------------
  |  Branch (125:13): [True: 1, False: 87]
  |  Branch (125:25): [True: 0, False: 87]
  ------------------
  126|       |            /* Hex */
  127|      1|            c = tok_nextc(tok);
  128|      1|            do {
  129|      1|                if (c == '_') {
  ------------------
  |  Branch (129:21): [True: 0, False: 1]
  ------------------
  130|      0|                    c = tok_nextc(tok);
  131|      0|                }
  132|      1|                if (!Py_ISXDIGIT(c)) {
  ------------------
  |  |   25|      1|#define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |  170|      1|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |   14|      1|#define PY_CTF_XDIGIT 0x10
  |  |  ------------------
  ------------------
  |  Branch (132:21): [True: 0, False: 1]
  ------------------
  133|      0|                    tok_backup(tok, c);
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
  134|      0|                    return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid hexadecimal literal"));
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  135|      0|                }
  136|     14|                do {
  137|     14|                    c = tok_nextc(tok);
  138|     14|                } while (Py_ISXDIGIT(c));
  ------------------
  |  |   25|     14|#define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |  170|     14|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |   14|     14|#define PY_CTF_XDIGIT 0x10
  |  |  ------------------
  |  |  |  Branch (25:24): [True: 13, False: 1]
  |  |  ------------------
  ------------------
  139|      1|            } while (c == '_');
  ------------------
  |  Branch (139:22): [True: 0, False: 1]
  ------------------
  140|      1|            if (!verify_end_of_number(tok, c, "hexadecimal")) {
  ------------------
  |  Branch (140:17): [True: 0, False: 1]
  ------------------
  141|      0|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  142|      0|            }
  143|      1|        }
  144|     87|        else if (c == 'o' || c == 'O') {
  ------------------
  |  Branch (144:18): [True: 0, False: 87]
  |  Branch (144:30): [True: 0, False: 87]
  ------------------
  145|       |            /* Octal */
  146|      0|            c = tok_nextc(tok);
  147|      0|            do {
  148|      0|                if (c == '_') {
  ------------------
  |  Branch (148:21): [True: 0, False: 0]
  ------------------
  149|      0|                    c = tok_nextc(tok);
  150|      0|                }
  151|      0|                if (c < '0' || c >= '8') {
  ------------------
  |  Branch (151:21): [True: 0, False: 0]
  |  Branch (151:32): [True: 0, False: 0]
  ------------------
  152|      0|                    if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|      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]
  |  |  ------------------
  ------------------
  153|      0|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  154|      0|                                "invalid digit '%c' in octal literal", c));
  155|      0|                    }
  156|      0|                    else {
  157|      0|                        tok_backup(tok, c);
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
  158|      0|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid octal literal"));
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  159|      0|                    }
  160|      0|                }
  161|      0|                do {
  162|      0|                    c = tok_nextc(tok);
  163|      0|                } while ('0' <= c && c < '8');
  ------------------
  |  Branch (163:26): [True: 0, False: 0]
  |  Branch (163:38): [True: 0, False: 0]
  ------------------
  164|      0|            } while (c == '_');
  ------------------
  |  Branch (164:22): [True: 0, False: 0]
  ------------------
  165|      0|            if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|      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]
  |  |  ------------------
  ------------------
  166|      0|                return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  167|      0|                        "invalid digit '%c' in octal literal", c));
  168|      0|            }
  169|      0|            if (!verify_end_of_number(tok, c, "octal")) {
  ------------------
  |  Branch (169:17): [True: 0, False: 0]
  ------------------
  170|      0|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  171|      0|            }
  172|      0|        }
  173|     87|        else if (c == 'b' || c == 'B') {
  ------------------
  |  Branch (173:18): [True: 0, False: 87]
  |  Branch (173:30): [True: 0, False: 87]
  ------------------
  174|       |            /* Binary */
  175|      0|            c = tok_nextc(tok);
  176|      0|            do {
  177|      0|                if (c == '_') {
  ------------------
  |  Branch (177:21): [True: 0, False: 0]
  ------------------
  178|      0|                    c = tok_nextc(tok);
  179|      0|                }
  180|      0|                if (c != '0' && c != '1') {
  ------------------
  |  Branch (180:21): [True: 0, False: 0]
  |  Branch (180:33): [True: 0, False: 0]
  ------------------
  181|      0|                    if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|      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]
  |  |  ------------------
  ------------------
  182|      0|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid digit '%c' in binary literal", c));
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  183|      0|                    }
  184|      0|                    else {
  185|      0|                        tok_backup(tok, c);
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
  186|      0|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid binary literal"));
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  187|      0|                    }
  188|      0|                }
  189|      0|                do {
  190|      0|                    c = tok_nextc(tok);
  191|      0|                } while (c == '0' || c == '1');
  ------------------
  |  Branch (191:26): [True: 0, False: 0]
  |  Branch (191:38): [True: 0, False: 0]
  ------------------
  192|      0|            } while (c == '_');
  ------------------
  |  Branch (192:22): [True: 0, False: 0]
  ------------------
  193|      0|            if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|      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]
  |  |  ------------------
  ------------------
  194|      0|                return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid digit '%c' in binary literal", c));
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  195|      0|            }
  196|      0|            if (!verify_end_of_number(tok, c, "binary")) {
  ------------------
  |  Branch (196:17): [True: 0, False: 0]
  ------------------
  197|      0|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  198|      0|            }
  199|      0|        }
  200|     87|        else {
  201|     87|            int nonzero = 0;
  202|       |            /* maybe old-style octal; c is first char of it */
  203|       |            /* in any case, allow '0' as a literal */
  204|  2.11M|            while (1) {
  ------------------
  |  Branch (204:20): [True: 2.11M, Folded]
  ------------------
  205|  2.11M|                if (c == '_') {
  ------------------
  |  Branch (205:21): [True: 2, False: 2.11M]
  ------------------
  206|      2|                    c = tok_nextc(tok);
  207|      2|                    if (!Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      2|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|      2|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|      2|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  ------------------
  |  Branch (207:25): [True: 0, False: 2]
  ------------------
  208|      0|                        tok_backup(tok, c);
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
  209|      0|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid decimal literal"));
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  210|      0|                    }
  211|      2|                }
  212|  2.11M|                if (c != '0') {
  ------------------
  |  Branch (212:21): [True: 87, False: 2.11M]
  ------------------
  213|     87|                    break;
  214|     87|                }
  215|  2.11M|                c = tok_nextc(tok);
  216|  2.11M|            }
  217|     87|            _PyTok_Off zeros_end = tok->cur;
  218|     87|            if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|     87|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|     87|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|     87|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 4, False: 83]
  |  |  ------------------
  ------------------
  219|      4|                nonzero = 1;
  220|      4|                c = tok_decimal_tail(tok);
  221|      4|                if (c == 0) {
  ------------------
  |  Branch (221:21): [True: 0, False: 4]
  ------------------
  222|      0|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  223|      0|                }
  224|      4|            }
  225|     87|            if (c == '.') {
  ------------------
  |  Branch (225:17): [True: 5, False: 82]
  ------------------
  226|      5|                c = tok_nextc(tok);
  227|      5|                goto fraction;
  228|      5|            }
  229|     82|            else if (c == 'e' || c == 'E') {
  ------------------
  |  Branch (229:22): [True: 0, False: 82]
  |  Branch (229:34): [True: 0, False: 82]
  ------------------
  230|      0|                goto exponent;
  231|      0|            }
  232|     82|            else if (c == 'j' || c == 'J') {
  ------------------
  |  Branch (232:22): [True: 0, False: 82]
  |  Branch (232:34): [True: 0, False: 82]
  ------------------
  233|      0|                goto imaginary;
  234|      0|            }
  235|     82|            else if (nonzero && !tok->tok_extra_tokens) {
  ------------------
  |  Branch (235:22): [True: 4, False: 78]
  |  Branch (235:33): [True: 4, False: 0]
  ------------------
  236|       |                /* Old-style octal: now disallowed. */
  237|      4|                tok_backup(tok, c);
  ------------------
  |  |   24|      4|#define tok_backup _PyLexer_backup
  ------------------
  238|      4|                return MAKE_TOKEN(_PyTokenizer_syntaxerror_known_range(
  ------------------
  |  |    7|      4|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  239|      4|                        tok, (int)(tok->start + 1 - tok->line_start),
  240|      4|                        (int)(zeros_end - tok->line_start),
  241|      4|                        "leading zeros in decimal integer "
  242|      4|                        "literals are not permitted; "
  243|      4|                        "use an 0o prefix for octal integers"));
  244|      4|            }
  245|     78|            if (!verify_end_of_number(tok, c, "decimal")) {
  ------------------
  |  Branch (245:17): [True: 0, False: 78]
  ------------------
  246|      0|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  247|      0|            }
  248|     78|        }
  249|     88|    }
  250|     86|    else {
  251|       |        /* Decimal */
  252|     86|        c = tok_decimal_tail(tok);
  253|     86|        if (c == 0) {
  ------------------
  |  Branch (253:13): [True: 0, False: 86]
  ------------------
  254|      0|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  255|      0|        }
  256|     86|        {
  257|       |            /* Accept floating-point numbers. */
  258|     86|            if (c == '.') {
  ------------------
  |  Branch (258:17): [True: 2, False: 84]
  ------------------
  259|      2|                c = tok_nextc(tok);
  260|      7|    fraction:
  261|       |                /* Fraction */
  262|      7|                if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      7|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|      7|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|      7|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 7, False: 0]
  |  |  ------------------
  ------------------
  263|      7|                    c = tok_decimal_tail(tok);
  264|      7|                    if (c == 0) {
  ------------------
  |  Branch (264:25): [True: 0, False: 7]
  ------------------
  265|      0|                        return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  266|      0|                    }
  267|      7|                }
  268|      7|            }
  269|     91|            if (c == 'e' || c == 'E') {
  ------------------
  |  Branch (269:17): [True: 0, False: 91]
  |  Branch (269:29): [True: 48, False: 43]
  ------------------
  270|     48|                int e;
  271|     48|              exponent:
  272|     48|                e = c;
  273|       |                /* Exponent part */
  274|     48|                c = tok_nextc(tok);
  275|     48|                if (c == '+' || c == '-') {
  ------------------
  |  Branch (275:21): [True: 0, False: 48]
  |  Branch (275:33): [True: 48, False: 0]
  ------------------
  276|     48|                    c = tok_nextc(tok);
  277|     48|                    if (!Py_ISDIGIT(c)) {
  ------------------
  |  |   24|     48|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|     48|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|     48|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  ------------------
  |  Branch (277:25): [True: 0, False: 48]
  ------------------
  278|      0|                        tok_backup(tok, c);
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
  279|      0|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid decimal literal"));
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  280|      0|                    }
  281|     48|                } else if (!Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|      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 (281:28): [True: 0, False: 0]
  ------------------
  282|      0|                    tok_backup(tok, c);
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
  283|      0|                    if (!verify_end_of_number(tok, e, "decimal")) {
  ------------------
  |  Branch (283:25): [True: 0, False: 0]
  ------------------
  284|      0|                        return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  285|      0|                    }
  286|      0|                    tok_backup(tok, e);
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
  287|      0|                    p_start = tok->start;
  288|      0|                    p_end = tok->cur;
  289|      0|                    return MAKE_TOKEN(NUMBER);
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  290|      0|                }
  291|     48|                c = tok_decimal_tail(tok);
  292|     48|                if (c == 0) {
  ------------------
  |  Branch (292:21): [True: 0, False: 48]
  ------------------
  293|      0|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  294|      0|                }
  295|     48|            }
  296|     91|            if (c == 'j' || c == 'J') {
  ------------------
  |  Branch (296:17): [True: 0, False: 91]
  |  Branch (296:29): [True: 0, False: 91]
  ------------------
  297|       |                /* Imaginary part */
  298|      0|    imaginary:
  299|      0|                c = tok_nextc(tok);
  300|      0|                if (!verify_end_of_number(tok, c, "imaginary")) {
  ------------------
  |  Branch (300:21): [True: 0, False: 0]
  ------------------
  301|      0|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  302|      0|                }
  303|      0|            }
  304|     91|            else if (!verify_end_of_number(tok, c, "decimal")) {
  ------------------
  |  Branch (304:22): [True: 0, False: 91]
  ------------------
  305|      0|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  306|      0|            }
  307|     91|        }
  308|     91|    }
  309|    170|    tok_backup(tok, c);
  ------------------
  |  |   24|    170|#define tok_backup _PyLexer_backup
  ------------------
  310|    170|    p_start = tok->start;
  311|    170|    p_end = tok->cur;
  312|    170|    return MAKE_TOKEN(NUMBER);
  ------------------
  |  |    7|    170|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  313|    174|}
number.c:verify_end_of_number:
   33|    170|verify_end_of_number(struct tok_state *tok, int c, const char *kind) {
   34|    170|    if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (34:9): [True: 0, False: 170]
  ------------------
   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|    170|    int r = 0;
   50|    170|    if (c == 'a') {
  ------------------
  |  Branch (50:9): [True: 0, False: 170]
  ------------------
   51|      0|        r = lookahead(tok, "nd");
   52|      0|    }
   53|    170|    else if (c == 'e') {
  ------------------
  |  Branch (53:14): [True: 0, False: 170]
  ------------------
   54|      0|        r = lookahead(tok, "lse");
   55|      0|    }
   56|    170|    else if (c == 'f') {
  ------------------
  |  Branch (56:14): [True: 2, False: 168]
  ------------------
   57|      2|        r = lookahead(tok, "or");
   58|      2|    }
   59|    168|    else if (c == 'i') {
  ------------------
  |  Branch (59:14): [True: 0, False: 168]
  ------------------
   60|      0|        int c2 = tok_nextc(tok);
   61|      0|        if (c2 == 'f' || c2 == 'n' || c2 == 's') {
  ------------------
  |  Branch (61:13): [True: 0, False: 0]
  |  Branch (61:26): [True: 0, False: 0]
  |  Branch (61:39): [True: 0, False: 0]
  ------------------
   62|      0|            r = 1;
   63|      0|        }
   64|      0|        tok_backup(tok, c2);
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
   65|      0|    }
   66|    168|    else if (c == 'o') {
  ------------------
  |  Branch (66:14): [True: 0, False: 168]
  ------------------
   67|      0|        r = lookahead(tok, "r");
   68|      0|    }
   69|    168|    else if (c == 'n') {
  ------------------
  |  Branch (69:14): [True: 0, False: 168]
  ------------------
   70|      0|        r = lookahead(tok, "ot");
   71|      0|    }
   72|    170|    if (r) {
  ------------------
  |  Branch (72:9): [True: 2, False: 168]
  ------------------
   73|      2|        tok_backup(tok, c);
  ------------------
  |  |   24|      2|#define tok_backup _PyLexer_backup
  ------------------
   74|      2|        if (_PyTokenizer_parser_warn(tok, PyExc_SyntaxWarning,
  ------------------
  |  Branch (74:13): [True: 0, False: 2]
  ------------------
   75|      2|                "invalid %s literal", kind))
   76|      0|        {
   77|      0|            return 0;
   78|      0|        }
   79|      2|        tok_nextc(tok);
   80|      2|    }
   81|    168|    else /* In future releases, only error will remain. */
   82|    168|    if (c < 128 && is_potential_identifier_char(c)) {
  ------------------
  |  |   13|    168|#define is_potential_identifier_char(c) (\
  |  |   14|    168|              (c >= 'a' && c <= 'z')\
  |  |  ------------------
  |  |  |  Branch (14:16): [True: 1, False: 167]
  |  |  |  Branch (14:28): [True: 0, False: 1]
  |  |  ------------------
  |  |   15|    168|               || (c >= 'A' && c <= 'Z')\
  |  |  ------------------
  |  |  |  Branch (15:20): [True: 1, False: 167]
  |  |  |  Branch (15:32): [True: 0, False: 1]
  |  |  ------------------
  |  |   16|    168|               || (c >= '0' && c <= '9')\
  |  |  ------------------
  |  |  |  Branch (16:20): [True: 40, False: 128]
  |  |  |  Branch (16:32): [True: 0, False: 40]
  |  |  ------------------
  |  |   17|    168|               || c == '_'\
  |  |  ------------------
  |  |  |  Branch (17:19): [True: 0, False: 168]
  |  |  ------------------
  |  |   18|    168|               || (c >= 128))
  |  |  ------------------
  |  |  |  Branch (18:19): [True: 0, False: 168]
  |  |  ------------------
  ------------------
  |  Branch (82:9): [True: 168, False: 0]
  ------------------
   83|      0|        tok_backup(tok, c);
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
   84|      0|        _PyTokenizer_syntaxerror(tok, "invalid %s literal", kind);
   85|      0|        return 0;
   86|      0|    }
   87|    170|    return 1;
   88|    170|}
number.c:lookahead:
   11|      2|{
   12|      2|    const char *s = test;
   13|      2|    int res = 0;
   14|      6|    while (1) {
  ------------------
  |  Branch (14:12): [True: 6, Folded]
  ------------------
   15|      6|        int c = tok_nextc(tok);
   16|      6|        if (*s == 0) {
  ------------------
  |  Branch (16:13): [True: 2, False: 4]
  ------------------
   17|      2|            res = !is_potential_identifier_char(c);
  ------------------
  |  |   13|      2|#define is_potential_identifier_char(c) (\
  |  |   14|      2|              (c >= 'a' && c <= 'z')\
  |  |  ------------------
  |  |  |  Branch (14:16): [True: 0, False: 2]
  |  |  |  Branch (14:28): [True: 0, False: 0]
  |  |  ------------------
  |  |   15|      2|               || (c >= 'A' && c <= 'Z')\
  |  |  ------------------
  |  |  |  Branch (15:20): [True: 0, False: 2]
  |  |  |  Branch (15:32): [True: 0, False: 0]
  |  |  ------------------
  |  |   16|      2|               || (c >= '0' && c <= '9')\
  |  |  ------------------
  |  |  |  Branch (16:20): [True: 0, False: 2]
  |  |  |  Branch (16:32): [True: 0, False: 0]
  |  |  ------------------
  |  |   17|      2|               || c == '_'\
  |  |  ------------------
  |  |  |  Branch (17:19): [True: 0, False: 2]
  |  |  ------------------
  |  |   18|      2|               || (c >= 128))
  |  |  ------------------
  |  |  |  Branch (18:19): [True: 0, False: 2]
  |  |  ------------------
  ------------------
   18|      2|        }
   19|      4|        else if (c == *s) {
  ------------------
  |  Branch (19:18): [True: 4, False: 0]
  ------------------
   20|      4|            s++;
   21|      4|            continue;
   22|      4|        }
   23|       |
   24|      2|        tok_backup(tok, c);
  ------------------
  |  |   24|      2|#define tok_backup _PyLexer_backup
  ------------------
   25|      6|        while (s != test) {
  ------------------
  |  Branch (25:16): [True: 4, False: 2]
  ------------------
   26|      4|            tok_backup(tok, *--s);
  ------------------
  |  |   24|      4|#define tok_backup _PyLexer_backup
  ------------------
   27|      4|        }
   28|      2|        return res;
   29|      6|    }
   30|      2|}
number.c:tok_decimal_tail:
   92|    145|{
   93|    145|    int c;
   94|       |
   95|    157|    while (1) {
  ------------------
  |  Branch (95:12): [True: 157, Folded]
  ------------------
   96|   463k|        do {
   97|   463k|            c = tok_nextc(tok);
   98|   463k|        } while (Py_ISDIGIT(c));
  ------------------
  |  |   24|   463k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|   463k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|   463k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 463k, False: 157]
  |  |  ------------------
  ------------------
   99|    157|        if (c != '_') {
  ------------------
  |  Branch (99:13): [True: 145, False: 12]
  ------------------
  100|    145|            break;
  101|    145|        }
  102|     12|        c = tok_nextc(tok);
  103|     12|        if (!Py_ISDIGIT(c)) {
  ------------------
  |  |   24|     12|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|     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 (103:13): [True: 0, False: 12]
  ------------------
  104|      0|            tok_backup(tok, c);
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
  105|      0|            _PyTokenizer_syntaxerror(tok, "invalid decimal literal");
  106|      0|            return 0;
  107|      0|        }
  108|     12|    }
  109|    145|    return c;
  110|    145|}

_PyLexer_PushFTString:
   11|     51|{
   12|     51|    assert(tok->ftstring_depth >= 0 && tok->ftstring_depth <= tok->ftstring_capacity);
  ------------------
  |  Branch (12:5): [True: 51, False: 0]
  |  Branch (12:5): [True: 51, False: 0]
  ------------------
   13|     51|    int next_depth = tok->ftstring_depth + 1;
   14|     51|    if (next_depth >= MAXFTSTRINGLEVEL) {
  ------------------
  |  |   10|     51|#define MAXFTSTRINGLEVEL 150
  ------------------
  |  Branch (14:9): [True: 0, False: 51]
  ------------------
   15|      0|        _PyTokenizer_syntaxerror(
   16|      0|            tok, "too many nested f-strings or t-strings");
   17|      0|        return NULL;
   18|      0|    }
   19|     51|    if (tok->ftstring_depth == tok->ftstring_capacity) {
  ------------------
  |  Branch (19:9): [True: 8, False: 43]
  ------------------
   20|      8|        int capacity = Py_MIN(Py_MAX(tok->ftstring_capacity * 2, 4),
  ------------------
  |  |  127|      8|       __extension__ \
  |  |  128|     16|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  |  Branch (128:38): [True: 6, False: 2]
  |  |  ------------------
  |  |  129|      8|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      8|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 8, False: 0]
  |  |  ------------------
  ------------------
   21|      8|                              MAXFTSTRINGLEVEL);
   22|      8|        size_t size = (size_t)capacity * sizeof(*tok->ftstring_stack);
   23|      8|        ftstring_state *stack;
   24|      8|        if (tok->ftstring_stack == tok->ftstring_stack_inline) {
  ------------------
  |  Branch (24:13): [True: 2, False: 6]
  ------------------
   25|      2|            stack = PyMem_Malloc(size);
   26|      2|            if (stack != NULL) {
  ------------------
  |  Branch (26:17): [True: 2, False: 0]
  ------------------
   27|      2|                memcpy(stack, tok->ftstring_stack,
   28|      2|                       (size_t)tok->ftstring_depth * sizeof(*stack));
   29|      2|            }
   30|      2|        }
   31|      6|        else {
   32|      6|            stack = PyMem_Realloc(tok->ftstring_stack, size);
   33|      6|        }
   34|      8|        if (stack == NULL) {
  ------------------
  |  Branch (34:13): [True: 0, False: 8]
  ------------------
   35|      0|            PyErr_NoMemory();
   36|      0|            tok->done = E_NOMEM;
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
   37|      0|            return NULL;
   38|      0|        }
   39|      8|        tok->ftstring_stack = stack;
   40|      8|        tok->ftstring_capacity = capacity;
   41|      8|    }
   42|     51|    ftstring_state *state = &tok->ftstring_stack[tok->ftstring_depth];
   43|     51|    tok->ftstring_depth = next_depth;
   44|     51|    *state = (ftstring_state){0};
   45|     51|    return state;
   46|     51|}
_PyLexer_PopFTString:
   50|     16|{
   51|     16|    ftstring_state *state = _PyLexer_CurrentFTString(tok);
   52|     16|    assert(state != NULL);
  ------------------
  |  Branch (52:5): [True: 16, False: 0]
  ------------------
   53|     16|    PyMem_Free(state->comments);
   54|     16|    tok->ftstring_depth--;
   55|     16|}
_PyTokenizer_Free:
   60|     35|{
   61|     35|    Py_XDECREF(tok->filename);
  ------------------
  |  |  621|     35|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   62|     35|    Py_XDECREF(tok->module);
  ------------------
  |  |  621|     35|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   63|     35|    _PyTok_ReaderFree(tok);
   64|     35|    _PyTok_SourceClear(&tok->source);
   65|     70|    for (int i = 0; i < tok->ftstring_depth; i++) {
  ------------------
  |  Branch (65:21): [True: 35, False: 35]
  ------------------
   66|     35|        PyMem_Free(tok->ftstring_stack[i].comments);
   67|     35|    }
   68|     35|    if (tok->ftstring_stack != tok->ftstring_stack_inline) {
  ------------------
  |  Branch (68:9): [True: 2, False: 33]
  ------------------
   69|      2|        PyMem_Free(tok->ftstring_stack);
   70|      2|    }
   71|     35|    PyMem_Free(tok);
   72|     35|}
_PyToken_Init:
   75|  3.00M|_PyToken_Init(struct token *token) {
   76|  3.00M|    *token = (struct token){
   77|  3.00M|        .type = -1,
   78|  3.00M|        .span = {-1, -1},
   79|  3.00M|        .start_loc = {-1, -1},
   80|  3.00M|        .end_loc = {-1, -1},
   81|  3.00M|    };
   82|  3.00M|}
_PyLexer_token_setup:
   86|  3.55M|{
   87|  3.55M|    token->level = tok->level;
   88|  3.55M|    token->is_raw = 0;
   89|  3.55M|    token->is_incomplete = 0;
   90|  3.55M|    assert((start == -1 && end == -1) || (start >= 0 && end >= start));
  ------------------
  |  Branch (90:5): [True: 37, False: 3.55M]
  |  Branch (90:5): [True: 37, False: 0]
  |  Branch (90:5): [True: 3.55M, False: 0]
  |  Branch (90:5): [True: 3.55M, False: 0]
  ------------------
   91|  3.55M|    token->span = (_PyTok_Span){start, end};
   92|  3.55M|    if (start >= 0) {
  ------------------
  |  Branch (92:9): [True: 3.55M, False: 37]
  ------------------
   93|  3.55M|        token->start_loc = tok->start_loc;
   94|  3.55M|        token->end_loc = (_PyTok_Loc){tok->lineno, _PyLexer_ByteColumn(tok)};
   95|  3.55M|    }
   96|     37|    else {
   97|     37|        token->start_loc = token->end_loc = (_PyTok_Loc){tok->lineno, -1};
   98|     37|    }
   99|  3.55M|    return type;
  100|  3.55M|}

reader.c:_PyLexer_CurrentFTString:
  114|     36|{
  115|     36|    assert(tok->ftstring_stack != NULL);
  ------------------
  |  Branch (115:5): [True: 36, False: 0]
  ------------------
  116|     36|    assert(tok->ftstring_depth >= 0 && tok->ftstring_depth <= tok->ftstring_capacity);
  ------------------
  |  Branch (116:5): [True: 36, False: 0]
  |  Branch (116:5): [True: 36, False: 0]
  ------------------
  117|     36|    if (tok->ftstring_depth == 0) {
  ------------------
  |  Branch (117:9): [True: 36, False: 0]
  ------------------
  118|     36|        return NULL;
  119|     36|    }
  120|      0|    return &tok->ftstring_stack[tok->ftstring_depth - 1];
  121|     36|}
lexer.c:_PyLexer_ByteColumn:
  138|  7.11M|{
  139|  7.11M|    assert(tok->line_start >= 0);
  ------------------
  |  Branch (139:5): [True: 7.11M, False: 0]
  ------------------
  140|  7.11M|    assert(tok->cur >= tok->line_start);
  ------------------
  |  Branch (140:5): [True: 7.11M, False: 0]
  ------------------
  141|  7.11M|    Py_ssize_t column = tok->cur - tok->line_start;
  142|  7.11M|    assert(column <= INT_MAX);
  ------------------
  |  Branch (142:5): [True: 7.11M, False: 0]
  ------------------
  143|  7.11M|    return (int)column;
  144|  7.11M|}
lexer.c:_PyLexer_FTStringBracketDepth:
  132|      4|{
  133|      4|    return tok->level - state->paren_level;
  134|      4|}
lexer.c:_PyLexer_CurrentFTString:
  114|  3.55M|{
  115|  3.55M|    assert(tok->ftstring_stack != NULL);
  ------------------
  |  Branch (115:5): [True: 3.55M, False: 0]
  ------------------
  116|  3.55M|    assert(tok->ftstring_depth >= 0 && tok->ftstring_depth <= tok->ftstring_capacity);
  ------------------
  |  Branch (116:5): [True: 3.55M, False: 0]
  |  Branch (116:5): [True: 3.55M, False: 0]
  ------------------
  117|  3.55M|    if (tok->ftstring_depth == 0) {
  ------------------
  |  Branch (117:9): [True: 3.28M, False: 277k]
  ------------------
  118|  3.28M|        return NULL;
  119|  3.28M|    }
  120|   277k|    return &tok->ftstring_stack[tok->ftstring_depth - 1];
  121|  3.55M|}
state.c:_PyLexer_CurrentFTString:
  114|     16|{
  115|     16|    assert(tok->ftstring_stack != NULL);
  ------------------
  |  Branch (115:5): [True: 16, False: 0]
  ------------------
  116|     16|    assert(tok->ftstring_depth >= 0 && tok->ftstring_depth <= tok->ftstring_capacity);
  ------------------
  |  Branch (116:5): [True: 16, False: 0]
  |  Branch (116:5): [True: 16, False: 0]
  ------------------
  117|     16|    if (tok->ftstring_depth == 0) {
  ------------------
  |  Branch (117:9): [True: 0, False: 16]
  ------------------
  118|      0|        return NULL;
  119|      0|    }
  120|     16|    return &tok->ftstring_stack[tok->ftstring_depth - 1];
  121|     16|}
state.c:_PyLexer_ByteColumn:
  138|  3.55M|{
  139|  3.55M|    assert(tok->line_start >= 0);
  ------------------
  |  Branch (139:5): [True: 3.55M, False: 0]
  ------------------
  140|  3.55M|    assert(tok->cur >= tok->line_start);
  ------------------
  |  Branch (140:5): [True: 3.55M, False: 0]
  ------------------
  141|  3.55M|    Py_ssize_t column = tok->cur - tok->line_start;
  142|  3.55M|    assert(column <= INT_MAX);
  ------------------
  |  Branch (142:5): [True: 3.55M, False: 0]
  ------------------
  143|  3.55M|    return (int)column;
  144|  3.55M|}
string.c:_PyLexer_CurrentFTString:
  114|     70|{
  115|     70|    assert(tok->ftstring_stack != NULL);
  ------------------
  |  Branch (115:5): [True: 70, False: 0]
  ------------------
  116|     70|    assert(tok->ftstring_depth >= 0 && tok->ftstring_depth <= tok->ftstring_capacity);
  ------------------
  |  Branch (116:5): [True: 70, False: 0]
  |  Branch (116:5): [True: 70, False: 0]
  ------------------
  117|     70|    if (tok->ftstring_depth == 0) {
  ------------------
  |  Branch (117:9): [True: 3, False: 67]
  ------------------
  118|      3|        return NULL;
  119|      3|    }
  120|     67|    return &tok->ftstring_stack[tok->ftstring_depth - 1];
  121|     70|}
string.c:_PyLexer_FTStringBracketDepth:
  132|     12|{
  133|     12|    return tok->level - state->paren_level;
  134|     12|}
string.c:_PyLexer_IsTString:
   50|     79|{
   51|     79|    return kind == TSTRING || kind == RAW_TSTRING;
  ------------------
  |  Branch (51:12): [True: 79, False: 0]
  |  Branch (51:31): [True: 0, False: 0]
  ------------------
   52|     79|}
string.c:_PyLexer_IsRawString:
   56|     63|{
   57|     63|    return kind == RAW_FSTRING || kind == RAW_TSTRING;
  ------------------
  |  Branch (57:12): [True: 0, False: 63]
  |  Branch (57:35): [True: 0, False: 63]
  ------------------
   58|     63|}
string.c:_PyLexer_ByteColumn:
  138|     63|{
  139|     63|    assert(tok->line_start >= 0);
  ------------------
  |  Branch (139:5): [True: 63, False: 0]
  ------------------
  140|     63|    assert(tok->cur >= tok->line_start);
  ------------------
  |  Branch (140:5): [True: 63, False: 0]
  ------------------
  141|     63|    Py_ssize_t column = tok->cur - tok->line_start;
  142|     63|    assert(column <= INT_MAX);
  ------------------
  |  Branch (142:5): [True: 63, False: 0]
  ------------------
  143|     63|    return (int)column;
  144|     63|}

_PyLexer_ftstring_punctuation:
  168|      4|{
  169|      4|    assert(state->mode == FTSTRING_MODE_EXPRESSION);
  ------------------
  |  Branch (169:5): [True: 4, False: 0]
  ------------------
  170|      4|    assert(c == ':' || c == '}' || c == '!');
  ------------------
  |  Branch (170:5): [True: 0, False: 4]
  |  Branch (170:5): [True: 4, False: 0]
  |  Branch (170:5): [True: 0, False: 0]
  ------------------
  171|      4|    if (_PyLexer_FTStringBracketDepth(tok, state) != state->replacement_depth) {
  ------------------
  |  Branch (171:9): [True: 0, False: 4]
  ------------------
  172|      0|        return 0;
  173|      0|    }
  174|      4|    if (c == '!') {
  ------------------
  |  Branch (174:9): [True: 0, False: 4]
  ------------------
  175|      0|        int next = tok_nextc(tok);
  176|      0|        tok_backup(tok, next);
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
  177|      0|        if (next == '=') {
  ------------------
  |  Branch (177:13): [True: 0, False: 0]
  ------------------
  178|      0|            return 0;
  179|      0|        }
  180|      0|    }
  181|      4|    if (finish_ftstring_expr(tok, state, token) < 0) {
  ------------------
  |  Branch (181:9): [True: 0, False: 4]
  ------------------
  182|      0|        return -1;
  183|      0|    }
  184|      4|    if (c == ':') {
  ------------------
  |  Branch (184:9): [True: 0, False: 4]
  ------------------
  185|      0|        state->mode = FTSTRING_MODE_FORMAT_SPEC;
  186|      0|        return COLON;
  ------------------
  |  |   27|      0|#define COLON           11
  ------------------
  187|      0|    }
  188|      4|    return 0;
  189|      4|}
_PyLexer_close_ftstring_expr:
  194|      4|{
  195|      4|    assert(state->mode == FTSTRING_MODE_EXPRESSION);
  ------------------
  |  Branch (195:5): [True: 4, False: 0]
  ------------------
  196|      4|    assert(c == ')' || c == ']' || c == '}');
  ------------------
  |  Branch (196:5): [True: 0, False: 4]
  |  Branch (196:5): [True: 0, False: 4]
  |  Branch (196:5): [True: 4, False: 0]
  ------------------
  197|      4|    int depth = _PyLexer_FTStringBracketDepth(tok, state);
  198|      4|    if (depth < 0) {
  ------------------
  |  Branch (198:9): [True: 0, False: 4]
  ------------------
  199|      0|        _PyTokenizer_syntaxerror(tok, "%c-string: unmatched '%c'",
  200|      0|                                _PyLexer_StringPrefix(state->kind), c);
  201|      0|        return -1;
  202|      0|    }
  203|      4|    if (c == '}' && depth == state->replacement_depth - 1) {
  ------------------
  |  Branch (203:9): [True: 4, False: 0]
  |  Branch (203:21): [True: 4, False: 0]
  ------------------
  204|      4|        state->replacement_depth--;
  205|      4|        state->mode = FTSTRING_MODE_MIDDLE;
  206|      4|        state->debug_expr = 0;
  207|      4|    }
  208|      4|    return 0;
  209|      4|}
_PyLexer_mark_ftstring_debug:
  213|      4|{
  214|      4|    assert(state->mode == FTSTRING_MODE_EXPRESSION);
  ------------------
  |  Branch (214:5): [True: 4, False: 0]
  ------------------
  215|      4|    if (_PyLexer_FTStringBracketDepth(tok, state) == state->replacement_depth) {
  ------------------
  |  Branch (215:9): [True: 4, False: 0]
  ------------------
  216|      4|        state->debug_expr = 1;
  217|      4|    }
  218|      4|}
_PyLexer_check_string_prefixes:
  223|     71|                                             int saw_f, int saw_t) {
  224|       |    // Supported: rb, rf, rt (in any order)
  225|       |    // Unsupported: ub, ur, uf, ut, bf, bt, ft (in any order)
  226|       |
  227|     71|#define RETURN_SYNTAX_ERROR(PREFIX1, PREFIX2)                             \
  228|     71|    do {                                                                  \
  229|     71|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  230|     71|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  231|     71|            (int)(tok->cur - tok->line_start),                            \
  232|     71|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  233|     71|        return -1;                                                        \
  234|     71|    } while (0)
  235|       |
  236|     71|    if (saw_u && saw_b) {
  ------------------
  |  Branch (236:9): [True: 0, False: 71]
  |  Branch (236:18): [True: 0, False: 0]
  ------------------
  237|      0|        RETURN_SYNTAX_ERROR("u", "b");
  ------------------
  |  |  228|      0|    do {                                                                  \
  |  |  229|      0|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  230|      0|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  231|      0|            (int)(tok->cur - tok->line_start),                            \
  |  |  232|      0|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  233|      0|        return -1;                                                        \
  |  |  234|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (234:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  238|      0|    }
  239|     71|    if (saw_u && saw_r) {
  ------------------
  |  Branch (239:9): [True: 0, False: 71]
  |  Branch (239:18): [True: 0, False: 0]
  ------------------
  240|      0|        RETURN_SYNTAX_ERROR("u", "r");
  ------------------
  |  |  228|      0|    do {                                                                  \
  |  |  229|      0|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  230|      0|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  231|      0|            (int)(tok->cur - tok->line_start),                            \
  |  |  232|      0|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  233|      0|        return -1;                                                        \
  |  |  234|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (234:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  241|      0|    }
  242|     71|    if (saw_u && saw_f) {
  ------------------
  |  Branch (242:9): [True: 0, False: 71]
  |  Branch (242:18): [True: 0, False: 0]
  ------------------
  243|      0|        RETURN_SYNTAX_ERROR("u", "f");
  ------------------
  |  |  228|      0|    do {                                                                  \
  |  |  229|      0|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  230|      0|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  231|      0|            (int)(tok->cur - tok->line_start),                            \
  |  |  232|      0|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  233|      0|        return -1;                                                        \
  |  |  234|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (234:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  244|      0|    }
  245|     71|    if (saw_u && saw_t) {
  ------------------
  |  Branch (245:9): [True: 0, False: 71]
  |  Branch (245:18): [True: 0, False: 0]
  ------------------
  246|      0|        RETURN_SYNTAX_ERROR("u", "t");
  ------------------
  |  |  228|      0|    do {                                                                  \
  |  |  229|      0|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  230|      0|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  231|      0|            (int)(tok->cur - tok->line_start),                            \
  |  |  232|      0|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  233|      0|        return -1;                                                        \
  |  |  234|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (234:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  247|      0|    }
  248|       |
  249|     71|    if (saw_b && saw_f) {
  ------------------
  |  Branch (249:9): [True: 20, False: 51]
  |  Branch (249:18): [True: 0, False: 20]
  ------------------
  250|      0|        RETURN_SYNTAX_ERROR("b", "f");
  ------------------
  |  |  228|      0|    do {                                                                  \
  |  |  229|      0|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  230|      0|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  231|      0|            (int)(tok->cur - tok->line_start),                            \
  |  |  232|      0|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  233|      0|        return -1;                                                        \
  |  |  234|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (234:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  251|      0|    }
  252|     71|    if (saw_b && saw_t) {
  ------------------
  |  Branch (252:9): [True: 20, False: 51]
  |  Branch (252:18): [True: 0, False: 20]
  ------------------
  253|      0|        RETURN_SYNTAX_ERROR("b", "t");
  ------------------
  |  |  228|      0|    do {                                                                  \
  |  |  229|      0|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  230|      0|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  231|      0|            (int)(tok->cur - tok->line_start),                            \
  |  |  232|      0|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  233|      0|        return -1;                                                        \
  |  |  234|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (234:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  254|      0|    }
  255|       |
  256|     71|    if (saw_f && saw_t) {
  ------------------
  |  Branch (256:9): [True: 0, False: 71]
  |  Branch (256:18): [True: 0, False: 0]
  ------------------
  257|      0|        RETURN_SYNTAX_ERROR("f", "t");
  ------------------
  |  |  228|      0|    do {                                                                  \
  |  |  229|      0|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  230|      0|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  231|      0|            (int)(tok->cur - tok->line_start),                            \
  |  |  232|      0|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  233|      0|        return -1;                                                        \
  |  |  234|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (234:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  258|      0|    }
  259|       |
  260|     71|#undef RETURN_SYNTAX_ERROR
  261|       |
  262|     71|    return 0;
  263|     71|}
_PyLexer_scan_fstring_start:
  268|     51|{
  269|     51|    _PyTok_Off p_start = -1;
  270|     51|    _PyTok_Off p_end = -1;
  271|       |
  272|     51|    int quote = c;
  273|     51|    int quote_size = 1;             /* 1 or 3 */
  274|       |
  275|       |    /* Find the quote size and start of string */
  276|     51|    int after_quote = tok_nextc(tok);
  277|     51|    if (after_quote == quote) {
  ------------------
  |  Branch (277:9): [True: 4, False: 47]
  ------------------
  278|      4|        int after_after_quote = tok_nextc(tok);
  279|      4|        if (after_after_quote == quote) {
  ------------------
  |  Branch (279:13): [True: 0, False: 4]
  ------------------
  280|      0|            quote_size = 3;
  281|      0|        }
  282|      4|        else {
  283|       |            // TODO: Check this
  284|      4|            tok_backup(tok, after_after_quote);
  ------------------
  |  |   24|      4|#define tok_backup _PyLexer_backup
  ------------------
  285|      4|            tok_backup(tok, after_quote);
  ------------------
  |  |   24|      4|#define tok_backup _PyLexer_backup
  ------------------
  286|      4|        }
  287|      4|    }
  288|     51|    if (after_quote != quote) {
  ------------------
  |  Branch (288:9): [True: 47, False: 4]
  ------------------
  289|     47|        tok_backup(tok, after_quote);
  ------------------
  |  |   24|     47|#define tok_backup _PyLexer_backup
  ------------------
  290|     47|    }
  291|       |
  292|     51|    p_start = tok->start;
  293|     51|    p_end = tok->cur;
  294|     51|    ftstring_state *state = _PyLexer_PushFTString(tok);
  295|     51|    if (state == NULL) {
  ------------------
  |  Branch (295:9): [True: 0, False: 51]
  ------------------
  296|      0|        return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    8|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  297|      0|    }
  298|     51|    state->mode = FTSTRING_MODE_MIDDLE;
  299|     51|    state->quote = quote;
  300|     51|    state->quote_size = quote_size;
  301|     51|    state->paren_level = tok->level;
  302|     51|    state->start = tok->start;
  303|     51|    state->start_loc = tok->start_loc;
  304|     51|    state->expr_span = (_PyTok_Span){-1, -1};
  305|       |
  306|     51|    state->kind = kind;
  307|     51|    return _PyLexer_IsTString(kind)
  ------------------
  |  Branch (307:12): [True: 51, False: 0]
  ------------------
  308|     51|        ? MAKE_TOKEN(TSTRING_START) : MAKE_TOKEN(FSTRING_START);
  ------------------
  |  |    8|     51|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
                      ? MAKE_TOKEN(TSTRING_START) : MAKE_TOKEN(FSTRING_START);
  ------------------
  |  |    8|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  309|     51|}
_PyLexer_scan_string:
  313|    325|{
  314|    325|    _PyTok_Off p_start = -1;
  315|    325|    _PyTok_Off p_end = -1;
  316|       |
  317|    325|    int quote = c;
  318|    325|    int quote_size = 1;             /* 1 or 3 */
  319|    325|    int end_quote_size = 0;
  320|    325|    int has_escaped_quote = 0;
  321|       |
  322|       |    /* Find the quote size and start of string */
  323|    325|    c = tok_nextc(tok);
  324|    325|    if (c == quote) {
  ------------------
  |  Branch (324:9): [True: 264, False: 61]
  ------------------
  325|    264|        c = tok_nextc(tok);
  326|    264|        if (c == quote) {
  ------------------
  |  Branch (326:13): [True: 0, False: 264]
  ------------------
  327|      0|            quote_size = 3;
  328|      0|        }
  329|    264|        else {
  330|    264|            end_quote_size = 1;     /* empty string found */
  331|    264|        }
  332|    264|    }
  333|    325|    if (c != quote) {
  ------------------
  |  Branch (333:9): [True: 325, False: 0]
  ------------------
  334|    325|        tok_backup(tok, c);
  ------------------
  |  |   24|    325|#define tok_backup _PyLexer_backup
  ------------------
  335|    325|    }
  336|       |
  337|       |    /* Get rest of string */
  338|  14.2M|    while (end_quote_size != quote_size) {
  ------------------
  |  Branch (338:12): [True: 14.2M, False: 322]
  ------------------
  339|  14.2M|        c = tok_nextc(tok);
  340|  14.2M|        if (tok->done == E_ERROR) {
  ------------------
  |  |   29|  14.2M|#define E_ERROR          17      /* Execution error */
  ------------------
  |  Branch (340:13): [True: 0, False: 14.2M]
  ------------------
  341|      0|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    8|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  342|      0|        }
  343|  14.2M|        if (tok->done == E_DECODE) {
  ------------------
  |  |   34|  14.2M|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
  |  Branch (343:13): [True: 0, False: 14.2M]
  ------------------
  344|      0|            break;
  345|      0|        }
  346|  14.2M|        if (c == EOF || (quote_size == 1 && c == '\n')) {
  ------------------
  |  Branch (346:13): [True: 3, False: 14.2M]
  |  Branch (346:26): [True: 14.2M, False: 0]
  |  Branch (346:45): [True: 0, False: 14.2M]
  ------------------
  347|      3|            if (tok_failed(tok)) {
  ------------------
  |  Branch (347:17): [True: 0, False: 3]
  ------------------
  348|      0|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    8|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  349|      0|            }
  350|      3|            if (c == EOF && tok->allow_incomplete_input) {
  ------------------
  |  Branch (350:17): [True: 3, False: 0]
  |  Branch (350:29): [True: 0, False: 3]
  ------------------
  351|      0|                return incomplete_string_token(tok, token, STRING,
  ------------------
  |  |   19|      0|#define STRING          3
  ------------------
  352|      0|                                               tok->start, tok->start_loc);
  353|      0|            }
  354|      3|            int end_lineno = tok->lineno;
  355|      3|            _PyTok_Loc location = tok->start_loc;
  356|      3|            const char *line = _PyTok_SourcePointer(
  357|      3|                &tok->source, tok->start - location.byte_col);
  358|      3|            Py_ssize_t cursor_offset = (Py_ssize_t)location.byte_col + 1;
  359|       |
  360|      3|            const ftstring_state *state = _PyLexer_CurrentFTString(tok);
  361|      3|            if (state != NULL) {
  ------------------
  |  Branch (361:17): [True: 0, False: 3]
  ------------------
  362|       |                /* A matching quote may have been intended to close the
  363|       |                 * surrounding formatted string instead of opening a string
  364|       |                 * inside a replacement field. */
  365|      0|                if (state->quote == quote && state->quote_size == quote_size) {
  ------------------
  |  Branch (365:21): [True: 0, False: 0]
  |  Branch (365:46): [True: 0, False: 0]
  ------------------
  366|      0|                    int level = state->paren_level + state->replacement_depth - 1;
  367|      0|                    assert(level >= 0 && level < tok->level);
  ------------------
  |  Branch (367:21): [True: 0, False: 0]
  |  Branch (367:21): [True: 0, False: 0]
  ------------------
  368|      0|                    assert(tok->parenstack[level] == '{');
  ------------------
  |  Branch (368:21): [True: 0, False: 0]
  ------------------
  369|      0|                    int lineno = tok->parenlinenostack[level];
  370|      0|                    if (lineno != location.lineno) {
  ------------------
  |  Branch (370:25): [True: 0, False: 0]
  ------------------
  371|      0|                        _PyTokenizer_syntaxerror_at(
  372|      0|                            tok, line, cursor_offset, location.lineno, -1, -1,
  373|      0|                            "%c-string: expecting '}' to close '{' on line %d",
  374|      0|                            _PyLexer_StringPrefix(state->kind), lineno);
  375|      0|                    }
  376|      0|                    else {
  377|      0|                        _PyTokenizer_syntaxerror_at(
  378|      0|                            tok, line, cursor_offset, location.lineno, -1, -1,
  379|      0|                            "%c-string: expecting '}'",
  380|      0|                            _PyLexer_StringPrefix(state->kind));
  381|      0|                    }
  382|      0|                    return string_error_token(tok, token, tok->start, location);
  383|      0|                }
  384|      0|            }
  385|       |
  386|      3|            if (quote_size == 3) {
  ------------------
  |  Branch (386:17): [True: 0, False: 3]
  ------------------
  387|      0|                _PyTokenizer_syntaxerror_at(
  388|      0|                    tok, line, cursor_offset, location.lineno, -1, -1,
  389|      0|                    "unterminated triple-quoted string literal"
  390|      0|                    " (detected at line %d)", end_lineno);
  391|      0|                if (c != '\n') {
  ------------------
  |  Branch (391:21): [True: 0, False: 0]
  ------------------
  392|      0|                    tok->done = E_EOFS;
  ------------------
  |  |   35|      0|#define E_EOFS           23      /* EOF in triple-quoted string */
  ------------------
  393|      0|                }
  394|      0|                return string_error_token(tok, token, tok->start, location);
  395|      0|            }
  396|      3|            else {
  397|      3|                if (has_escaped_quote) {
  ------------------
  |  Branch (397:21): [True: 0, False: 3]
  ------------------
  398|      0|                    _PyTokenizer_syntaxerror_at(
  399|      0|                        tok, line, cursor_offset, location.lineno, -1, -1,
  400|      0|                        "unterminated string literal (detected at line %d); "
  401|      0|                        "perhaps you escaped the end quote?",
  402|      0|                        end_lineno
  403|      0|                    );
  404|      3|                } else {
  405|      3|                    _PyTokenizer_syntaxerror_at(
  406|      3|                        tok, line, cursor_offset, location.lineno, -1, -1,
  407|      3|                        "unterminated string literal (detected at line %d)", end_lineno
  408|      3|                    );
  409|      3|                }
  410|      3|                if (c != '\n') {
  ------------------
  |  Branch (410:21): [True: 3, False: 0]
  ------------------
  411|      3|                    tok->done = E_EOLS;
  ------------------
  |  |   36|      3|#define E_EOLS           24      /* EOL in single-quoted string */
  ------------------
  412|      3|                }
  413|      3|                return string_error_token(tok, token, tok->start, location);
  414|      3|            }
  415|      3|        }
  416|  14.2M|        if (c == quote) {
  ------------------
  |  Branch (416:13): [True: 58, False: 14.2M]
  ------------------
  417|     58|            end_quote_size += 1;
  418|     58|        }
  419|  14.2M|        else {
  420|  14.2M|            end_quote_size = 0;
  421|  14.2M|            if (c == '\\') {
  ------------------
  |  Branch (421:17): [True: 1.33M, False: 12.8M]
  ------------------
  422|  1.33M|                c = tok_nextc(tok);  /* skip escaped char */
  423|  1.33M|                if (c == quote) {  /* but record whether the escaped char was a quote */
  ------------------
  |  Branch (423:21): [True: 1.14k, False: 1.33M]
  ------------------
  424|  1.14k|                    has_escaped_quote = 1;
  425|  1.14k|                }
  426|  1.33M|                if (c == '\r') {
  ------------------
  |  Branch (426:21): [True: 0, False: 1.33M]
  ------------------
  427|      0|                    c = tok_nextc(tok);
  428|      0|                }
  429|  1.33M|            }
  430|  14.2M|        }
  431|  14.2M|    }
  432|       |
  433|    322|    p_start = tok->start;
  434|    322|    p_end = tok->cur;
  435|    322|    return MAKE_TOKEN(STRING);
  ------------------
  |  |    8|    322|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  436|    325|}
_PyLexer_get_ftstring:
  440|     63|{
  441|     63|    assert(current == _PyLexer_CurrentFTString(tok) && current->mode != FTSTRING_MODE_EXPRESSION);
  ------------------
  |  Branch (441:5): [True: 63, False: 0]
  |  Branch (441:5): [True: 63, False: 0]
  ------------------
  442|     63|    assert((current->quote_size == 1 || current->quote_size == 3) &&
  ------------------
  |  Branch (442:5): [True: 63, False: 0]
  |  Branch (442:5): [True: 0, False: 0]
  |  Branch (442:5): [True: 63, False: 0]
  ------------------
  443|     63|           current->replacement_depth <= MAX_EXPR_NESTING);
  444|     63|    _PyTok_Off p_start = -1;
  445|     63|    _PyTok_Off p_end = -1;
  446|     63|    int token_type;
  447|     63|    int end_quote_size = 0;
  448|     63|    int unicode_escape = 0;
  449|     63|    int quote = current->quote;
  450|     63|    int quote_size = current->quote_size;
  451|     63|    int in_format_spec = current->mode == FTSTRING_MODE_FORMAT_SPEC;
  452|     63|    int raw = _PyLexer_IsRawString(current->kind);
  453|       |
  454|     63|    tok->start = tok->cur;
  455|     63|    tok->start_loc = (_PyTok_Loc){tok->lineno, _PyLexer_ByteColumn(tok)};
  456|       |
  457|    103|    while (end_quote_size != quote_size) {
  ------------------
  |  Branch (457:12): [True: 79, False: 24]
  ------------------
  458|     79|        int c = tok_nextc(tok);
  459|     79|        if (tok->done == E_ERROR || tok->done == E_DECODE) {
  ------------------
  |  |   29|    158|#define E_ERROR          17      /* Execution error */
  ------------------
                      if (tok->done == E_ERROR || tok->done == E_DECODE) {
  ------------------
  |  |   34|     79|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
  |  Branch (459:13): [True: 0, False: 79]
  |  Branch (459:37): [True: 0, False: 79]
  ------------------
  460|      0|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    8|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  461|      0|        }
  462|       |
  463|     79|        if (c == EOF || (quote_size == 1 && c == '\n')) {
  ------------------
  |  Branch (463:13): [True: 0, False: 79]
  |  Branch (463:26): [True: 79, False: 0]
  |  Branch (463:45): [True: 0, False: 79]
  ------------------
  464|      0|            if (tok_failed(tok)) {
  ------------------
  |  Branch (464:17): [True: 0, False: 0]
  ------------------
  465|      0|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    8|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  466|      0|            }
  467|      0|            if (c == EOF && tok->allow_incomplete_input) {
  ------------------
  |  Branch (467:17): [True: 0, False: 0]
  |  Branch (467:29): [True: 0, False: 0]
  ------------------
  468|      0|                int type = incomplete_string_token(tok, token,
  469|      0|                    FTSTRING_MIDDLE(current), current->start, current->start_loc);
  ------------------
  |  |   21|      0|    (_PyLexer_IsTString((state)->kind) ? TSTRING_MIDDLE : FSTRING_MIDDLE)
  |  |  ------------------
  |  |  |  |   79|      0|#define TSTRING_MIDDLE  63
  |  |  ------------------
  |  |                   (_PyLexer_IsTString((state)->kind) ? TSTRING_MIDDLE : FSTRING_MIDDLE)
  |  |  ------------------
  |  |  |  |   76|      0|#define FSTRING_MIDDLE  60
  |  |  ------------------
  |  |  |  Branch (21:6): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  470|       |                // Preserve the actual prefix for incremental escape decoding.
  471|      0|                _PyTok_Off end = tok->cur;
  472|      0|                if (end > tok->start && tok->implicit_newline) {
  ------------------
  |  Branch (472:21): [True: 0, False: 0]
  |  Branch (472:41): [True: 0, False: 0]
  ------------------
  473|      0|                    end--;
  474|      0|                }
  475|      0|                token->span = (_PyTok_Span){tok->start, end};
  476|      0|                token->start_loc = tok->start_loc;
  477|      0|                token->end_loc = (_PyTok_Loc){tok->lineno, (int)(end - tok->line_start)};
  478|      0|                token->is_raw = raw;
  479|      0|                return type;
  480|      0|            }
  481|       |
  482|      0|            if (in_format_spec && c == '\n') {
  ------------------
  |  Branch (482:17): [True: 0, False: 0]
  |  Branch (482:35): [True: 0, False: 0]
  ------------------
  483|      0|                return MAKE_TOKEN(_PyTokenizer_syntaxerror(
  ------------------
  |  |    8|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  484|      0|                    tok,
  485|      0|                    "%c-string: newlines are not allowed in format specifiers for single quoted %c-strings",
  486|      0|                    _PyLexer_StringPrefix(current->kind),
  487|      0|                    _PyLexer_StringPrefix(current->kind)));
  488|      0|            }
  489|       |
  490|      0|            int end_lineno = tok->lineno;
  491|      0|            _PyTok_Loc location = current->start_loc;
  492|      0|            const char *line = _PyTok_SourcePointer(
  493|      0|                &tok->source, current->start - location.byte_col);
  494|      0|            Py_ssize_t cursor_offset = (Py_ssize_t)location.byte_col + 1;
  495|       |
  496|      0|            if (quote_size == 3) {
  ------------------
  |  Branch (496:17): [True: 0, False: 0]
  ------------------
  497|      0|                _PyTokenizer_syntaxerror_at(
  498|      0|                    tok, line, cursor_offset, location.lineno, -1, -1,
  499|      0|                    "unterminated triple-quoted %c-string literal"
  500|      0|                    " (detected at line %d)",
  501|      0|                    _PyLexer_StringPrefix(current->kind), end_lineno);
  502|      0|                if (c != '\n') {
  ------------------
  |  Branch (502:21): [True: 0, False: 0]
  ------------------
  503|      0|                    tok->done = E_EOFS;
  ------------------
  |  |   35|      0|#define E_EOFS           23      /* EOF in triple-quoted string */
  ------------------
  504|      0|                }
  505|      0|                return string_error_token(tok, token,
  506|      0|                    current->start, location);
  507|      0|            }
  508|      0|            else {
  509|      0|                _PyTokenizer_syntaxerror_at(
  510|      0|                    tok, line, cursor_offset, location.lineno, -1, -1,
  511|      0|                    "unterminated %c-string literal (detected at line %d)",
  512|      0|                    _PyLexer_StringPrefix(current->kind), end_lineno);
  513|      0|                return string_error_token(tok, token,
  514|      0|                    current->start, location);
  515|      0|            }
  516|      0|        }
  517|       |
  518|     79|        if (c == quote) {
  ------------------
  |  Branch (518:13): [True: 24, False: 55]
  ------------------
  519|     24|            end_quote_size += 1;
  520|     24|            continue;
  521|     55|        } else {
  522|     55|            end_quote_size = 0;
  523|     55|        }
  524|       |
  525|     55|        if (c == '{') {
  ------------------
  |  Branch (525:13): [True: 39, False: 16]
  ------------------
  526|     39|            int peek = tok_nextc(tok);
  527|     39|            if (peek != '{' || in_format_spec) {
  ------------------
  |  Branch (527:17): [True: 39, False: 0]
  |  Branch (527:32): [True: 0, False: 0]
  ------------------
  528|     39|                tok_backup(tok, peek);
  ------------------
  |  |   24|     39|#define tok_backup _PyLexer_backup
  ------------------
  529|     39|                _PyTok_Off expr_start = tok->cur;
  530|     39|                tok_backup(tok, c);
  ------------------
  |  |   24|     39|#define tok_backup _PyLexer_backup
  ------------------
  531|     39|                if (begin_ftstring_expr(tok, current, expr_start) < 0) {
  ------------------
  |  Branch (531:21): [True: 0, False: 39]
  ------------------
  532|      0|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    8|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  533|      0|                }
  534|     39|                p_start = tok->start;
  535|     39|                p_end = tok->cur;
  536|     39|                if (p_start == p_end) {
  ------------------
  |  Branch (536:21): [True: 39, False: 0]
  ------------------
  537|     39|                    return _PyLexer_get_normal(tok, current, token);
  538|     39|                }
  539|     39|            } else {
  540|      0|                p_start = tok->start;
  541|      0|                p_end = tok->cur - 1;
  542|      0|            }
  543|      0|            goto emit_middle;
  544|     39|        } else if (c == '}') {
  ------------------
  |  Branch (544:20): [True: 0, False: 16]
  ------------------
  545|      0|            if (unicode_escape) {
  ------------------
  |  Branch (545:17): [True: 0, False: 0]
  ------------------
  546|      0|                p_start = tok->start;
  547|      0|                p_end = tok->cur;
  548|      0|                goto emit_middle;
  549|      0|            }
  550|      0|            int peek = tok_nextc(tok);
  551|       |
  552|      0|            int bracket_depth = _PyLexer_FTStringBracketDepth(tok, current);
  553|      0|            if (peek == '}' && !in_format_spec && bracket_depth == 0) {
  ------------------
  |  Branch (553:17): [True: 0, False: 0]
  |  Branch (553:32): [True: 0, False: 0]
  |  Branch (553:51): [True: 0, False: 0]
  ------------------
  554|      0|                p_start = tok->start;
  555|      0|                p_end = tok->cur - 1;
  556|      0|            }
  557|      0|            else {
  558|      0|                tok_backup(tok, peek);
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
  559|      0|                if (!in_format_spec && bracket_depth == 0) {
  ------------------
  |  Branch (559:21): [True: 0, False: 0]
  |  Branch (559:40): [True: 0, False: 0]
  ------------------
  560|      0|                    if (tok->start == tok->cur - 1) {
  ------------------
  |  Branch (560:25): [True: 0, False: 0]
  ------------------
  561|      0|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(
  ------------------
  |  |    8|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  562|      0|                            tok, "%c-string: single '}' is not allowed",
  563|      0|                            _PyLexer_StringPrefix(current->kind)));
  564|      0|                    }
  565|      0|                    tok_backup(tok, c);
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
  566|      0|                    p_start = tok->start;
  567|      0|                    p_end = tok->cur;
  568|      0|                    goto emit_middle;
  569|      0|                }
  570|      0|                tok_backup(tok, c);
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
  571|      0|                current->mode = FTSTRING_MODE_EXPRESSION;
  572|      0|                p_start = tok->start;
  573|      0|                p_end = tok->cur;
  574|      0|            }
  575|      0|            goto emit_middle;
  576|     16|        } else if (c == '\\') {
  ------------------
  |  Branch (576:20): [True: 0, False: 16]
  ------------------
  577|      0|            int peek = tok_nextc(tok);
  578|      0|            if (peek == '\r') {
  ------------------
  |  Branch (578:17): [True: 0, False: 0]
  ------------------
  579|      0|                peek = tok_nextc(tok);
  580|      0|            }
  581|      0|            if (peek == '{' || peek == '}') {
  ------------------
  |  Branch (581:17): [True: 0, False: 0]
  |  Branch (581:32): [True: 0, False: 0]
  ------------------
  582|      0|                if (!raw) {
  ------------------
  |  Branch (582:21): [True: 0, False: 0]
  ------------------
  583|      0|                    if (_PyTokenizer_warn_invalid_escape_sequence(tok, peek)) {
  ------------------
  |  Branch (583:25): [True: 0, False: 0]
  ------------------
  584|      0|                        return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    8|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  585|      0|                    }
  586|      0|                }
  587|      0|                tok_backup(tok, peek);
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
  588|      0|                continue;
  589|      0|            }
  590|       |
  591|      0|            if (!raw) {
  ------------------
  |  Branch (591:17): [True: 0, False: 0]
  ------------------
  592|      0|                if (peek == 'N') {
  ------------------
  |  Branch (592:21): [True: 0, False: 0]
  ------------------
  593|       |                    /* Handle named unicode escapes (\N{BULLET}) */
  594|      0|                    peek = tok_nextc(tok);
  595|      0|                    if (peek == '{') {
  ------------------
  |  Branch (595:25): [True: 0, False: 0]
  ------------------
  596|      0|                        unicode_escape = 1;
  597|      0|                    } else {
  598|      0|                        tok_backup(tok, peek);
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
  599|      0|                    }
  600|      0|                }
  601|      0|            }
  602|      0|        }
  603|     55|    }
  604|       |
  605|     24|    p_start = tok->start;
  606|     24|    p_end = tok->cur;
  607|     24|    if (p_end - quote_size == p_start) {
  ------------------
  |  Branch (607:9): [True: 16, False: 8]
  ------------------
  608|     16|        int end_token = FTSTRING_END(current);
  ------------------
  |  |   23|     16|    (_PyLexer_IsTString((state)->kind) ? TSTRING_END : FSTRING_END)
  |  |  ------------------
  |  |  |  |   80|     16|#define TSTRING_END     64
  |  |  ------------------
  |  |                   (_PyLexer_IsTString((state)->kind) ? TSTRING_END : FSTRING_END)
  |  |  ------------------
  |  |  |  |   77|      0|#define FSTRING_END     61
  |  |  ------------------
  |  |  |  Branch (23:6): [True: 16, False: 0]
  |  |  ------------------
  ------------------
  609|     16|        _PyLexer_PopFTString(tok);
  610|     16|        return MAKE_TOKEN(end_token);
  ------------------
  |  |    8|     16|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  611|     16|    }
  612|     16|    for (int i = 0; i < quote_size; i++) {
  ------------------
  |  Branch (612:21): [True: 8, False: 8]
  ------------------
  613|      8|        tok_backup(tok, quote);
  ------------------
  |  |   24|      8|#define tok_backup _PyLexer_backup
  ------------------
  614|      8|    }
  615|      8|    p_end = tok->cur;
  616|      8|emit_middle:
  617|      8|    token_type = MAKE_TOKEN(FTSTRING_MIDDLE(current));
  ------------------
  |  |    8|     16|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (8:65): [True: 8, False: 0]
  |  |  ------------------
  ------------------
  618|      8|    token->is_raw = raw;
  619|      8|    return token_type;
  620|      8|}
string.c:finish_ftstring_expr:
   75|      4|{
   76|      4|    assert(token != NULL && state == _PyLexer_CurrentFTString(tok));
  ------------------
  |  Branch (76:5): [True: 4, False: 0]
  |  Branch (76:5): [True: 4, False: 0]
  ------------------
   77|      4|    assert(state->mode == FTSTRING_MODE_EXPRESSION && tok->start >= 0);
  ------------------
  |  Branch (77:5): [True: 4, False: 0]
  |  Branch (77:5): [True: 4, False: 0]
  ------------------
   78|       |
   79|      4|    if (state->expr_span.end >= 0) {
  ------------------
  |  Branch (79:9): [True: 0, False: 4]
  ------------------
   80|      0|        return 0;
   81|      0|    }
   82|      4|    assert(state->expr_span.start >= 0);
  ------------------
  |  Branch (82:5): [True: 4, False: 0]
  ------------------
   83|      4|    state->expr_span.end = tok->start;
   84|      4|    int tstring_interpolation = _PyLexer_IsTString(state->kind) &&
  ------------------
  |  Branch (84:33): [True: 4, False: 0]
  ------------------
   85|      4|        state->replacement_depth == 1;
  ------------------
  |  Branch (85:9): [True: 4, False: 0]
  ------------------
   86|      4|    if (!(state->debug_expr || tstring_interpolation) || token->metadata) {
  ------------------
  |  Branch (86:11): [True: 4, False: 0]
  |  Branch (86:32): [True: 0, False: 0]
  |  Branch (86:58): [True: 0, False: 4]
  ------------------
   87|      0|        return 0;
   88|      0|    }
   89|      4|    tokenizer_comments *comments = state->comments;
   90|      4|    PyObject *res;
   91|      4|    if (comments != NULL && comments->count > 0) {
  ------------------
  |  Branch (91:9): [True: 0, False: 4]
  |  Branch (91:29): [True: 0, False: 0]
  ------------------
   92|      0|        Py_ssize_t stripped_size =
   93|      0|            state->expr_span.end - state->expr_span.start;
   94|      0|        Py_ssize_t comment_count = 0;
   95|      0|        for (Py_ssize_t i = 0; i < comments->count; i++) {
  ------------------
  |  Branch (95:32): [True: 0, False: 0]
  ------------------
   96|      0|            _PyTok_Span comment = comments->spans[i];
   97|      0|            assert(_PyTok_SpanIsValid(comment));
  ------------------
  |  Branch (97:13): [True: 0, False: 0]
  ------------------
   98|      0|            assert(comment.start >= (i == 0 ? state->expr_span.start
  ------------------
  |  Branch (98:13): [True: 0, False: 0]
  |  Branch (98:13): [True: 0, False: 0]
  ------------------
   99|      0|                                           : comments->spans[i - 1].end));
  100|      0|            if (comment.start >= state->expr_span.end) {
  ------------------
  |  Branch (100:17): [True: 0, False: 0]
  ------------------
  101|      0|                break;
  102|      0|            }
  103|      0|            assert(comment.end <= state->expr_span.end);
  ------------------
  |  Branch (103:13): [True: 0, False: 0]
  ------------------
  104|      0|            stripped_size -= comment.end - comment.start;
  105|      0|            comment_count++;
  106|      0|        }
  107|      0|        char *stripped = PyMem_Malloc((size_t)stripped_size);
  108|      0|        if (stripped == NULL) {
  ------------------
  |  Branch (108:13): [True: 0, False: 0]
  ------------------
  109|      0|            PyErr_NoMemory();
  110|      0|            return -1;
  111|      0|        }
  112|      0|        _PyTok_Span kept = {state->expr_span.start, state->expr_span.start};
  113|      0|        Py_ssize_t stripped_len = 0;
  114|      0|        for (Py_ssize_t i = 0; i < comment_count; i++) {
  ------------------
  |  Branch (114:32): [True: 0, False: 0]
  ------------------
  115|      0|            kept.end = comments->spans[i].start;
  116|      0|            Py_ssize_t length;
  117|      0|            const char *text = _PyTok_SourceSpanView(
  118|      0|                &tok->source, kept, &length);
  119|      0|            memcpy(stripped + stripped_len, text, (size_t)length);
  120|      0|            stripped_len += length;
  121|      0|            kept.start = comments->spans[i].end;
  122|      0|        }
  123|      0|        kept.end = state->expr_span.end;
  124|      0|        Py_ssize_t length;
  125|      0|        const char *text = _PyTok_SourceSpanView(&tok->source, kept, &length);
  126|      0|        memcpy(stripped + stripped_len, text, (size_t)length);
  127|      0|        res = PyUnicode_DecodeUTF8(stripped, stripped_size, NULL);
  128|      0|        PyMem_Free(stripped);
  129|      0|    }
  130|      4|    else {
  131|      4|        Py_ssize_t expr_len;
  132|      4|        const char *expr = _PyTok_SourceSpanView(
  133|      4|            &tok->source, state->expr_span, &expr_len);
  134|      4|        res = PyUnicode_DecodeUTF8(expr, expr_len, NULL);
  135|      4|    }
  136|       |
  137|      4|    if (!res) {
  ------------------
  |  Branch (137:9): [True: 0, False: 4]
  ------------------
  138|      0|        return -1;
  139|      0|    }
  140|      4|    token->metadata = res;
  141|      4|    return 0;
  142|      4|}
string.c:string_error_token:
   13|      3|{
   14|      3|    tok->diagnostic = (_PyTokenizer_Diagnostic){
   15|      3|        .location = {location.lineno, location.byte_col + 1},
   16|      3|        .text_span = {start - location.byte_col, tok->inp},
   17|      3|    };
   18|      3|    int type = _PyLexer_token_setup(tok, token, ERRORTOKEN, -1, -1);
  ------------------
  |  |   83|      3|#define ERRORTOKEN      67
  ------------------
   19|      3|    token->start_loc = location;
   20|      3|    token->end_loc = (_PyTok_Loc){location.lineno, -1};
   21|      3|    return type;
   22|      3|}
string.c:begin_ftstring_expr:
  147|     39|{
  148|     39|    assert(state->mode != FTSTRING_MODE_EXPRESSION);
  ------------------
  |  Branch (148:5): [True: 39, False: 0]
  ------------------
  149|     39|    state->expr_span = (_PyTok_Span){expr_start, -1};
  150|     39|    if (state->comments != NULL) {
  ------------------
  |  Branch (150:9): [True: 0, False: 39]
  ------------------
  151|      0|        state->comments->count = 0;
  152|      0|    }
  153|     39|    if (state->replacement_depth >= MAX_EXPR_NESTING) {
  ------------------
  |  |   26|     39|#define MAX_EXPR_NESTING 3
  ------------------
  |  Branch (153:9): [True: 0, False: 39]
  ------------------
  154|      0|        _PyTokenizer_syntaxerror(
  155|      0|            tok, "%c-string: expressions nested too deeply",
  156|      0|            _PyLexer_StringPrefix(state->kind));
  157|      0|        return -1;
  158|      0|    }
  159|     39|    state->replacement_depth++;
  160|     39|    state->mode = FTSTRING_MODE_EXPRESSION;
  161|     39|    state->debug_expr = 0;
  162|     39|    return 0;
  163|     39|}

_PyPegen_annotated_rhs_rule:
 2240|      5|{
 2241|      5|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     10|#  define MAXSTACK 6000
  ------------------
  |  Branch (2241:9): [True: 0, False: 5]
  |  Branch (2241:35): [True: 0, False: 5]
  ------------------
 2242|      0|        _Pypegen_stack_overflow(p);
 2243|      0|    }
 2244|      5|    if (p->error_indicator) {
  ------------------
  |  Branch (2244:9): [True: 0, False: 5]
  ------------------
 2245|      0|        p->level--;
 2246|      0|        return NULL;
 2247|      0|    }
 2248|      5|    expr_ty _res = NULL;
 2249|      5|    int _mark = p->mark;
 2250|      5|    { // yield_expr
 2251|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (2251:13): [True: 0, False: 5]
  ------------------
 2252|      0|            p->level--;
 2253|      0|            return NULL;
 2254|      0|        }
 2255|      5|        D(fprintf(stderr, "%*c> annotated_rhs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "yield_expr"));
 2256|      5|        expr_ty yield_expr_var;
 2257|      5|        if (
 2258|      5|            (yield_expr_var = yield_expr_rule(p))  // yield_expr
  ------------------
  |  |  465|      5|#define yield_expr_rule _PyPegen_yield_expr_rule
  ------------------
  |  Branch (2258:13): [True: 0, False: 5]
  ------------------
 2259|      5|        )
 2260|      0|        {
 2261|      0|            D(fprintf(stderr, "%*c+ annotated_rhs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "yield_expr"));
 2262|      0|            _res = yield_expr_var;
 2263|      0|            goto done;
 2264|      0|        }
 2265|      5|        p->mark = _mark;
 2266|      5|        D(fprintf(stderr, "%*c%s annotated_rhs[%d-%d]: %s failed!\n", p->level, ' ',
 2267|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "yield_expr"));
 2268|      5|    }
 2269|      0|    { // star_expressions
 2270|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (2270:13): [True: 0, False: 5]
  ------------------
 2271|      0|            p->level--;
 2272|      0|            return NULL;
 2273|      0|        }
 2274|      5|        D(fprintf(stderr, "%*c> annotated_rhs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expressions"));
 2275|      5|        expr_ty star_expressions_var;
 2276|      5|        if (
 2277|      5|            (star_expressions_var = star_expressions_rule(p))  // star_expressions
  ------------------
  |  |  467|      5|#define star_expressions_rule _PyPegen_star_expressions_rule
  ------------------
  |  Branch (2277:13): [True: 4, False: 1]
  ------------------
 2278|      5|        )
 2279|      4|        {
 2280|      4|            D(fprintf(stderr, "%*c+ annotated_rhs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expressions"));
 2281|      4|            _res = star_expressions_var;
 2282|      4|            goto done;
 2283|      4|        }
 2284|      1|        p->mark = _mark;
 2285|      1|        D(fprintf(stderr, "%*c%s annotated_rhs[%d-%d]: %s failed!\n", p->level, ' ',
 2286|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expressions"));
 2287|      1|    }
 2288|      1|    _res = NULL;
 2289|      5|  done:
 2290|      5|    p->level--;
 2291|      5|    return _res;
 2292|      1|}
_PyPegen_pass_stmt_rule:
 2867|    887|{
 2868|    887|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.77k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2868:9): [True: 0, False: 887]
  |  Branch (2868:35): [True: 0, False: 887]
  ------------------
 2869|      0|        _Pypegen_stack_overflow(p);
 2870|      0|    }
 2871|    887|    if (p->error_indicator) {
  ------------------
  |  Branch (2871:9): [True: 0, False: 887]
  ------------------
 2872|      0|        p->level--;
 2873|      0|        return NULL;
 2874|      0|    }
 2875|    887|    stmt_ty _res = NULL;
 2876|    887|    int _mark = p->mark;
 2877|    887|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2877:9): [True: 0, False: 887]
  |  Branch (2877:31): [True: 0, False: 0]
  ------------------
 2878|      0|        p->error_indicator = 1;
 2879|      0|        p->level--;
 2880|      0|        return NULL;
 2881|      0|    }
 2882|    887|    int _start_lineno = p->tokens[_mark]->lineno;
 2883|    887|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    887|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 887]
  |  |  ------------------
  ------------------
 2884|    887|    int _start_col_offset = p->tokens[_mark]->col_offset;
 2885|    887|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    887|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 887]
  |  |  ------------------
  ------------------
 2886|    887|    { // 'pass'
 2887|    887|        if (p->error_indicator) {
  ------------------
  |  Branch (2887:13): [True: 0, False: 887]
  ------------------
 2888|      0|            p->level--;
 2889|      0|            return NULL;
 2890|      0|        }
 2891|    887|        D(fprintf(stderr, "%*c> pass_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'pass'"));
 2892|    887|        Token * _keyword;
 2893|    887|        if (
 2894|    887|            (_keyword = _PyPegen_expect_token(p, 504))  // token='pass'
  ------------------
  |  Branch (2894:13): [True: 0, False: 887]
  ------------------
 2895|    887|        )
 2896|      0|        {
 2897|      0|            D(fprintf(stderr, "%*c+ pass_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'pass'"));
 2898|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2899|      0|            if (_token == NULL) {
  ------------------
  |  Branch (2899:17): [True: 0, False: 0]
  ------------------
 2900|      0|                p->level--;
 2901|      0|                return NULL;
 2902|      0|            }
 2903|      0|            int _end_lineno = _token->end_lineno;
 2904|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2905|      0|            int _end_col_offset = _token->end_col_offset;
 2906|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2907|      0|            _res = _PyAST_Pass ( EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2908|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2908:18): [True: 0, False: 0]
  |  Branch (2908:34): [True: 0, False: 0]
  |  Branch (2908:57): [True: 0, False: 0]
  ------------------
 2909|      0|                p->error_indicator = 1;
 2910|      0|                p->level--;
 2911|      0|                return NULL;
 2912|      0|            }
 2913|      0|            goto done;
 2914|      0|        }
 2915|    887|        p->mark = _mark;
 2916|    887|        D(fprintf(stderr, "%*c%s pass_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2917|    887|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'pass'"));
 2918|    887|    }
 2919|    887|    _res = NULL;
 2920|    887|  done:
 2921|    887|    p->level--;
 2922|    887|    return _res;
 2923|    887|}
_PyPegen_break_stmt_rule:
 2928|    887|{
 2929|    887|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.77k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2929:9): [True: 0, False: 887]
  |  Branch (2929:35): [True: 0, False: 887]
  ------------------
 2930|      0|        _Pypegen_stack_overflow(p);
 2931|      0|    }
 2932|    887|    if (p->error_indicator) {
  ------------------
  |  Branch (2932:9): [True: 0, False: 887]
  ------------------
 2933|      0|        p->level--;
 2934|      0|        return NULL;
 2935|      0|    }
 2936|    887|    stmt_ty _res = NULL;
 2937|    887|    int _mark = p->mark;
 2938|    887|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2938:9): [True: 0, False: 887]
  |  Branch (2938:31): [True: 0, False: 0]
  ------------------
 2939|      0|        p->error_indicator = 1;
 2940|      0|        p->level--;
 2941|      0|        return NULL;
 2942|      0|    }
 2943|    887|    int _start_lineno = p->tokens[_mark]->lineno;
 2944|    887|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    887|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 887]
  |  |  ------------------
  ------------------
 2945|    887|    int _start_col_offset = p->tokens[_mark]->col_offset;
 2946|    887|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    887|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 887]
  |  |  ------------------
  ------------------
 2947|    887|    { // 'break'
 2948|    887|        if (p->error_indicator) {
  ------------------
  |  Branch (2948:13): [True: 0, False: 887]
  ------------------
 2949|      0|            p->level--;
 2950|      0|            return NULL;
 2951|      0|        }
 2952|    887|        D(fprintf(stderr, "%*c> break_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'break'"));
 2953|    887|        Token * _keyword;
 2954|    887|        if (
 2955|    887|            (_keyword = _PyPegen_expect_token(p, 508))  // token='break'
  ------------------
  |  Branch (2955:13): [True: 0, False: 887]
  ------------------
 2956|    887|        )
 2957|      0|        {
 2958|      0|            D(fprintf(stderr, "%*c+ break_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'break'"));
 2959|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2960|      0|            if (_token == NULL) {
  ------------------
  |  Branch (2960:17): [True: 0, False: 0]
  ------------------
 2961|      0|                p->level--;
 2962|      0|                return NULL;
 2963|      0|            }
 2964|      0|            int _end_lineno = _token->end_lineno;
 2965|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2966|      0|            int _end_col_offset = _token->end_col_offset;
 2967|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2968|      0|            _res = _PyAST_Break ( EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2969|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2969:18): [True: 0, False: 0]
  |  Branch (2969:34): [True: 0, False: 0]
  |  Branch (2969:57): [True: 0, False: 0]
  ------------------
 2970|      0|                p->error_indicator = 1;
 2971|      0|                p->level--;
 2972|      0|                return NULL;
 2973|      0|            }
 2974|      0|            goto done;
 2975|      0|        }
 2976|    887|        p->mark = _mark;
 2977|    887|        D(fprintf(stderr, "%*c%s break_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2978|    887|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'break'"));
 2979|    887|    }
 2980|    887|    _res = NULL;
 2981|    887|  done:
 2982|    887|    p->level--;
 2983|    887|    return _res;
 2984|    887|}
_PyPegen_continue_stmt_rule:
 2989|    887|{
 2990|    887|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.77k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2990:9): [True: 0, False: 887]
  |  Branch (2990:35): [True: 0, False: 887]
  ------------------
 2991|      0|        _Pypegen_stack_overflow(p);
 2992|      0|    }
 2993|    887|    if (p->error_indicator) {
  ------------------
  |  Branch (2993:9): [True: 0, False: 887]
  ------------------
 2994|      0|        p->level--;
 2995|      0|        return NULL;
 2996|      0|    }
 2997|    887|    stmt_ty _res = NULL;
 2998|    887|    int _mark = p->mark;
 2999|    887|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2999:9): [True: 0, False: 887]
  |  Branch (2999:31): [True: 0, False: 0]
  ------------------
 3000|      0|        p->error_indicator = 1;
 3001|      0|        p->level--;
 3002|      0|        return NULL;
 3003|      0|    }
 3004|    887|    int _start_lineno = p->tokens[_mark]->lineno;
 3005|    887|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    887|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 887]
  |  |  ------------------
  ------------------
 3006|    887|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3007|    887|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    887|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 887]
  |  |  ------------------
  ------------------
 3008|    887|    { // 'continue'
 3009|    887|        if (p->error_indicator) {
  ------------------
  |  Branch (3009:13): [True: 0, False: 887]
  ------------------
 3010|      0|            p->level--;
 3011|      0|            return NULL;
 3012|      0|        }
 3013|    887|        D(fprintf(stderr, "%*c> continue_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'continue'"));
 3014|    887|        Token * _keyword;
 3015|    887|        if (
 3016|    887|            (_keyword = _PyPegen_expect_token(p, 509))  // token='continue'
  ------------------
  |  Branch (3016:13): [True: 0, False: 887]
  ------------------
 3017|    887|        )
 3018|      0|        {
 3019|      0|            D(fprintf(stderr, "%*c+ continue_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'continue'"));
 3020|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3021|      0|            if (_token == NULL) {
  ------------------
  |  Branch (3021:17): [True: 0, False: 0]
  ------------------
 3022|      0|                p->level--;
 3023|      0|                return NULL;
 3024|      0|            }
 3025|      0|            int _end_lineno = _token->end_lineno;
 3026|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3027|      0|            int _end_col_offset = _token->end_col_offset;
 3028|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3029|      0|            _res = _PyAST_Continue ( EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3030|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3030:18): [True: 0, False: 0]
  |  Branch (3030:34): [True: 0, False: 0]
  |  Branch (3030:57): [True: 0, False: 0]
  ------------------
 3031|      0|                p->error_indicator = 1;
 3032|      0|                p->level--;
 3033|      0|                return NULL;
 3034|      0|            }
 3035|      0|            goto done;
 3036|      0|        }
 3037|    887|        p->mark = _mark;
 3038|    887|        D(fprintf(stderr, "%*c%s continue_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3039|    887|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'continue'"));
 3040|    887|    }
 3041|    887|    _res = NULL;
 3042|    887|  done:
 3043|    887|    p->level--;
 3044|    887|    return _res;
 3045|    887|}
_PyPegen_expressions_rule:
11475|     51|{
11476|     51|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    102|#  define MAXSTACK 6000
  ------------------
  |  Branch (11476:9): [True: 0, False: 51]
  |  Branch (11476:35): [True: 0, False: 51]
  ------------------
11477|      0|        _Pypegen_stack_overflow(p);
11478|      0|    }
11479|     51|    if (p->error_indicator) {
  ------------------
  |  Branch (11479:9): [True: 0, False: 51]
  ------------------
11480|      0|        p->level--;
11481|      0|        return NULL;
11482|      0|    }
11483|     51|    expr_ty _res = NULL;
11484|     51|    int _mark = p->mark;
11485|     51|    expr_ty _prefix_0_result = NULL;
11486|     51|    int _prefix_0_end = 0, _prefix_0_valid = 0;
11487|     51|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11487:9): [True: 35, False: 16]
  |  Branch (11487:31): [True: 1, False: 34]
  ------------------
11488|      1|        p->error_indicator = 1;
11489|      1|        p->level--;
11490|      1|        return NULL;
11491|      1|    }
11492|     50|    int _start_lineno = p->tokens[_mark]->lineno;
11493|     50|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|     50|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 50]
  |  |  ------------------
  ------------------
11494|     50|    int _start_col_offset = p->tokens[_mark]->col_offset;
11495|     50|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|     50|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 50]
  |  |  ------------------
  ------------------
11496|     50|    { // expression ((',' expression))+ ','?
11497|     50|        if (p->error_indicator) {
  ------------------
  |  Branch (11497:13): [True: 0, False: 50]
  ------------------
11498|      0|            p->level--;
11499|      0|            return NULL;
11500|      0|        }
11501|     50|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ((',' expression))+ ','?"));
11502|     50|        void *_opt_var;
11503|     50|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|     50|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 50]
  |  |  ------------------
  ------------------
11504|     50|        expr_ty a;
11505|     50|        asdl_seq * b;
11506|     50|        if (
11507|     50|            (a = ((!p->call_invalid_rules && _prefix_0_valid) ? (p->mark = _prefix_0_end, _prefix_0_result) : (_prefix_0_result = expression_rule(p), _prefix_0_end = p->mark, _prefix_0_valid = 1, _prefix_0_result)))  // expression
  ------------------
  |  |  461|     50|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (11507:13): [True: 20, False: 30]
  |  Branch (11507:20): [True: 34, False: 16]
  |  Branch (11507:46): [True: 0, False: 34]
  ------------------
11508|     20|            &&
11509|     20|            (b = _loop1_55_rule(p))  // ((',' expression))+
  ------------------
  |  Branch (11509:13): [True: 1, False: 19]
  ------------------
11510|      1|            &&
11511|      1|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (11511:13): [True: 1, False: 0]
  ------------------
11512|     50|        )
11513|      1|        {
11514|      1|            D(fprintf(stderr, "%*c+ expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ((',' expression))+ ','?"));
11515|      1|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11516|      1|            if (_token == NULL) {
  ------------------
  |  Branch (11516:17): [True: 0, False: 1]
  ------------------
11517|      0|                p->level--;
11518|      0|                return NULL;
11519|      0|            }
11520|      1|            int _end_lineno = _token->end_lineno;
11521|      1|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
11522|      1|            int _end_col_offset = _token->end_col_offset;
11523|      1|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
11524|      1|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Load , EXTRA );
  ------------------
  |  |  280|      1|#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 );
  ------------------
  |  |  316|      1|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11525|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11525:18): [True: 0, False: 1]
  |  Branch (11525:34): [True: 0, False: 1]
  |  Branch (11525:57): [True: 0, False: 0]
  ------------------
11526|      0|                p->error_indicator = 1;
11527|      0|                p->level--;
11528|      0|                return NULL;
11529|      0|            }
11530|      1|            goto done;
11531|      1|        }
11532|     49|        p->mark = _mark;
11533|     49|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11534|     49|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ((',' expression))+ ','?"));
11535|     49|    }
11536|      0|    { // expression ','
11537|     49|        if (p->error_indicator) {
  ------------------
  |  Branch (11537:13): [True: 15, False: 34]
  ------------------
11538|     15|            p->level--;
11539|     15|            return NULL;
11540|     15|        }
11541|     34|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ','"));
11542|     34|        Token * _literal;
11543|     34|        expr_ty a;
11544|     34|        if (
11545|     34|            (a = ((!p->call_invalid_rules && _prefix_0_valid) ? (p->mark = _prefix_0_end, _prefix_0_result) : (_prefix_0_result = expression_rule(p), _prefix_0_end = p->mark, _prefix_0_valid = 1, _prefix_0_result)))  // expression
  ------------------
  |  |  461|      8|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (11545:13): [True: 19, False: 15]
  |  Branch (11545:20): [True: 26, False: 8]
  |  Branch (11545:46): [True: 26, False: 0]
  ------------------
11546|     19|            &&
11547|     19|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (11547:13): [True: 0, False: 19]
  ------------------
11548|     34|        )
11549|      0|        {
11550|      0|            D(fprintf(stderr, "%*c+ expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ','"));
11551|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11552|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11552:17): [True: 0, False: 0]
  ------------------
11553|      0|                p->level--;
11554|      0|                return NULL;
11555|      0|            }
11556|      0|            int _end_lineno = _token->end_lineno;
11557|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11558|      0|            int _end_col_offset = _token->end_col_offset;
11559|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11560|      0|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  280|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11561|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11561:18): [True: 0, False: 0]
  |  Branch (11561:34): [True: 0, False: 0]
  |  Branch (11561:57): [True: 0, False: 0]
  ------------------
11562|      0|                p->error_indicator = 1;
11563|      0|                p->level--;
11564|      0|                return NULL;
11565|      0|            }
11566|      0|            goto done;
11567|      0|        }
11568|     34|        p->mark = _mark;
11569|     34|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11570|     34|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ','"));
11571|     34|    }
11572|      0|    { // expression
11573|     34|        if (p->error_indicator) {
  ------------------
  |  Branch (11573:13): [True: 0, False: 34]
  ------------------
11574|      0|            p->level--;
11575|      0|            return NULL;
11576|      0|        }
11577|     34|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression"));
11578|     34|        expr_ty expression_var;
11579|     34|        if (
11580|     34|            (expression_var = ((!p->call_invalid_rules && _prefix_0_valid) ? (p->mark = _prefix_0_end, _prefix_0_result) : (_prefix_0_result = expression_rule(p), _prefix_0_end = p->mark, _prefix_0_valid = 1, _prefix_0_result)))  // expression
  ------------------
  |  |  461|      8|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (11580:13): [True: 19, False: 15]
  |  Branch (11580:33): [True: 26, False: 8]
  |  Branch (11580:59): [True: 26, False: 0]
  ------------------
11581|     34|        )
11582|     19|        {
11583|     19|            D(fprintf(stderr, "%*c+ expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression"));
11584|     19|            _res = expression_var;
11585|     19|            goto done;
11586|     19|        }
11587|     15|        p->mark = _mark;
11588|     15|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11589|     15|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression"));
11590|     15|    }
11591|     15|    _res = NULL;
11592|     35|  done:
11593|     35|    p->level--;
11594|     35|    return _res;
11595|     15|}
_PyPegen_expression_rule:
11606|  9.88k|{
11607|  9.88k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  19.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11607:9): [True: 0, False: 9.88k]
  |  Branch (11607:35): [True: 0, False: 9.88k]
  ------------------
11608|      0|        _Pypegen_stack_overflow(p);
11609|      0|    }
11610|  9.88k|    if (p->error_indicator) {
  ------------------
  |  Branch (11610:9): [True: 0, False: 9.88k]
  ------------------
11611|      0|        p->level--;
11612|      0|        return NULL;
11613|      0|    }
11614|  9.88k|    expr_ty _res = NULL;
11615|  9.88k|    if (_PyPegen_is_memoized(p, expression_type, &_res)) {
  ------------------
  |  |  198|  9.88k|#define expression_type 1109
  ------------------
  |  Branch (11615:9): [True: 7.36k, False: 2.51k]
  ------------------
11616|  7.36k|        p->level--;
11617|  7.36k|        return _res;
11618|  7.36k|    }
11619|  2.51k|    int _mark = p->mark;
11620|  2.51k|    if (p->call_invalid_rules) { // invalid_if_expression
  ------------------
  |  Branch (11620:9): [True: 1.11k, False: 1.40k]
  ------------------
11621|  1.11k|        if (p->error_indicator) {
  ------------------
  |  Branch (11621:13): [True: 0, False: 1.11k]
  ------------------
11622|      0|            p->level--;
11623|      0|            return NULL;
11624|      0|        }
11625|  1.11k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_if_expression"));
11626|  1.11k|        void *invalid_if_expression_var;
11627|  1.11k|        if (
11628|  1.11k|            (invalid_if_expression_var = invalid_if_expression_rule(p))  // invalid_if_expression
  ------------------
  |  |  547|  1.11k|#define invalid_if_expression_rule _PyPegen_invalid_if_expression_rule
  ------------------
  |  Branch (11628:13): [True: 0, False: 1.11k]
  ------------------
11629|  1.11k|        )
11630|      0|        {
11631|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_if_expression"));
11632|      0|            _res = invalid_if_expression_var;
11633|      0|            goto done;
11634|      0|        }
11635|  1.11k|        p->mark = _mark;
11636|  1.11k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11637|  1.11k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_if_expression"));
11638|  1.11k|    }
11639|  2.51k|    if (p->call_invalid_rules) { // invalid_expression
  ------------------
  |  Branch (11639:9): [True: 1.11k, False: 1.40k]
  ------------------
11640|  1.11k|        if (p->error_indicator) {
  ------------------
  |  Branch (11640:13): [True: 225, False: 888]
  ------------------
11641|    225|            p->level--;
11642|    225|            return NULL;
11643|    225|        }
11644|    888|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_expression"));
11645|    888|        void *invalid_expression_var;
11646|    888|        if (
11647|    888|            (invalid_expression_var = invalid_expression_rule(p))  // invalid_expression
  ------------------
  |  |  545|    888|#define invalid_expression_rule _PyPegen_invalid_expression_rule
  ------------------
  |  Branch (11647:13): [True: 0, False: 888]
  ------------------
11648|    888|        )
11649|      0|        {
11650|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_expression"));
11651|      0|            _res = invalid_expression_var;
11652|      0|            goto done;
11653|      0|        }
11654|    888|        p->mark = _mark;
11655|    888|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11656|    888|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_expression"));
11657|    888|    }
11658|  2.29k|    if (p->call_invalid_rules) { // invalid_legacy_expression
  ------------------
  |  Branch (11658:9): [True: 888, False: 1.40k]
  ------------------
11659|    888|        if (p->error_indicator) {
  ------------------
  |  Branch (11659:13): [True: 2, False: 886]
  ------------------
11660|      2|            p->level--;
11661|      2|            return NULL;
11662|      2|        }
11663|    886|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_legacy_expression"));
11664|    886|        void *invalid_legacy_expression_var;
11665|    886|        if (
11666|    886|            (invalid_legacy_expression_var = invalid_legacy_expression_rule(p))  // invalid_legacy_expression
  ------------------
  |  |  541|    886|#define invalid_legacy_expression_rule _PyPegen_invalid_legacy_expression_rule
  ------------------
  |  Branch (11666:13): [True: 0, False: 886]
  ------------------
11667|    886|        )
11668|      0|        {
11669|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_legacy_expression"));
11670|      0|            _res = invalid_legacy_expression_var;
11671|      0|            goto done;
11672|      0|        }
11673|    886|        p->mark = _mark;
11674|    886|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11675|    886|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_legacy_expression"));
11676|    886|    }
11677|  2.28k|    { // if_expression
11678|  2.28k|        if (p->error_indicator) {
  ------------------
  |  Branch (11678:13): [True: 0, False: 2.28k]
  ------------------
11679|      0|            p->level--;
11680|      0|            return NULL;
11681|      0|        }
11682|  2.28k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "if_expression"));
11683|  2.28k|        expr_ty if_expression_var;
11684|  2.28k|        if (
11685|  2.28k|            (if_expression_var = if_expression_rule(p))  // if_expression
  ------------------
  |  |  463|  2.28k|#define if_expression_rule _PyPegen_if_expression_rule
  ------------------
  |  Branch (11685:13): [True: 0, False: 2.28k]
  ------------------
11686|  2.28k|        )
11687|      0|        {
11688|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "if_expression"));
11689|      0|            _res = if_expression_var;
11690|      0|            goto done;
11691|      0|        }
11692|  2.28k|        p->mark = _mark;
11693|  2.28k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11694|  2.28k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "if_expression"));
11695|  2.28k|    }
11696|      0|    { // disjunction
11697|  2.28k|        if (p->error_indicator) {
  ------------------
  |  Branch (11697:13): [True: 43, False: 2.24k]
  ------------------
11698|     43|            p->level--;
11699|     43|            return NULL;
11700|     43|        }
11701|  2.24k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction"));
11702|  2.24k|        expr_ty disjunction_var;
11703|  2.24k|        if (
11704|  2.24k|            (disjunction_var = disjunction_rule(p))  // disjunction
  ------------------
  |  |  477|  2.24k|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (11704:13): [True: 993, False: 1.25k]
  ------------------
11705|  2.24k|        )
11706|    993|        {
11707|    993|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction"));
11708|    993|            _res = disjunction_var;
11709|    993|            goto done;
11710|    993|        }
11711|  1.25k|        p->mark = _mark;
11712|  1.25k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11713|  1.25k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction"));
11714|  1.25k|    }
11715|      0|    { // lambdef
11716|  1.25k|        if (p->error_indicator) {
  ------------------
  |  Branch (11716:13): [True: 0, False: 1.25k]
  ------------------
11717|      0|            p->level--;
11718|      0|            return NULL;
11719|      0|        }
11720|  1.25k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambdef"));
11721|  1.25k|        expr_ty lambdef_var;
11722|  1.25k|        if (
11723|  1.25k|            (lambdef_var = lambdef_rule(p))  // lambdef
  ------------------
  |  |  489|  1.25k|#define lambdef_rule _PyPegen_lambdef_rule
  ------------------
  |  Branch (11723:13): [True: 2, False: 1.25k]
  ------------------
11724|  1.25k|        )
11725|      2|        {
11726|      2|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambdef"));
11727|      2|            _res = lambdef_var;
11728|      2|            goto done;
11729|      2|        }
11730|  1.25k|        p->mark = _mark;
11731|  1.25k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11732|  1.25k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambdef"));
11733|  1.25k|    }
11734|  1.25k|    _res = NULL;
11735|  2.24k|  done:
11736|  2.24k|    _PyPegen_insert_memo(p, _mark, expression_type, _res);
  ------------------
  |  |  198|  2.24k|#define expression_type 1109
  ------------------
11737|  2.24k|    p->level--;
11738|  2.24k|    return _res;
11739|  1.25k|}
_PyPegen_if_expression_rule:
11744|  4.02k|{
11745|  4.02k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  8.04k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11745:9): [True: 0, False: 4.02k]
  |  Branch (11745:35): [True: 0, False: 4.02k]
  ------------------
11746|      0|        _Pypegen_stack_overflow(p);
11747|      0|    }
11748|  4.02k|    if (p->error_indicator) {
  ------------------
  |  Branch (11748:9): [True: 0, False: 4.02k]
  ------------------
11749|      0|        p->level--;
11750|      0|        return NULL;
11751|      0|    }
11752|  4.02k|    expr_ty _res = NULL;
11753|  4.02k|    int _mark = p->mark;
11754|  4.02k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11754:9): [True: 0, False: 4.02k]
  |  Branch (11754:31): [True: 0, False: 0]
  ------------------
11755|      0|        p->error_indicator = 1;
11756|      0|        p->level--;
11757|      0|        return NULL;
11758|      0|    }
11759|  4.02k|    int _start_lineno = p->tokens[_mark]->lineno;
11760|  4.02k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.02k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.02k]
  |  |  ------------------
  ------------------
11761|  4.02k|    int _start_col_offset = p->tokens[_mark]->col_offset;
11762|  4.02k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.02k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.02k]
  |  |  ------------------
  ------------------
11763|  4.02k|    { // disjunction 'if' disjunction 'else' expression
11764|  4.02k|        if (p->error_indicator) {
  ------------------
  |  Branch (11764:13): [True: 0, False: 4.02k]
  ------------------
11765|      0|            p->level--;
11766|      0|            return NULL;
11767|      0|        }
11768|  4.02k|        D(fprintf(stderr, "%*c> if_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11769|  4.02k|        Token * _keyword;
11770|  4.02k|        Token * _keyword_1;
11771|  4.02k|        expr_ty a;
11772|  4.02k|        expr_ty b;
11773|  4.02k|        expr_ty c;
11774|  4.02k|        if (
11775|  4.02k|            (a = disjunction_rule(p))  // disjunction
  ------------------
  |  |  477|  4.02k|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (11775:13): [True: 2.49k, False: 1.52k]
  ------------------
11776|  2.49k|            &&
11777|  2.49k|            (_keyword = _PyPegen_expect_token(p, 514))  // token='if'
  ------------------
  |  Branch (11777:13): [True: 0, False: 2.49k]
  ------------------
11778|      0|            &&
11779|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  |  477|      0|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (11779:13): [True: 0, False: 0]
  ------------------
11780|      0|            &&
11781|      0|            (_keyword_1 = _PyPegen_expect_token(p, 522))  // token='else'
  ------------------
  |  Branch (11781:13): [True: 0, False: 0]
  ------------------
11782|      0|            &&
11783|      0|            (c = expression_rule(p))  // expression
  ------------------
  |  |  461|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (11783:13): [True: 0, False: 0]
  ------------------
11784|  4.02k|        )
11785|      0|        {
11786|      0|            D(fprintf(stderr, "%*c+ if_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11787|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11788|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11788:17): [True: 0, False: 0]
  ------------------
11789|      0|                p->level--;
11790|      0|                return NULL;
11791|      0|            }
11792|      0|            int _end_lineno = _token->end_lineno;
11793|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11794|      0|            int _end_col_offset = _token->end_col_offset;
11795|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11796|      0|            _res = _PyAST_IfExp ( b , a , c , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11797|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11797:18): [True: 0, False: 0]
  |  Branch (11797:34): [True: 0, False: 0]
  |  Branch (11797:57): [True: 0, False: 0]
  ------------------
11798|      0|                p->error_indicator = 1;
11799|      0|                p->level--;
11800|      0|                return NULL;
11801|      0|            }
11802|      0|            goto done;
11803|      0|        }
11804|  4.02k|        p->mark = _mark;
11805|  4.02k|        D(fprintf(stderr, "%*c%s if_expression[%d-%d]: %s failed!\n", p->level, ' ',
11806|  4.02k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11807|  4.02k|    }
11808|  4.02k|    _res = NULL;
11809|  4.02k|  done:
11810|  4.02k|    p->level--;
11811|  4.02k|    return _res;
11812|  4.02k|}
_PyPegen_yield_expr_rule:
11817|    635|{
11818|    635|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.27k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11818:9): [True: 0, False: 635]
  |  Branch (11818:35): [True: 0, False: 635]
  ------------------
11819|      0|        _Pypegen_stack_overflow(p);
11820|      0|    }
11821|    635|    if (p->error_indicator) {
  ------------------
  |  Branch (11821:9): [True: 0, False: 635]
  ------------------
11822|      0|        p->level--;
11823|      0|        return NULL;
11824|      0|    }
11825|    635|    expr_ty _res = NULL;
11826|    635|    int _mark = p->mark;
11827|    635|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11827:9): [True: 5, False: 630]
  |  Branch (11827:31): [True: 0, False: 5]
  ------------------
11828|      0|        p->error_indicator = 1;
11829|      0|        p->level--;
11830|      0|        return NULL;
11831|      0|    }
11832|    635|    int _start_lineno = p->tokens[_mark]->lineno;
11833|    635|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    635|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 635]
  |  |  ------------------
  ------------------
11834|    635|    int _start_col_offset = p->tokens[_mark]->col_offset;
11835|    635|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    635|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 635]
  |  |  ------------------
  ------------------
11836|    635|    { // 'yield' 'from' expression
11837|    635|        if (p->error_indicator) {
  ------------------
  |  Branch (11837:13): [True: 0, False: 635]
  ------------------
11838|      0|            p->level--;
11839|      0|            return NULL;
11840|      0|        }
11841|    635|        D(fprintf(stderr, "%*c> yield_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'yield' 'from' expression"));
11842|    635|        Token * _keyword;
11843|    635|        Token * _keyword_1;
11844|    635|        expr_ty a;
11845|    635|        if (
11846|    635|            (_keyword = _PyPegen_expect_token(p, 506))  // token='yield'
  ------------------
  |  Branch (11846:13): [True: 0, False: 635]
  ------------------
11847|      0|            &&
11848|      0|            (_keyword_1 = _PyPegen_expect_token(p, 501))  // token='from'
  ------------------
  |  Branch (11848:13): [True: 0, False: 0]
  ------------------
11849|      0|            &&
11850|      0|            (a = expression_rule(p))  // expression
  ------------------
  |  |  461|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (11850:13): [True: 0, False: 0]
  ------------------
11851|    635|        )
11852|      0|        {
11853|      0|            D(fprintf(stderr, "%*c+ yield_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'yield' 'from' expression"));
11854|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11855|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11855:17): [True: 0, False: 0]
  ------------------
11856|      0|                p->level--;
11857|      0|                return NULL;
11858|      0|            }
11859|      0|            int _end_lineno = _token->end_lineno;
11860|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11861|      0|            int _end_col_offset = _token->end_col_offset;
11862|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11863|      0|            _res = _PyAST_YieldFrom ( a , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11864|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11864:18): [True: 0, False: 0]
  |  Branch (11864:34): [True: 0, False: 0]
  |  Branch (11864:57): [True: 0, False: 0]
  ------------------
11865|      0|                p->error_indicator = 1;
11866|      0|                p->level--;
11867|      0|                return NULL;
11868|      0|            }
11869|      0|            goto done;
11870|      0|        }
11871|    635|        p->mark = _mark;
11872|    635|        D(fprintf(stderr, "%*c%s yield_expr[%d-%d]: %s failed!\n", p->level, ' ',
11873|    635|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'yield' 'from' expression"));
11874|    635|    }
11875|      0|    { // 'yield' star_expressions?
11876|    635|        if (p->error_indicator) {
  ------------------
  |  Branch (11876:13): [True: 0, False: 635]
  ------------------
11877|      0|            p->level--;
11878|      0|            return NULL;
11879|      0|        }
11880|    635|        D(fprintf(stderr, "%*c> yield_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'yield' star_expressions?"));
11881|    635|        Token * _keyword;
11882|    635|        void *a;
11883|    635|        if (
11884|    635|            (_keyword = _PyPegen_expect_token(p, 506))  // token='yield'
  ------------------
  |  Branch (11884:13): [True: 0, False: 635]
  ------------------
11885|      0|            &&
11886|      0|            (a = star_expressions_rule(p), !p->error_indicator)  // star_expressions?
  ------------------
  |  |  467|      0|#define star_expressions_rule _PyPegen_star_expressions_rule
  ------------------
  |  Branch (11886:13): [True: 0, False: 0]
  ------------------
11887|    635|        )
11888|      0|        {
11889|      0|            D(fprintf(stderr, "%*c+ yield_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'yield' star_expressions?"));
11890|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11891|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11891:17): [True: 0, False: 0]
  ------------------
11892|      0|                p->level--;
11893|      0|                return NULL;
11894|      0|            }
11895|      0|            int _end_lineno = _token->end_lineno;
11896|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11897|      0|            int _end_col_offset = _token->end_col_offset;
11898|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11899|      0|            _res = _PyAST_Yield ( a , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11900|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11900:18): [True: 0, False: 0]
  |  Branch (11900:34): [True: 0, False: 0]
  |  Branch (11900:57): [True: 0, False: 0]
  ------------------
11901|      0|                p->error_indicator = 1;
11902|      0|                p->level--;
11903|      0|                return NULL;
11904|      0|            }
11905|      0|            goto done;
11906|      0|        }
11907|    635|        p->mark = _mark;
11908|    635|        D(fprintf(stderr, "%*c%s yield_expr[%d-%d]: %s failed!\n", p->level, ' ',
11909|    635|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'yield' star_expressions?"));
11910|    635|    }
11911|    635|    _res = NULL;
11912|    635|  done:
11913|    635|    p->level--;
11914|    635|    return _res;
11915|    635|}
_PyPegen_star_expressions_rule:
11923|     51|{
11924|     51|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    102|#  define MAXSTACK 6000
  ------------------
  |  Branch (11924:9): [True: 0, False: 51]
  |  Branch (11924:35): [True: 0, False: 51]
  ------------------
11925|      0|        _Pypegen_stack_overflow(p);
11926|      0|    }
11927|     51|    if (p->error_indicator) {
  ------------------
  |  Branch (11927:9): [True: 0, False: 51]
  ------------------
11928|      0|        p->level--;
11929|      0|        return NULL;
11930|      0|    }
11931|     51|    expr_ty _res = NULL;
11932|     51|    int _mark = p->mark;
11933|     51|    expr_ty _prefix_1_result = NULL;
11934|     51|    int _prefix_1_end = 0, _prefix_1_valid = 0;
11935|     51|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11935:9): [True: 0, False: 51]
  |  Branch (11935:31): [True: 0, False: 0]
  ------------------
11936|      0|        p->error_indicator = 1;
11937|      0|        p->level--;
11938|      0|        return NULL;
11939|      0|    }
11940|     51|    int _start_lineno = p->tokens[_mark]->lineno;
11941|     51|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|     51|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 51]
  |  |  ------------------
  ------------------
11942|     51|    int _start_col_offset = p->tokens[_mark]->col_offset;
11943|     51|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|     51|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 51]
  |  |  ------------------
  ------------------
11944|     51|    { // star_expression ((',' star_expression))+ ','?
11945|     51|        if (p->error_indicator) {
  ------------------
  |  Branch (11945:13): [True: 0, False: 51]
  ------------------
11946|      0|            p->level--;
11947|      0|            return NULL;
11948|      0|        }
11949|     51|        D(fprintf(stderr, "%*c> star_expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expression ((',' star_expression))+ ','?"));
11950|     51|        void *_opt_var;
11951|     51|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|     51|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 51]
  |  |  ------------------
  ------------------
11952|     51|        expr_ty a;
11953|     51|        asdl_seq * b;
11954|     51|        if (
11955|     51|            (a = ((!p->call_invalid_rules && _prefix_1_valid) ? (p->mark = _prefix_1_end, _prefix_1_result) : (_prefix_1_result = star_expression_rule(p), _prefix_1_end = p->mark, _prefix_1_valid = 1, _prefix_1_result)))  // star_expression
  ------------------
  |  Branch (11955:13): [True: 35, False: 16]
  |  Branch (11955:20): [True: 5, False: 46]
  |  Branch (11955:46): [True: 0, False: 5]
  ------------------
11956|     35|            &&
11957|     35|            (b = _loop1_56_rule(p))  // ((',' star_expression))+
  ------------------
  |  Branch (11957:13): [True: 0, False: 35]
  ------------------
11958|      0|            &&
11959|      0|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (11959:13): [True: 0, False: 0]
  ------------------
11960|     51|        )
11961|      0|        {
11962|      0|            D(fprintf(stderr, "%*c+ star_expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expression ((',' star_expression))+ ','?"));
11963|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11964|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11964:17): [True: 0, False: 0]
  ------------------
11965|      0|                p->level--;
11966|      0|                return NULL;
11967|      0|            }
11968|      0|            int _end_lineno = _token->end_lineno;
11969|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11970|      0|            int _end_col_offset = _token->end_col_offset;
11971|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11972|      0|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Load , EXTRA );
  ------------------
  |  |  280|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Load , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11973|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11973:18): [True: 0, False: 0]
  |  Branch (11973:34): [True: 0, False: 0]
  |  Branch (11973:57): [True: 0, False: 0]
  ------------------
11974|      0|                p->error_indicator = 1;
11975|      0|                p->level--;
11976|      0|                return NULL;
11977|      0|            }
11978|      0|            goto done;
11979|      0|        }
11980|     51|        p->mark = _mark;
11981|     51|        D(fprintf(stderr, "%*c%s star_expressions[%d-%d]: %s failed!\n", p->level, ' ',
11982|     51|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expression ((',' star_expression))+ ','?"));
11983|     51|    }
11984|      0|    { // star_expression ','
11985|     51|        if (p->error_indicator) {
  ------------------
  |  Branch (11985:13): [True: 1, False: 50]
  ------------------
11986|      1|            p->level--;
11987|      1|            return NULL;
11988|      1|        }
11989|     50|        D(fprintf(stderr, "%*c> star_expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expression ','"));
11990|     50|        Token * _literal;
11991|     50|        expr_ty a;
11992|     50|        if (
11993|     50|            (a = ((!p->call_invalid_rules && _prefix_1_valid) ? (p->mark = _prefix_1_end, _prefix_1_result) : (_prefix_1_result = star_expression_rule(p), _prefix_1_end = p->mark, _prefix_1_valid = 1, _prefix_1_result)))  // star_expression
  ------------------
  |  Branch (11993:13): [True: 35, False: 15]
  |  Branch (11993:20): [True: 4, False: 46]
  |  Branch (11993:46): [True: 4, False: 0]
  ------------------
11994|     35|            &&
11995|     35|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (11995:13): [True: 0, False: 35]
  ------------------
11996|     50|        )
11997|      0|        {
11998|      0|            D(fprintf(stderr, "%*c+ star_expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expression ','"));
11999|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12000|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12000:17): [True: 0, False: 0]
  ------------------
12001|      0|                p->level--;
12002|      0|                return NULL;
12003|      0|            }
12004|      0|            int _end_lineno = _token->end_lineno;
12005|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12006|      0|            int _end_col_offset = _token->end_col_offset;
12007|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12008|      0|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  280|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12009|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12009:18): [True: 0, False: 0]
  |  Branch (12009:34): [True: 0, False: 0]
  |  Branch (12009:57): [True: 0, False: 0]
  ------------------
12010|      0|                p->error_indicator = 1;
12011|      0|                p->level--;
12012|      0|                return NULL;
12013|      0|            }
12014|      0|            goto done;
12015|      0|        }
12016|     50|        p->mark = _mark;
12017|     50|        D(fprintf(stderr, "%*c%s star_expressions[%d-%d]: %s failed!\n", p->level, ' ',
12018|     50|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expression ','"));
12019|     50|    }
12020|      0|    { // star_expression
12021|     50|        if (p->error_indicator) {
  ------------------
  |  Branch (12021:13): [True: 0, False: 50]
  ------------------
12022|      0|            p->level--;
12023|      0|            return NULL;
12024|      0|        }
12025|     50|        D(fprintf(stderr, "%*c> star_expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expression"));
12026|     50|        expr_ty star_expression_var;
12027|     50|        if (
12028|     50|            (star_expression_var = ((!p->call_invalid_rules && _prefix_1_valid) ? (p->mark = _prefix_1_end, _prefix_1_result) : (_prefix_1_result = star_expression_rule(p), _prefix_1_end = p->mark, _prefix_1_valid = 1, _prefix_1_result)))  // star_expression
  ------------------
  |  Branch (12028:13): [True: 35, False: 15]
  |  Branch (12028:38): [True: 4, False: 46]
  |  Branch (12028:64): [True: 4, False: 0]
  ------------------
12029|     50|        )
12030|     35|        {
12031|     35|            D(fprintf(stderr, "%*c+ star_expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expression"));
12032|     35|            _res = star_expression_var;
12033|     35|            goto done;
12034|     35|        }
12035|     15|        p->mark = _mark;
12036|     15|        D(fprintf(stderr, "%*c%s star_expressions[%d-%d]: %s failed!\n", p->level, ' ',
12037|     15|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expression"));
12038|     15|    }
12039|     15|    _res = NULL;
12040|     50|  done:
12041|     50|    p->level--;
12042|     50|    return _res;
12043|     15|}
_PyPegen_star_named_expression_rule:
12183|    781|{
12184|    781|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.56k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12184:9): [True: 0, False: 781]
  |  Branch (12184:35): [True: 0, False: 781]
  ------------------
12185|      0|        _Pypegen_stack_overflow(p);
12186|      0|    }
12187|    781|    if (p->error_indicator) {
  ------------------
  |  Branch (12187:9): [True: 0, False: 781]
  ------------------
12188|      0|        p->level--;
12189|      0|        return NULL;
12190|      0|    }
12191|    781|    expr_ty _res = NULL;
12192|    781|    int _mark = p->mark;
12193|    781|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12193:9): [True: 25, False: 756]
  |  Branch (12193:31): [True: 0, False: 25]
  ------------------
12194|      0|        p->error_indicator = 1;
12195|      0|        p->level--;
12196|      0|        return NULL;
12197|      0|    }
12198|    781|    int _start_lineno = p->tokens[_mark]->lineno;
12199|    781|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    781|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 781]
  |  |  ------------------
  ------------------
12200|    781|    int _start_col_offset = p->tokens[_mark]->col_offset;
12201|    781|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    781|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 781]
  |  |  ------------------
  ------------------
12202|    781|    { // '*' bitwise_or
12203|    781|        if (p->error_indicator) {
  ------------------
  |  Branch (12203:13): [True: 0, False: 781]
  ------------------
12204|      0|            p->level--;
12205|      0|            return NULL;
12206|      0|        }
12207|    781|        D(fprintf(stderr, "%*c> star_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12208|    781|        Token * _literal;
12209|    781|        expr_ty a;
12210|    781|        if (
12211|    781|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (12211:13): [True: 318, False: 463]
  ------------------
12212|    318|            &&
12213|    318|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|    318|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12213:13): [True: 318, False: 0]
  ------------------
12214|    781|        )
12215|    318|        {
12216|    318|            D(fprintf(stderr, "%*c+ star_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12217|    318|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12218|    318|            if (_token == NULL) {
  ------------------
  |  Branch (12218:17): [True: 0, False: 318]
  ------------------
12219|      0|                p->level--;
12220|      0|                return NULL;
12221|      0|            }
12222|    318|            int _end_lineno = _token->end_lineno;
12223|    318|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    318|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 318]
  |  |  ------------------
  ------------------
12224|    318|            int _end_col_offset = _token->end_col_offset;
12225|    318|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    318|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 318]
  |  |  ------------------
  ------------------
12226|    318|            _res = _PyAST_Starred ( a , Load , EXTRA );
  ------------------
  |  |  316|    318|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12227|    318|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12227:18): [True: 0, False: 318]
  |  Branch (12227:34): [True: 0, False: 318]
  |  Branch (12227:57): [True: 0, False: 0]
  ------------------
12228|      0|                p->error_indicator = 1;
12229|      0|                p->level--;
12230|      0|                return NULL;
12231|      0|            }
12232|    318|            goto done;
12233|    318|        }
12234|    463|        p->mark = _mark;
12235|    463|        D(fprintf(stderr, "%*c%s star_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12236|    463|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' bitwise_or"));
12237|    463|    }
12238|      0|    { // named_expression
12239|    463|        if (p->error_indicator) {
  ------------------
  |  Branch (12239:13): [True: 0, False: 463]
  ------------------
12240|      0|            p->level--;
12241|      0|            return NULL;
12242|      0|        }
12243|    463|        D(fprintf(stderr, "%*c> star_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "named_expression"));
12244|    463|        expr_ty named_expression_var;
12245|    463|        if (
12246|    463|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  |  475|    463|#define named_expression_rule _PyPegen_named_expression_rule
  ------------------
  |  Branch (12246:13): [True: 244, False: 219]
  ------------------
12247|    463|        )
12248|    244|        {
12249|    244|            D(fprintf(stderr, "%*c+ star_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "named_expression"));
12250|    244|            _res = named_expression_var;
12251|    244|            goto done;
12252|    244|        }
12253|    219|        p->mark = _mark;
12254|    219|        D(fprintf(stderr, "%*c%s star_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12255|    219|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "named_expression"));
12256|    219|    }
12257|    219|    _res = NULL;
12258|    781|  done:
12259|    781|    p->level--;
12260|    781|    return _res;
12261|    219|}
_PyPegen_assignment_expression_rule:
12266|  4.20k|{
12267|  4.20k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  8.41k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12267:9): [True: 0, False: 4.20k]
  |  Branch (12267:35): [True: 0, False: 4.20k]
  ------------------
12268|      0|        _Pypegen_stack_overflow(p);
12269|      0|    }
12270|  4.20k|    if (p->error_indicator) {
  ------------------
  |  Branch (12270:9): [True: 0, False: 4.20k]
  ------------------
12271|      0|        p->level--;
12272|      0|        return NULL;
12273|      0|    }
12274|  4.20k|    expr_ty _res = NULL;
12275|  4.20k|    int _mark = p->mark;
12276|  4.20k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12276:9): [True: 888, False: 3.31k]
  |  Branch (12276:31): [True: 3, False: 885]
  ------------------
12277|      3|        p->error_indicator = 1;
12278|      3|        p->level--;
12279|      3|        return NULL;
12280|      3|    }
12281|  4.20k|    int _start_lineno = p->tokens[_mark]->lineno;
12282|  4.20k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.20k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.20k]
  |  |  ------------------
  ------------------
12283|  4.20k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12284|  4.20k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.20k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.20k]
  |  |  ------------------
  ------------------
12285|  4.20k|    { // NAME ':=' ~ expression
12286|  4.20k|        if (p->error_indicator) {
  ------------------
  |  Branch (12286:13): [True: 0, False: 4.20k]
  ------------------
12287|      0|            p->level--;
12288|      0|            return NULL;
12289|      0|        }
12290|  4.20k|        D(fprintf(stderr, "%*c> assignment_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME ':=' ~ expression"));
12291|  4.20k|        int _cut_var = 0;
12292|  4.20k|        Token * _literal;
12293|  4.20k|        expr_ty a;
12294|  4.20k|        expr_ty b;
12295|  4.20k|        if (
12296|  4.20k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (12296:13): [True: 1.30k, False: 2.90k]
  ------------------
12297|  1.30k|            &&
12298|  1.30k|            (_literal = _PyPegen_expect_token(p, 53))  // token=':='
  ------------------
  |  Branch (12298:13): [True: 0, False: 1.30k]
  ------------------
12299|      0|            &&
12300|      0|            (_cut_var = 1)
  ------------------
  |  Branch (12300:13): [True: 0, False: 0]
  ------------------
12301|      0|            &&
12302|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  |  461|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (12302:13): [True: 0, False: 0]
  ------------------
12303|  4.20k|        )
12304|      0|        {
12305|      0|            D(fprintf(stderr, "%*c+ assignment_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME ':=' ~ expression"));
12306|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12307|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12307:17): [True: 0, False: 0]
  ------------------
12308|      0|                p->level--;
12309|      0|                return NULL;
12310|      0|            }
12311|      0|            int _end_lineno = _token->end_lineno;
12312|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12313|      0|            int _end_col_offset = _token->end_col_offset;
12314|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12315|      0|            _res = CHECK_VERSION ( expr_ty , 8 , "Assignment expressions are" , _PyAST_NamedExpr ( CHECK ( expr_ty , _PyPegen_set_expr_context ( p , a , Store ) ) , b , EXTRA ) );
  ------------------
  |  |  354|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
12316|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12316:18): [True: 0, False: 0]
  |  Branch (12316:34): [True: 0, False: 0]
  |  Branch (12316:57): [True: 0, False: 0]
  ------------------
12317|      0|                p->error_indicator = 1;
12318|      0|                p->level--;
12319|      0|                return NULL;
12320|      0|            }
12321|      0|            goto done;
12322|      0|        }
12323|  4.20k|        p->mark = _mark;
12324|  4.20k|        D(fprintf(stderr, "%*c%s assignment_expression[%d-%d]: %s failed!\n", p->level, ' ',
12325|  4.20k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME ':=' ~ expression"));
12326|  4.20k|        if (_cut_var) {
  ------------------
  |  Branch (12326:13): [True: 0, False: 4.20k]
  ------------------
12327|      0|            p->level--;
12328|      0|            return NULL;
12329|      0|        }
12330|  4.20k|    }
12331|  4.20k|    _res = NULL;
12332|  4.20k|  done:
12333|  4.20k|    p->level--;
12334|  4.20k|    return _res;
12335|  4.20k|}
_PyPegen_named_expression_rule:
12340|  1.09k|{
12341|  1.09k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.18k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12341:9): [True: 0, False: 1.09k]
  |  Branch (12341:35): [True: 0, False: 1.09k]
  ------------------
12342|      0|        _Pypegen_stack_overflow(p);
12343|      0|    }
12344|  1.09k|    if (p->error_indicator) {
  ------------------
  |  Branch (12344:9): [True: 0, False: 1.09k]
  ------------------
12345|      0|        p->level--;
12346|      0|        return NULL;
12347|      0|    }
12348|  1.09k|    expr_ty _res = NULL;
12349|  1.09k|    int _mark = p->mark;
12350|  1.09k|    { // assignment_expression
12351|  1.09k|        if (p->error_indicator) {
  ------------------
  |  Branch (12351:13): [True: 0, False: 1.09k]
  ------------------
12352|      0|            p->level--;
12353|      0|            return NULL;
12354|      0|        }
12355|  1.09k|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
12356|  1.09k|        expr_ty assignment_expression_var;
12357|  1.09k|        if (
12358|  1.09k|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  |  473|  1.09k|#define assignment_expression_rule _PyPegen_assignment_expression_rule
  ------------------
  |  Branch (12358:13): [True: 0, False: 1.09k]
  ------------------
12359|  1.09k|        )
12360|      0|        {
12361|      0|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
12362|      0|            _res = assignment_expression_var;
12363|      0|            goto done;
12364|      0|        }
12365|  1.09k|        p->mark = _mark;
12366|  1.09k|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12367|  1.09k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
12368|  1.09k|    }
12369|  1.09k|    if (p->call_invalid_rules) { // invalid_named_expression
  ------------------
  |  Branch (12369:9): [True: 249, False: 844]
  ------------------
12370|    249|        if (p->error_indicator) {
  ------------------
  |  Branch (12370:13): [True: 0, False: 249]
  ------------------
12371|      0|            p->level--;
12372|      0|            return NULL;
12373|      0|        }
12374|    249|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_named_expression"));
12375|    249|        void *invalid_named_expression_var;
12376|    249|        if (
12377|    249|            (invalid_named_expression_var = invalid_named_expression_rule(p))  // invalid_named_expression
  ------------------
  |  |  549|    249|#define invalid_named_expression_rule _PyPegen_invalid_named_expression_rule
  ------------------
  |  Branch (12377:13): [True: 0, False: 249]
  ------------------
12378|    249|        )
12379|      0|        {
12380|      0|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_named_expression"));
12381|      0|            _res = invalid_named_expression_var;
12382|      0|            goto done;
12383|      0|        }
12384|    249|        p->mark = _mark;
12385|    249|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12386|    249|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_named_expression"));
12387|    249|    }
12388|  1.09k|    { // expression !':='
12389|  1.09k|        if (p->error_indicator) {
  ------------------
  |  Branch (12389:13): [True: 9, False: 1.08k]
  ------------------
12390|      9|            p->level--;
12391|      9|            return NULL;
12392|      9|        }
12393|  1.08k|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
12394|  1.08k|        expr_ty expression_var;
12395|  1.08k|        if (
12396|  1.08k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  461|  1.08k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (12396:13): [True: 394, False: 690]
  ------------------
12397|    394|            &&
12398|    394|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (12398:13): [True: 394, False: 0]
  ------------------
12399|  1.08k|        )
12400|    394|        {
12401|    394|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
12402|    394|            _res = expression_var;
12403|    394|            goto done;
12404|    394|        }
12405|    690|        p->mark = _mark;
12406|    690|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12407|    690|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
12408|    690|    }
12409|    690|    _res = NULL;
12410|  1.08k|  done:
12411|  1.08k|    p->level--;
12412|  1.08k|    return _res;
12413|    690|}
_PyPegen_disjunction_rule:
12418|  11.3k|{
12419|  11.3k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  22.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12419:9): [True: 0, False: 11.3k]
  |  Branch (12419:35): [True: 0, False: 11.3k]
  ------------------
12420|      0|        _Pypegen_stack_overflow(p);
12421|      0|    }
12422|  11.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (12422:9): [True: 0, False: 11.3k]
  ------------------
12423|      0|        p->level--;
12424|      0|        return NULL;
12425|      0|    }
12426|  11.3k|    expr_ty _res = NULL;
12427|  11.3k|    if (_PyPegen_atom_fast_path(p, &_res)) {
  ------------------
  |  Branch (12427:9): [True: 34, False: 11.3k]
  ------------------
12428|     34|        p->level--;
12429|     34|        return _res;
12430|     34|    }
12431|  11.3k|    if (_PyPegen_is_memoized(p, disjunction_type, &_res)) {
  ------------------
  |  |  207|  11.3k|#define disjunction_type 1118
  ------------------
  |  Branch (12431:9): [True: 8.29k, False: 3.01k]
  ------------------
12432|  8.29k|        p->level--;
12433|  8.29k|        return _res;
12434|  8.29k|    }
12435|  3.01k|    int _mark = p->mark;
12436|  3.01k|    expr_ty _prefix_2_result = NULL;
12437|  3.01k|    int _prefix_2_end = 0, _prefix_2_valid = 0;
12438|  3.01k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12438:9): [True: 0, False: 3.01k]
  |  Branch (12438:31): [True: 0, False: 0]
  ------------------
12439|      0|        p->error_indicator = 1;
12440|      0|        p->level--;
12441|      0|        return NULL;
12442|      0|    }
12443|  3.01k|    int _start_lineno = p->tokens[_mark]->lineno;
12444|  3.01k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.01k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.01k]
  |  |  ------------------
  ------------------
12445|  3.01k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12446|  3.01k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.01k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.01k]
  |  |  ------------------
  ------------------
12447|  3.01k|    { // conjunction (('or' conjunction))+
12448|  3.01k|        if (p->error_indicator) {
  ------------------
  |  Branch (12448:13): [True: 0, False: 3.01k]
  ------------------
12449|      0|            p->level--;
12450|      0|            return NULL;
12451|      0|        }
12452|  3.01k|        D(fprintf(stderr, "%*c> disjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "conjunction (('or' conjunction))+"));
12453|  3.01k|        expr_ty a;
12454|  3.01k|        asdl_seq * b;
12455|  3.01k|        if (
12456|  3.01k|            (a = ((!p->call_invalid_rules && _prefix_2_valid) ? (p->mark = _prefix_2_end, _prefix_2_result) : (_prefix_2_result = conjunction_rule(p), _prefix_2_end = p->mark, _prefix_2_valid = 1, _prefix_2_result)))  // conjunction
  ------------------
  |  Branch (12456:13): [True: 978, False: 2.03k]
  |  Branch (12456:20): [True: 1.69k, False: 1.32k]
  |  Branch (12456:46): [True: 0, False: 1.69k]
  ------------------
12457|    978|            &&
12458|    978|            (b = _loop1_59_rule(p))  // (('or' conjunction))+
  ------------------
  |  Branch (12458:13): [True: 0, False: 978]
  ------------------
12459|  3.01k|        )
12460|      0|        {
12461|      0|            D(fprintf(stderr, "%*c+ disjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "conjunction (('or' conjunction))+"));
12462|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12463|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12463:17): [True: 0, False: 0]
  ------------------
12464|      0|                p->level--;
12465|      0|                return NULL;
12466|      0|            }
12467|      0|            int _end_lineno = _token->end_lineno;
12468|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12469|      0|            int _end_col_offset = _token->end_col_offset;
12470|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12471|      0|            _res = _PyAST_BoolOp ( Or , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  280|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_BoolOp ( Or , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12472|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12472:18): [True: 0, False: 0]
  |  Branch (12472:34): [True: 0, False: 0]
  |  Branch (12472:57): [True: 0, False: 0]
  ------------------
12473|      0|                p->error_indicator = 1;
12474|      0|                p->level--;
12475|      0|                return NULL;
12476|      0|            }
12477|      0|            goto done;
12478|      0|        }
12479|  3.01k|        p->mark = _mark;
12480|  3.01k|        D(fprintf(stderr, "%*c%s disjunction[%d-%d]: %s failed!\n", p->level, ' ',
12481|  3.01k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "conjunction (('or' conjunction))+"));
12482|  3.01k|    }
12483|      0|    { // conjunction
12484|  3.01k|        if (p->error_indicator) {
  ------------------
  |  Branch (12484:13): [True: 490, False: 2.52k]
  ------------------
12485|    490|            p->level--;
12486|    490|            return NULL;
12487|    490|        }
12488|  2.52k|        D(fprintf(stderr, "%*c> disjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "conjunction"));
12489|  2.52k|        expr_ty conjunction_var;
12490|  2.52k|        if (
12491|  2.52k|            (conjunction_var = ((!p->call_invalid_rules && _prefix_2_valid) ? (p->mark = _prefix_2_end, _prefix_2_result) : (_prefix_2_result = conjunction_rule(p), _prefix_2_end = p->mark, _prefix_2_valid = 1, _prefix_2_result)))  // conjunction
  ------------------
  |  Branch (12491:13): [True: 978, False: 1.54k]
  |  Branch (12491:34): [True: 1.64k, False: 879]
  |  Branch (12491:60): [True: 1.64k, False: 0]
  ------------------
12492|  2.52k|        )
12493|    978|        {
12494|    978|            D(fprintf(stderr, "%*c+ disjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "conjunction"));
12495|    978|            _res = conjunction_var;
12496|    978|            goto done;
12497|    978|        }
12498|  1.54k|        p->mark = _mark;
12499|  1.54k|        D(fprintf(stderr, "%*c%s disjunction[%d-%d]: %s failed!\n", p->level, ' ',
12500|  1.54k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "conjunction"));
12501|  1.54k|    }
12502|  1.54k|    _res = NULL;
12503|  2.52k|  done:
12504|  2.52k|    _PyPegen_insert_memo(p, _mark, disjunction_type, _res);
  ------------------
  |  |  207|  2.52k|#define disjunction_type 1118
  ------------------
12505|  2.52k|    p->level--;
12506|  2.52k|    return _res;
12507|  1.54k|}
_PyPegen_inversion_rule:
12602|  3.89k|{
12603|  3.89k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  7.79k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12603:9): [True: 0, False: 3.89k]
  |  Branch (12603:35): [True: 0, False: 3.89k]
  ------------------
12604|      0|        _Pypegen_stack_overflow(p);
12605|      0|    }
12606|  3.89k|    if (p->error_indicator) {
  ------------------
  |  Branch (12606:9): [True: 0, False: 3.89k]
  ------------------
12607|      0|        p->level--;
12608|      0|        return NULL;
12609|      0|    }
12610|  3.89k|    expr_ty _res = NULL;
12611|  3.89k|    if (_PyPegen_atom_fast_path(p, &_res)) {
  ------------------
  |  Branch (12611:9): [True: 0, False: 3.89k]
  ------------------
12612|      0|        p->level--;
12613|      0|        return _res;
12614|      0|    }
12615|  3.89k|    if (_PyPegen_is_memoized(p, inversion_type, &_res)) {
  ------------------
  |  |  209|  3.89k|#define inversion_type 1120
  ------------------
  |  Branch (12615:9): [True: 879, False: 3.01k]
  ------------------
12616|    879|        p->level--;
12617|    879|        return _res;
12618|    879|    }
12619|  3.01k|    int _mark = p->mark;
12620|  3.01k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12620:9): [True: 0, False: 3.01k]
  |  Branch (12620:31): [True: 0, False: 0]
  ------------------
12621|      0|        p->error_indicator = 1;
12622|      0|        p->level--;
12623|      0|        return NULL;
12624|      0|    }
12625|  3.01k|    int _start_lineno = p->tokens[_mark]->lineno;
12626|  3.01k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.01k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.01k]
  |  |  ------------------
  ------------------
12627|  3.01k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12628|  3.01k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.01k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.01k]
  |  |  ------------------
  ------------------
12629|  3.01k|    { // 'not' inversion
12630|  3.01k|        if (p->error_indicator) {
  ------------------
  |  Branch (12630:13): [True: 0, False: 3.01k]
  ------------------
12631|      0|            p->level--;
12632|      0|            return NULL;
12633|      0|        }
12634|  3.01k|        D(fprintf(stderr, "%*c> inversion[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'not' inversion"));
12635|  3.01k|        Token * _keyword;
12636|  3.01k|        expr_ty a;
12637|  3.01k|        if (
12638|  3.01k|            (_keyword = _PyPegen_expect_token(p, 531))  // token='not'
  ------------------
  |  Branch (12638:13): [True: 0, False: 3.01k]
  ------------------
12639|      0|            &&
12640|      0|            (a = inversion_rule(p))  // inversion
  ------------------
  |  |  479|      0|#define inversion_rule _PyPegen_inversion_rule
  ------------------
  |  Branch (12640:13): [True: 0, False: 0]
  ------------------
12641|  3.01k|        )
12642|      0|        {
12643|      0|            D(fprintf(stderr, "%*c+ inversion[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'not' inversion"));
12644|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12645|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12645:17): [True: 0, False: 0]
  ------------------
12646|      0|                p->level--;
12647|      0|                return NULL;
12648|      0|            }
12649|      0|            int _end_lineno = _token->end_lineno;
12650|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12651|      0|            int _end_col_offset = _token->end_col_offset;
12652|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12653|      0|            _res = _PyAST_UnaryOp ( Not , a , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12654|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12654:18): [True: 0, False: 0]
  |  Branch (12654:34): [True: 0, False: 0]
  |  Branch (12654:57): [True: 0, False: 0]
  ------------------
12655|      0|                p->error_indicator = 1;
12656|      0|                p->level--;
12657|      0|                return NULL;
12658|      0|            }
12659|      0|            goto done;
12660|      0|        }
12661|  3.01k|        p->mark = _mark;
12662|  3.01k|        D(fprintf(stderr, "%*c%s inversion[%d-%d]: %s failed!\n", p->level, ' ',
12663|  3.01k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'not' inversion"));
12664|  3.01k|    }
12665|      0|    { // comparison
12666|  3.01k|        if (p->error_indicator) {
  ------------------
  |  Branch (12666:13): [True: 0, False: 3.01k]
  ------------------
12667|      0|            p->level--;
12668|      0|            return NULL;
12669|      0|        }
12670|  3.01k|        D(fprintf(stderr, "%*c> inversion[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "comparison"));
12671|  3.01k|        expr_ty comparison_var;
12672|  3.01k|        if (
12673|  3.01k|            (comparison_var = comparison_rule(p))  // comparison
  ------------------
  |  Branch (12673:13): [True: 978, False: 2.03k]
  ------------------
12674|  3.01k|        )
12675|    978|        {
12676|    978|            D(fprintf(stderr, "%*c+ inversion[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "comparison"));
12677|    978|            _res = comparison_var;
12678|    978|            goto done;
12679|    978|        }
12680|  2.03k|        p->mark = _mark;
12681|  2.03k|        D(fprintf(stderr, "%*c%s inversion[%d-%d]: %s failed!\n", p->level, ' ',
12682|  2.03k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "comparison"));
12683|  2.03k|    }
12684|  2.03k|    _res = NULL;
12685|  3.01k|  done:
12686|  3.01k|    _PyPegen_insert_memo(p, _mark, inversion_type, _res);
  ------------------
  |  |  209|  3.01k|#define inversion_type 1120
  ------------------
12687|  3.01k|    p->level--;
12688|  3.01k|    return _res;
12689|  2.03k|}
_PyPegen_bitwise_or_rule:
13106|  10.1k|{
13107|  10.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  20.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13107:9): [True: 0, False: 10.1k]
  |  Branch (13107:35): [True: 0, False: 10.1k]
  ------------------
13108|      0|        _Pypegen_stack_overflow(p);
13109|      0|    }
13110|  10.1k|    expr_ty _res = NULL;
13111|  10.1k|    if (_PyPegen_is_memoized(p, bitwise_or_type, &_res)) {
  ------------------
  |  |  212|  10.1k|#define bitwise_or_type 1123  // Left-recursive
  ------------------
  |  Branch (13111:9): [True: 7.07k, False: 3.04k]
  ------------------
13112|  7.07k|        p->level--;
13113|  7.07k|        return _res;
13114|  7.07k|    }
13115|  3.04k|    int _mark = p->mark;
13116|  3.04k|    int _resmark = p->mark;
13117|  3.04k|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, bitwise_or_type);
  ------------------
  |  |  212|  3.04k|#define bitwise_or_type 1123  // Left-recursive
  ------------------
13118|  3.04k|    if (_memo == NULL) {
  ------------------
  |  Branch (13118:9): [True: 0, False: 3.04k]
  ------------------
13119|      0|        p->level--;
13120|      0|        return NULL;
13121|      0|    }
13122|  4.05k|    while (1) {
  ------------------
  |  Branch (13122:12): [True: 4.05k, Folded]
  ------------------
13123|  4.05k|        _memo->node = _res;
13124|  4.05k|        _memo->mark = p->mark;
13125|  4.05k|        p->mark = _mark;
13126|  4.05k|        void *_raw = bitwise_or_raw(p);
13127|  4.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (13127:13): [True: 490, False: 3.56k]
  ------------------
13128|    490|            p->level--;
13129|    490|            return NULL;
13130|    490|        }
13131|  3.56k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13131:13): [True: 1.54k, False: 2.02k]
  |  Branch (13131:29): [True: 1.01k, False: 1.01k]
  ------------------
13132|  2.55k|            break;
13133|  1.01k|        _resmark = p->mark;
13134|  1.01k|        _res = _raw;
13135|  1.01k|    }
13136|  2.55k|    p->mark = _resmark;
13137|  2.55k|    p->level--;
13138|  2.55k|    return _res;
13139|  3.04k|}
_PyPegen_bitwise_and_rule:
13373|  9.80k|{
13374|  9.80k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  19.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13374:9): [True: 0, False: 9.80k]
  |  Branch (13374:35): [True: 0, False: 9.80k]
  ------------------
13375|      0|        _Pypegen_stack_overflow(p);
13376|      0|    }
13377|  9.80k|    expr_ty _res = NULL;
13378|  9.80k|    if (_PyPegen_is_memoized(p, bitwise_and_type, &_res)) {
  ------------------
  |  |  214|  9.80k|#define bitwise_and_type 1125  // Left-recursive
  ------------------
  |  Branch (13378:9): [True: 6.76k, False: 3.04k]
  ------------------
13379|  6.76k|        p->level--;
13380|  6.76k|        return _res;
13381|  6.76k|    }
13382|  3.04k|    int _mark = p->mark;
13383|  3.04k|    int _resmark = p->mark;
13384|  3.04k|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, bitwise_and_type);
  ------------------
  |  |  214|  3.04k|#define bitwise_and_type 1125  // Left-recursive
  ------------------
13385|  3.04k|    if (_memo == NULL) {
  ------------------
  |  Branch (13385:9): [True: 0, False: 3.04k]
  ------------------
13386|      0|        p->level--;
13387|      0|        return NULL;
13388|      0|    }
13389|  4.05k|    while (1) {
  ------------------
  |  Branch (13389:12): [True: 4.05k, Folded]
  ------------------
13390|  4.05k|        _memo->node = _res;
13391|  4.05k|        _memo->mark = p->mark;
13392|  4.05k|        p->mark = _mark;
13393|  4.05k|        void *_raw = bitwise_and_raw(p);
13394|  4.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (13394:13): [True: 490, False: 3.56k]
  ------------------
13395|    490|            p->level--;
13396|    490|            return NULL;
13397|    490|        }
13398|  3.56k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13398:13): [True: 1.54k, False: 2.02k]
  |  Branch (13398:29): [True: 1.01k, False: 1.01k]
  ------------------
13399|  2.55k|            break;
13400|  1.01k|        _resmark = p->mark;
13401|  1.01k|        _res = _raw;
13402|  1.01k|    }
13403|  2.55k|    p->mark = _resmark;
13404|  2.55k|    p->level--;
13405|  2.55k|    return _res;
13406|  3.04k|}
_PyPegen_sum_rule:
13681|  11.5k|{
13682|  11.5k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  23.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13682:9): [True: 0, False: 11.5k]
  |  Branch (13682:35): [True: 0, False: 11.5k]
  ------------------
13683|      0|        _Pypegen_stack_overflow(p);
13684|      0|    }
13685|  11.5k|    expr_ty _res = NULL;
13686|  11.5k|    if (_PyPegen_is_memoized(p, sum_type, &_res)) {
  ------------------
  |  |  216|  11.5k|#define sum_type 1127  // Left-recursive
  ------------------
  |  Branch (13686:9): [True: 8.49k, False: 3.04k]
  ------------------
13687|  8.49k|        p->level--;
13688|  8.49k|        return _res;
13689|  8.49k|    }
13690|  3.04k|    int _mark = p->mark;
13691|  3.04k|    int _resmark = p->mark;
13692|  3.04k|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, sum_type);
  ------------------
  |  |  216|  3.04k|#define sum_type 1127  // Left-recursive
  ------------------
13693|  3.04k|    if (_memo == NULL) {
  ------------------
  |  Branch (13693:9): [True: 0, False: 3.04k]
  ------------------
13694|      0|        p->level--;
13695|      0|        return NULL;
13696|      0|    }
13697|  4.08k|    while (1) {
  ------------------
  |  Branch (13697:12): [True: 4.08k, Folded]
  ------------------
13698|  4.08k|        _memo->node = _res;
13699|  4.08k|        _memo->mark = p->mark;
13700|  4.08k|        p->mark = _mark;
13701|  4.08k|        void *_raw = sum_raw(p);
13702|  4.08k|        if (p->error_indicator) {
  ------------------
  |  Branch (13702:13): [True: 490, False: 3.59k]
  ------------------
13703|    490|            p->level--;
13704|    490|            return NULL;
13705|    490|        }
13706|  3.59k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13706:13): [True: 1.54k, False: 2.04k]
  |  Branch (13706:29): [True: 1.01k, False: 1.03k]
  ------------------
13707|  2.55k|            break;
13708|  1.03k|        _resmark = p->mark;
13709|  1.03k|        _res = _raw;
13710|  1.03k|    }
13711|  2.55k|    p->mark = _resmark;
13712|  2.55k|    p->level--;
13713|  2.55k|    return _res;
13714|  3.04k|}
_PyPegen_factor_rule:
14151|  4.52k|{
14152|  4.52k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  9.04k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14152:9): [True: 0, False: 4.52k]
  |  Branch (14152:35): [True: 0, False: 4.52k]
  ------------------
14153|      0|        _Pypegen_stack_overflow(p);
14154|      0|    }
14155|  4.52k|    if (p->error_indicator) {
  ------------------
  |  Branch (14155:9): [True: 0, False: 4.52k]
  ------------------
14156|      0|        p->level--;
14157|      0|        return NULL;
14158|      0|    }
14159|  4.52k|    expr_ty _res = NULL;
14160|  4.52k|    if (_PyPegen_is_memoized(p, factor_type, &_res)) {
  ------------------
  |  |  218|  4.52k|#define factor_type 1129
  ------------------
  |  Branch (14160:9): [True: 1.07k, False: 3.44k]
  ------------------
14161|  1.07k|        p->level--;
14162|  1.07k|        return _res;
14163|  1.07k|    }
14164|  3.44k|    int _mark = p->mark;
14165|  3.44k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14165:9): [True: 0, False: 3.44k]
  |  Branch (14165:31): [True: 0, False: 0]
  ------------------
14166|      0|        p->error_indicator = 1;
14167|      0|        p->level--;
14168|      0|        return NULL;
14169|      0|    }
14170|  3.44k|    int _start_lineno = p->tokens[_mark]->lineno;
14171|  3.44k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.44k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.44k]
  |  |  ------------------
  ------------------
14172|  3.44k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14173|  3.44k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.44k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.44k]
  |  |  ------------------
  ------------------
14174|  3.44k|    { // '+' factor
14175|  3.44k|        if (p->error_indicator) {
  ------------------
  |  Branch (14175:13): [True: 0, False: 3.44k]
  ------------------
14176|      0|            p->level--;
14177|      0|            return NULL;
14178|      0|        }
14179|  3.44k|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+' factor"));
14180|  3.44k|        Token * _literal;
14181|  3.44k|        expr_ty a;
14182|  3.44k|        if (
14183|  3.44k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (14183:13): [True: 8, False: 3.43k]
  ------------------
14184|      8|            &&
14185|      8|            (a = factor_rule(p))  // factor
  ------------------
  |  |  487|      8|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14185:13): [True: 8, False: 0]
  ------------------
14186|  3.44k|        )
14187|      8|        {
14188|      8|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+' factor"));
14189|      8|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14190|      8|            if (_token == NULL) {
  ------------------
  |  Branch (14190:17): [True: 0, False: 8]
  ------------------
14191|      0|                p->level--;
14192|      0|                return NULL;
14193|      0|            }
14194|      8|            int _end_lineno = _token->end_lineno;
14195|      8|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      8|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 8]
  |  |  ------------------
  ------------------
14196|      8|            int _end_col_offset = _token->end_col_offset;
14197|      8|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      8|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 8]
  |  |  ------------------
  ------------------
14198|      8|            _res = _PyAST_UnaryOp ( UAdd , a , EXTRA );
  ------------------
  |  |  316|      8|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14199|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14199:18): [True: 0, False: 8]
  |  Branch (14199:34): [True: 0, False: 8]
  |  Branch (14199:57): [True: 0, False: 0]
  ------------------
14200|      0|                p->error_indicator = 1;
14201|      0|                p->level--;
14202|      0|                return NULL;
14203|      0|            }
14204|      8|            goto done;
14205|      8|        }
14206|  3.43k|        p->mark = _mark;
14207|  3.43k|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14208|  3.43k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+' factor"));
14209|  3.43k|    }
14210|      0|    { // '-' factor
14211|  3.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (14211:13): [True: 0, False: 3.43k]
  ------------------
14212|      0|            p->level--;
14213|      0|            return NULL;
14214|      0|        }
14215|  3.43k|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-' factor"));
14216|  3.43k|        Token * _literal;
14217|  3.43k|        expr_ty a;
14218|  3.43k|        if (
14219|  3.43k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (14219:13): [True: 11, False: 3.42k]
  ------------------
14220|     11|            &&
14221|     11|            (a = factor_rule(p))  // factor
  ------------------
  |  |  487|     11|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14221:13): [True: 2, False: 9]
  ------------------
14222|  3.43k|        )
14223|      2|        {
14224|      2|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-' factor"));
14225|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14226|      2|            if (_token == NULL) {
  ------------------
  |  Branch (14226:17): [True: 0, False: 2]
  ------------------
14227|      0|                p->level--;
14228|      0|                return NULL;
14229|      0|            }
14230|      2|            int _end_lineno = _token->end_lineno;
14231|      2|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
14232|      2|            int _end_col_offset = _token->end_col_offset;
14233|      2|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
14234|      2|            _res = _PyAST_UnaryOp ( USub , a , EXTRA );
  ------------------
  |  |  316|      2|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14235|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14235:18): [True: 0, False: 2]
  |  Branch (14235:34): [True: 0, False: 2]
  |  Branch (14235:57): [True: 0, False: 0]
  ------------------
14236|      0|                p->error_indicator = 1;
14237|      0|                p->level--;
14238|      0|                return NULL;
14239|      0|            }
14240|      2|            goto done;
14241|      2|        }
14242|  3.43k|        p->mark = _mark;
14243|  3.43k|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14244|  3.43k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-' factor"));
14245|  3.43k|    }
14246|      0|    { // '~' factor
14247|  3.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (14247:13): [True: 0, False: 3.43k]
  ------------------
14248|      0|            p->level--;
14249|      0|            return NULL;
14250|      0|        }
14251|  3.43k|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'~' factor"));
14252|  3.43k|        Token * _literal;
14253|  3.43k|        expr_ty a;
14254|  3.43k|        if (
14255|  3.43k|            (_literal = _PyPegen_expect_token(p, 31))  // token='~'
  ------------------
  |  Branch (14255:13): [True: 0, False: 3.43k]
  ------------------
14256|      0|            &&
14257|      0|            (a = factor_rule(p))  // factor
  ------------------
  |  |  487|      0|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14257:13): [True: 0, False: 0]
  ------------------
14258|  3.43k|        )
14259|      0|        {
14260|      0|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'~' factor"));
14261|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14262|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14262:17): [True: 0, False: 0]
  ------------------
14263|      0|                p->level--;
14264|      0|                return NULL;
14265|      0|            }
14266|      0|            int _end_lineno = _token->end_lineno;
14267|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14268|      0|            int _end_col_offset = _token->end_col_offset;
14269|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14270|      0|            _res = _PyAST_UnaryOp ( Invert , a , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14271|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14271:18): [True: 0, False: 0]
  |  Branch (14271:34): [True: 0, False: 0]
  |  Branch (14271:57): [True: 0, False: 0]
  ------------------
14272|      0|                p->error_indicator = 1;
14273|      0|                p->level--;
14274|      0|                return NULL;
14275|      0|            }
14276|      0|            goto done;
14277|      0|        }
14278|  3.43k|        p->mark = _mark;
14279|  3.43k|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14280|  3.43k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'~' factor"));
14281|  3.43k|    }
14282|      0|    { // power
14283|  3.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (14283:13): [True: 0, False: 3.43k]
  ------------------
14284|      0|            p->level--;
14285|      0|            return NULL;
14286|      0|        }
14287|  3.43k|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "power"));
14288|  3.43k|        expr_ty power_var;
14289|  3.43k|        if (
14290|  3.43k|            (power_var = power_rule(p))  // power
  ------------------
  |  Branch (14290:13): [True: 1.36k, False: 2.06k]
  ------------------
14291|  3.43k|        )
14292|  1.36k|        {
14293|  1.36k|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "power"));
14294|  1.36k|            _res = power_var;
14295|  1.36k|            goto done;
14296|  1.36k|        }
14297|  2.06k|        p->mark = _mark;
14298|  2.06k|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14299|  2.06k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "power"));
14300|  2.06k|    }
14301|  2.06k|    if (p->call_invalid_rules) { // invalid_factor
  ------------------
  |  Branch (14301:9): [True: 1.02k, False: 1.03k]
  ------------------
14302|  1.02k|        if (p->error_indicator) {
  ------------------
  |  Branch (14302:13): [True: 447, False: 582]
  ------------------
14303|    447|            p->level--;
14304|    447|            return NULL;
14305|    447|        }
14306|    582|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_factor"));
14307|    582|        void *invalid_factor_var;
14308|    582|        if (
14309|    582|            (invalid_factor_var = invalid_factor_rule(p))  // invalid_factor
  ------------------
  |  |  653|    582|#define invalid_factor_rule _PyPegen_invalid_factor_rule
  ------------------
  |  Branch (14309:13): [True: 0, False: 582]
  ------------------
14310|    582|        )
14311|      0|        {
14312|      0|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_factor"));
14313|      0|            _res = invalid_factor_var;
14314|      0|            goto done;
14315|      0|        }
14316|    582|        p->mark = _mark;
14317|    582|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14318|    582|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_factor"));
14319|    582|    }
14320|  1.61k|    _res = NULL;
14321|  2.99k|  done:
14322|  2.99k|    _PyPegen_insert_memo(p, _mark, factor_type, _res);
  ------------------
  |  |  218|  2.99k|#define factor_type 1129
  ------------------
14323|  2.99k|    p->level--;
14324|  2.99k|    return _res;
14325|  1.61k|}
_PyPegen_lambdef_rule:
15302|  1.66k|{
15303|  1.66k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.33k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15303:9): [True: 0, False: 1.66k]
  |  Branch (15303:35): [True: 0, False: 1.66k]
  ------------------
15304|      0|        _Pypegen_stack_overflow(p);
15305|      0|    }
15306|  1.66k|    if (p->error_indicator) {
  ------------------
  |  Branch (15306:9): [True: 0, False: 1.66k]
  ------------------
15307|      0|        p->level--;
15308|      0|        return NULL;
15309|      0|    }
15310|  1.66k|    expr_ty _res = NULL;
15311|  1.66k|    int _mark = p->mark;
15312|  1.66k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (15312:9): [True: 0, False: 1.66k]
  |  Branch (15312:31): [True: 0, False: 0]
  ------------------
15313|      0|        p->error_indicator = 1;
15314|      0|        p->level--;
15315|      0|        return NULL;
15316|      0|    }
15317|  1.66k|    int _start_lineno = p->tokens[_mark]->lineno;
15318|  1.66k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.66k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.66k]
  |  |  ------------------
  ------------------
15319|  1.66k|    int _start_col_offset = p->tokens[_mark]->col_offset;
15320|  1.66k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.66k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.66k]
  |  |  ------------------
  ------------------
15321|  1.66k|    { // 'lambda' lambda_params? ':' expression
15322|  1.66k|        if (p->error_indicator) {
  ------------------
  |  Branch (15322:13): [True: 0, False: 1.66k]
  ------------------
15323|      0|            p->level--;
15324|      0|            return NULL;
15325|      0|        }
15326|  1.66k|        D(fprintf(stderr, "%*c> lambdef[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15327|  1.66k|        Token * _keyword;
15328|  1.66k|        Token * _literal;
15329|  1.66k|        void *a;
15330|  1.66k|        expr_ty b;
15331|  1.66k|        if (
15332|  1.66k|            (_keyword = _PyPegen_expect_token(p, 534))  // token='lambda'
  ------------------
  |  Branch (15332:13): [True: 17, False: 1.64k]
  ------------------
15333|     17|            &&
15334|     17|            (a = lambda_params_rule(p), !p->error_indicator)  // lambda_params?
  ------------------
  |  |  491|     17|#define lambda_params_rule _PyPegen_lambda_params_rule
  ------------------
  |  Branch (15334:13): [True: 17, False: 0]
  ------------------
15335|     17|            &&
15336|     17|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (15336:13): [True: 2, False: 15]
  ------------------
15337|      2|            &&
15338|      2|            (b = expression_rule(p))  // expression
  ------------------
  |  |  461|      2|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (15338:13): [True: 2, False: 0]
  ------------------
15339|  1.66k|        )
15340|      2|        {
15341|      2|            D(fprintf(stderr, "%*c+ lambdef[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15342|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15343|      2|            if (_token == NULL) {
  ------------------
  |  Branch (15343:17): [True: 0, False: 2]
  ------------------
15344|      0|                p->level--;
15345|      0|                return NULL;
15346|      0|            }
15347|      2|            int _end_lineno = _token->end_lineno;
15348|      2|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
15349|      2|            int _end_col_offset = _token->end_col_offset;
15350|      2|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
15351|      2|            _res = _PyAST_Lambda ( ( a ) ? a : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , EXTRA );
  ------------------
  |  |  280|      2|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Lambda ( ( a ) ? a : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , EXTRA );
  ------------------
  |  |  316|      2|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (15351:36): [True: 2, False: 0]
  ------------------
15352|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15352:18): [True: 0, False: 2]
  |  Branch (15352:34): [True: 0, False: 2]
  |  Branch (15352:57): [True: 0, False: 0]
  ------------------
15353|      0|                p->error_indicator = 1;
15354|      0|                p->level--;
15355|      0|                return NULL;
15356|      0|            }
15357|      2|            goto done;
15358|      2|        }
15359|  1.66k|        p->mark = _mark;
15360|  1.66k|        D(fprintf(stderr, "%*c%s lambdef[%d-%d]: %s failed!\n", p->level, ' ',
15361|  1.66k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15362|  1.66k|    }
15363|  1.66k|    _res = NULL;
15364|  1.66k|  done:
15365|  1.66k|    p->level--;
15366|  1.66k|    return _res;
15367|  1.66k|}
_PyPegen_lambda_params_rule:
15372|     32|{
15373|     32|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     64|#  define MAXSTACK 6000
  ------------------
  |  Branch (15373:9): [True: 0, False: 32]
  |  Branch (15373:35): [True: 0, False: 32]
  ------------------
15374|      0|        _Pypegen_stack_overflow(p);
15375|      0|    }
15376|     32|    if (p->error_indicator) {
  ------------------
  |  Branch (15376:9): [True: 0, False: 32]
  ------------------
15377|      0|        p->level--;
15378|      0|        return NULL;
15379|      0|    }
15380|     32|    arguments_ty _res = NULL;
15381|     32|    int _mark = p->mark;
15382|     32|    if (p->call_invalid_rules) { // invalid_lambda_parameters
  ------------------
  |  Branch (15382:9): [True: 22, False: 10]
  ------------------
15383|     22|        if (p->error_indicator) {
  ------------------
  |  Branch (15383:13): [True: 0, False: 22]
  ------------------
15384|      0|            p->level--;
15385|      0|            return NULL;
15386|      0|        }
15387|     22|        D(fprintf(stderr, "%*c> lambda_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_parameters"));
15388|     22|        void *invalid_lambda_parameters_var;
15389|     22|        if (
15390|     22|            (invalid_lambda_parameters_var = invalid_lambda_parameters_rule(p))  // invalid_lambda_parameters
  ------------------
  |  |  571|     22|#define invalid_lambda_parameters_rule _PyPegen_invalid_lambda_parameters_rule
  ------------------
  |  Branch (15390:13): [True: 0, False: 22]
  ------------------
15391|     22|        )
15392|      0|        {
15393|      0|            D(fprintf(stderr, "%*c+ lambda_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_lambda_parameters"));
15394|      0|            _res = invalid_lambda_parameters_var;
15395|      0|            goto done;
15396|      0|        }
15397|     22|        p->mark = _mark;
15398|     22|        D(fprintf(stderr, "%*c%s lambda_params[%d-%d]: %s failed!\n", p->level, ' ',
15399|     22|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_parameters"));
15400|     22|    }
15401|     32|    { // lambda_parameters
15402|     32|        if (p->error_indicator) {
  ------------------
  |  Branch (15402:13): [True: 1, False: 31]
  ------------------
15403|      1|            p->level--;
15404|      1|            return NULL;
15405|      1|        }
15406|     31|        D(fprintf(stderr, "%*c> lambda_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_parameters"));
15407|     31|        arguments_ty lambda_parameters_var;
15408|     31|        if (
15409|     31|            (lambda_parameters_var = lambda_parameters_rule(p))  // lambda_parameters
  ------------------
  |  Branch (15409:13): [True: 31, False: 0]
  ------------------
15410|     31|        )
15411|     31|        {
15412|     31|            D(fprintf(stderr, "%*c+ lambda_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_parameters"));
15413|     31|            _res = lambda_parameters_var;
15414|     31|            goto done;
15415|     31|        }
15416|      0|        p->mark = _mark;
15417|      0|        D(fprintf(stderr, "%*c%s lambda_params[%d-%d]: %s failed!\n", p->level, ' ',
15418|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_parameters"));
15419|      0|    }
15420|      0|    _res = NULL;
15421|     31|  done:
15422|     31|    p->level--;
15423|     31|    return _res;
15424|      0|}
_PyPegen_lambda_slash_no_default_rule:
15599|     95|{
15600|     95|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    190|#  define MAXSTACK 6000
  ------------------
  |  Branch (15600:9): [True: 0, False: 95]
  |  Branch (15600:35): [True: 0, False: 95]
  ------------------
15601|      0|        _Pypegen_stack_overflow(p);
15602|      0|    }
15603|     95|    if (p->error_indicator) {
  ------------------
  |  Branch (15603:9): [True: 0, False: 95]
  ------------------
15604|      0|        p->level--;
15605|      0|        return NULL;
15606|      0|    }
15607|     95|    asdl_arg_seq* _res = NULL;
15608|     95|    int _mark = p->mark;
15609|     95|    { // lambda_param_no_default+ '/' ','
15610|     95|        if (p->error_indicator) {
  ------------------
  |  Branch (15610:13): [True: 0, False: 95]
  ------------------
15611|      0|            p->level--;
15612|      0|            return NULL;
15613|      0|        }
15614|     95|        D(fprintf(stderr, "%*c> lambda_slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' ','"));
15615|     95|        Token * _literal;
15616|     95|        Token * _literal_1;
15617|     95|        asdl_arg_seq* a;
15618|     95|        if (
15619|     95|            (a = (asdl_arg_seq*)_loop1_72_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (15619:13): [True: 95, False: 0]
  ------------------
15620|     95|            &&
15621|     95|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (15621:13): [True: 0, False: 95]
  ------------------
15622|      0|            &&
15623|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (15623:13): [True: 0, False: 0]
  ------------------
15624|     95|        )
15625|      0|        {
15626|      0|            D(fprintf(stderr, "%*c+ lambda_slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' ','"));
15627|      0|            _res = a;
15628|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15628:18): [True: 0, False: 0]
  |  Branch (15628:34): [True: 0, False: 0]
  |  Branch (15628:57): [True: 0, False: 0]
  ------------------
15629|      0|                p->error_indicator = 1;
15630|      0|                p->level--;
15631|      0|                return NULL;
15632|      0|            }
15633|      0|            goto done;
15634|      0|        }
15635|     95|        p->mark = _mark;
15636|     95|        D(fprintf(stderr, "%*c%s lambda_slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
15637|     95|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ '/' ','"));
15638|     95|    }
15639|      0|    { // lambda_param_no_default+ '/' &':'
15640|     95|        if (p->error_indicator) {
  ------------------
  |  Branch (15640:13): [True: 0, False: 95]
  ------------------
15641|      0|            p->level--;
15642|      0|            return NULL;
15643|      0|        }
15644|     95|        D(fprintf(stderr, "%*c> lambda_slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
15645|     95|        Token * _literal;
15646|     95|        asdl_arg_seq* a;
15647|     95|        if (
15648|     95|            (a = (asdl_arg_seq*)_loop1_72_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (15648:13): [True: 95, False: 0]
  ------------------
15649|     95|            &&
15650|     95|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (15650:13): [True: 0, False: 95]
  ------------------
15651|      0|            &&
15652|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (15652:13): [True: 0, False: 0]
  ------------------
15653|     95|        )
15654|      0|        {
15655|      0|            D(fprintf(stderr, "%*c+ lambda_slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
15656|      0|            _res = a;
15657|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15657:18): [True: 0, False: 0]
  |  Branch (15657:34): [True: 0, False: 0]
  |  Branch (15657:57): [True: 0, False: 0]
  ------------------
15658|      0|                p->error_indicator = 1;
15659|      0|                p->level--;
15660|      0|                return NULL;
15661|      0|            }
15662|      0|            goto done;
15663|      0|        }
15664|     95|        p->mark = _mark;
15665|     95|        D(fprintf(stderr, "%*c%s lambda_slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
15666|     95|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
15667|     95|    }
15668|     95|    _res = NULL;
15669|     95|  done:
15670|     95|    p->level--;
15671|     95|    return _res;
15672|     95|}
_PyPegen_lambda_slash_with_default_rule:
15679|     95|{
15680|     95|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    190|#  define MAXSTACK 6000
  ------------------
  |  Branch (15680:9): [True: 0, False: 95]
  |  Branch (15680:35): [True: 0, False: 95]
  ------------------
15681|      0|        _Pypegen_stack_overflow(p);
15682|      0|    }
15683|     95|    if (p->error_indicator) {
  ------------------
  |  Branch (15683:9): [True: 0, False: 95]
  ------------------
15684|      0|        p->level--;
15685|      0|        return NULL;
15686|      0|    }
15687|     95|    SlashWithDefault* _res = NULL;
15688|     95|    int _mark = p->mark;
15689|     95|    { // lambda_param_no_default* lambda_param_with_default+ '/' ','
15690|     95|        if (p->error_indicator) {
  ------------------
  |  Branch (15690:13): [True: 0, False: 95]
  ------------------
15691|      0|            p->level--;
15692|      0|            return NULL;
15693|      0|        }
15694|     95|        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+ '/' ','"));
15695|     95|        Token * _literal;
15696|     95|        Token * _literal_1;
15697|     95|        asdl_seq * a;
15698|     95|        asdl_seq * b;
15699|     95|        if (
15700|     95|            (a = _loop0_70_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (15700:13): [True: 95, False: 0]
  ------------------
15701|     95|            &&
15702|     95|            (b = _loop1_73_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (15702:13): [True: 0, False: 95]
  ------------------
15703|      0|            &&
15704|      0|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (15704:13): [True: 0, False: 0]
  ------------------
15705|      0|            &&
15706|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (15706:13): [True: 0, False: 0]
  ------------------
15707|     95|        )
15708|      0|        {
15709|      0|            D(fprintf(stderr, "%*c+ lambda_slash_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' ','"));
15710|      0|            _res = _PyPegen_slash_with_default ( p , ( asdl_arg_seq* ) a , b );
15711|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15711:18): [True: 0, False: 0]
  |  Branch (15711:34): [True: 0, False: 0]
  |  Branch (15711:57): [True: 0, False: 0]
  ------------------
15712|      0|                p->error_indicator = 1;
15713|      0|                p->level--;
15714|      0|                return NULL;
15715|      0|            }
15716|      0|            goto done;
15717|      0|        }
15718|     95|        p->mark = _mark;
15719|     95|        D(fprintf(stderr, "%*c%s lambda_slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
15720|     95|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' ','"));
15721|     95|    }
15722|      0|    { // lambda_param_no_default* lambda_param_with_default+ '/' &':'
15723|     95|        if (p->error_indicator) {
  ------------------
  |  Branch (15723:13): [True: 1, False: 94]
  ------------------
15724|      1|            p->level--;
15725|      1|            return NULL;
15726|      1|        }
15727|     94|        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+ '/' &':'"));
15728|     94|        Token * _literal;
15729|     94|        asdl_seq * a;
15730|     94|        asdl_seq * b;
15731|     94|        if (
15732|     94|            (a = _loop0_70_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (15732:13): [True: 94, False: 0]
  ------------------
15733|     94|            &&
15734|     94|            (b = _loop1_73_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (15734:13): [True: 0, False: 94]
  ------------------
15735|      0|            &&
15736|      0|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (15736:13): [True: 0, False: 0]
  ------------------
15737|      0|            &&
15738|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (15738:13): [True: 0, False: 0]
  ------------------
15739|     94|        )
15740|      0|        {
15741|      0|            D(fprintf(stderr, "%*c+ lambda_slash_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' &':'"));
15742|      0|            _res = _PyPegen_slash_with_default ( p , ( asdl_arg_seq* ) a , b );
15743|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15743:18): [True: 0, False: 0]
  |  Branch (15743:34): [True: 0, False: 0]
  |  Branch (15743:57): [True: 0, False: 0]
  ------------------
15744|      0|                p->error_indicator = 1;
15745|      0|                p->level--;
15746|      0|                return NULL;
15747|      0|            }
15748|      0|            goto done;
15749|      0|        }
15750|     94|        p->mark = _mark;
15751|     94|        D(fprintf(stderr, "%*c%s lambda_slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
15752|     94|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' &':'"));
15753|     94|    }
15754|     94|    _res = NULL;
15755|     94|  done:
15756|     94|    p->level--;
15757|     94|    return _res;
15758|     94|}
_PyPegen_lambda_param_no_default_rule:
15960|  82.1M|{
15961|  82.1M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   164M|#  define MAXSTACK 6000
  ------------------
  |  Branch (15961:9): [True: 0, False: 82.1M]
  |  Branch (15961:35): [True: 0, False: 82.1M]
  ------------------
15962|      0|        _Pypegen_stack_overflow(p);
15963|      0|    }
15964|  82.1M|    if (p->error_indicator) {
  ------------------
  |  Branch (15964:9): [True: 0, False: 82.1M]
  ------------------
15965|      0|        p->level--;
15966|      0|        return NULL;
15967|      0|    }
15968|  82.1M|    arg_ty _res = NULL;
15969|  82.1M|    int _mark = p->mark;
15970|  82.1M|    { // lambda_param ','
15971|  82.1M|        if (p->error_indicator) {
  ------------------
  |  Branch (15971:13): [True: 0, False: 82.1M]
  ------------------
15972|      0|            p->level--;
15973|      0|            return NULL;
15974|      0|        }
15975|  82.1M|        D(fprintf(stderr, "%*c> lambda_param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param ','"));
15976|  82.1M|        Token * _literal;
15977|  82.1M|        arg_ty a;
15978|  82.1M|        if (
15979|  82.1M|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  503|  82.1M|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (15979:13): [True: 82.1M, False: 196]
  ------------------
15980|  82.1M|            &&
15981|  82.1M|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (15981:13): [True: 82.1M, False: 266]
  ------------------
15982|  82.1M|        )
15983|  82.1M|        {
15984|  82.1M|            D(fprintf(stderr, "%*c+ lambda_param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param ','"));
15985|  82.1M|            _res = a;
15986|  82.1M|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15986:18): [True: 0, False: 82.1M]
  |  Branch (15986:34): [True: 0, False: 82.1M]
  |  Branch (15986:57): [True: 0, False: 0]
  ------------------
15987|      0|                p->error_indicator = 1;
15988|      0|                p->level--;
15989|      0|                return NULL;
15990|      0|            }
15991|  82.1M|            goto done;
15992|  82.1M|        }
15993|    462|        p->mark = _mark;
15994|    462|        D(fprintf(stderr, "%*c%s lambda_param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
15995|    462|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param ','"));
15996|    462|    }
15997|      0|    { // lambda_param &':'
15998|    462|        if (p->error_indicator) {
  ------------------
  |  Branch (15998:13): [True: 0, False: 462]
  ------------------
15999|      0|            p->level--;
16000|      0|            return NULL;
16001|      0|        }
16002|    462|        D(fprintf(stderr, "%*c> lambda_param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param &':'"));
16003|    462|        arg_ty a;
16004|    462|        if (
16005|    462|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  503|    462|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (16005:13): [True: 266, False: 196]
  ------------------
16006|    266|            &&
16007|    266|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16007:13): [True: 10, False: 256]
  ------------------
16008|    462|        )
16009|     10|        {
16010|     10|            D(fprintf(stderr, "%*c+ lambda_param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param &':'"));
16011|     10|            _res = a;
16012|     10|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16012:18): [True: 0, False: 10]
  |  Branch (16012:34): [True: 0, False: 10]
  |  Branch (16012:57): [True: 0, False: 0]
  ------------------
16013|      0|                p->error_indicator = 1;
16014|      0|                p->level--;
16015|      0|                return NULL;
16016|      0|            }
16017|     10|            goto done;
16018|     10|        }
16019|    452|        p->mark = _mark;
16020|    452|        D(fprintf(stderr, "%*c%s lambda_param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
16021|    452|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param &':'"));
16022|    452|    }
16023|    452|    _res = NULL;
16024|  82.1M|  done:
16025|  82.1M|    p->level--;
16026|  82.1M|    return _res;
16027|    452|}
_PyPegen_lambda_param_with_default_rule:
16032|    241|{
16033|    241|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    482|#  define MAXSTACK 6000
  ------------------
  |  Branch (16033:9): [True: 0, False: 241]
  |  Branch (16033:35): [True: 0, False: 241]
  ------------------
16034|      0|        _Pypegen_stack_overflow(p);
16035|      0|    }
16036|    241|    if (p->error_indicator) {
  ------------------
  |  Branch (16036:9): [True: 0, False: 241]
  ------------------
16037|      0|        p->level--;
16038|      0|        return NULL;
16039|      0|    }
16040|    241|    NameDefaultPair* _res = NULL;
16041|    241|    int _mark = p->mark;
16042|    241|    { // lambda_param default ','
16043|    241|        if (p->error_indicator) {
  ------------------
  |  Branch (16043:13): [True: 0, False: 241]
  ------------------
16044|      0|            p->level--;
16045|      0|            return NULL;
16046|      0|        }
16047|    241|        D(fprintf(stderr, "%*c> lambda_param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default ','"));
16048|    241|        Token * _literal;
16049|    241|        arg_ty a;
16050|    241|        expr_ty c;
16051|    241|        if (
16052|    241|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  503|    241|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (16052:13): [True: 136, False: 105]
  ------------------
16053|    136|            &&
16054|    136|            (c = default_rule(p))  // default
  ------------------
  |  Branch (16054:13): [True: 0, False: 136]
  ------------------
16055|      0|            &&
16056|      0|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16056:13): [True: 0, False: 0]
  ------------------
16057|    241|        )
16058|      0|        {
16059|      0|            D(fprintf(stderr, "%*c+ lambda_param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default ','"));
16060|      0|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16061|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16061:18): [True: 0, False: 0]
  |  Branch (16061:34): [True: 0, False: 0]
  |  Branch (16061:57): [True: 0, False: 0]
  ------------------
16062|      0|                p->error_indicator = 1;
16063|      0|                p->level--;
16064|      0|                return NULL;
16065|      0|            }
16066|      0|            goto done;
16067|      0|        }
16068|    241|        p->mark = _mark;
16069|    241|        D(fprintf(stderr, "%*c%s lambda_param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16070|    241|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default ','"));
16071|    241|    }
16072|      0|    { // lambda_param default &':'
16073|    241|        if (p->error_indicator) {
  ------------------
  |  Branch (16073:13): [True: 1, False: 240]
  ------------------
16074|      1|            p->level--;
16075|      1|            return NULL;
16076|      1|        }
16077|    240|        D(fprintf(stderr, "%*c> lambda_param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default &':'"));
16078|    240|        arg_ty a;
16079|    240|        expr_ty c;
16080|    240|        if (
16081|    240|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  503|    240|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (16081:13): [True: 135, False: 105]
  ------------------
16082|    135|            &&
16083|    135|            (c = default_rule(p))  // default
  ------------------
  |  Branch (16083:13): [True: 0, False: 135]
  ------------------
16084|      0|            &&
16085|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16085:13): [True: 0, False: 0]
  ------------------
16086|    240|        )
16087|      0|        {
16088|      0|            D(fprintf(stderr, "%*c+ lambda_param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default &':'"));
16089|      0|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16090|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16090:18): [True: 0, False: 0]
  |  Branch (16090:34): [True: 0, False: 0]
  |  Branch (16090:57): [True: 0, False: 0]
  ------------------
16091|      0|                p->error_indicator = 1;
16092|      0|                p->level--;
16093|      0|                return NULL;
16094|      0|            }
16095|      0|            goto done;
16096|      0|        }
16097|    240|        p->mark = _mark;
16098|    240|        D(fprintf(stderr, "%*c%s lambda_param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16099|    240|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default &':'"));
16100|    240|    }
16101|    240|    _res = NULL;
16102|    240|  done:
16103|    240|    p->level--;
16104|    240|    return _res;
16105|    240|}
_PyPegen_lambda_param_maybe_default_rule:
16110|  8.76M|{
16111|  8.76M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  17.5M|#  define MAXSTACK 6000
  ------------------
  |  Branch (16111:9): [True: 0, False: 8.76M]
  |  Branch (16111:35): [True: 0, False: 8.76M]
  ------------------
16112|      0|        _Pypegen_stack_overflow(p);
16113|      0|    }
16114|  8.76M|    if (p->error_indicator) {
  ------------------
  |  Branch (16114:9): [True: 0, False: 8.76M]
  ------------------
16115|      0|        p->level--;
16116|      0|        return NULL;
16117|      0|    }
16118|  8.76M|    NameDefaultPair* _res = NULL;
16119|  8.76M|    int _mark = p->mark;
16120|  8.76M|    { // lambda_param default? ','
16121|  8.76M|        if (p->error_indicator) {
  ------------------
  |  Branch (16121:13): [True: 0, False: 8.76M]
  ------------------
16122|      0|            p->level--;
16123|      0|            return NULL;
16124|      0|        }
16125|  8.76M|        D(fprintf(stderr, "%*c> lambda_param_maybe_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default? ','"));
16126|  8.76M|        Token * _literal;
16127|  8.76M|        arg_ty a;
16128|  8.76M|        void *c;
16129|  8.76M|        if (
16130|  8.76M|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  503|  8.76M|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (16130:13): [True: 8.76M, False: 18]
  ------------------
16131|  8.76M|            &&
16132|  8.76M|            (c = default_rule(p), !p->error_indicator)  // default?
  ------------------
  |  Branch (16132:13): [True: 8.76M, False: 0]
  ------------------
16133|  8.76M|            &&
16134|  8.76M|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16134:13): [True: 8.76M, False: 24]
  ------------------
16135|  8.76M|        )
16136|  8.76M|        {
16137|  8.76M|            D(fprintf(stderr, "%*c+ lambda_param_maybe_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default? ','"));
16138|  8.76M|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16139|  8.76M|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16139:18): [True: 0, False: 8.76M]
  |  Branch (16139:34): [True: 0, False: 8.76M]
  |  Branch (16139:57): [True: 0, False: 0]
  ------------------
16140|      0|                p->error_indicator = 1;
16141|      0|                p->level--;
16142|      0|                return NULL;
16143|      0|            }
16144|  8.76M|            goto done;
16145|  8.76M|        }
16146|     42|        p->mark = _mark;
16147|     42|        D(fprintf(stderr, "%*c%s lambda_param_maybe_default[%d-%d]: %s failed!\n", p->level, ' ',
16148|     42|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default? ','"));
16149|     42|    }
16150|      0|    { // lambda_param default? &':'
16151|     42|        if (p->error_indicator) {
  ------------------
  |  Branch (16151:13): [True: 0, False: 42]
  ------------------
16152|      0|            p->level--;
16153|      0|            return NULL;
16154|      0|        }
16155|     42|        D(fprintf(stderr, "%*c> lambda_param_maybe_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default? &':'"));
16156|     42|        arg_ty a;
16157|     42|        void *c;
16158|     42|        if (
16159|     42|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  503|     42|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (16159:13): [True: 24, False: 18]
  ------------------
16160|     24|            &&
16161|     24|            (c = default_rule(p), !p->error_indicator)  // default?
  ------------------
  |  Branch (16161:13): [True: 24, False: 0]
  ------------------
16162|     24|            &&
16163|     24|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16163:13): [True: 0, False: 24]
  ------------------
16164|     42|        )
16165|      0|        {
16166|      0|            D(fprintf(stderr, "%*c+ lambda_param_maybe_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default? &':'"));
16167|      0|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16168|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16168:18): [True: 0, False: 0]
  |  Branch (16168:34): [True: 0, False: 0]
  |  Branch (16168:57): [True: 0, False: 0]
  ------------------
16169|      0|                p->error_indicator = 1;
16170|      0|                p->level--;
16171|      0|                return NULL;
16172|      0|            }
16173|      0|            goto done;
16174|      0|        }
16175|     42|        p->mark = _mark;
16176|     42|        D(fprintf(stderr, "%*c%s lambda_param_maybe_default[%d-%d]: %s failed!\n", p->level, ' ',
16177|     42|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default? &':'"));
16178|     42|    }
16179|     42|    _res = NULL;
16180|  8.76M|  done:
16181|  8.76M|    p->level--;
16182|  8.76M|    return _res;
16183|     42|}
_PyPegen_lambda_param_rule:
16188|  90.9M|{
16189|  90.9M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   181M|#  define MAXSTACK 6000
  ------------------
  |  Branch (16189:9): [True: 0, False: 90.9M]
  |  Branch (16189:35): [True: 0, False: 90.9M]
  ------------------
16190|      0|        _Pypegen_stack_overflow(p);
16191|      0|    }
16192|  90.9M|    if (p->error_indicator) {
  ------------------
  |  Branch (16192:9): [True: 0, False: 90.9M]
  ------------------
16193|      0|        p->level--;
16194|      0|        return NULL;
16195|      0|    }
16196|  90.9M|    arg_ty _res = NULL;
16197|  90.9M|    int _mark = p->mark;
16198|  90.9M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (16198:9): [True: 1.50M, False: 89.4M]
  |  Branch (16198:31): [True: 0, False: 1.50M]
  ------------------
16199|      0|        p->error_indicator = 1;
16200|      0|        p->level--;
16201|      0|        return NULL;
16202|      0|    }
16203|  90.9M|    int _start_lineno = p->tokens[_mark]->lineno;
16204|  90.9M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  90.9M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 90.9M]
  |  |  ------------------
  ------------------
16205|  90.9M|    int _start_col_offset = p->tokens[_mark]->col_offset;
16206|  90.9M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  90.9M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 90.9M]
  |  |  ------------------
  ------------------
16207|  90.9M|    { // NAME
16208|  90.9M|        if (p->error_indicator) {
  ------------------
  |  Branch (16208:13): [True: 0, False: 90.9M]
  ------------------
16209|      0|            p->level--;
16210|      0|            return NULL;
16211|      0|        }
16212|  90.9M|        D(fprintf(stderr, "%*c> lambda_param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
16213|  90.9M|        expr_ty a;
16214|  90.9M|        if (
16215|  90.9M|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (16215:13): [True: 90.9M, False: 638]
  ------------------
16216|  90.9M|        )
16217|  90.9M|        {
16218|  90.9M|            D(fprintf(stderr, "%*c+ lambda_param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
16219|  90.9M|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
16220|  90.9M|            if (_token == NULL) {
  ------------------
  |  Branch (16220:17): [True: 0, False: 90.9M]
  ------------------
16221|      0|                p->level--;
16222|      0|                return NULL;
16223|      0|            }
16224|  90.9M|            int _end_lineno = _token->end_lineno;
16225|  90.9M|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  90.9M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 90.9M]
  |  |  ------------------
  ------------------
16226|  90.9M|            int _end_col_offset = _token->end_col_offset;
16227|  90.9M|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  90.9M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 90.9M]
  |  |  ------------------
  ------------------
16228|  90.9M|            _res = _PyAST_arg ( a -> v . Name . id , NULL , NULL , EXTRA );
  ------------------
  |  |  316|  90.9M|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
16229|  90.9M|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16229:18): [True: 0, False: 90.9M]
  |  Branch (16229:34): [True: 0, False: 90.9M]
  |  Branch (16229:57): [True: 0, False: 0]
  ------------------
16230|      0|                p->error_indicator = 1;
16231|      0|                p->level--;
16232|      0|                return NULL;
16233|      0|            }
16234|  90.9M|            goto done;
16235|  90.9M|        }
16236|    638|        p->mark = _mark;
16237|    638|        D(fprintf(stderr, "%*c%s lambda_param[%d-%d]: %s failed!\n", p->level, ' ',
16238|    638|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
16239|    638|    }
16240|    638|    _res = NULL;
16241|  90.9M|  done:
16242|  90.9M|    p->level--;
16243|  90.9M|    return _res;
16244|    638|}
_PyPegen_fstring_rule:
16580|  1.68k|{
16581|  1.68k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.36k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16581:9): [True: 0, False: 1.68k]
  |  Branch (16581:35): [True: 0, False: 1.68k]
  ------------------
16582|      0|        _Pypegen_stack_overflow(p);
16583|      0|    }
16584|  1.68k|    if (p->error_indicator) {
  ------------------
  |  Branch (16584:9): [True: 0, False: 1.68k]
  ------------------
16585|      0|        p->level--;
16586|      0|        return NULL;
16587|      0|    }
16588|  1.68k|    expr_ty _res = NULL;
16589|  1.68k|    int _mark = p->mark;
16590|  1.68k|    { // FSTRING_START fstring_middle* FSTRING_END
16591|  1.68k|        if (p->error_indicator) {
  ------------------
  |  Branch (16591:13): [True: 0, False: 1.68k]
  ------------------
16592|      0|            p->level--;
16593|      0|            return NULL;
16594|      0|        }
16595|  1.68k|        D(fprintf(stderr, "%*c> fstring[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "FSTRING_START fstring_middle* FSTRING_END"));
16596|  1.68k|        Token * a;
16597|  1.68k|        asdl_seq * b;
16598|  1.68k|        Token * c;
16599|  1.68k|        if (
16600|  1.68k|            (a = _PyPegen_expect_token(p, FSTRING_START))  // token='FSTRING_START'
  ------------------
  |  |   75|  1.68k|#define FSTRING_START   59
  ------------------
  |  Branch (16600:13): [True: 0, False: 1.68k]
  ------------------
16601|      0|            &&
16602|      0|            (b = _loop0_77_rule(p))  // fstring_middle*
  ------------------
  |  Branch (16602:13): [True: 0, False: 0]
  ------------------
16603|      0|            &&
16604|      0|            (c = _PyPegen_expect_token(p, FSTRING_END))  // token='FSTRING_END'
  ------------------
  |  |   77|      0|#define FSTRING_END     61
  ------------------
  |  Branch (16604:13): [True: 0, False: 0]
  ------------------
16605|  1.68k|        )
16606|      0|        {
16607|      0|            D(fprintf(stderr, "%*c+ fstring[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "FSTRING_START fstring_middle* FSTRING_END"));
16608|      0|            _res = _PyPegen_joined_str ( p , a , ( asdl_expr_seq* ) b , c );
16609|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16609:18): [True: 0, False: 0]
  |  Branch (16609:34): [True: 0, False: 0]
  |  Branch (16609:57): [True: 0, False: 0]
  ------------------
16610|      0|                p->error_indicator = 1;
16611|      0|                p->level--;
16612|      0|                return NULL;
16613|      0|            }
16614|      0|            goto done;
16615|      0|        }
16616|  1.68k|        p->mark = _mark;
16617|  1.68k|        D(fprintf(stderr, "%*c%s fstring[%d-%d]: %s failed!\n", p->level, ' ',
16618|  1.68k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "FSTRING_START fstring_middle* FSTRING_END"));
16619|  1.68k|    }
16620|  1.68k|    _res = NULL;
16621|  1.68k|  done:
16622|  1.68k|    p->level--;
16623|  1.68k|    return _res;
16624|  1.68k|}
_PyPegen_tstring_rule:
17011|    549|{
17012|    549|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.09k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17012:9): [True: 0, False: 549]
  |  Branch (17012:35): [True: 0, False: 549]
  ------------------
17013|      0|        _Pypegen_stack_overflow(p);
17014|      0|    }
17015|    549|    if (p->error_indicator) {
  ------------------
  |  Branch (17015:9): [True: 0, False: 549]
  ------------------
17016|      0|        p->level--;
17017|      0|        return NULL;
17018|      0|    }
17019|    549|    expr_ty _res = NULL;
17020|    549|    if (_PyPegen_is_memoized(p, tstring_type, &_res)) {
  ------------------
  |  |  248|    549|#define tstring_type 1159
  ------------------
  |  Branch (17020:9): [True: 0, False: 549]
  ------------------
17021|      0|        p->level--;
17022|      0|        return _res;
17023|      0|    }
17024|    549|    int _mark = p->mark;
17025|    549|    { // TSTRING_START tstring_middle* TSTRING_END
17026|    549|        if (p->error_indicator) {
  ------------------
  |  Branch (17026:13): [True: 0, False: 549]
  ------------------
17027|      0|            p->level--;
17028|      0|            return NULL;
17029|      0|        }
17030|    549|        D(fprintf(stderr, "%*c> tstring[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TSTRING_START tstring_middle* TSTRING_END"));
17031|    549|        Token * a;
17032|    549|        asdl_seq * b;
17033|    549|        Token * c;
17034|    549|        if (
17035|    549|            (a = _PyPegen_expect_token(p, TSTRING_START))  // token='TSTRING_START'
  ------------------
  |  |   78|    549|#define TSTRING_START   62
  ------------------
  |  Branch (17035:13): [True: 5, False: 544]
  ------------------
17036|      5|            &&
17037|      5|            (b = _loop0_79_rule(p))  // tstring_middle*
  ------------------
  |  Branch (17037:13): [True: 5, False: 0]
  ------------------
17038|      5|            &&
17039|      5|            (c = _PyPegen_expect_token(p, TSTRING_END))  // token='TSTRING_END'
  ------------------
  |  |   80|      5|#define TSTRING_END     64
  ------------------
  |  Branch (17039:13): [True: 4, False: 1]
  ------------------
17040|    549|        )
17041|      4|        {
17042|      4|            D(fprintf(stderr, "%*c+ tstring[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TSTRING_START tstring_middle* TSTRING_END"));
17043|      4|            _res = CHECK_VERSION ( expr_ty , 14 , "t-strings are" , _PyPegen_template_str ( p , a , ( asdl_expr_seq* ) b , c ) );
  ------------------
  |  |  354|      4|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
17044|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17044:18): [True: 0, False: 4]
  |  Branch (17044:34): [True: 0, False: 4]
  |  Branch (17044:57): [True: 0, False: 0]
  ------------------
17045|      0|                p->error_indicator = 1;
17046|      0|                p->level--;
17047|      0|                return NULL;
17048|      0|            }
17049|      4|            goto done;
17050|      4|        }
17051|    545|        p->mark = _mark;
17052|    545|        D(fprintf(stderr, "%*c%s tstring[%d-%d]: %s failed!\n", p->level, ' ',
17053|    545|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TSTRING_START tstring_middle* TSTRING_END"));
17054|    545|    }
17055|    545|    _res = NULL;
17056|    549|  done:
17057|    549|    _PyPegen_insert_memo(p, _mark, tstring_type, _res);
  ------------------
  |  |  248|    549|#define tstring_type 1159
  ------------------
17058|    549|    p->level--;
17059|    549|    return _res;
17060|    545|}
_PyPegen_string_rule:
17065|  1.67k|{
17066|  1.67k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.35k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17066:9): [True: 0, False: 1.67k]
  |  Branch (17066:35): [True: 0, False: 1.67k]
  ------------------
17067|      0|        _Pypegen_stack_overflow(p);
17068|      0|    }
17069|  1.67k|    if (p->error_indicator) {
  ------------------
  |  Branch (17069:9): [True: 0, False: 1.67k]
  ------------------
17070|      0|        p->level--;
17071|      0|        return NULL;
17072|      0|    }
17073|  1.67k|    expr_ty _res = NULL;
17074|  1.67k|    int _mark = p->mark;
17075|  1.67k|    { // STRING
17076|  1.67k|        if (p->error_indicator) {
  ------------------
  |  Branch (17076:13): [True: 0, False: 1.67k]
  ------------------
17077|      0|            p->level--;
17078|      0|            return NULL;
17079|      0|        }
17080|  1.67k|        D(fprintf(stderr, "%*c> string[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "STRING"));
17081|  1.67k|        Token* s;
17082|  1.67k|        if (
17083|  1.67k|            (s = (Token*)_PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (17083:13): [True: 858, False: 821]
  ------------------
17084|  1.67k|        )
17085|    858|        {
17086|    858|            D(fprintf(stderr, "%*c+ string[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "STRING"));
17087|    858|            _res = _PyPegen_constant_from_string ( p , s );
17088|    858|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17088:18): [True: 2, False: 856]
  |  Branch (17088:34): [True: 0, False: 856]
  |  Branch (17088:57): [True: 2, False: 0]
  ------------------
17089|      2|                p->error_indicator = 1;
17090|      2|                p->level--;
17091|      2|                return NULL;
17092|      2|            }
17093|    856|            goto done;
17094|    858|        }
17095|    821|        p->mark = _mark;
17096|    821|        D(fprintf(stderr, "%*c%s string[%d-%d]: %s failed!\n", p->level, ' ',
17097|    821|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "STRING"));
17098|    821|    }
17099|    821|    _res = NULL;
17100|  1.67k|  done:
17101|  1.67k|    p->level--;
17102|  1.67k|    return _res;
17103|    821|}
_PyPegen_list_rule:
17330|    156|{
17331|    156|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    312|#  define MAXSTACK 6000
  ------------------
  |  Branch (17331:9): [True: 0, False: 156]
  |  Branch (17331:35): [True: 0, False: 156]
  ------------------
17332|      0|        _Pypegen_stack_overflow(p);
17333|      0|    }
17334|    156|    if (p->error_indicator) {
  ------------------
  |  Branch (17334:9): [True: 0, False: 156]
  ------------------
17335|      0|        p->level--;
17336|      0|        return NULL;
17337|      0|    }
17338|    156|    expr_ty _res = NULL;
17339|    156|    int _mark = p->mark;
17340|    156|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17340:9): [True: 0, False: 156]
  |  Branch (17340:31): [True: 0, False: 0]
  ------------------
17341|      0|        p->error_indicator = 1;
17342|      0|        p->level--;
17343|      0|        return NULL;
17344|      0|    }
17345|    156|    int _start_lineno = p->tokens[_mark]->lineno;
17346|    156|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    156|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 156]
  |  |  ------------------
  ------------------
17347|    156|    int _start_col_offset = p->tokens[_mark]->col_offset;
17348|    156|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    156|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 156]
  |  |  ------------------
  ------------------
17349|    156|    { // '[' display_items? ']'
17350|    156|        if (p->error_indicator) {
  ------------------
  |  Branch (17350:13): [True: 0, False: 156]
  ------------------
17351|      0|            p->level--;
17352|      0|            return NULL;
17353|      0|        }
17354|    156|        D(fprintf(stderr, "%*c> list[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' display_items? ']'"));
17355|    156|        Token * _literal;
17356|    156|        Token * _literal_1;
17357|    156|        void *a;
17358|    156|        if (
17359|    156|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (17359:13): [True: 27, False: 129]
  ------------------
17360|     27|            &&
17361|     27|            (a = display_items_rule(p), !p->error_indicator)  // display_items?
  ------------------
  |  Branch (17361:13): [True: 27, False: 0]
  ------------------
17362|     27|            &&
17363|     27|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (17363:13): [True: 0, False: 27]
  ------------------
17364|    156|        )
17365|      0|        {
17366|      0|            D(fprintf(stderr, "%*c+ list[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' display_items? ']'"));
17367|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17368|      0|            if (_token == NULL) {
  ------------------
  |  Branch (17368:17): [True: 0, False: 0]
  ------------------
17369|      0|                p->level--;
17370|      0|                return NULL;
17371|      0|            }
17372|      0|            int _end_lineno = _token->end_lineno;
17373|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
17374|      0|            int _end_col_offset = _token->end_col_offset;
17375|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
17376|      0|            _res = _PyAST_List ( a , Load , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17377|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17377:18): [True: 0, False: 0]
  |  Branch (17377:34): [True: 0, False: 0]
  |  Branch (17377:57): [True: 0, False: 0]
  ------------------
17378|      0|                p->error_indicator = 1;
17379|      0|                p->level--;
17380|      0|                return NULL;
17381|      0|            }
17382|      0|            goto done;
17383|      0|        }
17384|    156|        p->mark = _mark;
17385|    156|        D(fprintf(stderr, "%*c%s list[%d-%d]: %s failed!\n", p->level, ' ',
17386|    156|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' display_items? ']'"));
17387|    156|    }
17388|    156|    _res = NULL;
17389|    156|  done:
17390|    156|    p->level--;
17391|    156|    return _res;
17392|    156|}
_PyPegen_tuple_rule:
17397|    763|{
17398|    763|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.52k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17398:9): [True: 0, False: 763]
  |  Branch (17398:35): [True: 0, False: 763]
  ------------------
17399|      0|        _Pypegen_stack_overflow(p);
17400|      0|    }
17401|    763|    if (p->error_indicator) {
  ------------------
  |  Branch (17401:9): [True: 0, False: 763]
  ------------------
17402|      0|        p->level--;
17403|      0|        return NULL;
17404|      0|    }
17405|    763|    expr_ty _res = NULL;
17406|    763|    int _mark = p->mark;
17407|    763|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17407:9): [True: 0, False: 763]
  |  Branch (17407:31): [True: 0, False: 0]
  ------------------
17408|      0|        p->error_indicator = 1;
17409|      0|        p->level--;
17410|      0|        return NULL;
17411|      0|    }
17412|    763|    int _start_lineno = p->tokens[_mark]->lineno;
17413|    763|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    763|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 763]
  |  |  ------------------
  ------------------
17414|    763|    int _start_col_offset = p->tokens[_mark]->col_offset;
17415|    763|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    763|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 763]
  |  |  ------------------
  ------------------
17416|    763|    { // '(' [display_item ',' display_items?] ')'
17417|    763|        if (p->error_indicator) {
  ------------------
  |  Branch (17417:13): [True: 0, False: 763]
  ------------------
17418|      0|            p->level--;
17419|      0|            return NULL;
17420|      0|        }
17421|    763|        D(fprintf(stderr, "%*c> tuple[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' [display_item ',' display_items?] ')'"));
17422|    763|        Token * _literal;
17423|    763|        Token * _literal_1;
17424|    763|        void *a;
17425|    763|        if (
17426|    763|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (17426:13): [True: 682, False: 81]
  ------------------
17427|    682|            &&
17428|    682|            (a = _tmp_84_rule(p), !p->error_indicator)  // [display_item ',' display_items?]
  ------------------
  |  Branch (17428:13): [True: 682, False: 0]
  ------------------
17429|    682|            &&
17430|    682|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (17430:13): [True: 4, False: 678]
  ------------------
17431|    763|        )
17432|      4|        {
17433|      4|            D(fprintf(stderr, "%*c+ tuple[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' [display_item ',' display_items?] ')'"));
17434|      4|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17435|      4|            if (_token == NULL) {
  ------------------
  |  Branch (17435:17): [True: 0, False: 4]
  ------------------
17436|      0|                p->level--;
17437|      0|                return NULL;
17438|      0|            }
17439|      4|            int _end_lineno = _token->end_lineno;
17440|      4|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
17441|      4|            int _end_col_offset = _token->end_col_offset;
17442|      4|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
17443|      4|            _res = _PyAST_Tuple ( a , Load , EXTRA );
  ------------------
  |  |  316|      4|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17444|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17444:18): [True: 0, False: 4]
  |  Branch (17444:34): [True: 0, False: 4]
  |  Branch (17444:57): [True: 0, False: 0]
  ------------------
17445|      0|                p->error_indicator = 1;
17446|      0|                p->level--;
17447|      0|                return NULL;
17448|      0|            }
17449|      4|            goto done;
17450|      4|        }
17451|    759|        p->mark = _mark;
17452|    759|        D(fprintf(stderr, "%*c%s tuple[%d-%d]: %s failed!\n", p->level, ' ',
17453|    759|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' [display_item ',' display_items?] ')'"));
17454|    759|    }
17455|    759|    _res = NULL;
17456|    763|  done:
17457|    763|    p->level--;
17458|    763|    return _res;
17459|    759|}
_PyPegen_double_starred_kvpair_rule:
17670|      4|{
17671|      4|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (17671:9): [True: 0, False: 4]
  |  Branch (17671:35): [True: 0, False: 4]
  ------------------
17672|      0|        _Pypegen_stack_overflow(p);
17673|      0|    }
17674|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (17674:9): [True: 0, False: 4]
  ------------------
17675|      0|        p->level--;
17676|      0|        return NULL;
17677|      0|    }
17678|      4|    KeyValuePair* _res = NULL;
17679|      4|    int _mark = p->mark;
17680|      4|    { // '**' bitwise_or
17681|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (17681:13): [True: 0, False: 4]
  ------------------
17682|      0|            p->level--;
17683|      0|            return NULL;
17684|      0|        }
17685|      4|        D(fprintf(stderr, "%*c> double_starred_kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or"));
17686|      4|        Token * _literal;
17687|      4|        expr_ty a;
17688|      4|        if (
17689|      4|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (17689:13): [True: 0, False: 4]
  ------------------
17690|      0|            &&
17691|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (17691:13): [True: 0, False: 0]
  ------------------
17692|      4|        )
17693|      0|        {
17694|      0|            D(fprintf(stderr, "%*c+ double_starred_kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or"));
17695|      0|            _res = _PyPegen_key_value_pair ( p , NULL , a );
17696|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17696:18): [True: 0, False: 0]
  |  Branch (17696:34): [True: 0, False: 0]
  |  Branch (17696:57): [True: 0, False: 0]
  ------------------
17697|      0|                p->error_indicator = 1;
17698|      0|                p->level--;
17699|      0|                return NULL;
17700|      0|            }
17701|      0|            goto done;
17702|      0|        }
17703|      4|        p->mark = _mark;
17704|      4|        D(fprintf(stderr, "%*c%s double_starred_kvpair[%d-%d]: %s failed!\n", p->level, ' ',
17705|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' bitwise_or"));
17706|      4|    }
17707|      0|    { // kvpair
17708|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (17708:13): [True: 0, False: 4]
  ------------------
17709|      0|            p->level--;
17710|      0|            return NULL;
17711|      0|        }
17712|      4|        D(fprintf(stderr, "%*c> double_starred_kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kvpair"));
17713|      4|        KeyValuePair* kvpair_var;
17714|      4|        if (
17715|      4|            (kvpair_var = kvpair_rule(p))  // kvpair
  ------------------
  |  Branch (17715:13): [True: 0, False: 4]
  ------------------
17716|      4|        )
17717|      0|        {
17718|      0|            D(fprintf(stderr, "%*c+ double_starred_kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kvpair"));
17719|      0|            _res = kvpair_var;
17720|      0|            goto done;
17721|      0|        }
17722|      4|        p->mark = _mark;
17723|      4|        D(fprintf(stderr, "%*c%s double_starred_kvpair[%d-%d]: %s failed!\n", p->level, ' ',
17724|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kvpair"));
17725|      4|    }
17726|      4|    _res = NULL;
17727|      4|  done:
17728|      4|    p->level--;
17729|      4|    return _res;
17730|      4|}
_PyPegen_for_if_clauses_rule:
17784|  1.48k|{
17785|  1.48k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.96k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17785:9): [True: 0, False: 1.48k]
  |  Branch (17785:35): [True: 0, False: 1.48k]
  ------------------
17786|      0|        _Pypegen_stack_overflow(p);
17787|      0|    }
17788|  1.48k|    if (p->error_indicator) {
  ------------------
  |  Branch (17788:9): [True: 0, False: 1.48k]
  ------------------
17789|      0|        p->level--;
17790|      0|        return NULL;
17791|      0|    }
17792|  1.48k|    asdl_comprehension_seq* _res = NULL;
17793|  1.48k|    int _mark = p->mark;
17794|  1.48k|    { // for_if_clause+
17795|  1.48k|        if (p->error_indicator) {
  ------------------
  |  Branch (17795:13): [True: 0, False: 1.48k]
  ------------------
17796|      0|            p->level--;
17797|      0|            return NULL;
17798|      0|        }
17799|  1.48k|        D(fprintf(stderr, "%*c> for_if_clauses[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "for_if_clause+"));
17800|  1.48k|        asdl_comprehension_seq* a;
17801|  1.48k|        if (
17802|  1.48k|            (a = (asdl_comprehension_seq*)_loop1_87_rule(p))  // for_if_clause+
  ------------------
  |  Branch (17802:13): [True: 0, False: 1.48k]
  ------------------
17803|  1.48k|        )
17804|      0|        {
17805|      0|            D(fprintf(stderr, "%*c+ for_if_clauses[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "for_if_clause+"));
17806|      0|            _res = a;
17807|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17807:18): [True: 0, False: 0]
  |  Branch (17807:34): [True: 0, False: 0]
  |  Branch (17807:57): [True: 0, False: 0]
  ------------------
17808|      0|                p->error_indicator = 1;
17809|      0|                p->level--;
17810|      0|                return NULL;
17811|      0|            }
17812|      0|            goto done;
17813|      0|        }
17814|  1.48k|        p->mark = _mark;
17815|  1.48k|        D(fprintf(stderr, "%*c%s for_if_clauses[%d-%d]: %s failed!\n", p->level, ' ',
17816|  1.48k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "for_if_clause+"));
17817|  1.48k|    }
17818|  1.48k|    _res = NULL;
17819|  1.48k|  done:
17820|  1.48k|    p->level--;
17821|  1.48k|    return _res;
17822|  1.48k|}
_PyPegen_genexp_rule:
18157|  2.61k|{
18158|  2.61k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  5.22k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18158:9): [True: 0, False: 2.61k]
  |  Branch (18158:35): [True: 0, False: 2.61k]
  ------------------
18159|      0|        _Pypegen_stack_overflow(p);
18160|      0|    }
18161|  2.61k|    if (p->error_indicator) {
  ------------------
  |  Branch (18161:9): [True: 0, False: 2.61k]
  ------------------
18162|      0|        p->level--;
18163|      0|        return NULL;
18164|      0|    }
18165|  2.61k|    expr_ty _res = NULL;
18166|  2.61k|    int _mark = p->mark;
18167|  2.61k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18167:9): [True: 0, False: 2.61k]
  |  Branch (18167:31): [True: 0, False: 0]
  ------------------
18168|      0|        p->error_indicator = 1;
18169|      0|        p->level--;
18170|      0|        return NULL;
18171|      0|    }
18172|  2.61k|    int _start_lineno = p->tokens[_mark]->lineno;
18173|  2.61k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.61k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.61k]
  |  |  ------------------
  ------------------
18174|  2.61k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18175|  2.61k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.61k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.61k]
  |  |  ------------------
  ------------------
18176|  2.61k|    { // '(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'
18177|  2.61k|        if (p->error_indicator) {
  ------------------
  |  Branch (18177:13): [True: 0, False: 2.61k]
  ------------------
18178|      0|            p->level--;
18179|      0|            return NULL;
18180|      0|        }
18181|  2.61k|        D(fprintf(stderr, "%*c> genexp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18182|  2.61k|        Token * _literal;
18183|  2.61k|        Token * _literal_1;
18184|  2.61k|        void *a;
18185|  2.61k|        asdl_comprehension_seq* b;
18186|  2.61k|        if (
18187|  2.61k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (18187:13): [True: 2.07k, False: 538]
  ------------------
18188|  2.07k|            &&
18189|  2.07k|            (a = _tmp_89_rule(p))  // assignment_expression | expression !':=' | starred_expression
  ------------------
  |  Branch (18189:13): [True: 1.17k, False: 899]
  ------------------
18190|  1.17k|            &&
18191|  1.17k|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  519|  1.17k|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (18191:13): [True: 0, False: 1.17k]
  ------------------
18192|      0|            &&
18193|      0|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (18193:13): [True: 0, False: 0]
  ------------------
18194|  2.61k|        )
18195|      0|        {
18196|      0|            D(fprintf(stderr, "%*c+ genexp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18197|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18198|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18198:17): [True: 0, False: 0]
  ------------------
18199|      0|                p->level--;
18200|      0|                return NULL;
18201|      0|            }
18202|      0|            int _end_lineno = _token->end_lineno;
18203|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18204|      0|            int _end_col_offset = _token->end_col_offset;
18205|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18206|      0|            _res = _PyAST_GeneratorExp ( a , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18207|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18207:18): [True: 0, False: 0]
  |  Branch (18207:34): [True: 0, False: 0]
  |  Branch (18207:57): [True: 0, False: 0]
  ------------------
18208|      0|                p->error_indicator = 1;
18209|      0|                p->level--;
18210|      0|                return NULL;
18211|      0|            }
18212|      0|            goto done;
18213|      0|        }
18214|  2.61k|        p->mark = _mark;
18215|  2.61k|        D(fprintf(stderr, "%*c%s genexp[%d-%d]: %s failed!\n", p->level, ' ',
18216|  2.61k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18217|  2.61k|    }
18218|  2.61k|    if (p->call_invalid_rules) { // invalid_comprehension
  ------------------
  |  Branch (18218:9): [True: 1.15k, False: 1.45k]
  ------------------
18219|  1.15k|        if (p->error_indicator) {
  ------------------
  |  Branch (18219:13): [True: 438, False: 715]
  ------------------
18220|    438|            p->level--;
18221|    438|            return NULL;
18222|    438|        }
18223|    715|        D(fprintf(stderr, "%*c> genexp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18224|    715|        void *invalid_comprehension_var;
18225|    715|        if (
18226|    715|            (invalid_comprehension_var = invalid_comprehension_rule(p))  // invalid_comprehension
  ------------------
  |  |  561|    715|#define invalid_comprehension_rule _PyPegen_invalid_comprehension_rule
  ------------------
  |  Branch (18226:13): [True: 0, False: 715]
  ------------------
18227|    715|        )
18228|      0|        {
18229|      0|            D(fprintf(stderr, "%*c+ genexp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18230|      0|            _res = invalid_comprehension_var;
18231|      0|            goto done;
18232|      0|        }
18233|    715|        p->mark = _mark;
18234|    715|        D(fprintf(stderr, "%*c%s genexp[%d-%d]: %s failed!\n", p->level, ' ',
18235|    715|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_comprehension"));
18236|    715|    }
18237|  2.17k|    _res = NULL;
18238|  2.17k|  done:
18239|  2.17k|    p->level--;
18240|  2.17k|    return _res;
18241|  2.17k|}
_PyPegen_arguments_rule:
18361|    917|{
18362|    917|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.83k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18362:9): [True: 0, False: 917]
  |  Branch (18362:35): [True: 0, False: 917]
  ------------------
18363|      0|        _Pypegen_stack_overflow(p);
18364|      0|    }
18365|    917|    if (p->error_indicator) {
  ------------------
  |  Branch (18365:9): [True: 0, False: 917]
  ------------------
18366|      0|        p->level--;
18367|      0|        return NULL;
18368|      0|    }
18369|    917|    expr_ty _res = NULL;
18370|    917|    if (_PyPegen_is_memoized(p, arguments_type, &_res)) {
  ------------------
  |  |  266|    917|#define arguments_type 1177
  ------------------
  |  Branch (18370:9): [True: 0, False: 917]
  ------------------
18371|      0|        p->level--;
18372|      0|        return _res;
18373|      0|    }
18374|    917|    int _mark = p->mark;
18375|    917|    { // args ','? &')'
18376|    917|        if (p->error_indicator) {
  ------------------
  |  Branch (18376:13): [True: 0, False: 917]
  ------------------
18377|      0|            p->level--;
18378|      0|            return NULL;
18379|      0|        }
18380|    917|        D(fprintf(stderr, "%*c> arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args ','? &')'"));
18381|    917|        void *_opt_var;
18382|    917|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|    917|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 917]
  |  |  ------------------
  ------------------
18383|    917|        expr_ty a;
18384|    917|        if (
18385|    917|            (a = args_rule(p))  // args
  ------------------
  |  |  525|    917|#define args_rule _PyPegen_args_rule
  ------------------
  |  Branch (18385:13): [True: 710, False: 207]
  ------------------
18386|    710|            &&
18387|    710|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (18387:13): [True: 710, False: 0]
  ------------------
18388|    710|            &&
18389|    710|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (18389:13): [True: 2, False: 708]
  ------------------
18390|    917|        )
18391|      2|        {
18392|      2|            D(fprintf(stderr, "%*c+ arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args ','? &')'"));
18393|      2|            _res = a;
18394|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18394:18): [True: 0, False: 2]
  |  Branch (18394:34): [True: 0, False: 2]
  |  Branch (18394:57): [True: 0, False: 0]
  ------------------
18395|      0|                p->error_indicator = 1;
18396|      0|                p->level--;
18397|      0|                return NULL;
18398|      0|            }
18399|      2|            goto done;
18400|      2|        }
18401|    915|        p->mark = _mark;
18402|    915|        D(fprintf(stderr, "%*c%s arguments[%d-%d]: %s failed!\n", p->level, ' ',
18403|    915|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args ','? &')'"));
18404|    915|    }
18405|    915|    if (p->call_invalid_rules) { // invalid_arguments
  ------------------
  |  Branch (18405:9): [True: 288, False: 627]
  ------------------
18406|    288|        if (p->error_indicator) {
  ------------------
  |  Branch (18406:13): [True: 0, False: 288]
  ------------------
18407|      0|            p->level--;
18408|      0|            return NULL;
18409|      0|        }
18410|    288|        D(fprintf(stderr, "%*c> arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_arguments"));
18411|    288|        void *invalid_arguments_var;
18412|    288|        if (
18413|    288|            (invalid_arguments_var = invalid_arguments_rule(p))  // invalid_arguments
  ------------------
  |  |  537|    288|#define invalid_arguments_rule _PyPegen_invalid_arguments_rule
  ------------------
  |  Branch (18413:13): [True: 0, False: 288]
  ------------------
18414|    288|        )
18415|      0|        {
18416|      0|            D(fprintf(stderr, "%*c+ arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_arguments"));
18417|      0|            _res = invalid_arguments_var;
18418|      0|            goto done;
18419|      0|        }
18420|    288|        p->mark = _mark;
18421|    288|        D(fprintf(stderr, "%*c%s arguments[%d-%d]: %s failed!\n", p->level, ' ',
18422|    288|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_arguments"));
18423|    288|    }
18424|    915|    _res = NULL;
18425|    917|  done:
18426|    917|    _PyPegen_insert_memo(p, _mark, arguments_type, _res);
  ------------------
  |  |  266|    917|#define arguments_type 1177
  ------------------
18427|    917|    p->level--;
18428|    917|    return _res;
18429|    915|}
_PyPegen_args_rule:
18436|  2.06k|{
18437|  2.06k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.13k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18437:9): [True: 0, False: 2.06k]
  |  Branch (18437:35): [True: 0, False: 2.06k]
  ------------------
18438|      0|        _Pypegen_stack_overflow(p);
18439|      0|    }
18440|  2.06k|    if (p->error_indicator) {
  ------------------
  |  Branch (18440:9): [True: 0, False: 2.06k]
  ------------------
18441|      0|        p->level--;
18442|      0|        return NULL;
18443|      0|    }
18444|  2.06k|    expr_ty _res = NULL;
18445|  2.06k|    int _mark = p->mark;
18446|  2.06k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18446:9): [True: 0, False: 2.06k]
  |  Branch (18446:31): [True: 0, False: 0]
  ------------------
18447|      0|        p->error_indicator = 1;
18448|      0|        p->level--;
18449|      0|        return NULL;
18450|      0|    }
18451|  2.06k|    int _start_lineno = p->tokens[_mark]->lineno;
18452|  2.06k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.06k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.06k]
  |  |  ------------------
  ------------------
18453|  2.06k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18454|  2.06k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.06k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.06k]
  |  |  ------------------
  ------------------
18455|  2.06k|    { // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]
18456|  2.06k|        if (p->error_indicator) {
  ------------------
  |  Branch (18456:13): [True: 0, False: 2.06k]
  ------------------
18457|      0|            p->level--;
18458|      0|            return NULL;
18459|      0|        }
18460|  2.06k|        D(fprintf(stderr, "%*c> args[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18461|  2.06k|        asdl_expr_seq* a;
18462|  2.06k|        void *b;
18463|  2.06k|        if (
18464|  2.06k|            (a = (asdl_expr_seq*)_gather_91_rule(p))  // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+
  ------------------
  |  Branch (18464:13): [True: 1.56k, False: 504]
  ------------------
18465|  1.56k|            &&
18466|  1.56k|            (b = _tmp_92_rule(p), !p->error_indicator)  // [',' kwargs]
  ------------------
  |  Branch (18466:13): [True: 1.56k, False: 3]
  ------------------
18467|  2.06k|        )
18468|  1.56k|        {
18469|  1.56k|            D(fprintf(stderr, "%*c+ args[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18470|  1.56k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18471|  1.56k|            if (_token == NULL) {
  ------------------
  |  Branch (18471:17): [True: 0, False: 1.56k]
  ------------------
18472|      0|                p->level--;
18473|      0|                return NULL;
18474|      0|            }
18475|  1.56k|            int _end_lineno = _token->end_lineno;
18476|  1.56k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.56k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.56k]
  |  |  ------------------
  ------------------
18477|  1.56k|            int _end_col_offset = _token->end_col_offset;
18478|  1.56k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.56k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.56k]
  |  |  ------------------
  ------------------
18479|  1.56k|            _res = _PyPegen_collect_call_seqs ( p , a , b , EXTRA );
  ------------------
  |  |  316|  1.56k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18480|  1.56k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18480:18): [True: 0, False: 1.56k]
  |  Branch (18480:34): [True: 0, False: 1.56k]
  |  Branch (18480:57): [True: 0, False: 0]
  ------------------
18481|      0|                p->error_indicator = 1;
18482|      0|                p->level--;
18483|      0|                return NULL;
18484|      0|            }
18485|  1.56k|            goto done;
18486|  1.56k|        }
18487|    507|        p->mark = _mark;
18488|    507|        D(fprintf(stderr, "%*c%s args[%d-%d]: %s failed!\n", p->level, ' ',
18489|    507|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18490|    507|    }
18491|      0|    { // kwargs
18492|    507|        if (p->error_indicator) {
  ------------------
  |  Branch (18492:13): [True: 3, False: 504]
  ------------------
18493|      3|            p->level--;
18494|      3|            return NULL;
18495|      3|        }
18496|    504|        D(fprintf(stderr, "%*c> args[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwargs"));
18497|    504|        asdl_seq* a;
18498|    504|        if (
18499|    504|            (a = kwargs_rule(p))  // kwargs
  ------------------
  |  |  527|    504|#define kwargs_rule _PyPegen_kwargs_rule
  ------------------
  |  Branch (18499:13): [True: 36, False: 468]
  ------------------
18500|    504|        )
18501|     36|        {
18502|     36|            D(fprintf(stderr, "%*c+ args[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwargs"));
18503|     36|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18504|     36|            if (_token == NULL) {
  ------------------
  |  Branch (18504:17): [True: 0, False: 36]
  ------------------
18505|      0|                p->level--;
18506|      0|                return NULL;
18507|      0|            }
18508|     36|            int _end_lineno = _token->end_lineno;
18509|     36|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|     36|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 36]
  |  |  ------------------
  ------------------
18510|     36|            int _end_col_offset = _token->end_col_offset;
18511|     36|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|     36|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 36]
  |  |  ------------------
  ------------------
18512|     36|            _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|     36|#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|     36|#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 );
  ------------------
  |  |  316|     36|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18513|     36|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18513:18): [True: 0, False: 36]
  |  Branch (18513:34): [True: 0, False: 36]
  |  Branch (18513:57): [True: 0, False: 0]
  ------------------
18514|      0|                p->error_indicator = 1;
18515|      0|                p->level--;
18516|      0|                return NULL;
18517|      0|            }
18518|     36|            goto done;
18519|     36|        }
18520|    468|        p->mark = _mark;
18521|    468|        D(fprintf(stderr, "%*c%s args[%d-%d]: %s failed!\n", p->level, ' ',
18522|    468|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwargs"));
18523|    468|    }
18524|    468|    _res = NULL;
18525|  2.06k|  done:
18526|  2.06k|    p->level--;
18527|  2.06k|    return _res;
18528|    468|}
_PyPegen_kwargs_rule:
18535|    792|{
18536|    792|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.58k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18536:9): [True: 0, False: 792]
  |  Branch (18536:35): [True: 0, False: 792]
  ------------------
18537|      0|        _Pypegen_stack_overflow(p);
18538|      0|    }
18539|    792|    if (p->error_indicator) {
  ------------------
  |  Branch (18539:9): [True: 0, False: 792]
  ------------------
18540|      0|        p->level--;
18541|      0|        return NULL;
18542|      0|    }
18543|    792|    asdl_seq* _res = NULL;
18544|    792|    int _mark = p->mark;
18545|    792|    { // ','.kwarg_or_starred+ [',' ','.kwarg_or_double_starred+]
18546|    792|        if (p->error_indicator) {
  ------------------
  |  Branch (18546:13): [True: 0, False: 792]
  ------------------
18547|      0|            p->level--;
18548|      0|            return NULL;
18549|      0|        }
18550|    792|        D(fprintf(stderr, "%*c> kwargs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_starred+ [',' ','.kwarg_or_double_starred+]"));
18551|    792|        asdl_seq * a;
18552|    792|        void *b;
18553|    792|        if (
18554|    792|            (a = _gather_94_rule(p))  // ','.kwarg_or_starred+
  ------------------
  |  Branch (18554:13): [True: 162, False: 630]
  ------------------
18555|    162|            &&
18556|    162|            (b = _tmp_95_rule(p), !p->error_indicator)  // [',' ','.kwarg_or_double_starred+]
  ------------------
  |  Branch (18556:13): [True: 162, False: 0]
  ------------------
18557|    792|        )
18558|    162|        {
18559|    162|            D(fprintf(stderr, "%*c+ kwargs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_starred+ [',' ','.kwarg_or_double_starred+]"));
18560|    162|            _res = b ? _PyPegen_join_sequences ( p , a , b ) : a;
  ------------------
  |  Branch (18560:20): [True: 0, False: 162]
  ------------------
18561|    162|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18561:18): [True: 0, False: 162]
  |  Branch (18561:34): [True: 0, False: 162]
  |  Branch (18561:57): [True: 0, False: 0]
  ------------------
18562|      0|                p->error_indicator = 1;
18563|      0|                p->level--;
18564|      0|                return NULL;
18565|      0|            }
18566|    162|            goto done;
18567|    162|        }
18568|    630|        p->mark = _mark;
18569|    630|        D(fprintf(stderr, "%*c%s kwargs[%d-%d]: %s failed!\n", p->level, ' ',
18570|    630|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.kwarg_or_starred+ [',' ','.kwarg_or_double_starred+]"));
18571|    630|    }
18572|      0|    { // ','.kwarg_or_double_starred+
18573|    630|        if (p->error_indicator) {
  ------------------
  |  Branch (18573:13): [True: 0, False: 630]
  ------------------
18574|      0|            p->level--;
18575|      0|            return NULL;
18576|      0|        }
18577|    630|        D(fprintf(stderr, "%*c> kwargs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_double_starred+"));
18578|    630|        asdl_seq * _gather_97_var;
18579|    630|        if (
18580|    630|            (_gather_97_var = _gather_97_rule(p))  // ','.kwarg_or_double_starred+
  ------------------
  |  Branch (18580:13): [True: 42, False: 588]
  ------------------
18581|    630|        )
18582|     42|        {
18583|     42|            D(fprintf(stderr, "%*c+ kwargs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_double_starred+"));
18584|     42|            _res = _gather_97_var;
18585|     42|            goto done;
18586|     42|        }
18587|    588|        p->mark = _mark;
18588|    588|        D(fprintf(stderr, "%*c%s kwargs[%d-%d]: %s failed!\n", p->level, ' ',
18589|    588|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.kwarg_or_double_starred+"));
18590|    588|    }
18591|    588|    _res = NULL;
18592|    792|  done:
18593|    792|    p->level--;
18594|    792|    return _res;
18595|    588|}
_PyPegen_starred_expression_rule:
18603|  4.76k|{
18604|  4.76k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  9.53k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18604:9): [True: 0, False: 4.76k]
  |  Branch (18604:35): [True: 0, False: 4.76k]
  ------------------
18605|      0|        _Pypegen_stack_overflow(p);
18606|      0|    }
18607|  4.76k|    if (p->error_indicator) {
  ------------------
  |  Branch (18607:9): [True: 0, False: 4.76k]
  ------------------
18608|      0|        p->level--;
18609|      0|        return NULL;
18610|      0|    }
18611|  4.76k|    expr_ty _res = NULL;
18612|  4.76k|    int _mark = p->mark;
18613|  4.76k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18613:9): [True: 10, False: 4.75k]
  |  Branch (18613:31): [True: 0, False: 10]
  ------------------
18614|      0|        p->error_indicator = 1;
18615|      0|        p->level--;
18616|      0|        return NULL;
18617|      0|    }
18618|  4.76k|    int _start_lineno = p->tokens[_mark]->lineno;
18619|  4.76k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.76k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.76k]
  |  |  ------------------
  ------------------
18620|  4.76k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18621|  4.76k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.76k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.76k]
  |  |  ------------------
  ------------------
18622|  4.76k|    if (p->call_invalid_rules) { // invalid_starred_expression_unpacking
  ------------------
  |  Branch (18622:9): [True: 3.09k, False: 1.67k]
  ------------------
18623|  3.09k|        if (p->error_indicator) {
  ------------------
  |  Branch (18623:13): [True: 0, False: 3.09k]
  ------------------
18624|      0|            p->level--;
18625|      0|            return NULL;
18626|      0|        }
18627|  3.09k|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking"));
18628|  3.09k|        void *invalid_starred_expression_unpacking_var;
18629|  3.09k|        if (
18630|  3.09k|            (invalid_starred_expression_unpacking_var = invalid_starred_expression_unpacking_rule(p))  // invalid_starred_expression_unpacking
  ------------------
  |  |  639|  3.09k|#define invalid_starred_expression_unpacking_rule _PyPegen_invalid_starred_expression_unpacking_rule
  ------------------
  |  Branch (18630:13): [True: 0, False: 3.09k]
  ------------------
18631|  3.09k|        )
18632|      0|        {
18633|      0|            D(fprintf(stderr, "%*c+ starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking"));
18634|      0|            _res = invalid_starred_expression_unpacking_var;
18635|      0|            goto done;
18636|      0|        }
18637|  3.09k|        p->mark = _mark;
18638|  3.09k|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
18639|  3.09k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression_unpacking"));
18640|  3.09k|    }
18641|  4.76k|    { // '*' expression
18642|  4.76k|        if (p->error_indicator) {
  ------------------
  |  Branch (18642:13): [True: 222, False: 4.54k]
  ------------------
18643|    222|            p->level--;
18644|    222|            return NULL;
18645|    222|        }
18646|  4.54k|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' expression"));
18647|  4.54k|        Token * _literal;
18648|  4.54k|        expr_ty a;
18649|  4.54k|        if (
18650|  4.54k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (18650:13): [True: 2.38k, False: 2.15k]
  ------------------
18651|  2.38k|            &&
18652|  2.38k|            (a = expression_rule(p))  // expression
  ------------------
  |  |  461|  2.38k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (18652:13): [True: 2.36k, False: 24]
  ------------------
18653|  4.54k|        )
18654|  2.36k|        {
18655|  2.36k|            D(fprintf(stderr, "%*c+ starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' expression"));
18656|  2.36k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18657|  2.36k|            if (_token == NULL) {
  ------------------
  |  Branch (18657:17): [True: 0, False: 2.36k]
  ------------------
18658|      0|                p->level--;
18659|      0|                return NULL;
18660|      0|            }
18661|  2.36k|            int _end_lineno = _token->end_lineno;
18662|  2.36k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.36k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.36k]
  |  |  ------------------
  ------------------
18663|  2.36k|            int _end_col_offset = _token->end_col_offset;
18664|  2.36k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.36k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.36k]
  |  |  ------------------
  ------------------
18665|  2.36k|            _res = _PyAST_Starred ( a , Load , EXTRA );
  ------------------
  |  |  316|  2.36k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18666|  2.36k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18666:18): [True: 0, False: 2.36k]
  |  Branch (18666:34): [True: 0, False: 2.36k]
  |  Branch (18666:57): [True: 0, False: 0]
  ------------------
18667|      0|                p->error_indicator = 1;
18668|      0|                p->level--;
18669|      0|                return NULL;
18670|      0|            }
18671|  2.36k|            goto done;
18672|  2.36k|        }
18673|  2.18k|        p->mark = _mark;
18674|  2.18k|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
18675|  2.18k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' expression"));
18676|  2.18k|    }
18677|  2.18k|    if (p->call_invalid_rules) { // invalid_starred_expression
  ------------------
  |  Branch (18677:9): [True: 1.45k, False: 729]
  ------------------
18678|  1.45k|        if (p->error_indicator) {
  ------------------
  |  Branch (18678:13): [True: 0, False: 1.45k]
  ------------------
18679|      0|            p->level--;
18680|      0|            return NULL;
18681|      0|        }
18682|  1.45k|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression"));
18683|  1.45k|        void *invalid_starred_expression_var;
18684|  1.45k|        if (
18685|  1.45k|            (invalid_starred_expression_var = invalid_starred_expression_rule(p))  // invalid_starred_expression
  ------------------
  |  |  643|  1.45k|#define invalid_starred_expression_rule _PyPegen_invalid_starred_expression_rule
  ------------------
  |  Branch (18685:13): [True: 0, False: 1.45k]
  ------------------
18686|  1.45k|        )
18687|      0|        {
18688|      0|            D(fprintf(stderr, "%*c+ starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression"));
18689|      0|            _res = invalid_starred_expression_var;
18690|      0|            goto done;
18691|      0|        }
18692|  1.45k|        p->mark = _mark;
18693|  1.45k|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
18694|  1.45k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression"));
18695|  1.45k|    }
18696|  2.18k|    _res = NULL;
18697|  4.54k|  done:
18698|  4.54k|    p->level--;
18699|  4.54k|    return _res;
18700|  2.18k|}
_PyPegen_parse:
26414|     59|{
26415|       |    // Initialize keywords
26416|     59|    p->keywords = reserved_keywords;
26417|     59|    p->n_keyword_lists = n_keyword_lists;
26418|     59|    p->soft_keywords = soft_keywords;
26419|       |
26420|       |    // Run parser
26421|     59|    void *result = NULL;
26422|     59|    if (p->start_rule == Py_file_input) {
  ------------------
  |  |    9|     59|#define Py_file_input 257
  ------------------
  |  Branch (26422:9): [True: 0, False: 59]
  ------------------
26423|      0|        result = file_rule(p);
26424|     59|    } else if (p->start_rule == Py_single_input) {
  ------------------
  |  |    8|     59|#define Py_single_input 256
  ------------------
  |  Branch (26424:16): [True: 0, False: 59]
  ------------------
26425|      0|        result = interactive_rule(p);
26426|     59|    } else if (p->start_rule == Py_eval_input) {
  ------------------
  |  |   10|     59|#define Py_eval_input 258
  ------------------
  |  Branch (26426:16): [True: 59, False: 0]
  ------------------
26427|     59|        result = eval_rule(p);
26428|     59|    } else if (p->start_rule == Py_func_type_input) {
  ------------------
  |  |   11|      0|#define Py_func_type_input 345
  ------------------
  |  Branch (26428:16): [True: 0, False: 0]
  ------------------
26429|      0|        result = func_type_rule(p);
26430|      0|    }
26431|       |
26432|     59|    return result;
26433|     59|}
parser.c:primary_rule:
14513|  14.8k|{
14514|  14.8k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  29.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14514:9): [True: 0, False: 14.8k]
  |  Branch (14514:35): [True: 0, False: 14.8k]
  ------------------
14515|      0|        _Pypegen_stack_overflow(p);
14516|      0|    }
14517|  14.8k|    expr_ty _res = NULL;
14518|  14.8k|    if (_PyPegen_is_memoized(p, primary_type, &_res)) {
  ------------------
  |  |  221|  14.8k|#define primary_type 1132  // Left-recursive
  ------------------
  |  Branch (14518:9): [True: 11.3k, False: 3.43k]
  ------------------
14519|  11.3k|        p->level--;
14520|  11.3k|        return _res;
14521|  11.3k|    }
14522|  3.43k|    int _mark = p->mark;
14523|  3.43k|    int _resmark = p->mark;
14524|  3.43k|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, primary_type);
  ------------------
  |  |  221|  3.43k|#define primary_type 1132  // Left-recursive
  ------------------
14525|  3.43k|    if (_memo == NULL) {
  ------------------
  |  Branch (14525:9): [True: 0, False: 3.43k]
  ------------------
14526|      0|        p->level--;
14527|      0|        return NULL;
14528|      0|    }
14529|  5.17k|    while (1) {
  ------------------
  |  Branch (14529:12): [True: 5.17k, Folded]
  ------------------
14530|  5.17k|        _memo->node = _res;
14531|  5.17k|        _memo->mark = p->mark;
14532|  5.17k|        p->mark = _mark;
14533|  5.17k|        void *_raw = primary_raw(p);
14534|  5.17k|        if (p->error_indicator) {
  ------------------
  |  Branch (14534:13): [True: 490, False: 4.68k]
  ------------------
14535|    490|            p->level--;
14536|    490|            return NULL;
14537|    490|        }
14538|  4.68k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (14538:13): [True: 1.57k, False: 3.11k]
  |  Branch (14538:29): [True: 1.36k, False: 1.74k]
  ------------------
14539|  2.94k|            break;
14540|  1.74k|        _resmark = p->mark;
14541|  1.74k|        _res = _raw;
14542|  1.74k|    }
14543|  2.94k|    p->mark = _resmark;
14544|  2.94k|    p->level--;
14545|  2.94k|    return _res;
14546|  3.43k|}
parser.c:primary_raw:
14549|  5.17k|{
14550|  5.17k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  10.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14550:9): [True: 0, False: 5.17k]
  |  Branch (14550:35): [True: 0, False: 5.17k]
  ------------------
14551|      0|        _Pypegen_stack_overflow(p);
14552|      0|    }
14553|  5.17k|    if (p->error_indicator) {
  ------------------
  |  Branch (14553:9): [True: 0, False: 5.17k]
  ------------------
14554|      0|        p->level--;
14555|      0|        return NULL;
14556|      0|    }
14557|  5.17k|    expr_ty _res = NULL;
14558|  5.17k|    int _mark = p->mark;
14559|  5.17k|    expr_ty _prefix_9_result = NULL;
14560|  5.17k|    int _prefix_9_end = 0, _prefix_9_valid = 0;
14561|  5.17k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14561:9): [True: 0, False: 5.17k]
  |  Branch (14561:31): [True: 0, False: 0]
  ------------------
14562|      0|        p->error_indicator = 1;
14563|      0|        p->level--;
14564|      0|        return NULL;
14565|      0|    }
14566|  5.17k|    int _start_lineno = p->tokens[_mark]->lineno;
14567|  5.17k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  5.17k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5.17k]
  |  |  ------------------
  ------------------
14568|  5.17k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14569|  5.17k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  5.17k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5.17k]
  |  |  ------------------
  ------------------
14570|  5.17k|    { // primary '.' NAME
14571|  5.17k|        if (p->error_indicator) {
  ------------------
  |  Branch (14571:13): [True: 0, False: 5.17k]
  ------------------
14572|      0|            p->level--;
14573|      0|            return NULL;
14574|      0|        }
14575|  5.17k|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '.' NAME"));
14576|  5.17k|        Token * _literal;
14577|  5.17k|        expr_ty a;
14578|  5.17k|        expr_ty b;
14579|  5.17k|        if (
14580|  5.17k|            (a = ((!p->call_invalid_rules && _prefix_9_valid) ? (p->mark = _prefix_9_end, _prefix_9_result) : (_prefix_9_result = primary_rule(p), _prefix_9_end = p->mark, _prefix_9_valid = 1, _prefix_9_result)))  // primary
  ------------------
  |  Branch (14580:13): [True: 1.74k, False: 3.43k]
  |  Branch (14580:20): [True: 2.88k, False: 2.29k]
  |  Branch (14580:46): [True: 0, False: 2.88k]
  ------------------
14581|  1.74k|            &&
14582|  1.74k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (14582:13): [True: 0, False: 1.74k]
  ------------------
14583|      0|            &&
14584|      0|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (14584:13): [True: 0, False: 0]
  ------------------
14585|  5.17k|        )
14586|      0|        {
14587|      0|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '.' NAME"));
14588|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14589|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14589:17): [True: 0, False: 0]
  ------------------
14590|      0|                p->level--;
14591|      0|                return NULL;
14592|      0|            }
14593|      0|            int _end_lineno = _token->end_lineno;
14594|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14595|      0|            int _end_col_offset = _token->end_col_offset;
14596|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14597|      0|            _res = _PyAST_Attribute ( a , b -> v . Name . id , Load , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14598|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14598:18): [True: 0, False: 0]
  |  Branch (14598:34): [True: 0, False: 0]
  |  Branch (14598:57): [True: 0, False: 0]
  ------------------
14599|      0|                p->error_indicator = 1;
14600|      0|                p->level--;
14601|      0|                return NULL;
14602|      0|            }
14603|      0|            goto done;
14604|      0|        }
14605|  5.17k|        p->mark = _mark;
14606|  5.17k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14607|  5.17k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '.' NAME"));
14608|  5.17k|    }
14609|      0|    { // primary genexp
14610|  5.17k|        if (p->error_indicator) {
  ------------------
  |  Branch (14610:13): [True: 1, False: 5.17k]
  ------------------
14611|      1|            p->level--;
14612|      1|            return NULL;
14613|      1|        }
14614|  5.17k|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary genexp"));
14615|  5.17k|        expr_ty a;
14616|  5.17k|        expr_ty b;
14617|  5.17k|        if (
14618|  5.17k|            (a = ((!p->call_invalid_rules && _prefix_9_valid) ? (p->mark = _prefix_9_end, _prefix_9_result) : (_prefix_9_result = primary_rule(p), _prefix_9_end = p->mark, _prefix_9_valid = 1, _prefix_9_result)))  // primary
  ------------------
  |  Branch (14618:13): [True: 1.74k, False: 3.43k]
  |  Branch (14618:20): [True: 2.87k, False: 2.29k]
  |  Branch (14618:46): [True: 2.87k, False: 0]
  ------------------
14619|  1.74k|            &&
14620|  1.74k|            (b = genexp_rule(p))  // genexp
  ------------------
  |  |  521|  1.74k|#define genexp_rule _PyPegen_genexp_rule
  ------------------
  |  Branch (14620:13): [True: 0, False: 1.74k]
  ------------------
14621|  5.17k|        )
14622|      0|        {
14623|      0|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary genexp"));
14624|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14625|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14625:17): [True: 0, False: 0]
  ------------------
14626|      0|                p->level--;
14627|      0|                return NULL;
14628|      0|            }
14629|      0|            int _end_lineno = _token->end_lineno;
14630|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14631|      0|            int _end_col_offset = _token->end_col_offset;
14632|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14633|      0|            _res = _PyAST_Call ( a , CHECK ( asdl_expr_seq* , ( asdl_expr_seq* ) _PyPegen_singleton_seq ( p , b ) ) , NULL , EXTRA );
  ------------------
  |  |  280|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Call ( a , CHECK ( asdl_expr_seq* , ( asdl_expr_seq* ) _PyPegen_singleton_seq ( p , b ) ) , NULL , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14634|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14634:18): [True: 0, False: 0]
  |  Branch (14634:34): [True: 0, False: 0]
  |  Branch (14634:57): [True: 0, False: 0]
  ------------------
14635|      0|                p->error_indicator = 1;
14636|      0|                p->level--;
14637|      0|                return NULL;
14638|      0|            }
14639|      0|            goto done;
14640|      0|        }
14641|  5.17k|        p->mark = _mark;
14642|  5.17k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14643|  5.17k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary genexp"));
14644|  5.17k|    }
14645|      0|    { // primary '(' arguments? ')'
14646|  5.17k|        if (p->error_indicator) {
  ------------------
  |  Branch (14646:13): [True: 368, False: 4.80k]
  ------------------
14647|    368|            p->level--;
14648|    368|            return NULL;
14649|    368|        }
14650|  4.80k|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '(' arguments? ')'"));
14651|  4.80k|        Token * _literal;
14652|  4.80k|        Token * _literal_1;
14653|  4.80k|        expr_ty a;
14654|  4.80k|        void *b;
14655|  4.80k|        if (
14656|  4.80k|            (a = ((!p->call_invalid_rules && _prefix_9_valid) ? (p->mark = _prefix_9_end, _prefix_9_result) : (_prefix_9_result = primary_rule(p), _prefix_9_end = p->mark, _prefix_9_valid = 1, _prefix_9_result)))  // primary
  ------------------
  |  Branch (14656:13): [True: 1.37k, False: 3.43k]
  |  Branch (14656:20): [True: 2.84k, False: 1.96k]
  |  Branch (14656:46): [True: 2.84k, False: 0]
  ------------------
14657|  1.37k|            &&
14658|  1.37k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (14658:13): [True: 917, False: 457]
  ------------------
14659|    917|            &&
14660|    917|            (b = arguments_rule(p), !p->error_indicator)  // arguments?
  ------------------
  |  |  523|    917|#define arguments_rule _PyPegen_arguments_rule
  ------------------
  |  Branch (14660:13): [True: 914, False: 3]
  ------------------
14661|    914|            &&
14662|    914|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (14662:13): [True: 2, False: 912]
  ------------------
14663|  4.80k|        )
14664|      2|        {
14665|      2|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '(' arguments? ')'"));
14666|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14667|      2|            if (_token == NULL) {
  ------------------
  |  Branch (14667:17): [True: 0, False: 2]
  ------------------
14668|      0|                p->level--;
14669|      0|                return NULL;
14670|      0|            }
14671|      2|            int _end_lineno = _token->end_lineno;
14672|      2|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
14673|      2|            int _end_col_offset = _token->end_col_offset;
14674|      2|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
14675|      2|            _res = _PyAST_Call ( a , ( b ) ? ( ( expr_ty ) b ) -> v . Call . args : NULL , ( b ) ? ( ( expr_ty ) b ) -> v . Call . keywords : NULL , EXTRA );
  ------------------
  |  |  316|      2|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (14675:38): [True: 2, False: 0]
  |  Branch (14675:92): [True: 2, False: 0]
  ------------------
14676|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14676:18): [True: 0, False: 2]
  |  Branch (14676:34): [True: 0, False: 2]
  |  Branch (14676:57): [True: 0, False: 0]
  ------------------
14677|      0|                p->error_indicator = 1;
14678|      0|                p->level--;
14679|      0|                return NULL;
14680|      0|            }
14681|      2|            goto done;
14682|      2|        }
14683|  4.80k|        p->mark = _mark;
14684|  4.80k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14685|  4.80k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '(' arguments? ')'"));
14686|  4.80k|    }
14687|      0|    { // primary '[' slices ']'
14688|  4.80k|        if (p->error_indicator) {
  ------------------
  |  Branch (14688:13): [True: 3, False: 4.80k]
  ------------------
14689|      3|            p->level--;
14690|      3|            return NULL;
14691|      3|        }
14692|  4.80k|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '[' slices ']'"));
14693|  4.80k|        Token * _literal;
14694|  4.80k|        Token * _literal_1;
14695|  4.80k|        expr_ty a;
14696|  4.80k|        expr_ty b;
14697|  4.80k|        if (
14698|  4.80k|            (a = ((!p->call_invalid_rules && _prefix_9_valid) ? (p->mark = _prefix_9_end, _prefix_9_result) : (_prefix_9_result = primary_rule(p), _prefix_9_end = p->mark, _prefix_9_valid = 1, _prefix_9_result)))  // primary
  ------------------
  |  Branch (14698:13): [True: 1.36k, False: 3.43k]
  |  Branch (14698:20): [True: 2.84k, False: 1.96k]
  |  Branch (14698:46): [True: 2.84k, False: 0]
  ------------------
14699|  1.36k|            &&
14700|  1.36k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (14700:13): [True: 0, False: 1.36k]
  ------------------
14701|      0|            &&
14702|      0|            (b = slices_rule(p))  // slices
  ------------------
  |  Branch (14702:13): [True: 0, False: 0]
  ------------------
14703|      0|            &&
14704|      0|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (14704:13): [True: 0, False: 0]
  ------------------
14705|  4.80k|        )
14706|      0|        {
14707|      0|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '[' slices ']'"));
14708|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14709|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14709:17): [True: 0, False: 0]
  ------------------
14710|      0|                p->level--;
14711|      0|                return NULL;
14712|      0|            }
14713|      0|            int _end_lineno = _token->end_lineno;
14714|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14715|      0|            int _end_col_offset = _token->end_col_offset;
14716|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14717|      0|            _res = _PyAST_Subscript ( a , b , Load , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14718|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14718:18): [True: 0, False: 0]
  |  Branch (14718:34): [True: 0, False: 0]
  |  Branch (14718:57): [True: 0, False: 0]
  ------------------
14719|      0|                p->error_indicator = 1;
14720|      0|                p->level--;
14721|      0|                return NULL;
14722|      0|            }
14723|      0|            goto done;
14724|      0|        }
14725|  4.80k|        p->mark = _mark;
14726|  4.80k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14727|  4.80k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '[' slices ']'"));
14728|  4.80k|    }
14729|      0|    { // atom
14730|  4.80k|        if (p->error_indicator) {
  ------------------
  |  Branch (14730:13): [True: 0, False: 4.80k]
  ------------------
14731|      0|            p->level--;
14732|      0|            return NULL;
14733|      0|        }
14734|  4.80k|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "atom"));
14735|  4.80k|        expr_ty atom_var;
14736|  4.80k|        if (
14737|  4.80k|            (atom_var = atom_rule(p))  // atom
  ------------------
  |  Branch (14737:13): [True: 3.11k, False: 1.69k]
  ------------------
14738|  4.80k|        )
14739|  3.11k|        {
14740|  3.11k|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "atom"));
14741|  3.11k|            _res = atom_var;
14742|  3.11k|            goto done;
14743|  3.11k|        }
14744|  1.69k|        p->mark = _mark;
14745|  1.69k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14746|  1.69k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "atom"));
14747|  1.69k|    }
14748|  1.69k|    _res = NULL;
14749|  4.80k|  done:
14750|  4.80k|    p->level--;
14751|  4.80k|    return _res;
14752|  1.69k|}
parser.c:atom_rule:
14952|  4.80k|{
14953|  4.80k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  9.60k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14953:9): [True: 0, False: 4.80k]
  |  Branch (14953:35): [True: 0, False: 4.80k]
  ------------------
14954|      0|        _Pypegen_stack_overflow(p);
14955|      0|    }
14956|  4.80k|    if (p->error_indicator) {
  ------------------
  |  Branch (14956:9): [True: 0, False: 4.80k]
  ------------------
14957|      0|        p->level--;
14958|      0|        return NULL;
14959|      0|    }
14960|  4.80k|    expr_ty _res = NULL;
14961|  4.80k|    int _mark = p->mark;
14962|  4.80k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14962:9): [True: 0, False: 4.80k]
  |  Branch (14962:31): [True: 0, False: 0]
  ------------------
14963|      0|        p->error_indicator = 1;
14964|      0|        p->level--;
14965|      0|        return NULL;
14966|      0|    }
14967|  4.80k|    int _start_lineno = p->tokens[_mark]->lineno;
14968|  4.80k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.80k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.80k]
  |  |  ------------------
  ------------------
14969|  4.80k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14970|  4.80k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.80k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.80k]
  |  |  ------------------
  ------------------
14971|  4.80k|    { // NAME
14972|  4.80k|        if (p->error_indicator) {
  ------------------
  |  Branch (14972:13): [True: 0, False: 4.80k]
  ------------------
14973|      0|            p->level--;
14974|      0|            return NULL;
14975|      0|        }
14976|  4.80k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
14977|  4.80k|        expr_ty name_var;
14978|  4.80k|        if (
14979|  4.80k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (14979:13): [True: 1.71k, False: 3.08k]
  ------------------
14980|  4.80k|        )
14981|  1.71k|        {
14982|  1.71k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
14983|  1.71k|            _res = name_var;
14984|  1.71k|            goto done;
14985|  1.71k|        }
14986|  3.08k|        p->mark = _mark;
14987|  3.08k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
14988|  3.08k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
14989|  3.08k|    }
14990|      0|    { // 'True'
14991|  3.08k|        if (p->error_indicator) {
  ------------------
  |  Branch (14991:13): [True: 0, False: 3.08k]
  ------------------
14992|      0|            p->level--;
14993|      0|            return NULL;
14994|      0|        }
14995|  3.08k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True'"));
14996|  3.08k|        Token * _keyword;
14997|  3.08k|        if (
14998|  3.08k|            (_keyword = _PyPegen_expect_token(p, 527))  // token='True'
  ------------------
  |  Branch (14998:13): [True: 0, False: 3.08k]
  ------------------
14999|  3.08k|        )
15000|      0|        {
15001|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True'"));
15002|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15003|      0|            if (_token == NULL) {
  ------------------
  |  Branch (15003:17): [True: 0, False: 0]
  ------------------
15004|      0|                p->level--;
15005|      0|                return NULL;
15006|      0|            }
15007|      0|            int _end_lineno = _token->end_lineno;
15008|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15009|      0|            int _end_col_offset = _token->end_col_offset;
15010|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15011|      0|            _res = _PyAST_Constant ( Py_True , NULL , EXTRA );
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = _PyAST_Constant ( Py_True , NULL , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15012|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15012:18): [True: 0, False: 0]
  |  Branch (15012:34): [True: 0, False: 0]
  |  Branch (15012:57): [True: 0, False: 0]
  ------------------
15013|      0|                p->error_indicator = 1;
15014|      0|                p->level--;
15015|      0|                return NULL;
15016|      0|            }
15017|      0|            goto done;
15018|      0|        }
15019|  3.08k|        p->mark = _mark;
15020|  3.08k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15021|  3.08k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True'"));
15022|  3.08k|    }
15023|      0|    { // 'False'
15024|  3.08k|        if (p->error_indicator) {
  ------------------
  |  Branch (15024:13): [True: 0, False: 3.08k]
  ------------------
15025|      0|            p->level--;
15026|      0|            return NULL;
15027|      0|        }
15028|  3.08k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False'"));
15029|  3.08k|        Token * _keyword;
15030|  3.08k|        if (
15031|  3.08k|            (_keyword = _PyPegen_expect_token(p, 528))  // token='False'
  ------------------
  |  Branch (15031:13): [True: 0, False: 3.08k]
  ------------------
15032|  3.08k|        )
15033|      0|        {
15034|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False'"));
15035|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15036|      0|            if (_token == NULL) {
  ------------------
  |  Branch (15036:17): [True: 0, False: 0]
  ------------------
15037|      0|                p->level--;
15038|      0|                return NULL;
15039|      0|            }
15040|      0|            int _end_lineno = _token->end_lineno;
15041|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15042|      0|            int _end_col_offset = _token->end_col_offset;
15043|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15044|      0|            _res = _PyAST_Constant ( Py_False , NULL , EXTRA );
  ------------------
  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = _PyAST_Constant ( Py_False , NULL , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15045|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15045:18): [True: 0, False: 0]
  |  Branch (15045:34): [True: 0, False: 0]
  |  Branch (15045:57): [True: 0, False: 0]
  ------------------
15046|      0|                p->error_indicator = 1;
15047|      0|                p->level--;
15048|      0|                return NULL;
15049|      0|            }
15050|      0|            goto done;
15051|      0|        }
15052|  3.08k|        p->mark = _mark;
15053|  3.08k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15054|  3.08k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False'"));
15055|  3.08k|    }
15056|      0|    { // 'None'
15057|  3.08k|        if (p->error_indicator) {
  ------------------
  |  Branch (15057:13): [True: 0, False: 3.08k]
  ------------------
15058|      0|            p->level--;
15059|      0|            return NULL;
15060|      0|        }
15061|  3.08k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None'"));
15062|  3.08k|        Token * _keyword;
15063|  3.08k|        if (
15064|  3.08k|            (_keyword = _PyPegen_expect_token(p, 526))  // token='None'
  ------------------
  |  Branch (15064:13): [True: 0, False: 3.08k]
  ------------------
15065|  3.08k|        )
15066|      0|        {
15067|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None'"));
15068|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15069|      0|            if (_token == NULL) {
  ------------------
  |  Branch (15069:17): [True: 0, False: 0]
  ------------------
15070|      0|                p->level--;
15071|      0|                return NULL;
15072|      0|            }
15073|      0|            int _end_lineno = _token->end_lineno;
15074|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15075|      0|            int _end_col_offset = _token->end_col_offset;
15076|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15077|      0|            _res = _PyAST_Constant ( Py_None , NULL , EXTRA );
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
                          _res = _PyAST_Constant ( Py_None , NULL , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15078|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15078:18): [True: 0, False: 0]
  |  Branch (15078:34): [True: 0, False: 0]
  |  Branch (15078:57): [True: 0, False: 0]
  ------------------
15079|      0|                p->error_indicator = 1;
15080|      0|                p->level--;
15081|      0|                return NULL;
15082|      0|            }
15083|      0|            goto done;
15084|      0|        }
15085|  3.08k|        p->mark = _mark;
15086|  3.08k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15087|  3.08k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None'"));
15088|  3.08k|    }
15089|      0|    { // &(STRING | FSTRING_START | TSTRING_START) strings
15090|  3.08k|        if (p->error_indicator) {
  ------------------
  |  Branch (15090:13): [True: 0, False: 3.08k]
  ------------------
15091|      0|            p->level--;
15092|      0|            return NULL;
15093|      0|        }
15094|  3.08k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15095|  3.08k|        expr_ty strings_var;
15096|  3.08k|        if (
15097|  3.08k|            _PyPegen_lookahead(1, _tmp_42_rule, p)
  ------------------
  |  Branch (15097:13): [True: 960, False: 2.12k]
  ------------------
15098|    960|            &&
15099|    960|            (strings_var = strings_rule(p))  // strings
  ------------------
  |  Branch (15099:13): [True: 956, False: 4]
  ------------------
15100|  3.08k|        )
15101|    956|        {
15102|    956|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15103|    956|            _res = strings_var;
15104|    956|            goto done;
15105|    956|        }
15106|  2.13k|        p->mark = _mark;
15107|  2.13k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15108|  2.13k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15109|  2.13k|    }
15110|      0|    { // NUMBER
15111|  2.13k|        if (p->error_indicator) {
  ------------------
  |  Branch (15111:13): [True: 4, False: 2.12k]
  ------------------
15112|      4|            p->level--;
15113|      4|            return NULL;
15114|      4|        }
15115|  2.12k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NUMBER"));
15116|  2.12k|        expr_ty number_var;
15117|  2.12k|        if (
15118|  2.12k|            (number_var = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (15118:13): [True: 433, False: 1.69k]
  ------------------
15119|  2.12k|        )
15120|    433|        {
15121|    433|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NUMBER"));
15122|    433|            _res = number_var;
15123|    433|            goto done;
15124|    433|        }
15125|  1.69k|        p->mark = _mark;
15126|  1.69k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15127|  1.69k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NUMBER"));
15128|  1.69k|    }
15129|      0|    { // &'(' (genexp | tuple | group)
15130|  1.69k|        if (p->error_indicator) {
  ------------------
  |  Branch (15130:13): [True: 0, False: 1.69k]
  ------------------
15131|      0|            p->level--;
15132|      0|            return NULL;
15133|      0|        }
15134|  1.69k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'(' (genexp | tuple | group)"));
15135|  1.69k|        void *_tmp_66_var;
15136|  1.69k|        if (
15137|  1.69k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 7)  // token='('
  ------------------
  |  Branch (15137:13): [True: 739, False: 956]
  ------------------
15138|    739|            &&
15139|    739|            (_tmp_66_var = _tmp_66_rule(p))  // genexp | tuple | group
  ------------------
  |  Branch (15139:13): [True: 4, False: 735]
  ------------------
15140|  1.69k|        )
15141|      4|        {
15142|      4|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'(' (genexp | tuple | group)"));
15143|      4|            _res = _tmp_66_var;
15144|      4|            goto done;
15145|      4|        }
15146|  1.69k|        p->mark = _mark;
15147|  1.69k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15148|  1.69k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'(' (genexp | tuple | group)"));
15149|  1.69k|    }
15150|      0|    { // &'[' (listcomp | list)
15151|  1.69k|        if (p->error_indicator) {
  ------------------
  |  Branch (15151:13): [True: 105, False: 1.58k]
  ------------------
15152|    105|            p->level--;
15153|    105|            return NULL;
15154|    105|        }
15155|  1.58k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'[' (listcomp | list)"));
15156|  1.58k|        void *_tmp_67_var;
15157|  1.58k|        if (
15158|  1.58k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 9)  // token='['
  ------------------
  |  Branch (15158:13): [True: 36, False: 1.55k]
  ------------------
15159|     36|            &&
15160|     36|            (_tmp_67_var = _tmp_67_rule(p))  // listcomp | list
  ------------------
  |  Branch (15160:13): [True: 0, False: 36]
  ------------------
15161|  1.58k|        )
15162|      0|        {
15163|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'[' (listcomp | list)"));
15164|      0|            _res = _tmp_67_var;
15165|      0|            goto done;
15166|      0|        }
15167|  1.58k|        p->mark = _mark;
15168|  1.58k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15169|  1.58k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'[' (listcomp | list)"));
15170|  1.58k|    }
15171|      0|    { // &'{' (dictcomp | setcomp | dict | set)
15172|  1.58k|        if (p->error_indicator) {
  ------------------
  |  Branch (15172:13): [True: 9, False: 1.57k]
  ------------------
15173|      9|            p->level--;
15174|      9|            return NULL;
15175|      9|        }
15176|  1.57k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15177|  1.57k|        void *_tmp_68_var;
15178|  1.57k|        if (
15179|  1.57k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 25)  // token='{'
  ------------------
  |  Branch (15179:13): [True: 2, False: 1.57k]
  ------------------
15180|      2|            &&
15181|      2|            (_tmp_68_var = _tmp_68_rule(p))  // dictcomp | setcomp | dict | set
  ------------------
  |  Branch (15181:13): [True: 2, False: 0]
  ------------------
15182|  1.57k|        )
15183|      2|        {
15184|      2|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15185|      2|            _res = _tmp_68_var;
15186|      2|            goto done;
15187|      2|        }
15188|  1.57k|        p->mark = _mark;
15189|  1.57k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15190|  1.57k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15191|  1.57k|    }
15192|      0|    { // '...'
15193|  1.57k|        if (p->error_indicator) {
  ------------------
  |  Branch (15193:13): [True: 0, False: 1.57k]
  ------------------
15194|      0|            p->level--;
15195|      0|            return NULL;
15196|      0|        }
15197|  1.57k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'...'"));
15198|  1.57k|        Token * _literal;
15199|  1.57k|        if (
15200|  1.57k|            (_literal = _PyPegen_expect_token(p, 52))  // token='...'
  ------------------
  |  Branch (15200:13): [True: 0, False: 1.57k]
  ------------------
15201|  1.57k|        )
15202|      0|        {
15203|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'...'"));
15204|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15205|      0|            if (_token == NULL) {
  ------------------
  |  Branch (15205:17): [True: 0, False: 0]
  ------------------
15206|      0|                p->level--;
15207|      0|                return NULL;
15208|      0|            }
15209|      0|            int _end_lineno = _token->end_lineno;
15210|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15211|      0|            int _end_col_offset = _token->end_col_offset;
15212|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15213|      0|            _res = _PyAST_Constant ( Py_Ellipsis , NULL , EXTRA );
  ------------------
  |  |   14|      0|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
                          _res = _PyAST_Constant ( Py_Ellipsis , NULL , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15214|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15214:18): [True: 0, False: 0]
  |  Branch (15214:34): [True: 0, False: 0]
  |  Branch (15214:57): [True: 0, False: 0]
  ------------------
15215|      0|                p->error_indicator = 1;
15216|      0|                p->level--;
15217|      0|                return NULL;
15218|      0|            }
15219|      0|            goto done;
15220|      0|        }
15221|  1.57k|        p->mark = _mark;
15222|  1.57k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15223|  1.57k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'...'"));
15224|  1.57k|    }
15225|  1.57k|    _res = NULL;
15226|  4.68k|  done:
15227|  4.68k|    p->level--;
15228|  4.68k|    return _res;
15229|  1.57k|}
parser.c:_tmp_42_rule:
22114|  3.08k|{
22115|  3.08k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  6.17k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22115:9): [True: 0, False: 3.08k]
  |  Branch (22115:35): [True: 0, False: 3.08k]
  ------------------
22116|      0|        _Pypegen_stack_overflow(p);
22117|      0|    }
22118|  3.08k|    if (p->error_indicator) {
  ------------------
  |  Branch (22118:9): [True: 0, False: 3.08k]
  ------------------
22119|      0|        p->level--;
22120|      0|        return NULL;
22121|      0|    }
22122|  3.08k|    void * _res = NULL;
22123|  3.08k|    int _mark = p->mark;
22124|  3.08k|    { // STRING
22125|  3.08k|        if (p->error_indicator) {
  ------------------
  |  Branch (22125:13): [True: 0, False: 3.08k]
  ------------------
22126|      0|            p->level--;
22127|      0|            return NULL;
22128|      0|        }
22129|  3.08k|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "STRING"));
22130|  3.08k|        expr_ty string_var;
22131|  3.08k|        if (
22132|  3.08k|            (string_var = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (22132:13): [True: 951, False: 2.13k]
  ------------------
22133|  3.08k|        )
22134|    951|        {
22135|    951|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "STRING"));
22136|    951|            _res = string_var;
22137|    951|            goto done;
22138|    951|        }
22139|  2.13k|        p->mark = _mark;
22140|  2.13k|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
22141|  2.13k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "STRING"));
22142|  2.13k|    }
22143|      0|    { // FSTRING_START
22144|  2.13k|        if (p->error_indicator) {
  ------------------
  |  Branch (22144:13): [True: 0, False: 2.13k]
  ------------------
22145|      0|            p->level--;
22146|      0|            return NULL;
22147|      0|        }
22148|  2.13k|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "FSTRING_START"));
22149|  2.13k|        Token * fstring_start_var;
22150|  2.13k|        if (
22151|  2.13k|            (fstring_start_var = _PyPegen_expect_token(p, FSTRING_START))  // token='FSTRING_START'
  ------------------
  |  |   75|  2.13k|#define FSTRING_START   59
  ------------------
  |  Branch (22151:13): [True: 0, False: 2.13k]
  ------------------
22152|  2.13k|        )
22153|      0|        {
22154|      0|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "FSTRING_START"));
22155|      0|            _res = fstring_start_var;
22156|      0|            goto done;
22157|      0|        }
22158|  2.13k|        p->mark = _mark;
22159|  2.13k|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
22160|  2.13k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "FSTRING_START"));
22161|  2.13k|    }
22162|      0|    { // TSTRING_START
22163|  2.13k|        if (p->error_indicator) {
  ------------------
  |  Branch (22163:13): [True: 0, False: 2.13k]
  ------------------
22164|      0|            p->level--;
22165|      0|            return NULL;
22166|      0|        }
22167|  2.13k|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TSTRING_START"));
22168|  2.13k|        Token * tstring_start_var;
22169|  2.13k|        if (
22170|  2.13k|            (tstring_start_var = _PyPegen_expect_token(p, TSTRING_START))  // token='TSTRING_START'
  ------------------
  |  |   78|  2.13k|#define TSTRING_START   62
  ------------------
  |  Branch (22170:13): [True: 9, False: 2.12k]
  ------------------
22171|  2.13k|        )
22172|      9|        {
22173|      9|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TSTRING_START"));
22174|      9|            _res = tstring_start_var;
22175|      9|            goto done;
22176|      9|        }
22177|  2.12k|        p->mark = _mark;
22178|  2.12k|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
22179|  2.12k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TSTRING_START"));
22180|  2.12k|    }
22181|  2.12k|    _res = NULL;
22182|  3.08k|  done:
22183|  3.08k|    p->level--;
22184|  3.08k|    return _res;
22185|  2.12k|}
parser.c:strings_rule:
17108|    960|{
17109|    960|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.92k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17109:9): [True: 0, False: 960]
  |  Branch (17109:35): [True: 0, False: 960]
  ------------------
17110|      0|        _Pypegen_stack_overflow(p);
17111|      0|    }
17112|    960|    if (p->error_indicator) {
  ------------------
  |  Branch (17112:9): [True: 0, False: 960]
  ------------------
17113|      0|        p->level--;
17114|      0|        return NULL;
17115|      0|    }
17116|    960|    expr_ty _res = NULL;
17117|    960|    if (_PyPegen_is_memoized(p, strings_type, &_res)) {
  ------------------
  |  |  250|    960|#define strings_type 1161
  ------------------
  |  Branch (17117:9): [True: 406, False: 554]
  ------------------
17118|    406|        p->level--;
17119|    406|        return _res;
17120|    406|    }
17121|    554|    int _mark = p->mark;
17122|    554|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17122:9): [True: 0, False: 554]
  |  Branch (17122:31): [True: 0, False: 0]
  ------------------
17123|      0|        p->error_indicator = 1;
17124|      0|        p->level--;
17125|      0|        return NULL;
17126|      0|    }
17127|    554|    int _start_lineno = p->tokens[_mark]->lineno;
17128|    554|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    554|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 554]
  |  |  ------------------
  ------------------
17129|    554|    int _start_col_offset = p->tokens[_mark]->col_offset;
17130|    554|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    554|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 554]
  |  |  ------------------
  ------------------
17131|    554|    if (p->call_invalid_rules) { // invalid_string_tstring_concat
  ------------------
  |  Branch (17131:9): [True: 270, False: 284]
  ------------------
17132|    270|        if (p->error_indicator) {
  ------------------
  |  Branch (17132:13): [True: 0, False: 270]
  ------------------
17133|      0|            p->level--;
17134|      0|            return NULL;
17135|      0|        }
17136|    270|        D(fprintf(stderr, "%*c> strings[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_string_tstring_concat"));
17137|    270|        void *invalid_string_tstring_concat_var;
17138|    270|        if (
17139|    270|            (invalid_string_tstring_concat_var = invalid_string_tstring_concat_rule(p))  // invalid_string_tstring_concat
  ------------------
  |  |  649|    270|#define invalid_string_tstring_concat_rule _PyPegen_invalid_string_tstring_concat_rule
  ------------------
  |  Branch (17139:13): [True: 0, False: 270]
  ------------------
17140|    270|        )
17141|      0|        {
17142|      0|            D(fprintf(stderr, "%*c+ strings[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_string_tstring_concat"));
17143|      0|            _res = invalid_string_tstring_concat_var;
17144|      0|            goto done;
17145|      0|        }
17146|    270|        p->mark = _mark;
17147|    270|        D(fprintf(stderr, "%*c%s strings[%d-%d]: %s failed!\n", p->level, ' ',
17148|    270|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_string_tstring_concat"));
17149|    270|    }
17150|    554|    { // ((fstring | string))+
17151|    554|        if (p->error_indicator) {
  ------------------
  |  Branch (17151:13): [True: 0, False: 554]
  ------------------
17152|      0|            p->level--;
17153|      0|            return NULL;
17154|      0|        }
17155|    554|        D(fprintf(stderr, "%*c> strings[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((fstring | string))+"));
17156|    554|        asdl_expr_seq* a;
17157|    554|        if (
17158|    554|            (a = (asdl_expr_seq*)_loop1_80_rule(p))  // ((fstring | string))+
  ------------------
  |  Branch (17158:13): [True: 546, False: 8]
  ------------------
17159|    554|        )
17160|    546|        {
17161|    546|            D(fprintf(stderr, "%*c+ strings[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((fstring | string))+"));
17162|    546|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17163|    546|            if (_token == NULL) {
  ------------------
  |  Branch (17163:17): [True: 0, False: 546]
  ------------------
17164|      0|                p->level--;
17165|      0|                return NULL;
17166|      0|            }
17167|    546|            int _end_lineno = _token->end_lineno;
17168|    546|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    546|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 546]
  |  |  ------------------
  ------------------
17169|    546|            int _end_col_offset = _token->end_col_offset;
17170|    546|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    546|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 546]
  |  |  ------------------
  ------------------
17171|    546|            _res = _PyPegen_concatenate_strings ( p , a , EXTRA );
  ------------------
  |  |  316|    546|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17172|    546|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17172:18): [True: 0, False: 546]
  |  Branch (17172:34): [True: 0, False: 546]
  |  Branch (17172:57): [True: 0, False: 0]
  ------------------
17173|      0|                p->error_indicator = 1;
17174|      0|                p->level--;
17175|      0|                return NULL;
17176|      0|            }
17177|    546|            goto done;
17178|    546|        }
17179|      8|        p->mark = _mark;
17180|      8|        D(fprintf(stderr, "%*c%s strings[%d-%d]: %s failed!\n", p->level, ' ',
17181|      8|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((fstring | string))+"));
17182|      8|    }
17183|      0|    { // tstring+
17184|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (17184:13): [True: 3, False: 5]
  ------------------
17185|      3|            p->level--;
17186|      3|            return NULL;
17187|      3|        }
17188|      5|        D(fprintf(stderr, "%*c> strings[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring+"));
17189|      5|        asdl_expr_seq* a;
17190|      5|        if (
17191|      5|            (a = (asdl_expr_seq*)_loop1_81_rule(p))  // tstring+
  ------------------
  |  Branch (17191:13): [True: 4, False: 1]
  ------------------
17192|      5|        )
17193|      4|        {
17194|      4|            D(fprintf(stderr, "%*c+ strings[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tstring+"));
17195|      4|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17196|      4|            if (_token == NULL) {
  ------------------
  |  Branch (17196:17): [True: 0, False: 4]
  ------------------
17197|      0|                p->level--;
17198|      0|                return NULL;
17199|      0|            }
17200|      4|            int _end_lineno = _token->end_lineno;
17201|      4|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
17202|      4|            int _end_col_offset = _token->end_col_offset;
17203|      4|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
17204|      4|            _res = _PyPegen_concatenate_tstrings ( p , a , EXTRA );
  ------------------
  |  |  316|      4|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17205|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17205:18): [True: 0, False: 4]
  |  Branch (17205:34): [True: 0, False: 4]
  |  Branch (17205:57): [True: 0, False: 0]
  ------------------
17206|      0|                p->error_indicator = 1;
17207|      0|                p->level--;
17208|      0|                return NULL;
17209|      0|            }
17210|      4|            goto done;
17211|      4|        }
17212|      1|        p->mark = _mark;
17213|      1|        D(fprintf(stderr, "%*c%s strings[%d-%d]: %s failed!\n", p->level, ' ',
17214|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring+"));
17215|      1|    }
17216|      1|    _res = NULL;
17217|    551|  done:
17218|    551|    _PyPegen_insert_memo(p, _mark, strings_type, _res);
  ------------------
  |  |  250|    551|#define strings_type 1161
  ------------------
17219|    551|    p->level--;
17220|    551|    return _res;
17221|      1|}
parser.c:_loop1_80_rule:
24363|    554|{
24364|    554|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.10k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24364:9): [True: 0, False: 554]
  |  Branch (24364:35): [True: 0, False: 554]
  ------------------
24365|      0|        _Pypegen_stack_overflow(p);
24366|      0|    }
24367|    554|    if (p->error_indicator) {
  ------------------
  |  Branch (24367:9): [True: 0, False: 554]
  ------------------
24368|      0|        p->level--;
24369|      0|        return NULL;
24370|      0|    }
24371|    554|    void *_res = NULL;
24372|    554|    int _mark = p->mark;
24373|    554|    void **_children = NULL;
24374|    554|    Py_ssize_t _children_capacity = 0;
24375|    554|    Py_ssize_t _n = 0;
24376|    554|    { // (fstring | string)
24377|    554|        if (p->error_indicator) {
  ------------------
  |  Branch (24377:13): [True: 0, False: 554]
  ------------------
24378|      0|            p->level--;
24379|      0|            return NULL;
24380|      0|        }
24381|    554|        D(fprintf(stderr, "%*c> _loop1_80[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(fstring | string)"));
24382|    554|        void *_tmp_185_var;
24383|    554|        while (
24384|  1.14k|            (_tmp_185_var = _tmp_185_rule(p))  // fstring | string
  ------------------
  |  Branch (24384:13): [True: 586, False: 554]
  ------------------
24385|    554|        )
24386|    586|        {
24387|    586|            _res = _tmp_185_var;
24388|    586|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24388:17): [True: 565, False: 21]
  ------------------
24389|    565|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24389:21): [True: 0, False: 565]
  ------------------
24390|      0|                    p->error_indicator = 1;
24391|      0|                    PyErr_NoMemory();
24392|      0|                    PyMem_Free(_children);
24393|      0|                    p->level--;
24394|      0|                    return NULL;
24395|      0|                }
24396|    565|            }
24397|    586|            _children[_n++] = _res;
24398|    586|            _mark = p->mark;
24399|    586|        }
24400|    554|        p->mark = _mark;
24401|    554|        D(fprintf(stderr, "%*c%s _loop1_80[%d-%d]: %s failed!\n", p->level, ' ',
24402|    554|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(fstring | string)"));
24403|    554|    }
24404|    554|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (24404:9): [True: 7, False: 547]
  |  Branch (24404:20): [True: 1, False: 546]
  ------------------
24405|      8|        PyMem_Free(_children);
24406|      8|        p->level--;
24407|      8|        return NULL;
24408|      8|    }
24409|    546|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
24410|    546|    if (!_seq) {
  ------------------
  |  Branch (24410:9): [True: 0, False: 546]
  ------------------
24411|      0|        p->error_indicator = 1;
24412|      0|        PyErr_NoMemory();
24413|      0|        PyMem_Free(_children);
24414|      0|        p->level--;
24415|      0|        return NULL;
24416|      0|    }
24417|  1.12k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    582|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  1.12k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24417:28): [True: 582, False: 546]
  ------------------
24418|    546|    PyMem_Free(_children);
24419|    546|    p->level--;
24420|    546|    return _seq;
24421|    546|}
parser.c:_tmp_185_rule:
26148|  1.14k|{
26149|  1.14k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.28k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26149:9): [True: 0, False: 1.14k]
  |  Branch (26149:35): [True: 0, False: 1.14k]
  ------------------
26150|      0|        _Pypegen_stack_overflow(p);
26151|      0|    }
26152|  1.14k|    if (p->error_indicator) {
  ------------------
  |  Branch (26152:9): [True: 0, False: 1.14k]
  ------------------
26153|      0|        p->level--;
26154|      0|        return NULL;
26155|      0|    }
26156|  1.14k|    void * _res = NULL;
26157|  1.14k|    int _mark = p->mark;
26158|  1.14k|    { // fstring
26159|  1.14k|        if (p->error_indicator) {
  ------------------
  |  Branch (26159:13): [True: 0, False: 1.14k]
  ------------------
26160|      0|            p->level--;
26161|      0|            return NULL;
26162|      0|        }
26163|  1.14k|        D(fprintf(stderr, "%*c> _tmp_185[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring"));
26164|  1.14k|        expr_ty fstring_var;
26165|  1.14k|        if (
26166|  1.14k|            (fstring_var = fstring_rule(p))  // fstring
  ------------------
  |  |  507|  1.14k|#define fstring_rule _PyPegen_fstring_rule
  ------------------
  |  Branch (26166:13): [True: 0, False: 1.14k]
  ------------------
26167|  1.14k|        )
26168|      0|        {
26169|      0|            D(fprintf(stderr, "%*c+ _tmp_185[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "fstring"));
26170|      0|            _res = fstring_var;
26171|      0|            goto done;
26172|      0|        }
26173|  1.14k|        p->mark = _mark;
26174|  1.14k|        D(fprintf(stderr, "%*c%s _tmp_185[%d-%d]: %s failed!\n", p->level, ' ',
26175|  1.14k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring"));
26176|  1.14k|    }
26177|      0|    { // string
26178|  1.14k|        if (p->error_indicator) {
  ------------------
  |  Branch (26178:13): [True: 1, False: 1.13k]
  ------------------
26179|      1|            p->level--;
26180|      1|            return NULL;
26181|      1|        }
26182|  1.13k|        D(fprintf(stderr, "%*c> _tmp_185[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "string"));
26183|  1.13k|        expr_ty string_var;
26184|  1.13k|        if (
26185|  1.13k|            (string_var = string_rule(p))  // string
  ------------------
  |  |  511|  1.13k|#define string_rule _PyPegen_string_rule
  ------------------
  |  Branch (26185:13): [True: 586, False: 553]
  ------------------
26186|  1.13k|        )
26187|    586|        {
26188|    586|            D(fprintf(stderr, "%*c+ _tmp_185[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "string"));
26189|    586|            _res = string_var;
26190|    586|            goto done;
26191|    586|        }
26192|    553|        p->mark = _mark;
26193|    553|        D(fprintf(stderr, "%*c%s _tmp_185[%d-%d]: %s failed!\n", p->level, ' ',
26194|    553|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "string"));
26195|    553|    }
26196|    553|    _res = NULL;
26197|  1.13k|  done:
26198|  1.13k|    p->level--;
26199|  1.13k|    return _res;
26200|    553|}
parser.c:_loop1_81_rule:
24426|      5|{
24427|      5|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     10|#  define MAXSTACK 6000
  ------------------
  |  Branch (24427:9): [True: 0, False: 5]
  |  Branch (24427:35): [True: 0, False: 5]
  ------------------
24428|      0|        _Pypegen_stack_overflow(p);
24429|      0|    }
24430|      5|    if (p->error_indicator) {
  ------------------
  |  Branch (24430:9): [True: 0, False: 5]
  ------------------
24431|      0|        p->level--;
24432|      0|        return NULL;
24433|      0|    }
24434|      5|    void *_res = NULL;
24435|      5|    int _mark = p->mark;
24436|      5|    void **_children = NULL;
24437|      5|    Py_ssize_t _children_capacity = 0;
24438|      5|    Py_ssize_t _n = 0;
24439|      5|    { // tstring
24440|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (24440:13): [True: 0, False: 5]
  ------------------
24441|      0|            p->level--;
24442|      0|            return NULL;
24443|      0|        }
24444|      5|        D(fprintf(stderr, "%*c> _loop1_81[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring"));
24445|      5|        expr_ty tstring_var;
24446|      5|        while (
24447|      9|            (tstring_var = tstring_rule(p))  // tstring
  ------------------
  |  |  509|      9|#define tstring_rule _PyPegen_tstring_rule
  ------------------
  |  Branch (24447:13): [True: 4, False: 5]
  ------------------
24448|      5|        )
24449|      4|        {
24450|      4|            _res = tstring_var;
24451|      4|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24451:17): [True: 4, False: 0]
  ------------------
24452|      4|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24452:21): [True: 0, False: 4]
  ------------------
24453|      0|                    p->error_indicator = 1;
24454|      0|                    PyErr_NoMemory();
24455|      0|                    PyMem_Free(_children);
24456|      0|                    p->level--;
24457|      0|                    return NULL;
24458|      0|                }
24459|      4|            }
24460|      4|            _children[_n++] = _res;
24461|      4|            _mark = p->mark;
24462|      4|        }
24463|      5|        p->mark = _mark;
24464|      5|        D(fprintf(stderr, "%*c%s _loop1_81[%d-%d]: %s failed!\n", p->level, ' ',
24465|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring"));
24466|      5|    }
24467|      5|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (24467:9): [True: 1, False: 4]
  |  Branch (24467:20): [True: 0, False: 4]
  ------------------
24468|      1|        PyMem_Free(_children);
24469|      1|        p->level--;
24470|      1|        return NULL;
24471|      1|    }
24472|      4|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
24473|      4|    if (!_seq) {
  ------------------
  |  Branch (24473:9): [True: 0, False: 4]
  ------------------
24474|      0|        p->error_indicator = 1;
24475|      0|        PyErr_NoMemory();
24476|      0|        PyMem_Free(_children);
24477|      0|        p->level--;
24478|      0|        return NULL;
24479|      0|    }
24480|      8|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      4|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24480:28): [True: 4, False: 4]
  ------------------
24481|      4|    PyMem_Free(_children);
24482|      4|    p->level--;
24483|      4|    return _seq;
24484|      4|}
parser.c:_tmp_66_rule:
23483|    739|{
23484|    739|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.47k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23484:9): [True: 0, False: 739]
  |  Branch (23484:35): [True: 0, False: 739]
  ------------------
23485|      0|        _Pypegen_stack_overflow(p);
23486|      0|    }
23487|    739|    if (p->error_indicator) {
  ------------------
  |  Branch (23487:9): [True: 0, False: 739]
  ------------------
23488|      0|        p->level--;
23489|      0|        return NULL;
23490|      0|    }
23491|    739|    void * _res = NULL;
23492|    739|    int _mark = p->mark;
23493|    739|    { // genexp
23494|    739|        if (p->error_indicator) {
  ------------------
  |  Branch (23494:13): [True: 0, False: 739]
  ------------------
23495|      0|            p->level--;
23496|      0|            return NULL;
23497|      0|        }
23498|    739|        D(fprintf(stderr, "%*c> _tmp_66[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "genexp"));
23499|    739|        expr_ty genexp_var;
23500|    739|        if (
23501|    739|            (genexp_var = genexp_rule(p))  // genexp
  ------------------
  |  |  521|    739|#define genexp_rule _PyPegen_genexp_rule
  ------------------
  |  Branch (23501:13): [True: 0, False: 739]
  ------------------
23502|    739|        )
23503|      0|        {
23504|      0|            D(fprintf(stderr, "%*c+ _tmp_66[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "genexp"));
23505|      0|            _res = genexp_var;
23506|      0|            goto done;
23507|      0|        }
23508|    739|        p->mark = _mark;
23509|    739|        D(fprintf(stderr, "%*c%s _tmp_66[%d-%d]: %s failed!\n", p->level, ' ',
23510|    739|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "genexp"));
23511|    739|    }
23512|      0|    { // tuple
23513|    739|        if (p->error_indicator) {
  ------------------
  |  Branch (23513:13): [True: 105, False: 634]
  ------------------
23514|    105|            p->level--;
23515|    105|            return NULL;
23516|    105|        }
23517|    634|        D(fprintf(stderr, "%*c> _tmp_66[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tuple"));
23518|    634|        expr_ty tuple_var;
23519|    634|        if (
23520|    634|            (tuple_var = tuple_rule(p))  // tuple
  ------------------
  |  |  515|    634|#define tuple_rule _PyPegen_tuple_rule
  ------------------
  |  Branch (23520:13): [True: 4, False: 630]
  ------------------
23521|    634|        )
23522|      4|        {
23523|      4|            D(fprintf(stderr, "%*c+ _tmp_66[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tuple"));
23524|      4|            _res = tuple_var;
23525|      4|            goto done;
23526|      4|        }
23527|    630|        p->mark = _mark;
23528|    630|        D(fprintf(stderr, "%*c%s _tmp_66[%d-%d]: %s failed!\n", p->level, ' ',
23529|    630|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tuple"));
23530|    630|    }
23531|      0|    { // group
23532|    630|        if (p->error_indicator) {
  ------------------
  |  Branch (23532:13): [True: 0, False: 630]
  ------------------
23533|      0|            p->level--;
23534|      0|            return NULL;
23535|      0|        }
23536|    630|        D(fprintf(stderr, "%*c> _tmp_66[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "group"));
23537|    630|        expr_ty group_var;
23538|    630|        if (
23539|    630|            (group_var = group_rule(p))  // group
  ------------------
  |  Branch (23539:13): [True: 0, False: 630]
  ------------------
23540|    630|        )
23541|      0|        {
23542|      0|            D(fprintf(stderr, "%*c+ _tmp_66[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "group"));
23543|      0|            _res = group_var;
23544|      0|            goto done;
23545|      0|        }
23546|    630|        p->mark = _mark;
23547|    630|        D(fprintf(stderr, "%*c%s _tmp_66[%d-%d]: %s failed!\n", p->level, ' ',
23548|    630|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "group"));
23549|    630|    }
23550|    630|    _res = NULL;
23551|    634|  done:
23552|    634|    p->level--;
23553|    634|    return _res;
23554|    630|}
parser.c:group_rule:
15234|    630|{
15235|    630|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.26k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15235:9): [True: 0, False: 630]
  |  Branch (15235:35): [True: 0, False: 630]
  ------------------
15236|      0|        _Pypegen_stack_overflow(p);
15237|      0|    }
15238|    630|    if (p->error_indicator) {
  ------------------
  |  Branch (15238:9): [True: 0, False: 630]
  ------------------
15239|      0|        p->level--;
15240|      0|        return NULL;
15241|      0|    }
15242|    630|    expr_ty _res = NULL;
15243|    630|    int _mark = p->mark;
15244|    630|    { // '(' (yield_expr | named_expression) ')'
15245|    630|        if (p->error_indicator) {
  ------------------
  |  Branch (15245:13): [True: 0, False: 630]
  ------------------
15246|      0|            p->level--;
15247|      0|            return NULL;
15248|      0|        }
15249|    630|        D(fprintf(stderr, "%*c> group[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' (yield_expr | named_expression) ')'"));
15250|    630|        Token * _literal;
15251|    630|        Token * _literal_1;
15252|    630|        void *a;
15253|    630|        if (
15254|    630|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (15254:13): [True: 630, False: 0]
  ------------------
15255|    630|            &&
15256|    630|            (a = _tmp_69_rule(p))  // yield_expr | named_expression
  ------------------
  |  Branch (15256:13): [True: 150, False: 480]
  ------------------
15257|    150|            &&
15258|    150|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (15258:13): [True: 0, False: 150]
  ------------------
15259|    630|        )
15260|      0|        {
15261|      0|            D(fprintf(stderr, "%*c+ group[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' (yield_expr | named_expression) ')'"));
15262|      0|            _res = a;
15263|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15263:18): [True: 0, False: 0]
  |  Branch (15263:34): [True: 0, False: 0]
  |  Branch (15263:57): [True: 0, False: 0]
  ------------------
15264|      0|                p->error_indicator = 1;
15265|      0|                p->level--;
15266|      0|                return NULL;
15267|      0|            }
15268|      0|            goto done;
15269|      0|        }
15270|    630|        p->mark = _mark;
15271|    630|        D(fprintf(stderr, "%*c%s group[%d-%d]: %s failed!\n", p->level, ' ',
15272|    630|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' (yield_expr | named_expression) ')'"));
15273|    630|    }
15274|    630|    if (p->call_invalid_rules) { // invalid_group
  ------------------
  |  Branch (15274:9): [True: 120, False: 510]
  ------------------
15275|    120|        if (p->error_indicator) {
  ------------------
  |  Branch (15275:13): [True: 0, False: 120]
  ------------------
15276|      0|            p->level--;
15277|      0|            return NULL;
15278|      0|        }
15279|    120|        D(fprintf(stderr, "%*c> group[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_group"));
15280|    120|        void *invalid_group_var;
15281|    120|        if (
15282|    120|            (invalid_group_var = invalid_group_rule(p))  // invalid_group
  ------------------
  |  |  585|    120|#define invalid_group_rule _PyPegen_invalid_group_rule
  ------------------
  |  Branch (15282:13): [True: 0, False: 120]
  ------------------
15283|    120|        )
15284|      0|        {
15285|      0|            D(fprintf(stderr, "%*c+ group[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_group"));
15286|      0|            _res = invalid_group_var;
15287|      0|            goto done;
15288|      0|        }
15289|    120|        p->mark = _mark;
15290|    120|        D(fprintf(stderr, "%*c%s group[%d-%d]: %s failed!\n", p->level, ' ',
15291|    120|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_group"));
15292|    120|    }
15293|    630|    _res = NULL;
15294|    630|  done:
15295|    630|    p->level--;
15296|    630|    return _res;
15297|    630|}
parser.c:_tmp_69_rule:
23711|    630|{
23712|    630|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.26k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23712:9): [True: 0, False: 630]
  |  Branch (23712:35): [True: 0, False: 630]
  ------------------
23713|      0|        _Pypegen_stack_overflow(p);
23714|      0|    }
23715|    630|    if (p->error_indicator) {
  ------------------
  |  Branch (23715:9): [True: 0, False: 630]
  ------------------
23716|      0|        p->level--;
23717|      0|        return NULL;
23718|      0|    }
23719|    630|    void * _res = NULL;
23720|    630|    int _mark = p->mark;
23721|    630|    { // yield_expr
23722|    630|        if (p->error_indicator) {
  ------------------
  |  Branch (23722:13): [True: 0, False: 630]
  ------------------
23723|      0|            p->level--;
23724|      0|            return NULL;
23725|      0|        }
23726|    630|        D(fprintf(stderr, "%*c> _tmp_69[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "yield_expr"));
23727|    630|        expr_ty yield_expr_var;
23728|    630|        if (
23729|    630|            (yield_expr_var = yield_expr_rule(p))  // yield_expr
  ------------------
  |  |  465|    630|#define yield_expr_rule _PyPegen_yield_expr_rule
  ------------------
  |  Branch (23729:13): [True: 0, False: 630]
  ------------------
23730|    630|        )
23731|      0|        {
23732|      0|            D(fprintf(stderr, "%*c+ _tmp_69[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "yield_expr"));
23733|      0|            _res = yield_expr_var;
23734|      0|            goto done;
23735|      0|        }
23736|    630|        p->mark = _mark;
23737|    630|        D(fprintf(stderr, "%*c%s _tmp_69[%d-%d]: %s failed!\n", p->level, ' ',
23738|    630|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "yield_expr"));
23739|    630|    }
23740|      0|    { // named_expression
23741|    630|        if (p->error_indicator) {
  ------------------
  |  Branch (23741:13): [True: 0, False: 630]
  ------------------
23742|      0|            p->level--;
23743|      0|            return NULL;
23744|      0|        }
23745|    630|        D(fprintf(stderr, "%*c> _tmp_69[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "named_expression"));
23746|    630|        expr_ty named_expression_var;
23747|    630|        if (
23748|    630|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  |  475|    630|#define named_expression_rule _PyPegen_named_expression_rule
  ------------------
  |  Branch (23748:13): [True: 150, False: 480]
  ------------------
23749|    630|        )
23750|    150|        {
23751|    150|            D(fprintf(stderr, "%*c+ _tmp_69[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "named_expression"));
23752|    150|            _res = named_expression_var;
23753|    150|            goto done;
23754|    150|        }
23755|    480|        p->mark = _mark;
23756|    480|        D(fprintf(stderr, "%*c%s _tmp_69[%d-%d]: %s failed!\n", p->level, ' ',
23757|    480|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "named_expression"));
23758|    480|    }
23759|    480|    _res = NULL;
23760|    630|  done:
23761|    630|    p->level--;
23762|    630|    return _res;
23763|    480|}
parser.c:_tmp_67_rule:
23559|     36|{
23560|     36|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     72|#  define MAXSTACK 6000
  ------------------
  |  Branch (23560:9): [True: 0, False: 36]
  |  Branch (23560:35): [True: 0, False: 36]
  ------------------
23561|      0|        _Pypegen_stack_overflow(p);
23562|      0|    }
23563|     36|    if (p->error_indicator) {
  ------------------
  |  Branch (23563:9): [True: 0, False: 36]
  ------------------
23564|      0|        p->level--;
23565|      0|        return NULL;
23566|      0|    }
23567|     36|    void * _res = NULL;
23568|     36|    int _mark = p->mark;
23569|     36|    { // listcomp
23570|     36|        if (p->error_indicator) {
  ------------------
  |  Branch (23570:13): [True: 0, False: 36]
  ------------------
23571|      0|            p->level--;
23572|      0|            return NULL;
23573|      0|        }
23574|     36|        D(fprintf(stderr, "%*c> _tmp_67[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "listcomp"));
23575|     36|        expr_ty listcomp_var;
23576|     36|        if (
23577|     36|            (listcomp_var = listcomp_rule(p))  // listcomp
  ------------------
  |  Branch (23577:13): [True: 0, False: 36]
  ------------------
23578|     36|        )
23579|      0|        {
23580|      0|            D(fprintf(stderr, "%*c+ _tmp_67[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "listcomp"));
23581|      0|            _res = listcomp_var;
23582|      0|            goto done;
23583|      0|        }
23584|     36|        p->mark = _mark;
23585|     36|        D(fprintf(stderr, "%*c%s _tmp_67[%d-%d]: %s failed!\n", p->level, ' ',
23586|     36|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "listcomp"));
23587|     36|    }
23588|      0|    { // list
23589|     36|        if (p->error_indicator) {
  ------------------
  |  Branch (23589:13): [True: 9, False: 27]
  ------------------
23590|      9|            p->level--;
23591|      9|            return NULL;
23592|      9|        }
23593|     27|        D(fprintf(stderr, "%*c> _tmp_67[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "list"));
23594|     27|        expr_ty list_var;
23595|     27|        if (
23596|     27|            (list_var = list_rule(p))  // list
  ------------------
  |  |  513|     27|#define list_rule _PyPegen_list_rule
  ------------------
  |  Branch (23596:13): [True: 0, False: 27]
  ------------------
23597|     27|        )
23598|      0|        {
23599|      0|            D(fprintf(stderr, "%*c+ _tmp_67[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "list"));
23600|      0|            _res = list_var;
23601|      0|            goto done;
23602|      0|        }
23603|     27|        p->mark = _mark;
23604|     27|        D(fprintf(stderr, "%*c%s _tmp_67[%d-%d]: %s failed!\n", p->level, ' ',
23605|     27|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "list"));
23606|     27|    }
23607|     27|    _res = NULL;
23608|     27|  done:
23609|     27|    p->level--;
23610|     27|    return _res;
23611|     27|}
parser.c:listcomp_rule:
17977|     36|{
17978|     36|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     72|#  define MAXSTACK 6000
  ------------------
  |  Branch (17978:9): [True: 0, False: 36]
  |  Branch (17978:35): [True: 0, False: 36]
  ------------------
17979|      0|        _Pypegen_stack_overflow(p);
17980|      0|    }
17981|     36|    if (p->error_indicator) {
  ------------------
  |  Branch (17981:9): [True: 0, False: 36]
  ------------------
17982|      0|        p->level--;
17983|      0|        return NULL;
17984|      0|    }
17985|     36|    expr_ty _res = NULL;
17986|     36|    int _mark = p->mark;
17987|     36|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17987:9): [True: 0, False: 36]
  |  Branch (17987:31): [True: 0, False: 0]
  ------------------
17988|      0|        p->error_indicator = 1;
17989|      0|        p->level--;
17990|      0|        return NULL;
17991|      0|    }
17992|     36|    int _start_lineno = p->tokens[_mark]->lineno;
17993|     36|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|     36|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 36]
  |  |  ------------------
  ------------------
17994|     36|    int _start_col_offset = p->tokens[_mark]->col_offset;
17995|     36|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|     36|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 36]
  |  |  ------------------
  ------------------
17996|     36|    { // '[' star_named_expression for_if_clauses ']'
17997|     36|        if (p->error_indicator) {
  ------------------
  |  Branch (17997:13): [True: 0, False: 36]
  ------------------
17998|      0|            p->level--;
17999|      0|            return NULL;
18000|      0|        }
18001|     36|        D(fprintf(stderr, "%*c> listcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' star_named_expression for_if_clauses ']'"));
18002|     36|        Token * _literal;
18003|     36|        Token * _literal_1;
18004|     36|        expr_ty a;
18005|     36|        asdl_comprehension_seq* b;
18006|     36|        if (
18007|     36|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (18007:13): [True: 36, False: 0]
  ------------------
18008|     36|            &&
18009|     36|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  |  471|     36|#define star_named_expression_rule _PyPegen_star_named_expression_rule
  ------------------
  |  Branch (18009:13): [True: 27, False: 9]
  ------------------
18010|     27|            &&
18011|     27|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  519|     27|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (18011:13): [True: 0, False: 27]
  ------------------
18012|      0|            &&
18013|      0|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (18013:13): [True: 0, False: 0]
  ------------------
18014|     36|        )
18015|      0|        {
18016|      0|            D(fprintf(stderr, "%*c+ listcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' star_named_expression for_if_clauses ']'"));
18017|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18018|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18018:17): [True: 0, False: 0]
  ------------------
18019|      0|                p->level--;
18020|      0|                return NULL;
18021|      0|            }
18022|      0|            int _end_lineno = _token->end_lineno;
18023|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18024|      0|            int _end_col_offset = _token->end_col_offset;
18025|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18026|      0|            _res = _PyAST_ListComp ( a , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18027|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18027:18): [True: 0, False: 0]
  |  Branch (18027:34): [True: 0, False: 0]
  |  Branch (18027:57): [True: 0, False: 0]
  ------------------
18028|      0|                p->error_indicator = 1;
18029|      0|                p->level--;
18030|      0|                return NULL;
18031|      0|            }
18032|      0|            goto done;
18033|      0|        }
18034|     36|        p->mark = _mark;
18035|     36|        D(fprintf(stderr, "%*c%s listcomp[%d-%d]: %s failed!\n", p->level, ' ',
18036|     36|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' star_named_expression for_if_clauses ']'"));
18037|     36|    }
18038|     36|    if (p->call_invalid_rules) { // invalid_comprehension
  ------------------
  |  Branch (18038:9): [True: 18, False: 18]
  ------------------
18039|     18|        if (p->error_indicator) {
  ------------------
  |  Branch (18039:13): [True: 9, False: 9]
  ------------------
18040|      9|            p->level--;
18041|      9|            return NULL;
18042|      9|        }
18043|      9|        D(fprintf(stderr, "%*c> listcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18044|      9|        void *invalid_comprehension_var;
18045|      9|        if (
18046|      9|            (invalid_comprehension_var = invalid_comprehension_rule(p))  // invalid_comprehension
  ------------------
  |  |  561|      9|#define invalid_comprehension_rule _PyPegen_invalid_comprehension_rule
  ------------------
  |  Branch (18046:13): [True: 0, False: 9]
  ------------------
18047|      9|        )
18048|      0|        {
18049|      0|            D(fprintf(stderr, "%*c+ listcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18050|      0|            _res = invalid_comprehension_var;
18051|      0|            goto done;
18052|      0|        }
18053|      9|        p->mark = _mark;
18054|      9|        D(fprintf(stderr, "%*c%s listcomp[%d-%d]: %s failed!\n", p->level, ' ',
18055|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_comprehension"));
18056|      9|    }
18057|     27|    _res = NULL;
18058|     27|  done:
18059|     27|    p->level--;
18060|     27|    return _res;
18061|     27|}
parser.c:_tmp_68_rule:
23616|      2|{
23617|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (23617:9): [True: 0, False: 2]
  |  Branch (23617:35): [True: 0, False: 2]
  ------------------
23618|      0|        _Pypegen_stack_overflow(p);
23619|      0|    }
23620|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (23620:9): [True: 0, False: 2]
  ------------------
23621|      0|        p->level--;
23622|      0|        return NULL;
23623|      0|    }
23624|      2|    void * _res = NULL;
23625|      2|    int _mark = p->mark;
23626|      2|    { // dictcomp
23627|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (23627:13): [True: 0, False: 2]
  ------------------
23628|      0|            p->level--;
23629|      0|            return NULL;
23630|      0|        }
23631|      2|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dictcomp"));
23632|      2|        expr_ty dictcomp_var;
23633|      2|        if (
23634|      2|            (dictcomp_var = dictcomp_rule(p))  // dictcomp
  ------------------
  |  Branch (23634:13): [True: 0, False: 2]
  ------------------
23635|      2|        )
23636|      0|        {
23637|      0|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dictcomp"));
23638|      0|            _res = dictcomp_var;
23639|      0|            goto done;
23640|      0|        }
23641|      2|        p->mark = _mark;
23642|      2|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
23643|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dictcomp"));
23644|      2|    }
23645|      0|    { // setcomp
23646|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (23646:13): [True: 0, False: 2]
  ------------------
23647|      0|            p->level--;
23648|      0|            return NULL;
23649|      0|        }
23650|      2|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "setcomp"));
23651|      2|        expr_ty setcomp_var;
23652|      2|        if (
23653|      2|            (setcomp_var = setcomp_rule(p))  // setcomp
  ------------------
  |  Branch (23653:13): [True: 0, False: 2]
  ------------------
23654|      2|        )
23655|      0|        {
23656|      0|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "setcomp"));
23657|      0|            _res = setcomp_var;
23658|      0|            goto done;
23659|      0|        }
23660|      2|        p->mark = _mark;
23661|      2|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
23662|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "setcomp"));
23663|      2|    }
23664|      0|    { // dict
23665|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (23665:13): [True: 0, False: 2]
  ------------------
23666|      0|            p->level--;
23667|      0|            return NULL;
23668|      0|        }
23669|      2|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dict"));
23670|      2|        expr_ty dict_var;
23671|      2|        if (
23672|      2|            (dict_var = dict_rule(p))  // dict
  ------------------
  |  Branch (23672:13): [True: 0, False: 2]
  ------------------
23673|      2|        )
23674|      0|        {
23675|      0|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dict"));
23676|      0|            _res = dict_var;
23677|      0|            goto done;
23678|      0|        }
23679|      2|        p->mark = _mark;
23680|      2|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
23681|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dict"));
23682|      2|    }
23683|      0|    { // set
23684|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (23684:13): [True: 0, False: 2]
  ------------------
23685|      0|            p->level--;
23686|      0|            return NULL;
23687|      0|        }
23688|      2|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "set"));
23689|      2|        expr_ty set_var;
23690|      2|        if (
23691|      2|            (set_var = set_rule(p))  // set
  ------------------
  |  Branch (23691:13): [True: 2, False: 0]
  ------------------
23692|      2|        )
23693|      2|        {
23694|      2|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "set"));
23695|      2|            _res = set_var;
23696|      2|            goto done;
23697|      2|        }
23698|      0|        p->mark = _mark;
23699|      0|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
23700|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "set"));
23701|      0|    }
23702|      0|    _res = NULL;
23703|      2|  done:
23704|      2|    p->level--;
23705|      2|    return _res;
23706|      0|}
parser.c:dictcomp_rule:
18246|      2|{
18247|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (18247:9): [True: 0, False: 2]
  |  Branch (18247:35): [True: 0, False: 2]
  ------------------
18248|      0|        _Pypegen_stack_overflow(p);
18249|      0|    }
18250|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (18250:9): [True: 0, False: 2]
  ------------------
18251|      0|        p->level--;
18252|      0|        return NULL;
18253|      0|    }
18254|      2|    expr_ty _res = NULL;
18255|      2|    int _mark = p->mark;
18256|      2|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18256:9): [True: 0, False: 2]
  |  Branch (18256:31): [True: 0, False: 0]
  ------------------
18257|      0|        p->error_indicator = 1;
18258|      0|        p->level--;
18259|      0|        return NULL;
18260|      0|    }
18261|      2|    int _start_lineno = p->tokens[_mark]->lineno;
18262|      2|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
18263|      2|    int _start_col_offset = p->tokens[_mark]->col_offset;
18264|      2|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
18265|      2|    { // '{' kvpair for_if_clauses '}'
18266|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (18266:13): [True: 0, False: 2]
  ------------------
18267|      0|            p->level--;
18268|      0|            return NULL;
18269|      0|        }
18270|      2|        D(fprintf(stderr, "%*c> dictcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' kvpair for_if_clauses '}'"));
18271|      2|        Token * _literal;
18272|      2|        Token * _literal_1;
18273|      2|        KeyValuePair* a;
18274|      2|        asdl_comprehension_seq* b;
18275|      2|        if (
18276|      2|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (18276:13): [True: 2, False: 0]
  ------------------
18277|      2|            &&
18278|      2|            (a = kvpair_rule(p))  // kvpair
  ------------------
  |  Branch (18278:13): [True: 0, False: 2]
  ------------------
18279|      0|            &&
18280|      0|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  519|      0|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (18280:13): [True: 0, False: 0]
  ------------------
18281|      0|            &&
18282|      0|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (18282:13): [True: 0, False: 0]
  ------------------
18283|      2|        )
18284|      0|        {
18285|      0|            D(fprintf(stderr, "%*c+ dictcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' kvpair for_if_clauses '}'"));
18286|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18287|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18287:17): [True: 0, False: 0]
  ------------------
18288|      0|                p->level--;
18289|      0|                return NULL;
18290|      0|            }
18291|      0|            int _end_lineno = _token->end_lineno;
18292|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18293|      0|            int _end_col_offset = _token->end_col_offset;
18294|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18295|      0|            _res = _PyAST_DictComp ( a -> key , a -> value , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18296|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18296:18): [True: 0, False: 0]
  |  Branch (18296:34): [True: 0, False: 0]
  |  Branch (18296:57): [True: 0, False: 0]
  ------------------
18297|      0|                p->error_indicator = 1;
18298|      0|                p->level--;
18299|      0|                return NULL;
18300|      0|            }
18301|      0|            goto done;
18302|      0|        }
18303|      2|        p->mark = _mark;
18304|      2|        D(fprintf(stderr, "%*c%s dictcomp[%d-%d]: %s failed!\n", p->level, ' ',
18305|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' kvpair for_if_clauses '}'"));
18306|      2|    }
18307|      0|    { // '{' '**' expression for_if_clauses '}'
18308|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (18308:13): [True: 0, False: 2]
  ------------------
18309|      0|            p->level--;
18310|      0|            return NULL;
18311|      0|        }
18312|      2|        D(fprintf(stderr, "%*c> dictcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' '**' expression for_if_clauses '}'"));
18313|      2|        Token * _literal;
18314|      2|        Token * _literal_1;
18315|      2|        Token * _literal_2;
18316|      2|        expr_ty a;
18317|      2|        asdl_comprehension_seq* b;
18318|      2|        if (
18319|      2|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (18319:13): [True: 2, False: 0]
  ------------------
18320|      2|            &&
18321|      2|            (_literal_1 = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (18321:13): [True: 0, False: 2]
  ------------------
18322|      0|            &&
18323|      0|            (a = expression_rule(p))  // expression
  ------------------
  |  |  461|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (18323:13): [True: 0, False: 0]
  ------------------
18324|      0|            &&
18325|      0|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  519|      0|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (18325:13): [True: 0, False: 0]
  ------------------
18326|      0|            &&
18327|      0|            (_literal_2 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (18327:13): [True: 0, False: 0]
  ------------------
18328|      2|        )
18329|      0|        {
18330|      0|            D(fprintf(stderr, "%*c+ dictcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' '**' expression for_if_clauses '}'"));
18331|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18332|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18332:17): [True: 0, False: 0]
  ------------------
18333|      0|                p->level--;
18334|      0|                return NULL;
18335|      0|            }
18336|      0|            int _end_lineno = _token->end_lineno;
18337|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18338|      0|            int _end_col_offset = _token->end_col_offset;
18339|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18340|      0|            _res = _PyAST_DictComp ( a , NULL , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18341|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18341:18): [True: 0, False: 0]
  |  Branch (18341:34): [True: 0, False: 0]
  |  Branch (18341:57): [True: 0, False: 0]
  ------------------
18342|      0|                p->error_indicator = 1;
18343|      0|                p->level--;
18344|      0|                return NULL;
18345|      0|            }
18346|      0|            goto done;
18347|      0|        }
18348|      2|        p->mark = _mark;
18349|      2|        D(fprintf(stderr, "%*c%s dictcomp[%d-%d]: %s failed!\n", p->level, ' ',
18350|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' '**' expression for_if_clauses '}'"));
18351|      2|    }
18352|      2|    _res = NULL;
18353|      2|  done:
18354|      2|    p->level--;
18355|      2|    return _res;
18356|      2|}
parser.c:setcomp_rule:
18066|      2|{
18067|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (18067:9): [True: 0, False: 2]
  |  Branch (18067:35): [True: 0, False: 2]
  ------------------
18068|      0|        _Pypegen_stack_overflow(p);
18069|      0|    }
18070|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (18070:9): [True: 0, False: 2]
  ------------------
18071|      0|        p->level--;
18072|      0|        return NULL;
18073|      0|    }
18074|      2|    expr_ty _res = NULL;
18075|      2|    int _mark = p->mark;
18076|      2|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18076:9): [True: 0, False: 2]
  |  Branch (18076:31): [True: 0, False: 0]
  ------------------
18077|      0|        p->error_indicator = 1;
18078|      0|        p->level--;
18079|      0|        return NULL;
18080|      0|    }
18081|      2|    int _start_lineno = p->tokens[_mark]->lineno;
18082|      2|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
18083|      2|    int _start_col_offset = p->tokens[_mark]->col_offset;
18084|      2|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
18085|      2|    { // '{' star_named_expression for_if_clauses '}'
18086|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (18086:13): [True: 0, False: 2]
  ------------------
18087|      0|            p->level--;
18088|      0|            return NULL;
18089|      0|        }
18090|      2|        D(fprintf(stderr, "%*c> setcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' star_named_expression for_if_clauses '}'"));
18091|      2|        Token * _literal;
18092|      2|        Token * _literal_1;
18093|      2|        expr_ty a;
18094|      2|        asdl_comprehension_seq* b;
18095|      2|        if (
18096|      2|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (18096:13): [True: 2, False: 0]
  ------------------
18097|      2|            &&
18098|      2|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  |  471|      2|#define star_named_expression_rule _PyPegen_star_named_expression_rule
  ------------------
  |  Branch (18098:13): [True: 2, False: 0]
  ------------------
18099|      2|            &&
18100|      2|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  519|      2|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (18100:13): [True: 0, False: 2]
  ------------------
18101|      0|            &&
18102|      0|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (18102:13): [True: 0, False: 0]
  ------------------
18103|      2|        )
18104|      0|        {
18105|      0|            D(fprintf(stderr, "%*c+ setcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' star_named_expression for_if_clauses '}'"));
18106|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18107|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18107:17): [True: 0, False: 0]
  ------------------
18108|      0|                p->level--;
18109|      0|                return NULL;
18110|      0|            }
18111|      0|            int _end_lineno = _token->end_lineno;
18112|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18113|      0|            int _end_col_offset = _token->end_col_offset;
18114|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18115|      0|            _res = _PyAST_SetComp ( a , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18116|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18116:18): [True: 0, False: 0]
  |  Branch (18116:34): [True: 0, False: 0]
  |  Branch (18116:57): [True: 0, False: 0]
  ------------------
18117|      0|                p->error_indicator = 1;
18118|      0|                p->level--;
18119|      0|                return NULL;
18120|      0|            }
18121|      0|            goto done;
18122|      0|        }
18123|      2|        p->mark = _mark;
18124|      2|        D(fprintf(stderr, "%*c%s setcomp[%d-%d]: %s failed!\n", p->level, ' ',
18125|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' star_named_expression for_if_clauses '}'"));
18126|      2|    }
18127|      2|    if (p->call_invalid_rules) { // invalid_comprehension
  ------------------
  |  Branch (18127:9): [True: 0, False: 2]
  ------------------
18128|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (18128:13): [True: 0, False: 0]
  ------------------
18129|      0|            p->level--;
18130|      0|            return NULL;
18131|      0|        }
18132|      0|        D(fprintf(stderr, "%*c> setcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18133|      0|        void *invalid_comprehension_var;
18134|      0|        if (
18135|      0|            (invalid_comprehension_var = invalid_comprehension_rule(p))  // invalid_comprehension
  ------------------
  |  |  561|      0|#define invalid_comprehension_rule _PyPegen_invalid_comprehension_rule
  ------------------
  |  Branch (18135:13): [True: 0, False: 0]
  ------------------
18136|      0|        )
18137|      0|        {
18138|      0|            D(fprintf(stderr, "%*c+ setcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18139|      0|            _res = invalid_comprehension_var;
18140|      0|            goto done;
18141|      0|        }
18142|      0|        p->mark = _mark;
18143|      0|        D(fprintf(stderr, "%*c%s setcomp[%d-%d]: %s failed!\n", p->level, ' ',
18144|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_comprehension"));
18145|      0|    }
18146|      2|    _res = NULL;
18147|      2|  done:
18148|      2|    p->level--;
18149|      2|    return _res;
18150|      2|}
parser.c:dict_rule:
17531|      2|{
17532|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (17532:9): [True: 0, False: 2]
  |  Branch (17532:35): [True: 0, False: 2]
  ------------------
17533|      0|        _Pypegen_stack_overflow(p);
17534|      0|    }
17535|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (17535:9): [True: 0, False: 2]
  ------------------
17536|      0|        p->level--;
17537|      0|        return NULL;
17538|      0|    }
17539|      2|    expr_ty _res = NULL;
17540|      2|    int _mark = p->mark;
17541|      2|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17541:9): [True: 0, False: 2]
  |  Branch (17541:31): [True: 0, False: 0]
  ------------------
17542|      0|        p->error_indicator = 1;
17543|      0|        p->level--;
17544|      0|        return NULL;
17545|      0|    }
17546|      2|    int _start_lineno = p->tokens[_mark]->lineno;
17547|      2|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
17548|      2|    int _start_col_offset = p->tokens[_mark]->col_offset;
17549|      2|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
17550|      2|    { // '{' double_starred_kvpairs? '}'
17551|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (17551:13): [True: 0, False: 2]
  ------------------
17552|      0|            p->level--;
17553|      0|            return NULL;
17554|      0|        }
17555|      2|        D(fprintf(stderr, "%*c> dict[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' double_starred_kvpairs? '}'"));
17556|      2|        Token * _literal;
17557|      2|        Token * _literal_1;
17558|      2|        void *a;
17559|      2|        if (
17560|      2|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (17560:13): [True: 2, False: 0]
  ------------------
17561|      2|            &&
17562|      2|            (a = double_starred_kvpairs_rule(p), !p->error_indicator)  // double_starred_kvpairs?
  ------------------
  |  Branch (17562:13): [True: 2, False: 0]
  ------------------
17563|      2|            &&
17564|      2|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (17564:13): [True: 0, False: 2]
  ------------------
17565|      2|        )
17566|      0|        {
17567|      0|            D(fprintf(stderr, "%*c+ dict[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' double_starred_kvpairs? '}'"));
17568|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17569|      0|            if (_token == NULL) {
  ------------------
  |  Branch (17569:17): [True: 0, False: 0]
  ------------------
17570|      0|                p->level--;
17571|      0|                return NULL;
17572|      0|            }
17573|      0|            int _end_lineno = _token->end_lineno;
17574|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
17575|      0|            int _end_col_offset = _token->end_col_offset;
17576|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
17577|      0|            _res = _PyAST_Dict ( CHECK ( asdl_expr_seq* , _PyPegen_get_keys ( p , a ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_values ( p , a ) ) , EXTRA );
  ------------------
  |  |  280|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Dict ( CHECK ( asdl_expr_seq* , _PyPegen_get_keys ( p , a ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_values ( p , a ) ) , EXTRA );
  ------------------
  |  |  280|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Dict ( CHECK ( asdl_expr_seq* , _PyPegen_get_keys ( p , a ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_values ( p , a ) ) , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17578|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17578:18): [True: 0, False: 0]
  |  Branch (17578:34): [True: 0, False: 0]
  |  Branch (17578:57): [True: 0, False: 0]
  ------------------
17579|      0|                p->error_indicator = 1;
17580|      0|                p->level--;
17581|      0|                return NULL;
17582|      0|            }
17583|      0|            goto done;
17584|      0|        }
17585|      2|        p->mark = _mark;
17586|      2|        D(fprintf(stderr, "%*c%s dict[%d-%d]: %s failed!\n", p->level, ' ',
17587|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' double_starred_kvpairs? '}'"));
17588|      2|    }
17589|      0|    { // '{' invalid_double_starred_kvpairs '}'
17590|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (17590:13): [True: 0, False: 2]
  ------------------
17591|      0|            p->level--;
17592|      0|            return NULL;
17593|      0|        }
17594|      2|        D(fprintf(stderr, "%*c> dict[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' invalid_double_starred_kvpairs '}'"));
17595|      2|        Token * _literal;
17596|      2|        Token * _literal_1;
17597|      2|        void *invalid_double_starred_kvpairs_var;
17598|      2|        if (
17599|      2|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (17599:13): [True: 2, False: 0]
  ------------------
17600|      2|            &&
17601|      2|            (invalid_double_starred_kvpairs_var = invalid_double_starred_kvpairs_rule(p))  // invalid_double_starred_kvpairs
  ------------------
  |  |  637|      2|#define invalid_double_starred_kvpairs_rule _PyPegen_invalid_double_starred_kvpairs_rule
  ------------------
  |  Branch (17601:13): [True: 0, False: 2]
  ------------------
17602|      0|            &&
17603|      0|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (17603:13): [True: 0, False: 0]
  ------------------
17604|      2|        )
17605|      0|        {
17606|      0|            D(fprintf(stderr, "%*c+ dict[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' invalid_double_starred_kvpairs '}'"));
17607|      0|            _res = _PyPegen_dummy_name(p, _literal, invalid_double_starred_kvpairs_var, _literal_1);
17608|      0|            goto done;
17609|      0|        }
17610|      2|        p->mark = _mark;
17611|      2|        D(fprintf(stderr, "%*c%s dict[%d-%d]: %s failed!\n", p->level, ' ',
17612|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' invalid_double_starred_kvpairs '}'"));
17613|      2|    }
17614|      2|    _res = NULL;
17615|      2|  done:
17616|      2|    p->level--;
17617|      2|    return _res;
17618|      2|}
parser.c:double_starred_kvpairs_rule:
17623|      2|{
17624|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (17624:9): [True: 0, False: 2]
  |  Branch (17624:35): [True: 0, False: 2]
  ------------------
17625|      0|        _Pypegen_stack_overflow(p);
17626|      0|    }
17627|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (17627:9): [True: 0, False: 2]
  ------------------
17628|      0|        p->level--;
17629|      0|        return NULL;
17630|      0|    }
17631|      2|    asdl_seq* _res = NULL;
17632|      2|    int _mark = p->mark;
17633|      2|    { // ','.double_starred_kvpair+ ','?
17634|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (17634:13): [True: 0, False: 2]
  ------------------
17635|      0|            p->level--;
17636|      0|            return NULL;
17637|      0|        }
17638|      2|        D(fprintf(stderr, "%*c> double_starred_kvpairs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.double_starred_kvpair+ ','?"));
17639|      2|        void *_opt_var;
17640|      2|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
17641|      2|        asdl_seq * a;
17642|      2|        if (
17643|      2|            (a = _gather_86_rule(p))  // ','.double_starred_kvpair+
  ------------------
  |  Branch (17643:13): [True: 0, False: 2]
  ------------------
17644|      0|            &&
17645|      0|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (17645:13): [True: 0, False: 0]
  ------------------
17646|      2|        )
17647|      0|        {
17648|      0|            D(fprintf(stderr, "%*c+ double_starred_kvpairs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.double_starred_kvpair+ ','?"));
17649|      0|            _res = a;
17650|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17650:18): [True: 0, False: 0]
  |  Branch (17650:34): [True: 0, False: 0]
  |  Branch (17650:57): [True: 0, False: 0]
  ------------------
17651|      0|                p->error_indicator = 1;
17652|      0|                p->level--;
17653|      0|                return NULL;
17654|      0|            }
17655|      0|            goto done;
17656|      0|        }
17657|      2|        p->mark = _mark;
17658|      2|        D(fprintf(stderr, "%*c%s double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
17659|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.double_starred_kvpair+ ','?"));
17660|      2|    }
17661|      2|    _res = NULL;
17662|      2|  done:
17663|      2|    p->level--;
17664|      2|    return _res;
17665|      2|}
parser.c:_gather_86_rule:
24713|      2|{
24714|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (24714:9): [True: 0, False: 2]
  |  Branch (24714:35): [True: 0, False: 2]
  ------------------
24715|      0|        _Pypegen_stack_overflow(p);
24716|      0|    }
24717|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (24717:9): [True: 0, False: 2]
  ------------------
24718|      0|        p->level--;
24719|      0|        return NULL;
24720|      0|    }
24721|      2|    asdl_seq * _res = NULL;
24722|      2|    int _mark = p->mark;
24723|      2|    { // double_starred_kvpair _loop0_85
24724|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (24724:13): [True: 0, False: 2]
  ------------------
24725|      0|            p->level--;
24726|      0|            return NULL;
24727|      0|        }
24728|      2|        D(fprintf(stderr, "%*c> _gather_86[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "double_starred_kvpair _loop0_85"));
24729|      2|        KeyValuePair* elem;
24730|      2|        asdl_seq * seq;
24731|      2|        if (
24732|      2|            (elem = double_starred_kvpair_rule(p))  // double_starred_kvpair
  ------------------
  |  |  517|      2|#define double_starred_kvpair_rule _PyPegen_double_starred_kvpair_rule
  ------------------
  |  Branch (24732:13): [True: 0, False: 2]
  ------------------
24733|      0|            &&
24734|      0|            (seq = _loop0_85_rule(p))  // _loop0_85
  ------------------
  |  Branch (24734:13): [True: 0, False: 0]
  ------------------
24735|      2|        )
24736|      0|        {
24737|      0|            D(fprintf(stderr, "%*c+ _gather_86[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "double_starred_kvpair _loop0_85"));
24738|      0|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
24739|      0|            goto done;
24740|      0|        }
24741|      2|        p->mark = _mark;
24742|      2|        D(fprintf(stderr, "%*c%s _gather_86[%d-%d]: %s failed!\n", p->level, ' ',
24743|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "double_starred_kvpair _loop0_85"));
24744|      2|    }
24745|      2|    _res = NULL;
24746|      2|  done:
24747|      2|    p->level--;
24748|      2|    return _res;
24749|      2|}
parser.c:set_rule:
17464|      2|{
17465|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (17465:9): [True: 0, False: 2]
  |  Branch (17465:35): [True: 0, False: 2]
  ------------------
17466|      0|        _Pypegen_stack_overflow(p);
17467|      0|    }
17468|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (17468:9): [True: 0, False: 2]
  ------------------
17469|      0|        p->level--;
17470|      0|        return NULL;
17471|      0|    }
17472|      2|    expr_ty _res = NULL;
17473|      2|    int _mark = p->mark;
17474|      2|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17474:9): [True: 0, False: 2]
  |  Branch (17474:31): [True: 0, False: 0]
  ------------------
17475|      0|        p->error_indicator = 1;
17476|      0|        p->level--;
17477|      0|        return NULL;
17478|      0|    }
17479|      2|    int _start_lineno = p->tokens[_mark]->lineno;
17480|      2|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
17481|      2|    int _start_col_offset = p->tokens[_mark]->col_offset;
17482|      2|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
17483|      2|    { // '{' display_items '}'
17484|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (17484:13): [True: 0, False: 2]
  ------------------
17485|      0|            p->level--;
17486|      0|            return NULL;
17487|      0|        }
17488|      2|        D(fprintf(stderr, "%*c> set[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' display_items '}'"));
17489|      2|        Token * _literal;
17490|      2|        Token * _literal_1;
17491|      2|        asdl_expr_seq* a;
17492|      2|        if (
17493|      2|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (17493:13): [True: 2, False: 0]
  ------------------
17494|      2|            &&
17495|      2|            (a = display_items_rule(p))  // display_items
  ------------------
  |  Branch (17495:13): [True: 2, False: 0]
  ------------------
17496|      2|            &&
17497|      2|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (17497:13): [True: 2, False: 0]
  ------------------
17498|      2|        )
17499|      2|        {
17500|      2|            D(fprintf(stderr, "%*c+ set[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' display_items '}'"));
17501|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17502|      2|            if (_token == NULL) {
  ------------------
  |  Branch (17502:17): [True: 0, False: 2]
  ------------------
17503|      0|                p->level--;
17504|      0|                return NULL;
17505|      0|            }
17506|      2|            int _end_lineno = _token->end_lineno;
17507|      2|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
17508|      2|            int _end_col_offset = _token->end_col_offset;
17509|      2|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
17510|      2|            _res = _PyAST_Set ( a , EXTRA );
  ------------------
  |  |  316|      2|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17511|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17511:18): [True: 0, False: 2]
  |  Branch (17511:34): [True: 0, False: 2]
  |  Branch (17511:57): [True: 0, False: 0]
  ------------------
17512|      0|                p->error_indicator = 1;
17513|      0|                p->level--;
17514|      0|                return NULL;
17515|      0|            }
17516|      2|            goto done;
17517|      2|        }
17518|      0|        p->mark = _mark;
17519|      0|        D(fprintf(stderr, "%*c%s set[%d-%d]: %s failed!\n", p->level, ' ',
17520|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' display_items '}'"));
17521|      0|    }
17522|      0|    _res = NULL;
17523|      2|  done:
17524|      2|    p->level--;
17525|      2|    return _res;
17526|      0|}
parser.c:_tmp_16_rule:
20626|     21|{
20627|     21|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (20627:9): [True: 0, False: 21]
  |  Branch (20627:35): [True: 0, False: 21]
  ------------------
20628|      0|        _Pypegen_stack_overflow(p);
20629|      0|    }
20630|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (20630:9): [True: 0, False: 21]
  ------------------
20631|      0|        p->level--;
20632|      0|        return NULL;
20633|      0|    }
20634|     21|    void * _res = NULL;
20635|     21|    int _mark = p->mark;
20636|     21|    { // ',' expression
20637|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (20637:13): [True: 0, False: 21]
  ------------------
20638|      0|            p->level--;
20639|      0|            return NULL;
20640|      0|        }
20641|     21|        D(fprintf(stderr, "%*c> _tmp_16[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' expression"));
20642|     21|        Token * _literal;
20643|     21|        expr_ty z;
20644|     21|        if (
20645|     21|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (20645:13): [True: 1, False: 20]
  ------------------
20646|      1|            &&
20647|      1|            (z = expression_rule(p))  // expression
  ------------------
  |  |  461|      1|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (20647:13): [True: 1, False: 0]
  ------------------
20648|     21|        )
20649|      1|        {
20650|      1|            D(fprintf(stderr, "%*c+ _tmp_16[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' expression"));
20651|      1|            _res = z;
20652|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20652:18): [True: 0, False: 1]
  |  Branch (20652:34): [True: 0, False: 1]
  |  Branch (20652:57): [True: 0, False: 0]
  ------------------
20653|      0|                p->error_indicator = 1;
20654|      0|                p->level--;
20655|      0|                return NULL;
20656|      0|            }
20657|      1|            goto done;
20658|      1|        }
20659|     20|        p->mark = _mark;
20660|     20|        D(fprintf(stderr, "%*c%s _tmp_16[%d-%d]: %s failed!\n", p->level, ' ',
20661|     20|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' expression"));
20662|     20|    }
20663|     20|    _res = NULL;
20664|     21|  done:
20665|     21|    p->level--;
20666|     21|    return _res;
20667|     20|}
parser.c:default_rule:
 6029|  8.76M|{
 6030|  8.76M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  17.5M|#  define MAXSTACK 6000
  ------------------
  |  Branch (6030:9): [True: 0, False: 8.76M]
  |  Branch (6030:35): [True: 0, False: 8.76M]
  ------------------
 6031|      0|        _Pypegen_stack_overflow(p);
 6032|      0|    }
 6033|  8.76M|    if (p->error_indicator) {
  ------------------
  |  Branch (6033:9): [True: 0, False: 8.76M]
  ------------------
 6034|      0|        p->level--;
 6035|      0|        return NULL;
 6036|      0|    }
 6037|  8.76M|    expr_ty _res = NULL;
 6038|  8.76M|    int _mark = p->mark;
 6039|  8.76M|    { // '=' expression
 6040|  8.76M|        if (p->error_indicator) {
  ------------------
  |  Branch (6040:13): [True: 0, False: 8.76M]
  ------------------
 6041|      0|            p->level--;
 6042|      0|            return NULL;
 6043|      0|        }
 6044|  8.76M|        D(fprintf(stderr, "%*c> default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'=' expression"));
 6045|  8.76M|        Token * _literal;
 6046|  8.76M|        expr_ty a;
 6047|  8.76M|        if (
 6048|  8.76M|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (6048:13): [True: 7, False: 8.76M]
  ------------------
 6049|      7|            &&
 6050|      7|            (a = expression_rule(p))  // expression
  ------------------
  |  |  461|      7|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (6050:13): [True: 0, False: 7]
  ------------------
 6051|  8.76M|        )
 6052|      0|        {
 6053|      0|            D(fprintf(stderr, "%*c+ default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'=' expression"));
 6054|      0|            _res = a;
 6055|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6055:18): [True: 0, False: 0]
  |  Branch (6055:34): [True: 0, False: 0]
  |  Branch (6055:57): [True: 0, False: 0]
  ------------------
 6056|      0|                p->error_indicator = 1;
 6057|      0|                p->level--;
 6058|      0|                return NULL;
 6059|      0|            }
 6060|      0|            goto done;
 6061|      0|        }
 6062|  8.76M|        p->mark = _mark;
 6063|  8.76M|        D(fprintf(stderr, "%*c%s default[%d-%d]: %s failed!\n", p->level, ' ',
 6064|  8.76M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'=' expression"));
 6065|  8.76M|    }
 6066|  8.76M|    if (p->call_invalid_rules) { // invalid_default
  ------------------
  |  Branch (6066:9): [True: 8.76M, False: 30]
  ------------------
 6067|  8.76M|        if (p->error_indicator) {
  ------------------
  |  Branch (6067:13): [True: 0, False: 8.76M]
  ------------------
 6068|      0|            p->level--;
 6069|      0|            return NULL;
 6070|      0|        }
 6071|  8.76M|        D(fprintf(stderr, "%*c> default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_default"));
 6072|  8.76M|        void *invalid_default_var;
 6073|  8.76M|        if (
 6074|  8.76M|            (invalid_default_var = invalid_default_rule(p))  // invalid_default
  ------------------
  |  |  565|  8.76M|#define invalid_default_rule _PyPegen_invalid_default_rule
  ------------------
  |  Branch (6074:13): [True: 0, False: 8.76M]
  ------------------
 6075|  8.76M|        )
 6076|      0|        {
 6077|      0|            D(fprintf(stderr, "%*c+ default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_default"));
 6078|      0|            _res = invalid_default_var;
 6079|      0|            goto done;
 6080|      0|        }
 6081|  8.76M|        p->mark = _mark;
 6082|  8.76M|        D(fprintf(stderr, "%*c%s default[%d-%d]: %s failed!\n", p->level, ' ',
 6083|  8.76M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_default"));
 6084|  8.76M|    }
 6085|  8.76M|    _res = NULL;
 6086|  8.76M|  done:
 6087|  8.76M|    p->level--;
 6088|  8.76M|    return _res;
 6089|  8.76M|}
parser.c:star_expression_rule:
12048|    143|{
12049|    143|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    286|#  define MAXSTACK 6000
  ------------------
  |  Branch (12049:9): [True: 0, False: 143]
  |  Branch (12049:35): [True: 0, False: 143]
  ------------------
12050|      0|        _Pypegen_stack_overflow(p);
12051|      0|    }
12052|    143|    if (p->error_indicator) {
  ------------------
  |  Branch (12052:9): [True: 0, False: 143]
  ------------------
12053|      0|        p->level--;
12054|      0|        return NULL;
12055|      0|    }
12056|    143|    expr_ty _res = NULL;
12057|    143|    if (_PyPegen_is_memoized(p, star_expression_type, &_res)) {
  ------------------
  |  |  202|    143|#define star_expression_type 1113
  ------------------
  |  Branch (12057:9): [True: 92, False: 51]
  ------------------
12058|     92|        p->level--;
12059|     92|        return _res;
12060|     92|    }
12061|     51|    int _mark = p->mark;
12062|     51|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12062:9): [True: 0, False: 51]
  |  Branch (12062:31): [True: 0, False: 0]
  ------------------
12063|      0|        p->error_indicator = 1;
12064|      0|        p->level--;
12065|      0|        return NULL;
12066|      0|    }
12067|     51|    int _start_lineno = p->tokens[_mark]->lineno;
12068|     51|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|     51|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 51]
  |  |  ------------------
  ------------------
12069|     51|    int _start_col_offset = p->tokens[_mark]->col_offset;
12070|     51|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|     51|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 51]
  |  |  ------------------
  ------------------
12071|     51|    { // '*' bitwise_or
12072|     51|        if (p->error_indicator) {
  ------------------
  |  Branch (12072:13): [True: 0, False: 51]
  ------------------
12073|      0|            p->level--;
12074|      0|            return NULL;
12075|      0|        }
12076|     51|        D(fprintf(stderr, "%*c> star_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12077|     51|        Token * _literal;
12078|     51|        expr_ty a;
12079|     51|        if (
12080|     51|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (12080:13): [True: 30, False: 21]
  ------------------
12081|     30|            &&
12082|     30|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|     30|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12082:13): [True: 30, False: 0]
  ------------------
12083|     51|        )
12084|     30|        {
12085|     30|            D(fprintf(stderr, "%*c+ star_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12086|     30|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12087|     30|            if (_token == NULL) {
  ------------------
  |  Branch (12087:17): [True: 0, False: 30]
  ------------------
12088|      0|                p->level--;
12089|      0|                return NULL;
12090|      0|            }
12091|     30|            int _end_lineno = _token->end_lineno;
12092|     30|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|     30|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 30]
  |  |  ------------------
  ------------------
12093|     30|            int _end_col_offset = _token->end_col_offset;
12094|     30|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|     30|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 30]
  |  |  ------------------
  ------------------
12095|     30|            _res = _PyAST_Starred ( a , Load , EXTRA );
  ------------------
  |  |  316|     30|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12096|     30|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12096:18): [True: 0, False: 30]
  |  Branch (12096:34): [True: 0, False: 30]
  |  Branch (12096:57): [True: 0, False: 0]
  ------------------
12097|      0|                p->error_indicator = 1;
12098|      0|                p->level--;
12099|      0|                return NULL;
12100|      0|            }
12101|     30|            goto done;
12102|     30|        }
12103|     21|        p->mark = _mark;
12104|     21|        D(fprintf(stderr, "%*c%s star_expression[%d-%d]: %s failed!\n", p->level, ' ',
12105|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' bitwise_or"));
12106|     21|    }
12107|      0|    { // expression
12108|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (12108:13): [True: 0, False: 21]
  ------------------
12109|      0|            p->level--;
12110|      0|            return NULL;
12111|      0|        }
12112|     21|        D(fprintf(stderr, "%*c> star_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression"));
12113|     21|        expr_ty expression_var;
12114|     21|        if (
12115|     21|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  461|     21|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (12115:13): [True: 5, False: 16]
  ------------------
12116|     21|        )
12117|      5|        {
12118|      5|            D(fprintf(stderr, "%*c+ star_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression"));
12119|      5|            _res = expression_var;
12120|      5|            goto done;
12121|      5|        }
12122|     16|        p->mark = _mark;
12123|     16|        D(fprintf(stderr, "%*c%s star_expression[%d-%d]: %s failed!\n", p->level, ' ',
12124|     16|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression"));
12125|     16|    }
12126|     16|    _res = NULL;
12127|     51|  done:
12128|     51|    _PyPegen_insert_memo(p, _mark, star_expression_type, _res);
  ------------------
  |  |  202|     51|#define star_expression_type 1113
  ------------------
12129|     51|    p->level--;
12130|     51|    return _res;
12131|     16|}
parser.c:conjunction_rule:
12512|  3.89k|{
12513|  3.89k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  7.79k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12513:9): [True: 0, False: 3.89k]
  |  Branch (12513:35): [True: 0, False: 3.89k]
  ------------------
12514|      0|        _Pypegen_stack_overflow(p);
12515|      0|    }
12516|  3.89k|    if (p->error_indicator) {
  ------------------
  |  Branch (12516:9): [True: 0, False: 3.89k]
  ------------------
12517|      0|        p->level--;
12518|      0|        return NULL;
12519|      0|    }
12520|  3.89k|    expr_ty _res = NULL;
12521|  3.89k|    if (_PyPegen_is_memoized(p, conjunction_type, &_res)) {
  ------------------
  |  |  208|  3.89k|#define conjunction_type 1119
  ------------------
  |  Branch (12521:9): [True: 879, False: 3.01k]
  ------------------
12522|    879|        p->level--;
12523|    879|        return _res;
12524|    879|    }
12525|  3.01k|    int _mark = p->mark;
12526|  3.01k|    expr_ty _prefix_3_result = NULL;
12527|  3.01k|    int _prefix_3_end = 0, _prefix_3_valid = 0;
12528|  3.01k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12528:9): [True: 0, False: 3.01k]
  |  Branch (12528:31): [True: 0, False: 0]
  ------------------
12529|      0|        p->error_indicator = 1;
12530|      0|        p->level--;
12531|      0|        return NULL;
12532|      0|    }
12533|  3.01k|    int _start_lineno = p->tokens[_mark]->lineno;
12534|  3.01k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.01k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.01k]
  |  |  ------------------
  ------------------
12535|  3.01k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12536|  3.01k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.01k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.01k]
  |  |  ------------------
  ------------------
12537|  3.01k|    { // inversion (('and' inversion))+
12538|  3.01k|        if (p->error_indicator) {
  ------------------
  |  Branch (12538:13): [True: 0, False: 3.01k]
  ------------------
12539|      0|            p->level--;
12540|      0|            return NULL;
12541|      0|        }
12542|  3.01k|        D(fprintf(stderr, "%*c> conjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "inversion (('and' inversion))+"));
12543|  3.01k|        expr_ty a;
12544|  3.01k|        asdl_seq * b;
12545|  3.01k|        if (
12546|  3.01k|            (a = ((!p->call_invalid_rules && _prefix_3_valid) ? (p->mark = _prefix_3_end, _prefix_3_result) : (_prefix_3_result = inversion_rule(p), _prefix_3_end = p->mark, _prefix_3_valid = 1, _prefix_3_result)))  // inversion
  ------------------
  |  |  479|  3.01k|#define inversion_rule _PyPegen_inversion_rule
  ------------------
  |  Branch (12546:13): [True: 978, False: 2.03k]
  |  Branch (12546:20): [True: 1.69k, False: 1.32k]
  |  Branch (12546:46): [True: 0, False: 1.69k]
  ------------------
12547|    978|            &&
12548|    978|            (b = _loop1_60_rule(p))  // (('and' inversion))+
  ------------------
  |  Branch (12548:13): [True: 0, False: 978]
  ------------------
12549|  3.01k|        )
12550|      0|        {
12551|      0|            D(fprintf(stderr, "%*c+ conjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "inversion (('and' inversion))+"));
12552|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12553|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12553:17): [True: 0, False: 0]
  ------------------
12554|      0|                p->level--;
12555|      0|                return NULL;
12556|      0|            }
12557|      0|            int _end_lineno = _token->end_lineno;
12558|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12559|      0|            int _end_col_offset = _token->end_col_offset;
12560|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12561|      0|            _res = _PyAST_BoolOp ( And , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  280|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_BoolOp ( And , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12562|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12562:18): [True: 0, False: 0]
  |  Branch (12562:34): [True: 0, False: 0]
  |  Branch (12562:57): [True: 0, False: 0]
  ------------------
12563|      0|                p->error_indicator = 1;
12564|      0|                p->level--;
12565|      0|                return NULL;
12566|      0|            }
12567|      0|            goto done;
12568|      0|        }
12569|  3.01k|        p->mark = _mark;
12570|  3.01k|        D(fprintf(stderr, "%*c%s conjunction[%d-%d]: %s failed!\n", p->level, ' ',
12571|  3.01k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "inversion (('and' inversion))+"));
12572|  3.01k|    }
12573|      0|    { // inversion
12574|  3.01k|        if (p->error_indicator) {
  ------------------
  |  Branch (12574:13): [True: 490, False: 2.52k]
  ------------------
12575|    490|            p->level--;
12576|    490|            return NULL;
12577|    490|        }
12578|  2.52k|        D(fprintf(stderr, "%*c> conjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "inversion"));
12579|  2.52k|        expr_ty inversion_var;
12580|  2.52k|        if (
12581|  2.52k|            (inversion_var = ((!p->call_invalid_rules && _prefix_3_valid) ? (p->mark = _prefix_3_end, _prefix_3_result) : (_prefix_3_result = inversion_rule(p), _prefix_3_end = p->mark, _prefix_3_valid = 1, _prefix_3_result)))  // inversion
  ------------------
  |  |  479|    879|#define inversion_rule _PyPegen_inversion_rule
  ------------------
  |  Branch (12581:13): [True: 978, False: 1.54k]
  |  Branch (12581:32): [True: 1.64k, False: 879]
  |  Branch (12581:58): [True: 1.64k, False: 0]
  ------------------
12582|  2.52k|        )
12583|    978|        {
12584|    978|            D(fprintf(stderr, "%*c+ conjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "inversion"));
12585|    978|            _res = inversion_var;
12586|    978|            goto done;
12587|    978|        }
12588|  1.54k|        p->mark = _mark;
12589|  1.54k|        D(fprintf(stderr, "%*c%s conjunction[%d-%d]: %s failed!\n", p->level, ' ',
12590|  1.54k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "inversion"));
12591|  1.54k|    }
12592|  1.54k|    _res = NULL;
12593|  2.52k|  done:
12594|  2.52k|    _PyPegen_insert_memo(p, _mark, conjunction_type, _res);
  ------------------
  |  |  208|  2.52k|#define conjunction_type 1119
  ------------------
12595|  2.52k|    p->level--;
12596|  2.52k|    return _res;
12597|  1.54k|}
parser.c:_loop1_60_rule:
23160|    978|{
23161|    978|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.95k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23161:9): [True: 0, False: 978]
  |  Branch (23161:35): [True: 0, False: 978]
  ------------------
23162|      0|        _Pypegen_stack_overflow(p);
23163|      0|    }
23164|    978|    if (p->error_indicator) {
  ------------------
  |  Branch (23164:9): [True: 0, False: 978]
  ------------------
23165|      0|        p->level--;
23166|      0|        return NULL;
23167|      0|    }
23168|    978|    void *_res = NULL;
23169|    978|    int _mark = p->mark;
23170|    978|    void **_children = NULL;
23171|    978|    Py_ssize_t _children_capacity = 0;
23172|    978|    Py_ssize_t _n = 0;
23173|    978|    { // ('and' inversion)
23174|    978|        if (p->error_indicator) {
  ------------------
  |  Branch (23174:13): [True: 0, False: 978]
  ------------------
23175|      0|            p->level--;
23176|      0|            return NULL;
23177|      0|        }
23178|    978|        D(fprintf(stderr, "%*c> _loop1_60[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('and' inversion)"));
23179|    978|        void *_tmp_183_var;
23180|    978|        while (
23181|    978|            (_tmp_183_var = _tmp_183_rule(p))  // 'and' inversion
  ------------------
  |  Branch (23181:13): [True: 0, False: 978]
  ------------------
23182|    978|        )
23183|      0|        {
23184|      0|            _res = _tmp_183_var;
23185|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23185:17): [True: 0, False: 0]
  ------------------
23186|      0|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23186:21): [True: 0, False: 0]
  ------------------
23187|      0|                    p->error_indicator = 1;
23188|      0|                    PyErr_NoMemory();
23189|      0|                    PyMem_Free(_children);
23190|      0|                    p->level--;
23191|      0|                    return NULL;
23192|      0|                }
23193|      0|            }
23194|      0|            _children[_n++] = _res;
23195|      0|            _mark = p->mark;
23196|      0|        }
23197|    978|        p->mark = _mark;
23198|    978|        D(fprintf(stderr, "%*c%s _loop1_60[%d-%d]: %s failed!\n", p->level, ' ',
23199|    978|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('and' inversion)"));
23200|    978|    }
23201|    978|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (23201:9): [True: 978, False: 0]
  |  Branch (23201:20): [True: 0, False: 0]
  ------------------
23202|    978|        PyMem_Free(_children);
23203|    978|        p->level--;
23204|    978|        return NULL;
23205|    978|    }
23206|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23207|      0|    if (!_seq) {
  ------------------
  |  Branch (23207:9): [True: 0, False: 0]
  ------------------
23208|      0|        p->error_indicator = 1;
23209|      0|        PyErr_NoMemory();
23210|      0|        PyMem_Free(_children);
23211|      0|        p->level--;
23212|      0|        return NULL;
23213|      0|    }
23214|      0|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (23214:28): [True: 0, False: 0]
  ------------------
23215|      0|    PyMem_Free(_children);
23216|      0|    p->level--;
23217|      0|    return _seq;
23218|      0|}
parser.c:_tmp_183_rule:
26045|    978|{
26046|    978|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.95k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26046:9): [True: 0, False: 978]
  |  Branch (26046:35): [True: 0, False: 978]
  ------------------
26047|      0|        _Pypegen_stack_overflow(p);
26048|      0|    }
26049|    978|    if (p->error_indicator) {
  ------------------
  |  Branch (26049:9): [True: 0, False: 978]
  ------------------
26050|      0|        p->level--;
26051|      0|        return NULL;
26052|      0|    }
26053|    978|    void * _res = NULL;
26054|    978|    int _mark = p->mark;
26055|    978|    { // 'and' inversion
26056|    978|        if (p->error_indicator) {
  ------------------
  |  Branch (26056:13): [True: 0, False: 978]
  ------------------
26057|      0|            p->level--;
26058|      0|            return NULL;
26059|      0|        }
26060|    978|        D(fprintf(stderr, "%*c> _tmp_183[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'and' inversion"));
26061|    978|        Token * _keyword;
26062|    978|        expr_ty c;
26063|    978|        if (
26064|    978|            (_keyword = _PyPegen_expect_token(p, 530))  // token='and'
  ------------------
  |  Branch (26064:13): [True: 0, False: 978]
  ------------------
26065|      0|            &&
26066|      0|            (c = inversion_rule(p))  // inversion
  ------------------
  |  |  479|      0|#define inversion_rule _PyPegen_inversion_rule
  ------------------
  |  Branch (26066:13): [True: 0, False: 0]
  ------------------
26067|    978|        )
26068|      0|        {
26069|      0|            D(fprintf(stderr, "%*c+ _tmp_183[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'and' inversion"));
26070|      0|            _res = c;
26071|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26071:18): [True: 0, False: 0]
  |  Branch (26071:34): [True: 0, False: 0]
  |  Branch (26071:57): [True: 0, False: 0]
  ------------------
26072|      0|                p->error_indicator = 1;
26073|      0|                p->level--;
26074|      0|                return NULL;
26075|      0|            }
26076|      0|            goto done;
26077|      0|        }
26078|    978|        p->mark = _mark;
26079|    978|        D(fprintf(stderr, "%*c%s _tmp_183[%d-%d]: %s failed!\n", p->level, ' ',
26080|    978|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'and' inversion"));
26081|    978|    }
26082|    978|    _res = NULL;
26083|    978|  done:
26084|    978|    p->level--;
26085|    978|    return _res;
26086|    978|}
parser.c:comparison_rule:
12694|  3.01k|{
12695|  3.01k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  6.03k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12695:9): [True: 0, False: 3.01k]
  |  Branch (12695:35): [True: 0, False: 3.01k]
  ------------------
12696|      0|        _Pypegen_stack_overflow(p);
12697|      0|    }
12698|  3.01k|    if (p->error_indicator) {
  ------------------
  |  Branch (12698:9): [True: 0, False: 3.01k]
  ------------------
12699|      0|        p->level--;
12700|      0|        return NULL;
12701|      0|    }
12702|  3.01k|    expr_ty _res = NULL;
12703|  3.01k|    int _mark = p->mark;
12704|  3.01k|    expr_ty _prefix_4_result = NULL;
12705|  3.01k|    int _prefix_4_end = 0, _prefix_4_valid = 0;
12706|  3.01k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12706:9): [True: 0, False: 3.01k]
  |  Branch (12706:31): [True: 0, False: 0]
  ------------------
12707|      0|        p->error_indicator = 1;
12708|      0|        p->level--;
12709|      0|        return NULL;
12710|      0|    }
12711|  3.01k|    int _start_lineno = p->tokens[_mark]->lineno;
12712|  3.01k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.01k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.01k]
  |  |  ------------------
  ------------------
12713|  3.01k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12714|  3.01k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.01k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.01k]
  |  |  ------------------
  ------------------
12715|  3.01k|    { // bitwise_or compare_op_bitwise_or_pair+
12716|  3.01k|        if (p->error_indicator) {
  ------------------
  |  Branch (12716:13): [True: 0, False: 3.01k]
  ------------------
12717|      0|            p->level--;
12718|      0|            return NULL;
12719|      0|        }
12720|  3.01k|        D(fprintf(stderr, "%*c> comparison[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12721|  3.01k|        expr_ty a;
12722|  3.01k|        asdl_seq * b;
12723|  3.01k|        if (
12724|  3.01k|            (a = ((!p->call_invalid_rules && _prefix_4_valid) ? (p->mark = _prefix_4_end, _prefix_4_result) : (_prefix_4_result = bitwise_or_rule(p), _prefix_4_end = p->mark, _prefix_4_valid = 1, _prefix_4_result)))  // bitwise_or
  ------------------
  |  |  481|  3.01k|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12724:13): [True: 979, False: 2.03k]
  |  Branch (12724:20): [True: 1.69k, False: 1.32k]
  |  Branch (12724:46): [True: 0, False: 1.69k]
  ------------------
12725|    979|            &&
12726|    979|            (b = _loop1_61_rule(p))  // compare_op_bitwise_or_pair+
  ------------------
  |  Branch (12726:13): [True: 1, False: 978]
  ------------------
12727|  3.01k|        )
12728|      1|        {
12729|      1|            D(fprintf(stderr, "%*c+ comparison[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12730|      1|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12731|      1|            if (_token == NULL) {
  ------------------
  |  Branch (12731:17): [True: 0, False: 1]
  ------------------
12732|      0|                p->level--;
12733|      0|                return NULL;
12734|      0|            }
12735|      1|            int _end_lineno = _token->end_lineno;
12736|      1|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
12737|      1|            int _end_col_offset = _token->end_col_offset;
12738|      1|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
12739|      1|            _res = _PyAST_Compare ( a , CHECK ( asdl_int_seq* , _PyPegen_get_cmpops ( p , b ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_exprs ( p , b ) ) , EXTRA );
  ------------------
  |  |  280|      1|#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 );
  ------------------
  |  |  280|      1|#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 );
  ------------------
  |  |  316|      1|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12740|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12740:18): [True: 0, False: 1]
  |  Branch (12740:34): [True: 0, False: 1]
  |  Branch (12740:57): [True: 0, False: 0]
  ------------------
12741|      0|                p->error_indicator = 1;
12742|      0|                p->level--;
12743|      0|                return NULL;
12744|      0|            }
12745|      1|            goto done;
12746|      1|        }
12747|  3.01k|        p->mark = _mark;
12748|  3.01k|        D(fprintf(stderr, "%*c%s comparison[%d-%d]: %s failed!\n", p->level, ' ',
12749|  3.01k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12750|  3.01k|    }
12751|      0|    { // bitwise_or
12752|  3.01k|        if (p->error_indicator) {
  ------------------
  |  Branch (12752:13): [True: 490, False: 2.52k]
  ------------------
12753|    490|            p->level--;
12754|    490|            return NULL;
12755|    490|        }
12756|  2.52k|        D(fprintf(stderr, "%*c> comparison[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or"));
12757|  2.52k|        expr_ty bitwise_or_var;
12758|  2.52k|        if (
12759|  2.52k|            (bitwise_or_var = ((!p->call_invalid_rules && _prefix_4_valid) ? (p->mark = _prefix_4_end, _prefix_4_result) : (_prefix_4_result = bitwise_or_rule(p), _prefix_4_end = p->mark, _prefix_4_valid = 1, _prefix_4_result)))  // bitwise_or
  ------------------
  |  |  481|    879|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12759:13): [True: 977, False: 1.54k]
  |  Branch (12759:33): [True: 1.64k, False: 879]
  |  Branch (12759:59): [True: 1.64k, False: 0]
  ------------------
12760|  2.52k|        )
12761|    977|        {
12762|    977|            D(fprintf(stderr, "%*c+ comparison[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or"));
12763|    977|            _res = bitwise_or_var;
12764|    977|            goto done;
12765|    977|        }
12766|  1.54k|        p->mark = _mark;
12767|  1.54k|        D(fprintf(stderr, "%*c%s comparison[%d-%d]: %s failed!\n", p->level, ' ',
12768|  1.54k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or"));
12769|  1.54k|    }
12770|  1.54k|    _res = NULL;
12771|  2.52k|  done:
12772|  2.52k|    p->level--;
12773|  2.52k|    return _res;
12774|  1.54k|}
parser.c:_loop1_61_rule:
23223|    979|{
23224|    979|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.95k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23224:9): [True: 0, False: 979]
  |  Branch (23224:35): [True: 0, False: 979]
  ------------------
23225|      0|        _Pypegen_stack_overflow(p);
23226|      0|    }
23227|    979|    if (p->error_indicator) {
  ------------------
  |  Branch (23227:9): [True: 0, False: 979]
  ------------------
23228|      0|        p->level--;
23229|      0|        return NULL;
23230|      0|    }
23231|    979|    void *_res = NULL;
23232|    979|    int _mark = p->mark;
23233|    979|    void **_children = NULL;
23234|    979|    Py_ssize_t _children_capacity = 0;
23235|    979|    Py_ssize_t _n = 0;
23236|    979|    { // compare_op_bitwise_or_pair
23237|    979|        if (p->error_indicator) {
  ------------------
  |  Branch (23237:13): [True: 0, False: 979]
  ------------------
23238|      0|            p->level--;
23239|      0|            return NULL;
23240|      0|        }
23241|    979|        D(fprintf(stderr, "%*c> _loop1_61[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "compare_op_bitwise_or_pair"));
23242|    979|        CmpopExprPair* compare_op_bitwise_or_pair_var;
23243|    979|        while (
23244|    980|            (compare_op_bitwise_or_pair_var = compare_op_bitwise_or_pair_rule(p))  // compare_op_bitwise_or_pair
  ------------------
  |  Branch (23244:13): [True: 1, False: 979]
  ------------------
23245|    979|        )
23246|      1|        {
23247|      1|            _res = compare_op_bitwise_or_pair_var;
23248|      1|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23248:17): [True: 1, False: 0]
  ------------------
23249|      1|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23249:21): [True: 0, False: 1]
  ------------------
23250|      0|                    p->error_indicator = 1;
23251|      0|                    PyErr_NoMemory();
23252|      0|                    PyMem_Free(_children);
23253|      0|                    p->level--;
23254|      0|                    return NULL;
23255|      0|                }
23256|      1|            }
23257|      1|            _children[_n++] = _res;
23258|      1|            _mark = p->mark;
23259|      1|        }
23260|    979|        p->mark = _mark;
23261|    979|        D(fprintf(stderr, "%*c%s _loop1_61[%d-%d]: %s failed!\n", p->level, ' ',
23262|    979|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "compare_op_bitwise_or_pair"));
23263|    979|    }
23264|    979|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (23264:9): [True: 978, False: 1]
  |  Branch (23264:20): [True: 0, False: 1]
  ------------------
23265|    978|        PyMem_Free(_children);
23266|    978|        p->level--;
23267|    978|        return NULL;
23268|    978|    }
23269|      1|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23270|      1|    if (!_seq) {
  ------------------
  |  Branch (23270:9): [True: 0, False: 1]
  ------------------
23271|      0|        p->error_indicator = 1;
23272|      0|        PyErr_NoMemory();
23273|      0|        PyMem_Free(_children);
23274|      0|        p->level--;
23275|      0|        return NULL;
23276|      0|    }
23277|      2|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      1|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (23277:28): [True: 1, False: 1]
  ------------------
23278|      1|    PyMem_Free(_children);
23279|      1|    p->level--;
23280|      1|    return _seq;
23281|      1|}
parser.c:compare_op_bitwise_or_pair_rule:
12790|    980|{
12791|    980|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.96k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12791:9): [True: 0, False: 980]
  |  Branch (12791:35): [True: 0, False: 980]
  ------------------
12792|      0|        _Pypegen_stack_overflow(p);
12793|      0|    }
12794|    980|    if (p->error_indicator) {
  ------------------
  |  Branch (12794:9): [True: 0, False: 980]
  ------------------
12795|      0|        p->level--;
12796|      0|        return NULL;
12797|      0|    }
12798|    980|    CmpopExprPair* _res = NULL;
12799|    980|    int _mark = p->mark;
12800|    980|    { // '==' bitwise_or
12801|    980|        if (p->error_indicator) {
  ------------------
  |  Branch (12801:13): [True: 0, False: 980]
  ------------------
12802|      0|            p->level--;
12803|      0|            return NULL;
12804|      0|        }
12805|    980|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'==' bitwise_or"));
12806|    980|        Token * _literal;
12807|    980|        expr_ty a;
12808|    980|        if (
12809|    980|            (_literal = _PyPegen_expect_token(p, 27))  // token='=='
  ------------------
  |  Branch (12809:13): [True: 0, False: 980]
  ------------------
12810|      0|            &&
12811|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12811:13): [True: 0, False: 0]
  ------------------
12812|    980|        )
12813|      0|        {
12814|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'==' bitwise_or"));
12815|      0|            _res = _PyPegen_cmpop_expr_pair ( p , Eq , a );
12816|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12816:18): [True: 0, False: 0]
  |  Branch (12816:34): [True: 0, False: 0]
  |  Branch (12816:57): [True: 0, False: 0]
  ------------------
12817|      0|                p->error_indicator = 1;
12818|      0|                p->level--;
12819|      0|                return NULL;
12820|      0|            }
12821|      0|            goto done;
12822|      0|        }
12823|    980|        p->mark = _mark;
12824|    980|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12825|    980|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'==' bitwise_or"));
12826|    980|    }
12827|      0|    { // ('!=') bitwise_or
12828|    980|        if (p->error_indicator) {
  ------------------
  |  Branch (12828:13): [True: 0, False: 980]
  ------------------
12829|      0|            p->level--;
12830|      0|            return NULL;
12831|      0|        }
12832|    980|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('!=') bitwise_or"));
12833|    980|        void *_tmp_62_var;
12834|    980|        expr_ty a;
12835|    980|        if (
12836|    980|            (_tmp_62_var = _tmp_62_rule(p))  // '!='
  ------------------
  |  Branch (12836:13): [True: 0, False: 980]
  ------------------
12837|      0|            &&
12838|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12838:13): [True: 0, False: 0]
  ------------------
12839|    980|        )
12840|      0|        {
12841|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('!=') bitwise_or"));
12842|      0|            _res = _PyPegen_cmpop_expr_pair ( p , NotEq , a );
12843|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12843:18): [True: 0, False: 0]
  |  Branch (12843:34): [True: 0, False: 0]
  |  Branch (12843:57): [True: 0, False: 0]
  ------------------
12844|      0|                p->error_indicator = 1;
12845|      0|                p->level--;
12846|      0|                return NULL;
12847|      0|            }
12848|      0|            goto done;
12849|      0|        }
12850|    980|        p->mark = _mark;
12851|    980|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12852|    980|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('!=') bitwise_or"));
12853|    980|    }
12854|      0|    { // '<=' bitwise_or
12855|    980|        if (p->error_indicator) {
  ------------------
  |  Branch (12855:13): [True: 0, False: 980]
  ------------------
12856|      0|            p->level--;
12857|      0|            return NULL;
12858|      0|        }
12859|    980|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<=' bitwise_or"));
12860|    980|        Token * _literal;
12861|    980|        expr_ty a;
12862|    980|        if (
12863|    980|            (_literal = _PyPegen_expect_token(p, 29))  // token='<='
  ------------------
  |  Branch (12863:13): [True: 0, False: 980]
  ------------------
12864|      0|            &&
12865|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12865:13): [True: 0, False: 0]
  ------------------
12866|    980|        )
12867|      0|        {
12868|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<=' bitwise_or"));
12869|      0|            _res = _PyPegen_cmpop_expr_pair ( p , LtE , a );
12870|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12870:18): [True: 0, False: 0]
  |  Branch (12870:34): [True: 0, False: 0]
  |  Branch (12870:57): [True: 0, False: 0]
  ------------------
12871|      0|                p->error_indicator = 1;
12872|      0|                p->level--;
12873|      0|                return NULL;
12874|      0|            }
12875|      0|            goto done;
12876|      0|        }
12877|    980|        p->mark = _mark;
12878|    980|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12879|    980|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<=' bitwise_or"));
12880|    980|    }
12881|    980|    if (p->call_invalid_rules) { // invalid_noteq
  ------------------
  |  Branch (12881:9): [True: 306, False: 674]
  ------------------
12882|    306|        if (p->error_indicator) {
  ------------------
  |  Branch (12882:13): [True: 0, False: 306]
  ------------------
12883|      0|            p->level--;
12884|      0|            return NULL;
12885|      0|        }
12886|    306|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_noteq"));
12887|    306|        void *invalid_noteq_var;
12888|    306|        if (
12889|    306|            (invalid_noteq_var = invalid_noteq_rule(p))  // invalid_noteq
  ------------------
  |  |  661|    306|#define invalid_noteq_rule _PyPegen_invalid_noteq_rule
  ------------------
  |  Branch (12889:13): [True: 0, False: 306]
  ------------------
12890|    306|        )
12891|      0|        {
12892|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_noteq"));
12893|      0|            _res = invalid_noteq_var;
12894|      0|            goto done;
12895|      0|        }
12896|    306|        p->mark = _mark;
12897|    306|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12898|    306|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_noteq"));
12899|    306|    }
12900|    980|    { // '<' bitwise_or
12901|    980|        if (p->error_indicator) {
  ------------------
  |  Branch (12901:13): [True: 0, False: 980]
  ------------------
12902|      0|            p->level--;
12903|      0|            return NULL;
12904|      0|        }
12905|    980|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<' bitwise_or"));
12906|    980|        Token * _literal;
12907|    980|        expr_ty a;
12908|    980|        if (
12909|    980|            (_literal = _PyPegen_expect_token(p, 20))  // token='<'
  ------------------
  |  Branch (12909:13): [True: 1, False: 979]
  ------------------
12910|      1|            &&
12911|      1|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      1|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12911:13): [True: 0, False: 1]
  ------------------
12912|    980|        )
12913|      0|        {
12914|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<' bitwise_or"));
12915|      0|            _res = _PyPegen_cmpop_expr_pair ( p , Lt , a );
12916|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12916:18): [True: 0, False: 0]
  |  Branch (12916:34): [True: 0, False: 0]
  |  Branch (12916:57): [True: 0, False: 0]
  ------------------
12917|      0|                p->error_indicator = 1;
12918|      0|                p->level--;
12919|      0|                return NULL;
12920|      0|            }
12921|      0|            goto done;
12922|      0|        }
12923|    980|        p->mark = _mark;
12924|    980|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12925|    980|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<' bitwise_or"));
12926|    980|    }
12927|      0|    { // '>=' bitwise_or
12928|    980|        if (p->error_indicator) {
  ------------------
  |  Branch (12928:13): [True: 1, False: 979]
  ------------------
12929|      1|            p->level--;
12930|      1|            return NULL;
12931|      1|        }
12932|    979|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'>=' bitwise_or"));
12933|    979|        Token * _literal;
12934|    979|        expr_ty a;
12935|    979|        if (
12936|    979|            (_literal = _PyPegen_expect_token(p, 30))  // token='>='
  ------------------
  |  Branch (12936:13): [True: 0, False: 979]
  ------------------
12937|      0|            &&
12938|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12938:13): [True: 0, False: 0]
  ------------------
12939|    979|        )
12940|      0|        {
12941|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'>=' bitwise_or"));
12942|      0|            _res = _PyPegen_cmpop_expr_pair ( p , GtE , a );
12943|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12943:18): [True: 0, False: 0]
  |  Branch (12943:34): [True: 0, False: 0]
  |  Branch (12943:57): [True: 0, False: 0]
  ------------------
12944|      0|                p->error_indicator = 1;
12945|      0|                p->level--;
12946|      0|                return NULL;
12947|      0|            }
12948|      0|            goto done;
12949|      0|        }
12950|    979|        p->mark = _mark;
12951|    979|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12952|    979|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'>=' bitwise_or"));
12953|    979|    }
12954|      0|    { // '>' bitwise_or
12955|    979|        if (p->error_indicator) {
  ------------------
  |  Branch (12955:13): [True: 0, False: 979]
  ------------------
12956|      0|            p->level--;
12957|      0|            return NULL;
12958|      0|        }
12959|    979|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'>' bitwise_or"));
12960|    979|        Token * _literal;
12961|    979|        expr_ty a;
12962|    979|        if (
12963|    979|            (_literal = _PyPegen_expect_token(p, 21))  // token='>'
  ------------------
  |  Branch (12963:13): [True: 0, False: 979]
  ------------------
12964|      0|            &&
12965|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12965:13): [True: 0, False: 0]
  ------------------
12966|    979|        )
12967|      0|        {
12968|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'>' bitwise_or"));
12969|      0|            _res = _PyPegen_cmpop_expr_pair ( p , Gt , a );
12970|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12970:18): [True: 0, False: 0]
  |  Branch (12970:34): [True: 0, False: 0]
  |  Branch (12970:57): [True: 0, False: 0]
  ------------------
12971|      0|                p->error_indicator = 1;
12972|      0|                p->level--;
12973|      0|                return NULL;
12974|      0|            }
12975|      0|            goto done;
12976|      0|        }
12977|    979|        p->mark = _mark;
12978|    979|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12979|    979|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'>' bitwise_or"));
12980|    979|    }
12981|      0|    { // 'not' 'in' bitwise_or
12982|    979|        if (p->error_indicator) {
  ------------------
  |  Branch (12982:13): [True: 0, False: 979]
  ------------------
12983|      0|            p->level--;
12984|      0|            return NULL;
12985|      0|        }
12986|    979|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'not' 'in' bitwise_or"));
12987|    979|        Token * _keyword;
12988|    979|        Token * _keyword_1;
12989|    979|        expr_ty a;
12990|    979|        if (
12991|    979|            (_keyword = _PyPegen_expect_token(p, 531))  // token='not'
  ------------------
  |  Branch (12991:13): [True: 0, False: 979]
  ------------------
12992|      0|            &&
12993|      0|            (_keyword_1 = _PyPegen_expect_token(p, 523))  // token='in'
  ------------------
  |  Branch (12993:13): [True: 0, False: 0]
  ------------------
12994|      0|            &&
12995|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12995:13): [True: 0, False: 0]
  ------------------
12996|    979|        )
12997|      0|        {
12998|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'not' 'in' bitwise_or"));
12999|      0|            _res = _PyPegen_cmpop_expr_pair ( p , NotIn , a );
13000|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13000:18): [True: 0, False: 0]
  |  Branch (13000:34): [True: 0, False: 0]
  |  Branch (13000:57): [True: 0, False: 0]
  ------------------
13001|      0|                p->error_indicator = 1;
13002|      0|                p->level--;
13003|      0|                return NULL;
13004|      0|            }
13005|      0|            goto done;
13006|      0|        }
13007|    979|        p->mark = _mark;
13008|    979|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13009|    979|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'not' 'in' bitwise_or"));
13010|    979|    }
13011|      0|    { // 'in' bitwise_or
13012|    979|        if (p->error_indicator) {
  ------------------
  |  Branch (13012:13): [True: 0, False: 979]
  ------------------
13013|      0|            p->level--;
13014|      0|            return NULL;
13015|      0|        }
13016|    979|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'in' bitwise_or"));
13017|    979|        Token * _keyword;
13018|    979|        expr_ty a;
13019|    979|        if (
13020|    979|            (_keyword = _PyPegen_expect_token(p, 523))  // token='in'
  ------------------
  |  Branch (13020:13): [True: 1, False: 978]
  ------------------
13021|      1|            &&
13022|      1|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      1|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (13022:13): [True: 1, False: 0]
  ------------------
13023|    979|        )
13024|      1|        {
13025|      1|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'in' bitwise_or"));
13026|      1|            _res = _PyPegen_cmpop_expr_pair ( p , In , a );
13027|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13027:18): [True: 0, False: 1]
  |  Branch (13027:34): [True: 0, False: 1]
  |  Branch (13027:57): [True: 0, False: 0]
  ------------------
13028|      0|                p->error_indicator = 1;
13029|      0|                p->level--;
13030|      0|                return NULL;
13031|      0|            }
13032|      1|            goto done;
13033|      1|        }
13034|    978|        p->mark = _mark;
13035|    978|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13036|    978|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'in' bitwise_or"));
13037|    978|    }
13038|      0|    { // 'is' 'not' bitwise_or
13039|    978|        if (p->error_indicator) {
  ------------------
  |  Branch (13039:13): [True: 0, False: 978]
  ------------------
13040|      0|            p->level--;
13041|      0|            return NULL;
13042|      0|        }
13043|    978|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'is' 'not' bitwise_or"));
13044|    978|        Token * _keyword;
13045|    978|        Token * _keyword_1;
13046|    978|        expr_ty a;
13047|    978|        if (
13048|    978|            (_keyword = _PyPegen_expect_token(p, 532))  // token='is'
  ------------------
  |  Branch (13048:13): [True: 0, False: 978]
  ------------------
13049|      0|            &&
13050|      0|            (_keyword_1 = _PyPegen_expect_token(p, 531))  // token='not'
  ------------------
  |  Branch (13050:13): [True: 0, False: 0]
  ------------------
13051|      0|            &&
13052|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (13052:13): [True: 0, False: 0]
  ------------------
13053|    978|        )
13054|      0|        {
13055|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'is' 'not' bitwise_or"));
13056|      0|            _res = _PyPegen_cmpop_expr_pair ( p , IsNot , a );
13057|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13057:18): [True: 0, False: 0]
  |  Branch (13057:34): [True: 0, False: 0]
  |  Branch (13057:57): [True: 0, False: 0]
  ------------------
13058|      0|                p->error_indicator = 1;
13059|      0|                p->level--;
13060|      0|                return NULL;
13061|      0|            }
13062|      0|            goto done;
13063|      0|        }
13064|    978|        p->mark = _mark;
13065|    978|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13066|    978|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'is' 'not' bitwise_or"));
13067|    978|    }
13068|      0|    { // 'is' bitwise_or
13069|    978|        if (p->error_indicator) {
  ------------------
  |  Branch (13069:13): [True: 0, False: 978]
  ------------------
13070|      0|            p->level--;
13071|      0|            return NULL;
13072|      0|        }
13073|    978|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'is' bitwise_or"));
13074|    978|        Token * _keyword;
13075|    978|        expr_ty a;
13076|    978|        if (
13077|    978|            (_keyword = _PyPegen_expect_token(p, 532))  // token='is'
  ------------------
  |  Branch (13077:13): [True: 0, False: 978]
  ------------------
13078|      0|            &&
13079|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (13079:13): [True: 0, False: 0]
  ------------------
13080|    978|        )
13081|      0|        {
13082|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'is' bitwise_or"));
13083|      0|            _res = _PyPegen_cmpop_expr_pair ( p , Is , a );
13084|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13084:18): [True: 0, False: 0]
  |  Branch (13084:34): [True: 0, False: 0]
  |  Branch (13084:57): [True: 0, False: 0]
  ------------------
13085|      0|                p->error_indicator = 1;
13086|      0|                p->level--;
13087|      0|                return NULL;
13088|      0|            }
13089|      0|            goto done;
13090|      0|        }
13091|    978|        p->mark = _mark;
13092|    978|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13093|    978|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'is' bitwise_or"));
13094|    978|    }
13095|    978|    _res = NULL;
13096|    979|  done:
13097|    979|    p->level--;
13098|    979|    return _res;
13099|    978|}
parser.c:_tmp_62_rule:
23286|    980|{
23287|    980|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.96k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23287:9): [True: 0, False: 980]
  |  Branch (23287:35): [True: 0, False: 980]
  ------------------
23288|      0|        _Pypegen_stack_overflow(p);
23289|      0|    }
23290|    980|    if (p->error_indicator) {
  ------------------
  |  Branch (23290:9): [True: 0, False: 980]
  ------------------
23291|      0|        p->level--;
23292|      0|        return NULL;
23293|      0|    }
23294|    980|    void * _res = NULL;
23295|    980|    int _mark = p->mark;
23296|    980|    { // '!='
23297|    980|        if (p->error_indicator) {
  ------------------
  |  Branch (23297:13): [True: 0, False: 980]
  ------------------
23298|      0|            p->level--;
23299|      0|            return NULL;
23300|      0|        }
23301|    980|        D(fprintf(stderr, "%*c> _tmp_62[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!='"));
23302|    980|        Token * tok;
23303|    980|        if (
23304|    980|            (tok = _PyPegen_expect_token(p, 28))  // token='!='
  ------------------
  |  Branch (23304:13): [True: 0, False: 980]
  ------------------
23305|    980|        )
23306|      0|        {
23307|      0|            D(fprintf(stderr, "%*c+ _tmp_62[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!='"));
23308|      0|            _res = _PyPegen_check_barry_as_flufl ( p , tok ) ? NULL : tok;
  ------------------
  |  Branch (23308:20): [True: 0, False: 0]
  ------------------
23309|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23309:18): [True: 0, False: 0]
  |  Branch (23309:34): [True: 0, False: 0]
  |  Branch (23309:57): [True: 0, False: 0]
  ------------------
23310|      0|                p->error_indicator = 1;
23311|      0|                p->level--;
23312|      0|                return NULL;
23313|      0|            }
23314|      0|            goto done;
23315|      0|        }
23316|    980|        p->mark = _mark;
23317|    980|        D(fprintf(stderr, "%*c%s _tmp_62[%d-%d]: %s failed!\n", p->level, ' ',
23318|    980|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!='"));
23319|    980|    }
23320|    980|    _res = NULL;
23321|    980|  done:
23322|    980|    p->level--;
23323|    980|    return _res;
23324|    980|}
parser.c:bitwise_or_raw:
13142|  4.05k|{
13143|  4.05k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  8.11k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13143:9): [True: 0, False: 4.05k]
  |  Branch (13143:35): [True: 0, False: 4.05k]
  ------------------
13144|      0|        _Pypegen_stack_overflow(p);
13145|      0|    }
13146|  4.05k|    if (p->error_indicator) {
  ------------------
  |  Branch (13146:9): [True: 0, False: 4.05k]
  ------------------
13147|      0|        p->level--;
13148|      0|        return NULL;
13149|      0|    }
13150|  4.05k|    expr_ty _res = NULL;
13151|  4.05k|    int _mark = p->mark;
13152|  4.05k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13152:9): [True: 0, False: 4.05k]
  |  Branch (13152:31): [True: 0, False: 0]
  ------------------
13153|      0|        p->error_indicator = 1;
13154|      0|        p->level--;
13155|      0|        return NULL;
13156|      0|    }
13157|  4.05k|    int _start_lineno = p->tokens[_mark]->lineno;
13158|  4.05k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.05k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.05k]
  |  |  ------------------
  ------------------
13159|  4.05k|    int _start_col_offset = p->tokens[_mark]->col_offset;
13160|  4.05k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.05k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.05k]
  |  |  ------------------
  ------------------
13161|  4.05k|    { // bitwise_or '|' bitwise_xor
13162|  4.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (13162:13): [True: 0, False: 4.05k]
  ------------------
13163|      0|            p->level--;
13164|      0|            return NULL;
13165|      0|        }
13166|  4.05k|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13167|  4.05k|        Token * _literal;
13168|  4.05k|        expr_ty a;
13169|  4.05k|        expr_ty b;
13170|  4.05k|        if (
13171|  4.05k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|  4.05k|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (13171:13): [True: 1.01k, False: 3.04k]
  ------------------
13172|  1.01k|            &&
13173|  1.01k|            (_literal = _PyPegen_expect_token(p, 18))  // token='|'
  ------------------
  |  Branch (13173:13): [True: 0, False: 1.01k]
  ------------------
13174|      0|            &&
13175|      0|            (b = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13175:13): [True: 0, False: 0]
  ------------------
13176|  4.05k|        )
13177|      0|        {
13178|      0|            D(fprintf(stderr, "%*c+ bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13179|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13180|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13180:17): [True: 0, False: 0]
  ------------------
13181|      0|                p->level--;
13182|      0|                return NULL;
13183|      0|            }
13184|      0|            int _end_lineno = _token->end_lineno;
13185|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13186|      0|            int _end_col_offset = _token->end_col_offset;
13187|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13188|      0|            _res = _PyAST_BinOp ( a , BitOr , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13189|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13189:18): [True: 0, False: 0]
  |  Branch (13189:34): [True: 0, False: 0]
  |  Branch (13189:57): [True: 0, False: 0]
  ------------------
13190|      0|                p->error_indicator = 1;
13191|      0|                p->level--;
13192|      0|                return NULL;
13193|      0|            }
13194|      0|            goto done;
13195|      0|        }
13196|  4.05k|        p->mark = _mark;
13197|  4.05k|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13198|  4.05k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13199|  4.05k|    }
13200|  4.05k|    if (p->call_invalid_rules) { // invalid_bitwise_or
  ------------------
  |  Branch (13200:9): [True: 1.69k, False: 2.36k]
  ------------------
13201|  1.69k|        if (p->error_indicator) {
  ------------------
  |  Branch (13201:13): [True: 0, False: 1.69k]
  ------------------
13202|      0|            p->level--;
13203|      0|            return NULL;
13204|      0|        }
13205|  1.69k|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_or"));
13206|  1.69k|        void *invalid_bitwise_or_var;
13207|  1.69k|        if (
13208|  1.69k|            (invalid_bitwise_or_var = invalid_bitwise_or_rule(p))  // invalid_bitwise_or
  ------------------
  |  |  659|  1.69k|#define invalid_bitwise_or_rule _PyPegen_invalid_bitwise_or_rule
  ------------------
  |  Branch (13208:13): [True: 0, False: 1.69k]
  ------------------
13209|  1.69k|        )
13210|      0|        {
13211|      0|            D(fprintf(stderr, "%*c+ bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_or"));
13212|      0|            _res = invalid_bitwise_or_var;
13213|      0|            goto done;
13214|      0|        }
13215|  1.69k|        p->mark = _mark;
13216|  1.69k|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13217|  1.69k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_bitwise_or"));
13218|  1.69k|    }
13219|  4.05k|    { // bitwise_xor
13220|  4.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (13220:13): [True: 0, False: 4.05k]
  ------------------
13221|      0|            p->level--;
13222|      0|            return NULL;
13223|      0|        }
13224|  4.05k|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_xor"));
13225|  4.05k|        expr_ty bitwise_xor_var;
13226|  4.05k|        if (
13227|  4.05k|            (bitwise_xor_var = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13227:13): [True: 2.02k, False: 2.03k]
  ------------------
13228|  4.05k|        )
13229|  2.02k|        {
13230|  2.02k|            D(fprintf(stderr, "%*c+ bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_xor"));
13231|  2.02k|            _res = bitwise_xor_var;
13232|  2.02k|            goto done;
13233|  2.02k|        }
13234|  2.03k|        p->mark = _mark;
13235|  2.03k|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13236|  2.03k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_xor"));
13237|  2.03k|    }
13238|  2.03k|    _res = NULL;
13239|  4.05k|  done:
13240|  4.05k|    p->level--;
13241|  4.05k|    return _res;
13242|  2.03k|}
parser.c:bitwise_xor_rule:
13249|  8.11k|{
13250|  8.11k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  16.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13250:9): [True: 0, False: 8.11k]
  |  Branch (13250:35): [True: 0, False: 8.11k]
  ------------------
13251|      0|        _Pypegen_stack_overflow(p);
13252|      0|    }
13253|  8.11k|    expr_ty _res = NULL;
13254|  8.11k|    if (_PyPegen_is_memoized(p, bitwise_xor_type, &_res)) {
  ------------------
  |  |  213|  8.11k|#define bitwise_xor_type 1124  // Left-recursive
  ------------------
  |  Branch (13254:9): [True: 5.06k, False: 3.04k]
  ------------------
13255|  5.06k|        p->level--;
13256|  5.06k|        return _res;
13257|  5.06k|    }
13258|  3.04k|    int _mark = p->mark;
13259|  3.04k|    int _resmark = p->mark;
13260|  3.04k|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, bitwise_xor_type);
  ------------------
  |  |  213|  3.04k|#define bitwise_xor_type 1124  // Left-recursive
  ------------------
13261|  3.04k|    if (_memo == NULL) {
  ------------------
  |  Branch (13261:9): [True: 0, False: 3.04k]
  ------------------
13262|      0|        p->level--;
13263|      0|        return NULL;
13264|      0|    }
13265|  4.05k|    while (1) {
  ------------------
  |  Branch (13265:12): [True: 4.05k, Folded]
  ------------------
13266|  4.05k|        _memo->node = _res;
13267|  4.05k|        _memo->mark = p->mark;
13268|  4.05k|        p->mark = _mark;
13269|  4.05k|        void *_raw = bitwise_xor_raw(p);
13270|  4.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (13270:13): [True: 490, False: 3.56k]
  ------------------
13271|    490|            p->level--;
13272|    490|            return NULL;
13273|    490|        }
13274|  3.56k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13274:13): [True: 1.54k, False: 2.02k]
  |  Branch (13274:29): [True: 1.01k, False: 1.01k]
  ------------------
13275|  2.55k|            break;
13276|  1.01k|        _resmark = p->mark;
13277|  1.01k|        _res = _raw;
13278|  1.01k|    }
13279|  2.55k|    p->mark = _resmark;
13280|  2.55k|    p->level--;
13281|  2.55k|    return _res;
13282|  3.04k|}
parser.c:bitwise_xor_raw:
13285|  4.05k|{
13286|  4.05k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  8.11k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13286:9): [True: 0, False: 4.05k]
  |  Branch (13286:35): [True: 0, False: 4.05k]
  ------------------
13287|      0|        _Pypegen_stack_overflow(p);
13288|      0|    }
13289|  4.05k|    if (p->error_indicator) {
  ------------------
  |  Branch (13289:9): [True: 0, False: 4.05k]
  ------------------
13290|      0|        p->level--;
13291|      0|        return NULL;
13292|      0|    }
13293|  4.05k|    expr_ty _res = NULL;
13294|  4.05k|    int _mark = p->mark;
13295|  4.05k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13295:9): [True: 0, False: 4.05k]
  |  Branch (13295:31): [True: 0, False: 0]
  ------------------
13296|      0|        p->error_indicator = 1;
13297|      0|        p->level--;
13298|      0|        return NULL;
13299|      0|    }
13300|  4.05k|    int _start_lineno = p->tokens[_mark]->lineno;
13301|  4.05k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.05k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.05k]
  |  |  ------------------
  ------------------
13302|  4.05k|    int _start_col_offset = p->tokens[_mark]->col_offset;
13303|  4.05k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.05k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.05k]
  |  |  ------------------
  ------------------
13304|  4.05k|    { // bitwise_xor '^' bitwise_and
13305|  4.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (13305:13): [True: 0, False: 4.05k]
  ------------------
13306|      0|            p->level--;
13307|      0|            return NULL;
13308|      0|        }
13309|  4.05k|        D(fprintf(stderr, "%*c> bitwise_xor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13310|  4.05k|        Token * _literal;
13311|  4.05k|        expr_ty a;
13312|  4.05k|        expr_ty b;
13313|  4.05k|        if (
13314|  4.05k|            (a = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13314:13): [True: 1.01k, False: 3.04k]
  ------------------
13315|  1.01k|            &&
13316|  1.01k|            (_literal = _PyPegen_expect_token(p, 32))  // token='^'
  ------------------
  |  Branch (13316:13): [True: 0, False: 1.01k]
  ------------------
13317|      0|            &&
13318|      0|            (b = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  |  483|      0|#define bitwise_and_rule _PyPegen_bitwise_and_rule
  ------------------
  |  Branch (13318:13): [True: 0, False: 0]
  ------------------
13319|  4.05k|        )
13320|      0|        {
13321|      0|            D(fprintf(stderr, "%*c+ bitwise_xor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13322|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13323|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13323:17): [True: 0, False: 0]
  ------------------
13324|      0|                p->level--;
13325|      0|                return NULL;
13326|      0|            }
13327|      0|            int _end_lineno = _token->end_lineno;
13328|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13329|      0|            int _end_col_offset = _token->end_col_offset;
13330|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13331|      0|            _res = _PyAST_BinOp ( a , BitXor , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13332|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13332:18): [True: 0, False: 0]
  |  Branch (13332:34): [True: 0, False: 0]
  |  Branch (13332:57): [True: 0, False: 0]
  ------------------
13333|      0|                p->error_indicator = 1;
13334|      0|                p->level--;
13335|      0|                return NULL;
13336|      0|            }
13337|      0|            goto done;
13338|      0|        }
13339|  4.05k|        p->mark = _mark;
13340|  4.05k|        D(fprintf(stderr, "%*c%s bitwise_xor[%d-%d]: %s failed!\n", p->level, ' ',
13341|  4.05k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13342|  4.05k|    }
13343|      0|    { // bitwise_and
13344|  4.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (13344:13): [True: 0, False: 4.05k]
  ------------------
13345|      0|            p->level--;
13346|      0|            return NULL;
13347|      0|        }
13348|  4.05k|        D(fprintf(stderr, "%*c> bitwise_xor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_and"));
13349|  4.05k|        expr_ty bitwise_and_var;
13350|  4.05k|        if (
13351|  4.05k|            (bitwise_and_var = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  |  483|  4.05k|#define bitwise_and_rule _PyPegen_bitwise_and_rule
  ------------------
  |  Branch (13351:13): [True: 2.02k, False: 2.03k]
  ------------------
13352|  4.05k|        )
13353|  2.02k|        {
13354|  2.02k|            D(fprintf(stderr, "%*c+ bitwise_xor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_and"));
13355|  2.02k|            _res = bitwise_and_var;
13356|  2.02k|            goto done;
13357|  2.02k|        }
13358|  2.03k|        p->mark = _mark;
13359|  2.03k|        D(fprintf(stderr, "%*c%s bitwise_xor[%d-%d]: %s failed!\n", p->level, ' ',
13360|  2.03k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_and"));
13361|  2.03k|    }
13362|  2.03k|    _res = NULL;
13363|  4.05k|  done:
13364|  4.05k|    p->level--;
13365|  4.05k|    return _res;
13366|  2.03k|}
parser.c:bitwise_and_raw:
13409|  4.05k|{
13410|  4.05k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  8.11k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13410:9): [True: 0, False: 4.05k]
  |  Branch (13410:35): [True: 0, False: 4.05k]
  ------------------
13411|      0|        _Pypegen_stack_overflow(p);
13412|      0|    }
13413|  4.05k|    if (p->error_indicator) {
  ------------------
  |  Branch (13413:9): [True: 0, False: 4.05k]
  ------------------
13414|      0|        p->level--;
13415|      0|        return NULL;
13416|      0|    }
13417|  4.05k|    expr_ty _res = NULL;
13418|  4.05k|    int _mark = p->mark;
13419|  4.05k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13419:9): [True: 0, False: 4.05k]
  |  Branch (13419:31): [True: 0, False: 0]
  ------------------
13420|      0|        p->error_indicator = 1;
13421|      0|        p->level--;
13422|      0|        return NULL;
13423|      0|    }
13424|  4.05k|    int _start_lineno = p->tokens[_mark]->lineno;
13425|  4.05k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.05k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.05k]
  |  |  ------------------
  ------------------
13426|  4.05k|    int _start_col_offset = p->tokens[_mark]->col_offset;
13427|  4.05k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.05k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.05k]
  |  |  ------------------
  ------------------
13428|  4.05k|    { // bitwise_and '&' shift_expr
13429|  4.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (13429:13): [True: 0, False: 4.05k]
  ------------------
13430|      0|            p->level--;
13431|      0|            return NULL;
13432|      0|        }
13433|  4.05k|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' shift_expr"));
13434|  4.05k|        Token * _literal;
13435|  4.05k|        expr_ty a;
13436|  4.05k|        expr_ty b;
13437|  4.05k|        if (
13438|  4.05k|            (a = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  |  483|  4.05k|#define bitwise_and_rule _PyPegen_bitwise_and_rule
  ------------------
  |  Branch (13438:13): [True: 1.01k, False: 3.04k]
  ------------------
13439|  1.01k|            &&
13440|  1.01k|            (_literal = _PyPegen_expect_token(p, 19))  // token='&'
  ------------------
  |  Branch (13440:13): [True: 0, False: 1.01k]
  ------------------
13441|      0|            &&
13442|      0|            (b = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (13442:13): [True: 0, False: 0]
  ------------------
13443|  4.05k|        )
13444|      0|        {
13445|      0|            D(fprintf(stderr, "%*c+ bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' shift_expr"));
13446|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13447|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13447:17): [True: 0, False: 0]
  ------------------
13448|      0|                p->level--;
13449|      0|                return NULL;
13450|      0|            }
13451|      0|            int _end_lineno = _token->end_lineno;
13452|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13453|      0|            int _end_col_offset = _token->end_col_offset;
13454|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13455|      0|            _res = _PyAST_BinOp ( a , BitAnd , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13456|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13456:18): [True: 0, False: 0]
  |  Branch (13456:34): [True: 0, False: 0]
  |  Branch (13456:57): [True: 0, False: 0]
  ------------------
13457|      0|                p->error_indicator = 1;
13458|      0|                p->level--;
13459|      0|                return NULL;
13460|      0|            }
13461|      0|            goto done;
13462|      0|        }
13463|  4.05k|        p->mark = _mark;
13464|  4.05k|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13465|  4.05k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_and '&' shift_expr"));
13466|  4.05k|    }
13467|  4.05k|    if (p->call_invalid_rules) { // invalid_bitwise_and
  ------------------
  |  Branch (13467:9): [True: 1.69k, False: 2.36k]
  ------------------
13468|  1.69k|        if (p->error_indicator) {
  ------------------
  |  Branch (13468:13): [True: 0, False: 1.69k]
  ------------------
13469|      0|            p->level--;
13470|      0|            return NULL;
13471|      0|        }
13472|  1.69k|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_and"));
13473|  1.69k|        void *invalid_bitwise_and_var;
13474|  1.69k|        if (
13475|  1.69k|            (invalid_bitwise_and_var = invalid_bitwise_and_rule(p))  // invalid_bitwise_and
  ------------------
  |  |  657|  1.69k|#define invalid_bitwise_and_rule _PyPegen_invalid_bitwise_and_rule
  ------------------
  |  Branch (13475:13): [True: 0, False: 1.69k]
  ------------------
13476|  1.69k|        )
13477|      0|        {
13478|      0|            D(fprintf(stderr, "%*c+ bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_and"));
13479|      0|            _res = invalid_bitwise_and_var;
13480|      0|            goto done;
13481|      0|        }
13482|  1.69k|        p->mark = _mark;
13483|  1.69k|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13484|  1.69k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_bitwise_and"));
13485|  1.69k|    }
13486|  4.05k|    { // shift_expr
13487|  4.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (13487:13): [True: 0, False: 4.05k]
  ------------------
13488|      0|            p->level--;
13489|      0|            return NULL;
13490|      0|        }
13491|  4.05k|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr"));
13492|  4.05k|        expr_ty shift_expr_var;
13493|  4.05k|        if (
13494|  4.05k|            (shift_expr_var = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (13494:13): [True: 2.02k, False: 2.03k]
  ------------------
13495|  4.05k|        )
13496|  2.02k|        {
13497|  2.02k|            D(fprintf(stderr, "%*c+ bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr"));
13498|  2.02k|            _res = shift_expr_var;
13499|  2.02k|            goto done;
13500|  2.02k|        }
13501|  2.03k|        p->mark = _mark;
13502|  2.03k|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13503|  2.03k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr"));
13504|  2.03k|    }
13505|  2.03k|    _res = NULL;
13506|  4.05k|  done:
13507|  4.05k|    p->level--;
13508|  4.05k|    return _res;
13509|  2.03k|}
parser.c:shift_expr_rule:
13516|  9.80k|{
13517|  9.80k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  19.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13517:9): [True: 0, False: 9.80k]
  |  Branch (13517:35): [True: 0, False: 9.80k]
  ------------------
13518|      0|        _Pypegen_stack_overflow(p);
13519|      0|    }
13520|  9.80k|    expr_ty _res = NULL;
13521|  9.80k|    if (_PyPegen_is_memoized(p, shift_expr_type, &_res)) {
  ------------------
  |  |  215|  9.80k|#define shift_expr_type 1126  // Left-recursive
  ------------------
  |  Branch (13521:9): [True: 6.76k, False: 3.04k]
  ------------------
13522|  6.76k|        p->level--;
13523|  6.76k|        return _res;
13524|  6.76k|    }
13525|  3.04k|    int _mark = p->mark;
13526|  3.04k|    int _resmark = p->mark;
13527|  3.04k|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, shift_expr_type);
  ------------------
  |  |  215|  3.04k|#define shift_expr_type 1126  // Left-recursive
  ------------------
13528|  3.04k|    if (_memo == NULL) {
  ------------------
  |  Branch (13528:9): [True: 0, False: 3.04k]
  ------------------
13529|      0|        p->level--;
13530|      0|        return NULL;
13531|      0|    }
13532|  4.05k|    while (1) {
  ------------------
  |  Branch (13532:12): [True: 4.05k, Folded]
  ------------------
13533|  4.05k|        _memo->node = _res;
13534|  4.05k|        _memo->mark = p->mark;
13535|  4.05k|        p->mark = _mark;
13536|  4.05k|        void *_raw = shift_expr_raw(p);
13537|  4.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (13537:13): [True: 490, False: 3.56k]
  ------------------
13538|    490|            p->level--;
13539|    490|            return NULL;
13540|    490|        }
13541|  3.56k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13541:13): [True: 1.54k, False: 2.02k]
  |  Branch (13541:29): [True: 1.01k, False: 1.01k]
  ------------------
13542|  2.55k|            break;
13543|  1.01k|        _resmark = p->mark;
13544|  1.01k|        _res = _raw;
13545|  1.01k|    }
13546|  2.55k|    p->mark = _resmark;
13547|  2.55k|    p->level--;
13548|  2.55k|    return _res;
13549|  3.04k|}
parser.c:shift_expr_raw:
13552|  4.05k|{
13553|  4.05k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  8.11k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13553:9): [True: 0, False: 4.05k]
  |  Branch (13553:35): [True: 0, False: 4.05k]
  ------------------
13554|      0|        _Pypegen_stack_overflow(p);
13555|      0|    }
13556|  4.05k|    if (p->error_indicator) {
  ------------------
  |  Branch (13556:9): [True: 0, False: 4.05k]
  ------------------
13557|      0|        p->level--;
13558|      0|        return NULL;
13559|      0|    }
13560|  4.05k|    expr_ty _res = NULL;
13561|  4.05k|    int _mark = p->mark;
13562|  4.05k|    expr_ty _prefix_5_result = NULL;
13563|  4.05k|    int _prefix_5_end = 0, _prefix_5_valid = 0;
13564|  4.05k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13564:9): [True: 0, False: 4.05k]
  |  Branch (13564:31): [True: 0, False: 0]
  ------------------
13565|      0|        p->error_indicator = 1;
13566|      0|        p->level--;
13567|      0|        return NULL;
13568|      0|    }
13569|  4.05k|    int _start_lineno = p->tokens[_mark]->lineno;
13570|  4.05k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.05k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.05k]
  |  |  ------------------
  ------------------
13571|  4.05k|    int _start_col_offset = p->tokens[_mark]->col_offset;
13572|  4.05k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.05k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.05k]
  |  |  ------------------
  ------------------
13573|  4.05k|    { // shift_expr '<<' sum
13574|  4.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (13574:13): [True: 0, False: 4.05k]
  ------------------
13575|      0|            p->level--;
13576|      0|            return NULL;
13577|      0|        }
13578|  4.05k|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr '<<' sum"));
13579|  4.05k|        Token * _literal;
13580|  4.05k|        expr_ty a;
13581|  4.05k|        expr_ty b;
13582|  4.05k|        if (
13583|  4.05k|            (a = ((!p->call_invalid_rules && _prefix_5_valid) ? (p->mark = _prefix_5_end, _prefix_5_result) : (_prefix_5_result = shift_expr_rule(p), _prefix_5_end = p->mark, _prefix_5_valid = 1, _prefix_5_result)))  // shift_expr
  ------------------
  |  Branch (13583:13): [True: 1.01k, False: 3.04k]
  |  Branch (13583:20): [True: 2.36k, False: 1.69k]
  |  Branch (13583:46): [True: 0, False: 2.36k]
  ------------------
13584|  1.01k|            &&
13585|  1.01k|            (_literal = _PyPegen_expect_token(p, 33))  // token='<<'
  ------------------
  |  Branch (13585:13): [True: 0, False: 1.01k]
  ------------------
13586|      0|            &&
13587|      0|            (b = sum_rule(p))  // sum
  ------------------
  |  |  485|      0|#define sum_rule _PyPegen_sum_rule
  ------------------
  |  Branch (13587:13): [True: 0, False: 0]
  ------------------
13588|  4.05k|        )
13589|      0|        {
13590|      0|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr '<<' sum"));
13591|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13592|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13592:17): [True: 0, False: 0]
  ------------------
13593|      0|                p->level--;
13594|      0|                return NULL;
13595|      0|            }
13596|      0|            int _end_lineno = _token->end_lineno;
13597|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13598|      0|            int _end_col_offset = _token->end_col_offset;
13599|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13600|      0|            _res = _PyAST_BinOp ( a , LShift , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13601|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13601:18): [True: 0, False: 0]
  |  Branch (13601:34): [True: 0, False: 0]
  |  Branch (13601:57): [True: 0, False: 0]
  ------------------
13602|      0|                p->error_indicator = 1;
13603|      0|                p->level--;
13604|      0|                return NULL;
13605|      0|            }
13606|      0|            goto done;
13607|      0|        }
13608|  4.05k|        p->mark = _mark;
13609|  4.05k|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
13610|  4.05k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr '<<' sum"));
13611|  4.05k|    }
13612|      0|    { // shift_expr '>>' sum
13613|  4.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (13613:13): [True: 0, False: 4.05k]
  ------------------
13614|      0|            p->level--;
13615|      0|            return NULL;
13616|      0|        }
13617|  4.05k|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr '>>' sum"));
13618|  4.05k|        Token * _literal;
13619|  4.05k|        expr_ty a;
13620|  4.05k|        expr_ty b;
13621|  4.05k|        if (
13622|  4.05k|            (a = ((!p->call_invalid_rules && _prefix_5_valid) ? (p->mark = _prefix_5_end, _prefix_5_result) : (_prefix_5_result = shift_expr_rule(p), _prefix_5_end = p->mark, _prefix_5_valid = 1, _prefix_5_result)))  // shift_expr
  ------------------
  |  Branch (13622:13): [True: 1.01k, False: 3.04k]
  |  Branch (13622:20): [True: 2.36k, False: 1.69k]
  |  Branch (13622:46): [True: 2.36k, False: 0]
  ------------------
13623|  1.01k|            &&
13624|  1.01k|            (_literal = _PyPegen_expect_token(p, 34))  // token='>>'
  ------------------
  |  Branch (13624:13): [True: 0, False: 1.01k]
  ------------------
13625|      0|            &&
13626|      0|            (b = sum_rule(p))  // sum
  ------------------
  |  |  485|      0|#define sum_rule _PyPegen_sum_rule
  ------------------
  |  Branch (13626:13): [True: 0, False: 0]
  ------------------
13627|  4.05k|        )
13628|      0|        {
13629|      0|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr '>>' sum"));
13630|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13631|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13631:17): [True: 0, False: 0]
  ------------------
13632|      0|                p->level--;
13633|      0|                return NULL;
13634|      0|            }
13635|      0|            int _end_lineno = _token->end_lineno;
13636|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13637|      0|            int _end_col_offset = _token->end_col_offset;
13638|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13639|      0|            _res = _PyAST_BinOp ( a , RShift , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13640|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13640:18): [True: 0, False: 0]
  |  Branch (13640:34): [True: 0, False: 0]
  |  Branch (13640:57): [True: 0, False: 0]
  ------------------
13641|      0|                p->error_indicator = 1;
13642|      0|                p->level--;
13643|      0|                return NULL;
13644|      0|            }
13645|      0|            goto done;
13646|      0|        }
13647|  4.05k|        p->mark = _mark;
13648|  4.05k|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
13649|  4.05k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr '>>' sum"));
13650|  4.05k|    }
13651|      0|    { // sum
13652|  4.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (13652:13): [True: 0, False: 4.05k]
  ------------------
13653|      0|            p->level--;
13654|      0|            return NULL;
13655|      0|        }
13656|  4.05k|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum"));
13657|  4.05k|        expr_ty sum_var;
13658|  4.05k|        if (
13659|  4.05k|            (sum_var = sum_rule(p))  // sum
  ------------------
  |  |  485|  4.05k|#define sum_rule _PyPegen_sum_rule
  ------------------
  |  Branch (13659:13): [True: 2.02k, False: 2.03k]
  ------------------
13660|  4.05k|        )
13661|  2.02k|        {
13662|  2.02k|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum"));
13663|  2.02k|            _res = sum_var;
13664|  2.02k|            goto done;
13665|  2.02k|        }
13666|  2.03k|        p->mark = _mark;
13667|  2.03k|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
13668|  2.03k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum"));
13669|  2.03k|    }
13670|  2.03k|    _res = NULL;
13671|  4.05k|  done:
13672|  4.05k|    p->level--;
13673|  4.05k|    return _res;
13674|  2.03k|}
parser.c:sum_raw:
13717|  4.08k|{
13718|  4.08k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  8.17k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13718:9): [True: 0, False: 4.08k]
  |  Branch (13718:35): [True: 0, False: 4.08k]
  ------------------
13719|      0|        _Pypegen_stack_overflow(p);
13720|      0|    }
13721|  4.08k|    if (p->error_indicator) {
  ------------------
  |  Branch (13721:9): [True: 0, False: 4.08k]
  ------------------
13722|      0|        p->level--;
13723|      0|        return NULL;
13724|      0|    }
13725|  4.08k|    expr_ty _res = NULL;
13726|  4.08k|    int _mark = p->mark;
13727|  4.08k|    expr_ty _prefix_6_result = NULL;
13728|  4.08k|    int _prefix_6_end = 0, _prefix_6_valid = 0;
13729|  4.08k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13729:9): [True: 0, False: 4.08k]
  |  Branch (13729:31): [True: 0, False: 0]
  ------------------
13730|      0|        p->error_indicator = 1;
13731|      0|        p->level--;
13732|      0|        return NULL;
13733|      0|    }
13734|  4.08k|    int _start_lineno = p->tokens[_mark]->lineno;
13735|  4.08k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.08k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.08k]
  |  |  ------------------
  ------------------
13736|  4.08k|    int _start_col_offset = p->tokens[_mark]->col_offset;
13737|  4.08k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.08k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.08k]
  |  |  ------------------
  ------------------
13738|  4.08k|    { // sum '+' term
13739|  4.08k|        if (p->error_indicator) {
  ------------------
  |  Branch (13739:13): [True: 0, False: 4.08k]
  ------------------
13740|      0|            p->level--;
13741|      0|            return NULL;
13742|      0|        }
13743|  4.08k|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum '+' term"));
13744|  4.08k|        Token * _literal;
13745|  4.08k|        expr_ty a;
13746|  4.08k|        expr_ty b;
13747|  4.08k|        if (
13748|  4.08k|            (a = ((!p->call_invalid_rules && _prefix_6_valid) ? (p->mark = _prefix_6_end, _prefix_6_result) : (_prefix_6_result = sum_rule(p), _prefix_6_end = p->mark, _prefix_6_valid = 1, _prefix_6_result)))  // sum
  ------------------
  |  |  485|  4.08k|#define sum_rule _PyPegen_sum_rule
  ------------------
  |  Branch (13748:13): [True: 1.03k, False: 3.04k]
  |  Branch (13748:20): [True: 2.38k, False: 1.70k]
  |  Branch (13748:46): [True: 0, False: 2.38k]
  ------------------
13749|  1.03k|            &&
13750|  1.03k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (13750:13): [True: 0, False: 1.03k]
  ------------------
13751|      0|            &&
13752|      0|            (b = term_rule(p))  // term
  ------------------
  |  Branch (13752:13): [True: 0, False: 0]
  ------------------
13753|  4.08k|        )
13754|      0|        {
13755|      0|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum '+' term"));
13756|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13757|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13757:17): [True: 0, False: 0]
  ------------------
13758|      0|                p->level--;
13759|      0|                return NULL;
13760|      0|            }
13761|      0|            int _end_lineno = _token->end_lineno;
13762|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13763|      0|            int _end_col_offset = _token->end_col_offset;
13764|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13765|      0|            _res = _PyAST_BinOp ( a , Add , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13766|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13766:18): [True: 0, False: 0]
  |  Branch (13766:34): [True: 0, False: 0]
  |  Branch (13766:57): [True: 0, False: 0]
  ------------------
13767|      0|                p->error_indicator = 1;
13768|      0|                p->level--;
13769|      0|                return NULL;
13770|      0|            }
13771|      0|            goto done;
13772|      0|        }
13773|  4.08k|        p->mark = _mark;
13774|  4.08k|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
13775|  4.08k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum '+' term"));
13776|  4.08k|    }
13777|      0|    { // sum '-' term
13778|  4.08k|        if (p->error_indicator) {
  ------------------
  |  Branch (13778:13): [True: 0, False: 4.08k]
  ------------------
13779|      0|            p->level--;
13780|      0|            return NULL;
13781|      0|        }
13782|  4.08k|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum '-' term"));
13783|  4.08k|        Token * _literal;
13784|  4.08k|        expr_ty a;
13785|  4.08k|        expr_ty b;
13786|  4.08k|        if (
13787|  4.08k|            (a = ((!p->call_invalid_rules && _prefix_6_valid) ? (p->mark = _prefix_6_end, _prefix_6_result) : (_prefix_6_result = sum_rule(p), _prefix_6_end = p->mark, _prefix_6_valid = 1, _prefix_6_result)))  // sum
  ------------------
  |  |  485|  1.70k|#define sum_rule _PyPegen_sum_rule
  ------------------
  |  Branch (13787:13): [True: 1.03k, False: 3.04k]
  |  Branch (13787:20): [True: 2.38k, False: 1.70k]
  |  Branch (13787:46): [True: 2.38k, False: 0]
  ------------------
13788|  1.03k|            &&
13789|  1.03k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (13789:13): [True: 57, False: 982]
  ------------------
13790|     57|            &&
13791|     57|            (b = term_rule(p))  // term
  ------------------
  |  Branch (13791:13): [True: 8, False: 49]
  ------------------
13792|  4.08k|        )
13793|      8|        {
13794|      8|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum '-' term"));
13795|      8|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13796|      8|            if (_token == NULL) {
  ------------------
  |  Branch (13796:17): [True: 0, False: 8]
  ------------------
13797|      0|                p->level--;
13798|      0|                return NULL;
13799|      0|            }
13800|      8|            int _end_lineno = _token->end_lineno;
13801|      8|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      8|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 8]
  |  |  ------------------
  ------------------
13802|      8|            int _end_col_offset = _token->end_col_offset;
13803|      8|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      8|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 8]
  |  |  ------------------
  ------------------
13804|      8|            _res = _PyAST_BinOp ( a , Sub , b , EXTRA );
  ------------------
  |  |  316|      8|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13805|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13805:18): [True: 0, False: 8]
  |  Branch (13805:34): [True: 0, False: 8]
  |  Branch (13805:57): [True: 0, False: 0]
  ------------------
13806|      0|                p->error_indicator = 1;
13807|      0|                p->level--;
13808|      0|                return NULL;
13809|      0|            }
13810|      8|            goto done;
13811|      8|        }
13812|  4.07k|        p->mark = _mark;
13813|  4.07k|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
13814|  4.07k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum '-' term"));
13815|  4.07k|    }
13816|  4.07k|    if (p->call_invalid_rules) { // invalid_arithmetic
  ------------------
  |  Branch (13816:9): [True: 1.70k, False: 2.37k]
  ------------------
13817|  1.70k|        if (p->error_indicator) {
  ------------------
  |  Branch (13817:13): [True: 9, False: 1.69k]
  ------------------
13818|      9|            p->level--;
13819|      9|            return NULL;
13820|      9|        }
13821|  1.69k|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_arithmetic"));
13822|  1.69k|        void *invalid_arithmetic_var;
13823|  1.69k|        if (
13824|  1.69k|            (invalid_arithmetic_var = invalid_arithmetic_rule(p))  // invalid_arithmetic
  ------------------
  |  |  651|  1.69k|#define invalid_arithmetic_rule _PyPegen_invalid_arithmetic_rule
  ------------------
  |  Branch (13824:13): [True: 0, False: 1.69k]
  ------------------
13825|  1.69k|        )
13826|      0|        {
13827|      0|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_arithmetic"));
13828|      0|            _res = invalid_arithmetic_var;
13829|      0|            goto done;
13830|      0|        }
13831|  1.69k|        p->mark = _mark;
13832|  1.69k|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
13833|  1.69k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_arithmetic"));
13834|  1.69k|    }
13835|  4.07k|    { // term
13836|  4.07k|        if (p->error_indicator) {
  ------------------
  |  Branch (13836:13): [True: 12, False: 4.05k]
  ------------------
13837|     12|            p->level--;
13838|     12|            return NULL;
13839|     12|        }
13840|  4.05k|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term"));
13841|  4.05k|        expr_ty term_var;
13842|  4.05k|        if (
13843|  4.05k|            (term_var = term_rule(p))  // term
  ------------------
  |  Branch (13843:13): [True: 2.04k, False: 2.01k]
  ------------------
13844|  4.05k|        )
13845|  2.04k|        {
13846|  2.04k|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term"));
13847|  2.04k|            _res = term_var;
13848|  2.04k|            goto done;
13849|  2.04k|        }
13850|  2.01k|        p->mark = _mark;
13851|  2.01k|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
13852|  2.01k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term"));
13853|  2.01k|    }
13854|  2.01k|    _res = NULL;
13855|  4.06k|  done:
13856|  4.06k|    p->level--;
13857|  4.06k|    return _res;
13858|  2.01k|}
parser.c:term_rule:
13871|  15.4k|{
13872|  15.4k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  30.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13872:9): [True: 0, False: 15.4k]
  |  Branch (13872:35): [True: 0, False: 15.4k]
  ------------------
13873|      0|        _Pypegen_stack_overflow(p);
13874|      0|    }
13875|  15.4k|    expr_ty _res = NULL;
13876|  15.4k|    if (_PyPegen_is_memoized(p, term_type, &_res)) {
  ------------------
  |  |  217|  15.4k|#define term_type 1128  // Left-recursive
  ------------------
  |  Branch (13876:9): [True: 12.3k, False: 3.10k]
  ------------------
13877|  12.3k|        p->level--;
13878|  12.3k|        return _res;
13879|  12.3k|    }
13880|  3.10k|    int _mark = p->mark;
13881|  3.10k|    int _resmark = p->mark;
13882|  3.10k|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, term_type);
  ------------------
  |  |  217|  3.10k|#define term_type 1128  // Left-recursive
  ------------------
13883|  3.10k|    if (_memo == NULL) {
  ------------------
  |  Branch (13883:9): [True: 0, False: 3.10k]
  ------------------
13884|      0|        p->level--;
13885|      0|        return NULL;
13886|      0|    }
13887|  4.49k|    while (1) {
  ------------------
  |  Branch (13887:12): [True: 4.49k, Folded]
  ------------------
13888|  4.49k|        _memo->node = _res;
13889|  4.49k|        _memo->mark = p->mark;
13890|  4.49k|        p->mark = _mark;
13891|  4.49k|        void *_raw = term_raw(p);
13892|  4.49k|        if (p->error_indicator) {
  ------------------
  |  Branch (13892:13): [True: 490, False: 4.00k]
  ------------------
13893|    490|            p->level--;
13894|    490|            return NULL;
13895|    490|        }
13896|  4.00k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13896:13): [True: 1.57k, False: 2.42k]
  |  Branch (13896:29): [True: 1.03k, False: 1.38k]
  ------------------
13897|  2.61k|            break;
13898|  1.38k|        _resmark = p->mark;
13899|  1.38k|        _res = _raw;
13900|  1.38k|    }
13901|  2.61k|    p->mark = _resmark;
13902|  2.61k|    p->level--;
13903|  2.61k|    return _res;
13904|  3.10k|}
parser.c:term_raw:
13907|  4.49k|{
13908|  4.49k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  8.98k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13908:9): [True: 0, False: 4.49k]
  |  Branch (13908:35): [True: 0, False: 4.49k]
  ------------------
13909|      0|        _Pypegen_stack_overflow(p);
13910|      0|    }
13911|  4.49k|    if (p->error_indicator) {
  ------------------
  |  Branch (13911:9): [True: 0, False: 4.49k]
  ------------------
13912|      0|        p->level--;
13913|      0|        return NULL;
13914|      0|    }
13915|  4.49k|    expr_ty _res = NULL;
13916|  4.49k|    int _mark = p->mark;
13917|  4.49k|    expr_ty _prefix_7_result = NULL;
13918|  4.49k|    int _prefix_7_end = 0, _prefix_7_valid = 0;
13919|  4.49k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13919:9): [True: 0, False: 4.49k]
  |  Branch (13919:31): [True: 0, False: 0]
  ------------------
13920|      0|        p->error_indicator = 1;
13921|      0|        p->level--;
13922|      0|        return NULL;
13923|      0|    }
13924|  4.49k|    int _start_lineno = p->tokens[_mark]->lineno;
13925|  4.49k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.49k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.49k]
  |  |  ------------------
  ------------------
13926|  4.49k|    int _start_col_offset = p->tokens[_mark]->col_offset;
13927|  4.49k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.49k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.49k]
  |  |  ------------------
  ------------------
13928|  4.49k|    { // term '*' factor
13929|  4.49k|        if (p->error_indicator) {
  ------------------
  |  Branch (13929:13): [True: 0, False: 4.49k]
  ------------------
13930|      0|            p->level--;
13931|      0|            return NULL;
13932|      0|        }
13933|  4.49k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '*' factor"));
13934|  4.49k|        Token * _literal;
13935|  4.49k|        expr_ty a;
13936|  4.49k|        expr_ty b;
13937|  4.49k|        if (
13938|  4.49k|            (a = ((!p->call_invalid_rules && _prefix_7_valid) ? (p->mark = _prefix_7_end, _prefix_7_result) : (_prefix_7_result = term_rule(p), _prefix_7_end = p->mark, _prefix_7_valid = 1, _prefix_7_result)))  // term
  ------------------
  |  Branch (13938:13): [True: 1.38k, False: 3.10k]
  |  Branch (13938:20): [True: 2.62k, False: 1.86k]
  |  Branch (13938:46): [True: 0, False: 2.62k]
  ------------------
13939|  1.38k|            &&
13940|  1.38k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (13940:13): [True: 289, False: 1.09k]
  ------------------
13941|    289|            &&
13942|    289|            (b = factor_rule(p))  // factor
  ------------------
  |  |  487|    289|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (13942:13): [True: 205, False: 84]
  ------------------
13943|  4.49k|        )
13944|    205|        {
13945|    205|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '*' factor"));
13946|    205|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13947|    205|            if (_token == NULL) {
  ------------------
  |  Branch (13947:17): [True: 0, False: 205]
  ------------------
13948|      0|                p->level--;
13949|      0|                return NULL;
13950|      0|            }
13951|    205|            int _end_lineno = _token->end_lineno;
13952|    205|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    205|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 205]
  |  |  ------------------
  ------------------
13953|    205|            int _end_col_offset = _token->end_col_offset;
13954|    205|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    205|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 205]
  |  |  ------------------
  ------------------
13955|    205|            _res = _PyAST_BinOp ( a , Mult , b , EXTRA );
  ------------------
  |  |  316|    205|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13956|    205|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13956:18): [True: 0, False: 205]
  |  Branch (13956:34): [True: 0, False: 205]
  |  Branch (13956:57): [True: 0, False: 0]
  ------------------
13957|      0|                p->error_indicator = 1;
13958|      0|                p->level--;
13959|      0|                return NULL;
13960|      0|            }
13961|    205|            goto done;
13962|    205|        }
13963|  4.28k|        p->mark = _mark;
13964|  4.28k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
13965|  4.28k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '*' factor"));
13966|  4.28k|    }
13967|      0|    { // term '/' factor
13968|  4.28k|        if (p->error_indicator) {
  ------------------
  |  Branch (13968:13): [True: 84, False: 4.20k]
  ------------------
13969|     84|            p->level--;
13970|     84|            return NULL;
13971|     84|        }
13972|  4.20k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '/' factor"));
13973|  4.20k|        Token * _literal;
13974|  4.20k|        expr_ty a;
13975|  4.20k|        expr_ty b;
13976|  4.20k|        if (
13977|  4.20k|            (a = ((!p->call_invalid_rules && _prefix_7_valid) ? (p->mark = _prefix_7_end, _prefix_7_result) : (_prefix_7_result = term_rule(p), _prefix_7_end = p->mark, _prefix_7_valid = 1, _prefix_7_result)))  // term
  ------------------
  |  Branch (13977:13): [True: 1.09k, False: 3.10k]
  |  Branch (13977:20): [True: 2.48k, False: 1.72k]
  |  Branch (13977:46): [True: 2.48k, False: 0]
  ------------------
13978|  1.09k|            &&
13979|  1.09k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (13979:13): [True: 3, False: 1.09k]
  ------------------
13980|      3|            &&
13981|      3|            (b = factor_rule(p))  // factor
  ------------------
  |  |  487|      3|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (13981:13): [True: 2, False: 1]
  ------------------
13982|  4.20k|        )
13983|      2|        {
13984|      2|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '/' factor"));
13985|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13986|      2|            if (_token == NULL) {
  ------------------
  |  Branch (13986:17): [True: 0, False: 2]
  ------------------
13987|      0|                p->level--;
13988|      0|                return NULL;
13989|      0|            }
13990|      2|            int _end_lineno = _token->end_lineno;
13991|      2|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
13992|      2|            int _end_col_offset = _token->end_col_offset;
13993|      2|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
13994|      2|            _res = _PyAST_BinOp ( a , Div , b , EXTRA );
  ------------------
  |  |  316|      2|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13995|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13995:18): [True: 0, False: 2]
  |  Branch (13995:34): [True: 0, False: 2]
  |  Branch (13995:57): [True: 0, False: 0]
  ------------------
13996|      0|                p->error_indicator = 1;
13997|      0|                p->level--;
13998|      0|                return NULL;
13999|      0|            }
14000|      2|            goto done;
14001|      2|        }
14002|  4.20k|        p->mark = _mark;
14003|  4.20k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14004|  4.20k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '/' factor"));
14005|  4.20k|    }
14006|      0|    { // term '//' factor
14007|  4.20k|        if (p->error_indicator) {
  ------------------
  |  Branch (14007:13): [True: 1, False: 4.20k]
  ------------------
14008|      1|            p->level--;
14009|      1|            return NULL;
14010|      1|        }
14011|  4.20k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '//' factor"));
14012|  4.20k|        Token * _literal;
14013|  4.20k|        expr_ty a;
14014|  4.20k|        expr_ty b;
14015|  4.20k|        if (
14016|  4.20k|            (a = ((!p->call_invalid_rules && _prefix_7_valid) ? (p->mark = _prefix_7_end, _prefix_7_result) : (_prefix_7_result = term_rule(p), _prefix_7_end = p->mark, _prefix_7_valid = 1, _prefix_7_result)))  // term
  ------------------
  |  Branch (14016:13): [True: 1.09k, False: 3.10k]
  |  Branch (14016:20): [True: 2.47k, False: 1.72k]
  |  Branch (14016:46): [True: 2.47k, False: 0]
  ------------------
14017|  1.09k|            &&
14018|  1.09k|            (_literal = _PyPegen_expect_token(p, 47))  // token='//'
  ------------------
  |  Branch (14018:13): [True: 0, False: 1.09k]
  ------------------
14019|      0|            &&
14020|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  |  487|      0|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14020:13): [True: 0, False: 0]
  ------------------
14021|  4.20k|        )
14022|      0|        {
14023|      0|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '//' factor"));
14024|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14025|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14025:17): [True: 0, False: 0]
  ------------------
14026|      0|                p->level--;
14027|      0|                return NULL;
14028|      0|            }
14029|      0|            int _end_lineno = _token->end_lineno;
14030|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14031|      0|            int _end_col_offset = _token->end_col_offset;
14032|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14033|      0|            _res = _PyAST_BinOp ( a , FloorDiv , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14034|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14034:18): [True: 0, False: 0]
  |  Branch (14034:34): [True: 0, False: 0]
  |  Branch (14034:57): [True: 0, False: 0]
  ------------------
14035|      0|                p->error_indicator = 1;
14036|      0|                p->level--;
14037|      0|                return NULL;
14038|      0|            }
14039|      0|            goto done;
14040|      0|        }
14041|  4.20k|        p->mark = _mark;
14042|  4.20k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14043|  4.20k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '//' factor"));
14044|  4.20k|    }
14045|      0|    { // term '%' factor
14046|  4.20k|        if (p->error_indicator) {
  ------------------
  |  Branch (14046:13): [True: 0, False: 4.20k]
  ------------------
14047|      0|            p->level--;
14048|      0|            return NULL;
14049|      0|        }
14050|  4.20k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '%' factor"));
14051|  4.20k|        Token * _literal;
14052|  4.20k|        expr_ty a;
14053|  4.20k|        expr_ty b;
14054|  4.20k|        if (
14055|  4.20k|            (a = ((!p->call_invalid_rules && _prefix_7_valid) ? (p->mark = _prefix_7_end, _prefix_7_result) : (_prefix_7_result = term_rule(p), _prefix_7_end = p->mark, _prefix_7_valid = 1, _prefix_7_result)))  // term
  ------------------
  |  Branch (14055:13): [True: 1.09k, False: 3.10k]
  |  Branch (14055:20): [True: 2.47k, False: 1.72k]
  |  Branch (14055:46): [True: 2.47k, False: 0]
  ------------------
14056|  1.09k|            &&
14057|  1.09k|            (_literal = _PyPegen_expect_token(p, 24))  // token='%'
  ------------------
  |  Branch (14057:13): [True: 1, False: 1.09k]
  ------------------
14058|      1|            &&
14059|      1|            (b = factor_rule(p))  // factor
  ------------------
  |  |  487|      1|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14059:13): [True: 1, False: 0]
  ------------------
14060|  4.20k|        )
14061|      1|        {
14062|      1|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '%' factor"));
14063|      1|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14064|      1|            if (_token == NULL) {
  ------------------
  |  Branch (14064:17): [True: 0, False: 1]
  ------------------
14065|      0|                p->level--;
14066|      0|                return NULL;
14067|      0|            }
14068|      1|            int _end_lineno = _token->end_lineno;
14069|      1|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
14070|      1|            int _end_col_offset = _token->end_col_offset;
14071|      1|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
14072|      1|            _res = _PyAST_BinOp ( a , Mod , b , EXTRA );
  ------------------
  |  |  316|      1|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14073|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14073:18): [True: 0, False: 1]
  |  Branch (14073:34): [True: 0, False: 1]
  |  Branch (14073:57): [True: 0, False: 0]
  ------------------
14074|      0|                p->error_indicator = 1;
14075|      0|                p->level--;
14076|      0|                return NULL;
14077|      0|            }
14078|      1|            goto done;
14079|      1|        }
14080|  4.19k|        p->mark = _mark;
14081|  4.19k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14082|  4.19k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '%' factor"));
14083|  4.19k|    }
14084|      0|    { // term '@' factor
14085|  4.19k|        if (p->error_indicator) {
  ------------------
  |  Branch (14085:13): [True: 0, False: 4.19k]
  ------------------
14086|      0|            p->level--;
14087|      0|            return NULL;
14088|      0|        }
14089|  4.19k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '@' factor"));
14090|  4.19k|        Token * _literal;
14091|  4.19k|        expr_ty a;
14092|  4.19k|        expr_ty b;
14093|  4.19k|        if (
14094|  4.19k|            (a = ((!p->call_invalid_rules && _prefix_7_valid) ? (p->mark = _prefix_7_end, _prefix_7_result) : (_prefix_7_result = term_rule(p), _prefix_7_end = p->mark, _prefix_7_valid = 1, _prefix_7_result)))  // term
  ------------------
  |  Branch (14094:13): [True: 1.09k, False: 3.10k]
  |  Branch (14094:20): [True: 2.47k, False: 1.72k]
  |  Branch (14094:46): [True: 2.47k, False: 0]
  ------------------
14095|  1.09k|            &&
14096|  1.09k|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (14096:13): [True: 56, False: 1.03k]
  ------------------
14097|     56|            &&
14098|     56|            (b = factor_rule(p))  // factor
  ------------------
  |  |  487|     56|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14098:13): [True: 29, False: 27]
  ------------------
14099|  4.19k|        )
14100|     29|        {
14101|     29|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '@' factor"));
14102|     29|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14103|     29|            if (_token == NULL) {
  ------------------
  |  Branch (14103:17): [True: 0, False: 29]
  ------------------
14104|      0|                p->level--;
14105|      0|                return NULL;
14106|      0|            }
14107|     29|            int _end_lineno = _token->end_lineno;
14108|     29|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|     29|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 29]
  |  |  ------------------
  ------------------
14109|     29|            int _end_col_offset = _token->end_col_offset;
14110|     29|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|     29|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 29]
  |  |  ------------------
  ------------------
14111|     29|            _res = CHECK_VERSION ( expr_ty , 5 , "The '@' operator is" , _PyAST_BinOp ( a , MatMult , b , EXTRA ) );
  ------------------
  |  |  354|     29|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
14112|     29|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14112:18): [True: 0, False: 29]
  |  Branch (14112:34): [True: 0, False: 29]
  |  Branch (14112:57): [True: 0, False: 0]
  ------------------
14113|      0|                p->error_indicator = 1;
14114|      0|                p->level--;
14115|      0|                return NULL;
14116|      0|            }
14117|     29|            goto done;
14118|     29|        }
14119|  4.17k|        p->mark = _mark;
14120|  4.17k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14121|  4.17k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '@' factor"));
14122|  4.17k|    }
14123|      0|    { // factor
14124|  4.17k|        if (p->error_indicator) {
  ------------------
  |  Branch (14124:13): [True: 27, False: 4.14k]
  ------------------
14125|     27|            p->level--;
14126|     27|            return NULL;
14127|     27|        }
14128|  4.14k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "factor"));
14129|  4.14k|        expr_ty factor_var;
14130|  4.14k|        if (
14131|  4.14k|            (factor_var = factor_rule(p))  // factor
  ------------------
  |  |  487|  4.14k|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14131:13): [True: 2.19k, False: 1.95k]
  ------------------
14132|  4.14k|        )
14133|  2.19k|        {
14134|  2.19k|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "factor"));
14135|  2.19k|            _res = factor_var;
14136|  2.19k|            goto done;
14137|  2.19k|        }
14138|  1.95k|        p->mark = _mark;
14139|  1.95k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14140|  1.95k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "factor"));
14141|  1.95k|    }
14142|  1.95k|    _res = NULL;
14143|  4.38k|  done:
14144|  4.38k|    p->level--;
14145|  4.38k|    return _res;
14146|  1.95k|}
parser.c:power_rule:
14330|  3.43k|{
14331|  3.43k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  6.86k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14331:9): [True: 0, False: 3.43k]
  |  Branch (14331:35): [True: 0, False: 3.43k]
  ------------------
14332|      0|        _Pypegen_stack_overflow(p);
14333|      0|    }
14334|  3.43k|    if (p->error_indicator) {
  ------------------
  |  Branch (14334:9): [True: 0, False: 3.43k]
  ------------------
14335|      0|        p->level--;
14336|      0|        return NULL;
14337|      0|    }
14338|  3.43k|    expr_ty _res = NULL;
14339|  3.43k|    int _mark = p->mark;
14340|  3.43k|    expr_ty _prefix_8_result = NULL;
14341|  3.43k|    int _prefix_8_end = 0, _prefix_8_valid = 0;
14342|  3.43k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14342:9): [True: 0, False: 3.43k]
  |  Branch (14342:31): [True: 0, False: 0]
  ------------------
14343|      0|        p->error_indicator = 1;
14344|      0|        p->level--;
14345|      0|        return NULL;
14346|      0|    }
14347|  3.43k|    int _start_lineno = p->tokens[_mark]->lineno;
14348|  3.43k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.43k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.43k]
  |  |  ------------------
  ------------------
14349|  3.43k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14350|  3.43k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.43k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.43k]
  |  |  ------------------
  ------------------
14351|  3.43k|    { // await_primary '**' factor
14352|  3.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (14352:13): [True: 0, False: 3.43k]
  ------------------
14353|      0|            p->level--;
14354|      0|            return NULL;
14355|      0|        }
14356|  3.43k|        D(fprintf(stderr, "%*c> power[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "await_primary '**' factor"));
14357|  3.43k|        Token * _literal;
14358|  3.43k|        expr_ty a;
14359|  3.43k|        expr_ty b;
14360|  3.43k|        if (
14361|  3.43k|            (a = ((!p->call_invalid_rules && _prefix_8_valid) ? (p->mark = _prefix_8_end, _prefix_8_result) : (_prefix_8_result = await_primary_rule(p), _prefix_8_end = p->mark, _prefix_8_valid = 1, _prefix_8_result)))  // await_primary
  ------------------
  |  Branch (14361:13): [True: 1.36k, False: 2.06k]
  |  Branch (14361:20): [True: 1.93k, False: 1.49k]
  |  Branch (14361:46): [True: 0, False: 1.93k]
  ------------------
14362|  1.36k|            &&
14363|  1.36k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (14363:13): [True: 12, False: 1.35k]
  ------------------
14364|     12|            &&
14365|     12|            (b = factor_rule(p))  // factor
  ------------------
  |  |  487|     12|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14365:13): [True: 12, False: 0]
  ------------------
14366|  3.43k|        )
14367|     12|        {
14368|     12|            D(fprintf(stderr, "%*c+ power[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "await_primary '**' factor"));
14369|     12|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14370|     12|            if (_token == NULL) {
  ------------------
  |  Branch (14370:17): [True: 0, False: 12]
  ------------------
14371|      0|                p->level--;
14372|      0|                return NULL;
14373|      0|            }
14374|     12|            int _end_lineno = _token->end_lineno;
14375|     12|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|     12|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 12]
  |  |  ------------------
  ------------------
14376|     12|            int _end_col_offset = _token->end_col_offset;
14377|     12|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|     12|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 12]
  |  |  ------------------
  ------------------
14378|     12|            _res = _PyAST_BinOp ( a , Pow , b , EXTRA );
  ------------------
  |  |  316|     12|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14379|     12|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14379:18): [True: 0, False: 12]
  |  Branch (14379:34): [True: 0, False: 12]
  |  Branch (14379:57): [True: 0, False: 0]
  ------------------
14380|      0|                p->error_indicator = 1;
14381|      0|                p->level--;
14382|      0|                return NULL;
14383|      0|            }
14384|     12|            goto done;
14385|     12|        }
14386|  3.42k|        p->mark = _mark;
14387|  3.42k|        D(fprintf(stderr, "%*c%s power[%d-%d]: %s failed!\n", p->level, ' ',
14388|  3.42k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "await_primary '**' factor"));
14389|  3.42k|    }
14390|      0|    { // await_primary
14391|  3.42k|        if (p->error_indicator) {
  ------------------
  |  Branch (14391:13): [True: 490, False: 2.93k]
  ------------------
14392|    490|            p->level--;
14393|    490|            return NULL;
14394|    490|        }
14395|  2.93k|        D(fprintf(stderr, "%*c> power[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "await_primary"));
14396|  2.93k|        expr_ty await_primary_var;
14397|  2.93k|        if (
14398|  2.93k|            (await_primary_var = ((!p->call_invalid_rules && _prefix_8_valid) ? (p->mark = _prefix_8_end, _prefix_8_result) : (_prefix_8_result = await_primary_rule(p), _prefix_8_end = p->mark, _prefix_8_valid = 1, _prefix_8_result)))  // await_primary
  ------------------
  |  Branch (14398:13): [True: 1.35k, False: 1.57k]
  |  Branch (14398:36): [True: 1.89k, False: 1.04k]
  |  Branch (14398:62): [True: 1.89k, False: 0]
  ------------------
14399|  2.93k|        )
14400|  1.35k|        {
14401|  1.35k|            D(fprintf(stderr, "%*c+ power[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "await_primary"));
14402|  1.35k|            _res = await_primary_var;
14403|  1.35k|            goto done;
14404|  1.35k|        }
14405|  1.57k|        p->mark = _mark;
14406|  1.57k|        D(fprintf(stderr, "%*c%s power[%d-%d]: %s failed!\n", p->level, ' ',
14407|  1.57k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "await_primary"));
14408|  1.57k|    }
14409|  1.57k|    _res = NULL;
14410|  2.94k|  done:
14411|  2.94k|    p->level--;
14412|  2.94k|    return _res;
14413|  1.57k|}
parser.c:await_primary_rule:
14418|  4.47k|{
14419|  4.47k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  8.95k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14419:9): [True: 0, False: 4.47k]
  |  Branch (14419:35): [True: 0, False: 4.47k]
  ------------------
14420|      0|        _Pypegen_stack_overflow(p);
14421|      0|    }
14422|  4.47k|    if (p->error_indicator) {
  ------------------
  |  Branch (14422:9): [True: 0, False: 4.47k]
  ------------------
14423|      0|        p->level--;
14424|      0|        return NULL;
14425|      0|    }
14426|  4.47k|    expr_ty _res = NULL;
14427|  4.47k|    if (_PyPegen_is_memoized(p, await_primary_type, &_res)) {
  ------------------
  |  |  220|  4.47k|#define await_primary_type 1131
  ------------------
  |  Branch (14427:9): [True: 1.04k, False: 3.43k]
  ------------------
14428|  1.04k|        p->level--;
14429|  1.04k|        return _res;
14430|  1.04k|    }
14431|  3.43k|    int _mark = p->mark;
14432|  3.43k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14432:9): [True: 0, False: 3.43k]
  |  Branch (14432:31): [True: 0, False: 0]
  ------------------
14433|      0|        p->error_indicator = 1;
14434|      0|        p->level--;
14435|      0|        return NULL;
14436|      0|    }
14437|  3.43k|    int _start_lineno = p->tokens[_mark]->lineno;
14438|  3.43k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.43k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.43k]
  |  |  ------------------
  ------------------
14439|  3.43k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14440|  3.43k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.43k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.43k]
  |  |  ------------------
  ------------------
14441|  3.43k|    { // 'await' primary
14442|  3.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (14442:13): [True: 0, False: 3.43k]
  ------------------
14443|      0|            p->level--;
14444|      0|            return NULL;
14445|      0|        }
14446|  3.43k|        D(fprintf(stderr, "%*c> await_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'await' primary"));
14447|  3.43k|        Token * _keyword;
14448|  3.43k|        expr_ty a;
14449|  3.43k|        if (
14450|  3.43k|            (_keyword = _PyPegen_expect_token(p, 533))  // token='await'
  ------------------
  |  Branch (14450:13): [True: 0, False: 3.43k]
  ------------------
14451|      0|            &&
14452|      0|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (14452:13): [True: 0, False: 0]
  ------------------
14453|  3.43k|        )
14454|      0|        {
14455|      0|            D(fprintf(stderr, "%*c+ await_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'await' primary"));
14456|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14457|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14457:17): [True: 0, False: 0]
  ------------------
14458|      0|                p->level--;
14459|      0|                return NULL;
14460|      0|            }
14461|      0|            int _end_lineno = _token->end_lineno;
14462|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14463|      0|            int _end_col_offset = _token->end_col_offset;
14464|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14465|      0|            _res = CHECK_VERSION ( expr_ty , 5 , "Await expressions are" , _PyAST_Await ( a , EXTRA ) );
  ------------------
  |  |  354|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
14466|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14466:18): [True: 0, False: 0]
  |  Branch (14466:34): [True: 0, False: 0]
  |  Branch (14466:57): [True: 0, False: 0]
  ------------------
14467|      0|                p->error_indicator = 1;
14468|      0|                p->level--;
14469|      0|                return NULL;
14470|      0|            }
14471|      0|            goto done;
14472|      0|        }
14473|  3.43k|        p->mark = _mark;
14474|  3.43k|        D(fprintf(stderr, "%*c%s await_primary[%d-%d]: %s failed!\n", p->level, ' ',
14475|  3.43k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'await' primary"));
14476|  3.43k|    }
14477|      0|    { // primary
14478|  3.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (14478:13): [True: 0, False: 3.43k]
  ------------------
14479|      0|            p->level--;
14480|      0|            return NULL;
14481|      0|        }
14482|  3.43k|        D(fprintf(stderr, "%*c> await_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary"));
14483|  3.43k|        expr_ty primary_var;
14484|  3.43k|        if (
14485|  3.43k|            (primary_var = primary_rule(p))  // primary
  ------------------
  |  Branch (14485:13): [True: 1.36k, False: 2.06k]
  ------------------
14486|  3.43k|        )
14487|  1.36k|        {
14488|  1.36k|            D(fprintf(stderr, "%*c+ await_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary"));
14489|  1.36k|            _res = primary_var;
14490|  1.36k|            goto done;
14491|  1.36k|        }
14492|  2.06k|        p->mark = _mark;
14493|  2.06k|        D(fprintf(stderr, "%*c%s await_primary[%d-%d]: %s failed!\n", p->level, ' ',
14494|  2.06k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary"));
14495|  2.06k|    }
14496|  2.06k|    _res = NULL;
14497|  3.43k|  done:
14498|  3.43k|    _PyPegen_insert_memo(p, _mark, await_primary_type, _res);
  ------------------
  |  |  220|  3.43k|#define await_primary_type 1131
  ------------------
14499|  3.43k|    p->level--;
14500|  3.43k|    return _res;
14501|  2.06k|}
parser.c:lambda_parameters_rule:
15434|     31|{
15435|     31|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     62|#  define MAXSTACK 6000
  ------------------
  |  Branch (15435:9): [True: 0, False: 31]
  |  Branch (15435:35): [True: 0, False: 31]
  ------------------
15436|      0|        _Pypegen_stack_overflow(p);
15437|      0|    }
15438|     31|    if (p->error_indicator) {
  ------------------
  |  Branch (15438:9): [True: 0, False: 31]
  ------------------
15439|      0|        p->level--;
15440|      0|        return NULL;
15441|      0|    }
15442|     31|    arguments_ty _res = NULL;
15443|     31|    int _mark = p->mark;
15444|     31|    { // lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?
15445|     31|        if (p->error_indicator) {
  ------------------
  |  Branch (15445:13): [True: 0, False: 31]
  ------------------
15446|      0|            p->level--;
15447|      0|            return NULL;
15448|      0|        }
15449|     31|        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?"));
15450|     31|        asdl_arg_seq* a;
15451|     31|        asdl_arg_seq* b;
15452|     31|        asdl_seq * c;
15453|     31|        void *d;
15454|     31|        if (
15455|     31|            (a = lambda_slash_no_default_rule(p))  // lambda_slash_no_default
  ------------------
  |  |  493|     31|#define lambda_slash_no_default_rule _PyPegen_lambda_slash_no_default_rule
  ------------------
  |  Branch (15455:13): [True: 0, False: 31]
  ------------------
15456|      0|            &&
15457|      0|            (b = (asdl_arg_seq*)_loop0_70_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (15457:13): [True: 0, False: 0]
  ------------------
15458|      0|            &&
15459|      0|            (c = _loop0_71_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15459:13): [True: 0, False: 0]
  ------------------
15460|      0|            &&
15461|      0|            (d = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15461:13): [True: 0, False: 0]
  ------------------
15462|     31|        )
15463|      0|        {
15464|      0|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?"));
15465|      0|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , a , NULL , b , c , d ) );
  ------------------
  |  |  354|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
15466|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15466:18): [True: 0, False: 0]
  |  Branch (15466:34): [True: 0, False: 0]
  |  Branch (15466:57): [True: 0, False: 0]
  ------------------
15467|      0|                p->error_indicator = 1;
15468|      0|                p->level--;
15469|      0|                return NULL;
15470|      0|            }
15471|      0|            goto done;
15472|      0|        }
15473|     31|        p->mark = _mark;
15474|     31|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15475|     31|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?"));
15476|     31|    }
15477|      0|    { // lambda_slash_with_default lambda_param_with_default* lambda_star_etc?
15478|     31|        if (p->error_indicator) {
  ------------------
  |  Branch (15478:13): [True: 0, False: 31]
  ------------------
15479|      0|            p->level--;
15480|      0|            return NULL;
15481|      0|        }
15482|     31|        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?"));
15483|     31|        SlashWithDefault* a;
15484|     31|        asdl_seq * b;
15485|     31|        void *c;
15486|     31|        if (
15487|     31|            (a = lambda_slash_with_default_rule(p))  // lambda_slash_with_default
  ------------------
  |  |  495|     31|#define lambda_slash_with_default_rule _PyPegen_lambda_slash_with_default_rule
  ------------------
  |  Branch (15487:13): [True: 0, False: 31]
  ------------------
15488|      0|            &&
15489|      0|            (b = _loop0_71_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15489:13): [True: 0, False: 0]
  ------------------
15490|      0|            &&
15491|      0|            (c = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15491:13): [True: 0, False: 0]
  ------------------
15492|     31|        )
15493|      0|        {
15494|      0|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default lambda_param_with_default* lambda_star_etc?"));
15495|      0|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , NULL , a , NULL , b , c ) );
  ------------------
  |  |  354|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
15496|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15496:18): [True: 0, False: 0]
  |  Branch (15496:34): [True: 0, False: 0]
  |  Branch (15496:57): [True: 0, False: 0]
  ------------------
15497|      0|                p->error_indicator = 1;
15498|      0|                p->level--;
15499|      0|                return NULL;
15500|      0|            }
15501|      0|            goto done;
15502|      0|        }
15503|     31|        p->mark = _mark;
15504|     31|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15505|     31|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_with_default lambda_param_with_default* lambda_star_etc?"));
15506|     31|    }
15507|      0|    { // lambda_param_no_default+ lambda_param_with_default* lambda_star_etc?
15508|     31|        if (p->error_indicator) {
  ------------------
  |  Branch (15508:13): [True: 0, False: 31]
  ------------------
15509|      0|            p->level--;
15510|      0|            return NULL;
15511|      0|        }
15512|     31|        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?"));
15513|     31|        asdl_arg_seq* a;
15514|     31|        asdl_seq * b;
15515|     31|        void *c;
15516|     31|        if (
15517|     31|            (a = (asdl_arg_seq*)_loop1_72_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (15517:13): [True: 31, False: 0]
  ------------------
15518|     31|            &&
15519|     31|            (b = _loop0_71_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15519:13): [True: 31, False: 0]
  ------------------
15520|     31|            &&
15521|     31|            (c = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15521:13): [True: 31, False: 0]
  ------------------
15522|     31|        )
15523|     31|        {
15524|     31|            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?"));
15525|     31|            _res = _PyPegen_make_arguments ( p , NULL , NULL , a , b , c );
15526|     31|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15526:18): [True: 0, False: 31]
  |  Branch (15526:34): [True: 0, False: 31]
  |  Branch (15526:57): [True: 0, False: 0]
  ------------------
15527|      0|                p->error_indicator = 1;
15528|      0|                p->level--;
15529|      0|                return NULL;
15530|      0|            }
15531|     31|            goto done;
15532|     31|        }
15533|      0|        p->mark = _mark;
15534|      0|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15535|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ lambda_param_with_default* lambda_star_etc?"));
15536|      0|    }
15537|      0|    { // lambda_param_with_default+ lambda_star_etc?
15538|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (15538:13): [True: 0, False: 0]
  ------------------
15539|      0|            p->level--;
15540|      0|            return NULL;
15541|      0|        }
15542|      0|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15543|      0|        asdl_seq * a;
15544|      0|        void *b;
15545|      0|        if (
15546|      0|            (a = _loop1_73_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (15546:13): [True: 0, False: 0]
  ------------------
15547|      0|            &&
15548|      0|            (b = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15548:13): [True: 0, False: 0]
  ------------------
15549|      0|        )
15550|      0|        {
15551|      0|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15552|      0|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , a , b );
15553|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15553:18): [True: 0, False: 0]
  |  Branch (15553:34): [True: 0, False: 0]
  |  Branch (15553:57): [True: 0, False: 0]
  ------------------
15554|      0|                p->error_indicator = 1;
15555|      0|                p->level--;
15556|      0|                return NULL;
15557|      0|            }
15558|      0|            goto done;
15559|      0|        }
15560|      0|        p->mark = _mark;
15561|      0|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15562|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15563|      0|    }
15564|      0|    { // lambda_star_etc
15565|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (15565:13): [True: 0, False: 0]
  ------------------
15566|      0|            p->level--;
15567|      0|            return NULL;
15568|      0|        }
15569|      0|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_star_etc"));
15570|      0|        StarEtc* a;
15571|      0|        if (
15572|      0|            (a = lambda_star_etc_rule(p))  // lambda_star_etc
  ------------------
  |  Branch (15572:13): [True: 0, False: 0]
  ------------------
15573|      0|        )
15574|      0|        {
15575|      0|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_star_etc"));
15576|      0|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , NULL , a );
15577|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15577:18): [True: 0, False: 0]
  |  Branch (15577:34): [True: 0, False: 0]
  |  Branch (15577:57): [True: 0, False: 0]
  ------------------
15578|      0|                p->error_indicator = 1;
15579|      0|                p->level--;
15580|      0|                return NULL;
15581|      0|            }
15582|      0|            goto done;
15583|      0|        }
15584|      0|        p->mark = _mark;
15585|      0|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15586|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_star_etc"));
15587|      0|    }
15588|      0|    _res = NULL;
15589|     31|  done:
15590|     31|    p->level--;
15591|     31|    return _res;
15592|      0|}
parser.c:_loop0_71_rule:
23826|     31|{
23827|     31|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     62|#  define MAXSTACK 6000
  ------------------
  |  Branch (23827:9): [True: 0, False: 31]
  |  Branch (23827:35): [True: 0, False: 31]
  ------------------
23828|      0|        _Pypegen_stack_overflow(p);
23829|      0|    }
23830|     31|    if (p->error_indicator) {
  ------------------
  |  Branch (23830:9): [True: 0, False: 31]
  ------------------
23831|      0|        p->level--;
23832|      0|        return NULL;
23833|      0|    }
23834|     31|    void *_res = NULL;
23835|     31|    int _mark = p->mark;
23836|     31|    void **_children = NULL;
23837|     31|    Py_ssize_t _children_capacity = 0;
23838|     31|    Py_ssize_t _n = 0;
23839|     31|    { // lambda_param_with_default
23840|     31|        if (p->error_indicator) {
  ------------------
  |  Branch (23840:13): [True: 0, False: 31]
  ------------------
23841|      0|            p->level--;
23842|      0|            return NULL;
23843|      0|        }
23844|     31|        D(fprintf(stderr, "%*c> _loop0_71[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default"));
23845|     31|        NameDefaultPair* lambda_param_with_default_var;
23846|     31|        while (
23847|     31|            (lambda_param_with_default_var = lambda_param_with_default_rule(p))  // lambda_param_with_default
  ------------------
  |  |  499|     31|#define lambda_param_with_default_rule _PyPegen_lambda_param_with_default_rule
  ------------------
  |  Branch (23847:13): [True: 0, False: 31]
  ------------------
23848|     31|        )
23849|      0|        {
23850|      0|            _res = lambda_param_with_default_var;
23851|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23851:17): [True: 0, False: 0]
  ------------------
23852|      0|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23852:21): [True: 0, False: 0]
  ------------------
23853|      0|                    p->error_indicator = 1;
23854|      0|                    PyErr_NoMemory();
23855|      0|                    PyMem_Free(_children);
23856|      0|                    p->level--;
23857|      0|                    return NULL;
23858|      0|                }
23859|      0|            }
23860|      0|            _children[_n++] = _res;
23861|      0|            _mark = p->mark;
23862|      0|        }
23863|     31|        p->mark = _mark;
23864|     31|        D(fprintf(stderr, "%*c%s _loop0_71[%d-%d]: %s failed!\n", p->level, ' ',
23865|     31|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default"));
23866|     31|    }
23867|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23868|     31|    if (!_seq) {
  ------------------
  |  Branch (23868:9): [True: 0, False: 31]
  ------------------
23869|      0|        p->error_indicator = 1;
23870|      0|        PyErr_NoMemory();
23871|      0|        PyMem_Free(_children);
23872|      0|        p->level--;
23873|      0|        return NULL;
23874|      0|    }
23875|     31|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|     31|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (23875:28): [True: 0, False: 31]
  ------------------
23876|     31|    PyMem_Free(_children);
23877|     31|    p->level--;
23878|     31|    return _seq;
23879|     31|}
parser.c:lambda_star_etc_rule:
15767|     31|{
15768|     31|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     62|#  define MAXSTACK 6000
  ------------------
  |  Branch (15768:9): [True: 0, False: 31]
  |  Branch (15768:35): [True: 0, False: 31]
  ------------------
15769|      0|        _Pypegen_stack_overflow(p);
15770|      0|    }
15771|     31|    if (p->error_indicator) {
  ------------------
  |  Branch (15771:9): [True: 0, False: 31]
  ------------------
15772|      0|        p->level--;
15773|      0|        return NULL;
15774|      0|    }
15775|     31|    StarEtc* _res = NULL;
15776|     31|    int _mark = p->mark;
15777|     31|    if (p->call_invalid_rules) { // invalid_lambda_star_etc
  ------------------
  |  Branch (15777:9): [True: 21, False: 10]
  ------------------
15778|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (15778:13): [True: 0, False: 21]
  ------------------
15779|      0|            p->level--;
15780|      0|            return NULL;
15781|      0|        }
15782|     21|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_star_etc"));
15783|     21|        void *invalid_lambda_star_etc_var;
15784|     21|        if (
15785|     21|            (invalid_lambda_star_etc_var = invalid_lambda_star_etc_rule(p))  // invalid_lambda_star_etc
  ------------------
  |  |  573|     21|#define invalid_lambda_star_etc_rule _PyPegen_invalid_lambda_star_etc_rule
  ------------------
  |  Branch (15785:13): [True: 0, False: 21]
  ------------------
15786|     21|        )
15787|      0|        {
15788|      0|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_lambda_star_etc"));
15789|      0|            _res = invalid_lambda_star_etc_var;
15790|      0|            goto done;
15791|      0|        }
15792|     21|        p->mark = _mark;
15793|     21|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
15794|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_star_etc"));
15795|     21|    }
15796|     31|    { // '*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?
15797|     31|        if (p->error_indicator) {
  ------------------
  |  Branch (15797:13): [True: 0, False: 31]
  ------------------
15798|      0|            p->level--;
15799|      0|            return NULL;
15800|      0|        }
15801|     31|        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?"));
15802|     31|        Token * _literal;
15803|     31|        arg_ty a;
15804|     31|        asdl_seq * b;
15805|     31|        void *c;
15806|     31|        if (
15807|     31|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (15807:13): [True: 0, False: 31]
  ------------------
15808|      0|            &&
15809|      0|            (a = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  |  497|      0|#define lambda_param_no_default_rule _PyPegen_lambda_param_no_default_rule
  ------------------
  |  Branch (15809:13): [True: 0, False: 0]
  ------------------
15810|      0|            &&
15811|      0|            (b = _loop0_74_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (15811:13): [True: 0, False: 0]
  ------------------
15812|      0|            &&
15813|      0|            (c = lambda_kwds_rule(p), !p->error_indicator)  // lambda_kwds?
  ------------------
  |  Branch (15813:13): [True: 0, False: 0]
  ------------------
15814|     31|        )
15815|      0|        {
15816|      0|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?"));
15817|      0|            _res = _PyPegen_star_etc ( p , a , b , c );
15818|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15818:18): [True: 0, False: 0]
  |  Branch (15818:34): [True: 0, False: 0]
  |  Branch (15818:57): [True: 0, False: 0]
  ------------------
15819|      0|                p->error_indicator = 1;
15820|      0|                p->level--;
15821|      0|                return NULL;
15822|      0|            }
15823|      0|            goto done;
15824|      0|        }
15825|     31|        p->mark = _mark;
15826|     31|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
15827|     31|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?"));
15828|     31|    }
15829|      0|    { // '*' ',' lambda_param_maybe_default+ lambda_kwds?
15830|     31|        if (p->error_indicator) {
  ------------------
  |  Branch (15830:13): [True: 0, False: 31]
  ------------------
15831|      0|            p->level--;
15832|      0|            return NULL;
15833|      0|        }
15834|     31|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
15835|     31|        Token * _literal;
15836|     31|        Token * _literal_1;
15837|     31|        asdl_seq * b;
15838|     31|        void *c;
15839|     31|        if (
15840|     31|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (15840:13): [True: 0, False: 31]
  ------------------
15841|      0|            &&
15842|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (15842:13): [True: 0, False: 0]
  ------------------
15843|      0|            &&
15844|      0|            (b = _loop1_75_rule(p))  // lambda_param_maybe_default+
  ------------------
  |  Branch (15844:13): [True: 0, False: 0]
  ------------------
15845|      0|            &&
15846|      0|            (c = lambda_kwds_rule(p), !p->error_indicator)  // lambda_kwds?
  ------------------
  |  Branch (15846:13): [True: 0, False: 0]
  ------------------
15847|     31|        )
15848|      0|        {
15849|      0|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
15850|      0|            _res = _PyPegen_star_etc ( p , NULL , b , c );
15851|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15851:18): [True: 0, False: 0]
  |  Branch (15851:34): [True: 0, False: 0]
  |  Branch (15851:57): [True: 0, False: 0]
  ------------------
15852|      0|                p->error_indicator = 1;
15853|      0|                p->level--;
15854|      0|                return NULL;
15855|      0|            }
15856|      0|            goto done;
15857|      0|        }
15858|     31|        p->mark = _mark;
15859|     31|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
15860|     31|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
15861|     31|    }
15862|      0|    { // lambda_kwds
15863|     31|        if (p->error_indicator) {
  ------------------
  |  Branch (15863:13): [True: 0, False: 31]
  ------------------
15864|      0|            p->level--;
15865|      0|            return NULL;
15866|      0|        }
15867|     31|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_kwds"));
15868|     31|        arg_ty a;
15869|     31|        if (
15870|     31|            (a = lambda_kwds_rule(p))  // lambda_kwds
  ------------------
  |  Branch (15870:13): [True: 0, False: 31]
  ------------------
15871|     31|        )
15872|      0|        {
15873|      0|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_kwds"));
15874|      0|            _res = _PyPegen_star_etc ( p , NULL , NULL , a );
15875|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15875:18): [True: 0, False: 0]
  |  Branch (15875:34): [True: 0, False: 0]
  |  Branch (15875:57): [True: 0, False: 0]
  ------------------
15876|      0|                p->error_indicator = 1;
15877|      0|                p->level--;
15878|      0|                return NULL;
15879|      0|            }
15880|      0|            goto done;
15881|      0|        }
15882|     31|        p->mark = _mark;
15883|     31|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
15884|     31|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_kwds"));
15885|     31|    }
15886|     31|    _res = NULL;
15887|     31|  done:
15888|     31|    p->level--;
15889|     31|    return _res;
15890|     31|}
parser.c:lambda_kwds_rule:
15895|     31|{
15896|     31|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     62|#  define MAXSTACK 6000
  ------------------
  |  Branch (15896:9): [True: 0, False: 31]
  |  Branch (15896:35): [True: 0, False: 31]
  ------------------
15897|      0|        _Pypegen_stack_overflow(p);
15898|      0|    }
15899|     31|    if (p->error_indicator) {
  ------------------
  |  Branch (15899:9): [True: 0, False: 31]
  ------------------
15900|      0|        p->level--;
15901|      0|        return NULL;
15902|      0|    }
15903|     31|    arg_ty _res = NULL;
15904|     31|    int _mark = p->mark;
15905|     31|    if (p->call_invalid_rules) { // invalid_lambda_kwds
  ------------------
  |  Branch (15905:9): [True: 21, False: 10]
  ------------------
15906|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (15906:13): [True: 0, False: 21]
  ------------------
15907|      0|            p->level--;
15908|      0|            return NULL;
15909|      0|        }
15910|     21|        D(fprintf(stderr, "%*c> lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_kwds"));
15911|     21|        void *invalid_lambda_kwds_var;
15912|     21|        if (
15913|     21|            (invalid_lambda_kwds_var = invalid_lambda_kwds_rule(p))  // invalid_lambda_kwds
  ------------------
  |  |  575|     21|#define invalid_lambda_kwds_rule _PyPegen_invalid_lambda_kwds_rule
  ------------------
  |  Branch (15913:13): [True: 0, False: 21]
  ------------------
15914|     21|        )
15915|      0|        {
15916|      0|            D(fprintf(stderr, "%*c+ lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_lambda_kwds"));
15917|      0|            _res = invalid_lambda_kwds_var;
15918|      0|            goto done;
15919|      0|        }
15920|     21|        p->mark = _mark;
15921|     21|        D(fprintf(stderr, "%*c%s lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
15922|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_kwds"));
15923|     21|    }
15924|     31|    { // '**' lambda_param_no_default
15925|     31|        if (p->error_indicator) {
  ------------------
  |  Branch (15925:13): [True: 0, False: 31]
  ------------------
15926|      0|            p->level--;
15927|      0|            return NULL;
15928|      0|        }
15929|     31|        D(fprintf(stderr, "%*c> lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param_no_default"));
15930|     31|        Token * _literal;
15931|     31|        arg_ty a;
15932|     31|        if (
15933|     31|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (15933:13): [True: 0, False: 31]
  ------------------
15934|      0|            &&
15935|      0|            (a = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  |  497|      0|#define lambda_param_no_default_rule _PyPegen_lambda_param_no_default_rule
  ------------------
  |  Branch (15935:13): [True: 0, False: 0]
  ------------------
15936|     31|        )
15937|      0|        {
15938|      0|            D(fprintf(stderr, "%*c+ lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' lambda_param_no_default"));
15939|      0|            _res = a;
15940|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15940:18): [True: 0, False: 0]
  |  Branch (15940:34): [True: 0, False: 0]
  |  Branch (15940:57): [True: 0, False: 0]
  ------------------
15941|      0|                p->error_indicator = 1;
15942|      0|                p->level--;
15943|      0|                return NULL;
15944|      0|            }
15945|      0|            goto done;
15946|      0|        }
15947|     31|        p->mark = _mark;
15948|     31|        D(fprintf(stderr, "%*c%s lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
15949|     31|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param_no_default"));
15950|     31|    }
15951|     31|    _res = NULL;
15952|     31|  done:
15953|     31|    p->level--;
15954|     31|    return _res;
15955|     31|}
parser.c:fstring_conversion_rule:
16408|      4|{
16409|      4|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (16409:9): [True: 0, False: 4]
  |  Branch (16409:35): [True: 0, False: 4]
  ------------------
16410|      0|        _Pypegen_stack_overflow(p);
16411|      0|    }
16412|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (16412:9): [True: 0, False: 4]
  ------------------
16413|      0|        p->level--;
16414|      0|        return NULL;
16415|      0|    }
16416|      4|    ResultTokenWithMetadata* _res = NULL;
16417|      4|    int _mark = p->mark;
16418|      4|    { // "!" NAME
16419|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (16419:13): [True: 0, False: 4]
  ------------------
16420|      0|            p->level--;
16421|      0|            return NULL;
16422|      0|        }
16423|      4|        D(fprintf(stderr, "%*c> fstring_conversion[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"!\" NAME"));
16424|      4|        expr_ty conv;
16425|      4|        Token * conv_token;
16426|      4|        if (
16427|      4|            (conv_token = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (16427:13): [True: 0, False: 4]
  ------------------
16428|      0|            &&
16429|      0|            (conv = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (16429:13): [True: 0, False: 0]
  ------------------
16430|      4|        )
16431|      0|        {
16432|      0|            D(fprintf(stderr, "%*c+ fstring_conversion[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"!\" NAME"));
16433|      0|            _res = _PyPegen_check_fstring_conversion ( p , conv_token , conv );
16434|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16434:18): [True: 0, False: 0]
  |  Branch (16434:34): [True: 0, False: 0]
  |  Branch (16434:57): [True: 0, False: 0]
  ------------------
16435|      0|                p->error_indicator = 1;
16436|      0|                p->level--;
16437|      0|                return NULL;
16438|      0|            }
16439|      0|            goto done;
16440|      0|        }
16441|      4|        p->mark = _mark;
16442|      4|        D(fprintf(stderr, "%*c%s fstring_conversion[%d-%d]: %s failed!\n", p->level, ' ',
16443|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"!\" NAME"));
16444|      4|    }
16445|      4|    _res = NULL;
16446|      4|  done:
16447|      4|    p->level--;
16448|      4|    return _res;
16449|      4|}
parser.c:display_items_rule:
17226|     33|{
17227|     33|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     66|#  define MAXSTACK 6000
  ------------------
  |  Branch (17227:9): [True: 0, False: 33]
  |  Branch (17227:35): [True: 0, False: 33]
  ------------------
17228|      0|        _Pypegen_stack_overflow(p);
17229|      0|    }
17230|     33|    if (p->error_indicator) {
  ------------------
  |  Branch (17230:9): [True: 0, False: 33]
  ------------------
17231|      0|        p->level--;
17232|      0|        return NULL;
17233|      0|    }
17234|     33|    asdl_expr_seq* _res = NULL;
17235|     33|    int _mark = p->mark;
17236|     33|    { // ','.display_item+ ','?
17237|     33|        if (p->error_indicator) {
  ------------------
  |  Branch (17237:13): [True: 0, False: 33]
  ------------------
17238|      0|            p->level--;
17239|      0|            return NULL;
17240|      0|        }
17241|     33|        D(fprintf(stderr, "%*c> display_items[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.display_item+ ','?"));
17242|     33|        void *_opt_var;
17243|     33|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|     33|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 33]
  |  |  ------------------
  ------------------
17244|     33|        asdl_expr_seq* a;
17245|     33|        if (
17246|     33|            (a = (asdl_expr_seq*)_gather_83_rule(p))  // ','.display_item+
  ------------------
  |  Branch (17246:13): [True: 33, False: 0]
  ------------------
17247|     33|            &&
17248|     33|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (17248:13): [True: 33, False: 0]
  ------------------
17249|     33|        )
17250|     33|        {
17251|     33|            D(fprintf(stderr, "%*c+ display_items[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.display_item+ ','?"));
17252|     33|            _res = a;
17253|     33|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17253:18): [True: 0, False: 33]
  |  Branch (17253:34): [True: 0, False: 33]
  |  Branch (17253:57): [True: 0, False: 0]
  ------------------
17254|      0|                p->error_indicator = 1;
17255|      0|                p->level--;
17256|      0|                return NULL;
17257|      0|            }
17258|     33|            goto done;
17259|     33|        }
17260|      0|        p->mark = _mark;
17261|      0|        D(fprintf(stderr, "%*c%s display_items[%d-%d]: %s failed!\n", p->level, ' ',
17262|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.display_item+ ','?"));
17263|      0|    }
17264|      0|    _res = NULL;
17265|     33|  done:
17266|     33|    p->level--;
17267|     33|    return _res;
17268|      0|}
parser.c:_gather_83_rule:
24556|     33|{
24557|     33|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     66|#  define MAXSTACK 6000
  ------------------
  |  Branch (24557:9): [True: 0, False: 33]
  |  Branch (24557:35): [True: 0, False: 33]
  ------------------
24558|      0|        _Pypegen_stack_overflow(p);
24559|      0|    }
24560|     33|    if (p->error_indicator) {
  ------------------
  |  Branch (24560:9): [True: 0, False: 33]
  ------------------
24561|      0|        p->level--;
24562|      0|        return NULL;
24563|      0|    }
24564|     33|    asdl_seq * _res = NULL;
24565|     33|    int _mark = p->mark;
24566|     33|    { // display_item _loop0_82
24567|     33|        if (p->error_indicator) {
  ------------------
  |  Branch (24567:13): [True: 0, False: 33]
  ------------------
24568|      0|            p->level--;
24569|      0|            return NULL;
24570|      0|        }
24571|     33|        D(fprintf(stderr, "%*c> _gather_83[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "display_item _loop0_82"));
24572|     33|        expr_ty elem;
24573|     33|        asdl_seq * seq;
24574|     33|        if (
24575|     33|            (elem = display_item_rule(p))  // display_item
  ------------------
  |  Branch (24575:13): [True: 33, False: 0]
  ------------------
24576|     33|            &&
24577|     33|            (seq = _loop0_82_rule(p))  // _loop0_82
  ------------------
  |  Branch (24577:13): [True: 33, False: 0]
  ------------------
24578|     33|        )
24579|     33|        {
24580|     33|            D(fprintf(stderr, "%*c+ _gather_83[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "display_item _loop0_82"));
24581|     33|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
24582|     33|            goto done;
24583|     33|        }
24584|      0|        p->mark = _mark;
24585|      0|        D(fprintf(stderr, "%*c%s _gather_83[%d-%d]: %s failed!\n", p->level, ' ',
24586|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "display_item _loop0_82"));
24587|      0|    }
24588|      0|    _res = NULL;
24589|     33|  done:
24590|     33|    p->level--;
24591|     33|    return _res;
24592|      0|}
parser.c:display_item_rule:
17273|    725|{
17274|    725|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.45k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17274:9): [True: 0, False: 725]
  |  Branch (17274:35): [True: 0, False: 725]
  ------------------
17275|      0|        _Pypegen_stack_overflow(p);
17276|      0|    }
17277|    725|    if (p->error_indicator) {
  ------------------
  |  Branch (17277:9): [True: 0, False: 725]
  ------------------
17278|      0|        p->level--;
17279|      0|        return NULL;
17280|      0|    }
17281|    725|    expr_ty _res = NULL;
17282|    725|    int _mark = p->mark;
17283|    725|    if (p->call_invalid_rules) { // invalid_starred_expression_unpacking_sequence
  ------------------
  |  Branch (17283:9): [True: 177, False: 548]
  ------------------
17284|    177|        if (p->error_indicator) {
  ------------------
  |  Branch (17284:13): [True: 0, False: 177]
  ------------------
17285|      0|            p->level--;
17286|      0|            return NULL;
17287|      0|        }
17288|    177|        D(fprintf(stderr, "%*c> display_item[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking_sequence"));
17289|    177|        void *invalid_starred_expression_unpacking_sequence_var;
17290|    177|        if (
17291|    177|            (invalid_starred_expression_unpacking_sequence_var = invalid_starred_expression_unpacking_sequence_rule(p))  // invalid_starred_expression_unpacking_sequence
  ------------------
  |  |  641|    177|#define invalid_starred_expression_unpacking_sequence_rule _PyPegen_invalid_starred_expression_unpacking_sequence_rule
  ------------------
  |  Branch (17291:13): [True: 0, False: 177]
  ------------------
17292|    177|        )
17293|      0|        {
17294|      0|            D(fprintf(stderr, "%*c+ display_item[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking_sequence"));
17295|      0|            _res = invalid_starred_expression_unpacking_sequence_var;
17296|      0|            goto done;
17297|      0|        }
17298|    177|        p->mark = _mark;
17299|    177|        D(fprintf(stderr, "%*c%s display_item[%d-%d]: %s failed!\n", p->level, ' ',
17300|    177|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression_unpacking_sequence"));
17301|    177|    }
17302|    725|    { // star_named_expression
17303|    725|        if (p->error_indicator) {
  ------------------
  |  Branch (17303:13): [True: 0, False: 725]
  ------------------
17304|      0|            p->level--;
17305|      0|            return NULL;
17306|      0|        }
17307|    725|        D(fprintf(stderr, "%*c> display_item[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression"));
17308|    725|        expr_ty star_named_expression_var;
17309|    725|        if (
17310|    725|            (star_named_expression_var = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  |  471|    725|#define star_named_expression_rule _PyPegen_star_named_expression_rule
  ------------------
  |  Branch (17310:13): [True: 515, False: 210]
  ------------------
17311|    725|        )
17312|    515|        {
17313|    515|            D(fprintf(stderr, "%*c+ display_item[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression"));
17314|    515|            _res = star_named_expression_var;
17315|    515|            goto done;
17316|    515|        }
17317|    210|        p->mark = _mark;
17318|    210|        D(fprintf(stderr, "%*c%s display_item[%d-%d]: %s failed!\n", p->level, ' ',
17319|    210|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression"));
17320|    210|    }
17321|    210|    _res = NULL;
17322|    725|  done:
17323|    725|    p->level--;
17324|    725|    return _res;
17325|    210|}
parser.c:_loop0_82_rule:
24489|     33|{
24490|     33|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     66|#  define MAXSTACK 6000
  ------------------
  |  Branch (24490:9): [True: 0, False: 33]
  |  Branch (24490:35): [True: 0, False: 33]
  ------------------
24491|      0|        _Pypegen_stack_overflow(p);
24492|      0|    }
24493|     33|    if (p->error_indicator) {
  ------------------
  |  Branch (24493:9): [True: 0, False: 33]
  ------------------
24494|      0|        p->level--;
24495|      0|        return NULL;
24496|      0|    }
24497|     33|    void *_res = NULL;
24498|     33|    int _mark = p->mark;
24499|     33|    void **_children = NULL;
24500|     33|    Py_ssize_t _children_capacity = 0;
24501|     33|    Py_ssize_t _n = 0;
24502|     33|    { // ',' display_item
24503|     33|        if (p->error_indicator) {
  ------------------
  |  Branch (24503:13): [True: 0, False: 33]
  ------------------
24504|      0|            p->level--;
24505|      0|            return NULL;
24506|      0|        }
24507|     33|        D(fprintf(stderr, "%*c> _loop0_82[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' display_item"));
24508|     33|        Token * _literal;
24509|     33|        expr_ty elem;
24510|     33|        while (
24511|     43|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (24511:13): [True: 10, False: 33]
  ------------------
24512|     10|            &&
24513|     10|            (elem = display_item_rule(p))  // display_item
  ------------------
  |  Branch (24513:13): [True: 10, False: 0]
  ------------------
24514|     33|        )
24515|     10|        {
24516|     10|            _res = elem;
24517|     10|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24517:18): [True: 0, False: 10]
  |  Branch (24517:34): [True: 0, False: 10]
  |  Branch (24517:57): [True: 0, False: 0]
  ------------------
24518|      0|                p->error_indicator = 1;
24519|      0|                PyMem_Free(_children);
24520|      0|                p->level--;
24521|      0|                return NULL;
24522|      0|            }
24523|     10|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24523:17): [True: 10, False: 0]
  ------------------
24524|     10|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24524:21): [True: 0, False: 10]
  ------------------
24525|      0|                    p->error_indicator = 1;
24526|      0|                    PyErr_NoMemory();
24527|      0|                    PyMem_Free(_children);
24528|      0|                    p->level--;
24529|      0|                    return NULL;
24530|      0|                }
24531|     10|            }
24532|     10|            _children[_n++] = _res;
24533|     10|            _mark = p->mark;
24534|     10|        }
24535|     33|        p->mark = _mark;
24536|     33|        D(fprintf(stderr, "%*c%s _loop0_82[%d-%d]: %s failed!\n", p->level, ' ',
24537|     33|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' display_item"));
24538|     33|    }
24539|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
24540|     33|    if (!_seq) {
  ------------------
  |  Branch (24540:9): [True: 0, False: 33]
  ------------------
24541|      0|        p->error_indicator = 1;
24542|      0|        PyErr_NoMemory();
24543|      0|        PyMem_Free(_children);
24544|      0|        p->level--;
24545|      0|        return NULL;
24546|      0|    }
24547|     43|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|     10|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|     43|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24547:28): [True: 10, False: 33]
  ------------------
24548|     33|    PyMem_Free(_children);
24549|     33|    p->level--;
24550|     33|    return _seq;
24551|     33|}
parser.c:kvpair_rule:
17735|      6|{
17736|      6|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     12|#  define MAXSTACK 6000
  ------------------
  |  Branch (17736:9): [True: 0, False: 6]
  |  Branch (17736:35): [True: 0, False: 6]
  ------------------
17737|      0|        _Pypegen_stack_overflow(p);
17738|      0|    }
17739|      6|    if (p->error_indicator) {
  ------------------
  |  Branch (17739:9): [True: 0, False: 6]
  ------------------
17740|      0|        p->level--;
17741|      0|        return NULL;
17742|      0|    }
17743|      6|    KeyValuePair* _res = NULL;
17744|      6|    int _mark = p->mark;
17745|      6|    { // expression ':' expression
17746|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (17746:13): [True: 0, False: 6]
  ------------------
17747|      0|            p->level--;
17748|      0|            return NULL;
17749|      0|        }
17750|      6|        D(fprintf(stderr, "%*c> kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' expression"));
17751|      6|        Token * _literal;
17752|      6|        expr_ty a;
17753|      6|        expr_ty b;
17754|      6|        if (
17755|      6|            (a = expression_rule(p))  // expression
  ------------------
  |  |  461|      6|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (17755:13): [True: 6, False: 0]
  ------------------
17756|      6|            &&
17757|      6|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (17757:13): [True: 0, False: 6]
  ------------------
17758|      0|            &&
17759|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  |  461|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (17759:13): [True: 0, False: 0]
  ------------------
17760|      6|        )
17761|      0|        {
17762|      0|            D(fprintf(stderr, "%*c+ kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' expression"));
17763|      0|            _res = _PyPegen_key_value_pair ( p , a , b );
17764|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17764:18): [True: 0, False: 0]
  |  Branch (17764:34): [True: 0, False: 0]
  |  Branch (17764:57): [True: 0, False: 0]
  ------------------
17765|      0|                p->error_indicator = 1;
17766|      0|                p->level--;
17767|      0|                return NULL;
17768|      0|            }
17769|      0|            goto done;
17770|      0|        }
17771|      6|        p->mark = _mark;
17772|      6|        D(fprintf(stderr, "%*c%s kvpair[%d-%d]: %s failed!\n", p->level, ' ',
17773|      6|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' expression"));
17774|      6|    }
17775|      6|    _res = NULL;
17776|      6|  done:
17777|      6|    p->level--;
17778|      6|    return _res;
17779|      6|}
parser.c:_loop1_55_rule:
22863|     20|{
22864|     20|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     40|#  define MAXSTACK 6000
  ------------------
  |  Branch (22864:9): [True: 0, False: 20]
  |  Branch (22864:35): [True: 0, False: 20]
  ------------------
22865|      0|        _Pypegen_stack_overflow(p);
22866|      0|    }
22867|     20|    if (p->error_indicator) {
  ------------------
  |  Branch (22867:9): [True: 0, False: 20]
  ------------------
22868|      0|        p->level--;
22869|      0|        return NULL;
22870|      0|    }
22871|     20|    void *_res = NULL;
22872|     20|    int _mark = p->mark;
22873|     20|    void **_children = NULL;
22874|     20|    Py_ssize_t _children_capacity = 0;
22875|     20|    Py_ssize_t _n = 0;
22876|     20|    { // (',' expression)
22877|     20|        if (p->error_indicator) {
  ------------------
  |  Branch (22877:13): [True: 0, False: 20]
  ------------------
22878|      0|            p->level--;
22879|      0|            return NULL;
22880|      0|        }
22881|     20|        D(fprintf(stderr, "%*c> _loop1_55[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(',' expression)"));
22882|     20|        void *_tmp_16_var;
22883|     20|        while (
22884|     21|            (_tmp_16_var = _tmp_16_rule(p))  // ',' expression
  ------------------
  |  Branch (22884:13): [True: 1, False: 20]
  ------------------
22885|     20|        )
22886|      1|        {
22887|      1|            _res = _tmp_16_var;
22888|      1|            if (_n == _children_capacity) {
  ------------------
  |  Branch (22888:17): [True: 1, False: 0]
  ------------------
22889|      1|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (22889:21): [True: 0, False: 1]
  ------------------
22890|      0|                    p->error_indicator = 1;
22891|      0|                    PyErr_NoMemory();
22892|      0|                    PyMem_Free(_children);
22893|      0|                    p->level--;
22894|      0|                    return NULL;
22895|      0|                }
22896|      1|            }
22897|      1|            _children[_n++] = _res;
22898|      1|            _mark = p->mark;
22899|      1|        }
22900|     20|        p->mark = _mark;
22901|     20|        D(fprintf(stderr, "%*c%s _loop1_55[%d-%d]: %s failed!\n", p->level, ' ',
22902|     20|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(',' expression)"));
22903|     20|    }
22904|     20|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (22904:9): [True: 19, False: 1]
  |  Branch (22904:20): [True: 0, False: 1]
  ------------------
22905|     19|        PyMem_Free(_children);
22906|     19|        p->level--;
22907|     19|        return NULL;
22908|     19|    }
22909|      1|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
22910|      1|    if (!_seq) {
  ------------------
  |  Branch (22910:9): [True: 0, False: 1]
  ------------------
22911|      0|        p->error_indicator = 1;
22912|      0|        PyErr_NoMemory();
22913|      0|        PyMem_Free(_children);
22914|      0|        p->level--;
22915|      0|        return NULL;
22916|      0|    }
22917|      2|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      1|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (22917:28): [True: 1, False: 1]
  ------------------
22918|      1|    PyMem_Free(_children);
22919|      1|    p->level--;
22920|      1|    return _seq;
22921|      1|}
parser.c:_loop1_56_rule:
22926|     35|{
22927|     35|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     70|#  define MAXSTACK 6000
  ------------------
  |  Branch (22927:9): [True: 0, False: 35]
  |  Branch (22927:35): [True: 0, False: 35]
  ------------------
22928|      0|        _Pypegen_stack_overflow(p);
22929|      0|    }
22930|     35|    if (p->error_indicator) {
  ------------------
  |  Branch (22930:9): [True: 0, False: 35]
  ------------------
22931|      0|        p->level--;
22932|      0|        return NULL;
22933|      0|    }
22934|     35|    void *_res = NULL;
22935|     35|    int _mark = p->mark;
22936|     35|    void **_children = NULL;
22937|     35|    Py_ssize_t _children_capacity = 0;
22938|     35|    Py_ssize_t _n = 0;
22939|     35|    { // (',' star_expression)
22940|     35|        if (p->error_indicator) {
  ------------------
  |  Branch (22940:13): [True: 0, False: 35]
  ------------------
22941|      0|            p->level--;
22942|      0|            return NULL;
22943|      0|        }
22944|     35|        D(fprintf(stderr, "%*c> _loop1_56[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(',' star_expression)"));
22945|     35|        void *_tmp_181_var;
22946|     35|        while (
22947|     35|            (_tmp_181_var = _tmp_181_rule(p))  // ',' star_expression
  ------------------
  |  Branch (22947:13): [True: 0, False: 35]
  ------------------
22948|     35|        )
22949|      0|        {
22950|      0|            _res = _tmp_181_var;
22951|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (22951:17): [True: 0, False: 0]
  ------------------
22952|      0|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (22952:21): [True: 0, False: 0]
  ------------------
22953|      0|                    p->error_indicator = 1;
22954|      0|                    PyErr_NoMemory();
22955|      0|                    PyMem_Free(_children);
22956|      0|                    p->level--;
22957|      0|                    return NULL;
22958|      0|                }
22959|      0|            }
22960|      0|            _children[_n++] = _res;
22961|      0|            _mark = p->mark;
22962|      0|        }
22963|     35|        p->mark = _mark;
22964|     35|        D(fprintf(stderr, "%*c%s _loop1_56[%d-%d]: %s failed!\n", p->level, ' ',
22965|     35|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(',' star_expression)"));
22966|     35|    }
22967|     35|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (22967:9): [True: 35, False: 0]
  |  Branch (22967:20): [True: 0, False: 0]
  ------------------
22968|     35|        PyMem_Free(_children);
22969|     35|        p->level--;
22970|     35|        return NULL;
22971|     35|    }
22972|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
22973|      0|    if (!_seq) {
  ------------------
  |  Branch (22973:9): [True: 0, False: 0]
  ------------------
22974|      0|        p->error_indicator = 1;
22975|      0|        PyErr_NoMemory();
22976|      0|        PyMem_Free(_children);
22977|      0|        p->level--;
22978|      0|        return NULL;
22979|      0|    }
22980|      0|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (22980:28): [True: 0, False: 0]
  ------------------
22981|      0|    PyMem_Free(_children);
22982|      0|    p->level--;
22983|      0|    return _seq;
22984|      0|}
parser.c:_tmp_181_rule:
25953|     35|{
25954|     35|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     70|#  define MAXSTACK 6000
  ------------------
  |  Branch (25954:9): [True: 0, False: 35]
  |  Branch (25954:35): [True: 0, False: 35]
  ------------------
25955|      0|        _Pypegen_stack_overflow(p);
25956|      0|    }
25957|     35|    if (p->error_indicator) {
  ------------------
  |  Branch (25957:9): [True: 0, False: 35]
  ------------------
25958|      0|        p->level--;
25959|      0|        return NULL;
25960|      0|    }
25961|     35|    void * _res = NULL;
25962|     35|    int _mark = p->mark;
25963|     35|    { // ',' star_expression
25964|     35|        if (p->error_indicator) {
  ------------------
  |  Branch (25964:13): [True: 0, False: 35]
  ------------------
25965|      0|            p->level--;
25966|      0|            return NULL;
25967|      0|        }
25968|     35|        D(fprintf(stderr, "%*c> _tmp_181[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' star_expression"));
25969|     35|        Token * _literal;
25970|     35|        expr_ty c;
25971|     35|        if (
25972|     35|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (25972:13): [True: 0, False: 35]
  ------------------
25973|      0|            &&
25974|      0|            (c = star_expression_rule(p))  // star_expression
  ------------------
  |  Branch (25974:13): [True: 0, False: 0]
  ------------------
25975|     35|        )
25976|      0|        {
25977|      0|            D(fprintf(stderr, "%*c+ _tmp_181[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' star_expression"));
25978|      0|            _res = c;
25979|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25979:18): [True: 0, False: 0]
  |  Branch (25979:34): [True: 0, False: 0]
  |  Branch (25979:57): [True: 0, False: 0]
  ------------------
25980|      0|                p->error_indicator = 1;
25981|      0|                p->level--;
25982|      0|                return NULL;
25983|      0|            }
25984|      0|            goto done;
25985|      0|        }
25986|     35|        p->mark = _mark;
25987|     35|        D(fprintf(stderr, "%*c%s _tmp_181[%d-%d]: %s failed!\n", p->level, ' ',
25988|     35|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' star_expression"));
25989|     35|    }
25990|     35|    _res = NULL;
25991|     35|  done:
25992|     35|    p->level--;
25993|     35|    return _res;
25994|     35|}
parser.c:_loop1_59_rule:
23097|    978|{
23098|    978|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.95k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23098:9): [True: 0, False: 978]
  |  Branch (23098:35): [True: 0, False: 978]
  ------------------
23099|      0|        _Pypegen_stack_overflow(p);
23100|      0|    }
23101|    978|    if (p->error_indicator) {
  ------------------
  |  Branch (23101:9): [True: 0, False: 978]
  ------------------
23102|      0|        p->level--;
23103|      0|        return NULL;
23104|      0|    }
23105|    978|    void *_res = NULL;
23106|    978|    int _mark = p->mark;
23107|    978|    void **_children = NULL;
23108|    978|    Py_ssize_t _children_capacity = 0;
23109|    978|    Py_ssize_t _n = 0;
23110|    978|    { // ('or' conjunction)
23111|    978|        if (p->error_indicator) {
  ------------------
  |  Branch (23111:13): [True: 0, False: 978]
  ------------------
23112|      0|            p->level--;
23113|      0|            return NULL;
23114|      0|        }
23115|    978|        D(fprintf(stderr, "%*c> _loop1_59[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('or' conjunction)"));
23116|    978|        void *_tmp_182_var;
23117|    978|        while (
23118|    978|            (_tmp_182_var = _tmp_182_rule(p))  // 'or' conjunction
  ------------------
  |  Branch (23118:13): [True: 0, False: 978]
  ------------------
23119|    978|        )
23120|      0|        {
23121|      0|            _res = _tmp_182_var;
23122|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23122:17): [True: 0, False: 0]
  ------------------
23123|      0|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23123:21): [True: 0, False: 0]
  ------------------
23124|      0|                    p->error_indicator = 1;
23125|      0|                    PyErr_NoMemory();
23126|      0|                    PyMem_Free(_children);
23127|      0|                    p->level--;
23128|      0|                    return NULL;
23129|      0|                }
23130|      0|            }
23131|      0|            _children[_n++] = _res;
23132|      0|            _mark = p->mark;
23133|      0|        }
23134|    978|        p->mark = _mark;
23135|    978|        D(fprintf(stderr, "%*c%s _loop1_59[%d-%d]: %s failed!\n", p->level, ' ',
23136|    978|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('or' conjunction)"));
23137|    978|    }
23138|    978|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (23138:9): [True: 978, False: 0]
  |  Branch (23138:20): [True: 0, False: 0]
  ------------------
23139|    978|        PyMem_Free(_children);
23140|    978|        p->level--;
23141|    978|        return NULL;
23142|    978|    }
23143|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23144|      0|    if (!_seq) {
  ------------------
  |  Branch (23144:9): [True: 0, False: 0]
  ------------------
23145|      0|        p->error_indicator = 1;
23146|      0|        PyErr_NoMemory();
23147|      0|        PyMem_Free(_children);
23148|      0|        p->level--;
23149|      0|        return NULL;
23150|      0|    }
23151|      0|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (23151:28): [True: 0, False: 0]
  ------------------
23152|      0|    PyMem_Free(_children);
23153|      0|    p->level--;
23154|      0|    return _seq;
23155|      0|}
parser.c:_tmp_182_rule:
25999|    978|{
26000|    978|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.95k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26000:9): [True: 0, False: 978]
  |  Branch (26000:35): [True: 0, False: 978]
  ------------------
26001|      0|        _Pypegen_stack_overflow(p);
26002|      0|    }
26003|    978|    if (p->error_indicator) {
  ------------------
  |  Branch (26003:9): [True: 0, False: 978]
  ------------------
26004|      0|        p->level--;
26005|      0|        return NULL;
26006|      0|    }
26007|    978|    void * _res = NULL;
26008|    978|    int _mark = p->mark;
26009|    978|    { // 'or' conjunction
26010|    978|        if (p->error_indicator) {
  ------------------
  |  Branch (26010:13): [True: 0, False: 978]
  ------------------
26011|      0|            p->level--;
26012|      0|            return NULL;
26013|      0|        }
26014|    978|        D(fprintf(stderr, "%*c> _tmp_182[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'or' conjunction"));
26015|    978|        Token * _keyword;
26016|    978|        expr_ty c;
26017|    978|        if (
26018|    978|            (_keyword = _PyPegen_expect_token(p, 529))  // token='or'
  ------------------
  |  Branch (26018:13): [True: 0, False: 978]
  ------------------
26019|      0|            &&
26020|      0|            (c = conjunction_rule(p))  // conjunction
  ------------------
  |  Branch (26020:13): [True: 0, False: 0]
  ------------------
26021|    978|        )
26022|      0|        {
26023|      0|            D(fprintf(stderr, "%*c+ _tmp_182[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'or' conjunction"));
26024|      0|            _res = c;
26025|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26025:18): [True: 0, False: 0]
  |  Branch (26025:34): [True: 0, False: 0]
  |  Branch (26025:57): [True: 0, False: 0]
  ------------------
26026|      0|                p->error_indicator = 1;
26027|      0|                p->level--;
26028|      0|                return NULL;
26029|      0|            }
26030|      0|            goto done;
26031|      0|        }
26032|    978|        p->mark = _mark;
26033|    978|        D(fprintf(stderr, "%*c%s _tmp_182[%d-%d]: %s failed!\n", p->level, ' ',
26034|    978|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'or' conjunction"));
26035|    978|    }
26036|    978|    _res = NULL;
26037|    978|  done:
26038|    978|    p->level--;
26039|    978|    return _res;
26040|    978|}
parser.c:_loop0_70_rule:
23768|    189|{
23769|    189|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    378|#  define MAXSTACK 6000
  ------------------
  |  Branch (23769:9): [True: 0, False: 189]
  |  Branch (23769:35): [True: 0, False: 189]
  ------------------
23770|      0|        _Pypegen_stack_overflow(p);
23771|      0|    }
23772|    189|    if (p->error_indicator) {
  ------------------
  |  Branch (23772:9): [True: 0, False: 189]
  ------------------
23773|      0|        p->level--;
23774|      0|        return NULL;
23775|      0|    }
23776|    189|    void *_res = NULL;
23777|    189|    int _mark = p->mark;
23778|    189|    void **_children = NULL;
23779|    189|    Py_ssize_t _children_capacity = 0;
23780|    189|    Py_ssize_t _n = 0;
23781|    189|    { // lambda_param_no_default
23782|    189|        if (p->error_indicator) {
  ------------------
  |  Branch (23782:13): [True: 0, False: 189]
  ------------------
23783|      0|            p->level--;
23784|      0|            return NULL;
23785|      0|        }
23786|    189|        D(fprintf(stderr, "%*c> _loop0_70[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
23787|    189|        arg_ty lambda_param_no_default_var;
23788|    189|        while (
23789|  29.3M|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  |  497|  29.3M|#define lambda_param_no_default_rule _PyPegen_lambda_param_no_default_rule
  ------------------
  |  Branch (23789:13): [True: 29.3M, False: 189]
  ------------------
23790|    189|        )
23791|  29.3M|        {
23792|  29.3M|            _res = lambda_param_no_default_var;
23793|  29.3M|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23793:17): [True: 2.66k, False: 29.3M]
  ------------------
23794|  2.66k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23794:21): [True: 0, False: 2.66k]
  ------------------
23795|      0|                    p->error_indicator = 1;
23796|      0|                    PyErr_NoMemory();
23797|      0|                    PyMem_Free(_children);
23798|      0|                    p->level--;
23799|      0|                    return NULL;
23800|      0|                }
23801|  2.66k|            }
23802|  29.3M|            _children[_n++] = _res;
23803|  29.3M|            _mark = p->mark;
23804|  29.3M|        }
23805|    189|        p->mark = _mark;
23806|    189|        D(fprintf(stderr, "%*c%s _loop0_70[%d-%d]: %s failed!\n", p->level, ' ',
23807|    189|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
23808|    189|    }
23809|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23810|    189|    if (!_seq) {
  ------------------
  |  Branch (23810:9): [True: 0, False: 189]
  ------------------
23811|      0|        p->error_indicator = 1;
23812|      0|        PyErr_NoMemory();
23813|      0|        PyMem_Free(_children);
23814|      0|        p->level--;
23815|      0|        return NULL;
23816|      0|    }
23817|  29.3M|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  29.3M|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  29.3M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (23817:28): [True: 29.3M, False: 189]
  ------------------
23818|    189|    PyMem_Free(_children);
23819|    189|    p->level--;
23820|    189|    return _seq;
23821|    189|}
parser.c:_loop1_72_rule:
23884|    221|{
23885|    221|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    442|#  define MAXSTACK 6000
  ------------------
  |  Branch (23885:9): [True: 0, False: 221]
  |  Branch (23885:35): [True: 0, False: 221]
  ------------------
23886|      0|        _Pypegen_stack_overflow(p);
23887|      0|    }
23888|    221|    if (p->error_indicator) {
  ------------------
  |  Branch (23888:9): [True: 0, False: 221]
  ------------------
23889|      0|        p->level--;
23890|      0|        return NULL;
23891|      0|    }
23892|    221|    void *_res = NULL;
23893|    221|    int _mark = p->mark;
23894|    221|    void **_children = NULL;
23895|    221|    Py_ssize_t _children_capacity = 0;
23896|    221|    Py_ssize_t _n = 0;
23897|    221|    { // lambda_param_no_default
23898|    221|        if (p->error_indicator) {
  ------------------
  |  Branch (23898:13): [True: 0, False: 221]
  ------------------
23899|      0|            p->level--;
23900|      0|            return NULL;
23901|      0|        }
23902|    221|        D(fprintf(stderr, "%*c> _loop1_72[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
23903|    221|        arg_ty lambda_param_no_default_var;
23904|    221|        while (
23905|  44.0M|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  |  497|  44.0M|#define lambda_param_no_default_rule _PyPegen_lambda_param_no_default_rule
  ------------------
  |  Branch (23905:13): [True: 44.0M, False: 221]
  ------------------
23906|    221|        )
23907|  44.0M|        {
23908|  44.0M|            _res = lambda_param_no_default_var;
23909|  44.0M|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23909:17): [True: 4.00k, False: 44.0M]
  ------------------
23910|  4.00k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23910:21): [True: 0, False: 4.00k]
  ------------------
23911|      0|                    p->error_indicator = 1;
23912|      0|                    PyErr_NoMemory();
23913|      0|                    PyMem_Free(_children);
23914|      0|                    p->level--;
23915|      0|                    return NULL;
23916|      0|                }
23917|  4.00k|            }
23918|  44.0M|            _children[_n++] = _res;
23919|  44.0M|            _mark = p->mark;
23920|  44.0M|        }
23921|    221|        p->mark = _mark;
23922|    221|        D(fprintf(stderr, "%*c%s _loop1_72[%d-%d]: %s failed!\n", p->level, ' ',
23923|    221|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
23924|    221|    }
23925|    221|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (23925:9): [True: 0, False: 221]
  |  Branch (23925:20): [True: 0, False: 221]
  ------------------
23926|      0|        PyMem_Free(_children);
23927|      0|        p->level--;
23928|      0|        return NULL;
23929|      0|    }
23930|    221|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23931|    221|    if (!_seq) {
  ------------------
  |  Branch (23931:9): [True: 0, False: 221]
  ------------------
23932|      0|        p->error_indicator = 1;
23933|      0|        PyErr_NoMemory();
23934|      0|        PyMem_Free(_children);
23935|      0|        p->level--;
23936|      0|        return NULL;
23937|      0|    }
23938|  44.0M|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  44.0M|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  44.0M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (23938:28): [True: 44.0M, False: 221]
  ------------------
23939|    221|    PyMem_Free(_children);
23940|    221|    p->level--;
23941|    221|    return _seq;
23942|    221|}
parser.c:_loop1_73_rule:
23947|    189|{
23948|    189|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    378|#  define MAXSTACK 6000
  ------------------
  |  Branch (23948:9): [True: 0, False: 189]
  |  Branch (23948:35): [True: 0, False: 189]
  ------------------
23949|      0|        _Pypegen_stack_overflow(p);
23950|      0|    }
23951|    189|    if (p->error_indicator) {
  ------------------
  |  Branch (23951:9): [True: 0, False: 189]
  ------------------
23952|      0|        p->level--;
23953|      0|        return NULL;
23954|      0|    }
23955|    189|    void *_res = NULL;
23956|    189|    int _mark = p->mark;
23957|    189|    void **_children = NULL;
23958|    189|    Py_ssize_t _children_capacity = 0;
23959|    189|    Py_ssize_t _n = 0;
23960|    189|    { // lambda_param_with_default
23961|    189|        if (p->error_indicator) {
  ------------------
  |  Branch (23961:13): [True: 0, False: 189]
  ------------------
23962|      0|            p->level--;
23963|      0|            return NULL;
23964|      0|        }
23965|    189|        D(fprintf(stderr, "%*c> _loop1_73[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default"));
23966|    189|        NameDefaultPair* lambda_param_with_default_var;
23967|    189|        while (
23968|    189|            (lambda_param_with_default_var = lambda_param_with_default_rule(p))  // lambda_param_with_default
  ------------------
  |  |  499|    189|#define lambda_param_with_default_rule _PyPegen_lambda_param_with_default_rule
  ------------------
  |  Branch (23968:13): [True: 0, False: 189]
  ------------------
23969|    189|        )
23970|      0|        {
23971|      0|            _res = lambda_param_with_default_var;
23972|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23972:17): [True: 0, False: 0]
  ------------------
23973|      0|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23973:21): [True: 0, False: 0]
  ------------------
23974|      0|                    p->error_indicator = 1;
23975|      0|                    PyErr_NoMemory();
23976|      0|                    PyMem_Free(_children);
23977|      0|                    p->level--;
23978|      0|                    return NULL;
23979|      0|                }
23980|      0|            }
23981|      0|            _children[_n++] = _res;
23982|      0|            _mark = p->mark;
23983|      0|        }
23984|    189|        p->mark = _mark;
23985|    189|        D(fprintf(stderr, "%*c%s _loop1_73[%d-%d]: %s failed!\n", p->level, ' ',
23986|    189|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default"));
23987|    189|    }
23988|    189|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (23988:9): [True: 189, False: 0]
  |  Branch (23988:20): [True: 0, False: 0]
  ------------------
23989|    189|        PyMem_Free(_children);
23990|    189|        p->level--;
23991|    189|        return NULL;
23992|    189|    }
23993|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23994|      0|    if (!_seq) {
  ------------------
  |  Branch (23994:9): [True: 0, False: 0]
  ------------------
23995|      0|        p->error_indicator = 1;
23996|      0|        PyErr_NoMemory();
23997|      0|        PyMem_Free(_children);
23998|      0|        p->level--;
23999|      0|        return NULL;
24000|      0|    }
24001|      0|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24001:28): [True: 0, False: 0]
  ------------------
24002|      0|    PyMem_Free(_children);
24003|      0|    p->level--;
24004|      0|    return _seq;
24005|      0|}
parser.c:_loop0_79_rule:
24305|      5|{
24306|      5|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     10|#  define MAXSTACK 6000
  ------------------
  |  Branch (24306:9): [True: 0, False: 5]
  |  Branch (24306:35): [True: 0, False: 5]
  ------------------
24307|      0|        _Pypegen_stack_overflow(p);
24308|      0|    }
24309|      5|    if (p->error_indicator) {
  ------------------
  |  Branch (24309:9): [True: 0, False: 5]
  ------------------
24310|      0|        p->level--;
24311|      0|        return NULL;
24312|      0|    }
24313|      5|    void *_res = NULL;
24314|      5|    int _mark = p->mark;
24315|      5|    void **_children = NULL;
24316|      5|    Py_ssize_t _children_capacity = 0;
24317|      5|    Py_ssize_t _n = 0;
24318|      5|    { // tstring_middle
24319|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (24319:13): [True: 0, False: 5]
  ------------------
24320|      0|            p->level--;
24321|      0|            return NULL;
24322|      0|        }
24323|      5|        D(fprintf(stderr, "%*c> _loop0_79[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring_middle"));
24324|      5|        expr_ty tstring_middle_var;
24325|      5|        while (
24326|      9|            (tstring_middle_var = tstring_middle_rule(p))  // tstring_middle
  ------------------
  |  Branch (24326:13): [True: 4, False: 5]
  ------------------
24327|      5|        )
24328|      4|        {
24329|      4|            _res = tstring_middle_var;
24330|      4|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24330:17): [True: 4, False: 0]
  ------------------
24331|      4|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24331:21): [True: 0, False: 4]
  ------------------
24332|      0|                    p->error_indicator = 1;
24333|      0|                    PyErr_NoMemory();
24334|      0|                    PyMem_Free(_children);
24335|      0|                    p->level--;
24336|      0|                    return NULL;
24337|      0|                }
24338|      4|            }
24339|      4|            _children[_n++] = _res;
24340|      4|            _mark = p->mark;
24341|      4|        }
24342|      5|        p->mark = _mark;
24343|      5|        D(fprintf(stderr, "%*c%s _loop0_79[%d-%d]: %s failed!\n", p->level, ' ',
24344|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring_middle"));
24345|      5|    }
24346|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
24347|      5|    if (!_seq) {
  ------------------
  |  Branch (24347:9): [True: 0, False: 5]
  ------------------
24348|      0|        p->error_indicator = 1;
24349|      0|        PyErr_NoMemory();
24350|      0|        PyMem_Free(_children);
24351|      0|        p->level--;
24352|      0|        return NULL;
24353|      0|    }
24354|      9|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      4|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      9|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24354:28): [True: 4, False: 5]
  ------------------
24355|      5|    PyMem_Free(_children);
24356|      5|    p->level--;
24357|      5|    return _seq;
24358|      5|}
parser.c:tstring_middle_rule:
16949|      9|{
16950|      9|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     18|#  define MAXSTACK 6000
  ------------------
  |  Branch (16950:9): [True: 0, False: 9]
  |  Branch (16950:35): [True: 0, False: 9]
  ------------------
16951|      0|        _Pypegen_stack_overflow(p);
16952|      0|    }
16953|      9|    if (p->error_indicator) {
  ------------------
  |  Branch (16953:9): [True: 0, False: 9]
  ------------------
16954|      0|        p->level--;
16955|      0|        return NULL;
16956|      0|    }
16957|      9|    expr_ty _res = NULL;
16958|      9|    int _mark = p->mark;
16959|      9|    { // tstring_replacement_field
16960|      9|        if (p->error_indicator) {
  ------------------
  |  Branch (16960:13): [True: 0, False: 9]
  ------------------
16961|      0|            p->level--;
16962|      0|            return NULL;
16963|      0|        }
16964|      9|        D(fprintf(stderr, "%*c> tstring_middle[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring_replacement_field"));
16965|      9|        expr_ty tstring_replacement_field_var;
16966|      9|        if (
16967|      9|            (tstring_replacement_field_var = tstring_replacement_field_rule(p))  // tstring_replacement_field
  ------------------
  |  Branch (16967:13): [True: 4, False: 5]
  ------------------
16968|      9|        )
16969|      4|        {
16970|      4|            D(fprintf(stderr, "%*c+ tstring_middle[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tstring_replacement_field"));
16971|      4|            _res = tstring_replacement_field_var;
16972|      4|            goto done;
16973|      4|        }
16974|      5|        p->mark = _mark;
16975|      5|        D(fprintf(stderr, "%*c%s tstring_middle[%d-%d]: %s failed!\n", p->level, ' ',
16976|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring_replacement_field"));
16977|      5|    }
16978|      0|    { // TSTRING_MIDDLE
16979|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (16979:13): [True: 1, False: 4]
  ------------------
16980|      1|            p->level--;
16981|      1|            return NULL;
16982|      1|        }
16983|      4|        D(fprintf(stderr, "%*c> tstring_middle[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TSTRING_MIDDLE"));
16984|      4|        Token * t;
16985|      4|        if (
16986|      4|            (t = _PyPegen_expect_token(p, TSTRING_MIDDLE))  // token='TSTRING_MIDDLE'
  ------------------
  |  |   79|      4|#define TSTRING_MIDDLE  63
  ------------------
  |  Branch (16986:13): [True: 0, False: 4]
  ------------------
16987|      4|        )
16988|      0|        {
16989|      0|            D(fprintf(stderr, "%*c+ tstring_middle[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TSTRING_MIDDLE"));
16990|      0|            _res = _PyPegen_constant_from_token ( p , t );
16991|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16991:18): [True: 0, False: 0]
  |  Branch (16991:34): [True: 0, False: 0]
  |  Branch (16991:57): [True: 0, False: 0]
  ------------------
16992|      0|                p->error_indicator = 1;
16993|      0|                p->level--;
16994|      0|                return NULL;
16995|      0|            }
16996|      0|            goto done;
16997|      0|        }
16998|      4|        p->mark = _mark;
16999|      4|        D(fprintf(stderr, "%*c%s tstring_middle[%d-%d]: %s failed!\n", p->level, ' ',
17000|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TSTRING_MIDDLE"));
17001|      4|    }
17002|      4|    _res = NULL;
17003|      8|  done:
17004|      8|    p->level--;
17005|      8|    return _res;
17006|      4|}
parser.c:tstring_replacement_field_rule:
16854|      9|{
16855|      9|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     18|#  define MAXSTACK 6000
  ------------------
  |  Branch (16855:9): [True: 0, False: 9]
  |  Branch (16855:35): [True: 0, False: 9]
  ------------------
16856|      0|        _Pypegen_stack_overflow(p);
16857|      0|    }
16858|      9|    if (p->error_indicator) {
  ------------------
  |  Branch (16858:9): [True: 0, False: 9]
  ------------------
16859|      0|        p->level--;
16860|      0|        return NULL;
16861|      0|    }
16862|      9|    expr_ty _res = NULL;
16863|      9|    int _mark = p->mark;
16864|      9|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (16864:9): [True: 9, False: 0]
  |  Branch (16864:31): [True: 0, False: 9]
  ------------------
16865|      0|        p->error_indicator = 1;
16866|      0|        p->level--;
16867|      0|        return NULL;
16868|      0|    }
16869|      9|    int _start_lineno = p->tokens[_mark]->lineno;
16870|      9|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      9|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 9]
  |  |  ------------------
  ------------------
16871|      9|    int _start_col_offset = p->tokens[_mark]->col_offset;
16872|      9|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      9|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 9]
  |  |  ------------------
  ------------------
16873|      9|    { // '{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'
16874|      9|        if (p->error_indicator) {
  ------------------
  |  Branch (16874:13): [True: 0, False: 9]
  ------------------
16875|      0|            p->level--;
16876|      0|            return NULL;
16877|      0|        }
16878|      9|        D(fprintf(stderr, "%*c> tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'"));
16879|      9|        Token * _literal;
16880|      9|        expr_ty a;
16881|      9|        void *conversion;
16882|      9|        void *debug_expr;
16883|      9|        void *format;
16884|      9|        Token * rbrace;
16885|      9|        if (
16886|      9|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (16886:13): [True: 5, False: 4]
  ------------------
16887|      5|            &&
16888|      5|            (a = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  |  403|      5|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (16888:13): [True: 4, False: 1]
  ------------------
16889|      4|            &&
16890|      4|            (debug_expr = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (16890:13): [True: 4, False: 0]
  ------------------
16891|      4|            &&
16892|      4|            (conversion = fstring_conversion_rule(p), !p->error_indicator)  // fstring_conversion?
  ------------------
  |  Branch (16892:13): [True: 4, False: 0]
  ------------------
16893|      4|            &&
16894|      4|            (format = tstring_full_format_spec_rule(p), !p->error_indicator)  // tstring_full_format_spec?
  ------------------
  |  Branch (16894:13): [True: 4, False: 0]
  ------------------
16895|      4|            &&
16896|      4|            (rbrace = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (16896:13): [True: 4, False: 0]
  ------------------
16897|      9|        )
16898|      4|        {
16899|      4|            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? '}'"));
16900|      4|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
16901|      4|            if (_token == NULL) {
  ------------------
  |  Branch (16901:17): [True: 0, False: 4]
  ------------------
16902|      0|                p->level--;
16903|      0|                return NULL;
16904|      0|            }
16905|      4|            int _end_lineno = _token->end_lineno;
16906|      4|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
16907|      4|            int _end_col_offset = _token->end_col_offset;
16908|      4|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
16909|      4|            _res = _PyPegen_interpolation ( p , a , debug_expr , conversion , format , rbrace , EXTRA );
  ------------------
  |  |  316|      4|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
16910|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16910:18): [True: 0, False: 4]
  |  Branch (16910:34): [True: 0, False: 4]
  |  Branch (16910:57): [True: 0, False: 0]
  ------------------
16911|      0|                p->error_indicator = 1;
16912|      0|                p->level--;
16913|      0|                return NULL;
16914|      0|            }
16915|      4|            goto done;
16916|      4|        }
16917|      5|        p->mark = _mark;
16918|      5|        D(fprintf(stderr, "%*c%s tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
16919|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'"));
16920|      5|    }
16921|      5|    if (p->call_invalid_rules) { // invalid_tstring_replacement_field
  ------------------
  |  Branch (16921:9): [True: 0, False: 5]
  ------------------
16922|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (16922:13): [True: 0, False: 0]
  ------------------
16923|      0|            p->level--;
16924|      0|            return NULL;
16925|      0|        }
16926|      0|        D(fprintf(stderr, "%*c> tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_tstring_replacement_field"));
16927|      0|        void *invalid_tstring_replacement_field_var;
16928|      0|        if (
16929|      0|            (invalid_tstring_replacement_field_var = invalid_tstring_replacement_field_rule(p))  // invalid_tstring_replacement_field
  ------------------
  |  |  647|      0|#define invalid_tstring_replacement_field_rule _PyPegen_invalid_tstring_replacement_field_rule
  ------------------
  |  Branch (16929:13): [True: 0, False: 0]
  ------------------
16930|      0|        )
16931|      0|        {
16932|      0|            D(fprintf(stderr, "%*c+ tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_tstring_replacement_field"));
16933|      0|            _res = invalid_tstring_replacement_field_var;
16934|      0|            goto done;
16935|      0|        }
16936|      0|        p->mark = _mark;
16937|      0|        D(fprintf(stderr, "%*c%s tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
16938|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_tstring_replacement_field"));
16939|      0|    }
16940|      5|    _res = NULL;
16941|      9|  done:
16942|      9|    p->level--;
16943|      9|    return _res;
16944|      5|}
parser.c:tstring_full_format_spec_rule:
16788|      4|{
16789|      4|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (16789:9): [True: 0, False: 4]
  |  Branch (16789:35): [True: 0, False: 4]
  ------------------
16790|      0|        _Pypegen_stack_overflow(p);
16791|      0|    }
16792|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (16792:9): [True: 0, False: 4]
  ------------------
16793|      0|        p->level--;
16794|      0|        return NULL;
16795|      0|    }
16796|      4|    ResultTokenWithMetadata* _res = NULL;
16797|      4|    int _mark = p->mark;
16798|      4|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (16798:9): [True: 0, False: 4]
  |  Branch (16798:31): [True: 0, False: 0]
  ------------------
16799|      0|        p->error_indicator = 1;
16800|      0|        p->level--;
16801|      0|        return NULL;
16802|      0|    }
16803|      4|    int _start_lineno = p->tokens[_mark]->lineno;
16804|      4|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
16805|      4|    int _start_col_offset = p->tokens[_mark]->col_offset;
16806|      4|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
16807|      4|    { // ':' tstring_format_spec*
16808|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (16808:13): [True: 0, False: 4]
  ------------------
16809|      0|            p->level--;
16810|      0|            return NULL;
16811|      0|        }
16812|      4|        D(fprintf(stderr, "%*c> tstring_full_format_spec[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':' tstring_format_spec*"));
16813|      4|        Token * colon;
16814|      4|        asdl_seq * spec;
16815|      4|        if (
16816|      4|            (colon = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (16816:13): [True: 0, False: 4]
  ------------------
16817|      0|            &&
16818|      0|            (spec = _loop0_78_rule(p))  // tstring_format_spec*
  ------------------
  |  Branch (16818:13): [True: 0, False: 0]
  ------------------
16819|      4|        )
16820|      0|        {
16821|      0|            D(fprintf(stderr, "%*c+ tstring_full_format_spec[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':' tstring_format_spec*"));
16822|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
16823|      0|            if (_token == NULL) {
  ------------------
  |  Branch (16823:17): [True: 0, False: 0]
  ------------------
16824|      0|                p->level--;
16825|      0|                return NULL;
16826|      0|            }
16827|      0|            int _end_lineno = _token->end_lineno;
16828|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
16829|      0|            int _end_col_offset = _token->end_col_offset;
16830|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
16831|      0|            _res = _PyPegen_setup_full_format_spec ( p , colon , ( asdl_expr_seq* ) spec , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
16832|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16832:18): [True: 0, False: 0]
  |  Branch (16832:34): [True: 0, False: 0]
  |  Branch (16832:57): [True: 0, False: 0]
  ------------------
16833|      0|                p->error_indicator = 1;
16834|      0|                p->level--;
16835|      0|                return NULL;
16836|      0|            }
16837|      0|            goto done;
16838|      0|        }
16839|      4|        p->mark = _mark;
16840|      4|        D(fprintf(stderr, "%*c%s tstring_full_format_spec[%d-%d]: %s failed!\n", p->level, ' ',
16841|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':' tstring_format_spec*"));
16842|      4|    }
16843|      4|    _res = NULL;
16844|      4|  done:
16845|      4|    p->level--;
16846|      4|    return _res;
16847|      4|}
parser.c:_tmp_84_rule:
24597|    682|{
24598|    682|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.36k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24598:9): [True: 0, False: 682]
  |  Branch (24598:35): [True: 0, False: 682]
  ------------------
24599|      0|        _Pypegen_stack_overflow(p);
24600|      0|    }
24601|    682|    if (p->error_indicator) {
  ------------------
  |  Branch (24601:9): [True: 0, False: 682]
  ------------------
24602|      0|        p->level--;
24603|      0|        return NULL;
24604|      0|    }
24605|    682|    void * _res = NULL;
24606|    682|    int _mark = p->mark;
24607|    682|    { // display_item ',' display_items?
24608|    682|        if (p->error_indicator) {
  ------------------
  |  Branch (24608:13): [True: 0, False: 682]
  ------------------
24609|      0|            p->level--;
24610|      0|            return NULL;
24611|      0|        }
24612|    682|        D(fprintf(stderr, "%*c> _tmp_84[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "display_item ',' display_items?"));
24613|    682|        Token * _literal;
24614|    682|        expr_ty y;
24615|    682|        void *z;
24616|    682|        if (
24617|    682|            (y = display_item_rule(p))  // display_item
  ------------------
  |  Branch (24617:13): [True: 472, False: 210]
  ------------------
24618|    472|            &&
24619|    472|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (24619:13): [True: 4, False: 468]
  ------------------
24620|      4|            &&
24621|      4|            (z = display_items_rule(p), !p->error_indicator)  // display_items?
  ------------------
  |  Branch (24621:13): [True: 4, False: 0]
  ------------------
24622|    682|        )
24623|      4|        {
24624|      4|            D(fprintf(stderr, "%*c+ _tmp_84[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "display_item ',' display_items?"));
24625|      4|            _res = _PyPegen_seq_insert_in_front ( p , y , z );
24626|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24626:18): [True: 0, False: 4]
  |  Branch (24626:34): [True: 0, False: 4]
  |  Branch (24626:57): [True: 0, False: 0]
  ------------------
24627|      0|                p->error_indicator = 1;
24628|      0|                p->level--;
24629|      0|                return NULL;
24630|      0|            }
24631|      4|            goto done;
24632|      4|        }
24633|    678|        p->mark = _mark;
24634|    678|        D(fprintf(stderr, "%*c%s _tmp_84[%d-%d]: %s failed!\n", p->level, ' ',
24635|    678|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "display_item ',' display_items?"));
24636|    678|    }
24637|    678|    _res = NULL;
24638|    682|  done:
24639|    682|    p->level--;
24640|    682|    return _res;
24641|    678|}
parser.c:_loop1_87_rule:
24754|  1.48k|{
24755|  1.48k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.96k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24755:9): [True: 0, False: 1.48k]
  |  Branch (24755:35): [True: 0, False: 1.48k]
  ------------------
24756|      0|        _Pypegen_stack_overflow(p);
24757|      0|    }
24758|  1.48k|    if (p->error_indicator) {
  ------------------
  |  Branch (24758:9): [True: 0, False: 1.48k]
  ------------------
24759|      0|        p->level--;
24760|      0|        return NULL;
24761|      0|    }
24762|  1.48k|    void *_res = NULL;
24763|  1.48k|    int _mark = p->mark;
24764|  1.48k|    void **_children = NULL;
24765|  1.48k|    Py_ssize_t _children_capacity = 0;
24766|  1.48k|    Py_ssize_t _n = 0;
24767|  1.48k|    { // for_if_clause
24768|  1.48k|        if (p->error_indicator) {
  ------------------
  |  Branch (24768:13): [True: 0, False: 1.48k]
  ------------------
24769|      0|            p->level--;
24770|      0|            return NULL;
24771|      0|        }
24772|  1.48k|        D(fprintf(stderr, "%*c> _loop1_87[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "for_if_clause"));
24773|  1.48k|        comprehension_ty for_if_clause_var;
24774|  1.48k|        while (
24775|  1.48k|            (for_if_clause_var = for_if_clause_rule(p))  // for_if_clause
  ------------------
  |  Branch (24775:13): [True: 0, False: 1.48k]
  ------------------
24776|  1.48k|        )
24777|      0|        {
24778|      0|            _res = for_if_clause_var;
24779|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24779:17): [True: 0, False: 0]
  ------------------
24780|      0|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24780:21): [True: 0, False: 0]
  ------------------
24781|      0|                    p->error_indicator = 1;
24782|      0|                    PyErr_NoMemory();
24783|      0|                    PyMem_Free(_children);
24784|      0|                    p->level--;
24785|      0|                    return NULL;
24786|      0|                }
24787|      0|            }
24788|      0|            _children[_n++] = _res;
24789|      0|            _mark = p->mark;
24790|      0|        }
24791|  1.48k|        p->mark = _mark;
24792|  1.48k|        D(fprintf(stderr, "%*c%s _loop1_87[%d-%d]: %s failed!\n", p->level, ' ',
24793|  1.48k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "for_if_clause"));
24794|  1.48k|    }
24795|  1.48k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (24795:9): [True: 1.48k, False: 0]
  |  Branch (24795:20): [True: 0, False: 0]
  ------------------
24796|  1.48k|        PyMem_Free(_children);
24797|  1.48k|        p->level--;
24798|  1.48k|        return NULL;
24799|  1.48k|    }
24800|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
24801|      0|    if (!_seq) {
  ------------------
  |  Branch (24801:9): [True: 0, False: 0]
  ------------------
24802|      0|        p->error_indicator = 1;
24803|      0|        PyErr_NoMemory();
24804|      0|        PyMem_Free(_children);
24805|      0|        p->level--;
24806|      0|        return NULL;
24807|      0|    }
24808|      0|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24808:28): [True: 0, False: 0]
  ------------------
24809|      0|    PyMem_Free(_children);
24810|      0|    p->level--;
24811|      0|    return _seq;
24812|      0|}
parser.c:for_if_clause_rule:
17831|  1.48k|{
17832|  1.48k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.96k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17832:9): [True: 0, False: 1.48k]
  |  Branch (17832:35): [True: 0, False: 1.48k]
  ------------------
17833|      0|        _Pypegen_stack_overflow(p);
17834|      0|    }
17835|  1.48k|    if (p->error_indicator) {
  ------------------
  |  Branch (17835:9): [True: 0, False: 1.48k]
  ------------------
17836|      0|        p->level--;
17837|      0|        return NULL;
17838|      0|    }
17839|  1.48k|    comprehension_ty _res = NULL;
17840|  1.48k|    int _mark = p->mark;
17841|  1.48k|    { // 'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*
17842|  1.48k|        if (p->error_indicator) {
  ------------------
  |  Branch (17842:13): [True: 0, False: 1.48k]
  ------------------
17843|      0|            p->level--;
17844|      0|            return NULL;
17845|      0|        }
17846|  1.48k|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
17847|  1.48k|        int _cut_var = 0;
17848|  1.48k|        Token * _keyword;
17849|  1.48k|        Token * _keyword_1;
17850|  1.48k|        Token * _keyword_2;
17851|  1.48k|        expr_ty a;
17852|  1.48k|        expr_ty b;
17853|  1.48k|        asdl_expr_seq* c;
17854|  1.48k|        if (
17855|  1.48k|            (_keyword = _PyPegen_expect_token(p, 513))  // token='async'
  ------------------
  |  Branch (17855:13): [True: 0, False: 1.48k]
  ------------------
17856|      0|            &&
17857|      0|            (_keyword_1 = _PyPegen_expect_token(p, 517))  // token='for'
  ------------------
  |  Branch (17857:13): [True: 0, False: 0]
  ------------------
17858|      0|            &&
17859|      0|            (a = star_targets_rule(p))  // star_targets
  ------------------
  |  |  531|      0|#define star_targets_rule _PyPegen_star_targets_rule
  ------------------
  |  Branch (17859:13): [True: 0, False: 0]
  ------------------
17860|      0|            &&
17861|      0|            (_keyword_2 = _PyPegen_expect_token(p, 523))  // token='in'
  ------------------
  |  Branch (17861:13): [True: 0, False: 0]
  ------------------
17862|      0|            &&
17863|      0|            (_cut_var = 1)
  ------------------
  |  Branch (17863:13): [True: 0, False: 0]
  ------------------
17864|      0|            &&
17865|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  |  477|      0|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (17865:13): [True: 0, False: 0]
  ------------------
17866|      0|            &&
17867|      0|            (c = (asdl_expr_seq*)_loop0_88_rule(p))  // (('if' disjunction))*
  ------------------
  |  Branch (17867:13): [True: 0, False: 0]
  ------------------
17868|  1.48k|        )
17869|      0|        {
17870|      0|            D(fprintf(stderr, "%*c+ for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
17871|      0|            _res = CHECK_VERSION ( comprehension_ty , 6 , "Async comprehensions are" , _PyAST_comprehension ( a , b , c , 1 , p -> arena ) );
  ------------------
  |  |  354|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
17872|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17872:18): [True: 0, False: 0]
  |  Branch (17872:34): [True: 0, False: 0]
  |  Branch (17872:57): [True: 0, False: 0]
  ------------------
17873|      0|                p->error_indicator = 1;
17874|      0|                p->level--;
17875|      0|                return NULL;
17876|      0|            }
17877|      0|            goto done;
17878|      0|        }
17879|  1.48k|        p->mark = _mark;
17880|  1.48k|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
17881|  1.48k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
17882|  1.48k|        if (_cut_var) {
  ------------------
  |  Branch (17882:13): [True: 0, False: 1.48k]
  ------------------
17883|      0|            p->level--;
17884|      0|            return NULL;
17885|      0|        }
17886|  1.48k|    }
17887|  1.48k|    { // 'for' star_targets 'in' ~ disjunction (('if' disjunction))*
17888|  1.48k|        if (p->error_indicator) {
  ------------------
  |  Branch (17888:13): [True: 0, False: 1.48k]
  ------------------
17889|      0|            p->level--;
17890|      0|            return NULL;
17891|      0|        }
17892|  1.48k|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
17893|  1.48k|        int _cut_var = 0;
17894|  1.48k|        Token * _keyword;
17895|  1.48k|        Token * _keyword_1;
17896|  1.48k|        expr_ty a;
17897|  1.48k|        expr_ty b;
17898|  1.48k|        asdl_expr_seq* c;
17899|  1.48k|        if (
17900|  1.48k|            (_keyword = _PyPegen_expect_token(p, 517))  // token='for'
  ------------------
  |  Branch (17900:13): [True: 0, False: 1.48k]
  ------------------
17901|      0|            &&
17902|      0|            (a = star_targets_rule(p))  // star_targets
  ------------------
  |  |  531|      0|#define star_targets_rule _PyPegen_star_targets_rule
  ------------------
  |  Branch (17902:13): [True: 0, False: 0]
  ------------------
17903|      0|            &&
17904|      0|            (_keyword_1 = _PyPegen_expect_token(p, 523))  // token='in'
  ------------------
  |  Branch (17904:13): [True: 0, False: 0]
  ------------------
17905|      0|            &&
17906|      0|            (_cut_var = 1)
  ------------------
  |  Branch (17906:13): [True: 0, False: 0]
  ------------------
17907|      0|            &&
17908|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  |  477|      0|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (17908:13): [True: 0, False: 0]
  ------------------
17909|      0|            &&
17910|      0|            (c = (asdl_expr_seq*)_loop0_88_rule(p))  // (('if' disjunction))*
  ------------------
  |  Branch (17910:13): [True: 0, False: 0]
  ------------------
17911|  1.48k|        )
17912|      0|        {
17913|      0|            D(fprintf(stderr, "%*c+ for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
17914|      0|            _res = _PyAST_comprehension ( a , b , c , 0 , p -> arena );
17915|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17915:18): [True: 0, False: 0]
  |  Branch (17915:34): [True: 0, False: 0]
  |  Branch (17915:57): [True: 0, False: 0]
  ------------------
17916|      0|                p->error_indicator = 1;
17917|      0|                p->level--;
17918|      0|                return NULL;
17919|      0|            }
17920|      0|            goto done;
17921|      0|        }
17922|  1.48k|        p->mark = _mark;
17923|  1.48k|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
17924|  1.48k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
17925|  1.48k|        if (_cut_var) {
  ------------------
  |  Branch (17925:13): [True: 0, False: 1.48k]
  ------------------
17926|      0|            p->level--;
17927|      0|            return NULL;
17928|      0|        }
17929|  1.48k|    }
17930|  1.48k|    if (p->call_invalid_rules) { // invalid_for_if_clause
  ------------------
  |  Branch (17930:9): [True: 621, False: 863]
  ------------------
17931|    621|        if (p->error_indicator) {
  ------------------
  |  Branch (17931:13): [True: 0, False: 621]
  ------------------
17932|      0|            p->level--;
17933|      0|            return NULL;
17934|      0|        }
17935|    621|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_for_if_clause"));
17936|    621|        void *invalid_for_if_clause_var;
17937|    621|        if (
17938|    621|            (invalid_for_if_clause_var = invalid_for_if_clause_rule(p))  // invalid_for_if_clause
  ------------------
  |  |  581|    621|#define invalid_for_if_clause_rule _PyPegen_invalid_for_if_clause_rule
  ------------------
  |  Branch (17938:13): [True: 0, False: 621]
  ------------------
17939|    621|        )
17940|      0|        {
17941|      0|            D(fprintf(stderr, "%*c+ for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_for_if_clause"));
17942|      0|            _res = invalid_for_if_clause_var;
17943|      0|            goto done;
17944|      0|        }
17945|    621|        p->mark = _mark;
17946|    621|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
17947|    621|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_for_if_clause"));
17948|    621|    }
17949|  1.48k|    if (p->call_invalid_rules) { // invalid_for_target
  ------------------
  |  Branch (17949:9): [True: 621, False: 863]
  ------------------
17950|    621|        if (p->error_indicator) {
  ------------------
  |  Branch (17950:13): [True: 0, False: 621]
  ------------------
17951|      0|            p->level--;
17952|      0|            return NULL;
17953|      0|        }
17954|    621|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_for_target"));
17955|    621|        void *invalid_for_target_var;
17956|    621|        if (
17957|    621|            (invalid_for_target_var = invalid_for_target_rule(p))  // invalid_for_target
  ------------------
  |  |  583|    621|#define invalid_for_target_rule _PyPegen_invalid_for_target_rule
  ------------------
  |  Branch (17957:13): [True: 0, False: 621]
  ------------------
17958|    621|        )
17959|      0|        {
17960|      0|            D(fprintf(stderr, "%*c+ for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_for_target"));
17961|      0|            _res = invalid_for_target_var;
17962|      0|            goto done;
17963|      0|        }
17964|    621|        p->mark = _mark;
17965|    621|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
17966|    621|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_for_target"));
17967|    621|    }
17968|  1.48k|    _res = NULL;
17969|  1.48k|  done:
17970|  1.48k|    p->level--;
17971|  1.48k|    return _res;
17972|  1.48k|}
parser.c:_tmp_89_rule:
24875|  2.07k|{
24876|  2.07k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.14k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24876:9): [True: 0, False: 2.07k]
  |  Branch (24876:35): [True: 0, False: 2.07k]
  ------------------
24877|      0|        _Pypegen_stack_overflow(p);
24878|      0|    }
24879|  2.07k|    if (p->error_indicator) {
  ------------------
  |  Branch (24879:9): [True: 0, False: 2.07k]
  ------------------
24880|      0|        p->level--;
24881|      0|        return NULL;
24882|      0|    }
24883|  2.07k|    void * _res = NULL;
24884|  2.07k|    int _mark = p->mark;
24885|  2.07k|    { // assignment_expression
24886|  2.07k|        if (p->error_indicator) {
  ------------------
  |  Branch (24886:13): [True: 0, False: 2.07k]
  ------------------
24887|      0|            p->level--;
24888|      0|            return NULL;
24889|      0|        }
24890|  2.07k|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
24891|  2.07k|        expr_ty assignment_expression_var;
24892|  2.07k|        if (
24893|  2.07k|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  |  473|  2.07k|#define assignment_expression_rule _PyPegen_assignment_expression_rule
  ------------------
  |  Branch (24893:13): [True: 0, False: 2.07k]
  ------------------
24894|  2.07k|        )
24895|      0|        {
24896|      0|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
24897|      0|            _res = assignment_expression_var;
24898|      0|            goto done;
24899|      0|        }
24900|  2.07k|        p->mark = _mark;
24901|  2.07k|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
24902|  2.07k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
24903|  2.07k|    }
24904|      0|    { // expression !':='
24905|  2.07k|        if (p->error_indicator) {
  ------------------
  |  Branch (24905:13): [True: 3, False: 2.06k]
  ------------------
24906|      3|            p->level--;
24907|      3|            return NULL;
24908|      3|        }
24909|  2.06k|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
24910|  2.06k|        expr_ty expression_var;
24911|  2.06k|        if (
24912|  2.06k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  461|  2.06k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (24912:13): [True: 339, False: 1.73k]
  ------------------
24913|    339|            &&
24914|    339|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (24914:13): [True: 339, False: 0]
  ------------------
24915|  2.06k|        )
24916|    339|        {
24917|    339|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
24918|    339|            _res = expression_var;
24919|    339|            goto done;
24920|    339|        }
24921|  1.73k|        p->mark = _mark;
24922|  1.73k|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
24923|  1.73k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
24924|  1.73k|    }
24925|      0|    { // starred_expression
24926|  1.73k|        if (p->error_indicator) {
  ------------------
  |  Branch (24926:13): [True: 242, False: 1.48k]
  ------------------
24927|    242|            p->level--;
24928|    242|            return NULL;
24929|    242|        }
24930|  1.48k|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
24931|  1.48k|        expr_ty starred_expression_var;
24932|  1.48k|        if (
24933|  1.48k|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  |  529|  1.48k|#define starred_expression_rule _PyPegen_starred_expression_rule
  ------------------
  |  Branch (24933:13): [True: 834, False: 654]
  ------------------
24934|  1.48k|        )
24935|    834|        {
24936|    834|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
24937|    834|            _res = starred_expression_var;
24938|    834|            goto done;
24939|    834|        }
24940|    654|        p->mark = _mark;
24941|    654|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
24942|    654|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
24943|    654|    }
24944|    654|    _res = NULL;
24945|  1.82k|  done:
24946|  1.82k|    p->level--;
24947|  1.82k|    return _res;
24948|    654|}
parser.c:_gather_91_rule:
25021|  2.06k|{
25022|  2.06k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.13k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25022:9): [True: 0, False: 2.06k]
  |  Branch (25022:35): [True: 0, False: 2.06k]
  ------------------
25023|      0|        _Pypegen_stack_overflow(p);
25024|      0|    }
25025|  2.06k|    if (p->error_indicator) {
  ------------------
  |  Branch (25025:9): [True: 0, False: 2.06k]
  ------------------
25026|      0|        p->level--;
25027|      0|        return NULL;
25028|      0|    }
25029|  2.06k|    asdl_seq * _res = NULL;
25030|  2.06k|    int _mark = p->mark;
25031|  2.06k|    { // (starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90
25032|  2.06k|        if (p->error_indicator) {
  ------------------
  |  Branch (25032:13): [True: 0, False: 2.06k]
  ------------------
25033|      0|            p->level--;
25034|      0|            return NULL;
25035|      0|        }
25036|  2.06k|        D(fprintf(stderr, "%*c> _gather_91[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
25037|  2.06k|        void *elem;
25038|  2.06k|        asdl_seq * seq;
25039|  2.06k|        if (
25040|  2.06k|            (elem = _tmp_187_rule(p))  // starred_expression | (assignment_expression | expression !':=') !'='
  ------------------
  |  Branch (25040:13): [True: 1.56k, False: 504]
  ------------------
25041|  1.56k|            &&
25042|  1.56k|            (seq = _loop0_90_rule(p))  // _loop0_90
  ------------------
  |  Branch (25042:13): [True: 1.56k, False: 0]
  ------------------
25043|  2.06k|        )
25044|  1.56k|        {
25045|  1.56k|            D(fprintf(stderr, "%*c+ _gather_91[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
25046|  1.56k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
25047|  1.56k|            goto done;
25048|  1.56k|        }
25049|    504|        p->mark = _mark;
25050|    504|        D(fprintf(stderr, "%*c%s _gather_91[%d-%d]: %s failed!\n", p->level, ' ',
25051|    504|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
25052|    504|    }
25053|    504|    _res = NULL;
25054|  2.06k|  done:
25055|  2.06k|    p->level--;
25056|  2.06k|    return _res;
25057|    504|}
parser.c:_tmp_187_rule:
26251|  2.07k|{
26252|  2.07k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.15k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26252:9): [True: 0, False: 2.07k]
  |  Branch (26252:35): [True: 0, False: 2.07k]
  ------------------
26253|      0|        _Pypegen_stack_overflow(p);
26254|      0|    }
26255|  2.07k|    if (p->error_indicator) {
  ------------------
  |  Branch (26255:9): [True: 0, False: 2.07k]
  ------------------
26256|      0|        p->level--;
26257|      0|        return NULL;
26258|      0|    }
26259|  2.07k|    void * _res = NULL;
26260|  2.07k|    int _mark = p->mark;
26261|  2.07k|    { // starred_expression
26262|  2.07k|        if (p->error_indicator) {
  ------------------
  |  Branch (26262:13): [True: 0, False: 2.07k]
  ------------------
26263|      0|            p->level--;
26264|      0|            return NULL;
26265|      0|        }
26266|  2.07k|        D(fprintf(stderr, "%*c> _tmp_187[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
26267|  2.07k|        expr_ty starred_expression_var;
26268|  2.07k|        if (
26269|  2.07k|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  |  529|  2.07k|#define starred_expression_rule _PyPegen_starred_expression_rule
  ------------------
  |  Branch (26269:13): [True: 1.16k, False: 915]
  ------------------
26270|  2.07k|        )
26271|  1.16k|        {
26272|  1.16k|            D(fprintf(stderr, "%*c+ _tmp_187[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
26273|  1.16k|            _res = starred_expression_var;
26274|  1.16k|            goto done;
26275|  1.16k|        }
26276|    915|        p->mark = _mark;
26277|    915|        D(fprintf(stderr, "%*c%s _tmp_187[%d-%d]: %s failed!\n", p->level, ' ',
26278|    915|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
26279|    915|    }
26280|      0|    { // (assignment_expression | expression !':=') !'='
26281|    915|        if (p->error_indicator) {
  ------------------
  |  Branch (26281:13): [True: 0, False: 915]
  ------------------
26282|      0|            p->level--;
26283|      0|            return NULL;
26284|      0|        }
26285|    915|        D(fprintf(stderr, "%*c> _tmp_187[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
26286|    915|        void *_tmp_200_var;
26287|    915|        if (
26288|    915|            (_tmp_200_var = _tmp_200_rule(p))  // assignment_expression | expression !':='
  ------------------
  |  Branch (26288:13): [True: 408, False: 507]
  ------------------
26289|    408|            &&
26290|    408|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 22)  // token='='
  ------------------
  |  Branch (26290:13): [True: 408, False: 0]
  ------------------
26291|    915|        )
26292|    408|        {
26293|    408|            D(fprintf(stderr, "%*c+ _tmp_187[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
26294|    408|            _res = _tmp_200_var;
26295|    408|            goto done;
26296|    408|        }
26297|    507|        p->mark = _mark;
26298|    507|        D(fprintf(stderr, "%*c%s _tmp_187[%d-%d]: %s failed!\n", p->level, ' ',
26299|    507|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
26300|    507|    }
26301|    507|    _res = NULL;
26302|  2.07k|  done:
26303|  2.07k|    p->level--;
26304|  2.07k|    return _res;
26305|    507|}
parser.c:_tmp_200_rule:
26356|    915|{
26357|    915|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.83k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26357:9): [True: 0, False: 915]
  |  Branch (26357:35): [True: 0, False: 915]
  ------------------
26358|      0|        _Pypegen_stack_overflow(p);
26359|      0|    }
26360|    915|    if (p->error_indicator) {
  ------------------
  |  Branch (26360:9): [True: 0, False: 915]
  ------------------
26361|      0|        p->level--;
26362|      0|        return NULL;
26363|      0|    }
26364|    915|    void * _res = NULL;
26365|    915|    int _mark = p->mark;
26366|    915|    { // assignment_expression
26367|    915|        if (p->error_indicator) {
  ------------------
  |  Branch (26367:13): [True: 0, False: 915]
  ------------------
26368|      0|            p->level--;
26369|      0|            return NULL;
26370|      0|        }
26371|    915|        D(fprintf(stderr, "%*c> _tmp_200[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
26372|    915|        expr_ty assignment_expression_var;
26373|    915|        if (
26374|    915|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  |  473|    915|#define assignment_expression_rule _PyPegen_assignment_expression_rule
  ------------------
  |  Branch (26374:13): [True: 0, False: 915]
  ------------------
26375|    915|        )
26376|      0|        {
26377|      0|            D(fprintf(stderr, "%*c+ _tmp_200[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
26378|      0|            _res = assignment_expression_var;
26379|      0|            goto done;
26380|      0|        }
26381|    915|        p->mark = _mark;
26382|    915|        D(fprintf(stderr, "%*c%s _tmp_200[%d-%d]: %s failed!\n", p->level, ' ',
26383|    915|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
26384|    915|    }
26385|      0|    { // expression !':='
26386|    915|        if (p->error_indicator) {
  ------------------
  |  Branch (26386:13): [True: 0, False: 915]
  ------------------
26387|      0|            p->level--;
26388|      0|            return NULL;
26389|      0|        }
26390|    915|        D(fprintf(stderr, "%*c> _tmp_200[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
26391|    915|        expr_ty expression_var;
26392|    915|        if (
26393|    915|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  461|    915|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (26393:13): [True: 408, False: 507]
  ------------------
26394|    408|            &&
26395|    408|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (26395:13): [True: 408, False: 0]
  ------------------
26396|    915|        )
26397|    408|        {
26398|    408|            D(fprintf(stderr, "%*c+ _tmp_200[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
26399|    408|            _res = expression_var;
26400|    408|            goto done;
26401|    408|        }
26402|    507|        p->mark = _mark;
26403|    507|        D(fprintf(stderr, "%*c%s _tmp_200[%d-%d]: %s failed!\n", p->level, ' ',
26404|    507|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
26405|    507|    }
26406|    507|    _res = NULL;
26407|    915|  done:
26408|    915|    p->level--;
26409|    915|    return _res;
26410|    507|}
parser.c:_loop0_90_rule:
24953|  1.56k|{
24954|  1.56k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.13k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24954:9): [True: 0, False: 1.56k]
  |  Branch (24954:35): [True: 0, False: 1.56k]
  ------------------
24955|      0|        _Pypegen_stack_overflow(p);
24956|      0|    }
24957|  1.56k|    if (p->error_indicator) {
  ------------------
  |  Branch (24957:9): [True: 0, False: 1.56k]
  ------------------
24958|      0|        p->level--;
24959|      0|        return NULL;
24960|      0|    }
24961|  1.56k|    void *_res = NULL;
24962|  1.56k|    int _mark = p->mark;
24963|  1.56k|    void **_children = NULL;
24964|  1.56k|    Py_ssize_t _children_capacity = 0;
24965|  1.56k|    Py_ssize_t _n = 0;
24966|  1.56k|    { // ',' (starred_expression | (assignment_expression | expression !':=') !'=')
24967|  1.56k|        if (p->error_indicator) {
  ------------------
  |  Branch (24967:13): [True: 0, False: 1.56k]
  ------------------
24968|      0|            p->level--;
24969|      0|            return NULL;
24970|      0|        }
24971|  1.56k|        D(fprintf(stderr, "%*c> _loop0_90[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (starred_expression | (assignment_expression | expression !':=') !'=')"));
24972|  1.56k|        Token * _literal;
24973|  1.56k|        void *elem;
24974|  1.56k|        while (
24975|  1.57k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (24975:13): [True: 10, False: 1.56k]
  ------------------
24976|     10|            &&
24977|     10|            (elem = _tmp_187_rule(p))  // starred_expression | (assignment_expression | expression !':=') !'='
  ------------------
  |  Branch (24977:13): [True: 7, False: 3]
  ------------------
24978|  1.56k|        )
24979|      7|        {
24980|      7|            _res = elem;
24981|      7|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24981:18): [True: 0, False: 7]
  |  Branch (24981:34): [True: 0, False: 7]
  |  Branch (24981:57): [True: 0, False: 0]
  ------------------
24982|      0|                p->error_indicator = 1;
24983|      0|                PyMem_Free(_children);
24984|      0|                p->level--;
24985|      0|                return NULL;
24986|      0|            }
24987|      7|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24987:17): [True: 7, False: 0]
  ------------------
24988|      7|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24988:21): [True: 0, False: 7]
  ------------------
24989|      0|                    p->error_indicator = 1;
24990|      0|                    PyErr_NoMemory();
24991|      0|                    PyMem_Free(_children);
24992|      0|                    p->level--;
24993|      0|                    return NULL;
24994|      0|                }
24995|      7|            }
24996|      7|            _children[_n++] = _res;
24997|      7|            _mark = p->mark;
24998|      7|        }
24999|  1.56k|        p->mark = _mark;
25000|  1.56k|        D(fprintf(stderr, "%*c%s _loop0_90[%d-%d]: %s failed!\n", p->level, ' ',
25001|  1.56k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (starred_expression | (assignment_expression | expression !':=') !'=')"));
25002|  1.56k|    }
25003|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
25004|  1.56k|    if (!_seq) {
  ------------------
  |  Branch (25004:9): [True: 0, False: 1.56k]
  ------------------
25005|      0|        p->error_indicator = 1;
25006|      0|        PyErr_NoMemory();
25007|      0|        PyMem_Free(_children);
25008|      0|        p->level--;
25009|      0|        return NULL;
25010|      0|    }
25011|  1.57k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      7|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  1.57k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (25011:28): [True: 7, False: 1.56k]
  ------------------
25012|  1.56k|    PyMem_Free(_children);
25013|  1.56k|    p->level--;
25014|  1.56k|    return _seq;
25015|  1.56k|}
parser.c:_tmp_92_rule:
25062|  1.56k|{
25063|  1.56k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.13k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25063:9): [True: 0, False: 1.56k]
  |  Branch (25063:35): [True: 0, False: 1.56k]
  ------------------
25064|      0|        _Pypegen_stack_overflow(p);
25065|      0|    }
25066|  1.56k|    if (p->error_indicator) {
  ------------------
  |  Branch (25066:9): [True: 3, False: 1.56k]
  ------------------
25067|      3|        p->level--;
25068|      3|        return NULL;
25069|      3|    }
25070|  1.56k|    void * _res = NULL;
25071|  1.56k|    int _mark = p->mark;
25072|  1.56k|    { // ',' kwargs
25073|  1.56k|        if (p->error_indicator) {
  ------------------
  |  Branch (25073:13): [True: 0, False: 1.56k]
  ------------------
25074|      0|            p->level--;
25075|      0|            return NULL;
25076|      0|        }
25077|  1.56k|        D(fprintf(stderr, "%*c> _tmp_92[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' kwargs"));
25078|  1.56k|        Token * _literal;
25079|  1.56k|        asdl_seq* k;
25080|  1.56k|        if (
25081|  1.56k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (25081:13): [True: 0, False: 1.56k]
  ------------------
25082|      0|            &&
25083|      0|            (k = kwargs_rule(p))  // kwargs
  ------------------
  |  |  527|      0|#define kwargs_rule _PyPegen_kwargs_rule
  ------------------
  |  Branch (25083:13): [True: 0, False: 0]
  ------------------
25084|  1.56k|        )
25085|      0|        {
25086|      0|            D(fprintf(stderr, "%*c+ _tmp_92[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' kwargs"));
25087|      0|            _res = k;
25088|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25088:18): [True: 0, False: 0]
  |  Branch (25088:34): [True: 0, False: 0]
  |  Branch (25088:57): [True: 0, False: 0]
  ------------------
25089|      0|                p->error_indicator = 1;
25090|      0|                p->level--;
25091|      0|                return NULL;
25092|      0|            }
25093|      0|            goto done;
25094|      0|        }
25095|  1.56k|        p->mark = _mark;
25096|  1.56k|        D(fprintf(stderr, "%*c%s _tmp_92[%d-%d]: %s failed!\n", p->level, ' ',
25097|  1.56k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' kwargs"));
25098|  1.56k|    }
25099|  1.56k|    _res = NULL;
25100|  1.56k|  done:
25101|  1.56k|    p->level--;
25102|  1.56k|    return _res;
25103|  1.56k|}
parser.c:_gather_94_rule:
25175|    792|{
25176|    792|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.58k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25176:9): [True: 0, False: 792]
  |  Branch (25176:35): [True: 0, False: 792]
  ------------------
25177|      0|        _Pypegen_stack_overflow(p);
25178|      0|    }
25179|    792|    if (p->error_indicator) {
  ------------------
  |  Branch (25179:9): [True: 0, False: 792]
  ------------------
25180|      0|        p->level--;
25181|      0|        return NULL;
25182|      0|    }
25183|    792|    asdl_seq * _res = NULL;
25184|    792|    int _mark = p->mark;
25185|    792|    { // kwarg_or_starred _loop0_93
25186|    792|        if (p->error_indicator) {
  ------------------
  |  Branch (25186:13): [True: 0, False: 792]
  ------------------
25187|      0|            p->level--;
25188|      0|            return NULL;
25189|      0|        }
25190|    792|        D(fprintf(stderr, "%*c> _gather_94[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwarg_or_starred _loop0_93"));
25191|    792|        KeywordOrStarred* elem;
25192|    792|        asdl_seq * seq;
25193|    792|        if (
25194|    792|            (elem = kwarg_or_starred_rule(p))  // kwarg_or_starred
  ------------------
  |  Branch (25194:13): [True: 162, False: 630]
  ------------------
25195|    162|            &&
25196|    162|            (seq = _loop0_93_rule(p))  // _loop0_93
  ------------------
  |  Branch (25196:13): [True: 162, False: 0]
  ------------------
25197|    792|        )
25198|    162|        {
25199|    162|            D(fprintf(stderr, "%*c+ _gather_94[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwarg_or_starred _loop0_93"));
25200|    162|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
25201|    162|            goto done;
25202|    162|        }
25203|    630|        p->mark = _mark;
25204|    630|        D(fprintf(stderr, "%*c%s _gather_94[%d-%d]: %s failed!\n", p->level, ' ',
25205|    630|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwarg_or_starred _loop0_93"));
25206|    630|    }
25207|    630|    _res = NULL;
25208|    792|  done:
25209|    792|    p->level--;
25210|    792|    return _res;
25211|    630|}
parser.c:kwarg_or_starred_rule:
18705|    792|{
18706|    792|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.58k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18706:9): [True: 0, False: 792]
  |  Branch (18706:35): [True: 0, False: 792]
  ------------------
18707|      0|        _Pypegen_stack_overflow(p);
18708|      0|    }
18709|    792|    if (p->error_indicator) {
  ------------------
  |  Branch (18709:9): [True: 0, False: 792]
  ------------------
18710|      0|        p->level--;
18711|      0|        return NULL;
18712|      0|    }
18713|    792|    KeywordOrStarred* _res = NULL;
18714|    792|    int _mark = p->mark;
18715|    792|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18715:9): [True: 0, False: 792]
  |  Branch (18715:31): [True: 0, False: 0]
  ------------------
18716|      0|        p->error_indicator = 1;
18717|      0|        p->level--;
18718|      0|        return NULL;
18719|      0|    }
18720|    792|    int _start_lineno = p->tokens[_mark]->lineno;
18721|    792|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    792|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 792]
  |  |  ------------------
  ------------------
18722|    792|    int _start_col_offset = p->tokens[_mark]->col_offset;
18723|    792|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    792|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 792]
  |  |  ------------------
  ------------------
18724|    792|    if (p->call_invalid_rules) { // invalid_kwarg
  ------------------
  |  Branch (18724:9): [True: 648, False: 144]
  ------------------
18725|    648|        if (p->error_indicator) {
  ------------------
  |  Branch (18725:13): [True: 0, False: 648]
  ------------------
18726|      0|            p->level--;
18727|      0|            return NULL;
18728|      0|        }
18729|    648|        D(fprintf(stderr, "%*c> kwarg_or_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kwarg"));
18730|    648|        void *invalid_kwarg_var;
18731|    648|        if (
18732|    648|            (invalid_kwarg_var = invalid_kwarg_rule(p))  // invalid_kwarg
  ------------------
  |  |  539|    648|#define invalid_kwarg_rule _PyPegen_invalid_kwarg_rule
  ------------------
  |  Branch (18732:13): [True: 0, False: 648]
  ------------------
18733|    648|        )
18734|      0|        {
18735|      0|            D(fprintf(stderr, "%*c+ kwarg_or_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kwarg"));
18736|      0|            _res = invalid_kwarg_var;
18737|      0|            goto done;
18738|      0|        }
18739|    648|        p->mark = _mark;
18740|    648|        D(fprintf(stderr, "%*c%s kwarg_or_starred[%d-%d]: %s failed!\n", p->level, ' ',
18741|    648|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kwarg"));
18742|    648|    }
18743|    792|    { // NAME '=' expression
18744|    792|        if (p->error_indicator) {
  ------------------
  |  Branch (18744:13): [True: 0, False: 792]
  ------------------
18745|      0|            p->level--;
18746|      0|            return NULL;
18747|      0|        }
18748|    792|        D(fprintf(stderr, "%*c> kwarg_or_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
18749|    792|        Token * _literal;
18750|    792|        expr_ty a;
18751|    792|        expr_ty b;
18752|    792|        if (
18753|    792|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (18753:13): [True: 54, False: 738]
  ------------------
18754|     54|            &&
18755|     54|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (18755:13): [True: 0, False: 54]
  ------------------
18756|      0|            &&
18757|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  |  461|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (18757:13): [True: 0, False: 0]
  ------------------
18758|    792|        )
18759|      0|        {
18760|      0|            D(fprintf(stderr, "%*c+ kwarg_or_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
18761|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18762|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18762:17): [True: 0, False: 0]
  ------------------
18763|      0|                p->level--;
18764|      0|                return NULL;
18765|      0|            }
18766|      0|            int _end_lineno = _token->end_lineno;
18767|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18768|      0|            int _end_col_offset = _token->end_col_offset;
18769|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18770|      0|            _res = _PyPegen_keyword_or_starred ( p , CHECK ( keyword_ty , _PyAST_keyword ( a -> v . Name . id , b , EXTRA ) ) , 1 );
  ------------------
  |  |  280|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
18771|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18771:18): [True: 0, False: 0]
  |  Branch (18771:34): [True: 0, False: 0]
  |  Branch (18771:57): [True: 0, False: 0]
  ------------------
18772|      0|                p->error_indicator = 1;
18773|      0|                p->level--;
18774|      0|                return NULL;
18775|      0|            }
18776|      0|            goto done;
18777|      0|        }
18778|    792|        p->mark = _mark;
18779|    792|        D(fprintf(stderr, "%*c%s kwarg_or_starred[%d-%d]: %s failed!\n", p->level, ' ',
18780|    792|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' expression"));
18781|    792|    }
18782|      0|    { // starred_expression
18783|    792|        if (p->error_indicator) {
  ------------------
  |  Branch (18783:13): [True: 0, False: 792]
  ------------------
18784|      0|            p->level--;
18785|      0|            return NULL;
18786|      0|        }
18787|    792|        D(fprintf(stderr, "%*c> kwarg_or_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
18788|    792|        expr_ty a;
18789|    792|        if (
18790|    792|            (a = starred_expression_rule(p))  // starred_expression
  ------------------
  |  |  529|    792|#define starred_expression_rule _PyPegen_starred_expression_rule
  ------------------
  |  Branch (18790:13): [True: 162, False: 630]
  ------------------
18791|    792|        )
18792|    162|        {
18793|    162|            D(fprintf(stderr, "%*c+ kwarg_or_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
18794|    162|            _res = _PyPegen_keyword_or_starred ( p , a , 0 );
18795|    162|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18795:18): [True: 0, False: 162]
  |  Branch (18795:34): [True: 0, False: 162]
  |  Branch (18795:57): [True: 0, False: 0]
  ------------------
18796|      0|                p->error_indicator = 1;
18797|      0|                p->level--;
18798|      0|                return NULL;
18799|      0|            }
18800|    162|            goto done;
18801|    162|        }
18802|    630|        p->mark = _mark;
18803|    630|        D(fprintf(stderr, "%*c%s kwarg_or_starred[%d-%d]: %s failed!\n", p->level, ' ',
18804|    630|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
18805|    630|    }
18806|    630|    _res = NULL;
18807|    792|  done:
18808|    792|    p->level--;
18809|    792|    return _res;
18810|    630|}
parser.c:_loop0_93_rule:
25108|    162|{
25109|    162|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    324|#  define MAXSTACK 6000
  ------------------
  |  Branch (25109:9): [True: 0, False: 162]
  |  Branch (25109:35): [True: 0, False: 162]
  ------------------
25110|      0|        _Pypegen_stack_overflow(p);
25111|      0|    }
25112|    162|    if (p->error_indicator) {
  ------------------
  |  Branch (25112:9): [True: 0, False: 162]
  ------------------
25113|      0|        p->level--;
25114|      0|        return NULL;
25115|      0|    }
25116|    162|    void *_res = NULL;
25117|    162|    int _mark = p->mark;
25118|    162|    void **_children = NULL;
25119|    162|    Py_ssize_t _children_capacity = 0;
25120|    162|    Py_ssize_t _n = 0;
25121|    162|    { // ',' kwarg_or_starred
25122|    162|        if (p->error_indicator) {
  ------------------
  |  Branch (25122:13): [True: 0, False: 162]
  ------------------
25123|      0|            p->level--;
25124|      0|            return NULL;
25125|      0|        }
25126|    162|        D(fprintf(stderr, "%*c> _loop0_93[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' kwarg_or_starred"));
25127|    162|        Token * _literal;
25128|    162|        KeywordOrStarred* elem;
25129|    162|        while (
25130|    162|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (25130:13): [True: 0, False: 162]
  ------------------
25131|      0|            &&
25132|      0|            (elem = kwarg_or_starred_rule(p))  // kwarg_or_starred
  ------------------
  |  Branch (25132:13): [True: 0, False: 0]
  ------------------
25133|    162|        )
25134|      0|        {
25135|      0|            _res = elem;
25136|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25136:18): [True: 0, False: 0]
  |  Branch (25136:34): [True: 0, False: 0]
  |  Branch (25136:57): [True: 0, False: 0]
  ------------------
25137|      0|                p->error_indicator = 1;
25138|      0|                PyMem_Free(_children);
25139|      0|                p->level--;
25140|      0|                return NULL;
25141|      0|            }
25142|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (25142:17): [True: 0, False: 0]
  ------------------
25143|      0|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (25143:21): [True: 0, False: 0]
  ------------------
25144|      0|                    p->error_indicator = 1;
25145|      0|                    PyErr_NoMemory();
25146|      0|                    PyMem_Free(_children);
25147|      0|                    p->level--;
25148|      0|                    return NULL;
25149|      0|                }
25150|      0|            }
25151|      0|            _children[_n++] = _res;
25152|      0|            _mark = p->mark;
25153|      0|        }
25154|    162|        p->mark = _mark;
25155|    162|        D(fprintf(stderr, "%*c%s _loop0_93[%d-%d]: %s failed!\n", p->level, ' ',
25156|    162|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' kwarg_or_starred"));
25157|    162|    }
25158|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
25159|    162|    if (!_seq) {
  ------------------
  |  Branch (25159:9): [True: 0, False: 162]
  ------------------
25160|      0|        p->error_indicator = 1;
25161|      0|        PyErr_NoMemory();
25162|      0|        PyMem_Free(_children);
25163|      0|        p->level--;
25164|      0|        return NULL;
25165|      0|    }
25166|    162|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|    162|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (25166:28): [True: 0, False: 162]
  ------------------
25167|    162|    PyMem_Free(_children);
25168|    162|    p->level--;
25169|    162|    return _seq;
25170|    162|}
parser.c:_tmp_95_rule:
25216|    162|{
25217|    162|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    324|#  define MAXSTACK 6000
  ------------------
  |  Branch (25217:9): [True: 0, False: 162]
  |  Branch (25217:35): [True: 0, False: 162]
  ------------------
25218|      0|        _Pypegen_stack_overflow(p);
25219|      0|    }
25220|    162|    if (p->error_indicator) {
  ------------------
  |  Branch (25220:9): [True: 0, False: 162]
  ------------------
25221|      0|        p->level--;
25222|      0|        return NULL;
25223|      0|    }
25224|    162|    void * _res = NULL;
25225|    162|    int _mark = p->mark;
25226|    162|    { // ',' ','.kwarg_or_double_starred+
25227|    162|        if (p->error_indicator) {
  ------------------
  |  Branch (25227:13): [True: 0, False: 162]
  ------------------
25228|      0|            p->level--;
25229|      0|            return NULL;
25230|      0|        }
25231|    162|        D(fprintf(stderr, "%*c> _tmp_95[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' ','.kwarg_or_double_starred+"));
25232|    162|        Token * _literal;
25233|    162|        asdl_seq * c;
25234|    162|        if (
25235|    162|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (25235:13): [True: 0, False: 162]
  ------------------
25236|      0|            &&
25237|      0|            (c = _gather_97_rule(p))  // ','.kwarg_or_double_starred+
  ------------------
  |  Branch (25237:13): [True: 0, False: 0]
  ------------------
25238|    162|        )
25239|      0|        {
25240|      0|            D(fprintf(stderr, "%*c+ _tmp_95[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' ','.kwarg_or_double_starred+"));
25241|      0|            _res = c;
25242|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25242:18): [True: 0, False: 0]
  |  Branch (25242:34): [True: 0, False: 0]
  |  Branch (25242:57): [True: 0, False: 0]
  ------------------
25243|      0|                p->error_indicator = 1;
25244|      0|                p->level--;
25245|      0|                return NULL;
25246|      0|            }
25247|      0|            goto done;
25248|      0|        }
25249|    162|        p->mark = _mark;
25250|    162|        D(fprintf(stderr, "%*c%s _tmp_95[%d-%d]: %s failed!\n", p->level, ' ',
25251|    162|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' ','.kwarg_or_double_starred+"));
25252|    162|    }
25253|    162|    _res = NULL;
25254|    162|  done:
25255|    162|    p->level--;
25256|    162|    return _res;
25257|    162|}
parser.c:_gather_97_rule:
25329|    630|{
25330|    630|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.26k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25330:9): [True: 0, False: 630]
  |  Branch (25330:35): [True: 0, False: 630]
  ------------------
25331|      0|        _Pypegen_stack_overflow(p);
25332|      0|    }
25333|    630|    if (p->error_indicator) {
  ------------------
  |  Branch (25333:9): [True: 0, False: 630]
  ------------------
25334|      0|        p->level--;
25335|      0|        return NULL;
25336|      0|    }
25337|    630|    asdl_seq * _res = NULL;
25338|    630|    int _mark = p->mark;
25339|    630|    { // kwarg_or_double_starred _loop0_96
25340|    630|        if (p->error_indicator) {
  ------------------
  |  Branch (25340:13): [True: 0, False: 630]
  ------------------
25341|      0|            p->level--;
25342|      0|            return NULL;
25343|      0|        }
25344|    630|        D(fprintf(stderr, "%*c> _gather_97[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwarg_or_double_starred _loop0_96"));
25345|    630|        KeywordOrStarred* elem;
25346|    630|        asdl_seq * seq;
25347|    630|        if (
25348|    630|            (elem = kwarg_or_double_starred_rule(p))  // kwarg_or_double_starred
  ------------------
  |  Branch (25348:13): [True: 42, False: 588]
  ------------------
25349|     42|            &&
25350|     42|            (seq = _loop0_96_rule(p))  // _loop0_96
  ------------------
  |  Branch (25350:13): [True: 42, False: 0]
  ------------------
25351|    630|        )
25352|     42|        {
25353|     42|            D(fprintf(stderr, "%*c+ _gather_97[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwarg_or_double_starred _loop0_96"));
25354|     42|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
25355|     42|            goto done;
25356|     42|        }
25357|    588|        p->mark = _mark;
25358|    588|        D(fprintf(stderr, "%*c%s _gather_97[%d-%d]: %s failed!\n", p->level, ' ',
25359|    588|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwarg_or_double_starred _loop0_96"));
25360|    588|    }
25361|    588|    _res = NULL;
25362|    630|  done:
25363|    630|    p->level--;
25364|    630|    return _res;
25365|    588|}
parser.c:kwarg_or_double_starred_rule:
18815|    630|{
18816|    630|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.26k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18816:9): [True: 0, False: 630]
  |  Branch (18816:35): [True: 0, False: 630]
  ------------------
18817|      0|        _Pypegen_stack_overflow(p);
18818|      0|    }
18819|    630|    if (p->error_indicator) {
  ------------------
  |  Branch (18819:9): [True: 0, False: 630]
  ------------------
18820|      0|        p->level--;
18821|      0|        return NULL;
18822|      0|    }
18823|    630|    KeywordOrStarred* _res = NULL;
18824|    630|    int _mark = p->mark;
18825|    630|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18825:9): [True: 0, False: 630]
  |  Branch (18825:31): [True: 0, False: 0]
  ------------------
18826|      0|        p->error_indicator = 1;
18827|      0|        p->level--;
18828|      0|        return NULL;
18829|      0|    }
18830|    630|    int _start_lineno = p->tokens[_mark]->lineno;
18831|    630|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    630|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 630]
  |  |  ------------------
  ------------------
18832|    630|    int _start_col_offset = p->tokens[_mark]->col_offset;
18833|    630|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    630|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 630]
  |  |  ------------------
  ------------------
18834|    630|    if (p->call_invalid_rules) { // invalid_kwarg
  ------------------
  |  Branch (18834:9): [True: 486, False: 144]
  ------------------
18835|    486|        if (p->error_indicator) {
  ------------------
  |  Branch (18835:13): [True: 0, False: 486]
  ------------------
18836|      0|            p->level--;
18837|      0|            return NULL;
18838|      0|        }
18839|    486|        D(fprintf(stderr, "%*c> kwarg_or_double_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kwarg"));
18840|    486|        void *invalid_kwarg_var;
18841|    486|        if (
18842|    486|            (invalid_kwarg_var = invalid_kwarg_rule(p))  // invalid_kwarg
  ------------------
  |  |  539|    486|#define invalid_kwarg_rule _PyPegen_invalid_kwarg_rule
  ------------------
  |  Branch (18842:13): [True: 0, False: 486]
  ------------------
18843|    486|        )
18844|      0|        {
18845|      0|            D(fprintf(stderr, "%*c+ kwarg_or_double_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kwarg"));
18846|      0|            _res = invalid_kwarg_var;
18847|      0|            goto done;
18848|      0|        }
18849|    486|        p->mark = _mark;
18850|    486|        D(fprintf(stderr, "%*c%s kwarg_or_double_starred[%d-%d]: %s failed!\n", p->level, ' ',
18851|    486|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kwarg"));
18852|    486|    }
18853|    630|    { // NAME '=' expression
18854|    630|        if (p->error_indicator) {
  ------------------
  |  Branch (18854:13): [True: 0, False: 630]
  ------------------
18855|      0|            p->level--;
18856|      0|            return NULL;
18857|      0|        }
18858|    630|        D(fprintf(stderr, "%*c> kwarg_or_double_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
18859|    630|        Token * _literal;
18860|    630|        expr_ty a;
18861|    630|        expr_ty b;
18862|    630|        if (
18863|    630|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (18863:13): [True: 54, False: 576]
  ------------------
18864|     54|            &&
18865|     54|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (18865:13): [True: 0, False: 54]
  ------------------
18866|      0|            &&
18867|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  |  461|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (18867:13): [True: 0, False: 0]
  ------------------
18868|    630|        )
18869|      0|        {
18870|      0|            D(fprintf(stderr, "%*c+ kwarg_or_double_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
18871|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18872|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18872:17): [True: 0, False: 0]
  ------------------
18873|      0|                p->level--;
18874|      0|                return NULL;
18875|      0|            }
18876|      0|            int _end_lineno = _token->end_lineno;
18877|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18878|      0|            int _end_col_offset = _token->end_col_offset;
18879|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18880|      0|            _res = _PyPegen_keyword_or_starred ( p , CHECK ( keyword_ty , _PyAST_keyword ( a -> v . Name . id , b , EXTRA ) ) , 1 );
  ------------------
  |  |  280|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
18881|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18881:18): [True: 0, False: 0]
  |  Branch (18881:34): [True: 0, False: 0]
  |  Branch (18881:57): [True: 0, False: 0]
  ------------------
18882|      0|                p->error_indicator = 1;
18883|      0|                p->level--;
18884|      0|                return NULL;
18885|      0|            }
18886|      0|            goto done;
18887|      0|        }
18888|    630|        p->mark = _mark;
18889|    630|        D(fprintf(stderr, "%*c%s kwarg_or_double_starred[%d-%d]: %s failed!\n", p->level, ' ',
18890|    630|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' expression"));
18891|    630|    }
18892|      0|    { // '**' expression
18893|    630|        if (p->error_indicator) {
  ------------------
  |  Branch (18893:13): [True: 0, False: 630]
  ------------------
18894|      0|            p->level--;
18895|      0|            return NULL;
18896|      0|        }
18897|    630|        D(fprintf(stderr, "%*c> kwarg_or_double_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' expression"));
18898|    630|        Token * _literal;
18899|    630|        expr_ty a;
18900|    630|        if (
18901|    630|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (18901:13): [True: 42, False: 588]
  ------------------
18902|     42|            &&
18903|     42|            (a = expression_rule(p))  // expression
  ------------------
  |  |  461|     42|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (18903:13): [True: 42, False: 0]
  ------------------
18904|    630|        )
18905|     42|        {
18906|     42|            D(fprintf(stderr, "%*c+ kwarg_or_double_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' expression"));
18907|     42|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18908|     42|            if (_token == NULL) {
  ------------------
  |  Branch (18908:17): [True: 0, False: 42]
  ------------------
18909|      0|                p->level--;
18910|      0|                return NULL;
18911|      0|            }
18912|     42|            int _end_lineno = _token->end_lineno;
18913|     42|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|     42|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 42]
  |  |  ------------------
  ------------------
18914|     42|            int _end_col_offset = _token->end_col_offset;
18915|     42|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|     42|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 42]
  |  |  ------------------
  ------------------
18916|     42|            _res = _PyPegen_keyword_or_starred ( p , CHECK ( keyword_ty , _PyAST_keyword ( NULL , a , EXTRA ) ) , 1 );
  ------------------
  |  |  280|     42|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
18917|     42|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18917:18): [True: 0, False: 42]
  |  Branch (18917:34): [True: 0, False: 42]
  |  Branch (18917:57): [True: 0, False: 0]
  ------------------
18918|      0|                p->error_indicator = 1;
18919|      0|                p->level--;
18920|      0|                return NULL;
18921|      0|            }
18922|     42|            goto done;
18923|     42|        }
18924|    588|        p->mark = _mark;
18925|    588|        D(fprintf(stderr, "%*c%s kwarg_or_double_starred[%d-%d]: %s failed!\n", p->level, ' ',
18926|    588|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' expression"));
18927|    588|    }
18928|    588|    _res = NULL;
18929|    630|  done:
18930|    630|    p->level--;
18931|    630|    return _res;
18932|    588|}
parser.c:_loop0_96_rule:
25262|     42|{
25263|     42|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     84|#  define MAXSTACK 6000
  ------------------
  |  Branch (25263:9): [True: 0, False: 42]
  |  Branch (25263:35): [True: 0, False: 42]
  ------------------
25264|      0|        _Pypegen_stack_overflow(p);
25265|      0|    }
25266|     42|    if (p->error_indicator) {
  ------------------
  |  Branch (25266:9): [True: 0, False: 42]
  ------------------
25267|      0|        p->level--;
25268|      0|        return NULL;
25269|      0|    }
25270|     42|    void *_res = NULL;
25271|     42|    int _mark = p->mark;
25272|     42|    void **_children = NULL;
25273|     42|    Py_ssize_t _children_capacity = 0;
25274|     42|    Py_ssize_t _n = 0;
25275|     42|    { // ',' kwarg_or_double_starred
25276|     42|        if (p->error_indicator) {
  ------------------
  |  Branch (25276:13): [True: 0, False: 42]
  ------------------
25277|      0|            p->level--;
25278|      0|            return NULL;
25279|      0|        }
25280|     42|        D(fprintf(stderr, "%*c> _loop0_96[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' kwarg_or_double_starred"));
25281|     42|        Token * _literal;
25282|     42|        KeywordOrStarred* elem;
25283|     42|        while (
25284|     42|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (25284:13): [True: 0, False: 42]
  ------------------
25285|      0|            &&
25286|      0|            (elem = kwarg_or_double_starred_rule(p))  // kwarg_or_double_starred
  ------------------
  |  Branch (25286:13): [True: 0, False: 0]
  ------------------
25287|     42|        )
25288|      0|        {
25289|      0|            _res = elem;
25290|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25290:18): [True: 0, False: 0]
  |  Branch (25290:34): [True: 0, False: 0]
  |  Branch (25290:57): [True: 0, False: 0]
  ------------------
25291|      0|                p->error_indicator = 1;
25292|      0|                PyMem_Free(_children);
25293|      0|                p->level--;
25294|      0|                return NULL;
25295|      0|            }
25296|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (25296:17): [True: 0, False: 0]
  ------------------
25297|      0|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (25297:21): [True: 0, False: 0]
  ------------------
25298|      0|                    p->error_indicator = 1;
25299|      0|                    PyErr_NoMemory();
25300|      0|                    PyMem_Free(_children);
25301|      0|                    p->level--;
25302|      0|                    return NULL;
25303|      0|                }
25304|      0|            }
25305|      0|            _children[_n++] = _res;
25306|      0|            _mark = p->mark;
25307|      0|        }
25308|     42|        p->mark = _mark;
25309|     42|        D(fprintf(stderr, "%*c%s _loop0_96[%d-%d]: %s failed!\n", p->level, ' ',
25310|     42|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' kwarg_or_double_starred"));
25311|     42|    }
25312|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
25313|     42|    if (!_seq) {
  ------------------
  |  Branch (25313:9): [True: 0, False: 42]
  ------------------
25314|      0|        p->error_indicator = 1;
25315|      0|        PyErr_NoMemory();
25316|      0|        PyMem_Free(_children);
25317|      0|        p->level--;
25318|      0|        return NULL;
25319|      0|    }
25320|     42|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|     42|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (25320:28): [True: 0, False: 42]
  ------------------
25321|     42|    PyMem_Free(_children);
25322|     42|    p->level--;
25323|     42|    return _seq;
25324|     42|}
parser.c:eval_rule:
 1000|     59|{
 1001|     59|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    118|#  define MAXSTACK 6000
  ------------------
  |  Branch (1001:9): [True: 0, False: 59]
  |  Branch (1001:35): [True: 0, False: 59]
  ------------------
 1002|      0|        _Pypegen_stack_overflow(p);
 1003|      0|    }
 1004|     59|    if (p->error_indicator) {
  ------------------
  |  Branch (1004:9): [True: 8, False: 51]
  ------------------
 1005|      8|        p->level--;
 1006|      8|        return NULL;
 1007|      8|    }
 1008|     51|    mod_ty _res = NULL;
 1009|     51|    int _mark = p->mark;
 1010|     51|    { // expressions NEWLINE* $
 1011|     51|        if (p->error_indicator) {
  ------------------
  |  Branch (1011:13): [True: 0, False: 51]
  ------------------
 1012|      0|            p->level--;
 1013|      0|            return NULL;
 1014|      0|        }
 1015|     51|        D(fprintf(stderr, "%*c> eval[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expressions NEWLINE* $"));
 1016|     51|        asdl_seq * _loop0_1_var;
 1017|     51|        expr_ty a;
 1018|     51|        Token * endmarker_var;
 1019|     51|        if (
 1020|     51|            (a = expressions_rule(p))  // expressions
  ------------------
  |  |  459|     51|#define expressions_rule _PyPegen_expressions_rule
  ------------------
  |  Branch (1020:13): [True: 20, False: 31]
  ------------------
 1021|     20|            &&
 1022|     20|            (_loop0_1_var = _loop0_1_rule(p))  // NEWLINE*
  ------------------
  |  Branch (1022:13): [True: 20, False: 0]
  ------------------
 1023|     20|            &&
 1024|     20|            (endmarker_var = _PyPegen_expect_token(p, ENDMARKER))  // token='ENDMARKER'
  ------------------
  |  |   16|     20|#define ENDMARKER       0
  ------------------
  |  Branch (1024:13): [True: 11, False: 9]
  ------------------
 1025|     51|        )
 1026|     11|        {
 1027|     11|            D(fprintf(stderr, "%*c+ eval[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expressions NEWLINE* $"));
 1028|     11|            _res = _PyAST_Expression ( a , p -> arena );
 1029|     11|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1029:18): [True: 0, False: 11]
  |  Branch (1029:34): [True: 0, False: 11]
  |  Branch (1029:57): [True: 0, False: 0]
  ------------------
 1030|      0|                p->error_indicator = 1;
 1031|      0|                p->level--;
 1032|      0|                return NULL;
 1033|      0|            }
 1034|     11|            goto done;
 1035|     11|        }
 1036|     40|        p->mark = _mark;
 1037|     40|        D(fprintf(stderr, "%*c%s eval[%d-%d]: %s failed!\n", p->level, ' ',
 1038|     40|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expressions NEWLINE* $"));
 1039|     40|    }
 1040|     40|    _res = NULL;
 1041|     51|  done:
 1042|     51|    p->level--;
 1043|     51|    return _res;
 1044|     40|}
parser.c:_loop0_1_rule:
19732|     20|{
19733|     20|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     40|#  define MAXSTACK 6000
  ------------------
  |  Branch (19733:9): [True: 0, False: 20]
  |  Branch (19733:35): [True: 0, False: 20]
  ------------------
19734|      0|        _Pypegen_stack_overflow(p);
19735|      0|    }
19736|     20|    if (p->error_indicator) {
  ------------------
  |  Branch (19736:9): [True: 0, False: 20]
  ------------------
19737|      0|        p->level--;
19738|      0|        return NULL;
19739|      0|    }
19740|     20|    void *_res = NULL;
19741|     20|    int _mark = p->mark;
19742|     20|    void **_children = NULL;
19743|     20|    Py_ssize_t _children_capacity = 0;
19744|     20|    Py_ssize_t _n = 0;
19745|     20|    { // NEWLINE
19746|     20|        if (p->error_indicator) {
  ------------------
  |  Branch (19746:13): [True: 0, False: 20]
  ------------------
19747|      0|            p->level--;
19748|      0|            return NULL;
19749|      0|        }
19750|     20|        D(fprintf(stderr, "%*c> _loop0_1[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
19751|     20|        Token * newline_var;
19752|     20|        while (
19753|     20|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     20|#define NEWLINE         4
  ------------------
  |  Branch (19753:13): [True: 0, False: 20]
  ------------------
19754|     20|        )
19755|      0|        {
19756|      0|            _res = newline_var;
19757|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (19757:17): [True: 0, False: 0]
  ------------------
19758|      0|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (19758:21): [True: 0, False: 0]
  ------------------
19759|      0|                    p->error_indicator = 1;
19760|      0|                    PyErr_NoMemory();
19761|      0|                    PyMem_Free(_children);
19762|      0|                    p->level--;
19763|      0|                    return NULL;
19764|      0|                }
19765|      0|            }
19766|      0|            _children[_n++] = _res;
19767|      0|            _mark = p->mark;
19768|      0|        }
19769|     20|        p->mark = _mark;
19770|     20|        D(fprintf(stderr, "%*c%s _loop0_1[%d-%d]: %s failed!\n", p->level, ' ',
19771|     20|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE"));
19772|     20|    }
19773|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
19774|     20|    if (!_seq) {
  ------------------
  |  Branch (19774:9): [True: 0, False: 20]
  ------------------
19775|      0|        p->error_indicator = 1;
19776|      0|        PyErr_NoMemory();
19777|      0|        PyMem_Free(_children);
19778|      0|        p->level--;
19779|      0|        return NULL;
19780|      0|    }
19781|     20|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|     20|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (19781:28): [True: 0, False: 20]
  ------------------
19782|     20|    PyMem_Free(_children);
19783|     20|    p->level--;
19784|     20|    return _seq;
19785|     20|}

_PyPegen_invalid_arguments_rule:
  556|    288|{
  557|    288|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    576|#  define MAXSTACK 6000
  ------------------
  |  Branch (557:9): [True: 0, False: 288]
  |  Branch (557:35): [True: 0, False: 288]
  ------------------
  558|      0|        _Pypegen_stack_overflow(p);
  559|      0|    }
  560|    288|    if (p->error_indicator) {
  ------------------
  |  Branch (560:9): [True: 0, False: 288]
  ------------------
  561|      0|        p->level--;
  562|      0|        return NULL;
  563|      0|    }
  564|    288|    void * _res = NULL;
  565|    288|    int _mark = p->mark;
  566|    288|    { // ((','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs) | kwargs) ',' ','.(starred_expression !'=')+
  567|    288|        if (p->error_indicator) {
  ------------------
  |  Branch (567:13): [True: 0, False: 288]
  ------------------
  568|      0|            p->level--;
  569|      0|            return NULL;
  570|      0|        }
  571|    288|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs) | kwargs) ',' ','.(starred_expression !'=')+"));
  572|    288|        asdl_seq * _gather_108_var;
  573|    288|        void *_tmp_106_var;
  574|    288|        Token * a;
  575|    288|        if (
  576|    288|            (_tmp_106_var = _tmp_106_rule(p))  // (','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs) | kwargs
  ------------------
  |  Branch (576:13): [True: 168, False: 120]
  ------------------
  577|    168|            &&
  578|    168|            (a = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (578:13): [True: 0, False: 168]
  ------------------
  579|      0|            &&
  580|      0|            (_gather_108_var = _gather_108_rule(p))  // ','.(starred_expression !'=')+
  ------------------
  |  Branch (580:13): [True: 0, False: 0]
  ------------------
  581|    288|        )
  582|      0|        {
  583|      0|            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 !'=')+"));
  584|      0|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( a , "iterable argument unpacking follows keyword argument unpacking" );
  ------------------
  |  |  250|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      0|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      0|#define CURRENT_POS (-5)
  |  |  ------------------
  ------------------
  585|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (585:18): [True: 0, False: 0]
  |  Branch (585:34): [True: 0, False: 0]
  |  Branch (585:57): [True: 0, False: 0]
  ------------------
  586|      0|                p->error_indicator = 1;
  587|      0|                p->level--;
  588|      0|                return NULL;
  589|      0|            }
  590|      0|            goto done;
  591|      0|        }
  592|    288|        p->mark = _mark;
  593|    288|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
  594|    288|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs) | kwargs) ',' ','.(starred_expression !'=')+"));
  595|    288|    }
  596|      0|    { // expression for_if_clauses ',' [args | expression for_if_clauses]
  597|    288|        if (p->error_indicator) {
  ------------------
  |  Branch (597:13): [True: 0, False: 288]
  ------------------
  598|      0|            p->level--;
  599|      0|            return NULL;
  600|      0|        }
  601|    288|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression for_if_clauses ',' [args | expression for_if_clauses]"));
  602|    288|        Token * _literal;
  603|    288|        void *_opt_var;
  604|    288|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|    288|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 288]
  |  |  ------------------
  ------------------
  605|    288|        expr_ty a;
  606|    288|        asdl_comprehension_seq* b;
  607|    288|        if (
  608|    288|            (a = expression_rule(p))  // expression
  ------------------
  |  |  243|    288|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (608:13): [True: 54, False: 234]
  ------------------
  609|     54|            &&
  610|     54|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  301|     54|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (610:13): [True: 0, False: 54]
  ------------------
  611|      0|            &&
  612|      0|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (612:13): [True: 0, False: 0]
  ------------------
  613|      0|            &&
  614|      0|            (_opt_var = _tmp_109_rule(p), !p->error_indicator)  // [args | expression for_if_clauses]
  ------------------
  |  Branch (614:13): [True: 0, False: 0]
  ------------------
  615|    288|        )
  616|      0|        {
  617|      0|            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]"));
  618|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , _PyPegen_get_last_comprehension_item ( PyPegen_last_item ( b , comprehension_ty ) ) , "Generator expression must be parenthesized" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  619|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (619:18): [True: 0, False: 0]
  |  Branch (619:34): [True: 0, False: 0]
  |  Branch (619:57): [True: 0, False: 0]
  ------------------
  620|      0|                p->error_indicator = 1;
  621|      0|                p->level--;
  622|      0|                return NULL;
  623|      0|            }
  624|      0|            goto done;
  625|      0|        }
  626|    288|        p->mark = _mark;
  627|    288|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
  628|    288|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression for_if_clauses ',' [args | expression for_if_clauses]"));
  629|    288|    }
  630|      0|    { // NAME '=' expression for_if_clauses
  631|    288|        if (p->error_indicator) {
  ------------------
  |  Branch (631:13): [True: 0, False: 288]
  ------------------
  632|      0|            p->level--;
  633|      0|            return NULL;
  634|      0|        }
  635|    288|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' expression for_if_clauses"));
  636|    288|        expr_ty a;
  637|    288|        Token * b;
  638|    288|        expr_ty expression_var;
  639|    288|        asdl_comprehension_seq* for_if_clauses_var;
  640|    288|        if (
  641|    288|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (641:13): [True: 54, False: 234]
  ------------------
  642|     54|            &&
  643|     54|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (643:13): [True: 0, False: 54]
  ------------------
  644|      0|            &&
  645|      0|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (645:13): [True: 0, False: 0]
  ------------------
  646|      0|            &&
  647|      0|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  301|      0|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (647:13): [True: 0, False: 0]
  ------------------
  648|    288|        )
  649|      0|        {
  650|      0|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' expression for_if_clauses"));
  651|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid syntax. Maybe you meant '==' or ':=' instead of '='?" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  652|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (652:18): [True: 0, False: 0]
  |  Branch (652:34): [True: 0, False: 0]
  |  Branch (652:57): [True: 0, False: 0]
  ------------------
  653|      0|                p->error_indicator = 1;
  654|      0|                p->level--;
  655|      0|                return NULL;
  656|      0|            }
  657|      0|            goto done;
  658|      0|        }
  659|    288|        p->mark = _mark;
  660|    288|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
  661|    288|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' expression for_if_clauses"));
  662|    288|    }
  663|      0|    { // [(args ',')] NAME '=' &(',' | ')')
  664|    288|        if (p->error_indicator) {
  ------------------
  |  Branch (664:13): [True: 0, False: 288]
  ------------------
  665|      0|            p->level--;
  666|      0|            return NULL;
  667|      0|        }
  668|    288|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "[(args ',')] NAME '=' &(',' | ')')"));
  669|    288|        void *_opt_var;
  670|    288|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|    288|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 288]
  |  |  ------------------
  ------------------
  671|    288|        expr_ty a;
  672|    288|        Token * b;
  673|    288|        if (
  674|    288|            (_opt_var = _tmp_110_rule(p), !p->error_indicator)  // [(args ',')]
  ------------------
  |  Branch (674:13): [True: 288, False: 0]
  ------------------
  675|    288|            &&
  676|    288|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (676:13): [True: 54, False: 234]
  ------------------
  677|     54|            &&
  678|     54|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (678:13): [True: 0, False: 54]
  ------------------
  679|      0|            &&
  680|      0|            _PyPegen_lookahead(1, _tmp_111_rule, p)
  ------------------
  |  Branch (680:13): [True: 0, False: 0]
  ------------------
  681|    288|        )
  682|      0|        {
  683|      0|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "[(args ',')] NAME '=' &(',' | ')')"));
  684|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "expected argument value expression" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  685|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (685:18): [True: 0, False: 0]
  |  Branch (685:34): [True: 0, False: 0]
  |  Branch (685:57): [True: 0, False: 0]
  ------------------
  686|      0|                p->error_indicator = 1;
  687|      0|                p->level--;
  688|      0|                return NULL;
  689|      0|            }
  690|      0|            goto done;
  691|      0|        }
  692|    288|        p->mark = _mark;
  693|    288|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
  694|    288|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "[(args ',')] NAME '=' &(',' | ')')"));
  695|    288|    }
  696|      0|    { // args for_if_clauses
  697|    288|        if (p->error_indicator) {
  ------------------
  |  Branch (697:13): [True: 0, False: 288]
  ------------------
  698|      0|            p->level--;
  699|      0|            return NULL;
  700|      0|        }
  701|    288|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args for_if_clauses"));
  702|    288|        expr_ty a;
  703|    288|        asdl_comprehension_seq* b;
  704|    288|        if (
  705|    288|            (a = args_rule(p))  // args
  ------------------
  |  |  307|    288|#define args_rule _PyPegen_args_rule
  ------------------
  |  Branch (705:13): [True: 222, False: 66]
  ------------------
  706|    222|            &&
  707|    222|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  301|    222|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (707:13): [True: 0, False: 222]
  ------------------
  708|    288|        )
  709|      0|        {
  710|      0|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args for_if_clauses"));
  711|      0|            _res = _PyPegen_nonparen_genexp_in_call ( p , a , b );
  712|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (712:18): [True: 0, False: 0]
  |  Branch (712:34): [True: 0, False: 0]
  |  Branch (712:57): [True: 0, False: 0]
  ------------------
  713|      0|                p->error_indicator = 1;
  714|      0|                p->level--;
  715|      0|                return NULL;
  716|      0|            }
  717|      0|            goto done;
  718|      0|        }
  719|    288|        p->mark = _mark;
  720|    288|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
  721|    288|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args for_if_clauses"));
  722|    288|    }
  723|      0|    { // args ',' expression for_if_clauses
  724|    288|        if (p->error_indicator) {
  ------------------
  |  Branch (724:13): [True: 0, False: 288]
  ------------------
  725|      0|            p->level--;
  726|      0|            return NULL;
  727|      0|        }
  728|    288|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args ',' expression for_if_clauses"));
  729|    288|        Token * _literal;
  730|    288|        expr_ty a;
  731|    288|        expr_ty args_var;
  732|    288|        asdl_comprehension_seq* b;
  733|    288|        if (
  734|    288|            (args_var = args_rule(p))  // args
  ------------------
  |  |  307|    288|#define args_rule _PyPegen_args_rule
  ------------------
  |  Branch (734:13): [True: 222, False: 66]
  ------------------
  735|    222|            &&
  736|    222|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (736:13): [True: 0, False: 222]
  ------------------
  737|      0|            &&
  738|      0|            (a = expression_rule(p))  // expression
  ------------------
  |  |  243|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (738:13): [True: 0, False: 0]
  ------------------
  739|      0|            &&
  740|      0|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  301|      0|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (740:13): [True: 0, False: 0]
  ------------------
  741|    288|        )
  742|      0|        {
  743|      0|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args ',' expression for_if_clauses"));
  744|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , _PyPegen_get_last_comprehension_item ( PyPegen_last_item ( b , comprehension_ty ) ) , "Generator expression must be parenthesized" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  745|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (745:18): [True: 0, False: 0]
  |  Branch (745:34): [True: 0, False: 0]
  |  Branch (745:57): [True: 0, False: 0]
  ------------------
  746|      0|                p->error_indicator = 1;
  747|      0|                p->level--;
  748|      0|                return NULL;
  749|      0|            }
  750|      0|            goto done;
  751|      0|        }
  752|    288|        p->mark = _mark;
  753|    288|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
  754|    288|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args ',' expression for_if_clauses"));
  755|    288|    }
  756|      0|    { // args ',' args
  757|    288|        if (p->error_indicator) {
  ------------------
  |  Branch (757:13): [True: 0, False: 288]
  ------------------
  758|      0|            p->level--;
  759|      0|            return NULL;
  760|      0|        }
  761|    288|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args ',' args"));
  762|    288|        Token * _literal;
  763|    288|        expr_ty a;
  764|    288|        expr_ty args_var;
  765|    288|        if (
  766|    288|            (a = args_rule(p))  // args
  ------------------
  |  |  307|    288|#define args_rule _PyPegen_args_rule
  ------------------
  |  Branch (766:13): [True: 222, False: 66]
  ------------------
  767|    222|            &&
  768|    222|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (768:13): [True: 0, False: 222]
  ------------------
  769|      0|            &&
  770|      0|            (args_var = args_rule(p))  // args
  ------------------
  |  |  307|      0|#define args_rule _PyPegen_args_rule
  ------------------
  |  Branch (770:13): [True: 0, False: 0]
  ------------------
  771|    288|        )
  772|      0|        {
  773|      0|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args ',' args"));
  774|      0|            _res = _PyPegen_arguments_parsing_error ( p , a );
  775|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (775:18): [True: 0, False: 0]
  |  Branch (775:34): [True: 0, False: 0]
  |  Branch (775:57): [True: 0, False: 0]
  ------------------
  776|      0|                p->error_indicator = 1;
  777|      0|                p->level--;
  778|      0|                return NULL;
  779|      0|            }
  780|      0|            goto done;
  781|      0|        }
  782|    288|        p->mark = _mark;
  783|    288|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
  784|    288|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args ',' args"));
  785|    288|    }
  786|    288|    _res = NULL;
  787|    288|  done:
  788|    288|    p->level--;
  789|    288|    return _res;
  790|    288|}
_PyPegen_invalid_kwarg_rule:
  801|  1.13k|{
  802|  1.13k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.26k|#  define MAXSTACK 6000
  ------------------
  |  Branch (802:9): [True: 0, False: 1.13k]
  |  Branch (802:35): [True: 0, False: 1.13k]
  ------------------
  803|      0|        _Pypegen_stack_overflow(p);
  804|      0|    }
  805|  1.13k|    if (p->error_indicator) {
  ------------------
  |  Branch (805:9): [True: 0, False: 1.13k]
  ------------------
  806|      0|        p->level--;
  807|      0|        return NULL;
  808|      0|    }
  809|  1.13k|    void * _res = NULL;
  810|  1.13k|    int _mark = p->mark;
  811|  1.13k|    { // 'True' '='
  812|  1.13k|        if (p->error_indicator) {
  ------------------
  |  Branch (812:13): [True: 0, False: 1.13k]
  ------------------
  813|      0|            p->level--;
  814|      0|            return NULL;
  815|      0|        }
  816|  1.13k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True' '='"));
  817|  1.13k|        Token * a;
  818|  1.13k|        Token * b;
  819|  1.13k|        if (
  820|  1.13k|            (a = _PyPegen_expect_token(p, 527))  // token='True'
  ------------------
  |  Branch (820:13): [True: 0, False: 1.13k]
  ------------------
  821|      0|            &&
  822|      0|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (822:13): [True: 0, False: 0]
  ------------------
  823|  1.13k|        )
  824|      0|        {
  825|      0|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True' '='"));
  826|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to True" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  827|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (827:18): [True: 0, False: 0]
  |  Branch (827:34): [True: 0, False: 0]
  |  Branch (827:57): [True: 0, False: 0]
  ------------------
  828|      0|                p->error_indicator = 1;
  829|      0|                p->level--;
  830|      0|                return NULL;
  831|      0|            }
  832|      0|            goto done;
  833|      0|        }
  834|  1.13k|        p->mark = _mark;
  835|  1.13k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
  836|  1.13k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True' '='"));
  837|  1.13k|    }
  838|      0|    { // 'False' '='
  839|  1.13k|        if (p->error_indicator) {
  ------------------
  |  Branch (839:13): [True: 0, False: 1.13k]
  ------------------
  840|      0|            p->level--;
  841|      0|            return NULL;
  842|      0|        }
  843|  1.13k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False' '='"));
  844|  1.13k|        Token * a;
  845|  1.13k|        Token * b;
  846|  1.13k|        if (
  847|  1.13k|            (a = _PyPegen_expect_token(p, 528))  // token='False'
  ------------------
  |  Branch (847:13): [True: 0, False: 1.13k]
  ------------------
  848|      0|            &&
  849|      0|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (849:13): [True: 0, False: 0]
  ------------------
  850|  1.13k|        )
  851|      0|        {
  852|      0|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False' '='"));
  853|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to False" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  854|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (854:18): [True: 0, False: 0]
  |  Branch (854:34): [True: 0, False: 0]
  |  Branch (854:57): [True: 0, False: 0]
  ------------------
  855|      0|                p->error_indicator = 1;
  856|      0|                p->level--;
  857|      0|                return NULL;
  858|      0|            }
  859|      0|            goto done;
  860|      0|        }
  861|  1.13k|        p->mark = _mark;
  862|  1.13k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
  863|  1.13k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False' '='"));
  864|  1.13k|    }
  865|      0|    { // 'None' '='
  866|  1.13k|        if (p->error_indicator) {
  ------------------
  |  Branch (866:13): [True: 0, False: 1.13k]
  ------------------
  867|      0|            p->level--;
  868|      0|            return NULL;
  869|      0|        }
  870|  1.13k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None' '='"));
  871|  1.13k|        Token * a;
  872|  1.13k|        Token * b;
  873|  1.13k|        if (
  874|  1.13k|            (a = _PyPegen_expect_token(p, 526))  // token='None'
  ------------------
  |  Branch (874:13): [True: 0, False: 1.13k]
  ------------------
  875|      0|            &&
  876|      0|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (876:13): [True: 0, False: 0]
  ------------------
  877|  1.13k|        )
  878|      0|        {
  879|      0|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None' '='"));
  880|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to None" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  881|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (881:18): [True: 0, False: 0]
  |  Branch (881:34): [True: 0, False: 0]
  |  Branch (881:57): [True: 0, False: 0]
  ------------------
  882|      0|                p->error_indicator = 1;
  883|      0|                p->level--;
  884|      0|                return NULL;
  885|      0|            }
  886|      0|            goto done;
  887|      0|        }
  888|  1.13k|        p->mark = _mark;
  889|  1.13k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
  890|  1.13k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None' '='"));
  891|  1.13k|    }
  892|      0|    { // NAME '=' expression for_if_clauses
  893|  1.13k|        if (p->error_indicator) {
  ------------------
  |  Branch (893:13): [True: 0, False: 1.13k]
  ------------------
  894|      0|            p->level--;
  895|      0|            return NULL;
  896|      0|        }
  897|  1.13k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' expression for_if_clauses"));
  898|  1.13k|        expr_ty a;
  899|  1.13k|        Token * b;
  900|  1.13k|        expr_ty expression_var;
  901|  1.13k|        asdl_comprehension_seq* for_if_clauses_var;
  902|  1.13k|        if (
  903|  1.13k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (903:13): [True: 108, False: 1.02k]
  ------------------
  904|    108|            &&
  905|    108|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (905:13): [True: 0, False: 108]
  ------------------
  906|      0|            &&
  907|      0|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (907:13): [True: 0, False: 0]
  ------------------
  908|      0|            &&
  909|      0|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  301|      0|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (909:13): [True: 0, False: 0]
  ------------------
  910|  1.13k|        )
  911|      0|        {
  912|      0|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' expression for_if_clauses"));
  913|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid syntax. Maybe you meant '==' or ':=' instead of '='?" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  914|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (914:18): [True: 0, False: 0]
  |  Branch (914:34): [True: 0, False: 0]
  |  Branch (914:57): [True: 0, False: 0]
  ------------------
  915|      0|                p->error_indicator = 1;
  916|      0|                p->level--;
  917|      0|                return NULL;
  918|      0|            }
  919|      0|            goto done;
  920|      0|        }
  921|  1.13k|        p->mark = _mark;
  922|  1.13k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
  923|  1.13k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' expression for_if_clauses"));
  924|  1.13k|    }
  925|      0|    { // !(NAME '=') expression '='
  926|  1.13k|        if (p->error_indicator) {
  ------------------
  |  Branch (926:13): [True: 0, False: 1.13k]
  ------------------
  927|      0|            p->level--;
  928|      0|            return NULL;
  929|      0|        }
  930|  1.13k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!(NAME '=') expression '='"));
  931|  1.13k|        expr_ty a;
  932|  1.13k|        Token * b;
  933|  1.13k|        if (
  934|  1.13k|            _PyPegen_lookahead(0, _tmp_112_rule, p)
  ------------------
  |  Branch (934:13): [True: 1.13k, False: 0]
  ------------------
  935|  1.13k|            &&
  936|  1.13k|            (a = expression_rule(p))  // expression
  ------------------
  |  |  243|  1.13k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (936:13): [True: 108, False: 1.02k]
  ------------------
  937|    108|            &&
  938|    108|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (938:13): [True: 0, False: 108]
  ------------------
  939|  1.13k|        )
  940|      0|        {
  941|      0|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!(NAME '=') expression '='"));
  942|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "expression cannot contain assignment, perhaps you meant \"==\"?" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  943|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (943:18): [True: 0, False: 0]
  |  Branch (943:34): [True: 0, False: 0]
  |  Branch (943:57): [True: 0, False: 0]
  ------------------
  944|      0|                p->error_indicator = 1;
  945|      0|                p->level--;
  946|      0|                return NULL;
  947|      0|            }
  948|      0|            goto done;
  949|      0|        }
  950|  1.13k|        p->mark = _mark;
  951|  1.13k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
  952|  1.13k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!(NAME '=') expression '='"));
  953|  1.13k|    }
  954|      0|    { // '**' expression '=' expression
  955|  1.13k|        if (p->error_indicator) {
  ------------------
  |  Branch (955:13): [True: 0, False: 1.13k]
  ------------------
  956|      0|            p->level--;
  957|      0|            return NULL;
  958|      0|        }
  959|  1.13k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' expression '=' expression"));
  960|  1.13k|        Token * _literal;
  961|  1.13k|        Token * a;
  962|  1.13k|        expr_ty b;
  963|  1.13k|        expr_ty expression_var;
  964|  1.13k|        if (
  965|  1.13k|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (965:13): [True: 72, False: 1.06k]
  ------------------
  966|     72|            &&
  967|     72|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|     72|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (967:13): [True: 72, False: 0]
  ------------------
  968|     72|            &&
  969|     72|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (969:13): [True: 0, False: 72]
  ------------------
  970|      0|            &&
  971|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  |  243|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (971:13): [True: 0, False: 0]
  ------------------
  972|  1.13k|        )
  973|      0|        {
  974|      0|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' expression '=' expression"));
  975|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to keyword argument unpacking" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  976|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (976:18): [True: 0, False: 0]
  |  Branch (976:34): [True: 0, False: 0]
  |  Branch (976:57): [True: 0, False: 0]
  ------------------
  977|      0|                p->error_indicator = 1;
  978|      0|                p->level--;
  979|      0|                return NULL;
  980|      0|            }
  981|      0|            goto done;
  982|      0|        }
  983|  1.13k|        p->mark = _mark;
  984|  1.13k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
  985|  1.13k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' expression '=' expression"));
  986|  1.13k|    }
  987|  1.13k|    _res = NULL;
  988|  1.13k|  done:
  989|  1.13k|    p->level--;
  990|  1.13k|    return _res;
  991|  1.13k|}
_PyPegen_invalid_legacy_expression_rule:
 1122|    886|{
 1123|    886|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.77k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1123:9): [True: 0, False: 886]
  |  Branch (1123:35): [True: 0, False: 886]
  ------------------
 1124|      0|        _Pypegen_stack_overflow(p);
 1125|      0|    }
 1126|    886|    if (p->error_indicator) {
  ------------------
  |  Branch (1126:9): [True: 0, False: 886]
  ------------------
 1127|      0|        p->level--;
 1128|      0|        return NULL;
 1129|      0|    }
 1130|    886|    void * _res = NULL;
 1131|    886|    int _mark = p->mark;
 1132|    886|    { // NAME !'(' star_expressions
 1133|    886|        if (p->error_indicator) {
  ------------------
  |  Branch (1133:13): [True: 0, False: 886]
  ------------------
 1134|      0|            p->level--;
 1135|      0|            return NULL;
 1136|      0|        }
 1137|    886|        D(fprintf(stderr, "%*c> invalid_legacy_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME !'(' star_expressions"));
 1138|    886|        expr_ty a;
 1139|    886|        expr_ty b;
 1140|    886|        if (
 1141|    886|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (1141:13): [True: 166, False: 720]
  ------------------
 1142|    166|            &&
 1143|    166|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 7)  // token='('
  ------------------
  |  Branch (1143:13): [True: 46, False: 120]
  ------------------
 1144|     46|            &&
 1145|     46|            (b = star_expressions_rule(p))  // star_expressions
  ------------------
  |  |  249|     46|#define star_expressions_rule _PyPegen_star_expressions_rule
  ------------------
  |  Branch (1145:13): [True: 31, False: 15]
  ------------------
 1146|    886|        )
 1147|     31|        {
 1148|     31|            D(fprintf(stderr, "%*c+ invalid_legacy_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME !'(' star_expressions"));
 1149|     31|            _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;
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (1149:20): [True: 0, False: 31]
  ------------------
 1150|     31|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1150:18): [True: 31, False: 0]
  |  Branch (1150:34): [True: 0, False: 0]
  |  Branch (1150:57): [True: 0, False: 31]
  ------------------
 1151|      0|                p->error_indicator = 1;
 1152|      0|                p->level--;
 1153|      0|                return NULL;
 1154|      0|            }
 1155|     31|            goto done;
 1156|     31|        }
 1157|    855|        p->mark = _mark;
 1158|    855|        D(fprintf(stderr, "%*c%s invalid_legacy_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1159|    855|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME !'(' star_expressions"));
 1160|    855|    }
 1161|    855|    _res = NULL;
 1162|    886|  done:
 1163|    886|    p->level--;
 1164|    886|    return _res;
 1165|    855|}
_PyPegen_invalid_expression_rule:
 1262|    888|{
 1263|    888|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.77k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1263:9): [True: 0, False: 888]
  |  Branch (1263:35): [True: 0, False: 888]
  ------------------
 1264|      0|        _Pypegen_stack_overflow(p);
 1265|      0|    }
 1266|    888|    if (p->error_indicator) {
  ------------------
  |  Branch (1266:9): [True: 0, False: 888]
  ------------------
 1267|      0|        p->level--;
 1268|      0|        return NULL;
 1269|      0|    }
 1270|    888|    void * _res = NULL;
 1271|    888|    int _mark = p->mark;
 1272|    888|    expr_ty _prefix_12_result = NULL;
 1273|    888|    int _prefix_12_end = 0, _prefix_12_valid = 0;
 1274|    888|    { // STRING ((!STRING expression_without_invalid))+ STRING
 1275|    888|        if (p->error_indicator) {
  ------------------
  |  Branch (1275:13): [True: 0, False: 888]
  ------------------
 1276|      0|            p->level--;
 1277|      0|            return NULL;
 1278|      0|        }
 1279|    888|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "STRING ((!STRING expression_without_invalid))+ STRING"));
 1280|    888|        asdl_seq * a;
 1281|    888|        expr_ty string_var;
 1282|    888|        expr_ty string_var_1;
 1283|    888|        if (
 1284|    888|            (string_var = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (1284:13): [True: 108, False: 780]
  ------------------
 1285|    108|            &&
 1286|    108|            (a = _loop1_113_rule(p))  // ((!STRING expression_without_invalid))+
  ------------------
  |  Branch (1286:13): [True: 0, False: 108]
  ------------------
 1287|      0|            &&
 1288|      0|            (string_var_1 = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (1288:13): [True: 0, False: 0]
  ------------------
 1289|    888|        )
 1290|      0|        {
 1291|      0|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "STRING ((!STRING expression_without_invalid))+ STRING"));
 1292|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( PyPegen_first_item ( a , expr_ty ) , PyPegen_last_item ( a , expr_ty ) , "invalid syntax. Is this intended to be part of the string?" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1293|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1293:18): [True: 0, False: 0]
  |  Branch (1293:34): [True: 0, False: 0]
  |  Branch (1293:57): [True: 0, False: 0]
  ------------------
 1294|      0|                p->error_indicator = 1;
 1295|      0|                p->level--;
 1296|      0|                return NULL;
 1297|      0|            }
 1298|      0|            goto done;
 1299|      0|        }
 1300|    888|        p->mark = _mark;
 1301|    888|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1302|    888|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "STRING ((!STRING expression_without_invalid))+ STRING"));
 1303|    888|    }
 1304|      0|    { // !(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid
 1305|    888|        if (p->error_indicator) {
  ------------------
  |  Branch (1305:13): [True: 0, False: 888]
  ------------------
 1306|      0|            p->level--;
 1307|      0|            return NULL;
 1308|      0|        }
 1309|    888|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid"));
 1310|    888|        expr_ty a;
 1311|    888|        expr_ty b;
 1312|    888|        if (
 1313|    888|            _PyPegen_lookahead(0, _tmp_114_rule, p)
  ------------------
  |  Branch (1313:13): [True: 888, False: 0]
  ------------------
 1314|    888|            &&
 1315|    888|            (a = disjunction_rule(p))  // disjunction
  ------------------
  |  |  259|    888|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1315:13): [True: 306, False: 582]
  ------------------
 1316|    306|            &&
 1317|    306|            (b = expression_without_invalid_rule(p))  // expression_without_invalid
  ------------------
  |  Branch (1317:13): [True: 1, False: 305]
  ------------------
 1318|    888|        )
 1319|      1|        {
 1320|      1|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid"));
 1321|      1|            _res = _PyPegen_raise_error_for_missing_comma ( p , a , b );
 1322|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1322:18): [True: 1, False: 0]
  |  Branch (1322:34): [True: 0, False: 0]
  |  Branch (1322:57): [True: 1, False: 0]
  ------------------
 1323|      1|                p->error_indicator = 1;
 1324|      1|                p->level--;
 1325|      1|                return NULL;
 1326|      1|            }
 1327|      0|            goto done;
 1328|      1|        }
 1329|    887|        p->mark = _mark;
 1330|    887|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1331|    887|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid"));
 1332|    887|    }
 1333|      0|    { // disjunction 'if' disjunction !('else' | ':')
 1334|    887|        if (p->error_indicator) {
  ------------------
  |  Branch (1334:13): [True: 0, False: 887]
  ------------------
 1335|      0|            p->level--;
 1336|      0|            return NULL;
 1337|      0|        }
 1338|    887|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction !('else' | ':')"));
 1339|    887|        Token * _keyword;
 1340|    887|        expr_ty a;
 1341|    887|        expr_ty b;
 1342|    887|        if (
 1343|    887|            (a = ((!p->call_invalid_rules && _prefix_12_valid) ? (p->mark = _prefix_12_end, _prefix_12_result) : (_prefix_12_result = disjunction_rule(p), _prefix_12_end = p->mark, _prefix_12_valid = 1, _prefix_12_result)))  // disjunction
  ------------------
  |  |  259|    887|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1343:13): [True: 305, False: 582]
  |  Branch (1343:20): [True: 0, False: 887]
  |  Branch (1343:46): [True: 0, False: 0]
  ------------------
 1344|    305|            &&
 1345|    305|            (_keyword = _PyPegen_expect_token(p, 514))  // token='if'
  ------------------
  |  Branch (1345:13): [True: 0, False: 305]
  ------------------
 1346|      0|            &&
 1347|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  |  259|      0|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1347:13): [True: 0, False: 0]
  ------------------
 1348|      0|            &&
 1349|      0|            _PyPegen_lookahead(0, _tmp_115_rule, p)
  ------------------
  |  Branch (1349:13): [True: 0, False: 0]
  ------------------
 1350|    887|        )
 1351|      0|        {
 1352|      0|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction !('else' | ':')"));
 1353|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "expected 'else' after 'if' expression" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1354|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1354:18): [True: 0, False: 0]
  |  Branch (1354:34): [True: 0, False: 0]
  |  Branch (1354:57): [True: 0, False: 0]
  ------------------
 1355|      0|                p->error_indicator = 1;
 1356|      0|                p->level--;
 1357|      0|                return NULL;
 1358|      0|            }
 1359|      0|            goto done;
 1360|      0|        }
 1361|    887|        p->mark = _mark;
 1362|    887|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1363|    887|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction !('else' | ':')"));
 1364|    887|    }
 1365|      0|    { // disjunction 'if' disjunction 'else' !expression
 1366|    887|        if (p->error_indicator) {
  ------------------
  |  Branch (1366:13): [True: 0, False: 887]
  ------------------
 1367|      0|            p->level--;
 1368|      0|            return NULL;
 1369|      0|        }
 1370|    887|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' !expression"));
 1371|    887|        Token * _keyword;
 1372|    887|        Token * _keyword_1;
 1373|    887|        expr_ty a;
 1374|    887|        expr_ty b;
 1375|    887|        if (
 1376|    887|            (a = ((!p->call_invalid_rules && _prefix_12_valid) ? (p->mark = _prefix_12_end, _prefix_12_result) : (_prefix_12_result = disjunction_rule(p), _prefix_12_end = p->mark, _prefix_12_valid = 1, _prefix_12_result)))  // disjunction
  ------------------
  |  |  259|    887|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1376:13): [True: 305, False: 582]
  |  Branch (1376:20): [True: 0, False: 887]
  |  Branch (1376:46): [True: 0, False: 0]
  ------------------
 1377|    305|            &&
 1378|    305|            (_keyword = _PyPegen_expect_token(p, 514))  // token='if'
  ------------------
  |  Branch (1378:13): [True: 0, False: 305]
  ------------------
 1379|      0|            &&
 1380|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  |  259|      0|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1380:13): [True: 0, False: 0]
  ------------------
 1381|      0|            &&
 1382|      0|            (_keyword_1 = _PyPegen_expect_token(p, 522))  // token='else'
  ------------------
  |  Branch (1382:13): [True: 0, False: 0]
  ------------------
 1383|      0|            &&
 1384|      0|            _PyPegen_lookahead_for_expr(0, expression_rule, p)
  ------------------
  |  |  243|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (1384:13): [True: 0, False: 0]
  ------------------
 1385|    887|        )
 1386|      0|        {
 1387|      0|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' !expression"));
 1388|      0|            _res = RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "expected expression after 'else', but statement is given" );
  ------------------
  |  |  244|      0|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
 1389|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1389:18): [True: 0, False: 0]
  |  Branch (1389:34): [True: 0, False: 0]
  |  Branch (1389:57): [True: 0, False: 0]
  ------------------
 1390|      0|                p->error_indicator = 1;
 1391|      0|                p->level--;
 1392|      0|                return NULL;
 1393|      0|            }
 1394|      0|            goto done;
 1395|      0|        }
 1396|    887|        p->mark = _mark;
 1397|    887|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1398|    887|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' !expression"));
 1399|    887|    }
 1400|      0|    { // (pass_stmt | break_stmt | continue_stmt) 'if' disjunction 'else' simple_stmt
 1401|    887|        if (p->error_indicator) {
  ------------------
  |  Branch (1401:13): [True: 0, False: 887]
  ------------------
 1402|      0|            p->level--;
 1403|      0|            return NULL;
 1404|      0|        }
 1405|    887|        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"));
 1406|    887|        Token * _keyword;
 1407|    887|        Token * _keyword_1;
 1408|    887|        stmt_ty a;
 1409|    887|        expr_ty b;
 1410|    887|        stmt_ty c;
 1411|    887|        if (
 1412|    887|            (a = (stmt_ty)_tmp_116_rule(p))  // pass_stmt | break_stmt | continue_stmt
  ------------------
  |  Branch (1412:13): [True: 0, False: 887]
  ------------------
 1413|      0|            &&
 1414|      0|            (_keyword = _PyPegen_expect_token(p, 514))  // token='if'
  ------------------
  |  Branch (1414:13): [True: 0, False: 0]
  ------------------
 1415|      0|            &&
 1416|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  |  259|      0|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1416:13): [True: 0, False: 0]
  ------------------
 1417|      0|            &&
 1418|      0|            (_keyword_1 = _PyPegen_expect_token(p, 522))  // token='else'
  ------------------
  |  Branch (1418:13): [True: 0, False: 0]
  ------------------
 1419|      0|            &&
 1420|      0|            (c = simple_stmt_rule(p))  // simple_stmt
  ------------------
  |  |  183|      0|#define simple_stmt_rule _PyPegen_simple_stmt_rule
  ------------------
  |  Branch (1420:13): [True: 0, False: 0]
  ------------------
 1421|    887|        )
 1422|      0|        {
 1423|      0|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(pass_stmt | break_stmt | continue_stmt) 'if' disjunction 'else' simple_stmt"));
 1424|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expected expression before 'if', but statement is given" );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1425|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1425:18): [True: 0, False: 0]
  |  Branch (1425:34): [True: 0, False: 0]
  |  Branch (1425:57): [True: 0, False: 0]
  ------------------
 1426|      0|                p->error_indicator = 1;
 1427|      0|                p->level--;
 1428|      0|                return NULL;
 1429|      0|            }
 1430|      0|            goto done;
 1431|      0|        }
 1432|    887|        p->mark = _mark;
 1433|    887|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1434|    887|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(pass_stmt | break_stmt | continue_stmt) 'if' disjunction 'else' simple_stmt"));
 1435|    887|    }
 1436|      0|    { // 'lambda' lambda_params? ':' &FSTRING_MIDDLE
 1437|    887|        if (p->error_indicator) {
  ------------------
  |  Branch (1437:13): [True: 0, False: 887]
  ------------------
 1438|      0|            p->level--;
 1439|      0|            return NULL;
 1440|      0|        }
 1441|    887|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &FSTRING_MIDDLE"));
 1442|    887|        void *_opt_var;
 1443|    887|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|    887|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 887]
  |  |  ------------------
  ------------------
 1444|    887|        Token * a;
 1445|    887|        Token * b;
 1446|    887|        if (
 1447|    887|            (a = _PyPegen_expect_token(p, 534))  // token='lambda'
  ------------------
  |  Branch (1447:13): [True: 8, False: 879]
  ------------------
 1448|      8|            &&
 1449|      8|            (_opt_var = lambda_params_rule(p), !p->error_indicator)  // lambda_params?
  ------------------
  |  |  273|      8|#define lambda_params_rule _PyPegen_lambda_params_rule
  ------------------
  |  Branch (1449:13): [True: 7, False: 1]
  ------------------
 1450|      7|            &&
 1451|      7|            (b = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (1451:13): [True: 0, False: 7]
  ------------------
 1452|      0|            &&
 1453|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, FSTRING_MIDDLE)  // token=FSTRING_MIDDLE
  ------------------
  |  |   76|      0|#define FSTRING_MIDDLE  60
  ------------------
  |  Branch (1453:13): [True: 0, False: 0]
  ------------------
 1454|    887|        )
 1455|      0|        {
 1456|      0|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &FSTRING_MIDDLE"));
 1457|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "f-string: lambda expressions are not allowed without parentheses" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1458|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1458:18): [True: 0, False: 0]
  |  Branch (1458:34): [True: 0, False: 0]
  |  Branch (1458:57): [True: 0, False: 0]
  ------------------
 1459|      0|                p->error_indicator = 1;
 1460|      0|                p->level--;
 1461|      0|                return NULL;
 1462|      0|            }
 1463|      0|            goto done;
 1464|      0|        }
 1465|    887|        p->mark = _mark;
 1466|    887|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1467|    887|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'lambda' lambda_params? ':' &FSTRING_MIDDLE"));
 1468|    887|    }
 1469|      0|    { // 'lambda' lambda_params? ':' &TSTRING_MIDDLE
 1470|    887|        if (p->error_indicator) {
  ------------------
  |  Branch (1470:13): [True: 1, False: 886]
  ------------------
 1471|      1|            p->level--;
 1472|      1|            return NULL;
 1473|      1|        }
 1474|    886|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &TSTRING_MIDDLE"));
 1475|    886|        void *_opt_var;
 1476|    886|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|    886|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 886]
  |  |  ------------------
  ------------------
 1477|    886|        Token * a;
 1478|    886|        Token * b;
 1479|    886|        if (
 1480|    886|            (a = _PyPegen_expect_token(p, 534))  // token='lambda'
  ------------------
  |  Branch (1480:13): [True: 7, False: 879]
  ------------------
 1481|      7|            &&
 1482|      7|            (_opt_var = lambda_params_rule(p), !p->error_indicator)  // lambda_params?
  ------------------
  |  |  273|      7|#define lambda_params_rule _PyPegen_lambda_params_rule
  ------------------
  |  Branch (1482:13): [True: 7, False: 0]
  ------------------
 1483|      7|            &&
 1484|      7|            (b = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (1484:13): [True: 0, False: 7]
  ------------------
 1485|      0|            &&
 1486|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, TSTRING_MIDDLE)  // token=TSTRING_MIDDLE
  ------------------
  |  |   79|      0|#define TSTRING_MIDDLE  63
  ------------------
  |  Branch (1486:13): [True: 0, False: 0]
  ------------------
 1487|    886|        )
 1488|      0|        {
 1489|      0|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &TSTRING_MIDDLE"));
 1490|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "t-string: lambda expressions are not allowed without parentheses" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1491|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1491:18): [True: 0, False: 0]
  |  Branch (1491:34): [True: 0, False: 0]
  |  Branch (1491:57): [True: 0, False: 0]
  ------------------
 1492|      0|                p->error_indicator = 1;
 1493|      0|                p->level--;
 1494|      0|                return NULL;
 1495|      0|            }
 1496|      0|            goto done;
 1497|      0|        }
 1498|    886|        p->mark = _mark;
 1499|    886|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1500|    886|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'lambda' lambda_params? ':' &TSTRING_MIDDLE"));
 1501|    886|    }
 1502|    886|    _res = NULL;
 1503|    886|  done:
 1504|    886|    p->level--;
 1505|    886|    return _res;
 1506|    886|}
_PyPegen_invalid_if_expression_rule:
 1513|  1.11k|{
 1514|  1.11k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.22k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1514:9): [True: 0, False: 1.11k]
  |  Branch (1514:35): [True: 0, False: 1.11k]
  ------------------
 1515|      0|        _Pypegen_stack_overflow(p);
 1516|      0|    }
 1517|  1.11k|    if (p->error_indicator) {
  ------------------
  |  Branch (1517:9): [True: 0, False: 1.11k]
  ------------------
 1518|      0|        p->level--;
 1519|      0|        return NULL;
 1520|      0|    }
 1521|  1.11k|    void * _res = NULL;
 1522|  1.11k|    int _mark = p->mark;
 1523|  1.11k|    expr_ty _prefix_13_result = NULL;
 1524|  1.11k|    int _prefix_13_end = 0, _prefix_13_valid = 0;
 1525|  1.11k|    { // disjunction 'if' disjunction 'else' '*'
 1526|  1.11k|        if (p->error_indicator) {
  ------------------
  |  Branch (1526:13): [True: 0, False: 1.11k]
  ------------------
 1527|      0|            p->level--;
 1528|      0|            return NULL;
 1529|      0|        }
 1530|  1.11k|        D(fprintf(stderr, "%*c> invalid_if_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '*'"));
 1531|  1.11k|        Token * _keyword;
 1532|  1.11k|        Token * _keyword_1;
 1533|  1.11k|        Token * a;
 1534|  1.11k|        expr_ty b;
 1535|  1.11k|        expr_ty disjunction_var;
 1536|  1.11k|        if (
 1537|  1.11k|            (disjunction_var = ((!p->call_invalid_rules && _prefix_13_valid) ? (p->mark = _prefix_13_end, _prefix_13_result) : (_prefix_13_result = disjunction_rule(p), _prefix_13_end = p->mark, _prefix_13_valid = 1, _prefix_13_result)))  // disjunction
  ------------------
  |  |  259|  1.11k|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1537:13): [True: 306, False: 807]
  |  Branch (1537:34): [True: 0, False: 1.11k]
  |  Branch (1537:60): [True: 0, False: 0]
  ------------------
 1538|    306|            &&
 1539|    306|            (_keyword = _PyPegen_expect_token(p, 514))  // token='if'
  ------------------
  |  Branch (1539:13): [True: 0, False: 306]
  ------------------
 1540|      0|            &&
 1541|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  |  259|      0|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1541:13): [True: 0, False: 0]
  ------------------
 1542|      0|            &&
 1543|      0|            (_keyword_1 = _PyPegen_expect_token(p, 522))  // token='else'
  ------------------
  |  Branch (1543:13): [True: 0, False: 0]
  ------------------
 1544|      0|            &&
 1545|      0|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (1545:13): [True: 0, False: 0]
  ------------------
 1546|  1.11k|        )
 1547|      0|        {
 1548|      0|            D(fprintf(stderr, "%*c+ invalid_if_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '*'"));
 1549|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot unpack only part of a conditional expression" );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1550|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1550:18): [True: 0, False: 0]
  |  Branch (1550:34): [True: 0, False: 0]
  |  Branch (1550:57): [True: 0, False: 0]
  ------------------
 1551|      0|                p->error_indicator = 1;
 1552|      0|                p->level--;
 1553|      0|                return NULL;
 1554|      0|            }
 1555|      0|            goto done;
 1556|      0|        }
 1557|  1.11k|        p->mark = _mark;
 1558|  1.11k|        D(fprintf(stderr, "%*c%s invalid_if_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1559|  1.11k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' '*'"));
 1560|  1.11k|    }
 1561|      0|    { // disjunction 'if' disjunction 'else' '**'
 1562|  1.11k|        if (p->error_indicator) {
  ------------------
  |  Branch (1562:13): [True: 225, False: 888]
  ------------------
 1563|    225|            p->level--;
 1564|    225|            return NULL;
 1565|    225|        }
 1566|    888|        D(fprintf(stderr, "%*c> invalid_if_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '**'"));
 1567|    888|        Token * _keyword;
 1568|    888|        Token * _keyword_1;
 1569|    888|        Token * a;
 1570|    888|        expr_ty b;
 1571|    888|        expr_ty disjunction_var;
 1572|    888|        if (
 1573|    888|            (disjunction_var = ((!p->call_invalid_rules && _prefix_13_valid) ? (p->mark = _prefix_13_end, _prefix_13_result) : (_prefix_13_result = disjunction_rule(p), _prefix_13_end = p->mark, _prefix_13_valid = 1, _prefix_13_result)))  // disjunction
  ------------------
  |  |  259|    888|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1573:13): [True: 306, False: 582]
  |  Branch (1573:34): [True: 0, False: 888]
  |  Branch (1573:60): [True: 0, False: 0]
  ------------------
 1574|    306|            &&
 1575|    306|            (_keyword = _PyPegen_expect_token(p, 514))  // token='if'
  ------------------
  |  Branch (1575:13): [True: 0, False: 306]
  ------------------
 1576|      0|            &&
 1577|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  |  259|      0|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1577:13): [True: 0, False: 0]
  ------------------
 1578|      0|            &&
 1579|      0|            (_keyword_1 = _PyPegen_expect_token(p, 522))  // token='else'
  ------------------
  |  Branch (1579:13): [True: 0, False: 0]
  ------------------
 1580|      0|            &&
 1581|      0|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (1581:13): [True: 0, False: 0]
  ------------------
 1582|    888|        )
 1583|      0|        {
 1584|      0|            D(fprintf(stderr, "%*c+ invalid_if_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '**'"));
 1585|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use dict unpacking on only part of a conditional expression" );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1586|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1586:18): [True: 0, False: 0]
  |  Branch (1586:34): [True: 0, False: 0]
  |  Branch (1586:57): [True: 0, False: 0]
  ------------------
 1587|      0|                p->error_indicator = 1;
 1588|      0|                p->level--;
 1589|      0|                return NULL;
 1590|      0|            }
 1591|      0|            goto done;
 1592|      0|        }
 1593|    888|        p->mark = _mark;
 1594|    888|        D(fprintf(stderr, "%*c%s invalid_if_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1595|    888|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' '**'"));
 1596|    888|    }
 1597|    888|    _res = NULL;
 1598|    888|  done:
 1599|    888|    p->level--;
 1600|    888|    return _res;
 1601|    888|}
_PyPegen_invalid_named_expression_rule:
 1609|    249|{
 1610|    249|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    498|#  define MAXSTACK 6000
  ------------------
  |  Branch (1610:9): [True: 0, False: 249]
  |  Branch (1610:35): [True: 0, False: 249]
  ------------------
 1611|      0|        _Pypegen_stack_overflow(p);
 1612|      0|    }
 1613|    249|    if (p->error_indicator) {
  ------------------
  |  Branch (1613:9): [True: 0, False: 249]
  ------------------
 1614|      0|        p->level--;
 1615|      0|        return NULL;
 1616|      0|    }
 1617|    249|    void * _res = NULL;
 1618|    249|    if (_PyPegen_is_memoized(p, invalid_named_expression_type, &_res)) {
  ------------------
  |  |   27|    249|#define invalid_named_expression_type 1200
  ------------------
  |  Branch (1618:9): [True: 111, False: 138]
  ------------------
 1619|    111|        p->level--;
 1620|    111|        return _res;
 1621|    111|    }
 1622|    138|    int _mark = p->mark;
 1623|    138|    { // expression ':=' expression
 1624|    138|        if (p->error_indicator) {
  ------------------
  |  Branch (1624:13): [True: 0, False: 138]
  ------------------
 1625|      0|            p->level--;
 1626|      0|            return NULL;
 1627|      0|        }
 1628|    138|        D(fprintf(stderr, "%*c> invalid_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':=' expression"));
 1629|    138|        Token * _literal;
 1630|    138|        expr_ty a;
 1631|    138|        expr_ty expression_var;
 1632|    138|        if (
 1633|    138|            (a = expression_rule(p))  // expression
  ------------------
  |  |  243|    138|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (1633:13): [True: 39, False: 99]
  ------------------
 1634|     39|            &&
 1635|     39|            (_literal = _PyPegen_expect_token(p, 53))  // token=':='
  ------------------
  |  Branch (1635:13): [True: 0, False: 39]
  ------------------
 1636|      0|            &&
 1637|      0|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (1637:13): [True: 0, False: 0]
  ------------------
 1638|    138|        )
 1639|      0|        {
 1640|      0|            D(fprintf(stderr, "%*c+ invalid_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':=' expression"));
 1641|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use assignment expressions with %s" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1642|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1642:18): [True: 0, False: 0]
  |  Branch (1642:34): [True: 0, False: 0]
  |  Branch (1642:57): [True: 0, False: 0]
  ------------------
 1643|      0|                p->error_indicator = 1;
 1644|      0|                p->level--;
 1645|      0|                return NULL;
 1646|      0|            }
 1647|      0|            goto done;
 1648|      0|        }
 1649|    138|        p->mark = _mark;
 1650|    138|        D(fprintf(stderr, "%*c%s invalid_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1651|    138|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':=' expression"));
 1652|    138|    }
 1653|      0|    { // NAME '=' bitwise_or !('=' | ':=')
 1654|    138|        if (p->error_indicator) {
  ------------------
  |  Branch (1654:13): [True: 9, False: 129]
  ------------------
 1655|      9|            p->level--;
 1656|      9|            return NULL;
 1657|      9|        }
 1658|    129|        D(fprintf(stderr, "%*c> invalid_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' bitwise_or !('=' | ':=')"));
 1659|    129|        Token * _literal;
 1660|    129|        expr_ty a;
 1661|    129|        expr_ty b;
 1662|    129|        if (
 1663|    129|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (1663:13): [True: 39, False: 90]
  ------------------
 1664|     39|            &&
 1665|     39|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (1665:13): [True: 0, False: 39]
  ------------------
 1666|      0|            &&
 1667|      0|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (1667:13): [True: 0, False: 0]
  ------------------
 1668|      0|            &&
 1669|      0|            _PyPegen_lookahead(0, _tmp_117_rule, p)
  ------------------
  |  Branch (1669:13): [True: 0, False: 0]
  ------------------
 1670|    129|        )
 1671|      0|        {
 1672|      0|            D(fprintf(stderr, "%*c+ invalid_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' bitwise_or !('=' | ':=')"));
 1673|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid syntax. Maybe you meant '==' or ':=' instead of '='?" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1674|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1674:18): [True: 0, False: 0]
  |  Branch (1674:34): [True: 0, False: 0]
  |  Branch (1674:57): [True: 0, False: 0]
  ------------------
 1675|      0|                p->error_indicator = 1;
 1676|      0|                p->level--;
 1677|      0|                return NULL;
 1678|      0|            }
 1679|      0|            goto done;
 1680|      0|        }
 1681|    129|        p->mark = _mark;
 1682|    129|        D(fprintf(stderr, "%*c%s invalid_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1683|    129|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' bitwise_or !('=' | ':=')"));
 1684|    129|    }
 1685|      0|    { // !(list | tuple | genexp | 'True' | 'None' | 'False') bitwise_or '=' bitwise_or !('=' | ':=')
 1686|    129|        if (p->error_indicator) {
  ------------------
  |  Branch (1686:13): [True: 0, False: 129]
  ------------------
 1687|      0|            p->level--;
 1688|      0|            return NULL;
 1689|      0|        }
 1690|    129|        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 !('=' | ':=')"));
 1691|    129|        expr_ty a;
 1692|    129|        Token * b;
 1693|    129|        expr_ty bitwise_or_var;
 1694|    129|        if (
 1695|    129|            _PyPegen_lookahead(0, _tmp_118_rule, p)
  ------------------
  |  Branch (1695:13): [True: 129, False: 0]
  ------------------
 1696|    129|            &&
 1697|    129|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|    129|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (1697:13): [True: 39, False: 90]
  ------------------
 1698|     39|            &&
 1699|     39|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (1699:13): [True: 0, False: 39]
  ------------------
 1700|      0|            &&
 1701|      0|            (bitwise_or_var = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (1701:13): [True: 0, False: 0]
  ------------------
 1702|      0|            &&
 1703|      0|            _PyPegen_lookahead(0, _tmp_117_rule, p)
  ------------------
  |  Branch (1703:13): [True: 0, False: 0]
  ------------------
 1704|    129|        )
 1705|      0|        {
 1706|      0|            D(fprintf(stderr, "%*c+ invalid_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!(list | tuple | genexp | 'True' | 'None' | 'False') bitwise_or '=' bitwise_or !('=' | ':=')"));
 1707|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot assign to %s here. Maybe you meant '==' instead of '='?" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1708|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1708:18): [True: 0, False: 0]
  |  Branch (1708:34): [True: 0, False: 0]
  |  Branch (1708:57): [True: 0, False: 0]
  ------------------
 1709|      0|                p->error_indicator = 1;
 1710|      0|                p->level--;
 1711|      0|                return NULL;
 1712|      0|            }
 1713|      0|            goto done;
 1714|      0|        }
 1715|    129|        p->mark = _mark;
 1716|    129|        D(fprintf(stderr, "%*c%s invalid_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1717|    129|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!(list | tuple | genexp | 'True' | 'None' | 'False') bitwise_or '=' bitwise_or !('=' | ':=')"));
 1718|    129|    }
 1719|    129|    _res = NULL;
 1720|    129|  done:
 1721|    129|    _PyPegen_insert_memo(p, _mark, invalid_named_expression_type, _res);
  ------------------
  |  |   27|    129|#define invalid_named_expression_type 1200
  ------------------
 1722|    129|    p->level--;
 1723|    129|    return _res;
 1724|    129|}
_PyPegen_invalid_comprehension_rule:
 2365|    724|{
 2366|    724|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.44k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2366:9): [True: 0, False: 724]
  |  Branch (2366:35): [True: 0, False: 724]
  ------------------
 2367|      0|        _Pypegen_stack_overflow(p);
 2368|      0|    }
 2369|    724|    if (p->error_indicator) {
  ------------------
  |  Branch (2369:9): [True: 0, False: 724]
  ------------------
 2370|      0|        p->level--;
 2371|      0|        return NULL;
 2372|      0|    }
 2373|    724|    void * _res = NULL;
 2374|    724|    int _mark = p->mark;
 2375|    724|    { // '[' '**' expression for_if_clauses
 2376|    724|        if (p->error_indicator) {
  ------------------
  |  Branch (2376:13): [True: 0, False: 724]
  ------------------
 2377|      0|            p->level--;
 2378|      0|            return NULL;
 2379|      0|        }
 2380|    724|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' '**' expression for_if_clauses"));
 2381|    724|        Token * _literal;
 2382|    724|        Token * a;
 2383|    724|        expr_ty b;
 2384|    724|        asdl_comprehension_seq* for_if_clauses_var;
 2385|    724|        if (
 2386|    724|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (2386:13): [True: 9, False: 715]
  ------------------
 2387|      9|            &&
 2388|      9|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (2388:13): [True: 0, False: 9]
  ------------------
 2389|      0|            &&
 2390|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  |  243|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (2390:13): [True: 0, False: 0]
  ------------------
 2391|      0|            &&
 2392|      0|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  301|      0|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (2392:13): [True: 0, False: 0]
  ------------------
 2393|    724|        )
 2394|      0|        {
 2395|      0|            D(fprintf(stderr, "%*c+ invalid_comprehension[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' '**' expression for_if_clauses"));
 2396|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use dict unpacking in list comprehension" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2397|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2397:18): [True: 0, False: 0]
  |  Branch (2397:34): [True: 0, False: 0]
  |  Branch (2397:57): [True: 0, False: 0]
  ------------------
 2398|      0|                p->error_indicator = 1;
 2399|      0|                p->level--;
 2400|      0|                return NULL;
 2401|      0|            }
 2402|      0|            goto done;
 2403|      0|        }
 2404|    724|        p->mark = _mark;
 2405|    724|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
 2406|    724|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' '**' expression for_if_clauses"));
 2407|    724|    }
 2408|      0|    { // '(' '**' expression for_if_clauses
 2409|    724|        if (p->error_indicator) {
  ------------------
  |  Branch (2409:13): [True: 0, False: 724]
  ------------------
 2410|      0|            p->level--;
 2411|      0|            return NULL;
 2412|      0|        }
 2413|    724|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' '**' expression for_if_clauses"));
 2414|    724|        Token * _literal;
 2415|    724|        Token * a;
 2416|    724|        expr_ty b;
 2417|    724|        asdl_comprehension_seq* for_if_clauses_var;
 2418|    724|        if (
 2419|    724|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (2419:13): [True: 456, False: 268]
  ------------------
 2420|    456|            &&
 2421|    456|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (2421:13): [True: 6, False: 450]
  ------------------
 2422|      6|            &&
 2423|      6|            (b = expression_rule(p))  // expression
  ------------------
  |  |  243|      6|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (2423:13): [True: 6, False: 0]
  ------------------
 2424|      6|            &&
 2425|      6|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  301|      6|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (2425:13): [True: 0, False: 6]
  ------------------
 2426|    724|        )
 2427|      0|        {
 2428|      0|            D(fprintf(stderr, "%*c+ invalid_comprehension[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' '**' expression for_if_clauses"));
 2429|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use dict unpacking in generator expression" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2430|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2430:18): [True: 0, False: 0]
  |  Branch (2430:34): [True: 0, False: 0]
  |  Branch (2430:57): [True: 0, False: 0]
  ------------------
 2431|      0|                p->error_indicator = 1;
 2432|      0|                p->level--;
 2433|      0|                return NULL;
 2434|      0|            }
 2435|      0|            goto done;
 2436|      0|        }
 2437|    724|        p->mark = _mark;
 2438|    724|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
 2439|    724|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' '**' expression for_if_clauses"));
 2440|    724|    }
 2441|      0|    { // ('[' | '{') star_named_expression ',' star_named_expressions for_if_clauses
 2442|    724|        if (p->error_indicator) {
  ------------------
  |  Branch (2442:13): [True: 0, False: 724]
  ------------------
 2443|      0|            p->level--;
 2444|      0|            return NULL;
 2445|      0|        }
 2446|    724|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('[' | '{') star_named_expression ',' star_named_expressions for_if_clauses"));
 2447|    724|        Token * _literal;
 2448|    724|        void *_tmp_121_var;
 2449|    724|        expr_ty a;
 2450|    724|        asdl_expr_seq* b;
 2451|    724|        asdl_comprehension_seq* for_if_clauses_var;
 2452|    724|        if (
 2453|    724|            (_tmp_121_var = _tmp_121_rule(p))  // '[' | '{'
  ------------------
  |  Branch (2453:13): [True: 9, False: 715]
  ------------------
 2454|      9|            &&
 2455|      9|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  |  253|      9|#define star_named_expression_rule _PyPegen_star_named_expression_rule
  ------------------
  |  Branch (2455:13): [True: 9, False: 0]
  ------------------
 2456|      9|            &&
 2457|      9|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (2457:13): [True: 0, False: 9]
  ------------------
 2458|      0|            &&
 2459|      0|            (b = star_named_expressions_rule(p))  // star_named_expressions
  ------------------
  |  |  251|      0|#define star_named_expressions_rule _PyPegen_star_named_expressions_rule
  ------------------
  |  Branch (2459:13): [True: 0, False: 0]
  ------------------
 2460|      0|            &&
 2461|      0|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  301|      0|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (2461:13): [True: 0, False: 0]
  ------------------
 2462|    724|        )
 2463|      0|        {
 2464|      0|            D(fprintf(stderr, "%*c+ invalid_comprehension[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('[' | '{') star_named_expression ',' star_named_expressions for_if_clauses"));
 2465|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , PyPegen_last_item ( b , expr_ty ) , "did you forget parentheses around the comprehension target?" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2466|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2466:18): [True: 0, False: 0]
  |  Branch (2466:34): [True: 0, False: 0]
  |  Branch (2466:57): [True: 0, False: 0]
  ------------------
 2467|      0|                p->error_indicator = 1;
 2468|      0|                p->level--;
 2469|      0|                return NULL;
 2470|      0|            }
 2471|      0|            goto done;
 2472|      0|        }
 2473|    724|        p->mark = _mark;
 2474|    724|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
 2475|    724|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('[' | '{') star_named_expression ',' star_named_expressions for_if_clauses"));
 2476|    724|    }
 2477|      0|    { // ('[' | '{') star_named_expression ',' for_if_clauses
 2478|    724|        if (p->error_indicator) {
  ------------------
  |  Branch (2478:13): [True: 0, False: 724]
  ------------------
 2479|      0|            p->level--;
 2480|      0|            return NULL;
 2481|      0|        }
 2482|    724|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('[' | '{') star_named_expression ',' for_if_clauses"));
 2483|    724|        void *_tmp_121_var;
 2484|    724|        expr_ty a;
 2485|    724|        Token * b;
 2486|    724|        asdl_comprehension_seq* for_if_clauses_var;
 2487|    724|        if (
 2488|    724|            (_tmp_121_var = _tmp_121_rule(p))  // '[' | '{'
  ------------------
  |  Branch (2488:13): [True: 9, False: 715]
  ------------------
 2489|      9|            &&
 2490|      9|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  |  253|      9|#define star_named_expression_rule _PyPegen_star_named_expression_rule
  ------------------
  |  Branch (2490:13): [True: 9, False: 0]
  ------------------
 2491|      9|            &&
 2492|      9|            (b = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (2492:13): [True: 0, False: 9]
  ------------------
 2493|      0|            &&
 2494|      0|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  301|      0|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (2494:13): [True: 0, False: 0]
  ------------------
 2495|    724|        )
 2496|      0|        {
 2497|      0|            D(fprintf(stderr, "%*c+ invalid_comprehension[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('[' | '{') star_named_expression ',' for_if_clauses"));
 2498|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "did you forget parentheses around the comprehension target?" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2499|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2499:18): [True: 0, False: 0]
  |  Branch (2499:34): [True: 0, False: 0]
  |  Branch (2499:57): [True: 0, False: 0]
  ------------------
 2500|      0|                p->error_indicator = 1;
 2501|      0|                p->level--;
 2502|      0|                return NULL;
 2503|      0|            }
 2504|      0|            goto done;
 2505|      0|        }
 2506|    724|        p->mark = _mark;
 2507|    724|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
 2508|    724|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('[' | '{') star_named_expression ',' for_if_clauses"));
 2509|    724|    }
 2510|    724|    _res = NULL;
 2511|    724|  done:
 2512|    724|    p->level--;
 2513|    724|    return _res;
 2514|    724|}
_PyPegen_invalid_default_rule:
 2742|  8.76M|{
 2743|  8.76M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  17.5M|#  define MAXSTACK 6000
  ------------------
  |  Branch (2743:9): [True: 0, False: 8.76M]
  |  Branch (2743:35): [True: 0, False: 8.76M]
  ------------------
 2744|      0|        _Pypegen_stack_overflow(p);
 2745|      0|    }
 2746|  8.76M|    if (p->error_indicator) {
  ------------------
  |  Branch (2746:9): [True: 0, False: 8.76M]
  ------------------
 2747|      0|        p->level--;
 2748|      0|        return NULL;
 2749|      0|    }
 2750|  8.76M|    void * _res = NULL;
 2751|  8.76M|    int _mark = p->mark;
 2752|  8.76M|    { // '=' &(')' | ',')
 2753|  8.76M|        if (p->error_indicator) {
  ------------------
  |  Branch (2753:13): [True: 0, False: 8.76M]
  ------------------
 2754|      0|            p->level--;
 2755|      0|            return NULL;
 2756|      0|        }
 2757|  8.76M|        D(fprintf(stderr, "%*c> invalid_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'=' &(')' | ',')"));
 2758|  8.76M|        Token * a;
 2759|  8.76M|        if (
 2760|  8.76M|            (a = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (2760:13): [True: 1, False: 8.76M]
  ------------------
 2761|      1|            &&
 2762|      1|            _PyPegen_lookahead(1, _tmp_128_rule, p)
  ------------------
  |  Branch (2762:13): [True: 1, False: 0]
  ------------------
 2763|  8.76M|        )
 2764|      1|        {
 2765|      1|            D(fprintf(stderr, "%*c+ invalid_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'=' &(')' | ',')"));
 2766|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expected default value expression" );
  ------------------
  |  |  248|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2767|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2767:18): [True: 1, False: 0]
  |  Branch (2767:34): [True: 0, False: 0]
  |  Branch (2767:57): [True: 1, False: 0]
  ------------------
 2768|      1|                p->error_indicator = 1;
 2769|      1|                p->level--;
 2770|      1|                return NULL;
 2771|      1|            }
 2772|      0|            goto done;
 2773|      1|        }
 2774|  8.76M|        p->mark = _mark;
 2775|  8.76M|        D(fprintf(stderr, "%*c%s invalid_default[%d-%d]: %s failed!\n", p->level, ' ',
 2776|  8.76M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'=' &(')' | ',')"));
 2777|  8.76M|    }
 2778|  8.76M|    _res = NULL;
 2779|  8.76M|  done:
 2780|  8.76M|    p->level--;
 2781|  8.76M|    return _res;
 2782|  8.76M|}
_PyPegen_invalid_lambda_parameters_rule:
 3116|     22|{
 3117|     22|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     44|#  define MAXSTACK 6000
  ------------------
  |  Branch (3117:9): [True: 0, False: 22]
  |  Branch (3117:35): [True: 0, False: 22]
  ------------------
 3118|      0|        _Pypegen_stack_overflow(p);
 3119|      0|    }
 3120|     22|    if (p->error_indicator) {
  ------------------
  |  Branch (3120:9): [True: 0, False: 22]
  ------------------
 3121|      0|        p->level--;
 3122|      0|        return NULL;
 3123|      0|    }
 3124|     22|    void * _res = NULL;
 3125|     22|    int _mark = p->mark;
 3126|     22|    { // "/" ','
 3127|     22|        if (p->error_indicator) {
  ------------------
  |  Branch (3127:13): [True: 0, False: 22]
  ------------------
 3128|      0|            p->level--;
 3129|      0|            return NULL;
 3130|      0|        }
 3131|     22|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"/\" ','"));
 3132|     22|        Token * _literal;
 3133|     22|        Token * a;
 3134|     22|        if (
 3135|     22|            (a = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (3135:13): [True: 0, False: 22]
  ------------------
 3136|      0|            &&
 3137|      0|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (3137:13): [True: 0, False: 0]
  ------------------
 3138|     22|        )
 3139|      0|        {
 3140|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"/\" ','"));
 3141|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "at least one parameter must precede /" );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3142|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3142:18): [True: 0, False: 0]
  |  Branch (3142:34): [True: 0, False: 0]
  |  Branch (3142:57): [True: 0, False: 0]
  ------------------
 3143|      0|                p->error_indicator = 1;
 3144|      0|                p->level--;
 3145|      0|                return NULL;
 3146|      0|            }
 3147|      0|            goto done;
 3148|      0|        }
 3149|     22|        p->mark = _mark;
 3150|     22|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
 3151|     22|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"/\" ','"));
 3152|     22|    }
 3153|      0|    { // (lambda_slash_no_default | lambda_slash_with_default) lambda_param_maybe_default* '/'
 3154|     22|        if (p->error_indicator) {
  ------------------
  |  Branch (3154:13): [True: 0, False: 22]
  ------------------
 3155|      0|            p->level--;
 3156|      0|            return NULL;
 3157|      0|        }
 3158|     22|        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* '/'"));
 3159|     22|        asdl_seq * _loop0_134_var;
 3160|     22|        void *_tmp_133_var;
 3161|     22|        Token * a;
 3162|     22|        if (
 3163|     22|            (_tmp_133_var = _tmp_133_rule(p))  // lambda_slash_no_default | lambda_slash_with_default
  ------------------
  |  Branch (3163:13): [True: 0, False: 22]
  ------------------
 3164|      0|            &&
 3165|      0|            (_loop0_134_var = _loop0_134_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (3165:13): [True: 0, False: 0]
  ------------------
 3166|      0|            &&
 3167|      0|            (a = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (3167:13): [True: 0, False: 0]
  ------------------
 3168|     22|        )
 3169|      0|        {
 3170|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(lambda_slash_no_default | lambda_slash_with_default) lambda_param_maybe_default* '/'"));
 3171|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "/ may appear only once" );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3172|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3172:18): [True: 0, False: 0]
  |  Branch (3172:34): [True: 0, False: 0]
  |  Branch (3172:57): [True: 0, False: 0]
  ------------------
 3173|      0|                p->error_indicator = 1;
 3174|      0|                p->level--;
 3175|      0|                return NULL;
 3176|      0|            }
 3177|      0|            goto done;
 3178|      0|        }
 3179|     22|        p->mark = _mark;
 3180|     22|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
 3181|     22|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(lambda_slash_no_default | lambda_slash_with_default) lambda_param_maybe_default* '/'"));
 3182|     22|    }
 3183|      0|    { // lambda_slash_no_default? lambda_param_no_default* invalid_lambda_parameters_helper lambda_param_no_default
 3184|     22|        if (p->error_indicator) {
  ------------------
  |  Branch (3184:13): [True: 1, False: 21]
  ------------------
 3185|      1|            p->level--;
 3186|      1|            return NULL;
 3187|      1|        }
 3188|     21|        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"));
 3189|     21|        asdl_seq * _loop0_135_var;
 3190|     21|        void *_opt_var;
 3191|     21|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|     21|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 21]
  |  |  ------------------
  ------------------
 3192|     21|        arg_ty a;
 3193|     21|        void *invalid_lambda_parameters_helper_var;
 3194|     21|        if (
 3195|     21|            (_opt_var = lambda_slash_no_default_rule(p), !p->error_indicator)  // lambda_slash_no_default?
  ------------------
  |  |  275|     21|#define lambda_slash_no_default_rule _PyPegen_lambda_slash_no_default_rule
  ------------------
  |  Branch (3195:13): [True: 21, False: 0]
  ------------------
 3196|     21|            &&
 3197|     21|            (_loop0_135_var = _loop0_135_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (3197:13): [True: 21, False: 0]
  ------------------
 3198|     21|            &&
 3199|     21|            (invalid_lambda_parameters_helper_var = invalid_lambda_parameters_helper_rule(p))  // invalid_lambda_parameters_helper
  ------------------
  |  Branch (3199:13): [True: 0, False: 21]
  ------------------
 3200|      0|            &&
 3201|      0|            (a = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  |  279|      0|#define lambda_param_no_default_rule _PyPegen_lambda_param_no_default_rule
  ------------------
  |  Branch (3201:13): [True: 0, False: 0]
  ------------------
 3202|     21|        )
 3203|      0|        {
 3204|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default? lambda_param_no_default* invalid_lambda_parameters_helper lambda_param_no_default"));
 3205|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "parameter without a default follows parameter with a default" );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3206|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3206:18): [True: 0, False: 0]
  |  Branch (3206:34): [True: 0, False: 0]
  |  Branch (3206:57): [True: 0, False: 0]
  ------------------
 3207|      0|                p->error_indicator = 1;
 3208|      0|                p->level--;
 3209|      0|                return NULL;
 3210|      0|            }
 3211|      0|            goto done;
 3212|      0|        }
 3213|     21|        p->mark = _mark;
 3214|     21|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
 3215|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_no_default? lambda_param_no_default* invalid_lambda_parameters_helper lambda_param_no_default"));
 3216|     21|    }
 3217|      0|    { // lambda_param_no_default* '(' ','.lambda_param+ ','? ')'
 3218|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (3218:13): [True: 0, False: 21]
  ------------------
 3219|      0|            p->level--;
 3220|      0|            return NULL;
 3221|      0|        }
 3222|     21|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default* '(' ','.lambda_param+ ','? ')'"));
 3223|     21|        asdl_seq * _gather_137_var;
 3224|     21|        asdl_seq * _loop0_135_var;
 3225|     21|        void *_opt_var;
 3226|     21|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|     21|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 21]
  |  |  ------------------
  ------------------
 3227|     21|        Token * a;
 3228|     21|        Token * b;
 3229|     21|        if (
 3230|     21|            (_loop0_135_var = _loop0_135_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (3230:13): [True: 21, False: 0]
  ------------------
 3231|     21|            &&
 3232|     21|            (a = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (3232:13): [True: 0, False: 21]
  ------------------
 3233|      0|            &&
 3234|      0|            (_gather_137_var = _gather_137_rule(p))  // ','.lambda_param+
  ------------------
  |  Branch (3234:13): [True: 0, False: 0]
  ------------------
 3235|      0|            &&
 3236|      0|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (3236:13): [True: 0, False: 0]
  ------------------
 3237|      0|            &&
 3238|      0|            (b = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (3238:13): [True: 0, False: 0]
  ------------------
 3239|     21|        )
 3240|      0|        {
 3241|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default* '(' ','.lambda_param+ ','? ')'"));
 3242|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "Lambda expression parameters cannot be parenthesized" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3243|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3243:18): [True: 0, False: 0]
  |  Branch (3243:34): [True: 0, False: 0]
  |  Branch (3243:57): [True: 0, False: 0]
  ------------------
 3244|      0|                p->error_indicator = 1;
 3245|      0|                p->level--;
 3246|      0|                return NULL;
 3247|      0|            }
 3248|      0|            goto done;
 3249|      0|        }
 3250|     21|        p->mark = _mark;
 3251|     21|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
 3252|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default* '(' ','.lambda_param+ ','? ')'"));
 3253|     21|    }
 3254|      0|    { // [(lambda_slash_no_default | lambda_slash_with_default)] lambda_param_maybe_default* '*' (',' | lambda_param_no_default) lambda_param_maybe_default* '/'
 3255|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (3255:13): [True: 0, False: 21]
  ------------------
 3256|      0|            p->level--;
 3257|      0|            return NULL;
 3258|      0|        }
 3259|     21|        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* '/'"));
 3260|     21|        Token * _literal;
 3261|     21|        asdl_seq * _loop0_134_var;
 3262|     21|        asdl_seq * _loop0_134_var_1;
 3263|     21|        void *_opt_var;
 3264|     21|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|     21|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 21]
  |  |  ------------------
  ------------------
 3265|     21|        void *_tmp_138_var;
 3266|     21|        Token * a;
 3267|     21|        if (
 3268|     21|            (_opt_var = _tmp_133_rule(p), !p->error_indicator)  // [(lambda_slash_no_default | lambda_slash_with_default)]
  ------------------
  |  Branch (3268:13): [True: 21, False: 0]
  ------------------
 3269|     21|            &&
 3270|     21|            (_loop0_134_var = _loop0_134_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (3270:13): [True: 21, False: 0]
  ------------------
 3271|     21|            &&
 3272|     21|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (3272:13): [True: 0, False: 21]
  ------------------
 3273|      0|            &&
 3274|      0|            (_tmp_138_var = _tmp_138_rule(p))  // ',' | lambda_param_no_default
  ------------------
  |  Branch (3274:13): [True: 0, False: 0]
  ------------------
 3275|      0|            &&
 3276|      0|            (_loop0_134_var_1 = _loop0_134_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (3276:13): [True: 0, False: 0]
  ------------------
 3277|      0|            &&
 3278|      0|            (a = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (3278:13): [True: 0, False: 0]
  ------------------
 3279|     21|        )
 3280|      0|        {
 3281|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "[(lambda_slash_no_default | lambda_slash_with_default)] lambda_param_maybe_default* '*' (',' | lambda_param_no_default) lambda_param_maybe_default* '/'"));
 3282|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "/ must be ahead of *" );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3283|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3283:18): [True: 0, False: 0]
  |  Branch (3283:34): [True: 0, False: 0]
  |  Branch (3283:57): [True: 0, False: 0]
  ------------------
 3284|      0|                p->error_indicator = 1;
 3285|      0|                p->level--;
 3286|      0|                return NULL;
 3287|      0|            }
 3288|      0|            goto done;
 3289|      0|        }
 3290|     21|        p->mark = _mark;
 3291|     21|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
 3292|     21|                  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* '/'"));
 3293|     21|    }
 3294|      0|    { // lambda_param_maybe_default+ '/' '*'
 3295|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (3295:13): [True: 0, False: 21]
  ------------------
 3296|      0|            p->level--;
 3297|      0|            return NULL;
 3298|      0|        }
 3299|     21|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_maybe_default+ '/' '*'"));
 3300|     21|        Token * _literal;
 3301|     21|        asdl_seq * _loop1_139_var;
 3302|     21|        Token * a;
 3303|     21|        if (
 3304|     21|            (_loop1_139_var = _loop1_139_rule(p))  // lambda_param_maybe_default+
  ------------------
  |  Branch (3304:13): [True: 21, False: 0]
  ------------------
 3305|     21|            &&
 3306|     21|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (3306:13): [True: 0, False: 21]
  ------------------
 3307|      0|            &&
 3308|      0|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (3308:13): [True: 0, False: 0]
  ------------------
 3309|     21|        )
 3310|      0|        {
 3311|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_maybe_default+ '/' '*'"));
 3312|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expected comma between / and *" );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3313|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3313:18): [True: 0, False: 0]
  |  Branch (3313:34): [True: 0, False: 0]
  |  Branch (3313:57): [True: 0, False: 0]
  ------------------
 3314|      0|                p->error_indicator = 1;
 3315|      0|                p->level--;
 3316|      0|                return NULL;
 3317|      0|            }
 3318|      0|            goto done;
 3319|      0|        }
 3320|     21|        p->mark = _mark;
 3321|     21|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
 3322|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_maybe_default+ '/' '*'"));
 3323|     21|    }
 3324|     21|    _res = NULL;
 3325|     21|  done:
 3326|     21|    p->level--;
 3327|     21|    return _res;
 3328|     21|}
_PyPegen_invalid_lambda_star_etc_rule:
 3400|     21|{
 3401|     21|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (3401:9): [True: 0, False: 21]
  |  Branch (3401:35): [True: 0, False: 21]
  ------------------
 3402|      0|        _Pypegen_stack_overflow(p);
 3403|      0|    }
 3404|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (3404:9): [True: 0, False: 21]
  ------------------
 3405|      0|        p->level--;
 3406|      0|        return NULL;
 3407|      0|    }
 3408|     21|    void * _res = NULL;
 3409|     21|    int _mark = p->mark;
 3410|     21|    { // '*' (':' | ',' (':' | '**'))
 3411|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (3411:13): [True: 0, False: 21]
  ------------------
 3412|      0|            p->level--;
 3413|      0|            return NULL;
 3414|      0|        }
 3415|     21|        D(fprintf(stderr, "%*c> invalid_lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' (':' | ',' (':' | '**'))"));
 3416|     21|        Token * _literal;
 3417|     21|        void *_tmp_141_var;
 3418|     21|        if (
 3419|     21|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (3419:13): [True: 0, False: 21]
  ------------------
 3420|      0|            &&
 3421|      0|            (_tmp_141_var = _tmp_141_rule(p))  // ':' | ',' (':' | '**')
  ------------------
  |  Branch (3421:13): [True: 0, False: 0]
  ------------------
 3422|     21|        )
 3423|      0|        {
 3424|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' (':' | ',' (':' | '**'))"));
 3425|      0|            _res = RAISE_SYNTAX_ERROR ( "named parameters must follow bare *" );
  ------------------
  |  |  242|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 3426|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3426:18): [True: 0, False: 0]
  |  Branch (3426:34): [True: 0, False: 0]
  |  Branch (3426:57): [True: 0, False: 0]
  ------------------
 3427|      0|                p->error_indicator = 1;
 3428|      0|                p->level--;
 3429|      0|                return NULL;
 3430|      0|            }
 3431|      0|            goto done;
 3432|      0|        }
 3433|     21|        p->mark = _mark;
 3434|     21|        D(fprintf(stderr, "%*c%s invalid_lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 3435|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' (':' | ',' (':' | '**'))"));
 3436|     21|    }
 3437|      0|    { // '*' lambda_param '='
 3438|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (3438:13): [True: 0, False: 21]
  ------------------
 3439|      0|            p->level--;
 3440|      0|            return NULL;
 3441|      0|        }
 3442|     21|        D(fprintf(stderr, "%*c> invalid_lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' lambda_param '='"));
 3443|     21|        Token * _literal;
 3444|     21|        Token * a;
 3445|     21|        arg_ty lambda_param_var;
 3446|     21|        if (
 3447|     21|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (3447:13): [True: 0, False: 21]
  ------------------
 3448|      0|            &&
 3449|      0|            (lambda_param_var = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  285|      0|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (3449:13): [True: 0, False: 0]
  ------------------
 3450|      0|            &&
 3451|      0|            (a = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (3451:13): [True: 0, False: 0]
  ------------------
 3452|     21|        )
 3453|      0|        {
 3454|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' lambda_param '='"));
 3455|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "var-positional parameter cannot have default value" );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3456|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3456:18): [True: 0, False: 0]
  |  Branch (3456:34): [True: 0, False: 0]
  |  Branch (3456:57): [True: 0, False: 0]
  ------------------
 3457|      0|                p->error_indicator = 1;
 3458|      0|                p->level--;
 3459|      0|                return NULL;
 3460|      0|            }
 3461|      0|            goto done;
 3462|      0|        }
 3463|     21|        p->mark = _mark;
 3464|     21|        D(fprintf(stderr, "%*c%s invalid_lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 3465|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' lambda_param '='"));
 3466|     21|    }
 3467|      0|    { // '*' (lambda_param_no_default | ',') lambda_param_maybe_default* '*' (lambda_param_no_default | ',')
 3468|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (3468:13): [True: 0, False: 21]
  ------------------
 3469|      0|            p->level--;
 3470|      0|            return NULL;
 3471|      0|        }
 3472|     21|        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 | ',')"));
 3473|     21|        Token * _literal;
 3474|     21|        asdl_seq * _loop0_134_var;
 3475|     21|        void *_tmp_142_var;
 3476|     21|        void *_tmp_142_var_1;
 3477|     21|        Token * a;
 3478|     21|        if (
 3479|     21|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (3479:13): [True: 0, False: 21]
  ------------------
 3480|      0|            &&
 3481|      0|            (_tmp_142_var = _tmp_142_rule(p))  // lambda_param_no_default | ','
  ------------------
  |  Branch (3481:13): [True: 0, False: 0]
  ------------------
 3482|      0|            &&
 3483|      0|            (_loop0_134_var = _loop0_134_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (3483:13): [True: 0, False: 0]
  ------------------
 3484|      0|            &&
 3485|      0|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (3485:13): [True: 0, False: 0]
  ------------------
 3486|      0|            &&
 3487|      0|            (_tmp_142_var_1 = _tmp_142_rule(p))  // lambda_param_no_default | ','
  ------------------
  |  Branch (3487:13): [True: 0, False: 0]
  ------------------
 3488|     21|        )
 3489|      0|        {
 3490|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' (lambda_param_no_default | ',') lambda_param_maybe_default* '*' (lambda_param_no_default | ',')"));
 3491|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "* may appear only once" );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3492|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3492:18): [True: 0, False: 0]
  |  Branch (3492:34): [True: 0, False: 0]
  |  Branch (3492:57): [True: 0, False: 0]
  ------------------
 3493|      0|                p->error_indicator = 1;
 3494|      0|                p->level--;
 3495|      0|                return NULL;
 3496|      0|            }
 3497|      0|            goto done;
 3498|      0|        }
 3499|     21|        p->mark = _mark;
 3500|     21|        D(fprintf(stderr, "%*c%s invalid_lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 3501|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' (lambda_param_no_default | ',') lambda_param_maybe_default* '*' (lambda_param_no_default | ',')"));
 3502|     21|    }
 3503|     21|    _res = NULL;
 3504|     21|  done:
 3505|     21|    p->level--;
 3506|     21|    return _res;
 3507|     21|}
_PyPegen_invalid_lambda_kwds_rule:
 3515|     21|{
 3516|     21|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (3516:9): [True: 0, False: 21]
  |  Branch (3516:35): [True: 0, False: 21]
  ------------------
 3517|      0|        _Pypegen_stack_overflow(p);
 3518|      0|    }
 3519|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (3519:9): [True: 0, False: 21]
  ------------------
 3520|      0|        p->level--;
 3521|      0|        return NULL;
 3522|      0|    }
 3523|     21|    void * _res = NULL;
 3524|     21|    int _mark = p->mark;
 3525|     21|    { // '**' lambda_param '='
 3526|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (3526:13): [True: 0, False: 21]
  ------------------
 3527|      0|            p->level--;
 3528|      0|            return NULL;
 3529|      0|        }
 3530|     21|        D(fprintf(stderr, "%*c> invalid_lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param '='"));
 3531|     21|        Token * _literal;
 3532|     21|        Token * a;
 3533|     21|        arg_ty lambda_param_var;
 3534|     21|        if (
 3535|     21|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (3535:13): [True: 0, False: 21]
  ------------------
 3536|      0|            &&
 3537|      0|            (lambda_param_var = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  285|      0|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (3537:13): [True: 0, False: 0]
  ------------------
 3538|      0|            &&
 3539|      0|            (a = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (3539:13): [True: 0, False: 0]
  ------------------
 3540|     21|        )
 3541|      0|        {
 3542|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' lambda_param '='"));
 3543|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "var-keyword parameter cannot have default value" );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3544|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3544:18): [True: 0, False: 0]
  |  Branch (3544:34): [True: 0, False: 0]
  |  Branch (3544:57): [True: 0, False: 0]
  ------------------
 3545|      0|                p->error_indicator = 1;
 3546|      0|                p->level--;
 3547|      0|                return NULL;
 3548|      0|            }
 3549|      0|            goto done;
 3550|      0|        }
 3551|     21|        p->mark = _mark;
 3552|     21|        D(fprintf(stderr, "%*c%s invalid_lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
 3553|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param '='"));
 3554|     21|    }
 3555|      0|    { // '**' lambda_param ',' lambda_param
 3556|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (3556:13): [True: 0, False: 21]
  ------------------
 3557|      0|            p->level--;
 3558|      0|            return NULL;
 3559|      0|        }
 3560|     21|        D(fprintf(stderr, "%*c> invalid_lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param ',' lambda_param"));
 3561|     21|        Token * _literal;
 3562|     21|        Token * _literal_1;
 3563|     21|        arg_ty a;
 3564|     21|        arg_ty lambda_param_var;
 3565|     21|        if (
 3566|     21|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (3566:13): [True: 0, False: 21]
  ------------------
 3567|      0|            &&
 3568|      0|            (lambda_param_var = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  285|      0|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (3568:13): [True: 0, False: 0]
  ------------------
 3569|      0|            &&
 3570|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (3570:13): [True: 0, False: 0]
  ------------------
 3571|      0|            &&
 3572|      0|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  285|      0|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (3572:13): [True: 0, False: 0]
  ------------------
 3573|     21|        )
 3574|      0|        {
 3575|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' lambda_param ',' lambda_param"));
 3576|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "parameters cannot follow var-keyword parameter" );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3577|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3577:18): [True: 0, False: 0]
  |  Branch (3577:34): [True: 0, False: 0]
  |  Branch (3577:57): [True: 0, False: 0]
  ------------------
 3578|      0|                p->error_indicator = 1;
 3579|      0|                p->level--;
 3580|      0|                return NULL;
 3581|      0|            }
 3582|      0|            goto done;
 3583|      0|        }
 3584|     21|        p->mark = _mark;
 3585|     21|        D(fprintf(stderr, "%*c%s invalid_lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
 3586|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param ',' lambda_param"));
 3587|     21|    }
 3588|      0|    { // '**' lambda_param ',' ('*' | '**' | '/')
 3589|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (3589:13): [True: 0, False: 21]
  ------------------
 3590|      0|            p->level--;
 3591|      0|            return NULL;
 3592|      0|        }
 3593|     21|        D(fprintf(stderr, "%*c> invalid_lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param ',' ('*' | '**' | '/')"));
 3594|     21|        Token * _literal;
 3595|     21|        Token * _literal_1;
 3596|     21|        Token* a;
 3597|     21|        arg_ty lambda_param_var;
 3598|     21|        if (
 3599|     21|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (3599:13): [True: 0, False: 21]
  ------------------
 3600|      0|            &&
 3601|      0|            (lambda_param_var = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  285|      0|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (3601:13): [True: 0, False: 0]
  ------------------
 3602|      0|            &&
 3603|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (3603:13): [True: 0, False: 0]
  ------------------
 3604|      0|            &&
 3605|      0|            (a = (Token*)_tmp_131_rule(p))  // '*' | '**' | '/'
  ------------------
  |  Branch (3605:13): [True: 0, False: 0]
  ------------------
 3606|     21|        )
 3607|      0|        {
 3608|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' lambda_param ',' ('*' | '**' | '/')"));
 3609|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "parameters cannot follow var-keyword parameter" );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3610|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3610:18): [True: 0, False: 0]
  |  Branch (3610:34): [True: 0, False: 0]
  |  Branch (3610:57): [True: 0, False: 0]
  ------------------
 3611|      0|                p->error_indicator = 1;
 3612|      0|                p->level--;
 3613|      0|                return NULL;
 3614|      0|            }
 3615|      0|            goto done;
 3616|      0|        }
 3617|     21|        p->mark = _mark;
 3618|     21|        D(fprintf(stderr, "%*c%s invalid_lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
 3619|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param ',' ('*' | '**' | '/')"));
 3620|     21|    }
 3621|     21|    _res = NULL;
 3622|     21|  done:
 3623|     21|    p->level--;
 3624|     21|    return _res;
 3625|     21|}
_PyPegen_invalid_for_if_clause_rule:
 3736|    621|{
 3737|    621|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.24k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3737:9): [True: 0, False: 621]
  |  Branch (3737:35): [True: 0, False: 621]
  ------------------
 3738|      0|        _Pypegen_stack_overflow(p);
 3739|      0|    }
 3740|    621|    if (p->error_indicator) {
  ------------------
  |  Branch (3740:9): [True: 0, False: 621]
  ------------------
 3741|      0|        p->level--;
 3742|      0|        return NULL;
 3743|      0|    }
 3744|    621|    void * _res = NULL;
 3745|    621|    int _mark = p->mark;
 3746|    621|    { // 'async'? 'for' (bitwise_or ((',' bitwise_or))* ','?) !'in'
 3747|    621|        if (p->error_indicator) {
  ------------------
  |  Branch (3747:13): [True: 0, False: 621]
  ------------------
 3748|      0|            p->level--;
 3749|      0|            return NULL;
 3750|      0|        }
 3751|    621|        D(fprintf(stderr, "%*c> invalid_for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'for' (bitwise_or ((',' bitwise_or))* ','?) !'in'"));
 3752|    621|        Token * _keyword;
 3753|    621|        void *_opt_var;
 3754|    621|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|    621|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 621]
  |  |  ------------------
  ------------------
 3755|    621|        void *_tmp_144_var;
 3756|    621|        if (
 3757|    621|            (_opt_var = _PyPegen_expect_token(p, 513), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (3757:13): [True: 621, False: 0]
  ------------------
 3758|    621|            &&
 3759|    621|            (_keyword = _PyPegen_expect_token(p, 517))  // token='for'
  ------------------
  |  Branch (3759:13): [True: 0, False: 621]
  ------------------
 3760|      0|            &&
 3761|      0|            (_tmp_144_var = _tmp_144_rule(p))  // bitwise_or ((',' bitwise_or))* ','?
  ------------------
  |  Branch (3761:13): [True: 0, False: 0]
  ------------------
 3762|      0|            &&
 3763|      0|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 523)  // token='in'
  ------------------
  |  Branch (3763:13): [True: 0, False: 0]
  ------------------
 3764|    621|        )
 3765|      0|        {
 3766|      0|            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'"));
 3767|      0|            _res = RAISE_SYNTAX_ERROR ( "'in' expected after for-loop variables" );
  ------------------
  |  |  242|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 3768|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3768:18): [True: 0, False: 0]
  |  Branch (3768:34): [True: 0, False: 0]
  |  Branch (3768:57): [True: 0, False: 0]
  ------------------
 3769|      0|                p->error_indicator = 1;
 3770|      0|                p->level--;
 3771|      0|                return NULL;
 3772|      0|            }
 3773|      0|            goto done;
 3774|      0|        }
 3775|    621|        p->mark = _mark;
 3776|    621|        D(fprintf(stderr, "%*c%s invalid_for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
 3777|    621|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'for' (bitwise_or ((',' bitwise_or))* ','?) !'in'"));
 3778|    621|    }
 3779|    621|    _res = NULL;
 3780|    621|  done:
 3781|    621|    p->level--;
 3782|    621|    return _res;
 3783|    621|}
_PyPegen_invalid_for_target_rule:
 3788|    621|{
 3789|    621|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.24k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3789:9): [True: 0, False: 621]
  |  Branch (3789:35): [True: 0, False: 621]
  ------------------
 3790|      0|        _Pypegen_stack_overflow(p);
 3791|      0|    }
 3792|    621|    if (p->error_indicator) {
  ------------------
  |  Branch (3792:9): [True: 0, False: 621]
  ------------------
 3793|      0|        p->level--;
 3794|      0|        return NULL;
 3795|      0|    }
 3796|    621|    void * _res = NULL;
 3797|    621|    int _mark = p->mark;
 3798|    621|    { // 'async'? 'for' star_expressions
 3799|    621|        if (p->error_indicator) {
  ------------------
  |  Branch (3799:13): [True: 0, False: 621]
  ------------------
 3800|      0|            p->level--;
 3801|      0|            return NULL;
 3802|      0|        }
 3803|    621|        D(fprintf(stderr, "%*c> invalid_for_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'for' star_expressions"));
 3804|    621|        Token * _keyword;
 3805|    621|        void *_opt_var;
 3806|    621|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|    621|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 621]
  |  |  ------------------
  ------------------
 3807|    621|        expr_ty a;
 3808|    621|        if (
 3809|    621|            (_opt_var = _PyPegen_expect_token(p, 513), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (3809:13): [True: 621, False: 0]
  ------------------
 3810|    621|            &&
 3811|    621|            (_keyword = _PyPegen_expect_token(p, 517))  // token='for'
  ------------------
  |  Branch (3811:13): [True: 0, False: 621]
  ------------------
 3812|      0|            &&
 3813|      0|            (a = star_expressions_rule(p))  // star_expressions
  ------------------
  |  |  249|      0|#define star_expressions_rule _PyPegen_star_expressions_rule
  ------------------
  |  Branch (3813:13): [True: 0, False: 0]
  ------------------
 3814|    621|        )
 3815|      0|        {
 3816|      0|            D(fprintf(stderr, "%*c+ invalid_for_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'for' star_expressions"));
 3817|      0|            _res = RAISE_SYNTAX_ERROR_INVALID_TARGET ( FOR_TARGETS , a );
  ------------------
  |  |  251|      0|#define RAISE_SYNTAX_ERROR_INVALID_TARGET(type, e) _RAISE_SYNTAX_ERROR_INVALID_TARGET(p, type, e)
  ------------------
 3818|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3818:18): [True: 0, False: 0]
  |  Branch (3818:34): [True: 0, False: 0]
  |  Branch (3818:57): [True: 0, False: 0]
  ------------------
 3819|      0|                p->error_indicator = 1;
 3820|      0|                p->level--;
 3821|      0|                return NULL;
 3822|      0|            }
 3823|      0|            goto done;
 3824|      0|        }
 3825|    621|        p->mark = _mark;
 3826|    621|        D(fprintf(stderr, "%*c%s invalid_for_target[%d-%d]: %s failed!\n", p->level, ' ',
 3827|    621|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'for' star_expressions"));
 3828|    621|    }
 3829|    621|    _res = NULL;
 3830|    621|  done:
 3831|    621|    p->level--;
 3832|    621|    return _res;
 3833|    621|}
_PyPegen_invalid_group_rule:
 3838|    120|{
 3839|    120|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    240|#  define MAXSTACK 6000
  ------------------
  |  Branch (3839:9): [True: 0, False: 120]
  |  Branch (3839:35): [True: 0, False: 120]
  ------------------
 3840|      0|        _Pypegen_stack_overflow(p);
 3841|      0|    }
 3842|    120|    if (p->error_indicator) {
  ------------------
  |  Branch (3842:9): [True: 0, False: 120]
  ------------------
 3843|      0|        p->level--;
 3844|      0|        return NULL;
 3845|      0|    }
 3846|    120|    void * _res = NULL;
 3847|    120|    int _mark = p->mark;
 3848|    120|    { // '(' starred_expression ')'
 3849|    120|        if (p->error_indicator) {
  ------------------
  |  Branch (3849:13): [True: 0, False: 120]
  ------------------
 3850|      0|            p->level--;
 3851|      0|            return NULL;
 3852|      0|        }
 3853|    120|        D(fprintf(stderr, "%*c> invalid_group[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' starred_expression ')'"));
 3854|    120|        Token * _literal;
 3855|    120|        Token * _literal_1;
 3856|    120|        expr_ty a;
 3857|    120|        if (
 3858|    120|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (3858:13): [True: 120, False: 0]
  ------------------
 3859|    120|            &&
 3860|    120|            (a = starred_expression_rule(p))  // starred_expression
  ------------------
  |  |  311|    120|#define starred_expression_rule _PyPegen_starred_expression_rule
  ------------------
  |  Branch (3860:13): [True: 42, False: 78]
  ------------------
 3861|     42|            &&
 3862|     42|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (3862:13): [True: 0, False: 42]
  ------------------
 3863|    120|        )
 3864|      0|        {
 3865|      0|            D(fprintf(stderr, "%*c+ invalid_group[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' starred_expression ')'"));
 3866|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use starred expression here" );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3867|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3867:18): [True: 0, False: 0]
  |  Branch (3867:34): [True: 0, False: 0]
  |  Branch (3867:57): [True: 0, False: 0]
  ------------------
 3868|      0|                p->error_indicator = 1;
 3869|      0|                p->level--;
 3870|      0|                return NULL;
 3871|      0|            }
 3872|      0|            goto done;
 3873|      0|        }
 3874|    120|        p->mark = _mark;
 3875|    120|        D(fprintf(stderr, "%*c%s invalid_group[%d-%d]: %s failed!\n", p->level, ' ',
 3876|    120|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' starred_expression ')'"));
 3877|    120|    }
 3878|      0|    { // '(' '**' expression ')'
 3879|    120|        if (p->error_indicator) {
  ------------------
  |  Branch (3879:13): [True: 0, False: 120]
  ------------------
 3880|      0|            p->level--;
 3881|      0|            return NULL;
 3882|      0|        }
 3883|    120|        D(fprintf(stderr, "%*c> invalid_group[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' '**' expression ')'"));
 3884|    120|        Token * _literal;
 3885|    120|        Token * _literal_1;
 3886|    120|        Token * a;
 3887|    120|        expr_ty expression_var;
 3888|    120|        if (
 3889|    120|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (3889:13): [True: 120, False: 0]
  ------------------
 3890|    120|            &&
 3891|    120|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (3891:13): [True: 0, False: 120]
  ------------------
 3892|      0|            &&
 3893|      0|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (3893:13): [True: 0, False: 0]
  ------------------
 3894|      0|            &&
 3895|      0|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (3895:13): [True: 0, False: 0]
  ------------------
 3896|    120|        )
 3897|      0|        {
 3898|      0|            D(fprintf(stderr, "%*c+ invalid_group[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' '**' expression ')'"));
 3899|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use double starred expression here" );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3900|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3900:18): [True: 0, False: 0]
  |  Branch (3900:34): [True: 0, False: 0]
  |  Branch (3900:57): [True: 0, False: 0]
  ------------------
 3901|      0|                p->error_indicator = 1;
 3902|      0|                p->level--;
 3903|      0|                return NULL;
 3904|      0|            }
 3905|      0|            goto done;
 3906|      0|        }
 3907|    120|        p->mark = _mark;
 3908|    120|        D(fprintf(stderr, "%*c%s invalid_group[%d-%d]: %s failed!\n", p->level, ' ',
 3909|    120|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' '**' expression ')'"));
 3910|    120|    }
 3911|    120|    _res = NULL;
 3912|    120|  done:
 3913|    120|    p->level--;
 3914|    120|    return _res;
 3915|    120|}
_PyPegen_invalid_double_starred_kvpairs_rule:
 6354|      2|{
 6355|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (6355:9): [True: 0, False: 2]
  |  Branch (6355:35): [True: 0, False: 2]
  ------------------
 6356|      0|        _Pypegen_stack_overflow(p);
 6357|      0|    }
 6358|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (6358:9): [True: 0, False: 2]
  ------------------
 6359|      0|        p->level--;
 6360|      0|        return NULL;
 6361|      0|    }
 6362|      2|    void * _res = NULL;
 6363|      2|    int _mark = p->mark;
 6364|      2|    { // invalid_kvpair_unpacking ','?
 6365|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (6365:13): [True: 0, False: 2]
  ------------------
 6366|      0|            p->level--;
 6367|      0|            return NULL;
 6368|      0|        }
 6369|      2|        D(fprintf(stderr, "%*c> invalid_double_starred_kvpairs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kvpair_unpacking ','?"));
 6370|      2|        void *_opt_var;
 6371|      2|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
 6372|      2|        void *invalid_kvpair_unpacking_var;
 6373|      2|        if (
 6374|      2|            (invalid_kvpair_unpacking_var = invalid_kvpair_unpacking_rule(p))  // invalid_kvpair_unpacking
  ------------------
  |  Branch (6374:13): [True: 0, False: 2]
  ------------------
 6375|      0|            &&
 6376|      0|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (6376:13): [True: 0, False: 0]
  ------------------
 6377|      2|        )
 6378|      0|        {
 6379|      0|            D(fprintf(stderr, "%*c+ invalid_double_starred_kvpairs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kvpair_unpacking ','?"));
 6380|      0|            _res = _PyPegen_dummy_name(p, invalid_kvpair_unpacking_var, _opt_var);
 6381|      0|            goto done;
 6382|      0|        }
 6383|      2|        p->mark = _mark;
 6384|      2|        D(fprintf(stderr, "%*c%s invalid_double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
 6385|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kvpair_unpacking ','?"));
 6386|      2|    }
 6387|      0|    { // ','.double_starred_kvpair+ ',' (invalid_kvpair | invalid_kvpair_unpacking)
 6388|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (6388:13): [True: 0, False: 2]
  ------------------
 6389|      0|            p->level--;
 6390|      0|            return NULL;
 6391|      0|        }
 6392|      2|        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)"));
 6393|      2|        asdl_seq * _gather_165_var;
 6394|      2|        Token * _literal;
 6395|      2|        void *_tmp_166_var;
 6396|      2|        if (
 6397|      2|            (_gather_165_var = _gather_165_rule(p))  // ','.double_starred_kvpair+
  ------------------
  |  Branch (6397:13): [True: 0, False: 2]
  ------------------
 6398|      0|            &&
 6399|      0|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (6399:13): [True: 0, False: 0]
  ------------------
 6400|      0|            &&
 6401|      0|            (_tmp_166_var = _tmp_166_rule(p))  // invalid_kvpair | invalid_kvpair_unpacking
  ------------------
  |  Branch (6401:13): [True: 0, False: 0]
  ------------------
 6402|      2|        )
 6403|      0|        {
 6404|      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)"));
 6405|      0|            _res = _PyPegen_dummy_name(p, _gather_165_var, _literal, _tmp_166_var);
 6406|      0|            goto done;
 6407|      0|        }
 6408|      2|        p->mark = _mark;
 6409|      2|        D(fprintf(stderr, "%*c%s invalid_double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
 6410|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.double_starred_kvpair+ ',' (invalid_kvpair | invalid_kvpair_unpacking)"));
 6411|      2|    }
 6412|      0|    { // expression ':' &('}' | ',')
 6413|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (6413:13): [True: 0, False: 2]
  ------------------
 6414|      0|            p->level--;
 6415|      0|            return NULL;
 6416|      0|        }
 6417|      2|        D(fprintf(stderr, "%*c> invalid_double_starred_kvpairs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' &('}' | ',')"));
 6418|      2|        Token * a;
 6419|      2|        expr_ty expression_var;
 6420|      2|        if (
 6421|      2|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|      2|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (6421:13): [True: 2, False: 0]
  ------------------
 6422|      2|            &&
 6423|      2|            (a = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6423:13): [True: 0, False: 2]
  ------------------
 6424|      0|            &&
 6425|      0|            _PyPegen_lookahead(1, _tmp_167_rule, p)
  ------------------
  |  Branch (6425:13): [True: 0, False: 0]
  ------------------
 6426|      2|        )
 6427|      0|        {
 6428|      0|            D(fprintf(stderr, "%*c+ invalid_double_starred_kvpairs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' &('}' | ',')"));
 6429|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expression expected after dictionary key and ':'" );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 6430|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6430:18): [True: 0, False: 0]
  |  Branch (6430:34): [True: 0, False: 0]
  |  Branch (6430:57): [True: 0, False: 0]
  ------------------
 6431|      0|                p->error_indicator = 1;
 6432|      0|                p->level--;
 6433|      0|                return NULL;
 6434|      0|            }
 6435|      0|            goto done;
 6436|      0|        }
 6437|      2|        p->mark = _mark;
 6438|      2|        D(fprintf(stderr, "%*c%s invalid_double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
 6439|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' &('}' | ',')"));
 6440|      2|    }
 6441|      2|    _res = NULL;
 6442|      2|  done:
 6443|      2|    p->level--;
 6444|      2|    return _res;
 6445|      2|}
_PyPegen_invalid_starred_expression_unpacking_rule:
 6781|  3.27k|{
 6782|  3.27k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  6.54k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6782:9): [True: 0, False: 3.27k]
  |  Branch (6782:35): [True: 0, False: 3.27k]
  ------------------
 6783|      0|        _Pypegen_stack_overflow(p);
 6784|      0|    }
 6785|  3.27k|    if (p->error_indicator) {
  ------------------
  |  Branch (6785:9): [True: 0, False: 3.27k]
  ------------------
 6786|      0|        p->level--;
 6787|      0|        return NULL;
 6788|      0|    }
 6789|  3.27k|    void * _res = NULL;
 6790|  3.27k|    int _mark = p->mark;
 6791|  3.27k|    { // '*' if_expression
 6792|  3.27k|        if (p->error_indicator) {
  ------------------
  |  Branch (6792:13): [True: 0, False: 3.27k]
  ------------------
 6793|      0|            p->level--;
 6794|      0|            return NULL;
 6795|      0|        }
 6796|  3.27k|        D(fprintf(stderr, "%*c> invalid_starred_expression_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' if_expression"));
 6797|  3.27k|        Token * a;
 6798|  3.27k|        expr_ty b;
 6799|  3.27k|        if (
 6800|  3.27k|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (6800:13): [True: 1.73k, False: 1.53k]
  ------------------
 6801|  1.73k|            &&
 6802|  1.73k|            (b = if_expression_rule(p))  // if_expression
  ------------------
  |  |  245|  1.73k|#define if_expression_rule _PyPegen_if_expression_rule
  ------------------
  |  Branch (6802:13): [True: 0, False: 1.73k]
  ------------------
 6803|  3.27k|        )
 6804|      0|        {
 6805|      0|            D(fprintf(stderr, "%*c+ invalid_starred_expression_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' if_expression"));
 6806|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid starred expression. Did you forget to wrap the conditional expression in parentheses?" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 6807|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6807:18): [True: 0, False: 0]
  |  Branch (6807:34): [True: 0, False: 0]
  |  Branch (6807:57): [True: 0, False: 0]
  ------------------
 6808|      0|                p->error_indicator = 1;
 6809|      0|                p->level--;
 6810|      0|                return NULL;
 6811|      0|            }
 6812|      0|            goto done;
 6813|      0|        }
 6814|  3.27k|        p->mark = _mark;
 6815|  3.27k|        D(fprintf(stderr, "%*c%s invalid_starred_expression_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
 6816|  3.27k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' if_expression"));
 6817|  3.27k|    }
 6818|      0|    { // '*' expression '=' expression
 6819|  3.27k|        if (p->error_indicator) {
  ------------------
  |  Branch (6819:13): [True: 222, False: 3.05k]
  ------------------
 6820|    222|            p->level--;
 6821|    222|            return NULL;
 6822|    222|        }
 6823|  3.05k|        D(fprintf(stderr, "%*c> invalid_starred_expression_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' expression '=' expression"));
 6824|  3.05k|        Token * _literal;
 6825|  3.05k|        Token * a;
 6826|  3.05k|        expr_ty b;
 6827|  3.05k|        expr_ty expression_var;
 6828|  3.05k|        if (
 6829|  3.05k|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (6829:13): [True: 1.51k, False: 1.53k]
  ------------------
 6830|  1.51k|            &&
 6831|  1.51k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|  1.51k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (6831:13): [True: 1.50k, False: 6]
  ------------------
 6832|  1.50k|            &&
 6833|  1.50k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (6833:13): [True: 0, False: 1.50k]
  ------------------
 6834|      0|            &&
 6835|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  |  243|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (6835:13): [True: 0, False: 0]
  ------------------
 6836|  3.05k|        )
 6837|      0|        {
 6838|      0|            D(fprintf(stderr, "%*c+ invalid_starred_expression_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' expression '=' expression"));
 6839|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to iterable argument unpacking" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 6840|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6840:18): [True: 0, False: 0]
  |  Branch (6840:34): [True: 0, False: 0]
  |  Branch (6840:57): [True: 0, False: 0]
  ------------------
 6841|      0|                p->error_indicator = 1;
 6842|      0|                p->level--;
 6843|      0|                return NULL;
 6844|      0|            }
 6845|      0|            goto done;
 6846|      0|        }
 6847|  3.05k|        p->mark = _mark;
 6848|  3.05k|        D(fprintf(stderr, "%*c%s invalid_starred_expression_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
 6849|  3.05k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' expression '=' expression"));
 6850|  3.05k|    }
 6851|  3.05k|    _res = NULL;
 6852|  3.05k|  done:
 6853|  3.05k|    p->level--;
 6854|  3.05k|    return _res;
 6855|  3.05k|}
_PyPegen_invalid_starred_expression_unpacking_sequence_rule:
 6862|    177|{
 6863|    177|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    354|#  define MAXSTACK 6000
  ------------------
  |  Branch (6863:9): [True: 0, False: 177]
  |  Branch (6863:35): [True: 0, False: 177]
  ------------------
 6864|      0|        _Pypegen_stack_overflow(p);
 6865|      0|    }
 6866|    177|    if (p->error_indicator) {
  ------------------
  |  Branch (6866:9): [True: 0, False: 177]
  ------------------
 6867|      0|        p->level--;
 6868|      0|        return NULL;
 6869|      0|    }
 6870|    177|    void * _res = NULL;
 6871|    177|    int _mark = p->mark;
 6872|    177|    { // '**' bitwise_or
 6873|    177|        if (p->error_indicator) {
  ------------------
  |  Branch (6873:13): [True: 0, False: 177]
  ------------------
 6874|      0|            p->level--;
 6875|      0|            return NULL;
 6876|      0|        }
 6877|    177|        D(fprintf(stderr, "%*c> invalid_starred_expression_unpacking_sequence[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or"));
 6878|    177|        Token * a;
 6879|    177|        expr_ty bitwise_or_var;
 6880|    177|        if (
 6881|    177|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (6881:13): [True: 0, False: 177]
  ------------------
 6882|      0|            &&
 6883|      0|            (bitwise_or_var = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (6883:13): [True: 0, False: 0]
  ------------------
 6884|    177|        )
 6885|      0|        {
 6886|      0|            D(fprintf(stderr, "%*c+ invalid_starred_expression_unpacking_sequence[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or"));
 6887|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use dict unpacking here" );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 6888|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6888:18): [True: 0, False: 0]
  |  Branch (6888:34): [True: 0, False: 0]
  |  Branch (6888:57): [True: 0, False: 0]
  ------------------
 6889|      0|                p->error_indicator = 1;
 6890|      0|                p->level--;
 6891|      0|                return NULL;
 6892|      0|            }
 6893|      0|            goto done;
 6894|      0|        }
 6895|    177|        p->mark = _mark;
 6896|    177|        D(fprintf(stderr, "%*c%s invalid_starred_expression_unpacking_sequence[%d-%d]: %s failed!\n", p->level, ' ',
 6897|    177|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' bitwise_or"));
 6898|    177|    }
 6899|    177|    if (p->call_invalid_rules) { // invalid_starred_expression_unpacking
  ------------------
  |  Branch (6899:9): [True: 177, False: 0]
  ------------------
 6900|    177|        if (p->error_indicator) {
  ------------------
  |  Branch (6900:13): [True: 0, False: 177]
  ------------------
 6901|      0|            p->level--;
 6902|      0|            return NULL;
 6903|      0|        }
 6904|    177|        D(fprintf(stderr, "%*c> invalid_starred_expression_unpacking_sequence[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking"));
 6905|    177|        void *invalid_starred_expression_unpacking_var;
 6906|    177|        if (
 6907|    177|            (invalid_starred_expression_unpacking_var = invalid_starred_expression_unpacking_rule(p))  // invalid_starred_expression_unpacking
  ------------------
  |  |  421|    177|#define invalid_starred_expression_unpacking_rule _PyPegen_invalid_starred_expression_unpacking_rule
  ------------------
  |  Branch (6907:13): [True: 0, False: 177]
  ------------------
 6908|    177|        )
 6909|      0|        {
 6910|      0|            D(fprintf(stderr, "%*c+ invalid_starred_expression_unpacking_sequence[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking"));
 6911|      0|            _res = invalid_starred_expression_unpacking_var;
 6912|      0|            goto done;
 6913|      0|        }
 6914|    177|        p->mark = _mark;
 6915|    177|        D(fprintf(stderr, "%*c%s invalid_starred_expression_unpacking_sequence[%d-%d]: %s failed!\n", p->level, ' ',
 6916|    177|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression_unpacking"));
 6917|    177|    }
 6918|    177|    _res = NULL;
 6919|    177|  done:
 6920|    177|    p->level--;
 6921|    177|    return _res;
 6922|    177|}
_PyPegen_invalid_starred_expression_rule:
 6927|  1.45k|{
 6928|  1.45k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.90k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6928:9): [True: 0, False: 1.45k]
  |  Branch (6928:35): [True: 0, False: 1.45k]
  ------------------
 6929|      0|        _Pypegen_stack_overflow(p);
 6930|      0|    }
 6931|  1.45k|    if (p->error_indicator) {
  ------------------
  |  Branch (6931:9): [True: 0, False: 1.45k]
  ------------------
 6932|      0|        p->level--;
 6933|      0|        return NULL;
 6934|      0|    }
 6935|  1.45k|    void * _res = NULL;
 6936|  1.45k|    int _mark = p->mark;
 6937|  1.45k|    { // '*'
 6938|  1.45k|        if (p->error_indicator) {
  ------------------
  |  Branch (6938:13): [True: 0, False: 1.45k]
  ------------------
 6939|      0|            p->level--;
 6940|      0|            return NULL;
 6941|      0|        }
 6942|  1.45k|        D(fprintf(stderr, "%*c> invalid_starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*'"));
 6943|  1.45k|        Token * _literal;
 6944|  1.45k|        if (
 6945|  1.45k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (6945:13): [True: 6, False: 1.44k]
  ------------------
 6946|  1.45k|        )
 6947|      6|        {
 6948|      6|            D(fprintf(stderr, "%*c+ invalid_starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*'"));
 6949|      6|            _res = RAISE_SYNTAX_ERROR ( "Invalid star expression" );
  ------------------
  |  |  242|      6|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 6950|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6950:18): [True: 6, False: 0]
  |  Branch (6950:34): [True: 0, False: 0]
  |  Branch (6950:57): [True: 6, False: 0]
  ------------------
 6951|      6|                p->error_indicator = 1;
 6952|      6|                p->level--;
 6953|      6|                return NULL;
 6954|      6|            }
 6955|      0|            goto done;
 6956|      6|        }
 6957|  1.44k|        p->mark = _mark;
 6958|  1.44k|        D(fprintf(stderr, "%*c%s invalid_starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
 6959|  1.44k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*'"));
 6960|  1.44k|    }
 6961|  1.44k|    _res = NULL;
 6962|  1.44k|  done:
 6963|  1.44k|    p->level--;
 6964|  1.44k|    return _res;
 6965|  1.44k|}
_PyPegen_invalid_string_tstring_concat_rule:
 7856|    270|{
 7857|    270|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    540|#  define MAXSTACK 6000
  ------------------
  |  Branch (7857:9): [True: 0, False: 270]
  |  Branch (7857:35): [True: 0, False: 270]
  ------------------
 7858|      0|        _Pypegen_stack_overflow(p);
 7859|      0|    }
 7860|    270|    if (p->error_indicator) {
  ------------------
  |  Branch (7860:9): [True: 0, False: 270]
  ------------------
 7861|      0|        p->level--;
 7862|      0|        return NULL;
 7863|      0|    }
 7864|    270|    void * _res = NULL;
 7865|    270|    int _mark = p->mark;
 7866|    270|    { // ((fstring | string))+ tstring
 7867|    270|        if (p->error_indicator) {
  ------------------
  |  Branch (7867:13): [True: 0, False: 270]
  ------------------
 7868|      0|            p->level--;
 7869|      0|            return NULL;
 7870|      0|        }
 7871|    270|        D(fprintf(stderr, "%*c> invalid_string_tstring_concat[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((fstring | string))+ tstring"));
 7872|    270|        asdl_seq * a;
 7873|    270|        expr_ty b;
 7874|    270|        if (
 7875|    270|            (a = _loop1_173_rule(p))  // ((fstring | string))+
  ------------------
  |  Branch (7875:13): [True: 270, False: 0]
  ------------------
 7876|    270|            &&
 7877|    270|            (b = (expr_ty)tstring_rule(p))  // tstring
  ------------------
  |  |  291|    270|#define tstring_rule _PyPegen_tstring_rule
  ------------------
  |  Branch (7877:13): [True: 0, False: 270]
  ------------------
 7878|    270|        )
 7879|      0|        {
 7880|      0|            D(fprintf(stderr, "%*c+ invalid_string_tstring_concat[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((fstring | string))+ tstring"));
 7881|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( PyPegen_last_item ( a , expr_ty ) , b , "cannot mix t-string literals with string or bytes literals" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 7882|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7882:18): [True: 0, False: 0]
  |  Branch (7882:34): [True: 0, False: 0]
  |  Branch (7882:57): [True: 0, False: 0]
  ------------------
 7883|      0|                p->error_indicator = 1;
 7884|      0|                p->level--;
 7885|      0|                return NULL;
 7886|      0|            }
 7887|      0|            goto done;
 7888|      0|        }
 7889|    270|        p->mark = _mark;
 7890|    270|        D(fprintf(stderr, "%*c%s invalid_string_tstring_concat[%d-%d]: %s failed!\n", p->level, ' ',
 7891|    270|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((fstring | string))+ tstring"));
 7892|    270|    }
 7893|      0|    { // tstring+ (fstring | string)
 7894|    270|        if (p->error_indicator) {
  ------------------
  |  Branch (7894:13): [True: 0, False: 270]
  ------------------
 7895|      0|            p->level--;
 7896|      0|            return NULL;
 7897|      0|        }
 7898|    270|        D(fprintf(stderr, "%*c> invalid_string_tstring_concat[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring+ (fstring | string)"));
 7899|    270|        asdl_seq * a;
 7900|    270|        expr_ty b;
 7901|    270|        if (
 7902|    270|            (a = _loop1_174_rule(p))  // tstring+
  ------------------
  |  Branch (7902:13): [True: 0, False: 270]
  ------------------
 7903|      0|            &&
 7904|      0|            (b = (expr_ty)_tmp_175_rule(p))  // fstring | string
  ------------------
  |  Branch (7904:13): [True: 0, False: 0]
  ------------------
 7905|    270|        )
 7906|      0|        {
 7907|      0|            D(fprintf(stderr, "%*c+ invalid_string_tstring_concat[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tstring+ (fstring | string)"));
 7908|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( PyPegen_last_item ( a , expr_ty ) , b , "cannot mix t-string literals with string or bytes literals" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 7909|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7909:18): [True: 0, False: 0]
  |  Branch (7909:34): [True: 0, False: 0]
  |  Branch (7909:57): [True: 0, False: 0]
  ------------------
 7910|      0|                p->error_indicator = 1;
 7911|      0|                p->level--;
 7912|      0|                return NULL;
 7913|      0|            }
 7914|      0|            goto done;
 7915|      0|        }
 7916|    270|        p->mark = _mark;
 7917|    270|        D(fprintf(stderr, "%*c%s invalid_string_tstring_concat[%d-%d]: %s failed!\n", p->level, ' ',
 7918|    270|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring+ (fstring | string)"));
 7919|    270|    }
 7920|    270|    _res = NULL;
 7921|    270|  done:
 7922|    270|    p->level--;
 7923|    270|    return _res;
 7924|    270|}
_PyPegen_invalid_arithmetic_rule:
 7930|  1.69k|{
 7931|  1.69k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.38k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7931:9): [True: 0, False: 1.69k]
  |  Branch (7931:35): [True: 0, False: 1.69k]
  ------------------
 7932|      0|        _Pypegen_stack_overflow(p);
 7933|      0|    }
 7934|  1.69k|    if (p->error_indicator) {
  ------------------
  |  Branch (7934:9): [True: 0, False: 1.69k]
  ------------------
 7935|      0|        p->level--;
 7936|      0|        return NULL;
 7937|      0|    }
 7938|  1.69k|    void * _res = NULL;
 7939|  1.69k|    int _mark = p->mark;
 7940|  1.69k|    { // sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion
 7941|  1.69k|        if (p->error_indicator) {
  ------------------
  |  Branch (7941:13): [True: 0, False: 1.69k]
  ------------------
 7942|      0|            p->level--;
 7943|      0|            return NULL;
 7944|      0|        }
 7945|  1.69k|        D(fprintf(stderr, "%*c> invalid_arithmetic[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion"));
 7946|  1.69k|        void *_tmp_176_var;
 7947|  1.69k|        Token * a;
 7948|  1.69k|        expr_ty b;
 7949|  1.69k|        expr_ty sum_var;
 7950|  1.69k|        if (
 7951|  1.69k|            (sum_var = sum_rule(p))  // sum
  ------------------
  |  |  267|  1.69k|#define sum_rule _PyPegen_sum_rule
  ------------------
  |  Branch (7951:13): [True: 336, False: 1.35k]
  ------------------
 7952|    336|            &&
 7953|    336|            (_tmp_176_var = _tmp_176_rule(p))  // '+' | '-' | '*' | '/' | '%' | '//' | '@'
  ------------------
  |  Branch (7953:13): [True: 10, False: 326]
  ------------------
 7954|     10|            &&
 7955|     10|            (a = _PyPegen_expect_token(p, 531))  // token='not'
  ------------------
  |  Branch (7955:13): [True: 0, False: 10]
  ------------------
 7956|      0|            &&
 7957|      0|            (b = inversion_rule(p))  // inversion
  ------------------
  |  |  261|      0|#define inversion_rule _PyPegen_inversion_rule
  ------------------
  |  Branch (7957:13): [True: 0, False: 0]
  ------------------
 7958|  1.69k|        )
 7959|      0|        {
 7960|      0|            D(fprintf(stderr, "%*c+ invalid_arithmetic[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion"));
 7961|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "'not' after an operator must be parenthesized" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 7962|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7962:18): [True: 0, False: 0]
  |  Branch (7962:34): [True: 0, False: 0]
  |  Branch (7962:57): [True: 0, False: 0]
  ------------------
 7963|      0|                p->error_indicator = 1;
 7964|      0|                p->level--;
 7965|      0|                return NULL;
 7966|      0|            }
 7967|      0|            goto done;
 7968|      0|        }
 7969|  1.69k|        p->mark = _mark;
 7970|  1.69k|        D(fprintf(stderr, "%*c%s invalid_arithmetic[%d-%d]: %s failed!\n", p->level, ' ',
 7971|  1.69k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion"));
 7972|  1.69k|    }
 7973|  1.69k|    _res = NULL;
 7974|  1.69k|  done:
 7975|  1.69k|    p->level--;
 7976|  1.69k|    return _res;
 7977|  1.69k|}
_PyPegen_invalid_factor_rule:
 7982|    582|{
 7983|    582|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.16k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7983:9): [True: 0, False: 582]
  |  Branch (7983:35): [True: 0, False: 582]
  ------------------
 7984|      0|        _Pypegen_stack_overflow(p);
 7985|      0|    }
 7986|    582|    if (p->error_indicator) {
  ------------------
  |  Branch (7986:9): [True: 0, False: 582]
  ------------------
 7987|      0|        p->level--;
 7988|      0|        return NULL;
 7989|      0|    }
 7990|    582|    void * _res = NULL;
 7991|    582|    int _mark = p->mark;
 7992|    582|    { // ('+' | '-' | '~') 'not' factor
 7993|    582|        if (p->error_indicator) {
  ------------------
  |  Branch (7993:13): [True: 0, False: 582]
  ------------------
 7994|      0|            p->level--;
 7995|      0|            return NULL;
 7996|      0|        }
 7997|    582|        D(fprintf(stderr, "%*c> invalid_factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('+' | '-' | '~') 'not' factor"));
 7998|    582|        void *_tmp_177_var;
 7999|    582|        Token * a;
 8000|    582|        expr_ty b;
 8001|    582|        if (
 8002|    582|            (_tmp_177_var = _tmp_177_rule(p))  // '+' | '-' | '~'
  ------------------
  |  Branch (8002:13): [True: 0, False: 582]
  ------------------
 8003|      0|            &&
 8004|      0|            (a = _PyPegen_expect_token(p, 531))  // token='not'
  ------------------
  |  Branch (8004:13): [True: 0, False: 0]
  ------------------
 8005|      0|            &&
 8006|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  |  269|      0|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (8006:13): [True: 0, False: 0]
  ------------------
 8007|    582|        )
 8008|      0|        {
 8009|      0|            D(fprintf(stderr, "%*c+ invalid_factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('+' | '-' | '~') 'not' factor"));
 8010|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "'not' after an operator must be parenthesized" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 8011|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8011:18): [True: 0, False: 0]
  |  Branch (8011:34): [True: 0, False: 0]
  |  Branch (8011:57): [True: 0, False: 0]
  ------------------
 8012|      0|                p->error_indicator = 1;
 8013|      0|                p->level--;
 8014|      0|                return NULL;
 8015|      0|            }
 8016|      0|            goto done;
 8017|      0|        }
 8018|    582|        p->mark = _mark;
 8019|    582|        D(fprintf(stderr, "%*c%s invalid_factor[%d-%d]: %s failed!\n", p->level, ' ',
 8020|    582|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('+' | '-' | '~') 'not' factor"));
 8021|    582|    }
 8022|    582|    _res = NULL;
 8023|    582|  done:
 8024|    582|    p->level--;
 8025|    582|    return _res;
 8026|    582|}
_PyPegen_invalid_bitwise_and_rule:
 8078|  1.69k|{
 8079|  1.69k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.38k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8079:9): [True: 0, False: 1.69k]
  |  Branch (8079:35): [True: 0, False: 1.69k]
  ------------------
 8080|      0|        _Pypegen_stack_overflow(p);
 8081|      0|    }
 8082|  1.69k|    if (p->error_indicator) {
  ------------------
  |  Branch (8082:9): [True: 0, False: 1.69k]
  ------------------
 8083|      0|        p->level--;
 8084|      0|        return NULL;
 8085|      0|    }
 8086|  1.69k|    void * _res = NULL;
 8087|  1.69k|    int _mark = p->mark;
 8088|  1.69k|    { // bitwise_and '&' '&'
 8089|  1.69k|        if (p->error_indicator) {
  ------------------
  |  Branch (8089:13): [True: 0, False: 1.69k]
  ------------------
 8090|      0|            p->level--;
 8091|      0|            return NULL;
 8092|      0|        }
 8093|  1.69k|        D(fprintf(stderr, "%*c> invalid_bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' '&'"));
 8094|  1.69k|        expr_ty a;
 8095|  1.69k|        Token * b;
 8096|  1.69k|        Token * c;
 8097|  1.69k|        if (
 8098|  1.69k|            (a = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  |  265|  1.69k|#define bitwise_and_rule _PyPegen_bitwise_and_rule
  ------------------
  |  Branch (8098:13): [True: 336, False: 1.35k]
  ------------------
 8099|    336|            &&
 8100|    336|            (b = _PyPegen_expect_token(p, 19))  // token='&'
  ------------------
  |  Branch (8100:13): [True: 0, False: 336]
  ------------------
 8101|      0|            &&
 8102|      0|            (c = _PyPegen_expect_token(p, 19))  // token='&'
  ------------------
  |  Branch (8102:13): [True: 0, False: 0]
  ------------------
 8103|  1.69k|        )
 8104|      0|        {
 8105|      0|            D(fprintf(stderr, "%*c+ invalid_bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' '&'"));
 8106|      0|            _res = _PyPegen_tokens_are_adjacent ( b , c ) ? RAISE_SYNTAX_ERROR_KNOWN_RANGE ( b , c , "invalid syntax.  Maybe you meant 'and' or '&' instead of '&&'?" ) : NULL;
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (8106:20): [True: 0, False: 0]
  ------------------
 8107|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8107:18): [True: 0, False: 0]
  |  Branch (8107:34): [True: 0, False: 0]
  |  Branch (8107:57): [True: 0, False: 0]
  ------------------
 8108|      0|                p->error_indicator = 1;
 8109|      0|                p->level--;
 8110|      0|                return NULL;
 8111|      0|            }
 8112|      0|            goto done;
 8113|      0|        }
 8114|  1.69k|        p->mark = _mark;
 8115|  1.69k|        D(fprintf(stderr, "%*c%s invalid_bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
 8116|  1.69k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_and '&' '&'"));
 8117|  1.69k|    }
 8118|  1.69k|    _res = NULL;
 8119|  1.69k|  done:
 8120|  1.69k|    p->level--;
 8121|  1.69k|    return _res;
 8122|  1.69k|}
_PyPegen_invalid_bitwise_or_rule:
 8128|  1.69k|{
 8129|  1.69k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.38k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8129:9): [True: 0, False: 1.69k]
  |  Branch (8129:35): [True: 0, False: 1.69k]
  ------------------
 8130|      0|        _Pypegen_stack_overflow(p);
 8131|      0|    }
 8132|  1.69k|    if (p->error_indicator) {
  ------------------
  |  Branch (8132:9): [True: 0, False: 1.69k]
  ------------------
 8133|      0|        p->level--;
 8134|      0|        return NULL;
 8135|      0|    }
 8136|  1.69k|    void * _res = NULL;
 8137|  1.69k|    int _mark = p->mark;
 8138|  1.69k|    { // bitwise_or '|' '|'
 8139|  1.69k|        if (p->error_indicator) {
  ------------------
  |  Branch (8139:13): [True: 0, False: 1.69k]
  ------------------
 8140|      0|            p->level--;
 8141|      0|            return NULL;
 8142|      0|        }
 8143|  1.69k|        D(fprintf(stderr, "%*c> invalid_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' '|'"));
 8144|  1.69k|        expr_ty a;
 8145|  1.69k|        Token * b;
 8146|  1.69k|        Token * c;
 8147|  1.69k|        if (
 8148|  1.69k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|  1.69k|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (8148:13): [True: 336, False: 1.35k]
  ------------------
 8149|    336|            &&
 8150|    336|            (b = _PyPegen_expect_token(p, 18))  // token='|'
  ------------------
  |  Branch (8150:13): [True: 0, False: 336]
  ------------------
 8151|      0|            &&
 8152|      0|            (c = _PyPegen_expect_token(p, 18))  // token='|'
  ------------------
  |  Branch (8152:13): [True: 0, False: 0]
  ------------------
 8153|  1.69k|        )
 8154|      0|        {
 8155|      0|            D(fprintf(stderr, "%*c+ invalid_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' '|'"));
 8156|      0|            _res = _PyPegen_tokens_are_adjacent ( b , c ) ? RAISE_SYNTAX_ERROR_KNOWN_RANGE ( b , c , "invalid syntax.  Maybe you meant 'or' or '|' instead of '||'?" ) : NULL;
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (8156:20): [True: 0, False: 0]
  ------------------
 8157|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8157:18): [True: 0, False: 0]
  |  Branch (8157:34): [True: 0, False: 0]
  |  Branch (8157:57): [True: 0, False: 0]
  ------------------
 8158|      0|                p->error_indicator = 1;
 8159|      0|                p->level--;
 8160|      0|                return NULL;
 8161|      0|            }
 8162|      0|            goto done;
 8163|      0|        }
 8164|  1.69k|        p->mark = _mark;
 8165|  1.69k|        D(fprintf(stderr, "%*c%s invalid_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
 8166|  1.69k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or '|' '|'"));
 8167|  1.69k|    }
 8168|  1.69k|    _res = NULL;
 8169|  1.69k|  done:
 8170|  1.69k|    p->level--;
 8171|  1.69k|    return _res;
 8172|  1.69k|}
_PyPegen_invalid_noteq_rule:
 8177|    306|{
 8178|    306|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    612|#  define MAXSTACK 6000
  ------------------
  |  Branch (8178:9): [True: 0, False: 306]
  |  Branch (8178:35): [True: 0, False: 306]
  ------------------
 8179|      0|        _Pypegen_stack_overflow(p);
 8180|      0|    }
 8181|    306|    if (p->error_indicator) {
  ------------------
  |  Branch (8181:9): [True: 0, False: 306]
  ------------------
 8182|      0|        p->level--;
 8183|      0|        return NULL;
 8184|      0|    }
 8185|    306|    void * _res = NULL;
 8186|    306|    int _mark = p->mark;
 8187|    306|    { // '<' '>'
 8188|    306|        if (p->error_indicator) {
  ------------------
  |  Branch (8188:13): [True: 0, False: 306]
  ------------------
 8189|      0|            p->level--;
 8190|      0|            return NULL;
 8191|      0|        }
 8192|    306|        D(fprintf(stderr, "%*c> invalid_noteq[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<' '>'"));
 8193|    306|        Token * a;
 8194|    306|        Token * b;
 8195|    306|        if (
 8196|    306|            (a = _PyPegen_expect_token(p, 20))  // token='<'
  ------------------
  |  Branch (8196:13): [True: 0, False: 306]
  ------------------
 8197|      0|            &&
 8198|      0|            (b = _PyPegen_expect_token(p, 21))  // token='>'
  ------------------
  |  Branch (8198:13): [True: 0, False: 0]
  ------------------
 8199|    306|        )
 8200|      0|        {
 8201|      0|            D(fprintf(stderr, "%*c+ invalid_noteq[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<' '>'"));
 8202|      0|            _res = _PyPegen_tokens_are_adjacent ( a , b ) ? RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid syntax.  Maybe you meant '!=' instead of '<>'?" ) : NULL;
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (8202:20): [True: 0, False: 0]
  ------------------
 8203|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8203:18): [True: 0, False: 0]
  |  Branch (8203:34): [True: 0, False: 0]
  |  Branch (8203:57): [True: 0, False: 0]
  ------------------
 8204|      0|                p->error_indicator = 1;
 8205|      0|                p->level--;
 8206|      0|                return NULL;
 8207|      0|            }
 8208|      0|            goto done;
 8209|      0|        }
 8210|    306|        p->mark = _mark;
 8211|    306|        D(fprintf(stderr, "%*c%s invalid_noteq[%d-%d]: %s failed!\n", p->level, ' ',
 8212|    306|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<' '>'"));
 8213|    306|    }
 8214|    306|    _res = NULL;
 8215|    306|  done:
 8216|    306|    p->level--;
 8217|    306|    return _res;
 8218|    306|}
parser_invalid.c:expression_without_invalid_rule:
  999|    414|{
 1000|    414|    int _prev_call_invalid = p->call_invalid_rules;
 1001|    414|    p->call_invalid_rules = 0;
 1002|    414|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    828|#  define MAXSTACK 6000
  ------------------
  |  Branch (1002:9): [True: 0, False: 414]
  |  Branch (1002:35): [True: 0, False: 414]
  ------------------
 1003|      0|        _Pypegen_stack_overflow(p);
 1004|      0|    }
 1005|    414|    if (p->error_indicator) {
  ------------------
  |  Branch (1005:9): [True: 0, False: 414]
  ------------------
 1006|      0|        p->call_invalid_rules = _prev_call_invalid;
 1007|      0|        p->level--;
 1008|      0|        return NULL;
 1009|      0|    }
 1010|    414|    expr_ty _res = NULL;
 1011|    414|    int _mark = p->mark;
 1012|    414|    expr_ty _prefix_11_result = NULL;
 1013|    414|    int _prefix_11_end = 0, _prefix_11_valid = 0;
 1014|    414|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (1014:9): [True: 0, False: 414]
  |  Branch (1014:31): [True: 0, False: 0]
  ------------------
 1015|      0|        p->error_indicator = 1;
 1016|      0|        p->call_invalid_rules = _prev_call_invalid;
 1017|      0|        p->level--;
 1018|      0|        return NULL;
 1019|      0|    }
 1020|    414|    int _start_lineno = p->tokens[_mark]->lineno;
 1021|    414|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    414|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 414]
  |  |  ------------------
  ------------------
 1022|    414|    int _start_col_offset = p->tokens[_mark]->col_offset;
 1023|    414|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    414|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 414]
  |  |  ------------------
  ------------------
 1024|    414|    { // disjunction 'if' disjunction 'else' expression
 1025|    414|        if (p->error_indicator) {
  ------------------
  |  Branch (1025:13): [True: 0, False: 414]
  ------------------
 1026|      0|            p->call_invalid_rules = _prev_call_invalid;
 1027|      0|            p->level--;
 1028|      0|            return NULL;
 1029|      0|        }
 1030|    414|        D(fprintf(stderr, "%*c> expression_without_invalid[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
 1031|    414|        Token * _keyword;
 1032|    414|        Token * _keyword_1;
 1033|    414|        expr_ty a;
 1034|    414|        expr_ty b;
 1035|    414|        expr_ty c;
 1036|    414|        if (
 1037|    414|            (a = ((!p->call_invalid_rules && _prefix_11_valid) ? (p->mark = _prefix_11_end, _prefix_11_result) : (_prefix_11_result = disjunction_rule(p), _prefix_11_end = p->mark, _prefix_11_valid = 1, _prefix_11_result)))  // disjunction
  ------------------
  |  |  259|    414|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1037:13): [True: 1, False: 413]
  |  Branch (1037:20): [True: 414, False: 0]
  |  Branch (1037:46): [True: 0, False: 414]
  ------------------
 1038|      1|            &&
 1039|      1|            (_keyword = _PyPegen_expect_token(p, 514))  // token='if'
  ------------------
  |  Branch (1039:13): [True: 0, False: 1]
  ------------------
 1040|      0|            &&
 1041|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  |  259|      0|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1041:13): [True: 0, False: 0]
  ------------------
 1042|      0|            &&
 1043|      0|            (_keyword_1 = _PyPegen_expect_token(p, 522))  // token='else'
  ------------------
  |  Branch (1043:13): [True: 0, False: 0]
  ------------------
 1044|      0|            &&
 1045|      0|            (c = expression_rule(p))  // expression
  ------------------
  |  |  243|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (1045:13): [True: 0, False: 0]
  ------------------
 1046|    414|        )
 1047|      0|        {
 1048|      0|            D(fprintf(stderr, "%*c+ expression_without_invalid[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
 1049|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 1050|      0|            if (_token == NULL) {
  ------------------
  |  Branch (1050:17): [True: 0, False: 0]
  ------------------
 1051|      0|                p->call_invalid_rules = _prev_call_invalid;
 1052|      0|                p->level--;
 1053|      0|                return NULL;
 1054|      0|            }
 1055|      0|            int _end_lineno = _token->end_lineno;
 1056|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1057|      0|            int _end_col_offset = _token->end_col_offset;
 1058|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1059|      0|            _res = _PyAST_IfExp ( b , a , c , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 1060|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1060:18): [True: 0, False: 0]
  |  Branch (1060:34): [True: 0, False: 0]
  |  Branch (1060:57): [True: 0, False: 0]
  ------------------
 1061|      0|                p->error_indicator = 1;
 1062|      0|                p->call_invalid_rules = _prev_call_invalid;
 1063|      0|                p->level--;
 1064|      0|                return NULL;
 1065|      0|            }
 1066|      0|            goto done;
 1067|      0|        }
 1068|    414|        p->mark = _mark;
 1069|    414|        D(fprintf(stderr, "%*c%s expression_without_invalid[%d-%d]: %s failed!\n", p->level, ' ',
 1070|    414|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
 1071|    414|    }
 1072|      0|    { // disjunction
 1073|    414|        if (p->error_indicator) {
  ------------------
  |  Branch (1073:13): [True: 0, False: 414]
  ------------------
 1074|      0|            p->call_invalid_rules = _prev_call_invalid;
 1075|      0|            p->level--;
 1076|      0|            return NULL;
 1077|      0|        }
 1078|    414|        D(fprintf(stderr, "%*c> expression_without_invalid[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction"));
 1079|    414|        expr_ty disjunction_var;
 1080|    414|        if (
 1081|    414|            (disjunction_var = ((!p->call_invalid_rules && _prefix_11_valid) ? (p->mark = _prefix_11_end, _prefix_11_result) : (_prefix_11_result = disjunction_rule(p), _prefix_11_end = p->mark, _prefix_11_valid = 1, _prefix_11_result)))  // disjunction
  ------------------
  |  |  259|      0|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1081:13): [True: 1, False: 413]
  |  Branch (1081:34): [True: 414, False: 0]
  |  Branch (1081:60): [True: 414, False: 0]
  ------------------
 1082|    414|        )
 1083|      1|        {
 1084|      1|            D(fprintf(stderr, "%*c+ expression_without_invalid[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction"));
 1085|      1|            _res = disjunction_var;
 1086|      1|            goto done;
 1087|      1|        }
 1088|    413|        p->mark = _mark;
 1089|    413|        D(fprintf(stderr, "%*c%s expression_without_invalid[%d-%d]: %s failed!\n", p->level, ' ',
 1090|    413|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction"));
 1091|    413|    }
 1092|      0|    { // lambdef
 1093|    413|        if (p->error_indicator) {
  ------------------
  |  Branch (1093:13): [True: 0, False: 413]
  ------------------
 1094|      0|            p->call_invalid_rules = _prev_call_invalid;
 1095|      0|            p->level--;
 1096|      0|            return NULL;
 1097|      0|        }
 1098|    413|        D(fprintf(stderr, "%*c> expression_without_invalid[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambdef"));
 1099|    413|        expr_ty lambdef_var;
 1100|    413|        if (
 1101|    413|            (lambdef_var = lambdef_rule(p))  // lambdef
  ------------------
  |  |  271|    413|#define lambdef_rule _PyPegen_lambdef_rule
  ------------------
  |  Branch (1101:13): [True: 0, False: 413]
  ------------------
 1102|    413|        )
 1103|      0|        {
 1104|      0|            D(fprintf(stderr, "%*c+ expression_without_invalid[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambdef"));
 1105|      0|            _res = lambdef_var;
 1106|      0|            goto done;
 1107|      0|        }
 1108|    413|        p->mark = _mark;
 1109|    413|        D(fprintf(stderr, "%*c%s expression_without_invalid[%d-%d]: %s failed!\n", p->level, ' ',
 1110|    413|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambdef"));
 1111|    413|    }
 1112|    413|    _res = NULL;
 1113|    414|  done:
 1114|    414|    p->call_invalid_rules = _prev_call_invalid;
 1115|    414|    p->level--;
 1116|    414|    return _res;
 1117|    413|}
parser_invalid.c:invalid_lambda_parameters_helper_rule:
 3335|     21|{
 3336|     21|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (3336:9): [True: 0, False: 21]
  |  Branch (3336:35): [True: 0, False: 21]
  ------------------
 3337|      0|        _Pypegen_stack_overflow(p);
 3338|      0|    }
 3339|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (3339:9): [True: 0, False: 21]
  ------------------
 3340|      0|        p->level--;
 3341|      0|        return NULL;
 3342|      0|    }
 3343|     21|    void * _res = NULL;
 3344|     21|    int _mark = p->mark;
 3345|     21|    { // lambda_slash_with_default
 3346|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (3346:13): [True: 0, False: 21]
  ------------------
 3347|      0|            p->level--;
 3348|      0|            return NULL;
 3349|      0|        }
 3350|     21|        D(fprintf(stderr, "%*c> invalid_lambda_parameters_helper[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default"));
 3351|     21|        SlashWithDefault* a;
 3352|     21|        if (
 3353|     21|            (a = lambda_slash_with_default_rule(p))  // lambda_slash_with_default
  ------------------
  |  |  277|     21|#define lambda_slash_with_default_rule _PyPegen_lambda_slash_with_default_rule
  ------------------
  |  Branch (3353:13): [True: 0, False: 21]
  ------------------
 3354|     21|        )
 3355|      0|        {
 3356|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters_helper[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default"));
 3357|      0|            _res = _PyPegen_singleton_seq ( p , a );
 3358|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3358:18): [True: 0, False: 0]
  |  Branch (3358:34): [True: 0, False: 0]
  |  Branch (3358:57): [True: 0, False: 0]
  ------------------
 3359|      0|                p->error_indicator = 1;
 3360|      0|                p->level--;
 3361|      0|                return NULL;
 3362|      0|            }
 3363|      0|            goto done;
 3364|      0|        }
 3365|     21|        p->mark = _mark;
 3366|     21|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters_helper[%d-%d]: %s failed!\n", p->level, ' ',
 3367|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_with_default"));
 3368|     21|    }
 3369|      0|    { // lambda_param_with_default+
 3370|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (3370:13): [True: 0, False: 21]
  ------------------
 3371|      0|            p->level--;
 3372|      0|            return NULL;
 3373|      0|        }
 3374|     21|        D(fprintf(stderr, "%*c> invalid_lambda_parameters_helper[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+"));
 3375|     21|        asdl_seq * _loop1_140_var;
 3376|     21|        if (
 3377|     21|            (_loop1_140_var = _loop1_140_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (3377:13): [True: 0, False: 21]
  ------------------
 3378|     21|        )
 3379|      0|        {
 3380|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters_helper[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+"));
 3381|      0|            _res = _loop1_140_var;
 3382|      0|            goto done;
 3383|      0|        }
 3384|     21|        p->mark = _mark;
 3385|     21|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters_helper[%d-%d]: %s failed!\n", p->level, ' ',
 3386|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default+"));
 3387|     21|    }
 3388|     21|    _res = NULL;
 3389|     21|  done:
 3390|     21|    p->level--;
 3391|     21|    return _res;
 3392|     21|}
parser_invalid.c:_loop1_140_rule:
10278|     21|{
10279|     21|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (10279:9): [True: 0, False: 21]
  |  Branch (10279:35): [True: 0, False: 21]
  ------------------
10280|      0|        _Pypegen_stack_overflow(p);
10281|      0|    }
10282|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (10282:9): [True: 0, False: 21]
  ------------------
10283|      0|        p->level--;
10284|      0|        return NULL;
10285|      0|    }
10286|     21|    void *_res = NULL;
10287|     21|    int _mark = p->mark;
10288|     21|    void **_children = NULL;
10289|     21|    Py_ssize_t _children_capacity = 0;
10290|     21|    Py_ssize_t _n = 0;
10291|     21|    { // lambda_param_with_default
10292|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (10292:13): [True: 0, False: 21]
  ------------------
10293|      0|            p->level--;
10294|      0|            return NULL;
10295|      0|        }
10296|     21|        D(fprintf(stderr, "%*c> _loop1_140[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default"));
10297|     21|        NameDefaultPair* lambda_param_with_default_var;
10298|     21|        while (
10299|     21|            (lambda_param_with_default_var = lambda_param_with_default_rule(p))  // lambda_param_with_default
  ------------------
  |  |  281|     21|#define lambda_param_with_default_rule _PyPegen_lambda_param_with_default_rule
  ------------------
  |  Branch (10299:13): [True: 0, False: 21]
  ------------------
10300|     21|        )
10301|      0|        {
10302|      0|            _res = lambda_param_with_default_var;
10303|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (10303:17): [True: 0, False: 0]
  ------------------
10304|      0|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (10304:21): [True: 0, False: 0]
  ------------------
10305|      0|                    p->error_indicator = 1;
10306|      0|                    PyErr_NoMemory();
10307|      0|                    PyMem_Free(_children);
10308|      0|                    p->level--;
10309|      0|                    return NULL;
10310|      0|                }
10311|      0|            }
10312|      0|            _children[_n++] = _res;
10313|      0|            _mark = p->mark;
10314|      0|        }
10315|     21|        p->mark = _mark;
10316|     21|        D(fprintf(stderr, "%*c%s _loop1_140[%d-%d]: %s failed!\n", p->level, ' ',
10317|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default"));
10318|     21|    }
10319|     21|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (10319:9): [True: 21, False: 0]
  |  Branch (10319:20): [True: 0, False: 0]
  ------------------
10320|     21|        PyMem_Free(_children);
10321|     21|        p->level--;
10322|     21|        return NULL;
10323|     21|    }
10324|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
10325|      0|    if (!_seq) {
  ------------------
  |  Branch (10325:9): [True: 0, False: 0]
  ------------------
10326|      0|        p->error_indicator = 1;
10327|      0|        PyErr_NoMemory();
10328|      0|        PyMem_Free(_children);
10329|      0|        p->level--;
10330|      0|        return NULL;
10331|      0|    }
10332|      0|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (10332:28): [True: 0, False: 0]
  ------------------
10333|      0|    PyMem_Free(_children);
10334|      0|    p->level--;
10335|      0|    return _seq;
10336|      0|}
parser_invalid.c:invalid_kvpair_unpacking_rule:
 6455|      2|{
 6456|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (6456:9): [True: 0, False: 2]
  |  Branch (6456:35): [True: 0, False: 2]
  ------------------
 6457|      0|        _Pypegen_stack_overflow(p);
 6458|      0|    }
 6459|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (6459:9): [True: 0, False: 2]
  ------------------
 6460|      0|        p->level--;
 6461|      0|        return NULL;
 6462|      0|    }
 6463|      2|    void * _res = NULL;
 6464|      2|    int _mark = p->mark;
 6465|      2|    expr_ty _prefix_14_result = NULL;
 6466|      2|    int _prefix_14_end = 0, _prefix_14_valid = 0;
 6467|      2|    { // '**' if_expression
 6468|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (6468:13): [True: 0, False: 2]
  ------------------
 6469|      0|            p->level--;
 6470|      0|            return NULL;
 6471|      0|        }
 6472|      2|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' if_expression"));
 6473|      2|        Token * a;
 6474|      2|        expr_ty b;
 6475|      2|        if (
 6476|      2|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (6476:13): [True: 0, False: 2]
  ------------------
 6477|      0|            &&
 6478|      0|            (b = if_expression_rule(p))  // if_expression
  ------------------
  |  |  245|      0|#define if_expression_rule _PyPegen_if_expression_rule
  ------------------
  |  Branch (6478:13): [True: 0, False: 0]
  ------------------
 6479|      2|        )
 6480|      0|        {
 6481|      0|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' if_expression"));
 6482|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid double starred expression. Did you forget to wrap the conditional expression in parentheses?" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 6483|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6483:18): [True: 0, False: 0]
  |  Branch (6483:34): [True: 0, False: 0]
  |  Branch (6483:57): [True: 0, False: 0]
  ------------------
 6484|      0|                p->error_indicator = 1;
 6485|      0|                p->level--;
 6486|      0|                return NULL;
 6487|      0|            }
 6488|      0|            goto done;
 6489|      0|        }
 6490|      2|        p->mark = _mark;
 6491|      2|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
 6492|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' if_expression"));
 6493|      2|    }
 6494|      0|    { // '*' bitwise_or ':' expression
 6495|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (6495:13): [True: 0, False: 2]
  ------------------
 6496|      0|            p->level--;
 6497|      0|            return NULL;
 6498|      0|        }
 6499|      2|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or ':' expression"));
 6500|      2|        Token * _literal;
 6501|      2|        Token * a;
 6502|      2|        expr_ty b;
 6503|      2|        expr_ty expression_var;
 6504|      2|        if (
 6505|      2|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (6505:13): [True: 0, False: 2]
  ------------------
 6506|      0|            &&
 6507|      0|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (6507:13): [True: 0, False: 0]
  ------------------
 6508|      0|            &&
 6509|      0|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6509:13): [True: 0, False: 0]
  ------------------
 6510|      0|            &&
 6511|      0|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (6511:13): [True: 0, False: 0]
  ------------------
 6512|      2|        )
 6513|      0|        {
 6514|      0|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or ':' expression"));
 6515|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use a starred expression in a dictionary key" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 6516|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6516:18): [True: 0, False: 0]
  |  Branch (6516:34): [True: 0, False: 0]
  |  Branch (6516:57): [True: 0, False: 0]
  ------------------
 6517|      0|                p->error_indicator = 1;
 6518|      0|                p->level--;
 6519|      0|                return NULL;
 6520|      0|            }
 6521|      0|            goto done;
 6522|      0|        }
 6523|      2|        p->mark = _mark;
 6524|      2|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
 6525|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' bitwise_or ':' expression"));
 6526|      2|    }
 6527|      0|    { // '**' bitwise_or ':' expression
 6528|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (6528:13): [True: 0, False: 2]
  ------------------
 6529|      0|            p->level--;
 6530|      0|            return NULL;
 6531|      0|        }
 6532|      2|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or ':' expression"));
 6533|      2|        Token * _literal;
 6534|      2|        Token * a;
 6535|      2|        expr_ty b;
 6536|      2|        expr_ty expression_var;
 6537|      2|        if (
 6538|      2|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (6538:13): [True: 0, False: 2]
  ------------------
 6539|      0|            &&
 6540|      0|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (6540:13): [True: 0, False: 0]
  ------------------
 6541|      0|            &&
 6542|      0|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6542:13): [True: 0, False: 0]
  ------------------
 6543|      0|            &&
 6544|      0|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (6544:13): [True: 0, False: 0]
  ------------------
 6545|      2|        )
 6546|      0|        {
 6547|      0|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or ':' expression"));
 6548|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use dict unpacking in a dictionary key" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 6549|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6549:18): [True: 0, False: 0]
  |  Branch (6549:34): [True: 0, False: 0]
  |  Branch (6549:57): [True: 0, False: 0]
  ------------------
 6550|      0|                p->error_indicator = 1;
 6551|      0|                p->level--;
 6552|      0|                return NULL;
 6553|      0|            }
 6554|      0|            goto done;
 6555|      0|        }
 6556|      2|        p->mark = _mark;
 6557|      2|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
 6558|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' bitwise_or ':' expression"));
 6559|      2|    }
 6560|      0|    { // expression ':' '*' bitwise_or
 6561|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (6561:13): [True: 0, False: 2]
  ------------------
 6562|      0|            p->level--;
 6563|      0|            return NULL;
 6564|      0|        }
 6565|      2|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' '*' bitwise_or"));
 6566|      2|        Token * _literal;
 6567|      2|        Token * a;
 6568|      2|        expr_ty b;
 6569|      2|        expr_ty expression_var;
 6570|      2|        if (
 6571|      2|            (expression_var = ((!p->call_invalid_rules && _prefix_14_valid) ? (p->mark = _prefix_14_end, _prefix_14_result) : (_prefix_14_result = expression_rule(p), _prefix_14_end = p->mark, _prefix_14_valid = 1, _prefix_14_result)))  // expression
  ------------------
  |  |  243|      2|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (6571:13): [True: 2, False: 0]
  |  Branch (6571:33): [True: 2, False: 0]
  |  Branch (6571:59): [True: 0, False: 2]
  ------------------
 6572|      2|            &&
 6573|      2|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6573:13): [True: 0, False: 2]
  ------------------
 6574|      0|            &&
 6575|      0|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (6575:13): [True: 0, False: 0]
  ------------------
 6576|      0|            &&
 6577|      0|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (6577:13): [True: 0, False: 0]
  ------------------
 6578|      2|        )
 6579|      0|        {
 6580|      0|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' '*' bitwise_or"));
 6581|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use a starred expression in a dictionary value" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 6582|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6582:18): [True: 0, False: 0]
  |  Branch (6582:34): [True: 0, False: 0]
  |  Branch (6582:57): [True: 0, False: 0]
  ------------------
 6583|      0|                p->error_indicator = 1;
 6584|      0|                p->level--;
 6585|      0|                return NULL;
 6586|      0|            }
 6587|      0|            goto done;
 6588|      0|        }
 6589|      2|        p->mark = _mark;
 6590|      2|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
 6591|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' '*' bitwise_or"));
 6592|      2|    }
 6593|      0|    { // expression ':' '**' bitwise_or
 6594|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (6594:13): [True: 0, False: 2]
  ------------------
 6595|      0|            p->level--;
 6596|      0|            return NULL;
 6597|      0|        }
 6598|      2|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' '**' bitwise_or"));
 6599|      2|        Token * _literal;
 6600|      2|        Token * a;
 6601|      2|        expr_ty b;
 6602|      2|        expr_ty expression_var;
 6603|      2|        if (
 6604|      2|            (expression_var = ((!p->call_invalid_rules && _prefix_14_valid) ? (p->mark = _prefix_14_end, _prefix_14_result) : (_prefix_14_result = expression_rule(p), _prefix_14_end = p->mark, _prefix_14_valid = 1, _prefix_14_result)))  // expression
  ------------------
  |  |  243|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (6604:13): [True: 2, False: 0]
  |  Branch (6604:33): [True: 2, False: 0]
  |  Branch (6604:59): [True: 2, False: 0]
  ------------------
 6605|      2|            &&
 6606|      2|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6606:13): [True: 0, False: 2]
  ------------------
 6607|      0|            &&
 6608|      0|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (6608:13): [True: 0, False: 0]
  ------------------
 6609|      0|            &&
 6610|      0|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (6610:13): [True: 0, False: 0]
  ------------------
 6611|      2|        )
 6612|      0|        {
 6613|      0|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' '**' bitwise_or"));
 6614|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use dict unpacking in a dictionary value" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 6615|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6615:18): [True: 0, False: 0]
  |  Branch (6615:34): [True: 0, False: 0]
  |  Branch (6615:57): [True: 0, False: 0]
  ------------------
 6616|      0|                p->error_indicator = 1;
 6617|      0|                p->level--;
 6618|      0|                return NULL;
 6619|      0|            }
 6620|      0|            goto done;
 6621|      0|        }
 6622|      2|        p->mark = _mark;
 6623|      2|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
 6624|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' '**' bitwise_or"));
 6625|      2|    }
 6626|      2|    _res = NULL;
 6627|      2|  done:
 6628|      2|    p->level--;
 6629|      2|    return _res;
 6630|      2|}
parser_invalid.c:_tmp_106_rule:
 8225|    288|{
 8226|    288|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    576|#  define MAXSTACK 6000
  ------------------
  |  Branch (8226:9): [True: 0, False: 288]
  |  Branch (8226:35): [True: 0, False: 288]
  ------------------
 8227|      0|        _Pypegen_stack_overflow(p);
 8228|      0|    }
 8229|    288|    if (p->error_indicator) {
  ------------------
  |  Branch (8229:9): [True: 0, False: 288]
  ------------------
 8230|      0|        p->level--;
 8231|      0|        return NULL;
 8232|      0|    }
 8233|    288|    void * _res = NULL;
 8234|    288|    int _mark = p->mark;
 8235|    288|    { // (','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs)
 8236|    288|        if (p->error_indicator) {
  ------------------
  |  Branch (8236:13): [True: 0, False: 288]
  ------------------
 8237|      0|            p->level--;
 8238|      0|            return NULL;
 8239|      0|        }
 8240|    288|        D(fprintf(stderr, "%*c> _tmp_106[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs)"));
 8241|    288|        void *_tmp_189_var;
 8242|    288|        if (
 8243|    288|            (_tmp_189_var = _tmp_189_rule(p))  // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs
  ------------------
  |  Branch (8243:13): [True: 0, False: 288]
  ------------------
 8244|    288|        )
 8245|      0|        {
 8246|      0|            D(fprintf(stderr, "%*c+ _tmp_106[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs)"));
 8247|      0|            _res = _tmp_189_var;
 8248|      0|            goto done;
 8249|      0|        }
 8250|    288|        p->mark = _mark;
 8251|    288|        D(fprintf(stderr, "%*c%s _tmp_106[%d-%d]: %s failed!\n", p->level, ' ',
 8252|    288|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs)"));
 8253|    288|    }
 8254|      0|    { // kwargs
 8255|    288|        if (p->error_indicator) {
  ------------------
  |  Branch (8255:13): [True: 0, False: 288]
  ------------------
 8256|      0|            p->level--;
 8257|      0|            return NULL;
 8258|      0|        }
 8259|    288|        D(fprintf(stderr, "%*c> _tmp_106[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwargs"));
 8260|    288|        asdl_seq* kwargs_var;
 8261|    288|        if (
 8262|    288|            (kwargs_var = kwargs_rule(p))  // kwargs
  ------------------
  |  |  309|    288|#define kwargs_rule _PyPegen_kwargs_rule
  ------------------
  |  Branch (8262:13): [True: 168, False: 120]
  ------------------
 8263|    288|        )
 8264|    168|        {
 8265|    168|            D(fprintf(stderr, "%*c+ _tmp_106[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwargs"));
 8266|    168|            _res = kwargs_var;
 8267|    168|            goto done;
 8268|    168|        }
 8269|    120|        p->mark = _mark;
 8270|    120|        D(fprintf(stderr, "%*c%s _tmp_106[%d-%d]: %s failed!\n", p->level, ' ',
 8271|    120|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwargs"));
 8272|    120|    }
 8273|    120|    _res = NULL;
 8274|    288|  done:
 8275|    288|    p->level--;
 8276|    288|    return _res;
 8277|    120|}
parser_invalid.c:_tmp_189_rule:
12512|    288|{
12513|    288|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    576|#  define MAXSTACK 6000
  ------------------
  |  Branch (12513:9): [True: 0, False: 288]
  |  Branch (12513:35): [True: 0, False: 288]
  ------------------
12514|      0|        _Pypegen_stack_overflow(p);
12515|      0|    }
12516|    288|    if (p->error_indicator) {
  ------------------
  |  Branch (12516:9): [True: 0, False: 288]
  ------------------
12517|      0|        p->level--;
12518|      0|        return NULL;
12519|      0|    }
12520|    288|    void * _res = NULL;
12521|    288|    int _mark = p->mark;
12522|    288|    { // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs
12523|    288|        if (p->error_indicator) {
  ------------------
  |  Branch (12523:13): [True: 0, False: 288]
  ------------------
12524|      0|            p->level--;
12525|      0|            return NULL;
12526|      0|        }
12527|    288|        D(fprintf(stderr, "%*c> _tmp_189[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs"));
12528|    288|        asdl_seq * _gather_202_var;
12529|    288|        Token * _literal;
12530|    288|        asdl_seq* kwargs_var;
12531|    288|        if (
12532|    288|            (_gather_202_var = _gather_202_rule(p))  // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+
  ------------------
  |  Branch (12532:13): [True: 216, False: 72]
  ------------------
12533|    216|            &&
12534|    216|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (12534:13): [True: 0, False: 216]
  ------------------
12535|      0|            &&
12536|      0|            (kwargs_var = kwargs_rule(p))  // kwargs
  ------------------
  |  |  309|      0|#define kwargs_rule _PyPegen_kwargs_rule
  ------------------
  |  Branch (12536:13): [True: 0, False: 0]
  ------------------
12537|    288|        )
12538|      0|        {
12539|      0|            D(fprintf(stderr, "%*c+ _tmp_189[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs"));
12540|      0|            _res = _PyPegen_dummy_name(p, _gather_202_var, _literal, kwargs_var);
12541|      0|            goto done;
12542|      0|        }
12543|    288|        p->mark = _mark;
12544|    288|        D(fprintf(stderr, "%*c%s _tmp_189[%d-%d]: %s failed!\n", p->level, ' ',
12545|    288|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs"));
12546|    288|    }
12547|    288|    _res = NULL;
12548|    288|  done:
12549|    288|    p->level--;
12550|    288|    return _res;
12551|    288|}
parser_invalid.c:_gather_202_rule:
13153|    288|{
13154|    288|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    576|#  define MAXSTACK 6000
  ------------------
  |  Branch (13154:9): [True: 0, False: 288]
  |  Branch (13154:35): [True: 0, False: 288]
  ------------------
13155|      0|        _Pypegen_stack_overflow(p);
13156|      0|    }
13157|    288|    if (p->error_indicator) {
  ------------------
  |  Branch (13157:9): [True: 0, False: 288]
  ------------------
13158|      0|        p->level--;
13159|      0|        return NULL;
13160|      0|    }
13161|    288|    asdl_seq * _res = NULL;
13162|    288|    int _mark = p->mark;
13163|    288|    { // (starred_expression | (assignment_expression | expression !':=') !'=') _loop0_201
13164|    288|        if (p->error_indicator) {
  ------------------
  |  Branch (13164:13): [True: 0, False: 288]
  ------------------
13165|      0|            p->level--;
13166|      0|            return NULL;
13167|      0|        }
13168|    288|        D(fprintf(stderr, "%*c> _gather_202[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_201"));
13169|    288|        void *elem;
13170|    288|        asdl_seq * seq;
13171|    288|        if (
13172|    288|            (elem = _tmp_205_rule(p))  // starred_expression | (assignment_expression | expression !':=') !'='
  ------------------
  |  Branch (13172:13): [True: 216, False: 72]
  ------------------
13173|    216|            &&
13174|    216|            (seq = _loop0_201_rule(p))  // _loop0_201
  ------------------
  |  Branch (13174:13): [True: 216, False: 0]
  ------------------
13175|    288|        )
13176|    216|        {
13177|    216|            D(fprintf(stderr, "%*c+ _gather_202[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_201"));
13178|    216|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
13179|    216|            goto done;
13180|    216|        }
13181|     72|        p->mark = _mark;
13182|     72|        D(fprintf(stderr, "%*c%s _gather_202[%d-%d]: %s failed!\n", p->level, ' ',
13183|     72|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_201"));
13184|     72|    }
13185|     72|    _res = NULL;
13186|    288|  done:
13187|    288|    p->level--;
13188|    288|    return _res;
13189|     72|}
parser_invalid.c:_tmp_205_rule:
13276|    288|{
13277|    288|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    576|#  define MAXSTACK 6000
  ------------------
  |  Branch (13277:9): [True: 0, False: 288]
  |  Branch (13277:35): [True: 0, False: 288]
  ------------------
13278|      0|        _Pypegen_stack_overflow(p);
13279|      0|    }
13280|    288|    if (p->error_indicator) {
  ------------------
  |  Branch (13280:9): [True: 0, False: 288]
  ------------------
13281|      0|        p->level--;
13282|      0|        return NULL;
13283|      0|    }
13284|    288|    void * _res = NULL;
13285|    288|    int _mark = p->mark;
13286|    288|    { // starred_expression
13287|    288|        if (p->error_indicator) {
  ------------------
  |  Branch (13287:13): [True: 0, False: 288]
  ------------------
13288|      0|            p->level--;
13289|      0|            return NULL;
13290|      0|        }
13291|    288|        D(fprintf(stderr, "%*c> _tmp_205[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
13292|    288|        expr_ty starred_expression_var;
13293|    288|        if (
13294|    288|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  |  311|    288|#define starred_expression_rule _PyPegen_starred_expression_rule
  ------------------
  |  Branch (13294:13): [True: 162, False: 126]
  ------------------
13295|    288|        )
13296|    162|        {
13297|    162|            D(fprintf(stderr, "%*c+ _tmp_205[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
13298|    162|            _res = starred_expression_var;
13299|    162|            goto done;
13300|    162|        }
13301|    126|        p->mark = _mark;
13302|    126|        D(fprintf(stderr, "%*c%s _tmp_205[%d-%d]: %s failed!\n", p->level, ' ',
13303|    126|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
13304|    126|    }
13305|      0|    { // (assignment_expression | expression !':=') !'='
13306|    126|        if (p->error_indicator) {
  ------------------
  |  Branch (13306:13): [True: 0, False: 126]
  ------------------
13307|      0|            p->level--;
13308|      0|            return NULL;
13309|      0|        }
13310|    126|        D(fprintf(stderr, "%*c> _tmp_205[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
13311|    126|        void *_tmp_206_var;
13312|    126|        if (
13313|    126|            (_tmp_206_var = _tmp_206_rule(p))  // assignment_expression | expression !':='
  ------------------
  |  Branch (13313:13): [True: 54, False: 72]
  ------------------
13314|     54|            &&
13315|     54|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 22)  // token='='
  ------------------
  |  Branch (13315:13): [True: 54, False: 0]
  ------------------
13316|    126|        )
13317|     54|        {
13318|     54|            D(fprintf(stderr, "%*c+ _tmp_205[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
13319|     54|            _res = _tmp_206_var;
13320|     54|            goto done;
13321|     54|        }
13322|     72|        p->mark = _mark;
13323|     72|        D(fprintf(stderr, "%*c%s _tmp_205[%d-%d]: %s failed!\n", p->level, ' ',
13324|     72|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
13325|     72|    }
13326|     72|    _res = NULL;
13327|    288|  done:
13328|    288|    p->level--;
13329|    288|    return _res;
13330|     72|}
parser_invalid.c:_tmp_206_rule:
13335|    126|{
13336|    126|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    252|#  define MAXSTACK 6000
  ------------------
  |  Branch (13336:9): [True: 0, False: 126]
  |  Branch (13336:35): [True: 0, False: 126]
  ------------------
13337|      0|        _Pypegen_stack_overflow(p);
13338|      0|    }
13339|    126|    if (p->error_indicator) {
  ------------------
  |  Branch (13339:9): [True: 0, False: 126]
  ------------------
13340|      0|        p->level--;
13341|      0|        return NULL;
13342|      0|    }
13343|    126|    void * _res = NULL;
13344|    126|    int _mark = p->mark;
13345|    126|    { // assignment_expression
13346|    126|        if (p->error_indicator) {
  ------------------
  |  Branch (13346:13): [True: 0, False: 126]
  ------------------
13347|      0|            p->level--;
13348|      0|            return NULL;
13349|      0|        }
13350|    126|        D(fprintf(stderr, "%*c> _tmp_206[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
13351|    126|        expr_ty assignment_expression_var;
13352|    126|        if (
13353|    126|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  |  255|    126|#define assignment_expression_rule _PyPegen_assignment_expression_rule
  ------------------
  |  Branch (13353:13): [True: 0, False: 126]
  ------------------
13354|    126|        )
13355|      0|        {
13356|      0|            D(fprintf(stderr, "%*c+ _tmp_206[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
13357|      0|            _res = assignment_expression_var;
13358|      0|            goto done;
13359|      0|        }
13360|    126|        p->mark = _mark;
13361|    126|        D(fprintf(stderr, "%*c%s _tmp_206[%d-%d]: %s failed!\n", p->level, ' ',
13362|    126|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
13363|    126|    }
13364|      0|    { // expression !':='
13365|    126|        if (p->error_indicator) {
  ------------------
  |  Branch (13365:13): [True: 0, False: 126]
  ------------------
13366|      0|            p->level--;
13367|      0|            return NULL;
13368|      0|        }
13369|    126|        D(fprintf(stderr, "%*c> _tmp_206[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
13370|    126|        expr_ty expression_var;
13371|    126|        if (
13372|    126|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|    126|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (13372:13): [True: 54, False: 72]
  ------------------
13373|     54|            &&
13374|     54|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (13374:13): [True: 54, False: 0]
  ------------------
13375|    126|        )
13376|     54|        {
13377|     54|            D(fprintf(stderr, "%*c+ _tmp_206[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
13378|     54|            _res = expression_var;
13379|     54|            goto done;
13380|     54|        }
13381|     72|        p->mark = _mark;
13382|     72|        D(fprintf(stderr, "%*c%s _tmp_206[%d-%d]: %s failed!\n", p->level, ' ',
13383|     72|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
13384|     72|    }
13385|     72|    _res = NULL;
13386|    126|  done:
13387|    126|    p->level--;
13388|    126|    return _res;
13389|     72|}
parser_invalid.c:_loop0_201_rule:
13085|    216|{
13086|    216|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    432|#  define MAXSTACK 6000
  ------------------
  |  Branch (13086:9): [True: 0, False: 216]
  |  Branch (13086:35): [True: 0, False: 216]
  ------------------
13087|      0|        _Pypegen_stack_overflow(p);
13088|      0|    }
13089|    216|    if (p->error_indicator) {
  ------------------
  |  Branch (13089:9): [True: 0, False: 216]
  ------------------
13090|      0|        p->level--;
13091|      0|        return NULL;
13092|      0|    }
13093|    216|    void *_res = NULL;
13094|    216|    int _mark = p->mark;
13095|    216|    void **_children = NULL;
13096|    216|    Py_ssize_t _children_capacity = 0;
13097|    216|    Py_ssize_t _n = 0;
13098|    216|    { // ',' (starred_expression | (assignment_expression | expression !':=') !'=')
13099|    216|        if (p->error_indicator) {
  ------------------
  |  Branch (13099:13): [True: 0, False: 216]
  ------------------
13100|      0|            p->level--;
13101|      0|            return NULL;
13102|      0|        }
13103|    216|        D(fprintf(stderr, "%*c> _loop0_201[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (starred_expression | (assignment_expression | expression !':=') !'=')"));
13104|    216|        Token * _literal;
13105|    216|        void *elem;
13106|    216|        while (
13107|    216|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (13107:13): [True: 0, False: 216]
  ------------------
13108|      0|            &&
13109|      0|            (elem = _tmp_205_rule(p))  // starred_expression | (assignment_expression | expression !':=') !'='
  ------------------
  |  Branch (13109:13): [True: 0, False: 0]
  ------------------
13110|    216|        )
13111|      0|        {
13112|      0|            _res = elem;
13113|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13113:18): [True: 0, False: 0]
  |  Branch (13113:34): [True: 0, False: 0]
  |  Branch (13113:57): [True: 0, False: 0]
  ------------------
13114|      0|                p->error_indicator = 1;
13115|      0|                PyMem_Free(_children);
13116|      0|                p->level--;
13117|      0|                return NULL;
13118|      0|            }
13119|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (13119:17): [True: 0, False: 0]
  ------------------
13120|      0|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (13120:21): [True: 0, False: 0]
  ------------------
13121|      0|                    p->error_indicator = 1;
13122|      0|                    PyErr_NoMemory();
13123|      0|                    PyMem_Free(_children);
13124|      0|                    p->level--;
13125|      0|                    return NULL;
13126|      0|                }
13127|      0|            }
13128|      0|            _children[_n++] = _res;
13129|      0|            _mark = p->mark;
13130|      0|        }
13131|    216|        p->mark = _mark;
13132|    216|        D(fprintf(stderr, "%*c%s _loop0_201[%d-%d]: %s failed!\n", p->level, ' ',
13133|    216|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (starred_expression | (assignment_expression | expression !':=') !'=')"));
13134|    216|    }
13135|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
13136|    216|    if (!_seq) {
  ------------------
  |  Branch (13136:9): [True: 0, False: 216]
  ------------------
13137|      0|        p->error_indicator = 1;
13138|      0|        PyErr_NoMemory();
13139|      0|        PyMem_Free(_children);
13140|      0|        p->level--;
13141|      0|        return NULL;
13142|      0|    }
13143|    216|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|    216|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (13143:28): [True: 0, False: 216]
  ------------------
13144|    216|    PyMem_Free(_children);
13145|    216|    p->level--;
13146|    216|    return _seq;
13147|    216|}
parser_invalid.c:_tmp_110_rule:
 8450|    288|{
 8451|    288|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    576|#  define MAXSTACK 6000
  ------------------
  |  Branch (8451:9): [True: 0, False: 288]
  |  Branch (8451:35): [True: 0, False: 288]
  ------------------
 8452|      0|        _Pypegen_stack_overflow(p);
 8453|      0|    }
 8454|    288|    if (p->error_indicator) {
  ------------------
  |  Branch (8454:9): [True: 0, False: 288]
  ------------------
 8455|      0|        p->level--;
 8456|      0|        return NULL;
 8457|      0|    }
 8458|    288|    void * _res = NULL;
 8459|    288|    int _mark = p->mark;
 8460|    288|    { // args ','
 8461|    288|        if (p->error_indicator) {
  ------------------
  |  Branch (8461:13): [True: 0, False: 288]
  ------------------
 8462|      0|            p->level--;
 8463|      0|            return NULL;
 8464|      0|        }
 8465|    288|        D(fprintf(stderr, "%*c> _tmp_110[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args ','"));
 8466|    288|        Token * _literal;
 8467|    288|        expr_ty args_var;
 8468|    288|        if (
 8469|    288|            (args_var = args_rule(p))  // args
  ------------------
  |  |  307|    288|#define args_rule _PyPegen_args_rule
  ------------------
  |  Branch (8469:13): [True: 222, False: 66]
  ------------------
 8470|    222|            &&
 8471|    222|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (8471:13): [True: 0, False: 222]
  ------------------
 8472|    288|        )
 8473|      0|        {
 8474|      0|            D(fprintf(stderr, "%*c+ _tmp_110[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args ','"));
 8475|      0|            _res = _PyPegen_dummy_name(p, args_var, _literal);
 8476|      0|            goto done;
 8477|      0|        }
 8478|    288|        p->mark = _mark;
 8479|    288|        D(fprintf(stderr, "%*c%s _tmp_110[%d-%d]: %s failed!\n", p->level, ' ',
 8480|    288|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args ','"));
 8481|    288|    }
 8482|    288|    _res = NULL;
 8483|    288|  done:
 8484|    288|    p->level--;
 8485|    288|    return _res;
 8486|    288|}
parser_invalid.c:_tmp_112_rule:
 8548|  1.13k|{
 8549|  1.13k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.26k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8549:9): [True: 0, False: 1.13k]
  |  Branch (8549:35): [True: 0, False: 1.13k]
  ------------------
 8550|      0|        _Pypegen_stack_overflow(p);
 8551|      0|    }
 8552|  1.13k|    if (p->error_indicator) {
  ------------------
  |  Branch (8552:9): [True: 0, False: 1.13k]
  ------------------
 8553|      0|        p->level--;
 8554|      0|        return NULL;
 8555|      0|    }
 8556|  1.13k|    void * _res = NULL;
 8557|  1.13k|    int _mark = p->mark;
 8558|  1.13k|    { // NAME '='
 8559|  1.13k|        if (p->error_indicator) {
  ------------------
  |  Branch (8559:13): [True: 0, False: 1.13k]
  ------------------
 8560|      0|            p->level--;
 8561|      0|            return NULL;
 8562|      0|        }
 8563|  1.13k|        D(fprintf(stderr, "%*c> _tmp_112[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '='"));
 8564|  1.13k|        Token * _literal;
 8565|  1.13k|        expr_ty name_var;
 8566|  1.13k|        if (
 8567|  1.13k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (8567:13): [True: 108, False: 1.02k]
  ------------------
 8568|    108|            &&
 8569|    108|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (8569:13): [True: 0, False: 108]
  ------------------
 8570|  1.13k|        )
 8571|      0|        {
 8572|      0|            D(fprintf(stderr, "%*c+ _tmp_112[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '='"));
 8573|      0|            _res = _PyPegen_dummy_name(p, name_var, _literal);
 8574|      0|            goto done;
 8575|      0|        }
 8576|  1.13k|        p->mark = _mark;
 8577|  1.13k|        D(fprintf(stderr, "%*c%s _tmp_112[%d-%d]: %s failed!\n", p->level, ' ',
 8578|  1.13k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '='"));
 8579|  1.13k|    }
 8580|  1.13k|    _res = NULL;
 8581|  1.13k|  done:
 8582|  1.13k|    p->level--;
 8583|  1.13k|    return _res;
 8584|  1.13k|}
parser_invalid.c:_loop1_113_rule:
 8589|    108|{
 8590|    108|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    216|#  define MAXSTACK 6000
  ------------------
  |  Branch (8590:9): [True: 0, False: 108]
  |  Branch (8590:35): [True: 0, False: 108]
  ------------------
 8591|      0|        _Pypegen_stack_overflow(p);
 8592|      0|    }
 8593|    108|    if (p->error_indicator) {
  ------------------
  |  Branch (8593:9): [True: 0, False: 108]
  ------------------
 8594|      0|        p->level--;
 8595|      0|        return NULL;
 8596|      0|    }
 8597|    108|    void *_res = NULL;
 8598|    108|    int _mark = p->mark;
 8599|    108|    void **_children = NULL;
 8600|    108|    Py_ssize_t _children_capacity = 0;
 8601|    108|    Py_ssize_t _n = 0;
 8602|    108|    { // (!STRING expression_without_invalid)
 8603|    108|        if (p->error_indicator) {
  ------------------
  |  Branch (8603:13): [True: 0, False: 108]
  ------------------
 8604|      0|            p->level--;
 8605|      0|            return NULL;
 8606|      0|        }
 8607|    108|        D(fprintf(stderr, "%*c> _loop1_113[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(!STRING expression_without_invalid)"));
 8608|    108|        void *_tmp_191_var;
 8609|    108|        while (
 8610|    108|            (_tmp_191_var = _tmp_191_rule(p))  // !STRING expression_without_invalid
  ------------------
  |  Branch (8610:13): [True: 0, False: 108]
  ------------------
 8611|    108|        )
 8612|      0|        {
 8613|      0|            _res = _tmp_191_var;
 8614|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (8614:17): [True: 0, False: 0]
  ------------------
 8615|      0|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (8615:21): [True: 0, False: 0]
  ------------------
 8616|      0|                    p->error_indicator = 1;
 8617|      0|                    PyErr_NoMemory();
 8618|      0|                    PyMem_Free(_children);
 8619|      0|                    p->level--;
 8620|      0|                    return NULL;
 8621|      0|                }
 8622|      0|            }
 8623|      0|            _children[_n++] = _res;
 8624|      0|            _mark = p->mark;
 8625|      0|        }
 8626|    108|        p->mark = _mark;
 8627|    108|        D(fprintf(stderr, "%*c%s _loop1_113[%d-%d]: %s failed!\n", p->level, ' ',
 8628|    108|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(!STRING expression_without_invalid)"));
 8629|    108|    }
 8630|    108|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (8630:9): [True: 108, False: 0]
  |  Branch (8630:20): [True: 0, False: 0]
  ------------------
 8631|    108|        PyMem_Free(_children);
 8632|    108|        p->level--;
 8633|    108|        return NULL;
 8634|    108|    }
 8635|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
 8636|      0|    if (!_seq) {
  ------------------
  |  Branch (8636:9): [True: 0, False: 0]
  ------------------
 8637|      0|        p->error_indicator = 1;
 8638|      0|        PyErr_NoMemory();
 8639|      0|        PyMem_Free(_children);
 8640|      0|        p->level--;
 8641|      0|        return NULL;
 8642|      0|    }
 8643|      0|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (8643:28): [True: 0, False: 0]
  ------------------
 8644|      0|    PyMem_Free(_children);
 8645|      0|    p->level--;
 8646|      0|    return _seq;
 8647|      0|}
parser_invalid.c:_tmp_191_rule:
12596|    108|{
12597|    108|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    216|#  define MAXSTACK 6000
  ------------------
  |  Branch (12597:9): [True: 0, False: 108]
  |  Branch (12597:35): [True: 0, False: 108]
  ------------------
12598|      0|        _Pypegen_stack_overflow(p);
12599|      0|    }
12600|    108|    if (p->error_indicator) {
  ------------------
  |  Branch (12600:9): [True: 0, False: 108]
  ------------------
12601|      0|        p->level--;
12602|      0|        return NULL;
12603|      0|    }
12604|    108|    void * _res = NULL;
12605|    108|    int _mark = p->mark;
12606|    108|    { // !STRING expression_without_invalid
12607|    108|        if (p->error_indicator) {
  ------------------
  |  Branch (12607:13): [True: 0, False: 108]
  ------------------
12608|      0|            p->level--;
12609|      0|            return NULL;
12610|      0|        }
12611|    108|        D(fprintf(stderr, "%*c> _tmp_191[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!STRING expression_without_invalid"));
12612|    108|        expr_ty expression_without_invalid_var;
12613|    108|        if (
12614|    108|            _PyPegen_lookahead(0, _PyPegen_string_token, p)
  ------------------
  |  Branch (12614:13): [True: 108, False: 0]
  ------------------
12615|    108|            &&
12616|    108|            (expression_without_invalid_var = expression_without_invalid_rule(p))  // expression_without_invalid
  ------------------
  |  Branch (12616:13): [True: 0, False: 108]
  ------------------
12617|    108|        )
12618|      0|        {
12619|      0|            D(fprintf(stderr, "%*c+ _tmp_191[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!STRING expression_without_invalid"));
12620|      0|            _res = expression_without_invalid_var;
12621|      0|            goto done;
12622|      0|        }
12623|    108|        p->mark = _mark;
12624|    108|        D(fprintf(stderr, "%*c%s _tmp_191[%d-%d]: %s failed!\n", p->level, ' ',
12625|    108|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!STRING expression_without_invalid"));
12626|    108|    }
12627|    108|    _res = NULL;
12628|    108|  done:
12629|    108|    p->level--;
12630|    108|    return _res;
12631|    108|}
parser_invalid.c:_tmp_114_rule:
 8652|    888|{
 8653|    888|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.77k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8653:9): [True: 0, False: 888]
  |  Branch (8653:35): [True: 0, False: 888]
  ------------------
 8654|      0|        _Pypegen_stack_overflow(p);
 8655|      0|    }
 8656|    888|    if (p->error_indicator) {
  ------------------
  |  Branch (8656:9): [True: 0, False: 888]
  ------------------
 8657|      0|        p->level--;
 8658|      0|        return NULL;
 8659|      0|    }
 8660|    888|    void * _res = NULL;
 8661|    888|    int _mark = p->mark;
 8662|    888|    { // NAME STRING
 8663|    888|        if (p->error_indicator) {
  ------------------
  |  Branch (8663:13): [True: 0, False: 888]
  ------------------
 8664|      0|            p->level--;
 8665|      0|            return NULL;
 8666|      0|        }
 8667|    888|        D(fprintf(stderr, "%*c> _tmp_114[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME STRING"));
 8668|    888|        expr_ty name_var;
 8669|    888|        expr_ty string_var;
 8670|    888|        if (
 8671|    888|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (8671:13): [True: 167, False: 721]
  ------------------
 8672|    167|            &&
 8673|    167|            (string_var = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (8673:13): [True: 0, False: 167]
  ------------------
 8674|    888|        )
 8675|      0|        {
 8676|      0|            D(fprintf(stderr, "%*c+ _tmp_114[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME STRING"));
 8677|      0|            _res = _PyPegen_dummy_name(p, name_var, string_var);
 8678|      0|            goto done;
 8679|      0|        }
 8680|    888|        p->mark = _mark;
 8681|    888|        D(fprintf(stderr, "%*c%s _tmp_114[%d-%d]: %s failed!\n", p->level, ' ',
 8682|    888|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME STRING"));
 8683|    888|    }
 8684|      0|    { // SOFT_KEYWORD
 8685|    888|        if (p->error_indicator) {
  ------------------
  |  Branch (8685:13): [True: 0, False: 888]
  ------------------
 8686|      0|            p->level--;
 8687|      0|            return NULL;
 8688|      0|        }
 8689|    888|        D(fprintf(stderr, "%*c> _tmp_114[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "SOFT_KEYWORD"));
 8690|    888|        expr_ty soft_keyword_var;
 8691|    888|        if (
 8692|    888|            (soft_keyword_var = _PyPegen_soft_keyword_token(p))  // SOFT_KEYWORD
  ------------------
  |  Branch (8692:13): [True: 0, False: 888]
  ------------------
 8693|    888|        )
 8694|      0|        {
 8695|      0|            D(fprintf(stderr, "%*c+ _tmp_114[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "SOFT_KEYWORD"));
 8696|      0|            _res = soft_keyword_var;
 8697|      0|            goto done;
 8698|      0|        }
 8699|    888|        p->mark = _mark;
 8700|    888|        D(fprintf(stderr, "%*c%s _tmp_114[%d-%d]: %s failed!\n", p->level, ' ',
 8701|    888|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "SOFT_KEYWORD"));
 8702|    888|    }
 8703|    888|    _res = NULL;
 8704|    888|  done:
 8705|    888|    p->level--;
 8706|    888|    return _res;
 8707|    888|}
parser_invalid.c:_tmp_116_rule:
 8769|    887|{
 8770|    887|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.77k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8770:9): [True: 0, False: 887]
  |  Branch (8770:35): [True: 0, False: 887]
  ------------------
 8771|      0|        _Pypegen_stack_overflow(p);
 8772|      0|    }
 8773|    887|    if (p->error_indicator) {
  ------------------
  |  Branch (8773:9): [True: 0, False: 887]
  ------------------
 8774|      0|        p->level--;
 8775|      0|        return NULL;
 8776|      0|    }
 8777|    887|    void * _res = NULL;
 8778|    887|    int _mark = p->mark;
 8779|    887|    { // pass_stmt
 8780|    887|        if (p->error_indicator) {
  ------------------
  |  Branch (8780:13): [True: 0, False: 887]
  ------------------
 8781|      0|            p->level--;
 8782|      0|            return NULL;
 8783|      0|        }
 8784|    887|        D(fprintf(stderr, "%*c> _tmp_116[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "pass_stmt"));
 8785|    887|        stmt_ty pass_stmt_var;
 8786|    887|        if (
 8787|    887|            (pass_stmt_var = pass_stmt_rule(p))  // pass_stmt
  ------------------
  |  |  189|    887|#define pass_stmt_rule _PyPegen_pass_stmt_rule
  ------------------
  |  Branch (8787:13): [True: 0, False: 887]
  ------------------
 8788|    887|        )
 8789|      0|        {
 8790|      0|            D(fprintf(stderr, "%*c+ _tmp_116[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "pass_stmt"));
 8791|      0|            _res = pass_stmt_var;
 8792|      0|            goto done;
 8793|      0|        }
 8794|    887|        p->mark = _mark;
 8795|    887|        D(fprintf(stderr, "%*c%s _tmp_116[%d-%d]: %s failed!\n", p->level, ' ',
 8796|    887|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "pass_stmt"));
 8797|    887|    }
 8798|      0|    { // break_stmt
 8799|    887|        if (p->error_indicator) {
  ------------------
  |  Branch (8799:13): [True: 0, False: 887]
  ------------------
 8800|      0|            p->level--;
 8801|      0|            return NULL;
 8802|      0|        }
 8803|    887|        D(fprintf(stderr, "%*c> _tmp_116[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "break_stmt"));
 8804|    887|        stmt_ty break_stmt_var;
 8805|    887|        if (
 8806|    887|            (break_stmt_var = break_stmt_rule(p))  // break_stmt
  ------------------
  |  |  191|    887|#define break_stmt_rule _PyPegen_break_stmt_rule
  ------------------
  |  Branch (8806:13): [True: 0, False: 887]
  ------------------
 8807|    887|        )
 8808|      0|        {
 8809|      0|            D(fprintf(stderr, "%*c+ _tmp_116[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "break_stmt"));
 8810|      0|            _res = break_stmt_var;
 8811|      0|            goto done;
 8812|      0|        }
 8813|    887|        p->mark = _mark;
 8814|    887|        D(fprintf(stderr, "%*c%s _tmp_116[%d-%d]: %s failed!\n", p->level, ' ',
 8815|    887|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "break_stmt"));
 8816|    887|    }
 8817|      0|    { // continue_stmt
 8818|    887|        if (p->error_indicator) {
  ------------------
  |  Branch (8818:13): [True: 0, False: 887]
  ------------------
 8819|      0|            p->level--;
 8820|      0|            return NULL;
 8821|      0|        }
 8822|    887|        D(fprintf(stderr, "%*c> _tmp_116[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "continue_stmt"));
 8823|    887|        stmt_ty continue_stmt_var;
 8824|    887|        if (
 8825|    887|            (continue_stmt_var = continue_stmt_rule(p))  // continue_stmt
  ------------------
  |  |  193|    887|#define continue_stmt_rule _PyPegen_continue_stmt_rule
  ------------------
  |  Branch (8825:13): [True: 0, False: 887]
  ------------------
 8826|    887|        )
 8827|      0|        {
 8828|      0|            D(fprintf(stderr, "%*c+ _tmp_116[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "continue_stmt"));
 8829|      0|            _res = continue_stmt_var;
 8830|      0|            goto done;
 8831|      0|        }
 8832|    887|        p->mark = _mark;
 8833|    887|        D(fprintf(stderr, "%*c%s _tmp_116[%d-%d]: %s failed!\n", p->level, ' ',
 8834|    887|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "continue_stmt"));
 8835|    887|    }
 8836|    887|    _res = NULL;
 8837|    887|  done:
 8838|    887|    p->level--;
 8839|    887|    return _res;
 8840|    887|}
parser_invalid.c:_tmp_118_rule:
 8902|    129|{
 8903|    129|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    258|#  define MAXSTACK 6000
  ------------------
  |  Branch (8903:9): [True: 0, False: 129]
  |  Branch (8903:35): [True: 0, False: 129]
  ------------------
 8904|      0|        _Pypegen_stack_overflow(p);
 8905|      0|    }
 8906|    129|    if (p->error_indicator) {
  ------------------
  |  Branch (8906:9): [True: 0, False: 129]
  ------------------
 8907|      0|        p->level--;
 8908|      0|        return NULL;
 8909|      0|    }
 8910|    129|    void * _res = NULL;
 8911|    129|    int _mark = p->mark;
 8912|    129|    { // list
 8913|    129|        if (p->error_indicator) {
  ------------------
  |  Branch (8913:13): [True: 0, False: 129]
  ------------------
 8914|      0|            p->level--;
 8915|      0|            return NULL;
 8916|      0|        }
 8917|    129|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "list"));
 8918|    129|        expr_ty list_var;
 8919|    129|        if (
 8920|    129|            (list_var = list_rule(p))  // list
  ------------------
  |  |  295|    129|#define list_rule _PyPegen_list_rule
  ------------------
  |  Branch (8920:13): [True: 0, False: 129]
  ------------------
 8921|    129|        )
 8922|      0|        {
 8923|      0|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "list"));
 8924|      0|            _res = list_var;
 8925|      0|            goto done;
 8926|      0|        }
 8927|    129|        p->mark = _mark;
 8928|    129|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
 8929|    129|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "list"));
 8930|    129|    }
 8931|      0|    { // tuple
 8932|    129|        if (p->error_indicator) {
  ------------------
  |  Branch (8932:13): [True: 0, False: 129]
  ------------------
 8933|      0|            p->level--;
 8934|      0|            return NULL;
 8935|      0|        }
 8936|    129|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tuple"));
 8937|    129|        expr_ty tuple_var;
 8938|    129|        if (
 8939|    129|            (tuple_var = tuple_rule(p))  // tuple
  ------------------
  |  |  297|    129|#define tuple_rule _PyPegen_tuple_rule
  ------------------
  |  Branch (8939:13): [True: 0, False: 129]
  ------------------
 8940|    129|        )
 8941|      0|        {
 8942|      0|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tuple"));
 8943|      0|            _res = tuple_var;
 8944|      0|            goto done;
 8945|      0|        }
 8946|    129|        p->mark = _mark;
 8947|    129|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
 8948|    129|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tuple"));
 8949|    129|    }
 8950|      0|    { // genexp
 8951|    129|        if (p->error_indicator) {
  ------------------
  |  Branch (8951:13): [True: 0, False: 129]
  ------------------
 8952|      0|            p->level--;
 8953|      0|            return NULL;
 8954|      0|        }
 8955|    129|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "genexp"));
 8956|    129|        expr_ty genexp_var;
 8957|    129|        if (
 8958|    129|            (genexp_var = genexp_rule(p))  // genexp
  ------------------
  |  |  303|    129|#define genexp_rule _PyPegen_genexp_rule
  ------------------
  |  Branch (8958:13): [True: 0, False: 129]
  ------------------
 8959|    129|        )
 8960|      0|        {
 8961|      0|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "genexp"));
 8962|      0|            _res = genexp_var;
 8963|      0|            goto done;
 8964|      0|        }
 8965|    129|        p->mark = _mark;
 8966|    129|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
 8967|    129|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "genexp"));
 8968|    129|    }
 8969|      0|    { // 'True'
 8970|    129|        if (p->error_indicator) {
  ------------------
  |  Branch (8970:13): [True: 0, False: 129]
  ------------------
 8971|      0|            p->level--;
 8972|      0|            return NULL;
 8973|      0|        }
 8974|    129|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True'"));
 8975|    129|        Token * _keyword;
 8976|    129|        if (
 8977|    129|            (_keyword = _PyPegen_expect_token(p, 527))  // token='True'
  ------------------
  |  Branch (8977:13): [True: 0, False: 129]
  ------------------
 8978|    129|        )
 8979|      0|        {
 8980|      0|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True'"));
 8981|      0|            _res = _keyword;
 8982|      0|            goto done;
 8983|      0|        }
 8984|    129|        p->mark = _mark;
 8985|    129|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
 8986|    129|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True'"));
 8987|    129|    }
 8988|      0|    { // 'None'
 8989|    129|        if (p->error_indicator) {
  ------------------
  |  Branch (8989:13): [True: 0, False: 129]
  ------------------
 8990|      0|            p->level--;
 8991|      0|            return NULL;
 8992|      0|        }
 8993|    129|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None'"));
 8994|    129|        Token * _keyword;
 8995|    129|        if (
 8996|    129|            (_keyword = _PyPegen_expect_token(p, 526))  // token='None'
  ------------------
  |  Branch (8996:13): [True: 0, False: 129]
  ------------------
 8997|    129|        )
 8998|      0|        {
 8999|      0|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None'"));
 9000|      0|            _res = _keyword;
 9001|      0|            goto done;
 9002|      0|        }
 9003|    129|        p->mark = _mark;
 9004|    129|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
 9005|    129|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None'"));
 9006|    129|    }
 9007|      0|    { // 'False'
 9008|    129|        if (p->error_indicator) {
  ------------------
  |  Branch (9008:13): [True: 0, False: 129]
  ------------------
 9009|      0|            p->level--;
 9010|      0|            return NULL;
 9011|      0|        }
 9012|    129|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False'"));
 9013|    129|        Token * _keyword;
 9014|    129|        if (
 9015|    129|            (_keyword = _PyPegen_expect_token(p, 528))  // token='False'
  ------------------
  |  Branch (9015:13): [True: 0, False: 129]
  ------------------
 9016|    129|        )
 9017|      0|        {
 9018|      0|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False'"));
 9019|      0|            _res = _keyword;
 9020|      0|            goto done;
 9021|      0|        }
 9022|    129|        p->mark = _mark;
 9023|    129|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
 9024|    129|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False'"));
 9025|    129|    }
 9026|    129|    _res = NULL;
 9027|    129|  done:
 9028|    129|    p->level--;
 9029|    129|    return _res;
 9030|    129|}
parser_invalid.c:_tmp_121_rule:
 9151|  1.44k|{
 9152|  1.44k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.89k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9152:9): [True: 0, False: 1.44k]
  |  Branch (9152:35): [True: 0, False: 1.44k]
  ------------------
 9153|      0|        _Pypegen_stack_overflow(p);
 9154|      0|    }
 9155|  1.44k|    if (p->error_indicator) {
  ------------------
  |  Branch (9155:9): [True: 0, False: 1.44k]
  ------------------
 9156|      0|        p->level--;
 9157|      0|        return NULL;
 9158|      0|    }
 9159|  1.44k|    void * _res = NULL;
 9160|  1.44k|    int _mark = p->mark;
 9161|  1.44k|    { // '['
 9162|  1.44k|        if (p->error_indicator) {
  ------------------
  |  Branch (9162:13): [True: 0, False: 1.44k]
  ------------------
 9163|      0|            p->level--;
 9164|      0|            return NULL;
 9165|      0|        }
 9166|  1.44k|        D(fprintf(stderr, "%*c> _tmp_121[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'['"));
 9167|  1.44k|        Token * _literal;
 9168|  1.44k|        if (
 9169|  1.44k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (9169:13): [True: 18, False: 1.43k]
  ------------------
 9170|  1.44k|        )
 9171|     18|        {
 9172|     18|            D(fprintf(stderr, "%*c+ _tmp_121[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'['"));
 9173|     18|            _res = _literal;
 9174|     18|            goto done;
 9175|     18|        }
 9176|  1.43k|        p->mark = _mark;
 9177|  1.43k|        D(fprintf(stderr, "%*c%s _tmp_121[%d-%d]: %s failed!\n", p->level, ' ',
 9178|  1.43k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'['"));
 9179|  1.43k|    }
 9180|      0|    { // '{'
 9181|  1.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (9181:13): [True: 0, False: 1.43k]
  ------------------
 9182|      0|            p->level--;
 9183|      0|            return NULL;
 9184|      0|        }
 9185|  1.43k|        D(fprintf(stderr, "%*c> _tmp_121[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{'"));
 9186|  1.43k|        Token * _literal;
 9187|  1.43k|        if (
 9188|  1.43k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (9188:13): [True: 0, False: 1.43k]
  ------------------
 9189|  1.43k|        )
 9190|      0|        {
 9191|      0|            D(fprintf(stderr, "%*c+ _tmp_121[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{'"));
 9192|      0|            _res = _literal;
 9193|      0|            goto done;
 9194|      0|        }
 9195|  1.43k|        p->mark = _mark;
 9196|  1.43k|        D(fprintf(stderr, "%*c%s _tmp_121[%d-%d]: %s failed!\n", p->level, ' ',
 9197|  1.43k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{'"));
 9198|  1.43k|    }
 9199|  1.43k|    _res = NULL;
 9200|  1.44k|  done:
 9201|  1.44k|    p->level--;
 9202|  1.44k|    return _res;
 9203|  1.43k|}
parser_invalid.c:_tmp_128_rule:
 9564|      1|{
 9565|      1|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (9565:9): [True: 0, False: 1]
  |  Branch (9565:35): [True: 0, False: 1]
  ------------------
 9566|      0|        _Pypegen_stack_overflow(p);
 9567|      0|    }
 9568|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (9568:9): [True: 0, False: 1]
  ------------------
 9569|      0|        p->level--;
 9570|      0|        return NULL;
 9571|      0|    }
 9572|      1|    void * _res = NULL;
 9573|      1|    int _mark = p->mark;
 9574|      1|    { // ')'
 9575|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (9575:13): [True: 0, False: 1]
  ------------------
 9576|      0|            p->level--;
 9577|      0|            return NULL;
 9578|      0|        }
 9579|      1|        D(fprintf(stderr, "%*c> _tmp_128[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "')'"));
 9580|      1|        Token * _literal;
 9581|      1|        if (
 9582|      1|            (_literal = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (9582:13): [True: 0, False: 1]
  ------------------
 9583|      1|        )
 9584|      0|        {
 9585|      0|            D(fprintf(stderr, "%*c+ _tmp_128[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "')'"));
 9586|      0|            _res = _literal;
 9587|      0|            goto done;
 9588|      0|        }
 9589|      1|        p->mark = _mark;
 9590|      1|        D(fprintf(stderr, "%*c%s _tmp_128[%d-%d]: %s failed!\n", p->level, ' ',
 9591|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "')'"));
 9592|      1|    }
 9593|      0|    { // ','
 9594|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (9594:13): [True: 0, False: 1]
  ------------------
 9595|      0|            p->level--;
 9596|      0|            return NULL;
 9597|      0|        }
 9598|      1|        D(fprintf(stderr, "%*c> _tmp_128[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','"));
 9599|      1|        Token * _literal;
 9600|      1|        if (
 9601|      1|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (9601:13): [True: 1, False: 0]
  ------------------
 9602|      1|        )
 9603|      1|        {
 9604|      1|            D(fprintf(stderr, "%*c+ _tmp_128[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','"));
 9605|      1|            _res = _literal;
 9606|      1|            goto done;
 9607|      1|        }
 9608|      0|        p->mark = _mark;
 9609|      0|        D(fprintf(stderr, "%*c%s _tmp_128[%d-%d]: %s failed!\n", p->level, ' ',
 9610|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','"));
 9611|      0|    }
 9612|      0|    _res = NULL;
 9613|      1|  done:
 9614|      1|    p->level--;
 9615|      1|    return _res;
 9616|      0|}
parser_invalid.c:_tmp_133_rule:
 9877|     43|{
 9878|     43|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     86|#  define MAXSTACK 6000
  ------------------
  |  Branch (9878:9): [True: 0, False: 43]
  |  Branch (9878:35): [True: 0, False: 43]
  ------------------
 9879|      0|        _Pypegen_stack_overflow(p);
 9880|      0|    }
 9881|     43|    if (p->error_indicator) {
  ------------------
  |  Branch (9881:9): [True: 0, False: 43]
  ------------------
 9882|      0|        p->level--;
 9883|      0|        return NULL;
 9884|      0|    }
 9885|     43|    void * _res = NULL;
 9886|     43|    int _mark = p->mark;
 9887|     43|    { // lambda_slash_no_default
 9888|     43|        if (p->error_indicator) {
  ------------------
  |  Branch (9888:13): [True: 0, False: 43]
  ------------------
 9889|      0|            p->level--;
 9890|      0|            return NULL;
 9891|      0|        }
 9892|     43|        D(fprintf(stderr, "%*c> _tmp_133[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default"));
 9893|     43|        asdl_arg_seq* lambda_slash_no_default_var;
 9894|     43|        if (
 9895|     43|            (lambda_slash_no_default_var = lambda_slash_no_default_rule(p))  // lambda_slash_no_default
  ------------------
  |  |  275|     43|#define lambda_slash_no_default_rule _PyPegen_lambda_slash_no_default_rule
  ------------------
  |  Branch (9895:13): [True: 0, False: 43]
  ------------------
 9896|     43|        )
 9897|      0|        {
 9898|      0|            D(fprintf(stderr, "%*c+ _tmp_133[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default"));
 9899|      0|            _res = lambda_slash_no_default_var;
 9900|      0|            goto done;
 9901|      0|        }
 9902|     43|        p->mark = _mark;
 9903|     43|        D(fprintf(stderr, "%*c%s _tmp_133[%d-%d]: %s failed!\n", p->level, ' ',
 9904|     43|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_no_default"));
 9905|     43|    }
 9906|      0|    { // lambda_slash_with_default
 9907|     43|        if (p->error_indicator) {
  ------------------
  |  Branch (9907:13): [True: 0, False: 43]
  ------------------
 9908|      0|            p->level--;
 9909|      0|            return NULL;
 9910|      0|        }
 9911|     43|        D(fprintf(stderr, "%*c> _tmp_133[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default"));
 9912|     43|        SlashWithDefault* lambda_slash_with_default_var;
 9913|     43|        if (
 9914|     43|            (lambda_slash_with_default_var = lambda_slash_with_default_rule(p))  // lambda_slash_with_default
  ------------------
  |  |  277|     43|#define lambda_slash_with_default_rule _PyPegen_lambda_slash_with_default_rule
  ------------------
  |  Branch (9914:13): [True: 0, False: 43]
  ------------------
 9915|     43|        )
 9916|      0|        {
 9917|      0|            D(fprintf(stderr, "%*c+ _tmp_133[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default"));
 9918|      0|            _res = lambda_slash_with_default_var;
 9919|      0|            goto done;
 9920|      0|        }
 9921|     43|        p->mark = _mark;
 9922|     43|        D(fprintf(stderr, "%*c%s _tmp_133[%d-%d]: %s failed!\n", p->level, ' ',
 9923|     43|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_with_default"));
 9924|     43|    }
 9925|     43|    _res = NULL;
 9926|     43|  done:
 9927|     43|    p->level--;
 9928|     43|    return _res;
 9929|     43|}
parser_invalid.c:_loop0_134_rule:
 9934|     21|{
 9935|     21|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (9935:9): [True: 0, False: 21]
  |  Branch (9935:35): [True: 0, False: 21]
  ------------------
 9936|      0|        _Pypegen_stack_overflow(p);
 9937|      0|    }
 9938|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (9938:9): [True: 0, False: 21]
  ------------------
 9939|      0|        p->level--;
 9940|      0|        return NULL;
 9941|      0|    }
 9942|     21|    void *_res = NULL;
 9943|     21|    int _mark = p->mark;
 9944|     21|    void **_children = NULL;
 9945|     21|    Py_ssize_t _children_capacity = 0;
 9946|     21|    Py_ssize_t _n = 0;
 9947|     21|    { // lambda_param_maybe_default
 9948|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (9948:13): [True: 0, False: 21]
  ------------------
 9949|      0|            p->level--;
 9950|      0|            return NULL;
 9951|      0|        }
 9952|     21|        D(fprintf(stderr, "%*c> _loop0_134[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_maybe_default"));
 9953|     21|        NameDefaultPair* lambda_param_maybe_default_var;
 9954|     21|        while (
 9955|  4.38M|            (lambda_param_maybe_default_var = lambda_param_maybe_default_rule(p))  // lambda_param_maybe_default
  ------------------
  |  |  283|  4.38M|#define lambda_param_maybe_default_rule _PyPegen_lambda_param_maybe_default_rule
  ------------------
  |  Branch (9955:13): [True: 4.38M, False: 21]
  ------------------
 9956|     21|        )
 9957|  4.38M|        {
 9958|  4.38M|            _res = lambda_param_maybe_default_var;
 9959|  4.38M|            if (_n == _children_capacity) {
  ------------------
  |  Branch (9959:17): [True: 390, False: 4.38M]
  ------------------
 9960|    390|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (9960:21): [True: 0, False: 390]
  ------------------
 9961|      0|                    p->error_indicator = 1;
 9962|      0|                    PyErr_NoMemory();
 9963|      0|                    PyMem_Free(_children);
 9964|      0|                    p->level--;
 9965|      0|                    return NULL;
 9966|      0|                }
 9967|    390|            }
 9968|  4.38M|            _children[_n++] = _res;
 9969|  4.38M|            _mark = p->mark;
 9970|  4.38M|        }
 9971|     21|        p->mark = _mark;
 9972|     21|        D(fprintf(stderr, "%*c%s _loop0_134[%d-%d]: %s failed!\n", p->level, ' ',
 9973|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_maybe_default"));
 9974|     21|    }
 9975|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
 9976|     21|    if (!_seq) {
  ------------------
  |  Branch (9976:9): [True: 0, False: 21]
  ------------------
 9977|      0|        p->error_indicator = 1;
 9978|      0|        PyErr_NoMemory();
 9979|      0|        PyMem_Free(_children);
 9980|      0|        p->level--;
 9981|      0|        return NULL;
 9982|      0|    }
 9983|  4.38M|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  4.38M|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  4.38M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (9983:28): [True: 4.38M, False: 21]
  ------------------
 9984|     21|    PyMem_Free(_children);
 9985|     21|    p->level--;
 9986|     21|    return _seq;
 9987|     21|}
parser_invalid.c:_loop0_135_rule:
 9992|     42|{
 9993|     42|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     84|#  define MAXSTACK 6000
  ------------------
  |  Branch (9993:9): [True: 0, False: 42]
  |  Branch (9993:35): [True: 0, False: 42]
  ------------------
 9994|      0|        _Pypegen_stack_overflow(p);
 9995|      0|    }
 9996|     42|    if (p->error_indicator) {
  ------------------
  |  Branch (9996:9): [True: 0, False: 42]
  ------------------
 9997|      0|        p->level--;
 9998|      0|        return NULL;
 9999|      0|    }
10000|     42|    void *_res = NULL;
10001|     42|    int _mark = p->mark;
10002|     42|    void **_children = NULL;
10003|     42|    Py_ssize_t _children_capacity = 0;
10004|     42|    Py_ssize_t _n = 0;
10005|     42|    { // lambda_param_no_default
10006|     42|        if (p->error_indicator) {
  ------------------
  |  Branch (10006:13): [True: 0, False: 42]
  ------------------
10007|      0|            p->level--;
10008|      0|            return NULL;
10009|      0|        }
10010|     42|        D(fprintf(stderr, "%*c> _loop0_135[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
10011|     42|        arg_ty lambda_param_no_default_var;
10012|     42|        while (
10013|  8.76M|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  |  279|  8.76M|#define lambda_param_no_default_rule _PyPegen_lambda_param_no_default_rule
  ------------------
  |  Branch (10013:13): [True: 8.76M, False: 42]
  ------------------
10014|     42|        )
10015|  8.76M|        {
10016|  8.76M|            _res = lambda_param_no_default_var;
10017|  8.76M|            if (_n == _children_capacity) {
  ------------------
  |  Branch (10017:17): [True: 780, False: 8.76M]
  ------------------
10018|    780|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (10018:21): [True: 0, False: 780]
  ------------------
10019|      0|                    p->error_indicator = 1;
10020|      0|                    PyErr_NoMemory();
10021|      0|                    PyMem_Free(_children);
10022|      0|                    p->level--;
10023|      0|                    return NULL;
10024|      0|                }
10025|    780|            }
10026|  8.76M|            _children[_n++] = _res;
10027|  8.76M|            _mark = p->mark;
10028|  8.76M|        }
10029|     42|        p->mark = _mark;
10030|     42|        D(fprintf(stderr, "%*c%s _loop0_135[%d-%d]: %s failed!\n", p->level, ' ',
10031|     42|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
10032|     42|    }
10033|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
10034|     42|    if (!_seq) {
  ------------------
  |  Branch (10034:9): [True: 0, False: 42]
  ------------------
10035|      0|        p->error_indicator = 1;
10036|      0|        PyErr_NoMemory();
10037|      0|        PyMem_Free(_children);
10038|      0|        p->level--;
10039|      0|        return NULL;
10040|      0|    }
10041|  8.76M|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  8.76M|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  8.76M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (10041:28): [True: 8.76M, False: 42]
  ------------------
10042|     42|    PyMem_Free(_children);
10043|     42|    p->level--;
10044|     42|    return _seq;
10045|     42|}
parser_invalid.c:_loop1_139_rule:
10215|     21|{
10216|     21|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (10216:9): [True: 0, False: 21]
  |  Branch (10216:35): [True: 0, False: 21]
  ------------------
10217|      0|        _Pypegen_stack_overflow(p);
10218|      0|    }
10219|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (10219:9): [True: 0, False: 21]
  ------------------
10220|      0|        p->level--;
10221|      0|        return NULL;
10222|      0|    }
10223|     21|    void *_res = NULL;
10224|     21|    int _mark = p->mark;
10225|     21|    void **_children = NULL;
10226|     21|    Py_ssize_t _children_capacity = 0;
10227|     21|    Py_ssize_t _n = 0;
10228|     21|    { // lambda_param_maybe_default
10229|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (10229:13): [True: 0, False: 21]
  ------------------
10230|      0|            p->level--;
10231|      0|            return NULL;
10232|      0|        }
10233|     21|        D(fprintf(stderr, "%*c> _loop1_139[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_maybe_default"));
10234|     21|        NameDefaultPair* lambda_param_maybe_default_var;
10235|     21|        while (
10236|  4.38M|            (lambda_param_maybe_default_var = lambda_param_maybe_default_rule(p))  // lambda_param_maybe_default
  ------------------
  |  |  283|  4.38M|#define lambda_param_maybe_default_rule _PyPegen_lambda_param_maybe_default_rule
  ------------------
  |  Branch (10236:13): [True: 4.38M, False: 21]
  ------------------
10237|     21|        )
10238|  4.38M|        {
10239|  4.38M|            _res = lambda_param_maybe_default_var;
10240|  4.38M|            if (_n == _children_capacity) {
  ------------------
  |  Branch (10240:17): [True: 390, False: 4.38M]
  ------------------
10241|    390|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (10241:21): [True: 0, False: 390]
  ------------------
10242|      0|                    p->error_indicator = 1;
10243|      0|                    PyErr_NoMemory();
10244|      0|                    PyMem_Free(_children);
10245|      0|                    p->level--;
10246|      0|                    return NULL;
10247|      0|                }
10248|    390|            }
10249|  4.38M|            _children[_n++] = _res;
10250|  4.38M|            _mark = p->mark;
10251|  4.38M|        }
10252|     21|        p->mark = _mark;
10253|     21|        D(fprintf(stderr, "%*c%s _loop1_139[%d-%d]: %s failed!\n", p->level, ' ',
10254|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_maybe_default"));
10255|     21|    }
10256|     21|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (10256:9): [True: 0, False: 21]
  |  Branch (10256:20): [True: 0, False: 21]
  ------------------
10257|      0|        PyMem_Free(_children);
10258|      0|        p->level--;
10259|      0|        return NULL;
10260|      0|    }
10261|     21|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
10262|     21|    if (!_seq) {
  ------------------
  |  Branch (10262:9): [True: 0, False: 21]
  ------------------
10263|      0|        p->error_indicator = 1;
10264|      0|        PyErr_NoMemory();
10265|      0|        PyMem_Free(_children);
10266|      0|        p->level--;
10267|      0|        return NULL;
10268|      0|    }
10269|  4.38M|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  4.38M|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  4.38M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (10269:28): [True: 4.38M, False: 21]
  ------------------
10270|     21|    PyMem_Free(_children);
10271|     21|    p->level--;
10272|     21|    return _seq;
10273|     21|}
parser_invalid.c:_gather_165_rule:
11618|      2|{
11619|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (11619:9): [True: 0, False: 2]
  |  Branch (11619:35): [True: 0, False: 2]
  ------------------
11620|      0|        _Pypegen_stack_overflow(p);
11621|      0|    }
11622|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (11622:9): [True: 0, False: 2]
  ------------------
11623|      0|        p->level--;
11624|      0|        return NULL;
11625|      0|    }
11626|      2|    asdl_seq * _res = NULL;
11627|      2|    int _mark = p->mark;
11628|      2|    { // double_starred_kvpair _loop0_164
11629|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (11629:13): [True: 0, False: 2]
  ------------------
11630|      0|            p->level--;
11631|      0|            return NULL;
11632|      0|        }
11633|      2|        D(fprintf(stderr, "%*c> _gather_165[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "double_starred_kvpair _loop0_164"));
11634|      2|        KeyValuePair* elem;
11635|      2|        asdl_seq * seq;
11636|      2|        if (
11637|      2|            (elem = double_starred_kvpair_rule(p))  // double_starred_kvpair
  ------------------
  |  |  299|      2|#define double_starred_kvpair_rule _PyPegen_double_starred_kvpair_rule
  ------------------
  |  Branch (11637:13): [True: 0, False: 2]
  ------------------
11638|      0|            &&
11639|      0|            (seq = _loop0_164_rule(p))  // _loop0_164
  ------------------
  |  Branch (11639:13): [True: 0, False: 0]
  ------------------
11640|      2|        )
11641|      0|        {
11642|      0|            D(fprintf(stderr, "%*c+ _gather_165[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "double_starred_kvpair _loop0_164"));
11643|      0|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
11644|      0|            goto done;
11645|      0|        }
11646|      2|        p->mark = _mark;
11647|      2|        D(fprintf(stderr, "%*c%s _gather_165[%d-%d]: %s failed!\n", p->level, ' ',
11648|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "double_starred_kvpair _loop0_164"));
11649|      2|    }
11650|      2|    _res = NULL;
11651|      2|  done:
11652|      2|    p->level--;
11653|      2|    return _res;
11654|      2|}
parser_invalid.c:_loop1_173_rule:
12100|    270|{
12101|    270|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    540|#  define MAXSTACK 6000
  ------------------
  |  Branch (12101:9): [True: 0, False: 270]
  |  Branch (12101:35): [True: 0, False: 270]
  ------------------
12102|      0|        _Pypegen_stack_overflow(p);
12103|      0|    }
12104|    270|    if (p->error_indicator) {
  ------------------
  |  Branch (12104:9): [True: 0, False: 270]
  ------------------
12105|      0|        p->level--;
12106|      0|        return NULL;
12107|      0|    }
12108|    270|    void *_res = NULL;
12109|    270|    int _mark = p->mark;
12110|    270|    void **_children = NULL;
12111|    270|    Py_ssize_t _children_capacity = 0;
12112|    270|    Py_ssize_t _n = 0;
12113|    270|    { // (fstring | string)
12114|    270|        if (p->error_indicator) {
  ------------------
  |  Branch (12114:13): [True: 0, False: 270]
  ------------------
12115|      0|            p->level--;
12116|      0|            return NULL;
12117|      0|        }
12118|    270|        D(fprintf(stderr, "%*c> _loop1_173[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(fstring | string)"));
12119|    270|        void *_tmp_175_var;
12120|    270|        while (
12121|    540|            (_tmp_175_var = _tmp_175_rule(p))  // fstring | string
  ------------------
  |  Branch (12121:13): [True: 270, False: 270]
  ------------------
12122|    270|        )
12123|    270|        {
12124|    270|            _res = _tmp_175_var;
12125|    270|            if (_n == _children_capacity) {
  ------------------
  |  Branch (12125:17): [True: 270, False: 0]
  ------------------
12126|    270|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (12126:21): [True: 0, False: 270]
  ------------------
12127|      0|                    p->error_indicator = 1;
12128|      0|                    PyErr_NoMemory();
12129|      0|                    PyMem_Free(_children);
12130|      0|                    p->level--;
12131|      0|                    return NULL;
12132|      0|                }
12133|    270|            }
12134|    270|            _children[_n++] = _res;
12135|    270|            _mark = p->mark;
12136|    270|        }
12137|    270|        p->mark = _mark;
12138|    270|        D(fprintf(stderr, "%*c%s _loop1_173[%d-%d]: %s failed!\n", p->level, ' ',
12139|    270|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(fstring | string)"));
12140|    270|    }
12141|    270|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (12141:9): [True: 0, False: 270]
  |  Branch (12141:20): [True: 0, False: 270]
  ------------------
12142|      0|        PyMem_Free(_children);
12143|      0|        p->level--;
12144|      0|        return NULL;
12145|      0|    }
12146|    270|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
12147|    270|    if (!_seq) {
  ------------------
  |  Branch (12147:9): [True: 0, False: 270]
  ------------------
12148|      0|        p->error_indicator = 1;
12149|      0|        PyErr_NoMemory();
12150|      0|        PyMem_Free(_children);
12151|      0|        p->level--;
12152|      0|        return NULL;
12153|      0|    }
12154|    540|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    270|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|    540|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (12154:28): [True: 270, False: 270]
  ------------------
12155|    270|    PyMem_Free(_children);
12156|    270|    p->level--;
12157|    270|    return _seq;
12158|    270|}
parser_invalid.c:_loop1_174_rule:
12163|    270|{
12164|    270|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    540|#  define MAXSTACK 6000
  ------------------
  |  Branch (12164:9): [True: 0, False: 270]
  |  Branch (12164:35): [True: 0, False: 270]
  ------------------
12165|      0|        _Pypegen_stack_overflow(p);
12166|      0|    }
12167|    270|    if (p->error_indicator) {
  ------------------
  |  Branch (12167:9): [True: 0, False: 270]
  ------------------
12168|      0|        p->level--;
12169|      0|        return NULL;
12170|      0|    }
12171|    270|    void *_res = NULL;
12172|    270|    int _mark = p->mark;
12173|    270|    void **_children = NULL;
12174|    270|    Py_ssize_t _children_capacity = 0;
12175|    270|    Py_ssize_t _n = 0;
12176|    270|    { // tstring
12177|    270|        if (p->error_indicator) {
  ------------------
  |  Branch (12177:13): [True: 0, False: 270]
  ------------------
12178|      0|            p->level--;
12179|      0|            return NULL;
12180|      0|        }
12181|    270|        D(fprintf(stderr, "%*c> _loop1_174[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring"));
12182|    270|        expr_ty tstring_var;
12183|    270|        while (
12184|    270|            (tstring_var = tstring_rule(p))  // tstring
  ------------------
  |  |  291|    270|#define tstring_rule _PyPegen_tstring_rule
  ------------------
  |  Branch (12184:13): [True: 0, False: 270]
  ------------------
12185|    270|        )
12186|      0|        {
12187|      0|            _res = tstring_var;
12188|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (12188:17): [True: 0, False: 0]
  ------------------
12189|      0|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (12189:21): [True: 0, False: 0]
  ------------------
12190|      0|                    p->error_indicator = 1;
12191|      0|                    PyErr_NoMemory();
12192|      0|                    PyMem_Free(_children);
12193|      0|                    p->level--;
12194|      0|                    return NULL;
12195|      0|                }
12196|      0|            }
12197|      0|            _children[_n++] = _res;
12198|      0|            _mark = p->mark;
12199|      0|        }
12200|    270|        p->mark = _mark;
12201|    270|        D(fprintf(stderr, "%*c%s _loop1_174[%d-%d]: %s failed!\n", p->level, ' ',
12202|    270|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring"));
12203|    270|    }
12204|    270|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (12204:9): [True: 270, False: 0]
  |  Branch (12204:20): [True: 0, False: 0]
  ------------------
12205|    270|        PyMem_Free(_children);
12206|    270|        p->level--;
12207|    270|        return NULL;
12208|    270|    }
12209|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
12210|      0|    if (!_seq) {
  ------------------
  |  Branch (12210:9): [True: 0, False: 0]
  ------------------
12211|      0|        p->error_indicator = 1;
12212|      0|        PyErr_NoMemory();
12213|      0|        PyMem_Free(_children);
12214|      0|        p->level--;
12215|      0|        return NULL;
12216|      0|    }
12217|      0|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (12217:28): [True: 0, False: 0]
  ------------------
12218|      0|    PyMem_Free(_children);
12219|      0|    p->level--;
12220|      0|    return _seq;
12221|      0|}
parser_invalid.c:_tmp_175_rule:
12226|    540|{
12227|    540|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.08k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12227:9): [True: 0, False: 540]
  |  Branch (12227:35): [True: 0, False: 540]
  ------------------
12228|      0|        _Pypegen_stack_overflow(p);
12229|      0|    }
12230|    540|    if (p->error_indicator) {
  ------------------
  |  Branch (12230:9): [True: 0, False: 540]
  ------------------
12231|      0|        p->level--;
12232|      0|        return NULL;
12233|      0|    }
12234|    540|    void * _res = NULL;
12235|    540|    int _mark = p->mark;
12236|    540|    { // fstring
12237|    540|        if (p->error_indicator) {
  ------------------
  |  Branch (12237:13): [True: 0, False: 540]
  ------------------
12238|      0|            p->level--;
12239|      0|            return NULL;
12240|      0|        }
12241|    540|        D(fprintf(stderr, "%*c> _tmp_175[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring"));
12242|    540|        expr_ty fstring_var;
12243|    540|        if (
12244|    540|            (fstring_var = fstring_rule(p))  // fstring
  ------------------
  |  |  289|    540|#define fstring_rule _PyPegen_fstring_rule
  ------------------
  |  Branch (12244:13): [True: 0, False: 540]
  ------------------
12245|    540|        )
12246|      0|        {
12247|      0|            D(fprintf(stderr, "%*c+ _tmp_175[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "fstring"));
12248|      0|            _res = fstring_var;
12249|      0|            goto done;
12250|      0|        }
12251|    540|        p->mark = _mark;
12252|    540|        D(fprintf(stderr, "%*c%s _tmp_175[%d-%d]: %s failed!\n", p->level, ' ',
12253|    540|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring"));
12254|    540|    }
12255|      0|    { // string
12256|    540|        if (p->error_indicator) {
  ------------------
  |  Branch (12256:13): [True: 0, False: 540]
  ------------------
12257|      0|            p->level--;
12258|      0|            return NULL;
12259|      0|        }
12260|    540|        D(fprintf(stderr, "%*c> _tmp_175[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "string"));
12261|    540|        expr_ty string_var;
12262|    540|        if (
12263|    540|            (string_var = string_rule(p))  // string
  ------------------
  |  |  293|    540|#define string_rule _PyPegen_string_rule
  ------------------
  |  Branch (12263:13): [True: 270, False: 270]
  ------------------
12264|    540|        )
12265|    270|        {
12266|    270|            D(fprintf(stderr, "%*c+ _tmp_175[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "string"));
12267|    270|            _res = string_var;
12268|    270|            goto done;
12269|    270|        }
12270|    270|        p->mark = _mark;
12271|    270|        D(fprintf(stderr, "%*c%s _tmp_175[%d-%d]: %s failed!\n", p->level, ' ',
12272|    270|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "string"));
12273|    270|    }
12274|    270|    _res = NULL;
12275|    540|  done:
12276|    540|    p->level--;
12277|    540|    return _res;
12278|    270|}
parser_invalid.c:_tmp_176_rule:
12283|    336|{
12284|    336|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    672|#  define MAXSTACK 6000
  ------------------
  |  Branch (12284:9): [True: 0, False: 336]
  |  Branch (12284:35): [True: 0, False: 336]
  ------------------
12285|      0|        _Pypegen_stack_overflow(p);
12286|      0|    }
12287|    336|    if (p->error_indicator) {
  ------------------
  |  Branch (12287:9): [True: 0, False: 336]
  ------------------
12288|      0|        p->level--;
12289|      0|        return NULL;
12290|      0|    }
12291|    336|    void * _res = NULL;
12292|    336|    int _mark = p->mark;
12293|    336|    { // '+'
12294|    336|        if (p->error_indicator) {
  ------------------
  |  Branch (12294:13): [True: 0, False: 336]
  ------------------
12295|      0|            p->level--;
12296|      0|            return NULL;
12297|      0|        }
12298|    336|        D(fprintf(stderr, "%*c> _tmp_176[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+'"));
12299|    336|        Token * _literal;
12300|    336|        if (
12301|    336|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (12301:13): [True: 0, False: 336]
  ------------------
12302|    336|        )
12303|      0|        {
12304|      0|            D(fprintf(stderr, "%*c+ _tmp_176[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+'"));
12305|      0|            _res = _literal;
12306|      0|            goto done;
12307|      0|        }
12308|    336|        p->mark = _mark;
12309|    336|        D(fprintf(stderr, "%*c%s _tmp_176[%d-%d]: %s failed!\n", p->level, ' ',
12310|    336|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+'"));
12311|    336|    }
12312|      0|    { // '-'
12313|    336|        if (p->error_indicator) {
  ------------------
  |  Branch (12313:13): [True: 0, False: 336]
  ------------------
12314|      0|            p->level--;
12315|      0|            return NULL;
12316|      0|        }
12317|    336|        D(fprintf(stderr, "%*c> _tmp_176[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-'"));
12318|    336|        Token * _literal;
12319|    336|        if (
12320|    336|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (12320:13): [True: 10, False: 326]
  ------------------
12321|    336|        )
12322|     10|        {
12323|     10|            D(fprintf(stderr, "%*c+ _tmp_176[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-'"));
12324|     10|            _res = _literal;
12325|     10|            goto done;
12326|     10|        }
12327|    326|        p->mark = _mark;
12328|    326|        D(fprintf(stderr, "%*c%s _tmp_176[%d-%d]: %s failed!\n", p->level, ' ',
12329|    326|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-'"));
12330|    326|    }
12331|      0|    { // '*'
12332|    326|        if (p->error_indicator) {
  ------------------
  |  Branch (12332:13): [True: 0, False: 326]
  ------------------
12333|      0|            p->level--;
12334|      0|            return NULL;
12335|      0|        }
12336|    326|        D(fprintf(stderr, "%*c> _tmp_176[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*'"));
12337|    326|        Token * _literal;
12338|    326|        if (
12339|    326|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (12339:13): [True: 0, False: 326]
  ------------------
12340|    326|        )
12341|      0|        {
12342|      0|            D(fprintf(stderr, "%*c+ _tmp_176[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*'"));
12343|      0|            _res = _literal;
12344|      0|            goto done;
12345|      0|        }
12346|    326|        p->mark = _mark;
12347|    326|        D(fprintf(stderr, "%*c%s _tmp_176[%d-%d]: %s failed!\n", p->level, ' ',
12348|    326|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*'"));
12349|    326|    }
12350|      0|    { // '/'
12351|    326|        if (p->error_indicator) {
  ------------------
  |  Branch (12351:13): [True: 0, False: 326]
  ------------------
12352|      0|            p->level--;
12353|      0|            return NULL;
12354|      0|        }
12355|    326|        D(fprintf(stderr, "%*c> _tmp_176[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'/'"));
12356|    326|        Token * _literal;
12357|    326|        if (
12358|    326|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (12358:13): [True: 0, False: 326]
  ------------------
12359|    326|        )
12360|      0|        {
12361|      0|            D(fprintf(stderr, "%*c+ _tmp_176[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'/'"));
12362|      0|            _res = _literal;
12363|      0|            goto done;
12364|      0|        }
12365|    326|        p->mark = _mark;
12366|    326|        D(fprintf(stderr, "%*c%s _tmp_176[%d-%d]: %s failed!\n", p->level, ' ',
12367|    326|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'/'"));
12368|    326|    }
12369|      0|    { // '%'
12370|    326|        if (p->error_indicator) {
  ------------------
  |  Branch (12370:13): [True: 0, False: 326]
  ------------------
12371|      0|            p->level--;
12372|      0|            return NULL;
12373|      0|        }
12374|    326|        D(fprintf(stderr, "%*c> _tmp_176[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'%'"));
12375|    326|        Token * _literal;
12376|    326|        if (
12377|    326|            (_literal = _PyPegen_expect_token(p, 24))  // token='%'
  ------------------
  |  Branch (12377:13): [True: 0, False: 326]
  ------------------
12378|    326|        )
12379|      0|        {
12380|      0|            D(fprintf(stderr, "%*c+ _tmp_176[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'%'"));
12381|      0|            _res = _literal;
12382|      0|            goto done;
12383|      0|        }
12384|    326|        p->mark = _mark;
12385|    326|        D(fprintf(stderr, "%*c%s _tmp_176[%d-%d]: %s failed!\n", p->level, ' ',
12386|    326|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'%'"));
12387|    326|    }
12388|      0|    { // '//'
12389|    326|        if (p->error_indicator) {
  ------------------
  |  Branch (12389:13): [True: 0, False: 326]
  ------------------
12390|      0|            p->level--;
12391|      0|            return NULL;
12392|      0|        }
12393|    326|        D(fprintf(stderr, "%*c> _tmp_176[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'//'"));
12394|    326|        Token * _literal;
12395|    326|        if (
12396|    326|            (_literal = _PyPegen_expect_token(p, 47))  // token='//'
  ------------------
  |  Branch (12396:13): [True: 0, False: 326]
  ------------------
12397|    326|        )
12398|      0|        {
12399|      0|            D(fprintf(stderr, "%*c+ _tmp_176[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'//'"));
12400|      0|            _res = _literal;
12401|      0|            goto done;
12402|      0|        }
12403|    326|        p->mark = _mark;
12404|    326|        D(fprintf(stderr, "%*c%s _tmp_176[%d-%d]: %s failed!\n", p->level, ' ',
12405|    326|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'//'"));
12406|    326|    }
12407|      0|    { // '@'
12408|    326|        if (p->error_indicator) {
  ------------------
  |  Branch (12408:13): [True: 0, False: 326]
  ------------------
12409|      0|            p->level--;
12410|      0|            return NULL;
12411|      0|        }
12412|    326|        D(fprintf(stderr, "%*c> _tmp_176[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'@'"));
12413|    326|        Token * _literal;
12414|    326|        if (
12415|    326|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (12415:13): [True: 0, False: 326]
  ------------------
12416|    326|        )
12417|      0|        {
12418|      0|            D(fprintf(stderr, "%*c+ _tmp_176[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'@'"));
12419|      0|            _res = _literal;
12420|      0|            goto done;
12421|      0|        }
12422|    326|        p->mark = _mark;
12423|    326|        D(fprintf(stderr, "%*c%s _tmp_176[%d-%d]: %s failed!\n", p->level, ' ',
12424|    326|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'@'"));
12425|    326|    }
12426|    326|    _res = NULL;
12427|    336|  done:
12428|    336|    p->level--;
12429|    336|    return _res;
12430|    326|}
parser_invalid.c:_tmp_177_rule:
12435|    582|{
12436|    582|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.16k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12436:9): [True: 0, False: 582]
  |  Branch (12436:35): [True: 0, False: 582]
  ------------------
12437|      0|        _Pypegen_stack_overflow(p);
12438|      0|    }
12439|    582|    if (p->error_indicator) {
  ------------------
  |  Branch (12439:9): [True: 0, False: 582]
  ------------------
12440|      0|        p->level--;
12441|      0|        return NULL;
12442|      0|    }
12443|    582|    void * _res = NULL;
12444|    582|    int _mark = p->mark;
12445|    582|    { // '+'
12446|    582|        if (p->error_indicator) {
  ------------------
  |  Branch (12446:13): [True: 0, False: 582]
  ------------------
12447|      0|            p->level--;
12448|      0|            return NULL;
12449|      0|        }
12450|    582|        D(fprintf(stderr, "%*c> _tmp_177[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+'"));
12451|    582|        Token * _literal;
12452|    582|        if (
12453|    582|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (12453:13): [True: 0, False: 582]
  ------------------
12454|    582|        )
12455|      0|        {
12456|      0|            D(fprintf(stderr, "%*c+ _tmp_177[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+'"));
12457|      0|            _res = _literal;
12458|      0|            goto done;
12459|      0|        }
12460|    582|        p->mark = _mark;
12461|    582|        D(fprintf(stderr, "%*c%s _tmp_177[%d-%d]: %s failed!\n", p->level, ' ',
12462|    582|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+'"));
12463|    582|    }
12464|      0|    { // '-'
12465|    582|        if (p->error_indicator) {
  ------------------
  |  Branch (12465:13): [True: 0, False: 582]
  ------------------
12466|      0|            p->level--;
12467|      0|            return NULL;
12468|      0|        }
12469|    582|        D(fprintf(stderr, "%*c> _tmp_177[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-'"));
12470|    582|        Token * _literal;
12471|    582|        if (
12472|    582|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (12472:13): [True: 0, False: 582]
  ------------------
12473|    582|        )
12474|      0|        {
12475|      0|            D(fprintf(stderr, "%*c+ _tmp_177[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-'"));
12476|      0|            _res = _literal;
12477|      0|            goto done;
12478|      0|        }
12479|    582|        p->mark = _mark;
12480|    582|        D(fprintf(stderr, "%*c%s _tmp_177[%d-%d]: %s failed!\n", p->level, ' ',
12481|    582|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-'"));
12482|    582|    }
12483|      0|    { // '~'
12484|    582|        if (p->error_indicator) {
  ------------------
  |  Branch (12484:13): [True: 0, False: 582]
  ------------------
12485|      0|            p->level--;
12486|      0|            return NULL;
12487|      0|        }
12488|    582|        D(fprintf(stderr, "%*c> _tmp_177[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'~'"));
12489|    582|        Token * _literal;
12490|    582|        if (
12491|    582|            (_literal = _PyPegen_expect_token(p, 31))  // token='~'
  ------------------
  |  Branch (12491:13): [True: 0, False: 582]
  ------------------
12492|    582|        )
12493|      0|        {
12494|      0|            D(fprintf(stderr, "%*c+ _tmp_177[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'~'"));
12495|      0|            _res = _literal;
12496|      0|            goto done;
12497|      0|        }
12498|    582|        p->mark = _mark;
12499|    582|        D(fprintf(stderr, "%*c%s _tmp_177[%d-%d]: %s failed!\n", p->level, ' ',
12500|    582|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'~'"));
12501|    582|    }
12502|    582|    _res = NULL;
12503|    582|  done:
12504|    582|    p->level--;
12505|    582|    return _res;
12506|    582|}

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

_PyPegen_byte_offset_to_character_offset_raw:
   67|     34|{
   68|     34|    Py_ssize_t len = (Py_ssize_t)strlen(str);
   69|     34|    if (col_offset > len + 1) {
  ------------------
  |  Branch (69:9): [True: 0, False: 34]
  ------------------
   70|      0|        col_offset = len + 1;
   71|      0|    }
   72|     34|    assert(col_offset >= 0);
  ------------------
  |  Branch (72:5): [True: 34, False: 0]
  ------------------
   73|     34|    PyObject *text = PyUnicode_DecodeUTF8(str, col_offset, "replace");
   74|     34|    if (!text) {
  ------------------
  |  Branch (74:9): [True: 0, False: 34]
  ------------------
   75|      0|        return -1;
   76|      0|    }
   77|     34|    Py_ssize_t size = PyUnicode_GET_LENGTH(text);
  ------------------
  |  |  300|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   78|     34|    Py_DECREF(text);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   79|     34|    return size;
   80|     34|}
_PyPegen_byte_offset_to_character_offset:
   84|     34|{
   85|     34|    const char *str = PyUnicode_AsUTF8(line);
   86|     34|    if (!str) {
  ------------------
  |  Branch (86:9): [True: 0, False: 34]
  ------------------
   87|      0|        return -1;
   88|      0|    }
   89|     34|    return _PyPegen_byte_offset_to_character_offset_raw(str, col_offset);
   90|     34|}
_PyPegen_insert_memo:
   96|  3.04M|{
   97|       |    // Insert in front
   98|  3.04M|    Memo *m = _PyArena_Malloc(p->arena, sizeof(Memo));
   99|  3.04M|    if (m == NULL) {
  ------------------
  |  Branch (99:9): [True: 0, False: 3.04M]
  ------------------
  100|      0|        return -1;
  101|      0|    }
  102|  3.04M|    m->type = type;
  103|  3.04M|    m->node = node;
  104|  3.04M|    m->mark = p->mark;
  105|  3.04M|    m->next = p->tokens[mark]->memo;
  106|  3.04M|    p->tokens[mark]->memo = m;
  107|  3.04M|    p->tokens[mark]->memo_mask |= 1ULL << (type & 63);
  108|  3.04M|    return 0;
  109|  3.04M|}
_PyPegen_insert_memo_direct:
  115|  21.7k|{
  116|  21.7k|    if (_PyPegen_insert_memo(p, mark, type, NULL) < 0) {
  ------------------
  |  Branch (116:9): [True: 0, False: 21.7k]
  ------------------
  117|      0|        return NULL;
  118|      0|    }
  119|  21.7k|    return p->tokens[mark]->memo;
  120|  21.7k|}
_PyPegen_grow_loop_buffer:
  154|  9.09k|{
  155|  9.09k|    if ((size_t)*capacity > (size_t)PY_SSIZE_T_MAX /
  ------------------
  |  |  137|  9.09k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (155:9): [True: 0, False: 9.09k]
  ------------------
  156|  9.09k|            (PEGEN_ARRAY_GROWTH_FACTOR * sizeof(**buffer))) {
  ------------------
  |  |   16|  9.09k|#define PEGEN_ARRAY_GROWTH_FACTOR 2
  ------------------
  157|      0|        return -1;
  158|      0|    }
  159|  9.09k|    Py_ssize_t new_capacity = *capacity == 0
  ------------------
  |  Branch (159:31): [True: 1.28k, False: 7.81k]
  ------------------
  160|  9.09k|        ? 1 : *capacity * PEGEN_ARRAY_GROWTH_FACTOR;
  ------------------
  |  |   16|  7.81k|#define PEGEN_ARRAY_GROWTH_FACTOR 2
  ------------------
  161|  9.09k|    void **new_buffer = PyMem_Realloc(*buffer, new_capacity * sizeof(**buffer));
  162|  9.09k|    if (new_buffer == NULL) {
  ------------------
  |  Branch (162:9): [True: 0, False: 9.09k]
  ------------------
  163|      0|        return -1;
  164|      0|    }
  165|  9.09k|    *buffer = new_buffer;
  166|  9.09k|    *capacity = new_capacity;
  167|  9.09k|    return 0;
  168|  9.09k|}
_PyPegen_atom_fast_path:
  340|  15.2k|{
  341|  15.2k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (341:9): [True: 0, False: 15.2k]
  |  Branch (341:31): [True: 0, False: 0]
  ------------------
  342|      0|        p->error_indicator = 1;
  343|      0|        *(void **)result = NULL;
  344|      0|        return 1;
  345|      0|    }
  346|  15.2k|    Token *t = p->tokens[p->mark];
  347|  15.2k|    if (t->type != NAME && t->type != NUMBER) {
  ------------------
  |  |   17|  30.4k|#define NAME            1
  ------------------
                  if (t->type != NAME && t->type != NUMBER) {
  ------------------
  |  |   18|  11.7k|#define NUMBER          2
  ------------------
  |  Branch (347:9): [True: 11.7k, False: 3.46k]
  |  Branch (347:28): [True: 10.9k, False: 849]
  ------------------
  348|  10.9k|        return 0;
  349|  10.9k|    }
  350|  4.31k|    if (p->mark + 1 == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (350:9): [True: 253, False: 4.06k]
  |  Branch (350:35): [True: 0, False: 253]
  ------------------
  351|      0|        p->error_indicator = 1;
  352|      0|        *(void **)result = NULL;
  353|      0|        return 1;
  354|      0|    }
  355|  4.31k|    switch (p->tokens[p->mark + 1]->type) {
  356|     22|        case COMMA:
  ------------------
  |  |   28|     22|#define COMMA           12
  ------------------
  |  Branch (356:9): [True: 22, False: 4.29k]
  ------------------
  357|     26|        case RPAR:
  ------------------
  |  |   24|     26|#define RPAR            8
  ------------------
  |  Branch (357:9): [True: 4, False: 4.31k]
  ------------------
  358|     26|        case RSQB:
  ------------------
  |  |   26|     26|#define RSQB            10
  ------------------
  |  Branch (358:9): [True: 0, False: 4.31k]
  ------------------
  359|     28|        case RBRACE:
  ------------------
  |  |   42|     28|#define RBRACE          26
  ------------------
  |  Branch (359:9): [True: 2, False: 4.31k]
  ------------------
  360|     28|        case COLON:
  ------------------
  |  |   27|     28|#define COLON           11
  ------------------
  |  Branch (360:9): [True: 0, False: 4.31k]
  ------------------
  361|     28|        case NEWLINE:
  ------------------
  |  |   20|     28|#define NEWLINE         4
  ------------------
  |  Branch (361:9): [True: 0, False: 4.31k]
  ------------------
  362|     28|        case SEMI:
  ------------------
  |  |   29|     28|#define SEMI            13
  ------------------
  |  Branch (362:9): [True: 0, False: 4.31k]
  ------------------
  363|     28|        case EQUAL:
  ------------------
  |  |   38|     28|#define EQUAL           22
  ------------------
  |  Branch (363:9): [True: 0, False: 4.31k]
  ------------------
  364|     34|        case ENDMARKER:
  ------------------
  |  |   16|     34|#define ENDMARKER       0
  ------------------
  |  Branch (364:9): [True: 6, False: 4.30k]
  ------------------
  365|     34|            break;
  366|  4.28k|        default:
  ------------------
  |  Branch (366:9): [True: 4.28k, False: 34]
  ------------------
  367|  4.28k|            return 0;
  368|  4.31k|    }
  369|     34|    expr_ty res = (t->type == NAME)
  ------------------
  |  |   17|     34|#define NAME            1
  ------------------
  |  Branch (369:19): [True: 28, False: 6]
  ------------------
  370|     34|        ? _PyPegen_name_token(p) : _PyPegen_number_token(p);
  371|     34|    *(void **)result = res;
  372|     34|    return 1;
  373|  4.31k|}
_PyPegen_fill_token:
  377|  3.00M|{
  378|  3.00M|    struct token new_token;
  379|  3.00M|    _PyToken_Init(&new_token);
  380|  3.00M|    _PyTokenizer_Get(p->tok, &new_token);
  381|       |
  382|       |    // Record and skip '# type: ignore' comments
  383|  3.00M|    while (new_token.type == TYPE_IGNORE) {
  ------------------
  |  |   72|  3.00M|#define TYPE_IGNORE     56
  ------------------
  |  Branch (383:12): [True: 0, False: 3.00M]
  ------------------
  384|      0|        Py_ssize_t len;
  385|      0|        const char *text = _PyToken_TextView(p->tok, &new_token, &len);
  386|      0|        char *tag = PyMem_Malloc((size_t)len + 1);
  387|      0|        if (tag == NULL) {
  ------------------
  |  Branch (387:13): [True: 0, False: 0]
  ------------------
  388|      0|            PyErr_NoMemory();
  389|      0|            goto error;
  390|      0|        }
  391|      0|        memcpy(tag, text, (size_t)len);
  392|      0|        tag[len] = '\0';
  393|       |        // Ownership of tag passes to the growable array
  394|      0|        if (!growable_comment_array_add(&p->type_ignore_comments, new_token.end_loc.lineno, tag)) {
  ------------------
  |  Branch (394:13): [True: 0, False: 0]
  ------------------
  395|      0|            PyMem_Free(tag);
  396|      0|            PyErr_NoMemory();
  397|      0|            goto error;
  398|      0|        }
  399|      0|        _PyTokenizer_Get(p->tok, &new_token);
  400|      0|    }
  401|       |
  402|  3.00M|    int type = new_token.type;
  403|       |    // EOF can finish an ordinary token. Only a boundary token means that
  404|       |    // the grammar requested input beyond the last physical line.
  405|  3.00M|    if (type == ENDMARKER ||
  ------------------
  |  |   16|  6.01M|#define ENDMARKER       0
  ------------------
  |  Branch (405:9): [True: 13, False: 3.00M]
  ------------------
  406|  3.00M|        (type == DEDENT && (p->flags & PyPARSE_ALLOW_INCOMPLETE_INPUT) &&
  ------------------
  |  |   22|  6.01M|#define DEDENT          6
  ------------------
                      (type == DEDENT && (p->flags & PyPARSE_ALLOW_INCOMPLETE_INPUT) &&
  ------------------
  |  |   28|      0|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  |  Branch (406:10): [True: 0, False: 3.00M]
  |  Branch (406:28): [True: 0, False: 0]
  ------------------
  407|     13|         _PyTokenizer_GetStatus(p->tok) == E_EOF)) {
  ------------------
  |  |   23|      0|#define E_EOF            11      /* End Of File */
  ------------------
  |  Branch (407:10): [True: 0, False: 0]
  ------------------
  408|     13|        p->input_exhausted = 1;
  409|     13|    }
  410|       |
  411|       |    // If we have reached the end and we are in single input mode we need to insert a newline and reset the parsing
  412|  3.00M|    if (p->start_rule == Py_single_input && type == ENDMARKER && p->parsing_started) {
  ------------------
  |  |    8|  6.01M|#define Py_single_input 256
  ------------------
                  if (p->start_rule == Py_single_input && type == ENDMARKER && p->parsing_started) {
  ------------------
  |  |   16|  3.00M|#define ENDMARKER       0
  ------------------
  |  Branch (412:9): [True: 0, False: 3.00M]
  |  Branch (412:45): [True: 0, False: 0]
  |  Branch (412:66): [True: 0, False: 0]
  ------------------
  413|      0|        type = NEWLINE; /* Add an extra newline */
  ------------------
  |  |   20|      0|#define NEWLINE         4
  ------------------
  414|      0|        p->parsing_started = 0;
  415|       |
  416|      0|        if (!(p->flags & PyPARSE_DONT_IMPLY_DEDENT)) {
  ------------------
  |  |   17|      0|#define PyPARSE_DONT_IMPLY_DEDENT       0x0002
  ------------------
  |  Branch (416:13): [True: 0, False: 0]
  ------------------
  417|      0|            _PyTokenizer_ImplyDedents(p->tok);
  418|      0|        }
  419|      0|    }
  420|  3.00M|    else {
  421|  3.00M|        p->parsing_started = 1;
  422|  3.00M|    }
  423|       |
  424|       |    // Check if we are at the limit of the token array capacity and resize if needed
  425|  3.00M|    if ((p->fill == p->size) && (_resize_tokens_array(p) != 0)) {
  ------------------
  |  Branch (425:9): [True: 272, False: 3.00M]
  |  Branch (425:33): [True: 0, False: 272]
  ------------------
  426|      0|        goto error;
  427|      0|    }
  428|       |
  429|  3.00M|    Token *t = p->tokens[p->fill];
  430|  3.00M|    int result = initialize_token(p, t, &new_token, type);
  431|  3.00M|    _PyToken_Free(&new_token);
  432|  3.00M|    return result;
  433|      0|error:
  434|      0|    _PyToken_Free(&new_token);
  435|      0|    return -1;
  436|  3.00M|}
_PyPegen_is_memoized:
  486|  91.0M|{
  487|  91.0M|    if (p->mark == p->fill) {
  ------------------
  |  Branch (487:9): [True: 705, False: 91.0M]
  ------------------
  488|    705|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (488:13): [True: 0, False: 705]
  ------------------
  489|      0|            p->error_indicator = 1;
  490|      0|            return -1;
  491|      0|        }
  492|    705|    }
  493|       |
  494|  91.0M|    Token *t = p->tokens[p->mark];
  495|       |
  496|  91.0M|    if (!(t->memo_mask & (1ULL << (type & 63)))) {
  ------------------
  |  Branch (496:9): [True: 3.05M, False: 88.0M]
  ------------------
  497|  3.05M|        return 0;
  498|  3.05M|    }
  499|       |
  500|  88.1M|    for (Memo *m = t->memo; m != NULL; m = m->next) {
  ------------------
  |  Branch (500:29): [True: 88.1M, False: 0]
  ------------------
  501|  88.1M|        if (m->type == type) {
  ------------------
  |  Branch (501:13): [True: 88.0M, False: 128k]
  ------------------
  502|       |#if defined(Py_DEBUG)
  503|       |            if (0 <= type && type < NSTATISTICS) {
  504|       |                long count = m->mark - p->mark;
  505|       |                // A memoized negative result counts for one.
  506|       |                if (count <= 0) {
  507|       |                    count = 1;
  508|       |                }
  509|       |                PyMutex_Lock(&_PyRuntime.parser.mutex);
  510|       |                memo_statistics[type] += count;
  511|       |                PyMutex_Unlock(&_PyRuntime.parser.mutex);
  512|       |            }
  513|       |#endif
  514|  88.0M|            p->mark = m->mark;
  515|  88.0M|            *(void **)(pres) = m->node;
  516|  88.0M|            return 1;
  517|  88.0M|        }
  518|  88.1M|    }
  519|      0|    return 0;
  520|  88.0M|}
_PyPegen_expect_token:
  553|   199M|{
  554|   199M|    if (p->mark == p->fill) {
  ------------------
  |  Branch (554:9): [True: 1.50M, False: 198M]
  ------------------
  555|  1.50M|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (555:13): [True: 2, False: 1.50M]
  ------------------
  556|      2|            p->error_indicator = 1;
  557|      2|            return NULL;
  558|      2|        }
  559|  1.50M|    }
  560|   199M|    Token *t = p->tokens[p->mark];
  561|   199M|    if (t->type != type) {
  ------------------
  |  Branch (561:9): [True: 17.6M, False: 181M]
  ------------------
  562|  17.6M|       return NULL;
  563|  17.6M|    }
  564|   181M|    p->mark += 1;
  565|   181M|    return t;
  566|   199M|}
_PyPegen_get_last_nonnwhitespace_token:
  629|  90.9M|{
  630|  90.9M|    assert(p->mark >= 0);
  ------------------
  |  Branch (630:5): [True: 90.9M, False: 0]
  ------------------
  631|  90.9M|    Token *token = NULL;
  632|  90.9M|    for (int m = p->mark - 1; m >= 0; m--) {
  ------------------
  |  Branch (632:31): [True: 90.9M, False: 0]
  ------------------
  633|  90.9M|        token = p->tokens[m];
  634|  90.9M|        if (token->type != ENDMARKER && (token->type < NEWLINE || token->type > DEDENT)) {
  ------------------
  |  |   16|   181M|#define ENDMARKER       0
  ------------------
                      if (token->type != ENDMARKER && (token->type < NEWLINE || token->type > DEDENT)) {
  ------------------
  |  |   20|   181M|#define NEWLINE         4
  ------------------
                      if (token->type != ENDMARKER && (token->type < NEWLINE || token->type > DEDENT)) {
  ------------------
  |  |   22|     20|#define DEDENT          6
  ------------------
  |  Branch (634:13): [True: 90.9M, False: 0]
  |  Branch (634:42): [True: 90.9M, False: 20]
  |  Branch (634:67): [True: 20, False: 0]
  ------------------
  635|  90.9M|            break;
  636|  90.9M|        }
  637|  90.9M|    }
  638|  90.9M|    return token;
  639|  90.9M|}
_PyPegen_new_identifier:
  643|    361|{
  644|    361|    PyObject *id = PyUnicode_DecodeUTF8(n, (Py_ssize_t)strlen(n), NULL);
  645|    361|    if (!id) {
  ------------------
  |  Branch (645:9): [True: 0, False: 361]
  ------------------
  646|      0|        goto error;
  647|      0|    }
  648|       |    /* Check whether there are non-ASCII characters in the
  649|       |       identifier; if so, normalize to NFKC. */
  650|    361|    if (!PyUnicode_IS_ASCII(id))
  ------------------
  |  |  228|    361|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    361|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    361|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (650:9): [True: 20, False: 341]
  ------------------
  651|     20|    {
  652|     20|        if (!init_normalization(p))
  ------------------
  |  Branch (652:13): [True: 0, False: 20]
  ------------------
  653|      0|        {
  654|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  655|      0|            goto error;
  656|      0|        }
  657|     20|        PyObject *form = PyUnicode_InternFromString("NFKC");
  658|     20|        if (form == NULL)
  ------------------
  |  Branch (658:13): [True: 0, False: 20]
  ------------------
  659|      0|        {
  660|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  661|      0|            goto error;
  662|      0|        }
  663|     20|        PyObject *args[2] = {form, id};
  664|     20|        PyObject *id2 = PyObject_Vectorcall(p->normalize, args, 2, NULL);
  665|     20|        Py_DECREF(id);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  666|     20|        Py_DECREF(form);
  ------------------
  |  |  430|     20|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  667|     20|        if (!id2) {
  ------------------
  |  Branch (667:13): [True: 0, False: 20]
  ------------------
  668|      0|            goto error;
  669|      0|        }
  670|       |
  671|     20|        if (!PyUnicode_Check(id2))
  ------------------
  |  |  103|     20|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     20|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (671:13): [True: 0, False: 20]
  ------------------
  672|      0|        {
  673|      0|            PyErr_Format(PyExc_TypeError,
  674|      0|                         "unicodedata.normalize() must return a string, not "
  675|      0|                         "%.200s",
  676|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  677|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  678|      0|            goto error;
  679|      0|        }
  680|     20|        id = id2;
  681|     20|    }
  682|    361|    static const char * const forbidden[] = {
  683|    361|        "None",
  684|    361|        "True",
  685|    361|        "False",
  686|    361|        NULL
  687|    361|    };
  688|  1.44k|    for (int i = 0; forbidden[i] != NULL; i++) {
  ------------------
  |  Branch (688:21): [True: 1.08k, False: 361]
  ------------------
  689|  1.08k|        if (_PyUnicode_EqualToASCIIString(id, forbidden[i])) {
  ------------------
  |  Branch (689:13): [True: 0, False: 1.08k]
  ------------------
  690|      0|            PyErr_Format(PyExc_ValueError,
  691|      0|                         "identifier field can't represent '%s' constant",
  692|      0|                         forbidden[i]);
  693|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  694|      0|            goto error;
  695|      0|        }
  696|  1.08k|    }
  697|    361|    PyInterpreterState *interp = _PyInterpreterState_GET();
  698|    361|    _PyUnicode_InternImmortal(interp, &id);
  699|    361|    if (_PyArena_AddPyObject(p->arena, id) < 0)
  ------------------
  |  Branch (699:9): [True: 0, False: 361]
  ------------------
  700|      0|    {
  701|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  702|      0|        goto error;
  703|      0|    }
  704|    361|    return id;
  705|       |
  706|      0|error:
  707|      0|    p->error_indicator = 1;
  708|       |    return NULL;
  709|    361|}
_PyPegen_name_token:
  800|  90.9M|{
  801|  90.9M|    Token *t = _PyPegen_expect_token(p, NAME);
  ------------------
  |  |   17|  90.9M|#define NAME            1
  ------------------
  802|  90.9M|    return _PyPegen_name_from_token(p, t);
  803|  90.9M|}
_PyPegen_string_token:
  807|  5.93k|{
  808|  5.93k|    return _PyPegen_expect_token(p, STRING);
  ------------------
  |  |   19|  5.93k|#define STRING          3
  ------------------
  809|  5.93k|}
_PyPegen_soft_keyword_token:
  811|    888|expr_ty _PyPegen_soft_keyword_token(Parser *p) {
  812|    888|    Token *t = _PyPegen_expect_token(p, NAME);
  ------------------
  |  |   17|    888|#define NAME            1
  ------------------
  813|    888|    if (t == NULL) {
  ------------------
  |  Branch (813:9): [True: 721, False: 167]
  ------------------
  814|    721|        return NULL;
  815|    721|    }
  816|    167|    char *the_token;
  817|    167|    Py_ssize_t size;
  818|    167|    PyBytes_AsStringAndSize(t->bytes, &the_token, &size);
  819|  1.00k|    for (char **keyword = p->soft_keywords; *keyword != NULL; keyword++) {
  ------------------
  |  Branch (819:45): [True: 835, False: 167]
  ------------------
  820|    835|        if (strlen(*keyword) == (size_t)size &&
  ------------------
  |  Branch (820:13): [True: 103, False: 732]
  ------------------
  821|    103|            strncmp(*keyword, the_token, (size_t)size) == 0) {
  ------------------
  |  Branch (821:13): [True: 0, False: 103]
  ------------------
  822|      0|            return _PyPegen_name_from_token(p, t);
  823|      0|        }
  824|    835|    }
  825|    167|    return NULL;
  826|    167|}
_PyPegen_number_token:
  903|  2.13k|{
  904|  2.13k|    int mark = p->mark;
  905|  2.13k|    Token *t = _PyPegen_expect_token(p, NUMBER);
  ------------------
  |  |   18|  2.13k|#define NUMBER          2
  ------------------
  906|  2.13k|    if (t == NULL) {
  ------------------
  |  Branch (906:9): [True: 1.69k, False: 439]
  ------------------
  907|  1.69k|        return NULL;
  908|  1.69k|    }
  909|       |
  910|       |    // Look up the node at the token's start, as for NAME tokens. A memo hit
  911|       |    // advances the mark; on a miss, restore the position after the token.
  912|    439|    p->mark = mark;
  913|    439|    expr_ty cached = NULL;
  914|    439|    if (_PyPegen_is_memoized(p, NUMBER, &cached)) {
  ------------------
  |  |   18|    439|#define NUMBER          2
  ------------------
  |  Branch (914:9): [True: 199, False: 240]
  ------------------
  915|    199|        return cached;
  916|    199|    }
  917|    240|    p->mark = mark + 1;
  918|       |
  919|    240|    const char *num_raw = PyBytes_AsString(t->bytes);
  920|    240|    if (num_raw == NULL) {
  ------------------
  |  Branch (920:9): [True: 0, False: 240]
  ------------------
  921|      0|        p->error_indicator = 1;
  922|      0|        return NULL;
  923|      0|    }
  924|       |
  925|    240|    if (p->feature_version < 6 && strchr(num_raw, '_') != NULL) {
  ------------------
  |  Branch (925:9): [True: 0, False: 240]
  |  Branch (925:35): [True: 0, False: 0]
  ------------------
  926|      0|        p->error_indicator = 1;
  927|      0|        return RAISE_SYNTAX_ERROR("Underscores in numeric literals are only supported "
  ------------------
  |  |  242|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  928|      0|                                  "in Python 3.6 and greater");
  929|      0|    }
  930|       |
  931|    240|    PyObject *c = parsenumber(num_raw);
  932|       |
  933|    240|    if (c == NULL) {
  ------------------
  |  Branch (933:9): [True: 0, False: 240]
  ------------------
  934|      0|        p->error_indicator = 1;
  935|      0|        PyThreadState *tstate = _PyThreadState_GET();
  936|       |        // The only way a ValueError should happen in _this_ code is via
  937|       |        // PyLong_FromString hitting a length limit.
  938|      0|        if (tstate->current_exception != NULL &&
  ------------------
  |  Branch (938:13): [True: 0, False: 0]
  ------------------
  939|      0|            Py_TYPE(tstate->current_exception) == (PyTypeObject *)PyExc_ValueError
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (939:13): [True: 0, False: 0]
  ------------------
  940|      0|        ) {
  941|      0|            PyObject *exc = PyErr_GetRaisedException();
  942|       |            /* Intentionally omitting columns to avoid a wall of 1000s of '^'s
  943|       |             * on the error message. Nobody is going to overlook their huge
  944|       |             * numeric literal once given the line. */
  945|      0|            RAISE_ERROR_KNOWN_LOCATION(
  946|      0|                p, PyExc_SyntaxError,
  947|      0|                t->lineno, -1 /* col_offset */,
  948|      0|                t->end_lineno, -1 /* end_col_offset */,
  949|      0|                "%S - Consider hexadecimal for huge integer literals "
  950|      0|                "to avoid decimal conversion limits.",
  951|      0|                exc);
  952|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  953|      0|        }
  954|      0|        return NULL;
  955|      0|    }
  956|       |
  957|    240|    if (_PyArena_AddPyObject(p->arena, c) < 0) {
  ------------------
  |  Branch (957:9): [True: 0, False: 240]
  ------------------
  958|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  959|      0|        p->error_indicator = 1;
  960|      0|        return NULL;
  961|      0|    }
  962|       |
  963|    240|    expr_ty result = _PyAST_Constant(c, NULL, t->lineno, t->col_offset,
  964|    240|                                    t->end_lineno, t->end_col_offset, p->arena);
  965|    240|    if (result != NULL && _PyPegen_insert_memo(p, mark, NUMBER, result) < 0) {
  ------------------
  |  |   18|    240|#define NUMBER          2
  ------------------
  |  Branch (965:9): [True: 240, False: 0]
  |  Branch (965:27): [True: 0, False: 240]
  ------------------
  966|      0|        p->error_indicator = 1;
  967|      0|        return NULL;
  968|      0|    }
  969|    240|    return result;
  970|    240|}
_PyPegen_Parser_New:
 1004|     35|{
 1005|     35|    Parser *p = PyMem_Malloc(sizeof(Parser));
 1006|     35|    if (p == NULL) {
  ------------------
  |  Branch (1006:9): [True: 0, False: 35]
  ------------------
 1007|      0|        return (Parser *) PyErr_NoMemory();
 1008|      0|    }
 1009|     35|    assert(tok != NULL);
  ------------------
  |  Branch (1009:5): [True: 35, False: 0]
  ------------------
 1010|     35|    _PyTokenizer_SetOptions(tok, 0, (flags & PyPARSE_TYPE_COMMENTS) > 0);
  ------------------
  |  |   27|     35|#define PyPARSE_TYPE_COMMENTS 0x0040
  ------------------
 1011|     35|    _PyTokenizer_AllowIncompleteInput(tok, flags & PyPARSE_ALLOW_INCOMPLETE_INPUT);
  ------------------
  |  |   28|     35|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
 1012|     35|    p->tok = tok;
 1013|     35|    p->keywords = NULL;
 1014|     35|    p->n_keyword_lists = -1;
 1015|     35|    p->soft_keywords = NULL;
 1016|     35|    p->tokens = PyMem_Malloc(sizeof(Token *));
 1017|     35|    if (!p->tokens) {
  ------------------
  |  Branch (1017:9): [True: 0, False: 35]
  ------------------
 1018|      0|        PyMem_Free(p);
 1019|      0|        return (Parser *) PyErr_NoMemory();
 1020|      0|    }
 1021|     35|    p->tokens[0] = PyMem_Calloc(1, sizeof(Token));
 1022|     35|    if (!p->tokens[0]) {
  ------------------
  |  Branch (1022:9): [True: 0, False: 35]
  ------------------
 1023|      0|        PyMem_Free(p->tokens);
 1024|      0|        PyMem_Free(p);
 1025|      0|        return (Parser *) PyErr_NoMemory();
 1026|      0|    }
 1027|     35|    p->type_ignore_comments = (growable_comment_array){0};
 1028|       |
 1029|     35|    p->mark = 0;
 1030|     35|    p->fill = 0;
 1031|     35|    p->size = 1;
 1032|       |
 1033|     35|    p->errcode = errcode;
 1034|     35|    p->arena = arena;
 1035|     35|    p->start_rule = start_rule;
 1036|     35|    p->parsing_started = 0;
 1037|     35|    p->normalize = NULL;
 1038|     35|    p->error_indicator = 0;
 1039|       |
 1040|     35|    p->starting_lineno = 0;
 1041|     35|    p->starting_col_offset = 0;
 1042|     35|    p->flags = flags;
 1043|     35|    p->feature_version = feature_version;
 1044|     35|    p->known_err_token = NULL;
 1045|     35|    p->identifier_cache = NULL;
 1046|     35|    p->tstate = PyThreadState_Get();
 1047|       |    // Stack limits are initialized when the thread state is attached.
 1048|     35|    assert(((_PyThreadStateImpl *)p->tstate)->c_stack_hard_limit != 0);
  ------------------
  |  Branch (1048:5): [True: 35, False: 0]
  ------------------
 1049|     35|    p->stack_soft_limit = ((_PyThreadStateImpl *)p->tstate)->c_stack_soft_limit;
 1050|     35|#if _Py_STACK_GROWS_DOWN
 1051|     35|    p->stack_soft_limit += _PyOS_STACK_MARGIN_BYTES;
  ------------------
  |  |   57|     35|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   56|     35|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|     35|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1052|       |#else
 1053|       |    p->stack_soft_limit -= _PyOS_STACK_MARGIN_BYTES;
 1054|       |#endif
 1055|     35|    p->level = 0;
 1056|     35|    p->call_invalid_rules = 0;
 1057|     35|    p->input_exhausted = 0;
 1058|     35|    p->last_stmt_location.lineno = 0;
 1059|     35|    p->last_stmt_location.col_offset = 0;
 1060|     35|    p->last_stmt_location.end_lineno = 0;
 1061|     35|    p->last_stmt_location.end_col_offset = 0;
 1062|       |#ifdef Py_DEBUG
 1063|       |    p->debug = _Py_GetConfig()->parser_debug;
 1064|       |#endif
 1065|     35|    return p;
 1066|     35|}
_PyPegen_Parser_Free:
 1070|     35|{
 1071|     35|    PyMem_Free(p->identifier_cache);
 1072|     35|    Py_XDECREF(p->normalize);
  ------------------
  |  |  621|     35|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|       |    // Resizes allocate blocks starting at indices 1, 2, 4, and so on.
 1074|     35|    PyMem_Free(p->tokens[0]);
 1075|    307|    for (int i = 1; i < p->size; i *= PEGEN_ARRAY_GROWTH_FACTOR) {
  ------------------
  |  |   16|    272|#define PEGEN_ARRAY_GROWTH_FACTOR 2
  ------------------
  |  Branch (1075:21): [True: 272, False: 35]
  ------------------
 1076|    272|        PyMem_Free(p->tokens[i]);
 1077|    272|    }
 1078|     35|    PyMem_Free(p->tokens);
 1079|     35|    growable_comment_array_deallocate(&p->type_ignore_comments);
 1080|     35|    PyMem_Free(p);
 1081|     35|}
_PyPegen_run_parser:
 1143|     35|{
 1144|     35|    void *res = _PyPegen_parse(p);
 1145|     35|    assert(p->level == 0);
  ------------------
  |  Branch (1145:5): [True: 35, False: 0]
  ------------------
 1146|     35|    if (res != NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (1146:9): [True: 11, False: 24]
  |  Branch (1146:24): [True: 0, False: 11]
  ------------------
 1147|       |        // Discard a result returned with an exception still pending
 1148|       |        // (e.g. a MemoryError from a recovered-from allocation failure).
 1149|      0|        return NULL;
 1150|      0|    }
 1151|     35|    if (res == NULL) {
  ------------------
  |  Branch (1151:9): [True: 24, False: 11]
  ------------------
 1152|     24|        if (PyErr_Occurred() &&
  ------------------
  |  Branch (1152:13): [True: 8, False: 16]
  ------------------
 1153|      8|            (PyErr_ExceptionMatches(PyExc_IncompleteInputError) ||
  ------------------
  |  |  204|      8|#define PyExc_IncompleteInputError ((PyObject *)(&_PyExc_IncompleteInputError))
  ------------------
  |  Branch (1153:14): [True: 0, False: 8]
  ------------------
 1154|      8|             !PyErr_ExceptionMatches(PyExc_SyntaxError))) {
  ------------------
  |  Branch (1154:14): [True: 0, False: 8]
  ------------------
 1155|      0|            return NULL;
 1156|      0|        }
 1157|     24|        if ((p->flags & PyPARSE_ALLOW_INCOMPLETE_INPUT) &&
  ------------------
  |  |   28|     24|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  |  Branch (1157:13): [True: 0, False: 24]
  ------------------
 1158|      0|            p->input_exhausted && !PyErr_Occurred()) {
  ------------------
  |  Branch (1158:13): [True: 0, False: 0]
  |  Branch (1158:35): [True: 0, False: 0]
  ------------------
 1159|      0|            return _PyPegen_raise_incomplete_input(p);
 1160|      0|        }
 1161|       |       // Make a second parser pass. In this pass we activate heavier and slower checks
 1162|       |        // to produce better error messages and more complete diagnostics. Extra "invalid_*"
 1163|       |        // rules will be active during parsing.
 1164|     24|        Token *last_token = p->tokens[p->fill - 1];
 1165|     24|        reset_parser_state_for_error_pass(p);
 1166|     24|        _PyPegen_parse(p);
 1167|       |
 1168|       |        // Set SyntaxErrors accordingly depending on the parser/tokenizer status at the failure
 1169|       |        // point.
 1170|     24|        _Pypegen_set_syntax_error(p, last_token);
 1171|       |
 1172|       |        // Set the metadata in the exception from p->last_stmt_location
 1173|     24|        if (PyErr_ExceptionMatches(PyExc_SyntaxError)) {
  ------------------
  |  Branch (1173:13): [True: 24, False: 0]
  ------------------
 1174|     24|            _PyPegen_set_syntax_error_metadata(p);
 1175|     24|        }
 1176|     24|       return NULL;
 1177|     24|    }
 1178|       |
 1179|     11|    if (p->start_rule == Py_single_input && _PyTokenizer_HasTrailingStatement(p->tok)) {
  ------------------
  |  |    8|     22|#define Py_single_input 256
  ------------------
  |  Branch (1179:9): [True: 0, False: 11]
  |  Branch (1179:45): [True: 0, False: 0]
  ------------------
 1180|      0|        return RAISE_SYNTAX_ERROR("multiple statements found while compiling a single statement");
  ------------------
  |  |  242|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 1181|      0|    }
 1182|       |
 1183|       |    // test_peg_generator defines _Py_TEST_PEGEN to not call PyAST_Validate()
 1184|       |#if defined(Py_DEBUG) && !defined(_Py_TEST_PEGEN)
 1185|       |    if (p->start_rule == Py_single_input ||
 1186|       |        p->start_rule == Py_file_input ||
 1187|       |        p->start_rule == Py_eval_input)
 1188|       |    {
 1189|       |        if (!_PyAST_Validate(res)) {
 1190|       |            return NULL;
 1191|       |        }
 1192|       |    }
 1193|       |#endif
 1194|     11|    return res;
 1195|     11|}
_PyPegen_run_parser_from_string:
 1255|     35|{
 1256|     35|    _PyTokenizer_Newline newline_mode = start_rule == Py_file_input
  ------------------
  |  |    9|     35|#define Py_file_input 257
  ------------------
  |  Branch (1256:41): [True: 0, False: 35]
  ------------------
 1257|     35|        ? _PyTokenizer_IMPLY_NEWLINE : _PyTokenizer_KEEP_NEWLINE;
 1258|     35|    int parser_flags = compute_parser_flags(flags);
 1259|     35|    if (parser_flags & PyPARSE_ALLOW_INCOMPLETE_INPUT) {
  ------------------
  |  |   28|     35|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  |  Branch (1259:9): [True: 0, False: 35]
  ------------------
 1260|      0|        newline_mode = _PyTokenizer_APPEND_NEWLINE;
 1261|      0|    }
 1262|       |
 1263|     35|    struct tok_state *tok;
 1264|     35|    if (flags != NULL && flags->cf_flags & PyCF_IGNORE_COOKIE) {
  ------------------
  |  |   18|     35|#define PyCF_IGNORE_COOKIE 0x0800
  ------------------
  |  Branch (1264:9): [True: 35, False: 0]
  |  Branch (1264:26): [True: 35, False: 0]
  ------------------
 1265|     35|        tok = _PyTokenizer_FromUTF8(str, newline_mode, 0);
 1266|     35|    } else {
 1267|      0|        tok = _PyTokenizer_FromString(str, newline_mode, 0);
 1268|      0|    }
 1269|     35|    if (tok == NULL) {
  ------------------
  |  Branch (1269:9): [True: 0, False: 35]
  ------------------
 1270|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1270:13): [True: 0, False: 0]
  ------------------
 1271|      0|            _PyTokenizer_raise_init_error(filename_ob);
 1272|      0|        }
 1273|      0|        else {
 1274|       |            // The only silent tokenizer init failure is a failed allocation.
 1275|      0|            PyErr_NoMemory();
 1276|      0|        }
 1277|      0|        return NULL;
 1278|      0|    }
 1279|     35|    tok->barry_as_bdfl = parser_flags & PyPARSE_BARRY_AS_BDFL;
  ------------------
  |  |   26|     35|#define PyPARSE_BARRY_AS_BDFL 0x0020
  ------------------
 1280|       |
 1281|     35|    _PyTokenizer_SetContext(tok, filename_ob, module);
 1282|       |
 1283|       |    // We need to clear up from here on
 1284|     35|    mod_ty result = NULL;
 1285|       |
 1286|     35|    int feature_version = flags && (flags->cf_flags & PyCF_ONLY_AST) ?
  ------------------
  |  |   17|     35|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (1286:27): [True: 35, False: 0]
  |  Branch (1286:36): [True: 33, False: 2]
  ------------------
 1287|     33|        flags->cf_feature_version : PY_MINOR_VERSION;
  ------------------
  |  |   24|      2|#define PY_MINOR_VERSION        16
  ------------------
 1288|     35|    Parser *p = _PyPegen_Parser_New(tok, start_rule, parser_flags, feature_version,
 1289|     35|                                    NULL, str, arena);
 1290|     35|    if (p == NULL) {
  ------------------
  |  Branch (1290:9): [True: 0, False: 35]
  ------------------
 1291|      0|        goto error;
 1292|      0|    }
 1293|       |
 1294|     35|    result = _PyPegen_run_parser(p);
 1295|     35|    if (result != NULL && (parser_flags & PyPARSE_ALLOW_INCOMPLETE_INPUT)) {
  ------------------
  |  |   28|     11|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  |  Branch (1295:9): [True: 11, False: 24]
  |  Branch (1295:27): [True: 0, False: 11]
  ------------------
 1296|      0|        int needs_newline = _PyTokenizer_GetNewlineRequirements(tok);
 1297|      0|        if ((needs_newline & _PyTokenizer_NEWLINE_CONTINUATION) ||
  ------------------
  |  Branch (1297:13): [True: 0, False: 0]
  ------------------
 1298|      0|            (start_rule != Py_file_input &&
  ------------------
  |  |    9|      0|#define Py_file_input 257
  ------------------
  |  Branch (1298:14): [True: 0, False: 0]
  ------------------
 1299|      0|             (needs_newline & _PyTokenizer_NEWLINE_INDENT)) ||
  ------------------
  |  Branch (1299:14): [True: 0, False: 0]
  ------------------
 1300|      0|            (start_rule == Py_single_input && p->input_exhausted &&
  ------------------
  |  |    8|      0|#define Py_single_input 256
  ------------------
  |  Branch (1300:14): [True: 0, False: 0]
  |  Branch (1300:47): [True: 0, False: 0]
  ------------------
 1301|      0|             (needs_newline & _PyTokenizer_NEWLINE_STATEMENT))) {
  ------------------
  |  Branch (1301:14): [True: 0, False: 0]
  ------------------
 1302|      0|            _PyPegen_raise_incomplete_input(p);
 1303|      0|            if (incomplete != NULL && PyErr_ExceptionMatches(PyExc_IncompleteInputError)) {
  ------------------
  |  |  204|      0|#define PyExc_IncompleteInputError ((PyObject *)(&_PyExc_IncompleteInputError))
  ------------------
  |  Branch (1303:17): [True: 0, False: 0]
  |  Branch (1303:39): [True: 0, False: 0]
  ------------------
 1304|      0|                *incomplete = PyErr_GetRaisedException();
 1305|      0|            }
 1306|      0|            else {
 1307|      0|                result = NULL;
 1308|      0|            }
 1309|      0|        }
 1310|      0|    }
 1311|     35|    _PyPegen_Parser_Free(p);
 1312|       |
 1313|     35|error:
 1314|     35|    _PyTokenizer_Free(tok);
 1315|     35|    return result;
 1316|     35|}
pegen.c:_resize_tokens_array:
  302|    272|_resize_tokens_array(Parser *p) {
  303|    272|    if (p->size > INT_MAX / PEGEN_ARRAY_GROWTH_FACTOR ||
  ------------------
  |  |   16|    544|#define PEGEN_ARRAY_GROWTH_FACTOR 2
  ------------------
  |  Branch (303:9): [True: 0, False: 272]
  ------------------
  304|    272|            (size_t)p->size > PY_SSIZE_T_MAX /
  ------------------
  |  |  137|    272|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (304:13): [True: 0, False: 272]
  ------------------
  305|    272|                (PEGEN_ARRAY_GROWTH_FACTOR * sizeof(*p->tokens))) {
  ------------------
  |  |   16|    272|#define PEGEN_ARRAY_GROWTH_FACTOR 2
  ------------------
  306|      0|        PyErr_NoMemory();
  307|      0|        return -1;
  308|      0|    }
  309|    272|    int newsize = p->size * PEGEN_ARRAY_GROWTH_FACTOR;
  ------------------
  |  |   16|    272|#define PEGEN_ARRAY_GROWTH_FACTOR 2
  ------------------
  310|    272|    Token **new_tokens = PyMem_Realloc(p->tokens, (size_t)newsize * sizeof(Token *));
  311|    272|    if (new_tokens == NULL) {
  ------------------
  |  Branch (311:9): [True: 0, False: 272]
  ------------------
  312|      0|        PyErr_NoMemory();
  313|      0|        return -1;
  314|      0|    }
  315|    272|    p->tokens = new_tokens;
  316|       |
  317|       |    // Allocate new tokens together without moving existing ones: parser rules
  318|       |    // may still hold pointers into earlier blocks. Parser_Free frees each block.
  319|    272|    Token *chunk = PyMem_Calloc((size_t)(newsize - p->size), sizeof(Token));
  320|    272|    if (chunk == NULL) {
  ------------------
  |  Branch (320:9): [True: 0, False: 272]
  ------------------
  321|      0|        PyErr_NoMemory();
  322|      0|        return -1;
  323|      0|    }
  324|  4.46M|    for (int i = p->size; i < newsize; i++) {
  ------------------
  |  Branch (324:27): [True: 4.46M, False: 272]
  ------------------
  325|  4.46M|        p->tokens[i] = &chunk[i - p->size];
  326|  4.46M|    }
  327|    272|    p->size = newsize;
  328|    272|    return 0;
  329|    272|}
pegen.c:initialize_token:
  247|  3.00M|initialize_token(Parser *p, Token *parser_token, struct token *new_token, int token_type) {
  248|  3.00M|    assert(parser_token != NULL);
  ------------------
  |  Branch (248:5): [True: 3.00M, False: 0]
  ------------------
  249|       |
  250|  3.00M|    parser_token->type = token_type;
  251|  3.00M|    parser_token->bytes = NULL;
  252|  3.00M|    if (token_needs_text(token_type) && new_token->span.start >= 0) {
  ------------------
  |  Branch (252:9): [True: 1.50M, False: 1.50M]
  |  Branch (252:41): [True: 1.50M, False: 0]
  ------------------
  253|  1.50M|        Py_ssize_t length;
  254|  1.50M|        const char *text = _PyToken_TextView(p->tok, new_token, &length);
  255|  1.50M|        if (token_type == NAME) {
  ------------------
  |  |   17|  1.50M|#define NAME            1
  ------------------
  |  Branch (255:13): [True: 1.50M, False: 496]
  ------------------
  256|  1.50M|            parser_token->type = _get_keyword_or_name_type(p, text, length);
  257|  1.50M|        }
  258|       |        // A name reclassified as a keyword does not need its text.
  259|  1.50M|        if (parser_token->type == token_type) {
  ------------------
  |  Branch (259:13): [True: 1.50M, False: 12]
  ------------------
  260|  1.50M|            parser_token->bytes = PyBytes_FromStringAndSize(text, length);
  261|  1.50M|            if (parser_token->bytes == NULL) {
  ------------------
  |  Branch (261:17): [True: 0, False: 1.50M]
  ------------------
  262|      0|                return -1;
  263|      0|            }
  264|  1.50M|            if (_PyArena_AddPyObject(p->arena, parser_token->bytes) < 0) {
  ------------------
  |  Branch (264:17): [True: 0, False: 1.50M]
  ------------------
  265|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  266|      0|                return -1;
  267|      0|            }
  268|  1.50M|        }
  269|  1.50M|    }
  270|       |
  271|  3.00M|    parser_token->metadata = NULL;
  272|  3.00M|    if (new_token->metadata != NULL) {
  ------------------
  |  Branch (272:9): [True: 4, False: 3.00M]
  ------------------
  273|      4|        if (_PyArena_AddPyObject(p->arena, new_token->metadata) < 0) {
  ------------------
  |  Branch (273:13): [True: 0, False: 4]
  ------------------
  274|      0|            return -1;
  275|      0|        }
  276|      4|        parser_token->metadata = new_token->metadata;
  277|      4|        new_token->metadata = NULL;
  278|      4|    }
  279|       |
  280|  3.00M|    parser_token->level = new_token->level;
  281|  3.00M|    parser_token->is_raw = new_token->is_raw;
  282|  3.00M|    parser_token->is_incomplete = new_token->is_incomplete;
  283|  3.00M|    parser_token->lineno = new_token->start_loc.lineno;
  284|  3.00M|    parser_token->col_offset = new_token->end_loc.lineno == p->starting_lineno
  ------------------
  |  Branch (284:32): [True: 0, False: 3.00M]
  ------------------
  285|  3.00M|        ? p->starting_col_offset + new_token->start_loc.byte_col
  286|  3.00M|        : new_token->start_loc.byte_col;
  287|  3.00M|    parser_token->end_lineno = new_token->end_loc.lineno;
  288|  3.00M|    parser_token->end_col_offset = new_token->end_loc.lineno == p->starting_lineno
  ------------------
  |  Branch (288:36): [True: 0, False: 3.00M]
  ------------------
  289|  3.00M|        ? p->starting_col_offset + new_token->end_loc.byte_col
  290|  3.00M|        : new_token->end_loc.byte_col;
  291|       |
  292|  3.00M|    p->fill += 1;
  293|       |
  294|  3.00M|    if (token_type == ERRORTOKEN && _PyTokenizer_GetStatus(p->tok) == E_DECODE) {
  ------------------
  |  |   83|  6.01M|#define ERRORTOKEN      67
  ------------------
                  if (token_type == ERRORTOKEN && _PyTokenizer_GetStatus(p->tok) == E_DECODE) {
  ------------------
  |  |   34|      6|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
  |  Branch (294:9): [True: 6, False: 3.00M]
  |  Branch (294:37): [True: 0, False: 6]
  ------------------
  295|      0|        return _Pypegen_raise_decode_error(p);
  296|      0|    }
  297|       |
  298|  3.00M|    return (token_type == ERRORTOKEN ? _Pypegen_tokenizer_error(p) : 0);
  ------------------
  |  |   83|  3.00M|#define ERRORTOKEN      67
  ------------------
  |  Branch (298:13): [True: 6, False: 3.00M]
  ------------------
  299|  3.00M|}
pegen.c:token_needs_text:
  227|  3.00M|{
  228|  3.00M|    switch (type) {
  229|  1.50M|        case NAME:
  ------------------
  |  |   17|  1.50M|#define NAME            1
  ------------------
  |  Branch (229:9): [True: 1.50M, False: 1.50M]
  ------------------
  230|  1.50M|        case NUMBER:
  ------------------
  |  |   18|  1.50M|#define NUMBER          2
  ------------------
  |  Branch (230:9): [True: 169, False: 3.00M]
  ------------------
  231|  1.50M|        case STRING:
  ------------------
  |  |   19|  1.50M|#define STRING          3
  ------------------
  |  Branch (231:9): [True: 318, False: 3.00M]
  ------------------
  232|  1.50M|        case FSTRING_START:
  ------------------
  |  |   75|  1.50M|#define FSTRING_START   59
  ------------------
  |  Branch (232:9): [True: 0, False: 3.00M]
  ------------------
  233|  1.50M|        case FSTRING_MIDDLE:
  ------------------
  |  |   76|  1.50M|#define FSTRING_MIDDLE  60
  ------------------
  |  Branch (233:9): [True: 0, False: 3.00M]
  ------------------
  234|  1.50M|        case FSTRING_END:
  ------------------
  |  |   77|  1.50M|#define FSTRING_END     61
  ------------------
  |  Branch (234:9): [True: 0, False: 3.00M]
  ------------------
  235|  1.50M|        case TSTRING_START:
  ------------------
  |  |   78|  1.50M|#define TSTRING_START   62
  ------------------
  |  Branch (235:9): [True: 5, False: 3.00M]
  ------------------
  236|  1.50M|        case TSTRING_MIDDLE:
  ------------------
  |  |   79|  1.50M|#define TSTRING_MIDDLE  63
  ------------------
  |  Branch (236:9): [True: 0, False: 3.00M]
  ------------------
  237|  1.50M|        case TSTRING_END:
  ------------------
  |  |   80|  1.50M|#define TSTRING_END     64
  ------------------
  |  Branch (237:9): [True: 4, False: 3.00M]
  ------------------
  238|  1.50M|        case TYPE_COMMENT:
  ------------------
  |  |   73|  1.50M|#define TYPE_COMMENT    57
  ------------------
  |  Branch (238:9): [True: 0, False: 3.00M]
  ------------------
  239|  1.50M|        case NOTEQUAL:  // _PyPegen_check_barry_as_flufl() distinguishes != and <>.
  ------------------
  |  |   44|  1.50M|#define NOTEQUAL        28
  ------------------
  |  Branch (239:9): [True: 0, False: 3.00M]
  ------------------
  240|  1.50M|            return 1;
  241|  1.50M|        default:
  ------------------
  |  Branch (241:9): [True: 1.50M, False: 1.50M]
  ------------------
  242|  1.50M|            return 0;
  243|  3.00M|    }
  244|  3.00M|}
pegen.c:_get_keyword_or_name_type:
  207|  1.50M|{
  208|  1.50M|    assert(length > 0);
  ------------------
  |  Branch (208:5): [True: 1.50M, False: 0]
  ------------------
  209|       |
  210|  1.50M|    if (length >= p->n_keyword_lists ||
  ------------------
  |  Branch (210:9): [True: 34, False: 1.50M]
  ------------------
  211|  1.50M|        p->keywords[length] == NULL ||
  ------------------
  |  Branch (211:9): [True: 0, False: 1.50M]
  ------------------
  212|  1.50M|        p->keywords[length]->type == -1) {
  ------------------
  |  Branch (212:9): [True: 888k, False: 615k]
  ------------------
  213|   888k|        return NAME;
  ------------------
  |  |   17|   888k|#define NAME            1
  ------------------
  214|   888k|    }
  215|  3.79M|    for (KeywordToken *k = p->keywords[length]; k != NULL && k->type != -1; k++) {
  ------------------
  |  Branch (215:49): [True: 3.79M, False: 0]
  |  Branch (215:62): [True: 3.17M, False: 615k]
  ------------------
  216|  3.17M|        if (memcmp(k->str, text, (size_t)length) == 0) {
  ------------------
  |  Branch (216:13): [True: 12, False: 3.17M]
  ------------------
  217|     12|            return k->type;
  218|     12|        }
  219|  3.17M|    }
  220|   615k|    return NAME;
  ------------------
  |  |   17|   615k|#define NAME            1
  ------------------
  221|   615k|}
pegen.c:init_normalization:
  140|     20|{
  141|     20|    if (p->normalize) {
  ------------------
  |  Branch (141:9): [True: 8, False: 12]
  ------------------
  142|      8|        return 1;
  143|      8|    }
  144|     12|    p->normalize = PyImport_ImportModuleAttrString("unicodedata", "normalize");
  145|     12|    if (!p->normalize)
  ------------------
  |  Branch (145:9): [True: 0, False: 12]
  ------------------
  146|      0|    {
  147|      0|        return 0;
  148|      0|    }
  149|     12|    return 1;
  150|     12|}
pegen.c:_PyPegen_name_from_token:
  771|  90.9M|{
  772|  90.9M|    if (t == NULL) {
  ------------------
  |  Branch (772:9): [True: 11.9k, False: 90.9M]
  ------------------
  773|  11.9k|        return NULL;
  774|  11.9k|    }
  775|       |    // Reuse the AST node when backtracking revisits this token. Memo lookup
  776|       |    // starts before the token and restores the position after it on a hit.
  777|       |    // Token kinds can be memo keys: generated grammar rule IDs start at 1000.
  778|  90.9M|    int mark = p->mark - 1;
  779|  90.9M|    p->mark = mark;
  780|  90.9M|    expr_ty cached = NULL;
  781|  90.9M|    if (_PyPegen_is_memoized(p, NAME, &cached)) {
  ------------------
  |  |   17|  90.9M|#define NAME            1
  ------------------
  |  Branch (781:9): [True: 87.9M, False: 3.00M]
  ------------------
  782|  87.9M|        return cached;
  783|  87.9M|    }
  784|  3.00M|    p->mark = mark + 1;
  785|  3.00M|    PyObject *id = get_cached_identifier(p, t->bytes);
  786|  3.00M|    if (id == NULL) {
  ------------------
  |  Branch (786:9): [True: 0, False: 3.00M]
  ------------------
  787|      0|        return NULL;
  788|      0|    }
  789|  3.00M|    expr_ty result = _PyAST_Name(id, Load, t->lineno, t->col_offset,
  790|  3.00M|                                t->end_lineno, t->end_col_offset, p->arena);
  791|  3.00M|    if (result != NULL && _PyPegen_insert_memo(p, mark, NAME, result) < 0) {
  ------------------
  |  |   17|  3.00M|#define NAME            1
  ------------------
  |  Branch (791:9): [True: 3.00M, False: 0]
  |  Branch (791:27): [True: 0, False: 3.00M]
  ------------------
  792|      0|        p->error_indicator = 1;
  793|      0|        return NULL;
  794|      0|    }
  795|  3.00M|    return result;
  796|  3.00M|}
pegen.c:get_cached_identifier:
  714|  3.00M|{
  715|  3.00M|    const char *s = PyBytes_AsString(bytes);
  716|  3.00M|    if (!s) {
  ------------------
  |  Branch (716:9): [True: 0, False: 3.00M]
  ------------------
  717|      0|        p->error_indicator = 1;
  718|      0|        return NULL;
  719|      0|    }
  720|       |    // Identifiers repeat constantly; a small span-keyed cache skips the
  721|       |    // UTF-8 decode + intern for repeated occurrences. Keys point into
  722|       |    // arena-owned token bytes and values are arena-owned interned strings,
  723|       |    // so borrowed references are valid for the lifetime of the parse
  724|       |    // (including the second error pass, which reuses parser and arena).
  725|  3.00M|    Py_ssize_t len = PyBytes_GET_SIZE(bytes);
  ------------------
  |  |   33|  3.00M|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  3.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  726|  3.00M|    Py_hash_t hash = PyObject_Hash(bytes);
  727|  3.00M|    if (hash == -1) {
  ------------------
  |  Branch (727:9): [True: 0, False: 3.00M]
  ------------------
  728|      0|        p->error_indicator = 1;
  729|      0|        return NULL;
  730|      0|    }
  731|       |    // Parses without identifiers do not need this cache.
  732|  3.00M|    if (p->identifier_cache == NULL) {
  ------------------
  |  Branch (732:9): [True: 24, False: 3.00M]
  ------------------
  733|     24|        p->identifier_cache = PyMem_Calloc(
  734|     24|            IDENTIFIER_CACHE_SIZE, sizeof(*p->identifier_cache));
  ------------------
  |  |   14|     24|#define IDENTIFIER_CACHE_SIZE 2048  // Must be a power of two.
  ------------------
  735|     24|        if (p->identifier_cache == NULL) {
  ------------------
  |  Branch (735:13): [True: 0, False: 24]
  ------------------
  736|      0|            p->error_indicator = 1;
  737|      0|            return PyErr_NoMemory();
  738|      0|        }
  739|     24|    }
  740|  3.00M|    IdentifierCacheEntry *free_slot = NULL;
  741|  3.00M|    size_t idx = (size_t)hash & (IDENTIFIER_CACHE_SIZE - 1);
  ------------------
  |  |   14|  3.00M|#define IDENTIFIER_CACHE_SIZE 2048  // Must be a power of two.
  ------------------
  742|  3.00M|    for (int probe = 0; probe < IDENTIFIER_CACHE_MAX_PROBES; probe++) {
  ------------------
  |  |   15|  3.00M|#define IDENTIFIER_CACHE_MAX_PROBES 8
  ------------------
  |  Branch (742:25): [True: 3.00M, False: 0]
  ------------------
  743|  3.00M|        IdentifierCacheEntry *entry = &p->identifier_cache[
  744|  3.00M|            (idx + probe) & (IDENTIFIER_CACHE_SIZE - 1)];
  ------------------
  |  |   14|  3.00M|#define IDENTIFIER_CACHE_SIZE 2048  // Must be a power of two.
  ------------------
  745|  3.00M|        if (entry->key == NULL) {
  ------------------
  |  Branch (745:13): [True: 361, False: 3.00M]
  ------------------
  746|    361|            free_slot = entry;
  747|    361|            break;
  748|    361|        }
  749|  3.00M|        if (entry->hash == hash && entry->len == len &&
  ------------------
  |  Branch (749:13): [True: 3.00M, False: 0]
  |  Branch (749:36): [True: 3.00M, False: 0]
  ------------------
  750|  3.00M|            memcmp(entry->key, s, len) == 0)
  ------------------
  |  Branch (750:13): [True: 3.00M, False: 0]
  ------------------
  751|  3.00M|        {
  752|  3.00M|            return entry->value;
  753|  3.00M|        }
  754|  3.00M|    }
  755|    361|    PyObject *id = _PyPegen_new_identifier(p, s);
  756|    361|    if (id == NULL) {
  ------------------
  |  Branch (756:9): [True: 0, False: 361]
  ------------------
  757|      0|        p->error_indicator = 1;
  758|      0|        return NULL;
  759|      0|    }
  760|    361|    if (free_slot != NULL) {
  ------------------
  |  Branch (760:9): [True: 361, False: 0]
  ------------------
  761|    361|        free_slot->key = s;
  762|    361|        free_slot->len = len;
  763|    361|        free_slot->hash = hash;
  764|    361|        free_slot->value = id;
  765|    361|    }
  766|    361|    return id;
  767|    361|}
pegen.c:parsenumber:
  874|    240|{
  875|    240|    char *dup;
  876|    240|    char *end;
  877|    240|    PyObject *res = NULL;
  878|       |
  879|    240|    assert(s != NULL);
  ------------------
  |  Branch (879:5): [True: 240, False: 0]
  ------------------
  880|       |
  881|    240|    if (strchr(s, '_') == NULL) {
  ------------------
  |  Branch (881:9): [True: 234, False: 6]
  ------------------
  882|    234|        return parsenumber_raw(s);
  883|    234|    }
  884|       |    /* Create a duplicate without underscores. */
  885|      6|    dup = PyMem_Malloc(strlen(s) + 1);
  886|      6|    if (dup == NULL) {
  ------------------
  |  Branch (886:9): [True: 0, False: 6]
  ------------------
  887|      0|        return PyErr_NoMemory();
  888|      0|    }
  889|      6|    end = dup;
  890|     54|    for (; *s; s++) {
  ------------------
  |  Branch (890:12): [True: 48, False: 6]
  ------------------
  891|     48|        if (*s != '_') {
  ------------------
  |  Branch (891:13): [True: 42, False: 6]
  ------------------
  892|     42|            *end++ = *s;
  893|     42|        }
  894|     48|    }
  895|      6|    *end = '\0';
  896|      6|    res = parsenumber_raw(dup);
  897|      6|    PyMem_Free(dup);
  898|      6|    return res;
  899|      6|}
pegen.c:parsenumber_raw:
  830|    240|{
  831|    240|    const char *end;
  832|    240|    long x;
  833|    240|    double dx;
  834|    240|    Py_complex compl;
  835|    240|    int imflag;
  836|       |
  837|    240|    assert(s != NULL);
  ------------------
  |  Branch (837:5): [True: 240, False: 0]
  ------------------
  838|    240|    errno = 0;
  839|    240|    end = s + strlen(s) - 1;
  840|    240|    imflag = *end == 'j' || *end == 'J';
  ------------------
  |  Branch (840:14): [True: 0, False: 240]
  |  Branch (840:29): [True: 0, False: 240]
  ------------------
  841|    240|    if (s[0] == '0') {
  ------------------
  |  Branch (841:9): [True: 150, False: 90]
  ------------------
  842|    150|        x = (long)PyOS_strtoul(s, (char **)&end, 0);
  843|    150|        if (x < 0 && errno == 0) {
  ------------------
  |  Branch (843:13): [True: 0, False: 150]
  |  Branch (843:22): [True: 0, False: 0]
  ------------------
  844|      0|            return PyLong_FromString(s, (char **)0, 0);
  845|      0|        }
  846|    150|    }
  847|     90|    else {
  848|     90|        x = PyOS_strtol(s, (char **)&end, 0);
  849|     90|    }
  850|    240|    if (*end == '\0') {
  ------------------
  |  Branch (850:9): [True: 185, False: 55]
  ------------------
  851|    185|        if (errno != 0) {
  ------------------
  |  Branch (851:13): [True: 7, False: 178]
  ------------------
  852|      7|            return PyLong_FromString(s, (char **)0, 0);
  853|      7|        }
  854|    178|        return PyLong_FromLong(x);
  855|    185|    }
  856|       |    /* XXX Huge floats may silently fail */
  857|     55|    if (imflag) {
  ------------------
  |  Branch (857:9): [True: 0, False: 55]
  ------------------
  858|      0|        compl.real = 0.;
  859|      0|        compl.imag = PyOS_string_to_double(s, (char **)&end, NULL);
  860|      0|        if (compl.imag == -1.0 && PyErr_Occurred()) {
  ------------------
  |  Branch (860:13): [True: 0, False: 0]
  |  Branch (860:35): [True: 0, False: 0]
  ------------------
  861|      0|            return NULL;
  862|      0|        }
  863|      0|        return PyComplex_FromCComplex(compl);
  864|      0|    }
  865|     55|    dx = PyOS_string_to_double(s, NULL, NULL);
  866|     55|    if (dx == -1.0 && PyErr_Occurred()) {
  ------------------
  |  Branch (866:9): [True: 0, False: 55]
  |  Branch (866:23): [True: 0, False: 0]
  ------------------
  867|      0|        return NULL;
  868|      0|    }
  869|     55|    return PyFloat_FromDouble(dx);
  870|     55|}
pegen.c:growable_comment_array_deallocate:
  198|     35|{
  199|     35|    for (size_t i = 0; i < arr->num_items; i++) {
  ------------------
  |  Branch (199:24): [True: 0, False: 35]
  ------------------
  200|      0|        PyMem_Free(arr->items[i].comment);
  201|      0|    }
  202|     35|    PyMem_Free(arr->items);
  203|     35|}
pegen.c:reset_parser_state_for_error_pass:
 1085|     24|{
 1086|     24|    p->last_stmt_location.lineno = 0;
 1087|     24|    p->last_stmt_location.col_offset = 0;
 1088|     24|    p->last_stmt_location.end_lineno = 0;
 1089|     24|    p->last_stmt_location.end_col_offset = 0;
 1090|  3.00M|    for (int i = 0; i < p->fill; i++) {
  ------------------
  |  Branch (1090:21): [True: 3.00M, False: 24]
  ------------------
 1091|  3.00M|        p->tokens[i]->memo = NULL;
 1092|  3.00M|        p->tokens[i]->memo_mask = 0;
 1093|  3.00M|    }
 1094|     24|    p->mark = 0;
 1095|     24|    p->flags &= ~PyPARSE_ALLOW_INCOMPLETE_INPUT;
  ------------------
  |  |   28|     24|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
 1096|     24|    _PyTokenizer_AllowIncompleteInput(p->tok, 0);
 1097|     24|    p->call_invalid_rules = 1;
 1098|     24|    _PyTokenizer_StopInteractive(p->tok);
 1099|     24|}
pegen.c:_PyPegen_set_syntax_error_metadata:
 1102|     24|_PyPegen_set_syntax_error_metadata(Parser *p) {
 1103|     24|    PyObject *exc = PyErr_GetRaisedException();
 1104|     24|    if (!exc || !PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_SyntaxError)) {
  ------------------
  |  |  378|     24|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1104:9): [True: 0, False: 24]
  |  Branch (1104:17): [True: 0, False: 24]
  ------------------
 1105|      0|        PyErr_SetRaisedException(exc);
 1106|      0|        return;
 1107|      0|    }
 1108|     24|    const char *source = _PyTokenizer_RetainedSource(p->tok);
 1109|     24|    const char *encoding = _PyTokenizer_GetInfo(p->tok).encoding;
 1110|     24|    PyObject* the_source = NULL;
 1111|     24|    if (source) {
  ------------------
  |  Branch (1111:9): [True: 24, False: 0]
  ------------------
 1112|     24|        if (encoding == NULL) {
  ------------------
  |  Branch (1112:13): [True: 0, False: 24]
  ------------------
 1113|      0|            the_source = PyUnicode_FromString(source);
 1114|     24|        } else {
 1115|     24|            the_source = PyUnicode_Decode(source, strlen(source), encoding, NULL);
 1116|     24|        }
 1117|     24|    }
 1118|     24|    if (!the_source) {
  ------------------
  |  Branch (1118:9): [True: 0, False: 24]
  ------------------
 1119|      0|        PyErr_Clear();
 1120|      0|        the_source = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1121|      0|        Py_INCREF(the_source);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1122|      0|    }
 1123|     24|    PyObject* metadata = Py_BuildValue(
 1124|     24|        "(iiN)",
 1125|     24|        p->last_stmt_location.lineno,
 1126|     24|        p->last_stmt_location.col_offset,
 1127|     24|        the_source // N gives ownership to metadata
 1128|     24|    );
 1129|     24|    if (!metadata) {
  ------------------
  |  Branch (1129:9): [True: 0, False: 24]
  ------------------
 1130|      0|        PyErr_Clear();
 1131|      0|        PyErr_SetRaisedException(exc);
 1132|      0|        return;
 1133|      0|    }
 1134|     24|    PySyntaxErrorObject *syntax_error = (PySyntaxErrorObject *)exc;
 1135|       |
 1136|     24|    Py_XDECREF(syntax_error->metadata);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1137|     24|    syntax_error->metadata = metadata;
 1138|     24|    PyErr_SetRaisedException(exc);
 1139|     24|}
pegen.c:compute_parser_flags:
  976|     35|{
  977|     35|    int parser_flags = 0;
  978|     35|    if (!flags) {
  ------------------
  |  Branch (978:9): [True: 0, False: 35]
  ------------------
  979|      0|        return 0;
  980|      0|    }
  981|     35|    if (flags->cf_flags & PyCF_DONT_IMPLY_DEDENT) {
  ------------------
  |  |   16|     35|#define PyCF_DONT_IMPLY_DEDENT 0x0200
  ------------------
  |  Branch (981:9): [True: 0, False: 35]
  ------------------
  982|      0|        parser_flags |= PyPARSE_DONT_IMPLY_DEDENT;
  ------------------
  |  |   17|      0|#define PyPARSE_DONT_IMPLY_DEDENT       0x0002
  ------------------
  983|      0|    }
  984|     35|    if (flags->cf_flags & PyCF_IGNORE_COOKIE) {
  ------------------
  |  |   18|     35|#define PyCF_IGNORE_COOKIE 0x0800
  ------------------
  |  Branch (984:9): [True: 35, False: 0]
  ------------------
  985|     35|        parser_flags |= PyPARSE_IGNORE_COOKIE;
  ------------------
  |  |   25|     35|#define PyPARSE_IGNORE_COOKIE 0x0010
  ------------------
  986|     35|    }
  987|     35|    if (flags->cf_flags & CO_FUTURE_BARRY_AS_BDFL) {
  ------------------
  |  |  145|     35|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  ------------------
  |  Branch (987:9): [True: 0, False: 35]
  ------------------
  988|      0|        parser_flags |= PyPARSE_BARRY_AS_BDFL;
  ------------------
  |  |   26|      0|#define PyPARSE_BARRY_AS_BDFL 0x0020
  ------------------
  989|      0|    }
  990|     35|    if (flags->cf_flags & PyCF_TYPE_COMMENTS) {
  ------------------
  |  |   19|     35|#define PyCF_TYPE_COMMENTS 0x1000
  ------------------
  |  Branch (990:9): [True: 0, False: 35]
  ------------------
  991|      0|        parser_flags |= PyPARSE_TYPE_COMMENTS;
  ------------------
  |  |   27|      0|#define PyPARSE_TYPE_COMMENTS 0x0040
  ------------------
  992|      0|    }
  993|     35|    if (flags->cf_flags & PyCF_ALLOW_INCOMPLETE_INPUT) {
  ------------------
  |  |   21|     35|#define PyCF_ALLOW_INCOMPLETE_INPUT 0x4000
  ------------------
  |  Branch (993:9): [True: 0, False: 35]
  ------------------
  994|      0|        parser_flags |= PyPARSE_ALLOW_INCOMPLETE_INPUT;
  ------------------
  |  |   28|      0|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  995|      0|    }
  996|     35|    return parser_flags;
  997|     35|}

pegen_errors.c:RAISE_ERROR_KNOWN_LOCATION:
  233|      8|{
  234|      8|    va_list va;
  235|      8|    va_start(va, errmsg);
  236|      8|    Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   30|      8|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   30|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (236:31): [True: 0, False: 8]
  ------------------
  237|      8|    Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   30|      8|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   30|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (237:35): [True: 0, False: 8]
  ------------------
  238|      8|    _PyPegen_raise_error_known_location(p, errtype, lineno, _col_offset, end_lineno, _end_col_offset, errmsg, va);
  239|      8|    va_end(va);
  240|       |    return NULL;
  241|      8|}
parser.c:_PyPegen_stack_exhausted:
  118|   190M|{
  119|   190M|#if _Py_STACK_GROWS_DOWN
  120|   190M|    if (_Py_get_machine_stack_pointer() > p->stack_soft_limit) {
  ------------------
  |  Branch (120:9): [True: 190M, False: 0]
  ------------------
  121|       |#else
  122|       |    if (_Py_get_machine_stack_pointer() <= p->stack_soft_limit) {
  123|       |#endif
  124|   190M|        assert(!_Py_ReachedRecursionLimitWithMargin(p->tstate, 1));
  ------------------
  |  Branch (124:9): [True: 190M, False: 0]
  ------------------
  125|   190M|        return 0;
  126|   190M|    }
  127|      0|    return _Py_ReachedRecursionLimitWithMargin(p->tstate, 1);
  128|   190M|}
parser.c:INVALID_VERSION_CHECK:
  341|     33|{
  342|     33|    if (node == NULL) {
  ------------------
  |  Branch (342:9): [True: 0, False: 33]
  ------------------
  343|      0|        p->error_indicator = 1;  // Inline CHECK_CALL
  344|      0|        return NULL;
  345|      0|    }
  346|     33|    if (p->feature_version < version) {
  ------------------
  |  Branch (346:9): [True: 0, False: 33]
  ------------------
  347|      0|        p->error_indicator = 1;
  348|      0|        return RAISE_SYNTAX_ERROR("%s only supported in Python 3.%i and greater",
  ------------------
  |  |  242|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  349|      0|                                  msg, version);
  350|      0|    }
  351|     33|    return node;
  352|     33|}
parser.c:CHECK_CALL:
  261|     45|{
  262|     45|    if (result == NULL) {
  ------------------
  |  Branch (262:9): [True: 0, False: 45]
  ------------------
  263|      0|        assert(PyErr_Occurred());
  ------------------
  |  Branch (263:9): [True: 0, False: 0]
  ------------------
  264|      0|        p->error_indicator = 1;
  265|      0|    }
  266|     45|    return result;
  267|     45|}
parser.c:CHECK_CALL_NULL_ALLOWED:
  273|     72|{
  274|     72|    if (result == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (274:9): [True: 36, False: 36]
  |  Branch (274:27): [True: 0, False: 36]
  ------------------
  275|      0|        p->error_indicator = 1;
  276|      0|    }
  277|     72|    return result;
  278|     72|}
parser_invalid.c:_PyPegen_stack_exhausted:
  118|  8.79M|{
  119|  8.79M|#if _Py_STACK_GROWS_DOWN
  120|  8.79M|    if (_Py_get_machine_stack_pointer() > p->stack_soft_limit) {
  ------------------
  |  Branch (120:9): [True: 8.79M, False: 0]
  ------------------
  121|       |#else
  122|       |    if (_Py_get_machine_stack_pointer() <= p->stack_soft_limit) {
  123|       |#endif
  124|  8.79M|        assert(!_Py_ReachedRecursionLimitWithMargin(p->tstate, 1));
  ------------------
  |  Branch (124:9): [True: 8.79M, False: 0]
  ------------------
  125|  8.79M|        return 0;
  126|  8.79M|    }
  127|      0|    return _Py_ReachedRecursionLimitWithMargin(p->tstate, 1);
  128|  8.79M|}
parser_invalid.c:RAISE_ERROR_KNOWN_LOCATION:
  233|      1|{
  234|      1|    va_list va;
  235|      1|    va_start(va, errmsg);
  236|      1|    Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   30|      1|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   30|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (236:31): [True: 0, False: 1]
  ------------------
  237|      1|    Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   30|      1|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   30|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (237:35): [True: 0, False: 1]
  ------------------
  238|      1|    _PyPegen_raise_error_known_location(p, errtype, lineno, _col_offset, end_lineno, _end_col_offset, errmsg, va);
  239|      1|    va_end(va);
  240|       |    return NULL;
  241|      1|}
action_helpers.c:RAISE_ERROR_KNOWN_LOCATION:
  233|      1|{
  234|      1|    va_list va;
  235|      1|    va_start(va, errmsg);
  236|      1|    Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   30|      1|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   30|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (236:31): [True: 0, False: 1]
  ------------------
  237|      1|    Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   30|      1|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   30|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (237:35): [True: 0, False: 1]
  ------------------
  238|      1|    _PyPegen_raise_error_known_location(p, errtype, lineno, _col_offset, end_lineno, _end_col_offset, errmsg, va);
  239|      1|    va_end(va);
  240|       |    return NULL;
  241|      1|}

_Pypegen_tokenizer_error:
   35|      6|{
   36|      6|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (36:9): [True: 6, False: 0]
  ------------------
   37|      6|        return -1;
   38|      6|    }
   39|       |
   40|      0|    const char *msg = NULL;
   41|      0|    PyObject* errtype = PyExc_SyntaxError;
   42|      0|    Py_ssize_t col_offset = -1;
   43|      0|    p->error_indicator = 1;
   44|      0|    _PyTokenizer_Info info = _PyTokenizer_GetInfo(p->tok);
   45|      0|    if ((p->flags & PyPARSE_ALLOW_INCOMPLETE_INPUT) &&
  ------------------
  |  |   28|      0|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  |  Branch (45:9): [True: 0, False: 0]
  ------------------
   46|      0|        (info.status == E_EOF || info.status == E_INCOMPLETE))
  ------------------
  |  |   23|      0|#define E_EOF            11      /* End Of File */
  ------------------
                      (info.status == E_EOF || info.status == E_INCOMPLETE))
  ------------------
  |  |   41|      0|#define E_INCOMPLETE     30      /* An unfinished token in partial input */
  ------------------
  |  Branch (46:10): [True: 0, False: 0]
  |  Branch (46:34): [True: 0, False: 0]
  ------------------
   47|      0|    {
   48|      0|        _PyPegen_raise_incomplete_input(p);
   49|      0|        return -1;
   50|      0|    }
   51|      0|    switch (info.status) {
   52|      0|        case E_INCOMPLETE:
  ------------------
  |  |   41|      0|#define E_INCOMPLETE     30      /* An unfinished token in partial input */
  ------------------
  |  Branch (52:9): [True: 0, False: 0]
  ------------------
   53|       |            // The diagnostic pass rejected this unfinished token. Let the
   54|       |            // parser report the syntax error at its original failure point.
   55|      0|            return -1;
   56|      0|        case E_TOKEN:
  ------------------
  |  |   25|      0|#define E_TOKEN          13      /* Bad token */
  ------------------
  |  Branch (56:9): [True: 0, False: 0]
  ------------------
   57|      0|            msg = "invalid token";
   58|      0|            break;
   59|      0|        case E_EOF:
  ------------------
  |  |   23|      0|#define E_EOF            11      /* End Of File */
  ------------------
  |  Branch (59:9): [True: 0, False: 0]
  ------------------
   60|      0|            if (info.level) {
  ------------------
  |  Branch (60:17): [True: 0, False: 0]
  ------------------
   61|      0|                raise_unclosed_parentheses_error(p);
   62|      0|            } else {
   63|      0|                RAISE_SYNTAX_ERROR("unexpected EOF while parsing");
  ------------------
  |  |  242|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
   64|      0|            }
   65|      0|            return -1;
   66|      0|        case E_DEDENT:
  ------------------
  |  |   33|      0|#define E_DEDENT         21      /* No matching outer block for dedent */
  ------------------
  |  Branch (66:9): [True: 0, False: 0]
  ------------------
   67|      0|            RAISE_INDENTATION_ERROR("unindent does not match any outer indentation level");
  ------------------
  |  |  243|      0|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
   68|      0|            return -1;
   69|      0|        case E_INTR:
  ------------------
  |  |   24|      0|#define E_INTR           12      /* Interrupted */
  ------------------
  |  Branch (69:9): [True: 0, False: 0]
  ------------------
   70|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (70:17): [True: 0, False: 0]
  ------------------
   71|      0|                PyErr_SetNone(PyExc_KeyboardInterrupt);
   72|      0|            }
   73|      0|            return -1;
   74|      0|        case E_NOMEM:
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
  |  Branch (74:9): [True: 0, False: 0]
  ------------------
   75|      0|            PyErr_NoMemory();
   76|      0|            return -1;
   77|      0|        case E_TABSPACE:
  ------------------
  |  |   30|      0|#define E_TABSPACE       18      /* Inconsistent mixing of tabs and spaces */
  ------------------
  |  Branch (77:9): [True: 0, False: 0]
  ------------------
   78|      0|            errtype = PyExc_TabError;
   79|      0|            msg = "inconsistent use of tabs and spaces in indentation";
   80|      0|            break;
   81|      0|        case E_TOODEEP:
  ------------------
  |  |   32|      0|#define E_TOODEEP        20      /* Too many indentation levels */
  ------------------
  |  Branch (81:9): [True: 0, False: 0]
  ------------------
   82|      0|            errtype = PyExc_IndentationError;
   83|      0|            msg = "too many levels of indentation";
   84|      0|            break;
   85|      0|        case E_LINECONT: {
  ------------------
  |  |   37|      0|#define E_LINECONT       25      /* Unexpected characters after a line continuation */
  ------------------
  |  Branch (85:9): [True: 0, False: 0]
  ------------------
   86|      0|            col_offset = info.cursor - info.line_span.start - 1;
   87|      0|            msg = "unexpected character after line continuation character";
   88|      0|            break;
   89|      0|        }
   90|      0|        case E_COLUMNOVERFLOW:
  ------------------
  |  |   40|      0|#define E_COLUMNOVERFLOW 29      /* Column offset overflow */
  ------------------
  |  Branch (90:9): [True: 0, False: 0]
  ------------------
   91|      0|            PyErr_SetString(PyExc_OverflowError,
   92|      0|                    "Parser column offset overflow - source line is too big");
   93|      0|            return -1;
   94|      0|        default:
  ------------------
  |  Branch (94:9): [True: 0, False: 0]
  ------------------
   95|      0|            msg = "unknown parsing error";
   96|      0|    }
   97|       |
   98|      0|    RAISE_ERROR_KNOWN_LOCATION(p, errtype, info.location.lineno,
   99|      0|                               col_offset >= 0 ? col_offset : 0,
  ------------------
  |  Branch (99:32): [True: 0, False: 0]
  ------------------
  100|      0|                               info.location.lineno, -1, msg);
  101|      0|    return -1;
  102|      0|}
_Pypegen_raise_decode_error:
  106|      2|{
  107|       |    return _Pypegen_raise_decode_error_known_location(p, NULL);
  108|      2|}
_Pypegen_raise_decode_error_known_location:
  112|      2|{
  113|      2|    assert(PyErr_Occurred());
  ------------------
  |  Branch (113:5): [True: 2, False: 0]
  ------------------
  114|      2|    const char *errtype = NULL;
  115|      2|    if (PyErr_ExceptionMatches(PyExc_UnicodeError)) {
  ------------------
  |  Branch (115:9): [True: 2, False: 0]
  ------------------
  116|      2|        errtype = "unicode error";
  117|      2|    }
  118|      0|    else if (PyErr_ExceptionMatches(PyExc_ValueError)) {
  ------------------
  |  Branch (118:14): [True: 0, False: 0]
  ------------------
  119|      0|        errtype = "value error";
  120|      0|    }
  121|      2|    if (errtype) {
  ------------------
  |  Branch (121:9): [True: 2, False: 0]
  ------------------
  122|      2|        PyObject *type;
  123|      2|        PyObject *value;
  124|      2|        PyObject *tback;
  125|      2|        PyObject *errstr;
  126|      2|        PyErr_Fetch(&type, &value, &tback);
  127|      2|        errstr = PyObject_Str(value);
  128|      2|        if (errstr) {
  ------------------
  |  Branch (128:13): [True: 2, False: 0]
  ------------------
  129|      2|            if (a != NULL) {
  ------------------
  |  Branch (129:17): [True: 0, False: 2]
  ------------------
  130|      0|                RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, "(%s) %U", errtype, errstr);
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  131|      0|            }
  132|      2|            else {
  133|      2|                RAISE_SYNTAX_ERROR("(%s) %U", errtype, errstr);
  ------------------
  |  |  242|      2|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  134|      2|            }
  135|      2|            Py_DECREF(errstr);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  136|      2|        }
  137|      0|        else {
  138|      0|            PyErr_Clear();
  139|      0|            if (a != NULL) {
  ------------------
  |  Branch (139:17): [True: 0, False: 0]
  ------------------
  140|      0|                RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, "(%s) unknown error", errtype);
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  141|      0|            }
  142|      0|            else {
  143|      0|                RAISE_SYNTAX_ERROR("(%s) unknown error", errtype);
  ------------------
  |  |  242|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  144|      0|            }
  145|      0|        }
  146|      2|        Py_XDECREF(type);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  147|      2|        Py_XDECREF(value);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  148|      2|        Py_XDECREF(tback);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  149|      2|    }
  150|       |
  151|      2|    return -1;
  152|      2|}
_PyPegen_raise_error:
  222|      8|{
  223|       |    // Bail out if we already have an error set.
  224|      8|    if (p->error_indicator && PyErr_Occurred()) {
  ------------------
  |  Branch (224:9): [True: 0, False: 8]
  |  Branch (224:31): [True: 0, False: 0]
  ------------------
  225|      0|        return NULL;
  226|      0|    }
  227|      8|    if (p->fill == 0) {
  ------------------
  |  Branch (227:9): [True: 0, False: 8]
  ------------------
  228|      0|        va_list va;
  229|      0|        va_start(va, errmsg);
  230|      0|        _PyPegen_raise_error_known_location(p, errtype, 0, 0, 0, -1, errmsg, va);
  231|      0|        va_end(va);
  232|      0|        return NULL;
  233|      0|    }
  234|      8|    if (use_mark && p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (234:9): [True: 0, False: 8]
  |  Branch (234:21): [True: 0, False: 0]
  |  Branch (234:43): [True: 0, False: 0]
  ------------------
  235|      0|        p->error_indicator = 1;
  236|      0|        return NULL;
  237|      0|    }
  238|      8|    Token *t = p->known_err_token != NULL
  ------------------
  |  Branch (238:16): [True: 0, False: 8]
  ------------------
  239|      8|                   ? p->known_err_token
  240|      8|                   : p->tokens[use_mark ? p->mark : p->fill - 1];
  ------------------
  |  Branch (240:32): [True: 0, False: 8]
  ------------------
  241|      8|    Py_ssize_t col_offset;
  242|      8|    Py_ssize_t end_col_offset = -1;
  243|      8|    if (t->col_offset == -1) {
  ------------------
  |  Branch (243:9): [True: 0, False: 8]
  ------------------
  244|      0|        _PyTokenizer_Info info = _PyTokenizer_GetInfo(p->tok);
  245|      0|        if (info.diagnostic.location.lineno != 0) {
  ------------------
  |  Branch (245:13): [True: 0, False: 0]
  ------------------
  246|      0|            col_offset = info.diagnostic.location.byte_col;
  247|      0|        } else if (info.cursor == info.input_span.start) {
  ------------------
  |  Branch (247:20): [True: 0, False: 0]
  ------------------
  248|      0|            col_offset = 0;
  249|      0|        } else {
  250|      0|            col_offset = Py_SAFE_DOWNCAST(
  ------------------
  |  |  247|      0|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  251|      0|                info.cursor - info.line_span.start, intptr_t, int);
  252|      0|        }
  253|      8|    } else {
  254|      8|        col_offset = t->col_offset + 1;
  255|      8|    }
  256|       |
  257|      8|    if (t->end_col_offset != -1) {
  ------------------
  |  Branch (257:9): [True: 8, False: 0]
  ------------------
  258|      8|        end_col_offset = t->end_col_offset + 1;
  259|      8|    }
  260|       |
  261|      8|    va_list va;
  262|      8|    va_start(va, errmsg);
  263|      8|    _PyPegen_raise_error_known_location(p, errtype, t->lineno, col_offset, t->end_lineno, end_col_offset, errmsg, va);
  264|      8|    va_end(va);
  265|       |
  266|       |    return NULL;
  267|      8|}
_PyPegen_raise_error_known_location:
  286|     18|{
  287|       |    // Bail out if we already have an error set.
  288|     18|    if (p->error_indicator && PyErr_Occurred()) {
  ------------------
  |  Branch (288:9): [True: 0, False: 18]
  |  Branch (288:31): [True: 0, False: 0]
  ------------------
  289|      0|        return NULL;
  290|      0|    }
  291|     18|    PyObject *value = NULL;
  292|     18|    PyObject *errstr = NULL;
  293|     18|    PyObject *error_line = NULL;
  294|     18|    PyObject *tmp = NULL;
  295|     18|    p->error_indicator = 1;
  296|     18|    _PyTokenizer_Info info = _PyTokenizer_GetInfo(p->tok);
  297|     18|    _PyTok_Loc location = info.location;
  298|     18|    _PyTok_Span text_span = info.line_span;
  299|       |
  300|     18|    if (errtype == PyExc_IncompleteInputError &&
  ------------------
  |  |  204|     36|#define PyExc_IncompleteInputError ((PyObject *)(&_PyExc_IncompleteInputError))
  ------------------
  |  Branch (300:9): [True: 0, False: 18]
  ------------------
  301|      0|        info.diagnostic.location.lineno != 0) {
  ------------------
  |  Branch (301:9): [True: 0, False: 0]
  ------------------
  302|      0|        location = info.diagnostic.location;
  303|      0|        text_span = info.diagnostic.text_span;
  304|      0|        lineno = end_lineno = location.lineno;
  305|      0|        col_offset = location.byte_col;
  306|      0|        end_col_offset = -1;
  307|      0|    }
  308|       |
  309|     18|    if (end_lineno == CURRENT_POS) {
  ------------------
  |  |   30|     18|#define CURRENT_POS (-5)
  ------------------
  |  Branch (309:9): [True: 0, False: 18]
  ------------------
  310|      0|        end_lineno = location.lineno;
  311|      0|    }
  312|     18|    if (end_col_offset == CURRENT_POS) {
  ------------------
  |  |   30|     18|#define CURRENT_POS (-5)
  ------------------
  |  Branch (312:9): [True: 0, False: 18]
  ------------------
  313|      0|        end_col_offset = location.byte_col;
  314|      0|    }
  315|       |
  316|     18|    errstr = PyUnicode_FromFormatV(errmsg, va);
  317|     18|    if (!errstr) {
  ------------------
  |  Branch (317:9): [True: 0, False: 18]
  ------------------
  318|      0|        goto error;
  319|      0|    }
  320|       |
  321|     18|    if (info.is_interactive && _PyTokenizer_RetainedSource(p->tok) != NULL) {
  ------------------
  |  Branch (321:9): [True: 0, False: 18]
  |  Branch (321:32): [True: 0, False: 0]
  ------------------
  322|      0|        error_line = get_error_line_from_source(p, lineno);
  323|      0|    }
  324|     18|    else if (p->start_rule == Py_file_input) {
  ------------------
  |  |    9|     18|#define Py_file_input 257
  ------------------
  |  Branch (324:14): [True: 0, False: 18]
  ------------------
  325|      0|        error_line = _PyErr_ProgramDecodedTextObject(info.filename,
  326|      0|                                                     (int) lineno, info.encoding);
  327|      0|    }
  328|       |
  329|     18|    if (!error_line) {
  ------------------
  |  Branch (329:9): [True: 18, False: 0]
  ------------------
  330|       |        /* PyErr_ProgramTextObject was not called or returned NULL. If it was not called,
  331|       |           then we need to find the error line from some other source, because
  332|       |           p->start_rule != Py_file_input. If it returned NULL, then it either unexpectedly
  333|       |           failed or we're parsing from a string or the REPL. There's a third edge case where
  334|       |           we're actually parsing from a file, which has an E_EOF SyntaxError and in that case
  335|       |           `PyErr_ProgramTextObject` fails because lineno points to last_file_line + 1, which
  336|       |           does not physically exist */
  337|     18|        assert(!info.is_file || info.status == E_EOF);
  ------------------
  |  Branch (337:9): [True: 18, False: 0]
  |  Branch (337:9): [True: 0, False: 0]
  ------------------
  338|       |
  339|     18|        if (location.lineno <= lineno &&
  ------------------
  |  Branch (339:13): [True: 18, False: 0]
  ------------------
  340|     18|                info.input_span.end > info.input_span.start) {
  ------------------
  |  Branch (340:17): [True: 18, False: 0]
  ------------------
  341|     18|            Py_ssize_t size;
  342|     18|            const char *line = _PyTokenizer_SpanView(
  343|     18|                p->tok, text_span, &size);
  344|     18|            if (errtype == PyExc_IncompleteInputError && size > 0 &&
  ------------------
  |  |  204|     36|#define PyExc_IncompleteInputError ((PyObject *)(&_PyExc_IncompleteInputError))
  ------------------
  |  Branch (344:17): [True: 0, False: 18]
  |  Branch (344:58): [True: 0, False: 0]
  ------------------
  345|      0|                (info.implicit_newline == _PyTokenizer_APPEND_NEWLINE ||
  ------------------
  |  Branch (345:18): [True: 0, False: 0]
  ------------------
  346|      0|                 (info.implicit_newline == _PyTokenizer_IMPLY_NEWLINE &&
  ------------------
  |  Branch (346:19): [True: 0, False: 0]
  ------------------
  347|      0|                  p->start_rule != Py_file_input))) {
  ------------------
  |  |    9|      0|#define Py_file_input 257
  ------------------
  |  Branch (347:19): [True: 0, False: 0]
  ------------------
  348|      0|                size--;
  349|      0|            }
  350|     18|            error_line = PyUnicode_DecodeUTF8(line, size, "replace");
  351|     18|        }
  352|      0|        else if (!info.is_file) {
  ------------------
  |  Branch (352:18): [True: 0, False: 0]
  ------------------
  353|      0|            error_line = get_error_line_from_source(p, lineno);
  354|      0|        }
  355|      0|        else {
  356|      0|            error_line = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  357|      0|        }
  358|     18|        if (!error_line) {
  ------------------
  |  Branch (358:13): [True: 0, False: 18]
  ------------------
  359|      0|            goto error;
  360|      0|        }
  361|     18|    }
  362|       |
  363|     18|    Py_ssize_t col_number = col_offset;
  364|     18|    Py_ssize_t end_col_number = end_col_offset;
  365|       |
  366|     18|    col_number = _PyPegen_byte_offset_to_character_offset(error_line, col_offset);
  367|     18|    if (col_number < 0) {
  ------------------
  |  Branch (367:9): [True: 0, False: 18]
  ------------------
  368|      0|        goto error;
  369|      0|    }
  370|       |
  371|     18|    if (end_col_offset > 0) {
  ------------------
  |  Branch (371:9): [True: 16, False: 2]
  ------------------
  372|     16|        PyObject *end_line = end_lineno != lineno && _PyTokenizer_RetainedSource(p->tok) != NULL
  ------------------
  |  Branch (372:30): [True: 0, False: 16]
  |  Branch (372:54): [True: 0, False: 0]
  ------------------
  373|     16|            ? get_error_line_from_source(p, end_lineno) : Py_NewRef(error_line);
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  374|     16|        if (end_line == NULL) {
  ------------------
  |  Branch (374:13): [True: 0, False: 16]
  ------------------
  375|      0|            goto error;
  376|      0|        }
  377|     16|        end_col_number = _PyPegen_byte_offset_to_character_offset(end_line, end_col_offset);
  378|     16|        Py_DECREF(end_line);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  379|     16|        if (end_col_number < 0) {
  ------------------
  |  Branch (379:13): [True: 0, False: 16]
  ------------------
  380|      0|            goto error;
  381|      0|        }
  382|     16|    }
  383|       |
  384|     18|    tmp = Py_BuildValue("(OnnNnn)", info.filename, lineno, col_number, error_line, end_lineno, end_col_number);
  385|     18|    error_line = NULL;
  386|     18|    if (!tmp) {
  ------------------
  |  Branch (386:9): [True: 0, False: 18]
  ------------------
  387|      0|        goto error;
  388|      0|    }
  389|     18|    value = _PyTuple_FromPair(errstr, tmp);
  390|     18|    Py_DECREF(tmp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  391|     18|    if (!value) {
  ------------------
  |  Branch (391:9): [True: 0, False: 18]
  ------------------
  392|      0|        goto error;
  393|      0|    }
  394|     18|    PyErr_SetObject(errtype, value);
  395|       |
  396|     18|    Py_DECREF(errstr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  397|     18|    Py_DECREF(value);
  ------------------
  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  398|     18|    return NULL;
  399|       |
  400|      0|error:
  401|      0|    Py_XDECREF(errstr);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  402|      0|    Py_XDECREF(error_line);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  403|       |    return NULL;
  404|     18|}
_Pypegen_set_syntax_error:
  407|     24|_Pypegen_set_syntax_error(Parser* p, Token* last_token) {
  408|     24|    _PyTokenizer_Info info = _PyTokenizer_GetInfo(p->tok);
  409|       |    // Existing syntax error
  410|     24|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (410:9): [True: 16, False: 8]
  ------------------
  411|       |        // Prioritize tokenizer errors to custom syntax errors raised
  412|       |        // on the second phase only if the errors come from the parser.
  413|     16|        int is_tok_ok = (info.status == E_DONE || info.status == E_OK);
  ------------------
  |  |   28|     32|#define E_DONE           16      /* Parsing complete */
  ------------------
                      int is_tok_ok = (info.status == E_DONE || info.status == E_OK);
  ------------------
  |  |   22|     16|#define E_OK             10      /* No error */
  ------------------
  |  Branch (413:26): [True: 0, False: 16]
  |  Branch (413:51): [True: 10, False: 6]
  ------------------
  414|     16|        if (is_tok_ok && PyErr_ExceptionMatches(PyExc_SyntaxError)) {
  ------------------
  |  Branch (414:13): [True: 10, False: 6]
  |  Branch (414:26): [True: 10, False: 0]
  ------------------
  415|     10|            _PyPegen_tokenize_full_source_to_check_for_errors(p);
  416|     10|        }
  417|       |        // Propagate the existing syntax error.
  418|     16|        return;
  419|     16|    }
  420|       |    // Initialization error
  421|      8|    if (p->fill == 0) {
  ------------------
  |  Branch (421:9): [True: 0, False: 8]
  ------------------
  422|      0|        RAISE_SYNTAX_ERROR("error at start before reading any input");
  ------------------
  |  |  242|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  423|      0|    }
  424|       |    // Parser encountered EOF (End of File) unexpectedtly
  425|      8|    if (last_token->type == ERRORTOKEN && info.status == E_EOF) {
  ------------------
  |  |   83|     16|#define ERRORTOKEN      67
  ------------------
                  if (last_token->type == ERRORTOKEN && info.status == E_EOF) {
  ------------------
  |  |   23|      0|#define E_EOF            11      /* End Of File */
  ------------------
  |  Branch (425:9): [True: 0, False: 8]
  |  Branch (425:43): [True: 0, False: 0]
  ------------------
  426|      0|        if (info.level) {
  ------------------
  |  Branch (426:13): [True: 0, False: 0]
  ------------------
  427|      0|            raise_unclosed_parentheses_error(p);
  428|      0|        } else {
  429|      0|            RAISE_SYNTAX_ERROR("unexpected EOF while parsing");
  ------------------
  |  |  242|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  430|      0|        }
  431|      0|        return;
  432|      0|    }
  433|       |    // Indentation error in the tokenizer
  434|      8|    if (last_token->type == INDENT || last_token->type == DEDENT) {
  ------------------
  |  |   21|     16|#define INDENT          5
  ------------------
                  if (last_token->type == INDENT || last_token->type == DEDENT) {
  ------------------
  |  |   22|      8|#define DEDENT          6
  ------------------
  |  Branch (434:9): [True: 0, False: 8]
  |  Branch (434:39): [True: 0, False: 8]
  ------------------
  435|      0|        RAISE_INDENTATION_ERROR(last_token->type == INDENT ? "unexpected indent" : "unexpected unindent");
  ------------------
  |  |  243|      0|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  Branch (243:94): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  436|      0|        return;
  437|      0|    }
  438|       |    // Unknown error (generic case)
  439|       |
  440|       |    // Use the last token we found on the first pass to avoid reporting
  441|       |    // incorrect locations for generic syntax errors just because we reached
  442|       |    // further away when trying to find specific syntax errors in the second
  443|       |    // pass.
  444|      8|    RAISE_SYNTAX_ERROR_KNOWN_LOCATION(last_token, "invalid syntax");
  ------------------
  |  |  248|      8|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  445|       |    // _PyPegen_tokenize_full_source_to_check_for_errors will override the existing
  446|       |    // generic SyntaxError we just raised if errors are found.
  447|      8|    _PyPegen_tokenize_full_source_to_check_for_errors(p);
  448|      8|}
pegen_errors.c:_PyPegen_tokenize_full_source_to_check_for_errors:
  155|     18|_PyPegen_tokenize_full_source_to_check_for_errors(Parser *p) {
  156|       |    // Tokenize the whole input to see if there are any tokenization
  157|       |    // errors such as mismatching parentheses. These will get priority
  158|       |    // over generic syntax errors only if the line number of the error is
  159|       |    // before the one that we had for the generic error.
  160|       |
  161|       |    // We don't want to tokenize to the end for interactive input
  162|     18|    if (_PyTokenizer_IsInteractive(p->tok)) {
  ------------------
  |  Branch (162:9): [True: 0, False: 18]
  ------------------
  163|      0|        return 0;
  164|      0|    }
  165|       |
  166|     18|    PyObject *type, *value, *traceback;
  167|     18|    PyErr_Fetch(&type, &value, &traceback);
  168|       |
  169|     18|    Token *current_token = p->known_err_token != NULL ? p->known_err_token : p->tokens[p->fill - 1];
  ------------------
  |  Branch (169:28): [True: 0, False: 18]
  ------------------
  170|     18|    Py_ssize_t current_err_line = current_token->lineno;
  171|       |
  172|     18|    int ret = 0;
  173|     18|    struct token new_token;
  174|     18|    _PyToken_Init(&new_token);
  175|       |
  176|   550k|    for (;;) {
  177|   550k|        _PyTokenizer_Get(p->tok, &new_token);
  178|   550k|        switch (new_token.type) {
  179|     15|            case ERRORTOKEN: {
  ------------------
  |  |   83|     15|#define ERRORTOKEN      67
  ------------------
  |  Branch (179:13): [True: 15, False: 550k]
  ------------------
  180|     15|                if (PyErr_Occurred()) {
  ------------------
  |  Branch (180:21): [True: 12, False: 3]
  ------------------
  181|     12|                    ret = -1;
  182|     12|                    goto exit;
  183|     12|                }
  184|      3|                _PyTokenizer_Info info = _PyTokenizer_GetInfo(p->tok);
  185|      3|                if (info.level != 0) {
  ------------------
  |  Branch (185:21): [True: 2, False: 1]
  ------------------
  186|      2|                    int error_lineno = info.delimiter_loc.lineno;
  187|      2|                    if (current_err_line > error_lineno) {
  ------------------
  |  Branch (187:25): [True: 0, False: 2]
  ------------------
  188|      0|                        raise_unclosed_parentheses_error(p);
  189|      0|                        ret = -1;
  190|      0|                        goto exit;
  191|      0|                    }
  192|      2|                }
  193|      3|                break;
  194|      3|            }
  195|      3|            case ENDMARKER:
  ------------------
  |  |   16|      3|#define ENDMARKER       0
  ------------------
  |  Branch (195:13): [True: 3, False: 550k]
  ------------------
  196|      3|                break;
  197|   550k|            default:
  ------------------
  |  Branch (197:13): [True: 550k, False: 18]
  ------------------
  198|   550k|                continue;
  199|   550k|        }
  200|      6|        break;
  201|   550k|    }
  202|       |
  203|       |
  204|     18|exit:
  205|     18|    _PyToken_Free(&new_token);
  206|     18|    _PyTokenizer_Info info = _PyTokenizer_GetInfo(p->tok);
  207|       |    // Preserve expression errors over later formatted-string errors.
  208|     18|    if (PyErr_Occurred() && !info.in_formatted_string) {
  ------------------
  |  Branch (208:9): [True: 12, False: 6]
  |  Branch (208:29): [True: 11, False: 1]
  ------------------
  209|     11|        Py_XDECREF(value);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  210|     11|        Py_XDECREF(type);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  211|     11|        Py_XDECREF(traceback);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|     11|    } else {
  213|      7|        PyErr_Restore(type, value, traceback);
  214|      7|    }
  215|     18|    return ret;
  216|     18|}

_PyPegen_decode_string:
  243|    838|{
  244|    838|    if (raw) {
  ------------------
  |  Branch (244:9): [True: 796, False: 42]
  ------------------
  245|    796|        return PyUnicode_DecodeUTF8Stateful(s, (Py_ssize_t)len, NULL, NULL);
  246|    796|    }
  247|     42|    return decode_unicode_with_escapes(p, s, len, t);
  248|    838|}
_PyPegen_parse_string:
  255|    858|{
  256|    858|    const char *s = PyBytes_AsString(t->bytes);
  257|    858|    if (s == NULL) {
  ------------------
  |  Branch (257:9): [True: 0, False: 858]
  ------------------
  258|      0|        return NULL;
  259|      0|    }
  260|       |
  261|    858|    size_t len;
  262|    858|    int quote = Py_CHARMASK(*s);
  ------------------
  |  |  170|    858|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  263|    858|    int bytesmode = 0;
  264|    858|    int rawmode = 0;
  265|       |
  266|    858|    if (Py_ISALPHA(quote)) {
  ------------------
  |  |   23|    858|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  170|    858|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |   10|    858|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|    858|#define PY_CTF_LOWER  0x01
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    9|    858|#define PY_CTF_UPPER  0x02
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (23:24): [True: 20, False: 838]
  |  |  ------------------
  ------------------
  267|     40|        while (!bytesmode || !rawmode) {
  ------------------
  |  Branch (267:16): [True: 20, False: 20]
  |  Branch (267:30): [True: 20, False: 0]
  ------------------
  268|     40|            if (quote == 'b' || quote == 'B') {
  ------------------
  |  Branch (268:17): [True: 20, False: 20]
  |  Branch (268:33): [True: 0, False: 20]
  ------------------
  269|     20|                quote =(unsigned char)*++s;
  270|     20|                bytesmode = 1;
  271|     20|            }
  272|     20|            else if (quote == 'u' || quote == 'U') {
  ------------------
  |  Branch (272:22): [True: 0, False: 20]
  |  Branch (272:38): [True: 0, False: 20]
  ------------------
  273|      0|                quote = (unsigned char)*++s;
  274|      0|            }
  275|     20|            else if (quote == 'r' || quote == 'R') {
  ------------------
  |  Branch (275:22): [True: 0, False: 20]
  |  Branch (275:38): [True: 0, False: 20]
  ------------------
  276|      0|                quote = (unsigned char)*++s;
  277|      0|                rawmode = 1;
  278|      0|            }
  279|     20|            else {
  280|     20|                break;
  281|     20|            }
  282|     40|        }
  283|     20|    }
  284|       |
  285|    858|    if (quote != '\'' && quote != '\"') {
  ------------------
  |  Branch (285:9): [True: 0, False: 858]
  |  Branch (285:26): [True: 0, False: 0]
  ------------------
  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|    858|    s++;
  292|    858|    len = strlen(s);
  293|       |    // gh-120155: 's' contains at least the trailing quote,
  294|       |    // so the code '--len' below is safe.
  295|    858|    assert(len >= 1);
  ------------------
  |  Branch (295:5): [True: 858, False: 0]
  ------------------
  296|       |
  297|    858|    if (len > INT_MAX) {
  ------------------
  |  Branch (297:9): [True: 0, False: 858]
  ------------------
  298|      0|        PyErr_SetString(PyExc_OverflowError, "string to parse is too long");
  299|      0|        return NULL;
  300|      0|    }
  301|    858|    if (s[--len] != quote) {
  ------------------
  |  Branch (301:9): [True: 0, False: 858]
  ------------------
  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|    858|    if (len >= 4 && s[0] == quote && s[1] == quote) {
  ------------------
  |  Branch (306:9): [True: 66, False: 792]
  |  Branch (306:21): [True: 0, False: 66]
  |  Branch (306:38): [True: 0, 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|      0|        s += 2;
  311|      0|        len -= 2;
  312|       |        /* And check that the last two match. */
  313|      0|        if (s[--len] != quote || s[--len] != quote) {
  ------------------
  |  Branch (313:13): [True: 0, False: 0]
  |  Branch (313:34): [True: 0, False: 0]
  ------------------
  314|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  315|      0|            return NULL;
  316|      0|        }
  317|      0|    }
  318|       |
  319|       |    /* Avoid invoking escape decoding routines if possible. */
  320|    858|    rawmode = rawmode || strchr(s, '\\') == NULL;
  ------------------
  |  Branch (320:15): [True: 0, False: 858]
  |  Branch (320:26): [True: 796, False: 62]
  ------------------
  321|    858|    if (bytesmode) {
  ------------------
  |  Branch (321:9): [True: 20, False: 838]
  ------------------
  322|       |        /* Disallow non-ASCII characters. */
  323|     20|        const char *ch;
  324|  2.08M|        for (ch = s; *ch; ch++) {
  ------------------
  |  Branch (324:22): [True: 2.08M, False: 20]
  ------------------
  325|  2.08M|            if (Py_CHARMASK(*ch) >= 0x80) {
  ------------------
  |  |  170|  2.08M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (325:17): [True: 0, False: 2.08M]
  ------------------
  326|      0|                RAISE_SYNTAX_ERROR_KNOWN_LOCATION(
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  327|      0|                                   t,
  328|      0|                                   "bytes can only contain ASCII "
  329|      0|                                   "literal characters");
  330|      0|                return NULL;
  331|      0|            }
  332|  2.08M|        }
  333|     20|        if (rawmode) {
  ------------------
  |  Branch (333:13): [True: 0, False: 20]
  ------------------
  334|      0|            return PyBytes_FromStringAndSize(s, (Py_ssize_t)len);
  335|      0|        }
  336|     20|        return decode_bytes_with_escapes(p, s, (Py_ssize_t)len, t);
  337|     20|    }
  338|    838|    return _PyPegen_decode_string(p, rawmode, s, len, t);
  339|    858|}
string_parser.c:decode_unicode_with_escapes:
  136|     42|{
  137|     42|    PyObject *v;
  138|     42|    char *p;
  139|     42|    const char *end;
  140|       |
  141|       |    /* check for integer overflow */
  142|     42|    if (len > (size_t)PY_SSIZE_T_MAX / 6) {
  ------------------
  |  |  137|     42|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (142:9): [True: 0, False: 42]
  ------------------
  143|      0|        return NULL;
  144|      0|    }
  145|       |    /* "ä" (2 bytes) may become "\U000000E4" (10 bytes), or 1:5.
  146|       |     * "\ä" (3 bytes) may become "\u005c\U000000E4" (16 bytes), or ~1:6. */
  147|     42|    Py_ssize_t alloc = (Py_ssize_t)len * 6;
  148|     42|    char *buf = PyMem_Malloc(alloc);
  149|     42|    if (buf == NULL) {
  ------------------
  |  Branch (149:9): [True: 0, False: 42]
  ------------------
  150|      0|        return PyErr_NoMemory();
  151|      0|    }
  152|     42|    p = buf;
  153|     42|    end = s + len;
  154|  21.3M|    while (s < end) {
  ------------------
  |  Branch (154:12): [True: 21.3M, False: 42]
  ------------------
  155|  21.3M|        if (*s == '\\') {
  ------------------
  |  Branch (155:13): [True: 3.97M, False: 17.3M]
  ------------------
  156|  3.97M|            *p++ = *s++;
  157|  3.97M|            if (s >= end || *s & 0x80) {
  ------------------
  |  Branch (157:17): [True: 0, False: 3.97M]
  |  Branch (157:29): [True: 0, False: 3.97M]
  ------------------
  158|      0|                memcpy(p, "u005c", 5);
  159|      0|                p += 5;
  160|      0|                if (s >= end) {
  ------------------
  |  Branch (160:21): [True: 0, False: 0]
  ------------------
  161|      0|                    break;
  162|      0|                }
  163|      0|            }
  164|  3.97M|        }
  165|  21.3M|        if (*s & 0x80) {
  ------------------
  |  Branch (165:13): [True: 207k, False: 21.1M]
  ------------------
  166|   207k|            PyObject *w;
  167|   207k|            int kind;
  168|   207k|            const void *data;
  169|   207k|            Py_ssize_t w_len;
  170|   207k|            Py_ssize_t i;
  171|   207k|            w = decode_utf8(&s, end);
  172|   207k|            if (w == NULL) {
  ------------------
  |  Branch (172:17): [True: 0, False: 207k]
  ------------------
  173|      0|                PyMem_Free(buf);
  174|      0|                return NULL;
  175|      0|            }
  176|   207k|            kind = PyUnicode_KIND(w);
  ------------------
  |  |  259|   207k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   414k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 207k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  177|   207k|            data = PyUnicode_DATA(w);
  ------------------
  |  |  285|   207k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  178|   207k|            w_len = PyUnicode_GET_LENGTH(w);
  ------------------
  |  |  300|   207k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  179|   414k|            for (i = 0; i < w_len; i++) {
  ------------------
  |  Branch (179:25): [True: 207k, False: 207k]
  ------------------
  180|       |                // sprintf() writes a null byte: the buffer is large enough
  181|       |                // for that thanks to the overallocation.
  182|   207k|                assert((p + 11 - buf) <= alloc);
  ------------------
  |  Branch (182:17): [True: 207k, False: 0]
  ------------------
  183|   207k|                Py_UCS4 chr = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  355|   207k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   207k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   207k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   207k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|   207k|                   (index))
  ------------------
  184|   207k|                sprintf(p, "\\U%08x", chr);
  185|   207k|                p += 10;
  186|   207k|            }
  187|   207k|            Py_DECREF(w);
  ------------------
  |  |  430|   207k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|   207k|        }
  189|  21.1M|        else {
  190|  21.1M|            *p++ = *s++;
  191|  21.1M|        }
  192|  21.3M|    }
  193|     42|    len = (size_t)(p - buf);
  194|       |
  195|     42|    int first_invalid_escape_char;
  196|     42|    const char *first_invalid_escape_ptr;
  197|       |    // Allow a trailing unfinished escape in a partial token.
  198|     42|    int incomplete = t != NULL && t->is_incomplete;
  ------------------
  |  Branch (198:22): [True: 42, False: 0]
  |  Branch (198:35): [True: 0, False: 42]
  ------------------
  199|     42|    Py_ssize_t consumed;
  200|     42|    v = _PyUnicode_DecodeUnicodeEscapeInternal2(buf, (Py_ssize_t)len, NULL,
  201|     42|                                                incomplete ? &consumed : NULL,
  ------------------
  |  Branch (201:49): [True: 0, False: 42]
  ------------------
  202|     42|                                                &first_invalid_escape_char,
  203|     42|                                                &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|     42|    if (v != NULL && first_invalid_escape_ptr != NULL && t != NULL && !incomplete) {
  ------------------
  |  Branch (207:9): [True: 40, False: 2]
  |  Branch (207:22): [True: 40, False: 0]
  |  Branch (207:58): [True: 40, False: 0]
  |  Branch (207:71): [True: 40, False: 0]
  ------------------
  208|     40|        if (warn_invalid_escape_sequence(parser, buf, first_invalid_escape_ptr, t) < 0) {
  ------------------
  |  Branch (208:13): [True: 0, False: 40]
  ------------------
  209|       |            /* We have not deallocated the buffer before because
  210|       |             * first_invalid_escape_ptr points inside buf. */
  211|      0|            PyMem_Free(buf);
  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|     40|    }
  216|     42|    PyMem_Free(buf);
  217|     42|    return v;
  218|     42|}
string_parser.c:decode_utf8:
  123|   207k|{
  124|   207k|    const char *s;
  125|   207k|    const char *t;
  126|   207k|    t = s = *sPtr;
  127|   709k|    while (s < end && (*s & 0x80)) {
  ------------------
  |  Branch (127:12): [True: 709k, False: 0]
  |  Branch (127:23): [True: 501k, False: 207k]
  ------------------
  128|   501k|        s++;
  129|   501k|    }
  130|   207k|    *sPtr = s;
  131|       |    return PyUnicode_DecodeUTF8(t, s - t, NULL);
  132|   207k|}
string_parser.c:warn_invalid_escape_sequence:
   14|     60|{
   15|     60|    if (p->call_invalid_rules) {
  ------------------
  |  Branch (15:9): [True: 12, False: 48]
  ------------------
   16|       |        // Do not report warnings if we are in the second pass of the parser
   17|       |        // to avoid showing the warning twice.
   18|     12|        return 0;
   19|     12|    }
   20|     48|    unsigned char c = (unsigned char)*first_invalid_escape;
   21|     48|    if ((t->type == FSTRING_MIDDLE || t->type == FSTRING_END || t->type == TSTRING_MIDDLE || t->type == TSTRING_END)
  ------------------
  |  |   76|     96|#define FSTRING_MIDDLE  60
  ------------------
                  if ((t->type == FSTRING_MIDDLE || t->type == FSTRING_END || t->type == TSTRING_MIDDLE || t->type == TSTRING_END)
  ------------------
  |  |   77|     96|#define FSTRING_END     61
  ------------------
                  if ((t->type == FSTRING_MIDDLE || t->type == FSTRING_END || t->type == TSTRING_MIDDLE || t->type == TSTRING_END)
  ------------------
  |  |   79|     96|#define TSTRING_MIDDLE  63
  ------------------
                  if ((t->type == FSTRING_MIDDLE || t->type == FSTRING_END || t->type == TSTRING_MIDDLE || t->type == TSTRING_END)
  ------------------
  |  |   80|     48|#define TSTRING_END     64
  ------------------
  |  Branch (21:10): [True: 0, False: 48]
  |  Branch (21:39): [True: 0, False: 48]
  |  Branch (21:65): [True: 0, False: 48]
  |  Branch (21:94): [True: 0, False: 48]
  ------------------
   22|      0|            && (c == '{' || c == '}')) {
  ------------------
  |  Branch (22:17): [True: 0, False: 0]
  |  Branch (22:29): [True: 0, False: 0]
  ------------------
   23|       |        // in this case the tokenizer has already emitted a warning,
   24|       |        // see Parser/tokenizer/helpers.c:warn_invalid_escape_sequence
   25|      0|        return 0;
   26|      0|    }
   27|       |
   28|     48|    int octal = ('4' <= c && c <= '7');
  ------------------
  |  Branch (28:18): [True: 29, False: 19]
  |  Branch (28:30): [True: 0, False: 29]
  ------------------
   29|     48|    PyObject *msg =
   30|     48|        octal
  ------------------
  |  Branch (30:9): [True: 0, False: 48]
  ------------------
   31|     48|        ? PyUnicode_FromFormat(
   32|      0|              "\"\\%.3s\" is an invalid octal escape sequence. "
   33|      0|              "Such sequences will not work in the future. "
   34|      0|              "Did you mean \"\\\\%.3s\"? A raw string is also an option.",
   35|      0|              first_invalid_escape, first_invalid_escape)
   36|     48|        : PyUnicode_FromFormat(
   37|     48|              "\"\\%c\" is an invalid escape sequence. "
   38|     48|              "Such sequences will not work in the future. "
   39|     48|              "Did you mean \"\\\\%c\"? A raw string is also an option.",
   40|     48|              c, c);
   41|     48|    if (msg == NULL) {
  ------------------
  |  Branch (41:9): [True: 0, False: 48]
  ------------------
   42|      0|        return -1;
   43|      0|    }
   44|     48|    PyObject *category;
   45|     48|    if (p->feature_version >= 12) {
  ------------------
  |  Branch (45:9): [True: 48, False: 0]
  ------------------
   46|     48|        category = PyExc_SyntaxWarning;
   47|     48|    }
   48|      0|    else {
   49|      0|        category = PyExc_DeprecationWarning;
   50|      0|    }
   51|       |
   52|       |    // Calculate the lineno and the col_offset of the invalid escape sequence
   53|     48|    const char *start = buffer;
   54|     48|    const char *end = first_invalid_escape;
   55|     48|    int lineno = t->lineno;
   56|     48|    int col_offset = t->col_offset;
   57|  31.9k|    while (start < end) {
  ------------------
  |  Branch (57:12): [True: 31.9k, False: 48]
  ------------------
   58|  31.9k|        if (*start == '\n') {
  ------------------
  |  Branch (58:13): [True: 0, False: 31.9k]
  ------------------
   59|      0|            lineno++;
   60|      0|            col_offset = 0;
   61|      0|        }
   62|  31.9k|        else {
   63|  31.9k|            col_offset++;
   64|  31.9k|        }
   65|  31.9k|        start++;
   66|  31.9k|    }
   67|       |
   68|       |    // Count the number of quotes in the token
   69|     48|    char first_quote = 0;
   70|     48|    if (lineno == t->lineno) {
  ------------------
  |  Branch (70:9): [True: 48, False: 0]
  ------------------
   71|     48|        int quote_count = 0;
   72|     48|        const char* tok = PyBytes_AsString(t->bytes);
   73|     82|        for (int i = 0; i < PyBytes_Size(t->bytes); i++) {
  ------------------
  |  Branch (73:25): [True: 82, False: 0]
  ------------------
   74|     82|            if (tok[i] == '\'' || tok[i] == '\"') {
  ------------------
  |  Branch (74:17): [True: 28, False: 54]
  |  Branch (74:35): [True: 6, False: 48]
  ------------------
   75|     34|                if (quote_count == 0) {
  ------------------
  |  Branch (75:21): [True: 28, False: 6]
  ------------------
   76|     28|                    first_quote = tok[i];
   77|     28|                }
   78|     34|                if (tok[i] == first_quote) {
  ------------------
  |  Branch (78:21): [True: 28, False: 6]
  ------------------
   79|     28|                    quote_count++;
   80|     28|                }
   81|     48|            } else {
   82|     48|                break;
   83|     48|            }
   84|     82|        }
   85|       |
   86|     48|        col_offset += quote_count;
   87|     48|    }
   88|       |
   89|     48|    _PyTokenizer_Info info = _PyTokenizer_GetInfo(p->tok);
   90|     48|    if (PyErr_WarnExplicitObject(category, msg, info.filename,
  ------------------
  |  Branch (90:9): [True: 0, False: 48]
  ------------------
   91|     48|                                 lineno, info.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|     48|    Py_DECREF(msg);
  ------------------
  |  |  430|     48|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  118|     48|    return 0;
  119|     48|}
string_parser.c:decode_bytes_with_escapes:
  222|     20|{
  223|     20|    int first_invalid_escape_char;
  224|     20|    const char *first_invalid_escape_ptr;
  225|     20|    PyObject *result = _PyBytes_DecodeEscape2(s, len, NULL,
  226|     20|                                              &first_invalid_escape_char,
  227|     20|                                              &first_invalid_escape_ptr);
  228|     20|    if (result == NULL) {
  ------------------
  |  Branch (228:9): [True: 0, False: 20]
  ------------------
  229|      0|        return NULL;
  230|      0|    }
  231|       |
  232|     20|    if (first_invalid_escape_ptr != NULL) {
  ------------------
  |  Branch (232:9): [True: 20, False: 0]
  ------------------
  233|     20|        if (warn_invalid_escape_sequence(p, s, first_invalid_escape_ptr, t) < 0) {
  ------------------
  |  Branch (233:13): [True: 0, False: 20]
  ------------------
  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|     20|    }
  238|     20|    return result;
  239|     20|}

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

_PyTokenizer_GetStatus:
   12|      6|{
   13|      6|    return tok->done;
   14|      6|}
_PyTokenizer_GetInfo:
   24|    135|{
   25|    135|    _PyTokenizer_Info info = {
   26|    135|        .status = tok->done,
   27|    135|        .implicit_newline = tok->implicit_newline,
   28|    135|        .diagnostic = tok->diagnostic,
   29|    135|        .location = {tok->lineno, tok->line_start < 0
  ------------------
  |  Branch (29:35): [True: 0, False: 135]
  ------------------
   30|    135|            ? -1 : (int)(tok->cur - tok->line_start)},
   31|    135|        .cursor = tok->cur,
   32|    135|        .input_span = {tok->buf_offset, tok->inp},
   33|    135|        .line_span = {tok->line_start, tok->inp},
   34|    135|        .level = tok->level,
   35|    135|        .delimiter_loc = {-1, -1},
   36|    135|        .in_formatted_string = tok->ftstring_depth != 0,
   37|    135|        .is_interactive = _PyTok_ReaderIsInteractive(tok),
   38|    135|        .is_file = tok->reader->fp != NULL && tok->reader->fp != stdin,
  ------------------
  |  Branch (38:20): [True: 0, False: 135]
  |  Branch (38:47): [True: 0, False: 0]
  ------------------
   39|    135|        .filename = tok->filename,
   40|    135|        .module = tok->module,
   41|    135|        .encoding = tok->reader->encoding,
   42|    135|    };
   43|    135|    if (tok->level > 0) {
  ------------------
  |  Branch (43:9): [True: 80, False: 55]
  ------------------
   44|     80|        int level = tok->level - 1;
   45|     80|        info.delimiter = tok->parenstack[level];
   46|     80|        info.delimiter_loc = (_PyTok_Loc){
   47|     80|            tok->parenlinenostack[level], tok->parencolstack[level]};
   48|     80|    }
   49|    135|    return info;
   50|    135|}
_PyToken_TextView:
   55|  1.50M|{
   56|  1.50M|    assert(length != NULL);
  ------------------
  |  Branch (56:5): [True: 1.50M, False: 0]
  ------------------
   57|  1.50M|    if (token->span.start < 0) {
  ------------------
  |  Branch (57:9): [True: 0, False: 1.50M]
  ------------------
   58|      0|        assert(token->span.start == -1 && token->span.end == -1);
  ------------------
  |  Branch (58:9): [True: 0, False: 0]
  |  Branch (58:9): [True: 0, False: 0]
  ------------------
   59|      0|        *length = 0;
   60|      0|        return "";
   61|      0|    }
   62|  1.50M|    return _PyTok_SourceSpanView(&tok->source, token->span, length);
   63|  1.50M|}
_PyTokenizer_SpanView:
   68|     18|{
   69|     18|    return _PyTok_SourceSpanView(&tok->source, span, length);
   70|     18|}
_PyTokenizer_SetContext:
   98|     35|{
   99|     35|    Py_XINCREF(filename);
  ------------------
  |  |  611|     35|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  100|     35|    Py_XINCREF(module);
  ------------------
  |  |  611|     35|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  101|     35|    Py_XSETREF(tok->filename, filename);
  ------------------
  |  |  576|     35|    do { \
  |  |  577|     35|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     35|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     35|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     35|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     35|        *_tmp_dst_ptr = (src); \
  |  |  580|     35|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     35|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     35|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 35]
  |  |  ------------------
  ------------------
  102|     35|    Py_XSETREF(tok->module, module);
  ------------------
  |  |  576|     35|    do { \
  |  |  577|     35|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     35|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     35|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     35|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     35|        *_tmp_dst_ptr = (src); \
  |  |  580|     35|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     35|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     35|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 35]
  |  |  ------------------
  ------------------
  103|     35|}
_PyTokenizer_SetOptions:
  108|     35|{
  109|     35|    tok->tok_extra_tokens = extra_tokens;
  110|     35|    tok->type_comments = type_comments;
  111|     35|}
_PyTokenizer_AllowIncompleteInput:
  121|     59|{
  122|     59|    tok->allow_incomplete_input = allow != 0;
  123|     59|}
_PyTokenizer_IsInteractive:
  154|     18|{
  155|     18|    return _PyTok_ReaderIsInteractive(tok);
  156|     18|}
_PyTokenizer_StopInteractive:
  160|     24|{
  161|     24|    _PyTok_ReaderStopInteractive(tok);
  162|     24|}

_PyTok_CopyBytes:
   20|     35|{
   21|     35|    if (len < 0 || len == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|     35|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (21:9): [True: 0, False: 35]
  |  Branch (21:20): [True: 0, False: 35]
  ------------------
   22|      0|        PyErr_NoMemory();
   23|      0|        return NULL;
   24|      0|    }
   25|     35|    char *copy = PyMem_Malloc((size_t)len + 1);
   26|     35|    if (copy == NULL) {
  ------------------
  |  Branch (26:9): [True: 0, False: 35]
  ------------------
   27|      0|        PyErr_NoMemory();
   28|      0|        return NULL;
   29|      0|    }
   30|     35|    memcpy(copy, data, (size_t)len);
   31|     35|    copy[len] = '\0';
   32|     35|    return copy;
   33|     35|}
_PyTok_ChunkClear:
   52|    141|{
   53|    141|    chunk_release_data(chunk);
   54|    141|    *chunk = (_PyTok_Chunk){0};
   55|    141|}
_PyTok_SetEncoding:
  113|     35|{
  114|     35|    char *copy = _PyTok_CopyBytes(encoding, strlen(encoding));
  115|     35|    if (copy == NULL) {
  ------------------
  |  Branch (115:9): [True: 0, False: 35]
  ------------------
  116|      0|        tok->done = E_NOMEM;
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
  117|      0|        return -1;
  118|      0|    }
  119|     35|    PyMem_Free(tok->reader->encoding);
  120|     35|    tok->reader->encoding = copy;
  121|     35|    return 0;
  122|     35|}
_PyTok_PrepareString:
  347|     35|{
  348|     35|    Py_ssize_t raw_len = strlen(input);
  349|     35|    char *raw = (char *)input;
  350|       |
  351|     35|    if (utf8_only) {
  ------------------
  |  Branch (351:9): [True: 35, False: 0]
  ------------------
  352|     35|        if (_PyTok_SetEncoding(tok, "utf-8") < 0) {
  ------------------
  |  Branch (352:13): [True: 0, False: 35]
  ------------------
  353|      0|            return -1;
  354|      0|        }
  355|     35|    }
  356|      0|    else {
  357|      0|        Py_ssize_t first_original_len = raw_line_length(raw, raw_len);
  358|      0|        _PyTok_Chunk first = {
  359|      0|            .data = raw,
  360|      0|            .len = first_original_len,
  361|      0|            .ownership = _PYTOK_CHUNK_BORROWED,
  362|      0|        };
  363|      0|        _PyTok_Chunk second = {0};
  364|      0|        int have_second = first_original_len < raw_len;
  365|      0|        if (have_second) {
  ------------------
  |  Branch (365:13): [True: 0, False: 0]
  ------------------
  366|      0|            second.data = raw + first_original_len;
  367|      0|            second.len = raw_line_length(second.data,
  368|      0|                                         raw_len - first_original_len);
  369|      0|        }
  370|      0|        Py_ssize_t bom_len;
  371|      0|        _PyTok_EncodingResult detection = _PyTok_DetectEncoding(
  372|      0|            tok, &first, have_second ? &second : NULL, 1, &bom_len);
  ------------------
  |  Branch (372:26): [True: 0, False: 0]
  ------------------
  373|      0|        if (detection == _PYTOK_ENCODING_ERROR) {
  ------------------
  |  Branch (373:13): [True: 0, False: 0]
  ------------------
  374|      0|            return -1;
  375|      0|        }
  376|      0|        raw += bom_len;
  377|      0|        raw_len -= bom_len;
  378|      0|    }
  379|       |
  380|     35|    _PyTok_Chunk decoded = {
  381|     35|        .data = raw,
  382|     35|        .len = raw_len,
  383|     35|        .ownership = _PYTOK_CHUNK_BORROWED,
  384|     35|    };
  385|     35|    const char *encoding = tok->reader->encoding;
  386|     35|    if (encoding != NULL && strcmp(encoding, "utf-8") != 0) {
  ------------------
  |  Branch (386:9): [True: 35, False: 0]
  |  Branch (386:29): [True: 0, False: 35]
  ------------------
  387|      0|        if (_PyTok_DecodeOnce(
  ------------------
  |  Branch (387:13): [True: 0, False: 0]
  ------------------
  388|      0|                tok, &decoded, encoding, NULL) < 0) {
  389|      0|            return -1;
  390|      0|        }
  391|      0|    }
  392|       |
  393|     35|    int stored = store_prepared_source(
  394|     35|        tok, decoded.data, decoded.len, preserve_crlf, exec_input);
  395|     35|    _PyTok_ChunkClear(&decoded);
  396|     35|    if (stored < 0) {
  ------------------
  |  Branch (396:9): [True: 0, False: 35]
  ------------------
  397|      0|        return -1;
  398|      0|    }
  399|     35|    if (!utf8_only &&
  ------------------
  |  Branch (399:9): [True: 0, False: 35]
  ------------------
  400|      0|            (encoding == NULL || strcmp(encoding, "utf-8") == 0) &&
  ------------------
  |  Branch (400:14): [True: 0, False: 0]
  |  Branch (400:34): [True: 0, False: 0]
  ------------------
  401|      0|            !_PyTokenizer_ensure_utf8(_PyTok_SourceData(&tok->source), tok, 1)) {
  ------------------
  |  Branch (401:13): [True: 0, False: 0]
  ------------------
  402|      0|        return -1;
  403|      0|    }
  404|     35|    return 0;
  405|     35|}
decoder.c:chunk_release_data:
   37|    141|{
   38|    141|    switch (chunk->ownership) {
  ------------------
  |  Branch (38:13): [True: 141, False: 0]
  ------------------
   39|    141|        case _PYTOK_CHUNK_BORROWED:
  ------------------
  |  Branch (39:9): [True: 141, False: 0]
  ------------------
   40|    141|            break;
   41|      0|        case _PYTOK_CHUNK_PYMEM:
  ------------------
  |  Branch (41:9): [True: 0, False: 141]
  ------------------
   42|      0|            PyMem_Free(chunk->data);
   43|      0|            break;
   44|      0|        case _PYTOK_CHUNK_PYOBJECT:
  ------------------
  |  Branch (44:9): [True: 0, False: 141]
  ------------------
   45|      0|            Py_DECREF(chunk->owner);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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|            break;
   47|    141|    }
   48|    141|}
decoder.c:raw_line_length:
  269|     72|{
  270|  29.3M|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (270:28): [True: 29.3M, False: 35]
  ------------------
  271|  29.3M|        if (data[i] == '\n') {
  ------------------
  |  Branch (271:13): [True: 1, False: 29.3M]
  ------------------
  272|      1|            return i + 1;
  273|      1|        }
  274|  29.3M|        if (data[i] == '\r') {
  ------------------
  |  Branch (274:13): [True: 36, False: 29.3M]
  ------------------
  275|     36|            return i + 1 < len && data[i + 1] == '\n' ? i + 2 : i + 1;
  ------------------
  |  Branch (275:20): [True: 36, False: 0]
  |  Branch (275:35): [True: 12, False: 24]
  ------------------
  276|     36|        }
  277|  29.3M|    }
  278|     35|    return len;
  279|     72|}
decoder.c:store_prepared_source:
  284|     35|{
  285|     35|    Py_ssize_t pos = 0;
  286|    107|    while (pos < len) {
  ------------------
  |  Branch (286:12): [True: 72, False: 35]
  ------------------
  287|     72|        Py_ssize_t raw_line_len;
  288|     72|        if (preserve_crlf) {
  ------------------
  |  Branch (288:13): [True: 0, False: 72]
  ------------------
  289|      0|            const char *newline = memchr(data + pos, '\n', len - pos);
  290|      0|            raw_line_len = newline == NULL
  ------------------
  |  Branch (290:28): [True: 0, False: 0]
  ------------------
  291|      0|                ? len - pos : newline - data - pos + 1;
  292|      0|        }
  293|     72|        else {
  294|     72|            raw_line_len = raw_line_length(data + pos, len - pos);
  295|     72|        }
  296|     72|        int terminated = preserve_crlf
  ------------------
  |  Branch (296:26): [True: 0, False: 72]
  ------------------
  297|     72|            ? data[pos + raw_line_len - 1] == '\n'
  298|     72|            : data[pos + raw_line_len - 1] == '\n' ||
  ------------------
  |  Branch (298:15): [True: 13, False: 59]
  ------------------
  299|     59|              data[pos + raw_line_len - 1] == '\r';
  ------------------
  |  Branch (299:15): [True: 24, False: 35]
  ------------------
  300|     72|        int add_newline = add_final_newline &&
  ------------------
  |  Branch (300:27): [True: 0, False: 72]
  ------------------
  301|      0|            pos + raw_line_len == len && !terminated;
  ------------------
  |  Branch (301:13): [True: 0, False: 0]
  |  Branch (301:42): [True: 0, False: 0]
  ------------------
  302|     72|        const char *line = data + pos;
  303|       |        // raw_line_length stops at the first CR or LF, so any CR is in
  304|       |        // the line terminator.
  305|     72|        Py_ssize_t terminator_len = 0;
  306|     72|        if (!preserve_crlf) {
  ------------------
  |  Branch (306:13): [True: 72, False: 0]
  ------------------
  307|     72|            if (line[raw_line_len - 1] == '\r') {
  ------------------
  |  Branch (307:17): [True: 24, False: 48]
  ------------------
  308|     24|                terminator_len = 1;
  309|     24|            }
  310|     48|            else if (raw_line_len > 1 && line[raw_line_len - 2] == '\r') {
  ------------------
  |  Branch (310:22): [True: 48, False: 0]
  |  Branch (310:42): [True: 12, False: 36]
  ------------------
  311|     12|                terminator_len = 2;
  312|     12|            }
  313|     72|        }
  314|     72|        _PyTok_Off appended;
  315|     72|        if (terminator_len || add_newline) {
  ------------------
  |  Branch (315:13): [True: 36, False: 36]
  |  Branch (315:31): [True: 0, False: 36]
  ------------------
  316|     36|            appended = _PyTok_SourceAppendLineWithNewline(
  317|     36|                &tok->source, line, raw_line_len - terminator_len);
  318|     36|        }
  319|     36|        else {
  320|     36|            appended = _PyTok_SourceAppendLine(&tok->source, line, raw_line_len);
  321|     36|        }
  322|     72|        if (appended < 0) {
  ------------------
  |  Branch (322:13): [True: 0, False: 72]
  ------------------
  323|      0|            tok->done = PyErr_ExceptionMatches(PyExc_MemoryError)
  ------------------
  |  Branch (323:25): [True: 0, False: 0]
  ------------------
  324|      0|                ? E_NOMEM : E_ERROR;
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
                              ? E_NOMEM : E_ERROR;
  ------------------
  |  |   29|      0|#define E_ERROR          17      /* Execution error */
  ------------------
  325|      0|            return -1;
  326|      0|        }
  327|     72|        tok->reader->prepared_final_newline = add_newline;
  328|     72|        pos += raw_line_len;
  329|     72|    }
  330|       |    // Partial input includes the newline submitted by the next Enter key.
  331|       |    // A final CR pairs with that newline instead of starting a blank line.
  332|     35|    if (add_final_newline == _PyTokenizer_APPEND_NEWLINE &&
  ------------------
  |  Branch (332:9): [True: 0, False: 35]
  ------------------
  333|      0|        !tok->reader->prepared_final_newline &&
  ------------------
  |  Branch (333:9): [True: 0, False: 0]
  ------------------
  334|      0|        (len == 0 || data[len - 1] != '\r'))
  ------------------
  |  Branch (334:10): [True: 0, False: 0]
  |  Branch (334:22): [True: 0, False: 0]
  ------------------
  335|      0|    {
  336|      0|        if (_PyTok_SourceAppendLine(&tok->source, "\n", 1) < 0) {
  ------------------
  |  Branch (336:13): [True: 0, False: 0]
  ------------------
  337|      0|            return -1;
  338|      0|        }
  339|      0|        tok->reader->prepared_final_newline = _PyTokenizer_APPEND_NEWLINE;
  340|      0|    }
  341|     35|    return 0;
  342|     35|}

_PyTokenizer_syntaxerror:
   90|      8|{
   91|       |    // These errors are cleaned on startup. Todo: Fix it.
   92|      8|    va_list vargs;
   93|      8|    va_start(vargs, format);
   94|      8|    int ret = _syntaxerror_range(
   95|      8|        tok, _PyTok_SourcePointer(&tok->source, tok->line_start),
   96|      8|        tok->cur - tok->line_start, tok->lineno, format, -1, -1, vargs);
   97|       |    va_end(vargs);
   98|      8|    return ret;
   99|      8|}
_PyTokenizer_syntaxerror_known_range:
  105|      4|{
  106|      4|    va_list vargs;
  107|      4|    va_start(vargs, format);
  108|      4|    int ret = _syntaxerror_range(
  109|      4|        tok, _PyTok_SourcePointer(&tok->source, tok->line_start),
  110|      4|        tok->cur - tok->line_start, tok->lineno,
  111|      4|        format, col_offset, end_col_offset, vargs);
  112|       |    va_end(vargs);
  113|      4|    return ret;
  114|      4|}
_PyTokenizer_syntaxerror_at:
  121|      6|{
  122|      6|    va_list vargs;
  123|      6|    va_start(vargs, format);
  124|      6|    int ret = _syntaxerror_range(tok, line, cursor, lineno, format,
  125|      6|                                col_offset, end_col_offset, vargs);
  126|       |    va_end(vargs);
  127|      6|    return ret;
  128|      6|}
_PyTokenizer_parser_warn:
  225|      2|{
  226|      2|    PyObject *errmsg;
  227|      2|    va_list vargs;
  228|      2|    va_start(vargs, format);
  229|      2|    errmsg = PyUnicode_FromFormatV(format, vargs);
  230|      2|    va_end(vargs);
  231|      2|    if (!errmsg) {
  ------------------
  |  Branch (231:9): [True: 0, False: 2]
  ------------------
  232|      0|        goto error;
  233|      0|    }
  234|       |
  235|      2|    if (PyErr_WarnExplicitObject(category, errmsg, tok->filename,
  ------------------
  |  Branch (235:9): [True: 0, False: 2]
  ------------------
  236|      2|                                 tok->lineno, tok->module, NULL) < 0) {
  237|      0|        if (PyErr_ExceptionMatches(category)) {
  ------------------
  |  Branch (237:13): [True: 0, False: 0]
  ------------------
  238|       |            /* Replace the DeprecationWarning exception with a SyntaxError
  239|       |               to get a more accurate error report */
  240|      0|            PyErr_Clear();
  241|      0|            _PyTokenizer_syntaxerror(tok, "%U", errmsg);
  242|      0|        }
  243|      0|        goto error;
  244|      0|    }
  245|      2|    Py_DECREF(errmsg);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  246|      2|    return 0;
  247|       |
  248|      0|error:
  249|      0|    Py_XDECREF(errmsg);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      0|    tok->done = E_ERROR;
  ------------------
  |  |   29|      0|#define E_ERROR          17      /* Execution error */
  ------------------
  251|      0|    return -1;
  252|      2|}
helpers.c:_syntaxerror_range:
   31|     18|{
   32|       |    // In release builds, we don't want to overwrite a previous error, but in debug builds we
   33|       |    // want to fail if we are not doing it so we can fix it.
   34|     18|    assert(tok->done != E_ERROR);
  ------------------
  |  Branch (34:5): [True: 18, False: 0]
  ------------------
   35|     18|    if (tok->done == E_ERROR) {
  ------------------
  |  |   29|     18|#define E_ERROR          17      /* Execution error */
  ------------------
  |  Branch (35:9): [True: 0, False: 18]
  ------------------
   36|      0|        return ERRORTOKEN;
  ------------------
  |  |   83|      0|#define ERRORTOKEN      67
  ------------------
   37|      0|    }
   38|     18|    PyObject *errmsg, *errtext, *args;
   39|     18|    errmsg = PyUnicode_FromFormatV(format, vargs);
   40|     18|    if (!errmsg) {
  ------------------
  |  Branch (40:9): [True: 0, False: 18]
  ------------------
   41|      0|        goto error;
   42|      0|    }
   43|       |
   44|     18|    errtext = PyUnicode_DecodeUTF8(line, cursor,
   45|     18|                                   "replace");
   46|     18|    if (!errtext) {
  ------------------
  |  Branch (46:9): [True: 0, False: 18]
  ------------------
   47|      0|        goto error;
   48|      0|    }
   49|       |
   50|     18|    if (col_offset == -1) {
  ------------------
  |  Branch (50:9): [True: 14, False: 4]
  ------------------
   51|     14|        col_offset = (int)PyUnicode_GET_LENGTH(errtext);
  ------------------
  |  |  300|     14|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   52|     14|    }
   53|      4|    else if (col_offset > 0) {
  ------------------
  |  Branch (53:14): [True: 4, False: 0]
  ------------------
   54|      4|        col_offset = byte_col_to_char_col(line, col_offset);
   55|      4|    }
   56|     18|    if (end_col_offset == -1) {
  ------------------
  |  Branch (56:9): [True: 14, False: 4]
  ------------------
   57|     14|        end_col_offset = col_offset;
   58|     14|    }
   59|      4|    else if (end_col_offset > 0) {
  ------------------
  |  Branch (59:14): [True: 4, False: 0]
  ------------------
   60|      4|        end_col_offset = byte_col_to_char_col(line, end_col_offset);
   61|      4|    }
   62|       |
   63|     18|    Py_ssize_t line_len = strcspn(line, "\n");
   64|     18|    if (line_len != cursor) {
  ------------------
  |  Branch (64:9): [True: 18, False: 0]
  ------------------
   65|     18|        Py_DECREF(errtext);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   66|     18|        errtext = PyUnicode_DecodeUTF8(line, line_len,
   67|     18|                                       "replace");
   68|     18|    }
   69|     18|    if (!errtext) {
  ------------------
  |  Branch (69:9): [True: 0, False: 18]
  ------------------
   70|      0|        goto error;
   71|      0|    }
   72|       |
   73|     18|    args = Py_BuildValue("(O(OiiNii))", errmsg,
   74|     18|                         tok->filename ? tok->filename : Py_None,
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (74:26): [True: 18, False: 0]
  ------------------
   75|     18|                         lineno, col_offset, errtext,
   76|     18|                         lineno, end_col_offset);
   77|     18|    if (args) {
  ------------------
  |  Branch (77:9): [True: 18, False: 0]
  ------------------
   78|     18|        PyErr_SetObject(PyExc_SyntaxError, args);
   79|     18|        Py_DECREF(args);
  ------------------
  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   80|     18|    }
   81|       |
   82|     18|error:
   83|     18|    Py_XDECREF(errmsg);
  ------------------
  |  |  621|     18|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|     18|    tok->done = E_ERROR;
  ------------------
  |  |   29|     18|#define E_ERROR          17      /* Execution error */
  ------------------
   85|     18|    return ERRORTOKEN;
  ------------------
  |  |   83|     18|#define ERRORTOKEN      67
  ------------------
   86|     18|}
helpers.c:byte_col_to_char_col:
   16|      8|{
   17|      8|    int char_col = 1;
   18|  5.18M|    for (int i = 0; i < byte_col - 1; i++) {
  ------------------
  |  Branch (18:21): [True: 5.18M, False: 8]
  ------------------
   19|  5.18M|        if ((line[i] & 0xC0) != 0x80) {
  ------------------
  |  Branch (19:13): [True: 5.18M, False: 38]
  ------------------
   20|  5.18M|            char_col++;
   21|  5.18M|        }
   22|  5.18M|    }
   23|      8|    return char_col;
   24|      8|}

_PyTok_ReaderFree:
   26|     35|{
   27|     35|    _PyTok_Reader *reader = tok->reader;
   28|     35|    if (reader == NULL) {
  ------------------
  |  Branch (28:9): [True: 0, False: 35]
  ------------------
   29|      0|        return;
   30|      0|    }
   31|     35|    Py_XDECREF(reader->readline);
  ------------------
  |  |  621|     35|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|     35|    Py_XDECREF(reader->decoder);
  ------------------
  |  |  621|     35|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   33|     35|    for (int i = 0;
   34|    105|         i < (int)Py_ARRAY_LENGTH(reader->prefetched_lines); i++) {
  ------------------
  |  |  232|    105|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (34:10): [True: 70, False: 35]
  ------------------
   35|     70|        _PyTok_ChunkClear(&reader->prefetched_lines[i]);
   36|     70|    }
   37|     35|    PyMem_Free(reader->encoding);
   38|     35|    PyMem_Free(reader->file_buffer);
   39|     35|    PyMem_Free(reader->decoded);
   40|     35|    PyMem_Free(reader);
   41|       |    tok->reader = NULL;
   42|     35|}
_PyTok_ReaderIsInteractive:
  552|    177|{
  553|    177|    return tok->reader->kind == _PYTOK_READER_INTERACTIVE;
  554|    177|}
_PyTokenizer_RetainedSource:
  558|     24|{
  559|     24|    if (tok->reader->kind == _PYTOK_READER_PREPARED) {
  ------------------
  |  Branch (559:9): [True: 24, False: 0]
  ------------------
  560|     24|        return _PyTok_SourceData(&tok->source);
  561|     24|    }
  562|      0|    if (tok->reader->kind == _PYTOK_READER_INTERACTIVE) {
  ------------------
  |  Branch (562:9): [True: 0, False: 0]
  ------------------
  563|      0|        return tok->source.bytes;
  564|      0|    }
  565|      0|    return NULL;
  566|      0|}
_PyTok_ReaderStopInteractive:
  570|     24|{
  571|     24|    if (_PyTok_ReaderIsInteractive(tok)) {
  ------------------
  |  Branch (571:9): [True: 0, False: 24]
  ------------------
  572|      0|        tok->reader->stop_interactive = 1;
  573|      0|    }
  574|     24|}
_PyTok_ReaderUnderflow:
  605|     57|{
  606|     57|    assert(tok->cur >= tok->buf_offset && tok->cur <= tok->inp);
  ------------------
  |  Branch (606:5): [True: 57, False: 0]
  |  Branch (606:5): [True: 57, False: 0]
  ------------------
  607|     57|    _PyTok_Reader *reader = tok->reader;
  608|     57|    _PyTok_ReaderKind kind = reader->kind;
  609|     57|    int prepared = kind == _PYTOK_READER_PREPARED;
  610|     57|    int streaming = reader_is_streaming(kind);
  611|     57|    int reset_buffer = tok->start < 0 &&
  ------------------
  |  Branch (611:24): [True: 36, False: 21]
  ------------------
  612|     36|        _PyLexer_CurrentFTString(tok) == NULL;
  ------------------
  |  Branch (612:9): [True: 36, False: 0]
  ------------------
  613|       |
  614|     57|    _PyTok_Chunk chunk;
  615|     57|    _PyTok_ReadResult result = reader_next(tok, &chunk);
  616|     57|    if (result != _PYTOK_READ_LINE) {
  ------------------
  |  Branch (616:9): [True: 21, False: 36]
  ------------------
  617|     21|        if (reset_buffer && streaming) {
  ------------------
  |  Branch (617:13): [True: 0, False: 21]
  |  Branch (617:29): [True: 0, False: 0]
  ------------------
  618|      0|            reset_streaming_buffer(tok);
  619|      0|        }
  620|     21|        if (result == _PYTOK_READ_EOF) {
  ------------------
  |  Branch (620:13): [True: 21, False: 0]
  ------------------
  621|     21|            tok->done = E_EOF;
  ------------------
  |  |   23|     21|#define E_EOF            11      /* End Of File */
  ------------------
  622|     21|        }
  623|      0|        else if (result == _PYTOK_READ_STOPPED) {
  ------------------
  |  Branch (623:18): [True: 0, False: 0]
  ------------------
  624|      0|            tok->done = E_INTERACT_STOP;
  ------------------
  |  |   39|      0|#define E_INTERACT_STOP  28      /* Interactive mode stopped tokenization */
  ------------------
  625|      0|        }
  626|      0|        else if (result == _PYTOK_READ_INTERRUPT) {
  ------------------
  |  Branch (626:18): [True: 0, False: 0]
  ------------------
  627|      0|            tok->done = E_INTR;
  ------------------
  |  |   24|      0|#define E_INTR           12      /* Interrupted */
  ------------------
  628|      0|        }
  629|      0|        else {
  630|      0|            if (tok->done == E_OK) {
  ------------------
  |  |   22|      0|#define E_OK             10      /* No error */
  ------------------
  |  Branch (630:17): [True: 0, False: 0]
  ------------------
  631|      0|                tok->done = PyErr_ExceptionMatches(PyExc_MemoryError)
  ------------------
  |  Branch (631:29): [True: 0, False: 0]
  ------------------
  632|      0|                    ? E_NOMEM : E_ERROR;
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
                                  ? E_NOMEM : E_ERROR;
  ------------------
  |  |   29|      0|#define E_ERROR          17      /* Execution error */
  ------------------
  633|      0|            }
  634|      0|        }
  635|     21|        if (kind == _PYTOK_READER_INTERACTIVE &&
  ------------------
  |  Branch (635:13): [True: 0, False: 21]
  ------------------
  636|      0|                result != _PYTOK_READ_STOPPED) {
  ------------------
  |  Branch (636:17): [True: 0, False: 0]
  ------------------
  637|      0|            PySys_WriteStderr("\n");
  638|      0|        }
  639|     21|        return 0;
  640|     21|    }
  641|     36|    if (tok->lineno == INT_MAX) {
  ------------------
  |  Branch (641:9): [True: 0, False: 36]
  ------------------
  642|      0|        PyErr_SetString(PyExc_OverflowError, "too many tokenizer source lines");
  643|      0|        tok->done = E_ERROR;
  ------------------
  |  |   29|      0|#define E_ERROR          17      /* Execution error */
  ------------------
  644|      0|        _PyTok_ChunkClear(&chunk);
  645|      0|        return 0;
  646|      0|    }
  647|       |
  648|     36|    if (!prepared) {
  ------------------
  |  Branch (648:9): [True: 0, False: 36]
  ------------------
  649|      0|        if (streaming && reset_buffer) {
  ------------------
  |  Branch (649:13): [True: 0, False: 0]
  |  Branch (649:26): [True: 0, False: 0]
  ------------------
  650|      0|            reset_streaming_buffer(tok);
  651|      0|        }
  652|      0|        _PyTok_Off source_start = _PyTok_SourceAppendLine(
  653|      0|            &tok->source, chunk.data, chunk.len);
  654|      0|        if (source_start < 0) {
  ------------------
  |  Branch (654:13): [True: 0, False: 0]
  ------------------
  655|      0|            _PyTok_ChunkClear(&chunk);
  656|      0|            tok->done = PyErr_ExceptionMatches(PyExc_MemoryError)
  ------------------
  |  Branch (656:25): [True: 0, False: 0]
  ------------------
  657|      0|                ? E_NOMEM : E_ERROR;
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
                              ? E_NOMEM : E_ERROR;
  ------------------
  |  |   29|      0|#define E_ERROR          17      /* Execution error */
  ------------------
  658|      0|            return 0;
  659|      0|        }
  660|      0|        if (reset_buffer) {
  ------------------
  |  Branch (660:13): [True: 0, False: 0]
  ------------------
  661|      0|            tok->cur = source_start;
  662|      0|            tok->buf_offset = source_start;
  663|      0|            tok->line_start = tok->buf_offset;
  664|      0|        }
  665|      0|        tok->inp = source_start + chunk.len;
  666|      0|    }
  667|     36|    else {
  668|     36|        if (reset_buffer) {
  ------------------
  |  Branch (668:13): [True: 36, False: 0]
  ------------------
  669|     36|            tok->buf_offset = tok->inp;
  670|     36|        }
  671|     36|        tok->inp += chunk.len;
  672|     36|    }
  673|     36|    tok->implicit_newline = chunk.implicit_newline;
  674|       |
  675|     36|    tok->lineno++;
  676|     36|    if (kind == _PYTOK_READER_FILE &&
  ------------------
  |  Branch (676:9): [True: 0, False: 36]
  ------------------
  677|      0|            (reader->encoding == NULL ||
  ------------------
  |  Branch (677:14): [True: 0, False: 0]
  ------------------
  678|      0|             strcmp(reader->encoding, "utf-8") == 0) &&
  ------------------
  |  Branch (678:14): [True: 0, False: 0]
  ------------------
  679|      0|            !_PyTokenizer_ensure_utf8(
  ------------------
  |  Branch (679:13): [True: 0, False: 0]
  ------------------
  680|      0|                _PyTok_SourcePointer(&tok->source, tok->cur),
  681|      0|                tok, tok->lineno)) {
  682|      0|        _PyTok_ChunkClear(&chunk);
  683|      0|        return 0;
  684|      0|    }
  685|     36|    _PyTok_ChunkClear(&chunk);
  686|     36|    return 1;
  687|     36|}
_PyTokenizer_FromUTF8:
  750|     35|{
  751|     35|    return tokenizer_from_string(input, 1, exec_input, preserve_crlf);
  752|     35|}
reader.c:reader_is_streaming:
   20|     57|{
   21|     57|    return kind == _PYTOK_READER_FILE || kind == _PYTOK_READER_READLINE;
  ------------------
  |  Branch (21:12): [True: 0, False: 57]
  |  Branch (21:42): [True: 0, False: 57]
  ------------------
   22|     57|}
reader.c:reader_next:
  578|     57|{
  579|     57|    *chunk = (_PyTok_Chunk){0};
  580|     57|    switch (tok->reader->kind) {
  ------------------
  |  Branch (580:13): [True: 57, False: 0]
  ------------------
  581|     57|        case _PYTOK_READER_PREPARED:
  ------------------
  |  Branch (581:9): [True: 57, False: 0]
  ------------------
  582|     57|            return next_prepared(tok, chunk);
  583|      0|        case _PYTOK_READER_FILE:
  ------------------
  |  Branch (583:9): [True: 0, False: 57]
  ------------------
  584|      0|            return next_file(tok, chunk);
  585|      0|        case _PYTOK_READER_READLINE:
  ------------------
  |  Branch (585:9): [True: 0, False: 57]
  ------------------
  586|      0|            return next_readline(tok, chunk);
  587|      0|        case _PYTOK_READER_INTERACTIVE:
  ------------------
  |  Branch (587:9): [True: 0, False: 57]
  ------------------
  588|      0|            return next_interactive(tok, chunk);
  589|     57|    }
  590|      0|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  591|     57|}
reader.c:next_prepared:
  173|     57|{
  174|     57|    if (tok->lineno >= tok->source.nlines) {
  ------------------
  |  Branch (174:9): [True: 21, False: 36]
  ------------------
  175|     21|        return _PYTOK_READ_EOF;
  176|     21|    }
  177|     36|    _PyTok_Span tail = {tok->inp, tok->source.base_offset + tok->source.len};
  178|     36|    _PyTok_Off newline = _PyTok_SourceFindByte(&tok->source, tail, '\n');
  179|     36|    _PyTok_Span line = {tail.start, newline >= 0 ? newline + 1 : tail.end};
  ------------------
  |  Branch (179:37): [True: 7, False: 29]
  ------------------
  180|     36|    chunk->data = (char *)_PyTok_SourceSpanView(
  181|     36|        &tok->source, line, &chunk->len);
  182|     36|    chunk->ownership = _PYTOK_CHUNK_BORROWED;
  183|     36|    chunk->implicit_newline = line.end == tail.end
  ------------------
  |  Branch (183:31): [True: 29, False: 7]
  ------------------
  184|     36|        ? tok->reader->prepared_final_newline : 0;
  185|     36|    return _PYTOK_READ_LINE;
  186|     57|}
reader.c:tokenizer_from_string:
  727|     35|{
  728|     35|    struct tok_state *tok = tokenizer_new_with_reader(_PYTOK_READER_PREPARED);
  729|     35|    if (tok == NULL) {
  ------------------
  |  Branch (729:9): [True: 0, False: 35]
  ------------------
  730|      0|        return NULL;
  731|      0|    }
  732|     35|    if (_PyTok_PrepareString(
  ------------------
  |  Branch (732:9): [True: 0, False: 35]
  ------------------
  733|     35|            tok, input, utf8_only, exec_input, preserve_crlf) < 0) {
  734|      0|        _PyTokenizer_Free(tok);
  735|      0|        return NULL;
  736|      0|    }
  737|     35|    tok->cur = tok->inp = tok->source.base_offset;
  738|     35|    tok->line_start = tok->source.base_offset;
  739|     35|    return tok;
  740|     35|}
reader.c:tokenizer_new_with_reader:
  691|     35|{
  692|     35|    struct tok_state *tok = PyMem_Calloc(1, sizeof(*tok));
  693|     35|    if (tok == NULL) {
  ------------------
  |  Branch (693:9): [True: 0, False: 35]
  ------------------
  694|      0|        PyErr_NoMemory();
  695|      0|        return NULL;
  696|      0|    }
  697|     35|    tok->start = tok->line_start = -1;
  698|     35|    _PyTok_SourceInit(&tok->source);
  699|     35|    tok->done = E_OK;
  ------------------
  |  |   22|     35|#define E_OK             10      /* No error */
  ------------------
  700|     35|    tok->layout.at_bol = 1;
  701|     35|    tok->start_loc = (_PyTok_Loc){-1, -1};
  702|     35|    tok->ftstring_stack = tok->ftstring_stack_inline;
  703|     35|    tok->ftstring_capacity = FTSTRING_STACK_INLINE_CAPACITY;
  ------------------
  |  |   11|     35|#define FTSTRING_STACK_INLINE_CAPACITY 1
  ------------------
  704|       |#ifdef Py_DEBUG
  705|       |    tok->debug = _Py_GetConfig()->parser_debug;
  706|       |#endif
  707|     35|    tok->reader = PyMem_Calloc(1, sizeof(*tok->reader));
  708|     35|    if (tok->reader == NULL) {
  ------------------
  |  Branch (708:9): [True: 0, False: 35]
  ------------------
  709|      0|        PyErr_NoMemory();
  710|      0|        _PyTokenizer_Free(tok);
  711|      0|        return NULL;
  712|      0|    }
  713|     35|    tok->reader->kind = kind;
  714|     35|    if (kind == _PYTOK_READER_PREPARED) {
  ------------------
  |  Branch (714:9): [True: 35, False: 0]
  ------------------
  715|     35|        return tok;
  716|     35|    }
  717|      0|    if (reader_is_streaming(kind)) {
  ------------------
  |  Branch (717:9): [True: 0, False: 0]
  ------------------
  718|      0|        tok->cur = tok->inp = tok->source.base_offset;
  719|      0|        tok->line_start = tok->buf_offset;
  720|      0|    }
  721|      0|    return tok;
  722|     35|}

_PyTok_SourceInit:
   10|     70|{
   11|     70|    *source = (_PyTok_SourceText){0};
   12|     70|}
_PyTok_SourceClear:
   16|     35|{
   17|     35|    PyMem_Free(source->bytes);
   18|     35|    _PyTok_SourceInit(source);
   19|     35|}
_PyTok_SourceAppendLine:
  125|     36|{
  126|     36|    return append_line(source, bytes, len, 0);
  127|     36|}
_PyTok_SourceAppendLineWithNewline:
  132|     36|{
  133|     36|    return append_line(source, bytes, len, 1);
  134|     36|}
source.c:append_line:
   98|     72|{
   99|     72|    if (validate_line(source, bytes, len, append_newline) < 0) {
  ------------------
  |  Branch (99:9): [True: 0, False: 72]
  ------------------
  100|      0|        return -1;
  101|      0|    }
  102|     72|    if (source->len > PY_SSIZE_T_MAX - len - append_newline - 1 ||
  ------------------
  |  |  137|     72|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (102:9): [True: 0, False: 72]
  ------------------
  103|     72|            source->base_offset > PY_SSIZE_T_MAX - source->len - len - append_newline) {
  ------------------
  |  |  137|     72|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (103:13): [True: 0, False: 72]
  ------------------
  104|      0|        PyErr_NoMemory();
  105|      0|        return -1;
  106|      0|    }
  107|     72|    if (reserve_bytes(source, source->len + len + append_newline + 1) < 0) {
  ------------------
  |  Branch (107:9): [True: 0, False: 72]
  ------------------
  108|      0|        return -1;
  109|      0|    }
  110|       |
  111|     72|    _PyTok_Off start = source->len;
  112|     72|    memcpy(source->bytes + start, bytes, len);
  113|     72|    source->len += len;
  114|     72|    if (append_newline) {
  ------------------
  |  Branch (114:9): [True: 36, False: 36]
  ------------------
  115|     36|        source->bytes[source->len++] = '\n';
  116|     36|    }
  117|     72|    source->bytes[source->len] = '\0';
  118|     72|    source->nlines++;
  119|     72|    return source->base_offset + start;
  120|     72|}
source.c:validate_line:
   75|     72|{
   76|     72|    if (len < 0 || (len == 0 && !append_newline) || bytes == NULL ||
  ------------------
  |  Branch (76:9): [True: 0, False: 72]
  |  Branch (76:21): [True: 24, False: 48]
  |  Branch (76:33): [True: 0, False: 24]
  |  Branch (76:53): [True: 0, False: 72]
  ------------------
   77|     72|            (source->nlines > 0 &&
  ------------------
  |  Branch (77:14): [True: 37, False: 35]
  ------------------
   78|     37|             (source->len == 0 || source->bytes[source->len - 1] != '\n'))) {
  ------------------
  |  Branch (78:15): [True: 0, False: 37]
  |  Branch (78:35): [True: 0, False: 37]
  ------------------
   79|      0|        PyErr_SetString(PyExc_SystemError, "invalid tokenizer source line");
   80|      0|        return -1;
   81|      0|    }
   82|     72|    const char *newline = memchr(bytes, '\n', len);
   83|     72|    if (newline != NULL && (append_newline || newline != bytes + len - 1)) {
  ------------------
  |  Branch (83:9): [True: 1, False: 71]
  |  Branch (83:29): [True: 0, False: 1]
  |  Branch (83:47): [True: 0, False: 1]
  ------------------
   84|      0|        PyErr_SetString(PyExc_SystemError, "invalid tokenizer source line");
   85|      0|        return -1;
   86|      0|    }
   87|     72|    if (source->nlines == INT_MAX ||
  ------------------
  |  Branch (87:9): [True: 0, False: 72]
  ------------------
   88|     72|            (source->nlines == INT_MAX - 1 && (newline != NULL || append_newline))) {
  ------------------
  |  Branch (88:14): [True: 0, False: 72]
  |  Branch (88:48): [True: 0, False: 0]
  |  Branch (88:67): [True: 0, False: 0]
  ------------------
   89|      0|        PyErr_SetString(PyExc_OverflowError, "too many tokenizer source lines");
   90|      0|        return -1;
   91|      0|    }
   92|     72|    return 0;
   93|     72|}
source.c:reserve_bytes:
   35|     72|{
   36|     72|    if (needed <= source->cap) {
  ------------------
  |  Branch (36:9): [True: 36, False: 36]
  ------------------
   37|     36|        return 0;
   38|     36|    }
   39|     36|    Py_ssize_t cap = source->cap > 0 ? source->cap : BUFSIZ;
  ------------------
  |  Branch (39:22): [True: 1, False: 35]
  ------------------
   40|    254|    while (cap < needed) {
  ------------------
  |  Branch (40:12): [True: 218, False: 36]
  ------------------
   41|    218|        if (cap > PY_SSIZE_T_MAX / SOURCE_BUFFER_GROWTH_FACTOR) {
  ------------------
  |  |  137|    218|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                      if (cap > PY_SSIZE_T_MAX / SOURCE_BUFFER_GROWTH_FACTOR) {
  ------------------
  |  |    6|    218|#define SOURCE_BUFFER_GROWTH_FACTOR 2
  ------------------
  |  Branch (41:13): [True: 0, False: 218]
  ------------------
   42|      0|            cap = needed;
   43|      0|            break;
   44|      0|        }
   45|    218|        cap *= SOURCE_BUFFER_GROWTH_FACTOR;
  ------------------
  |  |    6|    218|#define SOURCE_BUFFER_GROWTH_FACTOR 2
  ------------------
   46|    218|    }
   47|     36|    char *bytes;
   48|       |#ifdef Py_DEBUG
   49|       |    /* Moving on growth makes stale interior pointers fail in debug builds. */
   50|       |    bytes = PyMem_Malloc(cap);
   51|       |    if (bytes != NULL && source->len > 0) {
   52|       |        memcpy(bytes, source->bytes, source->len);
   53|       |    }
   54|       |#else
   55|     36|    bytes = PyMem_Realloc(source->bytes, cap);
   56|     36|#endif
   57|     36|    if (bytes == NULL) {
  ------------------
  |  Branch (57:9): [True: 0, False: 36]
  ------------------
   58|      0|        PyErr_NoMemory();
   59|      0|        return -1;
   60|      0|    }
   61|       |#ifdef Py_DEBUG
   62|       |    if (source->bytes != NULL) {
   63|       |        memset(source->bytes, PYMEM_DEADBYTE, source->cap);
   64|       |        PyMem_Free(source->bytes);
   65|       |    }
   66|       |#endif
   67|     36|    source->bytes = bytes;
   68|     36|    source->cap = cap;
   69|     36|    return 0;
   70|     36|}

reader.c:_PyTok_SourceData:
   18|     96|{
   19|     96|    return source->bytes != NULL ? source->bytes : "";
  ------------------
  |  Branch (19:12): [True: 96, False: 0]
  ------------------
   20|     96|}
reader.c:_PyTok_SourceFindByte:
   55|     36|{
   56|     36|    Py_ssize_t length;
   57|     36|    const char *data = _PyTok_SourceSpanView(source, span, &length);
   58|     36|    const char *found = memchr(data, byte, length);
   59|     36|    return found != NULL ? span.start + (found - data) : -1;
  ------------------
  |  Branch (59:12): [True: 7, False: 29]
  ------------------
   60|     36|}
reader.c:_PyTok_SourceSpanView:
   43|     72|{
   44|     72|    assert(length != NULL);
  ------------------
  |  Branch (44:5): [True: 72, False: 0]
  ------------------
   45|     72|    assert(_PyTok_SpanIsValid(span));
  ------------------
  |  Branch (45:5): [True: 72, False: 0]
  ------------------
   46|     72|    assert(span.end - source->base_offset <= source->len);
  ------------------
  |  Branch (46:5): [True: 72, False: 0]
  ------------------
   47|     72|    *length = span.end - span.start;
   48|     72|    return _PyTok_SourcePointer(source, span.start);
   49|     72|}
reader.c:_PyTok_SourcePointer:
   26|     72|{
   27|     72|    assert(offset >= source->base_offset);
  ------------------
  |  Branch (27:5): [True: 72, False: 0]
  ------------------
   28|     72|    assert(offset - source->base_offset <= source->len);
  ------------------
  |  Branch (28:5): [True: 72, False: 0]
  ------------------
   29|     72|    return _PyTok_SourceData(source) + (offset - source->base_offset);
   30|     72|}
helpers.c:_PyTok_SourcePointer:
   26|     12|{
   27|     12|    assert(offset >= source->base_offset);
  ------------------
  |  Branch (27:5): [True: 12, False: 0]
  ------------------
   28|     12|    assert(offset - source->base_offset <= source->len);
  ------------------
  |  Branch (28:5): [True: 12, False: 0]
  ------------------
   29|     12|    return _PyTok_SourceData(source) + (offset - source->base_offset);
   30|     12|}
helpers.c:_PyTok_SourceData:
   18|     12|{
   19|     12|    return source->bytes != NULL ? source->bytes : "";
  ------------------
  |  Branch (19:12): [True: 12, False: 0]
  ------------------
   20|     12|}
lexer.c:_PyTok_SourceFindByte:
   55|     36|{
   56|     36|    Py_ssize_t length;
   57|     36|    const char *data = _PyTok_SourceSpanView(source, span, &length);
   58|     36|    const char *found = memchr(data, byte, length);
   59|     36|    return found != NULL ? span.start + (found - data) : -1;
  ------------------
  |  Branch (59:12): [True: 0, False: 36]
  ------------------
   60|     36|}
lexer.c:_PyTok_SourceSpanView:
   43|     36|{
   44|     36|    assert(length != NULL);
  ------------------
  |  Branch (44:5): [True: 36, False: 0]
  ------------------
   45|     36|    assert(_PyTok_SpanIsValid(span));
  ------------------
  |  Branch (45:5): [True: 36, False: 0]
  ------------------
   46|     36|    assert(span.end - source->base_offset <= source->len);
  ------------------
  |  Branch (46:5): [True: 36, False: 0]
  ------------------
   47|     36|    *length = span.end - span.start;
   48|     36|    return _PyTok_SourcePointer(source, span.start);
   49|     36|}
lexer.c:_PyTok_SourceByte:
   34|  24.2M|{
   35|  24.2M|    assert(offset >= source->base_offset);
  ------------------
  |  Branch (35:5): [True: 24.2M, False: 0]
  ------------------
   36|  24.2M|    assert(offset - source->base_offset < source->len);
  ------------------
  |  Branch (36:5): [True: 24.2M, False: 0]
  ------------------
   37|  24.2M|    return (unsigned char)source->bytes[offset - source->base_offset];
   38|  24.2M|}
lexer.c:_PyTok_SourcePointer:
   26|  1.55k|{
   27|  1.55k|    assert(offset >= source->base_offset);
  ------------------
  |  Branch (27:5): [True: 1.55k, False: 0]
  ------------------
   28|  1.55k|    assert(offset - source->base_offset <= source->len);
  ------------------
  |  Branch (28:5): [True: 1.55k, False: 0]
  ------------------
   29|  1.55k|    return _PyTok_SourceData(source) + (offset - source->base_offset);
   30|  1.55k|}
lexer.c:_PyTok_SourceData:
   18|  1.55k|{
   19|  1.55k|    return source->bytes != NULL ? source->bytes : "";
  ------------------
  |  Branch (19:12): [True: 1.55k, False: 0]
  ------------------
   20|  1.55k|}
layout.c:_PyTok_SourceByte:
   34|     37|{
   35|     37|    assert(offset >= source->base_offset);
  ------------------
  |  Branch (35:5): [True: 37, False: 0]
  ------------------
   36|     37|    assert(offset - source->base_offset < source->len);
  ------------------
  |  Branch (36:5): [True: 37, False: 0]
  ------------------
   37|     37|    return (unsigned char)source->bytes[offset - source->base_offset];
   38|     37|}
number.c:_PyTok_SourceByte:
   34|  2.58M|{
   35|  2.58M|    assert(offset >= source->base_offset);
  ------------------
  |  Branch (35:5): [True: 2.58M, False: 0]
  ------------------
   36|  2.58M|    assert(offset - source->base_offset < source->len);
  ------------------
  |  Branch (36:5): [True: 2.58M, False: 0]
  ------------------
   37|  2.58M|    return (unsigned char)source->bytes[offset - source->base_offset];
   38|  2.58M|}
string.c:_PyTok_SourceByte:
   34|  15.5M|{
   35|  15.5M|    assert(offset >= source->base_offset);
  ------------------
  |  Branch (35:5): [True: 15.5M, False: 0]
  ------------------
   36|  15.5M|    assert(offset - source->base_offset < source->len);
  ------------------
  |  Branch (36:5): [True: 15.5M, False: 0]
  ------------------
   37|  15.5M|    return (unsigned char)source->bytes[offset - source->base_offset];
   38|  15.5M|}
string.c:_PyTok_SourceSpanView:
   43|      4|{
   44|      4|    assert(length != NULL);
  ------------------
  |  Branch (44:5): [True: 4, False: 0]
  ------------------
   45|      4|    assert(_PyTok_SpanIsValid(span));
  ------------------
  |  Branch (45:5): [True: 4, False: 0]
  ------------------
   46|      4|    assert(span.end - source->base_offset <= source->len);
  ------------------
  |  Branch (46:5): [True: 4, False: 0]
  ------------------
   47|      4|    *length = span.end - span.start;
   48|      4|    return _PyTok_SourcePointer(source, span.start);
   49|      4|}
string.c:_PyTok_SourcePointer:
   26|      7|{
   27|      7|    assert(offset >= source->base_offset);
  ------------------
  |  Branch (27:5): [True: 7, False: 0]
  ------------------
   28|      7|    assert(offset - source->base_offset <= source->len);
  ------------------
  |  Branch (28:5): [True: 7, False: 0]
  ------------------
   29|      7|    return _PyTok_SourceData(source) + (offset - source->base_offset);
   30|      7|}
string.c:_PyTok_SourceData:
   18|      7|{
   19|      7|    return source->bytes != NULL ? source->bytes : "";
  ------------------
  |  Branch (19:12): [True: 7, False: 0]
  ------------------
   20|      7|}
api.c:_PyTok_SourceSpanView:
   43|  1.50M|{
   44|  1.50M|    assert(length != NULL);
  ------------------
  |  Branch (44:5): [True: 1.50M, False: 0]
  ------------------
   45|  1.50M|    assert(_PyTok_SpanIsValid(span));
  ------------------
  |  Branch (45:5): [True: 1.50M, False: 0]
  ------------------
   46|  1.50M|    assert(span.end - source->base_offset <= source->len);
  ------------------
  |  Branch (46:5): [True: 1.50M, False: 0]
  ------------------
   47|  1.50M|    *length = span.end - span.start;
   48|  1.50M|    return _PyTok_SourcePointer(source, span.start);
   49|  1.50M|}
api.c:_PyTok_SourcePointer:
   26|  1.50M|{
   27|  1.50M|    assert(offset >= source->base_offset);
  ------------------
  |  Branch (27:5): [True: 1.50M, False: 0]
  ------------------
   28|  1.50M|    assert(offset - source->base_offset <= source->len);
  ------------------
  |  Branch (28:5): [True: 1.50M, False: 0]
  ------------------
   29|  1.50M|    return _PyTok_SourceData(source) + (offset - source->base_offset);
   30|  1.50M|}
api.c:_PyTok_SourceData:
   18|  1.50M|{
   19|  1.50M|    return source->bytes != NULL ? source->bytes : "";
  ------------------
  |  Branch (19:12): [True: 1.50M, False: 0]
  ------------------
   20|  1.50M|}

pegen.c:_PyToken_Free:
   83|  3.00M|{
   84|       |    Py_CLEAR(token->metadata);
  ------------------
  |  |  487|  3.00M|    do { \
  |  |  488|  3.00M|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  3.00M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  3.00M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  3.00M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  3.00M|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  3.00M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 3.00M]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|  3.00M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 3.00M]
  |  |  ------------------
  ------------------
   85|  3.00M|}
pegen_errors.c:_PyToken_Free:
   83|     18|{
   84|       |    Py_CLEAR(token->metadata);
  ------------------
  |  |  487|     18|    do { \
  |  |  488|     18|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     18|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     18|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     18|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 18]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
   85|     18|}
lexer.c:_PyToken_Free:
   83|  3.55M|{
   84|       |    Py_CLEAR(token->metadata);
  ------------------
  |  |  487|  3.55M|    do { \
  |  |  488|  3.55M|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  3.55M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  3.55M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  3.55M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  3.55M|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  3.55M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 3.55M]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|  3.55M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 3.55M]
  |  |  ------------------
  ------------------
   85|  3.55M|}

reader.c:_PyTok_SpanIsValid:
   23|     72|{
   24|     72|    return span.start >= 0 && span.end >= span.start;
  ------------------
  |  Branch (24:12): [True: 72, False: 0]
  |  Branch (24:31): [True: 72, False: 0]
  ------------------
   25|     72|}
lexer.c:_PyTok_SpanIsValid:
   23|     36|{
   24|     36|    return span.start >= 0 && span.end >= span.start;
  ------------------
  |  Branch (24:12): [True: 36, False: 0]
  |  Branch (24:31): [True: 36, False: 0]
  ------------------
   25|     36|}
string.c:_PyTok_SpanIsValid:
   23|      4|{
   24|      4|    return span.start >= 0 && span.end >= span.start;
  ------------------
  |  Branch (24:12): [True: 4, False: 0]
  |  Branch (24:31): [True: 4, False: 0]
  ------------------
   25|      4|}
api.c:_PyTok_SpanIsValid:
   23|  1.50M|{
   24|  1.50M|    return span.start >= 0 && span.end >= span.start;
  ------------------
  |  Branch (24:12): [True: 1.50M, False: 0]
  |  Branch (24:31): [True: 1.50M, False: 0]
  ------------------
   25|  1.50M|}

_PyAST_Expression:
 3276|     11|{
 3277|     11|    mod_ty p;
 3278|     11|    if (!body) {
  ------------------
  |  Branch (3278:9): [True: 0, False: 11]
  ------------------
 3279|      0|        PyErr_SetString(PyExc_ValueError,
 3280|      0|                        "field 'body' is required for Expression");
 3281|      0|        return NULL;
 3282|      0|    }
 3283|     11|    p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p));
 3284|     11|    if (!p)
  ------------------
  |  Branch (3284:9): [True: 0, False: 11]
  ------------------
 3285|      0|        return NULL;
 3286|     11|    p->kind = Expression_kind;
 3287|     11|    p->v.Expression.body = body;
 3288|     11|    return p;
 3289|     11|}
_PyAST_BinOp:
 4022|    257|{
 4023|    257|    expr_ty p;
 4024|    257|    if (!left) {
  ------------------
  |  Branch (4024:9): [True: 0, False: 257]
  ------------------
 4025|      0|        PyErr_SetString(PyExc_ValueError,
 4026|      0|                        "field 'left' is required for BinOp");
 4027|      0|        return NULL;
 4028|      0|    }
 4029|    257|    if (!op) {
  ------------------
  |  Branch (4029:9): [True: 0, False: 257]
  ------------------
 4030|      0|        PyErr_SetString(PyExc_ValueError,
 4031|      0|                        "field 'op' is required for BinOp");
 4032|      0|        return NULL;
 4033|      0|    }
 4034|    257|    if (!right) {
  ------------------
  |  Branch (4034:9): [True: 0, False: 257]
  ------------------
 4035|      0|        PyErr_SetString(PyExc_ValueError,
 4036|      0|                        "field 'right' is required for BinOp");
 4037|      0|        return NULL;
 4038|      0|    }
 4039|    257|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4040|    257|    if (!p)
  ------------------
  |  Branch (4040:9): [True: 0, False: 257]
  ------------------
 4041|      0|        return NULL;
 4042|    257|    p->kind = BinOp_kind;
 4043|    257|    p->v.BinOp.left = left;
 4044|    257|    p->v.BinOp.op = op;
 4045|    257|    p->v.BinOp.right = right;
 4046|    257|    p->lineno = lineno;
 4047|    257|    p->col_offset = col_offset;
 4048|    257|    p->end_lineno = end_lineno;
 4049|    257|    p->end_col_offset = end_col_offset;
 4050|    257|    return p;
 4051|    257|}
_PyAST_UnaryOp:
 4056|     10|{
 4057|     10|    expr_ty p;
 4058|     10|    if (!op) {
  ------------------
  |  Branch (4058:9): [True: 0, False: 10]
  ------------------
 4059|      0|        PyErr_SetString(PyExc_ValueError,
 4060|      0|                        "field 'op' is required for UnaryOp");
 4061|      0|        return NULL;
 4062|      0|    }
 4063|     10|    if (!operand) {
  ------------------
  |  Branch (4063:9): [True: 0, False: 10]
  ------------------
 4064|      0|        PyErr_SetString(PyExc_ValueError,
 4065|      0|                        "field 'operand' is required for UnaryOp");
 4066|      0|        return NULL;
 4067|      0|    }
 4068|     10|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4069|     10|    if (!p)
  ------------------
  |  Branch (4069:9): [True: 0, False: 10]
  ------------------
 4070|      0|        return NULL;
 4071|     10|    p->kind = UnaryOp_kind;
 4072|     10|    p->v.UnaryOp.op = op;
 4073|     10|    p->v.UnaryOp.operand = operand;
 4074|     10|    p->lineno = lineno;
 4075|     10|    p->col_offset = col_offset;
 4076|     10|    p->end_lineno = end_lineno;
 4077|     10|    p->end_col_offset = end_col_offset;
 4078|     10|    return p;
 4079|     10|}
_PyAST_Lambda:
 4084|      2|{
 4085|      2|    expr_ty p;
 4086|      2|    if (!args) {
  ------------------
  |  Branch (4086:9): [True: 0, False: 2]
  ------------------
 4087|      0|        PyErr_SetString(PyExc_ValueError,
 4088|      0|                        "field 'args' is required for Lambda");
 4089|      0|        return NULL;
 4090|      0|    }
 4091|      2|    if (!body) {
  ------------------
  |  Branch (4091:9): [True: 0, False: 2]
  ------------------
 4092|      0|        PyErr_SetString(PyExc_ValueError,
 4093|      0|                        "field 'body' is required for Lambda");
 4094|      0|        return NULL;
 4095|      0|    }
 4096|      2|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4097|      2|    if (!p)
  ------------------
  |  Branch (4097:9): [True: 0, False: 2]
  ------------------
 4098|      0|        return NULL;
 4099|      2|    p->kind = Lambda_kind;
 4100|      2|    p->v.Lambda.args = args;
 4101|      2|    p->v.Lambda.body = body;
 4102|      2|    p->lineno = lineno;
 4103|      2|    p->col_offset = col_offset;
 4104|      2|    p->end_lineno = end_lineno;
 4105|      2|    p->end_col_offset = end_col_offset;
 4106|      2|    return p;
 4107|      2|}
_PyAST_Set:
 4164|      2|{
 4165|      2|    expr_ty p;
 4166|      2|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4167|      2|    if (!p)
  ------------------
  |  Branch (4167:9): [True: 0, False: 2]
  ------------------
 4168|      0|        return NULL;
 4169|      2|    p->kind = Set_kind;
 4170|      2|    p->v.Set.elts = elts;
 4171|      2|    p->lineno = lineno;
 4172|      2|    p->col_offset = col_offset;
 4173|      2|    p->end_lineno = end_lineno;
 4174|      2|    p->end_col_offset = end_col_offset;
 4175|      2|    return p;
 4176|      2|}
_PyAST_Compare:
 4340|      1|{
 4341|      1|    expr_ty p;
 4342|      1|    if (!left) {
  ------------------
  |  Branch (4342:9): [True: 0, False: 1]
  ------------------
 4343|      0|        PyErr_SetString(PyExc_ValueError,
 4344|      0|                        "field 'left' is required for Compare");
 4345|      0|        return NULL;
 4346|      0|    }
 4347|      1|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4348|      1|    if (!p)
  ------------------
  |  Branch (4348:9): [True: 0, False: 1]
  ------------------
 4349|      0|        return NULL;
 4350|      1|    p->kind = Compare_kind;
 4351|      1|    p->v.Compare.left = left;
 4352|      1|    p->v.Compare.ops = ops;
 4353|      1|    p->v.Compare.comparators = comparators;
 4354|      1|    p->lineno = lineno;
 4355|      1|    p->col_offset = col_offset;
 4356|      1|    p->end_lineno = end_lineno;
 4357|      1|    p->end_col_offset = end_col_offset;
 4358|      1|    return p;
 4359|      1|}
_PyAST_Call:
 4365|  1.60k|{
 4366|  1.60k|    expr_ty p;
 4367|  1.60k|    if (!func) {
  ------------------
  |  Branch (4367:9): [True: 0, False: 1.60k]
  ------------------
 4368|      0|        PyErr_SetString(PyExc_ValueError,
 4369|      0|                        "field 'func' is required for Call");
 4370|      0|        return NULL;
 4371|      0|    }
 4372|  1.60k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4373|  1.60k|    if (!p)
  ------------------
  |  Branch (4373:9): [True: 0, False: 1.60k]
  ------------------
 4374|      0|        return NULL;
 4375|  1.60k|    p->kind = Call_kind;
 4376|  1.60k|    p->v.Call.func = func;
 4377|  1.60k|    p->v.Call.args = args;
 4378|  1.60k|    p->v.Call.keywords = keywords;
 4379|  1.60k|    p->lineno = lineno;
 4380|  1.60k|    p->col_offset = col_offset;
 4381|  1.60k|    p->end_lineno = end_lineno;
 4382|  1.60k|    p->end_col_offset = end_col_offset;
 4383|  1.60k|    return p;
 4384|  1.60k|}
_PyAST_Interpolation:
 4415|      4|{
 4416|      4|    expr_ty p;
 4417|      4|    if (!value) {
  ------------------
  |  Branch (4417:9): [True: 0, False: 4]
  ------------------
 4418|      0|        PyErr_SetString(PyExc_ValueError,
 4419|      0|                        "field 'value' is required for Interpolation");
 4420|      0|        return NULL;
 4421|      0|    }
 4422|      4|    if (!str) {
  ------------------
  |  Branch (4422:9): [True: 0, False: 4]
  ------------------
 4423|      0|        PyErr_SetString(PyExc_ValueError,
 4424|      0|                        "field 'str' is required for Interpolation");
 4425|      0|        return NULL;
 4426|      0|    }
 4427|      4|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4428|      4|    if (!p)
  ------------------
  |  Branch (4428:9): [True: 0, False: 4]
  ------------------
 4429|      0|        return NULL;
 4430|      4|    p->kind = Interpolation_kind;
 4431|      4|    p->v.Interpolation.value = value;
 4432|      4|    p->v.Interpolation.str = str;
 4433|      4|    p->v.Interpolation.conversion = conversion;
 4434|      4|    p->v.Interpolation.format_spec = format_spec;
 4435|      4|    p->lineno = lineno;
 4436|      4|    p->col_offset = col_offset;
 4437|      4|    p->end_lineno = end_lineno;
 4438|      4|    p->end_col_offset = end_col_offset;
 4439|      4|    return p;
 4440|      4|}
_PyAST_JoinedStr:
 4445|      4|{
 4446|      4|    expr_ty p;
 4447|      4|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4448|      4|    if (!p)
  ------------------
  |  Branch (4448:9): [True: 0, False: 4]
  ------------------
 4449|      0|        return NULL;
 4450|      4|    p->kind = JoinedStr_kind;
 4451|      4|    p->v.JoinedStr.values = values;
 4452|      4|    p->lineno = lineno;
 4453|      4|    p->col_offset = col_offset;
 4454|      4|    p->end_lineno = end_lineno;
 4455|      4|    p->end_col_offset = end_col_offset;
 4456|      4|    return p;
 4457|      4|}
_PyAST_TemplateStr:
 4462|      8|{
 4463|      8|    expr_ty p;
 4464|      8|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4465|      8|    if (!p)
  ------------------
  |  Branch (4465:9): [True: 0, False: 8]
  ------------------
 4466|      0|        return NULL;
 4467|      8|    p->kind = TemplateStr_kind;
 4468|      8|    p->v.TemplateStr.values = values;
 4469|      8|    p->lineno = lineno;
 4470|      8|    p->col_offset = col_offset;
 4471|      8|    p->end_lineno = end_lineno;
 4472|      8|    p->end_col_offset = end_col_offset;
 4473|      8|    return p;
 4474|      8|}
_PyAST_Constant:
 4479|  1.10k|{
 4480|  1.10k|    expr_ty p;
 4481|  1.10k|    if (!value) {
  ------------------
  |  Branch (4481:9): [True: 0, False: 1.10k]
  ------------------
 4482|      0|        PyErr_SetString(PyExc_ValueError,
 4483|      0|                        "field 'value' is required for Constant");
 4484|      0|        return NULL;
 4485|      0|    }
 4486|  1.10k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4487|  1.10k|    if (!p)
  ------------------
  |  Branch (4487:9): [True: 0, False: 1.10k]
  ------------------
 4488|      0|        return NULL;
 4489|  1.10k|    p->kind = Constant_kind;
 4490|  1.10k|    p->v.Constant.value = value;
 4491|  1.10k|    p->v.Constant.kind = kind;
 4492|  1.10k|    p->lineno = lineno;
 4493|  1.10k|    p->col_offset = col_offset;
 4494|  1.10k|    p->end_lineno = end_lineno;
 4495|  1.10k|    p->end_col_offset = end_col_offset;
 4496|  1.10k|    return p;
 4497|  1.10k|}
_PyAST_Starred:
 4572|  2.71k|{
 4573|  2.71k|    expr_ty p;
 4574|  2.71k|    if (!value) {
  ------------------
  |  Branch (4574:9): [True: 0, False: 2.71k]
  ------------------
 4575|      0|        PyErr_SetString(PyExc_ValueError,
 4576|      0|                        "field 'value' is required for Starred");
 4577|      0|        return NULL;
 4578|      0|    }
 4579|  2.71k|    if (!ctx) {
  ------------------
  |  Branch (4579:9): [True: 0, False: 2.71k]
  ------------------
 4580|      0|        PyErr_SetString(PyExc_ValueError,
 4581|      0|                        "field 'ctx' is required for Starred");
 4582|      0|        return NULL;
 4583|      0|    }
 4584|  2.71k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4585|  2.71k|    if (!p)
  ------------------
  |  Branch (4585:9): [True: 0, False: 2.71k]
  ------------------
 4586|      0|        return NULL;
 4587|  2.71k|    p->kind = Starred_kind;
 4588|  2.71k|    p->v.Starred.value = value;
 4589|  2.71k|    p->v.Starred.ctx = ctx;
 4590|  2.71k|    p->lineno = lineno;
 4591|  2.71k|    p->col_offset = col_offset;
 4592|  2.71k|    p->end_lineno = end_lineno;
 4593|  2.71k|    p->end_col_offset = end_col_offset;
 4594|  2.71k|    return p;
 4595|  2.71k|}
_PyAST_Name:
 4600|  3.00M|{
 4601|  3.00M|    expr_ty p;
 4602|  3.00M|    if (!id) {
  ------------------
  |  Branch (4602:9): [True: 0, False: 3.00M]
  ------------------
 4603|      0|        PyErr_SetString(PyExc_ValueError,
 4604|      0|                        "field 'id' is required for Name");
 4605|      0|        return NULL;
 4606|      0|    }
 4607|  3.00M|    if (!ctx) {
  ------------------
  |  Branch (4607:9): [True: 0, False: 3.00M]
  ------------------
 4608|      0|        PyErr_SetString(PyExc_ValueError,
 4609|      0|                        "field 'ctx' is required for Name");
 4610|      0|        return NULL;
 4611|      0|    }
 4612|  3.00M|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4613|  3.00M|    if (!p)
  ------------------
  |  Branch (4613:9): [True: 0, False: 3.00M]
  ------------------
 4614|      0|        return NULL;
 4615|  3.00M|    p->kind = Name_kind;
 4616|  3.00M|    p->v.Name.id = id;
 4617|  3.00M|    p->v.Name.ctx = ctx;
 4618|  3.00M|    p->lineno = lineno;
 4619|  3.00M|    p->col_offset = col_offset;
 4620|  3.00M|    p->end_lineno = end_lineno;
 4621|  3.00M|    p->end_col_offset = end_col_offset;
 4622|  3.00M|    return p;
 4623|  3.00M|}
_PyAST_Tuple:
 4651|      5|{
 4652|      5|    expr_ty p;
 4653|      5|    if (!ctx) {
  ------------------
  |  Branch (4653:9): [True: 0, False: 5]
  ------------------
 4654|      0|        PyErr_SetString(PyExc_ValueError,
 4655|      0|                        "field 'ctx' is required for Tuple");
 4656|      0|        return NULL;
 4657|      0|    }
 4658|      5|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4659|      5|    if (!p)
  ------------------
  |  Branch (4659:9): [True: 0, False: 5]
  ------------------
 4660|      0|        return NULL;
 4661|      5|    p->kind = Tuple_kind;
 4662|      5|    p->v.Tuple.elts = elts;
 4663|      5|    p->v.Tuple.ctx = ctx;
 4664|      5|    p->lineno = lineno;
 4665|      5|    p->col_offset = col_offset;
 4666|      5|    p->end_lineno = end_lineno;
 4667|      5|    p->end_col_offset = end_col_offset;
 4668|      5|    return p;
 4669|      5|}
_PyAST_arguments:
 4740|     31|{
 4741|     31|    arguments_ty p;
 4742|     31|    p = (arguments_ty)_PyArena_Malloc(arena, sizeof(*p));
 4743|     31|    if (!p)
  ------------------
  |  Branch (4743:9): [True: 0, False: 31]
  ------------------
 4744|      0|        return NULL;
 4745|     31|    p->posonlyargs = posonlyargs;
 4746|     31|    p->args = args;
 4747|     31|    p->vararg = vararg;
 4748|     31|    p->kwonlyargs = kwonlyargs;
 4749|     31|    p->kw_defaults = kw_defaults;
 4750|     31|    p->kwarg = kwarg;
 4751|     31|    p->defaults = defaults;
 4752|     31|    return p;
 4753|     31|}
_PyAST_arg:
 4758|  90.9M|{
 4759|  90.9M|    arg_ty p;
 4760|  90.9M|    if (!arg) {
  ------------------
  |  Branch (4760:9): [True: 0, False: 90.9M]
  ------------------
 4761|      0|        PyErr_SetString(PyExc_ValueError,
 4762|      0|                        "field 'arg' is required for arg");
 4763|      0|        return NULL;
 4764|      0|    }
 4765|  90.9M|    p = (arg_ty)_PyArena_Malloc(arena, sizeof(*p));
 4766|  90.9M|    if (!p)
  ------------------
  |  Branch (4766:9): [True: 0, False: 90.9M]
  ------------------
 4767|      0|        return NULL;
 4768|  90.9M|    p->arg = arg;
 4769|  90.9M|    p->annotation = annotation;
 4770|  90.9M|    p->type_comment = type_comment;
 4771|  90.9M|    p->lineno = lineno;
 4772|  90.9M|    p->col_offset = col_offset;
 4773|  90.9M|    p->end_lineno = end_lineno;
 4774|  90.9M|    p->end_col_offset = end_col_offset;
 4775|  90.9M|    return p;
 4776|  90.9M|}
_PyAST_keyword:
 4781|     42|{
 4782|     42|    keyword_ty p;
 4783|     42|    if (!value) {
  ------------------
  |  Branch (4783:9): [True: 0, False: 42]
  ------------------
 4784|      0|        PyErr_SetString(PyExc_ValueError,
 4785|      0|                        "field 'value' is required for keyword");
 4786|      0|        return NULL;
 4787|      0|    }
 4788|     42|    p = (keyword_ty)_PyArena_Malloc(arena, sizeof(*p));
 4789|     42|    if (!p)
  ------------------
  |  Branch (4789:9): [True: 0, False: 42]
  ------------------
 4790|      0|        return NULL;
 4791|     42|    p->arg = arg;
 4792|     42|    p->value = value;
 4793|     42|    p->lineno = lineno;
 4794|     42|    p->col_offset = col_offset;
 4795|     42|    p->end_lineno = end_lineno;
 4796|     42|    p->end_col_offset = end_col_offset;
 4797|     42|    return p;
 4798|     42|}
PyInit__ast:
14777|      1|{
14778|      1|    return PyModuleDef_Init(&_astmodule);
14779|      1|}
PyAST_mod2obj:
14783|      9|{
14784|      9|    struct ast_state *state = get_ast_state();
14785|      9|    if (state == NULL) {
  ------------------
  |  Branch (14785:9): [True: 0, False: 9]
  ------------------
14786|      0|        return NULL;
14787|      0|    }
14788|      9|    PyObject *result = ast2obj_mod(state, t);
14789|       |
14790|      9|    return result;
14791|      9|}
PyAST_Check:
14847|     33|{
14848|     33|    struct ast_state *state = get_ast_state();
14849|     33|    if (state == NULL) {
  ------------------
  |  Branch (14849:9): [True: 0, False: 33]
  ------------------
14850|      0|        return -1;
14851|      0|    }
14852|     33|    return PyObject_IsInstance(obj, state->AST_type);
14853|     33|}
Python-ast.c:astmodule_exec:
14347|      1|{
14348|      1|    struct ast_state *state = get_ast_state();
14349|      1|    if (state == NULL) {
  ------------------
  |  Branch (14349:9): [True: 0, False: 1]
  ------------------
14350|      0|        return -1;
14351|      0|    }
14352|      1|    if (PyModule_AddObjectRef(m, "AST", state->AST_type) < 0) {
  ------------------
  |  Branch (14352:9): [True: 0, False: 1]
  ------------------
14353|      0|        return -1;
14354|      0|    }
14355|      1|    if (PyModule_AddIntMacro(m, PyCF_ALLOW_TOP_LEVEL_AWAIT) < 0) {
  ------------------
  |  |   47|      1|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (14355:9): [True: 0, False: 1]
  ------------------
14356|      0|        return -1;
14357|      0|    }
14358|      1|    if (PyModule_AddIntMacro(m, PyCF_ONLY_AST) < 0) {
  ------------------
  |  |   47|      1|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (14358:9): [True: 0, False: 1]
  ------------------
14359|      0|        return -1;
14360|      0|    }
14361|      1|    if (PyModule_AddIntMacro(m, PyCF_TYPE_COMMENTS) < 0) {
  ------------------
  |  |   47|      1|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (14361:9): [True: 0, False: 1]
  ------------------
14362|      0|        return -1;
14363|      0|    }
14364|      1|    if (PyModule_AddIntMacro(m, PyCF_OPTIMIZED_AST) < 0) {
  ------------------
  |  |   47|      1|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (14364:9): [True: 0, False: 1]
  ------------------
14365|      0|        return -1;
14366|      0|    }
14367|      1|    if (PyModule_AddObjectRef(m, "mod", state->mod_type) < 0) {
  ------------------
  |  Branch (14367:9): [True: 0, False: 1]
  ------------------
14368|      0|        return -1;
14369|      0|    }
14370|      1|    if (PyModule_AddObjectRef(m, "Module", state->Module_type) < 0) {
  ------------------
  |  Branch (14370:9): [True: 0, False: 1]
  ------------------
14371|      0|        return -1;
14372|      0|    }
14373|      1|    if (PyModule_AddObjectRef(m, "Interactive", state->Interactive_type) < 0) {
  ------------------
  |  Branch (14373:9): [True: 0, False: 1]
  ------------------
14374|      0|        return -1;
14375|      0|    }
14376|      1|    if (PyModule_AddObjectRef(m, "Expression", state->Expression_type) < 0) {
  ------------------
  |  Branch (14376:9): [True: 0, False: 1]
  ------------------
14377|      0|        return -1;
14378|      0|    }
14379|      1|    if (PyModule_AddObjectRef(m, "FunctionType", state->FunctionType_type) < 0)
  ------------------
  |  Branch (14379:9): [True: 0, False: 1]
  ------------------
14380|      0|        {
14381|      0|        return -1;
14382|      0|    }
14383|      1|    if (PyModule_AddObjectRef(m, "stmt", state->stmt_type) < 0) {
  ------------------
  |  Branch (14383:9): [True: 0, False: 1]
  ------------------
14384|      0|        return -1;
14385|      0|    }
14386|      1|    if (PyModule_AddObjectRef(m, "FunctionDef", state->FunctionDef_type) < 0) {
  ------------------
  |  Branch (14386:9): [True: 0, False: 1]
  ------------------
14387|      0|        return -1;
14388|      0|    }
14389|      1|    if (PyModule_AddObjectRef(m, "AsyncFunctionDef",
  ------------------
  |  Branch (14389:9): [True: 0, False: 1]
  ------------------
14390|      1|        state->AsyncFunctionDef_type) < 0) {
14391|      0|        return -1;
14392|      0|    }
14393|      1|    if (PyModule_AddObjectRef(m, "ClassDef", state->ClassDef_type) < 0) {
  ------------------
  |  Branch (14393:9): [True: 0, False: 1]
  ------------------
14394|      0|        return -1;
14395|      0|    }
14396|      1|    if (PyModule_AddObjectRef(m, "Return", state->Return_type) < 0) {
  ------------------
  |  Branch (14396:9): [True: 0, False: 1]
  ------------------
14397|      0|        return -1;
14398|      0|    }
14399|      1|    if (PyModule_AddObjectRef(m, "Delete", state->Delete_type) < 0) {
  ------------------
  |  Branch (14399:9): [True: 0, False: 1]
  ------------------
14400|      0|        return -1;
14401|      0|    }
14402|      1|    if (PyModule_AddObjectRef(m, "Assign", state->Assign_type) < 0) {
  ------------------
  |  Branch (14402:9): [True: 0, False: 1]
  ------------------
14403|      0|        return -1;
14404|      0|    }
14405|      1|    if (PyModule_AddObjectRef(m, "TypeAlias", state->TypeAlias_type) < 0) {
  ------------------
  |  Branch (14405:9): [True: 0, False: 1]
  ------------------
14406|      0|        return -1;
14407|      0|    }
14408|      1|    if (PyModule_AddObjectRef(m, "AugAssign", state->AugAssign_type) < 0) {
  ------------------
  |  Branch (14408:9): [True: 0, False: 1]
  ------------------
14409|      0|        return -1;
14410|      0|    }
14411|      1|    if (PyModule_AddObjectRef(m, "AnnAssign", state->AnnAssign_type) < 0) {
  ------------------
  |  Branch (14411:9): [True: 0, False: 1]
  ------------------
14412|      0|        return -1;
14413|      0|    }
14414|      1|    if (PyModule_AddObjectRef(m, "For", state->For_type) < 0) {
  ------------------
  |  Branch (14414:9): [True: 0, False: 1]
  ------------------
14415|      0|        return -1;
14416|      0|    }
14417|      1|    if (PyModule_AddObjectRef(m, "AsyncFor", state->AsyncFor_type) < 0) {
  ------------------
  |  Branch (14417:9): [True: 0, False: 1]
  ------------------
14418|      0|        return -1;
14419|      0|    }
14420|      1|    if (PyModule_AddObjectRef(m, "While", state->While_type) < 0) {
  ------------------
  |  Branch (14420:9): [True: 0, False: 1]
  ------------------
14421|      0|        return -1;
14422|      0|    }
14423|      1|    if (PyModule_AddObjectRef(m, "If", state->If_type) < 0) {
  ------------------
  |  Branch (14423:9): [True: 0, False: 1]
  ------------------
14424|      0|        return -1;
14425|      0|    }
14426|      1|    if (PyModule_AddObjectRef(m, "With", state->With_type) < 0) {
  ------------------
  |  Branch (14426:9): [True: 0, False: 1]
  ------------------
14427|      0|        return -1;
14428|      0|    }
14429|      1|    if (PyModule_AddObjectRef(m, "AsyncWith", state->AsyncWith_type) < 0) {
  ------------------
  |  Branch (14429:9): [True: 0, False: 1]
  ------------------
14430|      0|        return -1;
14431|      0|    }
14432|      1|    if (PyModule_AddObjectRef(m, "Match", state->Match_type) < 0) {
  ------------------
  |  Branch (14432:9): [True: 0, False: 1]
  ------------------
14433|      0|        return -1;
14434|      0|    }
14435|      1|    if (PyModule_AddObjectRef(m, "Raise", state->Raise_type) < 0) {
  ------------------
  |  Branch (14435:9): [True: 0, False: 1]
  ------------------
14436|      0|        return -1;
14437|      0|    }
14438|      1|    if (PyModule_AddObjectRef(m, "Try", state->Try_type) < 0) {
  ------------------
  |  Branch (14438:9): [True: 0, False: 1]
  ------------------
14439|      0|        return -1;
14440|      0|    }
14441|      1|    if (PyModule_AddObjectRef(m, "TryStar", state->TryStar_type) < 0) {
  ------------------
  |  Branch (14441:9): [True: 0, False: 1]
  ------------------
14442|      0|        return -1;
14443|      0|    }
14444|      1|    if (PyModule_AddObjectRef(m, "Assert", state->Assert_type) < 0) {
  ------------------
  |  Branch (14444:9): [True: 0, False: 1]
  ------------------
14445|      0|        return -1;
14446|      0|    }
14447|      1|    if (PyModule_AddObjectRef(m, "Import", state->Import_type) < 0) {
  ------------------
  |  Branch (14447:9): [True: 0, False: 1]
  ------------------
14448|      0|        return -1;
14449|      0|    }
14450|      1|    if (PyModule_AddObjectRef(m, "ImportFrom", state->ImportFrom_type) < 0) {
  ------------------
  |  Branch (14450:9): [True: 0, False: 1]
  ------------------
14451|      0|        return -1;
14452|      0|    }
14453|      1|    if (PyModule_AddObjectRef(m, "Global", state->Global_type) < 0) {
  ------------------
  |  Branch (14453:9): [True: 0, False: 1]
  ------------------
14454|      0|        return -1;
14455|      0|    }
14456|      1|    if (PyModule_AddObjectRef(m, "Nonlocal", state->Nonlocal_type) < 0) {
  ------------------
  |  Branch (14456:9): [True: 0, False: 1]
  ------------------
14457|      0|        return -1;
14458|      0|    }
14459|      1|    if (PyModule_AddObjectRef(m, "Expr", state->Expr_type) < 0) {
  ------------------
  |  Branch (14459:9): [True: 0, False: 1]
  ------------------
14460|      0|        return -1;
14461|      0|    }
14462|      1|    if (PyModule_AddObjectRef(m, "Pass", state->Pass_type) < 0) {
  ------------------
  |  Branch (14462:9): [True: 0, False: 1]
  ------------------
14463|      0|        return -1;
14464|      0|    }
14465|      1|    if (PyModule_AddObjectRef(m, "Break", state->Break_type) < 0) {
  ------------------
  |  Branch (14465:9): [True: 0, False: 1]
  ------------------
14466|      0|        return -1;
14467|      0|    }
14468|      1|    if (PyModule_AddObjectRef(m, "Continue", state->Continue_type) < 0) {
  ------------------
  |  Branch (14468:9): [True: 0, False: 1]
  ------------------
14469|      0|        return -1;
14470|      0|    }
14471|      1|    if (PyModule_AddObjectRef(m, "expr", state->expr_type) < 0) {
  ------------------
  |  Branch (14471:9): [True: 0, False: 1]
  ------------------
14472|      0|        return -1;
14473|      0|    }
14474|      1|    if (PyModule_AddObjectRef(m, "BoolOp", state->BoolOp_type) < 0) {
  ------------------
  |  Branch (14474:9): [True: 0, False: 1]
  ------------------
14475|      0|        return -1;
14476|      0|    }
14477|      1|    if (PyModule_AddObjectRef(m, "NamedExpr", state->NamedExpr_type) < 0) {
  ------------------
  |  Branch (14477:9): [True: 0, False: 1]
  ------------------
14478|      0|        return -1;
14479|      0|    }
14480|      1|    if (PyModule_AddObjectRef(m, "BinOp", state->BinOp_type) < 0) {
  ------------------
  |  Branch (14480:9): [True: 0, False: 1]
  ------------------
14481|      0|        return -1;
14482|      0|    }
14483|      1|    if (PyModule_AddObjectRef(m, "UnaryOp", state->UnaryOp_type) < 0) {
  ------------------
  |  Branch (14483:9): [True: 0, False: 1]
  ------------------
14484|      0|        return -1;
14485|      0|    }
14486|      1|    if (PyModule_AddObjectRef(m, "Lambda", state->Lambda_type) < 0) {
  ------------------
  |  Branch (14486:9): [True: 0, False: 1]
  ------------------
14487|      0|        return -1;
14488|      0|    }
14489|      1|    if (PyModule_AddObjectRef(m, "IfExp", state->IfExp_type) < 0) {
  ------------------
  |  Branch (14489:9): [True: 0, False: 1]
  ------------------
14490|      0|        return -1;
14491|      0|    }
14492|      1|    if (PyModule_AddObjectRef(m, "Dict", state->Dict_type) < 0) {
  ------------------
  |  Branch (14492:9): [True: 0, False: 1]
  ------------------
14493|      0|        return -1;
14494|      0|    }
14495|      1|    if (PyModule_AddObjectRef(m, "Set", state->Set_type) < 0) {
  ------------------
  |  Branch (14495:9): [True: 0, False: 1]
  ------------------
14496|      0|        return -1;
14497|      0|    }
14498|      1|    if (PyModule_AddObjectRef(m, "ListComp", state->ListComp_type) < 0) {
  ------------------
  |  Branch (14498:9): [True: 0, False: 1]
  ------------------
14499|      0|        return -1;
14500|      0|    }
14501|      1|    if (PyModule_AddObjectRef(m, "SetComp", state->SetComp_type) < 0) {
  ------------------
  |  Branch (14501:9): [True: 0, False: 1]
  ------------------
14502|      0|        return -1;
14503|      0|    }
14504|      1|    if (PyModule_AddObjectRef(m, "DictComp", state->DictComp_type) < 0) {
  ------------------
  |  Branch (14504:9): [True: 0, False: 1]
  ------------------
14505|      0|        return -1;
14506|      0|    }
14507|      1|    if (PyModule_AddObjectRef(m, "GeneratorExp", state->GeneratorExp_type) < 0)
  ------------------
  |  Branch (14507:9): [True: 0, False: 1]
  ------------------
14508|      0|        {
14509|      0|        return -1;
14510|      0|    }
14511|      1|    if (PyModule_AddObjectRef(m, "Await", state->Await_type) < 0) {
  ------------------
  |  Branch (14511:9): [True: 0, False: 1]
  ------------------
14512|      0|        return -1;
14513|      0|    }
14514|      1|    if (PyModule_AddObjectRef(m, "Yield", state->Yield_type) < 0) {
  ------------------
  |  Branch (14514:9): [True: 0, False: 1]
  ------------------
14515|      0|        return -1;
14516|      0|    }
14517|      1|    if (PyModule_AddObjectRef(m, "YieldFrom", state->YieldFrom_type) < 0) {
  ------------------
  |  Branch (14517:9): [True: 0, False: 1]
  ------------------
14518|      0|        return -1;
14519|      0|    }
14520|      1|    if (PyModule_AddObjectRef(m, "Compare", state->Compare_type) < 0) {
  ------------------
  |  Branch (14520:9): [True: 0, False: 1]
  ------------------
14521|      0|        return -1;
14522|      0|    }
14523|      1|    if (PyModule_AddObjectRef(m, "Call", state->Call_type) < 0) {
  ------------------
  |  Branch (14523:9): [True: 0, False: 1]
  ------------------
14524|      0|        return -1;
14525|      0|    }
14526|      1|    if (PyModule_AddObjectRef(m, "FormattedValue", state->FormattedValue_type)
  ------------------
  |  Branch (14526:9): [True: 0, False: 1]
  ------------------
14527|      1|        < 0) {
14528|      0|        return -1;
14529|      0|    }
14530|      1|    if (PyModule_AddObjectRef(m, "Interpolation", state->Interpolation_type) <
  ------------------
  |  Branch (14530:9): [True: 0, False: 1]
  ------------------
14531|      1|        0) {
14532|      0|        return -1;
14533|      0|    }
14534|      1|    if (PyModule_AddObjectRef(m, "JoinedStr", state->JoinedStr_type) < 0) {
  ------------------
  |  Branch (14534:9): [True: 0, False: 1]
  ------------------
14535|      0|        return -1;
14536|      0|    }
14537|      1|    if (PyModule_AddObjectRef(m, "TemplateStr", state->TemplateStr_type) < 0) {
  ------------------
  |  Branch (14537:9): [True: 0, False: 1]
  ------------------
14538|      0|        return -1;
14539|      0|    }
14540|      1|    if (PyModule_AddObjectRef(m, "Constant", state->Constant_type) < 0) {
  ------------------
  |  Branch (14540:9): [True: 0, False: 1]
  ------------------
14541|      0|        return -1;
14542|      0|    }
14543|      1|    if (PyModule_AddObjectRef(m, "Attribute", state->Attribute_type) < 0) {
  ------------------
  |  Branch (14543:9): [True: 0, False: 1]
  ------------------
14544|      0|        return -1;
14545|      0|    }
14546|      1|    if (PyModule_AddObjectRef(m, "Subscript", state->Subscript_type) < 0) {
  ------------------
  |  Branch (14546:9): [True: 0, False: 1]
  ------------------
14547|      0|        return -1;
14548|      0|    }
14549|      1|    if (PyModule_AddObjectRef(m, "Starred", state->Starred_type) < 0) {
  ------------------
  |  Branch (14549:9): [True: 0, False: 1]
  ------------------
14550|      0|        return -1;
14551|      0|    }
14552|      1|    if (PyModule_AddObjectRef(m, "Name", state->Name_type) < 0) {
  ------------------
  |  Branch (14552:9): [True: 0, False: 1]
  ------------------
14553|      0|        return -1;
14554|      0|    }
14555|      1|    if (PyModule_AddObjectRef(m, "List", state->List_type) < 0) {
  ------------------
  |  Branch (14555:9): [True: 0, False: 1]
  ------------------
14556|      0|        return -1;
14557|      0|    }
14558|      1|    if (PyModule_AddObjectRef(m, "Tuple", state->Tuple_type) < 0) {
  ------------------
  |  Branch (14558:9): [True: 0, False: 1]
  ------------------
14559|      0|        return -1;
14560|      0|    }
14561|      1|    if (PyModule_AddObjectRef(m, "Slice", state->Slice_type) < 0) {
  ------------------
  |  Branch (14561:9): [True: 0, False: 1]
  ------------------
14562|      0|        return -1;
14563|      0|    }
14564|      1|    if (PyModule_AddObjectRef(m, "expr_context", state->expr_context_type) < 0)
  ------------------
  |  Branch (14564:9): [True: 0, False: 1]
  ------------------
14565|      0|        {
14566|      0|        return -1;
14567|      0|    }
14568|      1|    if (PyModule_AddObjectRef(m, "Load", state->Load_type) < 0) {
  ------------------
  |  Branch (14568:9): [True: 0, False: 1]
  ------------------
14569|      0|        return -1;
14570|      0|    }
14571|      1|    if (PyModule_AddObjectRef(m, "Store", state->Store_type) < 0) {
  ------------------
  |  Branch (14571:9): [True: 0, False: 1]
  ------------------
14572|      0|        return -1;
14573|      0|    }
14574|      1|    if (PyModule_AddObjectRef(m, "Del", state->Del_type) < 0) {
  ------------------
  |  Branch (14574:9): [True: 0, False: 1]
  ------------------
14575|      0|        return -1;
14576|      0|    }
14577|      1|    if (PyModule_AddObjectRef(m, "boolop", state->boolop_type) < 0) {
  ------------------
  |  Branch (14577:9): [True: 0, False: 1]
  ------------------
14578|      0|        return -1;
14579|      0|    }
14580|      1|    if (PyModule_AddObjectRef(m, "And", state->And_type) < 0) {
  ------------------
  |  Branch (14580:9): [True: 0, False: 1]
  ------------------
14581|      0|        return -1;
14582|      0|    }
14583|      1|    if (PyModule_AddObjectRef(m, "Or", state->Or_type) < 0) {
  ------------------
  |  Branch (14583:9): [True: 0, False: 1]
  ------------------
14584|      0|        return -1;
14585|      0|    }
14586|      1|    if (PyModule_AddObjectRef(m, "operator", state->operator_type) < 0) {
  ------------------
  |  Branch (14586:9): [True: 0, False: 1]
  ------------------
14587|      0|        return -1;
14588|      0|    }
14589|      1|    if (PyModule_AddObjectRef(m, "Add", state->Add_type) < 0) {
  ------------------
  |  Branch (14589:9): [True: 0, False: 1]
  ------------------
14590|      0|        return -1;
14591|      0|    }
14592|      1|    if (PyModule_AddObjectRef(m, "Sub", state->Sub_type) < 0) {
  ------------------
  |  Branch (14592:9): [True: 0, False: 1]
  ------------------
14593|      0|        return -1;
14594|      0|    }
14595|      1|    if (PyModule_AddObjectRef(m, "Mult", state->Mult_type) < 0) {
  ------------------
  |  Branch (14595:9): [True: 0, False: 1]
  ------------------
14596|      0|        return -1;
14597|      0|    }
14598|      1|    if (PyModule_AddObjectRef(m, "MatMult", state->MatMult_type) < 0) {
  ------------------
  |  Branch (14598:9): [True: 0, False: 1]
  ------------------
14599|      0|        return -1;
14600|      0|    }
14601|      1|    if (PyModule_AddObjectRef(m, "Div", state->Div_type) < 0) {
  ------------------
  |  Branch (14601:9): [True: 0, False: 1]
  ------------------
14602|      0|        return -1;
14603|      0|    }
14604|      1|    if (PyModule_AddObjectRef(m, "Mod", state->Mod_type) < 0) {
  ------------------
  |  Branch (14604:9): [True: 0, False: 1]
  ------------------
14605|      0|        return -1;
14606|      0|    }
14607|      1|    if (PyModule_AddObjectRef(m, "Pow", state->Pow_type) < 0) {
  ------------------
  |  Branch (14607:9): [True: 0, False: 1]
  ------------------
14608|      0|        return -1;
14609|      0|    }
14610|      1|    if (PyModule_AddObjectRef(m, "LShift", state->LShift_type) < 0) {
  ------------------
  |  Branch (14610:9): [True: 0, False: 1]
  ------------------
14611|      0|        return -1;
14612|      0|    }
14613|      1|    if (PyModule_AddObjectRef(m, "RShift", state->RShift_type) < 0) {
  ------------------
  |  Branch (14613:9): [True: 0, False: 1]
  ------------------
14614|      0|        return -1;
14615|      0|    }
14616|      1|    if (PyModule_AddObjectRef(m, "BitOr", state->BitOr_type) < 0) {
  ------------------
  |  Branch (14616:9): [True: 0, False: 1]
  ------------------
14617|      0|        return -1;
14618|      0|    }
14619|      1|    if (PyModule_AddObjectRef(m, "BitXor", state->BitXor_type) < 0) {
  ------------------
  |  Branch (14619:9): [True: 0, False: 1]
  ------------------
14620|      0|        return -1;
14621|      0|    }
14622|      1|    if (PyModule_AddObjectRef(m, "BitAnd", state->BitAnd_type) < 0) {
  ------------------
  |  Branch (14622:9): [True: 0, False: 1]
  ------------------
14623|      0|        return -1;
14624|      0|    }
14625|      1|    if (PyModule_AddObjectRef(m, "FloorDiv", state->FloorDiv_type) < 0) {
  ------------------
  |  Branch (14625:9): [True: 0, False: 1]
  ------------------
14626|      0|        return -1;
14627|      0|    }
14628|      1|    if (PyModule_AddObjectRef(m, "unaryop", state->unaryop_type) < 0) {
  ------------------
  |  Branch (14628:9): [True: 0, False: 1]
  ------------------
14629|      0|        return -1;
14630|      0|    }
14631|      1|    if (PyModule_AddObjectRef(m, "Invert", state->Invert_type) < 0) {
  ------------------
  |  Branch (14631:9): [True: 0, False: 1]
  ------------------
14632|      0|        return -1;
14633|      0|    }
14634|      1|    if (PyModule_AddObjectRef(m, "Not", state->Not_type) < 0) {
  ------------------
  |  Branch (14634:9): [True: 0, False: 1]
  ------------------
14635|      0|        return -1;
14636|      0|    }
14637|      1|    if (PyModule_AddObjectRef(m, "UAdd", state->UAdd_type) < 0) {
  ------------------
  |  Branch (14637:9): [True: 0, False: 1]
  ------------------
14638|      0|        return -1;
14639|      0|    }
14640|      1|    if (PyModule_AddObjectRef(m, "USub", state->USub_type) < 0) {
  ------------------
  |  Branch (14640:9): [True: 0, False: 1]
  ------------------
14641|      0|        return -1;
14642|      0|    }
14643|      1|    if (PyModule_AddObjectRef(m, "cmpop", state->cmpop_type) < 0) {
  ------------------
  |  Branch (14643:9): [True: 0, False: 1]
  ------------------
14644|      0|        return -1;
14645|      0|    }
14646|      1|    if (PyModule_AddObjectRef(m, "Eq", state->Eq_type) < 0) {
  ------------------
  |  Branch (14646:9): [True: 0, False: 1]
  ------------------
14647|      0|        return -1;
14648|      0|    }
14649|      1|    if (PyModule_AddObjectRef(m, "NotEq", state->NotEq_type) < 0) {
  ------------------
  |  Branch (14649:9): [True: 0, False: 1]
  ------------------
14650|      0|        return -1;
14651|      0|    }
14652|      1|    if (PyModule_AddObjectRef(m, "Lt", state->Lt_type) < 0) {
  ------------------
  |  Branch (14652:9): [True: 0, False: 1]
  ------------------
14653|      0|        return -1;
14654|      0|    }
14655|      1|    if (PyModule_AddObjectRef(m, "LtE", state->LtE_type) < 0) {
  ------------------
  |  Branch (14655:9): [True: 0, False: 1]
  ------------------
14656|      0|        return -1;
14657|      0|    }
14658|      1|    if (PyModule_AddObjectRef(m, "Gt", state->Gt_type) < 0) {
  ------------------
  |  Branch (14658:9): [True: 0, False: 1]
  ------------------
14659|      0|        return -1;
14660|      0|    }
14661|      1|    if (PyModule_AddObjectRef(m, "GtE", state->GtE_type) < 0) {
  ------------------
  |  Branch (14661:9): [True: 0, False: 1]
  ------------------
14662|      0|        return -1;
14663|      0|    }
14664|      1|    if (PyModule_AddObjectRef(m, "Is", state->Is_type) < 0) {
  ------------------
  |  Branch (14664:9): [True: 0, False: 1]
  ------------------
14665|      0|        return -1;
14666|      0|    }
14667|      1|    if (PyModule_AddObjectRef(m, "IsNot", state->IsNot_type) < 0) {
  ------------------
  |  Branch (14667:9): [True: 0, False: 1]
  ------------------
14668|      0|        return -1;
14669|      0|    }
14670|      1|    if (PyModule_AddObjectRef(m, "In", state->In_type) < 0) {
  ------------------
  |  Branch (14670:9): [True: 0, False: 1]
  ------------------
14671|      0|        return -1;
14672|      0|    }
14673|      1|    if (PyModule_AddObjectRef(m, "NotIn", state->NotIn_type) < 0) {
  ------------------
  |  Branch (14673:9): [True: 0, False: 1]
  ------------------
14674|      0|        return -1;
14675|      0|    }
14676|      1|    if (PyModule_AddObjectRef(m, "comprehension", state->comprehension_type) <
  ------------------
  |  Branch (14676:9): [True: 0, False: 1]
  ------------------
14677|      1|        0) {
14678|      0|        return -1;
14679|      0|    }
14680|      1|    if (PyModule_AddObjectRef(m, "excepthandler", state->excepthandler_type) <
  ------------------
  |  Branch (14680:9): [True: 0, False: 1]
  ------------------
14681|      1|        0) {
14682|      0|        return -1;
14683|      0|    }
14684|      1|    if (PyModule_AddObjectRef(m, "ExceptHandler", state->ExceptHandler_type) <
  ------------------
  |  Branch (14684:9): [True: 0, False: 1]
  ------------------
14685|      1|        0) {
14686|      0|        return -1;
14687|      0|    }
14688|      1|    if (PyModule_AddObjectRef(m, "arguments", state->arguments_type) < 0) {
  ------------------
  |  Branch (14688:9): [True: 0, False: 1]
  ------------------
14689|      0|        return -1;
14690|      0|    }
14691|      1|    if (PyModule_AddObjectRef(m, "arg", state->arg_type) < 0) {
  ------------------
  |  Branch (14691:9): [True: 0, False: 1]
  ------------------
14692|      0|        return -1;
14693|      0|    }
14694|      1|    if (PyModule_AddObjectRef(m, "keyword", state->keyword_type) < 0) {
  ------------------
  |  Branch (14694:9): [True: 0, False: 1]
  ------------------
14695|      0|        return -1;
14696|      0|    }
14697|      1|    if (PyModule_AddObjectRef(m, "alias", state->alias_type) < 0) {
  ------------------
  |  Branch (14697:9): [True: 0, False: 1]
  ------------------
14698|      0|        return -1;
14699|      0|    }
14700|      1|    if (PyModule_AddObjectRef(m, "withitem", state->withitem_type) < 0) {
  ------------------
  |  Branch (14700:9): [True: 0, False: 1]
  ------------------
14701|      0|        return -1;
14702|      0|    }
14703|      1|    if (PyModule_AddObjectRef(m, "match_case", state->match_case_type) < 0) {
  ------------------
  |  Branch (14703:9): [True: 0, False: 1]
  ------------------
14704|      0|        return -1;
14705|      0|    }
14706|      1|    if (PyModule_AddObjectRef(m, "pattern", state->pattern_type) < 0) {
  ------------------
  |  Branch (14706:9): [True: 0, False: 1]
  ------------------
14707|      0|        return -1;
14708|      0|    }
14709|      1|    if (PyModule_AddObjectRef(m, "MatchValue", state->MatchValue_type) < 0) {
  ------------------
  |  Branch (14709:9): [True: 0, False: 1]
  ------------------
14710|      0|        return -1;
14711|      0|    }
14712|      1|    if (PyModule_AddObjectRef(m, "MatchSingleton", state->MatchSingleton_type)
  ------------------
  |  Branch (14712:9): [True: 0, False: 1]
  ------------------
14713|      1|        < 0) {
14714|      0|        return -1;
14715|      0|    }
14716|      1|    if (PyModule_AddObjectRef(m, "MatchSequence", state->MatchSequence_type) <
  ------------------
  |  Branch (14716:9): [True: 0, False: 1]
  ------------------
14717|      1|        0) {
14718|      0|        return -1;
14719|      0|    }
14720|      1|    if (PyModule_AddObjectRef(m, "MatchMapping", state->MatchMapping_type) < 0)
  ------------------
  |  Branch (14720:9): [True: 0, False: 1]
  ------------------
14721|      0|        {
14722|      0|        return -1;
14723|      0|    }
14724|      1|    if (PyModule_AddObjectRef(m, "MatchClass", state->MatchClass_type) < 0) {
  ------------------
  |  Branch (14724:9): [True: 0, False: 1]
  ------------------
14725|      0|        return -1;
14726|      0|    }
14727|      1|    if (PyModule_AddObjectRef(m, "MatchStar", state->MatchStar_type) < 0) {
  ------------------
  |  Branch (14727:9): [True: 0, False: 1]
  ------------------
14728|      0|        return -1;
14729|      0|    }
14730|      1|    if (PyModule_AddObjectRef(m, "MatchAs", state->MatchAs_type) < 0) {
  ------------------
  |  Branch (14730:9): [True: 0, False: 1]
  ------------------
14731|      0|        return -1;
14732|      0|    }
14733|      1|    if (PyModule_AddObjectRef(m, "MatchOr", state->MatchOr_type) < 0) {
  ------------------
  |  Branch (14733:9): [True: 0, False: 1]
  ------------------
14734|      0|        return -1;
14735|      0|    }
14736|      1|    if (PyModule_AddObjectRef(m, "type_ignore", state->type_ignore_type) < 0) {
  ------------------
  |  Branch (14736:9): [True: 0, False: 1]
  ------------------
14737|      0|        return -1;
14738|      0|    }
14739|      1|    if (PyModule_AddObjectRef(m, "TypeIgnore", state->TypeIgnore_type) < 0) {
  ------------------
  |  Branch (14739:9): [True: 0, False: 1]
  ------------------
14740|      0|        return -1;
14741|      0|    }
14742|      1|    if (PyModule_AddObjectRef(m, "type_param", state->type_param_type) < 0) {
  ------------------
  |  Branch (14742:9): [True: 0, False: 1]
  ------------------
14743|      0|        return -1;
14744|      0|    }
14745|      1|    if (PyModule_AddObjectRef(m, "TypeVar", state->TypeVar_type) < 0) {
  ------------------
  |  Branch (14745:9): [True: 0, False: 1]
  ------------------
14746|      0|        return -1;
14747|      0|    }
14748|      1|    if (PyModule_AddObjectRef(m, "ParamSpec", state->ParamSpec_type) < 0) {
  ------------------
  |  Branch (14748:9): [True: 0, False: 1]
  ------------------
14749|      0|        return -1;
14750|      0|    }
14751|      1|    if (PyModule_AddObjectRef(m, "TypeVarTuple", state->TypeVarTuple_type) < 0)
  ------------------
  |  Branch (14751:9): [True: 0, False: 1]
  ------------------
14752|      0|        {
14753|      0|        return -1;
14754|      0|    }
14755|      1|    return 0;
14756|      1|}
Python-ast.c:get_ast_state:
   22|     76|{
   23|     76|    PyInterpreterState *interp = _PyInterpreterState_GET();
   24|     76|    struct ast_state *state = &interp->ast;
   25|     76|    assert(!state->finalized);
  ------------------
  |  Branch (25:5): [True: 76, False: 0]
  ------------------
   26|     76|    if (_PyOnceFlag_CallOnce(&state->once, (_Py_once_fn_t *)&init_types, state) < 0) {
  ------------------
  |  Branch (26:9): [True: 0, False: 76]
  ------------------
   27|      0|        return NULL;
   28|      0|    }
   29|     76|    return state;
   30|     76|}
Python-ast.c:init_types:
 2352|      1|{
 2353|      1|    struct ast_state *state = arg;
 2354|      1|    if (init_identifiers(state) < 0) {
  ------------------
  |  Branch (2354:9): [True: 0, False: 1]
  ------------------
 2355|      0|        return -1;
 2356|      0|    }
 2357|      1|    state->AST_type = PyType_FromSpec(&AST_type_spec);
 2358|      1|    if (!state->AST_type) {
  ------------------
  |  Branch (2358:9): [True: 0, False: 1]
  ------------------
 2359|      0|        return -1;
 2360|      0|    }
 2361|      1|    state->abstract_types = PySet_New(NULL);
 2362|      1|    if (!state->abstract_types) {
  ------------------
  |  Branch (2362:9): [True: 0, False: 1]
  ------------------
 2363|      0|        return -1;
 2364|      0|    }
 2365|      1|    if (PySet_Add(state->abstract_types, state->AST_type) < 0) {
  ------------------
  |  Branch (2365:9): [True: 0, False: 1]
  ------------------
 2366|      0|        return -1;
 2367|      0|    }
 2368|      1|    if (add_ast_fields(state) < 0) {
  ------------------
  |  Branch (2368:9): [True: 0, False: 1]
  ------------------
 2369|      0|        return -1;
 2370|      0|    }
 2371|      1|    state->mod_type = make_type(state, "mod", state->AST_type, NULL, 0,
 2372|      1|        "mod = Module(stmt* body, type_ignore* type_ignores)\n"
 2373|      1|        "    | Interactive(stmt* body)\n"
 2374|      1|        "    | Expression(expr body)\n"
 2375|      1|        "    | FunctionType(expr* argtypes, expr returns)");
 2376|      1|    if (!state->mod_type) return -1;
  ------------------
  |  Branch (2376:9): [True: 0, False: 1]
  ------------------
 2377|      1|    if (add_attributes(state, state->mod_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (2377:9): [True: 0, False: 1]
  ------------------
 2378|      1|    if (PySet_Add(state->abstract_types, state->mod_type) < 0) return -1;
  ------------------
  |  Branch (2378:9): [True: 0, False: 1]
  ------------------
 2379|      1|    state->Module_type = make_type(state, "Module", state->mod_type,
 2380|      1|                                   Module_fields, 2,
 2381|      1|        "Module(stmt* body, type_ignore* type_ignores)");
 2382|      1|    if (!state->Module_type) return -1;
  ------------------
  |  Branch (2382:9): [True: 0, False: 1]
  ------------------
 2383|      1|    state->Interactive_type = make_type(state, "Interactive", state->mod_type,
 2384|      1|                                        Interactive_fields, 1,
 2385|      1|        "Interactive(stmt* body)");
 2386|      1|    if (!state->Interactive_type) return -1;
  ------------------
  |  Branch (2386:9): [True: 0, False: 1]
  ------------------
 2387|      1|    state->Expression_type = make_type(state, "Expression", state->mod_type,
 2388|      1|                                       Expression_fields, 1,
 2389|      1|        "Expression(expr body)");
 2390|      1|    if (!state->Expression_type) return -1;
  ------------------
  |  Branch (2390:9): [True: 0, False: 1]
  ------------------
 2391|      1|    state->FunctionType_type = make_type(state, "FunctionType",
 2392|      1|                                         state->mod_type, FunctionType_fields,
 2393|      1|                                         2,
 2394|      1|        "FunctionType(expr* argtypes, expr returns)");
 2395|      1|    if (!state->FunctionType_type) return -1;
  ------------------
  |  Branch (2395:9): [True: 0, False: 1]
  ------------------
 2396|      1|    state->stmt_type = make_type(state, "stmt", state->AST_type, NULL, 0,
 2397|      1|        "stmt = FunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)\n"
 2398|      1|        "     | AsyncFunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)\n"
 2399|      1|        "     | ClassDef(identifier name, expr* bases, keyword* keywords, stmt* body, expr* decorator_list, type_param* type_params)\n"
 2400|      1|        "     | Return(expr? value)\n"
 2401|      1|        "     | Delete(expr* targets)\n"
 2402|      1|        "     | Assign(expr* targets, expr value, string? type_comment)\n"
 2403|      1|        "     | TypeAlias(expr name, type_param* type_params, expr value)\n"
 2404|      1|        "     | AugAssign(expr target, operator op, expr value)\n"
 2405|      1|        "     | AnnAssign(expr target, expr annotation, expr? value, int simple)\n"
 2406|      1|        "     | For(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)\n"
 2407|      1|        "     | AsyncFor(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)\n"
 2408|      1|        "     | While(expr test, stmt* body, stmt* orelse)\n"
 2409|      1|        "     | If(expr test, stmt* body, stmt* orelse)\n"
 2410|      1|        "     | With(withitem* items, stmt* body, string? type_comment)\n"
 2411|      1|        "     | AsyncWith(withitem* items, stmt* body, string? type_comment)\n"
 2412|      1|        "     | Match(expr subject, match_case* cases)\n"
 2413|      1|        "     | Raise(expr? exc, expr? cause)\n"
 2414|      1|        "     | Try(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)\n"
 2415|      1|        "     | TryStar(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)\n"
 2416|      1|        "     | Assert(expr test, expr? msg)\n"
 2417|      1|        "     | Import(alias* names, int? is_lazy)\n"
 2418|      1|        "     | ImportFrom(identifier? module, alias* names, int? level, int? is_lazy)\n"
 2419|      1|        "     | Global(identifier* names)\n"
 2420|      1|        "     | Nonlocal(identifier* names)\n"
 2421|      1|        "     | Expr(expr value)\n"
 2422|      1|        "     | Pass\n"
 2423|      1|        "     | Break\n"
 2424|      1|        "     | Continue");
 2425|      1|    if (!state->stmt_type) return -1;
  ------------------
  |  Branch (2425:9): [True: 0, False: 1]
  ------------------
 2426|      1|    if (add_attributes(state, state->stmt_type, stmt_attributes, 4) < 0) return
  ------------------
  |  Branch (2426:9): [True: 0, False: 1]
  ------------------
 2427|      0|        -1;
 2428|      1|    if (PySet_Add(state->abstract_types, state->stmt_type) < 0) return -1;
  ------------------
  |  Branch (2428:9): [True: 0, False: 1]
  ------------------
 2429|      1|    if (PyObject_SetAttr(state->stmt_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2429:9): [True: 0, False: 1]
  ------------------
 2430|      0|        return -1;
 2431|      1|    if (PyObject_SetAttr(state->stmt_type, state->end_col_offset, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2431:9): [True: 0, False: 1]
  ------------------
 2432|      1|        -1)
 2433|      0|        return -1;
 2434|      1|    state->FunctionDef_type = make_type(state, "FunctionDef", state->stmt_type,
 2435|      1|                                        FunctionDef_fields, 7,
 2436|      1|        "FunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)");
 2437|      1|    if (!state->FunctionDef_type) return -1;
  ------------------
  |  Branch (2437:9): [True: 0, False: 1]
  ------------------
 2438|      1|    if (PyObject_SetAttr(state->FunctionDef_type, state->returns, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2438:9): [True: 0, False: 1]
  ------------------
 2439|      1|        -1)
 2440|      0|        return -1;
 2441|      1|    if (PyObject_SetAttr(state->FunctionDef_type, state->type_comment, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2441:9): [True: 0, False: 1]
  ------------------
 2442|      1|        == -1)
 2443|      0|        return -1;
 2444|      1|    state->AsyncFunctionDef_type = make_type(state, "AsyncFunctionDef",
 2445|      1|                                             state->stmt_type,
 2446|      1|                                             AsyncFunctionDef_fields, 7,
 2447|      1|        "AsyncFunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)");
 2448|      1|    if (!state->AsyncFunctionDef_type) return -1;
  ------------------
  |  Branch (2448:9): [True: 0, False: 1]
  ------------------
 2449|      1|    if (PyObject_SetAttr(state->AsyncFunctionDef_type, state->returns, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2449:9): [True: 0, False: 1]
  ------------------
 2450|      1|        == -1)
 2451|      0|        return -1;
 2452|      1|    if (PyObject_SetAttr(state->AsyncFunctionDef_type, state->type_comment,
  ------------------
  |  Branch (2452:9): [True: 0, False: 1]
  ------------------
 2453|      1|        Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2454|      0|        return -1;
 2455|      1|    state->ClassDef_type = make_type(state, "ClassDef", state->stmt_type,
 2456|      1|                                     ClassDef_fields, 6,
 2457|      1|        "ClassDef(identifier name, expr* bases, keyword* keywords, stmt* body, expr* decorator_list, type_param* type_params)");
 2458|      1|    if (!state->ClassDef_type) return -1;
  ------------------
  |  Branch (2458:9): [True: 0, False: 1]
  ------------------
 2459|      1|    state->Return_type = make_type(state, "Return", state->stmt_type,
 2460|      1|                                   Return_fields, 1,
 2461|      1|        "Return(expr? value)");
 2462|      1|    if (!state->Return_type) return -1;
  ------------------
  |  Branch (2462:9): [True: 0, False: 1]
  ------------------
 2463|      1|    if (PyObject_SetAttr(state->Return_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2463:9): [True: 0, False: 1]
  ------------------
 2464|      0|        return -1;
 2465|      1|    state->Delete_type = make_type(state, "Delete", state->stmt_type,
 2466|      1|                                   Delete_fields, 1,
 2467|      1|        "Delete(expr* targets)");
 2468|      1|    if (!state->Delete_type) return -1;
  ------------------
  |  Branch (2468:9): [True: 0, False: 1]
  ------------------
 2469|      1|    state->Assign_type = make_type(state, "Assign", state->stmt_type,
 2470|      1|                                   Assign_fields, 3,
 2471|      1|        "Assign(expr* targets, expr value, string? type_comment)");
 2472|      1|    if (!state->Assign_type) return -1;
  ------------------
  |  Branch (2472:9): [True: 0, False: 1]
  ------------------
 2473|      1|    if (PyObject_SetAttr(state->Assign_type, state->type_comment, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2473:9): [True: 0, False: 1]
  ------------------
 2474|      1|        -1)
 2475|      0|        return -1;
 2476|      1|    state->TypeAlias_type = make_type(state, "TypeAlias", state->stmt_type,
 2477|      1|                                      TypeAlias_fields, 3,
 2478|      1|        "TypeAlias(expr name, type_param* type_params, expr value)");
 2479|      1|    if (!state->TypeAlias_type) return -1;
  ------------------
  |  Branch (2479:9): [True: 0, False: 1]
  ------------------
 2480|      1|    state->AugAssign_type = make_type(state, "AugAssign", state->stmt_type,
 2481|      1|                                      AugAssign_fields, 3,
 2482|      1|        "AugAssign(expr target, operator op, expr value)");
 2483|      1|    if (!state->AugAssign_type) return -1;
  ------------------
  |  Branch (2483:9): [True: 0, False: 1]
  ------------------
 2484|      1|    state->AnnAssign_type = make_type(state, "AnnAssign", state->stmt_type,
 2485|      1|                                      AnnAssign_fields, 4,
 2486|      1|        "AnnAssign(expr target, expr annotation, expr? value, int simple)");
 2487|      1|    if (!state->AnnAssign_type) return -1;
  ------------------
  |  Branch (2487:9): [True: 0, False: 1]
  ------------------
 2488|      1|    if (PyObject_SetAttr(state->AnnAssign_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2488:9): [True: 0, False: 1]
  ------------------
 2489|      0|        return -1;
 2490|      1|    state->For_type = make_type(state, "For", state->stmt_type, For_fields, 5,
 2491|      1|        "For(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)");
 2492|      1|    if (!state->For_type) return -1;
  ------------------
  |  Branch (2492:9): [True: 0, False: 1]
  ------------------
 2493|      1|    if (PyObject_SetAttr(state->For_type, state->type_comment, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2493:9): [True: 0, False: 1]
  ------------------
 2494|      0|        return -1;
 2495|      1|    state->AsyncFor_type = make_type(state, "AsyncFor", state->stmt_type,
 2496|      1|                                     AsyncFor_fields, 5,
 2497|      1|        "AsyncFor(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)");
 2498|      1|    if (!state->AsyncFor_type) return -1;
  ------------------
  |  Branch (2498:9): [True: 0, False: 1]
  ------------------
 2499|      1|    if (PyObject_SetAttr(state->AsyncFor_type, state->type_comment, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2499:9): [True: 0, False: 1]
  ------------------
 2500|      1|        -1)
 2501|      0|        return -1;
 2502|      1|    state->While_type = make_type(state, "While", state->stmt_type,
 2503|      1|                                  While_fields, 3,
 2504|      1|        "While(expr test, stmt* body, stmt* orelse)");
 2505|      1|    if (!state->While_type) return -1;
  ------------------
  |  Branch (2505:9): [True: 0, False: 1]
  ------------------
 2506|      1|    state->If_type = make_type(state, "If", state->stmt_type, If_fields, 3,
 2507|      1|        "If(expr test, stmt* body, stmt* orelse)");
 2508|      1|    if (!state->If_type) return -1;
  ------------------
  |  Branch (2508:9): [True: 0, False: 1]
  ------------------
 2509|      1|    state->With_type = make_type(state, "With", state->stmt_type, With_fields,
 2510|      1|                                 3,
 2511|      1|        "With(withitem* items, stmt* body, string? type_comment)");
 2512|      1|    if (!state->With_type) return -1;
  ------------------
  |  Branch (2512:9): [True: 0, False: 1]
  ------------------
 2513|      1|    if (PyObject_SetAttr(state->With_type, state->type_comment, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2513:9): [True: 0, False: 1]
  ------------------
 2514|      0|        return -1;
 2515|      1|    state->AsyncWith_type = make_type(state, "AsyncWith", state->stmt_type,
 2516|      1|                                      AsyncWith_fields, 3,
 2517|      1|        "AsyncWith(withitem* items, stmt* body, string? type_comment)");
 2518|      1|    if (!state->AsyncWith_type) return -1;
  ------------------
  |  Branch (2518:9): [True: 0, False: 1]
  ------------------
 2519|      1|    if (PyObject_SetAttr(state->AsyncWith_type, state->type_comment, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2519:9): [True: 0, False: 1]
  ------------------
 2520|      1|        == -1)
 2521|      0|        return -1;
 2522|      1|    state->Match_type = make_type(state, "Match", state->stmt_type,
 2523|      1|                                  Match_fields, 2,
 2524|      1|        "Match(expr subject, match_case* cases)");
 2525|      1|    if (!state->Match_type) return -1;
  ------------------
  |  Branch (2525:9): [True: 0, False: 1]
  ------------------
 2526|      1|    state->Raise_type = make_type(state, "Raise", state->stmt_type,
 2527|      1|                                  Raise_fields, 2,
 2528|      1|        "Raise(expr? exc, expr? cause)");
 2529|      1|    if (!state->Raise_type) return -1;
  ------------------
  |  Branch (2529:9): [True: 0, False: 1]
  ------------------
 2530|      1|    if (PyObject_SetAttr(state->Raise_type, state->exc, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2530:9): [True: 0, False: 1]
  ------------------
 2531|      0|        return -1;
 2532|      1|    if (PyObject_SetAttr(state->Raise_type, state->cause, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2532:9): [True: 0, False: 1]
  ------------------
 2533|      0|        return -1;
 2534|      1|    state->Try_type = make_type(state, "Try", state->stmt_type, Try_fields, 4,
 2535|      1|        "Try(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)");
 2536|      1|    if (!state->Try_type) return -1;
  ------------------
  |  Branch (2536:9): [True: 0, False: 1]
  ------------------
 2537|      1|    state->TryStar_type = make_type(state, "TryStar", state->stmt_type,
 2538|      1|                                    TryStar_fields, 4,
 2539|      1|        "TryStar(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)");
 2540|      1|    if (!state->TryStar_type) return -1;
  ------------------
  |  Branch (2540:9): [True: 0, False: 1]
  ------------------
 2541|      1|    state->Assert_type = make_type(state, "Assert", state->stmt_type,
 2542|      1|                                   Assert_fields, 2,
 2543|      1|        "Assert(expr test, expr? msg)");
 2544|      1|    if (!state->Assert_type) return -1;
  ------------------
  |  Branch (2544:9): [True: 0, False: 1]
  ------------------
 2545|      1|    if (PyObject_SetAttr(state->Assert_type, state->msg, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2545:9): [True: 0, False: 1]
  ------------------
 2546|      0|        return -1;
 2547|      1|    state->Import_type = make_type(state, "Import", state->stmt_type,
 2548|      1|                                   Import_fields, 2,
 2549|      1|        "Import(alias* names, int? is_lazy)");
 2550|      1|    if (!state->Import_type) return -1;
  ------------------
  |  Branch (2550:9): [True: 0, False: 1]
  ------------------
 2551|      1|    if (PyObject_SetAttr(state->Import_type, state->is_lazy, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2551:9): [True: 0, False: 1]
  ------------------
 2552|      0|        return -1;
 2553|      1|    state->ImportFrom_type = make_type(state, "ImportFrom", state->stmt_type,
 2554|      1|                                       ImportFrom_fields, 4,
 2555|      1|        "ImportFrom(identifier? module, alias* names, int? level, int? is_lazy)");
 2556|      1|    if (!state->ImportFrom_type) return -1;
  ------------------
  |  Branch (2556:9): [True: 0, False: 1]
  ------------------
 2557|      1|    if (PyObject_SetAttr(state->ImportFrom_type, state->module, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2557:9): [True: 0, False: 1]
  ------------------
 2558|      0|        return -1;
 2559|      1|    if (PyObject_SetAttr(state->ImportFrom_type, state->level, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2559:9): [True: 0, False: 1]
  ------------------
 2560|      0|        return -1;
 2561|      1|    if (PyObject_SetAttr(state->ImportFrom_type, state->is_lazy, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2561:9): [True: 0, False: 1]
  ------------------
 2562|      0|        return -1;
 2563|      1|    state->Global_type = make_type(state, "Global", state->stmt_type,
 2564|      1|                                   Global_fields, 1,
 2565|      1|        "Global(identifier* names)");
 2566|      1|    if (!state->Global_type) return -1;
  ------------------
  |  Branch (2566:9): [True: 0, False: 1]
  ------------------
 2567|      1|    state->Nonlocal_type = make_type(state, "Nonlocal", state->stmt_type,
 2568|      1|                                     Nonlocal_fields, 1,
 2569|      1|        "Nonlocal(identifier* names)");
 2570|      1|    if (!state->Nonlocal_type) return -1;
  ------------------
  |  Branch (2570:9): [True: 0, False: 1]
  ------------------
 2571|      1|    state->Expr_type = make_type(state, "Expr", state->stmt_type, Expr_fields,
 2572|      1|                                 1,
 2573|      1|        "Expr(expr value)");
 2574|      1|    if (!state->Expr_type) return -1;
  ------------------
  |  Branch (2574:9): [True: 0, False: 1]
  ------------------
 2575|      1|    state->Pass_type = make_type(state, "Pass", state->stmt_type, NULL, 0,
 2576|      1|        "Pass");
 2577|      1|    if (!state->Pass_type) return -1;
  ------------------
  |  Branch (2577:9): [True: 0, False: 1]
  ------------------
 2578|      1|    state->Break_type = make_type(state, "Break", state->stmt_type, NULL, 0,
 2579|      1|        "Break");
 2580|      1|    if (!state->Break_type) return -1;
  ------------------
  |  Branch (2580:9): [True: 0, False: 1]
  ------------------
 2581|      1|    state->Continue_type = make_type(state, "Continue", state->stmt_type, NULL,
 2582|      1|                                     0,
 2583|      1|        "Continue");
 2584|      1|    if (!state->Continue_type) return -1;
  ------------------
  |  Branch (2584:9): [True: 0, False: 1]
  ------------------
 2585|      1|    state->expr_type = make_type(state, "expr", state->AST_type, NULL, 0,
 2586|      1|        "expr = BoolOp(boolop op, expr* values)\n"
 2587|      1|        "     | NamedExpr(expr target, expr value)\n"
 2588|      1|        "     | BinOp(expr left, operator op, expr right)\n"
 2589|      1|        "     | UnaryOp(unaryop op, expr operand)\n"
 2590|      1|        "     | Lambda(arguments args, expr body)\n"
 2591|      1|        "     | IfExp(expr test, expr body, expr orelse)\n"
 2592|      1|        "     | Dict(expr?* keys, expr* values)\n"
 2593|      1|        "     | Set(expr* elts)\n"
 2594|      1|        "     | ListComp(expr elt, comprehension* generators)\n"
 2595|      1|        "     | SetComp(expr elt, comprehension* generators)\n"
 2596|      1|        "     | DictComp(expr key, expr? value, comprehension* generators)\n"
 2597|      1|        "     | GeneratorExp(expr elt, comprehension* generators)\n"
 2598|      1|        "     | Await(expr value)\n"
 2599|      1|        "     | Yield(expr? value)\n"
 2600|      1|        "     | YieldFrom(expr value)\n"
 2601|      1|        "     | Compare(expr left, cmpop* ops, expr* comparators)\n"
 2602|      1|        "     | Call(expr func, expr* args, keyword* keywords)\n"
 2603|      1|        "     | FormattedValue(expr value, int conversion, expr? format_spec)\n"
 2604|      1|        "     | Interpolation(expr value, constant str, int conversion, expr? format_spec)\n"
 2605|      1|        "     | JoinedStr(expr* values)\n"
 2606|      1|        "     | TemplateStr(expr* values)\n"
 2607|      1|        "     | Constant(constant value, string? kind)\n"
 2608|      1|        "     | Attribute(expr value, identifier attr, expr_context ctx)\n"
 2609|      1|        "     | Subscript(expr value, expr slice, expr_context ctx)\n"
 2610|      1|        "     | Starred(expr value, expr_context ctx)\n"
 2611|      1|        "     | Name(identifier id, expr_context ctx)\n"
 2612|      1|        "     | List(expr* elts, expr_context ctx)\n"
 2613|      1|        "     | Tuple(expr* elts, expr_context ctx)\n"
 2614|      1|        "     | Slice(expr? lower, expr? upper, expr? step)");
 2615|      1|    if (!state->expr_type) return -1;
  ------------------
  |  Branch (2615:9): [True: 0, False: 1]
  ------------------
 2616|      1|    if (add_attributes(state, state->expr_type, expr_attributes, 4) < 0) return
  ------------------
  |  Branch (2616:9): [True: 0, False: 1]
  ------------------
 2617|      0|        -1;
 2618|      1|    if (PySet_Add(state->abstract_types, state->expr_type) < 0) return -1;
  ------------------
  |  Branch (2618:9): [True: 0, False: 1]
  ------------------
 2619|      1|    if (PyObject_SetAttr(state->expr_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2619:9): [True: 0, False: 1]
  ------------------
 2620|      0|        return -1;
 2621|      1|    if (PyObject_SetAttr(state->expr_type, state->end_col_offset, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2621:9): [True: 0, False: 1]
  ------------------
 2622|      1|        -1)
 2623|      0|        return -1;
 2624|      1|    state->BoolOp_type = make_type(state, "BoolOp", state->expr_type,
 2625|      1|                                   BoolOp_fields, 2,
 2626|      1|        "BoolOp(boolop op, expr* values)");
 2627|      1|    if (!state->BoolOp_type) return -1;
  ------------------
  |  Branch (2627:9): [True: 0, False: 1]
  ------------------
 2628|      1|    state->NamedExpr_type = make_type(state, "NamedExpr", state->expr_type,
 2629|      1|                                      NamedExpr_fields, 2,
 2630|      1|        "NamedExpr(expr target, expr value)");
 2631|      1|    if (!state->NamedExpr_type) return -1;
  ------------------
  |  Branch (2631:9): [True: 0, False: 1]
  ------------------
 2632|      1|    state->BinOp_type = make_type(state, "BinOp", state->expr_type,
 2633|      1|                                  BinOp_fields, 3,
 2634|      1|        "BinOp(expr left, operator op, expr right)");
 2635|      1|    if (!state->BinOp_type) return -1;
  ------------------
  |  Branch (2635:9): [True: 0, False: 1]
  ------------------
 2636|      1|    state->UnaryOp_type = make_type(state, "UnaryOp", state->expr_type,
 2637|      1|                                    UnaryOp_fields, 2,
 2638|      1|        "UnaryOp(unaryop op, expr operand)");
 2639|      1|    if (!state->UnaryOp_type) return -1;
  ------------------
  |  Branch (2639:9): [True: 0, False: 1]
  ------------------
 2640|      1|    state->Lambda_type = make_type(state, "Lambda", state->expr_type,
 2641|      1|                                   Lambda_fields, 2,
 2642|      1|        "Lambda(arguments args, expr body)");
 2643|      1|    if (!state->Lambda_type) return -1;
  ------------------
  |  Branch (2643:9): [True: 0, False: 1]
  ------------------
 2644|      1|    state->IfExp_type = make_type(state, "IfExp", state->expr_type,
 2645|      1|                                  IfExp_fields, 3,
 2646|      1|        "IfExp(expr test, expr body, expr orelse)");
 2647|      1|    if (!state->IfExp_type) return -1;
  ------------------
  |  Branch (2647:9): [True: 0, False: 1]
  ------------------
 2648|      1|    state->Dict_type = make_type(state, "Dict", state->expr_type, Dict_fields,
 2649|      1|                                 2,
 2650|      1|        "Dict(expr?* keys, expr* values)");
 2651|      1|    if (!state->Dict_type) return -1;
  ------------------
  |  Branch (2651:9): [True: 0, False: 1]
  ------------------
 2652|      1|    state->Set_type = make_type(state, "Set", state->expr_type, Set_fields, 1,
 2653|      1|        "Set(expr* elts)");
 2654|      1|    if (!state->Set_type) return -1;
  ------------------
  |  Branch (2654:9): [True: 0, False: 1]
  ------------------
 2655|      1|    state->ListComp_type = make_type(state, "ListComp", state->expr_type,
 2656|      1|                                     ListComp_fields, 2,
 2657|      1|        "ListComp(expr elt, comprehension* generators)");
 2658|      1|    if (!state->ListComp_type) return -1;
  ------------------
  |  Branch (2658:9): [True: 0, False: 1]
  ------------------
 2659|      1|    state->SetComp_type = make_type(state, "SetComp", state->expr_type,
 2660|      1|                                    SetComp_fields, 2,
 2661|      1|        "SetComp(expr elt, comprehension* generators)");
 2662|      1|    if (!state->SetComp_type) return -1;
  ------------------
  |  Branch (2662:9): [True: 0, False: 1]
  ------------------
 2663|      1|    state->DictComp_type = make_type(state, "DictComp", state->expr_type,
 2664|      1|                                     DictComp_fields, 3,
 2665|      1|        "DictComp(expr key, expr? value, comprehension* generators)");
 2666|      1|    if (!state->DictComp_type) return -1;
  ------------------
  |  Branch (2666:9): [True: 0, False: 1]
  ------------------
 2667|      1|    if (PyObject_SetAttr(state->DictComp_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2667:9): [True: 0, False: 1]
  ------------------
 2668|      0|        return -1;
 2669|      1|    state->GeneratorExp_type = make_type(state, "GeneratorExp",
 2670|      1|                                         state->expr_type, GeneratorExp_fields,
 2671|      1|                                         2,
 2672|      1|        "GeneratorExp(expr elt, comprehension* generators)");
 2673|      1|    if (!state->GeneratorExp_type) return -1;
  ------------------
  |  Branch (2673:9): [True: 0, False: 1]
  ------------------
 2674|      1|    state->Await_type = make_type(state, "Await", state->expr_type,
 2675|      1|                                  Await_fields, 1,
 2676|      1|        "Await(expr value)");
 2677|      1|    if (!state->Await_type) return -1;
  ------------------
  |  Branch (2677:9): [True: 0, False: 1]
  ------------------
 2678|      1|    state->Yield_type = make_type(state, "Yield", state->expr_type,
 2679|      1|                                  Yield_fields, 1,
 2680|      1|        "Yield(expr? value)");
 2681|      1|    if (!state->Yield_type) return -1;
  ------------------
  |  Branch (2681:9): [True: 0, False: 1]
  ------------------
 2682|      1|    if (PyObject_SetAttr(state->Yield_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2682:9): [True: 0, False: 1]
  ------------------
 2683|      0|        return -1;
 2684|      1|    state->YieldFrom_type = make_type(state, "YieldFrom", state->expr_type,
 2685|      1|                                      YieldFrom_fields, 1,
 2686|      1|        "YieldFrom(expr value)");
 2687|      1|    if (!state->YieldFrom_type) return -1;
  ------------------
  |  Branch (2687:9): [True: 0, False: 1]
  ------------------
 2688|      1|    state->Compare_type = make_type(state, "Compare", state->expr_type,
 2689|      1|                                    Compare_fields, 3,
 2690|      1|        "Compare(expr left, cmpop* ops, expr* comparators)");
 2691|      1|    if (!state->Compare_type) return -1;
  ------------------
  |  Branch (2691:9): [True: 0, False: 1]
  ------------------
 2692|      1|    state->Call_type = make_type(state, "Call", state->expr_type, Call_fields,
 2693|      1|                                 3,
 2694|      1|        "Call(expr func, expr* args, keyword* keywords)");
 2695|      1|    if (!state->Call_type) return -1;
  ------------------
  |  Branch (2695:9): [True: 0, False: 1]
  ------------------
 2696|      1|    state->FormattedValue_type = make_type(state, "FormattedValue",
 2697|      1|                                           state->expr_type,
 2698|      1|                                           FormattedValue_fields, 3,
 2699|      1|        "FormattedValue(expr value, int conversion, expr? format_spec)");
 2700|      1|    if (!state->FormattedValue_type) return -1;
  ------------------
  |  Branch (2700:9): [True: 0, False: 1]
  ------------------
 2701|      1|    if (PyObject_SetAttr(state->FormattedValue_type, state->format_spec,
  ------------------
  |  Branch (2701:9): [True: 0, False: 1]
  ------------------
 2702|      1|        Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2703|      0|        return -1;
 2704|      1|    state->Interpolation_type = make_type(state, "Interpolation",
 2705|      1|                                          state->expr_type,
 2706|      1|                                          Interpolation_fields, 4,
 2707|      1|        "Interpolation(expr value, constant str, int conversion, expr? format_spec)");
 2708|      1|    if (!state->Interpolation_type) return -1;
  ------------------
  |  Branch (2708:9): [True: 0, False: 1]
  ------------------
 2709|      1|    if (PyObject_SetAttr(state->Interpolation_type, state->format_spec,
  ------------------
  |  Branch (2709:9): [True: 0, False: 1]
  ------------------
 2710|      1|        Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2711|      0|        return -1;
 2712|      1|    state->JoinedStr_type = make_type(state, "JoinedStr", state->expr_type,
 2713|      1|                                      JoinedStr_fields, 1,
 2714|      1|        "JoinedStr(expr* values)");
 2715|      1|    if (!state->JoinedStr_type) return -1;
  ------------------
  |  Branch (2715:9): [True: 0, False: 1]
  ------------------
 2716|      1|    state->TemplateStr_type = make_type(state, "TemplateStr", state->expr_type,
 2717|      1|                                        TemplateStr_fields, 1,
 2718|      1|        "TemplateStr(expr* values)");
 2719|      1|    if (!state->TemplateStr_type) return -1;
  ------------------
  |  Branch (2719:9): [True: 0, False: 1]
  ------------------
 2720|      1|    state->Constant_type = make_type(state, "Constant", state->expr_type,
 2721|      1|                                     Constant_fields, 2,
 2722|      1|        "Constant(constant value, string? kind)");
 2723|      1|    if (!state->Constant_type) return -1;
  ------------------
  |  Branch (2723:9): [True: 0, False: 1]
  ------------------
 2724|      1|    if (PyObject_SetAttr(state->Constant_type, state->kind, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2724:9): [True: 0, False: 1]
  ------------------
 2725|      0|        return -1;
 2726|      1|    state->Attribute_type = make_type(state, "Attribute", state->expr_type,
 2727|      1|                                      Attribute_fields, 3,
 2728|      1|        "Attribute(expr value, identifier attr, expr_context ctx)");
 2729|      1|    if (!state->Attribute_type) return -1;
  ------------------
  |  Branch (2729:9): [True: 0, False: 1]
  ------------------
 2730|      1|    state->Subscript_type = make_type(state, "Subscript", state->expr_type,
 2731|      1|                                      Subscript_fields, 3,
 2732|      1|        "Subscript(expr value, expr slice, expr_context ctx)");
 2733|      1|    if (!state->Subscript_type) return -1;
  ------------------
  |  Branch (2733:9): [True: 0, False: 1]
  ------------------
 2734|      1|    state->Starred_type = make_type(state, "Starred", state->expr_type,
 2735|      1|                                    Starred_fields, 2,
 2736|      1|        "Starred(expr value, expr_context ctx)");
 2737|      1|    if (!state->Starred_type) return -1;
  ------------------
  |  Branch (2737:9): [True: 0, False: 1]
  ------------------
 2738|      1|    state->Name_type = make_type(state, "Name", state->expr_type, Name_fields,
 2739|      1|                                 2,
 2740|      1|        "Name(identifier id, expr_context ctx)");
 2741|      1|    if (!state->Name_type) return -1;
  ------------------
  |  Branch (2741:9): [True: 0, False: 1]
  ------------------
 2742|      1|    state->List_type = make_type(state, "List", state->expr_type, List_fields,
 2743|      1|                                 2,
 2744|      1|        "List(expr* elts, expr_context ctx)");
 2745|      1|    if (!state->List_type) return -1;
  ------------------
  |  Branch (2745:9): [True: 0, False: 1]
  ------------------
 2746|      1|    state->Tuple_type = make_type(state, "Tuple", state->expr_type,
 2747|      1|                                  Tuple_fields, 2,
 2748|      1|        "Tuple(expr* elts, expr_context ctx)");
 2749|      1|    if (!state->Tuple_type) return -1;
  ------------------
  |  Branch (2749:9): [True: 0, False: 1]
  ------------------
 2750|      1|    state->Slice_type = make_type(state, "Slice", state->expr_type,
 2751|      1|                                  Slice_fields, 3,
 2752|      1|        "Slice(expr? lower, expr? upper, expr? step)");
 2753|      1|    if (!state->Slice_type) return -1;
  ------------------
  |  Branch (2753:9): [True: 0, False: 1]
  ------------------
 2754|      1|    if (PyObject_SetAttr(state->Slice_type, state->lower, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2754:9): [True: 0, False: 1]
  ------------------
 2755|      0|        return -1;
 2756|      1|    if (PyObject_SetAttr(state->Slice_type, state->upper, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2756:9): [True: 0, False: 1]
  ------------------
 2757|      0|        return -1;
 2758|      1|    if (PyObject_SetAttr(state->Slice_type, state->step, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2758:9): [True: 0, False: 1]
  ------------------
 2759|      0|        return -1;
 2760|      1|    state->expr_context_type = make_type(state, "expr_context",
 2761|      1|                                         state->AST_type, NULL, 0,
 2762|      1|        "expr_context = Load | Store | Del");
 2763|      1|    if (!state->expr_context_type) return -1;
  ------------------
  |  Branch (2763:9): [True: 0, False: 1]
  ------------------
 2764|      1|    if (add_attributes(state, state->expr_context_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (2764:9): [True: 0, False: 1]
  ------------------
 2765|      1|    if (PySet_Add(state->abstract_types, state->expr_context_type) < 0) return
  ------------------
  |  Branch (2765:9): [True: 0, False: 1]
  ------------------
 2766|      0|        -1;
 2767|      1|    state->Load_type = make_type(state, "Load", state->expr_context_type, NULL,
 2768|      1|                                 0,
 2769|      1|        "Load");
 2770|      1|    if (!state->Load_type) return -1;
  ------------------
  |  Branch (2770:9): [True: 0, False: 1]
  ------------------
 2771|      1|    state->Load_singleton = PyType_GenericNew((PyTypeObject *)state->Load_type,
 2772|      1|                                              NULL, NULL);
 2773|      1|    if (!state->Load_singleton) return -1;
  ------------------
  |  Branch (2773:9): [True: 0, False: 1]
  ------------------
 2774|      1|    state->Store_type = make_type(state, "Store", state->expr_context_type,
 2775|      1|                                  NULL, 0,
 2776|      1|        "Store");
 2777|      1|    if (!state->Store_type) return -1;
  ------------------
  |  Branch (2777:9): [True: 0, False: 1]
  ------------------
 2778|      1|    state->Store_singleton = PyType_GenericNew((PyTypeObject
 2779|      1|                                               *)state->Store_type, NULL, NULL);
 2780|      1|    if (!state->Store_singleton) return -1;
  ------------------
  |  Branch (2780:9): [True: 0, False: 1]
  ------------------
 2781|      1|    state->Del_type = make_type(state, "Del", state->expr_context_type, NULL, 0,
 2782|      1|        "Del");
 2783|      1|    if (!state->Del_type) return -1;
  ------------------
  |  Branch (2783:9): [True: 0, False: 1]
  ------------------
 2784|      1|    state->Del_singleton = PyType_GenericNew((PyTypeObject *)state->Del_type,
 2785|      1|                                             NULL, NULL);
 2786|      1|    if (!state->Del_singleton) return -1;
  ------------------
  |  Branch (2786:9): [True: 0, False: 1]
  ------------------
 2787|      1|    state->boolop_type = make_type(state, "boolop", state->AST_type, NULL, 0,
 2788|      1|        "boolop = And | Or");
 2789|      1|    if (!state->boolop_type) return -1;
  ------------------
  |  Branch (2789:9): [True: 0, False: 1]
  ------------------
 2790|      1|    if (add_attributes(state, state->boolop_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (2790:9): [True: 0, False: 1]
  ------------------
 2791|      1|    if (PySet_Add(state->abstract_types, state->boolop_type) < 0) return -1;
  ------------------
  |  Branch (2791:9): [True: 0, False: 1]
  ------------------
 2792|      1|    state->And_type = make_type(state, "And", state->boolop_type, NULL, 0,
 2793|      1|        "And");
 2794|      1|    if (!state->And_type) return -1;
  ------------------
  |  Branch (2794:9): [True: 0, False: 1]
  ------------------
 2795|      1|    state->And_singleton = PyType_GenericNew((PyTypeObject *)state->And_type,
 2796|      1|                                             NULL, NULL);
 2797|      1|    if (!state->And_singleton) return -1;
  ------------------
  |  Branch (2797:9): [True: 0, False: 1]
  ------------------
 2798|      1|    state->Or_type = make_type(state, "Or", state->boolop_type, NULL, 0,
 2799|      1|        "Or");
 2800|      1|    if (!state->Or_type) return -1;
  ------------------
  |  Branch (2800:9): [True: 0, False: 1]
  ------------------
 2801|      1|    state->Or_singleton = PyType_GenericNew((PyTypeObject *)state->Or_type,
 2802|      1|                                            NULL, NULL);
 2803|      1|    if (!state->Or_singleton) return -1;
  ------------------
  |  Branch (2803:9): [True: 0, False: 1]
  ------------------
 2804|      1|    state->operator_type = make_type(state, "operator", state->AST_type, NULL,
 2805|      1|                                     0,
 2806|      1|        "operator = Add | Sub | Mult | MatMult | Div | Mod | Pow | LShift | RShift | BitOr | BitXor | BitAnd | FloorDiv");
 2807|      1|    if (!state->operator_type) return -1;
  ------------------
  |  Branch (2807:9): [True: 0, False: 1]
  ------------------
 2808|      1|    if (add_attributes(state, state->operator_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (2808:9): [True: 0, False: 1]
  ------------------
 2809|      1|    if (PySet_Add(state->abstract_types, state->operator_type) < 0) return -1;
  ------------------
  |  Branch (2809:9): [True: 0, False: 1]
  ------------------
 2810|      1|    state->Add_type = make_type(state, "Add", state->operator_type, NULL, 0,
 2811|      1|        "Add");
 2812|      1|    if (!state->Add_type) return -1;
  ------------------
  |  Branch (2812:9): [True: 0, False: 1]
  ------------------
 2813|      1|    state->Add_singleton = PyType_GenericNew((PyTypeObject *)state->Add_type,
 2814|      1|                                             NULL, NULL);
 2815|      1|    if (!state->Add_singleton) return -1;
  ------------------
  |  Branch (2815:9): [True: 0, False: 1]
  ------------------
 2816|      1|    state->Sub_type = make_type(state, "Sub", state->operator_type, NULL, 0,
 2817|      1|        "Sub");
 2818|      1|    if (!state->Sub_type) return -1;
  ------------------
  |  Branch (2818:9): [True: 0, False: 1]
  ------------------
 2819|      1|    state->Sub_singleton = PyType_GenericNew((PyTypeObject *)state->Sub_type,
 2820|      1|                                             NULL, NULL);
 2821|      1|    if (!state->Sub_singleton) return -1;
  ------------------
  |  Branch (2821:9): [True: 0, False: 1]
  ------------------
 2822|      1|    state->Mult_type = make_type(state, "Mult", state->operator_type, NULL, 0,
 2823|      1|        "Mult");
 2824|      1|    if (!state->Mult_type) return -1;
  ------------------
  |  Branch (2824:9): [True: 0, False: 1]
  ------------------
 2825|      1|    state->Mult_singleton = PyType_GenericNew((PyTypeObject *)state->Mult_type,
 2826|      1|                                              NULL, NULL);
 2827|      1|    if (!state->Mult_singleton) return -1;
  ------------------
  |  Branch (2827:9): [True: 0, False: 1]
  ------------------
 2828|      1|    state->MatMult_type = make_type(state, "MatMult", state->operator_type,
 2829|      1|                                    NULL, 0,
 2830|      1|        "MatMult");
 2831|      1|    if (!state->MatMult_type) return -1;
  ------------------
  |  Branch (2831:9): [True: 0, False: 1]
  ------------------
 2832|      1|    state->MatMult_singleton = PyType_GenericNew((PyTypeObject
 2833|      1|                                                 *)state->MatMult_type, NULL,
 2834|      1|                                                 NULL);
 2835|      1|    if (!state->MatMult_singleton) return -1;
  ------------------
  |  Branch (2835:9): [True: 0, False: 1]
  ------------------
 2836|      1|    state->Div_type = make_type(state, "Div", state->operator_type, NULL, 0,
 2837|      1|        "Div");
 2838|      1|    if (!state->Div_type) return -1;
  ------------------
  |  Branch (2838:9): [True: 0, False: 1]
  ------------------
 2839|      1|    state->Div_singleton = PyType_GenericNew((PyTypeObject *)state->Div_type,
 2840|      1|                                             NULL, NULL);
 2841|      1|    if (!state->Div_singleton) return -1;
  ------------------
  |  Branch (2841:9): [True: 0, False: 1]
  ------------------
 2842|      1|    state->Mod_type = make_type(state, "Mod", state->operator_type, NULL, 0,
 2843|      1|        "Mod");
 2844|      1|    if (!state->Mod_type) return -1;
  ------------------
  |  Branch (2844:9): [True: 0, False: 1]
  ------------------
 2845|      1|    state->Mod_singleton = PyType_GenericNew((PyTypeObject *)state->Mod_type,
 2846|      1|                                             NULL, NULL);
 2847|      1|    if (!state->Mod_singleton) return -1;
  ------------------
  |  Branch (2847:9): [True: 0, False: 1]
  ------------------
 2848|      1|    state->Pow_type = make_type(state, "Pow", state->operator_type, NULL, 0,
 2849|      1|        "Pow");
 2850|      1|    if (!state->Pow_type) return -1;
  ------------------
  |  Branch (2850:9): [True: 0, False: 1]
  ------------------
 2851|      1|    state->Pow_singleton = PyType_GenericNew((PyTypeObject *)state->Pow_type,
 2852|      1|                                             NULL, NULL);
 2853|      1|    if (!state->Pow_singleton) return -1;
  ------------------
  |  Branch (2853:9): [True: 0, False: 1]
  ------------------
 2854|      1|    state->LShift_type = make_type(state, "LShift", state->operator_type, NULL,
 2855|      1|                                   0,
 2856|      1|        "LShift");
 2857|      1|    if (!state->LShift_type) return -1;
  ------------------
  |  Branch (2857:9): [True: 0, False: 1]
  ------------------
 2858|      1|    state->LShift_singleton = PyType_GenericNew((PyTypeObject
 2859|      1|                                                *)state->LShift_type, NULL,
 2860|      1|                                                NULL);
 2861|      1|    if (!state->LShift_singleton) return -1;
  ------------------
  |  Branch (2861:9): [True: 0, False: 1]
  ------------------
 2862|      1|    state->RShift_type = make_type(state, "RShift", state->operator_type, NULL,
 2863|      1|                                   0,
 2864|      1|        "RShift");
 2865|      1|    if (!state->RShift_type) return -1;
  ------------------
  |  Branch (2865:9): [True: 0, False: 1]
  ------------------
 2866|      1|    state->RShift_singleton = PyType_GenericNew((PyTypeObject
 2867|      1|                                                *)state->RShift_type, NULL,
 2868|      1|                                                NULL);
 2869|      1|    if (!state->RShift_singleton) return -1;
  ------------------
  |  Branch (2869:9): [True: 0, False: 1]
  ------------------
 2870|      1|    state->BitOr_type = make_type(state, "BitOr", state->operator_type, NULL, 0,
 2871|      1|        "BitOr");
 2872|      1|    if (!state->BitOr_type) return -1;
  ------------------
  |  Branch (2872:9): [True: 0, False: 1]
  ------------------
 2873|      1|    state->BitOr_singleton = PyType_GenericNew((PyTypeObject
 2874|      1|                                               *)state->BitOr_type, NULL, NULL);
 2875|      1|    if (!state->BitOr_singleton) return -1;
  ------------------
  |  Branch (2875:9): [True: 0, False: 1]
  ------------------
 2876|      1|    state->BitXor_type = make_type(state, "BitXor", state->operator_type, NULL,
 2877|      1|                                   0,
 2878|      1|        "BitXor");
 2879|      1|    if (!state->BitXor_type) return -1;
  ------------------
  |  Branch (2879:9): [True: 0, False: 1]
  ------------------
 2880|      1|    state->BitXor_singleton = PyType_GenericNew((PyTypeObject
 2881|      1|                                                *)state->BitXor_type, NULL,
 2882|      1|                                                NULL);
 2883|      1|    if (!state->BitXor_singleton) return -1;
  ------------------
  |  Branch (2883:9): [True: 0, False: 1]
  ------------------
 2884|      1|    state->BitAnd_type = make_type(state, "BitAnd", state->operator_type, NULL,
 2885|      1|                                   0,
 2886|      1|        "BitAnd");
 2887|      1|    if (!state->BitAnd_type) return -1;
  ------------------
  |  Branch (2887:9): [True: 0, False: 1]
  ------------------
 2888|      1|    state->BitAnd_singleton = PyType_GenericNew((PyTypeObject
 2889|      1|                                                *)state->BitAnd_type, NULL,
 2890|      1|                                                NULL);
 2891|      1|    if (!state->BitAnd_singleton) return -1;
  ------------------
  |  Branch (2891:9): [True: 0, False: 1]
  ------------------
 2892|      1|    state->FloorDiv_type = make_type(state, "FloorDiv", state->operator_type,
 2893|      1|                                     NULL, 0,
 2894|      1|        "FloorDiv");
 2895|      1|    if (!state->FloorDiv_type) return -1;
  ------------------
  |  Branch (2895:9): [True: 0, False: 1]
  ------------------
 2896|      1|    state->FloorDiv_singleton = PyType_GenericNew((PyTypeObject
 2897|      1|                                                  *)state->FloorDiv_type, NULL,
 2898|      1|                                                  NULL);
 2899|      1|    if (!state->FloorDiv_singleton) return -1;
  ------------------
  |  Branch (2899:9): [True: 0, False: 1]
  ------------------
 2900|      1|    state->unaryop_type = make_type(state, "unaryop", state->AST_type, NULL, 0,
 2901|      1|        "unaryop = Invert | Not | UAdd | USub");
 2902|      1|    if (!state->unaryop_type) return -1;
  ------------------
  |  Branch (2902:9): [True: 0, False: 1]
  ------------------
 2903|      1|    if (add_attributes(state, state->unaryop_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (2903:9): [True: 0, False: 1]
  ------------------
 2904|      1|    if (PySet_Add(state->abstract_types, state->unaryop_type) < 0) return -1;
  ------------------
  |  Branch (2904:9): [True: 0, False: 1]
  ------------------
 2905|      1|    state->Invert_type = make_type(state, "Invert", state->unaryop_type, NULL,
 2906|      1|                                   0,
 2907|      1|        "Invert");
 2908|      1|    if (!state->Invert_type) return -1;
  ------------------
  |  Branch (2908:9): [True: 0, False: 1]
  ------------------
 2909|      1|    state->Invert_singleton = PyType_GenericNew((PyTypeObject
 2910|      1|                                                *)state->Invert_type, NULL,
 2911|      1|                                                NULL);
 2912|      1|    if (!state->Invert_singleton) return -1;
  ------------------
  |  Branch (2912:9): [True: 0, False: 1]
  ------------------
 2913|      1|    state->Not_type = make_type(state, "Not", state->unaryop_type, NULL, 0,
 2914|      1|        "Not");
 2915|      1|    if (!state->Not_type) return -1;
  ------------------
  |  Branch (2915:9): [True: 0, False: 1]
  ------------------
 2916|      1|    state->Not_singleton = PyType_GenericNew((PyTypeObject *)state->Not_type,
 2917|      1|                                             NULL, NULL);
 2918|      1|    if (!state->Not_singleton) return -1;
  ------------------
  |  Branch (2918:9): [True: 0, False: 1]
  ------------------
 2919|      1|    state->UAdd_type = make_type(state, "UAdd", state->unaryop_type, NULL, 0,
 2920|      1|        "UAdd");
 2921|      1|    if (!state->UAdd_type) return -1;
  ------------------
  |  Branch (2921:9): [True: 0, False: 1]
  ------------------
 2922|      1|    state->UAdd_singleton = PyType_GenericNew((PyTypeObject *)state->UAdd_type,
 2923|      1|                                              NULL, NULL);
 2924|      1|    if (!state->UAdd_singleton) return -1;
  ------------------
  |  Branch (2924:9): [True: 0, False: 1]
  ------------------
 2925|      1|    state->USub_type = make_type(state, "USub", state->unaryop_type, NULL, 0,
 2926|      1|        "USub");
 2927|      1|    if (!state->USub_type) return -1;
  ------------------
  |  Branch (2927:9): [True: 0, False: 1]
  ------------------
 2928|      1|    state->USub_singleton = PyType_GenericNew((PyTypeObject *)state->USub_type,
 2929|      1|                                              NULL, NULL);
 2930|      1|    if (!state->USub_singleton) return -1;
  ------------------
  |  Branch (2930:9): [True: 0, False: 1]
  ------------------
 2931|      1|    state->cmpop_type = make_type(state, "cmpop", state->AST_type, NULL, 0,
 2932|      1|        "cmpop = Eq | NotEq | Lt | LtE | Gt | GtE | Is | IsNot | In | NotIn");
 2933|      1|    if (!state->cmpop_type) return -1;
  ------------------
  |  Branch (2933:9): [True: 0, False: 1]
  ------------------
 2934|      1|    if (add_attributes(state, state->cmpop_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (2934:9): [True: 0, False: 1]
  ------------------
 2935|      1|    if (PySet_Add(state->abstract_types, state->cmpop_type) < 0) return -1;
  ------------------
  |  Branch (2935:9): [True: 0, False: 1]
  ------------------
 2936|      1|    state->Eq_type = make_type(state, "Eq", state->cmpop_type, NULL, 0,
 2937|      1|        "Eq");
 2938|      1|    if (!state->Eq_type) return -1;
  ------------------
  |  Branch (2938:9): [True: 0, False: 1]
  ------------------
 2939|      1|    state->Eq_singleton = PyType_GenericNew((PyTypeObject *)state->Eq_type,
 2940|      1|                                            NULL, NULL);
 2941|      1|    if (!state->Eq_singleton) return -1;
  ------------------
  |  Branch (2941:9): [True: 0, False: 1]
  ------------------
 2942|      1|    state->NotEq_type = make_type(state, "NotEq", state->cmpop_type, NULL, 0,
 2943|      1|        "NotEq");
 2944|      1|    if (!state->NotEq_type) return -1;
  ------------------
  |  Branch (2944:9): [True: 0, False: 1]
  ------------------
 2945|      1|    state->NotEq_singleton = PyType_GenericNew((PyTypeObject
 2946|      1|                                               *)state->NotEq_type, NULL, NULL);
 2947|      1|    if (!state->NotEq_singleton) return -1;
  ------------------
  |  Branch (2947:9): [True: 0, False: 1]
  ------------------
 2948|      1|    state->Lt_type = make_type(state, "Lt", state->cmpop_type, NULL, 0,
 2949|      1|        "Lt");
 2950|      1|    if (!state->Lt_type) return -1;
  ------------------
  |  Branch (2950:9): [True: 0, False: 1]
  ------------------
 2951|      1|    state->Lt_singleton = PyType_GenericNew((PyTypeObject *)state->Lt_type,
 2952|      1|                                            NULL, NULL);
 2953|      1|    if (!state->Lt_singleton) return -1;
  ------------------
  |  Branch (2953:9): [True: 0, False: 1]
  ------------------
 2954|      1|    state->LtE_type = make_type(state, "LtE", state->cmpop_type, NULL, 0,
 2955|      1|        "LtE");
 2956|      1|    if (!state->LtE_type) return -1;
  ------------------
  |  Branch (2956:9): [True: 0, False: 1]
  ------------------
 2957|      1|    state->LtE_singleton = PyType_GenericNew((PyTypeObject *)state->LtE_type,
 2958|      1|                                             NULL, NULL);
 2959|      1|    if (!state->LtE_singleton) return -1;
  ------------------
  |  Branch (2959:9): [True: 0, False: 1]
  ------------------
 2960|      1|    state->Gt_type = make_type(state, "Gt", state->cmpop_type, NULL, 0,
 2961|      1|        "Gt");
 2962|      1|    if (!state->Gt_type) return -1;
  ------------------
  |  Branch (2962:9): [True: 0, False: 1]
  ------------------
 2963|      1|    state->Gt_singleton = PyType_GenericNew((PyTypeObject *)state->Gt_type,
 2964|      1|                                            NULL, NULL);
 2965|      1|    if (!state->Gt_singleton) return -1;
  ------------------
  |  Branch (2965:9): [True: 0, False: 1]
  ------------------
 2966|      1|    state->GtE_type = make_type(state, "GtE", state->cmpop_type, NULL, 0,
 2967|      1|        "GtE");
 2968|      1|    if (!state->GtE_type) return -1;
  ------------------
  |  Branch (2968:9): [True: 0, False: 1]
  ------------------
 2969|      1|    state->GtE_singleton = PyType_GenericNew((PyTypeObject *)state->GtE_type,
 2970|      1|                                             NULL, NULL);
 2971|      1|    if (!state->GtE_singleton) return -1;
  ------------------
  |  Branch (2971:9): [True: 0, False: 1]
  ------------------
 2972|      1|    state->Is_type = make_type(state, "Is", state->cmpop_type, NULL, 0,
 2973|      1|        "Is");
 2974|      1|    if (!state->Is_type) return -1;
  ------------------
  |  Branch (2974:9): [True: 0, False: 1]
  ------------------
 2975|      1|    state->Is_singleton = PyType_GenericNew((PyTypeObject *)state->Is_type,
 2976|      1|                                            NULL, NULL);
 2977|      1|    if (!state->Is_singleton) return -1;
  ------------------
  |  Branch (2977:9): [True: 0, False: 1]
  ------------------
 2978|      1|    state->IsNot_type = make_type(state, "IsNot", state->cmpop_type, NULL, 0,
 2979|      1|        "IsNot");
 2980|      1|    if (!state->IsNot_type) return -1;
  ------------------
  |  Branch (2980:9): [True: 0, False: 1]
  ------------------
 2981|      1|    state->IsNot_singleton = PyType_GenericNew((PyTypeObject
 2982|      1|                                               *)state->IsNot_type, NULL, NULL);
 2983|      1|    if (!state->IsNot_singleton) return -1;
  ------------------
  |  Branch (2983:9): [True: 0, False: 1]
  ------------------
 2984|      1|    state->In_type = make_type(state, "In", state->cmpop_type, NULL, 0,
 2985|      1|        "In");
 2986|      1|    if (!state->In_type) return -1;
  ------------------
  |  Branch (2986:9): [True: 0, False: 1]
  ------------------
 2987|      1|    state->In_singleton = PyType_GenericNew((PyTypeObject *)state->In_type,
 2988|      1|                                            NULL, NULL);
 2989|      1|    if (!state->In_singleton) return -1;
  ------------------
  |  Branch (2989:9): [True: 0, False: 1]
  ------------------
 2990|      1|    state->NotIn_type = make_type(state, "NotIn", state->cmpop_type, NULL, 0,
 2991|      1|        "NotIn");
 2992|      1|    if (!state->NotIn_type) return -1;
  ------------------
  |  Branch (2992:9): [True: 0, False: 1]
  ------------------
 2993|      1|    state->NotIn_singleton = PyType_GenericNew((PyTypeObject
 2994|      1|                                               *)state->NotIn_type, NULL, NULL);
 2995|      1|    if (!state->NotIn_singleton) return -1;
  ------------------
  |  Branch (2995:9): [True: 0, False: 1]
  ------------------
 2996|      1|    state->comprehension_type = make_type(state, "comprehension",
 2997|      1|                                          state->AST_type,
 2998|      1|                                          comprehension_fields, 4,
 2999|      1|        "comprehension(expr target, expr iter, expr* ifs, int is_async)");
 3000|      1|    if (!state->comprehension_type) return -1;
  ------------------
  |  Branch (3000:9): [True: 0, False: 1]
  ------------------
 3001|      1|    if (add_attributes(state, state->comprehension_type, NULL, 0) < 0) return
  ------------------
  |  Branch (3001:9): [True: 0, False: 1]
  ------------------
 3002|      0|        -1;
 3003|      1|    state->excepthandler_type = make_type(state, "excepthandler",
 3004|      1|                                          state->AST_type, NULL, 0,
 3005|      1|        "excepthandler = ExceptHandler(expr? type, identifier? name, stmt* body)");
 3006|      1|    if (!state->excepthandler_type) return -1;
  ------------------
  |  Branch (3006:9): [True: 0, False: 1]
  ------------------
 3007|      1|    if (add_attributes(state, state->excepthandler_type,
  ------------------
  |  Branch (3007:9): [True: 0, False: 1]
  ------------------
 3008|      1|        excepthandler_attributes, 4) < 0) return -1;
 3009|      1|    if (PySet_Add(state->abstract_types, state->excepthandler_type) < 0) return
  ------------------
  |  Branch (3009:9): [True: 0, False: 1]
  ------------------
 3010|      0|        -1;
 3011|      1|    if (PyObject_SetAttr(state->excepthandler_type, state->end_lineno, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3011:9): [True: 0, False: 1]
  ------------------
 3012|      1|        == -1)
 3013|      0|        return -1;
 3014|      1|    if (PyObject_SetAttr(state->excepthandler_type, state->end_col_offset,
  ------------------
  |  Branch (3014:9): [True: 0, False: 1]
  ------------------
 3015|      1|        Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3016|      0|        return -1;
 3017|      1|    state->ExceptHandler_type = make_type(state, "ExceptHandler",
 3018|      1|                                          state->excepthandler_type,
 3019|      1|                                          ExceptHandler_fields, 3,
 3020|      1|        "ExceptHandler(expr? type, identifier? name, stmt* body)");
 3021|      1|    if (!state->ExceptHandler_type) return -1;
  ------------------
  |  Branch (3021:9): [True: 0, False: 1]
  ------------------
 3022|      1|    if (PyObject_SetAttr(state->ExceptHandler_type, state->type, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3022:9): [True: 0, False: 1]
  ------------------
 3023|      0|        return -1;
 3024|      1|    if (PyObject_SetAttr(state->ExceptHandler_type, state->name, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3024:9): [True: 0, False: 1]
  ------------------
 3025|      0|        return -1;
 3026|      1|    state->arguments_type = make_type(state, "arguments", state->AST_type,
 3027|      1|                                      arguments_fields, 7,
 3028|      1|        "arguments(arg* posonlyargs, arg* args, arg? vararg, arg* kwonlyargs, expr?* kw_defaults, arg? kwarg, expr* defaults)");
 3029|      1|    if (!state->arguments_type) return -1;
  ------------------
  |  Branch (3029:9): [True: 0, False: 1]
  ------------------
 3030|      1|    if (add_attributes(state, state->arguments_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (3030:9): [True: 0, False: 1]
  ------------------
 3031|      1|    if (PyObject_SetAttr(state->arguments_type, state->vararg, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3031:9): [True: 0, False: 1]
  ------------------
 3032|      0|        return -1;
 3033|      1|    if (PyObject_SetAttr(state->arguments_type, state->kwarg, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3033:9): [True: 0, False: 1]
  ------------------
 3034|      0|        return -1;
 3035|      1|    state->arg_type = make_type(state, "arg", state->AST_type, arg_fields, 3,
 3036|      1|        "arg(identifier arg, expr? annotation, string? type_comment)");
 3037|      1|    if (!state->arg_type) return -1;
  ------------------
  |  Branch (3037:9): [True: 0, False: 1]
  ------------------
 3038|      1|    if (add_attributes(state, state->arg_type, arg_attributes, 4) < 0) return
  ------------------
  |  Branch (3038:9): [True: 0, False: 1]
  ------------------
 3039|      0|        -1;
 3040|      1|    if (PyObject_SetAttr(state->arg_type, state->annotation, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3040:9): [True: 0, False: 1]
  ------------------
 3041|      0|        return -1;
 3042|      1|    if (PyObject_SetAttr(state->arg_type, state->type_comment, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3042:9): [True: 0, False: 1]
  ------------------
 3043|      0|        return -1;
 3044|      1|    if (PyObject_SetAttr(state->arg_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3044:9): [True: 0, False: 1]
  ------------------
 3045|      0|        return -1;
 3046|      1|    if (PyObject_SetAttr(state->arg_type, state->end_col_offset, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3046:9): [True: 0, False: 1]
  ------------------
 3047|      0|        return -1;
 3048|      1|    state->keyword_type = make_type(state, "keyword", state->AST_type,
 3049|      1|                                    keyword_fields, 2,
 3050|      1|        "keyword(identifier? arg, expr value)");
 3051|      1|    if (!state->keyword_type) return -1;
  ------------------
  |  Branch (3051:9): [True: 0, False: 1]
  ------------------
 3052|      1|    if (add_attributes(state, state->keyword_type, keyword_attributes, 4) < 0)
  ------------------
  |  Branch (3052:9): [True: 0, False: 1]
  ------------------
 3053|      0|        return -1;
 3054|      1|    if (PyObject_SetAttr(state->keyword_type, state->arg, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3054:9): [True: 0, False: 1]
  ------------------
 3055|      0|        return -1;
 3056|      1|    if (PyObject_SetAttr(state->keyword_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3056:9): [True: 0, False: 1]
  ------------------
 3057|      0|        return -1;
 3058|      1|    if (PyObject_SetAttr(state->keyword_type, state->end_col_offset, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3058:9): [True: 0, False: 1]
  ------------------
 3059|      1|        == -1)
 3060|      0|        return -1;
 3061|      1|    state->alias_type = make_type(state, "alias", state->AST_type,
 3062|      1|                                  alias_fields, 2,
 3063|      1|        "alias(identifier name, identifier? asname)");
 3064|      1|    if (!state->alias_type) return -1;
  ------------------
  |  Branch (3064:9): [True: 0, False: 1]
  ------------------
 3065|      1|    if (add_attributes(state, state->alias_type, alias_attributes, 4) < 0)
  ------------------
  |  Branch (3065:9): [True: 0, False: 1]
  ------------------
 3066|      0|        return -1;
 3067|      1|    if (PyObject_SetAttr(state->alias_type, state->asname, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3067:9): [True: 0, False: 1]
  ------------------
 3068|      0|        return -1;
 3069|      1|    if (PyObject_SetAttr(state->alias_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3069:9): [True: 0, False: 1]
  ------------------
 3070|      0|        return -1;
 3071|      1|    if (PyObject_SetAttr(state->alias_type, state->end_col_offset, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3071:9): [True: 0, False: 1]
  ------------------
 3072|      1|        -1)
 3073|      0|        return -1;
 3074|      1|    state->withitem_type = make_type(state, "withitem", state->AST_type,
 3075|      1|                                     withitem_fields, 2,
 3076|      1|        "withitem(expr context_expr, expr? optional_vars)");
 3077|      1|    if (!state->withitem_type) return -1;
  ------------------
  |  Branch (3077:9): [True: 0, False: 1]
  ------------------
 3078|      1|    if (add_attributes(state, state->withitem_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (3078:9): [True: 0, False: 1]
  ------------------
 3079|      1|    if (PyObject_SetAttr(state->withitem_type, state->optional_vars, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3079:9): [True: 0, False: 1]
  ------------------
 3080|      1|        == -1)
 3081|      0|        return -1;
 3082|      1|    state->match_case_type = make_type(state, "match_case", state->AST_type,
 3083|      1|                                       match_case_fields, 3,
 3084|      1|        "match_case(pattern pattern, expr? guard, stmt* body)");
 3085|      1|    if (!state->match_case_type) return -1;
  ------------------
  |  Branch (3085:9): [True: 0, False: 1]
  ------------------
 3086|      1|    if (add_attributes(state, state->match_case_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (3086:9): [True: 0, False: 1]
  ------------------
 3087|      1|    if (PyObject_SetAttr(state->match_case_type, state->guard, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3087:9): [True: 0, False: 1]
  ------------------
 3088|      0|        return -1;
 3089|      1|    state->pattern_type = make_type(state, "pattern", state->AST_type, NULL, 0,
 3090|      1|        "pattern = MatchValue(expr value)\n"
 3091|      1|        "        | MatchSingleton(constant value)\n"
 3092|      1|        "        | MatchSequence(pattern* patterns)\n"
 3093|      1|        "        | MatchMapping(expr* keys, pattern* patterns, identifier? rest)\n"
 3094|      1|        "        | MatchClass(expr cls, pattern* patterns, identifier* kwd_attrs, pattern* kwd_patterns)\n"
 3095|      1|        "        | MatchStar(identifier? name)\n"
 3096|      1|        "        | MatchAs(pattern? pattern, identifier? name)\n"
 3097|      1|        "        | MatchOr(pattern* patterns)");
 3098|      1|    if (!state->pattern_type) return -1;
  ------------------
  |  Branch (3098:9): [True: 0, False: 1]
  ------------------
 3099|      1|    if (add_attributes(state, state->pattern_type, pattern_attributes, 4) < 0)
  ------------------
  |  Branch (3099:9): [True: 0, False: 1]
  ------------------
 3100|      0|        return -1;
 3101|      1|    if (PySet_Add(state->abstract_types, state->pattern_type) < 0) return -1;
  ------------------
  |  Branch (3101:9): [True: 0, False: 1]
  ------------------
 3102|      1|    state->MatchValue_type = make_type(state, "MatchValue",
 3103|      1|                                       state->pattern_type, MatchValue_fields,
 3104|      1|                                       1,
 3105|      1|        "MatchValue(expr value)");
 3106|      1|    if (!state->MatchValue_type) return -1;
  ------------------
  |  Branch (3106:9): [True: 0, False: 1]
  ------------------
 3107|      1|    state->MatchSingleton_type = make_type(state, "MatchSingleton",
 3108|      1|                                           state->pattern_type,
 3109|      1|                                           MatchSingleton_fields, 1,
 3110|      1|        "MatchSingleton(constant value)");
 3111|      1|    if (!state->MatchSingleton_type) return -1;
  ------------------
  |  Branch (3111:9): [True: 0, False: 1]
  ------------------
 3112|      1|    state->MatchSequence_type = make_type(state, "MatchSequence",
 3113|      1|                                          state->pattern_type,
 3114|      1|                                          MatchSequence_fields, 1,
 3115|      1|        "MatchSequence(pattern* patterns)");
 3116|      1|    if (!state->MatchSequence_type) return -1;
  ------------------
  |  Branch (3116:9): [True: 0, False: 1]
  ------------------
 3117|      1|    state->MatchMapping_type = make_type(state, "MatchMapping",
 3118|      1|                                         state->pattern_type,
 3119|      1|                                         MatchMapping_fields, 3,
 3120|      1|        "MatchMapping(expr* keys, pattern* patterns, identifier? rest)");
 3121|      1|    if (!state->MatchMapping_type) return -1;
  ------------------
  |  Branch (3121:9): [True: 0, False: 1]
  ------------------
 3122|      1|    if (PyObject_SetAttr(state->MatchMapping_type, state->rest, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3122:9): [True: 0, False: 1]
  ------------------
 3123|      0|        return -1;
 3124|      1|    state->MatchClass_type = make_type(state, "MatchClass",
 3125|      1|                                       state->pattern_type, MatchClass_fields,
 3126|      1|                                       4,
 3127|      1|        "MatchClass(expr cls, pattern* patterns, identifier* kwd_attrs, pattern* kwd_patterns)");
 3128|      1|    if (!state->MatchClass_type) return -1;
  ------------------
  |  Branch (3128:9): [True: 0, False: 1]
  ------------------
 3129|      1|    state->MatchStar_type = make_type(state, "MatchStar", state->pattern_type,
 3130|      1|                                      MatchStar_fields, 1,
 3131|      1|        "MatchStar(identifier? name)");
 3132|      1|    if (!state->MatchStar_type) return -1;
  ------------------
  |  Branch (3132:9): [True: 0, False: 1]
  ------------------
 3133|      1|    if (PyObject_SetAttr(state->MatchStar_type, state->name, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3133:9): [True: 0, False: 1]
  ------------------
 3134|      0|        return -1;
 3135|      1|    state->MatchAs_type = make_type(state, "MatchAs", state->pattern_type,
 3136|      1|                                    MatchAs_fields, 2,
 3137|      1|        "MatchAs(pattern? pattern, identifier? name)");
 3138|      1|    if (!state->MatchAs_type) return -1;
  ------------------
  |  Branch (3138:9): [True: 0, False: 1]
  ------------------
 3139|      1|    if (PyObject_SetAttr(state->MatchAs_type, state->pattern, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3139:9): [True: 0, False: 1]
  ------------------
 3140|      0|        return -1;
 3141|      1|    if (PyObject_SetAttr(state->MatchAs_type, state->name, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3141:9): [True: 0, False: 1]
  ------------------
 3142|      0|        return -1;
 3143|      1|    state->MatchOr_type = make_type(state, "MatchOr", state->pattern_type,
 3144|      1|                                    MatchOr_fields, 1,
 3145|      1|        "MatchOr(pattern* patterns)");
 3146|      1|    if (!state->MatchOr_type) return -1;
  ------------------
  |  Branch (3146:9): [True: 0, False: 1]
  ------------------
 3147|      1|    state->type_ignore_type = make_type(state, "type_ignore", state->AST_type,
 3148|      1|                                        NULL, 0,
 3149|      1|        "type_ignore = TypeIgnore(int lineno, string tag)");
 3150|      1|    if (!state->type_ignore_type) return -1;
  ------------------
  |  Branch (3150:9): [True: 0, False: 1]
  ------------------
 3151|      1|    if (add_attributes(state, state->type_ignore_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (3151:9): [True: 0, False: 1]
  ------------------
 3152|      1|    if (PySet_Add(state->abstract_types, state->type_ignore_type) < 0) return
  ------------------
  |  Branch (3152:9): [True: 0, False: 1]
  ------------------
 3153|      0|        -1;
 3154|      1|    state->TypeIgnore_type = make_type(state, "TypeIgnore",
 3155|      1|                                       state->type_ignore_type,
 3156|      1|                                       TypeIgnore_fields, 2,
 3157|      1|        "TypeIgnore(int lineno, string tag)");
 3158|      1|    if (!state->TypeIgnore_type) return -1;
  ------------------
  |  Branch (3158:9): [True: 0, False: 1]
  ------------------
 3159|      1|    state->type_param_type = make_type(state, "type_param", state->AST_type,
 3160|      1|                                       NULL, 0,
 3161|      1|        "type_param = TypeVar(identifier name, expr? bound, expr? default_value)\n"
 3162|      1|        "           | ParamSpec(identifier name, expr? default_value)\n"
 3163|      1|        "           | TypeVarTuple(identifier name, expr? default_value)");
 3164|      1|    if (!state->type_param_type) return -1;
  ------------------
  |  Branch (3164:9): [True: 0, False: 1]
  ------------------
 3165|      1|    if (add_attributes(state, state->type_param_type, type_param_attributes, 4)
  ------------------
  |  Branch (3165:9): [True: 0, False: 1]
  ------------------
 3166|      1|        < 0) return -1;
 3167|      1|    if (PySet_Add(state->abstract_types, state->type_param_type) < 0) return -1;
  ------------------
  |  Branch (3167:9): [True: 0, False: 1]
  ------------------
 3168|      1|    state->TypeVar_type = make_type(state, "TypeVar", state->type_param_type,
 3169|      1|                                    TypeVar_fields, 3,
 3170|      1|        "TypeVar(identifier name, expr? bound, expr? default_value)");
 3171|      1|    if (!state->TypeVar_type) return -1;
  ------------------
  |  Branch (3171:9): [True: 0, False: 1]
  ------------------
 3172|      1|    if (PyObject_SetAttr(state->TypeVar_type, state->bound, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3172:9): [True: 0, False: 1]
  ------------------
 3173|      0|        return -1;
 3174|      1|    if (PyObject_SetAttr(state->TypeVar_type, state->default_value, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3174:9): [True: 0, False: 1]
  ------------------
 3175|      1|        -1)
 3176|      0|        return -1;
 3177|      1|    state->ParamSpec_type = make_type(state, "ParamSpec",
 3178|      1|                                      state->type_param_type, ParamSpec_fields,
 3179|      1|                                      2,
 3180|      1|        "ParamSpec(identifier name, expr? default_value)");
 3181|      1|    if (!state->ParamSpec_type) return -1;
  ------------------
  |  Branch (3181:9): [True: 0, False: 1]
  ------------------
 3182|      1|    if (PyObject_SetAttr(state->ParamSpec_type, state->default_value, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3182:9): [True: 0, False: 1]
  ------------------
 3183|      1|        == -1)
 3184|      0|        return -1;
 3185|      1|    state->TypeVarTuple_type = make_type(state, "TypeVarTuple",
 3186|      1|                                         state->type_param_type,
 3187|      1|                                         TypeVarTuple_fields, 2,
 3188|      1|        "TypeVarTuple(identifier name, expr? default_value)");
 3189|      1|    if (!state->TypeVarTuple_type) return -1;
  ------------------
  |  Branch (3189:9): [True: 0, False: 1]
  ------------------
 3190|      1|    if (PyObject_SetAttr(state->TypeVarTuple_type, state->default_value,
  ------------------
  |  Branch (3190:9): [True: 0, False: 1]
  ------------------
 3191|      1|        Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3192|      0|        return -1;
 3193|       |
 3194|      1|    if (!add_ast_annotations(state)) {
  ------------------
  |  Branch (3194:9): [True: 0, False: 1]
  ------------------
 3195|      0|        return -1;
 3196|      0|    }
 3197|      1|    return 0;
 3198|      1|}
Python-ast.c:init_identifiers:
  296|      1|{
  297|      1|    if ((state->__dict__ = PyUnicode_InternFromString("__dict__")) == NULL) return -1;
  ------------------
  |  Branch (297:9): [True: 0, False: 1]
  ------------------
  298|      1|    if ((state->__doc__ = PyUnicode_InternFromString("__doc__")) == NULL) return -1;
  ------------------
  |  Branch (298:9): [True: 0, False: 1]
  ------------------
  299|      1|    if ((state->__match_args__ = PyUnicode_InternFromString("__match_args__")) == NULL) return -1;
  ------------------
  |  Branch (299:9): [True: 0, False: 1]
  ------------------
  300|      1|    if ((state->__module__ = PyUnicode_InternFromString("__module__")) == NULL) return -1;
  ------------------
  |  Branch (300:9): [True: 0, False: 1]
  ------------------
  301|      1|    if ((state->_attributes = PyUnicode_InternFromString("_attributes")) == NULL) return -1;
  ------------------
  |  Branch (301:9): [True: 0, False: 1]
  ------------------
  302|      1|    if ((state->_fields = PyUnicode_InternFromString("_fields")) == NULL) return -1;
  ------------------
  |  Branch (302:9): [True: 0, False: 1]
  ------------------
  303|      1|    if ((state->annotation = PyUnicode_InternFromString("annotation")) == NULL) return -1;
  ------------------
  |  Branch (303:9): [True: 0, False: 1]
  ------------------
  304|      1|    if ((state->arg = PyUnicode_InternFromString("arg")) == NULL) return -1;
  ------------------
  |  Branch (304:9): [True: 0, False: 1]
  ------------------
  305|      1|    if ((state->args = PyUnicode_InternFromString("args")) == NULL) return -1;
  ------------------
  |  Branch (305:9): [True: 0, False: 1]
  ------------------
  306|      1|    if ((state->argtypes = PyUnicode_InternFromString("argtypes")) == NULL) return -1;
  ------------------
  |  Branch (306:9): [True: 0, False: 1]
  ------------------
  307|      1|    if ((state->asname = PyUnicode_InternFromString("asname")) == NULL) return -1;
  ------------------
  |  Branch (307:9): [True: 0, False: 1]
  ------------------
  308|      1|    if ((state->ast = PyUnicode_InternFromString("ast")) == NULL) return -1;
  ------------------
  |  Branch (308:9): [True: 0, False: 1]
  ------------------
  309|      1|    if ((state->attr = PyUnicode_InternFromString("attr")) == NULL) return -1;
  ------------------
  |  Branch (309:9): [True: 0, False: 1]
  ------------------
  310|      1|    if ((state->bases = PyUnicode_InternFromString("bases")) == NULL) return -1;
  ------------------
  |  Branch (310:9): [True: 0, False: 1]
  ------------------
  311|      1|    if ((state->body = PyUnicode_InternFromString("body")) == NULL) return -1;
  ------------------
  |  Branch (311:9): [True: 0, False: 1]
  ------------------
  312|      1|    if ((state->bound = PyUnicode_InternFromString("bound")) == NULL) return -1;
  ------------------
  |  Branch (312:9): [True: 0, False: 1]
  ------------------
  313|      1|    if ((state->cases = PyUnicode_InternFromString("cases")) == NULL) return -1;
  ------------------
  |  Branch (313:9): [True: 0, False: 1]
  ------------------
  314|      1|    if ((state->cause = PyUnicode_InternFromString("cause")) == NULL) return -1;
  ------------------
  |  Branch (314:9): [True: 0, False: 1]
  ------------------
  315|      1|    if ((state->cls = PyUnicode_InternFromString("cls")) == NULL) return -1;
  ------------------
  |  Branch (315:9): [True: 0, False: 1]
  ------------------
  316|      1|    if ((state->col_offset = PyUnicode_InternFromString("col_offset")) == NULL) return -1;
  ------------------
  |  Branch (316:9): [True: 0, False: 1]
  ------------------
  317|      1|    if ((state->comparators = PyUnicode_InternFromString("comparators")) == NULL) return -1;
  ------------------
  |  Branch (317:9): [True: 0, False: 1]
  ------------------
  318|      1|    if ((state->context_expr = PyUnicode_InternFromString("context_expr")) == NULL) return -1;
  ------------------
  |  Branch (318:9): [True: 0, False: 1]
  ------------------
  319|      1|    if ((state->conversion = PyUnicode_InternFromString("conversion")) == NULL) return -1;
  ------------------
  |  Branch (319:9): [True: 0, False: 1]
  ------------------
  320|      1|    if ((state->ctx = PyUnicode_InternFromString("ctx")) == NULL) return -1;
  ------------------
  |  Branch (320:9): [True: 0, False: 1]
  ------------------
  321|      1|    if ((state->decorator_list = PyUnicode_InternFromString("decorator_list")) == NULL) return -1;
  ------------------
  |  Branch (321:9): [True: 0, False: 1]
  ------------------
  322|      1|    if ((state->default_value = PyUnicode_InternFromString("default_value")) == NULL) return -1;
  ------------------
  |  Branch (322:9): [True: 0, False: 1]
  ------------------
  323|      1|    if ((state->defaults = PyUnicode_InternFromString("defaults")) == NULL) return -1;
  ------------------
  |  Branch (323:9): [True: 0, False: 1]
  ------------------
  324|      1|    if ((state->elt = PyUnicode_InternFromString("elt")) == NULL) return -1;
  ------------------
  |  Branch (324:9): [True: 0, False: 1]
  ------------------
  325|      1|    if ((state->elts = PyUnicode_InternFromString("elts")) == NULL) return -1;
  ------------------
  |  Branch (325:9): [True: 0, False: 1]
  ------------------
  326|      1|    if ((state->end_col_offset = PyUnicode_InternFromString("end_col_offset")) == NULL) return -1;
  ------------------
  |  Branch (326:9): [True: 0, False: 1]
  ------------------
  327|      1|    if ((state->end_lineno = PyUnicode_InternFromString("end_lineno")) == NULL) return -1;
  ------------------
  |  Branch (327:9): [True: 0, False: 1]
  ------------------
  328|      1|    if ((state->exc = PyUnicode_InternFromString("exc")) == NULL) return -1;
  ------------------
  |  Branch (328:9): [True: 0, False: 1]
  ------------------
  329|      1|    if ((state->finalbody = PyUnicode_InternFromString("finalbody")) == NULL) return -1;
  ------------------
  |  Branch (329:9): [True: 0, False: 1]
  ------------------
  330|      1|    if ((state->format_spec = PyUnicode_InternFromString("format_spec")) == NULL) return -1;
  ------------------
  |  Branch (330:9): [True: 0, False: 1]
  ------------------
  331|      1|    if ((state->func = PyUnicode_InternFromString("func")) == NULL) return -1;
  ------------------
  |  Branch (331:9): [True: 0, False: 1]
  ------------------
  332|      1|    if ((state->generators = PyUnicode_InternFromString("generators")) == NULL) return -1;
  ------------------
  |  Branch (332:9): [True: 0, False: 1]
  ------------------
  333|      1|    if ((state->guard = PyUnicode_InternFromString("guard")) == NULL) return -1;
  ------------------
  |  Branch (333:9): [True: 0, False: 1]
  ------------------
  334|      1|    if ((state->handlers = PyUnicode_InternFromString("handlers")) == NULL) return -1;
  ------------------
  |  Branch (334:9): [True: 0, False: 1]
  ------------------
  335|      1|    if ((state->id = PyUnicode_InternFromString("id")) == NULL) return -1;
  ------------------
  |  Branch (335:9): [True: 0, False: 1]
  ------------------
  336|      1|    if ((state->ifs = PyUnicode_InternFromString("ifs")) == NULL) return -1;
  ------------------
  |  Branch (336:9): [True: 0, False: 1]
  ------------------
  337|      1|    if ((state->is_async = PyUnicode_InternFromString("is_async")) == NULL) return -1;
  ------------------
  |  Branch (337:9): [True: 0, False: 1]
  ------------------
  338|      1|    if ((state->is_lazy = PyUnicode_InternFromString("is_lazy")) == NULL) return -1;
  ------------------
  |  Branch (338:9): [True: 0, False: 1]
  ------------------
  339|      1|    if ((state->items = PyUnicode_InternFromString("items")) == NULL) return -1;
  ------------------
  |  Branch (339:9): [True: 0, False: 1]
  ------------------
  340|      1|    if ((state->iter = PyUnicode_InternFromString("iter")) == NULL) return -1;
  ------------------
  |  Branch (340:9): [True: 0, False: 1]
  ------------------
  341|      1|    if ((state->key = PyUnicode_InternFromString("key")) == NULL) return -1;
  ------------------
  |  Branch (341:9): [True: 0, False: 1]
  ------------------
  342|      1|    if ((state->keys = PyUnicode_InternFromString("keys")) == NULL) return -1;
  ------------------
  |  Branch (342:9): [True: 0, False: 1]
  ------------------
  343|      1|    if ((state->keywords = PyUnicode_InternFromString("keywords")) == NULL) return -1;
  ------------------
  |  Branch (343:9): [True: 0, False: 1]
  ------------------
  344|      1|    if ((state->kind = PyUnicode_InternFromString("kind")) == NULL) return -1;
  ------------------
  |  Branch (344:9): [True: 0, False: 1]
  ------------------
  345|      1|    if ((state->kw_defaults = PyUnicode_InternFromString("kw_defaults")) == NULL) return -1;
  ------------------
  |  Branch (345:9): [True: 0, False: 1]
  ------------------
  346|      1|    if ((state->kwarg = PyUnicode_InternFromString("kwarg")) == NULL) return -1;
  ------------------
  |  Branch (346:9): [True: 0, False: 1]
  ------------------
  347|      1|    if ((state->kwd_attrs = PyUnicode_InternFromString("kwd_attrs")) == NULL) return -1;
  ------------------
  |  Branch (347:9): [True: 0, False: 1]
  ------------------
  348|      1|    if ((state->kwd_patterns = PyUnicode_InternFromString("kwd_patterns")) == NULL) return -1;
  ------------------
  |  Branch (348:9): [True: 0, False: 1]
  ------------------
  349|      1|    if ((state->kwonlyargs = PyUnicode_InternFromString("kwonlyargs")) == NULL) return -1;
  ------------------
  |  Branch (349:9): [True: 0, False: 1]
  ------------------
  350|      1|    if ((state->left = PyUnicode_InternFromString("left")) == NULL) return -1;
  ------------------
  |  Branch (350:9): [True: 0, False: 1]
  ------------------
  351|      1|    if ((state->level = PyUnicode_InternFromString("level")) == NULL) return -1;
  ------------------
  |  Branch (351:9): [True: 0, False: 1]
  ------------------
  352|      1|    if ((state->lineno = PyUnicode_InternFromString("lineno")) == NULL) return -1;
  ------------------
  |  Branch (352:9): [True: 0, False: 1]
  ------------------
  353|      1|    if ((state->lower = PyUnicode_InternFromString("lower")) == NULL) return -1;
  ------------------
  |  Branch (353:9): [True: 0, False: 1]
  ------------------
  354|      1|    if ((state->module = PyUnicode_InternFromString("module")) == NULL) return -1;
  ------------------
  |  Branch (354:9): [True: 0, False: 1]
  ------------------
  355|      1|    if ((state->msg = PyUnicode_InternFromString("msg")) == NULL) return -1;
  ------------------
  |  Branch (355:9): [True: 0, False: 1]
  ------------------
  356|      1|    if ((state->name = PyUnicode_InternFromString("name")) == NULL) return -1;
  ------------------
  |  Branch (356:9): [True: 0, False: 1]
  ------------------
  357|      1|    if ((state->names = PyUnicode_InternFromString("names")) == NULL) return -1;
  ------------------
  |  Branch (357:9): [True: 0, False: 1]
  ------------------
  358|      1|    if ((state->op = PyUnicode_InternFromString("op")) == NULL) return -1;
  ------------------
  |  Branch (358:9): [True: 0, False: 1]
  ------------------
  359|      1|    if ((state->operand = PyUnicode_InternFromString("operand")) == NULL) return -1;
  ------------------
  |  Branch (359:9): [True: 0, False: 1]
  ------------------
  360|      1|    if ((state->ops = PyUnicode_InternFromString("ops")) == NULL) return -1;
  ------------------
  |  Branch (360:9): [True: 0, False: 1]
  ------------------
  361|      1|    if ((state->optional_vars = PyUnicode_InternFromString("optional_vars")) == NULL) return -1;
  ------------------
  |  Branch (361:9): [True: 0, False: 1]
  ------------------
  362|      1|    if ((state->orelse = PyUnicode_InternFromString("orelse")) == NULL) return -1;
  ------------------
  |  Branch (362:9): [True: 0, False: 1]
  ------------------
  363|      1|    if ((state->pattern = PyUnicode_InternFromString("pattern")) == NULL) return -1;
  ------------------
  |  Branch (363:9): [True: 0, False: 1]
  ------------------
  364|      1|    if ((state->patterns = PyUnicode_InternFromString("patterns")) == NULL) return -1;
  ------------------
  |  Branch (364:9): [True: 0, False: 1]
  ------------------
  365|      1|    if ((state->posonlyargs = PyUnicode_InternFromString("posonlyargs")) == NULL) return -1;
  ------------------
  |  Branch (365:9): [True: 0, False: 1]
  ------------------
  366|      1|    if ((state->rest = PyUnicode_InternFromString("rest")) == NULL) return -1;
  ------------------
  |  Branch (366:9): [True: 0, False: 1]
  ------------------
  367|      1|    if ((state->returns = PyUnicode_InternFromString("returns")) == NULL) return -1;
  ------------------
  |  Branch (367:9): [True: 0, False: 1]
  ------------------
  368|      1|    if ((state->right = PyUnicode_InternFromString("right")) == NULL) return -1;
  ------------------
  |  Branch (368:9): [True: 0, False: 1]
  ------------------
  369|      1|    if ((state->simple = PyUnicode_InternFromString("simple")) == NULL) return -1;
  ------------------
  |  Branch (369:9): [True: 0, False: 1]
  ------------------
  370|      1|    if ((state->slice = PyUnicode_InternFromString("slice")) == NULL) return -1;
  ------------------
  |  Branch (370:9): [True: 0, False: 1]
  ------------------
  371|      1|    if ((state->step = PyUnicode_InternFromString("step")) == NULL) return -1;
  ------------------
  |  Branch (371:9): [True: 0, False: 1]
  ------------------
  372|      1|    if ((state->str = PyUnicode_InternFromString("str")) == NULL) return -1;
  ------------------
  |  Branch (372:9): [True: 0, False: 1]
  ------------------
  373|      1|    if ((state->subject = PyUnicode_InternFromString("subject")) == NULL) return -1;
  ------------------
  |  Branch (373:9): [True: 0, False: 1]
  ------------------
  374|      1|    if ((state->tag = PyUnicode_InternFromString("tag")) == NULL) return -1;
  ------------------
  |  Branch (374:9): [True: 0, False: 1]
  ------------------
  375|      1|    if ((state->target = PyUnicode_InternFromString("target")) == NULL) return -1;
  ------------------
  |  Branch (375:9): [True: 0, False: 1]
  ------------------
  376|      1|    if ((state->targets = PyUnicode_InternFromString("targets")) == NULL) return -1;
  ------------------
  |  Branch (376:9): [True: 0, False: 1]
  ------------------
  377|      1|    if ((state->test = PyUnicode_InternFromString("test")) == NULL) return -1;
  ------------------
  |  Branch (377:9): [True: 0, False: 1]
  ------------------
  378|      1|    if ((state->type = PyUnicode_InternFromString("type")) == NULL) return -1;
  ------------------
  |  Branch (378:9): [True: 0, False: 1]
  ------------------
  379|      1|    if ((state->type_comment = PyUnicode_InternFromString("type_comment")) == NULL) return -1;
  ------------------
  |  Branch (379:9): [True: 0, False: 1]
  ------------------
  380|      1|    if ((state->type_ignores = PyUnicode_InternFromString("type_ignores")) == NULL) return -1;
  ------------------
  |  Branch (380:9): [True: 0, False: 1]
  ------------------
  381|      1|    if ((state->type_params = PyUnicode_InternFromString("type_params")) == NULL) return -1;
  ------------------
  |  Branch (381:9): [True: 0, False: 1]
  ------------------
  382|      1|    if ((state->upper = PyUnicode_InternFromString("upper")) == NULL) return -1;
  ------------------
  |  Branch (382:9): [True: 0, False: 1]
  ------------------
  383|      1|    if ((state->value = PyUnicode_InternFromString("value")) == NULL) return -1;
  ------------------
  |  Branch (383:9): [True: 0, False: 1]
  ------------------
  384|      1|    if ((state->values = PyUnicode_InternFromString("values")) == NULL) return -1;
  ------------------
  |  Branch (384:9): [True: 0, False: 1]
  ------------------
  385|      1|    if ((state->vararg = PyUnicode_InternFromString("vararg")) == NULL) return -1;
  ------------------
  |  Branch (385:9): [True: 0, False: 1]
  ------------------
  386|      1|    return 0;
  387|      1|};
Python-ast.c:ast_dealloc:
 1421|     37|{
 1422|     37|    AST_object *self = (AST_object*)op;
 1423|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 1424|     37|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1425|     37|    PyObject_GC_UnTrack(self);
 1426|     37|    PyObject_ClearManagedDict(op);
 1427|     37|    freefunc free_func = PyType_GetSlot(tp, Py_tp_free);
  ------------------
  |  |   82|     37|#define Py_tp_free 74
  ------------------
 1428|     37|    assert(free_func != NULL);
  ------------------
  |  Branch (1428:5): [True: 37, False: 0]
  ------------------
 1429|     37|    free_func(self);
 1430|     37|    Py_DECREF(tp);
  ------------------
  |  |  430|     37|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1431|     37|}
Python-ast.c:ast_repr:
 2153|      8|{
 2154|      8|    return ast_repr_max_depth((AST_object*)self, 3);
 2155|      8|}
Python-ast.c:ast_repr_max_depth:
 2031|     29|{
 2032|     29|    struct ast_state *state = get_ast_state();
 2033|     29|    if (state == NULL) {
  ------------------
  |  Branch (2033:9): [True: 0, False: 29]
  ------------------
 2034|      0|        return NULL;
 2035|      0|    }
 2036|       |
 2037|     29|    PyObject *fields = PyObject_GetAttr((PyObject *)Py_TYPE(self), state->_fields);
  ------------------
  |  |  213|     29|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2038|     29|    if (!fields) {
  ------------------
  |  Branch (2038:9): [True: 0, False: 29]
  ------------------
 2039|      0|        return NULL;
 2040|      0|    }
 2041|       |
 2042|     29|    Py_ssize_t numfields = PySequence_Size(fields);
 2043|     29|    if (numfields < 0) {
  ------------------
  |  Branch (2043:9): [True: 0, False: 29]
  ------------------
 2044|      0|        Py_DECREF(fields);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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 NULL;
 2046|      0|    }
 2047|       |
 2048|     29|    if (numfields == 0) {
  ------------------
  |  Branch (2048:9): [True: 5, False: 24]
  ------------------
 2049|      5|        Py_DECREF(fields);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2050|      5|        return PyUnicode_FromFormat("%s()", Py_TYPE(self)->tp_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2051|      5|    }
 2052|       |
 2053|     24|    if (depth <= 0) {
  ------------------
  |  Branch (2053:9): [True: 0, False: 24]
  ------------------
 2054|      0|        Py_DECREF(fields);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2055|      0|        return PyUnicode_FromFormat("%s(...)", 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2056|      0|    }
 2057|       |
 2058|     24|    int status = Py_ReprEnter((PyObject *)self);
 2059|     24|    if (status != 0) {
  ------------------
  |  Branch (2059:9): [True: 0, False: 24]
  ------------------
 2060|      0|        Py_DECREF(fields);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2061|      0|        if (status < 0) {
  ------------------
  |  Branch (2061:13): [True: 0, False: 0]
  ------------------
 2062|      0|            return NULL;
 2063|      0|        }
 2064|      0|        return PyUnicode_FromFormat("%s(...)", 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2065|      0|    }
 2066|       |
 2067|     24|    const char* tp_name = Py_TYPE(self)->tp_name;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2068|     24|    PyUnicodeWriter *writer = PyUnicodeWriter_Create(0);
 2069|     24|    if (writer == NULL) {
  ------------------
  |  Branch (2069:9): [True: 0, False: 24]
  ------------------
 2070|      0|        goto error;
 2071|      0|    }
 2072|       |
 2073|     24|    if (PyUnicodeWriter_WriteUTF8(writer, tp_name, -1) < 0) {
  ------------------
  |  Branch (2073:9): [True: 0, False: 24]
  ------------------
 2074|      0|        goto error;
 2075|      0|    }
 2076|     24|    if (PyUnicodeWriter_WriteChar(writer, '(') < 0) {
  ------------------
  |  Branch (2076:9): [True: 0, False: 24]
  ------------------
 2077|      0|        goto error;
 2078|      0|    }
 2079|       |
 2080|     78|    for (Py_ssize_t i = 0; i < numfields; i++) {
  ------------------
  |  Branch (2080:28): [True: 54, False: 24]
  ------------------
 2081|     54|        PyObject *name = PySequence_GetItem(fields, i);
 2082|     54|        if (!name) {
  ------------------
  |  Branch (2082:13): [True: 0, False: 54]
  ------------------
 2083|      0|            goto error;
 2084|      0|        }
 2085|       |
 2086|     54|        PyObject *value = PyObject_GetAttr((PyObject *)self, name);
 2087|     54|        if (!value) {
  ------------------
  |  Branch (2087:13): [True: 0, False: 54]
  ------------------
 2088|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2089|      0|            goto error;
 2090|      0|        }
 2091|       |
 2092|     54|        PyObject *value_repr;
 2093|     54|        if (PyList_Check(value) || PyTuple_Check(value)) {
  ------------------
  |  |   25|     54|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    108|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4, False: 50]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyList_Check(value) || PyTuple_Check(value)) {
  ------------------
  |  |   27|     50|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     50|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 50]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2094|      4|            value_repr = ast_repr_list(value, depth);
 2095|      4|        }
 2096|     50|        else if (PyType_IsSubtype(Py_TYPE(value), (PyTypeObject *)state->AST_type)) {
  ------------------
  |  |  213|     50|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2096:18): [True: 13, False: 37]
  ------------------
 2097|     13|            value_repr = ast_repr_max_depth((AST_object*)value, depth - 1);
 2098|     13|        }
 2099|     37|        else {
 2100|     37|            value_repr = PyObject_Repr(value);
 2101|     37|        }
 2102|       |
 2103|     54|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2104|       |
 2105|     54|        if (!value_repr) {
  ------------------
  |  Branch (2105:13): [True: 0, False: 54]
  ------------------
 2106|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2107|      0|            goto error;
 2108|      0|        }
 2109|       |
 2110|     54|        if (i > 0) {
  ------------------
  |  Branch (2110:13): [True: 30, False: 24]
  ------------------
 2111|     30|            if (PyUnicodeWriter_WriteASCII(writer, ", ", 2) < 0) {
  ------------------
  |  Branch (2111:17): [True: 0, False: 30]
  ------------------
 2112|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2113|      0|                Py_DECREF(value_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|      0|                goto error;
 2115|      0|            }
 2116|     30|        }
 2117|     54|        if (PyUnicodeWriter_WriteStr(writer, name) < 0) {
  ------------------
  |  Branch (2117:13): [True: 0, False: 54]
  ------------------
 2118|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2119|      0|            Py_DECREF(value_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2120|      0|            goto error;
 2121|      0|        }
 2122|       |
 2123|     54|        Py_DECREF(name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2124|       |
 2125|     54|        if (PyUnicodeWriter_WriteChar(writer, '=') < 0) {
  ------------------
  |  Branch (2125:13): [True: 0, False: 54]
  ------------------
 2126|      0|            Py_DECREF(value_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2127|      0|            goto error;
 2128|      0|        }
 2129|     54|        if (PyUnicodeWriter_WriteStr(writer, value_repr) < 0) {
  ------------------
  |  Branch (2129:13): [True: 0, False: 54]
  ------------------
 2130|      0|            Py_DECREF(value_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2131|      0|            goto error;
 2132|      0|        }
 2133|       |
 2134|     54|        Py_DECREF(value_repr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2135|     54|    }
 2136|       |
 2137|     24|    if (PyUnicodeWriter_WriteChar(writer, ')') < 0) {
  ------------------
  |  Branch (2137:9): [True: 0, False: 24]
  ------------------
 2138|      0|        goto error;
 2139|      0|    }
 2140|     24|    Py_ReprLeave((PyObject *)self);
 2141|     24|    Py_DECREF(fields);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2142|     24|    return PyUnicodeWriter_Finish(writer);
 2143|       |
 2144|      0|error:
 2145|      0|    Py_ReprLeave((PyObject *)self);
 2146|      0|    Py_DECREF(fields);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2147|      0|    PyUnicodeWriter_Discard(writer);
 2148|       |    return NULL;
 2149|     24|}
Python-ast.c:ast_repr_list:
 1944|      4|{
 1945|      4|    assert(PyList_Check(list) || PyTuple_Check(list));
  ------------------
  |  Branch (1945:5): [True: 4, False: 0]
  |  Branch (1945:5): [True: 0, False: 0]
  ------------------
 1946|       |
 1947|      4|    struct ast_state *state = get_ast_state();
 1948|      4|    if (state == NULL) {
  ------------------
  |  Branch (1948:9): [True: 0, False: 4]
  ------------------
 1949|      0|        return NULL;
 1950|      0|    }
 1951|       |
 1952|      4|    Py_ssize_t length = PySequence_Size(list);
 1953|      4|    if (length < 0) {
  ------------------
  |  Branch (1953:9): [True: 0, False: 4]
  ------------------
 1954|      0|        return NULL;
 1955|      0|    }
 1956|      4|    else if (length == 0) {
  ------------------
  |  Branch (1956:14): [True: 0, False: 4]
  ------------------
 1957|      0|        return PyObject_Repr(list);
 1958|      0|    }
 1959|       |
 1960|      4|    PyObject *items[2] = {NULL, NULL};
 1961|      4|    PyUnicodeWriter *writer = PyUnicodeWriter_Create(0);
 1962|      4|    if (writer == NULL) {
  ------------------
  |  Branch (1962:9): [True: 0, False: 4]
  ------------------
 1963|      0|        goto error;
 1964|      0|    }
 1965|       |
 1966|      4|    items[0] = PySequence_GetItem(list, 0);
 1967|      4|    if (!items[0]) {
  ------------------
  |  Branch (1967:9): [True: 0, False: 4]
  ------------------
 1968|      0|        goto error;
 1969|      0|    }
 1970|      4|    if (length > 1) {
  ------------------
  |  Branch (1970:9): [True: 4, False: 0]
  ------------------
 1971|      4|        items[1] = PySequence_GetItem(list, length - 1);
 1972|      4|        if (!items[1]) {
  ------------------
  |  Branch (1972:13): [True: 0, False: 4]
  ------------------
 1973|      0|            goto error;
 1974|      0|        }
 1975|      4|    }
 1976|       |
 1977|      4|    bool is_list = PyList_Check(list);
  ------------------
  |  |   25|      4|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
 1978|      4|    if (PyUnicodeWriter_WriteChar(writer, is_list ? '[' : '(') < 0) {
  ------------------
  |  Branch (1978:9): [True: 0, False: 4]
  |  Branch (1978:43): [True: 4, False: 0]
  ------------------
 1979|      0|        goto error;
 1980|      0|    }
 1981|       |
 1982|     12|    for (Py_ssize_t i = 0; i < Py_MIN(length, 2); i++) {
  ------------------
  |  |  127|     12|       __extension__ \
  |  |  128|     12|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|     12|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|     12|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|     12|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|     12|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 0, False: 12]
  |  |  ------------------
  ------------------
  |  Branch (1982:28): [True: 8, False: 4]
  ------------------
 1983|      8|        if (i > 0) {
  ------------------
  |  Branch (1983:13): [True: 4, False: 4]
  ------------------
 1984|      4|            if (PyUnicodeWriter_WriteASCII(writer, ", ", 2) < 0) {
  ------------------
  |  Branch (1984:17): [True: 0, False: 4]
  ------------------
 1985|      0|                goto error;
 1986|      0|            }
 1987|      4|        }
 1988|       |
 1989|      8|        PyObject *item = items[i];
 1990|      8|        if (PyType_IsSubtype(Py_TYPE(item), (PyTypeObject *)state->AST_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1990:13): [True: 8, False: 0]
  ------------------
 1991|      8|            PyObject *item_repr;
 1992|      8|            item_repr = ast_repr_max_depth((AST_object*)item, depth - 1);
 1993|      8|            if (!item_repr) {
  ------------------
  |  Branch (1993:17): [True: 0, False: 8]
  ------------------
 1994|      0|                goto error;
 1995|      0|            }
 1996|      8|            if (PyUnicodeWriter_WriteStr(writer, item_repr) < 0) {
  ------------------
  |  Branch (1996:17): [True: 0, False: 8]
  ------------------
 1997|      0|                Py_DECREF(item_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1998|      0|                goto error;
 1999|      0|            }
 2000|      8|            Py_DECREF(item_repr);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2001|      8|        } else {
 2002|      0|            if (PyUnicodeWriter_WriteRepr(writer, item) < 0) {
  ------------------
  |  Branch (2002:17): [True: 0, False: 0]
  ------------------
 2003|      0|                goto error;
 2004|      0|            }
 2005|      0|        }
 2006|       |
 2007|      8|        if (i == 0 && length > 2) {
  ------------------
  |  Branch (2007:13): [True: 4, False: 4]
  |  Branch (2007:23): [True: 0, False: 4]
  ------------------
 2008|      0|            if (PyUnicodeWriter_WriteASCII(writer, ", ...", 5) < 0) {
  ------------------
  |  Branch (2008:17): [True: 0, False: 0]
  ------------------
 2009|      0|                goto error;
 2010|      0|            }
 2011|      0|        }
 2012|      8|    }
 2013|       |
 2014|      4|    if (PyUnicodeWriter_WriteChar(writer, is_list ? ']' : ')') < 0) {
  ------------------
  |  Branch (2014:9): [True: 0, False: 4]
  |  Branch (2014:43): [True: 4, False: 0]
  ------------------
 2015|      0|        goto error;
 2016|      0|    }
 2017|       |
 2018|      4|    Py_XDECREF(items[0]);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2019|      4|    Py_XDECREF(items[1]);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2020|      4|    return PyUnicodeWriter_Finish(writer);
 2021|       |
 2022|      0|error:
 2023|      0|    Py_XDECREF(items[0]);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2024|      0|    Py_XDECREF(items[1]);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2025|      0|    PyUnicodeWriter_Discard(writer);
 2026|       |    return NULL;
 2027|      4|}
Python-ast.c:ast_traverse:
 1435|     64|{
 1436|     64|    AST_object *self = (AST_object*)op;
 1437|     64|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1438|     64|    return PyObject_VisitManagedDict(op, visit, arg);
 1439|     64|}
Python-ast.c:add_ast_fields:
 2334|      1|{
 2335|      1|    PyObject *empty_tuple;
 2336|      1|    empty_tuple = PyTuple_New(0);
 2337|      1|    if (!empty_tuple ||
  ------------------
  |  Branch (2337:9): [True: 0, False: 1]
  ------------------
 2338|      1|        PyObject_SetAttrString(state->AST_type, "_fields", empty_tuple) < 0 ||
  ------------------
  |  Branch (2338:9): [True: 0, False: 1]
  ------------------
 2339|      1|        PyObject_SetAttrString(state->AST_type, "__match_args__", empty_tuple) < 0 ||
  ------------------
  |  Branch (2339:9): [True: 0, False: 1]
  ------------------
 2340|      1|        PyObject_SetAttrString(state->AST_type, "_attributes", empty_tuple) < 0) {
  ------------------
  |  Branch (2340:9): [True: 0, False: 1]
  ------------------
 2341|      0|        Py_XDECREF(empty_tuple);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2342|      0|        return -1;
 2343|      0|    }
 2344|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2345|      1|    return 0;
 2346|      1|}
Python-ast.c:make_type:
 2185|    125|{
 2186|    125|    PyObject *fnames, *result;
 2187|    125|    int i;
 2188|    125|    fnames = PyTuple_New(num_fields);
 2189|    125|    if (!fnames) return NULL;
  ------------------
  |  Branch (2189:9): [True: 0, False: 125]
  ------------------
 2190|    323|    for (i = 0; i < num_fields; i++) {
  ------------------
  |  Branch (2190:17): [True: 198, False: 125]
  ------------------
 2191|    198|        PyObject *field = PyUnicode_InternFromString(fields[i]);
 2192|    198|        if (!field) {
  ------------------
  |  Branch (2192:13): [True: 0, False: 198]
  ------------------
 2193|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2194|      0|            return NULL;
 2195|      0|        }
 2196|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2197|    198|    }
 2198|    125|    result = PyObject_CallFunction((PyObject*)&PyType_Type, "s(O){OOOOOOOs}",
 2199|    125|                    type, base,
 2200|    125|                    state->_fields, fnames,
 2201|    125|                    state->__match_args__, fnames,
 2202|    125|                    state->__module__,
 2203|    125|                    state->ast,
 2204|    125|                    state->__doc__, doc);
 2205|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2206|    125|    return result;
 2207|    125|}
Python-ast.c:add_attributes:
 2211|     19|{
 2212|     19|    int i, result;
 2213|     19|    PyObject *s, *l = PyTuple_New(num_fields);
 2214|     19|    if (!l)
  ------------------
  |  Branch (2214:9): [True: 0, False: 19]
  ------------------
 2215|      0|        return -1;
 2216|     51|    for (i = 0; i < num_fields; i++) {
  ------------------
  |  Branch (2216:17): [True: 32, False: 19]
  ------------------
 2217|     32|        s = PyUnicode_InternFromString(attrs[i]);
 2218|     32|        if (!s) {
  ------------------
  |  Branch (2218:13): [True: 0, False: 32]
  ------------------
 2219|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2220|      0|            return -1;
 2221|      0|        }
 2222|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2223|     32|    }
 2224|     19|    result = PyObject_SetAttr(type, state->_attributes, l);
 2225|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2226|     19|    return result;
 2227|     19|}
Python-ast.c:add_ast_annotations:
  829|      1|{
  830|      1|    enum {
  831|      1|        FIELD_OPTIONAL = 1,
  832|      1|        FIELD_SEQUENCE = 2,
  833|      1|        FIELD_BUILTIN = 4,
  834|      1|    };
  835|      1|    PyTypeObject *const builtin_types[] = {
  836|      1|        &PyUnicode_Type,
  837|      1|        &PyLong_Type,
  838|      1|        &PyBaseObject_Type,
  839|      1|    };
  840|       |    // Offsets refer to this interpreter's AST state, not global types.
  841|      1|    static_assert(sizeof(struct ast_state) <= UINT16_MAX,
  842|      1|                  "ast_state offsets must fit in uint16_t");
  843|      1|    static const struct {
  844|      1|        uint16_t name_offset;
  845|      1|        uint16_t type_offset;  // An index into builtin_types for builtins.
  846|      1|        uint8_t flags;
  847|      1|    } fields[] = {
  848|      1|        {offsetof(struct ast_state, body),
  849|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  850|      1|        {offsetof(struct ast_state, type_ignores),
  851|      1|         offsetof(struct ast_state, type_ignore_type), FIELD_SEQUENCE},
  852|      1|        {offsetof(struct ast_state, body),
  853|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  854|      1|        {offsetof(struct ast_state, body),
  855|      1|         offsetof(struct ast_state, expr_type), 0},
  856|      1|        {offsetof(struct ast_state, argtypes),
  857|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
  858|      1|        {offsetof(struct ast_state, returns),
  859|      1|         offsetof(struct ast_state, expr_type), 0},
  860|      1|        {offsetof(struct ast_state, name),
  861|      1|         0, FIELD_BUILTIN},
  862|      1|        {offsetof(struct ast_state, args),
  863|      1|         offsetof(struct ast_state, arguments_type), 0},
  864|      1|        {offsetof(struct ast_state, body),
  865|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  866|      1|        {offsetof(struct ast_state, decorator_list),
  867|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
  868|      1|        {offsetof(struct ast_state, returns),
  869|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
  870|      1|        {offsetof(struct ast_state, type_comment),
  871|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
  872|      1|        {offsetof(struct ast_state, type_params),
  873|      1|         offsetof(struct ast_state, type_param_type), FIELD_SEQUENCE},
  874|      1|        {offsetof(struct ast_state, name),
  875|      1|         0, FIELD_BUILTIN},
  876|      1|        {offsetof(struct ast_state, args),
  877|      1|         offsetof(struct ast_state, arguments_type), 0},
  878|      1|        {offsetof(struct ast_state, body),
  879|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  880|      1|        {offsetof(struct ast_state, decorator_list),
  881|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
  882|      1|        {offsetof(struct ast_state, returns),
  883|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
  884|      1|        {offsetof(struct ast_state, type_comment),
  885|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
  886|      1|        {offsetof(struct ast_state, type_params),
  887|      1|         offsetof(struct ast_state, type_param_type), FIELD_SEQUENCE},
  888|      1|        {offsetof(struct ast_state, name),
  889|      1|         0, FIELD_BUILTIN},
  890|      1|        {offsetof(struct ast_state, bases),
  891|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
  892|      1|        {offsetof(struct ast_state, keywords),
  893|      1|         offsetof(struct ast_state, keyword_type), FIELD_SEQUENCE},
  894|      1|        {offsetof(struct ast_state, body),
  895|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  896|      1|        {offsetof(struct ast_state, decorator_list),
  897|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
  898|      1|        {offsetof(struct ast_state, type_params),
  899|      1|         offsetof(struct ast_state, type_param_type), FIELD_SEQUENCE},
  900|      1|        {offsetof(struct ast_state, value),
  901|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
  902|      1|        {offsetof(struct ast_state, targets),
  903|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
  904|      1|        {offsetof(struct ast_state, targets),
  905|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
  906|      1|        {offsetof(struct ast_state, value),
  907|      1|         offsetof(struct ast_state, expr_type), 0},
  908|      1|        {offsetof(struct ast_state, type_comment),
  909|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
  910|      1|        {offsetof(struct ast_state, name),
  911|      1|         offsetof(struct ast_state, expr_type), 0},
  912|      1|        {offsetof(struct ast_state, type_params),
  913|      1|         offsetof(struct ast_state, type_param_type), FIELD_SEQUENCE},
  914|      1|        {offsetof(struct ast_state, value),
  915|      1|         offsetof(struct ast_state, expr_type), 0},
  916|      1|        {offsetof(struct ast_state, target),
  917|      1|         offsetof(struct ast_state, expr_type), 0},
  918|      1|        {offsetof(struct ast_state, op),
  919|      1|         offsetof(struct ast_state, operator_type), 0},
  920|      1|        {offsetof(struct ast_state, value),
  921|      1|         offsetof(struct ast_state, expr_type), 0},
  922|      1|        {offsetof(struct ast_state, target),
  923|      1|         offsetof(struct ast_state, expr_type), 0},
  924|      1|        {offsetof(struct ast_state, annotation),
  925|      1|         offsetof(struct ast_state, expr_type), 0},
  926|      1|        {offsetof(struct ast_state, value),
  927|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
  928|      1|        {offsetof(struct ast_state, simple),
  929|      1|         1, FIELD_BUILTIN},
  930|      1|        {offsetof(struct ast_state, target),
  931|      1|         offsetof(struct ast_state, expr_type), 0},
  932|      1|        {offsetof(struct ast_state, iter),
  933|      1|         offsetof(struct ast_state, expr_type), 0},
  934|      1|        {offsetof(struct ast_state, body),
  935|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  936|      1|        {offsetof(struct ast_state, orelse),
  937|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  938|      1|        {offsetof(struct ast_state, type_comment),
  939|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
  940|      1|        {offsetof(struct ast_state, target),
  941|      1|         offsetof(struct ast_state, expr_type), 0},
  942|      1|        {offsetof(struct ast_state, iter),
  943|      1|         offsetof(struct ast_state, expr_type), 0},
  944|      1|        {offsetof(struct ast_state, body),
  945|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  946|      1|        {offsetof(struct ast_state, orelse),
  947|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  948|      1|        {offsetof(struct ast_state, type_comment),
  949|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
  950|      1|        {offsetof(struct ast_state, test),
  951|      1|         offsetof(struct ast_state, expr_type), 0},
  952|      1|        {offsetof(struct ast_state, body),
  953|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  954|      1|        {offsetof(struct ast_state, orelse),
  955|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  956|      1|        {offsetof(struct ast_state, test),
  957|      1|         offsetof(struct ast_state, expr_type), 0},
  958|      1|        {offsetof(struct ast_state, body),
  959|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  960|      1|        {offsetof(struct ast_state, orelse),
  961|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  962|      1|        {offsetof(struct ast_state, items),
  963|      1|         offsetof(struct ast_state, withitem_type), FIELD_SEQUENCE},
  964|      1|        {offsetof(struct ast_state, body),
  965|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  966|      1|        {offsetof(struct ast_state, type_comment),
  967|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
  968|      1|        {offsetof(struct ast_state, items),
  969|      1|         offsetof(struct ast_state, withitem_type), FIELD_SEQUENCE},
  970|      1|        {offsetof(struct ast_state, body),
  971|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  972|      1|        {offsetof(struct ast_state, type_comment),
  973|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
  974|      1|        {offsetof(struct ast_state, subject),
  975|      1|         offsetof(struct ast_state, expr_type), 0},
  976|      1|        {offsetof(struct ast_state, cases),
  977|      1|         offsetof(struct ast_state, match_case_type), FIELD_SEQUENCE},
  978|      1|        {offsetof(struct ast_state, exc),
  979|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
  980|      1|        {offsetof(struct ast_state, cause),
  981|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
  982|      1|        {offsetof(struct ast_state, body),
  983|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  984|      1|        {offsetof(struct ast_state, handlers),
  985|      1|         offsetof(struct ast_state, excepthandler_type), FIELD_SEQUENCE},
  986|      1|        {offsetof(struct ast_state, orelse),
  987|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  988|      1|        {offsetof(struct ast_state, finalbody),
  989|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  990|      1|        {offsetof(struct ast_state, body),
  991|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  992|      1|        {offsetof(struct ast_state, handlers),
  993|      1|         offsetof(struct ast_state, excepthandler_type), FIELD_SEQUENCE},
  994|      1|        {offsetof(struct ast_state, orelse),
  995|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  996|      1|        {offsetof(struct ast_state, finalbody),
  997|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  998|      1|        {offsetof(struct ast_state, test),
  999|      1|         offsetof(struct ast_state, expr_type), 0},
 1000|      1|        {offsetof(struct ast_state, msg),
 1001|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1002|      1|        {offsetof(struct ast_state, names),
 1003|      1|         offsetof(struct ast_state, alias_type), FIELD_SEQUENCE},
 1004|      1|        {offsetof(struct ast_state, is_lazy),
 1005|      1|         1, FIELD_OPTIONAL | FIELD_BUILTIN},
 1006|      1|        {offsetof(struct ast_state, module),
 1007|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
 1008|      1|        {offsetof(struct ast_state, names),
 1009|      1|         offsetof(struct ast_state, alias_type), FIELD_SEQUENCE},
 1010|      1|        {offsetof(struct ast_state, level),
 1011|      1|         1, FIELD_OPTIONAL | FIELD_BUILTIN},
 1012|      1|        {offsetof(struct ast_state, is_lazy),
 1013|      1|         1, FIELD_OPTIONAL | FIELD_BUILTIN},
 1014|      1|        {offsetof(struct ast_state, names),
 1015|      1|         0, FIELD_SEQUENCE | FIELD_BUILTIN},
 1016|      1|        {offsetof(struct ast_state, names),
 1017|      1|         0, FIELD_SEQUENCE | FIELD_BUILTIN},
 1018|      1|        {offsetof(struct ast_state, value),
 1019|      1|         offsetof(struct ast_state, expr_type), 0},
 1020|      1|        {offsetof(struct ast_state, op),
 1021|      1|         offsetof(struct ast_state, boolop_type), 0},
 1022|      1|        {offsetof(struct ast_state, values),
 1023|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1024|      1|        {offsetof(struct ast_state, target),
 1025|      1|         offsetof(struct ast_state, expr_type), 0},
 1026|      1|        {offsetof(struct ast_state, value),
 1027|      1|         offsetof(struct ast_state, expr_type), 0},
 1028|      1|        {offsetof(struct ast_state, left),
 1029|      1|         offsetof(struct ast_state, expr_type), 0},
 1030|      1|        {offsetof(struct ast_state, op),
 1031|      1|         offsetof(struct ast_state, operator_type), 0},
 1032|      1|        {offsetof(struct ast_state, right),
 1033|      1|         offsetof(struct ast_state, expr_type), 0},
 1034|      1|        {offsetof(struct ast_state, op),
 1035|      1|         offsetof(struct ast_state, unaryop_type), 0},
 1036|      1|        {offsetof(struct ast_state, operand),
 1037|      1|         offsetof(struct ast_state, expr_type), 0},
 1038|      1|        {offsetof(struct ast_state, args),
 1039|      1|         offsetof(struct ast_state, arguments_type), 0},
 1040|      1|        {offsetof(struct ast_state, body),
 1041|      1|         offsetof(struct ast_state, expr_type), 0},
 1042|      1|        {offsetof(struct ast_state, test),
 1043|      1|         offsetof(struct ast_state, expr_type), 0},
 1044|      1|        {offsetof(struct ast_state, body),
 1045|      1|         offsetof(struct ast_state, expr_type), 0},
 1046|      1|        {offsetof(struct ast_state, orelse),
 1047|      1|         offsetof(struct ast_state, expr_type), 0},
 1048|      1|        {offsetof(struct ast_state, keys),
 1049|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1050|      1|        {offsetof(struct ast_state, values),
 1051|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1052|      1|        {offsetof(struct ast_state, elts),
 1053|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1054|      1|        {offsetof(struct ast_state, elt),
 1055|      1|         offsetof(struct ast_state, expr_type), 0},
 1056|      1|        {offsetof(struct ast_state, generators),
 1057|      1|         offsetof(struct ast_state, comprehension_type), FIELD_SEQUENCE},
 1058|      1|        {offsetof(struct ast_state, elt),
 1059|      1|         offsetof(struct ast_state, expr_type), 0},
 1060|      1|        {offsetof(struct ast_state, generators),
 1061|      1|         offsetof(struct ast_state, comprehension_type), FIELD_SEQUENCE},
 1062|      1|        {offsetof(struct ast_state, key),
 1063|      1|         offsetof(struct ast_state, expr_type), 0},
 1064|      1|        {offsetof(struct ast_state, value),
 1065|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1066|      1|        {offsetof(struct ast_state, generators),
 1067|      1|         offsetof(struct ast_state, comprehension_type), FIELD_SEQUENCE},
 1068|      1|        {offsetof(struct ast_state, elt),
 1069|      1|         offsetof(struct ast_state, expr_type), 0},
 1070|      1|        {offsetof(struct ast_state, generators),
 1071|      1|         offsetof(struct ast_state, comprehension_type), FIELD_SEQUENCE},
 1072|      1|        {offsetof(struct ast_state, value),
 1073|      1|         offsetof(struct ast_state, expr_type), 0},
 1074|      1|        {offsetof(struct ast_state, value),
 1075|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1076|      1|        {offsetof(struct ast_state, value),
 1077|      1|         offsetof(struct ast_state, expr_type), 0},
 1078|      1|        {offsetof(struct ast_state, left),
 1079|      1|         offsetof(struct ast_state, expr_type), 0},
 1080|      1|        {offsetof(struct ast_state, ops),
 1081|      1|         offsetof(struct ast_state, cmpop_type), FIELD_SEQUENCE},
 1082|      1|        {offsetof(struct ast_state, comparators),
 1083|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1084|      1|        {offsetof(struct ast_state, func),
 1085|      1|         offsetof(struct ast_state, expr_type), 0},
 1086|      1|        {offsetof(struct ast_state, args),
 1087|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1088|      1|        {offsetof(struct ast_state, keywords),
 1089|      1|         offsetof(struct ast_state, keyword_type), FIELD_SEQUENCE},
 1090|      1|        {offsetof(struct ast_state, value),
 1091|      1|         offsetof(struct ast_state, expr_type), 0},
 1092|      1|        {offsetof(struct ast_state, conversion),
 1093|      1|         1, FIELD_BUILTIN},
 1094|      1|        {offsetof(struct ast_state, format_spec),
 1095|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1096|      1|        {offsetof(struct ast_state, value),
 1097|      1|         offsetof(struct ast_state, expr_type), 0},
 1098|      1|        {offsetof(struct ast_state, str),
 1099|      1|         2, FIELD_BUILTIN},
 1100|      1|        {offsetof(struct ast_state, conversion),
 1101|      1|         1, FIELD_BUILTIN},
 1102|      1|        {offsetof(struct ast_state, format_spec),
 1103|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1104|      1|        {offsetof(struct ast_state, values),
 1105|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1106|      1|        {offsetof(struct ast_state, values),
 1107|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1108|      1|        {offsetof(struct ast_state, value),
 1109|      1|         2, FIELD_BUILTIN},
 1110|      1|        {offsetof(struct ast_state, kind),
 1111|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
 1112|      1|        {offsetof(struct ast_state, value),
 1113|      1|         offsetof(struct ast_state, expr_type), 0},
 1114|      1|        {offsetof(struct ast_state, attr),
 1115|      1|         0, FIELD_BUILTIN},
 1116|      1|        {offsetof(struct ast_state, ctx),
 1117|      1|         offsetof(struct ast_state, expr_context_type), 0},
 1118|      1|        {offsetof(struct ast_state, value),
 1119|      1|         offsetof(struct ast_state, expr_type), 0},
 1120|      1|        {offsetof(struct ast_state, slice),
 1121|      1|         offsetof(struct ast_state, expr_type), 0},
 1122|      1|        {offsetof(struct ast_state, ctx),
 1123|      1|         offsetof(struct ast_state, expr_context_type), 0},
 1124|      1|        {offsetof(struct ast_state, value),
 1125|      1|         offsetof(struct ast_state, expr_type), 0},
 1126|      1|        {offsetof(struct ast_state, ctx),
 1127|      1|         offsetof(struct ast_state, expr_context_type), 0},
 1128|      1|        {offsetof(struct ast_state, id),
 1129|      1|         0, FIELD_BUILTIN},
 1130|      1|        {offsetof(struct ast_state, ctx),
 1131|      1|         offsetof(struct ast_state, expr_context_type), 0},
 1132|      1|        {offsetof(struct ast_state, elts),
 1133|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1134|      1|        {offsetof(struct ast_state, ctx),
 1135|      1|         offsetof(struct ast_state, expr_context_type), 0},
 1136|      1|        {offsetof(struct ast_state, elts),
 1137|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1138|      1|        {offsetof(struct ast_state, ctx),
 1139|      1|         offsetof(struct ast_state, expr_context_type), 0},
 1140|      1|        {offsetof(struct ast_state, lower),
 1141|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1142|      1|        {offsetof(struct ast_state, upper),
 1143|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1144|      1|        {offsetof(struct ast_state, step),
 1145|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1146|      1|        {offsetof(struct ast_state, target),
 1147|      1|         offsetof(struct ast_state, expr_type), 0},
 1148|      1|        {offsetof(struct ast_state, iter),
 1149|      1|         offsetof(struct ast_state, expr_type), 0},
 1150|      1|        {offsetof(struct ast_state, ifs),
 1151|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1152|      1|        {offsetof(struct ast_state, is_async),
 1153|      1|         1, FIELD_BUILTIN},
 1154|      1|        {offsetof(struct ast_state, type),
 1155|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1156|      1|        {offsetof(struct ast_state, name),
 1157|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
 1158|      1|        {offsetof(struct ast_state, body),
 1159|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
 1160|      1|        {offsetof(struct ast_state, posonlyargs),
 1161|      1|         offsetof(struct ast_state, arg_type), FIELD_SEQUENCE},
 1162|      1|        {offsetof(struct ast_state, args),
 1163|      1|         offsetof(struct ast_state, arg_type), FIELD_SEQUENCE},
 1164|      1|        {offsetof(struct ast_state, vararg),
 1165|      1|         offsetof(struct ast_state, arg_type), FIELD_OPTIONAL},
 1166|      1|        {offsetof(struct ast_state, kwonlyargs),
 1167|      1|         offsetof(struct ast_state, arg_type), FIELD_SEQUENCE},
 1168|      1|        {offsetof(struct ast_state, kw_defaults),
 1169|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1170|      1|        {offsetof(struct ast_state, kwarg),
 1171|      1|         offsetof(struct ast_state, arg_type), FIELD_OPTIONAL},
 1172|      1|        {offsetof(struct ast_state, defaults),
 1173|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1174|      1|        {offsetof(struct ast_state, arg),
 1175|      1|         0, FIELD_BUILTIN},
 1176|      1|        {offsetof(struct ast_state, annotation),
 1177|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1178|      1|        {offsetof(struct ast_state, type_comment),
 1179|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
 1180|      1|        {offsetof(struct ast_state, arg),
 1181|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
 1182|      1|        {offsetof(struct ast_state, value),
 1183|      1|         offsetof(struct ast_state, expr_type), 0},
 1184|      1|        {offsetof(struct ast_state, name),
 1185|      1|         0, FIELD_BUILTIN},
 1186|      1|        {offsetof(struct ast_state, asname),
 1187|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
 1188|      1|        {offsetof(struct ast_state, context_expr),
 1189|      1|         offsetof(struct ast_state, expr_type), 0},
 1190|      1|        {offsetof(struct ast_state, optional_vars),
 1191|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1192|      1|        {offsetof(struct ast_state, pattern),
 1193|      1|         offsetof(struct ast_state, pattern_type), 0},
 1194|      1|        {offsetof(struct ast_state, guard),
 1195|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1196|      1|        {offsetof(struct ast_state, body),
 1197|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
 1198|      1|        {offsetof(struct ast_state, value),
 1199|      1|         offsetof(struct ast_state, expr_type), 0},
 1200|      1|        {offsetof(struct ast_state, value),
 1201|      1|         2, FIELD_BUILTIN},
 1202|      1|        {offsetof(struct ast_state, patterns),
 1203|      1|         offsetof(struct ast_state, pattern_type), FIELD_SEQUENCE},
 1204|      1|        {offsetof(struct ast_state, keys),
 1205|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1206|      1|        {offsetof(struct ast_state, patterns),
 1207|      1|         offsetof(struct ast_state, pattern_type), FIELD_SEQUENCE},
 1208|      1|        {offsetof(struct ast_state, rest),
 1209|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
 1210|      1|        {offsetof(struct ast_state, cls),
 1211|      1|         offsetof(struct ast_state, expr_type), 0},
 1212|      1|        {offsetof(struct ast_state, patterns),
 1213|      1|         offsetof(struct ast_state, pattern_type), FIELD_SEQUENCE},
 1214|      1|        {offsetof(struct ast_state, kwd_attrs),
 1215|      1|         0, FIELD_SEQUENCE | FIELD_BUILTIN},
 1216|      1|        {offsetof(struct ast_state, kwd_patterns),
 1217|      1|         offsetof(struct ast_state, pattern_type), FIELD_SEQUENCE},
 1218|      1|        {offsetof(struct ast_state, name),
 1219|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
 1220|      1|        {offsetof(struct ast_state, pattern),
 1221|      1|         offsetof(struct ast_state, pattern_type), FIELD_OPTIONAL},
 1222|      1|        {offsetof(struct ast_state, name),
 1223|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
 1224|      1|        {offsetof(struct ast_state, patterns),
 1225|      1|         offsetof(struct ast_state, pattern_type), FIELD_SEQUENCE},
 1226|      1|        {offsetof(struct ast_state, lineno),
 1227|      1|         1, FIELD_BUILTIN},
 1228|      1|        {offsetof(struct ast_state, tag),
 1229|      1|         0, FIELD_BUILTIN},
 1230|      1|        {offsetof(struct ast_state, name),
 1231|      1|         0, FIELD_BUILTIN},
 1232|      1|        {offsetof(struct ast_state, bound),
 1233|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1234|      1|        {offsetof(struct ast_state, default_value),
 1235|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1236|      1|        {offsetof(struct ast_state, name),
 1237|      1|         0, FIELD_BUILTIN},
 1238|      1|        {offsetof(struct ast_state, default_value),
 1239|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1240|      1|        {offsetof(struct ast_state, name),
 1241|      1|         0, FIELD_BUILTIN},
 1242|      1|        {offsetof(struct ast_state, default_value),
 1243|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1244|      1|    };
 1245|      1|    static const struct {
 1246|      1|        uint16_t type_offset;
 1247|      1|        uint16_t first_field;
 1248|      1|        uint16_t nfields;
 1249|      1|    } nodes[] = {
 1250|      1|        {offsetof(struct ast_state, Module_type), 0, 2},
 1251|      1|        {offsetof(struct ast_state, Interactive_type), 2, 1},
 1252|      1|        {offsetof(struct ast_state, Expression_type), 3, 1},
 1253|      1|        {offsetof(struct ast_state, FunctionType_type), 4, 2},
 1254|      1|        {offsetof(struct ast_state, FunctionDef_type), 6, 7},
 1255|      1|        {offsetof(struct ast_state, AsyncFunctionDef_type), 13, 7},
 1256|      1|        {offsetof(struct ast_state, ClassDef_type), 20, 6},
 1257|      1|        {offsetof(struct ast_state, Return_type), 26, 1},
 1258|      1|        {offsetof(struct ast_state, Delete_type), 27, 1},
 1259|      1|        {offsetof(struct ast_state, Assign_type), 28, 3},
 1260|      1|        {offsetof(struct ast_state, TypeAlias_type), 31, 3},
 1261|      1|        {offsetof(struct ast_state, AugAssign_type), 34, 3},
 1262|      1|        {offsetof(struct ast_state, AnnAssign_type), 37, 4},
 1263|      1|        {offsetof(struct ast_state, For_type), 41, 5},
 1264|      1|        {offsetof(struct ast_state, AsyncFor_type), 46, 5},
 1265|      1|        {offsetof(struct ast_state, While_type), 51, 3},
 1266|      1|        {offsetof(struct ast_state, If_type), 54, 3},
 1267|      1|        {offsetof(struct ast_state, With_type), 57, 3},
 1268|      1|        {offsetof(struct ast_state, AsyncWith_type), 60, 3},
 1269|      1|        {offsetof(struct ast_state, Match_type), 63, 2},
 1270|      1|        {offsetof(struct ast_state, Raise_type), 65, 2},
 1271|      1|        {offsetof(struct ast_state, Try_type), 67, 4},
 1272|      1|        {offsetof(struct ast_state, TryStar_type), 71, 4},
 1273|      1|        {offsetof(struct ast_state, Assert_type), 75, 2},
 1274|      1|        {offsetof(struct ast_state, Import_type), 77, 2},
 1275|      1|        {offsetof(struct ast_state, ImportFrom_type), 79, 4},
 1276|      1|        {offsetof(struct ast_state, Global_type), 83, 1},
 1277|      1|        {offsetof(struct ast_state, Nonlocal_type), 84, 1},
 1278|      1|        {offsetof(struct ast_state, Expr_type), 85, 1},
 1279|      1|        {offsetof(struct ast_state, Pass_type), 86, 0},
 1280|      1|        {offsetof(struct ast_state, Break_type), 86, 0},
 1281|      1|        {offsetof(struct ast_state, Continue_type), 86, 0},
 1282|      1|        {offsetof(struct ast_state, BoolOp_type), 86, 2},
 1283|      1|        {offsetof(struct ast_state, NamedExpr_type), 88, 2},
 1284|      1|        {offsetof(struct ast_state, BinOp_type), 90, 3},
 1285|      1|        {offsetof(struct ast_state, UnaryOp_type), 93, 2},
 1286|      1|        {offsetof(struct ast_state, Lambda_type), 95, 2},
 1287|      1|        {offsetof(struct ast_state, IfExp_type), 97, 3},
 1288|      1|        {offsetof(struct ast_state, Dict_type), 100, 2},
 1289|      1|        {offsetof(struct ast_state, Set_type), 102, 1},
 1290|      1|        {offsetof(struct ast_state, ListComp_type), 103, 2},
 1291|      1|        {offsetof(struct ast_state, SetComp_type), 105, 2},
 1292|      1|        {offsetof(struct ast_state, DictComp_type), 107, 3},
 1293|      1|        {offsetof(struct ast_state, GeneratorExp_type), 110, 2},
 1294|      1|        {offsetof(struct ast_state, Await_type), 112, 1},
 1295|      1|        {offsetof(struct ast_state, Yield_type), 113, 1},
 1296|      1|        {offsetof(struct ast_state, YieldFrom_type), 114, 1},
 1297|      1|        {offsetof(struct ast_state, Compare_type), 115, 3},
 1298|      1|        {offsetof(struct ast_state, Call_type), 118, 3},
 1299|      1|        {offsetof(struct ast_state, FormattedValue_type), 121, 3},
 1300|      1|        {offsetof(struct ast_state, Interpolation_type), 124, 4},
 1301|      1|        {offsetof(struct ast_state, JoinedStr_type), 128, 1},
 1302|      1|        {offsetof(struct ast_state, TemplateStr_type), 129, 1},
 1303|      1|        {offsetof(struct ast_state, Constant_type), 130, 2},
 1304|      1|        {offsetof(struct ast_state, Attribute_type), 132, 3},
 1305|      1|        {offsetof(struct ast_state, Subscript_type), 135, 3},
 1306|      1|        {offsetof(struct ast_state, Starred_type), 138, 2},
 1307|      1|        {offsetof(struct ast_state, Name_type), 140, 2},
 1308|      1|        {offsetof(struct ast_state, List_type), 142, 2},
 1309|      1|        {offsetof(struct ast_state, Tuple_type), 144, 2},
 1310|      1|        {offsetof(struct ast_state, Slice_type), 146, 3},
 1311|      1|        {offsetof(struct ast_state, Load_type), 149, 0},
 1312|      1|        {offsetof(struct ast_state, Store_type), 149, 0},
 1313|      1|        {offsetof(struct ast_state, Del_type), 149, 0},
 1314|      1|        {offsetof(struct ast_state, And_type), 149, 0},
 1315|      1|        {offsetof(struct ast_state, Or_type), 149, 0},
 1316|      1|        {offsetof(struct ast_state, Add_type), 149, 0},
 1317|      1|        {offsetof(struct ast_state, Sub_type), 149, 0},
 1318|      1|        {offsetof(struct ast_state, Mult_type), 149, 0},
 1319|      1|        {offsetof(struct ast_state, MatMult_type), 149, 0},
 1320|      1|        {offsetof(struct ast_state, Div_type), 149, 0},
 1321|      1|        {offsetof(struct ast_state, Mod_type), 149, 0},
 1322|      1|        {offsetof(struct ast_state, Pow_type), 149, 0},
 1323|      1|        {offsetof(struct ast_state, LShift_type), 149, 0},
 1324|      1|        {offsetof(struct ast_state, RShift_type), 149, 0},
 1325|      1|        {offsetof(struct ast_state, BitOr_type), 149, 0},
 1326|      1|        {offsetof(struct ast_state, BitXor_type), 149, 0},
 1327|      1|        {offsetof(struct ast_state, BitAnd_type), 149, 0},
 1328|      1|        {offsetof(struct ast_state, FloorDiv_type), 149, 0},
 1329|      1|        {offsetof(struct ast_state, Invert_type), 149, 0},
 1330|      1|        {offsetof(struct ast_state, Not_type), 149, 0},
 1331|      1|        {offsetof(struct ast_state, UAdd_type), 149, 0},
 1332|      1|        {offsetof(struct ast_state, USub_type), 149, 0},
 1333|      1|        {offsetof(struct ast_state, Eq_type), 149, 0},
 1334|      1|        {offsetof(struct ast_state, NotEq_type), 149, 0},
 1335|      1|        {offsetof(struct ast_state, Lt_type), 149, 0},
 1336|      1|        {offsetof(struct ast_state, LtE_type), 149, 0},
 1337|      1|        {offsetof(struct ast_state, Gt_type), 149, 0},
 1338|      1|        {offsetof(struct ast_state, GtE_type), 149, 0},
 1339|      1|        {offsetof(struct ast_state, Is_type), 149, 0},
 1340|      1|        {offsetof(struct ast_state, IsNot_type), 149, 0},
 1341|      1|        {offsetof(struct ast_state, In_type), 149, 0},
 1342|      1|        {offsetof(struct ast_state, NotIn_type), 149, 0},
 1343|      1|        {offsetof(struct ast_state, comprehension_type), 149, 4},
 1344|      1|        {offsetof(struct ast_state, ExceptHandler_type), 153, 3},
 1345|      1|        {offsetof(struct ast_state, arguments_type), 156, 7},
 1346|      1|        {offsetof(struct ast_state, arg_type), 163, 3},
 1347|      1|        {offsetof(struct ast_state, keyword_type), 166, 2},
 1348|      1|        {offsetof(struct ast_state, alias_type), 168, 2},
 1349|      1|        {offsetof(struct ast_state, withitem_type), 170, 2},
 1350|      1|        {offsetof(struct ast_state, match_case_type), 172, 3},
 1351|      1|        {offsetof(struct ast_state, MatchValue_type), 175, 1},
 1352|      1|        {offsetof(struct ast_state, MatchSingleton_type), 176, 1},
 1353|      1|        {offsetof(struct ast_state, MatchSequence_type), 177, 1},
 1354|      1|        {offsetof(struct ast_state, MatchMapping_type), 178, 3},
 1355|      1|        {offsetof(struct ast_state, MatchClass_type), 181, 4},
 1356|      1|        {offsetof(struct ast_state, MatchStar_type), 185, 1},
 1357|      1|        {offsetof(struct ast_state, MatchAs_type), 186, 2},
 1358|      1|        {offsetof(struct ast_state, MatchOr_type), 188, 1},
 1359|      1|        {offsetof(struct ast_state, TypeIgnore_type), 189, 2},
 1360|      1|        {offsetof(struct ast_state, TypeVar_type), 191, 3},
 1361|      1|        {offsetof(struct ast_state, ParamSpec_type), 194, 2},
 1362|      1|        {offsetof(struct ast_state, TypeVarTuple_type), 196, 2},
 1363|      1|    };
 1364|      1|    char *base = (char *)state;
 1365|      1|    PyObject *annotations = NULL;
 1366|    114|    for (size_t i = 0; i < Py_ARRAY_LENGTH(nodes); i++) {
  ------------------
  |  |  232|    114|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (1366:24): [True: 113, False: 1]
  ------------------
 1367|    113|        annotations = PyDict_New();
 1368|    113|        if (annotations == NULL) {
  ------------------
  |  Branch (1368:13): [True: 0, False: 113]
  ------------------
 1369|      0|            goto error;
 1370|      0|        }
 1371|    113|        size_t end = nodes[i].first_field + nodes[i].nfields;
 1372|    311|        for (size_t j = nodes[i].first_field; j < end; j++) {
  ------------------
  |  Branch (1372:47): [True: 198, False: 113]
  ------------------
 1373|    198|            PyObject *name = *(PyObject **)(base + fields[j].name_offset);
 1374|    198|            PyObject *type;
 1375|    198|            if (fields[j].flags & FIELD_BUILTIN) {
  ------------------
  |  Branch (1375:17): [True: 41, False: 157]
  ------------------
 1376|     41|                type = (PyObject *)builtin_types[fields[j].type_offset];
 1377|     41|            }
 1378|    157|            else {
 1379|    157|                type = *(PyObject **)(base + fields[j].type_offset);
 1380|    157|            }
 1381|    198|            if (fields[j].flags & FIELD_OPTIONAL) {
  ------------------
  |  Branch (1381:17): [True: 44, False: 154]
  ------------------
 1382|     44|                type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|     44|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1383|     44|            }
 1384|    154|            else if (fields[j].flags & FIELD_SEQUENCE) {
  ------------------
  |  Branch (1384:22): [True: 74, False: 80]
  ------------------
 1385|     74|                type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1386|     74|            }
 1387|     80|            else {
 1388|     80|                Py_INCREF(type);
  ------------------
  |  |  310|     80|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1389|     80|            }
 1390|    198|            if (type == NULL) {
  ------------------
  |  Branch (1390:17): [True: 0, False: 198]
  ------------------
 1391|      0|                goto error;
 1392|      0|            }
 1393|    198|            int res = PyDict_SetItem(annotations, name, type);
 1394|    198|            Py_DECREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1395|    198|            if (res < 0) {
  ------------------
  |  Branch (1395:17): [True: 0, False: 198]
  ------------------
 1396|      0|                goto error;
 1397|      0|            }
 1398|    198|        }
 1399|    113|        PyObject *node = *(PyObject **)(base + nodes[i].type_offset);
 1400|    113|        if (PyObject_SetAttrString(node, "_field_types", annotations) < 0 ||
  ------------------
  |  Branch (1400:13): [True: 0, False: 113]
  ------------------
 1401|    113|            PyObject_SetAttrString(node, "__annotations__", annotations) < 0)
  ------------------
  |  Branch (1401:13): [True: 0, False: 113]
  ------------------
 1402|      0|        {
 1403|      0|            goto error;
 1404|      0|        }
 1405|    113|        Py_CLEAR(annotations);
  ------------------
  |  |  487|    113|    do { \
  |  |  488|    113|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    113|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    113|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    113|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    113|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    113|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 113, False: 0]
  |  |  ------------------
  |  |  491|    113|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    113|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    113|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    113|        } \
  |  |  494|    113|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 113]
  |  |  ------------------
  ------------------
 1406|    113|    }
 1407|      1|    return 1;
 1408|      0|error:
 1409|      0|    Py_XDECREF(annotations);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1410|      0|    return 0;
 1411|      1|}
Python-ast.c:ast2obj_mod:
 5111|      9|{
 5112|      9|    mod_ty o = (mod_ty)_o;
 5113|      9|    PyObject *result = NULL, *value = NULL;
 5114|      9|    PyTypeObject *tp;
 5115|      9|    if (!o) {
  ------------------
  |  Branch (5115:9): [True: 0, False: 9]
  ------------------
 5116|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5117|      0|    }
 5118|      9|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (5118:9): [True: 0, False: 9]
  ------------------
 5119|      0|        return NULL;
 5120|      0|    }
 5121|      9|    switch (o->kind) {
  ------------------
  |  Branch (5121:13): [True: 9, False: 0]
  ------------------
 5122|      0|    case Module_kind:
  ------------------
  |  Branch (5122:5): [True: 0, False: 9]
  ------------------
 5123|      0|        tp = (PyTypeObject *)state->Module_type;
 5124|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5125|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5125:13): [True: 0, False: 0]
  ------------------
 5126|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Module.body, ast2obj_stmt);
 5127|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5127:13): [True: 0, False: 0]
  ------------------
 5128|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5128:13): [True: 0, False: 0]
  ------------------
 5129|      0|            goto failed;
 5130|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5131|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Module.type_ignores,
 5132|      0|                             ast2obj_type_ignore);
 5133|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5133:13): [True: 0, False: 0]
  ------------------
 5134|      0|        if (PyObject_SetAttr(result, state->type_ignores, value) == -1)
  ------------------
  |  Branch (5134:13): [True: 0, False: 0]
  ------------------
 5135|      0|            goto failed;
 5136|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5137|      0|        break;
 5138|      0|    case Interactive_kind:
  ------------------
  |  Branch (5138:5): [True: 0, False: 9]
  ------------------
 5139|      0|        tp = (PyTypeObject *)state->Interactive_type;
 5140|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5141|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5141:13): [True: 0, False: 0]
  ------------------
 5142|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Interactive.body,
 5143|      0|                             ast2obj_stmt);
 5144|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5144:13): [True: 0, False: 0]
  ------------------
 5145|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5145:13): [True: 0, False: 0]
  ------------------
 5146|      0|            goto failed;
 5147|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5148|      0|        break;
 5149|      9|    case Expression_kind:
  ------------------
  |  Branch (5149:5): [True: 9, False: 0]
  ------------------
 5150|      9|        tp = (PyTypeObject *)state->Expression_type;
 5151|      9|        result = PyType_GenericNew(tp, NULL, NULL);
 5152|      9|        if (!result) goto failed;
  ------------------
  |  Branch (5152:13): [True: 0, False: 9]
  ------------------
 5153|      9|        value = ast2obj_expr(state, o->v.Expression.body);
 5154|      9|        if (!value) goto failed;
  ------------------
  |  Branch (5154:13): [True: 0, False: 9]
  ------------------
 5155|      9|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5155:13): [True: 0, False: 9]
  ------------------
 5156|      0|            goto failed;
 5157|      9|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5158|      9|        break;
 5159|      0|    case FunctionType_kind:
  ------------------
  |  Branch (5159:5): [True: 0, False: 9]
  ------------------
 5160|      0|        tp = (PyTypeObject *)state->FunctionType_type;
 5161|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5162|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5162:13): [True: 0, False: 0]
  ------------------
 5163|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.FunctionType.argtypes,
 5164|      0|                             ast2obj_expr);
 5165|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5165:13): [True: 0, False: 0]
  ------------------
 5166|      0|        if (PyObject_SetAttr(result, state->argtypes, value) == -1)
  ------------------
  |  Branch (5166:13): [True: 0, False: 0]
  ------------------
 5167|      0|            goto failed;
 5168|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5169|      0|        value = ast2obj_expr(state, o->v.FunctionType.returns);
 5170|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5170:13): [True: 0, False: 0]
  ------------------
 5171|      0|        if (PyObject_SetAttr(result, state->returns, value) == -1)
  ------------------
  |  Branch (5171:13): [True: 0, False: 0]
  ------------------
 5172|      0|            goto failed;
 5173|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5174|      0|        break;
 5175|      9|    }
 5176|      9|    Py_LeaveRecursiveCall();
 5177|      9|    return result;
 5178|      0|failed:
 5179|      0|    Py_LeaveRecursiveCall();
 5180|      0|    Py_XDECREF(value);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5181|      0|    Py_XDECREF(result);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5182|       |    return NULL;
 5183|      9|}
Python-ast.c:ast2obj_list:
 2233|      6|{
 2234|      6|    Py_ssize_t i, n = asdl_seq_LEN(seq);
  ------------------
  |  |   83|      6|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|     12|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2235|      6|    PyObject *result = PyList_New(n);
 2236|      6|    PyObject *value;
 2237|      6|    if (!result)
  ------------------
  |  Branch (2237:9): [True: 0, False: 6]
  ------------------
 2238|      0|        return NULL;
 2239|     17|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2239:17): [True: 11, False: 6]
  ------------------
 2240|     11|        value = func(state, asdl_seq_GET_UNTYPED(seq, i));
  ------------------
  |  |   81|     11|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|     11|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2241|     11|        if (!value) {
  ------------------
  |  Branch (2241:13): [True: 0, False: 11]
  ------------------
 2242|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2243|      0|            return NULL;
 2244|      0|        }
 2245|     11|        PyList_SET_ITEM(result, i, value);
  ------------------
  |  |   50|     11|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2246|     11|    }
 2247|      6|    return result;
 2248|      6|}
Python-ast.c:ast2obj_object:
 2251|     32|{
 2252|     32|    PyObject *op = (PyObject*)o;
 2253|     32|    if (!op) {
  ------------------
  |  Branch (2253:9): [True: 12, False: 20]
  ------------------
 2254|     12|        op = Py_None;
  ------------------
  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2255|     12|    }
 2256|     32|    return Py_NewRef(op);
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2257|     32|}
Python-ast.c:ast2obj_operator:
 6340|      2|{
 6341|      2|    switch(o) {
  ------------------
  |  Branch (6341:12): [True: 2, False: 0]
  ------------------
 6342|      0|        case Add:
  ------------------
  |  Branch (6342:9): [True: 0, False: 2]
  ------------------
 6343|      0|            return Py_NewRef(state->Add_singleton);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6344|      0|        case Sub:
  ------------------
  |  Branch (6344:9): [True: 0, False: 2]
  ------------------
 6345|      0|            return Py_NewRef(state->Sub_singleton);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6346|      1|        case Mult:
  ------------------
  |  Branch (6346:9): [True: 1, False: 1]
  ------------------
 6347|      1|            return Py_NewRef(state->Mult_singleton);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6348|      0|        case MatMult:
  ------------------
  |  Branch (6348:9): [True: 0, False: 2]
  ------------------
 6349|      0|            return Py_NewRef(state->MatMult_singleton);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6350|      0|        case Div:
  ------------------
  |  Branch (6350:9): [True: 0, False: 2]
  ------------------
 6351|      0|            return Py_NewRef(state->Div_singleton);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6352|      1|        case Mod:
  ------------------
  |  Branch (6352:9): [True: 1, False: 1]
  ------------------
 6353|      1|            return Py_NewRef(state->Mod_singleton);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6354|      0|        case Pow:
  ------------------
  |  Branch (6354:9): [True: 0, False: 2]
  ------------------
 6355|      0|            return Py_NewRef(state->Pow_singleton);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6356|      0|        case LShift:
  ------------------
  |  Branch (6356:9): [True: 0, False: 2]
  ------------------
 6357|      0|            return Py_NewRef(state->LShift_singleton);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6358|      0|        case RShift:
  ------------------
  |  Branch (6358:9): [True: 0, False: 2]
  ------------------
 6359|      0|            return Py_NewRef(state->RShift_singleton);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6360|      0|        case BitOr:
  ------------------
  |  Branch (6360:9): [True: 0, False: 2]
  ------------------
 6361|      0|            return Py_NewRef(state->BitOr_singleton);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6362|      0|        case BitXor:
  ------------------
  |  Branch (6362:9): [True: 0, False: 2]
  ------------------
 6363|      0|            return Py_NewRef(state->BitXor_singleton);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6364|      0|        case BitAnd:
  ------------------
  |  Branch (6364:9): [True: 0, False: 2]
  ------------------
 6365|      0|            return Py_NewRef(state->BitAnd_singleton);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6366|      0|        case FloorDiv:
  ------------------
  |  Branch (6366:9): [True: 0, False: 2]
  ------------------
 6367|      0|            return Py_NewRef(state->FloorDiv_singleton);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6368|      2|    }
 6369|      0|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 6370|      2|}
Python-ast.c:ast2obj_int:
 2263|    116|{
 2264|    116|    return PyLong_FromLong(b);
 2265|    116|}
Python-ast.c:ast2obj_expr:
 5801|     32|{
 5802|     32|    expr_ty o = (expr_ty)_o;
 5803|     32|    PyObject *result = NULL, *value = NULL;
 5804|     32|    PyTypeObject *tp;
 5805|     32|    if (!o) {
  ------------------
  |  Branch (5805:9): [True: 4, False: 28]
  ------------------
 5806|      4|        Py_RETURN_NONE;
  ------------------
  |  |  628|      4|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5807|      4|    }
 5808|     28|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (5808:9): [True: 0, False: 28]
  ------------------
 5809|      0|        return NULL;
 5810|      0|    }
 5811|     28|    switch (o->kind) {
  ------------------
  |  Branch (5811:13): [True: 28, False: 0]
  ------------------
 5812|      0|    case BoolOp_kind:
  ------------------
  |  Branch (5812:5): [True: 0, False: 28]
  ------------------
 5813|      0|        tp = (PyTypeObject *)state->BoolOp_type;
 5814|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5815|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5815:13): [True: 0, False: 0]
  ------------------
 5816|      0|        value = ast2obj_boolop(state, o->v.BoolOp.op);
 5817|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5817:13): [True: 0, False: 0]
  ------------------
 5818|      0|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (5818:13): [True: 0, False: 0]
  ------------------
 5819|      0|            goto failed;
 5820|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5821|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.BoolOp.values,
 5822|      0|                             ast2obj_expr);
 5823|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5823:13): [True: 0, False: 0]
  ------------------
 5824|      0|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (5824:13): [True: 0, False: 0]
  ------------------
 5825|      0|            goto failed;
 5826|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5827|      0|        break;
 5828|      0|    case NamedExpr_kind:
  ------------------
  |  Branch (5828:5): [True: 0, False: 28]
  ------------------
 5829|      0|        tp = (PyTypeObject *)state->NamedExpr_type;
 5830|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5831|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5831:13): [True: 0, False: 0]
  ------------------
 5832|      0|        value = ast2obj_expr(state, o->v.NamedExpr.target);
 5833|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5833:13): [True: 0, False: 0]
  ------------------
 5834|      0|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (5834:13): [True: 0, False: 0]
  ------------------
 5835|      0|            goto failed;
 5836|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5837|      0|        value = ast2obj_expr(state, o->v.NamedExpr.value);
 5838|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5838:13): [True: 0, False: 0]
  ------------------
 5839|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (5839:13): [True: 0, False: 0]
  ------------------
 5840|      0|            goto failed;
 5841|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5842|      0|        break;
 5843|      2|    case BinOp_kind:
  ------------------
  |  Branch (5843:5): [True: 2, False: 26]
  ------------------
 5844|      2|        tp = (PyTypeObject *)state->BinOp_type;
 5845|      2|        result = PyType_GenericNew(tp, NULL, NULL);
 5846|      2|        if (!result) goto failed;
  ------------------
  |  Branch (5846:13): [True: 0, False: 2]
  ------------------
 5847|      2|        value = ast2obj_expr(state, o->v.BinOp.left);
 5848|      2|        if (!value) goto failed;
  ------------------
  |  Branch (5848:13): [True: 0, False: 2]
  ------------------
 5849|      2|        if (PyObject_SetAttr(result, state->left, value) == -1)
  ------------------
  |  Branch (5849:13): [True: 0, False: 2]
  ------------------
 5850|      0|            goto failed;
 5851|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5852|      2|        value = ast2obj_operator(state, o->v.BinOp.op);
 5853|      2|        if (!value) goto failed;
  ------------------
  |  Branch (5853:13): [True: 0, False: 2]
  ------------------
 5854|      2|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (5854:13): [True: 0, False: 2]
  ------------------
 5855|      0|            goto failed;
 5856|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5857|      2|        value = ast2obj_expr(state, o->v.BinOp.right);
 5858|      2|        if (!value) goto failed;
  ------------------
  |  Branch (5858:13): [True: 0, False: 2]
  ------------------
 5859|      2|        if (PyObject_SetAttr(result, state->right, value) == -1)
  ------------------
  |  Branch (5859:13): [True: 0, False: 2]
  ------------------
 5860|      0|            goto failed;
 5861|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5862|      2|        break;
 5863|      0|    case UnaryOp_kind:
  ------------------
  |  Branch (5863:5): [True: 0, False: 28]
  ------------------
 5864|      0|        tp = (PyTypeObject *)state->UnaryOp_type;
 5865|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5866|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5866:13): [True: 0, False: 0]
  ------------------
 5867|      0|        value = ast2obj_unaryop(state, o->v.UnaryOp.op);
 5868|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5868:13): [True: 0, False: 0]
  ------------------
 5869|      0|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (5869:13): [True: 0, False: 0]
  ------------------
 5870|      0|            goto failed;
 5871|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5872|      0|        value = ast2obj_expr(state, o->v.UnaryOp.operand);
 5873|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5873:13): [True: 0, False: 0]
  ------------------
 5874|      0|        if (PyObject_SetAttr(result, state->operand, value) == -1)
  ------------------
  |  Branch (5874:13): [True: 0, False: 0]
  ------------------
 5875|      0|            goto failed;
 5876|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5877|      0|        break;
 5878|      0|    case Lambda_kind:
  ------------------
  |  Branch (5878:5): [True: 0, False: 28]
  ------------------
 5879|      0|        tp = (PyTypeObject *)state->Lambda_type;
 5880|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5881|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5881:13): [True: 0, False: 0]
  ------------------
 5882|      0|        value = ast2obj_arguments(state, o->v.Lambda.args);
 5883|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5883:13): [True: 0, False: 0]
  ------------------
 5884|      0|        if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (5884:13): [True: 0, False: 0]
  ------------------
 5885|      0|            goto failed;
 5886|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5887|      0|        value = ast2obj_expr(state, o->v.Lambda.body);
 5888|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5888:13): [True: 0, False: 0]
  ------------------
 5889|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5889:13): [True: 0, False: 0]
  ------------------
 5890|      0|            goto failed;
 5891|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5892|      0|        break;
 5893|      0|    case IfExp_kind:
  ------------------
  |  Branch (5893:5): [True: 0, False: 28]
  ------------------
 5894|      0|        tp = (PyTypeObject *)state->IfExp_type;
 5895|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5896|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5896:13): [True: 0, False: 0]
  ------------------
 5897|      0|        value = ast2obj_expr(state, o->v.IfExp.test);
 5898|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5898:13): [True: 0, False: 0]
  ------------------
 5899|      0|        if (PyObject_SetAttr(result, state->test, value) == -1)
  ------------------
  |  Branch (5899:13): [True: 0, False: 0]
  ------------------
 5900|      0|            goto failed;
 5901|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5902|      0|        value = ast2obj_expr(state, o->v.IfExp.body);
 5903|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5903:13): [True: 0, False: 0]
  ------------------
 5904|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5904:13): [True: 0, False: 0]
  ------------------
 5905|      0|            goto failed;
 5906|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5907|      0|        value = ast2obj_expr(state, o->v.IfExp.orelse);
 5908|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5908:13): [True: 0, False: 0]
  ------------------
 5909|      0|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (5909:13): [True: 0, False: 0]
  ------------------
 5910|      0|            goto failed;
 5911|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5912|      0|        break;
 5913|      0|    case Dict_kind:
  ------------------
  |  Branch (5913:5): [True: 0, False: 28]
  ------------------
 5914|      0|        tp = (PyTypeObject *)state->Dict_type;
 5915|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5916|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5916:13): [True: 0, False: 0]
  ------------------
 5917|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Dict.keys, ast2obj_expr);
 5918|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5918:13): [True: 0, False: 0]
  ------------------
 5919|      0|        if (PyObject_SetAttr(result, state->keys, value) == -1)
  ------------------
  |  Branch (5919:13): [True: 0, False: 0]
  ------------------
 5920|      0|            goto failed;
 5921|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5922|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Dict.values, ast2obj_expr);
 5923|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5923:13): [True: 0, False: 0]
  ------------------
 5924|      0|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (5924:13): [True: 0, False: 0]
  ------------------
 5925|      0|            goto failed;
 5926|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5927|      0|        break;
 5928|      1|    case Set_kind:
  ------------------
  |  Branch (5928:5): [True: 1, False: 27]
  ------------------
 5929|      1|        tp = (PyTypeObject *)state->Set_type;
 5930|      1|        result = PyType_GenericNew(tp, NULL, NULL);
 5931|      1|        if (!result) goto failed;
  ------------------
  |  Branch (5931:13): [True: 0, False: 1]
  ------------------
 5932|      1|        value = ast2obj_list(state, (asdl_seq*)o->v.Set.elts, ast2obj_expr);
 5933|      1|        if (!value) goto failed;
  ------------------
  |  Branch (5933:13): [True: 0, False: 1]
  ------------------
 5934|      1|        if (PyObject_SetAttr(result, state->elts, value) == -1)
  ------------------
  |  Branch (5934:13): [True: 0, False: 1]
  ------------------
 5935|      0|            goto failed;
 5936|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5937|      1|        break;
 5938|      0|    case ListComp_kind:
  ------------------
  |  Branch (5938:5): [True: 0, False: 28]
  ------------------
 5939|      0|        tp = (PyTypeObject *)state->ListComp_type;
 5940|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5941|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5941:13): [True: 0, False: 0]
  ------------------
 5942|      0|        value = ast2obj_expr(state, o->v.ListComp.elt);
 5943|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5943:13): [True: 0, False: 0]
  ------------------
 5944|      0|        if (PyObject_SetAttr(result, state->elt, value) == -1)
  ------------------
  |  Branch (5944:13): [True: 0, False: 0]
  ------------------
 5945|      0|            goto failed;
 5946|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5947|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.ListComp.generators,
 5948|      0|                             ast2obj_comprehension);
 5949|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5949:13): [True: 0, False: 0]
  ------------------
 5950|      0|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (5950:13): [True: 0, False: 0]
  ------------------
 5951|      0|            goto failed;
 5952|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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|        break;
 5954|      0|    case SetComp_kind:
  ------------------
  |  Branch (5954:5): [True: 0, False: 28]
  ------------------
 5955|      0|        tp = (PyTypeObject *)state->SetComp_type;
 5956|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5957|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5957:13): [True: 0, False: 0]
  ------------------
 5958|      0|        value = ast2obj_expr(state, o->v.SetComp.elt);
 5959|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5959:13): [True: 0, False: 0]
  ------------------
 5960|      0|        if (PyObject_SetAttr(result, state->elt, value) == -1)
  ------------------
  |  Branch (5960:13): [True: 0, False: 0]
  ------------------
 5961|      0|            goto failed;
 5962|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5963|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.SetComp.generators,
 5964|      0|                             ast2obj_comprehension);
 5965|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5965:13): [True: 0, False: 0]
  ------------------
 5966|      0|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (5966:13): [True: 0, False: 0]
  ------------------
 5967|      0|            goto failed;
 5968|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5969|      0|        break;
 5970|      0|    case DictComp_kind:
  ------------------
  |  Branch (5970:5): [True: 0, False: 28]
  ------------------
 5971|      0|        tp = (PyTypeObject *)state->DictComp_type;
 5972|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5973|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5973:13): [True: 0, False: 0]
  ------------------
 5974|      0|        value = ast2obj_expr(state, o->v.DictComp.key);
 5975|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5975:13): [True: 0, False: 0]
  ------------------
 5976|      0|        if (PyObject_SetAttr(result, state->key, value) == -1)
  ------------------
  |  Branch (5976:13): [True: 0, False: 0]
  ------------------
 5977|      0|            goto failed;
 5978|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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|        value = ast2obj_expr(state, o->v.DictComp.value);
 5980|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5980:13): [True: 0, False: 0]
  ------------------
 5981|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (5981:13): [True: 0, False: 0]
  ------------------
 5982|      0|            goto failed;
 5983|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5984|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.DictComp.generators,
 5985|      0|                             ast2obj_comprehension);
 5986|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5986:13): [True: 0, False: 0]
  ------------------
 5987|      0|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (5987:13): [True: 0, False: 0]
  ------------------
 5988|      0|            goto failed;
 5989|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5990|      0|        break;
 5991|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (5991:5): [True: 0, False: 28]
  ------------------
 5992|      0|        tp = (PyTypeObject *)state->GeneratorExp_type;
 5993|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5994|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5994:13): [True: 0, False: 0]
  ------------------
 5995|      0|        value = ast2obj_expr(state, o->v.GeneratorExp.elt);
 5996|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5996:13): [True: 0, False: 0]
  ------------------
 5997|      0|        if (PyObject_SetAttr(result, state->elt, value) == -1)
  ------------------
  |  Branch (5997:13): [True: 0, False: 0]
  ------------------
 5998|      0|            goto failed;
 5999|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6000|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.GeneratorExp.generators,
 6001|      0|                             ast2obj_comprehension);
 6002|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6002:13): [True: 0, False: 0]
  ------------------
 6003|      0|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (6003:13): [True: 0, False: 0]
  ------------------
 6004|      0|            goto failed;
 6005|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6006|      0|        break;
 6007|      0|    case Await_kind:
  ------------------
  |  Branch (6007:5): [True: 0, False: 28]
  ------------------
 6008|      0|        tp = (PyTypeObject *)state->Await_type;
 6009|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6010|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6010:13): [True: 0, False: 0]
  ------------------
 6011|      0|        value = ast2obj_expr(state, o->v.Await.value);
 6012|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6012:13): [True: 0, False: 0]
  ------------------
 6013|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6013:13): [True: 0, False: 0]
  ------------------
 6014|      0|            goto failed;
 6015|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6016|      0|        break;
 6017|      0|    case Yield_kind:
  ------------------
  |  Branch (6017:5): [True: 0, False: 28]
  ------------------
 6018|      0|        tp = (PyTypeObject *)state->Yield_type;
 6019|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6020|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6020:13): [True: 0, False: 0]
  ------------------
 6021|      0|        value = ast2obj_expr(state, o->v.Yield.value);
 6022|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6022:13): [True: 0, False: 0]
  ------------------
 6023|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6023:13): [True: 0, False: 0]
  ------------------
 6024|      0|            goto failed;
 6025|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6026|      0|        break;
 6027|      0|    case YieldFrom_kind:
  ------------------
  |  Branch (6027:5): [True: 0, False: 28]
  ------------------
 6028|      0|        tp = (PyTypeObject *)state->YieldFrom_type;
 6029|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6030|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6030:13): [True: 0, False: 0]
  ------------------
 6031|      0|        value = ast2obj_expr(state, o->v.YieldFrom.value);
 6032|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6032:13): [True: 0, False: 0]
  ------------------
 6033|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6033:13): [True: 0, False: 0]
  ------------------
 6034|      0|            goto failed;
 6035|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6036|      0|        break;
 6037|      0|    case Compare_kind:
  ------------------
  |  Branch (6037:5): [True: 0, False: 28]
  ------------------
 6038|      0|        tp = (PyTypeObject *)state->Compare_type;
 6039|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6040|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6040:13): [True: 0, False: 0]
  ------------------
 6041|      0|        value = ast2obj_expr(state, o->v.Compare.left);
 6042|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6042:13): [True: 0, False: 0]
  ------------------
 6043|      0|        if (PyObject_SetAttr(result, state->left, value) == -1)
  ------------------
  |  Branch (6043:13): [True: 0, False: 0]
  ------------------
 6044|      0|            goto failed;
 6045|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6046|      0|        {
 6047|      0|            Py_ssize_t i, n = asdl_seq_LEN(o->v.Compare.ops);
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6048|      0|            value = PyList_New(n);
 6049|      0|            if (!value) goto failed;
  ------------------
  |  Branch (6049:17): [True: 0, False: 0]
  ------------------
 6050|      0|            for(i = 0; i < n; i++)
  ------------------
  |  Branch (6050:24): [True: 0, False: 0]
  ------------------
 6051|      0|                PyList_SET_ITEM(value, i, ast2obj_cmpop(state, (cmpop_ty)asdl_seq_GET(o->v.Compare.ops, i)));
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6052|      0|        }
 6053|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6053:13): [True: 0, False: 0]
  ------------------
 6054|      0|        if (PyObject_SetAttr(result, state->ops, value) == -1)
  ------------------
  |  Branch (6054:13): [True: 0, False: 0]
  ------------------
 6055|      0|            goto failed;
 6056|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6057|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Compare.comparators,
 6058|      0|                             ast2obj_expr);
 6059|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6059:13): [True: 0, False: 0]
  ------------------
 6060|      0|        if (PyObject_SetAttr(result, state->comparators, value) == -1)
  ------------------
  |  Branch (6060:13): [True: 0, False: 0]
  ------------------
 6061|      0|            goto failed;
 6062|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6063|      0|        break;
 6064|      0|    case Call_kind:
  ------------------
  |  Branch (6064:5): [True: 0, False: 28]
  ------------------
 6065|      0|        tp = (PyTypeObject *)state->Call_type;
 6066|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6067|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6067:13): [True: 0, False: 0]
  ------------------
 6068|      0|        value = ast2obj_expr(state, o->v.Call.func);
 6069|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6069:13): [True: 0, False: 0]
  ------------------
 6070|      0|        if (PyObject_SetAttr(result, state->func, value) == -1)
  ------------------
  |  Branch (6070:13): [True: 0, False: 0]
  ------------------
 6071|      0|            goto failed;
 6072|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6073|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Call.args, ast2obj_expr);
 6074|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6074:13): [True: 0, False: 0]
  ------------------
 6075|      0|        if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (6075:13): [True: 0, False: 0]
  ------------------
 6076|      0|            goto failed;
 6077|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6078|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Call.keywords,
 6079|      0|                             ast2obj_keyword);
 6080|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6080:13): [True: 0, False: 0]
  ------------------
 6081|      0|        if (PyObject_SetAttr(result, state->keywords, value) == -1)
  ------------------
  |  Branch (6081:13): [True: 0, False: 0]
  ------------------
 6082|      0|            goto failed;
 6083|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6084|      0|        break;
 6085|      0|    case FormattedValue_kind:
  ------------------
  |  Branch (6085:5): [True: 0, False: 28]
  ------------------
 6086|      0|        tp = (PyTypeObject *)state->FormattedValue_type;
 6087|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6088|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6088:13): [True: 0, False: 0]
  ------------------
 6089|      0|        value = ast2obj_expr(state, o->v.FormattedValue.value);
 6090|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6090:13): [True: 0, False: 0]
  ------------------
 6091|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6091:13): [True: 0, False: 0]
  ------------------
 6092|      0|            goto failed;
 6093|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6094|      0|        value = ast2obj_int(state, o->v.FormattedValue.conversion);
 6095|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6095:13): [True: 0, False: 0]
  ------------------
 6096|      0|        if (PyObject_SetAttr(result, state->conversion, value) == -1)
  ------------------
  |  Branch (6096:13): [True: 0, False: 0]
  ------------------
 6097|      0|            goto failed;
 6098|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6099|      0|        value = ast2obj_expr(state, o->v.FormattedValue.format_spec);
 6100|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6100:13): [True: 0, False: 0]
  ------------------
 6101|      0|        if (PyObject_SetAttr(result, state->format_spec, value) == -1)
  ------------------
  |  Branch (6101:13): [True: 0, False: 0]
  ------------------
 6102|      0|            goto failed;
 6103|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6104|      0|        break;
 6105|      4|    case Interpolation_kind:
  ------------------
  |  Branch (6105:5): [True: 4, False: 24]
  ------------------
 6106|      4|        tp = (PyTypeObject *)state->Interpolation_type;
 6107|      4|        result = PyType_GenericNew(tp, NULL, NULL);
 6108|      4|        if (!result) goto failed;
  ------------------
  |  Branch (6108:13): [True: 0, False: 4]
  ------------------
 6109|      4|        value = ast2obj_expr(state, o->v.Interpolation.value);
 6110|      4|        if (!value) goto failed;
  ------------------
  |  Branch (6110:13): [True: 0, False: 4]
  ------------------
 6111|      4|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6111:13): [True: 0, False: 4]
  ------------------
 6112|      0|            goto failed;
 6113|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6114|      4|        value = ast2obj_constant(state, o->v.Interpolation.str);
  ------------------
  |  | 2258|      4|#define ast2obj_constant ast2obj_object
  ------------------
 6115|      4|        if (!value) goto failed;
  ------------------
  |  Branch (6115:13): [True: 0, False: 4]
  ------------------
 6116|      4|        if (PyObject_SetAttr(result, state->str, value) == -1)
  ------------------
  |  Branch (6116:13): [True: 0, False: 4]
  ------------------
 6117|      0|            goto failed;
 6118|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6119|      4|        value = ast2obj_int(state, o->v.Interpolation.conversion);
 6120|      4|        if (!value) goto failed;
  ------------------
  |  Branch (6120:13): [True: 0, False: 4]
  ------------------
 6121|      4|        if (PyObject_SetAttr(result, state->conversion, value) == -1)
  ------------------
  |  Branch (6121:13): [True: 0, False: 4]
  ------------------
 6122|      0|            goto failed;
 6123|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6124|      4|        value = ast2obj_expr(state, o->v.Interpolation.format_spec);
 6125|      4|        if (!value) goto failed;
  ------------------
  |  Branch (6125:13): [True: 0, False: 4]
  ------------------
 6126|      4|        if (PyObject_SetAttr(result, state->format_spec, value) == -1)
  ------------------
  |  Branch (6126:13): [True: 0, False: 4]
  ------------------
 6127|      0|            goto failed;
 6128|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6129|      4|        break;
 6130|      0|    case JoinedStr_kind:
  ------------------
  |  Branch (6130:5): [True: 0, False: 28]
  ------------------
 6131|      0|        tp = (PyTypeObject *)state->JoinedStr_type;
 6132|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6133|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6133:13): [True: 0, False: 0]
  ------------------
 6134|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.JoinedStr.values,
 6135|      0|                             ast2obj_expr);
 6136|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6136:13): [True: 0, False: 0]
  ------------------
 6137|      0|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (6137:13): [True: 0, False: 0]
  ------------------
 6138|      0|            goto failed;
 6139|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6140|      0|        break;
 6141|      4|    case TemplateStr_kind:
  ------------------
  |  Branch (6141:5): [True: 4, False: 24]
  ------------------
 6142|      4|        tp = (PyTypeObject *)state->TemplateStr_type;
 6143|      4|        result = PyType_GenericNew(tp, NULL, NULL);
 6144|      4|        if (!result) goto failed;
  ------------------
  |  Branch (6144:13): [True: 0, False: 4]
  ------------------
 6145|      4|        value = ast2obj_list(state, (asdl_seq*)o->v.TemplateStr.values,
 6146|      4|                             ast2obj_expr);
 6147|      4|        if (!value) goto failed;
  ------------------
  |  Branch (6147:13): [True: 0, False: 4]
  ------------------
 6148|      4|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (6148:13): [True: 0, False: 4]
  ------------------
 6149|      0|            goto failed;
 6150|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6151|      4|        break;
 6152|     12|    case Constant_kind:
  ------------------
  |  Branch (6152:5): [True: 12, False: 16]
  ------------------
 6153|     12|        tp = (PyTypeObject *)state->Constant_type;
 6154|     12|        result = PyType_GenericNew(tp, NULL, NULL);
 6155|     12|        if (!result) goto failed;
  ------------------
  |  Branch (6155:13): [True: 0, False: 12]
  ------------------
 6156|     12|        value = ast2obj_constant(state, o->v.Constant.value);
  ------------------
  |  | 2258|     12|#define ast2obj_constant ast2obj_object
  ------------------
 6157|     12|        if (!value) goto failed;
  ------------------
  |  Branch (6157:13): [True: 0, False: 12]
  ------------------
 6158|     12|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6158:13): [True: 0, False: 12]
  ------------------
 6159|      0|            goto failed;
 6160|     12|        Py_DECREF(value);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6161|     12|        value = ast2obj_string(state, o->v.Constant.kind);
  ------------------
  |  | 2260|     12|#define ast2obj_string ast2obj_object
  ------------------
 6162|     12|        if (!value) goto failed;
  ------------------
  |  Branch (6162:13): [True: 0, False: 12]
  ------------------
 6163|     12|        if (PyObject_SetAttr(result, state->kind, value) == -1)
  ------------------
  |  Branch (6163:13): [True: 0, False: 12]
  ------------------
 6164|      0|            goto failed;
 6165|     12|        Py_DECREF(value);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6166|     12|        break;
 6167|      0|    case Attribute_kind:
  ------------------
  |  Branch (6167:5): [True: 0, False: 28]
  ------------------
 6168|      0|        tp = (PyTypeObject *)state->Attribute_type;
 6169|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6170|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6170:13): [True: 0, False: 0]
  ------------------
 6171|      0|        value = ast2obj_expr(state, o->v.Attribute.value);
 6172|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6172:13): [True: 0, False: 0]
  ------------------
 6173|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6173:13): [True: 0, False: 0]
  ------------------
 6174|      0|            goto failed;
 6175|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6176|      0|        value = ast2obj_identifier(state, o->v.Attribute.attr);
  ------------------
  |  | 2259|      0|#define ast2obj_identifier ast2obj_object
  ------------------
 6177|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6177:13): [True: 0, False: 0]
  ------------------
 6178|      0|        if (PyObject_SetAttr(result, state->attr, value) == -1)
  ------------------
  |  Branch (6178:13): [True: 0, False: 0]
  ------------------
 6179|      0|            goto failed;
 6180|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6181|      0|        value = ast2obj_expr_context(state, o->v.Attribute.ctx);
 6182|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6182:13): [True: 0, False: 0]
  ------------------
 6183|      0|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (6183:13): [True: 0, False: 0]
  ------------------
 6184|      0|            goto failed;
 6185|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6186|      0|        break;
 6187|      0|    case Subscript_kind:
  ------------------
  |  Branch (6187:5): [True: 0, False: 28]
  ------------------
 6188|      0|        tp = (PyTypeObject *)state->Subscript_type;
 6189|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6190|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6190:13): [True: 0, False: 0]
  ------------------
 6191|      0|        value = ast2obj_expr(state, o->v.Subscript.value);
 6192|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6192:13): [True: 0, False: 0]
  ------------------
 6193|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6193:13): [True: 0, False: 0]
  ------------------
 6194|      0|            goto failed;
 6195|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6196|      0|        value = ast2obj_expr(state, o->v.Subscript.slice);
 6197|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6197:13): [True: 0, False: 0]
  ------------------
 6198|      0|        if (PyObject_SetAttr(result, state->slice, value) == -1)
  ------------------
  |  Branch (6198:13): [True: 0, False: 0]
  ------------------
 6199|      0|            goto failed;
 6200|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6201|      0|        value = ast2obj_expr_context(state, o->v.Subscript.ctx);
 6202|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6202:13): [True: 0, False: 0]
  ------------------
 6203|      0|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (6203:13): [True: 0, False: 0]
  ------------------
 6204|      0|            goto failed;
 6205|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6206|      0|        break;
 6207|      0|    case Starred_kind:
  ------------------
  |  Branch (6207:5): [True: 0, False: 28]
  ------------------
 6208|      0|        tp = (PyTypeObject *)state->Starred_type;
 6209|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6210|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6210:13): [True: 0, False: 0]
  ------------------
 6211|      0|        value = ast2obj_expr(state, o->v.Starred.value);
 6212|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6212:13): [True: 0, False: 0]
  ------------------
 6213|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6213:13): [True: 0, False: 0]
  ------------------
 6214|      0|            goto failed;
 6215|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6216|      0|        value = ast2obj_expr_context(state, o->v.Starred.ctx);
 6217|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6217:13): [True: 0, False: 0]
  ------------------
 6218|      0|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (6218:13): [True: 0, False: 0]
  ------------------
 6219|      0|            goto failed;
 6220|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6221|      0|        break;
 6222|      4|    case Name_kind:
  ------------------
  |  Branch (6222:5): [True: 4, False: 24]
  ------------------
 6223|      4|        tp = (PyTypeObject *)state->Name_type;
 6224|      4|        result = PyType_GenericNew(tp, NULL, NULL);
 6225|      4|        if (!result) goto failed;
  ------------------
  |  Branch (6225:13): [True: 0, False: 4]
  ------------------
 6226|      4|        value = ast2obj_identifier(state, o->v.Name.id);
  ------------------
  |  | 2259|      4|#define ast2obj_identifier ast2obj_object
  ------------------
 6227|      4|        if (!value) goto failed;
  ------------------
  |  Branch (6227:13): [True: 0, False: 4]
  ------------------
 6228|      4|        if (PyObject_SetAttr(result, state->id, value) == -1)
  ------------------
  |  Branch (6228:13): [True: 0, False: 4]
  ------------------
 6229|      0|            goto failed;
 6230|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6231|      4|        value = ast2obj_expr_context(state, o->v.Name.ctx);
 6232|      4|        if (!value) goto failed;
  ------------------
  |  Branch (6232:13): [True: 0, False: 4]
  ------------------
 6233|      4|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (6233:13): [True: 0, False: 4]
  ------------------
 6234|      0|            goto failed;
 6235|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6236|      4|        break;
 6237|      0|    case List_kind:
  ------------------
  |  Branch (6237:5): [True: 0, False: 28]
  ------------------
 6238|      0|        tp = (PyTypeObject *)state->List_type;
 6239|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6240|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6240:13): [True: 0, False: 0]
  ------------------
 6241|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.List.elts, ast2obj_expr);
 6242|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6242:13): [True: 0, False: 0]
  ------------------
 6243|      0|        if (PyObject_SetAttr(result, state->elts, value) == -1)
  ------------------
  |  Branch (6243:13): [True: 0, False: 0]
  ------------------
 6244|      0|            goto failed;
 6245|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6246|      0|        value = ast2obj_expr_context(state, o->v.List.ctx);
 6247|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6247:13): [True: 0, False: 0]
  ------------------
 6248|      0|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (6248:13): [True: 0, False: 0]
  ------------------
 6249|      0|            goto failed;
 6250|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6251|      0|        break;
 6252|      1|    case Tuple_kind:
  ------------------
  |  Branch (6252:5): [True: 1, False: 27]
  ------------------
 6253|      1|        tp = (PyTypeObject *)state->Tuple_type;
 6254|      1|        result = PyType_GenericNew(tp, NULL, NULL);
 6255|      1|        if (!result) goto failed;
  ------------------
  |  Branch (6255:13): [True: 0, False: 1]
  ------------------
 6256|      1|        value = ast2obj_list(state, (asdl_seq*)o->v.Tuple.elts, ast2obj_expr);
 6257|      1|        if (!value) goto failed;
  ------------------
  |  Branch (6257:13): [True: 0, False: 1]
  ------------------
 6258|      1|        if (PyObject_SetAttr(result, state->elts, value) == -1)
  ------------------
  |  Branch (6258:13): [True: 0, False: 1]
  ------------------
 6259|      0|            goto failed;
 6260|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6261|      1|        value = ast2obj_expr_context(state, o->v.Tuple.ctx);
 6262|      1|        if (!value) goto failed;
  ------------------
  |  Branch (6262:13): [True: 0, False: 1]
  ------------------
 6263|      1|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (6263:13): [True: 0, False: 1]
  ------------------
 6264|      0|            goto failed;
 6265|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6266|      1|        break;
 6267|      0|    case Slice_kind:
  ------------------
  |  Branch (6267:5): [True: 0, False: 28]
  ------------------
 6268|      0|        tp = (PyTypeObject *)state->Slice_type;
 6269|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6270|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6270:13): [True: 0, False: 0]
  ------------------
 6271|      0|        value = ast2obj_expr(state, o->v.Slice.lower);
 6272|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6272:13): [True: 0, False: 0]
  ------------------
 6273|      0|        if (PyObject_SetAttr(result, state->lower, value) == -1)
  ------------------
  |  Branch (6273:13): [True: 0, False: 0]
  ------------------
 6274|      0|            goto failed;
 6275|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6276|      0|        value = ast2obj_expr(state, o->v.Slice.upper);
 6277|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6277:13): [True: 0, False: 0]
  ------------------
 6278|      0|        if (PyObject_SetAttr(result, state->upper, value) == -1)
  ------------------
  |  Branch (6278:13): [True: 0, False: 0]
  ------------------
 6279|      0|            goto failed;
 6280|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6281|      0|        value = ast2obj_expr(state, o->v.Slice.step);
 6282|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6282:13): [True: 0, False: 0]
  ------------------
 6283|      0|        if (PyObject_SetAttr(result, state->step, value) == -1)
  ------------------
  |  Branch (6283:13): [True: 0, False: 0]
  ------------------
 6284|      0|            goto failed;
 6285|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6286|      0|        break;
 6287|     28|    }
 6288|     28|    value = ast2obj_int(state, o->lineno);
 6289|     28|    if (!value) goto failed;
  ------------------
  |  Branch (6289:9): [True: 0, False: 28]
  ------------------
 6290|     28|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (6290:9): [True: 0, False: 28]
  ------------------
 6291|      0|        goto failed;
 6292|     28|    Py_DECREF(value);
  ------------------
  |  |  430|     28|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6293|     28|    value = ast2obj_int(state, o->col_offset);
 6294|     28|    if (!value) goto failed;
  ------------------
  |  Branch (6294:9): [True: 0, False: 28]
  ------------------
 6295|     28|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (6295:9): [True: 0, False: 28]
  ------------------
 6296|      0|        goto failed;
 6297|     28|    Py_DECREF(value);
  ------------------
  |  |  430|     28|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6298|     28|    value = ast2obj_int(state, o->end_lineno);
 6299|     28|    if (!value) goto failed;
  ------------------
  |  Branch (6299:9): [True: 0, False: 28]
  ------------------
 6300|     28|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (6300:9): [True: 0, False: 28]
  ------------------
 6301|      0|        goto failed;
 6302|     28|    Py_DECREF(value);
  ------------------
  |  |  430|     28|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6303|     28|    value = ast2obj_int(state, o->end_col_offset);
 6304|     28|    if (!value) goto failed;
  ------------------
  |  Branch (6304:9): [True: 0, False: 28]
  ------------------
 6305|     28|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (6305:9): [True: 0, False: 28]
  ------------------
 6306|      0|        goto failed;
 6307|     28|    Py_DECREF(value);
  ------------------
  |  |  430|     28|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6308|     28|    Py_LeaveRecursiveCall();
 6309|     28|    return result;
 6310|      0|failed:
 6311|      0|    Py_LeaveRecursiveCall();
 6312|      0|    Py_XDECREF(value);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6313|      0|    Py_XDECREF(result);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6314|       |    return NULL;
 6315|     28|}
Python-ast.c:ast2obj_expr_context:
 6318|      5|{
 6319|      5|    switch(o) {
  ------------------
  |  Branch (6319:12): [True: 5, False: 0]
  ------------------
 6320|      5|        case Load:
  ------------------
  |  Branch (6320:9): [True: 5, False: 0]
  ------------------
 6321|      5|            return Py_NewRef(state->Load_singleton);
  ------------------
  |  |  647|      5|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6322|      0|        case Store:
  ------------------
  |  Branch (6322:9): [True: 0, False: 5]
  ------------------
 6323|      0|            return Py_NewRef(state->Store_singleton);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6324|      0|        case Del:
  ------------------
  |  Branch (6324:9): [True: 0, False: 5]
  ------------------
 6325|      0|            return Py_NewRef(state->Del_singleton);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6326|      5|    }
 6327|      0|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 6328|      5|}

PyInit__tokenize:
  439|      1|{
  440|      1|    return PyModuleDef_Init(&_tokenizemodule);
  441|      1|}
Python-tokenize.c:tokenizemodule_exec:
  375|      1|{
  376|      1|    tokenize_state *state = get_tokenize_state(m);
  377|      1|    if (state == NULL) {
  ------------------
  |  Branch (377:9): [True: 0, False: 1]
  ------------------
  378|      0|        return -1;
  379|      0|    }
  380|       |
  381|      1|    state->TokenizerIter = (PyTypeObject *)PyType_FromModuleAndSpec(m, &tokenizeriter_spec, NULL);
  382|      1|    if (state->TokenizerIter == NULL) {
  ------------------
  |  Branch (382:9): [True: 0, False: 1]
  ------------------
  383|      0|        return -1;
  384|      0|    }
  385|      1|    if (PyModule_AddType(m, state->TokenizerIter) < 0) {
  ------------------
  |  Branch (385:9): [True: 0, False: 1]
  ------------------
  386|      0|        return -1;
  387|      0|    }
  388|       |
  389|      1|    return 0;
  390|      1|}
Python-tokenize.c:get_tokenize_state:
   14|      1|get_tokenize_state(PyObject *module) {
   15|      1|    return (tokenize_state *)PyModule_GetState(module);
   16|      1|}

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:
  140|      2|{
  141|      2|    WarningsState *st = &interp->warnings;
  142|       |
  143|      2|    if (st->filters == NULL) {
  ------------------
  |  Branch (143:9): [True: 2, False: 0]
  ------------------
  144|      2|        st->filters = init_filters(interp);
  145|      2|        if (st->filters == NULL) {
  ------------------
  |  Branch (145:13): [True: 0, False: 2]
  ------------------
  146|      0|            return -1;
  147|      0|        }
  148|      2|        PyUnstable_EnableTryIncRef(st->filters);
  149|      2|    }
  150|       |
  151|      2|    if (st->once_registry == NULL) {
  ------------------
  |  Branch (151:9): [True: 2, False: 0]
  ------------------
  152|      2|        st->once_registry = PyDict_New();
  153|      2|        if (st->once_registry == NULL) {
  ------------------
  |  Branch (153:13): [True: 0, False: 2]
  ------------------
  154|      0|            return -1;
  155|      0|        }
  156|      2|        PyUnstable_EnableTryIncRef(st->once_registry);
  157|      2|    }
  158|       |
  159|      2|    if (st->default_action == NULL) {
  ------------------
  |  Branch (159:9): [True: 2, False: 0]
  ------------------
  160|      2|        st->default_action = PyUnicode_FromString("default");
  161|      2|        if (st->default_action == NULL) {
  ------------------
  |  Branch (161:13): [True: 0, False: 2]
  ------------------
  162|      0|            return -1;
  163|      0|        }
  164|      2|        PyUnstable_EnableTryIncRef(st->default_action);
  165|      2|    }
  166|       |
  167|      2|    if (st->context == NULL) {
  ------------------
  |  Branch (167:9): [True: 2, False: 0]
  ------------------
  168|      2|        st->context = PyContextVar_New("_warnings_context", NULL);
  169|      2|        if (st->context == NULL) {
  ------------------
  |  Branch (169:13): [True: 0, False: 2]
  ------------------
  170|      0|            return -1;
  171|      0|        }
  172|      2|    }
  173|       |
  174|      2|    st->filters_version = 0;
  175|      2|    return 0;
  176|      2|}
PyErr_WarnExplicitObject:
 1590|     50|{
 1591|     50|    PyObject *res;
 1592|     50|    if (category == NULL)
  ------------------
  |  Branch (1592:9): [True: 0, False: 50]
  ------------------
 1593|      0|        category = PyExc_RuntimeWarning;
 1594|     50|    PyThreadState *tstate = get_current_tstate();
 1595|     50|    if (tstate == NULL) {
  ------------------
  |  Branch (1595:9): [True: 0, False: 50]
  ------------------
 1596|      0|        return -1;
 1597|      0|    }
 1598|       |
 1599|     50|    res = warn_explicit(tstate, category, message, filename, lineno,
 1600|     50|                        module, registry, NULL, NULL);
 1601|     50|    if (res == NULL)
  ------------------
  |  Branch (1601:9): [True: 0, False: 50]
  ------------------
 1602|      0|        return -1;
 1603|     50|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1604|     50|    return 0;
 1605|     50|}
_PyWarnings_Init:
 1806|      2|{
 1807|      2|    return PyModuleDef_Init(&warnings_module);
 1808|      2|}
_warnings.c:init_filters:
  105|      2|{
  106|       |#ifdef Py_DEBUG
  107|       |    /* Py_DEBUG builds show all warnings by default */
  108|       |    return PyList_New(0);
  109|       |#else
  110|       |    /* Other builds ignore a number of warning categories by default */
  111|      2|    PyObject *filters = PyList_New(5);
  112|      2|    if (filters == NULL) {
  ------------------
  |  Branch (112:9): [True: 0, False: 2]
  ------------------
  113|      0|        return NULL;
  114|      0|    }
  115|       |
  116|      2|    size_t pos = 0;  /* Post-incremented in each use. */
  117|      2|#define ADD(TYPE, ACTION, MODNAME) \
  118|      2|    PyList_SET_ITEM(filters, pos++, \
  119|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  120|      2|    ADD(PyExc_DeprecationWarning, default, "__main__");
  ------------------
  |  |  118|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  119|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  ------------------
  121|      2|    ADD(PyExc_DeprecationWarning, ignore, NULL);
  ------------------
  |  |  118|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  119|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  ------------------
  122|      2|    ADD(PyExc_PendingDeprecationWarning, ignore, NULL);
  ------------------
  |  |  118|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  119|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  ------------------
  123|      2|    ADD(PyExc_ImportWarning, ignore, NULL);
  ------------------
  |  |  118|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  119|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  ------------------
  124|      2|    ADD(PyExc_ResourceWarning, ignore, NULL);
  ------------------
  |  |  118|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  119|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  ------------------
  125|      2|#undef ADD
  126|       |
  127|     12|    for (size_t x = 0; x < pos; x++) {
  ------------------
  |  Branch (127:24): [True: 10, False: 2]
  ------------------
  128|     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 (128:13): [True: 10, False: 0]
  |  Branch (128:13): [True: 0, False: 10]
  ------------------
  129|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  130|      0|            return NULL;
  131|      0|        }
  132|     10|    }
  133|      2|    return filters;
  134|      2|#endif
  135|      2|}
_warnings.c:create_filter:
   82|     10|{
   83|     10|    PyObject *modname_obj = NULL;
   84|       |
   85|       |    /* Default to "no module name" for initial filter set */
   86|     10|    if (modname != NULL) {
  ------------------
  |  Branch (86:9): [True: 2, False: 8]
  ------------------
   87|      2|        modname_obj = PyUnicode_InternFromString(modname);
   88|      2|        if (modname_obj == NULL) {
  ------------------
  |  Branch (88:13): [True: 0, False: 2]
  ------------------
   89|      0|            return NULL;
   90|      0|        }
   91|      8|    } else {
   92|      8|        modname_obj = Py_NewRef(Py_None);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   93|      8|    }
   94|       |
   95|       |    /* This assumes the line number is zero for now. */
   96|     10|    PyObject *filter = PyTuple_Pack(5, action_str, Py_None,
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
   97|     10|                                    category, modname_obj, _PyLong_GetZero());
   98|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   99|     10|    return filter;
  100|     10|}
_warnings.c:warnings_get_state:
   65|    202|{
   66|    202|    return &interp->warnings;
   67|    202|}
_warnings.c:get_current_tstate:
   53|     50|{
   54|     50|    PyThreadState *tstate = _PyThreadState_GET();
   55|     50|    if (tstate == NULL) {
  ------------------
  |  Branch (55:9): [True: 0, False: 50]
  ------------------
   56|      0|        (void)check_interp(NULL);
   57|      0|        return NULL;
   58|      0|    }
   59|     50|    return check_interp(tstate->interp) ? tstate : NULL;
  ------------------
  |  Branch (59:12): [True: 50, False: 0]
  ------------------
   60|     50|}
_warnings.c:check_interp:
   34|     52|{
   35|     52|    if (interp == NULL) {
  ------------------
  |  Branch (35:9): [True: 0, False: 52]
  ------------------
   36|      0|        PyErr_SetString(PyExc_RuntimeError,
   37|      0|                        "warnings_get_state: could not identify "
   38|      0|                        "current interpreter");
   39|      0|        return 0;
   40|      0|    }
   41|     52|    return 1;
   42|     52|}
_warnings.c:warn_explicit:
  894|     50|{
  895|     50|    PyObject *key = NULL, *text = NULL, *result = NULL, *lineno_obj = NULL;
  896|     50|    PyObject *item = NULL, *action = NULL;
  897|     50|    PyObject *altkey = NULL, *once_registry = NULL;
  898|     50|    int rc;
  899|     50|    PyInterpreterState *interp = tstate->interp;
  900|       |
  901|       |    /* module can be None if a warning is emitted late during Python shutdown.
  902|       |       In this case, the Python warnings module was probably unloaded, filters
  903|       |       are no more available to choose as action. It is safer to ignore the
  904|       |       warning and do nothing. */
  905|     50|    if (module == Py_None)
  ------------------
  |  |  616|     50|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (905:9): [True: 0, False: 50]
  ------------------
  906|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  907|       |
  908|     50|    if (registry && !PyDict_Check(registry) && (registry != Py_None)) {
  ------------------
  |  |   18|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     50|#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 (908:9): [True: 0, False: 50]
  |  Branch (908:21): [True: 0, False: 0]
  |  Branch (908:48): [True: 0, False: 0]
  ------------------
  909|      0|        PyErr_SetString(PyExc_TypeError, "'registry' must be a dict or None");
  910|      0|        return NULL;
  911|      0|    }
  912|       |
  913|       |    /* Normalize message. */
  914|     50|    Py_INCREF(message);  /* DECREF'ed in cleanup. */
  ------------------
  |  |  310|     50|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  915|     50|    if (PyObject_TypeCheck(message, (PyTypeObject *)PyExc_Warning)) {
  ------------------
  |  |  378|     50|#  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: 0, False: 50]
  |  |  ------------------
  ------------------
  916|      0|        text = PyObject_Str(message);
  917|      0|        if (text == NULL)
  ------------------
  |  Branch (917:13): [True: 0, False: 0]
  ------------------
  918|      0|            goto cleanup;
  919|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  920|      0|    }
  921|     50|    else {
  922|     50|        text = message;
  923|     50|        message = PyObject_CallOneArg(category, message);
  924|     50|        if (message == NULL)
  ------------------
  |  Branch (924:13): [True: 0, False: 50]
  ------------------
  925|      0|            goto cleanup;
  926|     50|    }
  927|       |
  928|     50|    lineno_obj = PyLong_FromLong(lineno);
  929|     50|    if (lineno_obj == NULL)
  ------------------
  |  Branch (929:9): [True: 0, False: 50]
  ------------------
  930|      0|        goto cleanup;
  931|       |
  932|     50|    if (source == Py_None) {
  ------------------
  |  |  616|     50|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (932:9): [True: 0, False: 50]
  ------------------
  933|      0|        source = NULL;
  934|      0|    }
  935|       |
  936|       |    /* Create key. */
  937|     50|    key = PyTuple_Pack(3, text, category, lineno_obj);
  938|     50|    if (key == NULL)
  ------------------
  |  Branch (938:9): [True: 0, False: 50]
  ------------------
  939|      0|        goto cleanup;
  940|       |
  941|       |    /* The warnings lock is not held.  'version' ties the registry updates
  942|       |       to the filters searched; a result from filters that changed since is
  943|       |       never recorded. */
  944|     50|    Py_ssize_t version;
  945|     50|    if ((registry != NULL) && (registry != Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (945:9): [True: 0, False: 50]
  |  Branch (945:31): [True: 0, False: 0]
  ------------------
  946|      0|        rc = already_warned(interp, registry, key, &version);
  947|      0|        if (rc == -1)
  ------------------
  |  Branch (947:13): [True: 0, False: 0]
  ------------------
  948|      0|            goto cleanup;
  949|      0|        else if (rc == 1)
  ------------------
  |  Branch (949:18): [True: 0, False: 0]
  ------------------
  950|      0|            goto return_none;
  951|       |        /* Else this warning hasn't been generated before. */
  952|      0|    }
  953|     50|    else {
  954|     50|        registry = NULL;
  955|     50|        WarningsState *st = warnings_get_state(interp);
  956|     50|        version = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(st->filters_version);
  ------------------
  |  |  150|     50|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  957|     50|    }
  958|       |
  959|     50|    action = get_filter(interp, category, text, lineno, module, filename, &item);
  960|     50|    if (action == NULL)
  ------------------
  |  Branch (960:9): [True: 0, False: 50]
  ------------------
  961|      0|        goto cleanup;
  962|       |
  963|     50|    if (_PyUnicode_EqualToASCIIString(action, "error")) {
  ------------------
  |  Branch (963:9): [True: 0, False: 50]
  ------------------
  964|      0|        PyErr_SetObject(category, message);
  965|      0|        goto cleanup;
  966|      0|    }
  967|       |
  968|     50|    if (_PyUnicode_EqualToASCIIString(action, "ignore")) {
  ------------------
  |  Branch (968:9): [True: 0, False: 50]
  ------------------
  969|      0|        goto return_none;
  970|      0|    }
  971|       |
  972|       |    /* Store in the registry that we've been here, *except* when the action
  973|       |       is "always" or "all". */
  974|     50|    if (!_PyUnicode_EqualToASCIIString(action, "always") && !_PyUnicode_EqualToASCIIString(action, "all")) {
  ------------------
  |  Branch (974:9): [True: 50, False: 0]
  |  Branch (974:61): [True: 50, False: 0]
  ------------------
  975|     50|        bool is_once = _PyUnicode_EqualToASCIIString(action, "once");
  976|     50|        bool is_module = _PyUnicode_EqualToASCIIString(action, "module");
  977|     50|        if (!is_once && !is_module &&
  ------------------
  |  Branch (977:13): [True: 50, False: 0]
  |  Branch (977:25): [True: 50, False: 0]
  ------------------
  978|     50|            !_PyUnicode_EqualToASCIIString(action, "default"))
  ------------------
  |  Branch (978:13): [True: 0, False: 50]
  ------------------
  979|      0|        {
  980|      0|            PyErr_Format(PyExc_RuntimeError,
  981|      0|                        "Unrecognized action (%R) in warnings.filters:\n %R",
  982|      0|                        action, item);
  983|      0|            goto cleanup;
  984|      0|        }
  985|       |
  986|     50|        if (is_once && registry == NULL) {
  ------------------
  |  Branch (986:13): [True: 0, False: 50]
  |  Branch (986:24): [True: 0, False: 0]
  ------------------
  987|       |            /* WarningsState.once_registry[(text, category)] = 1 */
  988|      0|            once_registry = get_once_registry(interp);
  989|      0|            if (once_registry == NULL)
  ------------------
  |  Branch (989:17): [True: 0, False: 0]
  ------------------
  990|      0|                goto cleanup;
  991|      0|            altkey = _PyTuple_FromPair(text, category);
  992|      0|            if (altkey == NULL)
  ------------------
  |  Branch (992:17): [True: 0, False: 0]
  ------------------
  993|      0|                goto cleanup;
  994|      0|            rc = record_warning(interp, once_registry, NULL, altkey, version);
  995|      0|        }
  996|     50|        else if (registry != NULL) {
  ------------------
  |  Branch (996:18): [True: 0, False: 50]
  ------------------
  997|       |            /* registry[key] = 1, and for "once" and "module" also
  998|       |               registry[(text, category)] = 1 */
  999|      0|            if (is_once || is_module) {
  ------------------
  |  Branch (999:17): [True: 0, False: 0]
  |  Branch (999:28): [True: 0, False: 0]
  ------------------
 1000|      0|                altkey = _PyTuple_FromPair(text, category);
 1001|      0|                if (altkey == NULL)
  ------------------
  |  Branch (1001:21): [True: 0, False: 0]
  ------------------
 1002|      0|                    goto cleanup;
 1003|      0|            }
 1004|      0|            rc = record_warning(interp, registry, key, altkey, version);
 1005|      0|        }
 1006|     50|        else {
 1007|     50|            rc = 0;
 1008|     50|        }
 1009|     50|        if (rc == -1)
  ------------------
  |  Branch (1009:13): [True: 0, False: 50]
  ------------------
 1010|      0|            goto cleanup;
 1011|     50|        if (rc == 1)  /* Already warned for this module. */
  ------------------
  |  Branch (1011:13): [True: 0, False: 50]
  ------------------
 1012|      0|            goto return_none;
 1013|     50|    }
 1014|       |
 1015|     50|    if (call_show_warning(tstate, category, text, message, filename,
  ------------------
  |  Branch (1015:9): [True: 0, False: 50]
  ------------------
 1016|     50|                          lineno, lineno_obj, sourceline, source, module) < 0)
 1017|      0|        goto cleanup;
 1018|       |
 1019|     50| return_none:
 1020|     50|    result = Py_NewRef(Py_None);
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1021|       |
 1022|     50| cleanup:
 1023|     50|    Py_XDECREF(once_registry);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1024|     50|    Py_XDECREF(altkey);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1025|     50|    Py_XDECREF(action);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1026|     50|    Py_XDECREF(item);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1027|     50|    Py_XDECREF(key);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1028|     50|    Py_XDECREF(text);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1029|     50|    Py_XDECREF(lineno_obj);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1030|     50|    Py_XDECREF(message);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1031|     50|    return result;  /* Py_None or NULL. */
 1032|     50|}
_warnings.c:get_filter:
  570|     50|{
  571|       |    /* check _warning_context _filters list */
  572|     50|    PyObject *context_filters = get_warnings_context_filters(interp);
  573|     50|    if (context_filters == NULL) {
  ------------------
  |  Branch (573:9): [True: 0, False: 50]
  ------------------
  574|      0|        return NULL;
  575|      0|    }
  576|     50|    bool use_global_filters = false;
  577|     50|    if (context_filters == Py_None) {
  ------------------
  |  |  616|     50|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (577:9): [True: 50, False: 0]
  ------------------
  578|     50|        use_global_filters = true;
  579|     50|    } else {
  580|      0|        PyObject *context_action = NULL;
  581|      0|        if (!filter_search(interp, category, text, lineno, module, filename, "_warnings_context _filters",
  ------------------
  |  Branch (581:13): [True: 0, False: 0]
  ------------------
  582|      0|                           context_filters, item, &context_action)) {
  583|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  584|      0|            return NULL;
  585|      0|        }
  586|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  587|      0|        if (context_action != NULL) {
  ------------------
  |  Branch (587:13): [True: 0, False: 0]
  ------------------
  588|      0|            return Py_NewRef(context_action);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  589|      0|        }
  590|      0|    }
  591|       |
  592|     50|    PyObject *action;
  593|       |
  594|     50|    if (use_global_filters) {
  ------------------
  |  Branch (594:9): [True: 50, False: 0]
  ------------------
  595|       |        /* check warnings.filters list */
  596|     50|        PyObject *filters = get_warnings_filters(interp);
  597|     50|        if (filters == NULL) {
  ------------------
  |  Branch (597:13): [True: 0, False: 50]
  ------------------
  598|      0|            return NULL;
  599|      0|        }
  600|     50|        bool ok = filter_search(interp, category, text, lineno, module,
  601|     50|                                filename, "filters", filters, item, &action);
  602|     50|        Py_DECREF(filters);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  603|     50|        if (!ok) {
  ------------------
  |  Branch (603:13): [True: 0, False: 50]
  ------------------
  604|      0|            return NULL;
  605|      0|        }
  606|     50|        if (action != NULL) {
  ------------------
  |  Branch (606:13): [True: 0, False: 50]
  ------------------
  607|      0|            return Py_NewRef(action);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|      0|        }
  609|     50|    }
  610|       |
  611|     50|    action = get_default_action(interp);
  612|     50|    if (action != NULL) {
  ------------------
  |  Branch (612:9): [True: 50, False: 0]
  ------------------
  613|     50|        *item = Py_NewRef(Py_None);
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  614|     50|        return action;
  615|     50|    }
  616|       |
  617|      0|    return NULL;
  618|     50|}
_warnings.c:get_warnings_context_filters:
  320|     50|{
  321|     50|    PyObject *ctx = get_warnings_context(interp);
  322|     50|    if (ctx == NULL) {
  ------------------
  |  Branch (322:9): [True: 0, False: 50]
  ------------------
  323|      0|        return NULL;
  324|      0|    }
  325|     50|    if (ctx == Py_None) {
  ------------------
  |  |  616|     50|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (325:9): [True: 50, False: 0]
  ------------------
  326|     50|        Py_RETURN_NONE;
  ------------------
  |  |  628|     50|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     50|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  327|     50|    }
  328|      0|    PyObject *context_filters = PyObject_GetAttr(ctx, &_Py_ID(_filters));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  329|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  330|      0|    if (context_filters == NULL) {
  ------------------
  |  Branch (330:9): [True: 0, False: 0]
  ------------------
  331|      0|        return NULL;
  332|      0|    }
  333|      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 (333:9): [True: 0, False: 0]
  ------------------
  334|      0|        PyErr_SetString(PyExc_ValueError,
  335|      0|                        "_filters of warnings._warnings_context must be a list");
  336|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  337|      0|        return NULL;
  338|      0|    }
  339|      0|    return context_filters;
  340|      0|}
_warnings.c:get_warnings_context:
  305|     50|{
  306|     50|    WarningsState *st = warnings_get_state(interp);
  307|     50|    assert(PyContextVar_CheckExact(st->context));
  ------------------
  |  Branch (307:5): [True: 50, False: 0]
  ------------------
  308|     50|    PyObject *ctx;
  309|     50|    if (PyContextVar_Get(st->context, NULL, &ctx) < 0) {
  ------------------
  |  Branch (309:9): [True: 0, False: 50]
  ------------------
  310|      0|        return NULL;
  311|      0|    }
  312|     50|    if (ctx == NULL) {
  ------------------
  |  Branch (312:9): [True: 50, False: 0]
  ------------------
  313|     50|        Py_RETURN_NONE;
  ------------------
  |  |  628|     50|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     50|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  314|     50|    }
  315|      0|    return ctx;
  316|     50|}
_warnings.c:filter_search:
  489|     50|              PyObject **item, PyObject **matched_action) {
  490|     50|    bool result = true;
  491|     50|    *matched_action = NULL;
  492|       |    /* Avoid the filters list changing while we iterate over it. */
  493|     50|    Py_BEGIN_CRITICAL_SECTION(filters);
  ------------------
  |  |   51|     50|    {
  ------------------
  494|    300|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(filters); i++) {
  ------------------
  |  |   38|    300|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    300|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    300|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (494:28): [True: 250, False: 50]
  ------------------
  495|    250|        PyObject *tmp_item, *action, *msg, *cat, *mod, *ln_obj;
  496|    250|        Py_ssize_t ln;
  497|    250|        int is_subclass, good_msg, good_mod;
  498|       |
  499|    250|        tmp_item = PyList_GET_ITEM(filters, i);
  ------------------
  |  |   40|    250|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    250|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    250|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (499:20): [True: 250, False: 0]
  ------------------
  500|    250|        if (!PyTuple_Check(tmp_item) || PyTuple_GET_SIZE(tmp_item) != 5) {
  ------------------
  |  |   27|    250|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    500|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                      if (!PyTuple_Check(tmp_item) || PyTuple_GET_SIZE(tmp_item) != 5) {
  ------------------
  |  |   27|    250|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    250|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    250|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (500:13): [True: 0, False: 250]
  |  Branch (500:41): [True: 0, False: 250]
  ------------------
  501|      0|            PyErr_Format(PyExc_ValueError,
  502|      0|                         "warnings.%s item %zd isn't a 5-tuple", list_name, i);
  503|      0|            result = false;
  504|      0|            break;
  505|      0|        }
  506|       |
  507|       |        /* Python code: action, msg, cat, mod, ln = item */
  508|    250|        Py_INCREF(tmp_item);
  ------------------
  |  |  310|    250|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    250|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    250|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  509|    250|        action = PyTuple_GET_ITEM(tmp_item, 0);
  ------------------
  |  |   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 (509:18): [True: 250, False: 0]
  ------------------
  510|    250|        msg = PyTuple_GET_ITEM(tmp_item, 1);
  ------------------
  |  |   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 (510:15): [True: 250, False: 0]
  ------------------
  511|    250|        cat = PyTuple_GET_ITEM(tmp_item, 2);
  ------------------
  |  |   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 (511:15): [True: 250, False: 0]
  ------------------
  512|    250|        mod = PyTuple_GET_ITEM(tmp_item, 3);
  ------------------
  |  |   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 (512:15): [True: 250, False: 0]
  ------------------
  513|    250|        ln_obj = PyTuple_GET_ITEM(tmp_item, 4);
  ------------------
  |  |   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 (513:18): [True: 250, False: 0]
  ------------------
  514|       |
  515|    250|        if (!PyUnicode_Check(action)) {
  ------------------
  |  |  103|    250|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    250|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (515:13): [True: 0, False: 250]
  ------------------
  516|      0|            PyErr_Format(PyExc_TypeError,
  517|      0|                         "action must be a string, not '%.200s'",
  518|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  519|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  520|      0|            result = false;
  521|      0|            break;
  522|      0|        }
  523|       |
  524|    250|        good_msg = check_matched(interp, msg, text, NULL);
  525|    250|        if (good_msg == -1) {
  ------------------
  |  Branch (525:13): [True: 0, False: 250]
  ------------------
  526|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  527|      0|            result = false;
  528|      0|            break;
  529|      0|        }
  530|       |
  531|    250|        good_mod = check_matched(interp, mod, module, filename);
  532|    250|        if (good_mod == -1) {
  ------------------
  |  Branch (532:13): [True: 0, False: 250]
  ------------------
  533|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  534|      0|            result = false;
  535|      0|            break;
  536|      0|        }
  537|       |
  538|    250|        is_subclass = PyObject_IsSubclass(category, cat);
  539|    250|        if (is_subclass == -1) {
  ------------------
  |  Branch (539:13): [True: 0, False: 250]
  ------------------
  540|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  541|      0|            result = false;
  542|      0|            break;
  543|      0|        }
  544|       |
  545|    250|        ln = PyLong_AsSsize_t(ln_obj);
  546|    250|        if (ln == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (546:13): [True: 0, False: 250]
  |  Branch (546:25): [True: 0, False: 0]
  ------------------
  547|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  548|      0|            result = false;
  549|      0|            break;
  550|      0|        }
  551|       |
  552|    250|        if (good_msg && is_subclass && good_mod && (ln == 0 || lineno == ln)) {
  ------------------
  |  Branch (552:13): [True: 250, False: 0]
  |  Branch (552:25): [True: 0, False: 250]
  |  Branch (552:40): [True: 0, False: 0]
  |  Branch (552:53): [True: 0, False: 0]
  |  Branch (552:64): [True: 0, False: 0]
  ------------------
  553|      0|            *item = tmp_item;
  554|      0|            *matched_action = action;
  555|      0|            result = true;
  556|      0|            break;
  557|      0|        }
  558|       |
  559|    250|        Py_DECREF(tmp_item);
  ------------------
  |  |  430|    250|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    250|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    250|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  560|    250|    }
  561|     50|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     50|    }
  ------------------
  562|     50|    return result;
  563|     50|}
_warnings.c:check_matched:
  183|    500|{
  184|    500|    PyObject *result;
  185|    500|    int rc;
  186|       |
  187|       |    /* A 'None' filter always matches */
  188|    500|    if (obj == Py_None)
  ------------------
  |  |  616|    500|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (188:9): [True: 450, False: 50]
  ------------------
  189|    450|        return 1;
  190|       |
  191|       |    /* An internal plain text default filter must match exactly */
  192|     50|    if (PyUnicode_CheckExact(obj)) {
  ------------------
  |  |  104|     50|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  193|     50|        if (arg == NULL) {
  ------------------
  |  Branch (193:13): [True: 50, False: 0]
  ------------------
  194|     50|            return 0;
  195|     50|        }
  196|      0|        int cmp_result = PyUnicode_Compare(obj, arg);
  197|      0|        if (cmp_result == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (197:13): [True: 0, False: 0]
  |  Branch (197:33): [True: 0, False: 0]
  ------------------
  198|      0|            return -1;
  199|      0|        }
  200|      0|        return !cmp_result;
  201|      0|    }
  202|       |
  203|       |    /* Otherwise assume a regex filter and call its match() method */
  204|      0|    if (arg != NULL) {
  ------------------
  |  Branch (204:9): [True: 0, False: 0]
  ------------------
  205|      0|        result = PyObject_CallMethodOneArg(obj, &_Py_ID(match), arg);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  206|      0|    }
  207|      0|    else {
  208|      0|        PyObject *match = PyImport_ImportModuleAttrString("_py_warnings", "_match_filename");
  209|      0|        if (match == NULL) {
  ------------------
  |  Branch (209:13): [True: 0, False: 0]
  ------------------
  210|      0|            return -1;
  211|      0|        }
  212|      0|        result = PyObject_CallFunctionObjArgs(match, obj, arg2, NULL);
  213|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|      0|    }
  215|      0|    if (result == NULL)
  ------------------
  |  Branch (215:9): [True: 0, False: 0]
  ------------------
  216|      0|        return -1;
  217|      0|    rc = PyObject_IsTrue(result);
  218|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  219|      0|    return rc;
  220|      0|}
_warnings.c:get_warnings_filters:
  368|     50|{
  369|     50|    WarningsState *st = warnings_get_state(interp);
  370|     50|    PyObject *warnings_filters = GET_WARNINGS_ATTR(interp, filters, 0);
  ------------------
  |  |  223|     50|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  951|     50|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|     50|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|     50|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|     50|    if (warnings_filters == NULL) {
  ------------------
  |  Branch (371:9): [True: 1, False: 49]
  ------------------
  372|      1|        if (PyErr_Occurred())
  ------------------
  |  Branch (372:13): [True: 0, False: 1]
  ------------------
  373|      0|            return NULL;
  374|      1|        warnings_filters = get_state_ref(&st->filters);
  375|      1|    }
  376|     49|    else {
  377|     49|        update_state_ref(&st->filters, warnings_filters);
  378|     49|    }
  379|       |
  380|     50|    PyObject *filters = warnings_filters;
  381|     50|    if (filters == NULL || !PyList_Check(filters)) {
  ------------------
  |  |   25|     50|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     50|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (381:9): [True: 0, False: 50]
  |  Branch (381:28): [True: 0, False: 50]
  ------------------
  382|      0|        PyErr_SetString(PyExc_ValueError,
  383|      0|                        MODULE_NAME ".filters must be a list");
  ------------------
  |  |   21|      0|#define MODULE_NAME "_warnings"
  ------------------
  384|      0|        Py_XDECREF(filters);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  385|      0|        return NULL;
  386|      0|    }
  387|     50|    return filters;
  388|     50|}
_warnings.c:get_state_ref:
  357|      2|{
  358|       |#ifdef Py_GIL_DISABLED
  359|       |    return _Py_XGetRef(ptr);
  360|       |#else
  361|      2|    return Py_XNewRef(*ptr);
  ------------------
  |  |  648|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  362|      2|#endif
  363|      2|}
_warnings.c:update_state_ref:
  345|     98|{
  346|     98|    if (FT_ATOMIC_LOAD_PTR_ACQUIRE(*ptr) == value) {
  ------------------
  |  |  152|     98|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  |  Branch (346:9): [True: 98, False: 0]
  ------------------
  347|     98|        return;
  348|     98|    }
  349|      0|    PyUnstable_EnableTryIncRef(value);
  350|      0|    PyObject *old = _Py_atomic_exchange_ptr(ptr, Py_NewRef(value));
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  351|      0|    Py_XDECREF(old);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  352|      0|}
_warnings.c:get_default_action:
  458|     50|{
  459|     50|    WarningsState *st = warnings_get_state(interp);
  460|     50|    assert(st != NULL);
  ------------------
  |  Branch (460:5): [True: 50, False: 0]
  ------------------
  461|       |
  462|     50|    PyObject *default_action = GET_WARNINGS_ATTR(interp, defaultaction, 0);
  ------------------
  |  |  223|     50|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  951|     50|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|     50|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|     50|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  463|     50|    if (default_action == NULL) {
  ------------------
  |  Branch (463:9): [True: 1, False: 49]
  ------------------
  464|      1|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (464:13): [True: 0, False: 1]
  ------------------
  465|      0|            return NULL;
  466|      0|        }
  467|      1|        default_action = get_state_ref(&st->default_action);
  468|      1|        assert(default_action != NULL);
  ------------------
  |  Branch (468:9): [True: 1, False: 0]
  ------------------
  469|      1|        return default_action;
  470|      1|    }
  471|     49|    if (!PyUnicode_Check(default_action)) {
  ------------------
  |  |  103|     49|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     49|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (471:9): [True: 0, False: 49]
  ------------------
  472|      0|        PyErr_Format(PyExc_TypeError,
  473|      0|                     MODULE_NAME ".defaultaction must be a string, "
  ------------------
  |  |   21|      0|#define MODULE_NAME "_warnings"
  ------------------
  474|      0|                     "not '%.200s'",
  475|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  476|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  477|      0|        return NULL;
  478|      0|    }
  479|     49|    update_state_ref(&st->default_action, default_action);
  480|     49|    return default_action;
  481|     49|}
_warnings.c:call_show_warning:
  836|     50|{
  837|     50|    PyObject *show_fn, *msg, *res, *warnmsg_cls = NULL;
  838|     50|    PyInterpreterState *interp = tstate->interp;
  839|       |
  840|       |    /* The Python implementation is able to log the traceback where the source
  841|       |       was allocated, whereas the C implementation doesn't. */
  842|     50|    show_fn = GET_WARNINGS_ATTR(interp, _showwarnmsg, 1);
  ------------------
  |  |  223|     50|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  951|     50|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|     50|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|     50|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  843|     50|    if (show_fn == NULL) {
  ------------------
  |  Branch (843:9): [True: 0, False: 50]
  ------------------
  844|      0|        if (PyErr_Occurred())
  ------------------
  |  Branch (844:13): [True: 0, False: 0]
  ------------------
  845|      0|            return -1;
  846|      0|        show_warning(tstate, filename, lineno, text, category, sourceline);
  847|      0|        return 0;
  848|      0|    }
  849|       |
  850|     50|    if (!PyCallable_Check(show_fn)) {
  ------------------
  |  Branch (850:9): [True: 0, False: 50]
  ------------------
  851|      0|        PyErr_SetString(PyExc_TypeError,
  852|      0|                "warnings._showwarnmsg() must be set to a callable");
  853|      0|        goto error;
  854|      0|    }
  855|       |
  856|     50|    warnmsg_cls = GET_WARNINGS_ATTR(interp, WarningMessage, 0);
  ------------------
  |  |  223|     50|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  951|     50|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|     50|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|     50|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  857|     50|    if (warnmsg_cls == NULL) {
  ------------------
  |  Branch (857:9): [True: 0, False: 50]
  ------------------
  858|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (858:13): [True: 0, False: 0]
  ------------------
  859|      0|            PyErr_SetString(PyExc_RuntimeError,
  860|      0|                    "unable to get warnings.WarningMessage");
  861|      0|        }
  862|      0|        goto error;
  863|      0|    }
  864|       |
  865|     50|    msg = PyObject_CallFunctionObjArgs(warnmsg_cls, message, category,
  866|     50|            filename, lineno_obj, Py_None,
  ------------------
  |  |  616|     50|#  define Py_None (&_Py_NoneStruct)
  ------------------
  867|     50|            sourceline ? sourceline : Py_None,
  ------------------
  |  |  616|     50|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (867:13): [True: 0, False: 50]
  ------------------
  868|     50|            source ? source : Py_None, module,
  ------------------
  |  |  616|     50|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (868:13): [True: 0, False: 50]
  ------------------
  869|     50|            NULL);
  870|     50|    Py_DECREF(warnmsg_cls);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  871|     50|    if (msg == NULL)
  ------------------
  |  Branch (871:9): [True: 0, False: 50]
  ------------------
  872|      0|        goto error;
  873|       |
  874|     50|    res = PyObject_CallOneArg(show_fn, msg);
  875|     50|    Py_DECREF(show_fn);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  876|     50|    Py_DECREF(msg);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  877|       |
  878|     50|    if (res == NULL)
  ------------------
  |  Branch (878:9): [True: 0, False: 50]
  ------------------
  879|      0|        return -1;
  880|       |
  881|     50|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  882|     50|    return 0;
  883|       |
  884|      0|error:
  885|      0|    Py_XDECREF(show_fn);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  886|      0|    return -1;
  887|     50|}
_warnings.c:get_warnings_attr:
  231|    200|{
  232|    200|    PyObject *warnings_module, *obj;
  233|       |
  234|       |    /* don't try to import after the start of the Python finallization */
  235|    200|    if (try_import && !_Py_IsInterpreterFinalizing(interp)) {
  ------------------
  |  Branch (235:9): [True: 50, False: 150]
  |  Branch (235:23): [True: 50, False: 0]
  ------------------
  236|     50|        warnings_module = PyImport_Import(&_Py_ID(warnings));
  ------------------
  |  |  951|     50|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     50|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     50|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  237|     50|        if (warnings_module == NULL) {
  ------------------
  |  Branch (237:13): [True: 0, False: 50]
  ------------------
  238|       |            /* Fallback to the C implementation if we cannot get
  239|       |               the Python implementation */
  240|      0|            if (PyErr_ExceptionMatches(PyExc_ImportError)) {
  ------------------
  |  Branch (240:17): [True: 0, False: 0]
  ------------------
  241|      0|                PyErr_Clear();
  242|      0|            }
  243|      0|            return NULL;
  244|      0|        }
  245|     50|    }
  246|    150|    else {
  247|       |        /* if we're so late into Python finalization that the module dict is
  248|       |           gone, then we can't even use PyImport_GetModule without triggering
  249|       |           an interpreter abort.
  250|       |        */
  251|    150|        if (!_PyImport_GetModules(interp)) {
  ------------------
  |  Branch (251:13): [True: 0, False: 150]
  ------------------
  252|      0|            return NULL;
  253|      0|        }
  254|    150|        warnings_module = PyImport_GetModule(&_Py_ID(warnings));
  ------------------
  |  |  951|    150|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    150|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    150|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  255|    150|        if (warnings_module == NULL)
  ------------------
  |  Branch (255:13): [True: 2, False: 148]
  ------------------
  256|      2|            return NULL;
  257|    150|    }
  258|       |
  259|    198|    (void)PyObject_GetOptionalAttr(warnings_module, attr, &obj);
  260|    198|    Py_DECREF(warnings_module);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  261|    198|    return obj;
  262|    200|}
_warnings.c:get_current_interp:
   46|      2|{
   47|      2|    PyInterpreterState *interp = _PyInterpreterState_GET();
   48|      2|    return check_interp(interp) ? interp : NULL;
  ------------------
  |  Branch (48:12): [True: 2, False: 0]
  ------------------
   49|      2|}
_warnings.c:warnings_module_exec:
 1761|      2|{
 1762|      2|    PyInterpreterState *interp = get_current_interp();
 1763|      2|    if (interp == NULL) {
  ------------------
  |  Branch (1763:9): [True: 0, False: 2]
  ------------------
 1764|      0|        return -1;
 1765|      0|    }
 1766|      2|    WarningsState *st = warnings_get_state(interp);
 1767|      2|    if (st == NULL) {
  ------------------
  |  Branch (1767:9): [True: 0, False: 2]
  ------------------
 1768|      0|        return -1;
 1769|      0|    }
 1770|      2|    if (PyModule_AddObjectRef(module, "filters", st->filters) < 0) {
  ------------------
  |  Branch (1770:9): [True: 0, False: 2]
  ------------------
 1771|      0|        return -1;
 1772|      0|    }
 1773|      2|    if (PyModule_AddObjectRef(module, "_onceregistry", st->once_registry) < 0) {
  ------------------
  |  Branch (1773:9): [True: 0, False: 2]
  ------------------
 1774|      0|        return -1;
 1775|      0|    }
 1776|      2|    if (PyModule_AddObjectRef(module, "_defaultaction", st->default_action) < 0) {
  ------------------
  |  Branch (1776:9): [True: 0, False: 2]
  ------------------
 1777|      0|        return -1;
 1778|      0|    }
 1779|      2|    if (PyModule_AddObjectRef(module, "_warnings_context", st->context) < 0) {
  ------------------
  |  Branch (1779:9): [True: 0, False: 2]
  ------------------
 1780|      0|        return -1;
 1781|      0|    }
 1782|      2|    return 0;
 1783|      2|}

_PyAssemble_MakeCodeObject:
  833|      4|{
  834|      4|    if (_PyInstructionSequence_ApplyLabelMap(instrs) < 0) {
  ------------------
  |  Branch (834:9): [True: 0, False: 4]
  ------------------
  835|      0|        return NULL;
  836|      0|    }
  837|      4|    if (resolve_unconditional_jumps(instrs) < 0) {
  ------------------
  |  Branch (837:9): [True: 0, False: 4]
  ------------------
  838|      0|        return NULL;
  839|      0|    }
  840|      4|    if (resolve_jump_offsets(instrs) < 0) {
  ------------------
  |  Branch (840:9): [True: 0, False: 4]
  ------------------
  841|      0|        return NULL;
  842|      0|    }
  843|      4|    PyCodeObject *co = NULL;
  844|       |
  845|      4|    struct assembler a;
  846|      4|    int res = assemble_emit(&a, instrs, umd->u_firstlineno, const_cache);
  847|      4|    if (res == SUCCESS) {
  ------------------
  |  |   20|      4|#define SUCCESS 0
  ------------------
  |  Branch (847:9): [True: 4, False: 0]
  ------------------
  848|      4|        co = makecode(umd, &a, const_cache, consts, maxdepth, nlocalsplus,
  849|      4|                      code_flags, filename);
  850|      4|    }
  851|      4|    assemble_free(&a);
  852|      4|    return co;
  853|      4|}
assemble.c:resolve_unconditional_jumps:
  801|      4|{
  802|       |    /* Resolve directions of unconditional jumps */
  803|       |
  804|     28|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (804:21): [True: 24, False: 4]
  ------------------
  805|     24|        instruction *instr = &instrs->s_instrs[i];
  806|     24|        bool is_forward = (instr->i_oparg > i);
  807|     24|        switch(instr->i_opcode) {
  808|      0|            case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (808:13): [True: 0, False: 24]
  ------------------
  809|      0|                assert(is_pseudo_target(JUMP, JUMP_FORWARD));
  ------------------
  |  Branch (809:17): [True: 0, False: 0]
  ------------------
  810|      0|                assert(is_pseudo_target(JUMP, JUMP_BACKWARD));
  ------------------
  |  Branch (810:17): [True: 0, False: 0]
  ------------------
  811|      0|                instr->i_opcode = is_forward ? JUMP_FORWARD : JUMP_BACKWARD;
  ------------------
  |  |   86|      0|#define JUMP_FORWARD                            73
  ------------------
                              instr->i_opcode = is_forward ? JUMP_FORWARD : JUMP_BACKWARD;
  ------------------
  |  |   84|      0|#define JUMP_BACKWARD                           71
  ------------------
  |  Branch (811:35): [True: 0, False: 0]
  ------------------
  812|      0|                break;
  813|      0|            case JUMP_NO_INTERRUPT:
  ------------------
  |  |  248|      0|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (813:13): [True: 0, False: 24]
  ------------------
  814|      0|                assert(is_pseudo_target(JUMP_NO_INTERRUPT, JUMP_FORWARD));
  ------------------
  |  Branch (814:17): [True: 0, False: 0]
  ------------------
  815|      0|                assert(is_pseudo_target(JUMP_NO_INTERRUPT, JUMP_BACKWARD_NO_INTERRUPT));
  ------------------
  |  Branch (815:17): [True: 0, False: 0]
  ------------------
  816|      0|                instr->i_opcode = is_forward ?
  ------------------
  |  Branch (816:35): [True: 0, False: 0]
  ------------------
  817|      0|                    JUMP_FORWARD : JUMP_BACKWARD_NO_INTERRUPT;
  ------------------
  |  |   86|      0|#define JUMP_FORWARD                            73
  ------------------
                                  JUMP_FORWARD : JUMP_BACKWARD_NO_INTERRUPT;
  ------------------
  |  |   85|      0|#define JUMP_BACKWARD_NO_INTERRUPT              72
  ------------------
  818|      0|                break;
  819|     24|            default:
  ------------------
  |  Branch (819:13): [True: 24, False: 0]
  ------------------
  820|     24|                if (OPCODE_HAS_JUMP(instr->i_opcode) &&
  ------------------
  |  | 1065|     48|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1046|     24|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  |  |  |  Branch (1065:29): [True: 0, False: 24]
  |  |  ------------------
  ------------------
  821|      0|                    IS_PSEUDO_INSTR(instr->i_opcode)) {
  ------------------
  |  |   20|      0|#define IS_PSEUDO_INSTR(OP)  ( \
  |  |   21|      0|    ((OP) == LOAD_CLOSURE) || \
  |  |  ------------------
  |  |  |  |  249|      0|#define LOAD_CLOSURE                           261
  |  |  ------------------
  |  |  |  Branch (21:5): [True: 0, False: 0]
  |  |  ------------------
  |  |   22|      0|    ((OP) == STORE_FAST_MAYBE_NULL) || \
  |  |  ------------------
  |  |  |  |  254|      0|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (22:5): [True: 0, False: 0]
  |  |  ------------------
  |  |   23|      0|    ((OP) == ANNOTATIONS_PLACEHOLDER) || \
  |  |  ------------------
  |  |  |  |  244|      0|#define ANNOTATIONS_PLACEHOLDER                256
  |  |  ------------------
  |  |  |  Branch (23:5): [True: 0, False: 0]
  |  |  ------------------
  |  |   24|      0|    ((OP) == JUMP) || \
  |  |  ------------------
  |  |  |  |  245|      0|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (24:5): [True: 0, False: 0]
  |  |  ------------------
  |  |   25|      0|    ((OP) == JUMP_NO_INTERRUPT) || \
  |  |  ------------------
  |  |  |  |  248|      0|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (25:5): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|    ((OP) == JUMP_IF_FALSE) || \
  |  |  ------------------
  |  |  |  |  246|      0|#define JUMP_IF_FALSE                          258
  |  |  ------------------
  |  |  |  Branch (26:5): [True: 0, False: 0]
  |  |  ------------------
  |  |   27|      0|    ((OP) == JUMP_IF_TRUE) || \
  |  |  ------------------
  |  |  |  |  247|      0|#define JUMP_IF_TRUE                           259
  |  |  ------------------
  |  |  |  Branch (27:5): [True: 0, False: 0]
  |  |  ------------------
  |  |   28|      0|    ((OP) == SETUP_FINALLY) || \
  |  |  ------------------
  |  |  |  |  252|      0|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (28:5): [True: 0, False: 0]
  |  |  ------------------
  |  |   29|      0|    ((OP) == SETUP_CLEANUP) || \
  |  |  ------------------
  |  |  |  |  251|      0|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (29:5): [True: 0, False: 0]
  |  |  ------------------
  |  |   30|      0|    ((OP) == SETUP_WITH) || \
  |  |  ------------------
  |  |  |  |  253|      0|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (30:5): [True: 0, False: 0]
  |  |  ------------------
  |  |   31|      0|    ((OP) == POP_BLOCK) || \
  |  |  ------------------
  |  |  |  |  250|      0|#define POP_BLOCK                              262
  |  |  ------------------
  |  |  |  Branch (31:5): [True: 0, False: 0]
  |  |  ------------------
  |  |   32|      0|    0)
  |  |  ------------------
  |  |  |  Branch (32:5): [Folded, False: 0]
  |  |  ------------------
  ------------------
  822|      0|                    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  823|      0|                }
  824|     24|        }
  825|     24|    }
  826|      4|    return SUCCESS;
  ------------------
  |  |   20|      4|#define SUCCESS 0
  ------------------
  827|      4|}
assemble.c:resolve_jump_offsets:
  727|      4|{
  728|       |    /* Compute the size of each instruction and fixup jump args.
  729|       |     * Replace instruction index with position in bytecode.
  730|       |     */
  731|       |
  732|     28|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (732:21): [True: 24, False: 4]
  ------------------
  733|     24|        instruction *instr = &instrs->s_instrs[i];
  734|     24|        if (OPCODE_HAS_JUMP(instr->i_opcode)) {
  ------------------
  |  | 1065|     24|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1046|     24|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  |  |  |  Branch (1065:29): [True: 0, False: 24]
  |  |  ------------------
  ------------------
  735|      0|            instr->i_target = instr->i_oparg;
  736|      0|        }
  737|     24|    }
  738|       |
  739|      4|    int extended_arg_recompile;
  740|       |
  741|      4|    do {
  742|      4|        int totsize = 0;
  743|     28|        for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (743:25): [True: 24, False: 4]
  ------------------
  744|     24|            instruction *instr = &instrs->s_instrs[i];
  745|     24|            instr->i_offset = totsize;
  746|     24|            int isize = instr_size(instr);
  747|     24|            totsize += isize;
  748|     24|        }
  749|      4|        extended_arg_recompile = 0;
  750|       |
  751|      4|        int offset = 0;
  752|     28|        for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (752:25): [True: 24, False: 4]
  ------------------
  753|     24|            instruction *instr = &instrs->s_instrs[i];
  754|     24|            int isize = instr_size(instr);
  755|       |            /* jump offsets are computed relative to
  756|       |             * the instruction pointer after fetching
  757|       |             * the jump instruction.
  758|       |             */
  759|     24|            offset += isize;
  760|     24|            if (OPCODE_HAS_JUMP(instr->i_opcode)) {
  ------------------
  |  | 1065|     24|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1046|     24|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  |  |  |  Branch (1065:29): [True: 0, False: 24]
  |  |  ------------------
  ------------------
  761|      0|                instruction *target = &instrs->s_instrs[instr->i_target];
  762|      0|                instr->i_oparg = target->i_offset;
  763|      0|                if (instr->i_opcode == END_ASYNC_FOR) {
  ------------------
  |  |   76|      0|#define END_ASYNC_FOR                           63
  ------------------
  |  Branch (763:21): [True: 0, False: 0]
  ------------------
  764|       |                    // sys.monitoring needs to be able to find the matching END_SEND
  765|       |                    // but the target is the SEND, so we adjust it here.
  766|      0|                    instr->i_oparg = offset - instr->i_oparg - END_SEND_OFFSET;
  ------------------
  |  |  723|      0|#define END_SEND_OFFSET 6
  ------------------
  767|      0|                }
  768|      0|                else if (instr->i_oparg < offset) {
  ------------------
  |  Branch (768:26): [True: 0, False: 0]
  ------------------
  769|      0|                    assert(IS_BACKWARDS_JUMP_OPCODE(instr->i_opcode));
  ------------------
  |  Branch (769:21): [True: 0, False: 0]
  |  Branch (769:21): [True: 0, False: 0]
  ------------------
  770|      0|                    instr->i_oparg = offset - instr->i_oparg;
  771|      0|                }
  772|      0|                else {
  773|      0|                    assert(!IS_BACKWARDS_JUMP_OPCODE(instr->i_opcode));
  ------------------
  |  Branch (773:21): [True: 0, False: 0]
  |  Branch (773:21): [True: 0, False: 0]
  ------------------
  774|      0|                    instr->i_oparg = instr->i_oparg - offset;
  775|      0|                }
  776|      0|                if (instr_size(instr) != isize) {
  ------------------
  |  Branch (776:21): [True: 0, False: 0]
  ------------------
  777|      0|                    extended_arg_recompile = 1;
  778|      0|                }
  779|      0|            }
  780|     24|        }
  781|       |    /* XXX: This is an awful hack that could hurt performance, but
  782|       |        on the bright side it should work until we come up
  783|       |        with a better solution.
  784|       |
  785|       |        The issue is that in the first loop instr_size() is
  786|       |        called, and it requires i_oparg be set appropriately.
  787|       |        There is a bootstrap problem because i_oparg is
  788|       |        calculated in the second loop above.
  789|       |
  790|       |        So we loop until we stop seeing new EXTENDED_ARGs.
  791|       |        The only EXTENDED_ARGs that could be popping up are
  792|       |        ones in jump instructions.  So this should converge
  793|       |        fairly quickly.
  794|       |    */
  795|      4|    } while (extended_arg_recompile);
  ------------------
  |  Branch (795:14): [True: 0, False: 4]
  ------------------
  796|      4|    return SUCCESS;
  ------------------
  |  |   20|      4|#define SUCCESS 0
  ------------------
  797|      4|}
assemble.c:instr_size:
   43|    120|{
   44|    120|    int opcode = instr->i_opcode;
   45|    120|    int oparg = instr->i_oparg;
   46|    120|    assert(!IS_PSEUDO_INSTR(opcode));
  ------------------
  |  Branch (46:5): [True: 0, False: 120]
  |  Branch (46:5): [True: 0, False: 120]
  |  Branch (46:5): [True: 0, False: 120]
  |  Branch (46:5): [True: 0, False: 120]
  |  Branch (46:5): [True: 0, False: 120]
  |  Branch (46:5): [True: 0, False: 120]
  |  Branch (46:5): [True: 0, False: 120]
  |  Branch (46:5): [True: 0, False: 120]
  |  Branch (46:5): [True: 0, False: 120]
  |  Branch (46:5): [True: 0, False: 120]
  |  Branch (46:5): [True: 0, False: 120]
  |  Branch (46:5): [Folded, False: 0]
  ------------------
   47|    120|    assert(OPCODE_HAS_ARG(opcode) || oparg == 0);
  ------------------
  |  Branch (47:5): [True: 90, False: 30]
  |  Branch (47:5): [True: 30, False: 0]
  ------------------
   48|    120|    int extended_args = (0xFFFFFF < oparg) + (0xFFFF < oparg) + (0xFF < oparg);
   49|    120|    int caches = _PyOpcode_Caches[opcode];
   50|    120|    return extended_args + 1 + caches;
   51|    120|}
assemble.c:assemble_emit:
  445|      4|{
  446|      4|    RETURN_IF_ERROR(assemble_init(a, first_lineno));
  ------------------
  |  |   24|      4|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  447|       |
  448|     28|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (448:21): [True: 24, False: 4]
  ------------------
  449|     24|        instruction *instr = &instrs->s_instrs[i];
  450|     24|        RETURN_IF_ERROR(assemble_emit_instr(a, instr));
  ------------------
  |  |   24|     24|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 24]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  451|     24|    }
  452|       |
  453|      4|    RETURN_IF_ERROR(assemble_location_info(a, instrs, a->a_lineno));
  ------------------
  |  |   24|      4|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  454|       |
  455|      4|    RETURN_IF_ERROR(assemble_exception_table(a, instrs));
  ------------------
  |  |   24|      4|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  456|       |
  457|      4|    a->a_except_table = PyBytesWriter_FinishWithSize(a->a_except_table_writer,
  458|      4|                                                     a->a_except_table_off);
  459|      4|    a->a_except_table_writer = NULL;
  460|      4|    if (a->a_except_table == NULL) {
  ------------------
  |  Branch (460:9): [True: 0, False: 4]
  ------------------
  461|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  462|      0|    }
  463|      4|    RETURN_IF_ERROR(_PyCompile_ConstCacheMergeOne(const_cache, &a->a_except_table));
  ------------------
  |  |   24|      4|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  464|       |
  465|      4|    a->a_linetable = PyBytesWriter_FinishWithSize(a->a_linetable_writer,
  466|      4|                                                  a->a_location_off);
  467|      4|    a->a_linetable_writer = NULL;
  468|      4|    if (a->a_linetable == NULL) {
  ------------------
  |  Branch (468:9): [True: 0, False: 4]
  ------------------
  469|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  470|      0|    }
  471|      4|    RETURN_IF_ERROR(_PyCompile_ConstCacheMergeOne(const_cache, &a->a_linetable));
  ------------------
  |  |   24|      4|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  472|       |
  473|      4|    a->a_bytecode = PyBytesWriter_FinishWithSize(a->a_bytecode_writer,
  474|      4|                                                 a->a_offset * sizeof(_Py_CODEUNIT));
  475|      4|    a->a_bytecode_writer = NULL;
  476|      4|    if (a->a_bytecode == NULL) {
  ------------------
  |  Branch (476:9): [True: 0, False: 4]
  ------------------
  477|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  478|      0|    }
  479|      4|    RETURN_IF_ERROR(_PyCompile_ConstCacheMergeOne(const_cache, &a->a_bytecode));
  ------------------
  |  |   24|      4|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  480|      4|    return SUCCESS;
  ------------------
  |  |   20|      4|#define SUCCESS 0
  ------------------
  481|      4|}
assemble.c:assemble_init:
   69|      4|{
   70|      4|    memset(a, 0, sizeof(struct assembler));
   71|      4|    a->a_lineno = firstlineno;
   72|      4|    a->a_bytecode_writer = PyBytesWriter_Create(DEFAULT_CODE_SIZE);
  ------------------
  |  |   14|      4|#define DEFAULT_CODE_SIZE 128
  ------------------
   73|      4|    if (a->a_bytecode_writer == NULL) {
  ------------------
  |  Branch (73:9): [True: 0, False: 4]
  ------------------
   74|      0|        goto error;
   75|      0|    }
   76|      4|    a->a_linetable_writer = PyBytesWriter_Create(DEFAULT_CNOTAB_SIZE);
  ------------------
  |  |   16|      4|#define DEFAULT_CNOTAB_SIZE 32
  ------------------
   77|      4|    if (a->a_linetable_writer == NULL) {
  ------------------
  |  Branch (77:9): [True: 0, False: 4]
  ------------------
   78|      0|        goto error;
   79|      0|    }
   80|      4|    a->a_except_table_writer = PyBytesWriter_Create(DEFAULT_LNOTAB_SIZE);
  ------------------
  |  |   15|      4|#define DEFAULT_LNOTAB_SIZE 16
  ------------------
   81|      4|    if (a->a_except_table_writer == NULL) {
  ------------------
  |  Branch (81:9): [True: 0, False: 4]
  ------------------
   82|      0|        goto error;
   83|      0|    }
   84|      4|    return SUCCESS;
  ------------------
  |  |   20|      4|#define SUCCESS 0
  ------------------
   85|      0|error:
   86|      0|    PyBytesWriter_Discard(a->a_bytecode_writer);
   87|      0|    a->a_bytecode_writer = NULL;
   88|      0|    PyBytesWriter_Discard(a->a_linetable_writer);
   89|      0|    a->a_linetable_writer = NULL;
   90|      0|    PyBytesWriter_Discard(a->a_except_table_writer);
   91|      0|    a->a_except_table_writer = NULL;
   92|      0|    return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
   93|      4|}
assemble.c:assemble_emit_instr:
  424|     24|{
  425|     24|    Py_ssize_t len = PyBytesWriter_GetSize(a->a_bytecode_writer);
  426|     24|    _Py_CODEUNIT *code;
  427|       |
  428|     24|    int size = instr_size(instr);
  429|     24|    if (a->a_offset + size >= len / (int)sizeof(_Py_CODEUNIT)) {
  ------------------
  |  Branch (429:9): [True: 0, False: 24]
  ------------------
  430|      0|        if (len > PY_SSIZE_T_MAX / 2) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (430:13): [True: 0, False: 0]
  ------------------
  431|      0|            PyErr_NoMemory();
  432|      0|            return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  433|      0|        }
  434|      0|        RETURN_IF_ERROR(PyBytesWriter_Resize(a->a_bytecode_writer, len * 2));
  ------------------
  |  |   24|      0|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  435|      0|    }
  436|     24|    code = (_Py_CODEUNIT *)PyBytesWriter_GetData(a->a_bytecode_writer) + a->a_offset;
  437|     24|    a->a_offset += size;
  438|     24|    write_instr(code, instr, size);
  439|     24|    return SUCCESS;
  ------------------
  |  |   20|     24|#define SUCCESS 0
  ------------------
  440|     24|}
assemble.c:write_instr:
  380|     24|{
  381|     24|    int opcode = instr->i_opcode;
  382|     24|    assert(!IS_PSEUDO_INSTR(opcode));
  ------------------
  |  Branch (382:5): [True: 0, False: 24]
  |  Branch (382:5): [True: 0, False: 24]
  |  Branch (382:5): [True: 0, False: 24]
  |  Branch (382:5): [True: 0, False: 24]
  |  Branch (382:5): [True: 0, False: 24]
  |  Branch (382:5): [True: 0, False: 24]
  |  Branch (382:5): [True: 0, False: 24]
  |  Branch (382:5): [True: 0, False: 24]
  |  Branch (382:5): [True: 0, False: 24]
  |  Branch (382:5): [True: 0, False: 24]
  |  Branch (382:5): [True: 0, False: 24]
  |  Branch (382:5): [Folded, False: 0]
  ------------------
  383|     24|    int oparg = instr->i_oparg;
  384|     24|    assert(OPCODE_HAS_ARG(opcode) || oparg == 0);
  ------------------
  |  Branch (384:5): [True: 18, False: 6]
  |  Branch (384:5): [True: 6, False: 0]
  ------------------
  385|     24|    int caches = _PyOpcode_Caches[opcode];
  386|     24|    switch (ilen - caches) {
  387|      0|        case 4:
  ------------------
  |  Branch (387:9): [True: 0, False: 24]
  ------------------
  388|      0|            codestr->op.code = EXTENDED_ARG;
  ------------------
  |  |   77|      0|#define EXTENDED_ARG                            64
  ------------------
  389|      0|            codestr->op.arg = (oparg >> 24) & 0xFF;
  390|      0|            codestr++;
  391|      0|            _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  392|      0|        case 3:
  ------------------
  |  Branch (392:9): [True: 0, False: 24]
  ------------------
  393|      0|            codestr->op.code = EXTENDED_ARG;
  ------------------
  |  |   77|      0|#define EXTENDED_ARG                            64
  ------------------
  394|      0|            codestr->op.arg = (oparg >> 16) & 0xFF;
  395|      0|            codestr++;
  396|      0|            _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  397|      0|        case 2:
  ------------------
  |  Branch (397:9): [True: 0, False: 24]
  ------------------
  398|      0|            codestr->op.code = EXTENDED_ARG;
  ------------------
  |  |   77|      0|#define EXTENDED_ARG                            64
  ------------------
  399|      0|            codestr->op.arg = (oparg >> 8) & 0xFF;
  400|      0|            codestr++;
  401|      0|            _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  402|     24|        case 1:
  ------------------
  |  Branch (402:9): [True: 24, False: 0]
  ------------------
  403|     24|            codestr->op.code = opcode;
  404|     24|            codestr->op.arg = oparg & 0xFF;
  405|     24|            codestr++;
  406|     24|            break;
  407|      0|        default:
  ------------------
  |  Branch (407:9): [True: 0, False: 24]
  ------------------
  408|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  409|     24|    }
  410|     42|    while (caches--) {
  ------------------
  |  Branch (410:12): [True: 18, False: 24]
  ------------------
  411|     18|        codestr->op.code = CACHE;
  ------------------
  |  |   13|     18|#define CACHE                                    0
  ------------------
  412|     18|        codestr->op.arg = 0;
  413|     18|        codestr++;
  414|     18|    }
  415|     24|}
assemble.c:assemble_location_info:
  349|      4|{
  350|      4|    a->a_lineno = firstlineno;
  351|      4|    location loc = NO_LOCATION;
  352|     28|    for (int i = instrs->s_used-1; i >= 0; i--) {
  ------------------
  |  Branch (352:36): [True: 24, False: 4]
  ------------------
  353|     24|        instruction *instr = &instrs->s_instrs[i];
  354|     24|        if (same_location(instr->i_loc, NEXT_LOCATION)) {
  ------------------
  |  Branch (354:13): [True: 0, False: 24]
  ------------------
  355|      0|            if (IS_TERMINATOR_OPCODE(instr->i_opcode)) {
  ------------------
  |  |   27|      0|        (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|      0|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|      0|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   53|      0|        ((opcode) == RETURN_VALUE || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|      0|#define RETURN_VALUE                            33
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   54|      0|         (opcode) == RAISE_VARARGS || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  113|      0|#define RAISE_VARARGS                          100
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (54:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   55|      0|         (opcode) == RERAISE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  114|      0|#define RERAISE                                101
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  356|      0|                instr->i_loc = NO_LOCATION;
  357|      0|            }
  358|      0|            else {
  359|      0|                assert(i < instrs->s_used-1);
  ------------------
  |  Branch (359:17): [True: 0, False: 0]
  ------------------
  360|      0|                instr->i_loc = instr[1].i_loc;
  361|      0|            }
  362|      0|        }
  363|     24|    }
  364|      4|    int size = 0;
  365|     28|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (365:21): [True: 24, False: 4]
  ------------------
  366|     24|        instruction *instr = &instrs->s_instrs[i];
  367|     24|        if (!same_location(loc, instr->i_loc)) {
  ------------------
  |  Branch (367:13): [True: 18, False: 6]
  ------------------
  368|     18|                RETURN_IF_ERROR(assemble_emit_location(a, loc, size));
  ------------------
  |  |   24|     18|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 18]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  369|     18|                loc = instr->i_loc;
  370|     18|                size = 0;
  371|     18|        }
  372|     24|        size += instr_size(instr);
  373|     24|    }
  374|      4|    RETURN_IF_ERROR(assemble_emit_location(a, loc, size));
  ------------------
  |  |   24|      4|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  375|      4|    return SUCCESS;
  ------------------
  |  |   20|      4|#define SUCCESS 0
  ------------------
  376|      4|}
assemble.c:same_location:
   34|     48|{
   35|     48|    return a.lineno == b.lineno &&
  ------------------
  |  Branch (35:12): [True: 18, False: 30]
  ------------------
   36|     18|           a.end_lineno == b.end_lineno &&
  ------------------
  |  Branch (36:12): [True: 18, False: 0]
  ------------------
   37|     18|           a.col_offset == b.col_offset &&
  ------------------
  |  Branch (37:12): [True: 6, False: 12]
  ------------------
   38|      6|           a.end_col_offset == b.end_col_offset;
  ------------------
  |  Branch (38:12): [True: 6, False: 0]
  ------------------
   39|     48|}
assemble.c:assemble_emit_location:
  335|     22|{
  336|     22|    if (isize == 0) {
  ------------------
  |  Branch (336:9): [True: 4, False: 18]
  ------------------
  337|      4|        return SUCCESS;
  ------------------
  |  |   20|      4|#define SUCCESS 0
  ------------------
  338|      4|    }
  339|     18|    while (isize > 8) {
  ------------------
  |  Branch (339:12): [True: 0, False: 18]
  ------------------
  340|      0|        RETURN_IF_ERROR(write_location_info_entry(a, loc, 8));
  ------------------
  |  |   24|      0|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  341|      0|        isize -= 8;
  342|      0|    }
  343|     18|    return write_location_info_entry(a, loc, isize);
  344|     18|}
assemble.c:write_location_info_entry:
  297|     18|{
  298|     18|    Py_ssize_t len = PyBytesWriter_GetSize(a->a_linetable_writer);
  299|     18|    if (a->a_location_off + THEORETICAL_MAX_ENTRY_SIZE >= len) {
  ------------------
  |  |  292|     18|#define THEORETICAL_MAX_ENTRY_SIZE 25 /* 1 + 6 + 6 + 6 + 6 */
  ------------------
  |  Branch (299:9): [True: 2, False: 16]
  ------------------
  300|      2|        assert(len > THEORETICAL_MAX_ENTRY_SIZE);
  ------------------
  |  Branch (300:9): [True: 2, False: 0]
  ------------------
  301|      2|        RETURN_IF_ERROR(PyBytesWriter_Resize(a->a_linetable_writer, len * 2));
  ------------------
  |  |   24|      2|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  302|      2|    }
  303|     18|    if (loc.lineno == NO_LOCATION.lineno) {
  ------------------
  |  Branch (303:9): [True: 0, False: 18]
  ------------------
  304|      0|        write_location_info_none(a, isize);
  305|      0|        return SUCCESS;
  ------------------
  |  |   20|      0|#define SUCCESS 0
  ------------------
  306|      0|    }
  307|     18|    int line_delta = loc.lineno - a->a_lineno;
  308|     18|    int column = loc.col_offset;
  309|     18|    int end_column = loc.end_col_offset;
  310|     18|    if (column < 0 || end_column < 0) {
  ------------------
  |  Branch (310:9): [True: 0, False: 18]
  |  Branch (310:23): [True: 0, False: 18]
  ------------------
  311|      0|        if (loc.end_lineno == loc.lineno || loc.end_lineno < 0) {
  ------------------
  |  Branch (311:13): [True: 0, False: 0]
  |  Branch (311:45): [True: 0, False: 0]
  ------------------
  312|      0|            write_location_info_no_column(a, isize, line_delta);
  313|      0|            a->a_lineno = loc.lineno;
  314|      0|            return SUCCESS;
  ------------------
  |  |   20|      0|#define SUCCESS 0
  ------------------
  315|      0|        }
  316|      0|    }
  317|     18|    else if (loc.end_lineno == loc.lineno) {
  ------------------
  |  Branch (317:14): [True: 16, False: 2]
  ------------------
  318|     16|        if (line_delta == 0 && column < 80 && end_column - column < 16 && end_column >= column) {
  ------------------
  |  Branch (318:13): [True: 14, False: 2]
  |  Branch (318:32): [True: 12, False: 2]
  |  Branch (318:47): [True: 8, False: 4]
  |  Branch (318:75): [True: 8, False: 0]
  ------------------
  319|      8|            write_location_info_short_form(a, isize, column, end_column);
  320|      8|            return SUCCESS;
  ------------------
  |  |   20|      8|#define SUCCESS 0
  ------------------
  321|      8|        }
  322|      8|        if (line_delta >= 0 && line_delta < 3 && column < 128 && end_column < 128) {
  ------------------
  |  Branch (322:13): [True: 8, False: 0]
  |  Branch (322:32): [True: 8, False: 0]
  |  Branch (322:50): [True: 8, False: 0]
  |  Branch (322:66): [True: 8, False: 0]
  ------------------
  323|      8|            write_location_info_oneline_form(a, isize, line_delta, column, end_column);
  324|      8|            a->a_lineno = loc.lineno;
  325|      8|            return SUCCESS;
  ------------------
  |  |   20|      8|#define SUCCESS 0
  ------------------
  326|      8|        }
  327|      8|    }
  328|      2|    write_location_info_long_form(a, loc, isize);
  329|      2|    a->a_lineno = loc.lineno;
  330|      2|    return SUCCESS;
  ------------------
  |  |   20|      2|#define SUCCESS 0
  ------------------
  331|     18|}
assemble.c:write_location_first_byte:
  222|     18|{
  223|     18|    a->a_location_off += write_location_entry_start(
  224|     18|        location_pointer(a), code, length);
  225|     18|}
assemble.c:location_pointer:
  215|     26|{
  216|     26|    uint8_t *linetable = PyBytesWriter_GetData(a->a_linetable_writer);
  217|     26|    return linetable + a->a_location_off;
  218|     26|}
assemble.c:write_location_signed_varint:
  237|      2|{
  238|      2|    uint8_t *ptr = location_pointer(a);
  239|      2|    a->a_location_off += write_signed_varint(ptr, val);
  240|      2|}
assemble.c:write_location_info_short_form:
  244|      8|{
  245|      8|    assert(length > 0 &&  length <= 8);
  ------------------
  |  Branch (245:5): [True: 8, False: 0]
  |  Branch (245:5): [True: 8, False: 0]
  ------------------
  246|      8|    int column_low_bits = column & 7;
  247|      8|    int column_group = column >> 3;
  248|      8|    assert(column < 80);
  ------------------
  |  Branch (248:5): [True: 8, False: 0]
  ------------------
  249|      8|    assert(end_column >= column);
  ------------------
  |  Branch (249:5): [True: 8, False: 0]
  ------------------
  250|      8|    assert(end_column - column < 16);
  ------------------
  |  Branch (250:5): [True: 8, False: 0]
  ------------------
  251|      8|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_SHORT0 + column_group, length);
  252|      8|    write_location_byte(a, (column_low_bits << 4) | (end_column - column));
  253|      8|}
assemble.c:write_location_byte:
  206|     24|{
  207|     24|    uint8_t *linetable = PyBytesWriter_GetData(a->a_linetable_writer);
  208|     24|    linetable[a->a_location_off] = val & 255;
  209|     24|    a->a_location_off++;
  210|     24|}
assemble.c:write_location_info_oneline_form:
  257|      8|{
  258|      8|    assert(length > 0 &&  length <= 8);
  ------------------
  |  Branch (258:5): [True: 8, False: 0]
  |  Branch (258:5): [True: 8, False: 0]
  ------------------
  259|      8|    assert(line_delta >= 0 && line_delta < 3);
  ------------------
  |  Branch (259:5): [True: 8, False: 0]
  |  Branch (259:5): [True: 8, False: 0]
  ------------------
  260|      8|    assert(column < 128);
  ------------------
  |  Branch (260:5): [True: 8, False: 0]
  ------------------
  261|      8|    assert(end_column < 128);
  ------------------
  |  Branch (261:5): [True: 8, False: 0]
  ------------------
  262|      8|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_ONE_LINE0 + line_delta, length);
  263|      8|    write_location_byte(a, column);
  264|      8|    write_location_byte(a, end_column);
  265|      8|}
assemble.c:write_location_info_long_form:
  269|      2|{
  270|      2|    assert(length > 0 &&  length <= 8);
  ------------------
  |  Branch (270:5): [True: 2, False: 0]
  |  Branch (270:5): [True: 2, False: 0]
  ------------------
  271|      2|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_LONG, length);
  272|      2|    write_location_signed_varint(a, loc.lineno - a->a_lineno);
  273|      2|    assert(loc.end_lineno >= loc.lineno);
  ------------------
  |  Branch (273:5): [True: 2, False: 0]
  ------------------
  274|      2|    write_location_varint(a, loc.end_lineno - loc.lineno);
  275|      2|    write_location_varint(a, loc.col_offset + 1);
  276|      2|    write_location_varint(a, loc.end_col_offset + 1);
  277|      2|}
assemble.c:write_location_varint:
  229|      6|{
  230|      6|    uint8_t *ptr = location_pointer(a);
  231|      6|    a->a_location_off += write_varint(ptr, val);
  232|      6|}
assemble.c:assemble_exception_table:
  168|      4|{
  169|      4|    int ioffset = 0;
  170|      4|    _PyExceptHandlerInfo handler;
  171|      4|    handler.h_label = -1;
  172|      4|    handler.h_startdepth = -1;
  173|      4|    handler.h_preserve_lasti = -1;
  174|      4|    int start = -1;
  175|     28|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (175:21): [True: 24, False: 4]
  ------------------
  176|     24|        instruction *instr = &instrs->s_instrs[i];
  177|     24|        if (instr->i_except_handler_info.h_label != handler.h_label) {
  ------------------
  |  Branch (177:13): [True: 0, False: 24]
  ------------------
  178|      0|            if (handler.h_label >= 0) {
  ------------------
  |  Branch (178:17): [True: 0, False: 0]
  ------------------
  179|      0|                int handler_offset = instrs->s_instrs[handler.h_label].i_offset;
  180|      0|                RETURN_IF_ERROR(
  ------------------
  |  |   24|      0|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  181|      0|                    assemble_emit_exception_table_entry(a, start, ioffset,
  182|      0|                                                        handler_offset,
  183|      0|                                                        &handler));
  184|      0|            }
  185|      0|            start = ioffset;
  186|      0|            handler = instr->i_except_handler_info;
  187|      0|        }
  188|     24|        ioffset += instr_size(instr);
  189|     24|    }
  190|      4|    if (handler.h_label >= 0) {
  ------------------
  |  Branch (190:9): [True: 0, False: 4]
  ------------------
  191|      0|        int handler_offset = instrs->s_instrs[handler.h_label].i_offset;
  192|      0|        RETURN_IF_ERROR(assemble_emit_exception_table_entry(a, start, ioffset,
  ------------------
  |  |   24|      0|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  193|      0|                                                            handler_offset,
  194|      0|                                                            &handler));
  195|      0|    }
  196|      4|    return SUCCESS;
  ------------------
  |  |   20|      4|#define SUCCESS 0
  ------------------
  197|      4|}
assemble.c:makecode:
  627|      4|{
  628|      4|    PyCodeObject *co = NULL;
  629|      4|    PyObject *names = NULL;
  630|      4|    PyObject *consts = NULL;
  631|      4|    PyObject *localsplusnames = NULL;
  632|      4|    PyObject *localspluskinds = NULL;
  633|      4|    names = dict_keys_inorder(umd->u_names, 0);
  634|      4|    if (!names) {
  ------------------
  |  Branch (634:9): [True: 0, False: 4]
  ------------------
  635|      0|        goto error;
  636|      0|    }
  637|      4|    intern_names(names);
  638|      4|    if (_PyCompile_ConstCacheMergeOne(const_cache, &names) < 0) {
  ------------------
  |  Branch (638:9): [True: 0, False: 4]
  ------------------
  639|      0|        goto error;
  640|      0|    }
  641|       |
  642|      4|    consts = PyList_AsTuple(constslist); /* PyCode_New requires a tuple */
  643|      4|    if (consts == NULL) {
  ------------------
  |  Branch (643:9): [True: 0, False: 4]
  ------------------
  644|      0|        goto error;
  645|      0|    }
  646|      4|    if (_PyCompile_ConstCacheMergeOne(const_cache, &consts) < 0) {
  ------------------
  |  Branch (646:9): [True: 0, False: 4]
  ------------------
  647|      0|        goto error;
  648|      0|    }
  649|       |
  650|      4|    assert(umd->u_posonlyargcount < INT_MAX);
  ------------------
  |  Branch (650:5): [True: 4, False: 0]
  ------------------
  651|      4|    assert(umd->u_argcount < INT_MAX);
  ------------------
  |  Branch (651:5): [True: 4, False: 0]
  ------------------
  652|      4|    assert(umd->u_kwonlyargcount < INT_MAX);
  ------------------
  |  Branch (652:5): [True: 4, False: 0]
  ------------------
  653|      4|    int posonlyargcount = (int)umd->u_posonlyargcount;
  654|      4|    int posorkwargcount = (int)umd->u_argcount;
  655|      4|    assert(INT_MAX - posonlyargcount - posorkwargcount > 0);
  ------------------
  |  Branch (655:5): [True: 4, False: 0]
  ------------------
  656|      4|    int kwonlyargcount = (int)umd->u_kwonlyargcount;
  657|       |
  658|      4|    localsplusnames = PyTuple_New(nlocalsplus);
  659|      4|    if (localsplusnames == NULL) {
  ------------------
  |  Branch (659:9): [True: 0, False: 4]
  ------------------
  660|      0|        goto error;
  661|      0|    }
  662|      4|    localspluskinds = PyBytes_FromStringAndSize(NULL, nlocalsplus);
  663|      4|    if (localspluskinds == NULL) {
  ------------------
  |  Branch (663:9): [True: 0, False: 4]
  ------------------
  664|      0|        goto error;
  665|      0|    }
  666|      4|    if (compute_localsplus_info(
  ------------------
  |  Branch (666:9): [True: 0, False: 4]
  ------------------
  667|      4|            umd, nlocalsplus, code_flags,
  668|      4|            localsplusnames, localspluskinds) == ERROR)
  ------------------
  |  |   21|      4|#define ERROR -1
  ------------------
  669|      0|    {
  670|      0|        goto error;
  671|      0|    }
  672|       |
  673|      4|    struct _PyCodeConstructor con = {
  674|      4|        .filename = filename,
  675|      4|        .name = umd->u_name,
  676|      4|        .qualname = umd->u_qualname ? umd->u_qualname : umd->u_name,
  ------------------
  |  Branch (676:21): [True: 2, False: 2]
  ------------------
  677|      4|        .flags = code_flags,
  678|       |
  679|      4|        .code = a->a_bytecode,
  680|      4|        .firstlineno = umd->u_firstlineno,
  681|      4|        .linetable = a->a_linetable,
  682|       |
  683|      4|        .consts = consts,
  684|      4|        .names = names,
  685|       |
  686|      4|        .localsplusnames = localsplusnames,
  687|      4|        .localspluskinds = localspluskinds,
  688|       |
  689|      4|        .argcount = posonlyargcount + posorkwargcount,
  690|      4|        .posonlyargcount = posonlyargcount,
  691|      4|        .kwonlyargcount = kwonlyargcount,
  692|       |
  693|      4|        .stacksize = maxdepth,
  694|       |
  695|      4|        .exceptiontable = a->a_except_table,
  696|      4|    };
  697|       |
  698|      4|   if (_PyCode_Validate(&con) < 0) {
  ------------------
  |  Branch (698:8): [True: 0, False: 4]
  ------------------
  699|      0|        goto error;
  700|      0|    }
  701|       |
  702|      4|    intern_names(localsplusnames);
  703|      4|    if (_PyCompile_ConstCacheMergeOne(const_cache, &localsplusnames) < 0) {
  ------------------
  |  Branch (703:9): [True: 0, False: 4]
  ------------------
  704|      0|        goto error;
  705|      0|    }
  706|      4|    con.localsplusnames = localsplusnames;
  707|       |
  708|      4|    co = _PyCode_New(&con);
  709|      4|    if (co == NULL) {
  ------------------
  |  Branch (709:9): [True: 0, False: 4]
  ------------------
  710|      0|        goto error;
  711|      0|    }
  712|       |
  713|      4|error:
  714|      4|    Py_XDECREF(names);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  715|      4|    Py_XDECREF(consts);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  716|      4|    Py_XDECREF(localsplusnames);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  717|      4|    Py_XDECREF(localspluskinds);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  718|      4|    return co;
  719|      4|}
assemble.c:dict_keys_inorder:
  485|      4|{
  486|      4|    PyObject *tuple, *k, *v;
  487|      4|    Py_ssize_t pos = 0, size = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|      4|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  488|       |
  489|      4|    tuple = PyTuple_New(size);
  490|      4|    if (tuple == NULL)
  ------------------
  |  Branch (490:9): [True: 0, False: 4]
  ------------------
  491|      0|        return NULL;
  492|      6|    while (PyDict_Next(dict, &pos, &k, &v)) {
  ------------------
  |  Branch (492:12): [True: 2, False: 4]
  ------------------
  493|      2|        Py_ssize_t i = PyLong_AsSsize_t(v);
  494|      2|        if (i == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (494:13): [True: 0, False: 2]
  |  Branch (494:24): [True: 0, False: 0]
  ------------------
  495|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  496|      0|            return NULL;
  497|      0|        }
  498|      2|        assert((i - offset) < size);
  ------------------
  |  Branch (498:9): [True: 2, False: 0]
  ------------------
  499|      2|        assert((i - offset) >= 0);
  ------------------
  |  Branch (499:9): [True: 2, False: 0]
  ------------------
  500|      2|        PyTuple_SET_ITEM(tuple, i - offset, Py_NewRef(k));
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|      2|    }
  502|      4|    return tuple;
  503|      4|}
assemble.c:intern_names:
  522|      8|{
  523|      8|    PyInterpreterState *interp = _PyInterpreterState_GET();
  524|     21|    for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(tuple); i++) {
  ------------------
  |  |   27|     21|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (524:28): [True: 13, False: 8]
  ------------------
  525|     13|        assert(PyUnicode_CheckExact(PyTuple_GET_ITEM(tuple, i)));
  ------------------
  |  Branch (525:9): [True: 13, False: 0]
  |  Branch (525:9): [True: 13, False: 0]
  ------------------
  526|     13|        _PyUnicode_InternImmortal(interp, &_PyTuple_ITEMS(tuple)[i]);
  ------------------
  |  |   26|     13|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  313|     26|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 13, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  527|     13|    }
  528|      8|}
assemble.c:compute_localsplus_info:
  533|      4|{
  534|      4|    PyObject *k, *v;
  535|      4|    Py_ssize_t pos = 0;
  536|       |
  537|       |    // Set the locals kinds.  Arg vars fill the first portion of the list.
  538|      4|    struct {
  539|      4|        int count;
  540|      4|        _PyLocals_Kind kind;
  541|      4|    }  argvarkinds[6] = {
  542|      4|        {(int)umd->u_posonlyargcount, CO_FAST_ARG_POS},
  ------------------
  |  |  192|      4|#define CO_FAST_ARG_POS (0x02)  // pos-only, pos-or-kw, varargs
  ------------------
  543|      4|        {(int)umd->u_argcount, CO_FAST_ARG_POS | CO_FAST_ARG_KW},
  ------------------
  |  |  192|      4|#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|      4|#define CO_FAST_ARG_KW  (0x04)  // kw-only, pos-or-kw, varkwargs
  ------------------
  544|      4|        {(int)umd->u_kwonlyargcount, CO_FAST_ARG_KW},
  ------------------
  |  |  193|      4|#define CO_FAST_ARG_KW  (0x04)  // kw-only, pos-or-kw, varkwargs
  ------------------
  545|      4|        {!!(flags & CO_VARARGS), CO_FAST_ARG_VAR | CO_FAST_ARG_POS},
  ------------------
  |  |  124|      4|#define CO_VARARGS      0x0004
  ------------------
                      {!!(flags & CO_VARARGS), CO_FAST_ARG_VAR | CO_FAST_ARG_POS},
  ------------------
  |  |  194|      4|#define CO_FAST_ARG_VAR (0x08)  // varargs, varkwargs
  ------------------
                      {!!(flags & CO_VARARGS), CO_FAST_ARG_VAR | CO_FAST_ARG_POS},
  ------------------
  |  |  192|      4|#define CO_FAST_ARG_POS (0x02)  // pos-only, pos-or-kw, varargs
  ------------------
  546|      4|        {!!(flags & CO_VARKEYWORDS), CO_FAST_ARG_VAR | CO_FAST_ARG_KW},
  ------------------
  |  |  125|      4|#define CO_VARKEYWORDS  0x0008
  ------------------
                      {!!(flags & CO_VARKEYWORDS), CO_FAST_ARG_VAR | CO_FAST_ARG_KW},
  ------------------
  |  |  194|      4|#define CO_FAST_ARG_VAR (0x08)  // varargs, varkwargs
  ------------------
                      {!!(flags & CO_VARKEYWORDS), CO_FAST_ARG_VAR | CO_FAST_ARG_KW},
  ------------------
  |  |  193|      4|#define CO_FAST_ARG_KW  (0x04)  // kw-only, pos-or-kw, varkwargs
  ------------------
  547|      4|        {-1, 0},  // the remaining local vars
  548|      4|    };
  549|      4|    int max = 0;
  550|     28|    for (int i = 0; i < 6; i++) {
  ------------------
  |  Branch (550:21): [True: 24, False: 4]
  ------------------
  551|     24|        max = argvarkinds[i].count < 0
  ------------------
  |  Branch (551:15): [True: 4, False: 20]
  ------------------
  552|     24|            ? INT_MAX
  553|     24|            : max + argvarkinds[i].count;
  554|     35|        while (pos < max && PyDict_Next(umd->u_varnames, &pos, &k, &v)) {
  ------------------
  |  Branch (554:16): [True: 15, False: 20]
  |  Branch (554:29): [True: 11, False: 4]
  ------------------
  555|     11|            int offset = PyLong_AsInt(v);
  556|     11|            if (offset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (556:17): [True: 0, False: 11]
  |  Branch (556:33): [True: 0, False: 0]
  ------------------
  557|      0|                return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  558|      0|            }
  559|     11|            assert(offset >= 0);
  ------------------
  |  Branch (559:13): [True: 11, False: 0]
  ------------------
  560|     11|            assert(offset < nlocalsplus);
  ------------------
  |  Branch (560:13): [True: 11, False: 0]
  ------------------
  561|       |
  562|     11|            _PyLocals_Kind kind = CO_FAST_LOCAL | argvarkinds[i].kind;
  ------------------
  |  |  197|     11|#define CO_FAST_LOCAL   (0x20)
  ------------------
  563|       |
  564|     11|            if (umd->u_fasthidden != NULL) {
  ------------------
  |  Branch (564:17): [True: 0, False: 11]
  ------------------
  565|      0|                int hidden = PySet_Contains(umd->u_fasthidden, k);
  566|      0|                RETURN_IF_ERROR(hidden);
  ------------------
  |  |   24|      0|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  567|      0|                if (hidden) {
  ------------------
  |  Branch (567:21): [True: 0, False: 0]
  ------------------
  568|      0|                    kind |= CO_FAST_HIDDEN;
  ------------------
  |  |  196|      0|#define CO_FAST_HIDDEN  (0x10)
  ------------------
  569|      0|                }
  570|      0|            }
  571|       |
  572|     11|            int has_key = PyDict_Contains(umd->u_cellvars, k);
  573|     11|            RETURN_IF_ERROR(has_key);
  ------------------
  |  |   24|     11|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 11]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  574|     11|            if (has_key) {
  ------------------
  |  Branch (574:17): [True: 0, False: 11]
  ------------------
  575|      0|                kind |= CO_FAST_CELL;
  ------------------
  |  |  198|      0|#define CO_FAST_CELL    (0x40)
  ------------------
  576|      0|            }
  577|       |
  578|     11|            _Py_set_localsplus_info(offset, k, kind, names, kinds);
  579|     11|        }
  580|     24|    }
  581|      4|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|      4|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  582|       |
  583|       |    // This counter mirrors the fix done in fix_cell_offsets().
  584|      4|    int numdropped = 0, cellvar_offset = -1;
  585|      4|    pos = 0;
  586|      4|    while (PyDict_Next(umd->u_cellvars, &pos, &k, &v)) {
  ------------------
  |  Branch (586:12): [True: 0, False: 4]
  ------------------
  587|      0|        int has_name = PyDict_Contains(umd->u_varnames, k);
  588|      0|        RETURN_IF_ERROR(has_name);
  ------------------
  |  |   24|      0|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  589|      0|        if (has_name) {
  ------------------
  |  Branch (589:13): [True: 0, False: 0]
  ------------------
  590|       |            // Skip cells that are already covered by locals.
  591|      0|            numdropped += 1;
  592|      0|            continue;
  593|      0|        }
  594|       |
  595|      0|        cellvar_offset = PyLong_AsInt(v);
  596|      0|        if (cellvar_offset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (596:13): [True: 0, False: 0]
  |  Branch (596:37): [True: 0, False: 0]
  ------------------
  597|      0|            return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  598|      0|        }
  599|      0|        assert(cellvar_offset >= 0);
  ------------------
  |  Branch (599:9): [True: 0, False: 0]
  ------------------
  600|      0|        cellvar_offset += nlocals - numdropped;
  601|      0|        assert(cellvar_offset < nlocalsplus);
  ------------------
  |  Branch (601:9): [True: 0, False: 0]
  ------------------
  602|      0|        _Py_set_localsplus_info(cellvar_offset, k, CO_FAST_CELL, names, kinds);
  ------------------
  |  |  198|      0|#define CO_FAST_CELL    (0x40)
  ------------------
  603|      0|    }
  604|       |
  605|      4|    pos = 0;
  606|      4|    while (PyDict_Next(umd->u_freevars, &pos, &k, &v)) {
  ------------------
  |  Branch (606:12): [True: 0, False: 4]
  ------------------
  607|      0|        int offset = PyLong_AsInt(v);
  608|      0|        if (offset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (608:13): [True: 0, False: 0]
  |  Branch (608:29): [True: 0, False: 0]
  ------------------
  609|      0|            return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  610|      0|        }
  611|      0|        assert(offset >= 0);
  ------------------
  |  Branch (611:9): [True: 0, False: 0]
  ------------------
  612|      0|        offset += nlocals - numdropped;
  613|      0|        assert(offset < nlocalsplus);
  ------------------
  |  Branch (613:9): [True: 0, False: 0]
  ------------------
  614|       |        /* XXX If the assertion below fails it is most likely because a freevar
  615|       |           was added to u_freevars with the wrong index due to not taking into
  616|       |           account cellvars already present, see gh-128632. */
  617|      0|        assert(offset > cellvar_offset);
  ------------------
  |  Branch (617:9): [True: 0, False: 0]
  ------------------
  618|      0|        _Py_set_localsplus_info(offset, k, CO_FAST_FREE, names, kinds);
  ------------------
  |  |  199|      0|#define CO_FAST_FREE    (0x80)
  ------------------
  619|      0|    }
  620|      4|    return SUCCESS;
  ------------------
  |  |   20|      4|#define SUCCESS 0
  ------------------
  621|      4|}
assemble.c:assemble_free:
   97|      4|{
   98|      4|    PyBytesWriter_Discard(a->a_bytecode_writer);
   99|      4|    PyBytesWriter_Discard(a->a_linetable_writer);
  100|      4|    PyBytesWriter_Discard(a->a_except_table_writer);
  101|      4|    Py_XDECREF(a->a_bytecode);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  102|      4|    Py_XDECREF(a->a_linetable);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  103|      4|    Py_XDECREF(a->a_except_table);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  104|      4|}

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

_PyBuiltin_InitPythonFunctions:
 3428|      2|{
 3429|      2|    if (PyImport_ImportFrozenModule("_pybuiltins") <= 0) {
  ------------------
  |  Branch (3429:9): [True: 0, False: 2]
  ------------------
 3430|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (3430:13): [True: 0, False: 0]
  ------------------
 3431|      0|            PyErr_SetString(PyExc_ImportError,
 3432|      0|                            "frozen module _pybuiltins not found");
 3433|      0|        }
 3434|      0|        return -1;
 3435|      0|    }
 3436|      2|    PyObject *mod = PyImport_AddModuleRef("_pybuiltins");
 3437|      2|    if (mod == NULL) {
  ------------------
  |  Branch (3437:9): [True: 0, False: 2]
  ------------------
 3438|      0|        return -1;
 3439|      0|    }
 3440|       |
 3441|      2|    int rc = -1;
 3442|      2|    PyObject *all = PyObject_GetAttr(mod, &_Py_ID(__all__));
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3443|      2|    if (all == NULL) {
  ------------------
  |  Branch (3443:9): [True: 0, False: 2]
  ------------------
 3444|      0|        goto done;
 3445|      0|    }
 3446|      2|    Py_ssize_t n = PyList_Size(all);
 3447|      2|    if (n < 0) {
  ------------------
  |  Branch (3447:9): [True: 0, False: 2]
  ------------------
 3448|      0|        goto done;
 3449|      0|    }
 3450|      6|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3450:28): [True: 4, False: 2]
  ------------------
 3451|      4|        PyObject *name = PyList_GET_ITEM(all, i);
  ------------------
  |  |   40|      4|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      4|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3451:26): [True: 4, False: 0]
  ------------------
 3452|      0|        PyObject *func = PyObject_GetAttr(mod, name);
 3453|      4|        if (func == NULL) {
  ------------------
  |  Branch (3453:13): [True: 0, False: 4]
  ------------------
 3454|      0|            goto done;
 3455|      0|        }
 3456|      4|        int r = PyDict_SetItem(dict, name, func);
 3457|      4|        Py_DECREF(func);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3458|      4|        if (r < 0) {
  ------------------
  |  Branch (3458:13): [True: 0, False: 4]
  ------------------
 3459|      0|            goto done;
 3460|      0|        }
 3461|      4|    }
 3462|      2|    rc = 0;
 3463|       |
 3464|      2|done:
 3465|      2|    Py_XDECREF(all);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3466|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3467|      2|    return rc;
 3468|      2|}
_PyBuiltin_Init:
 3472|      2|{
 3473|      2|    PyObject *mod, *dict, *debug;
 3474|       |
 3475|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 3476|       |
 3477|      2|    mod = _PyModule_CreateInitialized(&builtinsmodule, PYTHON_API_VERSION);
  ------------------
  |  |   59|      2|#define PYTHON_API_VERSION 1013
  ------------------
 3478|      2|    if (mod == NULL)
  ------------------
  |  Branch (3478:9): [True: 0, False: 2]
  ------------------
 3479|      0|        return NULL;
 3480|       |#ifdef Py_GIL_DISABLED
 3481|       |    PyUnstable_Module_SetGIL(mod, Py_MOD_GIL_NOT_USED);
 3482|       |#endif
 3483|      2|    dict = PyModule_GetDict(mod);
 3484|       |
 3485|       |#ifdef Py_TRACE_REFS
 3486|       |    /* "builtins" exposes a number of statically allocated objects
 3487|       |     * that, before this code was added in 2.3, never showed up in
 3488|       |     * the list of "all objects" maintained by Py_TRACE_REFS.  As a
 3489|       |     * result, programs leaking references to None and False (etc)
 3490|       |     * couldn't be diagnosed by examining sys.getobjects(0).
 3491|       |     */
 3492|       |#define ADD_TO_ALL(OBJECT) _Py_AddToAllObjects((PyObject *)(OBJECT))
 3493|       |#else
 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
 3495|      2|#endif
 3496|       |
 3497|      2|#define SETBUILTIN(NAME, OBJECT) \
 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
 3499|      2|        return NULL;                                                    \
 3500|      2|    ADD_TO_ALL(OBJECT)
 3501|       |
 3502|      2|    SETBUILTIN("None",                  Py_None);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3503|      2|    SETBUILTIN("Ellipsis",              Py_Ellipsis);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3504|      2|    SETBUILTIN("NotImplemented",        Py_NotImplemented);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3505|      2|    SETBUILTIN("False",                 Py_False);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3506|      2|    SETBUILTIN("True",                  Py_True);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3507|      2|    SETBUILTIN("bool",                  &PyBool_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3508|      2|    SETBUILTIN("memoryview",            &PyMemoryView_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3509|      2|    SETBUILTIN("bytearray",             &PyByteArray_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3510|      2|    SETBUILTIN("bytes",                 &PyBytes_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3511|      2|    SETBUILTIN("classmethod",           &PyClassMethod_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3512|      2|    SETBUILTIN("complex",               &PyComplex_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3513|      2|    SETBUILTIN("dict",                  &PyDict_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3514|      2|    SETBUILTIN("enumerate",             &PyEnum_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3515|      2|    SETBUILTIN("filter",                &PyFilter_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3516|      2|    SETBUILTIN("float",                 &PyFloat_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3517|      2|    SETBUILTIN("frozendict",            &PyFrozenDict_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3518|      2|    SETBUILTIN("frozenset",             &PyFrozenSet_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3519|      2|    SETBUILTIN("property",              &PyProperty_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3520|      2|    SETBUILTIN("int",                   &PyLong_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3521|      2|    SETBUILTIN("list",                  &PyList_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3522|      2|    SETBUILTIN("map",                   &PyMap_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3523|      2|    SETBUILTIN("object",                &PyBaseObject_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3524|      2|    SETBUILTIN("range",                 &PyRange_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3525|      2|    SETBUILTIN("reversed",              &PyReversed_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3526|      2|    SETBUILTIN("sentinel",              &PySentinel_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3527|      2|    SETBUILTIN("set",                   &PySet_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3528|      2|    SETBUILTIN("slice",                 &PySlice_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3529|      2|    SETBUILTIN("staticmethod",          &PyStaticMethod_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3530|      2|    SETBUILTIN("str",                   &PyUnicode_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3531|      2|    SETBUILTIN("super",                 &PySuper_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3532|      2|    SETBUILTIN("tuple",                 &PyTuple_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3533|      2|    SETBUILTIN("type",                  &PyType_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3534|      2|    SETBUILTIN("zip",                   &PyZip_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3535|      2|    debug = PyBool_FromLong(config->optimization_level == 0);
 3536|      2|    if (PyDict_SetItemString(dict, "__debug__", debug) < 0) {
  ------------------
  |  Branch (3536:9): [True: 0, False: 2]
  ------------------
 3537|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3538|      0|        return NULL;
 3539|      0|    }
 3540|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3541|       |
 3542|      2|    return mod;
 3543|      2|#undef ADD_TO_ALL
 3544|      2|#undef SETBUILTIN
 3545|      2|}
bltinmodule.c:map_dealloc:
 1533|      7|{
 1534|      7|    mapobject *lz = _mapobject_CAST(self);
  ------------------
  |  | 1427|      7|#define _mapobject_CAST(op)     ((mapobject *)(op))
  ------------------
 1535|      7|    PyObject_GC_UnTrack(lz);
 1536|      7|    Py_XDECREF(lz->iters);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1537|      7|    Py_XDECREF(lz->func);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1538|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1539|      7|}
bltinmodule.c:map_next:
 1552|     74|{
 1553|     74|    mapobject *lz = _mapobject_CAST(self);
  ------------------
  |  | 1427|     74|#define _mapobject_CAST(op)     ((mapobject *)(op))
  ------------------
 1554|     74|    Py_ssize_t i;
 1555|     74|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK];
 1556|     74|    PyObject **stack;
 1557|     74|    PyObject *result = NULL;
 1558|     74|    PyThreadState *tstate = _PyThreadState_GET();
 1559|       |
 1560|     74|    const Py_ssize_t niters = PyTuple_GET_SIZE(lz->iters);
  ------------------
  |  |   27|     74|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1561|     74|    if (niters <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) {
  ------------------
  |  |  232|     74|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (1561:9): [True: 74, False: 0]
  ------------------
 1562|     74|        stack = small_stack;
 1563|     74|    }
 1564|      0|    else {
 1565|      0|        stack = PyMem_Malloc(niters * sizeof(stack[0]));
 1566|      0|        if (stack == NULL) {
  ------------------
  |  Branch (1566:13): [True: 0, False: 0]
  ------------------
 1567|      0|            _PyErr_NoMemory(tstate);
 1568|      0|            return NULL;
 1569|      0|        }
 1570|      0|    }
 1571|       |
 1572|     74|    Py_ssize_t nargs = 0;
 1573|    142|    for (i = 0; i < niters; i++) {
  ------------------
  |  Branch (1573:17): [True: 74, False: 68]
  ------------------
 1574|     74|        PyObject *it = PyTuple_GET_ITEM(lz->iters, i);
  ------------------
  |  |   29|     74|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     74|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1574:24): [True: 74, False: 0]
  ------------------
 1575|     74|        PyObject *val = Py_TYPE(it)->tp_iternext(it);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1576|     74|        if (val == NULL) {
  ------------------
  |  Branch (1576:13): [True: 6, False: 68]
  ------------------
 1577|      6|            if (lz->strict) {
  ------------------
  |  Branch (1577:17): [True: 0, False: 6]
  ------------------
 1578|      0|                goto check;
 1579|      0|            }
 1580|      6|            goto exit_no_result;
 1581|      6|        }
 1582|     68|        stack[i] = val;
 1583|     68|        nargs++;
 1584|     68|    }
 1585|       |
 1586|     68|    result = _PyObject_VectorcallTstate(tstate, lz->func, stack, nargs, NULL);
 1587|     68|    goto exit;
 1588|       |
 1589|      0|check:
 1590|      0|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1590:9): [True: 0, False: 0]
  ------------------
 1591|      0|        if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (1591:13): [True: 0, False: 0]
  ------------------
 1592|       |            // next() on argument i raised an exception (not StopIteration)
 1593|      0|            goto exit_no_result;
 1594|      0|        }
 1595|      0|        PyErr_Clear();
 1596|      0|    }
 1597|      0|    if (i) {
  ------------------
  |  Branch (1597:9): [True: 0, False: 0]
  ------------------
 1598|       |        // ValueError: map() argument 2 is shorter than argument 1
 1599|       |        // ValueError: map() argument 3 is shorter than arguments 1-2
 1600|      0|        const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (1600:30): [True: 0, False: 0]
  ------------------
 1601|      0|        PyErr_Format(PyExc_ValueError,
 1602|      0|                     "map() argument %zd is shorter than argument%s%zd",
 1603|      0|                     i + 1, plural, i);
 1604|      0|        goto exit_no_result;
 1605|      0|    }
 1606|      0|    for (i = 1; i < niters; i++) {
  ------------------
  |  Branch (1606:17): [True: 0, False: 0]
  ------------------
 1607|      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 (1607:24): [True: 0, False: 0]
  ------------------
 1608|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1609|      0|        if (val) {
  ------------------
  |  Branch (1609:13): [True: 0, False: 0]
  ------------------
 1610|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1611|      0|            const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (1611:34): [True: 0, False: 0]
  ------------------
 1612|      0|            PyErr_Format(PyExc_ValueError,
 1613|      0|                         "map() argument %zd is longer than argument%s%zd",
 1614|      0|                         i + 1, plural, i);
 1615|      0|            goto exit_no_result;
 1616|      0|        }
 1617|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1617:13): [True: 0, False: 0]
  ------------------
 1618|      0|            if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (1618:17): [True: 0, False: 0]
  ------------------
 1619|       |                // next() on argument i raised an exception (not StopIteration)
 1620|      0|                goto exit_no_result;
 1621|      0|            }
 1622|      0|            PyErr_Clear();
 1623|      0|        }
 1624|       |        // Argument i is exhausted. So far so good...
 1625|      0|    }
 1626|       |    // All arguments are exhausted. Success!
 1627|       |
 1628|      6|exit_no_result:
 1629|      6|    assert(result == NULL);
  ------------------
  |  Branch (1629:5): [True: 6, False: 0]
  ------------------
 1630|       |
 1631|     74|exit:
 1632|    142|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (1632:17): [True: 68, False: 74]
  ------------------
 1633|     68|        Py_DECREF(stack[i]);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1634|     68|    }
 1635|     74|    if (stack != small_stack) {
  ------------------
  |  Branch (1635:9): [True: 0, False: 74]
  ------------------
 1636|      0|        PyMem_Free(stack);
 1637|      0|    }
 1638|     74|    return result;
 1639|      6|}
bltinmodule.c:map_vectorcall:
 1489|      7|{
 1490|      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 (1490:24): [True: 7, False: 0]
  ------------------
 1491|       |
 1492|      7|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      7|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 1493|      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 (1493:9): [True: 0, False: 7]
  |  Branch (1493:28): [True: 0, False: 0]
  ------------------
 1494|       |        // Fallback to map_new()
 1495|      0|        PyThreadState *tstate = _PyThreadState_GET();
 1496|      0|        return _PyObject_MakeTpCall(tstate, type, args, nargs, kwnames);
 1497|      0|    }
 1498|       |
 1499|      7|    if (nargs < 2) {
  ------------------
  |  Branch (1499:9): [True: 0, False: 7]
  ------------------
 1500|      0|        PyErr_SetString(PyExc_TypeError,
 1501|      0|           "map() must have at least two arguments.");
 1502|      0|        return NULL;
 1503|      0|    }
 1504|       |
 1505|      7|    PyObject *iters = PyTuple_New(nargs-1);
 1506|      7|    if (iters == NULL) {
  ------------------
  |  Branch (1506:9): [True: 0, False: 7]
  ------------------
 1507|      0|        return NULL;
 1508|      0|    }
 1509|       |
 1510|     14|    for (int i=1; i<nargs; i++) {
  ------------------
  |  Branch (1510:19): [True: 7, False: 7]
  ------------------
 1511|      7|        PyObject *it = PyObject_GetIter(args[i]);
 1512|      7|        if (it == NULL) {
  ------------------
  |  Branch (1512:13): [True: 0, False: 7]
  ------------------
 1513|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1514|      0|            return NULL;
 1515|      0|        }
 1516|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1517|      7|    }
 1518|       |
 1519|      7|    mapobject *lz = (mapobject *)tp->tp_alloc(tp, 0);
 1520|      7|    if (lz == NULL) {
  ------------------
  |  Branch (1520:9): [True: 0, False: 7]
  ------------------
 1521|      0|        Py_DECREF(iters);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1522|      0|        return NULL;
 1523|      0|    }
 1524|      7|    lz->iters = iters;
 1525|      7|    lz->func = Py_NewRef(args[0]);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1526|      7|    lz->strict = 0;
 1527|       |
 1528|      7|    return (PyObject *)lz;
 1529|      7|}
bltinmodule.c:zip_dealloc:
 3163|      3|{
 3164|      3|    zipobject *lz = _zipobject_CAST(self);
  ------------------
  |  | 3088|      3|#define _zipobject_CAST(op)     ((zipobject *)(op))
  ------------------
 3165|      3|    PyObject_GC_UnTrack(lz);
 3166|      3|    Py_XDECREF(lz->ittuple);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3167|      3|    Py_XDECREF(lz->result);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3168|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3169|      3|}
bltinmodule.c:zip_next:
 3182|     69|{
 3183|     69|    zipobject *lz = _zipobject_CAST(self);
  ------------------
  |  | 3088|     69|#define _zipobject_CAST(op)     ((zipobject *)(op))
  ------------------
 3184|       |
 3185|     69|    Py_ssize_t i;
 3186|     69|    Py_ssize_t tuplesize = lz->tuplesize;
 3187|     69|    PyObject *result = lz->result;
 3188|     69|    PyObject *it;
 3189|     69|    PyObject *item;
 3190|     69|    PyObject *olditem;
 3191|       |
 3192|     69|    if (tuplesize == 0)
  ------------------
  |  Branch (3192:9): [True: 0, False: 69]
  ------------------
 3193|      0|        return NULL;
 3194|       |
 3195|     69|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (3195:9): [True: 69, False: 0]
  ------------------
 3196|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3197|    205|        for (i=0 ; i < tuplesize ; i++) {
  ------------------
  |  Branch (3197:20): [True: 137, False: 68]
  ------------------
 3198|    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 (3198:18): [True: 137, False: 0]
  ------------------
 3199|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3200|    137|            if (item == NULL) {
  ------------------
  |  Branch (3200:17): [True: 1, False: 136]
  ------------------
 3201|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3202|      1|                if (lz->strict) {
  ------------------
  |  Branch (3202:21): [True: 0, False: 1]
  ------------------
 3203|      0|                    goto check;
 3204|      0|                }
 3205|      1|                return NULL;
 3206|      1|            }
 3207|    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 (3207:23): [True: 136, False: 0]
  ------------------
 3208|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3209|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3210|    136|        }
 3211|       |        // bpo-42536: The GC may have untracked this result tuple. Since we're
 3212|       |        // recycling it, make sure it's tracked again:
 3213|     68|        _PyTuple_Recycle(result);
 3214|     68|    } else {
 3215|      0|        result = PyTuple_New(tuplesize);
 3216|      0|        if (result == NULL)
  ------------------
  |  Branch (3216:13): [True: 0, False: 0]
  ------------------
 3217|      0|            return NULL;
 3218|      0|        for (i=0 ; i < tuplesize ; i++) {
  ------------------
  |  Branch (3218:20): [True: 0, False: 0]
  ------------------
 3219|      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 (3219:18): [True: 0, False: 0]
  ------------------
 3220|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3221|      0|            if (item == NULL) {
  ------------------
  |  Branch (3221:17): [True: 0, False: 0]
  ------------------
 3222|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3223|      0|                if (lz->strict) {
  ------------------
  |  Branch (3223:21): [True: 0, False: 0]
  ------------------
 3224|      0|                    goto check;
 3225|      0|                }
 3226|      0|                return NULL;
 3227|      0|            }
 3228|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3229|      0|        }
 3230|      0|    }
 3231|     68|    return result;
 3232|      0|check:
 3233|      0|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (3233:9): [True: 0, False: 0]
  ------------------
 3234|      0|        if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (3234:13): [True: 0, False: 0]
  ------------------
 3235|       |            // next() on argument i raised an exception (not StopIteration)
 3236|      0|            return NULL;
 3237|      0|        }
 3238|      0|        PyErr_Clear();
 3239|      0|    }
 3240|      0|    if (i) {
  ------------------
  |  Branch (3240:9): [True: 0, False: 0]
  ------------------
 3241|       |        // ValueError: zip() argument 2 is shorter than argument 1
 3242|       |        // ValueError: zip() argument 3 is shorter than arguments 1-2
 3243|      0|        const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (3243:30): [True: 0, False: 0]
  ------------------
 3244|      0|        return PyErr_Format(PyExc_ValueError,
 3245|      0|                            "zip() argument %zd is shorter than argument%s%zd",
 3246|      0|                            i + 1, plural, i);
 3247|      0|    }
 3248|      0|    for (i = 1; i < tuplesize; i++) {
  ------------------
  |  Branch (3248:17): [True: 0, False: 0]
  ------------------
 3249|      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 (3249:14): [True: 0, False: 0]
  ------------------
 3250|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3251|      0|        if (item) {
  ------------------
  |  Branch (3251:13): [True: 0, False: 0]
  ------------------
 3252|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3253|      0|            const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (3253:34): [True: 0, False: 0]
  ------------------
 3254|      0|            return PyErr_Format(PyExc_ValueError,
 3255|      0|                                "zip() argument %zd is longer than argument%s%zd",
 3256|      0|                                i + 1, plural, i);
 3257|      0|        }
 3258|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (3258:13): [True: 0, False: 0]
  ------------------
 3259|      0|            if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (3259:17): [True: 0, False: 0]
  ------------------
 3260|       |                // next() on argument i raised an exception (not StopIteration)
 3261|      0|                return NULL;
 3262|      0|            }
 3263|      0|            PyErr_Clear();
 3264|      0|        }
 3265|       |        // Argument i is exhausted. So far so good...
 3266|      0|    }
 3267|       |    // All arguments are exhausted. Success!
 3268|      0|    return NULL;
 3269|      0|}
bltinmodule.c:zip_new_impl:
 3117|      3|{
 3118|      3|    zipobject *lz;
 3119|      3|    Py_ssize_t i;
 3120|      3|    PyObject *ittuple;  /* tuple of iterators */
 3121|      3|    PyObject *result;
 3122|       |
 3123|       |    /* obtain iterators */
 3124|      3|    ittuple = PyTuple_New(iterables_length);
 3125|      3|    if (ittuple == NULL)
  ------------------
  |  Branch (3125:9): [True: 0, False: 3]
  ------------------
 3126|      0|        return NULL;
 3127|      5|    for (i=0; i < iterables_length; ++i) {
  ------------------
  |  Branch (3127:15): [True: 2, False: 3]
  ------------------
 3128|      2|        PyObject *it = PyObject_GetIter(iterables[i]);
 3129|      2|        if (it == NULL) {
  ------------------
  |  Branch (3129:13): [True: 0, False: 2]
  ------------------
 3130|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3131|      0|            return NULL;
 3132|      0|        }
 3133|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3134|      2|    }
 3135|       |
 3136|       |    /* create a result holder */
 3137|      3|    result = PyTuple_New(iterables_length);
 3138|      3|    if (result == NULL) {
  ------------------
  |  Branch (3138:9): [True: 0, False: 3]
  ------------------
 3139|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3140|      0|        return NULL;
 3141|      0|    }
 3142|      5|    for (i=0 ; i < iterables_length ; i++) {
  ------------------
  |  Branch (3142:16): [True: 2, False: 3]
  ------------------
 3143|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3144|      2|    }
 3145|       |
 3146|       |    /* create zipobject structure */
 3147|      3|    lz = (zipobject *)type->tp_alloc(type, 0);
 3148|      3|    if (lz == NULL) {
  ------------------
  |  Branch (3148:9): [True: 0, False: 3]
  ------------------
 3149|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3150|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3151|      0|        return NULL;
 3152|      0|    }
 3153|      3|    lz->ittuple = ittuple;
 3154|      3|    lz->tuplesize = iterables_length;
 3155|      3|    lz->result = result;
 3156|      3|    lz->strict = strict;
 3157|       |
 3158|      3|    return (PyObject *)lz;
 3159|      3|}
bltinmodule.c:builtin___build_class__:
  105|    240|{
  106|    240|    PyObject *func, *name, *winner, *prep;
  107|    240|    PyObject *cls = NULL, *cell = NULL, *ns = NULL, *meta = NULL, *orig_bases = NULL;
  108|    240|    PyObject *mkw = NULL, *bases = NULL;
  109|    240|    int isclass = 0;   /* initialize to prevent gcc warning */
  110|       |
  111|    240|    if (nargs < 2) {
  ------------------
  |  Branch (111:9): [True: 0, False: 240]
  ------------------
  112|      0|        PyErr_SetString(PyExc_TypeError,
  113|      0|                        "__build_class__: not enough arguments");
  114|      0|        return NULL;
  115|      0|    }
  116|    240|    func = args[0];   /* Better be callable */
  117|    240|    if (!PyFunction_Check(func)) {
  ------------------
  |  |   68|    240|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|    240|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (117:9): [True: 0, False: 240]
  ------------------
  118|      0|        PyErr_SetString(PyExc_TypeError,
  119|      0|                        "__build_class__: func must be a function");
  120|      0|        return NULL;
  121|      0|    }
  122|    240|    name = args[1];
  123|    240|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|    240|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    240|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (123:9): [True: 0, False: 240]
  ------------------
  124|      0|        PyErr_SetString(PyExc_TypeError,
  125|      0|                        "__build_class__: name is not a string");
  126|      0|        return NULL;
  127|      0|    }
  128|    240|    orig_bases = PyTuple_FromArray(args + 2, nargs - 2);
  129|    240|    if (orig_bases == NULL)
  ------------------
  |  Branch (129:9): [True: 0, False: 240]
  ------------------
  130|      0|        return NULL;
  131|       |
  132|    240|    bases = update_bases(orig_bases, args + 2, nargs - 2);
  133|    240|    if (bases == NULL) {
  ------------------
  |  Branch (133:9): [True: 0, False: 240]
  ------------------
  134|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  135|      0|        return NULL;
  136|      0|    }
  137|       |
  138|    240|    if (kwnames == NULL) {
  ------------------
  |  Branch (138:9): [True: 214, False: 26]
  ------------------
  139|    214|        meta = NULL;
  140|    214|        mkw = NULL;
  141|    214|    }
  142|     26|    else {
  143|     26|        mkw = _PyStack_AsDict(args + nargs, kwnames);
  144|     26|        if (mkw == NULL) {
  ------------------
  |  Branch (144:13): [True: 0, False: 26]
  ------------------
  145|      0|            goto error;
  146|      0|        }
  147|       |
  148|     26|        if (PyDict_Pop(mkw, &_Py_ID(metaclass), &meta) < 0) {
  ------------------
  |  |  951|     26|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     26|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     26|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (148:13): [True: 0, False: 26]
  ------------------
  149|      0|            goto error;
  150|      0|        }
  151|     26|        if (meta != NULL) {
  ------------------
  |  Branch (151:13): [True: 24, False: 2]
  ------------------
  152|       |            /* metaclass is explicitly given, check if it's indeed a class */
  153|     24|            isclass = PyType_Check(meta);
  ------------------
  |  |  766|     24|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  154|     24|        }
  155|     26|    }
  156|    240|    if (meta == NULL) {
  ------------------
  |  Branch (156:9): [True: 216, False: 24]
  ------------------
  157|       |        /* if there are no bases, use type: */
  158|    216|        if (PyTuple_GET_SIZE(bases) == 0) {
  ------------------
  |  |   27|    216|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    216|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    216|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (158:13): [True: 74, False: 142]
  ------------------
  159|     74|            meta = (PyObject *) (&PyType_Type);
  160|     74|        }
  161|       |        /* else get the type of the first base */
  162|    142|        else {
  163|    142|            PyObject *base0 = PyTuple_GET_ITEM(bases, 0);
  ------------------
  |  |   29|    142|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    142|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    142|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (163:31): [True: 142, False: 0]
  ------------------
  164|    142|            meta = (PyObject *)Py_TYPE(base0);
  ------------------
  |  |  213|    142|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    142|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    142|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|    142|        }
  166|    216|        Py_INCREF(meta);
  ------------------
  |  |  310|    216|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    216|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    216|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  167|    216|        isclass = 1;  /* meta is really a class */
  168|    216|    }
  169|       |
  170|    240|    if (isclass) {
  ------------------
  |  Branch (170:9): [True: 240, False: 0]
  ------------------
  171|       |        /* meta is really a class, so check for a more derived
  172|       |           metaclass, or possible metaclass conflicts: */
  173|    240|        winner = (PyObject *)_PyType_CalculateMetaclass((PyTypeObject *)meta,
  174|    240|                                                        bases);
  175|    240|        if (winner == NULL) {
  ------------------
  |  Branch (175:13): [True: 0, False: 240]
  ------------------
  176|      0|            goto error;
  177|      0|        }
  178|    240|        if (winner != meta) {
  ------------------
  |  Branch (178:13): [True: 6, False: 234]
  ------------------
  179|      6|            Py_SETREF(meta, Py_NewRef(winner));
  ------------------
  |  |  545|      6|    do { \
  |  |  546|      6|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      6|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      6|        *_tmp_dst_ptr = (src); \
  |  |  549|      6|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  180|      6|        }
  181|    240|    }
  182|       |    /* else: meta is not a class, so we cannot do the metaclass
  183|       |       calculation, so we will use the explicitly given object as it is */
  184|    240|    if (PyObject_GetOptionalAttr(meta, &_Py_ID(__prepare__), &prep) < 0) {
  ------------------
  |  |  951|    240|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    240|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    240|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (184:9): [True: 0, False: 240]
  ------------------
  185|      0|        ns = NULL;
  186|      0|    }
  187|    240|    else if (prep == NULL) {
  ------------------
  |  Branch (187:14): [True: 0, False: 240]
  ------------------
  188|      0|        ns = PyDict_New();
  189|      0|    }
  190|    240|    else {
  191|    240|        PyObject *pargs[2] = {name, bases};
  192|    240|        ns = PyObject_VectorcallDict(prep, pargs, 2, mkw);
  193|    240|        Py_DECREF(prep);
  ------------------
  |  |  430|    240|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  194|    240|    }
  195|    240|    if (ns == NULL) {
  ------------------
  |  Branch (195:9): [True: 0, False: 240]
  ------------------
  196|      0|        goto error;
  197|      0|    }
  198|    240|    if (!PyMapping_Check(ns)) {
  ------------------
  |  Branch (198:9): [True: 0, False: 240]
  ------------------
  199|      0|        PyErr_Format(PyExc_TypeError,
  200|      0|                     "%.200s.__prepare__() must return a mapping, not %.200s",
  201|      0|                     isclass ? ((PyTypeObject *)meta)->tp_name : "<metaclass>",
  ------------------
  |  Branch (201:22): [True: 0, False: 0]
  ------------------
  202|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  203|      0|        goto error;
  204|      0|    }
  205|    240|    PyThreadState *tstate = _PyThreadState_GET();
  206|    240|    EVAL_CALL_STAT_INC(EVAL_CALL_BUILD_CLASS);
  ------------------
  |  |   79|    240|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  207|    240|    cell = _PyEval_Vector(tstate, (PyFunctionObject *)func, ns, NULL, 0, NULL);
  208|    240|    if (cell != NULL) {
  ------------------
  |  Branch (208:9): [True: 240, False: 0]
  ------------------
  209|    240|        if (bases != orig_bases) {
  ------------------
  |  Branch (209:13): [True: 0, False: 240]
  ------------------
  210|      0|            if (PyMapping_SetItemString(ns, "__orig_bases__", orig_bases) < 0) {
  ------------------
  |  Branch (210:17): [True: 0, False: 0]
  ------------------
  211|      0|                goto error;
  212|      0|            }
  213|      0|        }
  214|    240|        PyObject *margs[3] = {name, bases, ns};
  215|    240|        cls = PyObject_VectorcallDict(meta, margs, 3, mkw);
  216|    240|        if (cls != NULL && PyType_Check(cls) && PyCell_Check(cell)) {
  ------------------
  |  |  766|    480|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 240, False: 0]
  |  |  ------------------
  ------------------
                      if (cls != NULL && PyType_Check(cls) && PyCell_Check(cell)) {
  ------------------
  |  |   18|    240|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|    240|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 20, False: 220]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (216:13): [True: 240, False: 0]
  ------------------
  217|     20|            PyObject *cell_cls = PyCell_GetRef((PyCellObject *)cell);
  218|     20|            if (cell_cls != cls) {
  ------------------
  |  Branch (218:17): [True: 0, False: 20]
  ------------------
  219|      0|                if (cell_cls == NULL) {
  ------------------
  |  Branch (219:21): [True: 0, False: 0]
  ------------------
  220|      0|                    const char *msg =
  221|      0|                        "__class__ not set defining %.200R as %.200R. "
  222|      0|                        "Was __classcell__ propagated to type.__new__?";
  223|      0|                    PyErr_Format(PyExc_RuntimeError, msg, name, cls);
  224|      0|                } else {
  225|      0|                    const char *msg =
  226|      0|                        "__class__ set to %.200R defining %.200R as %.200R";
  227|      0|                    PyErr_Format(PyExc_TypeError, msg, cell_cls, name, cls);
  228|      0|                }
  229|      0|                Py_XDECREF(cell_cls);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  230|      0|                Py_SETREF(cls, NULL);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  231|      0|                goto error;
  232|      0|            }
  233|     20|            else {
  234|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  235|     20|            }
  236|     20|        }
  237|    240|    }
  238|    240|error:
  239|    240|    Py_XDECREF(cell);
  ------------------
  |  |  621|    240|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  240|    240|    Py_XDECREF(ns);
  ------------------
  |  |  621|    240|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  241|    240|    Py_XDECREF(meta);
  ------------------
  |  |  621|    240|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  242|    240|    Py_XDECREF(mkw);
  ------------------
  |  |  621|    240|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  243|    240|    if (bases != orig_bases) {
  ------------------
  |  Branch (243:9): [True: 0, False: 240]
  ------------------
  244|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  245|      0|    }
  246|    240|    Py_DECREF(bases);
  ------------------
  |  |  430|    240|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  247|    240|    return cls;
  248|    240|}
bltinmodule.c:update_bases:
   31|    240|{
   32|    240|    Py_ssize_t i, j;
   33|    240|    PyObject *base, *meth, *new_base, *result, *new_bases = NULL;
   34|    240|    assert(PyTuple_Check(bases));
  ------------------
  |  Branch (34:5): [True: 240, False: 0]
  ------------------
   35|       |
   36|    412|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (36:17): [True: 172, False: 240]
  ------------------
   37|    172|        base  = args[i];
   38|    172|        if (PyType_Check(base)) {
  ------------------
  |  |  766|    172|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    172|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    172|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 172, False: 0]
  |  |  ------------------
  ------------------
   39|    172|            if (new_bases) {
  ------------------
  |  Branch (39:17): [True: 0, False: 172]
  ------------------
   40|       |                /* If we already have made a replacement, then we append every normal base,
   41|       |                   otherwise just skip it. */
   42|      0|                if (PyList_Append(new_bases, base) < 0) {
  ------------------
  |  Branch (42:21): [True: 0, False: 0]
  ------------------
   43|      0|                    goto error;
   44|      0|                }
   45|      0|            }
   46|    172|            continue;
   47|    172|        }
   48|      0|        if (PyObject_GetOptionalAttr(base, &_Py_ID(__mro_entries__), &meth) < 0) {
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (48:13): [True: 0, False: 0]
  ------------------
   49|      0|            goto error;
   50|      0|        }
   51|      0|        if (!meth) {
  ------------------
  |  Branch (51:13): [True: 0, False: 0]
  ------------------
   52|      0|            if (new_bases) {
  ------------------
  |  Branch (52:17): [True: 0, False: 0]
  ------------------
   53|      0|                if (PyList_Append(new_bases, base) < 0) {
  ------------------
  |  Branch (53:21): [True: 0, False: 0]
  ------------------
   54|      0|                    goto error;
   55|      0|                }
   56|      0|            }
   57|      0|            continue;
   58|      0|        }
   59|      0|        new_base = PyObject_CallOneArg(meth, bases);
   60|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   61|      0|        if (!new_base) {
  ------------------
  |  Branch (61:13): [True: 0, False: 0]
  ------------------
   62|      0|            goto error;
   63|      0|        }
   64|      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 (64:13): [True: 0, False: 0]
  ------------------
   65|      0|            PyErr_SetString(PyExc_TypeError,
   66|      0|                            "__mro_entries__ must return a tuple");
   67|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   68|      0|            goto error;
   69|      0|        }
   70|      0|        if (!new_bases) {
  ------------------
  |  Branch (70:13): [True: 0, False: 0]
  ------------------
   71|       |            /* If this is a first successful replacement, create new_bases list and
   72|       |               copy previously encountered bases. */
   73|      0|            if (!(new_bases = PyList_New(i))) {
  ------------------
  |  Branch (73:17): [True: 0, False: 0]
  ------------------
   74|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   75|      0|                goto error;
   76|      0|            }
   77|      0|            for (j = 0; j < i; j++) {
  ------------------
  |  Branch (77:25): [True: 0, False: 0]
  ------------------
   78|      0|                base = args[j];
   79|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   80|      0|            }
   81|      0|        }
   82|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   83|      0|        if (PyList_SetSlice(new_bases, j, j, new_base) < 0) {
  ------------------
  |  Branch (83:13): [True: 0, False: 0]
  ------------------
   84|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   85|      0|            goto error;
   86|      0|        }
   87|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   88|      0|    }
   89|    240|    if (!new_bases) {
  ------------------
  |  Branch (89:9): [True: 240, False: 0]
  ------------------
   90|    240|        return bases;
   91|    240|    }
   92|      0|    result = PyList_AsTuple(new_bases);
   93|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   94|      0|    return result;
   95|       |
   96|      0|error:
   97|      0|    Py_XDECREF(new_bases);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_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|    240|}
bltinmodule.c:builtin___import___impl:
  286|    129|{
  287|    129|    return PyImport_ImportModuleLevelObject(name, globals, locals,
  288|    129|                                            fromlist, level);
  289|    129|}
bltinmodule.c:builtin_callable:
  530|      7|{
  531|      7|    return PyBool_FromLong((long)PyCallable_Check(obj));
  532|      7|}
bltinmodule.c:builtin_chr:
  757|     24|{
  758|     24|    int overflow;
  759|     24|    long v = PyLong_AsLongAndOverflow(i, &overflow);
  760|     24|    if (v == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (760:9): [True: 0, False: 24]
  |  Branch (760:20): [True: 0, False: 0]
  ------------------
  761|      0|        return NULL;
  762|      0|    }
  763|     24|    if (overflow) {
  ------------------
  |  Branch (763:9): [True: 0, False: 24]
  ------------------
  764|      0|        v = overflow < 0 ? INT_MIN : INT_MAX;
  ------------------
  |  Branch (764:13): [True: 0, False: 0]
  ------------------
  765|       |        /* Allow PyUnicode_FromOrdinal() to raise an exception */
  766|      0|    }
  767|     24|#if SIZEOF_INT < SIZEOF_LONG
  768|     24|    else if (v < INT_MIN) {
  ------------------
  |  Branch (768:14): [True: 0, False: 24]
  ------------------
  769|      0|        v = INT_MIN;
  770|      0|    }
  771|     24|    else if (v > INT_MAX) {
  ------------------
  |  Branch (771:14): [True: 0, False: 24]
  ------------------
  772|       |        v = INT_MAX;
  773|      0|    }
  774|     24|#endif
  775|     24|    return PyUnicode_FromOrdinal(v);
  776|     24|}
bltinmodule.c:builtin_compile_impl:
  813|     33|{
  814|     33|    PyObject *source_copy;
  815|     33|    const char *str;
  816|     33|    int compile_mode = -1;
  817|     33|    int is_ast;
  818|     33|    int start[] = {Py_file_input, Py_eval_input, Py_single_input, Py_func_type_input};
  ------------------
  |  |    9|     33|#define Py_file_input 257
  ------------------
                  int start[] = {Py_file_input, Py_eval_input, Py_single_input, Py_func_type_input};
  ------------------
  |  |   10|     33|#define Py_eval_input 258
  ------------------
                  int start[] = {Py_file_input, Py_eval_input, Py_single_input, Py_func_type_input};
  ------------------
  |  |    8|     33|#define Py_single_input 256
  ------------------
                  int start[] = {Py_file_input, Py_eval_input, Py_single_input, Py_func_type_input};
  ------------------
  |  |   11|     33|#define Py_func_type_input 345
  ------------------
  819|     33|    PyObject *result;
  820|       |
  821|     33|    PyCompilerFlags cf = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|     33|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|     33|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
  822|     33|    cf.cf_flags = flags | PyCF_SOURCE_IS_UTF8;
  ------------------
  |  |   15|     33|#define PyCF_SOURCE_IS_UTF8  0x0100
  ------------------
  823|     33|    if (feature_version >= 0 && (flags & PyCF_ONLY_AST)) {
  ------------------
  |  |   17|      0|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (823:9): [True: 0, False: 33]
  |  Branch (823:33): [True: 0, False: 0]
  ------------------
  824|      0|        cf.cf_feature_version = feature_version;
  825|      0|    }
  826|       |
  827|     33|    if (flags &
  ------------------
  |  Branch (827:9): [True: 0, False: 33]
  ------------------
  828|     33|        ~(PyCF_MASK | PyCF_MASK_OBSOLETE | PyCF_COMPILE_MASK))
  ------------------
  |  |    6|     33|#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  139|     33|#define CO_FUTURE_DIVISION      0x20000
  |  |  ------------------
  |  |               #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  140|     33|#define CO_FUTURE_ABSOLUTE_IMPORT 0x40000 /* do absolute imports by default */
  |  |  ------------------
  |  |    7|     33|                   CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  141|     33|#define CO_FUTURE_WITH_STATEMENT  0x80000
  |  |  ------------------
  |  |                                  CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  142|     33|#define CO_FUTURE_PRINT_FUNCTION  0x100000
  |  |  ------------------
  |  |    8|     33|                   CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  143|     33|#define CO_FUTURE_UNICODE_LITERALS 0x200000
  |  |  ------------------
  |  |                                  CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  145|     33|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  |  |  ------------------
  |  |    9|     33|                   CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  146|     33|#define CO_FUTURE_GENERATOR_STOP  0x800000
  |  |  ------------------
  |  |                                  CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  147|     33|#define CO_FUTURE_ANNOTATIONS    0x1000000
  |  |  ------------------
  ------------------
                      ~(PyCF_MASK | PyCF_MASK_OBSOLETE | PyCF_COMPILE_MASK))
  ------------------
  |  |   10|     33|#define PyCF_MASK_OBSOLETE (CO_NESTED)
  |  |  ------------------
  |  |  |  |  126|     33|#define CO_NESTED       0x0010
  |  |  ------------------
  ------------------
                      ~(PyCF_MASK | PyCF_MASK_OBSOLETE | PyCF_COMPILE_MASK))
  ------------------
  |  |   23|     33|#define PyCF_COMPILE_MASK (PyCF_ONLY_AST | PyCF_ALLOW_TOP_LEVEL_AWAIT | \
  |  |  ------------------
  |  |  |  |   17|     33|#define PyCF_ONLY_AST 0x0400
  |  |  ------------------
  |  |               #define PyCF_COMPILE_MASK (PyCF_ONLY_AST | PyCF_ALLOW_TOP_LEVEL_AWAIT | \
  |  |  ------------------
  |  |  |  |   20|     33|#define PyCF_ALLOW_TOP_LEVEL_AWAIT 0x2000
  |  |  ------------------
  |  |   24|     33|                           PyCF_TYPE_COMMENTS | PyCF_DONT_IMPLY_DEDENT | \
  |  |  ------------------
  |  |  |  |   19|     33|#define PyCF_TYPE_COMMENTS 0x1000
  |  |  ------------------
  |  |                                          PyCF_TYPE_COMMENTS | PyCF_DONT_IMPLY_DEDENT | \
  |  |  ------------------
  |  |  |  |   16|     33|#define PyCF_DONT_IMPLY_DEDENT 0x0200
  |  |  ------------------
  |  |   25|     33|                           PyCF_ALLOW_INCOMPLETE_INPUT | PyCF_OPTIMIZED_AST)
  |  |  ------------------
  |  |  |  |   21|     33|#define PyCF_ALLOW_INCOMPLETE_INPUT 0x4000
  |  |  ------------------
  |  |                                          PyCF_ALLOW_INCOMPLETE_INPUT | PyCF_OPTIMIZED_AST)
  |  |  ------------------
  |  |  |  |   22|     33|#define PyCF_OPTIMIZED_AST (0x8000 | PyCF_ONLY_AST)
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|     33|#define PyCF_ONLY_AST 0x0400
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  829|      0|    {
  830|      0|        PyErr_SetString(PyExc_ValueError,
  831|      0|                        "compile(): unrecognised flags");
  832|      0|        goto error;
  833|      0|    }
  834|       |    /* XXX Warn if (supplied_flags & PyCF_MASK_OBSOLETE) != 0? */
  835|       |
  836|     33|    if (optimize < -1 || optimize > 2) {
  ------------------
  |  Branch (836:9): [True: 0, False: 33]
  |  Branch (836:26): [True: 0, False: 33]
  ------------------
  837|      0|        PyErr_SetString(PyExc_ValueError,
  838|      0|                        "compile(): invalid optimize value");
  839|      0|        goto error;
  840|      0|    }
  841|     33|    if (modname == Py_None) {
  ------------------
  |  |  616|     33|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (841:9): [True: 33, False: 0]
  ------------------
  842|     33|        modname = NULL;
  843|     33|    }
  844|      0|    else if (!PyUnicode_Check(modname)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (844:14): [True: 0, False: 0]
  ------------------
  845|      0|        PyErr_Format(PyExc_TypeError,
  846|      0|                     "compile() argument 'module' must be str or None, not %T",
  847|      0|                     modname);
  848|      0|        goto error;
  849|      0|    }
  850|       |
  851|     33|    if (!dont_inherit) {
  ------------------
  |  Branch (851:9): [True: 33, False: 0]
  ------------------
  852|     33|        PyEval_MergeCompilerFlags(&cf);
  853|     33|    }
  854|       |
  855|     33|    if (strcmp(mode, "exec") == 0)
  ------------------
  |  Branch (855:9): [True: 0, False: 33]
  ------------------
  856|      0|        compile_mode = 0;
  857|     33|    else if (strcmp(mode, "eval") == 0)
  ------------------
  |  Branch (857:14): [True: 33, False: 0]
  ------------------
  858|     33|        compile_mode = 1;
  859|      0|    else if (strcmp(mode, "single") == 0)
  ------------------
  |  Branch (859:14): [True: 0, False: 0]
  ------------------
  860|      0|        compile_mode = 2;
  861|      0|    else if (strcmp(mode, "func_type") == 0) {
  ------------------
  |  Branch (861:14): [True: 0, False: 0]
  ------------------
  862|      0|        if (!(flags & PyCF_ONLY_AST)) {
  ------------------
  |  |   17|      0|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (862:13): [True: 0, False: 0]
  ------------------
  863|      0|            PyErr_SetString(PyExc_ValueError,
  864|      0|                            "compile() mode 'func_type' requires flag PyCF_ONLY_AST");
  865|      0|            goto error;
  866|      0|        }
  867|      0|        compile_mode = 3;
  868|      0|    }
  869|      0|    else {
  870|      0|        const char *msg;
  871|      0|        if (flags & PyCF_ONLY_AST)
  ------------------
  |  |   17|      0|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (871:13): [True: 0, False: 0]
  ------------------
  872|      0|            msg = "compile() mode must be 'exec', 'eval', 'single' or 'func_type'";
  873|      0|        else
  874|      0|            msg = "compile() mode must be 'exec', 'eval' or 'single'";
  875|      0|        PyErr_SetString(PyExc_ValueError, msg);
  876|      0|        goto error;
  877|      0|    }
  878|       |
  879|     33|    is_ast = PyAST_Check(source);
  880|     33|    if (is_ast == -1)
  ------------------
  |  Branch (880:9): [True: 0, False: 33]
  ------------------
  881|      0|        goto error;
  882|     33|    if (is_ast) {
  ------------------
  |  Branch (882:9): [True: 0, False: 33]
  ------------------
  883|      0|        PyArena *arena = _PyArena_New();
  884|      0|        if (arena == NULL) {
  ------------------
  |  Branch (884:13): [True: 0, False: 0]
  ------------------
  885|      0|            goto error;
  886|      0|        }
  887|       |
  888|      0|        if (flags & PyCF_ONLY_AST) {
  ------------------
  |  |   17|      0|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (888:13): [True: 0, False: 0]
  ------------------
  889|      0|            mod_ty mod = PyAST_obj2mod(source, arena, compile_mode);
  890|      0|            if (mod == NULL || !_PyAST_Validate(mod)) {
  ------------------
  |  Branch (890:17): [True: 0, False: 0]
  |  Branch (890:32): [True: 0, False: 0]
  ------------------
  891|      0|                _PyArena_Free(arena);
  892|      0|                goto error;
  893|      0|            }
  894|      0|            int syntax_check_only = ((flags & PyCF_OPTIMIZED_AST) == PyCF_ONLY_AST); /* unoptiomized AST */
  ------------------
  |  |   22|      0|#define PyCF_OPTIMIZED_AST (0x8000 | PyCF_ONLY_AST)
  |  |  ------------------
  |  |  |  |   17|      0|#define PyCF_ONLY_AST 0x0400
  |  |  ------------------
  ------------------
                          int syntax_check_only = ((flags & PyCF_OPTIMIZED_AST) == PyCF_ONLY_AST); /* unoptiomized AST */
  ------------------
  |  |   17|      0|#define PyCF_ONLY_AST 0x0400
  ------------------
  895|      0|            if (_PyCompile_AstPreprocess(mod, filename, &cf, optimize, arena,
  ------------------
  |  Branch (895:17): [True: 0, False: 0]
  ------------------
  896|      0|                                         syntax_check_only, modname) < 0)
  897|      0|            {
  898|      0|                _PyArena_Free(arena);
  899|      0|                goto error;
  900|      0|            }
  901|      0|            result = PyAST_mod2obj(mod);
  902|      0|        }
  903|      0|        else {
  904|      0|            mod_ty mod = PyAST_obj2mod(source, arena, compile_mode);
  905|      0|            if (mod == NULL || !_PyAST_Validate(mod)) {
  ------------------
  |  Branch (905:17): [True: 0, False: 0]
  |  Branch (905:32): [True: 0, False: 0]
  ------------------
  906|      0|                _PyArena_Free(arena);
  907|      0|                goto error;
  908|      0|            }
  909|       |#ifdef Py_GIL_DISABLED
  910|       |            // Disable immortalization of code constants, as for a source
  911|       |            // string below.
  912|       |            _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)_PyThreadState_GET();
  913|       |            tstate->suppress_co_const_immortalization++;
  914|       |#endif
  915|      0|            result = (PyObject*)_PyAST_Compile(mod, filename,
  916|      0|                                               &cf, optimize, arena, modname);
  917|       |#ifdef Py_GIL_DISABLED
  918|       |            tstate->suppress_co_const_immortalization--;
  919|       |#endif
  920|      0|        }
  921|      0|        _PyArena_Free(arena);
  922|      0|        goto finally;
  923|      0|    }
  924|       |
  925|     33|    str = _Py_SourceAsString(source, "compile", "string, bytes or AST", &cf, &source_copy);
  926|     33|    if (str == NULL)
  ------------------
  |  Branch (926:9): [True: 0, False: 33]
  ------------------
  927|      0|        goto error;
  928|       |
  929|       |#ifdef Py_GIL_DISABLED
  930|       |    // Disable immortalization of code constants for explicit
  931|       |    // compile() calls to get consistent frozen outputs between the default
  932|       |    // and free-threaded builds.  It also keeps the output independent of
  933|       |    // what the process compiled before: a constant is otherwise replaced
  934|       |    // by an equal one of an earlier code object, and is then no longer the
  935|       |    // same object as, for example, the equal co_names of its code object.
  936|       |    _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)_PyThreadState_GET();
  937|       |    tstate->suppress_co_const_immortalization++;
  938|       |#endif
  939|       |
  940|     33|    result = _Py_CompileString(str, filename,
  941|     33|                               start[compile_mode], &cf,
  942|     33|                               optimize, modname);
  943|       |
  944|       |#ifdef Py_GIL_DISABLED
  945|       |    tstate->suppress_co_const_immortalization--;
  946|       |#endif
  947|       |
  948|     33|    Py_XDECREF(source_copy);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  949|     33|    goto finally;
  950|       |
  951|      0|error:
  952|      0|    result = NULL;
  953|     33|finally:
  954|     33|    return result;
  955|      0|}
bltinmodule.c:builtin_delattr_impl:
 1821|     36|{
 1822|     36|    if (PyObject_DelAttr(obj, name) < 0) {
  ------------------
  |  Branch (1822:9): [True: 0, False: 36]
  ------------------
 1823|      0|        return NULL;
 1824|      0|    }
 1825|     36|    Py_RETURN_NONE;
  ------------------
  |  |  628|     36|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     36|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1826|     36|}
bltinmodule.c:builtin_dir_impl:
  981|      2|{
  982|      2|    return PyObject_Dir(arg);
  983|      2|}
bltinmodule.c:builtin_eval_impl:
 1024|      2|{
 1025|      2|    PyThreadState *tstate = _PyThreadState_GET();
 1026|      2|    PyObject *result = NULL, *source_copy;
 1027|      2|    const char *str;
 1028|       |
 1029|      2|    if (locals != Py_None && !PyMapping_Check(locals)) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1029:9): [True: 0, False: 2]
  |  Branch (1029:30): [True: 0, False: 0]
  ------------------
 1030|      0|        PyErr_SetString(PyExc_TypeError, "locals must be a mapping");
 1031|      0|        return NULL;
 1032|      0|    }
 1033|      2|    if (globals != Py_None && !PyAnyDict_Check(globals)) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (globals != Py_None && !PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|      2|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|      2|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1033:9): [True: 2, False: 0]
  ------------------
 1034|      0|        PyErr_SetString(PyExc_TypeError, PyMapping_Check(globals) ?
  ------------------
  |  Branch (1034:42): [True: 0, False: 0]
  ------------------
 1035|      0|            "globals must be a real dict or a frozendict; "
 1036|      0|            "try eval(expr, {}, mapping)"
 1037|      0|            : "globals must be a dict or a frozendict");
 1038|      0|        return NULL;
 1039|      0|    }
 1040|       |
 1041|      2|    int fromframe = 0;
 1042|      2|    if (globals != Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1042:9): [True: 2, False: 0]
  ------------------
 1043|      2|        Py_INCREF(globals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1044|      2|    }
 1045|      0|    else if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (1045:14): [True: 0, False: 0]
  ------------------
 1046|      0|        fromframe = 1;
 1047|      0|        globals = PyEval_GetGlobals();
 1048|      0|        assert(globals != NULL);
  ------------------
  |  Branch (1048:9): [True: 0, False: 0]
  ------------------
 1049|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1050|      0|    }
 1051|      0|    else {
 1052|      0|        globals = _PyEval_GetGlobalsFromRunningMain(tstate);
 1053|      0|        if (globals == NULL) {
  ------------------
  |  Branch (1053:13): [True: 0, False: 0]
  ------------------
 1054|      0|            if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1054:17): [True: 0, False: 0]
  ------------------
 1055|      0|                PyErr_SetString(PyExc_TypeError,
 1056|      0|                    "eval must be given globals and locals "
 1057|      0|                    "when called without a frame");
 1058|      0|            }
 1059|      0|            return NULL;
 1060|      0|        }
 1061|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1062|      0|    }
 1063|       |
 1064|      2|    if (locals != Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1064:9): [True: 0, False: 2]
  ------------------
 1065|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1066|      0|    }
 1067|      2|    else if (fromframe) {
  ------------------
  |  Branch (1067:14): [True: 0, False: 2]
  ------------------
 1068|      0|        locals = _PyEval_GetFrameLocals();
 1069|      0|        if (locals == NULL) {
  ------------------
  |  Branch (1069:13): [True: 0, False: 0]
  ------------------
 1070|      0|            assert(PyErr_Occurred());
  ------------------
  |  Branch (1070:13): [True: 0, False: 0]
  ------------------
 1071|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1072|      0|            return NULL;
 1073|      0|        }
 1074|      0|    }
 1075|      2|    else {
 1076|      2|        locals = Py_NewRef(globals);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1077|      2|    }
 1078|       |
 1079|      2|    if (_PyEval_EnsureBuiltins(tstate, globals, NULL) < 0) {
  ------------------
  |  Branch (1079:9): [True: 0, False: 2]
  ------------------
 1080|      0|        goto error;
 1081|      0|    }
 1082|       |
 1083|      2|    if (PyCode_Check(source)) {
  ------------------
  |  |  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 (215:32): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1084|      0|        if (PySys_Audit("exec", "O", source) < 0) {
  ------------------
  |  Branch (1084:13): [True: 0, False: 0]
  ------------------
 1085|      0|            goto error;
 1086|      0|        }
 1087|       |
 1088|      0|        if (PyCode_GetNumFree((PyCodeObject *)source) > 0) {
  ------------------
  |  Branch (1088:13): [True: 0, False: 0]
  ------------------
 1089|      0|            PyErr_SetString(PyExc_TypeError,
 1090|      0|                "code object passed to eval() may not contain free variables");
 1091|      0|            goto error;
 1092|      0|        }
 1093|      0|        result = PyEval_EvalCode(source, globals, locals);
 1094|      0|    }
 1095|      2|    else {
 1096|      2|        PyCompilerFlags cf = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|      2|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|      2|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
 1097|      2|        cf.cf_flags = PyCF_SOURCE_IS_UTF8;
  ------------------
  |  |   15|      2|#define PyCF_SOURCE_IS_UTF8  0x0100
  ------------------
 1098|      2|        str = _Py_SourceAsString(source, "eval", "string, bytes or code", &cf, &source_copy);
 1099|      2|        if (str == NULL)
  ------------------
  |  Branch (1099:13): [True: 0, False: 2]
  ------------------
 1100|      0|            goto error;
 1101|       |
 1102|      2|        while (*str == ' ' || *str == '\t')
  ------------------
  |  Branch (1102:16): [True: 0, False: 2]
  |  Branch (1102:31): [True: 0, False: 2]
  ------------------
 1103|      0|            str++;
 1104|       |
 1105|      2|        (void)PyEval_MergeCompilerFlags(&cf);
 1106|       |#ifdef Py_GIL_DISABLED
 1107|       |        // Don't immortalize code constants for explicit eval() calls
 1108|       |        // to avoid memory leaks.
 1109|       |        _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)_PyThreadState_GET();
 1110|       |        tstate->suppress_co_const_immortalization++;
 1111|       |#endif
 1112|      2|        result = PyRun_StringFlags(str, Py_eval_input, globals, locals, &cf);
  ------------------
  |  |   10|      2|#define Py_eval_input 258
  ------------------
 1113|       |#ifdef Py_GIL_DISABLED
 1114|       |        tstate->suppress_co_const_immortalization--;
 1115|       |#endif
 1116|      2|        Py_XDECREF(source_copy);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1117|      2|    }
 1118|       |
 1119|      2|  error:
 1120|      2|    Py_XDECREF(globals);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1121|      2|    Py_XDECREF(locals);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1122|      2|    return result;
 1123|      2|}
bltinmodule.c:builtin_exec_impl:
 1150|     51|{
 1151|     51|    PyThreadState *tstate = _PyThreadState_GET();
 1152|     51|    PyObject *v;
 1153|       |
 1154|     51|    int fromframe = 0;
 1155|     51|    if (globals != Py_None) {
  ------------------
  |  |  616|     51|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1155:9): [True: 51, False: 0]
  ------------------
 1156|     51|        Py_INCREF(globals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1157|     51|    }
 1158|      0|    else if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (1158:14): [True: 0, False: 0]
  ------------------
 1159|      0|        fromframe = 1;
 1160|      0|        globals = PyEval_GetGlobals();
 1161|      0|        assert(globals != NULL);
  ------------------
  |  Branch (1161:9): [True: 0, False: 0]
  ------------------
 1162|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1163|      0|    }
 1164|      0|    else {
 1165|      0|        globals = _PyEval_GetGlobalsFromRunningMain(tstate);
 1166|      0|        if (globals == NULL) {
  ------------------
  |  Branch (1166:13): [True: 0, False: 0]
  ------------------
 1167|      0|            if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1167:17): [True: 0, False: 0]
  ------------------
 1168|      0|                PyErr_SetString(PyExc_SystemError,
 1169|      0|                                "globals and locals cannot be NULL");
 1170|      0|            }
 1171|      0|            goto error;
 1172|      0|        }
 1173|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1174|      0|    }
 1175|       |
 1176|     51|    if (locals != Py_None) {
  ------------------
  |  |  616|     51|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1176:9): [True: 0, False: 51]
  ------------------
 1177|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1178|      0|    }
 1179|     51|    else if (fromframe) {
  ------------------
  |  Branch (1179:14): [True: 0, False: 51]
  ------------------
 1180|      0|        locals = _PyEval_GetFrameLocals();
 1181|      0|        if (locals == NULL) {
  ------------------
  |  Branch (1181:13): [True: 0, False: 0]
  ------------------
 1182|      0|            assert(PyErr_Occurred());
  ------------------
  |  Branch (1182:13): [True: 0, False: 0]
  ------------------
 1183|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1184|      0|            return NULL;
 1185|      0|        }
 1186|      0|    }
 1187|     51|    else {
 1188|     51|        locals = Py_NewRef(globals);
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1189|     51|    }
 1190|       |
 1191|     51|    if (!PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|     51|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|     51|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    102|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 51, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1192|      0|        PyErr_Format(PyExc_TypeError,
 1193|      0|                     "exec() globals must be a dict or a frozendict, not %T",
 1194|      0|                     globals);
 1195|      0|        goto error;
 1196|      0|    }
 1197|     51|    if (!PyMapping_Check(locals)) {
  ------------------
  |  Branch (1197:9): [True: 0, False: 51]
  ------------------
 1198|      0|        PyErr_Format(PyExc_TypeError,
 1199|      0|            "locals must be a mapping or None, not %.100s",
 1200|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1201|      0|        goto error;
 1202|      0|    }
 1203|       |
 1204|     51|    if (_PyEval_EnsureBuiltins(tstate, globals, NULL) < 0) {
  ------------------
  |  Branch (1204:9): [True: 0, False: 51]
  ------------------
 1205|      0|        goto error;
 1206|      0|    }
 1207|       |
 1208|     51|    if (closure == Py_None) {
  ------------------
  |  |  616|     51|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1208:9): [True: 0, False: 51]
  ------------------
 1209|      0|        closure = NULL;
 1210|      0|    }
 1211|       |
 1212|     51|    if (PyCode_Check(source)) {
  ------------------
  |  |  168|     51|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|     51|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 51, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1213|     51|        Py_ssize_t num_free = PyCode_GetNumFree((PyCodeObject *)source);
 1214|     51|        if (num_free == 0) {
  ------------------
  |  Branch (1214:13): [True: 51, False: 0]
  ------------------
 1215|     51|            if (closure) {
  ------------------
  |  Branch (1215:17): [True: 0, False: 51]
  ------------------
 1216|      0|                PyErr_SetString(PyExc_TypeError,
 1217|      0|                    "cannot use a closure with this code object");
 1218|      0|                goto error;
 1219|      0|            }
 1220|     51|        } else {
 1221|      0|            int closure_is_ok =
 1222|      0|                closure
  ------------------
  |  Branch (1222:17): [True: 0, False: 0]
  ------------------
 1223|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1224|      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 (1224:20): [True: 0, False: 0]
  ------------------
 1225|      0|            if (closure_is_ok) {
  ------------------
  |  Branch (1225:17): [True: 0, False: 0]
  ------------------
 1226|      0|                for (Py_ssize_t i = 0; i < num_free; i++) {
  ------------------
  |  Branch (1226:40): [True: 0, False: 0]
  ------------------
 1227|      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 (1227:38): [True: 0, False: 0]
  ------------------
 1228|      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 (1228:25): [True: 0, False: 0]
  ------------------
 1229|      0|                        closure_is_ok = 0;
 1230|      0|                        break;
 1231|      0|                    }
 1232|      0|                }
 1233|      0|            }
 1234|      0|            if (!closure_is_ok) {
  ------------------
  |  Branch (1234:17): [True: 0, False: 0]
  ------------------
 1235|      0|                PyErr_Format(PyExc_TypeError,
 1236|      0|                    "code object requires a closure of exactly length %zd",
 1237|      0|                    num_free);
 1238|      0|                goto error;
 1239|      0|            }
 1240|      0|        }
 1241|       |
 1242|     51|        if (PySys_Audit("exec", "O", source) < 0) {
  ------------------
  |  Branch (1242:13): [True: 0, False: 51]
  ------------------
 1243|      0|            goto error;
 1244|      0|        }
 1245|       |
 1246|     51|        if (!closure) {
  ------------------
  |  Branch (1246:13): [True: 51, False: 0]
  ------------------
 1247|     51|            v = PyEval_EvalCode(source, globals, locals);
 1248|     51|        } else {
 1249|      0|            v = PyEval_EvalCodeEx(source, globals, locals,
 1250|      0|                NULL, 0,
 1251|      0|                NULL, 0,
 1252|      0|                NULL, 0,
 1253|      0|                NULL,
 1254|      0|                closure);
 1255|      0|        }
 1256|     51|    }
 1257|      0|    else {
 1258|      0|        if (closure != NULL) {
  ------------------
  |  Branch (1258:13): [True: 0, False: 0]
  ------------------
 1259|      0|            PyErr_SetString(PyExc_TypeError,
 1260|      0|                "closure can only be used when source is a code object");
 1261|      0|            goto error;
 1262|      0|        }
 1263|      0|        PyObject *source_copy;
 1264|      0|        const char *str;
 1265|      0|        PyCompilerFlags cf = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|      0|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|      0|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
 1266|      0|        cf.cf_flags = PyCF_SOURCE_IS_UTF8;
  ------------------
  |  |   15|      0|#define PyCF_SOURCE_IS_UTF8  0x0100
  ------------------
 1267|      0|        str = _Py_SourceAsString(source, "exec",
 1268|      0|                                       "string, bytes or code", &cf,
 1269|      0|                                       &source_copy);
 1270|      0|        if (str == NULL)
  ------------------
  |  Branch (1270:13): [True: 0, False: 0]
  ------------------
 1271|      0|            goto error;
 1272|      0|        if (PyEval_MergeCompilerFlags(&cf))
  ------------------
  |  Branch (1272:13): [True: 0, False: 0]
  ------------------
 1273|      0|            v = PyRun_StringFlags(str, Py_file_input, globals,
  ------------------
  |  |    9|      0|#define Py_file_input 257
  ------------------
 1274|      0|                                  locals, &cf);
 1275|      0|        else
 1276|      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)
  ------------------
 1277|      0|        Py_XDECREF(source_copy);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1278|      0|    }
 1279|     51|    if (v == NULL)
  ------------------
  |  Branch (1279:9): [True: 0, False: 51]
  ------------------
 1280|      0|        goto error;
 1281|     51|    Py_DECREF(globals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1282|     51|    Py_DECREF(locals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1283|     51|    Py_DECREF(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1284|     51|    Py_RETURN_NONE;
  ------------------
  |  |  628|     51|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     51|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1285|       |
 1286|      0|  error:
 1287|      0|    Py_XDECREF(globals);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) 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|    Py_XDECREF(locals);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1289|       |    return NULL;
 1290|     51|}
bltinmodule.c:builtin_getattr:
 1296|    974|{
 1297|    974|    PyObject *v, *name, *result;
 1298|       |
 1299|    974|    if (!_PyArg_CheckPositional("getattr", nargs, 2, 3))
  ------------------
  |  |   38|    974|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 974, False: 0]
  |  |  |  Branch (38:27): [True: 974, False: 0]
  |  |  ------------------
  |  |   39|    974|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1300|      0|        return NULL;
 1301|       |
 1302|    974|    v = args[0];
 1303|    974|    name = args[1];
 1304|    974|    if (nargs > 2) {
  ------------------
  |  Branch (1304:9): [True: 770, False: 204]
  ------------------
 1305|    770|        if (PyObject_GetOptionalAttr(v, name, &result) == 0) {
  ------------------
  |  Branch (1305:13): [True: 143, False: 627]
  ------------------
 1306|    143|            PyObject *dflt = args[2];
 1307|    143|            return Py_NewRef(dflt);
  ------------------
  |  |  647|    143|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    143|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    143|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1308|    143|        }
 1309|    770|    }
 1310|    204|    else {
 1311|    204|        result = PyObject_GetAttr(v, name);
 1312|    204|    }
 1313|    831|    return result;
 1314|    974|}
bltinmodule.c:builtin_globals_impl:
 1338|     52|{
 1339|     52|    PyObject *globals;
 1340|     52|    if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (1340:9): [True: 52, False: 0]
  ------------------
 1341|     52|        globals = PyEval_GetGlobals();
 1342|     52|        assert(globals != NULL);
  ------------------
  |  Branch (1342:9): [True: 52, False: 0]
  ------------------
 1343|     52|        return Py_NewRef(globals);
  ------------------
  |  |  647|     52|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1344|     52|    }
 1345|      0|    PyThreadState *tstate = _PyThreadState_GET();
 1346|      0|    globals = _PyEval_GetGlobalsFromRunningMain(tstate);
 1347|      0|    if (globals == NULL) {
  ------------------
  |  Branch (1347:9): [True: 0, False: 0]
  ------------------
 1348|      0|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1348:13): [True: 0, False: 0]
  ------------------
 1349|      0|            return NULL;
 1350|      0|        }
 1351|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1352|      0|    }
 1353|      0|    return Py_NewRef(globals);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1354|      0|}
bltinmodule.c:builtin_hasattr_impl:
 1372|    292|{
 1373|    292|    PyObject *v;
 1374|       |
 1375|    292|    if (PyObject_GetOptionalAttr(obj, name, &v) < 0) {
  ------------------
  |  Branch (1375:9): [True: 0, False: 292]
  ------------------
 1376|      0|        return NULL;
 1377|      0|    }
 1378|    292|    if (v == NULL) {
  ------------------
  |  Branch (1378:9): [True: 82, False: 210]
  ------------------
 1379|     82|        Py_RETURN_FALSE;
  ------------------
  |  |   45|     82|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     82|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1380|     82|    }
 1381|    210|    Py_DECREF(v);
  ------------------
  |  |  430|    210|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    210|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1382|    210|    Py_RETURN_TRUE;
  ------------------
  |  |   44|    210|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|    210|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    210|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1383|    292|}
bltinmodule.c:builtin_isinstance_impl:
 3043|     67|{
 3044|     67|    int retval;
 3045|       |
 3046|     67|    retval = PyObject_IsInstance(obj, class_or_tuple);
 3047|     67|    if (retval < 0)
  ------------------
  |  Branch (3047:9): [True: 0, False: 67]
  ------------------
 3048|      0|        return NULL;
 3049|     67|    return PyBool_FromLong(retval);
 3050|     67|}
bltinmodule.c:builtin_issubclass_impl:
 3071|     10|{
 3072|     10|    int retval;
 3073|       |
 3074|     10|    retval = PyObject_IsSubclass(cls, class_or_tuple);
 3075|     10|    if (retval < 0)
  ------------------
  |  Branch (3075:9): [True: 0, False: 10]
  ------------------
 3076|      0|        return NULL;
 3077|     10|    return PyBool_FromLong(retval);
 3078|     10|}
bltinmodule.c:builtin_iter_impl:
 1897|     26|{
 1898|     26|    if (stop_value == NULL && stop_exception == NULL) {
  ------------------
  |  Branch (1898:9): [True: 26, False: 0]
  |  Branch (1898:31): [True: 26, False: 0]
  ------------------
 1899|     26|        return PyObject_GetIter(object);
 1900|     26|    }
 1901|      0|    if (!PyCallable_Check(object)) {
  ------------------
  |  Branch (1901:9): [True: 0, False: 0]
  ------------------
 1902|      0|        PyErr_SetString(PyExc_TypeError,
 1903|      0|                        "iter(): the first argument must be callable");
 1904|      0|        return NULL;
 1905|      0|    }
 1906|      0|    return _PyCallIter_NewEx(object, stop_value, stop_exception);
 1907|      0|}
bltinmodule.c:builtin_len:
 1922|     60|{
 1923|     60|    Py_ssize_t res;
 1924|       |
 1925|     60|    res = PyObject_Size(obj);
 1926|     60|    if (res < 0) {
  ------------------
  |  Branch (1926:9): [True: 0, False: 60]
  ------------------
 1927|      0|        assert(PyErr_Occurred());
  ------------------
  |  Branch (1927:9): [True: 0, False: 0]
  ------------------
 1928|      0|        return NULL;
 1929|      0|    }
 1930|     60|    return PyLong_FromSsize_t(res);
 1931|     60|}
bltinmodule.c:builtin_max:
 2105|     31|{
 2106|     31|    return min_max(args, nargs, kwnames, Py_GT);
  ------------------
  |  |  656|     31|#define Py_GT 4
  ------------------
 2107|     31|}
bltinmodule.c:min_max:
 1969|     57|{
 1970|     57|    PyObject *it = NULL, *item, *val, *maxitem, *maxval, *keyfunc=NULL;
 1971|     57|    PyObject *defaultval = NULL;
 1972|     57|    static const char * const keywords[] = {"key", "default", NULL};
 1973|     57|    static _PyArg_Parser _parser_min = {"|$OO:min", keywords, 0};
 1974|     57|    static _PyArg_Parser _parser_max = {"|$OO:max", keywords, 0};
 1975|     57|    const char *name = (op == Py_LT) ? "min" : "max";
  ------------------
  |  |  652|     57|#define Py_LT 0
  ------------------
  |  Branch (1975:24): [True: 26, False: 31]
  ------------------
 1976|     57|    _PyArg_Parser *_parser = (op == Py_LT) ? &_parser_min : &_parser_max;
  ------------------
  |  |  652|     57|#define Py_LT 0
  ------------------
  |  Branch (1976:30): [True: 26, False: 31]
  ------------------
 1977|       |
 1978|     57|    if (nargs == 0) {
  ------------------
  |  Branch (1978:9): [True: 0, False: 57]
  ------------------
 1979|      0|        PyErr_Format(PyExc_TypeError, "%s expected at least 1 argument, got 0", name);
 1980|      0|        return NULL;
 1981|      0|    }
 1982|       |
 1983|     57|    if (kwnames != NULL && !_PyArg_ParseStackAndKeywords(args + nargs, 0, kwnames, _parser,
  ------------------
  |  Branch (1983:9): [True: 0, False: 57]
  |  Branch (1983:28): [True: 0, False: 0]
  ------------------
 1984|      0|                                                         &keyfunc, &defaultval)) {
 1985|      0|        return NULL;
 1986|      0|    }
 1987|       |
 1988|     57|    const int positional = nargs > 1; // False iff nargs == 1
 1989|     57|    if (positional && defaultval != NULL) {
  ------------------
  |  Branch (1989:9): [True: 28, False: 29]
  |  Branch (1989:23): [True: 0, False: 28]
  ------------------
 1990|      0|        PyErr_Format(PyExc_TypeError,
 1991|      0|                        "Cannot specify a default for %s() with multiple "
 1992|      0|                        "positional arguments", name);
 1993|      0|        return NULL;
 1994|      0|    }
 1995|       |
 1996|     57|    if (!positional) {
  ------------------
  |  Branch (1996:9): [True: 29, False: 28]
  ------------------
 1997|     29|        it = PyObject_GetIter(args[0]);
 1998|     29|        if (it == NULL) {
  ------------------
  |  Branch (1998:13): [True: 0, False: 29]
  ------------------
 1999|      0|            return NULL;
 2000|      0|        }
 2001|     29|    }
 2002|       |
 2003|     57|    if (keyfunc == Py_None) {
  ------------------
  |  |  616|     57|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2003:9): [True: 0, False: 57]
  ------------------
 2004|      0|        keyfunc = NULL;
 2005|      0|    }
 2006|       |
 2007|     57|    maxitem = NULL; /* the result */
 2008|     57|    maxval = NULL;  /* the value associated with the result */
 2009|    142|    while (1) {
  ------------------
  |  Branch (2009:12): [True: 142, Folded]
  ------------------
 2010|    142|        if (it == NULL) {
  ------------------
  |  Branch (2010:13): [True: 84, False: 58]
  ------------------
 2011|     84|            if (nargs-- <= 0) {
  ------------------
  |  Branch (2011:17): [True: 28, False: 56]
  ------------------
 2012|     28|                break;
 2013|     28|            }
 2014|     56|            item = *args++;
 2015|     56|            Py_INCREF(item);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2016|     56|        }
 2017|     58|        else {
 2018|     58|            item = PyIter_Next(it);
 2019|     58|            if (item == NULL) {
  ------------------
  |  Branch (2019:17): [True: 29, False: 29]
  ------------------
 2020|     29|                if (PyErr_Occurred()) {
  ------------------
  |  Branch (2020:21): [True: 0, False: 29]
  ------------------
 2021|      0|                    goto Fail_it;
 2022|      0|                }
 2023|     29|                break;
 2024|     29|            }
 2025|     58|        }
 2026|       |
 2027|       |        /* get the value from the key function */
 2028|     85|        if (keyfunc != NULL) {
  ------------------
  |  Branch (2028:13): [True: 0, False: 85]
  ------------------
 2029|      0|            val = PyObject_CallOneArg(keyfunc, item);
 2030|      0|            if (val == NULL)
  ------------------
  |  Branch (2030:17): [True: 0, False: 0]
  ------------------
 2031|      0|                goto Fail_it_item;
 2032|      0|        }
 2033|       |        /* no key function; the value is the item */
 2034|     85|        else {
 2035|     85|            val = Py_NewRef(item);
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2036|     85|        }
 2037|       |
 2038|       |        /* maximum value and item are unset; set them */
 2039|     85|        if (maxval == NULL) {
  ------------------
  |  Branch (2039:13): [True: 57, False: 28]
  ------------------
 2040|     57|            maxitem = item;
 2041|     57|            maxval = val;
 2042|     57|        }
 2043|       |        /* maximum value and item are set; update them as necessary */
 2044|     28|        else {
 2045|     28|            int cmp = PyObject_RichCompareBool(val, maxval, op);
 2046|     28|            if (cmp < 0)
  ------------------
  |  Branch (2046:17): [True: 0, False: 28]
  ------------------
 2047|      0|                goto Fail_it_item_and_val;
 2048|     28|            else if (cmp > 0) {
  ------------------
  |  Branch (2048:22): [True: 5, False: 23]
  ------------------
 2049|      5|                Py_DECREF(maxval);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2050|      5|                Py_DECREF(maxitem);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2051|      5|                maxval = val;
 2052|      5|                maxitem = item;
 2053|      5|            }
 2054|     23|            else {
 2055|     23|                Py_DECREF(item);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2056|     23|                Py_DECREF(val);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2057|     23|            }
 2058|     28|        }
 2059|     85|    }
 2060|     57|    if (maxval == NULL) {
  ------------------
  |  Branch (2060:9): [True: 0, False: 57]
  ------------------
 2061|      0|        assert(maxitem == NULL);
  ------------------
  |  Branch (2061:9): [True: 0, False: 0]
  ------------------
 2062|      0|        if (defaultval != NULL) {
  ------------------
  |  Branch (2062:13): [True: 0, False: 0]
  ------------------
 2063|      0|            maxitem = Py_NewRef(defaultval);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2064|      0|        } else {
 2065|      0|            PyErr_Format(PyExc_ValueError,
 2066|      0|                         "%s() iterable argument is empty", name);
 2067|      0|        }
 2068|      0|    }
 2069|     57|    else
 2070|     57|        Py_DECREF(maxval);
  ------------------
  |  |  430|     57|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     57|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     57|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2071|     57|    Py_XDECREF(it);
  ------------------
  |  |  621|     57|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     57|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     57|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2072|     57|    return maxitem;
 2073|       |
 2074|      0|Fail_it_item_and_val:
 2075|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2076|      0|Fail_it_item:
 2077|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2078|      0|Fail_it:
 2079|      0|    Py_XDECREF(maxval);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2080|      0|    Py_XDECREF(maxitem);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2081|      0|    Py_XDECREF(it);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2082|       |    return NULL;
 2083|      0|}
bltinmodule.c:builtin_min:
 2088|     26|{
 2089|     26|    return min_max(args, nargs, kwnames, Py_LT);
  ------------------
  |  |  652|     26|#define Py_LT 0
  ------------------
 2090|     26|}
bltinmodule.c:builtin_next:
 1742|      2|{
 1743|      2|    PyObject *it, *res;
 1744|       |
 1745|      2|    if (!_PyArg_CheckPositional("next", nargs, 1, 2))
  ------------------
  |  |   38|      2|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 2, False: 0]
  |  |  |  Branch (38:27): [True: 2, False: 0]
  |  |  ------------------
  |  |   39|      2|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1746|      0|        return NULL;
 1747|       |
 1748|      2|    it = args[0];
 1749|      2|    if (!PyIter_Check(it)) {
  ------------------
  |  Branch (1749:9): [True: 0, False: 2]
  ------------------
 1750|      0|        PyErr_Format(PyExc_TypeError,
 1751|      0|            "'%.200s' object is not an iterator",
 1752|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1753|      0|        return NULL;
 1754|      0|    }
 1755|       |
 1756|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1757|      2|    if (res != NULL) {
  ------------------
  |  Branch (1757:9): [True: 0, False: 2]
  ------------------
 1758|      0|        return res;
 1759|      2|    } else if (nargs > 1) {
  ------------------
  |  Branch (1759:16): [True: 2, False: 0]
  ------------------
 1760|      2|        PyObject *def = args[1];
 1761|      2|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1761:13): [True: 0, False: 2]
  ------------------
 1762|      0|            if(!PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (1762:16): [True: 0, False: 0]
  ------------------
 1763|      0|                return NULL;
 1764|      0|            PyErr_Clear();
 1765|      0|        }
 1766|      2|        return Py_NewRef(def);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1767|      2|    } else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1767:16): [True: 0, False: 0]
  ------------------
 1768|      0|        return NULL;
 1769|      0|    } else {
 1770|      0|        PyErr_SetNone(PyExc_StopIteration);
 1771|       |        return NULL;
 1772|      0|    }
 1773|      2|}
bltinmodule.c:builtin_ord:
 2157|     23|{
 2158|     23|    long ord;
 2159|     23|    Py_ssize_t size;
 2160|       |
 2161|     23|    if (PyBytes_Check(c)) {
  ------------------
  |  |   28|     23|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     23|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 23]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2162|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2163|      0|        if (size == 1) {
  ------------------
  |  Branch (2163:13): [True: 0, False: 0]
  ------------------
 2164|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2165|      0|            return PyLong_FromLong(ord);
 2166|      0|        }
 2167|      0|    }
 2168|     23|    else if (PyUnicode_Check(c)) {
  ------------------
  |  |  103|     23|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     23|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 23, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2169|     23|        size = PyUnicode_GET_LENGTH(c);
  ------------------
  |  |  300|     23|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2170|     23|        if (size == 1) {
  ------------------
  |  Branch (2170:13): [True: 23, False: 0]
  ------------------
 2171|     23|            ord = (long)PyUnicode_READ_CHAR(c, 0);
  ------------------
  |  |  382|     23|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2172|     23|            return PyLong_FromLong(ord);
 2173|     23|        }
 2174|     23|    }
 2175|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2176|       |        /* XXX Hopefully this is temporary */
 2177|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2178|      0|        if (size == 1) {
  ------------------
  |  Branch (2178:13): [True: 0, False: 0]
  ------------------
 2179|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2180|      0|            return PyLong_FromLong(ord);
 2181|      0|        }
 2182|      0|    }
 2183|      0|    else {
 2184|      0|        PyErr_Format(PyExc_TypeError,
 2185|      0|                     "ord() expected string of length 1, but " \
 2186|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2187|      0|        return NULL;
 2188|      0|    }
 2189|       |
 2190|      0|    PyErr_Format(PyExc_TypeError,
 2191|      0|                 "ord() expected a character, "
 2192|      0|                 "but string of length %zd found",
 2193|      0|                 size);
 2194|       |    return NULL;
 2195|     23|}
bltinmodule.c:builtin_setattr_impl:
 1799|    148|{
 1800|    148|    if (PyObject_SetAttr(obj, name, value) != 0)
  ------------------
  |  Branch (1800:9): [True: 0, False: 148]
  ------------------
 1801|      0|        return NULL;
 1802|    148|    Py_RETURN_NONE;
  ------------------
  |  |  628|    148|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    148|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1803|    148|}
bltinmodule.c:builtin_sorted:
 2652|      7|{
 2653|      7|    PyObject *newlist, *v, *seq, *callable;
 2654|       |
 2655|       |    /* Keyword arguments are passed through list.sort() which will check
 2656|       |       them. */
 2657|      7|    if (!_PyArg_UnpackStack(args, nargs, "sorted", 1, 1, &seq))
  ------------------
  |  Branch (2657:9): [True: 0, False: 7]
  ------------------
 2658|      0|        return NULL;
 2659|       |
 2660|      7|    newlist = PySequence_List(seq);
 2661|      7|    if (newlist == NULL)
  ------------------
  |  Branch (2661:9): [True: 0, False: 7]
  ------------------
 2662|      0|        return NULL;
 2663|       |
 2664|      7|    callable = PyObject_GetAttr(newlist, &_Py_ID(sort));
  ------------------
  |  |  951|      7|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      7|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      7|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2665|      7|    if (callable == NULL) {
  ------------------
  |  Branch (2665:9): [True: 0, False: 7]
  ------------------
 2666|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2667|      0|        return NULL;
 2668|      0|    }
 2669|       |
 2670|      7|    assert(nargs >= 1);
  ------------------
  |  Branch (2670:5): [True: 7, False: 0]
  ------------------
 2671|      7|    v = PyObject_Vectorcall(callable, args + 1, nargs - 1, kwnames);
 2672|      7|    Py_DECREF(callable);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2673|      7|    if (v == NULL) {
  ------------------
  |  Branch (2673:9): [True: 0, False: 7]
  ------------------
 2674|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2675|      0|        return NULL;
 2676|      0|    }
 2677|      7|    Py_DECREF(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2678|      7|    return newlist;
 2679|      7|}
bltinmodule.c:builtin_vars_impl:
 2698|      4|{
 2699|      4|    PyObject *d;
 2700|       |
 2701|      4|    if (v == NULL) {
  ------------------
  |  Branch (2701:9): [True: 0, False: 4]
  ------------------
 2702|      0|        if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (2702:13): [True: 0, False: 0]
  ------------------
 2703|      0|            d = _PyEval_GetFrameLocals();
 2704|      0|        }
 2705|      0|        else {
 2706|      0|            PyThreadState *tstate = _PyThreadState_GET();
 2707|      0|            d = _PyEval_GetGlobalsFromRunningMain(tstate);
 2708|      0|            if (d == NULL) {
  ------------------
  |  Branch (2708:17): [True: 0, False: 0]
  ------------------
 2709|      0|                if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2709:21): [True: 0, False: 0]
  ------------------
 2710|      0|                    d = _PyEval_GetFrameLocals();
 2711|      0|                    assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2711:21): [True: 0, False: 0]
  ------------------
 2712|      0|                }
 2713|      0|            }
 2714|      0|            else {
 2715|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2716|      0|            }
 2717|      0|        }
 2718|      0|    }
 2719|      4|    else {
 2720|      4|        if (PyObject_GetOptionalAttr(v, &_Py_ID(__dict__), &d) == 0) {
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2720:13): [True: 0, False: 4]
  ------------------
 2721|      0|            PyErr_SetString(PyExc_TypeError,
 2722|      0|                "vars() argument must have __dict__ attribute");
 2723|      0|        }
 2724|      4|    }
 2725|      4|    return d;
 2726|      4|}

_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) {
  ------------------
  |  |   43|      2|#  define HAVE_GETENTRYPY_GETRANDOM_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (43: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:
   96|      2|{
   97|       |    /* Is getrandom() supported by the running kernel? Set to 0 if getrandom()
   98|       |       failed with ENOSYS or EPERM. Need Linux kernel 3.17 or newer, or Solaris
   99|       |       11.3 or newer */
  100|      2|    static int getrandom_works = 1;
  101|      2|    int flags;
  102|      2|    char *dest;
  103|      2|    long n;
  104|       |
  105|      2|    if (!getrandom_works) {
  ------------------
  |  Branch (105:9): [True: 0, False: 2]
  ------------------
  106|      0|        return 0;
  107|      0|    }
  108|       |
  109|      2|    flags = blocking ? 0 : GRND_NONBLOCK;
  ------------------
  |  Branch (109:13): [True: 0, False: 2]
  ------------------
  110|      2|    dest = buffer;
  111|      4|    while (0 < size) {
  ------------------
  |  Branch (111:12): [True: 2, False: 2]
  ------------------
  112|       |#if defined(__sun) && defined(__SVR4)
  113|       |        /* Issue #26735: On Solaris, getrandom() is limited to returning up
  114|       |           to 1024 bytes. Call it multiple times if more bytes are
  115|       |           requested. */
  116|       |        n = Py_MIN(size, 1024);
  117|       |#else
  118|      2|        n = Py_MIN(size, LONG_MAX);
  ------------------
  |  |  127|      2|       __extension__ \
  |  |  128|      2|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      2|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      2|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  119|      2|#endif
  120|       |
  121|      2|        errno = 0;
  122|      2|#ifdef HAVE_GETRANDOM
  123|      2|        if (raise) {
  ------------------
  |  Branch (123:13): [True: 0, False: 2]
  ------------------
  124|      0|            Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|      0|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|      0|                        PyThreadState *_save; \
  |  |  119|      0|                        _save = PyEval_SaveThread();
  ------------------
  125|      0|            n = getrandom(dest, n, flags);
  126|      0|            Py_END_ALLOW_THREADS
  ------------------
  |  |  122|      0|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|      0|                 }
  ------------------
  127|      0|        }
  128|      2|        else {
  129|      2|            n = getrandom(dest, n, flags);
  130|      2|        }
  131|       |#else
  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:
   35|   199M|{
   36|   199M|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
   37|   199M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
   38|   199M|#if _Py_STACK_GROWS_DOWN
   39|   199M|    if (here_addr > _tstate->c_stack_soft_limit + margin_count * _PyOS_STACK_MARGIN_BYTES) {
  ------------------
  |  |   57|   199M|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   56|   199M|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|   199M|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (39:9): [True: 199M, False: 0]
  ------------------
   40|       |#else
   41|       |    if (here_addr <= _tstate->c_stack_soft_limit - margin_count * _PyOS_STACK_MARGIN_BYTES) {
   42|       |#endif
   43|   199M|        return 0;
   44|   199M|    }
   45|      0|    if (_tstate->c_stack_hard_limit == 0) {
  ------------------
  |  Branch (45:9): [True: 0, False: 0]
  ------------------
   46|      0|        _Py_InitializeRecursionLimits(tstate);
   47|      0|    }
   48|      0|#if _Py_STACK_GROWS_DOWN
   49|      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 (49:12): [True: 0, False: 0]
  ------------------
   50|      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 (50:9): [True: 0, False: 0]
  ------------------
   51|       |#else
   52|       |    return here_addr > _tstate->c_stack_soft_limit - margin_count * _PyOS_STACK_MARGIN_BYTES &&
   53|       |        here_addr <= _tstate->c_stack_soft_limit + 2 * _PyOS_STACK_MARGIN_BYTES;
   54|       |#endif
   55|   199M|}
_Py_InitializeRecursionLimits:
  181|      2|{
  182|      2|    uintptr_t base, top;
  183|      2|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  184|      2|    hardware_stack_limits(&base, &top, here_addr);
  185|      2|    assert(top != 0);
  ------------------
  |  Branch (185:5): [True: 2, False: 0]
  ------------------
  186|       |
  187|      2|    tstate_set_stack(tstate, base, top);
  188|      2|    _PyThreadStateImpl *ts = (_PyThreadStateImpl *)tstate;
  189|      2|    ts->c_stack_init_base = base;
  190|      2|    ts->c_stack_init_top = top;
  191|      2|}
PyEval_EvalCode:
  613|     59|{
  614|     59|    PyThreadState *tstate = _PyThreadState_GET();
  615|     59|    if (locals == NULL) {
  ------------------
  |  Branch (615:9): [True: 0, False: 59]
  ------------------
  616|      0|        locals = globals;
  617|      0|    }
  618|     59|    PyObject *builtins = _PyDict_LoadBuiltinsFromGlobals(globals);
  619|     59|    if (builtins == NULL) {
  ------------------
  |  Branch (619:9): [True: 0, False: 59]
  ------------------
  620|      0|        return NULL;
  621|      0|    }
  622|     59|    PyFrameConstructor desc = {
  623|     59|        .fc_globals = globals,
  624|     59|        .fc_builtins = builtins,
  625|     59|        .fc_name = ((PyCodeObject *)co)->co_name,
  626|     59|        .fc_qualname = ((PyCodeObject *)co)->co_name,
  627|     59|        .fc_code = co,
  628|     59|        .fc_defaults = NULL,
  629|     59|        .fc_kwdefaults = NULL,
  630|     59|        .fc_closure = NULL
  631|     59|    };
  632|     59|    PyFunctionObject *func = _PyFunction_FromConstructor(&desc);
  633|     59|    _Py_DECREF_BUILTINS(builtins);
  ------------------
  |  |  408|     59|#  define _Py_DECREF_BUILTINS Py_DECREF
  |  |  ------------------
  |  |  |  |   80|     59|    do { \
  |  |  |  |   81|     59|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     59|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     59|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 59]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     59|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     59|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     59|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 59]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|     59|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 59]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     59|    if (func == NULL) {
  ------------------
  |  Branch (634:9): [True: 0, False: 59]
  ------------------
  635|      0|        return NULL;
  636|      0|    }
  637|     59|    EVAL_CALL_STAT_INC(EVAL_CALL_LEGACY);
  ------------------
  |  |   79|     59|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  638|     59|    PyObject *res = _PyEval_Vector(tstate, func, locals, NULL, 0, NULL);
  639|       |    Py_DECREF(func);
  ------------------
  |  |   80|     59|    do { \
  |  |   81|     59|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|     59|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|     59|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 59]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|     59|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|     59|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|     59|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 59, False: 0]
  |  |  ------------------
  |  |   88|     59|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|     59|    do { \
  |  |  |  |  110|     59|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|     59|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 59]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|     59|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 59]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|     59|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|     59|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|     59|            (*dealloc)(op); \
  |  |   91|     59|        } \
  |  |   92|     59|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 59]
  |  |  ------------------
  ------------------
  640|     59|    return res;
  641|     59|}
_Py_VectorCall_StackRefSteal:
  672|  2.37k|{
  673|  2.37k|    PyObject *res;
  674|  2.37k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  2.37k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  2.37k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  675|  2.37k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  2.37k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 2.37k]
  |  |  ------------------
  ------------------
  676|      0|        res = NULL;
  677|      0|        goto cleanup;
  678|      0|    }
  679|  2.37k|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  680|  2.37k|    PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  681|  2.37k|    int positional_args = total_args;
  682|  2.37k|    if (kwnames_o != NULL) {
  ------------------
  |  Branch (682:9): [True: 155, False: 2.21k]
  ------------------
  683|    155|        positional_args -= (int)PyTuple_GET_SIZE(kwnames_o);
  ------------------
  |  |   27|    155|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    155|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    155|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  684|    155|    }
  685|  2.37k|    res = PyObject_Vectorcall(
  686|  2.37k|        callable_o, args_o,
  687|  2.37k|        positional_args | PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|  2.37k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  2.37k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  688|  2.37k|        kwnames_o);
  689|  2.37k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  2.37k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  690|  2.37k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (690:5): [True: 2.37k, False: 0]
  ------------------
  691|  2.37k|cleanup:
  692|  2.37k|    PyStackRef_XCLOSE(kwnames);
  693|       |    // arguments is a pointer into the GC visible stack,
  694|       |    // so we must NULL out values as we clear them.
  695|  4.38k|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (695:32): [True: 2.01k, False: 2.37k]
  ------------------
  696|  2.01k|        _PyStackRef tmp = arguments[i];
  697|  2.01k|        arguments[i] = PyStackRef_NULL;
  698|  2.01k|        PyStackRef_CLOSE(tmp);
  699|  2.01k|    }
  700|  2.37k|    PyStackRef_CLOSE(callable);
  701|  2.37k|    return res;
  702|  2.37k|}
_Py_VectorCallInstrumentation_StackRefSteal:
  714|  1.89k|{
  715|  1.89k|    PyObject* res;
  716|  1.89k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  1.89k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  1.89k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  717|  1.89k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  1.89k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 1.89k]
  |  |  ------------------
  ------------------
  718|      0|        res = NULL;
  719|      0|        goto cleanup;
  720|      0|    }
  721|  1.89k|    PyObject* callable_o = PyStackRef_AsPyObjectBorrow(callable);
  722|  1.89k|    PyObject* kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  723|  1.89k|    int positional_args = total_args;
  724|  1.89k|    if (kwnames_o != NULL) {
  ------------------
  |  Branch (724:9): [True: 49, False: 1.84k]
  ------------------
  725|     49|        positional_args -= (int)PyTuple_GET_SIZE(kwnames_o);
  ------------------
  |  |   27|     49|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     49|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  726|     49|    }
  727|  1.89k|    res = PyObject_Vectorcall(
  728|  1.89k|        callable_o, args_o,
  729|  1.89k|        positional_args | PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|  1.89k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  1.89k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  730|  1.89k|        kwnames_o);
  731|  1.89k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  1.89k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  732|  1.89k|    if (call_instrumentation) {
  ------------------
  |  Branch (732:9): [True: 0, False: 1.89k]
  ------------------
  733|      0|        PyObject* arg = total_args == 0 ?
  ------------------
  |  Branch (733:25): [True: 0, False: 0]
  ------------------
  734|      0|            &_PyInstrumentation_MISSING : PyStackRef_AsPyObjectBorrow(arguments[0]);
  735|      0|        if (res == NULL) {
  ------------------
  |  Branch (735:13): [True: 0, False: 0]
  ------------------
  736|      0|            _Py_call_instrumentation_exc2(
  737|      0|                tstate, PY_MONITORING_EVENT_C_RAISE,
  ------------------
  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  ------------------
  738|      0|                frame, this_instr, callable_o, arg);
  739|      0|        }
  740|      0|        else {
  741|      0|            int err = _Py_call_instrumentation_2args(
  742|      0|                tstate, PY_MONITORING_EVENT_C_RETURN,
  ------------------
  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  ------------------
  743|      0|                frame, this_instr, callable_o, arg);
  744|      0|            if (err < 0) {
  ------------------
  |  Branch (744:17): [True: 0, False: 0]
  ------------------
  745|      0|                Py_CLEAR(res);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  746|      0|            }
  747|      0|        }
  748|      0|    }
  749|  1.89k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (749:5): [True: 1.89k, False: 0]
  ------------------
  750|  1.89k|cleanup:
  751|  1.89k|    PyStackRef_XCLOSE(kwnames);
  752|       |    // arguments is a pointer into the GC visible stack,
  753|       |    // so we must NULL out values as we clear them.
  754|  5.20k|    for (int i = total_args - 1; i >= 0; i--) {
  ------------------
  |  Branch (754:34): [True: 3.31k, False: 1.89k]
  ------------------
  755|  3.31k|        _PyStackRef tmp = arguments[i];
  756|  3.31k|        arguments[i] = PyStackRef_NULL;
  757|  3.31k|        PyStackRef_CLOSE(tmp);
  758|  3.31k|    }
  759|  1.89k|    PyStackRef_CLOSE(callable);
  760|  1.89k|    return res;
  761|  1.89k|}
_Py_BuiltinCallFast_StackRef:
  768|  1.79k|{
  769|  1.79k|    PyObject *res;
  770|  1.79k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  1.79k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  1.79k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  771|  1.79k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  1.79k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 1.79k]
  |  |  ------------------
  ------------------
  772|      0|        return NULL;
  773|      0|    }
  774|  1.79k|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  775|  1.79k|    PyCFunction cfunc = PyCFunction_GET_FUNCTION(callable_o);
  ------------------
  |  |   43|  1.79k|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  1.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  776|  1.79k|    res = _PyCFunctionFast_CAST(cfunc)(
  ------------------
  |  |   58|  1.79k|    _Py_FUNC_CAST(PyCFunctionFast, func)
  |  |  ------------------
  |  |  |  |   47|  1.79k|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  777|  1.79k|        PyCFunction_GET_SELF(callable_o),
  ------------------
  |  |   52|  1.79k|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  1.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  778|  1.79k|        args_o,
  779|  1.79k|        total_args
  780|  1.79k|    );
  781|  1.79k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  1.79k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  782|  1.79k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (782:5): [True: 1.79k, False: 0]
  ------------------
  783|  1.79k|    return res;
  784|  1.79k|}
_Py_BuiltinCallFastWithKeywords_StackRef:
  791|    725|{
  792|    725|    PyObject *res;
  793|    725|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|    725|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|    725|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  794|    725|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|    725|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 725]
  |  |  ------------------
  ------------------
  795|      0|        return NULL;
  796|      0|    }
  797|    725|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  798|    725|    PyCFunctionFastWithKeywords cfunc =
  799|    725|        _PyCFunctionFastWithKeywords_CAST(PyCFunction_GET_FUNCTION(callable_o));
  ------------------
  |  |   62|    725|    _Py_FUNC_CAST(PyCFunctionFastWithKeywords, func)
  |  |  ------------------
  |  |  |  |   47|    725|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    725|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  800|    725|    res = cfunc(PyCFunction_GET_SELF(callable_o), args_o, total_args, NULL);
  ------------------
  |  |   52|    725|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|    725|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    725|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  801|    725|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|    725|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  802|    725|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (802:5): [True: 725, False: 0]
  ------------------
  803|    725|    return res;
  804|    725|}
_PyCallMethodDescriptorFast_StackRef:
  813|  2.16k|{
  814|  2.16k|    PyObject *res;
  815|  2.16k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  2.16k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  2.16k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  816|  2.16k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  2.16k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 2.16k]
  |  |  ------------------
  ------------------
  817|      0|        return NULL;
  818|      0|    }
  819|  2.16k|    assert(self == PyStackRef_AsPyObjectBorrow(arguments[0]));
  ------------------
  |  Branch (819:5): [True: 2.16k, False: 0]
  ------------------
  820|       |
  821|  2.16k|    res = cfunc(self, (args_o + 1), total_args - 1);
  822|  2.16k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  2.16k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  823|  2.16k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (823:5): [True: 2.16k, False: 0]
  ------------------
  824|  2.16k|    return res;
  825|  2.16k|}
_PyCallMethodDescriptorFastWithKeywords_StackRef:
  834|    107|{
  835|    107|    PyObject *res;
  836|    107|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|    107|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|    107|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  837|    107|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|    107|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 107]
  |  |  ------------------
  ------------------
  838|      0|        return NULL;
  839|      0|    }
  840|    107|    assert(self == PyStackRef_AsPyObjectBorrow(arguments[0]));
  ------------------
  |  Branch (840:5): [True: 107, False: 0]
  ------------------
  841|       |
  842|    107|    res = cfunc(self, (args_o + 1), total_args-1, NULL);
  843|    107|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|    107|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  844|    107|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (844:5): [True: 107, False: 0]
  ------------------
  845|    107|    return res;
  846|    107|}
_Py_CallBuiltinClass_StackRef:
  853|    405|{
  854|    405|    PyObject *res;
  855|    405|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|    405|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|    405|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  856|    405|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|    405|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 405]
  |  |  ------------------
  ------------------
  857|      0|        return NULL;
  858|      0|    }
  859|    405|    PyTypeObject *tp = (PyTypeObject *)PyStackRef_AsPyObjectBorrow(callable);
  860|    405|    res = tp->tp_vectorcall((PyObject *)tp, args_o, total_args | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
  ------------------
  |  |  287|    405|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    405|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  861|    405|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|    405|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  862|    405|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (862:5): [True: 405, False: 0]
  ------------------
  863|    405|    return res;
  864|    405|}
_Py_BuildString_StackRefSteal:
  870|    271|{
  871|    271|    PyObject *res;
  872|    271|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|    271|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|    271|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  873|    271|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|    271|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 271]
  |  |  ------------------
  ------------------
  874|      0|        res = NULL;
  875|      0|        goto cleanup;
  876|      0|    }
  877|    271|    res = _PyUnicode_JoinArray(&_Py_STR(empty), args_o, total_args);
  ------------------
  |  |  953|    271|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    271|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    271|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  878|    271|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|    271|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  879|    271|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (879:5): [True: 271, False: 0]
  ------------------
  880|    271|cleanup:
  881|       |    // arguments is a pointer into the GC visible stack,
  882|       |    // so we must NULL out values as we clear them.
  883|  1.35k|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (883:32): [True: 1.07k, False: 271]
  ------------------
  884|  1.07k|        _PyStackRef tmp = arguments[i];
  885|  1.07k|        arguments[i] = PyStackRef_NULL;
  886|  1.07k|        PyStackRef_CLOSE(tmp);
  887|  1.07k|    }
  888|    271|    return res;
  889|    271|}
_Py_BuildMap_StackRefSteal:
  895|    638|{
  896|    638|    PyObject *res;
  897|    638|    STACKREFS_TO_PYOBJECTS(arguments, half_args*2, args_o);
  ------------------
  |  |  522|    638|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|    638|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  898|    638|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|    638|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 638]
  |  |  ------------------
  ------------------
  899|      0|        res = NULL;
  900|      0|        goto cleanup;
  901|      0|    }
  902|    638|    res = _PyDict_FromItems(
  903|    638|        args_o, 2,
  904|    638|        args_o+1, 2,
  905|    638|        half_args
  906|    638|    );
  907|    638|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|    638|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  908|    638|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (908:5): [True: 638, False: 0]
  ------------------
  909|    638|cleanup:
  910|       |    // arguments is a pointer into the GC visible stack,
  911|       |    // so we must NULL out values as we clear them.
  912|  1.35k|    for (int i = half_args*2-1; i >= 0; i--) {
  ------------------
  |  Branch (912:33): [True: 716, False: 638]
  ------------------
  913|    716|        _PyStackRef tmp = arguments[i];
  914|    716|        arguments[i] = PyStackRef_NULL;
  915|    716|        PyStackRef_CLOSE(tmp);
  916|    716|    }
  917|    638|    return res;
  918|    638|}
_Py_LoadAttr_StackRefSteal:
  924|  1.19k|{
  925|       |    // Use _PyCStackRefs to ensure that both method and self are visible to
  926|       |    // the GC. Even though self_or_null is on the evaluation stack, it may be
  927|       |    // after the stackpointer and therefore not visible to the GC.
  928|  1.19k|    _PyCStackRef method, self;
  929|  1.19k|    _PyThreadState_PushCStackRef(tstate, &method);
  930|  1.19k|    _PyThreadState_PushCStackRef(tstate, &self);
  931|  1.19k|    self.ref = owner;  // steal reference to owner
  932|       |    // NOTE: method.ref is initialized to PyStackRef_NULL and remains null on
  933|       |    // error, so we don't need to explicitly use the return code from the call.
  934|  1.19k|    _PyObject_GetMethodStackRef(tstate, &self.ref, name, &method.ref);
  935|  1.19k|    *self_or_null = _PyThreadState_PopCStackRefSteal(tstate, &self);
  936|  1.19k|    return _PyThreadState_PopCStackRefSteal(tstate, &method);
  937|  1.19k|}
_PyObjectArray_FromStackRefArray:
 1012|  10.3k|{
 1013|  10.3k|    PyObject **result;
 1014|  10.3k|    if (nargs > MAX_STACKREF_SCRATCH) {
  ------------------
  |  |  518|  10.3k|#define MAX_STACKREF_SCRATCH 10
  ------------------
  |  Branch (1014:9): [True: 14, False: 10.3k]
  ------------------
 1015|       |        // +1 in case PY_VECTORCALL_ARGUMENTS_OFFSET is set.
 1016|     14|        result = PyMem_Malloc((nargs + 1) * sizeof(PyObject *));
 1017|     14|        if (result == NULL) {
  ------------------
  |  Branch (1017:13): [True: 0, False: 14]
  ------------------
 1018|      0|            PyErr_NoMemory();
 1019|      0|            return NULL;
 1020|      0|        }
 1021|     14|    }
 1022|  10.3k|    else {
 1023|  10.3k|        result = scratch;
 1024|  10.3k|    }
 1025|  10.3k|    result++;
 1026|  10.3k|    result[0] = NULL; /* Keep GCC happy */
 1027|  29.2k|    for (int i = 0; i < nargs; i++) {
  ------------------
  |  Branch (1027:21): [True: 18.8k, False: 10.3k]
  ------------------
 1028|  18.8k|        result[i] = PyStackRef_AsPyObjectBorrow(input[i]);
 1029|  18.8k|    }
 1030|  10.3k|    return result;
 1031|  10.3k|}
_PyObjectArray_Free:
 1035|  10.3k|{
 1036|  10.3k|    if (array != scratch) {
  ------------------
  |  Branch (1036:9): [True: 14, False: 10.3k]
  ------------------
 1037|     14|        PyMem_Free(array);
 1038|     14|    }
 1039|  10.3k|}
_PyEval_GetIter:
 1077|    259|{
 1078|    259|    PyTypeObject *tp = PyStackRef_TYPE(iterable);
 1079|    259|    if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (1079:9): [True: 121, False: 138]
  ------------------
 1080|       |        /* Leave iterable on stack and pushed tagged 0 */
 1081|    121|        *index_or_null = PyStackRef_TagInt(0);
 1082|    121|        return iterable;
 1083|    121|    }
 1084|    138|    *index_or_null = PyStackRef_NULL;
 1085|    138|    if (tp->tp_iter == PyObject_SelfIter) {
  ------------------
  |  Branch (1085:9): [True: 7, False: 131]
  ------------------
 1086|      7|        return iterable;
 1087|      7|    }
 1088|    131|    if (yield_from && tp == &PyCoro_Type) {
  ------------------
  |  Branch (1088:9): [True: 0, False: 131]
  |  Branch (1088:23): [True: 0, False: 0]
  ------------------
 1089|      0|        assert(yield_from != GET_ITER_YIELD_FROM);
  ------------------
  |  Branch (1089:9): [True: 0, False: 0]
  ------------------
 1090|      0|        if (yield_from == GET_ITER_YIELD_FROM_CORO_CHECK) {
  ------------------
  |  |   99|      0|#define GET_ITER_YIELD_FROM_CORO_CHECK 3
  ------------------
  |  Branch (1090:13): [True: 0, False: 0]
  ------------------
 1091|       |            /* `iterable` is a coroutine and it is used in a 'yield from'
 1092|       |            * expression of a regular generator. */
 1093|      0|            PyErr_SetString(PyExc_TypeError,
 1094|      0|                            "cannot 'yield from' a coroutine object "
 1095|      0|                            "in a non-coroutine generator");
 1096|      0|            PyStackRef_CLOSE(iterable);
 1097|      0|            return PyStackRef_ERROR;
 1098|      0|        }
 1099|      0|        return iterable;
 1100|      0|    }
 1101|       |    /* Pop iterable, and push iterator then NULL */
 1102|    131|    PyObject *iter_o = PyObject_GetIter(PyStackRef_AsPyObjectBorrow(iterable));
 1103|    131|    PyStackRef_CLOSE(iterable);
 1104|    131|    if (iter_o == NULL) {
  ------------------
  |  Branch (1104:9): [True: 0, False: 131]
  ------------------
 1105|      0|        return PyStackRef_ERROR;
 1106|      0|    }
 1107|    131|    return PyStackRef_FromPyObjectSteal(iter_o);
 1108|    131|}
_PyEval_StoreName:
 1111|  5.18k|{
 1112|  5.18k|    int deletion = PyStackRef_IsNull(v);
  ------------------
  |  |  482|  5.18k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  5.18k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  5.18k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1113|       |
 1114|  5.18k|    if (ns == NULL) {
  ------------------
  |  Branch (1114:9): [True: 0, False: 5.18k]
  ------------------
 1115|      0|        const char *msg = deletion
  ------------------
  |  Branch (1115:27): [True: 0, False: 0]
  ------------------
 1116|      0|            ? "no locals found when deleting %R"
 1117|      0|            : "no locals found when storing %R";
 1118|      0|        _PyErr_Format(tstate, PyExc_SystemError, msg, name);
 1119|      0|        return 1;
 1120|      0|    }
 1121|       |
 1122|  5.18k|    if (deletion) {
  ------------------
  |  Branch (1122:9): [True: 36, False: 5.14k]
  ------------------
 1123|     36|        int error = PyObject_DelItem(ns, name);
 1124|     36|        if (error) {
  ------------------
  |  Branch (1124:13): [True: 0, False: 36]
  ------------------
 1125|      0|            _PyEval_FormatExcCheckArg(tstate, PyExc_NameError,
 1126|      0|                                    NAME_ERROR_MSG,
  ------------------
  |  |  405|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 1127|      0|                                    name);
 1128|      0|        }
 1129|     36|        return error;
 1130|     36|    }
 1131|       |
 1132|  5.14k|    PyObject *v_o = PyStackRef_AsPyObjectBorrow(v);
 1133|  5.14k|    if (PyDict_CheckExact(ns)) {
  ------------------
  |  |   19|  5.14k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |   65|  5.14k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 5.06k, False: 79]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1134|  5.06k|        return PyDict_SetItem(ns, name, v_o);
 1135|  5.06k|    }
 1136|       |
 1137|     79|    return PyObject_SetItem(ns, name, v_o);
 1138|  5.14k|}
_PyEval_EvalFrameDefault:
 1211|  2.21k|{
 1212|  2.21k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  214|  2.21k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 1213|  2.21k|    check_invalid_reentrancy();
 1214|  2.21k|    CALL_STAT_INC(pyeval_calls);
  ------------------
  |  |   76|  2.21k|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 1215|       |
 1216|  2.21k|#if USE_COMPUTED_GOTOS && !_Py_TAIL_CALL_INTERP
 1217|       |/* Import the static jump table */
 1218|  2.21k|#include "opcode_targets.h"
  ------------------
  |  |    1|  2.21k|#if !_Py_TAIL_CALL_INTERP
  |  |    2|  2.21k|static void *opcode_targets_table[256] = {
  |  |    3|  2.21k|    &&TARGET_CACHE,
  |  |    4|  2.21k|    &&TARGET_BINARY_SLICE,
  |  |    5|  2.21k|    &&TARGET_BUILD_TEMPLATE,
  |  |    6|  2.21k|    &&TARGET_BINARY_OP_INPLACE_ADD_UNICODE,
  |  |    7|  2.21k|    &&TARGET_CALL_FUNCTION_EX,
  |  |    8|  2.21k|    &&TARGET_CHECK_EG_MATCH,
  |  |    9|  2.21k|    &&TARGET_CHECK_EXC_MATCH,
  |  |   10|  2.21k|    &&TARGET_CLEANUP_THROW,
  |  |   11|  2.21k|    &&TARGET_DELETE_SUBSCR,
  |  |   12|  2.21k|    &&TARGET_END_FOR,
  |  |   13|  2.21k|    &&TARGET_END_SEND,
  |  |   14|  2.21k|    &&TARGET_EXIT_INIT_CHECK,
  |  |   15|  2.21k|    &&TARGET_FORMAT_SIMPLE,
  |  |   16|  2.21k|    &&TARGET_FORMAT_WITH_SPEC,
  |  |   17|  2.21k|    &&TARGET_GET_AITER,
  |  |   18|  2.21k|    &&TARGET_GET_ANEXT,
  |  |   19|  2.21k|    &&TARGET_GET_LEN,
  |  |   20|  2.21k|    &&TARGET_RESERVED,
  |  |   21|  2.21k|    &&TARGET_INTERPRETER_EXIT,
  |  |   22|  2.21k|    &&TARGET_LOAD_BUILD_CLASS,
  |  |   23|  2.21k|    &&TARGET_LOAD_LOCALS,
  |  |   24|  2.21k|    &&TARGET_MAKE_FUNCTION,
  |  |   25|  2.21k|    &&TARGET_MATCH_KEYS,
  |  |   26|  2.21k|    &&TARGET_MATCH_MAPPING,
  |  |   27|  2.21k|    &&TARGET_MATCH_SEQUENCE,
  |  |   28|  2.21k|    &&TARGET_NOP,
  |  |   29|  2.21k|    &&TARGET_NOT_TAKEN,
  |  |   30|  2.21k|    &&TARGET_POP_EXCEPT,
  |  |   31|  2.21k|    &&TARGET_POP_ITER,
  |  |   32|  2.21k|    &&TARGET_POP_TOP,
  |  |   33|  2.21k|    &&TARGET_PUSH_EXC_INFO,
  |  |   34|  2.21k|    &&TARGET_PUSH_NULL,
  |  |   35|  2.21k|    &&TARGET_RETURN_GENERATOR,
  |  |   36|  2.21k|    &&TARGET_RETURN_VALUE,
  |  |   37|  2.21k|    &&TARGET_SETUP_ANNOTATIONS,
  |  |   38|  2.21k|    &&TARGET_STORE_SLICE,
  |  |   39|  2.21k|    &&TARGET_STORE_SUBSCR,
  |  |   40|  2.21k|    &&TARGET_TO_BOOL,
  |  |   41|  2.21k|    &&TARGET_UNARY_INVERT,
  |  |   42|  2.21k|    &&TARGET_UNARY_NEGATIVE,
  |  |   43|  2.21k|    &&TARGET_UNARY_NOT,
  |  |   44|  2.21k|    &&TARGET_WITH_EXCEPT_START,
  |  |   45|  2.21k|    &&TARGET_BINARY_OP,
  |  |   46|  2.21k|    &&TARGET_BUILD_INTERPOLATION,
  |  |   47|  2.21k|    &&TARGET_BUILD_LIST,
  |  |   48|  2.21k|    &&TARGET_BUILD_MAP,
  |  |   49|  2.21k|    &&TARGET_BUILD_SET,
  |  |   50|  2.21k|    &&TARGET_BUILD_SLICE,
  |  |   51|  2.21k|    &&TARGET_BUILD_STRING,
  |  |   52|  2.21k|    &&TARGET_BUILD_TUPLE,
  |  |   53|  2.21k|    &&TARGET_CALL,
  |  |   54|  2.21k|    &&TARGET_CALL_INTRINSIC_1,
  |  |   55|  2.21k|    &&TARGET_CALL_INTRINSIC_2,
  |  |   56|  2.21k|    &&TARGET_CALL_KW,
  |  |   57|  2.21k|    &&TARGET_COMPARE_OP,
  |  |   58|  2.21k|    &&TARGET_CONTAINS_OP,
  |  |   59|  2.21k|    &&TARGET_CONVERT_VALUE,
  |  |   60|  2.21k|    &&TARGET_COPY,
  |  |   61|  2.21k|    &&TARGET_COPY_FREE_VARS,
  |  |   62|  2.21k|    &&TARGET_DELETE_DEREF,
  |  |   63|  2.21k|    &&TARGET_DELETE_FAST,
  |  |   64|  2.21k|    &&TARGET_DICT_MERGE,
  |  |   65|  2.21k|    &&TARGET_DICT_UPDATE,
  |  |   66|  2.21k|    &&TARGET_END_ASYNC_FOR,
  |  |   67|  2.21k|    &&TARGET_EXTENDED_ARG,
  |  |   68|  2.21k|    &&TARGET_FOR_ITER,
  |  |   69|  2.21k|    &&TARGET_GET_AWAITABLE,
  |  |   70|  2.21k|    &&TARGET_GET_ITER,
  |  |   71|  2.21k|    &&TARGET_IMPORT_FROM,
  |  |   72|  2.21k|    &&TARGET_IMPORT_NAME,
  |  |   73|  2.21k|    &&TARGET_IS_OP,
  |  |   74|  2.21k|    &&TARGET_JUMP_BACKWARD,
  |  |   75|  2.21k|    &&TARGET_JUMP_BACKWARD_NO_INTERRUPT,
  |  |   76|  2.21k|    &&TARGET_JUMP_FORWARD,
  |  |   77|  2.21k|    &&TARGET_LIST_APPEND,
  |  |   78|  2.21k|    &&TARGET_LIST_EXTEND,
  |  |   79|  2.21k|    &&TARGET_LOAD_ATTR,
  |  |   80|  2.21k|    &&TARGET_LOAD_COMMON_CONSTANT,
  |  |   81|  2.21k|    &&TARGET_LOAD_CONST,
  |  |   82|  2.21k|    &&TARGET_LOAD_DEREF,
  |  |   83|  2.21k|    &&TARGET_LOAD_FAST,
  |  |   84|  2.21k|    &&TARGET_LOAD_FAST_AND_CLEAR,
  |  |   85|  2.21k|    &&TARGET_LOAD_FAST_BORROW,
  |  |   86|  2.21k|    &&TARGET_LOAD_FAST_BORROW_LOAD_FAST_BORROW,
  |  |   87|  2.21k|    &&TARGET_LOAD_FAST_CHECK,
  |  |   88|  2.21k|    &&TARGET_LOAD_FAST_LOAD_FAST,
  |  |   89|  2.21k|    &&TARGET_LOAD_FROM_DICT_OR_DEREF,
  |  |   90|  2.21k|    &&TARGET_LOAD_FROM_DICT_OR_GLOBALS,
  |  |   91|  2.21k|    &&TARGET_LOAD_GLOBAL,
  |  |   92|  2.21k|    &&TARGET_LOAD_NAME,
  |  |   93|  2.21k|    &&TARGET_LOAD_SMALL_INT,
  |  |   94|  2.21k|    &&TARGET_LOAD_SPECIAL,
  |  |   95|  2.21k|    &&TARGET_LOAD_SUPER_ATTR,
  |  |   96|  2.21k|    &&TARGET_MAKE_CELL,
  |  |   97|  2.21k|    &&TARGET_MAP_ADD,
  |  |   98|  2.21k|    &&TARGET_MATCH_CLASS,
  |  |   99|  2.21k|    &&TARGET_POP_JUMP_IF_FALSE,
  |  |  100|  2.21k|    &&TARGET_POP_JUMP_IF_NONE,
  |  |  101|  2.21k|    &&TARGET_POP_JUMP_IF_NOT_NONE,
  |  |  102|  2.21k|    &&TARGET_POP_JUMP_IF_TRUE,
  |  |  103|  2.21k|    &&TARGET_RAISE_VARARGS,
  |  |  104|  2.21k|    &&TARGET_RERAISE,
  |  |  105|  2.21k|    &&TARGET_SEND,
  |  |  106|  2.21k|    &&TARGET_SET_ADD,
  |  |  107|  2.21k|    &&TARGET_SET_FUNCTION_ATTRIBUTE,
  |  |  108|  2.21k|    &&TARGET_SET_UPDATE,
  |  |  109|  2.21k|    &&TARGET_STORE_ATTR,
  |  |  110|  2.21k|    &&TARGET_STORE_DEREF,
  |  |  111|  2.21k|    &&TARGET_STORE_FAST,
  |  |  112|  2.21k|    &&TARGET_STORE_FAST_LOAD_FAST,
  |  |  113|  2.21k|    &&TARGET_STORE_FAST_STORE_FAST,
  |  |  114|  2.21k|    &&TARGET_STORE_GLOBAL,
  |  |  115|  2.21k|    &&TARGET_STORE_NAME,
  |  |  116|  2.21k|    &&TARGET_SWAP,
  |  |  117|  2.21k|    &&TARGET_UNPACK_EX,
  |  |  118|  2.21k|    &&TARGET_UNPACK_SEQUENCE,
  |  |  119|  2.21k|    &&TARGET_YIELD_VALUE,
  |  |  120|  2.21k|    &&_unknown_opcode,
  |  |  121|  2.21k|    &&_unknown_opcode,
  |  |  122|  2.21k|    &&_unknown_opcode,
  |  |  123|  2.21k|    &&_unknown_opcode,
  |  |  124|  2.21k|    &&_unknown_opcode,
  |  |  125|  2.21k|    &&_unknown_opcode,
  |  |  126|  2.21k|    &&_unknown_opcode,
  |  |  127|  2.21k|    &&_unknown_opcode,
  |  |  128|  2.21k|    &&_unknown_opcode,
  |  |  129|  2.21k|    &&_unknown_opcode,
  |  |  130|  2.21k|    &&_unknown_opcode,
  |  |  131|  2.21k|    &&TARGET_RESUME,
  |  |  132|  2.21k|    &&TARGET_BINARY_OP_ADD_FLOAT,
  |  |  133|  2.21k|    &&TARGET_BINARY_OP_ADD_INT,
  |  |  134|  2.21k|    &&TARGET_BINARY_OP_ADD_UNICODE,
  |  |  135|  2.21k|    &&TARGET_BINARY_OP_EXTEND,
  |  |  136|  2.21k|    &&TARGET_BINARY_OP_MULTIPLY_FLOAT,
  |  |  137|  2.21k|    &&TARGET_BINARY_OP_MULTIPLY_INT,
  |  |  138|  2.21k|    &&TARGET_BINARY_OP_SUBSCR_DICT,
  |  |  139|  2.21k|    &&TARGET_BINARY_OP_SUBSCR_GETITEM,
  |  |  140|  2.21k|    &&TARGET_BINARY_OP_SUBSCR_LIST_INT,
  |  |  141|  2.21k|    &&TARGET_BINARY_OP_SUBSCR_LIST_SLICE,
  |  |  142|  2.21k|    &&TARGET_BINARY_OP_SUBSCR_STR_INT,
  |  |  143|  2.21k|    &&TARGET_BINARY_OP_SUBSCR_TUPLE_INT,
  |  |  144|  2.21k|    &&TARGET_BINARY_OP_SUBSCR_USTR_INT,
  |  |  145|  2.21k|    &&TARGET_BINARY_OP_SUBTRACT_FLOAT,
  |  |  146|  2.21k|    &&TARGET_BINARY_OP_SUBTRACT_INT,
  |  |  147|  2.21k|    &&TARGET_CALL_ALLOC_AND_ENTER_INIT,
  |  |  148|  2.21k|    &&TARGET_CALL_BOUND_METHOD_EXACT_ARGS,
  |  |  149|  2.21k|    &&TARGET_CALL_BOUND_METHOD_GENERAL,
  |  |  150|  2.21k|    &&TARGET_CALL_BUILTIN_CLASS,
  |  |  151|  2.21k|    &&TARGET_CALL_BUILTIN_FAST,
  |  |  152|  2.21k|    &&TARGET_CALL_BUILTIN_FAST_WITH_KEYWORDS,
  |  |  153|  2.21k|    &&TARGET_CALL_BUILTIN_O,
  |  |  154|  2.21k|    &&TARGET_CALL_EX_NON_PY_GENERAL,
  |  |  155|  2.21k|    &&TARGET_CALL_EX_PY,
  |  |  156|  2.21k|    &&TARGET_CALL_ISINSTANCE,
  |  |  157|  2.21k|    &&TARGET_CALL_KW_BOUND_METHOD,
  |  |  158|  2.21k|    &&TARGET_CALL_KW_NON_PY,
  |  |  159|  2.21k|    &&TARGET_CALL_KW_PY,
  |  |  160|  2.21k|    &&TARGET_CALL_LEN,
  |  |  161|  2.21k|    &&TARGET_CALL_LIST_APPEND,
  |  |  162|  2.21k|    &&TARGET_CALL_METHOD_DESCRIPTOR_FAST,
  |  |  163|  2.21k|    &&TARGET_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS,
  |  |  164|  2.21k|    &&TARGET_CALL_METHOD_DESCRIPTOR_NOARGS,
  |  |  165|  2.21k|    &&TARGET_CALL_METHOD_DESCRIPTOR_O,
  |  |  166|  2.21k|    &&TARGET_CALL_NON_PY_GENERAL,
  |  |  167|  2.21k|    &&TARGET_CALL_PY_EXACT_ARGS,
  |  |  168|  2.21k|    &&TARGET_CALL_PY_GENERAL,
  |  |  169|  2.21k|    &&TARGET_CALL_STR_1,
  |  |  170|  2.21k|    &&TARGET_CALL_TUPLE_1,
  |  |  171|  2.21k|    &&TARGET_CALL_TYPE_1,
  |  |  172|  2.21k|    &&TARGET_COMPARE_OP_FLOAT,
  |  |  173|  2.21k|    &&TARGET_COMPARE_OP_INT,
  |  |  174|  2.21k|    &&TARGET_COMPARE_OP_STR,
  |  |  175|  2.21k|    &&TARGET_CONTAINS_OP_DICT,
  |  |  176|  2.21k|    &&TARGET_CONTAINS_OP_SET,
  |  |  177|  2.21k|    &&TARGET_FOR_ITER_GEN,
  |  |  178|  2.21k|    &&TARGET_FOR_ITER_LIST,
  |  |  179|  2.21k|    &&TARGET_FOR_ITER_RANGE,
  |  |  180|  2.21k|    &&TARGET_FOR_ITER_TUPLE,
  |  |  181|  2.21k|    &&TARGET_FOR_ITER_VIRTUAL,
  |  |  182|  2.21k|    &&TARGET_GET_ITER_SELF,
  |  |  183|  2.21k|    &&TARGET_GET_ITER_VIRTUAL,
  |  |  184|  2.21k|    &&TARGET_JUMP_BACKWARD_JIT,
  |  |  185|  2.21k|    &&TARGET_JUMP_BACKWARD_NO_JIT,
  |  |  186|  2.21k|    &&TARGET_LOAD_ATTR_CLASS,
  |  |  187|  2.21k|    &&TARGET_LOAD_ATTR_CLASS_WITH_METACLASS_CHECK,
  |  |  188|  2.21k|    &&TARGET_LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN,
  |  |  189|  2.21k|    &&TARGET_LOAD_ATTR_INSTANCE_VALUE,
  |  |  190|  2.21k|    &&TARGET_LOAD_ATTR_METHOD_LAZY_DICT,
  |  |  191|  2.21k|    &&TARGET_LOAD_ATTR_METHOD_NO_DICT,
  |  |  192|  2.21k|    &&TARGET_LOAD_ATTR_METHOD_WITH_VALUES,
  |  |  193|  2.21k|    &&TARGET_LOAD_ATTR_MODULE,
  |  |  194|  2.21k|    &&TARGET_LOAD_ATTR_NONDESCRIPTOR_NO_DICT,
  |  |  195|  2.21k|    &&TARGET_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES,
  |  |  196|  2.21k|    &&TARGET_LOAD_ATTR_PROPERTY,
  |  |  197|  2.21k|    &&TARGET_LOAD_ATTR_SLOT,
  |  |  198|  2.21k|    &&TARGET_LOAD_ATTR_WITH_HINT,
  |  |  199|  2.21k|    &&TARGET_LOAD_GLOBAL_BUILTIN,
  |  |  200|  2.21k|    &&TARGET_LOAD_GLOBAL_MODULE,
  |  |  201|  2.21k|    &&TARGET_LOAD_SUPER_ATTR_ATTR,
  |  |  202|  2.21k|    &&TARGET_LOAD_SUPER_ATTR_METHOD,
  |  |  203|  2.21k|    &&TARGET_RESUME_CHECK,
  |  |  204|  2.21k|    &&TARGET_RESUME_CHECK_JIT,
  |  |  205|  2.21k|    &&TARGET_SEND_ASYNC_GEN,
  |  |  206|  2.21k|    &&TARGET_SEND_GEN,
  |  |  207|  2.21k|    &&TARGET_SEND_VIRTUAL,
  |  |  208|  2.21k|    &&TARGET_STORE_ATTR_INSTANCE_VALUE,
  |  |  209|  2.21k|    &&TARGET_STORE_ATTR_SLOT,
  |  |  210|  2.21k|    &&TARGET_STORE_ATTR_WITH_HINT,
  |  |  211|  2.21k|    &&TARGET_STORE_SUBSCR_DICT,
  |  |  212|  2.21k|    &&TARGET_STORE_SUBSCR_LIST_INT,
  |  |  213|  2.21k|    &&TARGET_TO_BOOL_ALWAYS_TRUE,
  |  |  214|  2.21k|    &&TARGET_TO_BOOL_BOOL,
  |  |  215|  2.21k|    &&TARGET_TO_BOOL_INT,
  |  |  216|  2.21k|    &&TARGET_TO_BOOL_LIST,
  |  |  217|  2.21k|    &&TARGET_TO_BOOL_NONE,
  |  |  218|  2.21k|    &&TARGET_TO_BOOL_STR,
  |  |  219|  2.21k|    &&TARGET_UNPACK_SEQUENCE_LIST,
  |  |  220|  2.21k|    &&TARGET_UNPACK_SEQUENCE_TUPLE,
  |  |  221|  2.21k|    &&TARGET_UNPACK_SEQUENCE_TWO_TUPLE,
  |  |  222|  2.21k|    &&_unknown_opcode,
  |  |  223|  2.21k|    &&_unknown_opcode,
  |  |  224|  2.21k|    &&_unknown_opcode,
  |  |  225|  2.21k|    &&_unknown_opcode,
  |  |  226|  2.21k|    &&_unknown_opcode,
  |  |  227|  2.21k|    &&_unknown_opcode,
  |  |  228|  2.21k|    &&_unknown_opcode,
  |  |  229|  2.21k|    &&_unknown_opcode,
  |  |  230|  2.21k|    &&_unknown_opcode,
  |  |  231|  2.21k|    &&_unknown_opcode,
  |  |  232|  2.21k|    &&_unknown_opcode,
  |  |  233|  2.21k|    &&_unknown_opcode,
  |  |  234|  2.21k|    &&_unknown_opcode,
  |  |  235|  2.21k|    &&_unknown_opcode,
  |  |  236|  2.21k|    &&TARGET_INSTRUMENTED_END_FOR,
  |  |  237|  2.21k|    &&TARGET_INSTRUMENTED_POP_ITER,
  |  |  238|  2.21k|    &&TARGET_INSTRUMENTED_END_SEND,
  |  |  239|  2.21k|    &&TARGET_INSTRUMENTED_FOR_ITER,
  |  |  240|  2.21k|    &&TARGET_INSTRUMENTED_INSTRUCTION,
  |  |  241|  2.21k|    &&TARGET_INSTRUMENTED_JUMP_FORWARD,
  |  |  242|  2.21k|    &&TARGET_INSTRUMENTED_NOT_TAKEN,
  |  |  243|  2.21k|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_TRUE,
  |  |  244|  2.21k|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_FALSE,
  |  |  245|  2.21k|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_NONE,
  |  |  246|  2.21k|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_NOT_NONE,
  |  |  247|  2.21k|    &&TARGET_INSTRUMENTED_RESUME,
  |  |  248|  2.21k|    &&TARGET_INSTRUMENTED_RETURN_VALUE,
  |  |  249|  2.21k|    &&TARGET_INSTRUMENTED_YIELD_VALUE,
  |  |  250|  2.21k|    &&TARGET_INSTRUMENTED_END_ASYNC_FOR,
  |  |  251|  2.21k|    &&TARGET_INSTRUMENTED_LOAD_SUPER_ATTR,
  |  |  252|  2.21k|    &&TARGET_INSTRUMENTED_CALL,
  |  |  253|  2.21k|    &&TARGET_INSTRUMENTED_CALL_KW,
  |  |  254|  2.21k|    &&TARGET_INSTRUMENTED_CALL_FUNCTION_EX,
  |  |  255|  2.21k|    &&TARGET_INSTRUMENTED_JUMP_BACKWARD,
  |  |  256|  2.21k|    &&TARGET_INSTRUMENTED_LINE,
  |  |  257|  2.21k|    &&TARGET_ENTER_EXECUTOR,
  |  |  258|  2.21k|    &&TARGET_TRACE_RECORD,
  |  |  259|  2.21k|};
  |  |  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 */
  ------------------
 1219|  2.21k|    void **opcode_targets = opcode_targets_table;
 1220|  2.21k|#endif
 1221|       |
 1222|       |#ifdef Py_STATS
 1223|       |    int lastopcode = 0;
 1224|       |#endif
 1225|  2.21k|#if !_Py_TAIL_CALL_INTERP
 1226|  2.21k|    uint8_t opcode;    /* Current opcode */
 1227|  2.21k|    int oparg;         /* Current opcode argument, if any */
 1228|  2.21k|    assert(tstate->current_frame == NULL || tstate->current_frame->stackpointer != NULL);
  ------------------
  |  Branch (1228:5): [True: 0, False: 2.21k]
  |  Branch (1228:5): [True: 2.21k, False: 0]
  ------------------
 1229|       |#if !USE_COMPUTED_GOTOS
 1230|       |    uint8_t tracing_mode = 0;
 1231|       |    uint8_t dispatch_code;
 1232|       |#endif
 1233|  2.21k|#endif
 1234|  2.21k|    _PyEntryFrame entry;
 1235|       |
 1236|  2.21k|    if (_Py_EnterRecursiveCallTstate(tstate, "")) {
  ------------------
  |  Branch (1236:9): [True: 0, False: 2.21k]
  ------------------
 1237|      0|        assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  ------------------
  |  Branch (1237:9): [True: 0, False: 0]
  ------------------
 1238|      0|        _PyEval_FrameClearAndPop(tstate, frame);
 1239|      0|        return NULL;
 1240|      0|    }
 1241|       |
 1242|       |    /* Local "register" variables.
 1243|       |     * These are cached values from the frame and code object.  */
 1244|  2.21k|    _Py_CODEUNIT *next_instr;
 1245|  2.21k|    _PyStackRef *stack_pointer;
 1246|  2.21k|    entry.stack[0] = PyStackRef_NULL;
 1247|       |#ifdef Py_STACKREF_DEBUG
 1248|       |    entry.frame.f_funcobj = PyStackRef_None;
 1249|       |#elif defined(Py_DEBUG)
 1250|       |    /* Set these to invalid but identifiable values for debugging. */
 1251|       |    entry.frame.f_funcobj = (_PyStackRef){.bits = 0xaaa0};
 1252|       |    entry.frame.f_locals = (PyObject*)0xaaa1;
 1253|       |    entry.frame.frame_obj = (PyFrameObject*)0xaaa2;
 1254|       |    entry.frame.f_globals = (PyObject*)0xaaa3;
 1255|       |    entry.frame.f_builtins = (PyObject*)0xaaa4;
 1256|       |#endif
 1257|  2.21k|    entry.frame.f_executable = PyStackRef_None;
  ------------------
  |  |  485|  2.21k|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|  2.21k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1258|  2.21k|    entry.frame.instr_ptr = (_Py_CODEUNIT *)_Py_INTERPRETER_TRAMPOLINE_INSTRUCTIONS + 1;
 1259|  2.21k|    entry.frame.stackpointer = entry.stack;
 1260|  2.21k|    entry.frame.owner = FRAME_OWNED_BY_INTERPRETER;
 1261|  2.21k|    entry.frame.visited = 0;
 1262|  2.21k|    entry.frame.return_offset = 0;
 1263|       |#ifdef Py_DEBUG
 1264|       |    entry.frame.lltrace = 0;
 1265|       |    entry.frame.stackpointer_valid = 1;
 1266|       |#endif
 1267|       |    /* Push frame */
 1268|  2.21k|    entry.frame.previous = tstate->current_frame;
 1269|  2.21k|    frame->previous = &entry.frame;
 1270|  2.21k|    tstate->current_frame = frame;
 1271|  2.21k|    entry.frame.localsplus[0] = PyStackRef_NULL;
 1272|       |#ifdef _Py_TIER2
 1273|       |    if (tstate->current_executor != NULL) {
 1274|       |        assert(Py_TYPE(tstate->current_executor) == &_PyUOpExecutor_Type);
 1275|       |        entry.frame.localsplus[0] = PyStackRef_FromPyObjectNew(tstate->current_executor);
 1276|       |        tstate->current_executor = NULL;
 1277|       |    }
 1278|       |#endif
 1279|       |
 1280|       |    /* support for generator.throw() */
 1281|  2.21k|    if (throwflag) {
  ------------------
  |  Branch (1281:9): [True: 0, False: 2.21k]
  ------------------
 1282|      0|        if (_Py_EnterRecursivePy(tstate)) {
  ------------------
  |  Branch (1282:13): [True: 0, False: 0]
  ------------------
 1283|      0|            goto early_exit;
 1284|      0|        }
 1285|       |#ifdef Py_GIL_DISABLED
 1286|       |        /* Load thread-local bytecode */
 1287|       |        if (frame->tlbc_index != ((_PyThreadStateImpl *)tstate)->tlbc_index) {
 1288|       |            _Py_CODEUNIT *bytecode =
 1289|       |                _PyEval_GetExecutableCode(tstate, _PyFrame_GetCode(frame));
 1290|       |            if (bytecode == NULL) {
 1291|       |                goto early_exit;
 1292|       |            }
 1293|       |            ptrdiff_t off = frame->instr_ptr - _PyFrame_GetBytecode(frame);
 1294|       |            frame->tlbc_index = ((_PyThreadStateImpl *)tstate)->tlbc_index;
 1295|       |            frame->instr_ptr = bytecode + off;
 1296|       |        }
 1297|       |#endif
 1298|       |        /* Because this avoids the RESUME, we need to update instrumentation */
 1299|      0|        _Py_Instrument(_PyFrame_GetCode(frame), tstate->interp);
 1300|      0|        next_instr = frame->instr_ptr;
 1301|      0|        monitor_throw(tstate, frame, next_instr);
 1302|      0|        stack_pointer = _PyFrame_GetStackPointer(frame);
 1303|      0|        _PyFrame_StackPointerInvalidate(frame);
 1304|       |#if _Py_TAIL_CALL_INTERP
 1305|       |#   if Py_STATS
 1306|       |        return _TAIL_CALL_error(frame, stack_pointer, tstate, next_instr, instruction_funcptr_handler_table, 0, lastopcode);
 1307|       |#   else
 1308|       |        return _TAIL_CALL_error(frame, stack_pointer, tstate, next_instr, instruction_funcptr_handler_table, 0);
 1309|       |#   endif
 1310|       |#else
 1311|      0|        goto error;
 1312|      0|#endif
 1313|      0|    }
 1314|       |
 1315|       |#if _Py_TAIL_CALL_INTERP
 1316|       |#   if Py_STATS
 1317|       |        return _TAIL_CALL_start_frame(frame, NULL, tstate, NULL, instruction_funcptr_handler_table, 0, lastopcode);
 1318|       |#   else
 1319|       |        return _TAIL_CALL_start_frame(frame, NULL, tstate, NULL, instruction_funcptr_handler_table, 0);
 1320|       |#   endif
 1321|       |#else
 1322|  2.21k|    goto start_frame;
 1323|  2.21k|#   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|  1.11k|        TARGET(BINARY_OP) {
  |  |  ------------------
  |  |  |  |  132|  1.11k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |   22|       |            #if _Py_TAIL_CALL_INTERP
  |  |   23|       |            int opcode = BINARY_OP;
  |  |   24|       |            (void)(opcode);
  |  |   25|       |            #endif
  |  |   26|  1.11k|            frame->instr_ptr = next_instr;
  |  |   27|  1.11k|            next_instr += 6;
  |  |   28|  1.11k|            INSTRUCTION_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |   71|  1.11k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |   29|  1.13k|            PREDICTED_BINARY_OP:;
  |  |   30|  1.13k|            _Py_CODEUNIT* const this_instr = next_instr - 6;
  |  |   31|  1.13k|            (void)this_instr;
  |  |   32|  1.13k|            _PyStackRef lhs;
  |  |   33|  1.13k|            _PyStackRef rhs;
  |  |   34|  1.13k|            _PyStackRef res;
  |  |   35|  1.13k|            _PyStackRef l;
  |  |   36|  1.13k|            _PyStackRef r;
  |  |   37|  1.13k|            _PyStackRef value;
  |  |   38|       |            // _SPECIALIZE_BINARY_OP
  |  |   39|  1.13k|            {
  |  |   40|  1.13k|                rhs = stack_pointer[-1];
  |  |   41|  1.13k|                lhs = stack_pointer[-2];
  |  |   42|  1.13k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |   43|  1.13k|                (void)counter;
  |  |   44|  1.13k|                #if ENABLE_SPECIALIZATION
  |  |   45|  1.13k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  1.13k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 216, False: 923]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|    216|                    next_instr = this_instr;
  |  |   47|    216|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   48|    216|                    _PyFrame_StackPointerValidate(frame);
  |  |   49|    216|                    _Py_Specialize_BinaryOp(lhs, rhs, next_instr, oparg, LOCALS_ARRAY);
  |  |  ------------------
  |  |  |  |  284|    216|#define LOCALS_ARRAY    (frame->localsplus)
  |  |  ------------------
  |  |   50|    216|                    _PyFrame_StackPointerInvalidate(frame);
  |  |   51|    216|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    216|    { \
  |  |  |  |  217|    216|        opcode = next_instr->op.code; \
  |  |  |  |  218|    216|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    216|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    216|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    216|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    216|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    216|    }
  |  |  ------------------
  |  |   52|    216|                }
  |  |   53|  1.13k|                OPCODE_DEFERRED_INC(BINARY_OP);
  |  |  ------------------
  |  |  |  |   90|  1.13k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |   54|  1.13k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  1.13k|    do { \
  |  |  |  |  378|  1.13k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  1.13k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 1.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   55|  1.13k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |   56|  1.13k|                assert(NB_ADD <= oparg);
  |  |  ------------------
  |  |  |  Branch (56:17): [True: 923, False: 216]
  |  |  ------------------
  |  |   57|  1.13k|                assert(oparg <= NB_OPARG_LAST);
  |  |  ------------------
  |  |  |  Branch (57:17): [True: 923, False: 0]
  |  |  ------------------
  |  |   58|    923|            }
  |  |   59|       |            /* Skip 4 cache entries */
  |  |   60|       |            // _BINARY_OP
  |  |   61|    923|            {
  |  |   62|    923|                PyObject *lhs_o = PyStackRef_AsPyObjectBorrow(lhs);
  |  |   63|    923|                PyObject *rhs_o = PyStackRef_AsPyObjectBorrow(rhs);
  |  |   64|    923|                assert(_PyEval_BinaryOps[oparg]);
  |  |  ------------------
  |  |  |  Branch (64:17): [True: 923, False: 0]
  |  |  ------------------
  |  |   65|    923|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   66|    923|                _PyFrame_StackPointerValidate(frame);
  |  |   67|    923|                PyObject *res_o = _PyEval_BinaryOps[oparg](lhs_o, rhs_o);
  |  |   68|    923|                _PyFrame_StackPointerInvalidate(frame);
  |  |   69|    923|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (69:21): [True: 21, False: 902]
  |  |  ------------------
  |  |   70|     21|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     21|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |   71|      0|                }
  |  |   72|    902|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |   73|    902|                l = lhs;
  |  |   74|    902|                r = rhs;
  |  |   75|    902|            }
  |  |   76|       |            // _POP_TOP
  |  |   77|      0|            {
  |  |   78|    902|                value = r;
  |  |   79|    902|                stack_pointer[-2] = res;
  |  |   80|    902|                stack_pointer[-1] = l;
  |  |   81|    902|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (81:17): [True: 902, False: 0]
  |  |  ------------------
  |  |   82|    902|                _PyFrame_StackPointerValidate(frame);
  |  |   83|    902|                PyStackRef_XCLOSE(value);
  |  |   84|    902|                _PyFrame_StackPointerInvalidate(frame);
  |  |   85|    902|            }
  |  |   86|       |            // _POP_TOP
  |  |   87|      0|            {
  |  |   88|    902|                value = l;
  |  |   89|    902|                stack_pointer += -1;
  |  |   90|    902|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    902|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |   91|    902|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   92|    902|                _PyFrame_StackPointerValidate(frame);
  |  |   93|    902|                PyStackRef_XCLOSE(value);
  |  |   94|    902|                _PyFrame_StackPointerInvalidate(frame);
  |  |   95|    902|            }
  |  |   96|    902|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    902|    { \
  |  |  |  |  201|    902|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    902|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    902|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    902|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    902|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    902|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    902|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    902|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 902]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    902|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    902|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    902|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    902|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    902|    }
  |  |  ------------------
  |  |   97|    902|        }
  |  |   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__);
  |  |  ------------------
  |  |  |  |  514|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    124|        TARGET(BINARY_OP_ADD_INT) {
  |  |  ------------------
  |  |  |  |  132|    124|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  175|       |            #if _Py_TAIL_CALL_INTERP
  |  |  176|       |            int opcode = BINARY_OP_ADD_INT;
  |  |  177|       |            (void)(opcode);
  |  |  178|       |            #endif
  |  |  179|    124|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  180|    124|            (void)this_instr;
  |  |  181|    124|            frame->instr_ptr = next_instr;
  |  |  182|    124|            next_instr += 6;
  |  |  183|    124|            INSTRUCTION_STATS(BINARY_OP_ADD_INT);
  |  |  ------------------
  |  |  |  |   71|    124|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  184|    124|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  185|    124|            _PyStackRef value;
  |  |  186|    124|            _PyStackRef left;
  |  |  187|    124|            _PyStackRef right;
  |  |  188|    124|            _PyStackRef res;
  |  |  189|    124|            _PyStackRef l;
  |  |  190|    124|            _PyStackRef r;
  |  |  191|       |            // _GUARD_TOS_INT
  |  |  192|    124|            {
  |  |  193|    124|                value = stack_pointer[-1];
  |  |  194|    124|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  195|    124|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (195:21): [True: 0, False: 124]
  |  |  ------------------
  |  |  196|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  197|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (197:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  199|      0|                }
  |  |  200|    124|            }
  |  |  201|       |            // _GUARD_NOS_INT
  |  |  202|    124|            {
  |  |  203|    124|                left = stack_pointer[-2];
  |  |  204|    124|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  205|    124|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (205:21): [True: 8, False: 116]
  |  |  ------------------
  |  |  206|      8|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      8|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  207|      8|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (207:21): [True: 8, False: 0]
  |  |  ------------------
  |  |  208|      8|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      8|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  209|      0|                }
  |  |  210|    124|            }
  |  |  211|       |            /* Skip 5 cache entries */
  |  |  212|       |            // _BINARY_OP_ADD_INT
  |  |  213|    116|            {
  |  |  214|    116|                right = value;
  |  |  215|    116|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  216|    116|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  217|    116|                assert(PyLong_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (217:17): [True: 116, False: 0]
  |  |  ------------------
  |  |  218|    116|                assert(PyLong_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (218:17): [True: 116, False: 0]
  |  |  ------------------
  |  |  219|    116|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (219:17): [True: 116, False: 0]
  |  |  ------------------
  |  |  220|    116|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    116|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  221|    116|                res = _PyCompactLong_Add((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  |  222|    116|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  482|    116|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    116|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    116|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 116]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  223|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  224|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (224:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  225|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  226|      0|                }
  |  |  227|    116|                l = left;
  |  |  228|    116|                r = right;
  |  |  229|    116|            }
  |  |  230|       |            // _POP_TOP_INT
  |  |  231|      0|            {
  |  |  232|    116|                value = r;
  |  |  233|    116|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (233:17): [True: 116, False: 0]
  |  |  ------------------
  |  |  234|    116|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  235|    116|            }
  |  |  236|       |            // _POP_TOP_INT
  |  |  237|      0|            {
  |  |  238|    116|                value = l;
  |  |  239|    116|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (239:17): [True: 116, False: 0]
  |  |  ------------------
  |  |  240|    116|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  241|    116|            }
  |  |  242|      0|            stack_pointer[-2] = res;
  |  |  243|    116|            stack_pointer += -1;
  |  |  244|    116|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    116|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  245|    116|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    116|    { \
  |  |  |  |  201|    116|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    116|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    116|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    116|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    116|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    116|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    116|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    116|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 116]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    116|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    116|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    116|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    116|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    116|    }
  |  |  ------------------
  |  |  246|    116|        }
  |  |  247|       |
  |  |  248|    946|        TARGET(BINARY_OP_ADD_UNICODE) {
  |  |  ------------------
  |  |  |  |  132|    946|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  249|       |            #if _Py_TAIL_CALL_INTERP
  |  |  250|       |            int opcode = BINARY_OP_ADD_UNICODE;
  |  |  251|       |            (void)(opcode);
  |  |  252|       |            #endif
  |  |  253|    946|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  254|    946|            (void)this_instr;
  |  |  255|    946|            frame->instr_ptr = next_instr;
  |  |  256|    946|            next_instr += 6;
  |  |  257|    946|            INSTRUCTION_STATS(BINARY_OP_ADD_UNICODE);
  |  |  ------------------
  |  |  |  |   71|    946|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  258|    946|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  259|    946|            _PyStackRef value;
  |  |  260|    946|            _PyStackRef nos;
  |  |  261|    946|            _PyStackRef left;
  |  |  262|    946|            _PyStackRef right;
  |  |  263|    946|            _PyStackRef res;
  |  |  264|    946|            _PyStackRef l;
  |  |  265|    946|            _PyStackRef r;
  |  |  266|       |            // _GUARD_TOS_UNICODE
  |  |  267|    946|            {
  |  |  268|    946|                value = stack_pointer[-1];
  |  |  269|    946|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  270|    946|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|    946|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    946|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    946|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    946|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (270:21): [True: 0, False: 946]
  |  |  ------------------
  |  |  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|    946|            }
  |  |  276|       |            // _GUARD_NOS_UNICODE
  |  |  277|    946|            {
  |  |  278|    946|                nos = stack_pointer[-2];
  |  |  279|    946|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  280|    946|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|    946|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    946|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    946|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    946|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (280:21): [True: 0, False: 946]
  |  |  ------------------
  |  |  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|    946|            }
  |  |  286|       |            /* Skip 5 cache entries */
  |  |  287|       |            // _BINARY_OP_ADD_UNICODE
  |  |  288|    946|            {
  |  |  289|    946|                right = value;
  |  |  290|    946|                left = nos;
  |  |  291|    946|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  292|    946|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  293|    946|                assert(PyUnicode_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (293:17): [True: 946, False: 0]
  |  |  ------------------
  |  |  294|    946|                assert(PyUnicode_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (294:17): [True: 946, False: 0]
  |  |  ------------------
  |  |  295|    946|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    946|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  296|    946|                PyObject *res_o = PyUnicode_Concat(left_o, right_o);
  |  |  297|    946|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (297:21): [True: 0, False: 946]
  |  |  ------------------
  |  |  298|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  299|      0|                }
  |  |  300|    946|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  301|    946|                l = left;
  |  |  302|    946|                r = right;
  |  |  303|    946|            }
  |  |  304|       |            // _POP_TOP_UNICODE
  |  |  305|      0|            {
  |  |  306|    946|                value = r;
  |  |  307|    946|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (307:17): [True: 946, False: 0]
  |  |  ------------------
  |  |  308|    946|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |  309|    946|            }
  |  |  310|       |            // _POP_TOP_UNICODE
  |  |  311|      0|            {
  |  |  312|    946|                value = l;
  |  |  313|    946|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (313:17): [True: 946, False: 0]
  |  |  ------------------
  |  |  314|    946|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |  315|    946|            }
  |  |  316|      0|            stack_pointer[-2] = res;
  |  |  317|    946|            stack_pointer += -1;
  |  |  318|    946|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    946|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  319|    946|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    946|    { \
  |  |  |  |  201|    946|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    946|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    946|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    946|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    946|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    946|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    946|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    946|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 946]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    946|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    946|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    946|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    946|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    946|    }
  |  |  ------------------
  |  |  320|    946|        }
  |  |  321|       |
  |  |  322|    162|        TARGET(BINARY_OP_EXTEND) {
  |  |  ------------------
  |  |  |  |  132|    162|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  323|       |            #if _Py_TAIL_CALL_INTERP
  |  |  324|       |            int opcode = BINARY_OP_EXTEND;
  |  |  325|       |            (void)(opcode);
  |  |  326|       |            #endif
  |  |  327|    162|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  328|    162|            (void)this_instr;
  |  |  329|    162|            frame->instr_ptr = next_instr;
  |  |  330|    162|            next_instr += 6;
  |  |  331|    162|            INSTRUCTION_STATS(BINARY_OP_EXTEND);
  |  |  ------------------
  |  |  |  |   71|    162|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  332|    162|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  333|    162|            _PyStackRef left;
  |  |  334|    162|            _PyStackRef right;
  |  |  335|    162|            _PyStackRef res;
  |  |  336|    162|            _PyStackRef l;
  |  |  337|    162|            _PyStackRef r;
  |  |  338|    162|            _PyStackRef value;
  |  |  339|       |            /* Skip 1 cache entry */
  |  |  340|       |            // _GUARD_BINARY_OP_EXTEND
  |  |  341|    162|            {
  |  |  342|    162|                right = stack_pointer[-1];
  |  |  343|    162|                left = stack_pointer[-2];
  |  |  344|    162|                PyObject *descr = read_obj(&this_instr[2].cache);
  |  |  345|    162|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  346|    162|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  347|    162|                _PyBinaryOpSpecializationDescr *d = (_PyBinaryOpSpecializationDescr*)descr;
  |  |  348|    162|                assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5);
  |  |  ------------------
  |  |  |  Branch (348:17): [True: 162, Folded]
  |  |  ------------------
  |  |  349|    162|                assert(d != NULL);
  |  |  ------------------
  |  |  |  Branch (349:17): [True: 162, False: 0]
  |  |  ------------------
  |  |  350|    162|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  351|    162|                _PyFrame_StackPointerValidate(frame);
  |  |  352|    162|                int match = (d->guard != NULL)
  |  |  ------------------
  |  |  |  Branch (352:29): [True: 159, False: 3]
  |  |  ------------------
  |  |  353|    162|                ? d->guard(left_o, right_o)
  |  |  354|    162|            : (Py_TYPE(left_o) == d->lhs_type && Py_TYPE(right_o) == d->rhs_type);
  |  |  ------------------
  |  |  |  |  213|      3|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           : (Py_TYPE(left_o) == d->lhs_type && Py_TYPE(right_o) == d->rhs_type);
  |  |  ------------------
  |  |  |  |  213|      3|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (354:16): [True: 3, False: 0]
  |  |  |  Branch (354:50): [True: 3, False: 0]
  |  |  ------------------
  |  |  355|    162|                _PyFrame_StackPointerInvalidate(frame);
  |  |  356|    162|                if (!match) {
  |  |  ------------------
  |  |  |  Branch (356:21): [True: 0, False: 162]
  |  |  ------------------
  |  |  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|    162|            }
  |  |  362|       |            /* Skip -4 cache entry */
  |  |  363|       |            // _BINARY_OP_EXTEND
  |  |  364|    162|            {
  |  |  365|    162|                PyObject *descr = read_obj(&this_instr[2].cache);
  |  |  366|    162|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  367|    162|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  368|    162|                assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5);
  |  |  ------------------
  |  |  |  Branch (368:17): [True: 162, Folded]
  |  |  ------------------
  |  |  369|    162|                _PyBinaryOpSpecializationDescr *d = (_PyBinaryOpSpecializationDescr*)descr;
  |  |  370|    162|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    162|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  371|    162|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (371:17): [True: 162, False: 0]
  |  |  ------------------
  |  |  372|    162|                _PyFrame_StackPointerValidate(frame);
  |  |  373|    162|                PyObject *res_o = d->action(left_o, right_o);
  |  |  374|    162|                _PyFrame_StackPointerInvalidate(frame);
  |  |  375|    162|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (375:21): [True: 0, False: 162]
  |  |  ------------------
  |  |  376|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  377|      0|                }
  |  |  378|    162|                assert(d->result_type == NULL || Py_TYPE(res_o) == d->result_type);
  |  |  ------------------
  |  |  |  Branch (378:17): [True: 0, False: 162]
  |  |  |  Branch (378:17): [True: 162, False: 0]
  |  |  ------------------
  |  |  379|    162|                assert(!d->result_unique || Py_REFCNT(res_o) == 1 || _Py_IsImmortal(res_o));
  |  |  ------------------
  |  |  |  Branch (379:17): [True: 2, False: 160]
  |  |  |  Branch (379:17): [True: 45, False: 115]
  |  |  |  Branch (379:17): [True: 115, False: 0]
  |  |  ------------------
  |  |  380|    162|                assert(!PyFloat_CheckExact(res_o) || Py_REFCNT(res_o) == 1);
  |  |  ------------------
  |  |  |  Branch (380:17): [True: 162, False: 0]
  |  |  |  Branch (380:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  381|    162|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  382|    162|                l = left;
  |  |  383|    162|                r = right;
  |  |  384|    162|            }
  |  |  385|       |            // _POP_TOP
  |  |  386|      0|            {
  |  |  387|    162|                value = r;
  |  |  388|    162|                stack_pointer[-2] = res;
  |  |  389|    162|                stack_pointer[-1] = l;
  |  |  390|    162|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (390:17): [True: 162, False: 0]
  |  |  ------------------
  |  |  391|    162|                _PyFrame_StackPointerValidate(frame);
  |  |  392|    162|                PyStackRef_XCLOSE(value);
  |  |  393|    162|                _PyFrame_StackPointerInvalidate(frame);
  |  |  394|    162|            }
  |  |  395|       |            // _POP_TOP
  |  |  396|      0|            {
  |  |  397|    162|                value = l;
  |  |  398|    162|                stack_pointer += -1;
  |  |  399|    162|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    162|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  400|    162|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  401|    162|                _PyFrame_StackPointerValidate(frame);
  |  |  402|    162|                PyStackRef_XCLOSE(value);
  |  |  403|    162|                _PyFrame_StackPointerInvalidate(frame);
  |  |  404|    162|            }
  |  |  405|    162|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    162|    { \
  |  |  |  |  201|    162|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    162|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    162|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    162|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    162|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    162|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    162|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    162|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 162]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    162|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    162|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    162|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    162|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    162|    }
  |  |  ------------------
  |  |  406|    162|        }
  |  |  407|       |
  |  |  408|     38|        TARGET(BINARY_OP_INPLACE_ADD_UNICODE) {
  |  |  ------------------
  |  |  |  |  132|     38|#  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|     38|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  414|     38|            (void)this_instr;
  |  |  415|     38|            frame->instr_ptr = next_instr;
  |  |  416|     38|            next_instr += 6;
  |  |  417|     38|            INSTRUCTION_STATS(BINARY_OP_INPLACE_ADD_UNICODE);
  |  |  ------------------
  |  |  |  |   71|     38|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  418|     38|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  419|     38|            _PyStackRef value;
  |  |  420|     38|            _PyStackRef nos;
  |  |  421|     38|            _PyStackRef left;
  |  |  422|     38|            _PyStackRef right;
  |  |  423|     38|            _PyStackRef res;
  |  |  424|       |            // _GUARD_TOS_UNICODE
  |  |  425|     38|            {
  |  |  426|     38|                value = stack_pointer[-1];
  |  |  427|     38|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  428|     38|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|     38|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     38|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (428:21): [True: 0, False: 38]
  |  |  ------------------
  |  |  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|     38|            }
  |  |  434|       |            // _GUARD_NOS_UNICODE
  |  |  435|     38|            {
  |  |  436|     38|                nos = stack_pointer[-2];
  |  |  437|     38|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  438|     38|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|     38|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     38|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (438:21): [True: 0, False: 38]
  |  |  ------------------
  |  |  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|     38|            }
  |  |  444|       |            /* Skip 5 cache entries */
  |  |  445|       |            // _BINARY_OP_INPLACE_ADD_UNICODE
  |  |  446|     38|            {
  |  |  447|     38|                right = value;
  |  |  448|     38|                left = nos;
  |  |  449|     38|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  450|     38|                assert(PyUnicode_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (450:17): [True: 38, False: 0]
  |  |  ------------------
  |  |  451|     38|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(right)));
  |  |  ------------------
  |  |  |  Branch (451:17): [True: 38, False: 0]
  |  |  ------------------
  |  |  452|     38|                int next_oparg;
  |  |  453|     38|                #if TIER_ONE
  |  |  454|     38|                assert(next_instr->op.code == STORE_FAST);
  |  |  ------------------
  |  |  |  Branch (454:17): [True: 38, False: 0]
  |  |  ------------------
  |  |  455|     38|                next_oparg = next_instr->op.arg;
  |  |  456|       |                #else
  |  |  457|       |                next_oparg = (int)CURRENT_OPERAND0_16();
  |  |  458|       |                #endif
  |  |  459|     38|                _PyStackRef *target_local = &GETLOCAL(next_oparg);
  |  |  ------------------
  |  |  |  |  285|     38|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |  460|     38|                assert(PyUnicode_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (460:17): [True: 38, False: 0]
  |  |  ------------------
  |  |  461|     38|                if (PyStackRef_AsPyObjectBorrow(*target_local) != left_o) {
  |  |  ------------------
  |  |  |  Branch (461:21): [True: 0, False: 38]
  |  |  ------------------
  |  |  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|     38|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|     38|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  467|     38|                assert(Py_REFCNT(left_o) >= 2 || !PyStackRef_IsHeapSafe(left));
  |  |  ------------------
  |  |  |  Branch (467:17): [True: 27, False: 11]
  |  |  |  Branch (467:17): [True: 11, False: 0]
  |  |  ------------------
  |  |  468|     38|                PyObject *temp = PyStackRef_AsPyObjectSteal(*target_local);
  |  |  469|     38|                PyObject *right_o = PyStackRef_AsPyObjectSteal(right);
  |  |  470|     38|                PyStackRef_CLOSE_SPECIALIZED(left, _PyUnicode_ExactDealloc);
  |  |  471|     38|                stack_pointer += -2;
  |  |  472|     38|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     38|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  473|     38|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  474|     38|                _PyFrame_StackPointerValidate(frame);
  |  |  475|     38|                PyUnicode_Append(&temp, right_o);
  |  |  476|     38|                _PyFrame_StackPointerInvalidate(frame);
  |  |  477|     38|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (477:17): [True: 38, False: 0]
  |  |  ------------------
  |  |  478|     38|                _PyFrame_StackPointerValidate(frame);
  |  |  479|     38|                _Py_DECREF_SPECIALIZED(right_o, _PyUnicode_ExactDealloc);
  |  |  ------------------
  |  |  |  |   96|     38|    do { \
  |  |  |  |   97|     38|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|     38|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     38|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 7, False: 31]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   99|      7|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      7|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  100|      7|            break; \
  |  |  |  |  101|      7|        } \
  |  |  |  |  102|     38|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     31|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  103|     31|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (103:13): [True: 31, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  104|     31|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|     31|    do { \
  |  |  |  |  |  |  110|     31|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|     31|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 31]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|     31|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 31]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  105|     31|            destructor d = (destructor)(dealloc); \
  |  |  |  |  106|     31|            d(op); \
  |  |  |  |  107|     31|        } \
  |  |  |  |  108|     31|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (108:14): [Folded, False: 31]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  480|     38|                _PyFrame_StackPointerInvalidate(frame);
  |  |  481|     38|                *target_local = PyStackRef_NULL;
  |  |  482|     38|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (482:21): [True: 0, False: 38]
  |  |  ------------------
  |  |  483|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  484|      0|                }
  |  |  485|     38|                res = PyStackRef_FromPyObjectSteal(temp);
  |  |  486|     38|            }
  |  |  487|      0|            stack_pointer[0] = res;
  |  |  488|     38|            stack_pointer += 1;
  |  |  489|     38|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     38|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  490|     38|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     38|    { \
  |  |  |  |  201|     38|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     38|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     38|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     38|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     38|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     38|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     38|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     38|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 38]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     38|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     38|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     38|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     38|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     38|    }
  |  |  ------------------
  |  |  491|     38|        }
  |  |  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__);
  |  |  ------------------
  |  |  |  |  514|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|      4|        TARGET(BINARY_OP_MULTIPLY_INT) {
  |  |  ------------------
  |  |  |  |  132|      4|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  569|       |            #if _Py_TAIL_CALL_INTERP
  |  |  570|       |            int opcode = BINARY_OP_MULTIPLY_INT;
  |  |  571|       |            (void)(opcode);
  |  |  572|       |            #endif
  |  |  573|      4|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  574|      4|            (void)this_instr;
  |  |  575|      4|            frame->instr_ptr = next_instr;
  |  |  576|      4|            next_instr += 6;
  |  |  577|      4|            INSTRUCTION_STATS(BINARY_OP_MULTIPLY_INT);
  |  |  ------------------
  |  |  |  |   71|      4|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  578|      4|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  579|      4|            _PyStackRef value;
  |  |  580|      4|            _PyStackRef left;
  |  |  581|      4|            _PyStackRef right;
  |  |  582|      4|            _PyStackRef res;
  |  |  583|      4|            _PyStackRef l;
  |  |  584|      4|            _PyStackRef r;
  |  |  585|       |            // _GUARD_TOS_INT
  |  |  586|      4|            {
  |  |  587|      4|                value = stack_pointer[-1];
  |  |  588|      4|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  589|      4|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (589:21): [True: 0, False: 4]
  |  |  ------------------
  |  |  590|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  591|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (591:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  592|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  593|      0|                }
  |  |  594|      4|            }
  |  |  595|       |            // _GUARD_NOS_INT
  |  |  596|      4|            {
  |  |  597|      4|                left = stack_pointer[-2];
  |  |  598|      4|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  599|      4|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (599:21): [True: 0, False: 4]
  |  |  ------------------
  |  |  600|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  601|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (601:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  602|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  603|      0|                }
  |  |  604|      4|            }
  |  |  605|       |            /* Skip 5 cache entries */
  |  |  606|       |            // _BINARY_OP_MULTIPLY_INT
  |  |  607|      4|            {
  |  |  608|      4|                right = value;
  |  |  609|      4|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  610|      4|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  611|      4|                assert(PyLong_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (611:17): [True: 4, False: 0]
  |  |  ------------------
  |  |  612|      4|                assert(PyLong_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (612:17): [True: 4, False: 0]
  |  |  ------------------
  |  |  613|      4|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (613:17): [True: 4, False: 0]
  |  |  ------------------
  |  |  614|      4|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|      4|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  615|      4|                res = _PyCompactLong_Multiply((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  |  616|      4|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  617|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  618|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (618:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  619|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  620|      0|                }
  |  |  621|      4|                l = left;
  |  |  622|      4|                r = right;
  |  |  623|      4|            }
  |  |  624|       |            // _POP_TOP_INT
  |  |  625|      0|            {
  |  |  626|      4|                value = r;
  |  |  627|      4|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (627:17): [True: 4, False: 0]
  |  |  ------------------
  |  |  628|      4|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  629|      4|            }
  |  |  630|       |            // _POP_TOP_INT
  |  |  631|      0|            {
  |  |  632|      4|                value = l;
  |  |  633|      4|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (633:17): [True: 4, False: 0]
  |  |  ------------------
  |  |  634|      4|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  635|      4|            }
  |  |  636|      0|            stack_pointer[-2] = res;
  |  |  637|      4|            stack_pointer += -1;
  |  |  638|      4|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      4|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  639|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |  640|      4|        }
  |  |  641|       |
  |  |  642|    458|        TARGET(BINARY_OP_SUBSCR_DICT) {
  |  |  ------------------
  |  |  |  |  132|    458|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  643|       |            #if _Py_TAIL_CALL_INTERP
  |  |  644|       |            int opcode = BINARY_OP_SUBSCR_DICT;
  |  |  645|       |            (void)(opcode);
  |  |  646|       |            #endif
  |  |  647|    458|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  648|    458|            (void)this_instr;
  |  |  649|    458|            frame->instr_ptr = next_instr;
  |  |  650|    458|            next_instr += 6;
  |  |  651|    458|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_DICT);
  |  |  ------------------
  |  |  |  |   71|    458|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  652|    458|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  653|    458|            _PyStackRef nos;
  |  |  654|    458|            _PyStackRef dict_st;
  |  |  655|    458|            _PyStackRef sub_st;
  |  |  656|    458|            _PyStackRef res;
  |  |  657|    458|            _PyStackRef ds;
  |  |  658|    458|            _PyStackRef ss;
  |  |  659|    458|            _PyStackRef value;
  |  |  660|       |            // _GUARD_NOS_DICT_SUBSCRIPT
  |  |  661|    458|            {
  |  |  662|    458|                nos = stack_pointer[-2];
  |  |  663|    458|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  664|    458|                if (!Py_TYPE(o)->tp_as_mapping) {
  |  |  ------------------
  |  |  |  |  213|    458|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    458|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    458|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (664:21): [True: 0, False: 458]
  |  |  ------------------
  |  |  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|    458|                if (Py_TYPE(o)->tp_as_mapping->mp_subscript != _PyDict_Subscript) {
  |  |  ------------------
  |  |  |  |  213|    458|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    458|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    458|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (669:21): [True: 0, False: 458]
  |  |  ------------------
  |  |  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|    458|            }
  |  |  675|       |            /* Skip 5 cache entries */
  |  |  676|       |            // _BINARY_OP_SUBSCR_DICT
  |  |  677|    458|            {
  |  |  678|    458|                sub_st = stack_pointer[-1];
  |  |  679|    458|                dict_st = nos;
  |  |  680|    458|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |  681|    458|                PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |  682|    458|                assert(Py_TYPE(dict)->tp_as_mapping->mp_subscript == _PyDict_Subscript);
  |  |  ------------------
  |  |  |  Branch (682:17): [True: 458, False: 0]
  |  |  ------------------
  |  |  683|    458|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    458|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  684|    458|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  685|    458|                _PyFrame_StackPointerValidate(frame);
  |  |  686|    458|                PyObject *res_o = _PyDict_Subscript(dict, sub);
  |  |  687|    458|                _PyFrame_StackPointerInvalidate(frame);
  |  |  688|    458|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (688:21): [True: 202, False: 256]
  |  |  ------------------
  |  |  689|    202|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    202|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  690|      0|                }
  |  |  691|    256|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  692|    256|                ds = dict_st;
  |  |  693|    256|                ss = sub_st;
  |  |  694|    256|            }
  |  |  695|       |            // _POP_TOP
  |  |  696|      0|            {
  |  |  697|    256|                value = ss;
  |  |  698|    256|                stack_pointer[-2] = res;
  |  |  699|    256|                stack_pointer[-1] = ds;
  |  |  700|    256|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (700:17): [True: 256, False: 0]
  |  |  ------------------
  |  |  701|    256|                _PyFrame_StackPointerValidate(frame);
  |  |  702|    256|                PyStackRef_XCLOSE(value);
  |  |  703|    256|                _PyFrame_StackPointerInvalidate(frame);
  |  |  704|    256|            }
  |  |  705|       |            // _POP_TOP
  |  |  706|      0|            {
  |  |  707|    256|                value = ds;
  |  |  708|    256|                stack_pointer += -1;
  |  |  709|    256|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    256|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  710|    256|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  711|    256|                _PyFrame_StackPointerValidate(frame);
  |  |  712|    256|                PyStackRef_XCLOSE(value);
  |  |  713|    256|                _PyFrame_StackPointerInvalidate(frame);
  |  |  714|    256|            }
  |  |  715|    256|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    256|    { \
  |  |  |  |  201|    256|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    256|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    256|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    256|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    256|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    256|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    256|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    256|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 256]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    256|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    256|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    256|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    256|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    256|    }
  |  |  ------------------
  |  |  716|    256|        }
  |  |  717|       |
  |  |  718|     35|        TARGET(BINARY_OP_SUBSCR_GETITEM) {
  |  |  ------------------
  |  |  |  |  132|     35|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  719|       |            #if _Py_TAIL_CALL_INTERP
  |  |  720|       |            int opcode = BINARY_OP_SUBSCR_GETITEM;
  |  |  721|       |            (void)(opcode);
  |  |  722|       |            #endif
  |  |  723|     35|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  724|     35|            (void)this_instr;
  |  |  725|     35|            frame->instr_ptr = next_instr;
  |  |  726|     35|            next_instr += 6;
  |  |  727|     35|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_GETITEM);
  |  |  ------------------
  |  |  |  |   71|     35|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  728|     35|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  729|     35|            _PyStackRef container;
  |  |  730|     35|            _PyStackRef getitem;
  |  |  731|     35|            _PyStackRef sub;
  |  |  732|     35|            _PyStackRef new_frame;
  |  |  733|       |            /* Skip 5 cache entries */
  |  |  734|       |            // _CHECK_PEP_523
  |  |  735|     35|            {
  |  |  736|     35|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|     35|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  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|     35|            }
  |  |  742|       |            // _BINARY_OP_SUBSCR_CHECK_FUNC
  |  |  743|     35|            {
  |  |  744|     35|                container = stack_pointer[-2];
  |  |  745|     35|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(container));
  |  |  ------------------
  |  |  |  |  213|     35|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  746|     35|                if (!PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE)) {
  |  |  ------------------
  |  |  |  |  503|     35|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  |  |  ------------------
  |  |  |  Branch (746:21): [True: 0, False: 35]
  |  |  ------------------
  |  |  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|     35|                PyHeapTypeObject *ht = (PyHeapTypeObject *)tp;
  |  |  752|     35|                PyObject *getitem_o = FT_ATOMIC_LOAD_PTR_ACQUIRE(ht->_spec_cache.getitem);
  |  |  ------------------
  |  |  |  |  152|     35|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |  753|     35|                if (getitem_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (753:21): [True: 0, False: 35]
  |  |  ------------------
  |  |  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|     35|                assert(PyFunction_Check(getitem_o));
  |  |  ------------------
  |  |  |  Branch (758:17): [True: 35, False: 0]
  |  |  ------------------
  |  |  759|     35|                uint32_t cached_version = FT_ATOMIC_LOAD_UINT32_RELAXED(ht->_spec_cache.getitem_version);
  |  |  ------------------
  |  |  |  |  161|     35|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  760|     35|                if (((PyFunctionObject *)getitem_o)->func_version != cached_version) {
  |  |  ------------------
  |  |  |  Branch (760:21): [True: 0, False: 35]
  |  |  ------------------
  |  |  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|     35|                PyCodeObject *code = (PyCodeObject *)PyFunction_GET_CODE(getitem_o);
  |  |  ------------------
  |  |  |  |   93|     35|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  766|     35|                assert(code->co_argcount == 2);
  |  |  ------------------
  |  |  |  Branch (766:17): [True: 35, False: 0]
  |  |  ------------------
  |  |  767|     35|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (767:21): [True: 0, False: 35]
  |  |  ------------------
  |  |  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|     35|                getitem = PyStackRef_FromPyObjectNew(getitem_o);
  |  |  ------------------
  |  |  |  |  611|     35|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  773|     35|            }
  |  |  774|       |            // _BINARY_OP_SUBSCR_INIT_CALL
  |  |  775|      0|            {
  |  |  776|     35|                sub = stack_pointer[-1];
  |  |  777|     35|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|     35|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  778|     35|                _PyInterpreterFrame* pushed_frame = _PyFrame_PushUnchecked(tstate, getitem, 2, frame);
  |  |  779|     35|                pushed_frame->localsplus[0] = container;
  |  |  780|     35|                pushed_frame->localsplus[1] = sub;
  |  |  781|     35|                frame->return_offset = 6u ;
  |  |  782|     35|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  |  783|     35|            }
  |  |  784|       |            // _PUSH_FRAME
  |  |  785|     35|            {
  |  |  786|     35|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (786:17): [True: 35, False: 0]
  |  |  ------------------
  |  |  787|     35|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  |  788|     35|                stack_pointer += -2;
  |  |  789|     35|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     35|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  790|     35|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  791|     35|                _PyFrame_StackPointerValidate(frame);
  |  |  792|     35|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (792:17): [True: 35, False: 0]
  |  |  |  Branch (792:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  793|     35|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|     35|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  |  794|     35|                frame = tstate->current_frame = temp;
  |  |  795|     35|                tstate->py_recursion_remaining--;
  |  |  796|     35|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  797|     35|                _PyFrame_StackPointerInvalidate(frame);
  |  |  798|     35|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|     35|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|     35|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|     35|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 35]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|       |                #ifdef Py_DEBUG
  |  |  800|       |                assert(frame->previous->stackpointer_valid == 1);
  |  |  801|       |                #endif
  |  |  802|     35|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|     35|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  |  803|     35|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|     35|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |  804|     35|            }
  |  |  805|     35|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     35|    { \
  |  |  |  |  201|     35|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     35|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     35|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     35|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     35|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     35|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     35|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     35|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 35]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     35|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     35|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     35|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     35|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     35|    }
  |  |  ------------------
  |  |  806|     35|        }
  |  |  807|       |
  |  |  808|     98|        TARGET(BINARY_OP_SUBSCR_LIST_INT) {
  |  |  ------------------
  |  |  |  |  132|     98|#  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|     98|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  814|     98|            (void)this_instr;
  |  |  815|     98|            frame->instr_ptr = next_instr;
  |  |  816|     98|            next_instr += 6;
  |  |  817|     98|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_LIST_INT);
  |  |  ------------------
  |  |  |  |   71|     98|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  818|     98|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  819|     98|            _PyStackRef value;
  |  |  820|     98|            _PyStackRef nos;
  |  |  821|     98|            _PyStackRef list_st;
  |  |  822|     98|            _PyStackRef sub_st;
  |  |  823|     98|            _PyStackRef res;
  |  |  824|     98|            _PyStackRef ls;
  |  |  825|     98|            _PyStackRef ss;
  |  |  826|       |            // _GUARD_TOS_INT
  |  |  827|     98|            {
  |  |  828|     98|                value = stack_pointer[-1];
  |  |  829|     98|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  830|     98|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (830:21): [True: 0, False: 98]
  |  |  ------------------
  |  |  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|     98|            }
  |  |  836|       |            // _GUARD_NOS_LIST
  |  |  837|     98|            {
  |  |  838|     98|                nos = stack_pointer[-2];
  |  |  839|     98|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  840|     98|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|     98|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     98|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     98|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     98|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (840:21): [True: 0, False: 98]
  |  |  ------------------
  |  |  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|     98|            }
  |  |  846|       |            /* Skip 5 cache entries */
  |  |  847|       |            // _BINARY_OP_SUBSCR_LIST_INT
  |  |  848|     98|            {
  |  |  849|     98|                sub_st = value;
  |  |  850|     98|                list_st = nos;
  |  |  851|     98|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |  852|     98|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |  853|     98|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (853:17): [True: 98, False: 0]
  |  |  ------------------
  |  |  854|     98|                assert(PyList_CheckExact(list));
  |  |  ------------------
  |  |  |  Branch (854:17): [True: 98, False: 0]
  |  |  ------------------
  |  |  855|     98|                Py_ssize_t index = _PyLong_CompactValue((PyLongObject *)sub);
  |  |  856|     98|                if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (856:21): [True: 0, False: 98]
  |  |  ------------------
  |  |  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|     98|                if (index < 0 || index >= PyList_GET_SIZE(list)) {
  |  |  ------------------
  |  |  |  |   38|     98|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     98|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     98|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (871:21): [True: 0, False: 98]
  |  |  |  Branch (871:34): [True: 9, False: 89]
  |  |  ------------------
  |  |  872|      9|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      9|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  873|      9|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (873:21): [True: 9, False: 0]
  |  |  ------------------
  |  |  874|      9|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      9|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  875|      0|                }
  |  |  876|     89|                PyObject *res_o = PyList_GET_ITEM(list, index);
  |  |  ------------------
  |  |  |  |   40|     89|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|     89|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     89|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (876:35): [True: 89, False: 0]
  |  |  ------------------
  |  |  877|     89|                assert(res_o != NULL);
  |  |  ------------------
  |  |  |  Branch (877:17): [True: 89, False: 0]
  |  |  ------------------
  |  |  878|     89|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|     89|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     89|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     89|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  879|     89|                #endif
  |  |  880|     89|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|     89|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  881|     89|                ls = list_st;
  |  |  882|     89|                ss = sub_st;
  |  |  883|     89|            }
  |  |  884|       |            // _POP_TOP_INT
  |  |  885|      0|            {
  |  |  886|     89|                value = ss;
  |  |  887|     89|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (887:17): [True: 89, False: 0]
  |  |  ------------------
  |  |  888|     89|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  889|     89|            }
  |  |  890|       |            // _POP_TOP
  |  |  891|      0|            {
  |  |  892|     89|                value = ls;
  |  |  893|     89|                stack_pointer[-2] = res;
  |  |  894|     89|                stack_pointer += -1;
  |  |  895|     89|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     89|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  896|     89|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  897|     89|                _PyFrame_StackPointerValidate(frame);
  |  |  898|     89|                PyStackRef_XCLOSE(value);
  |  |  899|     89|                _PyFrame_StackPointerInvalidate(frame);
  |  |  900|     89|            }
  |  |  901|     89|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     89|    { \
  |  |  |  |  201|     89|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     89|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     89|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     89|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     89|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     89|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     89|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     89|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 89]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     89|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     89|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     89|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     89|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     89|    }
  |  |  ------------------
  |  |  902|     89|        }
  |  |  903|       |
  |  |  904|      7|        TARGET(BINARY_OP_SUBSCR_LIST_SLICE) {
  |  |  ------------------
  |  |  |  |  132|      7|#  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|      7|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  910|      7|            (void)this_instr;
  |  |  911|      7|            frame->instr_ptr = next_instr;
  |  |  912|      7|            next_instr += 6;
  |  |  913|      7|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_LIST_SLICE);
  |  |  ------------------
  |  |  |  |   71|      7|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  914|      7|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  915|      7|            _PyStackRef tos;
  |  |  916|      7|            _PyStackRef nos;
  |  |  917|      7|            _PyStackRef list_st;
  |  |  918|      7|            _PyStackRef sub_st;
  |  |  919|      7|            _PyStackRef res;
  |  |  920|      7|            _PyStackRef ls;
  |  |  921|      7|            _PyStackRef ss;
  |  |  922|      7|            _PyStackRef value;
  |  |  923|       |            // _GUARD_TOS_SLICE
  |  |  924|      7|            {
  |  |  925|      7|                tos = stack_pointer[-1];
  |  |  926|      7|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |  927|      7|                if (!PySlice_Check(o)) {
  |  |  ------------------
  |  |  |  |   22|      7|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      7|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (927:21): [True: 0, False: 7]
  |  |  ------------------
  |  |  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|      7|            }
  |  |  933|       |            // _GUARD_NOS_LIST
  |  |  934|      7|            {
  |  |  935|      7|                nos = stack_pointer[-2];
  |  |  936|      7|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  937|      7|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|      7|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      7|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (937:21): [True: 0, False: 7]
  |  |  ------------------
  |  |  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|      7|            }
  |  |  943|       |            /* Skip 5 cache entries */
  |  |  944|       |            // _BINARY_OP_SUBSCR_LIST_SLICE
  |  |  945|      7|            {
  |  |  946|      7|                sub_st = tos;
  |  |  947|      7|                list_st = nos;
  |  |  948|      7|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |  949|      7|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |  950|      7|                assert(PySlice_Check(sub));
  |  |  ------------------
  |  |  |  Branch (950:17): [True: 7, False: 0]
  |  |  ------------------
  |  |  951|      7|                assert(PyList_CheckExact(list));
  |  |  ------------------
  |  |  |  Branch (951:17): [True: 7, False: 0]
  |  |  ------------------
  |  |  952|      7|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  953|      7|                _PyFrame_StackPointerValidate(frame);
  |  |  954|      7|                PyObject *res_o = _PyList_SliceSubscript(list, sub);
  |  |  955|      7|                _PyFrame_StackPointerInvalidate(frame);
  |  |  956|      7|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|      7|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  957|      7|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (957:21): [True: 0, False: 7]
  |  |  ------------------
  |  |  958|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  959|      0|                }
  |  |  960|      7|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  961|      7|                ls = list_st;
  |  |  962|      7|                ss = sub_st;
  |  |  963|      7|            }
  |  |  964|       |            // _POP_TOP
  |  |  965|      0|            {
  |  |  966|      7|                value = ss;
  |  |  967|      7|                stack_pointer[-2] = res;
  |  |  968|      7|                stack_pointer[-1] = ls;
  |  |  969|      7|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (969:17): [True: 7, False: 0]
  |  |  ------------------
  |  |  970|      7|                _PyFrame_StackPointerValidate(frame);
  |  |  971|      7|                PyStackRef_XCLOSE(value);
  |  |  972|      7|                _PyFrame_StackPointerInvalidate(frame);
  |  |  973|      7|            }
  |  |  974|       |            // _POP_TOP
  |  |  975|      0|            {
  |  |  976|      7|                value = ls;
  |  |  977|      7|                stack_pointer += -1;
  |  |  978|      7|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      7|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  979|      7|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  980|      7|                _PyFrame_StackPointerValidate(frame);
  |  |  981|      7|                PyStackRef_XCLOSE(value);
  |  |  982|      7|                _PyFrame_StackPointerInvalidate(frame);
  |  |  983|      7|            }
  |  |  984|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |  985|      7|        }
  |  |  986|       |
  |  |  987|  1.09k|        TARGET(BINARY_OP_SUBSCR_STR_INT) {
  |  |  ------------------
  |  |  |  |  132|  1.09k|#  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|  1.09k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  993|  1.09k|            (void)this_instr;
  |  |  994|  1.09k|            frame->instr_ptr = next_instr;
  |  |  995|  1.09k|            next_instr += 6;
  |  |  996|  1.09k|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_STR_INT);
  |  |  ------------------
  |  |  |  |   71|  1.09k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  997|  1.09k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  998|  1.09k|            _PyStackRef value;
  |  |  999|  1.09k|            _PyStackRef nos;
  |  | 1000|  1.09k|            _PyStackRef str_st;
  |  | 1001|  1.09k|            _PyStackRef sub_st;
  |  | 1002|  1.09k|            _PyStackRef res;
  |  | 1003|  1.09k|            _PyStackRef s;
  |  | 1004|  1.09k|            _PyStackRef i;
  |  | 1005|       |            // _GUARD_TOS_INT
  |  | 1006|  1.09k|            {
  |  | 1007|  1.09k|                value = stack_pointer[-1];
  |  | 1008|  1.09k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1009|  1.09k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1009:21): [True: 0, False: 1.09k]
  |  |  ------------------
  |  | 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|  1.09k|            }
  |  | 1015|       |            // _GUARD_NOS_COMPACT_ASCII
  |  | 1016|  1.09k|            {
  |  | 1017|  1.09k|                nos = stack_pointer[-2];
  |  | 1018|  1.09k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 1019|  1.09k|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  1.09k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.09k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1019:21): [True: 0, False: 1.09k]
  |  |  ------------------
  |  | 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|  1.09k|                if (!PyUnicode_IS_COMPACT_ASCII(o)) {
  |  |  ------------------
  |  |  |  |  242|  1.09k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1024:21): [True: 0, False: 1.09k]
  |  |  ------------------
  |  | 1025|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1026|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1026:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1027|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1028|      0|                }
  |  | 1029|  1.09k|            }
  |  | 1030|       |            /* Skip 5 cache entries */
  |  | 1031|       |            // _BINARY_OP_SUBSCR_STR_INT
  |  | 1032|  1.09k|            {
  |  | 1033|  1.09k|                sub_st = value;
  |  | 1034|  1.09k|                str_st = nos;
  |  | 1035|  1.09k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1036|  1.09k|                PyObject *str = PyStackRef_AsPyObjectBorrow(str_st);
  |  | 1037|  1.09k|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1037:17): [True: 1.09k, False: 0]
  |  |  ------------------
  |  | 1038|  1.09k|                assert(PyUnicode_CheckExact(str));
  |  |  ------------------
  |  |  |  Branch (1038:17): [True: 1.09k, False: 0]
  |  |  ------------------
  |  | 1039|  1.09k|                if (!_PyLong_IsNonNegativeCompact((PyLongObject*)sub)) {
  |  |  ------------------
  |  |  |  Branch (1039:21): [True: 0, False: 1.09k]
  |  |  ------------------
  |  | 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|  1.09k|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1045|  1.09k|                if (PyUnicode_GET_LENGTH(str) <= index) {
  |  |  ------------------
  |  |  |  |  300|  1.09k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1045:21): [True: 3, False: 1.09k]
  |  |  ------------------
  |  | 1046|      3|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      3|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1047|      3|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1047:21): [True: 3, False: 0]
  |  |  ------------------
  |  | 1048|      3|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      3|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1049|      0|                }
  |  | 1050|  1.09k|                uint8_t c = PyUnicode_1BYTE_DATA(str)[index];
  |  |  ------------------
  |  |  |  |  292|  1.09k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.09k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1051|  1.09k|                assert(c < 128);
  |  |  ------------------
  |  |  |  Branch (1051:17): [True: 1.09k, False: 0]
  |  |  ------------------
  |  | 1052|  1.09k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.09k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1053|  1.09k|                PyObject *res_o = (PyObject*)&_Py_SINGLETON(strings).ascii[c];
  |  |  ------------------
  |  |  |  |   18|  1.09k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.09k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1054|  1.09k|                s = str_st;
  |  | 1055|  1.09k|                i = sub_st;
  |  | 1056|  1.09k|                res = PyStackRef_FromPyObjectBorrow(res_o);
  |  | 1057|  1.09k|            }
  |  | 1058|       |            // _POP_TOP_INT
  |  | 1059|      0|            {
  |  | 1060|  1.09k|                value = i;
  |  | 1061|  1.09k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1061:17): [True: 1.09k, False: 0]
  |  |  ------------------
  |  | 1062|  1.09k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1063|  1.09k|            }
  |  | 1064|       |            // _POP_TOP_UNICODE
  |  | 1065|      0|            {
  |  | 1066|  1.09k|                value = s;
  |  | 1067|  1.09k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1067:17): [True: 1.09k, False: 0]
  |  |  ------------------
  |  | 1068|  1.09k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 1069|  1.09k|            }
  |  | 1070|      0|            stack_pointer[-2] = res;
  |  | 1071|  1.09k|            stack_pointer += -1;
  |  | 1072|  1.09k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.09k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1073|  1.09k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.09k|    { \
  |  |  |  |  201|  1.09k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.09k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.09k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.09k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.09k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.09k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.09k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.09k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.09k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.09k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.09k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.09k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.09k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.09k|    }
  |  |  ------------------
  |  | 1074|  1.09k|        }
  |  | 1075|       |
  |  | 1076|    383|        TARGET(BINARY_OP_SUBSCR_TUPLE_INT) {
  |  |  ------------------
  |  |  |  |  132|    383|#  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|    383|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1082|    383|            (void)this_instr;
  |  | 1083|    383|            frame->instr_ptr = next_instr;
  |  | 1084|    383|            next_instr += 6;
  |  | 1085|    383|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_TUPLE_INT);
  |  |  ------------------
  |  |  |  |   71|    383|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1086|    383|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1087|    383|            _PyStackRef value;
  |  | 1088|    383|            _PyStackRef nos;
  |  | 1089|    383|            _PyStackRef tuple_st;
  |  | 1090|    383|            _PyStackRef sub_st;
  |  | 1091|    383|            _PyStackRef res;
  |  | 1092|    383|            _PyStackRef ts;
  |  | 1093|    383|            _PyStackRef ss;
  |  | 1094|       |            // _GUARD_TOS_INT
  |  | 1095|    383|            {
  |  | 1096|    383|                value = stack_pointer[-1];
  |  | 1097|    383|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1098|    383|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1098:21): [True: 0, False: 383]
  |  |  ------------------
  |  | 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|    383|            }
  |  | 1104|       |            // _GUARD_NOS_TUPLE
  |  | 1105|    383|            {
  |  | 1106|    383|                nos = stack_pointer[-2];
  |  | 1107|    383|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 1108|    383|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|    383|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    383|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    383|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    383|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1108:21): [True: 0, False: 383]
  |  |  ------------------
  |  | 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|    383|            }
  |  | 1114|       |            // _GUARD_BINARY_OP_SUBSCR_TUPLE_INT_BOUNDS
  |  | 1115|    383|            {
  |  | 1116|    383|                sub_st = value;
  |  | 1117|    383|                tuple_st = nos;
  |  | 1118|    383|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1119|    383|                PyObject *tuple = PyStackRef_AsPyObjectBorrow(tuple_st);
  |  | 1120|    383|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1120:17): [True: 383, False: 0]
  |  |  ------------------
  |  | 1121|    383|                assert(PyTuple_CheckExact(tuple));
  |  |  ------------------
  |  |  |  Branch (1121:17): [True: 383, False: 0]
  |  |  ------------------
  |  | 1122|    383|                if (!_PyLong_IsNonNegativeCompact((PyLongObject *)sub)) {
  |  |  ------------------
  |  |  |  Branch (1122:21): [True: 0, False: 383]
  |  |  ------------------
  |  | 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|    383|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1128|    383|                if (index >= PyTuple_GET_SIZE(tuple)) {
  |  |  ------------------
  |  |  |  |   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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1128:21): [True: 0, False: 383]
  |  |  ------------------
  |  | 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|    383|            }
  |  | 1134|       |            /* Skip 5 cache entries */
  |  | 1135|       |            // _BINARY_OP_SUBSCR_TUPLE_INT
  |  | 1136|    383|            {
  |  | 1137|    383|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1138|    383|                PyObject *tuple = PyStackRef_AsPyObjectBorrow(tuple_st);
  |  | 1139|    383|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1139:17): [True: 383, False: 0]
  |  |  ------------------
  |  | 1140|    383|                assert(PyTuple_CheckExact(tuple));
  |  |  ------------------
  |  |  |  Branch (1140:17): [True: 383, False: 0]
  |  |  ------------------
  |  | 1141|    383|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    383|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1142|    383|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1143|    383|                PyObject *res_o = PyTuple_GET_ITEM(tuple, index);
  |  |  ------------------
  |  |  |  |   29|    383|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|    383|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    383|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1143:35): [True: 383, False: 0]
  |  |  ------------------
  |  | 1144|    383|                assert(res_o != NULL);
  |  |  ------------------
  |  |  |  Branch (1144:17): [True: 383, False: 0]
  |  |  ------------------
  |  | 1145|    383|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|    383|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    383|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    383|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1146|    383|                ts = tuple_st;
  |  | 1147|    383|                ss = sub_st;
  |  | 1148|    383|            }
  |  | 1149|       |            // _POP_TOP_INT
  |  | 1150|      0|            {
  |  | 1151|    383|                value = ss;
  |  | 1152|    383|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1152:17): [True: 383, False: 0]
  |  |  ------------------
  |  | 1153|    383|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1154|    383|            }
  |  | 1155|       |            // _POP_TOP
  |  | 1156|      0|            {
  |  | 1157|    383|                value = ts;
  |  | 1158|    383|                stack_pointer[-2] = res;
  |  | 1159|    383|                stack_pointer += -1;
  |  | 1160|    383|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    383|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1161|    383|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1162|    383|                _PyFrame_StackPointerValidate(frame);
  |  | 1163|    383|                PyStackRef_XCLOSE(value);
  |  | 1164|    383|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1165|    383|            }
  |  | 1166|    383|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    383|    { \
  |  |  |  |  201|    383|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    383|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    383|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    383|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    383|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    383|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    383|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    383|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 383]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    383|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    383|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    383|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    383|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    383|    }
  |  |  ------------------
  |  | 1167|    383|        }
  |  | 1168|       |
  |  | 1169|      0|        TARGET(BINARY_OP_SUBSCR_USTR_INT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  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|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1175|      0|            (void)this_instr;
  |  | 1176|      0|            frame->instr_ptr = next_instr;
  |  | 1177|      0|            next_instr += 6;
  |  | 1178|      0|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_USTR_INT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1179|      0|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1180|      0|            _PyStackRef value;
  |  | 1181|      0|            _PyStackRef nos;
  |  | 1182|      0|            _PyStackRef str_st;
  |  | 1183|      0|            _PyStackRef sub_st;
  |  | 1184|      0|            _PyStackRef res;
  |  | 1185|      0|            _PyStackRef s;
  |  | 1186|      0|            _PyStackRef i;
  |  | 1187|       |            // _GUARD_TOS_INT
  |  | 1188|      0|            {
  |  | 1189|      0|                value = stack_pointer[-1];
  |  | 1190|      0|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1191|      0|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1191:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 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|      0|            }
  |  | 1197|       |            // _GUARD_NOS_UNICODE
  |  | 1198|      0|            {
  |  | 1199|      0|                nos = stack_pointer[-2];
  |  | 1200|      0|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 1201|      0|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|      0|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1201:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 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|      0|            }
  |  | 1207|       |            /* Skip 5 cache entries */
  |  | 1208|       |            // _BINARY_OP_SUBSCR_USTR_INT
  |  | 1209|      0|            {
  |  | 1210|      0|                sub_st = value;
  |  | 1211|      0|                str_st = nos;
  |  | 1212|      0|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1213|      0|                PyObject *str = PyStackRef_AsPyObjectBorrow(str_st);
  |  | 1214|      0|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1214:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1215|      0|                assert(PyUnicode_CheckExact(str));
  |  |  ------------------
  |  |  |  Branch (1215:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1216|      0|                if (!_PyLong_IsNonNegativeCompact((PyLongObject*)sub)) {
  |  |  ------------------
  |  |  |  Branch (1216:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 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|      0|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1222|      0|                if (PyUnicode_GET_LENGTH(str) <= index) {
  |  |  ------------------
  |  |  |  |  300|      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 (1222:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 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|      0|                Py_UCS4 c = PyUnicode_READ_CHAR(str, index);
  |  |  ------------------
  |  |  |  |  382|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1228|      0|                if (Py_ARRAY_LENGTH(_Py_SINGLETON(strings).ascii) <= c) {
  |  |  ------------------
  |  |  |  |  232|      0|    (sizeof(array) / sizeof((array)[0]))
  |  |  ------------------
  |  |  |  Branch (1228:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1229|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1230|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1230:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1231|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1232|      0|                }
  |  | 1233|      0|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1234|      0|                PyObject *res_o = (PyObject*)&_Py_SINGLETON(strings).ascii[c];
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1235|      0|                s = str_st;
  |  | 1236|      0|                i = sub_st;
  |  | 1237|      0|                res = PyStackRef_FromPyObjectBorrow(res_o);
  |  | 1238|      0|            }
  |  | 1239|       |            // _POP_TOP_INT
  |  | 1240|      0|            {
  |  | 1241|      0|                value = i;
  |  | 1242|      0|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1242:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1243|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1244|      0|            }
  |  | 1245|       |            // _POP_TOP_UNICODE
  |  | 1246|      0|            {
  |  | 1247|      0|                value = s;
  |  | 1248|      0|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1248:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1249|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 1250|      0|            }
  |  | 1251|      0|            stack_pointer[-2] = res;
  |  | 1252|      0|            stack_pointer += -1;
  |  | 1253|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1254|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 1255|      0|        }
  |  | 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__);
  |  |  ------------------
  |  |  |  |  514|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    145|        TARGET(BINARY_OP_SUBTRACT_INT) {
  |  |  ------------------
  |  |  |  |  132|    145|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1333|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1334|       |            int opcode = BINARY_OP_SUBTRACT_INT;
  |  | 1335|       |            (void)(opcode);
  |  | 1336|       |            #endif
  |  | 1337|    145|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1338|    145|            (void)this_instr;
  |  | 1339|    145|            frame->instr_ptr = next_instr;
  |  | 1340|    145|            next_instr += 6;
  |  | 1341|    145|            INSTRUCTION_STATS(BINARY_OP_SUBTRACT_INT);
  |  |  ------------------
  |  |  |  |   71|    145|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1342|    145|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1343|    145|            _PyStackRef value;
  |  | 1344|    145|            _PyStackRef left;
  |  | 1345|    145|            _PyStackRef right;
  |  | 1346|    145|            _PyStackRef res;
  |  | 1347|    145|            _PyStackRef l;
  |  | 1348|    145|            _PyStackRef r;
  |  | 1349|       |            // _GUARD_TOS_INT
  |  | 1350|    145|            {
  |  | 1351|    145|                value = stack_pointer[-1];
  |  | 1352|    145|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1353|    145|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1353:21): [True: 0, False: 145]
  |  |  ------------------
  |  | 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|    145|            }
  |  | 1359|       |            // _GUARD_NOS_INT
  |  | 1360|    145|            {
  |  | 1361|    145|                left = stack_pointer[-2];
  |  | 1362|    145|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1363|    145|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (1363:21): [True: 0, False: 145]
  |  |  ------------------
  |  | 1364|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1365|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1365:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1366|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1367|      0|                }
  |  | 1368|    145|            }
  |  | 1369|       |            /* Skip 5 cache entries */
  |  | 1370|       |            // _BINARY_OP_SUBTRACT_INT
  |  | 1371|    145|            {
  |  | 1372|    145|                right = value;
  |  | 1373|    145|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1374|    145|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 1375|    145|                assert(PyLong_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (1375:17): [True: 145, False: 0]
  |  |  ------------------
  |  | 1376|    145|                assert(PyLong_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (1376:17): [True: 145, False: 0]
  |  |  ------------------
  |  | 1377|    145|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (1377:17): [True: 145, False: 0]
  |  |  ------------------
  |  | 1378|    145|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    145|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1379|    145|                res = _PyCompactLong_Subtract((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  | 1380|    145|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  482|    145|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    145|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    145|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 145]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|    145|                l = left;
  |  | 1386|    145|                r = right;
  |  | 1387|    145|            }
  |  | 1388|       |            // _POP_TOP_INT
  |  | 1389|      0|            {
  |  | 1390|    145|                value = r;
  |  | 1391|    145|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1391:17): [True: 145, False: 0]
  |  |  ------------------
  |  | 1392|    145|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1393|    145|            }
  |  | 1394|       |            // _POP_TOP_INT
  |  | 1395|      0|            {
  |  | 1396|    145|                value = l;
  |  | 1397|    145|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1397:17): [True: 145, False: 0]
  |  |  ------------------
  |  | 1398|    145|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1399|    145|            }
  |  | 1400|      0|            stack_pointer[-2] = res;
  |  | 1401|    145|            stack_pointer += -1;
  |  | 1402|    145|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    145|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1403|    145|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    145|    { \
  |  |  |  |  201|    145|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    145|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    145|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    145|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    145|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    145|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    145|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    145|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 145]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    145|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    145|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    145|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    145|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    145|    }
  |  |  ------------------
  |  | 1404|    145|        }
  |  | 1405|       |
  |  | 1406|    181|        TARGET(BINARY_SLICE) {
  |  |  ------------------
  |  |  |  |  132|    181|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1407|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1408|       |            int opcode = BINARY_SLICE;
  |  | 1409|       |            (void)(opcode);
  |  | 1410|       |            #endif
  |  | 1411|    181|            frame->instr_ptr = next_instr;
  |  | 1412|    181|            next_instr += 1;
  |  | 1413|    181|            INSTRUCTION_STATS(BINARY_SLICE);
  |  |  ------------------
  |  |  |  |   71|    181|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1414|    181|            _PyStackRef container;
  |  | 1415|    181|            _PyStackRef start;
  |  | 1416|    181|            _PyStackRef stop;
  |  | 1417|    181|            _PyStackRef res;
  |  | 1418|       |            // _SPECIALIZE_BINARY_SLICE
  |  | 1419|    181|            {
  |  | 1420|    181|                #if ENABLE_SPECIALIZATION
  |  | 1421|    181|                OPCODE_DEFERRED_INC(BINARY_SLICE);
  |  |  ------------------
  |  |  |  |   90|    181|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 1422|    181|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 1423|    181|            }
  |  | 1424|       |            // _BINARY_SLICE
  |  | 1425|    181|            {
  |  | 1426|    181|                stop = stack_pointer[-1];
  |  | 1427|    181|                start = stack_pointer[-2];
  |  | 1428|    181|                container = stack_pointer[-3];
  |  | 1429|    181|                PyObject *container_o = PyStackRef_AsPyObjectBorrow(container);
  |  | 1430|    181|                PyObject *start_o = PyStackRef_AsPyObjectBorrow(start);
  |  | 1431|    181|                PyObject *stop_o = PyStackRef_AsPyObjectBorrow(stop);
  |  | 1432|    181|                PyObject *res_o;
  |  | 1433|    181|                if (PyList_CheckExact(container_o)) {
  |  |  ------------------
  |  |  |  |   26|    181|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    181|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    181|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    181|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 181]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1434|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1435|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 1436|      0|                    res_o = _PyList_BinarySlice(container_o, start_o, stop_o);
  |  | 1437|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1438|      0|                }
  |  | 1439|    181|                else if (PyTuple_CheckExact(container_o)) {
  |  |  ------------------
  |  |  |  |   28|    181|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    181|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    181|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    181|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 181]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|    181|                else if (PyUnicode_CheckExact(container_o)) {
  |  |  ------------------
  |  |  |  |  104|    181|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    181|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    181|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    181|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 152, False: 29]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1446|    152|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1447|    152|                    _PyFrame_StackPointerValidate(frame);
  |  | 1448|    152|                    res_o = _PyUnicode_BinarySlice(container_o, start_o, stop_o);
  |  | 1449|    152|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1450|    152|                }
  |  | 1451|     29|                else {
  |  | 1452|     29|                    PyObject *slice = PySlice_New(start_o, stop_o, NULL);
  |  | 1453|     29|                    if (slice == NULL) {
  |  |  ------------------
  |  |  |  Branch (1453:25): [True: 0, False: 29]
  |  |  ------------------
  |  | 1454|      0|                        res_o = NULL;
  |  | 1455|      0|                    }
  |  | 1456|     29|                    else {
  |  | 1457|     29|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1458|     29|                        _PyFrame_StackPointerValidate(frame);
  |  | 1459|     29|                        res_o = PyObject_GetItem(container_o, slice);
  |  | 1460|     29|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 1461|     29|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1461:25): [True: 29, False: 0]
  |  |  ------------------
  |  | 1462|     29|                        _PyFrame_StackPointerValidate(frame);
  |  | 1463|     29|                        Py_DECREF(slice);
  |  |  ------------------
  |  |  |  |   80|     29|    do { \
  |  |  |  |   81|     29|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     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: 0, False: 29]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     29|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     29|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     29|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 29, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|     29|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|     29|    do { \
  |  |  |  |  |  |  110|     29|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|     29|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 29]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|     29|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 29]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|     29|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|     29|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|     29|            (*dealloc)(op); \
  |  |  |  |   91|     29|        } \
  |  |  |  |   92|     29|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 29]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1464|     29|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 1465|     29|                    }
  |  | 1466|     29|                }
  |  | 1467|    181|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1468|    181|                _PyFrame_StackPointerValidate(frame);
  |  | 1469|    181|                _PyStackRef tmp = stop;
  |  | 1470|    181|                stop = PyStackRef_NULL;
  |  | 1471|    181|                stack_pointer[-1] = stop;
  |  | 1472|    181|                PyStackRef_CLOSE(tmp);
  |  | 1473|    181|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1474|    181|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1474:17): [True: 181, False: 0]
  |  |  ------------------
  |  | 1475|    181|                _PyFrame_StackPointerValidate(frame);
  |  | 1476|    181|                tmp = start;
  |  | 1477|    181|                start = PyStackRef_NULL;
  |  | 1478|    181|                stack_pointer[-2] = start;
  |  | 1479|    181|                PyStackRef_CLOSE(tmp);
  |  | 1480|    181|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1481|    181|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1481:17): [True: 181, False: 0]
  |  |  ------------------
  |  | 1482|    181|                _PyFrame_StackPointerValidate(frame);
  |  | 1483|    181|                tmp = container;
  |  | 1484|    181|                container = PyStackRef_NULL;
  |  | 1485|    181|                stack_pointer[-3] = container;
  |  | 1486|    181|                PyStackRef_CLOSE(tmp);
  |  | 1487|    181|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1488|    181|                stack_pointer += -3;
  |  | 1489|    181|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    181|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1490|    181|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1490:21): [True: 0, False: 181]
  |  |  ------------------
  |  | 1491|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1492|      0|                }
  |  | 1493|    181|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 1494|    181|            }
  |  | 1495|      0|            stack_pointer[0] = res;
  |  | 1496|    181|            stack_pointer += 1;
  |  | 1497|    181|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    181|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1498|    181|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    181|    { \
  |  |  |  |  201|    181|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    181|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    181|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    181|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    181|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    181|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    181|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    181|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 181]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    181|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    181|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    181|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    181|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    181|    }
  |  |  ------------------
  |  | 1499|    181|        }
  |  | 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);
  |  |  ------------------
  |  |  |  |  953|      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__);
  |  |  ------------------
  |  |  |  |  514|      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__);
  |  |  ------------------
  |  |  |  |  514|      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__);
  |  |  ------------------
  |  |  |  |  514|      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__);
  |  |  ------------------
  |  |  |  |  514|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|  1.21k|        TARGET(BUILD_LIST) {
  |  |  ------------------
  |  |  |  |  132|  1.21k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1564|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1565|       |            int opcode = BUILD_LIST;
  |  | 1566|       |            (void)(opcode);
  |  | 1567|       |            #endif
  |  | 1568|  1.21k|            frame->instr_ptr = next_instr;
  |  | 1569|  1.21k|            next_instr += 1;
  |  | 1570|  1.21k|            INSTRUCTION_STATS(BUILD_LIST);
  |  |  ------------------
  |  |  |  |   71|  1.21k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1571|  1.21k|            _PyStackRef *values;
  |  | 1572|  1.21k|            _PyStackRef list;
  |  | 1573|  1.21k|            values = &stack_pointer[-oparg];
  |  | 1574|  1.21k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1575|  1.21k|            _PyFrame_StackPointerValidate(frame);
  |  | 1576|  1.21k|            PyObject *list_o = _PyList_FromStackRefStealOnSuccess(values, oparg);
  |  | 1577|  1.21k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1578|  1.21k|            if (list_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1578:17): [True: 0, False: 1.21k]
  |  |  ------------------
  |  | 1579|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1580|      0|            }
  |  | 1581|  1.21k|            list = PyStackRef_FromPyObjectStealMortal(list_o);
  |  | 1582|  1.21k|            stack_pointer[-oparg] = list;
  |  | 1583|  1.21k|            stack_pointer += 1 - oparg;
  |  | 1584|  1.21k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.21k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1585|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  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|    }
  |  |  ------------------
  |  | 1586|  1.21k|        }
  |  | 1587|       |
  |  | 1588|    638|        TARGET(BUILD_MAP) {
  |  |  ------------------
  |  |  |  |  132|    638|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1589|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1590|       |            int opcode = BUILD_MAP;
  |  | 1591|       |            (void)(opcode);
  |  | 1592|       |            #endif
  |  | 1593|    638|            frame->instr_ptr = next_instr;
  |  | 1594|    638|            next_instr += 1;
  |  | 1595|    638|            INSTRUCTION_STATS(BUILD_MAP);
  |  |  ------------------
  |  |  |  |   71|    638|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1596|    638|            _PyStackRef *values;
  |  | 1597|    638|            _PyStackRef map;
  |  | 1598|    638|            values = &stack_pointer[-oparg*2];
  |  | 1599|    638|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1600|    638|            _PyFrame_StackPointerValidate(frame);
  |  | 1601|    638|            PyObject *map_o = _Py_BuildMap_StackRefSteal(values, oparg);
  |  | 1602|    638|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1603|    638|            if (map_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1603:17): [True: 0, False: 638]
  |  |  ------------------
  |  | 1604|      0|                stack_pointer += -oparg*2;
  |  | 1605|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      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|    638|            map = PyStackRef_FromPyObjectStealMortal(map_o);
  |  | 1609|    638|            stack_pointer[-oparg*2] = map;
  |  | 1610|    638|            stack_pointer += 1 - oparg*2;
  |  | 1611|    638|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    638|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1612|    638|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    638|    { \
  |  |  |  |  201|    638|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    638|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    638|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    638|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    638|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    638|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    638|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    638|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 638]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    638|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    638|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    638|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    638|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    638|    }
  |  |  ------------------
  |  | 1613|    638|        }
  |  | 1614|       |
  |  | 1615|     40|        TARGET(BUILD_SET) {
  |  |  ------------------
  |  |  |  |  132|     40|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1616|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1617|       |            int opcode = BUILD_SET;
  |  | 1618|       |            (void)(opcode);
  |  | 1619|       |            #endif
  |  | 1620|     40|            frame->instr_ptr = next_instr;
  |  | 1621|     40|            next_instr += 1;
  |  | 1622|     40|            INSTRUCTION_STATS(BUILD_SET);
  |  |  ------------------
  |  |  |  |   71|     40|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1623|     40|            _PyStackRef *values;
  |  | 1624|     40|            _PyStackRef set;
  |  | 1625|     40|            values = &stack_pointer[-oparg];
  |  | 1626|     40|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1627|     40|            _PyFrame_StackPointerValidate(frame);
  |  | 1628|     40|            PyObject *set_o = PySet_New(NULL);
  |  | 1629|     40|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1630|     40|            if (set_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1630:17): [True: 0, False: 40]
  |  |  ------------------
  |  | 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__);
  |  |  ------------------
  |  |  |  |  514|      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|     40|            int err = 0;
  |  | 1645|    153|            for (Py_ssize_t i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (1645:36): [True: 113, False: 40]
  |  |  ------------------
  |  | 1646|    113|                _PyStackRef value = values[i];
  |  | 1647|    113|                values[i] = PyStackRef_NULL;
  |  | 1648|    113|                if (err == 0) {
  |  |  ------------------
  |  |  |  Branch (1648:21): [True: 113, False: 0]
  |  |  ------------------
  |  | 1649|    113|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1649:21): [True: 113, False: 0]
  |  |  ------------------
  |  | 1650|    113|                    _PyFrame_StackPointerValidate(frame);
  |  | 1651|    113|                    err = _PySet_AddTakeRef((PySetObject *)set_o, PyStackRef_AsPyObjectSteal(value));
  |  | 1652|    113|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1653|    113|                }
  |  | 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|    113|            }
  |  | 1661|     40|            if (err) {
  |  |  ------------------
  |  |  |  Branch (1661:17): [True: 0, False: 40]
  |  |  ------------------
  |  | 1662|      0|                stack_pointer += -oparg;
  |  | 1663|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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|     40|            set = PyStackRef_FromPyObjectStealMortal(set_o);
  |  | 1671|     40|            stack_pointer[-oparg] = set;
  |  | 1672|     40|            stack_pointer += 1 - oparg;
  |  | 1673|     40|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     40|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1674|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     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|    }
  |  |  ------------------
  |  | 1675|     40|        }
  |  | 1676|       |
  |  | 1677|     11|        TARGET(BUILD_SLICE) {
  |  |  ------------------
  |  |  |  |  132|     11|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1678|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1679|       |            int opcode = BUILD_SLICE;
  |  | 1680|       |            (void)(opcode);
  |  | 1681|       |            #endif
  |  | 1682|     11|            frame->instr_ptr = next_instr;
  |  | 1683|     11|            next_instr += 1;
  |  | 1684|     11|            INSTRUCTION_STATS(BUILD_SLICE);
  |  |  ------------------
  |  |  |  |   71|     11|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1685|     11|            _PyStackRef *args;
  |  | 1686|     11|            _PyStackRef slice;
  |  | 1687|     11|            args = &stack_pointer[-oparg];
  |  | 1688|     11|            PyObject *start_o = PyStackRef_AsPyObjectBorrow(args[0]);
  |  | 1689|     11|            PyObject *stop_o = PyStackRef_AsPyObjectBorrow(args[1]);
  |  | 1690|     11|            PyObject *step_o = oparg == 3 ? PyStackRef_AsPyObjectBorrow(args[2]) : NULL;
  |  |  ------------------
  |  |  |  Branch (1690:32): [True: 10, False: 1]
  |  |  ------------------
  |  | 1691|     11|            PyObject *slice_o = PySlice_New(start_o, stop_o, step_o);
  |  | 1692|     11|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1693|     11|            _PyFrame_StackPointerValidate(frame);
  |  | 1694|     11|            _PyStackRef tmp;
  |  | 1695|     43|            for (int _i = oparg; --_i >= 0;) {
  |  |  ------------------
  |  |  |  Branch (1695:34): [True: 32, False: 11]
  |  |  ------------------
  |  | 1696|     32|                tmp = args[_i];
  |  | 1697|     32|                args[_i] = PyStackRef_NULL;
  |  | 1698|     32|                PyStackRef_CLOSE(tmp);
  |  | 1699|     32|            }
  |  | 1700|     11|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1701|     11|            stack_pointer += -oparg;
  |  | 1702|     11|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     11|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1703|     11|            if (slice_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1703:17): [True: 0, False: 11]
  |  |  ------------------
  |  | 1704|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1705|      0|            }
  |  | 1706|     11|            slice = PyStackRef_FromPyObjectStealMortal(slice_o);
  |  | 1707|     11|            stack_pointer[0] = slice;
  |  | 1708|     11|            stack_pointer += 1;
  |  | 1709|     11|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     11|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1710|     11|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     11|    { \
  |  |  |  |  201|     11|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     11|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     11|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     11|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     11|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     11|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     11|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     11|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 11]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     11|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     11|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     11|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     11|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     11|    }
  |  |  ------------------
  |  | 1711|     11|        }
  |  | 1712|       |
  |  | 1713|    271|        TARGET(BUILD_STRING) {
  |  |  ------------------
  |  |  |  |  132|    271|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1714|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1715|       |            int opcode = BUILD_STRING;
  |  | 1716|       |            (void)(opcode);
  |  | 1717|       |            #endif
  |  | 1718|    271|            frame->instr_ptr = next_instr;
  |  | 1719|    271|            next_instr += 1;
  |  | 1720|    271|            INSTRUCTION_STATS(BUILD_STRING);
  |  |  ------------------
  |  |  |  |   71|    271|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1721|    271|            _PyStackRef *pieces;
  |  | 1722|    271|            _PyStackRef str;
  |  | 1723|    271|            pieces = &stack_pointer[-oparg];
  |  | 1724|    271|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1725|    271|            _PyFrame_StackPointerValidate(frame);
  |  | 1726|    271|            PyObject *str_o = _Py_BuildString_StackRefSteal(pieces, oparg);
  |  | 1727|    271|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1728|    271|            if (str_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1728:17): [True: 0, False: 271]
  |  |  ------------------
  |  | 1729|      0|                stack_pointer += -oparg;
  |  | 1730|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      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|    271|            str = PyStackRef_FromPyObjectSteal(str_o);
  |  | 1734|    271|            stack_pointer[-oparg] = str;
  |  | 1735|    271|            stack_pointer += 1 - oparg;
  |  | 1736|    271|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    271|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1737|    271|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    271|    { \
  |  |  |  |  201|    271|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    271|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    271|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    271|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    271|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    271|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    271|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    271|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 271]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    271|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    271|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    271|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    271|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    271|    }
  |  |  ------------------
  |  | 1738|    271|        }
  |  | 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__);
  |  |  ------------------
  |  |  |  |  514|      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__);
  |  |  ------------------
  |  |  |  |  514|      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__);
  |  |  ------------------
  |  |  |  |  514|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|  1.05k|        TARGET(BUILD_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  1.05k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1782|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1783|       |            int opcode = BUILD_TUPLE;
  |  | 1784|       |            (void)(opcode);
  |  | 1785|       |            #endif
  |  | 1786|  1.05k|            frame->instr_ptr = next_instr;
  |  | 1787|  1.05k|            next_instr += 1;
  |  | 1788|  1.05k|            INSTRUCTION_STATS(BUILD_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  1.05k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1789|  1.05k|            _PyStackRef *values;
  |  | 1790|  1.05k|            _PyStackRef tup;
  |  | 1791|  1.05k|            values = &stack_pointer[-oparg];
  |  | 1792|  1.05k|            PyObject *tup_o = _PyTuple_FromStackRefStealOnSuccess(values, oparg);
  |  | 1793|  1.05k|            if (tup_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1793:17): [True: 0, False: 1.05k]
  |  |  ------------------
  |  | 1794|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1795|      0|            }
  |  | 1796|  1.05k|            tup = PyStackRef_FromPyObjectStealMortal(tup_o);
  |  | 1797|  1.05k|            stack_pointer[-oparg] = tup;
  |  | 1798|  1.05k|            stack_pointer += 1 - oparg;
  |  | 1799|  1.05k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.05k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1800|  1.05k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.05k|    { \
  |  |  |  |  201|  1.05k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.05k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.05k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.05k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.05k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.05k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.05k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.05k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.05k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.05k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.05k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.05k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.05k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.05k|    }
  |  |  ------------------
  |  | 1801|  1.05k|        }
  |  | 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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|  3.17k|        TARGET(CALL) {
  |  |  ------------------
  |  |  |  |  132|  3.17k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1817|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1818|       |            int opcode = CALL;
  |  | 1819|       |            (void)(opcode);
  |  | 1820|       |            #endif
  |  | 1821|  3.17k|            frame->instr_ptr = next_instr;
  |  | 1822|  3.17k|            next_instr += 4;
  |  | 1823|  3.17k|            INSTRUCTION_STATS(CALL);
  |  |  ------------------
  |  |  |  |   71|  3.17k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1824|  3.71k|            PREDICTED_CALL:;
  |  | 1825|  3.71k|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  | 1826|  3.71k|            (void)this_instr;
  |  | 1827|  3.71k|            opcode = CALL;
  |  |  ------------------
  |  |  |  |   63|  3.71k|#define CALL                                    50
  |  |  ------------------
  |  | 1828|  3.71k|            _PyStackRef callable;
  |  | 1829|  3.71k|            _PyStackRef self_or_null;
  |  | 1830|  3.71k|            _PyStackRef *args;
  |  | 1831|  3.71k|            _PyStackRef res;
  |  | 1832|       |            // _SPECIALIZE_CALL
  |  | 1833|  3.71k|            {
  |  | 1834|  3.71k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 1835|  3.71k|                callable = stack_pointer[-2 - oparg];
  |  | 1836|  3.71k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 1837|  3.71k|                (void)counter;
  |  | 1838|  3.71k|                #if ENABLE_SPECIALIZATION
  |  | 1839|  3.71k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  3.71k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 888, False: 2.82k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1840|    888|                    next_instr = this_instr;
  |  | 1841|    888|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1842|    888|                    _PyFrame_StackPointerValidate(frame);
  |  | 1843|    888|                    _Py_Specialize_Call(callable, self_or_null, next_instr, oparg + !PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  |  482|    888|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    888|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    888|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1844|    888|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1845|    888|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    888|    { \
  |  |  |  |  217|    888|        opcode = next_instr->op.code; \
  |  |  |  |  218|    888|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    888|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    888|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    888|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    888|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    888|    }
  |  |  ------------------
  |  | 1846|    888|                }
  |  | 1847|  3.71k|                OPCODE_DEFERRED_INC(CALL);
  |  |  ------------------
  |  |  |  |   90|  3.71k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 1848|  3.71k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  3.71k|    do { \
  |  |  |  |  378|  3.71k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  3.71k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 3.71k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1849|  3.71k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 1850|  3.71k|            }
  |  | 1851|       |            /* Skip 2 cache entries */
  |  | 1852|       |            // _MAYBE_EXPAND_METHOD
  |  | 1853|  3.71k|            {
  |  | 1854|  3.71k|                if (PyStackRef_TYPE(callable) == &PyMethod_Type && PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    151|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    151|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    151|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 151, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1854:21): [True: 151, False: 3.56k]
  |  |  ------------------
  |  | 1855|    151|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1856|    151|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 1857|    151|                    self_or_null = PyStackRef_FromPyObjectNew(self);
  |  |  ------------------
  |  |  |  |  611|    151|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    151|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    151|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1858|    151|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 1859|    151|                    _PyStackRef temp = callable;
  |  | 1860|    151|                    callable = PyStackRef_FromPyObjectNew(method);
  |  |  ------------------
  |  |  |  |  611|    151|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    151|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    151|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1861|    151|                    stack_pointer[-2 - oparg] = callable;
  |  | 1862|    151|                    stack_pointer[-1 - oparg] = self_or_null;
  |  | 1863|    151|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1864|    151|                    _PyFrame_StackPointerValidate(frame);
  |  | 1865|    151|                    PyStackRef_CLOSE(temp);
  |  | 1866|    151|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1867|    151|                }
  |  | 1868|  3.71k|            }
  |  | 1869|       |            // _DO_CALL
  |  | 1870|  3.71k|            {
  |  | 1871|  3.71k|                args = &stack_pointer[-oparg];
  |  | 1872|  3.71k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1873|  3.71k|                int total_args = oparg;
  |  | 1874|  3.71k|                _PyStackRef *arguments = args;
  |  | 1875|  3.71k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  3.71k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  3.71k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  3.71k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1875:21): [True: 1.25k, False: 2.46k]
  |  |  ------------------
  |  | 1876|  1.25k|                    arguments--;
  |  | 1877|  1.25k|                    total_args++;
  |  | 1878|  1.25k|                }
  |  | 1879|  3.71k|                if (Py_TYPE(callable_o) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|  3.71k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1879:21): [True: 977, False: 2.73k]
  |  |  ------------------
  |  | 1880|    977|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|  4.68k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (1880:21): [True: 977, False: 0]
  |  |  ------------------
  |  | 1881|    977|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (1881:21): [True: 977, False: 0]
  |  |  ------------------
  |  | 1882|    977|                {
  |  | 1883|    977|                    int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|    977|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    977|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    977|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1884|    977|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|    977|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                                   PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _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: 977, False: 0]
  |  |  ------------------
  |  | 1885|    977|                    stack_pointer[-2 - oparg] = callable;
  |  | 1886|    977|                    stack_pointer[-1 - oparg] = self_or_null;
  |  | 1887|    977|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1888|    977|                    _PyFrame_StackPointerValidate(frame);
  |  | 1889|    977|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 1890|    977|                        tstate, callable, locals,
  |  | 1891|    977|                        arguments, total_args, NULL, frame
  |  | 1892|    977|                    );
  |  | 1893|    977|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1894|    977|                    stack_pointer += -2 - oparg;
  |  | 1895|    977|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    977|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1896|    977|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (1896:25): [True: 0, False: 977]
  |  |  ------------------
  |  | 1897|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1898|      0|                    }
  |  | 1899|    977|                    frame->return_offset = 4u ;
  |  | 1900|    977|                    DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|    977|    do {                                                         \
  |  |  |  |  224|    977|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|    977|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|    977|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|    977|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|    977|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|    977|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|    977|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|    977|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|    977|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1900:21): [True: 977, False: 0]
  |  |  |  Branch (1900:21): [True: 977, False: 0]
  |  |  ------------------
  |  | 1901|    977|                }
  |  | 1902|  2.73k|                stack_pointer[-2 - oparg] = callable;
  |  | 1903|  2.73k|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 1904|  2.73k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1905|  2.73k|                _PyFrame_StackPointerValidate(frame);
  |  | 1906|  2.73k|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 1907|  2.73k|                    callable,
  |  | 1908|  2.73k|                    arguments,
  |  | 1909|  2.73k|                    total_args,
  |  | 1910|  2.73k|                    PyStackRef_NULL,
  |  | 1911|  2.73k|                    opcode == INSTRUMENTED_CALL,
  |  |  ------------------
  |  |  |  |  237|  2.73k|#define INSTRUMENTED_CALL                      249
  |  |  ------------------
  |  | 1912|  2.73k|                    frame,
  |  | 1913|  2.73k|                    this_instr,
  |  | 1914|  2.73k|                    tstate);
  |  | 1915|  2.73k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1916|  2.73k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1916:21): [True: 26, False: 2.70k]
  |  |  ------------------
  |  | 1917|     26|                    stack_pointer += -2 - oparg;
  |  | 1918|     26|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     26|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1919|     26|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     26|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1920|      0|                }
  |  | 1921|  2.70k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 1922|  2.70k|            }
  |  | 1923|       |            // _CHECK_PERIODIC_AT_END
  |  | 1924|      0|            {
  |  | 1925|  2.70k|                stack_pointer[-2 - oparg] = res;
  |  | 1926|  2.70k|                stack_pointer += -1 - oparg;
  |  | 1927|  2.70k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.70k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1928|  2.70k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1929|  2.70k|                _PyFrame_StackPointerValidate(frame);
  |  | 1930|  2.70k|                int err = check_periodics_at_end(tstate, frame);
  |  | 1931|  2.70k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1932|  2.70k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (1932:21): [True: 0, False: 2.70k]
  |  |  ------------------
  |  | 1933|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1934|      0|                }
  |  | 1935|  2.70k|            }
  |  | 1936|  2.70k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.70k|    { \
  |  |  |  |  201|  2.70k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.70k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.70k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.70k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.70k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.70k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.70k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.70k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.70k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.70k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.70k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.70k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.70k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.70k|    }
  |  |  ------------------
  |  | 1937|  2.70k|        }
  |  | 1938|       |
  |  | 1939|    234|        TARGET(CALL_ALLOC_AND_ENTER_INIT) {
  |  |  ------------------
  |  |  |  |  132|    234|#  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|    234|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1945|    234|            (void)this_instr;
  |  | 1946|    234|            frame->instr_ptr = next_instr;
  |  | 1947|    234|            next_instr += 4;
  |  | 1948|    234|            INSTRUCTION_STATS(CALL_ALLOC_AND_ENTER_INIT);
  |  |  ------------------
  |  |  |  |   71|    234|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1949|    234|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 1950|    234|            _PyStackRef callable;
  |  | 1951|    234|            _PyStackRef self_or_null;
  |  | 1952|    234|            _PyStackRef init;
  |  | 1953|    234|            _PyStackRef self;
  |  | 1954|    234|            _PyStackRef *args;
  |  | 1955|    234|            _PyStackRef init_frame;
  |  | 1956|    234|            _PyStackRef new_frame;
  |  | 1957|       |            /* Skip 1 cache entry */
  |  | 1958|       |            // _CHECK_PEP_523
  |  | 1959|    234|            {
  |  | 1960|    234|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|    234|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 234]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|    234|            }
  |  | 1966|       |            // _CHECK_OBJECT
  |  | 1967|    234|            {
  |  | 1968|    234|                self_or_null = stack_pointer[-1 - oparg];
  |  | 1969|    234|                callable = stack_pointer[-2 - oparg];
  |  | 1970|    234|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 1971|    234|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1972|    234|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    234|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    234|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    234|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1972:21): [True: 0, False: 234]
  |  |  ------------------
  |  | 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|    234|                if (!PyType_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |  766|    234|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    234|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    234|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1977:21): [True: 0, False: 234]
  |  |  ------------------
  |  | 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|    234|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 1983|    234|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  161|    234|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (1983:21): [True: 1, False: 233]
  |  |  ------------------
  |  | 1984|      1|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      1|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1985|      1|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (1985:21): [True: 1, False: 0]
  |  |  ------------------
  |  | 1986|      1|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      1|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1987|      0|                }
  |  | 1988|    234|            }
  |  | 1989|       |            // _CHECK_RECURSION_REMAINING
  |  | 1990|    233|            {
  |  | 1991|    233|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (1991:21): [True: 0, False: 233]
  |  |  ------------------
  |  | 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|    233|            }
  |  | 1997|       |            // _ALLOCATE_OBJECT
  |  | 1998|    233|            {
  |  | 1999|    233|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2000|    233|                assert(PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (2000:17): [True: 233, False: 0]
  |  |  ------------------
  |  | 2001|    233|                assert(PyType_Check(callable_o));
  |  |  ------------------
  |  |  |  Branch (2001:17): [True: 233, False: 0]
  |  |  ------------------
  |  | 2002|    233|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 2003|    233|                assert(tp->tp_new == PyBaseObject_Type.tp_new);
  |  |  ------------------
  |  |  |  Branch (2003:17): [True: 233, False: 0]
  |  |  ------------------
  |  | 2004|    233|                assert(tp->tp_flags & Py_TPFLAGS_HEAPTYPE);
  |  |  ------------------
  |  |  |  Branch (2004:17): [True: 233, False: 0]
  |  |  ------------------
  |  | 2005|    233|                assert(tp->tp_alloc == PyType_GenericAlloc);
  |  |  ------------------
  |  |  |  Branch (2005:17): [True: 233, False: 0]
  |  |  ------------------
  |  | 2006|    233|                PyHeapTypeObject *cls = (PyHeapTypeObject *)callable_o;
  |  | 2007|    233|                PyFunctionObject *init_func = (PyFunctionObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(cls->_spec_cache.init);
  |  |  ------------------
  |  |  |  |  152|    233|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 2008|    233|                PyCodeObject *code = (PyCodeObject *)init_func->func_code;
  |  | 2009|    233|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize + _Py_InitCleanup.co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (2009:21): [True: 0, False: 233]
  |  |  ------------------
  |  | 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|    233|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    233|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2015|    233|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2016|    233|                _PyFrame_StackPointerValidate(frame);
  |  | 2017|    233|                PyObject *self_o = PyType_GenericAlloc(tp, 0);
  |  | 2018|    233|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2019|    233|                if (self_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2019:21): [True: 0, False: 233]
  |  |  ------------------
  |  | 2020|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2021|      0|                }
  |  | 2022|    233|                self_or_null = PyStackRef_FromPyObjectSteal(self_o);
  |  | 2023|    233|                _PyStackRef temp = callable;
  |  | 2024|    233|                callable = PyStackRef_FromPyObjectNew(init_func);
  |  |  ------------------
  |  |  |  |  611|    233|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    233|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    233|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2025|    233|                stack_pointer[-2 - oparg] = callable;
  |  | 2026|    233|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 2027|    233|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2027:17): [True: 233, False: 0]
  |  |  ------------------
  |  | 2028|    233|                _PyFrame_StackPointerValidate(frame);
  |  | 2029|    233|                PyStackRef_CLOSE(temp);
  |  | 2030|    233|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2031|    233|            }
  |  | 2032|       |            // _CREATE_INIT_FRAME
  |  | 2033|      0|            {
  |  | 2034|    233|                args = &stack_pointer[-oparg];
  |  | 2035|    233|                self = self_or_null;
  |  | 2036|    233|                init = callable;
  |  | 2037|    233|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2037:17): [True: 233, False: 0]
  |  |  ------------------
  |  | 2038|    233|                _PyFrame_StackPointerValidate(frame);
  |  | 2039|    233|                _PyInterpreterFrame *shim = _PyFrame_PushTrampolineUnchecked(
  |  | 2040|    233|                    tstate, (PyCodeObject *)&_Py_InitCleanup, 1, frame);
  |  | 2041|    233|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2042|    233|                assert(_PyFrame_GetBytecode(shim)[0].op.code == EXIT_INIT_CHECK);
  |  |  ------------------
  |  |  |  Branch (2042:17): [True: 233, False: 0]
  |  |  ------------------
  |  | 2043|    233|                assert(_PyFrame_GetBytecode(shim)[1].op.code == RETURN_VALUE);
  |  |  ------------------
  |  |  |  Branch (2043:17): [True: 233, False: 0]
  |  |  ------------------
  |  | 2044|    233|                shim->localsplus[0] = PyStackRef_DUP(self);
  |  | 2045|    233|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2045:17): [True: 233, False: 0]
  |  |  ------------------
  |  | 2046|    233|                _PyFrame_StackPointerValidate(frame);
  |  | 2047|    233|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 2048|    233|                    tstate, init, NULL, args-1, oparg+1, NULL, shim);
  |  | 2049|    233|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2050|    233|                stack_pointer += -2 - oparg;
  |  | 2051|    233|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    233|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2052|    233|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (2052:21): [True: 0, False: 233]
  |  |  ------------------
  |  | 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|    233|                frame->return_offset = 1 + INLINE_CACHE_ENTRIES_CALL;
  |  |  ------------------
  |  |  |  |  129|    233|#define INLINE_CACHE_ENTRIES_CALL CACHE_ENTRIES(_PyCallCache)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    233|#define CACHE_ENTRIES(cache) (sizeof(cache)/sizeof(_Py_CODEUNIT))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2060|    233|                tstate->py_recursion_remaining--;
  |  | 2061|    233|                init_frame = PyStackRef_Wrap(temp);
  |  | 2062|    233|            }
  |  | 2063|       |            // _PUSH_FRAME
  |  | 2064|      0|            {
  |  | 2065|    233|                new_frame = init_frame;
  |  | 2066|    233|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (2066:17): [True: 233, False: 0]
  |  |  ------------------
  |  | 2067|    233|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2068|    233|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2069|    233|                _PyFrame_StackPointerValidate(frame);
  |  | 2070|    233|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (2070:17): [True: 0, False: 233]
  |  |  |  Branch (2070:17): [True: 233, False: 0]
  |  |  ------------------
  |  | 2071|    233|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|    233|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2072|    233|                frame = tstate->current_frame = temp;
  |  | 2073|    233|                tstate->py_recursion_remaining--;
  |  | 2074|    233|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2075|    233|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2076|    233|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|    233|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|    233|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|    233|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 233]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2077|       |                #ifdef Py_DEBUG
  |  | 2078|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 2079|       |                #endif
  |  | 2080|    233|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|    233|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2081|    233|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    233|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2082|    233|            }
  |  | 2083|    233|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    233|    { \
  |  |  |  |  201|    233|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    233|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    233|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    233|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    233|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    233|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    233|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    233|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 233]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    233|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    233|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    233|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    233|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    233|    }
  |  |  ------------------
  |  | 2084|    233|        }
  |  | 2085|       |
  |  | 2086|    412|        TARGET(CALL_BOUND_METHOD_EXACT_ARGS) {
  |  |  ------------------
  |  |  |  |  132|    412|#  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|    412|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2092|    412|            (void)this_instr;
  |  | 2093|    412|            frame->instr_ptr = next_instr;
  |  | 2094|    412|            next_instr += 4;
  |  | 2095|    412|            INSTRUCTION_STATS(CALL_BOUND_METHOD_EXACT_ARGS);
  |  |  ------------------
  |  |  |  |   71|    412|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2096|    412|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2097|    412|            _PyStackRef callable;
  |  | 2098|    412|            _PyStackRef null;
  |  | 2099|    412|            _PyStackRef self_or_null;
  |  | 2100|    412|            _PyStackRef *args;
  |  | 2101|    412|            _PyStackRef new_frame;
  |  | 2102|       |            /* Skip 1 cache entry */
  |  | 2103|       |            // _CHECK_PEP_523
  |  | 2104|    412|            {
  |  | 2105|    412|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|    412|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 412]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|    412|            }
  |  | 2111|       |            // _CHECK_CALL_BOUND_METHOD_EXACT_ARGS
  |  | 2112|    412|            {
  |  | 2113|    412|                null = stack_pointer[-1 - oparg];
  |  | 2114|    412|                callable = stack_pointer[-2 - oparg];
  |  | 2115|    412|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|    412|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    412|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    412|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2115:21): [True: 0, False: 412]
  |  |  ------------------
  |  | 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|    412|                if (Py_TYPE(PyStackRef_AsPyObjectBorrow(callable)) != &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|    412|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    412|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    412|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2120:21): [True: 0, False: 412]
  |  |  ------------------
  |  | 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|    412|            }
  |  | 2126|       |            // _INIT_CALL_BOUND_METHOD_EXACT_ARGS
  |  | 2127|    412|            {
  |  | 2128|    412|                self_or_null = null;
  |  | 2129|    412|                assert(PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (2129:17): [True: 412, False: 0]
  |  |  ------------------
  |  | 2130|    412|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2131|    412|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    412|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2132|    412|                self_or_null = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_self);
  |  |  ------------------
  |  |  |  |  611|    412|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    412|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    412|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2133|    412|                _PyStackRef temp = callable;
  |  | 2134|    412|                callable = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_func);
  |  |  ------------------
  |  |  |  |  611|    412|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    412|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    412|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2135|    412|                stack_pointer[-2 - oparg] = callable;
  |  | 2136|    412|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 2137|    412|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2138|    412|                _PyFrame_StackPointerValidate(frame);
  |  | 2139|    412|                PyStackRef_CLOSE(temp);
  |  | 2140|    412|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2141|    412|            }
  |  | 2142|       |            // flush
  |  | 2143|       |            // _CHECK_FUNCTION_VERSION
  |  | 2144|      0|            {
  |  | 2145|    412|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 2146|    412|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2147|    412|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|    412|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    412|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    412|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    412|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2147:21): [True: 0, False: 412]
  |  |  ------------------
  |  | 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|    412|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 2153|    412|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (2153:21): [True: 83, False: 329]
  |  |  ------------------
  |  | 2154|     83|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     83|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2155|     83|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2155:21): [True: 83, False: 0]
  |  |  ------------------
  |  | 2156|     83|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     83|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2157|      0|                }
  |  | 2158|    412|            }
  |  | 2159|       |            // _CHECK_FUNCTION_EXACT_ARGS
  |  | 2160|    329|            {
  |  | 2161|    329|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2162|    329|                assert(PyFunction_Check(callable_o));
  |  |  ------------------
  |  |  |  Branch (2162:17): [True: 329, False: 0]
  |  |  ------------------
  |  | 2163|    329|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 2164|    329|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 2165|    329|                if (code->co_argcount != oparg + (!PyStackRef_IsNull(self_or_null))) {
  |  |  ------------------
  |  |  |  |  482|    329|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    329|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    329|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2165:21): [True: 0, False: 329]
  |  |  ------------------
  |  | 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|    329|            }
  |  | 2171|       |            // _CHECK_STACK_SPACE
  |  | 2172|    329|            {
  |  | 2173|    329|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2174|    329|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 2175|    329|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 2176|    329|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (2176:21): [True: 0, False: 329]
  |  |  ------------------
  |  | 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|    329|            }
  |  | 2182|       |            // _CHECK_RECURSION_REMAINING
  |  | 2183|    329|            {
  |  | 2184|    329|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (2184:21): [True: 0, False: 329]
  |  |  ------------------
  |  | 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|    329|            }
  |  | 2190|       |            // _INIT_CALL_PY_EXACT_ARGS
  |  | 2191|    329|            {
  |  | 2192|    329|                args = &stack_pointer[-oparg];
  |  | 2193|    329|                int has_self = !PyStackRef_IsNull(self_or_null);
  |  |  ------------------
  |  |  |  |  482|    329|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    329|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    329|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2194|    329|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    329|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2195|    329|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, callable, oparg + has_self, frame);
  |  | 2196|    329|                _PyStackRef *first_non_self_local = pushed_frame->localsplus + has_self;
  |  | 2197|    329|                pushed_frame->localsplus[0] = self_or_null;
  |  | 2198|    864|                for (int i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (2198:33): [True: 535, False: 329]
  |  |  ------------------
  |  | 2199|    535|                    first_non_self_local[i] = args[i];
  |  | 2200|    535|                }
  |  | 2201|    329|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 2202|    329|            }
  |  | 2203|       |            // _SAVE_RETURN_OFFSET
  |  | 2204|    329|            {
  |  | 2205|    329|                #if TIER_ONE
  |  | 2206|    329|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 2207|    329|                #endif
  |  | 2208|       |                #if TIER_TWO
  |  | 2209|       |                frame->return_offset = oparg;
  |  | 2210|       |                #endif
  |  | 2211|    329|            }
  |  | 2212|       |            // _PUSH_FRAME
  |  | 2213|    329|            {
  |  | 2214|    329|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (2214:17): [True: 329, False: 0]
  |  |  ------------------
  |  | 2215|    329|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2216|    329|                stack_pointer += -2 - oparg;
  |  | 2217|    329|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    329|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2218|    329|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2219|    329|                _PyFrame_StackPointerValidate(frame);
  |  | 2220|    329|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (2220:17): [True: 329, False: 0]
  |  |  |  Branch (2220:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2221|    329|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|    329|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2222|    329|                frame = tstate->current_frame = temp;
  |  | 2223|    329|                tstate->py_recursion_remaining--;
  |  | 2224|    329|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2225|    329|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2226|    329|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|    329|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|    329|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|    329|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 329]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2227|       |                #ifdef Py_DEBUG
  |  | 2228|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 2229|       |                #endif
  |  | 2230|    329|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|    329|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2231|    329|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    329|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2232|    329|            }
  |  | 2233|    329|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    329|    { \
  |  |  |  |  201|    329|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    329|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    329|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    329|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    329|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    329|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    329|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    329|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 329]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    329|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    329|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    329|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    329|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    329|    }
  |  |  ------------------
  |  | 2234|    329|        }
  |  | 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));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _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__);
  |  |  ------------------
  |  |  |  |  514|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    405|        TARGET(CALL_BUILTIN_CLASS) {
  |  |  ------------------
  |  |  |  |  132|    405|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2373|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2374|       |            int opcode = CALL_BUILTIN_CLASS;
  |  | 2375|       |            (void)(opcode);
  |  | 2376|       |            #endif
  |  | 2377|    405|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2378|    405|            (void)this_instr;
  |  | 2379|    405|            frame->instr_ptr = next_instr;
  |  | 2380|    405|            next_instr += 4;
  |  | 2381|    405|            INSTRUCTION_STATS(CALL_BUILTIN_CLASS);
  |  |  ------------------
  |  |  |  |   71|    405|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2382|    405|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2383|    405|            _PyStackRef callable;
  |  | 2384|    405|            _PyStackRef self_or_null;
  |  | 2385|    405|            _PyStackRef *args;
  |  | 2386|    405|            _PyStackRef value;
  |  | 2387|       |            /* Skip 1 cache entry */
  |  | 2388|       |            /* Skip 2 cache entries */
  |  | 2389|       |            // _GUARD_CALLABLE_BUILTIN_CLASS
  |  | 2390|    405|            {
  |  | 2391|    405|                callable = stack_pointer[-2 - oparg];
  |  | 2392|    405|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2393|    405|                if (!PyType_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |  766|    405|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    405|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2393:21): [True: 0, False: 405]
  |  |  ------------------
  |  | 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|    405|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 2399|    405|                if (tp->tp_vectorcall == NULL) {
  |  |  ------------------
  |  |  |  Branch (2399:21): [True: 0, False: 405]
  |  |  ------------------
  |  | 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|    405|            }
  |  | 2405|       |            // _CALL_BUILTIN_CLASS
  |  | 2406|    405|            {
  |  | 2407|    405|                args = &stack_pointer[-oparg];
  |  | 2408|    405|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2409|    405|                int total_args = oparg;
  |  | 2410|    405|                _PyStackRef *arguments = args;
  |  | 2411|    405|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    405|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    405|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    405|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2411:21): [True: 0, False: 405]
  |  |  ------------------
  |  | 2412|      0|                    arguments--;
  |  | 2413|      0|                    total_args++;
  |  | 2414|      0|                }
  |  | 2415|    405|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    405|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2416|    405|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2417|    405|                _PyFrame_StackPointerValidate(frame);
  |  | 2418|    405|                PyObject *res_o = _Py_CallBuiltinClass_StackRef(
  |  | 2419|    405|                    callable,
  |  | 2420|    405|                    arguments,
  |  | 2421|    405|                    total_args);
  |  | 2422|    405|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2423|    405|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2423:21): [True: 0, False: 405]
  |  |  ------------------
  |  | 2424|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2425|      0|                }
  |  | 2426|    405|                _PyStackRef temp = callable;
  |  | 2427|    405|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2428|    405|                stack_pointer[-2 - oparg] = callable;
  |  | 2429|    405|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2429:17): [True: 405, False: 0]
  |  |  ------------------
  |  | 2430|    405|                _PyFrame_StackPointerValidate(frame);
  |  | 2431|    405|                PyStackRef_CLOSE(temp);
  |  | 2432|    405|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2433|    405|            }
  |  | 2434|       |            // _POP_TOP_OPARG
  |  | 2435|      0|            {
  |  | 2436|    405|                args = &stack_pointer[-oparg];
  |  | 2437|    405|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2437:17): [True: 405, False: 0]
  |  |  ------------------
  |  | 2438|    405|                _PyFrame_StackPointerValidate(frame);
  |  | 2439|    405|                _PyStackRef_CloseStack(args, oparg);
  |  | 2440|    405|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2441|    405|            }
  |  | 2442|       |            // _POP_TOP
  |  | 2443|      0|            {
  |  | 2444|    405|                value = self_or_null;
  |  | 2445|    405|                stack_pointer += -1 - oparg;
  |  | 2446|    405|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    405|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2447|    405|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2448|    405|                _PyFrame_StackPointerValidate(frame);
  |  | 2449|    405|                PyStackRef_XCLOSE(value);
  |  | 2450|    405|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2451|    405|            }
  |  | 2452|       |            // _CHECK_PERIODIC_AT_END
  |  | 2453|    405|            {
  |  | 2454|    405|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2454:17): [True: 405, False: 0]
  |  |  ------------------
  |  | 2455|    405|                _PyFrame_StackPointerValidate(frame);
  |  | 2456|    405|                int err = check_periodics_at_end(tstate, frame);
  |  | 2457|    405|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2458|    405|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2458:21): [True: 0, False: 405]
  |  |  ------------------
  |  | 2459|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2460|      0|                }
  |  | 2461|    405|            }
  |  | 2462|    405|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    405|    { \
  |  |  |  |  201|    405|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    405|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    405|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    405|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    405|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    405|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    405|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    405|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 405]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    405|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    405|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    405|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    405|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    405|    }
  |  |  ------------------
  |  | 2463|    405|        }
  |  | 2464|       |
  |  | 2465|  1.79k|        TARGET(CALL_BUILTIN_FAST) {
  |  |  ------------------
  |  |  |  |  132|  1.79k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2466|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2467|       |            int opcode = CALL_BUILTIN_FAST;
  |  | 2468|       |            (void)(opcode);
  |  | 2469|       |            #endif
  |  | 2470|  1.79k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2471|  1.79k|            (void)this_instr;
  |  | 2472|  1.79k|            frame->instr_ptr = next_instr;
  |  | 2473|  1.79k|            next_instr += 4;
  |  | 2474|  1.79k|            INSTRUCTION_STATS(CALL_BUILTIN_FAST);
  |  |  ------------------
  |  |  |  |   71|  1.79k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2475|  1.79k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2476|  1.79k|            _PyStackRef callable;
  |  | 2477|  1.79k|            _PyStackRef self_or_null;
  |  | 2478|  1.79k|            _PyStackRef *args;
  |  | 2479|  1.79k|            _PyStackRef value;
  |  | 2480|       |            /* Skip 1 cache entry */
  |  | 2481|       |            /* Skip 2 cache entries */
  |  | 2482|       |            // _GUARD_CALLABLE_BUILTIN_FAST
  |  | 2483|  1.79k|            {
  |  | 2484|  1.79k|                callable = stack_pointer[-2 - oparg];
  |  | 2485|  1.79k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2486|  1.79k|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|  1.79k|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.79k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2486:21): [True: 0, False: 1.79k]
  |  |  ------------------
  |  | 2487|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2488|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2488:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2489|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2490|      0|                }
  |  | 2491|  1.79k|                if ((PyCFunction_GET_FLAGS(callable_o) &
  |  |  ------------------
  |  |  |  |   57|  1.79k|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2491:21): [True: 0, False: 1.79k]
  |  |  ------------------
  |  | 2492|  1.79k|                     _Py_METH_CALL_FLAGS) != METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |   17|  1.79k|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   95|  1.79k|#define METH_VARARGS  0x0001
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|  1.79k|#  define METH_FASTCALL  0x0080
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  1.79k|#define METH_NOARGS   0x0004
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|  1.79k|#define METH_O        0x0008
  |  |  |  |  ------------------
  |  |  |  |   18|  1.79k|     METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |   96|  1.79k|#define METH_KEYWORDS 0x0002
  |  |  |  |  ------------------
  |  |  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.79k|#define METH_METHOD 0x0200
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                    _Py_METH_CALL_FLAGS) != METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |  115|  1.79k|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  | 2493|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2494|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2494:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2495|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2496|      0|                }
  |  | 2497|  1.79k|            }
  |  | 2498|       |            // _CALL_BUILTIN_FAST
  |  | 2499|  1.79k|            {
  |  | 2500|  1.79k|                args = &stack_pointer[-oparg];
  |  | 2501|  1.79k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2502|  1.79k|                int total_args = oparg;
  |  | 2503|  1.79k|                _PyStackRef *arguments = args;
  |  | 2504|  1.79k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.79k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.79k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.79k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2504:21): [True: 0, False: 1.79k]
  |  |  ------------------
  |  | 2505|      0|                    arguments--;
  |  | 2506|      0|                    total_args++;
  |  | 2507|      0|                }
  |  | 2508|  1.79k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.79k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2509|  1.79k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2510|  1.79k|                _PyFrame_StackPointerValidate(frame);
  |  | 2511|  1.79k|                PyObject *res_o = _Py_BuiltinCallFast_StackRef(
  |  | 2512|  1.79k|                    callable,
  |  | 2513|  1.79k|                    arguments,
  |  | 2514|  1.79k|                    total_args
  |  | 2515|  1.79k|                );
  |  | 2516|  1.79k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2517|  1.79k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2517:21): [True: 0, False: 1.79k]
  |  |  ------------------
  |  | 2518|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2519|      0|                }
  |  | 2520|  1.79k|                _PyStackRef temp = callable;
  |  | 2521|  1.79k|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2522|  1.79k|                stack_pointer[-2 - oparg] = callable;
  |  | 2523|  1.79k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2523:17): [True: 1.79k, False: 0]
  |  |  ------------------
  |  | 2524|  1.79k|                _PyFrame_StackPointerValidate(frame);
  |  | 2525|  1.79k|                PyStackRef_CLOSE(temp);
  |  | 2526|  1.79k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2527|  1.79k|            }
  |  | 2528|       |            // _POP_TOP_OPARG
  |  | 2529|      0|            {
  |  | 2530|  1.79k|                args = &stack_pointer[-oparg];
  |  | 2531|  1.79k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2531:17): [True: 1.79k, False: 0]
  |  |  ------------------
  |  | 2532|  1.79k|                _PyFrame_StackPointerValidate(frame);
  |  | 2533|  1.79k|                _PyStackRef_CloseStack(args, oparg);
  |  | 2534|  1.79k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2535|  1.79k|            }
  |  | 2536|       |            // _POP_TOP
  |  | 2537|      0|            {
  |  | 2538|  1.79k|                value = self_or_null;
  |  | 2539|  1.79k|                stack_pointer += -1 - oparg;
  |  | 2540|  1.79k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.79k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2541|  1.79k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2542|  1.79k|                _PyFrame_StackPointerValidate(frame);
  |  | 2543|  1.79k|                PyStackRef_XCLOSE(value);
  |  | 2544|  1.79k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2545|  1.79k|            }
  |  | 2546|       |            // _CHECK_PERIODIC_AT_END
  |  | 2547|  1.79k|            {
  |  | 2548|  1.79k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2548:17): [True: 1.79k, False: 0]
  |  |  ------------------
  |  | 2549|  1.79k|                _PyFrame_StackPointerValidate(frame);
  |  | 2550|  1.79k|                int err = check_periodics_at_end(tstate, frame);
  |  | 2551|  1.79k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2552|  1.79k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2552:21): [True: 0, False: 1.79k]
  |  |  ------------------
  |  | 2553|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2554|      0|                }
  |  | 2555|  1.79k|            }
  |  | 2556|  1.79k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.79k|    { \
  |  |  |  |  201|  1.79k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.79k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.79k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.79k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.79k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.79k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.79k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.79k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.79k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.79k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.79k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.79k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.79k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.79k|    }
  |  |  ------------------
  |  | 2557|  1.79k|        }
  |  | 2558|       |
  |  | 2559|    725|        TARGET(CALL_BUILTIN_FAST_WITH_KEYWORDS) {
  |  |  ------------------
  |  |  |  |  132|    725|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2560|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2561|       |            int opcode = CALL_BUILTIN_FAST_WITH_KEYWORDS;
  |  | 2562|       |            (void)(opcode);
  |  | 2563|       |            #endif
  |  | 2564|    725|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2565|    725|            (void)this_instr;
  |  | 2566|    725|            frame->instr_ptr = next_instr;
  |  | 2567|    725|            next_instr += 4;
  |  | 2568|    725|            INSTRUCTION_STATS(CALL_BUILTIN_FAST_WITH_KEYWORDS);
  |  |  ------------------
  |  |  |  |   71|    725|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2569|    725|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2570|    725|            _PyStackRef callable;
  |  | 2571|    725|            _PyStackRef self_or_null;
  |  | 2572|    725|            _PyStackRef *args;
  |  | 2573|    725|            _PyStackRef value;
  |  | 2574|       |            /* Skip 1 cache entry */
  |  | 2575|       |            /* Skip 2 cache entries */
  |  | 2576|       |            // _GUARD_CALLABLE_BUILTIN_FAST_WITH_KEYWORDS
  |  | 2577|    725|            {
  |  | 2578|    725|                callable = stack_pointer[-2 - oparg];
  |  | 2579|    725|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2580|    725|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|    725|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    725|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    725|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    725|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2580:21): [True: 0, False: 725]
  |  |  ------------------
  |  | 2581|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2582|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2582:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2583|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2584|      0|                }
  |  | 2585|    725|                if ((PyCFunction_GET_FLAGS(callable_o) &
  |  |  ------------------
  |  |  |  |   57|    725|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    725|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    725|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2585:21): [True: 0, False: 725]
  |  |  ------------------
  |  | 2586|    725|                     _Py_METH_CALL_FLAGS) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   17|    725|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   95|    725|#define METH_VARARGS  0x0001
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|    725|#  define METH_FASTCALL  0x0080
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|    725|#define METH_NOARGS   0x0004
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|    725|#define METH_O        0x0008
  |  |  |  |  ------------------
  |  |  |  |   18|    725|     METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |   96|    725|#define METH_KEYWORDS 0x0002
  |  |  |  |  ------------------
  |  |  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    725|#define METH_METHOD 0x0200
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                    _Py_METH_CALL_FLAGS) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |  115|    725|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                                    _Py_METH_CALL_FLAGS) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   96|    725|#define METH_KEYWORDS 0x0002
  |  |  ------------------
  |  | 2587|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2588|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2588:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2589|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2590|      0|                }
  |  | 2591|    725|            }
  |  | 2592|       |            // _CALL_BUILTIN_FAST_WITH_KEYWORDS
  |  | 2593|    725|            {
  |  | 2594|    725|                args = &stack_pointer[-oparg];
  |  | 2595|    725|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2596|    725|                int total_args = oparg;
  |  | 2597|    725|                _PyStackRef *arguments = args;
  |  | 2598|    725|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    725|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    725|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    725|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2598:21): [True: 0, False: 725]
  |  |  ------------------
  |  | 2599|      0|                    arguments--;
  |  | 2600|      0|                    total_args++;
  |  | 2601|      0|                }
  |  | 2602|    725|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    725|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2603|    725|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2604|    725|                _PyFrame_StackPointerValidate(frame);
  |  | 2605|    725|                PyObject *res_o = _Py_BuiltinCallFastWithKeywords_StackRef(callable, arguments, total_args);
  |  | 2606|    725|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2607|    725|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2607:21): [True: 28, False: 697]
  |  |  ------------------
  |  | 2608|     28|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     28|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2609|      0|                }
  |  | 2610|    697|                _PyStackRef temp = callable;
  |  | 2611|    697|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2612|    697|                stack_pointer[-2 - oparg] = callable;
  |  | 2613|    697|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2613:17): [True: 697, False: 0]
  |  |  ------------------
  |  | 2614|    697|                _PyFrame_StackPointerValidate(frame);
  |  | 2615|    697|                PyStackRef_CLOSE(temp);
  |  | 2616|    697|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2617|    697|            }
  |  | 2618|       |            // _POP_TOP_OPARG
  |  | 2619|      0|            {
  |  | 2620|    697|                args = &stack_pointer[-oparg];
  |  | 2621|    697|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2621:17): [True: 697, False: 0]
  |  |  ------------------
  |  | 2622|    697|                _PyFrame_StackPointerValidate(frame);
  |  | 2623|    697|                _PyStackRef_CloseStack(args, oparg);
  |  | 2624|    697|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2625|    697|            }
  |  | 2626|       |            // _POP_TOP
  |  | 2627|      0|            {
  |  | 2628|    697|                value = self_or_null;
  |  | 2629|    697|                stack_pointer += -1 - oparg;
  |  | 2630|    697|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    697|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2631|    697|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2632|    697|                _PyFrame_StackPointerValidate(frame);
  |  | 2633|    697|                PyStackRef_XCLOSE(value);
  |  | 2634|    697|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2635|    697|            }
  |  | 2636|       |            // _CHECK_PERIODIC_AT_END
  |  | 2637|    697|            {
  |  | 2638|    697|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2638:17): [True: 697, False: 0]
  |  |  ------------------
  |  | 2639|    697|                _PyFrame_StackPointerValidate(frame);
  |  | 2640|    697|                int err = check_periodics_at_end(tstate, frame);
  |  | 2641|    697|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2642|    697|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2642:21): [True: 0, False: 697]
  |  |  ------------------
  |  | 2643|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2644|      0|                }
  |  | 2645|    697|            }
  |  | 2646|    697|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    697|    { \
  |  |  |  |  201|    697|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    697|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    697|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    697|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    697|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    697|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    697|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    697|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 697]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    697|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    697|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    697|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    697|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    697|    }
  |  |  ------------------
  |  | 2647|    697|        }
  |  | 2648|       |
  |  | 2649|    316|        TARGET(CALL_BUILTIN_O) {
  |  |  ------------------
  |  |  |  |  132|    316|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2650|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2651|       |            int opcode = CALL_BUILTIN_O;
  |  | 2652|       |            (void)(opcode);
  |  | 2653|       |            #endif
  |  | 2654|    316|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2655|    316|            (void)this_instr;
  |  | 2656|    316|            frame->instr_ptr = next_instr;
  |  | 2657|    316|            next_instr += 4;
  |  | 2658|    316|            INSTRUCTION_STATS(CALL_BUILTIN_O);
  |  |  ------------------
  |  |  |  |   71|    316|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2659|    316|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2660|    316|            _PyStackRef callable;
  |  | 2661|    316|            _PyStackRef self_or_null;
  |  | 2662|    316|            _PyStackRef *args;
  |  | 2663|    316|            _PyStackRef res;
  |  | 2664|    316|            _PyStackRef c;
  |  | 2665|    316|            _PyStackRef s;
  |  | 2666|    316|            _PyStackRef value;
  |  | 2667|       |            /* Skip 1 cache entry */
  |  | 2668|       |            /* Skip 2 cache entries */
  |  | 2669|       |            // _GUARD_CALLABLE_BUILTIN_O
  |  | 2670|    316|            {
  |  | 2671|    316|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2672|    316|                callable = stack_pointer[-2 - oparg];
  |  | 2673|    316|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2674|    316|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|    316|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    316|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    316|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    316|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2674:21): [True: 0, False: 316]
  |  |  ------------------
  |  | 2675|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2676|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2676:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2677|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2678|      0|                }
  |  | 2679|    316|                if ((PyCFunction_GET_FLAGS(callable_o) &
  |  |  ------------------
  |  |  |  |   57|    316|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    316|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    316|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2679:21): [True: 0, False: 316]
  |  |  ------------------
  |  | 2680|    316|                     _Py_METH_CALL_FLAGS) != METH_O) {
  |  |  ------------------
  |  |  |  |   17|    316|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   95|    316|#define METH_VARARGS  0x0001
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|    316|#  define METH_FASTCALL  0x0080
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|    316|#define METH_NOARGS   0x0004
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|    316|#define METH_O        0x0008
  |  |  |  |  ------------------
  |  |  |  |   18|    316|     METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |   96|    316|#define METH_KEYWORDS 0x0002
  |  |  |  |  ------------------
  |  |  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    316|#define METH_METHOD 0x0200
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                    _Py_METH_CALL_FLAGS) != METH_O) {
  |  |  ------------------
  |  |  |  |   99|    316|#define METH_O        0x0008
  |  |  ------------------
  |  | 2681|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2682|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2682:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2683|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2684|      0|                }
  |  | 2685|    316|                int total_args = oparg;
  |  | 2686|    316|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    316|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    316|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    316|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2686:21): [True: 0, False: 316]
  |  |  ------------------
  |  | 2687|      0|                    total_args++;
  |  | 2688|      0|                }
  |  | 2689|    316|                if (total_args != 1) {
  |  |  ------------------
  |  |  |  Branch (2689:21): [True: 0, False: 316]
  |  |  ------------------
  |  | 2690|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2691|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2691:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2692|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2693|      0|                }
  |  | 2694|    316|            }
  |  | 2695|       |            // _CHECK_RECURSION_LIMIT
  |  | 2696|    316|            {
  |  | 2697|    316|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (2697:21): [True: 0, False: 316]
  |  |  ------------------
  |  | 2698|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2699|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2699:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2700|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2701|      0|                }
  |  | 2702|    316|            }
  |  | 2703|       |            // _CALL_BUILTIN_O
  |  | 2704|    316|            {
  |  | 2705|    316|                args = &stack_pointer[-oparg];
  |  | 2706|    316|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2707|    316|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    316|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    316|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    316|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2707:21): [True: 0, False: 316]
  |  |  ------------------
  |  | 2708|      0|                    args--;
  |  | 2709|      0|                }
  |  | 2710|    316|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    316|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2711|    316|                PyCFunction cfunc = PyCFunction_GET_FUNCTION(callable_o);
  |  |  ------------------
  |  |  |  |   43|    316|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    316|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    316|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2712|    316|                _PyStackRef arg = args[0];
  |  | 2713|    316|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2714|    316|                _PyFrame_StackPointerValidate(frame);
  |  | 2715|    316|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, PyCFunction_GET_SELF(callable_o), PyStackRef_AsPyObjectBorrow(arg));
  |  |  ------------------
  |  |  |  |   61|    316|    (meth)((self), (args))
  |  |  ------------------
  |  | 2716|    316|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2717|    316|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 2718|    316|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (2718:17): [True: 316, False: 0]
  |  |  ------------------
  |  | 2719|    316|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2719:21): [True: 2, False: 314]
  |  |  ------------------
  |  | 2720|      2|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2721|      0|                }
  |  | 2722|    314|                c = callable;
  |  | 2723|    314|                s = args[0];
  |  | 2724|    314|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2725|    314|            }
  |  | 2726|       |            // _POP_TOP
  |  | 2727|      0|            {
  |  | 2728|    314|                value = s;
  |  | 2729|    314|                stack_pointer[-2 - oparg] = res;
  |  | 2730|    314|                stack_pointer[-1 - oparg] = c;
  |  | 2731|    314|                stack_pointer += -oparg;
  |  | 2732|    314|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    314|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2733|    314|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2734|    314|                _PyFrame_StackPointerValidate(frame);
  |  | 2735|    314|                PyStackRef_XCLOSE(value);
  |  | 2736|    314|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2737|    314|            }
  |  | 2738|       |            // _POP_TOP
  |  | 2739|    314|            {
  |  | 2740|    314|                value = c;
  |  | 2741|    314|                stack_pointer += -1;
  |  | 2742|    314|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    314|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2743|    314|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2744|    314|                _PyFrame_StackPointerValidate(frame);
  |  | 2745|    314|                PyStackRef_XCLOSE(value);
  |  | 2746|    314|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2747|    314|            }
  |  | 2748|       |            // _CHECK_PERIODIC_AT_END
  |  | 2749|    314|            {
  |  | 2750|    314|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2750:17): [True: 314, False: 0]
  |  |  ------------------
  |  | 2751|    314|                _PyFrame_StackPointerValidate(frame);
  |  | 2752|    314|                int err = check_periodics_at_end(tstate, frame);
  |  | 2753|    314|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2754|    314|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2754:21): [True: 0, False: 314]
  |  |  ------------------
  |  | 2755|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2756|      0|                }
  |  | 2757|    314|            }
  |  | 2758|    314|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    314|    { \
  |  |  |  |  201|    314|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    314|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    314|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    314|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    314|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    314|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    314|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    314|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 314]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    314|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    314|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    314|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    314|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    314|    }
  |  |  ------------------
  |  | 2759|    314|        }
  |  | 2760|       |
  |  | 2761|    329|        TARGET(CALL_EX_NON_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|    329|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2762|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2763|       |            int opcode = CALL_EX_NON_PY_GENERAL;
  |  | 2764|       |            (void)(opcode);
  |  | 2765|       |            #endif
  |  | 2766|    329|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2767|    329|            (void)this_instr;
  |  | 2768|    329|            frame->instr_ptr = next_instr;
  |  | 2769|    329|            next_instr += 2;
  |  | 2770|    329|            INSTRUCTION_STATS(CALL_EX_NON_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|    329|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2771|    329|            static_assert(INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX == 1, "incorrect cache size");
  |  | 2772|    329|            _PyStackRef func_st;
  |  | 2773|    329|            _PyStackRef func;
  |  | 2774|    329|            _PyStackRef callargs;
  |  | 2775|    329|            _PyStackRef null;
  |  | 2776|    329|            _PyStackRef callargs_st;
  |  | 2777|    329|            _PyStackRef kwargs_st;
  |  | 2778|    329|            _PyStackRef result;
  |  | 2779|       |            /* Skip 1 cache entry */
  |  | 2780|       |            // _CHECK_IS_NOT_PY_CALLABLE_EX
  |  | 2781|    329|            {
  |  | 2782|    329|                func_st = stack_pointer[-4];
  |  | 2783|    329|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2784|    329|                if (Py_TYPE(func) == &PyFunction_Type && ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  |  213|    329|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    329|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    329|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2784:21): [True: 0, False: 329]
  |  |  |  Branch (2784:58): [True: 0, False: 0]
  |  |  ------------------
  |  | 2785|      0|                    UPDATE_MISS_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2786|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_FUNCTION_EX));
  |  |  ------------------
  |  |  |  Branch (2786:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2787|      0|                    JUMP_TO_PREDICTED(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2788|      0|                }
  |  | 2789|    329|            }
  |  | 2790|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 2791|    329|            {
  |  | 2792|    329|                callargs = stack_pointer[-2];
  |  | 2793|    329|                func = func_st;
  |  | 2794|    329|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 2795|    329|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|    329|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    329|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    329|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    329|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2795:21): [True: 32, False: 297]
  |  |  ------------------
  |  | 2796|     32|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2797|     32|                    _PyFrame_StackPointerValidate(frame);
  |  | 2798|     32|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 2799|     32|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2800|     32|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (2800:25): [True: 0, False: 32]
  |  |  ------------------
  |  | 2801|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2802|      0|                    }
  |  | 2803|     32|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2803:21): [True: 32, False: 0]
  |  |  ------------------
  |  | 2804|     32|                    _PyFrame_StackPointerValidate(frame);
  |  | 2805|     32|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 2806|     32|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2807|     32|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2807:25): [True: 0, False: 32]
  |  |  ------------------
  |  | 2808|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2809|      0|                    }
  |  | 2810|     32|                    _PyStackRef temp = callargs;
  |  | 2811|     32|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 2812|     32|                    stack_pointer[-2] = callargs;
  |  | 2813|     32|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2813:21): [True: 32, False: 0]
  |  |  ------------------
  |  | 2814|     32|                    _PyFrame_StackPointerValidate(frame);
  |  | 2815|     32|                    PyStackRef_CLOSE(temp);
  |  | 2816|     32|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2817|     32|                }
  |  | 2818|    329|            }
  |  | 2819|       |            // _CALL_FUNCTION_EX_NON_PY_GENERAL
  |  | 2820|    329|            {
  |  | 2821|    329|                kwargs_st = stack_pointer[-1];
  |  | 2822|    329|                callargs_st = callargs;
  |  | 2823|    329|                null = stack_pointer[-3];
  |  | 2824|    329|                func_st = func;
  |  | 2825|    329|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2826|    329|                PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 2827|    329|                (void)null;
  |  | 2828|    329|                assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (2828:17): [True: 329, False: 0]
  |  |  ------------------
  |  | 2829|    329|                PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 2830|    329|                assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (2830:17): [True: 62, False: 267]
  |  |  |  Branch (2830:17): [True: 267, False: 0]
  |  |  ------------------
  |  | 2831|    329|                stack_pointer[-2] = callargs_st;
  |  | 2832|    329|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2833|    329|                _PyFrame_StackPointerValidate(frame);
  |  | 2834|    329|                PyObject *result_o = PyObject_Call(func, callargs, kwargs);
  |  | 2835|    329|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2836|    329|                stack_pointer += -1;
  |  | 2837|    329|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    329|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2838|    329|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2839|    329|                _PyFrame_StackPointerValidate(frame);
  |  | 2840|    329|                PyStackRef_XCLOSE(kwargs_st);
  |  | 2841|    329|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2842|    329|                stack_pointer += -1;
  |  | 2843|    329|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    329|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2844|    329|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2845|    329|                _PyFrame_StackPointerValidate(frame);
  |  | 2846|    329|                PyStackRef_CLOSE(callargs_st);
  |  | 2847|    329|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2848|    329|                stack_pointer += -2;
  |  | 2849|    329|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    329|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2850|    329|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2851|    329|                _PyFrame_StackPointerValidate(frame);
  |  | 2852|    329|                PyStackRef_CLOSE(func_st);
  |  | 2853|    329|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2854|    329|                if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2854:21): [True: 0, False: 329]
  |  |  ------------------
  |  | 2855|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2856|      0|                }
  |  | 2857|    329|                result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 2858|    329|            }
  |  | 2859|       |            // _CHECK_PERIODIC_AT_END
  |  | 2860|      0|            {
  |  | 2861|    329|                stack_pointer[0] = result;
  |  | 2862|    329|                stack_pointer += 1;
  |  | 2863|    329|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    329|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2864|    329|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2865|    329|                _PyFrame_StackPointerValidate(frame);
  |  | 2866|    329|                int err = check_periodics_at_end(tstate, frame);
  |  | 2867|    329|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2868|    329|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2868:21): [True: 0, False: 329]
  |  |  ------------------
  |  | 2869|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2870|      0|                }
  |  | 2871|    329|            }
  |  | 2872|    329|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    329|    { \
  |  |  |  |  201|    329|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    329|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    329|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    329|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    329|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    329|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    329|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    329|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 329]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    329|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    329|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    329|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    329|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    329|    }
  |  |  ------------------
  |  | 2873|    329|        }
  |  | 2874|       |
  |  | 2875|     35|        TARGET(CALL_EX_PY) {
  |  |  ------------------
  |  |  |  |  132|     35|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2876|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2877|       |            int opcode = CALL_EX_PY;
  |  | 2878|       |            (void)(opcode);
  |  | 2879|       |            #endif
  |  | 2880|     35|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2881|     35|            (void)this_instr;
  |  | 2882|     35|            frame->instr_ptr = next_instr;
  |  | 2883|     35|            next_instr += 2;
  |  | 2884|     35|            INSTRUCTION_STATS(CALL_EX_PY);
  |  |  ------------------
  |  |  |  |   71|     35|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2885|     35|            static_assert(INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX == 1, "incorrect cache size");
  |  | 2886|     35|            _PyStackRef func;
  |  | 2887|     35|            _PyStackRef callargs;
  |  | 2888|     35|            _PyStackRef func_st;
  |  | 2889|     35|            _PyStackRef callargs_st;
  |  | 2890|     35|            _PyStackRef kwargs_st;
  |  | 2891|     35|            _PyStackRef ex_frame;
  |  | 2892|     35|            _PyStackRef new_frame;
  |  | 2893|       |            /* Skip 1 cache entry */
  |  | 2894|       |            // _CHECK_PEP_523
  |  | 2895|     35|            {
  |  | 2896|     35|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|     35|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2897|      0|                    UPDATE_MISS_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2898|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_FUNCTION_EX));
  |  |  ------------------
  |  |  |  Branch (2898:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2899|      0|                    JUMP_TO_PREDICTED(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2900|      0|                }
  |  | 2901|     35|            }
  |  | 2902|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 2903|     35|            {
  |  | 2904|     35|                callargs = stack_pointer[-2];
  |  | 2905|     35|                func = stack_pointer[-4];
  |  | 2906|     35|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 2907|     35|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|     35|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     35|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2907:21): [True: 0, False: 35]
  |  |  ------------------
  |  | 2908|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2909|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 2910|      0|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 2911|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2912|      0|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (2912:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2913|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2914|      0|                    }
  |  | 2915|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2915:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2916|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 2917|      0|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 2918|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2919|      0|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2919:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2920|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2921|      0|                    }
  |  | 2922|      0|                    _PyStackRef temp = callargs;
  |  | 2923|      0|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 2924|      0|                    stack_pointer[-2] = callargs;
  |  | 2925|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2925:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2926|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 2927|      0|                    PyStackRef_CLOSE(temp);
  |  | 2928|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2929|      0|                }
  |  | 2930|     35|            }
  |  | 2931|       |            // _CHECK_IS_PY_CALLABLE_EX
  |  | 2932|     35|            {
  |  | 2933|     35|                func_st = func;
  |  | 2934|     35|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2935|     35|                if (Py_TYPE(func) != &PyFunction_Type) {
  |  |  ------------------
  |  |  |  |  213|     35|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2935:21): [True: 0, False: 35]
  |  |  ------------------
  |  | 2936|      0|                    UPDATE_MISS_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2937|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_FUNCTION_EX));
  |  |  ------------------
  |  |  |  Branch (2937:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2938|      0|                    JUMP_TO_PREDICTED(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2939|      0|                }
  |  | 2940|     35|                if (((PyFunctionObject *)func)->vectorcall != _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  Branch (2940:21): [True: 0, False: 35]
  |  |  ------------------
  |  | 2941|      0|                    UPDATE_MISS_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2942|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_FUNCTION_EX));
  |  |  ------------------
  |  |  |  Branch (2942:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2943|      0|                    JUMP_TO_PREDICTED(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2944|      0|                }
  |  | 2945|     35|            }
  |  | 2946|       |            // _PY_FRAME_EX
  |  | 2947|     35|            {
  |  | 2948|     35|                kwargs_st = stack_pointer[-1];
  |  | 2949|     35|                callargs_st = callargs;
  |  | 2950|     35|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2951|     35|                PyObject *callargs = PyStackRef_AsPyObjectSteal(callargs_st);
  |  | 2952|     35|                assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (2952:17): [True: 35, False: 0]
  |  |  ------------------
  |  | 2953|     35|                assert(Py_TYPE(func) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (2953:17): [True: 35, False: 0]
  |  |  ------------------
  |  | 2954|     35|                assert(((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall);
  |  |  ------------------
  |  |  |  Branch (2954:17): [True: 35, False: 0]
  |  |  ------------------
  |  | 2955|     35|                PyObject *kwargs = PyStackRef_IsNull(kwargs_st) ? NULL : PyStackRef_AsPyObjectSteal(kwargs_st);
  |  |  ------------------
  |  |  |  |  482|     35|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     35|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     35|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 10, False: 25]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2956|     35|                assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (2956:17): [True: 10, False: 25]
  |  |  |  Branch (2956:17): [True: 25, False: 0]
  |  |  ------------------
  |  | 2957|     35|                Py_ssize_t nargs = PyTuple_GET_SIZE(callargs);
  |  |  ------------------
  |  |  |  |   27|     35|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2958|     35|                int code_flags = ((PyCodeObject *)PyFunction_GET_CODE(func))->co_flags;
  |  |  ------------------
  |  |  |  |   93|     35|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2959|     35|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  122|     35|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                               PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _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 (2959:36): [True: 35, False: 0]
  |  |  ------------------
  |  | 2960|     35|                stack_pointer += -3;
  |  | 2961|     35|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     35|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2962|     35|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2963|     35|                _PyFrame_StackPointerValidate(frame);
  |  | 2964|     35|                _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit_Ex(
  |  | 2965|     35|                    tstate, func_st, locals,
  |  | 2966|     35|                    nargs, callargs, kwargs, frame);
  |  | 2967|     35|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2968|     35|                stack_pointer += -1;
  |  | 2969|     35|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     35|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2970|     35|                if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (2970:21): [True: 0, False: 35]
  |  |  ------------------
  |  | 2971|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2972|      0|                }
  |  | 2973|     35|                ex_frame = PyStackRef_Wrap(new_frame);
  |  | 2974|     35|            }
  |  | 2975|       |            // _SAVE_RETURN_OFFSET
  |  | 2976|      0|            {
  |  | 2977|     35|                #if TIER_ONE
  |  | 2978|     35|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 2979|     35|                #endif
  |  | 2980|       |                #if TIER_TWO
  |  | 2981|       |                frame->return_offset = oparg;
  |  | 2982|       |                #endif
  |  | 2983|     35|            }
  |  | 2984|       |            // _PUSH_FRAME
  |  | 2985|     35|            {
  |  | 2986|     35|                new_frame = ex_frame;
  |  | 2987|     35|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (2987:17): [True: 35, False: 0]
  |  |  ------------------
  |  | 2988|     35|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2989|     35|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2990|     35|                _PyFrame_StackPointerValidate(frame);
  |  | 2991|     35|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (2991:17): [True: 35, False: 0]
  |  |  |  Branch (2991:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2992|     35|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|     35|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2993|     35|                frame = tstate->current_frame = temp;
  |  | 2994|     35|                tstate->py_recursion_remaining--;
  |  | 2995|     35|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2996|     35|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2997|     35|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|     35|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|     35|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|     35|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 35]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2998|       |                #ifdef Py_DEBUG
  |  | 2999|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 3000|       |                #endif
  |  | 3001|     35|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|     35|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 3002|     35|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|     35|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 3003|     35|            }
  |  | 3004|     35|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     35|    { \
  |  |  |  |  201|     35|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     35|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     35|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     35|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     35|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     35|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     35|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     35|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 35]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     35|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     35|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     35|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     35|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     35|    }
  |  |  ------------------
  |  | 3005|     35|        }
  |  | 3006|       |
  |  | 3007|     51|        TARGET(CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  132|     51|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3008|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3009|       |            int opcode = CALL_FUNCTION_EX;
  |  | 3010|       |            (void)(opcode);
  |  | 3011|       |            #endif
  |  | 3012|     51|            frame->instr_ptr = next_instr;
  |  | 3013|     51|            next_instr += 2;
  |  | 3014|     51|            INSTRUCTION_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |   71|     51|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3015|     51|            PREDICTED_CALL_FUNCTION_EX:;
  |  | 3016|     51|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 3017|     51|            (void)this_instr;
  |  | 3018|     51|            opcode = CALL_FUNCTION_EX;
  |  |  ------------------
  |  |  |  |   17|     51|#define CALL_FUNCTION_EX                         4
  |  |  ------------------
  |  | 3019|     51|            _PyStackRef func;
  |  | 3020|     51|            _PyStackRef callargs;
  |  | 3021|     51|            _PyStackRef func_st;
  |  | 3022|     51|            _PyStackRef null;
  |  | 3023|     51|            _PyStackRef callargs_st;
  |  | 3024|     51|            _PyStackRef kwargs_st;
  |  | 3025|     51|            _PyStackRef result;
  |  | 3026|       |            // _SPECIALIZE_CALL_FUNCTION_EX
  |  | 3027|     51|            {
  |  | 3028|     51|                func = stack_pointer[-4];
  |  | 3029|     51|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 3030|     51|                (void)counter;
  |  | 3031|     51|                #if ENABLE_SPECIALIZATION
  |  | 3032|     51|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|     51|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 19, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3033|     19|                    next_instr = this_instr;
  |  | 3034|     19|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3035|     19|                    _PyFrame_StackPointerValidate(frame);
  |  | 3036|     19|                    _Py_Specialize_CallFunctionEx(func, next_instr);
  |  | 3037|     19|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3038|     19|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     19|    { \
  |  |  |  |  217|     19|        opcode = next_instr->op.code; \
  |  |  |  |  218|     19|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     19|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     19|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     19|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     19|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     19|    }
  |  |  ------------------
  |  | 3039|     19|                }
  |  | 3040|     51|                OPCODE_DEFERRED_INC(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |   90|     51|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 3041|     51|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|     51|    do { \
  |  |  |  |  378|     51|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|     51|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 51]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3042|     51|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 3043|     51|            }
  |  | 3044|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 3045|     51|            {
  |  | 3046|     51|                callargs = stack_pointer[-2];
  |  | 3047|     51|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 3048|     51|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|     51|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     51|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3048:21): [True: 5, False: 46]
  |  |  ------------------
  |  | 3049|      5|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3050|      5|                    _PyFrame_StackPointerValidate(frame);
  |  | 3051|      5|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 3052|      5|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3053|      5|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (3053:25): [True: 0, False: 5]
  |  |  ------------------
  |  | 3054|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3055|      0|                    }
  |  | 3056|      5|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3056:21): [True: 5, False: 0]
  |  |  ------------------
  |  | 3057|      5|                    _PyFrame_StackPointerValidate(frame);
  |  | 3058|      5|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 3059|      5|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3060|      5|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3060:25): [True: 0, False: 5]
  |  |  ------------------
  |  | 3061|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3062|      0|                    }
  |  | 3063|      5|                    _PyStackRef temp = callargs;
  |  | 3064|      5|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 3065|      5|                    stack_pointer[-2] = callargs;
  |  | 3066|      5|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3066:21): [True: 5, False: 0]
  |  |  ------------------
  |  | 3067|      5|                    _PyFrame_StackPointerValidate(frame);
  |  | 3068|      5|                    PyStackRef_CLOSE(temp);
  |  | 3069|      5|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3070|      5|                }
  |  | 3071|     51|            }
  |  | 3072|       |            // _DO_CALL_FUNCTION_EX
  |  | 3073|     51|            {
  |  | 3074|     51|                kwargs_st = stack_pointer[-1];
  |  | 3075|     51|                callargs_st = callargs;
  |  | 3076|     51|                null = stack_pointer[-3];
  |  | 3077|     51|                func_st = func;
  |  | 3078|     51|                (void)null;
  |  | 3079|     51|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 3080|     51|                EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_FUNCTION_EX, func);
  |  |  ------------------
  |  |  |  |   80|     51|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  |  |  ------------------
  |  | 3081|     51|                PyObject *result_o;
  |  | 3082|     51|                assert(!_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (3082:17): [True: 32, False: 19]
  |  |  ------------------
  |  | 3083|     32|                if (opcode == INSTRUMENTED_CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  239|     32|#define INSTRUMENTED_CALL_FUNCTION_EX          251
  |  |  ------------------
  |  |  |  Branch (3083:21): [True: 0, False: 32]
  |  |  ------------------
  |  | 3084|      0|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 3085|      0|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 3086|      0|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (3086:21): [True: 0, False: 0]
  |  |  |  Branch (3086:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3087|      0|                    assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (3087:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3088|      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 (3088:37): [True: 0, False: 0]
  |  |  ------------------
  |  | 3089|      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 (3089:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3090|      0|                    stack_pointer[-2] = callargs_st;
  |  | 3091|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3092|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 3093|      0|                    int err = _Py_call_instrumentation_2args(
  |  | 3094|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 3095|      0|                        frame, this_instr, func, arg);
  |  | 3096|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3097|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (3097:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 3098|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3099|      0|                    }
  |  | 3100|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3100:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3101|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 3102|      0|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 3103|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3104|      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 (3104:25): [True: 0, False: 0]
  |  |  |  Branch (3104:52): [True: 0, False: 0]
  |  |  ------------------
  |  | 3105|      0|                        if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3105:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 3106|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3106:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 3107|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 3108|      0|                            _Py_call_instrumentation_exc2(
  |  | 3109|      0|                                tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  | 3110|      0|                                frame, this_instr, func, arg);
  |  | 3111|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 3112|      0|                        }
  |  | 3113|      0|                        else {
  |  | 3114|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3114:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 3115|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 3116|      0|                            int err = _Py_call_instrumentation_2args(
  |  | 3117|      0|                                tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  | 3118|      0|                                frame, this_instr, func, arg);
  |  | 3119|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 3120|      0|                            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (3120:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 3121|      0|                                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3121:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 3122|      0|                                _PyFrame_StackPointerValidate(frame);
  |  | 3123|      0|                                Py_CLEAR(result_o);
  |  |  ------------------
  |  |  |  |  487|      0|    do { \
  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_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); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  493|      0|        } \
  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3124|      0|                                _PyFrame_StackPointerInvalidate(frame);
  |  | 3125|      0|                            }
  |  | 3126|      0|                        }
  |  | 3127|      0|                    }
  |  | 3128|      0|                }
  |  | 3129|     32|                else {
  |  | 3130|     32|                    if (Py_TYPE(func) == &PyFunction_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3130:25): [True: 17, False: 15]
  |  |  ------------------
  |  | 3131|     17|                        !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|     49|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (3131:25): [True: 17, False: 0]
  |  |  ------------------
  |  | 3132|     17|                        ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  Branch (3132:25): [True: 17, False: 0]
  |  |  ------------------
  |  | 3133|     17|                        PyObject *callargs = PyStackRef_AsPyObjectSteal(callargs_st);
  |  | 3134|     17|                        assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (3134:25): [True: 17, False: 0]
  |  |  ------------------
  |  | 3135|     17|                        PyObject *kwargs = PyStackRef_IsNull(kwargs_st) ? NULL : PyStackRef_AsPyObjectSteal(kwargs_st);
  |  |  ------------------
  |  |  |  |  482|     17|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     17|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     17|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 13, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3136|     17|                        assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (3136:25): [True: 13, False: 4]
  |  |  |  Branch (3136:25): [True: 4, False: 0]
  |  |  ------------------
  |  | 3137|     17|                        Py_ssize_t nargs = PyTuple_GET_SIZE(callargs);
  |  |  ------------------
  |  |  |  |   27|     17|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3138|     17|                        int code_flags = ((PyCodeObject *)PyFunction_GET_CODE(func))->co_flags;
  |  |  ------------------
  |  |  |  |   93|     17|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3139|     17|                        PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  122|     17|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                                       PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _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 (3139:44): [True: 17, False: 0]
  |  |  ------------------
  |  | 3140|     17|                        stack_pointer += -2;
  |  | 3141|     17|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     17|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3142|     17|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3143|     17|                        _PyFrame_StackPointerValidate(frame);
  |  | 3144|     17|                        _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit_Ex(
  |  | 3145|     17|                            tstate, func_st, locals,
  |  | 3146|     17|                            nargs, callargs, kwargs, frame);
  |  | 3147|     17|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 3148|     17|                        stack_pointer += -2;
  |  | 3149|     17|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     17|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3150|     17|                        if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (3150:29): [True: 0, False: 17]
  |  |  ------------------
  |  | 3151|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3152|      0|                        }
  |  | 3153|     17|                        assert( 2u == 1 + INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  Branch (3153:25): [True: 17, Folded]
  |  |  ------------------
  |  | 3154|     17|                        frame->return_offset = 2u ;
  |  | 3155|     17|                        DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|     17|    do {                                                         \
  |  |  |  |  224|     17|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|     17|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|     17|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|     17|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|     17|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|     17|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|     17|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|     17|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|     17|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3155:25): [True: 17, False: 0]
  |  |  |  Branch (3155:25): [True: 17, False: 0]
  |  |  ------------------
  |  | 3156|     17|                    }
  |  | 3157|     15|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 3158|     15|                    assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (3158:21): [True: 15, False: 0]
  |  |  ------------------
  |  | 3159|     15|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 3160|     15|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (3160:21): [True: 9, False: 6]
  |  |  |  Branch (3160:21): [True: 6, False: 0]
  |  |  ------------------
  |  | 3161|     15|                    stack_pointer[-2] = callargs_st;
  |  | 3162|     15|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3163|     15|                    _PyFrame_StackPointerValidate(frame);
  |  | 3164|     15|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 3165|     15|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3166|     15|                }
  |  | 3167|     15|                stack_pointer += -1;
  |  | 3168|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3169|     15|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3170|     15|                _PyFrame_StackPointerValidate(frame);
  |  | 3171|     15|                PyStackRef_XCLOSE(kwargs_st);
  |  | 3172|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3173|     15|                stack_pointer += -1;
  |  | 3174|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3175|     15|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3176|     15|                _PyFrame_StackPointerValidate(frame);
  |  | 3177|     15|                PyStackRef_CLOSE(callargs_st);
  |  | 3178|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3179|     15|                stack_pointer += -2;
  |  | 3180|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3181|     15|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3182|     15|                _PyFrame_StackPointerValidate(frame);
  |  | 3183|     15|                PyStackRef_CLOSE(func_st);
  |  | 3184|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3185|     15|                if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3185:21): [True: 0, False: 15]
  |  |  ------------------
  |  | 3186|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3187|      0|                }
  |  | 3188|     15|                result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 3189|     15|            }
  |  | 3190|       |            // _CHECK_PERIODIC_AT_END
  |  | 3191|      0|            {
  |  | 3192|     15|                stack_pointer[0] = result;
  |  | 3193|     15|                stack_pointer += 1;
  |  | 3194|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3195|     15|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3196|     15|                _PyFrame_StackPointerValidate(frame);
  |  | 3197|     15|                int err = check_periodics_at_end(tstate, frame);
  |  | 3198|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3199|     15|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (3199:21): [True: 0, False: 15]
  |  |  ------------------
  |  | 3200|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3201|      0|                }
  |  | 3202|     15|            }
  |  | 3203|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     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|    }
  |  |  ------------------
  |  | 3204|     15|        }
  |  | 3205|       |
  |  | 3206|     82|        TARGET(CALL_INTRINSIC_1) {
  |  |  ------------------
  |  |  |  |  132|     82|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3207|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3208|       |            int opcode = CALL_INTRINSIC_1;
  |  | 3209|       |            (void)(opcode);
  |  | 3210|       |            #endif
  |  | 3211|     82|            frame->instr_ptr = next_instr;
  |  | 3212|     82|            next_instr += 1;
  |  | 3213|     82|            INSTRUCTION_STATS(CALL_INTRINSIC_1);
  |  |  ------------------
  |  |  |  |   71|     82|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3214|     82|            _PyStackRef value;
  |  | 3215|     82|            _PyStackRef res;
  |  | 3216|     82|            _PyStackRef v;
  |  | 3217|       |            // _CALL_INTRINSIC_1
  |  | 3218|     82|            {
  |  | 3219|     82|                value = stack_pointer[-1];
  |  | 3220|     82|                assert(oparg <= MAX_INTRINSIC_1);
  |  |  ------------------
  |  |  |  Branch (3220:17): [True: 82, False: 0]
  |  |  ------------------
  |  | 3221|     82|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3222|     82|                _PyFrame_StackPointerValidate(frame);
  |  | 3223|     82|                PyObject *res_o = _PyIntrinsics_UnaryFunctions[oparg].func(tstate, PyStackRef_AsPyObjectBorrow(value));
  |  | 3224|     82|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3225|     82|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3225:21): [True: 0, False: 82]
  |  |  ------------------
  |  | 3226|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3227|      0|                }
  |  | 3228|     82|                v = value;
  |  | 3229|     82|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3230|     82|            }
  |  | 3231|       |            // _POP_TOP
  |  | 3232|      0|            {
  |  | 3233|     82|                value = v;
  |  | 3234|     82|                stack_pointer[-1] = res;
  |  | 3235|     82|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3235:17): [True: 82, False: 0]
  |  |  ------------------
  |  | 3236|     82|                _PyFrame_StackPointerValidate(frame);
  |  | 3237|     82|                PyStackRef_XCLOSE(value);
  |  | 3238|     82|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3239|     82|            }
  |  | 3240|     82|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     82|    { \
  |  |  |  |  201|     82|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     82|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     82|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     82|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     82|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     82|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     82|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     82|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 82]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     82|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     82|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     82|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     82|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     82|    }
  |  |  ------------------
  |  | 3241|     82|        }
  |  | 3242|       |
  |  | 3243|      0|        TARGET(CALL_INTRINSIC_2) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3244|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3245|       |            int opcode = CALL_INTRINSIC_2;
  |  | 3246|       |            (void)(opcode);
  |  | 3247|       |            #endif
  |  | 3248|      0|            frame->instr_ptr = next_instr;
  |  | 3249|      0|            next_instr += 1;
  |  | 3250|      0|            INSTRUCTION_STATS(CALL_INTRINSIC_2);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3251|      0|            _PyStackRef value2_st;
  |  | 3252|      0|            _PyStackRef value1_st;
  |  | 3253|      0|            _PyStackRef res;
  |  | 3254|      0|            _PyStackRef vs1;
  |  | 3255|      0|            _PyStackRef vs2;
  |  | 3256|      0|            _PyStackRef value;
  |  | 3257|       |            // _CALL_INTRINSIC_2
  |  | 3258|      0|            {
  |  | 3259|      0|                value1_st = stack_pointer[-1];
  |  | 3260|      0|                value2_st = stack_pointer[-2];
  |  | 3261|      0|                assert(oparg <= MAX_INTRINSIC_2);
  |  |  ------------------
  |  |  |  Branch (3261:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3262|      0|                PyObject *value1 = PyStackRef_AsPyObjectBorrow(value1_st);
  |  | 3263|      0|                PyObject *value2 = PyStackRef_AsPyObjectBorrow(value2_st);
  |  | 3264|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3265|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3266|      0|                PyObject *res_o = _PyIntrinsics_BinaryFunctions[oparg].func(tstate, value2, value1);
  |  | 3267|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3268|      0|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3268:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3269|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3270|      0|                }
  |  | 3271|      0|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3272|      0|                vs1 = value1_st;
  |  | 3273|      0|                vs2 = value2_st;
  |  | 3274|      0|            }
  |  | 3275|       |            // _POP_TOP
  |  | 3276|      0|            {
  |  | 3277|      0|                value = vs2;
  |  | 3278|      0|                stack_pointer[-2] = res;
  |  | 3279|      0|                stack_pointer[-1] = vs1;
  |  | 3280|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3280:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3281|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3282|      0|                PyStackRef_XCLOSE(value);
  |  | 3283|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3284|      0|            }
  |  | 3285|       |            // _POP_TOP
  |  | 3286|      0|            {
  |  | 3287|      0|                value = vs1;
  |  | 3288|      0|                stack_pointer += -1;
  |  | 3289|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3290|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3291|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3292|      0|                PyStackRef_XCLOSE(value);
  |  | 3293|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3294|      0|            }
  |  | 3295|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 3296|      0|        }
  |  | 3297|       |
  |  | 3298|    624|        TARGET(CALL_ISINSTANCE) {
  |  |  ------------------
  |  |  |  |  132|    624|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3299|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3300|       |            int opcode = CALL_ISINSTANCE;
  |  | 3301|       |            (void)(opcode);
  |  | 3302|       |            #endif
  |  | 3303|    624|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3304|    624|            (void)this_instr;
  |  | 3305|    624|            frame->instr_ptr = next_instr;
  |  | 3306|    624|            next_instr += 4;
  |  | 3307|    624|            INSTRUCTION_STATS(CALL_ISINSTANCE);
  |  |  ------------------
  |  |  |  |   71|    624|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3308|    624|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3309|    624|            _PyStackRef null;
  |  | 3310|    624|            _PyStackRef callable;
  |  | 3311|    624|            _PyStackRef instance;
  |  | 3312|    624|            _PyStackRef cls;
  |  | 3313|    624|            _PyStackRef res;
  |  | 3314|       |            /* Skip 1 cache entry */
  |  | 3315|       |            /* Skip 2 cache entries */
  |  | 3316|       |            // _GUARD_THIRD_NULL
  |  | 3317|    624|            {
  |  | 3318|    624|                null = stack_pointer[-3];
  |  | 3319|    624|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|    624|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    624|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    624|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3319:21): [True: 0, False: 624]
  |  |  ------------------
  |  | 3320|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3321|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3321:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3322|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3323|      0|                }
  |  | 3324|    624|            }
  |  | 3325|       |            // _GUARD_CALLABLE_ISINSTANCE
  |  | 3326|    624|            {
  |  | 3327|    624|                callable = stack_pointer[-4];
  |  | 3328|    624|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3329|    624|                PyInterpreterState *interp = tstate->interp;
  |  | 3330|    624|                if (callable_o != interp->callable_cache.isinstance) {
  |  |  ------------------
  |  |  |  Branch (3330:21): [True: 0, False: 624]
  |  |  ------------------
  |  | 3331|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3332|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3332:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3333|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3334|      0|                }
  |  | 3335|    624|            }
  |  | 3336|       |            // _CALL_ISINSTANCE
  |  | 3337|    624|            {
  |  | 3338|    624|                cls = stack_pointer[-1];
  |  | 3339|    624|                instance = stack_pointer[-2];
  |  | 3340|    624|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    624|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3341|    624|                PyObject *inst_o = PyStackRef_AsPyObjectBorrow(instance);
  |  | 3342|    624|                PyObject *cls_o = PyStackRef_AsPyObjectBorrow(cls);
  |  | 3343|    624|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3344|    624|                _PyFrame_StackPointerValidate(frame);
  |  | 3345|    624|                int retval = PyObject_IsInstance(inst_o, cls_o);
  |  | 3346|    624|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3347|    624|                if (retval < 0) {
  |  |  ------------------
  |  |  |  Branch (3347:21): [True: 0, False: 624]
  |  |  ------------------
  |  | 3348|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3349|      0|                }
  |  | 3350|    624|                (void)null;
  |  | 3351|    624|                stack_pointer += -1;
  |  | 3352|    624|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    624|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3353|    624|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3354|    624|                _PyFrame_StackPointerValidate(frame);
  |  | 3355|    624|                PyStackRef_CLOSE(cls);
  |  | 3356|    624|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3357|    624|                stack_pointer += -1;
  |  | 3358|    624|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    624|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3359|    624|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3360|    624|                _PyFrame_StackPointerValidate(frame);
  |  | 3361|    624|                PyStackRef_CLOSE(instance);
  |  | 3362|    624|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3363|    624|                stack_pointer += -2;
  |  | 3364|    624|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    624|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3365|    624|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3366|    624|                _PyFrame_StackPointerValidate(frame);
  |  | 3367|    624|                PyStackRef_CLOSE(callable);
  |  | 3368|    624|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3369|    624|                res = retval ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    366|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    366|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = retval ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|    882|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    258|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3369:23): [True: 366, False: 258]
  |  |  ------------------
  |  | 3370|    624|                assert((!PyStackRef_IsNull(res)) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (3370:17): [True: 624, False: 0]
  |  |  ------------------
  |  | 3371|    624|            }
  |  | 3372|    624|            stack_pointer[0] = res;
  |  | 3373|    624|            stack_pointer += 1;
  |  | 3374|    624|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    624|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3375|    624|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    624|    { \
  |  |  |  |  201|    624|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    624|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    624|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    624|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    624|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    624|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    624|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    624|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 624]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    624|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    624|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    624|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    624|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    624|    }
  |  |  ------------------
  |  | 3376|    624|        }
  |  | 3377|       |
  |  | 3378|     96|        TARGET(CALL_KW) {
  |  |  ------------------
  |  |  |  |  132|     96|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3379|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3380|       |            int opcode = CALL_KW;
  |  | 3381|       |            (void)(opcode);
  |  | 3382|       |            #endif
  |  | 3383|     96|            frame->instr_ptr = next_instr;
  |  | 3384|     96|            next_instr += 4;
  |  | 3385|     96|            INSTRUCTION_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |   71|     96|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3386|     96|            PREDICTED_CALL_KW:;
  |  | 3387|     96|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  | 3388|     96|            (void)this_instr;
  |  | 3389|     96|            opcode = CALL_KW;
  |  |  ------------------
  |  |  |  |   66|     96|#define CALL_KW                                 53
  |  |  ------------------
  |  | 3390|     96|            _PyStackRef callable;
  |  | 3391|     96|            _PyStackRef self_or_null;
  |  | 3392|     96|            _PyStackRef *args;
  |  | 3393|     96|            _PyStackRef kwnames;
  |  | 3394|     96|            _PyStackRef res;
  |  | 3395|       |            // _SPECIALIZE_CALL_KW
  |  | 3396|     96|            {
  |  | 3397|     96|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3398|     96|                callable = stack_pointer[-3 - oparg];
  |  | 3399|     96|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 3400|     96|                (void)counter;
  |  | 3401|     96|                #if ENABLE_SPECIALIZATION
  |  | 3402|     96|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|     96|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 29, False: 67]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3403|     29|                    next_instr = this_instr;
  |  | 3404|     29|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3405|     29|                    _PyFrame_StackPointerValidate(frame);
  |  | 3406|     29|                    _Py_Specialize_CallKw(callable, next_instr, oparg + !PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  |  482|     29|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     29|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     29|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3407|     29|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3408|     29|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     29|    { \
  |  |  |  |  217|     29|        opcode = next_instr->op.code; \
  |  |  |  |  218|     29|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     29|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     29|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     29|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     29|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     29|    }
  |  |  ------------------
  |  | 3409|     29|                }
  |  | 3410|     96|                OPCODE_DEFERRED_INC(CALL_KW);
  |  |  ------------------
  |  |  |  |   90|     96|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 3411|     96|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|     96|    do { \
  |  |  |  |  378|     96|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|     96|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 96]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3412|     96|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 3413|     96|            }
  |  | 3414|       |            /* Skip 2 cache entries */
  |  | 3415|       |            // _MAYBE_EXPAND_METHOD_KW
  |  | 3416|     96|            {
  |  | 3417|     96|                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 (3417:21): [True: 0, False: 96]
  |  |  ------------------
  |  | 3418|      0|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3419|      0|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 3420|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3421|      0|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 3422|      0|                    _PyStackRef temp = callable;
  |  | 3423|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3424|      0|                    stack_pointer[-3 - oparg] = callable;
  |  | 3425|      0|                    stack_pointer[-2 - oparg] = self_or_null;
  |  | 3426|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3427|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 3428|      0|                    PyStackRef_CLOSE(temp);
  |  | 3429|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3430|      0|                }
  |  | 3431|     96|            }
  |  | 3432|       |            // _DO_CALL_KW
  |  | 3433|     96|            {
  |  | 3434|     96|                kwnames = stack_pointer[-1];
  |  | 3435|     96|                args = &stack_pointer[-1 - oparg];
  |  | 3436|     96|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3437|     96|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3438|     96|                int total_args = oparg;
  |  | 3439|     96|                _PyStackRef *arguments = args;
  |  | 3440|     96|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|     96|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     96|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     96|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3440:21): [True: 4, False: 92]
  |  |  ------------------
  |  | 3441|      4|                    arguments--;
  |  | 3442|      4|                    total_args++;
  |  | 3443|      4|                }
  |  | 3444|     96|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|     96|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3445|     96|                if (Py_TYPE(callable_o) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|     96|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3445:21): [True: 18, False: 78]
  |  |  ------------------
  |  | 3446|     18|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|    114|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (3446:21): [True: 18, False: 0]
  |  |  ------------------
  |  | 3447|     18|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (3447:21): [True: 18, False: 0]
  |  |  ------------------
  |  | 3448|     18|                {
  |  | 3449|     18|                    int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3450|     18|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|     18|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                                   PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _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 (3450:40): [True: 18, False: 0]
  |  |  ------------------
  |  | 3451|     18|                    stack_pointer[-3 - oparg] = callable;
  |  | 3452|     18|                    stack_pointer[-2 - oparg] = self_or_null;
  |  | 3453|     18|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3454|     18|                    _PyFrame_StackPointerValidate(frame);
  |  | 3455|     18|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 3456|     18|                        tstate, callable, locals,
  |  | 3457|     18|                        arguments, positional_args, kwnames_o, frame
  |  | 3458|     18|                    );
  |  | 3459|     18|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3460|     18|                    stack_pointer += -3 - oparg;
  |  | 3461|     18|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     18|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3462|     18|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3463|     18|                    _PyFrame_StackPointerValidate(frame);
  |  | 3464|     18|                    PyStackRef_CLOSE(kwnames);
  |  | 3465|     18|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3466|     18|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (3466:25): [True: 0, False: 18]
  |  |  ------------------
  |  | 3467|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3468|      0|                    }
  |  | 3469|     18|                    assert( 4u == 1 + INLINE_CACHE_ENTRIES_CALL_KW);
  |  |  ------------------
  |  |  |  Branch (3469:21): [True: 18, Folded]
  |  |  ------------------
  |  | 3470|     18|                    frame->return_offset = 4u ;
  |  | 3471|     18|                    DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|     18|    do {                                                         \
  |  |  |  |  224|     18|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|     18|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|     18|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|     18|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|     18|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|     18|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|     18|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|     18|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|     18|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3471:21): [True: 18, False: 0]
  |  |  |  Branch (3471:21): [True: 18, False: 0]
  |  |  ------------------
  |  | 3472|     18|                }
  |  | 3473|     78|                stack_pointer[-3 - oparg] = callable;
  |  | 3474|     78|                stack_pointer[-2 - oparg] = self_or_null;
  |  | 3475|     78|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3476|     78|                _PyFrame_StackPointerValidate(frame);
  |  | 3477|     78|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 3478|     78|                    callable,
  |  | 3479|     78|                    arguments,
  |  | 3480|     78|                    total_args,
  |  | 3481|     78|                    kwnames,
  |  | 3482|     78|                    opcode == INSTRUMENTED_CALL_KW,
  |  |  ------------------
  |  |  |  |  238|     78|#define INSTRUMENTED_CALL_KW                   250
  |  |  ------------------
  |  | 3483|     78|                    frame,
  |  | 3484|     78|                    this_instr,
  |  | 3485|     78|                    tstate);
  |  | 3486|     78|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3487|     78|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3487:21): [True: 1, False: 77]
  |  |  ------------------
  |  | 3488|      1|                    stack_pointer += -3 - oparg;
  |  | 3489|      1|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      1|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3490|      1|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      1|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3491|      0|                }
  |  | 3492|     77|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3493|     77|            }
  |  | 3494|      0|            stack_pointer[-3 - oparg] = res;
  |  | 3495|     77|            stack_pointer += -2 - oparg;
  |  | 3496|     77|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     77|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3497|     77|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     77|    { \
  |  |  |  |  201|     77|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     77|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     77|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     77|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     77|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     77|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     77|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     77|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 77]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     77|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     77|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     77|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     77|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     77|    }
  |  |  ------------------
  |  | 3498|     77|        }
  |  | 3499|       |
  |  | 3500|      0|        TARGET(CALL_KW_BOUND_METHOD) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3501|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3502|       |            int opcode = CALL_KW_BOUND_METHOD;
  |  | 3503|       |            (void)(opcode);
  |  | 3504|       |            #endif
  |  | 3505|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3506|      0|            (void)this_instr;
  |  | 3507|      0|            frame->instr_ptr = next_instr;
  |  | 3508|      0|            next_instr += 4;
  |  | 3509|      0|            INSTRUCTION_STATS(CALL_KW_BOUND_METHOD);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3510|      0|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3511|      0|            _PyStackRef callable;
  |  | 3512|      0|            _PyStackRef null;
  |  | 3513|      0|            _PyStackRef self_or_null;
  |  | 3514|      0|            _PyStackRef *args;
  |  | 3515|      0|            _PyStackRef kwnames;
  |  | 3516|      0|            _PyStackRef new_frame;
  |  | 3517|       |            /* Skip 1 cache entry */
  |  | 3518|       |            // _CHECK_PEP_523
  |  | 3519|      0|            {
  |  | 3520|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3521|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3522|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3522:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3523|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3524|      0|                }
  |  | 3525|      0|            }
  |  | 3526|       |            // _CHECK_METHOD_VERSION_KW
  |  | 3527|      0|            {
  |  | 3528|      0|                null = stack_pointer[-2 - oparg];
  |  | 3529|      0|                callable = stack_pointer[-3 - oparg];
  |  | 3530|      0|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 3531|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3532|      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 (3532:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3533|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3534|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3534:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3535|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3536|      0|                }
  |  | 3537|      0|                PyObject *func = ((PyMethodObject *)callable_o)->im_func;
  |  | 3538|      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 (3538:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3539|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3540|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3540:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3541|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3542|      0|                }
  |  | 3543|      0|                if (((PyFunctionObject *)func)->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (3543:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3544|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3545|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3545:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3546|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3547|      0|                }
  |  | 3548|      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 (3548:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3549|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3550|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3550:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3551|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3552|      0|                }
  |  | 3553|      0|            }
  |  | 3554|       |            // _EXPAND_METHOD_KW
  |  | 3555|      0|            {
  |  | 3556|      0|                self_or_null = null;
  |  | 3557|      0|                assert(PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (3557:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3558|      0|                _PyStackRef callable_s = callable;
  |  | 3559|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3560|      0|                assert(Py_TYPE(callable_o) == &PyMethod_Type);
  |  |  ------------------
  |  |  |  Branch (3560:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3561|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3562|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3563|      0|                assert(PyStackRef_FunctionCheck(callable));
  |  |  ------------------
  |  |  |  Branch (3563:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3564|      0|                stack_pointer[-3 - oparg] = callable;
  |  | 3565|      0|                stack_pointer[-2 - oparg] = self_or_null;
  |  | 3566|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3567|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3568|      0|                PyStackRef_CLOSE(callable_s);
  |  | 3569|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3570|      0|            }
  |  | 3571|       |            // flush
  |  | 3572|       |            // _PY_FRAME_KW
  |  | 3573|      0|            {
  |  | 3574|      0|                kwnames = stack_pointer[-1];
  |  | 3575|      0|                args = &stack_pointer[-1 - oparg];
  |  | 3576|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3577|      0|                int total_args = oparg;
  |  | 3578|      0|                _PyStackRef *arguments = args;
  |  | 3579|      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 (3579:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3580|      0|                    arguments--;
  |  | 3581|      0|                    total_args++;
  |  | 3582|      0|                }
  |  | 3583|      0|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3584|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3585|      0|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (3585:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3586|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3587|      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));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _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 (3587:36): [True: 0, False: 0]
  |  |  ------------------
  |  | 3588|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3588:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3589|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3590|      0|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 3591|      0|                    tstate, callable, locals,
  |  | 3592|      0|                    arguments, positional_args, kwnames_o, frame
  |  | 3593|      0|                );
  |  | 3594|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3595|      0|                stack_pointer += -1;
  |  | 3596|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3597|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3598|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3599|      0|                PyStackRef_CLOSE(kwnames);
  |  | 3600|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3601|      0|                stack_pointer += -2 - oparg;
  |  | 3602|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3603|      0|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (3603:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3604|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3605|      0|                }
  |  | 3606|      0|                new_frame = PyStackRef_Wrap(temp);
  |  | 3607|      0|            }
  |  | 3608|       |            // _SAVE_RETURN_OFFSET
  |  | 3609|      0|            {
  |  | 3610|      0|                #if TIER_ONE
  |  | 3611|      0|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 3612|      0|                #endif
  |  | 3613|       |                #if TIER_TWO
  |  | 3614|       |                frame->return_offset = oparg;
  |  | 3615|       |                #endif
  |  | 3616|      0|            }
  |  | 3617|       |            // _PUSH_FRAME
  |  | 3618|      0|            {
  |  | 3619|      0|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (3619:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3620|      0|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 3621|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3622|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3623|      0|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (3623:17): [True: 0, False: 0]
  |  |  |  Branch (3623:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3624|      0|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 3625|      0|                frame = tstate->current_frame = temp;
  |  | 3626|      0|                tstate->py_recursion_remaining--;
  |  | 3627|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3628|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3629|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3630|       |                #ifdef Py_DEBUG
  |  | 3631|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 3632|       |                #endif
  |  | 3633|      0|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|      0|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 3634|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 3635|      0|            }
  |  | 3636|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 3637|      0|        }
  |  | 3638|       |
  |  | 3639|    155|        TARGET(CALL_KW_NON_PY) {
  |  |  ------------------
  |  |  |  |  132|    155|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3640|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3641|       |            int opcode = CALL_KW_NON_PY;
  |  | 3642|       |            (void)(opcode);
  |  | 3643|       |            #endif
  |  | 3644|    155|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3645|    155|            (void)this_instr;
  |  | 3646|    155|            frame->instr_ptr = next_instr;
  |  | 3647|    155|            next_instr += 4;
  |  | 3648|    155|            INSTRUCTION_STATS(CALL_KW_NON_PY);
  |  |  ------------------
  |  |  |  |   71|    155|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3649|    155|            opcode = CALL_KW_NON_PY;
  |  |  ------------------
  |  |  |  |  157|    155|#define CALL_KW_NON_PY                         155
  |  |  ------------------
  |  | 3650|    155|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3651|    155|            _PyStackRef callable;
  |  | 3652|    155|            _PyStackRef self_or_null;
  |  | 3653|    155|            _PyStackRef *args;
  |  | 3654|    155|            _PyStackRef kwnames;
  |  | 3655|    155|            _PyStackRef res;
  |  | 3656|       |            /* Skip 1 cache entry */
  |  | 3657|       |            /* Skip 2 cache entries */
  |  | 3658|       |            // _CHECK_IS_NOT_PY_CALLABLE_KW
  |  | 3659|    155|            {
  |  | 3660|    155|                callable = stack_pointer[-3 - oparg];
  |  | 3661|    155|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3662|    155|                if (PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|    155|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    155|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    155|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    155|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 155]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3663|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3664|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3664:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3665|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3666|      0|                }
  |  | 3667|    155|                if (Py_TYPE(callable_o) == &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|    155|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    155|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    155|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3667:21): [True: 0, False: 155]
  |  |  ------------------
  |  | 3668|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3669|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3669:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3670|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3671|      0|                }
  |  | 3672|    155|            }
  |  | 3673|       |            // _CALL_KW_NON_PY
  |  | 3674|    155|            {
  |  | 3675|    155|                kwnames = stack_pointer[-1];
  |  | 3676|    155|                args = &stack_pointer[-1 - oparg];
  |  | 3677|    155|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3678|    155|                #if TIER_ONE
  |  | 3679|    155|                assert(opcode != INSTRUMENTED_CALL);
  |  |  ------------------
  |  |  |  Branch (3679:17): [True: 155, False: 0]
  |  |  ------------------
  |  | 3680|    155|                #endif
  |  | 3681|    155|                int total_args = oparg;
  |  | 3682|    155|                _PyStackRef *arguments = args;
  |  | 3683|    155|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    155|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    155|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    155|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3683:21): [True: 0, False: 155]
  |  |  ------------------
  |  | 3684|      0|                    arguments--;
  |  | 3685|      0|                    total_args++;
  |  | 3686|      0|                }
  |  | 3687|    155|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3688|    155|                _PyFrame_StackPointerValidate(frame);
  |  | 3689|    155|                PyObject *res_o = _Py_VectorCall_StackRefSteal(
  |  | 3690|    155|                    callable,
  |  | 3691|    155|                    arguments,
  |  | 3692|    155|                    total_args,
  |  | 3693|    155|                    kwnames);
  |  | 3694|    155|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3695|    155|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3695:21): [True: 23, False: 132]
  |  |  ------------------
  |  | 3696|     23|                    stack_pointer += -3 - oparg;
  |  | 3697|     23|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     23|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3698|     23|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     23|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3699|      0|                }
  |  | 3700|    132|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3701|    132|            }
  |  | 3702|       |            // _CHECK_PERIODIC_AT_END
  |  | 3703|      0|            {
  |  | 3704|    132|                stack_pointer[-3 - oparg] = res;
  |  | 3705|    132|                stack_pointer += -2 - oparg;
  |  | 3706|    132|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    132|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3707|    132|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3708|    132|                _PyFrame_StackPointerValidate(frame);
  |  | 3709|    132|                int err = check_periodics_at_end(tstate, frame);
  |  | 3710|    132|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3711|    132|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (3711:21): [True: 0, False: 132]
  |  |  ------------------
  |  | 3712|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3713|      0|                }
  |  | 3714|    132|            }
  |  | 3715|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    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|    }
  |  |  ------------------
  |  | 3716|    132|        }
  |  | 3717|       |
  |  | 3718|    477|        TARGET(CALL_KW_PY) {
  |  |  ------------------
  |  |  |  |  132|    477|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3719|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3720|       |            int opcode = CALL_KW_PY;
  |  | 3721|       |            (void)(opcode);
  |  | 3722|       |            #endif
  |  | 3723|    477|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3724|    477|            (void)this_instr;
  |  | 3725|    477|            frame->instr_ptr = next_instr;
  |  | 3726|    477|            next_instr += 4;
  |  | 3727|    477|            INSTRUCTION_STATS(CALL_KW_PY);
  |  |  ------------------
  |  |  |  |   71|    477|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3728|    477|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3729|    477|            _PyStackRef callable;
  |  | 3730|    477|            _PyStackRef self_or_null;
  |  | 3731|    477|            _PyStackRef *args;
  |  | 3732|    477|            _PyStackRef kwnames;
  |  | 3733|    477|            _PyStackRef new_frame;
  |  | 3734|       |            /* Skip 1 cache entry */
  |  | 3735|       |            // _CHECK_PEP_523
  |  | 3736|    477|            {
  |  | 3737|    477|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|    477|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 477]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3738|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3739|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3739:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3740|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3741|      0|                }
  |  | 3742|    477|            }
  |  | 3743|       |            // _CHECK_FUNCTION_VERSION_KW
  |  | 3744|    477|            {
  |  | 3745|    477|                callable = stack_pointer[-3 - oparg];
  |  | 3746|    477|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 3747|    477|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3748|    477|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|    477|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    477|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    477|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    477|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3748:21): [True: 0, False: 477]
  |  |  ------------------
  |  | 3749|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3750|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3750:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3751|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3752|      0|                }
  |  | 3753|    477|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 3754|    477|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (3754:21): [True: 0, False: 477]
  |  |  ------------------
  |  | 3755|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3756|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3756:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3757|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3758|      0|                }
  |  | 3759|    477|            }
  |  | 3760|       |            // _CHECK_RECURSION_REMAINING
  |  | 3761|    477|            {
  |  | 3762|    477|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (3762:21): [True: 0, False: 477]
  |  |  ------------------
  |  | 3763|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3764|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3764:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3765|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3766|      0|                }
  |  | 3767|    477|            }
  |  | 3768|       |            // _PY_FRAME_KW
  |  | 3769|    477|            {
  |  | 3770|    477|                kwnames = stack_pointer[-1];
  |  | 3771|    477|                args = &stack_pointer[-1 - oparg];
  |  | 3772|    477|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3773|    477|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3774|    477|                int total_args = oparg;
  |  | 3775|    477|                _PyStackRef *arguments = args;
  |  | 3776|    477|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    477|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    477|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    477|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3776:21): [True: 0, False: 477]
  |  |  ------------------
  |  | 3777|      0|                    arguments--;
  |  | 3778|      0|                    total_args++;
  |  | 3779|      0|                }
  |  | 3780|    477|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3781|    477|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|    477|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    477|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    477|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3782|    477|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (3782:17): [True: 477, False: 0]
  |  |  ------------------
  |  | 3783|    477|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|    477|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    477|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    477|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3784|    477|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|    477|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                               PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _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 (3784:36): [True: 477, False: 0]
  |  |  ------------------
  |  | 3785|    477|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3786|    477|                _PyFrame_StackPointerValidate(frame);
  |  | 3787|    477|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 3788|    477|                    tstate, callable, locals,
  |  | 3789|    477|                    arguments, positional_args, kwnames_o, frame
  |  | 3790|    477|                );
  |  | 3791|    477|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3792|    477|                stack_pointer += -1;
  |  | 3793|    477|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    477|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3794|    477|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3795|    477|                _PyFrame_StackPointerValidate(frame);
  |  | 3796|    477|                PyStackRef_CLOSE(kwnames);
  |  | 3797|    477|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3798|    477|                stack_pointer += -2 - oparg;
  |  | 3799|    477|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    477|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3800|    477|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (3800:21): [True: 0, False: 477]
  |  |  ------------------
  |  | 3801|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3802|      0|                }
  |  | 3803|    477|                new_frame = PyStackRef_Wrap(temp);
  |  | 3804|    477|            }
  |  | 3805|       |            // _SAVE_RETURN_OFFSET
  |  | 3806|      0|            {
  |  | 3807|    477|                #if TIER_ONE
  |  | 3808|    477|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 3809|    477|                #endif
  |  | 3810|       |                #if TIER_TWO
  |  | 3811|       |                frame->return_offset = oparg;
  |  | 3812|       |                #endif
  |  | 3813|    477|            }
  |  | 3814|       |            // _PUSH_FRAME
  |  | 3815|    477|            {
  |  | 3816|    477|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (3816:17): [True: 477, False: 0]
  |  |  ------------------
  |  | 3817|    477|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 3818|    477|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3819|    477|                _PyFrame_StackPointerValidate(frame);
  |  | 3820|    477|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (3820:17): [True: 477, False: 0]
  |  |  |  Branch (3820:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3821|    477|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|    477|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 3822|    477|                frame = tstate->current_frame = temp;
  |  | 3823|    477|                tstate->py_recursion_remaining--;
  |  | 3824|    477|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3825|    477|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3826|    477|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|    477|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|    477|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|    477|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 477]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3827|       |                #ifdef Py_DEBUG
  |  | 3828|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 3829|       |                #endif
  |  | 3830|    477|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|    477|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 3831|    477|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    477|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 3832|    477|            }
  |  | 3833|    477|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    477|    { \
  |  |  |  |  201|    477|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    477|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    477|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    477|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    477|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    477|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    477|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    477|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 477]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    477|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    477|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    477|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    477|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    477|    }
  |  |  ------------------
  |  | 3834|    477|        }
  |  | 3835|       |
  |  | 3836|  1.10k|        TARGET(CALL_LEN) {
  |  |  ------------------
  |  |  |  |  132|  1.10k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3837|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3838|       |            int opcode = CALL_LEN;
  |  | 3839|       |            (void)(opcode);
  |  | 3840|       |            #endif
  |  | 3841|  1.10k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3842|  1.10k|            (void)this_instr;
  |  | 3843|  1.10k|            frame->instr_ptr = next_instr;
  |  | 3844|  1.10k|            next_instr += 4;
  |  | 3845|  1.10k|            INSTRUCTION_STATS(CALL_LEN);
  |  |  ------------------
  |  |  |  |   71|  1.10k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3846|  1.10k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3847|  1.10k|            _PyStackRef null;
  |  | 3848|  1.10k|            _PyStackRef callable;
  |  | 3849|  1.10k|            _PyStackRef arg;
  |  | 3850|  1.10k|            _PyStackRef res;
  |  | 3851|  1.10k|            _PyStackRef a;
  |  | 3852|  1.10k|            _PyStackRef c;
  |  | 3853|  1.10k|            _PyStackRef value;
  |  | 3854|       |            /* Skip 1 cache entry */
  |  | 3855|       |            /* Skip 2 cache entries */
  |  | 3856|       |            // _GUARD_NOS_NULL
  |  | 3857|  1.10k|            {
  |  | 3858|  1.10k|                null = stack_pointer[-2];
  |  | 3859|  1.10k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|  1.10k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.10k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.10k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3859:21): [True: 0, False: 1.10k]
  |  |  ------------------
  |  | 3860|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3861|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3861:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3862|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3863|      0|                }
  |  | 3864|  1.10k|            }
  |  | 3865|       |            // _GUARD_CALLABLE_LEN
  |  | 3866|  1.10k|            {
  |  | 3867|  1.10k|                callable = stack_pointer[-3];
  |  | 3868|  1.10k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3869|  1.10k|                PyInterpreterState *interp = tstate->interp;
  |  | 3870|  1.10k|                if (callable_o != interp->callable_cache.len) {
  |  |  ------------------
  |  |  |  Branch (3870:21): [True: 0, False: 1.10k]
  |  |  ------------------
  |  | 3871|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3872|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3872:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3873|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3874|      0|                }
  |  | 3875|  1.10k|            }
  |  | 3876|       |            // _CALL_LEN
  |  | 3877|  1.10k|            {
  |  | 3878|  1.10k|                arg = stack_pointer[-1];
  |  | 3879|  1.10k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.10k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3880|  1.10k|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 3881|  1.10k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3882|  1.10k|                _PyFrame_StackPointerValidate(frame);
  |  | 3883|  1.10k|                Py_ssize_t len_i = PyObject_Length(arg_o);
  |  |  ------------------
  |  |  |  |  353|  1.10k|#define PyObject_Length PyObject_Size
  |  |  ------------------
  |  | 3884|  1.10k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3885|  1.10k|                if (len_i < 0) {
  |  |  ------------------
  |  |  |  Branch (3885:21): [True: 0, False: 1.10k]
  |  |  ------------------
  |  | 3886|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3887|      0|                }
  |  | 3888|  1.10k|                PyObject *res_o = PyLong_FromSsize_t(len_i);
  |  | 3889|  1.10k|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (3889:17): [True: 1.10k, False: 0]
  |  |  ------------------
  |  | 3890|  1.10k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3890:21): [True: 0, False: 1.10k]
  |  |  ------------------
  |  | 3891|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3892|      0|                }
  |  | 3893|  1.10k|                a = arg;
  |  | 3894|  1.10k|                c = callable;
  |  | 3895|  1.10k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3896|  1.10k|            }
  |  | 3897|       |            // _POP_TOP
  |  | 3898|      0|            {
  |  | 3899|  1.10k|                value = c;
  |  | 3900|  1.10k|                stack_pointer[-3] = res;
  |  | 3901|  1.10k|                stack_pointer[-2] = a;
  |  | 3902|  1.10k|                stack_pointer += -1;
  |  | 3903|  1.10k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.10k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3904|  1.10k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3905|  1.10k|                _PyFrame_StackPointerValidate(frame);
  |  | 3906|  1.10k|                PyStackRef_XCLOSE(value);
  |  | 3907|  1.10k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3908|  1.10k|            }
  |  | 3909|       |            // _POP_TOP
  |  | 3910|  1.10k|            {
  |  | 3911|  1.10k|                value = a;
  |  | 3912|  1.10k|                stack_pointer += -1;
  |  | 3913|  1.10k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.10k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3914|  1.10k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3915|  1.10k|                _PyFrame_StackPointerValidate(frame);
  |  | 3916|  1.10k|                PyStackRef_XCLOSE(value);
  |  | 3917|  1.10k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3918|  1.10k|            }
  |  | 3919|  1.10k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.10k|    { \
  |  |  |  |  201|  1.10k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.10k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.10k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.10k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.10k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.10k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.10k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.10k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.10k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.10k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.10k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.10k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.10k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.10k|    }
  |  |  ------------------
  |  | 3920|  1.10k|        }
  |  | 3921|       |
  |  | 3922|    217|        TARGET(CALL_LIST_APPEND) {
  |  |  ------------------
  |  |  |  |  132|    217|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3923|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3924|       |            int opcode = CALL_LIST_APPEND;
  |  | 3925|       |            (void)(opcode);
  |  | 3926|       |            #endif
  |  | 3927|    217|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3928|    217|            (void)this_instr;
  |  | 3929|    217|            frame->instr_ptr = next_instr;
  |  | 3930|    217|            next_instr += 4;
  |  | 3931|    217|            INSTRUCTION_STATS(CALL_LIST_APPEND);
  |  |  ------------------
  |  |  |  |   71|    217|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3932|    217|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3933|    217|            _PyStackRef callable;
  |  | 3934|    217|            _PyStackRef nos;
  |  | 3935|    217|            _PyStackRef self;
  |  | 3936|    217|            _PyStackRef arg;
  |  | 3937|    217|            _PyStackRef none;
  |  | 3938|    217|            _PyStackRef c;
  |  | 3939|    217|            _PyStackRef s;
  |  | 3940|    217|            _PyStackRef value;
  |  | 3941|       |            /* Skip 1 cache entry */
  |  | 3942|       |            /* Skip 2 cache entries */
  |  | 3943|       |            // _GUARD_CALLABLE_LIST_APPEND
  |  | 3944|    217|            {
  |  | 3945|    217|                callable = stack_pointer[-3];
  |  | 3946|    217|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3947|    217|                PyInterpreterState *interp = tstate->interp;
  |  | 3948|    217|                if (callable_o != interp->callable_cache.list_append) {
  |  |  ------------------
  |  |  |  Branch (3948:21): [True: 0, False: 217]
  |  |  ------------------
  |  | 3949|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3950|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3950:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3951|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3952|      0|                }
  |  | 3953|    217|            }
  |  | 3954|       |            // _GUARD_NOS_NOT_NULL
  |  | 3955|    217|            {
  |  | 3956|    217|                nos = stack_pointer[-2];
  |  | 3957|    217|                if (PyStackRef_IsNull(nos)) {
  |  |  ------------------
  |  |  |  |  482|    217|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    217|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    217|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 217]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3959|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3959:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3960|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3961|      0|                }
  |  | 3962|    217|            }
  |  | 3963|       |            // _GUARD_NOS_LIST
  |  | 3964|    217|            {
  |  | 3965|    217|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 3966|    217|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|    217|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    217|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    217|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    217|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3966:21): [True: 0, False: 217]
  |  |  ------------------
  |  | 3967|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3968|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3968:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3969|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3970|      0|                }
  |  | 3971|    217|            }
  |  | 3972|       |            // _CALL_LIST_APPEND
  |  | 3973|    217|            {
  |  | 3974|    217|                arg = stack_pointer[-1];
  |  | 3975|    217|                self = nos;
  |  | 3976|    217|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (3976:17): [True: 217, False: 0]
  |  |  ------------------
  |  | 3977|    217|                PyObject *self_o = PyStackRef_AsPyObjectBorrow(self);
  |  | 3978|    217|                if (!LOCK_OBJECT(self_o)) {
  |  |  ------------------
  |  |  |  |  322|    217|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (3978:21): [Folded, False: 217]
  |  |  ------------------
  |  | 3979|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3980|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3980:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3981|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3982|      0|                }
  |  | 3983|    217|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    217|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3984|    217|                int err = _PyList_AppendTakeRef((PyListObject *)self_o, PyStackRef_AsPyObjectSteal(arg));
  |  | 3985|    217|                UNLOCK_OBJECT(self_o);
  |  |  ------------------
  |  |  |  |  323|    217|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  | 3986|    217|                if (err) {
  |  |  ------------------
  |  |  |  Branch (3986:21): [True: 0, False: 217]
  |  |  ------------------
  |  | 3987|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3988|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 3989|      0|                    _PyStackRef tmp = self;
  |  | 3990|      0|                    self = PyStackRef_NULL;
  |  | 3991|      0|                    stack_pointer[-2] = self;
  |  | 3992|      0|                    PyStackRef_CLOSE(tmp);
  |  | 3993|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3994|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3994:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3995|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 3996|      0|                    tmp = callable;
  |  | 3997|      0|                    callable = PyStackRef_NULL;
  |  | 3998|      0|                    stack_pointer[-3] = callable;
  |  | 3999|      0|                    PyStackRef_CLOSE(tmp);
  |  | 4000|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 4001|      0|                    stack_pointer += -3;
  |  | 4002|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4003|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4004|      0|                }
  |  | 4005|    217|                c = callable;
  |  | 4006|    217|                s = self;
  |  | 4007|    217|                none = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|    217|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    217|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4008|    217|            }
  |  | 4009|       |            // _POP_TOP
  |  | 4010|      0|            {
  |  | 4011|    217|                value = s;
  |  | 4012|    217|                stack_pointer[-3] = none;
  |  | 4013|    217|                stack_pointer[-2] = c;
  |  | 4014|    217|                stack_pointer += -1;
  |  | 4015|    217|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    217|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4016|    217|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4017|    217|                _PyFrame_StackPointerValidate(frame);
  |  | 4018|    217|                PyStackRef_XCLOSE(value);
  |  | 4019|    217|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4020|    217|            }
  |  | 4021|       |            // _POP_TOP
  |  | 4022|    217|            {
  |  | 4023|    217|                value = c;
  |  | 4024|    217|                stack_pointer += -1;
  |  | 4025|    217|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    217|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4026|    217|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4027|    217|                _PyFrame_StackPointerValidate(frame);
  |  | 4028|    217|                PyStackRef_XCLOSE(value);
  |  | 4029|    217|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4030|    217|            }
  |  | 4031|    217|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    217|    { \
  |  |  |  |  201|    217|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    217|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    217|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    217|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    217|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    217|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    217|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    217|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 217]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    217|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    217|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    217|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    217|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    217|    }
  |  |  ------------------
  |  | 4032|    217|        }
  |  | 4033|       |
  |  | 4034|  2.21k|        TARGET(CALL_METHOD_DESCRIPTOR_FAST) {
  |  |  ------------------
  |  |  |  |  132|  2.21k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4035|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4036|       |            int opcode = CALL_METHOD_DESCRIPTOR_FAST;
  |  | 4037|       |            (void)(opcode);
  |  | 4038|       |            #endif
  |  | 4039|  2.21k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4040|  2.21k|            (void)this_instr;
  |  | 4041|  2.21k|            frame->instr_ptr = next_instr;
  |  | 4042|  2.21k|            next_instr += 4;
  |  | 4043|  2.21k|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_FAST);
  |  |  ------------------
  |  |  |  |   71|  2.21k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4044|  2.21k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4045|  2.21k|            _PyStackRef callable;
  |  | 4046|  2.21k|            _PyStackRef self_or_null;
  |  | 4047|  2.21k|            _PyStackRef *args;
  |  | 4048|  2.21k|            _PyStackRef value;
  |  | 4049|       |            /* Skip 1 cache entry */
  |  | 4050|       |            /* Skip 2 cache entries */
  |  | 4051|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_FAST
  |  | 4052|  2.21k|            {
  |  | 4053|  2.21k|                args = &stack_pointer[-oparg];
  |  | 4054|  2.21k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4055|  2.21k|                callable = stack_pointer[-2 - oparg];
  |  | 4056|  2.21k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4057|  2.21k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4058|  2.21k|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|  2.21k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4058:21): [True: 0, False: 2.21k]
  |  |  ------------------
  |  | 4059|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4060|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4060:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4061|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4062|      0|                }
  |  | 4063|  2.21k|                if ((method->d_method->ml_flags & _Py_METH_CALL_FLAGS) !=
  |  |  ------------------
  |  |  |  |   17|  2.21k|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   95|  2.21k|#define METH_VARARGS  0x0001
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|  2.21k|#  define METH_FASTCALL  0x0080
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  2.21k|#define METH_NOARGS   0x0004
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|  2.21k|#define METH_O        0x0008
  |  |  |  |  ------------------
  |  |  |  |   18|  2.21k|     METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |   96|  2.21k|#define METH_KEYWORDS 0x0002
  |  |  |  |  ------------------
  |  |  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.21k|#define METH_METHOD 0x0200
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4063:21): [True: 0, False: 2.21k]
  |  |  ------------------
  |  | 4064|  2.21k|                    METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |  115|  2.21k|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  | 4065|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4066|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4066:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4067|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4068|      0|                }
  |  | 4069|  2.21k|                int total_args = oparg;
  |  | 4070|  2.21k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  2.21k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.21k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.21k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4070:21): [True: 2.21k, False: 0]
  |  |  ------------------
  |  | 4071|  2.21k|                    total_args++;
  |  | 4072|  2.21k|                }
  |  | 4073|  2.21k|                if (total_args == 0) {
  |  |  ------------------
  |  |  |  Branch (4073:21): [True: 0, False: 2.21k]
  |  |  ------------------
  |  | 4074|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4075|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4075:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4076|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4077|      0|                }
  |  | 4078|  2.21k|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4079|  2.21k|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  482|  2.21k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.21k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.21k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 2.21k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4080|  2.21k|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|  2.21k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4080:21): [True: 49, False: 2.16k]
  |  |  ------------------
  |  | 4081|     49|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     49|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4082|     49|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4082:21): [True: 49, False: 0]
  |  |  ------------------
  |  | 4083|     49|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     49|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4084|      0|                }
  |  | 4085|  2.21k|            }
  |  | 4086|       |            // _CALL_METHOD_DESCRIPTOR_FAST
  |  | 4087|  2.16k|            {
  |  | 4088|  2.16k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4089|  2.16k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4090|  2.16k|                int total_args = oparg;
  |  | 4091|  2.16k|                _PyStackRef *arguments = args;
  |  | 4092|  2.16k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  2.16k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.16k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.16k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4092:21): [True: 2.16k, False: 0]
  |  |  ------------------
  |  | 4093|  2.16k|                    arguments--;
  |  | 4094|  2.16k|                    total_args++;
  |  | 4095|  2.16k|                }
  |  | 4096|  2.16k|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4097|  2.16k|                assert(self != NULL);
  |  |  ------------------
  |  |  |  Branch (4097:17): [True: 2.16k, False: 0]
  |  |  ------------------
  |  | 4098|  2.16k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  2.16k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4099|  2.16k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4100|  2.16k|                _PyFrame_StackPointerValidate(frame);
  |  | 4101|  2.16k|                PyCFunctionFast cfunc = _PyCFunctionFast_CAST(method->d_method->ml_meth);
  |  |  ------------------
  |  |  |  |   58|  2.16k|    _Py_FUNC_CAST(PyCFunctionFast, func)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  2.16k|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4102|  2.16k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4103|  2.16k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4103:17): [True: 2.16k, False: 0]
  |  |  ------------------
  |  | 4104|  2.16k|                _PyFrame_StackPointerValidate(frame);
  |  | 4105|  2.16k|                PyObject *res_o = _PyCallMethodDescriptorFast_StackRef(
  |  | 4106|  2.16k|                    callable,
  |  | 4107|  2.16k|                    cfunc,
  |  | 4108|  2.16k|                    self,
  |  | 4109|  2.16k|                    arguments,
  |  | 4110|  2.16k|                    total_args
  |  | 4111|  2.16k|                );
  |  | 4112|  2.16k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4113|  2.16k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4113:21): [True: 0, False: 2.16k]
  |  |  ------------------
  |  | 4114|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4115|      0|                }
  |  | 4116|  2.16k|                _PyStackRef temp = callable;
  |  | 4117|  2.16k|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4118|  2.16k|                stack_pointer[-2 - oparg] = callable;
  |  | 4119|  2.16k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4119:17): [True: 2.16k, False: 0]
  |  |  ------------------
  |  | 4120|  2.16k|                _PyFrame_StackPointerValidate(frame);
  |  | 4121|  2.16k|                PyStackRef_CLOSE(temp);
  |  | 4122|  2.16k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4123|  2.16k|            }
  |  | 4124|       |            // _POP_TOP_OPARG
  |  | 4125|      0|            {
  |  | 4126|  2.16k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4126:17): [True: 2.16k, False: 0]
  |  |  ------------------
  |  | 4127|  2.16k|                _PyFrame_StackPointerValidate(frame);
  |  | 4128|  2.16k|                _PyStackRef_CloseStack(args, oparg);
  |  | 4129|  2.16k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4130|  2.16k|            }
  |  | 4131|       |            // _POP_TOP
  |  | 4132|      0|            {
  |  | 4133|  2.16k|                value = self_or_null;
  |  | 4134|  2.16k|                stack_pointer += -1 - oparg;
  |  | 4135|  2.16k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.16k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4136|  2.16k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4137|  2.16k|                _PyFrame_StackPointerValidate(frame);
  |  | 4138|  2.16k|                PyStackRef_XCLOSE(value);
  |  | 4139|  2.16k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4140|  2.16k|            }
  |  | 4141|       |            // _CHECK_PERIODIC_AT_END
  |  | 4142|  2.16k|            {
  |  | 4143|  2.16k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4143:17): [True: 2.16k, False: 0]
  |  |  ------------------
  |  | 4144|  2.16k|                _PyFrame_StackPointerValidate(frame);
  |  | 4145|  2.16k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4146|  2.16k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4147|  2.16k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4147:21): [True: 0, False: 2.16k]
  |  |  ------------------
  |  | 4148|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4149|      0|                }
  |  | 4150|  2.16k|            }
  |  | 4151|  2.16k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.16k|    { \
  |  |  |  |  201|  2.16k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.16k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.16k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.16k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.16k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.16k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.16k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.16k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.16k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.16k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.16k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.16k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.16k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.16k|    }
  |  |  ------------------
  |  | 4152|  2.16k|        }
  |  | 4153|       |
  |  | 4154|    107|        TARGET(CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS) {
  |  |  ------------------
  |  |  |  |  132|    107|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4155|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4156|       |            int opcode = CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS;
  |  | 4157|       |            (void)(opcode);
  |  | 4158|       |            #endif
  |  | 4159|    107|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4160|    107|            (void)this_instr;
  |  | 4161|    107|            frame->instr_ptr = next_instr;
  |  | 4162|    107|            next_instr += 4;
  |  | 4163|    107|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS);
  |  |  ------------------
  |  |  |  |   71|    107|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4164|    107|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4165|    107|            _PyStackRef callable;
  |  | 4166|    107|            _PyStackRef self_or_null;
  |  | 4167|    107|            _PyStackRef *args;
  |  | 4168|    107|            _PyStackRef value;
  |  | 4169|       |            /* Skip 1 cache entry */
  |  | 4170|       |            /* Skip 2 cache entries */
  |  | 4171|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS
  |  | 4172|    107|            {
  |  | 4173|    107|                args = &stack_pointer[-oparg];
  |  | 4174|    107|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4175|    107|                callable = stack_pointer[-2 - oparg];
  |  | 4176|    107|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4177|    107|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4178|    107|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|    107|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    107|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4178:21): [True: 0, False: 107]
  |  |  ------------------
  |  | 4179|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4180|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4180:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4181|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4182|      0|                }
  |  | 4183|    107|                if ((method->d_method->ml_flags & _Py_METH_CALL_FLAGS) !=
  |  |  ------------------
  |  |  |  |   17|    107|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   95|    107|#define METH_VARARGS  0x0001
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|    107|#  define METH_FASTCALL  0x0080
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|    107|#define METH_NOARGS   0x0004
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|    107|#define METH_O        0x0008
  |  |  |  |  ------------------
  |  |  |  |   18|    107|     METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |   96|    107|#define METH_KEYWORDS 0x0002
  |  |  |  |  ------------------
  |  |  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    107|#define METH_METHOD 0x0200
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4183:21): [True: 0, False: 107]
  |  |  ------------------
  |  | 4184|    107|                    (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |  115|    107|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                                   (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   96|    107|#define METH_KEYWORDS 0x0002
  |  |  ------------------
  |  | 4185|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4186|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4186:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4187|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4188|      0|                }
  |  | 4189|    107|                int total_args = oparg;
  |  | 4190|    107|                _PyStackRef *arguments = args;
  |  | 4191|    107|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    107|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    107|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    107|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4191:21): [True: 107, False: 0]
  |  |  ------------------
  |  | 4192|    107|                    arguments--;
  |  | 4193|    107|                    total_args++;
  |  | 4194|    107|                }
  |  | 4195|    107|                if (total_args == 0) {
  |  |  ------------------
  |  |  |  Branch (4195:21): [True: 0, False: 107]
  |  |  ------------------
  |  | 4196|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4197|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4197:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4198|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4199|      0|                }
  |  | 4200|    107|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4201|    107|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|    107|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    107|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4201:21): [True: 0, False: 107]
  |  |  ------------------
  |  | 4202|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4203|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4203:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4204|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4205|      0|                }
  |  | 4206|    107|            }
  |  | 4207|       |            // _CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS
  |  | 4208|    107|            {
  |  | 4209|    107|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4210|    107|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4211|    107|                int total_args = oparg;
  |  | 4212|    107|                _PyStackRef *arguments = args;
  |  | 4213|    107|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    107|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    107|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    107|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4213:21): [True: 107, False: 0]
  |  |  ------------------
  |  | 4214|    107|                    arguments--;
  |  | 4215|    107|                    total_args++;
  |  | 4216|    107|                }
  |  | 4217|    107|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4218|    107|                assert(self != NULL);
  |  |  ------------------
  |  |  |  Branch (4218:17): [True: 107, False: 0]
  |  |  ------------------
  |  | 4219|    107|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    107|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4220|    107|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4221|    107|                _PyFrame_StackPointerValidate(frame);
  |  | 4222|    107|                PyCFunctionFastWithKeywords cfunc = _PyCFunctionFastWithKeywords_CAST(method->d_method->ml_meth);
  |  |  ------------------
  |  |  |  |   62|    107|    _Py_FUNC_CAST(PyCFunctionFastWithKeywords, func)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|    107|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4223|    107|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4224|    107|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4224:17): [True: 107, False: 0]
  |  |  ------------------
  |  | 4225|    107|                _PyFrame_StackPointerValidate(frame);
  |  | 4226|    107|                PyObject *res_o = _PyCallMethodDescriptorFastWithKeywords_StackRef(
  |  | 4227|    107|                    callable,
  |  | 4228|    107|                    cfunc,
  |  | 4229|    107|                    self,
  |  | 4230|    107|                    arguments,
  |  | 4231|    107|                    total_args
  |  | 4232|    107|                );
  |  | 4233|    107|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4234|    107|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4234:21): [True: 0, False: 107]
  |  |  ------------------
  |  | 4235|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4236|      0|                }
  |  | 4237|    107|                _PyStackRef temp = callable;
  |  | 4238|    107|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4239|    107|                stack_pointer[-2 - oparg] = callable;
  |  | 4240|    107|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4240:17): [True: 107, False: 0]
  |  |  ------------------
  |  | 4241|    107|                _PyFrame_StackPointerValidate(frame);
  |  | 4242|    107|                PyStackRef_CLOSE(temp);
  |  | 4243|    107|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4244|    107|            }
  |  | 4245|       |            // _POP_TOP_OPARG
  |  | 4246|      0|            {
  |  | 4247|    107|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4247:17): [True: 107, False: 0]
  |  |  ------------------
  |  | 4248|    107|                _PyFrame_StackPointerValidate(frame);
  |  | 4249|    107|                _PyStackRef_CloseStack(args, oparg);
  |  | 4250|    107|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4251|    107|            }
  |  | 4252|       |            // _POP_TOP
  |  | 4253|      0|            {
  |  | 4254|    107|                value = self_or_null;
  |  | 4255|    107|                stack_pointer += -1 - oparg;
  |  | 4256|    107|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    107|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4257|    107|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4258|    107|                _PyFrame_StackPointerValidate(frame);
  |  | 4259|    107|                PyStackRef_XCLOSE(value);
  |  | 4260|    107|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4261|    107|            }
  |  | 4262|       |            // _CHECK_PERIODIC_AT_END
  |  | 4263|    107|            {
  |  | 4264|    107|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4264:17): [True: 107, False: 0]
  |  |  ------------------
  |  | 4265|    107|                _PyFrame_StackPointerValidate(frame);
  |  | 4266|    107|                int err = check_periodics_at_end(tstate, frame);
  |  | 4267|    107|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4268|    107|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4268:21): [True: 0, False: 107]
  |  |  ------------------
  |  | 4269|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4270|      0|                }
  |  | 4271|    107|            }
  |  | 4272|    107|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    107|    { \
  |  |  |  |  201|    107|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    107|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    107|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    107|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    107|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    107|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    107|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    107|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 107]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    107|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    107|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    107|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    107|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    107|    }
  |  |  ------------------
  |  | 4273|    107|        }
  |  | 4274|       |
  |  | 4275|    325|        TARGET(CALL_METHOD_DESCRIPTOR_NOARGS) {
  |  |  ------------------
  |  |  |  |  132|    325|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4276|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4277|       |            int opcode = CALL_METHOD_DESCRIPTOR_NOARGS;
  |  | 4278|       |            (void)(opcode);
  |  | 4279|       |            #endif
  |  | 4280|    325|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4281|    325|            (void)this_instr;
  |  | 4282|    325|            frame->instr_ptr = next_instr;
  |  | 4283|    325|            next_instr += 4;
  |  | 4284|    325|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_NOARGS);
  |  |  ------------------
  |  |  |  |   71|    325|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4285|    325|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4286|    325|            _PyStackRef callable;
  |  | 4287|    325|            _PyStackRef self_or_null;
  |  | 4288|    325|            _PyStackRef *args;
  |  | 4289|    325|            _PyStackRef res;
  |  | 4290|    325|            _PyStackRef c;
  |  | 4291|    325|            _PyStackRef s;
  |  | 4292|    325|            _PyStackRef value;
  |  | 4293|       |            /* Skip 1 cache entry */
  |  | 4294|       |            /* Skip 2 cache entries */
  |  | 4295|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_NOARGS
  |  | 4296|    325|            {
  |  | 4297|    325|                args = &stack_pointer[-oparg];
  |  | 4298|    325|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4299|    325|                callable = stack_pointer[-2 - oparg];
  |  | 4300|    325|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4301|    325|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4302|    325|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|    325|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    325|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    325|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4302:21): [True: 0, False: 325]
  |  |  ------------------
  |  | 4303|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4304|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4304:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4305|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4306|      0|                }
  |  | 4307|    325|                if ((method->d_method->ml_flags & _Py_METH_CALL_FLAGS) !=
  |  |  ------------------
  |  |  |  |   17|    325|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   95|    325|#define METH_VARARGS  0x0001
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|    325|#  define METH_FASTCALL  0x0080
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|    325|#define METH_NOARGS   0x0004
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|    325|#define METH_O        0x0008
  |  |  |  |  ------------------
  |  |  |  |   18|    325|     METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |   96|    325|#define METH_KEYWORDS 0x0002
  |  |  |  |  ------------------
  |  |  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    325|#define METH_METHOD 0x0200
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4307:21): [True: 0, False: 325]
  |  |  ------------------
  |  | 4308|    325|                    METH_NOARGS) {
  |  |  ------------------
  |  |  |  |   98|    325|#define METH_NOARGS   0x0004
  |  |  ------------------
  |  | 4309|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4310|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4310:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4311|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4312|      0|                }
  |  | 4313|    325|                int total_args = oparg;
  |  | 4314|    325|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    325|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    325|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    325|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4314:21): [True: 325, False: 0]
  |  |  ------------------
  |  | 4315|    325|                    total_args++;
  |  | 4316|    325|                }
  |  | 4317|    325|                if (total_args != 1) {
  |  |  ------------------
  |  |  |  Branch (4317:21): [True: 0, False: 325]
  |  |  ------------------
  |  | 4318|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4319|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4319:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4320|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4321|      0|                }
  |  | 4322|    325|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4323|    325|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  482|    325|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    325|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    325|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 325]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4324|    325|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|    325|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    325|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    325|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4324:21): [True: 31, False: 294]
  |  |  ------------------
  |  | 4325|     31|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     31|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4326|     31|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4326:21): [True: 31, False: 0]
  |  |  ------------------
  |  | 4327|     31|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     31|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4328|      0|                }
  |  | 4329|    325|            }
  |  | 4330|       |            // _CHECK_RECURSION_LIMIT
  |  | 4331|    294|            {
  |  | 4332|    294|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (4332:21): [True: 0, False: 294]
  |  |  ------------------
  |  | 4333|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4334|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4334:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4335|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4336|      0|                }
  |  | 4337|    294|            }
  |  | 4338|       |            // _CALL_METHOD_DESCRIPTOR_NOARGS
  |  | 4339|    294|            {
  |  | 4340|    294|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4341|    294|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4342|    294|                assert(oparg == 1 || !PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (4342:17): [True: 0, False: 294]
  |  |  |  Branch (4342:17): [True: 294, False: 0]
  |  |  ------------------
  |  | 4343|    294|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    294|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    294|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    294|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4343:21): [True: 294, False: 0]
  |  |  ------------------
  |  | 4344|    294|                    args--;
  |  | 4345|    294|                }
  |  | 4346|    294|                _PyStackRef self_stackref = args[0];
  |  | 4347|    294|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_stackref);
  |  | 4348|    294|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    294|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4349|    294|                PyCFunction cfunc = method->d_method->ml_meth;
  |  | 4350|    294|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4351|    294|                _PyFrame_StackPointerValidate(frame);
  |  | 4352|    294|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, self, NULL);
  |  |  ------------------
  |  |  |  |   61|    294|    (meth)((self), (args))
  |  |  ------------------
  |  | 4353|    294|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4354|    294|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 4355|    294|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (4355:17): [True: 294, False: 0]
  |  |  ------------------
  |  | 4356|    294|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4356:21): [True: 0, False: 294]
  |  |  ------------------
  |  | 4357|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4358|      0|                }
  |  | 4359|    294|                c = callable;
  |  | 4360|    294|                s = args[0];
  |  | 4361|    294|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4362|    294|            }
  |  | 4363|       |            // _POP_TOP
  |  | 4364|      0|            {
  |  | 4365|    294|                value = s;
  |  | 4366|    294|                stack_pointer[-2 - oparg] = res;
  |  | 4367|    294|                stack_pointer[-1 - oparg] = c;
  |  | 4368|    294|                stack_pointer += -oparg;
  |  | 4369|    294|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    294|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4370|    294|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4371|    294|                _PyFrame_StackPointerValidate(frame);
  |  | 4372|    294|                PyStackRef_XCLOSE(value);
  |  | 4373|    294|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4374|    294|            }
  |  | 4375|       |            // _POP_TOP
  |  | 4376|    294|            {
  |  | 4377|    294|                value = c;
  |  | 4378|    294|                stack_pointer += -1;
  |  | 4379|    294|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    294|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4380|    294|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4381|    294|                _PyFrame_StackPointerValidate(frame);
  |  | 4382|    294|                PyStackRef_XCLOSE(value);
  |  | 4383|    294|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4384|    294|            }
  |  | 4385|       |            // _CHECK_PERIODIC_AT_END
  |  | 4386|    294|            {
  |  | 4387|    294|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4387:17): [True: 294, False: 0]
  |  |  ------------------
  |  | 4388|    294|                _PyFrame_StackPointerValidate(frame);
  |  | 4389|    294|                int err = check_periodics_at_end(tstate, frame);
  |  | 4390|    294|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4391|    294|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4391:21): [True: 0, False: 294]
  |  |  ------------------
  |  | 4392|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4393|      0|                }
  |  | 4394|    294|            }
  |  | 4395|    294|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    294|    { \
  |  |  |  |  201|    294|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    294|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    294|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    294|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    294|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    294|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    294|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    294|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 294]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    294|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    294|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    294|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    294|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    294|    }
  |  |  ------------------
  |  | 4396|    294|        }
  |  | 4397|       |
  |  | 4398|  1.52k|        TARGET(CALL_METHOD_DESCRIPTOR_O) {
  |  |  ------------------
  |  |  |  |  132|  1.52k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4399|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4400|       |            int opcode = CALL_METHOD_DESCRIPTOR_O;
  |  | 4401|       |            (void)(opcode);
  |  | 4402|       |            #endif
  |  | 4403|  1.52k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4404|  1.52k|            (void)this_instr;
  |  | 4405|  1.52k|            frame->instr_ptr = next_instr;
  |  | 4406|  1.52k|            next_instr += 4;
  |  | 4407|  1.52k|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_O);
  |  |  ------------------
  |  |  |  |   71|  1.52k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4408|  1.52k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4409|  1.52k|            _PyStackRef callable;
  |  | 4410|  1.52k|            _PyStackRef self_or_null;
  |  | 4411|  1.52k|            _PyStackRef *args;
  |  | 4412|  1.52k|            _PyStackRef res;
  |  | 4413|  1.52k|            _PyStackRef c;
  |  | 4414|  1.52k|            _PyStackRef s;
  |  | 4415|  1.52k|            _PyStackRef a;
  |  | 4416|  1.52k|            _PyStackRef value;
  |  | 4417|       |            /* Skip 1 cache entry */
  |  | 4418|       |            /* Skip 2 cache entries */
  |  | 4419|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_O
  |  | 4420|  1.52k|            {
  |  | 4421|  1.52k|                args = &stack_pointer[-oparg];
  |  | 4422|  1.52k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4423|  1.52k|                callable = stack_pointer[-2 - oparg];
  |  | 4424|  1.52k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4425|  1.52k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4426|  1.52k|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|  1.52k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4426:21): [True: 0, False: 1.52k]
  |  |  ------------------
  |  | 4427|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4428|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4428:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4429|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4430|      0|                }
  |  | 4431|  1.52k|                if ((method->d_method->ml_flags & _Py_METH_CALL_FLAGS) !=
  |  |  ------------------
  |  |  |  |   17|  1.52k|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   95|  1.52k|#define METH_VARARGS  0x0001
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|  1.52k|#  define METH_FASTCALL  0x0080
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  1.52k|#define METH_NOARGS   0x0004
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|  1.52k|#define METH_O        0x0008
  |  |  |  |  ------------------
  |  |  |  |   18|  1.52k|     METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |   96|  1.52k|#define METH_KEYWORDS 0x0002
  |  |  |  |  ------------------
  |  |  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.52k|#define METH_METHOD 0x0200
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4431:21): [True: 0, False: 1.52k]
  |  |  ------------------
  |  | 4432|  1.52k|                    METH_O) {
  |  |  ------------------
  |  |  |  |   99|  1.52k|#define METH_O        0x0008
  |  |  ------------------
  |  | 4433|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4434|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4434:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4435|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4436|      0|                }
  |  | 4437|  1.52k|                int total_args = oparg;
  |  | 4438|  1.52k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  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 (4438:21): [True: 1.52k, False: 0]
  |  |  ------------------
  |  | 4439|  1.52k|                    total_args++;
  |  | 4440|  1.52k|                }
  |  | 4441|  1.52k|                if (total_args != 2) {
  |  |  ------------------
  |  |  |  Branch (4441:21): [True: 0, False: 1.52k]
  |  |  ------------------
  |  | 4442|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4443|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4443:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4444|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4445|      0|                }
  |  | 4446|  1.52k|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4447|  1.52k|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4448|  1.52k|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|  1.52k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4448:21): [True: 222, False: 1.30k]
  |  |  ------------------
  |  | 4449|    222|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    222|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4450|    222|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4450:21): [True: 222, False: 0]
  |  |  ------------------
  |  | 4451|    222|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    222|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4452|      0|                }
  |  | 4453|  1.52k|            }
  |  | 4454|       |            // _CHECK_RECURSION_LIMIT
  |  | 4455|  1.30k|            {
  |  | 4456|  1.30k|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (4456:21): [True: 0, False: 1.30k]
  |  |  ------------------
  |  | 4457|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4458|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4458:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4459|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4460|      0|                }
  |  | 4461|  1.30k|            }
  |  | 4462|       |            // _CALL_METHOD_DESCRIPTOR_O
  |  | 4463|  1.30k|            {
  |  | 4464|  1.30k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4465|  1.30k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4466|  1.30k|                _PyStackRef *arguments = args;
  |  | 4467|  1.30k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.30k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.30k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.30k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4467:21): [True: 1.30k, False: 0]
  |  |  ------------------
  |  | 4468|  1.30k|                    arguments--;
  |  | 4469|  1.30k|                }
  |  | 4470|  1.30k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.30k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4471|  1.30k|                PyCFunction cfunc = method->d_method->ml_meth;
  |  | 4472|  1.30k|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4473|  1.30k|                PyObject *arg = PyStackRef_AsPyObjectBorrow(arguments[1]);
  |  | 4474|  1.30k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4475|  1.30k|                _PyFrame_StackPointerValidate(frame);
  |  | 4476|  1.30k|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, self, arg);
  |  |  ------------------
  |  |  |  |   61|  1.30k|    (meth)((self), (args))
  |  |  ------------------
  |  | 4477|  1.30k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4478|  1.30k|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 4479|  1.30k|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (4479:17): [True: 1.30k, False: 0]
  |  |  ------------------
  |  | 4480|  1.30k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4480:21): [True: 0, False: 1.30k]
  |  |  ------------------
  |  | 4481|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4482|      0|                }
  |  | 4483|  1.30k|                c = callable;
  |  | 4484|  1.30k|                s = arguments[0];
  |  | 4485|  1.30k|                a = arguments[1];
  |  | 4486|  1.30k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4487|  1.30k|            }
  |  | 4488|       |            // _POP_TOP
  |  | 4489|      0|            {
  |  | 4490|  1.30k|                value = a;
  |  | 4491|  1.30k|                stack_pointer[-2 - oparg] = res;
  |  | 4492|  1.30k|                stack_pointer[-1 - oparg] = c;
  |  | 4493|  1.30k|                stack_pointer[-oparg] = s;
  |  | 4494|  1.30k|                stack_pointer += 1 - oparg;
  |  | 4495|  1.30k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.30k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4496|  1.30k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4497|  1.30k|                _PyFrame_StackPointerValidate(frame);
  |  | 4498|  1.30k|                PyStackRef_XCLOSE(value);
  |  | 4499|  1.30k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4500|  1.30k|            }
  |  | 4501|       |            // _POP_TOP
  |  | 4502|  1.30k|            {
  |  | 4503|  1.30k|                value = s;
  |  | 4504|  1.30k|                stack_pointer += -1;
  |  | 4505|  1.30k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.30k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4506|  1.30k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4507|  1.30k|                _PyFrame_StackPointerValidate(frame);
  |  | 4508|  1.30k|                PyStackRef_XCLOSE(value);
  |  | 4509|  1.30k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4510|  1.30k|            }
  |  | 4511|       |            // _POP_TOP
  |  | 4512|  1.30k|            {
  |  | 4513|  1.30k|                value = c;
  |  | 4514|  1.30k|                stack_pointer += -1;
  |  | 4515|  1.30k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.30k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4516|  1.30k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4517|  1.30k|                _PyFrame_StackPointerValidate(frame);
  |  | 4518|  1.30k|                PyStackRef_XCLOSE(value);
  |  | 4519|  1.30k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4520|  1.30k|            }
  |  | 4521|       |            // _CHECK_PERIODIC_AT_END
  |  | 4522|  1.30k|            {
  |  | 4523|  1.30k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4523:17): [True: 1.30k, False: 0]
  |  |  ------------------
  |  | 4524|  1.30k|                _PyFrame_StackPointerValidate(frame);
  |  | 4525|  1.30k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4526|  1.30k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4527|  1.30k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4527:21): [True: 0, False: 1.30k]
  |  |  ------------------
  |  | 4528|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4529|      0|                }
  |  | 4530|  1.30k|            }
  |  | 4531|  1.30k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.30k|    { \
  |  |  |  |  201|  1.30k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.30k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.30k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.30k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.30k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.30k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.30k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.30k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.30k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.30k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.30k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.30k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.30k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.30k|    }
  |  |  ------------------
  |  | 4532|  1.30k|        }
  |  | 4533|       |
  |  | 4534|  2.21k|        TARGET(CALL_NON_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|  2.21k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4535|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4536|       |            int opcode = CALL_NON_PY_GENERAL;
  |  | 4537|       |            (void)(opcode);
  |  | 4538|       |            #endif
  |  | 4539|  2.21k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4540|  2.21k|            (void)this_instr;
  |  | 4541|  2.21k|            frame->instr_ptr = next_instr;
  |  | 4542|  2.21k|            next_instr += 4;
  |  | 4543|  2.21k|            INSTRUCTION_STATS(CALL_NON_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|  2.21k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4544|  2.21k|            opcode = CALL_NON_PY_GENERAL;
  |  |  ------------------
  |  |  |  |  165|  2.21k|#define CALL_NON_PY_GENERAL                    163
  |  |  ------------------
  |  | 4545|  2.21k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4546|  2.21k|            _PyStackRef callable;
  |  | 4547|  2.21k|            _PyStackRef self_or_null;
  |  | 4548|  2.21k|            _PyStackRef *args;
  |  | 4549|  2.21k|            _PyStackRef res;
  |  | 4550|       |            /* Skip 1 cache entry */
  |  | 4551|       |            /* Skip 2 cache entries */
  |  | 4552|       |            // _CHECK_IS_NOT_PY_CALLABLE
  |  | 4553|  2.21k|            {
  |  | 4554|  2.21k|                callable = stack_pointer[-2 - oparg];
  |  | 4555|  2.21k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4556|  2.21k|                if (PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  2.21k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.21k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 2.21k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4557|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4558|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4558:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4559|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4560|      0|                }
  |  | 4561|  2.21k|                if (Py_TYPE(callable_o) == &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|  2.21k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4561:21): [True: 0, False: 2.21k]
  |  |  ------------------
  |  | 4562|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4563|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4563:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4564|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4565|      0|                }
  |  | 4566|  2.21k|            }
  |  | 4567|       |            // _CALL_NON_PY_GENERAL
  |  | 4568|  2.21k|            {
  |  | 4569|  2.21k|                args = &stack_pointer[-oparg];
  |  | 4570|  2.21k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4571|  2.21k|                #if TIER_ONE
  |  | 4572|  2.21k|                assert(opcode != INSTRUMENTED_CALL);
  |  |  ------------------
  |  |  |  Branch (4572:17): [True: 2.21k, False: 0]
  |  |  ------------------
  |  | 4573|  2.21k|                #endif
  |  | 4574|  2.21k|                int total_args = oparg;
  |  | 4575|  2.21k|                _PyStackRef *arguments = args;
  |  | 4576|  2.21k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  2.21k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.21k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.21k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4576:21): [True: 234, False: 1.98k]
  |  |  ------------------
  |  | 4577|    234|                    arguments--;
  |  | 4578|    234|                    total_args++;
  |  | 4579|    234|                }
  |  | 4580|  2.21k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4581|  2.21k|                _PyFrame_StackPointerValidate(frame);
  |  | 4582|  2.21k|                PyObject *res_o = _Py_VectorCall_StackRefSteal(
  |  | 4583|  2.21k|                    callable,
  |  | 4584|  2.21k|                    arguments,
  |  | 4585|  2.21k|                    total_args,
  |  | 4586|  2.21k|                    PyStackRef_NULL);
  |  | 4587|  2.21k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4588|  2.21k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4588:21): [True: 0, False: 2.21k]
  |  |  ------------------
  |  | 4589|      0|                    stack_pointer += -2 - oparg;
  |  | 4590|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4591|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4592|      0|                }
  |  | 4593|  2.21k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4594|  2.21k|            }
  |  | 4595|       |            // _CHECK_PERIODIC_AT_END
  |  | 4596|      0|            {
  |  | 4597|  2.21k|                stack_pointer[-2 - oparg] = res;
  |  | 4598|  2.21k|                stack_pointer += -1 - oparg;
  |  | 4599|  2.21k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.21k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4600|  2.21k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4601|  2.21k|                _PyFrame_StackPointerValidate(frame);
  |  | 4602|  2.21k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4603|  2.21k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4604|  2.21k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4604:21): [True: 0, False: 2.21k]
  |  |  ------------------
  |  | 4605|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4606|      0|                }
  |  | 4607|  2.21k|            }
  |  | 4608|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  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|    }
  |  |  ------------------
  |  | 4609|  2.21k|        }
  |  | 4610|       |
  |  | 4611|  3.13k|        TARGET(CALL_PY_EXACT_ARGS) {
  |  |  ------------------
  |  |  |  |  132|  3.13k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4612|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4613|       |            int opcode = CALL_PY_EXACT_ARGS;
  |  | 4614|       |            (void)(opcode);
  |  | 4615|       |            #endif
  |  | 4616|  3.13k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4617|  3.13k|            (void)this_instr;
  |  | 4618|  3.13k|            frame->instr_ptr = next_instr;
  |  | 4619|  3.13k|            next_instr += 4;
  |  | 4620|  3.13k|            INSTRUCTION_STATS(CALL_PY_EXACT_ARGS);
  |  |  ------------------
  |  |  |  |   71|  3.13k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4621|  3.13k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4622|  3.13k|            _PyStackRef callable;
  |  | 4623|  3.13k|            _PyStackRef self_or_null;
  |  | 4624|  3.13k|            _PyStackRef *args;
  |  | 4625|  3.13k|            _PyStackRef new_frame;
  |  | 4626|       |            /* Skip 1 cache entry */
  |  | 4627|       |            // _CHECK_PEP_523
  |  | 4628|  3.13k|            {
  |  | 4629|  3.13k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|  3.13k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 3.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4630|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4631|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4631:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4632|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4633|      0|                }
  |  | 4634|  3.13k|            }
  |  | 4635|       |            // _CHECK_FUNCTION_VERSION
  |  | 4636|  3.13k|            {
  |  | 4637|  3.13k|                callable = stack_pointer[-2 - oparg];
  |  | 4638|  3.13k|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 4639|  3.13k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4640|  3.13k|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  3.13k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  3.13k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4640:21): [True: 50, False: 3.08k]
  |  |  ------------------
  |  | 4641|     50|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     50|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4642|     50|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4642:21): [True: 50, False: 0]
  |  |  ------------------
  |  | 4643|     50|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     50|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4644|      0|                }
  |  | 4645|  3.08k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4646|  3.08k|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (4646:21): [True: 104, False: 2.97k]
  |  |  ------------------
  |  | 4647|    104|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    104|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4648|    104|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4648:21): [True: 104, False: 0]
  |  |  ------------------
  |  | 4649|    104|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    104|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4650|      0|                }
  |  | 4651|  3.08k|            }
  |  | 4652|       |            // _CHECK_FUNCTION_EXACT_ARGS
  |  | 4653|  2.97k|            {
  |  | 4654|  2.97k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4655|  2.97k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4656|  2.97k|                assert(PyFunction_Check(callable_o));
  |  |  ------------------
  |  |  |  Branch (4656:17): [True: 2.97k, False: 0]
  |  |  ------------------
  |  | 4657|  2.97k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4658|  2.97k|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 4659|  2.97k|                if (code->co_argcount != oparg + (!PyStackRef_IsNull(self_or_null))) {
  |  |  ------------------
  |  |  |  |  482|  2.97k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.97k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.97k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4659:21): [True: 0, False: 2.97k]
  |  |  ------------------
  |  | 4660|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4661|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4661:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4662|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4663|      0|                }
  |  | 4664|  2.97k|            }
  |  | 4665|       |            // _CHECK_STACK_SPACE
  |  | 4666|  2.97k|            {
  |  | 4667|  2.97k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4668|  2.97k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4669|  2.97k|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 4670|  2.97k|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (4670:21): [True: 0, False: 2.97k]
  |  |  ------------------
  |  | 4671|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4672|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4672:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4673|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4674|      0|                }
  |  | 4675|  2.97k|            }
  |  | 4676|       |            // _CHECK_RECURSION_REMAINING
  |  | 4677|  2.97k|            {
  |  | 4678|  2.97k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (4678:21): [True: 0, False: 2.97k]
  |  |  ------------------
  |  | 4679|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4680|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4680:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4681|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4682|      0|                }
  |  | 4683|  2.97k|            }
  |  | 4684|       |            // _INIT_CALL_PY_EXACT_ARGS
  |  | 4685|  2.97k|            {
  |  | 4686|  2.97k|                args = &stack_pointer[-oparg];
  |  | 4687|  2.97k|                int has_self = !PyStackRef_IsNull(self_or_null);
  |  |  ------------------
  |  |  |  |  482|  2.97k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.97k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.97k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4688|  2.97k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  2.97k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4689|  2.97k|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, callable, oparg + has_self, frame);
  |  | 4690|  2.97k|                _PyStackRef *first_non_self_local = pushed_frame->localsplus + has_self;
  |  | 4691|  2.97k|                pushed_frame->localsplus[0] = self_or_null;
  |  | 4692|  6.52k|                for (int i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (4692:33): [True: 3.54k, False: 2.97k]
  |  |  ------------------
  |  | 4693|  3.54k|                    first_non_self_local[i] = args[i];
  |  | 4694|  3.54k|                }
  |  | 4695|  2.97k|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 4696|  2.97k|            }
  |  | 4697|       |            // _SAVE_RETURN_OFFSET
  |  | 4698|  2.97k|            {
  |  | 4699|  2.97k|                #if TIER_ONE
  |  | 4700|  2.97k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 4701|  2.97k|                #endif
  |  | 4702|       |                #if TIER_TWO
  |  | 4703|       |                frame->return_offset = oparg;
  |  | 4704|       |                #endif
  |  | 4705|  2.97k|            }
  |  | 4706|       |            // _PUSH_FRAME
  |  | 4707|  2.97k|            {
  |  | 4708|  2.97k|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (4708:17): [True: 2.97k, False: 0]
  |  |  ------------------
  |  | 4709|  2.97k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 4710|  2.97k|                stack_pointer += -2 - oparg;
  |  | 4711|  2.97k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.97k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4712|  2.97k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4713|  2.97k|                _PyFrame_StackPointerValidate(frame);
  |  | 4714|  2.97k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (4714:17): [True: 2.97k, False: 0]
  |  |  |  Branch (4714:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 4715|  2.97k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  2.97k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 4716|  2.97k|                frame = tstate->current_frame = temp;
  |  | 4717|  2.97k|                tstate->py_recursion_remaining--;
  |  | 4718|  2.97k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4719|  2.97k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4720|  2.97k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|  2.97k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  2.97k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  2.97k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 2.97k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4721|       |                #ifdef Py_DEBUG
  |  | 4722|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 4723|       |                #endif
  |  | 4724|  2.97k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  2.97k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 4725|  2.97k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  2.97k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 4726|  2.97k|            }
  |  | 4727|  2.97k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.97k|    { \
  |  |  |  |  201|  2.97k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.97k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.97k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.97k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.97k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.97k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.97k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.97k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.97k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.97k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.97k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.97k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.97k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.97k|    }
  |  |  ------------------
  |  | 4728|  2.97k|        }
  |  | 4729|       |
  |  | 4730|  1.05k|        TARGET(CALL_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|  1.05k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4731|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4732|       |            int opcode = CALL_PY_GENERAL;
  |  | 4733|       |            (void)(opcode);
  |  | 4734|       |            #endif
  |  | 4735|  1.05k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4736|  1.05k|            (void)this_instr;
  |  | 4737|  1.05k|            frame->instr_ptr = next_instr;
  |  | 4738|  1.05k|            next_instr += 4;
  |  | 4739|  1.05k|            INSTRUCTION_STATS(CALL_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|  1.05k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4740|  1.05k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4741|  1.05k|            _PyStackRef callable;
  |  | 4742|  1.05k|            _PyStackRef self_or_null;
  |  | 4743|  1.05k|            _PyStackRef *args;
  |  | 4744|  1.05k|            _PyStackRef new_frame;
  |  | 4745|       |            /* Skip 1 cache entry */
  |  | 4746|       |            // _CHECK_PEP_523
  |  | 4747|  1.05k|            {
  |  | 4748|  1.05k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|  1.05k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 1.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4749|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4750|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4750:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4751|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4752|      0|                }
  |  | 4753|  1.05k|            }
  |  | 4754|       |            // _CHECK_FUNCTION_VERSION
  |  | 4755|  1.05k|            {
  |  | 4756|  1.05k|                callable = stack_pointer[-2 - oparg];
  |  | 4757|  1.05k|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 4758|  1.05k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4759|  1.05k|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  1.05k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.05k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4759:21): [True: 0, False: 1.05k]
  |  |  ------------------
  |  | 4760|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4761|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4761:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4762|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4763|      0|                }
  |  | 4764|  1.05k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4765|  1.05k|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (4765:21): [True: 0, False: 1.05k]
  |  |  ------------------
  |  | 4766|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4767|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4767:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4768|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4769|      0|                }
  |  | 4770|  1.05k|            }
  |  | 4771|       |            // _CHECK_RECURSION_REMAINING
  |  | 4772|  1.05k|            {
  |  | 4773|  1.05k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (4773:21): [True: 0, False: 1.05k]
  |  |  ------------------
  |  | 4774|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4775|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4775:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4776|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4777|      0|                }
  |  | 4778|  1.05k|            }
  |  | 4779|       |            // _PY_FRAME_GENERAL
  |  | 4780|  1.05k|            {
  |  | 4781|  1.05k|                args = &stack_pointer[-oparg];
  |  | 4782|  1.05k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4783|  1.05k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4784|  1.05k|                int total_args = oparg;
  |  | 4785|  1.05k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.05k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.05k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.05k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4785:21): [True: 135, False: 921]
  |  |  ------------------
  |  | 4786|    135|                    args--;
  |  | 4787|    135|                    total_args++;
  |  | 4788|    135|                }
  |  | 4789|  1.05k|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (4789:17): [True: 1.05k, False: 0]
  |  |  ------------------
  |  | 4790|  1.05k|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|  1.05k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4791|  1.05k|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|  1.05k|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                               PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _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 (4791:36): [True: 1.05k, False: 0]
  |  |  ------------------
  |  | 4792|  1.05k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4793|  1.05k|                _PyFrame_StackPointerValidate(frame);
  |  | 4794|  1.05k|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 4795|  1.05k|                    tstate, callable, locals,
  |  | 4796|  1.05k|                    args, total_args, NULL, frame
  |  | 4797|  1.05k|                );
  |  | 4798|  1.05k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4799|  1.05k|                stack_pointer += -2 - oparg;
  |  | 4800|  1.05k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.05k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4801|  1.05k|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (4801:21): [True: 0, False: 1.05k]
  |  |  ------------------
  |  | 4802|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4803|      0|                }
  |  | 4804|  1.05k|                new_frame = PyStackRef_Wrap(temp);
  |  | 4805|  1.05k|            }
  |  | 4806|       |            // _SAVE_RETURN_OFFSET
  |  | 4807|      0|            {
  |  | 4808|  1.05k|                #if TIER_ONE
  |  | 4809|  1.05k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 4810|  1.05k|                #endif
  |  | 4811|       |                #if TIER_TWO
  |  | 4812|       |                frame->return_offset = oparg;
  |  | 4813|       |                #endif
  |  | 4814|  1.05k|            }
  |  | 4815|       |            // _PUSH_FRAME
  |  | 4816|  1.05k|            {
  |  | 4817|  1.05k|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (4817:17): [True: 1.05k, False: 0]
  |  |  ------------------
  |  | 4818|  1.05k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 4819|  1.05k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4820|  1.05k|                _PyFrame_StackPointerValidate(frame);
  |  | 4821|  1.05k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (4821:17): [True: 1.05k, False: 0]
  |  |  |  Branch (4821:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 4822|  1.05k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  1.05k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 4823|  1.05k|                frame = tstate->current_frame = temp;
  |  | 4824|  1.05k|                tstate->py_recursion_remaining--;
  |  | 4825|  1.05k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4826|  1.05k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4827|  1.05k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|  1.05k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  1.05k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  1.05k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 1.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4828|       |                #ifdef Py_DEBUG
  |  | 4829|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 4830|       |                #endif
  |  | 4831|  1.05k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  1.05k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 4832|  1.05k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  1.05k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 4833|  1.05k|            }
  |  | 4834|  1.05k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.05k|    { \
  |  |  |  |  201|  1.05k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.05k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.05k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.05k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.05k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.05k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.05k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.05k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.05k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.05k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.05k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.05k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.05k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.05k|    }
  |  |  ------------------
  |  | 4835|  1.05k|        }
  |  | 4836|       |
  |  | 4837|     51|        TARGET(CALL_STR_1) {
  |  |  ------------------
  |  |  |  |  132|     51|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4838|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4839|       |            int opcode = CALL_STR_1;
  |  | 4840|       |            (void)(opcode);
  |  | 4841|       |            #endif
  |  | 4842|     51|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4843|     51|            (void)this_instr;
  |  | 4844|     51|            frame->instr_ptr = next_instr;
  |  | 4845|     51|            next_instr += 4;
  |  | 4846|     51|            INSTRUCTION_STATS(CALL_STR_1);
  |  |  ------------------
  |  |  |  |   71|     51|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4847|     51|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4848|     51|            _PyStackRef null;
  |  | 4849|     51|            _PyStackRef callable;
  |  | 4850|     51|            _PyStackRef arg;
  |  | 4851|     51|            _PyStackRef res;
  |  | 4852|     51|            _PyStackRef a;
  |  | 4853|     51|            _PyStackRef value;
  |  | 4854|       |            /* Skip 1 cache entry */
  |  | 4855|       |            /* Skip 2 cache entries */
  |  | 4856|       |            // _GUARD_NOS_NULL
  |  | 4857|     51|            {
  |  | 4858|     51|                null = stack_pointer[-2];
  |  | 4859|     51|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|     51|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     51|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     51|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4859:21): [True: 0, False: 51]
  |  |  ------------------
  |  | 4860|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4861|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4861:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4862|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4863|      0|                }
  |  | 4864|     51|            }
  |  | 4865|       |            // _GUARD_CALLABLE_STR_1
  |  | 4866|     51|            {
  |  | 4867|     51|                callable = stack_pointer[-3];
  |  | 4868|     51|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4869|     51|                if (callable_o != (PyObject *)&PyUnicode_Type) {
  |  |  ------------------
  |  |  |  Branch (4869:21): [True: 0, False: 51]
  |  |  ------------------
  |  | 4870|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4871|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4871:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4872|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4873|      0|                }
  |  | 4874|     51|            }
  |  | 4875|       |            // _CALL_STR_1
  |  | 4876|     51|            {
  |  | 4877|     51|                arg = stack_pointer[-1];
  |  | 4878|     51|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 4879|     51|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (4879:17): [True: 51, False: 0]
  |  |  ------------------
  |  | 4880|     51|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|     51|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4881|     51|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4882|     51|                _PyFrame_StackPointerValidate(frame);
  |  | 4883|     51|                PyObject *res_o = PyObject_Str(arg_o);
  |  | 4884|     51|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4885|     51|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4885:21): [True: 0, False: 51]
  |  |  ------------------
  |  | 4886|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4887|      0|                }
  |  | 4888|     51|                a = arg;
  |  | 4889|     51|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4890|     51|            }
  |  | 4891|       |            // _POP_TOP
  |  | 4892|      0|            {
  |  | 4893|     51|                value = a;
  |  | 4894|     51|                stack_pointer[-3] = res;
  |  | 4895|     51|                stack_pointer += -2;
  |  | 4896|     51|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     51|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4897|     51|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4898|     51|                _PyFrame_StackPointerValidate(frame);
  |  | 4899|     51|                PyStackRef_XCLOSE(value);
  |  | 4900|     51|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4901|     51|            }
  |  | 4902|       |            // _CHECK_PERIODIC_AT_END
  |  | 4903|     51|            {
  |  | 4904|     51|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4904:17): [True: 51, False: 0]
  |  |  ------------------
  |  | 4905|     51|                _PyFrame_StackPointerValidate(frame);
  |  | 4906|     51|                int err = check_periodics_at_end(tstate, frame);
  |  | 4907|     51|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4908|     51|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4908:21): [True: 0, False: 51]
  |  |  ------------------
  |  | 4909|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4910|      0|                }
  |  | 4911|     51|            }
  |  | 4912|     51|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     51|    { \
  |  |  |  |  201|     51|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     51|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     51|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     51|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     51|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     51|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     51|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     51|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 51]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     51|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     51|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     51|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     51|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     51|    }
  |  |  ------------------
  |  | 4913|     51|        }
  |  | 4914|       |
  |  | 4915|      4|        TARGET(CALL_TUPLE_1) {
  |  |  ------------------
  |  |  |  |  132|      4|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4916|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4917|       |            int opcode = CALL_TUPLE_1;
  |  | 4918|       |            (void)(opcode);
  |  | 4919|       |            #endif
  |  | 4920|      4|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4921|      4|            (void)this_instr;
  |  | 4922|      4|            frame->instr_ptr = next_instr;
  |  | 4923|      4|            next_instr += 4;
  |  | 4924|      4|            INSTRUCTION_STATS(CALL_TUPLE_1);
  |  |  ------------------
  |  |  |  |   71|      4|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4925|      4|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4926|      4|            _PyStackRef null;
  |  | 4927|      4|            _PyStackRef callable;
  |  | 4928|      4|            _PyStackRef arg;
  |  | 4929|      4|            _PyStackRef res;
  |  | 4930|      4|            _PyStackRef a;
  |  | 4931|      4|            _PyStackRef value;
  |  | 4932|       |            /* Skip 1 cache entry */
  |  | 4933|       |            /* Skip 2 cache entries */
  |  | 4934|       |            // _GUARD_NOS_NULL
  |  | 4935|      4|            {
  |  | 4936|      4|                null = stack_pointer[-2];
  |  | 4937|      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 (4937:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 4938|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4939|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4939:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4940|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4941|      0|                }
  |  | 4942|      4|            }
  |  | 4943|       |            // _GUARD_CALLABLE_TUPLE_1
  |  | 4944|      4|            {
  |  | 4945|      4|                callable = stack_pointer[-3];
  |  | 4946|      4|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4947|      4|                if (callable_o != (PyObject *)&PyTuple_Type) {
  |  |  ------------------
  |  |  |  Branch (4947:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 4948|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4949|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4949:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4950|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4951|      0|                }
  |  | 4952|      4|            }
  |  | 4953|       |            // _CALL_TUPLE_1
  |  | 4954|      4|            {
  |  | 4955|      4|                arg = stack_pointer[-1];
  |  | 4956|      4|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 4957|      4|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (4957:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 4958|      4|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|      4|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4959|      4|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4960|      4|                _PyFrame_StackPointerValidate(frame);
  |  | 4961|      4|                PyObject *res_o = PySequence_Tuple(arg_o);
  |  | 4962|      4|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4963|      4|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4963:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 4964|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4965|      0|                }
  |  | 4966|      4|                a = arg;
  |  | 4967|      4|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4968|      4|            }
  |  | 4969|       |            // _POP_TOP
  |  | 4970|      0|            {
  |  | 4971|      4|                value = a;
  |  | 4972|      4|                stack_pointer[-3] = res;
  |  | 4973|      4|                stack_pointer += -2;
  |  | 4974|      4|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      4|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4975|      4|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4976|      4|                _PyFrame_StackPointerValidate(frame);
  |  | 4977|      4|                PyStackRef_XCLOSE(value);
  |  | 4978|      4|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4979|      4|            }
  |  | 4980|       |            // _CHECK_PERIODIC_AT_END
  |  | 4981|      4|            {
  |  | 4982|      4|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4982:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 4983|      4|                _PyFrame_StackPointerValidate(frame);
  |  | 4984|      4|                int err = check_periodics_at_end(tstate, frame);
  |  | 4985|      4|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4986|      4|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4986:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 4987|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4988|      0|                }
  |  | 4989|      4|            }
  |  | 4990|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 4991|      4|        }
  |  | 4992|       |
  |  | 4993|     95|        TARGET(CALL_TYPE_1) {
  |  |  ------------------
  |  |  |  |  132|     95|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4994|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4995|       |            int opcode = CALL_TYPE_1;
  |  | 4996|       |            (void)(opcode);
  |  | 4997|       |            #endif
  |  | 4998|     95|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4999|     95|            (void)this_instr;
  |  | 5000|     95|            frame->instr_ptr = next_instr;
  |  | 5001|     95|            next_instr += 4;
  |  | 5002|     95|            INSTRUCTION_STATS(CALL_TYPE_1);
  |  |  ------------------
  |  |  |  |   71|     95|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5003|     95|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 5004|     95|            _PyStackRef null;
  |  | 5005|     95|            _PyStackRef callable;
  |  | 5006|     95|            _PyStackRef arg;
  |  | 5007|     95|            _PyStackRef res;
  |  | 5008|     95|            _PyStackRef a;
  |  | 5009|     95|            _PyStackRef value;
  |  | 5010|       |            /* Skip 1 cache entry */
  |  | 5011|       |            /* Skip 2 cache entries */
  |  | 5012|       |            // _GUARD_NOS_NULL
  |  | 5013|     95|            {
  |  | 5014|     95|                null = stack_pointer[-2];
  |  | 5015|     95|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|     95|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     95|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     95|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5015:21): [True: 0, False: 95]
  |  |  ------------------
  |  | 5016|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5017|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (5017:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5018|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5019|      0|                }
  |  | 5020|     95|            }
  |  | 5021|       |            // _GUARD_CALLABLE_TYPE_1
  |  | 5022|     95|            {
  |  | 5023|     95|                callable = stack_pointer[-3];
  |  | 5024|     95|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 5025|     95|                if (callable_o != (PyObject *)&PyType_Type) {
  |  |  ------------------
  |  |  |  Branch (5025:21): [True: 0, False: 95]
  |  |  ------------------
  |  | 5026|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5027|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (5027:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5028|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5029|      0|                }
  |  | 5030|     95|            }
  |  | 5031|       |            // _CALL_TYPE_1
  |  | 5032|     95|            {
  |  | 5033|     95|                arg = stack_pointer[-1];
  |  | 5034|     95|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 5035|     95|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (5035:17): [True: 95, False: 0]
  |  |  ------------------
  |  | 5036|     95|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|     95|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5037|     95|                a = arg;
  |  | 5038|     95|                res = PyStackRef_FromPyObjectNew(Py_TYPE(arg_o));
  |  |  ------------------
  |  |  |  |  611|     95|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5039|     95|            }
  |  | 5040|       |            // _POP_TOP
  |  | 5041|      0|            {
  |  | 5042|     95|                value = a;
  |  | 5043|     95|                stack_pointer[-3] = res;
  |  | 5044|     95|                stack_pointer += -2;
  |  | 5045|     95|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     95|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5046|     95|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5047|     95|                _PyFrame_StackPointerValidate(frame);
  |  | 5048|     95|                PyStackRef_XCLOSE(value);
  |  | 5049|     95|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5050|     95|            }
  |  | 5051|     95|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     95|    { \
  |  |  |  |  201|     95|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     95|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     95|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     95|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     95|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     95|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     95|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     95|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 95]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     95|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     95|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     95|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     95|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     95|    }
  |  |  ------------------
  |  | 5052|     95|        }
  |  | 5053|       |
  |  | 5054|      0|        TARGET(CHECK_EG_MATCH) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5055|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5056|       |            int opcode = CHECK_EG_MATCH;
  |  | 5057|       |            (void)(opcode);
  |  | 5058|       |            #endif
  |  | 5059|      0|            frame->instr_ptr = next_instr;
  |  | 5060|      0|            next_instr += 1;
  |  | 5061|      0|            INSTRUCTION_STATS(CHECK_EG_MATCH);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5062|      0|            _PyStackRef exc_value_st;
  |  | 5063|      0|            _PyStackRef match_type_st;
  |  | 5064|      0|            _PyStackRef rest;
  |  | 5065|      0|            _PyStackRef match;
  |  | 5066|      0|            match_type_st = stack_pointer[-1];
  |  | 5067|      0|            exc_value_st = stack_pointer[-2];
  |  | 5068|      0|            PyObject *exc_value = PyStackRef_AsPyObjectBorrow(exc_value_st);
  |  | 5069|      0|            PyObject *match_type = PyStackRef_AsPyObjectBorrow(match_type_st);
  |  | 5070|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5071|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5072|      0|            int err = _PyEval_CheckExceptStarTypeValid(tstate, match_type);
  |  | 5073|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5074|      0|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5074:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5075|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5075:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5076|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5077|      0|                _PyStackRef tmp = match_type_st;
  |  | 5078|      0|                match_type_st = PyStackRef_NULL;
  |  | 5079|      0|                stack_pointer[-1] = match_type_st;
  |  | 5080|      0|                PyStackRef_CLOSE(tmp);
  |  | 5081|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5082|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5082:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5083|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5084|      0|                tmp = exc_value_st;
  |  | 5085|      0|                exc_value_st = PyStackRef_NULL;
  |  | 5086|      0|                stack_pointer[-2] = exc_value_st;
  |  | 5087|      0|                PyStackRef_CLOSE(tmp);
  |  | 5088|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5089|      0|                stack_pointer += -2;
  |  | 5090|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5091|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5092|      0|            }
  |  | 5093|      0|            PyObject *match_o = NULL;
  |  | 5094|      0|            PyObject *rest_o = NULL;
  |  | 5095|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5095:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5096|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5097|      0|            int res = _PyEval_ExceptionGroupMatch(frame, exc_value, match_type,
  |  | 5098|      0|                &match_o, &rest_o);
  |  | 5099|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5100|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5100:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5101|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5102|      0|            _PyStackRef tmp = match_type_st;
  |  | 5103|      0|            match_type_st = PyStackRef_NULL;
  |  | 5104|      0|            stack_pointer[-1] = match_type_st;
  |  | 5105|      0|            PyStackRef_CLOSE(tmp);
  |  | 5106|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5107|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5107:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5108|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5109|      0|            tmp = exc_value_st;
  |  | 5110|      0|            exc_value_st = PyStackRef_NULL;
  |  | 5111|      0|            stack_pointer[-2] = exc_value_st;
  |  | 5112|      0|            PyStackRef_CLOSE(tmp);
  |  | 5113|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5114|      0|            stack_pointer += -2;
  |  | 5115|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5116|      0|            if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5116:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5117|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5118|      0|            }
  |  | 5119|      0|            assert((match_o == NULL) == (rest_o == NULL));
  |  |  ------------------
  |  |  |  Branch (5119:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5120|      0|            if (match_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (5120:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5121|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5122|      0|            }
  |  | 5123|      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 (5123:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5124|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5125|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5126|      0|                PyErr_SetHandledException(match_o);
  |  | 5127|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5128|      0|            }
  |  | 5129|      0|            rest = PyStackRef_FromPyObjectSteal(rest_o);
  |  | 5130|      0|            match = PyStackRef_FromPyObjectSteal(match_o);
  |  | 5131|      0|            stack_pointer[0] = rest;
  |  | 5132|      0|            stack_pointer[1] = match;
  |  | 5133|      0|            stack_pointer += 2;
  |  | 5134|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5135|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 5136|      0|        }
  |  | 5137|       |
  |  | 5138|    308|        TARGET(CHECK_EXC_MATCH) {
  |  |  ------------------
  |  |  |  |  132|    308|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5139|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5140|       |            int opcode = CHECK_EXC_MATCH;
  |  | 5141|       |            (void)(opcode);
  |  | 5142|       |            #endif
  |  | 5143|    308|            frame->instr_ptr = next_instr;
  |  | 5144|    308|            next_instr += 1;
  |  | 5145|    308|            INSTRUCTION_STATS(CHECK_EXC_MATCH);
  |  |  ------------------
  |  |  |  |   71|    308|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5146|    308|            _PyStackRef left;
  |  | 5147|    308|            _PyStackRef right;
  |  | 5148|    308|            _PyStackRef b;
  |  | 5149|    308|            right = stack_pointer[-1];
  |  | 5150|    308|            left = stack_pointer[-2];
  |  | 5151|    308|            PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5152|    308|            PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5153|    308|            assert(PyExceptionInstance_Check(left_o));
  |  |  ------------------
  |  |  |  Branch (5153:13): [True: 308, False: 0]
  |  |  ------------------
  |  | 5154|    308|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5155|    308|            _PyFrame_StackPointerValidate(frame);
  |  | 5156|    308|            int err = _PyEval_CheckExceptTypeValid(tstate, right_o);
  |  | 5157|    308|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5158|    308|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5158:17): [True: 0, False: 308]
  |  |  ------------------
  |  | 5159|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5160|      0|            }
  |  | 5161|    308|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5161:13): [True: 308, False: 0]
  |  |  ------------------
  |  | 5162|    308|            _PyFrame_StackPointerValidate(frame);
  |  | 5163|    308|            int res = PyErr_GivenExceptionMatches(left_o, right_o);
  |  | 5164|    308|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5165|    308|            stack_pointer += -1;
  |  | 5166|    308|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    308|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5167|    308|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5168|    308|            _PyFrame_StackPointerValidate(frame);
  |  | 5169|    308|            PyStackRef_CLOSE(right);
  |  | 5170|    308|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5171|    308|            b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    302|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    302|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|    314|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      6|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5171:17): [True: 302, False: 6]
  |  |  ------------------
  |  | 5172|    308|            stack_pointer[0] = b;
  |  | 5173|    308|            stack_pointer += 1;
  |  | 5174|    308|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    308|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5175|    308|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    308|    { \
  |  |  |  |  201|    308|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    308|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    308|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    308|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    308|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    308|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    308|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    308|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 308]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    308|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    308|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    308|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    308|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    308|    }
  |  |  ------------------
  |  | 5176|    308|        }
  |  | 5177|       |
  |  | 5178|      0|        TARGET(CLEANUP_THROW) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5179|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5180|       |            int opcode = CLEANUP_THROW;
  |  | 5181|       |            (void)(opcode);
  |  | 5182|       |            #endif
  |  | 5183|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5184|      0|            (void)this_instr;
  |  | 5185|      0|            frame->instr_ptr = next_instr;
  |  | 5186|      0|            next_instr += 1;
  |  | 5187|      0|            INSTRUCTION_STATS(CLEANUP_THROW);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5188|      0|            _PyStackRef sub_iter;
  |  | 5189|      0|            _PyStackRef null_in;
  |  | 5190|      0|            _PyStackRef last_sent_val;
  |  | 5191|      0|            _PyStackRef exc_value_st;
  |  | 5192|      0|            _PyStackRef none;
  |  | 5193|      0|            _PyStackRef null_out;
  |  | 5194|      0|            _PyStackRef value;
  |  | 5195|      0|            exc_value_st = stack_pointer[-1];
  |  | 5196|      0|            last_sent_val = stack_pointer[-2];
  |  | 5197|      0|            null_in = stack_pointer[-3];
  |  | 5198|      0|            sub_iter = stack_pointer[-4];
  |  | 5199|      0|            PyObject *exc_value = PyStackRef_AsPyObjectBorrow(exc_value_st);
  |  | 5200|      0|            #if !_Py_TAIL_CALL_INTERP
  |  | 5201|      0|            assert(throwflag);
  |  |  ------------------
  |  |  |  Branch (5201:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5202|      0|            #endif
  |  | 5203|      0|            assert(exc_value && PyExceptionInstance_Check(exc_value));
  |  |  ------------------
  |  |  |  Branch (5203:13): [True: 0, False: 0]
  |  |  |  Branch (5203:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5204|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5205|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5206|      0|            int matches = PyErr_GivenExceptionMatches(exc_value, PyExc_StopIteration);
  |  | 5207|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5208|      0|            if (matches) {
  |  |  ------------------
  |  |  |  Branch (5208:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5209|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5210|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5210:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5211|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5212|      0|                _PyStackRef tmp = sub_iter;
  |  | 5213|      0|                sub_iter = value;
  |  | 5214|      0|                stack_pointer[-4] = sub_iter;
  |  | 5215|      0|                PyStackRef_CLOSE(tmp);
  |  | 5216|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5217|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5217:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5218|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5219|      0|                tmp = exc_value_st;
  |  | 5220|      0|                exc_value_st = PyStackRef_NULL;
  |  | 5221|      0|                stack_pointer[-1] = exc_value_st;
  |  | 5222|      0|                PyStackRef_CLOSE(tmp);
  |  | 5223|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5224|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5224:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5225|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5226|      0|                tmp = last_sent_val;
  |  | 5227|      0|                last_sent_val = PyStackRef_NULL;
  |  | 5228|      0|                stack_pointer[-2] = last_sent_val;
  |  | 5229|      0|                PyStackRef_CLOSE(tmp);
  |  | 5230|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5231|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5231:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5232|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5233|      0|                tmp = null_in;
  |  | 5234|      0|                null_in = PyStackRef_NULL;
  |  | 5235|      0|                stack_pointer[-3] = null_in;
  |  | 5236|      0|                PyStackRef_XCLOSE(tmp);
  |  | 5237|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5238|      0|                stack_pointer += -4;
  |  | 5239|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5240|      0|                null_out = null_in;
  |  | 5241|      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
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5242|      0|            }
  |  | 5243|      0|            else {
  |  | 5244|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5244:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5245|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5246|      0|                _PyErr_SetRaisedException(tstate, Py_NewRef(exc_value));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5247|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5248|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5248:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5249|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5250|      0|                monitor_reraise(tstate, frame, this_instr);
  |  | 5251|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5252|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5252:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5253|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5254|      0|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5255|      0|            }
  |  | 5256|      0|            stack_pointer[0] = none;
  |  | 5257|      0|            stack_pointer[1] = null_out;
  |  | 5258|      0|            stack_pointer[2] = value;
  |  | 5259|      0|            stack_pointer += 3;
  |  | 5260|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5261|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 5262|      0|        }
  |  | 5263|       |
  |  | 5264|    701|        TARGET(COMPARE_OP) {
  |  |  ------------------
  |  |  |  |  132|    701|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5265|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5266|       |            int opcode = COMPARE_OP;
  |  | 5267|       |            (void)(opcode);
  |  | 5268|       |            #endif
  |  | 5269|    701|            frame->instr_ptr = next_instr;
  |  | 5270|    701|            next_instr += 2;
  |  | 5271|    701|            INSTRUCTION_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |   71|    701|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5272|    704|            PREDICTED_COMPARE_OP:;
  |  | 5273|    704|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 5274|    704|            (void)this_instr;
  |  | 5275|    704|            _PyStackRef left;
  |  | 5276|    704|            _PyStackRef right;
  |  | 5277|    704|            _PyStackRef res;
  |  | 5278|       |            // _SPECIALIZE_COMPARE_OP
  |  | 5279|    704|            {
  |  | 5280|    704|                right = stack_pointer[-1];
  |  | 5281|    704|                left = stack_pointer[-2];
  |  | 5282|    704|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 5283|    704|                (void)counter;
  |  | 5284|    704|                #if ENABLE_SPECIALIZATION
  |  | 5285|    704|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    704|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 128, False: 576]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5286|    128|                    next_instr = this_instr;
  |  | 5287|    128|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5288|    128|                    _PyFrame_StackPointerValidate(frame);
  |  | 5289|    128|                    _Py_Specialize_CompareOp(left, right, next_instr, oparg);
  |  | 5290|    128|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5291|    128|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    128|    { \
  |  |  |  |  217|    128|        opcode = next_instr->op.code; \
  |  |  |  |  218|    128|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    128|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    128|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    128|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    128|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    128|    }
  |  |  ------------------
  |  | 5292|    128|                }
  |  | 5293|    704|                OPCODE_DEFERRED_INC(COMPARE_OP);
  |  |  ------------------
  |  |  |  |   90|    704|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 5294|    704|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    704|    do { \
  |  |  |  |  378|    704|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    704|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 704]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5295|    704|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 5296|    704|            }
  |  | 5297|       |            // _COMPARE_OP
  |  | 5298|    704|            {
  |  | 5299|    704|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5300|    704|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5301|    704|                assert((oparg >> 5) <= Py_GE);
  |  |  ------------------
  |  |  |  Branch (5301:17): [True: 576, False: 128]
  |  |  ------------------
  |  | 5302|    576|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5303|    576|                _PyFrame_StackPointerValidate(frame);
  |  | 5304|    576|                PyObject *res_o = PyObject_RichCompare(left_o, right_o, oparg >> 5);
  |  | 5305|    576|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5306|    576|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5306:17): [True: 576, False: 0]
  |  |  ------------------
  |  | 5307|    576|                _PyFrame_StackPointerValidate(frame);
  |  | 5308|    576|                _PyStackRef tmp = right;
  |  | 5309|    576|                right = PyStackRef_NULL;
  |  | 5310|    576|                stack_pointer[-1] = right;
  |  | 5311|    576|                PyStackRef_CLOSE(tmp);
  |  | 5312|    576|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5313|    576|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5313:17): [True: 576, False: 0]
  |  |  ------------------
  |  | 5314|    576|                _PyFrame_StackPointerValidate(frame);
  |  | 5315|    576|                tmp = left;
  |  | 5316|    576|                left = PyStackRef_NULL;
  |  | 5317|    576|                stack_pointer[-2] = left;
  |  | 5318|    576|                PyStackRef_CLOSE(tmp);
  |  | 5319|    576|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5320|    576|                stack_pointer += -2;
  |  | 5321|    576|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    576|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5322|    576|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (5322:21): [True: 0, False: 576]
  |  |  ------------------
  |  | 5323|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5324|      0|                }
  |  | 5325|    576|                if (oparg & 16) {
  |  |  ------------------
  |  |  |  Branch (5325:21): [True: 552, False: 24]
  |  |  ------------------
  |  | 5326|    552|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5327|    552|                    _PyFrame_StackPointerValidate(frame);
  |  | 5328|    552|                    int res_bool = PyObject_IsTrue(res_o);
  |  | 5329|    552|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5330|    552|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5330:21): [True: 552, False: 0]
  |  |  ------------------
  |  | 5331|    552|                    _PyFrame_StackPointerValidate(frame);
  |  | 5332|    552|                    Py_DECREF(res_o);
  |  |  ------------------
  |  |  |  |   80|    552|    do { \
  |  |  |  |   81|    552|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    552|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    552|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|    552|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|    552|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    552|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    552|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 552, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|    552|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|    552|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|    552|            break; \
  |  |  |  |   85|    552|        } \
  |  |  |  |   86|    552|        _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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5333|    552|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5334|    552|                    if (res_bool < 0) {
  |  |  ------------------
  |  |  |  Branch (5334:25): [True: 0, False: 552]
  |  |  ------------------
  |  | 5335|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5336|      0|                    }
  |  | 5337|    552|                    res = res_bool ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    193|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    193|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                   res = res_bool ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|    911|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    359|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5337:27): [True: 193, False: 359]
  |  |  ------------------
  |  | 5338|    552|                }
  |  | 5339|     24|                else {
  |  | 5340|     24|                    res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 5341|     24|                }
  |  | 5342|    576|            }
  |  | 5343|    576|            stack_pointer[0] = res;
  |  | 5344|    576|            stack_pointer += 1;
  |  | 5345|    576|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    576|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5346|    576|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    576|    { \
  |  |  |  |  201|    576|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    576|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    576|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    576|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    576|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    576|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    576|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    576|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 576]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    576|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    576|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    576|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    576|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    576|    }
  |  |  ------------------
  |  | 5347|    576|        }
  |  | 5348|       |
  |  | 5349|     27|        TARGET(COMPARE_OP_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|     27|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5350|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5351|       |            int opcode = COMPARE_OP_FLOAT;
  |  | 5352|       |            (void)(opcode);
  |  | 5353|       |            #endif
  |  | 5354|     27|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5355|     27|            (void)this_instr;
  |  | 5356|     27|            frame->instr_ptr = next_instr;
  |  | 5357|     27|            next_instr += 2;
  |  | 5358|     27|            INSTRUCTION_STATS(COMPARE_OP_FLOAT);
  |  |  ------------------
  |  |  |  |   71|     27|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5359|     27|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5360|     27|            _PyStackRef value;
  |  | 5361|     27|            _PyStackRef left;
  |  | 5362|     27|            _PyStackRef right;
  |  | 5363|     27|            _PyStackRef res;
  |  | 5364|     27|            _PyStackRef l;
  |  | 5365|     27|            _PyStackRef r;
  |  | 5366|       |            // _GUARD_TOS_FLOAT
  |  | 5367|     27|            {
  |  | 5368|     27|                value = stack_pointer[-1];
  |  | 5369|     27|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5370|     27|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|     27|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     27|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5370:21): [True: 1, False: 26]
  |  |  ------------------
  |  | 5371|      1|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      1|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5372|      1|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5372:21): [True: 1, False: 0]
  |  |  ------------------
  |  | 5373|      1|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      1|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5374|      0|                }
  |  | 5375|     27|            }
  |  | 5376|       |            // _GUARD_NOS_FLOAT
  |  | 5377|     26|            {
  |  | 5378|     26|                left = stack_pointer[-2];
  |  | 5379|     26|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5380|     26|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|     26|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     26|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5380:21): [True: 0, False: 26]
  |  |  ------------------
  |  | 5381|      0|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5382|      0|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5382:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5383|      0|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5384|      0|                }
  |  | 5385|     26|            }
  |  | 5386|       |            /* Skip 1 cache entry */
  |  | 5387|       |            // _COMPARE_OP_FLOAT
  |  | 5388|     26|            {
  |  | 5389|     26|                right = value;
  |  | 5390|     26|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5391|     26|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5392|     26|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|     26|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5393|     26|                double dleft = PyFloat_AS_DOUBLE(left_o);
  |  |  ------------------
  |  |  |  |   18|     26|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5394|     26|                double dright = PyFloat_AS_DOUBLE(right_o);
  |  |  ------------------
  |  |  |  |   18|     26|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5395|     26|                int sign_ish = COMPARISON_BIT(dleft, dright);
  |  |  ------------------
  |  |  |  |  523|     26|#define COMPARISON_BIT(x, y) (1 << (2 * ((x) >= (y)) + ((x) <= (y))))
  |  |  ------------------
  |  | 5396|     26|                l = left;
  |  | 5397|     26|                r = right;
  |  | 5398|     26|                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|     52|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     26|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5398:23): [True: 0, False: 26]
  |  |  ------------------
  |  | 5399|     26|            }
  |  | 5400|       |            // _POP_TOP_FLOAT
  |  | 5401|     26|            {
  |  | 5402|     26|                value = r;
  |  | 5403|     26|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5403:17): [True: 26, False: 0]
  |  |  ------------------
  |  | 5404|     26|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 5405|     26|            }
  |  | 5406|       |            // _POP_TOP_FLOAT
  |  | 5407|      0|            {
  |  | 5408|     26|                value = l;
  |  | 5409|     26|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5409:17): [True: 26, False: 0]
  |  |  ------------------
  |  | 5410|     26|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 5411|     26|            }
  |  | 5412|      0|            stack_pointer[-2] = res;
  |  | 5413|     26|            stack_pointer += -1;
  |  | 5414|     26|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     26|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5415|     26|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     26|    { \
  |  |  |  |  201|     26|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     26|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     26|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     26|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     26|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     26|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     26|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     26|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 26]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     26|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     26|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     26|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     26|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     26|    }
  |  |  ------------------
  |  | 5416|     26|        }
  |  | 5417|       |
  |  | 5418|  1.38k|        TARGET(COMPARE_OP_INT) {
  |  |  ------------------
  |  |  |  |  132|  1.38k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5419|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5420|       |            int opcode = COMPARE_OP_INT;
  |  | 5421|       |            (void)(opcode);
  |  | 5422|       |            #endif
  |  | 5423|  1.38k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5424|  1.38k|            (void)this_instr;
  |  | 5425|  1.38k|            frame->instr_ptr = next_instr;
  |  | 5426|  1.38k|            next_instr += 2;
  |  | 5427|  1.38k|            INSTRUCTION_STATS(COMPARE_OP_INT);
  |  |  ------------------
  |  |  |  |   71|  1.38k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5428|  1.38k|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5429|  1.38k|            _PyStackRef value;
  |  | 5430|  1.38k|            _PyStackRef left;
  |  | 5431|  1.38k|            _PyStackRef right;
  |  | 5432|  1.38k|            _PyStackRef res;
  |  | 5433|  1.38k|            _PyStackRef l;
  |  | 5434|  1.38k|            _PyStackRef r;
  |  | 5435|       |            // _GUARD_TOS_INT
  |  | 5436|  1.38k|            {
  |  | 5437|  1.38k|                value = stack_pointer[-1];
  |  | 5438|  1.38k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5439|  1.38k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (5439:21): [True: 0, False: 1.38k]
  |  |  ------------------
  |  | 5440|      0|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5441|      0|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5441:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5442|      0|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5443|      0|                }
  |  | 5444|  1.38k|            }
  |  | 5445|       |            // _GUARD_NOS_INT
  |  | 5446|  1.38k|            {
  |  | 5447|  1.38k|                left = stack_pointer[-2];
  |  | 5448|  1.38k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5449|  1.38k|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (5449:21): [True: 0, False: 1.38k]
  |  |  ------------------
  |  | 5450|      0|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5451|      0|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5451:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5452|      0|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5453|      0|                }
  |  | 5454|  1.38k|            }
  |  | 5455|       |            /* Skip 1 cache entry */
  |  | 5456|       |            // _COMPARE_OP_INT
  |  | 5457|  1.38k|            {
  |  | 5458|  1.38k|                right = value;
  |  | 5459|  1.38k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5460|  1.38k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5461|  1.38k|                assert(_PyLong_IsCompact((PyLongObject *)left_o));
  |  |  ------------------
  |  |  |  Branch (5461:17): [True: 1.38k, False: 0]
  |  |  ------------------
  |  | 5462|  1.38k|                assert(_PyLong_IsCompact((PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (5462:17): [True: 1.38k, False: 0]
  |  |  ------------------
  |  | 5463|  1.38k|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.38k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5464|  1.38k|                assert(_PyLong_DigitCount((PyLongObject *)left_o) <= 1 &&
  |  |  ------------------
  |  |  |  Branch (5464:17): [True: 1.38k, False: 0]
  |  |  |  Branch (5464:17): [True: 1.38k, False: 0]
  |  |  ------------------
  |  | 5465|  1.38k|                   _PyLong_DigitCount((PyLongObject *)right_o) <= 1);
  |  | 5466|  1.38k|                Py_ssize_t ileft = _PyLong_CompactValue((PyLongObject *)left_o);
  |  | 5467|  1.38k|                Py_ssize_t iright = _PyLong_CompactValue((PyLongObject *)right_o);
  |  | 5468|  1.38k|                int sign_ish = COMPARISON_BIT(ileft, iright);
  |  |  ------------------
  |  |  |  |  523|  1.38k|#define COMPARISON_BIT(x, y) (1 << (2 * ((x) >= (y)) + ((x) <= (y))))
  |  |  ------------------
  |  | 5469|  1.38k|                l = left;
  |  | 5470|  1.38k|                r = right;
  |  | 5471|  1.38k|                res =  (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    580|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    580|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res =  (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  2.19k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    808|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5471:24): [True: 580, False: 808]
  |  |  ------------------
  |  | 5472|  1.38k|            }
  |  | 5473|       |            // _POP_TOP_INT
  |  | 5474|      0|            {
  |  | 5475|  1.38k|                value = r;
  |  | 5476|  1.38k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5476:17): [True: 1.38k, False: 0]
  |  |  ------------------
  |  | 5477|  1.38k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 5478|  1.38k|            }
  |  | 5479|       |            // _POP_TOP_INT
  |  | 5480|      0|            {
  |  | 5481|  1.38k|                value = l;
  |  | 5482|  1.38k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5482:17): [True: 1.38k, False: 0]
  |  |  ------------------
  |  | 5483|  1.38k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 5484|  1.38k|            }
  |  | 5485|      0|            stack_pointer[-2] = res;
  |  | 5486|  1.38k|            stack_pointer += -1;
  |  | 5487|  1.38k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.38k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5488|  1.38k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.38k|    { \
  |  |  |  |  201|  1.38k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.38k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.38k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.38k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.38k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.38k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.38k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.38k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.38k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.38k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.38k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.38k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.38k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.38k|    }
  |  |  ------------------
  |  | 5489|  1.38k|        }
  |  | 5490|       |
  |  | 5491|  1.73k|        TARGET(COMPARE_OP_STR) {
  |  |  ------------------
  |  |  |  |  132|  1.73k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5492|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5493|       |            int opcode = COMPARE_OP_STR;
  |  | 5494|       |            (void)(opcode);
  |  | 5495|       |            #endif
  |  | 5496|  1.73k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5497|  1.73k|            (void)this_instr;
  |  | 5498|  1.73k|            frame->instr_ptr = next_instr;
  |  | 5499|  1.73k|            next_instr += 2;
  |  | 5500|  1.73k|            INSTRUCTION_STATS(COMPARE_OP_STR);
  |  |  ------------------
  |  |  |  |   71|  1.73k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5501|  1.73k|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5502|  1.73k|            _PyStackRef value;
  |  | 5503|  1.73k|            _PyStackRef nos;
  |  | 5504|  1.73k|            _PyStackRef left;
  |  | 5505|  1.73k|            _PyStackRef right;
  |  | 5506|  1.73k|            _PyStackRef res;
  |  | 5507|  1.73k|            _PyStackRef l;
  |  | 5508|  1.73k|            _PyStackRef r;
  |  | 5509|       |            // _GUARD_TOS_UNICODE
  |  | 5510|  1.73k|            {
  |  | 5511|  1.73k|                value = stack_pointer[-1];
  |  | 5512|  1.73k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5513|  1.73k|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  1.73k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.73k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5513:21): [True: 2, False: 1.73k]
  |  |  ------------------
  |  | 5514|      2|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      2|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5515|      2|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5515:21): [True: 2, False: 0]
  |  |  ------------------
  |  | 5516|      2|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      2|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5517|      0|                }
  |  | 5518|  1.73k|            }
  |  | 5519|       |            // _GUARD_NOS_UNICODE
  |  | 5520|  1.73k|            {
  |  | 5521|  1.73k|                nos = stack_pointer[-2];
  |  | 5522|  1.73k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 5523|  1.73k|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  1.73k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.73k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5523:21): [True: 0, False: 1.73k]
  |  |  ------------------
  |  | 5524|      0|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5525|      0|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5525:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5526|      0|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5527|      0|                }
  |  | 5528|  1.73k|            }
  |  | 5529|       |            /* Skip 1 cache entry */
  |  | 5530|       |            // _COMPARE_OP_STR
  |  | 5531|  1.73k|            {
  |  | 5532|  1.73k|                right = value;
  |  | 5533|  1.73k|                left = nos;
  |  | 5534|  1.73k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5535|  1.73k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5536|  1.73k|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.73k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5537|  1.73k|                int eq = _PyUnicode_Equal(left_o, right_o);
  |  | 5538|  1.73k|                assert((oparg >> 5) == Py_EQ || (oparg >> 5) == Py_NE);
  |  |  ------------------
  |  |  |  Branch (5538:17): [True: 668, False: 1.06k]
  |  |  |  Branch (5538:17): [True: 1.06k, False: 0]
  |  |  ------------------
  |  | 5539|  1.73k|                l = left;
  |  | 5540|  1.73k|                r = right;
  |  | 5541|  1.73k|                assert(eq == 0 || eq == 1);
  |  |  ------------------
  |  |  |  Branch (5541:17): [True: 1.22k, False: 502]
  |  |  |  Branch (5541:17): [True: 502, False: 0]
  |  |  ------------------
  |  | 5542|  1.73k|                assert((oparg & 0xf) == COMPARISON_NOT_EQUALS || (oparg & 0xf) == COMPARISON_EQUALS);
  |  |  ------------------
  |  |  |  Branch (5542:17): [True: 1.06k, False: 668]
  |  |  |  Branch (5542:17): [True: 668, False: 0]
  |  |  ------------------
  |  | 5543|  1.73k|                assert(COMPARISON_NOT_EQUALS + 1 == COMPARISON_EQUALS);
  |  |  ------------------
  |  |  |  Branch (5543:17): [True: 1.73k, Folded]
  |  |  ------------------
  |  | 5544|  1.73k|                res = ((COMPARISON_NOT_EQUALS + eq) & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  538|  1.73k|#define COMPARISON_NOT_EQUALS (COMPARISON_UNORDERED | COMPARISON_LESS_THAN | COMPARISON_GREATER_THAN)
  |  |  |  |  ------------------
  |  |  |  |  |  |  532|  1.73k|#define COMPARISON_UNORDERED 1
  |  |  |  |  ------------------
  |  |  |  |               #define COMPARISON_NOT_EQUALS (COMPARISON_UNORDERED | COMPARISON_LESS_THAN | COMPARISON_GREATER_THAN)
  |  |  |  |  ------------------
  |  |  |  |  |  |  534|  1.73k|#define COMPARISON_LESS_THAN 2
  |  |  |  |  ------------------
  |  |  |  |               #define COMPARISON_NOT_EQUALS (COMPARISON_UNORDERED | COMPARISON_LESS_THAN | COMPARISON_GREATER_THAN)
  |  |  |  |  ------------------
  |  |  |  |  |  |  535|  1.73k|#define COMPARISON_GREATER_THAN 4
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = ((COMPARISON_NOT_EQUALS + eq) & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  1.24k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.24k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = ((COMPARISON_NOT_EQUALS + eq) & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  2.21k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    484|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5544:23): [True: 1.24k, False: 484]
  |  |  ------------------
  |  | 5545|  1.73k|            }
  |  | 5546|       |            // _POP_TOP_UNICODE
  |  | 5547|      0|            {
  |  | 5548|  1.73k|                value = r;
  |  | 5549|  1.73k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5549:17): [True: 1.73k, False: 0]
  |  |  ------------------
  |  | 5550|  1.73k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 5551|  1.73k|            }
  |  | 5552|       |            // _POP_TOP_UNICODE
  |  | 5553|      0|            {
  |  | 5554|  1.73k|                value = l;
  |  | 5555|  1.73k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5555:17): [True: 1.73k, False: 0]
  |  |  ------------------
  |  | 5556|  1.73k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 5557|  1.73k|            }
  |  | 5558|      0|            stack_pointer[-2] = res;
  |  | 5559|  1.73k|            stack_pointer += -1;
  |  | 5560|  1.73k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.73k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5561|  1.73k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.73k|    { \
  |  |  |  |  201|  1.73k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.73k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.73k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.73k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.73k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.73k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.73k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.73k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.73k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.73k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.73k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.73k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.73k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.73k|    }
  |  |  ------------------
  |  | 5562|  1.73k|        }
  |  | 5563|       |
  |  | 5564|    647|        TARGET(CONTAINS_OP) {
  |  |  ------------------
  |  |  |  |  132|    647|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5565|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5566|       |            int opcode = CONTAINS_OP;
  |  | 5567|       |            (void)(opcode);
  |  | 5568|       |            #endif
  |  | 5569|    647|            frame->instr_ptr = next_instr;
  |  | 5570|    647|            next_instr += 2;
  |  | 5571|    647|            INSTRUCTION_STATS(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |   71|    647|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5572|    647|            PREDICTED_CONTAINS_OP:;
  |  | 5573|    647|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 5574|    647|            (void)this_instr;
  |  | 5575|    647|            _PyStackRef right;
  |  | 5576|    647|            _PyStackRef left;
  |  | 5577|    647|            _PyStackRef b;
  |  | 5578|    647|            _PyStackRef l;
  |  | 5579|    647|            _PyStackRef r;
  |  | 5580|    647|            _PyStackRef value;
  |  | 5581|       |            // _SPECIALIZE_CONTAINS_OP
  |  | 5582|    647|            {
  |  | 5583|    647|                right = stack_pointer[-1];
  |  | 5584|    647|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 5585|    647|                (void)counter;
  |  | 5586|    647|                #if ENABLE_SPECIALIZATION
  |  | 5587|    647|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    647|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 94, False: 553]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5588|     94|                    next_instr = this_instr;
  |  | 5589|     94|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5590|     94|                    _PyFrame_StackPointerValidate(frame);
  |  | 5591|     94|                    _Py_Specialize_ContainsOp(right, next_instr);
  |  | 5592|     94|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5593|     94|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     94|    { \
  |  |  |  |  217|     94|        opcode = next_instr->op.code; \
  |  |  |  |  218|     94|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     94|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     94|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     94|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     94|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     94|    }
  |  |  ------------------
  |  | 5594|     94|                }
  |  | 5595|    647|                OPCODE_DEFERRED_INC(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |   90|    647|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 5596|    647|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    647|    do { \
  |  |  |  |  378|    647|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    647|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 647]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5597|    647|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 5598|    647|            }
  |  | 5599|       |            // _CONTAINS_OP
  |  | 5600|    647|            {
  |  | 5601|    647|                left = stack_pointer[-2];
  |  | 5602|    647|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5603|    647|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5604|    647|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5605|    647|                _PyFrame_StackPointerValidate(frame);
  |  | 5606|    647|                int res = PySequence_Contains(right_o, left_o);
  |  | 5607|    647|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5608|    647|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5608:21): [True: 0, False: 647]
  |  |  ------------------
  |  | 5609|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5610|      0|                }
  |  | 5611|    647|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    258|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    258|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  1.03k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    389|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5611:21): [True: 258, False: 389]
  |  |  ------------------
  |  | 5612|    647|                l = left;
  |  | 5613|    647|                r = right;
  |  | 5614|    647|            }
  |  | 5615|       |            // _POP_TOP
  |  | 5616|      0|            {
  |  | 5617|    647|                value = r;
  |  | 5618|    647|                stack_pointer[-2] = b;
  |  | 5619|    647|                stack_pointer[-1] = l;
  |  | 5620|    647|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5620:17): [True: 553, False: 94]
  |  |  ------------------
  |  | 5621|    553|                _PyFrame_StackPointerValidate(frame);
  |  | 5622|    553|                PyStackRef_XCLOSE(value);
  |  | 5623|    553|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5624|    553|            }
  |  | 5625|       |            // _POP_TOP
  |  | 5626|      0|            {
  |  | 5627|    553|                value = l;
  |  | 5628|    553|                stack_pointer += -1;
  |  | 5629|    553|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    553|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5630|    553|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5631|    553|                _PyFrame_StackPointerValidate(frame);
  |  | 5632|    553|                PyStackRef_XCLOSE(value);
  |  | 5633|    553|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5634|    553|            }
  |  | 5635|    553|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    553|    { \
  |  |  |  |  201|    553|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    553|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    553|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    553|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    553|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    553|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    553|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    553|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 553]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    553|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    553|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    553|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    553|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    553|    }
  |  |  ------------------
  |  | 5636|    553|        }
  |  | 5637|       |
  |  | 5638|    447|        TARGET(CONTAINS_OP_DICT) {
  |  |  ------------------
  |  |  |  |  132|    447|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5639|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5640|       |            int opcode = CONTAINS_OP_DICT;
  |  | 5641|       |            (void)(opcode);
  |  | 5642|       |            #endif
  |  | 5643|    447|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5644|    447|            (void)this_instr;
  |  | 5645|    447|            frame->instr_ptr = next_instr;
  |  | 5646|    447|            next_instr += 2;
  |  | 5647|    447|            INSTRUCTION_STATS(CONTAINS_OP_DICT);
  |  |  ------------------
  |  |  |  |   71|    447|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5648|    447|            static_assert(INLINE_CACHE_ENTRIES_CONTAINS_OP == 1, "incorrect cache size");
  |  | 5649|    447|            _PyStackRef tos;
  |  | 5650|    447|            _PyStackRef left;
  |  | 5651|    447|            _PyStackRef right;
  |  | 5652|    447|            _PyStackRef b;
  |  | 5653|    447|            _PyStackRef l;
  |  | 5654|    447|            _PyStackRef r;
  |  | 5655|    447|            _PyStackRef value;
  |  | 5656|       |            // _GUARD_TOS_ANY_DICT
  |  | 5657|    447|            {
  |  | 5658|    447|                tos = stack_pointer[-1];
  |  | 5659|    447|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  | 5660|    447|                if (!PyAnyDict_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   41|    447|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|    447|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   65|    894|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|    447|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|    447|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (65:5): [True: 447, 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]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5661|      0|                    UPDATE_MISS_STATS(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5662|      0|                    assert(_PyOpcode_Deopt[opcode] == (CONTAINS_OP));
  |  |  ------------------
  |  |  |  Branch (5662:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5663|      0|                    JUMP_TO_PREDICTED(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5664|      0|                }
  |  | 5665|    447|            }
  |  | 5666|       |            /* Skip 1 cache entry */
  |  | 5667|       |            // _CONTAINS_OP_DICT
  |  | 5668|    447|            {
  |  | 5669|    447|                right = tos;
  |  | 5670|    447|                left = stack_pointer[-2];
  |  | 5671|    447|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5672|    447|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5673|    447|                assert(PyAnyDict_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (5673:17): [True: 447, False: 0]
  |  |  |  Branch (5673:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5674|    447|                STAT_INC(CONTAINS_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    447|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5675|    447|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5676|    447|                _PyFrame_StackPointerValidate(frame);
  |  | 5677|    447|                int res = PyDict_Contains(right_o, left_o);
  |  | 5678|    447|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5679|    447|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5679:21): [True: 0, False: 447]
  |  |  ------------------
  |  | 5680|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5681|      0|                }
  |  | 5682|    447|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    155|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    155|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|    739|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    292|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5682:21): [True: 155, False: 292]
  |  |  ------------------
  |  | 5683|    447|                l = left;
  |  | 5684|    447|                r = right;
  |  | 5685|    447|            }
  |  | 5686|       |            // _POP_TOP
  |  | 5687|      0|            {
  |  | 5688|    447|                value = r;
  |  | 5689|    447|                stack_pointer[-2] = b;
  |  | 5690|    447|                stack_pointer[-1] = l;
  |  | 5691|    447|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5691:17): [True: 447, False: 0]
  |  |  ------------------
  |  | 5692|    447|                _PyFrame_StackPointerValidate(frame);
  |  | 5693|    447|                PyStackRef_XCLOSE(value);
  |  | 5694|    447|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5695|    447|            }
  |  | 5696|       |            // _POP_TOP
  |  | 5697|      0|            {
  |  | 5698|    447|                value = l;
  |  | 5699|    447|                stack_pointer += -1;
  |  | 5700|    447|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    447|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5701|    447|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5702|    447|                _PyFrame_StackPointerValidate(frame);
  |  | 5703|    447|                PyStackRef_XCLOSE(value);
  |  | 5704|    447|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5705|    447|            }
  |  | 5706|    447|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    447|    { \
  |  |  |  |  201|    447|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    447|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    447|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    447|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    447|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    447|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    447|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    447|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 447]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    447|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    447|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    447|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    447|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    447|    }
  |  |  ------------------
  |  | 5707|    447|        }
  |  | 5708|       |
  |  | 5709|    408|        TARGET(CONTAINS_OP_SET) {
  |  |  ------------------
  |  |  |  |  132|    408|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5710|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5711|       |            int opcode = CONTAINS_OP_SET;
  |  | 5712|       |            (void)(opcode);
  |  | 5713|       |            #endif
  |  | 5714|    408|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5715|    408|            (void)this_instr;
  |  | 5716|    408|            frame->instr_ptr = next_instr;
  |  | 5717|    408|            next_instr += 2;
  |  | 5718|    408|            INSTRUCTION_STATS(CONTAINS_OP_SET);
  |  |  ------------------
  |  |  |  |   71|    408|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5719|    408|            static_assert(INLINE_CACHE_ENTRIES_CONTAINS_OP == 1, "incorrect cache size");
  |  | 5720|    408|            _PyStackRef tos;
  |  | 5721|    408|            _PyStackRef left;
  |  | 5722|    408|            _PyStackRef right;
  |  | 5723|    408|            _PyStackRef b;
  |  | 5724|    408|            _PyStackRef l;
  |  | 5725|    408|            _PyStackRef r;
  |  | 5726|    408|            _PyStackRef value;
  |  | 5727|       |            // _GUARD_TOS_ANY_SET
  |  | 5728|    408|            {
  |  | 5729|    408|                tos = stack_pointer[-1];
  |  | 5730|    408|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  | 5731|    408|                if (!PyAnySet_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   29|    408|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    816|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    408|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    408|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 365, False: 43]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     43|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 43, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5732|      0|                    UPDATE_MISS_STATS(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5733|      0|                    assert(_PyOpcode_Deopt[opcode] == (CONTAINS_OP));
  |  |  ------------------
  |  |  |  Branch (5733:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5734|      0|                    JUMP_TO_PREDICTED(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5735|      0|                }
  |  | 5736|    408|            }
  |  | 5737|       |            /* Skip 1 cache entry */
  |  | 5738|       |            // _CONTAINS_OP_SET
  |  | 5739|    408|            {
  |  | 5740|    408|                right = tos;
  |  | 5741|    408|                left = stack_pointer[-2];
  |  | 5742|    408|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5743|    408|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5744|    408|                assert(PyAnySet_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (5744:17): [True: 365, False: 43]
  |  |  |  Branch (5744:17): [True: 43, False: 0]
  |  |  ------------------
  |  | 5745|    408|                STAT_INC(CONTAINS_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    408|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5746|    408|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5747|    408|                _PyFrame_StackPointerValidate(frame);
  |  | 5748|    408|                int res = _PySet_Contains((PySetObject *)right_o, left_o);
  |  | 5749|    408|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5750|    408|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5750:21): [True: 0, False: 408]
  |  |  ------------------
  |  | 5751|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5752|      0|                }
  |  | 5753|    408|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|     63|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     63|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|    753|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    345|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5753:21): [True: 63, False: 345]
  |  |  ------------------
  |  | 5754|    408|                l = left;
  |  | 5755|    408|                r = right;
  |  | 5756|    408|            }
  |  | 5757|       |            // _POP_TOP
  |  | 5758|      0|            {
  |  | 5759|    408|                value = r;
  |  | 5760|    408|                stack_pointer[-2] = b;
  |  | 5761|    408|                stack_pointer[-1] = l;
  |  | 5762|    408|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5762:17): [True: 408, False: 0]
  |  |  ------------------
  |  | 5763|    408|                _PyFrame_StackPointerValidate(frame);
  |  | 5764|    408|                PyStackRef_XCLOSE(value);
  |  | 5765|    408|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5766|    408|            }
  |  | 5767|       |            // _POP_TOP
  |  | 5768|      0|            {
  |  | 5769|    408|                value = l;
  |  | 5770|    408|                stack_pointer += -1;
  |  | 5771|    408|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    408|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5772|    408|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5773|    408|                _PyFrame_StackPointerValidate(frame);
  |  | 5774|    408|                PyStackRef_XCLOSE(value);
  |  | 5775|    408|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5776|    408|            }
  |  | 5777|    408|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    408|    { \
  |  |  |  |  201|    408|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    408|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    408|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    408|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    408|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    408|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    408|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    408|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 408]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    408|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    408|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    408|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    408|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    408|    }
  |  |  ------------------
  |  | 5778|    408|        }
  |  | 5779|       |
  |  | 5780|    126|        TARGET(CONVERT_VALUE) {
  |  |  ------------------
  |  |  |  |  132|    126|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5781|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5782|       |            int opcode = CONVERT_VALUE;
  |  | 5783|       |            (void)(opcode);
  |  | 5784|       |            #endif
  |  | 5785|    126|            frame->instr_ptr = next_instr;
  |  | 5786|    126|            next_instr += 1;
  |  | 5787|    126|            INSTRUCTION_STATS(CONVERT_VALUE);
  |  |  ------------------
  |  |  |  |   71|    126|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5788|    126|            _PyStackRef value;
  |  | 5789|    126|            _PyStackRef result;
  |  | 5790|    126|            value = stack_pointer[-1];
  |  | 5791|    126|            conversion_func conv_fn;
  |  | 5792|    126|            assert(oparg >= FVC_STR && oparg <= FVC_ASCII);
  |  |  ------------------
  |  |  |  Branch (5792:13): [True: 126, False: 0]
  |  |  |  Branch (5792:13): [True: 126, False: 0]
  |  |  ------------------
  |  | 5793|    126|            conv_fn = _PyEval_ConversionFuncs[oparg];
  |  | 5794|    126|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5795|    126|            _PyFrame_StackPointerValidate(frame);
  |  | 5796|    126|            PyObject *result_o = conv_fn(PyStackRef_AsPyObjectBorrow(value));
  |  | 5797|    126|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5798|    126|            stack_pointer += -1;
  |  | 5799|    126|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    126|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5800|    126|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5801|    126|            _PyFrame_StackPointerValidate(frame);
  |  | 5802|    126|            PyStackRef_CLOSE(value);
  |  | 5803|    126|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5804|    126|            if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (5804:17): [True: 0, False: 126]
  |  |  ------------------
  |  | 5805|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5806|      0|            }
  |  | 5807|    126|            result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 5808|    126|            stack_pointer[0] = result;
  |  | 5809|    126|            stack_pointer += 1;
  |  | 5810|    126|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    126|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5811|    126|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    126|    { \
  |  |  |  |  201|    126|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    126|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    126|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    126|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    126|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    126|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    126|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    126|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 126]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    126|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    126|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    126|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    126|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    126|    }
  |  |  ------------------
  |  | 5812|    126|        }
  |  | 5813|       |
  |  | 5814|  1.95k|        TARGET(COPY) {
  |  |  ------------------
  |  |  |  |  132|  1.95k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5815|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5816|       |            int opcode = COPY;
  |  | 5817|       |            (void)(opcode);
  |  | 5818|       |            #endif
  |  | 5819|  1.95k|            frame->instr_ptr = next_instr;
  |  | 5820|  1.95k|            next_instr += 1;
  |  | 5821|  1.95k|            INSTRUCTION_STATS(COPY);
  |  |  ------------------
  |  |  |  |   71|  1.95k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5822|  1.95k|            _PyStackRef bottom;
  |  | 5823|  1.95k|            _PyStackRef top;
  |  | 5824|  1.95k|            bottom = stack_pointer[-1 - (oparg-1)];
  |  | 5825|  1.95k|            top = PyStackRef_DUP(bottom);
  |  | 5826|  1.95k|            stack_pointer[0] = top;
  |  | 5827|  1.95k|            stack_pointer += 1;
  |  | 5828|  1.95k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.95k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5829|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  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|    }
  |  |  ------------------
  |  | 5830|  1.95k|        }
  |  | 5831|       |
  |  | 5832|  1.95k|        TARGET(COPY_FREE_VARS) {
  |  |  ------------------
  |  |  |  |  132|    899|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5833|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5834|       |            int opcode = COPY_FREE_VARS;
  |  | 5835|       |            (void)(opcode);
  |  | 5836|       |            #endif
  |  | 5837|    899|            frame->instr_ptr = next_instr;
  |  | 5838|    899|            next_instr += 1;
  |  | 5839|    899|            INSTRUCTION_STATS(COPY_FREE_VARS);
  |  |  ------------------
  |  |  |  |   71|    899|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5840|    899|            PyCodeObject *co = _PyFrame_GetCode(frame);
  |  | 5841|    899|            assert(PyStackRef_FunctionCheck(frame->f_funcobj));
  |  |  ------------------
  |  |  |  Branch (5841:13): [True: 899, False: 0]
  |  |  ------------------
  |  | 5842|    899|            PyFunctionObject *func = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(frame->f_funcobj);
  |  | 5843|    899|            PyObject *closure = func->func_closure;
  |  | 5844|    899|            assert(oparg == co->co_nfreevars);
  |  |  ------------------
  |  |  |  Branch (5844:13): [True: 899, False: 0]
  |  |  ------------------
  |  | 5845|    899|            int offset = co->co_nlocalsplus - oparg;
  |  | 5846|  1.85k|            for (int i = 0; i < oparg; ++i) {
  |  |  ------------------
  |  |  |  Branch (5846:29): [True: 955, False: 899]
  |  |  ------------------
  |  | 5847|    955|                PyObject *o = PyTuple_GET_ITEM(closure, i);
  |  |  ------------------
  |  |  |  |   29|    955|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|    955|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    955|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5847:31): [True: 955, False: 0]
  |  |  ------------------
  |  | 5848|    955|                frame->localsplus[offset + i] = PyStackRef_FromPyObjectNew(o);
  |  |  ------------------
  |  |  |  |  611|    955|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    955|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    955|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5849|    955|            }
  |  | 5850|    899|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    899|    { \
  |  |  |  |  201|    899|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    899|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    899|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    899|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    899|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    899|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    899|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    899|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 899]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    899|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    899|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    899|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    899|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    899|    }
  |  |  ------------------
  |  | 5851|    899|        }
  |  | 5852|       |
  |  | 5853|      0|        TARGET(DELETE_DEREF) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5854|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5855|       |            int opcode = DELETE_DEREF;
  |  | 5856|       |            (void)(opcode);
  |  | 5857|       |            #endif
  |  | 5858|      0|            frame->instr_ptr = next_instr;
  |  | 5859|      0|            next_instr += 1;
  |  | 5860|      0|            INSTRUCTION_STATS(DELETE_DEREF);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5861|      0|            PyObject *cell = PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|      0|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5862|      0|            PyObject *oldobj = PyCell_SwapTakeRef((PyCellObject *)cell, NULL);
  |  | 5863|      0|            if (oldobj == NULL) {
  |  |  ------------------
  |  |  |  Branch (5863:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5864|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5865|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5866|      0|                _PyEval_FormatExcUnbound(tstate, _PyFrame_GetCode(frame), oparg);
  |  | 5867|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5868|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5869|      0|            }
  |  | 5870|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5871|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5872|      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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5873|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5874|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 5875|      0|        }
  |  | 5876|       |
  |  | 5877|      4|        TARGET(DELETE_FAST) {
  |  |  ------------------
  |  |  |  |  132|      4|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5878|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5879|       |            int opcode = DELETE_FAST;
  |  | 5880|       |            (void)(opcode);
  |  | 5881|       |            #endif
  |  | 5882|      4|            frame->instr_ptr = next_instr;
  |  | 5883|      4|            next_instr += 1;
  |  | 5884|      4|            INSTRUCTION_STATS(DELETE_FAST);
  |  |  ------------------
  |  |  |  |   71|      4|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5885|      4|            _PyStackRef v = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|      4|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5886|      4|            if (PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5887|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5888|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5889|      0|                _PyEval_FormatExcCheckArg(tstate, PyExc_UnboundLocalError,
  |  | 5890|      0|                    UNBOUNDLOCAL_ERROR_MSG,
  |  |  ------------------
  |  |  |  |  401|      0|    "cannot access local variable '%s' where it is not associated with a value"
  |  |  ------------------
  |  | 5891|      0|                    PyTuple_GetItem(_PyFrame_GetCode(frame)->co_localsplusnames, oparg)
  |  | 5892|      0|                );
  |  | 5893|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5894|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5895|      0|            }
  |  | 5896|      4|            _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|      4|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5897|      4|            GETLOCAL(oparg) = PyStackRef_NULL;
  |  |  ------------------
  |  |  |  |  285|      4|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5898|      4|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5899|      4|            _PyFrame_StackPointerValidate(frame);
  |  | 5900|      4|            PyStackRef_XCLOSE(tmp);
  |  | 5901|      4|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5902|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 5903|      4|        }
  |  | 5904|       |
  |  | 5905|     82|        TARGET(DELETE_SUBSCR) {
  |  |  ------------------
  |  |  |  |  132|     82|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5906|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5907|       |            int opcode = DELETE_SUBSCR;
  |  | 5908|       |            (void)(opcode);
  |  | 5909|       |            #endif
  |  | 5910|     82|            frame->instr_ptr = next_instr;
  |  | 5911|     82|            next_instr += 1;
  |  | 5912|     82|            INSTRUCTION_STATS(DELETE_SUBSCR);
  |  |  ------------------
  |  |  |  |   71|     82|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5913|     82|            _PyStackRef container;
  |  | 5914|     82|            _PyStackRef sub;
  |  | 5915|     82|            sub = stack_pointer[-1];
  |  | 5916|     82|            container = stack_pointer[-2];
  |  | 5917|     82|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5918|     82|            _PyFrame_StackPointerValidate(frame);
  |  | 5919|     82|            int err = PyObject_DelItem(PyStackRef_AsPyObjectBorrow(container),
  |  | 5920|     82|                                       PyStackRef_AsPyObjectBorrow(sub));
  |  | 5921|     82|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5922|     82|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5922:13): [True: 82, False: 0]
  |  |  ------------------
  |  | 5923|     82|            _PyFrame_StackPointerValidate(frame);
  |  | 5924|     82|            _PyStackRef tmp = sub;
  |  | 5925|     82|            sub = PyStackRef_NULL;
  |  | 5926|     82|            stack_pointer[-1] = sub;
  |  | 5927|     82|            PyStackRef_CLOSE(tmp);
  |  | 5928|     82|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5929|     82|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5929:13): [True: 82, False: 0]
  |  |  ------------------
  |  | 5930|     82|            _PyFrame_StackPointerValidate(frame);
  |  | 5931|     82|            tmp = container;
  |  | 5932|     82|            container = PyStackRef_NULL;
  |  | 5933|     82|            stack_pointer[-2] = container;
  |  | 5934|     82|            PyStackRef_CLOSE(tmp);
  |  | 5935|     82|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5936|     82|            stack_pointer += -2;
  |  | 5937|     82|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     82|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5938|     82|            if (err) {
  |  |  ------------------
  |  |  |  Branch (5938:17): [True: 0, False: 82]
  |  |  ------------------
  |  | 5939|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5940|      0|            }
  |  | 5941|     82|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     82|    { \
  |  |  |  |  201|     82|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     82|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     82|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     82|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     82|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     82|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     82|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     82|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 82]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     82|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     82|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     82|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     82|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     82|    }
  |  |  ------------------
  |  | 5942|     82|        }
  |  | 5943|       |
  |  | 5944|    302|        TARGET(DICT_MERGE) {
  |  |  ------------------
  |  |  |  |  132|    302|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5945|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5946|       |            int opcode = DICT_MERGE;
  |  | 5947|       |            (void)(opcode);
  |  | 5948|       |            #endif
  |  | 5949|    302|            frame->instr_ptr = next_instr;
  |  | 5950|    302|            next_instr += 1;
  |  | 5951|    302|            INSTRUCTION_STATS(DICT_MERGE);
  |  |  ------------------
  |  |  |  |   71|    302|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5952|    302|            _PyStackRef callable;
  |  | 5953|    302|            _PyStackRef dict;
  |  | 5954|    302|            _PyStackRef update;
  |  | 5955|    302|            _PyStackRef u;
  |  | 5956|    302|            _PyStackRef value;
  |  | 5957|       |            // _DICT_MERGE
  |  | 5958|    302|            {
  |  | 5959|    302|                update = stack_pointer[-1];
  |  | 5960|    302|                dict = stack_pointer[-2 - (oparg - 1)];
  |  | 5961|    302|                callable = stack_pointer[-5 - (oparg - 1)];
  |  | 5962|    302|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 5963|    302|                PyObject *dict_o = PyStackRef_AsPyObjectBorrow(dict);
  |  | 5964|    302|                PyObject *update_o = PyStackRef_AsPyObjectBorrow(update);
  |  | 5965|    302|                PyObject *dupkey = NULL;
  |  | 5966|    302|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5967|    302|                _PyFrame_StackPointerValidate(frame);
  |  | 5968|    302|                int err = _PyDict_MergeUniq(dict_o, update_o, &dupkey);
  |  | 5969|    302|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5970|    302|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5970:21): [True: 0, False: 302]
  |  |  ------------------
  |  | 5971|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5971:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5972|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 5973|      0|                    _PyEval_FormatKwargsError(tstate, callable_o, update_o, dupkey);
  |  | 5974|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5975|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5975:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5976|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 5977|      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); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5978|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5979|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5980|      0|                }
  |  | 5981|    302|                u = update;
  |  | 5982|    302|            }
  |  | 5983|       |            // _POP_TOP
  |  | 5984|      0|            {
  |  | 5985|    302|                value = u;
  |  | 5986|    302|                stack_pointer += -1;
  |  | 5987|    302|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    302|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5988|    302|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5989|    302|                _PyFrame_StackPointerValidate(frame);
  |  | 5990|    302|                PyStackRef_XCLOSE(value);
  |  | 5991|    302|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5992|    302|            }
  |  | 5993|    302|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    302|    { \
  |  |  |  |  201|    302|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    302|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    302|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    302|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    302|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    302|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    302|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    302|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 302]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    302|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    302|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    302|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    302|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    302|    }
  |  |  ------------------
  |  | 5994|    302|        }
  |  | 5995|       |
  |  | 5996|     50|        TARGET(DICT_UPDATE) {
  |  |  ------------------
  |  |  |  |  132|     50|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5997|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5998|       |            int opcode = DICT_UPDATE;
  |  | 5999|       |            (void)(opcode);
  |  | 6000|       |            #endif
  |  | 6001|     50|            frame->instr_ptr = next_instr;
  |  | 6002|     50|            next_instr += 1;
  |  | 6003|     50|            INSTRUCTION_STATS(DICT_UPDATE);
  |  |  ------------------
  |  |  |  |   71|     50|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6004|     50|            _PyStackRef dict;
  |  | 6005|     50|            _PyStackRef update;
  |  | 6006|     50|            _PyStackRef upd;
  |  | 6007|     50|            _PyStackRef value;
  |  | 6008|       |            // _DICT_UPDATE
  |  | 6009|     50|            {
  |  | 6010|     50|                update = stack_pointer[-1];
  |  | 6011|     50|                dict = stack_pointer[-2 - (oparg - 1)];
  |  | 6012|     50|                PyObject *dict_o = PyStackRef_AsPyObjectBorrow(dict);
  |  | 6013|     50|                PyObject *update_o = PyStackRef_AsPyObjectBorrow(update);
  |  | 6014|     50|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6015|     50|                _PyFrame_StackPointerValidate(frame);
  |  | 6016|     50|                int err = PyDict_Update(dict_o, update_o);
  |  | 6017|     50|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6018|     50|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (6018:21): [True: 0, False: 50]
  |  |  ------------------
  |  | 6019|      0|                    int matches = _PyErr_ExceptionMatches(tstate, PyExc_AttributeError);
  |  | 6020|      0|                    if (matches) {
  |  |  ------------------
  |  |  |  Branch (6020:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 6021|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6021:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 6022|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 6023|      0|                        PyObject *exc = _PyErr_GetRaisedException(tstate);
  |  | 6024|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 6025|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6025:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 6026|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 6027|      0|                        int has_keys = PyObject_HasAttrWithError(update_o, &_Py_ID(keys));
  |  |  ------------------
  |  |  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6028|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 6029|      0|                        if (has_keys == 0) {
  |  |  ------------------
  |  |  |  Branch (6029:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 6030|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6030:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 6031|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 6032|      0|                            _PyErr_Format(tstate, PyExc_TypeError,
  |  | 6033|      0|                                      "'%T' object is not a mapping",
  |  | 6034|      0|                                      update_o);
  |  | 6035|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 6036|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6036:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 6037|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 6038|      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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6039|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 6040|      0|                        }
  |  | 6041|      0|                        else {
  |  | 6042|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6042:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 6043|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 6044|      0|                            _PyErr_ChainExceptions1(exc);
  |  | 6045|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 6046|      0|                        }
  |  | 6047|      0|                    }
  |  | 6048|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6049|      0|                }
  |  | 6050|     50|                upd = update;
  |  | 6051|     50|            }
  |  | 6052|       |            // _POP_TOP
  |  | 6053|      0|            {
  |  | 6054|     50|                value = upd;
  |  | 6055|     50|                stack_pointer += -1;
  |  | 6056|     50|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     50|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6057|     50|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6058|     50|                _PyFrame_StackPointerValidate(frame);
  |  | 6059|     50|                PyStackRef_XCLOSE(value);
  |  | 6060|     50|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6061|     50|            }
  |  | 6062|     50|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     50|    { \
  |  |  |  |  201|     50|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     50|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     50|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     50|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     50|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     50|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     50|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     50|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 50]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     50|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     50|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     50|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     50|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     50|    }
  |  |  ------------------
  |  | 6063|     50|        }
  |  | 6064|       |
  |  | 6065|      0|        TARGET(END_ASYNC_FOR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6066|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6067|       |            int opcode = END_ASYNC_FOR;
  |  | 6068|       |            (void)(opcode);
  |  | 6069|       |            #endif
  |  | 6070|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6071|      0|            (void)this_instr;
  |  | 6072|      0|            frame->instr_ptr = next_instr;
  |  | 6073|      0|            next_instr += 1;
  |  | 6074|      0|            INSTRUCTION_STATS(END_ASYNC_FOR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6075|      0|            _PyStackRef awaitable_st;
  |  | 6076|      0|            _PyStackRef exc_st;
  |  | 6077|      0|            exc_st = stack_pointer[-1];
  |  | 6078|      0|            awaitable_st = stack_pointer[-2];
  |  | 6079|      0|            JUMPBY(0);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6080|      0|            (void)oparg;
  |  | 6081|      0|            PyObject *exc = PyStackRef_AsPyObjectBorrow(exc_st);
  |  | 6082|      0|            assert(exc && PyExceptionInstance_Check(exc));
  |  |  ------------------
  |  |  |  Branch (6082:13): [True: 0, False: 0]
  |  |  |  Branch (6082:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 6083|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6084|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6085|      0|            int matches = PyErr_GivenExceptionMatches(exc, PyExc_StopAsyncIteration);
  |  | 6086|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6087|      0|            if (matches) {
  |  |  ------------------
  |  |  |  Branch (6087:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6088|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6088:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6089|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6090|      0|                _PyStackRef tmp = exc_st;
  |  | 6091|      0|                exc_st = PyStackRef_NULL;
  |  | 6092|      0|                stack_pointer[-1] = exc_st;
  |  | 6093|      0|                PyStackRef_CLOSE(tmp);
  |  | 6094|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6095|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6095:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6096|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6097|      0|                tmp = awaitable_st;
  |  | 6098|      0|                awaitable_st = PyStackRef_NULL;
  |  | 6099|      0|                stack_pointer[-2] = awaitable_st;
  |  | 6100|      0|                PyStackRef_CLOSE(tmp);
  |  | 6101|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6102|      0|                stack_pointer += -2;
  |  | 6103|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6104|      0|            }
  |  | 6105|      0|            else {
  |  | 6106|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6107|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6107:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6108|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6109|      0|                _PyErr_SetRaisedException(tstate, exc);
  |  | 6110|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6111|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6111:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6112|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6113|      0|                monitor_reraise(tstate, frame, this_instr);
  |  | 6114|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6115|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6115:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6116|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6117|      0|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6118|      0|            }
  |  | 6119|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 6120|      0|        }
  |  | 6121|       |
  |  | 6122|     33|        TARGET(END_FOR) {
  |  |  ------------------
  |  |  |  |  132|     33|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6123|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6124|       |            int opcode = END_FOR;
  |  | 6125|       |            (void)(opcode);
  |  | 6126|       |            #endif
  |  | 6127|     33|            next_instr += 1;
  |  | 6128|     33|            INSTRUCTION_STATS(END_FOR);
  |  |  ------------------
  |  |  |  |   71|     33|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6129|     33|            _PyStackRef value;
  |  | 6130|     33|            value = stack_pointer[-1];
  |  | 6131|     33|            stack_pointer += -1;
  |  | 6132|     33|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     33|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6133|     33|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6134|     33|            _PyFrame_StackPointerValidate(frame);
  |  | 6135|     33|            PyStackRef_CLOSE(value);
  |  | 6136|     33|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6137|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     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|    }
  |  |  ------------------
  |  | 6138|     33|        }
  |  | 6139|       |
  |  | 6140|     33|        TARGET(END_SEND) {
  |  |  ------------------
  |  |  |  |  132|      1|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6141|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6142|       |            int opcode = END_SEND;
  |  | 6143|       |            (void)(opcode);
  |  | 6144|       |            #endif
  |  | 6145|      1|            frame->instr_ptr = next_instr;
  |  | 6146|      1|            next_instr += 1;
  |  | 6147|      1|            INSTRUCTION_STATS(END_SEND);
  |  |  ------------------
  |  |  |  |   71|      1|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6148|      1|            _PyStackRef receiver;
  |  | 6149|      1|            _PyStackRef index_or_null;
  |  | 6150|      1|            _PyStackRef value;
  |  | 6151|      1|            _PyStackRef val;
  |  | 6152|      1|            value = stack_pointer[-1];
  |  | 6153|      1|            index_or_null = stack_pointer[-2];
  |  | 6154|      1|            receiver = stack_pointer[-3];
  |  | 6155|      1|            val = value;
  |  | 6156|      1|            (void)index_or_null;
  |  | 6157|      1|            stack_pointer[-3] = val;
  |  | 6158|      1|            stack_pointer += -2;
  |  | 6159|      1|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      1|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6160|      1|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6161|      1|            _PyFrame_StackPointerValidate(frame);
  |  | 6162|      1|            PyStackRef_CLOSE(receiver);
  |  | 6163|      1|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6164|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 6165|      1|        }
  |  | 6166|       |
  |  | 6167|      1|        TARGET(ENTER_EXECUTOR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6168|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6169|       |            int opcode = ENTER_EXECUTOR;
  |  | 6170|       |            (void)(opcode);
  |  | 6171|       |            #endif
  |  | 6172|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6173|      0|            (void)this_instr;
  |  | 6174|      0|            frame->instr_ptr = next_instr;
  |  | 6175|      0|            next_instr += 1;
  |  | 6176|      0|            INSTRUCTION_STATS(ENTER_EXECUTOR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6177|      0|            opcode = ENTER_EXECUTOR;
  |  |  ------------------
  |  |  |  |  242|      0|#define ENTER_EXECUTOR                         254
  |  |  ------------------
  |  | 6178|       |            #ifdef _Py_TIER2
  |  | 6179|       |            PyCodeObject *code = _PyFrame_GetCode(frame);
  |  | 6180|       |            _PyExecutorObject *executor = code->co_executors->executors[oparg & 255];
  |  | 6181|       |            if (IS_JIT_TRACING()) {
  |  | 6182|       |                int og_opcode = executor->vm_data.opcode;
  |  | 6183|       |                int og_oparg = (oparg & ~255) | executor->vm_data.oparg;
  |  | 6184|       |                next_instr = this_instr;
  |  | 6185|       |                if (_PyJit_EnterExecutorShouldStopTracing(og_opcode)) {
  |  | 6186|       |                    if (_PyOpcode_Caches[_PyOpcode_Deopt[og_opcode]]) {
  |  | 6187|       |                        PAUSE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  | 6188|       |                    }
  |  | 6189|       |                    opcode = og_opcode;
  |  | 6190|       |                    oparg = og_oparg;
  |  | 6191|       |                    DISPATCH_GOTO_NON_TRACING();
  |  | 6192|       |                }
  |  | 6193|       |                JUMP_TO_LABEL(stop_tracing);
  |  | 6194|       |            }
  |  | 6195|       |            assert(executor->vm_data.index == INSTR_OFFSET() - 1);
  |  | 6196|       |            assert(executor->vm_data.code == code);
  |  | 6197|       |            assert(executor->vm_data.valid);
  |  | 6198|       |            assert(tstate->current_executor == NULL);
  |  | 6199|       |            uintptr_t iversion = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(code->_co_instrumentation_version);
  |  | 6200|       |            if (_Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) != iversion) {
  |  | 6201|       |                opcode = executor->vm_data.opcode;
  |  | 6202|       |                oparg = (oparg & ~255) | executor->vm_data.oparg;
  |  | 6203|       |                next_instr = this_instr;
  |  | 6204|       |                if (_PyOpcode_Caches[_PyOpcode_Deopt[opcode]]) {
  |  | 6205|       |                    PAUSE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  | 6206|       |                }
  |  | 6207|       |                DISPATCH_GOTO();
  |  | 6208|       |            }
  |  | 6209|       |            assert(executor != tstate->interp->cold_executor);
  |  | 6210|       |            tstate->jit_exit = NULL;
  |  | 6211|       |            TIER1_TO_TIER2(executor);
  |  | 6212|       |            #else
  |  | 6213|      0|            Py_FatalError("ENTER_EXECUTOR is not supported in this build");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  | 6214|      0|            #endif /* _Py_TIER2 */
  |  | 6215|      0|        }
  |  | 6216|       |
  |  | 6217|    233|        TARGET(EXIT_INIT_CHECK) {
  |  |  ------------------
  |  |  |  |  132|    233|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6218|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6219|       |            int opcode = EXIT_INIT_CHECK;
  |  | 6220|       |            (void)(opcode);
  |  | 6221|       |            #endif
  |  | 6222|    233|            frame->instr_ptr = next_instr;
  |  | 6223|    233|            next_instr += 1;
  |  | 6224|    233|            INSTRUCTION_STATS(EXIT_INIT_CHECK);
  |  |  ------------------
  |  |  |  |   71|    233|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6225|    233|            _PyStackRef should_be_none;
  |  | 6226|    233|            should_be_none = stack_pointer[-1];
  |  | 6227|    233|            if (!PyStackRef_IsNone(should_be_none)) {
  |  |  ------------------
  |  |  |  |  495|    233|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    233|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6227:17): [True: 0, False: 233]
  |  |  ------------------
  |  | 6228|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6229|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6230|      0|                PyErr_Format(PyExc_TypeError,
  |  | 6231|      0|                             "__init__() should return None, not '%.200s'",
  |  | 6232|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6233|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6234|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6235|      0|            }
  |  | 6236|    233|            stack_pointer += -1;
  |  | 6237|    233|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    233|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6238|    233|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    233|    { \
  |  |  |  |  201|    233|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    233|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    233|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    233|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    233|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    233|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    233|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    233|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 233]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    233|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    233|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    233|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    233|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    233|    }
  |  |  ------------------
  |  | 6239|    233|        }
  |  | 6240|       |
  |  | 6241|  1.32k|        TARGET(EXTENDED_ARG) {
  |  |  ------------------
  |  |  |  |  132|  1.32k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6242|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6243|       |            int opcode = EXTENDED_ARG;
  |  | 6244|       |            (void)(opcode);
  |  | 6245|       |            #endif
  |  | 6246|  1.32k|            frame->instr_ptr = next_instr;
  |  | 6247|  1.32k|            next_instr += 1;
  |  | 6248|  1.32k|            INSTRUCTION_STATS(EXTENDED_ARG);
  |  |  ------------------
  |  |  |  |   71|  1.32k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6249|  1.32k|            opcode = EXTENDED_ARG;
  |  |  ------------------
  |  |  |  |   77|  1.32k|#define EXTENDED_ARG                            64
  |  |  ------------------
  |  | 6250|  1.32k|            assert(oparg);
  |  |  ------------------
  |  |  |  Branch (6250:13): [True: 1.32k, False: 0]
  |  |  ------------------
  |  | 6251|  1.32k|            opcode = next_instr->op.code;
  |  | 6252|  1.32k|            oparg = oparg << 8 | next_instr->op.arg;
  |  | 6253|  1.32k|            PRE_DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  176|  1.32k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  ------------------
  |  | 6254|  1.32k|            DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  133|  1.32k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  ------------------
  |  | 6255|  1.32k|        }
  |  | 6256|       |
  |  | 6257|    528|        TARGET(FORMAT_SIMPLE) {
  |  |  ------------------
  |  |  |  |  132|    528|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6258|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6259|       |            int opcode = FORMAT_SIMPLE;
  |  | 6260|       |            (void)(opcode);
  |  | 6261|       |            #endif
  |  | 6262|    528|            frame->instr_ptr = next_instr;
  |  | 6263|    528|            next_instr += 1;
  |  | 6264|    528|            INSTRUCTION_STATS(FORMAT_SIMPLE);
  |  |  ------------------
  |  |  |  |   71|    528|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6265|    528|            _PyStackRef value;
  |  | 6266|    528|            _PyStackRef res;
  |  | 6267|    528|            value = stack_pointer[-1];
  |  | 6268|    528|            PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 6269|    528|            if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|    528|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    528|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    528|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    528|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6269:17): [True: 139, False: 389]
  |  |  ------------------
  |  | 6270|    139|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6271|    139|                _PyFrame_StackPointerValidate(frame);
  |  | 6272|    139|                PyObject *res_o = PyObject_Format(value_o, NULL);
  |  | 6273|    139|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6274|    139|                stack_pointer += -1;
  |  | 6275|    139|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    139|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6276|    139|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6277|    139|                _PyFrame_StackPointerValidate(frame);
  |  | 6278|    139|                PyStackRef_CLOSE(value);
  |  | 6279|    139|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6280|    139|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6280:21): [True: 0, False: 139]
  |  |  ------------------
  |  | 6281|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6282|      0|                }
  |  | 6283|    139|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 6284|    139|            }
  |  | 6285|    389|            else {
  |  | 6286|    389|                res = value;
  |  | 6287|    389|                stack_pointer += -1;
  |  | 6288|    389|            }
  |  | 6289|    528|            stack_pointer[0] = res;
  |  | 6290|    528|            stack_pointer += 1;
  |  | 6291|    528|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    528|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6292|    528|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    528|    { \
  |  |  |  |  201|    528|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    528|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    528|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    528|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    528|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    528|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    528|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    528|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 528]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    528|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    528|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    528|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    528|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    528|    }
  |  |  ------------------
  |  | 6293|    528|        }
  |  | 6294|       |
  |  | 6295|      0|        TARGET(FORMAT_WITH_SPEC) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6296|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6297|       |            int opcode = FORMAT_WITH_SPEC;
  |  | 6298|       |            (void)(opcode);
  |  | 6299|       |            #endif
  |  | 6300|      0|            frame->instr_ptr = next_instr;
  |  | 6301|      0|            next_instr += 1;
  |  | 6302|      0|            INSTRUCTION_STATS(FORMAT_WITH_SPEC);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6303|      0|            _PyStackRef value;
  |  | 6304|      0|            _PyStackRef fmt_spec;
  |  | 6305|      0|            _PyStackRef res;
  |  | 6306|      0|            fmt_spec = stack_pointer[-1];
  |  | 6307|      0|            value = stack_pointer[-2];
  |  | 6308|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6309|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6310|      0|            PyObject *res_o = PyObject_Format(PyStackRef_AsPyObjectBorrow(value), PyStackRef_AsPyObjectBorrow(fmt_spec));
  |  | 6311|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6312|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6312:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 6313|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6314|      0|            _PyStackRef tmp = fmt_spec;
  |  | 6315|      0|            fmt_spec = PyStackRef_NULL;
  |  | 6316|      0|            stack_pointer[-1] = fmt_spec;
  |  | 6317|      0|            PyStackRef_CLOSE(tmp);
  |  | 6318|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6319|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6319:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 6320|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6321|      0|            tmp = value;
  |  | 6322|      0|            value = PyStackRef_NULL;
  |  | 6323|      0|            stack_pointer[-2] = value;
  |  | 6324|      0|            PyStackRef_CLOSE(tmp);
  |  | 6325|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6326|      0|            stack_pointer += -2;
  |  | 6327|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6328|      0|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6328:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6329|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6330|      0|            }
  |  | 6331|      0|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 6332|      0|            stack_pointer[0] = res;
  |  | 6333|      0|            stack_pointer += 1;
  |  | 6334|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6335|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 6336|      0|        }
  |  | 6337|       |
  |  | 6338|    968|        TARGET(FOR_ITER) {
  |  |  ------------------
  |  |  |  |  132|    968|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6339|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6340|       |            int opcode = FOR_ITER;
  |  | 6341|       |            (void)(opcode);
  |  | 6342|       |            #endif
  |  | 6343|    968|            frame->instr_ptr = next_instr;
  |  | 6344|    968|            next_instr += 2;
  |  | 6345|    968|            INSTRUCTION_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |   71|    968|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6346|    992|            PREDICTED_FOR_ITER:;
  |  | 6347|    992|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 6348|    992|            (void)this_instr;
  |  | 6349|    992|            _PyStackRef iter;
  |  | 6350|    992|            _PyStackRef null_or_index;
  |  | 6351|    992|            _PyStackRef next;
  |  | 6352|       |            // _SPECIALIZE_FOR_ITER
  |  | 6353|    992|            {
  |  | 6354|    992|                null_or_index = stack_pointer[-1];
  |  | 6355|    992|                iter = stack_pointer[-2];
  |  | 6356|    992|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 6357|    992|                (void)counter;
  |  | 6358|    992|                #if ENABLE_SPECIALIZATION
  |  | 6359|    992|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    992|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 157, False: 835]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6360|    157|                    next_instr = this_instr;
  |  | 6361|    157|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6362|    157|                    _PyFrame_StackPointerValidate(frame);
  |  | 6363|    157|                    _Py_Specialize_ForIter(iter, null_or_index, next_instr, oparg);
  |  | 6364|    157|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 6365|    157|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    157|    { \
  |  |  |  |  217|    157|        opcode = next_instr->op.code; \
  |  |  |  |  218|    157|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    157|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    157|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    157|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    157|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    157|    }
  |  |  ------------------
  |  | 6366|    157|                }
  |  | 6367|    992|                OPCODE_DEFERRED_INC(FOR_ITER);
  |  |  ------------------
  |  |  |  |   90|    992|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 6368|    992|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    992|    do { \
  |  |  |  |  378|    992|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    992|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 992]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6369|    992|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 6370|    992|            }
  |  | 6371|       |            // _FOR_ITER
  |  | 6372|    992|            {
  |  | 6373|    992|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6374|    992|                _PyFrame_StackPointerValidate(frame);
  |  | 6375|    992|                _PyStackRef item = _PyForIter_VirtualIteratorNext(tstate, frame, iter, &null_or_index);
  |  | 6376|    992|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6377|    992|                if (!PyStackRef_IsValid(item)) {
  |  |  ------------------
  |  |  |  Branch (6377:21): [True: 143, False: 849]
  |  |  ------------------
  |  | 6378|    143|                    if (PyStackRef_IsError(item)) {
  |  |  ------------------
  |  |  |  Branch (6378:25): [True: 0, False: 143]
  |  |  ------------------
  |  | 6379|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6380|      0|                    }
  |  | 6381|    143|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|    143|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6382|    143|                    stack_pointer[-1] = null_or_index;
  |  | 6383|    143|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    143|    { \
  |  |  |  |  201|    143|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    143|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    143|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    143|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    143|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    143|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    143|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    143|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 143]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    143|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    143|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    143|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    143|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    143|    }
  |  |  ------------------
  |  | 6384|    143|                }
  |  | 6385|    992|                next = item;
  |  | 6386|    992|            }
  |  | 6387|      0|            stack_pointer[-1] = null_or_index;
  |  | 6388|    992|            stack_pointer[0] = next;
  |  | 6389|    992|            stack_pointer += 1;
  |  | 6390|    992|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    992|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6391|    992|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    992|    { \
  |  |  |  |  201|    992|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    992|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    992|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    992|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    992|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    992|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    992|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    992|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 992]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    992|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    992|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    992|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    992|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    992|    }
  |  |  ------------------
  |  | 6392|    992|        }
  |  | 6393|       |
  |  | 6394|     59|        TARGET(FOR_ITER_GEN) {
  |  |  ------------------
  |  |  |  |  132|     59|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6395|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6396|       |            int opcode = FOR_ITER_GEN;
  |  | 6397|       |            (void)(opcode);
  |  | 6398|       |            #endif
  |  | 6399|     59|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6400|     59|            (void)this_instr;
  |  | 6401|     59|            frame->instr_ptr = next_instr;
  |  | 6402|     59|            next_instr += 2;
  |  | 6403|     59|            INSTRUCTION_STATS(FOR_ITER_GEN);
  |  |  ------------------
  |  |  |  |   71|     59|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6404|     59|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6405|     59|            _PyStackRef iter;
  |  | 6406|     59|            _PyStackRef gen_frame;
  |  | 6407|     59|            _PyStackRef new_frame;
  |  | 6408|       |            /* Skip 1 cache entry */
  |  | 6409|       |            // _CHECK_PEP_523
  |  | 6410|     59|            {
  |  | 6411|     59|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|     59|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 59]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6412|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6413|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6413:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6414|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6415|      0|                }
  |  | 6416|     59|            }
  |  | 6417|       |            // _FOR_ITER_GEN_FRAME
  |  | 6418|     59|            {
  |  | 6419|     59|                iter = stack_pointer[-2];
  |  | 6420|     59|                PyGenObject *gen = (PyGenObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6421|     59|                if (Py_TYPE(gen) != &PyGen_Type) {
  |  |  ------------------
  |  |  |  |  213|     59|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6421:21): [True: 0, False: 59]
  |  |  ------------------
  |  | 6422|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6423|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6423:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6424|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6425|      0|                }
  |  | 6426|     59|                if (!gen_try_set_executing((PyGenObject *)gen)) {
  |  |  ------------------
  |  |  |  Branch (6426:21): [True: 0, False: 59]
  |  |  ------------------
  |  | 6427|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6428|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6428:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6429|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6430|      0|                }
  |  | 6431|     59|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|     59|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6432|     59|                _PyInterpreterFrame *pushed_frame = &gen->gi_iframe;
  |  | 6433|     59|                _PyFrame_StackPush(pushed_frame, PyStackRef_None);
  |  |  ------------------
  |  |  |  |  485|     59|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     59|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6434|     59|                gen->gi_exc_state.previous_item = tstate->exc_info;
  |  | 6435|     59|                tstate->exc_info = &gen->gi_exc_state;
  |  | 6436|     59|                pushed_frame->previous = frame;
  |  | 6437|     59|                frame->return_offset = (uint16_t)( 2u + oparg);
  |  | 6438|     59|                gen_frame = PyStackRef_Wrap(pushed_frame);
  |  | 6439|     59|            }
  |  | 6440|       |            // _PUSH_FRAME
  |  | 6441|      0|            {
  |  | 6442|     59|                new_frame = gen_frame;
  |  | 6443|     59|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (6443:17): [True: 59, False: 0]
  |  |  ------------------
  |  | 6444|     59|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 6445|     59|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6446|     59|                _PyFrame_StackPointerValidate(frame);
  |  | 6447|     59|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (6447:17): [True: 59, False: 0]
  |  |  |  Branch (6447:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6448|     59|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|     59|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 6449|     59|                frame = tstate->current_frame = temp;
  |  | 6450|     59|                tstate->py_recursion_remaining--;
  |  | 6451|     59|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6452|     59|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6453|     59|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|     59|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|     59|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|     59|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 59]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6454|       |                #ifdef Py_DEBUG
  |  | 6455|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 6456|       |                #endif
  |  | 6457|     59|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|     59|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 6458|     59|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|     59|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 6459|     59|            }
  |  | 6460|     59|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     59|    { \
  |  |  |  |  201|     59|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     59|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     59|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     59|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     59|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     59|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     59|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     59|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 59]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     59|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     59|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     59|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     59|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     59|    }
  |  |  ------------------
  |  | 6461|     59|        }
  |  | 6462|       |
  |  | 6463|  1.82k|        TARGET(FOR_ITER_LIST) {
  |  |  ------------------
  |  |  |  |  132|  1.82k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6464|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6465|       |            int opcode = FOR_ITER_LIST;
  |  | 6466|       |            (void)(opcode);
  |  | 6467|       |            #endif
  |  | 6468|  1.82k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6469|  1.82k|            (void)this_instr;
  |  | 6470|  1.82k|            frame->instr_ptr = next_instr;
  |  | 6471|  1.82k|            next_instr += 2;
  |  | 6472|  1.82k|            INSTRUCTION_STATS(FOR_ITER_LIST);
  |  |  ------------------
  |  |  |  |   71|  1.82k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6473|  1.82k|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6474|  1.82k|            _PyStackRef iter;
  |  | 6475|  1.82k|            _PyStackRef null_or_index;
  |  | 6476|  1.82k|            _PyStackRef next;
  |  | 6477|       |            /* Skip 1 cache entry */
  |  | 6478|       |            // _ITER_CHECK_LIST
  |  | 6479|  1.82k|            {
  |  | 6480|  1.82k|                null_or_index = stack_pointer[-1];
  |  | 6481|  1.82k|                iter = stack_pointer[-2];
  |  | 6482|  1.82k|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6483|  1.82k|                if (Py_TYPE(iter_o) != &PyList_Type) {
  |  |  ------------------
  |  |  |  |  213|  1.82k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6483:21): [True: 16, False: 1.81k]
  |  |  ------------------
  |  | 6484|     16|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|     16|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6485|     16|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6485:21): [True: 16, False: 0]
  |  |  ------------------
  |  | 6486|     16|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|     16|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6487|      0|                }
  |  | 6488|  1.82k|                assert(PyStackRef_IsTaggedInt(null_or_index));
  |  |  ------------------
  |  |  |  Branch (6488:17): [True: 1.81k, False: 0]
  |  |  ------------------
  |  | 6489|       |                #ifdef Py_GIL_DISABLED
  |  | 6490|       |                if (!_Py_IsOwnedByCurrentThread(iter_o) && !_PyObject_GC_IS_SHARED(iter_o)) {
  |  | 6491|       |                    UPDATE_MISS_STATS(FOR_ITER);
  |  | 6492|       |                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6493|       |                    JUMP_TO_PREDICTED(FOR_ITER);
  |  | 6494|       |                }
  |  | 6495|       |                #endif
  |  | 6496|  1.81k|            }
  |  | 6497|       |            // _ITER_JUMP_LIST
  |  | 6498|  1.81k|            {
  |  | 6499|       |                #ifdef Py_GIL_DISABLED
  |  | 6500|       |
  |  | 6501|       |                #else
  |  | 6502|  1.81k|                PyObject *list_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6503|  1.81k|                assert(Py_TYPE(list_o) == &PyList_Type);
  |  |  ------------------
  |  |  |  Branch (6503:17): [True: 1.81k, False: 0]
  |  |  ------------------
  |  | 6504|  1.81k|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  1.81k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6505|  1.81k|                if ((size_t)PyStackRef_UntagInt(null_or_index) >= (size_t)PyList_GET_SIZE(list_o)) {
  |  |  ------------------
  |  |  |  |   38|  1.81k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6505:21): [True: 146, False: 1.66k]
  |  |  ------------------
  |  | 6506|    146|                    null_or_index = PyStackRef_TagInt(-1);
  |  | 6507|    146|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|    146|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6508|    146|                    stack_pointer[-1] = null_or_index;
  |  | 6509|    146|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    146|    { \
  |  |  |  |  201|    146|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    146|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    146|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    146|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    146|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    146|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    146|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    146|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 146]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    146|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    146|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    146|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    146|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    146|    }
  |  |  ------------------
  |  | 6510|    146|                }
  |  | 6511|  1.81k|                #endif
  |  | 6512|  1.81k|            }
  |  | 6513|       |            // _ITER_NEXT_LIST
  |  | 6514|      0|            {
  |  | 6515|  1.81k|                PyObject *list_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6516|  1.81k|                assert(PyList_CheckExact(list_o));
  |  |  ------------------
  |  |  |  Branch (6516:17): [True: 1.66k, False: 146]
  |  |  ------------------
  |  | 6517|       |                #ifdef Py_GIL_DISABLED
  |  | 6518|       |                assert(_Py_IsOwnedByCurrentThread(list_o) ||
  |  | 6519|       |                  _PyObject_GC_IS_SHARED(list_o));
  |  | 6520|       |                STAT_INC(FOR_ITER, hit);
  |  | 6521|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6522|       |                _PyFrame_StackPointerValidate(frame);
  |  | 6523|       |                int result = _PyList_GetItemRefNoLock((PyListObject *)list_o, PyStackRef_UntagInt(null_or_index), &next);
  |  | 6524|       |                _PyFrame_StackPointerInvalidate(frame);
  |  | 6525|       |                if (result < 0) {
  |  | 6526|       |                    UPDATE_MISS_STATS(FOR_ITER);
  |  | 6527|       |                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6528|       |                    JUMP_TO_PREDICTED(FOR_ITER);
  |  | 6529|       |                }
  |  | 6530|       |                if (result == 0) {
  |  | 6531|       |                    null_or_index = PyStackRef_TagInt(-1);
  |  | 6532|       |                    JUMPBY(oparg + 1);
  |  | 6533|       |                    stack_pointer[-1] = null_or_index;
  |  | 6534|       |                    DISPATCH();
  |  | 6535|       |                }
  |  | 6536|       |                #else
  |  | 6537|  1.66k|                next = PyStackRef_FromPyObjectNew(PyList_GET_ITEM(list_o, PyStackRef_UntagInt(null_or_index)));
  |  |  ------------------
  |  |  |  |  611|  1.66k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 1.66k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6538|      0|                #endif
  |  | 6539|      0|                null_or_index = PyStackRef_IncrementTaggedIntNoOverflow(null_or_index);
  |  | 6540|  1.66k|            }
  |  | 6541|      0|            stack_pointer[-1] = null_or_index;
  |  | 6542|  1.66k|            stack_pointer[0] = next;
  |  | 6543|  1.66k|            stack_pointer += 1;
  |  | 6544|  1.66k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.66k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6545|  1.66k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.66k|    { \
  |  |  |  |  201|  1.66k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.66k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.66k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.66k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.66k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.66k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.66k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.66k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.66k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.66k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.66k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.66k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.66k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.66k|    }
  |  |  ------------------
  |  | 6546|  1.66k|        }
  |  | 6547|       |
  |  | 6548|    130|        TARGET(FOR_ITER_RANGE) {
  |  |  ------------------
  |  |  |  |  132|    130|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6549|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6550|       |            int opcode = FOR_ITER_RANGE;
  |  | 6551|       |            (void)(opcode);
  |  | 6552|       |            #endif
  |  | 6553|    130|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6554|    130|            (void)this_instr;
  |  | 6555|    130|            frame->instr_ptr = next_instr;
  |  | 6556|    130|            next_instr += 2;
  |  | 6557|    130|            INSTRUCTION_STATS(FOR_ITER_RANGE);
  |  |  ------------------
  |  |  |  |   71|    130|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6558|    130|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6559|    130|            _PyStackRef iter;
  |  | 6560|    130|            _PyStackRef next;
  |  | 6561|       |            /* Skip 1 cache entry */
  |  | 6562|       |            // _ITER_CHECK_RANGE
  |  | 6563|    130|            {
  |  | 6564|    130|                iter = stack_pointer[-2];
  |  | 6565|    130|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6566|    130|                if (Py_TYPE(r) != &PyRangeIter_Type) {
  |  |  ------------------
  |  |  |  |  213|    130|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6566:21): [True: 0, False: 130]
  |  |  ------------------
  |  | 6567|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6568|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6568:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6569|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6570|      0|                }
  |  | 6571|       |                #ifdef Py_GIL_DISABLED
  |  | 6572|       |                if (!_PyObject_IsUniquelyReferenced((PyObject *)r)) {
  |  | 6573|       |                    UPDATE_MISS_STATS(FOR_ITER);
  |  | 6574|       |                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6575|       |                    JUMP_TO_PREDICTED(FOR_ITER);
  |  | 6576|       |                }
  |  | 6577|       |                #endif
  |  | 6578|    130|            }
  |  | 6579|       |            // _ITER_JUMP_RANGE
  |  | 6580|    130|            {
  |  | 6581|    130|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6582|    130|                assert(Py_TYPE(r) == &PyRangeIter_Type);
  |  |  ------------------
  |  |  |  Branch (6582:17): [True: 130, False: 0]
  |  |  ------------------
  |  | 6583|       |                #ifdef Py_GIL_DISABLED
  |  | 6584|       |                assert(_PyObject_IsUniquelyReferenced((PyObject *)r));
  |  | 6585|       |                #endif
  |  | 6586|    130|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|    130|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6587|    130|                if (r->len <= 0) {
  |  |  ------------------
  |  |  |  Branch (6587:21): [True: 88, False: 42]
  |  |  ------------------
  |  | 6588|     88|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|     88|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6589|     88|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     88|    { \
  |  |  |  |  201|     88|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     88|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     88|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     88|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     88|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     88|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     88|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     88|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 88]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     88|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     88|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     88|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     88|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     88|    }
  |  |  ------------------
  |  | 6590|     88|                }
  |  | 6591|    130|            }
  |  | 6592|       |            // _ITER_NEXT_RANGE
  |  | 6593|      0|            {
  |  | 6594|    130|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6595|    130|                assert(Py_TYPE(r) == &PyRangeIter_Type);
  |  |  ------------------
  |  |  |  Branch (6595:17): [True: 42, False: 88]
  |  |  ------------------
  |  | 6596|       |                #ifdef Py_GIL_DISABLED
  |  | 6597|       |                assert(_PyObject_IsUniquelyReferenced((PyObject *)r));
  |  | 6598|       |                #endif
  |  | 6599|    130|                assert(r->len > 0);
  |  |  ------------------
  |  |  |  Branch (6599:17): [True: 42, False: 0]
  |  |  ------------------
  |  | 6600|     42|                long value = r->start;
  |  | 6601|     42|                r->start = value + r->step;
  |  | 6602|     42|                r->len--;
  |  | 6603|     42|                PyObject *res = PyLong_FromLong(value);
  |  | 6604|     42|                if (res == NULL) {
  |  |  ------------------
  |  |  |  Branch (6604:21): [True: 0, False: 42]
  |  |  ------------------
  |  | 6605|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6606|      0|                }
  |  | 6607|     42|                next = PyStackRef_FromPyObjectSteal(res);
  |  | 6608|     42|            }
  |  | 6609|      0|            stack_pointer[0] = next;
  |  | 6610|     42|            stack_pointer += 1;
  |  | 6611|     42|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     42|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6612|     42|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     42|    { \
  |  |  |  |  201|     42|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     42|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     42|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     42|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     42|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     42|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     42|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     42|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 42]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     42|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     42|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     42|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     42|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     42|    }
  |  |  ------------------
  |  | 6613|     42|        }
  |  | 6614|       |
  |  | 6615|  2.10k|        TARGET(FOR_ITER_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  2.10k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6616|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6617|       |            int opcode = FOR_ITER_TUPLE;
  |  | 6618|       |            (void)(opcode);
  |  | 6619|       |            #endif
  |  | 6620|  2.10k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6621|  2.10k|            (void)this_instr;
  |  | 6622|  2.10k|            frame->instr_ptr = next_instr;
  |  | 6623|  2.10k|            next_instr += 2;
  |  | 6624|  2.10k|            INSTRUCTION_STATS(FOR_ITER_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  2.10k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6625|  2.10k|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6626|  2.10k|            _PyStackRef iter;
  |  | 6627|  2.10k|            _PyStackRef null_or_index;
  |  | 6628|  2.10k|            _PyStackRef next;
  |  | 6629|       |            /* Skip 1 cache entry */
  |  | 6630|       |            // _ITER_CHECK_TUPLE
  |  | 6631|  2.10k|            {
  |  | 6632|  2.10k|                null_or_index = stack_pointer[-1];
  |  | 6633|  2.10k|                iter = stack_pointer[-2];
  |  | 6634|  2.10k|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6635|  2.10k|                if (Py_TYPE(iter_o) != &PyTuple_Type) {
  |  |  ------------------
  |  |  |  |  213|  2.10k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6635:21): [True: 8, False: 2.09k]
  |  |  ------------------
  |  | 6636|      8|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      8|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6637|      8|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6637:21): [True: 8, False: 0]
  |  |  ------------------
  |  | 6638|      8|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      8|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6639|      0|                }
  |  | 6640|  2.10k|                assert(PyStackRef_IsTaggedInt(null_or_index));
  |  |  ------------------
  |  |  |  Branch (6640:17): [True: 2.09k, False: 0]
  |  |  ------------------
  |  | 6641|  2.09k|            }
  |  | 6642|       |            // _ITER_JUMP_TUPLE
  |  | 6643|  2.09k|            {
  |  | 6644|  2.09k|                PyObject *tuple_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6645|  2.09k|                (void)tuple_o;
  |  | 6646|  2.09k|                assert(Py_TYPE(tuple_o) == &PyTuple_Type);
  |  |  ------------------
  |  |  |  Branch (6646:17): [True: 2.09k, False: 0]
  |  |  ------------------
  |  | 6647|  2.09k|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  2.09k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6648|  2.09k|                if ((size_t)PyStackRef_UntagInt(null_or_index) >= (size_t)PyTuple_GET_SIZE(tuple_o)) {
  |  |  ------------------
  |  |  |  |   27|  2.09k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6648:21): [True: 619, False: 1.47k]
  |  |  ------------------
  |  | 6649|    619|                    null_or_index = PyStackRef_TagInt(-1);
  |  | 6650|    619|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|    619|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6651|    619|                    stack_pointer[-1] = null_or_index;
  |  | 6652|    619|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    619|    { \
  |  |  |  |  201|    619|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    619|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    619|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    619|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    619|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    619|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    619|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    619|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 619]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    619|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    619|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    619|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    619|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    619|    }
  |  |  ------------------
  |  | 6653|    619|                }
  |  | 6654|  2.09k|            }
  |  | 6655|       |            // _ITER_NEXT_TUPLE
  |  | 6656|      0|            {
  |  | 6657|  2.09k|                PyObject *tuple_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6658|  2.09k|                assert(Py_TYPE(tuple_o) == &PyTuple_Type);
  |  |  ------------------
  |  |  |  Branch (6658:17): [True: 1.47k, False: 619]
  |  |  ------------------
  |  | 6659|  1.47k|                uintptr_t i = PyStackRef_UntagInt(null_or_index);
  |  | 6660|  1.47k|                assert((size_t)i < (size_t)PyTuple_GET_SIZE(tuple_o));
  |  |  ------------------
  |  |  |  Branch (6660:17): [True: 1.47k, False: 0]
  |  |  ------------------
  |  | 6661|  1.47k|                next = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(tuple_o, i));
  |  |  ------------------
  |  |  |  |  611|  1.47k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 1.47k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6662|      0|                null_or_index = PyStackRef_IncrementTaggedIntNoOverflow(null_or_index);
  |  | 6663|  1.47k|            }
  |  | 6664|      0|            stack_pointer[-1] = null_or_index;
  |  | 6665|  1.47k|            stack_pointer[0] = next;
  |  | 6666|  1.47k|            stack_pointer += 1;
  |  | 6667|  1.47k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.47k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6668|  1.47k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.47k|    { \
  |  |  |  |  201|  1.47k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.47k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.47k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.47k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.47k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.47k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.47k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.47k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.47k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.47k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.47k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.47k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.47k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.47k|    }
  |  |  ------------------
  |  | 6669|  1.47k|        }
  |  | 6670|       |
  |  | 6671|     82|        TARGET(FOR_ITER_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|     82|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6672|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6673|       |            int opcode = FOR_ITER_VIRTUAL;
  |  | 6674|       |            (void)(opcode);
  |  | 6675|       |            #endif
  |  | 6676|     82|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6677|     82|            (void)this_instr;
  |  | 6678|     82|            frame->instr_ptr = next_instr;
  |  | 6679|     82|            next_instr += 2;
  |  | 6680|     82|            INSTRUCTION_STATS(FOR_ITER_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|     82|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6681|     82|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6682|     82|            _PyStackRef null_or_index;
  |  | 6683|     82|            _PyStackRef iter;
  |  | 6684|     82|            _PyStackRef next;
  |  | 6685|       |            /* Skip 1 cache entry */
  |  | 6686|       |            // _GUARD_TOS_NOT_NULL
  |  | 6687|     82|            {
  |  | 6688|     82|                null_or_index = stack_pointer[-1];
  |  | 6689|     82|                if (PyStackRef_IsNull(null_or_index)) {
  |  |  ------------------
  |  |  |  |  482|     82|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     82|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     82|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 82]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6690|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6691|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6691:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6692|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6693|      0|                }
  |  | 6694|     82|            }
  |  | 6695|       |            // _FOR_ITER_VIRTUAL
  |  | 6696|     82|            {
  |  | 6697|     82|                iter = stack_pointer[-2];
  |  | 6698|     82|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6699|     82|                Py_ssize_t index = PyStackRef_UntagInt(null_or_index);
  |  | 6700|     82|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6701|     82|                _PyFrame_StackPointerValidate(frame);
  |  | 6702|     82|                _PyObjectIndexPair next_index = Py_TYPE(iter_o)->_tp_iteritem(iter_o, index);
  |  |  ------------------
  |  |  |  |  213|     82|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6703|     82|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6704|     82|                PyObject *next_o = next_index.object;
  |  | 6705|     82|                index = next_index.index;
  |  | 6706|     82|                if (next_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6706:21): [True: 32, False: 50]
  |  |  ------------------
  |  | 6707|     32|                    if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (6707:25): [True: 0, False: 32]
  |  |  ------------------
  |  | 6708|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6709|      0|                    }
  |  | 6710|     32|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|     32|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6711|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     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|    }
  |  |  ------------------
  |  | 6712|     32|                }
  |  | 6713|     82|                null_or_index = PyStackRef_TagInt(index);
  |  | 6714|     82|                next = PyStackRef_FromPyObjectSteal(next_o);
  |  | 6715|     82|            }
  |  | 6716|      0|            stack_pointer[-1] = null_or_index;
  |  | 6717|     82|            stack_pointer[0] = next;
  |  | 6718|     82|            stack_pointer += 1;
  |  | 6719|     82|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     82|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6720|     82|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     82|    { \
  |  |  |  |  201|     82|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     82|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     82|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     82|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     82|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     82|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     82|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     82|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 82]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     82|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     82|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     82|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     82|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     82|    }
  |  |  ------------------
  |  | 6721|     82|        }
  |  | 6722|       |
  |  | 6723|      0|        TARGET(GET_AITER) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6724|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6725|       |            int opcode = GET_AITER;
  |  | 6726|       |            (void)(opcode);
  |  | 6727|       |            #endif
  |  | 6728|      0|            frame->instr_ptr = next_instr;
  |  | 6729|      0|            next_instr += 1;
  |  | 6730|      0|            INSTRUCTION_STATS(GET_AITER);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6731|      0|            _PyStackRef obj;
  |  | 6732|      0|            _PyStackRef iter;
  |  | 6733|      0|            obj = stack_pointer[-1];
  |  | 6734|      0|            unaryfunc getter = NULL;
  |  | 6735|      0|            PyObject *obj_o = PyStackRef_AsPyObjectBorrow(obj);
  |  | 6736|      0|            PyObject *iter_o;
  |  | 6737|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6738|      0|            if (type->tp_as_async != NULL) {
  |  |  ------------------
  |  |  |  Branch (6738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6739|      0|                getter = type->tp_as_async->am_aiter;
  |  | 6740|      0|            }
  |  | 6741|      0|            if (getter == NULL) {
  |  |  ------------------
  |  |  |  Branch (6741:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6742|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6743|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6744|      0|                _PyErr_Format(tstate, PyExc_TypeError,
  |  | 6745|      0|                              "'async for' requires an object with "
  |  | 6746|      0|                              "__aiter__ method, got %.100s",
  |  | 6747|      0|                              type->tp_name);
  |  | 6748|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6749|      0|                stack_pointer += -1;
  |  | 6750|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6751|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6752|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6753|      0|                PyStackRef_CLOSE(obj);
  |  | 6754|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6755|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6756|      0|            }
  |  | 6757|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6758|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6759|      0|            iter_o = (*getter)(obj_o);
  |  | 6760|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6761|      0|            stack_pointer += -1;
  |  | 6762|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6763|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6764|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6765|      0|            PyStackRef_CLOSE(obj);
  |  | 6766|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6767|      0|            if (iter_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6767:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6768|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6769|      0|            }
  |  | 6770|      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 (6770:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6771|      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 (6771:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6772|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6772:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6773|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6774|      0|                _PyErr_Format(tstate, PyExc_TypeError,
  |  | 6775|      0|                              "'async for' received an object from __aiter__ "
  |  | 6776|      0|                              "that does not implement __anext__: %.100s",
  |  | 6777|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6778|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6779|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6779:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6780|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6781|      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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6782|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6783|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6784|      0|            }
  |  | 6785|      0|            iter = PyStackRef_FromPyObjectSteal(iter_o);
  |  | 6786|      0|            stack_pointer[0] = iter;
  |  | 6787|      0|            stack_pointer += 1;
  |  | 6788|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6789|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 6790|      0|        }
  |  | 6791|       |
  |  | 6792|      0|        TARGET(GET_ANEXT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6793|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6794|       |            int opcode = GET_ANEXT;
  |  | 6795|       |            (void)(opcode);
  |  | 6796|       |            #endif
  |  | 6797|      0|            frame->instr_ptr = next_instr;
  |  | 6798|      0|            next_instr += 1;
  |  | 6799|      0|            INSTRUCTION_STATS(GET_ANEXT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6800|      0|            _PyStackRef aiter;
  |  | 6801|      0|            _PyStackRef awaitable;
  |  | 6802|      0|            _PyStackRef null;
  |  | 6803|      0|            _PyStackRef none;
  |  | 6804|      0|            aiter = stack_pointer[-1];
  |  | 6805|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6806|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6807|      0|            PyObject *awaitable_o = _PyEval_GetANext(PyStackRef_AsPyObjectBorrow(aiter));
  |  | 6808|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6809|      0|            if (awaitable_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6809:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6810|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6811|      0|            }
  |  | 6812|      0|            awaitable = PyStackRef_FromPyObjectSteal(awaitable_o);
  |  | 6813|      0|            null = PyStackRef_NULL;
  |  | 6814|      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
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6815|      0|            stack_pointer[0] = awaitable;
  |  | 6816|      0|            stack_pointer[1] = null;
  |  | 6817|      0|            stack_pointer[2] = none;
  |  | 6818|      0|            stack_pointer += 3;
  |  | 6819|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6820|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 6821|      0|        }
  |  | 6822|       |
  |  | 6823|      0|        TARGET(GET_AWAITABLE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6824|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6825|       |            int opcode = GET_AWAITABLE;
  |  | 6826|       |            (void)(opcode);
  |  | 6827|       |            #endif
  |  | 6828|      0|            frame->instr_ptr = next_instr;
  |  | 6829|      0|            next_instr += 1;
  |  | 6830|      0|            INSTRUCTION_STATS(GET_AWAITABLE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6831|      0|            _PyStackRef iterable;
  |  | 6832|      0|            _PyStackRef iter;
  |  | 6833|      0|            _PyStackRef null;
  |  | 6834|      0|            _PyStackRef none;
  |  | 6835|      0|            iterable = stack_pointer[-1];
  |  | 6836|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6837|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6838|      0|            PyObject *iter_o = _PyEval_GetAwaitable(PyStackRef_AsPyObjectBorrow(iterable), oparg);
  |  | 6839|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6840|      0|            stack_pointer += -1;
  |  | 6841|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6842|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6843|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6844|      0|            PyStackRef_CLOSE(iterable);
  |  | 6845|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6846|      0|            if (iter_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6846:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6847|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6848|      0|            }
  |  | 6849|      0|            iter = PyStackRef_FromPyObjectSteal(iter_o);
  |  | 6850|      0|            null = PyStackRef_NULL;
  |  | 6851|      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
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6852|      0|            stack_pointer[0] = iter;
  |  | 6853|      0|            stack_pointer[1] = null;
  |  | 6854|      0|            stack_pointer[2] = none;
  |  | 6855|      0|            stack_pointer += 3;
  |  | 6856|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6857|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 6858|      0|        }
  |  | 6859|       |
  |  | 6860|    336|        TARGET(GET_ITER) {
  |  |  ------------------
  |  |  |  |  132|    336|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6861|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6862|       |            int opcode = GET_ITER;
  |  | 6863|       |            (void)(opcode);
  |  | 6864|       |            #endif
  |  | 6865|    336|            frame->instr_ptr = next_instr;
  |  | 6866|    336|            next_instr += 2;
  |  | 6867|    336|            INSTRUCTION_STATS(GET_ITER);
  |  |  ------------------
  |  |  |  |   71|    336|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6868|    344|            PREDICTED_GET_ITER:;
  |  | 6869|    344|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 6870|    344|            (void)this_instr;
  |  | 6871|    344|            _PyStackRef iterable;
  |  | 6872|    344|            _PyStackRef iter;
  |  | 6873|    344|            _PyStackRef index_or_null;
  |  | 6874|       |            // _SPECIALIZE_GET_ITER
  |  | 6875|    344|            {
  |  | 6876|    344|                iterable = stack_pointer[-1];
  |  | 6877|    344|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 6878|    344|                (void)counter;
  |  | 6879|    344|                #if ENABLE_SPECIALIZATION
  |  | 6880|    344|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    344|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 85, False: 259]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6881|     85|                    next_instr = this_instr;
  |  | 6882|     85|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6883|     85|                    _PyFrame_StackPointerValidate(frame);
  |  | 6884|     85|                    _Py_Specialize_GetIter(iterable, next_instr);
  |  | 6885|     85|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 6886|     85|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     85|    { \
  |  |  |  |  217|     85|        opcode = next_instr->op.code; \
  |  |  |  |  218|     85|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     85|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     85|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     85|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     85|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     85|    }
  |  |  ------------------
  |  | 6887|     85|                }
  |  | 6888|    344|                OPCODE_DEFERRED_INC(GET_ITER);
  |  |  ------------------
  |  |  |  |   90|    344|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 6889|    344|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    344|    do { \
  |  |  |  |  378|    344|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    344|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 344]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6890|    344|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 6891|    344|            }
  |  | 6892|       |            // _GET_ITER
  |  | 6893|    344|            {
  |  | 6894|    344|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6895|    344|                _PyFrame_StackPointerValidate(frame);
  |  | 6896|    344|                _PyStackRef result = _PyEval_GetIter(iterable, &index_or_null, oparg);
  |  | 6897|    344|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6898|    344|                if (PyStackRef_IsError(result)) {
  |  |  ------------------
  |  |  |  Branch (6898:21): [True: 0, False: 344]
  |  |  ------------------
  |  | 6899|      0|                    JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6900|      0|                }
  |  | 6901|    344|                iter = result;
  |  | 6902|    344|            }
  |  | 6903|      0|            stack_pointer[-1] = iter;
  |  | 6904|    344|            stack_pointer[0] = index_or_null;
  |  | 6905|    344|            stack_pointer += 1;
  |  | 6906|    344|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    344|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6907|    344|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    344|    { \
  |  |  |  |  201|    344|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    344|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    344|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    344|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    344|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    344|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    344|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    344|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 344]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    344|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    344|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    344|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    344|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    344|    }
  |  |  ------------------
  |  | 6908|    344|        }
  |  | 6909|       |
  |  | 6910|     97|        TARGET(GET_ITER_SELF) {
  |  |  ------------------
  |  |  |  |  132|     97|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6911|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6912|       |            int opcode = GET_ITER_SELF;
  |  | 6913|       |            (void)(opcode);
  |  | 6914|       |            #endif
  |  | 6915|     97|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6916|     97|            (void)this_instr;
  |  | 6917|     97|            frame->instr_ptr = next_instr;
  |  | 6918|     97|            next_instr += 2;
  |  | 6919|     97|            INSTRUCTION_STATS(GET_ITER_SELF);
  |  |  ------------------
  |  |  |  |   71|     97|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6920|     97|            static_assert(INLINE_CACHE_ENTRIES_GET_ITER == 1, "incorrect cache size");
  |  | 6921|     97|            _PyStackRef iterable;
  |  | 6922|     97|            _PyStackRef res;
  |  | 6923|       |            /* Skip 1 cache entry */
  |  | 6924|       |            // _GUARD_ITERATOR
  |  | 6925|     97|            {
  |  | 6926|     97|                iterable = stack_pointer[-1];
  |  | 6927|     97|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(iterable));
  |  |  ------------------
  |  |  |  |  213|     97|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6928|     97|                if (tp->tp_iter != PyObject_SelfIter) {
  |  |  ------------------
  |  |  |  Branch (6928:21): [True: 0, False: 97]
  |  |  ------------------
  |  | 6929|      0|                    UPDATE_MISS_STATS(GET_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6930|      0|                    assert(_PyOpcode_Deopt[opcode] == (GET_ITER));
  |  |  ------------------
  |  |  |  Branch (6930:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6931|      0|                    JUMP_TO_PREDICTED(GET_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6932|      0|                }
  |  | 6933|     97|                STAT_INC(GET_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|     97|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6934|     97|            }
  |  | 6935|       |            // _PUSH_NULL
  |  | 6936|      0|            {
  |  | 6937|     97|                res = PyStackRef_NULL;
  |  | 6938|     97|            }
  |  | 6939|     97|            stack_pointer[0] = res;
  |  | 6940|     97|            stack_pointer += 1;
  |  | 6941|     97|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     97|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6942|     97|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     97|    { \
  |  |  |  |  201|     97|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     97|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     97|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     97|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     97|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     97|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     97|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     97|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 97]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     97|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     97|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     97|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     97|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     97|    }
  |  |  ------------------
  |  | 6943|     97|        }
  |  | 6944|       |
  |  | 6945|    965|        TARGET(GET_ITER_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|    965|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6946|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6947|       |            int opcode = GET_ITER_VIRTUAL;
  |  | 6948|       |            (void)(opcode);
  |  | 6949|       |            #endif
  |  | 6950|    965|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6951|    965|            (void)this_instr;
  |  | 6952|    965|            frame->instr_ptr = next_instr;
  |  | 6953|    965|            next_instr += 2;
  |  | 6954|    965|            INSTRUCTION_STATS(GET_ITER_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|    965|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6955|    965|            static_assert(INLINE_CACHE_ENTRIES_GET_ITER == 1, "incorrect cache size");
  |  | 6956|    965|            _PyStackRef iterable;
  |  | 6957|    965|            _PyStackRef zero;
  |  | 6958|       |            /* Skip 1 cache entry */
  |  | 6959|       |            // _GUARD_ITER_VIRTUAL
  |  | 6960|    965|            {
  |  | 6961|    965|                iterable = stack_pointer[-1];
  |  | 6962|    965|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(iterable));
  |  |  ------------------
  |  |  |  |  213|    965|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    965|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    965|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6963|    965|                if (tp->_tp_iteritem == NULL) {
  |  |  ------------------
  |  |  |  Branch (6963:21): [True: 8, False: 957]
  |  |  ------------------
  |  | 6964|      8|                    UPDATE_MISS_STATS(GET_ITER);
  |  |  ------------------
  |  |  |  |  299|      8|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6965|      8|                    assert(_PyOpcode_Deopt[opcode] == (GET_ITER));
  |  |  ------------------
  |  |  |  Branch (6965:21): [True: 8, False: 0]
  |  |  ------------------
  |  | 6966|      8|                    JUMP_TO_PREDICTED(GET_ITER);
  |  |  ------------------
  |  |  |  |  136|      8|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6967|      0|                }
  |  | 6968|    957|                STAT_INC(GET_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|    957|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6969|    957|            }
  |  | 6970|       |            // _PUSH_TAGGED_ZERO
  |  | 6971|      0|            {
  |  | 6972|    957|                zero = PyStackRef_TagInt(0);
  |  | 6973|    957|            }
  |  | 6974|    957|            stack_pointer[0] = zero;
  |  | 6975|    957|            stack_pointer += 1;
  |  | 6976|    957|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    957|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6977|    957|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    957|    { \
  |  |  |  |  201|    957|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    957|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    957|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    957|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    957|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    957|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    957|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    957|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 957]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    957|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    957|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    957|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    957|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    957|    }
  |  |  ------------------
  |  | 6978|    957|        }
  |  | 6979|       |
  |  | 6980|      0|        TARGET(GET_LEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6981|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6982|       |            int opcode = GET_LEN;
  |  | 6983|       |            (void)(opcode);
  |  | 6984|       |            #endif
  |  | 6985|      0|            frame->instr_ptr = next_instr;
  |  | 6986|      0|            next_instr += 1;
  |  | 6987|      0|            INSTRUCTION_STATS(GET_LEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6988|      0|            _PyStackRef obj;
  |  | 6989|      0|            _PyStackRef len;
  |  | 6990|      0|            obj = stack_pointer[-1];
  |  | 6991|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6992|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6993|      0|            Py_ssize_t len_i = PyObject_Length(PyStackRef_AsPyObjectBorrow(obj));
  |  |  ------------------
  |  |  |  |  353|      0|#define PyObject_Length PyObject_Size
  |  |  ------------------
  |  | 6994|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6995|      0|            if (len_i < 0) {
  |  |  ------------------
  |  |  |  Branch (6995:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6996|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6997|      0|            }
  |  | 6998|      0|            PyObject *len_o = PyLong_FromSsize_t(len_i);
  |  | 6999|      0|            if (len_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6999:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7000|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7001|      0|            }
  |  | 7002|      0|            len = PyStackRef_FromPyObjectSteal(len_o);
  |  | 7003|      0|            stack_pointer[0] = len;
  |  | 7004|      0|            stack_pointer += 1;
  |  | 7005|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7006|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 7007|      0|        }
  |  | 7008|       |
  |  | 7009|    196|        TARGET(IMPORT_FROM) {
  |  |  ------------------
  |  |  |  |  132|    196|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7010|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7011|       |            int opcode = IMPORT_FROM;
  |  | 7012|       |            (void)(opcode);
  |  | 7013|       |            #endif
  |  | 7014|    196|            frame->instr_ptr = next_instr;
  |  | 7015|    196|            next_instr += 1;
  |  | 7016|    196|            INSTRUCTION_STATS(IMPORT_FROM);
  |  |  ------------------
  |  |  |  |   71|    196|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7017|    196|            _PyStackRef from;
  |  | 7018|    196|            _PyStackRef res;
  |  | 7019|    196|            from = stack_pointer[-1];
  |  | 7020|    196|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|    196|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    196|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    196|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    196|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7020:30): [True: 196, False: 0]
  |  |  ------------------
  |  | 7021|      0|            PyObject *res_o;
  |  | 7022|    196|            if (PyLazyImport_CheckExact(PyStackRef_AsPyObjectBorrow(from))) {
  |  |  ------------------
  |  |  |  |   15|    196|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    196|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    196|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    196|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 2, False: 194]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7023|      2|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7024|      2|                _PyFrame_StackPointerValidate(frame);
  |  | 7025|      2|                res_o = _PyEval_LazyImportFrom(
  |  | 7026|      2|                    tstate, frame, PyStackRef_AsPyObjectBorrow(from), name);
  |  | 7027|      2|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7028|      2|            }
  |  | 7029|    194|            else {
  |  | 7030|    194|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7031|    194|                _PyFrame_StackPointerValidate(frame);
  |  | 7032|    194|                res_o = _PyEval_ImportFrom(
  |  | 7033|    194|                    tstate, PyStackRef_AsPyObjectBorrow(from), name);
  |  | 7034|    194|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7035|    194|            }
  |  | 7036|    196|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7036:17): [True: 1, False: 195]
  |  |  ------------------
  |  | 7037|      1|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      1|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7038|      0|            }
  |  | 7039|    195|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 7040|    195|            stack_pointer[0] = res;
  |  | 7041|    195|            stack_pointer += 1;
  |  | 7042|    195|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    195|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7043|    195|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    195|    { \
  |  |  |  |  201|    195|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    195|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    195|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    195|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    195|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    195|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    195|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    195|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 195]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    195|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    195|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    195|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    195|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    195|    }
  |  |  ------------------
  |  | 7044|    195|        }
  |  | 7045|       |
  |  | 7046|    419|        TARGET(IMPORT_NAME) {
  |  |  ------------------
  |  |  |  |  132|    419|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7047|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7048|       |            int opcode = IMPORT_NAME;
  |  | 7049|       |            (void)(opcode);
  |  | 7050|       |            #endif
  |  | 7051|    419|            frame->instr_ptr = next_instr;
  |  | 7052|    419|            next_instr += 1;
  |  | 7053|    419|            INSTRUCTION_STATS(IMPORT_NAME);
  |  |  ------------------
  |  |  |  |   71|    419|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7054|    419|            _PyStackRef level;
  |  | 7055|    419|            _PyStackRef fromlist;
  |  | 7056|    419|            _PyStackRef res;
  |  | 7057|    419|            fromlist = stack_pointer[-1];
  |  | 7058|    419|            level = stack_pointer[-2];
  |  | 7059|    419|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  236|    419|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    419|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    419|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    419|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7059:30): [True: 419, False: 0]
  |  |  ------------------
  |  | 7060|      0|            PyObject *res_o;
  |  | 7061|    419|            if (!(oparg & 0x02)) {
  |  |  ------------------
  |  |  |  Branch (7061:17): [True: 164, False: 255]
  |  |  ------------------
  |  | 7062|    164|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7063|    164|                _PyFrame_StackPointerValidate(frame);
  |  | 7064|    164|                res_o = _PyEval_LazyImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  327|    164|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                               res_o = _PyEval_LazyImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  326|    164|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 7065|    164|                    LOCALS(), name,
  |  |  ------------------
  |  |  |  |  328|    164|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  | 7066|    164|                    PyStackRef_AsPyObjectBorrow(fromlist),
  |  | 7067|    164|                    PyStackRef_AsPyObjectBorrow(level),
  |  | 7068|    164|                    oparg & 0x01);
  |  | 7069|    164|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7070|    164|            }
  |  | 7071|    255|            else {
  |  | 7072|    255|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7073|    255|                _PyFrame_StackPointerValidate(frame);
  |  | 7074|    255|                res_o = _PyEval_ImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  327|    255|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                               res_o = _PyEval_ImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  326|    255|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 7075|    255|                    LOCALS(), name,
  |  |  ------------------
  |  |  |  |  328|    255|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  | 7076|    255|                    PyStackRef_AsPyObjectBorrow(fromlist),
  |  | 7077|    255|                    PyStackRef_AsPyObjectBorrow(level));
  |  | 7078|    255|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7079|    255|            }
  |  | 7080|    419|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7080:13): [True: 419, False: 0]
  |  |  ------------------
  |  | 7081|    419|            _PyFrame_StackPointerValidate(frame);
  |  | 7082|    419|            _PyStackRef tmp = fromlist;
  |  | 7083|    419|            fromlist = PyStackRef_NULL;
  |  | 7084|    419|            stack_pointer[-1] = fromlist;
  |  | 7085|    419|            PyStackRef_CLOSE(tmp);
  |  | 7086|    419|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7087|    419|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7087:13): [True: 419, False: 0]
  |  |  ------------------
  |  | 7088|    419|            _PyFrame_StackPointerValidate(frame);
  |  | 7089|    419|            tmp = level;
  |  | 7090|    419|            level = PyStackRef_NULL;
  |  | 7091|    419|            stack_pointer[-2] = level;
  |  | 7092|    419|            PyStackRef_CLOSE(tmp);
  |  | 7093|    419|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7094|    419|            stack_pointer += -2;
  |  | 7095|    419|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    419|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7096|    419|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7096:17): [True: 4, False: 415]
  |  |  ------------------
  |  | 7097|      4|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      4|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7098|      0|            }
  |  | 7099|    415|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 7100|    415|            stack_pointer[0] = res;
  |  | 7101|    415|            stack_pointer += 1;
  |  | 7102|    415|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    415|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7103|    415|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    415|    { \
  |  |  |  |  201|    415|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    415|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    415|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    415|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    415|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    415|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    415|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    415|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 415]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    415|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    415|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    415|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    415|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    415|    }
  |  |  ------------------
  |  | 7104|    415|        }
  |  | 7105|       |
  |  | 7106|      0|        TARGET(INSTRUMENTED_CALL) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7107|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7108|       |            int opcode = INSTRUMENTED_CALL;
  |  | 7109|       |            (void)(opcode);
  |  | 7110|       |            #endif
  |  | 7111|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7112|      0|            (void)this_instr;
  |  | 7113|      0|            frame->instr_ptr = next_instr;
  |  | 7114|      0|            next_instr += 4;
  |  | 7115|      0|            INSTRUCTION_STATS(INSTRUMENTED_CALL);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7116|      0|            opcode = INSTRUMENTED_CALL;
  |  |  ------------------
  |  |  |  |  237|      0|#define INSTRUMENTED_CALL                      249
  |  |  ------------------
  |  | 7117|      0|            _PyStackRef callable;
  |  | 7118|      0|            _PyStackRef self_or_null;
  |  | 7119|      0|            _PyStackRef func;
  |  | 7120|      0|            _PyStackRef maybe_self;
  |  | 7121|      0|            _PyStackRef *args;
  |  | 7122|      0|            _PyStackRef res;
  |  | 7123|       |            /* Skip 3 cache entries */
  |  | 7124|       |            // _MAYBE_EXPAND_METHOD
  |  | 7125|      0|            {
  |  | 7126|      0|                self_or_null = stack_pointer[-1 - oparg];
  |  | 7127|      0|                callable = stack_pointer[-2 - oparg];
  |  | 7128|      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 (7128:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7129|      0|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7130|      0|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 7131|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7132|      0|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 7133|      0|                    _PyStackRef temp = callable;
  |  | 7134|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7135|      0|                    stack_pointer[-2 - oparg] = callable;
  |  | 7136|      0|                    stack_pointer[-1 - oparg] = self_or_null;
  |  | 7137|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7138|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7139|      0|                    PyStackRef_CLOSE(temp);
  |  | 7140|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7141|      0|                }
  |  | 7142|      0|            }
  |  | 7143|       |            // _MONITOR_CALL
  |  | 7144|      0|            {
  |  | 7145|      0|                args = &stack_pointer[-oparg];
  |  | 7146|      0|                maybe_self = self_or_null;
  |  | 7147|      0|                func = callable;
  |  | 7148|      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
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7149|      0|                PyObject *function = PyStackRef_AsPyObjectBorrow(func);
  |  | 7150|      0|                PyObject *arg0;
  |  | 7151|      0|                if (is_meth) {
  |  |  ------------------
  |  |  |  Branch (7151:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7152|      0|                    arg0 = PyStackRef_AsPyObjectBorrow(maybe_self);
  |  | 7153|      0|                }
  |  | 7154|      0|                else if (oparg) {
  |  |  ------------------
  |  |  |  Branch (7154:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 7155|      0|                    arg0 = PyStackRef_AsPyObjectBorrow(args[0]);
  |  | 7156|      0|                }
  |  | 7157|      0|                else {
  |  | 7158|      0|                    arg0 = &_PyInstrumentation_MISSING;
  |  | 7159|      0|                }
  |  | 7160|      0|                stack_pointer[-2 - oparg] = func;
  |  | 7161|      0|                stack_pointer[-1 - oparg] = maybe_self;
  |  | 7162|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7163|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7164|      0|                int err = _Py_call_instrumentation_2args(
  |  | 7165|      0|                    tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 7166|      0|                    frame, this_instr, function, arg0
  |  | 7167|      0|                );
  |  | 7168|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7169|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7169:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7170|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7171|      0|                }
  |  | 7172|      0|            }
  |  | 7173|       |            // _DO_CALL
  |  | 7174|      0|            {
  |  | 7175|      0|                args = &stack_pointer[-oparg];
  |  | 7176|      0|                self_or_null = stack_pointer[-1 - oparg];
  |  | 7177|      0|                callable = stack_pointer[-2 - oparg];
  |  | 7178|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7179|      0|                int total_args = oparg;
  |  | 7180|      0|                _PyStackRef *arguments = args;
  |  | 7181|      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 (7181:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7182|      0|                    arguments--;
  |  | 7183|      0|                    total_args++;
  |  | 7184|      0|                }
  |  | 7185|      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 (7185:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7186|      0|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (7186:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7187|      0|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (7187:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7188|      0|                {
  |  | 7189|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7190|      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));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _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 (7190:40): [True: 0, False: 0]
  |  |  ------------------
  |  | 7191|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7191:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7192|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7193|      0|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 7194|      0|                        tstate, callable, locals,
  |  | 7195|      0|                        arguments, total_args, NULL, frame
  |  | 7196|      0|                    );
  |  | 7197|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7198|      0|                    stack_pointer += -2 - oparg;
  |  | 7199|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7200|      0|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (7200:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7201|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7202|      0|                    }
  |  | 7203|      0|                    frame->return_offset = 4u ;
  |  | 7204|      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 (7204:21): [True: 0, False: 0]
  |  |  |  Branch (7204:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7205|      0|                }
  |  | 7206|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7206:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7207|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7208|      0|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 7209|      0|                    callable,
  |  | 7210|      0|                    arguments,
  |  | 7211|      0|                    total_args,
  |  | 7212|      0|                    PyStackRef_NULL,
  |  | 7213|      0|                    opcode == INSTRUMENTED_CALL,
  |  |  ------------------
  |  |  |  |  237|      0|#define INSTRUMENTED_CALL                      249
  |  |  ------------------
  |  | 7214|      0|                    frame,
  |  | 7215|      0|                    this_instr,
  |  | 7216|      0|                    tstate);
  |  | 7217|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7218|      0|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7218:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7219|      0|                    stack_pointer += -2 - oparg;
  |  | 7220|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7221|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7222|      0|                }
  |  | 7223|      0|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 7224|      0|            }
  |  | 7225|       |            // _CHECK_PERIODIC_AT_END
  |  | 7226|      0|            {
  |  | 7227|      0|                stack_pointer[-2 - oparg] = res;
  |  | 7228|      0|                stack_pointer += -1 - oparg;
  |  | 7229|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7230|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7231|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7232|      0|                int err = check_periodics_at_end(tstate, frame);
  |  | 7233|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7234|      0|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (7234:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7235|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7236|      0|                }
  |  | 7237|      0|            }
  |  | 7238|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 7239|      0|        }
  |  | 7240|       |
  |  | 7241|      0|        TARGET(INSTRUMENTED_CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7242|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7243|       |            int opcode = INSTRUMENTED_CALL_FUNCTION_EX;
  |  | 7244|       |            (void)(opcode);
  |  | 7245|       |            #endif
  |  | 7246|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7247|      0|            (void)this_instr;
  |  | 7248|      0|            frame->instr_ptr = next_instr;
  |  | 7249|      0|            next_instr += 2;
  |  | 7250|      0|            INSTRUCTION_STATS(INSTRUMENTED_CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7251|      0|            opcode = INSTRUMENTED_CALL_FUNCTION_EX;
  |  |  ------------------
  |  |  |  |  239|      0|#define INSTRUMENTED_CALL_FUNCTION_EX          251
  |  |  ------------------
  |  | 7252|      0|            _PyStackRef func;
  |  | 7253|      0|            _PyStackRef callargs;
  |  | 7254|      0|            _PyStackRef func_st;
  |  | 7255|      0|            _PyStackRef null;
  |  | 7256|      0|            _PyStackRef callargs_st;
  |  | 7257|      0|            _PyStackRef kwargs_st;
  |  | 7258|      0|            _PyStackRef result;
  |  | 7259|       |            /* Skip 1 cache entry */
  |  | 7260|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 7261|      0|            {
  |  | 7262|      0|                callargs = stack_pointer[-2];
  |  | 7263|      0|                func = stack_pointer[-4];
  |  | 7264|      0|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 7265|      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 (7265:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7266|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7267|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7268|      0|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 7269|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7270|      0|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (7270:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7271|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7272|      0|                    }
  |  | 7273|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7273:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7274|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7275|      0|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 7276|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7277|      0|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7277:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7278|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7279|      0|                    }
  |  | 7280|      0|                    _PyStackRef temp = callargs;
  |  | 7281|      0|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 7282|      0|                    stack_pointer[-2] = callargs;
  |  | 7283|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7283:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7284|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7285|      0|                    PyStackRef_CLOSE(temp);
  |  | 7286|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7287|      0|                }
  |  | 7288|      0|            }
  |  | 7289|       |            // _DO_CALL_FUNCTION_EX
  |  | 7290|      0|            {
  |  | 7291|      0|                kwargs_st = stack_pointer[-1];
  |  | 7292|      0|                callargs_st = callargs;
  |  | 7293|      0|                null = stack_pointer[-3];
  |  | 7294|      0|                func_st = func;
  |  | 7295|      0|                (void)null;
  |  | 7296|      0|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 7297|      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)
  |  |  ------------------
  |  | 7298|      0|                PyObject *result_o;
  |  | 7299|      0|                assert(!_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (7299:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7300|      0|                if (opcode == INSTRUMENTED_CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  239|      0|#define INSTRUMENTED_CALL_FUNCTION_EX          251
  |  |  ------------------
  |  |  |  Branch (7300:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7301|      0|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 7302|      0|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 7303|      0|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (7303:21): [True: 0, False: 0]
  |  |  |  Branch (7303:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7304|      0|                    assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (7304:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7305|      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 (7305:37): [True: 0, False: 0]
  |  |  ------------------
  |  | 7306|      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 (7306:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7307|      0|                    stack_pointer[-2] = callargs_st;
  |  | 7308|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7309|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7310|      0|                    int err = _Py_call_instrumentation_2args(
  |  | 7311|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 7312|      0|                        frame, this_instr, func, arg);
  |  | 7313|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7314|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (7314:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7315|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7316|      0|                    }
  |  | 7317|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7317:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7318|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7319|      0|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 7320|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7321|      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 (7321:25): [True: 0, False: 0]
  |  |  |  Branch (7321:52): [True: 0, False: 0]
  |  |  ------------------
  |  | 7322|      0|                        if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7322:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7323|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7323:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7324|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 7325|      0|                            _Py_call_instrumentation_exc2(
  |  | 7326|      0|                                tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  | 7327|      0|                                frame, this_instr, func, arg);
  |  | 7328|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 7329|      0|                        }
  |  | 7330|      0|                        else {
  |  | 7331|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7331:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7332|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 7333|      0|                            int err = _Py_call_instrumentation_2args(
  |  | 7334|      0|                                tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  | 7335|      0|                                frame, this_instr, func, arg);
  |  | 7336|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 7337|      0|                            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (7337:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 7338|      0|                                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7338:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 7339|      0|                                _PyFrame_StackPointerValidate(frame);
  |  | 7340|      0|                                Py_CLEAR(result_o);
  |  |  ------------------
  |  |  |  |  487|      0|    do { \
  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_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); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  493|      0|        } \
  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7341|      0|                                _PyFrame_StackPointerInvalidate(frame);
  |  | 7342|      0|                            }
  |  | 7343|      0|                        }
  |  | 7344|      0|                    }
  |  | 7345|      0|                }
  |  | 7346|      0|                else {
  |  | 7347|      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 (7347:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7348|      0|                        !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (7348:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7349|      0|                        ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  Branch (7349:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7350|      0|                        PyObject *callargs = PyStackRef_AsPyObjectSteal(callargs_st);
  |  | 7351|      0|                        assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (7351:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7352|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7353|      0|                        assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (7353:25): [True: 0, False: 0]
  |  |  |  Branch (7353:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7354|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7355|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7356|      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));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _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 (7356:44): [True: 0, False: 0]
  |  |  ------------------
  |  | 7357|      0|                        stack_pointer += -2;
  |  | 7358|      0|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7359|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7360|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7361|      0|                        _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit_Ex(
  |  | 7362|      0|                            tstate, func_st, locals,
  |  | 7363|      0|                            nargs, callargs, kwargs, frame);
  |  | 7364|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7365|      0|                        stack_pointer += -2;
  |  | 7366|      0|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7367|      0|                        if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (7367:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7368|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7369|      0|                        }
  |  | 7370|      0|                        assert( 2u == 1 + INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  Branch (7370:25): [True: 0, Folded]
  |  |  ------------------
  |  | 7371|      0|                        frame->return_offset = 2u ;
  |  | 7372|      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 (7372:25): [True: 0, False: 0]
  |  |  |  Branch (7372:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7373|      0|                    }
  |  | 7374|      0|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 7375|      0|                    assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (7375:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7376|      0|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 7377|      0|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (7377:21): [True: 0, False: 0]
  |  |  |  Branch (7377:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7378|      0|                    stack_pointer[-2] = callargs_st;
  |  | 7379|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7380|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7381|      0|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 7382|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7383|      0|                }
  |  | 7384|      0|                stack_pointer += -1;
  |  | 7385|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7386|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7387|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7388|      0|                PyStackRef_XCLOSE(kwargs_st);
  |  | 7389|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7390|      0|                stack_pointer += -1;
  |  | 7391|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7392|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7393|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7394|      0|                PyStackRef_CLOSE(callargs_st);
  |  | 7395|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7396|      0|                stack_pointer += -2;
  |  | 7397|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7398|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7399|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7400|      0|                PyStackRef_CLOSE(func_st);
  |  | 7401|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7402|      0|                if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7402:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7403|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7404|      0|                }
  |  | 7405|      0|                result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 7406|      0|            }
  |  | 7407|       |            // _CHECK_PERIODIC_AT_END
  |  | 7408|      0|            {
  |  | 7409|      0|                stack_pointer[0] = result;
  |  | 7410|      0|                stack_pointer += 1;
  |  | 7411|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7412|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7413|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7414|      0|                int err = check_periodics_at_end(tstate, frame);
  |  | 7415|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7416|      0|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (7416:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7417|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7418|      0|                }
  |  | 7419|      0|            }
  |  | 7420|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 7421|      0|        }
  |  | 7422|       |
  |  | 7423|      0|        TARGET(INSTRUMENTED_CALL_KW) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7424|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7425|       |            int opcode = INSTRUMENTED_CALL_KW;
  |  | 7426|       |            (void)(opcode);
  |  | 7427|       |            #endif
  |  | 7428|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7429|      0|            (void)this_instr;
  |  | 7430|      0|            frame->instr_ptr = next_instr;
  |  | 7431|      0|            next_instr += 4;
  |  | 7432|      0|            INSTRUCTION_STATS(INSTRUMENTED_CALL_KW);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7433|      0|            opcode = INSTRUMENTED_CALL_KW;
  |  |  ------------------
  |  |  |  |  238|      0|#define INSTRUMENTED_CALL_KW                   250
  |  |  ------------------
  |  | 7434|      0|            _PyStackRef callable;
  |  | 7435|      0|            _PyStackRef self_or_null;
  |  | 7436|      0|            _PyStackRef *args;
  |  | 7437|      0|            _PyStackRef kwnames;
  |  | 7438|      0|            _PyStackRef res;
  |  | 7439|       |            /* Skip 1 cache entry */
  |  | 7440|       |            /* Skip 2 cache entries */
  |  | 7441|       |            // _MAYBE_EXPAND_METHOD_KW
  |  | 7442|      0|            {
  |  | 7443|      0|                self_or_null = stack_pointer[-2 - oparg];
  |  | 7444|      0|                callable = stack_pointer[-3 - oparg];
  |  | 7445|      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 (7445:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7446|      0|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7447|      0|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 7448|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7449|      0|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 7450|      0|                    _PyStackRef temp = callable;
  |  | 7451|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7452|      0|                    stack_pointer[-3 - oparg] = callable;
  |  | 7453|      0|                    stack_pointer[-2 - oparg] = self_or_null;
  |  | 7454|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7455|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7456|      0|                    PyStackRef_CLOSE(temp);
  |  | 7457|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7458|      0|                }
  |  | 7459|      0|            }
  |  | 7460|       |            // _MONITOR_CALL_KW
  |  | 7461|      0|            {
  |  | 7462|      0|                args = &stack_pointer[-1 - oparg];
  |  | 7463|      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
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7464|      0|                PyObject *arg;
  |  | 7465|      0|                if (is_meth) {
  |  |  ------------------
  |  |  |  Branch (7465:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7466|      0|                    arg = PyStackRef_AsPyObjectBorrow(self_or_null);
  |  | 7467|      0|                }
  |  | 7468|      0|                else if (args) {
  |  |  ------------------
  |  |  |  Branch (7468:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 7469|      0|                    arg = PyStackRef_AsPyObjectBorrow(args[0]);
  |  | 7470|      0|                }
  |  | 7471|      0|                else {
  |  | 7472|      0|                    arg = &_PyInstrumentation_MISSING;
  |  | 7473|      0|                }
  |  | 7474|      0|                PyObject *function = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7475|      0|                stack_pointer[-3 - oparg] = callable;
  |  | 7476|      0|                stack_pointer[-2 - oparg] = self_or_null;
  |  | 7477|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7478|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7479|      0|                int err = _Py_call_instrumentation_2args(
  |  | 7480|      0|                    tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 7481|      0|                    frame, this_instr, function, arg);
  |  | 7482|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7483|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7483:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7484|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7485|      0|                }
  |  | 7486|      0|            }
  |  | 7487|       |            // _DO_CALL_KW
  |  | 7488|      0|            {
  |  | 7489|      0|                kwnames = stack_pointer[-1];
  |  | 7490|      0|                args = &stack_pointer[-1 - oparg];
  |  | 7491|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7492|      0|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 7493|      0|                int total_args = oparg;
  |  | 7494|      0|                _PyStackRef *arguments = args;
  |  | 7495|      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 (7495:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7496|      0|                    arguments--;
  |  | 7497|      0|                    total_args++;
  |  | 7498|      0|                }
  |  | 7499|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7500|      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 (7500:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7501|      0|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (7501:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7502|      0|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (7502:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7503|      0|                {
  |  | 7504|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7505|      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));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _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 (7505:40): [True: 0, False: 0]
  |  |  ------------------
  |  | 7506|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7506:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7507|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7508|      0|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 7509|      0|                        tstate, callable, locals,
  |  | 7510|      0|                        arguments, positional_args, kwnames_o, frame
  |  | 7511|      0|                    );
  |  | 7512|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7513|      0|                    stack_pointer += -3 - oparg;
  |  | 7514|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7515|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7516|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7517|      0|                    PyStackRef_CLOSE(kwnames);
  |  | 7518|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7519|      0|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (7519:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7520|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7521|      0|                    }
  |  | 7522|      0|                    assert( 4u == 1 + INLINE_CACHE_ENTRIES_CALL_KW);
  |  |  ------------------
  |  |  |  Branch (7522:21): [True: 0, Folded]
  |  |  ------------------
  |  | 7523|      0|                    frame->return_offset = 4u ;
  |  | 7524|      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 (7524:21): [True: 0, False: 0]
  |  |  |  Branch (7524:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7525|      0|                }
  |  | 7526|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7526:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7527|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7528|      0|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 7529|      0|                    callable,
  |  | 7530|      0|                    arguments,
  |  | 7531|      0|                    total_args,
  |  | 7532|      0|                    kwnames,
  |  | 7533|      0|                    opcode == INSTRUMENTED_CALL_KW,
  |  |  ------------------
  |  |  |  |  238|      0|#define INSTRUMENTED_CALL_KW                   250
  |  |  ------------------
  |  | 7534|      0|                    frame,
  |  | 7535|      0|                    this_instr,
  |  | 7536|      0|                    tstate);
  |  | 7537|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7538|      0|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7538:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7539|      0|                    stack_pointer += -3 - oparg;
  |  | 7540|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7541|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7542|      0|                }
  |  | 7543|      0|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 7544|      0|            }
  |  | 7545|      0|            stack_pointer[-3 - oparg] = res;
  |  | 7546|      0|            stack_pointer += -2 - oparg;
  |  | 7547|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7548|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 7549|      0|        }
  |  | 7550|       |
  |  | 7551|      0|        TARGET(INSTRUMENTED_END_ASYNC_FOR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7552|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7553|       |            int opcode = INSTRUMENTED_END_ASYNC_FOR;
  |  | 7554|       |            (void)(opcode);
  |  | 7555|       |            #endif
  |  | 7556|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7557|      0|            (void)this_instr;
  |  | 7558|      0|            frame->instr_ptr = next_instr;
  |  | 7559|      0|            next_instr += 1;
  |  | 7560|      0|            INSTRUCTION_STATS(INSTRUMENTED_END_ASYNC_FOR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7561|      0|            _PyStackRef awaitable_st;
  |  | 7562|      0|            _PyStackRef exc_st;
  |  | 7563|       |            // _MONITOR_END_ASYNC_FOR
  |  | 7564|      0|            {
  |  | 7565|      0|                assert((next_instr-oparg)->op.code == END_SEND || (next_instr-oparg)->op.code >= MIN_INSTRUMENTED_OPCODE);
  |  |  ------------------
  |  |  |  Branch (7565:17): [True: 0, False: 0]
  |  |  |  Branch (7565:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7566|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7567|      0|            }
  |  | 7568|       |            // _END_ASYNC_FOR
  |  | 7569|      0|            {
  |  | 7570|      0|                exc_st = stack_pointer[-1];
  |  | 7571|      0|                awaitable_st = stack_pointer[-2];
  |  | 7572|      0|                JUMPBY(0);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 7573|      0|                (void)oparg;
  |  | 7574|      0|                PyObject *exc = PyStackRef_AsPyObjectBorrow(exc_st);
  |  | 7575|      0|                assert(exc && PyExceptionInstance_Check(exc));
  |  |  ------------------
  |  |  |  Branch (7575:17): [True: 0, False: 0]
  |  |  |  Branch (7575:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7576|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7577|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7578|      0|                int matches = PyErr_GivenExceptionMatches(exc, PyExc_StopAsyncIteration);
  |  | 7579|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7580|      0|                if (matches) {
  |  |  ------------------
  |  |  |  Branch (7580:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7581|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7581:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7582|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7583|      0|                    _PyStackRef tmp = exc_st;
  |  | 7584|      0|                    exc_st = PyStackRef_NULL;
  |  | 7585|      0|                    stack_pointer[-1] = exc_st;
  |  | 7586|      0|                    PyStackRef_CLOSE(tmp);
  |  | 7587|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7588|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7588:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7589|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7590|      0|                    tmp = awaitable_st;
  |  | 7591|      0|                    awaitable_st = PyStackRef_NULL;
  |  | 7592|      0|                    stack_pointer[-2] = awaitable_st;
  |  | 7593|      0|                    PyStackRef_CLOSE(tmp);
  |  | 7594|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7595|      0|                    stack_pointer += -2;
  |  | 7596|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7597|      0|                }
  |  | 7598|      0|                else {
  |  | 7599|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7600|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7600:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7601|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7602|      0|                    _PyErr_SetRaisedException(tstate, exc);
  |  | 7603|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7604|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7604:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7605|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7606|      0|                    monitor_reraise(tstate, frame, this_instr);
  |  | 7607|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7608|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7608:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7609|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7610|      0|                    JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7611|      0|                }
  |  | 7612|      0|            }
  |  | 7613|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 7614|      0|        }
  |  | 7615|       |
  |  | 7616|      0|        TARGET(INSTRUMENTED_END_FOR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7617|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7618|       |            int opcode = INSTRUMENTED_END_FOR;
  |  | 7619|       |            (void)(opcode);
  |  | 7620|       |            #endif
  |  | 7621|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7622|      0|            (void)this_instr;
  |  | 7623|      0|            next_instr += 1;
  |  | 7624|      0|            INSTRUCTION_STATS(INSTRUMENTED_END_FOR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7625|      0|            _PyStackRef receiver;
  |  | 7626|      0|            _PyStackRef value;
  |  | 7627|      0|            value = stack_pointer[-1];
  |  | 7628|      0|            receiver = stack_pointer[-3];
  |  | 7629|      0|            if (PyStackRef_GenCheck(receiver)) {
  |  |  ------------------
  |  |  |  Branch (7629:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7630|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7631|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7632|      0|                int err = monitor_stop_iteration(tstate, frame, this_instr, PyStackRef_AsPyObjectBorrow(value));
  |  | 7633|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7634|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7634:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7635|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7636|      0|                }
  |  | 7637|      0|            }
  |  | 7638|      0|            stack_pointer += -1;
  |  | 7639|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7640|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7641|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 7642|      0|            PyStackRef_CLOSE(value);
  |  | 7643|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7644|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 7645|      0|        }
  |  | 7646|       |
  |  | 7647|      0|        TARGET(INSTRUMENTED_END_SEND) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7648|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7649|       |            int opcode = INSTRUMENTED_END_SEND;
  |  | 7650|       |            (void)(opcode);
  |  | 7651|       |            #endif
  |  | 7652|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7653|      0|            (void)this_instr;
  |  | 7654|      0|            frame->instr_ptr = next_instr;
  |  | 7655|      0|            next_instr += 1;
  |  | 7656|      0|            INSTRUCTION_STATS(INSTRUMENTED_END_SEND);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7657|      0|            _PyStackRef receiver;
  |  | 7658|      0|            _PyStackRef index_or_null;
  |  | 7659|      0|            _PyStackRef value;
  |  | 7660|      0|            _PyStackRef val;
  |  | 7661|      0|            value = stack_pointer[-1];
  |  | 7662|      0|            index_or_null = stack_pointer[-2];
  |  | 7663|      0|            receiver = stack_pointer[-3];
  |  | 7664|      0|            PyObject *receiver_o = PyStackRef_AsPyObjectBorrow(receiver);
  |  | 7665|      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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7666|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7667|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7668|      0|                int err = monitor_stop_iteration(tstate, frame, this_instr, PyStackRef_AsPyObjectBorrow(value));
  |  | 7669|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7670|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7670:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7671|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7672|      0|                }
  |  | 7673|      0|            }
  |  | 7674|      0|            val = value;
  |  | 7675|      0|            (void)index_or_null;
  |  | 7676|      0|            stack_pointer[-3] = val;
  |  | 7677|      0|            stack_pointer += -2;
  |  | 7678|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7679|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7680|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 7681|      0|            PyStackRef_CLOSE(receiver);
  |  | 7682|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7683|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 7684|      0|        }
  |  | 7685|       |
  |  | 7686|      0|        TARGET(INSTRUMENTED_FOR_ITER) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7687|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7688|       |            int opcode = INSTRUMENTED_FOR_ITER;
  |  | 7689|       |            (void)(opcode);
  |  | 7690|       |            #endif
  |  | 7691|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7692|      0|            (void)this_instr;
  |  | 7693|      0|            frame->instr_ptr = next_instr;
  |  | 7694|      0|            next_instr += 2;
  |  | 7695|      0|            INSTRUCTION_STATS(INSTRUMENTED_FOR_ITER);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7696|      0|            _PyStackRef iter;
  |  | 7697|      0|            _PyStackRef null_or_index;
  |  | 7698|      0|            _PyStackRef next;
  |  | 7699|       |            /* Skip 1 cache entry */
  |  | 7700|      0|            null_or_index = stack_pointer[-1];
  |  | 7701|      0|            iter = stack_pointer[-2];
  |  | 7702|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7703|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 7704|      0|            _PyStackRef item = _PyForIter_VirtualIteratorNext(tstate, frame, iter, &null_or_index);
  |  | 7705|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7706|      0|            if (!PyStackRef_IsValid(item)) {
  |  |  ------------------
  |  |  |  Branch (7706:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7707|      0|                if (PyStackRef_IsError(item)) {
  |  |  ------------------
  |  |  |  Branch (7707:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7708|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7709|      0|                }
  |  | 7710|      0|                JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 7711|      0|                stack_pointer[-1] = null_or_index;
  |  | 7712|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 7713|      0|            }
  |  | 7714|      0|            next = item;
  |  | 7715|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7716|      0|            stack_pointer[-1] = null_or_index;
  |  | 7717|      0|            stack_pointer[0] = next;
  |  | 7718|      0|            stack_pointer += 1;
  |  | 7719|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7720|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 7721|      0|        }
  |  | 7722|       |
  |  | 7723|      0|        TARGET(INSTRUMENTED_INSTRUCTION) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7724|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7725|       |            int opcode = INSTRUMENTED_INSTRUCTION;
  |  | 7726|       |            (void)(opcode);
  |  | 7727|       |            #endif
  |  | 7728|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7729|      0|            (void)this_instr;
  |  | 7730|      0|            frame->instr_ptr = next_instr;
  |  | 7731|      0|            next_instr += 1;
  |  | 7732|      0|            INSTRUCTION_STATS(INSTRUMENTED_INSTRUCTION);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7733|      0|            opcode = INSTRUMENTED_INSTRUCTION;
  |  |  ------------------
  |  |  |  |  225|      0|#define INSTRUMENTED_INSTRUCTION               237
  |  |  ------------------
  |  | 7734|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7735|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 7736|      0|            int next_opcode = _Py_call_instrumentation_instruction(
  |  | 7737|      0|                tstate, frame, this_instr);
  |  | 7738|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7739|      0|            if (next_opcode < 0) {
  |  |  ------------------
  |  |  |  Branch (7739:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7740|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7741|      0|            }
  |  | 7742|      0|            next_instr = this_instr;
  |  | 7743|      0|            if (_PyOpcode_Caches[next_opcode]) {
  |  |  ------------------
  |  |  |  Branch (7743:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7744|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7745|      0|            }
  |  | 7746|      0|            assert(next_opcode > 0 && next_opcode < 256);
  |  |  ------------------
  |  |  |  Branch (7746:13): [True: 0, False: 0]
  |  |  |  Branch (7746:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 7747|      0|            opcode = next_opcode;
  |  | 7748|      0|            DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  ------------------
  |  | 7749|      0|        }
  |  | 7750|       |
  |  | 7751|      0|        TARGET(INSTRUMENTED_JUMP_BACKWARD) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7752|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7753|       |            int opcode = INSTRUMENTED_JUMP_BACKWARD;
  |  | 7754|       |            (void)(opcode);
  |  | 7755|       |            #endif
  |  | 7756|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7757|      0|            (void)this_instr;
  |  | 7758|      0|            frame->instr_ptr = next_instr;
  |  | 7759|      0|            next_instr += 2;
  |  | 7760|      0|            INSTRUCTION_STATS(INSTRUMENTED_JUMP_BACKWARD);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7761|       |            /* Skip 1 cache entry */
  |  | 7762|       |            // _CHECK_PERIODIC
  |  | 7763|      0|            {
  |  | 7764|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7765|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7766|      0|                int err = check_periodics(tstate);
  |  | 7767|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7768|      0|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (7768:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7769|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7770|      0|                }
  |  | 7771|      0|            }
  |  | 7772|       |            // _MONITOR_JUMP_BACKWARD
  |  | 7773|      0|            {
  |  | 7774|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7775|      0|            }
  |  | 7776|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 7777|      0|        }
  |  | 7778|       |
  |  | 7779|      0|        TARGET(INSTRUMENTED_JUMP_FORWARD) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7780|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7781|       |            int opcode = INSTRUMENTED_JUMP_FORWARD;
  |  | 7782|       |            (void)(opcode);
  |  | 7783|       |            #endif
  |  | 7784|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7785|      0|            (void)this_instr;
  |  | 7786|      0|            frame->instr_ptr = next_instr;
  |  | 7787|      0|            next_instr += 1;
  |  | 7788|      0|            INSTRUCTION_STATS(INSTRUMENTED_JUMP_FORWARD);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7789|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7790|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 7791|      0|        }
  |  | 7792|       |
  |  | 7793|      0|        TARGET(INSTRUMENTED_LINE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7794|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7795|       |            int opcode = INSTRUMENTED_LINE;
  |  | 7796|       |            (void)(opcode);
  |  | 7797|       |            #endif
  |  | 7798|      0|            _Py_CODEUNIT* const prev_instr = frame->instr_ptr;
  |  | 7799|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7800|      0|            (void)this_instr;
  |  | 7801|      0|            frame->instr_ptr = next_instr;
  |  | 7802|      0|            next_instr += 1;
  |  | 7803|      0|            INSTRUCTION_STATS(INSTRUMENTED_LINE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7804|      0|            opcode = INSTRUMENTED_LINE;
  |  |  ------------------
  |  |  |  |  241|      0|#define INSTRUMENTED_LINE                      253
  |  |  ------------------
  |  | 7805|      0|            int original_opcode = 0;
  |  | 7806|      0|            if (tstate->tracing) {
  |  |  ------------------
  |  |  |  Branch (7806:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7807|      0|                PyCodeObject *code = _PyFrame_GetCode(frame);
  |  | 7808|      0|                int index = (int)(this_instr - _PyFrame_GetBytecode(frame));
  |  | 7809|      0|                original_opcode = code->_co_monitoring->lines->data[index*code->_co_monitoring->lines->bytes_per_entry];
  |  | 7810|      0|                next_instr = this_instr;
  |  | 7811|      0|            } else {
  |  | 7812|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7813|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7814|      0|                original_opcode = _Py_call_instrumentation_line(
  |  | 7815|      0|                    tstate, frame, this_instr, prev_instr);
  |  | 7816|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7817|       |                // Explicit stack reload
  |  | 7818|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7819|      0|                _PyFrame_StackAssertInvalid(frame);
  |  | 7820|      0|                if (original_opcode < 0) {
  |  |  ------------------
  |  |  |  Branch (7820:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7821|      0|                    next_instr = this_instr+1;
  |  | 7822|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7823|      0|                }
  |  | 7824|      0|                next_instr = frame->instr_ptr;
  |  | 7825|      0|                if (next_instr != this_instr) {
  |  |  ------------------
  |  |  |  Branch (7825:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7826|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 7827|      0|                }
  |  | 7828|      0|            }
  |  | 7829|      0|            if (_PyOpcode_Caches[original_opcode]) {
  |  |  ------------------
  |  |  |  Branch (7829:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7830|      0|                _PyBinaryOpCache *cache = (_PyBinaryOpCache *)(next_instr+1);
  |  | 7831|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7832|      0|            }
  |  | 7833|      0|            opcode = original_opcode;
  |  | 7834|      0|            PRE_DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  ------------------
  |  | 7835|      0|            DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  ------------------
  |  | 7836|      0|        }
  |  | 7837|       |
  |  | 7838|      0|        TARGET(INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7839|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7840|       |            int opcode = INSTRUMENTED_LOAD_SUPER_ATTR;
  |  | 7841|       |            (void)(opcode);
  |  | 7842|       |            #endif
  |  | 7843|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7844|      0|            (void)this_instr;
  |  | 7845|      0|            frame->instr_ptr = next_instr;
  |  | 7846|      0|            next_instr += 2;
  |  | 7847|      0|            INSTRUCTION_STATS(INSTRUMENTED_LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7848|      0|            opcode = INSTRUMENTED_LOAD_SUPER_ATTR;
  |  |  ------------------
  |  |  |  |  236|      0|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  | 7849|      0|            _PyStackRef global_super_st;
  |  | 7850|      0|            _PyStackRef class_st;
  |  | 7851|      0|            _PyStackRef self_st;
  |  | 7852|      0|            _PyStackRef attr;
  |  | 7853|      0|            _PyStackRef *null;
  |  | 7854|       |            /* Skip 1 cache entry */
  |  | 7855|       |            // _LOAD_SUPER_ATTR
  |  | 7856|      0|            {
  |  | 7857|      0|                self_st = stack_pointer[-1];
  |  | 7858|      0|                class_st = stack_pointer[-2];
  |  | 7859|      0|                global_super_st = stack_pointer[-3];
  |  | 7860|      0|                PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  | 7861|      0|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  | 7862|      0|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  | 7863|      0|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  236|      0|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (7863:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7864|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (7864:37): [True: 0, False: 0]
  |  |  ------------------
  |  | 7865|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7866|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7867|      0|                    int err = _Py_call_instrumentation_2args(
  |  | 7868|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 7869|      0|                        frame, this_instr, global_super, arg);
  |  | 7870|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7871|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (7871:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7872|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7872:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7873|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7874|      0|                        _PyStackRef tmp = self_st;
  |  | 7875|      0|                        self_st = PyStackRef_NULL;
  |  | 7876|      0|                        stack_pointer[-1] = self_st;
  |  | 7877|      0|                        PyStackRef_CLOSE(tmp);
  |  | 7878|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7879|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7879:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7880|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7881|      0|                        tmp = class_st;
  |  | 7882|      0|                        class_st = PyStackRef_NULL;
  |  | 7883|      0|                        stack_pointer[-2] = class_st;
  |  | 7884|      0|                        PyStackRef_CLOSE(tmp);
  |  | 7885|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7886|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7886:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7887|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7888|      0|                        tmp = global_super_st;
  |  | 7889|      0|                        global_super_st = PyStackRef_NULL;
  |  | 7890|      0|                        stack_pointer[-3] = global_super_st;
  |  | 7891|      0|                        PyStackRef_CLOSE(tmp);
  |  | 7892|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7893|      0|                        stack_pointer += -3;
  |  | 7894|      0|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7895|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7896|      0|                    }
  |  | 7897|      0|                }
  |  | 7898|      0|                PyObject *super;
  |  | 7899|      0|                {
  |  | 7900|      0|                    PyObject *stack[] = {class, self};
  |  | 7901|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7902|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7903|      0|                    super = PyObject_Vectorcall(global_super, stack, oparg & 2, NULL);
  |  | 7904|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7905|      0|                }
  |  | 7906|      0|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  236|      0|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (7906:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7907|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (7907:37): [True: 0, False: 0]
  |  |  ------------------
  |  | 7908|      0|                    if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (7908:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7909|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7909:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7910|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7911|      0|                        _Py_call_instrumentation_exc2(
  |  | 7912|      0|                            tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  | 7913|      0|                            frame, this_instr, global_super, arg);
  |  | 7914|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7915|      0|                    }
  |  | 7916|      0|                    else {
  |  | 7917|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7917:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7918|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7919|      0|                        int err = _Py_call_instrumentation_2args(
  |  | 7920|      0|                            tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  | 7921|      0|                            frame, this_instr, global_super, arg);
  |  | 7922|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7923|      0|                        if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (7923:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7924|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7924:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7925|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 7926|      0|                            Py_CLEAR(super);
  |  |  ------------------
  |  |  |  |  487|      0|    do { \
  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_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); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  493|      0|        } \
  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7927|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 7928|      0|                        }
  |  | 7929|      0|                    }
  |  | 7930|      0|                }
  |  | 7931|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7932|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7933|      0|                _PyStackRef tmp = self_st;
  |  | 7934|      0|                self_st = PyStackRef_NULL;
  |  | 7935|      0|                stack_pointer[-1] = self_st;
  |  | 7936|      0|                PyStackRef_CLOSE(tmp);
  |  | 7937|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7938|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7938:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7939|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7940|      0|                tmp = class_st;
  |  | 7941|      0|                class_st = PyStackRef_NULL;
  |  | 7942|      0|                stack_pointer[-2] = class_st;
  |  | 7943|      0|                PyStackRef_CLOSE(tmp);
  |  | 7944|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7945|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7945:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7946|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7947|      0|                tmp = global_super_st;
  |  | 7948|      0|                global_super_st = PyStackRef_NULL;
  |  | 7949|      0|                stack_pointer[-3] = global_super_st;
  |  | 7950|      0|                PyStackRef_CLOSE(tmp);
  |  | 7951|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7952|      0|                stack_pointer += -3;
  |  | 7953|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7954|      0|                if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (7954:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7955|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7956|      0|                }
  |  | 7957|      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 (7957:34): [True: 0, False: 0]
  |  |  ------------------
  |  | 7958|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7959|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7960|      0|                PyObject *attr_o = PyObject_GetAttr(super, name);
  |  | 7961|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7962|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7962:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7963|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7964|      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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7965|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7966|      0|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7966:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7967|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7968|      0|                }
  |  | 7969|      0|                attr = PyStackRef_FromPyObjectSteal(attr_o);
  |  | 7970|      0|            }
  |  | 7971|       |            // _PUSH_NULL_CONDITIONAL
  |  | 7972|      0|            {
  |  | 7973|      0|                null = &stack_pointer[1];
  |  | 7974|      0|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (7974:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7975|      0|                    null[0] = PyStackRef_NULL;
  |  | 7976|      0|                }
  |  | 7977|      0|            }
  |  | 7978|      0|            stack_pointer[0] = attr;
  |  | 7979|      0|            stack_pointer += 1 + (oparg & 1);
  |  | 7980|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7981|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 7982|      0|        }
  |  | 7983|       |
  |  | 7984|      0|        TARGET(INSTRUMENTED_NOT_TAKEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7985|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7986|       |            int opcode = INSTRUMENTED_NOT_TAKEN;
  |  | 7987|       |            (void)(opcode);
  |  | 7988|       |            #endif
  |  | 7989|      0|            _Py_CODEUNIT* const prev_instr = frame->instr_ptr;
  |  | 7990|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7991|      0|            (void)this_instr;
  |  | 7992|      0|            frame->instr_ptr = next_instr;
  |  | 7993|      0|            next_instr += 1;
  |  | 7994|      0|            INSTRUCTION_STATS(INSTRUMENTED_NOT_TAKEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7995|      0|            (void)this_instr;
  |  | 7996|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7997|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 7998|      0|        }
  |  | 7999|       |
  |  | 8000|      0|        TARGET(INSTRUMENTED_POP_ITER) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8001|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8002|       |            int opcode = INSTRUMENTED_POP_ITER;
  |  | 8003|       |            (void)(opcode);
  |  | 8004|       |            #endif
  |  | 8005|      0|            _Py_CODEUNIT* const prev_instr = frame->instr_ptr;
  |  | 8006|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8007|      0|            (void)this_instr;
  |  | 8008|      0|            frame->instr_ptr = next_instr;
  |  | 8009|      0|            next_instr += 1;
  |  | 8010|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_ITER);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8011|      0|            _PyStackRef iter;
  |  | 8012|      0|            _PyStackRef index_or_null;
  |  | 8013|      0|            index_or_null = stack_pointer[-1];
  |  | 8014|      0|            iter = stack_pointer[-2];
  |  | 8015|      0|            (void)index_or_null;
  |  | 8016|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8017|      0|            stack_pointer += -2;
  |  | 8018|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8019|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8020|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 8021|      0|            PyStackRef_CLOSE(iter);
  |  | 8022|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 8023|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 8024|      0|        }
  |  | 8025|       |
  |  | 8026|      0|        TARGET(INSTRUMENTED_POP_JUMP_IF_FALSE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8027|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8028|       |            int opcode = INSTRUMENTED_POP_JUMP_IF_FALSE;
  |  | 8029|       |            (void)(opcode);
  |  | 8030|       |            #endif
  |  | 8031|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8032|      0|            (void)this_instr;
  |  | 8033|      0|            frame->instr_ptr = next_instr;
  |  | 8034|      0|            next_instr += 2;
  |  | 8035|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_JUMP_IF_FALSE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8036|      0|            _PyStackRef cond;
  |  | 8037|       |            /* Skip 1 cache entry */
  |  | 8038|      0|            cond = stack_pointer[-1];
  |  | 8039|      0|            assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (8039:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 8040|      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
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8041|      0|            RECORD_BRANCH_TAKEN(this_instr[1].cache, jump);
  |  |  ------------------
  |  |  |  |  394|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|      0|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  | 8042|      0|            if (jump) {
  |  |  ------------------
  |  |  |  Branch (8042:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8043|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8044|      0|            }
  |  | 8045|      0|            stack_pointer += -1;
  |  | 8046|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8047|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 8048|      0|        }
  |  | 8049|       |
  |  | 8050|      0|        TARGET(INSTRUMENTED_POP_JUMP_IF_NONE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8051|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8052|       |            int opcode = INSTRUMENTED_POP_JUMP_IF_NONE;
  |  | 8053|       |            (void)(opcode);
  |  | 8054|       |            #endif
  |  | 8055|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8056|      0|            (void)this_instr;
  |  | 8057|      0|            frame->instr_ptr = next_instr;
  |  | 8058|      0|            next_instr += 2;
  |  | 8059|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_JUMP_IF_NONE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8060|      0|            _PyStackRef value;
  |  | 8061|       |            /* Skip 1 cache entry */
  |  | 8062|      0|            value = stack_pointer[-1];
  |  | 8063|      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
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8064|      0|            RECORD_BRANCH_TAKEN(this_instr[1].cache, jump);
  |  |  ------------------
  |  |  |  |  394|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|      0|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  | 8065|      0|            if (jump) {
  |  |  ------------------
  |  |  |  Branch (8065:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8066|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8067|      0|            }
  |  | 8068|      0|            else {
  |  | 8069|      0|                stack_pointer += -1;
  |  | 8070|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8071|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8072|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8073|      0|                PyStackRef_CLOSE(value);
  |  | 8074|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8075|      0|                stack_pointer += 1;
  |  | 8076|      0|            }
  |  | 8077|      0|            stack_pointer += -1;
  |  | 8078|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8079|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 8080|      0|        }
  |  | 8081|       |
  |  | 8082|      0|        TARGET(INSTRUMENTED_POP_JUMP_IF_NOT_NONE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8083|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8084|       |            int opcode = INSTRUMENTED_POP_JUMP_IF_NOT_NONE;
  |  | 8085|       |            (void)(opcode);
  |  | 8086|       |            #endif
  |  | 8087|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8088|      0|            (void)this_instr;
  |  | 8089|      0|            frame->instr_ptr = next_instr;
  |  | 8090|      0|            next_instr += 2;
  |  | 8091|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_JUMP_IF_NOT_NONE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8092|      0|            _PyStackRef value;
  |  | 8093|       |            /* Skip 1 cache entry */
  |  | 8094|      0|            value = stack_pointer[-1];
  |  | 8095|      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
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8096|      0|            RECORD_BRANCH_TAKEN(this_instr[1].cache, jump);
  |  |  ------------------
  |  |  |  |  394|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|      0|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  | 8097|      0|            if (jump) {
  |  |  ------------------
  |  |  |  Branch (8097:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8098|      0|                stack_pointer += -1;
  |  | 8099|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8100|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8101|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8102|      0|                PyStackRef_CLOSE(value);
  |  | 8103|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8104|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8105|      0|            }
  |  | 8106|      0|            else {
  |  | 8107|      0|                stack_pointer += -1;
  |  | 8108|      0|            }
  |  | 8109|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 8110|      0|        }
  |  | 8111|       |
  |  | 8112|      0|        TARGET(INSTRUMENTED_POP_JUMP_IF_TRUE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8113|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8114|       |            int opcode = INSTRUMENTED_POP_JUMP_IF_TRUE;
  |  | 8115|       |            (void)(opcode);
  |  | 8116|       |            #endif
  |  | 8117|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8118|      0|            (void)this_instr;
  |  | 8119|      0|            frame->instr_ptr = next_instr;
  |  | 8120|      0|            next_instr += 2;
  |  | 8121|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_JUMP_IF_TRUE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8122|      0|            _PyStackRef cond;
  |  | 8123|       |            /* Skip 1 cache entry */
  |  | 8124|      0|            cond = stack_pointer[-1];
  |  | 8125|      0|            assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (8125:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 8126|      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
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8127|      0|            RECORD_BRANCH_TAKEN(this_instr[1].cache, jump);
  |  |  ------------------
  |  |  |  |  394|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|      0|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  | 8128|      0|            if (jump) {
  |  |  ------------------
  |  |  |  Branch (8128:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8129|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8130|      0|            }
  |  | 8131|      0|            stack_pointer += -1;
  |  | 8132|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8133|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 8134|      0|        }
  |  | 8135|       |
  |  | 8136|      0|        TARGET(INSTRUMENTED_RESUME) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8137|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8138|       |            int opcode = INSTRUMENTED_RESUME;
  |  | 8139|       |            (void)(opcode);
  |  | 8140|       |            #endif
  |  | 8141|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8142|      0|            (void)this_instr;
  |  | 8143|      0|            frame->instr_ptr = next_instr;
  |  | 8144|      0|            next_instr += 2;
  |  | 8145|      0|            INSTRUCTION_STATS(INSTRUMENTED_RESUME);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8146|       |            /* Skip 1 cache entry */
  |  | 8147|       |            // _LOAD_BYTECODE
  |  | 8148|      0|            {
  |  | 8149|       |                #ifdef Py_GIL_DISABLED
  |  | 8150|       |                if (frame->tlbc_index !=
  |  | 8151|       |                    ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  | 8152|       |                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8153|       |                    _PyFrame_StackPointerValidate(frame);
  |  | 8154|       |                    _Py_CODEUNIT *bytecode =
  |  | 8155|       |                    _PyEval_GetExecutableCode(tstate, _PyFrame_GetCode(frame));
  |  | 8156|       |                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8157|       |                    if (bytecode == NULL) {
  |  | 8158|       |                        JUMP_TO_LABEL(error);
  |  | 8159|       |                    }
  |  | 8160|       |                    ptrdiff_t off = this_instr - _PyFrame_GetBytecode(frame);
  |  | 8161|       |                    frame->tlbc_index = ((_PyThreadStateImpl *)tstate)->tlbc_index;
  |  | 8162|       |                    frame->instr_ptr = bytecode + off;
  |  | 8163|       |                    next_instr = frame->instr_ptr;
  |  | 8164|       |                    DISPATCH();
  |  | 8165|       |                }
  |  | 8166|       |                #endif
  |  | 8167|      0|            }
  |  | 8168|       |            // _MAYBE_INSTRUMENT
  |  | 8169|      0|            {
  |  | 8170|       |                #ifdef Py_GIL_DISABLED
  |  | 8171|       |
  |  | 8172|       |                int check_instrumentation = 1;
  |  | 8173|       |                #else
  |  | 8174|      0|                int check_instrumentation = (tstate->tracing == 0);
  |  | 8175|      0|                #endif
  |  | 8176|      0|                if (check_instrumentation) {
  |  |  ------------------
  |  |  |  Branch (8176:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8177|      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
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8178|      0|                    uintptr_t code_version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  154|      0|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 8179|      0|                    if (code_version != global_version) {
  |  |  ------------------
  |  |  |  Branch (8179:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8180|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8181|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 8182|      0|                        int err = _Py_Instrument(_PyFrame_GetCode(frame), tstate->interp);
  |  | 8183|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 8184|      0|                        if (err) {
  |  |  ------------------
  |  |  |  Branch (8184:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 8185|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8186|      0|                        }
  |  | 8187|      0|                        next_instr = this_instr;
  |  | 8188|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 8189|      0|                    }
  |  | 8190|      0|                }
  |  | 8191|      0|            }
  |  | 8192|       |            // _CHECK_PERIODIC_IF_NOT_YIELD_FROM
  |  | 8193|      0|            {
  |  | 8194|      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 (8194:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8195|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8196|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 8197|      0|                    int err = check_periodics(tstate);
  |  | 8198|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8199|      0|                    if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8199:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8200|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8201|      0|                    }
  |  | 8202|      0|                }
  |  | 8203|      0|            }
  |  | 8204|       |            // _MONITOR_RESUME
  |  | 8205|      0|            {
  |  | 8206|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8207|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8208|      0|                int err = _Py_call_instrumentation(
  |  | 8209|      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 (8209:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 8210|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8211|       |                // Explicit stack reload
  |  | 8212|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8213|      0|                _PyFrame_StackAssertInvalid(frame);
  |  | 8214|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (8214:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8215|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8216|      0|                }
  |  | 8217|      0|                if (frame->instr_ptr != this_instr) {
  |  |  ------------------
  |  |  |  Branch (8217:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8218|      0|                    next_instr = frame->instr_ptr;
  |  | 8219|      0|                }
  |  | 8220|      0|            }
  |  | 8221|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 8222|      0|        }
  |  | 8223|       |
  |  | 8224|      0|        TARGET(INSTRUMENTED_RETURN_VALUE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8225|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8226|       |            int opcode = INSTRUMENTED_RETURN_VALUE;
  |  | 8227|       |            (void)(opcode);
  |  | 8228|       |            #endif
  |  | 8229|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8230|      0|            (void)this_instr;
  |  | 8231|      0|            frame->instr_ptr = next_instr;
  |  | 8232|      0|            next_instr += 1;
  |  | 8233|      0|            INSTRUCTION_STATS(INSTRUMENTED_RETURN_VALUE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8234|      0|            _PyStackRef val;
  |  | 8235|      0|            _PyStackRef value;
  |  | 8236|      0|            _PyStackRef retval;
  |  | 8237|      0|            _PyStackRef res;
  |  | 8238|       |            // _RETURN_VALUE_EVENT
  |  | 8239|      0|            {
  |  | 8240|      0|                val = stack_pointer[-1];
  |  | 8241|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8242|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8243|      0|                int err = _Py_call_instrumentation_arg(
  |  | 8244|      0|                    tstate, PY_MONITORING_EVENT_PY_RETURN,
  |  |  ------------------
  |  |  |  |   16|      0|#define PY_MONITORING_EVENT_PY_RETURN 2
  |  |  ------------------
  |  | 8245|      0|                    frame, this_instr, PyStackRef_AsPyObjectBorrow(val));
  |  | 8246|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8247|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (8247:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8248|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8249|      0|                }
  |  | 8250|      0|            }
  |  | 8251|       |            // _MAKE_HEAP_SAFE
  |  | 8252|      0|            {
  |  | 8253|      0|                value = val;
  |  | 8254|      0|                value = PyStackRef_MakeHeapSafe(value);
  |  | 8255|      0|            }
  |  | 8256|       |            // _RETURN_VALUE
  |  | 8257|      0|            {
  |  | 8258|      0|                retval = value;
  |  | 8259|      0|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (8259:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8260|      0|                _PyStackRef temp = retval;
  |  | 8261|      0|                stack_pointer += -1;
  |  | 8262|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8263|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8264|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8265|      0|                assert(STACK_LEVEL() == 0);
  |  |  ------------------
  |  |  |  Branch (8265:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8266|      0|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|      0|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  | 8267|      0|                _Py_LeaveRecursiveCallPy(tstate);
  |  | 8268|      0|                _PyInterpreterFrame *dying = frame;
  |  | 8269|      0|                frame = tstate->current_frame = dying->previous;
  |  | 8270|      0|                _PyEval_FrameClearAndPop(tstate, dying);
  |  | 8271|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8272|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8273|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8274|      0|                res = temp;
  |  | 8275|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 8276|      0|            }
  |  | 8277|      0|            stack_pointer[0] = res;
  |  | 8278|      0|            stack_pointer += 1;
  |  | 8279|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8280|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 8281|      0|        }
  |  | 8282|       |
  |  | 8283|      0|        TARGET(INSTRUMENTED_YIELD_VALUE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8284|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8285|       |            int opcode = INSTRUMENTED_YIELD_VALUE;
  |  | 8286|       |            (void)(opcode);
  |  | 8287|       |            #endif
  |  | 8288|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8289|      0|            (void)this_instr;
  |  | 8290|      0|            frame->instr_ptr = next_instr;
  |  | 8291|      0|            next_instr += 1;
  |  | 8292|      0|            INSTRUCTION_STATS(INSTRUMENTED_YIELD_VALUE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8293|      0|            opcode = INSTRUMENTED_YIELD_VALUE;
  |  |  ------------------
  |  |  |  |  234|      0|#define INSTRUMENTED_YIELD_VALUE               246
  |  |  ------------------
  |  | 8294|      0|            _PyStackRef val;
  |  | 8295|      0|            _PyStackRef value;
  |  | 8296|      0|            _PyStackRef retval;
  |  | 8297|       |            // _YIELD_VALUE_EVENT
  |  | 8298|      0|            {
  |  | 8299|      0|                val = stack_pointer[-1];
  |  | 8300|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8301|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8302|      0|                int err = _Py_call_instrumentation_arg(
  |  | 8303|      0|                    tstate, PY_MONITORING_EVENT_PY_YIELD,
  |  |  ------------------
  |  |  |  |   17|      0|#define PY_MONITORING_EVENT_PY_YIELD 3
  |  |  ------------------
  |  | 8304|      0|                    frame, this_instr, PyStackRef_AsPyObjectBorrow(val));
  |  | 8305|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8306|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (8306:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8307|       |                    // Explicit stack reload
  |  | 8308|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8309|      0|                    _PyFrame_StackAssertInvalid(frame);
  |  | 8310|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8311|      0|                }
  |  | 8312|      0|                if (frame->instr_ptr != this_instr) {
  |  |  ------------------
  |  |  |  Branch (8312:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8313|       |                    // Explicit stack reload
  |  | 8314|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8315|      0|                    _PyFrame_StackAssertInvalid(frame);
  |  | 8316|      0|                    next_instr = frame->instr_ptr;
  |  | 8317|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 8318|      0|                }
  |  | 8319|      0|            }
  |  | 8320|       |            // _MAKE_HEAP_SAFE
  |  | 8321|      0|            {
  |  | 8322|      0|                value = val;
  |  | 8323|      0|                value = PyStackRef_MakeHeapSafe(value);
  |  | 8324|      0|            }
  |  | 8325|       |            // _YIELD_VALUE
  |  | 8326|      0|            {
  |  | 8327|      0|                retval = value;
  |  | 8328|      0|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (8328:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8329|      0|                frame->instr_ptr++;
  |  | 8330|      0|                PyGenObject *gen = _PyGen_GetGeneratorFromFrame(frame);
  |  | 8331|      0|                assert(FRAME_SUSPENDED_YIELD_FROM == FRAME_SUSPENDED + 1);
  |  |  ------------------
  |  |  |  Branch (8331:17): [True: 0, Folded]
  |  |  ------------------
  |  | 8332|      0|                assert(oparg == 0 || oparg == 1);
  |  |  ------------------
  |  |  |  Branch (8332:17): [True: 0, False: 0]
  |  |  |  Branch (8332:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8333|      0|                _PyStackRef temp = retval;
  |  | 8334|      0|                stack_pointer += -1;
  |  | 8335|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8336|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8337|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8338|      0|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|      0|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  | 8339|      0|                tstate->exc_info = gen->gi_exc_state.previous_item;
  |  | 8340|      0|                gen->gi_exc_state.previous_item = NULL;
  |  | 8341|      0|                _Py_LeaveRecursiveCallPy(tstate);
  |  | 8342|      0|                _PyInterpreterFrame *gen_frame = frame;
  |  | 8343|      0|                _PyThreadState_UpdateLastProfiledFrame(tstate, gen_frame, gen_frame->previous);
  |  |  ------------------
  |  |  |  |  326|      0|    do { \
  |  |  |  |  327|      0|        PyThreadState *tstate_ = (tstate); \
  |  |  |  |  328|      0|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  |  |  329|      0|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (329:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  330|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  |  |  331|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  |  |  332|      0|        } \
  |  |  |  |  333|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (333:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8344|      0|                frame = tstate->current_frame = frame->previous;
  |  | 8345|      0|                gen_frame->previous = NULL;
  |  | 8346|      0|                ((_PyThreadStateImpl *)tstate)->generator_return_kind = GENERATOR_YIELD;
  |  | 8347|      0|                FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_SUSPENDED + oparg);
  |  |  ------------------
  |  |  |  |  169|      0|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  | 8348|      0|                assert(INLINE_CACHE_ENTRIES_SEND == INLINE_CACHE_ENTRIES_FOR_ITER);
  |  |  ------------------
  |  |  |  Branch (8348:17): [True: 0, Folded]
  |  |  ------------------
  |  | 8349|       |                #if TIER_ONE && defined(Py_DEBUG)
  |  | 8350|       |                if (!PyStackRef_IsNone(frame->f_executable)) {
  |  | 8351|       |                    Py_ssize_t i = frame->instr_ptr - _PyFrame_GetBytecode(frame);
  |  | 8352|       |                    assert(i >= 0 && i <= INT_MAX);
  |  | 8353|       |                    int opcode = _Py_GetBaseCodeUnit(_PyFrame_GetCode(frame), (int)i).op.code;
  |  | 8354|       |                    assert(opcode == SEND || opcode == FOR_ITER);
  |  | 8355|       |                }
  |  | 8356|       |                #endif
  |  | 8357|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8358|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8359|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8360|      0|                value = temp;
  |  | 8361|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 8362|      0|            }
  |  | 8363|      0|            stack_pointer[0] = value;
  |  | 8364|      0|            stack_pointer += 1;
  |  | 8365|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8366|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 8367|      0|        }
  |  | 8368|       |
  |  | 8369|  2.15k|        TARGET(INTERPRETER_EXIT) {
  |  |  ------------------
  |  |  |  |  132|  2.15k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8370|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8371|       |            int opcode = INTERPRETER_EXIT;
  |  | 8372|       |            (void)(opcode);
  |  | 8373|       |            #endif
  |  | 8374|  2.15k|            frame->instr_ptr = next_instr;
  |  | 8375|  2.15k|            next_instr += 1;
  |  | 8376|  2.15k|            INSTRUCTION_STATS(INTERPRETER_EXIT);
  |  |  ------------------
  |  |  |  |   71|  2.15k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8377|  2.15k|            _PyStackRef retval;
  |  | 8378|  2.15k|            retval = stack_pointer[-1];
  |  | 8379|  2.15k|            assert(frame->owner == FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (8379:13): [True: 2.15k, False: 0]
  |  |  ------------------
  |  | 8380|  2.15k|            assert(_PyFrame_IsIncomplete(frame));
  |  |  ------------------
  |  |  |  Branch (8380:13): [True: 2.15k, False: 0]
  |  |  ------------------
  |  | 8381|  2.15k|            tstate->current_frame = frame->previous;
  |  | 8382|  2.15k|            assert(!_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (8382:13): [True: 2.15k, False: 0]
  |  |  ------------------
  |  | 8383|  2.15k|            PyObject *result = PyStackRef_AsPyObjectSteal(retval);
  |  | 8384|  2.15k|            #if !_Py_TAIL_CALL_INTERP
  |  | 8385|  2.15k|            assert(frame == &entry.frame);
  |  |  ------------------
  |  |  |  Branch (8385:13): [True: 2.15k, False: 0]
  |  |  ------------------
  |  | 8386|  2.15k|            #endif
  |  | 8387|       |            #ifdef _Py_TIER2
  |  | 8388|       |            _PyStackRef executor = frame->localsplus[0];
  |  | 8389|       |            assert(tstate->current_executor == NULL);
  |  | 8390|       |            if (!PyStackRef_IsNull(executor)) {
  |  | 8391|       |                assert(PyStackRef_TYPE(executor) == &_PyUOpExecutor_Type);
  |  | 8392|       |                tstate->current_executor = PyStackRef_AsPyObjectBorrow(executor);
  |  | 8393|       |                stack_pointer += -1;
  |  | 8394|       |                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  | 8395|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8396|       |                _PyFrame_StackPointerValidate(frame);
  |  | 8397|       |                PyStackRef_CLOSE(executor);
  |  | 8398|       |                _PyFrame_StackPointerInvalidate(frame);
  |  | 8399|       |                stack_pointer += 1;
  |  | 8400|       |            }
  |  | 8401|       |            #endif
  |  | 8402|  2.15k|            LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  2.15k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 8403|  2.15k|            return result;
  |  | 8404|  2.15k|        }
  |  | 8405|       |
  |  | 8406|  1.15k|        TARGET(IS_OP) {
  |  |  ------------------
  |  |  |  |  132|  1.15k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8407|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8408|       |            int opcode = IS_OP;
  |  | 8409|       |            (void)(opcode);
  |  | 8410|       |            #endif
  |  | 8411|  1.15k|            frame->instr_ptr = next_instr;
  |  | 8412|  1.15k|            next_instr += 1;
  |  | 8413|  1.15k|            INSTRUCTION_STATS(IS_OP);
  |  |  ------------------
  |  |  |  |   71|  1.15k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8414|  1.15k|            _PyStackRef left;
  |  | 8415|  1.15k|            _PyStackRef right;
  |  | 8416|  1.15k|            _PyStackRef b;
  |  | 8417|  1.15k|            _PyStackRef l;
  |  | 8418|  1.15k|            _PyStackRef r;
  |  | 8419|  1.15k|            _PyStackRef value;
  |  | 8420|       |            // _IS_OP
  |  | 8421|  1.15k|            {
  |  | 8422|  1.15k|                right = stack_pointer[-1];
  |  | 8423|  1.15k|                left = stack_pointer[-2];
  |  | 8424|  1.15k|                int res = Py_Is(PyStackRef_AsPyObjectBorrow(left), PyStackRef_AsPyObjectBorrow(right)) ^ oparg;
  |  |  ------------------
  |  |  |  |  187|  1.15k|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  | 8425|  1.15k|                b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    462|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    462|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  1.84k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    693|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8425:21): [True: 462, False: 693]
  |  |  ------------------
  |  | 8426|  1.15k|                l = left;
  |  | 8427|  1.15k|                r = right;
  |  | 8428|  1.15k|            }
  |  | 8429|       |            // _POP_TOP
  |  | 8430|  1.15k|            {
  |  | 8431|  1.15k|                value = r;
  |  | 8432|  1.15k|                stack_pointer[-2] = b;
  |  | 8433|  1.15k|                stack_pointer[-1] = l;
  |  | 8434|  1.15k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8435|  1.15k|                _PyFrame_StackPointerValidate(frame);
  |  | 8436|  1.15k|                PyStackRef_XCLOSE(value);
  |  | 8437|  1.15k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8438|  1.15k|            }
  |  | 8439|       |            // _POP_TOP
  |  | 8440|  1.15k|            {
  |  | 8441|  1.15k|                value = l;
  |  | 8442|  1.15k|                stack_pointer += -1;
  |  | 8443|  1.15k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.15k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8444|  1.15k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8445|  1.15k|                _PyFrame_StackPointerValidate(frame);
  |  | 8446|  1.15k|                PyStackRef_XCLOSE(value);
  |  | 8447|  1.15k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8448|  1.15k|            }
  |  | 8449|  1.15k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.15k|    { \
  |  |  |  |  201|  1.15k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.15k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.15k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.15k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.15k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.15k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.15k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.15k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.15k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.15k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.15k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.15k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.15k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.15k|    }
  |  |  ------------------
  |  | 8450|  1.15k|        }
  |  | 8451|       |
  |  | 8452|  1.15k|        TARGET(JUMP_BACKWARD) {
  |  |  ------------------
  |  |  |  |  132|    184|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8453|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8454|       |            int opcode = JUMP_BACKWARD;
  |  | 8455|       |            (void)(opcode);
  |  | 8456|       |            #endif
  |  | 8457|    184|            frame->instr_ptr = next_instr;
  |  | 8458|    184|            next_instr += 2;
  |  | 8459|    184|            INSTRUCTION_STATS(JUMP_BACKWARD);
  |  |  ------------------
  |  |  |  |   71|    184|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8460|    184|            PREDICTED_JUMP_BACKWARD:;
  |  | 8461|    184|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 8462|    184|            (void)this_instr;
  |  | 8463|       |            /* Skip 1 cache entry */
  |  | 8464|       |            // _SPECIALIZE_JUMP_BACKWARD
  |  | 8465|    184|            {
  |  | 8466|    184|                #if ENABLE_SPECIALIZATION
  |  | 8467|    184|                if (this_instr->op.code == JUMP_BACKWARD) {
  |  |  ------------------
  |  |  |  |   84|    184|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (8467:21): [True: 184, False: 0]
  |  |  ------------------
  |  | 8468|    184|                    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|    368|#define JUMP_BACKWARD_NO_JIT                   182
  |  |  ------------------
  |  |  |  Branch (8468:39): [True: 0, False: 184]
  |  |  ------------------
  |  | 8469|    184|                    FT_ATOMIC_STORE_UINT8_RELAXED(this_instr->op.code, desired);
  |  |  ------------------
  |  |  |  |  173|    184|#define FT_ATOMIC_STORE_UINT8_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  |  | 8470|    184|                    next_instr = this_instr;
  |  | 8471|    184|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    184|    { \
  |  |  |  |  217|    184|        opcode = next_instr->op.code; \
  |  |  |  |  218|    184|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    184|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    184|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    184|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    184|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    184|    }
  |  |  ------------------
  |  | 8472|    184|                }
  |  | 8473|    184|                #endif
  |  | 8474|    184|            }
  |  | 8475|       |            // _CHECK_PERIODIC
  |  | 8476|    184|            {
  |  | 8477|    184|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8478|    184|                _PyFrame_StackPointerValidate(frame);
  |  | 8479|    184|                int err = check_periodics(tstate);
  |  | 8480|    184|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8481|    184|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8481:21): [True: 0, False: 184]
  |  |  ------------------
  |  | 8482|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8483|      0|                }
  |  | 8484|    184|            }
  |  | 8485|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8486|    184|            {
  |  | 8487|    184|                assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8487:17): [True: 0, False: 184]
  |  |  ------------------
  |  | 8488|      0|                JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8489|      0|            }
  |  | 8490|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 8491|      0|        }
  |  | 8492|       |
  |  | 8493|      0|        TARGET(JUMP_BACKWARD_JIT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8494|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8495|       |            int opcode = JUMP_BACKWARD_JIT;
  |  | 8496|       |            (void)(opcode);
  |  | 8497|       |            #endif
  |  | 8498|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8499|      0|            (void)this_instr;
  |  | 8500|      0|            frame->instr_ptr = next_instr;
  |  | 8501|      0|            next_instr += 2;
  |  | 8502|      0|            INSTRUCTION_STATS(JUMP_BACKWARD_JIT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8503|      0|            static_assert(1 == 1, "incorrect cache size");
  |  | 8504|       |            /* Skip 1 cache entry */
  |  | 8505|       |            // _CHECK_PERIODIC
  |  | 8506|      0|            {
  |  | 8507|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8508|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8509|      0|                int err = check_periodics(tstate);
  |  | 8510|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8511|      0|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8511:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8512|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8513|      0|                }
  |  | 8514|      0|            }
  |  | 8515|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8516|      0|            {
  |  | 8517|      0|                assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8517:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8518|      0|                JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8519|      0|            }
  |  | 8520|       |            // _JIT
  |  | 8521|      0|            {
  |  | 8522|       |                #ifdef _Py_TIER2
  |  | 8523|       |                bool is_resume = this_instr->op.code == RESUME_CHECK_JIT;
  |  | 8524|       |                _Py_BackoffCounter counter = this_instr[1].counter;
  |  | 8525|       |                if ((backoff_counter_triggers(counter) &&
  |  | 8526|       |                        !IS_JIT_TRACING() &&
  |  | 8527|       |                        (this_instr->op.code == JUMP_BACKWARD_JIT || is_resume)) &&
  |  | 8528|       |                    next_instr->op.code != ENTER_EXECUTOR) {
  |  | 8529|       |                    _Py_CODEUNIT *insert_exec_at = this_instr;
  |  | 8530|       |                    for (int tmp = oparg; tmp > 255; tmp >>= 8) {
  |  | 8531|       |                        insert_exec_at--;
  |  | 8532|       |                    }
  |  | 8533|       |                    int succ = _PyJit_TryInitializeTracing(tstate, frame, this_instr, insert_exec_at,
  |  | 8534|       |                        is_resume ? insert_exec_at : next_instr, stack_pointer, 0, NULL, oparg, NULL);
  |  | 8535|       |                    if (succ) {
  |  | 8536|       |                        ENTER_TRACING();
  |  | 8537|       |                    }
  |  | 8538|       |                    else {
  |  | 8539|       |                        this_instr[1].counter = restart_backoff_counter(counter);
  |  | 8540|       |                    }
  |  | 8541|       |                }
  |  | 8542|       |                else {
  |  | 8543|       |                    ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  | 8544|       |                }
  |  | 8545|       |                #endif
  |  | 8546|      0|            }
  |  | 8547|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 8548|      0|        }
  |  | 8549|       |
  |  | 8550|    226|        TARGET(JUMP_BACKWARD_NO_INTERRUPT) {
  |  |  ------------------
  |  |  |  |  132|    226|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8551|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8552|       |            int opcode = JUMP_BACKWARD_NO_INTERRUPT;
  |  | 8553|       |            (void)(opcode);
  |  | 8554|       |            #endif
  |  | 8555|    226|            frame->instr_ptr = next_instr;
  |  | 8556|    226|            next_instr += 1;
  |  | 8557|    226|            INSTRUCTION_STATS(JUMP_BACKWARD_NO_INTERRUPT);
  |  |  ------------------
  |  |  |  |   71|    226|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8558|    226|            assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8558:13): [True: 226, False: 0]
  |  |  ------------------
  |  | 8559|    226|            JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  261|    226|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8560|    226|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    226|    { \
  |  |  |  |  201|    226|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    226|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    226|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    226|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    226|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    226|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    226|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    226|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 226]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    226|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    226|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    226|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    226|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    226|    }
  |  |  ------------------
  |  | 8561|    226|        }
  |  | 8562|       |
  |  | 8563|  3.75k|        TARGET(JUMP_BACKWARD_NO_JIT) {
  |  |  ------------------
  |  |  |  |  132|  3.75k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8564|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8565|       |            int opcode = JUMP_BACKWARD_NO_JIT;
  |  | 8566|       |            (void)(opcode);
  |  | 8567|       |            #endif
  |  | 8568|  3.75k|            frame->instr_ptr = next_instr;
  |  | 8569|  3.75k|            next_instr += 2;
  |  | 8570|  3.75k|            INSTRUCTION_STATS(JUMP_BACKWARD_NO_JIT);
  |  |  ------------------
  |  |  |  |   71|  3.75k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8571|  3.75k|            static_assert(1 == 1, "incorrect cache size");
  |  | 8572|       |            /* Skip 1 cache entry */
  |  | 8573|       |            // _CHECK_PERIODIC
  |  | 8574|  3.75k|            {
  |  | 8575|  3.75k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8576|  3.75k|                _PyFrame_StackPointerValidate(frame);
  |  | 8577|  3.75k|                int err = check_periodics(tstate);
  |  | 8578|  3.75k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8579|  3.75k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8579:21): [True: 0, False: 3.75k]
  |  |  ------------------
  |  | 8580|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8581|      0|                }
  |  | 8582|  3.75k|            }
  |  | 8583|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8584|  3.75k|            {
  |  | 8585|  3.75k|                assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8585:17): [True: 3.75k, False: 0]
  |  |  ------------------
  |  | 8586|  3.75k|                JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  261|  3.75k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8587|  3.75k|            }
  |  | 8588|  3.75k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.75k|    { \
  |  |  |  |  201|  3.75k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.75k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.75k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.75k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.75k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.75k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.75k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.75k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.75k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.75k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.75k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.75k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.75k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.75k|    }
  |  |  ------------------
  |  | 8589|  3.75k|        }
  |  | 8590|       |
  |  | 8591|    709|        TARGET(JUMP_FORWARD) {
  |  |  ------------------
  |  |  |  |  132|    709|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8592|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8593|       |            int opcode = JUMP_FORWARD;
  |  | 8594|       |            (void)(opcode);
  |  | 8595|       |            #endif
  |  | 8596|    709|            frame->instr_ptr = next_instr;
  |  | 8597|    709|            next_instr += 1;
  |  | 8598|    709|            INSTRUCTION_STATS(JUMP_FORWARD);
  |  |  ------------------
  |  |  |  |   71|    709|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8599|    709|            JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|    709|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8600|    709|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    709|    { \
  |  |  |  |  201|    709|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    709|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    709|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    709|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    709|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    709|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    709|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    709|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 709]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    709|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    709|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    709|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    709|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    709|    }
  |  |  ------------------
  |  | 8601|    709|        }
  |  | 8602|       |
  |  | 8603|  2.29k|        TARGET(LIST_APPEND) {
  |  |  ------------------
  |  |  |  |  132|  2.29k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8604|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8605|       |            int opcode = LIST_APPEND;
  |  | 8606|       |            (void)(opcode);
  |  | 8607|       |            #endif
  |  | 8608|  2.29k|            frame->instr_ptr = next_instr;
  |  | 8609|  2.29k|            next_instr += 1;
  |  | 8610|  2.29k|            INSTRUCTION_STATS(LIST_APPEND);
  |  |  ------------------
  |  |  |  |   71|  2.29k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8611|  2.29k|            _PyStackRef list;
  |  | 8612|  2.29k|            _PyStackRef v;
  |  | 8613|  2.29k|            v = stack_pointer[-1];
  |  | 8614|  2.29k|            list = stack_pointer[-2 - (oparg-1)];
  |  | 8615|  2.29k|            int err = _PyList_AppendTakeRef((PyListObject *)PyStackRef_AsPyObjectBorrow(list),
  |  | 8616|  2.29k|                PyStackRef_AsPyObjectSteal(v));
  |  | 8617|  2.29k|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (8617:17): [True: 0, False: 2.29k]
  |  |  ------------------
  |  | 8618|      0|                JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8619|      0|            }
  |  | 8620|  2.29k|            stack_pointer += -1;
  |  | 8621|  2.29k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.29k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8622|  2.29k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.29k|    { \
  |  |  |  |  201|  2.29k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.29k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.29k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.29k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.29k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.29k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.29k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.29k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.29k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.29k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.29k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.29k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.29k|    }
  |  |  ------------------
  |  | 8623|  2.29k|        }
  |  | 8624|       |
  |  | 8625|     92|        TARGET(LIST_EXTEND) {
  |  |  ------------------
  |  |  |  |  132|     92|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8626|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8627|       |            int opcode = LIST_EXTEND;
  |  | 8628|       |            (void)(opcode);
  |  | 8629|       |            #endif
  |  | 8630|     92|            frame->instr_ptr = next_instr;
  |  | 8631|     92|            next_instr += 1;
  |  | 8632|     92|            INSTRUCTION_STATS(LIST_EXTEND);
  |  |  ------------------
  |  |  |  |   71|     92|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8633|     92|            _PyStackRef list_st;
  |  | 8634|     92|            _PyStackRef iterable_st;
  |  | 8635|     92|            _PyStackRef i;
  |  | 8636|     92|            _PyStackRef value;
  |  | 8637|       |            // _LIST_EXTEND
  |  | 8638|     92|            {
  |  | 8639|     92|                iterable_st = stack_pointer[-1];
  |  | 8640|     92|                list_st = stack_pointer[-2 - (oparg-1)];
  |  | 8641|     92|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  | 8642|     92|                PyObject *iterable = PyStackRef_AsPyObjectBorrow(iterable_st);
  |  | 8643|     92|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8644|     92|                _PyFrame_StackPointerValidate(frame);
  |  | 8645|     92|                PyObject *none_val = _PyList_Extend((PyListObject *)list, iterable);
  |  | 8646|     92|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8647|     92|                if (none_val == NULL) {
  |  |  ------------------
  |  |  |  Branch (8647:21): [True: 0, False: 92]
  |  |  ------------------
  |  | 8648|      0|                    int matches = _PyErr_ExceptionMatches(tstate, PyExc_TypeError);
  |  | 8649|      0|                    if (matches &&
  |  |  ------------------
  |  |  |  Branch (8649:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8650|      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 (8650:26): [True: 0, False: 0]
  |  |  |  Branch (8650:64): [True: 0, False: 0]
  |  |  ------------------
  |  | 8651|      0|                    {
  |  | 8652|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (8652:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8653|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 8654|      0|                        _PyErr_Clear(tstate);
  |  | 8655|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 8656|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (8656:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8657|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 8658|      0|                        _PyErr_Format(tstate, PyExc_TypeError,
  |  | 8659|      0|                                  "Value after * must be an iterable, not %.200s",
  |  | 8660|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8661|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 8662|      0|                    }
  |  | 8663|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8664|      0|                }
  |  | 8665|     92|                assert(Py_IsNone(none_val));
  |  |  ------------------
  |  |  |  Branch (8665:17): [True: 92, False: 0]
  |  |  ------------------
  |  | 8666|     92|                i = iterable_st;
  |  | 8667|     92|            }
  |  | 8668|       |            // _POP_TOP
  |  | 8669|      0|            {
  |  | 8670|     92|                value = i;
  |  | 8671|     92|                stack_pointer += -1;
  |  | 8672|     92|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     92|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8673|     92|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8674|     92|                _PyFrame_StackPointerValidate(frame);
  |  | 8675|     92|                PyStackRef_XCLOSE(value);
  |  | 8676|     92|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8677|     92|            }
  |  | 8678|     92|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     92|    { \
  |  |  |  |  201|     92|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     92|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     92|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     92|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     92|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     92|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     92|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     92|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 92]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     92|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     92|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     92|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     92|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     92|    }
  |  |  ------------------
  |  | 8679|     92|        }
  |  | 8680|       |
  |  | 8681|  4.10k|        TARGET(LOAD_ATTR) {
  |  |  ------------------
  |  |  |  |  132|  4.10k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8682|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8683|       |            int opcode = LOAD_ATTR;
  |  | 8684|       |            (void)(opcode);
  |  | 8685|       |            #endif
  |  | 8686|  4.10k|            frame->instr_ptr = next_instr;
  |  | 8687|  4.10k|            next_instr += 10;
  |  | 8688|  4.10k|            INSTRUCTION_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |   71|  4.10k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8689|  5.86k|            PREDICTED_LOAD_ATTR:;
  |  | 8690|  5.86k|            _Py_CODEUNIT* const this_instr = next_instr - 10;
  |  | 8691|  5.86k|            (void)this_instr;
  |  | 8692|  5.86k|            _PyStackRef owner;
  |  | 8693|  5.86k|            _PyStackRef attr;
  |  | 8694|  5.86k|            _PyStackRef *self_or_null;
  |  | 8695|       |            // _SPECIALIZE_LOAD_ATTR
  |  | 8696|  5.86k|            {
  |  | 8697|  5.86k|                owner = stack_pointer[-1];
  |  | 8698|  5.86k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 8699|  5.86k|                (void)counter;
  |  | 8700|  5.86k|                #if ENABLE_SPECIALIZATION
  |  | 8701|  5.86k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  5.86k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 858, False: 5.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8702|    858|                    PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  236|    858|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    858|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    858|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    858|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8702:38): [True: 858, False: 0]
  |  |  ------------------
  |  | 8703|      0|                    next_instr = this_instr;
  |  | 8704|    858|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8705|    858|                    _PyFrame_StackPointerValidate(frame);
  |  | 8706|    858|                    _Py_Specialize_LoadAttr(owner, next_instr, name);
  |  | 8707|    858|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8708|    858|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    858|    { \
  |  |  |  |  217|    858|        opcode = next_instr->op.code; \
  |  |  |  |  218|    858|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    858|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    858|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    858|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    858|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    858|    }
  |  |  ------------------
  |  | 8709|    858|                }
  |  | 8710|  5.86k|                OPCODE_DEFERRED_INC(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |   90|  5.86k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 8711|  5.86k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  5.86k|    do { \
  |  |  |  |  378|  5.86k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  5.86k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 5.86k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8712|  5.86k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 8713|  5.86k|            }
  |  | 8714|       |            /* Skip 8 cache entries */
  |  | 8715|       |            // _LOAD_ATTR
  |  | 8716|      0|            {
  |  | 8717|  5.86k|                self_or_null = &stack_pointer[0];
  |  | 8718|  5.86k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 1);
  |  |  ------------------
  |  |  |  |  236|  5.86k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  5.86k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  5.86k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8718:34): [True: 5.00k, False: 858]
  |  |  ------------------
  |  | 8719|  5.00k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8719:21): [True: 1.19k, False: 3.81k]
  |  |  ------------------
  |  | 8720|  1.19k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8721|  1.19k|                    _PyFrame_StackPointerValidate(frame);
  |  | 8722|  1.19k|                    attr = _Py_LoadAttr_StackRefSteal(tstate, owner, name, self_or_null);
  |  | 8723|  1.19k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8724|  1.19k|                    if (PyStackRef_IsNull(attr)) {
  |  |  ------------------
  |  |  |  |  482|  1.19k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.19k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.19k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 2, False: 1.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8725|      2|                        JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8726|      0|                    }
  |  | 8727|  1.19k|                }
  |  | 8728|  3.81k|                else {
  |  | 8729|  3.81k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8730|  3.81k|                    _PyFrame_StackPointerValidate(frame);
  |  | 8731|  3.81k|                    attr = _PyObject_GetAttrStackRef(PyStackRef_AsPyObjectBorrow(owner), name);
  |  | 8732|  3.81k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8733|  3.81k|                    stack_pointer[-1] = attr;
  |  | 8734|  3.81k|                    stack_pointer += (oparg&1);
  |  | 8735|  3.81k|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.81k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8736|  3.81k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8737|  3.81k|                    _PyFrame_StackPointerValidate(frame);
  |  | 8738|  3.81k|                    PyStackRef_CLOSE(owner);
  |  | 8739|  3.81k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8740|  3.81k|                    if (PyStackRef_IsNull(attr)) {
  |  |  ------------------
  |  |  |  |  482|  3.81k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  3.81k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  3.81k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 24, False: 3.79k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8741|     24|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     24|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8742|      0|                    }
  |  | 8743|  3.79k|                    stack_pointer += -(oparg&1);
  |  | 8744|  3.79k|                }
  |  | 8745|  5.00k|            }
  |  | 8746|  4.98k|            stack_pointer[-1] = attr;
  |  | 8747|  4.98k|            stack_pointer += (oparg&1);
  |  | 8748|  4.98k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  4.98k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8749|  4.98k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.98k|    { \
  |  |  |  |  201|  4.98k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.98k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.98k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.98k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  4.98k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.98k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.98k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.98k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.98k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.98k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.98k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.98k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.98k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.98k|    }
  |  |  ------------------
  |  | 8750|  4.98k|        }
  |  | 8751|       |
  |  | 8752|    106|        TARGET(LOAD_ATTR_CLASS) {
  |  |  ------------------
  |  |  |  |  132|    106|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8753|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8754|       |            int opcode = LOAD_ATTR_CLASS;
  |  | 8755|       |            (void)(opcode);
  |  | 8756|       |            #endif
  |  | 8757|    106|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8758|    106|            (void)this_instr;
  |  | 8759|    106|            frame->instr_ptr = next_instr;
  |  | 8760|    106|            next_instr += 10;
  |  | 8761|    106|            INSTRUCTION_STATS(LOAD_ATTR_CLASS);
  |  |  ------------------
  |  |  |  |   71|    106|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8762|    106|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8763|    106|            _PyStackRef owner;
  |  | 8764|    106|            _PyStackRef attr;
  |  | 8765|    106|            _PyStackRef *null;
  |  | 8766|       |            /* Skip 1 cache entry */
  |  | 8767|       |            // _CHECK_ATTR_CLASS
  |  | 8768|    106|            {
  |  | 8769|    106|                owner = stack_pointer[-1];
  |  | 8770|    106|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8771|    106|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8772|    106|                if (!PyType_Check(owner_o)) {
  |  |  ------------------
  |  |  |  |  766|    106|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    106|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    106|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8772:21): [True: 0, False: 106]
  |  |  ------------------
  |  | 8773|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8774|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8774:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8775|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8776|      0|                }
  |  | 8777|    106|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8777:17): [True: 106, False: 0]
  |  |  ------------------
  |  | 8778|    106|                if (FT_ATOMIC_LOAD_UINT_RELAXED(((PyTypeObject *)owner_o)->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|    106|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8778:21): [True: 2, False: 104]
  |  |  ------------------
  |  | 8779|      2|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      2|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8780|      2|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8780:21): [True: 2, False: 0]
  |  |  ------------------
  |  | 8781|      2|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      2|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8782|      0|                }
  |  | 8783|    106|            }
  |  | 8784|       |            /* Skip 2 cache entries */
  |  | 8785|       |            // _LOAD_ATTR_CLASS
  |  | 8786|    104|            {
  |  | 8787|    104|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8788|    104|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    104|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8789|    104|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (8789:17): [True: 104, False: 0]
  |  |  ------------------
  |  | 8790|    104|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|    104|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8791|    104|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8792|    104|                _PyFrame_StackPointerValidate(frame);
  |  | 8793|    104|                _PyStackRef tmp = owner;
  |  | 8794|    104|                owner = attr;
  |  | 8795|    104|                stack_pointer[-1] = owner;
  |  | 8796|    104|                PyStackRef_CLOSE(tmp);
  |  | 8797|    104|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8798|    104|            }
  |  | 8799|       |            // _PUSH_NULL_CONDITIONAL
  |  | 8800|      0|            {
  |  | 8801|    104|                null = &stack_pointer[0];
  |  | 8802|    104|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8802:21): [True: 3, False: 101]
  |  |  ------------------
  |  | 8803|      3|                    null[0] = PyStackRef_NULL;
  |  | 8804|      3|                }
  |  | 8805|    104|            }
  |  | 8806|    104|            stack_pointer += (oparg & 1);
  |  | 8807|    104|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    104|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8808|    104|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    104|    { \
  |  |  |  |  201|    104|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    104|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    104|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    104|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    104|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    104|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    104|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    104|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 104]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    104|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    104|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    104|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    104|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    104|    }
  |  |  ------------------
  |  | 8809|    104|        }
  |  | 8810|       |
  |  | 8811|    145|        TARGET(LOAD_ATTR_CLASS_WITH_METACLASS_CHECK) {
  |  |  ------------------
  |  |  |  |  132|    145|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8812|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8813|       |            int opcode = LOAD_ATTR_CLASS_WITH_METACLASS_CHECK;
  |  | 8814|       |            (void)(opcode);
  |  | 8815|       |            #endif
  |  | 8816|    145|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8817|    145|            (void)this_instr;
  |  | 8818|    145|            frame->instr_ptr = next_instr;
  |  | 8819|    145|            next_instr += 10;
  |  | 8820|    145|            INSTRUCTION_STATS(LOAD_ATTR_CLASS_WITH_METACLASS_CHECK);
  |  |  ------------------
  |  |  |  |   71|    145|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8821|    145|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8822|    145|            _PyStackRef owner;
  |  | 8823|    145|            _PyStackRef attr;
  |  | 8824|    145|            _PyStackRef *null;
  |  | 8825|       |            /* Skip 1 cache entry */
  |  | 8826|       |            // _GUARD_TYPE_VERSION
  |  | 8827|    145|            {
  |  | 8828|    145|                owner = stack_pointer[-1];
  |  | 8829|    145|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8830|    145|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|    145|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    145|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8831|    145|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8831:17): [True: 145, False: 0]
  |  |  ------------------
  |  | 8832|    145|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|    145|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8832:21): [True: 0, False: 145]
  |  |  ------------------
  |  | 8833|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8834|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8834:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8835|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8836|      0|                }
  |  | 8837|    145|            }
  |  | 8838|       |            // _CHECK_ATTR_CLASS
  |  | 8839|    145|            {
  |  | 8840|    145|                uint32_t type_version = read_u32(&this_instr[4].cache);
  |  | 8841|    145|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8842|    145|                if (!PyType_Check(owner_o)) {
  |  |  ------------------
  |  |  |  |  766|    145|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    145|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8842:21): [True: 0, False: 145]
  |  |  ------------------
  |  | 8843|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8844|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8844:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8845|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8846|      0|                }
  |  | 8847|    145|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8847:17): [True: 145, False: 0]
  |  |  ------------------
  |  | 8848|    145|                if (FT_ATOMIC_LOAD_UINT_RELAXED(((PyTypeObject *)owner_o)->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|    145|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8848:21): [True: 103, False: 42]
  |  |  ------------------
  |  | 8849|    103|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|    103|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8850|    103|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8850:21): [True: 103, False: 0]
  |  |  ------------------
  |  | 8851|    103|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    103|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8852|      0|                }
  |  | 8853|    145|            }
  |  | 8854|       |            // _LOAD_ATTR_CLASS
  |  | 8855|     42|            {
  |  | 8856|     42|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8857|     42|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     42|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8858|     42|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (8858:17): [True: 42, False: 0]
  |  |  ------------------
  |  | 8859|     42|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|     42|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8860|     42|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8861|     42|                _PyFrame_StackPointerValidate(frame);
  |  | 8862|     42|                _PyStackRef tmp = owner;
  |  | 8863|     42|                owner = attr;
  |  | 8864|     42|                stack_pointer[-1] = owner;
  |  | 8865|     42|                PyStackRef_CLOSE(tmp);
  |  | 8866|     42|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8867|     42|            }
  |  | 8868|       |            // _PUSH_NULL_CONDITIONAL
  |  | 8869|      0|            {
  |  | 8870|     42|                null = &stack_pointer[0];
  |  | 8871|     42|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8871:21): [True: 1, False: 41]
  |  |  ------------------
  |  | 8872|      1|                    null[0] = PyStackRef_NULL;
  |  | 8873|      1|                }
  |  | 8874|     42|            }
  |  | 8875|     42|            stack_pointer += (oparg & 1);
  |  | 8876|     42|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     42|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8877|     42|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     42|    { \
  |  |  |  |  201|     42|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     42|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     42|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     42|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     42|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     42|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     42|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     42|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 42]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     42|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     42|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     42|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     42|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     42|    }
  |  |  ------------------
  |  | 8878|     42|        }
  |  | 8879|       |
  |  | 8880|      0|        TARGET(LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8881|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8882|       |            int opcode = LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN;
  |  | 8883|       |            (void)(opcode);
  |  | 8884|       |            #endif
  |  | 8885|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8886|      0|            (void)this_instr;
  |  | 8887|      0|            frame->instr_ptr = next_instr;
  |  | 8888|      0|            next_instr += 10;
  |  | 8889|      0|            INSTRUCTION_STATS(LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8890|      0|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8891|      0|            _PyStackRef owner;
  |  | 8892|      0|            _PyStackRef new_frame;
  |  | 8893|       |            /* Skip 1 cache entry */
  |  | 8894|       |            // _GUARD_TYPE_VERSION
  |  | 8895|      0|            {
  |  | 8896|      0|                owner = stack_pointer[-1];
  |  | 8897|      0|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8898|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8899|      0|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8899:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8900|      0|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|      0|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8900:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8901|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8902|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8902:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8903|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8904|      0|                }
  |  | 8905|      0|            }
  |  | 8906|       |            // _CHECK_PEP_523
  |  | 8907|      0|            {
  |  | 8908|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8909|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8910|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8910:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8911|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8912|      0|                }
  |  | 8913|      0|            }
  |  | 8914|       |            // _LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN_FRAME
  |  | 8915|      0|            {
  |  | 8916|      0|                uint32_t func_version = read_u32(&this_instr[4].cache);
  |  | 8917|      0|                PyObject *getattribute = read_obj(&this_instr[6].cache);
  |  | 8918|      0|                assert((oparg & 1) == 0);
  |  |  ------------------
  |  |  |  Branch (8918:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8919|      0|                assert(Py_IS_TYPE(getattribute, &PyFunction_Type));
  |  |  ------------------
  |  |  |  Branch (8919:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8920|      0|                PyFunctionObject *f = (PyFunctionObject *)getattribute;
  |  | 8921|      0|                assert(func_version != 0);
  |  |  ------------------
  |  |  |  Branch (8921:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8922|      0|                if (f->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (8922:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8923|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8924|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8924:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8925|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8926|      0|                }
  |  | 8927|      0|                PyCodeObject *code = (PyCodeObject *)f->func_code;
  |  | 8928|      0|                assert(code->co_argcount == 2);
  |  |  ------------------
  |  |  |  Branch (8928:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8929|      0|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (8929:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8930|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8931|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8931:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8932|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8933|      0|                }
  |  | 8934|      0|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8935|      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 (8935:34): [True: 0, False: 0]
  |  |  ------------------
  |  | 8936|      0|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(
  |  | 8937|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8938|      0|                pushed_frame->localsplus[0] = owner;
  |  | 8939|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8940|      0|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 8941|      0|            }
  |  | 8942|       |            // _SAVE_RETURN_OFFSET
  |  | 8943|      0|            {
  |  | 8944|      0|                #if TIER_ONE
  |  | 8945|      0|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 8946|      0|                #endif
  |  | 8947|       |                #if TIER_TWO
  |  | 8948|       |                frame->return_offset = oparg;
  |  | 8949|       |                #endif
  |  | 8950|      0|            }
  |  | 8951|       |            // _PUSH_FRAME
  |  | 8952|      0|            {
  |  | 8953|      0|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (8953:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8954|      0|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 8955|      0|                stack_pointer += -1;
  |  | 8956|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8957|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8958|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8959|      0|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (8959:17): [True: 0, False: 0]
  |  |  |  Branch (8959:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8960|      0|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 8961|      0|                frame = tstate->current_frame = temp;
  |  | 8962|      0|                tstate->py_recursion_remaining--;
  |  | 8963|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8964|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8965|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8966|       |                #ifdef Py_DEBUG
  |  | 8967|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 8968|       |                #endif
  |  | 8969|      0|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|      0|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 8970|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 8971|      0|            }
  |  | 8972|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 8973|      0|        }
  |  | 8974|       |
  |  | 8975|  5.36k|        TARGET(LOAD_ATTR_INSTANCE_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  5.36k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8976|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8977|       |            int opcode = LOAD_ATTR_INSTANCE_VALUE;
  |  | 8978|       |            (void)(opcode);
  |  | 8979|       |            #endif
  |  | 8980|  5.36k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8981|  5.36k|            (void)this_instr;
  |  | 8982|  5.36k|            frame->instr_ptr = next_instr;
  |  | 8983|  5.36k|            next_instr += 10;
  |  | 8984|  5.36k|            INSTRUCTION_STATS(LOAD_ATTR_INSTANCE_VALUE);
  |  |  ------------------
  |  |  |  |   71|  5.36k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8985|  5.36k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8986|  5.36k|            _PyStackRef owner;
  |  | 8987|  5.36k|            _PyStackRef attr;
  |  | 8988|  5.36k|            _PyStackRef o;
  |  | 8989|  5.36k|            _PyStackRef value;
  |  | 8990|  5.36k|            _PyStackRef *null;
  |  | 8991|       |            /* Skip 1 cache entry */
  |  | 8992|       |            // _GUARD_TYPE_VERSION
  |  | 8993|  5.36k|            {
  |  | 8994|  5.36k|                owner = stack_pointer[-1];
  |  | 8995|  5.36k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8996|  5.36k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  5.36k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8997|  5.36k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8997:17): [True: 5.36k, False: 0]
  |  |  ------------------
  |  | 8998|  5.36k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|  5.36k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8998:21): [True: 502, False: 4.86k]
  |  |  ------------------
  |  | 8999|    502|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|    502|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9000|    502|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9000:21): [True: 502, False: 0]
  |  |  ------------------
  |  | 9001|    502|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    502|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9002|      0|                }
  |  | 9003|  5.36k|            }
  |  | 9004|       |            // _CHECK_MANAGED_OBJECT_HAS_VALUES
  |  | 9005|  4.86k|            {
  |  | 9006|  4.86k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9007|  4.86k|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (9007:17): [True: 4.86k, False: 0]
  |  |  ------------------
  |  | 9008|  4.86k|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (9008:17): [True: 4.86k, False: 0]
  |  |  ------------------
  |  | 9009|  4.86k|                if (!FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  156|  4.86k|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (9009:21): [True: 0, False: 4.86k]
  |  |  ------------------
  |  | 9010|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9011|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9011:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9012|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9013|      0|                }
  |  | 9014|  4.86k|            }
  |  | 9015|       |            // _LOAD_ATTR_INSTANCE_VALUE
  |  | 9016|  4.86k|            {
  |  | 9017|  4.86k|                uint16_t offset = read_u16(&this_instr[4].cache);
  |  | 9018|  4.86k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9019|  4.86k|                PyObject **value_ptr = (PyObject**)(((char *)owner_o) + offset);
  |  | 9020|  4.86k|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR_ACQUIRE(*value_ptr);
  |  |  ------------------
  |  |  |  |  152|  4.86k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 9021|  4.86k|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9021:21): [True: 0, False: 4.86k]
  |  |  ------------------
  |  | 9022|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9023|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9023:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9024|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9025|      0|                }
  |  | 9026|       |                #ifdef Py_GIL_DISABLED
  |  | 9027|       |                int increfed = _Py_TryIncrefCompareStackRef(value_ptr, attr_o, &attr);
  |  | 9028|       |                if (!increfed) {
  |  | 9029|       |                    if (true) {
  |  | 9030|       |                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9031|       |                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9032|       |                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9033|       |                    }
  |  | 9034|       |                }
  |  | 9035|       |                #else
  |  | 9036|  4.86k|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|  4.86k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9037|  4.86k|                #endif
  |  | 9038|  4.86k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  4.86k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9039|  4.86k|                o = owner;
  |  | 9040|  4.86k|            }
  |  | 9041|       |            // _POP_TOP
  |  | 9042|      0|            {
  |  | 9043|  4.86k|                value = o;
  |  | 9044|  4.86k|                stack_pointer[-1] = attr;
  |  | 9045|  4.86k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9046|  4.86k|                _PyFrame_StackPointerValidate(frame);
  |  | 9047|  4.86k|                PyStackRef_XCLOSE(value);
  |  | 9048|  4.86k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9049|  4.86k|            }
  |  | 9050|       |            /* Skip 5 cache entries */
  |  | 9051|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9052|  4.86k|            {
  |  | 9053|  4.86k|                null = &stack_pointer[0];
  |  | 9054|  4.86k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9054:21): [True: 114, False: 4.75k]
  |  |  ------------------
  |  | 9055|    114|                    null[0] = PyStackRef_NULL;
  |  | 9056|    114|                }
  |  | 9057|  4.86k|            }
  |  | 9058|  4.86k|            stack_pointer += (oparg & 1);
  |  | 9059|  4.86k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  4.86k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9060|  4.86k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.86k|    { \
  |  |  |  |  201|  4.86k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.86k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.86k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.86k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  4.86k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.86k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.86k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.86k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.86k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.86k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.86k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.86k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.86k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.86k|    }
  |  |  ------------------
  |  | 9061|  4.86k|        }
  |  | 9062|       |
  |  | 9063|     25|        TARGET(LOAD_ATTR_METHOD_LAZY_DICT) {
  |  |  ------------------
  |  |  |  |  132|     25|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9064|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9065|       |            int opcode = LOAD_ATTR_METHOD_LAZY_DICT;
  |  | 9066|       |            (void)(opcode);
  |  | 9067|       |            #endif
  |  | 9068|     25|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9069|     25|            (void)this_instr;
  |  | 9070|     25|            frame->instr_ptr = next_instr;
  |  | 9071|     25|            next_instr += 10;
  |  | 9072|     25|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_LAZY_DICT);
  |  |  ------------------
  |  |  |  |   71|     25|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9073|     25|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9074|     25|            _PyStackRef owner;
  |  | 9075|     25|            _PyStackRef attr;
  |  | 9076|     25|            _PyStackRef self;
  |  | 9077|       |            /* Skip 1 cache entry */
  |  | 9078|       |            // _GUARD_TYPE_VERSION
  |  | 9079|     25|            {
  |  | 9080|     25|                owner = stack_pointer[-1];
  |  | 9081|     25|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9082|     25|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|     25|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9083|     25|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9083:17): [True: 25, False: 0]
  |  |  ------------------
  |  | 9084|     25|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|     25|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9084:21): [True: 0, False: 25]
  |  |  ------------------
  |  | 9085|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9086|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9086:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9087|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9088|      0|                }
  |  | 9089|     25|            }
  |  | 9090|       |            // _CHECK_ATTR_METHOD_LAZY_DICT
  |  | 9091|     25|            {
  |  | 9092|     25|                uint16_t dictoffset = read_u16(&this_instr[4].cache);
  |  | 9093|     25|                char *ptr = ((char *)PyStackRef_AsPyObjectBorrow(owner)) + MANAGED_DICT_OFFSET + dictoffset;
  |  |  ------------------
  |  |  |  |  910|     25|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  |  |  ------------------
  |  | 9094|     25|                PyObject *dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*(PyObject **)ptr);
  |  |  ------------------
  |  |  |  |  152|     25|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 9095|     25|                if (dict != NULL) {
  |  |  ------------------
  |  |  |  Branch (9095:21): [True: 0, False: 25]
  |  |  ------------------
  |  | 9096|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9097|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9097:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9098|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9099|      0|                }
  |  | 9100|     25|            }
  |  | 9101|       |            /* Skip 1 cache entry */
  |  | 9102|       |            // _LOAD_ATTR_METHOD_LAZY_DICT
  |  | 9103|     25|            {
  |  | 9104|     25|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9105|     25|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (9105:17): [True: 25, False: 0]
  |  |  ------------------
  |  | 9106|     25|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     25|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9107|     25|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9107:17): [True: 25, False: 0]
  |  |  ------------------
  |  | 9108|     25|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  |  ------------------
  |  |  |  Branch (9108:17): [True: 25, False: 0]
  |  |  ------------------
  |  | 9109|     25|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|     25|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9110|     25|                self = owner;
  |  | 9111|     25|            }
  |  | 9112|      0|            stack_pointer[-1] = attr;
  |  | 9113|     25|            stack_pointer[0] = self;
  |  | 9114|     25|            stack_pointer += 1;
  |  | 9115|     25|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     25|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9116|     25|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     25|    { \
  |  |  |  |  201|     25|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     25|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     25|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     25|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     25|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     25|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     25|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     25|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 25]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     25|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     25|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     25|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     25|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     25|    }
  |  |  ------------------
  |  | 9117|     25|        }
  |  | 9118|       |
  |  | 9119|  3.81k|        TARGET(LOAD_ATTR_METHOD_NO_DICT) {
  |  |  ------------------
  |  |  |  |  132|  3.81k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9120|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9121|       |            int opcode = LOAD_ATTR_METHOD_NO_DICT;
  |  | 9122|       |            (void)(opcode);
  |  | 9123|       |            #endif
  |  | 9124|  3.81k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9125|  3.81k|            (void)this_instr;
  |  | 9126|  3.81k|            frame->instr_ptr = next_instr;
  |  | 9127|  3.81k|            next_instr += 10;
  |  | 9128|  3.81k|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_NO_DICT);
  |  |  ------------------
  |  |  |  |   71|  3.81k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9129|  3.81k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9130|  3.81k|            _PyStackRef owner;
  |  | 9131|  3.81k|            _PyStackRef attr;
  |  | 9132|  3.81k|            _PyStackRef self;
  |  | 9133|       |            /* Skip 1 cache entry */
  |  | 9134|       |            // _GUARD_TYPE_VERSION
  |  | 9135|  3.81k|            {
  |  | 9136|  3.81k|                owner = stack_pointer[-1];
  |  | 9137|  3.81k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9138|  3.81k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  3.81k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9139|  3.81k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9139:17): [True: 3.81k, False: 0]
  |  |  ------------------
  |  | 9140|  3.81k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|  3.81k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9140:21): [True: 0, False: 3.81k]
  |  |  ------------------
  |  | 9141|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9142|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9142:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9143|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9144|      0|                }
  |  | 9145|  3.81k|            }
  |  | 9146|       |            /* Skip 2 cache entries */
  |  | 9147|       |            // _LOAD_ATTR_METHOD_NO_DICT
  |  | 9148|  3.81k|            {
  |  | 9149|  3.81k|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9150|  3.81k|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (9150:17): [True: 3.81k, False: 0]
  |  |  ------------------
  |  | 9151|  3.81k|                assert(Py_TYPE(PyStackRef_AsPyObjectBorrow(owner))->tp_dictoffset == 0);
  |  |  ------------------
  |  |  |  Branch (9151:17): [True: 3.81k, False: 0]
  |  |  ------------------
  |  | 9152|  3.81k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  3.81k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9153|  3.81k|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9153:17): [True: 3.81k, False: 0]
  |  |  ------------------
  |  | 9154|  3.81k|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  |  ------------------
  |  |  |  Branch (9154:17): [True: 3.81k, False: 0]
  |  |  ------------------
  |  | 9155|  3.81k|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|  3.81k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9156|  3.81k|                self = owner;
  |  | 9157|  3.81k|            }
  |  | 9158|      0|            stack_pointer[-1] = attr;
  |  | 9159|  3.81k|            stack_pointer[0] = self;
  |  | 9160|  3.81k|            stack_pointer += 1;
  |  | 9161|  3.81k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.81k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9162|  3.81k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.81k|    { \
  |  |  |  |  201|  3.81k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.81k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.81k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.81k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.81k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.81k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.81k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.81k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.81k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.81k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.81k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.81k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.81k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.81k|    }
  |  |  ------------------
  |  | 9163|  3.81k|        }
  |  | 9164|       |
  |  | 9165|    603|        TARGET(LOAD_ATTR_METHOD_WITH_VALUES) {
  |  |  ------------------
  |  |  |  |  132|    603|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9166|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9167|       |            int opcode = LOAD_ATTR_METHOD_WITH_VALUES;
  |  | 9168|       |            (void)(opcode);
  |  | 9169|       |            #endif
  |  | 9170|    603|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9171|    603|            (void)this_instr;
  |  | 9172|    603|            frame->instr_ptr = next_instr;
  |  | 9173|    603|            next_instr += 10;
  |  | 9174|    603|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_WITH_VALUES);
  |  |  ------------------
  |  |  |  |   71|    603|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9175|    603|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9176|    603|            _PyStackRef owner;
  |  | 9177|    603|            _PyStackRef attr;
  |  | 9178|    603|            _PyStackRef self;
  |  | 9179|       |            /* Skip 1 cache entry */
  |  | 9180|       |            // _GUARD_TYPE_VERSION
  |  | 9181|    603|            {
  |  | 9182|    603|                owner = stack_pointer[-1];
  |  | 9183|    603|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9184|    603|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|    603|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    603|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    603|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9185|    603|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9185:17): [True: 603, False: 0]
  |  |  ------------------
  |  | 9186|    603|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|    603|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9186:21): [True: 1, False: 602]
  |  |  ------------------
  |  | 9187|      1|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      1|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9188|      1|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9188:21): [True: 1, False: 0]
  |  |  ------------------
  |  | 9189|      1|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      1|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9190|      0|                }
  |  | 9191|    603|            }
  |  | 9192|       |            // _CHECK_MANAGED_OBJECT_HAS_VALUES
  |  | 9193|    602|            {
  |  | 9194|    602|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9195|    602|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (9195:17): [True: 602, False: 0]
  |  |  ------------------
  |  | 9196|    602|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (9196:17): [True: 602, False: 0]
  |  |  ------------------
  |  | 9197|    602|                if (!FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  156|    602|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (9197:21): [True: 0, False: 602]
  |  |  ------------------
  |  | 9198|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9199|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9199:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9200|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9201|      0|                }
  |  | 9202|    602|            }
  |  | 9203|       |            /* Skip 2 cache entries */
  |  | 9204|       |            // _LOAD_ATTR_METHOD_WITH_VALUES
  |  | 9205|    602|            {
  |  | 9206|    602|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9207|    602|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (9207:17): [True: 602, False: 0]
  |  |  ------------------
  |  | 9208|    602|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    602|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9209|    602|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9209:17): [True: 602, False: 0]
  |  |  ------------------
  |  | 9210|    602|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  |  ------------------
  |  |  |  Branch (9210:17): [True: 602, False: 0]
  |  |  ------------------
  |  | 9211|    602|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|    602|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    602|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    602|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9212|    602|                self = owner;
  |  | 9213|    602|            }
  |  | 9214|      0|            stack_pointer[-1] = attr;
  |  | 9215|    602|            stack_pointer[0] = self;
  |  | 9216|    602|            stack_pointer += 1;
  |  | 9217|    602|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    602|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9218|    602|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    602|    { \
  |  |  |  |  201|    602|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    602|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    602|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    602|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    602|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    602|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    602|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    602|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 602]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    602|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    602|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    602|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    602|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    602|    }
  |  |  ------------------
  |  | 9219|    602|        }
  |  | 9220|       |
  |  | 9221|  4.41k|        TARGET(LOAD_ATTR_MODULE) {
  |  |  ------------------
  |  |  |  |  132|  4.41k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9222|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9223|       |            int opcode = LOAD_ATTR_MODULE;
  |  | 9224|       |            (void)(opcode);
  |  | 9225|       |            #endif
  |  | 9226|  4.41k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9227|  4.41k|            (void)this_instr;
  |  | 9228|  4.41k|            frame->instr_ptr = next_instr;
  |  | 9229|  4.41k|            next_instr += 10;
  |  | 9230|  4.41k|            INSTRUCTION_STATS(LOAD_ATTR_MODULE);
  |  |  ------------------
  |  |  |  |   71|  4.41k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9231|  4.41k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9232|  4.41k|            _PyStackRef owner;
  |  | 9233|  4.41k|            _PyStackRef attr;
  |  | 9234|  4.41k|            _PyStackRef o;
  |  | 9235|  4.41k|            _PyStackRef value;
  |  | 9236|  4.41k|            _PyStackRef *null;
  |  | 9237|       |            /* Skip 1 cache entry */
  |  | 9238|       |            // _LOAD_ATTR_MODULE
  |  | 9239|  4.41k|            {
  |  | 9240|  4.41k|                owner = stack_pointer[-1];
  |  | 9241|  4.41k|                uint32_t dict_version = read_u32(&this_instr[2].cache);
  |  | 9242|  4.41k|                uint16_t index = read_u16(&this_instr[4].cache);
  |  | 9243|  4.41k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9244|  4.41k|                if (!PyModule_CheckExact(owner_o)) {
  |  |  ------------------
  |  |  |  |   13|  4.41k|#define PyModule_CheckExact(op) Py_IS_TYPE((op), &PyModule_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  4.41k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  4.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9244:21): [True: 0, False: 4.41k]
  |  |  ------------------
  |  | 9245|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9246|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9246:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9247|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9248|      0|                }
  |  | 9249|  4.41k|                PyDictObject *dict = (PyDictObject *)((PyModuleObject *)owner_o)->md_dict;
  |  | 9250|  4.41k|                assert(dict != NULL);
  |  |  ------------------
  |  |  |  Branch (9250:17): [True: 4.41k, False: 0]
  |  |  ------------------
  |  | 9251|  4.41k|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  152|  4.41k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 9252|  4.41k|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != dict_version) {
  |  |  ------------------
  |  |  |  |  161|  4.41k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9252:21): [True: 996, False: 3.41k]
  |  |  ------------------
  |  | 9253|    996|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|    996|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9254|    996|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9254:21): [True: 996, False: 0]
  |  |  ------------------
  |  | 9255|    996|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    996|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9256|      0|                }
  |  | 9257|  4.41k|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (9257:17): [True: 3.41k, False: 0]
  |  |  ------------------
  |  | 9258|  3.41k|                assert(index < FT_ATOMIC_LOAD_SSIZE_RELAXED(keys->dk_nentries));
  |  |  ------------------
  |  |  |  Branch (9258:17): [True: 3.41k, False: 0]
  |  |  ------------------
  |  | 9259|  3.41k|                PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(keys) + index;
  |  | 9260|  3.41k|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR_CONSUME(ep->me_value);
  |  |  ------------------
  |  |  |  |  153|  3.41k|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  |  |  ------------------
  |  | 9261|  3.41k|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9261:21): [True: 0, False: 3.41k]
  |  |  ------------------
  |  | 9262|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9263|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9263:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9264|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9265|      0|                }
  |  | 9266|       |                #ifdef Py_GIL_DISABLED
  |  | 9267|       |                int increfed = _Py_TryIncrefCompareStackRef(&ep->me_value, attr_o, &attr);
  |  | 9268|       |                if (!increfed) {
  |  | 9269|       |                    if (true) {
  |  | 9270|       |                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9271|       |                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9272|       |                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9273|       |                    }
  |  | 9274|       |                }
  |  | 9275|       |                #else
  |  | 9276|  3.41k|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|  3.41k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9277|  3.41k|                #endif
  |  | 9278|  3.41k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  3.41k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9279|  3.41k|                o = owner;
  |  | 9280|  3.41k|            }
  |  | 9281|       |            // _POP_TOP
  |  | 9282|      0|            {
  |  | 9283|  3.41k|                value = o;
  |  | 9284|  3.41k|                stack_pointer[-1] = attr;
  |  | 9285|  3.41k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9286|  3.41k|                _PyFrame_StackPointerValidate(frame);
  |  | 9287|  3.41k|                PyStackRef_XCLOSE(value);
  |  | 9288|  3.41k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9289|  3.41k|            }
  |  | 9290|       |            /* Skip 5 cache entries */
  |  | 9291|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9292|  3.41k|            {
  |  | 9293|  3.41k|                null = &stack_pointer[0];
  |  | 9294|  3.41k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9294:21): [True: 2.10k, False: 1.31k]
  |  |  ------------------
  |  | 9295|  2.10k|                    null[0] = PyStackRef_NULL;
  |  | 9296|  2.10k|                }
  |  | 9297|  3.41k|            }
  |  | 9298|  3.41k|            stack_pointer += (oparg & 1);
  |  | 9299|  3.41k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.41k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9300|  3.41k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.41k|    { \
  |  |  |  |  201|  3.41k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.41k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.41k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.41k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.41k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.41k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.41k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.41k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.41k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.41k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.41k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.41k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.41k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.41k|    }
  |  |  ------------------
  |  | 9301|  3.41k|        }
  |  | 9302|       |
  |  | 9303|     15|        TARGET(LOAD_ATTR_NONDESCRIPTOR_NO_DICT) {
  |  |  ------------------
  |  |  |  |  132|     15|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9304|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9305|       |            int opcode = LOAD_ATTR_NONDESCRIPTOR_NO_DICT;
  |  | 9306|       |            (void)(opcode);
  |  | 9307|       |            #endif
  |  | 9308|     15|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9309|     15|            (void)this_instr;
  |  | 9310|     15|            frame->instr_ptr = next_instr;
  |  | 9311|     15|            next_instr += 10;
  |  | 9312|     15|            INSTRUCTION_STATS(LOAD_ATTR_NONDESCRIPTOR_NO_DICT);
  |  |  ------------------
  |  |  |  |   71|     15|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9313|     15|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9314|     15|            _PyStackRef owner;
  |  | 9315|     15|            _PyStackRef attr;
  |  | 9316|       |            /* Skip 1 cache entry */
  |  | 9317|       |            // _GUARD_TYPE_VERSION
  |  | 9318|     15|            {
  |  | 9319|     15|                owner = stack_pointer[-1];
  |  | 9320|     15|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9321|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9322|     15|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9322:17): [True: 15, False: 0]
  |  |  ------------------
  |  | 9323|     15|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|     15|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9323:21): [True: 0, False: 15]
  |  |  ------------------
  |  | 9324|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9325|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9325:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9326|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9327|      0|                }
  |  | 9328|     15|            }
  |  | 9329|       |            /* Skip 2 cache entries */
  |  | 9330|       |            // _LOAD_ATTR_NONDESCRIPTOR_NO_DICT
  |  | 9331|     15|            {
  |  | 9332|     15|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9333|     15|                assert((oparg & 1) == 0);
  |  |  ------------------
  |  |  |  Branch (9333:17): [True: 15, False: 0]
  |  |  ------------------
  |  | 9334|     15|                assert(Py_TYPE(PyStackRef_AsPyObjectBorrow(owner))->tp_dictoffset == 0);
  |  |  ------------------
  |  |  |  Branch (9334:17): [True: 15, False: 0]
  |  |  ------------------
  |  | 9335|     15|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     15|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9336|     15|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9336:17): [True: 15, False: 0]
  |  |  ------------------
  |  | 9337|     15|                stack_pointer += -1;
  |  | 9338|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9339|     15|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9340|     15|                _PyFrame_StackPointerValidate(frame);
  |  | 9341|     15|                PyStackRef_CLOSE(owner);
  |  | 9342|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9343|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9344|     15|            }
  |  | 9345|      0|            stack_pointer[0] = attr;
  |  | 9346|     15|            stack_pointer += 1;
  |  | 9347|     15|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9348|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     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|    }
  |  |  ------------------
  |  | 9349|     15|        }
  |  | 9350|       |
  |  | 9351|      0|        TARGET(LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9352|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9353|       |            int opcode = LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES;
  |  | 9354|       |            (void)(opcode);
  |  | 9355|       |            #endif
  |  | 9356|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9357|      0|            (void)this_instr;
  |  | 9358|      0|            frame->instr_ptr = next_instr;
  |  | 9359|      0|            next_instr += 10;
  |  | 9360|      0|            INSTRUCTION_STATS(LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9361|      0|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9362|      0|            _PyStackRef owner;
  |  | 9363|      0|            _PyStackRef attr;
  |  | 9364|       |            /* Skip 1 cache entry */
  |  | 9365|       |            // _GUARD_TYPE_VERSION
  |  | 9366|      0|            {
  |  | 9367|      0|                owner = stack_pointer[-1];
  |  | 9368|      0|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9369|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9370|      0|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9370:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9371|      0|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|      0|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9371:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9372|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9373|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9373:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9374|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9375|      0|                }
  |  | 9376|      0|            }
  |  | 9377|       |            // _CHECK_MANAGED_OBJECT_HAS_VALUES
  |  | 9378|      0|            {
  |  | 9379|      0|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9380|      0|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (9380:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9381|      0|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (9381:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9382|      0|                if (!FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  156|      0|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (9382:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9383|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9384|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9384:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9385|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9386|      0|                }
  |  | 9387|      0|            }
  |  | 9388|       |            /* Skip 2 cache entries */
  |  | 9389|       |            // _LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES
  |  | 9390|      0|            {
  |  | 9391|      0|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9392|      0|                assert((oparg & 1) == 0);
  |  |  ------------------
  |  |  |  Branch (9392:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9393|      0|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9394|      0|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9394:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9395|      0|                stack_pointer += -1;
  |  | 9396|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9397|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9398|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9399|      0|                PyStackRef_CLOSE(owner);
  |  | 9400|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9401|      0|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9402|      0|            }
  |  | 9403|      0|            stack_pointer[0] = attr;
  |  | 9404|      0|            stack_pointer += 1;
  |  | 9405|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9406|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 9407|      0|        }
  |  | 9408|       |
  |  | 9409|    192|        TARGET(LOAD_ATTR_PROPERTY) {
  |  |  ------------------
  |  |  |  |  132|    192|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9410|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9411|       |            int opcode = LOAD_ATTR_PROPERTY;
  |  | 9412|       |            (void)(opcode);
  |  | 9413|       |            #endif
  |  | 9414|    192|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9415|    192|            (void)this_instr;
  |  | 9416|    192|            frame->instr_ptr = next_instr;
  |  | 9417|    192|            next_instr += 10;
  |  | 9418|    192|            INSTRUCTION_STATS(LOAD_ATTR_PROPERTY);
  |  |  ------------------
  |  |  |  |   71|    192|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9419|    192|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9420|    192|            _PyStackRef owner;
  |  | 9421|    192|            _PyStackRef new_frame;
  |  | 9422|       |            /* Skip 1 cache entry */
  |  | 9423|       |            // _GUARD_TYPE_VERSION
  |  | 9424|    192|            {
  |  | 9425|    192|                owner = stack_pointer[-1];
  |  | 9426|    192|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9427|    192|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9428|    192|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9428:17): [True: 192, False: 0]
  |  |  ------------------
  |  | 9429|    192|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|    192|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9429:21): [True: 156, False: 36]
  |  |  ------------------
  |  | 9430|    156|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|    156|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9431|    156|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9431:21): [True: 156, False: 0]
  |  |  ------------------
  |  | 9432|    156|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    156|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9433|      0|                }
  |  | 9434|    192|            }
  |  | 9435|       |            // _CHECK_PEP_523
  |  | 9436|     36|            {
  |  | 9437|     36|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|     36|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 36]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9438|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9439|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9439:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9440|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9441|      0|                }
  |  | 9442|     36|            }
  |  | 9443|       |            // _LOAD_ATTR_PROPERTY_FRAME
  |  | 9444|     36|            {
  |  | 9445|     36|                uint32_t func_version = read_u32(&this_instr[4].cache);
  |  | 9446|     36|                PyObject *fget = read_obj(&this_instr[6].cache);
  |  | 9447|     36|                assert((oparg & 1) == 0);
  |  |  ------------------
  |  |  |  Branch (9447:17): [True: 36, False: 0]
  |  |  ------------------
  |  | 9448|     36|                assert(Py_IS_TYPE(fget, &PyFunction_Type));
  |  |  ------------------
  |  |  |  Branch (9448:17): [True: 36, False: 0]
  |  |  ------------------
  |  | 9449|     36|                PyFunctionObject *f = (PyFunctionObject *)fget;
  |  | 9450|     36|                if (f->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (9450:21): [True: 0, False: 36]
  |  |  ------------------
  |  | 9451|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9452|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9452:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9453|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9454|      0|                }
  |  | 9455|     36|                PyCodeObject *code = (PyCodeObject *)f->func_code;
  |  | 9456|     36|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (9456:21): [True: 0, False: 36]
  |  |  ------------------
  |  | 9457|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9458|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9458:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9459|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9460|      0|                }
  |  | 9461|     36|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     36|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9462|     36|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, PyStackRef_FromPyObjectNew(fget), 1, frame);
  |  |  ------------------
  |  |  |  |  611|     36|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9463|     36|                pushed_frame->localsplus[0] = owner;
  |  | 9464|     36|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 9465|     36|            }
  |  | 9466|       |            // _SAVE_RETURN_OFFSET
  |  | 9467|      0|            {
  |  | 9468|     36|                #if TIER_ONE
  |  | 9469|     36|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 9470|     36|                #endif
  |  | 9471|       |                #if TIER_TWO
  |  | 9472|       |                frame->return_offset = oparg;
  |  | 9473|       |                #endif
  |  | 9474|     36|            }
  |  | 9475|       |            // _PUSH_FRAME
  |  | 9476|     36|            {
  |  | 9477|     36|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (9477:17): [True: 36, False: 0]
  |  |  ------------------
  |  | 9478|     36|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 9479|     36|                stack_pointer += -1;
  |  | 9480|     36|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     36|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9481|     36|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9482|     36|                _PyFrame_StackPointerValidate(frame);
  |  | 9483|     36|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (9483:17): [True: 36, False: 0]
  |  |  |  Branch (9483:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9484|     36|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|     36|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 9485|     36|                frame = tstate->current_frame = temp;
  |  | 9486|     36|                tstate->py_recursion_remaining--;
  |  | 9487|     36|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9488|     36|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9489|     36|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|     36|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|     36|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|     36|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 36]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9490|       |                #ifdef Py_DEBUG
  |  | 9491|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 9492|       |                #endif
  |  | 9493|     36|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|     36|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 9494|     36|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|     36|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 9495|     36|            }
  |  | 9496|     36|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     36|    { \
  |  |  |  |  201|     36|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     36|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     36|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     36|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     36|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     36|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     36|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     36|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 36]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     36|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     36|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     36|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     36|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     36|    }
  |  |  ------------------
  |  | 9497|     36|        }
  |  | 9498|       |
  |  | 9499|    685|        TARGET(LOAD_ATTR_SLOT) {
  |  |  ------------------
  |  |  |  |  132|    685|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9500|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9501|       |            int opcode = LOAD_ATTR_SLOT;
  |  | 9502|       |            (void)(opcode);
  |  | 9503|       |            #endif
  |  | 9504|    685|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9505|    685|            (void)this_instr;
  |  | 9506|    685|            frame->instr_ptr = next_instr;
  |  | 9507|    685|            next_instr += 10;
  |  | 9508|    685|            INSTRUCTION_STATS(LOAD_ATTR_SLOT);
  |  |  ------------------
  |  |  |  |   71|    685|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9509|    685|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9510|    685|            _PyStackRef owner;
  |  | 9511|    685|            _PyStackRef attr;
  |  | 9512|    685|            _PyStackRef o;
  |  | 9513|    685|            _PyStackRef value;
  |  | 9514|    685|            _PyStackRef *null;
  |  | 9515|       |            /* Skip 1 cache entry */
  |  | 9516|       |            // _GUARD_TYPE_VERSION
  |  | 9517|    685|            {
  |  | 9518|    685|                owner = stack_pointer[-1];
  |  | 9519|    685|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9520|    685|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|    685|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    685|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    685|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9521|    685|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9521:17): [True: 685, False: 0]
  |  |  ------------------
  |  | 9522|    685|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|    685|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9522:21): [True: 5, False: 680]
  |  |  ------------------
  |  | 9523|      5|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      5|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9524|      5|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9524:21): [True: 5, False: 0]
  |  |  ------------------
  |  | 9525|      5|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      5|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9526|      0|                }
  |  | 9527|    685|            }
  |  | 9528|       |            // _LOAD_ATTR_SLOT
  |  | 9529|    680|            {
  |  | 9530|    680|                uint16_t index = read_u16(&this_instr[4].cache);
  |  | 9531|    680|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9532|    680|                PyObject **addr = (PyObject **)((char *)owner_o + index);
  |  | 9533|    680|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR(*addr);
  |  |  ------------------
  |  |  |  |  147|    680|#define FT_ATOMIC_LOAD_PTR(value) value
  |  |  ------------------
  |  | 9534|    680|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9534:21): [True: 0, False: 680]
  |  |  ------------------
  |  | 9535|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9536|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9536:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9537|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9538|      0|                }
  |  | 9539|       |                #ifdef Py_GIL_DISABLED
  |  | 9540|       |                int increfed = _Py_TryIncrefCompareStackRef(addr, attr_o, &attr);
  |  | 9541|       |                if (!increfed) {
  |  | 9542|       |                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9543|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9544|       |                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9545|       |                }
  |  | 9546|       |                #else
  |  | 9547|    680|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|    680|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    680|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    680|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9548|    680|                #endif
  |  | 9549|    680|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    680|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9550|    680|                o = owner;
  |  | 9551|    680|            }
  |  | 9552|       |            // _POP_TOP
  |  | 9553|      0|            {
  |  | 9554|    680|                value = o;
  |  | 9555|    680|                stack_pointer[-1] = attr;
  |  | 9556|    680|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9557|    680|                _PyFrame_StackPointerValidate(frame);
  |  | 9558|    680|                PyStackRef_XCLOSE(value);
  |  | 9559|    680|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9560|    680|            }
  |  | 9561|       |            /* Skip 5 cache entries */
  |  | 9562|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9563|    680|            {
  |  | 9564|    680|                null = &stack_pointer[0];
  |  | 9565|    680|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9565:21): [True: 1, False: 679]
  |  |  ------------------
  |  | 9566|      1|                    null[0] = PyStackRef_NULL;
  |  | 9567|      1|                }
  |  | 9568|    680|            }
  |  | 9569|    680|            stack_pointer += (oparg & 1);
  |  | 9570|    680|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    680|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9571|    680|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    680|    { \
  |  |  |  |  201|    680|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    680|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    680|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    680|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    680|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    680|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    680|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    680|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 680]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    680|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    680|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    680|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    680|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    680|    }
  |  |  ------------------
  |  | 9572|    680|        }
  |  | 9573|       |
  |  | 9574|      0|        TARGET(LOAD_ATTR_WITH_HINT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9575|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9576|       |            int opcode = LOAD_ATTR_WITH_HINT;
  |  | 9577|       |            (void)(opcode);
  |  | 9578|       |            #endif
  |  | 9579|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9580|      0|            (void)this_instr;
  |  | 9581|      0|            frame->instr_ptr = next_instr;
  |  | 9582|      0|            next_instr += 10;
  |  | 9583|      0|            INSTRUCTION_STATS(LOAD_ATTR_WITH_HINT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9584|      0|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9585|      0|            _PyStackRef owner;
  |  | 9586|      0|            _PyStackRef attr;
  |  | 9587|      0|            _PyStackRef o;
  |  | 9588|      0|            _PyStackRef value;
  |  | 9589|      0|            _PyStackRef *null;
  |  | 9590|       |            /* Skip 1 cache entry */
  |  | 9591|       |            // _GUARD_TYPE_VERSION
  |  | 9592|      0|            {
  |  | 9593|      0|                owner = stack_pointer[-1];
  |  | 9594|      0|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9595|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9596|      0|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9596:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9597|      0|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|      0|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9597:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9598|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9599|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9599:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9600|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9601|      0|                }
  |  | 9602|      0|            }
  |  | 9603|       |            // _LOAD_ATTR_WITH_HINT
  |  | 9604|      0|            {
  |  | 9605|      0|                uint16_t hint = read_u16(&this_instr[4].cache);
  |  | 9606|      0|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9607|      0|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  |  |  ------------------
  |  |  |  Branch (9607:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9608|      0|                PyDictObject *dict = _PyObject_GetManagedDict(owner_o);
  |  | 9609|      0|                if (dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (9609:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9610|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9611|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9611:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9612|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9613|      0|                }
  |  | 9614|      0|                PyDictKeysObject *dk = FT_ATOMIC_LOAD_PTR(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  147|      0|#define FT_ATOMIC_LOAD_PTR(value) value
  |  |  ------------------
  |  | 9615|      0|                assert(PyDict_CheckExact((PyObject *)dict));
  |  |  ------------------
  |  |  |  Branch (9615:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9616|       |                #ifdef Py_GIL_DISABLED
  |  | 9617|       |                if (!_Py_IsOwnedByCurrentThread((PyObject *)dict) && !_PyObject_GC_IS_SHARED(dict)) {
  |  | 9618|       |                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9619|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9620|       |                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9621|       |                }
  |  | 9622|       |                #endif
  |  | 9623|      0|                PyObject *attr_o;
  |  | 9624|      0|                if (hint >= (size_t)FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_nentries)) {
  |  |  ------------------
  |  |  |  |  151|      0|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9624:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9625|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9625:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9626|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9627|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9627:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9628|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9629|      0|                    }
  |  | 9630|      0|                }
  |  | 9631|      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 (9631:34): [True: 0, False: 0]
  |  |  ------------------
  |  | 9632|      0|                if (dk->dk_kind != DICT_KEYS_UNICODE) {
  |  |  ------------------
  |  |  |  Branch (9632:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9633|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9633:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9634|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9635|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9635:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9636|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9637|      0|                    }
  |  | 9638|      0|                }
  |  | 9639|      0|                PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(dk) + hint;
  |  | 9640|      0|                if (FT_ATOMIC_LOAD_PTR_RELAXED(ep->me_key) != name) {
  |  |  ------------------
  |  |  |  |  155|      0|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9640:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9641|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9641:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9642|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9643|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9643:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9644|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9645|      0|                    }
  |  | 9646|      0|                }
  |  | 9647|      0|                attr_o = FT_ATOMIC_LOAD_PTR(ep->me_value);
  |  |  ------------------
  |  |  |  |  147|      0|#define FT_ATOMIC_LOAD_PTR(value) value
  |  |  ------------------
  |  | 9648|      0|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9648:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9649|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9649:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9650|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9651|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9651:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9652|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9653|      0|                    }
  |  | 9654|      0|                }
  |  | 9655|      0|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9656|       |                #ifdef Py_GIL_DISABLED
  |  | 9657|       |                int increfed = _Py_TryIncrefCompareStackRef(&ep->me_value, attr_o, &attr);
  |  | 9658|       |                if (!increfed) {
  |  | 9659|       |                    if (true) {
  |  | 9660|       |                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9661|       |                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9662|       |                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9663|       |                    }
  |  | 9664|       |                }
  |  | 9665|       |                #else
  |  | 9666|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9667|      0|                #endif
  |  | 9668|      0|                o = owner;
  |  | 9669|      0|            }
  |  | 9670|       |            // _POP_TOP
  |  | 9671|      0|            {
  |  | 9672|      0|                value = o;
  |  | 9673|      0|                stack_pointer[-1] = attr;
  |  | 9674|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9675|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9676|      0|                PyStackRef_XCLOSE(value);
  |  | 9677|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9678|      0|            }
  |  | 9679|       |            /* Skip 5 cache entries */
  |  | 9680|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9681|      0|            {
  |  | 9682|      0|                null = &stack_pointer[0];
  |  | 9683|      0|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9683:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9684|      0|                    null[0] = PyStackRef_NULL;
  |  | 9685|      0|                }
  |  | 9686|      0|            }
  |  | 9687|      0|            stack_pointer += (oparg & 1);
  |  | 9688|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9689|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 9690|      0|        }
  |  | 9691|       |
  |  | 9692|    240|        TARGET(LOAD_BUILD_CLASS) {
  |  |  ------------------
  |  |  |  |  132|    240|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9693|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9694|       |            int opcode = LOAD_BUILD_CLASS;
  |  | 9695|       |            (void)(opcode);
  |  | 9696|       |            #endif
  |  | 9697|    240|            frame->instr_ptr = next_instr;
  |  | 9698|    240|            next_instr += 1;
  |  | 9699|    240|            INSTRUCTION_STATS(LOAD_BUILD_CLASS);
  |  |  ------------------
  |  |  |  |   71|    240|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9700|    240|            _PyStackRef bc;
  |  | 9701|    240|            int err;
  |  | 9702|    240|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9703|    240|            _PyFrame_StackPointerValidate(frame);
  |  | 9704|    240|            PyObject *bc_o = _PyMapping_GetOptionalItem2(BUILTINS(), &_Py_ID(__build_class__), &err);
  |  |  ------------------
  |  |  |  |  327|    240|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                           PyObject *bc_o = _PyMapping_GetOptionalItem2(BUILTINS(), &_Py_ID(__build_class__), &err);
  |  |  ------------------
  |  |  |  |  951|    240|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    240|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    240|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9705|    240|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9706|    240|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9706:17): [True: 0, False: 240]
  |  |  ------------------
  |  | 9707|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9708|      0|            }
  |  | 9709|    240|            if (bc_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9709:17): [True: 0, False: 240]
  |  |  ------------------
  |  | 9710|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9710:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9711|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9712|      0|                _PyErr_SetString(tstate, PyExc_NameError,
  |  | 9713|      0|                                 "__build_class__ not found");
  |  | 9714|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9715|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9716|      0|            }
  |  | 9717|    240|            bc = PyStackRef_FromPyObjectSteal(bc_o);
  |  | 9718|    240|            stack_pointer[0] = bc;
  |  | 9719|    240|            stack_pointer += 1;
  |  | 9720|    240|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    240|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9721|    240|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    240|    { \
  |  |  |  |  201|    240|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    240|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    240|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    240|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    240|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    240|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    240|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    240|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 240]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    240|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    240|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    240|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    240|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    240|    }
  |  |  ------------------
  |  | 9722|    240|        }
  |  | 9723|       |
  |  | 9724|  9.62k|        TARGET(LOAD_COMMON_CONSTANT) {
  |  |  ------------------
  |  |  |  |  132|  9.62k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9725|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9726|       |            int opcode = LOAD_COMMON_CONSTANT;
  |  | 9727|       |            (void)(opcode);
  |  | 9728|       |            #endif
  |  | 9729|  9.62k|            frame->instr_ptr = next_instr;
  |  | 9730|  9.62k|            next_instr += 1;
  |  | 9731|  9.62k|            INSTRUCTION_STATS(LOAD_COMMON_CONSTANT);
  |  |  ------------------
  |  |  |  |   71|  9.62k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9732|  9.62k|            _PyStackRef value;
  |  | 9733|  9.62k|            assert(oparg < NUM_COMMON_CONSTANTS);
  |  |  ------------------
  |  |  |  Branch (9733:13): [True: 9.62k, False: 0]
  |  |  ------------------
  |  | 9734|  9.62k|            value = PyStackRef_DupImmortal(tstate->interp->common_consts[oparg]);
  |  | 9735|  9.62k|            stack_pointer[0] = value;
  |  | 9736|  9.62k|            stack_pointer += 1;
  |  | 9737|  9.62k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  9.62k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9738|  9.62k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  9.62k|    { \
  |  |  |  |  201|  9.62k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  9.62k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  9.62k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  9.62k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  9.62k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  9.62k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  9.62k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  9.62k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 9.62k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  9.62k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  9.62k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  9.62k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  9.62k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  9.62k|    }
  |  |  ------------------
  |  | 9739|  9.62k|        }
  |  | 9740|       |
  |  | 9741|  13.7k|        TARGET(LOAD_CONST) {
  |  |  ------------------
  |  |  |  |  132|  13.7k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9742|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9743|       |            int opcode = LOAD_CONST;
  |  | 9744|       |            (void)(opcode);
  |  | 9745|       |            #endif
  |  | 9746|  13.7k|            frame->instr_ptr = next_instr;
  |  | 9747|  13.7k|            next_instr += 1;
  |  | 9748|  13.7k|            INSTRUCTION_STATS(LOAD_CONST);
  |  |  ------------------
  |  |  |  |   71|  13.7k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9749|  13.7k|            _PyStackRef value;
  |  | 9750|  13.7k|            PyObject *obj = GETITEM(FRAME_CO_CONSTS, oparg);
  |  |  ------------------
  |  |  |  |  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|  13.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9750:29): [True: 13.7k, False: 0]
  |  |  ------------------
  |  | 9751|      0|            value = PyStackRef_FromPyObjectBorrow(obj);
  |  | 9752|  13.7k|            stack_pointer[0] = value;
  |  | 9753|  13.7k|            stack_pointer += 1;
  |  | 9754|  13.7k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  13.7k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9755|  13.7k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  13.7k|    { \
  |  |  |  |  201|  13.7k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  13.7k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  13.7k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  13.7k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  13.7k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  13.7k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  13.7k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  13.7k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 13.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  13.7k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  13.7k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  13.7k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  13.7k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  13.7k|    }
  |  |  ------------------
  |  | 9756|  13.7k|        }
  |  | 9757|       |
  |  | 9758|  1.08k|        TARGET(LOAD_DEREF) {
  |  |  ------------------
  |  |  |  |  132|  1.08k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9759|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9760|       |            int opcode = LOAD_DEREF;
  |  | 9761|       |            (void)(opcode);
  |  | 9762|       |            #endif
  |  | 9763|  1.08k|            frame->instr_ptr = next_instr;
  |  | 9764|  1.08k|            next_instr += 1;
  |  | 9765|  1.08k|            INSTRUCTION_STATS(LOAD_DEREF);
  |  |  ------------------
  |  |  |  |   71|  1.08k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9766|  1.08k|            _PyStackRef value;
  |  | 9767|  1.08k|            PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|  1.08k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9768|  1.08k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9769|  1.08k|            _PyFrame_StackPointerValidate(frame);
  |  | 9770|  1.08k|            value = _PyCell_GetStackRef(cell);
  |  | 9771|  1.08k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9772|  1.08k|            if (PyStackRef_IsNull(value)) {
  |  |  ------------------
  |  |  |  |  482|  1.08k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.08k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.08k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 1.08k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9773|      0|                stack_pointer[0] = value;
  |  | 9774|      0|                stack_pointer += 1;
  |  | 9775|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9776|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9777|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9778|      0|                _PyEval_FormatExcUnbound(tstate, _PyFrame_GetCode(frame), oparg);
  |  | 9779|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9780|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9781|      0|            }
  |  | 9782|  1.08k|            stack_pointer[0] = value;
  |  | 9783|  1.08k|            stack_pointer += 1;
  |  | 9784|  1.08k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.08k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9785|  1.08k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.08k|    { \
  |  |  |  |  201|  1.08k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.08k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.08k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.08k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.08k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.08k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.08k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.08k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.08k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.08k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.08k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.08k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.08k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.08k|    }
  |  |  ------------------
  |  | 9786|  1.08k|        }
  |  | 9787|       |
  |  | 9788|  1.89k|        TARGET(LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|  1.89k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9789|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9790|       |            int opcode = LOAD_FAST;
  |  | 9791|       |            (void)(opcode);
  |  | 9792|       |            #endif
  |  | 9793|  1.89k|            frame->instr_ptr = next_instr;
  |  | 9794|  1.89k|            next_instr += 1;
  |  | 9795|  1.89k|            INSTRUCTION_STATS(LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|  1.89k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9796|  1.89k|            _PyStackRef value;
  |  | 9797|  1.89k|            assert(!PyStackRef_IsNull(GETLOCAL(oparg)));
  |  |  ------------------
  |  |  |  Branch (9797:13): [True: 1.89k, False: 0]
  |  |  ------------------
  |  | 9798|  1.89k|            value = PyStackRef_DUP(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|  1.89k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9799|  1.89k|            stack_pointer[0] = value;
  |  | 9800|  1.89k|            stack_pointer += 1;
  |  | 9801|  1.89k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.89k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9802|  1.89k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.89k|    { \
  |  |  |  |  201|  1.89k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.89k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.89k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.89k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.89k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.89k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.89k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.89k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.89k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.89k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.89k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.89k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.89k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.89k|    }
  |  |  ------------------
  |  | 9803|  1.89k|        }
  |  | 9804|       |
  |  | 9805|    410|        TARGET(LOAD_FAST_AND_CLEAR) {
  |  |  ------------------
  |  |  |  |  132|    410|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9806|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9807|       |            int opcode = LOAD_FAST_AND_CLEAR;
  |  | 9808|       |            (void)(opcode);
  |  | 9809|       |            #endif
  |  | 9810|    410|            frame->instr_ptr = next_instr;
  |  | 9811|    410|            next_instr += 1;
  |  | 9812|    410|            INSTRUCTION_STATS(LOAD_FAST_AND_CLEAR);
  |  |  ------------------
  |  |  |  |   71|    410|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9813|    410|            _PyStackRef value;
  |  | 9814|    410|            value = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|    410|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9815|    410|            GETLOCAL(oparg) = PyStackRef_NULL;
  |  |  ------------------
  |  |  |  |  285|    410|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9816|    410|            stack_pointer[0] = value;
  |  | 9817|    410|            stack_pointer += 1;
  |  | 9818|    410|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    410|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9819|    410|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    410|    { \
  |  |  |  |  201|    410|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    410|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    410|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    410|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    410|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    410|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    410|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    410|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 410]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    410|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    410|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    410|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    410|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    410|    }
  |  |  ------------------
  |  | 9820|    410|        }
  |  | 9821|       |
  |  | 9822|  35.0k|        TARGET(LOAD_FAST_BORROW) {
  |  |  ------------------
  |  |  |  |  132|  35.0k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9823|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9824|       |            int opcode = LOAD_FAST_BORROW;
  |  | 9825|       |            (void)(opcode);
  |  | 9826|       |            #endif
  |  | 9827|  35.0k|            frame->instr_ptr = next_instr;
  |  | 9828|  35.0k|            next_instr += 1;
  |  | 9829|  35.0k|            INSTRUCTION_STATS(LOAD_FAST_BORROW);
  |  |  ------------------
  |  |  |  |   71|  35.0k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9830|  35.0k|            _PyStackRef value;
  |  | 9831|  35.0k|            assert(!PyStackRef_IsNull(GETLOCAL(oparg)));
  |  |  ------------------
  |  |  |  Branch (9831:13): [True: 35.0k, False: 0]
  |  |  ------------------
  |  | 9832|  35.0k|            value = PyStackRef_Borrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|  35.0k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9833|  35.0k|            stack_pointer[0] = value;
  |  | 9834|  35.0k|            stack_pointer += 1;
  |  | 9835|  35.0k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  35.0k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9836|  35.0k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  35.0k|    { \
  |  |  |  |  201|  35.0k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  35.0k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  35.0k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  35.0k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  35.0k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  35.0k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  35.0k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  35.0k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 35.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  35.0k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  35.0k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  35.0k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  35.0k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  35.0k|    }
  |  |  ------------------
  |  | 9837|  35.0k|        }
  |  | 9838|       |
  |  | 9839|  6.67k|        TARGET(LOAD_FAST_BORROW_LOAD_FAST_BORROW) {
  |  |  ------------------
  |  |  |  |  132|  6.67k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9840|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9841|       |            int opcode = LOAD_FAST_BORROW_LOAD_FAST_BORROW;
  |  | 9842|       |            (void)(opcode);
  |  | 9843|       |            #endif
  |  | 9844|  6.67k|            frame->instr_ptr = next_instr;
  |  | 9845|  6.67k|            next_instr += 1;
  |  | 9846|  6.67k|            INSTRUCTION_STATS(LOAD_FAST_BORROW_LOAD_FAST_BORROW);
  |  |  ------------------
  |  |  |  |   71|  6.67k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9847|  6.67k|            _PyStackRef value1;
  |  | 9848|  6.67k|            _PyStackRef value2;
  |  | 9849|  6.67k|            uint32_t oparg1 = oparg >> 4;
  |  | 9850|  6.67k|            uint32_t oparg2 = oparg & 15;
  |  | 9851|  6.67k|            value1 = PyStackRef_Borrow(GETLOCAL(oparg1));
  |  |  ------------------
  |  |  |  |  285|  6.67k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9852|  6.67k|            value2 = PyStackRef_Borrow(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  285|  6.67k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9853|  6.67k|            stack_pointer[0] = value1;
  |  | 9854|  6.67k|            stack_pointer[1] = value2;
  |  | 9855|  6.67k|            stack_pointer += 2;
  |  | 9856|  6.67k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  6.67k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9857|  6.67k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.67k|    { \
  |  |  |  |  201|  6.67k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  6.67k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  6.67k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  6.67k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  6.67k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  6.67k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  6.67k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  6.67k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 6.67k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.67k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.67k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.67k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.67k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.67k|    }
  |  |  ------------------
  |  | 9858|  6.67k|        }
  |  | 9859|       |
  |  | 9860|  6.67k|        TARGET(LOAD_FAST_CHECK) {
  |  |  ------------------
  |  |  |  |  132|    193|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9861|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9862|       |            int opcode = LOAD_FAST_CHECK;
  |  | 9863|       |            (void)(opcode);
  |  | 9864|       |            #endif
  |  | 9865|    193|            frame->instr_ptr = next_instr;
  |  | 9866|    193|            next_instr += 1;
  |  | 9867|    193|            INSTRUCTION_STATS(LOAD_FAST_CHECK);
  |  |  ------------------
  |  |  |  |   71|    193|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9868|    193|            _PyStackRef value;
  |  | 9869|    193|            _PyStackRef value_s = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|    193|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9870|    193|            if (PyStackRef_IsNull(value_s)) {
  |  |  ------------------
  |  |  |  |  482|    193|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    193|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    193|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 193]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9871|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9872|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9873|      0|                _PyEval_FormatExcCheckArg(tstate, PyExc_UnboundLocalError,
  |  | 9874|      0|                    UNBOUNDLOCAL_ERROR_MSG,
  |  |  ------------------
  |  |  |  |  401|      0|    "cannot access local variable '%s' where it is not associated with a value"
  |  |  ------------------
  |  | 9875|      0|                    PyTuple_GetItem(_PyFrame_GetCode(frame)->co_localsplusnames, oparg)
  |  | 9876|      0|                );
  |  | 9877|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9878|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9879|      0|            }
  |  | 9880|    193|            value = PyStackRef_DUP(value_s);
  |  | 9881|    193|            stack_pointer[0] = value;
  |  | 9882|    193|            stack_pointer += 1;
  |  | 9883|    193|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    193|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9884|    193|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    193|    { \
  |  |  |  |  201|    193|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    193|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    193|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    193|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    193|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    193|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    193|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    193|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 193]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    193|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    193|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    193|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    193|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    193|    }
  |  |  ------------------
  |  | 9885|    193|        }
  |  | 9886|       |
  |  | 9887|     13|        TARGET(LOAD_FAST_LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|     13|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9888|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9889|       |            int opcode = LOAD_FAST_LOAD_FAST;
  |  | 9890|       |            (void)(opcode);
  |  | 9891|       |            #endif
  |  | 9892|     13|            frame->instr_ptr = next_instr;
  |  | 9893|     13|            next_instr += 1;
  |  | 9894|     13|            INSTRUCTION_STATS(LOAD_FAST_LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|     13|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9895|     13|            _PyStackRef value1;
  |  | 9896|     13|            _PyStackRef value2;
  |  | 9897|     13|            uint32_t oparg1 = oparg >> 4;
  |  | 9898|     13|            uint32_t oparg2 = oparg & 15;
  |  | 9899|     13|            value1 = PyStackRef_DUP(GETLOCAL(oparg1));
  |  |  ------------------
  |  |  |  |  285|     13|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9900|     13|            value2 = PyStackRef_DUP(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  285|     13|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9901|     13|            stack_pointer[0] = value1;
  |  | 9902|     13|            stack_pointer[1] = value2;
  |  | 9903|     13|            stack_pointer += 2;
  |  | 9904|     13|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     13|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9905|     13|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     13|    { \
  |  |  |  |  201|     13|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     13|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     13|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     13|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     13|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     13|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     13|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     13|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 13]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     13|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     13|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     13|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     13|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     13|    }
  |  |  ------------------
  |  | 9906|     13|        }
  |  | 9907|       |
  |  | 9908|     13|        TARGET(LOAD_FROM_DICT_OR_DEREF) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9909|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9910|       |            int opcode = LOAD_FROM_DICT_OR_DEREF;
  |  | 9911|       |            (void)(opcode);
  |  | 9912|       |            #endif
  |  | 9913|      0|            frame->instr_ptr = next_instr;
  |  | 9914|      0|            next_instr += 1;
  |  | 9915|      0|            INSTRUCTION_STATS(LOAD_FROM_DICT_OR_DEREF);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9916|      0|            _PyStackRef class_dict_st;
  |  | 9917|      0|            _PyStackRef value;
  |  | 9918|      0|            class_dict_st = stack_pointer[-1];
  |  | 9919|      0|            PyObject *name;
  |  | 9920|      0|            PyObject *class_dict = PyStackRef_AsPyObjectBorrow(class_dict_st);
  |  | 9921|      0|            assert(class_dict);
  |  |  ------------------
  |  |  |  Branch (9921:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 9922|      0|            assert(oparg >= 0 && oparg < _PyFrame_GetCode(frame)->co_nlocalsplus);
  |  |  ------------------
  |  |  |  Branch (9922:13): [True: 0, False: 0]
  |  |  |  Branch (9922:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 9923|      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 (9923:20): [True: 0, False: 0]
  |  |  ------------------
  |  | 9924|      0|            int err;
  |  | 9925|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9926|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 9927|      0|            PyObject* value_o = _PyMapping_GetOptionalItem2(class_dict, name, &err);
  |  | 9928|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9929|      0|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9929:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9930|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9931|      0|            }
  |  | 9932|      0|            if (!value_o) {
  |  |  ------------------
  |  |  |  Branch (9932:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9933|      0|                PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|      0|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9934|      0|                value_o = PyCell_GetRef(cell);
  |  | 9935|      0|                if (value_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9935:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9936|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9936:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9937|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 9938|      0|                    _PyEval_FormatExcUnbound(tstate, _PyFrame_GetCode(frame), oparg);
  |  | 9939|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 9940|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9941|      0|                }
  |  | 9942|      0|            }
  |  | 9943|      0|            else if (PyLazyImport_CheckExact(value_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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9944|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9944:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9945|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9946|      0|                Py_SETREF(value_o, _PyLazyImport_Reify(
  |  |  ------------------
  |  |  |  |  545|      0|    do { \
  |  |  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  550|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9947|      0|                              tstate, value_o, name, class_dict));
  |  | 9948|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9949|      0|                if (value_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9949:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9950|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9951|      0|                }
  |  | 9952|      0|            }
  |  | 9953|      0|            stack_pointer += -1;
  |  | 9954|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9955|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9956|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 9957|      0|            PyStackRef_CLOSE(class_dict_st);
  |  | 9958|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9959|      0|            value = PyStackRef_FromPyObjectSteal(value_o);
  |  | 9960|      0|            stack_pointer[0] = value;
  |  | 9961|      0|            stack_pointer += 1;
  |  | 9962|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9963|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  | 9964|      0|        }
  |  | 9965|       |
  |  | 9966|      0|        TARGET(LOAD_FROM_DICT_OR_GLOBALS) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9967|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9968|       |            int opcode = LOAD_FROM_DICT_OR_GLOBALS;
  |  | 9969|       |            (void)(opcode);
  |  | 9970|       |            #endif
  |  | 9971|      0|            frame->instr_ptr = next_instr;
  |  | 9972|      0|            next_instr += 1;
  |  | 9973|      0|            INSTRUCTION_STATS(LOAD_FROM_DICT_OR_GLOBALS);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9974|      0|            _PyStackRef mod_or_class_dict;
  |  | 9975|      0|            _PyStackRef v;
  |  | 9976|      0|            mod_or_class_dict = stack_pointer[-1];
  |  | 9977|      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 (9977:30): [True: 0, False: 0]
  |  |  ------------------
  |  | 9978|      0|            PyObject *namespace = PyStackRef_AsPyObjectBorrow(mod_or_class_dict);
  |  | 9979|      0|            int err;
  |  | 9980|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9981|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 9982|      0|            PyObject *v_o = _PyMapping_GetOptionalItem2(namespace, name, &err);
  |  | 9983|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9984|      0|            if (v_o != NULL && 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9984:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9985|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9985:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9986|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9987|      0|                Py_SETREF(v_o, _PyLazyImport_Reify(tstate, v_o, name, namespace));
  |  |  ------------------
  |  |  |  |  545|      0|    do { \
  |  |  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  550|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9988|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9989|      0|                if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9989:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9990|      0|                    err = -1;
  |  | 9991|      0|                }
  |  | 9992|      0|            }
  |  | 9993|      0|            stack_pointer += -1;
  |  | 9994|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9995|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9996|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 9997|      0|            PyStackRef_CLOSE(mod_or_class_dict);
  |  | 9998|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9999|      0|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9999:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10000|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10001|      0|            }
  |  |10002|      0|            if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10002:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10003|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10003:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10004|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10005|      0|                _PyEval_LoadGlobalStackRef(GLOBALS(), BUILTINS(), name, &v);
  |  |  ------------------
  |  |  |  |  326|      0|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |                               _PyEval_LoadGlobalStackRef(GLOBALS(), BUILTINS(), name, &v);
  |  |  ------------------
  |  |  |  |  327|      0|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |10006|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10007|      0|                if (PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10008|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10009|      0|                }
  |  |10010|      0|            }
  |  |10011|      0|            else {
  |  |10012|      0|                v = PyStackRef_FromPyObjectSteal(v_o);
  |  |10013|      0|            }
  |  |10014|      0|            stack_pointer[0] = v;
  |  |10015|      0|            stack_pointer += 1;
  |  |10016|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10017|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |10018|      0|        }
  |  |10019|       |
  |  |10020|  2.51k|        TARGET(LOAD_GLOBAL) {
  |  |  ------------------
  |  |  |  |  132|  2.51k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10021|       |            #if _Py_TAIL_CALL_INTERP
  |  |10022|       |            int opcode = LOAD_GLOBAL;
  |  |10023|       |            (void)(opcode);
  |  |10024|       |            #endif
  |  |10025|  2.51k|            frame->instr_ptr = next_instr;
  |  |10026|  2.51k|            next_instr += 5;
  |  |10027|  2.51k|            INSTRUCTION_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |   71|  2.51k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10028|  5.96k|            PREDICTED_LOAD_GLOBAL:;
  |  |10029|  5.96k|            _Py_CODEUNIT* const this_instr = next_instr - 5;
  |  |10030|  5.96k|            (void)this_instr;
  |  |10031|  5.96k|            _PyStackRef *res;
  |  |10032|  5.96k|            _PyStackRef *null;
  |  |10033|       |            // _SPECIALIZE_LOAD_GLOBAL
  |  |10034|  5.96k|            {
  |  |10035|  5.96k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |10036|  5.96k|                (void)counter;
  |  |10037|  5.96k|                #if ENABLE_SPECIALIZATION
  |  |10038|  5.96k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  5.96k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 1.01k, False: 4.94k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10039|  1.01k|                    PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  236|  1.01k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  1.01k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  1.01k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10039:38): [True: 1.01k, False: 0]
  |  |  ------------------
  |  |10040|      0|                    next_instr = this_instr;
  |  |10041|  1.01k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10042|  1.01k|                    _PyFrame_StackPointerValidate(frame);
  |  |10043|  1.01k|                    _Py_Specialize_LoadGlobal(GLOBALS(), BUILTINS(), next_instr, name);
  |  |  ------------------
  |  |  |  |  326|  1.01k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |                                   _Py_Specialize_LoadGlobal(GLOBALS(), BUILTINS(), next_instr, name);
  |  |  ------------------
  |  |  |  |  327|  1.01k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |10044|  1.01k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10045|  1.01k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  1.01k|    { \
  |  |  |  |  217|  1.01k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  1.01k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.01k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  1.01k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  1.01k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  1.01k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  1.01k|    }
  |  |  ------------------
  |  |10046|  1.01k|                }
  |  |10047|  5.96k|                OPCODE_DEFERRED_INC(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |   90|  5.96k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |10048|  5.96k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  5.96k|    do { \
  |  |  |  |  378|  5.96k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  5.96k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 5.96k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10049|  5.96k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |10050|  5.96k|            }
  |  |10051|       |            /* Skip 1 cache entry */
  |  |10052|       |            /* Skip 1 cache entry */
  |  |10053|       |            /* Skip 1 cache entry */
  |  |10054|       |            // _LOAD_GLOBAL
  |  |10055|      0|            {
  |  |10056|  5.96k|                res = &stack_pointer[0];
  |  |10057|  5.96k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  236|  5.96k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  5.96k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  5.96k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10057:34): [True: 4.94k, False: 1.01k]
  |  |  ------------------
  |  |10058|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10059|  4.94k|                _PyFrame_StackPointerValidate(frame);
  |  |10060|  4.94k|                _PyEval_LoadGlobalStackRef(GLOBALS(), BUILTINS(), name, res);
  |  |  ------------------
  |  |  |  |  326|  4.94k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |                               _PyEval_LoadGlobalStackRef(GLOBALS(), BUILTINS(), name, res);
  |  |  ------------------
  |  |  |  |  327|  4.94k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |10061|  4.94k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10062|  4.94k|                if (PyStackRef_IsNull(*res)) {
  |  |  ------------------
  |  |  |  |  482|  4.94k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  4.94k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  4.94k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 4.94k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10063|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10064|      0|                }
  |  |10065|  4.94k|            }
  |  |10066|       |            // _PUSH_NULL_CONDITIONAL
  |  |10067|  4.94k|            {
  |  |10068|  4.94k|                null = &stack_pointer[1];
  |  |10069|  4.94k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10069:21): [True: 2.90k, False: 2.03k]
  |  |  ------------------
  |  |10070|  2.90k|                    null[0] = PyStackRef_NULL;
  |  |10071|  2.90k|                }
  |  |10072|  4.94k|            }
  |  |10073|  4.94k|            stack_pointer += 1 + (oparg & 1);
  |  |10074|  4.94k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  4.94k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10075|  4.94k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.94k|    { \
  |  |  |  |  201|  4.94k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.94k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.94k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.94k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  4.94k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.94k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.94k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.94k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.94k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.94k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.94k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.94k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.94k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.94k|    }
  |  |  ------------------
  |  |10076|  4.94k|        }
  |  |10077|       |
  |  |10078|  5.13k|        TARGET(LOAD_GLOBAL_BUILTIN) {
  |  |  ------------------
  |  |  |  |  132|  5.13k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10079|       |            #if _Py_TAIL_CALL_INTERP
  |  |10080|       |            int opcode = LOAD_GLOBAL_BUILTIN;
  |  |10081|       |            (void)(opcode);
  |  |10082|       |            #endif
  |  |10083|  5.13k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10084|  5.13k|            (void)this_instr;
  |  |10085|  5.13k|            frame->instr_ptr = next_instr;
  |  |10086|  5.13k|            next_instr += 5;
  |  |10087|  5.13k|            INSTRUCTION_STATS(LOAD_GLOBAL_BUILTIN);
  |  |  ------------------
  |  |  |  |   71|  5.13k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10088|  5.13k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_GLOBAL == 4, "incorrect cache size");
  |  |10089|  5.13k|            _PyStackRef res;
  |  |10090|  5.13k|            _PyStackRef *null;
  |  |10091|       |            /* Skip 1 cache entry */
  |  |10092|       |            // _GUARD_GLOBALS_VERSION
  |  |10093|  5.13k|            {
  |  |10094|  5.13k|                uint16_t version = read_u16(&this_instr[2].cache);
  |  |10095|  5.13k|                PyDictObject *dict = (PyDictObject *)GLOBALS();
  |  |  ------------------
  |  |  |  |  326|  5.13k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10096|  5.13k|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|  5.13k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  5.13k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  5.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10096:21): [True: 0, False: 5.13k]
  |  |  ------------------
  |  |10097|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10098|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10098:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10099|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10100|      0|                }
  |  |10101|  5.13k|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  152|  5.13k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10102|  5.13k|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  161|  5.13k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (10102:21): [True: 1.28k, False: 3.85k]
  |  |  ------------------
  |  |10103|  1.28k|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|  1.28k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10104|  1.28k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10104:21): [True: 1.28k, False: 0]
  |  |  ------------------
  |  |10105|  1.28k|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|  1.28k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10106|      0|                }
  |  |10107|  5.13k|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (10107:17): [True: 3.85k, False: 0]
  |  |  ------------------
  |  |10108|  3.85k|            }
  |  |10109|       |            // _LOAD_GLOBAL_BUILTINS
  |  |10110|  3.85k|            {
  |  |10111|  3.85k|                uint16_t version = read_u16(&this_instr[3].cache);
  |  |10112|  3.85k|                uint16_t index = read_u16(&this_instr[4].cache);
  |  |10113|  3.85k|                PyDictObject *dict = (PyDictObject *)BUILTINS();
  |  |  ------------------
  |  |  |  |  327|  3.85k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |10114|  3.85k|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|  3.85k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  3.85k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10114:21): [True: 0, False: 3.85k]
  |  |  ------------------
  |  |10115|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10116|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10116:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10117|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10118|      0|                }
  |  |10119|  3.85k|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  152|  3.85k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10120|  3.85k|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  161|  3.85k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (10120:21): [True: 1.46k, False: 2.38k]
  |  |  ------------------
  |  |10121|  1.46k|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|  1.46k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10122|  1.46k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10122:21): [True: 1.46k, False: 0]
  |  |  ------------------
  |  |10123|  1.46k|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|  1.46k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10124|      0|                }
  |  |10125|  3.85k|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (10125:17): [True: 2.38k, False: 0]
  |  |  ------------------
  |  |10126|  2.38k|                PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
  |  |10127|  2.38k|                PyObject *res_o = FT_ATOMIC_LOAD_PTR_CONSUME(entries[index].me_value);
  |  |  ------------------
  |  |  |  |  153|  2.38k|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  |  |  ------------------
  |  |10128|  2.38k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10128:21): [True: 0, False: 2.38k]
  |  |  ------------------
  |  |10129|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10130|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10130:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10131|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10132|      0|                }
  |  |10133|       |                #ifdef Py_GIL_DISABLED
  |  |10134|       |                int increfed = _Py_TryIncrefCompareStackRef(&entries[index].me_value, res_o, &res);
  |  |10135|       |                if (!increfed) {
  |  |10136|       |                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |10137|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |10138|       |                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |10139|       |                }
  |  |10140|       |                #else
  |  |10141|  2.38k|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|  2.38k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10142|  2.38k|                #endif
  |  |10143|  2.38k|                STAT_INC(LOAD_GLOBAL, hit);
  |  |  ------------------
  |  |  |  |   73|  2.38k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10144|  2.38k|            }
  |  |10145|       |            // _PUSH_NULL_CONDITIONAL
  |  |10146|      0|            {
  |  |10147|  2.38k|                null = &stack_pointer[1];
  |  |10148|  2.38k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10148:21): [True: 1.60k, False: 780]
  |  |  ------------------
  |  |10149|  1.60k|                    null[0] = PyStackRef_NULL;
  |  |10150|  1.60k|                }
  |  |10151|  2.38k|            }
  |  |10152|  2.38k|            stack_pointer[0] = res;
  |  |10153|  2.38k|            stack_pointer += 1 + (oparg & 1);
  |  |10154|  2.38k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.38k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10155|  2.38k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.38k|    { \
  |  |  |  |  201|  2.38k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.38k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.38k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.38k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.38k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.38k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.38k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.38k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.38k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.38k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.38k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.38k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.38k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.38k|    }
  |  |  ------------------
  |  |10156|  2.38k|        }
  |  |10157|       |
  |  |10158|  12.2k|        TARGET(LOAD_GLOBAL_MODULE) {
  |  |  ------------------
  |  |  |  |  132|  12.2k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10159|       |            #if _Py_TAIL_CALL_INTERP
  |  |10160|       |            int opcode = LOAD_GLOBAL_MODULE;
  |  |10161|       |            (void)(opcode);
  |  |10162|       |            #endif
  |  |10163|  12.2k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10164|  12.2k|            (void)this_instr;
  |  |10165|  12.2k|            frame->instr_ptr = next_instr;
  |  |10166|  12.2k|            next_instr += 5;
  |  |10167|  12.2k|            INSTRUCTION_STATS(LOAD_GLOBAL_MODULE);
  |  |  ------------------
  |  |  |  |   71|  12.2k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10168|  12.2k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_GLOBAL == 4, "incorrect cache size");
  |  |10169|  12.2k|            _PyStackRef res;
  |  |10170|  12.2k|            _PyStackRef *null;
  |  |10171|       |            /* Skip 1 cache entry */
  |  |10172|       |            // _NOP
  |  |10173|  12.2k|            {
  |  |10174|  12.2k|            }
  |  |10175|       |            // _LOAD_GLOBAL_MODULE
  |  |10176|  12.2k|            {
  |  |10177|  12.2k|                uint16_t version = read_u16(&this_instr[2].cache);
  |  |10178|  12.2k|                uint16_t index = read_u16(&this_instr[4].cache);
  |  |10179|  12.2k|                PyDictObject *dict = (PyDictObject *)GLOBALS();
  |  |  ------------------
  |  |  |  |  326|  12.2k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10180|  12.2k|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|  12.2k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  12.2k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10180:21): [True: 0, False: 12.2k]
  |  |  ------------------
  |  |10181|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10182|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10182:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10183|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10184|      0|                }
  |  |10185|  12.2k|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  152|  12.2k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10186|  12.2k|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  161|  12.2k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (10186:21): [True: 704, False: 11.5k]
  |  |  ------------------
  |  |10187|    704|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|    704|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10188|    704|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10188:21): [True: 704, False: 0]
  |  |  ------------------
  |  |10189|    704|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|    704|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10190|      0|                }
  |  |10191|  12.2k|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (10191:17): [True: 11.5k, False: 0]
  |  |  ------------------
  |  |10192|  11.5k|                PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
  |  |10193|  11.5k|                assert(index < DK_SIZE(keys));
  |  |  ------------------
  |  |  |  Branch (10193:17): [True: 11.5k, False: 0]
  |  |  ------------------
  |  |10194|  11.5k|                PyObject *res_o = FT_ATOMIC_LOAD_PTR_CONSUME(entries[index].me_value);
  |  |  ------------------
  |  |  |  |  153|  11.5k|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  |  |  ------------------
  |  |10195|  11.5k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10195:21): [True: 0, False: 11.5k]
  |  |  ------------------
  |  |10196|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10197|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10197:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10198|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10199|      0|                }
  |  |10200|       |                #ifdef Py_GIL_DISABLED
  |  |10201|       |                int increfed = _Py_TryIncrefCompareStackRef(&entries[index].me_value, res_o, &res);
  |  |10202|       |                if (!increfed) {
  |  |10203|       |                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |10204|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |10205|       |                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |10206|       |                }
  |  |10207|       |                #else
  |  |10208|  11.5k|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|  11.5k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10209|  11.5k|                #endif
  |  |10210|  11.5k|                STAT_INC(LOAD_GLOBAL, hit);
  |  |  ------------------
  |  |  |  |   73|  11.5k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10211|  11.5k|            }
  |  |10212|       |            // _PUSH_NULL_CONDITIONAL
  |  |10213|      0|            {
  |  |10214|  11.5k|                null = &stack_pointer[1];
  |  |10215|  11.5k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10215:21): [True: 3.21k, False: 8.31k]
  |  |  ------------------
  |  |10216|  3.21k|                    null[0] = PyStackRef_NULL;
  |  |10217|  3.21k|                }
  |  |10218|  11.5k|            }
  |  |10219|  11.5k|            stack_pointer[0] = res;
  |  |10220|  11.5k|            stack_pointer += 1 + (oparg & 1);
  |  |10221|  11.5k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  11.5k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10222|  11.5k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  11.5k|    { \
  |  |  |  |  201|  11.5k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  11.5k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  11.5k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  11.5k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  11.5k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  11.5k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  11.5k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  11.5k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 11.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  11.5k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  11.5k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  11.5k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  11.5k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  11.5k|    }
  |  |  ------------------
  |  |10223|  11.5k|        }
  |  |10224|       |
  |  |10225|    203|        TARGET(LOAD_LOCALS) {
  |  |  ------------------
  |  |  |  |  132|    203|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10226|       |            #if _Py_TAIL_CALL_INTERP
  |  |10227|       |            int opcode = LOAD_LOCALS;
  |  |10228|       |            (void)(opcode);
  |  |10229|       |            #endif
  |  |10230|    203|            frame->instr_ptr = next_instr;
  |  |10231|    203|            next_instr += 1;
  |  |10232|    203|            INSTRUCTION_STATS(LOAD_LOCALS);
  |  |  ------------------
  |  |  |  |   71|    203|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10233|    203|            _PyStackRef locals;
  |  |10234|    203|            PyObject *l = LOCALS();
  |  |  ------------------
  |  |  |  |  328|    203|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |10235|    203|            if (l == NULL) {
  |  |  ------------------
  |  |  |  Branch (10235:17): [True: 0, False: 203]
  |  |  ------------------
  |  |10236|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10237|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10238|      0|                _PyErr_SetString(tstate, PyExc_SystemError,
  |  |10239|      0|                                 "no locals found");
  |  |10240|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10241|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10242|      0|            }
  |  |10243|    203|            locals = PyStackRef_FromPyObjectNew(l);
  |  |  ------------------
  |  |  |  |  611|    203|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    203|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    203|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10244|    203|            stack_pointer[0] = locals;
  |  |10245|    203|            stack_pointer += 1;
  |  |10246|    203|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    203|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10247|    203|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    203|    { \
  |  |  |  |  201|    203|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    203|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    203|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    203|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    203|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    203|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    203|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    203|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 203]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    203|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    203|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    203|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    203|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    203|    }
  |  |  ------------------
  |  |10248|    203|        }
  |  |10249|       |
  |  |10250|  3.80k|        TARGET(LOAD_NAME) {
  |  |  ------------------
  |  |  |  |  132|  3.80k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10251|       |            #if _Py_TAIL_CALL_INTERP
  |  |10252|       |            int opcode = LOAD_NAME;
  |  |10253|       |            (void)(opcode);
  |  |10254|       |            #endif
  |  |10255|  3.80k|            frame->instr_ptr = next_instr;
  |  |10256|  3.80k|            next_instr += 1;
  |  |10257|  3.80k|            INSTRUCTION_STATS(LOAD_NAME);
  |  |  ------------------
  |  |  |  |   71|  3.80k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10258|  3.80k|            _PyStackRef v;
  |  |10259|  3.80k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|  3.80k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  3.80k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  3.80k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10259:30): [True: 3.80k, False: 0]
  |  |  ------------------
  |  |10260|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10261|  3.80k|            _PyFrame_StackPointerValidate(frame);
  |  |10262|  3.80k|            PyObject *v_o = _PyEval_LoadName(tstate, frame, name);
  |  |10263|  3.80k|            _PyFrame_StackPointerInvalidate(frame);
  |  |10264|  3.80k|            if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10264:17): [True: 0, False: 3.80k]
  |  |  ------------------
  |  |10265|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10266|      0|            }
  |  |10267|  3.80k|            v = PyStackRef_FromPyObjectSteal(v_o);
  |  |10268|  3.80k|            stack_pointer[0] = v;
  |  |10269|  3.80k|            stack_pointer += 1;
  |  |10270|  3.80k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.80k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10271|  3.80k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.80k|    { \
  |  |  |  |  201|  3.80k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.80k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.80k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.80k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.80k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.80k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.80k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.80k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.80k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.80k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.80k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.80k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.80k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.80k|    }
  |  |  ------------------
  |  |10272|  3.80k|        }
  |  |10273|       |
  |  |10274|  3.90k|        TARGET(LOAD_SMALL_INT) {
  |  |  ------------------
  |  |  |  |  132|  3.90k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10275|       |            #if _Py_TAIL_CALL_INTERP
  |  |10276|       |            int opcode = LOAD_SMALL_INT;
  |  |10277|       |            (void)(opcode);
  |  |10278|       |            #endif
  |  |10279|  3.90k|            frame->instr_ptr = next_instr;
  |  |10280|  3.90k|            next_instr += 1;
  |  |10281|  3.90k|            INSTRUCTION_STATS(LOAD_SMALL_INT);
  |  |  ------------------
  |  |  |  |   71|  3.90k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10282|  3.90k|            _PyStackRef value;
  |  |10283|  3.90k|            assert(oparg < _PY_NSMALLPOSINTS);
  |  |  ------------------
  |  |  |  Branch (10283:13): [True: 3.90k, False: 0]
  |  |  ------------------
  |  |10284|  3.90k|            PyObject *obj = (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + oparg];
  |  |  ------------------
  |  |  |  |   59|  3.90k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  3.90k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  3.90k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           PyObject *obj = (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + oparg];
  |  |  ------------------
  |  |  |  |   98|  3.90k|#define _PY_NSMALLNEGINTS           5
  |  |  ------------------
  |  |10285|  3.90k|            value = PyStackRef_FromPyObjectBorrow(obj);
  |  |10286|  3.90k|            stack_pointer[0] = value;
  |  |10287|  3.90k|            stack_pointer += 1;
  |  |10288|  3.90k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.90k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10289|  3.90k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.90k|    { \
  |  |  |  |  201|  3.90k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.90k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.90k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.90k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.90k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.90k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.90k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.90k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.90k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.90k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.90k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.90k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.90k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.90k|    }
  |  |  ------------------
  |  |10290|  3.90k|        }
  |  |10291|       |
  |  |10292|  1.06k|        TARGET(LOAD_SPECIAL) {
  |  |  ------------------
  |  |  |  |  132|  1.06k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10293|       |            #if _Py_TAIL_CALL_INTERP
  |  |10294|       |            int opcode = LOAD_SPECIAL;
  |  |10295|       |            (void)(opcode);
  |  |10296|       |            #endif
  |  |10297|  1.06k|            frame->instr_ptr = next_instr;
  |  |10298|  1.06k|            next_instr += 1;
  |  |10299|  1.06k|            INSTRUCTION_STATS(LOAD_SPECIAL);
  |  |  ------------------
  |  |  |  |   71|  1.06k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10300|  1.06k|            _PyStackRef self;
  |  |10301|  1.06k|            _PyStackRef *method_and_self;
  |  |10302|       |            // _INSERT_NULL
  |  |10303|  1.06k|            {
  |  |10304|  1.06k|                self = stack_pointer[-1];
  |  |10305|  1.06k|                method_and_self = &stack_pointer[-1];
  |  |10306|  1.06k|                method_and_self[1] = self;
  |  |10307|  1.06k|                method_and_self[0] = PyStackRef_NULL;
  |  |10308|  1.06k|            }
  |  |10309|       |            // _LOAD_SPECIAL
  |  |10310|  1.06k|            {
  |  |10311|  1.06k|                method_and_self = &stack_pointer[-1];
  |  |10312|  1.06k|                PyObject *name = _Py_SpecialMethods[oparg].name;
  |  |10313|  1.06k|                stack_pointer += 1;
  |  |10314|  1.06k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.06k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10315|  1.06k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10316|  1.06k|                _PyFrame_StackPointerValidate(frame);
  |  |10317|  1.06k|                int err = _PyObject_LookupSpecialMethod(name, &method_and_self[0],
  |  |10318|  1.06k|                    &method_and_self[1]);
  |  |10319|  1.06k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10320|  1.06k|                if (err <= 0) {
  |  |  ------------------
  |  |  |  Branch (10320:21): [True: 0, False: 1.06k]
  |  |  ------------------
  |  |10321|      0|                    if (err == 0) {
  |  |  ------------------
  |  |  |  Branch (10321:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10322|      0|                        PyObject *owner = PyStackRef_AsPyObjectBorrow(method_and_self[1]);
  |  |10323|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10323:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10324|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10325|      0|                        const char *errfmt = _PyEval_SpecialMethodCanSuggest(owner, oparg)
  |  |  ------------------
  |  |  |  Branch (10325:46): [True: 0, False: 0]
  |  |  ------------------
  |  |10326|      0|                        ? _Py_SpecialMethods[oparg].error_suggestion
  |  |10327|      0|                    : _Py_SpecialMethods[oparg].error;
  |  |10328|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10329|      0|                        assert(!_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (10329:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10330|      0|                        assert(errfmt != NULL);
  |  |  ------------------
  |  |  |  Branch (10330:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10331|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10331:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10332|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10333|      0|                        _PyErr_Format(tstate, PyExc_TypeError, errfmt, owner);
  |  |10334|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10335|      0|                    }
  |  |10336|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10337|      0|                }
  |  |10338|  1.06k|            }
  |  |10339|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  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|    }
  |  |  ------------------
  |  |10340|  1.06k|        }
  |  |10341|       |
  |  |10342|     28|        TARGET(LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  132|     28|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10343|       |            #if _Py_TAIL_CALL_INTERP
  |  |10344|       |            int opcode = LOAD_SUPER_ATTR;
  |  |10345|       |            (void)(opcode);
  |  |10346|       |            #endif
  |  |10347|     28|            frame->instr_ptr = next_instr;
  |  |10348|     28|            next_instr += 2;
  |  |10349|     28|            INSTRUCTION_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |   71|     28|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10350|     28|            PREDICTED_LOAD_SUPER_ATTR:;
  |  |10351|     28|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |10352|     28|            (void)this_instr;
  |  |10353|     28|            opcode = LOAD_SUPER_ATTR;
  |  |  ------------------
  |  |  |  |  105|     28|#define LOAD_SUPER_ATTR                         92
  |  |  ------------------
  |  |10354|     28|            _PyStackRef global_super_st;
  |  |10355|     28|            _PyStackRef class_st;
  |  |10356|     28|            _PyStackRef self_st;
  |  |10357|     28|            _PyStackRef attr;
  |  |10358|     28|            _PyStackRef *null;
  |  |10359|       |            // _SPECIALIZE_LOAD_SUPER_ATTR
  |  |10360|     28|            {
  |  |10361|     28|                class_st = stack_pointer[-2];
  |  |10362|     28|                global_super_st = stack_pointer[-3];
  |  |10363|     28|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |10364|     28|                (void)counter;
  |  |10365|     28|                #if ENABLE_SPECIALIZATION
  |  |10366|     28|                int load_method = oparg & 1;
  |  |10367|     28|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|     28|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 13, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10368|     13|                    next_instr = this_instr;
  |  |10369|     13|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10370|     13|                    _PyFrame_StackPointerValidate(frame);
  |  |10371|     13|                    _Py_Specialize_LoadSuperAttr(global_super_st, class_st, next_instr, load_method);
  |  |10372|     13|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10373|     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|    }
  |  |  ------------------
  |  |10374|     13|                }
  |  |10375|     28|                OPCODE_DEFERRED_INC(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |   90|     28|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |10376|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10377|     28|                #endif  /* ENABLE_SPECIALIZATION */
  |  |10378|     28|            }
  |  |10379|       |            // _LOAD_SUPER_ATTR
  |  |10380|     28|            {
  |  |10381|     28|                self_st = stack_pointer[-1];
  |  |10382|     28|                PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10383|     28|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10384|     28|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10385|     28|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  236|     28|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (10385:21): [True: 0, False: 28]
  |  |  ------------------
  |  |10386|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (10386:37): [True: 0, False: 0]
  |  |  ------------------
  |  |10387|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10388|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |10389|      0|                    int err = _Py_call_instrumentation_2args(
  |  |10390|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  |10391|      0|                        frame, this_instr, global_super, arg);
  |  |10392|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10393|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (10393:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10394|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10394:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10395|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10396|      0|                        _PyStackRef tmp = self_st;
  |  |10397|      0|                        self_st = PyStackRef_NULL;
  |  |10398|      0|                        stack_pointer[-1] = self_st;
  |  |10399|      0|                        PyStackRef_CLOSE(tmp);
  |  |10400|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10401|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10401:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10402|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10403|      0|                        tmp = class_st;
  |  |10404|      0|                        class_st = PyStackRef_NULL;
  |  |10405|      0|                        stack_pointer[-2] = class_st;
  |  |10406|      0|                        PyStackRef_CLOSE(tmp);
  |  |10407|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10408|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10408:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10409|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10410|      0|                        tmp = global_super_st;
  |  |10411|      0|                        global_super_st = PyStackRef_NULL;
  |  |10412|      0|                        stack_pointer[-3] = global_super_st;
  |  |10413|      0|                        PyStackRef_CLOSE(tmp);
  |  |10414|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10415|      0|                        stack_pointer += -3;
  |  |10416|      0|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10417|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10418|      0|                    }
  |  |10419|      0|                }
  |  |10420|     28|                PyObject *super;
  |  |10421|     28|                {
  |  |10422|     28|                    PyObject *stack[] = {class, self};
  |  |10423|     28|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10424|     28|                    _PyFrame_StackPointerValidate(frame);
  |  |10425|     28|                    super = PyObject_Vectorcall(global_super, stack, oparg & 2, NULL);
  |  |10426|     28|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10427|     28|                }
  |  |10428|     28|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  236|     28|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (10428:21): [True: 0, False: 28]
  |  |  ------------------
  |  |10429|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (10429:37): [True: 0, False: 0]
  |  |  ------------------
  |  |10430|      0|                    if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (10430:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10431|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10431:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10432|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10433|      0|                        _Py_call_instrumentation_exc2(
  |  |10434|      0|                            tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  |10435|      0|                            frame, this_instr, global_super, arg);
  |  |10436|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10437|      0|                    }
  |  |10438|      0|                    else {
  |  |10439|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10439:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10440|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10441|      0|                        int err = _Py_call_instrumentation_2args(
  |  |10442|      0|                            tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  |10443|      0|                            frame, this_instr, global_super, arg);
  |  |10444|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10445|      0|                        if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (10445:29): [True: 0, False: 0]
  |  |  ------------------
  |  |10446|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10446:29): [True: 0, False: 0]
  |  |  ------------------
  |  |10447|      0|                            _PyFrame_StackPointerValidate(frame);
  |  |10448|      0|                            Py_CLEAR(super);
  |  |  ------------------
  |  |  |  |  487|      0|    do { \
  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_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); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  493|      0|        } \
  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10449|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  |10450|      0|                        }
  |  |10451|      0|                    }
  |  |10452|      0|                }
  |  |10453|     28|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10453:17): [True: 15, False: 13]
  |  |  ------------------
  |  |10454|     15|                _PyFrame_StackPointerValidate(frame);
  |  |10455|     15|                _PyStackRef tmp = self_st;
  |  |10456|     15|                self_st = PyStackRef_NULL;
  |  |10457|     15|                stack_pointer[-1] = self_st;
  |  |10458|     15|                PyStackRef_CLOSE(tmp);
  |  |10459|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  |10460|     15|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10460:17): [True: 15, False: 0]
  |  |  ------------------
  |  |10461|     15|                _PyFrame_StackPointerValidate(frame);
  |  |10462|     15|                tmp = class_st;
  |  |10463|     15|                class_st = PyStackRef_NULL;
  |  |10464|     15|                stack_pointer[-2] = class_st;
  |  |10465|     15|                PyStackRef_CLOSE(tmp);
  |  |10466|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  |10467|     15|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10467:17): [True: 15, False: 0]
  |  |  ------------------
  |  |10468|     15|                _PyFrame_StackPointerValidate(frame);
  |  |10469|     15|                tmp = global_super_st;
  |  |10470|     15|                global_super_st = PyStackRef_NULL;
  |  |10471|     15|                stack_pointer[-3] = global_super_st;
  |  |10472|     15|                PyStackRef_CLOSE(tmp);
  |  |10473|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  |10474|     15|                stack_pointer += -3;
  |  |10475|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10476|     15|                if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (10476:21): [True: 0, False: 15]
  |  |  ------------------
  |  |10477|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10478|      0|                }
  |  |10479|     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 (10479:34): [True: 15, False: 0]
  |  |  ------------------
  |  |10480|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10481|     15|                _PyFrame_StackPointerValidate(frame);
  |  |10482|     15|                PyObject *attr_o = PyObject_GetAttr(super, name);
  |  |10483|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  |10484|     15|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10484:17): [True: 15, False: 0]
  |  |  ------------------
  |  |10485|     15|                _PyFrame_StackPointerValidate(frame);
  |  |10486|     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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|     15|    do { \
  |  |  |  |  |  |  110|     15|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|     15|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|     15|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115: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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10487|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  |10488|     15|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10488:21): [True: 0, False: 15]
  |  |  ------------------
  |  |10489|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10490|      0|                }
  |  |10491|     15|                attr = PyStackRef_FromPyObjectSteal(attr_o);
  |  |10492|     15|            }
  |  |10493|       |            // _PUSH_NULL_CONDITIONAL
  |  |10494|      0|            {
  |  |10495|     15|                null = &stack_pointer[1];
  |  |10496|     15|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10496:21): [True: 9, False: 6]
  |  |  ------------------
  |  |10497|      9|                    null[0] = PyStackRef_NULL;
  |  |10498|      9|                }
  |  |10499|     15|            }
  |  |10500|     15|            stack_pointer[0] = attr;
  |  |10501|     15|            stack_pointer += 1 + (oparg & 1);
  |  |10502|     15|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10503|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     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|    }
  |  |  ------------------
  |  |10504|     15|        }
  |  |10505|       |
  |  |10506|     76|        TARGET(LOAD_SUPER_ATTR_ATTR) {
  |  |  ------------------
  |  |  |  |  132|     76|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10507|       |            #if _Py_TAIL_CALL_INTERP
  |  |10508|       |            int opcode = LOAD_SUPER_ATTR_ATTR;
  |  |10509|       |            (void)(opcode);
  |  |10510|       |            #endif
  |  |10511|     76|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10512|     76|            (void)this_instr;
  |  |10513|     76|            frame->instr_ptr = next_instr;
  |  |10514|     76|            next_instr += 2;
  |  |10515|     76|            INSTRUCTION_STATS(LOAD_SUPER_ATTR_ATTR);
  |  |  ------------------
  |  |  |  |   71|     76|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10516|     76|            static_assert(INLINE_CACHE_ENTRIES_LOAD_SUPER_ATTR == 1, "incorrect cache size");
  |  |10517|     76|            _PyStackRef global_super_st;
  |  |10518|     76|            _PyStackRef class_st;
  |  |10519|     76|            _PyStackRef self_st;
  |  |10520|     76|            _PyStackRef attr_st;
  |  |10521|       |            /* Skip 1 cache entry */
  |  |10522|     76|            self_st = stack_pointer[-1];
  |  |10523|     76|            class_st = stack_pointer[-2];
  |  |10524|     76|            global_super_st = stack_pointer[-3];
  |  |10525|     76|            PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10526|     76|            PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10527|     76|            PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10528|     76|            assert(!(oparg & 1));
  |  |  ------------------
  |  |  |  Branch (10528:13): [True: 76, False: 0]
  |  |  ------------------
  |  |10529|     76|            if (global_super != (PyObject *)&PySuper_Type) {
  |  |  ------------------
  |  |  |  Branch (10529:17): [True: 0, False: 76]
  |  |  ------------------
  |  |10530|      0|                UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10531|      0|                assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |  ------------------
  |  |  |  Branch (10531:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10532|      0|                JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10533|      0|            }
  |  |10534|     76|            if (!PyType_Check(class)) {
  |  |  ------------------
  |  |  |  |  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 (10534:17): [True: 0, False: 76]
  |  |  ------------------
  |  |10535|      0|                UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10536|      0|                assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |  ------------------
  |  |  |  Branch (10536:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10537|      0|                JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10538|      0|            }
  |  |10539|     76|            STAT_INC(LOAD_SUPER_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     76|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10540|     76|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  236|     76|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|     76|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|     76|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10540:30): [True: 76, False: 0]
  |  |  ------------------
  |  |10541|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10542|     76|            _PyFrame_StackPointerValidate(frame);
  |  |10543|     76|            PyObject *attr = _PySuper_Lookup((PyTypeObject *)class, self, name, NULL);
  |  |10544|     76|            _PyFrame_StackPointerInvalidate(frame);
  |  |10545|     76|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10545:13): [True: 76, False: 0]
  |  |  ------------------
  |  |10546|     76|            _PyFrame_StackPointerValidate(frame);
  |  |10547|     76|            _PyStackRef tmp = self_st;
  |  |10548|     76|            self_st = PyStackRef_NULL;
  |  |10549|     76|            stack_pointer[-1] = self_st;
  |  |10550|     76|            PyStackRef_CLOSE(tmp);
  |  |10551|     76|            _PyFrame_StackPointerInvalidate(frame);
  |  |10552|     76|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10552:13): [True: 76, False: 0]
  |  |  ------------------
  |  |10553|     76|            _PyFrame_StackPointerValidate(frame);
  |  |10554|     76|            tmp = class_st;
  |  |10555|     76|            class_st = PyStackRef_NULL;
  |  |10556|     76|            stack_pointer[-2] = class_st;
  |  |10557|     76|            PyStackRef_CLOSE(tmp);
  |  |10558|     76|            _PyFrame_StackPointerInvalidate(frame);
  |  |10559|     76|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10559:13): [True: 76, False: 0]
  |  |  ------------------
  |  |10560|     76|            _PyFrame_StackPointerValidate(frame);
  |  |10561|     76|            tmp = global_super_st;
  |  |10562|     76|            global_super_st = PyStackRef_NULL;
  |  |10563|     76|            stack_pointer[-3] = global_super_st;
  |  |10564|     76|            PyStackRef_CLOSE(tmp);
  |  |10565|     76|            _PyFrame_StackPointerInvalidate(frame);
  |  |10566|     76|            stack_pointer += -3;
  |  |10567|     76|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     76|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10568|     76|            if (attr == NULL) {
  |  |  ------------------
  |  |  |  Branch (10568:17): [True: 0, False: 76]
  |  |  ------------------
  |  |10569|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10570|      0|            }
  |  |10571|     76|            attr_st = PyStackRef_FromPyObjectSteal(attr);
  |  |10572|     76|            stack_pointer[0] = attr_st;
  |  |10573|     76|            stack_pointer += 1;
  |  |10574|     76|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     76|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10575|     76|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     76|    { \
  |  |  |  |  201|     76|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     76|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     76|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     76|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     76|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     76|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     76|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     76|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 76]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     76|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     76|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     76|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     76|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     76|    }
  |  |  ------------------
  |  |10576|     76|        }
  |  |10577|       |
  |  |10578|    527|        TARGET(LOAD_SUPER_ATTR_METHOD) {
  |  |  ------------------
  |  |  |  |  132|    527|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10579|       |            #if _Py_TAIL_CALL_INTERP
  |  |10580|       |            int opcode = LOAD_SUPER_ATTR_METHOD;
  |  |10581|       |            (void)(opcode);
  |  |10582|       |            #endif
  |  |10583|    527|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10584|    527|            (void)this_instr;
  |  |10585|    527|            frame->instr_ptr = next_instr;
  |  |10586|    527|            next_instr += 2;
  |  |10587|    527|            INSTRUCTION_STATS(LOAD_SUPER_ATTR_METHOD);
  |  |  ------------------
  |  |  |  |   71|    527|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10588|    527|            static_assert(INLINE_CACHE_ENTRIES_LOAD_SUPER_ATTR == 1, "incorrect cache size");
  |  |10589|    527|            _PyStackRef global_super_st;
  |  |10590|    527|            _PyStackRef class_st;
  |  |10591|    527|            _PyStackRef self_st;
  |  |10592|    527|            _PyStackRef attr;
  |  |10593|    527|            _PyStackRef self_or_null;
  |  |10594|       |            /* Skip 1 cache entry */
  |  |10595|       |            // _GUARD_LOAD_SUPER_ATTR_METHOD
  |  |10596|    527|            {
  |  |10597|    527|                class_st = stack_pointer[-2];
  |  |10598|    527|                global_super_st = stack_pointer[-3];
  |  |10599|    527|                PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10600|    527|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10601|    527|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (10601:17): [True: 527, False: 0]
  |  |  ------------------
  |  |10602|    527|                if (global_super != (PyObject *)&PySuper_Type) {
  |  |  ------------------
  |  |  |  Branch (10602:21): [True: 0, False: 527]
  |  |  ------------------
  |  |10603|      0|                    UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10604|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |  ------------------
  |  |  |  Branch (10604:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10605|      0|                    JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10606|      0|                }
  |  |10607|    527|                if (!PyType_Check(class)) {
  |  |  ------------------
  |  |  |  |  766|    527|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    527|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    527|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10607:21): [True: 0, False: 527]
  |  |  ------------------
  |  |10608|      0|                    UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10609|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |  ------------------
  |  |  |  Branch (10609:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10610|      0|                    JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10611|      0|                }
  |  |10612|    527|            }
  |  |10613|       |            // _LOAD_SUPER_ATTR_METHOD
  |  |10614|    527|            {
  |  |10615|    527|                self_st = stack_pointer[-1];
  |  |10616|    527|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10617|    527|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10618|    527|                STAT_INC(LOAD_SUPER_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    527|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10619|    527|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  236|    527|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    527|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    527|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    527|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10619:34): [True: 527, False: 0]
  |  |  ------------------
  |  |10620|      0|                PyTypeObject *cls = (PyTypeObject *)class;
  |  |10621|    527|                int method_found = 0;
  |  |10622|    527|                PyObject *attr_o;
  |  |10623|    527|                {
  |  |10624|    527|                    int *method_found_ptr = &method_found;
  |  |10625|    527|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10626|    527|                    _PyFrame_StackPointerValidate(frame);
  |  |10627|    527|                    attr_o = _PySuper_Lookup(cls, self, name,
  |  |10628|    527|                        Py_TYPE(self)->tp_getattro == PyObject_GenericGetAttr ? method_found_ptr : NULL);
  |  |  ------------------
  |  |  |  |  213|    527|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    527|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    527|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10628:25): [True: 200, False: 327]
  |  |  ------------------
  |  |10629|    527|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10630|    527|                }
  |  |10631|    527|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10631:21): [True: 0, False: 527]
  |  |  ------------------
  |  |10632|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10633|      0|                }
  |  |10634|    527|                if (method_found) {
  |  |  ------------------
  |  |  |  Branch (10634:21): [True: 200, False: 327]
  |  |  ------------------
  |  |10635|    200|                    self_or_null = self_st;
  |  |10636|    327|                } else {
  |  |10637|    327|                    stack_pointer += -1;
  |  |10638|    327|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    327|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10639|    327|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10640|    327|                    _PyFrame_StackPointerValidate(frame);
  |  |10641|    327|                    PyStackRef_CLOSE(self_st);
  |  |10642|    327|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10643|    327|                    self_or_null = PyStackRef_NULL;
  |  |10644|    327|                    stack_pointer += 1;
  |  |10645|    327|                }
  |  |10646|    527|                stack_pointer += -1;
  |  |10647|    527|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    527|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10648|    527|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10649|    527|                _PyFrame_StackPointerValidate(frame);
  |  |10650|    527|                _PyStackRef tmp = global_super_st;
  |  |10651|    527|                global_super_st = self_or_null;
  |  |10652|    527|                stack_pointer[-2] = global_super_st;
  |  |10653|    527|                PyStackRef_CLOSE(tmp);
  |  |10654|    527|                _PyFrame_StackPointerInvalidate(frame);
  |  |10655|    527|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10655:17): [True: 527, False: 0]
  |  |  ------------------
  |  |10656|    527|                _PyFrame_StackPointerValidate(frame);
  |  |10657|    527|                tmp = class_st;
  |  |10658|    527|                class_st = PyStackRef_NULL;
  |  |10659|    527|                stack_pointer[-1] = class_st;
  |  |10660|    527|                PyStackRef_CLOSE(tmp);
  |  |10661|    527|                _PyFrame_StackPointerInvalidate(frame);
  |  |10662|    527|                stack_pointer += -2;
  |  |10663|    527|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    527|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10664|    527|                attr = PyStackRef_FromPyObjectSteal(attr_o);
  |  |10665|    527|            }
  |  |10666|      0|            stack_pointer[0] = attr;
  |  |10667|    527|            stack_pointer[1] = self_or_null;
  |  |10668|    527|            stack_pointer += 2;
  |  |10669|    527|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    527|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10670|    527|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    527|    { \
  |  |  |  |  201|    527|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    527|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    527|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    527|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    527|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    527|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    527|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    527|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 527]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    527|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    527|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    527|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    527|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    527|    }
  |  |  ------------------
  |  |10671|    527|        }
  |  |10672|       |
  |  |10673|    362|        TARGET(MAKE_CELL) {
  |  |  ------------------
  |  |  |  |  132|    362|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10674|       |            #if _Py_TAIL_CALL_INTERP
  |  |10675|       |            int opcode = MAKE_CELL;
  |  |10676|       |            (void)(opcode);
  |  |10677|       |            #endif
  |  |10678|    362|            frame->instr_ptr = next_instr;
  |  |10679|    362|            next_instr += 1;
  |  |10680|    362|            INSTRUCTION_STATS(MAKE_CELL);
  |  |  ------------------
  |  |  |  |   71|    362|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10681|    362|            PyObject *initial = PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|    362|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10682|    362|            PyObject *cell = PyCell_New(initial);
  |  |10683|    362|            if (cell == NULL) {
  |  |  ------------------
  |  |  |  Branch (10683:17): [True: 0, False: 362]
  |  |  ------------------
  |  |10684|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10685|      0|            }
  |  |10686|    362|            _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|    362|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10687|    362|            GETLOCAL(oparg) = PyStackRef_FromPyObjectSteal(cell);
  |  |  ------------------
  |  |  |  |  285|    362|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10688|    362|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10689|    362|            _PyFrame_StackPointerValidate(frame);
  |  |10690|    362|            PyStackRef_XCLOSE(tmp);
  |  |10691|    362|            _PyFrame_StackPointerInvalidate(frame);
  |  |10692|    362|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    362|    { \
  |  |  |  |  201|    362|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    362|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    362|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    362|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    362|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    362|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    362|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    362|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 362]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    362|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    362|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    362|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    362|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    362|    }
  |  |  ------------------
  |  |10693|    362|        }
  |  |10694|       |
  |  |10695|  2.36k|        TARGET(MAKE_FUNCTION) {
  |  |  ------------------
  |  |  |  |  132|  2.36k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10696|       |            #if _Py_TAIL_CALL_INTERP
  |  |10697|       |            int opcode = MAKE_FUNCTION;
  |  |10698|       |            (void)(opcode);
  |  |10699|       |            #endif
  |  |10700|  2.36k|            frame->instr_ptr = next_instr;
  |  |10701|  2.36k|            next_instr += 1;
  |  |10702|  2.36k|            INSTRUCTION_STATS(MAKE_FUNCTION);
  |  |  ------------------
  |  |  |  |   71|  2.36k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10703|  2.36k|            _PyStackRef codeobj_st;
  |  |10704|  2.36k|            _PyStackRef func;
  |  |10705|  2.36k|            _PyStackRef co;
  |  |10706|  2.36k|            _PyStackRef value;
  |  |10707|       |            // _MAKE_FUNCTION
  |  |10708|  2.36k|            {
  |  |10709|  2.36k|                codeobj_st = stack_pointer[-1];
  |  |10710|  2.36k|                PyObject *codeobj = PyStackRef_AsPyObjectBorrow(codeobj_st);
  |  |10711|  2.36k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10712|  2.36k|                _PyFrame_StackPointerValidate(frame);
  |  |10713|  2.36k|                PyFunctionObject *func_obj = (PyFunctionObject *)
  |  |10714|  2.36k|                PyFunction_New(codeobj, GLOBALS());
  |  |  ------------------
  |  |  |  |  326|  2.36k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10715|  2.36k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10716|  2.36k|                if (func_obj == NULL) {
  |  |  ------------------
  |  |  |  Branch (10716:21): [True: 0, False: 2.36k]
  |  |  ------------------
  |  |10717|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10718|      0|                }
  |  |10719|  2.36k|                co = codeobj_st;
  |  |10720|  2.36k|                _PyFunction_SetVersion(
  |  |10721|  2.36k|                                   func_obj, ((PyCodeObject *)codeobj)->co_version);
  |  |10722|  2.36k|                func = PyStackRef_FromPyObjectSteal((PyObject *)func_obj);
  |  |10723|  2.36k|            }
  |  |10724|       |            // _POP_TOP
  |  |10725|      0|            {
  |  |10726|  2.36k|                value = co;
  |  |10727|  2.36k|                stack_pointer[-1] = func;
  |  |10728|  2.36k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10728:17): [True: 2.36k, False: 0]
  |  |  ------------------
  |  |10729|  2.36k|                _PyFrame_StackPointerValidate(frame);
  |  |10730|  2.36k|                PyStackRef_XCLOSE(value);
  |  |10731|  2.36k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10732|  2.36k|            }
  |  |10733|  2.36k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.36k|    { \
  |  |  |  |  201|  2.36k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.36k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.36k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.36k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.36k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.36k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.36k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.36k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.36k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.36k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.36k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.36k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.36k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.36k|    }
  |  |  ------------------
  |  |10734|  2.36k|        }
  |  |10735|       |
  |  |10736|  1.08k|        TARGET(MAP_ADD) {
  |  |  ------------------
  |  |  |  |  132|  1.08k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10737|       |            #if _Py_TAIL_CALL_INTERP
  |  |10738|       |            int opcode = MAP_ADD;
  |  |10739|       |            (void)(opcode);
  |  |10740|       |            #endif
  |  |10741|  1.08k|            frame->instr_ptr = next_instr;
  |  |10742|  1.08k|            next_instr += 1;
  |  |10743|  1.08k|            INSTRUCTION_STATS(MAP_ADD);
  |  |  ------------------
  |  |  |  |   71|  1.08k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10744|  1.08k|            _PyStackRef dict_st;
  |  |10745|  1.08k|            _PyStackRef key;
  |  |10746|  1.08k|            _PyStackRef value;
  |  |10747|  1.08k|            value = stack_pointer[-1];
  |  |10748|  1.08k|            key = stack_pointer[-2];
  |  |10749|  1.08k|            dict_st = stack_pointer[-3 - (oparg - 1)];
  |  |10750|  1.08k|            PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |10751|  1.08k|            assert(PyDict_CheckExact(dict));
  |  |  ------------------
  |  |  |  Branch (10751:13): [True: 1.08k, False: 0]
  |  |  ------------------
  |  |10752|  1.08k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10753|  1.08k|            _PyFrame_StackPointerValidate(frame);
  |  |10754|  1.08k|            int err = _PyDict_SetItem_Take2(
  |  |10755|  1.08k|                (PyDictObject *)dict,
  |  |10756|  1.08k|                PyStackRef_AsPyObjectSteal(key),
  |  |10757|  1.08k|                PyStackRef_AsPyObjectSteal(value)
  |  |10758|  1.08k|            );
  |  |10759|  1.08k|            _PyFrame_StackPointerInvalidate(frame);
  |  |10760|  1.08k|            if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (10760:17): [True: 0, False: 1.08k]
  |  |  ------------------
  |  |10761|      0|                JUMP_TO_LABEL(pop_2_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10762|      0|            }
  |  |10763|  1.08k|            stack_pointer += -2;
  |  |10764|  1.08k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.08k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10765|  1.08k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.08k|    { \
  |  |  |  |  201|  1.08k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.08k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.08k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.08k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.08k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.08k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.08k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.08k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.08k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.08k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.08k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.08k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.08k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.08k|    }
  |  |  ------------------
  |  |10766|  1.08k|        }
  |  |10767|       |
  |  |10768|      0|        TARGET(MATCH_CLASS) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10769|       |            #if _Py_TAIL_CALL_INTERP
  |  |10770|       |            int opcode = MATCH_CLASS;
  |  |10771|       |            (void)(opcode);
  |  |10772|       |            #endif
  |  |10773|      0|            frame->instr_ptr = next_instr;
  |  |10774|      0|            next_instr += 1;
  |  |10775|      0|            INSTRUCTION_STATS(MATCH_CLASS);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10776|      0|            _PyStackRef subject;
  |  |10777|      0|            _PyStackRef type;
  |  |10778|      0|            _PyStackRef names;
  |  |10779|      0|            _PyStackRef attrs;
  |  |10780|      0|            _PyStackRef s;
  |  |10781|      0|            _PyStackRef tp;
  |  |10782|      0|            _PyStackRef n;
  |  |10783|      0|            _PyStackRef value;
  |  |10784|       |            // _MATCH_CLASS
  |  |10785|      0|            {
  |  |10786|      0|                names = stack_pointer[-1];
  |  |10787|      0|                type = stack_pointer[-2];
  |  |10788|      0|                subject = stack_pointer[-3];
  |  |10789|      0|                assert(PyTuple_CheckExact(PyStackRef_AsPyObjectBorrow(names)));
  |  |  ------------------
  |  |  |  Branch (10789:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10790|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10791|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10792|      0|                PyObject *attrs_o = _PyEval_MatchClass(tstate,
  |  |10793|      0|                    PyStackRef_AsPyObjectBorrow(subject),
  |  |10794|      0|                    PyStackRef_AsPyObjectBorrow(type), oparg,
  |  |10795|      0|                    PyStackRef_AsPyObjectBorrow(names));
  |  |10796|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10797|      0|                if (attrs_o) {
  |  |  ------------------
  |  |  |  Branch (10797:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10798|      0|                    assert(PyTuple_CheckExact(attrs_o));
  |  |  ------------------
  |  |  |  Branch (10798:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10799|      0|                    attrs = PyStackRef_FromPyObjectSteal(attrs_o);
  |  |10800|      0|                }
  |  |10801|      0|                else {
  |  |10802|      0|                    if (_PyErr_Occurred(tstate)) {
  |  |  ------------------
  |  |  |  Branch (10802:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10803|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10804|      0|                    }
  |  |10805|      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
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10806|      0|                }
  |  |10807|      0|                s = subject;
  |  |10808|      0|                tp = type;
  |  |10809|      0|                n = names;
  |  |10810|      0|            }
  |  |10811|       |            // _POP_TOP
  |  |10812|      0|            {
  |  |10813|      0|                value = n;
  |  |10814|      0|                stack_pointer[-3] = attrs;
  |  |10815|      0|                stack_pointer[-2] = s;
  |  |10816|      0|                stack_pointer[-1] = tp;
  |  |10817|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10817:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10818|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10819|      0|                PyStackRef_XCLOSE(value);
  |  |10820|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10821|      0|            }
  |  |10822|       |            // _POP_TOP
  |  |10823|      0|            {
  |  |10824|      0|                value = tp;
  |  |10825|      0|                stack_pointer += -1;
  |  |10826|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10827|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10828|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10829|      0|                PyStackRef_XCLOSE(value);
  |  |10830|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10831|      0|            }
  |  |10832|       |            // _POP_TOP
  |  |10833|      0|            {
  |  |10834|      0|                value = s;
  |  |10835|      0|                stack_pointer += -1;
  |  |10836|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10837|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10838|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10839|      0|                PyStackRef_XCLOSE(value);
  |  |10840|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10841|      0|            }
  |  |10842|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |10843|      0|        }
  |  |10844|       |
  |  |10845|      0|        TARGET(MATCH_KEYS) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10846|       |            #if _Py_TAIL_CALL_INTERP
  |  |10847|       |            int opcode = MATCH_KEYS;
  |  |10848|       |            (void)(opcode);
  |  |10849|       |            #endif
  |  |10850|      0|            frame->instr_ptr = next_instr;
  |  |10851|      0|            next_instr += 1;
  |  |10852|      0|            INSTRUCTION_STATS(MATCH_KEYS);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10853|      0|            _PyStackRef subject;
  |  |10854|      0|            _PyStackRef keys;
  |  |10855|      0|            _PyStackRef values_or_none;
  |  |10856|      0|            keys = stack_pointer[-1];
  |  |10857|      0|            subject = stack_pointer[-2];
  |  |10858|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10859|      0|            _PyFrame_StackPointerValidate(frame);
  |  |10860|      0|            PyObject *values_or_none_o = _PyEval_MatchKeys(tstate,
  |  |10861|      0|                PyStackRef_AsPyObjectBorrow(subject), PyStackRef_AsPyObjectBorrow(keys));
  |  |10862|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  |10863|      0|            if (values_or_none_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10863:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10864|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10865|      0|            }
  |  |10866|      0|            values_or_none = PyStackRef_FromPyObjectSteal(values_or_none_o);
  |  |10867|      0|            stack_pointer[0] = values_or_none;
  |  |10868|      0|            stack_pointer += 1;
  |  |10869|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10870|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |10871|      0|        }
  |  |10872|       |
  |  |10873|      0|        TARGET(MATCH_MAPPING) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10874|       |            #if _Py_TAIL_CALL_INTERP
  |  |10875|       |            int opcode = MATCH_MAPPING;
  |  |10876|       |            (void)(opcode);
  |  |10877|       |            #endif
  |  |10878|      0|            frame->instr_ptr = next_instr;
  |  |10879|      0|            next_instr += 1;
  |  |10880|      0|            INSTRUCTION_STATS(MATCH_MAPPING);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10881|      0|            _PyStackRef subject;
  |  |10882|      0|            _PyStackRef res;
  |  |10883|      0|            subject = stack_pointer[-1];
  |  |10884|      0|            int match = PyStackRef_TYPE(subject)->tp_flags & Py_TPFLAGS_MAPPING;
  |  |  ------------------
  |  |  |  |  492|      0|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  |  |10885|      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 (10885:19): [True: 0, False: 0]
  |  |  ------------------
  |  |10886|      0|            stack_pointer[0] = res;
  |  |10887|      0|            stack_pointer += 1;
  |  |10888|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10889|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |10890|      0|        }
  |  |10891|       |
  |  |10892|      0|        TARGET(MATCH_SEQUENCE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10893|       |            #if _Py_TAIL_CALL_INTERP
  |  |10894|       |            int opcode = MATCH_SEQUENCE;
  |  |10895|       |            (void)(opcode);
  |  |10896|       |            #endif
  |  |10897|      0|            frame->instr_ptr = next_instr;
  |  |10898|      0|            next_instr += 1;
  |  |10899|      0|            INSTRUCTION_STATS(MATCH_SEQUENCE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10900|      0|            _PyStackRef subject;
  |  |10901|      0|            _PyStackRef res;
  |  |10902|      0|            subject = stack_pointer[-1];
  |  |10903|      0|            int match = PyStackRef_TYPE(subject)->tp_flags & Py_TPFLAGS_SEQUENCE;
  |  |  ------------------
  |  |  |  |  490|      0|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |10904|      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 (10904:19): [True: 0, False: 0]
  |  |  ------------------
  |  |10905|      0|            stack_pointer[0] = res;
  |  |10906|      0|            stack_pointer += 1;
  |  |10907|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10908|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |10909|      0|        }
  |  |10910|       |
  |  |10911|  3.48k|        TARGET(NOP) {
  |  |  ------------------
  |  |  |  |  132|  3.48k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10912|       |            #if _Py_TAIL_CALL_INTERP
  |  |10913|       |            int opcode = NOP;
  |  |10914|       |            (void)(opcode);
  |  |10915|       |            #endif
  |  |10916|  3.48k|            frame->instr_ptr = next_instr;
  |  |10917|  3.48k|            next_instr += 1;
  |  |10918|  3.48k|            INSTRUCTION_STATS(NOP);
  |  |  ------------------
  |  |  |  |   71|  3.48k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10919|  3.48k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.48k|    { \
  |  |  |  |  201|  3.48k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.48k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.48k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.48k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.48k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.48k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.48k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.48k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.48k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.48k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.48k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.48k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.48k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.48k|    }
  |  |  ------------------
  |  |10920|  3.48k|        }
  |  |10921|       |
  |  |10922|  3.48k|        TARGET(NOT_TAKEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10923|       |            #if _Py_TAIL_CALL_INTERP
  |  |10924|       |            int opcode = NOT_TAKEN;
  |  |10925|       |            (void)(opcode);
  |  |10926|       |            #endif
  |  |10927|      0|            frame->instr_ptr = next_instr;
  |  |10928|      0|            next_instr += 1;
  |  |10929|      0|            INSTRUCTION_STATS(NOT_TAKEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10930|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |10931|      0|        }
  |  |10932|       |
  |  |10933|    310|        TARGET(POP_EXCEPT) {
  |  |  ------------------
  |  |  |  |  132|    310|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10934|       |            #if _Py_TAIL_CALL_INTERP
  |  |10935|       |            int opcode = POP_EXCEPT;
  |  |10936|       |            (void)(opcode);
  |  |10937|       |            #endif
  |  |10938|    310|            frame->instr_ptr = next_instr;
  |  |10939|    310|            next_instr += 1;
  |  |10940|    310|            INSTRUCTION_STATS(POP_EXCEPT);
  |  |  ------------------
  |  |  |  |   71|    310|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10941|    310|            _PyStackRef exc_value;
  |  |10942|    310|            exc_value = stack_pointer[-1];
  |  |10943|    310|            _PyErr_StackItem *exc_info = tstate->exc_info;
  |  |10944|    310|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10945|    310|            _PyFrame_StackPointerValidate(frame);
  |  |10946|    310|            Py_XSETREF(exc_info->exc_value,
  |  |  ------------------
  |  |  |  |  576|    310|    do { \
  |  |  |  |  577|    310|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|    310|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  578|    310|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|    310|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  579|    620|        *_tmp_dst_ptr = (src); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (579:26): [True: 293, False: 17]
  |  |  |  |  ------------------
  |  |  |  |  580|    310|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|    310|    do { \
  |  |  |  |  |  |   70|    310|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    310|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    310|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   71|    310|        if (xop != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (71:13): [True: 310, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   72|    310|            Py_DECREF(xop); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|    310|    do { \
  |  |  |  |  |  |  |  |   81|    310|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|    310|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|    310|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|    310|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  137|    310|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  171|    310|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   37|    310|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 310]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |  |  |   86|    310|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   20|    310|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   87|    310|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (87:13): [True: 296, False: 14]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|    296|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  109|    296|    do { \
  |  |  |  |  |  |  |  |  |  |  110|    296|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  |  |  111|    296|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 296]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  |  |  115|    296|    } while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 296]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   89|    296|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  213|    296|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  171|    296|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   37|    296|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   90|    296|            (*dealloc)(op); \
  |  |  |  |  |  |  |  |   91|    296|        } \
  |  |  |  |  |  |  |  |   92|    310|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 310]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   73|    310|        } \
  |  |  |  |  |  |   74|    310|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (74:14): [Folded, False: 310]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|    310|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (581:14): [Folded, False: 310]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10947|    310|                       PyStackRef_IsNone(exc_value)
  |  |10948|    310|                       ? NULL : PyStackRef_AsPyObjectSteal(exc_value));
  |  |10949|    310|            _PyFrame_StackPointerInvalidate(frame);
  |  |10950|    310|            stack_pointer += -1;
  |  |10951|    310|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    310|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10952|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    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|    }
  |  |  ------------------
  |  |10953|    310|        }
  |  |10954|       |
  |  |10955|  1.06k|        TARGET(POP_ITER) {
  |  |  ------------------
  |  |  |  |  132|  1.06k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10956|       |            #if _Py_TAIL_CALL_INTERP
  |  |10957|       |            int opcode = POP_ITER;
  |  |10958|       |            (void)(opcode);
  |  |10959|       |            #endif
  |  |10960|  1.06k|            frame->instr_ptr = next_instr;
  |  |10961|  1.06k|            next_instr += 1;
  |  |10962|  1.06k|            INSTRUCTION_STATS(POP_ITER);
  |  |  ------------------
  |  |  |  |   71|  1.06k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10963|  1.06k|            _PyStackRef iter;
  |  |10964|  1.06k|            _PyStackRef index_or_null;
  |  |10965|  1.06k|            index_or_null = stack_pointer[-1];
  |  |10966|  1.06k|            iter = stack_pointer[-2];
  |  |10967|  1.06k|            (void)index_or_null;
  |  |10968|  1.06k|            stack_pointer += -2;
  |  |10969|  1.06k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.06k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10970|  1.06k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10971|  1.06k|            _PyFrame_StackPointerValidate(frame);
  |  |10972|  1.06k|            PyStackRef_CLOSE(iter);
  |  |10973|  1.06k|            _PyFrame_StackPointerInvalidate(frame);
  |  |10974|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  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|    }
  |  |  ------------------
  |  |10975|  1.06k|        }
  |  |10976|       |
  |  |10977|  7.67k|        TARGET(POP_JUMP_IF_FALSE) {
  |  |  ------------------
  |  |  |  |  132|  7.67k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10978|       |            #if _Py_TAIL_CALL_INTERP
  |  |10979|       |            int opcode = POP_JUMP_IF_FALSE;
  |  |10980|       |            (void)(opcode);
  |  |10981|       |            #endif
  |  |10982|  7.67k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10983|  7.67k|            (void)this_instr;
  |  |10984|  7.67k|            frame->instr_ptr = next_instr;
  |  |10985|  7.67k|            next_instr += 2;
  |  |10986|  7.67k|            INSTRUCTION_STATS(POP_JUMP_IF_FALSE);
  |  |  ------------------
  |  |  |  |   71|  7.67k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10987|  7.67k|            _PyStackRef cond;
  |  |10988|       |            /* Skip 1 cache entry */
  |  |10989|  7.67k|            cond = stack_pointer[-1];
  |  |10990|  7.67k|            assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (10990:13): [True: 7.67k, False: 0]
  |  |  ------------------
  |  |10991|  7.67k|            int flag = PyStackRef_IsFalse(cond);
  |  |  ------------------
  |  |  |  |  494|  7.67k|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  7.67k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10992|  7.67k|            RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  394|  7.67k|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|  7.67k|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|  7.67k|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |10993|  7.67k|            JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|  15.3k|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 4.79k, False: 2.87k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10994|  7.67k|            stack_pointer += -1;
  |  |10995|  7.67k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  7.67k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10996|  7.67k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.67k|    { \
  |  |  |  |  201|  7.67k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  7.67k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  7.67k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  7.67k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  7.67k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  7.67k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  7.67k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  7.67k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 7.67k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.67k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.67k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.67k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.67k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.67k|    }
  |  |  ------------------
  |  |10997|  7.67k|        }
  |  |10998|       |
  |  |10999|    794|        TARGET(POP_JUMP_IF_NONE) {
  |  |  ------------------
  |  |  |  |  132|    794|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11000|       |            #if _Py_TAIL_CALL_INTERP
  |  |11001|       |            int opcode = POP_JUMP_IF_NONE;
  |  |11002|       |            (void)(opcode);
  |  |11003|       |            #endif
  |  |11004|    794|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11005|    794|            (void)this_instr;
  |  |11006|    794|            frame->instr_ptr = next_instr;
  |  |11007|    794|            next_instr += 2;
  |  |11008|    794|            INSTRUCTION_STATS(POP_JUMP_IF_NONE);
  |  |  ------------------
  |  |  |  |   71|    794|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11009|    794|            _PyStackRef value;
  |  |11010|    794|            _PyStackRef b;
  |  |11011|    794|            _PyStackRef cond;
  |  |11012|       |            /* Skip 1 cache entry */
  |  |11013|       |            // _IS_NONE
  |  |11014|    794|            {
  |  |11015|    794|                value = stack_pointer[-1];
  |  |11016|    794|                if (PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  495|    794|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    794|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (495:32): [True: 422, False: 372]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11017|    422|                    b = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|    422|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    422|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11018|    422|                }
  |  |11019|    372|                else {
  |  |11020|    372|                    b = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|    372|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    372|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11021|    372|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11022|    372|                    _PyFrame_StackPointerValidate(frame);
  |  |11023|    372|                    _PyStackRef tmp = value;
  |  |11024|    372|                    value = b;
  |  |11025|    372|                    stack_pointer[-1] = value;
  |  |11026|    372|                    PyStackRef_CLOSE(tmp);
  |  |11027|    372|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11028|    372|                }
  |  |11029|    794|            }
  |  |11030|       |            // _POP_JUMP_IF_TRUE
  |  |11031|    794|            {
  |  |11032|    794|                cond = b;
  |  |11033|    794|                assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (11033:17): [True: 794, False: 0]
  |  |  ------------------
  |  |11034|    794|                int flag = PyStackRef_IsTrue(cond);
  |  |  ------------------
  |  |  |  |  493|    794|#define PyStackRef_IsTrue(REF) ((REF).bits == (((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    794|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11035|    794|                RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  394|    794|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|    794|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|    794|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |11036|    794|                JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|  1.58k|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 422, False: 372]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11037|    794|            }
  |  |11038|      0|            stack_pointer += -1;
  |  |11039|    794|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    794|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11040|    794|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    794|    { \
  |  |  |  |  201|    794|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    794|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    794|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    794|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    794|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    794|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    794|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    794|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 794]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    794|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    794|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    794|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    794|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    794|    }
  |  |  ------------------
  |  |11041|    794|        }
  |  |11042|       |
  |  |11043|  2.44k|        TARGET(POP_JUMP_IF_NOT_NONE) {
  |  |  ------------------
  |  |  |  |  132|  2.44k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11044|       |            #if _Py_TAIL_CALL_INTERP
  |  |11045|       |            int opcode = POP_JUMP_IF_NOT_NONE;
  |  |11046|       |            (void)(opcode);
  |  |11047|       |            #endif
  |  |11048|  2.44k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11049|  2.44k|            (void)this_instr;
  |  |11050|  2.44k|            frame->instr_ptr = next_instr;
  |  |11051|  2.44k|            next_instr += 2;
  |  |11052|  2.44k|            INSTRUCTION_STATS(POP_JUMP_IF_NOT_NONE);
  |  |  ------------------
  |  |  |  |   71|  2.44k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11053|  2.44k|            _PyStackRef value;
  |  |11054|  2.44k|            _PyStackRef b;
  |  |11055|  2.44k|            _PyStackRef cond;
  |  |11056|       |            /* Skip 1 cache entry */
  |  |11057|       |            // _IS_NONE
  |  |11058|  2.44k|            {
  |  |11059|  2.44k|                value = stack_pointer[-1];
  |  |11060|  2.44k|                if (PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  495|  2.44k|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.44k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (495:32): [True: 1.16k, False: 1.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11061|  1.16k|                    b = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|  1.16k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.16k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11062|  1.16k|                }
  |  |11063|  1.28k|                else {
  |  |11064|  1.28k|                    b = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  1.28k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.28k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11065|  1.28k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11066|  1.28k|                    _PyFrame_StackPointerValidate(frame);
  |  |11067|  1.28k|                    _PyStackRef tmp = value;
  |  |11068|  1.28k|                    value = b;
  |  |11069|  1.28k|                    stack_pointer[-1] = value;
  |  |11070|  1.28k|                    PyStackRef_CLOSE(tmp);
  |  |11071|  1.28k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11072|  1.28k|                }
  |  |11073|  2.44k|            }
  |  |11074|       |            // _POP_JUMP_IF_FALSE
  |  |11075|  2.44k|            {
  |  |11076|  2.44k|                cond = b;
  |  |11077|  2.44k|                assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (11077:17): [True: 2.44k, False: 0]
  |  |  ------------------
  |  |11078|  2.44k|                int flag = PyStackRef_IsFalse(cond);
  |  |  ------------------
  |  |  |  |  494|  2.44k|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.44k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11079|  2.44k|                RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  394|  2.44k|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|  2.44k|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|  2.44k|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |11080|  2.44k|                JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|  4.89k|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 1.28k, False: 1.16k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11081|  2.44k|            }
  |  |11082|      0|            stack_pointer += -1;
  |  |11083|  2.44k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.44k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11084|  2.44k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.44k|    { \
  |  |  |  |  201|  2.44k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.44k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.44k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.44k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.44k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.44k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.44k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.44k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.44k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.44k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.44k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.44k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.44k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.44k|    }
  |  |  ------------------
  |  |11085|  2.44k|        }
  |  |11086|       |
  |  |11087|  4.26k|        TARGET(POP_JUMP_IF_TRUE) {
  |  |  ------------------
  |  |  |  |  132|  4.26k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11088|       |            #if _Py_TAIL_CALL_INTERP
  |  |11089|       |            int opcode = POP_JUMP_IF_TRUE;
  |  |11090|       |            (void)(opcode);
  |  |11091|       |            #endif
  |  |11092|  4.26k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11093|  4.26k|            (void)this_instr;
  |  |11094|  4.26k|            frame->instr_ptr = next_instr;
  |  |11095|  4.26k|            next_instr += 2;
  |  |11096|  4.26k|            INSTRUCTION_STATS(POP_JUMP_IF_TRUE);
  |  |  ------------------
  |  |  |  |   71|  4.26k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11097|  4.26k|            _PyStackRef cond;
  |  |11098|       |            /* Skip 1 cache entry */
  |  |11099|  4.26k|            cond = stack_pointer[-1];
  |  |11100|  4.26k|            assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (11100:13): [True: 4.26k, False: 0]
  |  |  ------------------
  |  |11101|  4.26k|            int flag = PyStackRef_IsTrue(cond);
  |  |  ------------------
  |  |  |  |  493|  4.26k|#define PyStackRef_IsTrue(REF) ((REF).bits == (((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  4.26k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11102|  4.26k|            RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  394|  4.26k|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|  4.26k|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|  4.26k|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |11103|  4.26k|            JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|  8.53k|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 2.79k, False: 1.46k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11104|  4.26k|            stack_pointer += -1;
  |  |11105|  4.26k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  4.26k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11106|  4.26k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.26k|    { \
  |  |  |  |  201|  4.26k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.26k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.26k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.26k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  4.26k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.26k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.26k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.26k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.26k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.26k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.26k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.26k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.26k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.26k|    }
  |  |  ------------------
  |  |11107|  4.26k|        }
  |  |11108|       |
  |  |11109|  7.46k|        TARGET(POP_TOP) {
  |  |  ------------------
  |  |  |  |  132|  7.46k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11110|       |            #if _Py_TAIL_CALL_INTERP
  |  |11111|       |            int opcode = POP_TOP;
  |  |11112|       |            (void)(opcode);
  |  |11113|       |            #endif
  |  |11114|  7.46k|            frame->instr_ptr = next_instr;
  |  |11115|  7.46k|            next_instr += 1;
  |  |11116|  7.46k|            INSTRUCTION_STATS(POP_TOP);
  |  |  ------------------
  |  |  |  |   71|  7.46k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11117|  7.46k|            _PyStackRef value;
  |  |11118|  7.46k|            value = stack_pointer[-1];
  |  |11119|  7.46k|            stack_pointer += -1;
  |  |11120|  7.46k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  7.46k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11121|  7.46k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11122|  7.46k|            _PyFrame_StackPointerValidate(frame);
  |  |11123|  7.46k|            PyStackRef_XCLOSE(value);
  |  |11124|  7.46k|            _PyFrame_StackPointerInvalidate(frame);
  |  |11125|  7.46k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.46k|    { \
  |  |  |  |  201|  7.46k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  7.46k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  7.46k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  7.46k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  7.46k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  7.46k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  7.46k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  7.46k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 7.46k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.46k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.46k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.46k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.46k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.46k|    }
  |  |  ------------------
  |  |11126|  7.46k|        }
  |  |11127|       |
  |  |11128|  7.46k|        TARGET(PUSH_EXC_INFO) {
  |  |  ------------------
  |  |  |  |  132|    310|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11129|       |            #if _Py_TAIL_CALL_INTERP
  |  |11130|       |            int opcode = PUSH_EXC_INFO;
  |  |11131|       |            (void)(opcode);
  |  |11132|       |            #endif
  |  |11133|    310|            frame->instr_ptr = next_instr;
  |  |11134|    310|            next_instr += 1;
  |  |11135|    310|            INSTRUCTION_STATS(PUSH_EXC_INFO);
  |  |  ------------------
  |  |  |  |   71|    310|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11136|    310|            _PyStackRef exc;
  |  |11137|    310|            _PyStackRef prev_exc;
  |  |11138|    310|            _PyStackRef new_exc;
  |  |11139|    310|            exc = stack_pointer[-1];
  |  |11140|    310|            _PyErr_StackItem *exc_info = tstate->exc_info;
  |  |11141|    310|            if (exc_info->exc_value != NULL) {
  |  |  ------------------
  |  |  |  Branch (11141:17): [True: 17, False: 293]
  |  |  ------------------
  |  |11142|     17|                prev_exc = PyStackRef_FromPyObjectSteal(exc_info->exc_value);
  |  |11143|     17|            }
  |  |11144|    293|            else {
  |  |11145|    293|                prev_exc = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|    293|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    293|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11146|    293|            }
  |  |11147|    310|            assert(PyStackRef_ExceptionInstanceCheck(exc));
  |  |  ------------------
  |  |  |  Branch (11147:13): [True: 310, False: 0]
  |  |  ------------------
  |  |11148|    310|            exc_info->exc_value = PyStackRef_AsPyObjectNew(exc);
  |  |  ------------------
  |  |  |  |  757|    310|#define PyStackRef_AsPyObjectNew(stackref) Py_NewRef(PyStackRef_AsPyObjectBorrow(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  647|    310|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    310|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    310|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11149|    310|            new_exc = exc;
  |  |11150|    310|            stack_pointer[-1] = prev_exc;
  |  |11151|    310|            stack_pointer[0] = new_exc;
  |  |11152|    310|            stack_pointer += 1;
  |  |11153|    310|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    310|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11154|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    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|    }
  |  |  ------------------
  |  |11155|    310|        }
  |  |11156|       |
  |  |11157|  2.60k|        TARGET(PUSH_NULL) {
  |  |  ------------------
  |  |  |  |  132|  2.60k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11158|       |            #if _Py_TAIL_CALL_INTERP
  |  |11159|       |            int opcode = PUSH_NULL;
  |  |11160|       |            (void)(opcode);
  |  |11161|       |            #endif
  |  |11162|  2.60k|            frame->instr_ptr = next_instr;
  |  |11163|  2.60k|            next_instr += 1;
  |  |11164|  2.60k|            INSTRUCTION_STATS(PUSH_NULL);
  |  |  ------------------
  |  |  |  |   71|  2.60k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11165|  2.60k|            _PyStackRef res;
  |  |11166|  2.60k|            res = PyStackRef_NULL;
  |  |11167|  2.60k|            stack_pointer[0] = res;
  |  |11168|  2.60k|            stack_pointer += 1;
  |  |11169|  2.60k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.60k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11170|  2.60k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.60k|    { \
  |  |  |  |  201|  2.60k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.60k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.60k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.60k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.60k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.60k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.60k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.60k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.60k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.60k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.60k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.60k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.60k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.60k|    }
  |  |  ------------------
  |  |11171|  2.60k|        }
  |  |11172|       |
  |  |11173|  2.60k|        TARGET(RAISE_VARARGS) {
  |  |  ------------------
  |  |  |  |  132|     31|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11174|       |            #if _Py_TAIL_CALL_INTERP
  |  |11175|       |            int opcode = RAISE_VARARGS;
  |  |11176|       |            (void)(opcode);
  |  |11177|       |            #endif
  |  |11178|     31|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11179|     31|            (void)this_instr;
  |  |11180|     31|            frame->instr_ptr = next_instr;
  |  |11181|     31|            next_instr += 1;
  |  |11182|     31|            INSTRUCTION_STATS(RAISE_VARARGS);
  |  |  ------------------
  |  |  |  |   71|     31|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11183|     31|            _PyStackRef *args;
  |  |11184|     31|            args = &stack_pointer[-oparg];
  |  |11185|     31|            assert(oparg < 3);
  |  |  ------------------
  |  |  |  Branch (11185:13): [True: 31, False: 0]
  |  |  ------------------
  |  |11186|     31|            PyObject *cause = oparg == 2 ? PyStackRef_AsPyObjectSteal(args[1]) : NULL;
  |  |  ------------------
  |  |  |  Branch (11186:31): [True: 0, False: 31]
  |  |  ------------------
  |  |11187|     31|            PyObject *exc = oparg > 0 ? PyStackRef_AsPyObjectSteal(args[0]) : NULL;
  |  |  ------------------
  |  |  |  Branch (11187:29): [True: 31, False: 0]
  |  |  ------------------
  |  |11188|     31|            stack_pointer += -oparg;
  |  |11189|     31|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     31|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11190|     31|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11191|     31|            _PyFrame_StackPointerValidate(frame);
  |  |11192|     31|            int err = do_raise(tstate, exc, cause);
  |  |11193|     31|            _PyFrame_StackPointerInvalidate(frame);
  |  |11194|     31|            if (err) {
  |  |  ------------------
  |  |  |  Branch (11194:17): [True: 0, False: 31]
  |  |  ------------------
  |  |11195|      0|                assert(oparg == 0);
  |  |  ------------------
  |  |  |  Branch (11195:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11196|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11196:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11197|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11198|      0|                monitor_reraise(tstate, frame, this_instr);
  |  |11199|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11200|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11200:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11201|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11202|      0|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11203|      0|            }
  |  |11204|     31|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     31|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11205|      0|        }
  |  |11206|       |
  |  |11207|     18|        TARGET(RERAISE) {
  |  |  ------------------
  |  |  |  |  132|     18|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11208|       |            #if _Py_TAIL_CALL_INTERP
  |  |11209|       |            int opcode = RERAISE;
  |  |11210|       |            (void)(opcode);
  |  |11211|       |            #endif
  |  |11212|     18|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11213|     18|            (void)this_instr;
  |  |11214|     18|            frame->instr_ptr = next_instr;
  |  |11215|     18|            next_instr += 1;
  |  |11216|     18|            INSTRUCTION_STATS(RERAISE);
  |  |  ------------------
  |  |  |  |   71|     18|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11217|     18|            _PyStackRef *values;
  |  |11218|     18|            _PyStackRef exc_st;
  |  |11219|     18|            exc_st = stack_pointer[-1];
  |  |11220|     18|            values = &stack_pointer[-1 - oparg];
  |  |11221|     18|            PyObject *exc = PyStackRef_AsPyObjectSteal(exc_st);
  |  |11222|     18|            assert(oparg >= 0 && oparg <= 2);
  |  |  ------------------
  |  |  |  Branch (11222:13): [True: 18, False: 0]
  |  |  |  Branch (11222:13): [True: 18, False: 0]
  |  |  ------------------
  |  |11223|     18|            if (oparg) {
  |  |  ------------------
  |  |  |  Branch (11223:17): [True: 10, False: 8]
  |  |  ------------------
  |  |11224|     10|                frame->instr_ptr = _PyFrame_GetBytecode(frame) + PyStackRef_UntagInt(values[0]);
  |  |11225|     10|            }
  |  |11226|     18|            assert(exc && PyExceptionInstance_Check(exc));
  |  |  ------------------
  |  |  |  Branch (11226:13): [True: 18, False: 0]
  |  |  |  Branch (11226:13): [True: 18, False: 0]
  |  |  ------------------
  |  |11227|     18|            stack_pointer += -1;
  |  |11228|     18|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     18|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11229|     18|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11230|     18|            _PyFrame_StackPointerValidate(frame);
  |  |11231|     18|            _PyErr_SetRaisedException(tstate, exc);
  |  |11232|     18|            _PyFrame_StackPointerInvalidate(frame);
  |  |11233|     18|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11233:13): [True: 18, False: 0]
  |  |  ------------------
  |  |11234|     18|            _PyFrame_StackPointerValidate(frame);
  |  |11235|     18|            monitor_reraise(tstate, frame, this_instr);
  |  |11236|     18|            _PyFrame_StackPointerInvalidate(frame);
  |  |11237|     18|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11237:13): [True: 18, False: 0]
  |  |  ------------------
  |  |11238|     18|            _PyFrame_StackPointerValidate(frame);
  |  |11239|     18|            JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|     18|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11240|      0|        }
  |  |11241|       |
  |  |11242|      0|        TARGET(RESERVED) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11243|       |            #if _Py_TAIL_CALL_INTERP
  |  |11244|       |            int opcode = RESERVED;
  |  |11245|       |            (void)(opcode);
  |  |11246|       |            #endif
  |  |11247|      0|            frame->instr_ptr = next_instr;
  |  |11248|      0|            next_instr += 1;
  |  |11249|      0|            INSTRUCTION_STATS(RESERVED);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11250|      0|            assert(0 && "Executing RESERVED instruction.");
  |  |  ------------------
  |  |  |  Branch (11250:13): [Folded, False: 0]
  |  |  |  Branch (11250:13): [True: 0, False: 0]
  |  |  ------------------
  |  |11251|      0|            Py_FatalError("Executing RESERVED instruction.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  |11252|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |11253|      0|        }
  |  |11254|       |
  |  |11255|    799|        TARGET(RESUME) {
  |  |  ------------------
  |  |  |  |  132|    799|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11256|       |            #if _Py_TAIL_CALL_INTERP
  |  |11257|       |            int opcode = RESUME;
  |  |11258|       |            (void)(opcode);
  |  |11259|       |            #endif
  |  |11260|    799|            frame->instr_ptr = next_instr;
  |  |11261|    799|            next_instr += 2;
  |  |11262|    799|            INSTRUCTION_STATS(RESUME);
  |  |  ------------------
  |  |  |  |   71|    799|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11263|    799|            PREDICTED_RESUME:;
  |  |11264|    799|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |11265|    799|            (void)this_instr;
  |  |11266|       |            // _LOAD_BYTECODE
  |  |11267|    799|            {
  |  |11268|       |                #ifdef Py_GIL_DISABLED
  |  |11269|       |                if (frame->tlbc_index !=
  |  |11270|       |                    ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  |11271|       |                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11272|       |                    _PyFrame_StackPointerValidate(frame);
  |  |11273|       |                    _Py_CODEUNIT *bytecode =
  |  |11274|       |                    _PyEval_GetExecutableCode(tstate, _PyFrame_GetCode(frame));
  |  |11275|       |                    _PyFrame_StackPointerInvalidate(frame);
  |  |11276|       |                    if (bytecode == NULL) {
  |  |11277|       |                        JUMP_TO_LABEL(error);
  |  |11278|       |                    }
  |  |11279|       |                    ptrdiff_t off = this_instr - _PyFrame_GetBytecode(frame);
  |  |11280|       |                    frame->tlbc_index = ((_PyThreadStateImpl *)tstate)->tlbc_index;
  |  |11281|       |                    frame->instr_ptr = bytecode + off;
  |  |11282|       |                    next_instr = frame->instr_ptr;
  |  |11283|       |                    DISPATCH();
  |  |11284|       |                }
  |  |11285|       |                #endif
  |  |11286|    799|            }
  |  |11287|       |            // _MAYBE_INSTRUMENT
  |  |11288|    799|            {
  |  |11289|       |                #ifdef Py_GIL_DISABLED
  |  |11290|       |
  |  |11291|       |                int check_instrumentation = 1;
  |  |11292|       |                #else
  |  |11293|    799|                int check_instrumentation = (tstate->tracing == 0);
  |  |11294|    799|                #endif
  |  |11295|    799|                if (check_instrumentation) {
  |  |  ------------------
  |  |  |  Branch (11295:21): [True: 799, False: 0]
  |  |  ------------------
  |  |11296|    799|                    uintptr_t global_version = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) & ~_PY_EVAL_EVENTS_MASK;
  |  |  ------------------
  |  |  |  |  356|    799|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  355|    799|#define _PY_EVAL_EVENTS_BITS 8
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11297|    799|                    uintptr_t code_version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  154|    799|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |11298|    799|                    if (code_version != global_version) {
  |  |  ------------------
  |  |  |  Branch (11298:25): [True: 0, False: 799]
  |  |  ------------------
  |  |11299|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11300|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |11301|      0|                        int err = _Py_Instrument(_PyFrame_GetCode(frame), tstate->interp);
  |  |11302|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |11303|      0|                        if (err) {
  |  |  ------------------
  |  |  |  Branch (11303:29): [True: 0, False: 0]
  |  |  ------------------
  |  |11304|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11305|      0|                        }
  |  |11306|      0|                        next_instr = this_instr;
  |  |11307|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |11308|      0|                    }
  |  |11309|    799|                }
  |  |11310|    799|            }
  |  |11311|       |            // _QUICKEN_RESUME
  |  |11312|    799|            {
  |  |11313|    799|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |11314|    799|                (void)counter;
  |  |11315|    799|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11316|    799|                _PyFrame_StackPointerValidate(frame);
  |  |11317|    799|                _Py_Specialize_Resume(this_instr, tstate, frame);
  |  |11318|    799|                _PyFrame_StackPointerInvalidate(frame);
  |  |11319|    799|            }
  |  |11320|       |            // _CHECK_PERIODIC_IF_NOT_YIELD_FROM
  |  |11321|    799|            {
  |  |11322|    799|                if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   94|    799|#define RESUME_OPARG_LOCATION_MASK 0x7
  |  |  ------------------
  |  |                               if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   90|    799|#define RESUME_AFTER_YIELD_FROM 2
  |  |  ------------------
  |  |  |  Branch (11322:21): [True: 780, False: 19]
  |  |  ------------------
  |  |11323|    780|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11323:21): [True: 780, False: 0]
  |  |  ------------------
  |  |11324|    780|                    _PyFrame_StackPointerValidate(frame);
  |  |11325|    780|                    int err = check_periodics(tstate);
  |  |11326|    780|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11327|    780|                    if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (11327:25): [True: 0, False: 780]
  |  |  ------------------
  |  |11328|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11329|      0|                    }
  |  |11330|    780|                }
  |  |11331|    799|            }
  |  |11332|    799|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    799|    { \
  |  |  |  |  201|    799|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    799|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    799|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    799|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    799|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    799|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    799|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    799|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 799]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    799|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    799|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    799|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    799|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    799|    }
  |  |  ------------------
  |  |11333|    799|        }
  |  |11334|       |
  |  |11335|  7.63k|        TARGET(RESUME_CHECK) {
  |  |  ------------------
  |  |  |  |  132|  7.63k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11336|       |            #if _Py_TAIL_CALL_INTERP
  |  |11337|       |            int opcode = RESUME_CHECK;
  |  |11338|       |            (void)(opcode);
  |  |11339|       |            #endif
  |  |11340|  7.63k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11341|  7.63k|            (void)this_instr;
  |  |11342|  7.63k|            frame->instr_ptr = next_instr;
  |  |11343|  7.63k|            next_instr += 2;
  |  |11344|  7.63k|            INSTRUCTION_STATS(RESUME_CHECK);
  |  |  ------------------
  |  |  |  |   71|  7.63k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11345|  7.63k|            static_assert(1 == 1, "incorrect cache size");
  |  |11346|       |            /* Skip 1 cache entry */
  |  |11347|       |            #if defined(__EMSCRIPTEN__)
  |  |11348|       |            if (_Py_emscripten_signal_clock == 0) {
  |  |11349|       |                UPDATE_MISS_STATS(RESUME);
  |  |11350|       |                assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |11351|       |                JUMP_TO_PREDICTED(RESUME);
  |  |11352|       |            }
  |  |11353|       |            _Py_emscripten_signal_clock -= Py_EMSCRIPTEN_SIGNAL_HANDLING;
  |  |11354|       |            #endif
  |  |11355|  7.63k|            uintptr_t eval_breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  |  |11356|  7.63k|            uintptr_t version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  154|  7.63k|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |11357|  7.63k|            assert((version & _PY_EVAL_EVENTS_MASK) == 0);
  |  |  ------------------
  |  |  |  Branch (11357:13): [True: 7.63k, False: 0]
  |  |  ------------------
  |  |11358|  7.63k|            if (eval_breaker != version) {
  |  |  ------------------
  |  |  |  Branch (11358:17): [True: 0, False: 7.63k]
  |  |  ------------------
  |  |11359|      0|                UPDATE_MISS_STATS(RESUME);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11360|      0|                assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |  ------------------
  |  |  |  Branch (11360:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11361|      0|                JUMP_TO_PREDICTED(RESUME);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11362|      0|            }
  |  |11363|       |            #ifdef Py_GIL_DISABLED
  |  |11364|       |            if (frame->tlbc_index !=
  |  |11365|       |                ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  |11366|       |                UPDATE_MISS_STATS(RESUME);
  |  |11367|       |                assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |11368|       |                JUMP_TO_PREDICTED(RESUME);
  |  |11369|       |            }
  |  |11370|       |            #endif
  |  |11371|  7.63k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.63k|    { \
  |  |  |  |  201|  7.63k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  7.63k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  7.63k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  7.63k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  7.63k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  7.63k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  7.63k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  7.63k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 7.63k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.63k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.63k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.63k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.63k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.63k|    }
  |  |  ------------------
  |  |11372|  7.63k|        }
  |  |11373|       |
  |  |11374|      0|        TARGET(RESUME_CHECK_JIT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11375|       |            #if _Py_TAIL_CALL_INTERP
  |  |11376|       |            int opcode = RESUME_CHECK_JIT;
  |  |11377|       |            (void)(opcode);
  |  |11378|       |            #endif
  |  |11379|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11380|      0|            (void)this_instr;
  |  |11381|      0|            frame->instr_ptr = next_instr;
  |  |11382|      0|            next_instr += 2;
  |  |11383|      0|            INSTRUCTION_STATS(RESUME_CHECK_JIT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11384|      0|            static_assert(1 == 1, "incorrect cache size");
  |  |11385|       |            /* Skip 1 cache entry */
  |  |11386|       |            // _RESUME_CHECK
  |  |11387|      0|            {
  |  |11388|       |                #if defined(__EMSCRIPTEN__)
  |  |11389|       |                if (_Py_emscripten_signal_clock == 0) {
  |  |11390|       |                    UPDATE_MISS_STATS(RESUME);
  |  |11391|       |                    assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |11392|       |                    JUMP_TO_PREDICTED(RESUME);
  |  |11393|       |                }
  |  |11394|       |                _Py_emscripten_signal_clock -= Py_EMSCRIPTEN_SIGNAL_HANDLING;
  |  |11395|       |                #endif
  |  |11396|      0|                uintptr_t eval_breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  |  |11397|      0|                uintptr_t version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  154|      0|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |11398|      0|                assert((version & _PY_EVAL_EVENTS_MASK) == 0);
  |  |  ------------------
  |  |  |  Branch (11398:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11399|      0|                if (eval_breaker != version) {
  |  |  ------------------
  |  |  |  Branch (11399:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11400|      0|                    UPDATE_MISS_STATS(RESUME);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11401|      0|                    assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |  ------------------
  |  |  |  Branch (11401:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11402|      0|                    JUMP_TO_PREDICTED(RESUME);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11403|      0|                }
  |  |11404|       |                #ifdef Py_GIL_DISABLED
  |  |11405|       |                if (frame->tlbc_index !=
  |  |11406|       |                    ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  |11407|       |                    UPDATE_MISS_STATS(RESUME);
  |  |11408|       |                    assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |11409|       |                    JUMP_TO_PREDICTED(RESUME);
  |  |11410|       |                }
  |  |11411|       |                #endif
  |  |11412|      0|            }
  |  |11413|       |            // _JIT
  |  |11414|      0|            {
  |  |11415|       |                #ifdef _Py_TIER2
  |  |11416|       |                bool is_resume = this_instr->op.code == RESUME_CHECK_JIT;
  |  |11417|       |                _Py_BackoffCounter counter = this_instr[1].counter;
  |  |11418|       |                if ((backoff_counter_triggers(counter) &&
  |  |11419|       |                        !IS_JIT_TRACING() &&
  |  |11420|       |                        (this_instr->op.code == JUMP_BACKWARD_JIT || is_resume)) &&
  |  |11421|       |                    next_instr->op.code != ENTER_EXECUTOR) {
  |  |11422|       |                    _Py_CODEUNIT *insert_exec_at = this_instr;
  |  |11423|       |                    for (int tmp = oparg; tmp > 255; tmp >>= 8) {
  |  |11424|       |                        insert_exec_at--;
  |  |11425|       |                    }
  |  |11426|       |                    int succ = _PyJit_TryInitializeTracing(tstate, frame, this_instr, insert_exec_at,
  |  |11427|       |                        is_resume ? insert_exec_at : next_instr, stack_pointer, 0, NULL, oparg, NULL);
  |  |11428|       |                    if (succ) {
  |  |11429|       |                        ENTER_TRACING();
  |  |11430|       |                    }
  |  |11431|       |                    else {
  |  |11432|       |                        this_instr[1].counter = restart_backoff_counter(counter);
  |  |11433|       |                    }
  |  |11434|       |                }
  |  |11435|       |                else {
  |  |11436|       |                    ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |11437|       |                }
  |  |11438|       |                #endif
  |  |11439|      0|            }
  |  |11440|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |11441|      0|        }
  |  |11442|       |
  |  |11443|    113|        TARGET(RETURN_GENERATOR) {
  |  |  ------------------
  |  |  |  |  132|    113|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11444|       |            #if _Py_TAIL_CALL_INTERP
  |  |11445|       |            int opcode = RETURN_GENERATOR;
  |  |11446|       |            (void)(opcode);
  |  |11447|       |            #endif
  |  |11448|    113|            frame->instr_ptr = next_instr;
  |  |11449|    113|            next_instr += 1;
  |  |11450|    113|            INSTRUCTION_STATS(RETURN_GENERATOR);
  |  |  ------------------
  |  |  |  |   71|    113|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11451|    113|            _PyStackRef res;
  |  |11452|    113|            assert(PyStackRef_FunctionCheck(frame->f_funcobj));
  |  |  ------------------
  |  |  |  Branch (11452:13): [True: 113, False: 0]
  |  |  ------------------
  |  |11453|    113|            PyFunctionObject *func = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(frame->f_funcobj);
  |  |11454|    113|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11455|    113|            _PyFrame_StackPointerValidate(frame);
  |  |11456|    113|            PyGenObject *gen = (PyGenObject *)_Py_MakeCoro(func);
  |  |11457|    113|            _PyFrame_StackPointerInvalidate(frame);
  |  |11458|    113|            if (gen == NULL) {
  |  |  ------------------
  |  |  |  Branch (11458:17): [True: 0, False: 113]
  |  |  ------------------
  |  |11459|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11460|      0|            }
  |  |11461|    113|            assert(STACK_LEVEL() <= 2);
  |  |  ------------------
  |  |  |  Branch (11461:13): [True: 113, False: 0]
  |  |  ------------------
  |  |11462|    113|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11462:13): [True: 113, False: 0]
  |  |  ------------------
  |  |11463|    113|            _PyFrame_StackPointerValidate(frame);
  |  |11464|    113|            _PyInterpreterFrame *gen_frame = &gen->gi_iframe;
  |  |11465|    113|            frame->instr_ptr++;
  |  |11466|    113|            _PyFrame_Copy(frame, gen_frame);
  |  |11467|    113|            assert(frame->frame_obj == NULL);
  |  |  ------------------
  |  |  |  Branch (11467:13): [True: 113, False: 0]
  |  |  ------------------
  |  |11468|    113|            gen->gi_frame_state = FRAME_CREATED;
  |  |11469|    113|            gen_frame->owner = FRAME_OWNED_BY_GENERATOR;
  |  |11470|    113|            _Py_LeaveRecursiveCallPy(tstate);
  |  |11471|    113|            _PyInterpreterFrame *prev = frame->previous;
  |  |11472|    113|            _PyThreadState_UpdateLastProfiledFrame(tstate, frame, prev);
  |  |  ------------------
  |  |  |  |  326|    113|    do { \
  |  |  |  |  327|    113|        PyThreadState *tstate_ = (tstate); \
  |  |  |  |  328|    113|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  |  |  329|    113|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (329:13): [True: 0, False: 113]
  |  |  |  |  ------------------
  |  |  |  |  330|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  |  |  331|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  |  |  332|      0|        } \
  |  |  |  |  333|    113|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (333:14): [Folded, False: 113]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11473|    113|            _PyThreadState_PopFrame(tstate, frame);
  |  |11474|    113|            frame = tstate->current_frame = prev;
  |  |11475|    113|            LOAD_IP(frame->return_offset);
  |  |  ------------------
  |  |  |  |  441|    113|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|    113|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|    113|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 113]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11476|    113|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11477|    113|            _PyFrame_StackPointerInvalidate(frame);
  |  |11478|    113|            res = PyStackRef_FromPyObjectStealMortal((PyObject *)gen);
  |  |11479|    113|            LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    113|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11480|    113|            stack_pointer[0] = res;
  |  |11481|    113|            stack_pointer += 1;
  |  |11482|    113|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    113|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11483|    113|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    113|    { \
  |  |  |  |  201|    113|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    113|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    113|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    113|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    113|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    113|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    113|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    113|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 113]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    113|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    113|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    113|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    113|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    113|    }
  |  |  ------------------
  |  |11484|    113|        }
  |  |11485|       |
  |  |11486|  8.30k|        TARGET(RETURN_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  8.30k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11487|       |            #if _Py_TAIL_CALL_INTERP
  |  |11488|       |            int opcode = RETURN_VALUE;
  |  |11489|       |            (void)(opcode);
  |  |11490|       |            #endif
  |  |11491|  8.30k|            frame->instr_ptr = next_instr;
  |  |11492|  8.30k|            next_instr += 1;
  |  |11493|  8.30k|            INSTRUCTION_STATS(RETURN_VALUE);
  |  |  ------------------
  |  |  |  |   71|  8.30k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11494|  8.30k|            _PyStackRef value;
  |  |11495|  8.30k|            _PyStackRef retval;
  |  |11496|  8.30k|            _PyStackRef res;
  |  |11497|       |            // _MAKE_HEAP_SAFE
  |  |11498|  8.30k|            {
  |  |11499|  8.30k|                value = stack_pointer[-1];
  |  |11500|  8.30k|                value = PyStackRef_MakeHeapSafe(value);
  |  |11501|  8.30k|            }
  |  |11502|       |            // _RETURN_VALUE
  |  |11503|  8.30k|            {
  |  |11504|  8.30k|                retval = value;
  |  |11505|  8.30k|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (11505:17): [True: 8.30k, False: 0]
  |  |  ------------------
  |  |11506|  8.30k|                _PyStackRef temp = retval;
  |  |11507|  8.30k|                stack_pointer += -1;
  |  |11508|  8.30k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  8.30k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11509|  8.30k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11510|  8.30k|                _PyFrame_StackPointerValidate(frame);
  |  |11511|  8.30k|                assert(STACK_LEVEL() == 0);
  |  |  ------------------
  |  |  |  Branch (11511:17): [True: 8.30k, False: 0]
  |  |  ------------------
  |  |11512|  8.30k|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|  8.30k|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |11513|  8.30k|                _Py_LeaveRecursiveCallPy(tstate);
  |  |11514|  8.30k|                _PyInterpreterFrame *dying = frame;
  |  |11515|  8.30k|                frame = tstate->current_frame = dying->previous;
  |  |11516|  8.30k|                _PyEval_FrameClearAndPop(tstate, dying);
  |  |11517|  8.30k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11518|  8.30k|                _PyFrame_StackPointerInvalidate(frame);
  |  |11519|  8.30k|                LOAD_IP(frame->return_offset);
  |  |  ------------------
  |  |  |  |  441|  8.30k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  8.30k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  8.30k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 8.30k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11520|  8.30k|                res = temp;
  |  |11521|  8.30k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  8.30k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11522|  8.30k|            }
  |  |11523|      0|            stack_pointer[0] = res;
  |  |11524|  8.30k|            stack_pointer += 1;
  |  |11525|  8.30k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  8.30k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11526|  8.30k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  8.30k|    { \
  |  |  |  |  201|  8.30k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  8.30k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  8.30k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  8.30k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  8.30k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  8.30k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  8.30k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  8.30k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 8.30k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  8.30k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  8.30k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  8.30k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  8.30k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  8.30k|    }
  |  |  ------------------
  |  |11527|  8.30k|        }
  |  |11528|       |
  |  |11529|      2|        TARGET(SEND) {
  |  |  ------------------
  |  |  |  |  132|      2|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11530|       |            #if _Py_TAIL_CALL_INTERP
  |  |11531|       |            int opcode = SEND;
  |  |11532|       |            (void)(opcode);
  |  |11533|       |            #endif
  |  |11534|      2|            frame->instr_ptr = next_instr;
  |  |11535|      2|            next_instr += 2;
  |  |11536|      2|            INSTRUCTION_STATS(SEND);
  |  |  ------------------
  |  |  |  |   71|      2|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11537|      2|            PREDICTED_SEND:;
  |  |11538|      2|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |11539|      2|            (void)this_instr;
  |  |11540|      2|            _PyStackRef receiver;
  |  |11541|      2|            _PyStackRef null_or_index;
  |  |11542|      2|            _PyStackRef v;
  |  |11543|      2|            _PyStackRef retval;
  |  |11544|       |            // _SPECIALIZE_SEND
  |  |11545|      2|            {
  |  |11546|      2|                receiver = stack_pointer[-3];
  |  |11547|      2|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |11548|      2|                (void)counter;
  |  |11549|      2|                #if ENABLE_SPECIALIZATION
  |  |11550|      2|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|      2|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 1, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11551|      1|                    next_instr = this_instr;
  |  |11552|      1|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11553|      1|                    _PyFrame_StackPointerValidate(frame);
  |  |11554|      1|                    _Py_Specialize_Send(receiver, next_instr);
  |  |11555|      1|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11556|      1|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|      1|    { \
  |  |  |  |  217|      1|        opcode = next_instr->op.code; \
  |  |  |  |  218|      1|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      1|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|      1|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|      1|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|      1|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|      1|    }
  |  |  ------------------
  |  |11557|      1|                }
  |  |11558|      2|                OPCODE_DEFERRED_INC(SEND);
  |  |  ------------------
  |  |  |  |   90|      2|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |11559|      2|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|      2|    do { \
  |  |  |  |  378|      2|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|      2|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11560|      2|                #endif  /* ENABLE_SPECIALIZATION */
  |  |11561|      2|            }
  |  |11562|       |            // _SEND
  |  |11563|      2|            {
  |  |11564|      2|                v = stack_pointer[-1];
  |  |11565|      2|                null_or_index = stack_pointer[-2];
  |  |11566|      2|                PyObject *receiver_o = PyStackRef_AsPyObjectBorrow(receiver);
  |  |11567|      2|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (11567:17): [True: 1, False: 1]
  |  |  ------------------
  |  |11568|      1|                if (!IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|      2|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (11568:21): [True: 1, False: 0]
  |  |  ------------------
  |  |11569|      1|                    (Py_TYPE(receiver_o) == &PyGen_Type || Py_TYPE(receiver_o) == &PyCoro_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                   (Py_TYPE(receiver_o) == &PyGen_Type || Py_TYPE(receiver_o) == &PyCoro_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 (11569:22): [True: 0, False: 1]
  |  |  |  Branch (11569:60): [True: 0, False: 1]
  |  |  ------------------
  |  |11570|      0|                    gen_try_set_executing((PyGenObject *)receiver_o))
  |  |  ------------------
  |  |  |  Branch (11570:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11571|      0|                {
  |  |11572|      0|                    PyGenObject *gen = (PyGenObject *)receiver_o;
  |  |11573|      0|                    _PyInterpreterFrame *gen_frame = &gen->gi_iframe;
  |  |11574|      0|                    _PyFrame_StackPush(gen_frame, PyStackRef_MakeHeapSafe(v));
  |  |11575|      0|                    stack_pointer += -1;
  |  |11576|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11577|      0|                    gen->gi_exc_state.previous_item = tstate->exc_info;
  |  |11578|      0|                    tstate->exc_info = &gen->gi_exc_state;
  |  |11579|      0|                    assert( 2u + oparg <= UINT16_MAX);
  |  |  ------------------
  |  |  |  Branch (11579:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11580|      0|                    frame->return_offset = (uint16_t)( 2u + oparg);
  |  |11581|      0|                    assert(gen_frame->previous == NULL);
  |  |  ------------------
  |  |  |  Branch (11581:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11582|      0|                    gen_frame->previous = frame;
  |  |11583|      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 (11583:21): [True: 0, False: 0]
  |  |  |  Branch (11583:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11584|      0|                }
  |  |11585|      1|                if (!PyStackRef_IsNull(null_or_index) && PyStackRef_IsNone(v)) {
  |  |  ------------------
  |  |  |  |  482|      2|#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
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (!PyStackRef_IsNull(null_or_index) && PyStackRef_IsNone(v)) {
  |  |  ------------------
  |  |  |  |  495|      1|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      1|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (495:32): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11585:21): [True: 1, False: 0]
  |  |  ------------------
  |  |11586|      1|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11587|      1|                    _PyFrame_StackPointerValidate(frame);
  |  |11588|      1|                    _PyStackRef item = _PyForIter_VirtualIteratorNext(tstate, frame, receiver, &null_or_index);
  |  |11589|      1|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11590|      1|                    if (!PyStackRef_IsValid(item)) {
  |  |  ------------------
  |  |  |  Branch (11590:25): [True: 0, False: 1]
  |  |  ------------------
  |  |11591|      0|                        if (PyStackRef_IsError(item)) {
  |  |  ------------------
  |  |  |  Branch (11591:29): [True: 0, False: 0]
  |  |  ------------------
  |  |11592|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11593|      0|                        }
  |  |11594|      0|                        JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11595|      0|                        stack_pointer[-2] = null_or_index;
  |  |11596|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |11597|      0|                    }
  |  |11598|      1|                    retval = item;
  |  |11599|      1|                }
  |  |11600|      0|                else {
  |  |11601|      0|                    PyObject *v_o = PyStackRef_AsPyObjectBorrow(v);
  |  |11602|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11603|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |11604|      0|                    PySendResultPair res = _PyIter_Send(receiver_o, v_o);
  |  |11605|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11606|      0|                    if (res.kind == PYGEN_ERROR) {
  |  |  ------------------
  |  |  |  Branch (11606:25): [True: 0, False: 0]
  |  |  ------------------
  |  |11607|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11608|      0|                    }
  |  |11609|      0|                    stack_pointer += -1;
  |  |11610|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11611|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11612|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |11613|      0|                    PyStackRef_CLOSE(v);
  |  |11614|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11615|      0|                    retval = PyStackRef_FromPyObjectSteal(res.object);
  |  |11616|      0|                    if (res.kind == PYGEN_RETURN) {
  |  |  ------------------
  |  |  |  Branch (11616:25): [True: 0, False: 0]
  |  |  ------------------
  |  |11617|      0|                        JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11618|      0|                    }
  |  |11619|      0|                    stack_pointer += 1;
  |  |11620|      0|                }
  |  |11621|      1|            }
  |  |11622|      1|            stack_pointer[-2] = null_or_index;
  |  |11623|      1|            stack_pointer[-1] = retval;
  |  |11624|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |11625|      1|        }
  |  |11626|       |
  |  |11627|      0|        TARGET(SEND_ASYNC_GEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11628|       |            #if _Py_TAIL_CALL_INTERP
  |  |11629|       |            int opcode = SEND_ASYNC_GEN;
  |  |11630|       |            (void)(opcode);
  |  |11631|       |            #endif
  |  |11632|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11633|      0|            (void)this_instr;
  |  |11634|      0|            frame->instr_ptr = next_instr;
  |  |11635|      0|            next_instr += 2;
  |  |11636|      0|            INSTRUCTION_STATS(SEND_ASYNC_GEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11637|      0|            static_assert(INLINE_CACHE_ENTRIES_SEND == 1, "incorrect cache size");
  |  |11638|      0|            _PyStackRef iter;
  |  |11639|      0|            _PyStackRef null_in;
  |  |11640|      0|            _PyStackRef v;
  |  |11641|      0|            _PyStackRef asend;
  |  |11642|      0|            _PyStackRef null_out;
  |  |11643|      0|            _PyStackRef retval;
  |  |11644|       |            /* Skip 1 cache entry */
  |  |11645|       |            // _GUARD_3OS_ASYNC_GEN_ASEND
  |  |11646|      0|            {
  |  |11647|      0|                iter = stack_pointer[-3];
  |  |11648|      0|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  |11649|      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 (11649:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11650|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11651|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11651:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11652|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11653|      0|                }
  |  |11654|      0|            }
  |  |11655|       |            // _SEND_ASYNC_GEN
  |  |11656|      0|            {
  |  |11657|      0|                v = stack_pointer[-1];
  |  |11658|      0|                null_in = stack_pointer[-2];
  |  |11659|      0|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  |11660|      0|                assert(PyAsyncGenASend_CheckExact(iter_o));
  |  |  ------------------
  |  |  |  Branch (11660:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11661|      0|                PyObject *val = PyStackRef_AsPyObjectBorrow(v);
  |  |11662|      0|                PyObject *retval_o;
  |  |11663|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11664|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11665|      0|                PySendResult what = _PyAsyncGenASend_Send(iter_o, val, &retval_o);
  |  |11666|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11667|      0|                if (what == PYGEN_ERROR) {
  |  |  ------------------
  |  |  |  Branch (11667:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11668|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11669|      0|                }
  |  |11670|      0|                stack_pointer += -1;
  |  |11671|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11672|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11673|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11674|      0|                PyStackRef_CLOSE(v);
  |  |11675|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11676|      0|                asend = iter;
  |  |11677|      0|                null_out = null_in;
  |  |11678|      0|                retval = PyStackRef_FromPyObjectSteal(retval_o);
  |  |11679|      0|                if (what == PYGEN_RETURN) {
  |  |  ------------------
  |  |  |  Branch (11679:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11680|      0|                    JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11681|      0|                }
  |  |11682|      0|            }
  |  |11683|      0|            stack_pointer[-2] = asend;
  |  |11684|      0|            stack_pointer[-1] = null_out;
  |  |11685|      0|            stack_pointer[0] = retval;
  |  |11686|      0|            stack_pointer += 1;
  |  |11687|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11688|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |11689|      0|        }
  |  |11690|       |
  |  |11691|      0|        TARGET(SEND_GEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11692|       |            #if _Py_TAIL_CALL_INTERP
  |  |11693|       |            int opcode = SEND_GEN;
  |  |11694|       |            (void)(opcode);
  |  |11695|       |            #endif
  |  |11696|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11697|      0|            (void)this_instr;
  |  |11698|      0|            frame->instr_ptr = next_instr;
  |  |11699|      0|            next_instr += 2;
  |  |11700|      0|            INSTRUCTION_STATS(SEND_GEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11701|      0|            static_assert(INLINE_CACHE_ENTRIES_SEND == 1, "incorrect cache size");
  |  |11702|      0|            _PyStackRef receiver;
  |  |11703|      0|            _PyStackRef v;
  |  |11704|      0|            _PyStackRef gen_frame;
  |  |11705|      0|            _PyStackRef new_frame;
  |  |11706|       |            /* Skip 1 cache entry */
  |  |11707|       |            // _CHECK_PEP_523
  |  |11708|      0|            {
  |  |11709|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11710|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11711|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11711:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11712|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11713|      0|                }
  |  |11714|      0|            }
  |  |11715|       |            // _SEND_GEN_FRAME
  |  |11716|      0|            {
  |  |11717|      0|                v = stack_pointer[-1];
  |  |11718|      0|                receiver = stack_pointer[-3];
  |  |11719|      0|                PyGenObject *gen = (PyGenObject *)PyStackRef_AsPyObjectBorrow(receiver);
  |  |11720|      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 (11720:21): [True: 0, False: 0]
  |  |  |  Branch (11720:52): [True: 0, False: 0]
  |  |  ------------------
  |  |11721|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11722|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11722:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11723|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11724|      0|                }
  |  |11725|      0|                if (!gen_try_set_executing((PyGenObject *)gen)) {
  |  |  ------------------
  |  |  |  Branch (11725:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11726|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11727|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11727:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11728|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11729|      0|                }
  |  |11730|      0|                STAT_INC(SEND, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |11731|      0|                _PyInterpreterFrame *pushed_frame = &gen->gi_iframe;
  |  |11732|      0|                _PyFrame_StackPush(pushed_frame, PyStackRef_MakeHeapSafe(v));
  |  |11733|      0|                gen->gi_exc_state.previous_item = tstate->exc_info;
  |  |11734|      0|                tstate->exc_info = &gen->gi_exc_state;
  |  |11735|      0|                assert( 2u + oparg <= UINT16_MAX);
  |  |  ------------------
  |  |  |  Branch (11735:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11736|      0|                frame->return_offset = (uint16_t)( 2u + oparg);
  |  |11737|      0|                pushed_frame->previous = frame;
  |  |11738|      0|                gen_frame = PyStackRef_Wrap(pushed_frame);
  |  |11739|      0|            }
  |  |11740|       |            // _PUSH_FRAME
  |  |11741|      0|            {
  |  |11742|      0|                new_frame = gen_frame;
  |  |11743|      0|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (11743:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11744|      0|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  |11745|      0|                stack_pointer += -1;
  |  |11746|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11747|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11748|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11749|      0|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (11749:17): [True: 0, False: 0]
  |  |  |  Branch (11749:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11750|      0|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  |11751|      0|                frame = tstate->current_frame = temp;
  |  |11752|      0|                tstate->py_recursion_remaining--;
  |  |11753|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11754|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11755|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11756|       |                #ifdef Py_DEBUG
  |  |11757|       |                assert(frame->previous->stackpointer_valid == 1);
  |  |11758|       |                #endif
  |  |11759|      0|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|      0|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  |11760|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11761|      0|            }
  |  |11762|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |11763|      0|        }
  |  |11764|       |
  |  |11765|      2|        TARGET(SEND_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|      2|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11766|       |            #if _Py_TAIL_CALL_INTERP
  |  |11767|       |            int opcode = SEND_VIRTUAL;
  |  |11768|       |            (void)(opcode);
  |  |11769|       |            #endif
  |  |11770|      2|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11771|      2|            (void)this_instr;
  |  |11772|      2|            frame->instr_ptr = next_instr;
  |  |11773|      2|            next_instr += 2;
  |  |11774|      2|            INSTRUCTION_STATS(SEND_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|      2|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11775|      2|            static_assert(INLINE_CACHE_ENTRIES_SEND == 1, "incorrect cache size");
  |  |11776|      2|            _PyStackRef val;
  |  |11777|      2|            _PyStackRef nos;
  |  |11778|      2|            _PyStackRef iter;
  |  |11779|      2|            _PyStackRef null_or_index;
  |  |11780|      2|            _PyStackRef none;
  |  |11781|      2|            _PyStackRef next;
  |  |11782|       |            /* Skip 1 cache entry */
  |  |11783|       |            // _GUARD_TOS_IS_NONE
  |  |11784|      2|            {
  |  |11785|      2|                val = stack_pointer[-1];
  |  |11786|      2|                if (!PyStackRef_IsNone(val)) {
  |  |  ------------------
  |  |  |  |  495|      2|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      2|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11786:21): [True: 0, False: 2]
  |  |  ------------------
  |  |11787|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11788|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11788:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11789|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11790|      0|                }
  |  |11791|      2|            }
  |  |11792|       |            // _GUARD_NOS_NOT_NULL
  |  |11793|      2|            {
  |  |11794|      2|                nos = stack_pointer[-2];
  |  |11795|      2|                if (PyStackRef_IsNull(nos)) {
  |  |  ------------------
  |  |  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11796|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11797|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11797:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11798|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11799|      0|                }
  |  |11800|      2|            }
  |  |11801|       |            // _SEND_VIRTUAL
  |  |11802|      2|            {
  |  |11803|      2|                none = val;
  |  |11804|      2|                null_or_index = nos;
  |  |11805|      2|                iter = stack_pointer[-3];
  |  |11806|      2|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  |11807|      2|                Py_ssize_t index = PyStackRef_UntagInt(null_or_index);
  |  |11808|      2|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11809|      2|                _PyFrame_StackPointerValidate(frame);
  |  |11810|      2|                _PyObjectIndexPair next_index = Py_TYPE(iter_o)->_tp_iteritem(iter_o, index);
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11811|      2|                _PyFrame_StackPointerInvalidate(frame);
  |  |11812|      2|                PyObject *next_o = next_index.object;
  |  |11813|      2|                index = next_index.index;
  |  |11814|      2|                if (next_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (11814:21): [True: 1, False: 1]
  |  |  ------------------
  |  |11815|      1|                    if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (11815:25): [True: 0, False: 1]
  |  |  ------------------
  |  |11816|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11817|      0|                    }
  |  |11818|      1|                    next = none;
  |  |11819|      1|                    JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|      1|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11820|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |11821|      1|                }
  |  |11822|      2|                next = PyStackRef_FromPyObjectSteal(next_o);
  |  |11823|      2|                null_or_index = PyStackRef_TagInt(index);
  |  |11824|      2|            }
  |  |11825|      0|            stack_pointer[-2] = null_or_index;
  |  |11826|      2|            stack_pointer[-1] = next;
  |  |11827|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |11828|      2|        }
  |  |11829|       |
  |  |11830|      0|        TARGET(SETUP_ANNOTATIONS) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11831|       |            #if _Py_TAIL_CALL_INTERP
  |  |11832|       |            int opcode = SETUP_ANNOTATIONS;
  |  |11833|       |            (void)(opcode);
  |  |11834|       |            #endif
  |  |11835|      0|            frame->instr_ptr = next_instr;
  |  |11836|      0|            next_instr += 1;
  |  |11837|      0|            INSTRUCTION_STATS(SETUP_ANNOTATIONS);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11838|      0|            if (LOCALS() == NULL) {
  |  |  ------------------
  |  |  |  |  328|      0|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |  |  Branch (11838:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11839|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11840|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11841|      0|                _PyErr_Format(tstate, PyExc_SystemError,
  |  |11842|      0|                              "no locals found when setting up annotations");
  |  |11843|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11844|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11845|      0|            }
  |  |11846|      0|            int err;
  |  |11847|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11848|      0|            _PyFrame_StackPointerValidate(frame);
  |  |11849|      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);
  |  |  ------------------
  |  |  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11850|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  |11851|      0|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (11851:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11852|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11853|      0|            }
  |  |11854|      0|            if (ann_dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (11854:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11855|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11855:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11856|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11857|      0|                ann_dict = PyDict_New();
  |  |11858|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11859|      0|                if (ann_dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (11859:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11860|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11861|      0|                }
  |  |11862|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11862:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11863|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11864|      0|                err = PyObject_SetItem(LOCALS(), &_Py_ID(__annotations__),
  |  |  ------------------
  |  |  |  |  328|      0|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |                               err = PyObject_SetItem(LOCALS(), &_Py_ID(__annotations__),
  |  |  ------------------
  |  |  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11865|      0|                                       ann_dict);
  |  |11866|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11867|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11867:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11868|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11869|      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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11870|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11871|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (11871:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11872|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11873|      0|                }
  |  |11874|      0|            }
  |  |11875|      0|            else {
  |  |11876|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11876:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11877|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11878|      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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11879|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11880|      0|            }
  |  |11881|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |11882|      0|        }
  |  |11883|       |
  |  |11884|      2|        TARGET(SET_ADD) {
  |  |  ------------------
  |  |  |  |  132|      2|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11885|       |            #if _Py_TAIL_CALL_INTERP
  |  |11886|       |            int opcode = SET_ADD;
  |  |11887|       |            (void)(opcode);
  |  |11888|       |            #endif
  |  |11889|      2|            frame->instr_ptr = next_instr;
  |  |11890|      2|            next_instr += 1;
  |  |11891|      2|            INSTRUCTION_STATS(SET_ADD);
  |  |  ------------------
  |  |  |  |   71|      2|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11892|      2|            _PyStackRef set;
  |  |11893|      2|            _PyStackRef v;
  |  |11894|      2|            v = stack_pointer[-1];
  |  |11895|      2|            set = stack_pointer[-2 - (oparg-1)];
  |  |11896|      2|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11897|      2|            _PyFrame_StackPointerValidate(frame);
  |  |11898|      2|            int err = _PySet_AddTakeRef((PySetObject *)PyStackRef_AsPyObjectBorrow(set),
  |  |11899|      2|                                        PyStackRef_AsPyObjectSteal(v));
  |  |11900|      2|            _PyFrame_StackPointerInvalidate(frame);
  |  |11901|      2|            if (err) {
  |  |  ------------------
  |  |  |  Branch (11901:17): [True: 0, False: 2]
  |  |  ------------------
  |  |11902|      0|                JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11903|      0|            }
  |  |11904|      2|            stack_pointer += -1;
  |  |11905|      2|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      2|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11906|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |11907|      2|        }
  |  |11908|       |
  |  |11909|    612|        TARGET(SET_FUNCTION_ATTRIBUTE) {
  |  |  ------------------
  |  |  |  |  132|    612|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11910|       |            #if _Py_TAIL_CALL_INTERP
  |  |11911|       |            int opcode = SET_FUNCTION_ATTRIBUTE;
  |  |11912|       |            (void)(opcode);
  |  |11913|       |            #endif
  |  |11914|    612|            frame->instr_ptr = next_instr;
  |  |11915|    612|            next_instr += 1;
  |  |11916|    612|            INSTRUCTION_STATS(SET_FUNCTION_ATTRIBUTE);
  |  |  ------------------
  |  |  |  |   71|    612|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11917|    612|            _PyStackRef attr_st;
  |  |11918|    612|            _PyStackRef func_in;
  |  |11919|    612|            _PyStackRef func_out;
  |  |11920|    612|            func_in = stack_pointer[-1];
  |  |11921|    612|            attr_st = stack_pointer[-2];
  |  |11922|    612|            PyObject *func = PyStackRef_AsPyObjectBorrow(func_in);
  |  |11923|    612|            PyObject *attr = PyStackRef_AsPyObjectSteal(attr_st);
  |  |11924|    612|            func_out = func_in;
  |  |11925|    612|            assert(PyFunction_Check(func));
  |  |  ------------------
  |  |  |  Branch (11925:13): [True: 612, False: 0]
  |  |  ------------------
  |  |11926|    612|            size_t offset = _Py_FunctionAttributeOffsets[oparg];
  |  |11927|    612|            assert(offset != 0);
  |  |  ------------------
  |  |  |  Branch (11927:13): [True: 612, False: 0]
  |  |  ------------------
  |  |11928|    612|            PyObject **ptr = (PyObject **)(((char *)func) + offset);
  |  |11929|    612|            assert(*ptr == NULL);
  |  |  ------------------
  |  |  |  Branch (11929:13): [True: 612, False: 0]
  |  |  ------------------
  |  |11930|    612|            *ptr = attr;
  |  |11931|    612|            stack_pointer[-2] = func_out;
  |  |11932|    612|            stack_pointer += -1;
  |  |11933|    612|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    612|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11934|    612|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    612|    { \
  |  |  |  |  201|    612|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    612|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    612|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    612|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    612|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    612|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    612|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    612|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 612]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    612|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    612|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    612|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    612|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    612|    }
  |  |  ------------------
  |  |11935|    612|        }
  |  |11936|       |
  |  |11937|      0|        TARGET(SET_UPDATE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11938|       |            #if _Py_TAIL_CALL_INTERP
  |  |11939|       |            int opcode = SET_UPDATE;
  |  |11940|       |            (void)(opcode);
  |  |11941|       |            #endif
  |  |11942|      0|            frame->instr_ptr = next_instr;
  |  |11943|      0|            next_instr += 1;
  |  |11944|      0|            INSTRUCTION_STATS(SET_UPDATE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11945|      0|            _PyStackRef set;
  |  |11946|      0|            _PyStackRef iterable;
  |  |11947|      0|            _PyStackRef i;
  |  |11948|      0|            _PyStackRef value;
  |  |11949|       |            // _SET_UPDATE
  |  |11950|      0|            {
  |  |11951|      0|                iterable = stack_pointer[-1];
  |  |11952|      0|                set = stack_pointer[-2 - (oparg-1)];
  |  |11953|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11954|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11955|      0|                int err = _PySet_Update(PyStackRef_AsPyObjectBorrow(set),
  |  |11956|      0|                                    PyStackRef_AsPyObjectBorrow(iterable));
  |  |11957|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11958|      0|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (11958:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11959|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11960|      0|                }
  |  |11961|      0|                i = iterable;
  |  |11962|      0|            }
  |  |11963|       |            // _POP_TOP
  |  |11964|      0|            {
  |  |11965|      0|                value = i;
  |  |11966|      0|                stack_pointer += -1;
  |  |11967|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11968|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11969|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11970|      0|                PyStackRef_XCLOSE(value);
  |  |11971|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11972|      0|            }
  |  |11973|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |11974|      0|        }
  |  |11975|       |
  |  |11976|  1.09k|        TARGET(STORE_ATTR) {
  |  |  ------------------
  |  |  |  |  132|  1.09k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11977|       |            #if _Py_TAIL_CALL_INTERP
  |  |11978|       |            int opcode = STORE_ATTR;
  |  |11979|       |            (void)(opcode);
  |  |11980|       |            #endif
  |  |11981|  1.09k|            frame->instr_ptr = next_instr;
  |  |11982|  1.09k|            next_instr += 5;
  |  |11983|  1.09k|            INSTRUCTION_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |   71|  1.09k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11984|  1.75k|            PREDICTED_STORE_ATTR:;
  |  |11985|  1.75k|            _Py_CODEUNIT* const this_instr = next_instr - 5;
  |  |11986|  1.75k|            (void)this_instr;
  |  |11987|  1.75k|            _PyStackRef v;
  |  |11988|  1.75k|            _PyStackRef owner;
  |  |11989|       |            // _SPECIALIZE_STORE_ATTR
  |  |11990|  1.75k|            {
  |  |11991|  1.75k|                owner = stack_pointer[-1];
  |  |11992|  1.75k|                v = stack_pointer[-2];
  |  |11993|  1.75k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |11994|  1.75k|                (void)counter;
  |  |11995|  1.75k|                #if ENABLE_SPECIALIZATION
  |  |11996|  1.75k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  1.75k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 227, False: 1.52k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11997|    227|                    if (!PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|    227|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    227|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    227|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11997:25): [True: 227, False: 0]
  |  |  ------------------
  |  |11998|    227|                        PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|    227|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    227|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    227|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    227|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11998:42): [True: 227, False: 0]
  |  |  ------------------
  |  |11999|      0|                        next_instr = this_instr;
  |  |12000|    227|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12001|    227|                        _PyFrame_StackPointerValidate(frame);
  |  |12002|    227|                        _Py_Specialize_StoreAttr(owner, next_instr, name);
  |  |12003|    227|                        _PyFrame_StackPointerInvalidate(frame);
  |  |12004|    227|                        DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    227|    { \
  |  |  |  |  217|    227|        opcode = next_instr->op.code; \
  |  |  |  |  218|    227|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    227|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    227|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    227|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    227|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    227|    }
  |  |  ------------------
  |  |12005|    227|                    }
  |  |12006|    227|                }
  |  |12007|  1.75k|                OPCODE_DEFERRED_INC(STORE_ATTR);
  |  |  ------------------
  |  |  |  |   90|  1.75k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12008|  1.75k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  1.75k|    do { \
  |  |  |  |  378|  1.75k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  1.75k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 1.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12009|  1.75k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12010|  1.75k|            }
  |  |12011|       |            /* Skip 3 cache entries */
  |  |12012|       |            // _STORE_ATTR
  |  |12013|      0|            {
  |  |12014|  1.75k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|  1.75k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  1.75k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  1.75k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12014:34): [True: 1.52k, False: 227]
  |  |  ------------------
  |  |12015|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12016|  1.52k|                _PyFrame_StackPointerValidate(frame);
  |  |12017|  1.52k|                int err = PyObject_SetAttr(PyStackRef_AsPyObjectBorrow(owner),
  |  |12018|  1.52k|                                       name, PyStackRef_AsPyObjectBorrow(v));
  |  |12019|  1.52k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12020|  1.52k|                stack_pointer += -1;
  |  |12021|  1.52k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.52k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12022|  1.52k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12023|  1.52k|                _PyFrame_StackPointerValidate(frame);
  |  |12024|  1.52k|                PyStackRef_CLOSE(owner);
  |  |12025|  1.52k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12026|  1.52k|                stack_pointer += -1;
  |  |12027|  1.52k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.52k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12028|  1.52k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12029|  1.52k|                _PyFrame_StackPointerValidate(frame);
  |  |12030|  1.52k|                PyStackRef_XCLOSE(v);
  |  |12031|  1.52k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12032|  1.52k|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12032:21): [True: 0, False: 1.52k]
  |  |  ------------------
  |  |12033|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12034|      0|                }
  |  |12035|  1.52k|            }
  |  |12036|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  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|    }
  |  |  ------------------
  |  |12037|  1.52k|        }
  |  |12038|       |
  |  |12039|  2.87k|        TARGET(STORE_ATTR_INSTANCE_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  2.87k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12040|       |            #if _Py_TAIL_CALL_INTERP
  |  |12041|       |            int opcode = STORE_ATTR_INSTANCE_VALUE;
  |  |12042|       |            (void)(opcode);
  |  |12043|       |            #endif
  |  |12044|  2.87k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12045|  2.87k|            (void)this_instr;
  |  |12046|  2.87k|            frame->instr_ptr = next_instr;
  |  |12047|  2.87k|            next_instr += 5;
  |  |12048|  2.87k|            INSTRUCTION_STATS(STORE_ATTR_INSTANCE_VALUE);
  |  |  ------------------
  |  |  |  |   71|  2.87k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12049|  2.87k|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |12050|  2.87k|            _PyStackRef value;
  |  |12051|  2.87k|            _PyStackRef owner;
  |  |12052|  2.87k|            _PyStackRef o;
  |  |12053|       |            /* Skip 1 cache entry */
  |  |12054|       |            // _LOCK_OBJECT
  |  |12055|  2.87k|            {
  |  |12056|  2.87k|                value = stack_pointer[-1];
  |  |12057|  2.87k|                if (!LOCK_OBJECT(PyStackRef_AsPyObjectBorrow(value))) {
  |  |  ------------------
  |  |  |  |  322|  2.87k|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12057:21): [Folded, False: 2.87k]
  |  |  ------------------
  |  |12058|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12059|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12059:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12060|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12061|      0|                }
  |  |12062|  2.87k|            }
  |  |12063|       |            // _GUARD_TYPE_VERSION_LOCKED
  |  |12064|  2.87k|            {
  |  |12065|  2.87k|                owner = value;
  |  |12066|  2.87k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12067|  2.87k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12068|  2.87k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12068:17): [True: 2.87k, False: 0]
  |  |  ------------------
  |  |12069|  2.87k|                PyTypeObject *tp = Py_TYPE(owner_o);
  |  |  ------------------
  |  |  |  |  213|  2.87k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12070|  2.87k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|  2.87k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12070:21): [True: 652, False: 2.22k]
  |  |  ------------------
  |  |12071|    652|                    UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  323|    652|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12072|    652|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12072:25): [True: 652, Folded]
  |  |  ------------------
  |  |12073|    652|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|    652|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12074|    652|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12074:25): [True: 652, False: 0]
  |  |  ------------------
  |  |12075|    652|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|    652|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12076|      0|                    }
  |  |12077|    652|                }
  |  |12078|  2.87k|            }
  |  |12079|       |            // _GUARD_DORV_NO_DICT
  |  |12080|  2.22k|            {
  |  |12081|  2.22k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12082|  2.22k|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (12082:17): [True: 2.22k, False: 0]
  |  |  ------------------
  |  |12083|  2.22k|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (12083:17): [True: 2.22k, False: 0]
  |  |  ------------------
  |  |12084|  2.22k|                if (_PyObject_GetManagedDict(owner_o) ||
  |  |  ------------------
  |  |  |  Branch (12084:21): [True: 0, False: 2.22k]
  |  |  ------------------
  |  |12085|  2.22k|                    !FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  156|  2.22k|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (12085:21): [True: 0, False: 2.22k]
  |  |  ------------------
  |  |12086|      0|                    UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12087|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12087:25): [True: 0, Folded]
  |  |  ------------------
  |  |12088|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12089|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12089:25): [True: 0, False: 0]
  |  |  ------------------
  |  |12090|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12091|      0|                    }
  |  |12092|      0|                }
  |  |12093|  2.22k|            }
  |  |12094|       |            // _STORE_ATTR_INSTANCE_VALUE
  |  |12095|  2.22k|            {
  |  |12096|  2.22k|                value = stack_pointer[-2];
  |  |12097|  2.22k|                uint16_t offset = read_u16(&this_instr[4].cache);
  |  |12098|  2.22k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12099|  2.22k|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  2.22k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12100|  2.22k|                assert(_PyObject_GetManagedDict(owner_o) == NULL);
  |  |  ------------------
  |  |  |  Branch (12100:17): [True: 2.22k, False: 0]
  |  |  ------------------
  |  |12101|  2.22k|                PyObject **value_ptr = (PyObject**)(((char *)owner_o) + offset);
  |  |12102|  2.22k|                PyObject *old_value = *value_ptr;
  |  |12103|  2.22k|                FT_ATOMIC_STORE_PTR_RELEASE(*value_ptr, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  166|  2.22k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |12104|  2.22k|                if (old_value == NULL) {
  |  |  ------------------
  |  |  |  Branch (12104:21): [True: 1.70k, False: 514]
  |  |  ------------------
  |  |12105|  1.70k|                    PyDictValues *values = _PyObject_InlineValues(owner_o);
  |  |12106|  1.70k|                    Py_ssize_t index = value_ptr - values->values;
  |  |12107|  1.70k|                    _PyDictValues_AddToInsertionOrder(values, index);
  |  |12108|  1.70k|                }
  |  |12109|  2.22k|                UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  323|  2.22k|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12110|  2.22k|                o = owner;
  |  |12111|  2.22k|                stack_pointer[-2] = o;
  |  |12112|  2.22k|                stack_pointer += -1;
  |  |12113|  2.22k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.22k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12114|  2.22k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12115|  2.22k|                _PyFrame_StackPointerValidate(frame);
  |  |12116|  2.22k|                Py_XDECREF(old_value);
  |  |  ------------------
  |  |  |  |   69|  2.22k|    do { \
  |  |  |  |   70|  2.22k|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|  2.22k|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 514, False: 1.70k]
  |  |  |  |  ------------------
  |  |  |  |   72|    514|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|    514|    do { \
  |  |  |  |  |  |   81|    514|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    514|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    514|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|    514|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|    514|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|    514|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|    514|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 386, False: 128]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|    386|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|    386|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|    386|            break; \
  |  |  |  |  |  |   85|    386|        } \
  |  |  |  |  |  |   86|    514|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|    128|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|    128|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 117, False: 11]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|    117|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|    117|    do { \
  |  |  |  |  |  |  |  |  110|    117|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|    117|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 117]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|    117|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 117]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|    117|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|    117|            (*dealloc)(op); \
  |  |  |  |  |  |   91|    117|        } \
  |  |  |  |  |  |   92|    128|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 128]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|    514|        } \
  |  |  |  |   74|  2.22k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 2.22k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12117|  2.22k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12118|  2.22k|            }
  |  |12119|       |            // _POP_TOP
  |  |12120|      0|            {
  |  |12121|  2.22k|                value = o;
  |  |12122|  2.22k|                stack_pointer += -1;
  |  |12123|  2.22k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.22k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12124|  2.22k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12125|  2.22k|                _PyFrame_StackPointerValidate(frame);
  |  |12126|  2.22k|                PyStackRef_XCLOSE(value);
  |  |12127|  2.22k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12128|  2.22k|            }
  |  |12129|  2.22k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.22k|    { \
  |  |  |  |  201|  2.22k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.22k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.22k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.22k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.22k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.22k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.22k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.22k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.22k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.22k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.22k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.22k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.22k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.22k|    }
  |  |  ------------------
  |  |12130|  2.22k|        }
  |  |12131|       |
  |  |12132|    110|        TARGET(STORE_ATTR_SLOT) {
  |  |  ------------------
  |  |  |  |  132|    110|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12133|       |            #if _Py_TAIL_CALL_INTERP
  |  |12134|       |            int opcode = STORE_ATTR_SLOT;
  |  |12135|       |            (void)(opcode);
  |  |12136|       |            #endif
  |  |12137|    110|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12138|    110|            (void)this_instr;
  |  |12139|    110|            frame->instr_ptr = next_instr;
  |  |12140|    110|            next_instr += 5;
  |  |12141|    110|            INSTRUCTION_STATS(STORE_ATTR_SLOT);
  |  |  ------------------
  |  |  |  |   71|    110|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12142|    110|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |12143|    110|            _PyStackRef owner;
  |  |12144|    110|            _PyStackRef value;
  |  |12145|    110|            _PyStackRef o;
  |  |12146|       |            /* Skip 1 cache entry */
  |  |12147|       |            // _GUARD_TYPE_VERSION
  |  |12148|    110|            {
  |  |12149|    110|                owner = stack_pointer[-1];
  |  |12150|    110|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12151|    110|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|    110|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12152|    110|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12152:17): [True: 110, False: 0]
  |  |  ------------------
  |  |12153|    110|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|    110|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12153:21): [True: 0, False: 110]
  |  |  ------------------
  |  |12154|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12155|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12155:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12156|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12157|      0|                }
  |  |12158|    110|            }
  |  |12159|       |            // _STORE_ATTR_SLOT
  |  |12160|    110|            {
  |  |12161|    110|                value = stack_pointer[-2];
  |  |12162|    110|                uint16_t index = read_u16(&this_instr[4].cache);
  |  |12163|    110|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12164|    110|                if (!LOCK_OBJECT(owner_o)) {
  |  |  ------------------
  |  |  |  |  322|    110|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12164:21): [Folded, False: 110]
  |  |  ------------------
  |  |12165|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12166|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12166:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12167|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12168|      0|                }
  |  |12169|    110|                char *addr = (char *)owner_o + index;
  |  |12170|    110|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    110|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12171|    110|                PyObject *old_value = *(PyObject **)addr;
  |  |12172|    110|                FT_ATOMIC_STORE_PTR_RELEASE(*(PyObject **)addr, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  166|    110|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |12173|    110|                UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  323|    110|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12174|    110|                o = owner;
  |  |12175|    110|                stack_pointer[-2] = o;
  |  |12176|    110|                stack_pointer += -1;
  |  |12177|    110|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    110|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12178|    110|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12179|    110|                _PyFrame_StackPointerValidate(frame);
  |  |12180|    110|                Py_XDECREF(old_value);
  |  |  ------------------
  |  |  |  |   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: 0, False: 110]
  |  |  |  |  ------------------
  |  |  |  |   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); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#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|    110|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 110]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12181|    110|                _PyFrame_StackPointerInvalidate(frame);
  |  |12182|    110|            }
  |  |12183|       |            // _POP_TOP
  |  |12184|      0|            {
  |  |12185|    110|                value = o;
  |  |12186|    110|                stack_pointer += -1;
  |  |12187|    110|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    110|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12188|    110|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12189|    110|                _PyFrame_StackPointerValidate(frame);
  |  |12190|    110|                PyStackRef_XCLOSE(value);
  |  |12191|    110|                _PyFrame_StackPointerInvalidate(frame);
  |  |12192|    110|            }
  |  |12193|    110|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    110|    { \
  |  |  |  |  201|    110|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    110|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    110|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    110|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    110|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    110|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    110|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    110|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 110]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    110|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    110|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    110|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    110|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    110|    }
  |  |  ------------------
  |  |12194|    110|        }
  |  |12195|       |
  |  |12196|      0|        TARGET(STORE_ATTR_WITH_HINT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12197|       |            #if _Py_TAIL_CALL_INTERP
  |  |12198|       |            int opcode = STORE_ATTR_WITH_HINT;
  |  |12199|       |            (void)(opcode);
  |  |12200|       |            #endif
  |  |12201|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12202|      0|            (void)this_instr;
  |  |12203|      0|            frame->instr_ptr = next_instr;
  |  |12204|      0|            next_instr += 5;
  |  |12205|      0|            INSTRUCTION_STATS(STORE_ATTR_WITH_HINT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12206|      0|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |12207|      0|            _PyStackRef owner;
  |  |12208|      0|            _PyStackRef value;
  |  |12209|      0|            _PyStackRef o;
  |  |12210|       |            /* Skip 1 cache entry */
  |  |12211|       |            // _GUARD_TYPE_VERSION
  |  |12212|      0|            {
  |  |12213|      0|                owner = stack_pointer[-1];
  |  |12214|      0|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12215|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12216|      0|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12216:17): [True: 0, False: 0]
  |  |  ------------------
  |  |12217|      0|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|      0|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12217:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12218|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12219|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12219:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12220|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12221|      0|                }
  |  |12222|      0|            }
  |  |12223|       |            // _STORE_ATTR_WITH_HINT
  |  |12224|      0|            {
  |  |12225|      0|                value = stack_pointer[-2];
  |  |12226|      0|                uint16_t hint = read_u16(&this_instr[4].cache);
  |  |12227|      0|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12228|      0|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  |  |  ------------------
  |  |  |  Branch (12228:17): [True: 0, False: 0]
  |  |  ------------------
  |  |12229|      0|                PyDictObject *dict = _PyObject_GetManagedDict(owner_o);
  |  |12230|      0|                if (dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (12230:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12231|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12232|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12232:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12233|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12234|      0|                }
  |  |12235|      0|                if (!LOCK_OBJECT(dict)) {
  |  |  ------------------
  |  |  |  |  322|      0|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12235:21): [Folded, False: 0]
  |  |  ------------------
  |  |12236|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12237|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12237:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12238|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12239|      0|                }
  |  |12240|      0|                assert(PyDict_CheckExact((PyObject *)dict));
  |  |  ------------------
  |  |  |  Branch (12240:17): [True: 0, False: 0]
  |  |  ------------------
  |  |12241|      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 (12241:34): [True: 0, False: 0]
  |  |  ------------------
  |  |12242|      0|                if (hint >= (size_t)dict->ma_keys->dk_nentries ||
  |  |  ------------------
  |  |  |  Branch (12242:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12243|      0|                    dict->ma_keys->dk_kind != DICT_KEYS_UNICODE) {
  |  |  ------------------
  |  |  |  Branch (12243:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12244|      0|                    UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12245|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12245:25): [True: 0, Folded]
  |  |  ------------------
  |  |12246|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12247|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12247:25): [True: 0, False: 0]
  |  |  ------------------
  |  |12248|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12249|      0|                    }
  |  |12250|      0|                }
  |  |12251|      0|                PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(dict->ma_keys) + hint;
  |  |12252|      0|                if (ep->me_key != name) {
  |  |  ------------------
  |  |  |  Branch (12252:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12253|      0|                    UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12254|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12254:25): [True: 0, Folded]
  |  |  ------------------
  |  |12255|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12256|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12256:25): [True: 0, False: 0]
  |  |  ------------------
  |  |12257|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12258|      0|                    }
  |  |12259|      0|                }
  |  |12260|      0|                PyObject *old_value = ep->me_value;
  |  |12261|      0|                if (old_value == NULL) {
  |  |  ------------------
  |  |  |  Branch (12261:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12262|      0|                    UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12263|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12263:25): [True: 0, Folded]
  |  |  ------------------
  |  |12264|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12265|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12265:25): [True: 0, False: 0]
  |  |  ------------------
  |  |12266|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12267|      0|                    }
  |  |12268|      0|                }
  |  |12269|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12270|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12271|      0|                _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, dict, name, PyStackRef_AsPyObjectBorrow(value));
  |  |12272|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12273|      0|                FT_ATOMIC_STORE_PTR_RELEASE(ep->me_value, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  166|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |12274|      0|                UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12275|      0|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12276|      0|                o = owner;
  |  |12277|      0|                stack_pointer[-2] = o;
  |  |12278|      0|                stack_pointer += -1;
  |  |12279|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12280|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12281|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12282|      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); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12283|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12284|      0|            }
  |  |12285|       |            // _POP_TOP
  |  |12286|      0|            {
  |  |12287|      0|                value = o;
  |  |12288|      0|                stack_pointer += -1;
  |  |12289|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12290|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12291|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12292|      0|                PyStackRef_XCLOSE(value);
  |  |12293|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12294|      0|            }
  |  |12295|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |12296|      0|        }
  |  |12297|       |
  |  |12298|    291|        TARGET(STORE_DEREF) {
  |  |  ------------------
  |  |  |  |  132|    291|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12299|       |            #if _Py_TAIL_CALL_INTERP
  |  |12300|       |            int opcode = STORE_DEREF;
  |  |12301|       |            (void)(opcode);
  |  |12302|       |            #endif
  |  |12303|    291|            frame->instr_ptr = next_instr;
  |  |12304|    291|            next_instr += 1;
  |  |12305|    291|            INSTRUCTION_STATS(STORE_DEREF);
  |  |  ------------------
  |  |  |  |   71|    291|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12306|    291|            _PyStackRef v;
  |  |12307|    291|            v = stack_pointer[-1];
  |  |12308|    291|            PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|    291|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12309|    291|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12310|    291|            _PyFrame_StackPointerValidate(frame);
  |  |12311|    291|            PyCell_SetTakeRef(cell, PyStackRef_AsPyObjectSteal(v));
  |  |12312|    291|            _PyFrame_StackPointerInvalidate(frame);
  |  |12313|    291|            stack_pointer += -1;
  |  |12314|    291|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    291|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12315|    291|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    291|    { \
  |  |  |  |  201|    291|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    291|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    291|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    291|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    291|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    291|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    291|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    291|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 291]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    291|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    291|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    291|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    291|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    291|    }
  |  |  ------------------
  |  |12316|    291|        }
  |  |12317|       |
  |  |12318|  10.9k|        TARGET(STORE_FAST) {
  |  |  ------------------
  |  |  |  |  132|  10.9k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12319|       |            #if _Py_TAIL_CALL_INTERP
  |  |12320|       |            int opcode = STORE_FAST;
  |  |12321|       |            (void)(opcode);
  |  |12322|       |            #endif
  |  |12323|  10.9k|            frame->instr_ptr = next_instr;
  |  |12324|  10.9k|            next_instr += 1;
  |  |12325|  10.9k|            INSTRUCTION_STATS(STORE_FAST);
  |  |  ------------------
  |  |  |  |   71|  10.9k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12326|  10.9k|            _PyStackRef value;
  |  |12327|  10.9k|            _PyStackRef trash;
  |  |12328|       |            // _SWAP_FAST
  |  |12329|  10.9k|            {
  |  |12330|  10.9k|                value = stack_pointer[-1];
  |  |12331|  10.9k|                _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|  10.9k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12332|  10.9k|                GETLOCAL(oparg) = value;
  |  |  ------------------
  |  |  |  |  285|  10.9k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12333|  10.9k|                trash = tmp;
  |  |12334|  10.9k|            }
  |  |12335|       |            // _POP_TOP
  |  |12336|  10.9k|            {
  |  |12337|  10.9k|                value = trash;
  |  |12338|  10.9k|                stack_pointer += -1;
  |  |12339|  10.9k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  10.9k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12340|  10.9k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12341|  10.9k|                _PyFrame_StackPointerValidate(frame);
  |  |12342|  10.9k|                PyStackRef_XCLOSE(value);
  |  |12343|  10.9k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12344|  10.9k|            }
  |  |12345|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  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|    }
  |  |  ------------------
  |  |12346|  10.9k|        }
  |  |12347|       |
  |  |12348|  10.9k|        TARGET(STORE_FAST_LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|    754|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12349|       |            #if _Py_TAIL_CALL_INTERP
  |  |12350|       |            int opcode = STORE_FAST_LOAD_FAST;
  |  |12351|       |            (void)(opcode);
  |  |12352|       |            #endif
  |  |12353|    754|            frame->instr_ptr = next_instr;
  |  |12354|    754|            next_instr += 1;
  |  |12355|    754|            INSTRUCTION_STATS(STORE_FAST_LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|    754|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12356|    754|            _PyStackRef value1;
  |  |12357|    754|            _PyStackRef value2;
  |  |12358|    754|            value1 = stack_pointer[-1];
  |  |12359|    754|            uint32_t oparg1 = oparg >> 4;
  |  |12360|    754|            uint32_t oparg2 = oparg & 15;
  |  |12361|    754|            _PyStackRef tmp = GETLOCAL(oparg1);
  |  |  ------------------
  |  |  |  |  285|    754|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12362|    754|            GETLOCAL(oparg1) = value1;
  |  |  ------------------
  |  |  |  |  285|    754|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12363|    754|            value2 = PyStackRef_DUP(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  285|    754|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12364|    754|            stack_pointer[-1] = value2;
  |  |12365|    754|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12366|    754|            _PyFrame_StackPointerValidate(frame);
  |  |12367|    754|            PyStackRef_XCLOSE(tmp);
  |  |12368|    754|            _PyFrame_StackPointerInvalidate(frame);
  |  |12369|    754|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    754|    { \
  |  |  |  |  201|    754|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    754|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    754|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    754|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    754|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    754|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    754|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    754|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 754]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    754|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    754|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    754|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    754|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    754|    }
  |  |  ------------------
  |  |12370|    754|        }
  |  |12371|       |
  |  |12372|    912|        TARGET(STORE_FAST_STORE_FAST) {
  |  |  ------------------
  |  |  |  |  132|    912|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12373|       |            #if _Py_TAIL_CALL_INTERP
  |  |12374|       |            int opcode = STORE_FAST_STORE_FAST;
  |  |12375|       |            (void)(opcode);
  |  |12376|       |            #endif
  |  |12377|    912|            frame->instr_ptr = next_instr;
  |  |12378|    912|            next_instr += 1;
  |  |12379|    912|            INSTRUCTION_STATS(STORE_FAST_STORE_FAST);
  |  |  ------------------
  |  |  |  |   71|    912|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12380|    912|            _PyStackRef value2;
  |  |12381|    912|            _PyStackRef value1;
  |  |12382|    912|            value1 = stack_pointer[-1];
  |  |12383|    912|            value2 = stack_pointer[-2];
  |  |12384|    912|            uint32_t oparg1 = oparg >> 4;
  |  |12385|    912|            uint32_t oparg2 = oparg & 15;
  |  |12386|    912|            _PyStackRef tmp = GETLOCAL(oparg1);
  |  |  ------------------
  |  |  |  |  285|    912|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12387|    912|            GETLOCAL(oparg1) = value1;
  |  |  ------------------
  |  |  |  |  285|    912|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12388|    912|            stack_pointer += -1;
  |  |12389|    912|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    912|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12390|    912|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12391|    912|            _PyFrame_StackPointerValidate(frame);
  |  |12392|    912|            PyStackRef_XCLOSE(tmp);
  |  |12393|    912|            _PyFrame_StackPointerInvalidate(frame);
  |  |12394|    912|            tmp = GETLOCAL(oparg2);
  |  |  ------------------
  |  |  |  |  285|    912|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12395|    912|            GETLOCAL(oparg2) = value2;
  |  |  ------------------
  |  |  |  |  285|    912|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12396|    912|            stack_pointer += -1;
  |  |12397|    912|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    912|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12398|    912|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12399|    912|            _PyFrame_StackPointerValidate(frame);
  |  |12400|    912|            PyStackRef_XCLOSE(tmp);
  |  |12401|    912|            _PyFrame_StackPointerInvalidate(frame);
  |  |12402|    912|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    912|    { \
  |  |  |  |  201|    912|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    912|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    912|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    912|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    912|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    912|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    912|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    912|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 912]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    912|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    912|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    912|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    912|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    912|    }
  |  |  ------------------
  |  |12403|    912|        }
  |  |12404|       |
  |  |12405|    912|        TARGET(STORE_GLOBAL) {
  |  |  ------------------
  |  |  |  |  132|     47|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12406|       |            #if _Py_TAIL_CALL_INTERP
  |  |12407|       |            int opcode = STORE_GLOBAL;
  |  |12408|       |            (void)(opcode);
  |  |12409|       |            #endif
  |  |12410|     47|            frame->instr_ptr = next_instr;
  |  |12411|     47|            next_instr += 1;
  |  |12412|     47|            INSTRUCTION_STATS(STORE_GLOBAL);
  |  |  ------------------
  |  |  |  |   71|     47|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12413|     47|            _PyStackRef v;
  |  |12414|     47|            v = stack_pointer[-1];
  |  |12415|     47|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|     47|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|     47|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|     47|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     47|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12415:30): [True: 47, False: 0]
  |  |  ------------------
  |  |12416|      0|            int err;
  |  |12417|     47|            if (PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|     47|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     47|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     47|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12418|      0|                stack_pointer += -1;
  |  |12419|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12420|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12421|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12422|      0|                err = PyDict_Pop(GLOBALS(), name, NULL);
  |  |  ------------------
  |  |  |  |  326|      0|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |12423|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12424|      0|                if (err == 0) {
  |  |  ------------------
  |  |  |  Branch (12424:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12425|      0|                    err = -1;
  |  |12426|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12426:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12427|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |12428|      0|                    _PyEval_FormatExcCheckArg(tstate, PyExc_NameError,
  |  |12429|      0|                        NAME_ERROR_MSG, name);
  |  |  ------------------
  |  |  |  |  405|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  |  |  ------------------
  |  |12430|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12431|      0|                }
  |  |12432|      0|            }
  |  |12433|     47|            else {
  |  |12434|     47|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12435|     47|                _PyFrame_StackPointerValidate(frame);
  |  |12436|     47|                err = PyDict_SetItem(GLOBALS(), name, PyStackRef_AsPyObjectBorrow(v));
  |  |  ------------------
  |  |  |  |  326|     47|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |12437|     47|                _PyFrame_StackPointerInvalidate(frame);
  |  |12438|     47|                stack_pointer += -1;
  |  |12439|     47|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     47|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12440|     47|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12441|     47|                _PyFrame_StackPointerValidate(frame);
  |  |12442|     47|                PyStackRef_CLOSE(v);
  |  |12443|     47|                _PyFrame_StackPointerInvalidate(frame);
  |  |12444|     47|            }
  |  |12445|     47|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (12445:17): [True: 0, False: 47]
  |  |  ------------------
  |  |12446|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12447|      0|            }
  |  |12448|     47|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     47|    { \
  |  |  |  |  201|     47|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     47|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     47|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     47|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     47|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     47|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     47|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     47|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 47]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     47|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     47|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     47|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     47|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     47|    }
  |  |  ------------------
  |  |12449|     47|        }
  |  |12450|       |
  |  |12451|  5.18k|        TARGET(STORE_NAME) {
  |  |  ------------------
  |  |  |  |  132|  5.18k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12452|       |            #if _Py_TAIL_CALL_INTERP
  |  |12453|       |            int opcode = STORE_NAME;
  |  |12454|       |            (void)(opcode);
  |  |12455|       |            #endif
  |  |12456|  5.18k|            frame->instr_ptr = next_instr;
  |  |12457|  5.18k|            next_instr += 1;
  |  |12458|  5.18k|            INSTRUCTION_STATS(STORE_NAME);
  |  |  ------------------
  |  |  |  |   71|  5.18k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12459|  5.18k|            _PyStackRef v;
  |  |12460|  5.18k|            v = stack_pointer[-1];
  |  |12461|  5.18k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|  5.18k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  5.18k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  5.18k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12461:30): [True: 5.18k, False: 0]
  |  |  ------------------
  |  |12462|  5.18k|            PyObject *ns = LOCALS();
  |  |  ------------------
  |  |  |  |  328|  5.18k|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |12463|  5.18k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12464|  5.18k|            _PyFrame_StackPointerValidate(frame);
  |  |12465|  5.18k|            int error = _PyEval_StoreName(tstate, v, name, ns);
  |  |12466|  5.18k|            _PyFrame_StackPointerInvalidate(frame);
  |  |12467|  5.18k|            if (PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|  5.18k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  5.18k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  5.18k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 36, False: 5.14k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12468|     36|            }
  |  |12469|  5.14k|            else {
  |  |12470|  5.14k|                stack_pointer += -1;
  |  |12471|  5.14k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  5.14k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12472|  5.14k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12473|  5.14k|                _PyFrame_StackPointerValidate(frame);
  |  |12474|  5.14k|                PyStackRef_CLOSE(v);
  |  |12475|  5.14k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12476|  5.14k|                stack_pointer += 1;
  |  |12477|  5.14k|            }
  |  |12478|  5.18k|            if (error) {
  |  |  ------------------
  |  |  |  Branch (12478:17): [True: 0, False: 5.18k]
  |  |  ------------------
  |  |12479|      0|                JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12480|      0|            }
  |  |12481|  5.18k|            stack_pointer += -1;
  |  |12482|  5.18k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  5.18k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12483|  5.18k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.18k|    { \
  |  |  |  |  201|  5.18k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.18k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.18k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.18k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  5.18k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.18k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.18k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.18k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.18k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.18k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.18k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.18k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.18k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.18k|    }
  |  |  ------------------
  |  |12484|  5.18k|        }
  |  |12485|       |
  |  |12486|      1|        TARGET(STORE_SLICE) {
  |  |  ------------------
  |  |  |  |  132|      1|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12487|       |            #if _Py_TAIL_CALL_INTERP
  |  |12488|       |            int opcode = STORE_SLICE;
  |  |12489|       |            (void)(opcode);
  |  |12490|       |            #endif
  |  |12491|      1|            frame->instr_ptr = next_instr;
  |  |12492|      1|            next_instr += 1;
  |  |12493|      1|            INSTRUCTION_STATS(STORE_SLICE);
  |  |  ------------------
  |  |  |  |   71|      1|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12494|      1|            _PyStackRef v;
  |  |12495|      1|            _PyStackRef container;
  |  |12496|      1|            _PyStackRef start;
  |  |12497|      1|            _PyStackRef stop;
  |  |12498|       |            // _SPECIALIZE_STORE_SLICE
  |  |12499|      1|            {
  |  |12500|      1|                #if ENABLE_SPECIALIZATION
  |  |12501|      1|                OPCODE_DEFERRED_INC(STORE_SLICE);
  |  |  ------------------
  |  |  |  |   90|      1|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12502|      1|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12503|      1|            }
  |  |12504|       |            // _STORE_SLICE
  |  |12505|      1|            {
  |  |12506|      1|                stop = stack_pointer[-1];
  |  |12507|      1|                start = stack_pointer[-2];
  |  |12508|      1|                container = stack_pointer[-3];
  |  |12509|      1|                v = stack_pointer[-4];
  |  |12510|      1|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12511|      1|                _PyFrame_StackPointerValidate(frame);
  |  |12512|      1|                PyObject *slice = _PyBuildSlice_ConsumeRefs(PyStackRef_AsPyObjectSteal(start),
  |  |12513|      1|                    PyStackRef_AsPyObjectSteal(stop),
  |  |12514|      1|                    Py_None);
  |  |  ------------------
  |  |  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  |  |12515|      1|                _PyFrame_StackPointerInvalidate(frame);
  |  |12516|      1|                int err;
  |  |12517|      1|                if (slice == NULL) {
  |  |  ------------------
  |  |  |  Branch (12517:21): [True: 0, False: 1]
  |  |  ------------------
  |  |12518|      0|                    err = 1;
  |  |12519|      0|                }
  |  |12520|      1|                else {
  |  |12521|      1|                    stack_pointer += -2;
  |  |12522|      1|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      1|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12523|      1|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12524|      1|                    _PyFrame_StackPointerValidate(frame);
  |  |12525|      1|                    err = PyObject_SetItem(PyStackRef_AsPyObjectBorrow(container), slice, PyStackRef_AsPyObjectBorrow(v));
  |  |12526|      1|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12527|      1|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12527:21): [True: 1, False: 0]
  |  |  ------------------
  |  |12528|      1|                    _PyFrame_StackPointerValidate(frame);
  |  |12529|      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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      1|    do { \
  |  |  |  |  |  |  110|      1|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      1|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      1|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115: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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12530|      1|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12531|      1|                    stack_pointer += 2;
  |  |12532|      1|                }
  |  |12533|      1|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12534|      1|                _PyFrame_StackPointerValidate(frame);
  |  |12535|      1|                _PyStackRef tmp = container;
  |  |12536|      1|                container = PyStackRef_NULL;
  |  |12537|      1|                stack_pointer[-3] = container;
  |  |12538|      1|                PyStackRef_CLOSE(tmp);
  |  |12539|      1|                _PyFrame_StackPointerInvalidate(frame);
  |  |12540|      1|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12540:17): [True: 1, False: 0]
  |  |  ------------------
  |  |12541|      1|                _PyFrame_StackPointerValidate(frame);
  |  |12542|      1|                tmp = v;
  |  |12543|      1|                v = PyStackRef_NULL;
  |  |12544|      1|                stack_pointer[-4] = v;
  |  |12545|      1|                PyStackRef_CLOSE(tmp);
  |  |12546|      1|                _PyFrame_StackPointerInvalidate(frame);
  |  |12547|      1|                stack_pointer += -4;
  |  |12548|      1|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      1|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12549|      1|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12549:21): [True: 0, False: 1]
  |  |  ------------------
  |  |12550|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12551|      0|                }
  |  |12552|      1|            }
  |  |12553|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |12554|      1|        }
  |  |12555|       |
  |  |12556|    227|        TARGET(STORE_SUBSCR) {
  |  |  ------------------
  |  |  |  |  132|    227|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12557|       |            #if _Py_TAIL_CALL_INTERP
  |  |12558|       |            int opcode = STORE_SUBSCR;
  |  |12559|       |            (void)(opcode);
  |  |12560|       |            #endif
  |  |12561|    227|            frame->instr_ptr = next_instr;
  |  |12562|    227|            next_instr += 2;
  |  |12563|    227|            INSTRUCTION_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |   71|    227|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12564|    227|            PREDICTED_STORE_SUBSCR:;
  |  |12565|    227|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |12566|    227|            (void)this_instr;
  |  |12567|    227|            _PyStackRef container;
  |  |12568|    227|            _PyStackRef sub;
  |  |12569|    227|            _PyStackRef v;
  |  |12570|       |            // _SPECIALIZE_STORE_SUBSCR
  |  |12571|    227|            {
  |  |12572|    227|                sub = stack_pointer[-1];
  |  |12573|    227|                container = stack_pointer[-2];
  |  |12574|    227|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |12575|    227|                (void)counter;
  |  |12576|    227|                #if ENABLE_SPECIALIZATION
  |  |12577|    227|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    227|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 71, False: 156]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12578|     71|                    next_instr = this_instr;
  |  |12579|     71|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12580|     71|                    _PyFrame_StackPointerValidate(frame);
  |  |12581|     71|                    _Py_Specialize_StoreSubscr(container, sub, next_instr);
  |  |12582|     71|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12583|     71|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     71|    { \
  |  |  |  |  217|     71|        opcode = next_instr->op.code; \
  |  |  |  |  218|     71|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     71|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     71|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     71|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     71|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     71|    }
  |  |  ------------------
  |  |12584|     71|                }
  |  |12585|    227|                OPCODE_DEFERRED_INC(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |   90|    227|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12586|    227|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    227|    do { \
  |  |  |  |  378|    227|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    227|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 227]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12587|    227|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12588|    227|            }
  |  |12589|       |            // _STORE_SUBSCR
  |  |12590|    227|            {
  |  |12591|    227|                v = stack_pointer[-3];
  |  |12592|    227|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12593|    227|                _PyFrame_StackPointerValidate(frame);
  |  |12594|    227|                int err = PyObject_SetItem(PyStackRef_AsPyObjectBorrow(container), PyStackRef_AsPyObjectBorrow(sub), PyStackRef_AsPyObjectBorrow(v));
  |  |12595|    227|                _PyFrame_StackPointerInvalidate(frame);
  |  |12596|    227|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12596:17): [True: 156, False: 71]
  |  |  ------------------
  |  |12597|    156|                _PyFrame_StackPointerValidate(frame);
  |  |12598|    156|                _PyStackRef tmp = sub;
  |  |12599|    156|                sub = PyStackRef_NULL;
  |  |12600|    156|                stack_pointer[-1] = sub;
  |  |12601|    156|                PyStackRef_CLOSE(tmp);
  |  |12602|    156|                _PyFrame_StackPointerInvalidate(frame);
  |  |12603|    156|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12603:17): [True: 156, False: 0]
  |  |  ------------------
  |  |12604|    156|                _PyFrame_StackPointerValidate(frame);
  |  |12605|    156|                tmp = container;
  |  |12606|    156|                container = PyStackRef_NULL;
  |  |12607|    156|                stack_pointer[-2] = container;
  |  |12608|    156|                PyStackRef_CLOSE(tmp);
  |  |12609|    156|                _PyFrame_StackPointerInvalidate(frame);
  |  |12610|    156|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12610:17): [True: 156, False: 0]
  |  |  ------------------
  |  |12611|    156|                _PyFrame_StackPointerValidate(frame);
  |  |12612|    156|                tmp = v;
  |  |12613|    156|                v = PyStackRef_NULL;
  |  |12614|    156|                stack_pointer[-3] = v;
  |  |12615|    156|                PyStackRef_CLOSE(tmp);
  |  |12616|    156|                _PyFrame_StackPointerInvalidate(frame);
  |  |12617|    156|                stack_pointer += -3;
  |  |12618|    156|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    156|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12619|    156|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12619:21): [True: 0, False: 156]
  |  |  ------------------
  |  |12620|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12621|      0|                }
  |  |12622|    156|            }
  |  |12623|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    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|    }
  |  |  ------------------
  |  |12624|    156|        }
  |  |12625|       |
  |  |12626|    797|        TARGET(STORE_SUBSCR_DICT) {
  |  |  ------------------
  |  |  |  |  132|    797|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12627|       |            #if _Py_TAIL_CALL_INTERP
  |  |12628|       |            int opcode = STORE_SUBSCR_DICT;
  |  |12629|       |            (void)(opcode);
  |  |12630|       |            #endif
  |  |12631|    797|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12632|    797|            (void)this_instr;
  |  |12633|    797|            frame->instr_ptr = next_instr;
  |  |12634|    797|            next_instr += 2;
  |  |12635|    797|            INSTRUCTION_STATS(STORE_SUBSCR_DICT);
  |  |  ------------------
  |  |  |  |   71|    797|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12636|    797|            static_assert(INLINE_CACHE_ENTRIES_STORE_SUBSCR == 1, "incorrect cache size");
  |  |12637|    797|            _PyStackRef nos;
  |  |12638|    797|            _PyStackRef value;
  |  |12639|    797|            _PyStackRef dict_st;
  |  |12640|    797|            _PyStackRef sub;
  |  |12641|    797|            _PyStackRef st;
  |  |12642|       |            // _GUARD_NOS_DICT_STORE_SUBSCRIPT
  |  |12643|    797|            {
  |  |12644|    797|                nos = stack_pointer[-2];
  |  |12645|    797|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |12646|    797|                if (!Py_TYPE(o)->tp_as_mapping) {
  |  |  ------------------
  |  |  |  |  213|    797|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    797|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    797|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12646:21): [True: 0, False: 797]
  |  |  ------------------
  |  |12647|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12648|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12648:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12649|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12650|      0|                }
  |  |12651|    797|                if (Py_TYPE(o)->tp_as_mapping->mp_ass_subscript != _PyDict_StoreSubscript) {
  |  |  ------------------
  |  |  |  |  213|    797|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    797|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    797|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12651:21): [True: 0, False: 797]
  |  |  ------------------
  |  |12652|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12653|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12653:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12654|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12655|      0|                }
  |  |12656|    797|            }
  |  |12657|       |            /* Skip 1 cache entry */
  |  |12658|       |            // _STORE_SUBSCR_DICT
  |  |12659|    797|            {
  |  |12660|    797|                sub = stack_pointer[-1];
  |  |12661|    797|                dict_st = nos;
  |  |12662|    797|                value = stack_pointer[-3];
  |  |12663|    797|                PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |12664|    797|                assert(Py_TYPE(dict)->tp_as_mapping->mp_ass_subscript == _PyDict_StoreSubscript);
  |  |  ------------------
  |  |  |  Branch (12664:17): [True: 797, False: 0]
  |  |  ------------------
  |  |12665|    797|                STAT_INC(STORE_SUBSCR, hit);
  |  |  ------------------
  |  |  |  |   73|    797|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12666|    797|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12667|    797|                _PyFrame_StackPointerValidate(frame);
  |  |12668|    797|                int err = _PyDict_SetItem_Take2((PyDictObject *)dict,
  |  |12669|    797|                    PyStackRef_AsPyObjectSteal(sub),
  |  |12670|    797|                    PyStackRef_AsPyObjectSteal(value));
  |  |12671|    797|                _PyFrame_StackPointerInvalidate(frame);
  |  |12672|    797|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12672:21): [True: 0, False: 797]
  |  |  ------------------
  |  |12673|      0|                    stack_pointer += -3;
  |  |12674|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12675|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12676|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |12677|      0|                    PyStackRef_CLOSE(dict_st);
  |  |12678|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12679|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12680|      0|                }
  |  |12681|    797|                st = dict_st;
  |  |12682|    797|            }
  |  |12683|       |            // _POP_TOP
  |  |12684|      0|            {
  |  |12685|    797|                value = st;
  |  |12686|    797|                stack_pointer += -3;
  |  |12687|    797|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    797|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12688|    797|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12689|    797|                _PyFrame_StackPointerValidate(frame);
  |  |12690|    797|                PyStackRef_XCLOSE(value);
  |  |12691|    797|                _PyFrame_StackPointerInvalidate(frame);
  |  |12692|    797|            }
  |  |12693|    797|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    797|    { \
  |  |  |  |  201|    797|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    797|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    797|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    797|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    797|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    797|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    797|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    797|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 797]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    797|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    797|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    797|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    797|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    797|    }
  |  |  ------------------
  |  |12694|    797|        }
  |  |12695|       |
  |  |12696|     11|        TARGET(STORE_SUBSCR_LIST_INT) {
  |  |  ------------------
  |  |  |  |  132|     11|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12697|       |            #if _Py_TAIL_CALL_INTERP
  |  |12698|       |            int opcode = STORE_SUBSCR_LIST_INT;
  |  |12699|       |            (void)(opcode);
  |  |12700|       |            #endif
  |  |12701|     11|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12702|     11|            (void)this_instr;
  |  |12703|     11|            frame->instr_ptr = next_instr;
  |  |12704|     11|            next_instr += 2;
  |  |12705|     11|            INSTRUCTION_STATS(STORE_SUBSCR_LIST_INT);
  |  |  ------------------
  |  |  |  |   71|     11|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12706|     11|            static_assert(INLINE_CACHE_ENTRIES_STORE_SUBSCR == 1, "incorrect cache size");
  |  |12707|     11|            _PyStackRef value;
  |  |12708|     11|            _PyStackRef nos;
  |  |12709|     11|            _PyStackRef list_st;
  |  |12710|     11|            _PyStackRef sub_st;
  |  |12711|     11|            _PyStackRef ls;
  |  |12712|     11|            _PyStackRef ss;
  |  |12713|       |            // _GUARD_TOS_INT
  |  |12714|     11|            {
  |  |12715|     11|                value = stack_pointer[-1];
  |  |12716|     11|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12717|     11|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (12717:21): [True: 0, False: 11]
  |  |  ------------------
  |  |12718|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12719|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12719:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12720|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12721|      0|                }
  |  |12722|     11|            }
  |  |12723|       |            // _GUARD_NOS_LIST
  |  |12724|     11|            {
  |  |12725|     11|                nos = stack_pointer[-2];
  |  |12726|     11|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |12727|     11|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|     11|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     11|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12727:21): [True: 0, False: 11]
  |  |  ------------------
  |  |12728|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12729|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12729:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12730|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12731|      0|                }
  |  |12732|     11|            }
  |  |12733|       |            /* Skip 1 cache entry */
  |  |12734|       |            // _STORE_SUBSCR_LIST_INT
  |  |12735|     11|            {
  |  |12736|     11|                sub_st = value;
  |  |12737|     11|                list_st = nos;
  |  |12738|     11|                value = stack_pointer[-3];
  |  |12739|     11|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |12740|     11|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |12741|     11|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (12741:17): [True: 11, False: 0]
  |  |  ------------------
  |  |12742|     11|                assert(PyList_CheckExact(list));
  |  |  ------------------
  |  |  |  Branch (12742:17): [True: 11, False: 0]
  |  |  ------------------
  |  |12743|     11|                Py_ssize_t index = _PyLong_CompactValue((PyLongObject *)sub);
  |  |12744|     11|                if (!LOCK_OBJECT(list)) {
  |  |  ------------------
  |  |  |  |  322|     11|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12744:21): [Folded, False: 11]
  |  |  ------------------
  |  |12745|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12746|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12746:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12747|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12748|      0|                }
  |  |12749|     11|                Py_ssize_t len = PyList_GET_SIZE(list);
  |  |  ------------------
  |  |  |  |   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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12750|     11|                if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (12750:21): [True: 0, False: 11]
  |  |  ------------------
  |  |12751|      0|                    index += len;
  |  |12752|      0|                }
  |  |12753|     11|                if (index < 0 || index >= len) {
  |  |  ------------------
  |  |  |  Branch (12753:21): [True: 0, False: 11]
  |  |  |  Branch (12753:34): [True: 0, False: 11]
  |  |  ------------------
  |  |12754|      0|                    UNLOCK_OBJECT(list);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12755|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12755:25): [True: 0, Folded]
  |  |  ------------------
  |  |12756|      0|                        UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12757|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12757:25): [True: 0, False: 0]
  |  |  ------------------
  |  |12758|      0|                        JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12759|      0|                    }
  |  |12760|      0|                }
  |  |12761|     11|                STAT_INC(STORE_SUBSCR, hit);
  |  |  ------------------
  |  |  |  |   73|     11|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12762|     11|                PyObject *old_value = PyList_GET_ITEM(list, index);
  |  |  ------------------
  |  |  |  |   40|     11|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|     11|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12762:39): [True: 11, False: 0]
  |  |  ------------------
  |  |12763|     11|                FT_ATOMIC_STORE_PTR_RELEASE(_PyList_ITEMS(list)[index],
  |  |  ------------------
  |  |  |  |  166|     22|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (166:55): [True: 11, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12764|     11|                                        PyStackRef_AsPyObjectSteal(value));
  |  |12765|     11|                assert(old_value != NULL);
  |  |  ------------------
  |  |  |  Branch (12765:17): [True: 11, False: 0]
  |  |  ------------------
  |  |12766|     11|                UNLOCK_OBJECT(list);
  |  |  ------------------
  |  |  |  |  323|     11|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12767|     11|                ls = list_st;
  |  |12768|     11|                ss = sub_st;
  |  |12769|     11|                stack_pointer[-3] = ls;
  |  |12770|     11|                stack_pointer[-2] = ss;
  |  |12771|     11|                stack_pointer += -1;
  |  |12772|     11|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     11|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12773|     11|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12774|     11|                _PyFrame_StackPointerValidate(frame);
  |  |12775|     11|                Py_DECREF(old_value);
  |  |  ------------------
  |  |  |  |   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: 11, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|     11|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|     11|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|     11|            break; \
  |  |  |  |   85|     11|        } \
  |  |  |  |   86|     11|        _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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12776|     11|                _PyFrame_StackPointerInvalidate(frame);
  |  |12777|     11|            }
  |  |12778|       |            // _POP_TOP_INT
  |  |12779|      0|            {
  |  |12780|     11|                value = ss;
  |  |12781|     11|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (12781:17): [True: 11, False: 0]
  |  |  ------------------
  |  |12782|     11|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |12783|     11|            }
  |  |12784|       |            // _POP_TOP
  |  |12785|      0|            {
  |  |12786|     11|                value = ls;
  |  |12787|     11|                stack_pointer += -2;
  |  |12788|     11|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     11|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12789|     11|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12790|     11|                _PyFrame_StackPointerValidate(frame);
  |  |12791|     11|                PyStackRef_XCLOSE(value);
  |  |12792|     11|                _PyFrame_StackPointerInvalidate(frame);
  |  |12793|     11|            }
  |  |12794|     11|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     11|    { \
  |  |  |  |  201|     11|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     11|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     11|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     11|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     11|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     11|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     11|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     11|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 11]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     11|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     11|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     11|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     11|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     11|    }
  |  |  ------------------
  |  |12795|     11|        }
  |  |12796|       |
  |  |12797|  2.70k|        TARGET(SWAP) {
  |  |  ------------------
  |  |  |  |  132|  2.70k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12798|       |            #if _Py_TAIL_CALL_INTERP
  |  |12799|       |            int opcode = SWAP;
  |  |12800|       |            (void)(opcode);
  |  |12801|       |            #endif
  |  |12802|  2.70k|            frame->instr_ptr = next_instr;
  |  |12803|  2.70k|            next_instr += 1;
  |  |12804|  2.70k|            INSTRUCTION_STATS(SWAP);
  |  |  ------------------
  |  |  |  |   71|  2.70k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12805|  2.70k|            _PyStackRef bottom;
  |  |12806|  2.70k|            _PyStackRef top;
  |  |12807|  2.70k|            top = stack_pointer[-1];
  |  |12808|  2.70k|            bottom = stack_pointer[-2 - (oparg-2)];
  |  |12809|  2.70k|            _PyStackRef temp = bottom;
  |  |12810|  2.70k|            bottom = top;
  |  |12811|  2.70k|            top = temp;
  |  |12812|  2.70k|            stack_pointer[-2 - (oparg-2)] = bottom;
  |  |12813|  2.70k|            stack_pointer[-1] = top;
  |  |12814|  2.70k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.70k|    { \
  |  |  |  |  201|  2.70k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.70k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.70k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.70k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.70k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.70k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.70k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.70k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.70k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.70k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.70k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.70k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.70k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.70k|    }
  |  |  ------------------
  |  |12815|  2.70k|        }
  |  |12816|       |
  |  |12817|  2.70k|        TARGET(TO_BOOL) {
  |  |  ------------------
  |  |  |  |  132|  1.17k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12818|       |            #if _Py_TAIL_CALL_INTERP
  |  |12819|       |            int opcode = TO_BOOL;
  |  |12820|       |            (void)(opcode);
  |  |12821|       |            #endif
  |  |12822|  1.17k|            frame->instr_ptr = next_instr;
  |  |12823|  1.17k|            next_instr += 4;
  |  |12824|  1.17k|            INSTRUCTION_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |   71|  1.17k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12825|  1.28k|            PREDICTED_TO_BOOL:;
  |  |12826|  1.28k|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  |12827|  1.28k|            (void)this_instr;
  |  |12828|  1.28k|            _PyStackRef value;
  |  |12829|  1.28k|            _PyStackRef res;
  |  |12830|       |            // _SPECIALIZE_TO_BOOL
  |  |12831|  1.28k|            {
  |  |12832|  1.28k|                value = stack_pointer[-1];
  |  |12833|  1.28k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |12834|  1.28k|                (void)counter;
  |  |12835|  1.28k|                #if ENABLE_SPECIALIZATION
  |  |12836|  1.28k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  1.28k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 324, False: 960]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12837|    324|                    next_instr = this_instr;
  |  |12838|    324|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12839|    324|                    _PyFrame_StackPointerValidate(frame);
  |  |12840|    324|                    _Py_Specialize_ToBool(value, next_instr);
  |  |12841|    324|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12842|    324|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    324|    { \
  |  |  |  |  217|    324|        opcode = next_instr->op.code; \
  |  |  |  |  218|    324|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    324|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    324|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    324|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    324|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    324|    }
  |  |  ------------------
  |  |12843|    324|                }
  |  |12844|  1.28k|                OPCODE_DEFERRED_INC(TO_BOOL);
  |  |  ------------------
  |  |  |  |   90|  1.28k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12845|  1.28k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  1.28k|    do { \
  |  |  |  |  378|  1.28k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  1.28k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 1.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12846|  1.28k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12847|  1.28k|            }
  |  |12848|       |            /* Skip 2 cache entries */
  |  |12849|       |            // _TO_BOOL
  |  |12850|  1.28k|            {
  |  |12851|  1.28k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12852|  1.28k|                _PyFrame_StackPointerValidate(frame);
  |  |12853|  1.28k|                int err = PyObject_IsTrue(PyStackRef_AsPyObjectBorrow(value));
  |  |12854|  1.28k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12855|  1.28k|                stack_pointer += -1;
  |  |12856|  1.28k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.28k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12857|  1.28k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12858|  1.28k|                _PyFrame_StackPointerValidate(frame);
  |  |12859|  1.28k|                PyStackRef_CLOSE(value);
  |  |12860|  1.28k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12861|  1.28k|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (12861:21): [True: 0, False: 1.28k]
  |  |  ------------------
  |  |12862|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12863|      0|                }
  |  |12864|  1.28k|                res = err ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    452|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    452|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = err ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  2.11k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    832|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12864:23): [True: 452, False: 832]
  |  |  ------------------
  |  |12865|  1.28k|            }
  |  |12866|      0|            stack_pointer[0] = res;
  |  |12867|  1.28k|            stack_pointer += 1;
  |  |12868|  1.28k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.28k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12869|  1.28k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.28k|    { \
  |  |  |  |  201|  1.28k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.28k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.28k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.28k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.28k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.28k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.28k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.28k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.28k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.28k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.28k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.28k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.28k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.28k|    }
  |  |  ------------------
  |  |12870|  1.28k|        }
  |  |12871|       |
  |  |12872|      0|        TARGET(TO_BOOL_ALWAYS_TRUE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12873|       |            #if _Py_TAIL_CALL_INTERP
  |  |12874|       |            int opcode = TO_BOOL_ALWAYS_TRUE;
  |  |12875|       |            (void)(opcode);
  |  |12876|       |            #endif
  |  |12877|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12878|      0|            (void)this_instr;
  |  |12879|      0|            frame->instr_ptr = next_instr;
  |  |12880|      0|            next_instr += 4;
  |  |12881|      0|            INSTRUCTION_STATS(TO_BOOL_ALWAYS_TRUE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12882|      0|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12883|      0|            _PyStackRef owner;
  |  |12884|      0|            _PyStackRef value;
  |  |12885|      0|            _PyStackRef res;
  |  |12886|      0|            _PyStackRef v;
  |  |12887|       |            /* Skip 1 cache entry */
  |  |12888|       |            // _GUARD_TYPE_VERSION
  |  |12889|      0|            {
  |  |12890|      0|                owner = stack_pointer[-1];
  |  |12891|      0|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12892|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12893|      0|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12893:17): [True: 0, False: 0]
  |  |  ------------------
  |  |12894|      0|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|      0|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12894:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12895|      0|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12896|      0|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (12896:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12897|      0|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12898|      0|                }
  |  |12899|      0|            }
  |  |12900|       |            // _REPLACE_WITH_TRUE
  |  |12901|      0|            {
  |  |12902|      0|                value = owner;
  |  |12903|      0|                res = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|      0|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12904|      0|                v = value;
  |  |12905|      0|            }
  |  |12906|       |            // _POP_TOP
  |  |12907|      0|            {
  |  |12908|      0|                value = v;
  |  |12909|      0|                stack_pointer[-1] = res;
  |  |12910|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12911|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12912|      0|                PyStackRef_XCLOSE(value);
  |  |12913|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12914|      0|            }
  |  |12915|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |12916|      0|        }
  |  |12917|       |
  |  |12918|  3.37k|        TARGET(TO_BOOL_BOOL) {
  |  |  ------------------
  |  |  |  |  132|  3.37k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12919|       |            #if _Py_TAIL_CALL_INTERP
  |  |12920|       |            int opcode = TO_BOOL_BOOL;
  |  |12921|       |            (void)(opcode);
  |  |12922|       |            #endif
  |  |12923|  3.37k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12924|  3.37k|            (void)this_instr;
  |  |12925|  3.37k|            frame->instr_ptr = next_instr;
  |  |12926|  3.37k|            next_instr += 4;
  |  |12927|  3.37k|            INSTRUCTION_STATS(TO_BOOL_BOOL);
  |  |  ------------------
  |  |  |  |   71|  3.37k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12928|  3.37k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12929|  3.37k|            _PyStackRef value;
  |  |12930|       |            /* Skip 1 cache entry */
  |  |12931|       |            /* Skip 2 cache entries */
  |  |12932|  3.37k|            value = stack_pointer[-1];
  |  |12933|  3.37k|            if (!PyStackRef_BoolCheck(value)) {
  |  |  ------------------
  |  |  |  Branch (12933:17): [True: 0, False: 3.37k]
  |  |  ------------------
  |  |12934|      0|                UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12935|      0|                assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (12935:17): [True: 0, False: 0]
  |  |  ------------------
  |  |12936|      0|                JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12937|      0|            }
  |  |12938|  3.37k|            STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  3.37k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12939|  3.37k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.37k|    { \
  |  |  |  |  201|  3.37k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.37k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.37k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.37k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.37k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.37k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.37k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.37k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.37k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.37k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.37k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.37k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.37k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.37k|    }
  |  |  ------------------
  |  |12940|  3.37k|        }
  |  |12941|       |
  |  |12942|    352|        TARGET(TO_BOOL_INT) {
  |  |  ------------------
  |  |  |  |  132|    352|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12943|       |            #if _Py_TAIL_CALL_INTERP
  |  |12944|       |            int opcode = TO_BOOL_INT;
  |  |12945|       |            (void)(opcode);
  |  |12946|       |            #endif
  |  |12947|    352|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12948|    352|            (void)this_instr;
  |  |12949|    352|            frame->instr_ptr = next_instr;
  |  |12950|    352|            next_instr += 4;
  |  |12951|    352|            INSTRUCTION_STATS(TO_BOOL_INT);
  |  |  ------------------
  |  |  |  |   71|    352|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12952|    352|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12953|    352|            _PyStackRef value;
  |  |12954|    352|            _PyStackRef res;
  |  |12955|    352|            _PyStackRef v;
  |  |12956|       |            // _GUARD_TOS_EXACT_INT
  |  |12957|    352|            {
  |  |12958|    352|                value = stack_pointer[-1];
  |  |12959|    352|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12960|    352|                if (!PyLong_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   14|    352|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    352|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    352|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    352|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12960:21): [True: 0, False: 352]
  |  |  ------------------
  |  |12961|      0|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12962|      0|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (12962:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12963|      0|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12964|      0|                }
  |  |12965|    352|            }
  |  |12966|       |            /* Skip 1 cache entry */
  |  |12967|       |            /* Skip 2 cache entries */
  |  |12968|       |            // _TO_BOOL_INT
  |  |12969|    352|            {
  |  |12970|    352|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|    352|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12971|    352|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12972|    352|                res = (_PyLong_IsZero((PyLongObject *)value_o)) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  484|    278|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    278|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = (_PyLong_IsZero((PyLongObject *)value_o)) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|    426|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     74|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12972:23): [True: 278, False: 74]
  |  |  ------------------
  |  |12973|    352|                v = value;
  |  |12974|    352|            }
  |  |12975|       |            // _POP_TOP_INT
  |  |12976|    352|            {
  |  |12977|    352|                value = v;
  |  |12978|    352|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (12978:17): [True: 352, False: 0]
  |  |  ------------------
  |  |12979|    352|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |12980|    352|            }
  |  |12981|      0|            stack_pointer[-1] = res;
  |  |12982|    352|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    352|    { \
  |  |  |  |  201|    352|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    352|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    352|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    352|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    352|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    352|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    352|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    352|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 352]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    352|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    352|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    352|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    352|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    352|    }
  |  |  ------------------
  |  |12983|    352|        }
  |  |12984|       |
  |  |12985|    256|        TARGET(TO_BOOL_LIST) {
  |  |  ------------------
  |  |  |  |  132|    256|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12986|       |            #if _Py_TAIL_CALL_INTERP
  |  |12987|       |            int opcode = TO_BOOL_LIST;
  |  |12988|       |            (void)(opcode);
  |  |12989|       |            #endif
  |  |12990|    256|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12991|    256|            (void)this_instr;
  |  |12992|    256|            frame->instr_ptr = next_instr;
  |  |12993|    256|            next_instr += 4;
  |  |12994|    256|            INSTRUCTION_STATS(TO_BOOL_LIST);
  |  |  ------------------
  |  |  |  |   71|    256|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12995|    256|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12996|    256|            _PyStackRef tos;
  |  |12997|    256|            _PyStackRef value;
  |  |12998|    256|            _PyStackRef res;
  |  |12999|    256|            _PyStackRef v;
  |  |13000|       |            // _GUARD_TOS_LIST
  |  |13001|    256|            {
  |  |13002|    256|                tos = stack_pointer[-1];
  |  |13003|    256|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13004|    256|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|    256|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    256|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13004:21): [True: 0, False: 256]
  |  |  ------------------
  |  |13005|      0|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13006|      0|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (13006:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13007|      0|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13008|      0|                }
  |  |13009|    256|            }
  |  |13010|       |            /* Skip 1 cache entry */
  |  |13011|       |            /* Skip 2 cache entries */
  |  |13012|       |            // _TO_BOOL_LIST
  |  |13013|    256|            {
  |  |13014|    256|                value = tos;
  |  |13015|    256|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13016|    256|                assert(PyList_CheckExact(value_o));
  |  |  ------------------
  |  |  |  Branch (13016:17): [True: 256, False: 0]
  |  |  ------------------
  |  |13017|    256|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|    256|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13018|    256|                res = PyList_GET_SIZE(value_o) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |   38|    256|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (38:29): [True: 114, False: 142]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = PyList_GET_SIZE(value_o) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    114|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    114|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = PyList_GET_SIZE(value_o) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|    398|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    142|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13019|    256|                v = value;
  |  |13020|    256|            }
  |  |13021|       |            // _POP_TOP
  |  |13022|      0|            {
  |  |13023|    256|                value = v;
  |  |13024|    256|                stack_pointer[-1] = res;
  |  |13025|    256|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13026|    256|                _PyFrame_StackPointerValidate(frame);
  |  |13027|    256|                PyStackRef_XCLOSE(value);
  |  |13028|    256|                _PyFrame_StackPointerInvalidate(frame);
  |  |13029|    256|            }
  |  |13030|    256|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    256|    { \
  |  |  |  |  201|    256|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    256|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    256|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    256|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    256|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    256|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    256|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    256|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 256]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    256|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    256|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    256|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    256|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    256|    }
  |  |  ------------------
  |  |13031|    256|        }
  |  |13032|       |
  |  |13033|    350|        TARGET(TO_BOOL_NONE) {
  |  |  ------------------
  |  |  |  |  132|    350|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13034|       |            #if _Py_TAIL_CALL_INTERP
  |  |13035|       |            int opcode = TO_BOOL_NONE;
  |  |13036|       |            (void)(opcode);
  |  |13037|       |            #endif
  |  |13038|    350|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13039|    350|            (void)this_instr;
  |  |13040|    350|            frame->instr_ptr = next_instr;
  |  |13041|    350|            next_instr += 4;
  |  |13042|    350|            INSTRUCTION_STATS(TO_BOOL_NONE);
  |  |  ------------------
  |  |  |  |   71|    350|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13043|    350|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |13044|    350|            _PyStackRef value;
  |  |13045|    350|            _PyStackRef res;
  |  |13046|       |            /* Skip 1 cache entry */
  |  |13047|       |            /* Skip 2 cache entries */
  |  |13048|    350|            value = stack_pointer[-1];
  |  |13049|    350|            if (!PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  495|    350|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    350|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13049:17): [True: 111, False: 239]
  |  |  ------------------
  |  |13050|    111|                UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|    111|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13051|    111|                assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (13051:17): [True: 111, False: 0]
  |  |  ------------------
  |  |13052|    111|                JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|    111|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13053|      0|            }
  |  |13054|    239|            STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|    239|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13055|    239|            res = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|    239|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    239|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13056|    239|            stack_pointer[-1] = res;
  |  |13057|    239|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    239|    { \
  |  |  |  |  201|    239|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    239|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    239|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    239|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    239|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    239|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    239|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    239|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 239]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    239|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    239|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    239|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    239|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    239|    }
  |  |  ------------------
  |  |13058|    239|        }
  |  |13059|       |
  |  |13060|  1.27k|        TARGET(TO_BOOL_STR) {
  |  |  ------------------
  |  |  |  |  132|  1.27k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13061|       |            #if _Py_TAIL_CALL_INTERP
  |  |13062|       |            int opcode = TO_BOOL_STR;
  |  |13063|       |            (void)(opcode);
  |  |13064|       |            #endif
  |  |13065|  1.27k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13066|  1.27k|            (void)this_instr;
  |  |13067|  1.27k|            frame->instr_ptr = next_instr;
  |  |13068|  1.27k|            next_instr += 4;
  |  |13069|  1.27k|            INSTRUCTION_STATS(TO_BOOL_STR);
  |  |  ------------------
  |  |  |  |   71|  1.27k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13070|  1.27k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |13071|  1.27k|            _PyStackRef value;
  |  |13072|  1.27k|            _PyStackRef res;
  |  |13073|  1.27k|            _PyStackRef v;
  |  |13074|       |            // _GUARD_TOS_UNICODE
  |  |13075|  1.27k|            {
  |  |13076|  1.27k|                value = stack_pointer[-1];
  |  |13077|  1.27k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13078|  1.27k|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  1.27k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.27k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13078:21): [True: 0, False: 1.27k]
  |  |  ------------------
  |  |13079|      0|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13080|      0|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (13080:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13081|      0|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13082|      0|                }
  |  |13083|  1.27k|            }
  |  |13084|       |            /* Skip 1 cache entry */
  |  |13085|       |            /* Skip 2 cache entries */
  |  |13086|       |            // _TO_BOOL_STR
  |  |13087|  1.27k|            {
  |  |13088|  1.27k|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.27k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13089|  1.27k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13090|  1.27k|                res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  953|  1.27k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  1.27k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  1.27k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  484|    260|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    260|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|  2.29k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.01k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13090:23): [True: 260, False: 1.01k]
  |  |  ------------------
  |  |13091|  1.27k|                v = value;
  |  |13092|  1.27k|            }
  |  |13093|       |            // _POP_TOP_UNICODE
  |  |13094|  1.27k|            {
  |  |13095|  1.27k|                value = v;
  |  |13096|  1.27k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (13096:17): [True: 1.27k, False: 0]
  |  |  ------------------
  |  |13097|  1.27k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |13098|  1.27k|            }
  |  |13099|      0|            stack_pointer[-1] = res;
  |  |13100|  1.27k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.27k|    { \
  |  |  |  |  201|  1.27k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.27k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.27k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.27k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.27k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.27k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.27k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.27k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.27k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.27k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.27k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.27k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.27k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.27k|    }
  |  |  ------------------
  |  |13101|  1.27k|        }
  |  |13102|       |
  |  |13103|      0|        TARGET(TRACE_RECORD) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13104|       |            #if _Py_TAIL_CALL_INTERP
  |  |13105|       |            int opcode = TRACE_RECORD;
  |  |13106|       |            (void)(opcode);
  |  |13107|       |            #endif
  |  |13108|      0|            _Py_CODEUNIT* const prev_instr = frame->instr_ptr;
  |  |13109|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13110|      0|            (void)this_instr;
  |  |13111|      0|            frame->instr_ptr = next_instr;
  |  |13112|      0|            next_instr += 1;
  |  |13113|      0|            INSTRUCTION_STATS(TRACE_RECORD);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13114|      0|            opcode = TRACE_RECORD;
  |  |  ------------------
  |  |  |  |  243|      0|#define TRACE_RECORD                           255
  |  |  ------------------
  |  |13115|       |            #if _Py_TIER2
  |  |13116|       |            assert(IS_JIT_TRACING());
  |  |13117|       |            next_instr = this_instr;
  |  |13118|       |            frame->instr_ptr = prev_instr;
  |  |13119|       |            opcode = next_instr->op.code;
  |  |13120|       |            bool stop_tracing = (
  |  |13121|       |                                 opcode == WITH_EXCEPT_START ||
  |  |13122|       |                                 opcode == RERAISE ||
  |  |13123|       |                                 opcode == CLEANUP_THROW ||
  |  |13124|       |                                 opcode == PUSH_EXC_INFO ||
  |  |13125|       |                                 opcode == INTERPRETER_EXIT ||
  |  |13126|       |                                 (opcode >= MIN_INSTRUMENTED_OPCODE && opcode != ENTER_EXECUTOR)
  |  |13127|       |            );
  |  |13128|       |            _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  |  |13129|       |            _PyJitTracerState *tracer = _tstate->jit_tracer_state;
  |  |13130|       |            assert(tracer != NULL);
  |  |13131|       |            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13132|       |            _PyFrame_StackPointerValidate(frame);
  |  |13133|       |            int full = !_PyJit_translate_single_bytecode_to_trace(tstate, frame, next_instr, stop_tracing ? _DEOPT : 0);
  |  |13134|       |            _PyFrame_StackPointerInvalidate(frame);
  |  |13135|       |            if (full) {
  |  |13136|       |                LEAVE_TRACING();
  |  |13137|       |                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |13138|       |                _PyFrame_StackPointerValidate(frame);
  |  |13139|       |                int err = stop_tracing_and_jit(tstate, frame);
  |  |13140|       |                _PyFrame_StackPointerInvalidate(frame);
  |  |13141|       |                if (err < 0) {
  |  |13142|       |                    JUMP_TO_LABEL(error);
  |  |13143|       |                }
  |  |13144|       |                DISPATCH();
  |  |13145|       |            }
  |  |13146|       |            for (int i = 0; i < tracer->prev_state.recorded_count; i++) {
  |  |13147|       |                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |13148|       |                _PyFrame_StackPointerValidate(frame);
  |  |13149|       |                Py_CLEAR(tracer->prev_state.recorded_values[i]);
  |  |13150|       |                _PyFrame_StackPointerInvalidate(frame);
  |  |13151|       |            }
  |  |13152|       |            tracer->prev_state.recorded_count = 0;
  |  |13153|       |            tracer->prev_state.instr = next_instr;
  |  |13154|       |            PyObject *prev_code = PyStackRef_AsPyObjectBorrow(frame->f_executable);
  |  |13155|       |            if (tracer->prev_state.instr_code != (PyCodeObject *)prev_code) {
  |  |13156|       |                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |13157|       |                _PyFrame_StackPointerValidate(frame);
  |  |13158|       |                Py_SETREF(tracer->prev_state.instr_code, (PyCodeObject*)Py_NewRef((prev_code)));
  |  |13159|       |                _PyFrame_StackPointerInvalidate(frame);
  |  |13160|       |            }
  |  |13161|       |            tracer->prev_state.instr_frame = frame;
  |  |13162|       |            tracer->prev_state.instr_oparg = oparg;
  |  |13163|       |            tracer->prev_state.instr_stacklevel = PyStackRef_IsNone(frame->f_executable) ? 2 : STACK_LEVEL();
  |  |13164|       |            if (_PyOpcode_Caches[_PyOpcode_Deopt[opcode]]
  |  |13165|       |                // Branch opcodes use the cache for branch history, not
  |  |13166|       |                // specialization counters.  Don't reset it.
  |  |13167|       |                && !IS_CONDITIONAL_JUMP_OPCODE(opcode)) {
  |  |13168|       |                (&next_instr[1])->counter = trigger_backoff_counter();
  |  |13169|       |            }
  |  |13170|       |            const _PyOpcodeRecordEntry *record_entry = &_PyOpcode_RecordEntries[opcode];
  |  |13171|       |            for (int i = 0; i < record_entry->count; i++) {
  |  |13172|       |                _Py_RecordFuncPtr doesnt_escape = _PyOpcode_RecordFunctions[record_entry->indices[i]];
  |  |13173|       |                doesnt_escape(frame, stack_pointer, oparg, &tracer->prev_state.recorded_values[i]);
  |  |13174|       |            }
  |  |13175|       |            tracer->prev_state.recorded_count = record_entry->count;
  |  |13176|       |            DISPATCH_GOTO_NON_TRACING();
  |  |13177|       |            #else
  |  |13178|      0|            (void)prev_instr;
  |  |13179|      0|            Py_FatalError("JIT instruction executed in non-jit build.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  |13180|      0|            #endif
  |  |13181|      0|        }
  |  |13182|       |
  |  |13183|      1|        TARGET(UNARY_INVERT) {
  |  |  ------------------
  |  |  |  |  132|      1|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13184|       |            #if _Py_TAIL_CALL_INTERP
  |  |13185|       |            int opcode = UNARY_INVERT;
  |  |13186|       |            (void)(opcode);
  |  |13187|       |            #endif
  |  |13188|      1|            frame->instr_ptr = next_instr;
  |  |13189|      1|            next_instr += 1;
  |  |13190|      1|            INSTRUCTION_STATS(UNARY_INVERT);
  |  |  ------------------
  |  |  |  |   71|      1|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13191|      1|            _PyStackRef value;
  |  |13192|      1|            _PyStackRef res;
  |  |13193|      1|            _PyStackRef v;
  |  |13194|       |            // _UNARY_INVERT
  |  |13195|      1|            {
  |  |13196|      1|                value = stack_pointer[-1];
  |  |13197|      1|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13198|      1|                _PyFrame_StackPointerValidate(frame);
  |  |13199|      1|                PyObject *res_o = PyNumber_Invert(PyStackRef_AsPyObjectBorrow(value));
  |  |13200|      1|                _PyFrame_StackPointerInvalidate(frame);
  |  |13201|      1|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (13201:21): [True: 0, False: 1]
  |  |  ------------------
  |  |13202|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13203|      0|                }
  |  |13204|      1|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |13205|      1|                v = value;
  |  |13206|      1|            }
  |  |13207|       |            // _POP_TOP
  |  |13208|      0|            {
  |  |13209|      1|                value = v;
  |  |13210|      1|                stack_pointer[-1] = res;
  |  |13211|      1|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13211:17): [True: 1, False: 0]
  |  |  ------------------
  |  |13212|      1|                _PyFrame_StackPointerValidate(frame);
  |  |13213|      1|                PyStackRef_XCLOSE(value);
  |  |13214|      1|                _PyFrame_StackPointerInvalidate(frame);
  |  |13215|      1|            }
  |  |13216|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |13217|      1|        }
  |  |13218|       |
  |  |13219|      3|        TARGET(UNARY_NEGATIVE) {
  |  |  ------------------
  |  |  |  |  132|      3|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13220|       |            #if _Py_TAIL_CALL_INTERP
  |  |13221|       |            int opcode = UNARY_NEGATIVE;
  |  |13222|       |            (void)(opcode);
  |  |13223|       |            #endif
  |  |13224|      3|            frame->instr_ptr = next_instr;
  |  |13225|      3|            next_instr += 1;
  |  |13226|      3|            INSTRUCTION_STATS(UNARY_NEGATIVE);
  |  |  ------------------
  |  |  |  |   71|      3|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13227|      3|            _PyStackRef value;
  |  |13228|      3|            _PyStackRef res;
  |  |13229|      3|            _PyStackRef v;
  |  |13230|       |            // _UNARY_NEGATIVE
  |  |13231|      3|            {
  |  |13232|      3|                value = stack_pointer[-1];
  |  |13233|      3|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13234|      3|                _PyFrame_StackPointerValidate(frame);
  |  |13235|      3|                PyObject *res_o = PyNumber_Negative(PyStackRef_AsPyObjectBorrow(value));
  |  |13236|      3|                _PyFrame_StackPointerInvalidate(frame);
  |  |13237|      3|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (13237:21): [True: 0, False: 3]
  |  |  ------------------
  |  |13238|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13239|      0|                }
  |  |13240|      3|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |13241|      3|                v = value;
  |  |13242|      3|            }
  |  |13243|       |            // _POP_TOP
  |  |13244|      0|            {
  |  |13245|      3|                value = v;
  |  |13246|      3|                stack_pointer[-1] = res;
  |  |13247|      3|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13247:17): [True: 3, False: 0]
  |  |  ------------------
  |  |13248|      3|                _PyFrame_StackPointerValidate(frame);
  |  |13249|      3|                PyStackRef_XCLOSE(value);
  |  |13250|      3|                _PyFrame_StackPointerInvalidate(frame);
  |  |13251|      3|            }
  |  |13252|      3|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      3|    { \
  |  |  |  |  201|      3|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      3|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      3|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      3|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      3|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      3|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      3|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      3|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      3|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      3|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      3|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      3|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      3|    }
  |  |  ------------------
  |  |13253|      3|        }
  |  |13254|       |
  |  |13255|    111|        TARGET(UNARY_NOT) {
  |  |  ------------------
  |  |  |  |  132|    111|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13256|       |            #if _Py_TAIL_CALL_INTERP
  |  |13257|       |            int opcode = UNARY_NOT;
  |  |13258|       |            (void)(opcode);
  |  |13259|       |            #endif
  |  |13260|    111|            frame->instr_ptr = next_instr;
  |  |13261|    111|            next_instr += 1;
  |  |13262|    111|            INSTRUCTION_STATS(UNARY_NOT);
  |  |  ------------------
  |  |  |  |   71|    111|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13263|    111|            _PyStackRef value;
  |  |13264|    111|            _PyStackRef res;
  |  |13265|    111|            value = stack_pointer[-1];
  |  |13266|    111|            assert(PyStackRef_BoolCheck(value));
  |  |  ------------------
  |  |  |  Branch (13266:13): [True: 111, False: 0]
  |  |  ------------------
  |  |13267|    111|            res = PyStackRef_IsFalse(value)
  |  |  ------------------
  |  |  |  |  494|    111|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    111|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:33): [True: 58, False: 53]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13268|    111|            ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|     58|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     58|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|    164|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     53|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13269|    111|            stack_pointer[-1] = res;
  |  |13270|    111|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    111|    { \
  |  |  |  |  201|    111|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    111|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    111|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    111|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    111|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    111|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    111|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    111|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 111]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    111|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    111|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    111|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    111|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    111|    }
  |  |  ------------------
  |  |13271|    111|        }
  |  |13272|       |
  |  |13273|      0|        TARGET(UNPACK_EX) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13274|       |            #if _Py_TAIL_CALL_INTERP
  |  |13275|       |            int opcode = UNPACK_EX;
  |  |13276|       |            (void)(opcode);
  |  |13277|       |            #endif
  |  |13278|      0|            frame->instr_ptr = next_instr;
  |  |13279|      0|            next_instr += 1;
  |  |13280|      0|            INSTRUCTION_STATS(UNPACK_EX);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13281|      0|            _PyStackRef seq;
  |  |13282|      0|            _PyStackRef *top;
  |  |13283|      0|            seq = stack_pointer[-1];
  |  |13284|      0|            top = &stack_pointer[(oparg & 0xFF) + (oparg >> 8)];
  |  |13285|      0|            PyObject *seq_o = PyStackRef_AsPyObjectSteal(seq);
  |  |13286|      0|            stack_pointer += -1;
  |  |13287|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13288|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13289|      0|            _PyFrame_StackPointerValidate(frame);
  |  |13290|      0|            int res = _PyEval_UnpackIterableStackRef(tstate, seq_o, oparg & 0xFF, oparg >> 8, top);
  |  |13291|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  |13292|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13292:13): [True: 0, False: 0]
  |  |  ------------------
  |  |13293|      0|            _PyFrame_StackPointerValidate(frame);
  |  |13294|      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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13295|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  |13296|      0|            if (res == 0) {
  |  |  ------------------
  |  |  |  Branch (13296:17): [True: 0, False: 0]
  |  |  ------------------
  |  |13297|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13298|      0|            }
  |  |13299|      0|            stack_pointer += 1 + (oparg & 0xFF) + (oparg >> 8);
  |  |13300|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13301|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |13302|      0|        }
  |  |13303|       |
  |  |13304|    117|        TARGET(UNPACK_SEQUENCE) {
  |  |  ------------------
  |  |  |  |  132|    117|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13305|       |            #if _Py_TAIL_CALL_INTERP
  |  |13306|       |            int opcode = UNPACK_SEQUENCE;
  |  |13307|       |            (void)(opcode);
  |  |13308|       |            #endif
  |  |13309|    117|            frame->instr_ptr = next_instr;
  |  |13310|    117|            next_instr += 2;
  |  |13311|    117|            INSTRUCTION_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |   71|    117|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13312|    117|            PREDICTED_UNPACK_SEQUENCE:;
  |  |13313|    117|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |13314|    117|            (void)this_instr;
  |  |13315|    117|            _PyStackRef seq;
  |  |13316|    117|            _PyStackRef *top;
  |  |13317|       |            // _SPECIALIZE_UNPACK_SEQUENCE
  |  |13318|    117|            {
  |  |13319|    117|                seq = stack_pointer[-1];
  |  |13320|    117|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |13321|    117|                (void)counter;
  |  |13322|    117|                #if ENABLE_SPECIALIZATION
  |  |13323|    117|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    117|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 51, False: 66]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13324|     51|                    next_instr = this_instr;
  |  |13325|     51|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13326|     51|                    _PyFrame_StackPointerValidate(frame);
  |  |13327|     51|                    _Py_Specialize_UnpackSequence(seq, next_instr, oparg);
  |  |13328|     51|                    _PyFrame_StackPointerInvalidate(frame);
  |  |13329|     51|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     51|    { \
  |  |  |  |  217|     51|        opcode = next_instr->op.code; \
  |  |  |  |  218|     51|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     51|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     51|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     51|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     51|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     51|    }
  |  |  ------------------
  |  |13330|     51|                }
  |  |13331|    117|                OPCODE_DEFERRED_INC(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |   90|    117|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |13332|    117|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    117|    do { \
  |  |  |  |  378|    117|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    117|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 117]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13333|    117|                #endif  /* ENABLE_SPECIALIZATION */
  |  |13334|    117|                (void)seq;
  |  |13335|    117|                (void)counter;
  |  |13336|    117|            }
  |  |13337|       |            // _UNPACK_SEQUENCE
  |  |13338|    117|            {
  |  |13339|    117|                top = &stack_pointer[-1 + oparg];
  |  |13340|    117|                PyObject *seq_o = PyStackRef_AsPyObjectSteal(seq);
  |  |13341|    117|                stack_pointer += -1;
  |  |13342|    117|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    117|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13343|    117|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13344|    117|                _PyFrame_StackPointerValidate(frame);
  |  |13345|    117|                int res = _PyEval_UnpackIterableStackRef(tstate, seq_o, oparg, -1, top);
  |  |13346|    117|                _PyFrame_StackPointerInvalidate(frame);
  |  |13347|    117|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13347:17): [True: 66, False: 51]
  |  |  ------------------
  |  |13348|     66|                _PyFrame_StackPointerValidate(frame);
  |  |13349|     66|                Py_DECREF(seq_o);
  |  |  ------------------
  |  |  |  |   80|     66|    do { \
  |  |  |  |   81|     66|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     66|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     66|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 66]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     66|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     66|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     66|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 21, False: 45]
  |  |  |  |  ------------------
  |  |  |  |   88|     21|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|     21|    do { \
  |  |  |  |  |  |  110|     21|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|     21|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 21]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|     21|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 21]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|     21|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|     21|            (*dealloc)(op); \
  |  |  |  |   91|     21|        } \
  |  |  |  |   92|     66|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 66]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13350|     66|                _PyFrame_StackPointerInvalidate(frame);
  |  |13351|     66|                if (res == 0) {
  |  |  ------------------
  |  |  |  Branch (13351:21): [True: 0, False: 66]
  |  |  ------------------
  |  |13352|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13353|      0|                }
  |  |13354|     66|            }
  |  |13355|     66|            stack_pointer += oparg;
  |  |13356|     66|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     66|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13357|     66|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     66|    { \
  |  |  |  |  201|     66|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     66|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     66|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     66|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     66|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     66|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     66|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     66|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 66]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     66|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     66|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     66|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     66|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     66|    }
  |  |  ------------------
  |  |13358|     66|        }
  |  |13359|       |
  |  |13360|      0|        TARGET(UNPACK_SEQUENCE_LIST) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13361|       |            #if _Py_TAIL_CALL_INTERP
  |  |13362|       |            int opcode = UNPACK_SEQUENCE_LIST;
  |  |13363|       |            (void)(opcode);
  |  |13364|       |            #endif
  |  |13365|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13366|      0|            (void)this_instr;
  |  |13367|      0|            frame->instr_ptr = next_instr;
  |  |13368|      0|            next_instr += 2;
  |  |13369|      0|            INSTRUCTION_STATS(UNPACK_SEQUENCE_LIST);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13370|      0|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |13371|      0|            _PyStackRef tos;
  |  |13372|      0|            _PyStackRef seq;
  |  |13373|      0|            _PyStackRef *values;
  |  |13374|       |            // _GUARD_TOS_LIST
  |  |13375|      0|            {
  |  |13376|      0|                tos = stack_pointer[-1];
  |  |13377|      0|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13378|      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 (13378:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13379|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13380|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13380:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13381|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13382|      0|                }
  |  |13383|      0|            }
  |  |13384|       |            /* Skip 1 cache entry */
  |  |13385|       |            // _UNPACK_SEQUENCE_LIST
  |  |13386|      0|            {
  |  |13387|      0|                seq = tos;
  |  |13388|      0|                values = &stack_pointer[-1];
  |  |13389|      0|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |13390|      0|                assert(PyList_CheckExact(seq_o));
  |  |  ------------------
  |  |  |  Branch (13390:17): [True: 0, False: 0]
  |  |  ------------------
  |  |13391|      0|                if (!LOCK_OBJECT(seq_o)) {
  |  |  ------------------
  |  |  |  |  322|      0|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (13391:21): [Folded, False: 0]
  |  |  ------------------
  |  |13392|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13393|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13393:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13394|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13395|      0|                }
  |  |13396|      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 (13396:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13397|      0|                    UNLOCK_OBJECT(seq_o);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |13398|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (13398:25): [True: 0, Folded]
  |  |  ------------------
  |  |13399|      0|                        UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13400|      0|                        assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13400:25): [True: 0, False: 0]
  |  |  ------------------
  |  |13401|      0|                        JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13402|      0|                    }
  |  |13403|      0|                }
  |  |13404|      0|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13405|      0|                PyObject **items = _PyList_ITEMS(seq_o);
  |  |  ------------------
  |  |  |  |   30|      0|#define _PyList_ITEMS(op) _Py_RVALUE(_PyList_CAST(op)->ob_item)
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13406|      0|                for (int i = oparg; --i >= 0; ) {
  |  |  ------------------
  |  |  |  Branch (13406:37): [True: 0, False: 0]
  |  |  ------------------
  |  |13407|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13408|      0|                }
  |  |13409|      0|                UNLOCK_OBJECT(seq_o);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |13410|      0|                stack_pointer += -1 + oparg;
  |  |13411|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13412|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13413|      0|                _PyFrame_StackPointerValidate(frame);
  |  |13414|      0|                PyStackRef_CLOSE(seq);
  |  |13415|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |13416|      0|            }
  |  |13417|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |13418|      0|        }
  |  |13419|       |
  |  |13420|     55|        TARGET(UNPACK_SEQUENCE_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|     55|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13421|       |            #if _Py_TAIL_CALL_INTERP
  |  |13422|       |            int opcode = UNPACK_SEQUENCE_TUPLE;
  |  |13423|       |            (void)(opcode);
  |  |13424|       |            #endif
  |  |13425|     55|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13426|     55|            (void)this_instr;
  |  |13427|     55|            frame->instr_ptr = next_instr;
  |  |13428|     55|            next_instr += 2;
  |  |13429|     55|            INSTRUCTION_STATS(UNPACK_SEQUENCE_TUPLE);
  |  |  ------------------
  |  |  |  |   71|     55|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13430|     55|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |13431|     55|            _PyStackRef tos;
  |  |13432|     55|            _PyStackRef seq;
  |  |13433|     55|            _PyStackRef *values;
  |  |13434|       |            // _GUARD_TOS_TUPLE
  |  |13435|     55|            {
  |  |13436|     55|                tos = stack_pointer[-1];
  |  |13437|     55|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13438|     55|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|     55|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     55|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     55|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     55|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13438:21): [True: 0, False: 55]
  |  |  ------------------
  |  |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:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13441|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13442|      0|                }
  |  |13443|     55|            }
  |  |13444|       |            /* Skip 1 cache entry */
  |  |13445|       |            // _UNPACK_SEQUENCE_TUPLE
  |  |13446|     55|            {
  |  |13447|     55|                seq = tos;
  |  |13448|     55|                values = &stack_pointer[-1];
  |  |13449|     55|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |13450|     55|                assert(PyTuple_CheckExact(seq_o));
  |  |  ------------------
  |  |  |  Branch (13450:17): [True: 55, False: 0]
  |  |  ------------------
  |  |13451|     55|                if (PyTuple_GET_SIZE(seq_o) != oparg) {
  |  |  ------------------
  |  |  |  |   27|     55|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     55|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     55|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13451:21): [True: 0, False: 55]
  |  |  ------------------
  |  |13452|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13453|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13453:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13454|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13455|      0|                }
  |  |13456|     55|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|     55|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13457|     55|                PyObject **items = _PyTuple_ITEMS(seq_o);
  |  |  ------------------
  |  |  |  |   26|     55|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    110|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 55, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13458|    223|                for (int i = oparg; --i >= 0; ) {
  |  |  ------------------
  |  |  |  Branch (13458:37): [True: 168, False: 55]
  |  |  ------------------
  |  |13459|    168|                    *values++ = PyStackRef_FromPyObjectNew(items[i]);
  |  |  ------------------
  |  |  |  |  611|    168|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    168|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    168|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13460|    168|                }
  |  |13461|     55|                stack_pointer += -1 + oparg;
  |  |13462|     55|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     55|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13463|     55|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13464|     55|                _PyFrame_StackPointerValidate(frame);
  |  |13465|     55|                PyStackRef_CLOSE(seq);
  |  |13466|     55|                _PyFrame_StackPointerInvalidate(frame);
  |  |13467|     55|            }
  |  |13468|     55|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     55|    { \
  |  |  |  |  201|     55|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     55|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     55|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     55|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     55|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     55|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     55|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     55|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 55]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     55|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     55|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     55|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     55|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     55|    }
  |  |  ------------------
  |  |13469|     55|        }
  |  |13470|       |
  |  |13471|    863|        TARGET(UNPACK_SEQUENCE_TWO_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|    863|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13472|       |            #if _Py_TAIL_CALL_INTERP
  |  |13473|       |            int opcode = UNPACK_SEQUENCE_TWO_TUPLE;
  |  |13474|       |            (void)(opcode);
  |  |13475|       |            #endif
  |  |13476|    863|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13477|    863|            (void)this_instr;
  |  |13478|    863|            frame->instr_ptr = next_instr;
  |  |13479|    863|            next_instr += 2;
  |  |13480|    863|            INSTRUCTION_STATS(UNPACK_SEQUENCE_TWO_TUPLE);
  |  |  ------------------
  |  |  |  |   71|    863|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13481|    863|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |13482|    863|            _PyStackRef tos;
  |  |13483|    863|            _PyStackRef seq;
  |  |13484|    863|            _PyStackRef val1;
  |  |13485|    863|            _PyStackRef val0;
  |  |13486|       |            // _GUARD_TOS_TUPLE
  |  |13487|    863|            {
  |  |13488|    863|                tos = stack_pointer[-1];
  |  |13489|    863|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13490|    863|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|    863|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    863|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    863|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    863|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13490:21): [True: 0, False: 863]
  |  |  ------------------
  |  |13491|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13492|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13492:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13493|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13494|      0|                }
  |  |13495|    863|            }
  |  |13496|       |            /* Skip 1 cache entry */
  |  |13497|       |            // _UNPACK_SEQUENCE_TWO_TUPLE
  |  |13498|    863|            {
  |  |13499|    863|                seq = tos;
  |  |13500|    863|                assert(oparg == 2);
  |  |  ------------------
  |  |  |  Branch (13500:17): [True: 863, False: 0]
  |  |  ------------------
  |  |13501|    863|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |13502|    863|                assert(PyTuple_CheckExact(seq_o));
  |  |  ------------------
  |  |  |  Branch (13502:17): [True: 863, False: 0]
  |  |  ------------------
  |  |13503|    863|                if (PyTuple_GET_SIZE(seq_o) != 2) {
  |  |  ------------------
  |  |  |  |   27|    863|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    863|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    863|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13503:21): [True: 0, False: 863]
  |  |  ------------------
  |  |13504|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13505|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13505:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13506|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13507|      0|                }
  |  |13508|    863|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|    863|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13509|    863|                val0 = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(seq_o, 0));
  |  |  ------------------
  |  |  |  |  611|    863|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    863|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 863, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13510|    863|                val1 = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(seq_o, 1));
  |  |  ------------------
  |  |  |  |  611|    863|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    863|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 863, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13511|      0|                stack_pointer[-1] = val1;
  |  |13512|    863|                stack_pointer[0] = val0;
  |  |13513|    863|                stack_pointer += 1;
  |  |13514|    863|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    863|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13515|    863|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13516|    863|                _PyFrame_StackPointerValidate(frame);
  |  |13517|    863|                PyStackRef_CLOSE(seq);
  |  |13518|    863|                _PyFrame_StackPointerInvalidate(frame);
  |  |13519|    863|            }
  |  |13520|    863|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    863|    { \
  |  |  |  |  201|    863|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    863|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    863|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    863|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    863|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    863|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    863|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    863|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 863]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    863|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    863|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    863|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    863|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    863|    }
  |  |  ------------------
  |  |13521|    863|        }
  |  |13522|       |
  |  |13523|      0|        TARGET(WITH_EXCEPT_START) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13524|       |            #if _Py_TAIL_CALL_INTERP
  |  |13525|       |            int opcode = WITH_EXCEPT_START;
  |  |13526|       |            (void)(opcode);
  |  |13527|       |            #endif
  |  |13528|      0|            frame->instr_ptr = next_instr;
  |  |13529|      0|            next_instr += 1;
  |  |13530|      0|            INSTRUCTION_STATS(WITH_EXCEPT_START);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13531|      0|            _PyStackRef exit_func;
  |  |13532|      0|            _PyStackRef exit_self;
  |  |13533|      0|            _PyStackRef lasti;
  |  |13534|      0|            _PyStackRef val;
  |  |13535|      0|            _PyStackRef res;
  |  |13536|      0|            val = stack_pointer[-1];
  |  |13537|      0|            lasti = stack_pointer[-3];
  |  |13538|      0|            exit_self = stack_pointer[-4];
  |  |13539|      0|            exit_func = stack_pointer[-5];
  |  |13540|      0|            PyObject *exc, *tb;
  |  |13541|      0|            PyObject *val_o = PyStackRef_AsPyObjectBorrow(val);
  |  |13542|      0|            PyObject *exit_func_o = PyStackRef_AsPyObjectBorrow(exit_func);
  |  |13543|      0|            assert(val_o && PyExceptionInstance_Check(val_o));
  |  |  ------------------
  |  |  |  Branch (13543:13): [True: 0, False: 0]
  |  |  |  Branch (13543:13): [True: 0, False: 0]
  |  |  ------------------
  |  |13544|      0|            exc = PyExceptionInstance_Class(val_o);
  |  |  ------------------
  |  |  |  |   69|      0|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13545|      0|            PyObject *original_tb = tb = PyException_GetTraceback(val_o);
  |  |13546|      0|            if (tb == NULL) {
  |  |  ------------------
  |  |  |  Branch (13546:17): [True: 0, False: 0]
  |  |  ------------------
  |  |13547|      0|                tb = Py_None;
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  |  |13548|      0|            }
  |  |13549|      0|            assert(PyStackRef_IsTaggedInt(lasti));
  |  |  ------------------
  |  |  |  Branch (13549:13): [True: 0, False: 0]
  |  |  ------------------
  |  |13550|      0|            (void)lasti;
  |  |13551|      0|            PyObject* res_o;
  |  |13552|      0|            {
  |  |13553|      0|                PyObject *stack[5] = {NULL, PyStackRef_AsPyObjectBorrow(exit_self), exc, val_o, tb};
  |  |13554|      0|                int has_self = !PyStackRef_IsNull(exit_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
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13555|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13556|      0|                _PyFrame_StackPointerValidate(frame);
  |  |13557|      0|                res_o = PyObject_Vectorcall(exit_func_o, stack + 2 - has_self,
  |  |13558|      0|                    (3 + has_self) | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
  |  |  ------------------
  |  |  |  |  287|      0|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13559|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |13560|      0|            }
  |  |13561|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13561:13): [True: 0, False: 0]
  |  |  ------------------
  |  |13562|      0|            _PyFrame_StackPointerValidate(frame);
  |  |13563|      0|            Py_XDECREF(original_tb);
  |  |  ------------------
  |  |  |  |   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); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13564|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  |13565|      0|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (13565:17): [True: 0, False: 0]
  |  |  ------------------
  |  |13566|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13567|      0|            }
  |  |13568|      0|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  |13569|      0|            stack_pointer[0] = res;
  |  |13570|      0|            stack_pointer += 1;
  |  |13571|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13572|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      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|    }
  |  |  ------------------
  |  |13573|      0|        }
  |  |13574|       |
  |  |13575|    150|        TARGET(YIELD_VALUE) {
  |  |  ------------------
  |  |  |  |  132|    150|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13576|       |            #if _Py_TAIL_CALL_INTERP
  |  |13577|       |            int opcode = YIELD_VALUE;
  |  |13578|       |            (void)(opcode);
  |  |13579|       |            #endif
  |  |13580|    150|            frame->instr_ptr = next_instr;
  |  |13581|    150|            next_instr += 1;
  |  |13582|    150|            INSTRUCTION_STATS(YIELD_VALUE);
  |  |  ------------------
  |  |  |  |   71|    150|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13583|    150|            opcode = YIELD_VALUE;
  |  |  ------------------
  |  |  |  |  129|    150|#define YIELD_VALUE                            116
  |  |  ------------------
  |  |13584|    150|            _PyStackRef value;
  |  |13585|    150|            _PyStackRef retval;
  |  |13586|       |            // _MAKE_HEAP_SAFE
  |  |13587|    150|            {
  |  |13588|    150|                value = stack_pointer[-1];
  |  |13589|    150|                value = PyStackRef_MakeHeapSafe(value);
  |  |13590|    150|            }
  |  |13591|       |            // _YIELD_VALUE
  |  |13592|    150|            {
  |  |13593|    150|                retval = value;
  |  |13594|    150|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (13594:17): [True: 150, False: 0]
  |  |  ------------------
  |  |13595|    150|                frame->instr_ptr++;
  |  |13596|    150|                PyGenObject *gen = _PyGen_GetGeneratorFromFrame(frame);
  |  |13597|    150|                assert(FRAME_SUSPENDED_YIELD_FROM == FRAME_SUSPENDED + 1);
  |  |  ------------------
  |  |  |  Branch (13597:17): [True: 150, Folded]
  |  |  ------------------
  |  |13598|    150|                assert(oparg == 0 || oparg == 1);
  |  |  ------------------
  |  |  |  Branch (13598:17): [True: 148, False: 2]
  |  |  |  Branch (13598:17): [True: 2, False: 0]
  |  |  ------------------
  |  |13599|    150|                _PyStackRef temp = retval;
  |  |13600|    150|                stack_pointer += -1;
  |  |13601|    150|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    150|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13602|    150|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13603|    150|                _PyFrame_StackPointerValidate(frame);
  |  |13604|    150|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|    150|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |13605|    150|                tstate->exc_info = gen->gi_exc_state.previous_item;
  |  |13606|    150|                gen->gi_exc_state.previous_item = NULL;
  |  |13607|    150|                _Py_LeaveRecursiveCallPy(tstate);
  |  |13608|    150|                _PyInterpreterFrame *gen_frame = frame;
  |  |13609|    150|                _PyThreadState_UpdateLastProfiledFrame(tstate, gen_frame, gen_frame->previous);
  |  |  ------------------
  |  |  |  |  326|    150|    do { \
  |  |  |  |  327|    150|        PyThreadState *tstate_ = (tstate); \
  |  |  |  |  328|    150|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  |  |  329|    150|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (329:13): [True: 0, False: 150]
  |  |  |  |  ------------------
  |  |  |  |  330|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  |  |  331|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  |  |  332|      0|        } \
  |  |  |  |  333|    150|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (333:14): [Folded, False: 150]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13610|    150|                frame = tstate->current_frame = frame->previous;
  |  |13611|    150|                gen_frame->previous = NULL;
  |  |13612|    150|                ((_PyThreadStateImpl *)tstate)->generator_return_kind = GENERATOR_YIELD;
  |  |13613|    150|                FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_SUSPENDED + oparg);
  |  |  ------------------
  |  |  |  |  169|    150|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |13614|    150|                assert(INLINE_CACHE_ENTRIES_SEND == INLINE_CACHE_ENTRIES_FOR_ITER);
  |  |  ------------------
  |  |  |  Branch (13614:17): [True: 150, Folded]
  |  |  ------------------
  |  |13615|       |                #if TIER_ONE && defined(Py_DEBUG)
  |  |13616|       |                if (!PyStackRef_IsNone(frame->f_executable)) {
  |  |13617|       |                    Py_ssize_t i = frame->instr_ptr - _PyFrame_GetBytecode(frame);
  |  |13618|       |                    assert(i >= 0 && i <= INT_MAX);
  |  |13619|       |                    int opcode = _Py_GetBaseCodeUnit(_PyFrame_GetCode(frame), (int)i).op.code;
  |  |13620|       |                    assert(opcode == SEND || opcode == FOR_ITER);
  |  |13621|       |                }
  |  |13622|       |                #endif
  |  |13623|    150|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13624|    150|                _PyFrame_StackPointerInvalidate(frame);
  |  |13625|    150|                LOAD_IP(1 + INLINE_CACHE_ENTRIES_SEND);
  |  |  ------------------
  |  |  |  |  441|    150|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|    150|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|    150|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 150]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13626|    150|                value = temp;
  |  |13627|    150|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    150|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |13628|    150|            }
  |  |13629|      0|            stack_pointer[0] = value;
  |  |13630|    150|            stack_pointer += 1;
  |  |13631|    150|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    150|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13632|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    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|    }
  |  |  ------------------
  |  |13633|    150|        }
  |  |13634|       |
  |  |13635|       |            /* END INSTRUCTIONS */
  |  |13636|      0|#if !_Py_TAIL_CALL_INTERP
  |  |13637|      0|#if USE_COMPUTED_GOTOS
  |  |13638|      0|        _unknown_opcode:
  |  |13639|       |#else
  |  |13640|       |        EXTRA_CASES  // From pycore_opcode_metadata.h, a 'case' for each unused opcode
  |  |13641|       |#endif
  |  |13642|       |            /* Tell C compilers not to hold the opcode variable in the loop.
  |  |13643|       |               next_instr points the current instruction without TARGET(). */
  |  |13644|      0|            opcode = next_instr->op.code;
  |  |13645|      0|            _PyErr_Format(tstate, PyExc_SystemError,
  |  |13646|      0|              "%U:%d: unknown opcode %d",
  |  |13647|      0|              _PyFrame_GetCode(frame)->co_filename,
  |  |13648|      0|              PyUnstable_InterpreterFrame_GetLine(frame),
  |  |13649|      0|              opcode);
  |  |13650|      0|JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13651|       |
  |  |13652|       |
  |  |13653|      0|        }
  |  |13654|       |
  |  |13655|       |        /* This should never be reached. Every opcode should end with DISPATCH()
  |  |13656|       |           or goto error. */
  |  |13657|      0|        Py_UNREACHABLE();
  |  |  ------------------
  |  |  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |13658|      0|#endif /* _Py_TAIL_CALL_INTERP */
  |  |13659|       |        /* BEGIN LABELS */
  |  |13660|       |
  |  |13661|      0|        LABEL(pop_2_error)
  |  |  ------------------
  |  |  |  |  137|      0|#  define LABEL(name) name:
  |  |  ------------------
  |  |13662|      0|        {
  |  |13663|      0|            stack_pointer -= 2;
  |  |13664|      0|            assert(WITHIN_STACK_BOUNDS());
  |  |  ------------------
  |  |  |  Branch (13664:13): [True: 0, False: 0]
  |  |  |  Branch (13664:13): [True: 0, False: 0]
  |  |  |  Branch (13664:13): [True: 0, False: 0]
  |  |  ------------------
  |  |13665|      0|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13666|      0|        }
  |  |13667|       |
  |  |13668|      2|        LABEL(pop_1_error)
  |  |  ------------------
  |  |  |  |  137|      2|#  define LABEL(name) name:
  |  |  ------------------
  |  |13669|      2|        {
  |  |13670|      2|            stack_pointer -= 1;
  |  |13671|      2|            assert(WITHIN_STACK_BOUNDS());
  |  |  ------------------
  |  |  |  Branch (13671:13): [True: 2, False: 0]
  |  |  |  Branch (13671:13): [True: 2, False: 0]
  |  |  |  Branch (13671:13): [True: 0, False: 2]
  |  |  ------------------
  |  |13672|      2|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13673|      0|        }
  |  |13674|       |
  |  |13675|    431|        LABEL(error)
  |  |  ------------------
  |  |  |  |  137|    431|#  define LABEL(name) name:
  |  |  ------------------
  |  |13676|    431|        {
  |  |13677|    431|            _PyFrame_StackAssertInvalid(frame);
  |  |13678|       |            #ifdef NDEBUG
  |  |13679|       |            if (!_PyErr_Occurred(tstate)) {
  |  |13680|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13681|       |                _PyFrame_StackPointerValidate(frame);
  |  |13682|       |                _PyErr_SetString(tstate, PyExc_SystemError,
  |  |13683|       |                             "error return without exception set");
  |  |13684|       |                _PyFrame_StackPointerInvalidate(frame);
  |  |13685|       |            }
  |  |13686|       |            #else
  |  |13687|    431|            assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13687:13): [True: 431, False: 0]
  |  |  ------------------
  |  |13688|    431|            #endif
  |  |13689|    431|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13690|    431|            _PyFrame_StackPointerValidate(frame);
  |  |13691|    431|            STOP_TRACING();
  |  |  ------------------
  |  |  |  |  168|    431|#define STOP_TRACING() ((void)(0));
  |  |  ------------------
  |  |13692|    431|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13693|    431|            _PyFrame_StackPointerInvalidate(frame);
  |  |13694|    431|            assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (13694:13): [True: 431, False: 0]
  |  |  ------------------
  |  |13695|    431|            if (!_PyFrame_IsIncomplete(frame)) {
  |  |  ------------------
  |  |  |  Branch (13695:17): [True: 431, False: 0]
  |  |  ------------------
  |  |13696|    431|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13696:17): [True: 431, False: 0]
  |  |  ------------------
  |  |13697|    431|                _PyFrame_StackPointerValidate(frame);
  |  |13698|    431|                PyFrameObject *f = _PyFrame_GetFrameObject(frame);
  |  |13699|    431|                _PyFrame_StackPointerInvalidate(frame);
  |  |13700|    431|                if (f != NULL) {
  |  |  ------------------
  |  |  |  Branch (13700:21): [True: 431, False: 0]
  |  |  ------------------
  |  |13701|    431|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13701:21): [True: 431, False: 0]
  |  |  ------------------
  |  |13702|    431|                    _PyFrame_StackPointerValidate(frame);
  |  |13703|    431|                    PyTraceBack_Here(f);
  |  |13704|    431|                    _PyFrame_StackPointerInvalidate(frame);
  |  |13705|    431|                }
  |  |13706|    431|            }
  |  |13707|    431|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13707:13): [True: 431, False: 0]
  |  |  ------------------
  |  |13708|    431|            _PyFrame_StackPointerValidate(frame);
  |  |13709|    431|            _PyEval_MonitorRaise(tstate, frame, next_instr-1);
  |  |13710|    431|            _PyFrame_StackPointerInvalidate(frame);
  |  |13711|    431|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13711:13): [True: 431, False: 0]
  |  |  ------------------
  |  |13712|    431|            _PyFrame_StackPointerValidate(frame);
  |  |13713|    431|            JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|    431|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13714|      0|        }
  |  |13715|       |
  |  |13716|    449|        LABEL(exception_unwind)
  |  |  ------------------
  |  |  |  |  137|    449|#  define LABEL(name) name:
  |  |  ------------------
  |  |13717|    449|        {
  |  |13718|    449|            STOP_TRACING();
  |  |  ------------------
  |  |  |  |  168|    449|#define STOP_TRACING() ((void)(0));
  |  |  ------------------
  |  |13719|    449|            int offset = INSTR_OFFSET()-1;
  |  |  ------------------
  |  |  |  |  250|    449|#define INSTR_OFFSET() ((int)(next_instr - _PyFrame_GetBytecode(frame)))
  |  |  ------------------
  |  |13720|    449|            int level, handler, lasti;
  |  |13721|    449|            int handled = get_exception_handler(_PyFrame_GetCode(frame), offset, &level, &handler, &lasti);
  |  |13722|    449|            if (handled == 0) {
  |  |  ------------------
  |  |  |  Branch (13722:17): [True: 129, False: 320]
  |  |  ------------------
  |  |13723|    129|                assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13723:17): [True: 129, False: 0]
  |  |  ------------------
  |  |13724|    129|                _PyStackRef *stackbase = _PyFrame_Stackbase(frame);
  |  |13725|    233|                while (frame->stackpointer > stackbase) {
  |  |  ------------------
  |  |  |  Branch (13725:24): [True: 104, False: 129]
  |  |  ------------------
  |  |13726|    104|                    _PyStackRef ref = _PyFrame_StackPop(frame);
  |  |13727|    104|                    PyStackRef_XCLOSE(ref);
  |  |13728|    104|                }
  |  |13729|    129|                monitor_unwind(tstate, frame, next_instr-1);
  |  |13730|    129|                JUMP_TO_LABEL(exit_unwind);
  |  |  ------------------
  |  |  |  |  135|    129|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13731|      0|            }
  |  |13732|    449|            assert(STACK_LEVEL() >= level);
  |  |  ------------------
  |  |  |  Branch (13732:13): [True: 320, False: 0]
  |  |  ------------------
  |  |13733|    320|            _PyStackRef *new_top = _PyFrame_Stackbase(frame) + level;
  |  |13734|    320|            assert(frame->stackpointer >= new_top);
  |  |  ------------------
  |  |  |  Branch (13734:13): [True: 320, False: 0]
  |  |  ------------------
  |  |13735|    827|            while (frame->stackpointer > new_top) {
  |  |  ------------------
  |  |  |  Branch (13735:20): [True: 507, False: 320]
  |  |  ------------------
  |  |13736|    507|                _PyStackRef ref = _PyFrame_StackPop(frame);
  |  |13737|    507|                PyStackRef_XCLOSE(ref);
  |  |13738|    507|            }
  |  |13739|    320|            if (lasti) {
  |  |  ------------------
  |  |  |  Branch (13739:17): [True: 10, False: 310]
  |  |  ------------------
  |  |13740|     10|                int frame_lasti = _PyInterpreterFrame_LASTI(frame);
  |  |  ------------------
  |  |  |  |   19|     10|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  |  |  ------------------
  |  |13741|     10|                _PyStackRef lasti = PyStackRef_TagInt(frame_lasti);
  |  |13742|     10|                _PyFrame_StackPush(frame, lasti);
  |  |13743|     10|            }
  |  |13744|    320|            PyObject *exc = _PyErr_GetRaisedException(tstate);
  |  |13745|    320|            _PyFrame_StackPush(frame, PyStackRef_FromPyObjectSteal(exc));
  |  |13746|    320|            next_instr = _PyFrame_GetBytecode(frame) + handler;
  |  |13747|    320|            int err = monitor_handled(tstate, frame, next_instr, exc);
  |  |13748|    320|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (13748:17): [True: 0, False: 320]
  |  |  ------------------
  |  |13749|      0|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13750|      0|            }
  |  |13751|       |            #ifdef Py_DEBUG
  |  |13752|       |            if (frame->lltrace >= 5) {
  |  |13753|       |                lltrace_resume_frame(frame);
  |  |13754|       |            }
  |  |13755|       |            #endif
  |  |13756|    320|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13757|    320|            _PyFrame_StackPointerInvalidate(frame);
  |  |13758|       |            #if _Py_TAIL_CALL_INTERP
  |  |13759|       |            int opcode;
  |  |13760|       |            #endif
  |  |13761|    320|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    320|    { \
  |  |  |  |  201|    320|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    320|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    320|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    320|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    320|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    320|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    320|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    320|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 320]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    320|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    320|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    320|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    320|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    320|    }
  |  |  ------------------
  |  |13762|    320|        }
  |  |13763|       |
  |  |13764|    129|        LABEL(exit_unwind)
  |  |  ------------------
  |  |  |  |  137|    129|#  define LABEL(name) name:
  |  |  ------------------
  |  |13765|    129|        {
  |  |13766|    129|            assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13766:13): [True: 129, False: 0]
  |  |  ------------------
  |  |13767|    129|            DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|    129|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |13768|    129|            JUMP_TO_LABEL(exit_unwind_notrace);
  |  |  ------------------
  |  |  |  |  135|    129|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13769|      0|        }
  |  |13770|       |
  |  |13771|    129|        LABEL(exit_unwind_notrace)
  |  |  ------------------
  |  |  |  |  137|    129|#  define LABEL(name) name:
  |  |  ------------------
  |  |13772|    129|        {
  |  |13773|    129|            assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13773:13): [True: 129, False: 0]
  |  |  ------------------
  |  |13774|    129|            _Py_LeaveRecursiveCallPy(tstate);
  |  |13775|    129|            assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (13775:13): [True: 129, False: 0]
  |  |  ------------------
  |  |13776|    129|            _PyInterpreterFrame *dying = frame;
  |  |13777|    129|            frame = tstate->current_frame = dying->previous;
  |  |13778|    129|            _PyEval_FrameClearAndPop(tstate, dying);
  |  |13779|    129|            frame->return_offset = 0;
  |  |13780|    129|            if (frame->owner == FRAME_OWNED_BY_INTERPRETER) {
  |  |  ------------------
  |  |  |  Branch (13780:17): [True: 63, False: 66]
  |  |  ------------------
  |  |13781|     63|                tstate->current_frame = frame->previous;
  |  |13782|     63|                #if !_Py_TAIL_CALL_INTERP
  |  |13783|     63|                assert(frame == &entry.frame);
  |  |  ------------------
  |  |  |  Branch (13783:17): [True: 63, False: 0]
  |  |  ------------------
  |  |13784|     63|                #endif
  |  |13785|       |                #ifdef _Py_TIER2
  |  |13786|       |                _PyStackRef executor = frame->localsplus[0];
  |  |13787|       |                assert(tstate->current_executor == NULL);
  |  |13788|       |                if (!PyStackRef_IsNull(executor)) {
  |  |13789|       |                    tstate->current_executor = PyStackRef_AsPyObjectBorrow(executor);
  |  |13790|       |                    PyStackRef_CLOSE(executor);
  |  |13791|       |                }
  |  |13792|       |                #endif
  |  |13793|     63|                return NULL;
  |  |13794|     63|            }
  |  |13795|     66|            next_instr = frame->instr_ptr;
  |  |13796|     66|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13797|     66|            _PyFrame_StackPointerInvalidate(frame);
  |  |13798|     66|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     66|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13799|      0|        }
  |  |13800|       |
  |  |13801|  3.22k|        LABEL(start_frame)
  |  |  ------------------
  |  |  |  |  137|  3.22k|#  define LABEL(name) name:
  |  |  ------------------
  |  |13802|  3.22k|        {
  |  |13803|       |            #ifdef Py_DEBUG
  |  |13804|       |            assert(frame->stackpointer_valid == 1);
  |  |13805|       |            #endif
  |  |13806|  3.22k|            int too_deep = _Py_EnterRecursivePy(tstate);
  |  |13807|  3.22k|            if (too_deep) {
  |  |  ------------------
  |  |  |  Branch (13807:17): [True: 0, False: 3.22k]
  |  |  ------------------
  |  |13808|      0|                JUMP_TO_LABEL(exit_unwind_notrace);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13809|      0|            }
  |  |13810|  3.22k|            DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  3.22k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  |13811|  3.22k|            next_instr = frame->instr_ptr;
  |  |13812|       |            #ifdef Py_DEBUG
  |  |13813|       |            int lltrace = maybe_lltrace_resume_frame(frame, GLOBALS());
  |  |13814|       |            if (lltrace < 0) {
  |  |13815|       |                JUMP_TO_LABEL(exit_unwind);
  |  |13816|       |            }
  |  |13817|       |            frame->lltrace = lltrace;
  |  |13818|       |            assert(!_PyErr_Occurred(tstate));
  |  |13819|       |            #endif
  |  |13820|  3.22k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13821|  3.22k|            _PyFrame_StackPointerInvalidate(frame);
  |  |13822|       |            #if _Py_TAIL_CALL_INTERP
  |  |13823|       |            int opcode;
  |  |13824|       |            #endif
  |  |13825|  3.22k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.22k|    { \
  |  |  |  |  201|  3.22k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.22k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.22k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.22k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.22k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.22k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.22k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.22k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.22k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.22k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.22k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.22k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.22k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.22k|    }
  |  |  ------------------
  |  |13826|  3.22k|        }
  |  |13827|       |
  |  |13828|       |        #if _Py_TAIL_CALL_INTERP && !defined(_Py_TIER2)
  |  |13829|       |        Py_GCC_ATTRIBUTE((unused))
  |  |13830|       |        #endif
  |  |13831|      0|        LABEL(stop_tracing)
  |  |  ------------------
  |  |  |  |  137|      0|#  define LABEL(name) name:
  |  |  ------------------
  |  |13832|      0|        {
  |  |13833|       |            #if _Py_TIER2
  |  |13834|       |            assert(IS_JIT_TRACING());
  |  |13835|       |            int opcode = next_instr->op.code;
  |  |13836|       |            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13837|       |            _PyFrame_StackPointerValidate(frame);
  |  |13838|       |            _PyJit_translate_single_bytecode_to_trace(tstate, frame, NULL, _EXIT_TRACE);
  |  |13839|       |            _PyFrame_StackPointerInvalidate(frame);
  |  |13840|       |            LEAVE_TRACING();
  |  |13841|       |            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |13842|       |            _PyFrame_StackPointerValidate(frame);
  |  |13843|       |            int err = stop_tracing_and_jit(tstate, frame);
  |  |13844|       |            _PyFrame_StackPointerInvalidate(frame);
  |  |13845|       |            if (err < 0) {
  |  |13846|       |                JUMP_TO_LABEL(error);
  |  |13847|       |            }
  |  |13848|       |            DISPATCH_GOTO_NON_TRACING();
  |  |13849|       |            #else
  |  |13850|      0|            Py_FatalError("JIT label executed in non-jit build.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  |13851|      0|            #endif
  |  |13852|      0|        }
  |  |13853|       |
  |  |13854|       |/* END LABELS */
  |  |13855|      0|#undef TIER_ONE
  ------------------
 1324|      0|#endif
 1325|       |
 1326|       |
 1327|      0|early_exit:
 1328|      0|    assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1328:5): [True: 0, False: 0]
  ------------------
 1329|      0|    _Py_LeaveRecursiveCallPy(tstate);
 1330|      0|    assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  ------------------
  |  Branch (1330:5): [True: 0, False: 0]
  ------------------
 1331|       |    // GH-99729: We need to unlink the frame *before* clearing it:
 1332|      0|    _PyInterpreterFrame *dying = frame;
 1333|      0|    frame = tstate->current_frame = dying->previous;
 1334|      0|    _PyEval_FrameClearAndPop(tstate, dying);
 1335|      0|    frame->return_offset = 0;
 1336|      0|    assert(frame->owner == FRAME_OWNED_BY_INTERPRETER);
  ------------------
  |  Branch (1336:5): [True: 0, False: 0]
  ------------------
 1337|       |    /* Restore previous frame and exit */
 1338|      0|    tstate->current_frame = frame->previous;
 1339|       |    return NULL;
 1340|      0|}
_PyEval_FrameClearAndPop:
 2044|  8.43k|{
 2045|       |    // By this point, tstate->current_frame is already set to the parent frame.
 2046|  8.43k|    _PyThreadState_UpdateLastProfiledFrame(tstate, frame, tstate->current_frame);
  ------------------
  |  |  326|  8.43k|    do { \
  |  |  327|  8.43k|        PyThreadState *tstate_ = (tstate); \
  |  |  328|  8.43k|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  329|  8.43k|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  ------------------
  |  |  |  Branch (329:13): [True: 0, False: 8.43k]
  |  |  ------------------
  |  |  330|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  331|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  332|      0|        } \
  |  |  333|  8.43k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (333:14): [Folded, False: 8.43k]
  |  |  ------------------
  ------------------
 2047|       |
 2048|  8.43k|    if (frame->owner == FRAME_OWNED_BY_THREAD) {
  ------------------
  |  Branch (2048:9): [True: 8.33k, False: 101]
  ------------------
 2049|  8.33k|        clear_thread_frame(tstate, frame);
 2050|  8.33k|    }
 2051|    101|    else {
 2052|    101|        clear_gen_frame(tstate, frame);
 2053|    101|    }
 2054|  8.43k|}
_PyEvalFramePushAndInit:
 2061|  4.83k|{
 2062|  4.83k|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
 2063|  4.83k|    PyCodeObject * code = (PyCodeObject *)func_obj->func_code;
 2064|  4.83k|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|  4.83k|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 2065|  4.83k|    _PyInterpreterFrame *frame = _PyThreadState_PushFrame(tstate, code->co_framesize);
 2066|  4.83k|    if (frame == NULL) {
  ------------------
  |  Branch (2066:9): [True: 0, False: 4.83k]
  ------------------
 2067|      0|        goto fail;
 2068|      0|    }
 2069|  4.83k|    _PyFrame_Initialize(tstate, frame, func, locals, code, 0, previous);
 2070|  4.83k|    if (initialize_locals(tstate, func_obj, frame->localsplus, args, argcount, kwnames)) {
  ------------------
  |  Branch (2070:9): [True: 0, False: 4.83k]
  ------------------
 2071|      0|        assert(frame->owner == FRAME_OWNED_BY_THREAD);
  ------------------
  |  Branch (2071:9): [True: 0, False: 0]
  ------------------
 2072|      0|        _PyThreadState_UpdateLastProfiledFrame(tstate, frame, tstate->current_frame);
  ------------------
  |  |  326|      0|    do { \
  |  |  327|      0|        PyThreadState *tstate_ = (tstate); \
  |  |  328|      0|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  329|      0|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  ------------------
  |  |  |  Branch (329:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  330|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  331|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  332|      0|        } \
  |  |  333|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (333:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2073|      0|        clear_thread_frame(tstate, frame);
 2074|      0|        return NULL;
 2075|      0|    }
 2076|  4.83k|    return frame;
 2077|      0|fail:
 2078|       |    /* Consume the references */
 2079|      0|    PyStackRef_CLOSE(func);
 2080|      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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 2081|      0|    for (size_t i = 0; i < argcount; i++) {
  ------------------
  |  Branch (2081:24): [True: 0, False: 0]
  ------------------
 2082|      0|        PyStackRef_CLOSE(args[i]);
 2083|      0|    }
 2084|      0|    if (kwnames) {
  ------------------
  |  Branch (2084:9): [True: 0, False: 0]
  ------------------
 2085|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2086|      0|        for (Py_ssize_t i = 0; i < kwcount; i++) {
  ------------------
  |  Branch (2086:32): [True: 0, False: 0]
  ------------------
 2087|      0|            PyStackRef_CLOSE(args[i+argcount]);
 2088|      0|        }
 2089|      0|    }
 2090|      0|    PyErr_NoMemory();
 2091|       |    return NULL;
 2092|  4.83k|}
_PyEvalFramePushAndInit_Ex:
 2100|     52|{
 2101|     52|    bool has_dict = (kwargs != NULL && PyDict_GET_SIZE(kwargs) > 0);
  ------------------
  |  |   63|     29|#define PyDict_GET_SIZE(op) PyDict_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 (2101:22): [True: 29, False: 23]
  |  Branch (2101:40): [True: 0, False: 29]
  ------------------
 2102|     52|    PyObject *kwnames = NULL;
 2103|     52|    _PyStackRef *newargs;
 2104|     52|    PyObject *const *object_array = NULL;
 2105|     52|    _PyStackRef stack_array[8] = {0};
 2106|     52|    if (has_dict) {
  ------------------
  |  Branch (2106:9): [True: 0, False: 52]
  ------------------
 2107|      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)
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2108|      0|        if (object_array == NULL) {
  ------------------
  |  Branch (2108:13): [True: 0, False: 0]
  ------------------
 2109|      0|            PyStackRef_CLOSE(func);
 2110|      0|            goto error;
 2111|      0|        }
 2112|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2113|      0|        assert(sizeof(PyObject *) == sizeof(_PyStackRef));
  ------------------
  |  Branch (2113:9): [True: 0, Folded]
  ------------------
 2114|      0|        newargs = (_PyStackRef *)object_array;
 2115|       |        /* Positional args are borrowed from callargs tuple, need new reference */
 2116|      0|        for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2116:32): [True: 0, False: 0]
  ------------------
 2117|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2118|      0|        }
 2119|       |        /* Keyword args are owned by _PyStack_UnpackDict, steal them */
 2120|      0|        for (size_t i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (2120:28): [True: 0, False: 0]
  ------------------
 2121|      0|            newargs[nargs + i] = PyStackRef_FromPyObjectSteal(object_array[nargs + i]);
 2122|      0|        }
 2123|      0|    }
 2124|     52|    else {
 2125|     52|        if (nargs <= 8) {
  ------------------
  |  Branch (2125:13): [True: 48, False: 4]
  ------------------
 2126|     48|            newargs = stack_array;
 2127|     48|        }
 2128|      4|        else {
 2129|      4|            newargs = PyMem_Malloc(sizeof(_PyStackRef) *nargs);
 2130|      4|            if (newargs == NULL) {
  ------------------
  |  Branch (2130:17): [True: 0, False: 4]
  ------------------
 2131|      0|                PyErr_NoMemory();
 2132|      0|                PyStackRef_CLOSE(func);
 2133|      0|                goto error;
 2134|      0|            }
 2135|      4|        }
 2136|       |        /* We need to create a new reference for all our args since the new frame steals them. */
 2137|    339|        for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2137:32): [True: 287, False: 52]
  ------------------
 2138|    287|            newargs[i] = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(callargs, i));
  ------------------
  |  |  611|    287|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    287|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    574|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 287, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2139|    287|        }
 2140|     52|    }
 2141|     52|    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
 2142|     52|        tstate, func, locals,
 2143|     52|        newargs, nargs, kwnames, previous
 2144|     52|    );
 2145|     52|    if (has_dict) {
  ------------------
  |  Branch (2145:9): [True: 0, False: 52]
  ------------------
 2146|      0|        _PyStack_UnpackDict_FreeNoDecRef(object_array, kwnames);
 2147|      0|    }
 2148|     52|    else if (nargs > 8) {
  ------------------
  |  Branch (2148:14): [True: 4, False: 48]
  ------------------
 2149|      4|       PyMem_Free((void *)newargs);
 2150|      4|    }
 2151|       |    /* No need to decref func here because the reference has been stolen by
 2152|       |       _PyEvalFramePushAndInit.
 2153|       |    */
 2154|     52|    Py_DECREF(callargs);
  ------------------
  |  |   80|     52|    do { \
  |  |   81|     52|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|     52|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|     52|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 52]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|     52|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|     52|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|     52|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 37, False: 15]
  |  |  ------------------
  |  |   88|     37|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|     37|    do { \
  |  |  |  |  110|     37|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|     37|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 37]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|     37|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 37]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|     37|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|     37|            (*dealloc)(op); \
  |  |   91|     37|        } \
  |  |   92|     52|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 52]
  |  |  ------------------
  ------------------
 2155|     52|    Py_XDECREF(kwargs);
  ------------------
  |  |   69|     52|    do { \
  |  |   70|     52|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|     52|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 29, False: 23]
  |  |  ------------------
  |  |   72|     29|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|     29|    do { \
  |  |  |  |   81|     29|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     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: 0, False: 29]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     29|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     29|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     29|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 29, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|     29|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|     29|    do { \
  |  |  |  |  |  |  110|     29|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|     29|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 29]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|     29|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 29]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|     29|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|     29|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|     29|            (*dealloc)(op); \
  |  |  |  |   91|     29|        } \
  |  |  |  |   92|     29|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 29]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|     29|        } \
  |  |   74|     52|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 52]
  |  |  ------------------
  ------------------
 2156|     52|    return new_frame;
 2157|      0|error:
 2158|      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); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 2159|      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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 2160|       |    return NULL;
 2161|     52|}
_PyEval_Vector:
 2168|  2.02k|{
 2169|  2.02k|    size_t total_args = argcount;
 2170|  2.02k|    if (kwnames) {
  ------------------
  |  Branch (2170:9): [True: 101, False: 1.92k]
  ------------------
 2171|    101|        total_args += PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2172|    101|    }
 2173|  2.02k|    _PyStackRef stack_array[8] = {0};
 2174|  2.02k|    _PyStackRef *arguments;
 2175|  2.02k|    if (total_args <= 8) {
  ------------------
  |  Branch (2175:9): [True: 2.02k, False: 2]
  ------------------
 2176|  2.02k|        arguments = stack_array;
 2177|  2.02k|    }
 2178|      2|    else {
 2179|      2|        arguments = PyMem_Malloc(sizeof(_PyStackRef) * total_args);
 2180|      2|        if (arguments == NULL) {
  ------------------
  |  Branch (2180:13): [True: 0, False: 2]
  ------------------
 2181|      0|            return PyErr_NoMemory();
 2182|      0|        }
 2183|      2|    }
 2184|       |    /* _PyEvalFramePushAndInit consumes the references
 2185|       |     * to func, locals and all its arguments */
 2186|  2.02k|    Py_XINCREF(locals);
  ------------------
  |  |  611|  2.02k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2187|  6.19k|    for (size_t i = 0; i < total_args; i++) {
  ------------------
  |  Branch (2187:24): [True: 4.17k, False: 2.02k]
  ------------------
 2188|  4.17k|        arguments[i] = PyStackRef_FromPyObjectNew(args[i]);
  ------------------
  |  |  611|  4.17k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2189|  4.17k|    }
 2190|  2.02k|    _PyInterpreterFrame *frame = _PyEvalFramePushAndInit(
 2191|  2.02k|        tstate, PyStackRef_FromPyObjectNew(func), locals,
  ------------------
  |  |  611|  2.02k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2192|  2.02k|        arguments, argcount, kwnames, NULL);
 2193|  2.02k|    if (total_args > 8) {
  ------------------
  |  Branch (2193:9): [True: 2, False: 2.02k]
  ------------------
 2194|      2|        PyMem_Free(arguments);
 2195|      2|    }
 2196|  2.02k|    if (frame == NULL) {
  ------------------
  |  Branch (2196:9): [True: 0, False: 2.02k]
  ------------------
 2197|      0|        return NULL;
 2198|      0|    }
 2199|  2.02k|    EVAL_CALL_STAT_INC(EVAL_CALL_VECTOR);
  ------------------
  |  |   79|  2.02k|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
 2200|  2.02k|    return _PyEval_EvalFrame(tstate, frame, 0);
 2201|  2.02k|}
_PyEval_UnpackIterableStackRef:
 2378|     66|{
 2379|     66|    int i = 0, j = 0;
 2380|     66|    Py_ssize_t ll = 0;
 2381|     66|    PyObject *it;  /* iter(v) */
 2382|     66|    PyObject *w;
 2383|     66|    PyObject *l = NULL; /* variable list */
 2384|     66|    assert(v != NULL);
  ------------------
  |  Branch (2384:5): [True: 66, False: 0]
  ------------------
 2385|       |
 2386|     66|    it = PyObject_GetIter(v);
 2387|     66|    if (it == NULL) {
  ------------------
  |  Branch (2387:9): [True: 0, False: 66]
  ------------------
 2388|      0|        if (_PyErr_ExceptionMatches(tstate, PyExc_TypeError) &&
  ------------------
  |  Branch (2388:13): [True: 0, False: 0]
  ------------------
 2389|      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 (2389:13): [True: 0, False: 0]
  |  Branch (2389:44): [True: 0, False: 0]
  ------------------
 2390|      0|        {
 2391|      0|            _PyErr_Format(tstate, PyExc_TypeError,
 2392|      0|                          "cannot unpack non-iterable %.200s object",
 2393|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2394|      0|        }
 2395|      0|        return 0;
 2396|      0|    }
 2397|       |
 2398|    214|    for (; i < argcnt; i++) {
  ------------------
  |  Branch (2398:12): [True: 148, False: 66]
  ------------------
 2399|    148|        w = PyIter_Next(it);
 2400|    148|        if (w == NULL) {
  ------------------
  |  Branch (2400:13): [True: 0, False: 148]
  ------------------
 2401|       |            /* Iterator done, via error or exhaustion. */
 2402|      0|            if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2402:17): [True: 0, False: 0]
  ------------------
 2403|      0|                if (argcntafter == -1) {
  ------------------
  |  Branch (2403:21): [True: 0, False: 0]
  ------------------
 2404|      0|                    _PyErr_Format(tstate, PyExc_ValueError,
 2405|      0|                                  "not enough values to unpack "
 2406|      0|                                  "(expected %d, got %d)",
 2407|      0|                                  argcnt, i);
 2408|      0|                }
 2409|      0|                else {
 2410|      0|                    _PyErr_Format(tstate, PyExc_ValueError,
 2411|      0|                                  "not enough values to unpack "
 2412|      0|                                  "(expected at least %d, got %d)",
 2413|      0|                                  argcnt + argcntafter, i);
 2414|      0|                }
 2415|      0|            }
 2416|      0|            goto Error;
 2417|      0|        }
 2418|    148|        *--sp = PyStackRef_FromPyObjectSteal(w);
 2419|    148|    }
 2420|       |
 2421|     66|    if (argcntafter == -1) {
  ------------------
  |  Branch (2421:9): [True: 66, False: 0]
  ------------------
 2422|       |        /* We better have exhausted the iterator now. */
 2423|     66|        w = PyIter_Next(it);
 2424|     66|        if (w == NULL) {
  ------------------
  |  Branch (2424:13): [True: 66, False: 0]
  ------------------
 2425|     66|            if (_PyErr_Occurred(tstate))
  ------------------
  |  Branch (2425:17): [True: 0, False: 66]
  ------------------
 2426|      0|                goto Error;
 2427|     66|            Py_DECREF(it);
  ------------------
  |  |   80|     66|    do { \
  |  |   81|     66|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|     66|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|     66|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 66]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|     66|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|     66|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|     66|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 66, False: 0]
  |  |  ------------------
  |  |   88|     66|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|     66|    do { \
  |  |  |  |  110|     66|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|     66|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 66]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|     66|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 66]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|     66|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|     66|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|     66|            (*dealloc)(op); \
  |  |   91|     66|        } \
  |  |   92|     66|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 66]
  |  |  ------------------
  ------------------
 2428|     66|            return 1;
 2429|     66|        }
 2430|      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); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 2431|       |
 2432|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2433|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2434|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2435|      0|            if (ll > argcnt) {
  ------------------
  |  Branch (2435:17): [True: 0, False: 0]
  ------------------
 2436|      0|                _PyErr_Format(tstate, PyExc_ValueError,
 2437|      0|                              "too many values to unpack (expected %d, got %zd)",
 2438|      0|                              argcnt, ll);
 2439|      0|                goto Error;
 2440|      0|            }
 2441|      0|        }
 2442|      0|        _PyErr_Format(tstate, PyExc_ValueError,
 2443|      0|                      "too many values to unpack (expected %d)",
 2444|      0|                      argcnt);
 2445|      0|        goto Error;
 2446|      0|    }
 2447|       |
 2448|      0|    l = PySequence_List(it);
 2449|      0|    if (l == NULL)
  ------------------
  |  Branch (2449:9): [True: 0, False: 0]
  ------------------
 2450|      0|        goto Error;
 2451|      0|    *--sp = PyStackRef_FromPyObjectSteal(l);
 2452|      0|    i++;
 2453|       |
 2454|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2455|      0|    if (ll < argcntafter) {
  ------------------
  |  Branch (2455:9): [True: 0, False: 0]
  ------------------
 2456|      0|        _PyErr_Format(tstate, PyExc_ValueError,
 2457|      0|            "not enough values to unpack (expected at least %d, got %zd)",
 2458|      0|            argcnt + argcntafter, argcnt + ll);
 2459|      0|        goto Error;
 2460|      0|    }
 2461|       |
 2462|       |    /* Pop the "after-variable" args off the list. */
 2463|      0|    for (j = argcntafter; j > 0; j--, i++) {
  ------------------
  |  Branch (2463:27): [True: 0, False: 0]
  ------------------
 2464|      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 (2464:46): [True: 0, False: 0]
  ------------------
 2465|      0|    }
 2466|       |    /* Resize the list. */
 2467|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2468|      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); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 2469|      0|    return 1;
 2470|       |
 2471|      0|Error:
 2472|      0|    for (; i > 0; i--, sp++) {
  ------------------
  |  Branch (2472:12): [True: 0, False: 0]
  ------------------
 2473|      0|        PyStackRef_CLOSE(*sp);
 2474|      0|    }
 2475|       |    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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 2476|      0|    return 0;
 2477|      0|}
_PyEval_MonitorRaise:
 2484|    431|{
 2485|    431|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_RAISE)) {
  ------------------
  |  |   32|    431|#define PY_MONITORING_EVENT_RAISE 11
  ------------------
  |  Branch (2485:9): [True: 431, False: 0]
  ------------------
 2486|    431|        return;
 2487|    431|    }
 2488|      0|    do_monitor_exc(tstate, frame, instr, PY_MONITORING_EVENT_RAISE);
  ------------------
  |  |   32|      0|#define PY_MONITORING_EVENT_RAISE 11
  ------------------
 2489|      0|}
_PyEval_NoToolsForUnwind:
 2493|      6|{
 2494|      6|    return no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_PY_UNWIND);
  ------------------
  |  |   34|      6|#define PY_MONITORING_EVENT_PY_UNWIND 13
  ------------------
 2495|      6|}
_PyEval_GetFrame:
 2631|    216|{
 2632|    216|    PyThreadState *tstate = _PyThreadState_GET();
 2633|    216|    return _PyThreadState_GetFrame(tstate);
 2634|    216|}
_PyEval_GetBuiltins:
 2652|     57|{
 2653|     57|    _PyInterpreterFrame *frame = _PyThreadState_GetFrame(tstate);
 2654|     57|    if (frame != NULL) {
  ------------------
  |  Branch (2654:9): [True: 51, False: 6]
  ------------------
 2655|     51|        return frame->f_builtins;
 2656|     51|    }
 2657|      6|    return tstate->interp->builtins;
 2658|     57|}
PyEval_GetBuiltins:
 2662|     57|{
 2663|     57|    PyThreadState *tstate = _PyThreadState_GET();
 2664|     57|    return _PyEval_GetBuiltins(tstate);
 2665|     57|}
PyEval_GetGlobals:
 2774|    161|{
 2775|    161|    PyThreadState *tstate = _PyThreadState_GET();
 2776|    161|    return _PyEval_GetGlobals(tstate);
 2777|    161|}
_PyEval_EnsureBuiltins:
 2837|     53|{
 2838|     53|    PyObject *builtins = get_globals_builtins(globals);
 2839|     53|    if (builtins == NULL) {
  ------------------
  |  Branch (2839:9): [True: 51, False: 2]
  ------------------
 2840|     51|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2840:13): [True: 0, False: 51]
  ------------------
 2841|      0|            return -1;
 2842|      0|        }
 2843|     51|        builtins = PyEval_GetBuiltins();  // borrowed
 2844|     51|        if (builtins == NULL) {
  ------------------
  |  Branch (2844:13): [True: 0, False: 51]
  ------------------
 2845|      0|            assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2845:13): [True: 0, False: 0]
  ------------------
 2846|      0|            return -1;
 2847|      0|        }
 2848|     51|        Py_INCREF(builtins);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2849|     51|        if (set_globals_builtins(globals, builtins) < 0) {
  ------------------
  |  Branch (2849:13): [True: 0, False: 51]
  ------------------
 2850|      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); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 2851|      0|            return -1;
 2852|      0|        }
 2853|     51|    }
 2854|     53|    if (p_builtins != NULL) {
  ------------------
  |  Branch (2854:9): [True: 0, False: 53]
  ------------------
 2855|      0|        *p_builtins = builtins;
 2856|      0|    }
 2857|     53|    else {
 2858|       |        Py_DECREF(builtins);
  ------------------
  |  |   80|     53|    do { \
  |  |   81|     53|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     53|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     53|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|     53|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|     53|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     53|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     53|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 53]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|     53|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|     53|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|     53|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 53]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|     53|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 53]
  |  |  ------------------
  ------------------
 2859|     53|    }
 2860|     53|    return 0;
 2861|     53|}
_PyEval_EnsureBuiltinsWithModule:
 2866|     15|{
 2867|     15|    PyObject *builtins = get_globals_builtins(globals);
 2868|     15|    if (builtins == NULL) {
  ------------------
  |  Branch (2868:9): [True: 15, False: 0]
  ------------------
 2869|     15|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2869:13): [True: 0, False: 15]
  ------------------
 2870|      0|            return -1;
 2871|      0|        }
 2872|     15|        builtins = PyImport_ImportModuleLevel("builtins", NULL, NULL, NULL, 0);
 2873|     15|        if (builtins == NULL) {
  ------------------
  |  Branch (2873:13): [True: 0, False: 15]
  ------------------
 2874|      0|            return -1;
 2875|      0|        }
 2876|     15|        if (set_globals_builtins(globals, builtins) < 0) {
  ------------------
  |  Branch (2876:13): [True: 0, False: 15]
  ------------------
 2877|      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); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 2878|      0|            return -1;
 2879|      0|        }
 2880|     15|    }
 2881|     15|    if (p_builtins != NULL) {
  ------------------
  |  Branch (2881:9): [True: 15, False: 0]
  ------------------
 2882|     15|        *p_builtins = builtins;
 2883|     15|    }
 2884|      0|    else {
 2885|       |        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); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 2886|      0|    }
 2887|     15|    return 0;
 2888|     15|}
PyEval_MergeCompilerFlags:
 2914|     35|{
 2915|     35|    PyThreadState *tstate = _PyThreadState_GET();
 2916|     35|    _PyInterpreterFrame *current_frame = tstate->current_frame;
 2917|     35|    if (current_frame == tstate->base_frame) {
  ------------------
  |  Branch (2917:9): [True: 0, False: 35]
  ------------------
 2918|      0|        current_frame = NULL;
 2919|      0|    }
 2920|     35|    int result = cf->cf_flags != 0;
 2921|       |
 2922|     35|    if (current_frame != NULL) {
  ------------------
  |  Branch (2922:9): [True: 35, False: 0]
  ------------------
 2923|     35|        const int codeflags = _PyFrame_GetCode(current_frame)->co_flags;
 2924|     35|        const int compilerflags = codeflags & PyCF_MASK;
  ------------------
  |  |    6|     35|#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  139|     35|#define CO_FUTURE_DIVISION      0x20000
  |  |  ------------------
  |  |               #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  140|     35|#define CO_FUTURE_ABSOLUTE_IMPORT 0x40000 /* do absolute imports by default */
  |  |  ------------------
  |  |    7|     35|                   CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  141|     35|#define CO_FUTURE_WITH_STATEMENT  0x80000
  |  |  ------------------
  |  |                                  CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  142|     35|#define CO_FUTURE_PRINT_FUNCTION  0x100000
  |  |  ------------------
  |  |    8|     35|                   CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  143|     35|#define CO_FUTURE_UNICODE_LITERALS 0x200000
  |  |  ------------------
  |  |                                  CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  145|     35|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  |  |  ------------------
  |  |    9|     35|                   CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  146|     35|#define CO_FUTURE_GENERATOR_STOP  0x800000
  |  |  ------------------
  |  |                                  CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  147|     35|#define CO_FUTURE_ANNOTATIONS    0x1000000
  |  |  ------------------
  ------------------
 2925|     35|        if (compilerflags) {
  ------------------
  |  Branch (2925:13): [True: 0, False: 35]
  ------------------
 2926|      0|            result = 1;
 2927|      0|            cf->cf_flags |= compilerflags;
 2928|      0|        }
 2929|     35|    }
 2930|     35|    return result;
 2931|     35|}
_PyEval_SliceIndex:
 2994|    716|{
 2995|    716|    if (Py_IsNone(v)) {
  ------------------
  |  |  621|    716|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|    716|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 152, False: 564]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2996|    152|        return 1;
 2997|    152|    }
 2998|    564|    return _PyEval_SliceIndexNotNone(v, pi);
 2999|    716|}
_PyEval_SliceIndexNotNone:
 3003|    564|{
 3004|    564|    PyThreadState *tstate = _PyThreadState_GET();
 3005|    564|    Py_ssize_t x;
 3006|    564|    if (PyLong_CheckExact(v) && _PyLong_IsCompact((PyLongObject *)v)) {
  ------------------
  |  |   14|    564|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |   65|  1.12k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    564|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    564|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 564, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3006:33): [True: 564, False: 0]
  ------------------
 3007|    564|        *pi = _PyLong_CompactValue((PyLongObject *)v);
 3008|    564|        return 1;
 3009|    564|    }
 3010|      0|    if (_PyIndex_Check(v)) {
  ------------------
  |  Branch (3010:9): [True: 0, False: 0]
  ------------------
 3011|      0|        x = PyNumber_AsSsize_t(v, NULL);
 3012|      0|        if (x == -1 && _PyErr_Occurred(tstate))
  ------------------
  |  Branch (3012:13): [True: 0, False: 0]
  |  Branch (3012:24): [True: 0, False: 0]
  ------------------
 3013|      0|            return 0;
 3014|      0|    }
 3015|      0|    else {
 3016|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 3017|      0|                         "slice indices must be integers or "
 3018|      0|                         "have an __index__ method");
 3019|      0|        return 0;
 3020|      0|    }
 3021|      0|    *pi = x;
 3022|      0|    return 1;
 3023|      0|}
_PyEval_UnpackIndices:
 3029|    152|{
 3030|    152|    if (len < 0) {
  ------------------
  |  Branch (3030:9): [True: 0, False: 152]
  ------------------
 3031|      0|        return 0;
 3032|      0|    }
 3033|    152|    *istart = 0;
 3034|    152|    *istop = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|    152|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 3035|    152|    if (!_PyEval_SliceIndex(start, istart)) {
  ------------------
  |  Branch (3035:9): [True: 0, False: 152]
  ------------------
 3036|      0|        return 0;
 3037|      0|    }
 3038|    152|    if (!_PyEval_SliceIndex(stop, istop)) {
  ------------------
  |  Branch (3038:9): [True: 0, False: 152]
  ------------------
 3039|      0|        return 0;
 3040|      0|    }
 3041|    152|    PySlice_AdjustIndices(len, istart, istop, 1);
 3042|    152|    return 1;
 3043|    152|}
_PyEval_ImportName:
 3049|    405|{
 3050|    405|    PyObject *import_func;
 3051|    405|    if (PyMapping_GetOptionalItem(builtins, &_Py_ID(__import__),
  ------------------
  |  |  951|    405|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    405|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    405|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3051:9): [True: 0, False: 405]
  ------------------
 3052|    405|                                  &import_func) < 0) {
 3053|      0|        return NULL;
 3054|      0|    }
 3055|    405|    if (import_func == NULL) {
  ------------------
  |  Branch (3055:9): [True: 0, False: 405]
  ------------------
 3056|      0|        _PyErr_SetString(tstate, PyExc_ImportError, "__import__ not found");
 3057|      0|        return NULL;
 3058|      0|    }
 3059|       |
 3060|    405|    PyObject *res = _PyEval_ImportNameWithImport(
 3061|    405|        tstate, import_func, globals, locals, name, fromlist, level);
 3062|       |    Py_DECREF(import_func);
  ------------------
  |  |   80|    405|    do { \
  |  |   81|    405|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|    405|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|    405|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|    405|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    405|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 405]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|    405|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|    405|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|    405|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 405]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|    405|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 405]
  |  |  ------------------
  ------------------
 3063|    405|    return res;
 3064|    405|}
_PyEval_ImportNameWithImport:
 3070|    405|{
 3071|    405|    if (locals == NULL) {
  ------------------
  |  Branch (3071:9): [True: 212, False: 193]
  ------------------
 3072|    212|        locals = Py_None;
  ------------------
  |  |  616|    212|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3073|    212|    }
 3074|       |
 3075|       |    /* Fast path for not overloaded __import__. */
 3076|    405|    if (_PyImport_IsDefaultImportFunc(tstate->interp, import_func)) {
  ------------------
  |  Branch (3076:9): [True: 405, False: 0]
  ------------------
 3077|    405|        int ilevel = PyLong_AsInt(level);
 3078|    405|        if (ilevel == -1 && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3078:13): [True: 0, False: 405]
  |  Branch (3078:29): [True: 0, False: 0]
  ------------------
 3079|      0|            return NULL;
 3080|      0|        }
 3081|    405|        return PyImport_ImportModuleLevelObject(
 3082|    405|                        name,
 3083|    405|                        globals,
 3084|    405|                        locals,
 3085|    405|                        fromlist,
 3086|    405|                        ilevel);
 3087|    405|    }
 3088|       |
 3089|      0|    PyObject *args[5] = {name, globals, locals, fromlist, level};
 3090|       |    PyObject *res = PyObject_Vectorcall(import_func, args, 5, NULL);
 3091|      0|    return res;
 3092|    405|}
_PyEval_LazyImportName:
 3143|    164|{
 3144|    164|    PyObject *res = NULL;
 3145|       |    // Check if global policy overrides the local syntax
 3146|    164|    switch (PyImport_GetLazyImportsMode()) {
  ------------------
  |  Branch (3146:13): [True: 164, False: 0]
  ------------------
 3147|      0|        case PyImport_LAZY_ALL:
  ------------------
  |  Branch (3147:9): [True: 0, False: 164]
  ------------------
 3148|      0|            if (!lazy) {
  ------------------
  |  Branch (3148:17): [True: 0, False: 0]
  ------------------
 3149|      0|                lazy = is_lazy_import_module_level();
 3150|      0|            }
 3151|      0|            break;
 3152|    164|        case PyImport_LAZY_NORMAL:
  ------------------
  |  Branch (3152:9): [True: 164, False: 0]
  ------------------
 3153|    164|            break;
 3154|    164|    }
 3155|       |
 3156|    164|    if (!lazy) {
  ------------------
  |  Branch (3156:9): [True: 150, False: 14]
  ------------------
 3157|       |        // See if __lazy_modules__ forces this to be lazy.
 3158|       |        // __lazy_modules__ only applies at module level; exec() inside
 3159|       |        // functions or classes should remain eager.
 3160|    150|        if (is_lazy_import_module_level()) {
  ------------------
  |  Branch (3160:13): [True: 150, False: 0]
  ------------------
 3161|    150|            lazy = check_lazy_import_compatibility(tstate, globals, name, level);
 3162|    150|            if (lazy < 0) {
  ------------------
  |  Branch (3162:17): [True: 0, False: 150]
  ------------------
 3163|      0|                return NULL;
 3164|      0|            }
 3165|    150|        }
 3166|    150|    }
 3167|       |
 3168|    164|    if (!lazy) {
  ------------------
  |  Branch (3168:9): [True: 150, False: 14]
  ------------------
 3169|       |        // Not a lazy import or lazy imports are disabled, fallback to the
 3170|       |        // regular import.
 3171|    150|        return _PyEval_ImportName(tstate, builtins, globals, locals,
 3172|    150|                                  name, fromlist, level);
 3173|    150|    }
 3174|       |
 3175|     14|    PyObject *lazy_import_func;
 3176|     14|    if (PyMapping_GetOptionalItem(builtins, &_Py_ID(__lazy_import__),
  ------------------
  |  |  951|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3176:9): [True: 0, False: 14]
  ------------------
 3177|     14|                                  &lazy_import_func) < 0) {
 3178|      0|        goto error;
 3179|      0|    }
 3180|     14|    if (lazy_import_func == NULL) {
  ------------------
  |  Branch (3180:9): [True: 0, False: 14]
  ------------------
 3181|      0|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (3181:9): [True: 0, False: 0]
  ------------------
 3182|      0|        _PyErr_SetString(tstate, PyExc_ImportError,
 3183|      0|                         "__lazy_import__ not found");
 3184|      0|        goto error;
 3185|      0|    }
 3186|       |
 3187|     14|    if (locals == NULL) {
  ------------------
  |  Branch (3187:9): [True: 0, False: 14]
  ------------------
 3188|      0|        locals = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3189|      0|    }
 3190|       |
 3191|     14|    if (_PyImport_IsDefaultLazyImportFunc(tstate->interp, lazy_import_func)) {
  ------------------
  |  Branch (3191:9): [True: 14, False: 0]
  ------------------
 3192|     14|        int ilevel = PyLong_AsInt(level);
 3193|     14|        if (ilevel == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3193:13): [True: 0, False: 14]
  |  Branch (3193:29): [True: 0, False: 0]
  ------------------
 3194|      0|            goto error;
 3195|      0|        }
 3196|       |
 3197|     14|        res = _PyImport_LazyImportModuleLevelObject(
 3198|     14|            tstate, name, builtins, globals, locals, fromlist, ilevel
 3199|     14|        );
 3200|     14|        goto error;
 3201|     14|    }
 3202|       |
 3203|      0|    PyObject *args[5] = {name, globals, locals, fromlist, level};
 3204|      0|    res = PyObject_Vectorcall(lazy_import_func, args, 5, NULL);
 3205|     14|error:
 3206|       |    Py_XDECREF(lazy_import_func);
  ------------------
  |  |   69|     14|    do { \
  |  |   70|     14|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|     14|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 14, False: 0]
  |  |  ------------------
  |  |   72|     14|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|     14|    do { \
  |  |  |  |   81|     14|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     14|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     14|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     14|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     14|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     14|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|     14|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|     14|        } \
  |  |   74|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 3207|     14|    return res;
 3208|      0|}
_PyEval_ImportFrom:
 3212|    194|{
 3213|    194|    PyObject *x;
 3214|    194|    PyObject *fullmodname, *mod_name, *origin, *mod_name_or_unknown, *errmsg, *spec;
 3215|       |
 3216|    194|    if (PyObject_GetOptionalAttr(v, name, &x) != 0) {
  ------------------
  |  Branch (3216:9): [True: 193, False: 1]
  ------------------
 3217|    193|        return x;
 3218|    193|    }
 3219|       |    /* Issue #17636: in case this failed because of a circular relative
 3220|       |       import, try to fallback on reading the module directly from
 3221|       |       sys.modules. */
 3222|      1|    if (PyObject_GetOptionalAttr(v, &_Py_ID(__name__), &mod_name) < 0) {
  ------------------
  |  |  951|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3222:9): [True: 0, False: 1]
  ------------------
 3223|      0|        return NULL;
 3224|      0|    }
 3225|      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 (3225:9): [True: 0, False: 1]
  |  Branch (3225:29): [True: 0, False: 1]
  ------------------
 3226|      0|        Py_CLEAR(mod_name);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3227|      0|        goto error;
 3228|      0|    }
 3229|      1|    fullmodname = PyUnicode_FromFormat("%U.%U", mod_name, name);
 3230|      1|    if (fullmodname == NULL) {
  ------------------
  |  Branch (3230:9): [True: 0, False: 1]
  ------------------
 3231|      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); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 3232|      0|        return NULL;
 3233|      0|    }
 3234|      1|    x = PyImport_GetModule(fullmodname);
 3235|      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); \
  |  |  ------------------
  |  |  |  |  109|      1|    do { \
  |  |  |  |  110|      1|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      1|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      1|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115: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]
  |  |  ------------------
  ------------------
 3236|      1|    if (x == NULL && !_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3236:9): [True: 1, False: 0]
  |  Branch (3236:22): [True: 1, False: 0]
  ------------------
 3237|      1|        goto error;
 3238|      1|    }
 3239|      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); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 3240|      0|    return x;
 3241|       |
 3242|      1| error:
 3243|      1|    if (mod_name == NULL) {
  ------------------
  |  Branch (3243:9): [True: 0, False: 1]
  ------------------
 3244|      0|        mod_name_or_unknown = PyUnicode_FromString("<unknown module name>");
 3245|      0|        if (mod_name_or_unknown == NULL) {
  ------------------
  |  Branch (3245:13): [True: 0, False: 0]
  ------------------
 3246|      0|            return NULL;
 3247|      0|        }
 3248|      1|    } else {
 3249|      1|        mod_name_or_unknown = mod_name;
 3250|      1|    }
 3251|       |    // mod_name is no longer an owned reference
 3252|      1|    assert(mod_name_or_unknown);
  ------------------
  |  Branch (3252:5): [True: 1, False: 0]
  ------------------
 3253|      1|    assert(mod_name == NULL || mod_name == mod_name_or_unknown);
  ------------------
  |  Branch (3253:5): [True: 0, False: 1]
  |  Branch (3253:5): [True: 1, False: 0]
  ------------------
 3254|       |
 3255|      1|    origin = NULL;
 3256|      1|    if (PyObject_GetOptionalAttr(v, &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  951|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3256:9): [True: 0, False: 1]
  ------------------
 3257|      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); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 3258|      0|        return NULL;
 3259|      0|    }
 3260|      1|    if (spec == NULL) {
  ------------------
  |  Branch (3260:9): [True: 0, False: 1]
  ------------------
 3261|      0|        errmsg = PyUnicode_FromFormat(
 3262|      0|            "cannot import name %R from %R (unknown location)",
 3263|      0|            name, mod_name_or_unknown
 3264|      0|        );
 3265|      0|        goto done_with_errmsg;
 3266|      0|    }
 3267|      1|    if (_PyModuleSpec_GetFileOrigin(spec, &origin) < 0) {
  ------------------
  |  Branch (3267:9): [True: 0, False: 1]
  ------------------
 3268|      0|        goto done;
 3269|      0|    }
 3270|       |
 3271|      1|    int is_possibly_shadowing = _PyModule_IsPossiblyShadowing(origin);
 3272|      1|    if (is_possibly_shadowing < 0) {
  ------------------
  |  Branch (3272:9): [True: 0, False: 1]
  ------------------
 3273|      0|        goto done;
 3274|      0|    }
 3275|      1|    int is_possibly_shadowing_stdlib = 0;
 3276|      1|    if (is_possibly_shadowing) {
  ------------------
  |  Branch (3276:9): [True: 0, False: 1]
  ------------------
 3277|      0|        PyObject *stdlib_modules;
 3278|      0|        if (PySys_GetOptionalAttrString("stdlib_module_names", &stdlib_modules) < 0) {
  ------------------
  |  Branch (3278:13): [True: 0, False: 0]
  ------------------
 3279|      0|            goto done;
 3280|      0|        }
 3281|      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 (3281:13): [True: 0, False: 0]
  ------------------
 3282|      0|            is_possibly_shadowing_stdlib = PySet_Contains(stdlib_modules, mod_name_or_unknown);
 3283|      0|            if (is_possibly_shadowing_stdlib < 0) {
  ------------------
  |  Branch (3283:17): [True: 0, False: 0]
  ------------------
 3284|      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); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 3285|      0|                goto done;
 3286|      0|            }
 3287|      0|        }
 3288|      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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 3289|      0|    }
 3290|       |
 3291|      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 (3291:9): [True: 1, False: 0]
  ------------------
 3292|       |        // Fall back to __file__ for diagnostics if we don't have
 3293|       |        // an origin that is a location
 3294|      1|        origin = PyModule_GetFilenameObject(v);
 3295|      1|        if (origin == NULL) {
  ------------------
  |  Branch (3295:13): [True: 1, False: 0]
  ------------------
 3296|      1|            if (!PyErr_ExceptionMatches(PyExc_SystemError)) {
  ------------------
  |  Branch (3296:17): [True: 0, False: 1]
  ------------------
 3297|      0|                goto done;
 3298|      0|            }
 3299|       |            // PyModule_GetFilenameObject raised "module filename missing"
 3300|      1|            _PyErr_Clear(tstate);
 3301|      1|        }
 3302|      1|        assert(origin == NULL || PyUnicode_Check(origin));
  ------------------
  |  Branch (3302:9): [True: 1, False: 0]
  |  Branch (3302:9): [True: 0, False: 0]
  ------------------
 3303|      1|    }
 3304|       |
 3305|      1|    if (is_possibly_shadowing_stdlib) {
  ------------------
  |  Branch (3305:9): [True: 0, False: 1]
  ------------------
 3306|      0|        assert(origin);
  ------------------
  |  Branch (3306:9): [True: 0, False: 0]
  ------------------
 3307|      0|        errmsg = PyUnicode_FromFormat(
 3308|      0|            "cannot import name %R from %R "
 3309|      0|            "(consider renaming %R since it has the same "
 3310|      0|            "name as the standard library module named %R "
 3311|      0|            "and prevents importing that standard library module)",
 3312|      0|            name, mod_name_or_unknown, origin, mod_name_or_unknown
 3313|      0|        );
 3314|      0|    }
 3315|      1|    else {
 3316|      1|        int rc = _PyModuleSpec_IsInitializing(spec);
 3317|      1|        if (rc < 0) {
  ------------------
  |  Branch (3317:13): [True: 0, False: 1]
  ------------------
 3318|      0|            goto done;
 3319|      0|        }
 3320|      1|        else if (rc > 0) {
  ------------------
  |  Branch (3320:18): [True: 0, False: 1]
  ------------------
 3321|      0|            if (is_possibly_shadowing) {
  ------------------
  |  Branch (3321:17): [True: 0, False: 0]
  ------------------
 3322|      0|                assert(origin);
  ------------------
  |  Branch (3322:17): [True: 0, False: 0]
  ------------------
 3323|       |                // For non-stdlib modules, only mention the possibility of
 3324|       |                // shadowing if the module is being initialized.
 3325|      0|                errmsg = PyUnicode_FromFormat(
 3326|      0|                    "cannot import name %R from %R "
 3327|      0|                    "(consider renaming %R if it has the same name "
 3328|      0|                    "as a library you intended to import)",
 3329|      0|                    name, mod_name_or_unknown, origin
 3330|      0|                );
 3331|      0|            }
 3332|      0|            else if (origin) {
  ------------------
  |  Branch (3332:22): [True: 0, False: 0]
  ------------------
 3333|      0|                errmsg = PyUnicode_FromFormat(
 3334|      0|                    "cannot import name %R from partially initialized module %R "
 3335|      0|                    "(most likely due to a circular import) (%S)",
 3336|      0|                    name, mod_name_or_unknown, origin
 3337|      0|                );
 3338|      0|            }
 3339|      0|            else {
 3340|      0|                errmsg = PyUnicode_FromFormat(
 3341|      0|                    "cannot import name %R from partially initialized module %R "
 3342|      0|                    "(most likely due to a circular import)",
 3343|      0|                    name, mod_name_or_unknown
 3344|      0|                );
 3345|      0|            }
 3346|      0|        }
 3347|      1|        else {
 3348|      1|            assert(rc == 0);
  ------------------
  |  Branch (3348:13): [True: 1, False: 0]
  ------------------
 3349|      1|            if (origin) {
  ------------------
  |  Branch (3349:17): [True: 0, False: 1]
  ------------------
 3350|      0|                errmsg = PyUnicode_FromFormat(
 3351|      0|                    "cannot import name %R from %R (%S)",
 3352|      0|                    name, mod_name_or_unknown, origin
 3353|      0|                );
 3354|      0|            }
 3355|      1|            else {
 3356|      1|                errmsg = PyUnicode_FromFormat(
 3357|      1|                    "cannot import name %R from %R (unknown location)",
 3358|      1|                    name, mod_name_or_unknown
 3359|      1|                );
 3360|      1|            }
 3361|      1|        }
 3362|      1|    }
 3363|       |
 3364|      1|done_with_errmsg:
 3365|      1|    if (errmsg != NULL) {
  ------------------
  |  Branch (3365:9): [True: 1, False: 0]
  ------------------
 3366|       |        /* NULL checks for mod_name and origin done by _PyErr_SetImportErrorWithNameFrom */
 3367|      1|        _PyErr_SetImportErrorWithNameFrom(errmsg, mod_name, origin, name);
 3368|      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); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 3369|      1|    }
 3370|       |
 3371|      1|done:
 3372|      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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 3373|      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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 3374|      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); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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|       |    return NULL;
 3376|      1|}
_PyEval_CheckExceptTypeValid:
 3386|    308|{
 3387|    308|    if (PyTuple_Check(right)) {
  ------------------
  |  |   27|    308|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    308|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 14, False: 294]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3388|     14|        Py_ssize_t i, length;
 3389|     14|        length = PyTuple_GET_SIZE(right);
  ------------------
  |  |   27|     14|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3390|     42|        for (i = 0; i < length; i++) {
  ------------------
  |  Branch (3390:21): [True: 28, False: 14]
  ------------------
 3391|     28|            PyObject *exc = PyTuple_GET_ITEM(right, i);
  ------------------
  |  |   29|     28|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     28|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3391:29): [True: 28, False: 0]
  ------------------
 3392|     28|            if (!PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|     28|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|     56|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 28, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|     28|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|     28|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 28, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3393|      0|                _PyErr_SetString(tstate, PyExc_TypeError,
 3394|      0|                    CANNOT_CATCH_MSG);
  ------------------
  |  | 3378|      0|#define CANNOT_CATCH_MSG "catching classes that do not inherit from "\
  |  | 3379|      0|                         "BaseException is not allowed"
  ------------------
 3395|      0|                return -1;
 3396|      0|            }
 3397|     28|        }
 3398|     14|    }
 3399|    294|    else {
 3400|    294|        if (!PyExceptionClass_Check(right)) {
  ------------------
  |  |   61|    294|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|    588|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    294|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    294|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 294, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|    294|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|    294|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 294, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3401|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3402|      0|                CANNOT_CATCH_MSG);
  ------------------
  |  | 3378|      0|#define CANNOT_CATCH_MSG "catching classes that do not inherit from "\
  |  | 3379|      0|                         "BaseException is not allowed"
  ------------------
 3403|      0|            return -1;
 3404|      0|        }
 3405|    294|    }
 3406|    308|    return 0;
 3407|    308|}
_Py_Check_ArgsIterable:
 3448|     37|{
 3449|     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 (3449:9): [True: 0, False: 37]
  |  Branch (3449:43): [True: 0, False: 0]
  ------------------
 3450|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 3451|      0|                      "Value after * must be an iterable, not %.200s",
 3452|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3453|      0|        return -1;
 3454|      0|    }
 3455|     37|    return 0;
 3456|     37|}
Py_EnterRecursiveCall:
 3592|    122|{
 3593|    122|    return _Py_EnterRecursiveCall(where);
 3594|    122|}
Py_LeaveRecursiveCall:
 3597|    103|{
 3598|    103|    _Py_LeaveRecursiveCall();
 3599|    103|}
_PyEval_LoadGlobalStackRef:
 3642|  4.94k|{
 3643|  4.94k|    PyObject *namespace = globals;
 3644|  4.94k|    if (PyAnyDict_CheckExact(globals) && PyAnyDict_CheckExact(builtins)) {
  ------------------
  |  |   41|  9.89k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  4.94k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  9.89k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  4.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 4.94k, 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|  4.94k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  4.94k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  9.89k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  4.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 4.94k, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3645|  4.94k|        namespace = _PyDict_LoadGlobalStackRef((PyDictObject *)globals,
 3646|  4.94k|                                             (PyDictObject *)builtins,
 3647|  4.94k|                                             name, writeto);
 3648|  4.94k|        if (PyStackRef_IsNull(*writeto) && !PyErr_Occurred()) {
  ------------------
  |  |  482|  9.89k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  4.94k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  4.94k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 4.94k]
  |  |  ------------------
  ------------------
  |  Branch (3648:44): [True: 0, False: 0]
  ------------------
 3649|       |            // A missing key does not set an exception in the dictionary helper.
 3650|      0|            _PyEval_FormatExcCheckArg(PyThreadState_GET(), PyExc_NameError,
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 3651|      0|                                        NAME_ERROR_MSG, name);
  ------------------
  |  |  405|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 3652|      0|        }
 3653|  4.94k|    }
 3654|      0|    else {
 3655|       |        /* Slow-path if globals or builtins is not a dict */
 3656|       |        /* namespace 1: globals */
 3657|      0|        PyObject *res;
 3658|      0|        if (PyMapping_GetOptionalItem(globals, name, &res) < 0) {
  ------------------
  |  Branch (3658:13): [True: 0, False: 0]
  ------------------
 3659|      0|            *writeto = PyStackRef_NULL;
 3660|      0|            return;
 3661|      0|        }
 3662|      0|        if (res == NULL) {
  ------------------
  |  Branch (3662:13): [True: 0, False: 0]
  ------------------
 3663|       |            /* namespace 2: builtins */
 3664|      0|            namespace = builtins;
 3665|      0|            if (PyMapping_GetOptionalItem(builtins, name, &res) < 0) {
  ------------------
  |  Branch (3665:17): [True: 0, False: 0]
  ------------------
 3666|      0|                *writeto = PyStackRef_NULL;
 3667|      0|                return;
 3668|      0|            }
 3669|      0|            if (res == NULL) {
  ------------------
  |  Branch (3669:17): [True: 0, False: 0]
  ------------------
 3670|      0|                _PyEval_FormatExcCheckArg(
 3671|      0|                            PyThreadState_GET(), PyExc_NameError,
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 3672|      0|                            NAME_ERROR_MSG, name);
  ------------------
  |  |  405|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 3673|      0|                *writeto = PyStackRef_NULL;
 3674|      0|                return;
 3675|      0|            }
 3676|      0|        }
 3677|      0|        *writeto = PyStackRef_FromPyObjectSteal(res);
 3678|      0|    }
 3679|       |
 3680|  4.94k|    PyObject *res_o = PyStackRef_AsPyObjectBorrow(*writeto);
 3681|  4.94k|    if (res_o != NULL && PyLazyImport_CheckExact(res_o)) {
  ------------------
  |  |   15|  4.94k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |   65|  4.94k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 4.94k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3681:9): [True: 4.94k, False: 0]
  ------------------
 3682|      0|        PyObject *l_v = _PyLazyImport_Reify(
 3683|      0|            PyThreadState_GET(), res_o, name, namespace);
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 3684|      0|        PyStackRef_CLOSE(writeto[0]);
 3685|      0|        *writeto = l_v == NULL ? PyStackRef_NULL : PyStackRef_FromPyObjectSteal(l_v);
  ------------------
  |  Branch (3685:20): [True: 0, False: 0]
  ------------------
 3686|      0|    }
 3687|  4.94k|}
_PyEval_LoadName:
 3715|  3.80k|{
 3716|  3.80k|    PyObject *value;
 3717|  3.80k|    PyObject *namespace = frame->f_locals;
 3718|  3.80k|    if (namespace == NULL) {
  ------------------
  |  Branch (3718:9): [True: 0, False: 3.80k]
  ------------------
 3719|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 3720|      0|                            "no locals found");
 3721|      0|        return NULL;
 3722|      0|    }
 3723|  3.80k|    if (PyMapping_GetOptionalItem(namespace, name, &value) < 0) {
  ------------------
  |  Branch (3723:9): [True: 0, False: 3.80k]
  ------------------
 3724|      0|        return NULL;
 3725|      0|    }
 3726|  3.80k|    if (value != NULL) {
  ------------------
  |  Branch (3726:9): [True: 2.77k, False: 1.03k]
  ------------------
 3727|  2.77k|        goto found;
 3728|  2.77k|    }
 3729|  1.03k|    namespace = frame->f_globals;
 3730|  1.03k|    if (PyDict_GetItemRef(namespace, name, &value) < 0) {
  ------------------
  |  Branch (3730:9): [True: 0, False: 1.03k]
  ------------------
 3731|      0|        return NULL;
 3732|      0|    }
 3733|  1.03k|    if (value != NULL) {
  ------------------
  |  Branch (3733:9): [True: 384, False: 647]
  ------------------
 3734|    384|        goto found;
 3735|    384|    }
 3736|    647|    namespace = frame->f_builtins;
 3737|    647|    if (PyMapping_GetOptionalItem(namespace, name, &value) < 0) {
  ------------------
  |  Branch (3737:9): [True: 0, False: 647]
  ------------------
 3738|      0|        return NULL;
 3739|      0|    }
 3740|    647|    if (value == NULL) {
  ------------------
  |  Branch (3740:9): [True: 0, False: 647]
  ------------------
 3741|      0|        _PyEval_FormatExcCheckArg(
 3742|      0|                    tstate, PyExc_NameError,
 3743|      0|                            NAME_ERROR_MSG, name);
  ------------------
  |  |  405|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 3744|      0|        return NULL;
 3745|      0|    }
 3746|  3.80k|found:
 3747|  3.80k|    if (PyLazyImport_CheckExact(value)) {
  ------------------
  |  |   15|  3.80k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |   65|  3.80k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 3.80k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3748|       |        Py_SETREF(value, _PyLazyImport_Reify(tstate, value, name, namespace));
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3749|      0|    }
 3750|  3.80k|    return value;
 3751|    647|}
_PyForIter_VirtualIteratorNext:
 3754|    836|{
 3755|    836|    PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
 3756|    836|    _PyStackRef index = *index_ptr;
 3757|    836|    if (PyStackRef_IsTaggedInt(index)) {
  ------------------
  |  Branch (3757:9): [True: 129, False: 707]
  ------------------
 3758|    129|        intptr_t i = PyStackRef_UntagInt(index);
 3759|    129|        assert(i >= 0);
  ------------------
  |  Branch (3759:9): [True: 129, False: 0]
  ------------------
 3760|    129|        _PyObjectIndexPair next_index = Py_TYPE(iter_o)->_tp_iteritem(iter_o, i);
  ------------------
  |  |  213|    129|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    129|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    129|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3761|    129|        i = next_index.index;
 3762|    129|        PyObject *next = next_index.object;
 3763|    129|        if (next == NULL) {
  ------------------
  |  Branch (3763:13): [True: 20, False: 109]
  ------------------
 3764|     20|            return i < 0 ? PyStackRef_ERROR : PyStackRef_NULL;
  ------------------
  |  Branch (3764:20): [True: 0, False: 20]
  ------------------
 3765|     20|        }
 3766|    109|        *index_ptr = PyStackRef_TagInt(i);
 3767|    109|        return PyStackRef_FromPyObjectSteal(next);
 3768|    129|    }
 3769|    707|    PyObject *next = (*Py_TYPE(iter_o)->tp_iternext)(iter_o);
  ------------------
  |  |  213|    707|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    707|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    707|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3770|    707|    if (next == NULL) {
  ------------------
  |  Branch (3770:9): [True: 123, False: 584]
  ------------------
 3771|    123|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3771:13): [True: 0, False: 123]
  ------------------
 3772|      0|            if (_PyErr_ExceptionMatches(tstate, PyExc_StopIteration)) {
  ------------------
  |  Branch (3772:17): [True: 0, False: 0]
  ------------------
 3773|      0|                _PyEval_MonitorRaise(tstate, frame, frame->instr_ptr);
 3774|      0|                _PyErr_Clear(tstate);
 3775|      0|            }
 3776|      0|            else {
 3777|      0|                return PyStackRef_ERROR;
 3778|      0|            }
 3779|      0|        }
 3780|    123|        return PyStackRef_NULL;
 3781|    123|    }
 3782|    584|    return PyStackRef_FromPyObjectSteal(next);
 3783|    707|}
ceval.c:hardware_stack_limits:
   75|      2|{
   76|       |#ifdef WIN32
   77|       |    ULONG_PTR low, high;
   78|       |    GetCurrentThreadStackLimits(&low, &high);
   79|       |    *top = (uintptr_t)high;
   80|       |    ULONG guarantee = 0;
   81|       |#ifdef MS_WINDOWS_DESKTOP
   82|       |    SetThreadStackGuarantee(&guarantee);
   83|       |#endif
   84|       |    *base = (uintptr_t)low + guarantee;
   85|       |#elif defined(__APPLE__)
   86|       |    pthread_t this_thread = pthread_self();
   87|       |    void *stack_addr = pthread_get_stackaddr_np(this_thread); // top of the stack
   88|       |    size_t stack_size = pthread_get_stacksize_np(this_thread);
   89|       |    *top = (uintptr_t)stack_addr;
   90|       |    *base = ((uintptr_t)stack_addr) - stack_size;
   91|       |#else
   92|       |    // musl supports HAVE_PTHREAD_GETATTR_NP, but the resulting stack size
   93|       |    // (on alpine at least) is much smaller than expected and imposes undue
   94|       |    // limits compared to the old stack size estimation. musl doesn't give
   95|       |    // us a way to detect it, so we have to assume any non-glibc,
   96|       |    // non-Android Linux is musl and mustn't rely on pthread_getattr_np.
   97|      2|#  if (defined(HAVE_PTHREAD_GETATTR_NP) || defined(_Py_HAVE_PTHREAD_ATTR_GET_NP)) \
   98|      2|        && !defined(_AIX) && !defined(__NetBSD__) \
   99|      2|        && (defined(__GLIBC__) || defined(__ANDROID__) || !defined(__linux__))
  100|      2|    size_t stack_size, guard_size;
  101|      2|    void *stack_addr;
  102|      2|    pthread_attr_t attr;
  103|       |
  104|      2|    int err = pthread_attr_init(&attr);
  105|       |#ifdef _Py_HAVE_PTHREAD_ATTR_GET_NP
  106|       |    err |= pthread_attr_get_np(pthread_self(), &attr);
  107|       |#else
  108|      2|    err |= pthread_getattr_np(pthread_self(), &attr);
  109|      2|#endif
  110|      2|    if (err == 0) {
  ------------------
  |  Branch (110:9): [True: 2, False: 0]
  ------------------
  111|      2|        err = pthread_attr_getguardsize(&attr, &guard_size);
  112|      2|        err |= pthread_attr_getstack(&attr, &stack_addr, &stack_size);
  113|      2|        err |= pthread_attr_destroy(&attr);
  114|      2|    }
  115|      2|    if (err == 0) {
  ------------------
  |  Branch (115:9): [True: 2, False: 0]
  ------------------
  116|      2|        *base = ((uintptr_t)stack_addr) + guard_size;
  117|      2|        *top = (uintptr_t)stack_addr + stack_size;
  118|      2|        return;
  119|      2|    }
  120|      0|#  endif
  121|       |
  122|       |    // Add some space for caller function then round to minimum page size
  123|       |    // This is a guess at the top of the stack, but should be a reasonably
  124|       |    // good guess if called from _PyThreadState_Attach when creating a thread.
  125|       |    // If the thread is attached deep in a call stack, then the guess will be poor.
  126|      0|#if _Py_STACK_GROWS_DOWN
  127|      0|    uintptr_t top_addr = _Py_SIZE_ROUND_UP(sp + 8*sizeof(void*), SYSTEM_PAGE_SIZE);
  ------------------
  |  |  249|      0|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  250|      0|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  128|      0|    *top = top_addr;
  129|      0|    *base = top_addr - Py_C_STACK_SIZE;
  ------------------
  |  |   70|      0|#  define Py_C_STACK_SIZE 4000000
  ------------------
  130|       |#  else
  131|       |    uintptr_t base_addr = _Py_SIZE_ROUND_DOWN(sp - 8*sizeof(void*), SYSTEM_PAGE_SIZE);
  132|       |    *base = base_addr;
  133|       |    *top = base_addr + Py_C_STACK_SIZE;
  134|       |#endif
  135|      0|#endif
  136|      0|}
ceval.c:tstate_set_stack:
  141|      2|{
  142|      2|    assert(base < top);
  ------------------
  |  Branch (142:5): [True: 2, False: 0]
  ------------------
  143|      2|    assert((top - base) >= _PyOS_MIN_STACK_SIZE);
  ------------------
  |  Branch (143:5): [True: 2, False: 0]
  ------------------
  144|       |
  145|       |#ifdef _Py_THREAD_SANITIZER
  146|       |    // Thread sanitizer crashes if we use more than half the stack.
  147|       |    uintptr_t stacksize = top - base;
  148|       |#  if _Py_STACK_GROWS_DOWN
  149|       |    base += stacksize/2;
  150|       |#  else
  151|       |    top -= stacksize/2;
  152|       |#  endif
  153|       |#endif
  154|      2|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  155|      2|#if _Py_STACK_GROWS_DOWN
  156|      2|    _tstate->c_stack_top = top;
  157|      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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  158|      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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  159|      2|#  ifndef NDEBUG
  160|       |    // Sanity checks
  161|      2|    _PyThreadStateImpl *ts = (_PyThreadStateImpl *)tstate;
  162|      2|    assert(ts->c_stack_hard_limit <= ts->c_stack_soft_limit);
  ------------------
  |  Branch (162:5): [True: 2, False: 0]
  ------------------
  163|      2|    assert(ts->c_stack_soft_limit < ts->c_stack_top);
  ------------------
  |  Branch (163:5): [True: 2, False: 0]
  ------------------
  164|      2|#  endif
  165|       |#else
  166|       |    _tstate->c_stack_top = base;
  167|       |    _tstate->c_stack_hard_limit = top - _PyOS_STACK_MARGIN_BYTES;
  168|       |    _tstate->c_stack_soft_limit = top - _PyOS_STACK_MARGIN_BYTES * 2;
  169|       |#  ifndef NDEBUG
  170|       |    // Sanity checks
  171|       |    _PyThreadStateImpl *ts = (_PyThreadStateImpl *)tstate;
  172|       |    assert(ts->c_stack_hard_limit >= ts->c_stack_soft_limit);
  173|       |    assert(ts->c_stack_soft_limit > ts->c_stack_top);
  174|       |#  endif
  175|       |#endif
  176|      2|}
ceval.c:clear_thread_frame:
 2010|  8.33k|{
 2011|  8.33k|    assert(frame->owner == FRAME_OWNED_BY_THREAD);
  ------------------
  |  Branch (2011:5): [True: 8.33k, False: 0]
  ------------------
 2012|       |    // Make sure that this is, indeed, the top frame. We can't check this in
 2013|       |    // _PyThreadState_PopFrame, since f_code is already cleared at that point:
 2014|  8.33k|    assert((PyObject **)frame + _PyFrame_GetCode(frame)->co_framesize ==
  ------------------
  |  Branch (2014:5): [True: 8.33k, False: 0]
  ------------------
 2015|  8.33k|        tstate->datastack_top);
 2016|  8.33k|    assert(frame->frame_obj == NULL || frame->frame_obj->f_frame == frame);
  ------------------
  |  Branch (2016:5): [True: 7.91k, False: 423]
  |  Branch (2016:5): [True: 423, False: 0]
  ------------------
 2017|  8.33k|    _PyFrame_ClearExceptCode(frame);
 2018|  8.33k|    PyStackRef_CLEAR(frame->f_executable);
  ------------------
  |  |  732|  8.33k|    do { \
  |  |  733|  8.33k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  8.33k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  8.33k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  8.33k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  8.33k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 8.33k]
  |  |  ------------------
  ------------------
 2019|  8.33k|    _PyThreadState_PopFrame(tstate, frame);
 2020|  8.33k|}
ceval.c:clear_gen_frame:
 2024|    101|{
 2025|    101|    assert(frame->owner == FRAME_OWNED_BY_GENERATOR);
  ------------------
  |  Branch (2025:5): [True: 101, False: 0]
  ------------------
 2026|    101|    PyGenObject *gen = _PyGen_GetGeneratorFromFrame(frame);
 2027|    101|    FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_CLEARED);
  ------------------
  |  |  169|    101|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  ------------------
 2028|    101|    assert(tstate->exc_info == &gen->gi_exc_state);
  ------------------
  |  Branch (2028:5): [True: 101, False: 0]
  ------------------
 2029|    101|    tstate->exc_info = gen->gi_exc_state.previous_item;
 2030|    101|    gen->gi_exc_state.previous_item = NULL;
 2031|    101|    frame->previous = NULL;
 2032|    101|    Py_BEGIN_CRITICAL_SECTION(gen);
  ------------------
  |  |   51|    101|    {
  ------------------
 2033|    101|    assert(frame->frame_obj == NULL || frame->frame_obj->f_frame == frame);
  ------------------
  |  Branch (2033:5): [True: 101, False: 0]
  |  Branch (2033:5): [True: 0, False: 0]
  ------------------
 2034|    101|    _PyFrame_ClearExceptCode(frame);
 2035|    101|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    101|    }
  ------------------
 2036|    101|    _PyErr_ClearExcState(&gen->gi_exc_state);
 2037|       |    // gh-143939: There must not be any escaping calls between setting
 2038|       |    // the generator return kind and returning from _PyEval_EvalFrame.
 2039|    101|    ((_PyThreadStateImpl *)tstate)->generator_return_kind = GENERATOR_RETURN;
 2040|    101|}
ceval.c:initialize_locals:
 1752|  4.83k|{
 1753|  4.83k|    PyCodeObject *co = (PyCodeObject*)func->func_code;
 1754|  4.83k|    const Py_ssize_t total_args = co->co_argcount + co->co_kwonlyargcount;
 1755|       |    /* Create a dictionary for keyword parameters (**kwags) */
 1756|  4.83k|    PyObject *kwdict;
 1757|  4.83k|    Py_ssize_t i;
 1758|  4.83k|    PyObject *first_argument = NULL;
 1759|  4.83k|    if (co->co_flags & CO_VARKEYWORDS) {
  ------------------
  |  |  125|  4.83k|#define CO_VARKEYWORDS  0x0008
  ------------------
  |  Branch (1759:9): [True: 421, False: 4.41k]
  ------------------
 1760|    421|        kwdict = PyDict_New();
 1761|    421|        if (kwdict == NULL) {
  ------------------
  |  Branch (1761:13): [True: 0, False: 421]
  ------------------
 1762|      0|            goto fail_pre_positional;
 1763|      0|        }
 1764|    421|        i = total_args;
 1765|    421|        if (co->co_flags & CO_VARARGS) {
  ------------------
  |  |  124|    421|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1765:13): [True: 332, False: 89]
  ------------------
 1766|    332|            i++;
 1767|    332|        }
 1768|    421|        assert(PyStackRef_IsNull(localsplus[i]));
  ------------------
  |  Branch (1768:9): [True: 421, False: 0]
  ------------------
 1769|    421|        localsplus[i] = PyStackRef_FromPyObjectSteal(kwdict);
 1770|    421|    }
 1771|  4.41k|    else {
 1772|  4.41k|        kwdict = NULL;
 1773|  4.41k|    }
 1774|       |
 1775|  4.83k|    if (argcount > co->co_argcount && !(co->co_flags & CO_VARARGS)) {
  ------------------
  |  |  124|  1.14k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1775:9): [True: 1.14k, False: 3.69k]
  |  Branch (1775:39): [True: 0, False: 1.14k]
  ------------------
 1776|      0|        first_argument = PyStackRef_AsPyObjectNew(args[0]);
  ------------------
  |  |  757|      0|#define PyStackRef_AsPyObjectNew(stackref) Py_NewRef(PyStackRef_AsPyObjectBorrow(stackref))
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1777|      0|    }
 1778|       |
 1779|       |    /* Copy all positional arguments into local variables */
 1780|  4.83k|    Py_ssize_t j, n;
 1781|  4.83k|    if (argcount > co->co_argcount) {
  ------------------
  |  Branch (1781:9): [True: 1.14k, False: 3.69k]
  ------------------
 1782|  1.14k|        n = co->co_argcount;
 1783|  1.14k|    }
 1784|  3.69k|    else {
 1785|  3.69k|        n = argcount;
 1786|  3.69k|    }
 1787|  12.8k|    for (j = 0; j < n; j++) {
  ------------------
  |  Branch (1787:17): [True: 8.02k, False: 4.83k]
  ------------------
 1788|  8.02k|        assert(PyStackRef_IsNull(localsplus[j]));
  ------------------
  |  Branch (1788:9): [True: 8.02k, False: 0]
  ------------------
 1789|  8.02k|        localsplus[j] = args[j];
 1790|  8.02k|    }
 1791|       |
 1792|       |    /* Pack other positional arguments into the *args argument */
 1793|  4.83k|    if (co->co_flags & CO_VARARGS) {
  ------------------
  |  |  124|  4.83k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1793:9): [True: 1.18k, False: 3.65k]
  ------------------
 1794|  1.18k|        PyObject *u = NULL;
 1795|  1.18k|        if (argcount == n) {
  ------------------
  |  Branch (1795:13): [True: 37, False: 1.14k]
  ------------------
 1796|     37|            u = (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|     37|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|     37|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 1797|     37|        }
 1798|  1.14k|        else {
 1799|  1.14k|            u = _PyTuple_FromStackRefStealOnSuccess(args + n, argcount - n);
 1800|  1.14k|            if (u == NULL) {
  ------------------
  |  Branch (1800:17): [True: 0, False: 1.14k]
  ------------------
 1801|      0|                for (Py_ssize_t i = n; i < argcount; i++) {
  ------------------
  |  Branch (1801:40): [True: 0, False: 0]
  ------------------
 1802|      0|                    PyStackRef_CLOSE(args[i]);
 1803|      0|                }
 1804|      0|            }
 1805|  1.14k|        }
 1806|  1.18k|        if (u == NULL) {
  ------------------
  |  Branch (1806:13): [True: 0, False: 1.18k]
  ------------------
 1807|      0|            goto fail_post_positional;
 1808|      0|        }
 1809|  1.18k|        assert(PyStackRef_AsPyObjectBorrow(localsplus[total_args]) == NULL);
  ------------------
  |  Branch (1809:9): [True: 1.18k, False: 0]
  ------------------
 1810|  1.18k|        localsplus[total_args] = PyStackRef_FromPyObjectSteal(u);
 1811|  1.18k|    }
 1812|  3.65k|    else if (argcount > n) {
  ------------------
  |  Branch (1812:14): [True: 0, False: 3.65k]
  ------------------
 1813|       |        /* Too many positional args. Error is reported later */
 1814|      0|        for (j = n; j < argcount; j++) {
  ------------------
  |  Branch (1814:21): [True: 0, False: 0]
  ------------------
 1815|      0|            PyStackRef_CLOSE(args[j]);
 1816|      0|        }
 1817|      0|    }
 1818|       |
 1819|       |    /* Handle keyword arguments */
 1820|  4.83k|    if (kwnames != NULL) {
  ------------------
  |  Branch (1820:9): [True: 596, False: 4.24k]
  ------------------
 1821|    596|        Py_ssize_t kwcount = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|    596|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    596|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    596|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1822|  1.36k|        for (i = 0; i < kwcount; i++) {
  ------------------
  |  Branch (1822:21): [True: 773, False: 596]
  ------------------
 1823|    773|            PyObject **co_varnames;
 1824|    773|            PyObject *keyword = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   29|    773|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    773|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    773|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1824:33): [True: 773, False: 0]
  ------------------
 1825|      0|            _PyStackRef value_stackref = args[i+argcount];
 1826|    773|            Py_ssize_t j;
 1827|       |
 1828|    773|            if (keyword == NULL || !PyUnicode_Check(keyword)) {
  ------------------
  |  |  103|    773|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    773|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1828:17): [True: 0, False: 773]
  |  Branch (1828:36): [True: 0, False: 773]
  ------------------
 1829|      0|                _PyErr_Format(tstate, PyExc_TypeError,
 1830|      0|                              "%U() keywords must be strings",
 1831|      0|                              FT_ATOMIC_LOAD_PTR_ACQUIRE(func->func_qualname));
  ------------------
  |  |  152|      0|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1832|      0|                goto kw_fail;
 1833|      0|            }
 1834|       |
 1835|       |            /* Speed hack: do raw pointer compares. As names are
 1836|       |            normally interned this should almost always hit. */
 1837|    773|            co_varnames = ((PyTupleObject *)(co->co_localsplusnames))->ob_item;
 1838|  2.42k|            for (j = co->co_posonlyargcount; j < total_args; j++) {
  ------------------
  |  Branch (1838:46): [True: 2.41k, False: 2]
  ------------------
 1839|  2.41k|                PyObject *varname = co_varnames[j];
 1840|  2.41k|                if (varname == keyword) {
  ------------------
  |  Branch (1840:21): [True: 771, False: 1.64k]
  ------------------
 1841|    771|                    goto kw_found;
 1842|    771|                }
 1843|  2.41k|            }
 1844|       |
 1845|       |            /* Slow fallback, just in case */
 1846|      8|            for (j = co->co_posonlyargcount; j < total_args; j++) {
  ------------------
  |  Branch (1846:46): [True: 6, False: 2]
  ------------------
 1847|      6|                PyObject *varname = co_varnames[j];
 1848|      6|                int cmp = PyObject_RichCompareBool( keyword, varname, Py_EQ);
  ------------------
  |  |  654|      6|#define Py_EQ 2
  ------------------
 1849|      6|                if (cmp > 0) {
  ------------------
  |  Branch (1849:21): [True: 0, False: 6]
  ------------------
 1850|      0|                    goto kw_found;
 1851|      0|                }
 1852|      6|                else if (cmp < 0) {
  ------------------
  |  Branch (1852:26): [True: 0, False: 6]
  ------------------
 1853|      0|                    goto kw_fail;
 1854|      0|                }
 1855|      6|            }
 1856|       |
 1857|      2|            assert(j >= total_args);
  ------------------
  |  Branch (1857:13): [True: 2, False: 0]
  ------------------
 1858|      2|            if (kwdict == NULL) {
  ------------------
  |  Branch (1858:17): [True: 0, False: 2]
  ------------------
 1859|       |
 1860|      0|                if (co->co_posonlyargcount
  ------------------
  |  Branch (1860:21): [True: 0, False: 0]
  ------------------
 1861|      0|                    && positional_only_passed_as_keyword(tstate, co,
  ------------------
  |  Branch (1861:24): [True: 0, False: 0]
  ------------------
 1862|      0|                                                        kwcount, kwnames,
 1863|      0|                                                        func))
 1864|      0|                {
 1865|      0|                    goto kw_fail;
 1866|      0|                }
 1867|       |
 1868|      0|                PyObject* suggestion_keyword = NULL;
 1869|      0|                if (total_args > co->co_posonlyargcount) {
  ------------------
  |  Branch (1869:21): [True: 0, False: 0]
  ------------------
 1870|      0|                    PyObject* possible_keywords = PyList_New(total_args - co->co_posonlyargcount);
 1871|       |
 1872|      0|                    if (!possible_keywords) {
  ------------------
  |  Branch (1872:25): [True: 0, False: 0]
  ------------------
 1873|      0|                        PyErr_Clear();
 1874|      0|                    } else {
 1875|      0|                        for (Py_ssize_t k = co->co_posonlyargcount; k < total_args; k++) {
  ------------------
  |  Branch (1875:69): [True: 0, False: 0]
  ------------------
 1876|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1877|      0|                        }
 1878|       |
 1879|      0|                        suggestion_keyword = _Py_CalculateSuggestions(possible_keywords, keyword);
 1880|      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); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 1881|      0|                    }
 1882|      0|                }
 1883|       |
 1884|      0|                PyObject *qualname = FT_ATOMIC_LOAD_PTR_ACQUIRE(func->func_qualname);
  ------------------
  |  |  152|      0|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1885|      0|                if (suggestion_keyword) {
  ------------------
  |  Branch (1885:21): [True: 0, False: 0]
  ------------------
 1886|      0|                    _PyErr_Format(tstate, PyExc_TypeError,
 1887|      0|                                "%U() got an unexpected keyword argument '%S'. Did you mean '%S'?",
 1888|      0|                                qualname, keyword, suggestion_keyword);
 1889|      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); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 1890|      0|                } else {
 1891|      0|                    _PyErr_Format(tstate, PyExc_TypeError,
 1892|      0|                                "%U() got an unexpected keyword argument '%S'",
 1893|      0|                                qualname, keyword);
 1894|      0|                }
 1895|       |
 1896|      0|                goto kw_fail;
 1897|      0|            }
 1898|       |
 1899|      2|            if (PyDict_SetItem(kwdict, keyword, PyStackRef_AsPyObjectBorrow(value_stackref)) == -1) {
  ------------------
  |  Branch (1899:17): [True: 0, False: 2]
  ------------------
 1900|      0|                goto kw_fail;
 1901|      0|            }
 1902|      2|            PyStackRef_CLOSE(value_stackref);
 1903|      2|            continue;
 1904|       |
 1905|      0|        kw_fail:
 1906|      0|            for (;i < kwcount; i++) {
  ------------------
  |  Branch (1906:19): [True: 0, False: 0]
  ------------------
 1907|      0|                PyStackRef_CLOSE(args[i+argcount]);
 1908|      0|            }
 1909|      0|            goto fail_post_args;
 1910|       |
 1911|    771|        kw_found:
 1912|    771|            if (PyStackRef_AsPyObjectBorrow(localsplus[j]) != NULL) {
  ------------------
  |  Branch (1912:17): [True: 0, False: 771]
  ------------------
 1913|      0|                _PyErr_Format(tstate, PyExc_TypeError,
 1914|      0|                              "%U() got multiple values for argument '%S'",
 1915|      0|                              FT_ATOMIC_LOAD_PTR_ACQUIRE(func->func_qualname),
  ------------------
  |  |  152|      0|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1916|      0|                              keyword);
 1917|      0|                goto kw_fail;
 1918|      0|            }
 1919|    771|            localsplus[j] = value_stackref;
 1920|    771|        }
 1921|    596|    }
 1922|       |
 1923|       |    /* Check the number of positional arguments */
 1924|  4.83k|    if ((argcount > co->co_argcount) && !(co->co_flags & CO_VARARGS)) {
  ------------------
  |  |  124|  1.14k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1924:9): [True: 1.14k, False: 3.69k]
  |  Branch (1924:41): [True: 0, False: 1.14k]
  ------------------
 1925|      0|        int missing_self_hint = suggest_missing_self(func, co, first_argument, argcount);
 1926|      0|        too_many_positional(tstate, co, argcount, func->func_defaults, localsplus,
 1927|      0|                            FT_ATOMIC_LOAD_PTR_ACQUIRE(func->func_qualname),
  ------------------
  |  |  152|      0|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1928|      0|                            missing_self_hint);
 1929|      0|        goto fail_post_args;
 1930|      0|    }
 1931|       |
 1932|       |    /* Add missing positional arguments (copy default values from defs) */
 1933|  4.83k|    if (argcount < co->co_argcount) {
  ------------------
  |  Branch (1933:9): [True: 392, False: 4.44k]
  ------------------
 1934|    392|        Py_ssize_t defcount = func->func_defaults == NULL ? 0 : PyTuple_GET_SIZE(func->func_defaults);
  ------------------
  |  |   27|    392|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    392|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    392|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1934:31): [True: 0, False: 392]
  ------------------
 1935|    392|        Py_ssize_t m = co->co_argcount - defcount;
 1936|    392|        Py_ssize_t missing = 0;
 1937|    396|        for (i = argcount; i < m; i++) {
  ------------------
  |  Branch (1937:28): [True: 4, False: 392]
  ------------------
 1938|      4|            if (PyStackRef_IsNull(localsplus[i])) {
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1939|      0|                missing++;
 1940|      0|            }
 1941|      4|        }
 1942|    392|        if (missing) {
  ------------------
  |  Branch (1942:13): [True: 0, False: 392]
  ------------------
 1943|      0|            missing_arguments(tstate, co, missing, defcount, localsplus,
 1944|      0|                              FT_ATOMIC_LOAD_PTR_ACQUIRE(func->func_qualname));
  ------------------
  |  |  152|      0|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1945|      0|            goto fail_post_args;
 1946|      0|        }
 1947|    392|        if (n > m)
  ------------------
  |  Branch (1947:13): [True: 76, False: 316]
  ------------------
 1948|     76|            i = n - m;
 1949|    316|        else
 1950|    316|            i = 0;
 1951|    392|        if (defcount) {
  ------------------
  |  Branch (1951:13): [True: 392, False: 0]
  ------------------
 1952|    392|            PyObject **defs = &PyTuple_GET_ITEM(func->func_defaults, 0);
  ------------------
  |  |   29|    392|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    392|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    392|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1952:32): [True: 392, False: 0]
  ------------------
 1953|    902|            for (; i < defcount; i++) {
  ------------------
  |  Branch (1953:20): [True: 510, False: 392]
  ------------------
 1954|    510|                if (PyStackRef_AsPyObjectBorrow(localsplus[m+i]) == NULL) {
  ------------------
  |  Branch (1954:21): [True: 386, False: 124]
  ------------------
 1955|    386|                    PyObject *def = defs[i];
 1956|    386|                    localsplus[m+i] = PyStackRef_FromPyObjectNew(def);
  ------------------
  |  |  611|    386|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    386|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    386|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1957|    386|                }
 1958|    510|            }
 1959|    392|        }
 1960|    392|    }
 1961|       |
 1962|       |    /* Add missing keyword arguments (copy default values from kwdefs) */
 1963|  4.83k|    if (co->co_kwonlyargcount > 0) {
  ------------------
  |  Branch (1963:9): [True: 932, False: 3.90k]
  ------------------
 1964|    932|        Py_ssize_t missing = 0;
 1965|  2.27k|        for (i = co->co_argcount; i < total_args; i++) {
  ------------------
  |  Branch (1965:35): [True: 1.34k, False: 932]
  ------------------
 1966|  1.34k|            if (PyStackRef_AsPyObjectBorrow(localsplus[i]) != NULL)
  ------------------
  |  Branch (1966:17): [True: 643, False: 702]
  ------------------
 1967|    643|                continue;
 1968|    702|            PyObject *varname = PyTuple_GET_ITEM(co->co_localsplusnames, i);
  ------------------
  |  |   29|    702|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    702|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    702|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1968:33): [True: 702, False: 0]
  ------------------
 1969|    702|            if (func->func_kwdefaults != NULL) {
  ------------------
  |  Branch (1969:17): [True: 702, False: 0]
  ------------------
 1970|    702|                PyObject *def;
 1971|    702|                if (PyDict_GetItemRef(func->func_kwdefaults, varname, &def) < 0) {
  ------------------
  |  Branch (1971:21): [True: 0, False: 702]
  ------------------
 1972|      0|                    goto fail_post_args;
 1973|      0|                }
 1974|    702|                if (def) {
  ------------------
  |  Branch (1974:21): [True: 702, False: 0]
  ------------------
 1975|    702|                    localsplus[i] = PyStackRef_FromPyObjectSteal(def);
 1976|    702|                    continue;
 1977|    702|                }
 1978|    702|            }
 1979|      0|            missing++;
 1980|      0|        }
 1981|    932|        if (missing) {
  ------------------
  |  Branch (1981:13): [True: 0, False: 932]
  ------------------
 1982|      0|            missing_arguments(tstate, co, missing, -1, localsplus,
 1983|      0|                              FT_ATOMIC_LOAD_PTR_ACQUIRE(func->func_qualname));
  ------------------
  |  |  152|      0|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1984|      0|            goto fail_post_args;
 1985|      0|        }
 1986|    932|    }
 1987|  4.83k|    Py_XDECREF(first_argument);
  ------------------
  |  |   69|  4.83k|    do { \
  |  |   70|  4.83k|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|  4.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|  4.83k|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 4.83k]
  |  |  ------------------
  |  |   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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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|  4.83k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 4.83k]
  |  |  ------------------
  ------------------
 1988|  4.83k|    return 0;
 1989|       |
 1990|      0|fail_pre_positional:
 1991|      0|    for (j = 0; j < argcount; j++) {
  ------------------
  |  Branch (1991:17): [True: 0, False: 0]
  ------------------
 1992|      0|        PyStackRef_CLOSE(args[j]);
 1993|      0|    }
 1994|       |    /* fall through */
 1995|      0|fail_post_positional:
 1996|      0|    if (kwnames) {
  ------------------
  |  Branch (1996:9): [True: 0, False: 0]
  ------------------
 1997|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1998|      0|        for (j = argcount; j < argcount+kwcount; j++) {
  ------------------
  |  Branch (1998:28): [True: 0, False: 0]
  ------------------
 1999|      0|            PyStackRef_CLOSE(args[j]);
 2000|      0|        }
 2001|      0|    }
 2002|       |    /* fall through */
 2003|      0|fail_post_args:
 2004|       |    Py_XDECREF(first_argument);
  ------------------
  |  |   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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 2005|      0|    return -1;
 2006|      0|}
ceval.c:_PyEval_GetGlobals:
 2764|    161|{
 2765|    161|    _PyInterpreterFrame *current_frame = _PyThreadState_GetFrame(tstate);
 2766|    161|    if (current_frame == NULL) {
  ------------------
  |  Branch (2766:9): [True: 15, False: 146]
  ------------------
 2767|     15|        return NULL;
 2768|     15|    }
 2769|    146|    return current_frame->f_globals;
 2770|    161|}
ceval.c:get_globals_builtins:
 2797|     68|{
 2798|     68|    PyObject *builtins = NULL;
 2799|     68|    if (PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|     68|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|     68|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    136|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 68, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2800|     68|        if (PyDict_GetItemRef(globals, &_Py_ID(__builtins__), &builtins) < 0) {
  ------------------
  |  |  951|     68|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     68|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     68|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2800:13): [True: 0, False: 68]
  ------------------
 2801|      0|            return NULL;
 2802|      0|        }
 2803|     68|    }
 2804|      0|    else {
 2805|      0|        if (PyMapping_GetOptionalItem(
  ------------------
  |  Branch (2805:13): [True: 0, False: 0]
  ------------------
 2806|      0|                        globals, &_Py_ID(__builtins__), &builtins) < 0)
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2807|      0|        {
 2808|      0|            return NULL;
 2809|      0|        }
 2810|      0|    }
 2811|     68|    return builtins;
 2812|     68|}
ceval.c:set_globals_builtins:
 2816|     66|{
 2817|     66|    if (PyDict_Check(globals)) {
  ------------------
  |  |   18|     66|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     66|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 66, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2818|     66|        if (PyDict_SetItem(globals, &_Py_ID(__builtins__), builtins) < 0) {
  ------------------
  |  |  951|     66|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     66|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     66|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2818:13): [True: 0, False: 66]
  ------------------
 2819|      0|            return -1;
 2820|      0|        }
 2821|     66|    }
 2822|      0|    else {
 2823|      0|        if (PyObject_SetItem(globals, &_Py_ID(__builtins__), builtins) < 0) {
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2823:13): [True: 0, False: 0]
  ------------------
 2824|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2825|      0|                PyErr_SetString(PyExc_TypeError,
 2826|      0|                                "cannot assign __builtins__ to frozendict globals");
 2827|      0|            }
 2828|      0|            return -1;
 2829|      0|        }
 2830|      0|    }
 2831|     66|    return 0;
 2832|     66|}
ceval.c:is_lazy_import_module_level:
 3134|    150|{
 3135|    150|    _PyInterpreterFrame *frame = _PyEval_GetFrame();
 3136|    150|    return frame != NULL && frame->f_globals == frame->f_locals;
  ------------------
  |  Branch (3136:12): [True: 150, False: 0]
  |  Branch (3136:29): [True: 150, False: 0]
  ------------------
 3137|    150|}
ceval.c:check_lazy_import_compatibility:
 3097|    150|{
 3098|       |     // Check if this module should be imported lazily due to
 3099|       |     // the compatibility mode support via __lazy_modules__.
 3100|    150|    PyObject *lazy_modules = NULL;
 3101|    150|    PyObject *abs_name = NULL;
 3102|    150|    int res = -1;
 3103|       |
 3104|    150|    if (globals != NULL &&
  ------------------
  |  Branch (3104:9): [True: 150, False: 0]
  ------------------
 3105|    150|        PyMapping_GetOptionalItem(globals, &_Py_ID(__lazy_modules__),
  ------------------
  |  |  951|    150|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    150|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    150|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3105:9): [True: 0, False: 150]
  ------------------
 3106|    150|                                  &lazy_modules) < 0)
 3107|      0|    {
 3108|      0|        return -1;
 3109|      0|    }
 3110|    150|    if (lazy_modules == NULL) {
  ------------------
  |  Branch (3110:9): [True: 150, False: 0]
  ------------------
 3111|    150|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (3111:9): [True: 150, False: 0]
  ------------------
 3112|    150|        return 0;
 3113|    150|    }
 3114|       |
 3115|      0|    int ilevel = PyLong_AsInt(level);
 3116|      0|    if (ilevel == -1 && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3116:9): [True: 0, False: 0]
  |  Branch (3116:25): [True: 0, False: 0]
  ------------------
 3117|      0|        goto error;
 3118|      0|    }
 3119|       |
 3120|      0|    abs_name = _PyImport_GetAbsName(tstate, name, globals, ilevel);
 3121|      0|    if (abs_name == NULL) {
  ------------------
  |  Branch (3121:9): [True: 0, False: 0]
  ------------------
 3122|      0|        goto error;
 3123|      0|    }
 3124|       |
 3125|      0|    res = PySequence_Contains(lazy_modules, abs_name);
 3126|      0|error:
 3127|      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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 3128|       |    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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 3129|      0|    return res;
 3130|      0|}

ceval.c:check_invalid_reentrancy:
  142|  2.21k|{
  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|  2.21k|}
ceval.c:monitor_reraise:
  408|     18|{
  409|     18|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_RERAISE)) {
  ------------------
  |  |   36|     18|#define PY_MONITORING_EVENT_RERAISE 15
  ------------------
  |  Branch (409:9): [True: 18, False: 0]
  ------------------
  410|     18|        return;
  411|     18|    }
  412|      0|    do_monitor_exc(tstate, frame, instr, PY_MONITORING_EVENT_RERAISE);
  ------------------
  |  |   36|      0|#define PY_MONITORING_EVENT_RERAISE 15
  ------------------
  413|      0|}
ceval.c:do_raise:
  521|     31|{
  522|     31|    PyObject *type = NULL, *value = NULL;
  523|       |
  524|     31|    if (exc == NULL) {
  ------------------
  |  Branch (524:9): [True: 0, False: 31]
  ------------------
  525|       |        /* Reraise */
  526|      0|        _PyErr_StackItem *exc_info = _PyErr_GetTopmostException(tstate);
  527|      0|        exc = exc_info->exc_value;
  528|      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 (528:31): [True: 0, False: 0]
  ------------------
  529|      0|            _PyErr_SetString(tstate, PyExc_RuntimeError,
  530|      0|                             "No active exception to reraise");
  531|      0|            return 0;
  532|      0|        }
  533|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  534|      0|        assert(PyExceptionInstance_Check(exc));
  ------------------
  |  Branch (534:9): [True: 0, False: 0]
  ------------------
  535|      0|        _PyErr_SetRaisedException(tstate, exc);
  536|      0|        return 1;
  537|      0|    }
  538|       |
  539|       |    /* We support the following forms of raise:
  540|       |       raise
  541|       |       raise <instance>
  542|       |       raise <type> */
  543|       |
  544|     31|    if (PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|     31|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|     62|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 0, False: 31]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|     31|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  545|      0|        type = exc;
  546|      0|        value = _PyObject_CallNoArgs(exc);
  547|      0|        if (value == NULL)
  ------------------
  |  Branch (547:13): [True: 0, False: 0]
  ------------------
  548|      0|            goto raise_error;
  549|      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 (549:13): [True: 0, False: 0]
  ------------------
  550|      0|            _PyErr_Format(tstate, PyExc_TypeError,
  551|      0|                          "calling %R should have returned an instance of "
  552|      0|                          "BaseException, not %R",
  553|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  554|      0|             goto raise_error;
  555|      0|        }
  556|      0|    }
  557|     31|    else if (PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|     31|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     31|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 31, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  558|     31|        value = exc;
  559|     31|        type = PyExceptionInstance_Class(exc);
  ------------------
  |  |   69|     31|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  560|     31|        Py_INCREF(type);
  ------------------
  |  |  310|     31|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  561|     31|    }
  562|      0|    else {
  563|       |        /* Not something you can raise.  You get an exception
  564|       |           anyway, just not what you specified :-) */
  565|      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); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
  566|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
  567|      0|                         "exceptions must derive from BaseException");
  568|      0|        goto raise_error;
  569|      0|    }
  570|       |
  571|     31|    assert(type != NULL);
  ------------------
  |  Branch (571:5): [True: 31, False: 0]
  ------------------
  572|     31|    assert(value != NULL);
  ------------------
  |  Branch (572:5): [True: 31, False: 0]
  ------------------
  573|       |
  574|     31|    if (cause) {
  ------------------
  |  Branch (574:9): [True: 0, False: 31]
  ------------------
  575|      0|        PyObject *fixed_cause;
  576|      0|        if (PyExceptionClass_Check(cause)) {
  ------------------
  |  |   61|      0|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|      0|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  577|      0|            fixed_cause = _PyObject_CallNoArgs(cause);
  578|      0|            if (fixed_cause == NULL)
  ------------------
  |  Branch (578:17): [True: 0, False: 0]
  ------------------
  579|      0|                goto raise_error;
  580|      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 (580:17): [True: 0, False: 0]
  ------------------
  581|      0|                _PyErr_Format(tstate, PyExc_TypeError,
  582|      0|                              "calling %R should have returned an instance of "
  583|      0|                              "BaseException, not %R",
  584|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  585|      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); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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|                goto raise_error;
  587|      0|            }
  588|      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); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
  589|      0|        }
  590|      0|        else if (PyExceptionInstance_Check(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 (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  591|      0|            fixed_cause = cause;
  592|      0|        }
  593|      0|        else if (Py_IsNone(cause)) {
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  594|      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); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
  595|      0|            fixed_cause = NULL;
  596|      0|        }
  597|      0|        else {
  598|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
  599|      0|                             "exception causes must derive from "
  600|      0|                             "BaseException");
  601|      0|            goto raise_error;
  602|      0|        }
  603|      0|        PyException_SetCause(value, fixed_cause);
  604|      0|    }
  605|       |
  606|     31|    _PyErr_SetObject(tstate, type, value);
  607|       |    /* _PyErr_SetObject incref's its arguments */
  608|     31|    Py_DECREF(value);
  ------------------
  |  |   80|     31|    do { \
  |  |   81|     31|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|     31|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|     31|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 31]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|     31|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|     31|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|     31|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 31]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|     31|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 31]
  |  |  ------------------
  ------------------
  609|     31|    Py_DECREF(type);
  ------------------
  |  |   80|     31|    do { \
  |  |   81|     31|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|     31|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|     31|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 20, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|     20|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|     20|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|     20|            break; \
  |  |   85|     20|        } \
  |  |   86|     31|        _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); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
  610|     31|    return 0;
  611|       |
  612|      0|raise_error:
  613|      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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
  614|      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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
  615|       |    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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
  616|      0|    return 0;
  617|     31|}
ceval.c:get_exception_handler:
  462|    449|{
  463|    449|    unsigned char *start = (unsigned char *)PyBytes_AS_STRING(code->co_exceptiontable);
  ------------------
  |  |   27|    449|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    449|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    449|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  464|    449|    unsigned char *end = start + PyBytes_GET_SIZE(code->co_exceptiontable);
  ------------------
  |  |   33|    449|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    449|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    449|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  465|       |    /* Invariants:
  466|       |     * start_table == end_table OR
  467|       |     * start_table points to a legal entry and end_table points
  468|       |     * beyond the table or to a legal entry that is after index.
  469|       |     */
  470|    449|    if (end - start > MAX_LINEAR_SEARCH) {
  ------------------
  |  |  458|    449|#define MAX_LINEAR_SEARCH 40
  ------------------
  |  Branch (470:9): [True: 149, False: 300]
  ------------------
  471|    149|        int offset;
  472|    149|        parse_varint(start, &offset);
  473|    149|        if (offset > index) {
  ------------------
  |  Branch (473:13): [True: 0, False: 149]
  ------------------
  474|      0|            return 0;
  475|      0|        }
  476|    185|        do {
  477|    185|            unsigned char * mid = start + ((end-start)>>1);
  478|    185|            mid = scan_back_to_entry_start(mid);
  479|    185|            parse_varint(mid, &offset);
  480|    185|            if (offset > index) {
  ------------------
  |  Branch (480:17): [True: 157, False: 28]
  ------------------
  481|    157|                end = mid;
  482|    157|            }
  483|     28|            else {
  484|     28|                start = mid;
  485|     28|            }
  486|       |
  487|    185|        } while (end - start > MAX_LINEAR_SEARCH);
  ------------------
  |  |  458|    185|#define MAX_LINEAR_SEARCH 40
  ------------------
  |  Branch (487:18): [True: 36, False: 149]
  ------------------
  488|    149|    }
  489|    449|    unsigned char *scan = start;
  490|    601|    while (scan < end) {
  ------------------
  |  Branch (490:12): [True: 491, False: 110]
  ------------------
  491|    491|        int start_offset, size;
  492|    491|        scan = parse_varint(scan, &start_offset);
  493|    491|        if (start_offset > index) {
  ------------------
  |  Branch (493:13): [True: 19, False: 472]
  ------------------
  494|     19|            break;
  495|     19|        }
  496|    472|        scan = parse_varint(scan, &size);
  497|    472|        if (start_offset + size > index) {
  ------------------
  |  Branch (497:13): [True: 320, False: 152]
  ------------------
  498|    320|            scan = parse_varint(scan, handler);
  499|    320|            int depth_and_lasti;
  500|    320|            parse_varint(scan, &depth_and_lasti);
  501|    320|            *level = depth_and_lasti >> 1;
  502|    320|            *lasti = depth_and_lasti & 1;
  503|    320|            return 1;
  504|    320|        }
  505|    152|        scan = skip_to_next_entry(scan, end);
  506|    152|    }
  507|    129|    return 0;
  508|    449|}
ceval.c:scan_back_to_entry_start:
  444|    185|scan_back_to_entry_start(unsigned char *p) {
  445|    590|    for (; (p[0]&128) == 0; p--);
  ------------------
  |  Branch (445:12): [True: 405, False: 185]
  ------------------
  446|    185|    return p;
  447|    185|}
ceval.c:skip_to_next_entry:
  450|    152|skip_to_next_entry(unsigned char *p, unsigned char *end) {
  451|    597|    while (p < end && ((p[0] & 128) == 0)) {
  ------------------
  |  Branch (451:12): [True: 597, False: 0]
  |  Branch (451:23): [True: 445, False: 152]
  ------------------
  452|    445|        p++;
  453|    445|    }
  454|    152|    return p;
  455|    152|}
ceval.c:monitor_unwind:
  436|    129|{
  437|    129|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_PY_UNWIND)) {
  ------------------
  |  |   34|    129|#define PY_MONITORING_EVENT_PY_UNWIND 13
  ------------------
  |  Branch (437:9): [True: 129, False: 0]
  ------------------
  438|    129|        return;
  439|    129|    }
  440|      0|    do_monitor_exc(tstate, frame, instr, PY_MONITORING_EVENT_PY_UNWIND);
  ------------------
  |  |   34|      0|#define PY_MONITORING_EVENT_PY_UNWIND 13
  ------------------
  441|      0|}
ceval.c:monitor_handled:
  387|    320|{
  388|    320|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_EXCEPTION_HANDLED)) {
  ------------------
  |  |   33|    320|#define PY_MONITORING_EVENT_EXCEPTION_HANDLED 12
  ------------------
  |  Branch (388:9): [True: 320, False: 0]
  ------------------
  389|    320|        return 0;
  390|    320|    }
  391|      0|    return _Py_call_instrumentation_arg(tstate, PY_MONITORING_EVENT_EXCEPTION_HANDLED, frame, instr, exc);
  ------------------
  |  |   33|      0|#define PY_MONITORING_EVENT_EXCEPTION_HANDLED 12
  ------------------
  392|    320|}
ceval.c:no_tools_for_local_event:
  372|    904|{
  373|    904|    assert(event < _PY_MONITORING_UNGROUPED_EVENTS);
  ------------------
  |  Branch (373:5): [True: 904, False: 0]
  ------------------
  374|    904|    _PyCoMonitoringData *data = _PyFrame_GetCode(frame)->_co_monitoring;
  375|    904|    if (data) {
  ------------------
  |  Branch (375:9): [True: 0, False: 904]
  ------------------
  376|      0|        return data->active_monitors.tools[event] == 0;
  377|      0|    }
  378|    904|    else {
  379|    904|        return no_tools_for_global_event(tstate, event);
  380|    904|    }
  381|    904|}
ceval.c:no_tools_for_global_event:
  366|    904|{
  367|    904|    return tstate->interp->monitors.tools[event] == 0;
  368|    904|}

_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:
  591|  1.27k|{
  592|  1.27k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  214|  1.27k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
  593|  1.27k|    take_gil(tstate);
  594|  1.27k|}
_PyEval_ReleaseLock:
  600|  1.27k|{
  601|  1.27k|    assert(tstate != NULL);
  ------------------
  |  Branch (601:5): [True: 1.27k, False: 0]
  ------------------
  602|  1.27k|    assert(tstate->interp == interp);
  ------------------
  |  Branch (602:5): [True: 1.27k, False: 0]
  ------------------
  603|  1.27k|    drop_gil(interp, tstate, final_release);
  604|  1.27k|}
PyEval_SaveThread:
  645|  1.27k|{
  646|  1.27k|    PyThreadState *tstate = _PyThreadState_GET();
  647|  1.27k|    _PyThreadState_Detach(tstate);
  648|  1.27k|    return tstate;
  649|  1.27k|}
PyEval_RestoreThread:
  653|  1.27k|{
  654|       |#ifdef MS_WINDOWS
  655|       |    int err = GetLastError();
  656|       |#endif
  657|       |
  658|  1.27k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  214|  1.27k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
  659|  1.27k|    _PyThreadState_Attach(tstate);
  660|       |
  661|       |#ifdef MS_WINDOWS
  662|       |    SetLastError(err);
  663|       |#endif
  664|  1.27k|}
_PyEval_InitState:
 1073|      2|{
 1074|      2|    _gil_initialize(&interp->_gil);
 1075|      2|}
_PyRunRemoteDebugger:
 1257|    592|{
 1258|    592|    if (tstate->remote_debugger_support.debugger_pending_call != 1) {
  ------------------
  |  Branch (1258:9): [True: 592, False: 0]
  ------------------
 1259|    592|        return 0;
 1260|    592|    }
 1261|      0|    const PyConfig *config = _PyInterpreterState_GetConfig(tstate->interp);
 1262|      0|    if (config->remote_debug == 1) {
  ------------------
  |  Branch (1262:9): [True: 0, False: 0]
  ------------------
 1263|      0|        tstate->remote_debugger_support.debugger_pending_call = 0;
 1264|       |
 1265|       |        // Immediately make a copy in case of a race with another debugger
 1266|       |        // process that's trying to write to the buffer. At least this way
 1267|       |        // we'll be internally consistent: what we audit is what we run.
 1268|      0|        const size_t pathsz
 1269|      0|            = sizeof(tstate->remote_debugger_support.debugger_script_path);
 1270|       |
 1271|      0|        char *path = PyMem_Malloc(pathsz);
 1272|      0|        if (path) {
  ------------------
  |  Branch (1272:13): [True: 0, False: 0]
  ------------------
 1273|       |            // And don't assume the debugger correctly null terminated it.
 1274|      0|            memcpy(
 1275|      0|                path,
 1276|      0|                tstate->remote_debugger_support.debugger_script_path,
 1277|      0|                pathsz);
 1278|      0|            path[pathsz - 1] = '\0';
 1279|      0|            if (*path) {
  ------------------
  |  Branch (1279:17): [True: 0, False: 0]
  ------------------
 1280|      0|                PyObject *path_obj = PyUnicode_DecodeFSDefault(path);
 1281|      0|                if (path_obj == NULL) {
  ------------------
  |  Branch (1281:21): [True: 0, False: 0]
  ------------------
 1282|      0|                    PyErr_FormatUnraisable("Can't decode debugger script");
 1283|      0|                }
 1284|      0|                else {
 1285|      0|                    run_remote_debugger_script(path_obj);
 1286|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1287|      0|                }
 1288|      0|            }
 1289|      0|            PyMem_Free(path);
 1290|      0|        }
 1291|      0|    }
 1292|      0|    return 0;
 1293|    592|}
_Py_HandlePending:
 1357|      8|{
 1358|      8|    uintptr_t breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
 1359|       |
 1360|       |    /* Stop-the-world */
 1361|      8|    if ((breaker & _PY_EVAL_PLEASE_STOP_BIT) != 0) {
  ------------------
  |  |  350|      8|#define _PY_EVAL_PLEASE_STOP_BIT (1U << 5)
  ------------------
  |  Branch (1361:9): [True: 0, False: 8]
  ------------------
 1362|      0|        _Py_unset_eval_breaker_bit(tstate, _PY_EVAL_PLEASE_STOP_BIT);
  ------------------
  |  |  350|      0|#define _PY_EVAL_PLEASE_STOP_BIT (1U << 5)
  ------------------
 1363|      0|        _PyThreadState_Suspend(tstate);
 1364|       |
 1365|       |        /* The attach blocks until the stop-the-world event is complete. */
 1366|      0|        _PyThreadState_Attach(tstate);
 1367|      0|    }
 1368|       |
 1369|       |    /* Pending signals */
 1370|      8|    if ((breaker & _PY_SIGNALS_PENDING_BIT) != 0) {
  ------------------
  |  |  346|      8|#define _PY_SIGNALS_PENDING_BIT (1U << 1)
  ------------------
  |  Branch (1370:9): [True: 0, False: 8]
  ------------------
 1371|      0|        if (handle_signals(tstate) != 0) {
  ------------------
  |  Branch (1371:13): [True: 0, False: 0]
  ------------------
 1372|      0|            return -1;
 1373|      0|        }
 1374|      0|    }
 1375|       |
 1376|       |    /* Pending calls */
 1377|      8|    if ((breaker & _PY_CALLS_TO_DO_BIT) != 0) {
  ------------------
  |  |  347|      8|#define _PY_CALLS_TO_DO_BIT (1U << 2)
  ------------------
  |  Branch (1377:9): [True: 0, False: 8]
  ------------------
 1378|      0|        if (make_pending_calls(tstate) != 0) {
  ------------------
  |  Branch (1378:13): [True: 0, False: 0]
  ------------------
 1379|      0|            return -1;
 1380|      0|        }
 1381|      0|    }
 1382|       |
 1383|       |#ifdef Py_GIL_DISABLED
 1384|       |    /* Objects with refcounts to merge */
 1385|       |    if ((breaker & _PY_EVAL_EXPLICIT_MERGE_BIT) != 0) {
 1386|       |        _Py_unset_eval_breaker_bit(tstate, _PY_EVAL_EXPLICIT_MERGE_BIT);
 1387|       |        _Py_brc_merge_refcounts(tstate);
 1388|       |    }
 1389|       |    /* Process deferred memory frees held by QSBR */
 1390|       |    if (_Py_qsbr_should_process(((_PyThreadStateImpl *)tstate)->qsbr)) {
 1391|       |        _PyMem_ProcessDelayed(tstate);
 1392|       |    }
 1393|       |#endif
 1394|       |
 1395|       |    /* GC scheduled to run */
 1396|      8|    if ((breaker & _PY_GC_SCHEDULED_BIT) != 0) {
  ------------------
  |  |  349|      8|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
  |  Branch (1396:9): [True: 8, False: 0]
  ------------------
 1397|      8|        _Py_unset_eval_breaker_bit(tstate, _PY_GC_SCHEDULED_BIT);
  ------------------
  |  |  349|      8|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
 1398|      8|        _Py_RunGC(tstate);
 1399|       |#ifdef _Py_TIER2
 1400|       |        _Py_ClearExecutorDeletionList(tstate->interp);
 1401|       |#endif
 1402|      8|    }
 1403|       |
 1404|       |#ifdef _Py_TIER2
 1405|       |    if ((breaker & _PY_EVAL_JIT_INVALIDATE_COLD_BIT) != 0) {
 1406|       |        _Py_unset_eval_breaker_bit(tstate, _PY_EVAL_JIT_INVALIDATE_COLD_BIT);
 1407|       |        _Py_Executors_InvalidateCold(tstate->interp);
 1408|       |        tstate->interp->executor_creation_counter = JIT_CLEANUP_THRESHOLD;
 1409|       |        _Py_ClearExecutorDeletionList(tstate->interp);
 1410|       |    }
 1411|       |#endif
 1412|       |
 1413|       |    /* GIL drop request */
 1414|      8|    if ((breaker & _PY_GIL_DROP_REQUEST_BIT) != 0) {
  ------------------
  |  |  345|      8|#define _PY_GIL_DROP_REQUEST_BIT (1U << 0)
  ------------------
  |  Branch (1414:9): [True: 0, False: 8]
  ------------------
 1415|       |        /* Give another thread a chance */
 1416|      0|        _PyThreadState_Detach(tstate);
 1417|       |
 1418|       |        /* Other threads may run now */
 1419|       |
 1420|      0|        _PyThreadState_Attach(tstate);
 1421|      0|    }
 1422|       |
 1423|       |    /* Check for asynchronous exception. */
 1424|      8|    if ((breaker & _PY_ASYNC_EXCEPTION_BIT) != 0) {
  ------------------
  |  |  348|      8|#define _PY_ASYNC_EXCEPTION_BIT (1U << 3)
  ------------------
  |  Branch (1424:9): [True: 0, False: 8]
  ------------------
 1425|      0|        if (_PyEval_RaiseAsyncExc(tstate) < 0) {
  ------------------
  |  Branch (1425:13): [True: 0, False: 0]
  ------------------
 1426|      0|            return -1;
 1427|      0|        }
 1428|      0|    }
 1429|       |
 1430|      8|#if defined(Py_REMOTE_DEBUG) && defined(Py_SUPPORTS_REMOTE_DEBUG)
 1431|      8|    _PyRunRemoteDebugger(tstate);
 1432|      8|#endif
 1433|       |
 1434|      8|    return 0;
 1435|      8|}
ceval_gil.c:gil_created:
  156|  1.27k|{
  157|  1.27k|    if (gil == NULL) {
  ------------------
  |  Branch (157:9): [True: 0, False: 1.27k]
  ------------------
  158|      0|        return 0;
  159|      0|    }
  160|  1.27k|    return (_Py_atomic_load_int_acquire(&gil->locked) >= 0);
  161|  1.27k|}
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|  1.27k|{
  288|  1.27k|    int err = errno;
  289|       |
  290|  1.27k|    assert(tstate != NULL);
  ------------------
  |  Branch (290:5): [True: 1.27k, 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|  1.27k|    if (_PyThreadState_MustExit(tstate)) {
  ------------------
  |  Branch (295:9): [True: 0, False: 1.27k]
  ------------------
  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|  1.27k|    assert(_PyThreadState_CheckConsistency(tstate));
  ------------------
  |  Branch (310:5): [True: 1.27k, False: 0]
  ------------------
  311|  1.27k|    PyInterpreterState *interp = tstate->interp;
  312|  1.27k|    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|  1.27k|    assert(gil_created(gil));
  ------------------
  |  Branch (320:5): [True: 1.27k, False: 0]
  ------------------
  321|       |
  322|  2.54k|    MUTEX_LOCK(gil->mutex);
  ------------------
  |  |  117|  1.27k|    if (PyMUTEX_LOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   59|  1.27k|#define PyMUTEX_LOCK(mut)       pthread_mutex_lock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:33): [True: 0, False: 1.27k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  118|  1.27k|        Py_FatalError("PyMUTEX_LOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  323|       |
  324|  2.54k|    tstate->gil_requested = 1;
  325|       |
  326|  2.54k|    int drop_requested = 0;
  327|  2.54k|    while (_Py_atomic_load_int_relaxed(&gil->locked)) {
  ------------------
  |  Branch (327:12): [True: 0, False: 1.27k]
  ------------------
  328|      0|        unsigned long saved_switchnum = gil->switch_number;
  329|       |
  330|      0|        unsigned long interval = _Py_atomic_load_ulong_relaxed(&gil->interval);
  ------------------
  |  |  618|      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|  1.27k|#ifdef FORCE_SWITCHING
  379|       |    /* This mutex must be taken before modifying gil->last_holder:
  380|       |       see drop_gil(). */
  381|  2.54k|    MUTEX_LOCK(gil->switch_mutex);
  ------------------
  |  |  117|  1.27k|    if (PyMUTEX_LOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   59|  1.27k|#define PyMUTEX_LOCK(mut)       pthread_mutex_lock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:33): [True: 0, False: 1.27k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  118|  1.27k|        Py_FatalError("PyMUTEX_LOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  382|  2.54k|#endif
  383|       |    /* We now hold the GIL */
  384|  2.54k|    _Py_atomic_store_int_relaxed(&gil->locked, 1);
  385|  2.54k|    _Py_ANNOTATE_RWLOCK_ACQUIRED(&gil->locked, /*is_write=*/1);
  386|       |
  387|  2.54k|    if (tstate != (PyThreadState*)_Py_atomic_load_ptr_relaxed(&gil->last_holder)) {
  ------------------
  |  Branch (387:9): [True: 2, False: 1.27k]
  ------------------
  388|      2|        _Py_atomic_store_ptr_relaxed(&gil->last_holder, tstate);
  389|      2|        ++gil->switch_number;
  390|      2|    }
  391|       |
  392|  2.54k|#ifdef FORCE_SWITCHING
  393|  2.54k|    COND_SIGNAL(gil->switch_cond);
  ------------------
  |  |  130|  1.27k|    if (PyCOND_SIGNAL(&(cond))) { \
  |  |  ------------------
  |  |  |  |   64|  1.27k|#define PyCOND_SIGNAL(cond)     pthread_cond_signal(cond)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:33): [True: 0, False: 1.27k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  131|  1.27k|        Py_FatalError("PyCOND_SIGNAL(" #cond ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  394|  1.27k|    MUTEX_UNLOCK(gil->switch_mutex);
  ------------------
  |  |  120|  1.27k|    if (PyMUTEX_UNLOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   60|  1.27k|#define PyMUTEX_UNLOCK(mut)     pthread_mutex_unlock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:33): [True: 0, False: 1.27k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  121|  1.27k|        Py_FatalError("PyMUTEX_UNLOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  395|  1.27k|#endif
  396|       |
  397|  1.27k|    if (_PyThreadState_MustExit(tstate)) {
  ------------------
  |  Branch (397:9): [True: 0, False: 1.27k]
  ------------------
  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|  1.27k|    assert(_PyThreadState_CheckConsistency(tstate));
  ------------------
  |  Branch (411:5): [True: 1.27k, False: 0]
  ------------------
  412|       |
  413|  1.27k|    tstate->gil_requested = 0;
  414|  1.27k|    tstate->holds_gil = 1;
  415|  1.27k|    _Py_unset_eval_breaker_bit(tstate, _PY_GIL_DROP_REQUEST_BIT);
  ------------------
  |  |  345|  1.27k|#define _PY_GIL_DROP_REQUEST_BIT (1U << 0)
  ------------------
  416|  1.27k|    update_eval_breaker_for_thread(interp, tstate);
  417|       |
  418|  1.27k|    MUTEX_UNLOCK(gil->mutex);
  ------------------
  |  |  120|  1.27k|    if (PyMUTEX_UNLOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   60|  1.27k|#define PyMUTEX_UNLOCK(mut)     pthread_mutex_unlock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:33): [True: 0, False: 1.27k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  121|  1.27k|        Py_FatalError("PyMUTEX_UNLOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  419|       |
  420|       |    errno = err;
  421|  1.27k|    return;
  422|  1.27k|}
ceval_gil.c:update_eval_breaker_for_thread:
   74|  1.27k|{
   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|  1.27k|    int32_t npending = _Py_atomic_load_int32_relaxed(
   82|  1.27k|        &interp->ceval.pending.npending);
   83|  1.27k|    if (npending) {
  ------------------
  |  Branch (83:9): [True: 0, False: 1.27k]
  ------------------
   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|  1.27k|    else if (_Py_IsMainThread()) {
  ------------------
  |  Branch (86:14): [True: 1.27k, False: 0]
  ------------------
   87|  1.27k|        npending = _Py_atomic_load_int32_relaxed(
   88|  1.27k|            &_PyRuntime.ceval.pending_mainthread.npending);
   89|  1.27k|        if (npending) {
  ------------------
  |  Branch (89:13): [True: 0, False: 1.27k]
  ------------------
   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|  1.27k|    }
   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|  1.27k|    copy_eval_breaker_bits(&interp->ceval.instrumentation_version,
   97|  1.27k|                           &tstate->eval_breaker,
   98|  1.27k|                           ~_PY_EVAL_EVENTS_MASK);
  ------------------
  |  |  356|  1.27k|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  ------------------
  |  |  |  |  355|  1.27k|#define _PY_EVAL_EVENTS_BITS 8
  |  |  ------------------
  ------------------
   99|  1.27k|}
ceval_gil.c:copy_eval_breaker_bits:
   56|  1.27k|{
   57|  1.27k|    uintptr_t from_bits = _Py_atomic_load_uintptr_relaxed(from) & mask;
   58|  1.27k|    uintptr_t old_value = _Py_atomic_load_uintptr_relaxed(to);
   59|  1.27k|    uintptr_t to_bits = old_value & mask;
   60|  1.27k|    if (from_bits == to_bits) {
  ------------------
  |  Branch (60:9): [True: 1.27k, False: 0]
  ------------------
   61|  1.27k|        return;
   62|  1.27k|    }
   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|  1.27k|{
  219|  1.27k|    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|  1.27k|    assert(final_release || tstate != NULL);
  ------------------
  |  Branch (229:5): [True: 0, False: 1.27k]
  |  Branch (229:5): [True: 1.27k, False: 0]
  ------------------
  230|  1.27k|    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|  1.27k|    if (!_Py_atomic_load_int_relaxed(&gil->locked)) {
  ------------------
  |  Branch (239:9): [True: 0, False: 1.27k]
  ------------------
  240|      0|        Py_FatalError("drop_gil: GIL is not locked");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  241|      0|    }
  242|       |
  243|  1.27k|    if (!final_release) {
  ------------------
  |  Branch (243:9): [True: 1.27k, 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|  1.27k|        _Py_atomic_store_ptr_relaxed(&gil->last_holder, tstate);
  248|  1.27k|    }
  249|       |
  250|  1.27k|    drop_gil_impl(tstate, gil);
  251|       |
  252|  1.27k|#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|  1.27k|    if (!final_release &&
  ------------------
  |  Branch (259:9): [True: 1.27k, False: 0]
  ------------------
  260|  1.27k|        _Py_eval_breaker_bit_is_set(tstate, _PY_GIL_DROP_REQUEST_BIT)) {
  ------------------
  |  |  345|  1.27k|#define _PY_GIL_DROP_REQUEST_BIT (1U << 0)
  ------------------
  |  Branch (260:9): [True: 0, False: 1.27k]
  ------------------
  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|  1.27k|#endif
  276|  1.27k|}
ceval_gil.c:drop_gil_impl:
  204|  1.27k|{
  205|  1.27k|    MUTEX_LOCK(gil->mutex);
  ------------------
  |  |  117|  1.27k|    if (PyMUTEX_LOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   59|  1.27k|#define PyMUTEX_LOCK(mut)       pthread_mutex_lock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:33): [True: 0, False: 1.27k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  118|  1.27k|        Py_FatalError("PyMUTEX_LOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  206|  1.27k|    _Py_ANNOTATE_RWLOCK_RELEASED(&gil->locked, /*is_write=*/1);
  207|  1.27k|    _Py_atomic_store_int_relaxed(&gil->locked, 0);
  208|  1.27k|    if (tstate != NULL) {
  ------------------
  |  Branch (208:9): [True: 1.27k, False: 0]
  ------------------
  209|  1.27k|        tstate->holds_gil = 0;
  210|  1.27k|        tstate->gil_requested = 0;
  211|  1.27k|    }
  212|  1.27k|    COND_SIGNAL(gil->cond);
  ------------------
  |  |  130|  1.27k|    if (PyCOND_SIGNAL(&(cond))) { \
  |  |  ------------------
  |  |  |  |   64|  1.27k|#define PyCOND_SIGNAL(cond)     pthread_cond_signal(cond)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:33): [True: 0, False: 1.27k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  131|  1.27k|        Py_FatalError("PyCOND_SIGNAL(" #cond ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  213|  1.27k|    MUTEX_UNLOCK(gil->mutex);
  ------------------
  |  |  120|  1.27k|    if (PyMUTEX_UNLOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   60|  1.27k|#define PyMUTEX_UNLOCK(mut)     pthread_mutex_unlock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:33): [True: 0, False: 1.27k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  121|  1.27k|        Py_FatalError("PyMUTEX_UNLOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  214|  1.27k|}
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|  3.22k|static inline int _Py_EnterRecursivePy(PyThreadState *tstate) {
  428|  3.22k|    return (tstate->py_recursion_remaining-- <= 0) &&
  ------------------
  |  Branch (428:12): [True: 0, False: 3.22k]
  ------------------
  429|      0|        _Py_CheckRecursiveCallPy(tstate);
  ------------------
  |  Branch (429:9): [True: 0, False: 0]
  ------------------
  430|  3.22k|}
ceval.c:check_periodics_at_end:
  552|  11.6k|check_periodics_at_end(PyThreadState *tstate, _PyInterpreterFrame *frame) {
  553|  11.6k|    _Py_CHECK_EMSCRIPTEN_SIGNALS_PERIODICALLY();
  554|  11.6k|    QSBR_QUIESCENT_STATE(tstate);
  555|  11.6k|    if (_Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) & _PY_EVAL_EVENTS_MASK) {
  ------------------
  |  |  356|  11.6k|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  ------------------
  |  |  |  |  355|  11.6k|#define _PY_EVAL_EVENTS_BITS 8
  |  |  ------------------
  ------------------
  |  Branch (555:9): [True: 6, False: 11.6k]
  ------------------
  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|      6|        if (frame->instr_ptr[-1].op.code == LOAD_SPECIAL) {
  ------------------
  |  |  104|      6|#define LOAD_SPECIAL                            91
  ------------------
  |  Branch (559:13): [True: 0, False: 6]
  ------------------
  560|      0|            return 0;
  561|      0|        }
  562|      6|        return _Py_HandlePending(tstate);
  563|      6|    }
  564|  11.6k|    return 0;
  565|  11.6k|}
ceval.c:gen_try_set_executing:
  571|     59|{
  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|     59|    if (gen->gi_frame_state < FRAME_EXECUTING) {
  ------------------
  |  Branch (589:9): [True: 59, False: 0]
  ------------------
  590|     59|        assert(gen->gi_frame_state != FRAME_SUSPENDED_YIELD_FROM_LOCKED);
  ------------------
  |  Branch (590:9): [True: 59, False: 0]
  ------------------
  591|     59|        gen->gi_frame_state = FRAME_EXECUTING;
  592|     59|        return true;
  593|     59|    }
  594|      0|    return false;
  595|     59|}
ceval.c:check_periodics:
  542|  4.53k|check_periodics(PyThreadState *tstate) {
  543|  4.53k|    _Py_CHECK_EMSCRIPTEN_SIGNALS_PERIODICALLY();
  544|  4.53k|    QSBR_QUIESCENT_STATE(tstate);
  545|  4.53k|    if (_Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) & _PY_EVAL_EVENTS_MASK) {
  ------------------
  |  |  356|  4.53k|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  ------------------
  |  |  |  |  355|  4.53k|#define _PY_EVAL_EVENTS_BITS 8
  |  |  ------------------
  ------------------
  |  Branch (545:9): [True: 2, False: 4.52k]
  ------------------
  546|      2|        return _Py_HandlePending(tstate);
  547|      2|    }
  548|  4.52k|    return 0;
  549|  4.53k|}
ceval.c:_Py_LeaveRecursiveCallPy:
  432|  8.70k|static inline void _Py_LeaveRecursiveCallPy(PyThreadState *tstate)  {
  433|  8.70k|    tstate->py_recursion_remaining++;
  434|  8.70k|}

bltinmodule.c:zip_new_helper:
 1584|      3|{
 1585|      3|    PyObject *return_value = NULL;
 1586|      3|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1587|       |
 1588|      3|    #define NUM_KEYWORDS 1
 1589|      3|    static struct {
 1590|      3|        PyGC_Head _this_is_not_used;
 1591|      3|        PyObject_VAR_HEAD
 1592|      3|        Py_hash_t ob_hash;
 1593|      3|        PyObject *ob_item[NUM_KEYWORDS];
 1594|      3|    } _kwtuple = {
 1595|      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|    },
  ------------------
 1596|      3|        .ob_hash = -1,
 1597|      3|        .ob_item = { &_Py_ID(strict), },
  ------------------
  |  |  951|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1598|      3|    };
 1599|      3|    #undef NUM_KEYWORDS
 1600|      3|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1601|       |
 1602|       |    #else  // !Py_BUILD_CORE
 1603|       |    #  define KWTUPLE NULL
 1604|       |    #endif  // !Py_BUILD_CORE
 1605|       |
 1606|      3|    static const char * const _keywords[] = {"strict", NULL};
 1607|      3|    static _PyArg_Parser _parser = {
 1608|      3|        .keywords = _keywords,
 1609|      3|        .fname = "zip",
 1610|      3|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1600|      3|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1611|      3|    };
 1612|      3|    #undef KWTUPLE
 1613|      3|    PyObject *argsbuf[1];
 1614|      3|    PyObject * const *fastargs;
 1615|      3|    Py_ssize_t noptargs = 0 + nkw - 0;
 1616|      3|    PyObject * const *iterables;
 1617|      3|    Py_ssize_t iterables_length;
 1618|      3|    int strict = 0;
 1619|       |
 1620|      3|    fastargs = _PyArg_UnpackKeywords(args, nargs, kwargs, kwnames, &_parser,
  ------------------
  |  |   90|      3|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 3, Folded]
  |  |  |  Branch (90:23): [True: 3, False: 0]
  |  |  |  Branch (90:43): [True: 3, False: 0]
  |  |  ------------------
  |  |   91|      3|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 3, False: 0]
  |  |  |  Branch (91:31): [True: 0, Folded]
  |  |  |  Branch (91:43): [True: 0, False: 0]
  |  |  |  Branch (91:67): [True: 3, False: 0]
  |  |  ------------------
  |  |   92|      3|      (args) : \
  |  |   93|      3|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1621|      3|            /*minpos*/ 0, /*maxpos*/ 0, /*minkw*/ 0, /*varpos*/ 1, argsbuf);
 1622|      3|    if (!fastargs) {
  ------------------
  |  Branch (1622:9): [True: 0, False: 3]
  ------------------
 1623|      0|        goto exit;
 1624|      0|    }
 1625|      3|    if (!noptargs) {
  ------------------
  |  Branch (1625:9): [True: 3, False: 0]
  ------------------
 1626|      3|        goto skip_optional_kwonly;
 1627|      3|    }
 1628|      0|    strict = PyObject_IsTrue(fastargs[0]);
 1629|      0|    if (strict < 0) {
  ------------------
  |  Branch (1629:9): [True: 0, False: 0]
  ------------------
 1630|      0|        goto exit;
 1631|      0|    }
 1632|      3|skip_optional_kwonly:
 1633|      3|    iterables = args;
 1634|      3|    iterables_length = nargs;
 1635|      3|    return_value = zip_new_impl(type, iterables, iterables_length, strict);
 1636|       |
 1637|      3|exit:
 1638|      3|    return return_value;
 1639|      3|}
bltinmodule.c:zip_vectorcall:
 1653|      3|{
 1654|      3|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      3|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 1655|       |
 1656|      3|    assert(_PyType_CAST(type)->tp_new == zip_new);
  ------------------
  |  Branch (1656:5): [True: 3, False: 0]
  |  Branch (1656:5): [True: 3, False: 0]
  ------------------
 1657|       |    /* Make sure the type object is immutable: the generated
 1658|       |     * vectorcall doesn't deal e.g. with users reassigning __init__. */
 1659|      3|    assert(PyType_HasFeature(_PyType_CAST(type), Py_TPFLAGS_IMMUTABLETYPE));
  ------------------
  |  Branch (1659:5): [True: 3, False: 0]
  |  Branch (1659:5): [True: 3, False: 0]
  ------------------
 1660|      3|    return zip_new_helper(_PyType_CAST(type), args, nargs,
  ------------------
  |  |  770|      3|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1660:27): [True: 3, False: 0]
  ------------------
 1661|      3|        kwnames ? 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 (1661:9): [True: 0, False: 3]
  ------------------
 1662|       |        NULL, kwnames);
 1663|      3|}
bltinmodule.c:builtin___import__:
   43|    129|{
   44|    129|    PyObject *return_value = NULL;
   45|    129|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   46|       |
   47|    129|    #define NUM_KEYWORDS 5
   48|    129|    static struct {
   49|    129|        PyGC_Head _this_is_not_used;
   50|    129|        PyObject_VAR_HEAD
   51|    129|        Py_hash_t ob_hash;
   52|    129|        PyObject *ob_item[NUM_KEYWORDS];
   53|    129|    } _kwtuple = {
   54|    129|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    129|    {                                     \
  |  |   98|    129|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    129|    {                               \
  |  |  |  |   91|    129|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    129|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    129|#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|    129|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    129|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    129|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    129|        (type)                      \
  |  |  |  |   93|    129|    },
  |  |  ------------------
  |  |   99|    129|        (size)                            \
  |  |  100|    129|    },
  ------------------
   55|    129|        .ob_hash = -1,
   56|    129|        .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  951|    129|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    129|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    129|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  951|    129|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    129|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    129|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  951|    129|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    129|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    129|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  951|    129|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    129|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    129|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  951|    129|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    129|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    129|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|    129|    };
   58|    129|    #undef NUM_KEYWORDS
   59|    129|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   60|       |
   61|       |    #else  // !Py_BUILD_CORE
   62|       |    #  define KWTUPLE NULL
   63|       |    #endif  // !Py_BUILD_CORE
   64|       |
   65|    129|    static const char * const _keywords[] = {"name", "globals", "locals", "fromlist", "level", NULL};
   66|    129|    static _PyArg_Parser _parser = {
   67|    129|        .keywords = _keywords,
   68|    129|        .fname = "__import__",
   69|    129|        .kwtuple = KWTUPLE,
  ------------------
  |  |   59|    129|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   70|    129|    };
   71|    129|    #undef KWTUPLE
   72|    129|    PyObject *argsbuf[5];
   73|    129|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (73:36): [True: 2, False: 127]
  ------------------
   74|    129|    PyObject *name;
   75|    129|    PyObject *globals = NULL;
   76|    129|    PyObject *locals = NULL;
   77|    129|    PyObject *fromlist = NULL;
   78|    129|    int level = 0;
   79|       |
   80|    129|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|    129|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 127, False: 2]
  |  |  ------------------
  |  |   91|    129|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 127, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 127]
  |  |  |  Branch (91:43): [True: 127, False: 0]
  |  |  |  Branch (91:67): [True: 127, False: 0]
  |  |  ------------------
  |  |   92|    129|      (args) : \
  |  |   93|    129|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      2|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   81|    129|            /*minpos*/ 1, /*maxpos*/ 5, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   82|    129|    if (!args) {
  ------------------
  |  Branch (82:9): [True: 0, False: 129]
  ------------------
   83|      0|        goto exit;
   84|      0|    }
   85|    129|    name = args[0];
   86|    129|    if (!noptargs) {
  ------------------
  |  Branch (86:9): [True: 22, False: 107]
  ------------------
   87|     22|        goto skip_optional_pos;
   88|     22|    }
   89|    107|    if (args[1]) {
  ------------------
  |  Branch (89:9): [True: 105, False: 2]
  ------------------
   90|    105|        globals = args[1];
   91|    105|        if (!--noptargs) {
  ------------------
  |  Branch (91:13): [True: 0, False: 105]
  ------------------
   92|      0|            goto skip_optional_pos;
   93|      0|        }
   94|    105|    }
   95|    107|    if (args[2]) {
  ------------------
  |  Branch (95:9): [True: 105, False: 2]
  ------------------
   96|    105|        locals = args[2];
   97|    105|        if (!--noptargs) {
  ------------------
  |  Branch (97:13): [True: 0, False: 105]
  ------------------
   98|      0|            goto skip_optional_pos;
   99|      0|        }
  100|    105|    }
  101|    107|    if (args[3]) {
  ------------------
  |  Branch (101:9): [True: 107, False: 0]
  ------------------
  102|    107|        fromlist = args[3];
  103|    107|        if (!--noptargs) {
  ------------------
  |  Branch (103:13): [True: 0, False: 107]
  ------------------
  104|      0|            goto skip_optional_pos;
  105|      0|        }
  106|    107|    }
  107|    107|    level = PyLong_AsInt(args[4]);
  108|    107|    if (level == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (108:9): [True: 0, False: 107]
  |  Branch (108:24): [True: 0, False: 0]
  ------------------
  109|      0|        goto exit;
  110|      0|    }
  111|    129|skip_optional_pos:
  112|    129|    return_value = builtin___import___impl(module, name, globals, locals, fromlist, level);
  113|       |
  114|    129|exit:
  115|    129|    return return_value;
  116|    129|}
bltinmodule.c:builtin_compile:
  427|     33|{
  428|     33|    PyObject *return_value = NULL;
  429|     33|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  430|       |
  431|     33|    #define NUM_KEYWORDS 8
  432|     33|    static struct {
  433|     33|        PyGC_Head _this_is_not_used;
  434|     33|        PyObject_VAR_HEAD
  435|     33|        Py_hash_t ob_hash;
  436|     33|        PyObject *ob_item[NUM_KEYWORDS];
  437|     33|    } _kwtuple = {
  438|     33|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     33|    {                                     \
  |  |   98|     33|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     33|    {                               \
  |  |  |  |   91|     33|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     33|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     33|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     33|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     33|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     33|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     33|        (type)                      \
  |  |  |  |   93|     33|    },
  |  |  ------------------
  |  |   99|     33|        (size)                            \
  |  |  100|     33|    },
  ------------------
  439|     33|        .ob_hash = -1,
  440|     33|        .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  951|     33|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     33|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     33|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  951|     33|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     33|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     33|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  951|     33|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     33|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     33|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  951|     33|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     33|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     33|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  951|     33|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     33|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     33|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  951|     33|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     33|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     33|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  951|     33|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     33|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     33|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  951|     33|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     33|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     33|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  441|     33|    };
  442|     33|    #undef NUM_KEYWORDS
  443|     33|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  444|       |
  445|       |    #else  // !Py_BUILD_CORE
  446|       |    #  define KWTUPLE NULL
  447|       |    #endif  // !Py_BUILD_CORE
  448|       |
  449|     33|    static const char * const _keywords[] = {"source", "filename", "mode", "flags", "dont_inherit", "optimize", "module", "_feature_version", NULL};
  450|     33|    static _PyArg_Parser _parser = {
  451|     33|        .keywords = _keywords,
  452|     33|        .fname = "compile",
  453|     33|        .kwtuple = KWTUPLE,
  ------------------
  |  |  443|     33|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  454|     33|    };
  455|     33|    #undef KWTUPLE
  456|     33|    PyObject *argsbuf[8];
  457|     33|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 3;
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (457:36): [True: 33, False: 0]
  ------------------
  458|     33|    PyObject *source;
  459|     33|    PyObject *filename = NULL;
  460|     33|    const char *mode;
  461|     33|    int flags = 0;
  462|     33|    int dont_inherit = 0;
  463|     33|    int optimize = -1;
  464|     33|    PyObject *modname = Py_None;
  ------------------
  |  |  616|     33|#  define Py_None (&_Py_NoneStruct)
  ------------------
  465|     33|    int feature_version = -1;
  466|       |
  467|     33|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|     33|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 0, False: 33]
  |  |  ------------------
  |  |   91|     33|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 0, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 0]
  |  |  |  Branch (91:43): [True: 0, False: 0]
  |  |  |  Branch (91:67): [True: 0, False: 0]
  |  |  ------------------
  |  |   92|     33|      (args) : \
  |  |   93|     33|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|     33|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  468|     33|            /*minpos*/ 3, /*maxpos*/ 6, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  469|     33|    if (!args) {
  ------------------
  |  Branch (469:9): [True: 0, False: 33]
  ------------------
  470|      0|        goto exit;
  471|      0|    }
  472|     33|    source = args[0];
  473|     33|    if (!PyUnicode_FSDecoder(args[1], &filename)) {
  ------------------
  |  Branch (473:9): [True: 0, False: 33]
  ------------------
  474|      0|        goto exit;
  475|      0|    }
  476|     33|    if (!PyUnicode_Check(args[2])) {
  ------------------
  |  |  103|     33|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     33|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (476:9): [True: 0, False: 33]
  ------------------
  477|      0|        _PyArg_BadArgument("compile", "argument 'mode'", "str", args[2]);
  478|      0|        goto exit;
  479|      0|    }
  480|     33|    mode = _PyUnicode_AsUTF8NoNUL(args[2]);
  481|     33|    if (mode == NULL) {
  ------------------
  |  Branch (481:9): [True: 0, False: 33]
  ------------------
  482|      0|        goto exit;
  483|      0|    }
  484|     33|    if (!noptargs) {
  ------------------
  |  Branch (484:9): [True: 0, False: 33]
  ------------------
  485|      0|        goto skip_optional_pos;
  486|      0|    }
  487|     33|    if (args[3]) {
  ------------------
  |  Branch (487:9): [True: 33, False: 0]
  ------------------
  488|     33|        flags = PyLong_AsInt(args[3]);
  489|     33|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (489:13): [True: 0, False: 33]
  |  Branch (489:28): [True: 0, False: 0]
  ------------------
  490|      0|            goto exit;
  491|      0|        }
  492|     33|        if (!--noptargs) {
  ------------------
  |  Branch (492:13): [True: 0, False: 33]
  ------------------
  493|      0|            goto skip_optional_pos;
  494|      0|        }
  495|     33|    }
  496|     33|    if (args[4]) {
  ------------------
  |  Branch (496:9): [True: 0, False: 33]
  ------------------
  497|      0|        dont_inherit = PyObject_IsTrue(args[4]);
  498|      0|        if (dont_inherit < 0) {
  ------------------
  |  Branch (498:13): [True: 0, False: 0]
  ------------------
  499|      0|            goto exit;
  500|      0|        }
  501|      0|        if (!--noptargs) {
  ------------------
  |  Branch (501:13): [True: 0, False: 0]
  ------------------
  502|      0|            goto skip_optional_pos;
  503|      0|        }
  504|      0|    }
  505|     33|    if (args[5]) {
  ------------------
  |  Branch (505:9): [True: 33, False: 0]
  ------------------
  506|     33|        optimize = PyLong_AsInt(args[5]);
  507|     33|        if (optimize == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (507:13): [True: 33, False: 0]
  |  Branch (507:31): [True: 0, False: 33]
  ------------------
  508|      0|            goto exit;
  509|      0|        }
  510|     33|        if (!--noptargs) {
  ------------------
  |  Branch (510:13): [True: 0, False: 33]
  ------------------
  511|      0|            goto skip_optional_pos;
  512|      0|        }
  513|     33|    }
  514|     33|skip_optional_pos:
  515|     33|    if (!noptargs) {
  ------------------
  |  Branch (515:9): [True: 0, False: 33]
  ------------------
  516|      0|        goto skip_optional_kwonly;
  517|      0|    }
  518|     33|    if (args[6]) {
  ------------------
  |  Branch (518:9): [True: 33, False: 0]
  ------------------
  519|     33|        modname = args[6];
  520|     33|        if (!--noptargs) {
  ------------------
  |  Branch (520:13): [True: 0, False: 33]
  ------------------
  521|      0|            goto skip_optional_kwonly;
  522|      0|        }
  523|     33|    }
  524|     33|    feature_version = PyLong_AsInt(args[7]);
  525|     33|    if (feature_version == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (525:9): [True: 33, False: 0]
  |  Branch (525:34): [True: 0, False: 33]
  ------------------
  526|      0|        goto exit;
  527|      0|    }
  528|     33|skip_optional_kwonly:
  529|     33|    return_value = builtin_compile_impl(module, source, filename, mode, flags, dont_inherit, optimize, modname, feature_version);
  530|       |
  531|     33|exit:
  532|       |    /* Cleanup for filename */
  533|     33|    Py_XDECREF(filename);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  534|       |
  535|     33|    return return_value;
  536|     33|}
bltinmodule.c:builtin_delattr:
  911|     36|{
  912|     36|    PyObject *return_value = NULL;
  913|     36|    PyObject *obj;
  914|     36|    PyObject *name;
  915|       |
  916|     36|    if (!_PyArg_CheckPositional("delattr", nargs, 2, 2)) {
  ------------------
  |  |   38|     36|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 36, False: 0]
  |  |  |  Branch (38:27): [True: 36, False: 0]
  |  |  ------------------
  |  |   39|     36|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  917|      0|        goto exit;
  918|      0|    }
  919|     36|    obj = args[0];
  920|     36|    name = args[1];
  921|     36|    return_value = builtin_delattr_impl(module, obj, name);
  922|       |
  923|     36|exit:
  924|     36|    return return_value;
  925|     36|}
bltinmodule.c:builtin_dir:
  563|      2|{
  564|      2|    PyObject *return_value = NULL;
  565|      2|    PyObject *arg = NULL;
  566|       |
  567|      2|    if (!_PyArg_CheckPositional("dir", nargs, 0, 1)) {
  ------------------
  |  |   38|      2|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 2, False: 0]
  |  |  |  Branch (38:27): [True: 2, False: 0]
  |  |  ------------------
  |  |   39|      2|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  568|      0|        goto exit;
  569|      0|    }
  570|      2|    if (nargs < 1) {
  ------------------
  |  Branch (570:9): [True: 0, False: 2]
  ------------------
  571|      0|        goto skip_optional;
  572|      0|    }
  573|      2|    arg = args[0];
  574|      2|skip_optional:
  575|      2|    return_value = builtin_dir_impl(module, arg);
  576|       |
  577|      2|exit:
  578|      2|    return return_value;
  579|      2|}
bltinmodule.c:builtin_eval:
  632|      2|{
  633|      2|    PyObject *return_value = NULL;
  634|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  635|       |
  636|      2|    #define NUM_KEYWORDS 2
  637|      2|    static struct {
  638|      2|        PyGC_Head _this_is_not_used;
  639|      2|        PyObject_VAR_HEAD
  640|      2|        Py_hash_t ob_hash;
  641|      2|        PyObject *ob_item[NUM_KEYWORDS];
  642|      2|    } _kwtuple = {
  643|      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|    },
  ------------------
  644|      2|        .ob_hash = -1,
  645|      2|        .ob_item = { &_Py_ID(globals), &_Py_ID(locals), },
  ------------------
  |  |  951|      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(globals), &_Py_ID(locals), },
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  646|      2|    };
  647|      2|    #undef NUM_KEYWORDS
  648|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  649|       |
  650|       |    #else  // !Py_BUILD_CORE
  651|       |    #  define KWTUPLE NULL
  652|       |    #endif  // !Py_BUILD_CORE
  653|       |
  654|      2|    static const char * const _keywords[] = {"", "globals", "locals", NULL};
  655|      2|    static _PyArg_Parser _parser = {
  656|      2|        .keywords = _keywords,
  657|      2|        .fname = "eval",
  658|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  |  648|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  659|      2|    };
  660|      2|    #undef KWTUPLE
  661|      2|    PyObject *argsbuf[3];
  662|      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 (662:36): [True: 0, False: 2]
  ------------------
  663|      2|    PyObject *source;
  664|      2|    PyObject *globals = Py_None;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  665|      2|    PyObject *locals = Py_None;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  666|       |
  667|      2|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 2, False: 0]
  |  |  ------------------
  |  |   91|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 2, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 2]
  |  |  |  Branch (91:43): [True: 2, False: 0]
  |  |  |  Branch (91:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   92|      2|      (args) : \
  |  |   93|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  668|      2|            /*minpos*/ 1, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  669|      2|    if (!args) {
  ------------------
  |  Branch (669:9): [True: 0, False: 2]
  ------------------
  670|      0|        goto exit;
  671|      0|    }
  672|      2|    source = args[0];
  673|      2|    if (!noptargs) {
  ------------------
  |  Branch (673:9): [True: 0, False: 2]
  ------------------
  674|      0|        goto skip_optional_pos;
  675|      0|    }
  676|      2|    if (args[1]) {
  ------------------
  |  Branch (676:9): [True: 2, False: 0]
  ------------------
  677|      2|        globals = args[1];
  678|      2|        if (!--noptargs) {
  ------------------
  |  Branch (678:13): [True: 2, False: 0]
  ------------------
  679|      2|            goto skip_optional_pos;
  680|      2|        }
  681|      2|    }
  682|      0|    locals = args[2];
  683|      2|skip_optional_pos:
  684|      2|    return_value = builtin_eval_impl(module, source, globals, locals);
  685|       |
  686|      2|exit:
  687|      2|    return return_value;
  688|      2|}
bltinmodule.c:builtin_exec:
  713|     51|{
  714|     51|    PyObject *return_value = NULL;
  715|     51|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  716|       |
  717|     51|    #define NUM_KEYWORDS 3
  718|     51|    static struct {
  719|     51|        PyGC_Head _this_is_not_used;
  720|     51|        PyObject_VAR_HEAD
  721|     51|        Py_hash_t ob_hash;
  722|     51|        PyObject *ob_item[NUM_KEYWORDS];
  723|     51|    } _kwtuple = {
  724|     51|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     51|    {                                     \
  |  |   98|     51|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     51|    {                               \
  |  |  |  |   91|     51|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     51|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     51|#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|     51|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     51|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     51|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     51|        (type)                      \
  |  |  |  |   93|     51|    },
  |  |  ------------------
  |  |   99|     51|        (size)                            \
  |  |  100|     51|    },
  ------------------
  725|     51|        .ob_hash = -1,
  726|     51|        .ob_item = { &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(closure), },
  ------------------
  |  |  951|     51|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     51|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     51|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(closure), },
  ------------------
  |  |  951|     51|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     51|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     51|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(closure), },
  ------------------
  |  |  951|     51|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     51|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     51|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|     51|    };
  728|     51|    #undef NUM_KEYWORDS
  729|     51|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  730|       |
  731|       |    #else  // !Py_BUILD_CORE
  732|       |    #  define KWTUPLE NULL
  733|       |    #endif  // !Py_BUILD_CORE
  734|       |
  735|     51|    static const char * const _keywords[] = {"", "globals", "locals", "closure", NULL};
  736|     51|    static _PyArg_Parser _parser = {
  737|     51|        .keywords = _keywords,
  738|     51|        .fname = "exec",
  739|     51|        .kwtuple = KWTUPLE,
  ------------------
  |  |  729|     51|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  740|     51|    };
  741|     51|    #undef KWTUPLE
  742|     51|    PyObject *argsbuf[4];
  743|     51|    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 (743:36): [True: 0, False: 51]
  ------------------
  744|     51|    PyObject *source;
  745|     51|    PyObject *globals = Py_None;
  ------------------
  |  |  616|     51|#  define Py_None (&_Py_NoneStruct)
  ------------------
  746|     51|    PyObject *locals = Py_None;
  ------------------
  |  |  616|     51|#  define Py_None (&_Py_NoneStruct)
  ------------------
  747|     51|    PyObject *closure = NULL;
  748|       |
  749|     51|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|     51|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 51, False: 0]
  |  |  ------------------
  |  |   91|     51|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 51, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 51]
  |  |  |  Branch (91:43): [True: 51, False: 0]
  |  |  |  Branch (91:67): [True: 51, False: 0]
  |  |  ------------------
  |  |   92|     51|      (args) : \
  |  |   93|     51|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  750|     51|            /*minpos*/ 1, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  751|     51|    if (!args) {
  ------------------
  |  Branch (751:9): [True: 0, False: 51]
  ------------------
  752|      0|        goto exit;
  753|      0|    }
  754|     51|    source = args[0];
  755|     51|    if (!noptargs) {
  ------------------
  |  Branch (755:9): [True: 0, False: 51]
  ------------------
  756|      0|        goto skip_optional_pos;
  757|      0|    }
  758|     51|    if (args[1]) {
  ------------------
  |  Branch (758:9): [True: 51, False: 0]
  ------------------
  759|     51|        globals = args[1];
  760|     51|        if (!--noptargs) {
  ------------------
  |  Branch (760:13): [True: 51, False: 0]
  ------------------
  761|     51|            goto skip_optional_pos;
  762|     51|        }
  763|     51|    }
  764|      0|    if (args[2]) {
  ------------------
  |  Branch (764:9): [True: 0, False: 0]
  ------------------
  765|      0|        locals = args[2];
  766|      0|        if (!--noptargs) {
  ------------------
  |  Branch (766:13): [True: 0, False: 0]
  ------------------
  767|      0|            goto skip_optional_pos;
  768|      0|        }
  769|      0|    }
  770|     51|skip_optional_pos:
  771|     51|    if (!noptargs) {
  ------------------
  |  Branch (771:9): [True: 51, False: 0]
  ------------------
  772|     51|        goto skip_optional_kwonly;
  773|     51|    }
  774|      0|    closure = args[3];
  775|     51|skip_optional_kwonly:
  776|     51|    return_value = builtin_exec_impl(module, source, globals, locals, closure);
  777|       |
  778|     51|exit:
  779|     51|    return return_value;
  780|     51|}
bltinmodule.c:builtin_globals:
  799|     52|{
  800|     52|    return builtin_globals_impl(module);
  801|     52|}
bltinmodule.c:builtin_hasattr:
  819|    292|{
  820|    292|    PyObject *return_value = NULL;
  821|    292|    PyObject *obj;
  822|    292|    PyObject *name;
  823|       |
  824|    292|    if (!_PyArg_CheckPositional("hasattr", nargs, 2, 2)) {
  ------------------
  |  |   38|    292|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 292, False: 0]
  |  |  |  Branch (38:27): [True: 292, False: 0]
  |  |  ------------------
  |  |   39|    292|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  825|      0|        goto exit;
  826|      0|    }
  827|    292|    obj = args[0];
  828|    292|    name = args[1];
  829|    292|    return_value = builtin_hasattr_impl(module, obj, name);
  830|       |
  831|    292|exit:
  832|    292|    return return_value;
  833|    292|}
bltinmodule.c:builtin_isinstance:
 1509|     67|{
 1510|     67|    PyObject *return_value = NULL;
 1511|     67|    PyObject *obj;
 1512|     67|    PyObject *class_or_tuple;
 1513|       |
 1514|     67|    if (!_PyArg_CheckPositional("isinstance", nargs, 2, 2)) {
  ------------------
  |  |   38|     67|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 67, False: 0]
  |  |  |  Branch (38:27): [True: 67, False: 0]
  |  |  ------------------
  |  |   39|     67|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1515|      0|        goto exit;
 1516|      0|    }
 1517|     67|    obj = args[0];
 1518|     67|    class_or_tuple = args[1];
 1519|     67|    return_value = builtin_isinstance_impl(module, obj, class_or_tuple);
 1520|       |
 1521|     67|exit:
 1522|     67|    return return_value;
 1523|     67|}
bltinmodule.c:builtin_issubclass:
 1544|     10|{
 1545|     10|    PyObject *return_value = NULL;
 1546|     10|    PyObject *cls;
 1547|     10|    PyObject *class_or_tuple;
 1548|       |
 1549|     10|    if (!_PyArg_CheckPositional("issubclass", nargs, 2, 2)) {
  ------------------
  |  |   38|     10|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 10, False: 0]
  |  |  |  Branch (38:27): [True: 10, False: 0]
  |  |  ------------------
  |  |   39|     10|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1550|      0|        goto exit;
 1551|      0|    }
 1552|     10|    cls = args[0];
 1553|     10|    class_or_tuple = args[1];
 1554|     10|    return_value = builtin_issubclass_impl(module, cls, class_or_tuple);
 1555|       |
 1556|     10|exit:
 1557|     10|    return return_value;
 1558|     10|}
bltinmodule.c:builtin_iter:
  972|     26|{
  973|     26|    PyObject *return_value = NULL;
  974|     26|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  975|       |
  976|     26|    #define NUM_KEYWORDS 2
  977|     26|    static struct {
  978|     26|        PyGC_Head _this_is_not_used;
  979|     26|        PyObject_VAR_HEAD
  980|     26|        Py_hash_t ob_hash;
  981|     26|        PyObject *ob_item[NUM_KEYWORDS];
  982|     26|    } _kwtuple = {
  983|     26|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     26|    {                                     \
  |  |   98|     26|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     26|    {                               \
  |  |  |  |   91|     26|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     26|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     26|#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|     26|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     26|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     26|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     26|        (type)                      \
  |  |  |  |   93|     26|    },
  |  |  ------------------
  |  |   99|     26|        (size)                            \
  |  |  100|     26|    },
  ------------------
  984|     26|        .ob_hash = -1,
  985|     26|        .ob_item = { &_Py_ID(stop_value), &_Py_ID(stop_exception), },
  ------------------
  |  |  951|     26|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     26|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     26|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(stop_value), &_Py_ID(stop_exception), },
  ------------------
  |  |  951|     26|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     26|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     26|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  986|     26|    };
  987|     26|    #undef NUM_KEYWORDS
  988|     26|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  989|       |
  990|       |    #else  // !Py_BUILD_CORE
  991|       |    #  define KWTUPLE NULL
  992|       |    #endif  // !Py_BUILD_CORE
  993|       |
  994|     26|    static const char * const _keywords[] = {"", "stop_value", "stop_exception", NULL};
  995|     26|    static _PyArg_Parser _parser = {
  996|     26|        .keywords = _keywords,
  997|     26|        .fname = "iter",
  998|     26|        .kwtuple = KWTUPLE,
  ------------------
  |  |  988|     26|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  999|     26|    };
 1000|     26|    #undef KWTUPLE
 1001|     26|    PyObject *argsbuf[3];
 1002|     26|    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 (1002:36): [True: 0, False: 26]
  ------------------
 1003|     26|    PyObject *object;
 1004|     26|    PyObject *stop_value = NULL;
 1005|     26|    PyObject *stop_exception = NULL;
 1006|       |
 1007|     26|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|     26|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 26, False: 0]
  |  |  ------------------
  |  |   91|     26|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 26, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 26]
  |  |  |  Branch (91:43): [True: 26, False: 0]
  |  |  |  Branch (91:67): [True: 26, False: 0]
  |  |  ------------------
  |  |   92|     26|      (args) : \
  |  |   93|     26|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1008|     26|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1009|     26|    if (!args) {
  ------------------
  |  Branch (1009:9): [True: 0, False: 26]
  ------------------
 1010|      0|        goto exit;
 1011|      0|    }
 1012|     26|    object = args[0];
 1013|     26|    if (!noptargs) {
  ------------------
  |  Branch (1013:9): [True: 26, False: 0]
  ------------------
 1014|     26|        goto skip_optional_pos;
 1015|     26|    }
 1016|      0|    if (args[1]) {
  ------------------
  |  Branch (1016:9): [True: 0, False: 0]
  ------------------
 1017|      0|        stop_value = args[1];
 1018|      0|        if (!--noptargs) {
  ------------------
  |  Branch (1018:13): [True: 0, False: 0]
  ------------------
 1019|      0|            goto skip_optional_pos;
 1020|      0|        }
 1021|      0|    }
 1022|     26|skip_optional_pos:
 1023|     26|    if (!noptargs) {
  ------------------
  |  Branch (1023:9): [True: 26, False: 0]
  ------------------
 1024|     26|        goto skip_optional_kwonly;
 1025|     26|    }
 1026|      0|    stop_exception = args[2];
 1027|     26|skip_optional_kwonly:
 1028|     26|    return_value = builtin_iter_impl(module, object, stop_value, stop_exception);
 1029|       |
 1030|     26|exit:
 1031|     26|    return return_value;
 1032|     26|}
bltinmodule.c:builtin_setattr:
  877|    148|{
  878|    148|    PyObject *return_value = NULL;
  879|    148|    PyObject *obj;
  880|    148|    PyObject *name;
  881|    148|    PyObject *value;
  882|       |
  883|    148|    if (!_PyArg_CheckPositional("setattr", nargs, 3, 3)) {
  ------------------
  |  |   38|    148|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 148, False: 0]
  |  |  |  Branch (38:27): [True: 148, False: 0]
  |  |  ------------------
  |  |   39|    148|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  884|      0|        goto exit;
  885|      0|    }
  886|    148|    obj = args[0];
  887|    148|    name = args[1];
  888|    148|    value = args[2];
  889|    148|    return_value = builtin_setattr_impl(module, obj, name, value);
  890|       |
  891|    148|exit:
  892|    148|    return return_value;
  893|    148|}
bltinmodule.c:builtin_vars:
 1403|      4|{
 1404|      4|    PyObject *return_value = NULL;
 1405|      4|    PyObject *v = NULL;
 1406|       |
 1407|      4|    if (!_PyArg_CheckPositional("vars", nargs, 0, 1)) {
  ------------------
  |  |   38|      4|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 4, False: 0]
  |  |  |  Branch (38:27): [True: 4, False: 0]
  |  |  ------------------
  |  |   39|      4|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1408|      0|        goto exit;
 1409|      0|    }
 1410|      4|    if (nargs < 1) {
  ------------------
  |  Branch (1410:9): [True: 0, False: 4]
  ------------------
 1411|      0|        goto skip_optional;
 1412|      0|    }
 1413|      4|    v = args[0];
 1414|      4|skip_optional:
 1415|      4|    return_value = builtin_vars_impl(module, v);
 1416|       |
 1417|      4|exit:
 1418|      4|    return return_value;
 1419|      4|}

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

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

sysmodule.c:sys_audit:
   84|     81|{
   85|     81|    PyObject *return_value = NULL;
   86|     81|    const char *event;
   87|     81|    PyObject *__clinic_args = NULL;
   88|       |
   89|     81|    if (!_PyArg_CheckPositional("audit", nargs, 1, PY_SSIZE_T_MAX)) {
  ------------------
  |  |   38|     81|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 81, False: 0]
  |  |  |  Branch (38:27): [True: 81, False: 0]
  |  |  ------------------
  |  |   39|     81|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   90|      0|        goto exit;
   91|      0|    }
   92|     81|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|     81|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     81|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (92:9): [True: 0, False: 81]
  ------------------
   93|      0|        _PyArg_BadArgument("audit", "argument 1", "str", args[0]);
   94|      0|        goto exit;
   95|      0|    }
   96|     81|    event = _PyUnicode_AsUTF8NoNUL(args[0]);
   97|     81|    if (event == NULL) {
  ------------------
  |  Branch (97:9): [True: 0, False: 81]
  ------------------
   98|      0|        goto exit;
   99|      0|    }
  100|     81|    __clinic_args = PyTuple_FromArray(args + 1, nargs - 1);
  101|     81|    if (__clinic_args == NULL) {
  ------------------
  |  Branch (101:9): [True: 0, False: 81]
  ------------------
  102|      0|        goto exit;
  103|      0|    }
  104|     81|    return_value = sys_audit_impl(module, event, __clinic_args);
  105|       |
  106|     81|exit:
  107|       |    /* Cleanup for args */
  108|     81|    Py_XDECREF(__clinic_args);
  ------------------
  |  |  621|     81|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  109|       |
  110|     81|    return return_value;
  111|     81|}
sysmodule.c:sys_getfilesystemencoding:
  284|      4|{
  285|      4|    return sys_getfilesystemencoding_impl(module);
  286|      4|}
sysmodule.c:sys_getfilesystemencodeerrors:
  302|      2|{
  303|      2|    return sys_getfilesystemencodeerrors_impl(module);
  304|      2|}
sysmodule.c:sys__getframe:
 1255|      2|{
 1256|      2|    PyObject *return_value = NULL;
 1257|      2|    int depth = 0;
 1258|       |
 1259|      2|    if (!_PyArg_CheckPositional("_getframe", nargs, 0, 1)) {
  ------------------
  |  |   38|      2|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 2, False: 0]
  |  |  |  Branch (38:27): [True: 2, False: 0]
  |  |  ------------------
  |  |   39|      2|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1260|      0|        goto exit;
 1261|      0|    }
 1262|      2|    if (nargs < 1) {
  ------------------
  |  Branch (1262:9): [True: 2, False: 0]
  ------------------
 1263|      2|        goto skip_optional;
 1264|      2|    }
 1265|      0|    depth = PyLong_AsInt(args[0]);
 1266|      0|    if (depth == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1266:9): [True: 0, False: 0]
  |  Branch (1266:24): [True: 0, False: 0]
  ------------------
 1267|      0|        goto exit;
 1268|      0|    }
 1269|      2|skip_optional:
 1270|      2|    return_value = sys__getframe_impl(module, depth);
 1271|       |
 1272|      2|exit:
 1273|      2|    return return_value;
 1274|      2|}
sysmodule.c:sys__getframemodulename:
 1798|      2|{
 1799|      2|    PyObject *return_value = NULL;
 1800|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1801|       |
 1802|      2|    #define NUM_KEYWORDS 1
 1803|      2|    static struct {
 1804|      2|        PyGC_Head _this_is_not_used;
 1805|      2|        PyObject_VAR_HEAD
 1806|      2|        Py_hash_t ob_hash;
 1807|      2|        PyObject *ob_item[NUM_KEYWORDS];
 1808|      2|    } _kwtuple = {
 1809|      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|    },
  ------------------
 1810|      2|        .ob_hash = -1,
 1811|      2|        .ob_item = { &_Py_ID(depth), },
  ------------------
  |  |  951|      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|    };
 1813|      2|    #undef NUM_KEYWORDS
 1814|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1815|       |
 1816|       |    #else  // !Py_BUILD_CORE
 1817|       |    #  define KWTUPLE NULL
 1818|       |    #endif  // !Py_BUILD_CORE
 1819|       |
 1820|      2|    static const char * const _keywords[] = {"depth", NULL};
 1821|      2|    static _PyArg_Parser _parser = {
 1822|      2|        .keywords = _keywords,
 1823|      2|        .fname = "_getframemodulename",
 1824|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1814|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1825|      2|    };
 1826|      2|    #undef KWTUPLE
 1827|      2|    PyObject *argsbuf[1];
 1828|      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 (1828:36): [True: 0, False: 2]
  ------------------
 1829|      2|    int depth = 0;
 1830|       |
 1831|      2|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 2, False: 0]
  |  |  ------------------
  |  |   91|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 2, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 2]
  |  |  |  Branch (91:43): [True: 2, False: 0]
  |  |  |  Branch (91:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   92|      2|      (args) : \
  |  |   93|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1832|      2|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1833|      2|    if (!args) {
  ------------------
  |  Branch (1833:9): [True: 0, False: 2]
  ------------------
 1834|      0|        goto exit;
 1835|      0|    }
 1836|      2|    if (!noptargs) {
  ------------------
  |  Branch (1836:9): [True: 0, False: 2]
  ------------------
 1837|      0|        goto skip_optional_pos;
 1838|      0|    }
 1839|      2|    depth = PyLong_AsInt(args[0]);
 1840|      2|    if (depth == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1840:9): [True: 0, False: 2]
  |  Branch (1840:24): [True: 0, False: 0]
  ------------------
 1841|      0|        goto exit;
 1842|      0|    }
 1843|      2|skip_optional_pos:
 1844|      2|    return_value = sys__getframemodulename_impl(module, depth);
 1845|       |
 1846|      2|exit:
 1847|      2|    return return_value;
 1848|      2|}
sysmodule.c:sys_intern:
  324|     20|{
  325|     20|    PyObject *return_value = NULL;
  326|     20|    PyObject *s;
  327|       |
  328|     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 (328:9): [True: 0, False: 20]
  ------------------
  329|      0|        _PyArg_BadArgument("intern", "argument", "str", arg);
  330|      0|        goto exit;
  331|      0|    }
  332|     20|    s = arg;
  333|     20|    return_value = sys_intern_impl(module, s);
  334|       |
  335|     20|exit:
  336|     20|    return return_value;
  337|     20|}
sysmodule.c:sys__get_cpu_count_config:
 1864|      2|{
 1865|      2|    PyObject *return_value = NULL;
 1866|      2|    int _return_value;
 1867|       |
 1868|      2|    _return_value = sys__get_cpu_count_config_impl(module);
 1869|      2|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (1869:9): [True: 2, False: 0]
  |  Branch (1869:34): [True: 0, False: 2]
  ------------------
 1870|      0|        goto exit;
 1871|      0|    }
 1872|      2|    return_value = PyLong_FromLong((long)_return_value);
 1873|       |
 1874|      2|exit:
 1875|      2|    return return_value;
 1876|      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);
  ------------------
  |  |  207|      4|#define FT_MUTEX_LOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (207: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);
  ------------------
  |  |  209|      4|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (209:44): [Folded, False: 4]
  |  |  ------------------
  ------------------
   48|       |
   49|      4|    return ret;
   50|       |
   51|      0| onError:
   52|      0|    return -1;
   53|      4|}
_PyCodec_Lookup:
  135|     12|{
  136|     12|    if (encoding == NULL) {
  ------------------
  |  Branch (136:9): [True: 0, False: 12]
  ------------------
  137|      0|        PyErr_BadArgument();
  138|      0|        return NULL;
  139|      0|    }
  140|       |
  141|     12|    PyInterpreterState *interp = _PyInterpreterState_GET();
  142|     12|    if (!interp->codecs.initialized) {
  ------------------
  |  Branch (142:9): [True: 0, False: 12]
  ------------------
  143|      0|        PyErr_SetString(PyExc_SystemError, "Codecs are not initialized");
  144|      0|        return NULL;
  145|      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|     12|    PyObject *v = normalizestring(encoding);
  151|     12|    if (v == NULL) {
  ------------------
  |  Branch (151:9): [True: 0, False: 12]
  ------------------
  152|      0|        return NULL;
  153|      0|    }
  154|       |
  155|       |    /* Intern the string. We'll make it immortal later if lookup succeeds. */
  156|     12|    _PyUnicode_InternMortal(interp, &v);
  157|       |
  158|       |    /* First, try to lookup the name in the registry dictionary */
  159|     12|    PyObject *result;
  160|     12|    if (PyDict_GetItemRef(interp->codecs.search_cache, v, &result) < 0) {
  ------------------
  |  Branch (160:9): [True: 0, False: 12]
  ------------------
  161|      0|        goto onError;
  162|      0|    }
  163|     12|    if (result != NULL) {
  ------------------
  |  Branch (163:9): [True: 10, False: 2]
  ------------------
  164|     10|        Py_DECREF(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|     10|        return result;
  166|     10|    }
  167|       |
  168|       |    /* Next, scan the search functions in order of registration */
  169|      2|    const Py_ssize_t len = PyList_Size(interp->codecs.search_path);
  170|      2|    if (len < 0)
  ------------------
  |  Branch (170:9): [True: 0, False: 2]
  ------------------
  171|      0|        goto onError;
  172|      2|    if (len == 0) {
  ------------------
  |  Branch (172:9): [True: 0, False: 2]
  ------------------
  173|      0|        PyErr_SetString(PyExc_LookupError,
  174|      0|                        "no codec search functions registered: "
  175|      0|                        "can't find encoding");
  176|      0|        goto onError;
  177|      0|    }
  178|       |
  179|      2|    Py_ssize_t i;
  180|      2|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (180:17): [True: 2, False: 0]
  ------------------
  181|      2|        PyObject *func;
  182|       |
  183|      2|        func = PyList_GetItemRef(interp->codecs.search_path, i);
  184|      2|        if (func == NULL)
  ------------------
  |  Branch (184:13): [True: 0, False: 2]
  ------------------
  185|      0|            goto onError;
  186|      2|        result = PyObject_CallOneArg(func, v);
  187|      2|        Py_DECREF(func);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|      2|        if (result == NULL)
  ------------------
  |  Branch (188:13): [True: 0, False: 2]
  ------------------
  189|      0|            goto onError;
  190|      2|        if (result == Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (190:13): [True: 0, False: 2]
  ------------------
  191|      0|            Py_CLEAR(result);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  192|      0|            continue;
  193|      0|        }
  194|      2|        if (!PyTuple_Check(result) || PyTuple_GET_SIZE(result) != 4) {
  ------------------
  |  |   27|      2|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                      if (!PyTuple_Check(result) || PyTuple_GET_SIZE(result) != 4) {
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (194:13): [True: 0, False: 2]
  |  Branch (194:39): [True: 0, False: 2]
  ------------------
  195|      0|            PyErr_SetString(PyExc_TypeError,
  196|      0|                            "codec search functions must return 4-tuples");
  197|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  198|      0|            goto onError;
  199|      0|        }
  200|      2|        break;
  201|      2|    }
  202|      2|    if (result == NULL) {
  ------------------
  |  Branch (202:9): [True: 0, False: 2]
  ------------------
  203|       |        /* XXX Perhaps we should cache misses too ? */
  204|      0|        PyErr_Format(PyExc_LookupError,
  205|      0|                     "unknown encoding: %s", encoding);
  206|      0|        goto onError;
  207|      0|    }
  208|       |
  209|      2|    _PyUnicode_InternImmortal(interp, &v);
  210|       |
  211|       |    /* Cache and return the result */
  212|      2|    if (PyDict_SetItem(interp->codecs.search_cache, v, result) < 0) {
  ------------------
  |  Branch (212:9): [True: 0, False: 2]
  ------------------
  213|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|      0|        goto onError;
  215|      0|    }
  216|      2|    Py_DECREF(v);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  217|      2|    return result;
  218|       |
  219|      0| onError:
  220|      0|    Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  221|       |    return NULL;
  222|      2|}
_PyCodecInfo_GetIncrementalDecoder:
  342|      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|      6|{
  517|      6|    PyObject *codec;
  518|      6|    PyObject *attr;
  519|      6|    int is_text_codec;
  520|       |
  521|      6|    codec = _PyCodec_Lookup(encoding);
  522|      6|    if (codec == NULL)
  ------------------
  |  Branch (522:9): [True: 0, False: 6]
  ------------------
  523|      0|        return NULL;
  524|       |
  525|       |    /* Backwards compatibility: assume any raw tuple describes a text
  526|       |     * encoding, and the same for anything lacking the private
  527|       |     * attribute.
  528|       |     */
  529|      6|    if (!PyTuple_CheckExact(codec)) {
  ------------------
  |  |   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 (529:9): [True: 6, False: 0]
  ------------------
  530|      6|        if (PyObject_GetOptionalAttr(codec, &_Py_ID(_is_text_encoding), &attr) < 0) {
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (530:13): [True: 0, False: 6]
  ------------------
  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|      6|        if (attr != NULL) {
  ------------------
  |  Branch (534:13): [True: 6, False: 0]
  ------------------
  535|      6|            is_text_codec = PyObject_IsTrue(attr);
  536|      6|            Py_DECREF(attr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      6|            if (is_text_codec <= 0) {
  ------------------
  |  Branch (537:17): [True: 0, False: 6]
  ------------------
  538|      0|                Py_DECREF(codec);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  539|      0|                if (!is_text_codec) {
  ------------------
  |  Branch (539:21): [True: 0, False: 0]
  ------------------
  540|      0|                    if (alternate_command != NULL) {
  ------------------
  |  Branch (540:25): [True: 0, False: 0]
  ------------------
  541|      0|                        PyErr_Format(PyExc_LookupError,
  542|      0|                                     "'%.400s' is not a text encoding; "
  543|      0|                                     "use %s to handle arbitrary codecs",
  544|      0|                                     encoding, alternate_command);
  545|      0|                    }
  546|      0|                    else {
  547|      0|                        PyErr_Format(PyExc_LookupError,
  548|      0|                                     "'%.400s' is not a text encoding",
  549|      0|                                     encoding);
  550|      0|                    }
  551|      0|                }
  552|      0|                return NULL;
  553|      0|            }
  554|      6|        }
  555|      6|    }
  556|       |
  557|       |    /* This appears to be a valid text encoding */
  558|      6|    return codec;
  559|      6|}
PyCodec_LookupError:
  651|     18|{
  652|     18|    PyInterpreterState *interp = _PyInterpreterState_GET();
  653|     18|    assert(interp->codecs.initialized);
  ------------------
  |  Branch (653:5): [True: 18, False: 0]
  ------------------
  654|       |
  655|     18|    if (name==NULL)
  ------------------
  |  Branch (655:9): [True: 6, False: 12]
  ------------------
  656|      6|        name = "strict";
  657|     18|    PyObject *handler;
  658|     18|    if (PyDict_GetItemStringRef(interp->codecs.error_registry, name, &handler) < 0) {
  ------------------
  |  Branch (658:9): [True: 0, False: 18]
  ------------------
  659|      0|        return NULL;
  660|      0|    }
  661|     18|    if (handler == NULL) {
  ------------------
  |  Branch (661:9): [True: 0, False: 18]
  ------------------
  662|      0|        PyErr_Format(PyExc_LookupError, "unknown error handler name '%.400s'", name);
  663|      0|        return NULL;
  664|      0|    }
  665|     18|    return handler;
  666|     18|}
PyCodec_StrictErrors:
  782|      6|{
  783|      6|    if (PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|      6|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 6, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  784|      6|        PyErr_SetObject(PyExceptionInstance_Class(exc), exc);
  ------------------
  |  |   69|      6|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  785|      6|    }
  786|      0|    else {
  787|      0|        PyErr_SetString(PyExc_TypeError, "codec must pass exception instance");
  788|      0|    }
  789|       |    return NULL;
  790|      6|}
_PyCodec_InitRegistry:
 1572|      2|{
 1573|      2|    static struct {
 1574|      2|        const char *name;
 1575|      2|        PyMethodDef def;
 1576|      2|    } methods[] =
 1577|      2|    {
 1578|      2|        {
 1579|      2|            "strict",
 1580|      2|            {
 1581|      2|                "strict_errors",
 1582|      2|                strict_errors,
 1583|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1584|      2|                PyDoc_STR("Implements the 'strict' error handling, which "
  ------------------
  |  |  240|      2|#define PyDoc_STR(str) str
  ------------------
 1585|      2|                          "raises a UnicodeError on coding errors.")
 1586|      2|            }
 1587|      2|        },
 1588|      2|        {
 1589|      2|            "ignore",
 1590|      2|            {
 1591|      2|                "ignore_errors",
 1592|      2|                ignore_errors,
 1593|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1594|      2|                PyDoc_STR("Implements the 'ignore' error handling, which "
  ------------------
  |  |  240|      2|#define PyDoc_STR(str) str
  ------------------
 1595|      2|                          "ignores malformed data and continues.")
 1596|      2|            }
 1597|      2|        },
 1598|      2|        {
 1599|      2|            "replace",
 1600|      2|            {
 1601|      2|                "replace_errors",
 1602|      2|                replace_errors,
 1603|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1604|      2|                PyDoc_STR("Implements the 'replace' error handling, which "
  ------------------
  |  |  240|      2|#define PyDoc_STR(str) str
  ------------------
 1605|      2|                          "replaces malformed data with a replacement marker.")
 1606|      2|            }
 1607|      2|        },
 1608|      2|        {
 1609|      2|            "xmlcharrefreplace",
 1610|      2|            {
 1611|      2|                "xmlcharrefreplace_errors",
 1612|      2|                xmlcharrefreplace_errors,
 1613|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1614|      2|                PyDoc_STR("Implements the 'xmlcharrefreplace' error handling, "
  ------------------
  |  |  240|      2|#define PyDoc_STR(str) str
  ------------------
 1615|      2|                          "which replaces an unencodable character with the "
 1616|      2|                          "appropriate XML character reference.")
 1617|      2|            }
 1618|      2|        },
 1619|      2|        {
 1620|      2|            "backslashreplace",
 1621|      2|            {
 1622|      2|                "backslashreplace_errors",
 1623|      2|                backslashreplace_errors,
 1624|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1625|      2|                PyDoc_STR("Implements the 'backslashreplace' error handling, "
  ------------------
  |  |  240|      2|#define PyDoc_STR(str) str
  ------------------
 1626|      2|                          "which replaces malformed data with a backslashed "
 1627|      2|                          "escape sequence.")
 1628|      2|            }
 1629|      2|        },
 1630|      2|        {
 1631|      2|            "namereplace",
 1632|      2|            {
 1633|      2|                "namereplace_errors",
 1634|      2|                namereplace_errors,
 1635|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1636|      2|                PyDoc_STR("Implements the 'namereplace' error handling, "
  ------------------
  |  |  240|      2|#define PyDoc_STR(str) str
  ------------------
 1637|      2|                          "which replaces an unencodable character with a "
 1638|      2|                          "\\N{...} escape sequence.")
 1639|      2|            }
 1640|      2|        },
 1641|      2|        {
 1642|      2|            "surrogatepass",
 1643|      2|            {
 1644|      2|                "surrogatepass",
 1645|      2|                surrogatepass_errors,
 1646|      2|                METH_O
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1647|      2|            }
 1648|      2|        },
 1649|      2|        {
 1650|      2|            "surrogateescape",
 1651|      2|            {
 1652|      2|                "surrogateescape",
 1653|      2|                surrogateescape_errors,
 1654|      2|                METH_O
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1655|      2|            }
 1656|      2|        }
 1657|      2|    };
 1658|       |    // ensure that the built-in error handlers' names are kept in sync
 1659|      2|    assert(Py_ARRAY_LENGTH(methods) == Py_ARRAY_LENGTH(codecs_builtin_error_handlers));
  ------------------
  |  Branch (1659:5): [True: 2, Folded]
  ------------------
 1660|       |
 1661|      2|    assert(interp->codecs.initialized == 0);
  ------------------
  |  Branch (1661:5): [True: 2, False: 0]
  ------------------
 1662|      2|    interp->codecs.search_path = PyList_New(0);
 1663|      2|    if (interp->codecs.search_path == NULL) {
  ------------------
  |  Branch (1663:9): [True: 0, False: 2]
  ------------------
 1664|      0|        return PyStatus_NoMemory();
 1665|      0|    }
 1666|      2|    interp->codecs.search_cache = PyDict_New();
 1667|      2|    if (interp->codecs.search_cache == NULL) {
  ------------------
  |  Branch (1667:9): [True: 0, False: 2]
  ------------------
 1668|      0|        return PyStatus_NoMemory();
 1669|      0|    }
 1670|      2|    interp->codecs.error_registry = PyDict_New();
 1671|      2|    if (interp->codecs.error_registry == NULL) {
  ------------------
  |  Branch (1671:9): [True: 0, False: 2]
  ------------------
 1672|      0|        return PyStatus_NoMemory();
 1673|      0|    }
 1674|     18|    for (size_t i = 0; i < Py_ARRAY_LENGTH(methods); ++i) {
  ------------------
  |  |  232|     18|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (1674:24): [True: 16, False: 2]
  ------------------
 1675|     16|        PyObject *func = PyCFunction_NewEx(&methods[i].def, NULL, NULL);
  ------------------
  |  |   87|     16|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
 1676|     16|        if (func == NULL) {
  ------------------
  |  Branch (1676:13): [True: 0, False: 16]
  ------------------
 1677|      0|            return PyStatus_NoMemory();
 1678|      0|        }
 1679|       |
 1680|     16|        int res = PyDict_SetItemString(interp->codecs.error_registry,
 1681|     16|                                       methods[i].name, func);
 1682|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1683|     16|        if (res < 0) {
  ------------------
  |  Branch (1683:13): [True: 0, False: 16]
  ------------------
 1684|      0|            return PyStatus_Error("Failed to insert into codec error registry");
 1685|      0|        }
 1686|     16|    }
 1687|       |
 1688|      2|    interp->codecs.initialized = 1;
 1689|       |
 1690|       |    // Importing `encodings' will call back into this module to register codec
 1691|       |    // search functions, so this is done after everything else is initialized.
 1692|      2|    PyObject *mod = PyImport_ImportModule("encodings");
 1693|      2|    if (mod == NULL) {
  ------------------
  |  Branch (1693:9): [True: 0, False: 2]
  ------------------
 1694|      0|        PyThreadState *tstate = _PyThreadState_GET();
 1695|      0|        _Py_DumpPathConfig(tstate);
 1696|      0|        return PyStatus_Error("Failed to import encodings module. "
 1697|      0|                              "Your environment probably has misconfigured variables! "
 1698|      0|                              "Please check PYTHONHOME otherwise refer to `--help-env`");
 1699|      0|    }
 1700|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1701|       |
 1702|      2|    return PyStatus_Ok();
 1703|      2|}
codecs.c:normalizestring:
   90|     12|{
   91|     12|    size_t i;
   92|     12|    size_t len = strlen(string);
   93|     12|    char *p;
   94|     12|    PyObject *v;
   95|       |
   96|     12|    if (len > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|     12|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (96:9): [True: 0, False: 12]
  ------------------
   97|      0|        PyErr_SetString(PyExc_OverflowError, "string is too large");
   98|      0|        return NULL;
   99|      0|    }
  100|       |
  101|     12|    p = PyMem_Malloc(len + 1);
  102|     12|    if (p == NULL)
  ------------------
  |  Branch (102:9): [True: 0, False: 12]
  ------------------
  103|      0|        return PyErr_NoMemory();
  104|     72|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (104:17): [True: 60, False: 12]
  ------------------
  105|     60|        char ch = string[i];
  106|     60|        if (ch == ' ')
  ------------------
  |  Branch (106:13): [True: 0, False: 60]
  ------------------
  107|      0|            ch = '-';
  108|     60|        else
  109|     60|            ch = Py_TOLOWER(Py_CHARMASK(ch));
  ------------------
  |  |   32|     60|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|     60|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  110|     60|        p[i] = ch;
  111|     60|    }
  112|     12|    p[i] = '\0';
  113|     12|    v = PyUnicode_FromString(p);
  114|     12|    PyMem_Free(p);
  115|     12|    return v;
  116|     12|}
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:strict_errors:
 1516|      6|{
 1517|      6|    return PyCodec_StrictErrors(exc);
 1518|      6|}

_Py_CArray_Init:
  113|     11|_Py_CArray_Init(_Py_c_array_t* array, int item_size, int initial_num_entries) {
  114|     11|    memset(array, 0, sizeof(_Py_c_array_t));
  115|     11|    array->item_size = item_size;
  116|     11|    array->initial_num_entries = initial_num_entries;
  117|     11|    return 0;
  118|     11|}
_Py_CArray_Fini:
  122|     11|{
  123|     11|    if (array->array) {
  ------------------
  |  Branch (123:9): [True: 0, False: 11]
  ------------------
  124|      0|        PyMem_Free(array->array);
  125|      0|        array->allocated_entries = 0;
  126|      0|    }
  127|     11|}
_Py_CArray_EnsureCapacity:
  131|    104|{
  132|    104|    void *arr = c_array->array;
  133|    104|    int alloc = c_array->allocated_entries;
  134|    104|    if (arr == NULL) {
  ------------------
  |  Branch (134:9): [True: 20, False: 84]
  ------------------
  135|     20|        int new_alloc = c_array->initial_num_entries;
  136|     20|        if (idx >= new_alloc) {
  ------------------
  |  Branch (136:13): [True: 0, False: 20]
  ------------------
  137|      0|            new_alloc = idx + c_array->initial_num_entries;
  138|      0|        }
  139|     20|        arr = PyMem_Calloc(new_alloc, c_array->item_size);
  140|     20|        if (arr == NULL) {
  ------------------
  |  Branch (140:13): [True: 0, False: 20]
  ------------------
  141|      0|            PyErr_NoMemory();
  142|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  143|      0|        }
  144|     20|        alloc = new_alloc;
  145|     20|    }
  146|     84|    else if (idx >= alloc) {
  ------------------
  |  Branch (146:14): [True: 0, False: 84]
  ------------------
  147|      0|        size_t oldsize = alloc * c_array->item_size;
  148|      0|        int new_alloc = alloc << 1;
  149|      0|        if (idx >= new_alloc) {
  ------------------
  |  Branch (149:13): [True: 0, False: 0]
  ------------------
  150|      0|            new_alloc = idx + c_array->initial_num_entries;
  151|      0|        }
  152|      0|        size_t newsize = new_alloc * c_array->item_size;
  153|       |
  154|      0|        if (oldsize > (SIZE_MAX >> 1)) {
  ------------------
  |  Branch (154:13): [True: 0, False: 0]
  ------------------
  155|      0|            PyErr_NoMemory();
  156|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  157|      0|        }
  158|       |
  159|      0|        assert(newsize > 0);
  ------------------
  |  Branch (159:9): [True: 0, False: 0]
  ------------------
  160|      0|        void *tmp = PyMem_Realloc(arr, newsize);
  161|      0|        if (tmp == NULL) {
  ------------------
  |  Branch (161:13): [True: 0, False: 0]
  ------------------
  162|      0|            PyErr_NoMemory();
  163|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  164|      0|        }
  165|      0|        alloc = new_alloc;
  166|      0|        arr = tmp;
  167|      0|        memset((char *)arr + oldsize, 0, newsize - oldsize);
  168|      0|    }
  169|       |
  170|    104|    c_array->array = arr;
  171|    104|    c_array->allocated_entries = alloc;
  172|    104|    return SUCCESS;
  ------------------
  |  |   47|    104|#define SUCCESS 0
  ------------------
  173|    104|}
_PyCodegen_Expression:
  922|      2|{
  923|      2|    VISIT(c, expr, e);
  ------------------
  |  |  460|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  924|      2|    return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
  925|      2|}
_PyCodegen_EnterAnonymousScope:
  987|      2|{
  988|      2|    _Py_DECLARE_STR(anon_module, "<module>");
  989|      2|    RETURN_IF_ERROR(
  ------------------
  |  |   51|      2|    do {                    \
  |  |   52|      2|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  990|      2|        codegen_enter_scope(c, &_Py_STR(anon_module), COMPILE_SCOPE_MODULE,
  991|      2|                            mod, 1, NULL, NULL));
  992|      2|    return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
  993|      2|}
_PyCodegen_AddReturnAtEnd:
 6789|      4|{
 6790|       |    /* Make sure every instruction stream that falls off the end returns None.
 6791|       |     * This also ensures that no jump target offsets are out of bounds.
 6792|       |     */
 6793|      4|    if (addNone) {
  ------------------
  |  Branch (6793:9): [True: 2, False: 2]
  ------------------
 6794|      2|        ADDOP_LOAD_CONST(c, NO_LOCATION, Py_None);
  ------------------
  |  |  311|      2|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6795|      2|    }
 6796|      4|    ADDOP(c, NO_LOCATION, RETURN_VALUE);
  ------------------
  |  |  294|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6797|      4|    return SUCCESS;
  ------------------
  |  |   47|      4|#define SUCCESS 0
  ------------------
 6798|      4|}
codegen.c:codegen_addop_i:
  265|     25|{
  266|       |    /* oparg value is unsigned, but a signed C int is usually used to store
  267|       |       it in the C code (like Python/ceval.c).
  268|       |
  269|       |       Limit to 32-bit signed C int (rather than INT_MAX) for portability.
  270|       |
  271|       |       The argument of a concrete bytecode instruction is limited to 8-bit.
  272|       |       EXTENDED_ARG is used for 16, 24, and 32-bit arguments. */
  273|       |
  274|     25|    int oparg_ = Py_SAFE_DOWNCAST(oparg, Py_ssize_t, int);
  ------------------
  |  |  247|     25|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|     25|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  275|     25|    assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (275:5): [True: 0, False: 25]
  |  Branch (275:5): [True: 0, False: 25]
  |  Branch (275:5): [True: 0, False: 25]
  ------------------
  276|     25|    return _PyInstructionSequence_Addop(seq, opcode, oparg_, loc);
  277|     25|}
codegen.c:codegen_addop_o:
  337|     11|{
  338|     11|    Py_ssize_t arg = _PyCompile_DictAddObj(dict, o);
  339|     11|    RETURN_IF_ERROR(arg);
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
  340|     11|    ADDOP_I(c, loc, opcode, arg);
  ------------------
  |  |  280|     11|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     11|    do {                    \
  |  |  |  |   52|     11|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     11|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  341|     11|    return SUCCESS;
  ------------------
  |  |   47|     11|#define SUCCESS 0
  ------------------
  342|     11|}
codegen.c:codegen_nameop:
 3316|     13|{
 3317|     13|    assert(!_PyUnicode_EqualToASCIIString(name, "None") &&
  ------------------
  |  Branch (3317:5): [True: 13, False: 0]
  |  Branch (3317:5): [True: 13, False: 0]
  |  Branch (3317:5): [True: 13, False: 0]
  ------------------
 3318|     13|           !_PyUnicode_EqualToASCIIString(name, "True") &&
 3319|     13|           !_PyUnicode_EqualToASCIIString(name, "False"));
 3320|       |
 3321|     13|    PyObject *mangled = _PyCompile_MaybeMangle(c, name);
 3322|     13|    if (!mangled) {
  ------------------
  |  Branch (3322:9): [True: 0, False: 13]
  ------------------
 3323|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3324|      0|    }
 3325|       |
 3326|     13|    _PyCompile_optype optype;
 3327|     13|    Py_ssize_t arg = 0;
 3328|     13|    int scope = _PyCompile_ResolveNameop(c, mangled, &optype, &arg);
 3329|     13|    if (scope < 0) {
  ------------------
  |  Branch (3329:9): [True: 0, False: 13]
  ------------------
 3330|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3331|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3332|      0|    }
 3333|       |
 3334|     13|    int op = 0;
 3335|     13|    switch (optype) {
  ------------------
  |  Branch (3335:13): [True: 13, False: 0]
  ------------------
 3336|      0|    case COMPILE_OP_DEREF:
  ------------------
  |  Branch (3336:5): [True: 0, False: 13]
  ------------------
 3337|      0|        switch (ctx) {
  ------------------
  |  Branch (3337:17): [True: 0, False: 0]
  ------------------
 3338|      0|        case Load:
  ------------------
  |  Branch (3338:9): [True: 0, False: 0]
  ------------------
 3339|      0|            if (SYMTABLE_ENTRY(c)->ste_type == ClassBlock) {
  ------------------
  |  |   71|      0|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (3339:17): [True: 0, False: 0]
  ------------------
 3340|      0|                op = LOAD_FROM_DICT_OR_DEREF;
  ------------------
  |  |   99|      0|#define LOAD_FROM_DICT_OR_DEREF                 86
  ------------------
 3341|       |                // First load the locals
 3342|      0|                if (codegen_addop_noarg(INSTR_SEQUENCE(c), LOAD_LOCALS, loc) < 0) {
  ------------------
  |  |   68|      0|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  ------------------
                              if (codegen_addop_noarg(INSTR_SEQUENCE(c), LOAD_LOCALS, loc) < 0) {
  ------------------
  |  |   33|      0|#define LOAD_LOCALS                             20
  ------------------
  |  Branch (3342:21): [True: 0, False: 0]
  ------------------
 3343|      0|                    goto error;
 3344|      0|                }
 3345|      0|            }
 3346|      0|            else if (SYMTABLE_ENTRY(c)->ste_can_see_class_scope) {
  ------------------
  |  |   71|      0|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (3346:22): [True: 0, False: 0]
  ------------------
 3347|      0|                op = LOAD_FROM_DICT_OR_DEREF;
  ------------------
  |  |   99|      0|#define LOAD_FROM_DICT_OR_DEREF                 86
  ------------------
 3348|       |                // First load the classdict
 3349|      0|                if (codegen_load_classdict_freevar(c, loc) < 0) {
  ------------------
  |  Branch (3349:21): [True: 0, False: 0]
  ------------------
 3350|      0|                    goto error;
 3351|      0|                }
 3352|      0|            }
 3353|      0|            else {
 3354|      0|                op = LOAD_DEREF;
  ------------------
  |  |   92|      0|#define LOAD_DEREF                              79
  ------------------
 3355|      0|            }
 3356|      0|            break;
 3357|      0|        case Store: op = STORE_DEREF; break;
  ------------------
  |  |  120|      0|#define STORE_DEREF                            107
  ------------------
  |  Branch (3357:9): [True: 0, False: 0]
  ------------------
 3358|      0|        case Del: op = DELETE_DEREF; break;
  ------------------
  |  |   72|      0|#define DELETE_DEREF                            59
  ------------------
  |  Branch (3358:9): [True: 0, False: 0]
  ------------------
 3359|      0|        }
 3360|      0|        break;
 3361|     11|    case COMPILE_OP_FAST:
  ------------------
  |  Branch (3361:5): [True: 11, False: 2]
  ------------------
 3362|     11|        switch (ctx) {
  ------------------
  |  Branch (3362:17): [True: 11, False: 0]
  ------------------
 3363|     11|        case Load: op = LOAD_FAST; break;
  ------------------
  |  |   93|     11|#define LOAD_FAST                               80
  ------------------
  |  Branch (3363:9): [True: 11, False: 0]
  ------------------
 3364|      0|        case Store: op = STORE_FAST; break;
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (3364:9): [True: 0, False: 11]
  ------------------
 3365|      0|        case Del: op = DELETE_FAST; break;
  ------------------
  |  |   73|      0|#define DELETE_FAST                             60
  ------------------
  |  Branch (3365:9): [True: 0, False: 11]
  ------------------
 3366|     11|        }
 3367|     11|        ADDOP_N(c, loc, op, mangled, varnames);
  ------------------
  |  |  345|     11|    do {                                                                \
  |  |  346|     11|        assert(!OPCODE_HAS_CONST(OP)); /* use ADDOP_LOAD_CONST_NEW */   \
  |  |  347|     11|        int ret = codegen_addop_o((C), (LOC), (OP),                     \
  |  |  348|     11|                                  METADATA(C)->u_ ## TYPE, (O));        \
  |  |  ------------------
  |  |  |  |   76|     11|#define METADATA(C) _PyCompile_Metadata(C)
  |  |  ------------------
  |  |  349|     11|        Py_DECREF((O));                                                 \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  350|     11|        RETURN_IF_ERROR(ret);                                           \
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  351|     11|    } while (0)
  |  |  ------------------
  |  |  |  Branch (351:14): [Folded, False: 11]
  |  |  ------------------
  ------------------
  |  Branch (3367:9): [True: 11, False: 0]
  ------------------
 3368|     11|        return SUCCESS;
  ------------------
  |  |   47|     11|#define SUCCESS 0
  ------------------
 3369|      2|    case COMPILE_OP_GLOBAL:
  ------------------
  |  Branch (3369:5): [True: 2, False: 11]
  ------------------
 3370|      2|        switch (ctx) {
  ------------------
  |  Branch (3370:17): [True: 2, False: 0]
  ------------------
 3371|      2|        case Load:
  ------------------
  |  Branch (3371:9): [True: 2, False: 0]
  ------------------
 3372|      2|            if (SYMTABLE_ENTRY(c)->ste_can_see_class_scope && scope == GLOBAL_IMPLICIT) {
  ------------------
  |  |   71|      2|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
                          if (SYMTABLE_ENTRY(c)->ste_can_see_class_scope && scope == GLOBAL_IMPLICIT) {
  ------------------
  |  |  193|      0|#define GLOBAL_IMPLICIT 3
  ------------------
  |  Branch (3372:17): [True: 0, False: 2]
  |  Branch (3372:63): [True: 0, False: 0]
  ------------------
 3373|      0|                op = LOAD_FROM_DICT_OR_GLOBALS;
  ------------------
  |  |  100|      0|#define LOAD_FROM_DICT_OR_GLOBALS               87
  ------------------
 3374|       |                // First load the classdict
 3375|      0|                if (codegen_load_classdict_freevar(c, loc) < 0) {
  ------------------
  |  Branch (3375:21): [True: 0, False: 0]
  ------------------
 3376|      0|                    goto error;
 3377|      0|                }
 3378|      2|            } else {
 3379|      2|                op = LOAD_GLOBAL;
  ------------------
  |  |  101|      2|#define LOAD_GLOBAL                             88
  ------------------
 3380|      2|            }
 3381|      2|            break;
 3382|      2|        case Store: op = STORE_GLOBAL; break;
  ------------------
  |  |  124|      0|#define STORE_GLOBAL                           111
  ------------------
  |  Branch (3382:9): [True: 0, False: 2]
  ------------------
 3383|      0|        case Del:
  ------------------
  |  Branch (3383:9): [True: 0, False: 2]
  ------------------
 3384|      0|            ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  294|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3385|      0|            op = STORE_GLOBAL;
  ------------------
  |  |  124|      0|#define STORE_GLOBAL                           111
  ------------------
 3386|      0|            break;
 3387|      2|        }
 3388|      2|        break;
 3389|      2|    case COMPILE_OP_NAME:
  ------------------
  |  Branch (3389:5): [True: 0, False: 13]
  ------------------
 3390|      0|        switch (ctx) {
  ------------------
  |  Branch (3390:17): [True: 0, False: 0]
  ------------------
 3391|      0|        case Load:
  ------------------
  |  Branch (3391:9): [True: 0, False: 0]
  ------------------
 3392|       |            /* LOAD_NAME in a class reads the class dict; inlined comps must not. */
 3393|      0|            op = (SCOPE_TYPE(c) == COMPILE_SCOPE_CLASS
  ------------------
  |  |   74|      0|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  |  Branch (3393:19): [True: 0, False: 0]
  ------------------
 3394|      0|                  && SYMTABLE_ENTRY(c)->ste_type == InlinedComprehensionBlock)
  ------------------
  |  |   71|      0|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (3394:22): [True: 0, False: 0]
  ------------------
 3395|      0|                ? LOAD_GLOBAL
  ------------------
  |  |  101|      0|#define LOAD_GLOBAL                             88
  ------------------
 3396|      0|                : LOAD_NAME;
  ------------------
  |  |  102|      0|#define LOAD_NAME                               89
  ------------------
 3397|      0|            break;
 3398|      0|        case Store: op = STORE_NAME; break;
  ------------------
  |  |  125|      0|#define STORE_NAME                             112
  ------------------
  |  Branch (3398:9): [True: 0, False: 0]
  ------------------
 3399|      0|        case Del:
  ------------------
  |  Branch (3399:9): [True: 0, False: 0]
  ------------------
 3400|      0|            ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  294|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3401|      0|            op = STORE_NAME;
  ------------------
  |  |  125|      0|#define STORE_NAME                             112
  ------------------
 3402|      0|            break;
 3403|      0|        }
 3404|      0|        break;
 3405|     13|    }
 3406|       |
 3407|     13|    assert(op);
  ------------------
  |  Branch (3407:5): [True: 2, False: 0]
  ------------------
 3408|      2|    Py_DECREF(mangled);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3409|      2|    if (op == LOAD_GLOBAL) {
  ------------------
  |  |  101|      2|#define LOAD_GLOBAL                             88
  ------------------
  |  Branch (3409:9): [True: 2, False: 0]
  ------------------
 3410|      2|        arg <<= 1;
 3411|      2|    }
 3412|      2|    ADDOP_I(c, loc, op, arg);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3413|      2|    return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
 3414|       |
 3415|      0|error:
 3416|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3417|      0|    return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3418|      2|}
codegen.c:codegen_default_arguments:
 1230|      2|{
 1231|      2|    Py_ssize_t funcflags = 0;
 1232|      2|    if (args->defaults && asdl_seq_LEN(args->defaults) > 0) {
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1232:9): [True: 2, False: 0]
  |  Branch (1232:27): [True: 0, False: 2]
  ------------------
 1233|      0|        RETURN_IF_ERROR(codegen_defaults(c, args, loc));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1234|      0|        funcflags |= MAKE_FUNCTION_DEFAULTS;
  ------------------
  |  |   64|      0|#define MAKE_FUNCTION_DEFAULTS    0x01
  ------------------
 1235|      0|    }
 1236|      2|    if (args->kwonlyargs) {
  ------------------
  |  Branch (1236:9): [True: 2, False: 0]
  ------------------
 1237|      2|        int res = codegen_kwonlydefaults(c, loc,
 1238|      2|                                         args->kwonlyargs,
 1239|      2|                                         args->kw_defaults);
 1240|      2|        RETURN_IF_ERROR(res);
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 1241|      2|        if (res > 0) {
  ------------------
  |  Branch (1241:13): [True: 0, False: 2]
  ------------------
 1242|      0|            funcflags |= MAKE_FUNCTION_KWDEFAULTS;
  ------------------
  |  |   65|      0|#define MAKE_FUNCTION_KWDEFAULTS  0x02
  ------------------
 1243|      0|        }
 1244|      2|    }
 1245|      2|    return funcflags;
 1246|      2|}
codegen.c:codegen_kwonlydefaults:
 1065|      2|{
 1066|       |    /* Push a dict of keyword-only default values.
 1067|       |
 1068|       |       Return -1 on error, 0 if no dict pushed, 1 if a dict is pushed.
 1069|       |       */
 1070|      2|    int default_count = 0;
 1071|      2|    for (int i = 0; i < asdl_seq_LEN(kwonlyargs); i++) {
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1071:21): [True: 0, False: 2]
  ------------------
 1072|      0|        arg_ty arg = asdl_seq_GET(kwonlyargs, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1073|      0|        expr_ty default_ = asdl_seq_GET(kw_defaults, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1074|      0|        if (default_) {
  ------------------
  |  Branch (1074:13): [True: 0, False: 0]
  ------------------
 1075|      0|            default_count++;
 1076|      0|            PyObject *mangled = _PyCompile_MaybeMangle(c, arg->arg);
 1077|      0|            if (!mangled) {
  ------------------
  |  Branch (1077:17): [True: 0, False: 0]
  ------------------
 1078|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1079|      0|            }
 1080|      0|            ADDOP_LOAD_CONST_NEW(c, loc, mangled);
  ------------------
  |  |  329|      0|    RETURN_IF_ERROR(codegen_addop_load_const_new((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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1081|      0|            VISIT(c, expr, default_);
  ------------------
  |  |  460|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1082|      0|        }
 1083|      0|    }
 1084|      2|    if (default_count) {
  ------------------
  |  Branch (1084:9): [True: 0, False: 2]
  ------------------
 1085|      0|        ADDOP_I(c, loc, BUILD_MAP, default_count);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1086|      0|        return 1;
 1087|      0|    }
 1088|      2|    else {
 1089|      2|        return 0;
 1090|      2|    }
 1091|      2|}
codegen.c:codegen_make_closure:
  998|      2|{
  999|      2|    if (co->co_nfreevars) {
  ------------------
  |  Branch (999:9): [True: 0, False: 2]
  ------------------
 1000|      0|        int i = PyUnstable_Code_GetFirstFree(co);
 1001|      0|        for (; i < co->co_nlocalsplus; ++i) {
  ------------------
  |  Branch (1001:16): [True: 0, False: 0]
  ------------------
 1002|       |            /* Bypass com_addop_varname because it will generate
 1003|       |               LOAD_DEREF but LOAD_CLOSURE is needed.
 1004|       |            */
 1005|      0|            PyObject *name = PyTuple_GET_ITEM(co->co_localsplusnames, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1005:30): [True: 0, False: 0]
  ------------------
 1006|      0|            int arg = _PyCompile_LookupArg(c, co, name);
 1007|      0|            RETURN_IF_ERROR(arg);
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1008|      0|            ADDOP_I(c, loc, LOAD_CLOSURE, arg);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1009|      0|        }
 1010|      0|        flags |= MAKE_FUNCTION_CLOSURE;
  ------------------
  |  |   67|      0|#define MAKE_FUNCTION_CLOSURE     0x08
  ------------------
 1011|      0|        ADDOP_I(c, loc, BUILD_TUPLE, co->co_nfreevars);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1012|      0|    }
 1013|      2|    ADDOP_LOAD_CONST(c, loc, (PyObject*)co);
  ------------------
  |  |  311|      2|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1014|       |
 1015|      2|    ADDOP(c, loc, MAKE_FUNCTION);
  ------------------
  |  |  294|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1016|       |
 1017|      2|    if (flags & MAKE_FUNCTION_CLOSURE) {
  ------------------
  |  |   67|      2|#define MAKE_FUNCTION_CLOSURE     0x08
  ------------------
  |  Branch (1017:9): [True: 0, False: 2]
  ------------------
 1018|      0|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_CLOSURE);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1019|      0|    }
 1020|      2|    if (flags & MAKE_FUNCTION_ANNOTATIONS) {
  ------------------
  |  |   66|      2|#define MAKE_FUNCTION_ANNOTATIONS 0x04
  ------------------
  |  Branch (1020:9): [True: 0, False: 2]
  ------------------
 1021|      0|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_ANNOTATIONS);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1022|      0|    }
 1023|      2|    if (flags & MAKE_FUNCTION_ANNOTATE) {
  ------------------
  |  |   68|      2|#define MAKE_FUNCTION_ANNOTATE    0x10
  ------------------
  |  Branch (1023:9): [True: 0, False: 2]
  ------------------
 1024|      0|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_ANNOTATE);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1025|      0|    }
 1026|      2|    if (flags & MAKE_FUNCTION_KWDEFAULTS) {
  ------------------
  |  |   65|      2|#define MAKE_FUNCTION_KWDEFAULTS  0x02
  ------------------
  |  Branch (1026:9): [True: 0, False: 2]
  ------------------
 1027|      0|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_KWDEFAULTS);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1028|      0|    }
 1029|      2|    if (flags & MAKE_FUNCTION_DEFAULTS) {
  ------------------
  |  |   64|      2|#define MAKE_FUNCTION_DEFAULTS    0x01
  ------------------
  |  Branch (1029:9): [True: 0, False: 2]
  ------------------
 1030|      0|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_DEFAULTS);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1031|      0|    }
 1032|      2|    return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
 1033|      2|}
codegen.c:codegen_call_helper_impl:
 4458|      2|{
 4459|      2|    Py_ssize_t i, nseen, nelts, nkwelts;
 4460|       |
 4461|      2|    RETURN_IF_ERROR(codegen_validate_keywords(c, keywords));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 4462|       |
 4463|      2|    nelts = asdl_seq_LEN(args);
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4464|      2|    nkwelts = asdl_seq_LEN(keywords);
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4465|       |
 4466|      2|    if (CALL_STACK_USE(nelts, nkwelts) > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   91|      2|    ((nargs) + (nkwds) + ((nkwds) != 0))
  ------------------
                  if (CALL_STACK_USE(nelts, nkwelts) > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|      2|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (4466:9): [True: 0, False: 2]
  ------------------
 4467|      0|         goto ex_call;
 4468|      0|    }
 4469|      6|    for (i = 0; i < nelts; i++) {
  ------------------
  |  Branch (4469:17): [True: 4, False: 2]
  ------------------
 4470|      4|        expr_ty elt = asdl_seq_GET(args, i);
  ------------------
  |  |   82|      4|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4471|      4|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4471:13): [True: 0, False: 4]
  ------------------
 4472|      0|            goto ex_call;
 4473|      0|        }
 4474|      4|    }
 4475|      2|    for (i = 0; i < nkwelts; i++) {
  ------------------
  |  Branch (4475:17): [True: 0, False: 2]
  ------------------
 4476|      0|        keyword_ty kw = asdl_seq_GET(keywords, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4477|      0|        if (kw->arg == NULL) {
  ------------------
  |  Branch (4477:13): [True: 0, False: 0]
  ------------------
 4478|      0|            goto ex_call;
 4479|      0|        }
 4480|      0|    }
 4481|       |
 4482|       |    /* No * or ** args, so can use faster calling sequence */
 4483|      6|    for (i = 0; i < nelts; i++) {
  ------------------
  |  Branch (4483:17): [True: 4, False: 2]
  ------------------
 4484|      4|        expr_ty elt = asdl_seq_GET(args, i);
  ------------------
  |  |   82|      4|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4485|      4|        assert(elt->kind != Starred_kind);
  ------------------
  |  Branch (4485:9): [True: 4, False: 0]
  ------------------
 4486|      4|        VISIT(c, expr, elt);
  ------------------
  |  |  460|      4|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      4|    do {                    \
  |  |  |  |   52|      4|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4487|      4|    }
 4488|      2|    if (injected_arg) {
  ------------------
  |  Branch (4488:9): [True: 0, False: 2]
  ------------------
 4489|      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]
  |  |  ------------------
  ------------------
 4490|      0|        nelts++;
 4491|      0|    }
 4492|      2|    if (nkwelts) {
  ------------------
  |  Branch (4492:9): [True: 0, False: 2]
  ------------------
 4493|      0|        VISIT_SEQ(c, keyword, keywords);
  ------------------
  |  |  466|      0|    do {                                                                    \
  |  |  467|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  469|      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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|      0|        }                                                                   \
  |  |  472|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4494|      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]
  |  |  ------------------
  ------------------
 4495|      0|            codegen_call_simple_kw_helper(c, loc, keywords, nkwelts));
 4496|      0|        ADDOP_I(c, loc, CALL_KW, n + nelts + nkwelts);
  ------------------
  |  |  280|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4497|      0|    }
 4498|      2|    else {
 4499|      2|        ADDOP_I(c, loc, CALL, n + nelts);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4500|      2|    }
 4501|      2|    return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
 4502|       |
 4503|      0|ex_call:
 4504|       |
 4505|       |    /* Do positional arguments. */
 4506|      0|    if (n == 0 && nelts == 1 && ((expr_ty)asdl_seq_GET(args, 0))->kind == Starred_kind) {
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (4506:9): [True: 0, False: 0]
  |  Branch (4506:19): [True: 0, False: 0]
  |  Branch (4506:33): [True: 0, False: 0]
  ------------------
 4507|      0|        VISIT(c, expr, ((expr_ty)asdl_seq_GET(args, 0))->v.Starred.value);
  ------------------
  |  |  460|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4508|      0|    }
 4509|      0|    else {
 4510|      0|        RETURN_IF_ERROR(starunpack_helper_impl(c, loc, args, injected_arg, n,
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4511|      0|                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1));
 4512|      0|    }
 4513|       |    /* Then keyword arguments */
 4514|      0|    if (nkwelts) {
  ------------------
  |  Branch (4514:9): [True: 0, False: 0]
  ------------------
 4515|       |        /* Has a new dict been pushed */
 4516|      0|        int have_dict = 0;
 4517|       |
 4518|      0|        nseen = 0;  /* the number of keyword arguments on the stack following */
 4519|      0|        for (i = 0; i < nkwelts; i++) {
  ------------------
  |  Branch (4519:21): [True: 0, False: 0]
  ------------------
 4520|      0|            keyword_ty kw = asdl_seq_GET(keywords, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4521|      0|            if (kw->arg == NULL) {
  ------------------
  |  Branch (4521:17): [True: 0, False: 0]
  ------------------
 4522|       |                /* A keyword argument unpacking. */
 4523|      0|                if (nseen) {
  ------------------
  |  Branch (4523:21): [True: 0, False: 0]
  ------------------
 4524|      0|                    RETURN_IF_ERROR(codegen_subkwargs(c, loc, keywords, i - nseen, i));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4525|      0|                    if (have_dict) {
  ------------------
  |  Branch (4525:25): [True: 0, False: 0]
  ------------------
 4526|      0|                        ADDOP_I(c, loc, DICT_MERGE, 1);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4527|      0|                    }
 4528|      0|                    have_dict = 1;
 4529|      0|                    nseen = 0;
 4530|      0|                }
 4531|      0|                if (!have_dict) {
  ------------------
  |  Branch (4531:21): [True: 0, False: 0]
  ------------------
 4532|      0|                    ADDOP_I(c, loc, BUILD_MAP, 0);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4533|      0|                    have_dict = 1;
 4534|      0|                }
 4535|      0|                VISIT(c, expr, kw->value);
  ------------------
  |  |  460|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4536|      0|                ADDOP_I(c, loc, DICT_MERGE, 1);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4537|      0|            }
 4538|      0|            else {
 4539|      0|                nseen++;
 4540|      0|            }
 4541|      0|        }
 4542|      0|        if (nseen) {
  ------------------
  |  Branch (4542:13): [True: 0, False: 0]
  ------------------
 4543|       |            /* Pack up any trailing keyword arguments. */
 4544|      0|            RETURN_IF_ERROR(codegen_subkwargs(c, loc, keywords, nkwelts - nseen, nkwelts));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4545|      0|            if (have_dict) {
  ------------------
  |  Branch (4545:17): [True: 0, False: 0]
  ------------------
 4546|      0|                ADDOP_I(c, loc, DICT_MERGE, 1);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4547|      0|            }
 4548|      0|            have_dict = 1;
 4549|      0|        }
 4550|      0|        assert(have_dict);
  ------------------
  |  Branch (4550:9): [True: 0, False: 0]
  ------------------
 4551|      0|    }
 4552|      0|    if (nkwelts == 0) {
  ------------------
  |  Branch (4552:9): [True: 0, False: 0]
  ------------------
 4553|      0|        ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  294|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4554|      0|    }
 4555|      0|    ADDOP(c, loc, CALL_FUNCTION_EX);
  ------------------
  |  |  294|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4556|      0|    return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 4557|      0|}
codegen.c:codegen_validate_keywords:
 4227|      4|{
 4228|      4|    Py_ssize_t nkeywords = asdl_seq_LEN(keywords);
  ------------------
  |  |   83|      4|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4229|      4|    for (Py_ssize_t i = 0; i < nkeywords; i++) {
  ------------------
  |  Branch (4229:28): [True: 0, False: 4]
  ------------------
 4230|      0|        keyword_ty key = ((keyword_ty)asdl_seq_GET(keywords, i));
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4231|      0|        if (key->arg == NULL) {
  ------------------
  |  Branch (4231:13): [True: 0, False: 0]
  ------------------
 4232|      0|            continue;
 4233|      0|        }
 4234|      0|        for (Py_ssize_t j = i + 1; j < nkeywords; j++) {
  ------------------
  |  Branch (4234:36): [True: 0, False: 0]
  ------------------
 4235|      0|            keyword_ty other = ((keyword_ty)asdl_seq_GET(keywords, j));
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4236|      0|            if (other->arg && !PyUnicode_Compare(key->arg, other->arg)) {
  ------------------
  |  Branch (4236:17): [True: 0, False: 0]
  |  Branch (4236:31): [True: 0, False: 0]
  ------------------
 4237|      0|                return _PyCompile_Error(c, LOC(other), "keyword argument repeated: %U", key->arg);
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      0|    (_Py_SourceLocation){ \
  |  |  |  |   59|      0|               .lineno = (n)->lineno, \
  |  |  |  |   60|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4238|      0|            }
 4239|      0|        }
 4240|      0|    }
 4241|      4|    return SUCCESS;
  ------------------
  |  |   47|      4|#define SUCCESS 0
  ------------------
 4242|      4|}
codegen.c:starunpack_helper_impl:
 3467|      2|{
 3468|      2|    Py_ssize_t end = asdl_seq_LEN(elts);
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3469|      2|    Py_ssize_t n = 0;
 3470|      2|    int seen_star = 0;
 3471|     11|    for (Py_ssize_t i = 0; i < end; i++) {
  ------------------
  |  Branch (3471:28): [True: 9, False: 2]
  ------------------
 3472|      9|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|      9|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      9|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3473|      9|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3473:13): [True: 0, False: 9]
  ------------------
 3474|      0|            if (is_empty_starred_literal(elt)) {
  ------------------
  |  Branch (3474:17): [True: 0, False: 0]
  ------------------
 3475|      0|                continue;
 3476|      0|            }
 3477|      0|            seen_star = 1;
 3478|      0|        }
 3479|      9|        n++;
 3480|      9|    }
 3481|      2|    int big = n + pushed + (injected_arg ? 1 : 0) > _PY_STACK_USE_GUIDELINE;
  ------------------
  |  |   24|      2|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (3481:29): [True: 0, False: 2]
  ------------------
 3482|      2|    if (!seen_star && !big) {
  ------------------
  |  Branch (3482:9): [True: 2, False: 0]
  |  Branch (3482:23): [True: 2, False: 0]
  ------------------
 3483|     11|        for (Py_ssize_t i = 0; i < end; i++) {
  ------------------
  |  Branch (3483:32): [True: 9, False: 2]
  ------------------
 3484|      9|            expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|      9|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      9|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3485|      9|            if (is_empty_starred_literal(elt)) {
  ------------------
  |  Branch (3485:17): [True: 0, False: 9]
  ------------------
 3486|      0|                continue;
 3487|      0|            }
 3488|      9|            VISIT(c, expr, elt);
  ------------------
  |  |  460|      9|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3489|      9|        }
 3490|      2|        if (injected_arg) {
  ------------------
  |  Branch (3490:13): [True: 0, False: 2]
  ------------------
 3491|      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]
  |  |  ------------------
  ------------------
 3492|      0|            n++;
 3493|      0|        }
 3494|      2|        if (tuple) {
  ------------------
  |  Branch (3494:13): [True: 2, False: 0]
  ------------------
 3495|      2|            ADDOP_I(c, loc, BUILD_TUPLE, n+pushed);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3496|      2|        } else {
 3497|      0|            ADDOP_I(c, loc, build, n+pushed);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3498|      0|        }
 3499|      2|        return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
 3500|      2|    }
 3501|      0|    int sequence_built = 0;
 3502|      0|    Py_ssize_t nitems = 0;
 3503|      0|    if (big) {
  ------------------
  |  Branch (3503:9): [True: 0, False: 0]
  ------------------
 3504|      0|        ADDOP_I(c, loc, build, pushed);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3505|      0|        sequence_built = 1;
 3506|      0|    }
 3507|      0|    for (Py_ssize_t i = 0; i < end; i++) {
  ------------------
  |  Branch (3507:28): [True: 0, False: 0]
  ------------------
 3508|      0|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3509|       |
 3510|      0|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3510:13): [True: 0, False: 0]
  ------------------
 3511|      0|            if (is_empty_starred_literal(elt)) {
  ------------------
  |  Branch (3511:17): [True: 0, False: 0]
  ------------------
 3512|      0|                continue;
 3513|      0|            }
 3514|      0|            if (sequence_built == 0) {
  ------------------
  |  Branch (3514:17): [True: 0, False: 0]
  ------------------
 3515|      0|                ADDOP_I(c, loc, build, nitems+pushed);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3516|      0|                sequence_built = 1;
 3517|      0|            }
 3518|      0|            VISIT(c, expr, elt->v.Starred.value);
  ------------------
  |  |  460|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3519|      0|            ADDOP_I(c, loc, extend, 1);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3520|      0|        }
 3521|      0|        else {
 3522|      0|            VISIT(c, expr, elt);
  ------------------
  |  |  460|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3523|      0|            if (sequence_built) {
  ------------------
  |  Branch (3523:17): [True: 0, False: 0]
  ------------------
 3524|      0|                ADDOP_I(c, loc, add, 1);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3525|      0|            }
 3526|      0|        }
 3527|      0|        nitems++;
 3528|      0|    }
 3529|      0|    assert(sequence_built);
  ------------------
  |  Branch (3529:5): [True: 0, False: 0]
  ------------------
 3530|      0|    if (injected_arg) {
  ------------------
  |  Branch (3530:9): [True: 0, False: 0]
  ------------------
 3531|      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]
  |  |  ------------------
  ------------------
 3532|      0|        ADDOP_I(c, loc, add, 1);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3533|      0|    }
 3534|      0|    if (tuple) {
  ------------------
  |  Branch (3534:9): [True: 0, False: 0]
  ------------------
 3535|      0|        ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_LIST_TO_TUPLE);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3536|      0|    }
 3537|      0|    return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 3538|      0|}
codegen.c:is_empty_starred_literal:
 3450|      9|{
 3451|      9|    if (elt->kind != Starred_kind) {
  ------------------
  |  Branch (3451:9): [True: 9, False: 0]
  ------------------
 3452|      9|        return false;
 3453|      9|    }
 3454|      0|    expr_ty value = elt->v.Starred.value;
 3455|      0|    return (value->kind == Tuple_kind &&
  ------------------
  |  Branch (3455:13): [True: 0, False: 0]
  ------------------
 3456|      0|            asdl_seq_LEN(value->v.Tuple.elts) == 0) ||
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3456:13): [True: 0, False: 0]
  ------------------
 3457|      0|           (value->kind == List_kind &&
  ------------------
  |  Branch (3457:13): [True: 0, False: 0]
  ------------------
 3458|      0|            asdl_seq_LEN(value->v.List.elts) == 0) ||
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3458:13): [True: 0, False: 0]
  ------------------
 3459|      0|           (value->kind == Dict_kind &&
  ------------------
  |  Branch (3459:13): [True: 0, False: 0]
  ------------------
 3460|      0|            asdl_seq_LEN(value->v.Dict.keys) == 0);
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3460:13): [True: 0, False: 0]
  ------------------
 3461|      9|}
codegen.c:codegen_call_helper:
 4564|      2|{
 4565|       |    return codegen_call_helper_impl(c, loc, n, args, NULL, keywords);
 4566|      2|}
codegen.c:codegen_visit_expr_impl:
 5467|     19|{
 5468|     19|    if (Py_EnterRecursiveCall(" during compilation")) {
  ------------------
  |  Branch (5468:9): [True: 0, False: 19]
  ------------------
 5469|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5470|      0|    }
 5471|     19|    location loc = LOC(e);
  ------------------
  |  |   88|     19|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|     19|    (_Py_SourceLocation){ \
  |  |  |  |   59|     19|               .lineno = (n)->lineno, \
  |  |  |  |   60|     19|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|     19|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|     19|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5472|     19|    switch (e->kind) {
  ------------------
  |  Branch (5472:13): [True: 19, False: 0]
  ------------------
 5473|      0|    case NamedExpr_kind:
  ------------------
  |  Branch (5473:5): [True: 0, False: 19]
  ------------------
 5474|      0|        VISIT(c, expr, e->v.NamedExpr.value);
  ------------------
  |  |  460|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5475|      0|        ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5476|      0|        VISIT(c, expr, e->v.NamedExpr.target);
  ------------------
  |  |  460|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5477|      0|        break;
 5478|      0|    case BoolOp_kind:
  ------------------
  |  Branch (5478:5): [True: 0, False: 19]
  ------------------
 5479|      0|        return codegen_boolop(c, e);
 5480|      0|    case BinOp_kind:
  ------------------
  |  Branch (5480:5): [True: 0, False: 19]
  ------------------
 5481|      0|        VISIT(c, expr, e->v.BinOp.left);
  ------------------
  |  |  460|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5482|      0|        VISIT(c, expr, e->v.BinOp.right);
  ------------------
  |  |  460|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5483|      0|        ADDOP_BINARY(c, loc, e->v.BinOp.op);
  ------------------
  |  |  441|      0|    RETURN_IF_ERROR(addop_binary((C), (LOC), (BINOP), false))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5484|      0|        break;
 5485|      0|    case UnaryOp_kind:
  ------------------
  |  Branch (5485:5): [True: 0, False: 19]
  ------------------
 5486|      0|        VISIT(c, expr, e->v.UnaryOp.operand);
  ------------------
  |  |  460|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5487|      0|        if (e->v.UnaryOp.op == UAdd) {
  ------------------
  |  Branch (5487:13): [True: 0, False: 0]
  ------------------
 5488|      0|            ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_UNARY_POSITIVE);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5489|      0|        }
 5490|      0|        else if (e->v.UnaryOp.op == Not) {
  ------------------
  |  Branch (5490:18): [True: 0, False: 0]
  ------------------
 5491|      0|            ADDOP(c, loc, TO_BOOL);
  ------------------
  |  |  294|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5492|      0|            ADDOP(c, loc, UNARY_NOT);
  ------------------
  |  |  294|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5493|      0|        }
 5494|      0|        else {
 5495|      0|            ADDOP(c, loc, unaryop(e->v.UnaryOp.op));
  ------------------
  |  |  294|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5496|      0|        }
 5497|      0|        break;
 5498|      2|    case Lambda_kind:
  ------------------
  |  Branch (5498:5): [True: 2, False: 17]
  ------------------
 5499|      2|        return codegen_lambda(c, e);
 5500|      0|    case IfExp_kind:
  ------------------
  |  Branch (5500:5): [True: 0, False: 19]
  ------------------
 5501|      0|        return codegen_ifexp(c, e);
 5502|      0|    case Dict_kind:
  ------------------
  |  Branch (5502:5): [True: 0, False: 19]
  ------------------
 5503|      0|        return codegen_dict(c, e);
 5504|      0|    case Set_kind:
  ------------------
  |  Branch (5504:5): [True: 0, False: 19]
  ------------------
 5505|      0|        return codegen_set(c, e);
 5506|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (5506:5): [True: 0, False: 19]
  ------------------
 5507|      0|        return codegen_genexp(c, e);
 5508|      0|    case ListComp_kind:
  ------------------
  |  Branch (5508:5): [True: 0, False: 19]
  ------------------
 5509|      0|        return codegen_listcomp(c, e, result_is_unused);
 5510|      0|    case SetComp_kind:
  ------------------
  |  Branch (5510:5): [True: 0, False: 19]
  ------------------
 5511|      0|        return codegen_setcomp(c, e);
 5512|      0|    case DictComp_kind:
  ------------------
  |  Branch (5512:5): [True: 0, False: 19]
  ------------------
 5513|      0|        return codegen_dictcomp(c, e);
 5514|      0|    case Yield_kind:
  ------------------
  |  Branch (5514:5): [True: 0, False: 19]
  ------------------
 5515|      0|        if (!_PyST_IsFunctionLike(SYMTABLE_ENTRY(c))) {
  ------------------
  |  |   71|      0|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (5515:13): [True: 0, False: 0]
  ------------------
 5516|      0|            return _PyCompile_Error(c, loc, "'yield' outside function");
 5517|      0|        }
 5518|      0|        if (e->v.Yield.value) {
  ------------------
  |  Branch (5518:13): [True: 0, False: 0]
  ------------------
 5519|      0|            VISIT(c, expr, e->v.Yield.value);
  ------------------
  |  |  460|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5520|      0|        }
 5521|      0|        else {
 5522|      0|            ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  311|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5523|      0|        }
 5524|      0|        ADDOP_YIELD(c, loc);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5525|      0|        break;
 5526|      0|    case YieldFrom_kind:
  ------------------
  |  Branch (5526:5): [True: 0, False: 19]
  ------------------
 5527|      0|        if (!_PyST_IsFunctionLike(SYMTABLE_ENTRY(c))) {
  ------------------
  |  |   71|      0|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (5527:13): [True: 0, False: 0]
  ------------------
 5528|      0|            return _PyCompile_Error(c, loc, "'yield from' outside function");
 5529|      0|        }
 5530|      0|        if (SCOPE_TYPE(c) == COMPILE_SCOPE_ASYNC_FUNCTION) {
  ------------------
  |  |   74|      0|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  |  Branch (5530:13): [True: 0, False: 0]
  ------------------
 5531|      0|            return _PyCompile_Error(c, loc, "'yield from' inside async function");
 5532|      0|        }
 5533|      0|        VISIT(c, expr, e->v.YieldFrom.value);
  ------------------
  |  |  460|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5534|      0|        ADDOP_I(c, loc, GET_ITER, GET_ITER_YIELD_FROM);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5535|      0|        ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  311|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5536|      0|        ADD_YIELD_FROM(c, loc, 0);
  ------------------
  |  |  447|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5537|      0|        break;
 5538|      0|    case Await_kind:
  ------------------
  |  Branch (5538:5): [True: 0, False: 19]
  ------------------
 5539|      0|        VISIT(c, expr, e->v.Await.value);
  ------------------
  |  |  460|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5540|      0|        ADDOP_I(c, loc, GET_AWAITABLE, 0);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5541|      0|        ADD_YIELD_FROM(c, loc, 1);
  ------------------
  |  |  447|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5542|      0|        break;
 5543|      0|    case Compare_kind:
  ------------------
  |  Branch (5543:5): [True: 0, False: 19]
  ------------------
 5544|      0|        return codegen_compare(c, e);
 5545|      2|    case Call_kind:
  ------------------
  |  Branch (5545:5): [True: 2, False: 17]
  ------------------
 5546|      2|        return codegen_call(c, e);
 5547|      0|    case Constant_kind:
  ------------------
  |  Branch (5547:5): [True: 0, False: 19]
  ------------------
 5548|      0|        ADDOP_LOAD_CONST(c, loc, e->v.Constant.value);
  ------------------
  |  |  311|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5549|      0|        break;
 5550|      0|    case JoinedStr_kind:
  ------------------
  |  Branch (5550:5): [True: 0, False: 19]
  ------------------
 5551|      0|        return codegen_joined_str(c, e);
 5552|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (5552:5): [True: 0, False: 19]
  ------------------
 5553|      0|        return codegen_template_str(c, e);
 5554|      0|    case FormattedValue_kind:
  ------------------
  |  Branch (5554:5): [True: 0, False: 19]
  ------------------
 5555|      0|        return codegen_formatted_value(c, e);
 5556|      0|    case Interpolation_kind:
  ------------------
  |  Branch (5556:5): [True: 0, False: 19]
  ------------------
 5557|      0|        return codegen_interpolation(c, e);
 5558|       |    /* The following exprs can be assignment targets. */
 5559|      0|    case Attribute_kind:
  ------------------
  |  Branch (5559:5): [True: 0, False: 19]
  ------------------
 5560|      0|        if (e->v.Attribute.ctx == Load) {
  ------------------
  |  Branch (5560:13): [True: 0, False: 0]
  ------------------
 5561|      0|            int ret = can_optimize_super_call(c, e);
 5562|      0|            RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5563|      0|            if (ret) {
  ------------------
  |  Branch (5563:17): [True: 0, False: 0]
  ------------------
 5564|      0|                RETURN_IF_ERROR(load_args_for_super(c, e->v.Attribute.value));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5565|      0|                int opcode = asdl_seq_LEN(e->v.Attribute.value->v.Call.args) ?
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:26): [True: 0, False: 0]
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5566|      0|                    LOAD_SUPER_ATTR : LOAD_ZERO_SUPER_ATTR;
  ------------------
  |  |  105|      0|#define LOAD_SUPER_ATTR                         92
  ------------------
                                  LOAD_SUPER_ATTR : LOAD_ZERO_SUPER_ATTR;
  ------------------
  |  |  364|      0|#define LOAD_ZERO_SUPER_ATTR -3
  ------------------
 5567|      0|                ADDOP_NAME(c, loc, opcode, e->v.Attribute.attr, names);
  ------------------
  |  |  419|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5568|      0|                loc = update_start_location_to_match_attr(c, loc, e);
 5569|      0|                ADDOP(c, loc, NOP);
  ------------------
  |  |  294|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5570|      0|                return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 5571|      0|            }
 5572|      0|        }
 5573|      0|        RETURN_IF_ERROR(_PyCompile_MaybeAddStaticAttributeToClass(c, e));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5574|      0|        loc = LOC(e);
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      0|    (_Py_SourceLocation){ \
  |  |  |  |   59|      0|               .lineno = (n)->lineno, \
  |  |  |  |   60|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5575|      0|        loc = update_start_location_to_match_attr(c, loc, e);
 5576|      0|        switch (e->v.Attribute.ctx) {
  ------------------
  |  Branch (5576:17): [True: 0, False: 0]
  ------------------
 5577|      0|        case Load:
  ------------------
  |  Branch (5577:9): [True: 0, False: 0]
  ------------------
 5578|      0|            VISIT(c, expr, e->v.Attribute.value);
  ------------------
  |  |  460|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5579|      0|            ADDOP_NAME(c, loc, LOAD_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  419|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5580|      0|            break;
 5581|      0|        case Store:
  ------------------
  |  Branch (5581:9): [True: 0, False: 0]
  ------------------
 5582|      0|            VISIT(c, expr, e->v.Attribute.value);
  ------------------
  |  |  460|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5583|      0|            ADDOP_NAME(c, loc, STORE_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  419|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5584|      0|            break;
 5585|      0|        case Del:
  ------------------
  |  Branch (5585:9): [True: 0, False: 0]
  ------------------
 5586|      0|            ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  294|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5587|      0|            VISIT(c, expr, e->v.Attribute.value);
  ------------------
  |  |  460|      0|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5588|      0|            ADDOP_NAME(c, loc, STORE_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  419|      0|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5589|      0|            break;
 5590|      0|        }
 5591|      0|        break;
 5592|      0|    case Subscript_kind:
  ------------------
  |  Branch (5592:5): [True: 0, False: 19]
  ------------------
 5593|      0|        return codegen_subscript(c, e);
 5594|      0|    case Starred_kind:
  ------------------
  |  Branch (5594:5): [True: 0, False: 19]
  ------------------
 5595|      0|        switch (e->v.Starred.ctx) {
 5596|      0|        case Store:
  ------------------
  |  Branch (5596:9): [True: 0, False: 0]
  ------------------
 5597|       |            /* In all legitimate cases, the Starred node was already replaced
 5598|       |             * by codegen_list/codegen_tuple. XXX: is that okay? */
 5599|      0|            return _PyCompile_Error(c, loc,
 5600|      0|                "starred assignment target must be in a list or tuple");
 5601|      0|        default:
  ------------------
  |  Branch (5601:9): [True: 0, False: 0]
  ------------------
 5602|      0|            return _PyCompile_Error(c, loc,
 5603|      0|                "can't use starred expression here");
 5604|      0|        }
 5605|      0|        break;
 5606|      0|    case Slice_kind:
  ------------------
  |  Branch (5606:5): [True: 0, False: 19]
  ------------------
 5607|      0|        RETURN_IF_ERROR(codegen_slice(c, e));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5608|      0|        break;
 5609|     13|    case Name_kind:
  ------------------
  |  Branch (5609:5): [True: 13, False: 6]
  ------------------
 5610|     13|        return codegen_nameop(c, loc, e->v.Name.id, e->v.Name.ctx);
 5611|       |    /* child nodes of List and Tuple will have expr_context set */
 5612|      0|    case List_kind:
  ------------------
  |  Branch (5612:5): [True: 0, False: 19]
  ------------------
 5613|      0|        return codegen_list(c, e);
 5614|      2|    case Tuple_kind:
  ------------------
  |  Branch (5614:5): [True: 2, False: 17]
  ------------------
 5615|      2|        return codegen_tuple(c, e);
 5616|     19|    }
 5617|      0|    return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 5618|     19|}
codegen.c:codegen_lambda:
 2091|      2|{
 2092|      2|    PyCodeObject *co;
 2093|      2|    Py_ssize_t funcflags;
 2094|      2|    arguments_ty args = e->v.Lambda.args;
 2095|      2|    assert(e->kind == Lambda_kind);
  ------------------
  |  Branch (2095:5): [True: 2, False: 0]
  ------------------
 2096|       |
 2097|      2|    location loc = LOC(e);
  ------------------
  |  |   88|      2|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      2|    (_Py_SourceLocation){ \
  |  |  |  |   59|      2|               .lineno = (n)->lineno, \
  |  |  |  |   60|      2|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      2|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      2|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2098|      2|    funcflags = codegen_default_arguments(c, loc, args);
 2099|      2|    RETURN_IF_ERROR(funcflags);
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 2100|       |
 2101|      2|    _PyCompile_CodeUnitMetadata umd = {
 2102|      2|        .u_argcount = asdl_seq_LEN(args->args),
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2103|      2|        .u_posonlyargcount = asdl_seq_LEN(args->posonlyargs),
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2104|      2|        .u_kwonlyargcount = asdl_seq_LEN(args->kwonlyargs),
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2105|      2|    };
 2106|      2|    _Py_DECLARE_STR(anon_lambda, "<lambda>");
 2107|      2|    RETURN_IF_ERROR(
  ------------------
  |  |   51|      2|    do {                    \
  |  |   52|      2|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2108|      2|        codegen_enter_scope(c, &_Py_STR(anon_lambda), COMPILE_SCOPE_LAMBDA,
 2109|      2|                            (void *)e, e->lineno, NULL, &umd));
 2110|       |
 2111|      2|    assert(!SYMTABLE_ENTRY(c)->ste_has_docstring);
  ------------------
  |  Branch (2111:5): [True: 2, False: 0]
  ------------------
 2112|       |
 2113|      2|    VISIT_IN_SCOPE(c, expr, e->v.Lambda.body);
  ------------------
  |  |  463|      2|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   58|      2|    do {                                    \
  |  |  |  |   59|      2|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|      2|    if (SYMTABLE_ENTRY(c)->ste_generator) {
  ------------------
  |  |   71|      2|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (2114:9): [True: 0, False: 2]
  ------------------
 2115|      0|        co = _PyCompile_OptimizeAndAssemble(c, 0);
 2116|      0|    }
 2117|      2|    else {
 2118|      2|        location loc = LOC(e->v.Lambda.body);
  ------------------
  |  |   88|      2|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      2|    (_Py_SourceLocation){ \
  |  |  |  |   59|      2|               .lineno = (n)->lineno, \
  |  |  |  |   60|      2|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      2|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      2|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2119|      2|        ADDOP_IN_SCOPE(c, loc, RETURN_VALUE);
  ------------------
  |  |  297|      2|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|      2|    do {                                    \
  |  |  |  |   59|      2|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2120|      2|        co = _PyCompile_OptimizeAndAssemble(c, 1);
 2121|      2|    }
 2122|      2|    _PyCompile_ExitScope(c);
 2123|      2|    if (co == NULL) {
  ------------------
  |  Branch (2123:9): [True: 0, False: 2]
  ------------------
 2124|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2125|      0|    }
 2126|       |
 2127|      2|    int ret = codegen_make_closure(c, loc, co, funcflags);
 2128|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2129|      2|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 2130|      2|    return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
 2131|      2|}
codegen.c:starunpack_helper:
 3544|      2|{
 3545|       |    return starunpack_helper_impl(c, loc, elts, NULL, pushed,
 3546|      2|                                  build, add, extend, tuple);
 3547|      2|}
codegen.c:codegen_call:
 4246|      2|{
 4247|      2|    RETURN_IF_ERROR(codegen_validate_keywords(c, e->v.Call.keywords));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 4248|      2|    int ret = maybe_optimize_method_call(c, e);
 4249|      2|    if (ret < 0) {
  ------------------
  |  Branch (4249:9): [True: 0, False: 2]
  ------------------
 4250|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4251|      0|    }
 4252|      2|    if (ret == 1) {
  ------------------
  |  Branch (4252:9): [True: 0, False: 2]
  ------------------
 4253|      0|        return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 4254|      0|    }
 4255|      2|    NEW_JUMP_TARGET_LABEL(c, skip_normal_call);
  ------------------
  |  |   94|      2|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      2|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|      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 (95:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 4256|      2|    RETURN_IF_ERROR(check_caller(c, e->v.Call.func));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 4257|      2|    VISIT(c, expr, e->v.Call.func);
  ------------------
  |  |  460|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4258|      2|    RETURN_IF_ERROR(maybe_optimize_function_call(c, e, skip_normal_call));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 4259|      2|    location loc = LOC(e->v.Call.func);
  ------------------
  |  |   88|      2|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      2|    (_Py_SourceLocation){ \
  |  |  |  |   59|      2|               .lineno = (n)->lineno, \
  |  |  |  |   60|      2|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      2|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      2|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4260|      2|    ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  294|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4261|      2|    loc = LOC(e);
  ------------------
  |  |   88|      2|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      2|    (_Py_SourceLocation){ \
  |  |  |  |   59|      2|               .lineno = (n)->lineno, \
  |  |  |  |   60|      2|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      2|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      2|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4262|      2|    ret = codegen_call_helper(c, loc, 0,
 4263|      2|                              e->v.Call.args,
 4264|      2|                              e->v.Call.keywords);
 4265|      2|    USE_LABEL(c, skip_normal_call);
  ------------------
  |  |  100|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4266|      2|    return ret;
 4267|      2|}
codegen.c:maybe_optimize_method_call:
 4152|      2|{
 4153|      2|    Py_ssize_t argsl, i, kwdsl;
 4154|      2|    expr_ty meth = e->v.Call.func;
 4155|      2|    asdl_expr_seq *args = e->v.Call.args;
 4156|      2|    asdl_keyword_seq *kwds = e->v.Call.keywords;
 4157|       |
 4158|       |    /* Check that the call node is an attribute access */
 4159|      2|    if (meth->kind != Attribute_kind || meth->v.Attribute.ctx != Load) {
  ------------------
  |  Branch (4159:9): [True: 2, False: 0]
  |  Branch (4159:41): [True: 0, False: 0]
  ------------------
 4160|      2|        return 0;
 4161|      2|    }
 4162|       |
 4163|       |    /* Check that the base object is not something that is imported */
 4164|      0|    int ret = is_import_originated(c, meth->v.Attribute.value);
 4165|      0|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4166|      0|    if (ret) {
  ------------------
  |  Branch (4166:9): [True: 0, False: 0]
  ------------------
 4167|      0|        return 0;
 4168|      0|    }
 4169|       |
 4170|       |    /* Check that there aren't too many arguments */
 4171|      0|    argsl = asdl_seq_LEN(args);
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4172|      0|    kwdsl = asdl_seq_LEN(kwds);
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4173|      0|    if (CALL_STACK_USE(argsl, kwdsl) >= _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   91|      0|    ((nargs) + (nkwds) + ((nkwds) != 0))
  ------------------
                  if (CALL_STACK_USE(argsl, kwdsl) >= _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|      0|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (4173:9): [True: 0, False: 0]
  ------------------
 4174|      0|        return 0;
 4175|      0|    }
 4176|       |    /* Check that there are no *varargs types of arguments. */
 4177|      0|    for (i = 0; i < argsl; i++) {
  ------------------
  |  Branch (4177:17): [True: 0, False: 0]
  ------------------
 4178|      0|        expr_ty elt = asdl_seq_GET(args, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4179|      0|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4179:13): [True: 0, False: 0]
  ------------------
 4180|      0|            return 0;
 4181|      0|        }
 4182|      0|    }
 4183|       |
 4184|      0|    for (i = 0; i < kwdsl; i++) {
  ------------------
  |  Branch (4184:17): [True: 0, False: 0]
  ------------------
 4185|      0|        keyword_ty kw = asdl_seq_GET(kwds, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4186|      0|        if (kw->arg == NULL) {
  ------------------
  |  Branch (4186:13): [True: 0, False: 0]
  ------------------
 4187|      0|            return 0;
 4188|      0|        }
 4189|      0|    }
 4190|       |
 4191|       |    /* Alright, we can optimize the code. */
 4192|      0|    location loc = LOC(meth);
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      0|    (_Py_SourceLocation){ \
  |  |  |  |   59|      0|               .lineno = (n)->lineno, \
  |  |  |  |   60|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4193|       |
 4194|      0|    ret = can_optimize_super_call(c, meth);
 4195|      0|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4196|      0|    if (ret) {
  ------------------
  |  Branch (4196:9): [True: 0, False: 0]
  ------------------
 4197|      0|        RETURN_IF_ERROR(load_args_for_super(c, meth->v.Attribute.value));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4198|      0|        int opcode = asdl_seq_LEN(meth->v.Attribute.value->v.Call.args) ?
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:26): [True: 0, False: 0]
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4199|      0|            LOAD_SUPER_METHOD : LOAD_ZERO_SUPER_METHOD;
  ------------------
  |  |  363|      0|#define LOAD_SUPER_METHOD -2
  ------------------
                          LOAD_SUPER_METHOD : LOAD_ZERO_SUPER_METHOD;
  ------------------
  |  |  365|      0|#define LOAD_ZERO_SUPER_METHOD -4
  ------------------
 4200|      0|        ADDOP_NAME(c, loc, opcode, meth->v.Attribute.attr, names);
  ------------------
  |  |  419|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4201|      0|        loc = update_start_location_to_match_attr(c, loc, meth);
 4202|      0|        ADDOP(c, loc, NOP);
  ------------------
  |  |  294|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4203|      0|    } else {
 4204|      0|        VISIT(c, expr, meth->v.Attribute.value);
  ------------------
  |  |  460|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4205|      0|        loc = update_start_location_to_match_attr(c, loc, meth);
 4206|      0|        ADDOP_NAME(c, loc, LOAD_METHOD, meth->v.Attribute.attr, names);
  ------------------
  |  |  419|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4207|      0|    }
 4208|       |
 4209|      0|    VISIT_SEQ(c, expr, e->v.Call.args);
  ------------------
  |  |  466|      0|    do {                                                                    \
  |  |  467|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  469|      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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|      0|        }                                                                   \
  |  |  472|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4210|       |
 4211|      0|    if (kwdsl) {
  ------------------
  |  Branch (4211:9): [True: 0, False: 0]
  ------------------
 4212|      0|        VISIT_SEQ(c, keyword, kwds);
  ------------------
  |  |  466|      0|    do {                                                                    \
  |  |  467|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  469|      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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|      0|        }                                                                   \
  |  |  472|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4213|      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]
  |  |  ------------------
  ------------------
 4214|      0|            codegen_call_simple_kw_helper(c, loc, kwds, kwdsl));
 4215|      0|        loc = update_start_location_to_match_attr(c, LOC(e), meth);
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      0|    (_Py_SourceLocation){ \
  |  |  |  |   59|      0|               .lineno = (n)->lineno, \
  |  |  |  |   60|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4216|      0|        ADDOP_I(c, loc, CALL_KW, argsl + kwdsl);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4217|      0|    }
 4218|      0|    else {
 4219|      0|        loc = update_start_location_to_match_attr(c, LOC(e), meth);
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      0|    (_Py_SourceLocation){ \
  |  |  |  |   59|      0|               .lineno = (n)->lineno, \
  |  |  |  |   60|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4220|      0|        ADDOP_I(c, loc, CALL, argsl);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4221|      0|    }
 4222|      0|    return 1;
 4223|      0|}
codegen.c:check_caller:
 3785|      2|{
 3786|      2|    switch (e->kind) {
 3787|      0|    case Constant_kind:
  ------------------
  |  Branch (3787:5): [True: 0, False: 2]
  ------------------
 3788|      0|    case Tuple_kind:
  ------------------
  |  Branch (3788:5): [True: 0, False: 2]
  ------------------
 3789|      0|    case List_kind:
  ------------------
  |  Branch (3789:5): [True: 0, False: 2]
  ------------------
 3790|      0|    case ListComp_kind:
  ------------------
  |  Branch (3790:5): [True: 0, False: 2]
  ------------------
 3791|      0|    case Dict_kind:
  ------------------
  |  Branch (3791:5): [True: 0, False: 2]
  ------------------
 3792|      0|    case DictComp_kind:
  ------------------
  |  Branch (3792:5): [True: 0, False: 2]
  ------------------
 3793|      0|    case Set_kind:
  ------------------
  |  Branch (3793:5): [True: 0, False: 2]
  ------------------
 3794|      0|    case SetComp_kind:
  ------------------
  |  Branch (3794:5): [True: 0, False: 2]
  ------------------
 3795|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (3795:5): [True: 0, False: 2]
  ------------------
 3796|      0|    case JoinedStr_kind:
  ------------------
  |  Branch (3796:5): [True: 0, False: 2]
  ------------------
 3797|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (3797:5): [True: 0, False: 2]
  ------------------
 3798|      0|    case FormattedValue_kind:
  ------------------
  |  Branch (3798:5): [True: 0, False: 2]
  ------------------
 3799|      0|    case Interpolation_kind: {
  ------------------
  |  Branch (3799:5): [True: 0, False: 2]
  ------------------
 3800|      0|        location loc = LOC(e);
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      0|    (_Py_SourceLocation){ \
  |  |  |  |   59|      0|               .lineno = (n)->lineno, \
  |  |  |  |   60|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3801|      0|        return _PyCompile_Warn(c, loc, "'%.200s' object is not callable; "
 3802|      0|                                       "perhaps you missed a comma?",
 3803|      0|                                       infer_type(e)->tp_name);
 3804|      0|    }
 3805|      2|    default:
  ------------------
  |  Branch (3805:5): [True: 2, False: 0]
  ------------------
 3806|      2|        return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
 3807|      2|    }
 3808|      2|}
codegen.c:maybe_optimize_function_call:
 4010|      2|{
 4011|      2|    asdl_expr_seq *args = e->v.Call.args;
 4012|      2|    asdl_keyword_seq *kwds = e->v.Call.keywords;
 4013|      2|    expr_ty func = e->v.Call.func;
 4014|       |
 4015|      2|    if (! (func->kind == Name_kind &&
  ------------------
  |  Branch (4015:12): [True: 2, False: 0]
  ------------------
 4016|      2|           asdl_seq_LEN(args) == 1 &&
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4016:12): [True: 0, False: 2]
  ------------------
 4017|      0|           asdl_seq_LEN(kwds) == 0))
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4017:12): [True: 0, False: 0]
  ------------------
 4018|      2|    {
 4019|      2|        return 0;
 4020|      2|    }
 4021|       |
 4022|      0|    location loc = LOC(func);
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      0|    (_Py_SourceLocation){ \
  |  |  |  |   59|      0|               .lineno = (n)->lineno, \
  |  |  |  |   60|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4023|       |
 4024|      0|    expr_ty arg_expr = asdl_seq_GET(args, 0);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4025|       |
 4026|      0|    if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "frozenset")
  ------------------
  |  Branch (4026:9): [True: 0, False: 0]
  ------------------
 4027|      0|        && (arg_expr->kind == Set_kind || arg_expr->kind == SetComp_kind)) {
  ------------------
  |  Branch (4027:13): [True: 0, False: 0]
  |  Branch (4027:43): [True: 0, False: 0]
  ------------------
 4028|      0|        NEW_JUMP_TARGET_LABEL(c, skip_optimization);
  ------------------
  |  |   94|      0|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      0|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|      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 (95:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 4029|       |
 4030|      0|        ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4031|      0|        ADDOP_I(c, loc, LOAD_COMMON_CONSTANT, CONSTANT_BUILTIN_FROZENSET);
  ------------------
  |  |  280|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4032|      0|        ADDOP_COMPARE(c, loc, Is);
  ------------------
  |  |  438|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4033|      0|        ADDOP_JUMP(c, loc, POP_JUMP_IF_FALSE, skip_optimization);
  ------------------
  |  |  435|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4034|      0|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  294|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4035|       |
 4036|      0|        VISIT(c, expr, arg_expr);
  ------------------
  |  |  460|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4037|      0|        ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_BUILD_FROZENSET);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4038|       |
 4039|      0|        ADDOP_JUMP(c, loc, JUMP, end);
  ------------------
  |  |  435|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4040|       |
 4041|      0|        USE_LABEL(c, skip_optimization);
  ------------------
  |  |  100|      0|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4042|      0|        return 1;
 4043|      0|    }
 4044|       |
 4045|      0|    if (arg_expr->kind != GeneratorExp_kind) {
  ------------------
  |  Branch (4045:9): [True: 0, False: 0]
  ------------------
 4046|      0|        return 0;
 4047|      0|    }
 4048|       |
 4049|      0|    PySTEntryObject *generator_entry = _PySymtable_Lookup(SYMTABLE(c), (void *)arg_expr);
  ------------------
  |  |   70|      0|#define SYMTABLE(C) _PyCompile_Symtable(C)
  ------------------
 4050|      0|    if (generator_entry->ste_coroutine) {
  ------------------
  |  Branch (4050:9): [True: 0, False: 0]
  ------------------
 4051|      0|        Py_DECREF(generator_entry);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4052|      0|        return 0;
 4053|      0|    }
 4054|      0|    Py_DECREF(generator_entry);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4055|       |
 4056|      0|    int optimized = 0;
 4057|      0|    NEW_JUMP_TARGET_LABEL(c, skip_optimization);
  ------------------
  |  |   94|      0|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      0|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|      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 (95:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 4058|       |
 4059|      0|    int const_oparg = -1;
 4060|      0|    PyObject *initial_res = NULL;
 4061|      0|    int continue_jump_opcode = -1;
 4062|      0|    if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "all")) {
  ------------------
  |  Branch (4062:9): [True: 0, False: 0]
  ------------------
 4063|      0|        const_oparg = CONSTANT_BUILTIN_ALL;
  ------------------
  |  |   74|      0|#define CONSTANT_BUILTIN_ALL 3
  ------------------
 4064|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4065|      0|        continue_jump_opcode = POP_JUMP_IF_TRUE;
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
 4066|      0|    }
 4067|      0|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "any")) {
  ------------------
  |  Branch (4067:14): [True: 0, False: 0]
  ------------------
 4068|      0|        const_oparg = CONSTANT_BUILTIN_ANY;
  ------------------
  |  |   75|      0|#define CONSTANT_BUILTIN_ANY 4
  ------------------
 4069|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4070|      0|        continue_jump_opcode = POP_JUMP_IF_FALSE;
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
 4071|      0|    }
 4072|      0|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "tuple")) {
  ------------------
  |  Branch (4072:14): [True: 0, False: 0]
  ------------------
 4073|      0|        const_oparg = CONSTANT_BUILTIN_TUPLE;
  ------------------
  |  |   73|      0|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
 4074|      0|    }
 4075|      0|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "list")) {
  ------------------
  |  Branch (4075:14): [True: 0, False: 0]
  ------------------
 4076|      0|        const_oparg = CONSTANT_BUILTIN_LIST;
  ------------------
  |  |   76|      0|#define CONSTANT_BUILTIN_LIST 5
  ------------------
 4077|      0|    }
 4078|      0|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "set")) {
  ------------------
  |  Branch (4078:14): [True: 0, False: 0]
  ------------------
 4079|      0|        const_oparg = CONSTANT_BUILTIN_SET;
  ------------------
  |  |   77|      0|#define CONSTANT_BUILTIN_SET 6
  ------------------
 4080|      0|    }
 4081|      0|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "frozenset")) {
  ------------------
  |  Branch (4081:14): [True: 0, False: 0]
  ------------------
 4082|      0|        const_oparg = CONSTANT_BUILTIN_FROZENSET;
  ------------------
  |  |   83|      0|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
 4083|      0|    }
 4084|      0|    if (const_oparg != -1) {
  ------------------
  |  Branch (4084:9): [True: 0, False: 0]
  ------------------
 4085|      0|        ADDOP_I(c, loc, COPY, 1); // the function
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4086|      0|        ADDOP_I(c, loc, LOAD_COMMON_CONSTANT, const_oparg);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4087|      0|        ADDOP_COMPARE(c, loc, Is);
  ------------------
  |  |  438|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4088|      0|        ADDOP_JUMP(c, loc, POP_JUMP_IF_FALSE, skip_optimization);
  ------------------
  |  |  435|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4089|      0|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  294|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4090|       |
 4091|      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 (4091:13): [True: 0, False: 0]
  |  Branch (4091:54): [True: 0, False: 0]
  ------------------
 4092|      0|            ADDOP_I(c, loc, BUILD_LIST, 0);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4093|      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 (4093:20): [True: 0, False: 0]
  |  Branch (4093:59): [True: 0, False: 0]
  ------------------
 4094|      0|            ADDOP_I(c, loc, BUILD_SET, 0);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4095|      0|        }
 4096|      0|        VISIT(c, expr, arg_expr);
  ------------------
  |  |  460|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4097|       |
 4098|      0|        NEW_JUMP_TARGET_LABEL(c, loop);
  ------------------
  |  |   94|      0|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      0|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|      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 (95:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 4099|      0|        NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   94|      0|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      0|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|      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 (95:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 4100|       |
 4101|      0|        ADDOP(c, loc, PUSH_NULL); // Push NULL index for loop
  ------------------
  |  |  294|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4102|      0|        USE_LABEL(c, loop);
  ------------------
  |  |  100|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4103|      0|        ADDOP_JUMP(c, loc, FOR_ITER, cleanup);
  ------------------
  |  |  435|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4104|      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 (4104:13): [True: 0, False: 0]
  |  Branch (4104:54): [True: 0, False: 0]
  ------------------
 4105|      0|            ADDOP_I(c, loc, LIST_APPEND, 3);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4106|      0|            ADDOP_JUMP(c, loc, JUMP, loop);
  ------------------
  |  |  435|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4107|      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 (4107:20): [True: 0, False: 0]
  |  Branch (4107:59): [True: 0, False: 0]
  ------------------
 4108|      0|            ADDOP_I(c, loc, SET_ADD, 3);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4109|      0|            ADDOP_JUMP(c, loc, JUMP, loop);
  ------------------
  |  |  435|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4110|      0|        }
 4111|      0|        else {
 4112|      0|            ADDOP(c, loc, TO_BOOL);
  ------------------
  |  |  294|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4113|      0|            ADDOP_JUMP(c, loc, continue_jump_opcode, loop);
  ------------------
  |  |  435|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4114|      0|        }
 4115|       |
 4116|      0|        ADDOP(c, NO_LOCATION, POP_ITER);
  ------------------
  |  |  294|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4117|      0|        if (const_oparg != CONSTANT_BUILTIN_TUPLE &&
  ------------------
  |  |   73|      0|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
  |  Branch (4117:13): [True: 0, False: 0]
  ------------------
 4118|      0|            const_oparg != CONSTANT_BUILTIN_LIST &&
  ------------------
  |  |   76|      0|#define CONSTANT_BUILTIN_LIST 5
  ------------------
  |  Branch (4118:13): [True: 0, False: 0]
  ------------------
 4119|      0|            const_oparg != CONSTANT_BUILTIN_SET &&
  ------------------
  |  |   77|      0|#define CONSTANT_BUILTIN_SET 6
  ------------------
  |  Branch (4119:13): [True: 0, False: 0]
  ------------------
 4120|      0|            const_oparg != CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   83|      0|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
  |  Branch (4120:13): [True: 0, False: 0]
  ------------------
 4121|      0|            ADDOP_LOAD_CONST(c, loc, initial_res == Py_True ? Py_False : Py_True);
  ------------------
  |  |  311|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4122|      0|        }
 4123|      0|        ADDOP_JUMP(c, loc, JUMP, end);
  ------------------
  |  |  435|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4124|       |
 4125|      0|        USE_LABEL(c, cleanup);
  ------------------
  |  |  100|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4126|      0|        ADDOP(c, NO_LOCATION, END_FOR);
  ------------------
  |  |  294|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4127|      0|        ADDOP(c, NO_LOCATION, POP_ITER);
  ------------------
  |  |  294|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4128|      0|        if (const_oparg == CONSTANT_BUILTIN_TUPLE) {
  ------------------
  |  |   73|      0|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
  |  Branch (4128:13): [True: 0, False: 0]
  ------------------
 4129|      0|            ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_LIST_TO_TUPLE);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4130|      0|        } else if (const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   76|      0|#define CONSTANT_BUILTIN_LIST 5
  ------------------
  |  Branch (4130:20): [True: 0, False: 0]
  ------------------
 4131|       |            // result is already a list
 4132|      0|        } else if (const_oparg == CONSTANT_BUILTIN_SET) {
  ------------------
  |  |   77|      0|#define CONSTANT_BUILTIN_SET 6
  ------------------
  |  Branch (4132:20): [True: 0, False: 0]
  ------------------
 4133|       |            // result is already a set
 4134|      0|        }
 4135|      0|        else if (const_oparg == CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   83|      0|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
  |  Branch (4135:18): [True: 0, False: 0]
  ------------------
 4136|      0|            ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_BUILD_FROZENSET);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4137|      0|        }
 4138|      0|        else {
 4139|      0|            ADDOP_LOAD_CONST(c, loc, initial_res);
  ------------------
  |  |  311|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4140|      0|        }
 4141|       |
 4142|      0|        optimized = 1;
 4143|      0|        ADDOP_JUMP(c, loc, JUMP, end);
  ------------------
  |  |  435|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4144|      0|    }
 4145|      0|    USE_LABEL(c, skip_optimization);
  ------------------
  |  |  100|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4146|      0|    return optimized;
 4147|      0|}
codegen.c:codegen_tuple:
 3609|      2|{
 3610|      2|    location loc = LOC(e);
  ------------------
  |  |   88|      2|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      2|    (_Py_SourceLocation){ \
  |  |  |  |   59|      2|               .lineno = (n)->lineno, \
  |  |  |  |   60|      2|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      2|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      2|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3611|      2|    asdl_expr_seq *elts = e->v.Tuple.elts;
 3612|      2|    if (e->v.Tuple.ctx == Store) {
  ------------------
  |  Branch (3612:9): [True: 0, False: 2]
  ------------------
 3613|      0|        return assignment_helper(c, loc, elts);
 3614|      0|    }
 3615|      2|    else if (e->v.Tuple.ctx == Load) {
  ------------------
  |  Branch (3615:14): [True: 2, False: 0]
  ------------------
 3616|      2|        return starunpack_helper(c, loc, elts, 0,
 3617|      2|                                 BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1);
  ------------------
  |  |   57|      2|#define BUILD_LIST                              44
  ------------------
                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1);
  ------------------
  |  |   87|      2|#define LIST_APPEND                             74
  ------------------
                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1);
  ------------------
  |  |   88|      2|#define LIST_EXTEND                             75
  ------------------
 3618|      2|    }
 3619|      0|    else {
 3620|      0|        VISIT_SEQ(c, expr, elts);
  ------------------
  |  |  466|      0|    do {                                                                    \
  |  |  467|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  469|      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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|      0|        }                                                                   \
  |  |  472|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3621|      0|    }
 3622|      0|    return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 3623|      2|}
codegen.c:codegen_enter_scope:
  689|      4|{
  690|      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]
  |  |  ------------------
  ------------------
  691|      4|        _PyCompile_EnterScope(c, name, scope_type, key, lineno, private, umd));
  692|      4|    RETURN_IF_ERROR_IN_SCOPE(c, _PyCompile_SetQualname(c));
  ------------------
  |  |   58|      4|    do {                                    \
  |  |   59|      4|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 4]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  693|      4|    location loc = LOCATION(lineno, lineno, 0, 0);
  ------------------
  |  |   86|      4|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
  694|      4|    if (scope_type == COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (694:9): [True: 2, False: 2]
  ------------------
  695|      2|        loc.lineno = 0;
  696|      2|    }
  697|       |    /* Add the generator prefix instructions. */
  698|       |
  699|      4|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|      4|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  700|      4|    if (ste->ste_coroutine || ste->ste_generator) {
  ------------------
  |  Branch (700:9): [True: 0, False: 4]
  |  Branch (700:31): [True: 0, False: 4]
  ------------------
  701|       |        /* Note that RETURN_GENERATOR + POP_TOP have a net stack effect
  702|       |         * of 0. This is because RETURN_GENERATOR pushes the generator
  703|       |         before returning. */
  704|      0|        location loc = LOCATION(lineno, lineno, -1, -1);
  ------------------
  |  |   86|      0|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
  705|      0|        ADDOP_IN_SCOPE(c, loc, RETURN_GENERATOR);
  ------------------
  |  |  297|      0|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  706|      0|        ADDOP_IN_SCOPE(c, loc, POP_TOP);
  ------------------
  |  |  297|      0|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  707|      0|    }
  708|       |
  709|      4|    ADDOP_I_IN_SCOPE(c, loc, RESUME, RESUME_AT_FUNC_START);
  ------------------
  |  |  283|      4|    RETURN_IF_ERROR_IN_SCOPE(C, codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   58|      4|    do {                                    \
  |  |  |  |   59|      4|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  710|      4|    if (scope_type == COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (710:9): [True: 2, False: 2]
  ------------------
  711|      2|        ADDOP_IN_SCOPE(c, loc, ANNOTATIONS_PLACEHOLDER);
  ------------------
  |  |  297|      2|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|      2|    do {                                    \
  |  |  |  |   59|      2|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  712|      2|    }
  713|      4|    return SUCCESS;
  ------------------
  |  |   47|      4|#define SUCCESS 0
  ------------------
  714|      4|}
codegen.c:codegen_visit_expr:
 5622|     19|{
 5623|       |    return codegen_visit_expr_impl(c, e, false);
 5624|     19|}
codegen.c:codegen_addop_load_const:
  301|      4|{
  302|      4|    Py_ssize_t arg = _PyCompile_AddConst(c, o);
  303|      4|    if (arg < 0) {
  ------------------
  |  Branch (303:9): [True: 0, False: 4]
  ------------------
  304|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  305|      0|    }
  306|      4|    ADDOP_I(c, loc, LOAD_CONST, arg);
  ------------------
  |  |  280|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  307|      4|    return SUCCESS;
  ------------------
  |  |   47|      4|#define SUCCESS 0
  ------------------
  308|      4|}
codegen.c:codegen_addop_noarg:
  287|     12|{
  288|     12|    assert(!OPCODE_HAS_ARG(opcode));
  ------------------
  |  Branch (288:5): [True: 12, False: 0]
  ------------------
  289|     12|    assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (289:5): [True: 0, False: 12]
  |  Branch (289:5): [True: 0, False: 12]
  |  Branch (289:5): [True: 0, False: 12]
  ------------------
  290|     12|    return _PyInstructionSequence_Addop(seq, opcode, 0, loc);
  291|     12|}

_PyCompile_SetQualname:
  237|      4|{
  238|      4|    Py_ssize_t stack_size;
  239|      4|    struct compiler_unit *u = c->u;
  240|      4|    PyObject *name, *base;
  241|       |
  242|      4|    if (u->u_scope_type == COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (242:9): [True: 2, False: 2]
  ------------------
  243|      2|        return SUCCESS;
  ------------------
  |  |   36|      2|#define SUCCESS 0
  ------------------
  244|      2|    }
  245|       |
  246|      2|    base = NULL;
  247|      2|    stack_size = PyList_GET_SIZE(c->c_stack);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  248|      2|    assert(stack_size >= 1);
  ------------------
  |  Branch (248:5): [True: 2, False: 0]
  ------------------
  249|      2|    if (stack_size > 1) {
  ------------------
  |  Branch (249:9): [True: 0, False: 2]
  ------------------
  250|      0|        int scope, force_global = 0;
  251|      0|        struct compiler_unit *parent;
  252|      0|        PyObject *mangled, *capsule;
  253|       |
  254|      0|        capsule = PyList_GET_ITEM(c->c_stack, stack_size - 1);
  ------------------
  |  |   40|      0|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      0|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (254:19): [True: 0, False: 0]
  ------------------
  255|      0|        parent = (struct compiler_unit *)PyCapsule_GetPointer(capsule, CAPSULE_NAME);
  ------------------
  |  |  207|      0|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  256|      0|        assert(parent);
  ------------------
  |  Branch (256:9): [True: 0, False: 0]
  ------------------
  257|      0|        if (parent->u_scope_type == COMPILE_SCOPE_ANNOTATIONS) {
  ------------------
  |  Branch (257:13): [True: 0, False: 0]
  ------------------
  258|       |            /* The parent is an annotation scope, so we need to
  259|       |               look at the grandparent. */
  260|      0|            if (stack_size == 2) {
  ------------------
  |  Branch (260:17): [True: 0, False: 0]
  ------------------
  261|       |                // If we're immediately within the module, we can skip
  262|       |                // the rest and just set the qualname to be the same as name.
  263|      0|                u->u_metadata.u_qualname = Py_NewRef(u->u_metadata.u_name);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  264|      0|                return SUCCESS;
  ------------------
  |  |   36|      0|#define SUCCESS 0
  ------------------
  265|      0|            }
  266|      0|            capsule = PyList_GET_ITEM(c->c_stack, stack_size - 2);
  ------------------
  |  |   40|      0|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      0|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (266:23): [True: 0, False: 0]
  ------------------
  267|      0|            parent = (struct compiler_unit *)PyCapsule_GetPointer(capsule, CAPSULE_NAME);
  ------------------
  |  |  207|      0|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  268|      0|            assert(parent);
  ------------------
  |  Branch (268:13): [True: 0, False: 0]
  ------------------
  269|      0|        }
  270|       |
  271|      0|        if (u->u_scope_type == COMPILE_SCOPE_FUNCTION
  ------------------
  |  Branch (271:13): [True: 0, False: 0]
  ------------------
  272|      0|            || u->u_scope_type == COMPILE_SCOPE_ASYNC_FUNCTION
  ------------------
  |  Branch (272:16): [True: 0, False: 0]
  ------------------
  273|      0|            || u->u_scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (273:16): [True: 0, False: 0]
  ------------------
  274|      0|            assert(u->u_metadata.u_name);
  ------------------
  |  Branch (274:13): [True: 0, False: 0]
  ------------------
  275|      0|            mangled = _Py_Mangle(parent->u_private, u->u_metadata.u_name);
  276|      0|            if (!mangled) {
  ------------------
  |  Branch (276:17): [True: 0, False: 0]
  ------------------
  277|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  278|      0|            }
  279|       |
  280|      0|            scope = _PyST_GetScope(parent->u_ste, mangled);
  281|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  282|      0|            RETURN_IF_ERROR(scope);
  ------------------
  |  |   40|      0|    do {                    \
  |  |   41|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  283|      0|            assert(scope != GLOBAL_IMPLICIT);
  ------------------
  |  Branch (283:13): [True: 0, False: 0]
  ------------------
  284|      0|            if (scope == GLOBAL_EXPLICIT)
  ------------------
  |  |  192|      0|#define GLOBAL_EXPLICIT 2
  ------------------
  |  Branch (284:17): [True: 0, False: 0]
  ------------------
  285|      0|                force_global = 1;
  286|      0|        }
  287|       |
  288|      0|        if (!force_global) {
  ------------------
  |  Branch (288:13): [True: 0, False: 0]
  ------------------
  289|      0|            if (parent->u_scope_type == COMPILE_SCOPE_FUNCTION
  ------------------
  |  Branch (289:17): [True: 0, False: 0]
  ------------------
  290|      0|                || parent->u_scope_type == COMPILE_SCOPE_ASYNC_FUNCTION
  ------------------
  |  Branch (290:20): [True: 0, False: 0]
  ------------------
  291|      0|                || parent->u_scope_type == COMPILE_SCOPE_LAMBDA)
  ------------------
  |  Branch (291:20): [True: 0, False: 0]
  ------------------
  292|      0|            {
  293|      0|                _Py_DECLARE_STR(dot_locals, ".<locals>");
  294|      0|                base = PyUnicode_Concat(parent->u_metadata.u_qualname,
  295|      0|                                        &_Py_STR(dot_locals));
  ------------------
  |  |  953|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  296|      0|                if (base == NULL) {
  ------------------
  |  Branch (296:21): [True: 0, False: 0]
  ------------------
  297|      0|                    return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  298|      0|                }
  299|      0|            }
  300|      0|            else {
  301|      0|                base = Py_NewRef(parent->u_metadata.u_qualname);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  302|      0|            }
  303|      0|        }
  304|      0|        if (u->u_ste->ste_function_name != NULL) {
  ------------------
  |  Branch (304:13): [True: 0, False: 0]
  ------------------
  305|      0|            PyObject *tmp = base;
  306|      0|            base = PyUnicode_FromFormat("%U.%U",
  307|      0|                base,
  308|      0|                u->u_ste->ste_function_name);
  309|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  310|      0|            if (base == NULL) {
  ------------------
  |  Branch (310:17): [True: 0, False: 0]
  ------------------
  311|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  312|      0|            }
  313|      0|        }
  314|      0|    }
  315|      2|    else if (u->u_ste->ste_function_name != NULL) {
  ------------------
  |  Branch (315:14): [True: 0, False: 2]
  ------------------
  316|      0|        base = Py_NewRef(u->u_ste->ste_function_name);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  317|      0|    }
  318|       |
  319|      2|    if (base != NULL) {
  ------------------
  |  Branch (319:9): [True: 0, False: 2]
  ------------------
  320|      0|        name = PyUnicode_Concat(base, _Py_LATIN1_CHR('.'));
  ------------------
  |  |  955|      0|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (955:6): [True: 0, Folded]
  |  |  ------------------
  |  |  956|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  957|      0|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  321|      0|        Py_DECREF(base);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  322|      0|        if (name == NULL) {
  ------------------
  |  Branch (322:13): [True: 0, False: 0]
  ------------------
  323|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  324|      0|        }
  325|      0|        PyUnicode_Append(&name, u->u_metadata.u_name);
  326|      0|        if (name == NULL) {
  ------------------
  |  Branch (326:13): [True: 0, False: 0]
  ------------------
  327|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  328|      0|        }
  329|      0|    }
  330|      2|    else {
  331|      2|        name = Py_NewRef(u->u_metadata.u_name);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  332|      2|    }
  333|       |    // The qualified name is interned when the code object is created,
  334|       |    // whatever its content.  The body of a class also has it as a constant,
  335|       |    // and intern_final_constants() only interns the constants selected by
  336|       |    // _PyCode_ShouldInternString().  Intern the other qualified names now,
  337|       |    // so that the same object is always used for both.
  338|      2|    if (!_PyCode_ShouldInternString(name)) {
  ------------------
  |  Branch (338:9): [True: 2, False: 0]
  ------------------
  339|      2|        _PyUnicode_InternMortal(_PyInterpreterState_GET(), &name);
  340|      2|    }
  341|      2|    u->u_metadata.u_qualname = name;
  342|       |
  343|      2|    return SUCCESS;
  ------------------
  |  |   36|      2|#define SUCCESS 0
  ------------------
  344|      2|}
_PyCompile_DictAddObj:
  469|     17|{
  470|     17|    PyObject *v;
  471|     17|    Py_ssize_t arg;
  472|       |
  473|     17|    if (PyDict_GetItemRef(dict, o, &v) < 0) {
  ------------------
  |  Branch (473:9): [True: 0, False: 17]
  ------------------
  474|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  475|      0|    }
  476|     17|    if (!v) {
  ------------------
  |  Branch (476:9): [True: 6, False: 11]
  ------------------
  477|      6|        arg = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|      6|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|      6|        v = PyLong_FromSsize_t(arg);
  479|      6|        if (!v) {
  ------------------
  |  Branch (479:13): [True: 0, False: 6]
  ------------------
  480|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  481|      0|        }
  482|      6|        if (PyDict_SetItem(dict, o, v) < 0) {
  ------------------
  |  Branch (482:13): [True: 0, False: 6]
  ------------------
  483|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  484|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  485|      0|        }
  486|      6|    }
  487|     11|    else
  488|     11|        arg = PyLong_AsLong(v);
  489|     17|    Py_DECREF(v);
  ------------------
  |  |  430|     17|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  490|     17|    return arg;
  491|     17|}
_PyCompile_AddConst:
  495|      4|{
  496|      4|    PyObject *key = merge_consts_recursive(c->c_const_cache, o);
  497|      4|    if (key == NULL) {
  ------------------
  |  Branch (497:9): [True: 0, False: 4]
  ------------------
  498|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  499|      0|    }
  500|       |
  501|      4|    Py_ssize_t arg = _PyCompile_DictAddObj(c->u->u_metadata.u_consts, key);
  502|      4|    Py_DECREF(key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  503|      4|    return arg;
  504|      4|}
_PyCompile_EnterScope:
  679|      4|{
  680|      4|    struct compiler_unit *u;
  681|      4|    u = (struct compiler_unit *)PyMem_Calloc(1, sizeof(struct compiler_unit));
  682|      4|    if (!u) {
  ------------------
  |  Branch (682:9): [True: 0, False: 4]
  ------------------
  683|      0|        PyErr_NoMemory();
  684|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  685|      0|    }
  686|      4|    u->u_scope_type = scope_type;
  687|      4|    if (umd != NULL) {
  ------------------
  |  Branch (687:9): [True: 2, False: 2]
  ------------------
  688|      2|        u->u_metadata = *umd;
  689|      2|    }
  690|      2|    else {
  691|      2|        u->u_metadata.u_argcount = 0;
  692|      2|        u->u_metadata.u_posonlyargcount = 0;
  693|      2|        u->u_metadata.u_kwonlyargcount = 0;
  694|      2|    }
  695|      4|    u->u_ste = _PySymtable_Lookup(c->c_st, key);
  696|      4|    if (!u->u_ste) {
  ------------------
  |  Branch (696:9): [True: 0, False: 4]
  ------------------
  697|      0|        compiler_unit_free(u);
  698|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  699|      0|    }
  700|      4|    u->u_metadata.u_name = Py_NewRef(name);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  701|      4|    u->u_metadata.u_varnames = list2dict(u->u_ste->ste_varnames);
  702|      4|    if (!u->u_metadata.u_varnames) {
  ------------------
  |  Branch (702:9): [True: 0, False: 4]
  ------------------
  703|      0|        compiler_unit_free(u);
  704|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  705|      0|    }
  706|      4|    u->u_metadata.u_cellvars = compiler_cellvars(u->u_ste);
  707|      4|    if (!u->u_metadata.u_cellvars) {
  ------------------
  |  Branch (707:9): [True: 0, False: 4]
  ------------------
  708|      0|        compiler_unit_free(u);
  709|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  710|      0|    }
  711|      4|    if (u->u_ste->ste_needs_class_closure) {
  ------------------
  |  Branch (711:9): [True: 0, False: 4]
  ------------------
  712|       |        /* Cook up an implicit __class__ cell. */
  713|      0|        Py_ssize_t res;
  714|      0|        assert(u->u_scope_type == COMPILE_SCOPE_CLASS);
  ------------------
  |  Branch (714:9): [True: 0, False: 0]
  ------------------
  715|      0|        res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__class__));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  716|      0|        if (res < 0) {
  ------------------
  |  Branch (716:13): [True: 0, False: 0]
  ------------------
  717|      0|            compiler_unit_free(u);
  718|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  719|      0|        }
  720|      0|    }
  721|      4|    if (u->u_ste->ste_needs_classdict) {
  ------------------
  |  Branch (721:9): [True: 0, False: 4]
  ------------------
  722|       |        /* Cook up an implicit __classdict__ cell. */
  723|      0|        Py_ssize_t res;
  724|      0|        assert(u->u_scope_type == COMPILE_SCOPE_CLASS);
  ------------------
  |  Branch (724:9): [True: 0, False: 0]
  ------------------
  725|      0|        res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__classdict__));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  726|      0|        if (res < 0) {
  ------------------
  |  Branch (726:13): [True: 0, False: 0]
  ------------------
  727|      0|            compiler_unit_free(u);
  728|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  729|      0|        }
  730|      0|    }
  731|      4|    if (u->u_ste->ste_has_conditional_annotations) {
  ------------------
  |  Branch (731:9): [True: 0, False: 4]
  ------------------
  732|       |        /* Cook up an implicit __conditional_annotations__ cell */
  733|      0|        Py_ssize_t res;
  734|      0|        assert(u->u_scope_type == COMPILE_SCOPE_CLASS || u->u_scope_type == COMPILE_SCOPE_MODULE);
  ------------------
  |  Branch (734:9): [True: 0, False: 0]
  |  Branch (734:9): [True: 0, False: 0]
  ------------------
  735|      0|        res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__conditional_annotations__));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  736|      0|        if (res < 0) {
  ------------------
  |  Branch (736:13): [True: 0, False: 0]
  ------------------
  737|      0|            compiler_unit_free(u);
  738|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  739|      0|        }
  740|      0|    }
  741|       |
  742|      4|    u->u_metadata.u_freevars = dictbytype(u->u_ste->ste_symbols, FREE, DEF_FREE_CLASS,
  ------------------
  |  |  194|      4|#define FREE 4
  ------------------
                  u->u_metadata.u_freevars = dictbytype(u->u_ste->ste_symbols, FREE, DEF_FREE_CLASS,
  ------------------
  |  |  175|      4|#define DEF_FREE_CLASS (2<<5)    /* free variable from class's method */
  ------------------
  743|      4|                               PyDict_GET_SIZE(u->u_metadata.u_cellvars));
  ------------------
  |  |   63|      4|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  744|      4|    if (!u->u_metadata.u_freevars) {
  ------------------
  |  Branch (744:9): [True: 0, False: 4]
  ------------------
  745|      0|        compiler_unit_free(u);
  746|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  747|      0|    }
  748|       |
  749|      4|    if (scope_type == COMPILE_SCOPE_MODULE || scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (749:9): [True: 2, False: 2]
  |  Branch (749:47): [True: 0, False: 2]
  ------------------
  750|      2|        u->u_metadata.u_fasthidden = PySet_New(NULL);
  751|      2|        if (!u->u_metadata.u_fasthidden) {
  ------------------
  |  Branch (751:13): [True: 0, False: 2]
  ------------------
  752|      0|            compiler_unit_free(u);
  753|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  754|      0|        }
  755|      2|    }
  756|      2|    else {
  757|      2|        u->u_metadata.u_fasthidden = NULL;
  758|      2|    }
  759|       |
  760|      4|    u->u_nfblocks = 0;
  761|      4|    u->u_metadata.u_firstlineno = lineno;
  762|      4|    u->u_metadata.u_consts = PyDict_New();
  763|      4|    if (!u->u_metadata.u_consts) {
  ------------------
  |  Branch (763:9): [True: 0, False: 4]
  ------------------
  764|      0|        compiler_unit_free(u);
  765|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  766|      0|    }
  767|      4|    u->u_metadata.u_names = PyDict_New();
  768|      4|    if (!u->u_metadata.u_names) {
  ------------------
  |  Branch (768:9): [True: 0, False: 4]
  ------------------
  769|      0|        compiler_unit_free(u);
  770|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  771|      0|    }
  772|       |
  773|      4|    u->u_deferred_annotations = NULL;
  774|      4|    u->u_conditional_annotation_indices = NULL;
  775|      4|    u->u_next_conditional_annotation_index = 0;
  776|      4|    if (scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (776:9): [True: 0, False: 4]
  ------------------
  777|      0|        u->u_static_attributes = PySet_New(0);
  778|      0|        if (!u->u_static_attributes) {
  ------------------
  |  Branch (778:13): [True: 0, False: 0]
  ------------------
  779|      0|            compiler_unit_free(u);
  780|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  781|      0|        }
  782|      0|    }
  783|      4|    else {
  784|      4|        u->u_static_attributes = NULL;
  785|      4|    }
  786|       |
  787|      4|    u->u_instr_sequence = (instr_sequence*)_PyInstructionSequence_New();
  788|      4|    if (!u->u_instr_sequence) {
  ------------------
  |  Branch (788:9): [True: 0, False: 4]
  ------------------
  789|      0|        compiler_unit_free(u);
  790|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  791|      0|    }
  792|      4|    u->u_stashed_instr_sequence = NULL;
  793|       |
  794|       |    /* Push the old compiler_unit on the stack. */
  795|      4|    if (c->u) {
  ------------------
  |  Branch (795:9): [True: 2, False: 2]
  ------------------
  796|      2|        PyObject *capsule = PyCapsule_New(c->u, CAPSULE_NAME, NULL);
  ------------------
  |  |  207|      2|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  797|      2|        if (!capsule || PyList_Append(c->c_stack, capsule) < 0) {
  ------------------
  |  Branch (797:13): [True: 0, False: 2]
  |  Branch (797:25): [True: 0, False: 2]
  ------------------
  798|      0|            Py_XDECREF(capsule);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  799|      0|            compiler_unit_free(u);
  800|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  801|      0|        }
  802|      2|        Py_DECREF(capsule);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  803|      2|        if (private == NULL) {
  ------------------
  |  Branch (803:13): [True: 2, False: 0]
  ------------------
  804|      2|            private = c->u->u_private;
  805|      2|        }
  806|      2|    }
  807|       |
  808|      4|    u->u_private = Py_XNewRef(private);
  ------------------
  |  |  648|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  809|       |
  810|      4|    c->u = u;
  811|      4|    return SUCCESS;
  ------------------
  |  |   36|      4|#define SUCCESS 0
  ------------------
  812|      4|}
_PyCompile_ExitScope:
  816|      4|{
  817|       |    // Don't call PySequence_DelItem() with an exception raised
  818|      4|    PyObject *exc = PyErr_GetRaisedException();
  819|       |
  820|      4|    instr_sequence *nested_seq = NULL;
  821|      4|    if (c->c_save_nested_seqs) {
  ------------------
  |  Branch (821:9): [True: 0, False: 4]
  ------------------
  822|      0|        nested_seq = c->u->u_instr_sequence;
  823|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  824|      0|    }
  825|      4|    compiler_unit_free(c->u);
  826|       |    /* Restore c->u to the parent unit. */
  827|      4|    Py_ssize_t n = PyList_GET_SIZE(c->c_stack) - 1;
  ------------------
  |  |   38|      4|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  828|      4|    if (n >= 0) {
  ------------------
  |  Branch (828:9): [True: 2, False: 2]
  ------------------
  829|      2|        PyObject *capsule = PyList_GET_ITEM(c->c_stack, n);
  ------------------
  |  |   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 (829:29): [True: 2, False: 0]
  ------------------
  830|      2|        c->u = (struct compiler_unit *)PyCapsule_GetPointer(capsule, CAPSULE_NAME);
  ------------------
  |  |  207|      2|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  831|      2|        assert(c->u);
  ------------------
  |  Branch (831:9): [True: 2, False: 0]
  ------------------
  832|       |        /* we are deleting from a list so this really shouldn't fail */
  833|      2|        if (PySequence_DelItem(c->c_stack, n) < 0) {
  ------------------
  |  Branch (833:13): [True: 0, False: 2]
  ------------------
  834|      0|            PyErr_FormatUnraisable("Exception ignored while removing "
  835|      0|                                   "the last compiler stack item");
  836|      0|        }
  837|      2|        if (nested_seq != NULL) {
  ------------------
  |  Branch (837:13): [True: 0, False: 2]
  ------------------
  838|      0|            if (_PyInstructionSequence_AddNested(c->u->u_instr_sequence, nested_seq) < 0) {
  ------------------
  |  Branch (838:17): [True: 0, False: 0]
  ------------------
  839|      0|                PyErr_FormatUnraisable("Exception ignored while appending "
  840|      0|                                       "nested instruction sequence");
  841|      0|            }
  842|      0|        }
  843|      2|    }
  844|      2|    else {
  845|      2|        c->u = NULL;
  846|      2|    }
  847|      4|    Py_XDECREF(nested_seq);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  848|       |
  849|      4|    PyErr_SetRaisedException(exc);
  850|      4|}
_PyCompile_ResolveNameop:
 1121|     13|{
 1122|     13|    PyObject *dict = c->u->u_metadata.u_names;
 1123|     13|    *optype = COMPILE_OP_NAME;
 1124|       |
 1125|     13|    PySTEntryObject *ste = c->u->u_ste;
 1126|     13|    assert(ste != NULL);
  ------------------
  |  Branch (1126:5): [True: 13, False: 0]
  ------------------
 1127|       |
 1128|     13|    int scope = compiler_resolve_inlined_free(&ste, mangled);
 1129|     13|    RETURN_IF_ERROR(scope);
  ------------------
  |  |   40|     13|    do {                    \
  |  |   41|     13|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 13]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|     13|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 13]
  |  |  ------------------
  ------------------
 1130|       |
 1131|     13|    switch (scope) {
 1132|      0|    case FREE:
  ------------------
  |  |  194|      0|#define FREE 4
  ------------------
  |  Branch (1132:5): [True: 0, False: 13]
  ------------------
 1133|      0|        dict = c->u->u_metadata.u_freevars;
 1134|      0|        *optype = COMPILE_OP_DEREF;
 1135|      0|        break;
 1136|      0|    case CELL:
  ------------------
  |  |  195|      0|#define CELL 5
  ------------------
  |  Branch (1136:5): [True: 0, False: 13]
  ------------------
 1137|      0|        dict = c->u->u_metadata.u_cellvars;
 1138|      0|        *optype = COMPILE_OP_DEREF;
 1139|      0|        break;
 1140|     11|    case LOCAL:
  ------------------
  |  |  191|     11|#define LOCAL 1
  ------------------
  |  Branch (1140:5): [True: 11, False: 2]
  ------------------
 1141|       |        /* Inlined comprehensions isolate their locals as FAST, even when
 1142|       |         * nested in class or module scope. */
 1143|     11|        if (_PyST_IsFunctionLike(ste) || ste->ste_type == InlinedComprehensionBlock) {
  ------------------
  |  Branch (1143:13): [True: 11, False: 0]
  |  Branch (1143:42): [True: 0, False: 0]
  ------------------
 1144|     11|            *optype = COMPILE_OP_FAST;
 1145|     11|        }
 1146|     11|        break;
 1147|      2|    case GLOBAL_IMPLICIT: {
  ------------------
  |  |  193|      2|#define GLOBAL_IMPLICIT 3
  ------------------
  |  Branch (1147:5): [True: 2, False: 11]
  ------------------
 1148|       |        /* Opcode depends on the enclosing non-inlined scope. */
 1149|      2|        PySTEntryObject *enclosing = ste;
 1150|      2|        while (enclosing->ste_parent != NULL) {
  ------------------
  |  Branch (1150:16): [True: 0, False: 2]
  ------------------
 1151|      0|            assert(enclosing->ste_type == InlinedComprehensionBlock);
  ------------------
  |  Branch (1151:13): [True: 0, False: 0]
  ------------------
 1152|      0|            enclosing = enclosing->ste_parent;
 1153|      0|        }
 1154|      2|        if (_PyST_IsFunctionLike(enclosing)) {
  ------------------
  |  Branch (1154:13): [True: 2, False: 0]
  ------------------
 1155|      2|            *optype = COMPILE_OP_GLOBAL;
 1156|      2|        }
 1157|      2|        break;
 1158|      2|    }
 1159|      0|    case GLOBAL_EXPLICIT:
  ------------------
  |  |  192|      0|#define GLOBAL_EXPLICIT 2
  ------------------
  |  Branch (1159:5): [True: 0, False: 13]
  ------------------
 1160|      0|        *optype = COMPILE_OP_GLOBAL;
 1161|      0|        break;
 1162|      0|    default:
  ------------------
  |  Branch (1162:5): [True: 0, False: 13]
  ------------------
 1163|       |        /* scope can be 0 */
 1164|      0|        break;
 1165|     13|    }
 1166|       |    /* XXX Handle __doc__ and the like better */
 1167|     13|    assert(scope || PyUnicode_READ_CHAR(mangled, 0) == '_');
  ------------------
  |  Branch (1167:5): [True: 13, False: 0]
  |  Branch (1167:5): [True: 0, False: 0]
  ------------------
 1168|     13|    if (*optype != COMPILE_OP_FAST) {
  ------------------
  |  Branch (1168:9): [True: 2, False: 11]
  ------------------
 1169|      2|        *arg = _PyCompile_DictAddObj(dict, mangled);
 1170|      2|        RETURN_IF_ERROR(*arg);
  ------------------
  |  |   40|      2|    do {                    \
  |  |   41|      2|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1171|      2|    }
 1172|     13|    return scope;
 1173|     13|}
_PyCompile_MaybeMangle:
 1306|     13|{
 1307|     13|    return _Py_MaybeMangle(c->u->u_private, c->u->u_ste, name);
 1308|     13|}
_PyCompile_InstrSequence:
 1312|     41|{
 1313|     41|    return c->u->u_instr_sequence;
 1314|     41|}
_PyCompile_SymtableEntry:
 1359|     10|{
 1360|     10|    return c->u->u_ste;
 1361|     10|}
_PyCompile_Metadata:
 1393|     11|{
 1394|     11|    return &c->u->u_metadata;
 1395|     11|}
_PyCompile_ConstCacheMergeOne:
 1400|     24|{
 1401|     24|    PyObject *key = const_cache_insert(const_cache, *obj, false);
 1402|     24|    if (key == NULL) {
  ------------------
  |  Branch (1402:9): [True: 0, False: 24]
  ------------------
 1403|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1404|      0|    }
 1405|     24|    if (PyTuple_CheckExact(key)) {
  ------------------
  |  |   28|     24|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|     24|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 24, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1406|     24|        PyObject *item = PyTuple_GET_ITEM(key, 1);
  ------------------
  |  |   29|     24|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     24|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1406:26): [True: 24, False: 0]
  ------------------
 1407|     24|        Py_SETREF(*obj, Py_NewRef(item));
  ------------------
  |  |  545|     24|    do { \
  |  |  546|     24|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     24|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|     24|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     24|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|     24|        *_tmp_dst_ptr = (src); \
  |  |  549|     24|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|     24|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 24]
  |  |  ------------------
  ------------------
 1408|     24|        Py_DECREF(key);
  ------------------
  |  |  430|     24|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1409|     24|    }
 1410|      0|    else {
 1411|      0|        Py_SETREF(*obj, key);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1412|      0|    }
 1413|     24|    return SUCCESS;
  ------------------
  |  |   36|     24|#define SUCCESS 0
  ------------------
 1414|     24|}
_PyCompile_OptimizeAndAssemble:
 1668|      4|{
 1669|      4|    struct compiler_unit *u = c->u;
 1670|      4|    PyObject *const_cache = c->c_const_cache;
 1671|      4|    PyObject *filename = c->c_filename;
 1672|       |
 1673|      4|    int code_flags = compute_code_flags(c);
 1674|      4|    assert(code_flags >= 0);
  ------------------
  |  Branch (1674:5): [True: 4, False: 0]
  ------------------
 1675|      4|    if (_PyCodegen_AddReturnAtEnd(c, addNone) < 0) {
  ------------------
  |  Branch (1675:9): [True: 0, False: 4]
  ------------------
 1676|      0|        return NULL;
 1677|      0|    }
 1678|       |
 1679|      4|    return optimize_and_assemble_code_unit(u, const_cache, code_flags, filename);
 1680|      4|}
_PyAST_Compile:
 1685|      2|{
 1686|      2|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (1686:5): [True: 2, False: 0]
  ------------------
 1687|      2|    compiler *c = new_compiler(mod, filename, pflags, optimize, arena, module);
 1688|      2|    if (c == NULL) {
  ------------------
  |  Branch (1688:9): [True: 0, False: 2]
  ------------------
 1689|      0|        return NULL;
 1690|      0|    }
 1691|       |
 1692|      2|    PyCodeObject *co = compiler_mod(c, mod);
 1693|      2|    compiler_free(c);
 1694|      2|    assert(co || PyErr_Occurred());
  ------------------
  |  Branch (1694:5): [True: 2, False: 0]
  |  Branch (1694:5): [True: 0, False: 0]
  ------------------
 1695|      2|    return co;
 1696|      2|}
_PyCompile_AstPreprocess:
 1702|      9|{
 1703|      9|    _PyFutureFeatures future;
 1704|      9|    if (!_PyFuture_FromAST(mod, filename, &future)) {
  ------------------
  |  Branch (1704:9): [True: 0, False: 9]
  ------------------
 1705|      0|        return -1;
 1706|      0|    }
 1707|      9|    int flags = future.ff_features | cf->cf_flags;
 1708|      9|    if (optimize == -1) {
  ------------------
  |  Branch (1708:9): [True: 9, False: 0]
  ------------------
 1709|      9|        optimize = _Py_GetConfig()->optimization_level;
 1710|      9|    }
 1711|      9|    if (!_PyAST_Preprocess(mod, arena, filename, optimize, flags,
  ------------------
  |  Branch (1711:9): [True: 0, False: 9]
  ------------------
 1712|      9|                           no_const_folding, 0, module))
 1713|      0|    {
 1714|      0|        return -1;
 1715|      0|    }
 1716|      9|    return 0;
 1717|      9|}
compile.c:merge_consts_recursive:
  463|      4|{
  464|       |    return const_cache_insert(const_cache, o, true);
  465|      4|}
compile.c:compiler_unit_free:
  188|      4|{
  189|      4|    Py_CLEAR(u->u_instr_sequence);
  ------------------
  |  |  487|      4|    do { \
  |  |  488|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  491|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      4|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      4|        } \
  |  |  494|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  190|      4|    Py_CLEAR(u->u_stashed_instr_sequence);
  ------------------
  |  |  487|      4|    do { \
  |  |  488|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  191|      4|    Py_CLEAR(u->u_ste);
  ------------------
  |  |  487|      4|    do { \
  |  |  488|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  491|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      4|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      4|        } \
  |  |  494|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  192|      4|    Py_CLEAR(u->u_metadata.u_name);
  ------------------
  |  |  487|      4|    do { \
  |  |  488|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  491|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      4|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      4|        } \
  |  |  494|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  193|      4|    Py_CLEAR(u->u_metadata.u_qualname);
  ------------------
  |  |  487|      4|    do { \
  |  |  488|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2, False: 2]
  |  |  ------------------
  |  |  491|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      2|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      2|        } \
  |  |  494|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  194|      4|    Py_CLEAR(u->u_metadata.u_consts);
  ------------------
  |  |  487|      4|    do { \
  |  |  488|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  491|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      4|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      4|        } \
  |  |  494|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  195|      4|    Py_CLEAR(u->u_metadata.u_names);
  ------------------
  |  |  487|      4|    do { \
  |  |  488|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  491|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      4|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      4|        } \
  |  |  494|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  196|      4|    Py_CLEAR(u->u_metadata.u_varnames);
  ------------------
  |  |  487|      4|    do { \
  |  |  488|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  491|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      4|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      4|        } \
  |  |  494|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  197|      4|    Py_CLEAR(u->u_metadata.u_freevars);
  ------------------
  |  |  487|      4|    do { \
  |  |  488|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  491|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      4|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      4|        } \
  |  |  494|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  198|      4|    Py_CLEAR(u->u_metadata.u_cellvars);
  ------------------
  |  |  487|      4|    do { \
  |  |  488|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  491|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      4|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      4|        } \
  |  |  494|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  199|      4|    Py_CLEAR(u->u_metadata.u_fasthidden);
  ------------------
  |  |  487|      4|    do { \
  |  |  488|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2, False: 2]
  |  |  ------------------
  |  |  491|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      2|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      2|        } \
  |  |  494|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  200|      4|    Py_CLEAR(u->u_private);
  ------------------
  |  |  487|      4|    do { \
  |  |  488|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  201|      4|    Py_CLEAR(u->u_static_attributes);
  ------------------
  |  |  487|      4|    do { \
  |  |  488|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  202|      4|    Py_CLEAR(u->u_deferred_annotations);
  ------------------
  |  |  487|      4|    do { \
  |  |  488|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  203|       |    Py_CLEAR(u->u_conditional_annotation_indices);
  ------------------
  |  |  487|      4|    do { \
  |  |  488|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  204|      4|    PyMem_Free(u);
  205|      4|}
compile.c:list2dict:
  508|      8|{
  509|      8|    Py_ssize_t i, n;
  510|      8|    PyObject *v, *k;
  511|      8|    PyObject *dict = PyDict_New();
  512|      8|    if (!dict) return NULL;
  ------------------
  |  Branch (512:9): [True: 0, False: 8]
  ------------------
  513|       |
  514|      8|    n = PyList_Size(list);
  515|     19|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (515:17): [True: 11, False: 8]
  ------------------
  516|     11|        v = PyLong_FromSsize_t(i);
  517|     11|        if (!v) {
  ------------------
  |  Branch (517:13): [True: 0, False: 11]
  ------------------
  518|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  519|      0|            return NULL;
  520|      0|        }
  521|     11|        k = PyList_GET_ITEM(list, i);
  ------------------
  |  |   40|     11|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|     11|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (521:13): [True: 11, False: 0]
  ------------------
  522|     11|        if (PyDict_SetItem(dict, k, v) < 0) {
  ------------------
  |  Branch (522:13): [True: 0, False: 11]
  ------------------
  523|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  524|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  525|      0|            return NULL;
  526|      0|        }
  527|     11|        Py_DECREF(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  528|     11|    }
  529|      8|    return dict;
  530|      8|}
compile.c:compiler_cellvars:
  648|      4|{
  649|      4|    PyObject *names = PySet_New(NULL);
  650|      4|    if (names == NULL) {
  ------------------
  |  Branch (650:9): [True: 0, False: 4]
  ------------------
  651|      0|        return NULL;
  652|      0|    }
  653|      4|    if (add_cell_names_from_symbols(ste->ste_symbols, names) < 0) {
  ------------------
  |  Branch (653:9): [True: 0, False: 4]
  ------------------
  654|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  655|      0|        return NULL;
  656|      0|    }
  657|      4|    if (add_inlined_comprehension_cell_names(ste, names) < 0) {
  ------------------
  |  Branch (657:9): [True: 0, False: 4]
  ------------------
  658|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  659|      0|        return NULL;
  660|      0|    }
  661|      4|    PyObject *sorted = PySequence_List(names);
  662|      4|    Py_DECREF(names);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  663|      4|    if (sorted == NULL) {
  ------------------
  |  Branch (663:9): [True: 0, False: 4]
  ------------------
  664|      0|        return NULL;
  665|      0|    }
  666|      4|    if (PyList_Sort(sorted) < 0) {
  ------------------
  |  Branch (666:9): [True: 0, False: 4]
  ------------------
  667|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  668|      0|        return NULL;
  669|      0|    }
  670|      4|    PyObject *cellvars = list2dict(sorted);
  671|      4|    Py_DECREF(sorted);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  672|      4|    return cellvars;
  673|      4|}
compile.c:add_cell_names_from_symbols:
  608|      4|{
  609|      4|    Py_ssize_t pos = 0;
  610|      4|    PyObject *k, *v;
  611|     17|    while (PyDict_Next(symbols, &pos, &k, &v)) {
  ------------------
  |  Branch (611:12): [True: 13, False: 4]
  ------------------
  612|     13|        long flags = PyLong_AsLong(v);
  613|     13|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (613:13): [True: 0, False: 13]
  |  Branch (613:28): [True: 0, False: 0]
  ------------------
  614|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  615|      0|        }
  616|     13|        if (SYMBOL_TO_SCOPE(flags) == CELL) {
  ------------------
  |  |  189|     13|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  187|     13|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  188|     13|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|     13|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     13|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  172|     13|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  173|     13|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (SYMBOL_TO_SCOPE(flags) == CELL) {
  ------------------
  |  |  195|     13|#define CELL 5
  ------------------
  |  Branch (616:13): [True: 0, False: 13]
  ------------------
  617|      0|            if (PySet_Add(names, k) < 0) {
  ------------------
  |  Branch (617:17): [True: 0, False: 0]
  ------------------
  618|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  619|      0|            }
  620|      0|        }
  621|     13|    }
  622|      4|    return SUCCESS;
  ------------------
  |  |   36|      4|#define SUCCESS 0
  ------------------
  623|      4|}
compile.c:add_inlined_comprehension_cell_names:
  627|      4|{
  628|      6|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(ste->ste_children); i++) {
  ------------------
  |  |   38|      6|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (628:28): [True: 2, False: 4]
  ------------------
  629|      2|        PySTEntryObject *child =
  630|      2|            (PySTEntryObject *)PyList_GET_ITEM(ste->ste_children, 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 (630:32): [True: 2, False: 0]
  ------------------
  631|      2|        if (child->ste_type != InlinedComprehensionBlock) {
  ------------------
  |  Branch (631:13): [True: 2, False: 0]
  ------------------
  632|      2|            continue;
  633|      2|        }
  634|      0|        if (add_cell_names_from_symbols(child->ste_symbols, names) < 0) {
  ------------------
  |  Branch (634:13): [True: 0, False: 0]
  ------------------
  635|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  636|      0|        }
  637|      0|        if (add_inlined_comprehension_cell_names(child, names) < 0) {
  ------------------
  |  Branch (637:13): [True: 0, False: 0]
  ------------------
  638|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  639|      0|        }
  640|      0|    }
  641|      4|    return SUCCESS;
  ------------------
  |  |   36|      4|#define SUCCESS 0
  ------------------
  642|      4|}
compile.c:dictbytype:
  542|      4|{
  543|      4|    Py_ssize_t i = offset, num_keys, key_i;
  544|      4|    PyObject *k, *v, *dest = PyDict_New();
  545|      4|    PyObject *sorted_keys;
  546|       |
  547|      4|    assert(offset >= 0);
  ------------------
  |  Branch (547:5): [True: 4, False: 0]
  ------------------
  548|      4|    if (dest == NULL)
  ------------------
  |  Branch (548:9): [True: 0, False: 4]
  ------------------
  549|      0|        return NULL;
  550|       |
  551|       |    /* Sort the keys so that we have a deterministic order on the indexes
  552|       |       saved in the returned dictionary.  These indexes are used as indexes
  553|       |       into the free and cell var storage.  Therefore if they aren't
  554|       |       deterministic, then the generated bytecode is not deterministic.
  555|       |    */
  556|      4|    sorted_keys = PyDict_Keys(src);
  557|      4|    if (sorted_keys == NULL) {
  ------------------
  |  Branch (557:9): [True: 0, False: 4]
  ------------------
  558|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  559|      0|        return NULL;
  560|      0|    }
  561|      4|    if (PyList_Sort(sorted_keys) != 0) {
  ------------------
  |  Branch (561:9): [True: 0, False: 4]
  ------------------
  562|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  563|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  564|      0|        return NULL;
  565|      0|    }
  566|      4|    num_keys = PyList_GET_SIZE(sorted_keys);
  ------------------
  |  |   38|      4|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  567|       |
  568|     17|    for (key_i = 0; key_i < num_keys; key_i++) {
  ------------------
  |  Branch (568:21): [True: 13, False: 4]
  ------------------
  569|     13|        k = PyList_GET_ITEM(sorted_keys, key_i);
  ------------------
  |  |   40|     13|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|     13|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (569:13): [True: 13, False: 0]
  ------------------
  570|      0|        v = PyDict_GetItemWithError(src, k);
  571|     13|        if (!v) {
  ------------------
  |  Branch (571:13): [True: 0, False: 13]
  ------------------
  572|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (572:17): [True: 0, False: 0]
  ------------------
  573|      0|                PyErr_SetObject(PyExc_KeyError, k);
  574|      0|            }
  575|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  576|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  577|      0|            return NULL;
  578|      0|        }
  579|     13|        long vi = PyLong_AsLong(v);
  580|     13|        if (vi == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (580:13): [True: 0, False: 13]
  |  Branch (580:25): [True: 0, False: 0]
  ------------------
  581|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  582|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  583|      0|            return NULL;
  584|      0|        }
  585|     13|        if (SYMBOL_TO_SCOPE(vi) == scope_type || vi & flag) {
  ------------------
  |  |  189|     13|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  187|     13|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  188|     13|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|     13|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     13|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  172|     13|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  173|     13|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (585:13): [True: 0, False: 13]
  |  Branch (585:50): [True: 0, False: 13]
  ------------------
  586|      0|            PyObject *item = PyLong_FromSsize_t(i);
  587|      0|            if (item == NULL) {
  ------------------
  |  Branch (587:17): [True: 0, False: 0]
  ------------------
  588|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  589|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  590|      0|                return NULL;
  591|      0|            }
  592|      0|            i++;
  593|      0|            if (PyDict_SetItem(dest, k, item) < 0) {
  ------------------
  |  Branch (593:17): [True: 0, False: 0]
  ------------------
  594|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  595|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  596|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|      0|                return NULL;
  598|      0|            }
  599|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  600|      0|        }
  601|     13|    }
  602|      4|    Py_DECREF(sorted_keys);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  603|      4|    return dest;
  604|      4|}
compile.c:compiler_resolve_inlined_free:
 1001|     13|{
 1002|     13|    int scope = _PyST_GetScope(*ste, name);
 1003|     13|    RETURN_IF_ERROR(scope);
  ------------------
  |  |   40|     13|    do {                    \
  |  |   41|     13|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 13]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|     13|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 13]
  |  |  ------------------
  ------------------
 1004|     13|    while ((*ste)->ste_type == InlinedComprehensionBlock &&
  ------------------
  |  Branch (1004:12): [True: 0, False: 13]
  ------------------
 1005|      0|           (scope == FREE || scope == 0)) {
  ------------------
  |  |  194|      0|#define FREE 4
  ------------------
  |  Branch (1005:13): [True: 0, False: 0]
  |  Branch (1005:30): [True: 0, False: 0]
  ------------------
 1006|      0|        PySTEntryObject *parent = (*ste)->ste_parent;
 1007|      0|        assert(parent != NULL);
  ------------------
  |  Branch (1007:9): [True: 0, False: 0]
  ------------------
 1008|      0|        if (parent->ste_type == ClassBlock) {
  ------------------
  |  Branch (1008:13): [True: 0, False: 0]
  ------------------
 1009|      0|            if (_PyST_IsClassClosureName(name)) {
  ------------------
  |  Branch (1009:17): [True: 0, False: 0]
  ------------------
 1010|      0|                return GLOBAL_IMPLICIT;
  ------------------
  |  |  193|      0|#define GLOBAL_IMPLICIT 3
  ------------------
 1011|      0|            }
 1012|      0|            break;
 1013|      0|        }
 1014|      0|        *ste = parent;
 1015|      0|        scope = _PyST_GetScope(*ste, name);
 1016|      0|        RETURN_IF_ERROR(scope);
  ------------------
  |  |   40|      0|    do {                    \
  |  |   41|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1017|      0|    }
 1018|     13|    return scope;
 1019|     13|}
compile.c:const_cache_insert:
  351|     28|{
  352|     28|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (352:5): [True: 28, False: 0]
  ------------------
  353|       |    // None and Ellipsis are immortal objects, and key is the singleton.
  354|       |    // No need to merge object and key.
  355|     28|    if (o == Py_None || o == Py_Ellipsis) {
  ------------------
  |  |  616|     56|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (o == Py_None || o == Py_Ellipsis) {
  ------------------
  |  |   14|     26|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (355:9): [True: 2, False: 26]
  |  Branch (355:25): [True: 0, False: 26]
  ------------------
  356|      2|        return o;
  357|      2|    }
  358|       |
  359|     26|    PyObject *key = _PyCode_ConstantKey(o);
  360|     26|    if (key == NULL) {
  ------------------
  |  Branch (360:9): [True: 0, False: 26]
  ------------------
  361|      0|        return NULL;
  362|      0|    }
  363|       |
  364|     26|    PyObject *t;
  365|     26|    int res = PyDict_SetDefaultRef(const_cache, key, key, &t);
  366|     26|    if (res != 0) {
  ------------------
  |  Branch (366:9): [True: 4, False: 22]
  ------------------
  367|       |        // o was not inserted into const_cache. t is either the existing value
  368|       |        // or NULL (on error).
  369|      4|        Py_DECREF(key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  370|      4|        return t;
  371|      4|    }
  372|     22|    Py_DECREF(t);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  373|       |
  374|     22|    if (!recursive) {
  ------------------
  |  Branch (374:9): [True: 20, False: 2]
  ------------------
  375|     20|        return key;
  376|     20|    }
  377|       |
  378|       |    // We registered o in const_cache.
  379|       |    // When o is a tuple or frozenset, we want to merge its
  380|       |    // items too.
  381|      2|    if (PyTuple_CheckExact(o)) {
  ------------------
  |  |   28|      2|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|      2|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  382|      0|        Py_ssize_t len = PyTuple_GET_SIZE(o);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  383|      0|        for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (383:32): [True: 0, False: 0]
  ------------------
  384|      0|            PyObject *item = PyTuple_GET_ITEM(o, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (384:30): [True: 0, False: 0]
  ------------------
  385|      0|            PyObject *u = const_cache_insert(const_cache, item, recursive);
  386|      0|            if (u == NULL) {
  ------------------
  |  Branch (386:17): [True: 0, False: 0]
  ------------------
  387|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  388|      0|                return NULL;
  389|      0|            }
  390|       |
  391|       |            // See _PyCode_ConstantKey()
  392|      0|            PyObject *v;  // borrowed
  393|      0|            if (PyTuple_CheckExact(u)) {
  ------------------
  |  |   28|      0|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  394|      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 (394:21): [True: 0, False: 0]
  ------------------
  395|      0|            }
  396|      0|            else {
  397|      0|                v = u;
  398|      0|            }
  399|      0|            if (v != item) {
  ------------------
  |  Branch (399:17): [True: 0, False: 0]
  ------------------
  400|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  401|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  402|      0|            }
  403|       |
  404|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  405|      0|        }
  406|      0|    }
  407|      2|    else if (PyFrozenSet_CheckExact(o)) {
  ------------------
  |  |   23|      2|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|      2|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  408|       |        // *key* is tuple. And its first item is frozenset of
  409|       |        // constant keys.
  410|       |        // See _PyCode_ConstantKey() for detail.
  411|      0|        assert(PyTuple_CheckExact(key));
  ------------------
  |  Branch (411:9): [True: 0, False: 0]
  ------------------
  412|      0|        assert(PyTuple_GET_SIZE(key) == 2);
  ------------------
  |  Branch (412:9): [True: 0, False: 0]
  ------------------
  413|       |
  414|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  415|      0|        if (len == 0) {  // empty frozenset should not be re-created.
  ------------------
  |  Branch (415:13): [True: 0, False: 0]
  ------------------
  416|      0|            return key;
  417|      0|        }
  418|      0|        PyObject *tuple = PyTuple_New(len);
  419|      0|        if (tuple == NULL) {
  ------------------
  |  Branch (419:13): [True: 0, False: 0]
  ------------------
  420|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  421|      0|            return NULL;
  422|      0|        }
  423|      0|        Py_ssize_t i = 0, pos = 0;
  424|      0|        PyObject *item;
  425|      0|        Py_hash_t hash;
  426|      0|        while (_PySet_NextEntry(o, &pos, &item, &hash)) {
  ------------------
  |  Branch (426:16): [True: 0, False: 0]
  ------------------
  427|      0|            PyObject *k = const_cache_insert(const_cache, item, recursive);
  428|      0|            if (k == NULL) {
  ------------------
  |  Branch (428:17): [True: 0, False: 0]
  ------------------
  429|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  430|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  431|      0|                return NULL;
  432|      0|            }
  433|      0|            PyObject *u;
  434|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  435|      0|                u = Py_NewRef(PyTuple_GET_ITEM(k, 1));
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  436|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  437|      0|            }
  438|      0|            else {
  439|      0|                u = k;
  440|      0|            }
  441|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  442|      0|            i++;
  443|      0|        }
  444|       |
  445|       |        // Instead of rewriting o, we create new frozenset and embed in the
  446|       |        // key tuple.  Caller should get merged frozenset from the key tuple.
  447|      0|        PyObject *new = PyFrozenSet_New(tuple);
  448|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  449|      0|        if (new == NULL) {
  ------------------
  |  Branch (449:13): [True: 0, False: 0]
  ------------------
  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|            return NULL;
  452|      0|        }
  453|      0|        assert(PyTuple_GET_ITEM(key, 1) == o);
  ------------------
  |  Branch (453:9): [True: 0, False: 0]
  |  Branch (453:9): [True: 0, False: 0]
  ------------------
  454|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  455|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  456|      0|    }
  457|       |
  458|      2|    return key;
  459|      2|}
compile.c:compute_code_flags:
 1584|      4|{
 1585|      4|    PySTEntryObject *ste = c->u->u_ste;
 1586|      4|    int flags = 0;
 1587|      4|    if (_PyST_IsFunctionLike(ste)) {
  ------------------
  |  Branch (1587:9): [True: 2, False: 2]
  ------------------
 1588|      2|        flags |= CO_NEWLOCALS | CO_OPTIMIZED;
  ------------------
  |  |  123|      2|#define CO_NEWLOCALS    0x0002
  ------------------
                      flags |= CO_NEWLOCALS | CO_OPTIMIZED;
  ------------------
  |  |  122|      2|#define CO_OPTIMIZED    0x0001
  ------------------
 1589|      2|        if (ste->ste_nested)
  ------------------
  |  Branch (1589:13): [True: 0, False: 2]
  ------------------
 1590|      0|            flags |= CO_NESTED;
  ------------------
  |  |  126|      0|#define CO_NESTED       0x0010
  ------------------
 1591|      2|        if (ste->ste_generator && !ste->ste_coroutine)
  ------------------
  |  Branch (1591:13): [True: 0, False: 2]
  |  Branch (1591:35): [True: 0, False: 0]
  ------------------
 1592|      0|            flags |= CO_GENERATOR;
  ------------------
  |  |  127|      0|#define CO_GENERATOR    0x0020
  ------------------
 1593|      2|        if (ste->ste_generator && ste->ste_coroutine)
  ------------------
  |  Branch (1593:13): [True: 0, False: 2]
  |  Branch (1593:35): [True: 0, False: 0]
  ------------------
 1594|      0|            flags |= CO_ASYNC_GENERATOR;
  ------------------
  |  |  133|      0|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
 1595|      2|        if (ste->ste_varargs)
  ------------------
  |  Branch (1595:13): [True: 0, False: 2]
  ------------------
 1596|      0|            flags |= CO_VARARGS;
  ------------------
  |  |  124|      0|#define CO_VARARGS      0x0004
  ------------------
 1597|      2|        if (ste->ste_varkeywords)
  ------------------
  |  Branch (1597:13): [True: 0, False: 2]
  ------------------
 1598|      0|            flags |= CO_VARKEYWORDS;
  ------------------
  |  |  125|      0|#define CO_VARKEYWORDS  0x0008
  ------------------
 1599|      2|        if (ste->ste_has_docstring)
  ------------------
  |  Branch (1599:13): [True: 0, False: 2]
  ------------------
 1600|      0|            flags |= CO_HAS_DOCSTRING;
  ------------------
  |  |  154|      0|#define CO_HAS_DOCSTRING 0x4000000
  ------------------
 1601|      2|        if (ste->ste_method)
  ------------------
  |  Branch (1601:13): [True: 0, False: 2]
  ------------------
 1602|      0|            flags |= CO_METHOD;
  ------------------
  |  |  157|      0|#define CO_METHOD  0x8000000
  ------------------
 1603|      2|    }
 1604|       |
 1605|      4|    if (ste->ste_coroutine && !ste->ste_generator) {
  ------------------
  |  Branch (1605:9): [True: 0, False: 4]
  |  Branch (1605:31): [True: 0, False: 0]
  ------------------
 1606|      0|        flags |= CO_COROUTINE;
  ------------------
  |  |  131|      0|#define CO_COROUTINE            0x0080
  ------------------
 1607|      0|    }
 1608|       |
 1609|       |    /* (Only) inherit compilerflags in PyCF_MASK */
 1610|      4|    flags |= (c->c_flags.cf_flags & PyCF_MASK);
  ------------------
  |  |    6|      4|#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  139|      4|#define CO_FUTURE_DIVISION      0x20000
  |  |  ------------------
  |  |               #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  140|      4|#define CO_FUTURE_ABSOLUTE_IMPORT 0x40000 /* do absolute imports by default */
  |  |  ------------------
  |  |    7|      4|                   CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  141|      4|#define CO_FUTURE_WITH_STATEMENT  0x80000
  |  |  ------------------
  |  |                                  CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  142|      4|#define CO_FUTURE_PRINT_FUNCTION  0x100000
  |  |  ------------------
  |  |    8|      4|                   CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  143|      4|#define CO_FUTURE_UNICODE_LITERALS 0x200000
  |  |  ------------------
  |  |                                  CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  145|      4|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  |  |  ------------------
  |  |    9|      4|                   CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  146|      4|#define CO_FUTURE_GENERATOR_STOP  0x800000
  |  |  ------------------
  |  |                                  CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  147|      4|#define CO_FUTURE_ANNOTATIONS    0x1000000
  |  |  ------------------
  ------------------
 1611|       |
 1612|      4|    return flags;
 1613|      4|}
compile.c:optimize_and_assemble_code_unit:
 1618|      4|{
 1619|      4|    cfg_builder *g = NULL;
 1620|      4|    instr_sequence optimized_instrs;
 1621|      4|    memset(&optimized_instrs, 0, sizeof(instr_sequence));
 1622|       |
 1623|      4|    PyCodeObject *co = NULL;
 1624|      4|    PyObject *consts = consts_dict_keys_inorder(u->u_metadata.u_consts);
 1625|      4|    if (consts == NULL) {
  ------------------
  |  Branch (1625:9): [True: 0, False: 4]
  ------------------
 1626|      0|        goto error;
 1627|      0|    }
 1628|      4|    g = _PyCfg_FromInstructionSequence(u->u_instr_sequence);
 1629|      4|    if (g == NULL) {
  ------------------
  |  Branch (1629:9): [True: 0, False: 4]
  ------------------
 1630|      0|        goto error;
 1631|      0|    }
 1632|      4|    int nlocals = (int)PyDict_GET_SIZE(u->u_metadata.u_varnames);
  ------------------
  |  |   63|      4|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1633|      4|    int nparams = (int)PyList_GET_SIZE(u->u_ste->ste_varnames);
  ------------------
  |  |   38|      4|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1634|      4|    assert(u->u_metadata.u_firstlineno);
  ------------------
  |  Branch (1634:5): [True: 4, False: 0]
  ------------------
 1635|       |
 1636|      4|    if (_PyCfg_OptimizeCodeUnit(g, consts, const_cache, nlocals,
  ------------------
  |  Branch (1636:9): [True: 0, False: 4]
  ------------------
 1637|      4|                                nparams, u->u_metadata.u_firstlineno) < 0) {
 1638|      0|        goto error;
 1639|      0|    }
 1640|       |
 1641|      4|    int stackdepth;
 1642|      4|    int nlocalsplus;
 1643|      4|    if (_PyCfg_OptimizedCfgToInstructionSequence(g, &u->u_metadata,
  ------------------
  |  Branch (1643:9): [True: 0, False: 4]
  ------------------
 1644|      4|                                                 &stackdepth, &nlocalsplus,
 1645|      4|                                                 &optimized_instrs) < 0) {
 1646|      0|        goto error;
 1647|      0|    }
 1648|       |
 1649|      4|    if (intern_final_constants(const_cache, consts) < 0) {
  ------------------
  |  Branch (1649:9): [True: 0, False: 4]
  ------------------
 1650|      0|        goto error;
 1651|      0|    }
 1652|       |
 1653|       |    /** Assembly **/
 1654|      4|    co = _PyAssemble_MakeCodeObject(&u->u_metadata, const_cache, consts,
 1655|      4|                                    stackdepth, &optimized_instrs, nlocalsplus,
 1656|      4|                                    code_flags, filename);
 1657|       |
 1658|      4|error:
 1659|      4|    Py_XDECREF(consts);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1660|      4|    PyInstructionSequence_Fini(&optimized_instrs);
 1661|      4|    _PyCfgBuilder_Free(g);
 1662|      4|    return co;
 1663|      4|}
compile.c:intern_final_constants:
 1567|      4|{
 1568|      4|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (1568:5): [True: 4, False: 0]
  ------------------
 1569|      4|    Py_ssize_t len = PyList_GET_SIZE(consts);
  ------------------
  |  |   38|      4|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1570|      8|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1570:28): [True: 4, False: 4]
  ------------------
 1571|      4|        PyObject *item = PyList_GET_ITEM(consts, i);
  ------------------
  |  |   40|      4|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      4|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1571:26): [True: 4, False: 0]
  ------------------
 1572|      0|        PyObject *v = intern_constant(const_cache, item);
 1573|      4|        if (v == NULL) {
  ------------------
  |  Branch (1573:13): [True: 0, False: 4]
  ------------------
 1574|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1575|      0|        }
 1576|      4|        PyList_SET_ITEM(consts, i, v);
  ------------------
  |  |   50|      4|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1577|      4|        Py_DECREF(item);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1578|      4|    }
 1579|      4|    return SUCCESS;
  ------------------
  |  |   36|      4|#define SUCCESS 0
  ------------------
 1580|      4|}
compile.c:intern_constant:
 1456|      4|{
 1457|      4|    if (PyUnicode_CheckExact(o)) {
  ------------------
  |  |  104|      4|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1458|      0|        Py_INCREF(o);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1459|      0|        if (_PyCode_ShouldInternString(o)) {
  ------------------
  |  Branch (1459:13): [True: 0, False: 0]
  ------------------
 1460|      0|            _PyUnicode_InternMortal(_PyInterpreterState_GET(), &o);
 1461|      0|        }
 1462|      0|        return o;
 1463|      0|    }
 1464|      4|    if (PyTuple_CheckExact(o)) {
  ------------------
  |  |   28|      4|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1465|      0|        Py_ssize_t len = PyTuple_GET_SIZE(o);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1466|      0|        for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1466:32): [True: 0, False: 0]
  ------------------
 1467|      0|            PyObject *item = PyTuple_GET_ITEM(o, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1467:30): [True: 0, False: 0]
  ------------------
 1468|      0|            PyObject *v = intern_constant(const_cache, item);
 1469|      0|            if (v == NULL) {
  ------------------
  |  Branch (1469:17): [True: 0, False: 0]
  ------------------
 1470|      0|                return NULL;
 1471|      0|            }
 1472|      0|            if (v != item) {
  ------------------
  |  Branch (1472:17): [True: 0, False: 0]
  ------------------
 1473|       |                // intern_constants() makes the same replacement in the
 1474|       |                // tuple if it is not made here.
 1475|      0|                PyTuple_SET_ITEM(o, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1476|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1477|      0|            }
 1478|      0|            else {
 1479|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1480|      0|            }
 1481|      0|        }
 1482|      0|        return Py_NewRef(o);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1483|      0|    }
 1484|      4|    if (!PyFrozenSet_CheckExact(o) && !PySlice_Check(o)) {
  ------------------
  |  |   23|      4|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|      8|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyFrozenSet_CheckExact(o) && !PySlice_Check(o)) {
  ------------------
  |  |   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 (1484:9): [True: 4, False: 0]
  |  Branch (1484:39): [True: 4, False: 0]
  ------------------
 1485|      4|        return Py_NewRef(o);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1486|      4|    }
 1487|       |
 1488|       |    // The key of a frozenset or of a slice is a pair whose second item is
 1489|       |    // the object which stands for all the equal constants.
 1490|       |    // See _PyCode_ConstantKey().
 1491|      0|    PyObject *key = const_cache_insert(const_cache, o, false);
 1492|      0|    if (key == NULL) {
  ------------------
  |  Branch (1492:9): [True: 0, False: 0]
  ------------------
 1493|      0|        return NULL;
 1494|      0|    }
 1495|      0|    assert(PyTuple_CheckExact(key));
  ------------------
  |  Branch (1495:5): [True: 0, False: 0]
  ------------------
 1496|      0|    assert(PyTuple_GET_SIZE(key) == 2);
  ------------------
  |  Branch (1496:5): [True: 0, False: 0]
  ------------------
 1497|      0|    o = PyTuple_GET_ITEM(key, 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 (1497:9): [True: 0, False: 0]
  ------------------
 1498|       |
 1499|      0|    PyObject *items;
 1500|      0|    if (PyFrozenSet_CheckExact(o)) {
  ------------------
  |  |   23|      0|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1501|      0|        items = PySequence_Tuple(o);
 1502|      0|    }
 1503|      0|    else {
 1504|      0|        PySliceObject *slice = (PySliceObject *)o;
 1505|      0|        items = PyTuple_Pack(3, slice->start, slice->stop, slice->step);
 1506|      0|    }
 1507|      0|    if (items == NULL) {
  ------------------
  |  Branch (1507:9): [True: 0, False: 0]
  ------------------
 1508|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1509|      0|        return NULL;
 1510|      0|    }
 1511|      0|    bool modified = false;
 1512|      0|    Py_ssize_t len = PyTuple_GET_SIZE(items);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1513|      0|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1513:28): [True: 0, False: 0]
  ------------------
 1514|      0|        PyObject *item = PyTuple_GET_ITEM(items, 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 (1514:26): [True: 0, False: 0]
  ------------------
 1515|      0|        PyObject *v = intern_constant(const_cache, item);
 1516|      0|        if (v == NULL) {
  ------------------
  |  Branch (1516:13): [True: 0, False: 0]
  ------------------
 1517|      0|            Py_DECREF(items);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1518|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1519|      0|            return NULL;
 1520|      0|        }
 1521|      0|        if (v != item) {
  ------------------
  |  Branch (1521:13): [True: 0, False: 0]
  ------------------
 1522|      0|            modified = true;
 1523|      0|        }
 1524|      0|        PyTuple_SET_ITEM(items, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1525|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1526|      0|    }
 1527|      0|    if (modified) {
  ------------------
  |  Branch (1527:9): [True: 0, False: 0]
  ------------------
 1528|      0|        PyObject *new;
 1529|      0|        if (PyFrozenSet_CheckExact(o)) {
  ------------------
  |  |   23|      0|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1530|      0|            new = PyFrozenSet_New(items);
 1531|      0|        }
 1532|      0|        else {
 1533|      0|            new = PySlice_New(PyTuple_GET_ITEM(items, 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 (1533:31): [True: 0, False: 0]
  ------------------
 1534|      0|                              PyTuple_GET_ITEM(items, 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 (1534:31): [True: 0, False: 0]
  ------------------
 1535|      0|                              PyTuple_GET_ITEM(items, 2));
  ------------------
  |  |   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 (1535:31): [True: 0, False: 0]
  ------------------
 1536|      0|        }
 1537|      0|        if (new == NULL) {
  ------------------
  |  Branch (1537:13): [True: 0, False: 0]
  ------------------
 1538|      0|            Py_DECREF(items);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1539|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1540|      0|            return NULL;
 1541|      0|        }
 1542|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1543|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1544|      0|        o = new;
 1545|      0|    }
 1546|      0|    Py_DECREF(items);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1547|      0|    Py_INCREF(o);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1548|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1549|      0|    return o;
 1550|      0|}
compile.c:new_compiler:
  173|      2|{
  174|      2|    compiler *c = PyMem_Calloc(1, sizeof(compiler));
  175|      2|    if (c == NULL) {
  ------------------
  |  Branch (175:9): [True: 0, False: 2]
  ------------------
  176|      0|        PyErr_NoMemory();
  177|      0|        return NULL;
  178|      0|    }
  179|      2|    if (compiler_setup(c, mod, filename, pflags, optimize, arena, module) < 0) {
  ------------------
  |  Branch (179:9): [True: 0, False: 2]
  ------------------
  180|      0|        compiler_free(c);
  181|      0|        return NULL;
  182|      0|    }
  183|      2|    return c;
  184|      2|}
compile.c:compiler_setup:
  114|      2|{
  115|      2|    PyCompilerFlags local_flags = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|      2|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|      2|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
  116|       |
  117|      2|    c->c_const_cache = PyDict_New();
  118|      2|    if (!c->c_const_cache) {
  ------------------
  |  Branch (118:9): [True: 0, False: 2]
  ------------------
  119|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  120|      0|    }
  121|       |
  122|      2|    c->c_stack = PyList_New(0);
  123|      2|    if (!c->c_stack) {
  ------------------
  |  Branch (123:9): [True: 0, False: 2]
  ------------------
  124|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  125|      0|    }
  126|       |
  127|      2|    c->c_filename = Py_NewRef(filename);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  128|      2|    if (!_PyFuture_FromAST(mod, filename, &c->c_future)) {
  ------------------
  |  Branch (128:9): [True: 0, False: 2]
  ------------------
  129|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  130|      0|    }
  131|      2|    c->c_module = Py_XNewRef(module);
  ------------------
  |  |  648|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  132|      2|    if (!flags) {
  ------------------
  |  Branch (132:9): [True: 0, False: 2]
  ------------------
  133|      0|        flags = &local_flags;
  134|      0|    }
  135|      2|    int merged = c->c_future.ff_features | flags->cf_flags;
  136|      2|    c->c_future.ff_features = merged;
  137|      2|    flags->cf_flags = merged;
  138|      2|    c->c_flags = *flags;
  139|      2|    c->c_optimize = (optimize == -1) ? _Py_GetConfig()->optimization_level : optimize;
  ------------------
  |  Branch (139:21): [True: 2, False: 0]
  ------------------
  140|      2|    c->c_save_nested_seqs = false;
  141|       |
  142|      2|    if (!_PyAST_Preprocess(mod, arena, filename, c->c_optimize, merged,
  ------------------
  |  Branch (142:9): [True: 0, False: 2]
  ------------------
  143|      2|                           0, 1, module))
  144|      0|    {
  145|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  146|      0|    }
  147|      2|    c->c_st = _PySymtable_Build(mod, filename, &c->c_future);
  148|      2|    if (c->c_st == NULL) {
  ------------------
  |  Branch (148:9): [True: 0, False: 2]
  ------------------
  149|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (149:13): [True: 0, False: 0]
  ------------------
  150|      0|            PyErr_SetString(PyExc_SystemError, "no symtable");
  151|      0|        }
  152|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  153|      0|    }
  154|      2|    return SUCCESS;
  ------------------
  |  |   36|      2|#define SUCCESS 0
  ------------------
  155|      2|}
compile.c:compiler_mod:
  975|      2|{
  976|      2|    PyCodeObject *co = NULL;
  977|      2|    int addNone = mod->kind != Expression_kind;
  978|      2|    assert(c->u == NULL);
  ------------------
  |  Branch (978:5): [True: 2, False: 0]
  ------------------
  979|      2|    if (compiler_codegen(c, mod) < 0) {
  ------------------
  |  Branch (979:9): [True: 0, False: 2]
  ------------------
  980|      0|        goto finally;
  981|      0|    }
  982|      2|    co = _PyCompile_OptimizeAndAssemble(c, addNone);
  983|      2|finally:
  984|      2|    if (c->u != NULL) {
  ------------------
  |  Branch (984:9): [True: 2, False: 0]
  ------------------
  985|      2|        _PyCompile_ExitScope(c);
  986|      2|    }
  987|      2|    return co;
  988|      2|}
compile.c:compiler_free:
  159|      2|{
  160|      2|    if (c->c_st) {
  ------------------
  |  Branch (160:9): [True: 2, False: 0]
  ------------------
  161|      2|        _PySymtable_Free(c->c_st);
  162|      2|    }
  163|      2|    Py_XDECREF(c->c_filename);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  164|      2|    Py_XDECREF(c->c_module);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|      2|    Py_XDECREF(c->c_const_cache);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  166|      2|    Py_XDECREF(c->c_stack);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  167|      2|    PyMem_Free(c);
  168|      2|}
compile.c:compiler_codegen:
  945|      2|{
  946|      2|    RETURN_IF_ERROR(_PyCodegen_EnterAnonymousScope(c, mod));
  ------------------
  |  |   40|      2|    do {                    \
  |  |   41|      2|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  947|      2|    assert(c->u->u_scope_type == COMPILE_SCOPE_MODULE);
  ------------------
  |  Branch (947:5): [True: 2, False: 0]
  ------------------
  948|      2|    switch (mod->kind) {
  949|      0|    case Module_kind: {
  ------------------
  |  Branch (949:5): [True: 0, False: 2]
  ------------------
  950|      0|        asdl_stmt_seq *stmts = mod->v.Module.body;
  951|      0|        RETURN_IF_ERROR(_PyCodegen_Module(c, start_location(stmts), stmts, false));
  ------------------
  |  |   40|      0|    do {                    \
  |  |   41|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  952|      0|        break;
  953|      0|    }
  954|      0|    case Interactive_kind: {
  ------------------
  |  Branch (954:5): [True: 0, False: 2]
  ------------------
  955|      0|        c->c_interactive = 1;
  956|      0|        asdl_stmt_seq *stmts = mod->v.Interactive.body;
  957|      0|        RETURN_IF_ERROR(_PyCodegen_Module(c, start_location(stmts), stmts, true));
  ------------------
  |  |   40|      0|    do {                    \
  |  |   41|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  958|      0|        break;
  959|      0|    }
  960|      2|    case Expression_kind: {
  ------------------
  |  Branch (960:5): [True: 2, False: 0]
  ------------------
  961|      2|        RETURN_IF_ERROR(_PyCodegen_Expression(c, mod->v.Expression.body));
  ------------------
  |  |   40|      2|    do {                    \
  |  |   41|      2|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  962|      2|        break;
  963|      2|    }
  964|      2|    default: {
  ------------------
  |  Branch (964:5): [True: 0, False: 2]
  ------------------
  965|      0|        PyErr_Format(PyExc_SystemError,
  966|      0|                     "module kind %d should not be possible",
  967|      0|                     mod->kind);
  968|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  969|      2|    }}
  970|      2|    return SUCCESS;
  ------------------
  |  |   36|      2|#define SUCCESS 0
  ------------------
  971|      2|}
compile.c:consts_dict_keys_inorder:
 1418|      4|{
 1419|      4|    PyObject *consts, *k, *v;
 1420|      4|    Py_ssize_t i, pos = 0, size = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|      4|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1421|       |
 1422|      4|    consts = PyList_New(size);   /* PyCode_Optimize() requires a list */
 1423|      4|    if (consts == NULL)
  ------------------
  |  Branch (1423:9): [True: 0, False: 4]
  ------------------
 1424|      0|        return NULL;
 1425|      8|    while (PyDict_Next(dict, &pos, &k, &v)) {
  ------------------
  |  Branch (1425:12): [True: 4, False: 4]
  ------------------
 1426|      4|        assert(PyLong_CheckExact(v));
  ------------------
  |  Branch (1426:9): [True: 4, False: 0]
  ------------------
 1427|      4|        i = PyLong_AsLong(v);
 1428|       |        /* The keys of the dictionary can be tuples wrapping a constant.
 1429|       |         * (see _PyCompile_DictAddObj and _PyCode_ConstantKey). In that case
 1430|       |         * the object we want is always second. */
 1431|      4|        if (PyTuple_CheckExact(k)) {
  ------------------
  |  |   28|      4|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1432|      0|            k = PyTuple_GET_ITEM(k, 1);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1432:17): [True: 0, False: 0]
  ------------------
 1433|      0|        }
 1434|      4|        assert(i < size);
  ------------------
  |  Branch (1434:9): [True: 4, False: 0]
  ------------------
 1435|      4|        assert(i >= 0);
  ------------------
  |  Branch (1435:9): [True: 4, False: 0]
  ------------------
 1436|      4|        PyList_SET_ITEM(consts, i, Py_NewRef(k));
  ------------------
  |  |   50|      4|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1437|      4|    }
 1438|      4|    return consts;
 1439|      4|}

initconfig.c:config_dict_get:
   20|    144|{
   21|    144|    PyObject *item;
   22|    144|    if (_config_dict_get(dict, name, &item) < 0) {
  ------------------
  |  Branch (22:9): [True: 0, False: 144]
  ------------------
   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|    144|    return item;
   29|    144|}
initconfig.c:_config_dict_get:
    4|    144|{
    5|    144|    PyObject *item;
    6|    144|    if (PyDict_GetItemStringRef(dict, name, &item) < 0) {
  ------------------
  |  Branch (6:9): [True: 0, False: 144]
  ------------------
    7|      0|        return -1;
    8|      0|    }
    9|    144|    if (item == NULL) {
  ------------------
  |  Branch (9:9): [True: 0, False: 144]
  ------------------
   10|       |        // We do not set an exception.
   11|      0|        return -1;
   12|      0|    }
   13|    144|    *p_item = item;
   14|    144|    return 0;
   15|    144|}

PyContextVar_New:
  307|      2|{
  308|      2|    PyObject *pyname = PyUnicode_FromString(name);
  309|      2|    if (pyname == NULL) {
  ------------------
  |  Branch (309:9): [True: 0, False: 2]
  ------------------
  310|      0|        return NULL;
  311|      0|    }
  312|      2|    PyContextVar *var = contextvar_new(pyname, def);
  313|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  314|      2|    return (PyObject *)var;
  315|      2|}
PyContextVar_Get:
  320|     50|{
  321|     50|    ENSURE_ContextVar(ovar, -1)
  ------------------
  |  |   31|     50|    if (!PyContextVar_CheckExact(o)) {                              \
  |  |  ------------------
  |  |  |  |   19|     50|#define PyContextVar_CheckExact(o) Py_IS_TYPE((o), &PyContextVar_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 (31:9): [True: 0, False: 50]
  |  |  ------------------
  |  |   32|      0|        PyErr_SetString(PyExc_TypeError,                            \
  |  |   33|      0|                       "an instance of ContextVar was expected");   \
  |  |   34|      0|        return err_ret;                                             \
  |  |   35|      0|    }
  ------------------
  322|     50|    PyContextVar *var = (PyContextVar *)ovar;
  323|       |
  324|     50|    PyThreadState *ts = _PyThreadState_GET();
  325|     50|    assert(ts != NULL);
  ------------------
  |  Branch (325:5): [True: 50, False: 0]
  ------------------
  326|     50|    if (ts->context == NULL) {
  ------------------
  |  Branch (326:9): [True: 50, False: 0]
  ------------------
  327|     50|        goto not_found;
  328|     50|    }
  329|       |
  330|      0|#ifndef Py_GIL_DISABLED
  331|      0|    if (var->var_cached != NULL &&
  ------------------
  |  Branch (331:9): [True: 0, False: 0]
  ------------------
  332|      0|            var->var_cached_tsid == ts->id &&
  ------------------
  |  Branch (332:13): [True: 0, False: 0]
  ------------------
  333|      0|            var->var_cached_tsver == ts->context_ver)
  ------------------
  |  Branch (333:13): [True: 0, False: 0]
  ------------------
  334|      0|    {
  335|      0|        *val = var->var_cached;
  336|      0|        goto found;
  337|      0|    }
  338|      0|#endif
  339|       |
  340|      0|    assert(PyContext_CheckExact(ts->context));
  ------------------
  |  Branch (340:5): [True: 0, False: 0]
  ------------------
  341|      0|    PyHamtObject *vars = context_get_current_vars((PyContext *)ts->context);
  342|       |
  343|      0|    PyObject *found = NULL;
  344|      0|    int res = _PyHamt_Find(vars, (PyObject*)var, &found);
  345|      0|    if (res < 0) {
  ------------------
  |  Branch (345:9): [True: 0, False: 0]
  ------------------
  346|      0|        goto error;
  347|      0|    }
  348|      0|    if (res == 1) {
  ------------------
  |  Branch (348:9): [True: 0, False: 0]
  ------------------
  349|      0|        assert(found != NULL);
  ------------------
  |  Branch (349:9): [True: 0, False: 0]
  ------------------
  350|      0|#ifndef Py_GIL_DISABLED
  351|      0|        var->var_cached = found;  /* borrow */
  352|      0|        var->var_cached_tsid = ts->id;
  353|      0|        var->var_cached_tsver = ts->context_ver;
  354|      0|#endif
  355|       |
  356|      0|        *val = found;
  357|      0|        goto found;
  358|      0|    }
  359|       |
  360|     50|not_found:
  361|     50|    if (def == NULL) {
  ------------------
  |  Branch (361:9): [True: 50, False: 0]
  ------------------
  362|     50|        if (var->var_default != NULL) {
  ------------------
  |  Branch (362:13): [True: 0, False: 50]
  ------------------
  363|      0|            *val = var->var_default;
  364|      0|            goto found;
  365|      0|        }
  366|       |
  367|     50|        *val = NULL;
  368|     50|        goto found;
  369|     50|    }
  370|      0|    else {
  371|      0|        *val = def;
  372|      0|        goto found;
  373|      0|   }
  374|       |
  375|     50|found:
  376|     50|    Py_XINCREF(*val);
  ------------------
  |  |  611|     50|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  377|     50|    return 0;
  378|       |
  379|      0|error:
  380|       |    *val = NULL;
  381|      0|    return -1;
  382|     50|}
_PyContext_Init:
 1442|      2|{
 1443|      2|    PyObject *missing = get_token_missing();
 1444|      2|    assert(PyUnstable_IsImmortal(missing));
  ------------------
  |  Branch (1444:5): [True: 2, False: 0]
  ------------------
 1445|      2|    if (PyDict_SetItemString(
  ------------------
  |  Branch (1445:9): [True: 0, False: 2]
  ------------------
 1446|      2|        _PyType_GetDict(&PyContextToken_Type), "MISSING", missing))
 1447|      0|    {
 1448|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1449|      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)}
  ------------------
 1450|      0|    }
 1451|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1452|       |
 1453|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1454|      2|}
context.c:contextvar_new:
  952|      3|{
  953|      3|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|      3|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      3|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (953:9): [True: 0, False: 3]
  ------------------
  954|      0|        PyErr_SetString(PyExc_TypeError,
  955|      0|                        "context variable name must be a str");
  956|      0|        return NULL;
  957|      0|    }
  958|       |
  959|      3|    PyContextVar *var = PyObject_GC_New(PyContextVar, &PyContextVar_Type);
  ------------------
  |  |  181|      3|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  960|      3|    if (var == NULL) {
  ------------------
  |  Branch (960:9): [True: 0, False: 3]
  ------------------
  961|      0|        return NULL;
  962|      0|    }
  963|       |
  964|      3|    var->var_name = Py_NewRef(name);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  965|      3|    var->var_default = Py_XNewRef(def);
  ------------------
  |  |  648|      3|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  966|       |
  967|      3|#ifndef Py_GIL_DISABLED
  968|      3|    var->var_cached = NULL;
  969|      3|    var->var_cached_tsid = 0;
  970|      3|    var->var_cached_tsver = 0;
  971|      3|#endif
  972|       |
  973|      3|    var->var_hash = contextvar_generate_hash(var, name);
  974|      3|    if (var->var_hash == -1) {
  ------------------
  |  Branch (974:9): [True: 0, False: 3]
  ------------------
  975|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  976|      0|        return NULL;
  977|      0|    }
  978|       |
  979|      3|    if (_PyObject_GC_MAY_BE_TRACKED(name) ||
  ------------------
  |  Branch (979:9): [True: 0, False: 3]
  ------------------
  980|      3|            (def != NULL && _PyObject_GC_MAY_BE_TRACKED(def)))
  ------------------
  |  Branch (980:14): [True: 0, False: 3]
  |  Branch (980:29): [True: 0, False: 0]
  ------------------
  981|      0|    {
  982|      0|        PyObject_GC_Track(var);
  983|      0|    }
  984|      3|    return var;
  985|      3|}
context.c:contextvar_generate_hash:
  924|      3|{
  925|       |    /* Take hash of `name` and XOR it with the object's addr.
  926|       |
  927|       |       The structure of the tree is encoded in objects' hashes, which
  928|       |       means that sufficiently similar hashes would result in tall trees
  929|       |       with many Collision nodes.  Which would, in turn, result in slower
  930|       |       get and set operations.
  931|       |
  932|       |       The XORing helps to ensure that:
  933|       |
  934|       |       (1) sequentially allocated ContextVar objects have
  935|       |           different hashes;
  936|       |
  937|       |       (2) context variables with equal names have
  938|       |           different hashes.
  939|       |    */
  940|       |
  941|      3|    Py_hash_t name_hash = PyObject_Hash(name);
  942|      3|    if (name_hash == -1) {
  ------------------
  |  Branch (942:9): [True: 0, False: 3]
  ------------------
  943|      0|        return -1;
  944|      0|    }
  945|       |
  946|      3|    Py_hash_t res = Py_HashPointer(addr) ^ name_hash;
  947|      3|    return res == -1 ? -2 : res;
  ------------------
  |  Branch (947:12): [True: 0, False: 3]
  ------------------
  948|      3|}
context.c:contextvar_tp_new:
  999|      1|{
 1000|      1|    static char *kwlist[] = {"", "default", NULL};
 1001|      1|    PyObject *name;
 1002|      1|    PyObject *def = NULL;
 1003|       |
 1004|      1|    if (!PyArg_ParseTupleAndKeywords(
  ------------------
  |  Branch (1004:9): [True: 0, False: 1]
  ------------------
 1005|      1|            args, kwds, "O|$O:ContextVar", kwlist, &name, &def))
 1006|      0|    {
 1007|      0|        return NULL;
 1008|      0|    }
 1009|       |
 1010|      1|    return (PyObject *)contextvar_new(name, def);
 1011|      1|}
context.c:get_token_missing:
 1432|      2|{
 1433|      2|    return (PyObject *)&_Py_SINGLETON(context_token_missing);
  ------------------
  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 1434|      2|}

_Py_xi_global_state_init:
 3136|      2|{
 3137|      2|    assert(state != NULL);
  ------------------
  |  Branch (3137:5): [True: 2, False: 0]
  ------------------
 3138|      2|    xid_lookup_init(&state->data_lookup);
 3139|      2|    return 0;
 3140|      2|}
_Py_xi_state_init:
 3151|      2|{
 3152|      2|    assert(state != NULL);
  ------------------
  |  Branch (3152:5): [True: 2, False: 0]
  ------------------
 3153|      2|    assert(interp == NULL || state == _PyXI_GET_STATE(interp));
  ------------------
  |  Branch (3153:5): [True: 2, False: 0]
  |  Branch (3153:5): [True: 0, False: 0]
  ------------------
 3154|       |
 3155|       |    // Initialize pickle function cache (before any fallible ops).
 3156|      2|    state->pickle.dumps = NULL;
 3157|      2|    state->pickle.loads = NULL;
 3158|       |
 3159|      2|    xid_lookup_init(&state->data_lookup);
 3160|       |
 3161|       |    // Initialize exceptions.
 3162|      2|    if (interp != NULL) {
  ------------------
  |  Branch (3162:9): [True: 0, False: 2]
  ------------------
 3163|      0|        if (init_static_exctypes(&state->exceptions, interp) < 0) {
  ------------------
  |  Branch (3163:13): [True: 0, False: 0]
  ------------------
 3164|      0|            fini_heap_exctypes(&state->exceptions);
 3165|      0|            return -1;
 3166|      0|        }
 3167|      0|    }
 3168|      2|    if (init_heap_exctypes(&state->exceptions) < 0) {
  ------------------
  |  Branch (3168:9): [True: 0, False: 2]
  ------------------
 3169|      0|        return -1;
 3170|      0|    }
 3171|       |
 3172|      2|    return 0;
 3173|      2|}
_PyXI_Init:
 3197|      2|{
 3198|      2|    if (_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (3198:9): [True: 2, False: 0]
  ------------------
 3199|      2|        _PyXI_global_state_t *global_state = _PyXI_GET_GLOBAL_STATE(interp);
  ------------------
  |  |  276|      2|#define _PyXI_GET_GLOBAL_STATE(interp) (&(interp)->runtime->xi)
  ------------------
 3200|      2|        if (global_state == NULL) {
  ------------------
  |  Branch (3200:13): [True: 0, False: 2]
  ------------------
 3201|      0|            PyErr_PrintEx(0);
 3202|      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)}
  ------------------
 3203|      0|                    "failed to get global cross-interpreter state");
 3204|      0|        }
 3205|      2|        if (_Py_xi_global_state_init(global_state) < 0) {
  ------------------
  |  Branch (3205:13): [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  global cross-interpreter state");
 3209|      0|        }
 3210|      2|    }
 3211|       |
 3212|      2|    _PyXI_state_t *state = _PyXI_GET_STATE(interp);
  ------------------
  |  |  277|      2|#define _PyXI_GET_STATE(interp) (&(interp)->xi)
  ------------------
 3213|      2|    if (state == NULL) {
  ------------------
  |  Branch (3213:9): [True: 0, False: 2]
  ------------------
 3214|      0|        PyErr_PrintEx(0);
 3215|      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)}
  ------------------
 3216|      0|                "failed to get interpreter's cross-interpreter state");
 3217|      0|    }
 3218|       |    // The static types were already initialized in _PyXI_InitTypes(),
 3219|       |    // so we pass in NULL here to avoid initializing them again.
 3220|      2|    if (_Py_xi_state_init(state, NULL) < 0) {
  ------------------
  |  Branch (3220:9): [True: 0, False: 2]
  ------------------
 3221|      0|        PyErr_PrintEx(0);
 3222|      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)}
  ------------------
 3223|      0|                "failed to initialize interpreter's cross-interpreter state");
 3224|      0|    }
 3225|       |
 3226|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3227|      2|}
_PyXI_InitTypes:
 3254|      2|{
 3255|      2|    if (init_static_exctypes(&_PyXI_GET_STATE(interp)->exceptions, interp) < 0) {
  ------------------
  |  |  277|      2|#define _PyXI_GET_STATE(interp) (&(interp)->xi)
  ------------------
  |  Branch (3255:9): [True: 0, False: 2]
  ------------------
 3256|      0|        PyErr_PrintEx(0);
 3257|      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)}
  ------------------
 3258|      0|                "failed to initialize the cross-interpreter exception types");
 3259|      0|    }
 3260|       |    // We would initialize heap types here too but that leads to ref leaks.
 3261|       |    // Instead, we initialize them in _PyXI_Init().
 3262|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3263|      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:
 1389|     55|{
 1390|     55|    int bb2, bb5, bbe, bd2, bd5, bs2, c, dsign, e, e1, error;
 1391|     55|    int esign, i, j, k, lz, nd, nd0, odd, sign;
 1392|     55|    const char *s, *s0, *s1;
 1393|     55|    double aadj, aadj1;
 1394|     55|    U aadj2, adj, rv, rv0;
 1395|     55|    ULong y, z, abs_exp;
 1396|     55|    Long L;
 1397|     55|    BCinfo bc;
 1398|     55|    Bigint *bb = NULL, *bd = NULL, *bd0 = NULL, *bs = NULL, *delta = NULL;
 1399|     55|    size_t ndigits, fraclen;
 1400|     55|    double result;
 1401|       |
 1402|     55|    dval(&rv) = 0.;
  ------------------
  |  |  188|     55|#define dval(x) (x)->d
  ------------------
 1403|       |
 1404|       |    /* Start parsing. */
 1405|     55|    c = *(s = s00);
 1406|       |
 1407|       |    /* Parse optional sign, if present. */
 1408|     55|    sign = 0;
 1409|     55|    switch (c) {
  ------------------
  |  Branch (1409:13): [True: 0, False: 55]
  ------------------
 1410|      0|    case '-':
  ------------------
  |  Branch (1410:5): [True: 0, False: 55]
  ------------------
 1411|      0|        sign = 1;
 1412|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1413|      0|    case '+':
  ------------------
  |  Branch (1413:5): [True: 0, False: 55]
  ------------------
 1414|      0|        c = *++s;
 1415|     55|    }
 1416|       |
 1417|       |    /* Skip leading zeros: lz is true iff there were leading zeros. */
 1418|     55|    s1 = s;
 1419|    284|    while (c == '0')
  ------------------
  |  Branch (1419:12): [True: 229, False: 55]
  ------------------
 1420|    229|        c = *++s;
 1421|     55|    lz = s != s1;
 1422|       |
 1423|       |    /* Point s0 at the first nonzero digit (if any).  fraclen will be the
 1424|       |       number of digits between the decimal point and the end of the
 1425|       |       digit string.  ndigits will be the total number of digits ignoring
 1426|       |       leading zeros. */
 1427|     55|    s0 = s1 = s;
 1428|    161|    while ('0' <= c && c <= '9')
  ------------------
  |  Branch (1428:12): [True: 154, False: 7]
  |  Branch (1428:24): [True: 106, False: 48]
  ------------------
 1429|    106|        c = *++s;
 1430|     55|    ndigits = s - s1;
 1431|     55|    fraclen = 0;
 1432|       |
 1433|       |    /* Parse decimal point and following digits. */
 1434|     55|    if (c == '.') {
  ------------------
  |  Branch (1434:9): [True: 7, False: 48]
  ------------------
 1435|      7|        c = *++s;
 1436|      7|        if (!ndigits) {
  ------------------
  |  Branch (1436:13): [True: 5, False: 2]
  ------------------
 1437|      5|            s1 = s;
 1438|      5|            while (c == '0')
  ------------------
  |  Branch (1438:20): [True: 0, False: 5]
  ------------------
 1439|      0|                c = *++s;
 1440|      5|            lz = lz || s != s1;
  ------------------
  |  Branch (1440:18): [True: 5, False: 0]
  |  Branch (1440:24): [True: 0, False: 0]
  ------------------
 1441|      5|            fraclen += (s - s1);
 1442|      5|            s0 = s;
 1443|      5|        }
 1444|      7|        s1 = s;
 1445|    186|        while ('0' <= c && c <= '9')
  ------------------
  |  Branch (1445:16): [True: 179, False: 7]
  |  Branch (1445:28): [True: 179, False: 0]
  ------------------
 1446|    179|            c = *++s;
 1447|      7|        ndigits += s - s1;
 1448|      7|        fraclen += s - s1;
 1449|      7|    }
 1450|       |
 1451|       |    /* Now lz is true if and only if there were leading zero digits, and
 1452|       |       ndigits gives the total number of digits ignoring leading zeros.  A
 1453|       |       valid input must have at least one digit. */
 1454|     55|    if (!ndigits && !lz) {
  ------------------
  |  Branch (1454:9): [True: 0, False: 55]
  |  Branch (1454:21): [True: 0, False: 0]
  ------------------
 1455|      0|        if (se)
  ------------------
  |  Branch (1455:13): [True: 0, False: 0]
  ------------------
 1456|      0|            *se = (char *)s00;
 1457|      0|        goto parse_error;
 1458|      0|    }
 1459|       |
 1460|       |    /* Range check ndigits and fraclen to make sure that they, and values
 1461|       |       computed with them, can safely fit in an int. */
 1462|     55|    if (ndigits > MAX_DIGITS || fraclen > MAX_DIGITS) {
  ------------------
  |  |  206|    110|#define MAX_DIGITS 1000000000U
  ------------------
                  if (ndigits > MAX_DIGITS || fraclen > MAX_DIGITS) {
  ------------------
  |  |  206|     55|#define MAX_DIGITS 1000000000U
  ------------------
  |  Branch (1462:9): [True: 0, False: 55]
  |  Branch (1462:33): [True: 0, False: 55]
  ------------------
 1463|      0|        if (se)
  ------------------
  |  Branch (1463:13): [True: 0, False: 0]
  ------------------
 1464|      0|            *se = (char *)s00;
 1465|      0|        goto parse_error;
 1466|      0|    }
 1467|     55|    nd = (int)ndigits;
 1468|     55|    nd0 = (int)ndigits - (int)fraclen;
 1469|       |
 1470|       |    /* Parse exponent. */
 1471|     55|    e = 0;
 1472|     55|    if (c == 'e' || c == 'E') {
  ------------------
  |  Branch (1472:9): [True: 0, False: 55]
  |  Branch (1472:21): [True: 48, False: 7]
  ------------------
 1473|     48|        s00 = s;
 1474|     48|        c = *++s;
 1475|       |
 1476|       |        /* Exponent sign. */
 1477|     48|        esign = 0;
 1478|     48|        switch (c) {
  ------------------
  |  Branch (1478:17): [True: 48, False: 0]
  ------------------
 1479|     48|        case '-':
  ------------------
  |  Branch (1479:9): [True: 48, False: 0]
  ------------------
 1480|     48|            esign = 1;
 1481|     48|            _Py_FALLTHROUGH;
  ------------------
  |  |  667|     48|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1482|     48|        case '+':
  ------------------
  |  Branch (1482:9): [True: 0, False: 48]
  ------------------
 1483|     48|            c = *++s;
 1484|     48|        }
 1485|       |
 1486|       |        /* Skip zeros.  lz is true iff there are leading zeros. */
 1487|     48|        s1 = s;
 1488|     48|        while (c == '0')
  ------------------
  |  Branch (1488:16): [True: 0, False: 48]
  ------------------
 1489|      0|            c = *++s;
 1490|     48|        lz = s != s1;
 1491|       |
 1492|       |        /* Get absolute value of the exponent. */
 1493|     48|        s1 = s;
 1494|     48|        abs_exp = 0;
 1495|    178|        while ('0' <= c && c <= '9') {
  ------------------
  |  Branch (1495:16): [True: 130, False: 48]
  |  Branch (1495:28): [True: 130, False: 0]
  ------------------
 1496|    130|            abs_exp = 10*abs_exp + (c - '0');
 1497|    130|            c = *++s;
 1498|    130|        }
 1499|       |
 1500|       |        /* abs_exp will be correct modulo 2**32.  But 10**9 < 2**32, so if
 1501|       |           there are at most 9 significant exponent digits then overflow is
 1502|       |           impossible. */
 1503|     48|        if (s - s1 > 9 || abs_exp > MAX_ABS_EXP)
  ------------------
  |  |  198|     48|#define MAX_ABS_EXP 1100000000U
  ------------------
  |  Branch (1503:13): [True: 0, False: 48]
  |  Branch (1503:27): [True: 0, False: 48]
  ------------------
 1504|      0|            e = (int)MAX_ABS_EXP;
  ------------------
  |  |  198|      0|#define MAX_ABS_EXP 1100000000U
  ------------------
 1505|     48|        else
 1506|     48|            e = (int)abs_exp;
 1507|     48|        if (esign)
  ------------------
  |  Branch (1507:13): [True: 48, False: 0]
  ------------------
 1508|     48|            e = -e;
 1509|       |
 1510|       |        /* A valid exponent must have at least one digit. */
 1511|     48|        if (s == s1 && !lz)
  ------------------
  |  Branch (1511:13): [True: 0, False: 48]
  |  Branch (1511:24): [True: 0, False: 0]
  ------------------
 1512|      0|            s = s00;
 1513|     48|    }
 1514|       |
 1515|       |    /* Adjust exponent to take into account position of the point. */
 1516|     55|    e -= nd - nd0;
 1517|     55|    if (nd0 <= 0)
  ------------------
  |  Branch (1517:9): [True: 5, False: 50]
  ------------------
 1518|      5|        nd0 = nd;
 1519|       |
 1520|       |    /* Finished parsing.  Set se to indicate how far we parsed */
 1521|     55|    if (se)
  ------------------
  |  Branch (1521:9): [True: 55, False: 0]
  ------------------
 1522|     55|        *se = (char *)s;
 1523|       |
 1524|       |    /* If all digits were zero, exit with return value +-0.0.  Otherwise,
 1525|       |       strip trailing zeros: scan back until we hit a nonzero digit. */
 1526|     55|    if (!nd)
  ------------------
  |  Branch (1526:9): [True: 0, False: 55]
  ------------------
 1527|      0|        goto ret;
 1528|     60|    for (i = nd; i > 0; ) {
  ------------------
  |  Branch (1528:18): [True: 60, False: 0]
  ------------------
 1529|     60|        --i;
 1530|     60|        if (s0[i < nd0 ? i : i+1] != '0') {
  ------------------
  |  Branch (1530:13): [True: 55, False: 5]
  |  Branch (1530:16): [True: 58, False: 2]
  ------------------
 1531|     55|            ++i;
 1532|     55|            break;
 1533|     55|        }
 1534|     60|    }
 1535|     55|    e += nd - i;
 1536|     55|    nd = i;
 1537|     55|    if (nd0 > nd)
  ------------------
  |  Branch (1537:9): [True: 1, False: 54]
  ------------------
 1538|      1|        nd0 = nd;
 1539|       |
 1540|       |    /* Summary of parsing results.  After parsing, and dealing with zero
 1541|       |     * inputs, we have values s0, nd0, nd, e, sign, where:
 1542|       |     *
 1543|       |     *  - s0 points to the first significant digit of the input string
 1544|       |     *
 1545|       |     *  - nd is the total number of significant digits (here, and
 1546|       |     *    below, 'significant digits' means the set of digits of the
 1547|       |     *    significand of the input that remain after ignoring leading
 1548|       |     *    and trailing zeros).
 1549|       |     *
 1550|       |     *  - nd0 indicates the position of the decimal point, if present; it
 1551|       |     *    satisfies 1 <= nd0 <= nd.  The nd significant digits are in
 1552|       |     *    s0[0:nd0] and s0[nd0+1:nd+1] using the usual Python half-open slice
 1553|       |     *    notation.  (If nd0 < nd, then s0[nd0] contains a '.'  character; if
 1554|       |     *    nd0 == nd, then s0[nd0] could be any non-digit character.)
 1555|       |     *
 1556|       |     *  - e is the adjusted exponent: the absolute value of the number
 1557|       |     *    represented by the original input string is n * 10**e, where
 1558|       |     *    n is the integer represented by the concatenation of
 1559|       |     *    s0[0:nd0] and s0[nd0+1:nd+1]
 1560|       |     *
 1561|       |     *  - sign gives the sign of the input:  1 for negative, 0 for positive
 1562|       |     *
 1563|       |     *  - the first and last significant digits are nonzero
 1564|       |     */
 1565|       |
 1566|       |    /* put first DBL_DIG+1 digits into integer y and z.
 1567|       |     *
 1568|       |     *  - y contains the value represented by the first min(9, nd)
 1569|       |     *    significant digits
 1570|       |     *
 1571|       |     *  - if nd > 9, z contains the value represented by significant digits
 1572|       |     *    with indices in [9, min(16, nd)).  So y * 10**(min(16, nd) - 9) + z
 1573|       |     *    gives the value represented by the first min(16, nd) sig. digits.
 1574|       |     */
 1575|       |
 1576|     55|    bc.e0 = e1 = e;
 1577|     55|    y = z = 0;
 1578|    226|    for (i = 0; i < nd; i++) {
  ------------------
  |  Branch (1578:17): [True: 178, False: 48]
  ------------------
 1579|    178|        if (i < 9)
  ------------------
  |  Branch (1579:13): [True: 122, False: 56]
  ------------------
 1580|    122|            y = 10*y + s0[i < nd0 ? i : i+1] - '0';
  ------------------
  |  Branch (1580:27): [True: 122, False: 0]
  ------------------
 1581|     56|        else if (i < DBL_DIG+1)
  ------------------
  |  Branch (1581:18): [True: 49, False: 7]
  ------------------
 1582|     49|            z = 10*z + s0[i < nd0 ? i : i+1] - '0';
  ------------------
  |  Branch (1582:27): [True: 46, False: 3]
  ------------------
 1583|      7|        else
 1584|      7|            break;
 1585|    178|    }
 1586|       |
 1587|     55|    k = nd < DBL_DIG + 1 ? nd : DBL_DIG + 1;
  ------------------
  |  Branch (1587:9): [True: 48, False: 7]
  ------------------
 1588|     55|    dval(&rv) = y;
  ------------------
  |  |  188|     55|#define dval(x) (x)->d
  ------------------
 1589|     55|    if (k > 9) {
  ------------------
  |  Branch (1589:9): [True: 7, False: 48]
  ------------------
 1590|      7|        dval(&rv) = tens[k - 9] * dval(&rv) + z;
  ------------------
  |  |  188|      7|#define dval(x) (x)->d
  ------------------
                      dval(&rv) = tens[k - 9] * dval(&rv) + z;
  ------------------
  |  |  188|      7|#define dval(x) (x)->d
  ------------------
 1591|      7|    }
 1592|     55|    if (nd <= DBL_DIG
  ------------------
  |  Branch (1592:9): [True: 48, False: 7]
  ------------------
 1593|     48|        && Flt_Rounds == 1
  ------------------
  |  |  265|     48|#define Flt_Rounds FLT_ROUNDS
  ------------------
  |  Branch (1593:12): [True: 48, False: 0]
  ------------------
 1594|     55|        ) {
 1595|     48|        if (!e)
  ------------------
  |  Branch (1595:13): [True: 0, False: 48]
  ------------------
 1596|      0|            goto ret;
 1597|     48|        if (e > 0) {
  ------------------
  |  Branch (1597:13): [True: 0, False: 48]
  ------------------
 1598|      0|            if (e <= Ten_pmax) {
  ------------------
  |  |  252|      0|#define Ten_pmax 22
  ------------------
  |  Branch (1598:17): [True: 0, False: 0]
  ------------------
 1599|      0|                dval(&rv) *= tens[e];
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 1600|      0|                goto ret;
 1601|      0|            }
 1602|      0|            i = DBL_DIG - nd;
 1603|      0|            if (e <= Ten_pmax + i) {
  ------------------
  |  |  252|      0|#define Ten_pmax 22
  ------------------
  |  Branch (1603:17): [True: 0, False: 0]
  ------------------
 1604|       |                /* A fancier test would sometimes let us do
 1605|       |                 * this for larger i values.
 1606|       |                 */
 1607|      0|                e -= i;
 1608|      0|                dval(&rv) *= tens[i];
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 1609|      0|                dval(&rv) *= tens[e];
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 1610|      0|                goto ret;
 1611|      0|            }
 1612|      0|        }
 1613|     48|        else if (e >= -Ten_pmax) {
  ------------------
  |  |  252|     48|#define Ten_pmax 22
  ------------------
  |  Branch (1613:18): [True: 3, False: 45]
  ------------------
 1614|      3|            dval(&rv) /= tens[-e];
  ------------------
  |  |  188|      3|#define dval(x) (x)->d
  ------------------
 1615|      3|            goto ret;
 1616|      3|        }
 1617|     48|    }
 1618|     52|    e1 += nd - k;
 1619|       |
 1620|     52|    bc.scale = 0;
 1621|       |
 1622|       |    /* Get starting approximation = rv * 10**e1 */
 1623|       |
 1624|     52|    if (e1 > 0) {
  ------------------
  |  Branch (1624:9): [True: 1, False: 51]
  ------------------
 1625|      1|        if ((i = e1 & 15))
  ------------------
  |  Branch (1625:13): [True: 1, False: 0]
  ------------------
 1626|      1|            dval(&rv) *= tens[i];
  ------------------
  |  |  188|      1|#define dval(x) (x)->d
  ------------------
 1627|      1|        if (e1 &= ~15) {
  ------------------
  |  Branch (1627:13): [True: 0, False: 1]
  ------------------
 1628|      0|            if (e1 > DBL_MAX_10_EXP)
  ------------------
  |  Branch (1628:17): [True: 0, False: 0]
  ------------------
 1629|      0|                goto ovfl;
 1630|      0|            e1 >>= 4;
 1631|      0|            for(j = 0; e1 > 1; j++, e1 >>= 1)
  ------------------
  |  Branch (1631:24): [True: 0, False: 0]
  ------------------
 1632|      0|                if (e1 & 1)
  ------------------
  |  Branch (1632:21): [True: 0, False: 0]
  ------------------
 1633|      0|                    dval(&rv) *= bigtens[j];
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 1634|       |            /* The last multiplication could overflow. */
 1635|      0|            word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                          word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  241|      0|#define P 53
  ------------------
                          word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  238|      0|#define Exp_msk1    0x100000
  ------------------
 1636|      0|            dval(&rv) *= bigtens[j];
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 1637|      0|            if ((z = word0(&rv) & Exp_mask)
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                          if ((z = word0(&rv) & Exp_mask)
  ------------------
  |  |  240|      0|#define Exp_mask  0x7ff00000
  ------------------
  |  Branch (1637:17): [True: 0, False: 0]
  ------------------
 1638|      0|                > Exp_msk1*(DBL_MAX_EXP+Bias-P))
  ------------------
  |  |  238|      0|#define Exp_msk1    0x100000
  ------------------
                              > Exp_msk1*(DBL_MAX_EXP+Bias-P))
  ------------------
  |  |  243|      0|#define Bias 1023
  ------------------
                              > Exp_msk1*(DBL_MAX_EXP+Bias-P))
  ------------------
  |  |  241|      0|#define P 53
  ------------------
 1639|      0|                goto ovfl;
 1640|      0|            if (z > Exp_msk1*(DBL_MAX_EXP+Bias-1-P)) {
  ------------------
  |  |  238|      0|#define Exp_msk1    0x100000
  ------------------
                          if (z > Exp_msk1*(DBL_MAX_EXP+Bias-1-P)) {
  ------------------
  |  |  243|      0|#define Bias 1023
  ------------------
                          if (z > Exp_msk1*(DBL_MAX_EXP+Bias-1-P)) {
  ------------------
  |  |  241|      0|#define P 53
  ------------------
  |  Branch (1640:17): [True: 0, False: 0]
  ------------------
 1641|       |                /* set to largest number */
 1642|       |                /* (Can't trust DBL_MAX) */
 1643|      0|                word0(&rv) = Big0;
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                              word0(&rv) = Big0;
  ------------------
  |  |  273|      0|#define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  251|      0|#define Frac_mask1 0xfffff
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  238|      0|#define Exp_msk1    0x100000
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  243|      0|#define Bias 1023
  |  |  ------------------
  ------------------
 1644|      0|                word1(&rv) = Big1;
  ------------------
  |  |  183|      0|#define word1(x) (x)->L[0]
  ------------------
                              word1(&rv) = Big1;
  ------------------
  |  |  274|      0|#define Big1 0xffffffff
  ------------------
 1645|      0|            }
 1646|      0|            else
 1647|      0|                word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                              word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  241|      0|#define P 53
  ------------------
                              word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  238|      0|#define Exp_msk1    0x100000
  ------------------
 1648|      0|        }
 1649|      1|    }
 1650|     51|    else if (e1 < 0) {
  ------------------
  |  Branch (1650:14): [True: 51, False: 0]
  ------------------
 1651|       |        /* The input decimal value lies in [10**e1, 10**(e1+16)).
 1652|       |
 1653|       |           If e1 <= -512, underflow immediately.
 1654|       |           If e1 <= -256, set bc.scale to 2*P.
 1655|       |
 1656|       |           So for input value < 1e-256, bc.scale is always set;
 1657|       |           for input value >= 1e-240, bc.scale is never set.
 1658|       |           For input values in [1e-256, 1e-240), bc.scale may or may
 1659|       |           not be set. */
 1660|       |
 1661|     51|        e1 = -e1;
 1662|     51|        if ((i = e1 & 15))
  ------------------
  |  Branch (1662:13): [True: 46, False: 5]
  ------------------
 1663|     46|            dval(&rv) /= tens[i];
  ------------------
  |  |  188|     46|#define dval(x) (x)->d
  ------------------
 1664|     51|        if (e1 >>= 4) {
  ------------------
  |  Branch (1664:13): [True: 50, False: 1]
  ------------------
 1665|     50|            if (e1 >= 1 << n_bigtens)
  ------------------
  |  | 1121|     50|#define n_bigtens 5
  ------------------
  |  Branch (1665:17): [True: 2, False: 48]
  ------------------
 1666|      2|                goto undfl;
 1667|     48|            if (e1 & Scale_Bit)
  ------------------
  |  | 1120|     48|#define Scale_Bit 0x10
  ------------------
  |  Branch (1667:17): [True: 16, False: 32]
  ------------------
 1668|     16|                bc.scale = 2*P;
  ------------------
  |  |  241|     16|#define P 53
  ------------------
 1669|    193|            for(j = 0; e1 > 0; j++, e1 >>= 1)
  ------------------
  |  Branch (1669:24): [True: 145, False: 48]
  ------------------
 1670|    145|                if (e1 & 1)
  ------------------
  |  Branch (1670:21): [True: 102, False: 43]
  ------------------
 1671|    102|                    dval(&rv) *= tinytens[j];
  ------------------
  |  |  188|    102|#define dval(x) (x)->d
  ------------------
 1672|     48|            if (bc.scale && (j = 2*P + 1 - ((word0(&rv) & Exp_mask)
  ------------------
  |  |  241|     16|#define P 53
  ------------------
                          if (bc.scale && (j = 2*P + 1 - ((word0(&rv) & Exp_mask)
  ------------------
  |  |  182|     16|#define word0(x) (x)->L[1]
  ------------------
                          if (bc.scale && (j = 2*P + 1 - ((word0(&rv) & Exp_mask)
  ------------------
  |  |  240|     16|#define Exp_mask  0x7ff00000
  ------------------
  |  Branch (1672:17): [True: 16, False: 32]
  |  Branch (1672:29): [True: 15, False: 1]
  ------------------
 1673|     16|                                            >> Exp_shift)) > 0) {
  ------------------
  |  |  236|     16|#define Exp_shift  20
  ------------------
 1674|       |                /* scaled rv is denormal; clear j low bits */
 1675|     15|                if (j >= 32) {
  ------------------
  |  Branch (1675:21): [True: 0, False: 15]
  ------------------
 1676|      0|                    word1(&rv) = 0;
  ------------------
  |  |  183|      0|#define word1(x) (x)->L[0]
  ------------------
 1677|      0|                    if (j >= 53)
  ------------------
  |  Branch (1677:25): [True: 0, False: 0]
  ------------------
 1678|      0|                        word0(&rv) = (P+2)*Exp_msk1;
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                                      word0(&rv) = (P+2)*Exp_msk1;
  ------------------
  |  |  241|      0|#define P 53
  ------------------
                                      word0(&rv) = (P+2)*Exp_msk1;
  ------------------
  |  |  238|      0|#define Exp_msk1    0x100000
  ------------------
 1679|      0|                    else
 1680|      0|                        word0(&rv) &= 0xffffffff << (j-32);
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
 1681|      0|                }
 1682|     15|                else
 1683|     15|                    word1(&rv) &= 0xffffffff << j;
  ------------------
  |  |  183|     15|#define word1(x) (x)->L[0]
  ------------------
 1684|     15|            }
 1685|     48|            if (!dval(&rv))
  ------------------
  |  |  188|     48|#define dval(x) (x)->d
  ------------------
  |  Branch (1685:17): [True: 0, False: 48]
  ------------------
 1686|      0|                goto undfl;
 1687|     48|        }
 1688|     51|    }
 1689|       |
 1690|       |    /* Now the hard part -- adjusting rv to the correct value.*/
 1691|       |
 1692|       |    /* Put digits into bd: true value = bd * 10^e */
 1693|       |
 1694|     50|    bc.nd = nd;
 1695|     50|    bc.nd0 = nd0;       /* Only needed if nd > STRTOD_DIGLIM, but done here */
 1696|       |                        /* to silence an erroneous warning about bc.nd0 */
 1697|       |                        /* possibly not being initialized. */
 1698|     50|    if (nd > STRTOD_DIGLIM) {
  ------------------
  |  |  191|     50|#define STRTOD_DIGLIM 40
  ------------------
  |  Branch (1698:9): [True: 2, False: 48]
  ------------------
 1699|       |        /* ASSERT(STRTOD_DIGLIM >= 18); 18 == one more than the */
 1700|       |        /* minimum number of decimal digits to distinguish double values */
 1701|       |        /* in IEEE arithmetic. */
 1702|       |
 1703|       |        /* Truncate input to 18 significant digits, then discard any trailing
 1704|       |           zeros on the result by updating nd, nd0, e and y suitably. (There's
 1705|       |           no need to update z; it's not reused beyond this point.) */
 1706|     17|        for (i = 18; i > 0; ) {
  ------------------
  |  Branch (1706:22): [True: 17, False: 0]
  ------------------
 1707|       |            /* scan back until we hit a nonzero digit.  significant digit 'i'
 1708|       |            is s0[i] if i < nd0, s0[i+1] if i >= nd0. */
 1709|     17|            --i;
 1710|     17|            if (s0[i < nd0 ? i : i+1] != '0') {
  ------------------
  |  Branch (1710:17): [True: 2, False: 15]
  |  Branch (1710:20): [True: 15, False: 2]
  ------------------
 1711|      2|                ++i;
 1712|      2|                break;
 1713|      2|            }
 1714|     17|        }
 1715|      2|        e += nd - i;
 1716|      2|        nd = i;
 1717|      2|        if (nd0 > nd)
  ------------------
  |  Branch (1717:13): [True: 1, False: 1]
  ------------------
 1718|      1|            nd0 = nd;
 1719|      2|        if (nd < 9) { /* must recompute y */
  ------------------
  |  Branch (1719:13): [True: 1, False: 1]
  ------------------
 1720|      1|            y = 0;
 1721|      5|            for(i = 0; i < nd0; ++i)
  ------------------
  |  Branch (1721:24): [True: 4, False: 1]
  ------------------
 1722|      4|                y = 10*y + s0[i] - '0';
 1723|      1|            for(; i < nd; ++i)
  ------------------
  |  Branch (1723:19): [True: 0, False: 1]
  ------------------
 1724|      0|                y = 10*y + s0[i+1] - '0';
 1725|      1|        }
 1726|      2|    }
 1727|     50|    bd0 = s2b(s0, nd0, nd, y);
 1728|     50|    if (bd0 == NULL)
  ------------------
  |  Branch (1728:9): [True: 0, False: 50]
  ------------------
 1729|      0|        goto failed_malloc;
 1730|       |
 1731|       |    /* Notation for the comments below.  Write:
 1732|       |
 1733|       |         - dv for the absolute value of the number represented by the original
 1734|       |           decimal input string.
 1735|       |
 1736|       |         - if we've truncated dv, write tdv for the truncated value.
 1737|       |           Otherwise, set tdv == dv.
 1738|       |
 1739|       |         - srv for the quantity rv/2^bc.scale; so srv is the current binary
 1740|       |           approximation to tdv (and dv).  It should be exactly representable
 1741|       |           in an IEEE 754 double.
 1742|       |    */
 1743|       |
 1744|     67|    for(;;) {
 1745|       |
 1746|       |        /* This is the main correction loop for _Py_dg_strtod.
 1747|       |
 1748|       |           We've got a decimal value tdv, and a floating-point approximation
 1749|       |           srv=rv/2^bc.scale to tdv.  The aim is to determine whether srv is
 1750|       |           close enough (i.e., within 0.5 ulps) to tdv, and to compute a new
 1751|       |           approximation if not.
 1752|       |
 1753|       |           To determine whether srv is close enough to tdv, compute integers
 1754|       |           bd, bb and bs proportional to tdv, srv and 0.5 ulp(srv)
 1755|       |           respectively, and then use integer arithmetic to determine whether
 1756|       |           |tdv - srv| is less than, equal to, or greater than 0.5 ulp(srv).
 1757|       |        */
 1758|       |
 1759|     67|        bd = Balloc(bd0->k);
 1760|     67|        if (bd == NULL) {
  ------------------
  |  Branch (1760:13): [True: 0, False: 67]
  ------------------
 1761|      0|            goto failed_malloc;
 1762|      0|        }
 1763|     67|        Bcopy(bd, bd0);
  ------------------
  |  |  437|     67|#define Bcopy(x,y) memcpy((char *)&x->sign, (char *)&y->sign,   \
  |  |  438|     67|                          y->wds*sizeof(Long) + 2*sizeof(int))
  ------------------
 1764|     67|        bb = sd2b(&rv, bc.scale, &bbe);   /* srv = bb * 2^bbe */
 1765|     67|        if (bb == NULL) {
  ------------------
  |  Branch (1765:13): [True: 0, False: 67]
  ------------------
 1766|      0|            goto failed_malloc;
 1767|      0|        }
 1768|       |        /* Record whether lsb of bb is odd, in case we need this
 1769|       |           for the round-to-even step later. */
 1770|     67|        odd = bb->x[0] & 1;
 1771|       |
 1772|       |        /* tdv = bd * 10**e;  srv = bb * 2**bbe */
 1773|     67|        bs = i2b(1);
 1774|     67|        if (bs == NULL) {
  ------------------
  |  Branch (1774:13): [True: 0, False: 67]
  ------------------
 1775|      0|            goto failed_malloc;
 1776|      0|        }
 1777|       |
 1778|     67|        if (e >= 0) {
  ------------------
  |  Branch (1778:13): [True: 1, False: 66]
  ------------------
 1779|      1|            bb2 = bb5 = 0;
 1780|      1|            bd2 = bd5 = e;
 1781|      1|        }
 1782|     66|        else {
 1783|     66|            bb2 = bb5 = -e;
 1784|     66|            bd2 = bd5 = 0;
 1785|     66|        }
 1786|     67|        if (bbe >= 0)
  ------------------
  |  Branch (1786:13): [True: 1, False: 66]
  ------------------
 1787|      1|            bb2 += bbe;
 1788|     66|        else
 1789|     66|            bd2 -= bbe;
 1790|     67|        bs2 = bb2;
 1791|     67|        bb2++;
 1792|     67|        bd2++;
 1793|       |
 1794|       |        /* At this stage bd5 - bb5 == e == bd2 - bb2 + bbe, bb2 - bs2 == 1,
 1795|       |           and bs == 1, so:
 1796|       |
 1797|       |              tdv == bd * 10**e = bd * 2**(bbe - bb2 + bd2) * 5**(bd5 - bb5)
 1798|       |              srv == bb * 2**bbe = bb * 2**(bbe - bb2 + bb2)
 1799|       |              0.5 ulp(srv) == 2**(bbe-1) = bs * 2**(bbe - bb2 + bs2)
 1800|       |
 1801|       |           It follows that:
 1802|       |
 1803|       |              M * tdv = bd * 2**bd2 * 5**bd5
 1804|       |              M * srv = bb * 2**bb2 * 5**bb5
 1805|       |              M * 0.5 ulp(srv) = bs * 2**bs2 * 5**bb5
 1806|       |
 1807|       |           for some constant M.  (Actually, M == 2**(bb2 - bbe) * 5**bb5, but
 1808|       |           this fact is not needed below.)
 1809|       |        */
 1810|       |
 1811|       |        /* Remove factor of 2**i, where i = min(bb2, bd2, bs2). */
 1812|     67|        i = bb2 < bd2 ? bb2 : bd2;
  ------------------
  |  Branch (1812:13): [True: 66, False: 1]
  ------------------
 1813|     67|        if (i > bs2)
  ------------------
  |  Branch (1813:13): [True: 66, False: 1]
  ------------------
 1814|     66|            i = bs2;
 1815|     67|        if (i > 0) {
  ------------------
  |  Branch (1815:13): [True: 67, False: 0]
  ------------------
 1816|     67|            bb2 -= i;
 1817|     67|            bd2 -= i;
 1818|     67|            bs2 -= i;
 1819|     67|        }
 1820|       |
 1821|       |        /* Scale bb, bd, bs by the appropriate powers of 2 and 5. */
 1822|     67|        if (bb5 > 0) {
  ------------------
  |  Branch (1822:13): [True: 66, False: 1]
  ------------------
 1823|     66|            bs = pow5mult(bs, bb5);
 1824|     66|            if (bs == NULL) {
  ------------------
  |  Branch (1824:17): [True: 0, False: 66]
  ------------------
 1825|      0|                goto failed_malloc;
 1826|      0|            }
 1827|     66|            Bigint *bb1 = mult(bs, bb);
 1828|     66|            Bfree(bb);
 1829|     66|            bb = bb1;
 1830|     66|            if (bb == NULL) {
  ------------------
  |  Branch (1830:17): [True: 0, False: 66]
  ------------------
 1831|      0|                goto failed_malloc;
 1832|      0|            }
 1833|     66|        }
 1834|     67|        if (bb2 > 0) {
  ------------------
  |  Branch (1834:13): [True: 67, False: 0]
  ------------------
 1835|     67|            bb = lshift(bb, bb2);
 1836|     67|            if (bb == NULL) {
  ------------------
  |  Branch (1836:17): [True: 0, False: 67]
  ------------------
 1837|      0|                goto failed_malloc;
 1838|      0|            }
 1839|     67|        }
 1840|     67|        if (bd5 > 0) {
  ------------------
  |  Branch (1840:13): [True: 1, False: 66]
  ------------------
 1841|      1|            bd = pow5mult(bd, bd5);
 1842|      1|            if (bd == NULL) {
  ------------------
  |  Branch (1842:17): [True: 0, False: 1]
  ------------------
 1843|      0|                goto failed_malloc;
 1844|      0|            }
 1845|      1|        }
 1846|     67|        if (bd2 > 0) {
  ------------------
  |  Branch (1846:13): [True: 66, False: 1]
  ------------------
 1847|     66|            bd = lshift(bd, bd2);
 1848|     66|            if (bd == NULL) {
  ------------------
  |  Branch (1848:17): [True: 0, False: 66]
  ------------------
 1849|      0|                goto failed_malloc;
 1850|      0|            }
 1851|     66|        }
 1852|     67|        if (bs2 > 0) {
  ------------------
  |  Branch (1852:13): [True: 1, False: 66]
  ------------------
 1853|      1|            bs = lshift(bs, bs2);
 1854|      1|            if (bs == NULL) {
  ------------------
  |  Branch (1854:17): [True: 0, False: 1]
  ------------------
 1855|      0|                goto failed_malloc;
 1856|      0|            }
 1857|      1|        }
 1858|       |
 1859|       |        /* Now bd, bb and bs are scaled versions of tdv, srv and 0.5 ulp(srv),
 1860|       |           respectively.  Compute the difference |tdv - srv|, and compare
 1861|       |           with 0.5 ulp(srv). */
 1862|       |
 1863|     67|        delta = diff(bb, bd);
 1864|     67|        if (delta == NULL) {
  ------------------
  |  Branch (1864:13): [True: 0, False: 67]
  ------------------
 1865|      0|            goto failed_malloc;
 1866|      0|        }
 1867|     67|        dsign = delta->sign;
 1868|     67|        delta->sign = 0;
 1869|     67|        i = cmp(delta, bs);
 1870|     67|        if (bc.nd > nd && i <= 0) {
  ------------------
  |  Branch (1870:13): [True: 3, False: 64]
  |  Branch (1870:27): [True: 2, False: 1]
  ------------------
 1871|      2|            if (dsign)
  ------------------
  |  Branch (1871:17): [True: 2, False: 0]
  ------------------
 1872|      2|                break;  /* Must use bigcomp(). */
 1873|       |
 1874|       |            /* Here rv overestimates the truncated decimal value by at most
 1875|       |               0.5 ulp(rv).  Hence rv either overestimates the true decimal
 1876|       |               value by <= 0.5 ulp(rv), or underestimates it by some small
 1877|       |               amount (< 0.1 ulp(rv)); either way, rv is within 0.5 ulps of
 1878|       |               the true decimal value, so it's possible to exit.
 1879|       |
 1880|       |               Exception: if scaled rv is a normal exact power of 2, but not
 1881|       |               DBL_MIN, then rv - 0.5 ulp(rv) takes us all the way down to the
 1882|       |               next double, so the correctly rounded result is either rv - 0.5
 1883|       |               ulp(rv) or rv; in this case, use bigcomp to distinguish. */
 1884|       |
 1885|      0|            if (!word1(&rv) && !(word0(&rv) & Bndry_mask)) {
  ------------------
  |  |  183|      0|#define word1(x) (x)->L[0]
  ------------------
                          if (!word1(&rv) && !(word0(&rv) & Bndry_mask)) {
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                          if (!word1(&rv) && !(word0(&rv) & Bndry_mask)) {
  ------------------
  |  |  254|      0|#define Bndry_mask  0xfffff
  ------------------
  |  Branch (1885:17): [True: 0, False: 0]
  |  Branch (1885:32): [True: 0, False: 0]
  ------------------
 1886|       |                /* rv can't be 0, since it's an overestimate for some
 1887|       |                   nonzero value.  So rv is a normal power of 2. */
 1888|      0|                j = (int)(word0(&rv) & Exp_mask) >> Exp_shift;
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                              j = (int)(word0(&rv) & Exp_mask) >> Exp_shift;
  ------------------
  |  |  240|      0|#define Exp_mask  0x7ff00000
  ------------------
                              j = (int)(word0(&rv) & Exp_mask) >> Exp_shift;
  ------------------
  |  |  236|      0|#define Exp_shift  20
  ------------------
 1889|       |                /* rv / 2^bc.scale = 2^(j - 1023 - bc.scale); use bigcomp if
 1890|       |                   rv / 2^bc.scale >= 2^-1021. */
 1891|      0|                if (j - bc.scale >= 2) {
  ------------------
  |  Branch (1891:21): [True: 0, False: 0]
  ------------------
 1892|      0|                    dval(&rv) -= 0.5 * sulp(&rv, &bc);
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 1893|      0|                    break; /* Use bigcomp. */
 1894|      0|                }
 1895|      0|            }
 1896|       |
 1897|      0|            {
 1898|      0|                bc.nd = nd;
 1899|      0|                i = -1; /* Discarded digits make delta smaller. */
 1900|      0|            }
 1901|      0|        }
 1902|       |
 1903|     65|        if (i < 0) {
  ------------------
  |  Branch (1903:13): [True: 21, False: 44]
  ------------------
 1904|       |            /* Error is less than half an ulp -- check for
 1905|       |             * special case of mantissa a power of two.
 1906|       |             */
 1907|     21|            if (dsign || word1(&rv) || word0(&rv) & Bndry_mask
  ------------------
  |  |  183|     41|#define word1(x) (x)->L[0]
  |  |  ------------------
  |  |  |  Branch (183:18): [True: 20, False: 0]
  |  |  ------------------
  ------------------
                          if (dsign || word1(&rv) || word0(&rv) & Bndry_mask
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                          if (dsign || word1(&rv) || word0(&rv) & Bndry_mask
  ------------------
  |  |  254|     21|#define Bndry_mask  0xfffff
  ------------------
  |  Branch (1907:17): [True: 1, False: 20]
  |  Branch (1907:40): [True: 0, False: 0]
  ------------------
 1908|      0|                || (word0(&rv) & Exp_mask) <= (2*P+1)*Exp_msk1
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                              || (word0(&rv) & Exp_mask) <= (2*P+1)*Exp_msk1
  ------------------
  |  |  240|      0|#define Exp_mask  0x7ff00000
  ------------------
                              || (word0(&rv) & Exp_mask) <= (2*P+1)*Exp_msk1
  ------------------
  |  |  241|      0|#define P 53
  ------------------
                              || (word0(&rv) & Exp_mask) <= (2*P+1)*Exp_msk1
  ------------------
  |  |  238|      0|#define Exp_msk1    0x100000
  ------------------
  |  Branch (1908:20): [True: 0, False: 0]
  ------------------
 1909|     21|                ) {
 1910|     21|                break;
 1911|     21|            }
 1912|      0|            if (!delta->x[0] && delta->wds <= 1) {
  ------------------
  |  Branch (1912:17): [True: 0, False: 0]
  |  Branch (1912:33): [True: 0, False: 0]
  ------------------
 1913|       |                /* exact result */
 1914|      0|                break;
 1915|      0|            }
 1916|      0|            delta = lshift(delta,Log2P);
  ------------------
  |  |  257|      0|#define Log2P 1
  ------------------
 1917|      0|            if (delta == NULL) {
  ------------------
  |  Branch (1917:17): [True: 0, False: 0]
  ------------------
 1918|      0|                goto failed_malloc;
 1919|      0|            }
 1920|      0|            if (cmp(delta, bs) > 0)
  ------------------
  |  Branch (1920:17): [True: 0, False: 0]
  ------------------
 1921|      0|                goto drop_down;
 1922|      0|            break;
 1923|      0|        }
 1924|     44|        if (i == 0) {
  ------------------
  |  Branch (1924:13): [True: 0, False: 44]
  ------------------
 1925|       |            /* exactly half-way between */
 1926|      0|            if (dsign) {
  ------------------
  |  Branch (1926:17): [True: 0, False: 0]
  ------------------
 1927|      0|                if ((word0(&rv) & Bndry_mask1) == Bndry_mask1
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                              if ((word0(&rv) & Bndry_mask1) == Bndry_mask1
  ------------------
  |  |  255|      0|#define Bndry_mask1 0xfffff
  ------------------
                              if ((word0(&rv) & Bndry_mask1) == Bndry_mask1
  ------------------
  |  |  255|      0|#define Bndry_mask1 0xfffff
  ------------------
  |  Branch (1927:21): [True: 0, False: 0]
  ------------------
 1928|      0|                    &&  word1(&rv) == (
  ------------------
  |  |  183|      0|#define word1(x) (x)->L[0]
  ------------------
  |  Branch (1928:25): [True: 0, False: 0]
  ------------------
 1929|      0|                        (bc.scale &&
  ------------------
  |  Branch (1929:26): [True: 0, False: 0]
  ------------------
 1930|      0|                         (y = word0(&rv) & Exp_mask) <= 2*P*Exp_msk1) ?
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                                       (y = word0(&rv) & Exp_mask) <= 2*P*Exp_msk1) ?
  ------------------
  |  |  240|      0|#define Exp_mask  0x7ff00000
  ------------------
                                       (y = word0(&rv) & Exp_mask) <= 2*P*Exp_msk1) ?
  ------------------
  |  |  241|      0|#define P 53
  ------------------
                                       (y = word0(&rv) & Exp_mask) <= 2*P*Exp_msk1) ?
  ------------------
  |  |  238|      0|#define Exp_msk1    0x100000
  ------------------
  |  Branch (1930:26): [True: 0, False: 0]
  ------------------
 1931|      0|                        (0xffffffff & (0xffffffff << (2*P+1-(y>>Exp_shift)))) :
  ------------------
  |  |  241|      0|#define P 53
  ------------------
                                      (0xffffffff & (0xffffffff << (2*P+1-(y>>Exp_shift)))) :
  ------------------
  |  |  236|      0|#define Exp_shift  20
  ------------------
 1932|      0|                        0xffffffff)) {
 1933|       |                    /*boundary case -- increment exponent*/
 1934|      0|                    word0(&rv) = (word0(&rv) & Exp_mask)
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                                  word0(&rv) = (word0(&rv) & Exp_mask)
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                                  word0(&rv) = (word0(&rv) & Exp_mask)
  ------------------
  |  |  240|      0|#define Exp_mask  0x7ff00000
  ------------------
 1935|      0|                        + Exp_msk1
  ------------------
  |  |  238|      0|#define Exp_msk1    0x100000
  ------------------
 1936|      0|                        ;
 1937|      0|                    word1(&rv) = 0;
  ------------------
  |  |  183|      0|#define word1(x) (x)->L[0]
  ------------------
 1938|       |                    /* dsign = 0; */
 1939|      0|                    break;
 1940|      0|                }
 1941|      0|            }
 1942|      0|            else if (!(word0(&rv) & Bndry_mask) && !word1(&rv)) {
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                          else if (!(word0(&rv) & Bndry_mask) && !word1(&rv)) {
  ------------------
  |  |  254|      0|#define Bndry_mask  0xfffff
  ------------------
                          else if (!(word0(&rv) & Bndry_mask) && !word1(&rv)) {
  ------------------
  |  |  183|      0|#define word1(x) (x)->L[0]
  ------------------
  |  Branch (1942:22): [True: 0, False: 0]
  |  Branch (1942:52): [True: 0, False: 0]
  ------------------
 1943|      0|              drop_down:
 1944|       |                /* boundary case -- decrement exponent */
 1945|      0|                if (bc.scale) {
  ------------------
  |  Branch (1945:21): [True: 0, False: 0]
  ------------------
 1946|      0|                    L = word0(&rv) & Exp_mask;
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                                  L = word0(&rv) & Exp_mask;
  ------------------
  |  |  240|      0|#define Exp_mask  0x7ff00000
  ------------------
 1947|      0|                    if (L <= (2*P+1)*Exp_msk1) {
  ------------------
  |  |  241|      0|#define P 53
  ------------------
                                  if (L <= (2*P+1)*Exp_msk1) {
  ------------------
  |  |  238|      0|#define Exp_msk1    0x100000
  ------------------
  |  Branch (1947:25): [True: 0, False: 0]
  ------------------
 1948|      0|                        if (L > (P+2)*Exp_msk1)
  ------------------
  |  |  241|      0|#define P 53
  ------------------
                                      if (L > (P+2)*Exp_msk1)
  ------------------
  |  |  238|      0|#define Exp_msk1    0x100000
  ------------------
  |  Branch (1948:29): [True: 0, False: 0]
  ------------------
 1949|       |                            /* round even ==> */
 1950|       |                            /* accept rv */
 1951|      0|                            break;
 1952|       |                        /* rv = smallest denormal */
 1953|      0|                        if (bc.nd > nd)
  ------------------
  |  Branch (1953:29): [True: 0, False: 0]
  ------------------
 1954|      0|                            break;
 1955|      0|                        goto undfl;
 1956|      0|                    }
 1957|      0|                }
 1958|      0|                L = (word0(&rv) & Exp_mask) - Exp_msk1;
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                              L = (word0(&rv) & Exp_mask) - Exp_msk1;
  ------------------
  |  |  240|      0|#define Exp_mask  0x7ff00000
  ------------------
                              L = (word0(&rv) & Exp_mask) - Exp_msk1;
  ------------------
  |  |  238|      0|#define Exp_msk1    0x100000
  ------------------
 1959|      0|                word0(&rv) = L | Bndry_mask1;
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                              word0(&rv) = L | Bndry_mask1;
  ------------------
  |  |  255|      0|#define Bndry_mask1 0xfffff
  ------------------
 1960|      0|                word1(&rv) = 0xffffffff;
  ------------------
  |  |  183|      0|#define word1(x) (x)->L[0]
  ------------------
 1961|      0|                break;
 1962|      0|            }
 1963|      0|            if (!odd)
  ------------------
  |  Branch (1963:17): [True: 0, False: 0]
  ------------------
 1964|      0|                break;
 1965|      0|            if (dsign)
  ------------------
  |  Branch (1965:17): [True: 0, False: 0]
  ------------------
 1966|      0|                dval(&rv) += sulp(&rv, &bc);
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 1967|      0|            else {
 1968|      0|                dval(&rv) -= sulp(&rv, &bc);
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 1969|      0|                if (!dval(&rv)) {
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (1969:21): [True: 0, False: 0]
  ------------------
 1970|      0|                    if (bc.nd >nd)
  ------------------
  |  Branch (1970:25): [True: 0, False: 0]
  ------------------
 1971|      0|                        break;
 1972|      0|                    goto undfl;
 1973|      0|                }
 1974|      0|            }
 1975|       |            /* dsign = 1 - dsign; */
 1976|      0|            break;
 1977|      0|        }
 1978|     44|        if ((aadj = ratio(delta, bs)) <= 2.) {
  ------------------
  |  Branch (1978:13): [True: 37, False: 7]
  ------------------
 1979|     37|            if (dsign)
  ------------------
  |  Branch (1979:17): [True: 31, False: 6]
  ------------------
 1980|     31|                aadj = aadj1 = 1.;
 1981|      6|            else if (word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  183|     12|#define word1(x) (x)->L[0]
  |  |  ------------------
  |  |  |  Branch (183:18): [True: 6, False: 0]
  |  |  ------------------
  ------------------
                          else if (word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                          else if (word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  254|      0|#define Bndry_mask  0xfffff
  ------------------
  |  Branch (1981:36): [True: 0, False: 0]
  ------------------
 1982|      6|                if (word1(&rv) == Tiny1 && !word0(&rv)) {
  ------------------
  |  |  183|      6|#define word1(x) (x)->L[0]
  ------------------
                              if (word1(&rv) == Tiny1 && !word0(&rv)) {
  ------------------
  |  |  259|     12|#define Tiny1 1
  ------------------
                              if (word1(&rv) == Tiny1 && !word0(&rv)) {
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
  |  Branch (1982:21): [True: 0, False: 6]
  |  Branch (1982:44): [True: 0, False: 0]
  ------------------
 1983|      0|                    if (bc.nd >nd)
  ------------------
  |  Branch (1983:25): [True: 0, False: 0]
  ------------------
 1984|      0|                        break;
 1985|      0|                    goto undfl;
 1986|      0|                }
 1987|      6|                aadj = 1.;
 1988|      6|                aadj1 = -1.;
 1989|      6|            }
 1990|      0|            else {
 1991|       |                /* special case -- power of FLT_RADIX to be */
 1992|       |                /* rounded down... */
 1993|       |
 1994|      0|                if (aadj < 2./FLT_RADIX)
  ------------------
  |  Branch (1994:21): [True: 0, False: 0]
  ------------------
 1995|      0|                    aadj = 1./FLT_RADIX;
 1996|      0|                else
 1997|      0|                    aadj *= 0.5;
 1998|      0|                aadj1 = -aadj;
 1999|      0|            }
 2000|     37|        }
 2001|      7|        else {
 2002|      7|            aadj *= 0.5;
 2003|      7|            aadj1 = dsign ? aadj : -aadj;
  ------------------
  |  Branch (2003:21): [True: 1, False: 6]
  ------------------
 2004|      7|            if (Flt_Rounds == 0)
  ------------------
  |  |  265|      7|#define Flt_Rounds FLT_ROUNDS
  ------------------
  |  Branch (2004:17): [True: 0, False: 7]
  ------------------
 2005|      0|                aadj1 += 0.5;
 2006|      7|        }
 2007|     44|        y = word0(&rv) & Exp_mask;
  ------------------
  |  |  182|     44|#define word0(x) (x)->L[1]
  ------------------
                      y = word0(&rv) & Exp_mask;
  ------------------
  |  |  240|     44|#define Exp_mask  0x7ff00000
  ------------------
 2008|       |
 2009|       |        /* Check for overflow */
 2010|       |
 2011|     44|        if (y == Exp_msk1*(DBL_MAX_EXP+Bias-1)) {
  ------------------
  |  |  238|     44|#define Exp_msk1    0x100000
  ------------------
                      if (y == Exp_msk1*(DBL_MAX_EXP+Bias-1)) {
  ------------------
  |  |  243|     44|#define Bias 1023
  ------------------
  |  Branch (2011:13): [True: 0, False: 44]
  ------------------
 2012|      0|            dval(&rv0) = dval(&rv);
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
                          dval(&rv0) = dval(&rv);
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 2013|      0|            word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                          word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  241|      0|#define P 53
  ------------------
                          word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  238|      0|#define Exp_msk1    0x100000
  ------------------
 2014|      0|            adj.d = aadj1 * ulp(&rv);
 2015|      0|            dval(&rv) += adj.d;
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 2016|      0|            if ((word0(&rv) & Exp_mask) >=
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                          if ((word0(&rv) & Exp_mask) >=
  ------------------
  |  |  240|      0|#define Exp_mask  0x7ff00000
  ------------------
  |  Branch (2016:17): [True: 0, False: 0]
  ------------------
 2017|      0|                Exp_msk1*(DBL_MAX_EXP+Bias-P)) {
  ------------------
  |  |  238|      0|#define Exp_msk1    0x100000
  ------------------
                              Exp_msk1*(DBL_MAX_EXP+Bias-P)) {
  ------------------
  |  |  243|      0|#define Bias 1023
  ------------------
                              Exp_msk1*(DBL_MAX_EXP+Bias-P)) {
  ------------------
  |  |  241|      0|#define P 53
  ------------------
 2018|      0|                if (word0(&rv0) == Big0 && word1(&rv0) == Big1) {
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                              if (word0(&rv0) == Big0 && word1(&rv0) == Big1) {
  ------------------
  |  |  273|      0|#define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  251|      0|#define Frac_mask1 0xfffff
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  238|      0|#define Exp_msk1    0x100000
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  243|      0|#define Bias 1023
  |  |  ------------------
  ------------------
                              if (word0(&rv0) == Big0 && word1(&rv0) == Big1) {
  ------------------
  |  |  183|      0|#define word1(x) (x)->L[0]
  ------------------
                              if (word0(&rv0) == Big0 && word1(&rv0) == Big1) {
  ------------------
  |  |  274|      0|#define Big1 0xffffffff
  ------------------
  |  Branch (2018:21): [True: 0, False: 0]
  |  Branch (2018:44): [True: 0, False: 0]
  ------------------
 2019|      0|                    goto ovfl;
 2020|      0|                }
 2021|      0|                word0(&rv) = Big0;
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                              word0(&rv) = Big0;
  ------------------
  |  |  273|      0|#define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  251|      0|#define Frac_mask1 0xfffff
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  238|      0|#define Exp_msk1    0x100000
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  243|      0|#define Bias 1023
  |  |  ------------------
  ------------------
 2022|      0|                word1(&rv) = Big1;
  ------------------
  |  |  183|      0|#define word1(x) (x)->L[0]
  ------------------
                              word1(&rv) = Big1;
  ------------------
  |  |  274|      0|#define Big1 0xffffffff
  ------------------
 2023|      0|                goto cont;
 2024|      0|            }
 2025|      0|            else
 2026|      0|                word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                              word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  241|      0|#define P 53
  ------------------
                              word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  238|      0|#define Exp_msk1    0x100000
  ------------------
 2027|      0|        }
 2028|     44|        else {
 2029|     44|            if (bc.scale && y <= 2*P*Exp_msk1) {
  ------------------
  |  |  241|     16|#define P 53
  ------------------
                          if (bc.scale && y <= 2*P*Exp_msk1) {
  ------------------
  |  |  238|     16|#define Exp_msk1    0x100000
  ------------------
  |  Branch (2029:17): [True: 16, False: 28]
  |  Branch (2029:29): [True: 15, False: 1]
  ------------------
 2030|     15|                if (aadj <= 0x7fffffff) {
  ------------------
  |  Branch (2030:21): [True: 15, False: 0]
  ------------------
 2031|     15|                    if ((z = (ULong)aadj) <= 0)
  ------------------
  |  Branch (2031:25): [True: 0, False: 15]
  ------------------
 2032|      0|                        z = 1;
 2033|     15|                    aadj = z;
 2034|     15|                    aadj1 = dsign ? aadj : -aadj;
  ------------------
  |  Branch (2034:29): [True: 15, False: 0]
  ------------------
 2035|     15|                }
 2036|     15|                dval(&aadj2) = aadj1;
  ------------------
  |  |  188|     15|#define dval(x) (x)->d
  ------------------
 2037|     15|                word0(&aadj2) += (2*P+1)*Exp_msk1 - y;
  ------------------
  |  |  182|     15|#define word0(x) (x)->L[1]
  ------------------
                              word0(&aadj2) += (2*P+1)*Exp_msk1 - y;
  ------------------
  |  |  241|     15|#define P 53
  ------------------
                              word0(&aadj2) += (2*P+1)*Exp_msk1 - y;
  ------------------
  |  |  238|     15|#define Exp_msk1    0x100000
  ------------------
 2038|     15|                aadj1 = dval(&aadj2);
  ------------------
  |  |  188|     15|#define dval(x) (x)->d
  ------------------
 2039|     15|            }
 2040|     44|            adj.d = aadj1 * ulp(&rv);
 2041|     44|            dval(&rv) += adj.d;
  ------------------
  |  |  188|     44|#define dval(x) (x)->d
  ------------------
 2042|     44|        }
 2043|     44|        z = word0(&rv) & Exp_mask;
  ------------------
  |  |  182|     44|#define word0(x) (x)->L[1]
  ------------------
                      z = word0(&rv) & Exp_mask;
  ------------------
  |  |  240|     44|#define Exp_mask  0x7ff00000
  ------------------
 2044|     44|        if (bc.nd == nd) {
  ------------------
  |  Branch (2044:13): [True: 43, False: 1]
  ------------------
 2045|     43|            if (!bc.scale)
  ------------------
  |  Branch (2045:17): [True: 27, False: 16]
  ------------------
 2046|     27|                if (y == z) {
  ------------------
  |  Branch (2046:21): [True: 27, False: 0]
  ------------------
 2047|       |                    /* Can we stop now? */
 2048|     27|                    L = (Long)aadj;
 2049|     27|                    aadj -= L;
 2050|       |                    /* The tolerances below are conservative. */
 2051|     27|                    if (dsign || word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  183|     38|#define word1(x) (x)->L[0]
  |  |  ------------------
  |  |  |  Branch (183:18): [True: 11, False: 0]
  |  |  ------------------
  ------------------
                                  if (dsign || word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                                  if (dsign || word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  254|      0|#define Bndry_mask  0xfffff
  ------------------
  |  Branch (2051:25): [True: 16, False: 11]
  |  Branch (2051:48): [True: 0, False: 0]
  ------------------
 2052|     27|                        if (aadj < .4999999 || aadj > .5000001)
  ------------------
  |  Branch (2052:29): [True: 21, False: 6]
  |  Branch (2052:48): [True: 6, False: 0]
  ------------------
 2053|     27|                            break;
 2054|     27|                    }
 2055|      0|                    else if (aadj < .4999999/FLT_RADIX)
  ------------------
  |  Branch (2055:30): [True: 0, False: 0]
  ------------------
 2056|      0|                        break;
 2057|     27|                }
 2058|     43|        }
 2059|     17|      cont:
 2060|     17|        Bfree(bb); bb = NULL;
 2061|     17|        Bfree(bd); bd = NULL;
 2062|     17|        Bfree(bs); bs = NULL;
 2063|     17|        Bfree(delta); delta = NULL;
 2064|     17|    }
 2065|     50|    if (bc.nd > nd) {
  ------------------
  |  Branch (2065:9): [True: 2, False: 48]
  ------------------
 2066|      2|        error = bigcomp(&rv, s0, &bc);
 2067|      2|        if (error)
  ------------------
  |  Branch (2067:13): [True: 0, False: 2]
  ------------------
 2068|      0|            goto failed_malloc;
 2069|      2|    }
 2070|       |
 2071|     50|    if (bc.scale) {
  ------------------
  |  Branch (2071:9): [True: 16, False: 34]
  ------------------
 2072|     16|        word0(&rv0) = Exp_1 - 2*P*Exp_msk1;
  ------------------
  |  |  182|     16|#define word0(x) (x)->L[1]
  ------------------
                      word0(&rv0) = Exp_1 - 2*P*Exp_msk1;
  ------------------
  |  |  247|     16|#define Exp_1  0x3ff00000
  ------------------
                      word0(&rv0) = Exp_1 - 2*P*Exp_msk1;
  ------------------
  |  |  241|     16|#define P 53
  ------------------
                      word0(&rv0) = Exp_1 - 2*P*Exp_msk1;
  ------------------
  |  |  238|     16|#define Exp_msk1    0x100000
  ------------------
 2073|     16|        word1(&rv0) = 0;
  ------------------
  |  |  183|     16|#define word1(x) (x)->L[0]
  ------------------
 2074|     16|        dval(&rv) *= dval(&rv0);
  ------------------
  |  |  188|     16|#define dval(x) (x)->d
  ------------------
                      dval(&rv) *= dval(&rv0);
  ------------------
  |  |  188|     16|#define dval(x) (x)->d
  ------------------
 2075|     16|    }
 2076|       |
 2077|     53|  ret:
 2078|     53|    result = sign ? -dval(&rv) : dval(&rv);
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
                  result = sign ? -dval(&rv) : dval(&rv);
  ------------------
  |  |  188|    106|#define dval(x) (x)->d
  ------------------
  |  Branch (2078:14): [True: 0, False: 53]
  ------------------
 2079|     53|    goto done;
 2080|       |
 2081|      0|  parse_error:
 2082|      0|    result = 0.0;
 2083|      0|    goto done;
 2084|       |
 2085|      0|  failed_malloc:
 2086|      0|    errno = ENOMEM;
 2087|      0|    result = -1.0;
 2088|      0|    goto done;
 2089|       |
 2090|      2|  undfl:
 2091|      2|    result = sign ? -0.0 : 0.0;
  ------------------
  |  Branch (2091:14): [True: 0, False: 2]
  ------------------
 2092|      2|    goto done;
 2093|       |
 2094|      0|  ovfl:
 2095|      0|    errno = ERANGE;
 2096|       |    /* Can't trust HUGE_VAL */
 2097|      0|    word0(&rv) = Exp_mask;
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                  word0(&rv) = Exp_mask;
  ------------------
  |  |  240|      0|#define Exp_mask  0x7ff00000
  ------------------
 2098|      0|    word1(&rv) = 0;
  ------------------
  |  |  183|      0|#define word1(x) (x)->L[0]
  ------------------
 2099|      0|    result = sign ? -dval(&rv) : dval(&rv);
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
                  result = sign ? -dval(&rv) : dval(&rv);
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2099:14): [True: 0, False: 0]
  ------------------
 2100|      0|    goto done;
 2101|       |
 2102|     55|  done:
 2103|     55|    Bfree(bb);
 2104|     55|    Bfree(bd);
 2105|     55|    Bfree(bs);
 2106|     55|    Bfree(bd0);
 2107|     55|    Bfree(delta);
 2108|     55|    return result;
 2109|       |
 2110|     50|}
_PyDtoa_Init:
 2820|      2|{
 2821|      2|#if _PY_SHORT_FLOAT_REPR == 1 && !defined(Py_USING_MEMORY_DEBUGGER)
 2822|      2|    Bigint **p5s = interp->dtoa.p5s;
 2823|       |
 2824|       |    // 5**4 = 625
 2825|      2|    Bigint *p5 = i2b(625);
 2826|      2|    if (p5 == NULL) {
  ------------------
  |  Branch (2826:9): [True: 0, False: 2]
  ------------------
 2827|      0|        return PyStatus_NoMemory();
 2828|      0|    }
 2829|      2|    p5s[0] = p5;
 2830|       |
 2831|       |    // compute 5**8, 5**16, 5**32, ..., 5**512
 2832|     16|    for (Py_ssize_t i = 1; i < Bigint_Pow5size; i++) {
  ------------------
  |  |  483|     16|#define Bigint_Pow5size 8
  ------------------
  |  Branch (2832:28): [True: 14, False: 2]
  ------------------
 2833|     14|        p5 = mult(p5, p5);
 2834|     14|        if (p5 == NULL) {
  ------------------
  |  Branch (2834:13): [True: 0, False: 14]
  ------------------
 2835|      0|            return PyStatus_NoMemory();
 2836|      0|        }
 2837|     14|        p5s[i] = p5;
 2838|     14|    }
 2839|       |
 2840|      2|#endif
 2841|      2|    return PyStatus_Ok();
 2842|      2|}
dtoa.c:s2b:
  487|     50|{
  488|     50|    Bigint *b;
  489|     50|    int i, k;
  490|     50|    Long x, y;
  491|       |
  492|     50|    x = (nd + 8) / 9;
  493|     61|    for(k = 0, y = 1; x > y; y <<= 1, k++) ;
  ------------------
  |  Branch (493:23): [True: 11, False: 50]
  ------------------
  494|     50|    b = Balloc(k);
  495|     50|    if (b == NULL)
  ------------------
  |  Branch (495:9): [True: 0, False: 50]
  ------------------
  496|      0|        return NULL;
  497|     50|    b->x[0] = y9;
  498|     50|    b->wds = 1;
  499|       |
  500|     50|    if (nd <= 9)
  ------------------
  |  Branch (500:9): [True: 44, False: 6]
  ------------------
  501|     44|      return b;
  502|       |
  503|      6|    s += 9;
  504|     88|    for (i = 9; i < nd0; i++) {
  ------------------
  |  Branch (504:17): [True: 82, False: 6]
  ------------------
  505|     82|        b = multadd(b, 10, *s++ - '0');
  506|     82|        if (b == NULL)
  ------------------
  |  Branch (506:13): [True: 0, False: 82]
  ------------------
  507|      0|            return NULL;
  508|     82|    }
  509|      6|    s++;
  510|     10|    for(; i < nd; i++) {
  ------------------
  |  Branch (510:11): [True: 4, False: 6]
  ------------------
  511|      4|        b = multadd(b, 10, *s++ - '0');
  512|      4|        if (b == NULL)
  ------------------
  |  Branch (512:13): [True: 0, False: 4]
  ------------------
  513|      0|            return NULL;
  514|      4|    }
  515|      6|    return b;
  516|      6|}
dtoa.c:Balloc:
  345|    781|{
  346|    781|    int x;
  347|    781|    Bigint *rv;
  348|    781|    unsigned int len;
  349|    781|    PyInterpreterState *interp = _PyInterpreterState_GET();
  350|       |
  351|    781|    if (k <= Bigint_Kmax && (rv = freelist[k]))
  ------------------
  |  |  480|  1.56k|#define Bigint_Kmax 7
  ------------------
                  if (k <= Bigint_Kmax && (rv = freelist[k]))
  ------------------
  |  |  337|    781|#define freelist interp->dtoa.freelist
  ------------------
  |  Branch (351:9): [True: 781, False: 0]
  |  Branch (351:29): [True: 743, False: 38]
  ------------------
  352|    743|        freelist[k] = rv->next;
  ------------------
  |  |  337|    743|#define freelist interp->dtoa.freelist
  ------------------
  353|     38|    else {
  354|     38|        x = 1 << k;
  355|     38|        len = (sizeof(Bigint) + (x-1)*sizeof(ULong) + sizeof(double) - 1)
  356|     38|            /sizeof(double);
  357|     38|        if (k <= Bigint_Kmax &&
  ------------------
  |  |  480|     76|#define Bigint_Kmax 7
  ------------------
  |  Branch (357:13): [True: 38, False: 0]
  ------------------
  358|     38|            pmem_next - private_mem + len <= (Py_ssize_t)Bigint_PREALLOC_SIZE
  ------------------
  |  |  339|     38|#define pmem_next interp->dtoa.preallocated_next
  ------------------
                          pmem_next - private_mem + len <= (Py_ssize_t)Bigint_PREALLOC_SIZE
  ------------------
  |  |  338|     38|#define private_mem interp->dtoa.preallocated
  ------------------
                          pmem_next - private_mem + len <= (Py_ssize_t)Bigint_PREALLOC_SIZE
  ------------------
  |  |  489|     38|    ((PRIVATE_MEM+sizeof(double)-1)/sizeof(double))
  |  |  ------------------
  |  |  |  |  486|     38|#define PRIVATE_MEM 2304
  |  |  ------------------
  ------------------
  |  Branch (358:13): [True: 37, False: 1]
  ------------------
  359|     38|        ) {
  360|     37|            rv = (Bigint*)pmem_next;
  ------------------
  |  |  339|     37|#define pmem_next interp->dtoa.preallocated_next
  ------------------
  361|     37|            pmem_next += len;
  ------------------
  |  |  339|     37|#define pmem_next interp->dtoa.preallocated_next
  ------------------
  362|     37|        }
  363|      1|        else {
  364|      1|            rv = (Bigint*)MALLOC(len*sizeof(double));
  ------------------
  |  |  137|      1|#define MALLOC PyMem_Malloc
  ------------------
  365|      1|            if (rv == NULL)
  ------------------
  |  Branch (365:17): [True: 0, False: 1]
  ------------------
  366|      0|                return NULL;
  367|      1|        }
  368|     38|        rv->k = k;
  369|     38|        rv->maxwds = x;
  370|     38|    }
  371|    781|    rv->sign = rv->wds = 0;
  372|    781|    return rv;
  373|    781|}
dtoa.c:sd2b:
  983|     69|{
  984|     69|    Bigint *b;
  985|       |
  986|     69|    b = Balloc(1);
  987|     69|    if (b == NULL)
  ------------------
  |  Branch (987:9): [True: 0, False: 69]
  ------------------
  988|      0|        return NULL;
  989|       |
  990|       |    /* First construct b and e assuming that scale == 0. */
  991|     69|    b->wds = 2;
  992|     69|    b->x[0] = word1(d);
  ------------------
  |  |  183|     69|#define word1(x) (x)->L[0]
  ------------------
  993|     69|    b->x[1] = word0(d) & Frac_mask;
  ------------------
  |  |  182|     69|#define word0(x) (x)->L[1]
  ------------------
                  b->x[1] = word0(d) & Frac_mask;
  ------------------
  |  |  250|     69|#define Frac_mask  0xfffff
  ------------------
  994|     69|    *e = Etiny - 1 + (int)((word0(d) & Exp_mask) >> Exp_shift);
  ------------------
  |  |  246|     69|#define Etiny (-1074)  /* smallest denormal is 2**Etiny */
  ------------------
                  *e = Etiny - 1 + (int)((word0(d) & Exp_mask) >> Exp_shift);
  ------------------
  |  |  182|     69|#define word0(x) (x)->L[1]
  ------------------
                  *e = Etiny - 1 + (int)((word0(d) & Exp_mask) >> Exp_shift);
  ------------------
  |  |  240|     69|#define Exp_mask  0x7ff00000
  ------------------
                  *e = Etiny - 1 + (int)((word0(d) & Exp_mask) >> Exp_shift);
  ------------------
  |  |  236|     69|#define Exp_shift  20
  ------------------
  995|     69|    if (*e < Etiny)
  ------------------
  |  |  246|     69|#define Etiny (-1074)  /* smallest denormal is 2**Etiny */
  ------------------
  |  Branch (995:9): [True: 0, False: 69]
  ------------------
  996|      0|        *e = Etiny;
  ------------------
  |  |  246|      0|#define Etiny (-1074)  /* smallest denormal is 2**Etiny */
  ------------------
  997|     69|    else
  998|     69|        b->x[1] |= Exp_msk1;
  ------------------
  |  |  238|     69|#define Exp_msk1    0x100000
  ------------------
  999|       |
 1000|       |    /* Now adjust for scale, provided that b != 0. */
 1001|     69|    if (scale && (b->x[0] || b->x[1])) {
  ------------------
  |  Branch (1001:9): [True: 32, False: 37]
  |  Branch (1001:19): [True: 32, False: 0]
  |  Branch (1001:30): [True: 0, False: 0]
  ------------------
 1002|     32|        *e -= scale;
 1003|     32|        if (*e < Etiny) {
  ------------------
  |  |  246|     32|#define Etiny (-1074)  /* smallest denormal is 2**Etiny */
  ------------------
  |  Branch (1003:13): [True: 30, False: 2]
  ------------------
 1004|     30|            scale = Etiny - *e;
  ------------------
  |  |  246|     30|#define Etiny (-1074)  /* smallest denormal is 2**Etiny */
  ------------------
 1005|     30|            *e = Etiny;
  ------------------
  |  |  246|     30|#define Etiny (-1074)  /* smallest denormal is 2**Etiny */
  ------------------
 1006|       |            /* We can't shift more than P-1 bits without shifting out a 1. */
 1007|     30|            assert(0 < scale && scale <= P - 1);
  ------------------
  |  Branch (1007:13): [True: 30, False: 0]
  |  Branch (1007:13): [True: 30, False: 0]
  ------------------
 1008|     30|            if (scale >= 32) {
  ------------------
  |  Branch (1008:17): [True: 0, False: 30]
  ------------------
 1009|       |                /* The bits shifted out should all be zero. */
 1010|      0|                assert(b->x[0] == 0);
  ------------------
  |  Branch (1010:17): [True: 0, False: 0]
  ------------------
 1011|      0|                b->x[0] = b->x[1];
 1012|      0|                b->x[1] = 0;
 1013|      0|                scale -= 32;
 1014|      0|            }
 1015|     30|            if (scale) {
  ------------------
  |  Branch (1015:17): [True: 30, False: 0]
  ------------------
 1016|       |                /* The bits shifted out should all be zero. */
 1017|     30|                assert(b->x[0] << (32 - scale) == 0);
  ------------------
  |  Branch (1017:17): [True: 30, False: 0]
  ------------------
 1018|     30|                b->x[0] = (b->x[0] >> scale) | (b->x[1] << (32 - scale));
 1019|     30|                b->x[1] >>= scale;
 1020|     30|            }
 1021|     30|        }
 1022|     32|    }
 1023|       |    /* Ensure b is normalized. */
 1024|     69|    if (!b->x[1])
  ------------------
  |  Branch (1024:9): [True: 0, False: 69]
  ------------------
 1025|      0|        b->wds = 1;
 1026|       |
 1027|     69|    return b;
 1028|     69|}
dtoa.c:i2b:
  599|     71|{
  600|     71|    Bigint *b;
  601|       |
  602|     71|    b = Balloc(1);
  603|     71|    if (b == NULL)
  ------------------
  |  Branch (603:9): [True: 0, False: 71]
  ------------------
  604|      0|        return NULL;
  605|     71|    b->x[0] = i;
  606|     71|    b->wds = 1;
  607|     71|    return b;
  608|     71|}
dtoa.c:pow5mult:
  679|     69|{
  680|     69|    Bigint *b1, *p5, **p5s;
  681|     69|    int i;
  682|     69|    static const int p05[3] = { 5, 25, 125 };
  683|       |
  684|       |    // For double-to-string conversion, the maximum value of k is limited by
  685|       |    // DBL_MAX_10_EXP (308), the maximum decimal base-10 exponent for binary64.
  686|       |    // For string-to-double conversion, the extreme case is constrained by our
  687|       |    // hardcoded exponent limit before we underflow of -512, adjusted by
  688|       |    // STRTOD_DIGLIM-DBL_DIG-1, giving a maximum of k=535.
  689|     69|    assert(0 <= k && k < 1024);
  ------------------
  |  Branch (689:5): [True: 69, False: 0]
  |  Branch (689:5): [True: 69, False: 0]
  ------------------
  690|       |
  691|     69|    if ((i = k & 3)) {
  ------------------
  |  Branch (691:9): [True: 37, False: 32]
  ------------------
  692|     37|        b = multadd(b, p05[i-1], 0);
  693|     37|        if (b == NULL)
  ------------------
  |  Branch (693:13): [True: 0, False: 37]
  ------------------
  694|      0|            return NULL;
  695|     37|    }
  696|       |
  697|     69|    if (!(k >>= 2))
  ------------------
  |  Branch (697:9): [True: 0, False: 69]
  ------------------
  698|      0|        return b;
  699|     69|    PyInterpreterState *interp = _PyInterpreterState_GET();
  700|     69|    p5s = interp->dtoa.p5s;
  701|    363|    for(;;) {
  702|    363|        assert(p5s != interp->dtoa.p5s + Bigint_Pow5size);
  ------------------
  |  Branch (702:9): [True: 363, False: 0]
  ------------------
  703|    363|        p5 = *p5s;
  704|    363|        p5s++;
  705|    363|        if (k & 1) {
  ------------------
  |  Branch (705:13): [True: 237, False: 126]
  ------------------
  706|    237|            b1 = mult(b, p5);
  707|    237|            Bfree(b);
  708|    237|            b = b1;
  709|    237|            if (b == NULL)
  ------------------
  |  Branch (709:17): [True: 0, False: 237]
  ------------------
  710|      0|                return NULL;
  711|    237|        }
  712|    363|        if (!(k >>= 1))
  ------------------
  |  Branch (712:13): [True: 69, False: 294]
  ------------------
  713|     69|            break;
  714|    363|    }
  715|     69|    return b;
  716|     69|}
dtoa.c:mult:
  615|    317|{
  616|    317|    Bigint *c;
  617|    317|    int k, wa, wb, wc;
  618|    317|    ULong *x, *xa, *xae, *xb, *xbe, *xc, *xc0;
  619|    317|    ULong y;
  620|    317|    ULLong carry, z;
  621|       |
  622|    317|    if ((!a->x[0] && a->wds == 1) || (!b->x[0] && b->wds == 1)) {
  ------------------
  |  Branch (622:10): [True: 0, False: 317]
  |  Branch (622:22): [True: 0, False: 0]
  |  Branch (622:39): [True: 0, False: 317]
  |  Branch (622:51): [True: 0, False: 0]
  ------------------
  623|      0|        c = Balloc(0);
  624|      0|        if (c == NULL)
  ------------------
  |  Branch (624:13): [True: 0, False: 0]
  ------------------
  625|      0|            return NULL;
  626|      0|        c->wds = 1;
  627|      0|        c->x[0] = 0;
  628|      0|        return c;
  629|      0|    }
  630|       |
  631|    317|    if (a->wds < b->wds) {
  ------------------
  |  Branch (631:9): [True: 137, False: 180]
  ------------------
  632|    137|        c = a;
  633|    137|        a = b;
  634|    137|        b = c;
  635|    137|    }
  636|    317|    k = a->k;
  637|    317|    wa = a->wds;
  638|    317|    wb = b->wds;
  639|    317|    wc = wa + wb;
  640|    317|    if (wc > a->maxwds)
  ------------------
  |  Branch (640:9): [True: 138, False: 179]
  ------------------
  641|    138|        k++;
  642|    317|    c = Balloc(k);
  643|    317|    if (c == NULL)
  ------------------
  |  Branch (643:9): [True: 0, False: 317]
  ------------------
  644|      0|        return NULL;
  645|  3.11k|    for(x = c->x, xa = x + wc; x < xa; x++)
  ------------------
  |  Branch (645:32): [True: 2.79k, False: 317]
  ------------------
  646|  2.79k|        *x = 0;
  647|    317|    xa = a->x;
  648|    317|    xae = xa + wa;
  649|    317|    xb = b->x;
  650|    317|    xbe = xb + wb;
  651|    317|    xc0 = c->x;
  652|  1.00k|    for(; xb < xbe; xc0++) {
  ------------------
  |  Branch (652:11): [True: 685, False: 317]
  ------------------
  653|    685|        if ((y = *xb++)) {
  ------------------
  |  Branch (653:13): [True: 685, False: 0]
  ------------------
  654|    685|            x = xa;
  655|    685|            xc = xc0;
  656|    685|            carry = 0;
  657|  7.04k|            do {
  658|  7.04k|                z = *x++ * (ULLong)y + *xc + carry;
  659|  7.04k|                carry = z >> 32;
  660|  7.04k|                *xc++ = (ULong)(z & FFFFFFFF);
  ------------------
  |  |  289|  7.04k|#define FFFFFFFF 0xffffffffUL
  ------------------
  661|  7.04k|            }
  662|  7.04k|            while(x < xae);
  ------------------
  |  Branch (662:19): [True: 6.36k, False: 685]
  ------------------
  663|    685|            *xc = (ULong)carry;
  664|    685|        }
  665|    685|    }
  666|    551|    for(xc0 = c->x, xc = xc0 + wc; wc > 0 && !*--xc; --wc) ;
  ------------------
  |  Branch (666:36): [True: 551, False: 0]
  |  Branch (666:46): [True: 234, False: 317]
  ------------------
  667|    317|    c->wds = wc;
  668|    317|    return c;
  669|    317|}
dtoa.c:Bfree:
  379|    790|{
  380|    790|    if (v) {
  ------------------
  |  Branch (380:9): [True: 765, False: 25]
  ------------------
  381|    765|        if (v->k > Bigint_Kmax)
  ------------------
  |  |  480|    765|#define Bigint_Kmax 7
  ------------------
  |  Branch (381:13): [True: 0, False: 765]
  ------------------
  382|      0|            FREE((void*)v);
  ------------------
  |  |  138|      0|#define FREE PyMem_Free
  ------------------
  383|    765|        else {
  384|    765|            PyInterpreterState *interp = _PyInterpreterState_GET();
  385|    765|            v->next = freelist[v->k];
  ------------------
  |  |  337|    765|#define freelist interp->dtoa.freelist
  ------------------
  386|    765|            freelist[v->k] = v;
  ------------------
  |  |  337|    765|#define freelist interp->dtoa.freelist
  ------------------
  387|    765|        }
  388|    765|    }
  389|    790|}
dtoa.c:lshift:
  776|    140|{
  777|    140|    int i, k1, n, n1;
  778|    140|    Bigint *b1;
  779|    140|    ULong *x, *x1, *xe, z;
  780|       |
  781|    140|    if (!k || (!b->x[0] && b->wds == 1))
  ------------------
  |  Branch (781:9): [True: 0, False: 140]
  |  Branch (781:16): [True: 0, False: 140]
  |  Branch (781:28): [True: 0, False: 0]
  ------------------
  782|      0|        return b;
  783|       |
  784|    140|    n = k >> 5;
  785|    140|    k1 = b->k;
  786|    140|    n1 = n + b->wds + 1;
  787|    421|    for(i = b->maxwds; n1 > i; i <<= 1)
  ------------------
  |  Branch (787:24): [True: 281, False: 140]
  ------------------
  788|    281|        k1++;
  789|    140|    b1 = Balloc(k1);
  790|    140|    if (b1 == NULL) {
  ------------------
  |  Branch (790:9): [True: 0, False: 140]
  ------------------
  791|      0|        Bfree(b);
  792|      0|        return NULL;
  793|      0|    }
  794|    140|    x1 = b1->x;
  795|  1.09k|    for(i = 0; i < n; i++)
  ------------------
  |  Branch (795:16): [True: 956, False: 140]
  ------------------
  796|    956|        *x1++ = 0;
  797|    140|    x = b->x;
  798|    140|    xe = x + b->wds;
  799|    140|    if (k &= 0x1f) {
  ------------------
  |  Branch (799:9): [True: 134, False: 6]
  ------------------
  800|    134|        k1 = 32 - k;
  801|    134|        z = 0;
  802|  1.12k|        do {
  803|  1.12k|            *x1++ = *x << k | z;
  804|  1.12k|            z = *x++ >> k1;
  805|  1.12k|        }
  806|  1.12k|        while(x < xe);
  ------------------
  |  Branch (806:15): [True: 991, False: 134]
  ------------------
  807|    134|        if ((*x1 = z))
  ------------------
  |  Branch (807:13): [True: 7, False: 127]
  ------------------
  808|      7|            ++n1;
  809|    134|    }
  810|      6|    else do
  811|      6|             *x1++ = *x++;
  812|      6|        while(x < xe);
  ------------------
  |  Branch (812:15): [True: 0, False: 6]
  ------------------
  813|    140|    b1->wds = n1 - 1;
  814|    140|    Bfree(b);
  815|    140|    return b1;
  816|    140|}
dtoa.c:diff:
  856|     67|{
  857|     67|    Bigint *c;
  858|     67|    int i, wa, wb;
  859|     67|    ULong *xa, *xae, *xb, *xbe, *xc;
  860|     67|    ULLong borrow, y;
  861|       |
  862|     67|    i = cmp(a,b);
  863|     67|    if (!i) {
  ------------------
  |  Branch (863:9): [True: 0, False: 67]
  ------------------
  864|      0|        c = Balloc(0);
  865|      0|        if (c == NULL)
  ------------------
  |  Branch (865:13): [True: 0, False: 0]
  ------------------
  866|      0|            return NULL;
  867|      0|        c->wds = 1;
  868|      0|        c->x[0] = 0;
  869|      0|        return c;
  870|      0|    }
  871|     67|    if (i < 0) {
  ------------------
  |  Branch (871:9): [True: 35, False: 32]
  ------------------
  872|     35|        c = a;
  873|     35|        a = b;
  874|     35|        b = c;
  875|     35|        i = 1;
  876|     35|    }
  877|     32|    else
  878|     32|        i = 0;
  879|     67|    c = Balloc(a->k);
  880|     67|    if (c == NULL)
  ------------------
  |  Branch (880:9): [True: 0, False: 67]
  ------------------
  881|      0|        return NULL;
  882|     67|    c->sign = i;
  883|     67|    wa = a->wds;
  884|     67|    xa = a->x;
  885|     67|    xae = xa + wa;
  886|     67|    wb = b->wds;
  887|     67|    xb = b->x;
  888|     67|    xbe = xb + wb;
  889|     67|    xc = c->x;
  890|     67|    borrow = 0;
  891|  1.04k|    do {
  892|  1.04k|        y = (ULLong)*xa++ - *xb++ - borrow;
  893|  1.04k|        borrow = y >> 32 & (ULong)1;
  894|  1.04k|        *xc++ = (ULong)(y & FFFFFFFF);
  ------------------
  |  |  289|  1.04k|#define FFFFFFFF 0xffffffffUL
  ------------------
  895|  1.04k|    }
  896|  1.04k|    while(xb < xbe);
  ------------------
  |  Branch (896:11): [True: 974, False: 67]
  ------------------
  897|     67|    while(xa < xae) {
  ------------------
  |  Branch (897:11): [True: 0, False: 67]
  ------------------
  898|      0|        y = *xa++ - borrow;
  899|      0|        borrow = y >> 32 & (ULong)1;
  900|      0|        *xc++ = (ULong)(y & FFFFFFFF);
  ------------------
  |  |  289|      0|#define FFFFFFFF 0xffffffffUL
  ------------------
  901|      0|    }
  902|    151|    while(!*--xc)
  ------------------
  |  Branch (902:11): [True: 84, False: 67]
  ------------------
  903|     84|        wa--;
  904|     67|    c->wds = wa;
  905|     67|    return c;
  906|     67|}
dtoa.c:cmp:
  823|    167|{
  824|    167|    ULong *xa, *xa0, *xb, *xb0;
  825|    167|    int i, j;
  826|       |
  827|    167|    i = a->wds;
  828|    167|    j = b->wds;
  829|       |#ifdef DEBUG
  830|       |    if (i > 1 && !a->x[i-1])
  831|       |        Bug("cmp called with a->x[a->wds-1] == 0");
  832|       |    if (j > 1 && !b->x[j-1])
  833|       |        Bug("cmp called with b->x[b->wds-1] == 0");
  834|       |#endif
  835|    167|    if (i -= j)
  ------------------
  |  Branch (835:9): [True: 0, False: 167]
  ------------------
  836|      0|        return i;
  837|    167|    xa0 = a->x;
  838|    167|    xa = xa0 + j;
  839|    167|    xb0 = b->x;
  840|    167|    xb = xb0 + j;
  841|    220|    for(;;) {
  842|    220|        if (*--xa != *--xb)
  ------------------
  |  Branch (842:13): [True: 167, False: 53]
  ------------------
  843|    167|            return *xa < *xb ? -1 : 1;
  ------------------
  |  Branch (843:20): [True: 90, False: 77]
  ------------------
  844|     53|        if (xa <= xa0)
  ------------------
  |  Branch (844:13): [True: 0, False: 53]
  ------------------
  845|      0|            break;
  846|     53|    }
  847|      0|    return 0;
  848|    167|}
dtoa.c:ratio:
 1089|     44|{
 1090|     44|    U da, db;
 1091|     44|    int k, ka, kb;
 1092|       |
 1093|     44|    dval(&da) = b2d(a, &ka);
  ------------------
  |  |  188|     44|#define dval(x) (x)->d
  ------------------
 1094|     44|    dval(&db) = b2d(b, &kb);
  ------------------
  |  |  188|     44|#define dval(x) (x)->d
  ------------------
 1095|     44|    k = ka - kb + 32*(a->wds - b->wds);
 1096|     44|    if (k > 0)
  ------------------
  |  Branch (1096:9): [True: 26, False: 18]
  ------------------
 1097|     26|        word0(&da) += k*Exp_msk1;
  ------------------
  |  |  182|     26|#define word0(x) (x)->L[1]
  ------------------
                      word0(&da) += k*Exp_msk1;
  ------------------
  |  |  238|     26|#define Exp_msk1    0x100000
  ------------------
 1098|     18|    else {
 1099|     18|        k = -k;
 1100|     18|        word0(&db) += k*Exp_msk1;
  ------------------
  |  |  182|     18|#define word0(x) (x)->L[1]
  ------------------
                      word0(&db) += k*Exp_msk1;
  ------------------
  |  |  238|     18|#define Exp_msk1    0x100000
  ------------------
 1101|     18|    }
 1102|     44|    return dval(&da) / dval(&db);
  ------------------
  |  |  188|     44|#define dval(x) (x)->d
  ------------------
                  return dval(&da) / dval(&db);
  ------------------
  |  |  188|     44|#define dval(x) (x)->d
  ------------------
 1103|     44|}
dtoa.c:b2d:
  927|     88|{
  928|     88|    ULong *xa, *xa0, w, y, z;
  929|     88|    int k;
  930|     88|    U d;
  931|       |
  932|     88|    xa0 = a->x;
  933|     88|    xa = xa0 + a->wds;
  934|     88|    y = *--xa;
  935|       |#ifdef DEBUG
  936|       |    if (!y) Bug("zero y in b2d");
  937|       |#endif
  938|     88|    k = hi0bits(y);
  939|     88|    *e = 32 - k;
  940|     88|    if (k < Ebits) {
  ------------------
  |  |  249|     88|#define Ebits 11
  ------------------
  |  Branch (940:9): [True: 0, False: 88]
  ------------------
  941|      0|        word0(&d) = Exp_1 | y >> (Ebits - k);
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                      word0(&d) = Exp_1 | y >> (Ebits - k);
  ------------------
  |  |  247|      0|#define Exp_1  0x3ff00000
  ------------------
                      word0(&d) = Exp_1 | y >> (Ebits - k);
  ------------------
  |  |  249|      0|#define Ebits 11
  ------------------
  942|      0|        w = xa > xa0 ? *--xa : 0;
  ------------------
  |  Branch (942:13): [True: 0, False: 0]
  ------------------
  943|      0|        word1(&d) = y << ((32-Ebits) + k) | w >> (Ebits - k);
  ------------------
  |  |  183|      0|#define word1(x) (x)->L[0]
  ------------------
                      word1(&d) = y << ((32-Ebits) + k) | w >> (Ebits - k);
  ------------------
  |  |  249|      0|#define Ebits 11
  ------------------
                      word1(&d) = y << ((32-Ebits) + k) | w >> (Ebits - k);
  ------------------
  |  |  249|      0|#define Ebits 11
  ------------------
  944|      0|        goto ret_d;
  945|      0|    }
  946|     88|    z = xa > xa0 ? *--xa : 0;
  ------------------
  |  Branch (946:9): [True: 86, False: 2]
  ------------------
  947|     88|    if (k -= Ebits) {
  ------------------
  |  |  249|     88|#define Ebits 11
  ------------------
  |  Branch (947:9): [True: 58, False: 30]
  ------------------
  948|     58|        word0(&d) = Exp_1 | y << k | z >> (32 - k);
  ------------------
  |  |  182|     58|#define word0(x) (x)->L[1]
  ------------------
                      word0(&d) = Exp_1 | y << k | z >> (32 - k);
  ------------------
  |  |  247|     58|#define Exp_1  0x3ff00000
  ------------------
  949|     58|        y = xa > xa0 ? *--xa : 0;
  ------------------
  |  Branch (949:13): [True: 56, False: 2]
  ------------------
  950|     58|        word1(&d) = z << k | y >> (32 - k);
  ------------------
  |  |  183|     58|#define word1(x) (x)->L[0]
  ------------------
  951|     58|    }
  952|     30|    else {
  953|     30|        word0(&d) = Exp_1 | y;
  ------------------
  |  |  182|     30|#define word0(x) (x)->L[1]
  ------------------
                      word0(&d) = Exp_1 | y;
  ------------------
  |  |  247|     30|#define Exp_1  0x3ff00000
  ------------------
  954|     30|        word1(&d) = z;
  ------------------
  |  |  183|     30|#define word1(x) (x)->L[0]
  ------------------
  955|     30|    }
  956|     88|  ret_d:
  957|     88|    return dval(&d);
  ------------------
  |  |  188|     88|#define dval(x) (x)->d
  ------------------
  958|     88|}
dtoa.c:hi0bits:
  522|     90|{
  523|     90|    int k = 0;
  524|       |
  525|     90|    if (!(x & 0xffff0000)) {
  ------------------
  |  Branch (525:9): [True: 51, False: 39]
  ------------------
  526|     51|        k = 16;
  527|     51|        x <<= 16;
  528|     51|    }
  529|     90|    if (!(x & 0xff000000)) {
  ------------------
  |  Branch (529:9): [True: 55, False: 35]
  ------------------
  530|     55|        k += 8;
  531|     55|        x <<= 8;
  532|     55|    }
  533|     90|    if (!(x & 0xf0000000)) {
  ------------------
  |  Branch (533:9): [True: 28, False: 62]
  ------------------
  534|     28|        k += 4;
  535|     28|        x <<= 4;
  536|     28|    }
  537|     90|    if (!(x & 0xc0000000)) {
  ------------------
  |  Branch (537:9): [True: 58, False: 32]
  ------------------
  538|     58|        k += 2;
  539|     58|        x <<= 2;
  540|     58|    }
  541|     90|    if (!(x & 0x80000000)) {
  ------------------
  |  Branch (541:9): [True: 56, False: 34]
  ------------------
  542|     56|        k++;
  543|     56|        if (!(x & 0x40000000))
  ------------------
  |  Branch (543:13): [True: 0, False: 56]
  ------------------
  544|      0|            return 32;
  545|     56|    }
  546|     90|    return k;
  547|     90|}
dtoa.c:ulp:
  913|     44|{
  914|     44|    Long L;
  915|     44|    U u;
  916|       |
  917|     44|    L = (word0(x) & Exp_mask) - (P-1)*Exp_msk1;
  ------------------
  |  |  182|     44|#define word0(x) (x)->L[1]
  ------------------
                  L = (word0(x) & Exp_mask) - (P-1)*Exp_msk1;
  ------------------
  |  |  240|     44|#define Exp_mask  0x7ff00000
  ------------------
                  L = (word0(x) & Exp_mask) - (P-1)*Exp_msk1;
  ------------------
  |  |  241|     44|#define P 53
  ------------------
                  L = (word0(x) & Exp_mask) - (P-1)*Exp_msk1;
  ------------------
  |  |  238|     44|#define Exp_msk1    0x100000
  ------------------
  918|     44|    word0(&u) = L;
  ------------------
  |  |  182|     44|#define word0(x) (x)->L[1]
  ------------------
  919|     44|    word1(&u) = 0;
  ------------------
  |  |  183|     44|#define word1(x) (x)->L[0]
  ------------------
  920|     44|    return dval(&u);
  ------------------
  |  |  188|     44|#define dval(x) (x)->d
  ------------------
  921|     44|}
dtoa.c:bigcomp:
 1278|      2|{
 1279|      2|    Bigint *b, *d;
 1280|      2|    int b2, d2, dd, i, nd, nd0, odd, p2, p5;
 1281|       |
 1282|      2|    nd = bc->nd;
 1283|      2|    nd0 = bc->nd0;
 1284|      2|    p5 = nd + bc->e0;
 1285|      2|    b = sd2b(rv, bc->scale, &p2);
 1286|      2|    if (b == NULL)
  ------------------
  |  Branch (1286:9): [True: 0, False: 2]
  ------------------
 1287|      0|        return -1;
 1288|       |
 1289|       |    /* record whether the lsb of rv/2^(bc->scale) is odd:  in the exact halfway
 1290|       |       case, this is used for round to even. */
 1291|      2|    odd = b->x[0] & 1;
 1292|       |
 1293|       |    /* left shift b by 1 bit and or a 1 into the least significant bit;
 1294|       |       this gives us b * 2**p2 = rv/2^(bc->scale) + 0.5 ulp. */
 1295|      2|    b = lshift(b, 1);
 1296|      2|    if (b == NULL)
  ------------------
  |  Branch (1296:9): [True: 0, False: 2]
  ------------------
 1297|      0|        return -1;
 1298|      2|    b->x[0] |= 1;
 1299|      2|    p2--;
 1300|       |
 1301|      2|    p2 -= p5;
 1302|      2|    d = i2b(1);
 1303|      2|    if (d == NULL) {
  ------------------
  |  Branch (1303:9): [True: 0, False: 2]
  ------------------
 1304|      0|        Bfree(b);
 1305|      0|        return -1;
 1306|      0|    }
 1307|       |    /* Arrange for convenient computation of quotients:
 1308|       |     * shift left if necessary so divisor has 4 leading 0 bits.
 1309|       |     */
 1310|      2|    if (p5 > 0) {
  ------------------
  |  Branch (1310:9): [True: 2, False: 0]
  ------------------
 1311|      2|        d = pow5mult(d, p5);
 1312|      2|        if (d == NULL) {
  ------------------
  |  Branch (1312:13): [True: 0, False: 2]
  ------------------
 1313|      0|            Bfree(b);
 1314|      0|            return -1;
 1315|      0|        }
 1316|      2|    }
 1317|      0|    else if (p5 < 0) {
  ------------------
  |  Branch (1317:14): [True: 0, False: 0]
  ------------------
 1318|      0|        b = pow5mult(b, -p5);
 1319|      0|        if (b == NULL) {
  ------------------
  |  Branch (1319:13): [True: 0, False: 0]
  ------------------
 1320|      0|            Bfree(d);
 1321|      0|            return -1;
 1322|      0|        }
 1323|      0|    }
 1324|      2|    if (p2 > 0) {
  ------------------
  |  Branch (1324:9): [True: 1, False: 1]
  ------------------
 1325|      1|        b2 = p2;
 1326|      1|        d2 = 0;
 1327|      1|    }
 1328|      1|    else {
 1329|      1|        b2 = 0;
 1330|      1|        d2 = -p2;
 1331|      1|    }
 1332|      2|    i = dshift(d, d2);
 1333|      2|    if ((b2 += i) > 0) {
  ------------------
  |  Branch (1333:9): [True: 2, False: 0]
  ------------------
 1334|      2|        b = lshift(b, b2);
 1335|      2|        if (b == NULL) {
  ------------------
  |  Branch (1335:13): [True: 0, False: 2]
  ------------------
 1336|      0|            Bfree(d);
 1337|      0|            return -1;
 1338|      0|        }
 1339|      2|    }
 1340|      2|    if ((d2 += i) > 0) {
  ------------------
  |  Branch (1340:9): [True: 2, False: 0]
  ------------------
 1341|      2|        d = lshift(d, d2);
 1342|      2|        if (d == NULL) {
  ------------------
  |  Branch (1342:13): [True: 0, False: 2]
  ------------------
 1343|      0|            Bfree(b);
 1344|      0|            return -1;
 1345|      0|        }
 1346|      2|    }
 1347|       |
 1348|       |    /* Compare s0 with b/d: set dd to -1, 0, or 1 according as s0 < b/d, s0 ==
 1349|       |     * b/d, or s0 > b/d.  Here the digits of s0 are thought of as representing
 1350|       |     * a number in the range [0.1, 1). */
 1351|      2|    if (cmp(b, d) >= 0)
  ------------------
  |  Branch (1351:9): [True: 0, False: 2]
  ------------------
 1352|       |        /* b/d >= 1 */
 1353|      0|        dd = -1;
 1354|      2|    else {
 1355|      2|        i = 0;
 1356|     36|        for(;;) {
 1357|     36|            b = multadd(b, 10, 0);
 1358|     36|            if (b == NULL) {
  ------------------
  |  Branch (1358:17): [True: 0, False: 36]
  ------------------
 1359|      0|                Bfree(d);
 1360|      0|                return -1;
 1361|      0|            }
 1362|     36|            dd = s0[i < nd0 ? i : i+1] - '0' - quorem(b, d);
  ------------------
  |  Branch (1362:21): [True: 31, False: 5]
  ------------------
 1363|     36|            i++;
 1364|       |
 1365|     36|            if (dd)
  ------------------
  |  Branch (1365:17): [True: 2, False: 34]
  ------------------
 1366|      2|                break;
 1367|     34|            if (!b->x[0] && b->wds == 1) {
  ------------------
  |  Branch (1367:17): [True: 6, False: 28]
  |  Branch (1367:29): [True: 0, False: 6]
  ------------------
 1368|       |                /* b/d == 0 */
 1369|      0|                dd = i < nd;
 1370|      0|                break;
 1371|      0|            }
 1372|     34|            if (!(i < nd)) {
  ------------------
  |  Branch (1372:17): [True: 0, False: 34]
  ------------------
 1373|       |                /* b/d != 0, but digits of s0 exhausted */
 1374|      0|                dd = -1;
 1375|      0|                break;
 1376|      0|            }
 1377|     34|        }
 1378|      2|    }
 1379|      2|    Bfree(b);
 1380|      2|    Bfree(d);
 1381|      2|    if (dd > 0 || (dd == 0 && odd))
  ------------------
  |  Branch (1381:9): [True: 0, False: 2]
  |  Branch (1381:20): [True: 0, False: 2]
  |  Branch (1381:31): [True: 0, False: 0]
  ------------------
 1382|      0|        dval(rv) += sulp(rv, bc);
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 1383|      2|    return 0;
 1384|      2|}
dtoa.c:dshift:
 1130|      2|{
 1131|      2|    int rv = hi0bits(b->x[b->wds-1]) - 4;
 1132|      2|    if (p2 > 0)
  ------------------
  |  Branch (1132:9): [True: 1, False: 1]
  ------------------
 1133|      1|        rv -= p2;
 1134|      2|    return rv & kmask;
  ------------------
  |  | 1125|      2|#define kmask 31
  ------------------
 1135|      2|}
dtoa.c:multadd:
  446|    159|{
  447|    159|    int i, wds;
  448|    159|    ULong *x;
  449|    159|    ULLong carry, y;
  450|    159|    Bigint *b1;
  451|       |
  452|    159|    wds = b->wds;
  453|    159|    x = b->x;
  454|    159|    i = 0;
  455|    159|    carry = a;
  456|    309|    do {
  457|    309|        y = *x * (ULLong)m + carry;
  458|    309|        carry = y >> 32;
  459|    309|        *x++ = (ULong)(y & FFFFFFFF);
  ------------------
  |  |  289|    309|#define FFFFFFFF 0xffffffffUL
  ------------------
  460|    309|    }
  461|    309|    while(++i < wds);
  ------------------
  |  Branch (461:11): [True: 150, False: 159]
  ------------------
  462|    159|    if (carry) {
  ------------------
  |  Branch (462:9): [True: 12, False: 147]
  ------------------
  463|     12|        if (wds >= b->maxwds) {
  ------------------
  |  Branch (463:13): [True: 0, False: 12]
  ------------------
  464|      0|            b1 = Balloc(b->k+1);
  465|      0|            if (b1 == NULL){
  ------------------
  |  Branch (465:17): [True: 0, False: 0]
  ------------------
  466|      0|                Bfree(b);
  467|      0|                return NULL;
  468|      0|            }
  469|      0|            Bcopy(b1, b);
  ------------------
  |  |  437|      0|#define Bcopy(x,y) memcpy((char *)&x->sign, (char *)&y->sign,   \
  |  |  438|      0|                          y->wds*sizeof(Long) + 2*sizeof(int))
  ------------------
  470|      0|            Bfree(b);
  471|      0|            b = b1;
  472|      0|        }
  473|     12|        b->x[wds++] = (ULong)carry;
  474|     12|        b->wds = wds;
  475|     12|    }
  476|    159|    return b;
  477|    159|}
dtoa.c:quorem:
 1143|     36|{
 1144|     36|    int n;
 1145|     36|    ULong *bx, *bxe, q, *sx, *sxe;
 1146|     36|    ULLong borrow, carry, y, ys;
 1147|       |
 1148|     36|    n = S->wds;
 1149|       |#ifdef DEBUG
 1150|       |    /*debug*/ if (b->wds > n)
 1151|       |        /*debug*/       Bug("oversize b in quorem");
 1152|       |#endif
 1153|     36|    if (b->wds < n)
  ------------------
  |  Branch (1153:9): [True: 5, False: 31]
  ------------------
 1154|      5|        return 0;
 1155|     31|    sx = S->x;
 1156|     31|    sxe = sx + --n;
 1157|     31|    bx = b->x;
 1158|     31|    bxe = bx + n;
 1159|     31|    q = *bxe / (*sxe + 1);      /* ensure q <= true quotient */
 1160|       |#ifdef DEBUG
 1161|       |    /*debug*/ if (q > 9)
 1162|       |        /*debug*/       Bug("oversized quotient in quorem");
 1163|       |#endif
 1164|     31|    if (q) {
  ------------------
  |  Branch (1164:9): [True: 20, False: 11]
  ------------------
 1165|     20|        borrow = 0;
 1166|     20|        carry = 0;
 1167|     45|        do {
 1168|     45|            ys = *sx++ * (ULLong)q + carry;
 1169|     45|            carry = ys >> 32;
 1170|     45|            y = *bx - (ys & FFFFFFFF) - borrow;
  ------------------
  |  |  289|     45|#define FFFFFFFF 0xffffffffUL
  ------------------
 1171|     45|            borrow = y >> 32 & (ULong)1;
 1172|     45|            *bx++ = (ULong)(y & FFFFFFFF);
  ------------------
  |  |  289|     45|#define FFFFFFFF 0xffffffffUL
  ------------------
 1173|     45|        }
 1174|     45|        while(sx <= sxe);
  ------------------
  |  Branch (1174:15): [True: 25, False: 20]
  ------------------
 1175|     20|        if (!*bxe) {
  ------------------
  |  Branch (1175:13): [True: 0, False: 20]
  ------------------
 1176|      0|            bx = b->x;
 1177|      0|            while(--bxe > bx && !*bxe)
  ------------------
  |  Branch (1177:19): [True: 0, False: 0]
  |  Branch (1177:33): [True: 0, False: 0]
  ------------------
 1178|      0|                --n;
 1179|      0|            b->wds = n;
 1180|      0|        }
 1181|     20|    }
 1182|     31|    if (cmp(b, S) >= 0) {
  ------------------
  |  Branch (1182:9): [True: 1, False: 30]
  ------------------
 1183|      1|        q++;
 1184|      1|        borrow = 0;
 1185|      1|        carry = 0;
 1186|      1|        bx = b->x;
 1187|      1|        sx = S->x;
 1188|      3|        do {
 1189|      3|            ys = *sx++ + carry;
 1190|      3|            carry = ys >> 32;
 1191|      3|            y = *bx - (ys & FFFFFFFF) - borrow;
  ------------------
  |  |  289|      3|#define FFFFFFFF 0xffffffffUL
  ------------------
 1192|      3|            borrow = y >> 32 & (ULong)1;
 1193|      3|            *bx++ = (ULong)(y & FFFFFFFF);
  ------------------
  |  |  289|      3|#define FFFFFFFF 0xffffffffUL
  ------------------
 1194|      3|        }
 1195|      3|        while(sx <= sxe);
  ------------------
  |  Branch (1195:15): [True: 2, False: 1]
  ------------------
 1196|      1|        bx = b->x;
 1197|      1|        bxe = bx + n;
 1198|      1|        if (!*bxe) {
  ------------------
  |  Branch (1198:13): [True: 1, False: 0]
  ------------------
 1199|      1|            while(--bxe > bx && !*bxe)
  ------------------
  |  Branch (1199:19): [True: 1, False: 0]
  |  Branch (1199:33): [True: 0, False: 1]
  ------------------
 1200|      0|                --n;
 1201|      1|            b->wds = n;
 1202|      1|        }
 1203|      1|    }
 1204|     31|    return q;
 1205|     36|}

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

_PyErr_SetRaisedException:
   28|  2.64k|{
   29|  2.64k|    PyObject *old_exc = tstate->current_exception;
   30|  2.64k|    tstate->current_exception = exc;
   31|  2.64k|    Py_XDECREF(old_exc);
  ------------------
  |  |  621|  2.64k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  2.64k|}
_PyErr_Restore:
   63|    569|{
   64|    569|    if (type == NULL) {
  ------------------
  |  Branch (64:9): [True: 562, False: 7]
  ------------------
   65|    562|        assert(value == NULL);
  ------------------
  |  Branch (65:9): [True: 562, False: 0]
  ------------------
   66|    562|        assert(traceback == NULL);
  ------------------
  |  Branch (66:9): [True: 562, False: 0]
  ------------------
   67|    562|        _PyErr_SetRaisedException(tstate, NULL);
   68|    562|        return;
   69|    562|    }
   70|    569|    assert(PyExceptionClass_Check(type));
  ------------------
  |  Branch (70:5): [True: 7, False: 0]
  |  Branch (70:5): [True: 7, False: 0]
  ------------------
   71|      7|    if (value != NULL && type == (PyObject *)Py_TYPE(value)) {
  ------------------
  |  |  213|      7|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (71:9): [True: 7, False: 0]
  |  Branch (71:26): [True: 7, False: 0]
  ------------------
   72|       |        /* Already normalized */
   73|       |#ifdef Py_DEBUG
   74|       |        PyObject *tb = PyException_GetTraceback(value);
   75|       |        assert(tb != Py_None);
   76|       |        Py_XDECREF(tb);
   77|       |#endif
   78|      7|    }
   79|      0|    else {
   80|      0|        PyObject *exc = _PyErr_CreateException(type, value);
   81|      0|        Py_XDECREF(value);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) 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|        if (exc == NULL) {
  ------------------
  |  Branch (82:13): [True: 0, False: 0]
  ------------------
   83|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|      0|            Py_XDECREF(traceback);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   85|      0|            return;
   86|      0|        }
   87|      0|        value = exc;
   88|      0|    }
   89|      7|    assert(PyExceptionInstance_Check(value));
  ------------------
  |  Branch (89:5): [True: 7, False: 0]
  ------------------
   90|      7|    if (traceback != NULL) {
  ------------------
  |  Branch (90:9): [True: 0, False: 7]
  ------------------
   91|      0|        if (PyException_SetTraceback(value, traceback) < 0) {
  ------------------
  |  Branch (91:13): [True: 0, False: 0]
  ------------------
   92|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   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|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|      0|            return;
   96|      0|        }
   97|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   98|      0|    }
   99|      7|    _PyErr_SetRaisedException(tstate, value);
  100|      7|    Py_DECREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  101|      7|}
PyErr_Restore:
  105|      7|{
  106|      7|    PyThreadState *tstate = _PyThreadState_GET();
  107|      7|    _PyErr_Restore(tstate, type, value, traceback);
  108|      7|}
PyErr_SetRaisedException:
  112|  1.31k|{
  113|  1.31k|    PyThreadState *tstate = _PyThreadState_GET();
  114|  1.31k|    _PyErr_SetRaisedException(tstate, exc);
  115|  1.31k|}
_PyErr_GetTopmostException:
  119|    454|{
  120|    454|    _PyErr_StackItem *exc_info = tstate->exc_info;
  121|    454|    assert(exc_info);
  ------------------
  |  Branch (121:5): [True: 454, False: 0]
  ------------------
  122|       |
  123|    458|    while (exc_info->exc_value == NULL && exc_info->previous_item != NULL)
  ------------------
  |  Branch (123:12): [True: 439, False: 19]
  |  Branch (123:43): [True: 4, False: 435]
  ------------------
  124|      4|    {
  125|      4|        exc_info = exc_info->previous_item;
  126|      4|    }
  127|    454|    assert(!Py_IsNone(exc_info->exc_value));
  ------------------
  |  Branch (127:5): [True: 454, False: 0]
  ------------------
  128|    454|    return exc_info;
  129|    454|}
_PyErr_SetObject:
  155|    454|{
  156|    454|    PyObject *exc_value;
  157|       |
  158|    454|    if (exception != NULL &&
  ------------------
  |  Branch (158:9): [True: 454, False: 0]
  ------------------
  159|    454|        !PyExceptionClass_Check(exception)) {
  ------------------
  |  |   61|    454|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|    908|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    454|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    454|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 454, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|    454|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|    454|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 454, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  160|      0|        _PyErr_Format(tstate, PyExc_SystemError,
  161|      0|                      "_PyErr_SetObject: "
  162|      0|                      "exception %R is not a BaseException subclass",
  163|      0|                      exception);
  164|      0|        return;
  165|      0|    }
  166|       |    /* Normalize the exception */
  167|    454|    int is_subclass = 0;
  168|    454|    if (value != NULL && PyExceptionInstance_Check(value)) {
  ------------------
  |  |   65|    454|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    454|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 313, False: 141]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (168:9): [True: 454, False: 0]
  ------------------
  169|    313|        is_subclass = PyObject_IsSubclass((PyObject *)Py_TYPE(value), exception);
  ------------------
  |  |  213|    313|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    313|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    313|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  170|    313|        if (is_subclass < 0) {
  ------------------
  |  Branch (170:13): [True: 0, False: 313]
  ------------------
  171|      0|            return;
  172|      0|        }
  173|    313|    }
  174|    454|    Py_XINCREF(value);
  ------------------
  |  |  611|    454|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    454|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    454|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  175|    454|    if (!is_subclass) {
  ------------------
  |  Branch (175:9): [True: 141, False: 313]
  ------------------
  176|       |        /* We must normalize the value right now */
  177|       |
  178|       |        /* Issue #23571: functions must not be called with an
  179|       |            exception set */
  180|    141|        _PyErr_Clear(tstate);
  181|       |
  182|    141|        PyObject *fixed_value = _PyErr_CreateException(exception, value);
  183|    141|        if (fixed_value == NULL) {
  ------------------
  |  Branch (183:13): [True: 0, False: 141]
  ------------------
  184|      0|            PyObject *exc = _PyErr_GetRaisedException(tstate);
  185|      0|            assert(PyExceptionInstance_Check(exc));
  ------------------
  |  Branch (185:13): [True: 0, False: 0]
  ------------------
  186|       |
  187|      0|            PyObject *note = get_normalization_failure_note(tstate, exception, value);
  188|      0|            Py_XDECREF(value);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|      0|            if (note != NULL) {
  ------------------
  |  Branch (189:17): [True: 0, False: 0]
  ------------------
  190|       |                /* ignore errors in _PyException_AddNote - they will be overwritten below */
  191|      0|                _PyException_AddNote(exc, note);
  192|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  193|      0|            }
  194|      0|            _PyErr_SetRaisedException(tstate, exc);
  195|      0|            return;
  196|      0|        }
  197|    141|        Py_XSETREF(value, fixed_value);
  ------------------
  |  |  576|    141|    do { \
  |  |  577|    141|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    141|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    141|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    141|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    141|        *_tmp_dst_ptr = (src); \
  |  |  580|    141|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    141|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    141|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    141|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    141|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 141]
  |  |  ------------------
  ------------------
  198|    141|    }
  199|       |
  200|    454|    exc_value = _PyErr_GetTopmostException(tstate)->exc_value;
  201|    454|    if (exc_value != NULL && exc_value != Py_None) {
  ------------------
  |  |  616|     19|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (201:9): [True: 19, False: 435]
  |  Branch (201:30): [True: 19, False: 0]
  ------------------
  202|       |        /* Implicit exception chaining */
  203|     19|        Py_INCREF(exc_value);
  ------------------
  |  |  310|     19|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  204|       |        /* Avoid creating new reference cycles through the
  205|       |           context chain, while taking care not to hang on
  206|       |           pre-existing ones.
  207|       |           This is O(chain length) but context chains are
  208|       |           usually very short. Sensitive readers may try
  209|       |           to inline the call to PyException_GetContext. */
  210|     19|        if (exc_value != value) {
  ------------------
  |  Branch (210:13): [True: 19, False: 0]
  ------------------
  211|     19|            PyObject *o = exc_value, *context;
  212|     19|            PyObject *slow_o = o;  /* Floyd's cycle detection algo */
  213|     19|            int slow_update_toggle = 0;
  214|     19|            while ((context = PyException_GetContext(o))) {
  ------------------
  |  Branch (214:20): [True: 0, False: 19]
  ------------------
  215|      0|                Py_DECREF(context);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  216|      0|                if (context == value) {
  ------------------
  |  Branch (216:21): [True: 0, False: 0]
  ------------------
  217|      0|                    PyException_SetContext(o, NULL);
  218|      0|                    break;
  219|      0|                }
  220|      0|                o = context;
  221|      0|                if (o == slow_o) {
  ------------------
  |  Branch (221:21): [True: 0, False: 0]
  ------------------
  222|       |                    /* pre-existing cycle - all exceptions on the
  223|       |                       path were visited and checked.  */
  224|      0|                    break;
  225|      0|                }
  226|      0|                if (slow_update_toggle) {
  ------------------
  |  Branch (226:21): [True: 0, False: 0]
  ------------------
  227|      0|                    slow_o = PyException_GetContext(slow_o);
  228|      0|                    Py_DECREF(slow_o);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  229|      0|                }
  230|      0|                slow_update_toggle = !slow_update_toggle;
  231|      0|            }
  232|     19|            PyException_SetContext(value, exc_value);
  233|     19|        }
  234|      0|        else {
  235|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  236|      0|        }
  237|     19|    }
  238|    454|    assert(value != NULL);
  ------------------
  |  Branch (238:5): [True: 454, False: 0]
  ------------------
  239|    454|    assert(PyExceptionInstance_Check(value));
  ------------------
  |  Branch (239:5): [True: 454, False: 0]
  ------------------
  240|    454|    _PyErr_SetRaisedException(tstate, value);
  241|    454|}
PyErr_SetObject:
  245|     90|{
  246|     90|    PyThreadState *tstate = _PyThreadState_GET();
  247|     90|    _PyErr_SetObject(tstate, exception, value);
  248|     90|}
_PyErr_SetKeyError:
  259|    231|{
  260|    231|    PyThreadState *tstate = _PyThreadState_GET();
  261|       |
  262|       |    // PyObject_CallOneArg() must not be called with an exception set,
  263|       |    // otherwise _Py_CheckFunctionResult() can fail if the function returned
  264|       |    // a result with an excception set.
  265|    231|    _PyErr_Clear(tstate);
  266|       |
  267|    231|    PyObject *exc = PyObject_CallOneArg(PyExc_KeyError, arg);
  268|    231|    if (!exc) {
  ------------------
  |  Branch (268:9): [True: 0, False: 231]
  ------------------
  269|       |        /* caller will expect error to be set anyway */
  270|      0|        return;
  271|      0|    }
  272|       |
  273|    231|    _PyErr_SetObject(tstate, (PyObject*)Py_TYPE(exc), exc);
  ------------------
  |  |  213|    231|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    231|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    231|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  274|    231|    Py_DECREF(exc);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  275|    231|}
_PyErr_SetString:
  295|      7|{
  296|      7|    PyObject *value = PyUnicode_FromString(string);
  297|      7|    if (value != NULL) {
  ------------------
  |  Branch (297:9): [True: 7, False: 0]
  ------------------
  298|      7|        _PyErr_SetObject(tstate, exception, value);
  299|      7|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  300|      7|    }
  301|      7|}
PyErr_SetString:
  305|      7|{
  306|      7|    PyThreadState *tstate = _PyThreadState_GET();
  307|      7|    _PyErr_SetString(tstate, exception, string);
  308|      7|}
PyErr_Occurred:
  322|  59.5k|{
  323|       |    /* The caller must hold a thread state. */
  324|  59.5k|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|  59.5k|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
  325|       |
  326|  59.5k|    PyThreadState *tstate = _PyThreadState_GET();
  327|  59.5k|    return _PyErr_Occurred(tstate);
  328|  59.5k|}
PyErr_GivenExceptionMatches:
  333|    657|{
  334|    657|    if (err == NULL || exc == NULL) {
  ------------------
  |  Branch (334:9): [True: 2, False: 655]
  |  Branch (334:24): [True: 0, False: 655]
  ------------------
  335|       |        /* maybe caused by "import exceptions" that failed early on */
  336|      2|        return 0;
  337|      2|    }
  338|    655|    if (PyTuple_Check(exc)) {
  ------------------
  |  |   27|    655|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    655|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 14, False: 641]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  339|     14|        PyThreadState *tstate = _PyThreadState_GET();
  340|     14|        if (_Py_ReachedRecursionLimitWithMargin(tstate, 2)) {
  ------------------
  |  Branch (340:13): [True: 0, False: 14]
  ------------------
  341|      0|            PyObject *exc_value = _PyErr_GetRaisedException(tstate);
  342|      0|            _PyErr_SetString(tstate, PyExc_RecursionError,
  343|      0|                             "maximum recursion depth exceeded while "
  344|      0|                             "checking exception tuple");
  345|      0|            PyErr_FormatUnraisable("Exception ignored while "
  346|      0|                                   "checking exception tuple");
  347|      0|            _PyErr_SetRaisedException(tstate, exc_value);
  348|      0|            return 0;
  349|      0|        }
  350|     14|        int res = 0;
  351|     14|        Py_ssize_t n = PyTuple_GET_SIZE(exc);
  ------------------
  |  |   27|     14|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  352|     14|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (352:32): [True: 14, False: 0]
  ------------------
  353|       |            /* Test recursively */
  354|     14|            if (PyErr_GivenExceptionMatches(err, PyTuple_GET_ITEM(exc, i))) {
  ------------------
  |  |   29|     14|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     14|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (354:17): [True: 14, False: 0]
  |  Branch (354:50): [True: 14, False: 0]
  ------------------
  355|     14|                res = 1;
  356|     14|                break;
  357|     14|            }
  358|     14|        }
  359|     14|        return res;
  360|     14|    }
  361|       |    /* err might be an instance, so check its class. */
  362|    641|    if (PyExceptionInstance_Check(err))
  ------------------
  |  |   65|    641|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    641|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 358, False: 283]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  363|    358|        err = PyExceptionInstance_Class(err);
  ------------------
  |  |   69|    358|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  ------------------
  |  |  |  |  171|    358|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    358|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  364|       |
  365|    641|    if (PyExceptionClass_Check(err) && PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|  1.28k|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  1.28k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    641|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    641|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 641, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  1.28k|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|    641|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 641, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyExceptionClass_Check(err) && PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|    641|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  1.28k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    641|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    641|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 641, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|    641|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|    641|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 641, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  366|    641|        return PyType_IsSubtype((PyTypeObject *)err, (PyTypeObject *)exc);
  367|    641|    }
  368|       |
  369|      0|    return err == exc;
  370|    641|}
_PyErr_ExceptionMatches:
  375|    285|{
  376|    285|    return PyErr_GivenExceptionMatches(_PyErr_Occurred(tstate), exc);
  377|    285|}
PyErr_ExceptionMatches:
  382|    269|{
  383|    269|    PyThreadState *tstate = _PyThreadState_GET();
  384|    269|    return _PyErr_ExceptionMatches(tstate, exc);
  385|    269|}
_PyErr_GetRaisedException:
  510|  1.96k|_PyErr_GetRaisedException(PyThreadState *tstate) {
  511|  1.96k|    PyObject *exc = tstate->current_exception;
  512|       |    tstate->current_exception = NULL;
  513|  1.96k|    return exc;
  514|  1.96k|}
PyErr_GetRaisedException:
  518|  1.34k|{
  519|  1.34k|    PyThreadState *tstate = _PyThreadState_GET();
  520|  1.34k|    return _PyErr_GetRaisedException(tstate);
  521|  1.34k|}
_PyErr_Fetch:
  526|     20|{
  527|     20|    PyObject *exc = _PyErr_GetRaisedException(tstate);
  528|     20|    *p_value = exc;
  529|     20|    if (exc == NULL) {
  ------------------
  |  Branch (529:9): [True: 0, False: 20]
  ------------------
  530|      0|        *p_type = NULL;
  531|      0|        *p_traceback = NULL;
  532|      0|    }
  533|     20|    else {
  534|     20|        *p_type = Py_NewRef(Py_TYPE(exc));
  ------------------
  |  |  647|     20|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  535|     20|        *p_traceback = PyException_GetTraceback(exc);
  536|     20|    }
  537|     20|}
PyErr_Fetch:
  542|     20|{
  543|     20|    PyThreadState *tstate = _PyThreadState_GET();
  544|     20|    _PyErr_Fetch(tstate, p_type, p_value, p_traceback);
  545|     20|}
_PyErr_Clear:
  550|    562|{
  551|    562|    _PyErr_Restore(tstate, NULL, NULL, NULL);
  552|    562|}
PyErr_Clear:
  557|    122|{
  558|    122|    PyThreadState *tstate = _PyThreadState_GET();
  559|    122|    _PyErr_Clear(tstate);
  560|    122|}
_PyErr_ChainExceptions1Tstate:
  718|     27|{
  719|     27|    if (exc == NULL) {
  ------------------
  |  Branch (719:9): [True: 27, False: 0]
  ------------------
  720|     27|        return;
  721|     27|    }
  722|      0|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (722:9): [True: 0, False: 0]
  ------------------
  723|      0|        PyObject *exc2 = _PyErr_GetRaisedException(tstate);
  724|      0|        PyException_SetContext(exc2, exc);
  725|      0|        _PyErr_SetRaisedException(tstate, exc2);
  726|      0|    }
  727|      0|    else {
  728|      0|        _PyErr_SetRaisedException(tstate, exc);
  729|      0|    }
  730|      0|}
_PyErr_ChainExceptions1:
  734|     27|{
  735|     27|    PyThreadState *tstate = _PyThreadState_GET();
  736|     27|    _PyErr_ChainExceptions1Tstate(tstate, exc);
  737|     27|}
PyErr_SetFromErrnoWithFilenameObject:
  821|     44|{
  822|       |    return PyErr_SetFromErrnoWithFilenameObjects(exc, filenameObject, NULL);
  823|     44|}
PyErr_SetFromErrnoWithFilenameObjects:
  827|     44|{
  828|     44|    PyThreadState *tstate = _PyThreadState_GET();
  829|     44|    PyObject *message;
  830|     44|    PyObject *v, *args;
  831|     44|    int i = errno;
  832|       |#ifdef MS_WINDOWS
  833|       |    WCHAR *s_buf = NULL;
  834|       |#endif /* Unix/Windows */
  835|       |
  836|     44|#ifdef EINTR
  837|     44|    if (i == EINTR && PyErr_CheckSignals())
  ------------------
  |  Branch (837:9): [True: 0, False: 44]
  |  Branch (837:23): [True: 0, False: 0]
  ------------------
  838|      0|        return NULL;
  839|     44|#endif
  840|       |
  841|     44|#ifndef MS_WINDOWS
  842|     44|    if (i != 0) {
  ------------------
  |  Branch (842:9): [True: 44, False: 0]
  ------------------
  843|     44|        message = _Py_strerror(i);
  844|     44|    }
  845|      0|    else {
  846|       |        /* Sometimes errno didn't get set */
  847|      0|        message = PyUnicode_FromString("Error");
  848|      0|    }
  849|       |#else
  850|       |    if (i == 0)
  851|       |        message = PyUnicode_FromString("Error"); /* Sometimes errno didn't get set */
  852|       |    else
  853|       |    {
  854|       |        /* Note that the Win32 errors do not lineup with the
  855|       |           errno error.  So if the error is in the MSVC error
  856|       |           table, we use it, otherwise we assume it really _is_
  857|       |           a Win32 error code
  858|       |        */
  859|       |        if (i > 0 && i < _sys_nerr) {
  860|       |            message = PyUnicode_FromString(_sys_errlist[i]);
  861|       |        }
  862|       |        else {
  863|       |            int len = FormatMessageW(
  864|       |                FORMAT_MESSAGE_ALLOCATE_BUFFER |
  865|       |                FORMAT_MESSAGE_FROM_SYSTEM |
  866|       |                FORMAT_MESSAGE_IGNORE_INSERTS,
  867|       |                NULL,                   /* no message source */
  868|       |                i,
  869|       |                MAKELANGID(LANG_NEUTRAL,
  870|       |                           SUBLANG_DEFAULT),
  871|       |                           /* Default language */
  872|       |                (LPWSTR) &s_buf,
  873|       |                0,                      /* size not used */
  874|       |                NULL);                  /* no args */
  875|       |            if (len==0) {
  876|       |                /* Only ever seen this in out-of-mem
  877|       |                   situations */
  878|       |                s_buf = NULL;
  879|       |                message = PyUnicode_FromFormat("Windows Error 0x%x", i);
  880|       |            } else {
  881|       |                /* remove trailing cr/lf and dots */
  882|       |                while (len > 0 && (s_buf[len-1] <= L' ' || s_buf[len-1] == L'.'))
  883|       |                    s_buf[--len] = L'\0';
  884|       |                message = PyUnicode_FromWideChar(s_buf, len);
  885|       |            }
  886|       |        }
  887|       |    }
  888|       |#endif /* Unix/Windows */
  889|       |
  890|     44|    if (message == NULL)
  ------------------
  |  Branch (890:9): [True: 0, False: 44]
  ------------------
  891|      0|    {
  892|       |#ifdef MS_WINDOWS
  893|       |        LocalFree(s_buf);
  894|       |#endif
  895|      0|        return NULL;
  896|      0|    }
  897|       |
  898|     44|    if (filenameObject != NULL) {
  ------------------
  |  Branch (898:9): [True: 44, False: 0]
  ------------------
  899|     44|        if (filenameObject2 != NULL)
  ------------------
  |  Branch (899:13): [True: 0, False: 44]
  ------------------
  900|      0|            args = Py_BuildValue("(iOOiO)", i, message, filenameObject, 0, filenameObject2);
  901|     44|        else
  902|     44|            args = Py_BuildValue("(iOO)", i, message, filenameObject);
  903|     44|    } else {
  904|      0|        assert(filenameObject2 == NULL);
  ------------------
  |  Branch (904:9): [True: 0, False: 0]
  ------------------
  905|      0|        args = Py_BuildValue("(iO)", i, message);
  906|      0|    }
  907|     44|    Py_DECREF(message);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  908|       |
  909|     44|    if (args != NULL) {
  ------------------
  |  Branch (909:9): [True: 44, False: 0]
  ------------------
  910|     44|        v = PyObject_Call(exc, args, NULL);
  911|     44|        Py_DECREF(args);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  912|     44|        if (v != NULL) {
  ------------------
  |  Branch (912:13): [True: 44, False: 0]
  ------------------
  913|     44|            _PyErr_SetObject(tstate, (PyObject *) Py_TYPE(v), v);
  ------------------
  |  |  213|     44|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  914|     44|            Py_DECREF(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  915|     44|        }
  916|     44|    }
  917|       |#ifdef MS_WINDOWS
  918|       |    LocalFree(s_buf);
  919|       |#endif
  920|       |    return NULL;
  921|     44|}
_PyErr_SetImportErrorWithNameFrom:
 1162|      1|{
 1163|      1|    return _PyErr_SetImportErrorSubclassWithNameFrom(PyExc_ImportError, msg, name, path, from_name);
 1164|      1|}
_PyErr_FormatV:
 1221|     50|{
 1222|     50|    PyObject* string;
 1223|       |
 1224|       |    /* Issue #23571: PyUnicode_FromFormatV() must not be called with an
 1225|       |       exception set, it calls arbitrary Python code like PyObject_Repr() */
 1226|     50|    _PyErr_Clear(tstate);
 1227|       |
 1228|     50|    string = PyUnicode_FromFormatV(format, vargs);
 1229|     50|    if (string != NULL) {
  ------------------
  |  Branch (1229:9): [True: 50, False: 0]
  ------------------
 1230|     50|        _PyErr_SetObject(tstate, exception, string);
 1231|     50|        Py_DECREF(string);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1232|     50|    }
 1233|       |    return NULL;
 1234|     50|}
PyErr_Format:
 1259|     50|{
 1260|     50|    PyThreadState *tstate = _PyThreadState_GET();
 1261|     50|    va_list vargs;
 1262|     50|    va_start(vargs, format);
 1263|     50|    _PyErr_FormatV(tstate, exception, format, vargs);
 1264|     50|    va_end(vargs);
 1265|       |    return NULL;
 1266|     50|}
PyErr_NewException:
 1298|      4|{
 1299|      4|    PyThreadState *tstate = _PyThreadState_GET();
 1300|      4|    PyObject *modulename = NULL;
 1301|      4|    PyObject *mydict = NULL;
 1302|      4|    PyObject *bases = NULL;
 1303|      4|    PyObject *result = NULL;
 1304|       |
 1305|      4|    const char *dot = strrchr(name, '.');
 1306|      4|    if (dot == NULL) {
  ------------------
  |  Branch (1306:9): [True: 0, False: 4]
  ------------------
 1307|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 1308|      0|                         "PyErr_NewException: name must be module.class");
 1309|      0|        return NULL;
 1310|      0|    }
 1311|      4|    if (base == NULL) {
  ------------------
  |  Branch (1311:9): [True: 0, False: 4]
  ------------------
 1312|      0|        base = PyExc_Exception;
 1313|      0|    }
 1314|      4|    if (dict == NULL) {
  ------------------
  |  Branch (1314:9): [True: 4, False: 0]
  ------------------
 1315|      4|        dict = mydict = PyDict_New();
 1316|      4|        if (dict == NULL)
  ------------------
  |  Branch (1316:13): [True: 0, False: 4]
  ------------------
 1317|      0|            goto failure;
 1318|      4|    }
 1319|       |
 1320|      4|    int r = PyDict_Contains(dict, &_Py_ID(__module__));
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1321|      4|    if (r < 0) {
  ------------------
  |  Branch (1321:9): [True: 0, False: 4]
  ------------------
 1322|      0|        goto failure;
 1323|      0|    }
 1324|      4|    if (r == 0) {
  ------------------
  |  Branch (1324:9): [True: 4, False: 0]
  ------------------
 1325|      4|        modulename = PyUnicode_FromStringAndSize(name,
 1326|      4|                                             (Py_ssize_t)(dot-name));
 1327|      4|        if (modulename == NULL)
  ------------------
  |  Branch (1327:13): [True: 0, False: 4]
  ------------------
 1328|      0|            goto failure;
 1329|      4|        if (PyDict_SetItem(dict, &_Py_ID(__module__), modulename) != 0)
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1329:13): [True: 0, False: 4]
  ------------------
 1330|      0|            goto failure;
 1331|      4|    }
 1332|      4|    if (PyTuple_Check(base)) {
  ------------------
  |  |   27|      4|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1333|      2|        bases = Py_NewRef(base);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1334|      2|    } else {
 1335|      2|        bases = PyTuple_Pack(1, base);
 1336|      2|        if (bases == NULL)
  ------------------
  |  Branch (1336:13): [True: 0, False: 2]
  ------------------
 1337|      0|            goto failure;
 1338|      2|    }
 1339|       |    /* Create a real class. */
 1340|      4|    result = PyObject_CallFunction((PyObject *)&PyType_Type, "sOO",
 1341|      4|                                   dot+1, bases, dict);
 1342|      4|  failure:
 1343|      4|    Py_XDECREF(bases);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1344|      4|    Py_XDECREF(mydict);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1345|      4|    Py_XDECREF(modulename);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1346|      4|    return result;
 1347|      4|}
_PyErr_InitTypes:
 1410|      2|{
 1411|      2|    if (_PyStructSequence_InitBuiltin(interp, &UnraisableHookArgsType,
  ------------------
  |  Branch (1411:9): [True: 0, False: 2]
  ------------------
 1412|      2|                                      &UnraisableHookArgs_desc) < 0)
 1413|      0|    {
 1414|      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)}
  ------------------
 1415|      0|    }
 1416|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1417|      2|}
errors.c:_PyErr_CreateException:
   36|    141|{
   37|    141|    PyObject *exc;
   38|       |
   39|    141|    if (value == NULL || value == Py_None) {
  ------------------
  |  |  616|    141|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (39:9): [True: 0, False: 141]
  |  Branch (39:26): [True: 0, False: 141]
  ------------------
   40|      0|        exc = _PyObject_CallNoArgs(exception_type);
   41|      0|    }
   42|    141|    else if (PyTuple_Check(value)) {
  ------------------
  |  |   27|    141|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    141|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 36, False: 105]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   43|     36|        exc = PyObject_Call(exception_type, value, NULL);
   44|     36|    }
   45|    105|    else {
   46|    105|        exc = PyObject_CallOneArg(exception_type, value);
   47|    105|    }
   48|       |
   49|    141|    if (exc != NULL && !PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|    141|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    141|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (49:9): [True: 141, False: 0]
  |  Branch (49:24): [True: 0, False: 141]
  ------------------
   50|      0|        PyErr_Format(PyExc_TypeError,
   51|      0|                     "calling %R should have returned an instance of "
   52|      0|                     "BaseException, not %s",
   53|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   54|      0|        Py_CLEAR(exc);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
   55|      0|    }
   56|       |
   57|    141|    return exc;
   58|    141|}
errors.c:_PyErr_SetImportErrorSubclassWithNameFrom:
 1141|      1|{
 1142|      1|    PyThreadState *tstate = _PyThreadState_GET();
 1143|      1|    PyObject *error = new_importerror(
 1144|      1|                        tstate, exception, msg, name, path, from_name);
 1145|      1|    if (error != NULL) {
  ------------------
  |  Branch (1145:9): [True: 1, False: 0]
  ------------------
 1146|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1147|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1148|      1|    }
 1149|       |    return NULL;
 1150|      1|}
errors.c:new_importerror:
 1087|      1|{
 1088|      1|    PyObject *exc = NULL;
 1089|      1|    PyObject *kwargs = NULL;
 1090|       |
 1091|      1|    int issubclass = PyObject_IsSubclass(exctype, PyExc_ImportError);
 1092|      1|    if (issubclass < 0) {
  ------------------
  |  Branch (1092:9): [True: 0, False: 1]
  ------------------
 1093|      0|        return NULL;
 1094|      0|    }
 1095|      1|    else if (!issubclass) {
  ------------------
  |  Branch (1095:14): [True: 0, False: 1]
  ------------------
 1096|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 1097|      0|                         "expected a subclass of ImportError");
 1098|      0|        return NULL;
 1099|      0|    }
 1100|       |
 1101|      1|    if (msg == NULL) {
  ------------------
  |  Branch (1101:9): [True: 0, False: 1]
  ------------------
 1102|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 1103|      0|                         "expected a message argument");
 1104|      0|        return NULL;
 1105|      0|    }
 1106|       |
 1107|      1|    if (name == NULL) {
  ------------------
  |  Branch (1107:9): [True: 0, False: 1]
  ------------------
 1108|      0|        name = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1109|      0|    }
 1110|      1|    if (path == NULL) {
  ------------------
  |  Branch (1110:9): [True: 1, False: 0]
  ------------------
 1111|      1|        path = Py_None;
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1112|      1|    }
 1113|      1|    if (from_name == NULL) {
  ------------------
  |  Branch (1113:9): [True: 0, False: 1]
  ------------------
 1114|      0|        from_name = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1115|      0|    }
 1116|       |
 1117|      1|    kwargs = PyDict_New();
 1118|      1|    if (kwargs == NULL) {
  ------------------
  |  Branch (1118:9): [True: 0, False: 1]
  ------------------
 1119|      0|        return NULL;
 1120|      0|    }
 1121|      1|    if (PyDict_SetItemString(kwargs, "name", name) < 0) {
  ------------------
  |  Branch (1121:9): [True: 0, False: 1]
  ------------------
 1122|      0|        goto finally;
 1123|      0|    }
 1124|      1|    if (PyDict_SetItemString(kwargs, "path", path) < 0) {
  ------------------
  |  Branch (1124:9): [True: 0, False: 1]
  ------------------
 1125|      0|        goto finally;
 1126|      0|    }
 1127|      1|    if (PyDict_SetItemString(kwargs, "name_from", from_name) < 0) {
  ------------------
  |  Branch (1127:9): [True: 0, False: 1]
  ------------------
 1128|      0|        goto finally;
 1129|      0|    }
 1130|      1|    exc = PyObject_VectorcallDict(exctype, &msg, 1, kwargs);
 1131|       |
 1132|      1|finally:
 1133|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1134|      1|    return exc;
 1135|      1|}

_Py_ResetForceASCII:
  356|      8|{
  357|      8|    force_ascii = -1;
  ------------------
  |  |  241|      8|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  ------------------
  358|      8|}
_Py_DecodeLocale:
  698|    704|{
  699|    704|    assert(arg != NULL);
  ------------------
  |  Branch (699:5): [True: 704, False: 0]
  ------------------
  700|    704|    assert(wstr != NULL);
  ------------------
  |  Branch (700:5): [True: 704, False: 0]
  ------------------
  701|       |
  702|       |#ifdef Py_DEBUG
  703|       |    size_t arglen = strlen(arg);
  704|       |    size_t wlen_canary = (size_t)-2;
  705|       |    if (wlen) {
  706|       |        *wlen = wlen_canary;
  707|       |    }
  708|       |#endif
  709|       |
  710|    704|    int res = decode_locale_impl(arg, wstr, wlen, current_locale, errors);
  711|    704|    if (res < 0) {
  ------------------
  |  Branch (711:9): [True: 0, False: 704]
  ------------------
  712|       |        // Error
  713|      0|        *wstr = NULL;
  714|      0|        if (res == _Py_CODEC_DECODE_ERROR) {
  ------------------
  |  |  189|      0|#define _Py_CODEC_DECODE_ERROR -2
  ------------------
  |  Branch (714:13): [True: 0, False: 0]
  ------------------
  715|       |#ifdef Py_DEBUG
  716|       |            assert(wlen == NULL || *wlen != wlen_canary);
  717|       |#endif
  718|      0|        }
  719|      0|        else {
  720|      0|            if (wlen) {
  ------------------
  |  Branch (720:17): [True: 0, False: 0]
  ------------------
  721|      0|                *wlen = 0;
  722|      0|            }
  723|      0|        }
  724|      0|    }
  725|    704|    else {
  726|       |        // Success
  727|    704|        assert(*wstr != NULL);
  ------------------
  |  Branch (727:9): [True: 704, False: 0]
  ------------------
  728|       |#ifdef Py_DEBUG
  729|       |        // gh-158893: Detect if the input string was mutated during the
  730|       |        // function call. For example, the assertion fails on decoding
  731|       |        // strerror() result if another thread mutated the string in-place by
  732|       |        // calling strerror() in parallel.
  733|       |        assert(strlen(arg) == arglen);
  734|       |        if (wlen != NULL) {
  735|       |            assert(*wlen == wcslen(*wstr));
  736|       |        }
  737|       |#endif
  738|    704|    }
  739|    704|    return res;
  740|    704|}
Py_DecodeLocale:
  762|     12|{
  763|     12|    wchar_t *wstr;
  764|     12|    int res = _Py_DecodeLocale(arg, &wstr, size, 0, _Py_ERROR_SURROGATEESCAPE);
  765|     12|    if (res != 0) {
  ------------------
  |  Branch (765:9): [True: 0, False: 12]
  ------------------
  766|      0|        assert(res == _Py_CODEC_MEMORY_ERROR || res == _Py_CODEC_DECODE_ERROR);
  ------------------
  |  Branch (766:9): [True: 0, False: 0]
  |  Branch (766:9): [True: 0, False: 0]
  ------------------
  767|      0|        if (size != NULL) {
  ------------------
  |  Branch (767:13): [True: 0, False: 0]
  ------------------
  768|      0|            *size = (size_t)res;
  769|      0|        }
  770|      0|        return NULL;
  771|      0|    }
  772|     12|    return wstr;
  773|     12|}
_Py_EncodeLocale:
 1047|     82|{
 1048|     82|    return encode_locale_impl(text, str, output_length,
 1049|     82|                              error_pos, 1, current_locale, errors);
 1050|     82|}
_Py_fstat_noraise:
 1389|     35|{
 1390|       |#ifdef MS_WINDOWS
 1391|       |    FILE_STANDARD_INFO standardInfo = {0};
 1392|       |    FILE_BASIC_INFO basicInfo = {0};
 1393|       |    FILE_ID_INFO idInfo = {0};
 1394|       |    FILE_ID_INFO *pIdInfo = &idInfo;
 1395|       |    HANDLE h;
 1396|       |    int type;
 1397|       |
 1398|       |    h = _Py_get_osfhandle_noraise(fd);
 1399|       |
 1400|       |    if (h == INVALID_HANDLE_VALUE) {
 1401|       |        /* errno is already set by _get_osfhandle, but we also set
 1402|       |           the Win32 error for callers who expect that */
 1403|       |        SetLastError(ERROR_INVALID_HANDLE);
 1404|       |        return -1;
 1405|       |    }
 1406|       |    memset(status, 0, sizeof(*status));
 1407|       |
 1408|       |    type = GetFileType(h);
 1409|       |    if (type == FILE_TYPE_UNKNOWN) {
 1410|       |        DWORD error = GetLastError();
 1411|       |        if (error != 0) {
 1412|       |            errno = winerror_to_errno(error);
 1413|       |            return -1;
 1414|       |        }
 1415|       |        /* else: valid but unknown file */
 1416|       |    }
 1417|       |
 1418|       |    if (type != FILE_TYPE_DISK) {
 1419|       |        if (type == FILE_TYPE_CHAR)
 1420|       |            status->st_mode = _S_IFCHR;
 1421|       |        else if (type == FILE_TYPE_PIPE)
 1422|       |            status->st_mode = _S_IFIFO;
 1423|       |        return 0;
 1424|       |    }
 1425|       |
 1426|       |    if (!GetFileInformationByHandleEx(h,FileStandardInfo, &standardInfo, sizeof(standardInfo)) ||
 1427|       |        !GetFileInformationByHandleEx(h, FileBasicInfo, &basicInfo, sizeof(basicInfo))) {
 1428|       |        /* The Win32 error is already set, but we also set errno for
 1429|       |           callers who expect it */
 1430|       |        errno = winerror_to_errno(GetLastError());
 1431|       |        return -1;
 1432|       |    }
 1433|       |
 1434|       |    if (!GetFileInformationByHandleEx(h, FileIdInfo, &idInfo, sizeof(idInfo))) {
 1435|       |        /* Failed to get FileIdInfo, so do not pass it along */
 1436|       |        pIdInfo = NULL;
 1437|       |    }
 1438|       |
 1439|       |    _Py_attribute_data_to_stat(&standardInfo, 0, &basicInfo, pIdInfo, status);
 1440|       |    return 0;
 1441|       |#else
 1442|     35|    return fstat(fd, status);
 1443|     35|#endif
 1444|     35|}
_Py_wstat:
 1486|      8|{
 1487|      8|    int err;
 1488|       |#ifdef MS_WINDOWS
 1489|       |    struct _stat wstatbuf;
 1490|       |    err = _wstat(path, &wstatbuf);
 1491|       |    if (!err) {
 1492|       |        buf->st_mode = wstatbuf.st_mode;
 1493|       |    }
 1494|       |#else
 1495|      8|    char *fname;
 1496|      8|    fname = _Py_EncodeLocaleRaw(path, NULL);
 1497|      8|    if (fname == NULL) {
  ------------------
  |  Branch (1497:9): [True: 0, False: 8]
  ------------------
 1498|      0|        errno = EINVAL;
 1499|      0|        return -1;
 1500|      0|    }
 1501|      8|    err = stat(fname, buf);
 1502|      8|    PyMem_RawFree(fname);
 1503|      8|#endif
 1504|      8|    return err;
 1505|      8|}
_Py_stat:
 1516|     10|{
 1517|       |#ifdef MS_WINDOWS
 1518|       |    int err;
 1519|       |
 1520|       |    wchar_t *wpath = PyUnicode_AsWideCharString(path, NULL);
 1521|       |    if (wpath == NULL)
 1522|       |        return -2;
 1523|       |
 1524|       |    err = _Py_wstat(wpath, statbuf);
 1525|       |    PyMem_Free(wpath);
 1526|       |    return err;
 1527|       |#else
 1528|     10|    PyObject *bytes = PyUnicode_EncodeFSDefault(path);
 1529|     10|    if (bytes == NULL) {
  ------------------
  |  Branch (1529:9): [True: 0, False: 10]
  ------------------
 1530|      0|        return -2;
 1531|      0|    }
 1532|       |
 1533|       |    /* check for embedded null bytes */
 1534|     10|    char *cpath;
 1535|     10|    if (PyBytes_AsStringAndSize(bytes, &cpath, NULL) == -1) {
  ------------------
  |  Branch (1535:9): [True: 0, False: 10]
  ------------------
 1536|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1537|      0|        return -2;
 1538|      0|    }
 1539|       |
 1540|     10|    int ret = stat(cpath, statbuf);
 1541|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1542|     10|    assert(ret == 0 || ret == -1);
  ------------------
  |  Branch (1542:5): [True: 2, False: 8]
  |  Branch (1542:5): [True: 8, False: 0]
  ------------------
 1543|     10|    return ret;
 1544|     10|#endif
 1545|     10|}
_Py_set_inheritable:
 1757|     27|{
 1758|     27|    return set_inheritable(fd, inheritable, 1, atomic_flag_works);
 1759|     27|}
Py_fopen:
 1919|     10|{
 1920|     10|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|     10|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 1921|       |
 1922|     10|    if (PySys_Audit("open", "Osi", path, mode, 0) < 0) {
  ------------------
  |  Branch (1922:9): [True: 0, False: 10]
  ------------------
 1923|      0|        return NULL;
 1924|      0|    }
 1925|       |
 1926|     10|    FILE *f;
 1927|     10|    int async_err = 0;
 1928|     10|    int saved_errno;
 1929|       |#ifdef MS_WINDOWS
 1930|       |    PyObject *unicode;
 1931|       |    if (!PyUnicode_FSDecoder(path, &unicode)) {
 1932|       |        return NULL;
 1933|       |    }
 1934|       |
 1935|       |    wchar_t *wpath = PyUnicode_AsWideCharString(unicode, NULL);
 1936|       |    Py_DECREF(unicode);
 1937|       |    if (wpath == NULL) {
 1938|       |        return NULL;
 1939|       |    }
 1940|       |
 1941|       |    wchar_t wmode[10];
 1942|       |    int usize = MultiByteToWideChar(CP_ACP, 0, mode, -1,
 1943|       |                                    wmode, Py_ARRAY_LENGTH(wmode));
 1944|       |    if (usize == 0) {
 1945|       |        PyErr_SetFromWindowsErr(0);
 1946|       |        PyMem_Free(wpath);
 1947|       |        return NULL;
 1948|       |    }
 1949|       |
 1950|       |    do {
 1951|       |        Py_BEGIN_ALLOW_THREADS
 1952|       |        _Py_BEGIN_SUPPRESS_IPH
 1953|       |        f = _wfopen(wpath, wmode);
 1954|       |        _Py_END_SUPPRESS_IPH
 1955|       |        Py_END_ALLOW_THREADS
 1956|       |    } while (f == NULL
 1957|       |             && errno == EINTR && !(async_err = PyErr_CheckSignals()));
 1958|       |    saved_errno = errno;
 1959|       |    PyMem_Free(wpath);
 1960|       |#else
 1961|     10|    PyObject *bytes;
 1962|     10|    if (!PyUnicode_FSConverter(path, &bytes)) {
  ------------------
  |  Branch (1962:9): [True: 0, False: 10]
  ------------------
 1963|      0|        return NULL;
 1964|      0|    }
 1965|     10|    const char *path_bytes = PyBytes_AS_STRING(bytes);
  ------------------
  |  |   27|     10|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1966|       |
 1967|     10|    do {
 1968|     10|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|     10|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|     10|                        PyThreadState *_save; \
  |  |  119|     10|                        _save = PyEval_SaveThread();
  ------------------
 1969|     10|        f = fopen(path_bytes, mode);
 1970|     10|        Py_END_ALLOW_THREADS
  ------------------
  |  |  122|     10|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|     10|                 }
  ------------------
 1971|     10|    } while (f == NULL
  ------------------
  |  Branch (1971:14): [True: 10, False: 0]
  ------------------
 1972|     10|             && errno == EINTR && !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (1972:17): [True: 0, False: 10]
  |  Branch (1972:35): [True: 0, False: 0]
  ------------------
 1973|     10|    saved_errno = errno;
 1974|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1975|     10|#endif
 1976|       |
 1977|     10|    if (async_err) {
  ------------------
  |  Branch (1977:9): [True: 0, False: 10]
  ------------------
 1978|      0|        return NULL;
 1979|      0|    }
 1980|       |
 1981|     10|    if (f == NULL) {
  ------------------
  |  Branch (1981:9): [True: 10, False: 0]
  ------------------
 1982|     10|        errno = saved_errno;
 1983|     10|        PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, path);
 1984|     10|        return NULL;
 1985|     10|    }
 1986|       |
 1987|      0|    if (set_inheritable(fileno(f), 0, 1, NULL) < 0) {
  ------------------
  |  Branch (1987:9): [True: 0, False: 0]
  ------------------
 1988|      0|        fclose(f);
 1989|      0|        return NULL;
 1990|      0|    }
 1991|      0|    return f;
 1992|      0|}
_Py_read:
 2022|     54|{
 2023|     54|    Py_ssize_t n;
 2024|     54|    int err;
 2025|     54|    int async_err = 0;
 2026|       |
 2027|     54|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|     54|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 2028|       |
 2029|       |    /* _Py_read() must not be called with an exception set, otherwise the
 2030|       |     * caller may think that read() was interrupted by a signal and the signal
 2031|       |     * handler raised an exception. */
 2032|     54|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2032:5): [True: 54, False: 0]
  ------------------
 2033|       |
 2034|     54|    if (count > _PY_READ_MAX) {
  ------------------
  |  |   54|     54|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|     54|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (2034:9): [True: 0, False: 54]
  ------------------
 2035|      0|        count = _PY_READ_MAX;
  ------------------
  |  |   54|      0|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
 2036|      0|    }
 2037|       |
 2038|     54|    _Py_BEGIN_SUPPRESS_IPH
 2039|     54|    do {
 2040|     54|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|     54|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|     54|                        PyThreadState *_save; \
  |  |  119|     54|                        _save = PyEval_SaveThread();
  ------------------
 2041|     54|        errno = 0;
 2042|       |#ifdef MS_WINDOWS
 2043|       |        _doserrno = 0;
 2044|       |        n = read(fd, buf, (int)count);
 2045|       |        // read() on a non-blocking empty pipe fails with EINVAL, which is
 2046|       |        // mapped from the Windows error code ERROR_NO_DATA.
 2047|       |        if (n < 0 && errno == EINVAL) {
 2048|       |            if (_doserrno == ERROR_NO_DATA) {
 2049|       |                errno = EAGAIN;
 2050|       |            }
 2051|       |        }
 2052|       |#else
 2053|     54|        n = read(fd, buf, count);
 2054|     54|#endif
 2055|       |        /* save/restore errno because PyErr_CheckSignals()
 2056|       |         * and PyErr_SetFromErrno() can modify it */
 2057|     54|        err = errno;
 2058|     54|        Py_END_ALLOW_THREADS
  ------------------
  |  |  122|     54|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|     54|                 }
  ------------------
 2059|     54|    } while (n < 0 && err == EINTR &&
  ------------------
  |  Branch (2059:14): [True: 0, False: 54]
  |  Branch (2059:23): [True: 0, False: 0]
  ------------------
 2060|      0|            !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (2060:13): [True: 0, False: 0]
  ------------------
 2061|     54|    _Py_END_SUPPRESS_IPH
 2062|       |
 2063|     54|    if (async_err) {
  ------------------
  |  Branch (2063:9): [True: 0, False: 54]
  ------------------
 2064|       |        /* read() was interrupted by a signal (failed with EINTR)
 2065|       |         * and the Python signal handler raised an exception */
 2066|      0|        errno = err;
 2067|      0|        assert(errno == EINTR && PyErr_Occurred());
  ------------------
  |  Branch (2067:9): [True: 0, False: 0]
  |  Branch (2067:9): [True: 0, False: 0]
  ------------------
 2068|      0|        return -1;
 2069|      0|    }
 2070|     54|    if (n < 0) {
  ------------------
  |  Branch (2070:9): [True: 0, False: 54]
  ------------------
 2071|      0|        PyErr_SetFromErrno(PyExc_OSError);
 2072|      0|        errno = err;
 2073|      0|        return -1;
 2074|      0|    }
 2075|       |
 2076|     54|    return n;
 2077|     54|}
_Py_write:
 2192|     50|{
 2193|     50|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|     50|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 2194|       |
 2195|       |    /* _Py_write() must not be called with an exception set, otherwise the
 2196|       |     * caller may think that write() was interrupted by a signal and the signal
 2197|       |     * handler raised an exception. */
 2198|     50|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2198:5): [True: 50, False: 0]
  ------------------
 2199|       |
 2200|     50|    return _Py_write_impl(fd, buf, count, 1);
 2201|     50|}
_Py_wreadlink:
 2225|      2|{
 2226|      2|    char *cpath;
 2227|      2|    char cbuf[MAXPATHLEN];
 2228|      2|    size_t cbuf_len = Py_ARRAY_LENGTH(cbuf);
  ------------------
  |  |  232|      2|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 2229|      2|    wchar_t *wbuf;
 2230|      2|    Py_ssize_t res;
 2231|      2|    size_t r1;
 2232|       |
 2233|      2|    cpath = _Py_EncodeLocaleRaw(path, NULL);
 2234|      2|    if (cpath == NULL) {
  ------------------
  |  Branch (2234:9): [True: 0, False: 2]
  ------------------
 2235|      0|        errno = EINVAL;
 2236|      0|        return -1;
 2237|      0|    }
 2238|      2|    res = readlink(cpath, cbuf, cbuf_len);
 2239|      2|    PyMem_RawFree(cpath);
 2240|      2|    if (res == -1) {
  ------------------
  |  Branch (2240:9): [True: 2, False: 0]
  ------------------
 2241|      2|        return -1;
 2242|      2|    }
 2243|      0|    if ((size_t)res == cbuf_len) {
  ------------------
  |  Branch (2243:9): [True: 0, False: 0]
  ------------------
 2244|      0|        errno = EINVAL;
 2245|      0|        return -1;
 2246|      0|    }
 2247|      0|    cbuf[res] = '\0'; /* buf will be null terminated */
 2248|      0|    wbuf = Py_DecodeLocale(cbuf, &r1);
 2249|      0|    if (wbuf == NULL) {
  ------------------
  |  Branch (2249:9): [True: 0, False: 0]
  ------------------
 2250|      0|        errno = EINVAL;
 2251|      0|        return -1;
 2252|      0|    }
 2253|       |    /* wbuf must have space to store the trailing NUL character */
 2254|      0|    if (buflen <= r1) {
  ------------------
  |  Branch (2254:9): [True: 0, False: 0]
  ------------------
 2255|      0|        PyMem_RawFree(wbuf);
 2256|      0|        errno = EINVAL;
 2257|      0|        return -1;
 2258|      0|    }
 2259|      0|    wcsncpy(buf, wbuf, buflen);
 2260|      0|    PyMem_RawFree(wbuf);
 2261|      0|    return (int)r1;
 2262|      0|}
_Py_isabs:
 2312|     74|{
 2313|       |#ifdef MS_WINDOWS
 2314|       |    const wchar_t *tail;
 2315|       |    HRESULT hr = PathCchSkipRoot(path, &tail);
 2316|       |    if (FAILED(hr) || path == tail) {
 2317|       |        return 0;
 2318|       |    }
 2319|       |    if (tail == &path[1] && (path[0] == SEP || path[0] == ALTSEP)) {
 2320|       |        // Exclude paths with leading SEP
 2321|       |        return 0;
 2322|       |    }
 2323|       |    if (tail == &path[2] && path[1] == L':') {
 2324|       |        // Exclude drive-relative paths (e.g. C:filename.ext)
 2325|       |        return 0;
 2326|       |    }
 2327|       |    return 1;
 2328|       |#else
 2329|     74|    return (path[0] == SEP);
  ------------------
  |  |   29|     74|#  define SEP L'/'
  ------------------
 2330|     74|#endif
 2331|     74|}
_Py_abspath:
 2341|      2|{
 2342|      2|    if (path[0] == '\0' || !wcscmp(path, L".")) {
  ------------------
  |  Branch (2342:9): [True: 0, False: 2]
  |  Branch (2342:28): [True: 0, False: 2]
  ------------------
 2343|      0|        wchar_t cwd[MAXPATHLEN + 1];
 2344|      0|        cwd[Py_ARRAY_LENGTH(cwd) - 1] = 0;
  ------------------
  |  |  232|      0|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 2345|      0|        if (!_Py_wgetcwd(cwd, Py_ARRAY_LENGTH(cwd) - 1)) {
  ------------------
  |  |  232|      0|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (2345:13): [True: 0, False: 0]
  ------------------
 2346|       |            /* unable to get the current directory */
 2347|      0|            return -1;
 2348|      0|        }
 2349|      0|        *abspath_p = _PyMem_RawWcsdup(cwd);
 2350|      0|        return 0;
 2351|      0|    }
 2352|       |
 2353|      2|    if (_Py_isabs(path)) {
  ------------------
  |  Branch (2353:9): [True: 2, False: 0]
  ------------------
 2354|      2|        *abspath_p = _PyMem_RawWcsdup(path);
 2355|      2|        return 0;
 2356|      2|    }
 2357|       |
 2358|       |#ifdef MS_WINDOWS
 2359|       |    return _PyOS_getfullpathname(path, abspath_p);
 2360|       |#else
 2361|      0|    wchar_t cwd[MAXPATHLEN + 1];
 2362|      0|    cwd[Py_ARRAY_LENGTH(cwd) - 1] = 0;
  ------------------
  |  |  232|      0|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 2363|      0|    if (!_Py_wgetcwd(cwd, Py_ARRAY_LENGTH(cwd) - 1)) {
  ------------------
  |  |  232|      0|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (2363:9): [True: 0, False: 0]
  ------------------
 2364|       |        /* unable to get the current directory */
 2365|      0|        return -1;
 2366|      0|    }
 2367|       |
 2368|      0|    size_t cwd_len = wcslen(cwd);
 2369|      0|    size_t path_len = wcslen(path);
 2370|      0|    size_t len = cwd_len + 1 + path_len + 1;
 2371|      0|    if (len <= (size_t)PY_SSIZE_T_MAX / sizeof(wchar_t)) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2371:9): [True: 0, False: 0]
  ------------------
 2372|      0|        *abspath_p = PyMem_RawMalloc(len * sizeof(wchar_t));
 2373|      0|    }
 2374|      0|    else {
 2375|      0|        *abspath_p = NULL;
 2376|      0|    }
 2377|      0|    if (*abspath_p == NULL) {
  ------------------
  |  Branch (2377:9): [True: 0, False: 0]
  ------------------
 2378|      0|        return 0;
 2379|      0|    }
 2380|       |
 2381|      0|    wchar_t *abspath = *abspath_p;
 2382|      0|    memcpy(abspath, cwd, cwd_len * sizeof(wchar_t));
 2383|      0|    abspath += cwd_len;
 2384|       |
 2385|      0|    *abspath = (wchar_t)SEP;
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
 2386|      0|    abspath++;
 2387|       |
 2388|      0|    memcpy(abspath, path, path_len * sizeof(wchar_t));
 2389|      0|    abspath += path_len;
 2390|       |
 2391|      0|    *abspath = 0;
 2392|      0|    return 0;
 2393|      0|#endif
 2394|      0|}
_Py_skiproot:
 2466|     36|{
 2467|     36|    assert(drvsize);
  ------------------
  |  Branch (2467:5): [True: 36, False: 0]
  ------------------
 2468|     36|    assert(rootsize);
  ------------------
  |  Branch (2468:5): [True: 36, False: 0]
  ------------------
 2469|     36|#ifndef MS_WINDOWS
 2470|     36|#define IS_SEP(x) (*(x) == SEP)
 2471|     36|    *drvsize = 0;
 2472|     36|    if (!IS_SEP(&path[0])) {
  ------------------
  |  | 2470|     36|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|     36|#  define SEP L'/'
  |  |  ------------------
  ------------------
  |  Branch (2472:9): [True: 0, False: 36]
  ------------------
 2473|       |        // Relative path, e.g.: 'foo'
 2474|      0|        *rootsize = 0;
 2475|      0|    }
 2476|     36|    else if (!IS_SEP(&path[1]) || IS_SEP(&path[2])) {
  ------------------
  |  | 2470|     72|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|     36|#  define SEP L'/'
  |  |  ------------------
  ------------------
                  else if (!IS_SEP(&path[1]) || IS_SEP(&path[2])) {
  ------------------
  |  | 2470|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  ------------------
  |  |  |  Branch (2470:19): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2476:14): [True: 36, False: 0]
  ------------------
 2477|       |        // Absolute path, e.g.: '/foo', '///foo', '////foo', etc.
 2478|     36|        *rootsize = 1;
 2479|     36|    }
 2480|      0|    else {
 2481|       |        // Precisely two leading slashes, e.g.: '//foo'. Implementation defined per POSIX, see
 2482|       |        // https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_13
 2483|      0|        *rootsize = 2;
 2484|      0|    }
 2485|     36|#undef IS_SEP
 2486|       |#else
 2487|       |    const wchar_t *pEnd = size >= 0 ? &path[size] : NULL;
 2488|       |#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
 2489|       |#define IS_SEP(x) (*(x) == SEP || *(x) == ALTSEP)
 2490|       |#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
 2491|       |    if (IS_SEP(&path[0])) {
 2492|       |        if (IS_SEP(&path[1])) {
 2493|       |            // Device drives, e.g. \\.\device or \\?\device
 2494|       |            // UNC drives, e.g. \\server\share or \\?\UNC\server\share
 2495|       |            Py_ssize_t idx;
 2496|       |            if (path[2] == L'?' && IS_SEP(&path[3]) &&
 2497|       |                (path[4] == L'U' || path[4] == L'u') &&
 2498|       |                (path[5] == L'N' || path[5] == L'n') &&
 2499|       |                (path[6] == L'C' || path[6] == L'c') &&
 2500|       |                IS_SEP(&path[7]))
 2501|       |            {
 2502|       |                idx = 8;
 2503|       |            }
 2504|       |            else {
 2505|       |                idx = 2;
 2506|       |            }
 2507|       |            while (!SEP_OR_END(&path[idx])) {
 2508|       |                idx++;
 2509|       |            }
 2510|       |            if (IS_END(&path[idx])) {
 2511|       |                *drvsize = idx;
 2512|       |                *rootsize = 0;
 2513|       |            }
 2514|       |            else {
 2515|       |                idx++;
 2516|       |                while (!SEP_OR_END(&path[idx])) {
 2517|       |                    idx++;
 2518|       |                }
 2519|       |                *drvsize = idx;
 2520|       |                if (IS_END(&path[idx])) {
 2521|       |                    *rootsize = 0;
 2522|       |                }
 2523|       |                else {
 2524|       |                    *rootsize = 1;
 2525|       |                }
 2526|       |            }
 2527|       |        }
 2528|       |        else {
 2529|       |            // Relative path with root, e.g. \Windows
 2530|       |            *drvsize = 0;
 2531|       |            *rootsize = 1;
 2532|       |        }
 2533|       |    }
 2534|       |    else if (!IS_END(&path[0]) && path[1] == L':') {
 2535|       |        *drvsize = 2;
 2536|       |        if (IS_SEP(&path[2])) {
 2537|       |            // Absolute drive-letter path, e.g. X:\Windows
 2538|       |            *rootsize = 1;
 2539|       |        }
 2540|       |        else {
 2541|       |            // Relative path with drive, e.g. X:Windows
 2542|       |            *rootsize = 0;
 2543|       |        }
 2544|       |    }
 2545|       |    else {
 2546|       |        // Relative path, e.g. Windows
 2547|       |        *drvsize = 0;
 2548|       |        *rootsize = 0;
 2549|       |    }
 2550|       |#undef SEP_OR_END
 2551|       |#undef IS_SEP
 2552|       |#undef IS_END
 2553|       |#endif
 2554|     36|}
_Py_add_relfile:
 2626|     24|{
 2627|     24|    assert(dirname != NULL && relfile != NULL);
  ------------------
  |  Branch (2627:5): [True: 24, False: 0]
  |  Branch (2627:5): [True: 24, False: 0]
  ------------------
 2628|     24|    assert(bufsize > 0);
  ------------------
  |  Branch (2628:5): [True: 24, False: 0]
  ------------------
 2629|     24|    return join_relfile(dirname, bufsize, dirname, relfile);
 2630|     24|}
_Py_normpath_and_size:
 2652|     36|{
 2653|     36|    assert(path != NULL);
  ------------------
  |  Branch (2653:5): [True: 36, False: 0]
  ------------------
 2654|     36|    if ((size < 0 && !path[0]) || size == 0) {
  ------------------
  |  Branch (2654:10): [True: 26, False: 10]
  |  Branch (2654:22): [True: 0, False: 26]
  |  Branch (2654:35): [True: 0, False: 36]
  ------------------
 2655|      0|        *normsize = 0;
 2656|      0|        return path;
 2657|      0|    }
 2658|     36|    wchar_t *pEnd = size >= 0 ? &path[size] : NULL;
  ------------------
  |  Branch (2658:21): [True: 10, False: 26]
  ------------------
 2659|     36|    wchar_t *p1 = path;     // sequentially scanned address in the path
 2660|     36|    wchar_t *p2 = path;     // destination of a scanned character to be ljusted
 2661|     36|    wchar_t *minP2 = path;  // the beginning of the destination range
 2662|     36|    wchar_t lastC = L'\0';  // the last ljusted character, p2[-1] in most cases
 2663|       |
 2664|     36|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
 2665|       |#ifdef ALTSEP
 2666|       |#define IS_SEP(x) (*(x) == SEP || *(x) == ALTSEP)
 2667|       |#else
 2668|     36|#define IS_SEP(x) (*(x) == SEP)
 2669|     36|#endif
 2670|     36|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
 2671|       |
 2672|     36|    Py_ssize_t drvsize, rootsize;
 2673|     36|    _Py_skiproot(path, size, &drvsize, &rootsize);
 2674|     36|    if (drvsize || rootsize) {
  ------------------
  |  Branch (2674:9): [True: 0, False: 36]
  |  Branch (2674:20): [True: 36, False: 0]
  ------------------
 2675|       |        // Skip past root and update minP2
 2676|     36|        p1 = &path[drvsize + rootsize];
 2677|     36|#ifndef ALTSEP
 2678|     36|        p2 = p1;
 2679|       |#else
 2680|       |        for (; p2 < p1; ++p2) {
 2681|       |            if (*p2 == ALTSEP) {
 2682|       |                *p2 = SEP;
 2683|       |            }
 2684|       |        }
 2685|       |#endif
 2686|     36|        minP2 = p2 - 1;
 2687|     36|        lastC = *minP2;
 2688|       |#ifdef MS_WINDOWS
 2689|       |        if (lastC != SEP) {
 2690|       |            minP2++;
 2691|       |        }
 2692|       |#endif
 2693|     36|    }
 2694|     36|    if (p1[0] == L'.' && SEP_OR_END(&p1[1])) {
  ------------------
  |  | 2670|      0|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2668|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2668:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2664|      0|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2664:19): [True: 0, False: 0]
  |  |  |  |  |  Branch (2664:20): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2694:9): [True: 0, False: 36]
  ------------------
 2695|       |        // Skip leading '.\'
 2696|      0|        lastC = *++p1;
 2697|       |#ifdef ALTSEP
 2698|       |        if (lastC == ALTSEP) {
 2699|       |            lastC = SEP;
 2700|       |        }
 2701|       |#endif
 2702|      0|        while (IS_SEP(p1)) {
  ------------------
  |  | 2668|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  ------------------
  |  |  |  Branch (2668:19): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2703|      0|            p1++;
 2704|      0|        }
 2705|      0|    }
 2706|       |
 2707|       |    /* if pEnd is specified, check that. Else, check for null terminator */
 2708|  1.99k|    for (; !IS_END(p1); ++p1) {
  ------------------
  |  | 2664|  1.99k|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  ------------------
  |  |  |  Branch (2664:20): [True: 622, False: 1.37k]
  |  |  ------------------
  ------------------
  |  Branch (2708:12): [True: 1.95k, False: 36]
  ------------------
 2709|  1.95k|        wchar_t c = *p1;
 2710|       |#ifdef ALTSEP
 2711|       |        if (c == ALTSEP) {
 2712|       |            c = SEP;
 2713|       |        }
 2714|       |#endif
 2715|  1.95k|        if (lastC == SEP) {
  ------------------
  |  |   29|  1.95k|#  define SEP L'/'
  ------------------
  |  Branch (2715:13): [True: 174, False: 1.78k]
  ------------------
 2716|    174|            if (c == L'.') {
  ------------------
  |  Branch (2716:17): [True: 0, False: 174]
  ------------------
 2717|      0|                int sep_at_1 = SEP_OR_END(&p1[1]);
  ------------------
  |  | 2670|      0|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2668|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2668:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2664|      0|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2664:19): [True: 0, False: 0]
  |  |  |  |  |  Branch (2664:20): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2718|      0|                int sep_at_2 = !sep_at_1 && SEP_OR_END(&p1[2]);
  ------------------
  |  | 2670|      0|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2668|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2668:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2664|      0|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2664:19): [True: 0, False: 0]
  |  |  |  |  |  Branch (2664:20): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2718:32): [True: 0, False: 0]
  ------------------
 2719|      0|                if (sep_at_2 && p1[1] == L'.') {
  ------------------
  |  Branch (2719:21): [True: 0, False: 0]
  |  Branch (2719:33): [True: 0, False: 0]
  ------------------
 2720|      0|                    wchar_t *p3 = p2;
 2721|      0|                    while (p3 != minP2 && *--p3 == SEP) { }
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
  |  Branch (2721:28): [True: 0, False: 0]
  |  Branch (2721:43): [True: 0, False: 0]
  ------------------
 2722|      0|                    while (p3 != minP2 && *(p3 - 1) != SEP) { --p3; }
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
  |  Branch (2722:28): [True: 0, False: 0]
  |  Branch (2722:43): [True: 0, False: 0]
  ------------------
 2723|      0|                    if (p2 == minP2
  ------------------
  |  Branch (2723:25): [True: 0, False: 0]
  ------------------
 2724|      0|                        || (p3[0] == L'.' && p3[1] == L'.' && IS_SEP(&p3[2])))
  ------------------
  |  | 2668|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  ------------------
  |  |  |  Branch (2668:19): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2724:29): [True: 0, False: 0]
  |  Branch (2724:46): [True: 0, False: 0]
  ------------------
 2725|      0|                    {
 2726|       |                        // Previous segment is also ../, so append instead.
 2727|       |                        // Relative path does not absorb ../ at minP2 as well.
 2728|      0|                        *p2++ = L'.';
 2729|      0|                        *p2++ = L'.';
 2730|      0|                        lastC = L'.';
 2731|      0|                    } else if (p3[0] == SEP) {
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
  |  Branch (2731:32): [True: 0, False: 0]
  ------------------
 2732|       |                        // Absolute path, so absorb segment
 2733|      0|                        p2 = p3 + 1;
 2734|      0|                    } else {
 2735|      0|                        p2 = p3;
 2736|      0|                    }
 2737|      0|                    p1 += 1;
 2738|      0|                } else if (sep_at_1) {
  ------------------
  |  Branch (2738:28): [True: 0, False: 0]
  ------------------
 2739|      0|                } else {
 2740|      0|                    *p2++ = lastC = c;
 2741|      0|                }
 2742|    174|            } else if (c == SEP) {
  ------------------
  |  |   29|    174|#  define SEP L'/'
  ------------------
  |  Branch (2742:24): [True: 0, False: 174]
  ------------------
 2743|    174|            } else {
 2744|    174|                *p2++ = lastC = c;
 2745|    174|            }
 2746|  1.78k|        } else {
 2747|  1.78k|            *p2++ = lastC = c;
 2748|  1.78k|        }
 2749|  1.95k|    }
 2750|     36|    *p2 = L'\0';
 2751|     36|    if (p2 != minP2) {
  ------------------
  |  Branch (2751:9): [True: 36, False: 0]
  ------------------
 2752|     36|        while (--p2 != minP2 && *p2 == SEP) {
  ------------------
  |  |   29|     36|#  define SEP L'/'
  ------------------
  |  Branch (2752:16): [True: 36, False: 0]
  |  Branch (2752:33): [True: 0, False: 36]
  ------------------
 2753|      0|            *p2 = L'\0';
 2754|      0|        }
 2755|     36|    } else {
 2756|      0|        --p2;
 2757|      0|    }
 2758|     36|    *normsize = p2 - path + 1;
 2759|     36|#undef SEP_OR_END
 2760|     36|#undef IS_SEP
 2761|     36|#undef IS_END
 2762|     36|    return path;
 2763|     36|}
_Py_normpath:
 2772|     26|{
 2773|     26|    Py_ssize_t norm_length;
 2774|     26|    return _Py_normpath_and_size(path, size, &norm_length);
 2775|     26|}
_Py_GetTicksPerSecond:
 3239|      4|{
 3240|      4|#if defined(HAVE_SYSCONF) && defined(_SC_CLK_TCK)
 3241|      4|    long value = sysconf(_SC_CLK_TCK);
 3242|      4|    if (value < 1) {
  ------------------
  |  Branch (3242:9): [True: 0, False: 4]
  ------------------
 3243|      0|        return -1;
 3244|      0|    }
 3245|      4|    *ticks_per_second = value;
 3246|       |#elif defined(HZ)
 3247|       |    assert(HZ >= 1);
 3248|       |    *ticks_per_second = HZ;
 3249|       |#else
 3250|       |    // Magic fallback value; may be bogus
 3251|       |    *ticks_per_second = 60;
 3252|       |#endif
 3253|      4|    return 0;
 3254|      4|}
_Py_IsValidFD:
 3262|      6|{
 3263|       |/* dup() is faster than fstat(): fstat() can require input/output operations,
 3264|       |   whereas dup() doesn't. There is a low risk of EMFILE/ENFILE at Python
 3265|       |   startup. Problem: dup() doesn't check if the file descriptor is valid on
 3266|       |   some platforms.
 3267|       |
 3268|       |   fcntl(fd, F_GETFD) is even faster, because it only checks the process table.
 3269|       |   It is preferred over dup() when available, since it cannot fail with the
 3270|       |   "too many open files" error (EMFILE).
 3271|       |
 3272|       |   bpo-30225: On macOS Tiger, when stdout is redirected to a pipe and the other
 3273|       |   side of the pipe is closed, dup(1) succeed, whereas fstat(1, &st) fails with
 3274|       |   EBADF. FreeBSD has similar issue (bpo-32849).
 3275|       |
 3276|       |   Only use dup() on Linux where dup() is enough to detect invalid FD
 3277|       |   (bpo-32849).
 3278|       |*/
 3279|      6|    if (fd < 0) {
  ------------------
  |  Branch (3279:9): [True: 0, False: 6]
  ------------------
 3280|      0|        return 0;
 3281|      0|    }
 3282|      6|#if defined(F_GETFD) && ( \
 3283|      6|        defined(__linux__) || \
 3284|      6|        defined(__APPLE__) || \
 3285|      6|        (defined(__wasm__) && !defined(__wasi__)))
 3286|      6|    return fcntl(fd, F_GETFD) >= 0;
 3287|       |#elif defined(__linux__)
 3288|       |    int fd2 = dup(fd);
 3289|       |    if (fd2 >= 0) {
 3290|       |        close(fd2);
 3291|       |    }
 3292|       |    return (fd2 >= 0);
 3293|       |#elif defined(MS_WINDOWS)
 3294|       |    HANDLE hfile;
 3295|       |    _Py_BEGIN_SUPPRESS_IPH
 3296|       |    hfile = (HANDLE)_get_osfhandle(fd);
 3297|       |    _Py_END_SUPPRESS_IPH
 3298|       |    return (hfile != INVALID_HANDLE_VALUE
 3299|       |            && GetFileType(hfile) != FILE_TYPE_UNKNOWN);
 3300|       |#else
 3301|       |    struct stat st;
 3302|       |    return (fstat(fd, &st) == 0);
 3303|       |#endif
 3304|      6|}
_Py_strerror:
 3315|     44|{
 3316|     44|    const char *errors = "surrogateescape";
 3317|       |
 3318|     44|#ifdef _Py_HAVE_STRERROR_R
 3319|       |   // Check which strerror_r() API is used
 3320|     44|#  if defined(__GLIBC__) && !((_POSIX_C_SOURCE >= 200112L) && !defined(_GNU_SOURCE))
 3321|     44|#    define Py_STRERROR_R_GNU
 3322|       |#  elif defined(__ANDROID__) && defined(_GNU_SOURCE)
 3323|       |#    define Py_STRERROR_R_GNU
 3324|       |#  endif
 3325|     44|#endif
 3326|       |
 3327|     44|#ifdef Py_STRERROR_R_GNU
 3328|       |    // Implementation for the GNU flavor of strerror_r()
 3329|       |
 3330|       |    // On Linux, the longest translated strerror() message is 86 bytes
 3331|       |    // (including the NUL byte).
 3332|     44|    char buffer[100];
 3333|     44|    char *message = strerror_r(code, buffer, Py_ARRAY_LENGTH(buffer));
  ------------------
  |  |  232|     44|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 3334|       |    // The strerror_r() GNU flavor doesn't provide a way to check if the error
 3335|       |    // message was truncated or not.
 3336|       |    //
 3337|       |    // When the buffer is used, a trailing NUL byte is always written.
 3338|     44|    assert(message != buffer || memchr(buffer, 0, Py_ARRAY_LENGTH(buffer)) != NULL);
  ------------------
  |  Branch (3338:5): [True: 44, False: 0]
  |  Branch (3338:5): [True: 0, False: 0]
  ------------------
 3339|     44|    return PyUnicode_DecodeLocale(message, errors);
 3340|       |
 3341|       |#elif defined(_Py_HAVE_STRERROR_R)
 3342|       |    // Implementation for the XSI-compliant flavor of strerror_r()
 3343|       |
 3344|       |    // On Linux and FreeBSD, the longest translated strerror() message is 86
 3345|       |    // bytes (including the NUL byte).
 3346|       |    char small_buffer[100];
 3347|       |    size_t buflen = Py_ARRAY_LENGTH(small_buffer);
 3348|       |    char *buffer = NULL;
 3349|       |#ifndef NDEBUG
 3350|       |    // Make sure that strerror_r() writes a trailing null byte
 3351|       |    small_buffer[buflen - 1] = '#';
 3352|       |#endif
 3353|       |    int len = strerror_r(code, small_buffer, buflen);
 3354|       |    if (len == ERANGE) {
 3355|       |        while (len == ERANGE) {
 3356|       |            if (buflen > (size_t)PY_SSIZE_T_MAX / 2) {
 3357|       |                PyMem_Free(buffer);
 3358|       |                PyErr_NoMemory();
 3359|       |                return NULL;
 3360|       |            }
 3361|       |            buflen = buflen * 2;
 3362|       |
 3363|       |            char *new_buffer = PyMem_Realloc(buffer, buflen);
 3364|       |            if (new_buffer == NULL) {
 3365|       |                PyMem_Free(buffer);
 3366|       |                PyErr_NoMemory();
 3367|       |                return NULL;
 3368|       |            }
 3369|       |            buffer = new_buffer;
 3370|       |#ifndef NDEBUG
 3371|       |            buffer[buflen - 1] = '#';
 3372|       |#endif
 3373|       |            len = strerror_r(code, buffer, buflen);
 3374|       |        }
 3375|       |    }
 3376|       |    else {
 3377|       |        buffer = small_buffer;
 3378|       |    }
 3379|       |
 3380|       |    // strerror_r() always writes a trailing NUL byte
 3381|       |    assert(memchr(buffer, 0, buflen) != NULL);
 3382|       |    PyObject *result = PyUnicode_DecodeLocale(buffer, errors);
 3383|       |    if (buffer != small_buffer) {
 3384|       |        PyMem_Free(buffer);
 3385|       |    }
 3386|       |    return result;
 3387|       |
 3388|       |#else
 3389|       |    // strerror() implementation (usually not thread-safe)
 3390|       |    char *message = strerror(code);
 3391|       |    if (message == NULL) {
 3392|       |        PyErr_SetString(PyExc_ValueError,
 3393|       |                        "strerror() argument out of range");
 3394|       |        return NULL;
 3395|       |    }
 3396|       |    return PyUnicode_DecodeLocale(message, errors);
 3397|       |#endif
 3398|     44|}
fileutils.c:_Py_mbstowcs:
  179|     88|{
  180|     88|    size_t count = mbstowcs(dest, src, n);
  181|     88|    if (dest != NULL && count != DECODE_ERROR) {
  ------------------
  |  Branch (181:9): [True: 44, False: 44]
  |  Branch (181:25): [True: 44, False: 0]
  ------------------
  182|  1.14k|        for (size_t i=0; i < count; i++) {
  ------------------
  |  Branch (182:26): [True: 1.10k, False: 44]
  ------------------
  183|  1.10k|            wchar_t ch = dest[i];
  184|  1.10k|            if (!is_valid_wide_char(ch)) {
  ------------------
  |  Branch (184:17): [True: 0, False: 1.10k]
  ------------------
  185|      0|                return DECODE_ERROR;
  186|      0|            }
  187|  1.10k|        }
  188|     44|    }
  189|     88|    return count;
  190|     88|}
fileutils.c:is_valid_wide_char:
  153|  1.10k|{
  154|       |#ifdef HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION
  155|       |    /* Oracle Solaris doesn't use Unicode code points as wchar_t encoding
  156|       |       for non-Unicode locales, which makes values higher than _Py_MAX_UNICODE
  157|       |       possibly valid. */
  158|       |    return 1;
  159|       |#endif
  160|  1.10k|    if (Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (160:9): [True: 0, False: 1.10k]
  ------------------
  161|       |        // Reject lone surrogate characters
  162|      0|        return 0;
  163|      0|    }
  164|  1.10k|#if SIZEOF_WCHAR_T > 2
  165|  1.10k|    if (ch > _Py_MAX_UNICODE) {
  ------------------
  |  |   18|  1.10k|#define _Py_MAX_UNICODE 0x10ffff
  ------------------
  |  Branch (165:9): [True: 0, False: 1.10k]
  ------------------
  166|       |        // bpo-35883: Reject characters outside [U+0000; U+10ffff] range.
  167|       |        // The glibc mbstowcs() UTF-8 decoder does not respect the RFC 3629,
  168|       |        // it creates characters outside the [U+0000; U+10ffff] range:
  169|       |        // https://sourceware.org/bugzilla/show_bug.cgi?id=2373
  170|      0|        return 0;
  171|      0|    }
  172|  1.10k|#endif
  173|  1.10k|    return 1;
  174|  1.10k|}
fileutils.c:decode_locale_impl:
  630|    704|{
  631|    704|    if (current_locale) {
  ------------------
  |  Branch (631:9): [True: 44, False: 660]
  ------------------
  632|       |#ifdef _Py_FORCE_UTF8_LOCALE
  633|       |        return _Py_DecodeUTF8(arg, strlen(arg), wstr, wlen, errors);
  634|       |#else
  635|     44|        return decode_current_locale(arg, wstr, wlen, errors);
  636|     44|#endif
  637|     44|    }
  638|       |
  639|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
  640|       |    return _Py_DecodeUTF8(arg, strlen(arg), wstr, wlen, errors);
  641|       |#else
  642|    660|    int use_utf8 = (_PyRuntime.preconfig.utf8_mode >= 1);
  643|       |#ifdef MS_WINDOWS
  644|       |    use_utf8 |= (_PyRuntime.preconfig.legacy_windows_fs_encoding == 0);
  645|       |#endif
  646|    660|    if (use_utf8) {
  ------------------
  |  Branch (646:9): [True: 660, False: 0]
  ------------------
  647|    660|        return _Py_DecodeUTF8(arg, strlen(arg), wstr, wlen, errors);
  648|    660|    }
  649|       |
  650|      0|#ifdef USE_FORCE_ASCII
  651|      0|    if (force_ascii == -1) {
  ------------------
  |  |  241|      0|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  ------------------
  |  Branch (651:9): [True: 0, False: 0]
  ------------------
  652|      0|        force_ascii = check_force_ascii();
  ------------------
  |  |  241|      0|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  ------------------
  653|      0|    }
  654|       |
  655|      0|    if (force_ascii) {
  ------------------
  |  |  241|      0|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  |  |  ------------------
  |  |  |  Branch (241:21): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  656|       |        /* force ASCII encoding to workaround mbstowcs() issue */
  657|      0|        return decode_ascii(arg, wstr, wlen, errors);
  658|      0|    }
  659|      0|#endif
  660|       |
  661|      0|    return decode_current_locale(arg, wstr, wlen, errors);
  662|      0|#endif   /* !_Py_FORCE_UTF8_FS_ENCODING */
  663|      0|}
fileutils.c:get_surrogateescape:
   69|     44|{
   70|     44|    switch (errors)
   71|     44|    {
   72|      0|    case _Py_ERROR_STRICT:
  ------------------
  |  Branch (72:5): [True: 0, False: 44]
  ------------------
   73|      0|        *surrogateescape = 0;
   74|      0|        return 0;
   75|     44|    case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (75:5): [True: 44, False: 0]
  ------------------
   76|     44|        *surrogateescape = 1;
   77|     44|        return 0;
   78|      0|    default:
  ------------------
  |  Branch (78:5): [True: 0, False: 44]
  ------------------
   79|      0|        return -1;
   80|     44|    }
   81|     44|}
fileutils.c:encode_locale:
  997|     10|{
  998|     10|    char *str;
  999|     10|    size_t unused_output_length;
 1000|     10|    int res = encode_locale_impl(text, &str, &unused_output_length,
 1001|     10|                                 error_pos, raw_malloc, current_locale,
 1002|     10|                                 _Py_ERROR_SURROGATEESCAPE);
 1003|     10|    if (res != 0) {
  ------------------
  |  Branch (1003:9): [True: 0, False: 10]
  ------------------
 1004|      0|        assert(res == _Py_CODEC_MEMORY_ERROR || res == _Py_CODEC_ENCODE_ERROR);
  ------------------
  |  Branch (1004:9): [True: 0, False: 0]
  |  Branch (1004:9): [True: 0, False: 0]
  ------------------
 1005|      0|        if (res == _Py_CODEC_MEMORY_ERROR && error_pos != NULL) {
  ------------------
  |  |  188|      0|#define _Py_CODEC_MEMORY_ERROR -1
  ------------------
  |  Branch (1005:13): [True: 0, False: 0]
  |  Branch (1005:46): [True: 0, False: 0]
  ------------------
 1006|      0|            *error_pos = (size_t)-1;
 1007|      0|        }
 1008|      0|        return NULL;
 1009|      0|    }
 1010|     10|    return str;
 1011|     10|}
fileutils.c:encode_locale_impl:
  968|     92|{
  969|     92|    assert(text != NULL);
  ------------------
  |  Branch (969:5): [True: 92, False: 0]
  ------------------
  970|     92|    assert(str != NULL);
  ------------------
  |  Branch (970:5): [True: 92, False: 0]
  ------------------
  971|     92|    assert(output_length != NULL);
  ------------------
  |  Branch (971:5): [True: 92, False: 0]
  ------------------
  972|       |
  973|     92|    int res = encode_locale_inner(text, str, output_length,
  974|     92|                                  error_pos, raw_malloc,
  975|     92|                                  current_locale, errors);
  976|     92|    if (res < 0) {
  ------------------
  |  Branch (976:9): [True: 0, False: 92]
  ------------------
  977|       |        // Error
  978|      0|        *str = NULL;
  979|      0|        *output_length = 0;
  980|      0|        if (res != _Py_CODEC_ENCODE_ERROR) {
  ------------------
  |  |  190|      0|#define _Py_CODEC_ENCODE_ERROR -2
  ------------------
  |  Branch (980:13): [True: 0, False: 0]
  ------------------
  981|      0|            if (error_pos) {
  ------------------
  |  Branch (981:17): [True: 0, False: 0]
  ------------------
  982|      0|                *error_pos = 0;
  983|      0|            }
  984|      0|        }
  985|      0|    }
  986|     92|    else {
  987|     92|        assert(*str != NULL);
  ------------------
  |  Branch (987:9): [True: 92, False: 0]
  ------------------
  988|     92|        assert(*output_length == strlen(*str));
  ------------------
  |  Branch (988:9): [True: 92, False: 0]
  ------------------
  989|       |        // *error_pos is left unchanged
  990|     92|    }
  991|     92|    return res;
  992|     92|}
fileutils.c:encode_locale_inner:
  902|     92|{
  903|     92|    if (current_locale) {
  ------------------
  |  Branch (903:9): [True: 0, False: 92]
  ------------------
  904|       |#ifdef _Py_FORCE_UTF8_LOCALE
  905|       |        return _Py_EncodeUTF8(text, str, output_length,
  906|       |                              error_pos, raw_malloc, errors);
  907|       |#else
  908|      0|        return encode_current_locale(text, str, output_length,
  909|      0|                                     error_pos, raw_malloc, errors);
  910|      0|#endif
  911|      0|    }
  912|       |
  913|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
  914|       |    return _Py_EncodeUTF8(text, str, output_length,
  915|       |                          error_pos, raw_malloc, errors);
  916|       |#else
  917|     92|    int use_utf8 = (_PyRuntime.preconfig.utf8_mode >= 1);
  918|       |#ifdef MS_WINDOWS
  919|       |    use_utf8 |= (_PyRuntime.preconfig.legacy_windows_fs_encoding == 0);
  920|       |#endif
  921|     92|    if (use_utf8) {
  ------------------
  |  Branch (921:9): [True: 92, False: 0]
  ------------------
  922|     92|        return _Py_EncodeUTF8(text, str, output_length,
  923|     92|                              error_pos, raw_malloc, errors);
  924|     92|    }
  925|       |
  926|      0|#ifdef USE_FORCE_ASCII
  927|      0|    if (force_ascii == -1) {
  ------------------
  |  |  241|      0|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  ------------------
  |  Branch (927:9): [True: 0, False: 0]
  ------------------
  928|      0|        force_ascii = check_force_ascii();
  ------------------
  |  |  241|      0|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  ------------------
  929|      0|    }
  930|       |
  931|      0|    if (force_ascii) {
  ------------------
  |  |  241|      0|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  |  |  ------------------
  |  |  |  Branch (241:21): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  932|      0|        return encode_ascii(text, str, output_length,
  933|      0|                            error_pos, raw_malloc, errors);
  934|      0|    }
  935|      0|#endif
  936|       |
  937|      0|    return encode_current_locale(text, str, output_length,
  938|      0|                                 error_pos, raw_malloc, errors);
  939|      0|#endif   /* _Py_FORCE_UTF8_FS_ENCODING */
  940|      0|}
fileutils.c:decode_current_locale:
  509|     44|{
  510|     44|    assert(arg != NULL);
  ------------------
  |  Branch (510:5): [True: 44, False: 0]
  ------------------
  511|     44|    assert(wstr != NULL);
  ------------------
  |  Branch (511:5): [True: 44, False: 0]
  ------------------
  512|       |
  513|     44|    int surrogateescape;
  514|     44|    if (get_surrogateescape(errors, &surrogateescape) < 0) {
  ------------------
  |  Branch (514:9): [True: 0, False: 44]
  ------------------
  515|       |        // Only support "strict" and "surrogateescape"
  516|      0|        return _Py_CODEC_UNSUPPORTED_ERROR_HANDLER;
  ------------------
  |  |  191|      0|#define _Py_CODEC_UNSUPPORTED_ERROR_HANDLER -3
  ------------------
  517|      0|    }
  518|       |
  519|       |#ifdef HAVE_BROKEN_MBSTOWCS
  520|       |    /* Some platforms have a broken implementation of
  521|       |     * mbstowcs which does not count the characters that
  522|       |     * would result from conversion.  Use an upper bound.
  523|       |     */
  524|       |    size_t argsize = strlen(arg);
  525|       |#else
  526|     44|    size_t argsize = _Py_mbstowcs(NULL, arg, 0);
  527|     44|#endif
  528|     44|    wchar_t *res;
  529|     44|    if (argsize != DECODE_ERROR) {
  ------------------
  |  Branch (529:9): [True: 44, False: 0]
  ------------------
  530|     44|        if (argsize > PY_SSIZE_T_MAX / sizeof(wchar_t) - 1) {
  ------------------
  |  |  137|     44|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (530:13): [True: 0, False: 44]
  ------------------
  531|      0|            return _Py_CODEC_MEMORY_ERROR;
  ------------------
  |  |  188|      0|#define _Py_CODEC_MEMORY_ERROR -1
  ------------------
  532|      0|        }
  533|     44|        res = (wchar_t *)PyMem_RawMalloc((argsize + 1) * sizeof(wchar_t));
  534|     44|        if (!res) {
  ------------------
  |  Branch (534:13): [True: 0, False: 44]
  ------------------
  535|      0|            return _Py_CODEC_MEMORY_ERROR;
  ------------------
  |  |  188|      0|#define _Py_CODEC_MEMORY_ERROR -1
  ------------------
  536|      0|        }
  537|       |
  538|       |        // +1 to write also the trailing NUL character
  539|     44|        size_t count = _Py_mbstowcs(res, arg, argsize + 1);
  540|     44|        if (count != DECODE_ERROR) {
  ------------------
  |  Branch (540:13): [True: 44, False: 0]
  ------------------
  541|       |            // String decoded successfully.
  542|       |
  543|       |            // gh-158893: This assertion can fail if the input string was
  544|       |            // mutated during this function call. For example, the assertion
  545|       |            // fails on decoding strerror() result if another thread mutated
  546|       |            // the string in-place by calling strerror() in parallel.
  547|     44|            assert(count == argsize);
  ------------------
  |  Branch (547:13): [True: 44, False: 0]
  ------------------
  548|       |
  549|     44|            *wstr = res;
  550|     44|            if (wlen != NULL) {
  ------------------
  |  Branch (550:17): [True: 44, False: 0]
  ------------------
  551|     44|                *wlen = count;
  552|     44|            }
  553|     44|            return 0;
  554|     44|        }
  555|      0|        PyMem_RawFree(res);
  556|      0|    }
  557|       |
  558|       |    /* Conversion failed. Fall back to escaping with surrogateescape. */
  559|      0|#ifdef HAVE_MBRTOWC
  560|       |    /* Try conversion with mbrtwoc (C99), and escape non-decodable bytes. */
  561|       |
  562|       |    /* Overallocate; as multi-byte characters are in the argument, the
  563|       |       actual output could use less memory. */
  564|      0|    argsize = strlen(arg) + 1;
  565|      0|    if (argsize > PY_SSIZE_T_MAX / sizeof(wchar_t)) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (565:9): [True: 0, False: 0]
  ------------------
  566|      0|        return _Py_CODEC_MEMORY_ERROR;
  ------------------
  |  |  188|      0|#define _Py_CODEC_MEMORY_ERROR -1
  ------------------
  567|      0|    }
  568|      0|    res = (wchar_t*)PyMem_RawMalloc(argsize * sizeof(wchar_t));
  569|      0|    if (!res) {
  ------------------
  |  Branch (569:9): [True: 0, False: 0]
  ------------------
  570|      0|        return _Py_CODEC_MEMORY_ERROR;
  ------------------
  |  |  188|      0|#define _Py_CODEC_MEMORY_ERROR -1
  ------------------
  571|      0|    }
  572|       |
  573|      0|    unsigned char *in = (unsigned char*)arg;
  574|      0|    wchar_t *out = res;
  575|      0|    mbstate_t mbs;
  576|      0|    memset(&mbs, 0, sizeof mbs);
  577|      0|    while (argsize) {
  ------------------
  |  Branch (577:12): [True: 0, False: 0]
  ------------------
  578|      0|        size_t converted = _Py_mbrtowc(out, (char*)in, argsize, &mbs);
  579|      0|        if (converted == 0) {
  ------------------
  |  Branch (579:13): [True: 0, False: 0]
  ------------------
  580|       |            /* Reached end of string; null char stored. */
  581|      0|            break;
  582|      0|        }
  583|       |
  584|      0|        if (converted == DECODE_ERROR || converted == INCOMPLETE_CHARACTER) {
  ------------------
  |  Branch (584:13): [True: 0, False: 0]
  |  Branch (584:42): [True: 0, False: 0]
  ------------------
  585|      0|            if (!surrogateescape) {
  ------------------
  |  Branch (585:17): [True: 0, False: 0]
  ------------------
  586|      0|                goto decode_error;
  587|      0|            }
  588|       |
  589|       |            /* Decoding error. Escape as UTF-8b, and start over in the initial
  590|       |               shift state. */
  591|      0|            *out++ = 0xdc00 + *in++;
  592|      0|            argsize--;
  593|      0|            memset(&mbs, 0, sizeof mbs);
  594|      0|            continue;
  595|      0|        }
  596|       |
  597|       |        // _Py_mbrtowc() reject lone surrogate characters
  598|      0|        assert(!Py_UNICODE_IS_SURROGATE(*out));
  ------------------
  |  Branch (598:9): [True: 0, False: 0]
  ------------------
  599|       |
  600|       |        /* successfully converted some bytes */
  601|      0|        in += converted;
  602|      0|        argsize -= converted;
  603|      0|        out++;
  604|      0|    }
  605|      0|    if (wlen != NULL) {
  ------------------
  |  Branch (605:9): [True: 0, False: 0]
  ------------------
  606|      0|        *wlen = out - res;
  607|      0|        assert(res[*wlen] == 0);
  ------------------
  |  Branch (607:9): [True: 0, False: 0]
  ------------------
  608|      0|    }
  609|      0|    *wstr = res;
  610|      0|    return 0;
  611|       |
  612|      0|decode_error:
  613|      0|    PyMem_RawFree(res);
  614|      0|    if (wlen) {
  ------------------
  |  Branch (614:9): [True: 0, False: 0]
  ------------------
  615|      0|        *wlen = in - (unsigned char*)arg;
  616|      0|    }
  617|      0|    return _Py_CODEC_DECODE_ERROR;
  ------------------
  |  |  189|      0|#define _Py_CODEC_DECODE_ERROR -2
  ------------------
  618|       |#else   /* HAVE_MBRTOWC */
  619|       |    /* Cannot use C locale for escaping; manually escape as if charset
  620|       |       is ASCII (i.e. escape all bytes > 128. This will still roundtrip
  621|       |       correctly in the locale's charset, which must be an ASCII superset. */
  622|       |    return decode_ascii(arg, wstr, wlen, errors);
  623|       |#endif   /* HAVE_MBRTOWC */
  624|      0|}
fileutils.c:_Py_EncodeLocaleRaw:
 1038|     10|{
 1039|     10|    return encode_locale(text, error_pos, 1, 0);
 1040|     10|}
fileutils.c:get_inheritable:
 1558|      2|{
 1559|       |#ifdef MS_WINDOWS
 1560|       |    HANDLE handle;
 1561|       |    DWORD flags;
 1562|       |
 1563|       |    handle = _Py_get_osfhandle_noraise(fd);
 1564|       |    if (handle == INVALID_HANDLE_VALUE) {
 1565|       |        if (raise)
 1566|       |            PyErr_SetFromErrno(PyExc_OSError);
 1567|       |        return -1;
 1568|       |    }
 1569|       |
 1570|       |    if (!GetHandleInformation(handle, &flags)) {
 1571|       |        if (raise)
 1572|       |            PyErr_SetFromWindowsErr(0);
 1573|       |        return -1;
 1574|       |    }
 1575|       |
 1576|       |    return (flags & HANDLE_FLAG_INHERIT);
 1577|       |#else
 1578|      2|    int flags;
 1579|       |
 1580|      2|    flags = fcntl(fd, F_GETFD, 0);
 1581|      2|    if (flags == -1) {
  ------------------
  |  Branch (1581:9): [True: 0, False: 2]
  ------------------
 1582|      0|        if (raise)
  ------------------
  |  Branch (1582:13): [True: 0, False: 0]
  ------------------
 1583|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1584|      0|        return -1;
 1585|      0|    }
 1586|      2|    return !(flags & FD_CLOEXEC);
 1587|      2|#endif
 1588|      2|}
fileutils.c:set_inheritable:
 1603|     27|{
 1604|       |#ifdef MS_WINDOWS
 1605|       |    HANDLE handle;
 1606|       |    DWORD flags;
 1607|       |#else
 1608|     27|#if defined(HAVE_SYS_IOCTL_H) && defined(FIOCLEX) && defined(FIONCLEX)
 1609|     27|    static int ioctl_works = -1;
 1610|     27|    int request;
 1611|     27|    int err;
 1612|     27|#endif
 1613|     27|    int flags, new_flags;
 1614|     27|    int res;
 1615|     27|#endif
 1616|       |
 1617|       |    /* atomic_flag_works can only be used to make the file descriptor
 1618|       |       non-inheritable */
 1619|     27|    assert(!(atomic_flag_works != NULL && inheritable));
  ------------------
  |  Branch (1619:5): [True: 27, False: 0]
  |  Branch (1619:5): [True: 0, False: 27]
  ------------------
 1620|       |
 1621|     27|    if (atomic_flag_works != NULL && !inheritable) {
  ------------------
  |  Branch (1621:9): [True: 27, False: 0]
  |  Branch (1621:38): [True: 27, False: 0]
  ------------------
 1622|     27|        if (_Py_atomic_load_int_relaxed(atomic_flag_works) == -1) {
  ------------------
  |  Branch (1622:13): [True: 2, False: 25]
  ------------------
 1623|      2|            int isInheritable = get_inheritable(fd, raise);
 1624|      2|            if (isInheritable == -1)
  ------------------
  |  Branch (1624:17): [True: 0, False: 2]
  ------------------
 1625|      0|                return -1;
 1626|      2|            _Py_atomic_store_int_relaxed(atomic_flag_works, !isInheritable);
 1627|      2|        }
 1628|       |
 1629|     27|        if (_Py_atomic_load_int_relaxed(atomic_flag_works))
  ------------------
  |  Branch (1629:13): [True: 27, False: 0]
  ------------------
 1630|     27|            return 0;
 1631|     27|    }
 1632|       |
 1633|       |#ifdef MS_WINDOWS
 1634|       |    handle = _Py_get_osfhandle_noraise(fd);
 1635|       |    if (handle == INVALID_HANDLE_VALUE) {
 1636|       |        if (raise)
 1637|       |            PyErr_SetFromErrno(PyExc_OSError);
 1638|       |        return -1;
 1639|       |    }
 1640|       |
 1641|       |    if (inheritable)
 1642|       |        flags = HANDLE_FLAG_INHERIT;
 1643|       |    else
 1644|       |        flags = 0;
 1645|       |
 1646|       |    if (!SetHandleInformation(handle, HANDLE_FLAG_INHERIT, flags)) {
 1647|       |        if (raise)
 1648|       |            PyErr_SetFromWindowsErr(0);
 1649|       |        return -1;
 1650|       |    }
 1651|       |    return 0;
 1652|       |
 1653|       |#else
 1654|       |
 1655|      0|#if defined(HAVE_SYS_IOCTL_H) && defined(FIOCLEX) && defined(FIONCLEX)
 1656|      0|    if (raise != 0 && _Py_atomic_load_int_relaxed(&ioctl_works) != 0) {
  ------------------
  |  Branch (1656:9): [True: 0, False: 0]
  |  Branch (1656:23): [True: 0, False: 0]
  ------------------
 1657|       |        /* fast-path: ioctl() only requires one syscall */
 1658|       |        /* caveat: raise=0 is an indicator that we must be async-signal-safe
 1659|       |         * thus avoid using ioctl() so we skip the fast-path. */
 1660|      0|        if (inheritable)
  ------------------
  |  Branch (1660:13): [True: 0, False: 0]
  ------------------
 1661|      0|            request = FIONCLEX;
 1662|      0|        else
 1663|      0|            request = FIOCLEX;
 1664|      0|        err = ioctl(fd, request, NULL);
 1665|      0|        if (!err) {
  ------------------
  |  Branch (1665:13): [True: 0, False: 0]
  ------------------
 1666|      0|            if (_Py_atomic_load_int_relaxed(&ioctl_works) == -1) {
  ------------------
  |  Branch (1666:17): [True: 0, False: 0]
  ------------------
 1667|      0|                _Py_atomic_store_int_relaxed(&ioctl_works, 1);
 1668|      0|            }
 1669|      0|            return 0;
 1670|      0|        }
 1671|       |
 1672|      0|#ifdef O_PATH
 1673|      0|        if (errno == EBADF) {
  ------------------
  |  Branch (1673:13): [True: 0, False: 0]
  ------------------
 1674|       |            // bpo-44849: On Linux and FreeBSD, ioctl(FIOCLEX) fails with EBADF
 1675|       |            // on O_PATH file descriptors. Fall through to the fcntl()
 1676|       |            // implementation.
 1677|      0|        }
 1678|      0|        else
 1679|      0|#endif
 1680|      0|        if (errno != ENOTTY && errno != EACCES) {
  ------------------
  |  Branch (1680:13): [True: 0, False: 0]
  |  Branch (1680:32): [True: 0, False: 0]
  ------------------
 1681|      0|            if (raise)
  ------------------
  |  Branch (1681:17): [True: 0, False: 0]
  ------------------
 1682|      0|                PyErr_SetFromErrno(PyExc_OSError);
 1683|      0|            return -1;
 1684|      0|        }
 1685|      0|        else {
 1686|       |            /* Issue #22258: Here, ENOTTY means "Inappropriate ioctl for
 1687|       |               device". The ioctl is declared but not supported by the kernel.
 1688|       |               Remember that ioctl() doesn't work. It is the case on
 1689|       |               Illumos-based OS for example.
 1690|       |
 1691|       |               Issue #27057: When SELinux policy disallows ioctl it will fail
 1692|       |               with EACCES. While FIOCLEX is safe operation it may be
 1693|       |               unavailable because ioctl was denied altogether.
 1694|       |               This can be the case on Android. */
 1695|      0|            _Py_atomic_store_int_relaxed(&ioctl_works, 0);
 1696|      0|        }
 1697|       |        /* fallback to fcntl() if ioctl() does not work */
 1698|      0|    }
 1699|      0|#endif
 1700|       |
 1701|       |    /* slow-path: fcntl() requires two syscalls */
 1702|      0|    flags = fcntl(fd, F_GETFD);
 1703|      0|    if (flags < 0) {
  ------------------
  |  Branch (1703:9): [True: 0, False: 0]
  ------------------
 1704|      0|        if (raise)
  ------------------
  |  Branch (1704:13): [True: 0, False: 0]
  ------------------
 1705|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1706|      0|        return -1;
 1707|      0|    }
 1708|       |
 1709|      0|    if (inheritable) {
  ------------------
  |  Branch (1709:9): [True: 0, False: 0]
  ------------------
 1710|      0|        new_flags = flags & ~FD_CLOEXEC;
 1711|      0|    }
 1712|      0|    else {
 1713|      0|        new_flags = flags | FD_CLOEXEC;
 1714|      0|    }
 1715|       |
 1716|      0|    if (new_flags == flags) {
  ------------------
  |  Branch (1716:9): [True: 0, False: 0]
  ------------------
 1717|       |        /* FD_CLOEXEC flag already set/cleared: nothing to do */
 1718|      0|        return 0;
 1719|      0|    }
 1720|       |
 1721|      0|    res = fcntl(fd, F_SETFD, new_flags);
 1722|      0|    if (res < 0) {
  ------------------
  |  Branch (1722:9): [True: 0, False: 0]
  ------------------
 1723|      0|        if (raise)
  ------------------
  |  Branch (1723:13): [True: 0, False: 0]
  ------------------
 1724|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1725|      0|        return -1;
 1726|      0|    }
 1727|      0|    return 0;
 1728|      0|#endif
 1729|      0|}
fileutils.c:_Py_write_impl:
 2081|     50|{
 2082|     50|    Py_ssize_t n;
 2083|     50|    int err;
 2084|     50|    int async_err = 0;
 2085|       |
 2086|     50|    _Py_BEGIN_SUPPRESS_IPH
 2087|       |#ifdef MS_WINDOWS
 2088|       |    if (count > 32767) {
 2089|       |        /* Issue #11395: the Windows console returns an error (12: not
 2090|       |           enough space error) on writing into stdout if stdout mode is
 2091|       |           binary and the length is greater than 66,000 bytes (or less,
 2092|       |           depending on heap usage). */
 2093|       |        if (gil_held) {
 2094|       |            Py_BEGIN_ALLOW_THREADS
 2095|       |            if (isatty(fd)) {
 2096|       |                count = 32767;
 2097|       |            }
 2098|       |            Py_END_ALLOW_THREADS
 2099|       |        } else {
 2100|       |            if (isatty(fd)) {
 2101|       |                count = 32767;
 2102|       |            }
 2103|       |        }
 2104|       |    }
 2105|       |
 2106|       |#endif
 2107|     50|    if (count > _PY_WRITE_MAX) {
  ------------------
  |  |   55|     50|#   define _PY_WRITE_MAX PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|     50|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (2107:9): [True: 0, False: 50]
  ------------------
 2108|      0|        count = _PY_WRITE_MAX;
  ------------------
  |  |   55|      0|#   define _PY_WRITE_MAX PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
 2109|      0|    }
 2110|       |
 2111|     50|    if (gil_held) {
  ------------------
  |  Branch (2111:9): [True: 50, False: 0]
  ------------------
 2112|     50|        do {
 2113|     50|            Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|     50|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|     50|                        PyThreadState *_save; \
  |  |  119|     50|                        _save = PyEval_SaveThread();
  ------------------
 2114|     50|            errno = 0;
 2115|       |#ifdef MS_WINDOWS
 2116|       |            // write() on a non-blocking pipe fails with ENOSPC on Windows if
 2117|       |            // the pipe lacks available space for the entire buffer.
 2118|       |            int c = (int)count;
 2119|       |            do {
 2120|       |                _doserrno = 0;
 2121|       |                n = write(fd, buf, c);
 2122|       |                if (n >= 0 || errno != ENOSPC || _doserrno != 0) {
 2123|       |                    break;
 2124|       |                }
 2125|       |                errno = EAGAIN;
 2126|       |                c /= 2;
 2127|       |            } while (c > 0);
 2128|       |#else
 2129|     50|            n = write(fd, buf, count);
 2130|     50|#endif
 2131|       |            /* save/restore errno because PyErr_CheckSignals()
 2132|       |             * and PyErr_SetFromErrno() can modify it */
 2133|     50|            err = errno;
 2134|     50|            Py_END_ALLOW_THREADS
  ------------------
  |  |  122|     50|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|     50|                 }
  ------------------
 2135|     50|        } while (n < 0 && err == EINTR &&
  ------------------
  |  Branch (2135:18): [True: 0, False: 50]
  |  Branch (2135:27): [True: 0, False: 0]
  ------------------
 2136|      0|                !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (2136:17): [True: 0, False: 0]
  ------------------
 2137|     50|    }
 2138|      0|    else {
 2139|      0|        do {
 2140|      0|            errno = 0;
 2141|       |#ifdef MS_WINDOWS
 2142|       |            // write() on a non-blocking pipe fails with ENOSPC on Windows if
 2143|       |            // the pipe lacks available space for the entire buffer.
 2144|       |            int c = (int)count;
 2145|       |            do {
 2146|       |                _doserrno = 0;
 2147|       |                n = write(fd, buf, c);
 2148|       |                if (n >= 0 || errno != ENOSPC || _doserrno != 0) {
 2149|       |                    break;
 2150|       |                }
 2151|       |                errno = EAGAIN;
 2152|       |                c /= 2;
 2153|       |            } while (c > 0);
 2154|       |#else
 2155|      0|            n = write(fd, buf, count);
 2156|      0|#endif
 2157|      0|            err = errno;
 2158|      0|        } while (n < 0 && err == EINTR);
  ------------------
  |  Branch (2158:18): [True: 0, False: 0]
  |  Branch (2158:27): [True: 0, False: 0]
  ------------------
 2159|      0|    }
 2160|     50|    _Py_END_SUPPRESS_IPH
 2161|       |
 2162|     50|    if (async_err) {
  ------------------
  |  Branch (2162:9): [True: 0, False: 50]
  ------------------
 2163|       |        /* write() was interrupted by a signal (failed with EINTR)
 2164|       |           and the Python signal handler raised an exception (if gil_held is
 2165|       |           nonzero). */
 2166|      0|        errno = err;
 2167|      0|        assert(errno == EINTR && (!gil_held || PyErr_Occurred()));
  ------------------
  |  Branch (2167:9): [True: 0, False: 0]
  |  Branch (2167:9): [True: 0, False: 0]
  |  Branch (2167:9): [True: 0, False: 0]
  ------------------
 2168|      0|        return -1;
 2169|      0|    }
 2170|     50|    if (n < 0) {
  ------------------
  |  Branch (2170:9): [True: 0, False: 50]
  ------------------
 2171|      0|        if (gil_held)
  ------------------
  |  Branch (2171:13): [True: 0, False: 0]
  ------------------
 2172|      0|            PyErr_SetFromErrno(PyExc_OSError);
 2173|      0|        errno = err;
 2174|      0|        return -1;
 2175|      0|    }
 2176|       |
 2177|     50|    return n;
 2178|     50|}
fileutils.c:join_relfile:
 2560|     24|{
 2561|       |#ifdef MS_WINDOWS
 2562|       |    if (FAILED(PathCchCombineEx(buffer, bufsize, dirname, relfile,
 2563|       |        PATHCCH_ALLOW_LONG_PATHS))) {
 2564|       |        return -1;
 2565|       |    }
 2566|       |#else
 2567|     24|    assert(!_Py_isabs(relfile));
  ------------------
  |  Branch (2567:5): [True: 24, False: 0]
  ------------------
 2568|     24|    size_t dirlen = wcslen(dirname);
 2569|     24|    size_t rellen = wcslen(relfile);
 2570|     24|    size_t maxlen = bufsize - 1;
 2571|     24|    if (maxlen > MAXPATHLEN || dirlen >= maxlen || rellen >= maxlen - dirlen) {
  ------------------
  |  |   43|     48|#    define MAXPATHLEN PATH_MAX
  ------------------
  |  Branch (2571:9): [True: 0, False: 24]
  |  Branch (2571:32): [True: 0, False: 24]
  |  Branch (2571:52): [True: 0, False: 24]
  ------------------
 2572|      0|        return -1;
 2573|      0|    }
 2574|     24|    if (dirlen == 0) {
  ------------------
  |  Branch (2574:9): [True: 0, False: 24]
  ------------------
 2575|       |        // We do not add a leading separator.
 2576|      0|        wcscpy(buffer, relfile);
 2577|      0|    }
 2578|     24|    else {
 2579|     24|        if (dirname != buffer) {
  ------------------
  |  Branch (2579:13): [True: 0, False: 24]
  ------------------
 2580|      0|            wcscpy(buffer, dirname);
 2581|      0|        }
 2582|     24|        size_t relstart = dirlen;
 2583|     24|        if (dirlen > 1 && dirname[dirlen - 1] != SEP) {
  ------------------
  |  |   29|     24|#  define SEP L'/'
  ------------------
  |  Branch (2583:13): [True: 24, False: 0]
  |  Branch (2583:27): [True: 24, False: 0]
  ------------------
 2584|     24|            buffer[dirlen] = SEP;
  ------------------
  |  |   29|     24|#  define SEP L'/'
  ------------------
 2585|     24|            relstart += 1;
 2586|     24|        }
 2587|     24|        wcscpy(&buffer[relstart], relfile);
 2588|     24|    }
 2589|     24|#endif
 2590|     24|    return 0;
 2591|     24|}

_PyCfgBuilder_New:
  440|      4|{
  441|      4|    cfg_builder *g = PyMem_Malloc(sizeof(cfg_builder));
  442|      4|    if (g == NULL) {
  ------------------
  |  Branch (442:9): [True: 0, False: 4]
  ------------------
  443|      0|        PyErr_NoMemory();
  444|      0|        return NULL;
  445|      0|    }
  446|      4|    memset(g, 0, sizeof(cfg_builder));
  447|      4|    if (init_cfg_builder(g) < 0) {
  ------------------
  |  Branch (447:9): [True: 0, False: 4]
  ------------------
  448|      0|        PyMem_Free(g);
  449|      0|        return NULL;
  450|      0|    }
  451|      4|    return g;
  452|      4|}
_PyCfgBuilder_Free:
  456|      4|{
  457|      4|    if (g == NULL) {
  ------------------
  |  Branch (457:9): [True: 0, False: 4]
  ------------------
  458|      0|        return;
  459|      0|    }
  460|      4|    assert(cfg_builder_check(g));
  ------------------
  |  Branch (460:5): [True: 4, False: 0]
  ------------------
  461|      4|    basicblock *b = g->g_block_list;
  462|     10|    while (b != NULL) {
  ------------------
  |  Branch (462:12): [True: 6, False: 4]
  ------------------
  463|      6|        if (b->b_instr) {
  ------------------
  |  Branch (463:13): [True: 6, False: 0]
  ------------------
  464|      6|            PyMem_Free((void *)b->b_instr);
  465|      6|        }
  466|      6|        basicblock *next = b->b_list;
  467|      6|        PyMem_Free((void *)b);
  468|      6|        b = next;
  469|      6|    }
  470|      4|    PyMem_Free(g);
  471|      4|}
_PyCfgBuilder_CheckSize:
  475|      4|{
  476|      4|    int nblocks = 0;
  477|     10|    for (basicblock *b = g->g_block_list; b != NULL; b = b->b_list) {
  ------------------
  |  Branch (477:43): [True: 6, False: 4]
  ------------------
  478|      6|        nblocks++;
  479|      6|    }
  480|      4|    if ((size_t)nblocks > SIZE_MAX / sizeof(basicblock *)) {
  ------------------
  |  Branch (480:9): [True: 0, False: 4]
  ------------------
  481|      0|        PyErr_NoMemory();
  482|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  483|      0|    }
  484|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
  485|      4|}
_PyCfgBuilder_Addop:
  496|     35|{
  497|     35|    RETURN_IF_ERROR(cfg_builder_maybe_start_new_block(g));
  ------------------
  |  |   25|     35|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 35]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  498|       |    return basicblock_addop(g->g_curblock, opcode, oparg, loc, NULL);
  499|     35|}
_PyCfg_OptimizeCodeUnit:
 3803|      4|{
 3804|      4|    assert(cfg_builder_check(g));
  ------------------
  |  Branch (3804:5): [True: 4, False: 0]
  ------------------
 3805|      4|    assert(g->g_entryblock->b_iused > 0);
  ------------------
  |  Branch (3805:5): [True: 4, False: 0]
  ------------------
 3806|       |    /** Preprocessing **/
 3807|       |    /* Map labels to targets and mark exception handlers */
 3808|      4|    RETURN_IF_ERROR(translate_jump_labels_to_targets(g->g_entryblock));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3809|      4|    RETURN_IF_ERROR(mark_except_handlers(g->g_entryblock));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3810|      4|    RETURN_IF_ERROR(label_exception_targets(g->g_entryblock));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3811|       |
 3812|       |    /** Optimization **/
 3813|       |
 3814|      4|    _Py_hashtable_t *consts_index = _Py_hashtable_new(
 3815|      4|        _Py_hashtable_hash_ptr, _Py_hashtable_compare_direct);
 3816|      4|    if (consts_index == NULL) {
  ------------------
  |  Branch (3816:9): [True: 0, False: 4]
  ------------------
 3817|      0|        PyErr_NoMemory();
 3818|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3819|      0|    }
 3820|       |
 3821|      8|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(consts); i++) {
  ------------------
  |  |   38|      8|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3821:28): [True: 4, False: 4]
  ------------------
 3822|      4|        PyObject *item = PyList_GET_ITEM(consts, i);
  ------------------
  |  |   40|      4|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      4|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3822:26): [True: 4, False: 0]
  ------------------
 3823|      4|        if (_Py_hashtable_get_entry(consts_index, (void *)item) != NULL) {
  ------------------
  |  Branch (3823:13): [True: 0, False: 4]
  ------------------
 3824|      0|            continue;
 3825|      0|        }
 3826|      4|        if (_Py_hashtable_set(consts_index, (void *)item,
  ------------------
  |  Branch (3826:13): [True: 0, False: 4]
  ------------------
 3827|      4|                              (void *)(uintptr_t)i) < 0) {
 3828|      0|            _Py_hashtable_destroy(consts_index);
 3829|      0|            PyErr_NoMemory();
 3830|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3831|      0|        }
 3832|      4|    }
 3833|       |
 3834|      4|    int ret = optimize_cfg(g, consts, const_cache, consts_index, firstlineno);
 3835|       |
 3836|      4|    _Py_hashtable_destroy(consts_index);
 3837|       |
 3838|      4|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3839|       |
 3840|      4|    RETURN_IF_ERROR(remove_unused_consts(g->g_entryblock, consts));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3841|      4|    RETURN_IF_ERROR(
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3842|      4|        add_checks_for_loads_of_uninitialized_variables(
 3843|      4|            g->g_entryblock, nlocals, nparams));
 3844|      4|    RETURN_IF_ERROR(push_cold_blocks_to_end(g));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3845|      4|    RETURN_IF_ERROR(resolve_line_numbers(g, firstlineno));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3846|       |    // temporarily remove assert. See https://github.com/python/cpython/issues/125845
 3847|       |    // assert(all_exits_have_lineno(g->g_entryblock));
 3848|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 3849|      4|}
_PyCfg_FromInstructionSequence:
 4039|      4|{
 4040|      4|    if (_PyInstructionSequence_ApplyLabelMap(seq) < 0) {
  ------------------
  |  Branch (4040:9): [True: 0, False: 4]
  ------------------
 4041|      0|        return NULL;
 4042|      0|    }
 4043|      4|    cfg_builder *g = _PyCfgBuilder_New();
 4044|      4|    if (g == NULL) {
  ------------------
  |  Branch (4044:9): [True: 0, False: 4]
  ------------------
 4045|      0|        return NULL;
 4046|      0|    }
 4047|     41|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4047:21): [True: 37, False: 4]
  ------------------
 4048|     37|        seq->s_instrs[i].i_target = 0;
 4049|     37|    }
 4050|     41|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4050:21): [True: 37, False: 4]
  ------------------
 4051|     37|        _PyInstruction *instr = &seq->s_instrs[i];
 4052|     37|        if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|     37|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     74|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     37|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 37]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|     37|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     74|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 37]
  |  |  |  |  ------------------
  |  |  |  |   19|     37|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     74|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 37]
  |  |  |  |  ------------------
  |  |  |  |   20|     37|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     37|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 37]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4053|      0|            assert(instr->i_oparg >= 0 && instr->i_oparg < seq->s_used);
  ------------------
  |  Branch (4053:13): [True: 0, False: 0]
  |  Branch (4053:13): [True: 0, False: 0]
  ------------------
 4054|      0|            seq->s_instrs[instr->i_oparg].i_target = 1;
 4055|      0|        }
 4056|     37|    }
 4057|      4|    int offset = 0;
 4058|     41|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4058:21): [True: 37, False: 4]
  ------------------
 4059|     37|        _PyInstruction *instr = &seq->s_instrs[i];
 4060|     37|        if (instr->i_opcode == ANNOTATIONS_PLACEHOLDER) {
  ------------------
  |  |  244|     37|#define ANNOTATIONS_PLACEHOLDER                256
  ------------------
  |  Branch (4060:13): [True: 2, False: 35]
  ------------------
 4061|      2|            if (seq->s_annotations_code != NULL) {
  ------------------
  |  Branch (4061:17): [True: 0, False: 2]
  ------------------
 4062|      0|                assert(seq->s_annotations_code->s_labelmap_size == 0
  ------------------
  |  Branch (4062:17): [True: 0, False: 0]
  |  Branch (4062:17): [True: 0, False: 0]
  ------------------
 4063|      0|                    && seq->s_annotations_code->s_nested == NULL);
 4064|      0|                for (int j = 0; j < seq->s_annotations_code->s_used; j++) {
  ------------------
  |  Branch (4064:33): [True: 0, False: 0]
  ------------------
 4065|      0|                    _PyInstruction *ann_instr = &seq->s_annotations_code->s_instrs[j];
 4066|      0|                    assert(!HAS_TARGET(ann_instr->i_opcode));
  ------------------
  |  Branch (4066:21): [True: 0, False: 0]
  |  Branch (4066:21): [True: 0, False: 0]
  |  Branch (4066:21): [True: 0, False: 0]
  |  Branch (4066:21): [True: 0, False: 0]
  ------------------
 4067|      0|                    if (_PyCfgBuilder_Addop(g, ann_instr->i_opcode, ann_instr->i_oparg, ann_instr->i_loc) < 0) {
  ------------------
  |  Branch (4067:25): [True: 0, False: 0]
  ------------------
 4068|      0|                        goto error;
 4069|      0|                    }
 4070|      0|                }
 4071|      0|                offset += seq->s_annotations_code->s_used - 1;
 4072|      0|            }
 4073|      2|            else {
 4074|      2|                offset -= 1;
 4075|      2|            }
 4076|      2|            continue;
 4077|      2|        }
 4078|     35|        if (instr->i_target) {
  ------------------
  |  Branch (4078:13): [True: 0, False: 35]
  ------------------
 4079|      0|            jump_target_label lbl_ = {i + offset};
 4080|      0|            if (_PyCfgBuilder_UseLabel(g, lbl_) < 0) {
  ------------------
  |  Branch (4080:17): [True: 0, False: 0]
  ------------------
 4081|      0|                goto error;
 4082|      0|            }
 4083|      0|        }
 4084|     35|        int opcode = instr->i_opcode;
 4085|     35|        int oparg = instr->i_oparg;
 4086|     35|        if (HAS_TARGET(opcode)) {
  ------------------
  |  |   23|     35|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     70|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     35|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|     35|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     70|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  |  |   19|     35|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     70|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  |  |   20|     35|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     35|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4087|      0|            oparg += offset;
 4088|      0|        }
 4089|     35|        if (_PyCfgBuilder_Addop(g, opcode, oparg, instr->i_loc) < 0) {
  ------------------
  |  Branch (4089:13): [True: 0, False: 35]
  ------------------
 4090|      0|            goto error;
 4091|      0|        }
 4092|     35|    }
 4093|      4|    if (_PyCfgBuilder_CheckSize(g) < 0) {
  ------------------
  |  Branch (4093:9): [True: 0, False: 4]
  ------------------
 4094|      0|        goto error;
 4095|      0|    }
 4096|      4|    return g;
 4097|      0|error:
 4098|      0|    _PyCfgBuilder_Free(g);
 4099|       |    return NULL;
 4100|      4|}
_PyCfg_ToInstructionSequence:
 4104|      4|{
 4105|      4|    int lbl = 0;
 4106|     10|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (4106:43): [True: 6, False: 4]
  ------------------
 4107|      6|        b->b_label = (jump_target_label){lbl};
 4108|      6|        lbl += 1;
 4109|      6|    }
 4110|     10|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (4110:43): [True: 6, False: 4]
  ------------------
 4111|      6|        RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(seq, b->b_label.id));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4112|     30|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (4112:25): [True: 24, False: 6]
  ------------------
 4113|     24|            cfg_instr *instr = &b->b_instr[i];
 4114|     24|            if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|     24|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     48|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     24|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|     24|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     48|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |   19|     24|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     48|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |   20|     24|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     24|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4115|       |                /* Set oparg to the label id (it will later be mapped to an offset) */
 4116|      0|                instr->i_oparg = instr->i_target->b_label.id;
 4117|      0|            }
 4118|     24|            RETURN_IF_ERROR(
  ------------------
  |  |   25|     24|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 24]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4119|     24|                _PyInstructionSequence_Addop(
 4120|     24|                    seq, instr->i_opcode, instr->i_oparg, instr->i_loc));
 4121|       |
 4122|     24|            _PyExceptHandlerInfo *hi = &seq->s_instrs[seq->s_used-1].i_except_handler_info;
 4123|     24|            if (instr->i_except != NULL) {
  ------------------
  |  Branch (4123:17): [True: 0, False: 24]
  ------------------
 4124|      0|                hi->h_label = instr->i_except->b_label.id;
 4125|      0|                hi->h_startdepth = instr->i_except->b_startdepth;
 4126|      0|                hi->h_preserve_lasti = instr->i_except->b_preserve_lasti;
 4127|      0|            }
 4128|     24|            else {
 4129|     24|                hi->h_label = -1;
 4130|     24|            }
 4131|     24|        }
 4132|      6|    }
 4133|      4|    if (_PyInstructionSequence_ApplyLabelMap(seq) < 0) {
  ------------------
  |  Branch (4133:9): [True: 0, False: 4]
  ------------------
 4134|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4135|      0|    }
 4136|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 4137|      4|}
_PyCfg_OptimizedCfgToInstructionSequence:
 4145|      4|{
 4146|      4|    RETURN_IF_ERROR(convert_pseudo_conditional_jumps(g));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4147|       |
 4148|      4|    *stackdepth = calculate_stackdepth(g);
 4149|      4|    if (*stackdepth < 0) {
  ------------------
  |  Branch (4149:9): [True: 0, False: 4]
  ------------------
 4150|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4151|      0|    }
 4152|       |
 4153|      4|    *nlocalsplus = prepare_localsplus(umd, g);
 4154|      4|    if (*nlocalsplus < 0) {
  ------------------
  |  Branch (4154:9): [True: 0, False: 4]
  ------------------
 4155|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4156|      0|    }
 4157|       |
 4158|      4|    RETURN_IF_ERROR(convert_pseudo_ops(g));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4159|       |
 4160|       |    /* Order of basic blocks must have been determined by now */
 4161|       |
 4162|      4|    RETURN_IF_ERROR(normalize_jumps(g));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4163|      4|    assert(no_redundant_jumps(g));
  ------------------
  |  Branch (4163:5): [True: 4, False: 0]
  ------------------
 4164|       |
 4165|       |    /* After this point the bytecode may only be modified in ways that
 4166|       |     * preserve the borrowed references computed here.
 4167|       |     *
 4168|       |     * NOTE: keep the passes below in sync with _PyCompile_OptimizeCfg().
 4169|       |     */
 4170|      4|    RETURN_IF_ERROR(optimize_load_fast(g));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4171|       |
 4172|       |    /* Superinstructions are inserted after optimize_load_fast() so that a
 4173|       |     * LOAD_FAST which can be borrowed is converted to LOAD_FAST_BORROW
 4174|       |     * instead of being fused into a STORE_FAST_LOAD_FAST. Fusing adjacent
 4175|       |     * instructions does not change which references are borrowed. */
 4176|      4|    RETURN_IF_ERROR(insert_superinstructions(g));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4177|       |
 4178|       |    /* Can't modify the bytecode after computing jump offsets. */
 4179|      4|    if (_PyCfg_ToInstructionSequence(g, seq) < 0) {
  ------------------
  |  Branch (4179:9): [True: 0, False: 4]
  ------------------
 4180|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4181|      0|    }
 4182|       |
 4183|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 4184|      4|}
flowgraph.c:init_cfg_builder:
  427|      4|{
  428|      4|    g->g_block_list = NULL;
  429|      4|    basicblock *block = cfg_builder_new_block(g);
  430|      4|    if (block == NULL) {
  ------------------
  |  Branch (430:9): [True: 0, False: 4]
  ------------------
  431|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  432|      0|    }
  433|      4|    g->g_curblock = g->g_entryblock = block;
  434|      4|    g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|      4|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  435|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
  436|      4|}
flowgraph.c:cfg_builder_new_block:
  177|      6|{
  178|      6|    basicblock *b = (basicblock *)PyMem_Calloc(1, sizeof(basicblock));
  179|      6|    if (b == NULL) {
  ------------------
  |  Branch (179:9): [True: 0, False: 6]
  ------------------
  180|      0|        PyErr_NoMemory();
  181|      0|        return NULL;
  182|      0|    }
  183|       |    /* Extend the singly linked list of blocks with new block. */
  184|      6|    b->b_list = g->g_block_list;
  185|      6|    g->g_block_list = b;
  186|      6|    b->b_label = NO_LABEL;
  ------------------
  |  |   57|      6|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  187|      6|    return b;
  188|      6|}
flowgraph.c:cfg_builder_check:
  408|      8|{
  409|     20|    for (basicblock *block = g->g_block_list; block != NULL; block = block->b_list) {
  ------------------
  |  Branch (409:47): [True: 12, False: 8]
  ------------------
  410|     12|        assert(!_PyMem_IsPtrFreed(block));
  ------------------
  |  Branch (410:9): [True: 12, False: 0]
  ------------------
  411|     12|        if (block->b_instr != NULL) {
  ------------------
  |  Branch (411:13): [True: 12, False: 0]
  ------------------
  412|     12|            assert(block->b_ialloc > 0);
  ------------------
  |  Branch (412:13): [True: 12, False: 0]
  ------------------
  413|     12|            assert(block->b_iused >= 0);
  ------------------
  |  Branch (413:13): [True: 12, False: 0]
  ------------------
  414|     12|            assert(block->b_ialloc >= block->b_iused);
  ------------------
  |  Branch (414:13): [True: 12, False: 0]
  ------------------
  415|     12|        }
  416|      0|        else {
  417|      0|            assert (block->b_iused == 0);
  ------------------
  |  Branch (417:13): [True: 0, False: 0]
  ------------------
  418|      0|            assert (block->b_ialloc == 0);
  ------------------
  |  Branch (418:13): [True: 0, False: 0]
  ------------------
  419|      0|        }
  420|     12|    }
  421|      8|    return true;
  422|      8|}
flowgraph.c:cfg_builder_maybe_start_new_block:
  392|     35|{
  393|     35|    if (cfg_builder_current_block_is_terminated(g)) {
  ------------------
  |  Branch (393:9): [True: 2, False: 33]
  ------------------
  394|      2|        basicblock *b = cfg_builder_new_block(g);
  395|      2|        if (b == NULL) {
  ------------------
  |  Branch (395:13): [True: 0, False: 2]
  ------------------
  396|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  397|      0|        }
  398|      2|        b->b_label = g->g_current_label;
  399|      2|        g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|      2|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  400|      2|        cfg_builder_use_next_block(g, b);
  401|      2|    }
  402|     35|    return SUCCESS;
  ------------------
  |  |   21|     35|#define SUCCESS 0
  ------------------
  403|     35|}
flowgraph.c:cfg_builder_current_block_is_terminated:
  372|     35|{
  373|     35|    cfg_instr *last = basicblock_last_instr(g->g_curblock);
  374|     35|    if (last && IS_TERMINATOR_OPCODE(last->i_opcode)) {
  ------------------
  |  |   27|     31|        (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     62|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     31|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 31]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   53|     31|        ((opcode) == RETURN_VALUE || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     62|#define RETURN_VALUE                            33
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:10): [True: 2, False: 29]
  |  |  |  |  ------------------
  |  |  |  |   54|     31|         (opcode) == RAISE_VARARGS || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  113|     60|#define RAISE_VARARGS                          100
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (54:10): [True: 0, False: 29]
  |  |  |  |  ------------------
  |  |  |  |   55|     31|         (opcode) == RERAISE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  114|     29|#define RERAISE                                101
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:10): [True: 0, False: 29]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (374:9): [True: 31, False: 4]
  ------------------
  375|      2|        return true;
  376|      2|    }
  377|     33|    if (IS_LABEL(g->g_current_label)) {
  ------------------
  |  |   96|     33|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|     33|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (96:21): [True: 0, False: 33]
  |  |  ------------------
  ------------------
  378|      0|        if (last || IS_LABEL(g->g_curblock->b_label)) {
  ------------------
  |  |   96|      0|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|      0|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (96:21): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (378:13): [True: 0, False: 0]
  ------------------
  379|      0|            return true;
  380|      0|        }
  381|      0|        else {
  382|       |            /* current block is empty, label it */
  383|      0|            g->g_curblock->b_label = g->g_current_label;
  384|      0|            g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|      0|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  385|      0|        }
  386|      0|    }
  387|     33|    return false;
  388|     33|}
flowgraph.c:basicblock_last_instr:
  162|    141|basicblock_last_instr(const basicblock *b) {
  163|    141|    assert(b->b_iused >= 0);
  ------------------
  |  Branch (163:5): [True: 141, False: 0]
  ------------------
  164|    141|    if (b->b_iused > 0) {
  ------------------
  |  Branch (164:9): [True: 111, False: 30]
  ------------------
  165|    111|        assert(b->b_instr != NULL);
  ------------------
  |  Branch (165:9): [True: 111, False: 0]
  ------------------
  166|    111|        return &b->b_instr[b->b_iused - 1];
  167|    111|    }
  168|     30|    return NULL;
  169|    141|}
flowgraph.c:cfg_builder_use_next_block:
  347|      2|{
  348|      2|    assert(block != NULL);
  ------------------
  |  Branch (348:5): [True: 2, False: 0]
  ------------------
  349|      2|    g->g_curblock->b_next = block;
  350|      2|    g->g_curblock = block;
  351|      2|    return block;
  352|      2|}
flowgraph.c:basicblock_addop:
  193|     35|{
  194|     35|    assert(IS_WITHIN_OPCODE_RANGE(opcode));
  ------------------
  |  Branch (194:5): [True: 35, False: 0]
  |  Branch (194:5): [True: 35, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [Folded, False: 0]
  ------------------
  195|     35|    assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (195:5): [True: 0, False: 35]
  |  Branch (195:5): [True: 0, False: 35]
  |  Branch (195:5): [True: 0, False: 35]
  ------------------
  196|     35|    assert(OPCODE_HAS_ARG(opcode) || HAS_TARGET(opcode) || oparg == 0);
  ------------------
  |  Branch (196:5): [True: 0, False: 10]
  |  Branch (196:5): [True: 0, False: 10]
  |  Branch (196:5): [True: 0, False: 10]
  |  Branch (196:5): [True: 0, False: 10]
  |  Branch (196:5): [True: 25, False: 10]
  |  Branch (196:5): [True: 10, False: 0]
  ------------------
  197|     35|    assert(0 <= oparg && oparg < (1 << 30));
  ------------------
  |  Branch (197:5): [True: 35, False: 0]
  |  Branch (197:5): [True: 35, False: 0]
  ------------------
  198|       |
  199|     35|    int off = basicblock_next_instr(b);
  200|     35|    if (off < 0) {
  ------------------
  |  Branch (200:9): [True: 0, False: 35]
  ------------------
  201|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  202|      0|    }
  203|     35|    cfg_instr *i = &b->b_instr[off];
  204|     35|    i->i_opcode = opcode;
  205|     35|    i->i_oparg = oparg;
  206|     35|    i->i_loc = loc;
  207|     35|    i->i_except = except;
  208|       |    // memory is already zero initialized
  209|     35|    assert(i->i_target == NULL);
  ------------------
  |  Branch (209:5): [True: 35, False: 0]
  ------------------
  210|       |
  211|     35|    return SUCCESS;
  ------------------
  |  |   21|     35|#define SUCCESS 0
  ------------------
  212|     35|}
flowgraph.c:basicblock_next_instr:
  146|     35|{
  147|     35|    assert(b != NULL);
  ------------------
  |  Branch (147:5): [True: 35, False: 0]
  ------------------
  148|     35|    _Py_c_array_t array = {
  149|     35|        .array = (void*)b->b_instr,
  150|     35|        .allocated_entries = b->b_ialloc,
  151|     35|        .item_size = sizeof(cfg_instr),
  152|     35|        .initial_num_entries = DEFAULT_BLOCK_SIZE,
  ------------------
  |  |   29|     35|#define DEFAULT_BLOCK_SIZE 16
  ------------------
  153|     35|    };
  154|       |
  155|     35|    RETURN_IF_ERROR(_Py_CArray_EnsureCapacity(&array, b->b_iused + 1));
  ------------------
  |  |   25|     35|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 35]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  156|     35|    b->b_instr = array.array;
  157|     35|    b->b_ialloc = array.allocated_entries;
  158|     35|    return b->b_iused++;
  159|     35|}
flowgraph.c:translate_jump_labels_to_targets:
  651|      4|{
  652|      4|    int max_label = get_max_label(entryblock);
  653|      4|    size_t mapsize = sizeof(basicblock *) * (max_label + 1);
  654|      4|    basicblock **label2block = (basicblock **)PyMem_Malloc(mapsize);
  655|      4|    if (!label2block) {
  ------------------
  |  Branch (655:9): [True: 0, False: 4]
  ------------------
  656|      0|        PyErr_NoMemory();
  657|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  658|      0|    }
  659|      4|    memset(label2block, 0, mapsize);
  660|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (660:38): [True: 6, False: 4]
  ------------------
  661|      6|        if (b->b_label.id >= 0) {
  ------------------
  |  Branch (661:13): [True: 0, False: 6]
  ------------------
  662|      0|            label2block[b->b_label.id] = b;
  663|      0|        }
  664|      6|    }
  665|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (665:38): [True: 6, False: 4]
  ------------------
  666|     41|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (666:25): [True: 35, False: 6]
  ------------------
  667|     35|            cfg_instr *instr = &b->b_instr[i];
  668|     35|            assert(instr->i_target == NULL);
  ------------------
  |  Branch (668:13): [True: 35, False: 0]
  ------------------
  669|     35|            if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|     35|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     70|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     35|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|     35|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     70|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  |  |   19|     35|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     70|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  |  |   20|     35|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     35|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  670|      0|                int lbl = instr->i_oparg;
  671|      0|                assert(lbl >= 0 && lbl <= max_label);
  ------------------
  |  Branch (671:17): [True: 0, False: 0]
  |  Branch (671:17): [True: 0, False: 0]
  ------------------
  672|      0|                instr->i_target = label2block[lbl];
  673|      0|                assert(instr->i_target != NULL);
  ------------------
  |  Branch (673:17): [True: 0, False: 0]
  ------------------
  674|      0|                assert(instr->i_target->b_label.id == lbl);
  ------------------
  |  Branch (674:17): [True: 0, False: 0]
  ------------------
  675|      0|            }
  676|     35|        }
  677|      6|    }
  678|      4|    PyMem_Free(label2block);
  679|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
  680|      4|}
flowgraph.c:get_max_label:
  638|     14|{
  639|     14|    int lbl = -1;
  640|     36|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (640:38): [True: 22, False: 14]
  ------------------
  641|     22|        if (b->b_label.id > lbl) {
  ------------------
  |  Branch (641:13): [True: 0, False: 22]
  ------------------
  642|      0|            lbl = b->b_label.id;
  643|      0|        }
  644|     22|    }
  645|     14|    return lbl;
  646|     14|}
flowgraph.c:mark_except_handlers:
  683|      4|mark_except_handlers(basicblock *entryblock) {
  684|      4|#ifndef NDEBUG
  685|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (685:38): [True: 6, False: 4]
  ------------------
  686|      6|        assert(!b->b_except_handler);
  ------------------
  |  Branch (686:9): [True: 6, False: 0]
  ------------------
  687|      6|    }
  688|      4|#endif
  689|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (689:38): [True: 6, False: 4]
  ------------------
  690|     41|        for (int i=0; i < b->b_iused; i++) {
  ------------------
  |  Branch (690:23): [True: 35, False: 6]
  ------------------
  691|     35|            cfg_instr *instr = &b->b_instr[i];
  692|     35|            if (is_block_push(instr)) {
  ------------------
  |  Branch (692:17): [True: 0, False: 35]
  ------------------
  693|      0|                instr->i_target->b_except_handler = 1;
  694|      0|            }
  695|     35|        }
  696|      6|    }
  697|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
  698|      4|}
flowgraph.c:is_block_push:
  103|    155|{
  104|    155|    assert(OPCODE_HAS_ARG(i->i_opcode) || !IS_BLOCK_PUSH_OPCODE(i->i_opcode));
  ------------------
  |  Branch (104:5): [True: 0, False: 38]
  |  Branch (104:5): [True: 0, False: 38]
  |  Branch (104:5): [True: 0, False: 38]
  |  Branch (104:5): [True: 117, False: 38]
  ------------------
  105|    155|    return IS_BLOCK_PUSH_OPCODE(i->i_opcode);
  ------------------
  |  |   18|    155|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  252|    310|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 0, False: 155]
  |  |  ------------------
  |  |   19|    155|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  253|    310|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 0, False: 155]
  |  |  ------------------
  |  |   20|    155|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  251|    155|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 0, False: 155]
  |  |  ------------------
  ------------------
  106|    155|}
flowgraph.c:label_exception_targets:
  901|      4|label_exception_targets(basicblock *entryblock) {
  902|      4|    basicblock **todo_stack = make_cfg_traversal_stack(entryblock);
  903|      4|    if (todo_stack == NULL) {
  ------------------
  |  Branch (903:9): [True: 0, False: 4]
  ------------------
  904|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  905|      0|    }
  906|      4|    struct _PyCfgExceptStack *except_stack = make_except_stack();
  907|      4|    if (except_stack == NULL) {
  ------------------
  |  Branch (907:9): [True: 0, False: 4]
  ------------------
  908|      0|        PyMem_Free(todo_stack);
  909|      0|        PyErr_NoMemory();
  910|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  911|      0|    }
  912|      4|    except_stack->depth = 0;
  913|      4|    todo_stack[0] = entryblock;
  914|      4|    entryblock->b_visited = 1;
  915|      4|    entryblock->b_exceptstack = except_stack;
  916|      4|    basicblock **todo = &todo_stack[1];
  917|      4|    basicblock *handler = NULL;
  918|      8|    while (todo > todo_stack) {
  ------------------
  |  Branch (918:12): [True: 4, False: 4]
  ------------------
  919|      4|        todo--;
  920|      4|        basicblock *b = todo[0];
  921|      4|        assert(b->b_visited == 1);
  ------------------
  |  Branch (921:9): [True: 4, False: 0]
  ------------------
  922|      4|        except_stack = b->b_exceptstack;
  923|      4|        assert(except_stack != NULL);
  ------------------
  |  Branch (923:9): [True: 4, False: 0]
  ------------------
  924|      4|        b->b_exceptstack = NULL;
  925|      4|        handler = except_stack_top(except_stack);
  926|      4|        int last_yield_except_depth = -1;
  927|     35|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (927:25): [True: 31, False: 4]
  ------------------
  928|     31|            cfg_instr *instr = &b->b_instr[i];
  929|     31|            if (is_block_push(instr)) {
  ------------------
  |  Branch (929:17): [True: 0, False: 31]
  ------------------
  930|      0|                if (!instr->i_target->b_visited) {
  ------------------
  |  Branch (930:21): [True: 0, False: 0]
  ------------------
  931|      0|                    struct _PyCfgExceptStack *copy = copy_except_stack(except_stack);
  932|      0|                    if (copy == NULL) {
  ------------------
  |  Branch (932:25): [True: 0, False: 0]
  ------------------
  933|      0|                        goto error;
  934|      0|                    }
  935|      0|                    instr->i_target->b_exceptstack = copy;
  936|      0|                    todo[0] = instr->i_target;
  937|      0|                    instr->i_target->b_visited = 1;
  938|      0|                    todo++;
  939|      0|                }
  940|      0|                handler = push_except_block(except_stack, instr);
  941|      0|            }
  942|     31|            else if (instr->i_opcode == POP_BLOCK) {
  ------------------
  |  |  250|     31|#define POP_BLOCK                              262
  ------------------
  |  Branch (942:22): [True: 0, False: 31]
  ------------------
  943|      0|                handler = pop_except_block(except_stack);
  944|      0|                INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (944:17): [True: 0, False: 0]
  ------------------
  945|      0|            }
  946|     31|            else if (is_jump(instr)) {
  ------------------
  |  Branch (946:22): [True: 0, False: 31]
  ------------------
  947|      0|                instr->i_except = handler;
  948|      0|                assert(i == b->b_iused -1);
  ------------------
  |  Branch (948:17): [True: 0, False: 0]
  ------------------
  949|      0|                if (!instr->i_target->b_visited) {
  ------------------
  |  Branch (949:21): [True: 0, False: 0]
  ------------------
  950|      0|                    if (BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  253|      0|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  951|      0|                        struct _PyCfgExceptStack *copy = copy_except_stack(except_stack);
  952|      0|                        if (copy == NULL) {
  ------------------
  |  Branch (952:29): [True: 0, False: 0]
  ------------------
  953|      0|                            goto error;
  954|      0|                        }
  955|      0|                        instr->i_target->b_exceptstack = copy;
  956|      0|                    }
  957|      0|                    else {
  958|      0|                        instr->i_target->b_exceptstack = except_stack;
  959|      0|                        except_stack = NULL;
  960|      0|                    }
  961|      0|                    todo[0] = instr->i_target;
  962|      0|                    instr->i_target->b_visited = 1;
  963|      0|                    todo++;
  964|      0|                }
  965|      0|            }
  966|     31|            else if (instr->i_opcode == YIELD_VALUE) {
  ------------------
  |  |  129|     31|#define YIELD_VALUE                            116
  ------------------
  |  Branch (966:22): [True: 0, False: 31]
  ------------------
  967|      0|                instr->i_except = handler;
  968|      0|                last_yield_except_depth = except_stack->depth;
  969|      0|            }
  970|     31|            else if (instr->i_opcode == RESUME) {
  ------------------
  |  |  130|     31|#define RESUME                                 128
  ------------------
  |  Branch (970:22): [True: 4, False: 27]
  ------------------
  971|      4|                instr->i_except = handler;
  972|      4|                if (instr->i_oparg != RESUME_AT_FUNC_START && instr->i_oparg != RESUME_AT_GEN_EXPR_START) {
  ------------------
  |  |   88|      8|#define RESUME_AT_FUNC_START 0
  ------------------
                              if (instr->i_oparg != RESUME_AT_FUNC_START && instr->i_oparg != RESUME_AT_GEN_EXPR_START) {
  ------------------
  |  |   92|      0|#define RESUME_AT_GEN_EXPR_START 4
  ------------------
  |  Branch (972:21): [True: 0, False: 4]
  |  Branch (972:63): [True: 0, False: 0]
  ------------------
  973|      0|                    assert(last_yield_except_depth >= 0);
  ------------------
  |  Branch (973:21): [True: 0, False: 0]
  ------------------
  974|      0|                    if (last_yield_except_depth == 1) {
  ------------------
  |  Branch (974:25): [True: 0, False: 0]
  ------------------
  975|      0|                        instr->i_oparg |= RESUME_OPARG_DEPTH1_MASK;
  ------------------
  |  |   95|      0|#define RESUME_OPARG_DEPTH1_MASK 0x8
  ------------------
  976|      0|                    }
  977|      0|                    last_yield_except_depth = -1;
  978|      0|                }
  979|      4|            }
  980|     27|            else if (instr->i_opcode == RETURN_GENERATOR) {
  ------------------
  |  |   45|     27|#define RETURN_GENERATOR                        32
  ------------------
  |  Branch (980:22): [True: 0, False: 27]
  ------------------
  981|      0|                instr->i_except = NULL;
  982|      0|            }
  983|     27|            else {
  984|     27|                instr->i_except = handler;
  985|     27|            }
  986|     31|        }
  987|      4|        if (BB_HAS_FALLTHROUGH(b) && !b->b_next->b_visited) {
  ------------------
  |  |  253|      8|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (987:38): [True: 0, False: 0]
  ------------------
  988|      0|            assert(except_stack != NULL);
  ------------------
  |  Branch (988:13): [True: 0, False: 0]
  ------------------
  989|      0|            b->b_next->b_exceptstack = except_stack;
  990|      0|            todo[0] = b->b_next;
  991|      0|            b->b_next->b_visited = 1;
  992|      0|            todo++;
  993|      0|        }
  994|      4|        else if (except_stack != NULL) {
  ------------------
  |  Branch (994:18): [True: 4, False: 0]
  ------------------
  995|      4|           PyMem_Free(except_stack);
  996|      4|        }
  997|      4|    }
  998|       |#ifdef Py_DEBUG
  999|       |    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
 1000|       |        assert(b->b_exceptstack == NULL);
 1001|       |    }
 1002|       |#endif
 1003|      4|    PyMem_Free(todo_stack);
 1004|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 1005|      0|error:
 1006|      0|    PyMem_Free(todo_stack);
 1007|      0|    PyMem_Free(except_stack);
 1008|      0|    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1009|      4|}
flowgraph.c:make_cfg_traversal_stack:
  755|     26|make_cfg_traversal_stack(basicblock *entryblock) {
  756|     26|    int nblocks = 0;
  757|     68|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (757:38): [True: 42, False: 26]
  ------------------
  758|     42|        b->b_visited = 0;
  759|     42|        nblocks++;
  760|     42|    }
  761|     26|    basicblock **stack = (basicblock **)PyMem_Malloc(sizeof(basicblock *) * nblocks);
  762|     26|    if (!stack) {
  ------------------
  |  Branch (762:9): [True: 0, False: 26]
  ------------------
  763|      0|        PyErr_NoMemory();
  764|      0|    }
  765|     26|    return stack;
  766|     26|}
flowgraph.c:make_except_stack:
  732|      4|make_except_stack(void) {
  733|      4|    struct _PyCfgExceptStack *new = PyMem_Malloc(sizeof(struct _PyCfgExceptStack));
  734|      4|    if (new == NULL) {
  ------------------
  |  Branch (734:9): [True: 0, False: 4]
  ------------------
  735|      0|        PyErr_NoMemory();
  736|      0|        return NULL;
  737|      0|    }
  738|      4|    new->depth = 0;
  739|       |    new->handlers[0] = NULL;
  740|      4|    return new;
  741|      4|}
flowgraph.c:except_stack_top:
  727|      4|except_stack_top(struct _PyCfgExceptStack *stack) {
  728|      4|    return stack->handlers[stack->depth];
  729|      4|}
flowgraph.c:is_jump:
  110|    134|{
  111|    134|    return OPCODE_HAS_JUMP(i->i_opcode);
  ------------------
  |  | 1065|    134|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1046|    134|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  ------------------
  112|    134|}
flowgraph.c:basicblock_nofallthrough:
  245|     42|basicblock_nofallthrough(const basicblock *b) {
  246|     42|    cfg_instr *last = basicblock_last_instr(b);
  247|     42|    return (last &&
  ------------------
  |  Branch (247:13): [True: 36, False: 6]
  ------------------
  248|     36|            (IS_SCOPE_EXIT_OPCODE(last->i_opcode) ||
  ------------------
  |  |   53|     72|        ((opcode) == RETURN_VALUE || \
  |  |  ------------------
  |  |  |  |   46|     72|#define RETURN_VALUE                            33
  |  |  ------------------
  |  |  |  Branch (53:10): [True: 36, False: 0]
  |  |  ------------------
  |  |   54|     36|         (opcode) == RAISE_VARARGS || \
  |  |  ------------------
  |  |  |  |  113|     36|#define RAISE_VARARGS                          100
  |  |  ------------------
  |  |  |  Branch (54:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   55|     72|         (opcode) == RERAISE)
  |  |  ------------------
  |  |  |  |  114|      0|#define RERAISE                                101
  |  |  ------------------
  |  |  |  Branch (55:10): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  249|      0|             IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)));
  ------------------
  |  |   40|      0|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|      0|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|      0|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   42|      0|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|      0|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   43|      0|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|      0|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   44|      0|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|      0|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  250|     42|}
flowgraph.c:optimize_cfg:
 2675|      4|{
 2676|      4|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (2676:5): [True: 4, False: 0]
  ------------------
 2677|      4|    RETURN_IF_ERROR(check_cfg(g));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2678|      4|    RETURN_IF_ERROR(inline_small_or_no_lineno_blocks(g->g_entryblock));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2679|      4|    RETURN_IF_ERROR(remove_unreachable(g->g_entryblock));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2680|      4|    RETURN_IF_ERROR(resolve_line_numbers(g, firstlineno));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2681|      4|    RETURN_IF_ERROR(optimize_load_const(const_cache, g, consts, consts_index));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2682|     10|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2682:43): [True: 6, False: 4]
  ------------------
 2683|      6|        RETURN_IF_ERROR(optimize_basic_block(const_cache, b, consts, consts_index));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2684|      6|    }
 2685|      4|    RETURN_IF_ERROR(remove_redundant_nops_and_pairs(g->g_entryblock));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2686|      4|    RETURN_IF_ERROR(remove_unreachable(g->g_entryblock));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2687|      4|    RETURN_IF_ERROR(remove_redundant_nops_and_jumps(g));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2688|      4|    assert(no_redundant_jumps(g));
  ------------------
  |  Branch (2688:5): [True: 4, False: 0]
  ------------------
 2689|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 2690|      4|}
flowgraph.c:check_cfg:
  619|      4|check_cfg(cfg_builder *g) {
  620|     10|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (620:43): [True: 6, False: 4]
  ------------------
  621|       |        /* Raise SystemError if jump or exit is not last instruction in the block. */
  622|     41|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (622:25): [True: 35, False: 6]
  ------------------
  623|     35|            int opcode = b->b_instr[i].i_opcode;
  624|     35|            assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (624:13): [True: 0, False: 35]
  |  Branch (624:13): [True: 0, False: 35]
  |  Branch (624:13): [True: 0, False: 35]
  ------------------
  625|     35|            if (IS_TERMINATOR_OPCODE(opcode)) {
  ------------------
  |  |   27|     35|        (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     70|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     35|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   53|     35|        ((opcode) == RETURN_VALUE || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     70|#define RETURN_VALUE                            33
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:10): [True: 6, False: 29]
  |  |  |  |  ------------------
  |  |  |  |   54|     35|         (opcode) == RAISE_VARARGS || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  113|     64|#define RAISE_VARARGS                          100
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (54:10): [True: 0, False: 29]
  |  |  |  |  ------------------
  |  |  |  |   55|     35|         (opcode) == RERAISE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  114|     29|#define RERAISE                                101
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:10): [True: 0, False: 29]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  626|      6|                if (i != b->b_iused - 1) {
  ------------------
  |  Branch (626:21): [True: 0, False: 6]
  ------------------
  627|      0|                    PyErr_SetString(PyExc_SystemError, "malformed control flow graph.");
  628|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  629|      0|                }
  630|      6|            }
  631|     35|        }
  632|      6|    }
  633|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
  634|      4|}
flowgraph.c:inline_small_or_no_lineno_blocks:
 1266|      4|inline_small_or_no_lineno_blocks(basicblock *entryblock) {
 1267|      4|    bool changes;
 1268|      4|    do {
 1269|      4|        changes = false;
 1270|     10|        for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1270:42): [True: 6, False: 4]
  ------------------
 1271|      6|            int res = basicblock_inline_small_or_no_lineno_blocks(b);
 1272|      6|            RETURN_IF_ERROR(res);
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1273|      6|            if (res) {
  ------------------
  |  Branch (1273:17): [True: 0, False: 6]
  ------------------
 1274|      0|                changes = true;
 1275|      0|            }
 1276|      6|        }
 1277|      4|    } while(changes); /* every change removes a jump, ensuring convergence */
  ------------------
  |  Branch (1277:13): [True: 0, False: 4]
  ------------------
 1278|      4|    return changes;
 1279|      4|}
flowgraph.c:basicblock_inline_small_or_no_lineno_blocks:
 1232|      6|basicblock_inline_small_or_no_lineno_blocks(basicblock *bb) {
 1233|      6|    cfg_instr *last = basicblock_last_instr(bb);
 1234|      6|    if (last == NULL) {
  ------------------
  |  Branch (1234:9): [True: 0, False: 6]
  ------------------
 1235|      0|        return 0;
 1236|      0|    }
 1237|      6|    if (!IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   40|      6|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|     12|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 6]
  |  |  ------------------
  |  |   41|      6|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|     12|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 6]
  |  |  ------------------
  |  |   42|      6|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|     12|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 6]
  |  |  ------------------
  |  |   43|      6|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|     12|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 6]
  |  |  ------------------
  |  |   44|      6|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|      6|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 6]
  |  |  ------------------
  ------------------
 1238|      6|        return 0;
 1239|      6|    }
 1240|      0|    basicblock *target = last->i_target;
 1241|      0|    bool small_exit_block = (basicblock_exits_scope(target) &&
  ------------------
  |  Branch (1241:30): [True: 0, False: 0]
  ------------------
 1242|      0|                             target->b_iused <= MAX_COPY_SIZE);
  ------------------
  |  | 1224|      0|#define MAX_COPY_SIZE 4
  ------------------
  |  Branch (1242:30): [True: 0, False: 0]
  ------------------
 1243|      0|    bool no_lineno_no_fallthrough = (basicblock_has_no_lineno(target) &&
  ------------------
  |  Branch (1243:38): [True: 0, False: 0]
  ------------------
 1244|      0|                                     !BB_HAS_FALLTHROUGH(target));
  ------------------
  |  |  253|      0|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  ------------------
  |  Branch (1244:38): [True: 0, False: 0]
  ------------------
 1245|      0|    if (small_exit_block || no_lineno_no_fallthrough) {
  ------------------
  |  Branch (1245:9): [True: 0, False: 0]
  |  Branch (1245:29): [True: 0, False: 0]
  ------------------
 1246|      0|        assert(is_jump(last));
  ------------------
  |  Branch (1246:9): [True: 0, False: 0]
  ------------------
 1247|      0|        int removed_jump_opcode = last->i_opcode;
 1248|      0|        INSTR_SET_OP0(last, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1248:9): [True: 0, False: 0]
  ------------------
 1249|      0|        RETURN_IF_ERROR(basicblock_append_instructions(bb, target));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1250|      0|        if (no_lineno_no_fallthrough) {
  ------------------
  |  Branch (1250:13): [True: 0, False: 0]
  ------------------
 1251|      0|            last = basicblock_last_instr(bb);
 1252|      0|            if (IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode) &&
  ------------------
  |  |   40|      0|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|      0|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|      0|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   42|      0|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|      0|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   43|      0|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|      0|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   44|      0|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|      0|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1253|      0|                removed_jump_opcode == JUMP)
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (1253:17): [True: 0, False: 0]
  ------------------
 1254|      0|            {
 1255|       |                /* Make sure we don't lose eval breaker checks */
 1256|      0|                last->i_opcode = JUMP;
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
 1257|      0|            }
 1258|      0|        }
 1259|      0|        target->b_predecessors--;
 1260|      0|        return 1;
 1261|      0|    }
 1262|      0|    return 0;
 1263|      0|}
flowgraph.c:remove_unreachable:
 1014|      8|remove_unreachable(basicblock *entryblock) {
 1015|     20|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1015:38): [True: 12, False: 8]
  ------------------
 1016|     12|        b->b_predecessors = 0;
 1017|     12|    }
 1018|      8|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 1019|      8|    if (stack == NULL) {
  ------------------
  |  Branch (1019:9): [True: 0, False: 8]
  ------------------
 1020|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1021|      0|    }
 1022|      8|    basicblock **sp = stack;
 1023|      8|    entryblock->b_predecessors = 1;
 1024|      8|    *sp++ = entryblock;
 1025|      8|    entryblock->b_visited = 1;
 1026|     16|    while (sp > stack) {
  ------------------
  |  Branch (1026:12): [True: 8, False: 8]
  ------------------
 1027|      8|        basicblock *b = *(--sp);
 1028|      8|        if (b->b_next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  253|      4|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (1028:13): [True: 4, False: 4]
  ------------------
 1029|      0|            if (!b->b_next->b_visited) {
  ------------------
  |  Branch (1029:17): [True: 0, False: 0]
  ------------------
 1030|      0|                assert(b->b_next->b_predecessors == 0);
  ------------------
  |  Branch (1030:17): [True: 0, False: 0]
  ------------------
 1031|      0|                *sp++ = b->b_next;
 1032|      0|                b->b_next->b_visited = 1;
 1033|      0|            }
 1034|      0|            b->b_next->b_predecessors++;
 1035|      0|        }
 1036|     68|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (1036:25): [True: 60, False: 8]
  ------------------
 1037|     60|            basicblock *target;
 1038|     60|            cfg_instr *instr = &b->b_instr[i];
 1039|     60|            if (is_jump(instr) || is_block_push(instr)) {
  ------------------
  |  Branch (1039:17): [True: 0, False: 60]
  |  Branch (1039:35): [True: 0, False: 60]
  ------------------
 1040|      0|                target = instr->i_target;
 1041|      0|                if (!target->b_visited) {
  ------------------
  |  Branch (1041:21): [True: 0, False: 0]
  ------------------
 1042|      0|                    *sp++ = target;
 1043|      0|                    target->b_visited = 1;
 1044|      0|                }
 1045|      0|                target->b_predecessors++;
 1046|      0|            }
 1047|     60|        }
 1048|      8|    }
 1049|      8|    PyMem_Free(stack);
 1050|       |
 1051|       |    /* Delete unreachable instructions */
 1052|     20|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1052:38): [True: 12, False: 8]
  ------------------
 1053|     12|       if (b->b_predecessors == 0) {
  ------------------
  |  Branch (1053:12): [True: 4, False: 8]
  ------------------
 1054|      4|            b->b_iused = 0;
 1055|      4|            b->b_except_handler = 0;
 1056|      4|       }
 1057|     12|    }
 1058|      8|    return SUCCESS;
  ------------------
  |  |   21|      8|#define SUCCESS 0
  ------------------
 1059|      8|}
flowgraph.c:optimize_load_const:
 2419|      4|                    _Py_hashtable_t *consts_index) {
 2420|     10|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2420:43): [True: 6, False: 4]
  ------------------
 2421|      6|        RETURN_IF_ERROR(basicblock_optimize_load_const(const_cache, b, consts, consts_index));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2422|      6|    }
 2423|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 2424|      4|}
flowgraph.c:basicblock_optimize_load_const:
 2276|      6|{
 2277|      6|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (2277:5): [True: 6, False: 0]
  ------------------
 2278|      6|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (2278:5): [True: 6, False: 0]
  ------------------
 2279|      6|    int opcode = 0;
 2280|      6|    int oparg = 0;
 2281|     37|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2281:21): [True: 31, False: 6]
  ------------------
 2282|     31|        cfg_instr *inst = &bb->b_instr[i];
 2283|     31|        if (inst->i_opcode == LOAD_CONST) {
  ------------------
  |  |   91|     31|#define LOAD_CONST                              78
  ------------------
  |  Branch (2283:13): [True: 2, False: 29]
  ------------------
 2284|      2|            PyObject *constant = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 2285|      2|            if (constant == NULL) {
  ------------------
  |  Branch (2285:17): [True: 0, False: 2]
  ------------------
 2286|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2287|      0|            }
 2288|      2|            int res = maybe_instr_make_load_smallint(inst, constant, consts, const_cache);
 2289|      2|            Py_DECREF(constant);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2290|      2|            if (res < 0) {
  ------------------
  |  Branch (2290:17): [True: 0, False: 2]
  ------------------
 2291|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2292|      0|            }
 2293|      2|        }
 2294|     31|        bool is_copy_of_load_const = (opcode == LOAD_CONST &&
  ------------------
  |  |   91|     62|#define LOAD_CONST                              78
  ------------------
  |  Branch (2294:39): [True: 2, False: 29]
  ------------------
 2295|      2|                                      inst->i_opcode == COPY &&
  ------------------
  |  |   70|     33|#define COPY                                    57
  ------------------
  |  Branch (2295:39): [True: 0, False: 2]
  ------------------
 2296|      0|                                      inst->i_oparg == 1);
  ------------------
  |  Branch (2296:39): [True: 0, False: 0]
  ------------------
 2297|     31|        if (! is_copy_of_load_const) {
  ------------------
  |  Branch (2297:13): [True: 31, False: 0]
  ------------------
 2298|     31|            opcode = inst->i_opcode;
 2299|     31|            oparg = inst->i_oparg;
 2300|     31|        }
 2301|     31|        assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (2301:9): [True: 0, False: 31]
  |  Branch (2301:9): [True: 0, False: 31]
  |  Branch (2301:9): [True: 0, False: 31]
  ------------------
 2302|     31|        if (!loads_const(opcode)) {
  ------------------
  |  Branch (2302:13): [True: 29, False: 2]
  ------------------
 2303|     29|            continue;
 2304|     29|        }
 2305|      2|        int nextop = i+1 < bb->b_iused ? bb->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2305:22): [True: 2, False: 0]
  ------------------
 2306|      2|        switch(nextop) {
  ------------------
  |  Branch (2306:16): [True: 0, False: 2]
  ------------------
 2307|      0|            case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (2307:13): [True: 0, False: 2]
  ------------------
 2308|      0|            case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (2308:13): [True: 0, False: 2]
  ------------------
 2309|      0|            case JUMP_IF_FALSE:
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2309:13): [True: 0, False: 2]
  ------------------
 2310|      0|            case JUMP_IF_TRUE:
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2310:13): [True: 0, False: 2]
  ------------------
 2311|      0|            {
 2312|       |                /* Remove LOAD_CONST const; conditional jump */
 2313|      0|                PyObject* cnt = get_const_value(opcode, oparg, consts);
 2314|      0|                if (cnt == NULL) {
  ------------------
  |  Branch (2314:21): [True: 0, False: 0]
  ------------------
 2315|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2316|      0|                }
 2317|      0|                int is_true = PyObject_IsTrue(cnt);
 2318|      0|                Py_DECREF(cnt);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2319|      0|                if (is_true == -1) {
  ------------------
  |  Branch (2319:21): [True: 0, False: 0]
  ------------------
 2320|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2321|      0|                }
 2322|      0|                if (PyCompile_OpcodeStackEffect(nextop, 0) == -1) {
  ------------------
  |  Branch (2322:21): [True: 0, False: 0]
  ------------------
 2323|       |                    /* POP_JUMP_IF_FALSE or POP_JUMP_IF_TRUE */
 2324|      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 (2324:21): [True: 0, False: 0]
  ------------------
 2325|      0|                }
 2326|      0|                int jump_if_true = (nextop == POP_JUMP_IF_TRUE || nextop == JUMP_IF_TRUE);
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
                              int jump_if_true = (nextop == POP_JUMP_IF_TRUE || nextop == JUMP_IF_TRUE);
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2326:37): [True: 0, False: 0]
  |  Branch (2326:67): [True: 0, False: 0]
  ------------------
 2327|      0|                if (is_true == jump_if_true) {
  ------------------
  |  Branch (2327:21): [True: 0, False: 0]
  ------------------
 2328|      0|                    bb->b_instr[i+1].i_opcode = JUMP;
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
 2329|      0|                }
 2330|      0|                else {
 2331|      0|                    INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2331:21): [True: 0, False: 0]
  ------------------
 2332|      0|                }
 2333|      0|                break;
 2334|      0|            }
 2335|      0|            case IS_OP:
  ------------------
  |  |   83|      0|#define IS_OP                                   70
  ------------------
  |  Branch (2335:13): [True: 0, False: 2]
  ------------------
 2336|      0|            {
 2337|       |                // Fold to POP_JUMP_IF_NONE:
 2338|       |                // - LOAD_CONST(None) IS_OP(0) POP_JUMP_IF_TRUE
 2339|       |                // - LOAD_CONST(None) IS_OP(1) POP_JUMP_IF_FALSE
 2340|       |                // - LOAD_CONST(None) IS_OP(0) TO_BOOL POP_JUMP_IF_TRUE
 2341|       |                // - LOAD_CONST(None) IS_OP(1) TO_BOOL POP_JUMP_IF_FALSE
 2342|       |                // Fold to POP_JUMP_IF_NOT_NONE:
 2343|       |                // - LOAD_CONST(None) IS_OP(0) POP_JUMP_IF_FALSE
 2344|       |                // - LOAD_CONST(None) IS_OP(1) POP_JUMP_IF_TRUE
 2345|       |                // - LOAD_CONST(None) IS_OP(0) TO_BOOL POP_JUMP_IF_FALSE
 2346|       |                // - LOAD_CONST(None) IS_OP(1) TO_BOOL POP_JUMP_IF_TRUE
 2347|      0|                PyObject *cnt = get_const_value(opcode, oparg, consts);
 2348|      0|                if (cnt == NULL) {
  ------------------
  |  Branch (2348:21): [True: 0, False: 0]
  ------------------
 2349|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2350|      0|                }
 2351|      0|                if (!Py_IsNone(cnt)) {
  ------------------
  |  |  621|      0|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|      0|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  ------------------
  |  Branch (2351:21): [True: 0, False: 0]
  ------------------
 2352|      0|                    Py_DECREF(cnt);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2353|      0|                    break;
 2354|      0|                }
 2355|      0|                if (bb->b_iused <= i + 2) {
  ------------------
  |  Branch (2355:21): [True: 0, False: 0]
  ------------------
 2356|      0|                    break;
 2357|      0|                }
 2358|      0|                cfg_instr *is_instr = &bb->b_instr[i + 1];
 2359|      0|                cfg_instr *jump_instr = &bb->b_instr[i + 2];
 2360|       |                // Get rid of TO_BOOL regardless:
 2361|      0|                if (jump_instr->i_opcode == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2361:21): [True: 0, False: 0]
  ------------------
 2362|      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 (2362:21): [True: 0, False: 0]
  ------------------
 2363|      0|                    if (bb->b_iused <= i + 3) {
  ------------------
  |  Branch (2363:25): [True: 0, False: 0]
  ------------------
 2364|      0|                        break;
 2365|      0|                    }
 2366|      0|                    jump_instr = &bb->b_instr[i + 3];
 2367|      0|                }
 2368|      0|                bool invert = is_instr->i_oparg;
 2369|      0|                if (jump_instr->i_opcode == POP_JUMP_IF_FALSE) {
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (2369:21): [True: 0, False: 0]
  ------------------
 2370|      0|                    invert = !invert;
 2371|      0|                }
 2372|      0|                else if (jump_instr->i_opcode != POP_JUMP_IF_TRUE) {
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (2372:26): [True: 0, False: 0]
  ------------------
 2373|      0|                    break;
 2374|      0|                }
 2375|      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 (2375:17): [True: 0, False: 0]
  ------------------
 2376|      0|                INSTR_SET_OP0(is_instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2376:17): [True: 0, False: 0]
  ------------------
 2377|      0|                jump_instr->i_opcode = invert ? POP_JUMP_IF_NOT_NONE
  ------------------
  |  |  111|      0|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  |  Branch (2377:40): [True: 0, False: 0]
  ------------------
 2378|      0|                                              : POP_JUMP_IF_NONE;
  ------------------
  |  |  110|      0|#define POP_JUMP_IF_NONE                        97
  ------------------
 2379|      0|                break;
 2380|      0|            }
 2381|      0|            case TO_BOOL:
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2381:13): [True: 0, False: 2]
  ------------------
 2382|      0|            {
 2383|      0|                PyObject *cnt = get_const_value(opcode, oparg, consts);
 2384|      0|                if (cnt == NULL) {
  ------------------
  |  Branch (2384:21): [True: 0, False: 0]
  ------------------
 2385|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2386|      0|                }
 2387|      0|                int is_true = PyObject_IsTrue(cnt);
 2388|      0|                Py_DECREF(cnt);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2389|      0|                if (is_true == -1) {
  ------------------
  |  Branch (2389:21): [True: 0, False: 0]
  ------------------
 2390|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2391|      0|                }
 2392|      0|                cnt = PyBool_FromLong(is_true);
 2393|      0|                int index = add_const(cnt, consts, const_cache, consts_index);
 2394|      0|                if (index < 0) {
  ------------------
  |  Branch (2394:21): [True: 0, False: 0]
  ------------------
 2395|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2396|      0|                }
 2397|      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 (2397:17): [True: 0, False: 0]
  ------------------
 2398|      0|                INSTR_SET_OP1(&bb->b_instr[i + 1], LOAD_CONST, index);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2398:17): [True: 0, False: 0]
  ------------------
 2399|      0|                break;
 2400|      0|            }
 2401|      2|        }
 2402|      2|        if (inst->i_opcode == LOAD_CONST) {
  ------------------
  |  |   91|      2|#define LOAD_CONST                              78
  ------------------
  |  Branch (2402:13): [True: 2, False: 0]
  ------------------
 2403|      2|            PyObject *constant = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 2404|      2|            if (constant == NULL) {
  ------------------
  |  Branch (2404:17): [True: 0, False: 2]
  ------------------
 2405|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2406|      0|            }
 2407|      2|            int res = maybe_instr_make_load_common_const(inst, constant);
 2408|      2|            Py_DECREF(constant);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2409|      2|            if (res < 0) {
  ------------------
  |  Branch (2409:17): [True: 0, False: 2]
  ------------------
 2410|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2411|      0|            }
 2412|      2|        }
 2413|      2|    }
 2414|      6|    return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
 2415|      6|}
flowgraph.c:get_const_value:
 1319|      4|{
 1320|      4|    PyObject *constant = NULL;
 1321|      4|    assert(loads_const(opcode));
  ------------------
  |  Branch (1321:5): [True: 4, False: 0]
  ------------------
 1322|      4|    if (opcode == LOAD_CONST) {
  ------------------
  |  |   91|      4|#define LOAD_CONST                              78
  ------------------
  |  Branch (1322:9): [True: 4, False: 0]
  ------------------
 1323|      4|        assert(PyList_Check(co_consts));
  ------------------
  |  Branch (1323:9): [True: 4, False: 0]
  ------------------
 1324|      4|        Py_ssize_t n = PyList_GET_SIZE(co_consts);
  ------------------
  |  |   38|      4|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1325|      4|        if (oparg < 0 || oparg >= n) {
  ------------------
  |  Branch (1325:13): [True: 0, False: 4]
  |  Branch (1325:26): [True: 0, False: 4]
  ------------------
 1326|      0|            PyErr_Format(PyExc_ValueError,
 1327|      0|                         "LOAD_CONST index %d is out of range for consts (len=%zd)",
 1328|      0|                         oparg, n);
 1329|      0|            return NULL;
 1330|      0|        }
 1331|      4|        constant = PyList_GET_ITEM(co_consts, oparg);
  ------------------
  |  |   40|      4|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      4|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1331:20): [True: 4, False: 0]
  ------------------
 1332|      4|    }
 1333|      4|    if (opcode == LOAD_SMALL_INT) {
  ------------------
  |  |  103|      4|#define LOAD_SMALL_INT                          90
  ------------------
  |  Branch (1333:9): [True: 0, False: 4]
  ------------------
 1334|      0|        return PyLong_FromLong(oparg);
 1335|      0|    }
 1336|      4|    if (opcode == LOAD_COMMON_CONSTANT) {
  ------------------
  |  |   90|      4|#define LOAD_COMMON_CONSTANT                    77
  ------------------
  |  Branch (1336:9): [True: 0, False: 4]
  ------------------
 1337|      0|        assert(oparg < NUM_COMMON_CONSTANTS);
  ------------------
  |  Branch (1337:9): [True: 0, False: 0]
  ------------------
 1338|      0|        return PyStackRef_AsPyObjectBorrow(
 1339|      0|            _PyInterpreterState_GET()->common_consts[oparg]);
 1340|      0|    }
 1341|       |
 1342|      4|    if (constant == NULL) {
  ------------------
  |  Branch (1342:9): [True: 0, False: 4]
  ------------------
 1343|      0|        PyErr_SetString(PyExc_SystemError,
 1344|      0|                        "Internal error: failed to get value of a constant");
 1345|      0|        return NULL;
 1346|      0|    }
 1347|      4|    return Py_NewRef(constant);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1348|      4|}
flowgraph.c:maybe_instr_make_load_smallint:
 1439|      2|{
 1440|      2|    if (PyLong_CheckExact(newconst)) {
  ------------------
  |  |   14|      2|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|      2|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1441|      0|        int overflow;
 1442|      0|        long val = PyLong_AsLongAndOverflow(newconst, &overflow);
 1443|      0|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1443:13): [True: 0, False: 0]
  |  Branch (1443:26): [True: 0, False: 0]
  ------------------
 1444|      0|            return -1;
 1445|      0|        }
 1446|      0|        if (!overflow && _PY_IS_SMALL_INT(val) && 0 <= val && val <= 255) {
  ------------------
  |  |   68|      0|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  ------------------
  |  |  |  |   98|      0|#define _PY_NSMALLNEGINTS           5
  |  |  ------------------
  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  ------------------
  |  |  |  |   97|      0|#define _PY_NSMALLPOSINTS           1025
  |  |  ------------------
  |  |  |  Branch (68:6): [True: 0, False: 0]
  |  |  |  Branch (68:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1446:13): [True: 0, False: 0]
  |  Branch (1446:51): [True: 0, False: 0]
  |  Branch (1446:63): [True: 0, False: 0]
  ------------------
 1447|      0|            assert(_Py_IsImmortal(newconst));
  ------------------
  |  Branch (1447:13): [True: 0, False: 0]
  ------------------
 1448|      0|            INSTR_SET_OP1(instr, LOAD_SMALL_INT, (int)val);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1448:13): [True: 0, False: 0]
  ------------------
 1449|      0|            return 1;
 1450|      0|        }
 1451|      0|    }
 1452|      2|    return 0;
 1453|      2|}
flowgraph.c:loads_const:
 1310|     37|{
 1311|     37|    return OPCODE_HAS_CONST(opcode)
  ------------------
  |  | 1063|     74|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1044|     37|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1063:30): [True: 6, False: 31]
  |  |  ------------------
  ------------------
 1312|     31|        || opcode == LOAD_SMALL_INT
  ------------------
  |  |  103|     68|#define LOAD_SMALL_INT                          90
  ------------------
  |  Branch (1312:12): [True: 0, False: 31]
  ------------------
 1313|     31|        || opcode == LOAD_COMMON_CONSTANT;
  ------------------
  |  |   90|     31|#define LOAD_COMMON_CONSTANT                    77
  ------------------
  |  Branch (1313:12): [True: 0, False: 31]
  ------------------
 1314|     37|}
flowgraph.c:maybe_instr_make_load_common_const:
 1462|      2|{
 1463|      2|    int oparg;
 1464|      2|    if (newconst == Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1464:9): [True: 0, False: 2]
  ------------------
 1465|      0|        oparg = CONSTANT_NONE;
  ------------------
  |  |   78|      0|#define CONSTANT_NONE 7
  ------------------
 1466|      0|    }
 1467|      2|    else if (newconst == Py_True) {
  ------------------
  |  |   26|      2|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1467:14): [True: 0, False: 2]
  ------------------
 1468|      0|        oparg = CONSTANT_TRUE;
  ------------------
  |  |   80|      0|#define CONSTANT_TRUE 9
  ------------------
 1469|      0|    }
 1470|      2|    else if (newconst == 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 (1470:14): [True: 0, False: 2]
  ------------------
 1471|      0|        oparg = CONSTANT_FALSE;
  ------------------
  |  |   81|      0|#define CONSTANT_FALSE 10
  ------------------
 1472|      0|    }
 1473|      2|    else if (PyUnicode_CheckExact(newconst)
  ------------------
  |  |  104|      2|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1474|      0|             && PyUnicode_GET_LENGTH(newconst) == 0) {
  ------------------
  |  |  300|      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 (1474:17): [True: 0, False: 0]
  ------------------
 1475|      0|        oparg = CONSTANT_EMPTY_STR;
  ------------------
  |  |   79|      0|#define CONSTANT_EMPTY_STR 8
  ------------------
 1476|      0|    }
 1477|      2|    else if (PyTuple_CheckExact(newconst)
  ------------------
  |  |   28|      2|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1478|      0|             && PyTuple_GET_SIZE(newconst) == 0) {
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1478:17): [True: 0, False: 0]
  ------------------
 1479|      0|        oparg = CONSTANT_EMPTY_TUPLE;
  ------------------
  |  |   84|      0|#define CONSTANT_EMPTY_TUPLE 13
  ------------------
 1480|      0|    }
 1481|      2|    else if (PyLong_CheckExact(newconst)) {
  ------------------
  |  |   14|      2|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|      2|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1482|      0|        int overflow;
 1483|      0|        long val = PyLong_AsLongAndOverflow(newconst, &overflow);
 1484|      0|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1484:13): [True: 0, False: 0]
  |  Branch (1484:26): [True: 0, False: 0]
  ------------------
 1485|      0|            return -1;
 1486|      0|        }
 1487|      0|        if (overflow || val != -1) {
  ------------------
  |  Branch (1487:13): [True: 0, False: 0]
  |  Branch (1487:25): [True: 0, False: 0]
  ------------------
 1488|      0|            return 0;
 1489|      0|        }
 1490|      0|        oparg = CONSTANT_MINUS_ONE;
  ------------------
  |  |   82|      0|#define CONSTANT_MINUS_ONE 11
  ------------------
 1491|      0|    }
 1492|      2|    else {
 1493|      2|        return 0;
 1494|      2|    }
 1495|      2|    assert(_Py_IsImmortal(newconst));
  ------------------
  |  Branch (1495:5): [True: 0, False: 0]
  ------------------
 1496|      0|    INSTR_SET_OP1(instr, LOAD_COMMON_CONSTANT, oparg);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1496:5): [True: 0, False: 0]
  ------------------
 1497|      0|    return 1;
 1498|      0|}
flowgraph.c:optimize_basic_block:
 2429|      6|{
 2430|      6|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (2430:5): [True: 6, False: 0]
  ------------------
 2431|      6|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (2431:5): [True: 6, False: 0]
  ------------------
 2432|      6|    cfg_instr nop;
 2433|      6|    INSTR_SET_OP0(&nop, NOP);
  ------------------
  |  |  125|      6|    do { \
  |  |  126|      6|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      6|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      6|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      6|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      6|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  |  Branch (2433:5): [True: 6, False: 0]
  ------------------
 2434|     37|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2434:21): [True: 31, False: 6]
  ------------------
 2435|     31|        cfg_instr *inst = &bb->b_instr[i];
 2436|     31|        cfg_instr *target;
 2437|     31|        int opcode = inst->i_opcode;
 2438|     31|        int oparg = inst->i_oparg;
 2439|     31|        if (HAS_TARGET(opcode)) {
  ------------------
  |  |   23|     31|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     62|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     31|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 31]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|     31|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     62|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 31]
  |  |  |  |  ------------------
  |  |  |  |   19|     31|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     62|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 31]
  |  |  |  |  ------------------
  |  |  |  |   20|     31|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     31|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 31]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2440|      0|            assert(inst->i_target->b_iused > 0);
  ------------------
  |  Branch (2440:13): [True: 0, False: 0]
  ------------------
 2441|      0|            target = &inst->i_target->b_instr[0];
 2442|      0|            assert(!IS_ASSEMBLER_OPCODE(target->i_opcode));
  ------------------
  |  Branch (2442:13): [True: 0, False: 0]
  |  Branch (2442:13): [True: 0, False: 0]
  |  Branch (2442:13): [True: 0, False: 0]
  ------------------
 2443|      0|        }
 2444|     31|        else {
 2445|     31|            target = &nop;
 2446|     31|        }
 2447|     31|        int nextop = i+1 < bb->b_iused ? bb->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2447:22): [True: 27, False: 4]
  ------------------
 2448|     31|        assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (2448:9): [True: 0, False: 31]
  |  Branch (2448:9): [True: 0, False: 31]
  |  Branch (2448:9): [True: 0, False: 31]
  ------------------
 2449|     31|        switch (opcode) {
  ------------------
  |  Branch (2449:17): [True: 4, False: 27]
  ------------------
 2450|       |            /* Try to fold tuples of constants.
 2451|       |               Skip over BUILD_TUPLE(1) UNPACK_SEQUENCE(1).
 2452|       |               Replace BUILD_TUPLE(2) UNPACK_SEQUENCE(2) with SWAP(2).
 2453|       |               Replace BUILD_TUPLE(3) UNPACK_SEQUENCE(3) with SWAP(3). */
 2454|      2|            case BUILD_TUPLE:
  ------------------
  |  |   62|      2|#define BUILD_TUPLE                             49
  ------------------
  |  Branch (2454:13): [True: 2, False: 29]
  ------------------
 2455|      2|                if (nextop == UNPACK_SEQUENCE && oparg == bb->b_instr[i+1].i_oparg) {
  ------------------
  |  |  128|      4|#define UNPACK_SEQUENCE                        115
  ------------------
  |  Branch (2455:21): [True: 0, False: 2]
  |  Branch (2455:50): [True: 0, False: 0]
  ------------------
 2456|      0|                    switch(oparg) {
  ------------------
  |  Branch (2456:28): [True: 0, False: 0]
  ------------------
 2457|      0|                        case 1:
  ------------------
  |  Branch (2457:25): [True: 0, False: 0]
  ------------------
 2458|      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 (2458:29): [True: 0, False: 0]
  ------------------
 2459|      0|                            INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2459:29): [True: 0, False: 0]
  ------------------
 2460|      0|                            continue;
 2461|      0|                        case 2:
  ------------------
  |  Branch (2461:25): [True: 0, False: 0]
  ------------------
 2462|      0|                        case 3:
  ------------------
  |  Branch (2462:25): [True: 0, False: 0]
  ------------------
 2463|      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 (2463:29): [True: 0, False: 0]
  ------------------
 2464|      0|                            bb->b_instr[i+1].i_opcode = SWAP;
  ------------------
  |  |  126|      0|#define SWAP                                   113
  ------------------
 2465|      0|                            continue;
 2466|      0|                    }
 2467|      0|                }
 2468|      2|                RETURN_IF_ERROR(fold_tuple_of_constants(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2469|      2|                break;
 2470|      0|            case BUILD_LIST:
  ------------------
  |  |   57|      0|#define BUILD_LIST                              44
  ------------------
  |  Branch (2470:13): [True: 0, False: 31]
  ------------------
 2471|      0|            case BUILD_SET:
  ------------------
  |  |   59|      0|#define BUILD_SET                               46
  ------------------
  |  Branch (2471:13): [True: 0, False: 31]
  ------------------
 2472|      0|                RETURN_IF_ERROR(optimize_lists_and_sets(bb, i, nextop, consts, const_cache, consts_index));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2473|      0|                break;
 2474|      0|            case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  111|      0|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  |  Branch (2474:13): [True: 0, False: 31]
  ------------------
 2475|      0|            case POP_JUMP_IF_NONE:
  ------------------
  |  |  110|      0|#define POP_JUMP_IF_NONE                        97
  ------------------
  |  Branch (2475:13): [True: 0, False: 31]
  ------------------
 2476|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2476:25): [True: 0, False: 0]
  ------------------
 2477|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2477:21): [True: 0, False: 0]
  ------------------
 2478|      0|                        i -= jump_thread(bb, inst, target, inst->i_opcode);
 2479|      0|                }
 2480|      0|                break;
 2481|      0|            case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (2481:13): [True: 0, False: 31]
  ------------------
 2482|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2482:25): [True: 0, False: 0]
  ------------------
 2483|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2483:21): [True: 0, False: 0]
  ------------------
 2484|      0|                        i -= jump_thread(bb, inst, target, POP_JUMP_IF_FALSE);
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
 2485|      0|                }
 2486|      0|                break;
 2487|      0|            case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (2487:13): [True: 0, False: 31]
  ------------------
 2488|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2488:25): [True: 0, False: 0]
  ------------------
 2489|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2489:21): [True: 0, False: 0]
  ------------------
 2490|      0|                        i -= jump_thread(bb, inst, target, POP_JUMP_IF_TRUE);
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
 2491|      0|                }
 2492|      0|                break;
 2493|      0|            case JUMP_IF_FALSE:
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2493:13): [True: 0, False: 31]
  ------------------
 2494|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2494:25): [True: 0, False: 0]
  ------------------
 2495|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2495:21): [True: 0, False: 0]
  ------------------
 2496|      0|                    case JUMP_IF_FALSE:
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2496:21): [True: 0, False: 0]
  ------------------
 2497|      0|                        i -= jump_thread(bb, inst, target, JUMP_IF_FALSE);
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
 2498|      0|                        continue;
 2499|      0|                    case JUMP_IF_TRUE:
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2499:21): [True: 0, False: 0]
  ------------------
 2500|       |                        // No need to check for loops here, a block's b_next
 2501|       |                        // cannot point to itself.
 2502|      0|                        assert(inst->i_target != inst->i_target->b_next);
  ------------------
  |  Branch (2502:25): [True: 0, False: 0]
  ------------------
 2503|      0|                        inst->i_target = inst->i_target->b_next;
 2504|      0|                        i--;
 2505|      0|                        continue;
 2506|      0|                }
 2507|      0|                break;
 2508|      0|            case JUMP_IF_TRUE:
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2508:13): [True: 0, False: 31]
  ------------------
 2509|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2509:25): [True: 0, False: 0]
  ------------------
 2510|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2510:21): [True: 0, False: 0]
  ------------------
 2511|      0|                    case JUMP_IF_TRUE:
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2511:21): [True: 0, False: 0]
  ------------------
 2512|      0|                        i -= jump_thread(bb, inst, target, JUMP_IF_TRUE);
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
 2513|      0|                        continue;
 2514|      0|                    case JUMP_IF_FALSE:
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2514:21): [True: 0, False: 0]
  ------------------
 2515|       |                        // No need to check for loops here, a block's b_next
 2516|       |                        // cannot point to itself.
 2517|      0|                        assert(inst->i_target != inst->i_target->b_next);
  ------------------
  |  Branch (2517:25): [True: 0, False: 0]
  ------------------
 2518|      0|                        inst->i_target = inst->i_target->b_next;
 2519|      0|                        i--;
 2520|      0|                        continue;
 2521|      0|                }
 2522|      0|                break;
 2523|      0|            case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2523:13): [True: 0, False: 31]
  ------------------
 2524|      0|            case JUMP_NO_INTERRUPT:
  ------------------
  |  |  248|      0|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (2524:13): [True: 0, False: 31]
  ------------------
 2525|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2525:25): [True: 0, False: 0]
  ------------------
 2526|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2526:21): [True: 0, False: 0]
  ------------------
 2527|      0|                        i -= jump_thread(bb, inst, target, JUMP);
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
 2528|      0|                        continue;
 2529|      0|                    case JUMP_NO_INTERRUPT:
  ------------------
  |  |  248|      0|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (2529:21): [True: 0, False: 0]
  ------------------
 2530|      0|                        i -= jump_thread(bb, inst, target, opcode);
 2531|      0|                        continue;
 2532|      0|                }
 2533|      0|                break;
 2534|      0|            case FOR_ITER:
  ------------------
  |  |   78|      0|#define FOR_ITER                                65
  ------------------
  |  Branch (2534:13): [True: 0, False: 31]
  ------------------
 2535|      0|                if (target->i_opcode == JUMP) {
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2535:21): [True: 0, False: 0]
  ------------------
 2536|       |                    /* This will not work now because the jump (at target) could
 2537|       |                     * be forward or backward and FOR_ITER only jumps forward. We
 2538|       |                     * can re-enable this if ever we implement a backward version
 2539|       |                     * of FOR_ITER.
 2540|       |                     */
 2541|       |                    /*
 2542|       |                    i -= jump_thread(bb, inst, target, FOR_ITER);
 2543|       |                    */
 2544|      0|                }
 2545|      0|                break;
 2546|      0|            case STORE_FAST:
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (2546:13): [True: 0, False: 31]
  ------------------
 2547|      0|                if (opcode == nextop &&
  ------------------
  |  Branch (2547:21): [True: 0, False: 0]
  ------------------
 2548|      0|                    oparg == bb->b_instr[i+1].i_oparg &&
  ------------------
  |  Branch (2548:21): [True: 0, False: 0]
  ------------------
 2549|      0|                    bb->b_instr[i].i_loc.lineno == bb->b_instr[i+1].i_loc.lineno) {
  ------------------
  |  Branch (2549:21): [True: 0, False: 0]
  ------------------
 2550|      0|                    bb->b_instr[i].i_opcode = POP_TOP;
  ------------------
  |  |   42|      0|#define POP_TOP                                 29
  ------------------
 2551|      0|                    bb->b_instr[i].i_oparg = 0;
 2552|      0|                }
 2553|      0|                break;
 2554|      0|            case SWAP:
  ------------------
  |  |  126|      0|#define SWAP                                   113
  ------------------
  |  Branch (2554:13): [True: 0, False: 31]
  ------------------
 2555|      0|                if (oparg == 1) {
  ------------------
  |  Branch (2555:21): [True: 0, False: 0]
  ------------------
 2556|      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 (2556:21): [True: 0, False: 0]
  ------------------
 2557|      0|                }
 2558|      0|                break;
 2559|      2|            case LOAD_GLOBAL:
  ------------------
  |  |  101|      2|#define LOAD_GLOBAL                             88
  ------------------
  |  Branch (2559:13): [True: 2, False: 29]
  ------------------
 2560|      2|                if (nextop == PUSH_NULL && (oparg & 1) == 0) {
  ------------------
  |  |   44|      4|#define PUSH_NULL                               31
  ------------------
  |  Branch (2560:21): [True: 2, False: 0]
  |  Branch (2560:44): [True: 2, False: 0]
  ------------------
 2561|      2|                    INSTR_SET_OP1(inst, LOAD_GLOBAL, oparg | 1);
  ------------------
  |  |  116|      2|    do { \
  |  |  117|      2|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      2|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      2|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      2|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (2561:21): [True: 2, False: 0]
  ------------------
 2562|      2|                    INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|      2|    do { \
  |  |  126|      2|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      2|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      2|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      2|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (2562:21): [True: 2, False: 0]
  ------------------
 2563|      2|                }
 2564|      2|                break;
 2565|      2|            case COMPARE_OP:
  ------------------
  |  |   67|      0|#define COMPARE_OP                              54
  ------------------
  |  Branch (2565:13): [True: 0, False: 31]
  ------------------
 2566|      0|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2566:21): [True: 0, False: 0]
  ------------------
 2567|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2567:21): [True: 0, False: 0]
  ------------------
 2568|      0|                    INSTR_SET_OP1(&bb->b_instr[i + 1], COMPARE_OP, oparg | 16);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2568:21): [True: 0, False: 0]
  ------------------
 2569|      0|                    continue;
 2570|      0|                }
 2571|      0|                break;
 2572|      0|            case CONTAINS_OP:
  ------------------
  |  |   68|      0|#define CONTAINS_OP                             55
  ------------------
  |  Branch (2572:13): [True: 0, False: 31]
  ------------------
 2573|      0|            case IS_OP:
  ------------------
  |  |   83|      0|#define IS_OP                                   70
  ------------------
  |  Branch (2573:13): [True: 0, False: 31]
  ------------------
 2574|      0|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2574:21): [True: 0, False: 0]
  ------------------
 2575|      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 (2575:21): [True: 0, False: 0]
  ------------------
 2576|      0|                    INSTR_SET_OP1(&bb->b_instr[i + 1], opcode, oparg);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2576:21): [True: 0, False: 0]
  ------------------
 2577|      0|                    continue;
 2578|      0|                }
 2579|      0|                if (nextop == UNARY_NOT) {
  ------------------
  |  |   53|      0|#define UNARY_NOT                               40
  ------------------
  |  Branch (2579:21): [True: 0, False: 0]
  ------------------
 2580|      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 (2580:21): [True: 0, False: 0]
  ------------------
 2581|      0|                    int inverted = oparg ^ 1;
 2582|      0|                    assert(inverted == 0 || inverted == 1);
  ------------------
  |  Branch (2582:21): [True: 0, False: 0]
  |  Branch (2582:21): [True: 0, False: 0]
  ------------------
 2583|      0|                    INSTR_SET_OP1(&bb->b_instr[i + 1], opcode, inverted);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2583:21): [True: 0, False: 0]
  ------------------
 2584|      0|                    continue;
 2585|      0|                }
 2586|      0|                break;
 2587|      0|            case TO_BOOL:
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2587:13): [True: 0, False: 31]
  ------------------
 2588|      0|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2588:21): [True: 0, False: 0]
  ------------------
 2589|      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 (2589:21): [True: 0, False: 0]
  ------------------
 2590|      0|                    continue;
 2591|      0|                }
 2592|      0|                break;
 2593|      0|            case UNARY_NOT:
  ------------------
  |  |   53|      0|#define UNARY_NOT                               40
  ------------------
  |  Branch (2593:13): [True: 0, False: 31]
  ------------------
 2594|      0|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2594:21): [True: 0, False: 0]
  ------------------
 2595|      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 (2595:21): [True: 0, False: 0]
  ------------------
 2596|      0|                    INSTR_SET_OP0(&bb->b_instr[i + 1], UNARY_NOT);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2596:21): [True: 0, False: 0]
  ------------------
 2597|      0|                    continue;
 2598|      0|                }
 2599|      0|                if (nextop == UNARY_NOT) {
  ------------------
  |  |   53|      0|#define UNARY_NOT                               40
  ------------------
  |  Branch (2599:21): [True: 0, False: 0]
  ------------------
 2600|      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 (2600:21): [True: 0, False: 0]
  ------------------
 2601|      0|                    INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2601:21): [True: 0, False: 0]
  ------------------
 2602|      0|                    continue;
 2603|      0|                }
 2604|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 2605|      0|            case UNARY_INVERT:
  ------------------
  |  |   51|      0|#define UNARY_INVERT                            38
  ------------------
  |  Branch (2605:13): [True: 0, False: 31]
  ------------------
 2606|      0|            case UNARY_NEGATIVE:
  ------------------
  |  |   52|      0|#define UNARY_NEGATIVE                          39
  ------------------
  |  Branch (2606:13): [True: 0, False: 31]
  ------------------
 2607|      0|                RETURN_IF_ERROR(fold_const_unaryop(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2608|      0|                break;
 2609|      0|            case CALL_INTRINSIC_1:
  ------------------
  |  |   64|      0|#define CALL_INTRINSIC_1                        51
  ------------------
  |  Branch (2609:13): [True: 0, False: 31]
  ------------------
 2610|      0|                if (oparg == INTRINSIC_LIST_TO_TUPLE) {
  ------------------
  |  |   15|      0|#define INTRINSIC_LIST_TO_TUPLE                  6
  ------------------
  |  Branch (2610:21): [True: 0, False: 0]
  ------------------
 2611|      0|                    RETURN_IF_ERROR(fold_constant_seq_into_load_const(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2612|      0|                    if (inst->i_opcode == CALL_INTRINSIC_1 && nextop == GET_ITER) {
  ------------------
  |  |   64|      0|#define CALL_INTRINSIC_1                        51
  ------------------
                                  if (inst->i_opcode == CALL_INTRINSIC_1 && nextop == GET_ITER) {
  ------------------
  |  |   80|      0|#define GET_ITER                                67
  ------------------
  |  Branch (2612:25): [True: 0, False: 0]
  |  Branch (2612:63): [True: 0, False: 0]
  ------------------
 2613|      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 (2613:25): [True: 0, False: 0]
  ------------------
 2614|      0|                    }
 2615|      0|                }
 2616|      0|                else if (oparg == INTRINSIC_UNARY_POSITIVE) {
  ------------------
  |  |   14|      0|#define INTRINSIC_UNARY_POSITIVE                 5
  ------------------
  |  Branch (2616:26): [True: 0, False: 0]
  ------------------
 2617|      0|                    RETURN_IF_ERROR(fold_const_unaryop(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2618|      0|                }
 2619|      0|                break;
 2620|      0|            case LIST_APPEND:
  ------------------
  |  |   87|      0|#define LIST_APPEND                             74
  ------------------
  |  Branch (2620:13): [True: 0, False: 31]
  ------------------
 2621|      0|            case SET_ADD:
  ------------------
  |  |  116|      0|#define SET_ADD                                103
  ------------------
  |  Branch (2621:13): [True: 0, False: 31]
  ------------------
 2622|      0|                if (oparg == 1 && (nextop == GET_ITER || nextop == CONTAINS_OP)) {
  ------------------
  |  |   80|      0|#define GET_ITER                                67
  ------------------
                              if (oparg == 1 && (nextop == GET_ITER || nextop == CONTAINS_OP)) {
  ------------------
  |  |   68|      0|#define CONTAINS_OP                             55
  ------------------
  |  Branch (2622:21): [True: 0, False: 0]
  |  Branch (2622:36): [True: 0, False: 0]
  |  Branch (2622:58): [True: 0, False: 0]
  ------------------
 2623|      0|                    RETURN_IF_ERROR(fold_constant_seq_into_load_const(
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2624|      0|                        bb, i, consts, const_cache, consts_index));
 2625|      0|                }
 2626|      0|                break;
 2627|      0|            case BINARY_OP:
  ------------------
  |  |   55|      0|#define BINARY_OP                               42
  ------------------
  |  Branch (2627:13): [True: 0, False: 31]
  ------------------
 2628|      0|                RETURN_IF_ERROR(fold_const_binop(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2629|      0|                break;
 2630|     31|        }
 2631|     31|    }
 2632|       |
 2633|     37|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2633:21): [True: 31, False: 6]
  ------------------
 2634|     31|        cfg_instr *inst = &bb->b_instr[i];
 2635|     31|        if (inst->i_opcode == SWAP) {
  ------------------
  |  |  126|     31|#define SWAP                                   113
  ------------------
  |  Branch (2635:13): [True: 0, False: 31]
  ------------------
 2636|      0|            if (swaptimize(bb, &i) < 0) {
  ------------------
  |  Branch (2636:17): [True: 0, False: 0]
  ------------------
 2637|      0|                goto error;
 2638|      0|            }
 2639|      0|            apply_static_swaps(bb, i);
 2640|      0|        }
 2641|     31|    }
 2642|      6|    return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
 2643|      0|error:
 2644|      0|    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2645|      6|}
flowgraph.c:fold_tuple_of_constants:
 1537|      2|{
 1538|       |    /* Pre-conditions */
 1539|      2|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (1539:5): [True: 2, False: 0]
  ------------------
 1540|      2|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (1540:5): [True: 2, False: 0]
  ------------------
 1541|       |
 1542|      2|    cfg_instr *instr = &bb->b_instr[i];
 1543|      2|    assert(instr->i_opcode == BUILD_TUPLE);
  ------------------
  |  Branch (1543:5): [True: 2, False: 0]
  ------------------
 1544|       |
 1545|      2|    int seq_size = instr->i_oparg;
 1546|      2|    if (seq_size > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|      2|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (1546:9): [True: 0, False: 2]
  ------------------
 1547|      0|        return SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
 1548|      0|    }
 1549|       |
 1550|      2|    cfg_instr *const_instrs[_PY_STACK_USE_GUIDELINE];
 1551|      2|    if (!get_const_loading_instrs(bb, i-1, const_instrs, seq_size)) {
  ------------------
  |  Branch (1551:9): [True: 2, False: 0]
  ------------------
 1552|       |        /* not a const sequence */
 1553|      2|        return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 1554|      2|    }
 1555|       |
 1556|      0|    PyObject *const_tuple = PyTuple_New((Py_ssize_t)seq_size);
 1557|      0|    if (const_tuple == NULL) {
  ------------------
  |  Branch (1557:9): [True: 0, False: 0]
  ------------------
 1558|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1559|      0|    }
 1560|       |
 1561|      0|    for (int i = 0; i < seq_size; i++) {
  ------------------
  |  Branch (1561:21): [True: 0, False: 0]
  ------------------
 1562|      0|        cfg_instr *inst = const_instrs[i];
 1563|      0|        assert(loads_const(inst->i_opcode));
  ------------------
  |  Branch (1563:9): [True: 0, False: 0]
  ------------------
 1564|      0|        PyObject *element = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 1565|      0|        if (element == NULL) {
  ------------------
  |  Branch (1565:13): [True: 0, False: 0]
  ------------------
 1566|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1567|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1568|      0|        }
 1569|      0|        PyTuple_SET_ITEM(const_tuple, i, element);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1570|      0|    }
 1571|       |
 1572|      0|    nop_out(const_instrs, seq_size);
 1573|      0|    return instr_make_load_const(instr, const_tuple, consts, const_cache, consts_index);
 1574|      0|}
flowgraph.c:get_const_loading_instrs:
 1397|      2|{
 1398|      2|    assert(start < bb->b_iused);
  ------------------
  |  Branch (1398:5): [True: 2, False: 0]
  ------------------
 1399|      2|    assert(size >= 0);
  ------------------
  |  Branch (1399:5): [True: 2, False: 0]
  ------------------
 1400|      2|    assert(size <= _PY_STACK_USE_GUIDELINE);
  ------------------
  |  Branch (1400:5): [True: 2, False: 0]
  ------------------
 1401|       |
 1402|      2|    for (; start >= 0 && size > 0; start--) {
  ------------------
  |  Branch (1402:12): [True: 2, False: 0]
  |  Branch (1402:26): [True: 2, False: 0]
  ------------------
 1403|      2|        cfg_instr *instr = &bb->b_instr[start];
 1404|      2|        if (instr->i_opcode == NOP) {
  ------------------
  |  |   38|      2|#define NOP                                     25
  ------------------
  |  Branch (1404:13): [True: 0, False: 2]
  ------------------
 1405|      0|            continue;
 1406|      0|        }
 1407|      2|        if (!loads_const(instr->i_opcode)) {
  ------------------
  |  Branch (1407:13): [True: 2, False: 0]
  ------------------
 1408|      2|            return false;
 1409|      2|        }
 1410|      0|        instrs[--size] = instr;
 1411|      0|    }
 1412|       |
 1413|      0|    return size == 0;
 1414|      2|}
flowgraph.c:remove_redundant_nops_and_pairs:
 1137|      4|{
 1138|      4|    bool done = false;
 1139|       |
 1140|      8|    while (! done) {
  ------------------
  |  Branch (1140:12): [True: 4, False: 4]
  ------------------
 1141|      4|        done = true;
 1142|      4|        cfg_instr *prev_instr = NULL;
 1143|      4|        cfg_instr *instr = NULL;
 1144|     10|        for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1144:42): [True: 6, False: 4]
  ------------------
 1145|      6|            RETURN_IF_ERROR(basicblock_remove_redundant_nops(b));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1146|      6|            if (IS_LABEL(b->b_label)) {
  ------------------
  |  |   96|      6|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|      6|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (96:21): [True: 0, False: 6]
  |  |  ------------------
  ------------------
 1147|       |                /* this block is a jump target, forget instr */
 1148|      0|                instr = NULL;
 1149|      0|            }
 1150|     35|            for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (1150:29): [True: 29, False: 6]
  ------------------
 1151|     29|                prev_instr = instr;
 1152|     29|                instr = &b->b_instr[i];
 1153|     29|                int prev_opcode = prev_instr ? prev_instr->i_opcode : 0;
  ------------------
  |  Branch (1153:35): [True: 25, False: 4]
  ------------------
 1154|     29|                int prev_oparg = prev_instr ? prev_instr->i_oparg : 0;
  ------------------
  |  Branch (1154:34): [True: 25, False: 4]
  ------------------
 1155|     29|                int opcode = instr->i_opcode;
 1156|     29|                bool is_redundant_pair = false;
 1157|     29|                if (opcode == POP_TOP) {
  ------------------
  |  |   42|     29|#define POP_TOP                                 29
  ------------------
  |  Branch (1157:21): [True: 0, False: 29]
  ------------------
 1158|      0|                   if (loads_const(prev_opcode)) {
  ------------------
  |  Branch (1158:24): [True: 0, False: 0]
  ------------------
 1159|      0|                       is_redundant_pair = true;
 1160|      0|                   }
 1161|      0|                   else if (prev_opcode == COPY && prev_oparg == 1) {
  ------------------
  |  |   70|      0|#define COPY                                    57
  ------------------
  |  Branch (1161:29): [True: 0, False: 0]
  |  Branch (1161:52): [True: 0, False: 0]
  ------------------
 1162|      0|                       is_redundant_pair = true;
 1163|      0|                   }
 1164|      0|                }
 1165|     29|                if (is_redundant_pair) {
  ------------------
  |  Branch (1165:21): [True: 0, False: 29]
  ------------------
 1166|      0|                    INSTR_SET_OP0(prev_instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1166:21): [True: 0, False: 0]
  ------------------
 1167|      0|                    INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1167:21): [True: 0, False: 0]
  ------------------
 1168|      0|                    done = false;
 1169|      0|                }
 1170|     29|            }
 1171|      6|            if ((instr && is_jump(instr)) || !BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  253|      6|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  ------------------
  |  Branch (1171:18): [True: 4, False: 2]
  |  Branch (1171:27): [True: 0, False: 4]
  |  Branch (1171:46): [True: 4, False: 2]
  ------------------
 1172|      4|                instr = NULL;
 1173|      4|            }
 1174|      6|        }
 1175|      4|    }
 1176|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 1177|      4|}
flowgraph.c:basicblock_remove_redundant_nops:
 1062|     30|basicblock_remove_redundant_nops(basicblock *bb) {
 1063|       |    /* Remove NOPs when legal to do so. */
 1064|     30|    int dest = 0;
 1065|     30|    int prev_lineno = -1;
 1066|    172|    for (int src = 0; src < bb->b_iused; src++) {
  ------------------
  |  Branch (1066:23): [True: 142, False: 30]
  ------------------
 1067|    142|        int lineno = bb->b_instr[src].i_loc.lineno;
 1068|    142|        if (bb->b_instr[src].i_opcode == NOP) {
  ------------------
  |  |   38|    142|#define NOP                                     25
  ------------------
  |  Branch (1068:13): [True: 7, False: 135]
  ------------------
 1069|       |            /* Eliminate no-op if it doesn't have a line number */
 1070|      7|            if (lineno < 0) {
  ------------------
  |  Branch (1070:17): [True: 0, False: 7]
  ------------------
 1071|      0|                continue;
 1072|      0|            }
 1073|       |            /* or, if the previous instruction had the same line number. */
 1074|      7|            if (prev_lineno == lineno) {
  ------------------
  |  Branch (1074:17): [True: 7, False: 0]
  ------------------
 1075|      7|                continue;
 1076|      7|            }
 1077|       |            /* or, if the next instruction has same line number or no line number */
 1078|      0|            if (src < bb->b_iused - 1) {
  ------------------
  |  Branch (1078:17): [True: 0, False: 0]
  ------------------
 1079|      0|                int next_lineno = bb->b_instr[src+1].i_loc.lineno;
 1080|      0|                if (next_lineno == lineno) {
  ------------------
  |  Branch (1080:21): [True: 0, False: 0]
  ------------------
 1081|      0|                    continue;
 1082|      0|                }
 1083|      0|                if (next_lineno < 0) {
  ------------------
  |  Branch (1083:21): [True: 0, False: 0]
  ------------------
 1084|      0|                    bb->b_instr[src+1].i_loc = bb->b_instr[src].i_loc;
 1085|      0|                    continue;
 1086|      0|                }
 1087|      0|            }
 1088|      0|            else {
 1089|      0|                basicblock *next = next_nonempty_block(bb->b_next);
 1090|       |                /* or if last instruction in BB and next BB has same line number */
 1091|      0|                if (next) {
  ------------------
  |  Branch (1091:21): [True: 0, False: 0]
  ------------------
 1092|      0|                    location next_loc = NO_LOCATION;
 1093|      0|                    for (int next_i=0; next_i < next->b_iused; next_i++) {
  ------------------
  |  Branch (1093:40): [True: 0, False: 0]
  ------------------
 1094|      0|                        cfg_instr *instr = &next->b_instr[next_i];
 1095|      0|                        if (instr->i_opcode == NOP && instr->i_loc.lineno < 0) {
  ------------------
  |  |   38|      0|#define NOP                                     25
  ------------------
  |  Branch (1095:29): [True: 0, False: 0]
  |  Branch (1095:55): [True: 0, False: 0]
  ------------------
 1096|       |                            /* Skip over NOPs without a location, they will be removed */
 1097|      0|                            continue;
 1098|      0|                        }
 1099|      0|                        next_loc = instr->i_loc;
 1100|      0|                        break;
 1101|      0|                    }
 1102|      0|                    if (lineno == next_loc.lineno) {
  ------------------
  |  Branch (1102:25): [True: 0, False: 0]
  ------------------
 1103|      0|                        continue;
 1104|      0|                    }
 1105|      0|                }
 1106|      0|            }
 1107|       |
 1108|      0|        }
 1109|    135|        if (dest != src) {
  ------------------
  |  Branch (1109:13): [True: 27, False: 108]
  ------------------
 1110|     27|            bb->b_instr[dest] = bb->b_instr[src];
 1111|     27|        }
 1112|    135|        dest++;
 1113|    135|        prev_lineno = lineno;
 1114|    135|    }
 1115|     30|    assert(dest <= bb->b_iused);
  ------------------
  |  Branch (1115:5): [True: 30, False: 0]
  ------------------
 1116|     30|    int num_removed = bb->b_iused - dest;
 1117|     30|    bb->b_iused = dest;
 1118|     30|    memset(&bb->b_instr[dest], 0, sizeof(cfg_instr) * num_removed);
 1119|     30|    return num_removed;
 1120|     30|}
flowgraph.c:remove_redundant_nops_and_jumps:
 2651|      8|{
 2652|      8|    int removed_nops, removed_jumps;
 2653|      8|    do {
 2654|       |        /* Convergence is guaranteed because the number of
 2655|       |         * redundant jumps and nops only decreases.
 2656|       |         */
 2657|      8|        removed_nops = remove_redundant_nops(g);
 2658|      8|        RETURN_IF_ERROR(removed_nops);
  ------------------
  |  |   25|      8|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 8]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2659|      8|        removed_jumps = remove_redundant_jumps(g);
 2660|      8|        RETURN_IF_ERROR(removed_jumps);
  ------------------
  |  |   25|      8|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 8]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2661|      8|    } while(removed_nops + removed_jumps > 0);
  ------------------
  |  Branch (2661:13): [True: 0, False: 8]
  ------------------
 2662|      8|    return SUCCESS;
  ------------------
  |  |   21|      8|#define SUCCESS 0
  ------------------
 2663|      8|}
flowgraph.c:remove_redundant_nops:
 1123|     16|remove_redundant_nops(cfg_builder *g) {
 1124|     16|    int changes = 0;
 1125|     40|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1125:43): [True: 24, False: 16]
  ------------------
 1126|     24|        int change = basicblock_remove_redundant_nops(b);
 1127|     24|        RETURN_IF_ERROR(change);
  ------------------
  |  |   25|     24|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 24]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1128|     24|        changes += change;
 1129|     24|    }
 1130|     16|    return changes;
 1131|     16|}
flowgraph.c:remove_redundant_jumps:
 1180|      8|remove_redundant_jumps(cfg_builder *g) {
 1181|       |    /* If a non-empty block ends with a jump instruction, check if the next
 1182|       |     * non-empty block reached through normal flow control is the target
 1183|       |     * of that jump. If it is, then the jump instruction is redundant and
 1184|       |     * can be deleted.
 1185|       |     *
 1186|       |     * Return the number of changes applied, or -1 on error.
 1187|       |     */
 1188|       |
 1189|      8|    int changes = 0;
 1190|     20|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1190:43): [True: 12, False: 8]
  ------------------
 1191|     12|        cfg_instr *last = basicblock_last_instr(b);
 1192|     12|        if (last == NULL) {
  ------------------
  |  Branch (1192:13): [True: 4, False: 8]
  ------------------
 1193|      4|            continue;
 1194|      4|        }
 1195|     12|        assert(!IS_ASSEMBLER_OPCODE(last->i_opcode));
  ------------------
  |  Branch (1195:9): [True: 0, False: 8]
  |  Branch (1195:9): [True: 0, False: 8]
  |  Branch (1195:9): [True: 0, False: 8]
  ------------------
 1196|      8|        if (IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   40|      8|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|     16|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 8]
  |  |  ------------------
  |  |   41|      8|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|     16|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 8]
  |  |  ------------------
  |  |   42|      8|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|     16|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 8]
  |  |  ------------------
  |  |   43|      8|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|     16|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 8]
  |  |  ------------------
  |  |   44|      8|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|      8|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 8]
  |  |  ------------------
  ------------------
 1197|      0|            basicblock* jump_target = next_nonempty_block(last->i_target);
 1198|      0|            if (jump_target == NULL) {
  ------------------
  |  Branch (1198:17): [True: 0, False: 0]
  ------------------
 1199|      0|                PyErr_SetString(PyExc_SystemError, "jump with NULL target");
 1200|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1201|      0|            }
 1202|      0|            basicblock *next = next_nonempty_block(b->b_next);
 1203|      0|            if (jump_target == next) {
  ------------------
  |  Branch (1203:17): [True: 0, False: 0]
  ------------------
 1204|      0|                changes++;
 1205|      0|                INSTR_SET_OP0(last, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1205:17): [True: 0, False: 0]
  ------------------
 1206|      0|            }
 1207|      0|        }
 1208|      8|    }
 1209|       |
 1210|      8|    return changes;
 1211|      8|}
flowgraph.c:remove_unused_consts:
 3308|      4|{
 3309|      4|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (3309:5): [True: 4, False: 0]
  ------------------
 3310|      4|    Py_ssize_t nconsts = PyList_GET_SIZE(consts);
  ------------------
  |  |   38|      4|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3311|      4|    if (nconsts == 0) {
  ------------------
  |  Branch (3311:9): [True: 0, False: 4]
  ------------------
 3312|      0|        return SUCCESS;  /* nothing to do */
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
 3313|      0|    }
 3314|       |
 3315|      4|    Py_ssize_t *index_map = NULL;
 3316|      4|    Py_ssize_t *reverse_index_map = NULL;
 3317|      4|    int err = ERROR;
  ------------------
  |  |   22|      4|#define ERROR -1
  ------------------
 3318|       |
 3319|      4|    index_map = PyMem_Malloc(nconsts * sizeof(Py_ssize_t));
 3320|      4|    if (index_map == NULL) {
  ------------------
  |  Branch (3320:9): [True: 0, False: 4]
  ------------------
 3321|      0|        PyErr_NoMemory();
 3322|      0|        goto end;
 3323|      0|    }
 3324|      4|    for (Py_ssize_t i = 1; i < nconsts; i++) {
  ------------------
  |  Branch (3324:28): [True: 0, False: 4]
  ------------------
 3325|      0|        index_map[i] = -1;
 3326|      0|    }
 3327|       |    // The first constant may be docstring; keep it always.
 3328|      4|    index_map[0] = 0;
 3329|       |
 3330|       |    /* mark used consts */
 3331|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3331:38): [True: 6, False: 4]
  ------------------
 3332|     35|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3332:25): [True: 29, False: 6]
  ------------------
 3333|     29|            int opcode = b->b_instr[i].i_opcode;
 3334|     29|            if (OPCODE_HAS_CONST(opcode)) {
  ------------------
  |  | 1063|     29|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1044|     29|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1063:30): [True: 2, False: 27]
  |  |  ------------------
  ------------------
 3335|      2|                int index = b->b_instr[i].i_oparg;
 3336|      2|                index_map[index] = index;
 3337|      2|            }
 3338|     29|        }
 3339|      6|    }
 3340|       |    /* now index_map[i] == i if consts[i] is used, -1 otherwise */
 3341|       |    /* condense consts */
 3342|      4|    Py_ssize_t n_used_consts = 0;
 3343|      8|    for (Py_ssize_t i = 0; i < nconsts; i++) {
  ------------------
  |  Branch (3343:28): [True: 4, False: 4]
  ------------------
 3344|      4|        if (index_map[i] != -1) {
  ------------------
  |  Branch (3344:13): [True: 4, False: 0]
  ------------------
 3345|      4|            assert(index_map[i] == i);
  ------------------
  |  Branch (3345:13): [True: 4, False: 0]
  ------------------
 3346|      4|            index_map[n_used_consts++] = index_map[i];
 3347|      4|        }
 3348|      4|    }
 3349|      4|    if (n_used_consts == nconsts) {
  ------------------
  |  Branch (3349:9): [True: 4, False: 0]
  ------------------
 3350|       |        /* nothing to do */
 3351|      4|        err = SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 3352|      4|        goto end;
 3353|      4|    }
 3354|       |
 3355|       |    /* move all used consts to the beginning of the consts list */
 3356|      4|    assert(n_used_consts < nconsts);
  ------------------
  |  Branch (3356:5): [True: 0, False: 0]
  ------------------
 3357|      0|    for (Py_ssize_t i = 0; i < n_used_consts; i++) {
  ------------------
  |  Branch (3357:28): [True: 0, False: 0]
  ------------------
 3358|      0|        Py_ssize_t old_index = index_map[i];
 3359|      0|        assert(i <= old_index && old_index < nconsts);
  ------------------
  |  Branch (3359:9): [True: 0, False: 0]
  |  Branch (3359:9): [True: 0, False: 0]
  ------------------
 3360|      0|        if (i != old_index) {
  ------------------
  |  Branch (3360:13): [True: 0, False: 0]
  ------------------
 3361|      0|            PyObject *value = PyList_GET_ITEM(consts, index_map[i]);
  ------------------
  |  |   40|      0|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      0|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3361:31): [True: 0, False: 0]
  ------------------
 3362|      0|            assert(value != NULL);
  ------------------
  |  Branch (3362:13): [True: 0, False: 0]
  ------------------
 3363|      0|            PyList_SetItem(consts, i, Py_NewRef(value));
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3364|      0|        }
 3365|      0|    }
 3366|       |
 3367|       |    /* truncate the consts list at its new size */
 3368|      0|    if (PyList_SetSlice(consts, n_used_consts, nconsts, NULL) < 0) {
  ------------------
  |  Branch (3368:9): [True: 0, False: 0]
  ------------------
 3369|      0|        goto end;
 3370|      0|    }
 3371|       |    /* adjust const indices in the bytecode */
 3372|      0|    reverse_index_map = PyMem_Malloc(nconsts * sizeof(Py_ssize_t));
 3373|      0|    if (reverse_index_map == NULL) {
  ------------------
  |  Branch (3373:9): [True: 0, False: 0]
  ------------------
 3374|      0|        PyErr_NoMemory();
 3375|      0|        goto end;
 3376|      0|    }
 3377|      0|    for (Py_ssize_t i = 0; i < nconsts; i++) {
  ------------------
  |  Branch (3377:28): [True: 0, False: 0]
  ------------------
 3378|      0|        reverse_index_map[i] = -1;
 3379|      0|    }
 3380|      0|    for (Py_ssize_t i = 0; i < n_used_consts; i++) {
  ------------------
  |  Branch (3380:28): [True: 0, False: 0]
  ------------------
 3381|      0|        assert(index_map[i] != -1);
  ------------------
  |  Branch (3381:9): [True: 0, False: 0]
  ------------------
 3382|      0|        assert(reverse_index_map[index_map[i]] == -1);
  ------------------
  |  Branch (3382:9): [True: 0, False: 0]
  ------------------
 3383|      0|        reverse_index_map[index_map[i]] = i;
 3384|      0|    }
 3385|       |
 3386|      0|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3386:38): [True: 0, False: 0]
  ------------------
 3387|      0|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3387:25): [True: 0, False: 0]
  ------------------
 3388|      0|            int opcode = b->b_instr[i].i_opcode;
 3389|      0|            if (OPCODE_HAS_CONST(opcode)) {
  ------------------
  |  | 1063|      0|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1044|      0|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1063:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3390|      0|                int index = b->b_instr[i].i_oparg;
 3391|      0|                assert(reverse_index_map[index] >= 0);
  ------------------
  |  Branch (3391:17): [True: 0, False: 0]
  ------------------
 3392|      0|                assert(reverse_index_map[index] < n_used_consts);
  ------------------
  |  Branch (3392:17): [True: 0, False: 0]
  ------------------
 3393|      0|                b->b_instr[i].i_oparg = (int)reverse_index_map[index];
 3394|      0|            }
 3395|      0|        }
 3396|      0|    }
 3397|       |
 3398|      0|    err = SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
 3399|      4|end:
 3400|      4|    PyMem_Free(index_map);
 3401|      4|    PyMem_Free(reverse_index_map);
 3402|      4|    return err;
 3403|      0|}
flowgraph.c:add_checks_for_loads_of_uninitialized_variables:
 3411|      4|{
 3412|      4|    if (nlocals == 0) {
  ------------------
  |  Branch (3412:9): [True: 2, False: 2]
  ------------------
 3413|      2|        return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 3414|      2|    }
 3415|      2|    if (nlocals > 64) {
  ------------------
  |  Branch (3415:9): [True: 0, False: 2]
  ------------------
 3416|       |        // To avoid O(nlocals**2) compilation, locals beyond the first
 3417|       |        // 64 are only analyzed one basicblock at a time: initialization
 3418|       |        // info is not passed between basicblocks.
 3419|      0|        if (fast_scan_many_locals(entryblock, nlocals) < 0) {
  ------------------
  |  Branch (3419:13): [True: 0, False: 0]
  ------------------
 3420|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3421|      0|        }
 3422|      0|        nlocals = 64;
 3423|      0|    }
 3424|      2|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3425|      2|    if (stack == NULL) {
  ------------------
  |  Branch (3425:9): [True: 0, False: 2]
  ------------------
 3426|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3427|      0|    }
 3428|      2|    basicblock **sp = stack;
 3429|       |
 3430|       |    // First origin of being uninitialized:
 3431|       |    // The non-parameter locals in the entry block.
 3432|      2|    uint64_t start_mask = 0;
 3433|      2|    for (int i = nparams; i < nlocals; i++) {
  ------------------
  |  Branch (3433:27): [True: 0, False: 2]
  ------------------
 3434|      0|        start_mask |= (uint64_t)1 << i;
 3435|      0|    }
 3436|      2|    maybe_push(entryblock, start_mask, &sp);
 3437|       |
 3438|       |    // Second origin of being uninitialized:
 3439|       |    // There could be DELETE_FAST somewhere, so
 3440|       |    // be sure to scan each basicblock at least once.
 3441|      6|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3441:38): [True: 4, False: 2]
  ------------------
 3442|      4|        scan_block_for_locals(b, &sp);
 3443|      4|    }
 3444|       |    // Now propagate the uncertainty from the origins we found: Use
 3445|       |    // LOAD_FAST_CHECK for any LOAD_FAST where the local could be undefined.
 3446|      2|    while (sp > stack) {
  ------------------
  |  Branch (3446:12): [True: 0, False: 2]
  ------------------
 3447|      0|        basicblock *b = *--sp;
 3448|       |        // mark as no longer on stack
 3449|      0|        b->b_visited = 0;
 3450|      0|        scan_block_for_locals(b, &sp);
 3451|      0|    }
 3452|      2|    PyMem_Free(stack);
 3453|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 3454|      2|}
flowgraph.c:maybe_push:
 3196|      2|{
 3197|       |    // Push b if the unsafe mask is giving us any new information.
 3198|       |    // To avoid overflowing the stack, only allow each block once.
 3199|       |    // Use b->b_visited=1 to mean that b is currently on the stack.
 3200|      2|    uint64_t both = b->b_unsafe_locals_mask | unsafe_mask;
 3201|      2|    if (b->b_unsafe_locals_mask != both) {
  ------------------
  |  Branch (3201:9): [True: 0, False: 2]
  ------------------
 3202|      0|        b->b_unsafe_locals_mask = both;
 3203|       |        // More work left to do.
 3204|      0|        if (!b->b_visited) {
  ------------------
  |  Branch (3204:13): [True: 0, False: 0]
  ------------------
 3205|       |            // not on the stack, so push it.
 3206|      0|            *(*sp)++ = b;
 3207|      0|            b->b_visited = 1;
 3208|      0|        }
 3209|      0|    }
 3210|      2|}
flowgraph.c:scan_block_for_locals:
 3214|      4|{
 3215|       |    // bit i is set if local i is potentially uninitialized
 3216|      4|    uint64_t unsafe_mask = b->b_unsafe_locals_mask;
 3217|     25|    for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3217:21): [True: 21, False: 4]
  ------------------
 3218|     21|        cfg_instr *instr = &b->b_instr[i];
 3219|     21|        assert(instr->i_opcode != EXTENDED_ARG);
  ------------------
  |  Branch (3219:9): [True: 21, False: 0]
  ------------------
 3220|     21|        if (instr->i_except != NULL) {
  ------------------
  |  Branch (3220:13): [True: 0, False: 21]
  ------------------
 3221|      0|            maybe_push(instr->i_except, unsafe_mask, sp);
 3222|      0|        }
 3223|     21|        if (instr->i_oparg >= 64) {
  ------------------
  |  Branch (3223:13): [True: 0, False: 21]
  ------------------
 3224|      0|            continue;
 3225|      0|        }
 3226|     21|        assert(instr->i_oparg >= 0);
  ------------------
  |  Branch (3226:9): [True: 21, False: 0]
  ------------------
 3227|     21|        uint64_t bit = (uint64_t)1 << instr->i_oparg;
 3228|     21|        switch (instr->i_opcode) {
  ------------------
  |  Branch (3228:17): [True: 11, False: 10]
  ------------------
 3229|      0|            case DELETE_FAST:
  ------------------
  |  |   73|      0|#define DELETE_FAST                             60
  ------------------
  |  Branch (3229:13): [True: 0, False: 21]
  ------------------
 3230|      0|            case LOAD_FAST_AND_CLEAR:
  ------------------
  |  |   94|      0|#define LOAD_FAST_AND_CLEAR                     81
  ------------------
  |  Branch (3230:13): [True: 0, False: 21]
  ------------------
 3231|      0|            case STORE_FAST_MAYBE_NULL:
  ------------------
  |  |  254|      0|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (3231:13): [True: 0, False: 21]
  ------------------
 3232|      0|                unsafe_mask |= bit;
 3233|      0|                break;
 3234|      0|            case STORE_FAST:
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (3234:13): [True: 0, False: 21]
  ------------------
 3235|      0|                unsafe_mask &= ~bit;
 3236|      0|                break;
 3237|      0|            case LOAD_FAST_CHECK:
  ------------------
  |  |   97|      0|#define LOAD_FAST_CHECK                         84
  ------------------
  |  Branch (3237:13): [True: 0, False: 21]
  ------------------
 3238|       |                // If this doesn't raise, then the local is defined.
 3239|      0|                unsafe_mask &= ~bit;
 3240|      0|                break;
 3241|     11|            case LOAD_FAST:
  ------------------
  |  |   93|     11|#define LOAD_FAST                               80
  ------------------
  |  Branch (3241:13): [True: 11, False: 10]
  ------------------
 3242|     11|                if (unsafe_mask & bit) {
  ------------------
  |  Branch (3242:21): [True: 0, False: 11]
  ------------------
 3243|      0|                    instr->i_opcode = LOAD_FAST_CHECK;
  ------------------
  |  |   97|      0|#define LOAD_FAST_CHECK                         84
  ------------------
 3244|      0|                }
 3245|     11|                unsafe_mask &= ~bit;
 3246|     11|                break;
 3247|     21|        }
 3248|     21|    }
 3249|      4|    if (b->b_next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  253|      2|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (3249:9): [True: 2, False: 2]
  ------------------
 3250|      0|        maybe_push(b->b_next, unsafe_mask, sp);
 3251|      0|    }
 3252|      4|    cfg_instr *last = basicblock_last_instr(b);
 3253|      4|    if (last && is_jump(last)) {
  ------------------
  |  Branch (3253:9): [True: 2, False: 2]
  |  Branch (3253:17): [True: 0, False: 2]
  ------------------
 3254|      0|        assert(last->i_target != NULL);
  ------------------
  |  Branch (3254:9): [True: 0, False: 0]
  ------------------
 3255|      0|        maybe_push(last->i_target, unsafe_mask, sp);
 3256|      0|    }
 3257|      4|}
flowgraph.c:push_cold_blocks_to_end:
 3539|      4|push_cold_blocks_to_end(cfg_builder *g) {
 3540|      4|    basicblock *entryblock = g->g_entryblock;
 3541|      4|    if (entryblock->b_next == NULL) {
  ------------------
  |  Branch (3541:9): [True: 2, False: 2]
  ------------------
 3542|       |        /* single basicblock, no need to reorder */
 3543|      2|        return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 3544|      2|    }
 3545|      2|    RETURN_IF_ERROR(mark_cold(entryblock));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3546|       |
 3547|      2|    int next_lbl = get_max_label(g->g_entryblock) + 1;
 3548|       |
 3549|       |    /* If we have a cold block with fallthrough to a warm block, add */
 3550|       |    /* an explicit jump instead of fallthrough */
 3551|      6|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3551:38): [True: 4, False: 2]
  ------------------
 3552|      4|        if (b->b_cold && BB_HAS_FALLTHROUGH(b) && b->b_next && b->b_next->b_warm) {
  ------------------
  |  |  253|      4|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3552:13): [True: 0, False: 4]
  |  Branch (3552:51): [True: 0, False: 0]
  |  Branch (3552:64): [True: 0, False: 0]
  ------------------
 3553|      0|            basicblock *explicit_jump = cfg_builder_new_block(g);
 3554|      0|            if (explicit_jump == NULL) {
  ------------------
  |  Branch (3554:17): [True: 0, False: 0]
  ------------------
 3555|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3556|      0|            }
 3557|      0|            if (!IS_LABEL(b->b_next->b_label)) {
  ------------------
  |  |   96|      0|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|      0|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  ------------------
  |  Branch (3557:17): [True: 0, False: 0]
  ------------------
 3558|      0|                b->b_next->b_label.id = next_lbl++;
 3559|      0|            }
 3560|      0|            RETURN_IF_ERROR(
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3561|      0|                basicblock_addop(explicit_jump, JUMP_NO_INTERRUPT,
 3562|      0|                                 b->b_next->b_label.id, NO_LOCATION, NULL));
 3563|      0|            explicit_jump->b_cold = 1;
 3564|      0|            explicit_jump->b_next = b->b_next;
 3565|      0|            explicit_jump->b_predecessors = 1;
 3566|      0|            b->b_next = explicit_jump;
 3567|       |
 3568|       |            /* set target */
 3569|      0|            cfg_instr *last = basicblock_last_instr(explicit_jump);
 3570|      0|            last->i_target = explicit_jump->b_next;
 3571|      0|        }
 3572|      4|    }
 3573|       |
 3574|      2|    assert(!entryblock->b_cold);  /* First block can't be cold */
  ------------------
  |  Branch (3574:5): [True: 2, False: 0]
  ------------------
 3575|      2|    basicblock *cold_blocks = NULL;
 3576|      2|    basicblock *cold_blocks_tail = NULL;
 3577|       |
 3578|      2|    basicblock *b = entryblock;
 3579|      2|    while(b->b_next) {
  ------------------
  |  Branch (3579:11): [True: 2, False: 0]
  ------------------
 3580|      2|        assert(!b->b_cold);
  ------------------
  |  Branch (3580:9): [True: 2, False: 0]
  ------------------
 3581|      4|        while (b->b_next && !b->b_next->b_cold) {
  ------------------
  |  Branch (3581:16): [True: 2, False: 2]
  |  Branch (3581:29): [True: 2, False: 0]
  ------------------
 3582|      2|            b = b->b_next;
 3583|      2|        }
 3584|      2|        if (b->b_next == NULL) {
  ------------------
  |  Branch (3584:13): [True: 2, False: 0]
  ------------------
 3585|       |            /* no more cold blocks */
 3586|      2|            break;
 3587|      2|        }
 3588|       |
 3589|       |        /* b->b_next is the beginning of a cold streak */
 3590|      2|        assert(!b->b_cold && b->b_next->b_cold);
  ------------------
  |  Branch (3590:9): [True: 0, False: 0]
  |  Branch (3590:9): [True: 0, False: 0]
  ------------------
 3591|       |
 3592|      0|        basicblock *b_end = b->b_next;
 3593|      0|        while (b_end->b_next && b_end->b_next->b_cold) {
  ------------------
  |  Branch (3593:16): [True: 0, False: 0]
  |  Branch (3593:33): [True: 0, False: 0]
  ------------------
 3594|      0|            b_end = b_end->b_next;
 3595|      0|        }
 3596|       |
 3597|       |        /* b_end is the end of the cold streak */
 3598|      0|        assert(b_end && b_end->b_cold);
  ------------------
  |  Branch (3598:9): [True: 0, False: 0]
  |  Branch (3598:9): [True: 0, False: 0]
  ------------------
 3599|      0|        assert(b_end->b_next == NULL || !b_end->b_next->b_cold);
  ------------------
  |  Branch (3599:9): [True: 0, False: 0]
  |  Branch (3599:9): [True: 0, False: 0]
  ------------------
 3600|       |
 3601|      0|        if (cold_blocks == NULL) {
  ------------------
  |  Branch (3601:13): [True: 0, False: 0]
  ------------------
 3602|      0|            cold_blocks = b->b_next;
 3603|      0|        }
 3604|      0|        else {
 3605|      0|            cold_blocks_tail->b_next = b->b_next;
 3606|      0|        }
 3607|      0|        cold_blocks_tail = b_end;
 3608|      0|        b->b_next = b_end->b_next;
 3609|      0|        b_end->b_next = NULL;
 3610|      0|    }
 3611|      2|    assert(b != NULL && b->b_next == NULL);
  ------------------
  |  Branch (3611:5): [True: 2, False: 0]
  |  Branch (3611:5): [True: 2, False: 0]
  ------------------
 3612|      2|    b->b_next = cold_blocks;
 3613|       |
 3614|      2|    if (cold_blocks != NULL) {
  ------------------
  |  Branch (3614:9): [True: 0, False: 2]
  ------------------
 3615|      0|        RETURN_IF_ERROR(remove_redundant_nops_and_jumps(g));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3616|      0|    }
 3617|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 3618|      2|}
flowgraph.c:mark_cold:
 3489|      2|mark_cold(basicblock *entryblock) {
 3490|      6|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3490:38): [True: 4, False: 2]
  ------------------
 3491|      4|        assert(!b->b_cold && !b->b_warm);
  ------------------
  |  Branch (3491:9): [True: 4, False: 0]
  |  Branch (3491:9): [True: 4, False: 0]
  ------------------
 3492|      4|    }
 3493|      2|    if (mark_warm(entryblock) < 0) {
  ------------------
  |  Branch (3493:9): [True: 0, False: 2]
  ------------------
 3494|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3495|      0|    }
 3496|       |
 3497|      2|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3498|      2|    if (stack == NULL) {
  ------------------
  |  Branch (3498:9): [True: 0, False: 2]
  ------------------
 3499|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3500|      0|    }
 3501|       |
 3502|      2|    basicblock **sp = stack;
 3503|      6|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3503:38): [True: 4, False: 2]
  ------------------
 3504|      4|        if (b->b_except_handler) {
  ------------------
  |  Branch (3504:13): [True: 0, False: 4]
  ------------------
 3505|      0|            assert(!b->b_warm);
  ------------------
  |  Branch (3505:13): [True: 0, False: 0]
  ------------------
 3506|      0|            *sp++ = b;
 3507|      0|            b->b_visited = 1;
 3508|      0|        }
 3509|      4|    }
 3510|       |
 3511|      2|    while (sp > stack) {
  ------------------
  |  Branch (3511:12): [True: 0, False: 2]
  ------------------
 3512|      0|        basicblock *b = *(--sp);
 3513|      0|        b->b_cold = 1;
 3514|      0|        basicblock *next = b->b_next;
 3515|      0|        if (next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  253|      0|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3515:13): [True: 0, False: 0]
  ------------------
 3516|      0|            if (!next->b_warm && !next->b_visited) {
  ------------------
  |  Branch (3516:17): [True: 0, False: 0]
  |  Branch (3516:34): [True: 0, False: 0]
  ------------------
 3517|      0|                *sp++ = next;
 3518|      0|                next->b_visited = 1;
 3519|      0|            }
 3520|      0|        }
 3521|      0|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3521:25): [True: 0, False: 0]
  ------------------
 3522|      0|            cfg_instr *instr = &b->b_instr[i];
 3523|      0|            if (is_jump(instr)) {
  ------------------
  |  Branch (3523:17): [True: 0, False: 0]
  ------------------
 3524|      0|                assert(i == b->b_iused - 1);
  ------------------
  |  Branch (3524:17): [True: 0, False: 0]
  ------------------
 3525|      0|                basicblock *target = b->b_instr[i].i_target;
 3526|      0|                if (!target->b_warm && !target->b_visited) {
  ------------------
  |  Branch (3526:21): [True: 0, False: 0]
  |  Branch (3526:40): [True: 0, False: 0]
  ------------------
 3527|      0|                    *sp++ = target;
 3528|      0|                    target->b_visited = 1;
 3529|      0|                }
 3530|      0|            }
 3531|      0|        }
 3532|      0|    }
 3533|      2|    PyMem_Free(stack);
 3534|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 3535|      2|}
flowgraph.c:mark_warm:
 3458|      2|mark_warm(basicblock *entryblock) {
 3459|      2|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3460|      2|    if (stack == NULL) {
  ------------------
  |  Branch (3460:9): [True: 0, False: 2]
  ------------------
 3461|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3462|      0|    }
 3463|      2|    basicblock **sp = stack;
 3464|       |
 3465|      2|    *sp++ = entryblock;
 3466|      2|    entryblock->b_visited = 1;
 3467|      4|    while (sp > stack) {
  ------------------
  |  Branch (3467:12): [True: 2, False: 2]
  ------------------
 3468|      2|        basicblock *b = *(--sp);
 3469|      2|        assert(!b->b_except_handler);
  ------------------
  |  Branch (3469:9): [True: 2, False: 0]
  ------------------
 3470|      2|        b->b_warm = 1;
 3471|      2|        basicblock *next = b->b_next;
 3472|      2|        if (next && BB_HAS_FALLTHROUGH(b) && !next->b_visited) {
  ------------------
  |  |  253|      4|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (3472:13): [True: 2, False: 0]
  |  Branch (3472:46): [True: 0, False: 0]
  ------------------
 3473|      0|            *sp++ = next;
 3474|      0|            next->b_visited = 1;
 3475|      0|        }
 3476|     23|        for (int i=0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3476:23): [True: 21, False: 2]
  ------------------
 3477|     21|            cfg_instr *instr = &b->b_instr[i];
 3478|     21|            if (is_jump(instr) && !instr->i_target->b_visited) {
  ------------------
  |  Branch (3478:17): [True: 0, False: 21]
  |  Branch (3478:35): [True: 0, False: 0]
  ------------------
 3479|      0|                *sp++ = instr->i_target;
 3480|      0|                instr->i_target->b_visited = 1;
 3481|      0|            }
 3482|     21|        }
 3483|      2|    }
 3484|      2|    PyMem_Free(stack);
 3485|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 3486|      2|}
flowgraph.c:resolve_line_numbers:
 3794|      8|{
 3795|      8|    RETURN_IF_ERROR(duplicate_exits_without_lineno(g));
  ------------------
  |  |   25|      8|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 8]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3796|      8|    propagate_line_numbers(g->g_entryblock);
 3797|      8|    return SUCCESS;
  ------------------
  |  |   21|      8|#define SUCCESS 0
  ------------------
 3798|      8|}
flowgraph.c:duplicate_exits_without_lineno:
 3700|      8|{
 3701|      8|    int next_lbl = get_max_label(g->g_entryblock) + 1;
 3702|       |
 3703|       |    /* Copy all exit blocks without line number that are targets of a jump.
 3704|       |     */
 3705|      8|    basicblock *entryblock = g->g_entryblock;
 3706|     20|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3706:38): [True: 12, False: 8]
  ------------------
 3707|     12|        cfg_instr *last = basicblock_last_instr(b);
 3708|     12|        if (last == NULL) {
  ------------------
  |  Branch (3708:13): [True: 4, False: 8]
  ------------------
 3709|      4|            continue;
 3710|      4|        }
 3711|      8|        if (is_jump(last)) {
  ------------------
  |  Branch (3711:13): [True: 0, False: 8]
  ------------------
 3712|      0|            basicblock *target = next_nonempty_block(last->i_target);
 3713|      0|            if (is_exit_or_eval_check_without_lineno(target) && target->b_predecessors > 1) {
  ------------------
  |  Branch (3713:17): [True: 0, False: 0]
  |  Branch (3713:65): [True: 0, False: 0]
  ------------------
 3714|      0|                basicblock *new_target = copy_basicblock(g, target);
 3715|      0|                if (new_target == NULL) {
  ------------------
  |  Branch (3715:21): [True: 0, False: 0]
  ------------------
 3716|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3717|      0|                }
 3718|      0|                new_target->b_instr[0].i_loc = last->i_loc;
 3719|      0|                last->i_target = new_target;
 3720|      0|                target->b_predecessors--;
 3721|      0|                new_target->b_predecessors = 1;
 3722|      0|                new_target->b_next = target->b_next;
 3723|      0|                new_target->b_label.id = next_lbl++;
 3724|      0|                target->b_next = new_target;
 3725|      0|            }
 3726|      0|        }
 3727|      8|    }
 3728|       |
 3729|       |    /* Any remaining reachable exit blocks without line number can only be reached by
 3730|       |     * fall through, and thus can only have a single predecessor */
 3731|     20|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3731:38): [True: 12, False: 8]
  ------------------
 3732|     12|        if (BB_HAS_FALLTHROUGH(b) && b->b_next && b->b_iused > 0) {
  ------------------
  |  |  253|     24|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 4, False: 8]
  |  |  ------------------
  ------------------
  |  Branch (3732:38): [True: 0, False: 4]
  |  Branch (3732:51): [True: 0, False: 0]
  ------------------
 3733|      0|            if (is_exit_or_eval_check_without_lineno(b->b_next)) {
  ------------------
  |  Branch (3733:17): [True: 0, False: 0]
  ------------------
 3734|      0|                cfg_instr *last = basicblock_last_instr(b);
 3735|      0|                assert(last != NULL);
  ------------------
  |  Branch (3735:17): [True: 0, False: 0]
  ------------------
 3736|      0|                b->b_next->b_instr[0].i_loc = last->i_loc;
 3737|      0|            }
 3738|      0|        }
 3739|     12|    }
 3740|      8|    return SUCCESS;
  ------------------
  |  |   21|      8|#define SUCCESS 0
  ------------------
 3741|      8|}
flowgraph.c:propagate_line_numbers:
 3763|      8|{
 3764|     20|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3764:38): [True: 12, False: 8]
  ------------------
 3765|     12|        cfg_instr *last = basicblock_last_instr(b);
 3766|     12|        if (last == NULL) {
  ------------------
  |  Branch (3766:13): [True: 4, False: 8]
  ------------------
 3767|      4|            continue;
 3768|      4|        }
 3769|       |
 3770|      8|        location prev_location = NO_LOCATION;
 3771|     68|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3771:25): [True: 60, False: 8]
  ------------------
 3772|     60|            maybe_propagate_location(b, i, prev_location);
 3773|     60|            prev_location = b->b_instr[i].i_loc;
 3774|     60|        }
 3775|      8|        if (BB_HAS_FALLTHROUGH(b) && b->b_next->b_predecessors == 1) {
  ------------------
  |  |  253|     16|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 0, False: 8]
  |  |  ------------------
  ------------------
  |  Branch (3775:38): [True: 0, False: 0]
  ------------------
 3776|      0|            if (b->b_next->b_iused > 0) {
  ------------------
  |  Branch (3776:17): [True: 0, False: 0]
  ------------------
 3777|      0|                maybe_propagate_location(b->b_next, 0, prev_location);
 3778|      0|            }
 3779|      0|        }
 3780|      8|        if (is_jump(last)) {
  ------------------
  |  Branch (3780:13): [True: 0, False: 8]
  ------------------
 3781|      0|            basicblock *target = last->i_target;
 3782|      0|            while (target->b_iused == 0 && target->b_predecessors == 1) {
  ------------------
  |  Branch (3782:20): [True: 0, False: 0]
  |  Branch (3782:44): [True: 0, False: 0]
  ------------------
 3783|      0|                target = target->b_next;
 3784|      0|            }
 3785|      0|            if (target->b_predecessors == 1) {
  ------------------
  |  Branch (3785:17): [True: 0, False: 0]
  ------------------
 3786|      0|                maybe_propagate_location(target, 0, prev_location);
 3787|      0|            }
 3788|      0|        }
 3789|      8|    }
 3790|      8|}
flowgraph.c:maybe_propagate_location:
 3754|     60|{
 3755|     60|    assert(b->b_iused > i);
  ------------------
  |  Branch (3755:5): [True: 60, False: 0]
  ------------------
 3756|     60|    if (b->b_instr[i].i_loc.lineno == NO_LOCATION.lineno) {
  ------------------
  |  Branch (3756:9): [True: 2, False: 58]
  ------------------
 3757|      2|         b->b_instr[i].i_loc = loc;
 3758|      2|    }
 3759|     60|}
flowgraph.c:convert_pseudo_conditional_jumps:
 3622|      4|{
 3623|      4|    basicblock *entryblock = g->g_entryblock;
 3624|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3624:38): [True: 6, False: 4]
  ------------------
 3625|     35|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3625:25): [True: 29, False: 6]
  ------------------
 3626|     29|            cfg_instr *instr = &b->b_instr[i];
 3627|     29|            if (instr->i_opcode == JUMP_IF_FALSE || instr->i_opcode == JUMP_IF_TRUE) {
  ------------------
  |  |  246|     58|#define JUMP_IF_FALSE                          258
  ------------------
                          if (instr->i_opcode == JUMP_IF_FALSE || instr->i_opcode == JUMP_IF_TRUE) {
  ------------------
  |  |  247|     29|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (3627:17): [True: 0, False: 29]
  |  Branch (3627:53): [True: 0, False: 29]
  ------------------
 3628|      0|                assert(i == b->b_iused - 1);
  ------------------
  |  Branch (3628:17): [True: 0, False: 0]
  ------------------
 3629|      0|                instr->i_opcode = instr->i_opcode == JUMP_IF_FALSE ?
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (3629:35): [True: 0, False: 0]
  ------------------
 3630|      0|                                          POP_JUMP_IF_FALSE : POP_JUMP_IF_TRUE;
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
                                                        POP_JUMP_IF_FALSE : POP_JUMP_IF_TRUE;
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
 3631|      0|                location loc = instr->i_loc;
 3632|      0|                basicblock *except = instr->i_except;
 3633|      0|                cfg_instr copy = {
 3634|      0|                            .i_opcode = COPY,
  ------------------
  |  |   70|      0|#define COPY                                    57
  ------------------
 3635|      0|                            .i_oparg = 1,
 3636|      0|                            .i_loc = loc,
 3637|      0|                            .i_target = NULL,
 3638|      0|                            .i_except = except,
 3639|      0|                };
 3640|      0|                RETURN_IF_ERROR(basicblock_insert_instruction(b, i++, &copy));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3641|      0|                cfg_instr to_bool = {
 3642|      0|                            .i_opcode = TO_BOOL,
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
 3643|      0|                            .i_oparg = 0,
 3644|      0|                            .i_loc = loc,
 3645|      0|                            .i_target = NULL,
 3646|      0|                            .i_except = except,
 3647|      0|                };
 3648|      0|                RETURN_IF_ERROR(basicblock_insert_instruction(b, i++, &to_bool));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3649|      0|            }
 3650|     29|        }
 3651|      6|    }
 3652|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 3653|      4|}
flowgraph.c:calculate_stackdepth:
  825|      4|{
  826|      4|    basicblock *entryblock = g->g_entryblock;
  827|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (827:38): [True: 6, False: 4]
  ------------------
  828|      6|        b->b_startdepth = INT_MIN;
  829|      6|    }
  830|      4|    basicblock **stack = make_cfg_traversal_stack(entryblock);
  831|      4|    if (!stack) {
  ------------------
  |  Branch (831:9): [True: 0, False: 4]
  ------------------
  832|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  833|      0|    }
  834|       |
  835|       |
  836|      4|    int stackdepth = -1;
  837|      4|    int maxdepth = 0;
  838|      4|    basicblock **sp = stack;
  839|      4|    if (stackdepth_push(&sp, entryblock, 0) < 0) {
  ------------------
  |  Branch (839:9): [True: 0, False: 4]
  ------------------
  840|      0|        goto error;
  841|      0|    }
  842|      8|    while (sp != stack) {
  ------------------
  |  Branch (842:12): [True: 4, False: 4]
  ------------------
  843|      4|        basicblock *b = *--sp;
  844|      4|        int depth = b->b_startdepth;
  845|      4|        assert(depth >= 0);
  ------------------
  |  Branch (845:9): [True: 4, False: 0]
  ------------------
  846|      4|        basicblock *next = b->b_next;
  847|     29|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (847:25): [True: 29, False: 0]
  ------------------
  848|     29|            cfg_instr *instr = &b->b_instr[i];
  849|     29|            stack_effects effects;
  850|     29|            if (get_stack_effects(instr->i_opcode, instr->i_oparg, 0, &effects) < 0) {
  ------------------
  |  Branch (850:17): [True: 0, False: 29]
  ------------------
  851|      0|                PyErr_Format(PyExc_SystemError,
  852|      0|                             "Invalid stack effect for opcode=%d, arg=%i",
  853|      0|                             instr->i_opcode, instr->i_oparg);
  854|      0|                goto error;
  855|      0|            }
  856|     29|            int new_depth = depth + effects.net;
  857|     29|            if (new_depth < 0) {
  ------------------
  |  Branch (857:17): [True: 0, False: 29]
  ------------------
  858|      0|                PyErr_Format(PyExc_ValueError,
  859|      0|                             "Invalid CFG, stack underflow at line %d", instr->i_loc.lineno);
  860|      0|                goto error;
  861|      0|            }
  862|     29|            maxdepth = Py_MAX(maxdepth, depth);
  ------------------
  |  |  133|     29|       __extension__ \
  |  |  134|     29|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|     29|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|     29|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|     29|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|     29|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 4, False: 25]
  |  |  ------------------
  ------------------
  863|     29|            if (HAS_TARGET(instr->i_opcode) && instr->i_opcode != END_ASYNC_FOR) {
  ------------------
  |  |   23|     58|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     58|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     29|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 29]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|     29|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     58|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 29]
  |  |  |  |  ------------------
  |  |  |  |   19|     29|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     58|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 29]
  |  |  |  |  ------------------
  |  |  |  |   20|     29|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     29|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 29]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (HAS_TARGET(instr->i_opcode) && instr->i_opcode != END_ASYNC_FOR) {
  ------------------
  |  |   76|      0|#define END_ASYNC_FOR                           63
  ------------------
  |  Branch (863:48): [True: 0, False: 0]
  ------------------
  864|      0|                if (get_stack_effects(instr->i_opcode, instr->i_oparg, 1, &effects) < 0) {
  ------------------
  |  Branch (864:21): [True: 0, False: 0]
  ------------------
  865|      0|                    PyErr_Format(PyExc_SystemError,
  866|      0|                                 "Invalid stack effect for opcode=%d, arg=%i",
  867|      0|                                 instr->i_opcode, instr->i_oparg);
  868|      0|                    goto error;
  869|      0|                }
  870|      0|                int target_depth = depth + effects.net;
  871|      0|                assert(target_depth >= 0); /* invalid code or bug in stackdepth() */
  ------------------
  |  Branch (871:17): [True: 0, False: 0]
  ------------------
  872|      0|                maxdepth = Py_MAX(maxdepth, depth);
  ------------------
  |  |  133|      0|       __extension__ \
  |  |  134|      0|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|      0|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|      0|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  873|      0|                if (stackdepth_push(&sp, instr->i_target, target_depth) < 0) {
  ------------------
  |  Branch (873:21): [True: 0, False: 0]
  ------------------
  874|      0|                    goto error;
  875|      0|                }
  876|      0|            }
  877|     29|            depth = new_depth;
  878|     29|            assert(!IS_ASSEMBLER_OPCODE(instr->i_opcode));
  ------------------
  |  Branch (878:13): [True: 0, False: 29]
  |  Branch (878:13): [True: 0, False: 29]
  |  Branch (878:13): [True: 0, False: 29]
  ------------------
  879|     29|            if (IS_UNCONDITIONAL_JUMP_OPCODE(instr->i_opcode) ||
  ------------------
  |  |   40|     58|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|     58|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 29]
  |  |  ------------------
  |  |   41|     29|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|     58|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 29]
  |  |  ------------------
  |  |   42|     29|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|     58|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 29]
  |  |  ------------------
  |  |   43|     29|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|     58|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 29]
  |  |  ------------------
  |  |   44|     58|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|     29|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 29]
  |  |  ------------------
  ------------------
  880|     29|                IS_SCOPE_EXIT_OPCODE(instr->i_opcode))
  ------------------
  |  |   53|     29|        ((opcode) == RETURN_VALUE || \
  |  |  ------------------
  |  |  |  |   46|     58|#define RETURN_VALUE                            33
  |  |  ------------------
  |  |  |  Branch (53:10): [True: 4, False: 25]
  |  |  ------------------
  |  |   54|     29|         (opcode) == RAISE_VARARGS || \
  |  |  ------------------
  |  |  |  |  113|     54|#define RAISE_VARARGS                          100
  |  |  ------------------
  |  |  |  Branch (54:10): [True: 0, False: 25]
  |  |  ------------------
  |  |   55|     29|         (opcode) == RERAISE)
  |  |  ------------------
  |  |  |  |  114|     25|#define RERAISE                                101
  |  |  ------------------
  |  |  |  Branch (55:10): [True: 0, False: 25]
  |  |  ------------------
  ------------------
  881|      4|            {
  882|       |                /* remaining code is dead */
  883|      4|                next = NULL;
  884|      4|                break;
  885|      4|            }
  886|     29|        }
  887|      4|        if (next != NULL) {
  ------------------
  |  Branch (887:13): [True: 0, False: 4]
  ------------------
  888|      0|            assert(BB_HAS_FALLTHROUGH(b));
  ------------------
  |  Branch (888:13): [True: 0, False: 0]
  ------------------
  889|      0|            if (stackdepth_push(&sp, next, depth) < 0) {
  ------------------
  |  Branch (889:17): [True: 0, False: 0]
  ------------------
  890|      0|                goto error;
  891|      0|            }
  892|      0|        }
  893|      4|    }
  894|      4|    stackdepth = maxdepth;
  895|      4|error:
  896|      4|    PyMem_Free(stack);
  897|      4|    return stackdepth;
  898|      4|}
flowgraph.c:stackdepth_push:
  807|      4|{
  808|      4|    if (!(b->b_startdepth < 0 || b->b_startdepth == depth)) {
  ------------------
  |  Branch (808:11): [True: 4, False: 0]
  |  Branch (808:34): [True: 0, False: 0]
  ------------------
  809|      0|        PyErr_Format(PyExc_ValueError, "Invalid CFG, inconsistent stackdepth");
  810|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  811|      0|    }
  812|      4|    if (b->b_startdepth < depth && b->b_startdepth < 100) {
  ------------------
  |  Branch (812:9): [True: 4, False: 0]
  |  Branch (812:36): [True: 4, False: 0]
  ------------------
  813|      4|        assert(b->b_startdepth < 0);
  ------------------
  |  Branch (813:9): [True: 4, False: 0]
  ------------------
  814|      4|        b->b_startdepth = depth;
  815|      4|        *(*sp)++ = b;
  816|      4|    }
  817|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
  818|      4|}
flowgraph.c:prepare_localsplus:
 4005|      4|{
 4006|      4|    assert(PyDict_GET_SIZE(umd->u_varnames) < INT_MAX);
  ------------------
  |  Branch (4006:5): [True: 4, False: 0]
  ------------------
 4007|      4|    assert(PyDict_GET_SIZE(umd->u_cellvars) < INT_MAX);
  ------------------
  |  Branch (4007:5): [True: 4, False: 0]
  ------------------
 4008|      4|    assert(PyDict_GET_SIZE(umd->u_freevars) < INT_MAX);
  ------------------
  |  Branch (4008:5): [True: 4, False: 0]
  ------------------
 4009|      4|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|      4|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4010|      4|    int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|      4|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4011|      4|    int nfreevars = (int)PyDict_GET_SIZE(umd->u_freevars);
  ------------------
  |  |   63|      4|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4012|      4|    assert(INT_MAX - nlocals - ncellvars > 0);
  ------------------
  |  Branch (4012:5): [True: 4, False: 0]
  ------------------
 4013|      4|    assert(INT_MAX - nlocals - ncellvars - nfreevars > 0);
  ------------------
  |  Branch (4013:5): [True: 4, False: 0]
  ------------------
 4014|      4|    int nlocalsplus = nlocals + ncellvars + nfreevars;
 4015|      4|    int* cellfixedoffsets = build_cellfixedoffsets(umd);
 4016|      4|    if (cellfixedoffsets == NULL) {
  ------------------
  |  Branch (4016:9): [True: 0, False: 4]
  ------------------
 4017|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4018|      0|    }
 4019|       |
 4020|       |    // This must be called before fix_cell_offsets().
 4021|      4|    if (insert_prefix_instructions(umd, g->g_entryblock, cellfixedoffsets, nfreevars)) {
  ------------------
  |  Branch (4021:9): [True: 0, False: 4]
  ------------------
 4022|      0|        PyMem_Free(cellfixedoffsets);
 4023|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4024|      0|    }
 4025|       |
 4026|      4|    int numdropped = fix_cell_offsets(umd, g->g_entryblock, cellfixedoffsets);
 4027|      4|    PyMem_Free(cellfixedoffsets);  // At this point we're done with it.
 4028|      4|    cellfixedoffsets = NULL;
 4029|      4|    if (numdropped < 0) {
  ------------------
  |  Branch (4029:9): [True: 0, False: 4]
  ------------------
 4030|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4031|      0|    }
 4032|       |
 4033|      4|    nlocalsplus -= numdropped;
 4034|      4|    return nlocalsplus;
 4035|      4|}
flowgraph.c:build_cellfixedoffsets:
 3853|      4|{
 3854|      4|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|      4|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3855|      4|    int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|      4|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3856|      4|    int nfreevars = (int)PyDict_GET_SIZE(umd->u_freevars);
  ------------------
  |  |   63|      4|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3857|       |
 3858|      4|    int noffsets = ncellvars + nfreevars;
 3859|      4|    int *fixed = PyMem_New(int, noffsets);
  ------------------
  |  |   64|      4|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|      4|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 4]
  |  |  ------------------
  |  |   65|      4|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3860|      4|    if (fixed == NULL) {
  ------------------
  |  Branch (3860:9): [True: 0, False: 4]
  ------------------
 3861|      0|        PyErr_NoMemory();
 3862|      0|        return NULL;
 3863|      0|    }
 3864|      4|    for (int i = 0; i < noffsets; i++) {
  ------------------
  |  Branch (3864:21): [True: 0, False: 4]
  ------------------
 3865|      0|        fixed[i] = nlocals + i;
 3866|      0|    }
 3867|       |
 3868|      4|    PyObject *varname, *cellindex;
 3869|      4|    Py_ssize_t pos = 0;
 3870|      4|    while (PyDict_Next(umd->u_cellvars, &pos, &varname, &cellindex)) {
  ------------------
  |  Branch (3870:12): [True: 0, False: 4]
  ------------------
 3871|      0|        PyObject *varindex;
 3872|      0|        if (PyDict_GetItemRef(umd->u_varnames, varname, &varindex) < 0) {
  ------------------
  |  Branch (3872:13): [True: 0, False: 0]
  ------------------
 3873|      0|            goto error;
 3874|      0|        }
 3875|      0|        if (varindex == NULL) {
  ------------------
  |  Branch (3875:13): [True: 0, False: 0]
  ------------------
 3876|      0|            continue;
 3877|      0|        }
 3878|       |
 3879|      0|        int argoffset = PyLong_AsInt(varindex);
 3880|      0|        Py_DECREF(varindex);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3881|      0|        if (argoffset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3881:13): [True: 0, False: 0]
  |  Branch (3881:32): [True: 0, False: 0]
  ------------------
 3882|      0|            goto error;
 3883|      0|        }
 3884|       |
 3885|      0|        int oldindex = PyLong_AsInt(cellindex);
 3886|      0|        if (oldindex == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3886:13): [True: 0, False: 0]
  |  Branch (3886:31): [True: 0, False: 0]
  ------------------
 3887|      0|            goto error;
 3888|      0|        }
 3889|      0|        fixed[oldindex] = argoffset;
 3890|      0|    }
 3891|      4|    return fixed;
 3892|       |
 3893|      0|error:
 3894|      0|    PyMem_Free(fixed);
 3895|       |    return NULL;
 3896|      4|}
flowgraph.c:insert_prefix_instructions:
 3904|      4|{
 3905|      4|    assert(umd->u_firstlineno > 0);
  ------------------
  |  Branch (3905:5): [True: 4, False: 0]
  ------------------
 3906|       |
 3907|       |    /* Set up cells for any variable that escapes, to be put in a closure. */
 3908|      4|    const int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|      4|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3909|      4|    if (ncellvars) {
  ------------------
  |  Branch (3909:9): [True: 0, False: 4]
  ------------------
 3910|       |        // umd->u_cellvars has the cells out of order so we sort them
 3911|       |        // before adding the MAKE_CELL instructions.  Note that we
 3912|       |        // adjust for arg cells, which come first.
 3913|      0|        const int nvars = ncellvars + (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3914|      0|        int *sorted = PyMem_RawCalloc(nvars, sizeof(int));
 3915|      0|        if (sorted == NULL) {
  ------------------
  |  Branch (3915:13): [True: 0, False: 0]
  ------------------
 3916|      0|            PyErr_NoMemory();
 3917|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3918|      0|        }
 3919|      0|        for (int i = 0; i < ncellvars; i++) {
  ------------------
  |  Branch (3919:25): [True: 0, False: 0]
  ------------------
 3920|      0|            sorted[fixed[i]] = i + 1;
 3921|      0|        }
 3922|      0|        for (int i = 0, ncellsused = 0; ncellsused < ncellvars; i++) {
  ------------------
  |  Branch (3922:41): [True: 0, False: 0]
  ------------------
 3923|      0|            int oldindex = sorted[i] - 1;
 3924|      0|            if (oldindex == -1) {
  ------------------
  |  Branch (3924:17): [True: 0, False: 0]
  ------------------
 3925|      0|                continue;
 3926|      0|            }
 3927|      0|            cfg_instr make_cell = {
 3928|      0|                .i_opcode = MAKE_CELL,
  ------------------
  |  |  106|      0|#define MAKE_CELL                               93
  ------------------
 3929|       |                // This will get fixed in offset_derefs().
 3930|      0|                .i_oparg = oldindex,
 3931|      0|                .i_loc = NO_LOCATION,
 3932|      0|                .i_target = NULL,
 3933|      0|                .i_except = NULL,
 3934|      0|            };
 3935|      0|            if (basicblock_insert_instruction(entryblock, ncellsused, &make_cell) < 0) {
  ------------------
  |  Branch (3935:17): [True: 0, False: 0]
  ------------------
 3936|      0|                PyMem_RawFree(sorted);
 3937|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3938|      0|            }
 3939|      0|            ncellsused += 1;
 3940|      0|        }
 3941|      0|        PyMem_RawFree(sorted);
 3942|      0|    }
 3943|       |
 3944|      4|    if (nfreevars) {
  ------------------
  |  Branch (3944:9): [True: 0, False: 4]
  ------------------
 3945|      0|        cfg_instr copy_frees = {
 3946|      0|            .i_opcode = COPY_FREE_VARS,
  ------------------
  |  |   71|      0|#define COPY_FREE_VARS                          58
  ------------------
 3947|      0|            .i_oparg = nfreevars,
 3948|      0|            .i_loc = NO_LOCATION,
 3949|      0|            .i_target = NULL,
 3950|      0|            .i_except = NULL,
 3951|      0|        };
 3952|      0|        RETURN_IF_ERROR(basicblock_insert_instruction(entryblock, 0, &copy_frees));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3953|      0|    }
 3954|       |
 3955|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 3956|      4|}
flowgraph.c:fix_cell_offsets:
 3960|      4|{
 3961|      4|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|      4|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3962|      4|    int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|      4|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3963|      4|    int nfreevars = (int)PyDict_GET_SIZE(umd->u_freevars);
  ------------------
  |  |   63|      4|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3964|      4|    int noffsets = ncellvars + nfreevars;
 3965|       |
 3966|       |    // First deal with duplicates (arg cells).
 3967|      4|    int numdropped = 0;
 3968|      4|    for (int i = 0; i < noffsets ; i++) {
  ------------------
  |  Branch (3968:21): [True: 0, False: 4]
  ------------------
 3969|      0|        if (fixedmap[i] == i + nlocals) {
  ------------------
  |  Branch (3969:13): [True: 0, False: 0]
  ------------------
 3970|      0|            fixedmap[i] -= numdropped;
 3971|      0|        }
 3972|      0|        else {
 3973|       |            // It was a duplicate (cell/arg).
 3974|      0|            numdropped += 1;
 3975|      0|        }
 3976|      0|    }
 3977|       |
 3978|       |    // Then update offsets, either relative to locals or by cell2arg.
 3979|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3979:38): [True: 6, False: 4]
  ------------------
 3980|     35|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3980:25): [True: 29, False: 6]
  ------------------
 3981|     29|            cfg_instr *inst = &b->b_instr[i];
 3982|       |            // This is called before extended args are generated.
 3983|     29|            assert(inst->i_opcode != EXTENDED_ARG);
  ------------------
  |  Branch (3983:13): [True: 29, False: 0]
  ------------------
 3984|     29|            int oldoffset = inst->i_oparg;
 3985|     29|            switch(inst->i_opcode) {
  ------------------
  |  Branch (3985:20): [True: 0, False: 29]
  ------------------
 3986|      0|                case MAKE_CELL:
  ------------------
  |  |  106|      0|#define MAKE_CELL                               93
  ------------------
  |  Branch (3986:17): [True: 0, False: 29]
  ------------------
 3987|      0|                case LOAD_CLOSURE:
  ------------------
  |  |  249|      0|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (3987:17): [True: 0, False: 29]
  ------------------
 3988|      0|                case LOAD_DEREF:
  ------------------
  |  |   92|      0|#define LOAD_DEREF                              79
  ------------------
  |  Branch (3988:17): [True: 0, False: 29]
  ------------------
 3989|      0|                case STORE_DEREF:
  ------------------
  |  |  120|      0|#define STORE_DEREF                            107
  ------------------
  |  Branch (3989:17): [True: 0, False: 29]
  ------------------
 3990|      0|                case DELETE_DEREF:
  ------------------
  |  |   72|      0|#define DELETE_DEREF                            59
  ------------------
  |  Branch (3990:17): [True: 0, False: 29]
  ------------------
 3991|      0|                case LOAD_FROM_DICT_OR_DEREF:
  ------------------
  |  |   99|      0|#define LOAD_FROM_DICT_OR_DEREF                 86
  ------------------
  |  Branch (3991:17): [True: 0, False: 29]
  ------------------
 3992|      0|                    assert(oldoffset >= 0);
  ------------------
  |  Branch (3992:21): [True: 0, False: 0]
  ------------------
 3993|      0|                    assert(oldoffset < noffsets);
  ------------------
  |  Branch (3993:21): [True: 0, False: 0]
  ------------------
 3994|      0|                    assert(fixedmap[oldoffset] >= 0);
  ------------------
  |  Branch (3994:21): [True: 0, False: 0]
  ------------------
 3995|      0|                    inst->i_oparg = fixedmap[oldoffset];
 3996|     29|            }
 3997|     29|        }
 3998|      6|    }
 3999|       |
 4000|      4|    return numdropped;
 4001|      4|}
flowgraph.c:convert_pseudo_ops:
 3657|      4|{
 3658|      4|    basicblock *entryblock = g->g_entryblock;
 3659|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3659:38): [True: 6, False: 4]
  ------------------
 3660|     35|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3660:25): [True: 29, False: 6]
  ------------------
 3661|     29|            cfg_instr *instr = &b->b_instr[i];
 3662|     29|            if (is_block_push(instr)) {
  ------------------
  |  Branch (3662:17): [True: 0, False: 29]
  ------------------
 3663|      0|                INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3663:17): [True: 0, False: 0]
  ------------------
 3664|      0|            }
 3665|     29|            else if (instr->i_opcode == LOAD_CLOSURE) {
  ------------------
  |  |  249|     29|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (3665:22): [True: 0, False: 29]
  ------------------
 3666|      0|                assert(is_pseudo_target(LOAD_CLOSURE, LOAD_FAST));
  ------------------
  |  Branch (3666:17): [True: 0, False: 0]
  ------------------
 3667|      0|                instr->i_opcode = LOAD_FAST;
  ------------------
  |  |   93|      0|#define LOAD_FAST                               80
  ------------------
 3668|      0|            }
 3669|     29|            else if (instr->i_opcode == STORE_FAST_MAYBE_NULL) {
  ------------------
  |  |  254|     29|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (3669:22): [True: 0, False: 29]
  ------------------
 3670|      0|                assert(is_pseudo_target(STORE_FAST_MAYBE_NULL, STORE_FAST));
  ------------------
  |  Branch (3670:17): [True: 0, False: 0]
  ------------------
 3671|      0|                instr->i_opcode = STORE_FAST;
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
 3672|      0|            }
 3673|     29|        }
 3674|      6|    }
 3675|      4|    return remove_redundant_nops_and_jumps(g);
 3676|      4|}
flowgraph.c:normalize_jumps:
  606|      4|{
  607|      4|    basicblock *entryblock = g->g_entryblock;
  608|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (608:38): [True: 6, False: 4]
  ------------------
  609|      6|        b->b_visited = 0;
  610|      6|    }
  611|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (611:38): [True: 6, False: 4]
  ------------------
  612|      6|        b->b_visited = 1;
  613|      6|        RETURN_IF_ERROR(normalize_jumps_in_block(g, b));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  614|      6|    }
  615|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
  616|      4|}
flowgraph.c:normalize_jumps_in_block:
  549|      6|normalize_jumps_in_block(cfg_builder *g, basicblock *b) {
  550|      6|    cfg_instr *last = basicblock_last_instr(b);
  551|      6|    if (last == NULL || !IS_CONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   47|      4|        ((opcode) == POP_JUMP_IF_FALSE || \
  |  |  ------------------
  |  |  |  |  109|      8|#define POP_JUMP_IF_FALSE                       96
  |  |  ------------------
  |  |  |  Branch (47:10): [True: 0, False: 4]
  |  |  ------------------
  |  |   48|      4|         (opcode) == POP_JUMP_IF_TRUE || \
  |  |  ------------------
  |  |  |  |  112|      8|#define POP_JUMP_IF_TRUE                        99
  |  |  ------------------
  |  |  |  Branch (48:10): [True: 0, False: 4]
  |  |  ------------------
  |  |   49|      4|         (opcode) == POP_JUMP_IF_NONE || \
  |  |  ------------------
  |  |  |  |  110|      8|#define POP_JUMP_IF_NONE                        97
  |  |  ------------------
  |  |  |  Branch (49:10): [True: 0, False: 4]
  |  |  ------------------
  |  |   50|      4|         (opcode) == POP_JUMP_IF_NOT_NONE)
  |  |  ------------------
  |  |  |  |  111|      4|#define POP_JUMP_IF_NOT_NONE                    98
  |  |  ------------------
  |  |  |  Branch (50:10): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (551:9): [True: 2, False: 4]
  ------------------
  552|      6|        return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
  553|      6|    }
  554|      6|    assert(!IS_ASSEMBLER_OPCODE(last->i_opcode));
  ------------------
  |  Branch (554:5): [True: 0, False: 0]
  |  Branch (554:5): [True: 0, False: 0]
  |  Branch (554:5): [True: 0, False: 0]
  ------------------
  555|       |
  556|      0|    bool is_forward = last->i_target->b_visited == 0;
  557|      0|    if (is_forward) {
  ------------------
  |  Branch (557:9): [True: 0, False: 0]
  ------------------
  558|      0|        RETURN_IF_ERROR(
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  559|      0|            basicblock_addop(b, NOT_TAKEN, 0, last->i_loc, last->i_except));
  560|      0|        return SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
  561|      0|    }
  562|       |
  563|      0|    int reversed_opcode = 0;
  564|      0|    switch(last->i_opcode) {
  ------------------
  |  Branch (564:12): [True: 0, False: 0]
  ------------------
  565|      0|        case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  111|      0|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  |  Branch (565:9): [True: 0, False: 0]
  ------------------
  566|      0|            reversed_opcode = POP_JUMP_IF_NONE;
  ------------------
  |  |  110|      0|#define POP_JUMP_IF_NONE                        97
  ------------------
  567|      0|            break;
  568|      0|        case POP_JUMP_IF_NONE:
  ------------------
  |  |  110|      0|#define POP_JUMP_IF_NONE                        97
  ------------------
  |  Branch (568:9): [True: 0, False: 0]
  ------------------
  569|      0|            reversed_opcode = POP_JUMP_IF_NOT_NONE;
  ------------------
  |  |  111|      0|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  570|      0|            break;
  571|      0|        case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (571:9): [True: 0, False: 0]
  ------------------
  572|      0|            reversed_opcode = POP_JUMP_IF_TRUE;
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
  573|      0|            break;
  574|      0|        case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (574:9): [True: 0, False: 0]
  ------------------
  575|      0|            reversed_opcode = POP_JUMP_IF_FALSE;
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
  576|      0|            break;
  577|      0|    }
  578|       |    /* transform 'conditional jump T' to
  579|       |     * 'reversed_jump b_next' followed by 'jump_backwards T'
  580|       |     */
  581|       |
  582|      0|    basicblock *target = last->i_target;
  583|      0|    basicblock *backwards_jump = cfg_builder_new_block(g);
  584|      0|    if (backwards_jump == NULL) {
  ------------------
  |  Branch (584:9): [True: 0, False: 0]
  ------------------
  585|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  586|      0|    }
  587|      0|    RETURN_IF_ERROR(
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  588|      0|        basicblock_addop(backwards_jump, NOT_TAKEN, 0, last->i_loc,
  589|      0|                         last->i_except));
  590|      0|    RETURN_IF_ERROR(
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  591|      0|        basicblock_add_jump(backwards_jump, JUMP, target, last->i_loc,
  592|      0|                            last->i_except));
  593|      0|    backwards_jump->b_startdepth = target->b_startdepth;
  594|      0|    last->i_opcode = reversed_opcode;
  595|      0|    last->i_target = b->b_next;
  596|       |
  597|      0|    backwards_jump->b_cold = b->b_cold;
  598|      0|    backwards_jump->b_next = b->b_next;
  599|      0|    b->b_next = backwards_jump;
  600|      0|    return SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
  601|      0|}
flowgraph.c:no_redundant_jumps:
  525|      8|no_redundant_jumps(cfg_builder *g) {
  526|     20|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (526:43): [True: 12, False: 8]
  ------------------
  527|     12|        cfg_instr *last = basicblock_last_instr(b);
  528|     12|        if (last != NULL) {
  ------------------
  |  Branch (528:13): [True: 8, False: 4]
  ------------------
  529|      8|            if (IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   40|      8|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|     16|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 8]
  |  |  ------------------
  |  |   41|      8|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|     16|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 8]
  |  |  ------------------
  |  |   42|      8|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|     16|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 8]
  |  |  ------------------
  |  |   43|      8|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|     16|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 8]
  |  |  ------------------
  |  |   44|      8|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|      8|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 8]
  |  |  ------------------
  ------------------
  530|      0|                basicblock *next = next_nonempty_block(b->b_next);
  531|      0|                basicblock *jump_target = next_nonempty_block(last->i_target);
  532|      0|                if (jump_target == next) {
  ------------------
  |  Branch (532:21): [True: 0, False: 0]
  ------------------
  533|      0|                    assert(next);
  ------------------
  |  Branch (533:21): [True: 0, False: 0]
  ------------------
  534|      0|                    if (last->i_loc.lineno == next->b_instr[0].i_loc.lineno) {
  ------------------
  |  Branch (534:25): [True: 0, False: 0]
  ------------------
  535|      0|                        assert(0);
  ------------------
  |  Branch (535:25): [Folded, False: 0]
  ------------------
  536|      0|                        return false;
  537|      0|                    }
  538|      0|                }
  539|      0|            }
  540|      8|        }
  541|     12|    }
  542|      8|    return true;
  543|      8|}
flowgraph.c:optimize_load_fast:
 2904|      4|{
 2905|      4|    int status;
 2906|      4|    ref_stack refs = {0};
 2907|      4|    int max_instrs = 0;
 2908|      4|    basicblock *entryblock = g->g_entryblock;
 2909|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2909:38): [True: 6, False: 4]
  ------------------
 2910|      6|        max_instrs = Py_MAX(max_instrs, b->b_iused);
  ------------------
  |  |  133|      6|       __extension__ \
  |  |  134|      6|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|      6|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|      6|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 2, False: 4]
  |  |  ------------------
  ------------------
 2911|      6|    }
 2912|      4|    size_t instr_flags_size = max_instrs * sizeof(uint8_t);
 2913|      4|    uint8_t *instr_flags = PyMem_Malloc(instr_flags_size);
 2914|      4|    if (instr_flags == NULL) {
  ------------------
  |  Branch (2914:9): [True: 0, False: 4]
  ------------------
 2915|      0|        PyErr_NoMemory();
 2916|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2917|      0|    }
 2918|      4|    basicblock **blocks = make_cfg_traversal_stack(entryblock);
 2919|      4|    if (blocks == NULL) {
  ------------------
  |  Branch (2919:9): [True: 0, False: 4]
  ------------------
 2920|      0|        status = ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2921|      0|        goto done;
 2922|      0|    }
 2923|      4|    basicblock **sp = blocks;
 2924|      4|    *sp = entryblock;
 2925|      4|    sp++;
 2926|      4|    entryblock->b_startdepth = 0;
 2927|      4|    entryblock->b_visited = 1;
 2928|       |
 2929|      4|    #define PUSH_REF(instr, local)                \
 2930|      4|        do {                                      \
 2931|      4|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
 2932|      4|                status = ERROR;                   \
 2933|      4|                goto done;                        \
 2934|      4|            }                                     \
 2935|      4|        } while(0)
 2936|       |
 2937|      8|    while (sp != blocks) {
  ------------------
  |  Branch (2937:12): [True: 4, False: 4]
  ------------------
 2938|      4|        basicblock *block = *--sp;
 2939|      4|        assert(block->b_startdepth > -1);
  ------------------
  |  Branch (2939:9): [True: 4, False: 0]
  ------------------
 2940|       |
 2941|       |        // Reset per-block state.
 2942|      4|        memset(instr_flags, 0, block->b_iused * sizeof(*instr_flags));
 2943|       |
 2944|       |        // Reset the stack of refs. We don't track references on the stack
 2945|       |        // across basic blocks, but the bytecode will expect their
 2946|       |        // presence. Add dummy references as necessary.
 2947|      4|        ref_stack_clear(&refs);
 2948|      4|        for (int i = 0; i < block->b_startdepth; i++) {
  ------------------
  |  Branch (2948:25): [True: 0, False: 4]
  ------------------
 2949|      0|            PUSH_REF(DUMMY_INSTR, NOT_LOCAL);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2950|      0|        }
 2951|       |
 2952|     33|        for (int i = 0; i < block->b_iused; i++) {
  ------------------
  |  Branch (2952:25): [True: 29, False: 4]
  ------------------
 2953|     29|            cfg_instr *instr = &block->b_instr[i];
 2954|     29|            int opcode = instr->i_opcode;
 2955|     29|            int oparg = instr->i_oparg;
 2956|     29|            assert(opcode != EXTENDED_ARG);
  ------------------
  |  Branch (2956:13): [True: 29, False: 0]
  ------------------
 2957|     29|            switch (opcode) {
 2958|       |                // Opcodes that load and store locals
 2959|      0|                case DELETE_FAST: {
  ------------------
  |  |   73|      0|#define DELETE_FAST                             60
  ------------------
  |  Branch (2959:17): [True: 0, False: 29]
  ------------------
 2960|      0|                    kill_local(instr_flags, &refs, oparg);
 2961|      0|                    break;
 2962|      0|                }
 2963|       |
 2964|     11|                case LOAD_FAST: {
  ------------------
  |  |   93|     11|#define LOAD_FAST                               80
  ------------------
  |  Branch (2964:17): [True: 11, False: 18]
  ------------------
 2965|     11|                    PUSH_REF(i, oparg);
  ------------------
  |  | 2930|     11|        do {                                      \
  |  | 2931|     11|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 11]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|     11|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 11]
  |  |  ------------------
  ------------------
 2966|     11|                    break;
 2967|     11|                }
 2968|       |
 2969|     11|                case LOAD_FAST_AND_CLEAR: {
  ------------------
  |  |   94|      0|#define LOAD_FAST_AND_CLEAR                     81
  ------------------
  |  Branch (2969:17): [True: 0, False: 29]
  ------------------
 2970|      0|                    kill_local(instr_flags, &refs, oparg);
 2971|      0|                    PUSH_REF(i, oparg);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2972|      0|                    break;
 2973|      0|                }
 2974|       |
 2975|      0|                case LOAD_FAST_LOAD_FAST: {
  ------------------
  |  |   98|      0|#define LOAD_FAST_LOAD_FAST                     85
  ------------------
  |  Branch (2975:17): [True: 0, False: 29]
  ------------------
 2976|      0|                    PUSH_REF(i, oparg >> 4);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2977|      0|                    PUSH_REF(i, oparg & 15);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2978|      0|                    break;
 2979|      0|                }
 2980|       |
 2981|      0|                case STORE_FAST: {
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (2981:17): [True: 0, False: 29]
  ------------------
 2982|      0|                    ref r = ref_stack_pop(&refs);
 2983|      0|                    store_local(instr_flags, &refs, oparg, r);
 2984|      0|                    break;
 2985|      0|                }
 2986|       |
 2987|      0|                case STORE_FAST_LOAD_FAST: {
  ------------------
  |  |  122|      0|#define STORE_FAST_LOAD_FAST                   109
  ------------------
  |  Branch (2987:17): [True: 0, False: 29]
  ------------------
 2988|       |                    // STORE_FAST
 2989|      0|                    ref r = ref_stack_pop(&refs);
 2990|      0|                    store_local(instr_flags, &refs, oparg >> 4, r);
 2991|       |                    // LOAD_FAST
 2992|      0|                    PUSH_REF(i, oparg & 15);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2993|      0|                    break;
 2994|      0|                }
 2995|       |
 2996|      0|                case STORE_FAST_STORE_FAST: {
  ------------------
  |  |  123|      0|#define STORE_FAST_STORE_FAST                  110
  ------------------
  |  Branch (2996:17): [True: 0, False: 29]
  ------------------
 2997|       |                    // STORE_FAST
 2998|      0|                    ref r = ref_stack_pop(&refs);
 2999|      0|                    store_local(instr_flags, &refs, oparg >> 4, r);
 3000|       |                    // STORE_FAST
 3001|      0|                    r = ref_stack_pop(&refs);
 3002|      0|                    store_local(instr_flags, &refs, oparg & 15, r);
 3003|      0|                    break;
 3004|      0|                }
 3005|       |
 3006|       |                // Opcodes that shuffle values on the stack
 3007|      0|                case COPY: {
  ------------------
  |  |   70|      0|#define COPY                                    57
  ------------------
  |  Branch (3007:17): [True: 0, False: 29]
  ------------------
 3008|      0|                    assert(oparg > 0);
  ------------------
  |  Branch (3008:21): [True: 0, False: 0]
  ------------------
 3009|      0|                    Py_ssize_t idx = refs.size - oparg;
 3010|      0|                    ref r = ref_stack_at(&refs, idx);
 3011|      0|                    PUSH_REF(r.instr, r.local);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3012|      0|                    break;
 3013|      0|                }
 3014|       |
 3015|      0|                case SWAP: {
  ------------------
  |  |  126|      0|#define SWAP                                   113
  ------------------
  |  Branch (3015:17): [True: 0, False: 29]
  ------------------
 3016|      0|                    assert(oparg >= 2);
  ------------------
  |  Branch (3016:21): [True: 0, False: 0]
  ------------------
 3017|      0|                    ref_stack_swap_top(&refs, oparg);
 3018|      0|                    break;
 3019|      0|                }
 3020|       |
 3021|       |                // We treat opcodes that do not consume all of their inputs on
 3022|       |                // a case by case basis, as we have no generic way of knowing
 3023|       |                // how many inputs should be left on the stack.
 3024|       |
 3025|       |                // Opcodes that consume no inputs
 3026|      0|                case FORMAT_SIMPLE:
  ------------------
  |  |   25|      0|#define FORMAT_SIMPLE                           12
  ------------------
  |  Branch (3026:17): [True: 0, False: 29]
  ------------------
 3027|      0|                case GET_ANEXT:
  ------------------
  |  |   28|      0|#define GET_ANEXT                               15
  ------------------
  |  Branch (3027:17): [True: 0, False: 29]
  ------------------
 3028|      0|                case GET_ITER:
  ------------------
  |  |   80|      0|#define GET_ITER                                67
  ------------------
  |  Branch (3028:17): [True: 0, False: 29]
  ------------------
 3029|      0|                case GET_LEN:
  ------------------
  |  |   29|      0|#define GET_LEN                                 16
  ------------------
  |  Branch (3029:17): [True: 0, False: 29]
  ------------------
 3030|      0|                case IMPORT_FROM:
  ------------------
  |  |   81|      0|#define IMPORT_FROM                             68
  ------------------
  |  Branch (3030:17): [True: 0, False: 29]
  ------------------
 3031|      0|                case MATCH_KEYS:
  ------------------
  |  |   35|      0|#define MATCH_KEYS                              22
  ------------------
  |  Branch (3031:17): [True: 0, False: 29]
  ------------------
 3032|      0|                case MATCH_MAPPING:
  ------------------
  |  |   36|      0|#define MATCH_MAPPING                           23
  ------------------
  |  Branch (3032:17): [True: 0, False: 29]
  ------------------
 3033|      0|                case MATCH_SEQUENCE:
  ------------------
  |  |   37|      0|#define MATCH_SEQUENCE                          24
  ------------------
  |  Branch (3033:17): [True: 0, False: 29]
  ------------------
 3034|      0|                case WITH_EXCEPT_START: {
  ------------------
  |  |   54|      0|#define WITH_EXCEPT_START                       41
  ------------------
  |  Branch (3034:17): [True: 0, False: 29]
  ------------------
 3035|      0|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 3036|      0|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 3037|      0|                    int net_pushed = num_pushed - num_popped;
 3038|      0|                    assert(net_pushed >= 0);
  ------------------
  |  Branch (3038:21): [True: 0, False: 0]
  ------------------
 3039|      0|                    for (int j = 0; j < net_pushed; j++) {
  ------------------
  |  Branch (3039:37): [True: 0, False: 0]
  ------------------
 3040|      0|                        PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3041|      0|                    }
 3042|      0|                    break;
 3043|      0|                }
 3044|       |
 3045|       |                // Opcodes that consume some inputs and push no new values
 3046|      0|                case DICT_MERGE:
  ------------------
  |  |   74|      0|#define DICT_MERGE                              61
  ------------------
  |  Branch (3046:17): [True: 0, False: 29]
  ------------------
 3047|      0|                case DICT_UPDATE:
  ------------------
  |  |   75|      0|#define DICT_UPDATE                             62
  ------------------
  |  Branch (3047:17): [True: 0, False: 29]
  ------------------
 3048|      0|                case LIST_APPEND:
  ------------------
  |  |   87|      0|#define LIST_APPEND                             74
  ------------------
  |  Branch (3048:17): [True: 0, False: 29]
  ------------------
 3049|      0|                case LIST_EXTEND:
  ------------------
  |  |   88|      0|#define LIST_EXTEND                             75
  ------------------
  |  Branch (3049:17): [True: 0, False: 29]
  ------------------
 3050|      0|                case MAP_ADD:
  ------------------
  |  |  107|      0|#define MAP_ADD                                 94
  ------------------
  |  Branch (3050:17): [True: 0, False: 29]
  ------------------
 3051|      0|                case RERAISE:
  ------------------
  |  |  114|      0|#define RERAISE                                101
  ------------------
  |  Branch (3051:17): [True: 0, False: 29]
  ------------------
 3052|      0|                case SET_ADD:
  ------------------
  |  |  116|      0|#define SET_ADD                                103
  ------------------
  |  Branch (3052:17): [True: 0, False: 29]
  ------------------
 3053|      0|                case SET_UPDATE: {
  ------------------
  |  |  118|      0|#define SET_UPDATE                             105
  ------------------
  |  Branch (3053:17): [True: 0, False: 29]
  ------------------
 3054|      0|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 3055|      0|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 3056|      0|                    int net_popped = num_popped - num_pushed;
 3057|      0|                    assert(net_popped > 0);
  ------------------
  |  Branch (3057:21): [True: 0, False: 0]
  ------------------
 3058|      0|                    for (int i = 0; i < net_popped; i++) {
  ------------------
  |  Branch (3058:37): [True: 0, False: 0]
  ------------------
 3059|      0|                        ref_stack_pop(&refs);
 3060|      0|                    }
 3061|      0|                    break;
 3062|      0|                }
 3063|       |
 3064|      0|                case END_SEND: {
  ------------------
  |  |   23|      0|#define END_SEND                                10
  ------------------
  |  Branch (3064:17): [True: 0, False: 29]
  ------------------
 3065|      0|                    assert(_PyOpcode_num_popped(opcode, oparg) == 3);
  ------------------
  |  Branch (3065:21): [True: 0, False: 0]
  ------------------
 3066|      0|                    assert(_PyOpcode_num_pushed(opcode, oparg) == 1);
  ------------------
  |  Branch (3066:21): [True: 0, False: 0]
  ------------------
 3067|      0|                    ref tos = ref_stack_pop(&refs);
 3068|      0|                    ref_stack_pop(&refs);
 3069|      0|                    ref_stack_pop(&refs);
 3070|      0|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3071|      0|                    break;
 3072|      0|                }
 3073|       |
 3074|      0|                case SET_FUNCTION_ATTRIBUTE: {
  ------------------
  |  |  117|      0|#define SET_FUNCTION_ATTRIBUTE                 104
  ------------------
  |  Branch (3074:17): [True: 0, False: 29]
  ------------------
 3075|      0|                    assert(_PyOpcode_num_popped(opcode, oparg) == 2);
  ------------------
  |  Branch (3075:21): [True: 0, False: 0]
  ------------------
 3076|      0|                    assert(_PyOpcode_num_pushed(opcode, oparg) == 1);
  ------------------
  |  Branch (3076:21): [True: 0, False: 0]
  ------------------
 3077|      0|                    ref tos = ref_stack_pop(&refs);
 3078|      0|                    ref_stack_pop(&refs);
 3079|      0|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3080|      0|                    break;
 3081|      0|                }
 3082|       |
 3083|       |                // Opcodes that consume some inputs and push new values
 3084|      0|                case CHECK_EXC_MATCH: {
  ------------------
  |  |   19|      0|#define CHECK_EXC_MATCH                          6
  ------------------
  |  Branch (3084:17): [True: 0, False: 29]
  ------------------
 3085|      0|                    ref_stack_pop(&refs);
 3086|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3087|      0|                    break;
 3088|      0|                }
 3089|       |
 3090|      0|                case FOR_ITER: {
  ------------------
  |  |   78|      0|#define FOR_ITER                                65
  ------------------
  |  Branch (3090:17): [True: 0, False: 29]
  ------------------
 3091|      0|                    load_fast_push_block(&sp, instr->i_target, refs.size + 1);
 3092|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3093|      0|                    break;
 3094|      0|                }
 3095|       |
 3096|      0|                case LOAD_ATTR:
  ------------------
  |  |   89|      0|#define LOAD_ATTR                               76
  ------------------
  |  Branch (3096:17): [True: 0, False: 29]
  ------------------
 3097|      0|                case LOAD_SUPER_ATTR: {
  ------------------
  |  |  105|      0|#define LOAD_SUPER_ATTR                         92
  ------------------
  |  Branch (3097:17): [True: 0, False: 29]
  ------------------
 3098|      0|                    ref self = ref_stack_pop(&refs);
 3099|      0|                    if (opcode == LOAD_SUPER_ATTR) {
  ------------------
  |  |  105|      0|#define LOAD_SUPER_ATTR                         92
  ------------------
  |  Branch (3099:25): [True: 0, False: 0]
  ------------------
 3100|      0|                        ref_stack_pop(&refs);
 3101|      0|                        ref_stack_pop(&refs);
 3102|      0|                    }
 3103|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3104|      0|                    if (oparg & 1) {
  ------------------
  |  Branch (3104:25): [True: 0, False: 0]
  ------------------
 3105|       |                        // A method call; conservatively assume that self is pushed
 3106|       |                        // back onto the stack
 3107|      0|                        PUSH_REF(self.instr, self.local);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3108|      0|                    }
 3109|      0|                    break;
 3110|      0|                }
 3111|       |
 3112|      0|                case LOAD_SPECIAL:
  ------------------
  |  |  104|      0|#define LOAD_SPECIAL                            91
  ------------------
  |  Branch (3112:17): [True: 0, False: 29]
  ------------------
 3113|      0|                case PUSH_EXC_INFO: {
  ------------------
  |  |   43|      0|#define PUSH_EXC_INFO                           30
  ------------------
  |  Branch (3113:17): [True: 0, False: 29]
  ------------------
 3114|      0|                    ref tos = ref_stack_pop(&refs);
 3115|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3116|      0|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3117|      0|                    break;
 3118|      0|                }
 3119|       |
 3120|      0|                case SEND: {
  ------------------
  |  |  115|      0|#define SEND                                   102
  ------------------
  |  Branch (3120:17): [True: 0, False: 29]
  ------------------
 3121|      0|                    load_fast_push_block(&sp, instr->i_target, refs.size);
 3122|      0|                    ref_stack_pop(&refs);
 3123|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3124|      0|                    break;
 3125|      0|                }
 3126|       |
 3127|       |                // Opcodes that consume all of their inputs
 3128|     18|                default: {
  ------------------
  |  Branch (3128:17): [True: 18, False: 11]
  ------------------
 3129|     18|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 3130|     18|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 3131|     18|                    if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|     18|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     36|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     18|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|     18|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     36|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 18]
  |  |  |  |  ------------------
  |  |  |  |   19|     18|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     36|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 18]
  |  |  |  |  ------------------
  |  |  |  |   20|     18|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     18|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3132|      0|                        load_fast_push_block(&sp, instr->i_target, refs.size - num_popped + num_pushed);
 3133|      0|                    }
 3134|     18|                    if (!IS_BLOCK_PUSH_OPCODE(instr->i_opcode)) {
  ------------------
  |  |   18|     18|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  252|     36|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 0, False: 18]
  |  |  ------------------
  |  |   19|     18|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  253|     36|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 0, False: 18]
  |  |  ------------------
  |  |   20|     18|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  251|     18|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 0, False: 18]
  |  |  ------------------
  ------------------
 3135|       |                        // Block push opcodes only affect the stack when jumping
 3136|       |                        // to the target.
 3137|     41|                        for (int j = 0; j < num_popped; j++) {
  ------------------
  |  Branch (3137:41): [True: 23, False: 18]
  ------------------
 3138|     23|                            ref_stack_pop(&refs);
 3139|     23|                        }
 3140|     34|                        for (int j = 0; j < num_pushed; j++) {
  ------------------
  |  Branch (3140:41): [True: 16, False: 18]
  ------------------
 3141|     16|                            PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2930|     16|        do {                                      \
  |  | 2931|     16|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 16]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|     16|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 16]
  |  |  ------------------
  ------------------
 3142|     16|                        }
 3143|     18|                    }
 3144|     18|                    break;
 3145|     18|                }
 3146|     29|            }
 3147|     29|        }
 3148|       |
 3149|       |        // Push fallthrough block
 3150|      4|        if (BB_HAS_FALLTHROUGH(block)) {
  ------------------
  |  |  253|      4|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 0, False: 4]
  |  |  ------------------
  ------------------
 3151|      0|            assert(block->b_next != NULL);
  ------------------
  |  Branch (3151:13): [True: 0, False: 0]
  ------------------
 3152|      0|            load_fast_push_block(&sp, block->b_next, refs.size);
 3153|      0|        }
 3154|       |
 3155|       |        // Mark instructions that produce values that are on the stack at the
 3156|       |        // end of the basic block
 3157|      8|        for (Py_ssize_t i = 0; i < refs.size; i++) {
  ------------------
  |  Branch (3157:32): [True: 4, False: 4]
  ------------------
 3158|      4|            ref r = ref_stack_at(&refs, i);
 3159|      4|            if (r.instr != -1) {
  ------------------
  |  Branch (3159:17): [True: 4, False: 0]
  ------------------
 3160|      4|                instr_flags[r.instr] |= REF_UNCONSUMED;
 3161|      4|            }
 3162|      4|        }
 3163|       |
 3164|       |        // Optimize instructions
 3165|     33|        for (int i = 0; i < block->b_iused; i++) {
  ------------------
  |  Branch (3165:25): [True: 29, False: 4]
  ------------------
 3166|     29|            if (!instr_flags[i]) {
  ------------------
  |  Branch (3166:17): [True: 25, False: 4]
  ------------------
 3167|     25|                cfg_instr *instr = &block->b_instr[i];
 3168|     25|                switch (instr->i_opcode) {
 3169|     11|                    case LOAD_FAST:
  ------------------
  |  |   93|     11|#define LOAD_FAST                               80
  ------------------
  |  Branch (3169:21): [True: 11, False: 14]
  ------------------
 3170|     11|                        instr->i_opcode = LOAD_FAST_BORROW;
  ------------------
  |  |   95|     11|#define LOAD_FAST_BORROW                        82
  ------------------
 3171|     11|                        break;
 3172|      0|                    case LOAD_FAST_LOAD_FAST:
  ------------------
  |  |   98|      0|#define LOAD_FAST_LOAD_FAST                     85
  ------------------
  |  Branch (3172:21): [True: 0, False: 25]
  ------------------
 3173|      0|                        instr->i_opcode = LOAD_FAST_BORROW_LOAD_FAST_BORROW;
  ------------------
  |  |   96|      0|#define LOAD_FAST_BORROW_LOAD_FAST_BORROW       83
  ------------------
 3174|      0|                        break;
 3175|     14|                    default:
  ------------------
  |  Branch (3175:21): [True: 14, False: 11]
  ------------------
 3176|     14|                        break;
 3177|     25|                }
 3178|     25|            }
 3179|     29|        }
 3180|      4|    }
 3181|       |
 3182|      4|    #undef PUSH_REF
 3183|       |
 3184|      4|    status = SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 3185|       |
 3186|      4|done:
 3187|      4|    ref_stack_fini(&refs);
 3188|      4|    PyMem_Free(instr_flags);
 3189|      4|    PyMem_Free(blocks);
 3190|      4|    return status;
 3191|      4|}
flowgraph.c:ref_stack_clear:
 2809|      4|{
 2810|      4|    stack->size = 0;
 2811|      4|}
flowgraph.c:ref_stack_push:
 2765|     27|{
 2766|     27|    if (stack->size == stack->capacity) {
  ------------------
  |  Branch (2766:9): [True: 4, False: 23]
  ------------------
 2767|      4|        Py_ssize_t new_cap = Py_MAX(32, stack->capacity * 2);
  ------------------
  |  |  133|      4|       __extension__ \
  |  |  134|      4|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|      4|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|      4|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 2768|      4|        ref *refs = PyMem_Realloc(stack->refs, sizeof(*stack->refs) * new_cap);
 2769|      4|        if (refs == NULL) {
  ------------------
  |  Branch (2769:13): [True: 0, False: 4]
  ------------------
 2770|      0|            PyErr_NoMemory();
 2771|      0|            return -1;
 2772|      0|        }
 2773|      4|        stack->refs = refs;
 2774|      4|        stack->capacity = new_cap;
 2775|      4|    }
 2776|     27|    stack->refs[stack->size] = r;
 2777|     27|    stack->size++;
 2778|     27|    return 0;
 2779|     27|}
flowgraph.c:ref_stack_pop:
 2783|     23|{
 2784|     23|    assert(stack->size > 0);
  ------------------
  |  Branch (2784:5): [True: 23, False: 0]
  ------------------
 2785|     23|    stack->size--;
 2786|     23|    ref r = stack->refs[stack->size];
 2787|     23|    return r;
 2788|     23|}
flowgraph.c:ref_stack_at:
 2802|      4|{
 2803|      4|    assert(idx >= 0 && idx < stack->size);
  ------------------
  |  Branch (2803:5): [True: 4, False: 0]
  |  Branch (2803:5): [True: 4, False: 0]
  ------------------
 2804|      4|    return stack->refs[idx];
 2805|      4|}
flowgraph.c:ref_stack_fini:
 2815|      4|{
 2816|      4|    if (stack->refs != NULL) {
  ------------------
  |  Branch (2816:9): [True: 4, False: 0]
  ------------------
 2817|      4|        PyMem_Free(stack->refs);
 2818|      4|    }
 2819|       |    stack->refs = NULL;
 2820|      4|    stack->capacity = 0;
 2821|      4|    stack->size = 0;
 2822|      4|}
flowgraph.c:insert_superinstructions:
 2710|      4|{
 2711|     10|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2711:43): [True: 6, False: 4]
  ------------------
 2712|       |
 2713|     35|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (2713:25): [True: 29, False: 6]
  ------------------
 2714|     29|            cfg_instr *inst = &b->b_instr[i];
 2715|     29|            int nextop = i+1 < b->b_iused ? b->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2715:26): [True: 25, False: 4]
  ------------------
 2716|     29|            switch(inst->i_opcode) {
  ------------------
  |  Branch (2716:20): [True: 6, False: 23]
  ------------------
 2717|      0|                case LOAD_FAST:
  ------------------
  |  |   93|      0|#define LOAD_FAST                               80
  ------------------
  |  Branch (2717:17): [True: 0, False: 29]
  ------------------
 2718|      0|                    if (nextop == LOAD_FAST) {
  ------------------
  |  |   93|      0|#define LOAD_FAST                               80
  ------------------
  |  Branch (2718:25): [True: 0, False: 0]
  ------------------
 2719|      0|                        make_super_instruction(inst, &b->b_instr[i + 1], LOAD_FAST_LOAD_FAST);
  ------------------
  |  |   98|      0|#define LOAD_FAST_LOAD_FAST                     85
  ------------------
 2720|      0|                    }
 2721|      0|                    break;
 2722|      6|                case LOAD_FAST_BORROW:
  ------------------
  |  |   95|      6|#define LOAD_FAST_BORROW                        82
  ------------------
  |  Branch (2722:17): [True: 6, False: 23]
  ------------------
 2723|      6|                    if (nextop == LOAD_FAST_BORROW) {
  ------------------
  |  |   95|      6|#define LOAD_FAST_BORROW                        82
  ------------------
  |  Branch (2723:25): [True: 5, False: 1]
  ------------------
 2724|      5|                        make_super_instruction(inst, &b->b_instr[i + 1],
 2725|      5|                                               LOAD_FAST_BORROW_LOAD_FAST_BORROW);
  ------------------
  |  |   96|      5|#define LOAD_FAST_BORROW_LOAD_FAST_BORROW       83
  ------------------
 2726|      5|                    }
 2727|      6|                    break;
 2728|      0|                case STORE_FAST:
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (2728:17): [True: 0, False: 29]
  ------------------
 2729|      0|                    switch (nextop) {
  ------------------
  |  Branch (2729:29): [True: 0, False: 0]
  ------------------
 2730|      0|                        case LOAD_FAST:
  ------------------
  |  |   93|      0|#define LOAD_FAST                               80
  ------------------
  |  Branch (2730:25): [True: 0, False: 0]
  ------------------
 2731|      0|                            make_super_instruction(inst, &b->b_instr[i + 1], STORE_FAST_LOAD_FAST);
  ------------------
  |  |  122|      0|#define STORE_FAST_LOAD_FAST                   109
  ------------------
 2732|      0|                            break;
 2733|      0|                        case STORE_FAST:
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (2733:25): [True: 0, False: 0]
  ------------------
 2734|      0|                            make_super_instruction(inst, &b->b_instr[i + 1], STORE_FAST_STORE_FAST);
  ------------------
  |  |  123|      0|#define STORE_FAST_STORE_FAST                  110
  ------------------
 2735|      0|                            break;
 2736|      0|                    }
 2737|      0|                    break;
 2738|     29|            }
 2739|     29|        }
 2740|      6|    }
 2741|      4|    RETURN_IF_ERROR(remove_redundant_nops(g));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2742|      4|    assert(no_redundant_nops(g));
  ------------------
  |  Branch (2742:5): [True: 4, False: 0]
  ------------------
 2743|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 2744|      4|}
flowgraph.c:make_super_instruction:
 2694|      5|{
 2695|      5|    int32_t line1 = inst1->i_loc.lineno;
 2696|      5|    int32_t line2 = inst2->i_loc.lineno;
 2697|       |    /* Skip if instructions are on different lines */
 2698|      5|    if (line1 >= 0 && line2 >= 0 && line1 != line2) {
  ------------------
  |  Branch (2698:9): [True: 5, False: 0]
  |  Branch (2698:23): [True: 5, False: 0]
  |  Branch (2698:37): [True: 0, False: 5]
  ------------------
 2699|      0|        return;
 2700|      0|    }
 2701|      5|    if (inst1->i_oparg >= 16 || inst2->i_oparg >= 16) {
  ------------------
  |  Branch (2701:9): [True: 0, False: 5]
  |  Branch (2701:33): [True: 0, False: 5]
  ------------------
 2702|      0|        return;
 2703|      0|    }
 2704|      5|    INSTR_SET_OP1(inst1, super_op, (inst1->i_oparg << 4) | inst2->i_oparg);
  ------------------
  |  |  116|      5|    do { \
  |  |  117|      5|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      5|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      5|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      5|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      5|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
  |  Branch (2704:5): [True: 5, False: 0]
  ------------------
 2705|      5|    INSTR_SET_OP0(inst2, NOP);
  ------------------
  |  |  125|      5|    do { \
  |  |  126|      5|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      5|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      5|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      5|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      5|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
  |  Branch (2705:5): [True: 5, False: 0]
  ------------------
 2706|      5|}
flowgraph.c:no_redundant_nops:
  517|      4|no_redundant_nops(cfg_builder *g) {
  518|      4|    if (remove_redundant_nops(g) != 0) {
  ------------------
  |  Branch (518:9): [True: 0, False: 4]
  ------------------
  519|      0|        return false;
  520|      0|    }
  521|      4|    return true;
  522|      4|}
flowgraph.c:get_stack_effects:
  784|     29|{
  785|     29|    if (opcode < 0) {
  ------------------
  |  Branch (785:9): [True: 0, False: 29]
  ------------------
  786|      0|        return -1;
  787|      0|    }
  788|     29|    if ((opcode <= MAX_REAL_OPCODE) && (_PyOpcode_Deopt[opcode] != opcode)) {
  ------------------
  |  |   11|     29|#define MAX_REAL_OPCODE 254
  ------------------
  |  Branch (788:9): [True: 29, False: 0]
  |  Branch (788:40): [True: 0, False: 29]
  ------------------
  789|       |        // Specialized instructions are not supported.
  790|      0|        return -1;
  791|      0|    }
  792|     29|    int popped = _PyOpcode_num_popped(opcode, oparg);
  793|     29|    int pushed = _PyOpcode_num_pushed(opcode, oparg);
  794|     29|    if (popped < 0 || pushed < 0) {
  ------------------
  |  Branch (794:9): [True: 0, False: 29]
  |  Branch (794:23): [True: 0, False: 29]
  ------------------
  795|      0|        return -1;
  796|      0|    }
  797|     29|    if (IS_BLOCK_PUSH_OPCODE(opcode) && !jump) {
  ------------------
  |  |   18|     58|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  252|     58|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 0, False: 29]
  |  |  ------------------
  |  |   19|     29|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  253|     58|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 0, False: 29]
  |  |  ------------------
  |  |   20|     58|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  251|     29|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 0, False: 29]
  |  |  ------------------
  ------------------
  |  Branch (797:41): [True: 0, False: 0]
  ------------------
  798|      0|        effects->net = 0;
  799|      0|        return 0;
  800|      0|    }
  801|     29|    effects->net = pushed - popped;
  802|     29|    return 0;
  803|     29|}

_PyFrame_MakeAndSetFrameObject:
   22|    423|{
   23|    423|    PyObject *exc = PyErr_GetRaisedException();
   24|       |
   25|    423|    PyFrameObject *f = _PyFrame_New_NoTrack(_PyFrame_GetCode(frame));
   26|    423|    if (f == NULL) {
  ------------------
  |  Branch (26:9): [True: 0, False: 423]
  ------------------
   27|      0|        Py_XDECREF(exc);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   28|      0|        return NULL;
   29|      0|    }
   30|    423|    PyErr_SetRaisedException(exc);
   31|       |
   32|       |    // GH-97002: There was a time when a frame object could be created when we
   33|       |    // are allocating the new frame object f above, so frame->frame_obj would
   34|       |    // be assigned already. That path does not exist anymore. We won't call any
   35|       |    // Python code in this function and garbage collection will not run.
   36|       |    // Notice that _PyFrame_New_NoTrack() can potentially raise a MemoryError,
   37|       |    // but it won't allocate a traceback until the frame unwinds, so we are safe
   38|       |    // here.
   39|    423|    assert(frame->owner != FRAME_OWNED_BY_FRAME_OBJECT);
  ------------------
  |  Branch (39:5): [True: 423, False: 0]
  ------------------
   40|    423|    f->f_frame = frame;
   41|       |#ifdef Py_GIL_DISABLED
   42|       |    PyFrameObject *expected = NULL;
   43|       |    if (!_Py_atomic_compare_exchange_ptr(&frame->frame_obj, &expected, f)) {
   44|       |        Py_DECREF(f);
   45|       |        return expected;
   46|       |    }
   47|       |#else
   48|    423|    assert(frame->frame_obj == NULL);
  ------------------
  |  Branch (48:5): [True: 423, False: 0]
  ------------------
   49|    423|    frame->frame_obj = f;
   50|    423|#endif
   51|    423|    return f;
   52|    423|}
_PyFrame_ClearLocals:
  101|  8.32k|{
  102|  8.32k|    assert(frame->stackpointer != NULL);
  ------------------
  |  Branch (102:5): [True: 8.32k, False: 0]
  ------------------
  103|  8.32k|    _PyStackRef *sp = frame->stackpointer;
  104|  8.32k|    _PyStackRef *locals = frame->localsplus;
  105|  8.32k|    frame->stackpointer = locals;
  106|  37.8k|    while (sp > locals) {
  ------------------
  |  Branch (106:12): [True: 29.5k, False: 8.32k]
  ------------------
  107|  29.5k|        sp--;
  108|  29.5k|        PyStackRef_XCLOSE(*sp);
  109|  29.5k|    }
  110|       |    Py_CLEAR(frame->f_locals);
  ------------------
  |  |  487|  8.32k|    do { \
  |  |  488|  8.32k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  8.32k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  8.32k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  8.32k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  8.32k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  8.32k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 299, False: 8.02k]
  |  |  ------------------
  |  |  491|    299|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    299|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    299|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    299|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    299|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    299|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    299|        } \
  |  |  494|  8.32k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 8.32k]
  |  |  ------------------
  ------------------
  111|  8.32k|}
_PyFrame_ClearExceptCode:
  115|  8.44k|{
  116|       |    /* It is the responsibility of the owning generator/coroutine
  117|       |     * to have cleared the enclosing generator, if any. */
  118|  8.44k|    assert(frame->owner != FRAME_OWNED_BY_GENERATOR ||
  ------------------
  |  Branch (118:5): [True: 8.33k, False: 113]
  |  Branch (118:5): [True: 113, False: 0]
  ------------------
  119|  8.44k|           FT_ATOMIC_LOAD_INT8_RELAXED(_PyGen_GetGeneratorFromFrame(frame)->gi_frame_state) == FRAME_CLEARED);
  120|       |    // GH-99729: Clearing this frame can expose the stack (via finalizers). It's
  121|       |    // crucial that this frame has been unlinked, and is no longer visible:
  122|  8.44k|    assert(_PyThreadState_GET()->current_frame != frame);
  ------------------
  |  Branch (122:5): [True: 8.44k, False: 0]
  ------------------
  123|  8.44k|    PyFrameObject *f = FT_ATOMIC_LOAD_PTR_RELAXED(frame->frame_obj);
  ------------------
  |  |  155|  8.44k|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  ------------------
  124|  8.44k|    if (f != NULL) {
  ------------------
  |  Branch (124:9): [True: 423, False: 8.02k]
  ------------------
  125|    423|        FT_ATOMIC_STORE_PTR_RELAXED(frame->frame_obj, NULL);
  ------------------
  |  |  165|    423|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
  126|    423|        if (!_PyObject_IsUniquelyReferenced((PyObject *)f)) {
  ------------------
  |  Branch (126:13): [True: 129, False: 294]
  ------------------
  127|    129|            take_ownership(f, frame);
  128|    129|            Py_DECREF(f);
  ------------------
  |  |  430|    129|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    129|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    129|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  129|    129|            return;
  130|    129|        }
  131|    294|        Py_DECREF(f);
  ------------------
  |  |  430|    294|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    294|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    294|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  132|    294|    }
  133|  8.32k|    _PyFrame_ClearLocals(frame);
  134|  8.32k|    PyStackRef_CLEAR(frame->f_funcobj);
  ------------------
  |  |  732|  8.32k|    do { \
  |  |  733|  8.32k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  8.32k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  8.32k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  8.32k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  8.32k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 8.32k]
  |  |  ------------------
  ------------------
  135|  8.32k|}
frame.c:take_ownership:
   56|    129|{
   57|    129|    Py_BEGIN_CRITICAL_SECTION(f);
  ------------------
  |  |   51|    129|    {
  ------------------
   58|    129|    assert(frame->owner < FRAME_OWNED_BY_INTERPRETER);
  ------------------
  |  Branch (58:5): [True: 129, False: 0]
  ------------------
   59|    129|    assert(frame->owner != FRAME_OWNED_BY_FRAME_OBJECT);
  ------------------
  |  Branch (59:5): [True: 129, False: 0]
  ------------------
   60|    129|    _PyInterpreterFrame *new_frame = (_PyInterpreterFrame *)f->_f_frame_data;
   61|    129|    _PyFrame_Copy(frame, new_frame);
   62|       |    // _PyFrame_Copy takes the reference to the executable,
   63|       |    // so we need to restore it.
   64|    129|    new_frame->f_executable = PyStackRef_DUP(new_frame->f_executable);
   65|    129|    f->f_frame = new_frame;
   66|    129|    new_frame->owner = FRAME_OWNED_BY_FRAME_OBJECT;
   67|    129|    if (_PyFrame_IsIncomplete(new_frame)) {
  ------------------
  |  Branch (67:9): [True: 0, False: 129]
  ------------------
   68|       |        // This may be a newly-created generator or coroutine frame. Since it's
   69|       |        // dead anyways, just pretend that the first RESUME ran:
   70|      0|        PyCodeObject *code = _PyFrame_GetCode(new_frame);
   71|      0|        new_frame->instr_ptr =
   72|      0|            _PyFrame_GetBytecode(new_frame) + code->_co_firsttraceable + 1;
   73|      0|    }
   74|    129|    assert(!_PyFrame_IsIncomplete(new_frame));
  ------------------
  |  Branch (74:5): [True: 129, False: 0]
  ------------------
   75|    129|    assert(f->f_back == NULL);
  ------------------
  |  Branch (75:5): [True: 129, False: 0]
  ------------------
   76|    129|    _PyInterpreterFrame *prev = _PyFrame_GetFirstComplete(frame->previous);
   77|    129|    if (prev) {
  ------------------
  |  Branch (77:9): [True: 97, False: 32]
  ------------------
   78|     97|        assert(prev->owner < FRAME_OWNED_BY_INTERPRETER);
  ------------------
  |  Branch (78:9): [True: 97, False: 0]
  ------------------
   79|     97|        PyObject *exc = PyErr_GetRaisedException();
   80|       |        /* Link PyFrameObjects.f_back and remove link through _PyInterpreterFrame.previous */
   81|     97|        PyFrameObject *back = _PyFrame_GetFrameObject(prev);
   82|     97|        if (back == NULL) {
  ------------------
  |  Branch (82:13): [True: 0, False: 97]
  ------------------
   83|       |            /* Memory error here. */
   84|      0|            assert(PyErr_ExceptionMatches(PyExc_MemoryError));
  ------------------
  |  Branch (84:13): [True: 0, False: 0]
  ------------------
   85|       |            /* Nothing we can do about it */
   86|      0|            PyErr_Clear();
   87|      0|        }
   88|     97|        else {
   89|     97|            f->f_back = (PyFrameObject *)Py_NewRef(back);
  ------------------
  |  |  647|     97|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   90|     97|        }
   91|     97|        PyErr_SetRaisedException(exc);
   92|     97|    }
   93|    129|    if (!_PyObject_GC_IS_TRACKED((PyObject *)f)) {
  ------------------
  |  |   81|    129|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    129|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (93:9): [True: 129, False: 0]
  ------------------
   94|    129|        _PyObject_GC_TRACK((PyObject *)f);
  ------------------
  |  |  502|    129|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    129|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    129|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|    129|    }
   96|    129|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    129|    }
  ------------------
   97|    129|}

_PyFuture_FromAST:
  141|     11|{
  142|     11|    ff->ff_features = 0;
  143|     11|    ff->ff_location = (_Py_SourceLocation){-1, -1, -1, -1};
  144|       |
  145|     11|    if (!future_parse(ff, mod, filename)) {
  ------------------
  |  Branch (145:9): [True: 0, False: 11]
  ------------------
  146|      0|        return 0;
  147|      0|    }
  148|     11|    return 1;
  149|     11|}
future.c:future_parse:
   96|     11|{
   97|     11|    if (!(mod->kind == Module_kind || mod->kind == Interactive_kind)) {
  ------------------
  |  Branch (97:11): [True: 0, False: 11]
  |  Branch (97:39): [True: 0, False: 11]
  ------------------
   98|     11|        return 1;
   99|     11|    }
  100|       |
  101|      0|    Py_ssize_t n = asdl_seq_LEN(mod->v.Module.body);
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  102|      0|    if (n == 0) {
  ------------------
  |  Branch (102:9): [True: 0, False: 0]
  ------------------
  103|      0|        return 1;
  104|      0|    }
  105|       |
  106|      0|    Py_ssize_t i = 0;
  107|      0|    if (_PyAST_GetDocString(mod->v.Module.body) != NULL) {
  ------------------
  |  Branch (107:9): [True: 0, False: 0]
  ------------------
  108|      0|        i++;
  109|      0|    }
  110|       |
  111|      0|    for (; i < n; i++) {
  ------------------
  |  Branch (111:12): [True: 0, False: 0]
  ------------------
  112|      0|        stmt_ty s = (stmt_ty)asdl_seq_GET(mod->v.Module.body, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  113|       |
  114|       |        /* The only things that can precede a future statement
  115|       |         *  are another future statement and a doc string.
  116|       |         */
  117|       |
  118|      0|        if (s->kind == ImportFrom_kind && s->v.ImportFrom.level == 0) {
  ------------------
  |  Branch (118:13): [True: 0, False: 0]
  |  Branch (118:43): [True: 0, False: 0]
  ------------------
  119|      0|            identifier modname = s->v.ImportFrom.module;
  120|      0|            if (modname &&
  ------------------
  |  Branch (120:17): [True: 0, False: 0]
  ------------------
  121|      0|                _PyUnicode_EqualToASCIIString(modname, "__future__")) {
  ------------------
  |  Branch (121:17): [True: 0, False: 0]
  ------------------
  122|      0|                if (!future_check_features(ff, s, filename)) {
  ------------------
  |  Branch (122:21): [True: 0, False: 0]
  ------------------
  123|      0|                    return 0;
  124|      0|                }
  125|      0|                ff->ff_location = SRC_LOCATION_FROM_AST(s);
  ------------------
  |  |   58|      0|    (_Py_SourceLocation){ \
  |  |   59|      0|               .lineno = (n)->lineno, \
  |  |   60|      0|               .end_lineno = (n)->end_lineno, \
  |  |   61|      0|               .col_offset = (n)->col_offset, \
  |  |   62|      0|               .end_col_offset = (n)->end_col_offset }
  ------------------
  126|      0|            }
  127|      0|            else {
  128|      0|                return 1;
  129|      0|            }
  130|      0|        }
  131|      0|        else {
  132|      0|            return 1;
  133|      0|        }
  134|      0|    }
  135|      0|    return 1;
  136|      0|}

_PyGC_InitState:
  115|      2|{
  116|      2|#define INIT_HEAD(GEN) \
  117|      2|    do { \
  118|      2|        GEN.head._gc_next = (uintptr_t)&GEN.head; \
  119|      2|        GEN.head._gc_prev = (uintptr_t)&GEN.head; \
  120|      2|    } while (0)
  121|       |
  122|      8|    for (int i = 0; i < NUM_GENERATIONS; i++) {
  ------------------
  |  |  217|      8|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (122:21): [True: 6, False: 2]
  ------------------
  123|      6|        assert(gcstate->generations[i].count == 0);
  ------------------
  |  Branch (123:9): [True: 6, False: 0]
  ------------------
  124|      6|        INIT_HEAD(gcstate->generations[i]);
  ------------------
  |  |  117|      6|    do { \
  |  |  118|      6|        GEN.head._gc_next = (uintptr_t)&GEN.head; \
  |  |  119|      6|        GEN.head._gc_prev = (uintptr_t)&GEN.head; \
  |  |  120|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (120:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  125|      6|    };
  126|      2|    gcstate->generation0 = GEN_HEAD(gcstate, 0);
  ------------------
  |  |  102|      2|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
  127|      2|    INIT_HEAD(gcstate->permanent_generation);
  ------------------
  |  |  117|      2|    do { \
  |  |  118|      2|        GEN.head._gc_next = (uintptr_t)&GEN.head; \
  |  |  119|      2|        GEN.head._gc_prev = (uintptr_t)&GEN.head; \
  |  |  120|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (120:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  128|       |
  129|      2|#undef INIT_HEAD
  130|      2|}
_PyGC_Init:
  135|      2|{
  136|      2|    GCState *gcstate = &interp->gc;
  137|       |
  138|      2|    gcstate->generation_stats = PyMem_RawCalloc(1, sizeof(struct gc_stats));
  139|      2|    if (gcstate->generation_stats == NULL) {
  ------------------
  |  Branch (139:9): [True: 0, False: 2]
  ------------------
  140|      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)}
  |  |  ------------------
  ------------------
  141|      0|    }
  142|       |
  143|      2|    gcstate->garbage = PyList_New(0);
  144|      2|    if (gcstate->garbage == NULL) {
  ------------------
  |  Branch (144:9): [True: 0, False: 2]
  ------------------
  145|      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)}
  |  |  ------------------
  ------------------
  146|      0|    }
  147|       |
  148|      2|    gcstate->callbacks = PyList_New(0);
  149|      2|    if (gcstate->callbacks == NULL) {
  ------------------
  |  Branch (149:9): [True: 0, False: 2]
  ------------------
  150|      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)}
  |  |  ------------------
  ------------------
  151|      0|    }
  152|       |
  153|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  154|      2|}
PyObject_GC_Track:
 1991|    542|{
 1992|    542|    PyObject *op = _PyObject_CAST(op_raw);
  ------------------
  |  |  171|    542|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    542|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1993|    542|    if (_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|    542|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    542|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 0, False: 542]
  |  |  ------------------
  ------------------
 1994|      0|        _PyObject_ASSERT_FAILED_MSG(op,
  ------------------
  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  ------------------
 1995|      0|                                    "object already tracked "
 1996|      0|                                    "by the garbage collector");
 1997|      0|    }
 1998|    542|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|    542|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    542|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    542|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1999|       |
 2000|       |#ifdef Py_DEBUG
 2001|       |    /* Check that the object is valid: validate objects traversed
 2002|       |       by tp_traverse() */
 2003|       |    traverseproc traverse = Py_TYPE(op)->tp_traverse;
 2004|       |    (void)traverse(op, visit_validate, op);
 2005|       |#endif
 2006|    542|}
PyObject_GC_UnTrack:
 2010|  15.1k|{
 2011|  15.1k|    PyObject *op = _PyObject_CAST(op_raw);
  ------------------
  |  |  171|  15.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  15.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2012|       |    /* The code for some objects, such as tuples, is a bit
 2013|       |     * sloppy about when the object is tracked and untracked. */
 2014|  15.1k|    if (_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|  15.1k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  15.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 12.1k, False: 3.00k]
  |  |  ------------------
  ------------------
 2015|  12.1k|        _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  504|  12.1k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2016|  12.1k|    }
 2017|  15.1k|}
PyObject_IS_GC:
 2021|  9.07k|{
 2022|  9.07k|    return _PyObject_IS_GC(obj);
 2023|  9.07k|}
_Py_ScheduleGC:
 2027|  2.48k|{
 2028|  2.48k|    if (!_Py_eval_breaker_bit_is_set(tstate, _PY_GC_SCHEDULED_BIT))
  ------------------
  |  |  349|  2.48k|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
  |  Branch (2028:9): [True: 8, False: 2.47k]
  ------------------
 2029|      8|    {
 2030|      8|        _Py_set_eval_breaker_bit(tstate, _PY_GC_SCHEDULED_BIT);
  ------------------
  |  |  349|      8|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
 2031|      8|    }
 2032|  2.48k|}
_PyObject_GC_Link:
 2036|  25.5k|{
 2037|  25.5k|    PyGC_Head *gc = AS_GC(op);
  ------------------
  |  |   53|  25.5k|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
 2038|       |    // gc must be correctly aligned
 2039|  25.5k|    _PyObject_ASSERT(op, ((uintptr_t)gc & (sizeof(uintptr_t)-1)) == 0);
  ------------------
  |  |  360|  25.5k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|  25.5k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|  25.5k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 25.5k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  25.5k|      ? (void)(0) \
  |  |  |  |  |  |  353|  25.5k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2040|       |
 2041|  25.5k|    PyThreadState *tstate = _PyThreadState_GET();
 2042|  25.5k|    GCState *gcstate = &tstate->interp->gc;
 2043|  25.5k|    gc->_gc_next = 0;
 2044|  25.5k|    gc->_gc_prev = 0;
 2045|  25.5k|    gcstate->generations[0].count++; /* number of allocated GC objects */
 2046|  25.5k|    if (gcstate->generations[0].count > gcstate->generations[0].threshold &&
  ------------------
  |  Branch (2046:9): [True: 2.48k, False: 23.1k]
  ------------------
 2047|  2.48k|        gcstate->enabled &&
  ------------------
  |  Branch (2047:9): [True: 2.48k, False: 0]
  ------------------
 2048|  2.48k|        gcstate->generations[0].threshold &&
  ------------------
  |  Branch (2048:9): [True: 2.48k, False: 0]
  ------------------
 2049|  2.48k|        !_Py_atomic_load_int_relaxed(&gcstate->collecting) &&
  ------------------
  |  Branch (2049:9): [True: 2.48k, False: 0]
  ------------------
 2050|  2.48k|        !_PyErr_Occurred(tstate))
  ------------------
  |  Branch (2050:9): [True: 2.48k, False: 0]
  ------------------
 2051|  2.48k|    {
 2052|  2.48k|        _Py_ScheduleGC(tstate);
 2053|  2.48k|    }
 2054|  25.5k|}
_Py_RunGC:
 2058|      8|{
 2059|      8|    GCState *gcstate = get_gc_state();
 2060|      8|    if (!gcstate->enabled) {
  ------------------
  |  Branch (2060:9): [True: 0, False: 8]
  ------------------
 2061|      0|        return;
 2062|      0|    }
 2063|      8|    gc_collect_main(tstate, GENERATION_AUTO, _Py_GC_REASON_HEAP);
  ------------------
  |  |   57|      8|#define GENERATION_AUTO (-1)
  ------------------
 2064|      8|}
_PyObject_GC_New:
 2088|  7.45k|{
 2089|  7.45k|    size_t presize = _PyType_PreHeaderSize(tp);
 2090|  7.45k|    size_t size = _PyObject_SIZE(tp);
 2091|  7.45k|    if (_PyType_HasFeature(tp, Py_TPFLAGS_INLINE_VALUES)) {
  ------------------
  |  |  472|  7.45k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2091:9): [True: 0, False: 7.45k]
  ------------------
 2092|      0|        size += _PyInlineValuesSize(tp);
 2093|      0|    }
 2094|  7.45k|    PyObject *op = gc_alloc(tp, size, presize);
 2095|  7.45k|    if (op == NULL) {
  ------------------
  |  Branch (2095:9): [True: 0, False: 7.45k]
  ------------------
 2096|      0|        return NULL;
 2097|      0|    }
 2098|  7.45k|    _PyObject_Init(op, tp);
 2099|  7.45k|    if (tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  7.45k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2099:9): [True: 0, False: 7.45k]
  ------------------
 2100|      0|        _PyObject_InitInlineValues(op, tp);
 2101|      0|    }
 2102|  7.45k|    return op;
 2103|  7.45k|}
_PyObject_GC_NewVar:
 2107|  8.11k|{
 2108|  8.11k|    PyVarObject *op;
 2109|       |
 2110|  8.11k|    if (nitems < 0) {
  ------------------
  |  Branch (2110:9): [True: 0, False: 8.11k]
  ------------------
 2111|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2112|      0|        return NULL;
 2113|      0|    }
 2114|  8.11k|    size_t presize = _PyType_PreHeaderSize(tp);
 2115|  8.11k|    size_t size = _PyObject_VAR_SIZE(tp, nitems);
 2116|  8.11k|    op = (PyVarObject *)gc_alloc(tp, size, presize);
 2117|  8.11k|    if (op == NULL) {
  ------------------
  |  Branch (2117:9): [True: 0, False: 8.11k]
  ------------------
 2118|      0|        return NULL;
 2119|      0|    }
 2120|  8.11k|    _PyObject_InitVar(op, tp, nitems);
 2121|  8.11k|    return op;
 2122|  8.11k|}
_PyObject_GC_Resize:
 2140|      2|{
 2141|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2142|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2143|      2|    _PyObject_ASSERT((PyObject *)op, !_PyObject_GC_IS_TRACKED(op));
  ------------------
  |  |  360|      2|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      2|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      2|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      2|      ? (void)(0) \
  |  |  |  |  |  |  353|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2144|      2|    if (basicsize > (size_t)PY_SSIZE_T_MAX - presize) {
  ------------------
  |  |  137|      2|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2144:9): [True: 0, False: 2]
  ------------------
 2145|      0|        return (PyVarObject *)PyErr_NoMemory();
 2146|      0|    }
 2147|      2|    char *mem = (char *)op - presize;
 2148|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2149|      2|    if (mem == NULL) {
  ------------------
  |  Branch (2149:9): [True: 0, False: 2]
  ------------------
 2150|      0|        return (PyVarObject *)PyErr_NoMemory();
 2151|      0|    }
 2152|      2|    op = (PyVarObject *) (mem + presize);
 2153|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2154|      2|    return op;
 2155|      2|}
PyObject_GC_Del:
 2159|  5.09k|{
 2160|  5.09k|    size_t presize = _PyType_PreHeaderSize(Py_TYPE(op));
  ------------------
  |  |  213|  5.09k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2161|  5.09k|    PyGC_Head *g = AS_GC(op);
  ------------------
  |  |   53|  5.09k|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
 2162|  5.09k|    if (_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|  5.09k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  5.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 0, False: 5.09k]
  |  |  ------------------
  ------------------
 2163|      0|        gc_list_remove(g);
 2164|      0|        GCState *gcstate = get_gc_state();
 2165|      0|        gcstate->heap_size--;
 2166|       |#ifdef Py_DEBUG
 2167|       |        PyObject *exc = PyErr_GetRaisedException();
 2168|       |        if (PyErr_WarnExplicitFormat(PyExc_ResourceWarning, "gc", 0,
 2169|       |                                     "gc", NULL,
 2170|       |                                     "Object of type %s is not untracked "
 2171|       |                                     "before destruction",
 2172|       |                                     Py_TYPE(op)->tp_name))
 2173|       |        {
 2174|       |            PyErr_FormatUnraisable("Exception ignored on object deallocation");
 2175|       |        }
 2176|       |        PyErr_SetRaisedException(exc);
 2177|       |#endif
 2178|      0|    }
 2179|  5.09k|    GCState *gcstate = get_gc_state();
 2180|  5.09k|    if (gcstate->generations[0].count > 0) {
  ------------------
  |  Branch (2180:9): [True: 5.01k, False: 85]
  ------------------
 2181|  5.01k|        gcstate->generations[0].count--;
 2182|  5.01k|    }
 2183|  5.09k|    PyObject_Free(((char *)op)-presize);
 2184|  5.09k|}
PyObject_GC_IsTracked:
 2188|    288|{
 2189|    288|    if (_PyObject_IS_GC(obj) && _PyObject_GC_IS_TRACKED(obj)) {
  ------------------
  |  |   81|    144|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 0, False: 144]
  |  |  ------------------
  ------------------
  |  Branch (2189:9): [True: 144, False: 144]
  ------------------
 2190|      0|        return 1;
 2191|      0|    }
 2192|    288|    return 0;
 2193|    288|}
gc.c:visit_decref:
  442|  66.9k|{
  443|  66.9k|    OBJECT_STAT_INC(object_visits);
  ------------------
  |  |   77|  66.9k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  444|  66.9k|    _PyObject_ASSERT(_PyObject_CAST(parent), !_PyObject_IsFreed(op));
  ------------------
  |  |  360|  66.9k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|  66.9k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|  66.9k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 66.9k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  66.9k|      ? (void)(0) \
  |  |  |  |  |  |  353|  66.9k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  445|       |
  446|  66.9k|    if (_PyObject_IS_GC(op)) {
  ------------------
  |  Branch (446:9): [True: 22.7k, False: 44.2k]
  ------------------
  447|  22.7k|        PyGC_Head *gc = AS_GC(op);
  ------------------
  |  |   53|  22.7k|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
  448|       |        /* We're only interested in gc_refs for objects in the
  449|       |         * generation being collected, which can be recognized
  450|       |         * because only they have positive gc_refs.
  451|       |         */
  452|  22.7k|        if (gc_is_collecting(gc)) {
  ------------------
  |  Branch (452:13): [True: 19.4k, False: 3.33k]
  ------------------
  453|  19.4k|            gc_decref(gc);
  454|  19.4k|        }
  455|  22.7k|    }
  456|  66.9k|    return 0;
  457|  66.9k|}
gc.c:gc_is_collecting:
   61|  45.1k|{
   62|  45.1k|    return (g->_gc_prev & PREV_MASK_COLLECTING) != 0;
  ------------------
  |  |   40|  45.1k|#define PREV_MASK_COLLECTING   _PyGC_PREV_MASK_COLLECTING
  |  |  ------------------
  |  |  |  |  135|  45.1k|#define _PyGC_PREV_MASK_COLLECTING ((uintptr_t)2)
  |  |  ------------------
  ------------------
   63|  45.1k|}
gc.c:gc_decref:
   94|  19.4k|{
   95|  19.4k|    _PyObject_ASSERT_WITH_MSG(FROM_GC(g),
  ------------------
  |  |  358|  19.4k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  351|  19.4k|    ((expr) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (351:6): [True: 19.4k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  352|  19.4k|      ? (void)(0) \
  |  |  |  |  353|  19.4k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  ------------------
  ------------------
   96|  19.4k|                              gc_get_refs(g) > 0,
   97|  19.4k|                              "refcount is too small");
   98|  19.4k|    g->_gc_prev -= 1 << _PyGC_PREV_SHIFT;
  ------------------
  |  |  137|  19.4k|#define _PyGC_PREV_SHIFT           2
  ------------------
   99|  19.4k|}
gc.c:gc_get_refs:
   73|  99.3k|{
   74|  99.3k|    return (Py_ssize_t)(g->_gc_prev >> _PyGC_PREV_SHIFT);
  ------------------
  |  |  137|  99.3k|#define _PyGC_PREV_SHIFT           2
  ------------------
   75|  99.3k|}
gc.c:gc_list_merge:
  278|     32|{
  279|     32|    assert(from != to);
  ------------------
  |  Branch (279:5): [True: 32, False: 0]
  ------------------
  280|     32|    if (!gc_list_is_empty(from)) {
  ------------------
  |  Branch (280:9): [True: 14, False: 18]
  ------------------
  281|     14|        PyGC_Head *to_tail = GC_PREV(to);
  ------------------
  |  |   30|     14|#define GC_PREV _PyGCHead_PREV
  ------------------
  282|     14|        PyGC_Head *from_head = GC_NEXT(from);
  ------------------
  |  |   29|     14|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  283|     14|        PyGC_Head *from_tail = GC_PREV(from);
  ------------------
  |  |   30|     14|#define GC_PREV _PyGCHead_PREV
  ------------------
  284|     14|        assert(from_head != from);
  ------------------
  |  Branch (284:9): [True: 14, False: 0]
  ------------------
  285|     14|        assert(from_tail != from);
  ------------------
  |  Branch (285:9): [True: 14, False: 0]
  ------------------
  286|       |
  287|     14|        _PyGCHead_SET_NEXT(to_tail, from_head);
  288|     14|        _PyGCHead_SET_PREV(from_head, to_tail);
  289|       |
  290|     14|        _PyGCHead_SET_NEXT(from_tail, to);
  291|     14|        _PyGCHead_SET_PREV(to, from_tail);
  292|     14|    }
  293|     32|    gc_list_init(from);
  294|     32|}
gc.c:gc_list_is_empty:
  221|    289|{
  222|    289|    return (list->_gc_next == (uintptr_t)list);
  223|    289|}
gc.c:gc_list_init:
  212|     72|{
  213|       |    // List header must not have flags.
  214|       |    // We can assign pointer by simple cast.
  215|     72|    list->_gc_prev = (uintptr_t)list;
  216|     72|    list->_gc_next = (uintptr_t)list;
  217|     72|}
gc.c:gc_list_size:
  298|     16|{
  299|     16|    PyGC_Head *gc;
  300|     16|    Py_ssize_t n = 0;
  301|    163|    for (gc = GC_NEXT(list); gc != list; gc = GC_NEXT(gc)) {
  ------------------
  |  |   29|     16|#define GC_NEXT _PyGCHead_NEXT
  ------------------
                  for (gc = GC_NEXT(list); gc != list; gc = GC_NEXT(gc)) {
  ------------------
  |  |   29|    147|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (301:30): [True: 147, False: 16]
  ------------------
  302|    147|        n++;
  303|    147|    }
  304|     16|    return n;
  305|     16|}
gc.c:get_gc_state:
  107|  5.10k|{
  108|  5.10k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  109|  5.10k|    return &interp->gc;
  110|  5.10k|}
gc.c:gc_collect_main:
 1476|      8|{
 1477|      8|    int i;
 1478|      8|    PyGC_Head *young; /* the generation we are examining */
 1479|      8|    PyGC_Head *old; /* next older generation */
 1480|      8|    PyGC_Head unreachable; /* non-problematic unreachable trash */
 1481|      8|    PyGC_Head finalizers;  /* objects with, & reachable from, __del__ */
 1482|      8|    GCState *gcstate = &tstate->interp->gc;
 1483|       |
 1484|       |    // gc_collect_main() must not be called before _PyGC_Init
 1485|       |    // or after _PyGC_Fini()
 1486|      8|    assert(gcstate->garbage != NULL);
  ------------------
  |  Branch (1486:5): [True: 8, False: 0]
  ------------------
 1487|      8|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1487:5): [True: 8, False: 0]
  ------------------
 1488|       |
 1489|      8|    int expected = 0;
 1490|      8|    if (!_Py_atomic_compare_exchange_int(&gcstate->collecting, &expected, 1)) {
  ------------------
  |  Branch (1490:9): [True: 0, False: 8]
  ------------------
 1491|       |        // Don't start a garbage collection if one is already in progress.
 1492|      0|        return 0;
 1493|      0|    }
 1494|      8|    gcstate->frame = tstate->current_frame;
 1495|       |
 1496|      8|    if (generation == GENERATION_AUTO) {
  ------------------
  |  |   57|      8|#define GENERATION_AUTO (-1)
  ------------------
  |  Branch (1496:9): [True: 8, False: 0]
  ------------------
 1497|       |        // Select the oldest generation that needs collecting. We will collect
 1498|       |        // objects from that generation and all generations younger than it.
 1499|      8|        generation = gc_select_generation(gcstate);
 1500|      8|        if (generation < 0) {
  ------------------
  |  Branch (1500:13): [True: 0, False: 8]
  ------------------
 1501|       |            // No generation needs to be collected.
 1502|      0|            _Py_atomic_store_int(&gcstate->collecting, 0);
 1503|      0|            return 0;
 1504|      0|        }
 1505|      8|    }
 1506|       |
 1507|      8|    assert(generation >= 0 && generation < NUM_GENERATIONS);
  ------------------
  |  Branch (1507:5): [True: 8, False: 0]
  |  Branch (1507:5): [True: 8, False: 0]
  ------------------
 1508|       |
 1509|       |#ifdef Py_STATS
 1510|       |    {
 1511|       |        PyStats *s = _PyStats_GET();
 1512|       |        if (s) {
 1513|       |            s->object_stats.object_visits = 0;
 1514|       |        }
 1515|       |    }
 1516|       |#endif
 1517|       |
 1518|      8|    GC_STAT_ADD(generation, collections, 1);
  ------------------
  |  |   81|      8|#define GC_STAT_ADD(gen, name, n) ((void)0)
  ------------------
 1519|       |
 1520|      8|    struct gc_generation_stats stats = { 0 };
 1521|      8|    if (reason != _Py_GC_REASON_SHUTDOWN) {
  ------------------
  |  Branch (1521:9): [True: 8, False: 0]
  ------------------
 1522|      8|        invoke_gc_callback(tstate, "start", generation, &stats);
 1523|      8|    }
 1524|       |
 1525|      8|    stats.heap_size = gcstate->heap_size;
 1526|       |    // ignore error: don't interrupt the GC if reading the clock fails
 1527|      8|    (void)PyTime_PerfCounterRaw(&stats.ts_start);
 1528|      8|    if (gcstate->debug & _PyGC_DEBUG_STATS) {
  ------------------
  |  |  141|      8|#define _PyGC_DEBUG_STATS             (1<<0) /* print collection statistics */
  ------------------
  |  Branch (1528:9): [True: 0, False: 8]
  ------------------
 1529|      0|        PySys_WriteStderr("gc: collecting generation %d...\n", generation);
 1530|      0|        show_stats_each_generations(gcstate);
 1531|      0|    }
 1532|       |
 1533|      8|    if (PyDTrace_GC_START_ENABLED()) {
  ------------------
  |  Branch (1533:9): [True: 0, False: 8]
  ------------------
 1534|      0|        PyDTrace_GC_START(generation);
 1535|      0|    }
 1536|       |
 1537|       |    /* update collection and allocation counters */
 1538|      8|    if (generation+1 < NUM_GENERATIONS) {
  ------------------
  |  |  217|      8|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1538:9): [True: 8, False: 0]
  ------------------
 1539|      8|        gcstate->generations[generation+1].count += 1;
 1540|      8|    }
 1541|     16|    for (i = 0; i <= generation; i++) {
  ------------------
  |  Branch (1541:17): [True: 8, False: 8]
  ------------------
 1542|      8|        gcstate->generations[i].count = 0;
 1543|      8|    }
 1544|       |
 1545|       |    /* merge younger generations with one we are currently collecting */
 1546|      8|    for (i = 0; i < generation; i++) {
  ------------------
  |  Branch (1546:17): [True: 0, False: 8]
  ------------------
 1547|      0|        gc_list_merge(GEN_HEAD(gcstate, i), GEN_HEAD(gcstate, generation));
  ------------------
  |  |  102|      0|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
                      gc_list_merge(GEN_HEAD(gcstate, i), GEN_HEAD(gcstate, generation));
  ------------------
  |  |  102|      0|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
 1548|      0|    }
 1549|       |
 1550|       |    /* handy references */
 1551|      8|    young = GEN_HEAD(gcstate, generation);
  ------------------
  |  |  102|      8|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
 1552|      8|    if (generation < NUM_GENERATIONS-1) {
  ------------------
  |  |  217|      8|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1552:9): [True: 8, False: 0]
  ------------------
 1553|      8|        old = GEN_HEAD(gcstate, generation+1);
  ------------------
  |  |  102|      8|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
 1554|      8|    }
 1555|      0|    else {
 1556|      0|        old = young;
 1557|      0|    }
 1558|      8|    validate_list(old, collecting_clear_unreachable_clear);
  ------------------
  |  |  388|      8|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (388:39): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1559|       |
 1560|      8|    Py_ssize_t reachable;
 1561|      8|    stats.candidates = deduce_unreachable(young, &unreachable, &reachable);
 1562|       |
 1563|       |    /* Move reachable objects to next generation. */
 1564|      8|    if (young != old) {
  ------------------
  |  Branch (1564:9): [True: 8, False: 0]
  ------------------
 1565|      8|        if (generation == NUM_GENERATIONS - 2) {
  ------------------
  |  |  217|      8|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1565:13): [True: 0, False: 8]
  ------------------
 1566|      0|            gcstate->long_lived_pending += reachable;
 1567|      0|        }
 1568|      8|        gc_list_merge(young, old);
 1569|      8|    }
 1570|      0|    else {
 1571|       |        // In Python <= 3.13, we called untrack_dicts(young) here to untrack
 1572|       |        // atomic-only dicts (see issue #14775). Python 3.14 removed the lazy
 1573|       |        // dict tracking machinery entirely (GH-127010) -- dicts are always
 1574|       |        // tracked from creation and never untracked by GC. That way, we don't
 1575|       |        // have to restore MAINTAIN_TRACKING across every PyDict_SetItem call
 1576|       |        // site; the cost is slightly more work for full collections on dicts
 1577|       |        // with only atomic values.
 1578|      0|        gcstate->long_lived_pending = 0;
 1579|      0|        gcstate->long_lived_total = reachable;
 1580|      0|    }
 1581|       |
 1582|       |    /* All objects in unreachable are trash, but objects reachable from
 1583|       |     * legacy finalizers (e.g. tp_del) can't safely be deleted.
 1584|       |     */
 1585|      8|    gc_list_init(&finalizers);
 1586|       |    // NEXT_MASK_UNREACHABLE is cleared here.
 1587|       |    // After move_legacy_finalizers(), unreachable is normal list.
 1588|      8|    move_legacy_finalizers(&unreachable, &finalizers);
 1589|       |    /* finalizers contains the unreachable objects with a legacy finalizer;
 1590|       |     * unreachable objects reachable *from* those are also uncollectable,
 1591|       |     * and we move those into the finalizers list too.
 1592|       |     */
 1593|      8|    move_legacy_finalizer_reachable(&finalizers);
 1594|       |
 1595|      8|    validate_list(&finalizers, collecting_clear_unreachable_clear);
  ------------------
  |  |  388|      8|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (388:39): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1596|      8|    validate_list(&unreachable, collecting_set_unreachable_clear);
  ------------------
  |  |  388|      8|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (388:39): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1597|       |
 1598|      8|    bool needs_resurrection_check = false;
 1599|       |
 1600|       |    /* Print debugging information. */
 1601|      8|    if (gcstate->debug & _PyGC_DEBUG_COLLECTABLE) {
  ------------------
  |  |  142|      8|#define _PyGC_DEBUG_COLLECTABLE       (1<<1) /* print collectable objects */
  ------------------
  |  Branch (1601:9): [True: 0, False: 8]
  ------------------
 1602|       |        /* sys.stderr.write() can resurrect objects. */
 1603|      0|        needs_resurrection_check = true;
 1604|      0|        debug_cycles("collectable", &unreachable);
 1605|      0|    }
 1606|       |
 1607|       |    /* Clear weakrefs and invoke callbacks as necessary. */
 1608|      8|    stats.collected += handle_weakref_callbacks(&unreachable, old,
 1609|      8|                                               &needs_resurrection_check);
 1610|      8|    validate_list(old, collecting_clear_unreachable_clear);
  ------------------
  |  |  388|      8|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (388:39): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1611|      8|    validate_list(&unreachable, collecting_set_unreachable_clear);
  ------------------
  |  |  388|      8|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (388:39): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1612|       |
 1613|       |    /* Call tp_finalize on objects which have one. */
 1614|      8|    finalize_garbage(tstate, &unreachable, &needs_resurrection_check);
 1615|       |
 1616|       |    /* Handle any objects that may have resurrected after the call
 1617|       |     * to 'finalize_garbage' and continue the collection with the
 1618|       |     * objects that are still unreachable */
 1619|      8|    PyGC_Head final_unreachable;
 1620|      8|    if (needs_resurrection_check) {
  ------------------
  |  Branch (1620:9): [True: 0, False: 8]
  ------------------
 1621|      0|        handle_resurrected_objects(&unreachable, &final_unreachable, old);
 1622|      0|    }
 1623|      8|    else {
 1624|       |        /* No Python code ran during finalization, so the original
 1625|       |         * unreachable set is still valid. */
 1626|      8|        gc_list_init(&final_unreachable);
 1627|      8|        gc_list_merge(&unreachable, &final_unreachable);
 1628|      8|    }
 1629|       |
 1630|       |    /* Clear weakrefs to objects in the unreachable set.  No Python-level
 1631|       |     * code must be allowed to access those unreachable objects.  During
 1632|       |     * delete_garbage(), finalizers outside the unreachable set might run
 1633|       |     * and create new weakrefs.  If those weakrefs were not cleared, they
 1634|       |     * could reveal unreachable objects.  Callbacks are not executed.
 1635|       |     */
 1636|      8|    clear_weakrefs(&final_unreachable);
 1637|       |
 1638|       |    /* Call tp_clear on objects in the final_unreachable set.  This will cause
 1639|       |    * the reference cycles to be broken.  It may also cause some objects
 1640|       |    * in finalizers to be freed.
 1641|       |    */
 1642|      8|    stats.collected += gc_list_size(&final_unreachable);
 1643|      8|    delete_garbage(tstate, gcstate, &final_unreachable, old);
 1644|       |
 1645|       |    /* Collect statistics on uncollectable objects found and print
 1646|       |     * debugging information. */
 1647|      8|    if (gcstate->debug & _PyGC_DEBUG_UNCOLLECTABLE) {
  ------------------
  |  |  143|      8|#define _PyGC_DEBUG_UNCOLLECTABLE     (1<<2) /* print uncollectable objects */
  ------------------
  |  Branch (1647:9): [True: 0, False: 8]
  ------------------
 1648|      0|        stats.uncollectable = debug_cycles("uncollectable", &finalizers);
 1649|      0|    }
 1650|      8|    else {
 1651|      8|        stats.uncollectable = gc_list_size(&finalizers);
 1652|      8|    }
 1653|      8|    (void)PyTime_PerfCounterRaw(&stats.ts_stop);
 1654|      8|    stats.duration = PyTime_AsSecondsDouble(stats.ts_stop - stats.ts_start);
 1655|      8|    if (gcstate->debug & _PyGC_DEBUG_STATS) {
  ------------------
  |  |  141|      8|#define _PyGC_DEBUG_STATS             (1<<0) /* print collection statistics */
  ------------------
  |  Branch (1655:9): [True: 0, False: 8]
  ------------------
 1656|      0|        PySys_WriteStderr(
 1657|      0|            "gc: done, %zd unreachable, %zd uncollectable, %.4fs elapsed\n",
 1658|      0|            stats.uncollectable+stats.collected, stats.uncollectable,
 1659|      0|            stats.duration);
 1660|      0|    }
 1661|       |
 1662|       |    /* Append instances in the uncollectable set to a Python
 1663|       |     * reachable list of garbage.  The programmer has to deal with
 1664|       |     * this if they insist on creating this type of structure.
 1665|       |     */
 1666|      8|    handle_legacy_finalizers(tstate, gcstate, &finalizers, old);
 1667|      8|    validate_list(old, collecting_clear_unreachable_clear);
  ------------------
  |  |  388|      8|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (388:39): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1668|       |
 1669|       |    /* Clear free list only during the collection of the highest
 1670|       |     * generation */
 1671|      8|    if (generation == NUM_GENERATIONS-1) {
  ------------------
  |  |  217|      8|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1671:9): [True: 0, False: 8]
  ------------------
 1672|      0|        _PyGC_ClearAllFreeLists(tstate->interp);
 1673|      0|    }
 1674|       |
 1675|      8|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1675:9): [True: 0, False: 8]
  ------------------
 1676|      0|        if (reason == _Py_GC_REASON_SHUTDOWN) {
  ------------------
  |  Branch (1676:13): [True: 0, False: 0]
  ------------------
 1677|      0|            _PyErr_Clear(tstate);
 1678|      0|        }
 1679|      0|        else {
 1680|      0|            PyErr_FormatUnraisable("Exception ignored in garbage collection");
 1681|      0|        }
 1682|      0|    }
 1683|       |
 1684|       |    /* Update stats */
 1685|      8|    add_stats(gcstate, generation, &stats);
 1686|      8|    GC_STAT_ADD(generation, objects_collected, stats.collected);
  ------------------
  |  |   81|      8|#define GC_STAT_ADD(gen, name, n) ((void)0)
  ------------------
 1687|       |
 1688|       |#ifdef Py_STATS
 1689|       |    {
 1690|       |        PyStats *s = _PyStats_GET();
 1691|       |        if (s) {
 1692|       |            GC_STAT_ADD(generation, object_visits,
 1693|       |                s->object_stats.object_visits);
 1694|       |            s->object_stats.object_visits = 0;
 1695|       |        }
 1696|       |    }
 1697|       |#endif
 1698|       |
 1699|      8|    if (PyDTrace_GC_DONE_ENABLED()) {
  ------------------
  |  Branch (1699:9): [True: 0, False: 8]
  ------------------
 1700|      0|        PyDTrace_GC_DONE(stats.uncollectable + stats.collected);
 1701|      0|    }
 1702|       |
 1703|      8|    if (reason != _Py_GC_REASON_SHUTDOWN) {
  ------------------
  |  Branch (1703:9): [True: 8, False: 0]
  ------------------
 1704|      8|        invoke_gc_callback(tstate, "stop", generation, &stats);
 1705|      8|    }
 1706|       |
 1707|      8|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1707:5): [True: 8, False: 0]
  ------------------
 1708|      8|    gcstate->frame = NULL;
 1709|      8|    _Py_atomic_store_int(&gcstate->collecting, 0);
 1710|      8|    return stats.uncollectable + stats.collected;
 1711|      8|}
gc.c:gc_select_generation:
 1363|      8|{
 1364|     24|    for (int i = NUM_GENERATIONS-1; i >= 0; i--) {
  ------------------
  |  |  217|      8|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1364:37): [True: 24, False: 0]
  ------------------
 1365|     24|        if (gcstate->generations[i].count > gcstate->generations[i].threshold) {
  ------------------
  |  Branch (1365:13): [True: 8, False: 16]
  ------------------
 1366|       |            /* Avoid quadratic performance degradation in number
 1367|       |               of tracked objects (see also issue #4074):
 1368|       |
 1369|       |               To limit the cost of garbage collection, there are two strategies;
 1370|       |                 - make each collection faster, e.g. by scanning fewer objects
 1371|       |                 - do less collections
 1372|       |               This heuristic is about the latter strategy.
 1373|       |
 1374|       |               In addition to the various configurable thresholds, we only trigger a
 1375|       |               full collection if the ratio
 1376|       |
 1377|       |                long_lived_pending / long_lived_total
 1378|       |
 1379|       |               is above a given value (hardwired to 25%).
 1380|       |
 1381|       |               The reason is that, while "non-full" collections (i.e., collections of
 1382|       |               the young and middle generations) will always examine roughly the same
 1383|       |               number of objects -- determined by the aforementioned thresholds --,
 1384|       |               the cost of a full collection is proportional to the total number of
 1385|       |               long-lived objects, which is virtually unbounded.
 1386|       |
 1387|       |               Indeed, it has been remarked that doing a full collection every
 1388|       |               <constant number> of object creations entails a dramatic performance
 1389|       |               degradation in workloads which consist in creating and storing lots of
 1390|       |               long-lived objects (e.g. building a large list of GC-tracked objects would
 1391|       |               show quadratic performance, instead of linear as expected: see issue #4074).
 1392|       |
 1393|       |               Using the above ratio, instead, yields amortized linear performance in
 1394|       |               the total number of objects (the effect of which can be summarized
 1395|       |               thusly: "each full garbage collection is more and more costly as the
 1396|       |               number of objects grows, but we do fewer and fewer of them").
 1397|       |
 1398|       |               This heuristic was suggested by Martin von Löwis on python-dev in
 1399|       |               June 2008. His original analysis and proposal can be found at:
 1400|       |               http://mail.python.org/pipermail/python-dev/2008-June/080579.html
 1401|       |            */
 1402|      8|            if (i == NUM_GENERATIONS - 1
  ------------------
  |  |  217|      8|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1402:17): [True: 0, False: 8]
  ------------------
 1403|      0|                && gcstate->long_lived_pending < gcstate->long_lived_total / 4)
  ------------------
  |  Branch (1403:20): [True: 0, False: 0]
  ------------------
 1404|      0|            {
 1405|      0|                continue;
 1406|      0|            }
 1407|      8|            return i;
 1408|      8|        }
 1409|     24|    }
 1410|      0|    return -1;
 1411|      8|}
gc.c:invoke_gc_callback:
 1306|     16|{
 1307|     16|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1307:5): [True: 16, False: 0]
  ------------------
 1308|       |
 1309|       |    /* we may get called very early */
 1310|     16|    GCState *gcstate = &tstate->interp->gc;
 1311|     16|    if (gcstate->callbacks == NULL) {
  ------------------
  |  Branch (1311:9): [True: 0, False: 16]
  ------------------
 1312|      0|        return;
 1313|      0|    }
 1314|       |
 1315|       |    /* The local variable cannot be rebound, check it for sanity */
 1316|     16|    assert(PyList_CheckExact(gcstate->callbacks));
  ------------------
  |  Branch (1316:5): [True: 16, False: 0]
  ------------------
 1317|     16|    PyObject *info = NULL;
 1318|     16|    if (PyList_GET_SIZE(gcstate->callbacks) != 0) {
  ------------------
  |  |   38|     16|#define PyList_GET_SIZE(op) PyList_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 (1318:9): [True: 0, False: 16]
  ------------------
 1319|      0|        info = Py_BuildValue("{sisnsnsnsd}",
 1320|      0|            "generation", generation,
 1321|      0|            "collected", stats->collected,
 1322|      0|            "uncollectable", stats->uncollectable,
 1323|      0|            "candidates", stats->candidates,
 1324|      0|            "duration", stats->duration);
 1325|      0|        if (info == NULL) {
  ------------------
  |  Branch (1325:13): [True: 0, False: 0]
  ------------------
 1326|      0|            PyErr_FormatUnraisable("Exception ignored on invoking gc callbacks");
 1327|      0|            return;
 1328|      0|        }
 1329|      0|    }
 1330|       |
 1331|     16|    PyObject *phase_obj = PyUnicode_FromString(phase);
 1332|     16|    if (phase_obj == NULL) {
  ------------------
  |  Branch (1332:9): [True: 0, False: 16]
  ------------------
 1333|      0|        Py_XDECREF(info);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1334|      0|        PyErr_FormatUnraisable("Exception ignored on invoking gc callbacks");
 1335|      0|        return;
 1336|      0|    }
 1337|       |
 1338|     16|    PyObject *stack[] = {phase_obj, info};
 1339|     16|    for (Py_ssize_t i=0; i<PyList_GET_SIZE(gcstate->callbacks); i++) {
  ------------------
  |  |   38|     16|#define PyList_GET_SIZE(op) PyList_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 (1339:26): [True: 0, False: 16]
  ------------------
 1340|      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 (1340:28): [True: 0, False: 0]
  ------------------
 1341|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1342|      0|        r = PyObject_Vectorcall(cb, stack, 2, NULL);
 1343|      0|        if (r == NULL) {
  ------------------
  |  Branch (1343:13): [True: 0, False: 0]
  ------------------
 1344|      0|            PyErr_FormatUnraisable("Exception ignored while "
 1345|      0|                                   "calling GC callback %R", cb);
 1346|      0|        }
 1347|      0|        else {
 1348|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1349|      0|        }
 1350|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1351|      0|    }
 1352|     16|    Py_DECREF(phase_obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1353|     16|    Py_XDECREF(info);
  ------------------
  |  |  621|     16|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1354|       |    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1354:5): [True: 16, False: 0]
  ------------------
 1355|     16|}
gc.c:deduce_unreachable:
 1213|      8|                   Py_ssize_t *reachable) {
 1214|      8|    validate_list(base, collecting_clear_unreachable_clear);
  ------------------
  |  |  388|      8|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (388:39): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1215|       |    /* Using ob_refcnt and gc_refs, calculate which objects in the
 1216|       |     * container set are reachable from outside the set (i.e., have a
 1217|       |     * refcount greater than 0 when all the references within the
 1218|       |     * set are taken into account).
 1219|       |     */
 1220|      8|    Py_ssize_t candidates = update_refs(base);  // gc_prev is used for gc_refs
 1221|      8|    subtract_refs(base);
 1222|       |
 1223|       |    /* Leave everything reachable from outside base in base, and move
 1224|       |     * everything else (in base) to unreachable.
 1225|       |     *
 1226|       |     * NOTE:  This used to move the reachable objects into a reachable
 1227|       |     * set instead.  But most things usually turn out to be reachable,
 1228|       |     * so it's more efficient to move the unreachable things.  It "sounds slick"
 1229|       |     * to move the unreachable objects, until you think about it - the reason it
 1230|       |     * pays isn't actually obvious.
 1231|       |     *
 1232|       |     * Suppose we create objects A, B, C in that order.  They appear in the young
 1233|       |     * generation in the same order.  If B points to A, and C to B, and C is
 1234|       |     * reachable from outside, then the adjusted refcounts will be 0, 0, and 1
 1235|       |     * respectively.
 1236|       |     *
 1237|       |     * When move_unreachable finds A, A is moved to the unreachable list.  The
 1238|       |     * same for B when it's first encountered.  Then C is traversed, B is moved
 1239|       |     * _back_ to the reachable list.  B is eventually traversed, and then A is
 1240|       |     * moved back to the reachable list.
 1241|       |     *
 1242|       |     * So instead of not moving at all, the reachable objects B and A are moved
 1243|       |     * twice each.  Why is this a win?  A straightforward algorithm to move the
 1244|       |     * reachable objects instead would move A, B, and C once each.
 1245|       |     *
 1246|       |     * The key is that this dance leaves the objects in order C, B, A - it's
 1247|       |     * reversed from the original order.  On all _subsequent_ scans, none of
 1248|       |     * them will move.  Since most objects aren't in cycles, this can save an
 1249|       |     * unbounded number of moves across an unbounded number of later collections.
 1250|       |     * It can cost more only the first time the chain is scanned.
 1251|       |     *
 1252|       |     * Drawback:  move_unreachable is also used to find out what's still trash
 1253|       |     * after finalizers may resurrect objects.  In _that_ case most unreachable
 1254|       |     * objects will remain unreachable, so it would be more efficient to move
 1255|       |     * the reachable objects instead.  But this is a one-time cost, probably not
 1256|       |     * worth complicating the code to speed just a little.
 1257|       |     */
 1258|      8|    gc_list_init(unreachable);
 1259|       |    // gc_prev is pointer again
 1260|      8|    *reachable = move_unreachable(base, unreachable);
 1261|      8|    validate_list(base, collecting_clear_unreachable_clear);
  ------------------
  |  |  388|      8|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (388:39): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1262|      8|    validate_list(unreachable, collecting_set_unreachable_set);
  ------------------
  |  |  388|      8|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (388:39): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1263|      8|    return candidates;
 1264|      8|}
gc.c:update_refs:
  399|      8|{
  400|      8|    PyGC_Head *next;
  401|      8|    PyGC_Head *gc = GC_NEXT(containers);
  ------------------
  |  |   29|      8|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  402|      8|    Py_ssize_t candidates = 0;
  403|       |
  404|  17.5k|    while (gc != containers) {
  ------------------
  |  Branch (404:12): [True: 17.5k, False: 8]
  ------------------
  405|  17.5k|        next = GC_NEXT(gc);
  ------------------
  |  |   29|  17.5k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  406|  17.5k|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   54|  17.5k|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  407|  17.5k|        if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  17.5k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 17.5k]
  |  |  ------------------
  ------------------
  408|      0|            assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (408:13): [True: 0, False: 0]
  ------------------
  409|      0|            _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  504|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  410|      0|            gc = next;
  411|      0|            continue;
  412|      0|        }
  413|  17.5k|        gc_reset_refs(gc, Py_REFCNT(op));
  ------------------
  |  |  119|  17.5k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|       |        /* Python's cyclic gc should never see an incoming refcount
  415|       |         * of 0:  if something decref'ed to 0, it should have been
  416|       |         * deallocated immediately at that time.
  417|       |         * Possible cause (if the assert triggers):  a tp_dealloc
  418|       |         * routine left a gc-aware object tracked during its teardown
  419|       |         * phase, and did something-- or allowed something to happen --
  420|       |         * that called back into Python.  gc can trigger then, and may
  421|       |         * see the still-tracked dying object.  Before this assert
  422|       |         * was added, such mistakes went on to allow gc to try to
  423|       |         * delete the object again.  In a debug build, that caused
  424|       |         * a mysterious segfault, when _Py_ForgetReference tried
  425|       |         * to remove the object from the doubly-linked list of all
  426|       |         * objects a second time.  In a release build, an actual
  427|       |         * double deallocation occurred, which leads to corruption
  428|       |         * of the allocator's internal bookkeeping pointers.  That's
  429|       |         * so serious that maybe this should be a release-build
  430|       |         * check instead of an assert?
  431|       |         */
  432|  17.5k|        _PyObject_ASSERT(op, gc_get_refs(gc) != 0);
  ------------------
  |  |  360|  17.5k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|  17.5k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|  17.5k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 17.5k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  17.5k|      ? (void)(0) \
  |  |  |  |  |  |  353|  17.5k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  433|  17.5k|        gc = next;
  434|  17.5k|        candidates++;
  435|  17.5k|    }
  436|      8|    return candidates;
  437|      8|}
gc.c:gc_reset_refs:
   86|  17.5k|{
   87|  17.5k|    g->_gc_prev = (g->_gc_prev & _PyGC_PREV_MASK_FINALIZED)
  ------------------
  |  |  133|  17.5k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
   88|  17.5k|        | PREV_MASK_COLLECTING
  ------------------
  |  |   40|  17.5k|#define PREV_MASK_COLLECTING   _PyGC_PREV_MASK_COLLECTING
  |  |  ------------------
  |  |  |  |  135|  17.5k|#define _PyGC_PREV_MASK_COLLECTING ((uintptr_t)2)
  |  |  ------------------
  ------------------
   89|  17.5k|        | ((uintptr_t)(refs) << _PyGC_PREV_SHIFT);
  ------------------
  |  |  137|  17.5k|#define _PyGC_PREV_SHIFT           2
  ------------------
   90|  17.5k|}
gc.c:subtract_refs:
  492|      8|{
  493|      8|    traverseproc traverse;
  494|      8|    PyGC_Head *gc = GC_NEXT(containers);
  ------------------
  |  |   29|      8|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  495|  17.5k|    for (; gc != containers; gc = GC_NEXT(gc)) {
  ------------------
  |  |   29|  17.5k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (495:12): [True: 17.5k, False: 8]
  ------------------
  496|  17.5k|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   54|  17.5k|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  497|  17.5k|        traverse = Py_TYPE(op)->tp_traverse;
  ------------------
  |  |  213|  17.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  498|  17.5k|        (void) traverse(op,
  499|  17.5k|                        visit_decref,
  500|  17.5k|                        op);
  501|  17.5k|    }
  502|      8|}
gc.c:move_unreachable:
  581|      8|{
  582|      8|    Py_ssize_t reachable = 0;
  583|       |    // previous elem in the young list, used for restore gc_prev.
  584|      8|    PyGC_Head *prev = young;
  585|      8|    PyGC_Head *gc = GC_NEXT(young);
  ------------------
  |  |   29|      8|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  586|       |
  587|       |    /* Invariants:  all objects "to the left" of us in young are reachable
  588|       |     * (directly or indirectly) from outside the young list as it was at entry.
  589|       |     *
  590|       |     * All other objects from the original young "to the left" of us are in
  591|       |     * unreachable now, and have NEXT_MASK_UNREACHABLE.  All objects to the
  592|       |     * left of us in 'young' now have been scanned, and no objects here
  593|       |     * or to the right have been scanned yet.
  594|       |     */
  595|       |
  596|  22.6k|    while (gc != young) {
  ------------------
  |  Branch (596:12): [True: 22.6k, False: 8]
  ------------------
  597|  22.6k|        if (gc_get_refs(gc)) {
  ------------------
  |  Branch (597:13): [True: 17.3k, False: 5.25k]
  ------------------
  598|       |            /* gc is definitely reachable from outside the
  599|       |             * original 'young'.  Mark it as such, and traverse
  600|       |             * its pointers to find any other objects that may
  601|       |             * be directly reachable from it.  Note that the
  602|       |             * call to tp_traverse may append objects to young,
  603|       |             * so we have to wait until it returns to determine
  604|       |             * the next object to visit.
  605|       |             */
  606|  17.3k|            PyObject *op = FROM_GC(gc);
  ------------------
  |  |   54|  17.3k|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  607|  17.3k|            traverseproc traverse = Py_TYPE(op)->tp_traverse;
  ------------------
  |  |  213|  17.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  17.3k|            _PyObject_ASSERT_WITH_MSG(op, gc_get_refs(gc) > 0,
  ------------------
  |  |  358|  17.3k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  351|  17.3k|    ((expr) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (351:6): [True: 17.3k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  352|  17.3k|      ? (void)(0) \
  |  |  |  |  353|  17.3k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  ------------------
  ------------------
  609|  17.3k|                                      "refcount is too small");
  610|       |            // NOTE: visit_reachable may change gc->_gc_next when
  611|       |            // young->_gc_prev == gc.  Don't do gc = GC_NEXT(gc) before!
  612|  17.3k|            (void) traverse(op,
  613|  17.3k|                    visit_reachable,
  614|  17.3k|                    (void *)young);
  615|       |            // relink gc_prev to prev element.
  616|  17.3k|            _PyGCHead_SET_PREV(gc, prev);
  617|       |            // gc is not COLLECTING state after here.
  618|  17.3k|            gc_clear_collecting(gc);
  619|  17.3k|            if (PyTuple_CheckExact(op)) {
  ------------------
  |  |   28|  17.3k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  17.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  17.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  17.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 5.55k, False: 11.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  620|       |                // Untracking gc overwrites the gc_refs of the next object.
  621|  5.55k|                PyGC_Head *next = GC_NEXT(gc);
  ------------------
  |  |   29|  5.55k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  622|  5.55k|                uintptr_t next_refs = next->_gc_prev;
  623|  5.55k|                _PyTuple_MaybeUntrack(op);
  624|  5.55k|                next->_gc_prev = next_refs;
  625|  5.55k|                if (gc->_gc_next != 0) {
  ------------------
  |  Branch (625:21): [True: 1.18k, False: 4.36k]
  ------------------
  626|  1.18k|                    prev = gc;
  627|  1.18k|                    reachable++;
  628|  1.18k|                }
  629|  5.55k|            }
  630|  11.8k|            else {
  631|  11.8k|                prev = gc;
  632|  11.8k|                reachable++;
  633|  11.8k|            }
  634|  17.3k|        }
  635|  5.25k|        else {
  636|       |            /* This *may* be unreachable.  To make progress,
  637|       |             * assume it is.  gc isn't directly reachable from
  638|       |             * any object we've already traversed, but may be
  639|       |             * reachable from an object we haven't gotten to yet.
  640|       |             * visit_reachable will eventually move gc back into
  641|       |             * young if that's so, and we'll see it again.
  642|       |             */
  643|       |            // Move gc to unreachable.
  644|       |            // No need to gc->next->prev = prev because it is single linked.
  645|  5.25k|            prev->_gc_next = gc->_gc_next;
  646|       |
  647|       |            // We can't use gc_list_append() here because we use
  648|       |            // NEXT_MASK_UNREACHABLE here.
  649|  5.25k|            PyGC_Head *last = GC_PREV(unreachable);
  ------------------
  |  |   30|  5.25k|#define GC_PREV _PyGCHead_PREV
  ------------------
  650|       |            // NOTE: Since all objects in unreachable set has
  651|       |            // NEXT_MASK_UNREACHABLE flag, we set it unconditionally.
  652|       |            // But this may pollute the unreachable list head's 'next' pointer
  653|       |            // too. That's semantically senseless but expedient here - the
  654|       |            // damage is repaired when this function ends.
  655|  5.25k|            last->_gc_next = (NEXT_MASK_UNREACHABLE | (uintptr_t)gc);
  ------------------
  |  |   51|  5.25k|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  656|  5.25k|            _PyGCHead_SET_PREV(gc, last);
  657|  5.25k|            gc->_gc_next = (NEXT_MASK_UNREACHABLE | (uintptr_t)unreachable);
  ------------------
  |  |   51|  5.25k|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  658|  5.25k|            unreachable->_gc_prev = (uintptr_t)gc;
  659|  5.25k|        }
  660|  22.6k|        gc = (PyGC_Head*)prev->_gc_next;
  661|  22.6k|    }
  662|       |    // young->_gc_prev must be last element remained in the list.
  663|      8|    young->_gc_prev = (uintptr_t)prev;
  664|       |    // don't let the pollution of the list head's next pointer leak
  665|      8|    unreachable->_gc_next &= ~NEXT_MASK_UNREACHABLE;
  ------------------
  |  |   51|      8|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  666|      8|    return reachable;
  667|      8|}
gc.c:visit_reachable:
  507|  66.1k|{
  508|  66.1k|    PyGC_Head *reachable = arg;
  509|  66.1k|    OBJECT_STAT_INC(object_visits);
  ------------------
  |  |   77|  66.1k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  510|  66.1k|    if (!_PyObject_IS_GC(op)) {
  ------------------
  |  Branch (510:9): [True: 43.6k, False: 22.4k]
  ------------------
  511|  43.6k|        return 0;
  512|  43.6k|    }
  513|       |
  514|  22.4k|    PyGC_Head *gc = AS_GC(op);
  ------------------
  |  |   53|  22.4k|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
  515|  22.4k|    const Py_ssize_t gc_refs = gc_get_refs(gc);
  516|       |
  517|       |    // Ignore objects in other generation.
  518|       |    // This also skips objects "to the left" of the current position in
  519|       |    // move_unreachable's scan of the 'young' list - they've already been
  520|       |    // traversed, and no longer have the PREV_MASK_COLLECTING flag.
  521|  22.4k|    if (! gc_is_collecting(gc)) {
  ------------------
  |  Branch (521:9): [True: 9.48k, False: 12.9k]
  ------------------
  522|  9.48k|        return 0;
  523|  9.48k|    }
  524|       |    // It would be a logic error elsewhere if the collecting flag were set on
  525|       |    // an untracked object.
  526|  12.9k|    _PyObject_ASSERT(op, gc->_gc_next != 0);
  ------------------
  |  |  360|  12.9k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|  12.9k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|  12.9k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 12.9k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  12.9k|      ? (void)(0) \
  |  |  |  |  |  |  353|  12.9k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  527|       |
  528|  12.9k|    if (gc->_gc_next & NEXT_MASK_UNREACHABLE) {
  ------------------
  |  |   51|  12.9k|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  |  Branch (528:9): [True: 5.11k, False: 7.86k]
  ------------------
  529|       |        /* This had gc_refs = 0 when move_unreachable got
  530|       |         * to it, but turns out it's reachable after all.
  531|       |         * Move it back to move_unreachable's 'young' list,
  532|       |         * and move_unreachable will eventually get to it
  533|       |         * again.
  534|       |         */
  535|       |        // Manually unlink gc from unreachable list because the list functions
  536|       |        // don't work right in the presence of NEXT_MASK_UNREACHABLE flags.
  537|  5.11k|        PyGC_Head *prev = GC_PREV(gc);
  ------------------
  |  |   30|  5.11k|#define GC_PREV _PyGCHead_PREV
  ------------------
  538|  5.11k|        PyGC_Head *next = (PyGC_Head*)(gc->_gc_next & ~NEXT_MASK_UNREACHABLE);
  ------------------
  |  |   51|  5.11k|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  539|  5.11k|        _PyObject_ASSERT(FROM_GC(prev),
  ------------------
  |  |  360|  5.11k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|  5.11k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|  5.11k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 5.11k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.11k|      ? (void)(0) \
  |  |  |  |  |  |  353|  5.11k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  540|  5.11k|                         prev->_gc_next & NEXT_MASK_UNREACHABLE);
  541|  5.11k|        _PyObject_ASSERT(FROM_GC(next),
  ------------------
  |  |  360|  5.11k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|  5.11k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|  5.11k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 5.11k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.11k|      ? (void)(0) \
  |  |  |  |  |  |  353|  5.11k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  542|  5.11k|                         next->_gc_next & NEXT_MASK_UNREACHABLE);
  543|  5.11k|        prev->_gc_next = gc->_gc_next;  // copy NEXT_MASK_UNREACHABLE
  544|  5.11k|        _PyGCHead_SET_PREV(next, prev);
  545|       |
  546|  5.11k|        gc_list_append(gc, reachable);
  547|  5.11k|        gc_set_refs(gc, 1);
  548|  5.11k|    }
  549|  7.86k|    else if (gc_refs == 0) {
  ------------------
  |  Branch (549:14): [True: 7.12k, False: 738]
  ------------------
  550|       |        /* This is in move_unreachable's 'young' list, but
  551|       |         * the traversal hasn't yet gotten to it.  All
  552|       |         * we need to do is tell move_unreachable that it's
  553|       |         * reachable.
  554|       |         */
  555|  7.12k|        gc_set_refs(gc, 1);
  556|  7.12k|    }
  557|       |    /* Else there's nothing to do.
  558|       |     * If gc_refs > 0, it must be in move_unreachable's 'young'
  559|       |     * list, and move_unreachable will eventually get to it.
  560|       |     */
  561|    738|    else {
  562|    738|        _PyObject_ASSERT_WITH_MSG(op, gc_refs > 0, "refcount is too small");
  ------------------
  |  |  358|    738|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  351|    738|    ((expr) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (351:6): [True: 738, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  352|    738|      ? (void)(0) \
  |  |  |  |  353|    738|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  ------------------
  ------------------
  563|    738|    }
  564|  12.9k|    return 0;
  565|  12.9k|}
gc.c:gc_list_append:
  228|  5.11k|{
  229|  5.11k|    PyGC_Head *last = (PyGC_Head *)list->_gc_prev;
  230|       |
  231|       |    // last <-> node
  232|  5.11k|    _PyGCHead_SET_PREV(node, last);
  233|  5.11k|    _PyGCHead_SET_NEXT(last, node);
  234|       |
  235|       |    // node <-> list
  236|  5.11k|    _PyGCHead_SET_NEXT(node, list);
  237|  5.11k|    list->_gc_prev = (uintptr_t)node;
  238|  5.11k|}
gc.c:gc_set_refs:
   79|  12.2k|{
   80|  12.2k|    g->_gc_prev = (g->_gc_prev & ~_PyGC_PREV_MASK)
  ------------------
  |  |  138|  12.2k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  12.2k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
   81|  12.2k|        | ((uintptr_t)(refs) << _PyGC_PREV_SHIFT);
  ------------------
  |  |  137|  12.2k|#define _PyGC_PREV_SHIFT           2
  ------------------
   82|  12.2k|}
gc.c:gc_clear_collecting:
   67|  17.4k|{
   68|  17.4k|    g->_gc_prev &= ~PREV_MASK_COLLECTING;
  ------------------
  |  |   40|  17.4k|#define PREV_MASK_COLLECTING   _PyGC_PREV_MASK_COLLECTING
  |  |  ------------------
  |  |  |  |  135|  17.4k|#define _PyGC_PREV_MASK_COLLECTING ((uintptr_t)2)
  |  |  ------------------
  ------------------
   69|  17.4k|}
gc.c:move_legacy_finalizers:
  683|      8|{
  684|      8|    PyGC_Head *gc, *next;
  685|      8|    _PyObject_ASSERT(
  ------------------
  |  |  360|      8|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      8|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      8|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 8, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      8|      ? (void)(0) \
  |  |  |  |  |  |  353|      8|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  686|      8|        FROM_GC(unreachable),
  687|      8|        (unreachable->_gc_next & NEXT_MASK_UNREACHABLE) == 0);
  688|       |
  689|       |    /* March over unreachable.  Move objects with finalizers into
  690|       |     * `finalizers`.
  691|       |     */
  692|    155|    for (gc = GC_NEXT(unreachable); gc != unreachable; gc = next) {
  ------------------
  |  |   29|      8|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (692:37): [True: 147, False: 8]
  ------------------
  693|    147|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   54|    147|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  694|       |
  695|    147|        _PyObject_ASSERT(op, gc->_gc_next & NEXT_MASK_UNREACHABLE);
  ------------------
  |  |  360|    147|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|    147|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|    147|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 147, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|    147|      ? (void)(0) \
  |  |  |  |  |  |  353|    147|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  696|    147|        gc->_gc_next &= ~NEXT_MASK_UNREACHABLE;
  ------------------
  |  |   51|    147|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  697|    147|        next = (PyGC_Head*)gc->_gc_next;
  698|       |
  699|    147|        if (has_legacy_finalizer(op)) {
  ------------------
  |  Branch (699:13): [True: 0, False: 147]
  ------------------
  700|      0|            gc_clear_collecting(gc);
  701|      0|            gc_list_move(gc, finalizers);
  702|      0|        }
  703|    147|    }
  704|      8|}
gc.c:has_legacy_finalizer:
  672|    147|{
  673|    147|    return Py_TYPE(op)->tp_del != NULL;
  ------------------
  |  |  213|    147|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    147|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    147|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  674|    147|}
gc.c:gc_list_move:
  259|    218|{
  260|       |    /* Unlink from current list. */
  261|    218|    PyGC_Head *from_prev = GC_PREV(node);
  ------------------
  |  |   30|    218|#define GC_PREV _PyGCHead_PREV
  ------------------
  262|    218|    PyGC_Head *from_next = GC_NEXT(node);
  ------------------
  |  |   29|    218|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  263|    218|    _PyGCHead_SET_NEXT(from_prev, from_next);
  264|    218|    _PyGCHead_SET_PREV(from_next, from_prev);
  265|       |
  266|       |    /* Relink at end of new list. */
  267|       |    // list must not have flags.  So we can skip macros.
  268|    218|    PyGC_Head *to_prev = (PyGC_Head*)list->_gc_prev;
  269|    218|    _PyGCHead_SET_PREV(node, to_prev);
  270|    218|    _PyGCHead_SET_NEXT(to_prev, node);
  271|    218|    list->_gc_prev = (uintptr_t)node;
  272|    218|    _PyGCHead_SET_NEXT(node, list);
  273|    218|}
gc.c:move_legacy_finalizer_reachable:
  747|      8|{
  748|      8|    traverseproc traverse;
  749|      8|    PyGC_Head *gc = GC_NEXT(finalizers);
  ------------------
  |  |   29|      8|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  750|      8|    for (; gc != finalizers; gc = GC_NEXT(gc)) {
  ------------------
  |  |   29|      0|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (750:12): [True: 0, False: 8]
  ------------------
  751|       |        /* Note that the finalizers list may grow during this. */
  752|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  753|      0|        (void) traverse(FROM_GC(gc),
  ------------------
  |  |   54|      0|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  754|      0|                        visit_move,
  755|      0|                        (void *)finalizers);
  756|      0|    }
  757|      8|}
gc.c:handle_weakref_callbacks:
  801|      8|{
  802|      8|    PyGC_Head *gc;
  803|      8|    PyGC_Head wrcb_to_call;     /* weakrefs with callbacks to call */
  804|      8|    PyGC_Head *next;
  805|      8|    int num_freed = 0;
  806|       |
  807|      8|    gc_list_init(&wrcb_to_call);
  808|       |
  809|       |    /* Find all weakrefs with callbacks and move into `wrcb_to_call` if the
  810|       |     * callback needs to be invoked. We make another pass over wrcb_to_call,
  811|       |     * invoking callbacks, after this pass completes.
  812|       |     */
  813|    155|    for (gc = GC_NEXT(unreachable); gc != unreachable; gc = next) {
  ------------------
  |  |   29|      8|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (813:37): [True: 147, False: 8]
  ------------------
  814|    147|        PyWeakReference **wrlist;
  815|       |
  816|    147|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   54|    147|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  817|    147|        next = GC_NEXT(gc);
  ------------------
  |  |   29|    147|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  818|       |
  819|    147|        if (! _PyType_SUPPORTS_WEAKREFS(Py_TYPE(op))) {
  ------------------
  |  |  213|    147|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    147|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    147|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (819:13): [True: 71, False: 76]
  ------------------
  820|     71|            continue;
  821|     71|        }
  822|       |
  823|       |        /* It supports weakrefs.  Does it have any?
  824|       |         *
  825|       |         * This is never triggered for static types so we can avoid the
  826|       |         * (slightly) more costly _PyObject_GET_WEAKREFS_LISTPTR().
  827|       |         */
  828|     76|        wrlist = _PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET(op);
  829|       |
  830|       |        /* `op` may have some weakrefs.  March over the list and move the
  831|       |         * weakrefs with callbacks that must be called into wrcb_to_call.
  832|       |         */
  833|     76|        PyWeakReference *next_wr;
  834|     81|        for (PyWeakReference *wr = *wrlist; wr != NULL; wr = next_wr) {
  ------------------
  |  Branch (834:45): [True: 5, False: 76]
  ------------------
  835|       |            // Get the next list element to get iterator progress if we omit
  836|       |            // clearing of the weakref (because _PyWeakref_ClearRef changes
  837|       |            // next pointer in the wrlist).
  838|      5|            next_wr = wr->wr_next;
  839|       |
  840|      5|            if (wr->wr_callback == NULL) {
  ------------------
  |  Branch (840:17): [True: 5, False: 0]
  ------------------
  841|       |                /* no callback */
  842|      5|                continue;
  843|      5|            }
  844|       |
  845|       |            // Clear the weakref.  See the comments above this function for
  846|       |            // reasons why we need to clear weakrefs that have callbacks.
  847|       |            // Note that _PyWeakref_ClearRef clears the weakref but leaves the
  848|       |            // callback pointer intact.  Obscure: it also changes *wrlist.
  849|      0|            _PyObject_ASSERT((PyObject *)wr, wr->wr_object == op);
  ------------------
  |  |  360|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      0|      ? (void)(0) \
  |  |  |  |  |  |  353|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  850|      0|            _PyWeakref_ClearRef(wr);
  851|      0|            _PyObject_ASSERT((PyObject *)wr, wr->wr_object == Py_None);
  ------------------
  |  |  360|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      0|      ? (void)(0) \
  |  |  |  |  |  |  353|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  852|       |
  853|       |            /* Headache time.  `op` is going away, and is weakly referenced by
  854|       |             * `wr`, which has a callback.  Should the callback be invoked?  If wr
  855|       |             * is also trash, no:
  856|       |             *
  857|       |             * 1. There's no need to call it.  The object and the weakref are
  858|       |             *    both going away, so it's legitimate to pretend the weakref is
  859|       |             *    going away first.  The user has to ensure a weakref outlives its
  860|       |             *    referent if they want a guarantee that the wr callback will get
  861|       |             *    invoked.
  862|       |             *
  863|       |             * 2. It may be catastrophic to call it.  If the callback is also in
  864|       |             *    cyclic trash (CT), then although the CT is unreachable from
  865|       |             *    outside the current generation, CT may be reachable from the
  866|       |             *    callback.  Then the callback could resurrect insane objects.
  867|       |             *
  868|       |             * Since the callback is never needed and may be unsafe in this
  869|       |             * case, wr is simply left in the unreachable set.  Note that
  870|       |             * clear_weakrefs() will ensure its callback will not trigger
  871|       |             * inside delete_garbage().
  872|       |             *
  873|       |             * OTOH, if wr isn't part of CT, we should invoke the callback:  the
  874|       |             * weakref outlived the trash.  Note that since wr isn't CT in this
  875|       |             * case, its callback can't be CT either -- wr acted as an external
  876|       |             * root to this generation, and therefore its callback did too.  So
  877|       |             * nothing in CT is reachable from the callback either, so it's hard
  878|       |             * to imagine how calling it later could create a problem for us.  wr
  879|       |             * is moved to wrcb_to_call in this case.
  880|       |             */
  881|      0|            if (gc_is_collecting(AS_GC((PyObject *)wr))) {
  ------------------
  |  |   53|      0|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
  |  Branch (881:17): [True: 0, False: 0]
  ------------------
  882|      0|                continue;
  883|      0|            }
  884|       |
  885|       |            /* Create a new reference so that wr can't go away
  886|       |             * before we can process it again.
  887|       |             */
  888|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  889|       |
  890|       |            /* Move wr to wrcb_to_call, for the next pass. */
  891|      0|            PyGC_Head *wrasgc = AS_GC((PyObject *)wr);
  ------------------
  |  |   53|      0|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
  892|       |            // wrasgc is reachable, but next isn't, so they can't be the same
  893|      0|            _PyObject_ASSERT((PyObject *)wr, wrasgc != next);
  ------------------
  |  |  360|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      0|      ? (void)(0) \
  |  |  |  |  |  |  353|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  894|      0|            gc_list_move(wrasgc, &wrcb_to_call);
  895|      0|        }
  896|     76|    }
  897|       |
  898|       |    /* Invoke the callbacks we decided to honor.  It's safe to invoke them
  899|       |     * because they can't reference unreachable objects.
  900|       |     */
  901|      8|    if (!*needs_resurrection_check) {
  ------------------
  |  Branch (901:9): [True: 8, False: 0]
  ------------------
  902|      8|        *needs_resurrection_check = !gc_list_is_empty(&wrcb_to_call);
  903|      8|    }
  904|      8|    while (! gc_list_is_empty(&wrcb_to_call)) {
  ------------------
  |  Branch (904:12): [True: 0, False: 8]
  ------------------
  905|      0|        PyObject *temp;
  906|      0|        PyObject *callback;
  907|       |
  908|      0|        gc = (PyGC_Head*)wrcb_to_call._gc_next;
  909|      0|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   54|      0|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  910|      0|        _PyObject_ASSERT(op, PyWeakref_Check(op));
  ------------------
  |  |  360|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (351:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (351:7): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      0|      ? (void)(0) \
  |  |  |  |  |  |  353|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  911|      0|        PyWeakReference *wr = (PyWeakReference *)op;
  912|      0|        callback = wr->wr_callback;
  913|      0|        _PyObject_ASSERT(op, callback != NULL);
  ------------------
  |  |  360|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      0|      ? (void)(0) \
  |  |  |  |  |  |  353|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  914|       |
  915|       |        /* copy-paste of weakrefobject.c's handle_callback() */
  916|      0|        temp = PyObject_CallOneArg(callback, (PyObject *)wr);
  917|      0|        if (temp == NULL) {
  ------------------
  |  Branch (917:13): [True: 0, False: 0]
  ------------------
  918|      0|            PyErr_FormatUnraisable("Exception ignored on "
  919|      0|                                   "calling weakref callback %R", callback);
  920|      0|        }
  921|      0|        else {
  922|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  923|      0|        }
  924|       |
  925|       |        /* Give up the reference we created in the first pass.  When
  926|       |         * op's refcount hits 0 (which it may or may not do right now),
  927|       |         * op's tp_dealloc will decref op->wr_callback too.  Note
  928|       |         * that the refcount probably will hit 0 now, and because this
  929|       |         * weakref was reachable to begin with, gc didn't already
  930|       |         * add it to its count of freed objects.  Example:  a reachable
  931|       |         * weak value dict maps some key to this reachable weakref.
  932|       |         * The callback removes this key->weakref mapping from the
  933|       |         * dict, leaving no other references to the weakref (excepting
  934|       |         * ours).
  935|       |         */
  936|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  937|      0|        if (wrcb_to_call._gc_next == (uintptr_t)gc) {
  ------------------
  |  Branch (937:13): [True: 0, False: 0]
  ------------------
  938|       |            /* object is still alive -- move it */
  939|      0|            gc_list_move(gc, old);
  940|      0|        }
  941|      0|        else {
  942|      0|            ++num_freed;
  943|      0|        }
  944|      0|    }
  945|       |
  946|      8|    return num_freed;
  947|      8|}
gc.c:finalize_garbage:
 1087|      8|{
 1088|      8|    destructor finalize;
 1089|      8|    PyGC_Head seen;
 1090|       |
 1091|       |    /* While we're going through the loop, `finalize(op)` may cause op, or
 1092|       |     * other objects, to be reclaimed via refcounts falling to zero.  So
 1093|       |     * there's little we can rely on about the structure of the input
 1094|       |     * `collectable` list across iterations.  For safety, we always take the
 1095|       |     * first object in that list and move it to a temporary `seen` list.
 1096|       |     * If objects vanish from the `collectable` and `seen` lists we don't
 1097|       |     * care.
 1098|       |     */
 1099|      8|    gc_list_init(&seen);
 1100|       |
 1101|    155|    while (!gc_list_is_empty(collectable)) {
  ------------------
  |  Branch (1101:12): [True: 147, False: 8]
  ------------------
 1102|    147|        PyGC_Head *gc = GC_NEXT(collectable);
  ------------------
  |  |   29|    147|#define GC_NEXT _PyGCHead_NEXT
  ------------------
 1103|    147|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   54|    147|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
 1104|    147|        gc_list_move(gc, &seen);
 1105|    147|        if (!_PyGC_FINALIZED(op) &&
  ------------------
  |  Branch (1105:13): [True: 147, False: 0]
  ------------------
 1106|    147|            (finalize = Py_TYPE(op)->tp_finalize) != NULL)
  ------------------
  |  |  213|    147|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    147|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    147|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1106:13): [True: 0, False: 147]
  ------------------
 1107|      0|        {
 1108|      0|            if (!_PyGen_FinalizerIsNoop(op)) {
  ------------------
  |  Branch (1108:17): [True: 0, False: 0]
  ------------------
 1109|      0|                *needs_resurrection_check = true;
 1110|      0|            }
 1111|      0|            _PyGC_SET_FINALIZED(op);
 1112|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1113|      0|            finalize(op);
 1114|      0|            assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1114:13): [True: 0, False: 0]
  ------------------
 1115|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1116|      0|        }
 1117|    147|    }
 1118|      8|    gc_list_merge(&seen, collectable);
 1119|      8|}
gc.c:clear_weakrefs:
  955|      8|{
  956|      8|    PyGC_Head *gc;
  957|      8|    PyGC_Head *next;
  958|       |
  959|    155|    for (gc = GC_NEXT(unreachable); gc != unreachable; gc = next) {
  ------------------
  |  |   29|      8|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (959:37): [True: 147, False: 8]
  ------------------
  960|    147|        PyWeakReference **wrlist;
  961|       |
  962|    147|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   54|    147|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  963|    147|        next = GC_NEXT(gc);
  ------------------
  |  |   29|    147|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  964|       |
  965|    147|        if (PyWeakref_Check(op)) {
  ------------------
  |  |   23|    147|        (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   15|    147|#define PyWeakref_CheckRef(op) PyObject_TypeCheck((op), &_PyWeakref_RefType)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|    294|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    147|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    147|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 147]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   19|    147|        (Py_IS_TYPE((op), &_PyWeakref_ProxyType) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    294|#  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: 0, False: 147]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   20|    147|         || Py_IS_TYPE((op), &_PyWeakref_CallableProxyType))
  |  |  |  |  ------------------
  |  |  |  |  |  |  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: 0, False: 147]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  966|       |            /* A weakref inside the unreachable set is always cleared. See
  967|       |             * the comments above handle_weakref_callbacks() for why these
  968|       |             * must be cleared.
  969|       |             */
  970|      0|            _PyWeakref_ClearRef((PyWeakReference *)op);
  971|      0|        }
  972|       |
  973|    147|        if (! _PyType_SUPPORTS_WEAKREFS(Py_TYPE(op))) {
  ------------------
  |  |  213|    147|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    147|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    147|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (973:13): [True: 71, False: 76]
  ------------------
  974|     71|            continue;
  975|     71|        }
  976|       |
  977|       |        /* It supports weakrefs.  Does it have any?
  978|       |         *
  979|       |         * This is never triggered for static types so we can avoid the
  980|       |         * (slightly) more costly _PyObject_GET_WEAKREFS_LISTPTR().
  981|       |         */
  982|     76|        wrlist = _PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET(op);
  983|       |
  984|       |        /* `op` may have some weakrefs.  March over the list, clear
  985|       |         * all the weakrefs.
  986|       |         */
  987|     81|        for (PyWeakReference *wr = *wrlist; wr != NULL; wr = *wrlist) {
  ------------------
  |  Branch (987:45): [True: 5, False: 76]
  ------------------
  988|       |            /* _PyWeakref_ClearRef clears the weakref but leaves
  989|       |             * the callback pointer intact.  Obscure:  it also
  990|       |             * changes *wrlist.
  991|       |             */
  992|      5|            _PyObject_ASSERT((PyObject *)wr, wr->wr_object == op);
  ------------------
  |  |  360|      5|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      5|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      5|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 5, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      5|      ? (void)(0) \
  |  |  |  |  |  |  353|      5|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  993|      5|            _PyWeakref_ClearRef(wr);
  994|      5|            _PyObject_ASSERT((PyObject *)wr, wr->wr_object == Py_None);
  ------------------
  |  |  360|      5|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      5|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      5|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 5, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      5|      ? (void)(0) \
  |  |  |  |  |  |  353|      5|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  995|      5|        }
  996|     76|    }
  997|      8|}
gc.c:delete_garbage:
 1128|      8|{
 1129|      8|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1129:5): [True: 8, False: 0]
  ------------------
 1130|       |
 1131|     86|    while (!gc_list_is_empty(collectable)) {
  ------------------
  |  Branch (1131:12): [True: 78, False: 8]
  ------------------
 1132|     78|        PyGC_Head *gc = GC_NEXT(collectable);
  ------------------
  |  |   29|     78|#define GC_NEXT _PyGCHead_NEXT
  ------------------
 1133|     78|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   54|     78|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
 1134|       |
 1135|     78|        _PyObject_ASSERT_WITH_MSG(op, Py_REFCNT(op) > 0,
  ------------------
  |  |  358|     78|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  351|     78|    ((expr) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (351:6): [True: 78, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  352|     78|      ? (void)(0) \
  |  |  |  |  353|     78|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  ------------------
  ------------------
 1136|     78|                                  "refcount is too small");
 1137|       |
 1138|     78|        if (gcstate->debug & _PyGC_DEBUG_SAVEALL) {
  ------------------
  |  |  144|     78|#define _PyGC_DEBUG_SAVEALL           (1<<5) /* save all garbage in gc.garbage */
  ------------------
  |  Branch (1138:13): [True: 0, False: 78]
  ------------------
 1139|      0|            assert(gcstate->garbage != NULL);
  ------------------
  |  Branch (1139:13): [True: 0, False: 0]
  ------------------
 1140|      0|            if (PyList_Append(gcstate->garbage, op) < 0) {
  ------------------
  |  Branch (1140:17): [True: 0, False: 0]
  ------------------
 1141|      0|                _PyErr_Clear(tstate);
 1142|      0|            }
 1143|      0|        }
 1144|     78|        else {
 1145|     78|            inquiry clear;
 1146|     78|            if ((clear = Py_TYPE(op)->tp_clear) != NULL) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1146:17): [True: 63, False: 15]
  ------------------
 1147|     63|                Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1148|     63|                (void) clear(op);
 1149|     63|                if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1149:21): [True: 0, False: 63]
  ------------------
 1150|      0|                    PyErr_FormatUnraisable("Exception ignored in tp_clear of %s",
 1151|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1152|      0|                }
 1153|     63|                Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1154|     63|            }
 1155|     78|        }
 1156|     78|        if (GC_NEXT(collectable) == gc) {
  ------------------
  |  |   29|     78|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (1156:13): [True: 71, False: 7]
  ------------------
 1157|       |            /* object is still alive, move it, it may die later */
 1158|     71|            gc_clear_collecting(gc);
 1159|     71|            gc_list_move(gc, old);
 1160|     71|        }
 1161|     78|    }
 1162|      8|}
gc.c:handle_legacy_finalizers:
 1061|      8|{
 1062|      8|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1062:5): [True: 8, False: 0]
  ------------------
 1063|      8|    assert(gcstate->garbage != NULL);
  ------------------
  |  Branch (1063:5): [True: 8, False: 0]
  ------------------
 1064|       |
 1065|      8|    PyGC_Head *gc = GC_NEXT(finalizers);
  ------------------
  |  |   29|      8|#define GC_NEXT _PyGCHead_NEXT
  ------------------
 1066|      8|    for (; gc != finalizers; gc = GC_NEXT(gc)) {
  ------------------
  |  |   29|      0|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (1066:12): [True: 0, False: 8]
  ------------------
 1067|      0|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   54|      0|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
 1068|       |
 1069|      0|        if ((gcstate->debug & _PyGC_DEBUG_SAVEALL) || has_legacy_finalizer(op)) {
  ------------------
  |  |  144|      0|#define _PyGC_DEBUG_SAVEALL           (1<<5) /* save all garbage in gc.garbage */
  ------------------
  |  Branch (1069:13): [True: 0, False: 0]
  |  Branch (1069:55): [True: 0, False: 0]
  ------------------
 1070|      0|            if (PyList_Append(gcstate->garbage, op) < 0) {
  ------------------
  |  Branch (1070:17): [True: 0, False: 0]
  ------------------
 1071|      0|                _PyErr_Clear(tstate);
 1072|      0|                break;
 1073|      0|            }
 1074|      0|        }
 1075|      0|    }
 1076|       |
 1077|      8|    gc_list_merge(finalizers, old);
 1078|      8|}
gc.c:add_stats:
 1447|      8|{
 1448|      8|    struct gc_stats *generation_stats = gcstate->generation_stats;
 1449|      8|    uint32_t seq = _Py_atomic_load_uint32_relaxed(&generation_stats->update_seq);
 1450|      8|    assert((seq & 1) == 0);
  ------------------
  |  Branch (1450:5): [True: 8, False: 0]
  ------------------
 1451|       |    /* Odd seq tells the reader that an update is in progress. */
 1452|      8|    _Py_atomic_store_uint32_relaxed(&generation_stats->update_seq, seq + 1);
 1453|      8|    _Py_atomic_fence_seq_cst();
 1454|       |
 1455|      8|    struct gc_generation_stats *prev_stats = gc_get_prev_stats(gcstate, gen);
 1456|      8|    struct gc_generation_stats *cur_stats = gc_get_stats(gcstate, gen);
 1457|       |
 1458|      8|    memcpy(cur_stats, prev_stats, sizeof(struct gc_generation_stats));
 1459|       |
 1460|      8|    cur_stats->ts_start = stats->ts_start;
 1461|      8|    cur_stats->collections += 1;
 1462|      8|    cur_stats->collected += stats->collected;
 1463|      8|    cur_stats->uncollectable += stats->uncollectable;
 1464|      8|    cur_stats->candidates += stats->candidates;
 1465|       |
 1466|      8|    cur_stats->duration += stats->duration;
 1467|      8|    cur_stats->heap_size = stats->heap_size;
 1468|      8|    cur_stats->ts_stop = stats->ts_stop;
 1469|      8|    _Py_atomic_store_uint32_release(&generation_stats->update_seq, seq + 2);
 1470|      8|}
gc.c:gc_get_prev_stats:
 1432|      8|{
 1433|      8|    if (gen == 0) {
  ------------------
  |  Branch (1433:9): [True: 8, False: 0]
  ------------------
 1434|      8|        struct gc_young_stats_buffer *buffer = &gcstate->generation_stats->young;
 1435|      8|        struct gc_generation_stats *stats = &buffer->items[buffer->index];
 1436|      8|        return stats;
 1437|      8|    }
 1438|      0|    else {
 1439|      0|        struct gc_old_stats_buffer *buffer = &gcstate->generation_stats->old[gen - 1];
 1440|      0|        struct gc_generation_stats *stats = &buffer->items[buffer->index];
 1441|      0|        return stats;
 1442|      0|    }
 1443|      8|}
gc.c:gc_get_stats:
 1415|      8|{
 1416|      8|    if (gen == 0) {
  ------------------
  |  Branch (1416:9): [True: 8, False: 0]
  ------------------
 1417|      8|        struct gc_young_stats_buffer *buffer = &gcstate->generation_stats->young;
 1418|      8|        buffer->index = (buffer->index + 1) % GC_YOUNG_STATS_SIZE;
  ------------------
  |  |  202|      8|#define GC_YOUNG_STATS_SIZE 11
  ------------------
 1419|      8|        struct gc_generation_stats *stats = &buffer->items[buffer->index];
 1420|      8|        return stats;
 1421|      8|    }
 1422|      0|    else {
 1423|      0|        struct gc_old_stats_buffer *buffer = &gcstate->generation_stats->old[gen - 1];
 1424|      0|        buffer->index = (buffer->index + 1) % GC_OLD_STATS_SIZE;
  ------------------
  |  |  203|      0|#define GC_OLD_STATS_SIZE 3
  ------------------
 1425|      0|        struct gc_generation_stats *stats = &buffer->items[buffer->index];
 1426|      0|        return stats;
 1427|      0|    }
 1428|      8|}
gc.c:gc_alloc:
 2068|  15.5k|{
 2069|  15.5k|    PyThreadState *tstate = _PyThreadState_GET();
 2070|  15.5k|    if (basicsize > PY_SSIZE_T_MAX - presize) {
  ------------------
  |  |  137|  15.5k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2070:9): [True: 0, False: 15.5k]
  ------------------
 2071|      0|        return _PyErr_NoMemory(tstate);
 2072|      0|    }
 2073|  15.5k|    size_t size = presize + basicsize;
 2074|  15.5k|    char *mem = _PyObject_MallocWithType(tp, size);
 2075|  15.5k|    if (mem == NULL) {
  ------------------
  |  Branch (2075:9): [True: 0, False: 15.5k]
  ------------------
 2076|      0|        return _PyErr_NoMemory(tstate);
 2077|      0|    }
 2078|  15.5k|    ((PyObject **)mem)[0] = NULL;
 2079|       |    ((PyObject **)mem)[1] = NULL;
 2080|  15.5k|    PyObject *op = (PyObject *)(mem + presize);
 2081|  15.5k|    _PyObject_GC_Link(op);
 2082|  15.5k|    return op;
 2083|  15.5k|}

PyArg_ParseTuple:
  104|    419|{
  105|    419|    int retval;
  106|    419|    va_list va;
  107|       |
  108|    419|    va_start(va, format);
  109|    419|    retval = vgetargs1(args, format, &va, 0);
  110|       |    va_end(va);
  111|    419|    return retval;
  112|    419|}
PyArg_ParseTupleAndKeywords:
 1414|      3|{
 1415|      3|    int retval;
 1416|      3|    va_list va;
 1417|       |
 1418|      3|    if ((args == NULL || !PyTuple_Check(args)) ||
  ------------------
  |  |   27|      3|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      3|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1418:10): [True: 0, False: 3]
  |  Branch (1418:26): [True: 0, False: 3]
  ------------------
 1419|      3|        (keywords != NULL && !PyDict_Check(keywords)) ||
  ------------------
  |  |   18|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1419:10): [True: 0, False: 3]
  |  Branch (1419:30): [True: 0, False: 0]
  ------------------
 1420|      3|        format == NULL ||
  ------------------
  |  Branch (1420:9): [True: 0, False: 3]
  ------------------
 1421|      3|        kwlist == NULL)
  ------------------
  |  Branch (1421:9): [True: 0, False: 3]
  ------------------
 1422|      0|    {
 1423|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1424|      0|        return 0;
 1425|      0|    }
 1426|       |
 1427|      3|    va_start(va, kwlist);
 1428|      3|    retval = vgetargskeywords(args, keywords, format, kwlist, &va, 0);
 1429|       |    va_end(va);
 1430|      3|    return retval;
 1431|      3|}
PyArg_ValidateKeywordArguments:
 1628|     28|{
 1629|     28|    if (!PyDict_Check(kwargs)) {
  ------------------
  |  |   18|     28|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     28|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1629:9): [True: 0, False: 28]
  ------------------
 1630|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1631|      0|        return 0;
 1632|      0|    }
 1633|     28|    if (!_PyDict_HasOnlyStringKeys(kwargs)) {
  ------------------
  |  Branch (1633:9): [True: 0, False: 28]
  ------------------
 1634|      0|        PyErr_SetString(PyExc_TypeError,
 1635|      0|                        "keywords must be strings");
 1636|      0|        return 0;
 1637|      0|    }
 1638|     28|    return 1;
 1639|     28|}
_PyArg_UnpackKeywords:
 2512|     54|{
 2513|     54|    PyObject *kwtuple;
 2514|     54|    PyObject *keyword;
 2515|     54|    int i, posonly, minposonly, maxargs;
 2516|     54|    int reqlimit = minkw ? maxpos + minkw : minpos;
  ------------------
  |  Branch (2516:20): [True: 0, False: 54]
  ------------------
 2517|     54|    Py_ssize_t nkwargs;
 2518|     54|    PyObject * const *kwstack = NULL;
 2519|       |
 2520|     54|    assert(kwargs == NULL || PyDict_Check(kwargs));
  ------------------
  |  Branch (2520:5): [True: 43, False: 11]
  |  Branch (2520:5): [True: 11, False: 0]
  ------------------
 2521|     54|    assert(kwargs == NULL || kwnames == NULL);
  ------------------
  |  Branch (2521:5): [True: 43, False: 11]
  |  Branch (2521:5): [True: 11, False: 0]
  ------------------
 2522|       |
 2523|     54|    if (parser == NULL) {
  ------------------
  |  Branch (2523:9): [True: 0, False: 54]
  ------------------
 2524|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2525|      0|        return NULL;
 2526|      0|    }
 2527|       |
 2528|     54|    if (kwnames != NULL && !PyTuple_Check(kwnames)) {
  ------------------
  |  |   27|     43|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     43|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2528:9): [True: 43, False: 11]
  |  Branch (2528:28): [True: 0, False: 43]
  ------------------
 2529|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2530|      0|        return NULL;
 2531|      0|    }
 2532|       |
 2533|     54|    if (args == NULL && nargs == 0) {
  ------------------
  |  Branch (2533:9): [True: 0, False: 54]
  |  Branch (2533:25): [True: 0, False: 0]
  ------------------
 2534|      0|        args = buf;
 2535|      0|    }
 2536|       |
 2537|     54|    if (parser_init(parser) < 0) {
  ------------------
  |  Branch (2537:9): [True: 0, False: 54]
  ------------------
 2538|      0|        return NULL;
 2539|      0|    }
 2540|       |
 2541|     54|    kwtuple = parser->kwtuple;
 2542|     54|    posonly = parser->pos;
 2543|     54|    minposonly = Py_MIN(posonly, minpos);
  ------------------
  |  |  127|     54|       __extension__ \
  |  |  128|     54|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|     54|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|     54|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|     54|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|     54|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 35, False: 19]
  |  |  ------------------
  ------------------
 2544|     54|    maxargs = posonly + (int)PyTuple_GET_SIZE(kwtuple);
  ------------------
  |  |   27|     54|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2545|       |
 2546|     54|    if (kwargs != NULL) {
  ------------------
  |  Branch (2546:9): [True: 11, False: 43]
  ------------------
 2547|     11|        nkwargs = PyDict_GET_SIZE(kwargs);
  ------------------
  |  |   63|     11|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2548|     11|    }
 2549|     43|    else if (kwnames != NULL) {
  ------------------
  |  Branch (2549:14): [True: 43, False: 0]
  ------------------
 2550|     43|        nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|     43|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2551|     43|        kwstack = args + nargs;
 2552|     43|    }
 2553|      0|    else {
 2554|      0|        nkwargs = 0;
 2555|      0|    }
 2556|     54|    if (nkwargs == 0 && minkw == 0 && minpos <= nargs && (varpos || nargs <= maxpos)) {
  ------------------
  |  Branch (2556:9): [True: 0, False: 54]
  |  Branch (2556:25): [True: 0, False: 0]
  |  Branch (2556:39): [True: 0, False: 0]
  |  Branch (2556:59): [True: 0, False: 0]
  |  Branch (2556:69): [True: 0, False: 0]
  ------------------
 2557|       |        /* Fast path. */
 2558|      0|        return args;
 2559|      0|    }
 2560|     54|    if (!varpos && nargs + nkwargs > maxargs) {
  ------------------
  |  Branch (2560:9): [True: 36, False: 18]
  |  Branch (2560:20): [True: 0, False: 36]
  ------------------
 2561|       |        /* Adding "keyword" (when nargs == 0) prevents producing wrong error
 2562|       |           messages in some special cases (see bpo-31229). */
 2563|      0|        PyErr_Format(PyExc_TypeError,
 2564|      0|                     "%.200s%s takes at most %d %sargument%s (%zd given)",
 2565|      0|                     (parser->fname == NULL) ? "function" : parser->fname,
  ------------------
  |  Branch (2565:22): [True: 0, False: 0]
  ------------------
 2566|      0|                     (parser->fname == NULL) ? "" : "()",
  ------------------
  |  Branch (2566:22): [True: 0, False: 0]
  ------------------
 2567|      0|                     maxargs,
 2568|      0|                     (nargs == 0) ? "keyword " : "",
  ------------------
  |  Branch (2568:22): [True: 0, False: 0]
  ------------------
 2569|      0|                     (maxargs == 1) ? "" : "s",
  ------------------
  |  Branch (2569:22): [True: 0, False: 0]
  ------------------
 2570|      0|                     nargs + nkwargs);
 2571|      0|        return NULL;
 2572|      0|    }
 2573|     54|    if (!varpos && nargs > maxpos) {
  ------------------
  |  Branch (2573:9): [True: 36, False: 18]
  |  Branch (2573:20): [True: 0, False: 36]
  ------------------
 2574|      0|        if (maxpos == 0) {
  ------------------
  |  Branch (2574:13): [True: 0, False: 0]
  ------------------
 2575|      0|            PyErr_Format(PyExc_TypeError,
 2576|      0|                         "%.200s%s takes no positional arguments",
 2577|      0|                         (parser->fname == NULL) ? "function" : parser->fname,
  ------------------
  |  Branch (2577:26): [True: 0, False: 0]
  ------------------
 2578|      0|                         (parser->fname == NULL) ? "" : "()");
  ------------------
  |  Branch (2578:26): [True: 0, False: 0]
  ------------------
 2579|      0|        }
 2580|      0|        else {
 2581|      0|            PyErr_Format(PyExc_TypeError,
 2582|      0|                         "%.200s%s takes %s %d positional argument%s (%zd given)",
 2583|      0|                         (parser->fname == NULL) ? "function" : parser->fname,
  ------------------
  |  Branch (2583:26): [True: 0, False: 0]
  ------------------
 2584|      0|                         (parser->fname == NULL) ? "" : "()",
  ------------------
  |  Branch (2584:26): [True: 0, False: 0]
  ------------------
 2585|      0|                         (minpos < maxpos) ? "at most" : "exactly",
  ------------------
  |  Branch (2585:26): [True: 0, False: 0]
  ------------------
 2586|      0|                         maxpos,
 2587|      0|                         (maxpos == 1) ? "" : "s",
  ------------------
  |  Branch (2587:26): [True: 0, False: 0]
  ------------------
 2588|      0|                         nargs);
 2589|      0|        }
 2590|      0|        return NULL;
 2591|      0|    }
 2592|     54|    if (nargs < minposonly) {
  ------------------
  |  Branch (2592:9): [True: 0, False: 54]
  ------------------
 2593|      0|        PyErr_Format(PyExc_TypeError,
 2594|      0|                     "%.200s%s takes %s %d positional argument%s"
 2595|      0|                     " (%zd given)",
 2596|      0|                     (parser->fname == NULL) ? "function" : parser->fname,
  ------------------
  |  Branch (2596:22): [True: 0, False: 0]
  ------------------
 2597|      0|                     (parser->fname == NULL) ? "" : "()",
  ------------------
  |  Branch (2597:22): [True: 0, False: 0]
  ------------------
 2598|      0|                     (varpos || minposonly < maxpos) ? "at least" : "exactly",
  ------------------
  |  Branch (2598:23): [True: 0, False: 0]
  |  Branch (2598:33): [True: 0, False: 0]
  ------------------
 2599|      0|                     minposonly,
 2600|      0|                     minposonly == 1 ? "" : "s",
  ------------------
  |  Branch (2600:22): [True: 0, False: 0]
  ------------------
 2601|      0|                     nargs);
 2602|      0|        return NULL;
 2603|      0|    }
 2604|       |
 2605|     54|    if (varpos) {
  ------------------
  |  Branch (2605:9): [True: 18, False: 36]
  ------------------
 2606|     18|        nargs = Py_MIN(maxpos, nargs);
  ------------------
  |  |  127|     18|       __extension__ \
  |  |  128|     18|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|     18|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|     18|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 18, False: 0]
  |  |  ------------------
  ------------------
 2607|     18|    }
 2608|       |    /* copy tuple args */
 2609|    188|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2609:17): [True: 134, False: 54]
  ------------------
 2610|    134|        buf[i] = args[i];
 2611|    134|    }
 2612|       |
 2613|       |    /* copy keyword args using kwtuple to drive process */
 2614|    229|    for (i = Py_MAX((int)nargs, posonly); i < maxargs; i++) {
  ------------------
  |  |  133|     54|       __extension__ \
  |  |  134|     54|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|     54|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|     54|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|     54|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|     54|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 35, False: 19]
  |  |  ------------------
  ------------------
  |  Branch (2614:43): [True: 192, False: 37]
  ------------------
 2615|    192|        PyObject *current_arg;
 2616|    192|        if (nkwargs) {
  ------------------
  |  Branch (2616:13): [True: 175, False: 17]
  ------------------
 2617|    175|            keyword = PyTuple_GET_ITEM(kwtuple, i - posonly);
  ------------------
  |  |   29|    175|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    175|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    175|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2617:23): [True: 175, False: 0]
  ------------------
 2618|    175|            if (kwargs != NULL) {
  ------------------
  |  Branch (2618:17): [True: 22, False: 153]
  ------------------
 2619|     22|                if (PyDict_GetItemRef(kwargs, keyword, &current_arg) < 0) {
  ------------------
  |  Branch (2619:21): [True: 0, False: 22]
  ------------------
 2620|      0|                    return NULL;
 2621|      0|                }
 2622|     22|            }
 2623|    153|            else {
 2624|    153|                current_arg = find_keyword(kwnames, kwstack, keyword);
 2625|    153|            }
 2626|    175|        }
 2627|     17|        else if (i >= reqlimit) {
  ------------------
  |  Branch (2627:18): [True: 17, False: 0]
  ------------------
 2628|     17|            break;
 2629|     17|        }
 2630|      0|        else {
 2631|      0|            current_arg = NULL;
 2632|      0|        }
 2633|       |
 2634|    175|        buf[i] = current_arg;
 2635|       |
 2636|    175|        if (current_arg) {
  ------------------
  |  Branch (2636:13): [True: 124, False: 51]
  ------------------
 2637|    124|            Py_DECREF(current_arg);
  ------------------
  |  |  430|    124|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2638|    124|            --nkwargs;
 2639|    124|        }
 2640|     51|        else if (i < minpos || (maxpos <= i && i < reqlimit)) {
  ------------------
  |  Branch (2640:18): [True: 0, False: 51]
  |  Branch (2640:33): [True: 14, False: 37]
  |  Branch (2640:48): [True: 0, False: 14]
  ------------------
 2641|       |            /* Less arguments than required */
 2642|      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 (2642:23): [True: 0, False: 0]
  ------------------
 2643|      0|            PyErr_Format(PyExc_TypeError,  "%.200s%s missing required "
 2644|      0|                         "argument '%U' (pos %d)",
 2645|      0|                         (parser->fname == NULL) ? "function" : parser->fname,
  ------------------
  |  Branch (2645:26): [True: 0, False: 0]
  ------------------
 2646|      0|                         (parser->fname == NULL) ? "" : "()",
  ------------------
  |  Branch (2646:26): [True: 0, False: 0]
  ------------------
 2647|      0|                         keyword, i+1);
 2648|      0|            return NULL;
 2649|      0|        }
 2650|    175|    }
 2651|       |
 2652|     54|    if (nkwargs > 0) {
  ------------------
  |  Branch (2652:9): [True: 0, False: 54]
  ------------------
 2653|       |        /* make sure there are no arguments given by name and position */
 2654|      0|        for (i = posonly; i < nargs; i++) {
  ------------------
  |  Branch (2654:27): [True: 0, False: 0]
  ------------------
 2655|      0|            PyObject *current_arg;
 2656|      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 (2656:23): [True: 0, False: 0]
  ------------------
 2657|      0|            if (kwargs != NULL) {
  ------------------
  |  Branch (2657:17): [True: 0, False: 0]
  ------------------
 2658|      0|                if (PyDict_GetItemRef(kwargs, keyword, &current_arg) < 0) {
  ------------------
  |  Branch (2658:21): [True: 0, False: 0]
  ------------------
 2659|      0|                    return NULL;
 2660|      0|                }
 2661|      0|            }
 2662|      0|            else {
 2663|      0|                current_arg = find_keyword(kwnames, kwstack, keyword);
 2664|      0|            }
 2665|      0|            if (current_arg) {
  ------------------
  |  Branch (2665:17): [True: 0, False: 0]
  ------------------
 2666|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2667|       |                /* arg present in tuple and in dict */
 2668|      0|                PyErr_Format(PyExc_TypeError,
 2669|      0|                             "argument for %.200s%s given by name ('%U') "
 2670|      0|                             "and position (%d)",
 2671|      0|                             (parser->fname == NULL) ? "function" : parser->fname,
  ------------------
  |  Branch (2671:30): [True: 0, False: 0]
  ------------------
 2672|      0|                             (parser->fname == NULL) ? "" : "()",
  ------------------
  |  Branch (2672:30): [True: 0, False: 0]
  ------------------
 2673|      0|                             keyword, i+1);
 2674|      0|                return NULL;
 2675|      0|            }
 2676|      0|        }
 2677|       |
 2678|      0|        error_unexpected_keyword_arg(kwargs, kwnames, kwtuple, parser->fname);
 2679|      0|        return NULL;
 2680|      0|    }
 2681|       |
 2682|     54|    return buf;
 2683|     54|}
_PyArg_CheckPositional:
 2826|    652|{
 2827|    652|    assert(min >= 0);
  ------------------
  |  Branch (2827:5): [True: 652, False: 0]
  ------------------
 2828|    652|    assert(min <= max);
  ------------------
  |  Branch (2828:5): [True: 652, False: 0]
  ------------------
 2829|       |
 2830|    652|    if (nargs < min) {
  ------------------
  |  Branch (2830:9): [True: 0, False: 652]
  ------------------
 2831|      0|        if (name != NULL)
  ------------------
  |  Branch (2831:13): [True: 0, False: 0]
  ------------------
 2832|      0|            PyErr_Format(
 2833|      0|                PyExc_TypeError,
 2834|      0|                "%.200s expected %s%zd argument%s, got %zd",
 2835|      0|                name, (min == max ? "" : "at least "), min, min == 1 ? "" : "s", nargs);
  ------------------
  |  Branch (2835:24): [True: 0, False: 0]
  |  Branch (2835:61): [True: 0, False: 0]
  ------------------
 2836|      0|        else
 2837|      0|            PyErr_Format(
 2838|      0|                PyExc_TypeError,
 2839|      0|                "unpacked tuple should have %s%zd element%s,"
 2840|      0|                " but has %zd",
 2841|      0|                (min == max ? "" : "at least "), min, min == 1 ? "" : "s", nargs);
  ------------------
  |  Branch (2841:18): [True: 0, False: 0]
  |  Branch (2841:55): [True: 0, False: 0]
  ------------------
 2842|      0|        return 0;
 2843|      0|    }
 2844|       |
 2845|    652|    if (nargs == 0) {
  ------------------
  |  Branch (2845:9): [True: 35, False: 617]
  ------------------
 2846|     35|        return 1;
 2847|     35|    }
 2848|       |
 2849|    617|    if (nargs > max) {
  ------------------
  |  Branch (2849:9): [True: 0, False: 617]
  ------------------
 2850|      0|        if (name != NULL)
  ------------------
  |  Branch (2850:13): [True: 0, False: 0]
  ------------------
 2851|      0|            PyErr_Format(
 2852|      0|                PyExc_TypeError,
 2853|      0|                "%.200s expected %s%zd argument%s, got %zd",
 2854|      0|                name, (min == max ? "" : "at most "), max, max == 1 ? "" : "s", nargs);
  ------------------
  |  Branch (2854:24): [True: 0, False: 0]
  |  Branch (2854:60): [True: 0, False: 0]
  ------------------
 2855|      0|        else
 2856|      0|            PyErr_Format(
 2857|      0|                PyExc_TypeError,
 2858|      0|                "unpacked tuple should have %s%zd element%s,"
 2859|      0|                " but has %zd",
 2860|      0|                (min == max ? "" : "at most "), max, max == 1 ? "" : "s", nargs);
  ------------------
  |  Branch (2860:18): [True: 0, False: 0]
  |  Branch (2860:54): [True: 0, False: 0]
  ------------------
 2861|      0|        return 0;
 2862|      0|    }
 2863|       |
 2864|    617|    return 1;
 2865|    617|}
PyArg_UnpackTuple:
 2887|    521|{
 2888|    521|    PyObject **stack;
 2889|    521|    Py_ssize_t nargs;
 2890|    521|    int retval;
 2891|    521|    va_list vargs;
 2892|       |
 2893|    521|    if (!PyTuple_Check(args)) {
  ------------------
  |  |   27|    521|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    521|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2893:9): [True: 0, False: 521]
  ------------------
 2894|      0|        PyErr_SetString(PyExc_SystemError,
 2895|      0|            "PyArg_UnpackTuple() argument list is not a tuple");
 2896|      0|        return 0;
 2897|      0|    }
 2898|    521|    stack = _PyTuple_ITEMS(args);
  ------------------
  |  |   26|    521|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  313|  1.04k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 521, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2899|    521|    nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    521|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    521|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    521|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2900|       |
 2901|    521|    va_start(vargs, max);
 2902|    521|    retval = unpack_stack(stack, nargs, name, min, max, vargs);
 2903|       |    va_end(vargs);
 2904|    521|    return retval;
 2905|    521|}
_PyArg_UnpackStack:
 2910|    131|{
 2911|    131|    int retval;
 2912|    131|    va_list vargs;
 2913|       |
 2914|    131|    va_start(vargs, max);
 2915|    131|    retval = unpack_stack(args, nargs, name, min, max, vargs);
 2916|       |    va_end(vargs);
 2917|    131|    return retval;
 2918|    131|}
_PyArg_NoPositional:
 2952|     82|{
 2953|     82|    if (args == NULL)
  ------------------
  |  Branch (2953:9): [True: 0, False: 82]
  ------------------
 2954|      0|        return 1;
 2955|     82|    if (!PyTuple_CheckExact(args)) {
  ------------------
  |  |   28|     82|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|     82|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2955:9): [True: 0, False: 82]
  ------------------
 2956|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2957|      0|        return 0;
 2958|      0|    }
 2959|     82|    return _PyArg_NoPositionalStack(funcname, PyTuple_GET_SIZE(args));
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2960|     82|}
_PyArg_NoPositionalStack:
 2964|     82|{
 2965|     82|    if (nargs == 0) {
  ------------------
  |  Branch (2965:9): [True: 82, False: 0]
  ------------------
 2966|     82|        return 1;
 2967|     82|    }
 2968|       |
 2969|      0|    PyErr_Format(PyExc_TypeError, "%.200s() takes no positional arguments",
 2970|      0|                    funcname);
 2971|      0|    return 0;
 2972|     82|}
getargs.c:vgetargs1_impl:
  246|    419|{
  247|    419|    char msgbuf[256];
  248|    419|    int levels[32];
  249|    419|    const char *fname = NULL;
  250|    419|    const char *message = NULL;
  251|    419|    int min = -1;
  252|    419|    int max = 0;
  253|    419|    int level = 0;
  254|    419|    int endfmt = 0;
  255|    419|    const char *formatsave = format;
  256|    419|    Py_ssize_t i;
  257|    419|    const char *msg;
  258|    419|    int compat = flags & FLAG_COMPAT;
  ------------------
  |  |   24|    419|#define FLAG_COMPAT 1
  ------------------
  259|    419|    freelistentry_t static_entries[STATIC_FREELIST_ENTRIES];
  260|    419|    freelist_t freelist;
  261|       |
  262|    419|    assert(nargs == 0 || stack != NULL);
  ------------------
  |  Branch (262:5): [True: 0, False: 419]
  |  Branch (262:5): [True: 419, False: 0]
  ------------------
  263|       |
  264|    419|    freelist.entries = static_entries;
  265|    419|    freelist.first_available = 0;
  266|    419|    freelist.entries_malloced = 0;
  267|       |
  268|    419|    flags = flags & ~FLAG_COMPAT;
  ------------------
  |  |   24|    419|#define FLAG_COMPAT 1
  ------------------
  269|       |
  270|  2.66k|    while (endfmt == 0) {
  ------------------
  |  Branch (270:12): [True: 2.24k, False: 419]
  ------------------
  271|  2.24k|        int c = *format++;
  272|  2.24k|        switch (c) {
  273|      0|        case '(':
  ------------------
  |  Branch (273:9): [True: 0, False: 2.24k]
  ------------------
  274|      0|            if (level == 0)
  ------------------
  |  Branch (274:17): [True: 0, False: 0]
  ------------------
  275|      0|                max++;
  276|      0|            level++;
  277|      0|            if (level >= 30)
  ------------------
  |  Branch (277:17): [True: 0, False: 0]
  ------------------
  278|      0|                Py_FatalError("too many tuple nesting levels "
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  279|      0|                              "in argument format string");
  280|      0|            break;
  281|      0|        case ')':
  ------------------
  |  Branch (281:9): [True: 0, False: 2.24k]
  ------------------
  282|      0|            if (level == 0)
  ------------------
  |  Branch (282:17): [True: 0, False: 0]
  ------------------
  283|      0|                Py_FatalError("excess ')' in getargs format");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  284|      0|            else
  285|      0|                level--;
  286|      0|            break;
  287|     42|        case '\0':
  ------------------
  |  Branch (287:9): [True: 42, False: 2.20k]
  ------------------
  288|     42|            endfmt = 1;
  289|     42|            break;
  290|    377|        case ':':
  ------------------
  |  Branch (290:9): [True: 377, False: 1.86k]
  ------------------
  291|    377|            fname = format;
  292|    377|            endfmt = 1;
  293|    377|            break;
  294|      0|        case ';':
  ------------------
  |  Branch (294:9): [True: 0, False: 2.24k]
  ------------------
  295|      0|            message = format;
  296|      0|            endfmt = 1;
  297|      0|            break;
  298|     36|        case '|':
  ------------------
  |  Branch (298:9): [True: 36, False: 2.20k]
  ------------------
  299|     36|            if (level == 0)
  ------------------
  |  Branch (299:17): [True: 36, False: 0]
  ------------------
  300|     36|                min = max;
  301|     36|            break;
  302|  1.79k|        default:
  ------------------
  |  Branch (302:9): [True: 1.79k, False: 455]
  ------------------
  303|  1.79k|            if (level == 0) {
  ------------------
  |  Branch (303:17): [True: 1.79k, False: 0]
  ------------------
  304|  1.79k|                if (Py_ISALPHA(c))
  ------------------
  |  |   23|  1.79k|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  170|  1.79k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |   10|  1.79k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|  1.79k|#define PY_CTF_LOWER  0x01
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    9|  1.79k|#define PY_CTF_UPPER  0x02
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (23:24): [True: 1.41k, False: 377]
  |  |  ------------------
  ------------------
  305|  1.41k|                    if (c != 'e') /* skip encoded */
  ------------------
  |  Branch (305:25): [True: 1.41k, False: 0]
  ------------------
  306|  1.41k|                        max++;
  307|  1.79k|            }
  308|  1.79k|            break;
  309|  2.24k|        }
  310|  2.24k|    }
  311|       |
  312|    419|    if (level != 0)
  ------------------
  |  Branch (312:9): [True: 0, False: 419]
  ------------------
  313|      0|        Py_FatalError(/* '(' */ "missing ')' in getargs format");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  314|       |
  315|    419|    if (min < 0)
  ------------------
  |  Branch (315:9): [True: 383, False: 36]
  ------------------
  316|    383|        min = max;
  317|       |
  318|    419|    format = formatsave;
  319|       |
  320|    419|    if (max > STATIC_FREELIST_ENTRIES) {
  ------------------
  |  |   44|    419|#define STATIC_FREELIST_ENTRIES 8
  ------------------
  |  Branch (320:9): [True: 0, False: 419]
  ------------------
  321|      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)) ) )
  |  |  ------------------
  ------------------
  322|      0|        if (freelist.entries == NULL) {
  ------------------
  |  Branch (322:13): [True: 0, False: 0]
  ------------------
  323|      0|            PyErr_NoMemory();
  324|      0|            return 0;
  325|      0|        }
  326|      0|        freelist.entries_malloced = 1;
  327|      0|    }
  328|       |
  329|    419|    if (compat) {
  ------------------
  |  Branch (329:9): [True: 0, False: 419]
  ------------------
  330|      0|        if (max == 0) {
  ------------------
  |  Branch (330:13): [True: 0, False: 0]
  ------------------
  331|      0|            if (compat_args == NULL)
  ------------------
  |  Branch (331:17): [True: 0, False: 0]
  ------------------
  332|      0|                return 1;
  333|      0|            PyErr_Format(PyExc_TypeError,
  334|      0|                         "%.200s%s takes no arguments",
  335|      0|                         fname==NULL ? "function" : fname,
  ------------------
  |  Branch (335:26): [True: 0, False: 0]
  ------------------
  336|      0|                         fname==NULL ? "" : "()");
  ------------------
  |  Branch (336:26): [True: 0, False: 0]
  ------------------
  337|      0|            return cleanreturn(0, &freelist);
  338|      0|        }
  339|      0|        else if (min == 1 && max == 1) {
  ------------------
  |  Branch (339:18): [True: 0, False: 0]
  |  Branch (339:30): [True: 0, False: 0]
  ------------------
  340|      0|            if (compat_args == NULL) {
  ------------------
  |  Branch (340:17): [True: 0, False: 0]
  ------------------
  341|      0|                PyErr_Format(PyExc_TypeError,
  342|      0|                             "%.200s%s takes at least one argument",
  343|      0|                             fname==NULL ? "function" : fname,
  ------------------
  |  Branch (343:30): [True: 0, False: 0]
  ------------------
  344|      0|                             fname==NULL ? "" : "()");
  ------------------
  |  Branch (344:30): [True: 0, False: 0]
  ------------------
  345|      0|                return cleanreturn(0, &freelist);
  346|      0|            }
  347|      0|            msg = convertitem(compat_args, &format, p_va, flags, levels,
  348|      0|                              msgbuf, sizeof(msgbuf), &freelist);
  349|      0|            if (msg == NULL)
  ------------------
  |  Branch (349:17): [True: 0, False: 0]
  ------------------
  350|      0|                return cleanreturn(1, &freelist);
  351|      0|            seterror(levels[0], msg, levels+1, fname, message);
  352|      0|            return cleanreturn(0, &freelist);
  353|      0|        }
  354|      0|        else {
  355|      0|            PyErr_SetString(PyExc_SystemError,
  356|      0|                "old style getargs format uses new features");
  357|      0|            return cleanreturn(0, &freelist);
  358|      0|        }
  359|      0|    }
  360|       |
  361|    419|    if (nargs < min || max < nargs) {
  ------------------
  |  Branch (361:9): [True: 0, False: 419]
  |  Branch (361:24): [True: 0, False: 419]
  ------------------
  362|      0|        if (message == NULL)
  ------------------
  |  Branch (362:13): [True: 0, False: 0]
  ------------------
  363|      0|            PyErr_Format(PyExc_TypeError,
  364|      0|                         "%.150s%s takes %s %d argument%s (%zd given)",
  365|      0|                         fname==NULL ? "function" : fname,
  ------------------
  |  Branch (365:26): [True: 0, False: 0]
  ------------------
  366|      0|                         fname==NULL ? "" : "()",
  ------------------
  |  Branch (366:26): [True: 0, False: 0]
  ------------------
  367|      0|                         min==max ? "exactly"
  ------------------
  |  Branch (367:26): [True: 0, False: 0]
  ------------------
  368|      0|                         : nargs < min ? "at least" : "at most",
  ------------------
  |  Branch (368:28): [True: 0, False: 0]
  ------------------
  369|      0|                         nargs < min ? min : max,
  ------------------
  |  Branch (369:26): [True: 0, False: 0]
  ------------------
  370|      0|                         (nargs < min ? min : max) == 1 ? "" : "s",
  ------------------
  |  Branch (370:26): [True: 0, False: 0]
  |  Branch (370:27): [True: 0, False: 0]
  ------------------
  371|      0|                         nargs);
  372|      0|        else
  373|      0|            PyErr_SetString(PyExc_TypeError, message);
  374|      0|        return cleanreturn(0, &freelist);
  375|      0|    }
  376|       |
  377|  1.79k|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (377:17): [True: 1.37k, False: 419]
  ------------------
  378|  1.37k|        if (*format == '|')
  ------------------
  |  Branch (378:13): [True: 36, False: 1.34k]
  ------------------
  379|     36|            format++;
  380|  1.37k|        msg = convertitem(stack[i], &format, p_va,
  381|  1.37k|                          flags, levels, msgbuf,
  382|  1.37k|                          sizeof(msgbuf), &freelist);
  383|  1.37k|        if (msg) {
  ------------------
  |  Branch (383:13): [True: 0, False: 1.37k]
  ------------------
  384|      0|            seterror(i+1, msg, levels, fname, message);
  385|      0|            return cleanreturn(0, &freelist);
  386|      0|        }
  387|  1.37k|    }
  388|       |
  389|    419|    if (*format != '\0' && !Py_ISALPHA(*format) &&
  ------------------
  |  |   23|    832|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  170|    413|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |   10|    413|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|    413|#define PY_CTF_LOWER  0x01
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    9|    413|#define PY_CTF_UPPER  0x02
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (389:9): [True: 413, False: 6]
  |  Branch (389:28): [True: 377, False: 36]
  ------------------
  390|    377|        *format != '(' &&
  ------------------
  |  Branch (390:9): [True: 377, False: 0]
  ------------------
  391|    377|        *format != '|' && *format != ':' && *format != ';') {
  ------------------
  |  Branch (391:9): [True: 377, False: 0]
  |  Branch (391:27): [True: 0, False: 377]
  |  Branch (391:45): [True: 0, False: 0]
  ------------------
  392|      0|        PyErr_Format(PyExc_SystemError,
  393|      0|                     "bad format string: %.200s", formatsave);
  394|      0|        return cleanreturn(0, &freelist);
  395|      0|    }
  396|       |
  397|    419|    return cleanreturn(1, &freelist);
  398|    419|}
getargs.c:cleanreturn:
  225|    422|{
  226|    422|    int index;
  227|       |
  228|    422|    if (retval == 0) {
  ------------------
  |  Branch (228:9): [True: 0, False: 422]
  ------------------
  229|       |      /* A failure occurred, therefore execute all of the cleanup
  230|       |         functions.
  231|       |      */
  232|      0|      for (index = 0; index < freelist->first_available; ++index) {
  ------------------
  |  Branch (232:23): [True: 0, False: 0]
  ------------------
  233|      0|          freelist->entries[index].destructor(NULL,
  234|      0|                                              freelist->entries[index].item);
  235|      0|      }
  236|      0|    }
  237|    422|    if (freelist->entries_malloced)
  ------------------
  |  Branch (237:9): [True: 0, False: 422]
  ------------------
  238|      0|        PyMem_Free(freelist->entries);
  239|    422|    return retval;
  240|    422|}
getargs.c:convertitem:
  622|  1.38k|{
  623|  1.38k|    const char *msg;
  624|  1.38k|    const char *format = *p_format;
  625|       |
  626|  1.38k|    if (*format == '(' /* ')' */) {
  ------------------
  |  Branch (626:9): [True: 0, False: 1.38k]
  ------------------
  627|      0|        format++;
  628|      0|        msg = converttuple(arg, &format, p_va, flags, levels, msgbuf,
  629|      0|                           bufsize, freelist);
  630|      0|        if (msg == NULL)
  ------------------
  |  Branch (630:13): [True: 0, False: 0]
  ------------------
  631|      0|            format++;
  632|      0|    }
  633|  1.38k|    else {
  634|  1.38k|        msg = convertsimple(arg, &format, p_va, flags,
  635|  1.38k|                            msgbuf, bufsize, freelist);
  636|  1.38k|        if (msg != NULL)
  ------------------
  |  Branch (636:13): [True: 0, False: 1.38k]
  ------------------
  637|      0|            levels[0] = 0;
  638|  1.38k|    }
  639|  1.38k|    if (msg == NULL)
  ------------------
  |  Branch (639:9): [True: 1.38k, False: 0]
  ------------------
  640|  1.38k|        *p_format = format;
  641|  1.38k|    return msg;
  642|  1.38k|}
getargs.c:convertsimple:
  702|  1.38k|{
  703|  1.38k|#define RETURN_ERR_OCCURRED return msgbuf
  704|       |
  705|  1.38k|    const char *format = *p_format;
  706|  1.38k|    char c = *format++;
  707|  1.38k|    const char *sarg;
  708|       |
  709|  1.38k|    switch (c) {
  710|       |
  711|      0|    case 'b': { /* unsigned byte -- very short int */
  ------------------
  |  Branch (711:5): [True: 0, False: 1.38k]
  ------------------
  712|      0|        unsigned char *p = va_arg(*p_va, unsigned char *);
  713|      0|        long ival = PyLong_AsLong(arg);
  714|      0|        if (ival == -1 && PyErr_Occurred())
  ------------------
  |  Branch (714:13): [True: 0, False: 0]
  |  Branch (714:27): [True: 0, False: 0]
  ------------------
  715|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  716|      0|        else if (ival < 0) {
  ------------------
  |  Branch (716:18): [True: 0, False: 0]
  ------------------
  717|      0|            PyErr_SetString(PyExc_OverflowError,
  718|      0|                            "unsigned byte integer is less than minimum");
  719|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  720|      0|        }
  721|      0|        else if (ival > UCHAR_MAX) {
  ------------------
  |  Branch (721:18): [True: 0, False: 0]
  ------------------
  722|      0|            PyErr_SetString(PyExc_OverflowError,
  723|      0|                            "unsigned byte integer is greater than maximum");
  724|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  725|      0|        }
  726|      0|        else
  727|      0|            *p = (unsigned char) ival;
  728|      0|        break;
  729|      0|    }
  730|       |
  731|      0|    case 'B': {/* byte sized bitfield - both signed and unsigned
  ------------------
  |  Branch (731:5): [True: 0, False: 1.38k]
  ------------------
  732|       |                  values allowed */
  733|      0|        unsigned char *p = va_arg(*p_va, unsigned char *);
  734|      0|        Py_ssize_t bytes = PyLong_AsNativeBytes(arg, p, sizeof(unsigned char),
  735|      0|                Py_ASNATIVEBYTES_NATIVE_ENDIAN |
  ------------------
  |  |   47|      0|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  ------------------
  736|      0|                Py_ASNATIVEBYTES_ALLOW_INDEX |
  ------------------
  |  |   50|      0|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  ------------------
  737|      0|                Py_ASNATIVEBYTES_UNSIGNED_BUFFER);
  ------------------
  |  |   48|      0|#define Py_ASNATIVEBYTES_UNSIGNED_BUFFER 4
  ------------------
  738|      0|        if (bytes < 0) {
  ------------------
  |  Branch (738:13): [True: 0, False: 0]
  ------------------
  739|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  740|      0|        }
  741|      0|        if ((size_t)bytes > sizeof(unsigned char)) {
  ------------------
  |  Branch (741:13): [True: 0, False: 0]
  ------------------
  742|      0|            if (PyErr_WarnEx(PyExc_DeprecationWarning,
  ------------------
  |  Branch (742:17): [True: 0, False: 0]
  ------------------
  743|      0|                "integer value out of range", 1) < 0)
  744|      0|            {
  745|      0|                RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  746|      0|            }
  747|      0|        }
  748|      0|        break;
  749|      0|    }
  750|       |
  751|      0|    case 'h': {/* signed short int */
  ------------------
  |  Branch (751:5): [True: 0, False: 1.38k]
  ------------------
  752|      0|        short *p = va_arg(*p_va, short *);
  753|      0|        long ival = PyLong_AsLong(arg);
  754|      0|        if (ival == -1 && PyErr_Occurred())
  ------------------
  |  Branch (754:13): [True: 0, False: 0]
  |  Branch (754:27): [True: 0, False: 0]
  ------------------
  755|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  756|      0|        else if (ival < SHRT_MIN) {
  ------------------
  |  Branch (756:18): [True: 0, False: 0]
  ------------------
  757|      0|            PyErr_SetString(PyExc_OverflowError,
  758|      0|                            "signed short integer is less than minimum");
  759|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  760|      0|        }
  761|      0|        else if (ival > SHRT_MAX) {
  ------------------
  |  Branch (761:18): [True: 0, False: 0]
  ------------------
  762|      0|            PyErr_SetString(PyExc_OverflowError,
  763|      0|                            "signed short integer is greater than maximum");
  764|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  765|      0|        }
  766|      0|        else
  767|      0|            *p = (short) ival;
  768|      0|        break;
  769|      0|    }
  770|       |
  771|      0|    case 'H': { /* short int sized bitfield, both signed and
  ------------------
  |  Branch (771:5): [True: 0, False: 1.38k]
  ------------------
  772|       |                   unsigned allowed */
  773|      0|        unsigned short *p = va_arg(*p_va, unsigned short *);
  774|      0|        Py_ssize_t bytes = PyLong_AsNativeBytes(arg, p, sizeof(unsigned short),
  775|      0|                Py_ASNATIVEBYTES_NATIVE_ENDIAN |
  ------------------
  |  |   47|      0|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  ------------------
  776|      0|                Py_ASNATIVEBYTES_ALLOW_INDEX |
  ------------------
  |  |   50|      0|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  ------------------
  777|      0|                Py_ASNATIVEBYTES_UNSIGNED_BUFFER);
  ------------------
  |  |   48|      0|#define Py_ASNATIVEBYTES_UNSIGNED_BUFFER 4
  ------------------
  778|      0|        if (bytes < 0) {
  ------------------
  |  Branch (778:13): [True: 0, False: 0]
  ------------------
  779|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  780|      0|        }
  781|      0|        if ((size_t)bytes > sizeof(unsigned short)) {
  ------------------
  |  Branch (781:13): [True: 0, False: 0]
  ------------------
  782|      0|            if (PyErr_WarnEx(PyExc_DeprecationWarning,
  ------------------
  |  Branch (782:17): [True: 0, False: 0]
  ------------------
  783|      0|                "integer value out of range", 1) < 0)
  784|      0|            {
  785|      0|                RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  786|      0|            }
  787|      0|        }
  788|      0|        break;
  789|      0|    }
  790|       |
  791|      0|    case 'i': {/* signed int */
  ------------------
  |  Branch (791:5): [True: 0, False: 1.38k]
  ------------------
  792|      0|        int *p = va_arg(*p_va, int *);
  793|      0|        long ival = PyLong_AsLong(arg);
  794|      0|        if (ival == -1 && PyErr_Occurred())
  ------------------
  |  Branch (794:13): [True: 0, False: 0]
  |  Branch (794:27): [True: 0, False: 0]
  ------------------
  795|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  796|      0|        else if (ival > INT_MAX) {
  ------------------
  |  Branch (796:18): [True: 0, False: 0]
  ------------------
  797|      0|            PyErr_SetString(PyExc_OverflowError,
  798|      0|                            "signed integer is greater than maximum");
  799|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  800|      0|        }
  801|      0|        else if (ival < INT_MIN) {
  ------------------
  |  Branch (801:18): [True: 0, False: 0]
  ------------------
  802|      0|            PyErr_SetString(PyExc_OverflowError,
  803|      0|                            "signed integer is less than minimum");
  804|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  805|      0|        }
  806|      0|        else
  807|      0|            *p = ival;
  808|      0|        break;
  809|      0|    }
  810|       |
  811|      0|    case 'I': { /* int sized bitfield, both signed and
  ------------------
  |  Branch (811:5): [True: 0, False: 1.38k]
  ------------------
  812|       |                   unsigned allowed */
  813|      0|        unsigned int *p = va_arg(*p_va, unsigned int *);
  814|      0|        Py_ssize_t bytes = PyLong_AsNativeBytes(arg, p, sizeof(unsigned int),
  815|      0|                Py_ASNATIVEBYTES_NATIVE_ENDIAN |
  ------------------
  |  |   47|      0|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  ------------------
  816|      0|                Py_ASNATIVEBYTES_ALLOW_INDEX |
  ------------------
  |  |   50|      0|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  ------------------
  817|      0|                Py_ASNATIVEBYTES_UNSIGNED_BUFFER);
  ------------------
  |  |   48|      0|#define Py_ASNATIVEBYTES_UNSIGNED_BUFFER 4
  ------------------
  818|      0|        if (bytes < 0) {
  ------------------
  |  Branch (818:13): [True: 0, False: 0]
  ------------------
  819|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  820|      0|        }
  821|      0|        if ((size_t)bytes > sizeof(unsigned int)) {
  ------------------
  |  Branch (821:13): [True: 0, False: 0]
  ------------------
  822|      0|            if (PyErr_WarnEx(PyExc_DeprecationWarning,
  ------------------
  |  Branch (822:17): [True: 0, False: 0]
  ------------------
  823|      0|                "integer value out of range", 1) < 0)
  824|      0|            {
  825|      0|                RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  826|      0|            }
  827|      0|        }
  828|      0|        break;
  829|      0|    }
  830|       |
  831|     12|    case 'n': /* Py_ssize_t */
  ------------------
  |  Branch (831:5): [True: 12, False: 1.37k]
  ------------------
  832|     12|    {
  833|     12|        PyObject *iobj;
  834|     12|        Py_ssize_t *p = va_arg(*p_va, Py_ssize_t *);
  835|     12|        Py_ssize_t ival = -1;
  836|     12|        iobj = _PyNumber_Index(arg);
  837|     12|        if (iobj != NULL) {
  ------------------
  |  Branch (837:13): [True: 12, False: 0]
  ------------------
  838|     12|            ival = PyLong_AsSsize_t(iobj);
  839|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  840|     12|        }
  841|     12|        if (ival == -1 && PyErr_Occurred())
  ------------------
  |  Branch (841:13): [True: 0, False: 12]
  |  Branch (841:27): [True: 0, False: 0]
  ------------------
  842|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  843|     12|        *p = ival;
  844|     12|        break;
  845|     12|    }
  846|      0|    case 'l': {/* long int */
  ------------------
  |  Branch (846:5): [True: 0, False: 1.38k]
  ------------------
  847|      0|        long *p = va_arg(*p_va, long *);
  848|      0|        long ival = PyLong_AsLong(arg);
  849|      0|        if (ival == -1 && PyErr_Occurred())
  ------------------
  |  Branch (849:13): [True: 0, False: 0]
  |  Branch (849:27): [True: 0, False: 0]
  ------------------
  850|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  851|      0|        else
  852|      0|            *p = ival;
  853|      0|        break;
  854|      0|    }
  855|       |
  856|      0|    case 'k': { /* long sized bitfield */
  ------------------
  |  Branch (856:5): [True: 0, False: 1.38k]
  ------------------
  857|      0|        unsigned long *p = va_arg(*p_va, unsigned long *);
  858|      0|        if (!PyIndex_Check(arg)) {
  ------------------
  |  Branch (858:13): [True: 0, False: 0]
  ------------------
  859|      0|            return converterr("int", arg, msgbuf, bufsize);
  860|      0|        }
  861|      0|        Py_ssize_t bytes = PyLong_AsNativeBytes(arg, p, sizeof(unsigned long),
  862|      0|                Py_ASNATIVEBYTES_NATIVE_ENDIAN |
  ------------------
  |  |   47|      0|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  ------------------
  863|      0|                Py_ASNATIVEBYTES_ALLOW_INDEX |
  ------------------
  |  |   50|      0|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  ------------------
  864|      0|                Py_ASNATIVEBYTES_UNSIGNED_BUFFER);
  ------------------
  |  |   48|      0|#define Py_ASNATIVEBYTES_UNSIGNED_BUFFER 4
  ------------------
  865|      0|        if (bytes < 0) {
  ------------------
  |  Branch (865:13): [True: 0, False: 0]
  ------------------
  866|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  867|      0|        }
  868|      0|        if ((size_t)bytes > sizeof(unsigned long)) {
  ------------------
  |  Branch (868:13): [True: 0, False: 0]
  ------------------
  869|      0|            if (PyErr_WarnEx(PyExc_DeprecationWarning,
  ------------------
  |  Branch (869:17): [True: 0, False: 0]
  ------------------
  870|      0|                "integer value out of range", 1) < 0)
  871|      0|            {
  872|      0|                RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  873|      0|            }
  874|      0|        }
  875|      0|        break;
  876|      0|    }
  877|       |
  878|      0|    case 'L': {/* long long */
  ------------------
  |  Branch (878:5): [True: 0, False: 1.38k]
  ------------------
  879|      0|        long long *p = va_arg( *p_va, long long * );
  880|      0|        long long ival = PyLong_AsLongLong(arg);
  881|      0|        if (ival == (long long)-1 && PyErr_Occurred())
  ------------------
  |  Branch (881:13): [True: 0, False: 0]
  |  Branch (881:38): [True: 0, False: 0]
  ------------------
  882|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  883|      0|        else
  884|      0|            *p = ival;
  885|      0|        break;
  886|      0|    }
  887|       |
  888|      0|    case 'K': { /* long long sized bitfield */
  ------------------
  |  Branch (888:5): [True: 0, False: 1.38k]
  ------------------
  889|      0|        unsigned long long *p = va_arg(*p_va, unsigned long long *);
  890|      0|        if (!PyIndex_Check(arg)) {
  ------------------
  |  Branch (890:13): [True: 0, False: 0]
  ------------------
  891|      0|            return converterr("int", arg, msgbuf, bufsize);
  892|      0|        }
  893|      0|        Py_ssize_t bytes = PyLong_AsNativeBytes(arg, p, sizeof(unsigned long long),
  894|      0|                Py_ASNATIVEBYTES_NATIVE_ENDIAN |
  ------------------
  |  |   47|      0|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  ------------------
  895|      0|                Py_ASNATIVEBYTES_ALLOW_INDEX |
  ------------------
  |  |   50|      0|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  ------------------
  896|      0|                Py_ASNATIVEBYTES_UNSIGNED_BUFFER);
  ------------------
  |  |   48|      0|#define Py_ASNATIVEBYTES_UNSIGNED_BUFFER 4
  ------------------
  897|      0|        if (bytes < 0) {
  ------------------
  |  Branch (897:13): [True: 0, False: 0]
  ------------------
  898|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  899|      0|        }
  900|      0|        if ((size_t)bytes > sizeof(unsigned long long)) {
  ------------------
  |  Branch (900:13): [True: 0, False: 0]
  ------------------
  901|      0|            if (PyErr_WarnEx(PyExc_DeprecationWarning,
  ------------------
  |  Branch (901:17): [True: 0, False: 0]
  ------------------
  902|      0|                "integer value out of range", 1) < 0)
  903|      0|            {
  904|      0|                RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  905|      0|            }
  906|      0|        }
  907|      0|        break;
  908|      0|    }
  909|       |
  910|      0|    case 'f': {/* float */
  ------------------
  |  Branch (910:5): [True: 0, False: 1.38k]
  ------------------
  911|      0|        float *p = va_arg(*p_va, float *);
  912|      0|        double dval = PyFloat_AsDouble(arg);
  913|      0|        if (dval == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (913:13): [True: 0, False: 0]
  |  Branch (913:29): [True: 0, False: 0]
  ------------------
  914|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  915|      0|        else
  916|      0|            *p = (float) dval;
  917|      0|        break;
  918|      0|    }
  919|       |
  920|      0|    case 'd': {/* double */
  ------------------
  |  Branch (920:5): [True: 0, False: 1.38k]
  ------------------
  921|      0|        double *p = va_arg(*p_va, double *);
  922|      0|        double dval = PyFloat_AsDouble(arg);
  923|      0|        if (dval == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (923:13): [True: 0, False: 0]
  |  Branch (923:29): [True: 0, False: 0]
  ------------------
  924|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  925|      0|        else
  926|      0|            *p = dval;
  927|      0|        break;
  928|      0|    }
  929|       |
  930|      0|    case 'D': {/* complex double */
  ------------------
  |  Branch (930:5): [True: 0, False: 1.38k]
  ------------------
  931|      0|        Py_complex *p = va_arg(*p_va, Py_complex *);
  932|      0|        Py_complex cval;
  933|      0|        cval = PyComplex_AsCComplex(arg);
  934|      0|        if (PyErr_Occurred())
  ------------------
  |  Branch (934:13): [True: 0, False: 0]
  ------------------
  935|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  936|      0|        else
  937|      0|            *p = cval;
  938|      0|        break;
  939|      0|    }
  940|       |
  941|      0|    case 'c': {/* char */
  ------------------
  |  Branch (941:5): [True: 0, False: 1.38k]
  ------------------
  942|      0|        char *p = va_arg(*p_va, char *);
  943|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  944|      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 (944:17): [True: 0, False: 0]
  ------------------
  945|      0|                return convertcharerr("a byte string of length 1",
  946|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  947|      0|                                      msgbuf, bufsize);
  948|      0|            }
  949|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  950|      0|        }
  951|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  952|      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 (952:17): [True: 0, False: 0]
  ------------------
  953|      0|                return convertcharerr("a byte string of length 1",
  954|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  955|      0|                                      msgbuf, bufsize);
  956|      0|            }
  957|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  958|      0|        }
  959|      0|        else
  960|      0|            return converterr("a byte string of length 1", arg, msgbuf, bufsize);
  961|      0|        break;
  962|      0|    }
  963|       |
  964|      0|    case 'C': {/* unicode char */
  ------------------
  |  Branch (964:5): [True: 0, False: 1.38k]
  ------------------
  965|      0|        int *p = va_arg(*p_va, int *);
  966|      0|        int kind;
  967|      0|        const void *data;
  968|       |
  969|      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 (969:13): [True: 0, False: 0]
  ------------------
  970|      0|            return converterr("a unicode character", arg, msgbuf, bufsize);
  971|       |
  972|      0|        if (PyUnicode_GET_LENGTH(arg) != 1) {
  ------------------
  |  |  300|      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 (972:13): [True: 0, False: 0]
  ------------------
  973|      0|            return convertcharerr("a unicode character",
  974|      0|                                  "a string", PyUnicode_GET_LENGTH(arg),
  ------------------
  |  |  300|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  975|      0|                                  msgbuf, bufsize);
  976|      0|        }
  977|       |
  978|      0|        kind = PyUnicode_KIND(arg);
  ------------------
  |  |  259|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  979|      0|        data = PyUnicode_DATA(arg);
  ------------------
  |  |  285|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  980|      0|        *p = PyUnicode_READ(kind, data, 0);
  ------------------
  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      0|                   (index))
  ------------------
  981|      0|        break;
  982|      0|    }
  983|       |
  984|      2|    case 'p': {/* boolean *p*redicate */
  ------------------
  |  Branch (984:5): [True: 2, False: 1.38k]
  ------------------
  985|      2|        int *p = va_arg(*p_va, int *);
  986|      2|        int val = PyObject_IsTrue(arg);
  987|      2|        if (val > 0)
  ------------------
  |  Branch (987:13): [True: 0, False: 2]
  ------------------
  988|      0|            *p = 1;
  989|      2|        else if (val == 0)
  ------------------
  |  Branch (989:18): [True: 2, False: 0]
  ------------------
  990|      2|            *p = 0;
  991|      0|        else
  992|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  993|      2|        break;
  994|      2|    }
  995|       |
  996|       |    /* XXX WAAAAH!  's', 'y', 'z', 'u', 'Z', 'e', 'w' codes all
  997|       |       need to be cleaned up! */
  998|       |
  999|      2|    case 'y': {/* any bytes-like object */
  ------------------
  |  Branch (999:5): [True: 0, False: 1.38k]
  ------------------
 1000|      0|        void **p = (void **)va_arg(*p_va, char **);
 1001|      0|        const char *buf;
 1002|      0|        Py_ssize_t count;
 1003|      0|        if (*format == '*') {
  ------------------
  |  Branch (1003:13): [True: 0, False: 0]
  ------------------
 1004|      0|            if (getbuffer(arg, (Py_buffer*)p, &buf) < 0)
  ------------------
  |  Branch (1004:17): [True: 0, False: 0]
  ------------------
 1005|      0|                return converterr(buf, arg, msgbuf, bufsize);
 1006|      0|            format++;
 1007|      0|            if (addcleanup(p, freelist, cleanup_buffer)) {
  ------------------
  |  Branch (1007:17): [True: 0, False: 0]
  ------------------
 1008|      0|                return converterr(
 1009|      0|                    "(cleanup problem)",
 1010|      0|                    arg, msgbuf, bufsize);
 1011|      0|            }
 1012|      0|            break;
 1013|      0|        }
 1014|      0|        count = convertbuffer(arg, (const void **)p, &buf);
 1015|      0|        if (count < 0)
  ------------------
  |  Branch (1015:13): [True: 0, False: 0]
  ------------------
 1016|      0|            return converterr(buf, arg, msgbuf, bufsize);
 1017|      0|        if (*format == '#') {
  ------------------
  |  Branch (1017:13): [True: 0, False: 0]
  ------------------
 1018|      0|            Py_ssize_t *psize = va_arg(*p_va, Py_ssize_t*);
 1019|      0|            *psize = count;
 1020|      0|            format++;
 1021|      0|        } else {
 1022|      0|            if (strlen(*p) != (size_t)count) {
  ------------------
  |  Branch (1022:17): [True: 0, False: 0]
  ------------------
 1023|      0|                PyErr_SetString(PyExc_ValueError, "embedded null byte");
 1024|      0|                RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
 1025|      0|            }
 1026|      0|        }
 1027|      0|        break;
 1028|      0|    }
 1029|       |
 1030|      0|    case 's': /* text string or bytes-like object */
  ------------------
  |  Branch (1030:5): [True: 0, False: 1.38k]
  ------------------
 1031|      0|    case 'z': /* text string, bytes-like object or None */
  ------------------
  |  Branch (1031:5): [True: 0, False: 1.38k]
  ------------------
 1032|      0|    {
 1033|      0|        if (*format == '*') {
  ------------------
  |  Branch (1033:13): [True: 0, False: 0]
  ------------------
 1034|       |            /* "s*" or "z*" */
 1035|      0|            Py_buffer *p = (Py_buffer *)va_arg(*p_va, Py_buffer *);
 1036|       |
 1037|      0|            if (c == 'z' && arg == Py_None)
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1037:17): [True: 0, False: 0]
  |  Branch (1037:29): [True: 0, False: 0]
  ------------------
 1038|      0|                PyBuffer_FillInfo(p, NULL, NULL, 0, 1, 0);
 1039|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1040|      0|                Py_ssize_t len;
 1041|      0|                sarg = PyUnicode_AsUTF8AndSize(arg, &len);
 1042|      0|                if (sarg == NULL)
  ------------------
  |  Branch (1042:21): [True: 0, False: 0]
  ------------------
 1043|      0|                    return converterr(CONV_UNICODE,
  ------------------
  |  |  688|      0|#define CONV_UNICODE "(unicode conversion error)"
  ------------------
 1044|      0|                                      arg, msgbuf, bufsize);
 1045|      0|                PyBuffer_FillInfo(p, arg, (void *)sarg, len, 1, 0);
 1046|      0|            }
 1047|      0|            else { /* any bytes-like object */
 1048|      0|                const char *buf;
 1049|      0|                if (getbuffer(arg, p, &buf) < 0)
  ------------------
  |  Branch (1049:21): [True: 0, False: 0]
  ------------------
 1050|      0|                    return converterr(buf, arg, msgbuf, bufsize);
 1051|      0|            }
 1052|      0|            if (addcleanup(p, freelist, cleanup_buffer)) {
  ------------------
  |  Branch (1052:17): [True: 0, False: 0]
  ------------------
 1053|      0|                return converterr(
 1054|      0|                    "(cleanup problem)",
 1055|      0|                    arg, msgbuf, bufsize);
 1056|      0|            }
 1057|      0|            format++;
 1058|      0|        } else if (*format == '#') { /* a string or read-only bytes-like object */
  ------------------
  |  Branch (1058:20): [True: 0, False: 0]
  ------------------
 1059|       |            /* "s#" or "z#" */
 1060|      0|            const void **p = (const void **)va_arg(*p_va, const char **);
 1061|      0|            Py_ssize_t *psize = va_arg(*p_va, Py_ssize_t*);
 1062|       |
 1063|      0|            if (c == 'z' && arg == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1063:17): [True: 0, False: 0]
  |  Branch (1063:29): [True: 0, False: 0]
  ------------------
 1064|      0|                *p = NULL;
 1065|      0|                *psize = 0;
 1066|      0|            }
 1067|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1068|      0|                Py_ssize_t len;
 1069|      0|                sarg = PyUnicode_AsUTF8AndSize(arg, &len);
 1070|      0|                if (sarg == NULL)
  ------------------
  |  Branch (1070:21): [True: 0, False: 0]
  ------------------
 1071|      0|                    return converterr(CONV_UNICODE,
  ------------------
  |  |  688|      0|#define CONV_UNICODE "(unicode conversion error)"
  ------------------
 1072|      0|                                      arg, msgbuf, bufsize);
 1073|      0|                *p = sarg;
 1074|      0|                *psize = len;
 1075|      0|            }
 1076|      0|            else { /* read-only bytes-like object */
 1077|       |                /* XXX Really? */
 1078|      0|                const char *buf;
 1079|      0|                Py_ssize_t count = convertbuffer(arg, p, &buf);
 1080|      0|                if (count < 0)
  ------------------
  |  Branch (1080:21): [True: 0, False: 0]
  ------------------
 1081|      0|                    return converterr(buf, arg, msgbuf, bufsize);
 1082|      0|                *psize = count;
 1083|      0|            }
 1084|      0|            format++;
 1085|      0|        } else {
 1086|       |            /* "s" or "z" */
 1087|      0|            const char **p = va_arg(*p_va, const char **);
 1088|      0|            Py_ssize_t len;
 1089|      0|            sarg = NULL;
 1090|       |
 1091|      0|            if (c == 'z' && arg == Py_None)
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1091:17): [True: 0, False: 0]
  |  Branch (1091:29): [True: 0, False: 0]
  ------------------
 1092|      0|                *p = NULL;
 1093|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1094|      0|                sarg = PyUnicode_AsUTF8AndSize(arg, &len);
 1095|      0|                if (sarg == NULL)
  ------------------
  |  Branch (1095:21): [True: 0, False: 0]
  ------------------
 1096|      0|                    return converterr(CONV_UNICODE,
  ------------------
  |  |  688|      0|#define CONV_UNICODE "(unicode conversion error)"
  ------------------
 1097|      0|                                      arg, msgbuf, bufsize);
 1098|      0|                if (strlen(sarg) != (size_t)len) {
  ------------------
  |  Branch (1098:21): [True: 0, False: 0]
  ------------------
 1099|      0|                    PyErr_SetString(PyExc_ValueError, "embedded null character");
 1100|      0|                    RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
 1101|      0|                }
 1102|      0|                *p = sarg;
 1103|      0|            }
 1104|      0|            else
 1105|      0|                return converterr(c == 'z' ? "str or None" : "str",
  ------------------
  |  Branch (1105:35): [True: 0, False: 0]
  ------------------
 1106|      0|                                  arg, msgbuf, bufsize);
 1107|      0|        }
 1108|      0|        break;
 1109|      0|    }
 1110|       |
 1111|      0|    case 'e': {/* encoded string */
  ------------------
  |  Branch (1111:5): [True: 0, False: 1.38k]
  ------------------
 1112|      0|        char **buffer;
 1113|      0|        const char *encoding;
 1114|      0|        PyObject *s;
 1115|      0|        int recode_strings;
 1116|      0|        Py_ssize_t size;
 1117|      0|        const char *ptr;
 1118|       |
 1119|       |        /* Get 'e' parameter: the encoding name */
 1120|      0|        encoding = (const char *)va_arg(*p_va, const char *);
 1121|      0|        if (encoding == NULL)
  ------------------
  |  Branch (1121:13): [True: 0, False: 0]
  ------------------
 1122|      0|            encoding = PyUnicode_GetDefaultEncoding();
 1123|       |
 1124|       |        /* Get output buffer parameter:
 1125|       |           's' (recode all objects via Unicode) or
 1126|       |           't' (only recode non-string objects)
 1127|       |        */
 1128|      0|        if (*format == 's')
  ------------------
  |  Branch (1128:13): [True: 0, False: 0]
  ------------------
 1129|      0|            recode_strings = 1;
 1130|      0|        else if (*format == 't')
  ------------------
  |  Branch (1130:18): [True: 0, False: 0]
  ------------------
 1131|      0|            recode_strings = 0;
 1132|      0|        else
 1133|      0|            return converterr(
 1134|      0|                "(unknown parser marker combination)",
 1135|      0|                arg, msgbuf, bufsize);
 1136|      0|        buffer = (char **)va_arg(*p_va, char **);
 1137|      0|        format++;
 1138|      0|        if (buffer == NULL)
  ------------------
  |  Branch (1138:13): [True: 0, False: 0]
  ------------------
 1139|      0|            return converterr("(buffer is NULL)",
 1140|      0|                              arg, msgbuf, bufsize);
 1141|       |
 1142|       |        /* Encode object */
 1143|      0|        if (!recode_strings &&
  ------------------
  |  Branch (1143:13): [True: 0, False: 0]
  ------------------
 1144|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1145|      0|            s = Py_NewRef(arg);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1146|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1147|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1148|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1149|      0|            }
 1150|      0|            else {
 1151|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1152|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1153|      0|            }
 1154|      0|        }
 1155|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1156|       |            /* Encode object; use default error handling */
 1157|      0|            s = PyUnicode_AsEncodedString(arg,
 1158|      0|                                          encoding,
 1159|      0|                                          NULL);
 1160|      0|            if (s == NULL)
  ------------------
  |  Branch (1160:17): [True: 0, False: 0]
  ------------------
 1161|      0|                return converterr("(encoding failed)",
 1162|      0|                                  arg, msgbuf, bufsize);
 1163|      0|            assert(PyBytes_Check(s));
  ------------------
  |  Branch (1163:13): [True: 0, False: 0]
  ------------------
 1164|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1165|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1166|      0|            if (ptr == NULL)
  ------------------
  |  Branch (1166:17): [True: 0, False: 0]
  ------------------
 1167|      0|                ptr = "";
 1168|      0|        }
 1169|      0|        else {
 1170|      0|            return converterr(
 1171|      0|                recode_strings ? "str" : "str, bytes or bytearray",
  ------------------
  |  Branch (1171:17): [True: 0, False: 0]
  ------------------
 1172|      0|                arg, msgbuf, bufsize);
 1173|      0|        }
 1174|       |
 1175|       |        /* Write output; output is guaranteed to be 0-terminated */
 1176|      0|        if (*format == '#') {
  ------------------
  |  Branch (1176:13): [True: 0, False: 0]
  ------------------
 1177|       |            /* Using buffer length parameter '#':
 1178|       |
 1179|       |               - if *buffer is NULL, a new buffer of the
 1180|       |               needed size is allocated and the data
 1181|       |               copied into it; *buffer is updated to point
 1182|       |               to the new buffer; the caller is
 1183|       |               responsible for PyMem_Free()ing it after
 1184|       |               usage
 1185|       |
 1186|       |               - if *buffer is not NULL, the data is
 1187|       |               copied to *buffer; *buffer_len has to be
 1188|       |               set to the size of the buffer on input;
 1189|       |               buffer overflow is signalled with an error;
 1190|       |               buffer has to provide enough room for the
 1191|       |               encoded string plus the trailing 0-byte
 1192|       |
 1193|       |               - in both cases, *buffer_len is updated to
 1194|       |               the size of the buffer /excluding/ the
 1195|       |               trailing 0-byte
 1196|       |
 1197|       |            */
 1198|      0|            Py_ssize_t *psize = va_arg(*p_va, Py_ssize_t*);
 1199|       |
 1200|      0|            format++;
 1201|      0|            if (psize == NULL) {
  ------------------
  |  Branch (1201:17): [True: 0, False: 0]
  ------------------
 1202|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1203|      0|                return converterr(
 1204|      0|                    "(buffer_len is NULL)",
 1205|      0|                    arg, msgbuf, bufsize);
 1206|      0|            }
 1207|      0|            if (*buffer == NULL) {
  ------------------
  |  Branch (1207:17): [True: 0, False: 0]
  ------------------
 1208|      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)) ) )
  |  |  ------------------
  ------------------
 1209|      0|                if (*buffer == NULL) {
  ------------------
  |  Branch (1209:21): [True: 0, False: 0]
  ------------------
 1210|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1211|      0|                    PyErr_NoMemory();
 1212|      0|                    RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
 1213|      0|                }
 1214|      0|                if (addcleanup(buffer, freelist, cleanup_ptr)) {
  ------------------
  |  Branch (1214:21): [True: 0, False: 0]
  ------------------
 1215|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1216|      0|                    return converterr(
 1217|      0|                        "(cleanup problem)",
 1218|      0|                        arg, msgbuf, bufsize);
 1219|      0|                }
 1220|      0|            } else {
 1221|      0|                if (size + 1 > *psize) {
  ------------------
  |  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_Format(PyExc_ValueError,
 1224|      0|                                 "encoded string too long "
 1225|      0|                                 "(%zd, maximum length %zd)",
 1226|      0|                                 (Py_ssize_t)size, (Py_ssize_t)(*psize - 1));
 1227|      0|                    RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
 1228|      0|                }
 1229|      0|            }
 1230|      0|            memcpy(*buffer, ptr, size+1);
 1231|       |
 1232|      0|            *psize = size;
 1233|      0|        }
 1234|      0|        else {
 1235|       |            /* Using a 0-terminated buffer:
 1236|       |
 1237|       |               - the encoded string has to be 0-terminated
 1238|       |               for this variant to work; if it is not, an
 1239|       |               error raised
 1240|       |
 1241|       |               - a new buffer of the needed size is
 1242|       |               allocated and the data copied into it;
 1243|       |               *buffer is updated to point to the new
 1244|       |               buffer; the caller is responsible for
 1245|       |               PyMem_Free()ing it after usage
 1246|       |
 1247|       |            */
 1248|      0|            if ((Py_ssize_t)strlen(ptr) != size) {
  ------------------
  |  Branch (1248:17): [True: 0, False: 0]
  ------------------
 1249|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1250|      0|                return converterr(
 1251|      0|                    "encoded string without null bytes",
 1252|      0|                    arg, msgbuf, bufsize);
 1253|      0|            }
 1254|      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)) ) )
  |  |  ------------------
  ------------------
 1255|      0|            if (*buffer == NULL) {
  ------------------
  |  Branch (1255:17): [True: 0, False: 0]
  ------------------
 1256|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1257|      0|                PyErr_NoMemory();
 1258|      0|                RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
 1259|      0|            }
 1260|      0|            if (addcleanup(buffer, freelist, cleanup_ptr)) {
  ------------------
  |  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("(cleanup problem)",
 1263|      0|                                arg, msgbuf, bufsize);
 1264|      0|            }
 1265|      0|            memcpy(*buffer, ptr, size+1);
 1266|      0|        }
 1267|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1268|      0|        break;
 1269|      0|    }
 1270|       |
 1271|      0|    case 'S': { /* PyBytes object */
  ------------------
  |  Branch (1271:5): [True: 0, False: 1.38k]
  ------------------
 1272|      0|        PyObject **p = va_arg(*p_va, PyObject **);
 1273|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1274|      0|            *p = arg;
 1275|      0|        else
 1276|      0|            return converterr("bytes", arg, msgbuf, bufsize);
 1277|      0|        break;
 1278|      0|    }
 1279|       |
 1280|      0|    case 'Y': { /* PyByteArray object */
  ------------------
  |  Branch (1280:5): [True: 0, False: 1.38k]
  ------------------
 1281|      0|        PyObject **p = va_arg(*p_va, PyObject **);
 1282|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1283|      0|            *p = arg;
 1284|      0|        else
 1285|      0|            return converterr("bytearray", arg, msgbuf, bufsize);
 1286|      0|        break;
 1287|      0|    }
 1288|       |
 1289|    389|    case 'U': { /* PyUnicode object */
  ------------------
  |  Branch (1289:5): [True: 389, False: 997]
  ------------------
 1290|    389|        PyObject **p = va_arg(*p_va, PyObject **);
 1291|    389|        if (PyUnicode_Check(arg)) {
  ------------------
  |  |  103|    389|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    389|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 389, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1292|    389|            *p = arg;
 1293|    389|        }
 1294|      0|        else
 1295|      0|            return converterr("str", arg, msgbuf, bufsize);
 1296|    389|        break;
 1297|    389|    }
 1298|       |
 1299|    983|    case 'O': { /* object */
  ------------------
  |  Branch (1299:5): [True: 983, False: 403]
  ------------------
 1300|    983|        PyTypeObject *type;
 1301|    983|        PyObject **p;
 1302|    983|        if (*format == '!') {
  ------------------
  |  Branch (1302:13): [True: 377, False: 606]
  ------------------
 1303|    377|            type = va_arg(*p_va, PyTypeObject*);
 1304|    377|            p = va_arg(*p_va, PyObject **);
 1305|    377|            format++;
 1306|    377|            if (PyType_IsSubtype(Py_TYPE(arg), type))
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1306:17): [True: 377, False: 0]
  ------------------
 1307|    377|                *p = arg;
 1308|      0|            else
 1309|      0|                return converterr(type->tp_name, arg, msgbuf, bufsize);
 1310|       |
 1311|    377|        }
 1312|    606|        else if (*format == '&') {
  ------------------
  |  Branch (1312:18): [True: 0, False: 606]
  ------------------
 1313|      0|            typedef int (*converter)(PyObject *, void *);
 1314|      0|            converter convert = va_arg(*p_va, converter);
 1315|      0|            void *addr = va_arg(*p_va, void *);
 1316|      0|            int res;
 1317|      0|            format++;
 1318|      0|            if (! (res = (*convert)(arg, addr)))
  ------------------
  |  Branch (1318:17): [True: 0, False: 0]
  ------------------
 1319|      0|                return converterr("(unspecified)",
 1320|      0|                                  arg, msgbuf, bufsize);
 1321|      0|            if (res == Py_CLEANUP_SUPPORTED &&
  ------------------
  |  |   57|      0|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
  |  Branch (1321:17): [True: 0, False: 0]
  ------------------
 1322|      0|                addcleanup(addr, freelist, convert) == -1)
  ------------------
  |  Branch (1322:17): [True: 0, False: 0]
  ------------------
 1323|      0|                return converterr("(cleanup problem)",
 1324|      0|                                arg, msgbuf, bufsize);
 1325|      0|        }
 1326|    606|        else {
 1327|    606|            p = va_arg(*p_va, PyObject **);
 1328|    606|            *p = arg;
 1329|    606|        }
 1330|    983|        break;
 1331|    983|    }
 1332|       |
 1333|       |
 1334|    983|    case 'w': { /* "w*": memory buffer, read-write access */
  ------------------
  |  Branch (1334:5): [True: 0, False: 1.38k]
  ------------------
 1335|      0|        void **p = va_arg(*p_va, void **);
 1336|       |
 1337|      0|        if (*format != '*')
  ------------------
  |  Branch (1337:13): [True: 0, False: 0]
  ------------------
 1338|      0|            return converterr(
 1339|      0|                "(invalid use of 'w' format character)",
 1340|      0|                arg, msgbuf, bufsize);
 1341|      0|        format++;
 1342|       |
 1343|       |        /* Caller is interested in Py_buffer, and the object supports it
 1344|       |           directly. The request implicitly asks for PyBUF_SIMPLE, so the
 1345|       |           result is C-contiguous with format 'B'. */
 1346|      0|        if (PyObject_GetBuffer(arg, (Py_buffer*)p, PyBUF_WRITABLE) < 0) {
  ------------------
  |  |  109|      0|#define PyBUF_WRITABLE 0x0001
  ------------------
  |  Branch (1346:13): [True: 0, False: 0]
  ------------------
 1347|      0|            PyErr_Clear();
 1348|      0|            return converterr("read-write bytes-like object",
 1349|      0|                              arg, msgbuf, bufsize);
 1350|      0|        }
 1351|      0|        assert(PyBuffer_IsContiguous((Py_buffer *)p, 'C'));
  ------------------
  |  Branch (1351:9): [True: 0, False: 0]
  ------------------
 1352|      0|        if (addcleanup(p, freelist, cleanup_buffer)) {
  ------------------
  |  Branch (1352:13): [True: 0, False: 0]
  ------------------
 1353|      0|            return converterr(
 1354|      0|                "(cleanup problem)",
 1355|      0|                arg, msgbuf, bufsize);
 1356|      0|        }
 1357|      0|        break;
 1358|      0|    }
 1359|       |
 1360|      0|    default:
  ------------------
  |  Branch (1360:5): [True: 0, False: 1.38k]
  ------------------
 1361|      0|        return converterr("(impossible<bad format char>)", arg, msgbuf, bufsize);
 1362|       |
 1363|  1.38k|    }
 1364|       |
 1365|  1.38k|    *p_format = format;
 1366|  1.38k|    return NULL;
 1367|       |
 1368|  1.38k|#undef RETURN_ERR_OCCURRED
 1369|  1.38k|}
getargs.c:vgetargs1:
  402|    419|{
  403|    419|    PyObject **stack;
  404|    419|    Py_ssize_t nargs;
  405|       |
  406|    419|    if (!(flags & FLAG_COMPAT)) {
  ------------------
  |  |   24|    419|#define FLAG_COMPAT 1
  ------------------
  |  Branch (406:9): [True: 419, False: 0]
  ------------------
  407|    419|        assert(args != NULL);
  ------------------
  |  Branch (407:9): [True: 419, False: 0]
  ------------------
  408|       |
  409|    419|        if (!PyTuple_Check(args)) {
  ------------------
  |  |   27|    419|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    419|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (409:13): [True: 0, False: 419]
  ------------------
  410|      0|            PyErr_SetString(PyExc_SystemError,
  411|      0|                "new style getargs format but argument is not a tuple");
  412|      0|            return 0;
  413|      0|        }
  414|       |
  415|    419|        stack = _PyTuple_ITEMS(args);
  ------------------
  |  |   26|    419|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  313|    838|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 419, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  416|    419|        nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    419|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    419|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    419|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  417|    419|    }
  418|      0|    else {
  419|      0|        stack = NULL;
  420|      0|        nargs = 0;
  421|      0|    }
  422|       |
  423|    419|    return vgetargs1_impl(args, stack, nargs, format, p_va, flags);
  424|    419|}
getargs.c:vgetargskeywords_impl:
 1665|      3|{
 1666|      3|    char msgbuf[512];
 1667|      3|    int levels[32];
 1668|      3|    const char *fname, *msg, *custom_msg;
 1669|      3|    int min = INT_MAX;
 1670|      3|    int max = INT_MAX;
 1671|      3|    int i, pos, len;
 1672|      3|    int skip = 0;
 1673|      3|    Py_ssize_t nkwargs;
 1674|      3|    freelistentry_t static_entries[STATIC_FREELIST_ENTRIES];
 1675|      3|    freelist_t freelist;
 1676|      3|    PyObject * const *kwstack = NULL;
 1677|       |
 1678|      3|    freelist.entries = static_entries;
 1679|      3|    freelist.first_available = 0;
 1680|      3|    freelist.entries_malloced = 0;
 1681|       |
 1682|      3|    assert(args != NULL || nargs == 0);
  ------------------
  |  Branch (1682:5): [True: 3, False: 0]
  |  Branch (1682:5): [True: 0, False: 0]
  ------------------
 1683|      3|    assert(kwargs == NULL || PyDict_Check(kwargs));
  ------------------
  |  Branch (1683:5): [True: 3, False: 0]
  |  Branch (1683:5): [True: 0, False: 0]
  ------------------
 1684|      3|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (1684:5): [True: 3, False: 0]
  |  Branch (1684:5): [True: 0, False: 0]
  ------------------
 1685|      3|    assert(format != NULL);
  ------------------
  |  Branch (1685:5): [True: 3, False: 0]
  ------------------
 1686|      3|    assert(kwlist != NULL);
  ------------------
  |  Branch (1686:5): [True: 3, False: 0]
  ------------------
 1687|      3|    assert(p_va != NULL);
  ------------------
  |  Branch (1687:5): [True: 3, False: 0]
  ------------------
 1688|       |
 1689|       |    /* grab the function name or custom error msg first (mutually exclusive) */
 1690|      3|    fname = strchr(format, ':');
 1691|      3|    if (fname) {
  ------------------
  |  Branch (1691:9): [True: 3, False: 0]
  ------------------
 1692|      3|        fname++;
 1693|      3|        custom_msg = NULL;
 1694|      3|    }
 1695|      0|    else {
 1696|      0|        custom_msg = strchr(format,';');
 1697|      0|        if (custom_msg)
  ------------------
  |  Branch (1697:13): [True: 0, False: 0]
  ------------------
 1698|      0|            custom_msg++;
 1699|      0|    }
 1700|       |
 1701|       |    /* scan kwlist and count the number of positional-only parameters */
 1702|      4|    for (pos = 0; kwlist[pos] && !*kwlist[pos]; pos++) {
  ------------------
  |  Branch (1702:19): [True: 4, False: 0]
  |  Branch (1702:34): [True: 1, False: 3]
  ------------------
 1703|      1|    }
 1704|       |    /* scan kwlist and get greatest possible nbr of args */
 1705|     12|    for (len = pos; kwlist[len]; len++) {
  ------------------
  |  Branch (1705:21): [True: 9, False: 3]
  ------------------
 1706|      9|        if (!*kwlist[len]) {
  ------------------
  |  Branch (1706:13): [True: 0, False: 9]
  ------------------
 1707|      0|            PyErr_SetString(PyExc_SystemError,
 1708|      0|                            "Empty keyword parameter name");
 1709|      0|            return cleanreturn(0, &freelist);
 1710|      0|        }
 1711|      9|    }
 1712|       |
 1713|      3|    if (len > STATIC_FREELIST_ENTRIES) {
  ------------------
  |  |   44|      3|#define STATIC_FREELIST_ENTRIES 8
  ------------------
  |  Branch (1713:9): [True: 0, False: 3]
  ------------------
 1714|      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)) ) )
  |  |  ------------------
  ------------------
 1715|      0|        if (freelist.entries == NULL) {
  ------------------
  |  Branch (1715:13): [True: 0, False: 0]
  ------------------
 1716|      0|            PyErr_NoMemory();
 1717|      0|            return 0;
 1718|      0|        }
 1719|      0|        freelist.entries_malloced = 1;
 1720|      0|    }
 1721|       |
 1722|      3|    if (kwargs != NULL) {
  ------------------
  |  Branch (1722:9): [True: 0, False: 3]
  ------------------
 1723|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1724|      0|    }
 1725|      3|    else if (kwnames != NULL) {
  ------------------
  |  Branch (1725:14): [True: 0, False: 3]
  ------------------
 1726|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1727|      0|        kwstack = args + nargs;
 1728|      0|    }
 1729|      3|    else {
 1730|      3|        nkwargs = 0;
 1731|      3|    }
 1732|      3|    if (nargs + nkwargs > len) {
  ------------------
  |  Branch (1732:9): [True: 0, False: 3]
  ------------------
 1733|       |        /* Adding "keyword" (when nargs == 0) prevents producing wrong error
 1734|       |           messages in some special cases (see bpo-31229). */
 1735|      0|        PyErr_Format(PyExc_TypeError,
 1736|      0|                     "%.200s%s takes at most %d %sargument%s (%zd given)",
 1737|      0|                     (fname == NULL) ? "function" : fname,
  ------------------
  |  Branch (1737:22): [True: 0, False: 0]
  ------------------
 1738|      0|                     (fname == NULL) ? "" : "()",
  ------------------
  |  Branch (1738:22): [True: 0, False: 0]
  ------------------
 1739|      0|                     len,
 1740|      0|                     (nargs == 0) ? "keyword " : "",
  ------------------
  |  Branch (1740:22): [True: 0, False: 0]
  ------------------
 1741|      0|                     (len == 1) ? "" : "s",
  ------------------
  |  Branch (1741:22): [True: 0, False: 0]
  ------------------
 1742|      0|                     nargs + nkwargs);
 1743|      0|        return cleanreturn(0, &freelist);
 1744|      0|    }
 1745|       |
 1746|       |    /* convert tuple args and keyword args in same loop, using kwlist to drive process */
 1747|     12|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (1747:17): [True: 10, False: 2]
  ------------------
 1748|     10|        if (*format == '|') {
  ------------------
  |  Branch (1748:13): [True: 1, False: 9]
  ------------------
 1749|      1|            if (min != INT_MAX) {
  ------------------
  |  Branch (1749:17): [True: 0, False: 1]
  ------------------
 1750|      0|                PyErr_SetString(PyExc_SystemError,
 1751|      0|                                "Invalid format string (| specified twice)");
 1752|      0|                return cleanreturn(0, &freelist);
 1753|      0|            }
 1754|       |
 1755|      1|            min = i;
 1756|      1|            format++;
 1757|       |
 1758|      1|            if (max != INT_MAX) {
  ------------------
  |  Branch (1758:17): [True: 0, False: 1]
  ------------------
 1759|      0|                PyErr_SetString(PyExc_SystemError,
 1760|      0|                                "Invalid format string ($ before |)");
 1761|      0|                return cleanreturn(0, &freelist);
 1762|      0|            }
 1763|      1|        }
 1764|     10|        if (*format == '$') {
  ------------------
  |  Branch (1764:13): [True: 1, False: 9]
  ------------------
 1765|      1|            if (max != INT_MAX) {
  ------------------
  |  Branch (1765:17): [True: 0, False: 1]
  ------------------
 1766|      0|                PyErr_SetString(PyExc_SystemError,
 1767|      0|                                "Invalid format string ($ specified twice)");
 1768|      0|                return cleanreturn(0, &freelist);
 1769|      0|            }
 1770|       |
 1771|      1|            max = i;
 1772|      1|            format++;
 1773|       |
 1774|      1|            if (max < pos) {
  ------------------
  |  Branch (1774:17): [True: 0, False: 1]
  ------------------
 1775|      0|                PyErr_SetString(PyExc_SystemError,
 1776|      0|                                "Empty parameter name after $");
 1777|      0|                return cleanreturn(0, &freelist);
 1778|      0|            }
 1779|      1|            if (skip) {
  ------------------
  |  Branch (1779:17): [True: 0, False: 1]
  ------------------
 1780|       |                /* Now we know the minimal and the maximal numbers of
 1781|       |                 * positional arguments and can raise an exception with
 1782|       |                 * informative message (see below). */
 1783|      0|                break;
 1784|      0|            }
 1785|      1|            if (max < nargs) {
  ------------------
  |  Branch (1785:17): [True: 0, False: 1]
  ------------------
 1786|      0|                if (max == 0) {
  ------------------
  |  Branch (1786:21): [True: 0, False: 0]
  ------------------
 1787|      0|                    PyErr_Format(PyExc_TypeError,
 1788|      0|                                 "%.200s%s takes no positional arguments",
 1789|      0|                                 (fname == NULL) ? "function" : fname,
  ------------------
  |  Branch (1789:34): [True: 0, False: 0]
  ------------------
 1790|      0|                                 (fname == NULL) ? "" : "()");
  ------------------
  |  Branch (1790:34): [True: 0, False: 0]
  ------------------
 1791|      0|                }
 1792|      0|                else {
 1793|      0|                    PyErr_Format(PyExc_TypeError,
 1794|      0|                                 "%.200s%s takes %s %d positional argument%s"
 1795|      0|                                 " (%zd given)",
 1796|      0|                                 (fname == NULL) ? "function" : fname,
  ------------------
  |  Branch (1796:34): [True: 0, False: 0]
  ------------------
 1797|      0|                                 (fname == NULL) ? "" : "()",
  ------------------
  |  Branch (1797:34): [True: 0, False: 0]
  ------------------
 1798|      0|                                 (min != INT_MAX) ? "at most" : "exactly",
  ------------------
  |  Branch (1798:34): [True: 0, False: 0]
  ------------------
 1799|      0|                                 max,
 1800|      0|                                 max == 1 ? "" : "s",
  ------------------
  |  Branch (1800:34): [True: 0, False: 0]
  ------------------
 1801|      0|                                 nargs);
 1802|      0|                }
 1803|      0|                return cleanreturn(0, &freelist);
 1804|      0|            }
 1805|      1|        }
 1806|     10|        if (IS_END_OF_FORMAT(*format)) {
  ------------------
  |  | 1658|     10|#define IS_END_OF_FORMAT(c) (c == '\0' || c == ';' || c == ':')
  |  |  ------------------
  |  |  |  Branch (1658:30): [True: 0, False: 10]
  |  |  |  Branch (1658:43): [True: 0, False: 10]
  |  |  |  Branch (1658:55): [True: 0, False: 10]
  |  |  ------------------
  ------------------
 1807|      0|            PyErr_Format(PyExc_SystemError,
 1808|      0|                         "More keyword list entries (%d) than "
 1809|      0|                         "format specifiers (%d)", len, i);
 1810|      0|            return cleanreturn(0, &freelist);
 1811|      0|        }
 1812|     10|        if (!skip) {
  ------------------
  |  Branch (1812:13): [True: 10, False: 0]
  ------------------
 1813|     10|            PyObject *current_arg;
 1814|     10|            if (i < nargs) {
  ------------------
  |  Branch (1814:17): [True: 9, False: 1]
  ------------------
 1815|      9|                current_arg = Py_NewRef(args[i]);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1816|      9|            }
 1817|      1|            else if (nkwargs && i >= pos) {
  ------------------
  |  Branch (1817:22): [True: 0, False: 1]
  |  Branch (1817:33): [True: 0, False: 0]
  ------------------
 1818|      0|                if (kwargs != NULL) {
  ------------------
  |  Branch (1818:21): [True: 0, False: 0]
  ------------------
 1819|      0|                    if (PyDict_GetItemStringRef(kwargs, kwlist[i], &current_arg) < 0) {
  ------------------
  |  Branch (1819:25): [True: 0, False: 0]
  ------------------
 1820|      0|                        return cleanreturn(0, &freelist);
 1821|      0|                    }
 1822|      0|                }
 1823|      0|                else {
 1824|      0|                    current_arg = find_keyword_str(kwnames, kwstack, kwlist[i]);
 1825|      0|                }
 1826|      0|                if (current_arg) {
  ------------------
  |  Branch (1826:21): [True: 0, False: 0]
  ------------------
 1827|      0|                    --nkwargs;
 1828|      0|                }
 1829|      0|            }
 1830|      1|            else {
 1831|      1|                current_arg = NULL;
 1832|      1|            }
 1833|       |
 1834|     10|            if (current_arg) {
  ------------------
  |  Branch (1834:17): [True: 9, False: 1]
  ------------------
 1835|      9|                msg = convertitem(current_arg, &format, p_va, flags,
 1836|      9|                    levels, msgbuf, sizeof(msgbuf), &freelist);
 1837|      9|                Py_DECREF(current_arg);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1838|      9|                if (msg) {
  ------------------
  |  Branch (1838:21): [True: 0, False: 9]
  ------------------
 1839|      0|                    seterror(i+1, msg, levels, fname, custom_msg);
 1840|      0|                    return cleanreturn(0, &freelist);
 1841|      0|                }
 1842|      9|                continue;
 1843|      9|            }
 1844|       |
 1845|      1|            if (i < min) {
  ------------------
  |  Branch (1845:17): [True: 0, False: 1]
  ------------------
 1846|      0|                if (i < pos) {
  ------------------
  |  Branch (1846:21): [True: 0, False: 0]
  ------------------
 1847|      0|                    assert (min == INT_MAX);
  ------------------
  |  Branch (1847:21): [True: 0, False: 0]
  ------------------
 1848|      0|                    assert (max == INT_MAX);
  ------------------
  |  Branch (1848:21): [True: 0, False: 0]
  ------------------
 1849|      0|                    skip = 1;
 1850|       |                    /* At that moment we still don't know the minimal and
 1851|       |                     * the maximal numbers of positional arguments.  Raising
 1852|       |                     * an exception is deferred until we encounter | and $
 1853|       |                     * or the end of the format. */
 1854|      0|                }
 1855|      0|                else {
 1856|      0|                    PyErr_Format(PyExc_TypeError,  "%.200s%s missing required "
 1857|      0|                                 "argument '%s' (pos %d)",
 1858|      0|                                 (fname == NULL) ? "function" : fname,
  ------------------
  |  Branch (1858:34): [True: 0, False: 0]
  ------------------
 1859|      0|                                 (fname == NULL) ? "" : "()",
  ------------------
  |  Branch (1859:34): [True: 0, False: 0]
  ------------------
 1860|      0|                                 kwlist[i], i+1);
 1861|      0|                    return cleanreturn(0, &freelist);
 1862|      0|                }
 1863|      0|            }
 1864|       |            /* current code reports success when all required args
 1865|       |             * fulfilled and no keyword args left, with no further
 1866|       |             * validation. XXX Maybe skip this in debug build ?
 1867|       |             */
 1868|      1|            if (!nkwargs && !skip) {
  ------------------
  |  Branch (1868:17): [True: 1, False: 0]
  |  Branch (1868:29): [True: 1, False: 0]
  ------------------
 1869|      1|                return cleanreturn(1, &freelist);
 1870|      1|            }
 1871|      1|        }
 1872|       |
 1873|       |        /* We are into optional args, skip through to any remaining
 1874|       |         * keyword args */
 1875|      0|        msg = skipitem(&format, p_va, flags);
 1876|      0|        if (msg) {
  ------------------
  |  Branch (1876:13): [True: 0, False: 0]
  ------------------
 1877|      0|            PyErr_Format(PyExc_SystemError, "%s: '%s'", msg,
 1878|      0|                         format);
 1879|      0|            return cleanreturn(0, &freelist);
 1880|      0|        }
 1881|      0|    }
 1882|       |
 1883|      2|    if (skip) {
  ------------------
  |  Branch (1883:9): [True: 0, False: 2]
  ------------------
 1884|      0|        PyErr_Format(PyExc_TypeError,
 1885|      0|                     "%.200s%s takes %s %d positional argument%s"
 1886|      0|                     " (%zd given)",
 1887|      0|                     (fname == NULL) ? "function" : fname,
  ------------------
  |  Branch (1887:22): [True: 0, False: 0]
  ------------------
 1888|      0|                     (fname == NULL) ? "" : "()",
  ------------------
  |  Branch (1888:22): [True: 0, False: 0]
  ------------------
 1889|      0|                     (Py_MIN(pos, min) < i) ? "at least" : "exactly",
  ------------------
  |  |  127|      0|       __extension__ \
  |  |  128|      0|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      0|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      0|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1889:22): [True: 0, False: 0]
  ------------------
 1890|      0|                     Py_MIN(pos, min),
  ------------------
  |  |  127|      0|       __extension__ \
  |  |  128|      0|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      0|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      0|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1891|      0|                     Py_MIN(pos, min) == 1 ? "" : "s",
  ------------------
  |  |  127|      0|       __extension__ \
  |  |  128|      0|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      0|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      0|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1891:22): [True: 0, False: 0]
  ------------------
 1892|      0|                     nargs);
 1893|      0|        return cleanreturn(0, &freelist);
 1894|      0|    }
 1895|       |
 1896|      2|    if (!IS_END_OF_FORMAT(*format) && (*format != '|') && (*format != '$')) {
  ------------------
  |  | 1658|      4|#define IS_END_OF_FORMAT(c) (c == '\0' || c == ';' || c == ':')
  |  |  ------------------
  |  |  |  Branch (1658:30): [True: 0, False: 2]
  |  |  |  Branch (1658:43): [True: 0, False: 2]
  |  |  |  Branch (1658:55): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1896:39): [True: 0, False: 0]
  |  Branch (1896:59): [True: 0, False: 0]
  ------------------
 1897|      0|        PyErr_Format(PyExc_SystemError,
 1898|      0|            "more argument specifiers than keyword list entries "
 1899|      0|            "(remaining format:'%s')", format);
 1900|      0|        return cleanreturn(0, &freelist);
 1901|      0|    }
 1902|       |
 1903|      2|    if (nkwargs > 0) {
  ------------------
  |  Branch (1903:9): [True: 0, False: 2]
  ------------------
 1904|      0|        PyObject *key;
 1905|      0|        Py_ssize_t j;
 1906|       |        /* make sure there are no arguments given by name and position */
 1907|      0|        for (i = pos; i < nargs; i++) {
  ------------------
  |  Branch (1907:23): [True: 0, False: 0]
  ------------------
 1908|      0|            PyObject *current_arg;
 1909|      0|            if (kwargs != NULL) {
  ------------------
  |  Branch (1909:17): [True: 0, False: 0]
  ------------------
 1910|      0|                if (PyDict_GetItemStringRef(kwargs, kwlist[i], &current_arg) < 0) {
  ------------------
  |  Branch (1910:21): [True: 0, False: 0]
  ------------------
 1911|      0|                    return cleanreturn(0, &freelist);
 1912|      0|                }
 1913|      0|            }
 1914|      0|            else {
 1915|      0|                current_arg = find_keyword_str(kwnames, kwstack, kwlist[i]);
 1916|      0|            }
 1917|      0|            if (current_arg) {
  ------------------
  |  Branch (1917:17): [True: 0, False: 0]
  ------------------
 1918|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1919|       |                /* arg present in tuple and in dict */
 1920|      0|                PyErr_Format(PyExc_TypeError,
 1921|      0|                             "argument for %.200s%s given by name ('%s') "
 1922|      0|                             "and position (%d)",
 1923|      0|                             (fname == NULL) ? "function" : fname,
  ------------------
  |  Branch (1923:30): [True: 0, False: 0]
  ------------------
 1924|      0|                             (fname == NULL) ? "" : "()",
  ------------------
  |  Branch (1924:30): [True: 0, False: 0]
  ------------------
 1925|      0|                             kwlist[i], i+1);
 1926|      0|                return cleanreturn(0, &freelist);
 1927|      0|            }
 1928|      0|        }
 1929|       |        /* make sure there are no extraneous keyword arguments */
 1930|      0|        j = 0;
 1931|      0|        while (1) {
  ------------------
  |  Branch (1931:16): [True: 0, Folded]
  ------------------
 1932|      0|            if (kwargs != NULL) {
  ------------------
  |  Branch (1932:17): [True: 0, False: 0]
  ------------------
 1933|      0|                if (!PyDict_Next(kwargs, &j, &key, NULL)) {
  ------------------
  |  Branch (1933:21): [True: 0, False: 0]
  ------------------
 1934|      0|                    break;
 1935|      0|                }
 1936|      0|            }
 1937|      0|            else {
 1938|      0|                if (j >= nkwargs) {
  ------------------
  |  Branch (1938:21): [True: 0, False: 0]
  ------------------
 1939|      0|                    break;
 1940|      0|                }
 1941|      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 (1941:23): [True: 0, False: 0]
  ------------------
 1942|      0|                j++;
 1943|      0|            }
 1944|       |
 1945|      0|            int match = 0;
 1946|      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 (1946:17): [True: 0, False: 0]
  ------------------
 1947|      0|                PyErr_SetString(PyExc_TypeError,
 1948|      0|                                "keywords must be strings");
 1949|      0|                return cleanreturn(0, &freelist);
 1950|      0|            }
 1951|      0|            for (i = pos; i < len; i++) {
  ------------------
  |  Branch (1951:27): [True: 0, False: 0]
  ------------------
 1952|      0|                if (PyUnicode_EqualToUTF8(key, kwlist[i])) {
  ------------------
  |  Branch (1952:21): [True: 0, False: 0]
  ------------------
 1953|      0|                    match = 1;
 1954|      0|                    break;
 1955|      0|                }
 1956|      0|            }
 1957|      0|            if (!match) {
  ------------------
  |  Branch (1957:17): [True: 0, False: 0]
  ------------------
 1958|      0|                PyObject *_pykwtuple = new_kwtuple(kwlist, len, pos);
 1959|      0|                if (!_pykwtuple) {
  ------------------
  |  Branch (1959:21): [True: 0, False: 0]
  ------------------
 1960|      0|                    return cleanreturn(0, &freelist);
 1961|      0|                }
 1962|      0|                PyObject *pykwlist = PySequence_List(_pykwtuple);
 1963|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1964|      0|                if (!pykwlist) {
  ------------------
  |  Branch (1964:21): [True: 0, False: 0]
  ------------------
 1965|      0|                    return cleanreturn(0, &freelist);
 1966|      0|                }
 1967|      0|                PyObject *suggestion_keyword = _Py_CalculateSuggestions(pykwlist, key);
 1968|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1969|       |
 1970|      0|                if (suggestion_keyword) {
  ------------------
  |  Branch (1970:21): [True: 0, False: 0]
  ------------------
 1971|      0|                    PyErr_Format(PyExc_TypeError,
 1972|      0|                                "%.200s%s got an unexpected keyword argument '%S'."
 1973|      0|                                " Did you mean '%S'?",
 1974|      0|                                (fname == NULL) ? "this function" : fname,
  ------------------
  |  Branch (1974:33): [True: 0, False: 0]
  ------------------
 1975|      0|                                (fname == NULL) ? "" : "()",
  ------------------
  |  Branch (1975:33): [True: 0, False: 0]
  ------------------
 1976|      0|                                key,
 1977|      0|                                suggestion_keyword);
 1978|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1979|      0|                }
 1980|      0|                else {
 1981|      0|                    PyErr_Format(PyExc_TypeError,
 1982|      0|                                "%.200s%s got an unexpected keyword argument '%S'",
 1983|      0|                                (fname == NULL) ? "this function" : fname,
  ------------------
  |  Branch (1983:33): [True: 0, False: 0]
  ------------------
 1984|      0|                                (fname == NULL) ? "" : "()",
  ------------------
  |  Branch (1984:33): [True: 0, False: 0]
  ------------------
 1985|      0|                                key);
 1986|      0|                }
 1987|      0|                return cleanreturn(0, &freelist);
 1988|      0|            }
 1989|      0|        }
 1990|       |        /* Something wrong happened. There are extraneous keyword arguments,
 1991|       |         * but we don't know what. And we don't bother. */
 1992|      0|        PyErr_Format(PyExc_TypeError,
 1993|      0|                     "invalid keyword argument for %.200s%s",
 1994|      0|                     (fname == NULL) ? "this function" : fname,
  ------------------
  |  Branch (1994:22): [True: 0, False: 0]
  ------------------
 1995|      0|                     (fname == NULL) ? "" : "()");
  ------------------
  |  Branch (1995:22): [True: 0, False: 0]
  ------------------
 1996|      0|        return cleanreturn(0, &freelist);
 1997|      0|    }
 1998|       |
 1999|      2|    return cleanreturn(1, &freelist);
 2000|      2|}
getargs.c:vgetargskeywords:
 2006|      3|{
 2007|      3|    PyObject *const *args = _PyTuple_ITEMS(argstuple);
  ------------------
  |  |   26|      3|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  313|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2008|      3|    Py_ssize_t nargs = PyTuple_GET_SIZE(argstuple);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2009|       |    return vgetargskeywords_impl(args, nargs, kwargs, NULL,
 2010|      3|                                 format, kwlist, p_va, flags);
 2011|      3|}
getargs.c:parser_init:
 2216|     54|{
 2217|     54|    return _PyOnceFlag_CallOnce(&parser->once, &_parser_init, parser);
 2218|     54|}
getargs.c:_parser_init:
 2139|      6|{
 2140|      6|    struct _PyArg_Parser *parser = (struct _PyArg_Parser *)arg;
 2141|      6|    const char * const *keywords = parser->keywords;
 2142|      6|    assert(keywords != NULL);
  ------------------
  |  Branch (2142:5): [True: 6, False: 0]
  ------------------
 2143|      6|    assert(parser->pos == 0 &&
  ------------------
  |  Branch (2143:5): [True: 6, False: 0]
  |  Branch (2143:5): [True: 0, False: 0]
  |  Branch (2143:5): [True: 6, False: 0]
  |  Branch (2143:5): [True: 6, False: 0]
  |  Branch (2143:5): [True: 6, False: 0]
  |  Branch (2143:5): [True: 6, False: 0]
  ------------------
 2144|      6|           (parser->format == NULL || parser->fname == NULL) &&
 2145|      6|           parser->custom_msg == NULL &&
 2146|      6|           parser->min == 0 &&
 2147|      6|           parser->max == 0);
 2148|       |
 2149|      6|    int len, pos;
 2150|      6|    if (scan_keywords(keywords, &len, &pos) < 0) {
  ------------------
  |  Branch (2150:9): [True: 0, False: 6]
  ------------------
 2151|      0|        return -1;
 2152|      0|    }
 2153|       |
 2154|      6|    const char *fname, *custommsg = NULL;
 2155|      6|    int min = 0, max = 0;
 2156|      6|    if (parser->format) {
  ------------------
  |  Branch (2156:9): [True: 0, False: 6]
  ------------------
 2157|      0|        assert(parser->fname == NULL);
  ------------------
  |  Branch (2157:9): [True: 0, False: 0]
  ------------------
 2158|      0|        if (parse_format(parser->format, len, pos,
  ------------------
  |  Branch (2158:13): [True: 0, False: 0]
  ------------------
 2159|      0|                         &fname, &custommsg, &min, &max) < 0) {
 2160|      0|            return -1;
 2161|      0|        }
 2162|      0|    }
 2163|      6|    else {
 2164|      6|        assert(parser->fname != NULL);
  ------------------
  |  Branch (2164:9): [True: 6, False: 0]
  ------------------
 2165|      6|        fname = parser->fname;
 2166|      6|    }
 2167|       |
 2168|      6|    int owned;
 2169|      6|    PyObject *kwtuple = parser->kwtuple;
 2170|      6|    if (kwtuple == NULL) {
  ------------------
  |  Branch (2170:9): [True: 0, False: 6]
  ------------------
 2171|       |        /* We may temporarily switch to the main interpreter to avoid
 2172|       |         * creating a tuple that could outlive its owning interpreter. */
 2173|      0|        PyThreadState *save_tstate = NULL;
 2174|      0|        PyThreadState *temp_tstate = NULL;
 2175|      0|        if (!_Py_IsMainInterpreter(PyInterpreterState_Get())) {
  ------------------
  |  Branch (2175:13): [True: 0, False: 0]
  ------------------
 2176|      0|            temp_tstate = PyThreadState_New(_PyInterpreterState_Main());
 2177|      0|            if (temp_tstate == NULL) {
  ------------------
  |  Branch (2177:17): [True: 0, False: 0]
  ------------------
 2178|      0|                return -1;
 2179|      0|            }
 2180|      0|            save_tstate = PyThreadState_Swap(temp_tstate);
 2181|      0|        }
 2182|      0|        kwtuple = new_kwtuple(keywords, len, pos);
 2183|      0|        if (temp_tstate != NULL) {
  ------------------
  |  Branch (2183:13): [True: 0, False: 0]
  ------------------
 2184|      0|            PyThreadState_Clear(temp_tstate);
 2185|      0|            (void)PyThreadState_Swap(save_tstate);
 2186|      0|            PyThreadState_Delete(temp_tstate);
 2187|      0|        }
 2188|      0|        if (kwtuple == NULL) {
  ------------------
  |  Branch (2188:13): [True: 0, False: 0]
  ------------------
 2189|      0|            return -1;
 2190|      0|        }
 2191|      0|        owned = 1;
 2192|      0|    }
 2193|      6|    else {
 2194|      6|        owned = 0;
 2195|      6|    }
 2196|       |
 2197|      6|    parser->pos = pos;
 2198|      6|    parser->fname = fname;
 2199|      6|    parser->custom_msg = custommsg;
 2200|      6|    parser->min = min;
 2201|      6|    parser->max = max;
 2202|      6|    parser->kwtuple = kwtuple;
 2203|      6|    parser->is_kwtuple_owned = owned;
 2204|       |
 2205|      6|    assert(parser->next == NULL);
  ------------------
  |  Branch (2205:5): [True: 6, False: 0]
  ------------------
 2206|      6|    parser->next = _Py_atomic_load_ptr(&_PyRuntime.getargs.static_parsers);
 2207|      6|    do {
 2208|       |        // compare-exchange updates parser->next on failure
 2209|      6|    } while (!_Py_atomic_compare_exchange_ptr(&_PyRuntime.getargs.static_parsers,
  ------------------
  |  Branch (2209:14): [True: 0, False: 6]
  ------------------
 2210|      6|                                              &parser->next, parser));
 2211|      6|    return 0;
 2212|      6|}
getargs.c:scan_keywords:
 2015|      6|{
 2016|       |    /* scan keywords and count the number of positional-only parameters */
 2017|      6|    int i;
 2018|      6|    for (i = 0; keywords[i] && !*keywords[i]; i++) {
  ------------------
  |  Branch (2018:17): [True: 6, False: 0]
  |  Branch (2018:32): [True: 0, False: 6]
  ------------------
 2019|      0|    }
 2020|      6|    *pposonly = i;
 2021|       |
 2022|       |    /* scan keywords and get greatest possible nbr of args */
 2023|     32|    for (; keywords[i]; i++) {
  ------------------
  |  Branch (2023:12): [True: 26, False: 6]
  ------------------
 2024|     26|        if (!*keywords[i]) {
  ------------------
  |  Branch (2024:13): [True: 0, False: 26]
  ------------------
 2025|      0|            PyErr_SetString(PyExc_SystemError,
 2026|      0|                            "Empty keyword parameter name");
 2027|      0|            return -1;
 2028|      0|        }
 2029|     26|    }
 2030|      6|    *ptotal = i;
 2031|      6|    return 0;
 2032|      6|}
getargs.c:find_keyword:
 2243|    153|{
 2244|    153|    Py_ssize_t i, nkwargs;
 2245|       |
 2246|    153|    nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2247|    367|    for (i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (2247:17): [True: 327, False: 40]
  ------------------
 2248|    327|        PyObject *kwname = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   29|    327|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    327|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    327|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2248:28): [True: 327, False: 0]
  ------------------
 2249|       |
 2250|       |        /* kwname == key will normally find a match in since keyword keys
 2251|       |           should be interned strings; if not retry below in a new loop. */
 2252|    327|        if (kwname == key) {
  ------------------
  |  Branch (2252:13): [True: 113, False: 214]
  ------------------
 2253|    113|            return Py_NewRef(kwstack[i]);
  ------------------
  |  |  647|    113|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2254|    113|        }
 2255|    327|    }
 2256|       |
 2257|    150|    for (i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (2257:17): [True: 110, False: 40]
  ------------------
 2258|    110|        PyObject *kwname = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   29|    110|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    110|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2258:28): [True: 110, False: 0]
  ------------------
 2259|    110|        assert(PyUnicode_Check(kwname));
  ------------------
  |  Branch (2259:9): [True: 110, False: 0]
  ------------------
 2260|    110|        if (_PyUnicode_Equal(kwname, key)) {
  ------------------
  |  Branch (2260:13): [True: 0, False: 110]
  ------------------
 2261|      0|            return Py_NewRef(kwstack[i]);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2262|      0|        }
 2263|    110|    }
 2264|     40|    return NULL;
 2265|     40|}
getargs.c:unpack_stack:
 2870|    652|{
 2871|    652|    Py_ssize_t i;
 2872|    652|    PyObject **o;
 2873|       |
 2874|    652|    if (!_PyArg_CheckPositional(name, nargs, min, max)) {
  ------------------
  |  Branch (2874:9): [True: 0, False: 652]
  ------------------
 2875|      0|        return 0;
 2876|      0|    }
 2877|       |
 2878|  1.55k|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2878:17): [True: 906, False: 652]
  ------------------
 2879|       |        o = va_arg(vargs, PyObject **);
 2880|    906|        *o = args[i];
 2881|    906|    }
 2882|    652|    return 1;
 2883|    652|}

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_GetOpt_Init:
   56|      8|{
   57|      8|    getopt->error = 1;
   58|      8|    getopt->index = 1;
   59|       |    getopt->arg = NULL;
   60|      8|    getopt->ptr = L"";
   61|      8|    getopt->argc = argc;
   62|      8|    getopt->argv = argv;
   63|      8|}
_PyOS_GetOpt:
   78|      8|{
   79|       |    // Local copy of read-only members to omit "getopt->"
   80|      8|    const Py_ssize_t argc = getopt->argc;
   81|      8|    wchar_t * const *argv = getopt->argv;
   82|      8|    const int error = getopt->error;
   83|       |
   84|      8|    if (*getopt->ptr == '\0') {
  ------------------
  |  Branch (84:9): [True: 8, False: 0]
  ------------------
   85|      8|        if (getopt->index >= argc) {
  ------------------
  |  Branch (85:13): [True: 8, False: 0]
  ------------------
   86|      8|            return -1;
   87|      8|        }
   88|       |
   89|      0|        const wchar_t *arg = argv[getopt->index];
   90|       |#ifdef MS_WINDOWS
   91|       |        if (wcscmp(arg, L"/?") == 0) {
   92|       |            ++getopt->index;
   93|       |            return 'h';
   94|       |        }
   95|       |#endif
   96|       |
   97|      0|        if (arg[0] != L'-' || arg[1] == L'\0' /* lone dash */ ) {
  ------------------
  |  Branch (97:13): [True: 0, False: 0]
  |  Branch (97:31): [True: 0, False: 0]
  ------------------
   98|      0|            return -1;
   99|      0|        }
  100|       |
  101|      0|        if (wcscmp(arg, L"--") == 0) {
  ------------------
  |  Branch (101:13): [True: 0, False: 0]
  ------------------
  102|      0|            ++getopt->index;
  103|      0|            return -1;
  104|      0|        }
  105|      0|        if (wcscmp(arg, L"--help") == 0) {
  ------------------
  |  Branch (105:13): [True: 0, False: 0]
  ------------------
  106|      0|            ++getopt->index;
  107|      0|            return 'h';
  108|      0|        }
  109|      0|        if (wcscmp(arg, L"--version") == 0) {
  ------------------
  |  Branch (109:13): [True: 0, False: 0]
  ------------------
  110|      0|            ++getopt->index;
  111|      0|            return 'V';
  112|      0|        }
  113|       |
  114|      0|        getopt->ptr = &argv[getopt->index++][1];
  115|      0|    }
  116|       |
  117|      0|    wchar_t option = *getopt->ptr++;
  118|      0|    if (option == L'\0') {
  ------------------
  |  Branch (118:9): [True: 0, False: 0]
  ------------------
  119|      0|        return -1;
  120|      0|    }
  121|       |
  122|      0|    if (option == L'-') {
  ------------------
  |  Branch (122:9): [True: 0, False: 0]
  ------------------
  123|       |        // Parse long option.
  124|      0|        if (*getopt->ptr == L'\0') {
  ------------------
  |  Branch (124:13): [True: 0, False: 0]
  ------------------
  125|      0|            if (error) {
  ------------------
  |  Branch (125:17): [True: 0, False: 0]
  ------------------
  126|      0|                fprintf(stderr, "Expected long option\n");
  127|      0|            }
  128|      0|            return -1;
  129|      0|        }
  130|      0|        int longindex = 0;
  131|      0|        const _PyOS_LongOption *opt;
  132|      0|        for (opt = &longopts[longindex]; opt->name; opt = &longopts[++longindex]) {
  ------------------
  |  Branch (132:42): [True: 0, False: 0]
  ------------------
  133|      0|            if (wcscmp(opt->name, getopt->ptr) == 0) {
  ------------------
  |  Branch (133:17): [True: 0, False: 0]
  ------------------
  134|      0|                break;
  135|      0|            }
  136|      0|        }
  137|       |
  138|      0|        if (!opt->name) {
  ------------------
  |  Branch (138:13): [True: 0, False: 0]
  ------------------
  139|      0|            if (error) {
  ------------------
  |  Branch (139:17): [True: 0, False: 0]
  ------------------
  140|      0|                fprintf(stderr, "Invalid option '%ls'\n", argv[getopt->index - 1]);
  141|      0|            }
  142|      0|            return '_';
  143|      0|        }
  144|       |
  145|      0|        getopt->ptr = L"";
  146|      0|        if (!opt->has_arg) {
  ------------------
  |  Branch (146:13): [True: 0, False: 0]
  ------------------
  147|      0|            return opt->val;
  148|      0|        }
  149|      0|        if (getopt->index >= argc) {
  ------------------
  |  Branch (149:13): [True: 0, False: 0]
  ------------------
  150|      0|            if (error) {
  ------------------
  |  Branch (150:17): [True: 0, False: 0]
  ------------------
  151|      0|                fprintf(stderr, "Argument expected for the %ls options\n",
  152|      0|                        argv[getopt->index - 1]);
  153|      0|            }
  154|      0|            return '_';
  155|      0|        }
  156|      0|        getopt->arg = argv[getopt->index++];
  157|      0|        return opt->val;
  158|      0|    }
  159|       |
  160|      0|    wchar_t *ptr = wcschr(SHORT_OPTS, option);
  ------------------
  |  |   35|      0|#define SHORT_OPTS L"bBc:dEhiIm:OPqRsStuvVW:xX:?"
  ------------------
  161|      0|    if (ptr == NULL) {
  ------------------
  |  Branch (161:9): [True: 0, False: 0]
  ------------------
  162|      0|        if (error) {
  ------------------
  |  Branch (162:13): [True: 0, False: 0]
  ------------------
  163|      0|            fprintf(stderr, "Invalid option '-%lc'\n", (wint_t)option);
  164|      0|        }
  165|      0|        return '_';
  166|      0|    }
  167|       |
  168|      0|    if (*(ptr + 1) == L':') {
  ------------------
  |  Branch (168:9): [True: 0, False: 0]
  ------------------
  169|      0|        if (*getopt->ptr != L'\0') {
  ------------------
  |  Branch (169:13): [True: 0, False: 0]
  ------------------
  170|      0|            getopt->arg  = getopt->ptr;
  171|      0|            getopt->ptr = L"";
  172|      0|        }
  173|      0|        else {
  174|      0|            if (getopt->index >= argc) {
  ------------------
  |  Branch (174:17): [True: 0, False: 0]
  ------------------
  175|      0|                if (error) {
  ------------------
  |  Branch (175:21): [True: 0, False: 0]
  ------------------
  176|      0|                    fprintf(stderr,
  177|      0|                        "Argument expected for the -%lc option\n", (wint_t)option);
  178|      0|                }
  179|      0|                return '_';
  180|      0|            }
  181|       |
  182|      0|            getopt->arg = argv[getopt->index++];
  183|      0|        }
  184|      0|    }
  185|       |
  186|      0|    return option;
  187|      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.0a2+dev"
  ------------------
   24|      2|}
Py_GetVersion:
   28|      2|{
   29|      2|    _Py_InitVersion();
   30|      2|    return version;
   31|      2|}

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

_PyImport_AcquireLock:
  152|    362|{
  153|    362|    _PyRecursiveMutex_Lock(&IMPORT_LOCK(interp));
  ------------------
  |  |  112|    362|    (interp)->imports.lock
  ------------------
  154|    362|}
_PyImport_ReleaseLock:
  158|    362|{
  159|    362|    _PyRecursiveMutex_Unlock(&IMPORT_LOCK(interp));
  ------------------
  |  |  112|    362|    (interp)->imports.lock
  ------------------
  160|    362|}
_PyImport_InitModules:
  176|      2|{
  177|      2|    assert(MODULES(interp) == NULL);
  ------------------
  |  Branch (177:5): [True: 2, False: 0]
  ------------------
  178|      2|    MODULES(interp) = PyDict_New();
  ------------------
  |  |   88|      2|    (interp)->imports.modules
  ------------------
  179|      2|    if (MODULES(interp) == NULL) {
  ------------------
  |  |   88|      2|    (interp)->imports.modules
  ------------------
  |  Branch (179:9): [True: 0, False: 2]
  ------------------
  180|      0|        return NULL;
  181|      0|    }
  182|      2|    return MODULES(interp);
  ------------------
  |  |   88|      2|    (interp)->imports.modules
  ------------------
  183|      2|}
_PyImport_GetModules:
  187|    154|{
  188|    154|    return MODULES(interp);
  ------------------
  |  |   88|    154|    (interp)->imports.modules
  ------------------
  189|    154|}
_PyImport_SetModuleString:
  248|      2|{
  249|      2|    PyThreadState *tstate = _PyThreadState_GET();
  250|       |    PyObject *modules = get_modules_dict(tstate, true);
  251|      2|    return PyMapping_SetItemString(modules, name, m);
  252|      2|}
_PyImport_InitLazyModules:
  271|      2|{
  272|      2|    assert(LAZY_MODULES(interp) == NULL &&
  ------------------
  |  Branch (272:5): [True: 2, False: 0]
  |  Branch (272:5): [True: 2, False: 0]
  ------------------
  273|      2|           LAZY_PENDING_SUBMODULES(interp) == NULL);
  274|       |
  275|      2|    LAZY_PENDING_SUBMODULES(interp) = PyDict_New();
  ------------------
  |  |   94|      2|    (interp)->imports.lazy_pending_submodules
  ------------------
  276|      2|    LAZY_MODULES(interp) = PySet_New(0);
  ------------------
  |  |   92|      2|    (interp)->imports.lazy_modules
  ------------------
  277|      2|    return LAZY_MODULES(interp);
  ------------------
  |  |   92|      2|    (interp)->imports.lazy_modules
  ------------------
  278|      2|}
_PyImport_DiscardLazyModule:
  289|     77|{
  290|     77|    if (LAZY_MODULES(interp) == NULL) {
  ------------------
  |  |   92|     77|    (interp)->imports.lazy_modules
  ------------------
  |  Branch (290:9): [True: 0, False: 77]
  ------------------
  291|      0|        return 0;
  292|      0|    }
  293|     77|    return PySet_Discard(LAZY_MODULES(interp), name);
  ------------------
  |  |   92|     77|    (interp)->imports.lazy_modules
  ------------------
  294|     77|}
PyImport_GetModule:
  362|    151|{
  363|    151|    PyThreadState *tstate = _PyThreadState_GET();
  364|    151|    PyObject *mod;
  365|       |
  366|    151|    mod = import_get_module(tstate, name);
  367|    151|    if (mod != NULL && mod != Py_None) {
  ------------------
  |  |  616|    148|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (367:9): [True: 148, False: 3]
  |  Branch (367:24): [True: 148, False: 0]
  ------------------
  368|    148|        if (import_ensure_initialized(tstate->interp, mod, name) < 0) {
  ------------------
  |  Branch (368:13): [True: 0, False: 148]
  ------------------
  369|      0|            goto error;
  370|      0|        }
  371|       |        /* Verify the module is still in sys.modules. Another thread may have
  372|       |           removed it (due to import failure) between our import_get_module()
  373|       |           call and the _initializing check in import_ensure_initialized(). */
  374|    148|        PyObject *mod_check = import_get_module(tstate, name);
  375|    148|        if (mod_check != mod) {
  ------------------
  |  Branch (375:13): [True: 0, False: 148]
  ------------------
  376|      0|            Py_XDECREF(mod_check);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  377|      0|            if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (377:17): [True: 0, False: 0]
  ------------------
  378|      0|                goto error;
  379|      0|            }
  380|       |            /* The module was removed or replaced. Return NULL to report
  381|       |               "not found" rather than trying to keep up with racing
  382|       |               modifications to sys.modules; returning the new value would
  383|       |               require looping to redo the ensure_initialized check. */
  384|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  385|      0|            return NULL;
  386|      0|        }
  387|    148|        Py_DECREF(mod_check);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  388|    148|    }
  389|    151|    return mod;
  390|       |
  391|      0|error:
  392|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  393|      0|    remove_importlib_frames(tstate);
  394|       |    return NULL;
  395|    151|}
PyImport_AddModuleRef:
  440|      4|{
  441|      4|    PyObject *name_obj = PyUnicode_FromString(name);
  442|      4|    if (name_obj == NULL) {
  ------------------
  |  Branch (442:9): [True: 0, False: 4]
  ------------------
  443|      0|        return NULL;
  444|      0|    }
  445|      4|    PyThreadState *tstate = _PyThreadState_GET();
  446|      4|    PyObject *module = import_add_module(tstate, name_obj);
  447|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  448|      4|    return module;
  449|      4|}
PyImport_AddModuleObject:
  454|      2|{
  455|      2|    PyThreadState *tstate = _PyThreadState_GET();
  456|      2|    PyObject *mod = import_add_module(tstate, name);
  457|      2|    if (!mod) {
  ------------------
  |  Branch (457:9): [True: 0, False: 2]
  ------------------
  458|      0|        return NULL;
  459|      0|    }
  460|       |
  461|       |    // gh-86160: PyImport_AddModuleObject() returns a borrowed reference.
  462|       |    // Create a weak reference to produce a borrowed reference, since it can
  463|       |    // become NULL. sys.modules type can be different than dict and it is not
  464|       |    // guaranteed that it keeps a strong reference to the module. It can be a
  465|       |    // custom mapping with __getitem__() which returns a new object or removes
  466|       |    // returned object, or __setitem__ which does nothing. There is so much
  467|       |    // unknown.  With weakref we can be sure that we get either a reference to
  468|       |    // live object or NULL.
  469|       |    //
  470|       |    // Use PyImport_AddModuleRef() to avoid these issues.
  471|      2|    PyObject *ref = PyWeakref_NewRef(mod, NULL);
  472|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  473|      2|    if (ref == NULL) {
  ------------------
  |  Branch (473:9): [True: 0, False: 2]
  ------------------
  474|      0|        return NULL;
  475|      0|    }
  476|      2|    mod = _PyWeakref_GET_REF(ref);
  477|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|      2|    Py_XDECREF(mod);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  479|       |
  480|      2|    if (mod == NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (480:9): [True: 0, False: 2]
  |  Branch (480:24): [True: 0, False: 0]
  ------------------
  481|      0|        PyErr_SetString(PyExc_RuntimeError,
  482|      0|                        "sys.modules does not hold a strong reference "
  483|      0|                        "to the module");
  484|      0|    }
  485|      2|    return mod; /* borrowed reference */
  486|      2|}
_PyImport_GetNextModuleIndex:
  533|     42|{
  534|     42|    return _Py_atomic_add_ssize(&LAST_MODULE_INDEX, 1) + 1;
  ------------------
  |  |   79|     42|#define LAST_MODULE_INDEX _PyRuntime.imports.last_module_index
  ------------------
  535|     42|}
_PyImport_ResolveNameWithPackageContext:
  912|      8|{
  913|      8|    if (PKGCONTEXT != NULL) {
  ------------------
  |  |  908|      8|# define PKGCONTEXT pkgcontext
  ------------------
  |  Branch (913:9): [True: 0, False: 8]
  ------------------
  914|      0|        const char *p = strrchr(PKGCONTEXT, '.');
  ------------------
  |  |  908|      0|# define PKGCONTEXT pkgcontext
  ------------------
  915|      0|        if (p != NULL && strcmp(name, p+1) == 0) {
  ------------------
  |  Branch (915:13): [True: 0, False: 0]
  |  Branch (915:26): [True: 0, False: 0]
  ------------------
  916|      0|            name = PKGCONTEXT;
  ------------------
  |  |  908|      0|# define PKGCONTEXT pkgcontext
  ------------------
  917|      0|            PKGCONTEXT = NULL;
  ------------------
  |  |  908|      0|# define PKGCONTEXT pkgcontext
  ------------------
  918|      0|        }
  919|      0|    }
  920|      8|    return name;
  921|      8|}
_PyImport_SwapPackageContext:
  925|     68|{
  926|     68|    const char *oldcontext = PKGCONTEXT;
  ------------------
  |  |  908|     68|# define PKGCONTEXT pkgcontext
  ------------------
  927|     68|    PKGCONTEXT = newcontext;
  ------------------
  |  |  908|     68|# define PKGCONTEXT pkgcontext
  ------------------
  928|     68|    return oldcontext;
  929|     68|}
_PyImport_GetDLOpenFlags:
  934|      2|{
  935|      2|    return FT_ATOMIC_LOAD_INT_RELAXED(DLOPENFLAGS(interp));
  ------------------
  |  |  189|      2|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  ------------------
  936|      2|}
_PyImport_FixupBuiltin:
 2416|      4|{
 2417|      4|    int res = -1;
 2418|      4|    assert(mod != NULL && PyModule_Check(mod));
  ------------------
  |  Branch (2418:5): [True: 4, False: 0]
  |  Branch (2418:5): [True: 4, False: 0]
  ------------------
 2419|       |
 2420|      4|    PyObject *nameobj;
 2421|      4|    nameobj = PyUnicode_InternFromString(name);
 2422|      4|    if (nameobj == NULL) {
  ------------------
  |  Branch (2422:9): [True: 0, False: 4]
  ------------------
 2423|      0|        return -1;
 2424|      0|    }
 2425|       |
 2426|      4|    PyModuleDef *def = _PyModule_GetDefOrNull(mod);
 2427|      4|    if (def == NULL) {
  ------------------
  |  Branch (2427:9): [True: 0, False: 4]
  ------------------
 2428|      0|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (2428:9): [True: 0, False: 0]
  ------------------
 2429|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2430|      0|        goto finally;
 2431|      0|    }
 2432|       |
 2433|       |    /* We only use _PyImport_FixupBuiltin() for the core builtin modules
 2434|       |     * (sys and builtins).  These modules are single-phase init with no
 2435|       |     * module state, but we also don't populate def->m_base.m_copy
 2436|       |     * for them. */
 2437|      4|    assert(is_core_module(tstate->interp, nameobj, nameobj));
  ------------------
  |  Branch (2437:5): [True: 4, False: 0]
  ------------------
 2438|      4|    assert_singlephase_def(def);
  ------------------
  |  | 1813|      4|    do {                                                            \
  |  | 1814|      4|        _Py_ext_module_kind kind = _get_extension_kind(def, true);  \
  |  | 1815|      4|        assert(kind == _Py_ext_module_kind_SINGLEPHASE              \
  |  | 1816|      4|                || kind == _Py_ext_module_kind_UNKNOWN);            \
  |  | 1817|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1817:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (2438:5): [True: 4, False: 0]
  |  Branch (2438:5): [True: 0, False: 0]
  ------------------
 2439|      4|    assert(def->m_size == -1);
  ------------------
  |  Branch (2439:5): [True: 4, False: 0]
  ------------------
 2440|      4|    assert(def->m_base.m_copy == NULL);
  ------------------
  |  Branch (2440:5): [True: 4, False: 0]
  ------------------
 2441|      4|    assert(def->m_base.m_index >= 0);
  ------------------
  |  Branch (2441:5): [True: 4, False: 0]
  ------------------
 2442|       |
 2443|       |    /* We aren't using import_find_extension() for core modules,
 2444|       |     * so we have to do the extra check to make sure the module
 2445|       |     * isn't already in the global cache before calling
 2446|       |     * update_global_state_for_extension(). */
 2447|      4|    struct extensions_cache_value *cached
 2448|      4|            = _extensions_cache_get(nameobj, nameobj);
 2449|      4|    if (cached == NULL) {
  ------------------
  |  Branch (2449:9): [True: 4, False: 0]
  ------------------
 2450|      4|        struct singlephase_global_update singlephase = {
 2451|      4|            .m_index=def->m_base.m_index,
 2452|       |            /* We don't want def->m_base.m_copy populated. */
 2453|      4|            .m_dict=NULL,
 2454|      4|            .origin=_Py_ext_module_origin_CORE,
 2455|       |#ifdef Py_GIL_DISABLED
 2456|       |            /* Unused when m_dict == NULL. */
 2457|       |            .md_requires_gil=false,
 2458|       |#endif
 2459|      4|        };
 2460|      4|        cached = update_global_state_for_extension(
 2461|      4|                tstate, nameobj, nameobj, def, &singlephase);
 2462|      4|        if (cached == NULL) {
  ------------------
  |  Branch (2462:13): [True: 0, False: 4]
  ------------------
 2463|      0|            goto finally;
 2464|      0|        }
 2465|      4|    }
 2466|       |
 2467|      4|    if (finish_singlephase_extension(tstate, mod, cached, nameobj, modules) < 0) {
  ------------------
  |  Branch (2467:9): [True: 0, False: 4]
  ------------------
 2468|      0|        goto finally;
 2469|      0|    }
 2470|       |
 2471|      4|    res = 0;
 2472|       |
 2473|      4|finally:
 2474|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2475|      4|    return res;
 2476|      4|}
_PyImport_GetBuiltinModuleNames:
 2710|      2|{
 2711|      2|    PyObject *list = PyList_New(0);
 2712|      2|    if (list == NULL) {
  ------------------
  |  Branch (2712:9): [True: 0, False: 2]
  ------------------
 2713|      0|        return NULL;
 2714|      0|    }
 2715|      2|    struct _inittab *inittab = INITTAB;
  ------------------
  |  |   78|      2|#define INITTAB _PyRuntime.imports.inittab
  ------------------
 2716|     78|    for (Py_ssize_t i = 0; inittab[i].name != NULL; i++) {
  ------------------
  |  Branch (2716:28): [True: 76, False: 2]
  ------------------
 2717|     76|        PyObject *name = PyUnicode_FromString(inittab[i].name);
 2718|     76|        if (name == NULL) {
  ------------------
  |  Branch (2718:13): [True: 0, False: 76]
  ------------------
 2719|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2720|      0|            return NULL;
 2721|      0|        }
 2722|     76|        if (PyList_Append(list, name) < 0) {
  ------------------
  |  Branch (2722:13): [True: 0, False: 76]
  ------------------
 2723|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2724|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2725|      0|            return NULL;
 2726|      0|        }
 2727|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2728|     76|    }
 2729|      2|    return list;
 2730|      2|}
PyImport_ImportFrozenModuleObject:
 3255|      4|{
 3256|      4|    PyThreadState *tstate = _PyThreadState_GET();
 3257|      4|    PyObject *co, *m, *d = NULL;
 3258|      4|    int err;
 3259|       |
 3260|      4|    struct frozen_info info;
 3261|      4|    frozen_status status = find_frozen(name, &info);
 3262|      4|    if (status == FROZEN_NOT_FOUND || status == FROZEN_DISABLED) {
  ------------------
  |  Branch (3262:9): [True: 0, False: 4]
  |  Branch (3262:39): [True: 0, False: 4]
  ------------------
 3263|      0|        return 0;
 3264|      0|    }
 3265|      4|    else if (status == FROZEN_BAD_NAME) {
  ------------------
  |  Branch (3265:14): [True: 0, False: 4]
  ------------------
 3266|      0|        return 0;
 3267|      0|    }
 3268|      4|    else if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (3268:14): [True: 0, False: 4]
  ------------------
 3269|      0|        set_frozen_error(status, name);
 3270|      0|        return -1;
 3271|      0|    }
 3272|      4|    co = unmarshal_frozen_code(tstate->interp, &info);
 3273|      4|    if (co == NULL) {
  ------------------
  |  Branch (3273:9): [True: 0, False: 4]
  ------------------
 3274|      0|        return -1;
 3275|      0|    }
 3276|      4|    if (info.is_package) {
  ------------------
  |  Branch (3276:9): [True: 0, False: 4]
  ------------------
 3277|       |        /* Set __path__ to the empty list */
 3278|      0|        PyObject *l;
 3279|      0|        m = import_add_module(tstate, name);
 3280|      0|        if (m == NULL)
  ------------------
  |  Branch (3280:13): [True: 0, False: 0]
  ------------------
 3281|      0|            goto err_return;
 3282|      0|        d = PyModule_GetDict(m);
 3283|      0|        l = PyList_New(0);
 3284|      0|        if (l == NULL) {
  ------------------
  |  Branch (3284:13): [True: 0, False: 0]
  ------------------
 3285|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3286|      0|            goto err_return;
 3287|      0|        }
 3288|      0|        err = PyDict_SetItemString(d, "__path__", l);
 3289|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3290|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3291|      0|        if (err != 0)
  ------------------
  |  Branch (3291:13): [True: 0, False: 0]
  ------------------
 3292|      0|            goto err_return;
 3293|      0|    }
 3294|      4|    d = module_dict_for_exec(tstate, name);
 3295|      4|    if (d == NULL) {
  ------------------
  |  Branch (3295:9): [True: 0, False: 4]
  ------------------
 3296|      0|        goto err_return;
 3297|      0|    }
 3298|      4|    m = exec_code_in_module(tstate, name, d, co);
 3299|      4|    if (m == NULL) {
  ------------------
  |  Branch (3299:9): [True: 0, False: 4]
  ------------------
 3300|      0|        goto err_return;
 3301|      0|    }
 3302|      4|    Py_DECREF(m);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3303|       |    /* Set __origname__ (consumed in FrozenImporter._setup_module()). */
 3304|      4|    PyObject *origname;
 3305|      4|    if (info.origname) {
  ------------------
  |  Branch (3305:9): [True: 4, False: 0]
  ------------------
 3306|      4|        origname = PyUnicode_FromString(info.origname);
 3307|      4|        if (origname == NULL) {
  ------------------
  |  Branch (3307:13): [True: 0, False: 4]
  ------------------
 3308|      0|            goto err_return;
 3309|      0|        }
 3310|      4|    }
 3311|      0|    else {
 3312|      0|        origname = Py_NewRef(Py_None);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3313|      0|    }
 3314|      4|    err = PyDict_SetItemString(d, "__origname__", origname);
 3315|      4|    Py_DECREF(origname);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3316|      4|    if (err != 0) {
  ------------------
  |  Branch (3316:9): [True: 0, False: 4]
  ------------------
 3317|      0|        goto err_return;
 3318|      0|    }
 3319|      4|    Py_DECREF(d);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3320|      4|    Py_DECREF(co);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3321|      4|    return 1;
 3322|       |
 3323|      0|err_return:
 3324|      0|    Py_XDECREF(d);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3325|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3326|      0|    return -1;
 3327|      4|}
PyImport_ImportFrozenModule:
 3331|      4|{
 3332|      4|    PyObject *nameobj;
 3333|      4|    int ret;
 3334|      4|    nameobj = PyUnicode_InternFromString(name);
 3335|      4|    if (nameobj == NULL)
  ------------------
  |  Branch (3335:9): [True: 0, False: 4]
  ------------------
 3336|      0|        return -1;
 3337|      4|    ret = PyImport_ImportFrozenModuleObject(nameobj);
 3338|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3339|      4|    return ret;
 3340|      4|}
_PyImport_GetImportlibLoader:
 3470|      2|{
 3471|      2|    return PyObject_GetAttrString(IMPORTLIB(interp), loader_name);
  ------------------
  |  |   96|      2|    (interp)->imports.importlib
  ------------------
 3472|      2|}
_PyImport_InitDefaultImportFunc:
 3599|      2|{
 3600|       |    // Get the __import__ function
 3601|      2|    PyObject *import_func;
 3602|      2|    if (PyDict_GetItemStringRef(interp->builtins, "__import__", &import_func) <= 0) {
  ------------------
  |  Branch (3602:9): [True: 0, False: 2]
  ------------------
 3603|      0|        return -1;
 3604|      0|    }
 3605|      2|    IMPORT_FUNC(interp) = import_func;
  ------------------
  |  |  106|      2|    (interp)->imports.import_func
  ------------------
 3606|       |
 3607|       |    // Get the __lazy_import__ function
 3608|      2|    if (PyDict_GetItemStringRef(interp->builtins, "__lazy_import__",
  ------------------
  |  Branch (3608:9): [True: 0, False: 2]
  ------------------
 3609|      2|                                &import_func) <= 0) {
 3610|      0|        return -1;
 3611|      0|    }
 3612|      2|    LAZY_IMPORT_FUNC(interp) = import_func;
  ------------------
  |  |  109|      2|    (interp)->imports.lazy_import_func
  ------------------
 3613|      2|    return 0;
 3614|      2|}
_PyImport_IsDefaultImportFunc:
 3618|    405|{
 3619|    405|    return func == IMPORT_FUNC(interp);
  ------------------
  |  |  106|    405|    (interp)->imports.import_func
  ------------------
 3620|    405|}
_PyImport_IsDefaultLazyImportFunc:
 3624|     14|{
 3625|     14|    return func == LAZY_IMPORT_FUNC(interp);
  ------------------
  |  |  109|     14|    (interp)->imports.lazy_import_func
  ------------------
 3626|     14|}
PyImport_ImportModule:
 3633|     12|{
 3634|     12|    PyObject *pname;
 3635|     12|    PyObject *result;
 3636|       |
 3637|     12|    pname = PyUnicode_FromString(name);
 3638|     12|    if (pname == NULL)
  ------------------
  |  Branch (3638:9): [True: 0, False: 12]
  ------------------
 3639|      0|        return NULL;
 3640|     12|    result = PyImport_Import(pname);
 3641|     12|    Py_DECREF(pname);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3642|     12|    return result;
 3643|     12|}
_PyImport_GetAbsName:
 3962|    567|{
 3963|    567|    if (level > 0) {
  ------------------
  |  Branch (3963:9): [True: 12, False: 555]
  ------------------
 3964|     12|        return resolve_name(tstate, name, globals, level);
 3965|     12|    }
 3966|    555|    if (PyUnicode_GET_LENGTH(name) == 0) {
  ------------------
  |  |  300|    555|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    555|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    555|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3966:9): [True: 0, False: 555]
  ------------------
 3967|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "Empty module name");
 3968|      0|        return NULL;
 3969|      0|    }
 3970|    555|    return Py_NewRef(name);
  ------------------
  |  |  647|    555|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    555|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    555|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3971|    555|}
PyImport_ImportModuleLevelObject:
 3978|    553|{
 3979|    553|    PyThreadState *tstate = _PyThreadState_GET();
 3980|    553|    PyObject *abs_name = NULL;
 3981|    553|    PyObject *final_mod = NULL;
 3982|    553|    PyObject *mod = NULL;
 3983|    553|    PyInterpreterState *interp = tstate->interp;
 3984|    553|    int has_from;
 3985|       |
 3986|    553|    if (name == NULL) {
  ------------------
  |  Branch (3986:9): [True: 0, False: 553]
  ------------------
 3987|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "Empty module name");
 3988|      0|        goto error;
 3989|      0|    }
 3990|       |
 3991|       |    /* The below code is importlib.__import__() & _gcd_import(), ported to C
 3992|       |       for added performance. */
 3993|       |
 3994|    553|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|    553|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    553|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3994:9): [True: 0, False: 553]
  ------------------
 3995|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 3996|      0|                         "module name must be a string");
 3997|      0|        goto error;
 3998|      0|    }
 3999|    553|    if (level < 0) {
  ------------------
  |  Branch (3999:9): [True: 0, False: 553]
  ------------------
 4000|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "level must be >= 0");
 4001|      0|        goto error;
 4002|      0|    }
 4003|       |
 4004|    553|    abs_name = _PyImport_GetAbsName(tstate, name, globals, level);
 4005|    553|    if (abs_name == NULL) {
  ------------------
  |  Branch (4005:9): [True: 0, False: 553]
  ------------------
 4006|      0|        goto error;
 4007|      0|    }
 4008|       |
 4009|    553|    mod = import_get_module(tstate, abs_name);
 4010|    553|    if (mod == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4010:9): [True: 81, False: 472]
  |  Branch (4010:24): [True: 0, False: 81]
  ------------------
 4011|      0|        goto error;
 4012|      0|    }
 4013|       |
 4014|    553|    if (mod != NULL && mod != Py_None) {
  ------------------
  |  |  616|    472|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4014:9): [True: 472, False: 81]
  |  Branch (4014:24): [True: 472, False: 0]
  ------------------
 4015|    472|        int initializing = import_ensure_initialized(tstate->interp, mod, abs_name);
 4016|    472|        if (initializing < 0) {
  ------------------
  |  Branch (4016:13): [True: 0, False: 472]
  ------------------
 4017|      0|            goto error;
 4018|      0|        }
 4019|       |        /* Verify the module is still in sys.modules. Another thread may have
 4020|       |           removed it (due to import failure) between our import_get_module()
 4021|       |           call and the _initializing check in import_ensure_initialized().
 4022|       |           If removed, we retry the import to preserve normal semantics: the
 4023|       |           caller gets the exception from the actual import failure rather
 4024|       |           than a synthetic error. */
 4025|    472|        PyObject *mod_check = import_get_module(tstate, abs_name);
 4026|    472|        if (mod_check != mod) {
  ------------------
  |  Branch (4026:13): [True: 0, False: 472]
  ------------------
 4027|      0|            Py_XDECREF(mod_check);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4028|      0|            if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4028:17): [True: 0, False: 0]
  ------------------
 4029|      0|                goto error;
 4030|      0|            }
 4031|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4032|      0|            mod = import_find_and_load(tstate, abs_name);
 4033|      0|            if (mod == NULL) {
  ------------------
  |  Branch (4033:17): [True: 0, False: 0]
  ------------------
 4034|      0|                goto error;
 4035|      0|            }
 4036|      0|        }
 4037|    472|        else {
 4038|    472|            Py_DECREF(mod_check);
  ------------------
  |  |  430|    472|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    472|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    472|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4039|    472|            if (!initializing &&
  ------------------
  |  Branch (4039:17): [True: 441, False: 31]
  ------------------
 4040|    441|                FT_ATOMIC_LOAD_INT_RELAXED(interp->imports.has_lazy_submodules) &&
  ------------------
  |  |  189|    913|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (189:43): [True: 0, False: 441]
  |  |  ------------------
  ------------------
 4041|      0|                _PyImport_ClearLazySubmodule(tstate, abs_name, 1) < 0) {
  ------------------
  |  Branch (4041:17): [True: 0, False: 0]
  ------------------
 4042|      0|                goto error;
 4043|      0|            }
 4044|    472|        }
 4045|    472|    }
 4046|     81|    else {
 4047|     81|        Py_XDECREF(mod);
  ------------------
  |  |  621|     81|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4048|     81|        mod = import_find_and_load(tstate, abs_name);
 4049|     81|        if (mod == NULL) {
  ------------------
  |  Branch (4049:13): [True: 4, False: 77]
  ------------------
 4050|      4|            goto error;
 4051|      4|        }
 4052|     81|    }
 4053|       |
 4054|    549|    has_from = 0;
 4055|    549|    if (fromlist != NULL && fromlist != Py_None) {
  ------------------
  |  |  616|    508|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4055:9): [True: 508, False: 41]
  |  Branch (4055:29): [True: 198, False: 310]
  ------------------
 4056|    198|        has_from = PyObject_IsTrue(fromlist);
 4057|    198|        if (has_from < 0)
  ------------------
  |  Branch (4057:13): [True: 0, False: 198]
  ------------------
 4058|      0|            goto error;
 4059|    198|    }
 4060|    549|    if (!has_from) {
  ------------------
  |  Branch (4060:9): [True: 456, False: 93]
  ------------------
 4061|    456|        Py_ssize_t len = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  300|    456|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    456|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    456|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4062|    456|        if (level == 0 || len > 0) {
  ------------------
  |  Branch (4062:13): [True: 456, False: 0]
  |  Branch (4062:27): [True: 0, False: 0]
  ------------------
 4063|    456|            Py_ssize_t dot;
 4064|       |
 4065|    456|            dot = PyUnicode_FindChar(name, '.', 0, len, 1);
 4066|    456|            if (dot == -2) {
  ------------------
  |  Branch (4066:17): [True: 0, False: 456]
  ------------------
 4067|      0|                goto error;
 4068|      0|            }
 4069|       |
 4070|    456|            if (dot == -1) {
  ------------------
  |  Branch (4070:17): [True: 452, False: 4]
  ------------------
 4071|       |                /* No dot in module name, simple exit */
 4072|    452|                final_mod = Py_NewRef(mod);
  ------------------
  |  |  647|    452|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    452|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    452|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4073|    452|                goto error;
 4074|    452|            }
 4075|       |
 4076|      4|            if (level == 0) {
  ------------------
  |  Branch (4076:17): [True: 4, False: 0]
  ------------------
 4077|      4|                PyObject *front = PyUnicode_Substring(name, 0, dot);
 4078|      4|                if (front == NULL) {
  ------------------
  |  Branch (4078:21): [True: 0, False: 4]
  ------------------
 4079|      0|                    goto error;
 4080|      0|                }
 4081|       |
 4082|      4|                final_mod = PyImport_ImportModuleLevelObject(front, NULL, NULL, NULL, 0);
 4083|      4|                Py_DECREF(front);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4084|      4|            }
 4085|      0|            else {
 4086|      0|                Py_ssize_t cut_off = len - dot;
 4087|      0|                Py_ssize_t abs_name_len = PyUnicode_GET_LENGTH(abs_name);
  ------------------
  |  |  300|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4088|      0|                PyObject *to_return = PyUnicode_Substring(abs_name, 0,
 4089|      0|                                                        abs_name_len - cut_off);
 4090|      0|                if (to_return == NULL) {
  ------------------
  |  Branch (4090:21): [True: 0, False: 0]
  ------------------
 4091|      0|                    goto error;
 4092|      0|                }
 4093|       |
 4094|      0|                final_mod = import_get_module(tstate, to_return);
 4095|      0|                if (final_mod == NULL) {
  ------------------
  |  Branch (4095:21): [True: 0, False: 0]
  ------------------
 4096|      0|                    if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4096:25): [True: 0, False: 0]
  ------------------
 4097|      0|                        _PyErr_Format(tstate, PyExc_KeyError,
 4098|      0|                                      "%R not in sys.modules as expected",
 4099|      0|                                      to_return);
 4100|      0|                    }
 4101|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4102|      0|                    goto error;
 4103|      0|                }
 4104|       |
 4105|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4106|      0|            }
 4107|      4|        }
 4108|      0|        else {
 4109|      0|            final_mod = Py_NewRef(mod);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4110|      0|        }
 4111|    456|    }
 4112|     93|    else {
 4113|     93|        int has_path = PyObject_HasAttrWithError(mod, &_Py_ID(__path__));
  ------------------
  |  |  951|     93|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     93|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     93|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4114|     93|        if (has_path < 0) {
  ------------------
  |  Branch (4114:13): [True: 0, False: 93]
  ------------------
 4115|      0|            goto error;
 4116|      0|        }
 4117|     93|        if (has_path) {
  ------------------
  |  Branch (4117:13): [True: 6, False: 87]
  ------------------
 4118|      6|            final_mod = PyObject_CallMethodObjArgs(
 4119|      6|                        IMPORTLIB(interp), &_Py_ID(_handle_fromlist),
  ------------------
  |  |   96|      6|    (interp)->imports.importlib
  ------------------
                                      IMPORTLIB(interp), &_Py_ID(_handle_fromlist),
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4120|      6|                        mod, fromlist, IMPORT_FUNC(interp), NULL);
  ------------------
  |  |  106|      6|    (interp)->imports.import_func
  ------------------
 4121|      6|        }
 4122|     87|        else {
 4123|     87|            final_mod = Py_NewRef(mod);
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4124|     87|        }
 4125|     93|    }
 4126|       |
 4127|    553|  error:
 4128|    553|    Py_XDECREF(abs_name);
  ------------------
  |  |  621|    553|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    553|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    553|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4129|    553|    Py_XDECREF(mod);
  ------------------
  |  |  621|    553|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    553|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    553|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4130|    553|    if (final_mod == NULL) {
  ------------------
  |  Branch (4130:9): [True: 4, False: 549]
  ------------------
 4131|      4|        remove_importlib_frames(tstate);
 4132|      4|    }
 4133|    553|    return final_mod;
 4134|    549|}
_PyImport_ClearLazySubmodule:
 4285|     77|{
 4286|     77|    if (LAZY_PENDING_SUBMODULES(tstate->interp) == NULL ||
  ------------------
  |  |   94|     77|    (interp)->imports.lazy_pending_submodules
  ------------------
  |  Branch (4286:9): [True: 0, False: 77]
  ------------------
 4287|     77|        PyDict_GET_SIZE(LAZY_PENDING_SUBMODULES(tstate->interp)) == 0) {
  ------------------
  |  |   63|     77|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     77|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     77|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4287:9): [True: 52, False: 25]
  ------------------
 4288|     52|        return 0;
 4289|     52|    }
 4290|     25|    Py_ssize_t end = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  300|     25|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4291|     25|    Py_ssize_t dot = PyUnicode_FindChar(name, '.', 0, end, -1);
 4292|     25|    if (dot < 0) {
  ------------------
  |  Branch (4292:9): [True: 20, False: 5]
  ------------------
 4293|     20|        return dot == -2 ? -1 : 0;
  ------------------
  |  Branch (4293:16): [True: 0, False: 20]
  ------------------
 4294|     20|    }
 4295|      5|    PyObject *parent = PyUnicode_Substring(name, 0, dot);
 4296|      5|    PyObject *child = PyUnicode_Substring(name, dot + 1, end);
 4297|      5|    PyObject *pending = NULL;
 4298|      5|    int rc = -1;
 4299|      5|    if (parent != NULL && child != NULL) {
  ------------------
  |  Branch (4299:9): [True: 5, False: 0]
  |  Branch (4299:27): [True: 5, False: 0]
  ------------------
 4300|      5|        rc = PyDict_GetItemRef(LAZY_PENDING_SUBMODULES(tstate->interp),
  ------------------
  |  |   94|      5|    (interp)->imports.lazy_pending_submodules
  ------------------
 4301|      5|                              parent, &pending);
 4302|      5|        if (rc > 0) {
  ------------------
  |  Branch (4302:13): [True: 0, False: 5]
  ------------------
 4303|      0|            rc = PyDict_Contains(pending, child);
 4304|      0|        }
 4305|      5|        if (rc > 0) {
  ------------------
  |  Branch (4305:13): [True: 0, False: 5]
  ------------------
 4306|      0|            PyObject *loaded = import_get_module(tstate, name), *loaded_spec = NULL;
 4307|      0|            int loading = loaded == NULL ? (PyErr_Occurred() ? -1 : 0) :
  ------------------
  |  Branch (4307:27): [True: 0, False: 0]
  |  Branch (4307:45): [True: 0, False: 0]
  ------------------
 4308|      0|                PyObject_GetOptionalAttr(loaded, &_Py_ID(__spec__), &loaded_spec);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4309|      0|            if (loading > 0) {
  ------------------
  |  Branch (4309:17): [True: 0, False: 0]
  ------------------
 4310|      0|                loading = _PyModuleSpec_IsInitializing(loaded_spec);
 4311|      0|            }
 4312|      0|            Py_XDECREF(loaded_spec);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4313|      0|            Py_XDECREF(loaded);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4314|      0|            if (loading != 0) {
  ------------------
  |  Branch (4314:17): [True: 0, False: 0]
  ------------------
 4315|      0|                if (PyErr_ExceptionMatches(PyExc_Exception)) {
  ------------------
  |  Branch (4315:21): [True: 0, False: 0]
  ------------------
 4316|      0|                    PyErr_Clear();
 4317|      0|                    loading = 1;
 4318|      0|                }
 4319|      0|                rc = loading < 0 ? -1 : 0;
  ------------------
  |  Branch (4319:22): [True: 0, False: 0]
  ------------------
 4320|      0|                goto done;
 4321|      0|            }
 4322|      0|            PyObject *module = import_get_module(tstate, parent);
 4323|      0|            PyObject *spec = NULL;
 4324|      0|            int initializing = module == NULL ? (PyErr_Occurred() ? -1 : 0) :
  ------------------
  |  Branch (4324:32): [True: 0, False: 0]
  |  Branch (4324:50): [True: 0, False: 0]
  ------------------
 4325|      0|                PyObject_GetOptionalAttr(module, &_Py_ID(__spec__), &spec);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4326|      0|            if (initializing > 0) {
  ------------------
  |  Branch (4326:17): [True: 0, False: 0]
  ------------------
 4327|      0|                initializing = _PyModuleSpec_IsInitializing(spec);
 4328|      0|            }
 4329|      0|            Py_XDECREF(spec);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4330|      0|            if (bind && initializing == 0 && module != NULL &&
  ------------------
  |  Branch (4330:17): [True: 0, False: 0]
  |  Branch (4330:25): [True: 0, False: 0]
  |  Branch (4330:46): [True: 0, False: 0]
  ------------------
 4331|      0|                PyModule_CheckExact(module) && PyDict_Contains(pending, child) > 0) {
  ------------------
  |  |   13|      0|#define PyModule_CheckExact(op) Py_IS_TYPE((op), &PyModule_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 (4331:48): [True: 0, False: 0]
  ------------------
 4332|      0|                PyObject *value = import_get_module(tstate, name);
 4333|      0|                if (value != NULL && value != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4333:21): [True: 0, False: 0]
  |  Branch (4333:38): [True: 0, False: 0]
  ------------------
 4334|      0|                    initializing = PyDict_SetDefaultRef(
  ------------------
  |  Branch (4334:36): [True: 0, False: 0]
  ------------------
 4335|      0|                        _PyModule_GetDict(module), child, value, NULL) < 0 ? -1 : 0;
 4336|      0|                }
 4337|      0|                Py_XDECREF(value);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4338|      0|            }
 4339|      0|            Py_XDECREF(module);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4340|      0|            rc = initializing < 0 ? -1 :
  ------------------
  |  Branch (4340:18): [True: 0, False: 0]
  ------------------
 4341|      0|                (initializing ? PyDict_SetItem(pending, child, Py_None) :
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4341:18): [True: 0, False: 0]
  ------------------
 4342|      0|                                PyDict_Pop(pending, child, NULL));
 4343|      0|        }
 4344|      5|    }
 4345|      5|done:
 4346|      5|    Py_XDECREF(pending);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4347|      5|    Py_XDECREF(parent);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4348|      5|    Py_XDECREF(child);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4349|      5|    return rc < 0 ? -1 : 0;
  ------------------
  |  Branch (4349:12): [True: 0, False: 5]
  ------------------
 4350|      5|}
_PyImport_TryLoadLazySubmodule:
 4361|    261|{
 4362|    261|    *recheck_dict = 0;
 4363|    261|    PyObject *mod_dict = _PyModule_GetDict(module);
 4364|    261|    PyObject *mod_name;
 4365|    261|    if (PyDict_GetItemRef(mod_dict, &_Py_ID(__name__), &mod_name) <= 0) {
  ------------------
  |  |  951|    261|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    261|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    261|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4365:9): [True: 0, False: 261]
  ------------------
 4366|      0|        return NULL;
 4367|      0|    }
 4368|    261|    PyObject *mod = NULL, *pending_set = NULL, *source = NULL;
 4369|    261|    if (!PyUnicode_Check(mod_name)) {
  ------------------
  |  |  103|    261|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    261|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4369:9): [True: 0, False: 261]
  ------------------
 4370|      0|        goto done;
 4371|      0|    }
 4372|    261|    PyThreadState *tstate = _PyThreadState_GET();
 4373|    261|    PyObject *lazy_pending = LAZY_PENDING_SUBMODULES(tstate->interp);
  ------------------
  |  |   94|    261|    (interp)->imports.lazy_pending_submodules
  ------------------
 4374|    261|    if (lazy_pending == NULL ||
  ------------------
  |  Branch (4374:9): [True: 0, False: 261]
  ------------------
 4375|    261|        PyDict_GetItemRef(lazy_pending, mod_name, &pending_set) <= 0) {
  ------------------
  |  Branch (4375:9): [True: 261, False: 0]
  ------------------
 4376|    261|        goto done;
 4377|    261|    }
 4378|       |
 4379|      0|    *recheck_dict = 1;
 4380|      0|    if (PyDict_GetItemRef(pending_set, attr_name, &source) <= 0) {
  ------------------
  |  Branch (4380:9): [True: 0, False: 0]
  ------------------
 4381|      0|        goto done;
 4382|      0|    }
 4383|      0|    PyObject *full_name = PyUnicode_FromFormat("%U.%U", mod_name, attr_name);
 4384|      0|    if (full_name == NULL) {
  ------------------
  |  Branch (4384:9): [True: 0, False: 0]
  ------------------
 4385|      0|        goto done;
 4386|      0|    }
 4387|       |    // Match eager from-imports: accept a partial module in an import cycle.
 4388|      0|    if (source != Py_None && !suppress &&
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4388:9): [True: 0, False: 0]
  |  Branch (4388:30): [True: 0, False: 0]
  ------------------
 4389|      0|        (_PyLazyImport_IsActive(source) ||
  ------------------
  |  Branch (4389:10): [True: 0, False: 0]
  ------------------
 4390|      0|         !PyDict_Contains(mod_dict, &_Py_ID(__getattr__)))) {
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4390:10): [True: 0, False: 0]
  ------------------
 4391|      0|        mod = _PyLazyImport_LoadChild(tstate, source, full_name);
 4392|      0|    }
 4393|      0|    else {
 4394|      0|        mod = PyImport_GetModule(full_name);
 4395|      0|        if ((mod == NULL && !PyErr_Occurred()) || mod == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4395:14): [True: 0, False: 0]
  |  Branch (4395:29): [True: 0, False: 0]
  |  Branch (4395:51): [True: 0, False: 0]
  ------------------
 4396|      0|            Py_XDECREF(mod);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4397|      0|            mod = import_find_and_load_with_name(
 4398|      0|                tstate, full_name, &_Py_ID(_find_and_load_lazy_submodule), Py_None);
  ------------------
  |  |  951|      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)
  ------------------
 4399|      0|        }
 4400|      0|    }
 4401|      0|    if (mod == NULL) {
  ------------------
  |  Branch (4401:9): [True: 0, False: 0]
  ------------------
 4402|      0|        PyObject *exc = PyErr_GetRaisedException();
 4403|      0|        PyObject *loaded = import_get_module(tstate, full_name);
 4404|      0|        if (loaded != NULL && loaded != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4404:13): [True: 0, False: 0]
  |  Branch (4404:31): [True: 0, False: 0]
  ------------------
 4405|      0|            (void)_PyDict_DelItemIf(mod_dict, attr_name,
 4406|      0|                                  lazy_submodule_matches, loaded);
 4407|      0|            (void)PyDict_SetDefaultRef(pending_set, attr_name, source, NULL);
 4408|      0|        }
 4409|      0|        Py_XDECREF(loaded);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4410|      0|        PyErr_SetRaisedException(exc);
 4411|      0|        remove_importlib_frames(tstate);
 4412|      0|    }
 4413|       |    /* Keep missing children pending: a finder may provide them later. */
 4414|      0|    else {
 4415|      0|        PyObject *spec = NULL;
 4416|      0|        int rc = mod == Py_None ? 0 :
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4416:18): [True: 0, False: 0]
  ------------------
 4417|      0|            PyObject_GetOptionalAttr(mod, &_Py_ID(__spec__), &spec);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4418|      0|        int initializing = rc > 0 ? _PyModuleSpec_IsInitializing(spec) : rc;
  ------------------
  |  Branch (4418:28): [True: 0, False: 0]
  ------------------
 4419|      0|        Py_XDECREF(spec);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4420|      0|        if (initializing < 0 && PyErr_ExceptionMatches(PyExc_Exception)) {
  ------------------
  |  Branch (4420:13): [True: 0, False: 0]
  |  Branch (4420:33): [True: 0, False: 0]
  ------------------
 4421|      0|            PyErr_Clear();
 4422|      0|            initializing = 0;
 4423|      0|        }
 4424|      0|        if (mod == Py_None || initializing < 0 ||
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4424:13): [True: 0, False: 0]
  |  Branch (4424:31): [True: 0, False: 0]
  ------------------
 4425|      0|            (initializing == 0 &&
  ------------------
  |  Branch (4425:14): [True: 0, False: 0]
  ------------------
 4426|      0|             (PyDict_SetItem(mod_dict, attr_name, mod) < 0 ||
  ------------------
  |  Branch (4426:15): [True: 0, False: 0]
  ------------------
 4427|      0|              PyDict_Pop(pending_set, attr_name, NULL) < 0))) {
  ------------------
  |  Branch (4427:15): [True: 0, False: 0]
  ------------------
 4428|      0|            Py_CLEAR(mod);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4429|      0|        }
 4430|      0|    }
 4431|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4432|       |
 4433|    261|done:
 4434|    261|    Py_XDECREF(source);
  ------------------
  |  |  621|    261|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    261|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    261|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4435|    261|    Py_XDECREF(pending_set);
  ------------------
  |  |  621|    261|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    261|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    261|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4436|    261|    Py_DECREF(mod_name);
  ------------------
  |  |  430|    261|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    261|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    261|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4437|    261|    return mod;
 4438|      0|}
_PyImport_LazyImportModuleLevelObject:
 4445|     14|{
 4446|     14|    assert(name != NULL);
  ------------------
  |  Branch (4446:5): [True: 14, False: 0]
  ------------------
 4447|     14|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|     14|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     14|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4447:9): [True: 0, False: 14]
  ------------------
 4448|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 4449|      0|                      "module name must be a string, got %T", name);
 4450|      0|        return NULL;
 4451|      0|    }
 4452|     14|    if (level < 0) {
  ------------------
  |  Branch (4452:9): [True: 0, False: 14]
  ------------------
 4453|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "level must be >= 0");
 4454|      0|        return NULL;
 4455|      0|    }
 4456|       |
 4457|     14|    PyObject *abs_name = _PyImport_GetAbsName(tstate, name, globals, level);
 4458|     14|    if (abs_name == NULL) {
  ------------------
  |  Branch (4458:9): [True: 0, False: 14]
  ------------------
 4459|      0|        return NULL;
 4460|      0|    }
 4461|       |
 4462|     14|    _PyInterpreterFrame *frame = _PyEval_GetFrame();
 4463|     14|    if (frame == NULL || frame->f_globals != frame->f_locals) {
  ------------------
  |  Branch (4463:9): [True: 0, False: 14]
  |  Branch (4463:26): [True: 0, False: 14]
  ------------------
 4464|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4465|      0|        PyErr_SetString(PyExc_SyntaxError,
 4466|      0|                        "'lazy import' is only allowed at module level");
 4467|      0|        return NULL;
 4468|      0|    }
 4469|       |
 4470|     14|    PyObject *res = NULL;
 4471|     14|    PyObject *existing_module = NULL;
 4472|       |
 4473|     14|    if (fromlist != NULL && PyUnicode_Check(fromlist)) {
  ------------------
  |  |  103|     14|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     14|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4473:9): [True: 14, False: 0]
  ------------------
 4474|      0|        fromlist = PyTuple_Pack(1, fromlist);
 4475|      0|        if (fromlist == NULL) {
  ------------------
  |  Branch (4475:13): [True: 0, False: 0]
  ------------------
 4476|      0|            goto done;
 4477|      0|        }
 4478|      0|    }
 4479|     14|    else {
 4480|     14|        fromlist = Py_NewRef(fromlist != NULL ? fromlist : Py_None);
  ------------------
  |  |  647|     14|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 14, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4481|     14|    }
 4482|       |
 4483|       |    // Check if the filter disables the lazy import.
 4484|     14|    PyObject *filter = PyImport_GetLazyImportsFilter();
 4485|       |
 4486|     14|    if (filter != NULL) {
  ------------------
  |  Branch (4486:9): [True: 0, False: 14]
  ------------------
 4487|      0|        PyObject *modname;
 4488|      0|        if (PyDict_GetItemRef(globals, &_Py_ID(__name__), &modname) < 0) {
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4488:13): [True: 0, False: 0]
  ------------------
 4489|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4490|      0|            goto done;
 4491|      0|        }
 4492|      0|        if (modname == NULL) {
  ------------------
  |  Branch (4492:13): [True: 0, False: 0]
  ------------------
 4493|      0|            assert(!PyErr_Occurred());
  ------------------
  |  Branch (4493:13): [True: 0, False: 0]
  ------------------
 4494|      0|            modname = Py_NewRef(Py_None);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4495|      0|        }
 4496|      0|        PyObject *args[] = {modname, abs_name, fromlist};
 4497|      0|        PyObject *decision = PyObject_Vectorcall(filter, args, 3, NULL);
 4498|       |
 4499|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4500|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4501|       |
 4502|      0|        if (decision == NULL) {
  ------------------
  |  Branch (4502:13): [True: 0, False: 0]
  ------------------
 4503|      0|            goto done;
 4504|      0|        }
 4505|       |
 4506|      0|        int is_true = PyObject_IsTrue(decision);
 4507|      0|        Py_DECREF(decision);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4508|       |
 4509|      0|        if (is_true < 0) {
  ------------------
  |  Branch (4509:13): [True: 0, False: 0]
  ------------------
 4510|      0|            goto done;
 4511|      0|        }
 4512|      0|        if (!is_true) {
  ------------------
  |  Branch (4512:13): [True: 0, False: 0]
  ------------------
 4513|      0|            res = PyImport_ImportModuleLevelObject(
 4514|      0|                name, globals, locals, fromlist, level
 4515|      0|            );
 4516|      0|            goto done;
 4517|      0|        }
 4518|      0|    }
 4519|       |
 4520|       |    // Validate the entire fromlist before registering any pending imports.
 4521|     14|    if (PyTuple_Check(fromlist)) {
  ------------------
  |  |   27|     14|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     14|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4522|      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 (4522:32): [True: 2, False: 2]
  ------------------
 4523|      2|            PyObject *item = PyTuple_GET_ITEM(fromlist, 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 (4523:30): [True: 2, False: 0]
  ------------------
 4524|      2|            if (!PyUnicode_Check(item)) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4524:17): [True: 0, False: 2]
  ------------------
 4525|      0|                _PyErr_Format(tstate, PyExc_TypeError,
 4526|      0|                              "Item in ``from list'' must be str, not %.200s",
 4527|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4528|      0|                goto done;
 4529|      0|            }
 4530|      2|        }
 4531|      2|    }
 4532|     14|    res = _PyLazyImport_New(frame, builtins, abs_name, fromlist);
 4533|     14|    if (res == NULL) {
  ------------------
  |  Branch (4533:9): [True: 0, False: 14]
  ------------------
 4534|      0|        goto done;
 4535|      0|    }
 4536|       |
 4537|     14|    if (lazy_modules_add(tstate, abs_name, &existing_module) < 0) {
  ------------------
  |  Branch (4537:9): [True: 0, False: 14]
  ------------------
 4538|      0|        goto error;
 4539|      0|    }
 4540|       |
 4541|     14|    if (PyTuple_Check(fromlist) && PyTuple_GET_SIZE(fromlist)) {
  ------------------
  |  |   27|     14|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     28|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (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]
  |  |  ------------------
  ------------------
 4542|      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 (4542:32): [True: 2, False: 2]
  ------------------
 4543|      2|            if (register_from_lazy_on_parent(tstate, existing_module, abs_name,
  ------------------
  |  Branch (4543:17): [True: 0, False: 2]
  ------------------
 4544|      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 (4544:46): [True: 2, False: 0]
  ------------------
 4545|      0|            {
 4546|      0|                goto error;
 4547|      0|            }
 4548|      2|        }
 4549|      2|    }
 4550|     12|    else if (register_lazy_on_parent(tstate, abs_name, res) < 0) {
  ------------------
  |  Branch (4550:14): [True: 0, False: 12]
  ------------------
 4551|      0|        goto error;
 4552|      0|    }
 4553|       |
 4554|     14|    goto done;
 4555|     14|error:
 4556|      0|    Py_CLEAR(res);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4557|     14|done:
 4558|     14|    Py_XDECREF(fromlist);
  ------------------
  |  |  621|     14|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4559|     14|    Py_DECREF(abs_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4560|     14|    Py_XDECREF(existing_module);
  ------------------
  |  |  621|     14|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4561|     14|    return res;
 4562|      0|}
PyImport_ImportModuleLevel:
 4567|     15|{
 4568|     15|    PyObject *nameobj, *mod;
 4569|     15|    nameobj = PyUnicode_FromString(name);
 4570|     15|    if (nameobj == NULL)
  ------------------
  |  Branch (4570:9): [True: 0, False: 15]
  ------------------
 4571|      0|        return NULL;
 4572|     15|    mod = PyImport_ImportModuleLevelObject(nameobj, globals, locals,
 4573|     15|                                           fromlist, level);
 4574|     15|    Py_DECREF(nameobj);
  ------------------
  |  |  430|     15|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4575|     15|    return mod;
 4576|     15|}
PyImport_Import:
 4615|    105|{
 4616|    105|    PyThreadState *tstate = _PyThreadState_GET();
 4617|    105|    PyObject *globals = NULL;
 4618|    105|    PyObject *import = NULL;
 4619|    105|    PyObject *builtins = NULL;
 4620|    105|    PyObject *r = NULL;
 4621|       |
 4622|    105|    PyObject *from_list = PyList_New(0);
 4623|    105|    if (from_list == NULL) {
  ------------------
  |  Branch (4623:9): [True: 0, False: 105]
  ------------------
 4624|      0|        goto err;
 4625|      0|    }
 4626|       |
 4627|       |    /* Get the builtins from current globals */
 4628|    105|    globals = PyEval_GetGlobals();  // borrowed
 4629|    105|    if (globals != NULL) {
  ------------------
  |  Branch (4629:9): [True: 90, False: 15]
  ------------------
 4630|     90|        Py_INCREF(globals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4631|       |        // XXX Use _PyEval_EnsureBuiltins()?
 4632|     90|        builtins = PyObject_GetItem(globals, &_Py_ID(__builtins__));
  ------------------
  |  |  951|     90|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     90|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     90|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4633|     90|        if (builtins == NULL) {
  ------------------
  |  Branch (4633:13): [True: 0, False: 90]
  ------------------
 4634|       |            // XXX Fall back to interp->builtins or sys.modules['builtins']?
 4635|      0|            goto err;
 4636|      0|        }
 4637|     90|    }
 4638|     15|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4638:14): [True: 0, False: 15]
  ------------------
 4639|      0|        goto err;
 4640|      0|    }
 4641|     15|    else {
 4642|       |        /* No globals -- use standard builtins, and fake globals */
 4643|     15|        globals = PyDict_New();
 4644|     15|        if (globals == NULL) {
  ------------------
  |  Branch (4644:13): [True: 0, False: 15]
  ------------------
 4645|      0|            goto err;
 4646|      0|        }
 4647|     15|        if (_PyEval_EnsureBuiltinsWithModule(tstate, globals, &builtins) < 0) {
  ------------------
  |  Branch (4647:13): [True: 0, False: 15]
  ------------------
 4648|      0|            goto err;
 4649|      0|        }
 4650|     15|    }
 4651|       |
 4652|       |    /* Get the __import__ function from the builtins */
 4653|    105|    if (PyDict_Check(builtins)) {
  ------------------
  |  |   18|    105|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    105|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 90, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4654|     90|        import = PyObject_GetItem(builtins, &_Py_ID(__import__));
  ------------------
  |  |  951|     90|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     90|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     90|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4655|     90|        if (import == NULL) {
  ------------------
  |  Branch (4655:13): [True: 0, False: 90]
  ------------------
 4656|      0|            _PyErr_SetObject(tstate, PyExc_KeyError, &_Py_ID(__import__));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4657|      0|        }
 4658|     90|    }
 4659|     15|    else
 4660|     15|        import = PyObject_GetAttr(builtins, &_Py_ID(__import__));
  ------------------
  |  |  951|     15|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     15|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     15|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4661|    105|    if (import == NULL)
  ------------------
  |  Branch (4661:9): [True: 0, False: 105]
  ------------------
 4662|      0|        goto err;
 4663|       |
 4664|       |    /* Call the __import__ function with the proper argument list
 4665|       |       Always use absolute import here.
 4666|       |       Calling for side-effect of import. */
 4667|    105|    r = PyObject_CallFunction(import, "OOOOi", module_name, globals,
 4668|    105|                              globals, from_list, 0, NULL);
 4669|    105|    if (r == NULL)
  ------------------
  |  Branch (4669:9): [True: 0, False: 105]
  ------------------
 4670|      0|        goto err;
 4671|    105|    Py_DECREF(r);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4672|       |
 4673|    105|    r = import_get_module(tstate, module_name);
 4674|    105|    if (r == NULL && !_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4674:9): [True: 0, False: 105]
  |  Branch (4674:22): [True: 0, False: 0]
  ------------------
 4675|      0|        _PyErr_SetObject(tstate, PyExc_KeyError, module_name);
 4676|      0|    }
 4677|       |
 4678|    105|  err:
 4679|    105|    Py_XDECREF(globals);
  ------------------
  |  |  621|    105|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    105|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4680|    105|    Py_XDECREF(builtins);
  ------------------
  |  |  621|    105|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    105|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4681|    105|    Py_XDECREF(import);
  ------------------
  |  |  621|    105|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    105|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4682|    105|    Py_XDECREF(from_list);
  ------------------
  |  |  621|    105|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    105|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4683|       |
 4684|    105|    return r;
 4685|    105|}
_PyImport_Init:
 4694|      2|{
 4695|      2|    if (INITTAB != NULL) {
  ------------------
  |  |   78|      2|#define INITTAB _PyRuntime.imports.inittab
  ------------------
  |  Branch (4695:9): [True: 0, False: 2]
  ------------------
 4696|      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)}
  ------------------
 4697|      0|    }
 4698|      2|    if (init_builtin_modules_table() != 0) {
  ------------------
  |  Branch (4698:9): [True: 0, False: 2]
  ------------------
 4699|      0|        return PyStatus_NoMemory();
 4700|      0|    }
 4701|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4702|      2|}
_PyImport_InitCore:
 4734|      2|{
 4735|       |    // XXX Initialize here: interp->modules and interp->import_func.
 4736|       |    // XXX Initialize here: sys.modules and sys.meta_path.
 4737|       |
 4738|      2|    if (importlib) {
  ------------------
  |  Branch (4738:9): [True: 2, False: 0]
  ------------------
 4739|       |        /* This call sets up builtin and frozen import support */
 4740|      2|        if (init_importlib(tstate, sysmod) < 0) {
  ------------------
  |  Branch (4740:13): [True: 0, False: 2]
  ------------------
 4741|      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)}
  ------------------
 4742|      0|        }
 4743|      2|    }
 4744|       |
 4745|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4746|      2|}
_PyImport_InitExternal:
 4839|      2|{
 4840|      2|    int verbose = _PyInterpreterState_GetConfig(tstate->interp)->verbose;
 4841|       |
 4842|       |    // XXX Initialize here: sys.path_hooks and sys.path_importer_cache.
 4843|       |
 4844|      2|    if (init_importlib_external(tstate->interp) != 0) {
  ------------------
  |  Branch (4844:9): [True: 0, False: 2]
  ------------------
 4845|      0|        _PyErr_Print(tstate);
 4846|      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)}
  ------------------
 4847|      0|    }
 4848|       |
 4849|      2|    if (init_zipimport(tstate, verbose) != 0) {
  ------------------
  |  Branch (4849:9): [True: 0, False: 2]
  ------------------
 4850|      0|        PyErr_Print();
 4851|      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)}
  ------------------
 4852|      0|    }
 4853|       |
 4854|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4855|      2|}
PyImport_ImportModuleAttr:
 4881|     43|{
 4882|     43|    PyObject *mod = PyImport_Import(modname);
 4883|     43|    if (mod == NULL) {
  ------------------
  |  Branch (4883:9): [True: 0, False: 43]
  ------------------
 4884|      0|        return NULL;
 4885|      0|    }
 4886|     43|    PyObject *result = PyObject_GetAttr(mod, attrname);
 4887|     43|    Py_DECREF(mod);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4888|     43|    return result;
 4889|     43|}
PyImport_ImportModuleAttrString:
 4893|     43|{
 4894|     43|    PyObject *pmodname = PyUnicode_FromString(modname);
 4895|     43|    if (pmodname == NULL) {
  ------------------
  |  Branch (4895:9): [True: 0, False: 43]
  ------------------
 4896|      0|        return NULL;
 4897|      0|    }
 4898|     43|    PyObject *pattrname = PyUnicode_FromString(attrname);
 4899|     43|    if (pattrname == NULL) {
  ------------------
  |  Branch (4899:9): [True: 0, False: 43]
  ------------------
 4900|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4901|      0|        return NULL;
 4902|      0|    }
 4903|     43|    PyObject *result = PyImport_ImportModuleAttr(pmodname, pattrname);
 4904|     43|    Py_DECREF(pattrname);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4905|     43|    Py_DECREF(pmodname);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4906|     43|    return result;
 4907|     43|}
PyImport_GetLazyImportsFilter:
 4937|     14|{
 4938|     14|    PyInterpreterState *interp = _PyInterpreterState_GET();
 4939|     14|    LAZY_IMPORTS_LOCK(interp);
 4940|     14|    PyObject *res = Py_XNewRef(LAZY_IMPORTS_FILTER(interp));
  ------------------
  |  |  648|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4941|     14|    LAZY_IMPORTS_UNLOCK(interp);
 4942|     14|    return res;
 4943|     14|}
PyImport_GetLazyImportsMode:
 4957|    164|{
 4958|    164|    PyInterpreterState *interp = _PyInterpreterState_GET();
 4959|    164|    return FT_ATOMIC_LOAD_INT_RELAXED(LAZY_IMPORTS_MODE(interp));
  ------------------
  |  |  189|    164|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  ------------------
 4960|    164|}
PyInit__imp:
 5639|      2|{
 5640|      2|    return PyModuleDef_Init(&imp_module);
 5641|      2|}
import.c:get_modules_dict:
  213|  1.49k|{
  214|       |    /* Technically, it would make sense to incref the dict,
  215|       |     * since sys.modules could be swapped out and decref'ed to 0
  216|       |     * before the caller is done using it.  However, that is highly
  217|       |     * unlikely, especially since we can rely on a global lock
  218|       |     * (i.e. the GIL) for thread-safety. */
  219|  1.49k|    PyObject *modules = MODULES(tstate->interp);
  ------------------
  |  |   88|  1.49k|    (interp)->imports.modules
  ------------------
  220|  1.49k|    if (modules == NULL) {
  ------------------
  |  Branch (220:9): [True: 0, False: 1.49k]
  ------------------
  221|      0|        if (fatal) {
  ------------------
  |  Branch (221:13): [True: 0, False: 0]
  ------------------
  222|      0|            Py_FatalError("interpreter has no modules dictionary");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  223|      0|        }
  224|      0|        _PyErr_SetString(tstate, PyExc_RuntimeError,
  225|      0|                         "unable to get sys.modules");
  226|      0|        return NULL;
  227|      0|    }
  228|  1.49k|    return modules;
  229|  1.49k|}
import.c:import_get_module:
  256|  1.45k|{
  257|  1.45k|    PyObject *modules = get_modules_dict(tstate, false);
  258|  1.45k|    if (modules == NULL) {
  ------------------
  |  Branch (258:9): [True: 0, False: 1.45k]
  ------------------
  259|      0|        return NULL;
  260|      0|    }
  261|       |
  262|  1.45k|    PyObject *m;
  263|  1.45k|    Py_INCREF(modules);
  ------------------
  |  |  310|  1.45k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  264|  1.45k|    (void)PyMapping_GetOptionalItem(modules, name, &m);
  265|  1.45k|    Py_DECREF(modules);
  ------------------
  |  |  430|  1.45k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  266|  1.45k|    return m;
  267|  1.45k|}
import.c:import_ensure_initialized:
  312|    620|{
  313|    620|    PyObject *spec;
  314|       |
  315|       |    /* Optimization: only call _bootstrap._lock_unlock_module() if
  316|       |       __spec__._initializing is true.
  317|       |       NOTE: because of this, initializing must be set *before*
  318|       |       stuffing the new module in sys.modules.
  319|       |    */
  320|    620|    int rc = PyObject_GetOptionalAttr(mod, &_Py_ID(__spec__), &spec);
  ------------------
  |  |  951|    620|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    620|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    620|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  321|    620|    if (rc > 0) {
  ------------------
  |  Branch (321:9): [True: 620, False: 0]
  ------------------
  322|    620|        rc = _PyModuleSpec_IsInitializing(spec);
  323|    620|        Py_DECREF(spec);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  324|    620|    }
  325|    620|    if (rc == 0) {
  ------------------
  |  Branch (325:9): [True: 589, False: 31]
  ------------------
  326|    589|        goto done;
  327|    589|    }
  328|     31|    else if (rc < 0) {
  ------------------
  |  Branch (328:14): [True: 0, False: 31]
  ------------------
  329|      0|        return rc;
  330|      0|    }
  331|       |
  332|       |    /* Wait until module is done importing. */
  333|     31|    PyObject *value = PyObject_CallMethodOneArg(
  334|     31|        IMPORTLIB(interp), &_Py_ID(_lock_unlock_module), name);
  ------------------
  |  |   96|     31|    (interp)->imports.importlib
  ------------------
                      IMPORTLIB(interp), &_Py_ID(_lock_unlock_module), name);
  ------------------
  |  |  951|     31|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     31|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     31|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  335|     31|    if (value == NULL) {
  ------------------
  |  Branch (335:9): [True: 0, False: 31]
  ------------------
  336|      0|        return -1;
  337|      0|    }
  338|     31|    Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  339|       |
  340|    620|done:
  341|       |    /* When -X importtime=2, print an import time entry even if an
  342|       |       imported module has already been loaded.
  343|       |     */
  344|    620|    if (_PyInterpreterState_GetConfig(interp)->import_time == 2) {
  ------------------
  |  Branch (344:9): [True: 0, False: 620]
  ------------------
  345|      0|        _IMPORT_TIME_HEADER(interp);
  ------------------
  |  |  133|      0|    do {                                                                      \
  |  |  134|      0|        if (FIND_AND_LOAD((interp)).header) {                                 \
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  |  |  |  Branch (134:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  135|      0|            fputs("import time: self [us] | cumulative | imported package\n", \
  |  |  136|      0|                  stderr);                                                    \
  |  |  137|      0|            FIND_AND_LOAD((interp)).header = 0;                               \
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  |  |  138|      0|        }                                                                     \
  |  |  139|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (139:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  346|      0|#define import_level FIND_AND_LOAD(interp).import_level
  347|      0|        PyObject *encoded_name = get_importtime_name(name);
  348|      0|        fprintf(stderr, "import time: cached    | cached     | %*s\n",
  349|      0|                import_level*2,
  ------------------
  |  |  346|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
  350|      0|                encoded_name != NULL ? PyBytes_AS_STRING(encoded_name) : "?");
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (350:17): [True: 0, False: 0]
  ------------------
  351|      0|        Py_XDECREF(encoded_name);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  352|      0|#undef import_level
  353|      0|    }
  354|       |
  355|    620|    return rc;
  356|     31|}
import.c:import_add_module:
  425|     10|{
  426|     10|    PyObject *modules = get_modules_dict(tstate, false);
  427|     10|    if (modules == NULL) {
  ------------------
  |  Branch (427:9): [True: 0, False: 10]
  ------------------
  428|      0|        return NULL;
  429|      0|    }
  430|       |
  431|     10|    PyObject *m;
  432|     10|    Py_BEGIN_CRITICAL_SECTION(modules);
  ------------------
  |  |   51|     10|    {
  ------------------
  433|     10|    m = import_add_module_lock_held(modules, name);
  434|     10|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     10|    }
  ------------------
  435|     10|    return m;
  436|     10|}
import.c:import_add_module_lock_held:
  403|     10|{
  404|     10|    PyObject *m;
  405|     10|    if (PyMapping_GetOptionalItem(modules, name, &m) < 0) {
  ------------------
  |  Branch (405:9): [True: 0, False: 10]
  ------------------
  406|      0|        return NULL;
  407|      0|    }
  408|     10|    if (m != NULL && PyModule_Check(m)) {
  ------------------
  |  |   12|      4|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (408:9): [True: 4, False: 6]
  ------------------
  409|      4|        return m;
  410|      4|    }
  411|      6|    Py_XDECREF(m);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  412|      6|    m = PyModule_NewObject(name);
  413|      6|    if (m == NULL)
  ------------------
  |  Branch (413:9): [True: 0, False: 6]
  ------------------
  414|      0|        return NULL;
  415|      6|    if (PyObject_SetItem(modules, name, m) != 0) {
  ------------------
  |  Branch (415:9): [True: 0, False: 6]
  ------------------
  416|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  417|      0|        return NULL;
  418|      0|    }
  419|       |
  420|      6|    return m;
  421|      6|}
import.c:_get_cached_module_index:
 1147|      4|{
 1148|      4|    assert(cached->m_index > 0);
  ------------------
  |  Branch (1148:5): [True: 4, False: 0]
  ------------------
 1149|      4|    return cached->m_index;
 1150|      4|}
import.c:_modules_by_index_set:
  603|      4|{
  604|      4|    assert(index > 0);
  ------------------
  |  Branch (604:5): [True: 4, False: 0]
  ------------------
  605|       |
  606|      4|    if (MODULES_BY_INDEX(interp) == NULL) {
  ------------------
  |  |   90|      4|    (interp)->imports.modules_by_index
  ------------------
  |  Branch (606:9): [True: 2, False: 2]
  ------------------
  607|      2|        MODULES_BY_INDEX(interp) = PyList_New(0);
  ------------------
  |  |   90|      2|    (interp)->imports.modules_by_index
  ------------------
  608|      2|        if (MODULES_BY_INDEX(interp) == NULL) {
  ------------------
  |  |   90|      2|    (interp)->imports.modules_by_index
  ------------------
  |  Branch (608:13): [True: 0, False: 2]
  ------------------
  609|      0|            return -1;
  610|      0|        }
  611|      2|    }
  612|       |
  613|     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 (613:12): [True: 10, False: 4]
  ------------------
  614|     10|        if (PyList_Append(MODULES_BY_INDEX(interp), Py_None) < 0) {
  ------------------
  |  |   90|     10|    (interp)->imports.modules_by_index
  ------------------
                      if (PyList_Append(MODULES_BY_INDEX(interp), Py_None) < 0) {
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (614:13): [True: 0, False: 10]
  ------------------
  615|      0|            return -1;
  616|      0|        }
  617|     10|    }
  618|       |
  619|      4|    return PyList_SetItem(MODULES_BY_INDEX(interp), index, Py_NewRef(module));
  ------------------
  |  |   90|      4|    (interp)->imports.modules_by_index
  ------------------
                  return PyList_SetItem(MODULES_BY_INDEX(interp), index, Py_NewRef(module));
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  620|      4|}
import.c:switch_to_main_interpreter:
 1691|     34|{
 1692|     34|    if (_Py_IsMainInterpreter(tstate->interp)) {
  ------------------
  |  Branch (1692:9): [True: 34, False: 0]
  ------------------
 1693|     34|        return tstate;
 1694|     34|    }
 1695|      0|    PyThreadState *main_tstate = _PyThreadState_NewBound(
 1696|      0|            _PyInterpreterState_Main(), _PyThreadState_WHENCE_EXEC);
  ------------------
  |  |  109|      0|#  define _PyThreadState_WHENCE_EXEC 5
  ------------------
 1697|      0|    if (main_tstate == NULL) {
  ------------------
  |  Branch (1697:9): [True: 0, False: 0]
  ------------------
 1698|      0|        return NULL;
 1699|      0|    }
 1700|      0|#ifndef NDEBUG
 1701|      0|    PyThreadState *old_tstate = PyThreadState_Swap(main_tstate);
 1702|      0|    assert(old_tstate == tstate);
  ------------------
  |  Branch (1702:5): [True: 0, False: 0]
  ------------------
 1703|       |#else
 1704|       |    (void)PyThreadState_Swap(main_tstate);
 1705|       |#endif
 1706|      0|    return main_tstate;
 1707|      0|}
import.c:extensions_lock_acquire:
 1060|     46|{
 1061|     46|    PyMutex_Lock(&_PyRuntime.imports.extensions.mutex);
  ------------------
  |  |   59|     46|#define PyMutex_Lock _PyMutex_Lock
  ------------------
 1062|     46|}
import.c:_extensions_cache_find_unlocked:
 1409|     46|{
 1410|     46|    if (EXTENSIONS.hashtable == NULL) {
  ------------------
  |  |   80|     46|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1410:9): [True: 4, False: 42]
  ------------------
 1411|      4|        return NULL;
 1412|      4|    }
 1413|     42|    void *key = hashtable_key_from_2_strings(path, name, HTSEP);
  ------------------
  |  | 1386|     42|#define HTSEP ':'
  ------------------
 1414|     42|    if (key == NULL) {
  ------------------
  |  Branch (1414:9): [True: 0, False: 42]
  ------------------
 1415|      0|        return NULL;
 1416|      0|    }
 1417|     42|    _Py_hashtable_entry_t *entry =
 1418|     42|            _Py_hashtable_get_entry(EXTENSIONS.hashtable, key);
  ------------------
  |  |   80|     42|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
 1419|     42|    if (p_key != NULL) {
  ------------------
  |  Branch (1419:9): [True: 4, False: 38]
  ------------------
 1420|      4|        *p_key = key;
 1421|      4|    }
 1422|     38|    else {
 1423|     38|        hashtable_destroy_str(key);
 1424|     38|    }
 1425|     42|    return entry;
 1426|     42|}
import.c:hashtable_key_from_2_strings:
 1305|     42|{
 1306|     42|    const char *str1_data = _PyUnicode_AsUTF8NoNUL(str1);
 1307|     42|    const char *str2_data = _PyUnicode_AsUTF8NoNUL(str2);
 1308|     42|    if (str1_data == NULL || str2_data == NULL) {
  ------------------
  |  Branch (1308:9): [True: 0, False: 42]
  |  Branch (1308:30): [True: 0, False: 42]
  ------------------
 1309|      0|        return NULL;
 1310|      0|    }
 1311|     42|    Py_ssize_t str1_len = strlen(str1_data);
 1312|     42|    Py_ssize_t str2_len = strlen(str2_data);
 1313|       |
 1314|       |    /* Make sure sep and the NULL byte won't cause an overflow. */
 1315|     42|    assert(SIZE_MAX - str1_len - str2_len > 2);
  ------------------
  |  Branch (1315:5): [True: 42, False: 0]
  ------------------
 1316|     42|    size_t size = str1_len + 1 + str2_len + 1;
 1317|       |
 1318|       |    // XXX Use a buffer if it's a temp value (every case but "set").
 1319|     42|    char *key = PyMem_RawMalloc(size);
 1320|     42|    if (key == NULL) {
  ------------------
  |  Branch (1320:9): [True: 0, False: 42]
  ------------------
 1321|      0|        PyErr_NoMemory();
 1322|      0|        return NULL;
 1323|      0|    }
 1324|       |
 1325|     42|    memcpy(key, str1_data, str1_len);
 1326|     42|    key[str1_len] = sep;
 1327|     42|    memcpy(key + str1_len + 1, str2_data, str2_len);
 1328|     42|    key[size - 1] = '\0';
 1329|     42|    assert(strlen(key) == size - 1);
  ------------------
  |  Branch (1329:5): [True: 42, False: 0]
  ------------------
 1330|     42|    return key;
 1331|     42|}
import.c:hashtable_destroy_str:
 1347|     38|{
 1348|     38|    PyMem_RawFree(ptr);
 1349|     38|}
import.c:extensions_lock_release:
 1066|     46|{
 1067|     46|    PyMutex_Unlock(&_PyRuntime.imports.extensions.mutex);
  ------------------
  |  |   70|     46|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
 1068|     46|}
import.c:is_core_module:
 1760|     42|{
 1761|       |    /* This might be called before the core dict copies are in place,
 1762|       |       so we can't rely on get_core_module_dict() here. */
 1763|     42|    if (path == name) {
  ------------------
  |  Branch (1763:9): [True: 41, False: 1]
  ------------------
 1764|     41|        if (PyUnicode_CompareWithASCIIString(name, "sys") == 0) {
  ------------------
  |  Branch (1764:13): [True: 4, False: 37]
  ------------------
 1765|      4|            return 1;
 1766|      4|        }
 1767|     37|        if (PyUnicode_CompareWithASCIIString(name, "builtins") == 0) {
  ------------------
  |  Branch (1767:13): [True: 4, False: 33]
  ------------------
 1768|      4|            return 1;
 1769|      4|        }
 1770|     37|    }
 1771|     34|    return 0;
 1772|     42|}
import.c:_get_extension_kind:
 1777|     38|{
 1778|     38|    _Py_ext_module_kind kind;
 1779|     38|    if (def == NULL) {
  ------------------
  |  Branch (1779:9): [True: 0, False: 38]
  ------------------
 1780|       |        /* It must be a module created by reload_singlephase_extension()
 1781|       |         * from m_copy.  Ideally we'd do away with this case. */
 1782|      0|        kind = _Py_ext_module_kind_SINGLEPHASE;
 1783|      0|    }
 1784|     38|    else if (def->m_slots != NULL) {
  ------------------
  |  Branch (1784:14): [True: 34, False: 4]
  ------------------
 1785|     34|        kind = _Py_ext_module_kind_MULTIPHASE;
 1786|     34|    }
 1787|      4|    else if (check_size && def->m_size == -1) {
  ------------------
  |  Branch (1787:14): [True: 4, False: 0]
  |  Branch (1787:28): [True: 4, False: 0]
  ------------------
 1788|      4|        kind = _Py_ext_module_kind_SINGLEPHASE;
 1789|      4|    }
 1790|      0|    else if (def->m_base.m_init != NULL) {
  ------------------
  |  Branch (1790:14): [True: 0, False: 0]
  ------------------
 1791|      0|        kind = _Py_ext_module_kind_SINGLEPHASE;
 1792|      0|    }
 1793|      0|    else {
 1794|       |        // This is probably single-phase init, but a multi-phase
 1795|       |        // module *can* have NULL m_slots.
 1796|      0|        kind = _Py_ext_module_kind_UNKNOWN;
 1797|      0|    }
 1798|     38|    return kind;
 1799|     38|}
import.c:_extensions_cache_get:
 1431|     42|{
 1432|     42|    struct extensions_cache_value *value = NULL;
 1433|     42|    extensions_lock_acquire();
 1434|       |
 1435|     42|    _Py_hashtable_entry_t *entry =
 1436|     42|            _extensions_cache_find_unlocked(path, name, NULL);
 1437|     42|    if (entry == NULL) {
  ------------------
  |  Branch (1437:9): [True: 42, False: 0]
  ------------------
 1438|       |        /* It was never added. */
 1439|     42|        goto finally;
 1440|     42|    }
 1441|      0|    value = (struct extensions_cache_value *)entry->value;
 1442|       |
 1443|     42|finally:
 1444|     42|    extensions_lock_release();
 1445|     42|    return value;
 1446|      0|}
import.c:update_global_state_for_extension:
 1845|      4|{
 1846|      4|    struct extensions_cache_value *cached = NULL;
 1847|      4|    PyModInitFunction m_init = NULL;
 1848|      4|    PyObject *m_dict = NULL;
 1849|       |
 1850|       |    /* Set up for _extensions_cache_set(). */
 1851|      4|    if (singlephase == NULL) {
  ------------------
  |  Branch (1851:9): [True: 0, False: 4]
  ------------------
 1852|      0|        assert(def->m_base.m_init == NULL);
  ------------------
  |  Branch (1852:9): [True: 0, False: 0]
  ------------------
 1853|      0|        assert(def->m_base.m_copy == NULL);
  ------------------
  |  Branch (1853:9): [True: 0, False: 0]
  ------------------
 1854|      0|    }
 1855|      4|    else {
 1856|      4|        if (singlephase->m_init != NULL) {
  ------------------
  |  Branch (1856:13): [True: 0, False: 4]
  ------------------
 1857|      0|            assert(singlephase->m_dict == NULL);
  ------------------
  |  Branch (1857:13): [True: 0, False: 0]
  ------------------
 1858|      0|            assert(def->m_base.m_copy == NULL);
  ------------------
  |  Branch (1858:13): [True: 0, False: 0]
  ------------------
 1859|      0|            assert(def->m_size >= 0);
  ------------------
  |  Branch (1859:13): [True: 0, False: 0]
  ------------------
 1860|       |            /* Remember pointer to module init function. */
 1861|       |            // XXX If two modules share a def then def->m_base will
 1862|       |            // reflect the last one added (here) to the global cache.
 1863|       |            // We should prevent this somehow.  The simplest solution
 1864|       |            // is probably to store m_copy/m_init in the cache along
 1865|       |            // with the def, rather than within the def.
 1866|      0|            m_init = singlephase->m_init;
 1867|      0|        }
 1868|      4|        else if (singlephase->m_dict == NULL) {
  ------------------
  |  Branch (1868:18): [True: 4, False: 0]
  ------------------
 1869|       |            /* It must be a core builtin module. */
 1870|      4|            assert(is_core_module(tstate->interp, name, path));
  ------------------
  |  Branch (1870:13): [True: 4, False: 0]
  ------------------
 1871|      4|            assert(def->m_size == -1);
  ------------------
  |  Branch (1871:13): [True: 4, False: 0]
  ------------------
 1872|      4|            assert(def->m_base.m_copy == NULL);
  ------------------
  |  Branch (1872:13): [True: 4, False: 0]
  ------------------
 1873|      4|            assert(def->m_base.m_init == NULL);
  ------------------
  |  Branch (1873:13): [True: 4, False: 0]
  ------------------
 1874|      4|        }
 1875|      0|        else {
 1876|      0|            assert(PyDict_Check(singlephase->m_dict));
  ------------------
  |  Branch (1876:13): [True: 0, False: 0]
  ------------------
 1877|       |            // gh-88216: Extensions and def->m_base.m_copy can be updated
 1878|       |            // when the extension module doesn't support sub-interpreters.
 1879|      0|            assert(def->m_size == -1);
  ------------------
  |  Branch (1879:13): [True: 0, False: 0]
  ------------------
 1880|      0|            assert(!is_core_module(tstate->interp, name, path));
  ------------------
  |  Branch (1880:13): [True: 0, False: 0]
  ------------------
 1881|      0|            assert(PyUnicode_CompareWithASCIIString(name, "sys") != 0);
  ------------------
  |  Branch (1881:13): [True: 0, False: 0]
  ------------------
 1882|      0|            assert(PyUnicode_CompareWithASCIIString(name, "builtins") != 0);
  ------------------
  |  Branch (1882:13): [True: 0, False: 0]
  ------------------
 1883|      0|            m_dict = singlephase->m_dict;
 1884|      0|        }
 1885|      4|    }
 1886|       |
 1887|       |    /* Add the module's def to the global cache. */
 1888|       |    // XXX Why special-case the main interpreter?
 1889|      4|    if (_Py_IsMainInterpreter(tstate->interp) || def->m_size == -1) {
  ------------------
  |  Branch (1889:9): [True: 4, False: 0]
  |  Branch (1889:50): [True: 0, False: 0]
  ------------------
 1890|      4|#ifndef NDEBUG
 1891|      4|        cached = _extensions_cache_get(path, name);
 1892|      4|        assert(cached == NULL || cached->def == def);
  ------------------
  |  Branch (1892:9): [True: 4, False: 0]
  |  Branch (1892:9): [True: 0, False: 0]
  ------------------
 1893|      4|#endif
 1894|      4|        cached = _extensions_cache_set(
 1895|      4|                path, name, def, m_init, singlephase->m_index, m_dict,
 1896|      4|                singlephase->origin, singlephase->md_requires_gil);
 1897|      4|        if (cached == NULL) {
  ------------------
  |  Branch (1897:13): [True: 0, False: 4]
  ------------------
 1898|       |            // XXX Ignore this error?  Doing so would effectively
 1899|       |            // mark the module as not loadable.
 1900|      0|            return NULL;
 1901|      0|        }
 1902|      4|    }
 1903|       |
 1904|      4|    return cached;
 1905|      4|}
import.c:_extensions_cache_set:
 1454|      4|{
 1455|      4|    struct extensions_cache_value *value = NULL;
 1456|      4|    void *key = NULL;
 1457|      4|    struct extensions_cache_value *newvalue = NULL;
 1458|      4|    PyModuleDef_Base olddefbase = def->m_base;
 1459|       |
 1460|      4|    assert(def != NULL);
  ------------------
  |  Branch (1460:5): [True: 4, False: 0]
  ------------------
 1461|      4|    assert(m_init == NULL || m_dict == NULL);
  ------------------
  |  Branch (1461:5): [True: 4, False: 0]
  |  Branch (1461:5): [True: 0, False: 0]
  ------------------
 1462|       |    /* We expect the same symbol to be used and the shared object file
 1463|       |     * to have remained loaded, so it must be the same pointer. */
 1464|      4|    assert(def->m_base.m_init == NULL || def->m_base.m_init == m_init);
  ------------------
  |  Branch (1464:5): [True: 4, False: 0]
  |  Branch (1464:5): [True: 0, False: 0]
  ------------------
 1465|       |    /* For now we don't worry about comparing value->m_copy. */
 1466|      4|    assert(def->m_base.m_copy == NULL || m_dict != NULL);
  ------------------
  |  Branch (1466:5): [True: 4, False: 0]
  |  Branch (1466:5): [True: 0, False: 0]
  ------------------
 1467|      4|    assert((origin == _Py_ext_module_origin_DYNAMIC) == (name != path));
  ------------------
  |  Branch (1467:5): [True: 4, False: 0]
  ------------------
 1468|      4|    assert(origin != _Py_ext_module_origin_CORE || m_dict == NULL);
  ------------------
  |  Branch (1468:5): [True: 0, False: 4]
  |  Branch (1468:5): [True: 4, False: 0]
  ------------------
 1469|       |
 1470|      4|    extensions_lock_acquire();
 1471|       |
 1472|      4|    if (EXTENSIONS.hashtable == NULL) {
  ------------------
  |  |   80|      4|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1472:9): [True: 2, False: 2]
  ------------------
 1473|      2|        if (_extensions_cache_init() < 0) {
  ------------------
  |  Branch (1473:13): [True: 0, False: 2]
  ------------------
 1474|      0|            goto finally;
 1475|      0|        }
 1476|      2|    }
 1477|       |
 1478|       |    /* Create a cached value to populate for the module. */
 1479|      4|    _Py_hashtable_entry_t *entry =
 1480|      4|            _extensions_cache_find_unlocked(path, name, &key);
 1481|      4|    value = entry == NULL
  ------------------
  |  Branch (1481:13): [True: 4, False: 0]
  ------------------
 1482|      4|        ? NULL
 1483|      4|        : (struct extensions_cache_value *)entry->value;
 1484|      4|    if (value != NULL) {
  ------------------
  |  Branch (1484:9): [True: 0, False: 4]
  ------------------
 1485|       |        /* gh-123880: If there's an existing cache value, it means a module is
 1486|       |         * being imported recursively from its PyInit_* or Py_mod_* function.
 1487|       |         * (That function presumably handles returning a partially
 1488|       |         *  constructed module in such a case.)
 1489|       |         * We can reuse the existing cache value; it is owned by the cache.
 1490|       |         * (Entries get removed from it in exceptional circumstances,
 1491|       |         *  after interpreter shutdown, and in runtime shutdown.)
 1492|       |         */
 1493|      0|        goto finally_oldvalue;
 1494|      0|    }
 1495|      4|    newvalue = alloc_extensions_cache_value();
 1496|      4|    if (newvalue == NULL) {
  ------------------
  |  Branch (1496:9): [True: 0, False: 4]
  ------------------
 1497|      0|        goto finally;
 1498|      0|    }
 1499|       |
 1500|       |    /* Populate the new cache value data. */
 1501|      4|    *newvalue = (struct extensions_cache_value){
 1502|      4|        .def=def,
 1503|      4|        .m_init=m_init,
 1504|      4|        .m_index=m_index,
 1505|       |        /* m_dict is set by set_cached_m_dict(). */
 1506|      4|        .origin=origin,
 1507|       |#ifdef Py_GIL_DISABLED
 1508|       |        .md_requires_gil=requires_gil,
 1509|       |#endif
 1510|      4|    };
 1511|      4|#ifndef Py_GIL_DISABLED
 1512|      4|    (void)requires_gil;
 1513|      4|#endif
 1514|      4|    if (init_cached_m_dict(newvalue, m_dict) < 0) {
  ------------------
  |  Branch (1514:9): [True: 0, False: 4]
  ------------------
 1515|      0|        goto finally;
 1516|      0|    }
 1517|      4|    fixup_cached_def(newvalue);
 1518|       |
 1519|      4|    if (entry == NULL) {
  ------------------
  |  Branch (1519:9): [True: 4, False: 0]
  ------------------
 1520|       |        /* It was never added. */
 1521|      4|        if (_Py_hashtable_set(EXTENSIONS.hashtable, key, newvalue) < 0) {
  ------------------
  |  |   80|      4|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1521:13): [True: 0, False: 4]
  ------------------
 1522|      0|            PyErr_NoMemory();
 1523|      0|            goto finally;
 1524|      0|        }
 1525|       |        /* The hashtable owns the key now. */
 1526|      4|        key = NULL;
 1527|      4|    }
 1528|      0|    else if (value == NULL) {
  ------------------
  |  Branch (1528:14): [True: 0, False: 0]
  ------------------
 1529|       |        /* It was previously deleted. */
 1530|      0|        entry->value = newvalue;
 1531|      0|    }
 1532|      0|    else {
 1533|       |        /* We are updating the entry for an existing module. */
 1534|       |        /* We expect def to be static, so it must be the same pointer. */
 1535|      0|        assert(value->def == def);
  ------------------
  |  Branch (1535:9): [True: 0, False: 0]
  ------------------
 1536|       |        /* We expect the same symbol to be used and the shared object file
 1537|       |         * to have remained loaded, so it must be the same pointer. */
 1538|      0|        assert(value->m_init == m_init);
  ------------------
  |  Branch (1538:9): [True: 0, False: 0]
  ------------------
 1539|       |        /* The same module can't switch between caching __dict__ and not. */
 1540|      0|        assert((value->m_dict == NULL) == (m_dict == NULL));
  ------------------
  |  Branch (1540:9): [True: 0, False: 0]
  ------------------
 1541|       |        /* This shouldn't ever happen. */
 1542|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1543|      0|    }
 1544|       |
 1545|      4|    value = newvalue;
 1546|       |
 1547|      4|finally:
 1548|      4|    if (value == NULL) {
  ------------------
  |  Branch (1548:9): [True: 0, False: 4]
  ------------------
 1549|      0|        restore_old_cached_def(def, &olddefbase);
 1550|      0|        if (newvalue != NULL) {
  ------------------
  |  Branch (1550:13): [True: 0, False: 0]
  ------------------
 1551|      0|            del_extensions_cache_value(newvalue);
 1552|      0|        }
 1553|      0|    }
 1554|      4|    else {
 1555|      4|        cleanup_old_cached_def(&olddefbase);
 1556|      4|    }
 1557|       |
 1558|      4|finally_oldvalue:
 1559|      4|    extensions_lock_release();
 1560|      4|    if (key != NULL) {
  ------------------
  |  Branch (1560:9): [True: 0, False: 4]
  ------------------
 1561|      0|        hashtable_destroy_str(key);
 1562|      0|    }
 1563|       |
 1564|      4|    return value;
 1565|      4|}
import.c:_extensions_cache_init:
 1390|      2|{
 1391|      2|    _Py_hashtable_allocator_t alloc = {PyMem_RawMalloc, PyMem_RawFree};
 1392|      2|    EXTENSIONS.hashtable = _Py_hashtable_new_full(
  ------------------
  |  |   80|      2|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
 1393|      2|        hashtable_hash_str,
 1394|      2|        hashtable_compare_str,
 1395|      2|        hashtable_destroy_str,  // key
 1396|      2|        del_extensions_cache_value,  // value
 1397|      2|        &alloc
 1398|      2|    );
 1399|      2|    if (EXTENSIONS.hashtable == NULL) {
  ------------------
  |  |   80|      2|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1399:9): [True: 0, False: 2]
  ------------------
 1400|      0|        PyErr_NoMemory();
 1401|      0|        return -1;
 1402|      0|    }
 1403|      2|    return 0;
 1404|      2|}
import.c:hashtable_hash_str:
 1335|     50|{
 1336|     50|    return Py_HashBuffer(key, strlen((const char *)key));
 1337|     50|}
import.c:alloc_extensions_cache_value:
 1128|      4|{
 1129|      4|    struct extensions_cache_value *value
 1130|      4|            = PyMem_RawMalloc(sizeof(struct extensions_cache_value));
 1131|      4|    if (value == NULL) {
  ------------------
  |  Branch (1131:9): [True: 0, False: 4]
  ------------------
 1132|      0|        PyErr_NoMemory();
 1133|      0|        return NULL;
 1134|      0|    }
 1135|      4|    *value = (struct extensions_cache_value){0};
 1136|      4|    return value;
 1137|      4|}
import.c:init_cached_m_dict:
 1215|      4|{
 1216|      4|    assert(value != NULL);
  ------------------
  |  Branch (1216:5): [True: 4, False: 0]
  ------------------
 1217|       |    /* This should only have been called without an m_dict already set. */
 1218|      4|    assert(value->m_dict == NULL);
  ------------------
  |  Branch (1218:5): [True: 4, False: 0]
  ------------------
 1219|      4|    if (m_dict == NULL) {
  ------------------
  |  Branch (1219:9): [True: 4, False: 0]
  ------------------
 1220|      4|        return 0;
 1221|      4|    }
 1222|      4|    assert(PyDict_Check(m_dict));
  ------------------
  |  Branch (1222:5): [True: 0, False: 0]
  ------------------
 1223|      0|    assert(value->origin != _Py_ext_module_origin_CORE);
  ------------------
  |  Branch (1223:5): [True: 0, False: 0]
  ------------------
 1224|       |
 1225|      0|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1226|      0|    assert(!is_interpreter_isolated(interp));
  ------------------
  |  Branch (1226:5): [True: 0, False: 0]
  ------------------
 1227|       |
 1228|       |    /* XXX gh-88216: The copied dict is owned by the current
 1229|       |     * interpreter.  That's a problem if the interpreter has
 1230|       |     * its own obmalloc state or if the module is successfully
 1231|       |     * imported into such an interpreter.  If the interpreter
 1232|       |     * has its own GIL then there may be data races and
 1233|       |     * PyImport_ClearModulesByIndex() can crash.  Normally,
 1234|       |     * a single-phase init module cannot be imported in an
 1235|       |     * isolated interpreter, but there are ways around that.
 1236|       |     * Hence, heere be dragons!  Ideally we would instead do
 1237|       |     * something like make a read-only, immortal copy of the
 1238|       |     * dict using PyMem_RawMalloc() and store *that* in m_copy.
 1239|       |     * Then we'd need to make sure to clear that when the
 1240|       |     * runtime is finalized, rather than in
 1241|       |     * PyImport_ClearModulesByIndex(). */
 1242|      0|    PyObject *copied = PyDict_Copy(m_dict);
 1243|      0|    if (copied == NULL) {
  ------------------
  |  Branch (1243:9): [True: 0, False: 0]
  ------------------
 1244|       |        /* We expect this can only be "out of memory". */
 1245|      0|        return -1;
 1246|      0|    }
 1247|       |    // XXX We may want to make the copy immortal.
 1248|       |
 1249|      0|    value->_m_dict = (struct cached_m_dict){
 1250|      0|        .copied=copied,
 1251|      0|        .interpid=PyInterpreterState_GetID(interp),
 1252|      0|    };
 1253|       |
 1254|      0|    value->m_dict = &value->_m_dict;
 1255|      0|    return 0;
 1256|      0|}
import.c:fixup_cached_def:
 1154|      4|{
 1155|       |    /* For the moment, the values in the def's m_base may belong
 1156|       |     * to another module, and we're replacing them here.  This can
 1157|       |     * cause problems later if the old module is reloaded.
 1158|       |     *
 1159|       |     * Also, we don't decref any old cached values first when we
 1160|       |     * replace them here, in case we need to restore them in the
 1161|       |     * near future.  Instead, the caller is responsible for wrapping
 1162|       |     * this up by calling cleanup_old_cached_def() or
 1163|       |     * restore_old_cached_def() if there was an error. */
 1164|      4|    PyModuleDef *def = value->def;
 1165|      4|    assert(def != NULL);
  ------------------
  |  Branch (1165:5): [True: 4, False: 0]
  ------------------
 1166|       |
 1167|       |    /* We assume that all module defs are statically allocated
 1168|       |       and will never be freed.  Otherwise, we would incref here. */
 1169|      4|    _Py_SetImmortalUntracked((PyObject *)def);
 1170|       |
 1171|      4|    def->m_base.m_init = value->m_init;
 1172|       |
 1173|      4|    assert(value->m_index > 0);
  ------------------
  |  Branch (1173:5): [True: 4, False: 0]
  ------------------
 1174|      4|    _set_module_index(def, value->m_index);
 1175|       |
 1176|       |    /* Different modules can share the same def, so we can't just
 1177|       |     * expect m_copy to be NULL. */
 1178|      4|    assert(def->m_base.m_copy == NULL
  ------------------
  |  Branch (1178:5): [True: 4, False: 0]
  |  Branch (1178:5): [True: 0, False: 0]
  |  Branch (1178:5): [True: 0, False: 0]
  ------------------
 1179|      4|           || def->m_base.m_init == NULL
 1180|      4|           || value->m_dict != NULL);
 1181|      4|    if (value->m_dict != NULL) {
  ------------------
  |  Branch (1181:9): [True: 0, False: 4]
  ------------------
 1182|      0|        assert(value->m_dict->copied != NULL);
  ------------------
  |  Branch (1182:9): [True: 0, False: 0]
  ------------------
 1183|       |        /* As noted above, we don't first decref the old value, if any. */
 1184|      0|        def->m_base.m_copy = Py_NewRef(value->m_dict->copied);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1185|      0|    }
 1186|      4|}
import.c:_set_module_index:
  556|      4|{
  557|      4|    assert(index > 0);
  ------------------
  |  Branch (557:5): [True: 4, False: 0]
  ------------------
  558|      4|    if (index == def->m_base.m_index) {
  ------------------
  |  Branch (558:9): [True: 4, False: 0]
  ------------------
  559|       |        /* There's nothing to do. */
  560|      4|    }
  561|      0|    else if (def->m_base.m_index == 0) {
  ------------------
  |  Branch (561:14): [True: 0, False: 0]
  ------------------
  562|       |        /* It should have been initialized by PyModuleDef_Init().
  563|       |         * We assert here to catch this in dev, but keep going otherwise. */
  564|      0|        assert(def->m_base.m_index != 0);
  ------------------
  |  Branch (564:9): [True: 0, False: 0]
  ------------------
  565|      0|        def->m_base.m_index = index;
  566|      0|    }
  567|      0|    else {
  568|       |        /* It was already set for a different module.
  569|       |         * We replace the old value. */
  570|      0|        assert(def->m_base.m_index > 0);
  ------------------
  |  Branch (570:9): [True: 0, False: 0]
  ------------------
  571|      0|        def->m_base.m_index = index;
  572|      0|    }
  573|      4|}
import.c:cleanup_old_cached_def:
 1196|      4|{
 1197|      4|    Py_XDECREF(oldbase->m_copy);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1198|      4|}
import.c:finish_singlephase_extension:
 1913|      4|{
 1914|      4|    assert(mod != NULL && PyModule_Check(mod));
  ------------------
  |  Branch (1914:5): [True: 4, False: 0]
  |  Branch (1914:5): [True: 4, False: 0]
  ------------------
 1915|      4|    assert(cached->def == _PyModule_GetDefOrNull(mod));
  ------------------
  |  Branch (1915:5): [True: 4, False: 0]
  ------------------
 1916|       |
 1917|      4|    Py_ssize_t index = _get_cached_module_index(cached);
 1918|      4|    if (_modules_by_index_set(tstate->interp, index, mod) < 0) {
  ------------------
  |  Branch (1918:9): [True: 0, False: 4]
  ------------------
 1919|      0|        return -1;
 1920|      0|    }
 1921|       |
 1922|      4|    if (modules != NULL) {
  ------------------
  |  Branch (1922:9): [True: 4, False: 0]
  ------------------
 1923|      4|        if (PyObject_SetItem(modules, name, mod) < 0) {
  ------------------
  |  Branch (1923:13): [True: 0, False: 4]
  ------------------
 1924|      0|            return -1;
 1925|      0|        }
 1926|      4|    }
 1927|       |
 1928|      4|    return 0;
 1929|      4|}
import.c:create_builtin:
 2514|     33|{
 2515|     33|    struct _Py_ext_module_loader_info info;
 2516|     33|    _Py_ext_module_origin origin = _Py_ext_module_origin_BUILTIN;
 2517|     33|    if (_Py_ext_module_loader_info_init(&info, name, spec, origin) < 0) {
  ------------------
  |  Branch (2517:9): [True: 0, False: 33]
  ------------------
 2518|      0|        return NULL;
 2519|      0|    }
 2520|       |
 2521|     33|    struct extensions_cache_value *cached = NULL;
 2522|     33|    PyObject *mod = import_find_extension(tstate, &info, &cached);
 2523|     33|    if (mod != NULL) {
  ------------------
  |  Branch (2523:9): [True: 0, False: 33]
  ------------------
 2524|      0|        assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2524:9): [True: 0, False: 0]
  ------------------
 2525|      0|        assert(cached != NULL);
  ------------------
  |  Branch (2525:9): [True: 0, False: 0]
  ------------------
 2526|       |        /* The module might not have md_def set in certain reload cases. */
 2527|      0|        assert(_PyModule_GetDefOrNull(mod) == NULL
  ------------------
  |  Branch (2527:9): [True: 0, False: 0]
  |  Branch (2527:9): [True: 0, False: 0]
  ------------------
 2528|      0|                || cached->def == _PyModule_GetDefOrNull(mod));
 2529|      0|        assert_singlephase(cached);
  ------------------
  |  | 1820|      0|    do {                                                                    \
  |  | 1821|      0|        _Py_ext_module_kind kind = _get_extension_kind(cached->def, true);  \
  |  | 1822|      0|        assert(kind == _Py_ext_module_kind_SINGLEPHASE);                    \
  |  | 1823|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1823:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2529:9): [True: 0, False: 0]
  ------------------
 2530|      0|        goto finally;
 2531|      0|    }
 2532|     33|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2532:14): [True: 0, False: 33]
  ------------------
 2533|      0|        goto finally;
 2534|      0|    }
 2535|       |
 2536|       |    /* If the module was added to the global cache
 2537|       |     * but def->m_base.m_copy was cleared (e.g. subinterp fini)
 2538|       |     * then we have to do a little dance here. */
 2539|     33|    if (cached != NULL) {
  ------------------
  |  Branch (2539:9): [True: 0, False: 33]
  ------------------
 2540|      0|        assert(cached->def->m_base.m_copy == NULL);
  ------------------
  |  Branch (2540:9): [True: 0, False: 0]
  ------------------
 2541|       |        /* For now we clear the cache and move on. */
 2542|      0|        _extensions_cache_delete(info.path, info.name);
 2543|      0|    }
 2544|       |
 2545|     33|    PyModInitFunction p0 = NULL;
 2546|     33|    if (initfunc == NULL) {
  ------------------
  |  Branch (2546:9): [True: 33, False: 0]
  ------------------
 2547|     33|        struct _inittab *entry = lookup_inittab_entry(&info);
 2548|     33|        if (entry == NULL) {
  ------------------
  |  Branch (2548:13): [True: 0, False: 33]
  ------------------
 2549|      0|            mod = NULL;
 2550|      0|            _PyErr_SetModuleNotFoundError(info.name);
 2551|      0|            goto finally;
 2552|      0|        }
 2553|       |
 2554|     33|        p0 = (PyModInitFunction)entry->initfunc;
 2555|     33|    }
 2556|      0|    else {
 2557|      0|        p0 = initfunc;
 2558|      0|    }
 2559|       |
 2560|     33|    if (p0 == NULL) {
  ------------------
  |  Branch (2560:9): [True: 0, False: 33]
  ------------------
 2561|       |        /* Cannot re-init internal module ("sys" or "builtins") */
 2562|      0|        assert(is_core_module(tstate->interp, info.name, info.path));
  ------------------
  |  Branch (2562:9): [True: 0, False: 0]
  ------------------
 2563|      0|        mod = import_add_module(tstate, info.name);
 2564|      0|        goto finally;
 2565|      0|    }
 2566|       |
 2567|       |
 2568|       |#ifdef Py_GIL_DISABLED
 2569|       |    // This call (and the corresponding call to _PyImport_CheckGILForModule())
 2570|       |    // would ideally be inside import_run_extension(). They are kept in the
 2571|       |    // callers for now because that would complicate the control flow inside
 2572|       |    // import_run_extension(). It should be possible to restructure
 2573|       |    // import_run_extension() to address this.
 2574|       |    _PyEval_EnableGILTransient(tstate);
 2575|       |#endif
 2576|       |    /* Now load it. */
 2577|     33|    mod = import_run_extension(
 2578|     33|                    tstate, p0, &info, spec, get_modules_dict(tstate, true));
 2579|       |#ifdef Py_GIL_DISABLED
 2580|       |    if (_PyImport_CheckGILForModule(mod, info.name) < 0) {
 2581|       |        Py_CLEAR(mod);
 2582|       |        goto finally;
 2583|       |    }
 2584|       |#endif
 2585|       |
 2586|     33|finally:
 2587|     33|    _Py_ext_module_loader_info_clear(&info);
 2588|     33|    return mod;
 2589|     33|}
import.c:import_find_extension:
 2047|     34|{
 2048|       |    /* Only single-phase init modules will be in the cache. */
 2049|     34|    struct extensions_cache_value *cached
 2050|     34|            = _extensions_cache_get(info->path, info->name);
 2051|     34|    if (cached == NULL) {
  ------------------
  |  Branch (2051:9): [True: 34, False: 0]
  ------------------
 2052|     34|        return NULL;
 2053|     34|    }
 2054|     34|    assert(cached->def != NULL);
  ------------------
  |  Branch (2054:5): [True: 0, False: 0]
  ------------------
 2055|      0|    assert_singlephase(cached);
  ------------------
  |  | 1820|      0|    do {                                                                    \
  |  | 1821|      0|        _Py_ext_module_kind kind = _get_extension_kind(cached->def, true);  \
  |  | 1822|      0|        assert(kind == _Py_ext_module_kind_SINGLEPHASE);                    \
  |  | 1823|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1823:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2055:5): [True: 0, False: 0]
  ------------------
 2056|      0|    *p_cached = cached;
 2057|       |
 2058|       |    /* It may have been successfully imported previously
 2059|       |       in an interpreter that allows legacy modules
 2060|       |       but is not allowed in the current interpreter. */
 2061|      0|    const char *name_buf = PyUnicode_AsUTF8(info->name);
 2062|      0|    assert(name_buf != NULL);
  ------------------
  |  Branch (2062:5): [True: 0, False: 0]
  ------------------
 2063|      0|    if (_PyImport_CheckSubinterpIncompatibleExtensionAllowed(name_buf) < 0) {
  ------------------
  |  Branch (2063:9): [True: 0, False: 0]
  ------------------
 2064|      0|        return NULL;
 2065|      0|    }
 2066|       |
 2067|      0|    PyObject *mod = reload_singlephase_extension(tstate, cached, info);
 2068|      0|    if (mod == NULL) {
  ------------------
  |  Branch (2068:9): [True: 0, False: 0]
  ------------------
 2069|      0|        return NULL;
 2070|      0|    }
 2071|       |
 2072|      0|    int verbose = _PyInterpreterState_GetConfig(tstate->interp)->verbose;
 2073|      0|    if (verbose) {
  ------------------
  |  Branch (2073:9): [True: 0, False: 0]
  ------------------
 2074|      0|        PySys_FormatStderr("import %U # previously loaded (%R)\n",
 2075|      0|                           info->name, info->path);
 2076|      0|    }
 2077|       |
 2078|      0|    return mod;
 2079|      0|}
import.c:lookup_inittab_entry:
 2498|     33|{
 2499|    665|    for (struct _inittab *p = INITTAB; p->name != NULL; p++) {
  ------------------
  |  |   78|     33|#define INITTAB _PyRuntime.imports.inittab
  ------------------
  |  Branch (2499:40): [True: 665, False: 0]
  ------------------
 2500|    665|        if (_PyUnicode_EqualToASCIIString(info->name, p->name)) {
  ------------------
  |  Branch (2500:13): [True: 33, False: 632]
  ------------------
 2501|     33|            return p;
 2502|     33|        }
 2503|    665|    }
 2504|       |    // not found
 2505|      0|    return NULL;
 2506|     33|}
import.c:import_run_extension:
 2122|     34|{
 2123|       |    /* Core modules go through _PyImport_FixupBuiltin(). */
 2124|     34|    assert(!is_core_module(tstate->interp, info->name, info->path));
  ------------------
  |  Branch (2124:5): [True: 34, False: 0]
  ------------------
 2125|       |
 2126|     34|    PyObject *mod = NULL;
 2127|     34|    PyModuleDef *def = NULL;
 2128|     34|    struct extensions_cache_value *cached = NULL;
 2129|     34|    const char *name_buf = PyBytes_AS_STRING(info->name_encoded);
  ------------------
  |  |   27|     34|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2130|       |
 2131|       |    /* We cannot know if the module is single-phase init or
 2132|       |     * multi-phase init until after we call its init function. Even
 2133|       |     * in isolated interpreters (that do not support single-phase init),
 2134|       |     * the init function will run without restriction.  For multi-phase
 2135|       |     * init modules that isn't a problem because the init function only
 2136|       |     * runs PyModuleDef_Init() on the module's def and then returns it.
 2137|       |     *
 2138|       |     * However, for single-phase init the module's init function will
 2139|       |     * create the module, create other objects (and allocate other
 2140|       |     * memory), populate it and its module state, and initialize static
 2141|       |     * types.  Some modules store other objects and data in global C
 2142|       |     * variables and register callbacks with the runtime/stdlib or
 2143|       |     * even external libraries (which is part of why we can't just
 2144|       |     * dlclose() the module in the error case).  That's a problem
 2145|       |     * for isolated interpreters since all of the above happens
 2146|       |     * and only then * will the import fail.  Memory will leak,
 2147|       |     * callbacks will still get used, and sometimes there
 2148|       |     * will be crashes (memory access violations
 2149|       |     * and use-after-free).
 2150|       |     *
 2151|       |     * To put it another way, if the module is single-phase init
 2152|       |     * then the import will probably break interpreter isolation
 2153|       |     * and should fail ASAP.  However, the module's init function
 2154|       |     * will still get run.  That means it may still store state
 2155|       |     * in the shared-object/DLL address space (which never gets
 2156|       |     * closed/cleared), including objects (e.g. static types).
 2157|       |     * This is a problem for isolated subinterpreters since each
 2158|       |     * has its own object allocator.  If the loaded shared-object
 2159|       |     * still holds a reference to an object after the corresponding
 2160|       |     * interpreter has finalized then either we must let it leak
 2161|       |     * or else any later use of that object by another interpreter
 2162|       |     * (or across multiple init-fini cycles) will crash the process.
 2163|       |     *
 2164|       |     * To avoid all of that, we make sure the module's init function
 2165|       |     * is always run first with the main interpreter active.  If it was
 2166|       |     * already the main interpreter then we can continue loading the
 2167|       |     * module like normal.  Otherwise, right after the init function,
 2168|       |     * we take care of some import state bookkeeping, switch back
 2169|       |     * to the subinterpreter, check for single-phase init,
 2170|       |     * and then continue loading like normal. */
 2171|       |
 2172|     34|    bool switched = false;
 2173|       |    /* We *could* leave in place a legacy interpreter here
 2174|       |     * (one that shares obmalloc/GIL with main interp),
 2175|       |     * but there isn't a big advantage, we anticipate
 2176|       |     * such interpreters will be increasingly uncommon,
 2177|       |     * and the code is a bit simpler if we always switch
 2178|       |     * to the main interpreter. */
 2179|     34|    PyThreadState *main_tstate = switch_to_main_interpreter(tstate);
 2180|     34|    if (main_tstate == NULL) {
  ------------------
  |  Branch (2180:9): [True: 0, False: 34]
  ------------------
 2181|      0|        return NULL;
 2182|      0|    }
 2183|     34|    else if (main_tstate != tstate) {
  ------------------
  |  Branch (2183:14): [True: 0, False: 34]
  ------------------
 2184|      0|        switched = true;
 2185|       |        /* In the switched case, we could play it safe
 2186|       |         * by getting the main interpreter's import lock here.
 2187|       |         * It's unlikely to matter though. */
 2188|      0|    }
 2189|       |
 2190|     34|    struct _Py_ext_module_loader_result res;
 2191|     34|    int rc = _PyImport_RunModInitFunc(p0, info, &res);
 2192|     34|    bool main_error = false;
 2193|     34|    if (rc < 0) {
  ------------------
  |  Branch (2193:9): [True: 0, False: 34]
  ------------------
 2194|       |        /* We discard res.def. */
 2195|      0|        assert(res.module == NULL);
  ------------------
  |  Branch (2195:9): [True: 0, False: 0]
  ------------------
 2196|      0|    }
 2197|     34|    else {
 2198|     34|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (2198:9): [True: 34, False: 0]
  ------------------
 2199|     34|        assert(res.err == NULL);
  ------------------
  |  Branch (2199:9): [True: 34, False: 0]
  ------------------
 2200|       |
 2201|     34|        mod = res.module;
 2202|     34|        res.module = NULL;
 2203|     34|        def = res.def;
 2204|     34|        assert(def != NULL);
  ------------------
  |  Branch (2204:9): [True: 34, False: 0]
  ------------------
 2205|       |
 2206|       |        /* Do anything else that should be done
 2207|       |         * while still using the main interpreter. */
 2208|     34|        if (res.kind == _Py_ext_module_kind_SINGLEPHASE) {
  ------------------
  |  Branch (2208:13): [True: 0, False: 34]
  ------------------
 2209|       |            /* Remember the filename as the __file__ attribute */
 2210|      0|            if (info->filename != NULL) {
  ------------------
  |  Branch (2210:17): [True: 0, False: 0]
  ------------------
 2211|      0|                PyObject *filename = NULL;
 2212|      0|                if (switched) {
  ------------------
  |  Branch (2212:21): [True: 0, False: 0]
  ------------------
 2213|       |                    // The original filename may be allocated by subinterpreter's
 2214|       |                    // obmalloc, so we create a copy here.
 2215|      0|                    filename = _PyUnicode_Copy(info->filename);
 2216|      0|                    if (filename == NULL) {
  ------------------
  |  Branch (2216:25): [True: 0, False: 0]
  ------------------
 2217|      0|                        main_error = true;
 2218|      0|                        goto main_finally;
 2219|      0|                    }
 2220|      0|                }
 2221|      0|                else {
 2222|      0|                    filename = Py_NewRef(info->filename);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2223|      0|                }
 2224|       |                // XXX There's a refleak somewhere with the filename.
 2225|       |                // Until we can track it down, we immortalize it.
 2226|      0|                PyInterpreterState *interp = _PyInterpreterState_GET();
 2227|      0|                _PyUnicode_InternImmortal(interp, &filename);
 2228|       |
 2229|      0|                if (PyModule_AddObjectRef(mod, "__file__", filename) < 0) {
  ------------------
  |  Branch (2229:21): [True: 0, False: 0]
  ------------------
 2230|      0|                    PyErr_Clear(); /* Not important enough to report */
 2231|      0|                }
 2232|      0|            }
 2233|       |
 2234|       |            /* Update global import state. */
 2235|      0|            assert(def->m_base.m_index != 0);
  ------------------
  |  Branch (2235:13): [True: 0, False: 0]
  ------------------
 2236|      0|            struct singlephase_global_update singlephase = {
 2237|       |                // XXX Modules that share a def should each get their own index,
 2238|       |                // whereas currently they share (which means the per-interpreter
 2239|       |                // cache is less reliable than it should be).
 2240|      0|                .m_index=def->m_base.m_index,
 2241|      0|                .origin=info->origin,
 2242|       |#ifdef Py_GIL_DISABLED
 2243|       |                .md_requires_gil=((PyModuleObject *)mod)->md_requires_gil,
 2244|       |#endif
 2245|      0|            };
 2246|       |            // gh-88216: Extensions and def->m_base.m_copy can be updated
 2247|       |            // when the extension module doesn't support sub-interpreters.
 2248|      0|            if (def->m_size == -1) {
  ------------------
  |  Branch (2248:17): [True: 0, False: 0]
  ------------------
 2249|       |                /* We will reload from m_copy. */
 2250|      0|                assert(def->m_base.m_init == NULL);
  ------------------
  |  Branch (2250:17): [True: 0, False: 0]
  ------------------
 2251|      0|                singlephase.m_dict = PyModule_GetDict(mod);
 2252|      0|                assert(singlephase.m_dict != NULL);
  ------------------
  |  Branch (2252:17): [True: 0, False: 0]
  ------------------
 2253|      0|            }
 2254|      0|            else {
 2255|       |                /* We will reload via the init function. */
 2256|      0|                assert(def->m_size >= 0);
  ------------------
  |  Branch (2256:17): [True: 0, False: 0]
  ------------------
 2257|      0|                assert(def->m_base.m_copy == NULL);
  ------------------
  |  Branch (2257:17): [True: 0, False: 0]
  ------------------
 2258|      0|                singlephase.m_init = p0;
 2259|      0|            }
 2260|      0|            cached = update_global_state_for_extension(
 2261|      0|                    main_tstate, info->path, info->name, def, &singlephase);
 2262|      0|            if (cached == NULL) {
  ------------------
  |  Branch (2262:17): [True: 0, False: 0]
  ------------------
 2263|      0|                assert(PyErr_Occurred());
  ------------------
  |  Branch (2263:17): [True: 0, False: 0]
  ------------------
 2264|      0|                main_error = true;
 2265|      0|                goto main_finally;
 2266|      0|            }
 2267|      0|        }
 2268|     34|    }
 2269|       |
 2270|     34|main_finally:
 2271|     34|    if (rc < 0) {
  ------------------
  |  Branch (2271:9): [True: 0, False: 34]
  ------------------
 2272|      0|        _Py_ext_module_loader_result_apply_error(&res, name_buf);
 2273|      0|    }
 2274|       |
 2275|       |    /* Switch back to the subinterpreter. */
 2276|     34|    if (switched) {
  ------------------
  |  Branch (2276:9): [True: 0, False: 34]
  ------------------
 2277|       |        // gh-144601: The exception object can't be transferred across
 2278|       |        // interpreters. Instead, we print out an unraisable exception, and
 2279|       |        // then raise a different exception for the calling interpreter.
 2280|      0|        if (rc < 0 || main_error) {
  ------------------
  |  Branch (2280:13): [True: 0, False: 0]
  |  Branch (2280:23): [True: 0, False: 0]
  ------------------
 2281|      0|            assert(PyErr_Occurred());
  ------------------
  |  Branch (2281:13): [True: 0, False: 0]
  ------------------
 2282|      0|            PyErr_FormatUnraisable("Exception while importing from subinterpreter");
 2283|      0|        }
 2284|      0|        assert(main_tstate != tstate);
  ------------------
  |  Branch (2284:9): [True: 0, False: 0]
  ------------------
 2285|      0|        switch_back_from_main_interpreter(tstate, main_tstate, mod);
 2286|       |        /* Any module we got from the init function will have to be
 2287|       |         * reloaded in the subinterpreter. */
 2288|      0|        mod = NULL;
 2289|      0|        if (rc < 0 || main_error) {
  ------------------
  |  Branch (2289:13): [True: 0, False: 0]
  |  Branch (2289:23): [True: 0, False: 0]
  ------------------
 2290|      0|            PyErr_SetString(PyExc_ImportError,
 2291|      0|                            "failed to import from subinterpreter due to exception");
 2292|      0|            goto error;
 2293|      0|        }
 2294|      0|    }
 2295|       |
 2296|       |    /*****************************************************************/
 2297|       |    /* At this point we are back to the interpreter we started with. */
 2298|       |    /*****************************************************************/
 2299|       |
 2300|       |    /* Finally we handle the error return from _PyImport_RunModInitFunc(). */
 2301|     34|    if (rc < 0) {
  ------------------
  |  Branch (2301:9): [True: 0, False: 34]
  ------------------
 2302|      0|        goto error;
 2303|      0|    }
 2304|     34|    if (main_error) {
  ------------------
  |  Branch (2304:9): [True: 0, False: 34]
  ------------------
 2305|      0|        goto error;
 2306|      0|    }
 2307|       |
 2308|     34|    if (res.kind == _Py_ext_module_kind_MULTIPHASE) {
  ------------------
  |  Branch (2308:9): [True: 34, False: 0]
  ------------------
 2309|     34|        assert_multiphase_def(def);
  ------------------
  |  | 1805|     34|    do {                                                            \
  |  | 1806|     34|        _Py_ext_module_kind kind = _get_extension_kind(def, false); \
  |  | 1807|     34|        assert(kind == _Py_ext_module_kind_MULTIPHASE               \
  |  | 1808|     34|                /* m_slots can be NULL. */                          \
  |  | 1809|     34|                || kind == _Py_ext_module_kind_UNKNOWN);            \
  |  | 1810|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1810:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
  |  Branch (2309:9): [True: 34, False: 0]
  |  Branch (2309:9): [True: 0, False: 0]
  ------------------
 2310|     34|        assert(mod == NULL);
  ------------------
  |  Branch (2310:9): [True: 34, False: 0]
  ------------------
 2311|       |        /* Note that we cheat a little by not repeating the calls
 2312|       |         * to _PyImport_GetModuleExportHooks() and _PyImport_RunModInitFunc(). */
 2313|     34|        mod = PyModule_FromDefAndSpec(def, spec);
  ------------------
  |  |   80|     34|    PyModule_FromDefAndSpec2((module), (spec), PYTHON_API_VERSION)
  |  |  ------------------
  |  |  |  |   59|     34|#define PYTHON_API_VERSION 1013
  |  |  ------------------
  ------------------
 2314|     34|        if (mod == NULL) {
  ------------------
  |  Branch (2314:13): [True: 0, False: 34]
  ------------------
 2315|      0|            goto error;
 2316|      0|        }
 2317|     34|    }
 2318|      0|    else {
 2319|      0|        assert(res.kind == _Py_ext_module_kind_SINGLEPHASE);
  ------------------
  |  Branch (2319:9): [True: 0, False: 0]
  ------------------
 2320|      0|        assert_singlephase_def(def);
  ------------------
  |  | 1813|      0|    do {                                                            \
  |  | 1814|      0|        _Py_ext_module_kind kind = _get_extension_kind(def, true);  \
  |  | 1815|      0|        assert(kind == _Py_ext_module_kind_SINGLEPHASE              \
  |  | 1816|      0|                || kind == _Py_ext_module_kind_UNKNOWN);            \
  |  | 1817|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1817:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2320:9): [True: 0, False: 0]
  |  Branch (2320:9): [True: 0, False: 0]
  ------------------
 2321|       |
 2322|      0|        if (_PyImport_CheckSubinterpIncompatibleExtensionAllowed(name_buf) < 0) {
  ------------------
  |  Branch (2322:13): [True: 0, False: 0]
  ------------------
 2323|      0|            goto error;
 2324|      0|        }
 2325|      0|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (2325:9): [True: 0, False: 0]
  ------------------
 2326|       |
 2327|      0|        if (switched) {
  ------------------
  |  Branch (2327:13): [True: 0, False: 0]
  ------------------
 2328|       |            /* We switched to the main interpreter to run the init
 2329|       |             * function, so now we will "reload" the module from the
 2330|       |             * cached data using the original subinterpreter. */
 2331|      0|            assert(mod == NULL);
  ------------------
  |  Branch (2331:13): [True: 0, False: 0]
  ------------------
 2332|      0|            mod = reload_singlephase_extension(tstate, cached, info);
 2333|      0|            if (mod == NULL) {
  ------------------
  |  Branch (2333:17): [True: 0, False: 0]
  ------------------
 2334|      0|                goto error;
 2335|      0|            }
 2336|      0|            assert(!PyErr_Occurred());
  ------------------
  |  Branch (2336:13): [True: 0, False: 0]
  ------------------
 2337|      0|            assert(PyModule_Check(mod));
  ------------------
  |  Branch (2337:13): [True: 0, False: 0]
  ------------------
 2338|      0|        }
 2339|      0|        else {
 2340|      0|            assert(mod != NULL);
  ------------------
  |  Branch (2340:13): [True: 0, False: 0]
  ------------------
 2341|      0|            assert(PyModule_Check(mod));
  ------------------
  |  Branch (2341:13): [True: 0, False: 0]
  ------------------
 2342|       |
 2343|       |            /* Update per-interpreter import state. */
 2344|      0|            PyObject *modules = get_modules_dict(tstate, true);
 2345|      0|            if (finish_singlephase_extension(
  ------------------
  |  Branch (2345:17): [True: 0, False: 0]
  ------------------
 2346|      0|                    tstate, mod, cached, info->name, modules) < 0)
 2347|      0|            {
 2348|      0|                goto error;
 2349|      0|            }
 2350|      0|        }
 2351|      0|    }
 2352|       |
 2353|     34|    _Py_ext_module_loader_result_clear(&res);
 2354|     34|    return mod;
 2355|       |
 2356|      0|error:
 2357|      0|    Py_XDECREF(mod);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2358|      0|    _Py_ext_module_loader_result_clear(&res);
 2359|       |    return NULL;
 2360|     34|}
import.c:module_dict_for_exec:
 2837|      4|{
 2838|      4|    PyObject *m, *d;
 2839|       |
 2840|      4|    m = import_add_module(tstate, name);
 2841|      4|    if (m == NULL)
  ------------------
  |  Branch (2841:9): [True: 0, False: 4]
  ------------------
 2842|      0|        return NULL;
 2843|       |    /* If the module is being reloaded, we get the old module back
 2844|       |       and re-use its dict to exec the new code. */
 2845|      4|    d = PyModule_GetDict(m);
 2846|      4|    int r = PyDict_Contains(d, &_Py_ID(__builtins__));
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2847|      4|    if (r == 0) {
  ------------------
  |  Branch (2847:9): [True: 4, False: 0]
  ------------------
 2848|      4|        r = PyDict_SetItem(d, &_Py_ID(__builtins__), PyEval_GetBuiltins());
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2849|      4|    }
 2850|      4|    if (r < 0) {
  ------------------
  |  Branch (2850:9): [True: 0, False: 4]
  ------------------
 2851|      0|        remove_module(tstate, name);
 2852|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2853|      0|        return NULL;
 2854|      0|    }
 2855|       |
 2856|      4|    Py_INCREF(d);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2857|      4|    Py_DECREF(m);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2858|      4|    return d;
 2859|      4|}
import.c:exec_code_in_module:
 2864|      4|{
 2865|      4|    PyObject *v, *m;
 2866|       |
 2867|      4|    v = PyEval_EvalCode(code_object, module_dict, module_dict);
 2868|      4|    if (v == NULL) {
  ------------------
  |  Branch (2868:9): [True: 0, False: 4]
  ------------------
 2869|      0|        remove_module(tstate, name);
 2870|      0|        return NULL;
 2871|      0|    }
 2872|      4|    Py_DECREF(v);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2873|       |
 2874|      4|    m = import_get_module(tstate, name);
 2875|      4|    if (m == NULL && !_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2875:9): [True: 0, False: 4]
  |  Branch (2875:22): [True: 0, False: 0]
  ------------------
 2876|      0|        _PyErr_Format(tstate, PyExc_ImportError,
 2877|      0|                      "Loaded module %R not found in sys.modules",
 2878|      0|                      name);
 2879|      0|    }
 2880|       |
 2881|      4|    return m;
 2882|      4|}
import.c:find_frozen:
 3179|     92|{
 3180|     92|    if (info != NULL) {
  ------------------
  |  Branch (3180:9): [True: 92, False: 0]
  ------------------
 3181|     92|        memset(info, 0, sizeof(*info));
 3182|     92|    }
 3183|       |
 3184|     92|    if (nameobj == NULL || nameobj == Py_None) {
  ------------------
  |  |  616|     92|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3184:9): [True: 0, False: 92]
  |  Branch (3184:28): [True: 0, False: 92]
  ------------------
 3185|      0|        return FROZEN_BAD_NAME;
 3186|      0|    }
 3187|     92|    const char *name = _PyUnicode_AsUTF8NoNUL(nameobj);
 3188|     92|    if (name == NULL) {
  ------------------
  |  Branch (3188:9): [True: 0, False: 92]
  ------------------
 3189|       |        // Note that this function previously used
 3190|       |        // _PyUnicode_EqualToASCIIString().  We clear the error here
 3191|       |        // (instead of propagating it) to match the earlier behavior
 3192|       |        // more closely.
 3193|      0|        PyErr_Clear();
 3194|      0|        return FROZEN_BAD_NAME;
 3195|      0|    }
 3196|       |
 3197|     92|    const struct _frozen *p = look_up_frozen(name);
 3198|     92|    if (p == NULL) {
  ------------------
  |  Branch (3198:9): [True: 32, False: 60]
  ------------------
 3199|     32|        return FROZEN_NOT_FOUND;
 3200|     32|    }
 3201|     60|    if (info != NULL) {
  ------------------
  |  Branch (3201:9): [True: 60, False: 0]
  ------------------
 3202|     60|        info->nameobj = nameobj;  // borrowed
 3203|     60|        info->data = (const char *)p->code;
 3204|     60|        info->size = p->size;
 3205|     60|        info->is_package = p->is_package;
 3206|     60|        if (p->size < 0) {
  ------------------
  |  Branch (3206:13): [True: 0, False: 60]
  ------------------
 3207|       |            // backward compatibility with negative size values
 3208|      0|            info->size = -(p->size);
 3209|      0|            info->is_package = true;
 3210|      0|        }
 3211|     60|        info->origname = name;
 3212|     60|        info->is_alias = resolve_module_alias(name, _PyImport_FrozenAliases,
 3213|     60|                                              &info->origname);
 3214|     60|    }
 3215|     60|    if (p->code == NULL) {
  ------------------
  |  Branch (3215:9): [True: 0, False: 60]
  ------------------
 3216|       |        /* It is frozen but marked as un-importable. */
 3217|      0|        return FROZEN_EXCLUDED;
 3218|      0|    }
 3219|     60|    if (p->code[0] == '\0' || p->size == 0) {
  ------------------
  |  Branch (3219:9): [True: 0, False: 60]
  |  Branch (3219:31): [True: 0, False: 60]
  ------------------
 3220|       |        /* Does not contain executable code. */
 3221|      0|        return FROZEN_INVALID;
 3222|      0|    }
 3223|     60|    return FROZEN_OKAY;
 3224|     60|}
import.c:look_up_frozen:
 3122|     92|{
 3123|     92|    const struct _frozen *p;
 3124|       |    // We always use the bootstrap modules.
 3125|    410|    for (p = _PyImport_FrozenBootstrap; ; p++) {
 3126|    410|        if (p->name == NULL) {
  ------------------
  |  Branch (3126:13): [True: 72, False: 338]
  ------------------
 3127|       |            // We hit the end-of-list sentinel value.
 3128|     72|            break;
 3129|     72|        }
 3130|    338|        if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3130:13): [True: 20, False: 318]
  ------------------
 3131|     20|            return p;
 3132|     20|        }
 3133|    338|    }
 3134|       |    // Prefer custom modules, if any.  Frozen stdlib modules can be
 3135|       |    // disabled here by setting "code" to NULL in the array entry.
 3136|     72|    if (PyImport_FrozenModules != NULL) {
  ------------------
  |  Branch (3136:9): [True: 0, False: 72]
  ------------------
 3137|      0|        for (p = PyImport_FrozenModules; ; p++) {
 3138|      0|            if (p->name == NULL) {
  ------------------
  |  Branch (3138:17): [True: 0, False: 0]
  ------------------
 3139|      0|                break;
 3140|      0|            }
 3141|      0|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3141:17): [True: 0, False: 0]
  ------------------
 3142|      0|                return p;
 3143|      0|            }
 3144|      0|        }
 3145|      0|    }
 3146|       |    // Frozen stdlib modules may be disabled.
 3147|     72|    if (use_frozen()) {
  ------------------
  |  Branch (3147:9): [True: 72, False: 0]
  ------------------
 3148|    766|        for (p = _PyImport_FrozenStdlib; ; p++) {
 3149|    766|            if (p->name == NULL) {
  ------------------
  |  Branch (3149:17): [True: 32, False: 734]
  ------------------
 3150|     32|                break;
 3151|     32|            }
 3152|    734|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3152:17): [True: 40, False: 694]
  ------------------
 3153|     40|                return p;
 3154|     40|            }
 3155|    734|        }
 3156|    384|        for (p = _PyImport_FrozenTest; ; p++) {
 3157|    384|            if (p->name == NULL) {
  ------------------
  |  Branch (3157:17): [True: 32, False: 352]
  ------------------
 3158|     32|                break;
 3159|     32|            }
 3160|    352|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3160:17): [True: 0, False: 352]
  ------------------
 3161|      0|                return p;
 3162|      0|            }
 3163|    352|        }
 3164|     32|    }
 3165|     32|    return NULL;
 3166|     72|}
import.c:use_frozen:
 2981|     72|{
 2982|     72|    PyInterpreterState *interp = _PyInterpreterState_GET();
 2983|     72|    int override = OVERRIDE_FROZEN_MODULES(interp);
  ------------------
  |  |  100|     72|    (interp)->imports.override_frozen_modules
  ------------------
 2984|     72|    if (override > 0) {
  ------------------
  |  Branch (2984:9): [True: 0, False: 72]
  ------------------
 2985|      0|        return true;
 2986|      0|    }
 2987|     72|    else if (override < 0) {
  ------------------
  |  Branch (2987:14): [True: 0, False: 72]
  ------------------
 2988|      0|        return false;
 2989|      0|    }
 2990|     72|    else {
 2991|     72|        return interp->config.use_frozen_modules;
 2992|     72|    }
 2993|     72|}
import.c:resolve_module_alias:
 2963|     60|{
 2964|     60|    const struct _module_alias *entry;
 2965|    472|    for (entry = aliases; ; entry++) {
 2966|    472|        if (entry->name == NULL) {
  ------------------
  |  Branch (2966:13): [True: 44, False: 428]
  ------------------
 2967|       |            /* It isn't an alias. */
 2968|     44|            return false;
 2969|     44|        }
 2970|    428|        if (strcmp(name, entry->name) == 0) {
  ------------------
  |  Branch (2970:13): [True: 16, False: 412]
  ------------------
 2971|     16|            if (alias != NULL) {
  ------------------
  |  Branch (2971:17): [True: 16, False: 0]
  ------------------
 2972|     16|                *alias = entry->orig;
 2973|     16|            }
 2974|       |            return true;
 2975|     16|        }
 2976|    428|    }
 2977|     60|}
import.c:unmarshal_frozen_code:
 3228|     28|{
 3229|     28|    PyObject *co = PyMarshal_ReadObjectFromString(info->data, info->size);
 3230|     28|    if (co == NULL) {
  ------------------
  |  Branch (3230:9): [True: 0, False: 28]
  ------------------
 3231|       |        /* Does not contain executable code. */
 3232|      0|        PyErr_Clear();
 3233|      0|        set_frozen_error(FROZEN_INVALID, info->nameobj);
 3234|      0|        return NULL;
 3235|      0|    }
 3236|     28|    if (!PyCode_Check(co)) {
  ------------------
  |  |  168|     28|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|     28|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3236:9): [True: 0, False: 28]
  ------------------
 3237|       |        // We stick with TypeError for backward compatibility.
 3238|      0|        PyErr_Format(PyExc_TypeError,
 3239|      0|                     "frozen object %R is not a code object",
 3240|      0|                     info->nameobj);
 3241|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3242|      0|        return NULL;
 3243|      0|    }
 3244|     28|    return co;
 3245|     28|}
import.c:remove_importlib_frames:
 3674|      4|{
 3675|      4|    const char *importlib_filename = "<frozen importlib._bootstrap>";
 3676|      4|    const char *external_filename = "<frozen importlib._bootstrap_external>";
 3677|      4|    const char *remove_frames = "_call_with_frames_removed";
 3678|      4|    int always_trim = 0;
 3679|      4|    int in_importlib = 0;
 3680|      4|    PyObject **prev_link, **outer_link = NULL;
 3681|      4|    PyObject *base_tb = NULL;
 3682|       |
 3683|       |    /* Synopsis: if it's an ImportError, we trim all importlib chunks
 3684|       |       from the traceback. We always trim chunks
 3685|       |       which end with a call to "_call_with_frames_removed". */
 3686|       |
 3687|      4|    PyObject *exc = _PyErr_GetRaisedException(tstate);
 3688|      4|    if (exc == NULL || _PyInterpreterState_GetConfig(tstate->interp)->verbose) {
  ------------------
  |  Branch (3688:9): [True: 0, False: 4]
  |  Branch (3688:24): [True: 0, False: 4]
  ------------------
 3689|      0|        goto done;
 3690|      0|    }
 3691|       |
 3692|      4|    if (PyType_IsSubtype(Py_TYPE(exc), (PyTypeObject *) PyExc_ImportError)) {
  ------------------
  |  |  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 (3692:9): [True: 4, False: 0]
  ------------------
 3693|      4|        always_trim = 1;
 3694|      4|    }
 3695|       |
 3696|      4|    assert(PyExceptionInstance_Check(exc));
  ------------------
  |  Branch (3696:5): [True: 4, False: 0]
  ------------------
 3697|      4|    base_tb = PyException_GetTraceback(exc);
 3698|      4|    prev_link = &base_tb;
 3699|      4|    PyObject *tb = base_tb;
 3700|     12|    while (tb != NULL) {
  ------------------
  |  Branch (3700:12): [True: 8, False: 4]
  ------------------
 3701|      8|        assert(PyTraceBack_Check(tb));
  ------------------
  |  Branch (3701:9): [True: 8, False: 0]
  ------------------
 3702|      8|        PyTracebackObject *traceback = (PyTracebackObject *)tb;
 3703|      8|        PyObject *next = (PyObject *) traceback->tb_next;
 3704|      8|        PyFrameObject *frame = traceback->tb_frame;
 3705|      8|        PyCodeObject *code = PyFrame_GetCode(frame);
 3706|      8|        int now_in_importlib;
 3707|       |
 3708|      8|        now_in_importlib = _PyUnicode_EqualToASCIIString(code->co_filename, importlib_filename) ||
  ------------------
  |  Branch (3708:28): [True: 8, False: 0]
  ------------------
 3709|      0|                           _PyUnicode_EqualToASCIIString(code->co_filename, external_filename);
  ------------------
  |  Branch (3709:28): [True: 0, False: 0]
  ------------------
 3710|      8|        if (now_in_importlib && !in_importlib) {
  ------------------
  |  Branch (3710:13): [True: 8, False: 0]
  |  Branch (3710:33): [True: 4, False: 4]
  ------------------
 3711|       |            /* This is the link to this chunk of importlib tracebacks */
 3712|      4|            outer_link = prev_link;
 3713|      4|        }
 3714|      8|        in_importlib = now_in_importlib;
 3715|       |
 3716|      8|        if (in_importlib &&
  ------------------
  |  Branch (3716:13): [True: 8, False: 0]
  ------------------
 3717|      8|            (always_trim ||
  ------------------
  |  Branch (3717:14): [True: 8, False: 0]
  ------------------
 3718|      8|             _PyUnicode_EqualToASCIIString(code->co_name, remove_frames))) {
  ------------------
  |  Branch (3718:14): [True: 0, False: 0]
  ------------------
 3719|      8|            Py_XSETREF(*outer_link, Py_XNewRef(next));
  ------------------
  |  |  576|      8|    do { \
  |  |  577|      8|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      8|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      8|        *_tmp_dst_ptr = (src); \
  |  |  580|      8|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 3720|      8|            prev_link = outer_link;
 3721|      8|        }
 3722|      0|        else {
 3723|      0|            prev_link = (PyObject **) &traceback->tb_next;
 3724|      0|        }
 3725|      8|        Py_DECREF(code);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3726|      8|        tb = next;
 3727|      8|    }
 3728|      4|    if (base_tb == NULL) {
  ------------------
  |  Branch (3728:9): [True: 4, False: 0]
  ------------------
 3729|      4|        base_tb = Py_None;
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3730|      4|        Py_INCREF(Py_None);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3731|      4|    }
 3732|      4|    PyException_SetTraceback(exc, base_tb);
 3733|      4|done:
 3734|      4|    Py_XDECREF(base_tb);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3735|      4|    _PyErr_SetRaisedException(tstate, exc);
 3736|      4|}
import.c:resolve_name:
 3741|     12|{
 3742|     12|    PyObject *abs_name;
 3743|     12|    PyObject *package = NULL;
 3744|     12|    PyObject *spec = NULL;
 3745|     12|    Py_ssize_t last_dot;
 3746|     12|    PyObject *base;
 3747|     12|    int level_up;
 3748|       |
 3749|     12|    if (globals == NULL) {
  ------------------
  |  Branch (3749:9): [True: 0, False: 12]
  ------------------
 3750|      0|        _PyErr_SetString(tstate, PyExc_KeyError, "'__name__' not in globals");
 3751|      0|        goto error;
 3752|      0|    }
 3753|     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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3754|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 3755|      0|                         "globals must be a dict or a frozendict");
 3756|      0|        goto error;
 3757|      0|    }
 3758|     12|    if (PyDict_GetItemRef(globals, &_Py_ID(__package__), &package) < 0) {
  ------------------
  |  |  951|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3758:9): [True: 0, False: 12]
  ------------------
 3759|      0|        goto error;
 3760|      0|    }
 3761|     12|    if (package == Py_None) {
  ------------------
  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3761:9): [True: 0, False: 12]
  ------------------
 3762|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3763|      0|        package = NULL;
 3764|      0|    }
 3765|     12|    if (PyDict_GetItemRef(globals, &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  951|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3765:9): [True: 0, False: 12]
  ------------------
 3766|      0|        goto error;
 3767|      0|    }
 3768|       |
 3769|     12|    if (package != NULL) {
  ------------------
  |  Branch (3769:9): [True: 12, False: 0]
  ------------------
 3770|     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 (3770:13): [True: 0, False: 12]
  ------------------
 3771|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3772|      0|                             "package must be a string");
 3773|      0|            goto error;
 3774|      0|        }
 3775|     12|        else if (spec != NULL && spec != Py_None) {
  ------------------
  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3775:18): [True: 12, False: 0]
  |  Branch (3775:34): [True: 12, False: 0]
  ------------------
 3776|     12|            int equal;
 3777|     12|            PyObject *parent = PyObject_GetAttr(spec, &_Py_ID(parent));
  ------------------
  |  |  951|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3778|     12|            if (parent == NULL) {
  ------------------
  |  Branch (3778:17): [True: 0, False: 12]
  ------------------
 3779|      0|                goto error;
 3780|      0|            }
 3781|       |
 3782|     12|            equal = PyObject_RichCompareBool(package, parent, Py_EQ);
  ------------------
  |  |  654|     12|#define Py_EQ 2
  ------------------
 3783|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3784|     12|            if (equal < 0) {
  ------------------
  |  Branch (3784:17): [True: 0, False: 12]
  ------------------
 3785|      0|                goto error;
 3786|      0|            }
 3787|     12|            else if (equal == 0) {
  ------------------
  |  Branch (3787:22): [True: 0, False: 12]
  ------------------
 3788|      0|                if (PyErr_WarnEx(PyExc_DeprecationWarning,
  ------------------
  |  Branch (3788:21): [True: 0, False: 0]
  ------------------
 3789|      0|                        "__package__ != __spec__.parent", 1) < 0) {
 3790|      0|                    goto error;
 3791|      0|                }
 3792|      0|            }
 3793|     12|        }
 3794|     12|    }
 3795|      0|    else if (spec != NULL && spec != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3795:14): [True: 0, False: 0]
  |  Branch (3795:30): [True: 0, False: 0]
  ------------------
 3796|      0|        package = PyObject_GetAttr(spec, &_Py_ID(parent));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3797|      0|        if (package == NULL) {
  ------------------
  |  Branch (3797:13): [True: 0, False: 0]
  ------------------
 3798|      0|            goto error;
 3799|      0|        }
 3800|      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 (3800:18): [True: 0, False: 0]
  ------------------
 3801|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3802|      0|                             "__spec__.parent must be a string");
 3803|      0|            goto error;
 3804|      0|        }
 3805|      0|    }
 3806|      0|    else {
 3807|      0|        if (PyErr_WarnEx(PyExc_ImportWarning,
  ------------------
  |  Branch (3807:13): [True: 0, False: 0]
  ------------------
 3808|      0|                    "can't resolve package from __spec__ or __package__, "
 3809|      0|                    "falling back on __name__ and __path__", 1) < 0) {
 3810|      0|            goto error;
 3811|      0|        }
 3812|       |
 3813|      0|        if (PyDict_GetItemRef(globals, &_Py_ID(__name__), &package) < 0) {
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3813:13): [True: 0, False: 0]
  ------------------
 3814|      0|            goto error;
 3815|      0|        }
 3816|      0|        if (package == NULL) {
  ------------------
  |  Branch (3816:13): [True: 0, False: 0]
  ------------------
 3817|      0|            _PyErr_SetString(tstate, PyExc_KeyError,
 3818|      0|                             "'__name__' not in globals");
 3819|      0|            goto error;
 3820|      0|        }
 3821|       |
 3822|      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 (3822:13): [True: 0, False: 0]
  ------------------
 3823|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3824|      0|                             "__name__ must be a string");
 3825|      0|            goto error;
 3826|      0|        }
 3827|       |
 3828|      0|        int haspath = PyDict_Contains(globals, &_Py_ID(__path__));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3829|      0|        if (haspath < 0) {
  ------------------
  |  Branch (3829:13): [True: 0, False: 0]
  ------------------
 3830|      0|            goto error;
 3831|      0|        }
 3832|      0|        if (!haspath) {
  ------------------
  |  Branch (3832:13): [True: 0, False: 0]
  ------------------
 3833|      0|            Py_ssize_t dot;
 3834|       |
 3835|      0|            dot = PyUnicode_FindChar(package, '.',
 3836|      0|                                        0, PyUnicode_GET_LENGTH(package), -1);
  ------------------
  |  |  300|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3837|      0|            if (dot == -2) {
  ------------------
  |  Branch (3837:17): [True: 0, False: 0]
  ------------------
 3838|      0|                goto error;
 3839|      0|            }
 3840|      0|            else if (dot == -1) {
  ------------------
  |  Branch (3840:22): [True: 0, False: 0]
  ------------------
 3841|      0|                goto no_parent_error;
 3842|      0|            }
 3843|      0|            PyObject *substr = PyUnicode_Substring(package, 0, dot);
 3844|      0|            if (substr == NULL) {
  ------------------
  |  Branch (3844:17): [True: 0, False: 0]
  ------------------
 3845|      0|                goto error;
 3846|      0|            }
 3847|      0|            Py_SETREF(package, substr);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3848|      0|        }
 3849|      0|    }
 3850|       |
 3851|     12|    last_dot = PyUnicode_GET_LENGTH(package);
  ------------------
  |  |  300|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3852|     12|    if (last_dot == 0) {
  ------------------
  |  Branch (3852:9): [True: 0, False: 12]
  ------------------
 3853|      0|        goto no_parent_error;
 3854|      0|    }
 3855|       |
 3856|     12|    for (level_up = 1; level_up < level; level_up += 1) {
  ------------------
  |  Branch (3856:24): [True: 0, False: 12]
  ------------------
 3857|      0|        last_dot = PyUnicode_FindChar(package, '.', 0, last_dot, -1);
 3858|      0|        if (last_dot == -2) {
  ------------------
  |  Branch (3858:13): [True: 0, False: 0]
  ------------------
 3859|      0|            goto error;
 3860|      0|        }
 3861|      0|        else if (last_dot == -1) {
  ------------------
  |  Branch (3861:18): [True: 0, False: 0]
  ------------------
 3862|      0|            _PyErr_SetString(tstate, PyExc_ImportError,
 3863|      0|                             "attempted relative import beyond top-level "
 3864|      0|                             "package");
 3865|      0|            goto error;
 3866|      0|        }
 3867|      0|    }
 3868|       |
 3869|     12|    Py_XDECREF(spec);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3870|     12|    base = PyUnicode_Substring(package, 0, last_dot);
 3871|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3872|     12|    if (base == NULL || PyUnicode_GET_LENGTH(name) == 0) {
  ------------------
  |  |  300|     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 (3872:9): [True: 0, False: 12]
  |  Branch (3872:25): [True: 5, False: 7]
  ------------------
 3873|      5|        return base;
 3874|      5|    }
 3875|       |
 3876|      7|    abs_name = PyUnicode_FromFormat("%U.%U", base, name);
 3877|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3878|      7|    return abs_name;
 3879|       |
 3880|      0|  no_parent_error:
 3881|      0|    _PyErr_SetString(tstate, PyExc_ImportError,
 3882|      0|                     "attempted relative import "
 3883|      0|                     "with no known parent package");
 3884|       |
 3885|      0|  error:
 3886|      0|    Py_XDECREF(spec);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3887|      0|    Py_XDECREF(package);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3888|       |    return NULL;
 3889|      0|}
import.c:import_find_and_load:
 3954|     81|{
 3955|     81|    return import_find_and_load_with_name(
 3956|     81|        tstate, abs_name, &_Py_ID(_find_and_load), NULL);
  ------------------
  |  |  951|     81|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     81|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     81|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3957|     81|}
import.c:import_find_and_load_with_name:
 3895|     81|{
 3896|     81|    PyObject *mod = NULL;
 3897|     81|    PyInterpreterState *interp = tstate->interp;
 3898|     81|    int import_time = _PyInterpreterState_GetConfig(interp)->import_time;
 3899|     81|#define import_level FIND_AND_LOAD(interp).import_level
 3900|     81|#define accumulated FIND_AND_LOAD(interp).accumulated
 3901|       |
 3902|     81|    PyTime_t t1 = 0, accumulated_copy = accumulated;
  ------------------
  |  | 3900|     81|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  115|     81|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 3903|       |
 3904|       |    /* XOptions is initialized after first some imports.
 3905|       |     * So we can't have negative cache before completed initialization.
 3906|       |     * Anyway, importlib._find_and_load is much slower than
 3907|       |     * _PyDict_GetItemIdWithError().
 3908|       |     */
 3909|     81|    if (import_time) {
  ------------------
  |  Branch (3909:9): [True: 0, False: 81]
  ------------------
 3910|      0|        _IMPORT_TIME_HEADER(interp);
  ------------------
  |  |  133|      0|    do {                                                                      \
  |  |  134|      0|        if (FIND_AND_LOAD((interp)).header) {                                 \
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  |  |  |  Branch (134:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  135|      0|            fputs("import time: self [us] | cumulative | imported package\n", \
  |  |  136|      0|                  stderr);                                                    \
  |  |  137|      0|            FIND_AND_LOAD((interp)).header = 0;                               \
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  |  |  138|      0|        }                                                                     \
  |  |  139|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (139:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3911|       |
 3912|      0|        import_level++;
  ------------------
  |  | 3899|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 3913|       |        // ignore error: don't block import if reading the clock fails
 3914|      0|        (void)PyTime_PerfCounterRaw(&t1);
 3915|      0|        accumulated = 0;
  ------------------
  |  | 3900|      0|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 3916|      0|    }
 3917|       |
 3918|     81|    if (PyDTrace_IMPORT_FIND_LOAD_START_ENABLED())
  ------------------
  |  Branch (3918:9): [True: 0, False: 81]
  ------------------
 3919|      0|        PyDTrace_IMPORT_FIND_LOAD_START(PyUnicode_AsUTF8(abs_name));
 3920|       |
 3921|     81|    mod = PyObject_CallMethodObjArgs(IMPORTLIB(interp), find_and_load,
  ------------------
  |  |   96|     81|    (interp)->imports.importlib
  ------------------
 3922|     81|                                     abs_name, IMPORT_FUNC(interp), NULL);
  ------------------
  |  |  106|     81|    (interp)->imports.import_func
  ------------------
 3923|       |
 3924|     81|    if (PyDTrace_IMPORT_FIND_LOAD_DONE_ENABLED()) {
  ------------------
  |  Branch (3924:9): [True: 0, False: 81]
  ------------------
 3925|      0|        int found = mod != NULL && mod != not_found;
  ------------------
  |  Branch (3925:21): [True: 0, False: 0]
  |  Branch (3925:36): [True: 0, False: 0]
  ------------------
 3926|      0|        PyDTrace_IMPORT_FIND_LOAD_DONE(PyUnicode_AsUTF8(abs_name),
 3927|      0|                                       found);
 3928|      0|    }
 3929|       |
 3930|     81|    if (import_time) {
  ------------------
  |  Branch (3930:9): [True: 0, False: 81]
  ------------------
 3931|      0|        PyTime_t t2;
 3932|      0|        (void)PyTime_PerfCounterRaw(&t2);
 3933|      0|        PyTime_t cum = t2 - t1;
 3934|       |
 3935|      0|        import_level--;
  ------------------
  |  | 3899|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 3936|      0|        PyObject *encoded_name = get_importtime_name(abs_name);
 3937|      0|        fprintf(stderr, "import time: %9ld | %10ld | %*s%s\n",
 3938|      0|                (long)_PyTime_AsMicroseconds(cum - accumulated, _PyTime_ROUND_CEILING),
  ------------------
  |  | 3900|      0|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 3939|      0|                (long)_PyTime_AsMicroseconds(cum, _PyTime_ROUND_CEILING),
 3940|      0|                import_level*2, "",
  ------------------
  |  | 3899|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 3941|      0|                encoded_name != NULL ? PyBytes_AS_STRING(encoded_name) : "?");
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3941:17): [True: 0, False: 0]
  ------------------
 3942|      0|        Py_XDECREF(encoded_name);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3943|       |
 3944|      0|        accumulated = accumulated_copy + cum;
  ------------------
  |  | 3900|      0|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 3945|      0|    }
 3946|       |
 3947|     81|    return mod;
 3948|     81|#undef import_level
 3949|     81|#undef accumulated
 3950|     81|}
import.c:lazy_modules_add:
 4143|     16|{
 4144|     16|    PyObject *mod = import_get_module(tstate, name);
 4145|     16|    if (mod == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (4145:9): [True: 14, False: 2]
  |  Branch (4145:24): [True: 0, False: 14]
  ------------------
 4146|      0|        return -1;
 4147|      0|    }
 4148|     16|    int loaded = mod != NULL && mod != Py_None;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4148:18): [True: 2, False: 14]
  |  Branch (4148:33): [True: 2, False: 0]
  ------------------
 4149|     16|    if (loaded && PyModule_Check(mod)) {
  ------------------
  |  |   12|      2|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|      2|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4149:9): [True: 2, False: 14]
  ------------------
 4150|      2|        PyObject *spec;
 4151|      2|        if (PyDict_GetItemRef(_PyModule_GetDict(mod), &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4151:13): [True: 0, False: 2]
  ------------------
 4152|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4153|      0|            return -1;
 4154|      0|        }
 4155|      2|        loaded = spec == NULL || spec == Py_None;
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4155:18): [True: 0, False: 2]
  |  Branch (4155:34): [True: 0, False: 2]
  ------------------
 4156|      2|        if (!loaded) {
  ------------------
  |  Branch (4156:13): [True: 2, False: 0]
  ------------------
 4157|       |            // Read the usual flag without callbacks or dictionary allocation.
 4158|       |            // Unsupported spec representations stay conservatively tracked.
 4159|      2|            PyObject *initializing = NULL;
 4160|      2|            if ((Py_TYPE(spec)->tp_flags & Py_TPFLAGS_INLINE_VALUES) &&
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if ((Py_TYPE(spec)->tp_flags & Py_TPFLAGS_INLINE_VALUES) &&
  ------------------
  |  |  472|      2|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (4160:17): [True: 2, False: 0]
  ------------------
 4161|      2|                _PyObject_TryGetInstanceAttribute(spec, &_Py_ID(_initializing), &initializing)) {
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4161:17): [True: 2, False: 0]
  ------------------
 4162|      2|                loaded = initializing == NULL || initializing == Py_False;
  ------------------
  |  |   25|      2|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4162:26): [True: 0, False: 2]
  |  Branch (4162:50): [True: 2, False: 0]
  ------------------
 4163|      2|            }
 4164|      2|            Py_XDECREF(initializing);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4165|      2|        }
 4166|      2|        Py_XDECREF(spec);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4167|      2|    }
 4168|     16|    if (existing_mod_p != NULL) {
  ------------------
  |  Branch (4168:9): [True: 14, False: 2]
  ------------------
 4169|     14|        *existing_mod_p = mod;
 4170|     14|    }
 4171|      2|    else {
 4172|      2|        Py_XDECREF(mod);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4173|      2|    }
 4174|     16|    if (loaded || LAZY_MODULES(tstate->interp) == NULL) {
  ------------------
  |  |   92|     14|    (interp)->imports.lazy_modules
  ------------------
  |  Branch (4174:9): [True: 2, False: 14]
  |  Branch (4174:19): [True: 0, False: 14]
  ------------------
 4175|      2|        return 0;
 4176|      2|    }
 4177|     14|    return PySet_Add(LAZY_MODULES(tstate->interp), name);
  ------------------
  |  |   92|     14|    (interp)->imports.lazy_modules
  ------------------
 4178|     16|}
import.c:register_from_lazy_on_parent:
 4257|      2|{
 4258|       |    // IMPORT_FROM returns stored attributes directly.  Their imports are
 4259|       |    // already resolved or tracked by their own placeholders, so skip the alias.
 4260|      2|    int rc = 0;
 4261|      2|    if (existing_module != NULL && PyModule_Check(existing_module)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4261:9): [True: 0, False: 2]
  ------------------
 4262|      0|        rc = PyDict_Contains(_PyModule_GetDict(existing_module), from);
 4263|      0|        if (rc != 0) {
  ------------------
  |  Branch (4263:13): [True: 0, False: 0]
  ------------------
 4264|      0|            return rc < 0 ? -1 : 0;
  ------------------
  |  Branch (4264:20): [True: 0, False: 0]
  ------------------
 4265|      0|        }
 4266|      0|    }
 4267|       |
 4268|      2|    PyObject *fromname = PyUnicode_FromFormat("%U.%U", abs_name, from);
 4269|      2|    if (fromname == NULL) {
  ------------------
  |  Branch (4269:9): [True: 0, False: 2]
  ------------------
 4270|      0|        return -1;
 4271|      0|    }
 4272|       |
 4273|      2|    rc = lazy_modules_add(tstate, fromname, NULL);
 4274|      2|    if (rc == 0) {
  ------------------
  |  Branch (4274:9): [True: 2, False: 0]
  ------------------
 4275|      2|        rc = register_lazy_on_parent(tstate, fromname, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4276|      2|    }
 4277|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4278|      2|    return rc;
 4279|      2|}
import.c:register_lazy_on_parent:
 4208|     14|{
 4209|     14|    PyDictObject *pending =
 4210|     14|        (PyDictObject *)LAZY_PENDING_SUBMODULES(tstate->interp);
  ------------------
  |  |   94|     14|    (interp)->imports.lazy_pending_submodules
  ------------------
 4211|       |    // Finalizers can still run after finalize_modules() cleared the dict.
 4212|     14|    if (pending == NULL) {
  ------------------
  |  Branch (4212:9): [True: 0, False: 14]
  ------------------
 4213|      0|        return 0;
 4214|      0|    }
 4215|     14|    Py_ssize_t end = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  300|     14|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4216|     16|    while (true) {
  ------------------
  |  Branch (4216:12): [True: 16, Folded]
  ------------------
 4217|     16|        Py_ssize_t dot = PyUnicode_FindChar(name, '.', 0, end, -1);
 4218|     16|        if (dot < 0) {
  ------------------
  |  Branch (4218:13): [True: 14, False: 2]
  ------------------
 4219|     14|            return dot == -1 ? 0 : -1;
  ------------------
  |  Branch (4219:20): [True: 14, False: 0]
  ------------------
 4220|     14|        }
 4221|      2|        PyObject *parent = PyUnicode_Substring(name, 0, dot);
 4222|      2|        if (parent == NULL) {
  ------------------
  |  Branch (4222:13): [True: 0, False: 2]
  ------------------
 4223|      0|            return -1;
 4224|      0|        }
 4225|      2|        PyObject *child = PyUnicode_Substring(name, dot + 1, end);
 4226|      2|        if (child == NULL) {
  ------------------
  |  Branch (4226:13): [True: 0, False: 2]
  ------------------
 4227|      0|            Py_DECREF(parent);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4228|      0|            return -1;
 4229|      0|        }
 4230|       |
 4231|      2|        PyObject *submodules = ensure_lazy_pending_submodules(pending, parent);
 4232|      2|        Py_DECREF(parent);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4233|      2|        PyObject *fullname = PyUnicode_Substring(name, 0, end);
 4234|      2|        PyObject *cached = fullname == NULL ? NULL :
  ------------------
  |  Branch (4234:28): [True: 0, False: 2]
  ------------------
 4235|      2|            import_get_module(tstate, fullname);
 4236|      2|        Py_XDECREF(fullname);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4237|      2|        PyObject *value = cached != NULL && cached != Py_None ? Py_None : source;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      PyObject *value = cached != NULL && cached != Py_None ? Py_None : source;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4237:27): [True: 0, False: 2]
  |  Branch (4237:45): [True: 0, False: 0]
  ------------------
 4238|      2|        int err = -1;
 4239|      2|        if (submodules != NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (4239:13): [True: 2, False: 0]
  |  Branch (4239:35): [True: 2, False: 0]
  ------------------
 4240|      2|            err = source == Py_None ?
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4240:19): [True: 2, False: 0]
  ------------------
 4241|      2|                PyDict_SetDefaultRef(submodules, child, value, NULL) :
 4242|      2|                PyDict_SetItem(submodules, child, value);
 4243|      2|        }
 4244|      2|        Py_XDECREF(cached);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4245|      2|        Py_DECREF(child);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4246|      2|        Py_XDECREF(submodules);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4247|      2|        if (err < 0) {
  ------------------
  |  Branch (4247:13): [True: 0, False: 2]
  ------------------
 4248|      0|            return -1;
 4249|      0|        }
 4250|      2|        end = dot;
 4251|      2|    }
 4252|     14|}
import.c:ensure_lazy_pending_submodules:
 4184|      2|{
 4185|      2|    PyObject *lazy_submodules;
 4186|      2|    Py_BEGIN_CRITICAL_SECTION(lazy_modules);
  ------------------
  |  |   51|      2|    {
  ------------------
 4187|      2|    int err = _PyDict_GetItemRef_Unicode_LockHeld(lazy_modules, parent,
 4188|      2|                                                  &lazy_submodules);
 4189|      2|    if (err == 0) {
  ------------------
  |  Branch (4189:9): [True: 2, False: 0]
  ------------------
 4190|       |        // value isn't present
 4191|      2|        lazy_submodules = PyDict_New();
 4192|      2|        if (lazy_submodules != NULL &&
  ------------------
  |  Branch (4192:13): [True: 2, False: 0]
  ------------------
 4193|      2|            _PyDict_SetItem_LockHeld(lazy_modules, parent,
  ------------------
  |  Branch (4193:13): [True: 0, False: 2]
  ------------------
 4194|      2|                                     lazy_submodules) < 0) {
 4195|      0|            Py_CLEAR(lazy_submodules);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4196|      0|        }
 4197|      2|    }
 4198|      2|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      2|    }
  ------------------
 4199|      2|    return lazy_submodules;
 4200|      2|}
import.c:init_builtin_modules_table:
 2684|      2|{
 2685|      2|    size_t size;
 2686|     78|    for (size = 0; PyImport_Inittab[size].name != NULL; size++)
  ------------------
  |  Branch (2686:20): [True: 76, False: 2]
  ------------------
 2687|     76|        ;
 2688|      2|    size++;
 2689|       |
 2690|       |    /* Make the copy. */
 2691|      2|    struct _inittab *copied = _PyMem_DefaultRawMalloc(size * sizeof(struct _inittab));
 2692|      2|    if (copied == NULL) {
  ------------------
  |  Branch (2692:9): [True: 0, False: 2]
  ------------------
 2693|      0|        return -1;
 2694|      0|    }
 2695|      2|    memcpy(copied, PyImport_Inittab, size * sizeof(struct _inittab));
 2696|      2|    INITTAB = copied;
  ------------------
  |  |   78|      2|#define INITTAB _PyRuntime.imports.inittab
  ------------------
 2697|      2|    return 0;
 2698|      2|}
import.c:init_importlib:
 3407|      2|{
 3408|      2|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (3408:5): [True: 2, False: 0]
  ------------------
 3409|       |
 3410|      2|    PyInterpreterState *interp = tstate->interp;
 3411|      2|    int verbose = _PyInterpreterState_GetConfig(interp)->verbose;
 3412|       |
 3413|       |    // Import _importlib through its frozen version, _frozen_importlib.
 3414|      2|    if (verbose) {
  ------------------
  |  Branch (3414:9): [True: 0, False: 2]
  ------------------
 3415|      0|        PySys_FormatStderr("import _frozen_importlib # frozen\n");
 3416|      0|    }
 3417|      2|    if (PyImport_ImportFrozenModule("_frozen_importlib") <= 0) {
  ------------------
  |  Branch (3417:9): [True: 0, False: 2]
  ------------------
 3418|      0|        return -1;
 3419|      0|    }
 3420|       |
 3421|      2|    PyObject *importlib = PyImport_AddModuleRef("_frozen_importlib");
 3422|      2|    if (importlib == NULL) {
  ------------------
  |  Branch (3422:9): [True: 0, False: 2]
  ------------------
 3423|      0|        return -1;
 3424|      0|    }
 3425|      2|    IMPORTLIB(interp) = importlib;
  ------------------
  |  |   96|      2|    (interp)->imports.importlib
  ------------------
 3426|       |
 3427|       |    // Import the _imp module
 3428|      2|    if (verbose) {
  ------------------
  |  Branch (3428:9): [True: 0, False: 2]
  ------------------
 3429|      0|        PySys_FormatStderr("import _imp # builtin\n");
 3430|      0|    }
 3431|      2|    PyObject *imp_mod = bootstrap_imp(tstate);
 3432|      2|    if (imp_mod == NULL) {
  ------------------
  |  Branch (3432:9): [True: 0, False: 2]
  ------------------
 3433|      0|        return -1;
 3434|      0|    }
 3435|      2|    if (_PyImport_SetModuleString("_imp", imp_mod) < 0) {
  ------------------
  |  Branch (3435:9): [True: 0, False: 2]
  ------------------
 3436|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3437|      0|        return -1;
 3438|      0|    }
 3439|       |
 3440|       |    // Install importlib as the implementation of import
 3441|      2|    PyObject *value = PyObject_CallMethod(importlib, "_install",
 3442|      2|                                          "OO", sysmod, imp_mod);
 3443|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3444|      2|    if (value == NULL) {
  ------------------
  |  Branch (3444:9): [True: 0, False: 2]
  ------------------
 3445|      0|        return -1;
 3446|      0|    }
 3447|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3448|       |
 3449|      2|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (3449:5): [True: 2, False: 0]
  ------------------
 3450|      2|    return 0;
 3451|      2|}
import.c:bootstrap_imp:
 3353|      2|{
 3354|      2|    PyObject *name = PyUnicode_FromString("_imp");
 3355|      2|    if (name == NULL) {
  ------------------
  |  Branch (3355:9): [True: 0, False: 2]
  ------------------
 3356|      0|        return NULL;
 3357|      0|    }
 3358|       |
 3359|       |    // Mock a ModuleSpec object just good enough for PyModule_FromDefAndSpec():
 3360|       |    // an object with just a name attribute.
 3361|       |    //
 3362|       |    // _imp.__spec__ is overridden by importlib._bootstrap._instal() anyway.
 3363|      2|    PyObject *attrs = Py_BuildValue("{sO}", "name", name);
 3364|      2|    if (attrs == NULL) {
  ------------------
  |  Branch (3364:9): [True: 0, False: 2]
  ------------------
 3365|      0|        goto error;
 3366|      0|    }
 3367|      2|    PyObject *spec = _PyNamespace_New(attrs);
 3368|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3369|      2|    if (spec == NULL) {
  ------------------
  |  Branch (3369:9): [True: 0, False: 2]
  ------------------
 3370|      0|        goto error;
 3371|      0|    }
 3372|       |
 3373|       |    // Create the _imp module from its definition.
 3374|      2|    PyObject *mod = create_builtin(tstate, name, spec, NULL);
 3375|      2|    Py_CLEAR(name);
  ------------------
  |  |  487|      2|    do { \
  |  |  488|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  491|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      2|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      2|        } \
  |  |  494|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3376|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3377|      2|    if (mod == NULL) {
  ------------------
  |  Branch (3377:9): [True: 0, False: 2]
  ------------------
 3378|      0|        goto error;
 3379|      0|    }
 3380|      2|    assert(mod != Py_None);  // not found
  ------------------
  |  Branch (3380:5): [True: 2, False: 0]
  ------------------
 3381|       |
 3382|       |    // Execute the _imp module: call imp_module_exec().
 3383|      2|    if (exec_builtin_or_dynamic(mod) < 0) {
  ------------------
  |  Branch (3383:9): [True: 0, False: 2]
  ------------------
 3384|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3385|      0|        goto error;
 3386|      0|    }
 3387|      2|    return mod;
 3388|       |
 3389|      0|error:
 3390|      0|    Py_XDECREF(name);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3391|       |    return NULL;
 3392|      2|}
import.c:exec_builtin_or_dynamic:
  948|     34|exec_builtin_or_dynamic(PyObject *mod) {
  949|     34|    void *state;
  950|       |
  951|     34|    if (!PyModule_Check(mod)) {
  ------------------
  |  |   12|     34|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|     34|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (951:9): [True: 0, False: 34]
  ------------------
  952|      0|        return 0;
  953|      0|    }
  954|       |
  955|     34|    state = PyModule_GetState(mod);
  956|     34|    if (state) {
  ------------------
  |  Branch (956:9): [True: 0, False: 34]
  ------------------
  957|       |        /* Already initialized; skip reload */
  958|      0|        return 0;
  959|      0|    }
  960|       |
  961|     34|    return PyModule_Exec(mod);
  962|     34|}
import.c:init_importlib_external:
 3456|      2|{
 3457|      2|    PyObject *value;
 3458|      2|    value = PyObject_CallMethod(IMPORTLIB(interp),
  ------------------
  |  |   96|      2|    (interp)->imports.importlib
  ------------------
 3459|      2|                                "_install_external_importers", "");
 3460|      2|    if (value == NULL) {
  ------------------
  |  Branch (3460:9): [True: 0, False: 2]
  ------------------
 3461|      0|        return -1;
 3462|      0|    }
 3463|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3464|      2|    return 0;
 3465|      2|}
import.c:init_zipimport:
 4803|      2|{
 4804|      2|    PyObject *path_hooks = PySys_GetAttrString("path_hooks");
 4805|      2|    if (path_hooks == NULL) {
  ------------------
  |  Branch (4805:9): [True: 0, False: 2]
  ------------------
 4806|      0|        return -1;
 4807|      0|    }
 4808|       |
 4809|      2|    if (verbose) {
  ------------------
  |  Branch (4809:9): [True: 0, False: 2]
  ------------------
 4810|      0|        PySys_WriteStderr("# installing zipimport hook\n");
 4811|      0|    }
 4812|       |
 4813|      2|    PyObject *zipimporter = PyImport_ImportModuleAttrString("zipimport", "zipimporter");
 4814|      2|    if (zipimporter == NULL) {
  ------------------
  |  Branch (4814:9): [True: 0, False: 2]
  ------------------
 4815|      0|        _PyErr_Clear(tstate); /* No zipimporter object -- okay */
 4816|      0|        if (verbose) {
  ------------------
  |  Branch (4816:13): [True: 0, False: 0]
  ------------------
 4817|      0|            PySys_WriteStderr("# can't import zipimport.zipimporter\n");
 4818|      0|        }
 4819|      0|    }
 4820|      2|    else {
 4821|       |        /* sys.path_hooks.insert(0, zipimporter) */
 4822|      2|        int err = PyList_Insert(path_hooks, 0, zipimporter);
 4823|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4824|      2|        if (err < 0) {
  ------------------
  |  Branch (4824:13): [True: 0, False: 2]
  ------------------
 4825|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4826|      0|            return -1;
 4827|      0|        }
 4828|      2|        if (verbose) {
  ------------------
  |  Branch (4828:13): [True: 0, False: 2]
  ------------------
 4829|      0|            PySys_WriteStderr("# installed zipimport hook\n");
 4830|      0|        }
 4831|      2|    }
 4832|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4833|       |
 4834|      2|    return 0;
 4835|      2|}
import.c:_imp_extension_suffixes_impl:
 5085|      4|{
 5086|      4|    PyObject *list;
 5087|       |
 5088|      4|    list = PyList_New(0);
 5089|      4|    if (list == NULL)
  ------------------
  |  Branch (5089:9): [True: 0, False: 4]
  ------------------
 5090|      0|        return NULL;
 5091|      4|#ifdef HAVE_DYNAMIC_LOADING
 5092|      4|    const char *suffix;
 5093|      4|    unsigned int index = 0;
 5094|       |
 5095|     28|    while ((suffix = _PyImport_DynLoadFiletab[index])) {
  ------------------
  |  Branch (5095:12): [True: 24, False: 4]
  ------------------
 5096|     24|        PyObject *item = PyUnicode_FromString(suffix);
 5097|     24|        if (item == NULL) {
  ------------------
  |  Branch (5097:13): [True: 0, False: 24]
  ------------------
 5098|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5099|      0|            return NULL;
 5100|      0|        }
 5101|     24|        if (PyList_Append(list, item) < 0) {
  ------------------
  |  Branch (5101:13): [True: 0, False: 24]
  ------------------
 5102|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5103|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5104|      0|            return NULL;
 5105|      0|        }
 5106|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5107|     24|        index += 1;
 5108|     24|    }
 5109|      4|#endif
 5110|      4|    return list;
 5111|      4|}
import.c:_imp_acquire_lock_impl:
 4995|    362|{
 4996|    362|    PyThreadState *tstate = _PyThreadState_GET();
 4997|       |    // Leave enough stack for importlib to release the lock.
 4998|    362|    if (_Py_ReachedRecursionLimitWithMargin(tstate, 2)) {
  ------------------
  |  Branch (4998:9): [True: 0, False: 362]
  ------------------
 4999|      0|        _PyErr_SetString(tstate, PyExc_RecursionError,
 5000|      0|                         "maximum recursion depth exceeded while "
 5001|      0|                         "acquiring the import lock");
 5002|      0|        return NULL;
 5003|      0|    }
 5004|    362|    _PyImport_AcquireLock(tstate->interp);
 5005|    362|    Py_RETURN_NONE;
  ------------------
  |  |  628|    362|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    362|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5006|    362|}
import.c:_imp_release_lock_impl:
 5019|    362|{
 5020|    362|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5021|    362|    if (!_PyRecursiveMutex_IsLockedByCurrentThread(&IMPORT_LOCK(interp))) {
  ------------------
  |  |  112|    362|    (interp)->imports.lock
  ------------------
  |  Branch (5021:9): [True: 0, False: 362]
  ------------------
 5022|      0|        PyErr_SetString(PyExc_RuntimeError,
 5023|      0|                        "not holding the import lock");
 5024|      0|        return NULL;
 5025|      0|    }
 5026|    362|    _PyImport_ReleaseLock(interp);
 5027|    362|    Py_RETURN_NONE;
  ------------------
  |  |  628|    362|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    362|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5028|    362|}
import.c:_imp_find_frozen_impl:
 5161|     56|{
 5162|     56|    struct frozen_info info;
 5163|     56|    frozen_status status = find_frozen(name, &info);
 5164|     56|    if (status == FROZEN_NOT_FOUND || status == FROZEN_DISABLED) {
  ------------------
  |  Branch (5164:9): [True: 32, False: 24]
  |  Branch (5164:39): [True: 0, False: 24]
  ------------------
 5165|     32|        Py_RETURN_NONE;
  ------------------
  |  |  628|     32|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     32|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5166|     32|    }
 5167|     24|    else if (status == FROZEN_BAD_NAME) {
  ------------------
  |  Branch (5167:14): [True: 0, False: 24]
  ------------------
 5168|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5169|      0|    }
 5170|     24|    else if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5170:14): [True: 0, False: 24]
  ------------------
 5171|      0|        set_frozen_error(status, name);
 5172|      0|        return NULL;
 5173|      0|    }
 5174|       |
 5175|     24|    PyObject *data = NULL;
 5176|     24|    if (withdata) {
  ------------------
  |  Branch (5176:9): [True: 0, False: 24]
  ------------------
 5177|      0|        data = PyMemoryView_FromMemory((char *)info.data, info.size, PyBUF_READ);
  ------------------
  |  |  137|      0|#define PyBUF_READ  0x100
  ------------------
 5178|      0|        if (data == NULL) {
  ------------------
  |  Branch (5178:13): [True: 0, False: 0]
  ------------------
 5179|      0|            return NULL;
 5180|      0|        }
 5181|      0|    }
 5182|       |
 5183|     24|    PyObject *origname = NULL;
 5184|     24|    if (info.origname != NULL && info.origname[0] != '\0') {
  ------------------
  |  Branch (5184:9): [True: 24, False: 0]
  |  Branch (5184:34): [True: 24, False: 0]
  ------------------
 5185|     24|        origname = PyUnicode_FromString(info.origname);
 5186|     24|        if (origname == NULL) {
  ------------------
  |  Branch (5186:13): [True: 0, False: 24]
  ------------------
 5187|      0|            Py_XDECREF(data);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5188|      0|            return NULL;
 5189|      0|        }
 5190|     24|    }
 5191|       |
 5192|     24|    PyObject *result = PyTuple_Pack(3, data ? data : Py_None,
  ------------------
  |  |  616|     24|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5192:40): [True: 0, False: 24]
  ------------------
 5193|     24|                                    info.is_package ? Py_True : Py_False,
  ------------------
  |  |   26|     24|#  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                  info.is_package ? Py_True : Py_False,
  ------------------
  |  |   25|     24|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5193:37): [True: 0, False: 24]
  ------------------
 5194|     24|                                    origname ? origname : Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5194:37): [True: 24, False: 0]
  ------------------
 5195|     24|    Py_XDECREF(origname);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5196|     24|    Py_XDECREF(data);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5197|     24|    return result;
 5198|     24|}
import.c:_imp_get_frozen_object_impl:
 5214|     24|{
 5215|     24|    struct frozen_info info = {0};
 5216|     24|    Py_buffer buf = {0};
 5217|     24|    if (PyObject_CheckBuffer(dataobj)) {
  ------------------
  |  Branch (5217:9): [True: 0, False: 24]
  ------------------
 5218|      0|        if (PyObject_GetBuffer(dataobj, &buf, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (5218:13): [True: 0, False: 0]
  ------------------
 5219|      0|            return NULL;
 5220|      0|        }
 5221|      0|        info.data = (const char *)buf.buf;
 5222|      0|        info.size = buf.len;
 5223|      0|    }
 5224|     24|    else if (dataobj != Py_None) {
  ------------------
  |  |  616|     24|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5224:14): [True: 0, False: 24]
  ------------------
 5225|      0|        _PyArg_BadArgument("get_frozen_object", "argument 2", "bytes", dataobj);
 5226|      0|        return NULL;
 5227|      0|    }
 5228|     24|    else {
 5229|     24|        frozen_status status = find_frozen(name, &info);
 5230|     24|        if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5230:13): [True: 0, False: 24]
  ------------------
 5231|      0|            set_frozen_error(status, name);
 5232|      0|            return NULL;
 5233|      0|        }
 5234|     24|    }
 5235|       |
 5236|     24|    if (info.nameobj == NULL) {
  ------------------
  |  Branch (5236:9): [True: 0, False: 24]
  ------------------
 5237|      0|        info.nameobj = name;
 5238|      0|    }
 5239|     24|    if (info.size == 0) {
  ------------------
  |  Branch (5239:9): [True: 0, False: 24]
  ------------------
 5240|       |        /* Does not contain executable code. */
 5241|      0|        set_frozen_error(FROZEN_INVALID, name);
 5242|      0|        return NULL;
 5243|      0|    }
 5244|       |
 5245|     24|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5246|     24|    PyObject *codeobj = unmarshal_frozen_code(interp, &info);
 5247|     24|    if (dataobj != Py_None) {
  ------------------
  |  |  616|     24|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5247:9): [True: 0, False: 24]
  ------------------
 5248|      0|        PyBuffer_Release(&buf);
 5249|      0|    }
 5250|     24|    return codeobj;
 5251|     24|}
import.c:_imp_is_frozen_package_impl:
 5265|      4|{
 5266|      4|    struct frozen_info info;
 5267|      4|    frozen_status status = find_frozen(name, &info);
 5268|      4|    if (status != FROZEN_OKAY && status != FROZEN_EXCLUDED) {
  ------------------
  |  Branch (5268:9): [True: 0, False: 4]
  |  Branch (5268:34): [True: 0, False: 0]
  ------------------
 5269|      0|        set_frozen_error(status, name);
 5270|      0|        return NULL;
 5271|      0|    }
 5272|      4|    return PyBool_FromLong(info.is_package);
 5273|      4|}
import.c:_imp_create_builtin:
 5068|     31|{
 5069|     31|    PyThreadState *tstate = _PyThreadState_GET();
 5070|       |
 5071|     31|    PyObject *mod = create_builtin(tstate, NULL, spec, NULL);
 5072|     31|    return mod;
 5073|     31|}
import.c:_imp_is_builtin_impl:
 5287|     87|{
 5288|     87|    return PyLong_FromLong(is_builtin(name));
 5289|     87|}
import.c:is_builtin:
 2482|     87|{
 2483|     87|    int i;
 2484|     87|    struct _inittab *inittab = INITTAB;
  ------------------
  |  |   78|     87|#define INITTAB _PyRuntime.imports.inittab
  ------------------
 2485|  2.78k|    for (i = 0; inittab[i].name != NULL; i++) {
  ------------------
  |  Branch (2485:17): [True: 2.73k, False: 56]
  ------------------
 2486|  2.73k|        if (_PyUnicode_EqualToASCIIString(name, inittab[i].name)) {
  ------------------
  |  Branch (2486:13): [True: 31, False: 2.70k]
  ------------------
 2487|     31|            if (inittab[i].initfunc == NULL)
  ------------------
  |  Branch (2487:17): [True: 0, False: 31]
  ------------------
 2488|      0|                return -1;
 2489|     31|            else
 2490|     31|                return 1;
 2491|     31|        }
 2492|  2.73k|    }
 2493|     56|    return 0;
 2494|     87|}
import.c:_imp_is_frozen_impl:
 5303|      4|{
 5304|      4|    struct frozen_info info;
 5305|      4|    frozen_status status = find_frozen(name, &info);
 5306|      4|    if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5306:9): [True: 0, False: 4]
  ------------------
 5307|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5308|      0|    }
 5309|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5310|      4|}
import.c:_imp_create_dynamic_impl:
 5397|      1|{
 5398|      1|    FILE *fp = NULL;
 5399|      1|    PyObject *mod = NULL;
 5400|      1|    PyThreadState *tstate = _PyThreadState_GET();
 5401|       |
 5402|      1|    struct _Py_ext_module_loader_info info;
 5403|      1|    _Py_ext_module_origin origin = _Py_ext_module_origin_DYNAMIC;
 5404|      1|    if (_Py_ext_module_loader_info_init(&info, NULL, spec, origin) < 0) {
  ------------------
  |  Branch (5404:9): [True: 0, False: 1]
  ------------------
 5405|      0|        return NULL;
 5406|      0|    }
 5407|       |
 5408|      1|    struct extensions_cache_value *cached = NULL;
 5409|      1|    mod = import_find_extension(tstate, &info, &cached);
 5410|      1|    if (mod != NULL) {
  ------------------
  |  Branch (5410:9): [True: 0, False: 1]
  ------------------
 5411|      0|        assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (5411:9): [True: 0, False: 0]
  ------------------
 5412|      0|        assert(cached != NULL);
  ------------------
  |  Branch (5412:9): [True: 0, False: 0]
  ------------------
 5413|       |        /* The module might not have md_def set in certain reload cases. */
 5414|      0|        assert(_PyModule_GetDefOrNull(mod) == NULL
  ------------------
  |  Branch (5414:9): [True: 0, False: 0]
  |  Branch (5414:9): [True: 0, False: 0]
  ------------------
 5415|      0|                || cached->def == _PyModule_GetDefOrNull(mod));
 5416|      0|        assert_singlephase(cached);
  ------------------
  |  | 1820|      0|    do {                                                                    \
  |  | 1821|      0|        _Py_ext_module_kind kind = _get_extension_kind(cached->def, true);  \
  |  | 1822|      0|        assert(kind == _Py_ext_module_kind_SINGLEPHASE);                    \
  |  | 1823|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1823:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (5416:9): [True: 0, False: 0]
  ------------------
 5417|      0|        goto finally;
 5418|      0|    }
 5419|      1|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (5419:14): [True: 0, False: 1]
  ------------------
 5420|      0|        goto finally;
 5421|      0|    }
 5422|       |    /* Otherwise it must be multi-phase init or the first time it's loaded. */
 5423|       |
 5424|       |    /* If the module was added to the global cache
 5425|       |     * but def->m_base.m_copy was cleared (e.g. subinterp fini)
 5426|       |     * then we have to do a little dance here. */
 5427|      1|    if (cached != NULL) {
  ------------------
  |  Branch (5427:9): [True: 0, False: 1]
  ------------------
 5428|      0|        assert(cached->def->m_base.m_copy == NULL);
  ------------------
  |  Branch (5428:9): [True: 0, False: 0]
  ------------------
 5429|       |        /* For now we clear the cache and move on. */
 5430|      0|        _extensions_cache_delete(info.path, info.name);
 5431|      0|    }
 5432|       |
 5433|      1|    if (PySys_Audit("import", "OOOOO", info.name, info.filename,
  ------------------
  |  Branch (5433:9): [True: 0, False: 1]
  ------------------
 5434|      1|                    Py_None, Py_None, Py_None) < 0)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
                                  Py_None, Py_None, Py_None) < 0)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
                                  Py_None, Py_None, Py_None) < 0)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 5435|      0|    {
 5436|      0|        goto finally;
 5437|      0|    }
 5438|       |
 5439|       |    /* We would move this (and the fclose() below) into
 5440|       |     * _PyImport_GetModuleExportHooks(), but it isn't clear if the intervening
 5441|       |     * code relies on fp still being open. */
 5442|      1|    if (file != NULL) {
  ------------------
  |  Branch (5442:9): [True: 0, False: 1]
  ------------------
 5443|      0|        fp = Py_fopen(info.filename, "r");
 5444|      0|        if (fp == NULL) {
  ------------------
  |  Branch (5444:13): [True: 0, False: 0]
  ------------------
 5445|      0|            goto finally;
 5446|      0|        }
 5447|      0|    }
 5448|       |
 5449|      1|    PyModInitFunction p0 = NULL;
 5450|      1|    PyModExportFunction ex0 = NULL;
 5451|      1|    _PyImport_GetModuleExportHooks(&info, fp, &p0, &ex0);
 5452|      1|    if (ex0) {
  ------------------
  |  Branch (5452:9): [True: 0, False: 1]
  ------------------
 5453|      0|        mod = import_run_modexport(tstate, ex0, &info, spec);
 5454|       |        // Modules created from slots handle GIL enablement (Py_mod_gil slot)
 5455|       |        // when they're created.
 5456|      0|        goto finally;
 5457|      0|    }
 5458|      1|    if (p0 == NULL) {
  ------------------
  |  Branch (5458:9): [True: 0, False: 1]
  ------------------
 5459|      0|        goto finally;
 5460|      0|    }
 5461|       |
 5462|       |#ifdef Py_GIL_DISABLED
 5463|       |    // This call (and the corresponding call to _PyImport_CheckGILForModule())
 5464|       |    // would ideally be inside import_run_extension(). They are kept in the
 5465|       |    // callers for now because that would complicate the control flow inside
 5466|       |    // import_run_extension(). It should be possible to restructure
 5467|       |    // import_run_extension() to address this.
 5468|       |    _PyEval_EnableGILTransient(tstate);
 5469|       |#endif
 5470|      1|    mod = import_run_extension(
 5471|      1|                    tstate, p0, &info, spec, get_modules_dict(tstate, true));
 5472|       |#ifdef Py_GIL_DISABLED
 5473|       |    if (_PyImport_CheckGILForModule(mod, info.name) < 0) {
 5474|       |        Py_CLEAR(mod);
 5475|       |        goto finally;
 5476|       |    }
 5477|       |#endif
 5478|       |
 5479|      1|finally:
 5480|      1|    if (fp != NULL) {
  ------------------
  |  Branch (5480:9): [True: 0, False: 1]
  ------------------
 5481|      0|        fclose(fp);
 5482|      0|    }
 5483|      1|    _Py_ext_module_loader_info_clear(&info);
 5484|      1|    return mod;
 5485|      1|}
import.c:_imp_exec_dynamic_impl:
 5499|      1|{
 5500|      1|    return exec_builtin_or_dynamic(mod);
 5501|      1|}
import.c:_imp_exec_builtin_impl:
 5518|     31|{
 5519|     31|    return exec_builtin_or_dynamic(mod);
 5520|     31|}
import.c:_imp__fix_co_filename_impl:
 5049|     27|{
 5050|     27|    update_compiled_module(code, path);
 5051|       |
 5052|     27|    Py_RETURN_NONE;
  ------------------
  |  |  628|     27|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     27|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5053|     27|}
import.c:update_compiled_module:
 2940|     27|{
 2941|     27|    PyObject *oldname;
 2942|       |
 2943|     27|    if (PyUnicode_Compare(co->co_filename, newname) == 0)
  ------------------
  |  Branch (2943:9): [True: 27, False: 0]
  ------------------
 2944|     27|        return;
 2945|       |
 2946|      0|    oldname = co->co_filename;
 2947|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2948|      0|    update_code_filenames(co, oldname, newname);
 2949|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2950|      0|}
import.c:_imp__set_lazy_attributes_impl:
 5562|     77|{
 5563|     77|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5564|     77|    if (_PyImport_DiscardLazyModule(interp, name) < 0) {
  ------------------
  |  Branch (5564:9): [True: 0, False: 77]
  ------------------
 5565|      0|        return NULL;
 5566|      0|    }
 5567|     77|    if (_PyImport_ClearLazySubmodule(_PyThreadState_GET(), name, 0) < 0) {
  ------------------
  |  Branch (5567:9): [True: 0, False: 77]
  ------------------
 5568|      0|        return NULL;
 5569|      0|    }
 5570|     77|    Py_RETURN_NONE;
  ------------------
  |  |  628|     77|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     77|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5571|     77|}
import.c:imp_module_exec:
 5603|      2|{
 5604|      2|    const wchar_t *mode = _Py_GetConfig()->check_hash_pycs_mode;
 5605|      2|    PyObject *pyc_mode = PyUnicode_FromWideChar(mode, -1);
 5606|      2|    if (PyModule_Add(module, "check_hash_based_pycs", pyc_mode) < 0) {
  ------------------
  |  Branch (5606:9): [True: 0, False: 2]
  ------------------
 5607|      0|        return -1;
 5608|      0|    }
 5609|       |
 5610|      2|    if (PyModule_AddIntConstant(
  ------------------
  |  Branch (5610:9): [True: 0, False: 2]
  ------------------
 5611|      2|            module, "pyc_magic_number_token", PYC_MAGIC_NUMBER_TOKEN) < 0)
  ------------------
  |  |  322|      2|    ((uint32_t)PYC_MAGIC_NUMBER | ((uint32_t)'\r' << 16) | ((uint32_t)'\n' << 24))
  |  |  ------------------
  |  |  |  |  318|      2|#define PYC_MAGIC_NUMBER 3708
  |  |  ------------------
  ------------------
 5612|      0|    {
 5613|      0|        return -1;
 5614|      0|    }
 5615|       |
 5616|      2|    return 0;
 5617|      2|}

_Py_ext_module_loader_info_clear:
   90|     34|{
   91|     34|    Py_CLEAR(info->filename);
  ------------------
  |  |  487|     34|    do { \
  |  |  488|     34|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     34|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     34|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     34|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 1, False: 33]
  |  |  ------------------
  |  |  491|      1|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      1|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      1|        } \
  |  |  494|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
   92|     34|#ifndef MS_WINDOWS
   93|     34|    Py_CLEAR(info->filename_encoded);
  ------------------
  |  |  487|     34|    do { \
  |  |  488|     34|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     34|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     34|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     34|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 1, False: 33]
  |  |  ------------------
  |  |  491|      1|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      1|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      1|        } \
  |  |  494|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
   94|     34|#endif
   95|     34|    Py_CLEAR(info->name);
  ------------------
  |  |  487|     34|    do { \
  |  |  488|     34|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     34|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     34|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     34|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 34, False: 0]
  |  |  ------------------
  |  |  491|     34|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     34|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     34|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     34|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     34|        } \
  |  |  494|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
   96|       |    Py_CLEAR(info->name_encoded);
  ------------------
  |  |  487|     34|    do { \
  |  |  488|     34|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     34|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     34|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     34|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 34, False: 0]
  |  |  ------------------
  |  |  491|     34|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     34|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     34|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     34|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     34|        } \
  |  |  494|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
   97|     34|}
_Py_ext_module_loader_info_init:
  104|     34|{
  105|     34|    struct _Py_ext_module_loader_info info = {
  106|     34|        .origin=origin,
  107|     34|    };
  108|       |
  109|     34|    if (name == NULL) {
  ------------------
  |  Branch (109:9): [True: 32, False: 2]
  ------------------
  110|     32|        assert(spec != NULL);
  ------------------
  |  Branch (110:9): [True: 32, False: 0]
  ------------------
  111|     32|        info.name = PyObject_GetAttr(spec, &_Py_ID(name));
  ------------------
  |  |  951|     32|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     32|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     32|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  112|     32|        if (info.name == NULL) {
  ------------------
  |  Branch (112:13): [True: 0, False: 32]
  ------------------
  113|      0|            goto error;
  114|      0|        }
  115|     32|    }
  116|      2|    else {
  117|      2|        info.name = Py_NewRef(name);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  118|      2|    }
  119|       |
  120|     34|    if (!PyUnicode_Check(info.name)) {
  ------------------
  |  |  103|     34|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     34|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (120:9): [True: 0, False: 34]
  ------------------
  121|      0|        PyErr_Format(PyExc_TypeError,
  122|      0|                     "module name must be a string, not %T",
  123|      0|                     info.name);
  124|      0|        goto error;
  125|      0|    }
  126|       |
  127|     34|    if (PyUnicode_GetLength(info.name) == 0) {
  ------------------
  |  Branch (127:9): [True: 0, False: 34]
  ------------------
  128|      0|        PyErr_Format(PyExc_ValueError, "module name must not be empty");
  129|      0|        goto error;
  130|      0|    }
  131|       |
  132|     34|    info.name_encoded = get_encoded_name(info.name, &info.hook_prefixes);
  133|     34|    if (info.name_encoded == NULL) {
  ------------------
  |  Branch (133:9): [True: 0, False: 34]
  ------------------
  134|      0|        goto error;
  135|      0|    }
  136|       |
  137|     34|    info.newcontext = PyUnicode_AsUTF8(info.name);
  138|     34|    if (info.newcontext == NULL) {
  ------------------
  |  Branch (138:9): [True: 0, False: 34]
  ------------------
  139|      0|        goto error;
  140|      0|    }
  141|       |
  142|     34|    if (origin == _Py_ext_module_origin_DYNAMIC) {
  ------------------
  |  Branch (142:9): [True: 1, False: 33]
  ------------------
  143|      1|        assert(spec != NULL);
  ------------------
  |  Branch (143:9): [True: 1, False: 0]
  ------------------
  144|      1|        info.filename = PyObject_GetAttr(spec, &_Py_ID(origin));
  ------------------
  |  |  951|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  145|      1|        if (info.filename == NULL) {
  ------------------
  |  Branch (145:13): [True: 0, False: 1]
  ------------------
  146|      0|            goto error;
  147|      0|        }
  148|       |
  149|      1|        if (!PyUnicode_Check(info.filename)) {
  ------------------
  |  |  103|      1|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      1|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (149:13): [True: 0, False: 1]
  ------------------
  150|      0|            PyErr_SetString(PyExc_TypeError,
  151|      0|                            "module filename must be a string");
  152|      0|            goto error;
  153|      0|        }
  154|       |
  155|      1|#ifndef MS_WINDOWS
  156|      1|        info.filename_encoded = PyUnicode_EncodeFSDefault(info.filename);
  157|      1|        if (info.filename_encoded == NULL) {
  ------------------
  |  Branch (157:13): [True: 0, False: 1]
  ------------------
  158|      0|            goto error;
  159|      0|        }
  160|      1|#endif
  161|       |
  162|      1|        info.path = info.filename;
  163|      1|    }
  164|     33|    else {
  165|     33|        info.filename = NULL;
  166|     33|        info.path = info.name;
  167|     33|    }
  168|       |
  169|     34|    *p_info = info;
  170|     34|    return 0;
  171|       |
  172|      0|error:
  173|      0|    _Py_ext_module_loader_info_clear(&info);
  174|      0|    return -1;
  175|     34|}
_Py_ext_module_loader_result_clear:
  184|     34|{
  185|       |    /* Instead, the caller should have called
  186|       |     * _Py_ext_module_loader_result_apply_error(). */
  187|     34|    assert(res->err == NULL);
  ------------------
  |  Branch (187:5): [True: 34, False: 0]
  ------------------
  188|     34|    *res = (struct _Py_ext_module_loader_result){0};
  189|     34|}
_PyImport_GetModuleExportHooks:
  344|      1|{
  345|      1|    *modinit = NULL;
  346|      1|    *modexport = NULL;
  347|       |
  348|      1|    const char *name_buf = PyBytes_AS_STRING(info->name_encoded);
  ------------------
  |  |   27|      1|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  349|      1|    dl_funcptr exportfunc;
  350|       |
  351|      1|    exportfunc = findfuncptr(
  352|      1|        info->hook_prefixes->export_prefix,
  353|      1|        name_buf, info, fp);
  354|      1|    if (exportfunc) {
  ------------------
  |  Branch (354:9): [True: 0, False: 1]
  ------------------
  355|      0|        *modexport = (PyModExportFunction)exportfunc;
  356|      0|        return 2;
  357|      0|    }
  358|      1|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (358:9): [True: 0, False: 1]
  ------------------
  359|      0|        return -1;
  360|      0|    }
  361|       |
  362|      1|    exportfunc = findfuncptr(
  363|      1|        info->hook_prefixes->init_prefix,
  364|      1|        name_buf, info, fp);
  365|      1|    if (exportfunc) {
  ------------------
  |  Branch (365:9): [True: 1, False: 0]
  ------------------
  366|      1|        *modinit = (PyModInitFunction)exportfunc;
  367|      1|        return 1;
  368|      1|    }
  369|       |
  370|      0|    if (!PyErr_Occurred()) {
  ------------------
  |  Branch (370:9): [True: 0, False: 0]
  ------------------
  371|      0|        PyObject *msg;
  372|      0|        msg = PyUnicode_FromFormat(
  373|      0|            "dynamic module does not define "
  374|      0|            "module export function (%s_%s or %s_%s)",
  375|      0|            info->hook_prefixes->export_prefix, name_buf,
  376|      0|            info->hook_prefixes->init_prefix, name_buf);
  377|      0|        if (msg != NULL) {
  ------------------
  |  Branch (377:13): [True: 0, False: 0]
  ------------------
  378|      0|            PyErr_SetImportError(msg, info->name, info->filename);
  379|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  380|      0|        }
  381|      0|    }
  382|      0|    return -1;
  383|      1|}
_PyImport_RunModInitFunc:
  390|     34|{
  391|     34|    struct _Py_ext_module_loader_result res = {
  392|     34|        .kind=_Py_ext_module_kind_UNKNOWN,
  393|     34|    };
  394|       |
  395|       |    /* Call the module init function. */
  396|       |
  397|       |    /* Package context is needed for single-phase init */
  398|     34|    const char *oldcontext = _PyImport_SwapPackageContext(info->newcontext);
  399|     34|    PyObject *m = p0();
  400|     34|    _PyImport_SwapPackageContext(oldcontext);
  401|       |
  402|       |    /* Validate the result (and populate "res". */
  403|       |
  404|     34|    if (m == NULL) {
  ------------------
  |  Branch (404:9): [True: 0, False: 34]
  ------------------
  405|       |        /* The init func for multi-phase init modules is expected
  406|       |         * to return a PyModuleDef after calling PyModuleDef_Init().
  407|       |         * That function never raises an exception nor returns NULL,
  408|       |         * so at this point it must be a single-phase init modules. */
  409|      0|        res.kind = _Py_ext_module_kind_SINGLEPHASE;
  410|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (410:13): [True: 0, False: 0]
  ------------------
  411|      0|            _Py_ext_module_loader_result_set_error(
  412|      0|                        &res, _Py_ext_module_loader_result_EXCEPTION);
  413|      0|        }
  414|      0|        else {
  415|      0|            _Py_ext_module_loader_result_set_error(
  416|      0|                        &res, _Py_ext_module_loader_result_ERR_MISSING);
  417|      0|        }
  418|      0|        goto error;
  419|     34|    } else if (PyErr_Occurred()) {
  ------------------
  |  Branch (419:16): [True: 0, False: 34]
  ------------------
  420|       |        /* Likewise, we infer that this is a single-phase init module. */
  421|      0|        res.kind = _Py_ext_module_kind_SINGLEPHASE;
  422|      0|        _Py_ext_module_loader_result_set_error(
  423|      0|                &res, _Py_ext_module_loader_result_ERR_UNREPORTED_EXC);
  424|       |        /* We would probably be correct to decref m here,
  425|       |         * but we weren't doing so before,
  426|       |         * so we stick with doing nothing. */
  427|      0|        m = NULL;
  428|      0|        goto error;
  429|      0|    }
  430|       |
  431|     34|    if (Py_IS_TYPE(m, NULL)) {
  ------------------
  |  |  215|     34|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 34]
  |  |  ------------------
  ------------------
  432|       |        /* This can happen when a PyModuleDef is returned without calling
  433|       |         * PyModuleDef_Init on it
  434|       |         */
  435|      0|        _Py_ext_module_loader_result_set_error(
  436|      0|                &res, _Py_ext_module_loader_result_ERR_UNINITIALIZED);
  437|       |        /* Likewise, decref'ing here makes sense.  However, the original
  438|       |         * code has a note about "prevent segfault in DECREF",
  439|       |         * so we play it safe and leave it alone. */
  440|      0|        m = NULL; /* prevent segfault in DECREF */
  441|      0|        goto error;
  442|      0|    }
  443|       |
  444|     34|    if (PyObject_TypeCheck(m, &PyModuleDef_Type)) {
  ------------------
  |  |  378|     34|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (378:40): [True: 34, False: 0]
  |  |  ------------------
  ------------------
  445|       |        /* multi-phase init */
  446|     34|        res.kind = _Py_ext_module_kind_MULTIPHASE;
  447|     34|        res.def = (PyModuleDef *)m;
  448|       |        /* Run PyModule_FromDefAndSpec() to finish loading the module. */
  449|     34|    }
  450|      0|    else if (info->hook_prefixes == &nonascii_prefixes) {
  ------------------
  |  Branch (450:14): [True: 0, False: 0]
  ------------------
  451|       |        /* Non-ASCII is only supported for multi-phase init. */
  452|      0|        res.kind = _Py_ext_module_kind_MULTIPHASE;
  453|       |        /* Don't allow legacy init for non-ASCII module names. */
  454|      0|        _Py_ext_module_loader_result_set_error(
  455|      0|                &res, _Py_ext_module_loader_result_ERR_NONASCII_NOT_MULTIPHASE);
  456|      0|        goto error;
  457|      0|    }
  458|      0|    else {
  459|       |        /* single-phase init (legacy) */
  460|      0|        res.kind = _Py_ext_module_kind_SINGLEPHASE;
  461|      0|        res.module = m;
  462|       |
  463|      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 (463:13): [True: 0, False: 0]
  ------------------
  464|      0|            _Py_ext_module_loader_result_set_error(
  465|      0|                    &res, _Py_ext_module_loader_result_ERR_NOT_MODULE);
  466|      0|            goto error;
  467|      0|        }
  468|       |
  469|      0|        res.def = _PyModule_GetDefOrNull(m);
  470|      0|        if (res.def == NULL) {
  ------------------
  |  Branch (470:13): [True: 0, False: 0]
  ------------------
  471|      0|            PyErr_Clear();
  472|      0|            _Py_ext_module_loader_result_set_error(
  473|      0|                    &res, _Py_ext_module_loader_result_ERR_MISSING_DEF);
  474|      0|            goto error;
  475|      0|        }
  476|      0|    }
  477|       |
  478|     34|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (478:5): [True: 34, False: 0]
  ------------------
  479|     34|    assert(res.err == NULL);
  ------------------
  |  Branch (479:5): [True: 34, False: 0]
  ------------------
  480|     34|    *p_res = res;
  481|     34|    return 0;
  482|       |
  483|      0|error:
  484|      0|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (484:5): [True: 0, False: 0]
  ------------------
  485|      0|    assert(res.err != NULL);
  ------------------
  |  Branch (485:5): [True: 0, False: 0]
  ------------------
  486|      0|    Py_CLEAR(res.module);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  487|       |    res.def = NULL;
  488|      0|    *p_res = res;
  489|      0|    p_res->err = &p_res->_err;
  490|      0|    return -1;
  491|      0|}
importdl.c:get_encoded_name:
   30|     34|get_encoded_name(PyObject *name, const struct hook_prefixes **hook_prefixes) {
   31|     34|    PyObject *tmp;
   32|     34|    Py_ssize_t name_len, lastdot;
   33|       |
   34|       |    /* Get the short name (substring after last dot) */
   35|     34|    name_len = PyUnicode_GetLength(name);
   36|     34|    if (name_len < 0) {
  ------------------
  |  Branch (36:9): [True: 0, False: 34]
  ------------------
   37|      0|        return NULL;
   38|      0|    }
   39|     34|    lastdot = PyUnicode_FindChar(name, '.', 0, name_len, -1);
   40|     34|    if (lastdot < -1) {
  ------------------
  |  Branch (40:9): [True: 0, False: 34]
  ------------------
   41|      0|        return NULL;
   42|     34|    } else if (lastdot >= 0) {
  ------------------
  |  Branch (42:16): [True: 0, False: 34]
  ------------------
   43|      0|        tmp = PyUnicode_Substring(name, lastdot + 1, name_len);
   44|      0|        if (tmp == NULL)
  ------------------
  |  Branch (44:13): [True: 0, False: 0]
  ------------------
   45|      0|            return NULL;
   46|      0|        name = tmp;
   47|       |        /* "name" now holds a new reference to the substring */
   48|     34|    } else {
   49|     34|        Py_INCREF(name);
  ------------------
  |  |  310|     34|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   50|     34|    }
   51|       |
   52|       |    /* Encode to ASCII or Punycode, as needed */
   53|     34|    PyObject *encoded;
   54|     34|    if (PyUnicode_IS_ASCII(name)) {
  ------------------
  |  |  228|     34|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 34, False: 0]
  |  |  ------------------
  ------------------
   55|     34|        *hook_prefixes = &ascii_only_prefixes;
   56|     34|        encoded = PyUnicode_AsASCIIString(name);
   57|     34|    } else {
   58|      0|        *hook_prefixes = &nonascii_prefixes;
   59|      0|        encoded = PyUnicode_AsEncodedString(name, "punycode", NULL);
   60|      0|    }
   61|     34|    if (encoded == NULL) {
  ------------------
  |  Branch (61:9): [True: 0, False: 34]
  ------------------
   62|      0|        goto error;
   63|      0|    }
   64|       |
   65|       |    /* Call encoded.replace('-', '_') */
   66|     34|    PyObject *modname = PyObject_VectorcallMethod(
   67|     34|        &_Py_ID(replace),
  ------------------
  |  |  951|     34|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     34|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     34|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   68|     34|        (PyObject*[3]) {
   69|     34|            encoded,
   70|     34|            (PyObject *)&_Py_SINGLETON(bytes_characters)['-'],
  ------------------
  |  |   18|     34|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|     34|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
   71|     34|            (PyObject *)&_Py_SINGLETON(bytes_characters)['_'],
  ------------------
  |  |   18|     34|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|     34|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
   72|     34|        },
   73|     34|        3 | PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|     34|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     34|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   74|     34|        NULL);
   75|     34|    Py_CLEAR(encoded);
  ------------------
  |  |  487|     34|    do { \
  |  |  488|     34|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     34|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     34|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     34|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 34, False: 0]
  |  |  ------------------
  |  |  491|     34|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     34|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     34|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     34|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     34|        } \
  |  |  494|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
   76|       |
   77|     34|    if (modname == NULL) {
  ------------------
  |  Branch (77:9): [True: 0, False: 34]
  ------------------
   78|      0|        goto error;
   79|      0|    }
   80|       |
   81|     34|    Py_DECREF(name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|     34|    return modname;
   83|      0|error:
   84|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   85|       |    return NULL;
   86|     34|}
importdl.c:findfuncptr:
  327|      2|{
  328|       |#ifdef MS_WINDOWS
  329|       |    return _PyImport_FindSharedFuncptrWindows(
  330|       |            prefix, name_buf, info->filename, fp);
  331|       |#else
  332|      2|    const char *path_buf = PyBytes_AS_STRING(info->filename_encoded);
  ------------------
  |  |   27|      2|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  333|      2|    return _PyImport_FindSharedFuncptr(
  334|      2|            prefix, name_buf, path_buf, fp);
  335|      2|#endif
  336|      2|}

Py_GETENV:
  660|     24|{
  661|     24|    int use_environment = 1;
  662|     24|    PyThreadState *tstate = PyThreadState_GetUnchecked();
  663|     24|    if (tstate != NULL) {
  ------------------
  |  Branch (663:9): [True: 2, False: 22]
  ------------------
  664|      2|        const PyConfig *config = &tstate->interp->config;
  665|      2|        use_environment = config->use_environment;
  666|      2|    }
  667|       |
  668|     24|    if (!use_environment) {
  ------------------
  |  Branch (668:9): [True: 0, False: 24]
  ------------------
  669|      0|        return NULL;
  670|      0|    }
  671|     24|    return getenv(name);
  672|     24|}
PyStatus_Ok:
  677|      6|{ return _PyStatus_OK(); }
  ------------------
  |  |   24|      6|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
PyStatus_Exception:
  700|      4|{ return _PyStatus_EXCEPTION(status); }
  ------------------
  |  |   43|      4|    ((err)._type != _PyStatus_TYPE_OK)
  ------------------
_PyWideStringList_CheckConsistency:
  738|    214|{
  739|    214|    assert(list->length >= 0);
  ------------------
  |  Branch (739:5): [True: 214, False: 0]
  ------------------
  740|    214|    if (list->length != 0) {
  ------------------
  |  Branch (740:9): [True: 24, False: 190]
  ------------------
  741|     24|        assert(list->items != NULL);
  ------------------
  |  Branch (741:9): [True: 24, False: 0]
  ------------------
  742|     24|    }
  743|    250|    for (Py_ssize_t i = 0; i < list->length; i++) {
  ------------------
  |  Branch (743:28): [True: 36, False: 214]
  ------------------
  744|     36|        assert(list->items[i] != NULL);
  ------------------
  |  Branch (744:9): [True: 36, False: 0]
  ------------------
  745|     36|    }
  746|    214|    return 1;
  747|    214|}
_PyWideStringList_Clear:
  776|     68|{
  777|       |    _PyWideStringList_ClearEx(list, false);
  778|     68|}
_PyWideStringList_Copy:
  829|     38|{
  830|       |    return _PyWideStringList_CopyEx(list, list2, false);
  831|     38|}
PyWideStringList_Insert:
  836|     10|{
  837|     10|    Py_ssize_t len = list->length;
  838|     10|    if (len == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|     10|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (838:9): [True: 0, False: 10]
  ------------------
  839|       |        /* length+1 would overflow */
  840|      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)}
  |  |  ------------------
  ------------------
  841|      0|    }
  842|     10|    if (index < 0) {
  ------------------
  |  Branch (842:9): [True: 0, False: 10]
  ------------------
  843|      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)}
  ------------------
  844|      0|    }
  845|     10|    if (index > len) {
  ------------------
  |  Branch (845:9): [True: 0, False: 10]
  ------------------
  846|      0|        index = len;
  847|      0|    }
  848|       |
  849|     10|    wchar_t *item2 = _PyMem_RawWcsdup(item);
  850|     10|    if (item2 == NULL) {
  ------------------
  |  Branch (850:9): [True: 0, False: 10]
  ------------------
  851|      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)}
  |  |  ------------------
  ------------------
  852|      0|    }
  853|       |
  854|     10|    size_t size = (len + 1) * sizeof(list->items[0]);
  855|     10|    wchar_t **items2 = (wchar_t **)PyMem_RawRealloc(list->items, size);
  856|     10|    if (items2 == NULL) {
  ------------------
  |  Branch (856:9): [True: 0, False: 10]
  ------------------
  857|      0|        PyMem_RawFree(item2);
  858|      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)}
  |  |  ------------------
  ------------------
  859|      0|    }
  860|       |
  861|     10|    if (index < len) {
  ------------------
  |  Branch (861:9): [True: 0, False: 10]
  ------------------
  862|      0|        memmove(&items2[index + 1],
  863|      0|                &items2[index],
  864|      0|                (len - index) * sizeof(items2[0]));
  865|      0|    }
  866|       |
  867|     10|    items2[index] = item2;
  868|     10|    list->items = items2;
  869|     10|    list->length++;
  870|     10|    return _PyStatus_OK();
  ------------------
  |  |   24|     10|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  871|     10|}
PyWideStringList_Append:
  876|     10|{
  877|     10|    return PyWideStringList_Insert(list, list->length, item);
  878|     10|}
_PyWideStringList_Extend:
  883|      4|{
  884|      4|    for (Py_ssize_t i = 0; i < list2->length; i++) {
  ------------------
  |  Branch (884:28): [True: 0, False: 4]
  ------------------
  885|      0|        PyStatus status = PyWideStringList_Append(list, list2->items[i]);
  886|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  887|      0|            return status;
  888|      0|        }
  889|      0|    }
  890|      4|    return _PyStatus_OK();
  ------------------
  |  |   24|      4|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  891|      4|}
_PyWideStringList_AsList:
  908|      8|{
  909|      8|    assert(_PyWideStringList_CheckConsistency(list));
  ------------------
  |  Branch (909:5): [True: 8, False: 0]
  ------------------
  910|       |
  911|      8|    PyObject *pylist = PyList_New(list->length);
  912|      8|    if (pylist == NULL) {
  ------------------
  |  Branch (912:9): [True: 0, False: 8]
  ------------------
  913|      0|        return NULL;
  914|      0|    }
  915|       |
  916|     16|    for (Py_ssize_t i = 0; i < list->length; i++) {
  ------------------
  |  Branch (916:28): [True: 8, False: 8]
  ------------------
  917|      8|        PyObject *item = PyUnicode_FromWideChar(list->items[i], -1);
  918|      8|        if (item == NULL) {
  ------------------
  |  Branch (918:13): [True: 0, False: 8]
  ------------------
  919|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  920|      0|            return NULL;
  921|      0|        }
  922|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  923|      8|    }
  924|      8|    return pylist;
  925|      8|}
PyConfig_Clear:
 1066|      8|{
 1067|      8|#define CLEAR(ATTR) \
 1068|      8|    do { \
 1069|      8|        PyMem_RawFree(ATTR); \
 1070|      8|        ATTR = NULL; \
 1071|      8|    } while (0)
 1072|       |
 1073|      8|    CLEAR(config->pycache_prefix);
  ------------------
  |  | 1068|      8|    do { \
  |  | 1069|      8|        PyMem_RawFree(ATTR); \
  |  | 1070|      8|        ATTR = NULL; \
  |  | 1071|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1074|      8|    CLEAR(config->pythonpath_env);
  ------------------
  |  | 1068|      8|    do { \
  |  | 1069|      8|        PyMem_RawFree(ATTR); \
  |  | 1070|      8|        ATTR = NULL; \
  |  | 1071|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1075|      8|    CLEAR(config->home);
  ------------------
  |  | 1068|      8|    do { \
  |  | 1069|      8|        PyMem_RawFree(ATTR); \
  |  | 1070|      8|        ATTR = NULL; \
  |  | 1071|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1076|      8|    CLEAR(config->program_name);
  ------------------
  |  | 1068|      8|    do { \
  |  | 1069|      8|        PyMem_RawFree(ATTR); \
  |  | 1070|      8|        ATTR = NULL; \
  |  | 1071|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1077|       |
 1078|      8|    _PyWideStringList_Clear(&config->argv);
 1079|      8|    _PyWideStringList_Clear(&config->warnoptions);
 1080|      8|    _PyWideStringList_Clear(&config->xoptions);
 1081|      8|    _PyWideStringList_Clear(&config->module_search_paths);
 1082|      8|    config->module_search_paths_set = 0;
 1083|      8|    CLEAR(config->stdlib_dir);
  ------------------
  |  | 1068|      8|    do { \
  |  | 1069|      8|        PyMem_RawFree(ATTR); \
  |  | 1070|      8|        ATTR = NULL; \
  |  | 1071|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1084|       |
 1085|      8|    CLEAR(config->executable);
  ------------------
  |  | 1068|      8|    do { \
  |  | 1069|      8|        PyMem_RawFree(ATTR); \
  |  | 1070|      8|        ATTR = NULL; \
  |  | 1071|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1086|      8|    CLEAR(config->base_executable);
  ------------------
  |  | 1068|      8|    do { \
  |  | 1069|      8|        PyMem_RawFree(ATTR); \
  |  | 1070|      8|        ATTR = NULL; \
  |  | 1071|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1087|      8|    CLEAR(config->prefix);
  ------------------
  |  | 1068|      8|    do { \
  |  | 1069|      8|        PyMem_RawFree(ATTR); \
  |  | 1070|      8|        ATTR = NULL; \
  |  | 1071|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1088|      8|    CLEAR(config->base_prefix);
  ------------------
  |  | 1068|      8|    do { \
  |  | 1069|      8|        PyMem_RawFree(ATTR); \
  |  | 1070|      8|        ATTR = NULL; \
  |  | 1071|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1089|      8|    CLEAR(config->exec_prefix);
  ------------------
  |  | 1068|      8|    do { \
  |  | 1069|      8|        PyMem_RawFree(ATTR); \
  |  | 1070|      8|        ATTR = NULL; \
  |  | 1071|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1090|      8|    CLEAR(config->base_exec_prefix);
  ------------------
  |  | 1068|      8|    do { \
  |  | 1069|      8|        PyMem_RawFree(ATTR); \
  |  | 1070|      8|        ATTR = NULL; \
  |  | 1071|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1091|      8|    CLEAR(config->platlibdir);
  ------------------
  |  | 1068|      8|    do { \
  |  | 1069|      8|        PyMem_RawFree(ATTR); \
  |  | 1070|      8|        ATTR = NULL; \
  |  | 1071|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1092|      8|    CLEAR(config->sys_path_0);
  ------------------
  |  | 1068|      8|    do { \
  |  | 1069|      8|        PyMem_RawFree(ATTR); \
  |  | 1070|      8|        ATTR = NULL; \
  |  | 1071|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1093|       |
 1094|      8|    CLEAR(config->filesystem_encoding);
  ------------------
  |  | 1068|      8|    do { \
  |  | 1069|      8|        PyMem_RawFree(ATTR); \
  |  | 1070|      8|        ATTR = NULL; \
  |  | 1071|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1095|      8|    CLEAR(config->filesystem_errors);
  ------------------
  |  | 1068|      8|    do { \
  |  | 1069|      8|        PyMem_RawFree(ATTR); \
  |  | 1070|      8|        ATTR = NULL; \
  |  | 1071|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1096|      8|    CLEAR(config->stdio_encoding);
  ------------------
  |  | 1068|      8|    do { \
  |  | 1069|      8|        PyMem_RawFree(ATTR); \
  |  | 1070|      8|        ATTR = NULL; \
  |  | 1071|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1097|      8|    CLEAR(config->stdio_errors);
  ------------------
  |  | 1068|      8|    do { \
  |  | 1069|      8|        PyMem_RawFree(ATTR); \
  |  | 1070|      8|        ATTR = NULL; \
  |  | 1071|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1098|      8|    CLEAR(config->run_command);
  ------------------
  |  | 1068|      8|    do { \
  |  | 1069|      8|        PyMem_RawFree(ATTR); \
  |  | 1070|      8|        ATTR = NULL; \
  |  | 1071|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1099|      8|    CLEAR(config->run_module);
  ------------------
  |  | 1068|      8|    do { \
  |  | 1069|      8|        PyMem_RawFree(ATTR); \
  |  | 1070|      8|        ATTR = NULL; \
  |  | 1071|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1100|      8|    CLEAR(config->run_filename);
  ------------------
  |  | 1068|      8|    do { \
  |  | 1069|      8|        PyMem_RawFree(ATTR); \
  |  | 1070|      8|        ATTR = NULL; \
  |  | 1071|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1101|      8|    CLEAR(config->check_hash_pycs_mode);
  ------------------
  |  | 1068|      8|    do { \
  |  | 1069|      8|        PyMem_RawFree(ATTR); \
  |  | 1070|      8|        ATTR = NULL; \
  |  | 1071|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1102|       |#ifdef Py_DEBUG
 1103|       |    CLEAR(config->run_presite);
 1104|       |#endif
 1105|       |
 1106|      8|    _PyWideStringList_Clear(&config->orig_argv);
 1107|      8|#undef CLEAR
 1108|      8|}
_PyConfig_InitCompatConfig:
 1113|      6|{
 1114|      6|    memset(config, 0, sizeof(*config));
 1115|       |
 1116|      6|    config->_config_init = (int)_PyConfig_INIT_COMPAT;
 1117|      6|    config->import_time = -1;
 1118|      6|    config->isolated = -1;
 1119|      6|    config->use_environment = -1;
 1120|      6|    config->dev_mode = -1;
 1121|      6|    config->install_signal_handlers = 1;
 1122|      6|    config->use_hash_seed = -1;
 1123|      6|    config->faulthandler = -1;
 1124|      6|    config->tracemalloc = -1;
 1125|      6|    config->perf_profiling = -1;
 1126|      6|    config->remote_debug = -1;
 1127|      6|    config->module_search_paths_set = 0;
 1128|      6|    config->parse_argv = 0;
 1129|      6|    config->site_import = -1;
 1130|      6|    config->bytes_warning = -1;
 1131|      6|    config->warn_default_encoding = 0;
 1132|      6|    config->inspect = -1;
 1133|      6|    config->interactive = -1;
 1134|      6|    config->optimization_level = -1;
 1135|      6|    config->parser_debug= -1;
 1136|      6|    config->write_bytecode = -1;
 1137|      6|    config->verbose = -1;
 1138|      6|    config->quiet = -1;
 1139|      6|    config->user_site_directory = -1;
 1140|      6|    config->configure_c_stdio = 0;
 1141|      6|    config->buffered_stdio = -1;
 1142|      6|    config->_install_importlib = 1;
 1143|      6|    config->check_hash_pycs_mode = NULL;
 1144|      6|    config->pathconfig_warnings = -1;
 1145|      6|    config->_init_main = 1;
 1146|       |#ifdef MS_WINDOWS
 1147|       |    config->legacy_windows_stdio = -1;
 1148|       |#endif
 1149|       |#ifdef Py_DEBUG
 1150|       |    config->use_frozen_modules = 0;
 1151|       |#else
 1152|      6|    config->use_frozen_modules = 1;
 1153|      6|#endif
 1154|      6|    config->safe_path = 0;
 1155|      6|    config->int_max_str_digits = -1;
 1156|      6|    config->_is_python_build = 0;
 1157|      6|    config->code_debug_ranges = 1;
 1158|      6|    config->cpu_count = -1;
 1159|      6|    config->lazy_imports = -1;
 1160|       |#ifdef Py_GIL_DISABLED
 1161|       |    config->thread_inherit_context = 1;
 1162|       |    config->context_aware_warnings = 1;
 1163|       |#else
 1164|      6|    config->thread_inherit_context = 0;
 1165|      6|    config->context_aware_warnings = 0;
 1166|      6|#endif
 1167|       |#ifdef __APPLE__
 1168|       |    config->use_system_logger = USE_SYSTEM_LOGGER_DEFAULT;
 1169|       |#endif
 1170|       |#ifdef Py_GIL_DISABLED
 1171|       |    config->enable_gil = _PyConfig_GIL_DEFAULT;
 1172|       |    config->tlbc_enabled = 1;
 1173|       |#endif
 1174|      6|}
PyConfig_InitPythonConfig:
 1214|      6|{
 1215|      6|    config_init_defaults(config);
 1216|       |
 1217|      6|    config->_config_init = (int)_PyConfig_INIT_PYTHON;
 1218|      6|    config->configure_c_stdio = 1;
 1219|      6|    config->parse_argv = 1;
 1220|      6|}
PyConfig_SetString:
 1257|    142|{
 1258|    142|    PyStatus status = _Py_PreInitializeFromConfig(config, NULL);
 1259|    142|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|    142|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 142]
  |  |  ------------------
  ------------------
 1260|      0|        return status;
 1261|      0|    }
 1262|       |
 1263|    142|    wchar_t *str2;
 1264|    142|    if (str != NULL) {
  ------------------
  |  Branch (1264:9): [True: 52, False: 90]
  ------------------
 1265|     52|        str2 = _PyMem_RawWcsdup(str);
 1266|     52|        if (str2 == NULL) {
  ------------------
  |  Branch (1266:13): [True: 0, False: 52]
  ------------------
 1267|      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)}
  |  |  ------------------
  ------------------
 1268|      0|        }
 1269|     52|    }
 1270|     90|    else {
 1271|     90|        str2 = NULL;
 1272|     90|    }
 1273|    142|    PyMem_RawFree(*config_str);
 1274|    142|    *config_str = str2;
 1275|    142|    return _PyStatus_OK();
  ------------------
  |  |   24|    142|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1276|    142|}
PyConfig_SetBytesString:
 1320|      2|{
 1321|      2|    return CONFIG_SET_BYTES_STR(config, config_str, str, "string");
  ------------------
  |  | 1311|      2|    config_set_bytes_string(config, config_str, str, "cannot decode " NAME)
  ------------------
 1322|      2|}
_PyConfig_Copy:
 1341|      4|{
 1342|      4|    PyConfig_Clear(config);
 1343|       |
 1344|      4|    PyStatus status;
 1345|      4|    const PyConfigSpec *spec = PYCONFIG_SPEC;
 1346|    292|    for (; spec->name != NULL; spec++) {
  ------------------
  |  Branch (1346:12): [True: 288, False: 4]
  ------------------
 1347|    288|        void *member = config_get_spec_member(config, spec);
 1348|    288|        const void *member2 = config_get_spec_member((PyConfig*)config2, spec);
 1349|    288|        switch (spec->type) {
 1350|     20|        case PyConfig_MEMBER_INT:
  ------------------
  |  Branch (1350:9): [True: 20, False: 268]
  ------------------
 1351|     52|        case PyConfig_MEMBER_UINT:
  ------------------
  |  Branch (1351:9): [True: 32, False: 256]
  ------------------
 1352|    176|        case PyConfig_MEMBER_BOOL:
  ------------------
  |  Branch (1352:9): [True: 124, False: 164]
  ------------------
 1353|    176|        {
 1354|    176|            *(int*)member = *(int*)member2;
 1355|    176|            break;
 1356|     52|        }
 1357|      4|        case PyConfig_MEMBER_ULONG:
  ------------------
  |  Branch (1357:9): [True: 4, False: 284]
  ------------------
 1358|      4|        {
 1359|      4|            *(unsigned long*)member = *(unsigned long*)member2;
 1360|      4|            break;
 1361|     52|        }
 1362|     24|        case PyConfig_MEMBER_WSTR:
  ------------------
  |  Branch (1362:9): [True: 24, False: 264]
  ------------------
 1363|     88|        case PyConfig_MEMBER_WSTR_OPT:
  ------------------
  |  Branch (1363:9): [True: 64, False: 224]
  ------------------
 1364|     88|        {
 1365|     88|            const wchar_t *str = *(const wchar_t**)member2;
 1366|     88|            status = PyConfig_SetString(config, (wchar_t**)member, str);
 1367|     88|            if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|     88|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 88]
  |  |  ------------------
  ------------------
 1368|      0|                return status;
 1369|      0|            }
 1370|     88|            break;
 1371|     88|        }
 1372|     88|        case PyConfig_MEMBER_WSTR_LIST:
  ------------------
  |  Branch (1372:9): [True: 20, False: 268]
  ------------------
 1373|     20|        {
 1374|     20|            if (_PyWideStringList_Copy((PyWideStringList*)member,
  ------------------
  |  Branch (1374:17): [True: 0, False: 20]
  ------------------
 1375|     20|                                       (const PyWideStringList*)member2) < 0) {
 1376|      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)}
  |  |  ------------------
  ------------------
 1377|      0|            }
 1378|     20|            break;
 1379|     20|        }
 1380|     20|        default:
  ------------------
  |  Branch (1380:9): [True: 0, False: 288]
  ------------------
 1381|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1382|    288|        }
 1383|    288|    }
 1384|      4|    return _PyStatus_OK();
  ------------------
  |  |   24|      4|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1385|      4|}
_PyConfig_AsDict:
 1390|      2|{
 1391|      2|    PyObject *dict = PyDict_New();
 1392|      2|    if (dict == NULL) {
  ------------------
  |  Branch (1392:9): [True: 0, False: 2]
  ------------------
 1393|      0|        return NULL;
 1394|      0|    }
 1395|       |
 1396|      2|    const PyConfigSpec *spec = PYCONFIG_SPEC;
 1397|    146|    for (; spec->name != NULL; spec++) {
  ------------------
  |  Branch (1397:12): [True: 144, False: 2]
  ------------------
 1398|    144|        PyObject *obj = config_get(config, spec, 0);
 1399|    144|        if (obj == NULL) {
  ------------------
  |  Branch (1399:13): [True: 0, False: 144]
  ------------------
 1400|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1401|      0|            return NULL;
 1402|      0|        }
 1403|       |
 1404|    144|        int res = PyDict_SetItemString(dict, spec->name, obj);
 1405|    144|        Py_DECREF(obj);
  ------------------
  |  |  430|    144|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    144|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1406|    144|        if (res < 0) {
  ------------------
  |  Branch (1406:13): [True: 0, False: 144]
  ------------------
 1407|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1408|      0|            return NULL;
 1409|      0|        }
 1410|    144|    }
 1411|      2|    return dict;
 1412|      2|}
_PyConfig_FromDict:
 1624|      2|{
 1625|      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 (1625:9): [True: 0, False: 2]
  ------------------
 1626|      0|        PyErr_SetString(PyExc_TypeError, "dict expected");
 1627|      0|        return -1;
 1628|      0|    }
 1629|       |
 1630|      2|    const PyConfigSpec *spec = PYCONFIG_SPEC;
 1631|    146|    for (; spec->name != NULL; spec++) {
  ------------------
  |  Branch (1631:12): [True: 144, False: 2]
  ------------------
 1632|    144|        char *member = (char *)config + spec->offset;
 1633|    144|        switch (spec->type) {
 1634|     10|        case PyConfig_MEMBER_INT:
  ------------------
  |  Branch (1634:9): [True: 10, False: 134]
  ------------------
 1635|     26|        case PyConfig_MEMBER_UINT:
  ------------------
  |  Branch (1635:9): [True: 16, False: 128]
  ------------------
 1636|     88|        case PyConfig_MEMBER_BOOL:
  ------------------
  |  Branch (1636:9): [True: 62, False: 82]
  ------------------
 1637|     88|        {
 1638|     88|            int value;
 1639|     88|            if (config_dict_get_int(dict, spec->name, &value) < 0) {
  ------------------
  |  Branch (1639:17): [True: 0, False: 88]
  ------------------
 1640|      0|                return -1;
 1641|      0|            }
 1642|     88|            if (spec->type == PyConfig_MEMBER_BOOL
  ------------------
  |  Branch (1642:17): [True: 62, False: 26]
  ------------------
 1643|     26|                || spec->type == PyConfig_MEMBER_UINT)
  ------------------
  |  Branch (1643:20): [True: 16, False: 10]
  ------------------
 1644|     78|            {
 1645|     78|                if (value < 0) {
  ------------------
  |  Branch (1645:21): [True: 0, False: 78]
  ------------------
 1646|      0|                    config_dict_invalid_value(spec->name);
 1647|      0|                    return -1;
 1648|      0|                }
 1649|     78|            }
 1650|     88|            *(int*)member = value;
 1651|     88|            break;
 1652|     88|        }
 1653|      2|        case PyConfig_MEMBER_ULONG:
  ------------------
  |  Branch (1653:9): [True: 2, False: 142]
  ------------------
 1654|      2|        {
 1655|      2|            if (config_dict_get_ulong(dict, spec->name,
  ------------------
  |  Branch (1655:17): [True: 0, False: 2]
  ------------------
 1656|      2|                                      (unsigned long*)member) < 0) {
 1657|      0|                return -1;
 1658|      0|            }
 1659|      2|            break;
 1660|      2|        }
 1661|     12|        case PyConfig_MEMBER_WSTR:
  ------------------
  |  Branch (1661:9): [True: 12, False: 132]
  ------------------
 1662|     12|        {
 1663|     12|            wchar_t **wstr = (wchar_t**)member;
 1664|     12|            if (config_dict_get_wstr(dict, spec->name, config, wstr) < 0) {
  ------------------
  |  Branch (1664:17): [True: 0, False: 12]
  ------------------
 1665|      0|                return -1;
 1666|      0|            }
 1667|     12|            if (*wstr == NULL) {
  ------------------
  |  Branch (1667:17): [True: 0, False: 12]
  ------------------
 1668|      0|                config_dict_invalid_value(spec->name);
 1669|      0|                return -1;
 1670|      0|            }
 1671|     12|            break;
 1672|     12|        }
 1673|     32|        case PyConfig_MEMBER_WSTR_OPT:
  ------------------
  |  Branch (1673:9): [True: 32, False: 112]
  ------------------
 1674|     32|        {
 1675|     32|            wchar_t **wstr = (wchar_t**)member;
 1676|     32|            if (config_dict_get_wstr(dict, spec->name, config, wstr) < 0) {
  ------------------
  |  Branch (1676:17): [True: 0, False: 32]
  ------------------
 1677|      0|                return -1;
 1678|      0|            }
 1679|     32|            break;
 1680|     32|        }
 1681|     32|        case PyConfig_MEMBER_WSTR_LIST:
  ------------------
  |  Branch (1681:9): [True: 10, False: 134]
  ------------------
 1682|     10|        {
 1683|     10|            if (strcmp(spec->name, "xoptions") == 0) {
  ------------------
  |  Branch (1683:17): [True: 2, False: 8]
  ------------------
 1684|      2|                if (config_dict_get_xoptions(dict, spec->name, config,
  ------------------
  |  Branch (1684:21): [True: 0, False: 2]
  ------------------
 1685|      2|                                             (PyWideStringList*)member) < 0) {
 1686|      0|                    return -1;
 1687|      0|                }
 1688|      2|            }
 1689|      8|            else {
 1690|      8|                if (config_dict_get_wstrlist(dict, spec->name, config,
  ------------------
  |  Branch (1690:21): [True: 0, False: 8]
  ------------------
 1691|      8|                                             (PyWideStringList*)member) < 0) {
 1692|      0|                    return -1;
 1693|      0|                }
 1694|      8|            }
 1695|     10|            break;
 1696|     10|        }
 1697|     10|        default:
  ------------------
  |  Branch (1697:9): [True: 0, False: 144]
  ------------------
 1698|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1699|    144|        }
 1700|    144|    }
 1701|       |
 1702|      2|    if (!(config->_config_init == _PyConfig_INIT_COMPAT
  ------------------
  |  Branch (1702:11): [True: 0, False: 2]
  ------------------
 1703|      2|          || config->_config_init == _PyConfig_INIT_PYTHON
  ------------------
  |  Branch (1703:14): [True: 2, False: 0]
  ------------------
 1704|      0|          || config->_config_init == _PyConfig_INIT_ISOLATED))
  ------------------
  |  Branch (1704:14): [True: 0, False: 0]
  ------------------
 1705|      0|    {
 1706|      0|        config_dict_invalid_value("_config_init");
 1707|      0|        return -1;
 1708|      0|    }
 1709|       |
 1710|      2|    if (config->hash_seed > MAX_HASH_SEED) {
  ------------------
  |  |  981|      2|#define MAX_HASH_SEED 4294967295UL
  ------------------
  |  Branch (1710:9): [True: 0, False: 2]
  ------------------
 1711|      0|        config_dict_invalid_value("hash_seed");
 1712|      0|        return -1;
 1713|      0|    }
 1714|      2|    return 0;
 1715|      2|}
_PyConfig_InitImportConfig:
 2762|      2|{
 2763|      2|    return config_init_import(config, 1);
 2764|      2|}
_PyConfig_Write:
 2928|      2|{
 2929|      2|    if (config->configure_c_stdio) {
  ------------------
  |  Branch (2929:9): [True: 2, False: 0]
  ------------------
 2930|      2|        config_init_stdio(config);
 2931|      2|    }
 2932|       |
 2933|       |    /* Write the new pre-configuration into _PyRuntime */
 2934|      2|    PyPreConfig *preconfig = &runtime->preconfig;
 2935|      2|    preconfig->isolated = config->isolated;
 2936|      2|    preconfig->use_environment = config->use_environment;
 2937|      2|    preconfig->dev_mode = config->dev_mode;
 2938|       |
 2939|      2|    if (_Py_SetArgcArgv(config->orig_argv.length,
  ------------------
  |  Branch (2939:9): [True: 0, False: 2]
  ------------------
 2940|      2|                        config->orig_argv.items) < 0)
 2941|      0|    {
 2942|      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)}
  |  |  ------------------
  ------------------
 2943|      0|    }
 2944|       |
 2945|       |#ifdef PYMALLOC_USE_HUGEPAGES
 2946|       |    runtime->allocators.use_hugepages = config->pymalloc_hugepages;
 2947|       |#endif
 2948|       |
 2949|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2950|      2|}
_PyConfig_Read:
 3713|      2|{
 3714|      2|    PyStatus status;
 3715|       |
 3716|      2|    status = _Py_PreInitializeFromConfig(config, NULL);
 3717|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3718|      0|        return status;
 3719|      0|    }
 3720|       |
 3721|      2|    config_read_preconfig(config);
 3722|       |
 3723|       |    // Set default values
 3724|      2|    if (config->bytes_warning < 0) {
  ------------------
  |  Branch (3724:9): [True: 0, False: 2]
  ------------------
 3725|      0|        config->bytes_warning = 0;
 3726|      0|    }
 3727|      2|    if (config->inspect < 0) {
  ------------------
  |  Branch (3727:9): [True: 0, False: 2]
  ------------------
 3728|      0|        config->inspect = 0;
 3729|      0|    }
 3730|      2|    if (config->interactive < 0) {
  ------------------
  |  Branch (3730:9): [True: 0, False: 2]
  ------------------
 3731|      0|        config->interactive = 0;
 3732|      0|    }
 3733|      2|    if (config->optimization_level < 0) {
  ------------------
  |  Branch (3733:9): [True: 0, False: 2]
  ------------------
 3734|      0|        config->optimization_level = 0;
 3735|      0|    }
 3736|      2|    if (config->parser_debug < 0) {
  ------------------
  |  Branch (3736:9): [True: 0, False: 2]
  ------------------
 3737|      0|        config->parser_debug = 0;
 3738|      0|    }
 3739|      2|    if (config->quiet < 0) {
  ------------------
  |  Branch (3739:9): [True: 0, False: 2]
  ------------------
 3740|      0|        config->quiet = 0;
 3741|      0|    }
 3742|      2|    if (config->use_environment < 0) {
  ------------------
  |  Branch (3742:9): [True: 0, False: 2]
  ------------------
 3743|      0|        config->use_environment = 0;
 3744|      0|    }
 3745|      2|    if (config->verbose < 0) {
  ------------------
  |  Branch (3745:9): [True: 0, False: 2]
  ------------------
 3746|      0|        config->verbose = 0;
 3747|      0|    }
 3748|      2|    if (config->write_bytecode < 0) {
  ------------------
  |  Branch (3748:9): [True: 0, False: 2]
  ------------------
 3749|      0|        config->write_bytecode = 1;
 3750|      0|    }
 3751|      2|    if (config->buffered_stdio < 0) {
  ------------------
  |  Branch (3751:9): [True: 0, False: 2]
  ------------------
 3752|      0|        config->buffered_stdio = 1;
 3753|      0|    }
 3754|      2|    if (config->isolated < 0) {
  ------------------
  |  Branch (3754:9): [True: 0, False: 2]
  ------------------
 3755|      0|        config->isolated = 0;
 3756|      0|    }
 3757|       |#ifdef MS_WINDOWS
 3758|       |    if (config->legacy_windows_stdio < 0) {
 3759|       |        config->legacy_windows_stdio = 0;
 3760|       |    }
 3761|       |#endif
 3762|      2|    if (config->pathconfig_warnings < 0) {
  ------------------
  |  Branch (3762:9): [True: 0, False: 2]
  ------------------
 3763|      0|        config->pathconfig_warnings = 1;
 3764|      0|    }
 3765|      2|    if (config->site_import < 0) {
  ------------------
  |  Branch (3765:9): [True: 0, False: 2]
  ------------------
 3766|      0|        config->site_import = 1;
 3767|      0|    }
 3768|      2|    if (config->user_site_directory < 0) {
  ------------------
  |  Branch (3768:9): [True: 0, False: 2]
  ------------------
 3769|      0|        config->user_site_directory = 1;
 3770|      0|    }
 3771|       |
 3772|       |#ifdef __CYGWIN__
 3773|       |    status = config_argv0_add_exe(config);
 3774|       |    if (_PyStatus_EXCEPTION(status)) {
 3775|       |        return status;
 3776|       |    }
 3777|       |#endif
 3778|       |
 3779|      2|    if (config->orig_argv.length == 0
  ------------------
  |  Branch (3779:9): [True: 2, False: 0]
  ------------------
 3780|      2|        && !(config->argv.length == 1
  ------------------
  |  Branch (3780:14): [True: 0, False: 2]
  ------------------
 3781|      0|             && wcscmp(config->argv.items[0], L"") == 0))
  ------------------
  |  Branch (3781:17): [True: 0, False: 0]
  ------------------
 3782|      2|    {
 3783|      2|        if (_PyWideStringList_Copy(&config->orig_argv, &config->argv) < 0) {
  ------------------
  |  Branch (3783:13): [True: 0, False: 2]
  ------------------
 3784|      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)}
  |  |  ------------------
  ------------------
 3785|      0|        }
 3786|      2|    }
 3787|       |
 3788|      2|    _PyPreCmdline precmdline = _PyPreCmdline_INIT;
  ------------------
  |  |  111|      2|    (_PyPreCmdline){ \
  |  |  112|      2|        .use_environment = -1, \
  |  |  113|      2|        .isolated = -1, \
  |  |  114|      2|        .dev_mode = -1}
  ------------------
 3789|      2|    status = core_read_precmdline(config, &precmdline);
 3790|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3791|      0|        goto done;
 3792|      0|    }
 3793|       |
 3794|      2|    assert(config->isolated >= 0);
  ------------------
  |  Branch (3794:5): [True: 2, False: 0]
  ------------------
 3795|      2|    if (config->isolated) {
  ------------------
  |  Branch (3795:9): [True: 0, False: 2]
  ------------------
 3796|      0|        config->safe_path = 1;
 3797|      0|        config->use_environment = 0;
 3798|      0|        config->user_site_directory = 0;
 3799|      0|    }
 3800|       |
 3801|      2|    status = config_read_cmdline(config);
 3802|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3803|      0|        goto done;
 3804|      0|    }
 3805|       |
 3806|       |    /* Handle early PySys_AddXOption() calls */
 3807|      2|    status = _PySys_ReadPreinitXOptions(config);
 3808|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3809|      0|        goto done;
 3810|      0|    }
 3811|       |
 3812|      2|    status = config_read(config, compute_path_config);
 3813|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3814|      0|        goto done;
 3815|      0|    }
 3816|       |
 3817|      2|    assert(config_check_consistency(config));
  ------------------
  |  Branch (3817:5): [True: 2, False: 0]
  ------------------
 3818|       |
 3819|      2|    status = _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3820|       |
 3821|      2|done:
 3822|      2|    _PyPreCmdline_Clear(&precmdline);
 3823|      2|    return status;
 3824|      2|}
_PyConfig_CreateXOptionsDict:
 4608|      4|{
 4609|      4|    PyObject *dict = PyDict_New();
 4610|      4|    if (dict == NULL) {
  ------------------
  |  Branch (4610:9): [True: 0, False: 4]
  ------------------
 4611|      0|        return NULL;
 4612|      0|    }
 4613|       |
 4614|      4|    Py_ssize_t nxoption = config->xoptions.length;
 4615|      4|    wchar_t **xoptions = config->xoptions.items;
 4616|      4|    for (Py_ssize_t i=0; i < nxoption; i++) {
  ------------------
  |  Branch (4616:26): [True: 0, False: 4]
  ------------------
 4617|      0|        const wchar_t *option = xoptions[i];
 4618|      0|        if (config_add_xoption(dict, option) < 0) {
  ------------------
  |  Branch (4618:13): [True: 0, False: 0]
  ------------------
 4619|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4620|      0|            return NULL;
 4621|      0|        }
 4622|      0|    }
 4623|      4|    return dict;
 4624|      4|}
initconfig.c:_PyWideStringList_ClearEx:
  754|    108|{
  755|    108|    assert(_PyWideStringList_CheckConsistency(list));
  ------------------
  |  Branch (755:5): [True: 108, False: 0]
  ------------------
  756|    120|    for (Py_ssize_t i=0; i < list->length; i++) {
  ------------------
  |  Branch (756:26): [True: 12, False: 108]
  ------------------
  757|     12|        if (use_default_allocator) {
  ------------------
  |  Branch (757:13): [True: 0, False: 12]
  ------------------
  758|      0|            _PyMem_DefaultRawFree(list->items[i]);
  759|      0|        }
  760|     12|        else {
  761|     12|            PyMem_RawFree(list->items[i]);
  762|     12|        }
  763|     12|    }
  764|    108|    if (use_default_allocator) {
  ------------------
  |  Branch (764:9): [True: 2, False: 106]
  ------------------
  765|      2|        _PyMem_DefaultRawFree(list->items);
  766|      2|    }
  767|    106|    else {
  768|    106|        PyMem_RawFree(list->items);
  769|    106|    }
  770|    108|    list->length = 0;
  771|       |    list->items = NULL;
  772|    108|}
initconfig.c:_PyWideStringList_CopyEx:
  784|     40|{
  785|     40|    assert(_PyWideStringList_CheckConsistency(list));
  ------------------
  |  Branch (785:5): [True: 40, False: 0]
  ------------------
  786|     40|    assert(_PyWideStringList_CheckConsistency(list2));
  ------------------
  |  Branch (786:5): [True: 40, False: 0]
  ------------------
  787|       |
  788|     40|    if (list2->length == 0) {
  ------------------
  |  Branch (788:9): [True: 34, False: 6]
  ------------------
  789|     34|        _PyWideStringList_ClearEx(list, use_default_allocator);
  790|     34|        return 0;
  791|     34|    }
  792|       |
  793|      6|    PyWideStringList copy = _PyWideStringList_INIT;
  ------------------
  |  |   53|      6|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
  794|       |
  795|      6|    size_t size = list2->length * sizeof(list2->items[0]);
  796|      6|    if (use_default_allocator) {
  ------------------
  |  Branch (796:9): [True: 0, False: 6]
  ------------------
  797|      0|        copy.items = _PyMem_DefaultRawMalloc(size);
  798|      0|    }
  799|      6|    else {
  800|      6|        copy.items = PyMem_RawMalloc(size);
  801|      6|    }
  802|      6|    if (copy.items == NULL) {
  ------------------
  |  Branch (802:9): [True: 0, False: 6]
  ------------------
  803|      0|        return -1;
  804|      0|    }
  805|       |
  806|     16|    for (Py_ssize_t i=0; i < list2->length; i++) {
  ------------------
  |  Branch (806:26): [True: 10, False: 6]
  ------------------
  807|     10|        wchar_t *item;
  808|     10|        if (use_default_allocator) {
  ------------------
  |  Branch (808:13): [True: 0, False: 10]
  ------------------
  809|      0|            item = _PyMem_DefaultRawWcsdup(list2->items[i]);
  810|      0|        }
  811|     10|        else {
  812|     10|            item = _PyMem_RawWcsdup(list2->items[i]);
  813|     10|        }
  814|     10|        if (item == NULL) {
  ------------------
  |  Branch (814:13): [True: 0, False: 10]
  ------------------
  815|      0|            _PyWideStringList_ClearEx(&copy, use_default_allocator);
  816|      0|            return -1;
  817|      0|        }
  818|     10|        copy.items[i] = item;
  819|     10|        copy.length = i + 1;
  820|     10|    }
  821|       |
  822|      6|    _PyWideStringList_ClearEx(list, use_default_allocator);
  823|      6|    *list = copy;
  824|      6|    return 0;
  825|      6|}
initconfig.c:config_init_defaults:
 1179|      6|{
 1180|      6|    _PyConfig_InitCompatConfig(config);
 1181|       |
 1182|      6|    config->isolated = 0;
 1183|      6|    config->use_environment = 1;
 1184|      6|    config->site_import = 1;
 1185|      6|    config->bytes_warning = 0;
 1186|      6|    config->inspect = 0;
 1187|      6|    config->interactive = 0;
 1188|      6|    config->optimization_level = 0;
 1189|      6|    config->parser_debug= 0;
 1190|      6|    config->write_bytecode = 1;
 1191|      6|    config->verbose = 0;
 1192|      6|    config->quiet = 0;
 1193|      6|    config->user_site_directory = 1;
 1194|      6|    config->buffered_stdio = 1;
 1195|      6|    config->pathconfig_warnings = 1;
 1196|       |#ifdef MS_WINDOWS
 1197|       |    config->legacy_windows_stdio = 0;
 1198|       |#endif
 1199|       |#ifdef Py_GIL_DISABLED
 1200|       |    config->thread_inherit_context = 1;
 1201|       |    config->context_aware_warnings = 1;
 1202|       |#else
 1203|      6|    config->thread_inherit_context = 0;
 1204|      6|    config->context_aware_warnings = 0;
 1205|      6|#endif
 1206|       |#ifdef __APPLE__
 1207|       |    config->use_system_logger = USE_SYSTEM_LOGGER_DEFAULT;
 1208|       |#endif
 1209|      6|}
initconfig.c:config_set_bytes_string:
 1282|      2|{
 1283|      2|    PyStatus status = _Py_PreInitializeFromConfig(config, NULL);
 1284|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1285|      0|        return status;
 1286|      0|    }
 1287|       |
 1288|      2|    wchar_t *str2;
 1289|      2|    if (str != NULL) {
  ------------------
  |  Branch (1289:9): [True: 2, False: 0]
  ------------------
 1290|      2|        size_t len;
 1291|      2|        str2 = Py_DecodeLocale(str, &len);
 1292|      2|        if (str2 == NULL) {
  ------------------
  |  Branch (1292:13): [True: 0, False: 2]
  ------------------
 1293|      0|            if (len == (size_t)-2) {
  ------------------
  |  Branch (1293:17): [True: 0, False: 0]
  ------------------
 1294|      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)}
  ------------------
 1295|      0|            }
 1296|      0|            else {
 1297|      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)}
  |  |  ------------------
  ------------------
 1298|      0|            }
 1299|      0|        }
 1300|      2|    }
 1301|      0|    else {
 1302|      0|        str2 = NULL;
 1303|      0|    }
 1304|      2|    PyMem_RawFree(*config_str);
 1305|      2|    *config_str = str2;
 1306|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1307|      2|}
initconfig.c:config_get_spec_member:
 1327|    720|{
 1328|    720|    return (char *)config + spec->offset;
 1329|    720|}
initconfig.c:config_dict_get_int:
 1424|     88|{
 1425|     88|    PyObject *item = config_dict_get(dict, name);
 1426|     88|    if (item == NULL) {
  ------------------
  |  Branch (1426:9): [True: 0, False: 88]
  ------------------
 1427|      0|        return -1;
 1428|      0|    }
 1429|     88|    int value = PyLong_AsInt(item);
 1430|     88|    Py_DECREF(item);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1431|     88|    if (value == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1431:9): [True: 4, False: 84]
  |  Branch (1431:24): [True: 0, False: 4]
  ------------------
 1432|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (1432:13): [True: 0, False: 0]
  ------------------
 1433|      0|            config_dict_invalid_type(name);
 1434|      0|        }
 1435|      0|        else if (PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (1435:18): [True: 0, False: 0]
  ------------------
 1436|      0|            config_dict_invalid_value(name);
 1437|      0|        }
 1438|      0|        return -1;
 1439|      0|    }
 1440|     88|    *result = value;
 1441|     88|    return 0;
 1442|     88|}
initconfig.c:config_dict_get_ulong:
 1447|      2|{
 1448|      2|    PyObject *item = config_dict_get(dict, name);
 1449|      2|    if (item == NULL) {
  ------------------
  |  Branch (1449:9): [True: 0, False: 2]
  ------------------
 1450|      0|        return -1;
 1451|      0|    }
 1452|      2|    unsigned long value = PyLong_AsUnsignedLong(item);
 1453|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1454|      2|    if (value == (unsigned long)-1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1454:9): [True: 0, False: 2]
  |  Branch (1454:39): [True: 0, False: 0]
  ------------------
 1455|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (1455:13): [True: 0, False: 0]
  ------------------
 1456|      0|            config_dict_invalid_type(name);
 1457|      0|        }
 1458|      0|        else if (PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (1458:18): [True: 0, False: 0]
  ------------------
 1459|      0|            config_dict_invalid_value(name);
 1460|      0|        }
 1461|      0|        return -1;
 1462|      0|    }
 1463|      2|    *result = value;
 1464|      2|    return 0;
 1465|      2|}
initconfig.c:config_dict_get_wstr:
 1471|     44|{
 1472|     44|    PyObject *item = config_dict_get(dict, name);
 1473|     44|    if (item == NULL) {
  ------------------
  |  Branch (1473:9): [True: 0, False: 44]
  ------------------
 1474|      0|        return -1;
 1475|      0|    }
 1476|       |
 1477|     44|    PyStatus status;
 1478|     44|    if (item == Py_None) {
  ------------------
  |  |  616|     44|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1478:9): [True: 16, False: 28]
  ------------------
 1479|     16|        status = PyConfig_SetString(config, result, NULL);
 1480|     16|    }
 1481|     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 (1481:14): [True: 0, False: 28]
  ------------------
 1482|      0|        config_dict_invalid_type(name);
 1483|      0|        goto error;
 1484|      0|    }
 1485|     28|    else {
 1486|     28|        wchar_t *wstr = PyUnicode_AsWideCharString(item, NULL);
 1487|     28|        if (wstr == NULL) {
  ------------------
  |  Branch (1487:13): [True: 0, False: 28]
  ------------------
 1488|      0|            goto error;
 1489|      0|        }
 1490|     28|        status = PyConfig_SetString(config, result, wstr);
 1491|     28|        PyMem_Free(wstr);
 1492|     28|    }
 1493|     44|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|     44|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 44]
  |  |  ------------------
  ------------------
 1494|      0|        PyErr_NoMemory();
 1495|      0|        goto error;
 1496|      0|    }
 1497|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1498|     44|    return 0;
 1499|       |
 1500|      0|error:
 1501|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1502|      0|    return -1;
 1503|     44|}
initconfig.c:config_dict_get_xoptions:
 1565|      2|{
 1566|      2|    PyObject *xoptions = config_dict_get(dict, name);
 1567|      2|    if (xoptions == NULL) {
  ------------------
  |  Branch (1567:9): [True: 0, False: 2]
  ------------------
 1568|      0|        return -1;
 1569|      0|    }
 1570|       |
 1571|      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 (1571:9): [True: 0, False: 2]
  ------------------
 1572|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1573|      0|        config_dict_invalid_type(name);
 1574|      0|        return -1;
 1575|      0|    }
 1576|       |
 1577|      2|    Py_ssize_t pos = 0;
 1578|      2|    PyObject *key, *value;
 1579|      2|    PyWideStringList wstrlist = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 1580|      2|    while (PyDict_Next(xoptions, &pos, &key, &value)) {
  ------------------
  |  Branch (1580:12): [True: 0, False: 2]
  ------------------
 1581|      0|        PyObject *item;
 1582|       |
 1583|      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 (1583:13): [True: 0, False: 0]
  ------------------
 1584|      0|            item = PyUnicode_FromFormat("%S=%S", key, value);
 1585|      0|            if (item == NULL) {
  ------------------
  |  Branch (1585:17): [True: 0, False: 0]
  ------------------
 1586|      0|                goto error;
 1587|      0|            }
 1588|      0|        }
 1589|      0|        else {
 1590|      0|            item = Py_NewRef(key);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1591|      0|        }
 1592|       |
 1593|      0|        wchar_t *wstr = PyUnicode_AsWideCharString(item, NULL);
 1594|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1595|      0|        if (wstr == NULL) {
  ------------------
  |  Branch (1595:13): [True: 0, False: 0]
  ------------------
 1596|      0|            goto error;
 1597|      0|        }
 1598|       |
 1599|      0|        PyStatus status = PyWideStringList_Append(&wstrlist, wstr);
 1600|      0|        PyMem_Free(wstr);
 1601|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1602|      0|            PyErr_NoMemory();
 1603|      0|            goto error;
 1604|      0|        }
 1605|      0|    }
 1606|       |
 1607|      2|    if (_PyWideStringList_Copy(result, &wstrlist) < 0) {
  ------------------
  |  Branch (1607:9): [True: 0, False: 2]
  ------------------
 1608|      0|        PyErr_NoMemory();
 1609|      0|        goto error;
 1610|      0|    }
 1611|      2|    _PyWideStringList_Clear(&wstrlist);
 1612|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1613|      2|    return 0;
 1614|       |
 1615|      0|error:
 1616|      0|    _PyWideStringList_Clear(&wstrlist);
 1617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1618|      0|    return -1;
 1619|      2|}
initconfig.c:config_dict_get_wstrlist:
 1509|      8|{
 1510|      8|    PyObject *list = config_dict_get(dict, name);
 1511|      8|    if (list == NULL) {
  ------------------
  |  Branch (1511:9): [True: 0, False: 8]
  ------------------
 1512|      0|        return -1;
 1513|      0|    }
 1514|       |
 1515|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1516|      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 (1516:9): [True: 6, False: 2]
  |  Branch (1516:21): [True: 0, False: 6]
  ------------------
 1517|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1518|      0|        config_dict_invalid_type(name);
 1519|      0|        return -1;
 1520|      0|    }
 1521|       |
 1522|      8|    PyWideStringList wstrlist = _PyWideStringList_INIT;
  ------------------
  |  |   53|      8|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 1523|      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 (1523:22): [True: 2, False: 6]
  ------------------
 1524|     16|    for (Py_ssize_t i=0; i < len; i++) {
  ------------------
  |  Branch (1524:26): [True: 8, False: 8]
  ------------------
 1525|      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 (1525:26): [True: 6, False: 2]
  |  Branch (1525:36): [True: 6, False: 0]
  |  Branch (1525:63): [True: 2, False: 0]
  ------------------
 1526|       |
 1527|      8|        if (item == Py_None) {
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1527:13): [True: 0, False: 8]
  ------------------
 1528|      0|            config_dict_invalid_value(name);
 1529|      0|            goto error;
 1530|      0|        }
 1531|      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 (1531:18): [True: 0, False: 8]
  ------------------
 1532|      0|            config_dict_invalid_type(name);
 1533|      0|            goto error;
 1534|      0|        }
 1535|      8|        wchar_t *wstr = PyUnicode_AsWideCharString(item, NULL);
 1536|      8|        if (wstr == NULL) {
  ------------------
  |  Branch (1536:13): [True: 0, False: 8]
  ------------------
 1537|      0|            goto error;
 1538|      0|        }
 1539|      8|        PyStatus status = PyWideStringList_Append(&wstrlist, wstr);
 1540|      8|        PyMem_Free(wstr);
 1541|      8|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      8|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 8]
  |  |  ------------------
  ------------------
 1542|      0|            PyErr_NoMemory();
 1543|      0|            goto error;
 1544|      0|        }
 1545|      8|    }
 1546|       |
 1547|      8|    if (_PyWideStringList_Copy(result, &wstrlist) < 0) {
  ------------------
  |  Branch (1547:9): [True: 0, False: 8]
  ------------------
 1548|      0|        PyErr_NoMemory();
 1549|      0|        goto error;
 1550|      0|    }
 1551|      8|    _PyWideStringList_Clear(&wstrlist);
 1552|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1553|      8|    return 0;
 1554|       |
 1555|      0|error:
 1556|      0|    _PyWideStringList_Clear(&wstrlist);
 1557|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1558|      0|    return -1;
 1559|      8|}
initconfig.c:config_init_import:
 2716|      4|{
 2717|      4|    PyStatus status;
 2718|       |
 2719|      4|    status = _PyConfig_InitPathConfig(config, compute_path_config);
 2720|      4|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      4|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 4]
  |  |  ------------------
  ------------------
 2721|      0|        return status;
 2722|      0|    }
 2723|       |
 2724|      4|    const char *env = config_get_env(config, "PYTHON_FROZEN_MODULES");
 2725|      4|    if (env == NULL) {
  ------------------
  |  Branch (2725:9): [True: 4, False: 0]
  ------------------
 2726|      4|    }
 2727|      0|    else if (strcmp(env, "on") == 0) {
  ------------------
  |  Branch (2727:14): [True: 0, False: 0]
  ------------------
 2728|      0|        config->use_frozen_modules = 1;
 2729|      0|    }
 2730|      0|    else if (strcmp(env, "off") == 0) {
  ------------------
  |  Branch (2730:14): [True: 0, False: 0]
  ------------------
 2731|      0|        config->use_frozen_modules = 0;
 2732|      0|    } else {
 2733|      0|        return PyStatus_Error("bad value for PYTHON_FROZEN_MODULES "
 2734|      0|                              "(expected \"on\" or \"off\")");
 2735|      0|    }
 2736|       |
 2737|       |    /* -X frozen_modules=[on|off] */
 2738|      4|    const wchar_t *value = config_get_xoption_value(config, L"frozen_modules");
 2739|      4|    if (value == NULL) {
  ------------------
  |  Branch (2739:9): [True: 4, False: 0]
  ------------------
 2740|      4|    }
 2741|      0|    else if (wcscmp(value, L"on") == 0) {
  ------------------
  |  Branch (2741:14): [True: 0, False: 0]
  ------------------
 2742|      0|        config->use_frozen_modules = 1;
 2743|      0|    }
 2744|      0|    else if (wcscmp(value, L"off") == 0) {
  ------------------
  |  Branch (2744:14): [True: 0, False: 0]
  ------------------
 2745|      0|        config->use_frozen_modules = 0;
 2746|      0|    }
 2747|      0|    else if (wcslen(value) == 0) {
  ------------------
  |  Branch (2747:14): [True: 0, False: 0]
  ------------------
 2748|       |        // "-X frozen_modules" and "-X frozen_modules=" both imply "on".
 2749|      0|        config->use_frozen_modules = 1;
 2750|      0|    }
 2751|      0|    else {
 2752|      0|        return PyStatus_Error("bad value for option -X frozen_modules "
 2753|      0|                              "(expected \"on\" or \"off\")");
 2754|      0|    }
 2755|       |
 2756|      4|    assert(config->use_frozen_modules >= 0);
  ------------------
  |  Branch (2756:5): [True: 4, False: 0]
  ------------------
 2757|      4|    return _PyStatus_OK();
  ------------------
  |  |   24|      4|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2758|      4|}
initconfig.c:config_get_env:
 1720|     38|{
 1721|     38|    return _Py_GetEnv(config->use_environment, name);
 1722|     38|}
initconfig.c:config_get_xoption_value:
 1791|     10|{
 1792|     10|    const wchar_t *xoption = config_get_xoption(config, name);
 1793|     10|    if (xoption == NULL) {
  ------------------
  |  Branch (1793:9): [True: 10, False: 0]
  ------------------
 1794|     10|        return NULL;
 1795|     10|    }
 1796|      0|    const wchar_t *sep = wcschr(xoption, L'=');
 1797|      0|    return sep ? sep + 1 : L"";
  ------------------
  |  Branch (1797:12): [True: 0, False: 0]
  ------------------
 1798|     10|}
initconfig.c:config_get_xoption:
 1785|     34|{
 1786|     34|    return _Py_get_xoption(&config->xoptions, name);
 1787|     34|}
initconfig.c:config_init_stdio:
 2887|      2|{
 2888|       |#if defined(MS_WINDOWS) || defined(__CYGWIN__)
 2889|       |    /* don't translate newlines (\r\n <=> \n) */
 2890|       |    _setmode(fileno(stdin), O_BINARY);
 2891|       |    _setmode(fileno(stdout), O_BINARY);
 2892|       |    _setmode(fileno(stderr), O_BINARY);
 2893|       |#endif
 2894|       |
 2895|      2|    if (!config->buffered_stdio) {
  ------------------
  |  Branch (2895:9): [True: 0, False: 2]
  ------------------
 2896|      0|#ifdef HAVE_SETVBUF
 2897|      0|        setvbuf(stdin,  (char *)NULL, _IONBF, BUFSIZ);
 2898|      0|        setvbuf(stdout, (char *)NULL, _IONBF, BUFSIZ);
 2899|      0|        setvbuf(stderr, (char *)NULL, _IONBF, BUFSIZ);
 2900|       |#else /* !HAVE_SETVBUF */
 2901|       |        setbuf(stdin,  (char *)NULL);
 2902|       |        setbuf(stdout, (char *)NULL);
 2903|       |        setbuf(stderr, (char *)NULL);
 2904|       |#endif /* !HAVE_SETVBUF */
 2905|      0|    }
 2906|      2|    else if (config->interactive) {
  ------------------
  |  Branch (2906:14): [True: 0, False: 2]
  ------------------
 2907|       |#ifdef MS_WINDOWS
 2908|       |        /* Doesn't have to have line-buffered -- use unbuffered */
 2909|       |        /* Any set[v]buf(stdin, ...) screws up Tkinter :-( */
 2910|       |        setvbuf(stdout, (char *)NULL, _IONBF, BUFSIZ);
 2911|       |#else /* !MS_WINDOWS */
 2912|      0|#ifdef HAVE_SETVBUF
 2913|      0|        setvbuf(stdin,  (char *)NULL, _IOLBF, BUFSIZ);
 2914|      0|        setvbuf(stdout, (char *)NULL, _IOLBF, BUFSIZ);
 2915|      0|#endif /* HAVE_SETVBUF */
 2916|      0|#endif /* !MS_WINDOWS */
 2917|       |        /* Leave stderr alone - it should be unbuffered anyway. */
 2918|      0|    }
 2919|      2|}
initconfig.c:_Py_SetArgcArgv:
  961|      2|{
  962|      2|    const PyWideStringList argv_list = {.length = argc, .items = (wchar_t **)argv};
  963|       |
  964|       |    // XXX _PyRuntime.orig_argv only gets cleared by Py_Main(),
  965|       |    // so it currently leaks for embedders.
  966|       |    return _PyWideStringList_CopyEx(&_PyRuntime.orig_argv, &argv_list, true);
  967|      2|}
initconfig.c:config_read_preconfig:
 1768|      2|{
 1769|      2|#define COPY_FLAG(ATTR) \
 1770|      2|        if (config->ATTR == -1) { \
 1771|      2|            config->ATTR = preconfig->ATTR; \
 1772|      2|        }
 1773|       |
 1774|      2|    const PyPreConfig *preconfig = &_PyRuntime.preconfig;
 1775|      2|    COPY_FLAG(isolated);
  ------------------
  |  | 1770|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1770:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1771|      0|            config->ATTR = preconfig->ATTR; \
  |  | 1772|      0|        }
  ------------------
 1776|      2|    COPY_FLAG(use_environment);
  ------------------
  |  | 1770|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1770:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1771|      0|            config->ATTR = preconfig->ATTR; \
  |  | 1772|      0|        }
  ------------------
 1777|      2|    COPY_FLAG(dev_mode);
  ------------------
  |  | 1770|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1770:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1771|      2|            config->ATTR = preconfig->ATTR; \
  |  | 1772|      2|        }
  ------------------
 1778|       |
 1779|      2|#undef COPY_FLAG
 1780|      2|}
initconfig.c:core_read_precmdline:
 3483|      2|{
 3484|      2|    PyStatus status;
 3485|       |
 3486|      2|    if (config->parse_argv == 1) {
  ------------------
  |  Branch (3486:9): [True: 2, False: 0]
  ------------------
 3487|      2|        if (_PyWideStringList_Copy(&precmdline->argv, &config->argv) < 0) {
  ------------------
  |  Branch (3487:13): [True: 0, False: 2]
  ------------------
 3488|      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)}
  |  |  ------------------
  ------------------
 3489|      0|        }
 3490|      2|    }
 3491|       |
 3492|      2|    PyPreConfig preconfig;
 3493|       |
 3494|      2|    status = _PyPreConfig_InitFromPreConfig(&preconfig, &_PyRuntime.preconfig);
 3495|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3496|      0|        return status;
 3497|      0|    }
 3498|       |
 3499|      2|    _PyPreConfig_GetConfig(&preconfig, config);
 3500|       |
 3501|      2|    status = _PyPreCmdline_Read(precmdline, &preconfig);
 3502|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3503|      0|        return status;
 3504|      0|    }
 3505|       |
 3506|      2|    status = _PyPreCmdline_SetConfig(precmdline, config);
 3507|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3508|      0|        return status;
 3509|      0|    }
 3510|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3511|      2|}
initconfig.c:config_read_cmdline:
 3547|      2|{
 3548|      2|    PyStatus status;
 3549|      2|    PyWideStringList cmdline_warnoptions = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3550|      2|    PyWideStringList env_warnoptions = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3551|      2|    PyWideStringList sys_warnoptions = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3552|       |
 3553|      2|    if (config->parse_argv < 0) {
  ------------------
  |  Branch (3553:9): [True: 0, False: 2]
  ------------------
 3554|      0|        config->parse_argv = 1;
 3555|      0|    }
 3556|       |
 3557|      2|    if (config->parse_argv == 1) {
  ------------------
  |  Branch (3557:9): [True: 2, False: 0]
  ------------------
 3558|      2|        Py_ssize_t opt_index;
 3559|      2|        status = config_parse_cmdline(config, &cmdline_warnoptions, &opt_index);
 3560|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3561|      0|            goto done;
 3562|      0|        }
 3563|       |
 3564|      2|        status = config_run_filename_abspath(config);
 3565|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3566|      0|            goto done;
 3567|      0|        }
 3568|       |
 3569|      2|        status = config_update_argv(config, opt_index);
 3570|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3571|      0|            goto done;
 3572|      0|        }
 3573|      2|    }
 3574|      0|    else {
 3575|      0|        status = config_run_filename_abspath(config);
 3576|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3577|      0|            goto done;
 3578|      0|        }
 3579|      0|    }
 3580|       |
 3581|      2|    if (config->use_environment) {
  ------------------
  |  Branch (3581:9): [True: 2, False: 0]
  ------------------
 3582|      2|        status = config_init_env_warnoptions(config, &env_warnoptions);
 3583|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3584|      0|            goto done;
 3585|      0|        }
 3586|      2|    }
 3587|       |
 3588|       |    /* Handle early PySys_AddWarnOption() calls */
 3589|      2|    status = _PySys_ReadPreinitWarnOptions(&sys_warnoptions);
 3590|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3591|      0|        goto done;
 3592|      0|    }
 3593|       |
 3594|      2|    status = config_init_warnoptions(config,
 3595|      2|                                     &cmdline_warnoptions,
 3596|      2|                                     &env_warnoptions,
 3597|      2|                                     &sys_warnoptions);
 3598|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3599|      0|        goto done;
 3600|      0|    }
 3601|       |
 3602|      2|    status = _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3603|       |
 3604|      2|done:
 3605|      2|    _PyWideStringList_Clear(&cmdline_warnoptions);
 3606|      2|    _PyWideStringList_Clear(&env_warnoptions);
 3607|      2|    _PyWideStringList_Clear(&sys_warnoptions);
 3608|      2|    return status;
 3609|      2|}
initconfig.c:config_parse_cmdline:
 2999|      2|{
 3000|       |    // Only store the first option
 3001|      2|#define DEFER_OPTION(OPTION) \
 3002|      2|        do { \
 3003|      2|            if (config->_deferred_cmdline_option == 0) { \
 3004|      2|                config->_deferred_cmdline_option = (OPTION); \
 3005|      2|            } \
 3006|      2|        } while (0)
 3007|       |
 3008|      2|    PyStatus status;
 3009|      2|    const PyWideStringList *argv = &config->argv;
 3010|      2|    int print_version = 0;
 3011|       |
 3012|      2|    struct _PyOS_GetOpt getopt;
 3013|      2|    _PyOS_GetOpt_Init(&getopt, argv->length, argv->items);
 3014|      2|    do {
 3015|      2|        int c = _PyOS_GetOpt(&getopt);
 3016|      2|        if (c == -1) {
  ------------------
  |  Branch (3016:13): [True: 2, False: 0]
  ------------------
 3017|      2|            break;
 3018|      2|        }
 3019|       |
 3020|      0|        if (c == 'c') {
  ------------------
  |  Branch (3020:13): [True: 0, False: 0]
  ------------------
 3021|      0|            if (config->run_command == NULL) {
  ------------------
  |  Branch (3021:17): [True: 0, False: 0]
  ------------------
 3022|       |                /* -c is the last option; following arguments
 3023|       |                   that look like options are left for the
 3024|       |                   command to interpret. */
 3025|      0|                size_t len = wcslen(getopt.arg) + 1 + 1;
 3026|      0|                wchar_t *command = PyMem_RawMalloc(sizeof(wchar_t) * len);
 3027|      0|                if (command == NULL) {
  ------------------
  |  Branch (3027:21): [True: 0, False: 0]
  ------------------
 3028|      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)}
  |  |  ------------------
  ------------------
 3029|      0|                }
 3030|      0|                memcpy(command, getopt.arg, (len - 2) * sizeof(wchar_t));
 3031|      0|                command[len - 2] = '\n';
 3032|      0|                command[len - 1] = 0;
 3033|      0|                config->run_command = command;
 3034|      0|            }
 3035|      0|            break;
 3036|      0|        }
 3037|       |
 3038|      0|        if (c == 'm') {
  ------------------
  |  Branch (3038:13): [True: 0, False: 0]
  ------------------
 3039|       |            /* -m is the last option; following arguments
 3040|       |               that look like options are left for the
 3041|       |               module to interpret. */
 3042|      0|            if (config->run_module == NULL) {
  ------------------
  |  Branch (3042:17): [True: 0, False: 0]
  ------------------
 3043|      0|                config->run_module = _PyMem_RawWcsdup(getopt.arg);
 3044|      0|                if (config->run_module == NULL) {
  ------------------
  |  Branch (3044:21): [True: 0, False: 0]
  ------------------
 3045|      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)}
  |  |  ------------------
  ------------------
 3046|      0|                }
 3047|      0|            }
 3048|      0|            break;
 3049|      0|        }
 3050|       |
 3051|      0|        switch (c) {
 3052|       |        // Integers represent long options, see Python/getopt.c
 3053|      0|        case 1:
  ------------------
  |  Branch (3053:9): [True: 0, False: 0]
  ------------------
 3054|       |            // --check-hash-based-pycs option
 3055|      0|            if (wcscmp(getopt.arg, L"always") == 0
  ------------------
  |  Branch (3055:17): [True: 0, False: 0]
  ------------------
 3056|      0|                || wcscmp(getopt.arg, L"never") == 0
  ------------------
  |  Branch (3056:20): [True: 0, False: 0]
  ------------------
 3057|      0|                || wcscmp(getopt.arg, L"default") == 0)
  ------------------
  |  Branch (3057:20): [True: 0, False: 0]
  ------------------
 3058|      0|            {
 3059|      0|                status = PyConfig_SetString(config, &config->check_hash_pycs_mode,
 3060|      0|                                            getopt.arg);
 3061|      0|                if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3062|      0|                    return status;
 3063|      0|                }
 3064|      0|            } else {
 3065|      0|                DEFER_OPTION(c);
  ------------------
  |  | 3002|      0|        do { \
  |  | 3003|      0|            if (config->_deferred_cmdline_option == 0) { \
  |  |  ------------------
  |  |  |  Branch (3003:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3004|      0|                config->_deferred_cmdline_option = (OPTION); \
  |  | 3005|      0|            } \
  |  | 3006|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (3006:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3066|      0|            }
 3067|      0|            break;
 3068|       |
 3069|      0|        case 2:
  ------------------
  |  Branch (3069:9): [True: 0, False: 0]
  ------------------
 3070|       |            // --help-all option
 3071|      0|            DEFER_OPTION(c);
  ------------------
  |  | 3002|      0|        do { \
  |  | 3003|      0|            if (config->_deferred_cmdline_option == 0) { \
  |  |  ------------------
  |  |  |  Branch (3003:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3004|      0|                config->_deferred_cmdline_option = (OPTION); \
  |  | 3005|      0|            } \
  |  | 3006|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (3006:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3072|      0|            break;
 3073|       |
 3074|      0|        case 3:
  ------------------
  |  Branch (3074:9): [True: 0, False: 0]
  ------------------
 3075|       |            // --help-env option
 3076|      0|            DEFER_OPTION(c);
  ------------------
  |  | 3002|      0|        do { \
  |  | 3003|      0|            if (config->_deferred_cmdline_option == 0) { \
  |  |  ------------------
  |  |  |  Branch (3003:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3004|      0|                config->_deferred_cmdline_option = (OPTION); \
  |  | 3005|      0|            } \
  |  | 3006|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (3006:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3077|      0|            break;
 3078|       |
 3079|      0|        case 4:
  ------------------
  |  Branch (3079:9): [True: 0, False: 0]
  ------------------
 3080|       |            // --help-xoptions option
 3081|      0|            DEFER_OPTION(c);
  ------------------
  |  | 3002|      0|        do { \
  |  | 3003|      0|            if (config->_deferred_cmdline_option == 0) { \
  |  |  ------------------
  |  |  |  Branch (3003:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3004|      0|                config->_deferred_cmdline_option = (OPTION); \
  |  | 3005|      0|            } \
  |  | 3006|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (3006:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3082|      0|            break;
 3083|       |
 3084|      0|        case 'b':
  ------------------
  |  Branch (3084:9): [True: 0, False: 0]
  ------------------
 3085|      0|            config->bytes_warning++;
 3086|      0|            break;
 3087|       |
 3088|      0|        case 'd':
  ------------------
  |  Branch (3088:9): [True: 0, False: 0]
  ------------------
 3089|      0|            config->parser_debug++;
 3090|      0|            break;
 3091|       |
 3092|      0|        case 'i':
  ------------------
  |  Branch (3092:9): [True: 0, False: 0]
  ------------------
 3093|      0|            config->inspect++;
 3094|      0|            config->interactive++;
 3095|      0|            break;
 3096|       |
 3097|      0|        case 'E':
  ------------------
  |  Branch (3097:9): [True: 0, False: 0]
  ------------------
 3098|      0|        case 'I':
  ------------------
  |  Branch (3098:9): [True: 0, False: 0]
  ------------------
 3099|      0|        case 'X':
  ------------------
  |  Branch (3099:9): [True: 0, False: 0]
  ------------------
 3100|       |            /* option handled by _PyPreCmdline_Read() */
 3101|      0|            break;
 3102|       |
 3103|      0|        case 'O':
  ------------------
  |  Branch (3103:9): [True: 0, False: 0]
  ------------------
 3104|      0|            config->optimization_level++;
 3105|      0|            break;
 3106|       |
 3107|      0|        case 'P':
  ------------------
  |  Branch (3107:9): [True: 0, False: 0]
  ------------------
 3108|      0|            config->safe_path = 1;
 3109|      0|            break;
 3110|       |
 3111|      0|        case 'B':
  ------------------
  |  Branch (3111:9): [True: 0, False: 0]
  ------------------
 3112|      0|            config->write_bytecode = 0;
 3113|      0|            break;
 3114|       |
 3115|      0|        case 's':
  ------------------
  |  Branch (3115:9): [True: 0, False: 0]
  ------------------
 3116|      0|            config->user_site_directory = 0;
 3117|      0|            break;
 3118|       |
 3119|      0|        case 'S':
  ------------------
  |  Branch (3119:9): [True: 0, False: 0]
  ------------------
 3120|      0|            config->site_import = 0;
 3121|      0|            break;
 3122|       |
 3123|      0|        case 't':
  ------------------
  |  Branch (3123:9): [True: 0, False: 0]
  ------------------
 3124|       |            /* ignored for backwards compatibility */
 3125|      0|            break;
 3126|       |
 3127|      0|        case 'u':
  ------------------
  |  Branch (3127:9): [True: 0, False: 0]
  ------------------
 3128|      0|            config->buffered_stdio = 0;
 3129|      0|            break;
 3130|       |
 3131|      0|        case 'v':
  ------------------
  |  Branch (3131:9): [True: 0, False: 0]
  ------------------
 3132|      0|            config->verbose++;
 3133|      0|            break;
 3134|       |
 3135|      0|        case 'x':
  ------------------
  |  Branch (3135:9): [True: 0, False: 0]
  ------------------
 3136|      0|            config->skip_source_first_line = 1;
 3137|      0|            break;
 3138|       |
 3139|      0|        case 'h':
  ------------------
  |  Branch (3139:9): [True: 0, False: 0]
  ------------------
 3140|      0|        case '?':
  ------------------
  |  Branch (3140:9): [True: 0, False: 0]
  ------------------
 3141|      0|            DEFER_OPTION(c);
  ------------------
  |  | 3002|      0|        do { \
  |  | 3003|      0|            if (config->_deferred_cmdline_option == 0) { \
  |  |  ------------------
  |  |  |  Branch (3003:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3004|      0|                config->_deferred_cmdline_option = (OPTION); \
  |  | 3005|      0|            } \
  |  | 3006|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (3006:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3142|      0|            break;
 3143|       |
 3144|      0|        case 'V':
  ------------------
  |  Branch (3144:9): [True: 0, False: 0]
  ------------------
 3145|      0|            print_version++;
 3146|      0|            break;
 3147|       |
 3148|      0|        case 'W':
  ------------------
  |  Branch (3148:9): [True: 0, False: 0]
  ------------------
 3149|      0|            status = PyWideStringList_Append(warnoptions, getopt.arg);
 3150|      0|            if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3151|      0|                return status;
 3152|      0|            }
 3153|      0|            break;
 3154|       |
 3155|      0|        case 'q':
  ------------------
  |  Branch (3155:9): [True: 0, False: 0]
  ------------------
 3156|      0|            config->quiet++;
 3157|      0|            break;
 3158|       |
 3159|      0|        case 'R':
  ------------------
  |  Branch (3159:9): [True: 0, False: 0]
  ------------------
 3160|      0|            config->use_hash_seed = 0;
 3161|      0|            break;
 3162|       |
 3163|       |        /* This space reserved for other options */
 3164|       |
 3165|      0|        default:
  ------------------
  |  Branch (3165:9): [True: 0, False: 0]
  ------------------
 3166|       |            /* unknown argument: parsing failed */
 3167|      0|            DEFER_OPTION(c);
  ------------------
  |  | 3002|      0|        do { \
  |  | 3003|      0|            if (config->_deferred_cmdline_option == 0) { \
  |  |  ------------------
  |  |  |  Branch (3003:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3004|      0|                config->_deferred_cmdline_option = (OPTION); \
  |  | 3005|      0|            } \
  |  | 3006|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (3006:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3168|      0|            break;
 3169|      0|        }
 3170|      0|    } while (config->_deferred_cmdline_option == 0);
  ------------------
  |  Branch (3170:14): [True: 0, False: 0]
  ------------------
 3171|       |
 3172|      2|    if (print_version >= 2) {
  ------------------
  |  Branch (3172:9): [True: 0, False: 2]
  ------------------
 3173|      0|        DEFER_OPTION('W');
  ------------------
  |  | 3002|      0|        do { \
  |  | 3003|      0|            if (config->_deferred_cmdline_option == 0) { \
  |  |  ------------------
  |  |  |  Branch (3003:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3004|      0|                config->_deferred_cmdline_option = (OPTION); \
  |  | 3005|      0|            } \
  |  | 3006|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (3006:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3174|      0|    }
 3175|      2|    else if (print_version >= 1) {
  ------------------
  |  Branch (3175:14): [True: 0, False: 2]
  ------------------
 3176|      0|        DEFER_OPTION('V');
  ------------------
  |  | 3002|      0|        do { \
  |  | 3003|      0|            if (config->_deferred_cmdline_option == 0) { \
  |  |  ------------------
  |  |  |  Branch (3003:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3004|      0|                config->_deferred_cmdline_option = (OPTION); \
  |  | 3005|      0|            } \
  |  | 3006|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (3006:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3177|      0|    }
 3178|       |
 3179|      2|    if (config->run_command == NULL && config->run_module == NULL
  ------------------
  |  Branch (3179:9): [True: 2, False: 0]
  |  Branch (3179:40): [True: 2, False: 0]
  ------------------
 3180|      2|        && getopt.index < argv->length
  ------------------
  |  Branch (3180:12): [True: 0, False: 2]
  ------------------
 3181|      0|        && wcscmp(argv->items[getopt.index], L"-") != 0
  ------------------
  |  Branch (3181:12): [True: 0, False: 0]
  ------------------
 3182|      0|        && config->run_filename == NULL)
  ------------------
  |  Branch (3182:12): [True: 0, False: 0]
  ------------------
 3183|      0|    {
 3184|      0|        config->run_filename = _PyMem_RawWcsdup(argv->items[getopt.index]);
 3185|      0|        if (config->run_filename == NULL) {
  ------------------
  |  Branch (3185:13): [True: 0, False: 0]
  ------------------
 3186|      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)}
  |  |  ------------------
  ------------------
 3187|      0|        }
 3188|      0|    }
 3189|       |
 3190|      2|    if (config->run_command != NULL || config->run_module != NULL) {
  ------------------
  |  Branch (3190:9): [True: 0, False: 2]
  |  Branch (3190:40): [True: 0, False: 2]
  ------------------
 3191|       |        /* Backup getopt.index */
 3192|      0|        getopt.index--;
 3193|      0|    }
 3194|       |
 3195|      2|    *opt_index = getopt.index;
 3196|       |
 3197|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3198|       |
 3199|      2|#undef DEFER_OPTION
 3200|      2|}
initconfig.c:config_run_filename_abspath:
 3517|      2|{
 3518|      2|    if (!config->run_filename) {
  ------------------
  |  Branch (3518:9): [True: 2, False: 0]
  ------------------
 3519|      2|        return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3520|      2|    }
 3521|       |
 3522|      0|#ifndef MS_WINDOWS
 3523|      0|    if (_Py_isabs(config->run_filename)) {
  ------------------
  |  Branch (3523:9): [True: 0, False: 0]
  ------------------
 3524|       |        /* path is already absolute */
 3525|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3526|      0|    }
 3527|      0|#endif
 3528|       |
 3529|      0|    wchar_t *abs_filename;
 3530|      0|    if (_Py_abspath(config->run_filename, &abs_filename) < 0) {
  ------------------
  |  Branch (3530:9): [True: 0, False: 0]
  ------------------
 3531|       |        /* failed to get the absolute path of the command line filename:
 3532|       |           ignore the error, keep the relative path */
 3533|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3534|      0|    }
 3535|      0|    if (abs_filename == NULL) {
  ------------------
  |  Branch (3535:9): [True: 0, False: 0]
  ------------------
 3536|      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)}
  |  |  ------------------
  ------------------
 3537|      0|    }
 3538|       |
 3539|      0|    PyMem_RawFree(config->run_filename);
 3540|      0|    config->run_filename = abs_filename;
 3541|      0|    return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3542|      0|}
initconfig.c:config_update_argv:
 3432|      2|{
 3433|      2|    const PyWideStringList *cmdline_argv = &config->argv;
 3434|      2|    PyWideStringList config_argv = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3435|       |
 3436|       |    /* Copy argv to be able to modify it (to force -c/-m) */
 3437|      2|    if (cmdline_argv->length <= opt_index) {
  ------------------
  |  Branch (3437:9): [True: 2, False: 0]
  ------------------
 3438|       |        /* Ensure at least one (empty) argument is seen */
 3439|      2|        PyStatus status = PyWideStringList_Append(&config_argv, L"");
 3440|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3441|      0|            return status;
 3442|      0|        }
 3443|      2|    }
 3444|      0|    else {
 3445|      0|        PyWideStringList slice;
 3446|      0|        slice.length = cmdline_argv->length - opt_index;
 3447|      0|        slice.items = &cmdline_argv->items[opt_index];
 3448|      0|        if (_PyWideStringList_Copy(&config_argv, &slice) < 0) {
  ------------------
  |  Branch (3448:13): [True: 0, False: 0]
  ------------------
 3449|      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)}
  |  |  ------------------
  ------------------
 3450|      0|        }
 3451|      0|    }
 3452|      2|    assert(config_argv.length >= 1);
  ------------------
  |  Branch (3452:5): [True: 2, False: 0]
  ------------------
 3453|       |
 3454|      2|    wchar_t *arg0 = NULL;
 3455|      2|    if (config->run_command != NULL) {
  ------------------
  |  Branch (3455:9): [True: 0, False: 2]
  ------------------
 3456|       |        /* Force sys.argv[0] = '-c' */
 3457|      0|        arg0 = L"-c";
 3458|      0|    }
 3459|      2|    else if (config->run_module != NULL) {
  ------------------
  |  Branch (3459:14): [True: 0, False: 2]
  ------------------
 3460|       |        /* Force sys.argv[0] = '-m'*/
 3461|      0|        arg0 = L"-m";
 3462|      0|    }
 3463|       |
 3464|      2|    if (arg0 != NULL) {
  ------------------
  |  Branch (3464:9): [True: 0, False: 2]
  ------------------
 3465|      0|        arg0 = _PyMem_RawWcsdup(arg0);
 3466|      0|        if (arg0 == NULL) {
  ------------------
  |  Branch (3466:13): [True: 0, False: 0]
  ------------------
 3467|      0|            _PyWideStringList_Clear(&config_argv);
 3468|      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)}
  |  |  ------------------
  ------------------
 3469|      0|        }
 3470|       |
 3471|      0|        PyMem_RawFree(config_argv.items[0]);
 3472|      0|        config_argv.items[0] = arg0;
 3473|      0|    }
 3474|       |
 3475|      2|    _PyWideStringList_Clear(&config->argv);
 3476|      2|    config->argv = config_argv;
 3477|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3478|      2|}
initconfig.c:config_init_env_warnoptions:
 3279|      2|{
 3280|      2|    PyStatus status;
 3281|       |    /* CONFIG_GET_ENV_DUP requires dest to be initialized to NULL */
 3282|      2|    wchar_t *env = NULL;
 3283|      2|    status = CONFIG_GET_ENV_DUP(config, &env,
  ------------------
  |  | 1763|      2|    config_get_env_dup(CONFIG, DEST, WNAME, NAME, "cannot decode " NAME)
  ------------------
 3284|      2|                             L"PYTHONWARNINGS", "PYTHONWARNINGS");
 3285|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3286|      0|        return status;
 3287|      0|    }
 3288|       |
 3289|       |    /* env var is not set or is empty */
 3290|      2|    if (env == NULL) {
  ------------------
  |  Branch (3290:9): [True: 2, False: 0]
  ------------------
 3291|      2|        return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3292|      2|    }
 3293|       |
 3294|       |
 3295|      0|    wchar_t *warning, *context = NULL;
 3296|      0|    for (warning = WCSTOK(env, L",", &context);
  ------------------
  |  | 3273|      0|#  define WCSTOK wcstok
  ------------------
 3297|      0|         warning != NULL;
  ------------------
  |  Branch (3297:10): [True: 0, False: 0]
  ------------------
 3298|      0|         warning = WCSTOK(NULL, L",", &context))
  ------------------
  |  | 3273|      0|#  define WCSTOK wcstok
  ------------------
 3299|      0|    {
 3300|      0|        status = PyWideStringList_Append(warnoptions, warning);
 3301|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3302|      0|            PyMem_RawFree(env);
 3303|      0|            return status;
 3304|      0|        }
 3305|      0|    }
 3306|      0|    PyMem_RawFree(env);
 3307|      0|    return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3308|      0|}
initconfig.c:config_get_env_dup:
 1733|     10|{
 1734|     10|    assert(*dest == NULL);
  ------------------
  |  Branch (1734:5): [True: 10, False: 0]
  ------------------
 1735|     10|    assert(config->use_environment >= 0);
  ------------------
  |  Branch (1735:5): [True: 10, False: 0]
  ------------------
 1736|       |
 1737|     10|    if (!config->use_environment) {
  ------------------
  |  Branch (1737:9): [True: 0, False: 10]
  ------------------
 1738|      0|        *dest = NULL;
 1739|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1740|      0|    }
 1741|       |
 1742|       |#ifdef MS_WINDOWS
 1743|       |    const wchar_t *var = _wgetenv(wname);
 1744|       |    if (!var || var[0] == '\0') {
 1745|       |        *dest = NULL;
 1746|       |        return _PyStatus_OK();
 1747|       |    }
 1748|       |
 1749|       |    return PyConfig_SetString(config, dest, var);
 1750|       |#else
 1751|     10|    const char *var = getenv(name);
 1752|     10|    if (!var || var[0] == '\0') {
  ------------------
  |  Branch (1752:9): [True: 10, False: 0]
  |  Branch (1752:17): [True: 0, False: 0]
  ------------------
 1753|     10|        *dest = NULL;
 1754|     10|        return _PyStatus_OK();
  ------------------
  |  |   24|     10|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1755|     10|    }
 1756|       |
 1757|      0|    return config_set_bytes_string(config, dest, var, decode_err_msg);
 1758|     10|#endif
 1759|     10|}
initconfig.c:config_init_warnoptions:
 3353|      2|{
 3354|      2|    PyStatus status;
 3355|      2|    PyWideStringList options = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3356|       |
 3357|       |    /* Priority of warnings options, lowest to highest:
 3358|       |     *
 3359|       |     * - any implicit filters added by _warnings.c/warnings.py
 3360|       |     * - PyConfig.dev_mode: "default" filter
 3361|       |     * - PYTHONWARNINGS environment variable
 3362|       |     * - '-W' command line options
 3363|       |     * - PyConfig.bytes_warning ('-b' and '-bb' command line options):
 3364|       |     *   "default::BytesWarning" or "error::BytesWarning" filter
 3365|       |     * - early PySys_AddWarnOption() calls
 3366|       |     * - PyConfig.warnoptions
 3367|       |     *
 3368|       |     * PyConfig.warnoptions is copied to sys.warnoptions. Since the warnings
 3369|       |     * module works on the basis of "the most recently added filter will be
 3370|       |     * checked first", we add the lowest precedence entries first so that later
 3371|       |     * entries override them.
 3372|       |     */
 3373|       |
 3374|      2|    if (config->dev_mode) {
  ------------------
  |  Branch (3374:9): [True: 0, False: 2]
  ------------------
 3375|      0|        status = warnoptions_append(config, &options, L"default");
 3376|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3377|      0|            goto error;
 3378|      0|        }
 3379|      0|    }
 3380|       |
 3381|      2|    status = warnoptions_extend(config, &options, env_warnoptions);
 3382|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3383|      0|        goto error;
 3384|      0|    }
 3385|       |
 3386|      2|    status = warnoptions_extend(config, &options, cmdline_warnoptions);
 3387|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3388|      0|        goto error;
 3389|      0|    }
 3390|       |
 3391|       |    /* If the bytes_warning_flag isn't set, bytesobject.c and bytearrayobject.c
 3392|       |     * don't even try to emit a warning, so we skip setting the filter in that
 3393|       |     * case.
 3394|       |     */
 3395|      2|    if (config->bytes_warning) {
  ------------------
  |  Branch (3395:9): [True: 0, False: 2]
  ------------------
 3396|      0|        const wchar_t *filter;
 3397|      0|        if (config->bytes_warning> 1) {
  ------------------
  |  Branch (3397:13): [True: 0, False: 0]
  ------------------
 3398|      0|            filter = L"error::BytesWarning";
 3399|      0|        }
 3400|      0|        else {
 3401|      0|            filter = L"default::BytesWarning";
 3402|      0|        }
 3403|      0|        status = warnoptions_append(config, &options, filter);
 3404|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3405|      0|            goto error;
 3406|      0|        }
 3407|      0|    }
 3408|       |
 3409|      2|    status = warnoptions_extend(config, &options, sys_warnoptions);
 3410|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3411|      0|        goto error;
 3412|      0|    }
 3413|       |
 3414|       |    /* Always add all PyConfig.warnoptions options */
 3415|      2|    status = _PyWideStringList_Extend(&options, &config->warnoptions);
 3416|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3417|      0|        goto error;
 3418|      0|    }
 3419|       |
 3420|      2|    _PyWideStringList_Clear(&config->warnoptions);
 3421|      2|    config->warnoptions = options;
 3422|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3423|       |
 3424|      0|error:
 3425|      0|    _PyWideStringList_Clear(&options);
 3426|      0|    return status;
 3427|      2|}
initconfig.c:warnoptions_extend:
 3334|      6|{
 3335|      6|    const Py_ssize_t len = options2->length;
 3336|      6|    wchar_t *const *items = options2->items;
 3337|       |
 3338|      6|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (3338:28): [True: 0, False: 6]
  ------------------
 3339|      0|        PyStatus status = warnoptions_append(config, options, items[i]);
 3340|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3341|      0|            return status;
 3342|      0|        }
 3343|      0|    }
 3344|      6|    return _PyStatus_OK();
  ------------------
  |  |   24|      6|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3345|      6|}
initconfig.c:config_read:
 2769|      2|{
 2770|      2|    PyStatus status;
 2771|      2|    const PyPreConfig *preconfig = &_PyRuntime.preconfig;
 2772|       |
 2773|      2|    if (config->use_environment) {
  ------------------
  |  Branch (2773:9): [True: 2, False: 0]
  ------------------
 2774|      2|        status = config_read_env_vars(config);
 2775|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2776|      0|            return status;
 2777|      0|        }
 2778|      2|    }
 2779|       |
 2780|       |    /* -X options */
 2781|      2|    if (config_get_xoption(config, L"showrefcount")) {
  ------------------
  |  Branch (2781:9): [True: 0, False: 2]
  ------------------
 2782|      0|        config->show_ref_count = 1;
 2783|      0|    }
 2784|       |
 2785|      2|    const wchar_t *x_gil = config_get_xoption_value(config, L"gil");
 2786|      2|    if (x_gil != NULL) {
  ------------------
  |  Branch (2786:9): [True: 0, False: 2]
  ------------------
 2787|      0|        size_t len = wcslen(x_gil);
 2788|      0|        status = config_read_gil(config, len, x_gil[0]);
 2789|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2790|      0|            return status;
 2791|      0|        }
 2792|      0|    }
 2793|       |
 2794|       |#ifdef Py_STATS
 2795|       |    if (config_get_xoption(config, L"pystats")) {
 2796|       |        config->_pystats = 1;
 2797|       |    }
 2798|       |    else if (config_get_env(config, "PYTHONSTATS")) {
 2799|       |        config->_pystats = 1;
 2800|       |    }
 2801|       |    if (config->_pystats < 0) {
 2802|       |        config->_pystats = 0;
 2803|       |    }
 2804|       |#endif
 2805|       |
 2806|      2|    status = config_read_complex_options(config);
 2807|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2808|      0|        return status;
 2809|      0|    }
 2810|       |
 2811|      2|    if (config->_install_importlib) {
  ------------------
  |  Branch (2811:9): [True: 2, False: 0]
  ------------------
 2812|      2|        status = config_init_import(config, compute_path_config);
 2813|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2814|      0|            return status;
 2815|      0|        }
 2816|      2|    }
 2817|       |
 2818|       |    /* default values */
 2819|      2|    if (config->dev_mode) {
  ------------------
  |  Branch (2819:9): [True: 0, False: 2]
  ------------------
 2820|      0|        if (config->faulthandler < 0) {
  ------------------
  |  Branch (2820:13): [True: 0, False: 0]
  ------------------
 2821|      0|            config->faulthandler = 1;
 2822|      0|        }
 2823|      0|    }
 2824|      2|    if (config->faulthandler < 0) {
  ------------------
  |  Branch (2824:9): [True: 2, False: 0]
  ------------------
 2825|      2|        config->faulthandler = 0;
 2826|      2|    }
 2827|      2|    if (config->tracemalloc < 0) {
  ------------------
  |  Branch (2827:9): [True: 2, False: 0]
  ------------------
 2828|      2|        config->tracemalloc = 0;
 2829|      2|    }
 2830|      2|    if (config->lazy_imports < 0) {
  ------------------
  |  Branch (2830:9): [True: 2, False: 0]
  ------------------
 2831|      2|        config->lazy_imports = -1;  // Default is auto/unset
 2832|      2|    }
 2833|      2|    if (config->perf_profiling < 0) {
  ------------------
  |  Branch (2833:9): [True: 2, False: 0]
  ------------------
 2834|      2|        config->perf_profiling = 0;
 2835|      2|    }
 2836|      2|    if (config->remote_debug < 0) {
  ------------------
  |  Branch (2836:9): [True: 0, False: 2]
  ------------------
 2837|      0|        config->remote_debug = -1;
 2838|      0|    }
 2839|      2|    if (config->use_hash_seed < 0) {
  ------------------
  |  Branch (2839:9): [True: 0, False: 2]
  ------------------
 2840|      0|        config->use_hash_seed = 0;
 2841|      0|        config->hash_seed = 0;
 2842|      0|    }
 2843|       |
 2844|      2|    if (config->filesystem_encoding == NULL || config->filesystem_errors == NULL) {
  ------------------
  |  Branch (2844:9): [True: 2, False: 0]
  |  Branch (2844:48): [True: 0, False: 0]
  ------------------
 2845|      2|        status = config_init_fs_encoding(config, preconfig);
 2846|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2847|      0|            return status;
 2848|      0|        }
 2849|      2|    }
 2850|       |
 2851|      2|    status = config_init_stdio_encoding(config, preconfig);
 2852|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2853|      0|        return status;
 2854|      0|    }
 2855|       |
 2856|      2|    if (config->argv.length < 1) {
  ------------------
  |  Branch (2856:9): [True: 0, False: 2]
  ------------------
 2857|       |        /* Ensure at least one (empty) argument is seen */
 2858|      0|        status = PyWideStringList_Append(&config->argv, L"");
 2859|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2860|      0|            return status;
 2861|      0|        }
 2862|      0|    }
 2863|       |
 2864|      2|    if (config->check_hash_pycs_mode == NULL) {
  ------------------
  |  Branch (2864:9): [True: 2, False: 0]
  ------------------
 2865|      2|        status = PyConfig_SetString(config, &config->check_hash_pycs_mode,
 2866|      2|                                    L"default");
 2867|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2868|      0|            return status;
 2869|      0|        }
 2870|      2|    }
 2871|       |
 2872|      2|    if (config->configure_c_stdio < 0) {
  ------------------
  |  Branch (2872:9): [True: 0, False: 2]
  ------------------
 2873|      0|        config->configure_c_stdio = 1;
 2874|      0|    }
 2875|       |
 2876|       |    // Only parse arguments once.
 2877|      2|    if (config->parse_argv == 1) {
  ------------------
  |  Branch (2877:9): [True: 2, False: 0]
  ------------------
 2878|      2|        config->parse_argv = 2;
 2879|      2|    }
 2880|       |
 2881|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2882|      2|}
initconfig.c:config_read_env_vars:
 1877|      2|{
 1878|      2|    PyStatus status;
 1879|      2|    int use_env = config->use_environment;
 1880|       |
 1881|       |    /* Get environment variables */
 1882|      2|    _Py_get_env_flag(use_env, &config->parser_debug, "PYTHONDEBUG");
 1883|      2|    _Py_get_env_flag(use_env, &config->verbose, "PYTHONVERBOSE");
 1884|      2|    _Py_get_env_flag(use_env, &config->optimization_level, "PYTHONOPTIMIZE");
 1885|      2|    if (!config->inspect && _Py_GetEnv(use_env, "PYTHONINSPECT")) {
  ------------------
  |  Branch (1885:9): [True: 2, False: 0]
  |  Branch (1885:29): [True: 0, False: 2]
  ------------------
 1886|      0|        config->inspect = 1;
 1887|      0|    }
 1888|       |
 1889|      2|    int dont_write_bytecode = 0;
 1890|      2|    _Py_get_env_flag(use_env, &dont_write_bytecode, "PYTHONDONTWRITEBYTECODE");
 1891|      2|    if (dont_write_bytecode) {
  ------------------
  |  Branch (1891:9): [True: 0, False: 2]
  ------------------
 1892|      0|        config->write_bytecode = 0;
 1893|      0|    }
 1894|       |
 1895|      2|    int no_user_site_directory = 0;
 1896|      2|    _Py_get_env_flag(use_env, &no_user_site_directory, "PYTHONNOUSERSITE");
 1897|      2|    if (no_user_site_directory) {
  ------------------
  |  Branch (1897:9): [True: 0, False: 2]
  ------------------
 1898|      0|        config->user_site_directory = 0;
 1899|      0|    }
 1900|       |
 1901|      2|    int unbuffered_stdio = 0;
 1902|      2|    _Py_get_env_flag(use_env, &unbuffered_stdio, "PYTHONUNBUFFERED");
 1903|      2|    if (unbuffered_stdio) {
  ------------------
  |  Branch (1903:9): [True: 0, False: 2]
  ------------------
 1904|      0|        config->buffered_stdio = 0;
 1905|      0|    }
 1906|       |
 1907|       |#ifdef MS_WINDOWS
 1908|       |    _Py_get_env_flag(use_env, &config->legacy_windows_stdio,
 1909|       |                     "PYTHONLEGACYWINDOWSSTDIO");
 1910|       |#endif
 1911|       |
 1912|      2|    if (config_get_env(config, "PYTHONDUMPREFS")) {
  ------------------
  |  Branch (1912:9): [True: 0, False: 2]
  ------------------
 1913|      0|        config->dump_refs = 1;
 1914|      0|    }
 1915|      2|    if (config_get_env(config, "PYTHONMALLOCSTATS")) {
  ------------------
  |  Branch (1915:9): [True: 0, False: 2]
  ------------------
 1916|      0|        config->malloc_stats = 1;
 1917|      0|    }
 1918|      2|    {
 1919|      2|        const char *env = _Py_GetEnv(use_env, "PYTHON_PYMALLOC_HUGEPAGES");
 1920|      2|        if (env) {
  ------------------
  |  Branch (1920:13): [True: 0, False: 2]
  ------------------
 1921|      0|            int value;
 1922|      0|            if (_Py_str_to_int(env, &value) < 0 || value < 0) {
  ------------------
  |  Branch (1922:17): [True: 0, False: 0]
  |  Branch (1922:52): [True: 0, False: 0]
  ------------------
 1923|       |                /* PYTHON_PYMALLOC_HUGEPAGES=text or negative
 1924|       |                   behaves as PYTHON_PYMALLOC_HUGEPAGES=1 */
 1925|      0|                value = 1;
 1926|      0|            }
 1927|      0|            config->pymalloc_hugepages = (value > 0);
 1928|      0|        }
 1929|      2|    }
 1930|       |
 1931|      2|    if (config->dump_refs_file == NULL) {
  ------------------
  |  Branch (1931:9): [True: 2, False: 0]
  ------------------
 1932|      2|        status = CONFIG_GET_ENV_DUP(config, &config->dump_refs_file,
  ------------------
  |  | 1763|      2|    config_get_env_dup(CONFIG, DEST, WNAME, NAME, "cannot decode " NAME)
  ------------------
 1933|      2|                                    L"PYTHONDUMPREFSFILE", "PYTHONDUMPREFSFILE");
 1934|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1935|      0|            return status;
 1936|      0|        }
 1937|      2|    }
 1938|       |
 1939|      2|    if (config->pythonpath_env == NULL) {
  ------------------
  |  Branch (1939:9): [True: 2, False: 0]
  ------------------
 1940|      2|        status = CONFIG_GET_ENV_DUP(config, &config->pythonpath_env,
  ------------------
  |  | 1763|      2|    config_get_env_dup(CONFIG, DEST, WNAME, NAME, "cannot decode " NAME)
  ------------------
 1941|      2|                                    L"PYTHONPATH", "PYTHONPATH");
 1942|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1943|      0|            return status;
 1944|      0|        }
 1945|      2|    }
 1946|       |
 1947|      2|    if(config->platlibdir == NULL) {
  ------------------
  |  Branch (1947:8): [True: 2, False: 0]
  ------------------
 1948|      2|        status = CONFIG_GET_ENV_DUP(config, &config->platlibdir,
  ------------------
  |  | 1763|      2|    config_get_env_dup(CONFIG, DEST, WNAME, NAME, "cannot decode " NAME)
  ------------------
 1949|      2|                                    L"PYTHONPLATLIBDIR", "PYTHONPLATLIBDIR");
 1950|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1951|      0|            return status;
 1952|      0|        }
 1953|      2|    }
 1954|       |
 1955|      2|    if (config->use_hash_seed < 0) {
  ------------------
  |  Branch (1955:9): [True: 2, False: 0]
  ------------------
 1956|      2|        status = config_init_hash_seed(config);
 1957|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1958|      0|            return status;
 1959|      0|        }
 1960|      2|    }
 1961|       |
 1962|      2|    if (config_get_env(config, "PYTHONSAFEPATH")) {
  ------------------
  |  Branch (1962:9): [True: 0, False: 2]
  ------------------
 1963|      0|        config->safe_path = 1;
 1964|      0|    }
 1965|       |
 1966|      2|    const char *gil = config_get_env(config, "PYTHON_GIL");
 1967|      2|    if (gil != NULL) {
  ------------------
  |  Branch (1967:9): [True: 0, False: 2]
  ------------------
 1968|      0|        size_t len = strlen(gil);
 1969|      0|        status = config_read_gil(config, len, gil[0]);
 1970|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1971|      0|            return status;
 1972|      0|        }
 1973|      0|    }
 1974|       |
 1975|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1976|      2|}
initconfig.c:config_init_hash_seed:
 1803|      2|{
 1804|      2|    static_assert(sizeof(_Py_HashSecret_t) == sizeof(_Py_HashSecret.uc),
 1805|      2|                  "_Py_HashSecret_t has wrong size");
 1806|       |
 1807|      2|    const char *seed_text = config_get_env(config, "PYTHONHASHSEED");
 1808|       |
 1809|       |    /* Convert a text seed to a numeric one */
 1810|      2|    if (seed_text && strcmp(seed_text, "random") != 0) {
  ------------------
  |  Branch (1810:9): [True: 0, False: 2]
  |  Branch (1810:22): [True: 0, False: 0]
  ------------------
 1811|      0|        const char *endptr = seed_text;
 1812|      0|        unsigned long seed;
 1813|      0|        errno = 0;
 1814|      0|        seed = strtoul(seed_text, (char **)&endptr, 10);
 1815|      0|        if (*endptr != '\0'
  ------------------
  |  Branch (1815:13): [True: 0, False: 0]
  ------------------
 1816|      0|            || seed > MAX_HASH_SEED
  ------------------
  |  |  981|      0|#define MAX_HASH_SEED 4294967295UL
  ------------------
  |  Branch (1816:16): [True: 0, False: 0]
  ------------------
 1817|      0|            || (errno == ERANGE && seed == ULONG_MAX))
  ------------------
  |  Branch (1817:17): [True: 0, False: 0]
  |  Branch (1817:36): [True: 0, False: 0]
  ------------------
 1818|      0|        {
 1819|      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)}
  ------------------
 1820|      0|                                "or an integer in range [0; 4294967295]");
 1821|      0|        }
 1822|       |        /* Use a specific hash */
 1823|      0|        config->use_hash_seed = 1;
 1824|      0|        config->hash_seed = seed;
 1825|      0|    }
 1826|      2|    else {
 1827|       |        /* Use a random hash */
 1828|      2|        config->use_hash_seed = 0;
 1829|      2|        config->hash_seed = 0;
 1830|      2|    }
 1831|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1832|      2|}
initconfig.c:config_read_complex_options:
 2402|      2|{
 2403|       |    /* More complex options configured by env var and -X option */
 2404|      2|    if (config->faulthandler < 0) {
  ------------------
  |  Branch (2404:9): [True: 2, False: 0]
  ------------------
 2405|      2|        if (config_get_env(config, "PYTHONFAULTHANDLER")
  ------------------
  |  Branch (2405:13): [True: 0, False: 2]
  ------------------
 2406|      2|           || config_get_xoption(config, L"faulthandler")) {
  ------------------
  |  Branch (2406:15): [True: 0, False: 2]
  ------------------
 2407|      0|            config->faulthandler = 1;
 2408|      0|        }
 2409|      2|    }
 2410|      2|    if (config_get_env(config, "PYTHONNODEBUGRANGES")
  ------------------
  |  Branch (2410:9): [True: 0, False: 2]
  ------------------
 2411|      2|       || config_get_xoption(config, L"no_debug_ranges")) {
  ------------------
  |  Branch (2411:11): [True: 0, False: 2]
  ------------------
 2412|      0|        config->code_debug_ranges = 0;
 2413|      0|    }
 2414|       |
 2415|      2|    PyStatus status;
 2416|      2|    if (config->import_time < 0) {
  ------------------
  |  Branch (2416:9): [True: 2, False: 0]
  ------------------
 2417|      2|        status = config_init_import_time(config);
 2418|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2419|      0|            return status;
 2420|      0|        }
 2421|      2|    }
 2422|       |
 2423|      2|    if (config->lazy_imports < 0) {
  ------------------
  |  Branch (2423:9): [True: 2, False: 0]
  ------------------
 2424|      2|        status = config_init_lazy_imports(config);
 2425|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2426|      0|            return status;
 2427|      0|        }
 2428|      2|    }
 2429|       |
 2430|      2|    if (config->tracemalloc < 0) {
  ------------------
  |  Branch (2430:9): [True: 2, False: 0]
  ------------------
 2431|      2|        status = config_init_tracemalloc(config);
 2432|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2433|      0|            return status;
 2434|      0|        }
 2435|      2|    }
 2436|       |
 2437|      2|    if (config->perf_profiling < 0) {
  ------------------
  |  Branch (2437:9): [True: 2, False: 0]
  ------------------
 2438|      2|        status = config_init_perf_profiling(config);
 2439|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2440|      0|            return status;
 2441|      0|        }
 2442|      2|    }
 2443|       |
 2444|      2|    if (config->remote_debug < 0) {
  ------------------
  |  Branch (2444:9): [True: 2, False: 0]
  ------------------
 2445|      2|        status = config_init_remote_debug(config);
 2446|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2447|      0|            return status;
 2448|      0|        }
 2449|      2|    }
 2450|       |
 2451|      2|    if (config->int_max_str_digits < 0) {
  ------------------
  |  Branch (2451:9): [True: 0, False: 2]
  ------------------
 2452|      0|        status = config_init_int_max_str_digits(config);
 2453|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2454|      0|            return status;
 2455|      0|        }
 2456|      0|    }
 2457|       |
 2458|      2|    if (config->cpu_count < 0) {
  ------------------
  |  Branch (2458:9): [True: 2, False: 0]
  ------------------
 2459|      2|        status = config_init_cpu_count(config);
 2460|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2461|      0|            return status;
 2462|      0|        }
 2463|      2|    }
 2464|       |
 2465|      2|    if (config->pycache_prefix == NULL) {
  ------------------
  |  Branch (2465:9): [True: 2, False: 0]
  ------------------
 2466|      2|        status = config_init_pycache_prefix(config);
 2467|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2468|      0|            return status;
 2469|      0|        }
 2470|      2|    }
 2471|       |
 2472|       |#ifdef Py_DEBUG
 2473|       |    if (config->run_presite == NULL) {
 2474|       |        status = config_init_run_presite(config);
 2475|       |        if (_PyStatus_EXCEPTION(status)) {
 2476|       |            return status;
 2477|       |        }
 2478|       |    }
 2479|       |#endif
 2480|       |
 2481|      2|    status = config_init_thread_inherit_context(config);
 2482|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2483|      0|        return status;
 2484|      0|    }
 2485|       |
 2486|      2|    status = config_init_context_aware_warnings(config);
 2487|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2488|      0|        return status;
 2489|      0|    }
 2490|       |
 2491|      2|    status = config_init_tlbc(config);
 2492|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2493|      0|        return status;
 2494|      0|    }
 2495|       |
 2496|      2|    status = config_init_pathconfig_warnings(config);
 2497|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2498|      0|        return status;
 2499|      0|    }
 2500|       |
 2501|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2502|      2|}
initconfig.c:config_init_import_time:
 2306|      2|{
 2307|      2|    int importtime = 0;
 2308|       |
 2309|      2|    const char *env = config_get_env(config, "PYTHONPROFILEIMPORTTIME");
 2310|      2|    if (env) {
  ------------------
  |  Branch (2310:9): [True: 0, False: 2]
  ------------------
 2311|      0|        if (_Py_str_to_int(env, &importtime) != 0) {
  ------------------
  |  Branch (2311:13): [True: 0, False: 0]
  ------------------
 2312|      0|            importtime = 1;
 2313|      0|        }
 2314|      0|        if (importtime < 0 || importtime > 2) {
  ------------------
  |  Branch (2314:13): [True: 0, False: 0]
  |  Branch (2314:31): [True: 0, False: 0]
  ------------------
 2315|      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)}
  ------------------
 2316|      0|                "PYTHONPROFILEIMPORTTIME: numeric values other than 1 and 2 "
 2317|      0|                "are reserved for future use.");
 2318|      0|        }
 2319|      0|    }
 2320|       |
 2321|      2|    const wchar_t *x_value = config_get_xoption_value(config, L"importtime");
 2322|      2|    if (x_value) {
  ------------------
  |  Branch (2322:9): [True: 0, False: 2]
  ------------------
 2323|      0|        if (*x_value == 0 || config_wstr_to_int(x_value, &importtime) != 0) {
  ------------------
  |  Branch (2323:13): [True: 0, False: 0]
  |  Branch (2323:30): [True: 0, False: 0]
  ------------------
 2324|      0|            importtime = 1;
 2325|      0|        }
 2326|      0|        if (importtime < 0 || importtime > 2) {
  ------------------
  |  Branch (2326:13): [True: 0, False: 0]
  |  Branch (2326:31): [True: 0, False: 0]
  ------------------
 2327|      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)}
  ------------------
 2328|      0|                "-X importtime: values other than 1 and 2 "
 2329|      0|                "are reserved for future use.");
 2330|      0|        }
 2331|      0|    }
 2332|       |
 2333|      2|    config->import_time = importtime;
 2334|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2335|      2|}
initconfig.c:config_init_lazy_imports:
 2339|      2|{
 2340|      2|    int lazy_imports = -1;
 2341|       |
 2342|      2|    const char *env = config_get_env(config, "PYTHON_LAZY_IMPORTS");
 2343|      2|    if (env) {
  ------------------
  |  Branch (2343:9): [True: 0, False: 2]
  ------------------
 2344|      0|        if (strcmp(env, "all") == 0) {
  ------------------
  |  Branch (2344:13): [True: 0, False: 0]
  ------------------
 2345|      0|            lazy_imports = 1;
 2346|      0|        }
 2347|      0|        else if (strcmp(env, "normal") == 0) {
  ------------------
  |  Branch (2347:18): [True: 0, False: 0]
  ------------------
 2348|      0|            lazy_imports = -1;
 2349|      0|        }
 2350|      0|        else {
 2351|      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)}
  ------------------
 2352|      0|                                 "expected 'all' or 'normal'");
 2353|      0|        }
 2354|      0|        config->lazy_imports = lazy_imports;
 2355|      0|    }
 2356|       |
 2357|      2|    const wchar_t *x_value = config_get_xoption_value(config, L"lazy_imports");
 2358|      2|    if (x_value) {
  ------------------
  |  Branch (2358:9): [True: 0, False: 2]
  ------------------
 2359|      0|        if (wcscmp(x_value, L"all") == 0) {
  ------------------
  |  Branch (2359:13): [True: 0, False: 0]
  ------------------
 2360|      0|            lazy_imports = 1;
 2361|      0|        }
 2362|      0|        else if (wcscmp(x_value, L"normal") == 0) {
  ------------------
  |  Branch (2362:18): [True: 0, False: 0]
  ------------------
 2363|      0|            lazy_imports = -1;
 2364|      0|        }
 2365|      0|        else {
 2366|      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)}
  ------------------
 2367|      0|                                 "expected 'all' or 'normal'");
 2368|      0|        }
 2369|      0|        config->lazy_imports = lazy_imports;
 2370|      0|    }
 2371|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2372|      2|}
initconfig.c:config_init_tracemalloc:
 2158|      2|{
 2159|      2|    int nframe;
 2160|      2|    int valid;
 2161|       |
 2162|      2|    const char *env = config_get_env(config, "PYTHONTRACEMALLOC");
 2163|      2|    if (env) {
  ------------------
  |  Branch (2163:9): [True: 0, False: 2]
  ------------------
 2164|      0|        if (!_Py_str_to_int(env, &nframe)) {
  ------------------
  |  Branch (2164:13): [True: 0, False: 0]
  ------------------
 2165|      0|            valid = (nframe >= 0);
 2166|      0|        }
 2167|      0|        else {
 2168|      0|            valid = 0;
 2169|      0|        }
 2170|      0|        if (!valid) {
  ------------------
  |  Branch (2170:13): [True: 0, False: 0]
  ------------------
 2171|      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)}
  ------------------
 2172|      0|        }
 2173|      0|        config->tracemalloc = nframe;
 2174|      0|    }
 2175|       |
 2176|      2|    const wchar_t *xoption = config_get_xoption(config, L"tracemalloc");
 2177|      2|    if (xoption) {
  ------------------
  |  Branch (2177:9): [True: 0, False: 2]
  ------------------
 2178|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2179|      0|        if (sep) {
  ------------------
  |  Branch (2179:13): [True: 0, False: 0]
  ------------------
 2180|      0|            if (!config_wstr_to_int(sep + 1, &nframe)) {
  ------------------
  |  Branch (2180:17): [True: 0, False: 0]
  ------------------
 2181|      0|                valid = (nframe >= 0);
 2182|      0|            }
 2183|      0|            else {
 2184|      0|                valid = 0;
 2185|      0|            }
 2186|      0|            if (!valid) {
  ------------------
  |  Branch (2186:17): [True: 0, False: 0]
  ------------------
 2187|      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)}
  ------------------
 2188|      0|                                     "invalid number of frames");
 2189|      0|            }
 2190|      0|        }
 2191|      0|        else {
 2192|       |            /* -X tracemalloc behaves as -X tracemalloc=1 */
 2193|      0|            nframe = 1;
 2194|      0|        }
 2195|      0|        config->tracemalloc = nframe;
 2196|      0|    }
 2197|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2198|      2|}
initconfig.c:config_init_perf_profiling:
 2101|      2|{
 2102|      2|    int active = 0;
 2103|      2|    const char *env = config_get_env(config, "PYTHONPERFSUPPORT");
 2104|      2|    if (env) {
  ------------------
  |  Branch (2104:9): [True: 0, False: 2]
  ------------------
 2105|      0|        if (_Py_str_to_int(env, &active) != 0) {
  ------------------
  |  Branch (2105:13): [True: 0, False: 0]
  ------------------
 2106|      0|            active = 0;
 2107|      0|        }
 2108|      0|        if (active) {
  ------------------
  |  Branch (2108:13): [True: 0, False: 0]
  ------------------
 2109|      0|            config->perf_profiling = 1;
 2110|      0|        }
 2111|      0|    }
 2112|      2|    const wchar_t *xoption = config_get_xoption(config, L"perf");
 2113|      2|    if (xoption) {
  ------------------
  |  Branch (2113:9): [True: 0, False: 2]
  ------------------
 2114|      0|        config->perf_profiling = 1;
 2115|      0|    }
 2116|      2|    env = config_get_env(config, "PYTHON_PERF_JIT_SUPPORT");
 2117|      2|    if (env) {
  ------------------
  |  Branch (2117:9): [True: 0, False: 2]
  ------------------
 2118|      0|        if (_Py_str_to_int(env, &active) != 0) {
  ------------------
  |  Branch (2118:13): [True: 0, False: 0]
  ------------------
 2119|      0|            active = 0;
 2120|      0|        }
 2121|      0|        if (active) {
  ------------------
  |  Branch (2121:13): [True: 0, False: 0]
  ------------------
 2122|      0|            config->perf_profiling = 2;
 2123|      0|        }
 2124|      0|    }
 2125|      2|    xoption = config_get_xoption(config, L"perf_jit");
 2126|      2|    if (xoption) {
  ------------------
  |  Branch (2126:9): [True: 0, False: 2]
  ------------------
 2127|      0|        config->perf_profiling = 2;
 2128|      0|    }
 2129|       |
 2130|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2131|       |
 2132|      2|}
initconfig.c:config_init_remote_debug:
 2136|      2|{
 2137|       |#ifndef Py_REMOTE_DEBUG
 2138|       |    config->remote_debug = 0;
 2139|       |#else
 2140|      2|    int active = 1;
 2141|      2|    const char *env = Py_GETENV("PYTHON_DISABLE_REMOTE_DEBUG");
 2142|      2|    if (env) {
  ------------------
  |  Branch (2142:9): [True: 0, False: 2]
  ------------------
 2143|      0|        active = 0;
 2144|      0|    }
 2145|      2|    const wchar_t *xoption = config_get_xoption(config, L"disable-remote-debug");
 2146|      2|    if (xoption) {
  ------------------
  |  Branch (2146:9): [True: 0, False: 2]
  ------------------
 2147|      0|        active = 0;
 2148|      0|    }
 2149|       |
 2150|      2|    config->remote_debug = active;
 2151|      2|#endif
 2152|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2153|       |
 2154|      2|}
initconfig.c:config_init_cpu_count:
 1980|      2|{
 1981|      2|    const char *env = config_get_env(config, "PYTHON_CPU_COUNT");
 1982|      2|    if (env) {
  ------------------
  |  Branch (1982:9): [True: 0, False: 2]
  ------------------
 1983|      0|        int cpu_count = -1;
 1984|      0|        if (strcmp(env, "default") == 0) {
  ------------------
  |  Branch (1984:13): [True: 0, False: 0]
  ------------------
 1985|      0|            cpu_count = -1;
 1986|      0|        }
 1987|      0|        else if (_Py_str_to_int(env, &cpu_count) < 0 || cpu_count < 1) {
  ------------------
  |  Branch (1987:18): [True: 0, False: 0]
  |  Branch (1987:57): [True: 0, False: 0]
  ------------------
 1988|      0|            goto error;
 1989|      0|        }
 1990|      0|        config->cpu_count = cpu_count;
 1991|      0|    }
 1992|       |
 1993|      2|    const wchar_t *xoption = config_get_xoption(config, L"cpu_count");
 1994|      2|    if (xoption) {
  ------------------
  |  Branch (1994:9): [True: 0, False: 2]
  ------------------
 1995|      0|        int cpu_count = -1;
 1996|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 1997|      0|        if (sep) {
  ------------------
  |  Branch (1997:13): [True: 0, False: 0]
  ------------------
 1998|      0|            if (wcscmp(sep + 1, L"default") == 0) {
  ------------------
  |  Branch (1998:17): [True: 0, False: 0]
  ------------------
 1999|      0|                cpu_count = -1;
 2000|      0|            }
 2001|      0|            else if (config_wstr_to_int(sep + 1, &cpu_count) < 0 || cpu_count < 1) {
  ------------------
  |  Branch (2001:22): [True: 0, False: 0]
  |  Branch (2001:69): [True: 0, False: 0]
  ------------------
 2002|      0|                goto error;
 2003|      0|            }
 2004|      0|        }
 2005|      0|        else {
 2006|      0|            goto error;
 2007|      0|        }
 2008|      0|        config->cpu_count = cpu_count;
 2009|      0|    }
 2010|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2011|       |
 2012|      0|error:
 2013|      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)}
  ------------------
 2014|      2|                         "n must be greater than 0");
 2015|      2|}
initconfig.c:config_init_pycache_prefix:
 2249|      2|{
 2250|      2|    assert(config->pycache_prefix == NULL);
  ------------------
  |  Branch (2250:5): [True: 2, False: 0]
  ------------------
 2251|       |
 2252|      2|    const wchar_t *xoption = config_get_xoption(config, L"pycache_prefix");
 2253|      2|    if (xoption) {
  ------------------
  |  Branch (2253:9): [True: 0, False: 2]
  ------------------
 2254|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2255|      0|        if (sep && wcslen(sep) > 1) {
  ------------------
  |  Branch (2255:13): [True: 0, False: 0]
  |  Branch (2255:20): [True: 0, False: 0]
  ------------------
 2256|      0|            config->pycache_prefix = _PyMem_RawWcsdup(sep + 1);
 2257|      0|            if (config->pycache_prefix == NULL) {
  ------------------
  |  Branch (2257:17): [True: 0, False: 0]
  ------------------
 2258|      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)}
  |  |  ------------------
  ------------------
 2259|      0|            }
 2260|      0|        }
 2261|      0|        else {
 2262|       |            // PYTHONPYCACHEPREFIX env var ignored
 2263|       |            // if "-X pycache_prefix=" option is used
 2264|      0|            config->pycache_prefix = NULL;
 2265|      0|        }
 2266|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2267|      0|    }
 2268|       |
 2269|      2|    return CONFIG_GET_ENV_DUP(config, &config->pycache_prefix,
  ------------------
  |  | 1763|      2|    config_get_env_dup(CONFIG, DEST, WNAME, NAME, "cannot decode " NAME)
  ------------------
 2270|      2|                              L"PYTHONPYCACHEPREFIX",
 2271|      2|                              "PYTHONPYCACHEPREFIX");
 2272|      2|}
initconfig.c:config_init_thread_inherit_context:
 2019|      2|{
 2020|      2|    const char *env = config_get_env(config, "PYTHON_THREAD_INHERIT_CONTEXT");
 2021|      2|    if (env) {
  ------------------
  |  Branch (2021:9): [True: 0, False: 2]
  ------------------
 2022|      0|        int enabled;
 2023|      0|        if (_Py_str_to_int(env, &enabled) < 0 || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2023:13): [True: 0, False: 0]
  |  Branch (2023:50): [True: 0, False: 0]
  |  Branch (2023:67): [True: 0, False: 0]
  ------------------
 2024|      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)}
  ------------------
 2025|      0|                "PYTHON_THREAD_INHERIT_CONTEXT=N: N is missing or invalid");
 2026|      0|        }
 2027|      0|        config->thread_inherit_context = enabled;
 2028|      0|    }
 2029|       |
 2030|      2|    const wchar_t *xoption = config_get_xoption(config, L"thread_inherit_context");
 2031|      2|    if (xoption) {
  ------------------
  |  Branch (2031:9): [True: 0, False: 2]
  ------------------
 2032|      0|        int enabled;
 2033|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2034|      0|        if (!sep || (config_wstr_to_int(sep + 1, &enabled) < 0) || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2034:13): [True: 0, False: 0]
  |  Branch (2034:21): [True: 0, False: 0]
  |  Branch (2034:68): [True: 0, False: 0]
  |  Branch (2034:85): [True: 0, False: 0]
  ------------------
 2035|      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)}
  ------------------
 2036|      0|                "-X thread_inherit_context=n: n is missing or invalid");
 2037|      0|        }
 2038|      0|        config->thread_inherit_context = enabled;
 2039|      0|    }
 2040|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2041|      2|}
initconfig.c:config_init_context_aware_warnings:
 2045|      2|{
 2046|      2|    const char *env = config_get_env(config, "PYTHON_CONTEXT_AWARE_WARNINGS");
 2047|      2|    if (env) {
  ------------------
  |  Branch (2047:9): [True: 0, False: 2]
  ------------------
 2048|      0|        int enabled;
 2049|      0|        if (_Py_str_to_int(env, &enabled) < 0 || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2049:13): [True: 0, False: 0]
  |  Branch (2049:50): [True: 0, False: 0]
  |  Branch (2049:67): [True: 0, False: 0]
  ------------------
 2050|      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)}
  ------------------
 2051|      0|                "PYTHON_CONTEXT_AWARE_WARNINGS=N: N is missing or invalid");
 2052|      0|        }
 2053|      0|        config->context_aware_warnings = enabled;
 2054|      0|    }
 2055|       |
 2056|      2|    const wchar_t *xoption = config_get_xoption(config, L"context_aware_warnings");
 2057|      2|    if (xoption) {
  ------------------
  |  Branch (2057:9): [True: 0, False: 2]
  ------------------
 2058|      0|        int enabled;
 2059|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2060|      0|        if (!sep || (config_wstr_to_int(sep + 1, &enabled) < 0) || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2060:13): [True: 0, False: 0]
  |  Branch (2060:21): [True: 0, False: 0]
  |  Branch (2060:68): [True: 0, False: 0]
  |  Branch (2060:85): [True: 0, False: 0]
  ------------------
 2061|      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)}
  ------------------
 2062|      0|                "-X context_aware_warnings=n: n is missing or invalid");
 2063|      0|        }
 2064|      0|        config->context_aware_warnings = enabled;
 2065|      0|    }
 2066|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2067|      2|}
initconfig.c:config_init_tlbc:
 2071|      2|{
 2072|       |#ifdef Py_GIL_DISABLED
 2073|       |    const char *env = config_get_env(config, "PYTHON_TLBC");
 2074|       |    if (env) {
 2075|       |        int enabled;
 2076|       |        if (_Py_str_to_int(env, &enabled) < 0 || (enabled < 0) || (enabled > 1)) {
 2077|       |            return _PyStatus_ERR(
 2078|       |                "PYTHON_TLBC=N: N is missing or invalid");
 2079|       |        }
 2080|       |        config->tlbc_enabled = enabled;
 2081|       |    }
 2082|       |
 2083|       |    const wchar_t *xoption = config_get_xoption(config, L"tlbc");
 2084|       |    if (xoption) {
 2085|       |        int enabled;
 2086|       |        const wchar_t *sep = wcschr(xoption, L'=');
 2087|       |        if (!sep || (config_wstr_to_int(sep + 1, &enabled) < 0) || (enabled < 0) || (enabled > 1)) {
 2088|       |            return _PyStatus_ERR(
 2089|       |                "-X tlbc=n: n is missing or invalid");
 2090|       |        }
 2091|       |        config->tlbc_enabled = enabled;
 2092|       |    }
 2093|       |    return _PyStatus_OK();
 2094|       |#else
 2095|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2096|      2|#endif
 2097|      2|}
initconfig.c:config_init_pathconfig_warnings:
 2376|      2|{
 2377|      2|    const char *env = config_get_env(config, "PYTHON_PATHCONFIG_WARNINGS");
 2378|      2|    if (env) {
  ------------------
  |  Branch (2378:9): [True: 0, False: 2]
  ------------------
 2379|      0|        int enabled;
 2380|      0|        if (_Py_str_to_int(env, &enabled) < 0 || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2380:13): [True: 0, False: 0]
  |  Branch (2380:50): [True: 0, False: 0]
  |  Branch (2380:67): [True: 0, False: 0]
  ------------------
 2381|      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)}
  ------------------
 2382|      0|                "PYTHON_PATHCONFIG_WARNINGS=N: N is missing or invalid");
 2383|      0|        }
 2384|      0|        config->pathconfig_warnings = enabled;
 2385|      0|    }
 2386|       |
 2387|      2|    const wchar_t *xoption = config_get_xoption(config, L"pathconfig_warnings");
 2388|      2|    if (xoption) {
  ------------------
  |  Branch (2388:9): [True: 0, False: 2]
  ------------------
 2389|      0|        int enabled;
 2390|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2391|      0|        if (!sep || (config_wstr_to_int(sep + 1, &enabled) < 0) || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2391:13): [True: 0, False: 0]
  |  Branch (2391:21): [True: 0, False: 0]
  |  Branch (2391:68): [True: 0, False: 0]
  |  Branch (2391:85): [True: 0, False: 0]
  ------------------
 2392|      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)}
  ------------------
 2393|      0|                "-X pathconfig_warnings=n: n is missing or invalid");
 2394|      0|        }
 2395|      0|        config->pathconfig_warnings = enabled;
 2396|      0|    }
 2397|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2398|      2|}
initconfig.c:config_init_fs_encoding:
 2682|      2|{
 2683|      2|    PyStatus status;
 2684|       |
 2685|      2|    if (config->filesystem_encoding == NULL) {
  ------------------
  |  Branch (2685:9): [True: 2, False: 0]
  ------------------
 2686|      2|        status = config_get_fs_encoding(config, preconfig,
 2687|      2|                                        &config->filesystem_encoding);
 2688|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2689|      0|            return status;
 2690|      0|        }
 2691|      2|    }
 2692|       |
 2693|      2|    if (config->filesystem_errors == NULL) {
  ------------------
  |  Branch (2693:9): [True: 2, False: 0]
  ------------------
 2694|      2|        const wchar_t *errors;
 2695|       |#ifdef MS_WINDOWS
 2696|       |        if (preconfig->legacy_windows_fs_encoding) {
 2697|       |            errors = L"replace";
 2698|       |        }
 2699|       |        else {
 2700|       |            errors = L"surrogatepass";
 2701|       |        }
 2702|       |#else
 2703|      2|        errors = L"surrogateescape";
 2704|      2|#endif
 2705|      2|        status = PyConfig_SetString(config, &config->filesystem_errors, errors);
 2706|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2707|      0|            return status;
 2708|      0|        }
 2709|      2|    }
 2710|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2711|      2|}
initconfig.c:config_get_fs_encoding:
 2652|      2|{
 2653|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
 2654|       |    return PyConfig_SetString(config, fs_encoding, L"utf-8");
 2655|       |#elif defined(MS_WINDOWS)
 2656|       |    const wchar_t *encoding;
 2657|       |    if (preconfig->legacy_windows_fs_encoding) {
 2658|       |        // Legacy Windows filesystem encoding: mbcs/replace
 2659|       |        encoding = L"mbcs";
 2660|       |    }
 2661|       |    else {
 2662|       |        // Windows defaults to utf-8/surrogatepass (PEP 529)
 2663|       |        encoding = L"utf-8";
 2664|       |    }
 2665|       |     return PyConfig_SetString(config, fs_encoding, encoding);
 2666|       |#else  // !MS_WINDOWS
 2667|      2|    if (preconfig->utf8_mode) {
  ------------------
  |  Branch (2667:9): [True: 2, False: 0]
  ------------------
 2668|      2|        return PyConfig_SetString(config, fs_encoding, L"utf-8");
 2669|      2|    }
 2670|       |
 2671|      0|    if (_Py_GetForceASCII()) {
  ------------------
  |  Branch (2671:9): [True: 0, False: 0]
  ------------------
 2672|      0|        return PyConfig_SetString(config, fs_encoding, L"ascii");
 2673|      0|    }
 2674|       |
 2675|      0|    return config_get_locale_encoding(config, preconfig, fs_encoding);
 2676|      0|#endif  // !MS_WINDOWS
 2677|      0|}
initconfig.c:config_get_locale_encoding:
 2541|      2|{
 2542|      2|    wchar_t *encoding;
 2543|      2|    if (preconfig->utf8_mode) {
  ------------------
  |  Branch (2543:9): [True: 2, False: 0]
  ------------------
 2544|      2|        encoding = _PyMem_RawWcsdup(L"utf-8");
 2545|      2|    }
 2546|      0|    else {
 2547|      0|        encoding = _Py_GetLocaleEncoding();
 2548|      0|    }
 2549|      2|    if (encoding == NULL) {
  ------------------
  |  Branch (2549:9): [True: 0, False: 2]
  ------------------
 2550|      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)}
  |  |  ------------------
  ------------------
 2551|      0|    }
 2552|      2|    PyStatus status = PyConfig_SetString(config, locale_encoding, encoding);
 2553|      2|    PyMem_RawFree(encoding);
 2554|      2|    return status;
 2555|      2|}
initconfig.c:config_init_stdio_encoding:
 2561|      2|{
 2562|      2|    PyStatus status;
 2563|       |
 2564|       |    // Exit if encoding and errors are defined
 2565|      2|    if (config->stdio_encoding != NULL && config->stdio_errors != NULL) {
  ------------------
  |  Branch (2565:9): [True: 0, False: 2]
  |  Branch (2565:43): [True: 0, False: 0]
  ------------------
 2566|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2567|      0|    }
 2568|       |
 2569|       |    /* PYTHONIOENCODING environment variable */
 2570|      2|    const char *opt = config_get_env(config, "PYTHONIOENCODING");
 2571|      2|    if (opt) {
  ------------------
  |  Branch (2571:9): [True: 0, False: 2]
  ------------------
 2572|      0|        char *pythonioencoding = _PyMem_RawStrdup(opt);
 2573|      0|        if (pythonioencoding == NULL) {
  ------------------
  |  Branch (2573:13): [True: 0, False: 0]
  ------------------
 2574|      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)}
  |  |  ------------------
  ------------------
 2575|      0|        }
 2576|       |
 2577|      0|        char *errors = strchr(pythonioencoding, ':');
 2578|      0|        if (errors) {
  ------------------
  |  Branch (2578:13): [True: 0, False: 0]
  ------------------
 2579|      0|            *errors = '\0';
 2580|      0|            errors++;
 2581|      0|            if (!errors[0]) {
  ------------------
  |  Branch (2581:17): [True: 0, False: 0]
  ------------------
 2582|      0|                errors = NULL;
 2583|      0|            }
 2584|      0|        }
 2585|       |
 2586|       |        /* Does PYTHONIOENCODING contain an encoding? */
 2587|      0|        if (pythonioencoding[0]) {
  ------------------
  |  Branch (2587:13): [True: 0, False: 0]
  ------------------
 2588|      0|            if (config->stdio_encoding == NULL) {
  ------------------
  |  Branch (2588:17): [True: 0, False: 0]
  ------------------
 2589|      0|                status = CONFIG_SET_BYTES_STR(config, &config->stdio_encoding,
  ------------------
  |  | 1311|      0|    config_set_bytes_string(config, config_str, str, "cannot decode " NAME)
  ------------------
 2590|      0|                                              pythonioencoding,
 2591|      0|                                              "PYTHONIOENCODING environment variable");
 2592|      0|                if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2593|      0|                    PyMem_RawFree(pythonioencoding);
 2594|      0|                    return status;
 2595|      0|                }
 2596|      0|            }
 2597|       |
 2598|       |            /* If the encoding is set but not the error handler,
 2599|       |               use "strict" error handler by default.
 2600|       |               PYTHONIOENCODING=latin1 behaves as
 2601|       |               PYTHONIOENCODING=latin1:strict. */
 2602|      0|            if (!errors) {
  ------------------
  |  Branch (2602:17): [True: 0, False: 0]
  ------------------
 2603|      0|                errors = "strict";
 2604|      0|            }
 2605|      0|        }
 2606|       |
 2607|      0|        if (config->stdio_errors == NULL && errors != NULL) {
  ------------------
  |  Branch (2607:13): [True: 0, False: 0]
  |  Branch (2607:45): [True: 0, False: 0]
  ------------------
 2608|      0|            status = CONFIG_SET_BYTES_STR(config, &config->stdio_errors,
  ------------------
  |  | 1311|      0|    config_set_bytes_string(config, config_str, str, "cannot decode " NAME)
  ------------------
 2609|      0|                                          errors,
 2610|      0|                                          "PYTHONIOENCODING environment variable");
 2611|      0|            if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2612|      0|                PyMem_RawFree(pythonioencoding);
 2613|      0|                return status;
 2614|      0|            }
 2615|      0|        }
 2616|       |
 2617|      0|        PyMem_RawFree(pythonioencoding);
 2618|      0|    }
 2619|       |
 2620|       |    /* Choose the default error handler based on the current locale. */
 2621|      2|    if (config->stdio_encoding == NULL
  ------------------
  |  Branch (2621:9): [True: 2, False: 0]
  ------------------
 2622|       |#ifdef MS_WINDOWS
 2623|       |        /* gh-86427: it is determined for each stream: create_stdio() uses
 2624|       |           _Py_device_encoding(), falling back to the locale encoding. */
 2625|       |        && !config->legacy_windows_stdio
 2626|       |#endif
 2627|      2|       ) {
 2628|      2|        status = config_get_locale_encoding(config, preconfig,
 2629|      2|                                            &config->stdio_encoding);
 2630|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2631|      0|            return status;
 2632|      0|        }
 2633|      2|    }
 2634|      2|    if (config->stdio_errors == NULL) {
  ------------------
  |  Branch (2634:9): [True: 2, False: 0]
  ------------------
 2635|      2|        const wchar_t *errors = config_get_stdio_errors(preconfig);
 2636|      2|        assert(errors != NULL);
  ------------------
  |  Branch (2636:9): [True: 2, False: 0]
  ------------------
 2637|       |
 2638|      2|        status = PyConfig_SetString(config, &config->stdio_errors, errors);
 2639|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2640|      0|            return status;
 2641|      0|        }
 2642|      2|    }
 2643|       |
 2644|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2645|      2|}
initconfig.c:config_get_stdio_errors:
 2507|      2|{
 2508|      2|    if (preconfig->utf8_mode) {
  ------------------
  |  Branch (2508:9): [True: 2, False: 0]
  ------------------
 2509|       |        /* UTF-8 Mode uses UTF-8/surrogateescape */
 2510|      2|        return L"surrogateescape";
 2511|      2|    }
 2512|       |
 2513|      0|#ifndef MS_WINDOWS
 2514|      0|    const char *loc = setlocale(LC_CTYPE, NULL);
 2515|      0|    if (loc != NULL) {
  ------------------
  |  Branch (2515:9): [True: 0, False: 0]
  ------------------
 2516|       |        /* surrogateescape is the default in the legacy C and POSIX locales */
 2517|      0|        if (strcmp(loc, "C") == 0 || strcmp(loc, "POSIX") == 0) {
  ------------------
  |  Branch (2517:13): [True: 0, False: 0]
  |  Branch (2517:38): [True: 0, False: 0]
  ------------------
 2518|      0|            return L"surrogateescape";
 2519|      0|        }
 2520|       |
 2521|      0|#ifdef PY_COERCE_C_LOCALE
 2522|       |        /* surrogateescape is the default in locale coercion target locales */
 2523|      0|        if (_Py_IsLocaleCoercionTarget(loc)) {
  ------------------
  |  Branch (2523:13): [True: 0, False: 0]
  ------------------
 2524|      0|            return L"surrogateescape";
 2525|      0|        }
 2526|      0|#endif
 2527|      0|    }
 2528|       |
 2529|      0|    return L"strict";
 2530|       |#else
 2531|       |    /* On Windows, always use surrogateescape by default */
 2532|       |    return L"surrogateescape";
 2533|       |#endif
 2534|      0|}
initconfig.c:config_check_consistency:
  987|      2|{
  988|       |    /* Check config consistency */
  989|      2|    assert(config->isolated >= 0);
  ------------------
  |  Branch (989:5): [True: 2, False: 0]
  ------------------
  990|      2|    assert(config->use_environment >= 0);
  ------------------
  |  Branch (990:5): [True: 2, False: 0]
  ------------------
  991|      2|    assert(config->dev_mode >= 0);
  ------------------
  |  Branch (991:5): [True: 2, False: 0]
  ------------------
  992|      2|    assert(config->install_signal_handlers >= 0);
  ------------------
  |  Branch (992:5): [True: 2, False: 0]
  ------------------
  993|      2|    assert(config->use_hash_seed >= 0);
  ------------------
  |  Branch (993:5): [True: 2, False: 0]
  ------------------
  994|      2|    assert(config->hash_seed <= MAX_HASH_SEED);
  ------------------
  |  Branch (994:5): [True: 2, False: 0]
  ------------------
  995|      2|    assert(config->faulthandler >= 0);
  ------------------
  |  Branch (995:5): [True: 2, False: 0]
  ------------------
  996|      2|    assert(config->tracemalloc >= 0);
  ------------------
  |  Branch (996:5): [True: 2, False: 0]
  ------------------
  997|      2|    assert(config->import_time >= 0);
  ------------------
  |  Branch (997:5): [True: 2, False: 0]
  ------------------
  998|      2|    assert(config->code_debug_ranges >= 0);
  ------------------
  |  Branch (998:5): [True: 2, False: 0]
  ------------------
  999|      2|    assert(config->show_ref_count >= 0);
  ------------------
  |  Branch (999:5): [True: 2, False: 0]
  ------------------
 1000|      2|    assert(config->dump_refs >= 0);
  ------------------
  |  Branch (1000:5): [True: 2, False: 0]
  ------------------
 1001|      2|    assert(config->malloc_stats >= 0);
  ------------------
  |  Branch (1001:5): [True: 2, False: 0]
  ------------------
 1002|      2|    assert(config->pymalloc_hugepages >= 0);
  ------------------
  |  Branch (1002:5): [True: 2, False: 0]
  ------------------
 1003|      2|    assert(config->site_import >= 0);
  ------------------
  |  Branch (1003:5): [True: 2, False: 0]
  ------------------
 1004|      2|    assert(config->bytes_warning >= 0);
  ------------------
  |  Branch (1004:5): [True: 2, False: 0]
  ------------------
 1005|      2|    assert(config->warn_default_encoding >= 0);
  ------------------
  |  Branch (1005:5): [True: 2, False: 0]
  ------------------
 1006|      2|    assert(config->inspect >= 0);
  ------------------
  |  Branch (1006:5): [True: 2, False: 0]
  ------------------
 1007|      2|    assert(config->interactive >= 0);
  ------------------
  |  Branch (1007:5): [True: 2, False: 0]
  ------------------
 1008|      2|    assert(config->optimization_level >= 0);
  ------------------
  |  Branch (1008:5): [True: 2, False: 0]
  ------------------
 1009|      2|    assert(config->parser_debug >= 0);
  ------------------
  |  Branch (1009:5): [True: 2, False: 0]
  ------------------
 1010|      2|    assert(config->write_bytecode >= 0);
  ------------------
  |  Branch (1010:5): [True: 2, False: 0]
  ------------------
 1011|      2|    assert(config->verbose >= 0);
  ------------------
  |  Branch (1011:5): [True: 2, False: 0]
  ------------------
 1012|      2|    assert(config->quiet >= 0);
  ------------------
  |  Branch (1012:5): [True: 2, False: 0]
  ------------------
 1013|      2|    assert(config->user_site_directory >= 0);
  ------------------
  |  Branch (1013:5): [True: 2, False: 0]
  ------------------
 1014|      2|    assert(config->parse_argv >= 0);
  ------------------
  |  Branch (1014:5): [True: 2, False: 0]
  ------------------
 1015|      2|    assert(config->configure_c_stdio >= 0);
  ------------------
  |  Branch (1015:5): [True: 2, False: 0]
  ------------------
 1016|      2|    assert(config->buffered_stdio >= 0);
  ------------------
  |  Branch (1016:5): [True: 2, False: 0]
  ------------------
 1017|      2|    assert(_PyWideStringList_CheckConsistency(&config->orig_argv));
  ------------------
  |  Branch (1017:5): [True: 2, False: 0]
  ------------------
 1018|      2|    assert(_PyWideStringList_CheckConsistency(&config->argv));
  ------------------
  |  Branch (1018:5): [True: 2, False: 0]
  ------------------
 1019|       |    /* sys.argv must be non-empty: empty argv is replaced with [''] */
 1020|      2|    assert(config->argv.length >= 1);
  ------------------
  |  Branch (1020:5): [True: 2, False: 0]
  ------------------
 1021|      2|    assert(_PyWideStringList_CheckConsistency(&config->xoptions));
  ------------------
  |  Branch (1021:5): [True: 2, False: 0]
  ------------------
 1022|      2|    assert(_PyWideStringList_CheckConsistency(&config->warnoptions));
  ------------------
  |  Branch (1022:5): [True: 2, False: 0]
  ------------------
 1023|      2|    assert(_PyWideStringList_CheckConsistency(&config->module_search_paths));
  ------------------
  |  Branch (1023:5): [True: 2, False: 0]
  ------------------
 1024|      2|    assert(config->module_search_paths_set >= 0);
  ------------------
  |  Branch (1024:5): [True: 2, False: 0]
  ------------------
 1025|      2|    assert(config->filesystem_encoding != NULL);
  ------------------
  |  Branch (1025:5): [True: 2, False: 0]
  ------------------
 1026|      2|    assert(config->filesystem_errors != NULL);
  ------------------
  |  Branch (1026:5): [True: 2, False: 0]
  ------------------
 1027|       |#ifdef MS_WINDOWS
 1028|       |    /* stdio_encoding can be NULL in the legacy Windows stdio mode. */
 1029|       |    assert(config->stdio_encoding != NULL || config->legacy_windows_stdio);
 1030|       |    assert(config->legacy_windows_stdio >= 0);
 1031|       |#else
 1032|      2|    assert(config->stdio_encoding != NULL);
  ------------------
  |  Branch (1032:5): [True: 2, False: 0]
  ------------------
 1033|      2|#endif
 1034|      2|    assert(config->stdio_errors != NULL);
  ------------------
  |  Branch (1034:5): [True: 2, False: 0]
  ------------------
 1035|       |    /* -c and -m options are exclusive */
 1036|      2|    assert(!(config->run_command != NULL && config->run_module != NULL));
  ------------------
  |  Branch (1036:5): [True: 0, False: 2]
  |  Branch (1036:5): [True: 0, False: 0]
  ------------------
 1037|      2|    assert(config->check_hash_pycs_mode != NULL);
  ------------------
  |  Branch (1037:5): [True: 2, False: 0]
  ------------------
 1038|      2|    assert(config->_install_importlib >= 0);
  ------------------
  |  Branch (1038:5): [True: 2, False: 0]
  ------------------
 1039|      2|    assert(config->pathconfig_warnings >= 0);
  ------------------
  |  Branch (1039:5): [True: 2, False: 0]
  ------------------
 1040|      2|    assert(config->_is_python_build >= 0);
  ------------------
  |  Branch (1040:5): [True: 2, False: 0]
  ------------------
 1041|      2|    assert(config->safe_path >= 0);
  ------------------
  |  Branch (1041:5): [True: 2, False: 0]
  ------------------
 1042|      2|    assert(config->int_max_str_digits >= 0);
  ------------------
  |  Branch (1042:5): [True: 2, False: 0]
  ------------------
 1043|       |    // cpu_count can be -1 if the user doesn't override it.
 1044|      2|    assert(config->cpu_count != 0);
  ------------------
  |  Branch (1044:5): [True: 2, False: 0]
  ------------------
 1045|       |    // lazy_imports can be -1 (default) or 1 (on). 0 is rejected later
 1046|       |    // for embedders with an error message.
 1047|      2|    assert(config->lazy_imports >= -1 && config->lazy_imports <= 1);
  ------------------
  |  Branch (1047:5): [True: 2, False: 0]
  |  Branch (1047:5): [True: 2, False: 0]
  ------------------
 1048|       |    // config->use_frozen_modules is initialized later
 1049|       |    // by _PyConfig_InitImportConfig().
 1050|      2|    assert(config->thread_inherit_context >= 0);
  ------------------
  |  Branch (1050:5): [True: 2, False: 0]
  ------------------
 1051|      2|    assert(config->context_aware_warnings >= 0);
  ------------------
  |  Branch (1051:5): [True: 2, False: 0]
  ------------------
 1052|       |#ifdef __APPLE__
 1053|       |    assert(config->use_system_logger >= 0);
 1054|       |#endif
 1055|       |#ifdef Py_STATS
 1056|       |    assert(config->_pystats >= 0);
 1057|       |#endif
 1058|      2|    return 1;
 1059|      2|}
initconfig.c:config_get:
 4648|    144|{
 4649|    144|    if (use_sys) {
  ------------------
  |  Branch (4649:9): [True: 0, False: 144]
  ------------------
 4650|      0|        if (spec->sys.attr != NULL) {
  ------------------
  |  Branch (4650:13): [True: 0, False: 0]
  ------------------
 4651|      0|            return PySys_GetAttrString(spec->sys.attr);
 4652|      0|        }
 4653|       |
 4654|      0|        if (strcmp(spec->name, "write_bytecode") == 0) {
  ------------------
  |  Branch (4654:13): [True: 0, False: 0]
  ------------------
 4655|      0|            int value;
 4656|      0|            if (config_get_sys_write_bytecode(config, &value) < 0) {
  ------------------
  |  Branch (4656:17): [True: 0, False: 0]
  ------------------
 4657|      0|                return NULL;
 4658|      0|            }
 4659|      0|            return PyBool_FromLong(value);
 4660|      0|        }
 4661|       |
 4662|      0|        if (strcmp(spec->name, "int_max_str_digits") == 0) {
  ------------------
  |  Branch (4662:13): [True: 0, False: 0]
  ------------------
 4663|      0|            PyInterpreterState *interp = _PyInterpreterState_GET();
 4664|      0|            int maxdigits = _Py_atomic_load_int(&interp->long_state.max_str_digits);
 4665|      0|            return PyLong_FromLong(maxdigits);
 4666|      0|        }
 4667|      0|    }
 4668|       |
 4669|    144|    void *member = config_get_spec_member(config, spec);
 4670|    144|    switch (spec->type) {
 4671|     10|    case PyConfig_MEMBER_INT:
  ------------------
  |  Branch (4671:5): [True: 10, False: 134]
  ------------------
 4672|     26|    case PyConfig_MEMBER_UINT:
  ------------------
  |  Branch (4672:5): [True: 16, False: 128]
  ------------------
 4673|     26|    {
 4674|     26|        int value = *(int *)member;
 4675|     26|        return PyLong_FromLong(value);
 4676|     10|    }
 4677|       |
 4678|     62|    case PyConfig_MEMBER_BOOL:
  ------------------
  |  Branch (4678:5): [True: 62, False: 82]
  ------------------
 4679|     62|    {
 4680|     62|        int value = *(int *)member;
 4681|     62|        return PyBool_FromLong(value != 0);
 4682|     10|    }
 4683|       |
 4684|      2|    case PyConfig_MEMBER_ULONG:
  ------------------
  |  Branch (4684:5): [True: 2, False: 142]
  ------------------
 4685|      2|    {
 4686|      2|        unsigned long value = *(unsigned long *)member;
 4687|      2|        return PyLong_FromUnsignedLong(value);
 4688|     10|    }
 4689|       |
 4690|     12|    case PyConfig_MEMBER_WSTR:
  ------------------
  |  Branch (4690:5): [True: 12, False: 132]
  ------------------
 4691|     44|    case PyConfig_MEMBER_WSTR_OPT:
  ------------------
  |  Branch (4691:5): [True: 32, False: 112]
  ------------------
 4692|     44|    {
 4693|     44|        wchar_t *wstr = *(wchar_t **)member;
 4694|     44|        if (wstr != NULL) {
  ------------------
  |  Branch (4694:13): [True: 12, False: 32]
  ------------------
 4695|     12|            return PyUnicode_FromWideChar(wstr, -1);
 4696|     12|        }
 4697|     32|        else {
 4698|     32|            return Py_NewRef(Py_None);
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4699|     32|        }
 4700|     44|    }
 4701|       |
 4702|     10|    case PyConfig_MEMBER_WSTR_LIST:
  ------------------
  |  Branch (4702:5): [True: 10, False: 134]
  ------------------
 4703|     10|    {
 4704|     10|        if (strcmp(spec->name, "xoptions") == 0) {
  ------------------
  |  Branch (4704:13): [True: 2, False: 8]
  ------------------
 4705|      2|            return _PyConfig_CreateXOptionsDict(config);
 4706|      2|        }
 4707|      8|        else {
 4708|      8|            const PyWideStringList *list = (const PyWideStringList *)member;
 4709|      8|            return _PyWideStringList_AsTuple(list);
 4710|      8|        }
 4711|     10|    }
 4712|       |
 4713|      0|    default:
  ------------------
  |  Branch (4713:5): [True: 0, False: 144]
  ------------------
 4714|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 4715|    144|    }
 4716|    144|}
initconfig.c:_PyWideStringList_AsTuple:
  930|      8|{
  931|      8|    assert(_PyWideStringList_CheckConsistency(list));
  ------------------
  |  Branch (931:5): [True: 8, False: 0]
  ------------------
  932|       |
  933|      8|    PyObject *tuple = PyTuple_New(list->length);
  934|      8|    if (tuple == NULL) {
  ------------------
  |  Branch (934:9): [True: 0, False: 8]
  ------------------
  935|      0|        return NULL;
  936|      0|    }
  937|       |
  938|     10|    for (Py_ssize_t i = 0; i < list->length; i++) {
  ------------------
  |  Branch (938:28): [True: 2, False: 8]
  ------------------
  939|      2|        PyObject *item = PyUnicode_FromWideChar(list->items[i], -1);
  940|      2|        if (item == NULL) {
  ------------------
  |  Branch (940:13): [True: 0, False: 2]
  ------------------
  941|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  942|      0|            return NULL;
  943|      0|        }
  944|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  945|      2|    }
  946|      8|    return tuple;
  947|      8|}

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

_Py_GetBaseCodeUnit:
  639|     80|{
  640|     80|    _Py_CODEUNIT *src_instr = _PyCode_CODE(code) + i;
  ------------------
  |  |   16|     80|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|     80|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  641|     80|    _Py_CODEUNIT inst = {
  642|     80|        .cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t *)src_instr)};
  ------------------
  |  |  160|     80|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  ------------------
  643|     80|    int opcode = inst.op.code;
  644|     80|    if (opcode < MIN_INSTRUMENTED_OPCODE) {
  ------------------
  |  |  258|     80|#define MIN_INSTRUMENTED_OPCODE                233
  ------------------
  |  Branch (644:9): [True: 80, False: 0]
  ------------------
  645|     80|        inst.op.code = _PyOpcode_Deopt[opcode];
  646|     80|        assert(inst.op.code < MIN_SPECIALIZED_OPCODE);
  ------------------
  |  Branch (646:9): [True: 80, False: 0]
  ------------------
  647|     80|        return inst;
  648|     80|    }
  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:
 2580|      2|{
 2581|      2|    PyObject *mod = _PyModule_CreateInitialized(&monitoring_module, PYTHON_API_VERSION);
  ------------------
  |  |   59|      2|#define PYTHON_API_VERSION 1013
  ------------------
 2582|      2|    if (mod == NULL) {
  ------------------
  |  Branch (2582:9): [True: 0, False: 2]
  ------------------
 2583|      0|        return NULL;
 2584|      0|    }
 2585|      2|    if (PyObject_SetAttrString(mod, "DISABLE", &_PyInstrumentation_DISABLE)) {
  ------------------
  |  Branch (2585:9): [True: 0, False: 2]
  ------------------
 2586|      0|        goto error;
 2587|      0|    }
 2588|      2|    if (PyObject_SetAttrString(mod, "MISSING", &_PyInstrumentation_MISSING)) {
  ------------------
  |  Branch (2588:9): [True: 0, False: 2]
  ------------------
 2589|      0|        goto error;
 2590|      0|    }
 2591|      2|    PyObject *events = _PyNamespace_New(NULL);
 2592|      2|    if (events == NULL) {
  ------------------
  |  Branch (2592:9): [True: 0, False: 2]
  ------------------
 2593|      0|        goto error;
 2594|      0|    }
 2595|      2|    int err = PyObject_SetAttrString(mod, "events", events);
 2596|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2597|      2|    if (err) {
  ------------------
  |  Branch (2597:9): [True: 0, False: 2]
  ------------------
 2598|      0|        goto error;
 2599|      0|    }
 2600|     40|    for (int i = 0; i < _PY_MONITORING_EVENTS; i++) {
  ------------------
  |  |   77|     40|#define _PY_MONITORING_EVENTS 19
  ------------------
  |  Branch (2600:21): [True: 38, False: 2]
  ------------------
 2601|     38|        if (add_power2_constant(events, event_names[i], i)) {
  ------------------
  |  Branch (2601:13): [True: 0, False: 38]
  ------------------
 2602|      0|            goto error;
 2603|      0|        }
 2604|     38|    }
 2605|      2|    err = PyObject_SetAttrString(events, "NO_EVENTS", _PyLong_GetZero());
 2606|      2|    if (err) goto error;
  ------------------
  |  Branch (2606:9): [True: 0, False: 2]
  ------------------
 2607|      2|    PyObject *val = PyLong_FromLong(PY_MONITORING_DEBUGGER_ID);
  ------------------
  |  |   20|      2|#define PY_MONITORING_DEBUGGER_ID 0
  ------------------
 2608|      2|    assert(val != NULL); /* Can't return NULL because the int is small. */
  ------------------
  |  Branch (2608:5): [True: 2, False: 0]
  ------------------
 2609|      2|    err = PyObject_SetAttrString(mod, "DEBUGGER_ID", val);
 2610|      2|    Py_DECREF(val);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2611|      2|    if (err) goto error;
  ------------------
  |  Branch (2611:9): [True: 0, False: 2]
  ------------------
 2612|      2|    val = PyLong_FromLong(PY_MONITORING_COVERAGE_ID);
  ------------------
  |  |   21|      2|#define PY_MONITORING_COVERAGE_ID 1
  ------------------
 2613|      2|    assert(val != NULL);
  ------------------
  |  Branch (2613:5): [True: 2, False: 0]
  ------------------
 2614|      2|    err = PyObject_SetAttrString(mod, "COVERAGE_ID", val);
 2615|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2616|      2|    if (err) goto error;
  ------------------
  |  Branch (2616:9): [True: 0, False: 2]
  ------------------
 2617|      2|    val = PyLong_FromLong(PY_MONITORING_PROFILER_ID);
  ------------------
  |  |   22|      2|#define PY_MONITORING_PROFILER_ID 2
  ------------------
 2618|      2|    assert(val != NULL);
  ------------------
  |  Branch (2618:5): [True: 2, False: 0]
  ------------------
 2619|      2|    err = PyObject_SetAttrString(mod, "PROFILER_ID", val);
 2620|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2621|      2|    if (err) goto error;
  ------------------
  |  Branch (2621:9): [True: 0, False: 2]
  ------------------
 2622|      2|    val = PyLong_FromLong(PY_MONITORING_OPTIMIZER_ID);
  ------------------
  |  |   23|      2|#define PY_MONITORING_OPTIMIZER_ID 5
  ------------------
 2623|      2|    assert(val != NULL);
  ------------------
  |  Branch (2623:5): [True: 2, False: 0]
  ------------------
 2624|      2|    err = PyObject_SetAttrString(mod, "OPTIMIZER_ID", val);
 2625|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2626|      2|    if (err) goto error;
  ------------------
  |  Branch (2626:9): [True: 0, False: 2]
  ------------------
 2627|      2|    return mod;
 2628|      0|error:
 2629|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2630|       |    return NULL;
 2631|      2|}
instrumentation.c:add_power2_constant:
 2517|     38|{
 2518|     38|    PyObject *val = PyLong_FromLong(1<<i);
 2519|     38|    if (val == NULL) {
  ------------------
  |  Branch (2519:9): [True: 0, False: 38]
  ------------------
 2520|      0|        return -1;
 2521|      0|    }
 2522|     38|    int err = PyObject_SetAttrString(obj, name, val);
 2523|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2524|     38|    return err;
 2525|     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) {
  ------------------
  |  |  951|     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) {
  ------------------
  |  |  951|     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.84k|    for (pos = 0, err = 0; ; pos++) {
   67|  1.84k|        name = PySequence_GetItem(all, pos);
   68|  1.84k|        if (name == NULL) {
  ------------------
  |  Branch (68:13): [True: 15, False: 1.83k]
  ------------------
   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.83k|        if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  1.83k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.83k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (77:13): [True: 0, False: 1.83k]
  ------------------
   78|      0|            PyObject *modname = PyObject_GetAttr(v, &_Py_ID(__name__));
  ------------------
  |  |  951|      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.83k|        if (skip_leading_underscores) {
  ------------------
  |  Branch (102:13): [True: 1.72k, False: 110]
  ------------------
  103|  1.72k|            if (PyUnicode_READ_CHAR(name, 0) == '_') {
  ------------------
  |  |  382|  1.72k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  1.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (103:17): [True: 94, False: 1.62k]
  ------------------
  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.72k|        }
  108|  1.73k|        value = PyObject_GetAttr(v, name);
  109|  1.73k|        if (value == NULL)
  ------------------
  |  Branch (109:13): [True: 0, False: 1.73k]
  ------------------
  110|      0|            err = -1;
  111|  1.73k|        else if (PyDict_CheckExact(locals))
  ------------------
  |  |   19|  1.73k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  1.73k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.73k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  112|  1.73k|            err = PyDict_SetItem(locals, name, value);
  113|      0|        else
  114|      0|            err = PyObject_SetItem(locals, name, value);
  115|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  116|  1.73k|        Py_XDECREF(value);
  ------------------
  |  |  621|  1.73k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  117|  1.73k|        if (err < 0)
  ------------------
  |  Branch (117:13): [True: 0, False: 1.73k]
  ------------------
  118|      0|            break;
  119|  1.73k|    }
  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|     64|{
  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|     64|    assert(PyList_CheckExact(v));
  ------------------
  |  Branch (199:5): [True: 64, False: 0]
  ------------------
  200|     64|    assert(_PyObject_IsUniquelyReferenced(v));
  ------------------
  |  Branch (200:5): [True: 64, False: 0]
  ------------------
  201|     64|    return _PyList_AsTupleAndClear((PyListObject *)v);
  202|     64|}
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:
   55|    405|{
   56|    405|    uint8_t v = _Py_atomic_load_uint8_relaxed(&m->_bits);
   57|    405|    if ((v & _Py_LOCKED) == 0) {
  ------------------
  |  |   10|    405|#define _Py_LOCKED      1
  ------------------
  |  Branch (57:9): [True: 405, False: 0]
  ------------------
   58|    405|        if (_Py_atomic_compare_exchange_uint8(&m->_bits, &v, v|_Py_LOCKED)) {
  ------------------
  |  |   10|    405|#define _Py_LOCKED      1
  ------------------
  |  Branch (58:13): [True: 405, False: 0]
  ------------------
   59|    405|            return PY_LOCK_ACQUIRED;
   60|    405|        }
   61|    405|    }
   62|      0|    if (timeout == 0) {
  ------------------
  |  Branch (62:9): [True: 0, False: 0]
  ------------------
   63|      0|        return PY_LOCK_FAILURE;
   64|      0|    }
   65|       |
   66|      0|    FT_STAT_MUTEX_SLEEP_INC();
   67|       |
   68|      0|    PyTime_t now;
   69|       |    // silently ignore error: cannot report error to the caller
   70|      0|    (void)PyTime_MonotonicRaw(&now);
   71|      0|    PyTime_t endtime = 0;
   72|      0|    if (timeout > 0) {
  ------------------
  |  Branch (72:9): [True: 0, False: 0]
  ------------------
   73|      0|        endtime = _PyTime_Add(now, timeout);
   74|      0|    }
   75|       |
   76|      0|    struct mutex_entry entry = {
   77|      0|        .time_to_be_fair = now + TIME_TO_BE_FAIR_NS,
   78|      0|        .handed_off = 0,
   79|      0|    };
   80|       |
   81|      0|    Py_ssize_t spin_count = 0;
   82|      0|    for (;;) {
   83|      0|        if ((v & _Py_LOCKED) == 0) {
  ------------------
  |  |   10|      0|#define _Py_LOCKED      1
  ------------------
  |  Branch (83:13): [True: 0, False: 0]
  ------------------
   84|       |            // The lock is unlocked. Try to grab it.
   85|      0|            if (_Py_atomic_compare_exchange_uint8(&m->_bits, &v, v|_Py_LOCKED)) {
  ------------------
  |  |   10|      0|#define _Py_LOCKED      1
  ------------------
  |  Branch (85:17): [True: 0, False: 0]
  ------------------
   86|      0|                return PY_LOCK_ACQUIRED;
   87|      0|            }
   88|      0|            continue;
   89|      0|        }
   90|       |
   91|      0|        if (!(v & _Py_HAS_PARKED) && spin_count < MAX_SPIN_COUNT) {
  ------------------
  |  |   17|      0|#define _Py_HAS_PARKED  2
  ------------------
  |  Branch (91:13): [True: 0, False: 0]
  |  Branch (91:38): [True: 0, False: 0]
  ------------------
   92|       |            // Spin for a bit.
   93|      0|            _Py_yield();
   94|      0|            spin_count++;
   95|      0|            continue;
   96|      0|        }
   97|       |
   98|      0|        if (timeout == 0) {
  ------------------
  |  Branch (98:13): [True: 0, False: 0]
  ------------------
   99|      0|            return PY_LOCK_FAILURE;
  100|      0|        }
  101|      0|        if ((flags & _PY_LOCK_PYTHONLOCK) && Py_IsFinalizing()) {
  ------------------
  |  Branch (101:13): [True: 0, False: 0]
  |  Branch (101:46): [True: 0, False: 0]
  ------------------
  102|       |            // At this phase of runtime shutdown, only the finalization thread
  103|       |            // can have attached thread state; others hang if they try
  104|       |            // attaching. And since operations on this lock requires attached
  105|       |            // thread state (_PY_LOCK_PYTHONLOCK), the finalization thread is
  106|       |            // running this code, and no other thread can unlock.
  107|       |            // Raise rather than hang. (_PY_LOCK_PYTHONLOCK allows raising
  108|       |            // exceptons.)
  109|      0|            PyErr_SetString(PyExc_PythonFinalizationError,
  110|      0|                            "cannot acquire lock at interpreter finalization");
  111|      0|            return PY_LOCK_FAILURE;
  112|      0|        }
  113|       |
  114|      0|        uint8_t newv = v;
  115|      0|        if (!(v & _Py_HAS_PARKED)) {
  ------------------
  |  |   17|      0|#define _Py_HAS_PARKED  2
  ------------------
  |  Branch (115:13): [True: 0, False: 0]
  ------------------
  116|       |            // We are the first waiter. Set the _Py_HAS_PARKED flag.
  117|      0|            newv = v | _Py_HAS_PARKED;
  ------------------
  |  |   17|      0|#define _Py_HAS_PARKED  2
  ------------------
  118|      0|            if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &v, newv)) {
  ------------------
  |  Branch (118:17): [True: 0, False: 0]
  ------------------
  119|      0|                continue;
  120|      0|            }
  121|      0|        }
  122|       |
  123|      0|        int ret = _PyParkingLot_Park(&m->_bits, &newv, sizeof(newv), timeout,
  124|      0|                                     &entry, (flags & _PY_LOCK_DETACH) != 0);
  125|      0|        if (ret == Py_PARK_OK) {
  ------------------
  |  Branch (125:13): [True: 0, False: 0]
  ------------------
  126|      0|            if (entry.handed_off) {
  ------------------
  |  Branch (126:17): [True: 0, False: 0]
  ------------------
  127|       |                // We own the lock now. thread.Lock allows other threads
  128|       |                // to concurrently release the lock so we cannot assert that
  129|       |                // it is locked if _PY_LOCK_PYTHONLOCK is set.
  130|      0|                assert(_Py_atomic_load_uint8_relaxed(&m->_bits) & _Py_LOCKED ||
  ------------------
  |  Branch (130:17): [True: 0, False: 0]
  |  Branch (130:17): [True: 0, False: 0]
  ------------------
  131|      0|                       (flags & _PY_LOCK_PYTHONLOCK) != 0);
  132|      0|                return PY_LOCK_ACQUIRED;
  133|      0|            }
  134|      0|        }
  135|      0|        else if (ret == Py_PARK_INTR && (flags & _PY_LOCK_HANDLE_SIGNALS)) {
  ------------------
  |  Branch (135:18): [True: 0, False: 0]
  |  Branch (135:41): [True: 0, False: 0]
  ------------------
  136|      0|            if (Py_MakePendingCalls() < 0) {
  ------------------
  |  Branch (136:17): [True: 0, False: 0]
  ------------------
  137|      0|                return PY_LOCK_INTR;
  138|      0|            }
  139|      0|        }
  140|      0|        else if (ret == Py_PARK_INTR && (flags & _PY_FAIL_IF_INTERRUPTED)) {
  ------------------
  |  Branch (140:18): [True: 0, False: 0]
  |  Branch (140:41): [True: 0, False: 0]
  ------------------
  141|      0|            return PY_LOCK_INTR;
  142|      0|        }
  143|      0|        else if (ret == Py_PARK_TIMEOUT) {
  ------------------
  |  Branch (143:18): [True: 0, False: 0]
  ------------------
  144|      0|            assert(timeout >= 0);
  ------------------
  |  Branch (144:13): [True: 0, False: 0]
  ------------------
  145|      0|            return PY_LOCK_FAILURE;
  146|      0|        }
  147|       |
  148|      0|        if (timeout > 0) {
  ------------------
  |  Branch (148:13): [True: 0, False: 0]
  ------------------
  149|      0|            timeout = _PyDeadline_Get(endtime);
  150|      0|            if (timeout <= 0) {
  ------------------
  |  Branch (150:17): [True: 0, False: 0]
  ------------------
  151|       |                // Avoid negative values because those mean block forever.
  152|      0|                timeout = 0;
  153|      0|            }
  154|      0|        }
  155|       |
  156|      0|        v = _Py_atomic_load_uint8_relaxed(&m->_bits);
  157|      0|    }
  158|      0|}
_PyOnceFlag_CallOnceSlow:
  357|      7|{
  358|      7|    uint8_t v = _Py_atomic_load_uint8(&flag->v);
  359|      7|    for (;;) {
  360|      7|        if (v == _Py_UNLOCKED) {
  ------------------
  |  |    9|      7|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (360:13): [True: 7, False: 0]
  ------------------
  361|      7|            if (!_Py_atomic_compare_exchange_uint8(&flag->v, &v, _Py_LOCKED)) {
  ------------------
  |  |   10|      7|#define _Py_LOCKED      1
  ------------------
  |  Branch (361:17): [True: 0, False: 7]
  ------------------
  362|      0|                continue;
  363|      0|            }
  364|      7|            int res = fn(arg);
  365|      7|            return unlock_once(flag, res);
  366|      7|        }
  367|       |
  368|      0|        if (v == _Py_ONCE_INITIALIZED) {
  ------------------
  |  |   18|      0|#define _Py_ONCE_INITIALIZED 4
  ------------------
  |  Branch (368:13): [True: 0, False: 0]
  ------------------
  369|      0|            return 0;
  370|      0|        }
  371|       |
  372|       |        // The once flag is initializing (locked).
  373|      0|        assert((v & _Py_LOCKED));
  ------------------
  |  Branch (373:9): [True: 0, False: 0]
  ------------------
  374|      0|        if (!(v & _Py_HAS_PARKED)) {
  ------------------
  |  |   17|      0|#define _Py_HAS_PARKED  2
  ------------------
  |  Branch (374:13): [True: 0, False: 0]
  ------------------
  375|       |            // We are the first waiter. Set the _Py_HAS_PARKED flag.
  376|      0|            uint8_t new_value = v | _Py_HAS_PARKED;
  ------------------
  |  |   17|      0|#define _Py_HAS_PARKED  2
  ------------------
  377|      0|            if (!_Py_atomic_compare_exchange_uint8(&flag->v, &v, new_value)) {
  ------------------
  |  Branch (377:17): [True: 0, False: 0]
  ------------------
  378|      0|                continue;
  379|      0|            }
  380|      0|            v = new_value;
  381|      0|        }
  382|       |
  383|       |        // Wait for initialization to finish.
  384|      0|        _PyParkingLot_Park(&flag->v, &v, sizeof(v), -1, NULL, 1);
  385|      0|        v = _Py_atomic_load_uint8(&flag->v);
  386|      0|    }
  387|      7|}
_PyRecursiveMutex_IsLockedByCurrentThread:
  397|    362|{
  398|    362|    return recursive_mutex_is_owned_by(m, PyThread_get_thread_ident_ex());
  399|    362|}
_PyRecursiveMutex_Lock:
  403|    362|{
  404|    362|    PyThread_ident_t thread = PyThread_get_thread_ident_ex();
  405|    362|    if (recursive_mutex_is_owned_by(m, thread)) {
  ------------------
  |  Branch (405:9): [True: 0, False: 362]
  ------------------
  406|      0|        m->level++;
  407|      0|        return;
  408|      0|    }
  409|    362|    PyMutex_Lock(&m->mutex);
  ------------------
  |  |   59|    362|#define PyMutex_Lock _PyMutex_Lock
  ------------------
  410|    362|    _Py_atomic_store_ullong_relaxed(&m->thread, thread);
  411|       |    assert(m->level == 0);
  ------------------
  |  Branch (411:5): [True: 362, False: 0]
  ------------------
  412|    362|}
_PyRecursiveMutex_LockTimed:
  416|    224|{
  417|    224|    PyThread_ident_t thread = PyThread_get_thread_ident_ex();
  418|    224|    if (recursive_mutex_is_owned_by(m, thread)) {
  ------------------
  |  Branch (418:9): [True: 0, False: 224]
  ------------------
  419|      0|        m->level++;
  420|      0|        return PY_LOCK_ACQUIRED;
  421|      0|    }
  422|    224|    PyLockStatus s = _PyMutex_LockTimed(&m->mutex, timeout, flags);
  423|    224|    if (s == PY_LOCK_ACQUIRED) {
  ------------------
  |  Branch (423:9): [True: 224, False: 0]
  ------------------
  424|    224|        _Py_atomic_store_ullong_relaxed(&m->thread, thread);
  425|    224|        assert(m->level == 0);
  ------------------
  |  Branch (425:9): [True: 224, False: 0]
  ------------------
  426|    224|    }
  427|    224|    return s;
  428|    224|}
_PyRecursiveMutex_Unlock:
  432|    362|{
  433|    362|    if (_PyRecursiveMutex_TryUnlock(m) < 0) {
  ------------------
  |  Branch (433:9): [True: 0, False: 362]
  ------------------
  434|      0|        Py_FatalError("unlocking a recursive mutex that is not "
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  435|      0|                      "owned by the current thread");
  436|      0|    }
  437|    362|}
_PyRecursiveMutex_TryUnlock:
  441|    586|{
  442|    586|    PyThread_ident_t thread = PyThread_get_thread_ident_ex();
  443|    586|    if (!recursive_mutex_is_owned_by(m, thread)) {
  ------------------
  |  Branch (443:9): [True: 0, False: 586]
  ------------------
  444|      0|        return -1;
  445|      0|    }
  446|    586|    if (m->level > 0) {
  ------------------
  |  Branch (446:9): [True: 0, False: 586]
  ------------------
  447|      0|        m->level--;
  448|      0|        return 0;
  449|      0|    }
  450|    586|    assert(m->level == 0);
  ------------------
  |  Branch (450:5): [True: 586, False: 0]
  ------------------
  451|    586|    _Py_atomic_store_ullong_relaxed(&m->thread, 0);
  452|    586|    PyMutex_Unlock(&m->mutex);
  ------------------
  |  |   70|    586|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
  453|    586|    return 0;
  454|    586|}
lock.c:unlock_once:
  333|      7|{
  334|       |    // On success (res=0), we set the state to _Py_ONCE_INITIALIZED.
  335|       |    // On failure (res=-1), we reset the state to _Py_UNLOCKED.
  336|      7|    uint8_t new_value;
  337|      7|    switch (res) {
  338|      0|        case -1: new_value = _Py_UNLOCKED; break;
  ------------------
  |  |    9|      0|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (338:9): [True: 0, False: 7]
  ------------------
  339|      7|        case  0: new_value = _Py_ONCE_INITIALIZED; break;
  ------------------
  |  |   18|      7|#define _Py_ONCE_INITIALIZED 4
  ------------------
  |  Branch (339:9): [True: 7, False: 0]
  ------------------
  340|      0|        default: {
  ------------------
  |  Branch (340:9): [True: 0, False: 7]
  ------------------
  341|      0|            Py_FatalError("invalid result from _PyOnceFlag_CallOnce");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  342|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  343|      0|            break;
  344|      0|        }
  345|      7|    }
  346|       |
  347|      7|    uint8_t old_value = _Py_atomic_exchange_uint8(&o->v, new_value);
  348|      7|    if ((old_value & _Py_HAS_PARKED) != 0) {
  ------------------
  |  |   17|      7|#define _Py_HAS_PARKED  2
  ------------------
  |  Branch (348:9): [True: 0, False: 7]
  ------------------
  349|       |        // wake up anyone waiting on the once flag
  350|      0|        _PyParkingLot_UnparkAll(&o->v);
  351|      0|    }
  352|      7|    return res;
  353|      7|}
lock.c:recursive_mutex_is_owned_by:
  391|  1.53k|{
  392|  1.53k|    return _Py_atomic_load_ullong_relaxed(&m->thread) == tid;
  393|  1.53k|}

PyMarshal_ReadObjectFromString:
 2343|     30|{
 2344|     30|    RFILE rf;
 2345|     30|    PyObject *result;
 2346|     30|    rf.allow_code = 1;
 2347|     30|    rf.fp = NULL;
 2348|     30|    rf.readable = NULL;
 2349|     30|    rf.ptr = str;
 2350|     30|    rf.end = str + len;
 2351|     30|    rf.buf = NULL;
 2352|     30|    rf.depth = 0;
 2353|     30|    rf.refs = PyList_New(0);
 2354|     30|    if (rf.refs == NULL)
  ------------------
  |  Branch (2354:9): [True: 0, False: 30]
  ------------------
 2355|      0|        return NULL;
 2356|     30|    result = read_object(&rf);
 2357|     30|    Py_DECREF(rf.refs);
  ------------------
  |  |  430|     30|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2358|     30|    if (rf.buf != NULL)
  ------------------
  |  Branch (2358:9): [True: 0, False: 30]
  ------------------
 2359|      0|        PyMem_Free(rf.buf);
 2360|     30|    return result;
 2361|     30|}
PyMarshal_Init:
 2636|      2|{
 2637|      2|    return PyModuleDef_Init(&marshalmodule);
 2638|      2|}
marshal.c:r_short:
 1386|     29|{
 1387|     29|    short x = -1;
 1388|     29|    const unsigned char *buffer;
 1389|       |
 1390|     29|    buffer = (const unsigned char *) r_string(2, p);
 1391|     29|    if (buffer != NULL) {
  ------------------
  |  Branch (1391:9): [True: 29, False: 0]
  ------------------
 1392|     29|        x = buffer[0];
 1393|     29|        x |= buffer[1] << 8;
 1394|       |        /* Sign-extension, in case short greater than 16 bits */
 1395|     29|        x |= -(x & 0x8000);
 1396|     29|    }
 1397|     29|    return x;
 1398|     29|}
marshal.c:r_string:
 1266|  70.7k|{
 1267|  70.7k|    Py_ssize_t read = -1;
 1268|       |
 1269|  70.7k|    if (p->ptr != NULL) {
  ------------------
  |  Branch (1269:9): [True: 70.7k, False: 0]
  ------------------
 1270|       |        /* Fast path for loads() */
 1271|  70.7k|        const char *res = p->ptr;
 1272|  70.7k|        Py_ssize_t left = p->end - p->ptr;
 1273|  70.7k|        if (left < n) {
  ------------------
  |  Branch (1273:13): [True: 0, False: 70.7k]
  ------------------
 1274|      0|            PyErr_SetString(PyExc_EOFError,
 1275|      0|                            "marshal data too short");
 1276|      0|            return NULL;
 1277|      0|        }
 1278|  70.7k|        p->ptr += n;
 1279|  70.7k|        return res;
 1280|  70.7k|    }
 1281|      0|    if (p->buf == NULL) {
  ------------------
  |  Branch (1281:9): [True: 0, False: 0]
  ------------------
 1282|      0|        p->buf = PyMem_Malloc(n);
 1283|      0|        if (p->buf == NULL) {
  ------------------
  |  Branch (1283:13): [True: 0, False: 0]
  ------------------
 1284|      0|            PyErr_NoMemory();
 1285|      0|            return NULL;
 1286|      0|        }
 1287|      0|        p->buf_size = n;
 1288|      0|    }
 1289|      0|    else if (p->buf_size < n) {
  ------------------
  |  Branch (1289:14): [True: 0, False: 0]
  ------------------
 1290|      0|        char *tmp = PyMem_Realloc(p->buf, n);
 1291|      0|        if (tmp == NULL) {
  ------------------
  |  Branch (1291:13): [True: 0, False: 0]
  ------------------
 1292|      0|            PyErr_NoMemory();
 1293|      0|            return NULL;
 1294|      0|        }
 1295|      0|        p->buf = tmp;
 1296|      0|        p->buf_size = n;
 1297|      0|    }
 1298|       |
 1299|      0|    if (!p->readable) {
  ------------------
  |  Branch (1299:9): [True: 0, False: 0]
  ------------------
 1300|      0|        assert(p->fp != NULL);
  ------------------
  |  Branch (1300:9): [True: 0, False: 0]
  ------------------
 1301|      0|        read = fread(p->buf, 1, n, p->fp);
 1302|      0|        if (read != n) {
  ------------------
  |  Branch (1302:13): [True: 0, False: 0]
  ------------------
 1303|      0|            assert(read < n);
  ------------------
  |  Branch (1303:13): [True: 0, False: 0]
  ------------------
 1304|      0|            int saved_errno = errno;
 1305|      0|            if (!PyErr_CheckSignals() && ferror(p->fp)) {
  ------------------
  |  Branch (1305:17): [True: 0, False: 0]
  |  Branch (1305:42): [True: 0, False: 0]
  ------------------
 1306|      0|                errno = saved_errno;
 1307|      0|                PyErr_SetFromErrno(PyExc_OSError);
 1308|      0|            }
 1309|      0|        }
 1310|      0|    }
 1311|      0|    else {
 1312|      0|        PyObject *res, *mview;
 1313|      0|        Py_buffer buf;
 1314|       |
 1315|      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 (1315:13): [True: 0, False: 0]
  ------------------
 1316|      0|            return NULL;
 1317|      0|        mview = PyMemoryView_FromBuffer(&buf);
 1318|      0|        if (mview == NULL)
  ------------------
  |  Branch (1318:13): [True: 0, False: 0]
  ------------------
 1319|      0|            return NULL;
 1320|       |
 1321|      0|        res = _PyObject_CallMethod(p->readable, &_Py_ID(readinto), "N", mview);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1322|      0|        if (res == NULL) {
  ------------------
  |  Branch (1322:13): [True: 0, False: 0]
  ------------------
 1323|      0|            return NULL;
 1324|      0|        }
 1325|      0|        read = PyNumber_AsSsize_t(res, PyExc_ValueError);
 1326|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1327|      0|        if (read == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1327:13): [True: 0, False: 0]
  |  Branch (1327:27): [True: 0, False: 0]
  ------------------
 1328|      0|            return NULL;
 1329|      0|        }
 1330|      0|        if (read > n) {
  ------------------
  |  Branch (1330:13): [True: 0, False: 0]
  ------------------
 1331|      0|            PyErr_Format(PyExc_ValueError,
 1332|      0|                         "read() returned too much data: "
 1333|      0|                         "%zd bytes requested, %zd returned",
 1334|      0|                         n, read);
 1335|      0|            return NULL;
 1336|      0|        }
 1337|      0|    }
 1338|      0|    if (read != n) {
  ------------------
  |  Branch (1338:9): [True: 0, False: 0]
  ------------------
 1339|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1339:13): [True: 0, False: 0]
  ------------------
 1340|      0|            PyErr_SetString(PyExc_EOFError,
 1341|      0|                            "EOF read where not expected");
 1342|      0|        }
 1343|      0|        return NULL;
 1344|      0|    }
 1345|      0|    return p->buf;
 1346|      0|}
marshal.c:r_long:
 1402|  48.5k|{
 1403|  48.5k|    long x = -1;
 1404|  48.5k|    const unsigned char *buffer;
 1405|       |
 1406|  48.5k|    buffer = (const unsigned char *) r_string(4, p);
 1407|  48.5k|    if (buffer != NULL) {
  ------------------
  |  Branch (1407:9): [True: 48.5k, False: 0]
  ------------------
 1408|  48.5k|        x = buffer[0];
 1409|  48.5k|        x |= (long)buffer[1] << 8;
 1410|  48.5k|        x |= (long)buffer[2] << 16;
 1411|  48.5k|        x |= (long)buffer[3] << 24;
 1412|  48.5k|#if SIZEOF_LONG > 4
 1413|       |        /* Sign extension for 64-bit machines */
 1414|  48.5k|        x |= -(x & 0x80000000L);
 1415|  48.5k|#endif
 1416|  48.5k|    }
 1417|  48.5k|    return x;
 1418|  48.5k|}
marshal.c:read_object:
 2212|     57|{
 2213|     57|    PyObject *v;
 2214|     57|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (2214:9): [True: 0, False: 57]
  ------------------
 2215|      0|        fprintf(stderr, "XXX readobject called with exception set\n");
 2216|      0|        return NULL;
 2217|      0|    }
 2218|     57|    if (p->ptr && p->end) {
  ------------------
  |  Branch (2218:9): [True: 57, False: 0]
  |  Branch (2218:19): [True: 57, False: 0]
  ------------------
 2219|     57|        if (PySys_Audit("marshal.loads", "y#", p->ptr, (Py_ssize_t)(p->end - p->ptr)) < 0) {
  ------------------
  |  Branch (2219:13): [True: 0, False: 57]
  ------------------
 2220|      0|            return NULL;
 2221|      0|        }
 2222|     57|    } else if (p->fp || p->readable) {
  ------------------
  |  Branch (2222:16): [True: 0, False: 0]
  |  Branch (2222:25): [True: 0, False: 0]
  ------------------
 2223|      0|        if (PySys_Audit("marshal.load", NULL) < 0) {
  ------------------
  |  Branch (2223:13): [True: 0, False: 0]
  ------------------
 2224|      0|            return NULL;
 2225|      0|        }
 2226|      0|    }
 2227|     57|    v = r_object(p);
 2228|     57|    if (v == NULL && !PyErr_Occurred())
  ------------------
  |  Branch (2228:9): [True: 0, False: 57]
  |  Branch (2228:22): [True: 0, False: 0]
  ------------------
 2229|      0|        PyErr_SetString(PyExc_TypeError, "NULL object in marshal data for object");
 2230|     57|    return v;
 2231|     57|}
marshal.c:r_object:
 1623|  57.4k|{
 1624|       |    /* NULL is a valid return value, it does not necessarily means that
 1625|       |       an exception is set. */
 1626|  57.4k|    PyObject *v, *v2;
 1627|  57.4k|    Py_ssize_t idx = 0;
 1628|  57.4k|    long i, n;
 1629|  57.4k|    int type, code = r_byte(p);
 1630|  57.4k|    int flag, is_interned = 0;
 1631|  57.4k|    PyObject *retval = NULL;
 1632|       |
 1633|  57.4k|    if (code == EOF) {
  ------------------
  |  Branch (1633:9): [True: 0, False: 57.4k]
  ------------------
 1634|      0|        if (PyErr_ExceptionMatches(PyExc_EOFError)) {
  ------------------
  |  Branch (1634:13): [True: 0, False: 0]
  ------------------
 1635|      0|            PyErr_SetString(PyExc_EOFError,
 1636|      0|                            "EOF read where object expected");
 1637|      0|        }
 1638|      0|        return NULL;
 1639|      0|    }
 1640|       |
 1641|  57.4k|    p->depth++;
 1642|       |
 1643|  57.4k|    if (p->depth > MAX_MARSHAL_STACK_DEPTH) {
  ------------------
  |  |   53|  57.4k|#  define MAX_MARSHAL_STACK_DEPTH 2000
  ------------------
  |  Branch (1643:9): [True: 0, False: 57.4k]
  ------------------
 1644|      0|        p->depth--;
 1645|      0|        PyErr_SetString(PyExc_ValueError, "recursion limit exceeded");
 1646|      0|        return NULL;
 1647|      0|    }
 1648|       |
 1649|  57.4k|    flag = code & FLAG_REF;
  ------------------
  |  |   99|  57.4k|#define FLAG_REF                '\x80' /* with a type, add obj to index */
  ------------------
 1650|  57.4k|    type = code & ~FLAG_REF;
  ------------------
  |  |   99|  57.4k|#define FLAG_REF                '\x80' /* with a type, add obj to index */
  ------------------
 1651|       |
 1652|  57.4k|#define R_REF(O) do{\
 1653|  57.4k|    if (flag) \
 1654|  57.4k|        O = r_ref(O, flag, p);\
 1655|  57.4k|} while (0)
 1656|       |
 1657|  57.4k|    switch (type) {
 1658|       |
 1659|      0|    case TYPE_NULL:
  ------------------
  |  |   57|      0|#define TYPE_NULL               '0'
  ------------------
  |  Branch (1659:5): [True: 0, False: 57.4k]
  ------------------
 1660|      0|        break;
 1661|       |
 1662|    416|    case TYPE_NONE:
  ------------------
  |  |   58|    416|#define TYPE_NONE               'N'
  ------------------
  |  Branch (1662:5): [True: 416, False: 57.0k]
  ------------------
 1663|    416|        retval = Py_None;
  ------------------
  |  |  616|    416|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1664|    416|        break;
 1665|       |
 1666|      0|    case TYPE_STOPITER:
  ------------------
  |  |   61|      0|#define TYPE_STOPITER           'S'
  ------------------
  |  Branch (1666:5): [True: 0, False: 57.4k]
  ------------------
 1667|      0|        retval = Py_NewRef(PyExc_StopIteration);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1668|      0|        break;
 1669|       |
 1670|      4|    case TYPE_ELLIPSIS:
  ------------------
  |  |   62|      4|#define TYPE_ELLIPSIS           '.'
  ------------------
  |  Branch (1670:5): [True: 4, False: 57.4k]
  ------------------
 1671|      4|        retval = Py_Ellipsis;
  ------------------
  |  |   14|      4|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
 1672|      4|        break;
 1673|       |
 1674|     36|    case TYPE_FALSE:
  ------------------
  |  |   59|     36|#define TYPE_FALSE              'F'
  ------------------
  |  Branch (1674:5): [True: 36, False: 57.3k]
  ------------------
 1675|     36|        retval = Py_False;
  ------------------
  |  |   25|     36|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1676|     36|        break;
 1677|       |
 1678|     37|    case TYPE_TRUE:
  ------------------
  |  |   60|     37|#define TYPE_TRUE               'T'
  ------------------
  |  Branch (1678:5): [True: 37, False: 57.3k]
  ------------------
 1679|     37|        retval = Py_True;
  ------------------
  |  |   26|     37|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1680|     37|        break;
 1681|       |
 1682|    484|    case TYPE_INT:
  ------------------
  |  |   89|    484|#define TYPE_INT                'i'  // All versions. 32-bit encoding.
  ------------------
  |  Branch (1682:5): [True: 484, False: 56.9k]
  ------------------
 1683|    484|        n = r_long(p);
 1684|    484|        if (n == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1684:13): [True: 7, False: 477]
  |  Branch (1684:24): [True: 0, False: 7]
  ------------------
 1685|      0|            break;
 1686|      0|        }
 1687|    484|        retval = PyLong_FromLong(n);
 1688|    484|        R_REF(retval);
  ------------------
  |  | 1652|    484|#define R_REF(O) do{\
  |  | 1653|    484|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 149, False: 335]
  |  |  ------------------
  |  | 1654|    484|        O = r_ref(O, flag, p);\
  |  | 1655|    484|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 484]
  |  |  ------------------
  ------------------
 1689|    484|        break;
 1690|       |
 1691|      0|    case TYPE_INT64:
  ------------------
  |  |   95|      0|#define TYPE_INT64              'I'  // Not generated any more.
  ------------------
  |  Branch (1691:5): [True: 0, False: 57.4k]
  ------------------
 1692|      0|        retval = r_long64(p);
 1693|      0|        R_REF(retval);
  ------------------
  |  | 1652|      0|#define R_REF(O) do{\
  |  | 1653|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1654|      0|        O = r_ref(O, flag, p);\
  |  | 1655|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1694|      0|        break;
 1695|       |
 1696|      9|    case TYPE_LONG:
  ------------------
  |  |   65|      9|#define TYPE_LONG               'l'  // See also TYPE_INT.
  ------------------
  |  Branch (1696:5): [True: 9, False: 57.4k]
  ------------------
 1697|      9|        retval = r_PyLong(p);
 1698|      9|        R_REF(retval);
  ------------------
  |  | 1652|      9|#define R_REF(O) do{\
  |  | 1653|      9|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 2, False: 7]
  |  |  ------------------
  |  | 1654|      9|        O = r_ref(O, flag, p);\
  |  | 1655|      9|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 9]
  |  |  ------------------
  ------------------
 1699|      9|        break;
 1700|       |
 1701|      0|    case TYPE_FLOAT:
  ------------------
  |  |   94|      0|#define TYPE_FLOAT              'f'  // Generated for version 0 only.
  ------------------
  |  Branch (1701:5): [True: 0, False: 57.4k]
  ------------------
 1702|      0|        {
 1703|      0|            double x = r_float_str(p);
 1704|      0|            if (x == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1704:17): [True: 0, False: 0]
  |  Branch (1704:30): [True: 0, False: 0]
  ------------------
 1705|      0|                break;
 1706|      0|            retval = PyFloat_FromDouble(x);
 1707|      0|            R_REF(retval);
  ------------------
  |  | 1652|      0|#define R_REF(O) do{\
  |  | 1653|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1654|      0|        O = r_ref(O, flag, p);\
  |  | 1655|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1708|      0|            break;
 1709|      0|        }
 1710|       |
 1711|      0|    case TYPE_BINARY_FLOAT:
  ------------------
  |  |   63|      0|#define TYPE_BINARY_FLOAT       'g'  // Version 0 uses TYPE_FLOAT instead.
  ------------------
  |  Branch (1711:5): [True: 0, False: 57.4k]
  ------------------
 1712|      0|        {
 1713|      0|            double x = r_float_bin(p);
 1714|      0|            if (x == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1714:17): [True: 0, False: 0]
  |  Branch (1714:30): [True: 0, False: 0]
  ------------------
 1715|      0|                break;
 1716|      0|            retval = PyFloat_FromDouble(x);
 1717|      0|            R_REF(retval);
  ------------------
  |  | 1652|      0|#define R_REF(O) do{\
  |  | 1653|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1654|      0|        O = r_ref(O, flag, p);\
  |  | 1655|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1718|      0|            break;
 1719|      0|        }
 1720|       |
 1721|      0|    case TYPE_COMPLEX:
  ------------------
  |  |   93|      0|#define TYPE_COMPLEX            'x'  // Generated for version 0 only.
  ------------------
  |  Branch (1721:5): [True: 0, False: 57.4k]
  ------------------
 1722|      0|        {
 1723|      0|            Py_complex c;
 1724|      0|            c.real = r_float_str(p);
 1725|      0|            if (c.real == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1725:17): [True: 0, False: 0]
  |  Branch (1725:35): [True: 0, False: 0]
  ------------------
 1726|      0|                break;
 1727|      0|            c.imag = r_float_str(p);
 1728|      0|            if (c.imag == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1728:17): [True: 0, False: 0]
  |  Branch (1728:35): [True: 0, False: 0]
  ------------------
 1729|      0|                break;
 1730|      0|            retval = PyComplex_FromCComplex(c);
 1731|      0|            R_REF(retval);
  ------------------
  |  | 1652|      0|#define R_REF(O) do{\
  |  | 1653|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1654|      0|        O = r_ref(O, flag, p);\
  |  | 1655|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1732|      0|            break;
 1733|      0|        }
 1734|       |
 1735|      0|    case TYPE_BINARY_COMPLEX:
  ------------------
  |  |   64|      0|#define TYPE_BINARY_COMPLEX     'y'  // Version 0 uses TYPE_COMPLEX instead.
  ------------------
  |  Branch (1735:5): [True: 0, False: 57.4k]
  ------------------
 1736|      0|        {
 1737|      0|            Py_complex c;
 1738|      0|            c.real = r_float_bin(p);
 1739|      0|            if (c.real == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1739:17): [True: 0, False: 0]
  |  Branch (1739:35): [True: 0, False: 0]
  ------------------
 1740|      0|                break;
 1741|      0|            c.imag = r_float_bin(p);
 1742|      0|            if (c.imag == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1742:17): [True: 0, False: 0]
  |  Branch (1742:35): [True: 0, False: 0]
  ------------------
 1743|      0|                break;
 1744|      0|            retval = PyComplex_FromCComplex(c);
 1745|      0|            R_REF(retval);
  ------------------
  |  | 1652|      0|#define R_REF(O) do{\
  |  | 1653|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1654|      0|        O = r_ref(O, flag, p);\
  |  | 1655|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1746|      0|            break;
 1747|      0|        }
 1748|       |
 1749|  7.42k|    case TYPE_STRING:
  ------------------
  |  |   66|  7.42k|#define TYPE_STRING             's'  // Bytes. (Name comes from Python 2.)
  ------------------
  |  Branch (1749:5): [True: 7.42k, False: 50.0k]
  ------------------
 1750|  7.42k|        {
 1751|  7.42k|            const char *ptr;
 1752|  7.42k|            n = r_long(p);
 1753|  7.42k|            if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  236|  7.42k|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1753:17): [True: 0, False: 7.42k]
  |  Branch (1753:26): [True: 0, False: 7.42k]
  ------------------
 1754|      0|                if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1754:21): [True: 0, False: 0]
  ------------------
 1755|      0|                    PyErr_SetString(PyExc_ValueError,
 1756|      0|                        "bad marshal data (bytes object size out of range)");
 1757|      0|                }
 1758|      0|                break;
 1759|      0|            }
 1760|  7.42k|            ptr = r_string(n, p);
 1761|  7.42k|            if (ptr == NULL) {
  ------------------
  |  Branch (1761:17): [True: 0, False: 7.42k]
  ------------------
 1762|      0|                break;
 1763|      0|            }
 1764|       |            // Get a singleton for 1-byte string
 1765|  7.42k|            retval = PyBytes_FromStringAndSize(ptr, n);  // can be NULL
 1766|  7.42k|            R_REF(retval);
  ------------------
  |  | 1652|  7.42k|#define R_REF(O) do{\
  |  | 1653|  7.42k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 234, False: 7.19k]
  |  |  ------------------
  |  | 1654|  7.42k|        O = r_ref(O, flag, p);\
  |  | 1655|  7.42k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 7.42k]
  |  |  ------------------
  ------------------
 1767|  7.42k|            break;
 1768|  7.42k|        }
 1769|       |
 1770|      0|    case TYPE_ASCII_INTERNED:
  ------------------
  |  |   84|      0|#define TYPE_ASCII_INTERNED     'A'
  ------------------
  |  Branch (1770:5): [True: 0, False: 57.4k]
  ------------------
 1771|      0|        is_interned = 1;
 1772|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1773|    209|    case TYPE_ASCII:
  ------------------
  |  |   83|    209|#define TYPE_ASCII              'a'
  ------------------
  |  Branch (1773:5): [True: 209, False: 57.2k]
  ------------------
 1774|    209|        n = r_long(p);
 1775|    209|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  236|    209|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1775:13): [True: 0, False: 209]
  |  Branch (1775:22): [True: 0, False: 209]
  ------------------
 1776|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1776:17): [True: 0, False: 0]
  ------------------
 1777|      0|                PyErr_SetString(PyExc_ValueError,
 1778|      0|                    "bad marshal data (string size out of range)");
 1779|      0|            }
 1780|      0|            break;
 1781|      0|        }
 1782|    209|        goto _read_ascii;
 1783|       |
 1784|  12.4k|    case TYPE_SHORT_ASCII_INTERNED:
  ------------------
  |  |   86|  12.4k|#define TYPE_SHORT_ASCII_INTERNED 'Z'
  ------------------
  |  Branch (1784:5): [True: 12.4k, False: 44.9k]
  ------------------
 1785|  12.4k|        is_interned = 1;
 1786|  12.4k|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|  12.4k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1787|  14.5k|    case TYPE_SHORT_ASCII:
  ------------------
  |  |   85|  14.5k|#define TYPE_SHORT_ASCII        'z'
  ------------------
  |  Branch (1787:5): [True: 2.07k, False: 55.3k]
  ------------------
 1788|  14.5k|        n = r_byte(p);
 1789|  14.5k|        if (n == EOF) {
  ------------------
  |  Branch (1789:13): [True: 0, False: 14.5k]
  ------------------
 1790|      0|            break;
 1791|      0|        }
 1792|  14.7k|    _read_ascii:
 1793|  14.7k|        {
 1794|  14.7k|            const char *ptr;
 1795|  14.7k|            ptr = r_string(n, p);
 1796|  14.7k|            if (ptr == NULL)
  ------------------
  |  Branch (1796:17): [True: 0, False: 14.7k]
  ------------------
 1797|      0|                break;
 1798|  14.7k|            v = PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, ptr, n);
 1799|  14.7k|            if (v == NULL)
  ------------------
  |  Branch (1799:17): [True: 0, False: 14.7k]
  ------------------
 1800|      0|                break;
 1801|  14.7k|            if (is_interned) {
  ------------------
  |  Branch (1801:17): [True: 12.4k, False: 2.28k]
  ------------------
 1802|       |                // marshal is meant to serialize .pyc files with code
 1803|       |                // objects, and code-related strings are currently immortal.
 1804|  12.4k|                PyInterpreterState *interp = _PyInterpreterState_GET();
 1805|  12.4k|                _PyUnicode_InternImmortal(interp, &v);
 1806|  12.4k|            }
 1807|  14.7k|            retval = v;
 1808|  14.7k|            R_REF(retval);
  ------------------
  |  | 1652|  14.7k|#define R_REF(O) do{\
  |  | 1653|  14.7k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 5.77k, False: 9.00k]
  |  |  ------------------
  |  | 1654|  14.7k|        O = r_ref(O, flag, p);\
  |  | 1655|  14.7k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 14.7k]
  |  |  ------------------
  ------------------
 1809|  14.7k|            break;
 1810|  14.7k|        }
 1811|       |
 1812|      0|    case TYPE_INTERNED:
  ------------------
  |  |   82|      0|#define TYPE_INTERNED           't' // Version 1+
  ------------------
  |  Branch (1812:5): [True: 0, False: 57.4k]
  ------------------
 1813|      0|        is_interned = 1;
 1814|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1815|      2|    case TYPE_UNICODE:
  ------------------
  |  |   72|      2|#define TYPE_UNICODE            'u'
  ------------------
  |  Branch (1815:5): [True: 2, False: 57.4k]
  ------------------
 1816|      2|        {
 1817|      2|        const char *buffer;
 1818|       |
 1819|      2|        n = r_long(p);
 1820|      2|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  236|      2|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1820:13): [True: 0, False: 2]
  |  Branch (1820:22): [True: 0, False: 2]
  ------------------
 1821|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1821:17): [True: 0, False: 0]
  ------------------
 1822|      0|                PyErr_SetString(PyExc_ValueError,
 1823|      0|                    "bad marshal data (string size out of range)");
 1824|      0|            }
 1825|      0|            break;
 1826|      0|        }
 1827|      2|        if (n != 0) {
  ------------------
  |  Branch (1827:13): [True: 2, False: 0]
  ------------------
 1828|      2|            buffer = r_string(n, p);
 1829|      2|            if (buffer == NULL)
  ------------------
  |  Branch (1829:17): [True: 0, False: 2]
  ------------------
 1830|      0|                break;
 1831|      2|            v = PyUnicode_DecodeUTF8(buffer, n, "surrogatepass");
 1832|      2|        }
 1833|      0|        else {
 1834|      0|            v = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 1835|      0|        }
 1836|      2|        if (v == NULL)
  ------------------
  |  Branch (1836:13): [True: 0, False: 2]
  ------------------
 1837|      0|            break;
 1838|      2|        if (is_interned) {
  ------------------
  |  Branch (1838:13): [True: 0, False: 2]
  ------------------
 1839|       |            // marshal is meant to serialize .pyc files with code
 1840|       |            // objects, and code-related strings are currently immortal.
 1841|      0|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1842|      0|            _PyUnicode_InternImmortal(interp, &v);
 1843|      0|        }
 1844|      2|        retval = v;
 1845|      2|        R_REF(retval);
  ------------------
  |  | 1652|      2|#define R_REF(O) do{\
  |  | 1653|      2|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1654|      2|        O = r_ref(O, flag, p);\
  |  | 1655|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1846|      2|        break;
 1847|      2|        }
 1848|       |
 1849|  5.75k|    case TYPE_SMALL_TUPLE:
  ------------------
  |  |   90|  5.75k|#define TYPE_SMALL_TUPLE        ')'  // Version 4+
  ------------------
  |  Branch (1849:5): [True: 5.75k, False: 51.6k]
  ------------------
 1850|  5.75k|        n = r_byte(p);
 1851|  5.75k|        if (n == EOF) {
  ------------------
  |  Branch (1851:13): [True: 0, False: 5.75k]
  ------------------
 1852|      0|            break;
 1853|      0|        }
 1854|  5.75k|        goto _read_tuple;
 1855|  5.75k|    case TYPE_TUPLE:
  ------------------
  |  |   67|      2|#define TYPE_TUPLE              '('  // See also TYPE_SMALL_TUPLE.
  ------------------
  |  Branch (1855:5): [True: 2, False: 57.4k]
  ------------------
 1856|      2|        n = r_long(p);
 1857|      2|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  236|      2|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1857:13): [True: 0, False: 2]
  |  Branch (1857:22): [True: 0, False: 2]
  ------------------
 1858|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1858:17): [True: 0, False: 0]
  ------------------
 1859|      0|                PyErr_SetString(PyExc_ValueError,
 1860|      0|                    "bad marshal data (tuple size out of range)");
 1861|      0|            }
 1862|      0|            break;
 1863|      0|        }
 1864|  5.76k|    _read_tuple:
 1865|  5.76k|        idx = r_ref_reserve(flag, p);
 1866|  5.76k|        if (idx < 0)
  ------------------
  |  Branch (1866:13): [True: 0, False: 5.76k]
  ------------------
 1867|      0|            break;
 1868|  5.76k|        v = PyTuple_New(n);
 1869|  5.76k|        if (v == NULL)
  ------------------
  |  Branch (1869:13): [True: 0, False: 5.76k]
  ------------------
 1870|      0|            break;
 1871|       |
 1872|  38.6k|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1872:21): [True: 32.8k, False: 5.76k]
  ------------------
 1873|  32.8k|            v2 = r_object(p);
 1874|  32.8k|            if ( v2 == NULL ) {
  ------------------
  |  Branch (1874:18): [True: 0, False: 32.8k]
  ------------------
 1875|      0|                if (!PyErr_Occurred())
  ------------------
  |  Branch (1875:21): [True: 0, False: 0]
  ------------------
 1876|      0|                    PyErr_SetString(PyExc_TypeError,
 1877|      0|                        "NULL object in marshal data for tuple");
 1878|      0|                Py_SETREF(v, NULL);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1879|      0|                break;
 1880|      0|            }
 1881|  32.8k|            PyTuple_SET_ITEM(v, i, v2);
  ------------------
  |  |   40|  32.8k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  32.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  32.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1882|  32.8k|        }
 1883|  5.76k|        retval = r_ref_insert(v, idx, flag, p);
 1884|  5.76k|        break;
 1885|       |
 1886|      0|    case TYPE_LIST:
  ------------------
  |  |   68|      0|#define TYPE_LIST               '['
  ------------------
  |  Branch (1886:5): [True: 0, False: 57.4k]
  ------------------
 1887|      0|        n = r_long(p);
 1888|      0|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  236|      0|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1888:13): [True: 0, False: 0]
  |  Branch (1888:22): [True: 0, False: 0]
  ------------------
 1889|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1889:17): [True: 0, False: 0]
  ------------------
 1890|      0|                PyErr_SetString(PyExc_ValueError,
 1891|      0|                    "bad marshal data (list size out of range)");
 1892|      0|            }
 1893|      0|            break;
 1894|      0|        }
 1895|      0|        v = PyList_New(n);
 1896|      0|        R_REF(v);
  ------------------
  |  | 1652|      0|#define R_REF(O) do{\
  |  | 1653|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1654|      0|        O = r_ref(O, flag, p);\
  |  | 1655|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1897|      0|        if (v == NULL)
  ------------------
  |  Branch (1897:13): [True: 0, False: 0]
  ------------------
 1898|      0|            break;
 1899|      0|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1899:21): [True: 0, False: 0]
  ------------------
 1900|      0|            v2 = r_object(p);
 1901|      0|            if ( v2 == NULL ) {
  ------------------
  |  Branch (1901:18): [True: 0, False: 0]
  ------------------
 1902|      0|                if (!PyErr_Occurred())
  ------------------
  |  Branch (1902:21): [True: 0, False: 0]
  ------------------
 1903|      0|                    PyErr_SetString(PyExc_TypeError,
 1904|      0|                        "NULL object in marshal data for list");
 1905|      0|                Py_SETREF(v, NULL);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1906|      0|                break;
 1907|      0|            }
 1908|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1909|      0|        }
 1910|      0|        retval = v;
 1911|      0|        break;
 1912|       |
 1913|      0|    case TYPE_DICT:
  ------------------
  |  |   69|      0|#define TYPE_DICT               '{'
  ------------------
  |  Branch (1913:5): [True: 0, False: 57.4k]
  ------------------
 1914|      0|    case TYPE_FROZENDICT:
  ------------------
  |  |   70|      0|#define TYPE_FROZENDICT         '}'
  ------------------
  |  Branch (1914:5): [True: 0, False: 57.4k]
  ------------------
 1915|      0|        v = PyDict_New();
 1916|      0|        if (v == NULL) {
  ------------------
  |  Branch (1916:13): [True: 0, False: 0]
  ------------------
 1917|      0|            break;
 1918|      0|        }
 1919|      0|        if (type == TYPE_DICT) {
  ------------------
  |  |   69|      0|#define TYPE_DICT               '{'
  ------------------
  |  Branch (1919:13): [True: 0, False: 0]
  ------------------
 1920|      0|            R_REF(v);
  ------------------
  |  | 1652|      0|#define R_REF(O) do{\
  |  | 1653|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1654|      0|        O = r_ref(O, flag, p);\
  |  | 1655|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1921|      0|            if (v == NULL) {
  ------------------
  |  Branch (1921:17): [True: 0, False: 0]
  ------------------
 1922|      0|                break;
 1923|      0|            }
 1924|      0|        }
 1925|      0|        else {
 1926|      0|            idx = r_ref_reserve(flag, p);
 1927|      0|            if (idx < 0) {
  ------------------
  |  Branch (1927:17): [True: 0, False: 0]
  ------------------
 1928|      0|                Py_CLEAR(v);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1929|      0|                break;
 1930|      0|            }
 1931|      0|        }
 1932|      0|        for (;;) {
 1933|      0|            PyObject *key, *val;
 1934|      0|            key = r_object(p);
 1935|      0|            if (key == NULL)
  ------------------
  |  Branch (1935:17): [True: 0, False: 0]
  ------------------
 1936|      0|                break;
 1937|      0|            val = r_object(p);
 1938|      0|            if (val == NULL) {
  ------------------
  |  Branch (1938:17): [True: 0, False: 0]
  ------------------
 1939|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1940|      0|                break;
 1941|      0|            }
 1942|      0|            if (PyDict_SetItem(v, key, val) < 0) {
  ------------------
  |  Branch (1942:17): [True: 0, False: 0]
  ------------------
 1943|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1944|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1945|      0|                break;
 1946|      0|            }
 1947|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1948|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1949|      0|        }
 1950|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1950:13): [True: 0, False: 0]
  ------------------
 1951|      0|            Py_CLEAR(v);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1952|      0|        }
 1953|      0|        if (type == TYPE_FROZENDICT && v != NULL) {
  ------------------
  |  |   70|      0|#define TYPE_FROZENDICT         '}'
  ------------------
  |  Branch (1953:13): [True: 0, False: 0]
  |  Branch (1953:40): [True: 0, False: 0]
  ------------------
 1954|      0|            Py_SETREF(v, PyDict_AsFrozenDictAndClear(v));
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1955|      0|            v = r_ref_insert(v, idx, flag, p);
 1956|      0|        }
 1957|      0|        retval = v;
 1958|      0|        break;
 1959|       |
 1960|      0|    case TYPE_SET:
  ------------------
  |  |   75|      0|#define TYPE_SET                '<'
  ------------------
  |  Branch (1960:5): [True: 0, False: 57.4k]
  ------------------
 1961|     12|    case TYPE_FROZENSET:
  ------------------
  |  |   76|     12|#define TYPE_FROZENSET          '>'
  ------------------
  |  Branch (1961:5): [True: 12, False: 57.4k]
  ------------------
 1962|     12|        n = r_long(p);
 1963|     12|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  236|     12|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1963:13): [True: 0, False: 12]
  |  Branch (1963:22): [True: 0, False: 12]
  ------------------
 1964|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1964:17): [True: 0, False: 0]
  ------------------
 1965|      0|                PyErr_SetString(PyExc_ValueError,
 1966|      0|                    "bad marshal data (set size out of range)");
 1967|      0|            }
 1968|      0|            break;
 1969|      0|        }
 1970|       |
 1971|     12|        if (n == 0 && type == TYPE_FROZENSET) {
  ------------------
  |  |   76|      0|#define TYPE_FROZENSET          '>'
  ------------------
  |  Branch (1971:13): [True: 0, False: 12]
  |  Branch (1971:23): [True: 0, False: 0]
  ------------------
 1972|       |            /* call frozenset() to get the empty frozenset singleton */
 1973|      0|            v = _PyObject_CallNoArgs((PyObject*)&PyFrozenSet_Type);
 1974|      0|            if (v == NULL)
  ------------------
  |  Branch (1974:17): [True: 0, False: 0]
  ------------------
 1975|      0|                break;
 1976|      0|            R_REF(v);
  ------------------
  |  | 1652|      0|#define R_REF(O) do{\
  |  | 1653|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1654|      0|        O = r_ref(O, flag, p);\
  |  | 1655|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1977|      0|            retval = v;
 1978|      0|        }
 1979|     12|        else {
 1980|     12|            v = (type == TYPE_SET) ? PySet_New(NULL) : PyFrozenSet_New(NULL);
  ------------------
  |  |   75|     12|#define TYPE_SET                '<'
  ------------------
  |  Branch (1980:17): [True: 0, False: 12]
  ------------------
 1981|     12|            if (type == TYPE_SET) {
  ------------------
  |  |   75|     12|#define TYPE_SET                '<'
  ------------------
  |  Branch (1981:17): [True: 0, False: 12]
  ------------------
 1982|      0|                R_REF(v);
  ------------------
  |  | 1652|      0|#define R_REF(O) do{\
  |  | 1653|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1654|      0|        O = r_ref(O, flag, p);\
  |  | 1655|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1983|     12|            } else {
 1984|       |                /* must use delayed registration of frozensets because they must
 1985|       |                 * be init with a refcount of 1
 1986|       |                 */
 1987|     12|                idx = r_ref_reserve(flag, p);
 1988|     12|                if (idx < 0)
  ------------------
  |  Branch (1988:21): [True: 0, False: 12]
  ------------------
 1989|      0|                    Py_CLEAR(v); /* signal error */
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1990|     12|            }
 1991|     12|            if (v == NULL)
  ------------------
  |  Branch (1991:17): [True: 0, False: 12]
  ------------------
 1992|      0|                break;
 1993|       |
 1994|     58|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1994:25): [True: 46, False: 12]
  ------------------
 1995|     46|                v2 = r_object(p);
 1996|     46|                if ( v2 == NULL ) {
  ------------------
  |  Branch (1996:22): [True: 0, False: 46]
  ------------------
 1997|      0|                    if (!PyErr_Occurred())
  ------------------
  |  Branch (1997:25): [True: 0, False: 0]
  ------------------
 1998|      0|                        PyErr_SetString(PyExc_TypeError,
 1999|      0|                            "NULL object in marshal data for set");
 2000|      0|                    Py_SETREF(v, NULL);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2001|      0|                    break;
 2002|      0|                }
 2003|     46|                if (PySet_Add(v, v2) == -1) {
  ------------------
  |  Branch (2003:21): [True: 0, False: 46]
  ------------------
 2004|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2005|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2006|      0|                    v = NULL;
 2007|      0|                    break;
 2008|      0|                }
 2009|     46|                Py_DECREF(v2);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2010|     46|            }
 2011|     12|            if (type != TYPE_SET)
  ------------------
  |  |   75|     12|#define TYPE_SET                '<'
  ------------------
  |  Branch (2011:17): [True: 12, False: 0]
  ------------------
 2012|     12|                v = r_ref_insert(v, idx, flag, p);
 2013|     12|            retval = v;
 2014|     12|        }
 2015|     12|        break;
 2016|       |
 2017|  2.41k|    case TYPE_CODE:
  ------------------
  |  |   71|  2.41k|#define TYPE_CODE               'c'
  ------------------
  |  Branch (2017:5): [True: 2.41k, False: 55.0k]
  ------------------
 2018|  2.41k|        {
 2019|  2.41k|            int argcount;
 2020|  2.41k|            int posonlyargcount;
 2021|  2.41k|            int kwonlyargcount;
 2022|  2.41k|            int stacksize;
 2023|  2.41k|            int flags;
 2024|  2.41k|            PyObject *code = NULL;
 2025|  2.41k|            PyObject *consts = NULL;
 2026|  2.41k|            PyObject *names = NULL;
 2027|  2.41k|            PyObject *localsplusnames = NULL;
 2028|  2.41k|            PyObject *localspluskinds = NULL;
 2029|  2.41k|            PyObject *filename = NULL;
 2030|  2.41k|            PyObject *name = NULL;
 2031|  2.41k|            PyObject *qualname = NULL;
 2032|  2.41k|            int firstlineno;
 2033|  2.41k|            PyObject* linetable = NULL;
 2034|  2.41k|            PyObject *exceptiontable = NULL;
 2035|       |
 2036|  2.41k|            if (!p->allow_code) {
  ------------------
  |  Branch (2036:17): [True: 0, False: 2.41k]
  ------------------
 2037|      0|                PyErr_SetString(PyExc_ValueError,
 2038|      0|                                "unmarshalling code objects is disallowed");
 2039|      0|                break;
 2040|      0|            }
 2041|  2.41k|            idx = r_ref_reserve(flag, p);
 2042|  2.41k|            if (idx < 0)
  ------------------
  |  Branch (2042:17): [True: 0, False: 2.41k]
  ------------------
 2043|      0|                break;
 2044|       |
 2045|  2.41k|            v = NULL;
 2046|       |
 2047|       |            /* XXX ignore long->int overflows for now */
 2048|  2.41k|            argcount = (int)r_long(p);
 2049|  2.41k|            if (argcount == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2049:17): [True: 0, False: 2.41k]
  |  Branch (2049:35): [True: 0, False: 0]
  ------------------
 2050|      0|                goto code_error;
 2051|  2.41k|            posonlyargcount = (int)r_long(p);
 2052|  2.41k|            if (posonlyargcount == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (2052:17): [True: 0, False: 2.41k]
  |  Branch (2052:42): [True: 0, False: 0]
  ------------------
 2053|      0|                goto code_error;
 2054|      0|            }
 2055|  2.41k|            kwonlyargcount = (int)r_long(p);
 2056|  2.41k|            if (kwonlyargcount == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2056:17): [True: 0, False: 2.41k]
  |  Branch (2056:41): [True: 0, False: 0]
  ------------------
 2057|      0|                goto code_error;
 2058|  2.41k|            stacksize = (int)r_long(p);
 2059|  2.41k|            if (stacksize == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2059:17): [True: 0, False: 2.41k]
  |  Branch (2059:36): [True: 0, False: 0]
  ------------------
 2060|      0|                goto code_error;
 2061|  2.41k|            flags = (int)r_long(p);
 2062|  2.41k|            if (flags == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2062:17): [True: 0, False: 2.41k]
  |  Branch (2062:32): [True: 0, False: 0]
  ------------------
 2063|      0|                goto code_error;
 2064|  2.41k|            code = r_object(p);
 2065|  2.41k|            if (code == NULL)
  ------------------
  |  Branch (2065:17): [True: 0, False: 2.41k]
  ------------------
 2066|      0|                goto code_error;
 2067|  2.41k|            consts = r_object(p);
 2068|  2.41k|            if (consts == NULL)
  ------------------
  |  Branch (2068:17): [True: 0, False: 2.41k]
  ------------------
 2069|      0|                goto code_error;
 2070|  2.41k|            names = r_object(p);
 2071|  2.41k|            if (names == NULL)
  ------------------
  |  Branch (2071:17): [True: 0, False: 2.41k]
  ------------------
 2072|      0|                goto code_error;
 2073|  2.41k|            localsplusnames = r_object(p);
 2074|  2.41k|            if (localsplusnames == NULL)
  ------------------
  |  Branch (2074:17): [True: 0, False: 2.41k]
  ------------------
 2075|      0|                goto code_error;
 2076|  2.41k|            localspluskinds = r_object(p);
 2077|  2.41k|            if (localspluskinds == NULL)
  ------------------
  |  Branch (2077:17): [True: 0, False: 2.41k]
  ------------------
 2078|      0|                goto code_error;
 2079|  2.41k|            filename = r_object(p);
 2080|  2.41k|            if (filename == NULL)
  ------------------
  |  Branch (2080:17): [True: 0, False: 2.41k]
  ------------------
 2081|      0|                goto code_error;
 2082|  2.41k|            name = r_object(p);
 2083|  2.41k|            if (name == NULL)
  ------------------
  |  Branch (2083:17): [True: 0, False: 2.41k]
  ------------------
 2084|      0|                goto code_error;
 2085|  2.41k|            qualname = r_object(p);
 2086|  2.41k|            if (qualname == NULL)
  ------------------
  |  Branch (2086:17): [True: 0, False: 2.41k]
  ------------------
 2087|      0|                goto code_error;
 2088|  2.41k|            firstlineno = (int)r_long(p);
 2089|  2.41k|            if (firstlineno == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2089:17): [True: 0, False: 2.41k]
  |  Branch (2089:38): [True: 0, False: 0]
  ------------------
 2090|      0|                goto code_error;
 2091|  2.41k|            linetable = r_object(p);
 2092|  2.41k|            if (linetable == NULL)
  ------------------
  |  Branch (2092:17): [True: 0, False: 2.41k]
  ------------------
 2093|      0|                goto code_error;
 2094|  2.41k|            exceptiontable = r_object(p);
 2095|  2.41k|            if (exceptiontable == NULL)
  ------------------
  |  Branch (2095:17): [True: 0, False: 2.41k]
  ------------------
 2096|      0|                goto code_error;
 2097|       |
 2098|  2.41k|            struct _PyCodeConstructor con = {
 2099|  2.41k|                .filename = filename,
 2100|  2.41k|                .name = name,
 2101|  2.41k|                .qualname = qualname,
 2102|  2.41k|                .flags = flags,
 2103|       |
 2104|  2.41k|                .code = code,
 2105|  2.41k|                .firstlineno = firstlineno,
 2106|  2.41k|                .linetable = linetable,
 2107|       |
 2108|  2.41k|                .consts = consts,
 2109|  2.41k|                .names = names,
 2110|       |
 2111|  2.41k|                .localsplusnames = localsplusnames,
 2112|  2.41k|                .localspluskinds = localspluskinds,
 2113|       |
 2114|  2.41k|                .argcount = argcount,
 2115|  2.41k|                .posonlyargcount = posonlyargcount,
 2116|  2.41k|                .kwonlyargcount = kwonlyargcount,
 2117|       |
 2118|  2.41k|                .stacksize = stacksize,
 2119|       |
 2120|  2.41k|                .exceptiontable = exceptiontable,
 2121|  2.41k|            };
 2122|       |
 2123|  2.41k|            if (_PyCode_Validate(&con) < 0) {
  ------------------
  |  Branch (2123:17): [True: 0, False: 2.41k]
  ------------------
 2124|      0|                goto code_error;
 2125|      0|            }
 2126|       |
 2127|  2.41k|            v = (PyObject *)_PyCode_New(&con);
 2128|  2.41k|            if (v == NULL) {
  ------------------
  |  Branch (2128:17): [True: 0, False: 2.41k]
  ------------------
 2129|      0|                goto code_error;
 2130|      0|            }
 2131|       |
 2132|  2.41k|            v = r_ref_insert(v, idx, flag, p);
 2133|       |
 2134|  2.41k|          code_error:
 2135|  2.41k|            if (v == NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (2135:17): [True: 0, False: 2.41k]
  |  Branch (2135:30): [True: 0, False: 0]
  ------------------
 2136|      0|                PyErr_SetString(PyExc_TypeError,
 2137|      0|                    "NULL object in marshal data for code object");
 2138|      0|            }
 2139|  2.41k|            Py_XDECREF(code);
  ------------------
  |  |  621|  2.41k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2140|  2.41k|            Py_XDECREF(consts);
  ------------------
  |  |  621|  2.41k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2141|  2.41k|            Py_XDECREF(names);
  ------------------
  |  |  621|  2.41k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2142|  2.41k|            Py_XDECREF(localsplusnames);
  ------------------
  |  |  621|  2.41k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2143|  2.41k|            Py_XDECREF(localspluskinds);
  ------------------
  |  |  621|  2.41k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2144|  2.41k|            Py_XDECREF(filename);
  ------------------
  |  |  621|  2.41k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2145|  2.41k|            Py_XDECREF(name);
  ------------------
  |  |  621|  2.41k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2146|  2.41k|            Py_XDECREF(qualname);
  ------------------
  |  |  621|  2.41k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2147|  2.41k|            Py_XDECREF(linetable);
  ------------------
  |  |  621|  2.41k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2148|  2.41k|            Py_XDECREF(exceptiontable);
  ------------------
  |  |  621|  2.41k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2149|  2.41k|        }
 2150|      0|        retval = v;
 2151|  2.41k|        break;
 2152|       |
 2153|  25.9k|    case TYPE_REF:
  ------------------
  |  |   98|  25.9k|#define TYPE_REF                'r'
  ------------------
  |  Branch (2153:5): [True: 25.9k, False: 31.5k]
  ------------------
 2154|  25.9k|        n = r_long(p);
 2155|  25.9k|        if (n < 0 || n >= PyList_GET_SIZE(p->refs)) {
  ------------------
  |  |   38|  25.9k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2155:13): [True: 0, False: 25.9k]
  |  Branch (2155:22): [True: 0, False: 25.9k]
  ------------------
 2156|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (2156:17): [True: 0, False: 0]
  ------------------
 2157|      0|                PyErr_SetString(PyExc_ValueError,
 2158|      0|                    "bad marshal data (invalid reference)");
 2159|      0|            }
 2160|      0|            break;
 2161|      0|        }
 2162|  25.9k|        v = PyList_GET_ITEM(p->refs, n);
  ------------------
  |  |   40|  25.9k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  25.9k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2162:13): [True: 25.9k, False: 0]
  ------------------
 2163|  25.9k|        if (v == Py_None) {
  ------------------
  |  |  616|  25.9k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2163:13): [True: 0, False: 25.9k]
  ------------------
 2164|      0|            PyErr_SetString(PyExc_ValueError, "bad marshal data (invalid reference)");
 2165|      0|            break;
 2166|      0|        }
 2167|  25.9k|        retval = Py_NewRef(v);
  ------------------
  |  |  647|  25.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  25.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2168|  25.9k|        break;
 2169|       |
 2170|    127|    case TYPE_SLICE:
  ------------------
  |  |   78|    127|#define TYPE_SLICE              ':'
  ------------------
  |  Branch (2170:5): [True: 127, False: 57.3k]
  ------------------
 2171|    127|    {
 2172|    127|        Py_ssize_t idx = r_ref_reserve(flag, p);
 2173|    127|        if (idx < 0) {
  ------------------
  |  Branch (2173:13): [True: 0, False: 127]
  ------------------
 2174|      0|            break;
 2175|      0|        }
 2176|    127|        PyObject *stop = NULL;
 2177|    127|        PyObject *step = NULL;
 2178|    127|        PyObject *start = r_object(p);
 2179|    127|        if (start == NULL) {
  ------------------
  |  Branch (2179:13): [True: 0, False: 127]
  ------------------
 2180|      0|            goto cleanup;
 2181|      0|        }
 2182|    127|        stop = r_object(p);
 2183|    127|        if (stop == NULL) {
  ------------------
  |  Branch (2183:13): [True: 0, False: 127]
  ------------------
 2184|      0|            goto cleanup;
 2185|      0|        }
 2186|    127|        step = r_object(p);
 2187|    127|        if (step == NULL) {
  ------------------
  |  Branch (2187:13): [True: 0, False: 127]
  ------------------
 2188|      0|            goto cleanup;
 2189|      0|        }
 2190|    127|        retval = PySlice_New(start, stop, step);
 2191|    127|        r_ref_insert(retval, idx, flag, p);
 2192|    127|    cleanup:
 2193|    127|        Py_XDECREF(start);
  ------------------
  |  |  621|    127|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    127|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    127|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2194|    127|        Py_XDECREF(stop);
  ------------------
  |  |  621|    127|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    127|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    127|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2195|    127|        Py_XDECREF(step);
  ------------------
  |  |  621|    127|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    127|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    127|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2196|    127|        break;
 2197|    127|    }
 2198|       |
 2199|      0|    default:
  ------------------
  |  Branch (2199:5): [True: 0, False: 57.4k]
  ------------------
 2200|       |        /* Bogus data got written, which isn't ideal.
 2201|       |           This will let you keep working and recover. */
 2202|      0|        PyErr_SetString(PyExc_ValueError, "bad marshal data (unknown type code)");
 2203|      0|        break;
 2204|       |
 2205|  57.4k|    }
 2206|  57.4k|    p->depth--;
 2207|  57.4k|    return retval;
 2208|  57.4k|}
marshal.c:r_byte:
 1350|  77.7k|{
 1351|  77.7k|    if (p->ptr != NULL) {
  ------------------
  |  Branch (1351:9): [True: 77.7k, False: 0]
  ------------------
 1352|  77.7k|        if (p->ptr < p->end) {
  ------------------
  |  Branch (1352:13): [True: 77.7k, False: 0]
  ------------------
 1353|  77.7k|            return (unsigned char) *p->ptr++;
 1354|  77.7k|        }
 1355|  77.7k|    }
 1356|      0|    else if (!p->readable) {
  ------------------
  |  Branch (1356:14): [True: 0, False: 0]
  ------------------
 1357|      0|        assert(p->fp);
  ------------------
  |  Branch (1357:9): [True: 0, False: 0]
  ------------------
 1358|      0|        int c = getc(p->fp);
 1359|      0|        if (c != EOF) {
  ------------------
  |  Branch (1359:13): [True: 0, False: 0]
  ------------------
 1360|      0|            return c;
 1361|      0|        }
 1362|      0|        int saved_errno = errno;
 1363|      0|        if (PyErr_CheckSignals()) {
  ------------------
  |  Branch (1363:13): [True: 0, False: 0]
  ------------------
 1364|      0|            return EOF;
 1365|      0|        }
 1366|      0|        if (ferror(p->fp)) {
  ------------------
  |  Branch (1366:13): [True: 0, False: 0]
  ------------------
 1367|      0|            errno = saved_errno;
 1368|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1369|      0|            return EOF;
 1370|      0|        }
 1371|      0|    }
 1372|      0|    else {
 1373|      0|        const char *ptr = r_string(1, p);
 1374|      0|        if (ptr != NULL) {
  ------------------
  |  Branch (1374:13): [True: 0, False: 0]
  ------------------
 1375|      0|            return *(const unsigned char *) ptr;
 1376|      0|        }
 1377|      0|        return EOF;
 1378|      0|    }
 1379|      0|    PyErr_SetString(PyExc_EOFError,
 1380|      0|                    "EOF read where not expected");
 1381|       |    return EOF;
 1382|  77.7k|}
marshal.c:r_ref:
 1610|  6.15k|{
 1611|  6.15k|    assert(flag & FLAG_REF);
  ------------------
  |  Branch (1611:5): [True: 6.15k, False: 0]
  ------------------
 1612|  6.15k|    if (o == NULL)
  ------------------
  |  Branch (1612:9): [True: 0, False: 6.15k]
  ------------------
 1613|      0|        return NULL;
 1614|  6.15k|    if (PyList_Append(p->refs, o) < 0) {
  ------------------
  |  Branch (1614:9): [True: 0, False: 6.15k]
  ------------------
 1615|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1616|      0|        return NULL;
 1617|      0|    }
 1618|  6.15k|    return o;
 1619|  6.15k|}
marshal.c:r_PyLong:
 1487|      9|{
 1488|      9|    long n = r_long(p);
 1489|      9|    if (n == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1489:9): [True: 0, False: 9]
  |  Branch (1489:20): [True: 0, False: 0]
  ------------------
 1490|      0|        return NULL;
 1491|      0|    }
 1492|      9|    if (n < -SIZE32_MAX || n > SIZE32_MAX) {
  ------------------
  |  |  236|     18|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
                  if (n < -SIZE32_MAX || n > SIZE32_MAX) {
  ------------------
  |  |  236|      9|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1492:9): [True: 0, False: 9]
  |  Branch (1492:28): [True: 0, False: 9]
  ------------------
 1493|      0|        PyErr_SetString(PyExc_ValueError,
 1494|      0|                       "bad marshal data (long size out of range)");
 1495|      0|        return NULL;
 1496|      0|    }
 1497|       |
 1498|      9|    const PyLongLayout *layout = PyLong_GetNativeLayout();
 1499|      9|    Py_ssize_t marshal_ratio = layout->bits_per_digit/PyLong_MARSHAL_SHIFT;
  ------------------
  |  |  271|      9|#define PyLong_MARSHAL_SHIFT 15
  ------------------
 1500|       |
 1501|       |    /* must be a multiple of PyLong_MARSHAL_SHIFT */
 1502|      9|    assert(layout->bits_per_digit % PyLong_MARSHAL_SHIFT == 0);
  ------------------
  |  Branch (1502:5): [True: 9, False: 0]
  ------------------
 1503|      9|    assert(layout->bits_per_digit >= PyLong_MARSHAL_SHIFT);
  ------------------
  |  Branch (1503:5): [True: 9, False: 0]
  ------------------
 1504|       |
 1505|       |    /* other assumptions on PyLongObject internals */
 1506|      9|    assert(layout->bits_per_digit <= 32);
  ------------------
  |  Branch (1506:5): [True: 9, False: 0]
  ------------------
 1507|      9|    assert(layout->digits_order == -1);
  ------------------
  |  Branch (1507:5): [True: 9, False: 0]
  ------------------
 1508|      9|    assert(layout->digit_endianness == (PY_LITTLE_ENDIAN ? -1 : 1));
  ------------------
  |  Branch (1508:5): [True: 9, Folded]
  |  Branch (1508:5): [True: 9, False: 0]
  ------------------
 1509|      9|    assert(layout->digit_size == 2 || layout->digit_size == 4);
  ------------------
  |  Branch (1509:5): [True: 0, False: 9]
  |  Branch (1509:5): [True: 9, False: 0]
  ------------------
 1510|       |
 1511|      9|    Py_ssize_t size = 1 + (Py_ABS(n) - 1) / marshal_ratio;
  ------------------
  |  |  139|      9|       __extension__ \
  |  |  140|      9|       ({ _Py_TYPEOF (x) _PyABS_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      9|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  141|      9|          _PyABS_x < 0 ? -_PyABS_x : _PyABS_x; })
  |  |  ------------------
  |  |  |  Branch (141:11): [True: 0, False: 9]
  |  |  ------------------
  ------------------
 1512|       |
 1513|      9|    assert(size >= 1);
  ------------------
  |  Branch (1513:5): [True: 9, False: 0]
  ------------------
 1514|       |
 1515|      9|    int shorts_in_top_digit = 1 + (Py_ABS(n) - 1) % marshal_ratio;
  ------------------
  |  |  139|      9|       __extension__ \
  |  |  140|      9|       ({ _Py_TYPEOF (x) _PyABS_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      9|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  141|      9|          _PyABS_x < 0 ? -_PyABS_x : _PyABS_x; })
  |  |  ------------------
  |  |  |  Branch (141:11): [True: 0, False: 9]
  |  |  ------------------
  ------------------
 1516|      9|    void *digits;
 1517|      9|    PyLongWriter *writer = PyLongWriter_Create(n < 0, size, &digits);
 1518|       |
 1519|      9|    if (writer == NULL) {
  ------------------
  |  Branch (1519:9): [True: 0, False: 9]
  ------------------
 1520|      0|        return NULL;
 1521|      0|    }
 1522|       |
 1523|      9|    int ret;
 1524|       |
 1525|      9|    if (layout->digit_size == 4) {
  ------------------
  |  Branch (1525:9): [True: 9, False: 0]
  ------------------
 1526|      9|        ret = _w_digits32(digits, size, marshal_ratio, shorts_in_top_digit, p);
 1527|      9|    }
 1528|      0|    else {
 1529|      0|        ret = _w_digits16(digits, size, marshal_ratio, shorts_in_top_digit, p);
 1530|      0|    }
 1531|      9|    if (ret < 0) {
  ------------------
  |  Branch (1531:9): [True: 0, False: 9]
  ------------------
 1532|      0|        PyLongWriter_Discard(writer);
 1533|      0|        return NULL;
 1534|      0|    }
 1535|      9|    return PyLongWriter_Finish(writer);
 1536|      9|}
marshal.c:r_ref_reserve:
 1571|  8.31k|{
 1572|  8.31k|    if (flag) { /* currently only FLAG_REF is defined */
  ------------------
  |  Branch (1572:9): [True: 643, False: 7.66k]
  ------------------
 1573|    643|        Py_ssize_t idx = PyList_GET_SIZE(p->refs);
  ------------------
  |  |   38|    643|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    643|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    643|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1574|    643|        if (idx >= 0x7ffffffe) {
  ------------------
  |  Branch (1574:13): [True: 0, False: 643]
  ------------------
 1575|      0|            PyErr_SetString(PyExc_ValueError, "bad marshal data (index list too large)");
 1576|      0|            return -1;
 1577|      0|        }
 1578|    643|        if (PyList_Append(p->refs, Py_None) < 0)
  ------------------
  |  |  616|    643|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1578:13): [True: 0, False: 643]
  ------------------
 1579|      0|            return -1;
 1580|    643|        return idx;
 1581|    643|    } else
 1582|  7.66k|        return 0;
 1583|  8.31k|}
marshal.c:r_ref_insert:
 1595|  8.31k|{
 1596|  8.31k|    if (o != NULL && flag) { /* currently only FLAG_REF is defined */
  ------------------
  |  Branch (1596:9): [True: 8.31k, False: 0]
  |  Branch (1596:22): [True: 643, False: 7.66k]
  ------------------
 1597|    643|        PyObject *tmp = PyList_GET_ITEM(p->refs, idx);
  ------------------
  |  |   40|    643|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    643|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    643|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1597:25): [True: 643, False: 0]
  ------------------
 1598|    643|        PyList_SET_ITEM(p->refs, idx, Py_NewRef(o));
  ------------------
  |  |   50|    643|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    643|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    643|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    643|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    643|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1599|    643|        Py_DECREF(tmp);
  ------------------
  |  |  430|    643|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    643|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    643|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1600|    643|    }
 1601|  8.31k|    return o;
 1602|  8.31k|}
marshal.c:marshal_loads_impl:
 2552|     27|{
 2553|     27|    RFILE rf;
 2554|     27|    char *s = bytes->buf;
 2555|     27|    Py_ssize_t n = bytes->len;
 2556|     27|    PyObject* result;
 2557|     27|    rf.allow_code = allow_code;
 2558|     27|    rf.fp = NULL;
 2559|     27|    rf.readable = NULL;
 2560|     27|    rf.ptr = s;
 2561|     27|    rf.end = s + n;
 2562|     27|    rf.depth = 0;
 2563|     27|    if ((rf.refs = PyList_New(0)) == NULL)
  ------------------
  |  Branch (2563:9): [True: 0, False: 27]
  ------------------
 2564|      0|        return NULL;
 2565|     27|    result = read_object(&rf);
 2566|     27|    Py_DECREF(rf.refs);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2567|     27|    return result;
 2568|     27|}
marshal.c:marshal_module_exec:
 2611|      2|{
 2612|      2|    if (PyModule_AddIntConstant(mod, "version", Py_MARSHAL_VERSION) < 0) {
  ------------------
  |  |    9|      2|#define Py_MARSHAL_VERSION 6
  ------------------
  |  Branch (2612:9): [True: 0, False: 2]
  ------------------
 2613|      0|        return -1;
 2614|      0|    }
 2615|      2|    return 0;
 2616|      2|}

Py_BuildValue:
  497|    112|{
  498|    112|    va_list va;
  499|    112|    PyObject* retval;
  500|    112|    va_start(va, format);
  501|    112|    retval = va_build_value(format, va);
  502|       |    va_end(va);
  503|    112|    return retval;
  504|    112|}
_Py_VaBuildStack:
  555|    357|{
  556|    357|    const char *f;
  557|    357|    Py_ssize_t n;
  558|    357|    va_list lva;
  559|    357|    PyObject **stack;
  560|    357|    int res;
  561|       |
  562|    357|    n = countformat(format, '\0');
  563|    357|    if (n < 0) {
  ------------------
  |  Branch (563:9): [True: 0, False: 357]
  ------------------
  564|      0|        *p_nargs = 0;
  565|      0|        return NULL;
  566|      0|    }
  567|       |
  568|    357|    if (n == 0) {
  ------------------
  |  Branch (568:9): [True: 0, False: 357]
  ------------------
  569|      0|        *p_nargs = 0;
  570|      0|        return small_stack;
  571|      0|    }
  572|       |
  573|    357|    if (n <= small_stack_len) {
  ------------------
  |  Branch (573:9): [True: 345, False: 12]
  ------------------
  574|    345|        stack = small_stack;
  575|    345|    }
  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|    357|    va_copy(lva, va);
  585|    357|    f = format;
  586|    357|    res = do_mkstack(stack, &f, &lva, '\0', n);
  587|    357|    va_end(lva);
  588|       |
  589|    357|    if (res < 0) {
  ------------------
  |  Branch (589:9): [True: 0, False: 357]
  ------------------
  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|    357|    *p_nargs = n;
  597|    357|    return stack;
  598|    357|}
PyModule_AddObjectRef:
  603|    796|{
  604|    796|    if (!PyModule_Check(mod)) {
  ------------------
  |  |   12|    796|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|    796|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    796|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    796|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (604:9): [True: 0, False: 796]
  ------------------
  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|    796|    if (!value) {
  ------------------
  |  Branch (610:9): [True: 0, False: 796]
  ------------------
  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|    796|    PyObject *dict = PyModule_GetDict(mod);
  620|    796|    if (dict == NULL) {
  ------------------
  |  Branch (620:9): [True: 0, False: 796]
  ------------------
  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|    796|    return PyDict_SetItemString(dict, name, value);
  627|    796|}
PyModule_Add:
  631|    524|{
  632|    524|    int res = PyModule_AddObjectRef(mod, name, value);
  633|    524|    Py_XDECREF(value);
  ------------------
  |  |  621|    524|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    524|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    524|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    524|    return res;
  635|    524|}
PyModule_AddIntConstant:
  649|    500|{
  650|    500|    return PyModule_Add(m, name, PyLong_FromLong(value));
  651|    500|}
PyModule_AddStringConstant:
  655|      2|{
  656|      2|    return PyModule_Add(m, name, PyUnicode_FromString(value));
  657|      2|}
PyModule_AddType:
  661|     76|{
  662|     76|    if (!_PyType_IsReady(type) && PyType_Ready(type) < 0) {
  ------------------
  |  Branch (662:9): [True: 0, False: 76]
  |  Branch (662:35): [True: 0, False: 0]
  ------------------
  663|      0|        return -1;
  664|      0|    }
  665|       |
  666|     76|    const char *name = _PyType_Name(type);
  667|     76|    assert(name != NULL);
  ------------------
  |  Branch (667:5): [True: 76, False: 0]
  ------------------
  668|       |
  669|     76|    return PyModule_AddObjectRef(module, name, (PyObject *)type);
  670|     76|}
PyABIInfo_Check:
  707|     30|{
  708|     30|    if (!info) {
  ------------------
  |  Branch (708:9): [True: 0, False: 30]
  ------------------
  709|      0|        return _abiinfo_raise(module_name, "NULL PyABIInfo");
  710|      0|    }
  711|       |
  712|       |    /* abiinfo_major_version */
  713|     30|    if (info->abiinfo_major_version == 0) {
  ------------------
  |  Branch (713:9): [True: 0, False: 30]
  ------------------
  714|      0|        return 0;
  715|      0|    }
  716|     30|    if (info->abiinfo_major_version > 1) {
  ------------------
  |  Branch (716:9): [True: 0, False: 30]
  ------------------
  717|      0|        return _abiinfo_raise(module_name, "PyABIInfo version too high");
  718|      0|    }
  719|       |
  720|       |    /* Internal ABI */
  721|     30|    if (info->flags & PyABIInfo_INTERNAL) {
  ------------------
  |  |   97|     30|#define PyABIInfo_INTERNAL      0x0008
  ------------------
  |  Branch (721:9): [True: 30, False: 0]
  ------------------
  722|     30|        if (info->abi_version && (info->abi_version != PY_VERSION_HEX)) {
  ------------------
  |  |   43|     30|#define PY_VERSION_HEX _Py_PACK_FULL_VERSION( \
  |  |  ------------------
  |  |  |  |   34|     30|#define _Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \
  |  |  |  |   35|     30|    (((X) & 0xff) << 24) |                              \
  |  |  |  |   36|     30|    (((Y) & 0xff) << 16) |                              \
  |  |  |  |   37|     30|    (((Z) & 0xff) << 8) |                               \
  |  |  |  |   38|     30|    (((LEVEL) & 0xf) << 4) |                            \
  |  |  |  |   39|     30|    (((SERIAL) & 0xf) << 0))
  |  |  ------------------
  |  |   44|     30|    PY_MAJOR_VERSION,                         \
  |  |   45|     30|    PY_MINOR_VERSION,                         \
  |  |   46|     30|    PY_MICRO_VERSION,                         \
  |  |   47|     30|    PY_RELEASE_LEVEL,                         \
  |  |   48|     30|    PY_RELEASE_SERIAL)
  ------------------
  |  Branch (722:13): [True: 30, False: 0]
  |  Branch (722:34): [True: 0, False: 30]
  ------------------
  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|     30|    }
  729|       |
  730|     30|#define XY_MASK 0xffff0000
  731|     30|    if (info->flags & PyABIInfo_STABLE) {
  ------------------
  |  |   94|     30|#define PyABIInfo_STABLE        0x0001
  ------------------
  |  Branch (731:9): [True: 0, False: 30]
  ------------------
  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)) {
  ------------------
  |  |  326|      0|#define Py_PACK_VERSION _Py_PACK_VERSION
  |  |  ------------------
  |  |  |  |  321|      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|     30|    else {
  755|       |        /* Exact major.minor version check */
  756|     30|        if (info->abi_version) {
  ------------------
  |  Branch (756:13): [True: 30, False: 0]
  ------------------
  757|     30|            if ((info->abi_version & XY_MASK) != (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |  730|     30|#define XY_MASK 0xffff0000
  ------------------
                          if ((info->abi_version & XY_MASK) != (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |   43|     30|#define PY_VERSION_HEX _Py_PACK_FULL_VERSION( \
  |  |  ------------------
  |  |  |  |   34|     30|#define _Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \
  |  |  |  |   35|     30|    (((X) & 0xff) << 24) |                              \
  |  |  |  |   36|     30|    (((Y) & 0xff) << 16) |                              \
  |  |  |  |   37|     30|    (((Z) & 0xff) << 8) |                               \
  |  |  |  |   38|     30|    (((LEVEL) & 0xf) << 4) |                            \
  |  |  |  |   39|     30|    (((SERIAL) & 0xf) << 0))
  |  |  ------------------
  |  |   44|     30|    PY_MAJOR_VERSION,                         \
  |  |   45|     30|    PY_MINOR_VERSION,                         \
  |  |   46|     30|    PY_MICRO_VERSION,                         \
  |  |   47|     30|    PY_RELEASE_LEVEL,                         \
  |  |   48|     30|    PY_RELEASE_SERIAL)
  ------------------
                          if ((info->abi_version & XY_MASK) != (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |  730|     30|#define XY_MASK 0xffff0000
  ------------------
  |  Branch (757:17): [True: 0, False: 30]
  ------------------
  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|     30|        }
  765|     30|    }
  766|     30|#undef XY_MASK
  767|       |
  768|       |    /* Free-threading/GIL */
  769|     30|    uint16_t gilflags = info->flags & (PyABIInfo_GIL | PyABIInfo_FREETHREADED);
  ------------------
  |  |   95|     30|#define PyABIInfo_GIL           0x0002
  ------------------
                  uint16_t gilflags = info->flags & (PyABIInfo_GIL | PyABIInfo_FREETHREADED);
  ------------------
  |  |   96|     30|#define PyABIInfo_FREETHREADED  0x0004
  ------------------
  770|       |#ifdef Py_GIL_DISABLED
  771|       |    if (gilflags == PyABIInfo_GIL) {
  772|       |        return _abiinfo_raise(module_name,
  773|       |                              "incompatible with free-threaded CPython");
  774|       |    }
  775|       |#else
  776|     30|    if (gilflags == PyABIInfo_FREETHREADED) {
  ------------------
  |  |   96|     30|#define PyABIInfo_FREETHREADED  0x0004
  ------------------
  |  Branch (776:9): [True: 0, False: 30]
  ------------------
  777|      0|        return _abiinfo_raise(module_name,
  778|      0|                              "only compatible with free-threaded CPython");
  779|      0|    }
  780|     30|#endif
  781|       |
  782|     30|    return 0;
  783|     30|}
modsupport.c:va_build_value:
  531|    112|{
  532|    112|    const char *f = format;
  533|    112|    Py_ssize_t n = countformat(f, '\0');
  534|    112|    va_list lva;
  535|    112|    PyObject *retval;
  536|       |
  537|    112|    if (n < 0)
  ------------------
  |  Branch (537:9): [True: 0, False: 112]
  ------------------
  538|      0|        return NULL;
  539|    112|    if (n == 0) {
  ------------------
  |  Branch (539:9): [True: 0, False: 112]
  ------------------
  540|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  541|      0|    }
  542|    112|    va_copy(lva, va);
  543|    112|    if (n == 1) {
  ------------------
  |  Branch (543:9): [True: 112, False: 0]
  ------------------
  544|    112|        retval = do_mkvalue(&f, &lva);
  545|    112|    } else {
  546|      0|        retval = do_mktuple(&f, &lva, '\0', n);
  547|      0|    }
  548|       |    va_end(lva);
  549|    112|    return retval;
  550|    112|}
modsupport.c:do_mkvalue:
  287|  3.01k|{
  288|  3.01k|    for (;;) {
  289|  3.01k|        switch (*(*p_format)++) {
  290|    257|        case '(':
  ------------------
  |  Branch (290:9): [True: 257, False: 2.75k]
  ------------------
  291|    257|            return do_mktuple(p_format, p_va, ')',
  292|    257|                              countformat(*p_format, ')'));
  293|       |
  294|      0|        case '[':
  ------------------
  |  Branch (294:9): [True: 0, False: 3.01k]
  ------------------
  295|      0|            return do_mklist(p_format, p_va, ']',
  296|      0|                             countformat(*p_format, ']'));
  297|       |
  298|    129|        case '{':
  ------------------
  |  Branch (298:9): [True: 129, False: 2.88k]
  ------------------
  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: 3.01k]
  ------------------
  303|      0|        case 'B':
  ------------------
  |  Branch (303:9): [True: 0, False: 3.01k]
  ------------------
  304|      0|        case 'h':
  ------------------
  |  Branch (304:9): [True: 0, False: 3.01k]
  ------------------
  305|    314|        case 'i':
  ------------------
  |  Branch (305:9): [True: 314, False: 2.69k]
  ------------------
  306|    314|            return PyLong_FromLong((long)va_arg(*p_va, int));
  307|       |
  308|      0|        case 'H':
  ------------------
  |  Branch (308:9): [True: 0, False: 3.01k]
  ------------------
  309|      0|            return PyLong_FromLong((long)va_arg(*p_va, unsigned int));
  310|       |
  311|      0|        case 'I':
  ------------------
  |  Branch (311:9): [True: 0, False: 3.01k]
  ------------------
  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|     84|        case 'n':
  ------------------
  |  Branch (318:9): [True: 84, False: 2.92k]
  ------------------
  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|     84|            _Py_FALLTHROUGH;
  ------------------
  |  |  667|     84|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  324|     84|        case 'l':
  ------------------
  |  Branch (324:9): [True: 0, False: 3.01k]
  ------------------
  325|     84|            return PyLong_FromLong(va_arg(*p_va, long));
  326|       |
  327|      0|        case 'k':
  ------------------
  |  Branch (327:9): [True: 0, False: 3.01k]
  ------------------
  328|      0|        {
  329|      0|            unsigned long n;
  330|      0|            n = va_arg(*p_va, unsigned long);
  331|      0|            return PyLong_FromUnsignedLong(n);
  332|     84|        }
  333|       |
  334|      0|        case 'L':
  ------------------
  |  Branch (334:9): [True: 0, False: 3.01k]
  ------------------
  335|      0|            return PyLong_FromLongLong((long long)va_arg(*p_va, long long));
  336|       |
  337|      0|        case 'K':
  ------------------
  |  Branch (337:9): [True: 0, False: 3.01k]
  ------------------
  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: 3.01k]
  ------------------
  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);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _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|     84|        }
  362|      0|        case 'f':
  ------------------
  |  Branch (362:9): [True: 0, False: 3.01k]
  ------------------
  363|      0|        case 'd':
  ------------------
  |  Branch (363:9): [True: 0, False: 3.01k]
  ------------------
  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: 3.01k]
  ------------------
  368|      0|            return PyComplex_FromCComplex(
  369|      0|                *((Py_complex *)va_arg(*p_va, Py_complex *)));
  370|       |
  371|      0|        case 'c':
  ------------------
  |  Branch (371:9): [True: 0, False: 3.01k]
  ------------------
  372|      0|        {
  373|      0|            char p[1];
  374|      0|            p[0] = (char)va_arg(*p_va, int);
  375|      0|            return PyBytes_FromStringAndSize(p, 1);
  376|      0|        }
  377|      0|        case 'C':
  ------------------
  |  Branch (377:9): [True: 0, False: 3.01k]
  ------------------
  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: 3.01k]
  ------------------
  383|      0|        {
  384|      0|            int i = va_arg(*p_va, int);
  385|      0|            return PyBool_FromLong(i);
  386|      0|        }
  387|       |
  388|    358|        case 's':
  ------------------
  |  Branch (388:9): [True: 358, False: 2.65k]
  ------------------
  389|    366|        case 'z':
  ------------------
  |  Branch (389:9): [True: 8, False: 3.00k]
  ------------------
  390|    366|        case 'U':   /* XXX deprecated alias */
  ------------------
  |  Branch (390:9): [True: 0, False: 3.01k]
  ------------------
  391|    366|        {
  392|    366|            PyObject *v;
  393|    366|            const char *str = va_arg(*p_va, const char *);
  394|    366|            Py_ssize_t n;
  395|    366|            if (**p_format == '#') {
  ------------------
  |  Branch (395:17): [True: 0, False: 366]
  ------------------
  396|      0|                ++*p_format;
  397|      0|                n = va_arg(*p_va, Py_ssize_t);
  398|      0|            }
  399|    366|            else
  400|    366|                n = -1;
  401|    366|            if (str == NULL) {
  ------------------
  |  Branch (401:17): [True: 0, False: 366]
  ------------------
  402|      0|                v = Py_NewRef(Py_None);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _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|    366|            else {
  405|    366|                if (n < 0) {
  ------------------
  |  Branch (405:21): [True: 366, False: 0]
  ------------------
  406|    366|                    size_t m = strlen(str);
  407|    366|                    if (m > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|    366|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (407:25): [True: 0, False: 366]
  ------------------
  408|      0|                        PyErr_SetString(PyExc_OverflowError,
  409|      0|                            "string too long for Python string");
  410|      0|                        return NULL;
  411|      0|                    }
  412|    366|                    n = (Py_ssize_t)m;
  413|    366|                }
  414|    366|                v = PyUnicode_FromStringAndSize(str, n);
  415|    366|            }
  416|    366|            return v;
  417|    366|        }
  418|       |
  419|      6|        case 'y':
  ------------------
  |  Branch (419:9): [True: 6, False: 3.00k]
  ------------------
  420|      6|        {
  421|      6|            PyObject *v;
  422|      6|            const char *str = va_arg(*p_va, const char *);
  423|      6|            Py_ssize_t n;
  424|      6|            if (**p_format == '#') {
  ------------------
  |  Branch (424:17): [True: 6, False: 0]
  ------------------
  425|      6|                ++*p_format;
  426|      6|                n = va_arg(*p_va, Py_ssize_t);
  427|      6|            }
  428|      0|            else
  429|      0|                n = -1;
  430|      6|            if (str == NULL) {
  ------------------
  |  Branch (430:17): [True: 0, False: 6]
  ------------------
  431|      0|                v = Py_NewRef(Py_None);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _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|      6|            else {
  434|      6|                if (n < 0) {
  ------------------
  |  Branch (434:21): [True: 0, False: 6]
  ------------------
  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|      6|                v = PyBytes_FromStringAndSize(str, n);
  444|      6|            }
  445|      6|            return v;
  446|      6|        }
  447|       |
  448|     60|        case 'N':
  ------------------
  |  Branch (448:9): [True: 60, False: 2.95k]
  ------------------
  449|     60|        case 'S':
  ------------------
  |  Branch (449:9): [True: 0, False: 3.01k]
  ------------------
  450|  1.85k|        case 'O':
  ------------------
  |  Branch (450:9): [True: 1.79k, False: 1.21k]
  ------------------
  451|  1.85k|        if (**p_format == '&') {
  ------------------
  |  Branch (451:13): [True: 0, False: 1.85k]
  ------------------
  452|      0|            typedef PyObject *(*converter)(void *);
  453|      0|            converter func = va_arg(*p_va, converter);
  454|      0|            void *arg = va_arg(*p_va, void *);
  455|      0|            ++*p_format;
  456|      0|            return (*func)(arg);
  457|      0|        }
  458|  1.85k|        else {
  459|  1.85k|            PyObject *v;
  460|  1.85k|            v = va_arg(*p_va, PyObject *);
  461|  1.85k|            if (v != NULL) {
  ------------------
  |  Branch (461:17): [True: 1.85k, False: 0]
  ------------------
  462|  1.85k|                if (*(*p_format - 1) != 'N')
  ------------------
  |  Branch (462:21): [True: 1.79k, False: 60]
  ------------------
  463|  1.79k|                    Py_INCREF(v);
  ------------------
  |  |  310|  1.79k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  464|  1.85k|            }
  465|      0|            else if (!PyErr_Occurred())
  ------------------
  |  Branch (465:22): [True: 0, False: 0]
  ------------------
  466|       |                /* If a NULL was passed
  467|       |                 * because a call that should
  468|       |                 * have constructed a value
  469|       |                 * failed, that's OK, and we
  470|       |                 * pass the error on; but if
  471|       |                 * no error occurred it's not
  472|       |                 * clear that the caller knew
  473|       |                 * what she was doing. */
  474|      0|                PyErr_SetString(PyExc_SystemError,
  475|      0|                    "NULL object passed to Py_BuildValue");
  476|  1.85k|            return v;
  477|  1.85k|        }
  478|       |
  479|      0|        case ':':
  ------------------
  |  Branch (479:9): [True: 0, False: 3.01k]
  ------------------
  480|      0|        case ',':
  ------------------
  |  Branch (480:9): [True: 0, False: 3.01k]
  ------------------
  481|      0|        case ' ':
  ------------------
  |  Branch (481:9): [True: 0, False: 3.01k]
  ------------------
  482|      0|        case '\t':
  ------------------
  |  Branch (482:9): [True: 0, False: 3.01k]
  ------------------
  483|      0|            break;
  484|       |
  485|      0|        default:
  ------------------
  |  Branch (485:9): [True: 0, False: 3.01k]
  ------------------
  486|      0|            PyErr_SetString(PyExc_SystemError,
  487|      0|                "bad format char passed to Py_BuildValue");
  488|      0|            return NULL;
  489|       |
  490|  3.01k|        }
  491|  3.01k|    }
  492|  3.01k|}
modsupport.c:check_end:
  107|    743|{
  108|    743|    const char *f = *p_format;
  109|    743|    while (*f != endchar) {
  ------------------
  |  Branch (109:12): [True: 0, False: 743]
  ------------------
  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|    743|    if (endchar) {
  ------------------
  |  Branch (117:9): [True: 386, False: 357]
  ------------------
  118|    386|        f++;
  119|    386|    }
  120|    743|    *p_format = f;
  121|    743|    return 1;
  122|    743|}
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);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) 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|    257|{
  259|    257|    PyObject *v;
  260|    257|    Py_ssize_t i;
  261|    257|    if (n < 0)
  ------------------
  |  Branch (261:9): [True: 0, False: 257]
  ------------------
  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|    257|    if ((v = PyTuple_New(n)) == NULL) {
  ------------------
  |  Branch (265:9): [True: 0, False: 257]
  ------------------
  266|      0|        do_ignore(p_format, p_va, endchar, n);
  267|      0|        return NULL;
  268|      0|    }
  269|    862|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (269:17): [True: 605, False: 257]
  ------------------
  270|    605|        PyObject *w = do_mkvalue(p_format, p_va);
  271|    605|        if (w == NULL) {
  ------------------
  |  Branch (271:13): [True: 0, False: 605]
  ------------------
  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|    605|        PyTuple_SET_ITEM(v, i, w);
  ------------------
  |  |   40|    605|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    605|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    605|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    605|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    605|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  277|    605|    }
  278|    257|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (278:9): [True: 0, False: 257]
  ------------------
  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|    257|    return v;
  283|    257|}
modsupport.c:countformat:
   55|    855|{
   56|    855|    Py_ssize_t count = 0;
   57|    855|    int level = 0;
   58|  5.99k|    while (level > 0 || *format != endchar) {
  ------------------
  |  Branch (58:12): [True: 2.12k, False: 3.87k]
  |  Branch (58:25): [True: 3.01k, False: 855]
  ------------------
   59|  5.13k|        switch (*format) {
   60|      0|        case '\0':
  ------------------
  |  Branch (60:9): [True: 0, False: 5.13k]
  ------------------
   61|       |            /* Premature end */
   62|      0|            PyErr_SetString(PyExc_SystemError,
   63|      0|                            "unmatched paren in format");
   64|      0|            return -1;
   65|    275|        case '(':
  ------------------
  |  Branch (65:9): [True: 275, False: 4.86k]
  ------------------
   66|    275|        case '[':
  ------------------
  |  Branch (66:9): [True: 0, False: 5.13k]
  ------------------
   67|    404|        case '{':
  ------------------
  |  Branch (67:9): [True: 129, False: 5.00k]
  ------------------
   68|    404|            if (level == 0) {
  ------------------
  |  Branch (68:17): [True: 386, False: 18]
  ------------------
   69|    386|                count++;
   70|    386|            }
   71|    404|            level++;
   72|    404|            break;
   73|    275|        case ')':
  ------------------
  |  Branch (73:9): [True: 275, False: 4.86k]
  ------------------
   74|    275|        case ']':
  ------------------
  |  Branch (74:9): [True: 0, False: 5.13k]
  ------------------
   75|    404|        case '}':
  ------------------
  |  Branch (75:9): [True: 129, False: 5.00k]
  ------------------
   76|    404|            level--;
   77|    404|            break;
   78|      6|        case '#':
  ------------------
  |  Branch (78:9): [True: 6, False: 5.13k]
  ------------------
   79|      6|        case '&':
  ------------------
  |  Branch (79:9): [True: 0, False: 5.13k]
  ------------------
   80|      6|        case ',':
  ------------------
  |  Branch (80:9): [True: 0, False: 5.13k]
  ------------------
   81|      6|        case ':':
  ------------------
  |  Branch (81:9): [True: 0, False: 5.13k]
  ------------------
   82|      6|        case ' ':
  ------------------
  |  Branch (82:9): [True: 0, False: 5.13k]
  ------------------
   83|      6|        case '\t':
  ------------------
  |  Branch (83:9): [True: 0, False: 5.13k]
  ------------------
   84|      6|            break;
   85|  4.32k|        default:
  ------------------
  |  Branch (85:9): [True: 4.32k, False: 814]
  ------------------
   86|  4.32k|            if (level == 0) {
  ------------------
  |  Branch (86:17): [True: 2.62k, False: 1.69k]
  ------------------
   87|  2.62k|                count++;
   88|  2.62k|            }
   89|  5.13k|        }
   90|  5.13k|        format++;
   91|  5.13k|    }
   92|    855|    return count;
   93|    855|}
modsupport.c:do_mkstack:
  227|    357|{
  228|    357|    Py_ssize_t i;
  229|       |
  230|    357|    if (n < 0) {
  ------------------
  |  Branch (230:9): [True: 0, False: 357]
  ------------------
  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|  1.64k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (235:17): [True: 1.29k, False: 357]
  ------------------
  236|  1.29k|        PyObject *w = do_mkvalue(p_format, p_va);
  237|  1.29k|        if (w == NULL) {
  ------------------
  |  Branch (237:13): [True: 0, False: 1.29k]
  ------------------
  238|      0|            do_ignore(p_format, p_va, endchar, n - i - 1);
  239|      0|            goto error;
  240|      0|        }
  241|  1.29k|        stack[i] = w;
  242|  1.29k|    }
  243|    357|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (243:9): [True: 0, False: 357]
  ------------------
  244|      0|        goto error;
  245|      0|    }
  246|    357|    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|    357|}

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

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

_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:
  292|      2|{
  293|      2|    wchar_t *stdlib_dir = _Py_path_config.stdlib_dir;
  294|      2|    if (stdlib_dir != NULL && stdlib_dir[0] != L'\0') {
  ------------------
  |  Branch (294:9): [True: 2, False: 0]
  |  Branch (294:31): [True: 2, False: 0]
  ------------------
  295|      2|        return stdlib_dir;
  296|      2|    }
  297|      0|    return NULL;
  298|      2|}

_Py_ClearFileSystemEncoding:
   35|      2|{
   36|      2|    if (!Py_HasFileSystemDefaultEncoding && Py_FileSystemDefaultEncoding) {
  ------------------
  |  Branch (36:9): [True: 2, False: 0]
  |  Branch (36:45): [True: 0, False: 2]
  ------------------
   37|      0|        PyMem_RawFree((char*)Py_FileSystemDefaultEncoding);
   38|      0|        Py_FileSystemDefaultEncoding = NULL;
   39|      0|    }
   40|      2|    if (!_Py_HasFileSystemDefaultEncodeErrors && Py_FileSystemDefaultEncodeErrors) {
  ------------------
  |  Branch (40:9): [True: 2, False: 0]
  |  Branch (40:50): [True: 0, False: 2]
  ------------------
   41|      0|        PyMem_RawFree((char*)Py_FileSystemDefaultEncodeErrors);
   42|       |        Py_FileSystemDefaultEncodeErrors = NULL;
   43|      0|    }
   44|      2|}
_Py_SetFileSystemEncoding:
   54|      2|{
   55|      2|    char *encoding2 = _PyMem_RawStrdup(encoding);
   56|      2|    if (encoding2 == NULL) {
  ------------------
  |  Branch (56:9): [True: 0, False: 2]
  ------------------
   57|      0|        return -1;
   58|      0|    }
   59|       |
   60|      2|    char *errors2 = _PyMem_RawStrdup(errors);
   61|      2|    if (errors2 == NULL) {
  ------------------
  |  Branch (61:9): [True: 0, False: 2]
  ------------------
   62|      0|        PyMem_RawFree(encoding2);
   63|      0|        return -1;
   64|      0|    }
   65|       |
   66|      2|    _Py_ClearFileSystemEncoding();
   67|       |
   68|      2|    Py_FileSystemDefaultEncoding = encoding2;
   69|      2|    Py_HasFileSystemDefaultEncoding = 0;
   70|       |
   71|      2|    Py_FileSystemDefaultEncodeErrors = errors2;
   72|      2|    _Py_HasFileSystemDefaultEncodeErrors = 0;
   73|      2|    return 0;
   74|      2|}
_PyArgv_AsWstrList:
   82|      4|{
   83|      4|    PyWideStringList wargv = _PyWideStringList_INIT;
  ------------------
  |  |   53|      4|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
   84|      4|    if (args->use_bytes_argv) {
  ------------------
  |  Branch (84:9): [True: 0, False: 4]
  ------------------
   85|      0|        size_t size = sizeof(wchar_t*) * args->argc;
   86|      0|        wargv.items = (wchar_t **)PyMem_RawMalloc(size);
   87|      0|        if (wargv.items == NULL) {
  ------------------
  |  Branch (87:13): [True: 0, False: 0]
  ------------------
   88|      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)}
  |  |  ------------------
  ------------------
   89|      0|        }
   90|       |
   91|      0|        for (Py_ssize_t i = 0; i < args->argc; i++) {
  ------------------
  |  Branch (91:32): [True: 0, False: 0]
  ------------------
   92|      0|            size_t len;
   93|      0|            wchar_t *arg = Py_DecodeLocale(args->bytes_argv[i], &len);
   94|      0|            if (arg == NULL) {
  ------------------
  |  Branch (94:17): [True: 0, False: 0]
  ------------------
   95|      0|                _PyWideStringList_Clear(&wargv);
   96|      0|                return DECODE_LOCALE_ERR("command line arguments", len);
  ------------------
  |  |  184|      0|    ((LEN) == (size_t)-2) \
  |  |  ------------------
  |  |  |  Branch (184:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  185|      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)}
  |  |  ------------------
  |  |  186|      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)}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   97|      0|            }
   98|      0|            wargv.items[i] = arg;
   99|      0|            wargv.length++;
  100|      0|        }
  101|       |
  102|      0|        _PyWideStringList_Clear(list);
  103|      0|        *list = wargv;
  104|      0|    }
  105|      4|    else {
  106|      4|        wargv.length = args->argc;
  107|      4|        wargv.items = (wchar_t **)args->wchar_argv;
  108|      4|        if (_PyWideStringList_Copy(list, &wargv) < 0) {
  ------------------
  |  Branch (108:13): [True: 0, False: 4]
  ------------------
  109|      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)}
  |  |  ------------------
  ------------------
  110|      0|        }
  111|      4|    }
  112|      4|    return _PyStatus_OK();
  ------------------
  |  |   24|      4|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  113|      4|}
_PyPreCmdline_Clear:
  120|      4|{
  121|      4|    _PyWideStringList_Clear(&cmdline->argv);
  122|      4|    _PyWideStringList_Clear(&cmdline->xoptions);
  123|      4|}
_PyPreCmdline_SetArgv:
  128|      4|{
  129|      4|    return _PyArgv_AsWstrList(args, &cmdline->argv);
  130|      4|}
_PyPreCmdline_SetConfig:
  165|      2|{
  166|      2|#define COPY_ATTR(ATTR) \
  167|      2|    config->ATTR = cmdline->ATTR
  168|       |
  169|      2|    PyStatus status = _PyWideStringList_Extend(&config->xoptions, &cmdline->xoptions);
  170|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  171|      0|        return status;
  172|      0|    }
  173|       |
  174|      2|    COPY_ATTR(isolated);
  ------------------
  |  |  167|      2|    config->ATTR = cmdline->ATTR
  ------------------
  175|      2|    COPY_ATTR(use_environment);
  ------------------
  |  |  167|      2|    config->ATTR = cmdline->ATTR
  ------------------
  176|      2|    COPY_ATTR(dev_mode);
  ------------------
  |  |  167|      2|    config->ATTR = cmdline->ATTR
  ------------------
  177|      2|    COPY_ATTR(warn_default_encoding);
  ------------------
  |  |  167|      2|    config->ATTR = cmdline->ATTR
  ------------------
  178|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  179|       |
  180|      2|#undef COPY_ATTR
  181|      2|}
_PyPreCmdline_Read:
  233|      6|{
  234|      6|    precmdline_get_preconfig(cmdline, preconfig);
  235|       |
  236|      6|    if (preconfig->parse_argv) {
  ------------------
  |  Branch (236:9): [True: 6, False: 0]
  ------------------
  237|      6|        PyStatus status = precmdline_parse_cmdline(cmdline);
  238|      6|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      6|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 6]
  |  |  ------------------
  ------------------
  239|      0|            return status;
  240|      0|        }
  241|      6|    }
  242|       |
  243|       |    /* isolated, use_environment */
  244|      6|    if (cmdline->isolated < 0) {
  ------------------
  |  Branch (244:9): [True: 0, False: 6]
  ------------------
  245|      0|        cmdline->isolated = 0;
  246|      0|    }
  247|      6|    if (cmdline->isolated > 0) {
  ------------------
  |  Branch (247:9): [True: 0, False: 6]
  ------------------
  248|      0|        cmdline->use_environment = 0;
  249|      0|    }
  250|      6|    if (cmdline->use_environment < 0) {
  ------------------
  |  Branch (250:9): [True: 0, False: 6]
  ------------------
  251|      0|        cmdline->use_environment = 0;
  252|      0|    }
  253|       |
  254|       |    /* dev_mode */
  255|      6|    if ((cmdline->dev_mode < 0)
  ------------------
  |  Branch (255:9): [True: 2, False: 4]
  ------------------
  256|      2|        && (_Py_get_xoption(&cmdline->xoptions, L"dev")
  ------------------
  |  Branch (256:13): [True: 0, False: 2]
  ------------------
  257|      2|            || _Py_GetEnv(cmdline->use_environment, "PYTHONDEVMODE")))
  ------------------
  |  Branch (257:16): [True: 0, False: 2]
  ------------------
  258|      0|    {
  259|      0|        cmdline->dev_mode = 1;
  260|      0|    }
  261|      6|    if (cmdline->dev_mode < 0) {
  ------------------
  |  Branch (261:9): [True: 2, False: 4]
  ------------------
  262|      2|        cmdline->dev_mode = 0;
  263|      2|    }
  264|       |
  265|       |    // warn_default_encoding
  266|      6|    if (_Py_get_xoption(&cmdline->xoptions, L"warn_default_encoding")
  ------------------
  |  Branch (266:9): [True: 0, False: 6]
  ------------------
  267|      6|            || _Py_GetEnv(cmdline->use_environment, "PYTHONWARNDEFAULTENCODING"))
  ------------------
  |  Branch (267:16): [True: 0, False: 6]
  ------------------
  268|      0|    {
  269|      0|        cmdline->warn_default_encoding = 1;
  270|      0|    }
  271|       |
  272|      6|    assert(cmdline->use_environment >= 0);
  ------------------
  |  Branch (272:5): [True: 6, False: 0]
  ------------------
  273|      6|    assert(cmdline->isolated >= 0);
  ------------------
  |  Branch (273:5): [True: 6, False: 0]
  ------------------
  274|      6|    assert(cmdline->dev_mode >= 0);
  ------------------
  |  Branch (274:5): [True: 6, False: 0]
  ------------------
  275|      6|    assert(cmdline->warn_default_encoding >= 0);
  ------------------
  |  Branch (275:5): [True: 6, False: 0]
  ------------------
  276|       |
  277|      6|    return _PyStatus_OK();
  ------------------
  |  |   24|      6|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  278|      6|}
_PyPreConfig_InitCompatConfig:
  286|     12|{
  287|     12|    memset(config, 0, sizeof(*config));
  288|       |
  289|     12|    config->_config_init = (int)_PyConfig_INIT_COMPAT;
  290|     12|    config->parse_argv = 0;
  291|     12|    config->isolated = -1;
  292|     12|    config->use_environment = -1;
  293|     12|    config->configure_locale = 1;
  294|       |
  295|       |    /* gh-80624: C locale coercion (PEP 538) is disabled by default using
  296|       |       the Compat configuration.
  297|       |
  298|       |       Py_UTF8Mode=0 disables the UTF-8 mode. PYTHONUTF8 environment variable
  299|       |       is ignored (even if use_environment=1). */
  300|     12|    config->utf8_mode = 1;
  301|     12|    config->coerce_c_locale = 0;
  302|     12|    config->coerce_c_locale_warn = 0;
  303|       |
  304|     12|    config->dev_mode = -1;
  305|     12|    config->allocator = PYMEM_ALLOCATOR_NOT_SET;
  306|       |#ifdef MS_WINDOWS
  307|       |    config->legacy_windows_fs_encoding = -1;
  308|       |#endif
  309|     12|}
PyPreConfig_InitPythonConfig:
  314|     12|{
  315|     12|    _PyPreConfig_InitCompatConfig(config);
  316|       |
  317|     12|    config->_config_init = (int)_PyConfig_INIT_PYTHON;
  318|     12|    config->isolated = 0;
  319|     12|    config->parse_argv = 1;
  320|     12|    config->use_environment = 1;
  321|       |    /* Set to -1 to enable C locale coercion (PEP 538) depending on
  322|       |       the LC_CTYPE locale, PYTHONUTF8 and PYTHONCOERCECLOCALE
  323|       |       environment variables. */
  324|     12|    config->coerce_c_locale = -1;
  325|     12|    config->coerce_c_locale_warn = -1;
  326|     12|    config->utf8_mode = -1;
  327|       |#ifdef MS_WINDOWS
  328|       |    config->legacy_windows_fs_encoding = 0;
  329|       |#endif
  330|     12|}
_PyPreConfig_InitFromPreConfig:
  353|      8|{
  354|      8|    PyPreConfig_InitPythonConfig(config);
  355|      8|    preconfig_copy(config, config2);
  356|      8|    return _PyStatus_OK();
  ------------------
  |  |   24|      8|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  357|      8|}
_PyPreConfig_InitFromConfig:
  362|      2|{
  363|      2|    _PyConfigInitEnum config_init = (_PyConfigInitEnum)config->_config_init;
  364|      2|    switch (config_init) {
  365|      2|    case _PyConfig_INIT_PYTHON:
  ------------------
  |  Branch (365:5): [True: 2, False: 0]
  ------------------
  366|      2|        PyPreConfig_InitPythonConfig(preconfig);
  367|      2|        break;
  368|      0|    case _PyConfig_INIT_ISOLATED:
  ------------------
  |  Branch (368:5): [True: 0, False: 2]
  ------------------
  369|      0|        PyPreConfig_InitIsolatedConfig(preconfig);
  370|      0|        break;
  371|      0|    case _PyConfig_INIT_COMPAT:
  ------------------
  |  Branch (371:5): [True: 0, False: 2]
  ------------------
  372|      0|    default:
  ------------------
  |  Branch (372:5): [True: 0, False: 2]
  ------------------
  373|      0|        _PyPreConfig_InitCompatConfig(preconfig);
  374|      2|    }
  375|       |
  376|      2|    _PyPreConfig_GetConfig(preconfig, config);
  377|      2|}
_PyPreConfig_GetConfig:
  451|      4|{
  452|      4|#define COPY_ATTR(ATTR) \
  453|      4|    if (config->ATTR != -1) { \
  454|      4|        preconfig->ATTR = config->ATTR; \
  455|      4|    }
  456|       |
  457|      4|    COPY_ATTR(parse_argv);
  ------------------
  |  |  453|      4|    if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (453:9): [True: 4, False: 0]
  |  |  ------------------
  |  |  454|      4|        preconfig->ATTR = config->ATTR; \
  |  |  455|      4|    }
  ------------------
  458|      4|    COPY_ATTR(isolated);
  ------------------
  |  |  453|      4|    if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (453:9): [True: 4, False: 0]
  |  |  ------------------
  |  |  454|      4|        preconfig->ATTR = config->ATTR; \
  |  |  455|      4|    }
  ------------------
  459|      4|    COPY_ATTR(use_environment);
  ------------------
  |  |  453|      4|    if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (453:9): [True: 4, False: 0]
  |  |  ------------------
  |  |  454|      4|        preconfig->ATTR = config->ATTR; \
  |  |  455|      4|    }
  ------------------
  460|      4|    COPY_ATTR(dev_mode);
  ------------------
  |  |  453|      4|    if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (453:9): [True: 2, False: 2]
  |  |  ------------------
  |  |  454|      2|        preconfig->ATTR = config->ATTR; \
  |  |  455|      2|    }
  ------------------
  461|       |
  462|      4|#undef COPY_ATTR
  463|      4|}
_Py_GetEnv:
  491|     72|{
  492|     72|    assert(use_environment >= 0);
  ------------------
  |  Branch (492:5): [True: 72, False: 0]
  ------------------
  493|       |
  494|     72|    if (!use_environment) {
  ------------------
  |  Branch (494:9): [True: 0, False: 72]
  ------------------
  495|      0|        return NULL;
  496|      0|    }
  497|       |
  498|     72|    const char *var = getenv(name);
  499|     72|    if (var && var[0] != '\0') {
  ------------------
  |  Branch (499:9): [True: 0, False: 72]
  |  Branch (499:16): [True: 0, False: 0]
  ------------------
  500|      0|        return var;
  501|      0|    }
  502|     72|    else {
  503|       |        return NULL;
  504|     72|    }
  505|     72|}
_Py_get_env_flag:
  528|     12|{
  529|     12|    const char *var = _Py_GetEnv(use_environment, name);
  530|     12|    if (!var) {
  ------------------
  |  Branch (530:9): [True: 12, False: 0]
  ------------------
  531|     12|        return;
  532|     12|    }
  533|      0|    int value;
  534|      0|    if (_Py_str_to_int(var, &value) < 0 || value < 0) {
  ------------------
  |  Branch (534:9): [True: 0, False: 0]
  |  Branch (534:44): [True: 0, False: 0]
  ------------------
  535|       |        /* PYTHONDEBUG=text and PYTHONDEBUG=-2 behave as PYTHONDEBUG=1 */
  536|      0|        value = 1;
  537|      0|    }
  538|      0|    if (*flag < value) {
  ------------------
  |  Branch (538:9): [True: 0, False: 0]
  ------------------
  539|      0|        *flag = value;
  540|      0|    }
  541|      0|}
_Py_get_xoption:
  546|     44|{
  547|     44|    for (Py_ssize_t i=0; i < xoptions->length; i++) {
  ------------------
  |  Branch (547:26): [True: 0, False: 44]
  ------------------
  548|      0|        const wchar_t *option = xoptions->items[i];
  549|      0|        size_t len;
  550|      0|        const wchar_t *sep = wcschr(option, L'=');
  551|      0|        if (sep != NULL) {
  ------------------
  |  Branch (551:13): [True: 0, False: 0]
  ------------------
  552|      0|            len = (sep - option);
  553|      0|        }
  554|      0|        else {
  555|      0|            len = wcslen(option);
  556|      0|        }
  557|      0|        if (wcsncmp(option, name, len) == 0 && name[len] == L'\0') {
  ------------------
  |  Branch (557:13): [True: 0, False: 0]
  |  Branch (557:48): [True: 0, False: 0]
  ------------------
  558|      0|            return option;
  559|      0|        }
  560|      0|    }
  561|     44|    return NULL;
  562|     44|}
_PyPreConfig_Read:
  746|      2|{
  747|      2|    PyStatus status;
  748|       |
  749|      2|    status = _PyRuntime_Initialize();
  750|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  751|      0|        return status;
  752|      0|    }
  753|       |
  754|      2|    preconfig_get_global_var(config);
  755|      2|    if (config->use_environment < 0) {
  ------------------
  |  Branch (755:9): [True: 0, False: 2]
  ------------------
  756|      0|        config->use_environment = 1;
  757|      0|    }
  758|      2|    if (config->isolated < 0) {
  ------------------
  |  Branch (758:9): [True: 0, False: 2]
  ------------------
  759|      0|        config->isolated = 0;
  760|      0|    }
  761|       |#ifdef MS_WINDOWS
  762|       |    if (config->legacy_windows_fs_encoding < 0) {
  763|       |        config->legacy_windows_fs_encoding = 0;
  764|       |    }
  765|       |#endif
  766|       |
  767|       |    /* Copy LC_CTYPE locale, since it's modified later */
  768|      2|    const char *loc = setlocale(LC_CTYPE, NULL);
  769|      2|    if (loc == NULL) {
  ------------------
  |  Branch (769:9): [True: 0, False: 2]
  ------------------
  770|      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)}
  ------------------
  771|      0|    }
  772|      2|    char *init_ctype_locale = _PyMem_RawStrdup(loc);
  773|      2|    if (init_ctype_locale == NULL) {
  ------------------
  |  Branch (773:9): [True: 0, False: 2]
  ------------------
  774|      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)}
  |  |  ------------------
  ------------------
  775|      0|    }
  776|       |
  777|       |    /* Save the config to be able to restore it if encodings change */
  778|      2|    PyPreConfig save_config;
  779|       |
  780|      2|    status = _PyPreConfig_InitFromPreConfig(&save_config, config);
  781|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  782|      0|        return status;
  783|      0|    }
  784|       |
  785|       |    /* Set LC_CTYPE to the user preferred locale */
  786|      2|    if (config->configure_locale) {
  ------------------
  |  Branch (786:9): [True: 2, False: 0]
  ------------------
  787|      2|        _Py_SetLocaleFromEnv(LC_CTYPE);
  788|      2|    }
  789|       |
  790|      2|    PyPreConfig save_runtime_config;
  791|      2|    preconfig_copy(&save_runtime_config, &_PyRuntime.preconfig);
  792|       |
  793|      2|    _PyPreCmdline cmdline = _PyPreCmdline_INIT;
  ------------------
  |  |  111|      2|    (_PyPreCmdline){ \
  |  |  112|      2|        .use_environment = -1, \
  |  |  113|      2|        .isolated = -1, \
  |  |  114|      2|        .dev_mode = -1}
  ------------------
  794|      2|    int locale_coerced = 0;
  795|      2|    int loops = 0;
  796|       |
  797|      4|    while (1) {
  ------------------
  |  Branch (797:12): [True: 4, Folded]
  ------------------
  798|      4|        int utf8_mode = config->utf8_mode;
  799|       |
  800|       |        /* Watchdog to prevent an infinite loop */
  801|      4|        loops++;
  802|      4|        if (loops == 3) {
  ------------------
  |  Branch (802:13): [True: 0, False: 4]
  ------------------
  803|      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)}
  ------------------
  804|      0|                                   "reading the configuration");
  805|      0|            goto done;
  806|      0|        }
  807|       |
  808|       |        /* bpo-34207: Py_DecodeLocale() and Py_EncodeLocale() depend
  809|       |           on the utf8_mode and legacy_windows_fs_encoding members
  810|       |           of _PyRuntime.preconfig. */
  811|      4|        preconfig_copy(&_PyRuntime.preconfig, config);
  812|       |
  813|      4|        if (args) {
  ------------------
  |  Branch (813:13): [True: 4, False: 0]
  ------------------
  814|       |            // Set command line arguments at each iteration. If they are bytes
  815|       |            // strings, they are decoded from the new encoding.
  816|      4|            status = _PyPreCmdline_SetArgv(&cmdline, args);
  817|      4|            if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      4|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  818|      0|                goto done;
  819|      0|            }
  820|      4|        }
  821|       |
  822|      4|        status = preconfig_read(config, &cmdline);
  823|      4|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      4|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  824|      0|            goto done;
  825|      0|        }
  826|       |
  827|       |        /* The legacy C locale assumes ASCII as the default text encoding, which
  828|       |         * causes problems not only for the CPython runtime, but also other
  829|       |         * components like GNU readline.
  830|       |         *
  831|       |         * Accordingly, when the CLI detects it, it attempts to coerce it to a
  832|       |         * more capable UTF-8 based alternative.
  833|       |         *
  834|       |         * See the documentation of the PYTHONCOERCECLOCALE setting for more
  835|       |         * details.
  836|       |         */
  837|      4|        int encoding_changed = 0;
  838|      4|        if (config->coerce_c_locale && !locale_coerced) {
  ------------------
  |  Branch (838:13): [True: 2, False: 2]
  |  Branch (838:40): [True: 1, False: 1]
  ------------------
  839|      1|            locale_coerced = 1;
  840|      1|            _Py_CoerceLegacyLocale(0);
  841|      1|            encoding_changed = 1;
  842|      1|        }
  843|       |
  844|      4|        if (utf8_mode == -1) {
  ------------------
  |  Branch (844:13): [True: 2, False: 2]
  ------------------
  845|      2|            if (config->utf8_mode == 1) {
  ------------------
  |  Branch (845:17): [True: 2, False: 0]
  ------------------
  846|       |                /* UTF-8 Mode enabled */
  847|      2|                encoding_changed = 1;
  848|      2|            }
  849|      2|        }
  850|      2|        else {
  851|      2|            if (config->utf8_mode != utf8_mode) {
  ------------------
  |  Branch (851:17): [True: 0, False: 2]
  ------------------
  852|      0|                encoding_changed = 1;
  853|      0|            }
  854|      2|        }
  855|       |
  856|      4|        if (!encoding_changed) {
  ------------------
  |  Branch (856:13): [True: 2, False: 2]
  ------------------
  857|      2|            break;
  858|      2|        }
  859|       |
  860|       |        /* Reset the configuration before reading again the configuration,
  861|       |           just keep UTF-8 Mode and coerce C locale value. */
  862|      2|        int new_utf8_mode = config->utf8_mode;
  863|      2|        int new_coerce_c_locale = config->coerce_c_locale;
  864|      2|        preconfig_copy(config, &save_config);
  865|      2|        config->utf8_mode = new_utf8_mode;
  866|      2|        config->coerce_c_locale = new_coerce_c_locale;
  867|       |
  868|       |        /* The encoding changed: read again the configuration
  869|       |           with the new encoding */
  870|      2|    }
  871|      2|    status = _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  872|       |
  873|      2|done:
  874|       |    // Revert side effects
  875|       |    setlocale(LC_CTYPE, init_ctype_locale);
  876|      2|    PyMem_RawFree(init_ctype_locale);
  877|      2|    preconfig_copy(&_PyRuntime.preconfig, &save_runtime_config);
  878|      2|    _PyPreCmdline_Clear(&cmdline);
  879|      2|    return status;
  880|      2|}
_PyPreConfig_Write:
  897|      2|{
  898|      2|    PyPreConfig config;
  899|       |
  900|      2|    PyStatus status = _PyPreConfig_InitFromPreConfig(&config, src_config);
  901|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  902|      0|        return status;
  903|      0|    }
  904|       |
  905|      2|    if (_Py_IsCoreInitialized()) {
  ------------------
  |  Branch (905:9): [True: 0, False: 2]
  ------------------
  906|       |        /* bpo-34008: Calling this functions after Py_Initialize() ignores
  907|       |           the new configuration. */
  908|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  909|      0|    }
  910|       |
  911|      2|    PyMemAllocatorName name = (PyMemAllocatorName)config.allocator;
  912|      2|    if (name != PYMEM_ALLOCATOR_NOT_SET) {
  ------------------
  |  Branch (912:9): [True: 0, False: 2]
  ------------------
  913|      0|        if (_PyMem_SetupAllocators(name) < 0) {
  ------------------
  |  Branch (913:13): [True: 0, False: 0]
  ------------------
  914|      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)}
  ------------------
  915|      0|        }
  916|      0|    }
  917|       |
  918|      2|    preconfig_set_global_var(&config);
  919|       |
  920|      2|    if (config.configure_locale) {
  ------------------
  |  Branch (920:9): [True: 2, False: 0]
  ------------------
  921|      2|        if (config.coerce_c_locale) {
  ------------------
  |  Branch (921:13): [True: 1, False: 1]
  ------------------
  922|      1|            if (!_Py_CoerceLegacyLocale(config.coerce_c_locale_warn)) {
  ------------------
  |  Branch (922:17): [True: 0, False: 1]
  ------------------
  923|       |                /* C locale not coerced */
  924|      0|                config.coerce_c_locale = 0;
  925|      0|            }
  926|      1|        }
  927|       |
  928|       |        /* Set LC_CTYPE to the user preferred locale */
  929|      2|        _Py_SetLocaleFromEnv(LC_CTYPE);
  930|      2|    }
  931|       |
  932|       |    /* Write the new pre-configuration into _PyRuntime */
  933|      2|    preconfig_copy(&_PyRuntime.preconfig, &config);
  934|       |
  935|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  936|      2|}
preconfig.c:precmdline_get_preconfig:
  135|      6|{
  136|      6|#define COPY_ATTR(ATTR) \
  137|      6|    if (config->ATTR != -1) { \
  138|      6|        cmdline->ATTR = config->ATTR; \
  139|      6|    }
  140|       |
  141|      6|    COPY_ATTR(isolated);
  ------------------
  |  |  137|      6|    if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (137:9): [True: 6, False: 0]
  |  |  ------------------
  |  |  138|      6|        cmdline->ATTR = config->ATTR; \
  |  |  139|      6|    }
  ------------------
  142|      6|    COPY_ATTR(use_environment);
  ------------------
  |  |  137|      6|    if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (137:9): [True: 6, False: 0]
  |  |  ------------------
  |  |  138|      6|        cmdline->ATTR = config->ATTR; \
  |  |  139|      6|    }
  ------------------
  143|      6|    COPY_ATTR(dev_mode);
  ------------------
  |  |  137|      6|    if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (137:9): [True: 2, False: 4]
  |  |  ------------------
  |  |  138|      2|        cmdline->ATTR = config->ATTR; \
  |  |  139|      2|    }
  ------------------
  144|       |
  145|      6|#undef COPY_ATTR
  146|      6|}
preconfig.c:precmdline_parse_cmdline:
  187|      6|{
  188|      6|    const PyWideStringList *argv = &cmdline->argv;
  189|       |
  190|      6|    struct _PyOS_GetOpt getopt;
  191|      6|    _PyOS_GetOpt_Init(&getopt, argv->length, argv->items);
  192|       |    /* Don't log parsing errors into stderr here: PyConfig_Read()
  193|       |       is responsible for that */
  194|      6|    getopt.error = 0;
  195|      6|    do {
  196|      6|        int c = _PyOS_GetOpt(&getopt);
  197|      6|        if (c == -1 || c == 'c' || c == 'm') {
  ------------------
  |  Branch (197:13): [True: 6, False: 0]
  |  Branch (197:24): [True: 0, False: 0]
  |  Branch (197:36): [True: 0, False: 0]
  ------------------
  198|      6|            break;
  199|      6|        }
  200|       |
  201|      0|        switch (c) {
  202|      0|        case 'E':
  ------------------
  |  Branch (202:9): [True: 0, False: 0]
  ------------------
  203|      0|            cmdline->use_environment = 0;
  204|      0|            break;
  205|       |
  206|      0|        case 'I':
  ------------------
  |  Branch (206:9): [True: 0, False: 0]
  ------------------
  207|      0|            cmdline->isolated = 1;
  208|      0|            break;
  209|       |
  210|      0|        case 'X':
  ------------------
  |  Branch (210:9): [True: 0, False: 0]
  ------------------
  211|      0|        {
  212|      0|            PyStatus status = PyWideStringList_Append(&cmdline->xoptions,
  213|      0|                                                      getopt.arg);
  214|      0|            if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  215|      0|                return status;
  216|      0|            }
  217|      0|            break;
  218|      0|        }
  219|       |
  220|      0|        default:
  ------------------
  |  Branch (220:9): [True: 0, False: 0]
  ------------------
  221|       |            /* ignore other argument:
  222|       |               handled by PyConfig_Read() */
  223|      0|            break;
  224|      0|        }
  225|      0|    } while (1);
  ------------------
  |  Branch (225:14): [True: 0, Folded]
  ------------------
  226|       |
  227|      6|    return _PyStatus_OK();
  ------------------
  |  |   24|      6|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  228|      6|}
preconfig.c:preconfig_copy:
  382|     20|{
  383|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  384|       |
  385|     20|    COPY_ATTR(_config_init);
  ------------------
  |  |  383|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  386|     20|    COPY_ATTR(parse_argv);
  ------------------
  |  |  383|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  387|     20|    COPY_ATTR(isolated);
  ------------------
  |  |  383|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  388|     20|    COPY_ATTR(use_environment);
  ------------------
  |  |  383|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  389|     20|    COPY_ATTR(configure_locale);
  ------------------
  |  |  383|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  390|     20|    COPY_ATTR(dev_mode);
  ------------------
  |  |  383|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  391|     20|    COPY_ATTR(coerce_c_locale);
  ------------------
  |  |  383|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  392|     20|    COPY_ATTR(coerce_c_locale_warn);
  ------------------
  |  |  383|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  393|     20|    COPY_ATTR(utf8_mode);
  ------------------
  |  |  383|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  394|     20|    COPY_ATTR(allocator);
  ------------------
  |  |  383|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  395|       |#ifdef MS_WINDOWS
  396|       |    COPY_ATTR(legacy_windows_fs_encoding);
  397|       |#endif
  398|       |
  399|     20|#undef COPY_ATTR
  400|     20|}
preconfig.c:preconfig_get_global_var:
  468|      2|{
  469|      2|    if (config->_config_init != _PyConfig_INIT_COMPAT) {
  ------------------
  |  Branch (469:9): [True: 2, False: 0]
  ------------------
  470|       |        /* Python and Isolated configuration ignore global variables */
  471|      2|        return;
  472|      2|    }
  473|       |
  474|      0|    if (Py_UTF8Mode > 0) {
  ------------------
  |  Branch (474:9): [True: 0, False: 0]
  ------------------
  475|      0|        config->utf8_mode = Py_UTF8Mode;
  476|      0|    }
  477|      0|}
preconfig.c:preconfig_read:
  694|      4|{
  695|      4|    PyStatus status;
  696|       |
  697|      4|    status = _PyPreCmdline_Read(cmdline, config);
  698|      4|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      4|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  699|      0|        return status;
  700|      0|    }
  701|       |
  702|      4|    precmdline_set_preconfig(cmdline, config);
  703|       |
  704|       |    /* legacy_windows_fs_encoding, coerce_c_locale, utf8_mode */
  705|       |#ifdef MS_WINDOWS
  706|       |    _Py_get_env_flag(config->use_environment,
  707|       |                     &config->legacy_windows_fs_encoding,
  708|       |                     "PYTHONLEGACYWINDOWSFSENCODING");
  709|       |#endif
  710|       |
  711|      4|    preconfig_init_coerce_c_locale(config);
  712|       |
  713|      4|    status = preconfig_init_utf8_mode(config, cmdline);
  714|      4|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      4|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  715|      0|        return status;
  716|      0|    }
  717|       |
  718|       |    /* allocator */
  719|      4|    status = preconfig_init_allocator(config);
  720|      4|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      4|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  721|      0|        return status;
  722|      0|    }
  723|       |
  724|      4|    assert(config->coerce_c_locale >= 0);
  ------------------
  |  Branch (724:5): [True: 4, False: 0]
  ------------------
  725|      4|    assert(config->coerce_c_locale_warn >= 0);
  ------------------
  |  Branch (725:5): [True: 4, False: 0]
  ------------------
  726|       |#ifdef MS_WINDOWS
  727|       |    assert(config->legacy_windows_fs_encoding >= 0);
  728|       |#endif
  729|      4|    assert(config->utf8_mode >= 0);
  ------------------
  |  Branch (729:5): [True: 4, False: 0]
  ------------------
  730|      4|    assert(config->isolated >= 0);
  ------------------
  |  Branch (730:5): [True: 4, False: 0]
  ------------------
  731|      4|    assert(config->use_environment >= 0);
  ------------------
  |  Branch (731:5): [True: 4, False: 0]
  ------------------
  732|      4|    assert(config->dev_mode >= 0);
  ------------------
  |  Branch (732:5): [True: 4, False: 0]
  ------------------
  733|       |
  734|      4|    return _PyStatus_OK();
  ------------------
  |  |   24|      4|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  735|      4|}
preconfig.c:precmdline_set_preconfig:
  151|      4|{
  152|      4|#define COPY_ATTR(ATTR) \
  153|      4|    config->ATTR = cmdline->ATTR
  154|       |
  155|      4|    COPY_ATTR(isolated);
  ------------------
  |  |  153|      4|    config->ATTR = cmdline->ATTR
  ------------------
  156|      4|    COPY_ATTR(use_environment);
  ------------------
  |  |  153|      4|    config->ATTR = cmdline->ATTR
  ------------------
  157|      4|    COPY_ATTR(dev_mode);
  ------------------
  |  |  153|      4|    config->ATTR = cmdline->ATTR
  ------------------
  158|       |
  159|      4|#undef COPY_ATTR
  160|      4|}
preconfig.c:preconfig_init_coerce_c_locale:
  622|      4|{
  623|      4|    if (!config->configure_locale) {
  ------------------
  |  Branch (623:9): [True: 0, False: 4]
  ------------------
  624|      0|        config->coerce_c_locale = 0;
  625|      0|        config->coerce_c_locale_warn = 0;
  626|      0|        return;
  627|      0|    }
  628|       |
  629|      4|    const char *env = _Py_GetEnv(config->use_environment, "PYTHONCOERCECLOCALE");
  630|      4|    if (env) {
  ------------------
  |  Branch (630:9): [True: 0, False: 4]
  ------------------
  631|      0|        if (strcmp(env, "0") == 0) {
  ------------------
  |  Branch (631:13): [True: 0, False: 0]
  ------------------
  632|      0|            if (config->coerce_c_locale < 0) {
  ------------------
  |  Branch (632:17): [True: 0, False: 0]
  ------------------
  633|      0|                config->coerce_c_locale = 0;
  634|      0|            }
  635|      0|        }
  636|      0|        else if (strcmp(env, "warn") == 0) {
  ------------------
  |  Branch (636:18): [True: 0, False: 0]
  ------------------
  637|      0|            if (config->coerce_c_locale_warn < 0) {
  ------------------
  |  Branch (637:17): [True: 0, False: 0]
  ------------------
  638|      0|                config->coerce_c_locale_warn = 1;
  639|      0|            }
  640|      0|        }
  641|      0|        else {
  642|      0|            if (config->coerce_c_locale < 0) {
  ------------------
  |  Branch (642:17): [True: 0, False: 0]
  ------------------
  643|      0|                config->coerce_c_locale = 1;
  644|      0|            }
  645|      0|        }
  646|      0|    }
  647|       |
  648|       |    /* Test if coerce_c_locale equals to -1 or equals to 1:
  649|       |       PYTHONCOERCECLOCALE=1 doesn't imply that the C locale is always coerced.
  650|       |       It is only coerced if the LC_CTYPE locale is "C". */
  651|      4|    if (config->coerce_c_locale < 0 || config->coerce_c_locale == 1) {
  ------------------
  |  Branch (651:9): [True: 2, False: 2]
  |  Branch (651:40): [True: 0, False: 2]
  ------------------
  652|       |        /* The C locale enables the C locale coercion (PEP 538) */
  653|      2|        if (_Py_LegacyLocaleDetected(0)) {
  ------------------
  |  Branch (653:13): [True: 1, False: 1]
  ------------------
  654|      1|            config->coerce_c_locale = 2;
  655|      1|        }
  656|      1|        else {
  657|      1|            config->coerce_c_locale = 0;
  658|      1|        }
  659|      2|    }
  660|       |
  661|      4|    if (config->coerce_c_locale_warn < 0) {
  ------------------
  |  Branch (661:9): [True: 4, False: 0]
  ------------------
  662|      4|        config->coerce_c_locale_warn = 0;
  663|      4|    }
  664|      4|}
preconfig.c:preconfig_init_utf8_mode:
  567|      4|{
  568|       |#ifdef MS_WINDOWS
  569|       |    if (config->legacy_windows_fs_encoding) {
  570|       |        config->utf8_mode = 0;
  571|       |    }
  572|       |#endif
  573|       |
  574|      4|    if (config->utf8_mode >= 0) {
  ------------------
  |  Branch (574:9): [True: 2, False: 2]
  ------------------
  575|      2|        return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  576|      2|    }
  577|       |
  578|      2|    const wchar_t *xopt;
  579|      2|    xopt = _Py_get_xoption(&cmdline->xoptions, L"utf8");
  580|      2|    if (xopt) {
  ------------------
  |  Branch (580:9): [True: 0, False: 2]
  ------------------
  581|      0|        const wchar_t *sep = wcschr(xopt, L'=');
  582|      0|        if (sep) {
  ------------------
  |  Branch (582:13): [True: 0, False: 0]
  ------------------
  583|      0|            xopt = sep + 1;
  584|      0|            if (wcscmp(xopt, L"1") == 0) {
  ------------------
  |  Branch (584:17): [True: 0, False: 0]
  ------------------
  585|      0|                config->utf8_mode = 1;
  586|      0|            }
  587|      0|            else if (wcscmp(xopt, L"0") == 0) {
  ------------------
  |  Branch (587:22): [True: 0, False: 0]
  ------------------
  588|      0|                config->utf8_mode = 0;
  589|      0|            }
  590|      0|            else {
  591|      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)}
  ------------------
  592|      0|            }
  593|      0|        }
  594|      0|        else {
  595|      0|            config->utf8_mode = 1;
  596|      0|        }
  597|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  598|      0|    }
  599|       |
  600|      2|    const char *opt = _Py_GetEnv(config->use_environment, "PYTHONUTF8");
  601|      2|    if (opt) {
  ------------------
  |  Branch (601:9): [True: 0, False: 2]
  ------------------
  602|      0|        if (strcmp(opt, "1") == 0) {
  ------------------
  |  Branch (602:13): [True: 0, False: 0]
  ------------------
  603|      0|            config->utf8_mode = 1;
  604|      0|        }
  605|      0|        else if (strcmp(opt, "0") == 0) {
  ------------------
  |  Branch (605:18): [True: 0, False: 0]
  ------------------
  606|      0|            config->utf8_mode = 0;
  607|      0|        }
  608|      0|        else {
  609|      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)}
  ------------------
  610|      0|                                "variable value");
  611|      0|        }
  612|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  613|      0|    }
  614|       |
  615|      2|    config->utf8_mode = 1;
  616|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  617|      2|}
preconfig.c:preconfig_init_allocator:
  669|      4|{
  670|      4|    if (config->allocator == PYMEM_ALLOCATOR_NOT_SET) {
  ------------------
  |  Branch (670:9): [True: 4, False: 0]
  ------------------
  671|       |        /* bpo-34247. The PYTHONMALLOC environment variable has the priority
  672|       |           over PYTHONDEV env var and "-X dev" command line option.
  673|       |           For example, PYTHONMALLOC=malloc PYTHONDEVMODE=1 sets the memory
  674|       |           allocators to "malloc" (and not to "debug"). */
  675|      4|        const char *envvar = _Py_GetEnv(config->use_environment, "PYTHONMALLOC");
  676|      4|        if (envvar) {
  ------------------
  |  Branch (676:13): [True: 0, False: 4]
  ------------------
  677|      0|            PyMemAllocatorName name;
  678|      0|            if (_PyMem_GetAllocatorName(envvar, &name) < 0) {
  ------------------
  |  Branch (678:17): [True: 0, False: 0]
  ------------------
  679|      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)}
  ------------------
  680|      0|            }
  681|      0|            config->allocator = (int)name;
  682|      0|        }
  683|      4|    }
  684|       |
  685|      4|    if (config->dev_mode && config->allocator == PYMEM_ALLOCATOR_NOT_SET) {
  ------------------
  |  Branch (685:9): [True: 0, False: 4]
  |  Branch (685:29): [True: 0, False: 0]
  ------------------
  686|      0|        config->allocator = PYMEM_ALLOCATOR_DEBUG;
  687|      0|    }
  688|      4|    return _PyStatus_OK();
  ------------------
  |  |   24|      4|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  689|      4|}
preconfig.c:preconfig_set_global_var:
  482|      2|{
  483|      2|    if (config->utf8_mode >= 0) {
  ------------------
  |  Branch (483:9): [True: 2, False: 0]
  ------------------
  484|      2|        Py_UTF8Mode = config->utf8_mode;
  485|      2|    }
  486|      2|}

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

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

_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.30k|{
  178|  2.30k|    return _PyRuntimeState_GetInitialized(&_PyRuntime);
  179|  2.30k|}
_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:
 1064|      2|{
 1065|      2|    PyStatus status;
 1066|       |
 1067|      2|    if (src_config == NULL) {
  ------------------
  |  Branch (1067:9): [True: 0, False: 2]
  ------------------
 1068|      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)}
  ------------------
 1069|      0|    }
 1070|       |
 1071|      2|    status = _PyRuntime_Initialize();
 1072|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1073|      0|        return status;
 1074|      0|    }
 1075|      2|    _PyRuntimeState *runtime = &_PyRuntime;
 1076|       |
 1077|      2|    if (runtime->preinitialized) {
  ------------------
  |  Branch (1077:9): [True: 0, False: 2]
  ------------------
 1078|       |        /* If it's already configured: ignored the new configuration */
 1079|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1080|      0|    }
 1081|       |
 1082|       |    /* Note: preinitializing remains 1 on error, it is only set to 0
 1083|       |       at exit on success. */
 1084|      2|    runtime->preinitializing = 1;
 1085|       |
 1086|      2|    PyPreConfig config;
 1087|       |
 1088|      2|    status = _PyPreConfig_InitFromPreConfig(&config, src_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|    status = _PyPreConfig_Read(&config, args);
 1094|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1095|      0|        return status;
 1096|      0|    }
 1097|       |
 1098|      2|    status = _PyPreConfig_Write(&config);
 1099|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1100|      0|        return status;
 1101|      0|    }
 1102|       |
 1103|      2|    runtime->preinitializing = 0;
 1104|      2|    runtime->preinitialized = 1;
 1105|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1106|      2|}
_Py_PreInitializeFromConfig:
 1135|    148|{
 1136|    148|    assert(config != NULL);
  ------------------
  |  Branch (1136:5): [True: 148, False: 0]
  ------------------
 1137|       |
 1138|    148|    PyStatus status = _PyRuntime_Initialize();
 1139|    148|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|    148|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 148]
  |  |  ------------------
  ------------------
 1140|      0|        return status;
 1141|      0|    }
 1142|    148|    _PyRuntimeState *runtime = &_PyRuntime;
 1143|       |
 1144|    148|    if (runtime->preinitialized) {
  ------------------
  |  Branch (1144:9): [True: 146, False: 2]
  ------------------
 1145|       |        /* Already initialized: do nothing */
 1146|    146|        return _PyStatus_OK();
  ------------------
  |  |   24|    146|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1147|    146|    }
 1148|       |
 1149|      2|    PyPreConfig preconfig;
 1150|       |
 1151|      2|    _PyPreConfig_InitFromConfig(&preconfig, config);
 1152|       |
 1153|      2|    if (!config->parse_argv) {
  ------------------
  |  Branch (1153:9): [True: 0, False: 2]
  ------------------
 1154|      0|        return Py_PreInitialize(&preconfig);
 1155|      0|    }
 1156|      2|    else if (args == NULL) {
  ------------------
  |  Branch (1156:14): [True: 2, False: 0]
  ------------------
 1157|      2|        _PyArgv config_args = {
 1158|      2|            .use_bytes_argv = 0,
 1159|      2|            .argc = config->argv.length,
 1160|      2|            .wchar_argv = config->argv.items};
 1161|      2|        return _Py_PreInitializeFromPyArgv(&preconfig, &config_args);
 1162|      2|    }
 1163|      0|    else {
 1164|      0|        return _Py_PreInitializeFromPyArgv(&preconfig, args);
 1165|      0|    }
 1166|      2|}
Py_InitializeFromConfig:
 1628|      2|{
 1629|      2|    if (config == NULL) {
  ------------------
  |  Branch (1629:9): [True: 0, False: 2]
  ------------------
 1630|      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)}
  ------------------
 1631|      0|    }
 1632|       |
 1633|      2|    PyStatus status;
 1634|       |
 1635|      2|    status = _PyRuntime_Initialize();
 1636|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1637|      0|        return status;
 1638|      0|    }
 1639|      2|    _PyRuntimeState *runtime = &_PyRuntime;
 1640|       |
 1641|      2|    PyThreadState *tstate = NULL;
 1642|      2|    status = pyinit_core(runtime, config, &tstate);
 1643|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1644|      0|        return status;
 1645|      0|    }
 1646|      2|    config = _PyInterpreterState_GetConfig(tstate->interp);
 1647|       |
 1648|      2|    if (config->_init_main) {
  ------------------
  |  Branch (1648:9): [True: 2, False: 0]
  ------------------
 1649|      2|        status = pyinit_main(tstate);
 1650|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1651|      0|            return status;
 1652|      0|        }
 1653|      2|    }
 1654|       |
 1655|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1656|      2|}
_Py_IsInterpreterFinalizing:
 2849|     50|{
 2850|       |    /* We check the runtime first since, in a daemon thread,
 2851|       |       interp might be dangling pointer. */
 2852|     50|    PyThreadState *finalizing = _PyRuntimeState_GetFinalizing(&_PyRuntime);
 2853|     50|    if (finalizing == NULL) {
  ------------------
  |  Branch (2853:9): [True: 50, False: 0]
  ------------------
 2854|     50|        finalizing = _PyInterpreterState_GetFinalizing(interp);
 2855|     50|    }
 2856|       |    return finalizing != NULL;
 2857|     50|}
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:
 1190|      2|{
 1191|      2|    PyStatus status;
 1192|       |
 1193|      2|    status = _Py_PreInitializeFromConfig(src_config, NULL);
 1194|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1195|      0|        return status;
 1196|      0|    }
 1197|       |
 1198|      2|    PyConfig config;
 1199|      2|    PyConfig_InitPythonConfig(&config);
 1200|       |
 1201|      2|    status = _PyConfig_Copy(&config, src_config);
 1202|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1203|      0|        goto done;
 1204|      0|    }
 1205|       |
 1206|       |    // Read the configuration, but don't compute the path configuration
 1207|       |    // (it is computed in the main init).
 1208|      2|    status = _PyConfig_Read(&config, 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|    if (!runtime->core_initialized) {
  ------------------
  |  Branch (1213:9): [True: 2, False: 0]
  ------------------
 1214|      2|        status = pyinit_config(runtime, tstate_p, &config);
 1215|      2|    }
 1216|      0|    else {
 1217|      0|        status = pyinit_core_reconfigure(runtime, tstate_p, &config);
 1218|      0|    }
 1219|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1220|      0|        goto done;
 1221|      0|    }
 1222|       |
 1223|      2|done:
 1224|      2|    PyConfig_Clear(&config);
 1225|      2|    return status;
 1226|      2|}
pylifecycle.c:pyinit_config:
 1038|      2|{
 1039|      2|    PyStatus status = pycore_init_runtime(runtime, config);
 1040|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1041|      0|        return status;
 1042|      0|    }
 1043|       |
 1044|      2|    PyThreadState *tstate;
 1045|      2|    status = pycore_create_interpreter(runtime, config, &tstate);
 1046|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1047|      0|        return status;
 1048|      0|    }
 1049|      2|    *tstate_p = tstate;
 1050|       |
 1051|      2|    status = pycore_interp_init(tstate);
 1052|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1053|      0|        return status;
 1054|      0|    }
 1055|       |
 1056|       |    /* Only when we get here is the runtime core fully initialized */
 1057|      2|    _PyRuntimeState_SetCoreInitialized(runtime, 1);
 1058|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1059|      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:
  958|      2|{
  959|      2|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  960|      2|    if (_tstate->c_stack_hard_limit == 0) {
  ------------------
  |  Branch (960:9): [True: 0, False: 2]
  ------------------
  961|      0|        _Py_InitializeRecursionLimits(tstate);
  962|      0|    }
  963|      2|    PyInterpreterState *interp = tstate->interp;
  964|      2|    PyStatus status;
  965|      2|    PyObject *sysmod = NULL;
  966|       |
  967|       |    // Create singletons before the first PyType_Ready() call, since
  968|       |    // PyType_Ready() uses singletons like the Unicode empty string (tp_doc)
  969|       |    // and the empty tuple singletons (tp_bases).
  970|      2|    status = pycore_init_global_objects(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|      2|    status = _PyCode_Init(interp);
  976|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  977|      0|        return status;
  978|      0|    }
  979|       |
  980|      2|    status = _PyDtoa_Init(interp);
  981|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  982|      0|        return status;
  983|      0|    }
  984|       |
  985|       |    // The GC must be initialized before the first GC collection.
  986|      2|    status = _PyGC_Init(interp);
  987|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  988|      0|        return status;
  989|      0|    }
  990|       |
  991|      2|    status = pycore_init_types(interp);
  992|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  993|      0|        goto done;
  994|      0|    }
  995|       |
  996|      2|    if (_PyWarnings_InitState(interp) < 0) {
  ------------------
  |  Branch (996:9): [True: 0, False: 2]
  ------------------
  997|      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)}
  ------------------
  998|      0|    }
  999|       |
 1000|      2|    status = _PyAtExit_Init(interp);
 1001|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1002|      0|        return status;
 1003|      0|    }
 1004|       |
 1005|      2|    status = _PySys_Create(tstate, &sysmod);
 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|    status = pycore_init_builtins(tstate);
 1011|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1012|      0|        goto done;
 1013|      0|    }
 1014|       |
 1015|      2|    status = _PyXI_Init(interp);
 1016|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1017|      0|        goto done;
 1018|      0|    }
 1019|       |
 1020|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 1021|       |
 1022|      2|    status = _PyImport_InitCore(tstate, sysmod, config->_install_importlib);
 1023|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1024|      0|        goto done;
 1025|      0|    }
 1026|       |
 1027|      2|done:
 1028|       |    /* sys.modules['sys'] contains a strong reference to the module */
 1029|      2|    Py_XDECREF(sysmod);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1030|      2|    return status;
 1031|      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);
  ------------------
  |  |  647|      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));
  ------------------
  |  |  951|      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));
  ------------------
  |  |  951|      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));
  ------------------
  |  |  951|      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));
  ------------------
  |  |  951|      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));
  ------------------
  |  |  951|      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__));
  ------------------
  |  |  951|      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|       |    /* The Python-implemented builtins live in the frozen _pybuiltins module.
  928|       |       Programs/_freeze_module has no frozen modules (it's what creates
  929|       |       them) and opts out via _install_importlib, like the import system. */
  930|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
  931|      2|    if (config->_install_importlib) {
  ------------------
  |  Branch (931:9): [True: 2, False: 0]
  ------------------
  932|      2|        if (_PyBuiltin_InitPythonFunctions(builtins_dict) < 0) {
  ------------------
  |  Branch (932:13): [True: 0, False: 2]
  ------------------
  933|      0|            return _PyStatus_ERR("failed to add Python-implemented 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)}
  ------------------
  934|      0|        }
  935|      2|    }
  936|       |
  937|      2|    interp->builtins_copy = PyDict_Copy(interp->builtins);
  938|      2|    if (interp->builtins_copy == NULL) {
  ------------------
  |  Branch (938:9): [True: 0, False: 2]
  ------------------
  939|      0|        goto error;
  940|      0|    }
  941|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  942|       |
  943|      2|    if (_PyImport_InitDefaultImportFunc(interp) < 0) {
  ------------------
  |  Branch (943:9): [True: 0, False: 2]
  ------------------
  944|      0|        goto error;
  945|      0|    }
  946|       |
  947|      2|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (947:5): [True: 2, False: 0]
  ------------------
  948|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  949|       |
  950|      0|error:
  951|      0|    Py_XDECREF(bimod);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_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 _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)}
  ------------------
  953|      2|}
pylifecycle.c:pyinit_main:
 1608|      2|{
 1609|      2|    PyInterpreterState *interp = tstate->interp;
 1610|      2|    if (!_PyRuntimeState_GetCoreInitialized(interp->runtime)) {
  ------------------
  |  Branch (1610:9): [True: 0, False: 2]
  ------------------
 1611|      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)}
  ------------------
 1612|      0|    }
 1613|       |
 1614|      2|    if (_PyRuntimeState_GetInitialized(interp->runtime)) {
  ------------------
  |  Branch (1614:9): [True: 0, False: 2]
  ------------------
 1615|      0|        return pyinit_main_reconfigure(tstate);
 1616|      0|    }
 1617|       |
 1618|      2|    PyStatus status = init_interp_main(tstate);
 1619|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1620|      0|        return status;
 1621|      0|    }
 1622|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1623|      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:
 1369|      2|{
 1370|      2|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1370:5): [True: 2, False: 0]
  ------------------
 1371|       |
 1372|      2|    PyStatus status;
 1373|      2|    int is_main_interp = _Py_IsMainInterpreter(tstate->interp);
 1374|      2|    PyInterpreterState *interp = tstate->interp;
 1375|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 1376|       |
 1377|      2|    if (!config->_install_importlib) {
  ------------------
  |  Branch (1377:9): [True: 0, False: 2]
  ------------------
 1378|       |        /* Special mode for freeze_importlib: run with no import system
 1379|       |         *
 1380|       |         * This means anything which needs support from extension modules
 1381|       |         * or pure Python code in the standard library won't work.
 1382|       |         */
 1383|      0|        if (is_main_interp) {
  ------------------
  |  Branch (1383:13): [True: 0, False: 0]
  ------------------
 1384|      0|            _PyRuntimeState_SetInitialized(interp->runtime, 1);
 1385|      0|        }
 1386|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1387|      0|    }
 1388|       |
 1389|       |    // Initialize the import-related configuration.
 1390|      2|    status = _PyConfig_InitImportConfig(&interp->config);
 1391|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1392|      0|        return status;
 1393|      0|    }
 1394|       |
 1395|      2|    if (interpreter_update_config(tstate, 1) < 0) {
  ------------------
  |  Branch (1395:9): [True: 0, False: 2]
  ------------------
 1396|      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)}
  ------------------
 1397|      0|    }
 1398|       |
 1399|      2|    status = _PyImport_InitExternal(tstate);
 1400|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1401|      0|        return status;
 1402|      0|    }
 1403|       |
 1404|      2|    if (is_main_interp) {
  ------------------
  |  Branch (1404:9): [True: 2, False: 0]
  ------------------
 1405|       |        /* initialize the faulthandler module */
 1406|      2|        status = _PyFaulthandler_Init(config->faulthandler);
 1407|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1408|      0|            return status;
 1409|      0|        }
 1410|      2|    }
 1411|       |
 1412|      2|    status = _PyUnicode_InitEncodings(tstate);
 1413|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1414|      0|        return status;
 1415|      0|    }
 1416|       |
 1417|      2|    if (is_main_interp) {
  ------------------
  |  Branch (1417:9): [True: 2, False: 0]
  ------------------
 1418|      2|        if (_PySignal_Init(config->install_signal_handlers) < 0) {
  ------------------
  |  Branch (1418:13): [True: 0, False: 2]
  ------------------
 1419|      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)}
  ------------------
 1420|      0|        }
 1421|       |
 1422|      2|        if (config->tracemalloc) {
  ------------------
  |  Branch (1422:13): [True: 0, False: 2]
  ------------------
 1423|      0|           if (_PyTraceMalloc_Start(config->tracemalloc) < 0) {
  ------------------
  |  Branch (1423:16): [True: 0, False: 0]
  ------------------
 1424|      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)}
  ------------------
 1425|      0|            }
 1426|      0|        }
 1427|       |
 1428|      2|#ifdef PY_HAVE_PERF_TRAMPOLINE
 1429|      2|        if (config->perf_profiling) {
  ------------------
  |  Branch (1429:13): [True: 0, False: 2]
  ------------------
 1430|      0|            _PyPerf_Callbacks *cur_cb;
 1431|      0|            if (config->perf_profiling == 1) {
  ------------------
  |  Branch (1431:17): [True: 0, False: 0]
  ------------------
 1432|      0|                cur_cb = &_Py_perfmap_callbacks;
 1433|      0|            }
 1434|      0|            else {
 1435|      0|                cur_cb = &_Py_perfmap_jit_callbacks;
 1436|      0|            }
 1437|      0|            if (_PyPerfTrampoline_SetCallbacks(cur_cb) < 0 ||
  ------------------
  |  Branch (1437:17): [True: 0, False: 0]
  ------------------
 1438|      0|                    _PyPerfTrampoline_Init(config->perf_profiling) < 0) {
  ------------------
  |  Branch (1438:21): [True: 0, False: 0]
  ------------------
 1439|      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)}
  ------------------
 1440|      0|            }
 1441|      0|        }
 1442|      2|#endif
 1443|      2|    }
 1444|       |
 1445|      2|    status = init_sys_streams(tstate);
 1446|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1447|      0|        return status;
 1448|      0|    }
 1449|       |
 1450|      2|    status = init_set_builtins_open();
 1451|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1452|      0|        return status;
 1453|      0|    }
 1454|       |
 1455|       |#ifdef __ANDROID__
 1456|       |    status = init_android_streams(tstate);
 1457|       |    if (_PyStatus_EXCEPTION(status)) {
 1458|       |        return status;
 1459|       |    }
 1460|       |#endif
 1461|       |#if defined(__APPLE__) && HAS_APPLE_SYSTEM_LOG
 1462|       |    if (config->use_system_logger) {
 1463|       |        status = init_apple_streams(tstate);
 1464|       |        if (_PyStatus_EXCEPTION(status)) {
 1465|       |            return status;
 1466|       |        }
 1467|       |    }
 1468|       |#endif
 1469|       |
 1470|       |#ifdef Py_DEBUG
 1471|       |    run_presite(tstate);
 1472|       |#endif
 1473|       |
 1474|      2|    status = add_main_module(interp);
 1475|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1476|      0|        return status;
 1477|      0|    }
 1478|       |
 1479|      2|    if (is_main_interp) {
  ------------------
  |  Branch (1479:9): [True: 2, False: 0]
  ------------------
 1480|       |        /* Initialize warnings. */
 1481|      2|        PyObject *warnoptions;
 1482|      2|        if (PySys_GetOptionalAttrString("warnoptions", &warnoptions) < 0) {
  ------------------
  |  Branch (1482:13): [True: 0, False: 2]
  ------------------
 1483|      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)}
  ------------------
 1484|      0|        }
 1485|      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 (1485:13): [True: 2, False: 0]
  ------------------
 1486|      2|            PyList_Size(warnoptions) > 0)
  ------------------
  |  Branch (1486:13): [True: 0, False: 2]
  ------------------
 1487|      0|        {
 1488|      0|            PyObject *warnings_module = PyImport_ImportModule("warnings");
 1489|      0|            if (warnings_module == NULL) {
  ------------------
  |  Branch (1489:17): [True: 0, False: 0]
  ------------------
 1490|      0|                fprintf(stderr, "'import warnings' failed; traceback:\n");
 1491|      0|                _PyErr_Print(tstate);
 1492|      0|            }
 1493|      0|            Py_XDECREF(warnings_module);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1494|      0|        }
 1495|      2|        Py_XDECREF(warnoptions);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1496|      2|    }
 1497|       |
 1498|      2|    if (config->site_import) {
  ------------------
  |  Branch (1498:9): [True: 2, False: 0]
  ------------------
 1499|      2|        status = init_import_site();
 1500|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1501|      0|            return status;
 1502|      0|        }
 1503|      2|    }
 1504|       |
 1505|       |    // Initialize lazy imports based on configuration. Do this after site
 1506|       |    // module is imported to avoid circular imports during startup.
 1507|      2|    if (config->lazy_imports == 0) {
  ------------------
  |  Branch (1507:9): [True: 0, False: 2]
  ------------------
 1508|      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)}
  ------------------
 1509|      0|    }
 1510|      2|    if (config->lazy_imports == 1) {
  ------------------
  |  Branch (1510:9): [True: 0, False: 2]
  ------------------
 1511|      0|        if (PyImport_SetLazyImportsMode(PyImport_LAZY_ALL) < 0) {
  ------------------
  |  Branch (1511:13): [True: 0, False: 0]
  ------------------
 1512|      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)}
  ------------------
 1513|      0|        }
 1514|      0|    }
 1515|       |    // If config->lazy_imports == -1, use the default mode, no change needed.
 1516|       |
 1517|      2|    if (is_main_interp) {
  ------------------
  |  Branch (1517:9): [True: 2, False: 0]
  ------------------
 1518|      2|#ifndef MS_WINDOWS
 1519|      2|        emit_stderr_warning_for_legacy_locale(interp->runtime);
 1520|      2|#endif
 1521|      2|    }
 1522|       |
 1523|       |    // Turn on experimental tier 2 (uops-based) optimizer
 1524|       |    // This is also needed when the JIT is enabled
 1525|       |#ifdef _Py_TIER2
 1526|       |    if (is_main_interp) {
 1527|       |        int enabled = 1;
 1528|       |#if _Py_TIER2 & 2
 1529|       |        enabled = 0;
 1530|       |#endif
 1531|       |        char *env = Py_GETENV("PYTHON_JIT");
 1532|       |        if (env && *env != '\0') {
 1533|       |            // PYTHON_JIT=0|1 overrides the default
 1534|       |            enabled = *env != '0';
 1535|       |        }
 1536|       |        if (enabled) {
 1537|       |#ifdef _Py_JIT
 1538|       |            // perf profiler works fine with tier 2 interpreter, so
 1539|       |            // only checking for a "real JIT".
 1540|       |            if (config->perf_profiling > 0) {
 1541|       |                (void)PyErr_WarnEx(
 1542|       |                    PyExc_RuntimeWarning,
 1543|       |                    "JIT deactivated as perf profiling support is active",
 1544|       |                    0);
 1545|       |            } else
 1546|       |#endif
 1547|       |            {
 1548|       |                interp->jit = true;
 1549|       |            }
 1550|       |        }
 1551|       |    }
 1552|       |#endif
 1553|       |
 1554|      2|    if (!is_main_interp) {
  ------------------
  |  Branch (1554:9): [True: 0, False: 2]
  ------------------
 1555|       |        // The main interpreter is handled in Py_Main(), for now.
 1556|      0|        if (config->sys_path_0 != NULL) {
  ------------------
  |  Branch (1556:13): [True: 0, False: 0]
  ------------------
 1557|      0|            PyObject *path0 = PyUnicode_FromWideChar(config->sys_path_0, -1);
 1558|      0|            if (path0 == NULL) {
  ------------------
  |  Branch (1558:17): [True: 0, False: 0]
  ------------------
 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|            PyObject *sysdict = interp->sysdict;
 1562|      0|            if (sysdict == NULL) {
  ------------------
  |  Branch (1562:17): [True: 0, False: 0]
  ------------------
 1563|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|            PyObject *sys_path = PyDict_GetItemWithError(sysdict, &_Py_ID(path));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1567|      0|            if (sys_path == NULL) {
  ------------------
  |  Branch (1567:17): [True: 0, False: 0]
  ------------------
 1568|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1569|      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)}
  ------------------
 1570|      0|            }
 1571|      0|            int res = PyList_Insert(sys_path, 0, path0);
 1572|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1573|      0|            if (res) {
  ------------------
  |  Branch (1573:17): [True: 0, False: 0]
  ------------------
 1574|      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)}
  ------------------
 1575|      0|            }
 1576|      0|        }
 1577|      0|    }
 1578|       |
 1579|       |
 1580|      2|    interp->dict_state.watchers[0] = &builtins_dict_watcher;
 1581|      2|    if (PyDict_Watch(0, interp->builtins) != 0) {
  ------------------
  |  Branch (1581:9): [True: 0, False: 2]
  ------------------
 1582|      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)}
  ------------------
 1583|      0|    }
 1584|       |
 1585|      2|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1585:5): [True: 2, False: 0]
  ------------------
 1586|       |
 1587|      2|    if (is_main_interp) {
  ------------------
  |  Branch (1587:9): [True: 2, False: 0]
  ------------------
 1588|      2|        _PyRuntimeState_SetInitialized(interp->runtime, 1);
 1589|      2|    }
 1590|       |
 1591|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1592|      2|}
pylifecycle.c:init_sys_streams:
 3178|      2|{
 3179|      2|    PyObject *iomod = NULL;
 3180|      2|    PyObject *std = NULL;
 3181|      2|    int fd;
 3182|      2|    PyObject * encoding_attr;
 3183|      2|    PyStatus res = _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3184|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(tstate->interp);
 3185|       |
 3186|       |    /* Check that stdin is not a directory
 3187|       |       Using shell redirection, you can redirect stdin to a directory,
 3188|       |       crashing the Python interpreter. Catch this common mistake here
 3189|       |       and output a useful error message. Note that under MS Windows,
 3190|       |       the shell already prevents that. */
 3191|      2|#ifndef MS_WINDOWS
 3192|      2|    struct _Py_stat_struct sb;
 3193|      2|    if (_Py_fstat_noraise(fileno(stdin), &sb) == 0 &&
  ------------------
  |  Branch (3193:9): [True: 2, False: 0]
  ------------------
 3194|      2|        S_ISDIR(sb.st_mode)) {
  ------------------
  |  Branch (3194:9): [True: 0, False: 2]
  ------------------
 3195|      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)}
  ------------------
 3196|      0|    }
 3197|      2|#endif
 3198|       |
 3199|      2|    if (!(iomod = PyImport_ImportModule("_io"))) {
  ------------------
  |  Branch (3199:9): [True: 0, False: 2]
  ------------------
 3200|      0|        goto error;
 3201|      0|    }
 3202|       |
 3203|       |    /* Set sys.stdin */
 3204|      2|    fd = fileno(stdin);
 3205|       |    /* Under some conditions stdin, stdout and stderr may not be connected
 3206|       |     * and fileno() may point to an invalid file descriptor. For example
 3207|       |     * GUI apps don't have valid standard streams by default.
 3208|       |     */
 3209|      2|    std = create_stdio(config, iomod, fd, 0, "<stdin>",
 3210|      2|                       config->stdio_encoding,
 3211|      2|                       config->stdio_errors);
 3212|      2|    if (std == NULL)
  ------------------
  |  Branch (3212:9): [True: 0, False: 2]
  ------------------
 3213|      0|        goto error;
 3214|      2|    if (PySys_SetObject("__stdin__", std) < 0) {
  ------------------
  |  Branch (3214:9): [True: 0, False: 2]
  ------------------
 3215|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3216|      0|        goto error;
 3217|      0|    }
 3218|      2|    if (_PySys_SetAttr(&_Py_ID(stdin), std) < 0) {
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3218:9): [True: 0, False: 2]
  ------------------
 3219|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3220|      0|        goto error;
 3221|      0|    }
 3222|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3223|       |
 3224|       |    /* Set sys.stdout */
 3225|      2|    fd = fileno(stdout);
 3226|      2|    std = create_stdio(config, iomod, fd, 1, "<stdout>",
 3227|      2|                       config->stdio_encoding,
 3228|      2|                       config->stdio_errors);
 3229|      2|    if (std == NULL)
  ------------------
  |  Branch (3229:9): [True: 0, False: 2]
  ------------------
 3230|      0|        goto error;
 3231|      2|    if (PySys_SetObject("__stdout__", std) < 0) {
  ------------------
  |  Branch (3231:9): [True: 0, False: 2]
  ------------------
 3232|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3233|      0|        goto error;
 3234|      0|    }
 3235|      2|    if (_PySys_SetAttr(&_Py_ID(stdout), std) < 0) {
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3235:9): [True: 0, False: 2]
  ------------------
 3236|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3237|      0|        goto error;
 3238|      0|    }
 3239|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3240|       |
 3241|      2|#if 1 /* Disable this if you have trouble debugging bootstrap stuff */
 3242|       |    /* Set sys.stderr, replaces the preliminary stderr */
 3243|      2|    fd = fileno(stderr);
 3244|      2|    std = create_stdio(config, iomod, fd, 1, "<stderr>",
 3245|      2|                       config->stdio_encoding,
 3246|      2|                       L"backslashreplace");
 3247|      2|    if (std == NULL)
  ------------------
  |  Branch (3247:9): [True: 0, False: 2]
  ------------------
 3248|      0|        goto error;
 3249|       |
 3250|       |    /* Same as hack above, pre-import stderr's codec to avoid recursion
 3251|       |       when import.c tries to write to stderr in verbose mode. */
 3252|      2|    encoding_attr = PyObject_GetAttrString(std, "encoding");
 3253|      2|    if (encoding_attr != NULL) {
  ------------------
  |  Branch (3253:9): [True: 2, False: 0]
  ------------------
 3254|      2|        const char *std_encoding = PyUnicode_AsUTF8(encoding_attr);
 3255|      2|        if (std_encoding != NULL) {
  ------------------
  |  Branch (3255:13): [True: 2, False: 0]
  ------------------
 3256|      2|            PyObject *codec_info = _PyCodec_Lookup(std_encoding);
 3257|      2|            Py_XDECREF(codec_info);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3258|      2|        }
 3259|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3260|      2|    }
 3261|      2|    _PyErr_Clear(tstate);  /* Not a fatal error if codec isn't available */
 3262|       |
 3263|      2|    if (PySys_SetObject("__stderr__", std) < 0) {
  ------------------
  |  Branch (3263:9): [True: 0, False: 2]
  ------------------
 3264|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3265|      0|        goto error;
 3266|      0|    }
 3267|      2|    if (_PySys_SetAttr(&_Py_ID(stderr), std) < 0) {
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3267:9): [True: 0, False: 2]
  ------------------
 3268|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3269|      0|        goto error;
 3270|      0|    }
 3271|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3272|      2|#endif
 3273|       |
 3274|      2|    goto done;
 3275|       |
 3276|      0|error:
 3277|      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)}
  ------------------
 3278|       |
 3279|      2|done:
 3280|      2|    Py_XDECREF(iomod);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3281|      2|    return res;
 3282|      0|}
pylifecycle.c:create_stdio:
 2995|      6|{
 2996|      6|    PyObject *buf = NULL, *stream = NULL, *text = NULL, *raw = NULL, *res;
 2997|      6|    const char* mode;
 2998|      6|    const char* newline;
 2999|      6|    PyObject *line_buffering, *write_through;
 3000|      6|    int buffering, isatty;
 3001|      6|    const int buffered_stdio = config->buffered_stdio;
 3002|       |
 3003|      6|    if (!_Py_IsValidFD(fd)) {
  ------------------
  |  Branch (3003:9): [True: 0, False: 6]
  ------------------
 3004|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 3005|      0|    }
 3006|       |
 3007|       |    /* stdin is always opened in buffered mode, first because it shouldn't
 3008|       |       make a difference in common use cases, second because TextIOWrapper
 3009|       |       depends on the presence of a read1() method which only exists on
 3010|       |       buffered streams.
 3011|       |    */
 3012|      6|    if (!buffered_stdio && write_mode)
  ------------------
  |  Branch (3012:9): [True: 0, False: 6]
  |  Branch (3012:28): [True: 0, False: 0]
  ------------------
 3013|      0|        buffering = 0;
 3014|      6|    else
 3015|      6|        buffering = -1;
 3016|      6|    if (write_mode)
  ------------------
  |  Branch (3016:9): [True: 4, False: 2]
  ------------------
 3017|      4|        mode = "wb";
 3018|      2|    else
 3019|      2|        mode = "rb";
 3020|      6|    buf = _PyObject_CallMethod(io, &_Py_ID(open), "isiOOOO",
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3021|      6|                               fd, mode, buffering,
 3022|      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)
  ------------------
 3023|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3024|      6|    if (buf == NULL)
  ------------------
  |  Branch (3024:9): [True: 0, False: 6]
  ------------------
 3025|      0|        goto error;
 3026|       |
 3027|      6|    if (buffering) {
  ------------------
  |  Branch (3027:9): [True: 6, False: 0]
  ------------------
 3028|      6|        raw = PyObject_GetAttr(buf, &_Py_ID(raw));
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3029|      6|        if (raw == NULL)
  ------------------
  |  Branch (3029:13): [True: 0, False: 6]
  ------------------
 3030|      0|            goto error;
 3031|      6|    }
 3032|      0|    else {
 3033|      0|        raw = Py_NewRef(buf);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3034|      0|    }
 3035|       |
 3036|       |#ifdef HAVE_WINDOWS_CONSOLE_IO
 3037|       |    /* Windows console IO is always UTF-8 encoded */
 3038|       |    PyTypeObject *winconsoleio_type = (PyTypeObject *)PyImport_ImportModuleAttr(
 3039|       |            &_Py_ID(_io), &_Py_ID(_WindowsConsoleIO));
 3040|       |    if (winconsoleio_type == NULL) {
 3041|       |        goto error;
 3042|       |    }
 3043|       |    int is_subclass = PyObject_TypeCheck(raw, winconsoleio_type);
 3044|       |    Py_DECREF(winconsoleio_type);
 3045|       |    if (is_subclass) {
 3046|       |        encoding = L"utf-8";
 3047|       |    }
 3048|       |#endif
 3049|       |
 3050|      6|    text = PyUnicode_FromString(name);
 3051|      6|    if (text == NULL || PyObject_SetAttr(raw, &_Py_ID(name), text) < 0)
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3051:9): [True: 0, False: 6]
  |  Branch (3051:25): [True: 0, False: 6]
  ------------------
 3052|      0|        goto error;
 3053|      6|    res = PyObject_CallMethodNoArgs(raw, &_Py_ID(isatty));
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3054|      6|    if (res == NULL)
  ------------------
  |  Branch (3054:9): [True: 0, False: 6]
  ------------------
 3055|      0|        goto error;
 3056|      6|    isatty = PyObject_IsTrue(res);
 3057|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3058|      6|    if (isatty == -1)
  ------------------
  |  Branch (3058:9): [True: 0, False: 6]
  ------------------
 3059|      0|        goto error;
 3060|      6|    if (!buffered_stdio)
  ------------------
  |  Branch (3060:9): [True: 0, False: 6]
  ------------------
 3061|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3062|      6|    else
 3063|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3064|      6|    if (buffered_stdio && (isatty || fd == fileno(stderr)))
  ------------------
  |  Branch (3064:9): [True: 6, False: 0]
  |  Branch (3064:28): [True: 0, False: 6]
  |  Branch (3064:38): [True: 2, False: 4]
  ------------------
 3065|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3066|      4|    else
 3067|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3068|       |
 3069|      6|    Py_CLEAR(raw);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  491|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      6|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      6|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3070|      6|    Py_CLEAR(text);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  491|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      6|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      6|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3071|       |
 3072|       |#ifdef MS_WINDOWS
 3073|       |    /* sys.stdin: enable universal newline mode, translate "\r\n" and "\r"
 3074|       |       newlines to "\n".
 3075|       |       sys.stdout and sys.stderr: translate "\n" to "\r\n". */
 3076|       |    newline = NULL;
 3077|       |#else
 3078|       |    /* sys.stdin: split lines at "\n".
 3079|       |       sys.stdout and sys.stderr: don't translate newlines (use "\n"). */
 3080|      6|    newline = "\n";
 3081|      6|#endif
 3082|       |
 3083|      6|    PyObject *encoding_str;
 3084|      6|    if (encoding != NULL) {
  ------------------
  |  Branch (3084:9): [True: 6, False: 0]
  ------------------
 3085|      6|        encoding_str = PyUnicode_FromWideChar(encoding, -1);
 3086|      6|    }
 3087|      0|    else {
 3088|       |        /* gh-86427: use the encoding of the device. */
 3089|      0|        encoding_str = _Py_device_encoding(fd);
 3090|      0|        if (encoding_str == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3090:13): [True: 0, False: 0]
  ------------------
 3091|      0|            Py_DECREF(encoding_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3092|      0|            encoding_str = _Py_GetLocaleEncodingObject();
 3093|      0|        }
 3094|      0|    }
 3095|      6|    if (encoding_str == NULL) {
  ------------------
  |  Branch (3095:9): [True: 0, False: 6]
  ------------------
 3096|      0|        Py_CLEAR(buf);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3097|      0|        goto error;
 3098|      0|    }
 3099|       |
 3100|      6|    PyObject *errors_str = PyUnicode_FromWideChar(errors, -1);
 3101|      6|    if (errors_str == NULL) {
  ------------------
  |  Branch (3101:9): [True: 0, False: 6]
  ------------------
 3102|      0|        Py_CLEAR(buf);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3103|      0|        Py_CLEAR(encoding_str);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3104|      0|        goto error;
 3105|      0|    }
 3106|       |
 3107|      6|    stream = _PyObject_CallMethod(io, &_Py_ID(TextIOWrapper), "OOOsOO",
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3108|      6|                                  buf, encoding_str, errors_str,
 3109|      6|                                  newline, line_buffering, write_through);
 3110|      6|    Py_CLEAR(buf);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  491|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      6|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      6|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3111|      6|    Py_CLEAR(encoding_str);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  491|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      6|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      6|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3112|      6|    Py_CLEAR(errors_str);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  491|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      6|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      6|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3113|      6|    if (stream == NULL)
  ------------------
  |  Branch (3113:9): [True: 0, False: 6]
  ------------------
 3114|      0|        goto error;
 3115|       |
 3116|      6|    if (write_mode)
  ------------------
  |  Branch (3116:9): [True: 4, False: 2]
  ------------------
 3117|      4|        mode = "w";
 3118|      2|    else
 3119|      2|        mode = "r";
 3120|      6|    text = PyUnicode_FromString(mode);
 3121|      6|    if (!text || PyObject_SetAttr(stream, &_Py_ID(mode), text) < 0)
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3121:9): [True: 0, False: 6]
  |  Branch (3121:18): [True: 0, False: 6]
  ------------------
 3122|      0|        goto error;
 3123|      6|    Py_CLEAR(text);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  491|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      6|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      6|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3124|      6|    return stream;
 3125|       |
 3126|      0|error:
 3127|      0|    Py_XDECREF(buf);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3128|      0|    Py_XDECREF(stream);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3129|      0|    Py_XDECREF(text);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3130|      0|    Py_XDECREF(raw);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3131|       |
 3132|      0|    if (PyErr_ExceptionMatches(PyExc_OSError) && !_Py_IsValidFD(fd)) {
  ------------------
  |  Branch (3132:9): [True: 0, False: 0]
  |  Branch (3132:50): [True: 0, False: 0]
  ------------------
 3133|       |        /* Issue #24891: the file descriptor was closed after the first
 3134|       |           _Py_IsValidFD() check was called. Ignore the OSError and set the
 3135|       |           stream to None. */
 3136|      0|        PyErr_Clear();
 3137|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 3138|      0|    }
 3139|      0|    return NULL;
 3140|      0|}
pylifecycle.c:init_set_builtins_open:
 3145|      2|{
 3146|      2|    PyObject *wrapper;
 3147|      2|    PyObject *bimod = NULL;
 3148|      2|    PyStatus res = _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3149|       |
 3150|      2|    if (!(bimod = PyImport_ImportModule("builtins"))) {
  ------------------
  |  Branch (3150:9): [True: 0, False: 2]
  ------------------
 3151|      0|        goto error;
 3152|      0|    }
 3153|       |
 3154|      2|    if (!(wrapper = PyImport_ImportModuleAttrString("_io", "open"))) {
  ------------------
  |  Branch (3154:9): [True: 0, False: 2]
  ------------------
 3155|      0|        goto error;
 3156|      0|    }
 3157|       |
 3158|       |    /* Set builtins.open */
 3159|      2|    if (PyObject_SetAttrString(bimod, "open", wrapper) == -1) {
  ------------------
  |  Branch (3159:9): [True: 0, False: 2]
  ------------------
 3160|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3161|      0|        goto error;
 3162|      0|    }
 3163|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3164|      2|    goto done;
 3165|       |
 3166|      0|error:
 3167|      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)}
  ------------------
 3168|       |
 3169|      2|done:
 3170|      2|    Py_XDECREF(bimod);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3171|      2|    return res;
 3172|      0|}
pylifecycle.c:add_main_module:
 2928|      2|{
 2929|      2|    PyObject *m, *d;
 2930|      2|    m = PyImport_AddModuleObject(&_Py_ID(__main__));
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2931|      2|    if (m == NULL)
  ------------------
  |  Branch (2931:9): [True: 0, False: 2]
  ------------------
 2932|      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)}
  ------------------
 2933|       |
 2934|      2|    d = PyModule_GetDict(m);
 2935|       |
 2936|      2|    int has_builtins = PyDict_ContainsString(d, "__builtins__");
 2937|      2|    if (has_builtins < 0) {
  ------------------
  |  Branch (2937:9): [True: 0, False: 2]
  ------------------
 2938|      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)}
  ------------------
 2939|      0|    }
 2940|      2|    if (!has_builtins) {
  ------------------
  |  Branch (2940:9): [True: 2, False: 0]
  ------------------
 2941|      2|        PyObject *bimod = PyImport_ImportModule("builtins");
 2942|      2|        if (bimod == NULL) {
  ------------------
  |  Branch (2942:13): [True: 0, False: 2]
  ------------------
 2943|      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)}
  ------------------
 2944|      0|        }
 2945|      2|        if (PyDict_SetItemString(d, "__builtins__", bimod) < 0) {
  ------------------
  |  Branch (2945:13): [True: 0, False: 2]
  ------------------
 2946|      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)}
  ------------------
 2947|      0|        }
 2948|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2949|      2|    }
 2950|       |
 2951|       |    /* Main is a little special - BuiltinImporter is the most appropriate
 2952|       |     * initial setting for its __loader__ attribute. A more suitable value
 2953|       |     * will be set if __main__ gets further initialized later in the startup
 2954|       |     * process.
 2955|       |     */
 2956|      2|    PyObject *loader;
 2957|      2|    if (PyDict_GetItemStringRef(d, "__loader__", &loader) < 0) {
  ------------------
  |  Branch (2957:9): [True: 0, False: 2]
  ------------------
 2958|      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)}
  ------------------
 2959|      0|    }
 2960|      2|    int has_loader = !(loader == NULL || loader == Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2960:24): [True: 0, False: 2]
  |  Branch (2960:42): [True: 2, False: 0]
  ------------------
 2961|      2|    Py_XDECREF(loader);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2962|      2|    if (!has_loader) {
  ------------------
  |  Branch (2962:9): [True: 2, False: 0]
  ------------------
 2963|      2|        PyObject *loader = _PyImport_GetImportlibLoader(interp,
 2964|      2|                                                        "BuiltinImporter");
 2965|      2|        if (loader == NULL) {
  ------------------
  |  Branch (2965:13): [True: 0, False: 2]
  ------------------
 2966|      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)}
  ------------------
 2967|      0|        }
 2968|      2|        if (PyDict_SetItemString(d, "__loader__", loader) < 0) {
  ------------------
  |  Branch (2968:13): [True: 0, False: 2]
  ------------------
 2969|      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)}
  ------------------
 2970|      0|        }
 2971|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2972|      2|    }
 2973|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2974|      2|}
pylifecycle.c:init_import_site:
 2980|      2|{
 2981|      2|    PyObject *m;
 2982|      2|    m = PyImport_ImportModule("site");
 2983|      2|    if (m == NULL) {
  ------------------
  |  Branch (2983:9): [True: 0, False: 2]
  ------------------
 2984|      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)}
  ------------------
 2985|      0|    }
 2986|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2987|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2988|      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|     55|unsigned short _Py_get_387controlword(void) {
   11|     55|    unsigned short cw;
   12|     55|    __asm__ __volatile__ ("fnstcw %0" : "=m" (cw));
   13|     55|    return cw;
   14|     55|}
_Py_set_387controlword:
   16|    110|void _Py_set_387controlword(unsigned short cw) {
   17|    110|    __asm__ __volatile__ ("fldcw %0" : : "m" (cw));
   18|    110|}

_PyRuntimeState_Init:
  370|      2|{
  371|       |    /* We preserve the hook across init, because there is
  372|       |       currently no public API to set it between runtime
  373|       |       initialization and interpreter initialization. */
  374|      2|    void *open_code_hook = runtime->open_code_hook;
  375|      2|    void *open_code_userdata = runtime->open_code_userdata;
  376|      2|    _Py_AuditHookEntry *audit_hook_head = runtime->audit_hooks.head;
  377|       |    // bpo-42882: Preserve next_index value if Py_Initialize()/Py_Finalize()
  378|       |    // is called multiple times.
  379|      2|    Py_ssize_t unicode_next_index = runtime->unicode_state.ids.next_index;
  380|       |
  381|      2|    if (runtime->_initialized) {
  ------------------
  |  Branch (381:9): [True: 0, False: 2]
  ------------------
  382|       |        // Py_Initialize() must be running again.
  383|       |        // Reset to _PyRuntimeState_INIT.
  384|      0|        memcpy(runtime, &initial, sizeof(*runtime));
  385|       |        // Preserve the cookie from the original runtime.
  386|      0|        memcpy(runtime->debug_offsets.cookie, _Py_Debug_Cookie, 8);
  ------------------
  |  |   12|      0|#define _Py_Debug_Cookie "xdebugpy"
  ------------------
  387|      0|        assert(!runtime->_initialized);
  ------------------
  |  Branch (387:9): [True: 0, False: 0]
  ------------------
  388|      0|    }
  389|       |
  390|      2|    PyStatus status = _PyTime_Init(&runtime->time);
  391|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  392|      0|        return status;
  393|      0|    }
  394|       |
  395|      2|    init_runtime(runtime, open_code_hook, open_code_userdata, audit_hook_head,
  396|      2|                 unicode_next_index);
  397|       |
  398|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  399|      2|}
_PyInterpreterState_Enable:
  471|      2|{
  472|      2|    struct pyinterpreters *interpreters = &runtime->interpreters;
  473|      2|    interpreters->next_id = 0;
  474|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  475|      2|}
_PyInterpreterState_New:
  759|      2|{
  760|      2|    *pinterp = NULL;
  761|       |
  762|       |    // Don't get runtime from tstate since tstate can be NULL
  763|      2|    _PyRuntimeState *runtime = &_PyRuntime;
  764|       |
  765|       |    // tstate is NULL when pycore_create_interpreter() calls
  766|       |    // _PyInterpreterState_New() to create the main interpreter.
  767|      2|    if (tstate != NULL) {
  ------------------
  |  Branch (767:9): [True: 0, False: 2]
  ------------------
  768|      0|        if (_PySys_Audit(tstate, "cpython.PyInterpreterState_New", NULL) < 0) {
  ------------------
  |  Branch (768:13): [True: 0, False: 0]
  ------------------
  769|      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)}
  ------------------
  770|      0|        }
  771|      0|    }
  772|       |
  773|       |    /* We completely serialize creation of multiple interpreters, since
  774|       |       it simplifies things here and blocking concurrent calls isn't a problem.
  775|       |       Regardless, we must fully block subinterpreter creation until
  776|       |       after the main interpreter is created. */
  777|      2|    HEAD_LOCK(runtime);
  ------------------
  |  |  284|      2|    PyMutex_LockFlags(&(runtime)->interpreters.mutex, _Py_LOCK_DONT_DETACH)
  ------------------
  778|       |
  779|      2|    struct pyinterpreters *interpreters = &runtime->interpreters;
  780|      2|    int64_t id = interpreters->next_id;
  781|      2|    interpreters->next_id += 1;
  782|       |
  783|       |    // Allocate the interpreter and add it to the runtime state.
  784|      2|    PyInterpreterState *interp;
  785|      2|    PyStatus status;
  786|      2|    PyInterpreterState *old_head = interpreters->head;
  787|      2|    if (old_head == NULL) {
  ------------------
  |  Branch (787:9): [True: 2, False: 0]
  ------------------
  788|       |        // We are creating the main interpreter.
  789|      2|        assert(interpreters->main == NULL);
  ------------------
  |  Branch (789:9): [True: 2, False: 0]
  ------------------
  790|      2|        assert(id == 0);
  ------------------
  |  Branch (790:9): [True: 2, False: 0]
  ------------------
  791|       |
  792|      2|        interp = &runtime->_main_interpreter;
  793|      2|        assert(interp->id == 0);
  ------------------
  |  Branch (793:9): [True: 2, False: 0]
  ------------------
  794|      2|        assert(interp->next == NULL);
  ------------------
  |  Branch (794:9): [True: 2, False: 0]
  ------------------
  795|       |
  796|      2|        interpreters->main = interp;
  797|      2|    }
  798|      0|    else {
  799|      0|        assert(interpreters->main != NULL);
  ------------------
  |  Branch (799:9): [True: 0, False: 0]
  ------------------
  800|      0|        assert(id != 0);
  ------------------
  |  Branch (800:9): [True: 0, False: 0]
  ------------------
  801|       |
  802|      0|        interp = alloc_interpreter();
  803|      0|        if (interp == NULL) {
  ------------------
  |  Branch (803:13): [True: 0, False: 0]
  ------------------
  804|      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)}
  |  |  ------------------
  ------------------
  805|      0|            goto error;
  806|      0|        }
  807|       |        // Set to _PyInterpreterState_INIT.
  808|      0|        memcpy(interp, &initial._main_interpreter, sizeof(*interp));
  809|       |
  810|      0|        if (id < 0) {
  ------------------
  |  Branch (810:13): [True: 0, False: 0]
  ------------------
  811|       |            /* overflow or Py_Initialize() not called yet! */
  812|      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)}
  ------------------
  813|      0|            goto error;
  814|      0|        }
  815|      0|    }
  816|      2|    interpreters->head = interp;
  817|       |
  818|      2|    long whence = _PyInterpreterState_WHENCE_UNKNOWN;
  ------------------
  |  |   17|      2|#define _PyInterpreterState_WHENCE_UNKNOWN 0
  ------------------
  819|      2|    status = init_interpreter(interp, runtime,
  820|      2|                              id, old_head, whence);
  821|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  822|      0|        goto error;
  823|      0|    }
  824|       |
  825|      2|    HEAD_UNLOCK(runtime);
  ------------------
  |  |  286|      2|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  ------------------
  |  |  |  |   70|      2|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  ------------------
  ------------------
  826|       |
  827|      2|    assert(interp != NULL);
  ------------------
  |  Branch (827:5): [True: 2, False: 0]
  ------------------
  828|      2|    *pinterp = interp;
  829|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  830|       |
  831|      0|error:
  832|      0|    HEAD_UNLOCK(runtime);
  ------------------
  |  |  286|      0|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  ------------------
  |  |  |  |   70|      0|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  ------------------
  ------------------
  833|       |
  834|      0|    if (interp != NULL) {
  ------------------
  |  Branch (834:9): [True: 0, False: 0]
  ------------------
  835|      0|        free_interpreter(interp);
  836|      0|    }
  837|      0|    return status;
  838|      2|}
_PyInterpreterState_SetWhence:
 1301|      2|{
 1302|      2|    assert(interp->_whence != _PyInterpreterState_WHENCE_NOTSET);
  ------------------
  |  Branch (1302:5): [True: 2, False: 0]
  ------------------
 1303|      2|    assert(check_interpreter_whence(whence) == 0);
  ------------------
  |  Branch (1303:5): [True: 2, False: 0]
  ------------------
 1304|      2|    interp->_whence = whence;
 1305|      2|}
_PyThreadState_New:
 1819|      2|{
 1820|      2|    return new_threadstate(interp, whence);
 1821|      2|}
_PyThreadState_GetDict:
 2217|     48|{
 2218|     48|    assert(tstate != NULL);
  ------------------
  |  Branch (2218:5): [True: 48, False: 0]
  ------------------
 2219|     48|    if (tstate->dict == NULL) {
  ------------------
  |  Branch (2219:9): [True: 1, False: 47]
  ------------------
 2220|      1|        tstate->dict = PyDict_New();
 2221|      1|        if (tstate->dict == NULL) {
  ------------------
  |  Branch (2221:13): [True: 0, False: 1]
  ------------------
 2222|      0|            _PyErr_Clear(tstate);
 2223|      0|        }
 2224|      1|    }
 2225|     48|    return tstate->dict;
 2226|     48|}
PyThreadState_GetDict:
 2231|     48|{
 2232|     48|    PyThreadState *tstate = current_fast_get();
 2233|     48|    if (tstate == NULL) {
  ------------------
  |  Branch (2233:9): [True: 0, False: 48]
  ------------------
 2234|      0|        return NULL;
 2235|      0|    }
 2236|     48|    return _PyThreadState_GetDict(tstate);
 2237|     48|}
_PyThreadState_Attach:
 2385|  1.27k|{
 2386|       |#if defined(Py_DEBUG)
 2387|       |    // This is called from PyEval_RestoreThread(). Similar
 2388|       |    // to it, we need to ensure errno doesn't change.
 2389|       |    int err = errno;
 2390|       |#endif
 2391|       |
 2392|  1.27k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  214|  1.27k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 2393|  1.27k|    if (current_fast_get() != NULL) {
  ------------------
  |  Branch (2393:9): [True: 0, False: 1.27k]
  ------------------
 2394|      0|        Py_FatalError("non-NULL old thread state");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
 2395|      0|    }
 2396|  1.27k|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
 2397|  1.27k|    if (_tstate->c_stack_hard_limit == 0) {
  ------------------
  |  Branch (2397:9): [True: 2, False: 1.27k]
  ------------------
 2398|      2|        _Py_InitializeRecursionLimits(tstate);
 2399|      2|    }
 2400|       |
 2401|  1.27k|    while (1) {
  ------------------
  |  Branch (2401:12): [True: 1.27k, Folded]
  ------------------
 2402|  1.27k|        _PyEval_AcquireLock(tstate);
 2403|       |
 2404|       |        // XXX assert(tstate_is_alive(tstate));
 2405|  1.27k|        current_fast_set(&_PyRuntime, tstate);
 2406|  1.27k|        if (!tstate_try_attach(tstate)) {
  ------------------
  |  Branch (2406:13): [True: 0, False: 1.27k]
  ------------------
 2407|      0|            tstate_wait_attach(tstate);
 2408|      0|        }
 2409|  1.27k|        tstate_activate(tstate);
 2410|       |
 2411|       |#ifdef Py_GIL_DISABLED
 2412|       |        if (_PyEval_IsGILEnabled(tstate) && !tstate->holds_gil) {
 2413|       |            // The GIL was enabled between our call to _PyEval_AcquireLock()
 2414|       |            // and when we attached (the GIL can't go from enabled to disabled
 2415|       |            // here because only a thread holding the GIL can disable
 2416|       |            // it). Detach and try again.
 2417|       |            tstate_set_detached(tstate, _Py_THREAD_DETACHED);
 2418|       |            tstate_deactivate(tstate);
 2419|       |            current_fast_clear(&_PyRuntime);
 2420|       |            continue;
 2421|       |        }
 2422|       |        _Py_qsbr_attach(((_PyThreadStateImpl *)tstate)->qsbr);
 2423|       |#endif
 2424|  1.27k|        break;
 2425|  1.27k|    }
 2426|       |
 2427|       |    // Resume previous critical section. This acquires the lock(s) from the
 2428|       |    // top-most critical section.
 2429|  1.27k|    if (tstate->critical_section != 0) {
  ------------------
  |  Branch (2429:9): [True: 0, False: 1.27k]
  ------------------
 2430|      0|        _PyCriticalSection_Resume(tstate);
 2431|      0|    }
 2432|       |
 2433|       |#ifdef Py_STATS
 2434|       |    _PyStats_Attach((_PyThreadStateImpl *)tstate);
 2435|       |#endif
 2436|       |
 2437|       |#if defined(Py_DEBUG)
 2438|       |    errno = err;
 2439|       |#endif
 2440|  1.27k|}
_PyThreadState_Detach:
 2462|  1.27k|{
 2463|  1.27k|    detach_thread(tstate, _Py_THREAD_DETACHED);
  ------------------
  |  |   44|  1.27k|#define _Py_THREAD_DETACHED             0
  ------------------
 2464|  1.27k|}
PyThreadState_GetUnchecked:
 2780|     24|{
 2781|     24|    return current_fast_get();
 2782|     24|}
PyThreadState_Get:
 2787|    481|{
 2788|    481|    PyThreadState *tstate = current_fast_get();
 2789|    481|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  214|    481|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 2790|    481|    return tstate;
 2791|    481|}
_PyThreadState_Bind:
 2815|      2|{
 2816|       |    // gh-104690: If Python is being finalized and PyInterpreterState_Delete()
 2817|       |    // was called, tstate becomes a dangling pointer.
 2818|      2|    assert(_PyThreadState_CheckConsistency(tstate));
  ------------------
  |  Branch (2818:5): [True: 2, False: 0]
  ------------------
 2819|       |
 2820|      2|    bind_tstate(tstate);
 2821|       |    // This makes sure there's a gilstate tstate bound
 2822|       |    // as soon as possible.
 2823|      2|    if (gilstate_get() == NULL) {
  ------------------
  |  Branch (2823:9): [True: 2, False: 0]
  ------------------
 2824|      2|        bind_gilstate_tstate(tstate);
 2825|      2|    }
 2826|      2|}
_PyGILState_Init:
 3008|      2|{
 3009|      2|    if (!_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (3009:9): [True: 0, False: 2]
  ------------------
 3010|       |        /* Currently, PyGILState is shared by all interpreters. The main
 3011|       |         * interpreter is responsible to initialize it. */
 3012|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3013|      0|    }
 3014|      2|    _PyRuntimeState *runtime = interp->runtime;
 3015|      2|    assert(gilstate_get() == NULL);
  ------------------
  |  Branch (3015:5): [True: 2, False: 0]
  ------------------
 3016|      2|    assert(runtime->gilstate.autoInterpreterState == NULL);
  ------------------
  |  Branch (3016:5): [True: 2, False: 0]
  ------------------
 3017|      2|    runtime->gilstate.autoInterpreterState = interp;
 3018|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3019|      2|}
_PyGILState_SetTstate:
 3036|      2|{
 3037|       |    /* must init with valid states */
 3038|      2|    assert(tstate != NULL);
  ------------------
  |  Branch (3038:5): [True: 2, False: 0]
  ------------------
 3039|      2|    assert(tstate->interp != NULL);
  ------------------
  |  Branch (3039:5): [True: 2, False: 0]
  ------------------
 3040|       |
 3041|      2|    if (!_Py_IsMainInterpreter(tstate->interp)) {
  ------------------
  |  Branch (3041:9): [True: 0, False: 2]
  ------------------
 3042|       |        /* Currently, PyGILState is shared by all interpreters. The main
 3043|       |         * interpreter is responsible to initialize it. */
 3044|      0|        return;
 3045|      0|    }
 3046|       |
 3047|      2|#ifndef NDEBUG
 3048|      2|    _PyRuntimeState *runtime = tstate->interp->runtime;
 3049|       |
 3050|      2|    assert(runtime->gilstate.autoInterpreterState == tstate->interp);
  ------------------
  |  Branch (3050:5): [True: 2, False: 0]
  ------------------
 3051|      2|    assert(gilstate_get() == tstate);
  ------------------
  |  Branch (3051:5): [True: 2, False: 0]
  ------------------
 3052|      2|    assert(tstate->gilstate_counter == 1);
  ------------------
  |  Branch (3052:5): [True: 2, False: 0]
  ------------------
 3053|      2|#endif
 3054|      2|}
_PyInterpreterState_IsSpecializationEnabled:
 3252|    321|{
 3253|    321|    return interp->eval_frame == NULL
  ------------------
  |  Branch (3253:12): [True: 321, False: 0]
  ------------------
 3254|      0|        || interp->eval_frame_allow_specialization;
  ------------------
  |  Branch (3254:12): [True: 0, False: 0]
  ------------------
 3255|    321|}
_PyInterpreterState_GetConfig:
 3260|  3.94k|{
 3261|  3.94k|    return &interp->config;
 3262|  3.94k|}
_Py_GetConfig:
 3267|  2.43k|{
 3268|  2.43k|    PyThreadState *tstate = current_fast_get();
 3269|  2.43k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  214|  2.43k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 3270|  2.43k|    return _PyInterpreterState_GetConfig(tstate->interp);
 3271|  2.43k|}
_PyThreadState_PushFrame:
 3321|  4.83k|{
 3322|  4.83k|    assert(size < INT_MAX/sizeof(PyObject *));
  ------------------
  |  Branch (3322:5): [True: 4.83k, False: 0]
  ------------------
 3323|  4.83k|    if (_PyThreadState_HasStackSpace(tstate, (int)size)) {
  ------------------
  |  Branch (3323:9): [True: 4.83k, False: 2]
  ------------------
 3324|  4.83k|        _PyInterpreterFrame *res = (_PyInterpreterFrame *)tstate->datastack_top;
 3325|  4.83k|        tstate->datastack_top += size;
 3326|  4.83k|        return res;
 3327|  4.83k|    }
 3328|      2|    return (_PyInterpreterFrame *)push_chunk(tstate, (int)size);
 3329|  4.83k|}
_PyThreadState_PopFrame:
 3333|  8.44k|{
 3334|  8.44k|    assert(tstate->datastack_chunk);
  ------------------
  |  Branch (3334:5): [True: 8.44k, False: 0]
  ------------------
 3335|  8.44k|    PyObject **base = (PyObject **)frame;
 3336|  8.44k|    if (base == &tstate->datastack_chunk->data[0]) {
  ------------------
  |  Branch (3336:9): [True: 0, False: 8.44k]
  ------------------
 3337|      0|        _PyStackChunk *chunk = tstate->datastack_chunk;
 3338|      0|        _PyStackChunk *previous = chunk->previous;
 3339|      0|        _PyStackChunk *cached = tstate->datastack_cached_chunk;
 3340|       |        // push_chunk ensures that the root chunk is never popped:
 3341|      0|        assert(previous);
  ------------------
  |  Branch (3341:9): [True: 0, False: 0]
  ------------------
 3342|      0|        tstate->datastack_top = &previous->data[previous->top];
 3343|      0|        tstate->datastack_chunk = previous;
 3344|      0|        tstate->datastack_limit = (PyObject **)(((char *)previous) + previous->size);
 3345|      0|        chunk->previous = NULL;
 3346|      0|        if (cached != NULL) {
  ------------------
  |  Branch (3346:13): [True: 0, False: 0]
  ------------------
 3347|      0|            _PyObject_VirtualFree(cached, cached->size);
 3348|      0|        }
 3349|      0|        tstate->datastack_cached_chunk = chunk;
 3350|      0|    }
 3351|  8.44k|    else {
 3352|  8.44k|        assert(tstate->datastack_top);
  ------------------
  |  Branch (3352:9): [True: 8.44k, False: 0]
  ------------------
 3353|  8.44k|        assert(tstate->datastack_top >= base);
  ------------------
  |  Branch (3353:9): [True: 8.44k, False: 0]
  ------------------
 3354|  8.44k|        tstate->datastack_top = base;
 3355|  8.44k|    }
 3356|  8.44k|}
_PyThreadState_CheckConsistency:
 3369|  2.54k|{
 3370|  2.54k|    assert(!_PyMem_IsPtrFreed(tstate));
  ------------------
  |  Branch (3370:5): [True: 2.54k, False: 0]
  ------------------
 3371|  2.54k|    assert(!_PyMem_IsPtrFreed(tstate->interp));
  ------------------
  |  Branch (3371:5): [True: 2.54k, False: 0]
  ------------------
 3372|  2.54k|    return 1;
 3373|  2.54k|}
_PyThreadState_MustExit:
 3387|  2.54k|{
 3388|  2.54k|    int state = _Py_atomic_load_int_relaxed(&tstate->state);
 3389|  2.54k|    return state == _Py_THREAD_SHUTTING_DOWN;
  ------------------
  |  |   47|  2.54k|#define _Py_THREAD_SHUTTING_DOWN        3
  ------------------
 3390|  2.54k|}
_Py_IsMainThread:
 3481|  1.27k|{
 3482|  1.27k|    unsigned long thread = PyThread_get_thread_ident();
 3483|  1.27k|    return (thread == _PyRuntime.main_thread);
 3484|  1.27k|}
_PyInterpreterState_Main:
 3489|    464|{
 3490|    464|    return _PyRuntime.interpreters.main;
 3491|    464|}
pystate.c:current_fast_get:
   86|  5.52k|{
   87|  5.52k|    return _Py_tss_tstate;
   88|  5.52k|}
pystate.c:init_runtime:
  348|      2|{
  349|      2|    assert(!runtime->preinitializing);
  ------------------
  |  Branch (349:5): [True: 2, False: 0]
  ------------------
  350|      2|    assert(!runtime->preinitialized);
  ------------------
  |  Branch (350:5): [True: 2, False: 0]
  ------------------
  351|      2|    assert(!_PyRuntimeState_GetCoreInitialized(runtime));
  ------------------
  |  Branch (351:5): [True: 2, False: 0]
  ------------------
  352|      2|    assert(!_PyRuntimeState_GetInitialized(runtime));
  ------------------
  |  Branch (352:5): [True: 2, False: 0]
  ------------------
  353|      2|    assert(!runtime->_initialized);
  ------------------
  |  Branch (353:5): [True: 2, False: 0]
  ------------------
  354|       |
  355|      2|    runtime->open_code_hook = open_code_hook;
  356|      2|    runtime->open_code_userdata = open_code_userdata;
  357|      2|    runtime->audit_hooks.head = audit_hook_head;
  358|       |
  359|      2|    PyPreConfig_InitPythonConfig(&runtime->preconfig);
  360|       |
  361|       |    // Set it to the ID of the main thread of the main interpreter.
  362|      2|    runtime->main_thread = PyThread_get_thread_ident();
  363|       |
  364|      2|    runtime->unicode_state.ids.next_index = unicode_next_index;
  365|      2|    runtime->_initialized = 1;
  366|      2|}
pystate.c:init_interpreter:
  616|      2|{
  617|      2|    if (interp->_initialized) {
  ------------------
  |  Branch (617:9): [True: 0, False: 2]
  ------------------
  618|      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)}
  ------------------
  619|      0|    }
  620|       |
  621|      2|    assert(interp->_whence == _PyInterpreterState_WHENCE_NOTSET);
  ------------------
  |  Branch (621:5): [True: 2, False: 0]
  ------------------
  622|      2|    assert(check_interpreter_whence(whence) == 0);
  ------------------
  |  Branch (622:5): [True: 2, False: 0]
  ------------------
  623|      2|    interp->_whence = whence;
  624|       |
  625|      2|    assert(runtime != NULL);
  ------------------
  |  Branch (625:5): [True: 2, False: 0]
  ------------------
  626|      2|    interp->runtime = runtime;
  627|       |
  628|      2|    assert(id > 0 || (id == 0 && interp == runtime->interpreters.main));
  ------------------
  |  Branch (628:5): [True: 2, False: 0]
  |  Branch (628:5): [True: 2, False: 0]
  |  Branch (628:5): [True: 0, False: 2]
  ------------------
  629|      2|    interp->id = id;
  630|       |
  631|      2|    interp->id_refcount = 0;
  632|       |
  633|      2|    assert(runtime->interpreters.head == interp);
  ------------------
  |  Branch (633:5): [True: 2, False: 0]
  ------------------
  634|      2|    assert(next != NULL || (interp == runtime->interpreters.main));
  ------------------
  |  Branch (634:5): [True: 0, False: 2]
  |  Branch (634:5): [True: 2, False: 0]
  ------------------
  635|      2|    interp->next = next;
  636|       |
  637|      2|    interp->threads.preallocated = &interp->_initial_thread;
  638|       |
  639|       |    // We would call _PyObject_InitState() at this point
  640|       |    // if interp->feature_flags were alredy set.
  641|       |
  642|      2|    _PyEval_InitState(interp);
  643|      2|    _PyGC_InitState(&interp->gc);
  644|      2|    PyConfig_InitPythonConfig(&interp->config);
  645|       |#ifdef Py_GIL_DISABLED
  646|       |    _Py_brc_init_state(interp);
  647|       |
  648|       |    interp->mimalloc.subproc = mi_subproc_new();
  649|       |    if (interp->mimalloc.subproc == NULL) {
  650|       |        return _PyStatus_NO_MEMORY();
  651|       |    }
  652|       |#endif
  653|       |
  654|      2|    llist_init(&interp->mem_free_queue.head);
  655|      2|    llist_init(&interp->asyncio_tasks_head);
  656|      2|    interp->asyncio_tasks_lock = (PyMutex){0};
  657|     34|    for (int i = 0; i < _PY_MONITORING_UNGROUPED_EVENTS; i++) {
  ------------------
  |  |   75|     34|#define _PY_MONITORING_UNGROUPED_EVENTS 16
  ------------------
  |  Branch (657:21): [True: 32, False: 2]
  ------------------
  658|     32|        interp->monitors.tools[i] = 0;
  659|     32|    }
  660|     18|    for (int t = 0; t < PY_MONITORING_TOOL_IDS; t++) {
  ------------------
  |  |   72|     18|#define  PY_MONITORING_TOOL_IDS 8
  ------------------
  |  Branch (660:21): [True: 16, False: 2]
  ------------------
  661|    320|        for (int e = 0; e < _PY_MONITORING_EVENTS; e++) {
  ------------------
  |  |   77|    320|#define _PY_MONITORING_EVENTS 19
  ------------------
  |  Branch (661:25): [True: 304, False: 16]
  ------------------
  662|    304|            interp->monitoring_callables[t][e] = NULL;
  663|       |
  664|    304|        }
  665|     16|        interp->monitoring_tool_versions[t] = 0;
  666|     16|    }
  667|      2|    interp->_code_object_generation = 0;
  668|      2|    interp->jit = false;
  669|      2|    interp->compiling = false;
  670|      2|    interp->executor_blooms = NULL;
  671|      2|    interp->executor_ptrs = NULL;
  672|      2|    interp->executor_count = 0;
  673|      2|    interp->executor_capacity = 0;
  674|      2|    interp->executor_deletion_list_head = NULL;
  675|      2|    interp->executor_creation_counter = JIT_CLEANUP_THRESHOLD;
  ------------------
  |  |  308|      2|#define JIT_CLEANUP_THRESHOLD 1000
  ------------------
  676|       |
  677|       |    // Initialize optimization configuration from environment variables
  678|       |    // PYTHON_JIT_STRESS sets aggressive defaults for testing, but can be overridden
  679|      2|    uint16_t jump_default = JUMP_BACKWARD_INITIAL_VALUE;
  ------------------
  |  |  134|      2|#define JUMP_BACKWARD_INITIAL_VALUE 4000
  ------------------
  680|      2|    uint16_t resume_default = RESUME_INITIAL_VALUE;
  ------------------
  |  |  148|      2|#define RESUME_INITIAL_VALUE 8190
  ------------------
  681|      2|    uint16_t side_exit_default = SIDE_EXIT_INITIAL_VALUE;
  ------------------
  |  |  162|      2|#define SIDE_EXIT_INITIAL_VALUE 4000
  ------------------
  682|       |
  683|      2|    if (is_env_enabled("PYTHON_JIT_STRESS")) {
  ------------------
  |  Branch (683:9): [True: 0, False: 2]
  ------------------
  684|      0|        jump_default = 63;
  685|      0|        side_exit_default = 63;
  686|      0|        resume_default = 127;
  687|      0|    }
  688|       |
  689|      2|    init_policy(&interp->opt_config.jump_backward_initial_value,
  690|      2|                "PYTHON_JIT_JUMP_BACKWARD_INITIAL_VALUE",
  691|      2|                jump_default, 1, MAX_VALUE);
  ------------------
  |  |   41|      2|#define MAX_VALUE 0x1FFF
  ------------------
  692|      2|    init_policy(&interp->opt_config.jump_backward_initial_backoff,
  693|      2|                "PYTHON_JIT_JUMP_BACKWARD_INITIAL_BACKOFF",
  694|      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
  ------------------
  695|      2|    init_policy(&interp->opt_config.resume_initial_value,
  696|      2|                "PYTHON_JIT_RESUME_INITIAL_VALUE",
  697|      2|                resume_default, 1, MAX_VALUE);
  ------------------
  |  |   41|      2|#define MAX_VALUE 0x1FFF
  ------------------
  698|      2|    init_policy(&interp->opt_config.resume_initial_backoff,
  699|      2|                "PYTHON_JIT_RESUME_INITIAL_BACKOFF",
  700|      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
  ------------------
  701|      2|    init_policy(&interp->opt_config.side_exit_initial_value,
  702|      2|                "PYTHON_JIT_SIDE_EXIT_INITIAL_VALUE",
  703|      2|                side_exit_default, 1, MAX_VALUE);
  ------------------
  |  |   41|      2|#define MAX_VALUE 0x1FFF
  ------------------
  704|      2|    init_policy(&interp->opt_config.side_exit_initial_backoff,
  705|      2|                "PYTHON_JIT_SIDE_EXIT_INITIAL_BACKOFF",
  706|      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
  ------------------
  707|       |
  708|       |    // Trace fitness configuration
  709|      2|    init_policy(&interp->opt_config.fitness_initial,
  710|      2|                "PYTHON_JIT_FITNESS_INITIAL",
  711|      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
  ------------------
  712|       |
  713|      2|    interp->opt_config.specialization_enabled = !is_env_enabled("PYTHON_SPECIALIZATION_OFF");
  714|      2|    interp->opt_config.uops_optimize_enabled = !is_env_disabled("PYTHON_UOPS_OPTIMIZE");
  715|      2|    if (interp != &runtime->_main_interpreter) {
  ------------------
  |  Branch (715:9): [True: 0, False: 2]
  ------------------
  716|       |        /* Fix the self-referential, statically initialized fields. */
  717|      0|        interp->dtoa = (struct _dtoa_state)_dtoa_state_INIT(interp);
  ------------------
  |  |   22|      0|    { \
  |  |   23|      0|        .preallocated_next = (INTERP)->dtoa.preallocated, \
  |  |   24|      0|    }
  ------------------
  718|      0|    }
  719|       |#if !defined(Py_GIL_DISABLED) && defined(Py_STACKREF_DEBUG)
  720|       |    interp->next_stackref = INITIAL_STACKREF_INDEX;
  721|       |    _Py_hashtable_allocator_t alloc = {
  722|       |        .malloc = malloc,
  723|       |        .free = free,
  724|       |    };
  725|       |    interp->open_stackrefs_table = _Py_hashtable_new_full(
  726|       |        _Py_hashtable_hash_ptr,
  727|       |        _Py_hashtable_compare_direct,
  728|       |        NULL,
  729|       |        NULL,
  730|       |        &alloc
  731|       |    );
  732|       |    if (interp->open_stackrefs_table == NULL) {
  733|       |        return _PyStatus_NO_MEMORY();
  734|       |    }
  735|       |#  ifdef Py_STACKREF_CLOSE_DEBUG
  736|       |    interp->closed_stackrefs_table = _Py_hashtable_new_full(
  737|       |        _Py_hashtable_hash_ptr,
  738|       |        _Py_hashtable_compare_direct,
  739|       |        NULL,
  740|       |        NULL,
  741|       |        &alloc
  742|       |    );
  743|       |    if (interp->closed_stackrefs_table == NULL) {
  744|       |        return _PyStatus_NO_MEMORY();
  745|       |    }
  746|       |#  endif
  747|       |    _Py_stackref_associate(interp, Py_None, PyStackRef_None);
  748|       |    _Py_stackref_associate(interp, Py_False, PyStackRef_False);
  749|       |    _Py_stackref_associate(interp, Py_True, PyStackRef_True);
  750|       |#endif
  751|       |
  752|      2|    interp->_initialized = 1;
  753|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  754|      2|}
pystate.c:is_env_enabled:
  585|      4|{
  586|      4|    char *env = Py_GETENV(env_name);
  587|      4|    return env && *env != '\0' && *env != '0';
  ------------------
  |  Branch (587:12): [True: 0, False: 4]
  |  Branch (587:19): [True: 0, False: 0]
  |  Branch (587:35): [True: 0, False: 0]
  ------------------
  588|      4|}
pystate.c:init_policy:
  600|     14|{
  601|     14|    *target = default_value;
  602|     14|    char *env = Py_GETENV(env_name);
  603|     14|    if (env && *env != '\0') {
  ------------------
  |  Branch (603:9): [True: 0, False: 14]
  |  Branch (603:16): [True: 0, False: 0]
  ------------------
  604|      0|        long value = atol(env);
  605|      0|        if (value >= min_value && value <= max_value) {
  ------------------
  |  Branch (605:13): [True: 0, False: 0]
  |  Branch (605:35): [True: 0, False: 0]
  ------------------
  606|      0|            *target = (uint16_t)value;
  607|      0|        }
  608|      0|    }
  609|     14|}
pystate.c:is_env_disabled:
  592|      2|{
  593|      2|    char *env = Py_GETENV(env_name);
  594|      2|    return env != NULL && *env == '0';
  ------------------
  |  Branch (594:12): [True: 0, False: 2]
  |  Branch (594:27): [True: 0, False: 0]
  ------------------
  595|      2|}
pystate.c:check_interpreter_whence:
 1281|      4|{
 1282|      4|    if(whence < 0) {
  ------------------
  |  Branch (1282:8): [True: 0, False: 4]
  ------------------
 1283|      0|        return -1;
 1284|      0|    }
 1285|      4|    if (whence > _PyInterpreterState_WHENCE_MAX) {
  ------------------
  |  |   23|      4|#define _PyInterpreterState_WHENCE_MAX 5
  ------------------
  |  Branch (1285:9): [True: 0, False: 4]
  ------------------
 1286|      0|        return -1;
 1287|      0|    }
 1288|      4|    return 0;
 1289|      4|}
pystate.c:new_threadstate:
 1743|      2|{
 1744|       |    // Allocate the thread state.
 1745|      2|    _PyThreadStateImpl *tstate = alloc_threadstate(interp);
 1746|      2|    if (tstate == NULL) {
  ------------------
  |  Branch (1746:9): [True: 0, False: 2]
  ------------------
 1747|      0|        return NULL;
 1748|      0|    }
 1749|       |
 1750|       |#ifdef Py_STATS
 1751|       |    // The PyStats structure is quite large and is allocated separated from
 1752|       |    // tstate.
 1753|       |    if (!_PyStats_ThreadInit(interp, tstate)) {
 1754|       |        free_threadstate(tstate);
 1755|       |        return NULL;
 1756|       |    }
 1757|       |#endif
 1758|       |#ifdef Py_GIL_DISABLED
 1759|       |    int32_t tlbc_idx = _Py_ReserveTLBCIndex(interp);
 1760|       |    if (tlbc_idx < 0) {
 1761|       |        free_threadstate(tstate);
 1762|       |        return NULL;
 1763|       |    }
 1764|       |    Py_ssize_t qsbr_idx = _Py_qsbr_reserve(interp);
 1765|       |    if (qsbr_idx < 0) {
 1766|       |        _Py_UnreserveTLBCIndex(interp, tlbc_idx);
 1767|       |        free_threadstate(tstate);
 1768|       |        return NULL;
 1769|       |    }
 1770|       |#endif
 1771|       |
 1772|       |    /* We serialize concurrent creation to protect global state. */
 1773|      2|    HEAD_LOCK(interp->runtime);
  ------------------
  |  |  284|      2|    PyMutex_LockFlags(&(runtime)->interpreters.mutex, _Py_LOCK_DONT_DETACH)
  ------------------
 1774|       |
 1775|       |    // Initialize the new thread state.
 1776|      2|    interp->threads.next_unique_id += 1;
 1777|      2|    uint64_t id = interp->threads.next_unique_id;
 1778|      2|    init_threadstate(tstate, interp, id, whence);
 1779|       |
 1780|       |    // Add the new thread state to the interpreter.
 1781|      2|    PyThreadState *old_head = interp->threads.head;
 1782|      2|    add_threadstate(interp, (PyThreadState *)tstate, old_head);
 1783|       |
 1784|      2|    HEAD_UNLOCK(interp->runtime);
  ------------------
  |  |  286|      2|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  ------------------
  |  |  |  |   70|      2|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  ------------------
  ------------------
 1785|       |
 1786|       |#ifdef Py_GIL_DISABLED
 1787|       |    // Must be called with lock unlocked to avoid lock ordering deadlocks.
 1788|       |    _Py_qsbr_register(tstate, interp, qsbr_idx);
 1789|       |    tstate->tlbc_index = tlbc_idx;
 1790|       |#endif
 1791|       |
 1792|      2|    return (PyThreadState *)tstate;
 1793|      2|}
pystate.c:alloc_threadstate:
 1573|      2|{
 1574|      2|    _PyThreadStateImpl *tstate;
 1575|       |
 1576|       |    // Try the preallocated tstate first.
 1577|      2|    tstate = _Py_atomic_exchange_ptr(&interp->threads.preallocated, NULL);
 1578|       |
 1579|       |    // Fall back to the allocator.
 1580|      2|    if (tstate == NULL) {
  ------------------
  |  Branch (1580:9): [True: 0, False: 2]
  ------------------
 1581|      0|        tstate = alloc_state(&state_freelists.tstates, sizeof(*tstate),
 1582|      0|                             _Alignof(_PyThreadStateImpl));
 1583|      0|        if (tstate == NULL) {
  ------------------
  |  Branch (1583:13): [True: 0, False: 0]
  ------------------
 1584|      0|            return NULL;
 1585|      0|        }
 1586|      0|        reset_threadstate(tstate);
 1587|      0|    }
 1588|       |    // Set the interpreter before any later initialization can fail.
 1589|      2|    tstate->base.interp = interp;
 1590|      2|    return tstate;
 1591|      2|}
pystate.c:init_threadstate:
 1633|      2|{
 1634|      2|    PyThreadState *tstate = (PyThreadState *)_tstate;
 1635|      2|    if (tstate->_status.initialized) {
  ------------------
  |  Branch (1635:9): [True: 0, False: 2]
  ------------------
 1636|      0|        Py_FatalError("thread state already initialized");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
 1637|      0|    }
 1638|       |
 1639|      2|    assert(interp != NULL);
  ------------------
  |  Branch (1639:5): [True: 2, False: 0]
  ------------------
 1640|      2|    tstate->interp = interp;
 1641|      2|    tstate->eval_breaker =
 1642|      2|        _Py_atomic_load_uintptr_relaxed(&interp->ceval.instrumentation_version);
 1643|       |
 1644|       |    // next/prev are set in add_threadstate().
 1645|      2|    assert(tstate->next == NULL);
  ------------------
  |  Branch (1645:5): [True: 2, False: 0]
  ------------------
 1646|      2|    assert(tstate->prev == NULL);
  ------------------
  |  Branch (1646:5): [True: 2, False: 0]
  ------------------
 1647|       |
 1648|      2|    assert(tstate->_whence == _PyThreadState_WHENCE_NOTSET);
  ------------------
  |  Branch (1648:5): [True: 2, False: 0]
  ------------------
 1649|      2|    assert(whence >= 0 && whence <= _PyThreadState_WHENCE_THREADING_DAEMON);
  ------------------
  |  Branch (1649:5): [True: 2, False: 0]
  |  Branch (1649:5): [True: 2, False: 0]
  ------------------
 1650|      2|    tstate->_whence = whence;
 1651|       |
 1652|      2|    assert(id > 0);
  ------------------
  |  Branch (1652:5): [True: 2, False: 0]
  ------------------
 1653|      2|    tstate->id = id;
 1654|       |
 1655|       |    // thread_id and native_thread_id are set in bind_tstate().
 1656|       |
 1657|      2|    tstate->py_recursion_limit = interp->ceval.recursion_limit;
 1658|      2|    tstate->py_recursion_remaining = interp->ceval.recursion_limit;
 1659|      2|    tstate->exc_info = &tstate->exc_state;
 1660|       |
 1661|       |    // PyGILState_Release must not try to delete this thread state.
 1662|       |    // This is cleared when PyGILState_Ensure() creates the thread state.
 1663|      2|    tstate->gilstate_counter = 1;
 1664|       |
 1665|       |    // Initialize the embedded base frame - sentinel at the bottom of the frame stack
 1666|      2|    _tstate->base_frame.previous = NULL;
 1667|      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
  |  |  ------------------
  ------------------
 1668|      2|    _tstate->base_frame.f_funcobj = PyStackRef_NULL;
 1669|      2|    _tstate->base_frame.f_globals = NULL;
 1670|      2|    _tstate->base_frame.f_builtins = NULL;
 1671|      2|    _tstate->base_frame.f_locals = NULL;
 1672|      2|    _tstate->base_frame.frame_obj = NULL;
 1673|      2|    _tstate->base_frame.instr_ptr = NULL;
 1674|      2|    _tstate->base_frame.stackpointer = _tstate->base_frame.localsplus;
 1675|      2|    _tstate->base_frame.return_offset = 0;
 1676|      2|    _tstate->base_frame.owner = FRAME_OWNED_BY_INTERPRETER;
 1677|      2|    _tstate->base_frame.visited = 0;
 1678|       |#ifdef Py_DEBUG
 1679|       |    _tstate->base_frame.lltrace = 0;
 1680|       |#endif
 1681|       |#ifdef Py_GIL_DISABLED
 1682|       |    _tstate->base_frame.tlbc_index = 0;
 1683|       |#endif
 1684|      2|    _tstate->base_frame.localsplus[0] = PyStackRef_NULL;
 1685|       |
 1686|       |    // current_frame starts pointing to the base frame
 1687|      2|    tstate->current_frame = &_tstate->base_frame;
 1688|       |    // base_frame pointer for profilers to validate stack unwinding
 1689|      2|    tstate->base_frame = &_tstate->base_frame;
 1690|      2|    tstate->last_profiled_frame = NULL;
 1691|      2|    tstate->last_profiled_frame_seq = 0;
 1692|      2|    tstate->datastack_chunk = NULL;
 1693|      2|    tstate->datastack_top = NULL;
 1694|      2|    tstate->datastack_limit = NULL;
 1695|      2|    tstate->datastack_cached_chunk = NULL;
 1696|      2|    tstate->what_event = -1;
 1697|      2|    tstate->current_executor = NULL;
 1698|      2|    tstate->jit_exit = NULL;
 1699|      2|    tstate->dict_global_version = 0;
 1700|       |
 1701|      2|    _tstate->c_stack_soft_limit = UINTPTR_MAX;
 1702|      2|    _tstate->c_stack_top = 0;
 1703|      2|    _tstate->c_stack_hard_limit = 0;
 1704|       |
 1705|      2|    _tstate->c_stack_init_base = 0;
 1706|      2|    _tstate->c_stack_init_top = 0;
 1707|       |
 1708|      2|    _tstate->asyncio_running_loop = NULL;
 1709|      2|    _tstate->asyncio_running_task = NULL;
 1710|      2|    _tstate->lazy_imports = NULL;
 1711|       |
 1712|       |#ifdef _Py_TIER2
 1713|       |    _tstate->jit_tracer_state = NULL;
 1714|       |#endif
 1715|      2|    tstate->delete_later = NULL;
 1716|       |
 1717|      2|    llist_init(&_tstate->mem_free_queue);
 1718|      2|    llist_init(&_tstate->asyncio_tasks_head);
 1719|      2|    if (interp->stoptheworld.requested || _PyRuntime.stoptheworld.requested) {
  ------------------
  |  Branch (1719:9): [True: 0, False: 2]
  |  Branch (1719:43): [True: 0, False: 2]
  ------------------
 1720|       |        // Start in the suspended state if there is an ongoing stop-the-world.
 1721|      0|        tstate->state = _Py_THREAD_SUSPENDED;
  ------------------
  |  |   46|      0|#define _Py_THREAD_SUSPENDED            2
  ------------------
 1722|      0|    }
 1723|       |
 1724|      2|    tstate->_status.initialized = 1;
 1725|      2|}
pystate.c:add_threadstate:
 1730|      2|{
 1731|      2|    assert(interp->threads.head != tstate);
  ------------------
  |  Branch (1731:5): [True: 2, False: 0]
  ------------------
 1732|      2|    if (next != NULL) {
  ------------------
  |  Branch (1732:9): [True: 0, False: 2]
  ------------------
 1733|      0|        assert(next->prev == NULL || next->prev == tstate);
  ------------------
  |  Branch (1733:9): [True: 0, False: 0]
  |  Branch (1733:9): [True: 0, False: 0]
  ------------------
 1734|      0|        next->prev = tstate;
 1735|      0|    }
 1736|      2|    tstate->next = next;
 1737|      2|    assert(tstate->prev == NULL);
  ------------------
  |  Branch (1737:5): [True: 2, False: 0]
  ------------------
 1738|      2|    interp->threads.head = tstate;
 1739|      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:
 1535|      4|{
 1536|      4|    return (tstate->_status.initialized &&
  ------------------
  |  Branch (1536:13): [True: 4, False: 0]
  ------------------
 1537|      4|            !tstate->_status.finalized &&
  ------------------
  |  Branch (1537:13): [True: 4, False: 0]
  ------------------
 1538|      4|            !tstate->_status.cleared &&
  ------------------
  |  Branch (1538:13): [True: 4, False: 0]
  ------------------
 1539|      4|            !tstate->_status.finalizing);
  ------------------
  |  Branch (1539:13): [True: 4, False: 0]
  ------------------
 1540|      4|}
pystate.c:tstate_mimalloc_bind:
 3406|      2|{
 3407|       |#ifdef Py_GIL_DISABLED
 3408|       |    struct _mimalloc_thread_state *mts = &((_PyThreadStateImpl*)tstate)->mimalloc;
 3409|       |
 3410|       |    // Initialize the mimalloc thread state. This must be called from the
 3411|       |    // same thread that will use the thread state. The "mem" heap doubles as
 3412|       |    // the "backing" heap.
 3413|       |    mi_tld_t *tld = &mts->tld;
 3414|       |    _mi_tld_init(tld, &mts->heaps[_Py_MIMALLOC_HEAP_MEM]);
 3415|       |    llist_init(&mts->page_list);
 3416|       |
 3417|       |    // Exiting threads abandon any remaining in-use segments to be re-claimed
 3418|       |    // later by other threads. We use a per-interpreter mimalloc sub-process
 3419|       |    // to keep Python objects from different interpreters separate.
 3420|       |    assert(tstate->interp->mimalloc.subproc != NULL);
 3421|       |    tld->segments.subproc = tstate->interp->mimalloc.subproc;
 3422|       |
 3423|       |    // Don't fill in the first N bytes up to ob_type in debug builds. We may
 3424|       |    // access ob_tid and the refcount fields in the dict and list lock-less
 3425|       |    // accesses, so they must remain valid for a while after deallocation.
 3426|       |    size_t base_offset = offsetof(PyObject, ob_type);
 3427|       |    if (_PyMem_DebugEnabled()) {
 3428|       |        // The debug allocator adds two words at the beginning of each block.
 3429|       |        base_offset += 2 * sizeof(size_t);
 3430|       |    }
 3431|       |    size_t debug_offsets[_Py_MIMALLOC_HEAP_COUNT] = {
 3432|       |        [_Py_MIMALLOC_HEAP_OBJECT] = base_offset,
 3433|       |        [_Py_MIMALLOC_HEAP_GC] = base_offset,
 3434|       |        [_Py_MIMALLOC_HEAP_GC_PRE] = base_offset + 2 * sizeof(PyObject *),
 3435|       |    };
 3436|       |
 3437|       |    // Initialize each heap
 3438|       |    for (uint8_t i = 0; i < _Py_MIMALLOC_HEAP_COUNT; i++) {
 3439|       |        _mi_heap_init(&mts->heaps[i], tld, _mi_arena_id_none(), false, i);
 3440|       |        mts->heaps[i].debug_offset = (uint8_t)debug_offsets[i];
 3441|       |    }
 3442|       |
 3443|       |    // Heaps that store Python objects should use QSBR to delay freeing
 3444|       |    // mimalloc pages while there may be concurrent lock-free readers.
 3445|       |    mts->heaps[_Py_MIMALLOC_HEAP_OBJECT].page_use_qsbr = true;
 3446|       |    mts->heaps[_Py_MIMALLOC_HEAP_GC].page_use_qsbr = true;
 3447|       |    mts->heaps[_Py_MIMALLOC_HEAP_GC_PRE].page_use_qsbr = true;
 3448|       |
 3449|       |    // By default, object allocations use _Py_MIMALLOC_HEAP_OBJECT.
 3450|       |    // _PyObject_GC_New() and similar functions temporarily override this to
 3451|       |    // use one of the GC heaps.
 3452|       |    mts->current_object_heap = &mts->heaps[_Py_MIMALLOC_HEAP_OBJECT];
 3453|       |
 3454|       |    _Py_atomic_store_int(&mts->initialized, 1);
 3455|       |#endif
 3456|      2|}
pystate.c:gilstate_get:
  130|  1.28k|{
  131|  1.28k|    return _Py_tss_gilstate;
  132|  1.28k|}
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|  2.54k|{
  154|  2.54k|    return tstate->_status.bound && !tstate->_status.unbound;
  ------------------
  |  Branch (154:12): [True: 2.54k, False: 0]
  |  Branch (154:37): [True: 2.54k, False: 0]
  ------------------
  155|  2.54k|}
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|  1.27k|{
  102|  1.27k|    _Py_tss_tstate = NULL;
  103|       |    _Py_tss_interp = NULL;
  104|  1.27k|}
pystate.c:current_fast_set:
   92|  1.27k|{
   93|  1.27k|    assert(tstate != NULL);
  ------------------
  |  Branch (93:5): [True: 1.27k, False: 0]
  ------------------
   94|  1.27k|    _Py_tss_tstate = tstate;
   95|  1.27k|    assert(tstate->interp != NULL);
  ------------------
  |  Branch (95:5): [True: 1.27k, False: 0]
  ------------------
   96|  1.27k|    _Py_tss_interp = tstate->interp;
   97|  1.27k|}
pystate.c:tstate_try_attach:
 2309|  1.27k|{
 2310|       |#ifdef Py_GIL_DISABLED
 2311|       |    int expected = _Py_THREAD_DETACHED;
 2312|       |    return _Py_atomic_compare_exchange_int(&tstate->state,
 2313|       |                                           &expected,
 2314|       |                                           _Py_THREAD_ATTACHED);
 2315|       |#else
 2316|  1.27k|    assert(tstate->state == _Py_THREAD_DETACHED);
  ------------------
  |  Branch (2316:5): [True: 1.27k, False: 0]
  ------------------
 2317|  1.27k|    tstate->state = _Py_THREAD_ATTACHED;
  ------------------
  |  |   45|  1.27k|#define _Py_THREAD_ATTACHED             1
  ------------------
 2318|  1.27k|    return 1;
 2319|  1.27k|#endif
 2320|  1.27k|}
pystate.c:tstate_activate:
 2274|  1.27k|{
 2275|  1.27k|    assert(tstate != NULL);
  ------------------
  |  Branch (2275:5): [True: 1.27k, False: 0]
  ------------------
 2276|       |    // XXX assert(tstate_is_alive(tstate));
 2277|  1.27k|    assert(tstate_is_bound(tstate));
  ------------------
  |  Branch (2277:5): [True: 1.27k, False: 0]
  ------------------
 2278|  1.27k|    assert(!tstate->_status.active);
  ------------------
  |  Branch (2278:5): [True: 1.27k, False: 0]
  ------------------
 2279|       |
 2280|  1.27k|    assert(!tstate->_status.bound_gilstate ||
  ------------------
  |  Branch (2280:5): [True: 0, False: 1.27k]
  |  Branch (2280:5): [True: 1.27k, False: 0]
  ------------------
 2281|  1.27k|           tstate == gilstate_get());
 2282|  1.27k|    if (!tstate->_status.bound_gilstate) {
  ------------------
  |  Branch (2282:9): [True: 0, False: 1.27k]
  ------------------
 2283|      0|        bind_gilstate_tstate(tstate);
 2284|      0|    }
 2285|       |
 2286|  1.27k|    tstate->_status.active = 1;
 2287|  1.27k|}
pystate.c:detach_thread:
 2444|  1.27k|{
 2445|       |    // XXX assert(tstate_is_alive(tstate) && tstate_is_bound(tstate));
 2446|  1.27k|    assert(_Py_atomic_load_int_relaxed(&tstate->state) == _Py_THREAD_ATTACHED);
  ------------------
  |  Branch (2446:5): [True: 1.27k, False: 0]
  ------------------
 2447|  1.27k|    assert(tstate == current_fast_get());
  ------------------
  |  Branch (2447:5): [True: 1.27k, False: 0]
  ------------------
 2448|  1.27k|    if (tstate->critical_section != 0) {
  ------------------
  |  Branch (2448:9): [True: 0, False: 1.27k]
  ------------------
 2449|      0|        _PyCriticalSection_SuspendAll(tstate);
 2450|      0|    }
 2451|       |#ifdef Py_GIL_DISABLED
 2452|       |    _Py_qsbr_detach(((_PyThreadStateImpl *)tstate)->qsbr);
 2453|       |#endif
 2454|  1.27k|    tstate_deactivate(tstate);
 2455|  1.27k|    tstate_set_detached(tstate, detached_state);
 2456|  1.27k|    current_fast_clear(&_PyRuntime);
 2457|  1.27k|    _PyEval_ReleaseLock(tstate->interp, tstate, 0);
 2458|  1.27k|}
pystate.c:tstate_deactivate:
 2291|  1.27k|{
 2292|  1.27k|    assert(tstate != NULL);
  ------------------
  |  Branch (2292:5): [True: 1.27k, False: 0]
  ------------------
 2293|       |    // XXX assert(tstate_is_alive(tstate));
 2294|  1.27k|    assert(tstate_is_bound(tstate));
  ------------------
  |  Branch (2294:5): [True: 1.27k, False: 0]
  ------------------
 2295|  1.27k|    assert(tstate->_status.active);
  ------------------
  |  Branch (2295:5): [True: 1.27k, False: 0]
  ------------------
 2296|       |
 2297|       |#ifdef Py_STATS
 2298|       |    _PyStats_Detach((_PyThreadStateImpl *)tstate);
 2299|       |#endif
 2300|       |
 2301|  1.27k|    tstate->_status.active = 0;
 2302|       |
 2303|       |    // We do not unbind the gilstate tstate here.
 2304|       |    // It will still be used in PyGILState_Ensure().
 2305|  1.27k|}
pystate.c:tstate_set_detached:
 2340|  1.27k|{
 2341|  1.27k|    assert(_Py_atomic_load_int_relaxed(&tstate->state) == _Py_THREAD_ATTACHED);
  ------------------
  |  Branch (2341:5): [True: 1.27k, False: 0]
  ------------------
 2342|       |#ifdef Py_GIL_DISABLED
 2343|       |    _Py_atomic_store_int(&tstate->state, detached_state);
 2344|       |#else
 2345|  1.27k|    tstate->state = detached_state;
 2346|  1.27k|#endif
 2347|  1.27k|}
pystate.c:push_chunk:
 3285|      2|{
 3286|      2|    int allocate_size = _PY_DATA_STACK_CHUNK_SIZE;
  ------------------
  |  |   65|      2|#define _PY_DATA_STACK_CHUNK_SIZE (16*1024)
  ------------------
 3287|      2|    while (allocate_size < (int)sizeof(PyObject*)*(size + MINIMUM_OVERHEAD)) {
  ------------------
  |  | 3281|      2|#define MINIMUM_OVERHEAD 1000
  ------------------
  |  Branch (3287:12): [True: 0, False: 2]
  ------------------
 3288|      0|        allocate_size *= 2;
 3289|      0|    }
 3290|      2|    _PyStackChunk *new;
 3291|      2|    if (tstate->datastack_cached_chunk != NULL
  ------------------
  |  Branch (3291:9): [True: 0, False: 2]
  ------------------
 3292|      0|        && (size_t)allocate_size <= tstate->datastack_cached_chunk->size)
  ------------------
  |  Branch (3292:12): [True: 0, False: 0]
  ------------------
 3293|      0|    {
 3294|      0|        new = tstate->datastack_cached_chunk;
 3295|      0|        tstate->datastack_cached_chunk = NULL;
 3296|      0|        new->previous = tstate->datastack_chunk;
 3297|      0|        new->top = 0;
 3298|      0|    }
 3299|      2|    else {
 3300|      2|        new = allocate_chunk(allocate_size, tstate->datastack_chunk);
 3301|      2|        if (new == NULL) {
  ------------------
  |  Branch (3301:13): [True: 0, False: 2]
  ------------------
 3302|      0|            return NULL;
 3303|      0|        }
 3304|      2|    }
 3305|      2|    if (tstate->datastack_chunk) {
  ------------------
  |  Branch (3305:9): [True: 0, False: 2]
  ------------------
 3306|      0|        tstate->datastack_chunk->top = tstate->datastack_top -
 3307|      0|                                       &tstate->datastack_chunk->data[0];
 3308|      0|    }
 3309|      2|    tstate->datastack_chunk = new;
 3310|      2|    tstate->datastack_limit = (PyObject **)(((char *)new) + allocate_size);
 3311|       |    // When new is the "root" chunk (i.e. new->previous == NULL), we can keep
 3312|       |    // _PyThreadState_PopFrame from freeing it later by "skipping" over the
 3313|       |    // first element:
 3314|       |    PyObject **res = &new->data[new->previous == NULL];
 3315|      2|    tstate->datastack_top = res + size;
 3316|      2|    return res;
 3317|      2|}
pystate.c:allocate_chunk:
 1550|      2|{
 1551|      2|    assert(size_in_bytes % sizeof(PyObject **) == 0);
  ------------------
  |  Branch (1551:5): [True: 2, False: 0]
  ------------------
 1552|      2|    _PyStackChunk *res = _PyObject_VirtualAlloc(size_in_bytes);
 1553|      2|    if (res == NULL) {
  ------------------
  |  Branch (1553:9): [True: 0, False: 2]
  ------------------
 1554|      0|        return NULL;
 1555|      0|    }
 1556|      2|    res->previous = previous;
 1557|      2|    res->size = size_in_bytes;
 1558|      2|    res->top = 0;
 1559|      2|    return res;
 1560|      2|}

PyOS_mystrnicmp:
    8|     18|{
    9|     18|    const unsigned char *p1, *p2;
   10|     18|    if (size == 0)
  ------------------
  |  Branch (10:9): [True: 0, False: 18]
  ------------------
   11|      0|        return 0;
   12|     18|    p1 = (const unsigned char *)s1;
   13|     18|    p2 = (const unsigned char *)s2;
   14|     38|    for (; (--size > 0) && *p1 && *p2 && (Py_TOLOWER(*p1) == Py_TOLOWER(*p2));
  ------------------
  |  |   32|     38|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|     38|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
                  for (; (--size > 0) && *p1 && *p2 && (Py_TOLOWER(*p1) == Py_TOLOWER(*p2));
  ------------------
  |  |   32|     38|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|     38|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (14:12): [True: 38, False: 0]
  |  Branch (14:28): [True: 38, False: 0]
  |  Branch (14:35): [True: 38, False: 0]
  |  Branch (14:42): [True: 20, False: 18]
  ------------------
   15|     20|         p1++, p2++) {
   16|     20|        ;
   17|     20|    }
   18|     18|    return Py_TOLOWER(*p1) - Py_TOLOWER(*p2);
  ------------------
  |  |   32|     18|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|     18|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
                  return Py_TOLOWER(*p1) - Py_TOLOWER(*p2);
  ------------------
  |  |   32|     18|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|     18|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
   19|     18|}

PyOS_string_to_double:
  302|     55|{
  303|     55|    double x, result=-1.0;
  304|     55|    char *fail_pos;
  305|       |
  306|     55|    errno = 0;
  307|     55|    x = _PyOS_ascii_strtod(s, &fail_pos);
  308|       |
  309|     55|    if (errno == ENOMEM) {
  ------------------
  |  Branch (309:9): [True: 0, False: 55]
  ------------------
  310|      0|        PyErr_NoMemory();
  311|      0|        fail_pos = (char *)s;
  312|      0|    }
  313|     55|    else if (!endptr && (fail_pos == s || *fail_pos != '\0'))
  ------------------
  |  Branch (313:14): [True: 55, False: 0]
  |  Branch (313:26): [True: 0, False: 55]
  |  Branch (313:43): [True: 0, False: 55]
  ------------------
  314|      0|        PyErr_Format(PyExc_ValueError,
  315|      0|                      "could not convert string to float: "
  316|      0|                      "'%.200s'", s);
  317|     55|    else if (fail_pos == s)
  ------------------
  |  Branch (317:14): [True: 0, False: 55]
  ------------------
  318|      0|        PyErr_Format(PyExc_ValueError,
  319|      0|                      "could not convert string to float: "
  320|      0|                      "'%.200s'", s);
  321|     55|    else if (errno == ERANGE && fabs(x) >= 1.0 && overflow_exception)
  ------------------
  |  Branch (321:14): [True: 0, False: 55]
  |  Branch (321:33): [True: 0, False: 0]
  |  Branch (321:51): [True: 0, False: 0]
  ------------------
  322|      0|        PyErr_Format(overflow_exception,
  323|      0|                      "value too large to convert to float: "
  324|      0|                      "'%.200s'", s);
  325|     55|    else
  326|     55|        result = x;
  327|       |
  328|     55|    if (endptr != NULL)
  ------------------
  |  Branch (328:9): [True: 0, False: 55]
  ------------------
  329|      0|        *endptr = fail_pos;
  330|     55|    return result;
  331|     55|}
pystrtod.c:_PyOS_ascii_strtod:
   94|     55|{
   95|     55|    double result;
   96|     55|    _Py_SET_53BIT_PRECISION_HEADER;
  ------------------
  |  |   94|     55|    unsigned short old_387controlword, new_387controlword
  ------------------
   97|       |
   98|     55|    assert(nptr != NULL);
  ------------------
  |  Branch (98:5): [True: 55, False: 0]
  ------------------
   99|       |    /* Set errno to zero, so that we can distinguish zero results
  100|       |       and underflows */
  101|     55|    errno = 0;
  102|       |
  103|     55|    _Py_SET_53BIT_PRECISION_START;
  ------------------
  |  |   96|     55|    do {                                                                \
  |  |   97|     55|        old_387controlword = _Py_get_387controlword();                  \
  |  |   98|     55|        new_387controlword = (old_387controlword & ~0x0f00) | 0x0200;   \
  |  |   99|     55|        if (new_387controlword != old_387controlword) {                 \
  |  |  ------------------
  |  |  |  Branch (99:13): [True: 55, False: 0]
  |  |  ------------------
  |  |  100|     55|            _Py_set_387controlword(new_387controlword);                 \
  |  |  101|     55|        }                                                               \
  |  |  102|     55|    } while (0)
  |  |  ------------------
  |  |  |  Branch (102:14): [Folded, False: 55]
  |  |  ------------------
  ------------------
  104|     55|    result = _Py_dg_strtod(nptr, endptr);
  105|     55|    _Py_SET_53BIT_PRECISION_END;
  ------------------
  |  |  104|     55|    do {                                                                \
  |  |  105|     55|        if (new_387controlword != old_387controlword) {                 \
  |  |  ------------------
  |  |  |  Branch (105:13): [True: 55, False: 0]
  |  |  ------------------
  |  |  106|     55|            _Py_set_387controlword(old_387controlword);                 \
  |  |  107|     55|        }                                                               \
  |  |  108|     55|    } while (0)
  |  |  ------------------
  |  |  |  Branch (108:14): [Folded, False: 55]
  |  |  ------------------
  ------------------
  106|       |
  107|     55|    if (*endptr == nptr)
  ------------------
  |  Branch (107:9): [True: 0, False: 55]
  ------------------
  108|       |        /* string might represent an inf or nan */
  109|      0|        result = _Py_parse_inf_or_nan(nptr, endptr);
  110|       |
  111|     55|    return result;
  112|       |
  113|     55|}

PyRun_StringFlags:
 1311|      2|                     PyObject *locals, PyCompilerFlags *flags) {
 1312|       |
 1313|       |    return _PyRun_String(str, NULL, start, globals, locals, flags, 0);
 1314|      2|}
_Py_CompileString:
 1574|     33|{
 1575|     33|    if (check_start(start) < 0) {
  ------------------
  |  Branch (1575:9): [True: 0, False: 33]
  ------------------
 1576|      0|        return NULL;
 1577|      0|    }
 1578|       |
 1579|     33|    PyArena *arena = _PyArena_New();
 1580|     33|    if (arena == NULL)
  ------------------
  |  Branch (1580:9): [True: 0, False: 33]
  ------------------
 1581|      0|        return NULL;
 1582|       |
 1583|     33|    PyObject *result = NULL;
 1584|     33|    PyObject *incomplete = NULL;
 1585|     33|    mod_ty mod = _PyParser_ASTFromString(str, filename, start, flags, arena,
 1586|     33|                                        module, &incomplete);
 1587|     33|    if (mod == NULL) {
  ------------------
  |  Branch (1587:9): [True: 24, False: 9]
  ------------------
 1588|     24|        goto done;
 1589|     24|    }
 1590|      9|    if (flags && (flags->cf_flags & PyCF_ONLY_AST)) {
  ------------------
  |  |   17|      9|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (1590:9): [True: 9, False: 0]
  |  Branch (1590:18): [True: 9, False: 0]
  ------------------
 1591|      9|        int syntax_check_only = ((flags->cf_flags & PyCF_OPTIMIZED_AST) == PyCF_ONLY_AST); /* unoptiomized AST */
  ------------------
  |  |   22|      9|#define PyCF_OPTIMIZED_AST (0x8000 | PyCF_ONLY_AST)
  |  |  ------------------
  |  |  |  |   17|      9|#define PyCF_ONLY_AST 0x0400
  |  |  ------------------
  ------------------
                      int syntax_check_only = ((flags->cf_flags & PyCF_OPTIMIZED_AST) == PyCF_ONLY_AST); /* unoptiomized AST */
  ------------------
  |  |   17|      9|#define PyCF_ONLY_AST 0x0400
  ------------------
 1592|      9|        if (_PyCompile_AstPreprocess(mod, filename, flags, optimize, arena,
  ------------------
  |  Branch (1592:13): [True: 0, False: 9]
  ------------------
 1593|      9|                                     syntax_check_only, module) < 0)
 1594|      0|        {
 1595|      0|            goto done;
 1596|      0|        }
 1597|      9|        if (incomplete != NULL) {
  ------------------
  |  Branch (1597:13): [True: 0, False: 9]
  ------------------
 1598|      0|            goto done;
 1599|      0|        }
 1600|      9|        result = PyAST_mod2obj(mod);
 1601|      9|        _PyArena_Free(arena);
 1602|      9|        return result;
 1603|      9|    }
 1604|      0|    result = (PyObject *)_PyAST_Compile(mod, filename, flags, optimize, arena, module);
 1605|       |
 1606|     24|done:
 1607|     24|    _PyArena_Free(arena);
 1608|     24|    if (incomplete != NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (1608:9): [True: 0, False: 24]
  |  Branch (1608:31): [True: 0, False: 0]
  ------------------
 1609|      0|        Py_CLEAR(result);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1610|      0|        PyErr_SetRaisedException(incomplete);
 1611|      0|    }
 1612|     24|    else {
 1613|     24|        Py_XDECREF(incomplete);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1614|     24|    }
 1615|     24|    return result;
 1616|      0|}
_Py_SourceAsString:
 1653|     35|{
 1654|     35|    const char *str;
 1655|     35|    Py_ssize_t size;
 1656|     35|    Py_buffer view;
 1657|       |
 1658|     35|    *cmd_copy = NULL;
 1659|     35|    if (PyUnicode_Check(cmd)) {
  ------------------
  |  |  103|     35|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     35|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 35, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1660|     35|        cf->cf_flags |= PyCF_IGNORE_COOKIE;
  ------------------
  |  |   18|     35|#define PyCF_IGNORE_COOKIE 0x0800
  ------------------
 1661|     35|        str = PyUnicode_AsUTF8AndSize(cmd, &size);
 1662|     35|        if (str == NULL)
  ------------------
  |  Branch (1662:13): [True: 0, False: 35]
  ------------------
 1663|      0|            return NULL;
 1664|     35|    }
 1665|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1666|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1667|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1668|      0|    }
 1669|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1670|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1671|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1672|      0|    }
 1673|      0|    else if (PyObject_GetBuffer(cmd, &view, PyBUF_SIMPLE) == 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1673:14): [True: 0, False: 0]
  ------------------
 1674|       |        /* Copy to NUL-terminated buffer. */
 1675|      0|        *cmd_copy = PyBytes_FromStringAndSize(
 1676|      0|            (const char *)view.buf, view.len);
 1677|      0|        PyBuffer_Release(&view);
 1678|      0|        if (*cmd_copy == NULL) {
  ------------------
  |  Branch (1678:13): [True: 0, False: 0]
  ------------------
 1679|      0|            return NULL;
 1680|      0|        }
 1681|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1682|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1683|      0|    }
 1684|      0|    else {
 1685|      0|        PyErr_Format(PyExc_TypeError,
 1686|      0|            "%s() arg 1 must be a %s object",
 1687|      0|            funcname, what);
 1688|      0|        return NULL;
 1689|      0|    }
 1690|       |
 1691|     35|    if (strlen(str) != (size_t)size) {
  ------------------
  |  Branch (1691:9): [True: 0, False: 35]
  ------------------
 1692|      0|        PyErr_SetString(PyExc_SyntaxError,
 1693|      0|            "source code string cannot contain null bytes");
 1694|      0|        Py_CLEAR(*cmd_copy);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1695|      0|        return NULL;
 1696|      0|    }
 1697|     35|    return str;
 1698|     35|}
pythonrun.c:run_mod:
 1443|      2|{
 1444|      2|    PyThreadState *tstate = _PyThreadState_GET();
 1445|      2|    PyObject* interactive_filename = filename;
 1446|      2|    if (interactive_src) {
  ------------------
  |  Branch (1446:9): [True: 0, False: 2]
  ------------------
 1447|      0|        PyInterpreterState *interp = tstate->interp;
 1448|      0|        if (generate_new_source) {
  ------------------
  |  Branch (1448:13): [True: 0, False: 0]
  ------------------
 1449|      0|            interactive_filename = get_interactive_filename(
 1450|      0|                filename, interp->_interactive_src_count++);
 1451|      0|        } else {
 1452|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1453|      0|        }
 1454|      0|        if (interactive_filename == NULL) {
  ------------------
  |  Branch (1454:13): [True: 0, False: 0]
  ------------------
 1455|      0|            return NULL;
 1456|      0|        }
 1457|      0|    }
 1458|      2|    PyObject *module = NULL;
 1459|      2|    if (globals && PyDict_GetItemStringRef(globals, "__name__", &module) < 0) {
  ------------------
  |  Branch (1459:9): [True: 2, False: 0]
  |  Branch (1459:20): [True: 0, False: 2]
  ------------------
 1460|      0|        if (interactive_src) {
  ------------------
  |  Branch (1460:13): [True: 0, False: 0]
  ------------------
 1461|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1462|      0|        }
 1463|      0|        return NULL;
 1464|      0|    }
 1465|       |
 1466|      2|    PyCodeObject *co = _PyAST_Compile(mod, interactive_filename, flags, -1,
 1467|      2|                                      arena, module);
 1468|      2|    Py_XDECREF(module);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1469|      2|    if (co == NULL) {
  ------------------
  |  Branch (1469:9): [True: 0, False: 2]
  ------------------
 1470|      0|        if (interactive_src) {
  ------------------
  |  Branch (1470:13): [True: 0, False: 0]
  ------------------
 1471|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1472|      0|        }
 1473|      0|        return NULL;
 1474|      0|    }
 1475|       |
 1476|      2|    if (interactive_src) {
  ------------------
  |  Branch (1476:9): [True: 0, False: 2]
  ------------------
 1477|      0|        PyObject *print_tb_func = PyImport_ImportModuleAttrString(
 1478|      0|            "linecache",
 1479|      0|            "_register_code");
 1480|      0|        if (print_tb_func == NULL) {
  ------------------
  |  Branch (1480:13): [True: 0, False: 0]
  ------------------
 1481|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1482|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1483|      0|            return NULL;
 1484|      0|        }
 1485|       |
 1486|      0|        if (!PyCallable_Check(print_tb_func)) {
  ------------------
  |  Branch (1486:13): [True: 0, False: 0]
  ------------------
 1487|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1488|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1489|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1490|      0|            PyErr_SetString(PyExc_ValueError, "linecache._register_code is not callable");
 1491|      0|            return NULL;
 1492|      0|        }
 1493|       |
 1494|      0|        PyObject* result = PyObject_CallFunction(
 1495|      0|            print_tb_func, "OOO",
 1496|      0|            co,
 1497|      0|            interactive_src,
 1498|      0|            filename
 1499|      0|        );
 1500|       |
 1501|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1502|       |
 1503|      0|        Py_XDECREF(print_tb_func);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1504|      0|        Py_XDECREF(result);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1505|      0|        if (!result) {
  ------------------
  |  Branch (1505:13): [True: 0, False: 0]
  ------------------
 1506|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1507|      0|            return NULL;
 1508|      0|        }
 1509|      0|    }
 1510|       |
 1511|      2|    if (_PySys_Audit(tstate, "exec", "O", co) < 0) {
  ------------------
  |  Branch (1511:9): [True: 0, False: 2]
  ------------------
 1512|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1513|      0|        return NULL;
 1514|      0|    }
 1515|       |
 1516|      2|    PyObject *v = run_eval_code_obj(tstate, co, globals, locals);
 1517|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1518|      2|    return v;
 1519|      2|}
pythonrun.c:run_eval_code_obj:
 1394|      2|{
 1395|       |    /* Set globals['__builtins__'] if it doesn't exist */
 1396|      2|    if (!globals || !PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|      2|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|      2|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1396:9): [True: 0, False: 2]
  ------------------
 1397|      0|        PyErr_SetString(PyExc_SystemError,
 1398|      0|                        "globals must be a real dict or a real frozendict");
 1399|      0|        return NULL;
 1400|      0|    }
 1401|      2|    int has_builtins = PyDict_ContainsString(globals, "__builtins__");
 1402|      2|    if (has_builtins < 0) {
  ------------------
  |  Branch (1402:9): [True: 0, False: 2]
  ------------------
 1403|      0|        return NULL;
 1404|      0|    }
 1405|      2|    if (!has_builtins) {
  ------------------
  |  Branch (1405:9): [True: 0, False: 2]
  ------------------
 1406|      0|        if (PyDict_SetItemString(globals, "__builtins__",
  ------------------
  |  Branch (1406:13): [True: 0, False: 0]
  ------------------
 1407|      0|                                 tstate->interp->builtins) < 0)
 1408|      0|        {
 1409|      0|            return NULL;
 1410|      0|        }
 1411|      0|    }
 1412|       |
 1413|      2|    return PyEval_EvalCode((PyObject*)co, globals, locals);
 1414|      2|}
pythonrun.c:_PyRun_String:
 1266|      2|{
 1267|      2|    if (check_start(start) < 0) {
  ------------------
  |  Branch (1267:9): [True: 0, False: 2]
  ------------------
 1268|      0|        return NULL;
 1269|      0|    }
 1270|       |
 1271|      2|    PyObject *ret = NULL;
 1272|      2|    mod_ty mod;
 1273|      2|    PyArena *arena;
 1274|       |
 1275|      2|    arena = _PyArena_New();
 1276|      2|    if (arena == NULL)
  ------------------
  |  Branch (1276:9): [True: 0, False: 2]
  ------------------
 1277|      0|        return NULL;
 1278|       |
 1279|      2|    PyObject* source = NULL;
 1280|      2|    _Py_DECLARE_STR(anon_string, "<string>");
 1281|       |
 1282|      2|    if (name) {
  ------------------
  |  Branch (1282:9): [True: 0, False: 2]
  ------------------
 1283|      0|        source = PyUnicode_FromString(str);
 1284|      0|        if (!source) {
  ------------------
  |  Branch (1284:13): [True: 0, False: 0]
  ------------------
 1285|      0|            PyErr_Clear();
 1286|      0|        }
 1287|      2|    } else {
 1288|      2|        name = &_Py_STR(anon_string);
  ------------------
  |  |  953|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1289|      2|    }
 1290|      2|    PyObject *module = NULL;
 1291|      2|    if (globals && PyDict_GetItemStringRef(globals, "__name__", &module) < 0) {
  ------------------
  |  Branch (1291:9): [True: 2, False: 0]
  |  Branch (1291:20): [True: 0, False: 2]
  ------------------
 1292|      0|        goto done;
 1293|      0|    }
 1294|       |
 1295|      2|    mod = _PyParser_ASTFromString(str, name, start, flags, arena, module, NULL);
 1296|      2|    Py_XDECREF(module);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1297|       |
 1298|      2|    if (mod != NULL) {
  ------------------
  |  Branch (1298:9): [True: 2, False: 0]
  ------------------
 1299|      2|        ret = run_mod(mod, name, globals, locals, flags, arena, source, generate_new_source);
 1300|      2|    }
 1301|       |
 1302|      2|done:
 1303|      2|    Py_XDECREF(source);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1304|      2|    _PyArena_Free(arena);
 1305|      2|    return ret;
 1306|      2|}
pythonrun.c:check_start:
 1252|     35|{
 1253|     35|    if (start == Py_single_input || start == Py_file_input
  ------------------
  |  |    8|     70|#define Py_single_input 256
  ------------------
                  if (start == Py_single_input || start == Py_file_input
  ------------------
  |  |    9|     70|#define Py_file_input 257
  ------------------
  |  Branch (1253:9): [True: 0, False: 35]
  |  Branch (1253:37): [True: 0, False: 35]
  ------------------
 1254|     35|        || start == Py_eval_input || start == Py_func_type_input)
  ------------------
  |  |   10|     70|#define Py_eval_input 258
  ------------------
                      || start == Py_eval_input || start == Py_func_type_input)
  ------------------
  |  |   11|      0|#define Py_func_type_input 345
  ------------------
  |  Branch (1254:12): [True: 35, False: 0]
  |  Branch (1254:38): [True: 0, False: 0]
  ------------------
 1255|     35|    {
 1256|     35|        return 0;
 1257|     35|    }
 1258|      0|    PyErr_SetString(PyExc_ValueError, "invalid start argument");
 1259|      0|    return -1;
 1260|     35|}

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

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

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

_PyMember_GetOffset:
   26|    372|{
   27|    372|    unsigned char *addr = (unsigned char *)obj + mp->offset;
   28|    372|    if (mp->flags & _Py_AFTER_ITEMS) {
  ------------------
  |  |   89|    372|#  define _Py_AFTER_ITEMS      (1 << 4) // For internal use.
  ------------------
  |  Branch (28:9): [True: 0, False: 372]
  ------------------
   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);
  ------------------
  |  |  249|      0|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  250|      0|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
   31|      0|    }
   32|    372|    return addr;
   33|    372|}
PyMember_GetOne:
   37|    138|{
   38|    138|    PyObject *v;
   39|    138|    if (l->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    138|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (39:9): [True: 0, False: 138]
  ------------------
   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|    138|    const void *addr = _PyMember_GetOffset((PyObject *)obj_addr, l);
   47|    138|    switch (l->type) {
   48|      0|    case Py_T_BOOL:
  ------------------
  |  |   73|      0|#define Py_T_BOOL      14
  ------------------
  |  Branch (48:5): [True: 0, False: 138]
  ------------------
   49|      0|        v = PyBool_FromLong(FT_ATOMIC_LOAD_CHAR_RELAXED(*(char*)addr));
  ------------------
  |  |  179|      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: 138]
  ------------------
   52|      0|        v = PyLong_FromLong(FT_ATOMIC_LOAD_CHAR_RELAXED(*(char*)addr));
  ------------------
  |  |  179|      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: 138]
  ------------------
   55|      0|        v = PyLong_FromUnsignedLong(FT_ATOMIC_LOAD_UCHAR_RELAXED(*(unsigned char*)addr));
  ------------------
  |  |  181|      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: 138]
  ------------------
   58|      0|        v = PyLong_FromLong(FT_ATOMIC_LOAD_SHORT_RELAXED(*(short*)addr));
  ------------------
  |  |  183|      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: 138]
  ------------------
   61|      0|        v = PyLong_FromUnsignedLong(FT_ATOMIC_LOAD_USHORT_RELAXED(*(unsigned short*)addr));
  ------------------
  |  |  185|      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: 138]
  ------------------
   64|      0|        v = PyLong_FromLong(FT_ATOMIC_LOAD_INT_RELAXED(*(int*)addr));
  ------------------
  |  |  189|      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: 138]
  ------------------
   67|      0|        v = PyLong_FromUnsignedLong(FT_ATOMIC_LOAD_UINT_RELAXED(*(unsigned int*)addr));
  ------------------
  |  |  192|      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: 138]
  ------------------
   70|      0|        v = PyLong_FromLong(FT_ATOMIC_LOAD_LONG_RELAXED(*(long*)addr));
  ------------------
  |  |  194|      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: 138]
  ------------------
   73|      0|        v = PyLong_FromUnsignedLong(FT_ATOMIC_LOAD_ULONG_RELAXED(*(unsigned long*)addr));
  ------------------
  |  |  164|      0|#define FT_ATOMIC_LOAD_ULONG_RELAXED(value) value
  ------------------
   74|      0|        break;
   75|      0|    case Py_T_PYSSIZET:
  ------------------
  |  |   79|      0|#define Py_T_PYSSIZET  19      /* Py_ssize_t */
  ------------------
  |  Branch (75:5): [True: 0, False: 138]
  ------------------
   76|      0|        v = PyLong_FromSsize_t(FT_ATOMIC_LOAD_SSIZE_RELAXED(*(Py_ssize_t*)addr));
  ------------------
  |  |  151|      0|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
   77|      0|        break;
   78|      0|    case Py_T_FLOAT:
  ------------------
  |  |   56|      0|#define Py_T_FLOAT     3
  ------------------
  |  Branch (78:5): [True: 0, False: 138]
  ------------------
   79|      0|        v = PyFloat_FromDouble((double)FT_ATOMIC_LOAD_FLOAT_RELAXED(*(float*)addr));
  ------------------
  |  |  198|      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: 138]
  ------------------
   82|      0|        v = PyFloat_FromDouble(FT_ATOMIC_LOAD_DOUBLE_RELAXED(*(double*)addr));
  ------------------
  |  |  200|      0|#define FT_ATOMIC_LOAD_DOUBLE_RELAXED(value) value
  ------------------
   83|      0|        break;
   84|      0|    case Py_T_STRING:
  ------------------
  |  |   58|      0|#define Py_T_STRING    5
  ------------------
  |  Branch (84:5): [True: 0, False: 138]
  ------------------
   85|      0|        if (*(char**)addr == NULL) {
  ------------------
  |  Branch (85:13): [True: 0, False: 0]
  ------------------
   86|      0|            v = Py_NewRef(Py_None);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   87|      0|        }
   88|      0|        else
   89|      0|            v = PyUnicode_FromString(*(char**)addr);
   90|      0|        break;
   91|      0|    case Py_T_STRING_INPLACE:
  ------------------
  |  |   70|      0|#define Py_T_STRING_INPLACE    13
  ------------------
  |  Branch (91:5): [True: 0, False: 138]
  ------------------
   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: 138]
  ------------------
   95|      0|        char char_val = FT_ATOMIC_LOAD_CHAR_RELAXED(*(char*)addr);
  ------------------
  |  |  179|      0|#define FT_ATOMIC_LOAD_CHAR_RELAXED(value) value
  ------------------
   96|      0|        v = PyUnicode_FromStringAndSize(&char_val, 1);
   97|      0|        break;
   98|      0|    }
   99|    120|    case _Py_T_OBJECT:
  ------------------
  |  |   59|    120|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  |  Branch (99:5): [True: 120, False: 18]
  ------------------
  100|    120|        v = FT_ATOMIC_LOAD_PTR(*(PyObject **) addr);
  ------------------
  |  |  147|    120|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  101|    120|        if (v != NULL) {
  ------------------
  |  Branch (101:13): [True: 120, 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|    120|            Py_INCREF(v);
  ------------------
  |  |  310|    120|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  111|    120|#endif
  112|    120|        }
  113|    120|        if (v == NULL) {
  ------------------
  |  Branch (113:13): [True: 0, False: 120]
  ------------------
  114|      0|            v = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  115|      0|        }
  116|    120|        break;
  117|     18|    case Py_T_OBJECT_EX:
  ------------------
  |  |   75|     18|#define Py_T_OBJECT_EX 16
  ------------------
  |  Branch (117:5): [True: 18, False: 120]
  ------------------
  118|     18|        v = member_get_object(addr, obj_addr, l);
  119|     18|#ifndef Py_GIL_DISABLED
  120|     18|        Py_XINCREF(v);
  ------------------
  |  |  611|     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: 138]
  ------------------
  133|      0|        v = PyLong_FromLongLong(FT_ATOMIC_LOAD_LLONG_RELAXED(*(long long *)addr));
  ------------------
  |  |  202|      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: 138]
  ------------------
  136|      0|        v = PyLong_FromUnsignedLongLong(FT_ATOMIC_LOAD_ULLONG_RELAXED(*(unsigned long long *)addr));
  ------------------
  |  |  204|      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: 138]
  ------------------
  139|       |        // doesn't require free-threading code path
  140|      0|        v = Py_NewRef(Py_None);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _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: 138]
  ------------------
  143|      0|        PyErr_SetString(PyExc_SystemError, "bad memberdescr type");
  144|      0|        v = NULL;
  145|    138|    }
  146|    138|    return v;
  147|    138|}
PyMember_SetOne:
  157|    112|{
  158|    112|    PyObject *oldv;
  159|    112|    if (l->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    112|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (159:9): [True: 0, False: 112]
  ------------------
  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|    112|    PyObject *obj = (PyObject *)addr;
  167|    112|    addr = _PyMember_GetOffset(obj, l);
  168|       |
  169|    112|    if ((l->flags & Py_READONLY))
  ------------------
  |  |   83|    112|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (169:9): [True: 0, False: 112]
  ------------------
  170|      0|    {
  171|      0|        PyErr_SetString(PyExc_AttributeError, "readonly attribute");
  172|      0|        return -1;
  173|      0|    }
  174|    112|    if (v == NULL && l->type != Py_T_OBJECT_EX && l->type != _Py_T_OBJECT) {
  ------------------
  |  |   75|    112|#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: 112]
  |  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|    112|    switch (l->type) {
  180|      0|    case Py_T_BOOL:{
  ------------------
  |  |   73|      0|#define Py_T_BOOL      14
  ------------------
  |  Branch (180:5): [True: 0, False: 112]
  ------------------
  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);
  ------------------
  |  |  180|      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);
  ------------------
  |  |  180|      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: 112]
  ------------------
  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);
  ------------------
  |  |  180|      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: 112]
  ------------------
  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);
  ------------------
  |  |  182|      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: 112]
  ------------------
  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);
  ------------------
  |  |  184|      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: 112]
  ------------------
  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);
  ------------------
  |  |  186|      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: 112]
  ------------------
  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);
  ------------------
  |  |  190|      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: 112]
  ------------------
  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);
  ------------------
  |  |  193|      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);
  ------------------
  |  |  193|      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: 112]
  ------------------
  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);
  ------------------
  |  |  195|      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: 112]
  ------------------
  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);
  ------------------
  |  |  196|      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);
  ------------------
  |  |  196|      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: 112]
  ------------------
  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);
  ------------------
  |  |  197|      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: 112]
  ------------------
  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);
  ------------------
  |  |  199|      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: 112]
  ------------------
  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);
  ------------------
  |  |  201|      0|#define FT_ATOMIC_STORE_DOUBLE_RELAXED(value, new_value) value = new_value
  ------------------
  320|      0|        break;
  321|      0|    }
  322|    100|    case _Py_T_OBJECT:
  ------------------
  |  |   59|    100|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  |  Branch (322:5): [True: 100, False: 12]
  ------------------
  323|    112|    case Py_T_OBJECT_EX:
  ------------------
  |  |   75|    112|#define Py_T_OBJECT_EX 16
  ------------------
  |  Branch (323:5): [True: 12, False: 100]
  ------------------
  324|    112|        Py_BEGIN_CRITICAL_SECTION(obj);
  ------------------
  |  |   51|    112|    {
  ------------------
  325|    112|        oldv = *(PyObject **)addr;
  326|    112|        FT_ATOMIC_STORE_PTR_RELEASE(*(PyObject **)addr, Py_XNewRef(v));
  ------------------
  |  |  166|    112|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  327|    112|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    112|    }
  ------------------
  328|    112|        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: 112]
  |  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|    112|        Py_XDECREF(oldv);
  ------------------
  |  |  621|    112|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  338|    112|        break;
  339|      0|    case Py_T_CHAR: {
  ------------------
  |  |   61|      0|#define Py_T_CHAR      7   /* 1-character string */
  ------------------
  |  Branch (339:5): [True: 0, False: 112]
  ------------------
  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]);
  ------------------
  |  |  180|      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: 112]
  ------------------
  352|      0|    case Py_T_STRING_INPLACE:
  ------------------
  |  |   70|      0|#define Py_T_STRING_INPLACE    13
  ------------------
  |  Branch (352:5): [True: 0, False: 112]
  ------------------
  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: 112]
  ------------------
  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);
  ------------------
  |  |  203|      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: 112]
  ------------------
  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);
  ------------------
  |  |  205|      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);
  ------------------
  |  |  205|      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: 112]
  ------------------
  387|      0|        PyErr_Format(PyExc_SystemError,
  388|      0|                     "bad memberdescr type for %s", l->name);
  389|      0|        return -1;
  390|    112|    }
  391|    112|    return 0;
  392|    112|}
structmember.c:member_get_object:
   14|     18|{
   15|     18|    PyObject *v = FT_ATOMIC_LOAD_PTR(*(PyObject **) addr);
  ------------------
  |  |  147|     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:
  424|      2|{
  425|      2|    struct symtable *st = symtable_new();
  426|      2|    asdl_stmt_seq *seq;
  427|      2|    Py_ssize_t i;
  428|      2|    PyThreadState *tstate;
  429|       |
  430|      2|    if (st == NULL)
  ------------------
  |  Branch (430:9): [True: 0, False: 2]
  ------------------
  431|      0|        return NULL;
  432|      2|    if (filename == NULL) {
  ------------------
  |  Branch (432:9): [True: 0, False: 2]
  ------------------
  433|      0|        _PySymtable_Free(st);
  434|      0|        return NULL;
  435|      0|    }
  436|      2|    st->st_filename = Py_NewRef(filename);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  437|      2|    st->st_future = future;
  438|       |
  439|       |    /* Setup recursion depth check counters */
  440|      2|    tstate = _PyThreadState_GET();
  441|      2|    if (!tstate) {
  ------------------
  |  Branch (441:9): [True: 0, False: 2]
  ------------------
  442|      0|        _PySymtable_Free(st);
  443|      0|        return NULL;
  444|      0|    }
  445|       |
  446|       |    /* Make the initial symbol information gathering pass */
  447|       |
  448|      2|    _Py_SourceLocation loc0 = {0, 0, 0, 0};
  449|      2|    if (!symtable_enter_block(st, &_Py_ID(top), ModuleBlock, (void *)mod, loc0)) {
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (449:9): [True: 0, False: 2]
  ------------------
  450|      0|        _PySymtable_Free(st);
  451|      0|        return NULL;
  452|      0|    }
  453|       |
  454|      2|    st->st_top = st->st_cur;
  455|      2|    switch (mod->kind) {
  ------------------
  |  Branch (455:13): [True: 2, False: 0]
  ------------------
  456|      0|    case Module_kind:
  ------------------
  |  Branch (456:5): [True: 0, False: 2]
  ------------------
  457|      0|        seq = mod->v.Module.body;
  458|      0|        if (_PyAST_GetDocString(seq)) {
  ------------------
  |  Branch (458:13): [True: 0, False: 0]
  ------------------
  459|      0|            st->st_cur->ste_has_docstring = 1;
  460|      0|        }
  461|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++)
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (461:21): [True: 0, False: 0]
  ------------------
  462|      0|            if (!symtable_visit_stmt(st,
  ------------------
  |  Branch (462:17): [True: 0, False: 0]
  ------------------
  463|      0|                        (stmt_ty)asdl_seq_GET(seq, i)))
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  464|      0|                goto error;
  465|      0|        break;
  466|      2|    case Expression_kind:
  ------------------
  |  Branch (466:5): [True: 2, False: 0]
  ------------------
  467|      2|        if (!symtable_visit_expr(st, mod->v.Expression.body))
  ------------------
  |  Branch (467:13): [True: 0, False: 2]
  ------------------
  468|      0|            goto error;
  469|      2|        break;
  470|      2|    case Interactive_kind:
  ------------------
  |  Branch (470:5): [True: 0, False: 2]
  ------------------
  471|      0|        seq = mod->v.Interactive.body;
  472|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++)
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (472:21): [True: 0, False: 0]
  ------------------
  473|      0|            if (!symtable_visit_stmt(st,
  ------------------
  |  Branch (473:17): [True: 0, False: 0]
  ------------------
  474|      0|                        (stmt_ty)asdl_seq_GET(seq, i)))
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  475|      0|                goto error;
  476|      0|        break;
  477|      0|    case FunctionType_kind:
  ------------------
  |  Branch (477:5): [True: 0, False: 2]
  ------------------
  478|      0|        PyErr_SetString(PyExc_RuntimeError,
  479|      0|                        "this compiler does not handle FunctionTypes");
  480|      0|        goto error;
  481|      2|    }
  482|      2|    if (!symtable_exit_block(st)) {
  ------------------
  |  Branch (482:9): [True: 0, False: 2]
  ------------------
  483|      0|        _PySymtable_Free(st);
  484|      0|        return NULL;
  485|      0|    }
  486|       |    /* Make the second symbol analysis pass */
  487|      2|    if (symtable_analyze(st)) {
  ------------------
  |  Branch (487:9): [True: 2, False: 0]
  ------------------
  488|       |#if _PY_DUMP_SYMTABLE
  489|       |        dump_symtable(st->st_top);
  490|       |#endif
  491|      2|        return st;
  492|      2|    }
  493|      0|    _PySymtable_Free(st);
  494|      0|    return NULL;
  495|      0| error:
  496|      0|    (void) symtable_exit_block(st);
  497|      0|    _PySymtable_Free(st);
  498|       |    return NULL;
  499|      2|}
_PySymtable_Free:
  504|      2|{
  505|      2|    Py_XDECREF(st->st_filename);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  506|      2|    Py_XDECREF(st->st_blocks);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  507|      2|    Py_XDECREF(st->st_stack);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  508|      2|    PyMem_Free((void *)st);
  509|      2|}
_PySymtable_Lookup:
  513|      4|{
  514|      4|    PyObject *k, *v;
  515|       |
  516|      4|    k = PyLong_FromVoidPtr(key);
  517|      4|    if (k == NULL)
  ------------------
  |  Branch (517:9): [True: 0, False: 4]
  ------------------
  518|      0|        return NULL;
  519|      4|    if (PyDict_GetItemRef(st->st_blocks, k, &v) == 0) {
  ------------------
  |  Branch (519:9): [True: 0, False: 4]
  ------------------
  520|      0|        PyErr_SetString(PyExc_KeyError,
  521|      0|                        "unknown symbol table entry");
  522|      0|    }
  523|      4|    Py_DECREF(k);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  524|       |
  525|      4|    assert(v == NULL || PySTEntry_Check(v));
  ------------------
  |  Branch (525:5): [True: 0, False: 4]
  |  Branch (525:5): [True: 4, False: 0]
  ------------------
  526|      4|    return (PySTEntryObject *)v;
  527|      4|}
_PyST_GetSymbol:
  546|     13|{
  547|     13|    PyObject *v;
  548|     13|    if (PyDict_GetItemRef(ste->ste_symbols, name, &v) < 0) {
  ------------------
  |  Branch (548:9): [True: 0, False: 13]
  ------------------
  549|      0|        return -1;
  550|      0|    }
  551|     13|    if (v == NULL) {
  ------------------
  |  Branch (551:9): [True: 0, False: 13]
  ------------------
  552|      0|        return 0;
  553|      0|    }
  554|     13|    long symbol = PyLong_AsLong(v);
  555|     13|    Py_DECREF(v);
  ------------------
  |  |  430|     13|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  556|     13|    if (symbol < 0) {
  ------------------
  |  Branch (556:9): [True: 0, False: 13]
  ------------------
  557|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (557:13): [True: 0, False: 0]
  ------------------
  558|      0|            PyErr_SetString(PyExc_SystemError, "invalid symbol");
  559|      0|        }
  560|      0|        return -1;
  561|      0|    }
  562|     13|    return symbol;
  563|     13|}
_PyST_GetScope:
  567|     13|{
  568|     13|    long symbol = _PyST_GetSymbol(ste, name);
  569|     13|    if (symbol < 0) {
  ------------------
  |  Branch (569:9): [True: 0, False: 13]
  ------------------
  570|      0|        return -1;
  571|      0|    }
  572|     13|    return SYMBOL_TO_SCOPE(symbol);
  ------------------
  |  |  189|     13|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  187|     13|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  188|     13|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|     13|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     13|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  172|     13|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  173|     13|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  573|     13|}
_PyST_IsFunctionLike:
  577|     40|{
  578|     40|    return ste->ste_type == FunctionBlock
  ------------------
  |  Branch (578:12): [True: 32, False: 8]
  ------------------
  579|      8|        || ste->ste_type == AnnotationBlock
  ------------------
  |  Branch (579:12): [True: 0, False: 8]
  ------------------
  580|      8|        || ste->ste_type == TypeVariableBlock
  ------------------
  |  Branch (580:12): [True: 0, False: 8]
  ------------------
  581|      8|        || ste->ste_type == TypeAliasBlock
  ------------------
  |  Branch (581:12): [True: 0, False: 8]
  ------------------
  582|      8|        || ste->ste_type == TypeParametersBlock;
  ------------------
  |  Branch (582:12): [True: 0, False: 8]
  ------------------
  583|     40|}
_Py_MaybeMangle:
 3294|     37|{
 3295|       |    /* Special case for type parameter blocks around generic classes:
 3296|       |     * we want to mangle type parameter names (so a type param with a private
 3297|       |     * name can be used inside the class body), but we don't want to mangle
 3298|       |     * any other names that appear within the type parameter scope.
 3299|       |     */
 3300|     37|    if (ste->ste_mangled_names != NULL) {
  ------------------
  |  Branch (3300:9): [True: 0, False: 37]
  ------------------
 3301|      0|        int result = PySet_Contains(ste->ste_mangled_names, name);
 3302|      0|        if (result < 0) {
  ------------------
  |  Branch (3302:13): [True: 0, False: 0]
  ------------------
 3303|      0|            return NULL;
 3304|      0|        }
 3305|      0|        if (result == 0) {
  ------------------
  |  Branch (3305:13): [True: 0, False: 0]
  ------------------
 3306|      0|            return Py_NewRef(name);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3307|      0|        }
 3308|      0|    }
 3309|     37|    return _Py_Mangle(privateobj, name);
 3310|     37|}
_Py_Mangle:
 3335|     72|{
 3336|       |    /* Name mangling: __private becomes _classname__private.
 3337|       |       This is independent from how the name is used. */
 3338|     72|    if (privateobj == NULL || !PyUnicode_Check(privateobj) ||
  ------------------
  |  |  103|     35|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    107|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3338:9): [True: 37, False: 35]
  |  Branch (3338:31): [True: 0, False: 35]
  ------------------
 3339|     35|        PyUnicode_READ_CHAR(ident, 0) != '_' ||
  ------------------
  |  |  382|     35|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3339:9): [True: 8, False: 27]
  ------------------
 3340|     72|        PyUnicode_READ_CHAR(ident, 1) != '_') {
  ------------------
  |  |  382|     27|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3340:9): [True: 27, False: 0]
  ------------------
 3341|     72|        return Py_NewRef(ident);
  ------------------
  |  |  647|     72|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3342|     72|    }
 3343|      0|    size_t nlen = PyUnicode_GET_LENGTH(ident);
  ------------------
  |  |  300|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3344|      0|    size_t plen = PyUnicode_GET_LENGTH(privateobj);
  ------------------
  |  |  300|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3345|       |    /* Don't mangle __id__ or names with dots.
 3346|       |
 3347|       |       The only time a name with a dot can occur is when
 3348|       |       we are compiling an import statement that has a
 3349|       |       package name.
 3350|       |
 3351|       |       TODO(jhylton): Decide whether we want to support
 3352|       |       mangling of the module name, e.g. __M.X.
 3353|       |    */
 3354|      0|    if ((PyUnicode_READ_CHAR(ident, nlen-1) == '_' &&
  ------------------
  |  |  382|      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 (3354:10): [True: 0, False: 0]
  ------------------
 3355|      0|         PyUnicode_READ_CHAR(ident, nlen-2) == '_') ||
  ------------------
  |  |  382|      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 (3355:10): [True: 0, False: 0]
  ------------------
 3356|      0|        PyUnicode_FindChar(ident, '.', 0, nlen, 1) != -1) {
  ------------------
  |  Branch (3356:9): [True: 0, False: 0]
  ------------------
 3357|      0|        return Py_NewRef(ident); /* Don't mangle __whatever__ */
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3358|      0|    }
 3359|       |    /* Strip leading underscores from class name */
 3360|      0|    size_t ipriv = 0;
 3361|      0|    while (PyUnicode_READ_CHAR(privateobj, ipriv) == '_') {
  ------------------
  |  |  382|      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 (3361:12): [True: 0, False: 0]
  ------------------
 3362|      0|        ipriv++;
 3363|      0|    }
 3364|      0|    if (ipriv == plen) {
  ------------------
  |  Branch (3364:9): [True: 0, False: 0]
  ------------------
 3365|      0|        return Py_NewRef(ident); /* Don't mangle if class is just underscores */
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3366|      0|    }
 3367|       |
 3368|      0|    if (nlen + (plen - ipriv) >= PY_SSIZE_T_MAX - 1) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (3368:9): [True: 0, False: 0]
  ------------------
 3369|      0|        PyErr_SetString(PyExc_OverflowError,
 3370|      0|                        "private identifier too large to be mangled");
 3371|      0|        return NULL;
 3372|      0|    }
 3373|       |
 3374|      0|    PyUnicodeWriter *writer = PyUnicodeWriter_Create(1 + nlen + (plen - ipriv));
 3375|      0|    if (!writer) {
  ------------------
  |  Branch (3375:9): [True: 0, False: 0]
  ------------------
 3376|      0|        return NULL;
 3377|      0|    }
 3378|       |    // ident = "_" + priv[ipriv:] + ident
 3379|      0|    if (PyUnicodeWriter_WriteChar(writer, '_') < 0) {
  ------------------
  |  Branch (3379:9): [True: 0, False: 0]
  ------------------
 3380|      0|        goto error;
 3381|      0|    }
 3382|      0|    if (PyUnicodeWriter_WriteSubstring(writer, privateobj, ipriv, plen) < 0) {
  ------------------
  |  Branch (3382:9): [True: 0, False: 0]
  ------------------
 3383|      0|        goto error;
 3384|      0|    }
 3385|      0|    if (PyUnicodeWriter_WriteStr(writer, ident) < 0) {
  ------------------
  |  Branch (3385:9): [True: 0, False: 0]
  ------------------
 3386|      0|        goto error;
 3387|      0|    }
 3388|      0|    return PyUnicodeWriter_Finish(writer);
 3389|       |
 3390|      0|error:
 3391|      0|    PyUnicodeWriter_Discard(writer);
 3392|       |    return NULL;
 3393|      0|}
symtable.c:ste_dealloc:
  193|      4|{
  194|      4|    PySTEntryObject *ste = (PySTEntryObject *)op;
  195|      4|    ste->ste_table = NULL;
  196|      4|    Py_XDECREF(ste->ste_id);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|      4|    Py_XDECREF(ste->ste_name);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  198|      4|    Py_XDECREF(ste->ste_function_name);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  199|      4|    Py_XDECREF(ste->ste_symbols);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  200|      4|    Py_XDECREF(ste->ste_varnames);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  201|      4|    Py_XDECREF(ste->ste_children);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  202|      4|    Py_XDECREF(ste->ste_directives);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  203|      4|    Py_XDECREF(ste->ste_annotation_block);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  204|      4|    Py_XDECREF(ste->ste_mangled_names);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  205|      4|    PyObject_Free(ste);
  206|      4|}
symtable.c:symtable_new:
  398|      2|{
  399|      2|    struct symtable *st;
  400|       |
  401|      2|    st = (struct symtable *)PyMem_Malloc(sizeof(struct symtable));
  402|      2|    if (st == NULL) {
  ------------------
  |  Branch (402:9): [True: 0, False: 2]
  ------------------
  403|      0|        PyErr_NoMemory();
  404|      0|        return NULL;
  405|      0|    }
  406|       |
  407|      2|    st->st_filename = NULL;
  408|      2|    st->st_blocks = NULL;
  409|       |
  410|      2|    if ((st->st_stack = PyList_New(0)) == NULL)
  ------------------
  |  Branch (410:9): [True: 0, False: 2]
  ------------------
  411|      0|        goto fail;
  412|      2|    if ((st->st_blocks = PyDict_New()) == NULL)
  ------------------
  |  Branch (412:9): [True: 0, False: 2]
  ------------------
  413|      0|        goto fail;
  414|      2|    st->st_cur = NULL;
  415|      2|    st->st_private = NULL;
  416|      2|    return st;
  417|      0| fail:
  418|      0|    _PySymtable_Free(st);
  419|       |    return NULL;
  420|      2|}
symtable.c:symtable_analyze:
 1411|      2|{
 1412|      2|    PyObject *free, *global, *type_params;
 1413|      2|    int r;
 1414|       |
 1415|      2|    free = PySet_New(NULL);
 1416|      2|    if (!free)
  ------------------
  |  Branch (1416:9): [True: 0, False: 2]
  ------------------
 1417|      0|        return 0;
 1418|      2|    global = PySet_New(NULL);
 1419|      2|    if (!global) {
  ------------------
  |  Branch (1419:9): [True: 0, False: 2]
  ------------------
 1420|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1421|      0|        return 0;
 1422|      0|    }
 1423|      2|    type_params = PySet_New(NULL);
 1424|      2|    if (!type_params) {
  ------------------
  |  Branch (1424:9): [True: 0, False: 2]
  ------------------
 1425|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1426|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1427|      0|        return 0;
 1428|      0|    }
 1429|      2|    r = analyze_block(st->st_top, NULL, free, global, type_params, NULL);
 1430|      2|    Py_DECREF(free);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1431|      2|    Py_DECREF(global);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1432|      2|    Py_DECREF(type_params);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1433|      2|    return r;
 1434|      2|}
symtable.c:analyze_block:
 1168|      4|{
 1169|      4|    PyObject *name, *v, *local = NULL, *scopes = NULL, *newbound = NULL;
 1170|      4|    PyObject *newglobal = NULL, *newfree = NULL, *inlined_cells = NULL;
 1171|      4|    PyObject *temp;
 1172|      4|    int success = 0;
 1173|      4|    Py_ssize_t i, pos = 0;
 1174|       |
 1175|      4|    local = PySet_New(NULL);  /* collect new names bound in block */
 1176|      4|    if (!local)
  ------------------
  |  Branch (1176:9): [True: 0, False: 4]
  ------------------
 1177|      0|        goto error;
 1178|      4|    scopes = PyDict_New();  /* collect scopes defined for each name */
 1179|      4|    if (!scopes)
  ------------------
  |  Branch (1179:9): [True: 0, False: 4]
  ------------------
 1180|      0|        goto error;
 1181|       |
 1182|       |    /* Allocate new global, bound and free variable sets.  These
 1183|       |       sets hold the names visible in nested blocks.  For
 1184|       |       ClassBlocks, the bound and global names are initialized
 1185|       |       before analyzing names, because class bindings aren't
 1186|       |       visible in methods.  For other blocks, they are initialized
 1187|       |       after this block's declarations are recorded.
 1188|       |     */
 1189|       |
 1190|       |    /* TODO(jhylton): Package these dicts in a struct so that we
 1191|       |       can write reasonable helper functions?
 1192|       |    */
 1193|      4|    newglobal = PySet_New(NULL);
 1194|      4|    if (!newglobal)
  ------------------
  |  Branch (1194:9): [True: 0, False: 4]
  ------------------
 1195|      0|        goto error;
 1196|      4|    newfree = PySet_New(NULL);
 1197|      4|    if (!newfree)
  ------------------
  |  Branch (1197:9): [True: 0, False: 4]
  ------------------
 1198|      0|        goto error;
 1199|      4|    newbound = PySet_New(NULL);
 1200|      4|    if (!newbound)
  ------------------
  |  Branch (1200:9): [True: 0, False: 4]
  ------------------
 1201|      0|        goto error;
 1202|      4|    inlined_cells = PySet_New(NULL);
 1203|      4|    if (!inlined_cells)
  ------------------
  |  Branch (1203:9): [True: 0, False: 4]
  ------------------
 1204|      0|        goto error;
 1205|       |    /* Class namespace has no effect on names visible in
 1206|       |       nested functions, so populate the global and bound
 1207|       |       sets to be passed to child blocks before analyzing
 1208|       |       this one.
 1209|       |     */
 1210|      4|    if (ste->ste_type == ClassBlock) {
  ------------------
  |  Branch (1210:9): [True: 0, False: 4]
  ------------------
 1211|       |        /* Pass down known globals */
 1212|      0|        temp = PyNumber_InPlaceOr(newglobal, global);
 1213|      0|        if (!temp)
  ------------------
  |  Branch (1213:13): [True: 0, False: 0]
  ------------------
 1214|      0|            goto error;
 1215|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1216|       |        /* Pass down previously bound symbols */
 1217|      0|        if (bound) {
  ------------------
  |  Branch (1217:13): [True: 0, False: 0]
  ------------------
 1218|      0|            temp = PyNumber_InPlaceOr(newbound, bound);
 1219|      0|            if (!temp)
  ------------------
  |  Branch (1219:17): [True: 0, False: 0]
  ------------------
 1220|      0|                goto error;
 1221|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1222|      0|        }
 1223|      0|    }
 1224|       |
 1225|       |    /* Record bindings and global/nonlocal declarations first so child
 1226|       |       blocks see this scope's locals. Uses are classified after children
 1227|       |       so inlined comprehensions can add USE flags to this table. */
 1228|     17|    while (PyDict_Next(ste->ste_symbols, &pos, &name, &v)) {
  ------------------
  |  Branch (1228:12): [True: 13, False: 4]
  ------------------
 1229|     13|        long flags = PyLong_AsLong(v);
 1230|     13|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1230:13): [True: 0, False: 13]
  |  Branch (1230:28): [True: 0, False: 0]
  ------------------
 1231|      0|            goto error;
 1232|      0|        }
 1233|     13|        if (!(flags & (DEF_GLOBAL | DEF_NONLOCAL | DEF_BOUND))) {
  ------------------
  |  |  170|     13|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                      if (!(flags & (DEF_GLOBAL | DEF_NONLOCAL | DEF_BOUND))) {
  ------------------
  |  |  173|     13|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
                      if (!(flags & (DEF_GLOBAL | DEF_NONLOCAL | DEF_BOUND))) {
  ------------------
  |  |  181|     13|#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  171|     13|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  172|     13|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  176|     13|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  |  |  ------------------
  ------------------
  |  Branch (1233:13): [True: 2, False: 11]
  ------------------
 1234|      2|            continue;
 1235|      2|        }
 1236|     11|        if (!analyze_name(ste, scopes, name, flags,
  ------------------
  |  Branch (1236:13): [True: 0, False: 11]
  ------------------
 1237|     11|                          bound, local, free, global, type_params, class_entry))
 1238|      0|            goto error;
 1239|     11|    }
 1240|       |
 1241|       |    /* Populate global and bound sets to be passed to children. */
 1242|      4|    if (ste->ste_type != ClassBlock) {
  ------------------
  |  Branch (1242:9): [True: 4, False: 0]
  ------------------
 1243|       |        /* Add function locals to bound set */
 1244|      4|        if (ste_uses_fast_locals(ste)) {
  ------------------
  |  Branch (1244:13): [True: 2, False: 2]
  ------------------
 1245|      2|            temp = PyNumber_InPlaceOr(newbound, local);
 1246|      2|            if (!temp)
  ------------------
  |  Branch (1246:17): [True: 0, False: 2]
  ------------------
 1247|      0|                goto error;
 1248|      2|            Py_DECREF(temp);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1249|      2|        }
 1250|       |        /* Pass down previously bound symbols */
 1251|      4|        if (bound) {
  ------------------
  |  Branch (1251:13): [True: 2, False: 2]
  ------------------
 1252|      2|            temp = PyNumber_InPlaceOr(newbound, bound);
 1253|      2|            if (!temp)
  ------------------
  |  Branch (1253:17): [True: 0, False: 2]
  ------------------
 1254|      0|                goto error;
 1255|      2|            Py_DECREF(temp);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1256|      2|        }
 1257|       |        /* Pass down known globals */
 1258|      4|        temp = PyNumber_InPlaceOr(newglobal, global);
 1259|      4|        if (!temp)
  ------------------
  |  Branch (1259:13): [True: 0, False: 4]
  ------------------
 1260|      0|            goto error;
 1261|      4|        Py_DECREF(temp);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1262|      4|    }
 1263|      0|    else {
 1264|       |        /* Special-case __class__ and __classdict__ */
 1265|      0|        if (PySet_Add(newbound, &_Py_ID(__class__)) < 0)
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1265:13): [True: 0, False: 0]
  ------------------
 1266|      0|            goto error;
 1267|      0|        if (PySet_Add(newbound, &_Py_ID(__classdict__)) < 0)
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1267:13): [True: 0, False: 0]
  ------------------
 1268|      0|            goto error;
 1269|      0|        if (PySet_Add(newbound, &_Py_ID(__conditional_annotations__)) < 0)
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1269:13): [True: 0, False: 0]
  ------------------
 1270|      0|            goto error;
 1271|      0|    }
 1272|       |
 1273|       |    /* Recursively call analyze_child_block() on each child block.
 1274|       |
 1275|       |       newbound, newglobal now contain the names visible in
 1276|       |       nested blocks.  The free variables in the children will
 1277|       |       be added to newfree.
 1278|       |    */
 1279|      6|    for (i = 0; i < PyList_GET_SIZE(ste->ste_children); ++i) {
  ------------------
  |  |   38|      6|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1279:17): [True: 2, False: 4]
  ------------------
 1280|      2|        PyObject *child_free = NULL;
 1281|      2|        PyObject *c = PyList_GET_ITEM(ste->ste_children, 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 (1281:23): [True: 2, False: 0]
  ------------------
 1282|      0|        PySTEntryObject* entry;
 1283|      2|        assert(c && PySTEntry_Check(c));
  ------------------
  |  Branch (1283:9): [True: 2, False: 0]
  |  Branch (1283:9): [True: 2, False: 0]
  ------------------
 1284|      2|        entry = (PySTEntryObject*)c;
 1285|       |
 1286|      2|        PySTEntryObject *new_class_entry = NULL;
 1287|      2|        if (entry->ste_can_see_class_scope) {
  ------------------
  |  Branch (1287:13): [True: 0, False: 2]
  ------------------
 1288|      0|            if (ste->ste_type == ClassBlock) {
  ------------------
  |  Branch (1288:17): [True: 0, False: 0]
  ------------------
 1289|      0|                new_class_entry = ste;
 1290|      0|            }
 1291|      0|            else if (class_entry) {
  ------------------
  |  Branch (1291:22): [True: 0, False: 0]
  ------------------
 1292|      0|                new_class_entry = class_entry;
 1293|      0|            }
 1294|      0|        }
 1295|       |
 1296|       |        // Finalize inlined children before classifying this block's uses
 1297|       |        // and analyze_cells, so their loads are USE here and do not force
 1298|       |        // a cell unless a real nested unit needs one.
 1299|      2|        if (!analyze_child_block(entry, newbound, newfree, newglobal,
  ------------------
  |  Branch (1299:13): [True: 0, False: 2]
  ------------------
 1300|      2|                                 type_params, new_class_entry, &child_free))
 1301|      0|        {
 1302|      0|            goto error;
 1303|      0|        }
 1304|      2|        if (entry->ste_type == InlinedComprehensionBlock) {
  ------------------
  |  Branch (1304:13): [True: 0, False: 2]
  ------------------
 1305|      0|            if (!finalize_inlined_comprehension(ste, entry, child_free, newfree,
  ------------------
  |  Branch (1305:17): [True: 0, False: 0]
  ------------------
 1306|      0|                                                inlined_cells)) {
 1307|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1308|      0|                goto error;
 1309|      0|            }
 1310|      0|        }
 1311|      2|        temp = PyNumber_InPlaceOr(newfree, child_free);
 1312|      2|        Py_DECREF(child_free);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1313|      2|        if (!temp)
  ------------------
  |  Branch (1313:13): [True: 0, False: 2]
  ------------------
 1314|      0|            goto error;
 1315|      2|        Py_DECREF(temp);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1316|      2|    }
 1317|       |
 1318|       |    /* Complete the classification. */
 1319|      4|    pos = 0;
 1320|     17|    while (PyDict_Next(ste->ste_symbols, &pos, &name, &v)) {
  ------------------
  |  Branch (1320:12): [True: 13, False: 4]
  ------------------
 1321|     13|        long flags = PyLong_AsLong(v);
 1322|     13|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1322:13): [True: 0, False: 13]
  |  Branch (1322:28): [True: 0, False: 0]
  ------------------
 1323|      0|            goto error;
 1324|      0|        }
 1325|     13|        int contains = PyDict_Contains(scopes, name);
 1326|     13|        if (contains < 0) {
  ------------------
  |  Branch (1326:13): [True: 0, False: 13]
  ------------------
 1327|      0|            goto error;
 1328|      0|        }
 1329|     13|        if (contains) {
  ------------------
  |  Branch (1329:13): [True: 11, False: 2]
  ------------------
 1330|     11|            continue;
 1331|     11|        }
 1332|      2|        if (!analyze_name(ste, scopes, name, flags,
  ------------------
  |  Branch (1332:13): [True: 0, False: 2]
  ------------------
 1333|      2|                          bound, local, free, global, type_params, class_entry))
 1334|      0|            goto error;
 1335|      2|    }
 1336|       |
 1337|       |    /* Check if any local variables must be converted to cell variables */
 1338|      4|    if (ste_uses_fast_locals(ste) && !analyze_cells(scopes, newfree, inlined_cells)) {
  ------------------
  |  Branch (1338:9): [True: 2, False: 2]
  |  Branch (1338:38): [True: 0, False: 2]
  ------------------
 1339|      0|        goto error;
 1340|      0|    }
 1341|      4|    else if (ste->ste_type == ClassBlock && !drop_class_free(ste, newfree)) {
  ------------------
  |  Branch (1341:14): [True: 0, False: 4]
  |  Branch (1341:45): [True: 0, False: 0]
  ------------------
 1342|      0|        goto error;
 1343|      0|    }
 1344|       |    /* Records the results of the analysis in the symbol table entry */
 1345|      4|    if (!update_symbols(ste->ste_symbols, scopes, bound, newfree,
  ------------------
  |  Branch (1345:9): [True: 0, False: 4]
  ------------------
 1346|      4|                        (ste->ste_type == ClassBlock) || ste->ste_can_see_class_scope))
  ------------------
  |  Branch (1346:25): [True: 0, False: 4]
  |  Branch (1346:58): [True: 0, False: 4]
  ------------------
 1347|      0|        goto error;
 1348|      4|    temp = PyNumber_InPlaceOr(free, newfree);
 1349|      4|    if (!temp)
  ------------------
  |  Branch (1349:9): [True: 0, False: 4]
  ------------------
 1350|      0|        goto error;
 1351|      4|    Py_DECREF(temp);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1352|      4|    success = 1;
 1353|      4| error:
 1354|      4|    Py_XDECREF(scopes);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1355|      4|    Py_XDECREF(local);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1356|      4|    Py_XDECREF(newbound);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1357|      4|    Py_XDECREF(newglobal);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1358|      4|    Py_XDECREF(newfree);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1359|      4|    Py_XDECREF(inlined_cells);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1360|      4|    if (!success)
  ------------------
  |  Branch (1360:9): [True: 0, False: 4]
  ------------------
 1361|      4|        assert(PyErr_Occurred());
  ------------------
  |  Branch (1361:9): [True: 0, False: 0]
  ------------------
 1362|      4|    return success;
 1363|      4|}
symtable.c:analyze_name:
  687|     13|{
  688|     13|    int contains;
  689|     13|    if (flags & DEF_GLOBAL) {
  ------------------
  |  |  170|     13|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (689:9): [True: 0, False: 13]
  ------------------
  690|      0|        if (flags & DEF_NONLOCAL) {
  ------------------
  |  |  173|      0|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (690:13): [True: 0, False: 0]
  ------------------
  691|      0|            PyErr_Format(PyExc_SyntaxError,
  692|      0|                         "name '%U' is nonlocal and global",
  693|      0|                         name);
  694|      0|            return error_at_directive(ste, name);
  695|      0|        }
  696|      0|        SET_SCOPE(scopes, name, GLOBAL_EXPLICIT);
  ------------------
  |  |  665|      0|    do { \
  |  |  666|      0|        PyObject *o = PyLong_FromLong(I); \
  |  |  667|      0|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (667:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  668|      0|            return 0; \
  |  |  669|      0|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (669:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  670|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  671|      0|            return 0; \
  |  |  672|      0|        } \
  |  |  673|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  674|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (674:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  697|      0|        if (PySet_Add(global, name) < 0)
  ------------------
  |  Branch (697:13): [True: 0, False: 0]
  ------------------
  698|      0|            return 0;
  699|      0|        if (bound && (PySet_Discard(bound, name) < 0))
  ------------------
  |  Branch (699:13): [True: 0, False: 0]
  |  Branch (699:22): [True: 0, False: 0]
  ------------------
  700|      0|            return 0;
  701|      0|        return 1;
  702|      0|    }
  703|     13|    if (flags & DEF_NONLOCAL) {
  ------------------
  |  |  173|     13|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (703:9): [True: 0, False: 13]
  ------------------
  704|      0|        if (!bound) {
  ------------------
  |  Branch (704:13): [True: 0, False: 0]
  ------------------
  705|      0|            PyErr_Format(PyExc_SyntaxError,
  706|      0|                         "nonlocal declaration not allowed at module level");
  707|      0|            return error_at_directive(ste, name);
  708|      0|        }
  709|      0|        contains = PySet_Contains(bound, name);
  710|      0|        if (contains < 0) {
  ------------------
  |  Branch (710:13): [True: 0, False: 0]
  ------------------
  711|      0|            return 0;
  712|      0|        }
  713|      0|        if (!contains) {
  ------------------
  |  Branch (713:13): [True: 0, False: 0]
  ------------------
  714|      0|            PyErr_Format(PyExc_SyntaxError,
  715|      0|                         "no binding for nonlocal '%U' found",
  716|      0|                         name);
  717|       |
  718|      0|            return error_at_directive(ste, name);
  719|      0|        }
  720|      0|        contains = PySet_Contains(type_params, name);
  721|      0|        if (contains < 0) {
  ------------------
  |  Branch (721:13): [True: 0, False: 0]
  ------------------
  722|      0|            return 0;
  723|      0|        }
  724|      0|        if (contains) {
  ------------------
  |  Branch (724:13): [True: 0, False: 0]
  ------------------
  725|      0|            PyErr_Format(PyExc_SyntaxError,
  726|      0|                         "nonlocal binding not allowed for type parameter '%U'",
  727|      0|                         name);
  728|      0|            return error_at_directive(ste, name);
  729|      0|        }
  730|      0|        SET_SCOPE(scopes, name, FREE);
  ------------------
  |  |  665|      0|    do { \
  |  |  666|      0|        PyObject *o = PyLong_FromLong(I); \
  |  |  667|      0|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (667:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  668|      0|            return 0; \
  |  |  669|      0|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (669:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  670|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  671|      0|            return 0; \
  |  |  672|      0|        } \
  |  |  673|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  674|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (674:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  731|      0|        return PySet_Add(free, name) >= 0;
  732|      0|    }
  733|     13|    if (flags & DEF_BOUND) {
  ------------------
  |  |  181|     13|#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  171|     13|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  172|     13|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  176|     13|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  |  |  ------------------
  ------------------
  |  Branch (733:9): [True: 11, False: 2]
  ------------------
  734|     11|        SET_SCOPE(scopes, name, LOCAL);
  ------------------
  |  |  665|     11|    do { \
  |  |  666|     11|        PyObject *o = PyLong_FromLong(I); \
  |  |  667|     11|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (667:13): [True: 0, False: 11]
  |  |  ------------------
  |  |  668|     11|            return 0; \
  |  |  669|     11|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (669:13): [True: 0, False: 11]
  |  |  ------------------
  |  |  670|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  671|      0|            return 0; \
  |  |  672|      0|        } \
  |  |  673|     11|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  674|     11|    } while(0)
  |  |  ------------------
  |  |  |  Branch (674:13): [Folded, False: 11]
  |  |  ------------------
  ------------------
  735|     11|        if (PySet_Add(local, name) < 0)
  ------------------
  |  Branch (735:13): [True: 0, False: 11]
  ------------------
  736|      0|            return 0;
  737|     11|        if (PySet_Discard(global, name) < 0)
  ------------------
  |  Branch (737:13): [True: 0, False: 11]
  ------------------
  738|      0|            return 0;
  739|     11|        if (flags & DEF_TYPE_PARAM) {
  ------------------
  |  |  179|     11|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
  |  Branch (739:13): [True: 0, False: 11]
  ------------------
  740|      0|            if (PySet_Add(type_params, name) < 0)
  ------------------
  |  Branch (740:17): [True: 0, False: 0]
  ------------------
  741|      0|                return 0;
  742|      0|        }
  743|     11|        else {
  744|     11|            if (PySet_Discard(type_params, name) < 0)
  ------------------
  |  Branch (744:17): [True: 0, False: 11]
  ------------------
  745|      0|                return 0;
  746|     11|        }
  747|     11|        return 1;
  748|     11|    }
  749|       |    // If we were passed class_entry (i.e., we're in an ste_can_see_class_scope scope)
  750|       |    // and the bound name is in that set, then the name is potentially bound both by
  751|       |    // the immediately enclosing class namespace, and also by an outer function namespace.
  752|       |    // In that case, we want the runtime name resolution to look at only the class
  753|       |    // namespace and the globals (not the namespace providing the bound).
  754|       |    // Similarly, if the name is explicitly global in the class namespace (through the
  755|       |    // global statement), we want to also treat it as a global in this scope.
  756|       |    // __classdict__ is the exception: these scopes load it from the cell that
  757|       |    // the class creates for them, whatever the class body does with that name.
  758|      2|    if (class_entry != NULL && !_PyUnicode_Equal(name, &_Py_ID(__classdict__))) {
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (758:9): [True: 0, False: 2]
  |  Branch (758:32): [True: 0, False: 0]
  ------------------
  759|      0|        long class_flags = _PyST_GetSymbol(class_entry, name);
  760|      0|        if (class_flags < 0) {
  ------------------
  |  Branch (760:13): [True: 0, False: 0]
  ------------------
  761|      0|            return 0;
  762|      0|        }
  763|      0|        if (class_flags & DEF_GLOBAL) {
  ------------------
  |  |  170|      0|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (763:13): [True: 0, False: 0]
  ------------------
  764|      0|            SET_SCOPE(scopes, name, GLOBAL_EXPLICIT);
  ------------------
  |  |  665|      0|    do { \
  |  |  666|      0|        PyObject *o = PyLong_FromLong(I); \
  |  |  667|      0|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (667:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  668|      0|            return 0; \
  |  |  669|      0|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (669:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  670|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  671|      0|            return 0; \
  |  |  672|      0|        } \
  |  |  673|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  674|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (674:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  765|      0|            return 1;
  766|      0|        }
  767|      0|        else if ((class_flags & DEF_BOUND) && !(class_flags & DEF_NONLOCAL)) {
  ------------------
  |  |  181|      0|#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  171|      0|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  172|      0|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  176|      0|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  |  |  ------------------
  ------------------
                      else if ((class_flags & DEF_BOUND) && !(class_flags & DEF_NONLOCAL)) {
  ------------------
  |  |  173|      0|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (767:18): [True: 0, False: 0]
  |  Branch (767:47): [True: 0, False: 0]
  ------------------
  768|      0|            SET_SCOPE(scopes, name, GLOBAL_IMPLICIT);
  ------------------
  |  |  665|      0|    do { \
  |  |  666|      0|        PyObject *o = PyLong_FromLong(I); \
  |  |  667|      0|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (667:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  668|      0|            return 0; \
  |  |  669|      0|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (669:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  670|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  671|      0|            return 0; \
  |  |  672|      0|        } \
  |  |  673|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  674|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (674:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  769|      0|            return 1;
  770|      0|        }
  771|      0|    }
  772|       |    /* If an enclosing block has a binding for this name, it
  773|       |       is a free variable rather than a global variable.
  774|       |       Note that having a non-NULL bound implies that the block
  775|       |       is nested.
  776|       |    */
  777|      2|    if (bound) {
  ------------------
  |  Branch (777:9): [True: 2, False: 0]
  ------------------
  778|      2|        contains = PySet_Contains(bound, name);
  779|      2|        if (contains < 0) {
  ------------------
  |  Branch (779:13): [True: 0, False: 2]
  ------------------
  780|      0|            return 0;
  781|      0|        }
  782|      2|        if (contains) {
  ------------------
  |  Branch (782:13): [True: 0, False: 2]
  ------------------
  783|      0|            SET_SCOPE(scopes, name, FREE);
  ------------------
  |  |  665|      0|    do { \
  |  |  666|      0|        PyObject *o = PyLong_FromLong(I); \
  |  |  667|      0|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (667:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  668|      0|            return 0; \
  |  |  669|      0|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (669:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  670|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  671|      0|            return 0; \
  |  |  672|      0|        } \
  |  |  673|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  674|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (674:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  784|      0|            return PySet_Add(free, name) >= 0;
  785|      0|        }
  786|      2|    }
  787|       |    /* If a parent has a global statement, then call it global
  788|       |       explicit?  It could also be global implicit.
  789|       |     */
  790|      2|    if (global) {
  ------------------
  |  Branch (790:9): [True: 2, False: 0]
  ------------------
  791|      2|        contains = PySet_Contains(global, name);
  792|      2|        if (contains < 0) {
  ------------------
  |  Branch (792:13): [True: 0, False: 2]
  ------------------
  793|      0|            return 0;
  794|      0|        }
  795|      2|        if (contains) {
  ------------------
  |  Branch (795:13): [True: 0, False: 2]
  ------------------
  796|      0|            SET_SCOPE(scopes, name, GLOBAL_IMPLICIT);
  ------------------
  |  |  665|      0|    do { \
  |  |  666|      0|        PyObject *o = PyLong_FromLong(I); \
  |  |  667|      0|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (667:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  668|      0|            return 0; \
  |  |  669|      0|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (669:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  670|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  671|      0|            return 0; \
  |  |  672|      0|        } \
  |  |  673|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  674|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (674:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  797|      0|            return 1;
  798|      0|        }
  799|      2|    }
  800|      2|    SET_SCOPE(scopes, name, GLOBAL_IMPLICIT);
  ------------------
  |  |  665|      2|    do { \
  |  |  666|      2|        PyObject *o = PyLong_FromLong(I); \
  |  |  667|      2|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (667:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  668|      2|            return 0; \
  |  |  669|      2|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (669:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  670|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  671|      0|            return 0; \
  |  |  672|      0|        } \
  |  |  673|      2|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  674|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (674:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  801|      2|    return 1;
  802|      2|}
symtable.c:ste_uses_fast_locals:
   96|     23|{
   97|     23|    return _PyST_IsFunctionLike(ste) || ste->ste_type == InlinedComprehensionBlock;
  ------------------
  |  Branch (97:12): [True: 17, False: 6]
  |  Branch (97:41): [True: 0, False: 6]
  ------------------
   98|     23|}
symtable.c:analyze_child_block:
 1369|      2|{
 1370|      2|    PyObject *temp_bound = NULL, *temp_global = NULL, *temp_free = NULL;
 1371|      2|    PyObject *temp_type_params = NULL;
 1372|       |
 1373|       |    /* Copy the bound/global/free sets.
 1374|       |
 1375|       |       These sets are used by all blocks enclosed by the
 1376|       |       current block.  The analyze_block() call modifies these
 1377|       |       sets.
 1378|       |
 1379|       |    */
 1380|      2|    temp_bound = PySet_New(bound);
 1381|      2|    if (!temp_bound)
  ------------------
  |  Branch (1381:9): [True: 0, False: 2]
  ------------------
 1382|      0|        goto error;
 1383|      2|    temp_free = PySet_New(free);
 1384|      2|    if (!temp_free)
  ------------------
  |  Branch (1384:9): [True: 0, False: 2]
  ------------------
 1385|      0|        goto error;
 1386|      2|    temp_global = PySet_New(global);
 1387|      2|    if (!temp_global)
  ------------------
  |  Branch (1387:9): [True: 0, False: 2]
  ------------------
 1388|      0|        goto error;
 1389|      2|    temp_type_params = PySet_New(type_params);
 1390|      2|    if (!temp_type_params)
  ------------------
  |  Branch (1390:9): [True: 0, False: 2]
  ------------------
 1391|      0|        goto error;
 1392|       |
 1393|      2|    if (!analyze_block(entry, temp_bound, temp_free, temp_global,
  ------------------
  |  Branch (1393:9): [True: 0, False: 2]
  ------------------
 1394|      2|                       temp_type_params, class_entry))
 1395|      0|        goto error;
 1396|      2|    *child_free = temp_free;
 1397|      2|    Py_DECREF(temp_bound);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1398|      2|    Py_DECREF(temp_global);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1399|      2|    Py_DECREF(temp_type_params);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1400|      2|    return 1;
 1401|      0| error:
 1402|      0|    Py_XDECREF(temp_bound);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1403|      0|    Py_XDECREF(temp_free);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1404|      0|    Py_XDECREF(temp_global);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1405|      0|    Py_XDECREF(temp_type_params);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1406|      0|    return 0;
 1407|      2|}
symtable.c:symtable_add_flag:
  833|     24|{
  834|     24|    PyObject *o = PyDict_GetItemWithError(dict, name);
  835|     24|    long val;
  836|     24|    if (o != NULL) {
  ------------------
  |  Branch (836:9): [True: 11, False: 13]
  ------------------
  837|     11|        val = PyLong_AsLong(o);
  838|     11|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (838:13): [True: 0, False: 11]
  |  Branch (838:26): [True: 0, False: 0]
  ------------------
  839|      0|            return 0;
  840|      0|        }
  841|     11|        val |= flag;
  842|     11|    }
  843|     13|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (843:14): [True: 0, False: 13]
  ------------------
  844|      0|        return 0;
  845|      0|    }
  846|     13|    else {
  847|     13|        val = flag;
  848|     13|    }
  849|     24|    o = PyLong_FromLong(val);
  850|     24|    if (o == NULL) {
  ------------------
  |  Branch (850:9): [True: 0, False: 24]
  ------------------
  851|      0|        return 0;
  852|      0|    }
  853|     24|    int rc = PyDict_SetItem(dict, name, o);
  854|     24|    Py_DECREF(o);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  855|     24|    return rc >= 0;
  856|     24|}
symtable.c:analyze_cells:
  955|      2|{
  956|      2|    PyObject *name, *v, *v_cell;
  957|      2|    int success = 0;
  958|      2|    Py_ssize_t pos = 0;
  959|       |
  960|      2|    v_cell = PyLong_FromLong(CELL);
  ------------------
  |  |  195|      2|#define CELL 5
  ------------------
  961|      2|    if (!v_cell)
  ------------------
  |  Branch (961:9): [True: 0, False: 2]
  ------------------
  962|      0|        return 0;
  963|     15|    while (PyDict_Next(scopes, &pos, &name, &v)) {
  ------------------
  |  Branch (963:12): [True: 13, False: 2]
  ------------------
  964|     13|        long scope = PyLong_AsLong(v);
  965|     13|        if (scope == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (965:13): [True: 0, False: 13]
  |  Branch (965:28): [True: 0, False: 0]
  ------------------
  966|      0|            goto error;
  967|      0|        }
  968|     13|        if (scope != LOCAL)
  ------------------
  |  |  191|     13|#define LOCAL 1
  ------------------
  |  Branch (968:13): [True: 2, False: 11]
  ------------------
  969|      2|            continue;
  970|     11|        int contains = PySet_Contains(free, name);
  971|     11|        if (contains < 0) {
  ------------------
  |  Branch (971:13): [True: 0, False: 11]
  ------------------
  972|      0|            goto error;
  973|      0|        }
  974|     11|        if (!contains) {
  ------------------
  |  Branch (974:13): [True: 11, False: 0]
  ------------------
  975|     11|            contains = PySet_Contains(inlined_cells, name);
  976|     11|            if (contains < 0) {
  ------------------
  |  Branch (976:17): [True: 0, False: 11]
  ------------------
  977|      0|                goto error;
  978|      0|            }
  979|     11|            if (!contains) {
  ------------------
  |  Branch (979:17): [True: 11, False: 0]
  ------------------
  980|     11|                continue;
  981|     11|            }
  982|     11|        }
  983|       |        /* Replace LOCAL with CELL for this name, and remove
  984|       |           from free. It is safe to replace the value of name
  985|       |           in the dict, because it will not cause a resize.
  986|       |         */
  987|      0|        if (PyDict_SetItem(scopes, name, v_cell) < 0)
  ------------------
  |  Branch (987:13): [True: 0, False: 0]
  ------------------
  988|      0|            goto error;
  989|      0|        if (PySet_Discard(free, name) < 0)
  ------------------
  |  Branch (989:13): [True: 0, False: 0]
  ------------------
  990|      0|            goto error;
  991|      0|    }
  992|      2|    success = 1;
  993|      2| error:
  994|      2|    Py_DECREF(v_cell);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  995|      2|    return success;
  996|      2|}
symtable.c:update_symbols:
 1029|      4|{
 1030|      4|    PyObject *name = NULL, *itr = NULL;
 1031|      4|    PyObject *v = NULL, *v_scope = NULL, *v_new = NULL, *v_free = NULL;
 1032|      4|    Py_ssize_t pos = 0;
 1033|       |
 1034|       |    /* Update scope information for all symbols in this scope */
 1035|     17|    while (PyDict_Next(symbols, &pos, &name, &v)) {
  ------------------
  |  Branch (1035:12): [True: 13, False: 4]
  ------------------
 1036|     13|        long flags = PyLong_AsLong(v);
 1037|     13|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1037:13): [True: 0, False: 13]
  |  Branch (1037:28): [True: 0, False: 0]
  ------------------
 1038|      0|            return 0;
 1039|      0|        }
 1040|     13|        if (PyDict_GetItemRef(scopes, name, &v_scope) < 0) {
  ------------------
  |  Branch (1040:13): [True: 0, False: 13]
  ------------------
 1041|      0|            return 0;
 1042|      0|        }
 1043|     13|        if (!v_scope) {
  ------------------
  |  Branch (1043:13): [True: 0, False: 13]
  ------------------
 1044|      0|            PyErr_SetObject(PyExc_KeyError, name);
 1045|      0|            return 0;
 1046|      0|        }
 1047|     13|        long scope = PyLong_AsLong(v_scope);
 1048|     13|        Py_DECREF(v_scope);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1049|     13|        if (scope == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1049:13): [True: 0, False: 13]
  |  Branch (1049:28): [True: 0, False: 0]
  ------------------
 1050|      0|            return 0;
 1051|      0|        }
 1052|     13|        flags |= (scope << SCOPE_OFFSET);
  ------------------
  |  |  187|     13|#define SCOPE_OFFSET 12
  ------------------
 1053|     13|        v_new = PyLong_FromLong(flags);
 1054|     13|        if (!v_new)
  ------------------
  |  Branch (1054:13): [True: 0, False: 13]
  ------------------
 1055|      0|            return 0;
 1056|     13|        if (PyDict_SetItem(symbols, name, v_new) < 0) {
  ------------------
  |  Branch (1056:13): [True: 0, False: 13]
  ------------------
 1057|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1058|      0|            return 0;
 1059|      0|        }
 1060|     13|        Py_DECREF(v_new);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1061|     13|    }
 1062|       |
 1063|       |    /* Record not yet resolved free variables from children (if any) */
 1064|      4|    v_free = PyLong_FromLong(FREE << SCOPE_OFFSET);
  ------------------
  |  |  194|      4|#define FREE 4
  ------------------
                  v_free = PyLong_FromLong(FREE << SCOPE_OFFSET);
  ------------------
  |  |  187|      4|#define SCOPE_OFFSET 12
  ------------------
 1065|      4|    if (!v_free)
  ------------------
  |  Branch (1065:9): [True: 0, False: 4]
  ------------------
 1066|      0|        return 0;
 1067|       |
 1068|      4|    itr = PyObject_GetIter(free);
 1069|      4|    if (itr == NULL) {
  ------------------
  |  Branch (1069:9): [True: 0, False: 4]
  ------------------
 1070|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1071|      0|        return 0;
 1072|      0|    }
 1073|       |
 1074|      4|    while ((name = PyIter_Next(itr))) {
  ------------------
  |  Branch (1074:12): [True: 0, False: 4]
  ------------------
 1075|      0|        v = PyDict_GetItemWithError(symbols, name);
 1076|       |
 1077|       |        /* Handle symbol that already exists in this scope */
 1078|      0|        if (v) {
  ------------------
  |  Branch (1078:13): [True: 0, False: 0]
  ------------------
 1079|       |            /* Handle a free variable in a method of
 1080|       |               the class that has the same name as a local
 1081|       |               or global in the class scope.
 1082|       |            */
 1083|      0|            if  (classflag) {
  ------------------
  |  Branch (1083:18): [True: 0, False: 0]
  ------------------
 1084|      0|                long flags = PyLong_AsLong(v);
 1085|      0|                if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1085:21): [True: 0, False: 0]
  |  Branch (1085:36): [True: 0, False: 0]
  ------------------
 1086|      0|                    goto error;
 1087|      0|                }
 1088|      0|                flags |= DEF_FREE_CLASS;
  ------------------
  |  |  175|      0|#define DEF_FREE_CLASS (2<<5)    /* free variable from class's method */
  ------------------
 1089|      0|                v_new = PyLong_FromLong(flags);
 1090|      0|                if (!v_new) {
  ------------------
  |  Branch (1090:21): [True: 0, False: 0]
  ------------------
 1091|      0|                    goto error;
 1092|      0|                }
 1093|      0|                if (PyDict_SetItem(symbols, name, v_new) < 0) {
  ------------------
  |  Branch (1093:21): [True: 0, False: 0]
  ------------------
 1094|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1095|      0|                    goto error;
 1096|      0|                }
 1097|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1098|      0|            }
 1099|       |            /* It's a cell, or already free in this scope */
 1100|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1101|      0|            continue;
 1102|      0|        }
 1103|      0|        else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1103:18): [True: 0, False: 0]
  ------------------
 1104|      0|            goto error;
 1105|      0|        }
 1106|       |        /* Handle global symbol */
 1107|      0|        if (bound) {
  ------------------
  |  Branch (1107:13): [True: 0, False: 0]
  ------------------
 1108|      0|            int contains = PySet_Contains(bound, name);
 1109|      0|            if (contains < 0) {
  ------------------
  |  Branch (1109:17): [True: 0, False: 0]
  ------------------
 1110|      0|                goto error;
 1111|      0|            }
 1112|      0|            if (!contains) {
  ------------------
  |  Branch (1112:17): [True: 0, False: 0]
  ------------------
 1113|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1114|      0|                continue;       /* it's a global */
 1115|      0|            }
 1116|      0|        }
 1117|       |        /* Propagate new free symbol up the lexical stack */
 1118|      0|        if (PyDict_SetItem(symbols, name, v_free) < 0) {
  ------------------
  |  Branch (1118:13): [True: 0, False: 0]
  ------------------
 1119|      0|            goto error;
 1120|      0|        }
 1121|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1122|      0|    }
 1123|       |
 1124|       |    /* Check if loop ended because of exception in PyIter_Next */
 1125|      4|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1125:9): [True: 0, False: 4]
  ------------------
 1126|      0|        goto error;
 1127|      0|    }
 1128|       |
 1129|      4|    Py_DECREF(itr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1130|      4|    Py_DECREF(v_free);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1131|      4|    return 1;
 1132|      0|error:
 1133|      0|    Py_XDECREF(v_free);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1134|      0|    Py_XDECREF(itr);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1135|      0|    Py_XDECREF(name);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1136|      0|    return 0;
 1137|      4|}
symtable.c:symtable_exit_block:
 1443|      4|{
 1444|      4|    Py_ssize_t size;
 1445|       |
 1446|      4|    st->st_cur = NULL;
 1447|      4|    size = PyList_GET_SIZE(st->st_stack);
  ------------------
  |  |   38|      4|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1448|      4|    if (size) {
  ------------------
  |  Branch (1448:9): [True: 4, False: 0]
  ------------------
 1449|      4|        if (PyList_SetSlice(st->st_stack, size - 1, size, NULL) < 0)
  ------------------
  |  Branch (1449:13): [True: 0, False: 4]
  ------------------
 1450|      0|            return 0;
 1451|      4|        if (--size)
  ------------------
  |  Branch (1451:13): [True: 2, False: 2]
  ------------------
 1452|      2|            st->st_cur = (PySTEntryObject *)PyList_GET_ITEM(st->st_stack, size - 1);
  ------------------
  |  |   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 (1452:45): [True: 2, False: 0]
  ------------------
 1453|      4|    }
 1454|      4|    return 1;
 1455|      4|}
symtable.c:symtable_enter_block:
 1501|      4|{
 1502|      4|    PySTEntryObject *ste = ste_new(st, name, block, ast, loc);
 1503|      4|    if (ste == NULL) {
  ------------------
  |  Branch (1503:9): [True: 0, False: 4]
  ------------------
 1504|      0|        return 0;
 1505|      0|    }
 1506|      4|    int result = symtable_enter_existing_block(st, ste, /* add_to_children */true);
 1507|      4|    Py_DECREF(ste);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1508|      4|    if (result == 0) {
  ------------------
  |  Branch (1508:9): [True: 0, False: 4]
  ------------------
 1509|      0|        return 0;
 1510|      0|    }
 1511|      4|    if (block == AnnotationBlock || block == TypeVariableBlock || block == TypeAliasBlock) {
  ------------------
  |  Branch (1511:9): [True: 0, False: 4]
  |  Branch (1511:37): [True: 0, False: 4]
  |  Branch (1511:67): [True: 0, False: 4]
  ------------------
 1512|      0|        _Py_DECLARE_STR(format, ".format");
 1513|       |        // We need to insert code that reads this "parameter" to the function.
 1514|      0|        if (!symtable_add_def(st, &_Py_STR(format), DEF_PARAM, loc)) {
  ------------------
  |  |  953|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(format), DEF_PARAM, loc)) {
  ------------------
  |  |  172|      0|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1514:13): [True: 0, False: 0]
  ------------------
 1515|      0|            symtable_exit_block(st);
 1516|      0|            return 0;
 1517|      0|        }
 1518|      0|        if (!symtable_add_def(st, &_Py_STR(format), USE, loc)) {
  ------------------
  |  |  953|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(format), USE, loc)) {
  ------------------
  |  |  174|      0|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (1518:13): [True: 0, False: 0]
  ------------------
 1519|      0|            symtable_exit_block(st);
 1520|      0|            return 0;
 1521|      0|        }
 1522|      0|    }
 1523|      4|    return 1;
 1524|      4|}
symtable.c:ste_new:
  103|      4|{
  104|      4|    PySTEntryObject *ste = NULL;
  105|      4|    PyObject *k = NULL;
  106|       |
  107|      4|    k = PyLong_FromVoidPtr(key);
  108|      4|    if (k == NULL)
  ------------------
  |  Branch (108:9): [True: 0, False: 4]
  ------------------
  109|      0|        goto fail;
  110|      4|    ste = PyObject_New(PySTEntryObject, &PySTEntry_Type);
  ------------------
  |  |  130|      4|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
  111|      4|    if (ste == NULL) {
  ------------------
  |  Branch (111:9): [True: 0, False: 4]
  ------------------
  112|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  113|      0|        goto fail;
  114|      0|    }
  115|      4|    ste->ste_table = st;
  116|      4|    ste->ste_id = k; /* ste owns reference to k */
  117|       |
  118|      4|    ste->ste_name = Py_NewRef(name);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  119|      4|    ste->ste_function_name = NULL;
  120|       |
  121|      4|    ste->ste_symbols = NULL;
  122|      4|    ste->ste_varnames = NULL;
  123|      4|    ste->ste_children = NULL;
  124|       |
  125|      4|    ste->ste_directives = NULL;
  126|      4|    ste->ste_mangled_names = NULL;
  127|       |
  128|      4|    ste->ste_type = block;
  129|      4|    ste->ste_scope_info = NULL;
  130|       |
  131|      4|    ste->ste_nested = 0;
  132|      4|    ste->ste_varargs = 0;
  133|      4|    ste->ste_varkeywords = 0;
  134|      4|    ste->ste_annotations_used = 0;
  135|      4|    ste->ste_loc = loc;
  136|       |
  137|      4|    if (st->st_cur != NULL &&
  ------------------
  |  Branch (137:9): [True: 2, False: 2]
  ------------------
  138|      2|        (st->st_cur->ste_nested ||
  ------------------
  |  Branch (138:10): [True: 0, False: 2]
  ------------------
  139|      2|         ste_uses_fast_locals(st->st_cur)))
  ------------------
  |  Branch (139:10): [True: 0, False: 2]
  ------------------
  140|      0|        ste->ste_nested = 1;
  141|      4|    ste->ste_generator = 0;
  142|      4|    ste->ste_coroutine = 0;
  143|      4|    ste->ste_comprehension = NoComprehension;
  144|      4|    ste->ste_returns_value = 0;
  145|      4|    ste->ste_needs_class_closure = 0;
  146|      4|    ste->ste_parent = (block == InlinedComprehensionBlock) ? st->st_cur : NULL;
  ------------------
  |  Branch (146:23): [True: 0, False: 4]
  ------------------
  147|      4|    ste->ste_comp_iter_target = 0;
  148|      4|    ste->ste_can_see_class_scope = 0;
  149|      4|    ste->ste_comp_iter_expr = 0;
  150|      4|    ste->ste_needs_classdict = 0;
  151|      4|    ste->ste_has_conditional_annotations = 0;
  152|      4|    ste->ste_in_conditional_block = 0;
  153|      4|    ste->ste_in_try_block = 0;
  154|      4|    ste->ste_in_unevaluated_annotation = 0;
  155|      4|    ste->ste_annotation_block = NULL;
  156|       |
  157|      4|    ste->ste_has_docstring = 0;
  158|       |
  159|      4|    ste->ste_method = 0;
  160|      4|    if (st->st_cur != NULL &&
  ------------------
  |  Branch (160:9): [True: 2, False: 2]
  ------------------
  161|      2|        st->st_cur->ste_type == ClassBlock &&
  ------------------
  |  Branch (161:9): [True: 0, False: 2]
  ------------------
  162|      0|        block == FunctionBlock) {
  ------------------
  |  Branch (162:9): [True: 0, False: 0]
  ------------------
  163|      0|        ste->ste_method = 1;
  164|      0|    }
  165|       |
  166|      4|    ste->ste_symbols = PyDict_New();
  167|      4|    ste->ste_varnames = PyList_New(0);
  168|      4|    ste->ste_children = PyList_New(0);
  169|      4|    if (ste->ste_symbols == NULL
  ------------------
  |  Branch (169:9): [True: 0, False: 4]
  ------------------
  170|      4|        || ste->ste_varnames == NULL
  ------------------
  |  Branch (170:12): [True: 0, False: 4]
  ------------------
  171|      4|        || ste->ste_children == NULL)
  ------------------
  |  Branch (171:12): [True: 0, False: 4]
  ------------------
  172|      0|        goto fail;
  173|       |
  174|      4|    if (PyDict_SetItem(st->st_blocks, ste->ste_id, (PyObject *)ste) < 0)
  ------------------
  |  Branch (174:9): [True: 0, False: 4]
  ------------------
  175|      0|        goto fail;
  176|       |
  177|      4|    return ste;
  178|      0| fail:
  179|      0|    Py_XDECREF(ste);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  180|       |    return NULL;
  181|      4|}
symtable.c:symtable_enter_existing_block:
 1459|      4|{
 1460|      4|    if (PyList_Append(st->st_stack, (PyObject *)ste) < 0) {
  ------------------
  |  Branch (1460:9): [True: 0, False: 4]
  ------------------
 1461|      0|        return 0;
 1462|      0|    }
 1463|      4|    PySTEntryObject *prev = st->st_cur;
 1464|       |    /* bpo-37757: For now, disallow *all* assignment expressions in the
 1465|       |     * outermost iterator expression of a comprehension, even those inside
 1466|       |     * a nested comprehension or a lambda expression.
 1467|       |     */
 1468|      4|    if (prev) {
  ------------------
  |  Branch (1468:9): [True: 2, False: 2]
  ------------------
 1469|      2|        ste->ste_comp_iter_expr = prev->ste_comp_iter_expr;
 1470|      2|    }
 1471|       |    /* No need to inherit ste_mangled_names in classes, where all names
 1472|       |     * are mangled. */
 1473|      4|    if (prev && prev->ste_mangled_names != NULL && ste->ste_type != ClassBlock) {
  ------------------
  |  Branch (1473:9): [True: 2, False: 2]
  |  Branch (1473:17): [True: 0, False: 2]
  |  Branch (1473:52): [True: 0, False: 0]
  ------------------
 1474|      0|        ste->ste_mangled_names = Py_NewRef(prev->ste_mangled_names);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1475|      0|    }
 1476|       |    /* The entry is owned by the stack. Borrow it for st_cur. */
 1477|      4|    st->st_cur = ste;
 1478|       |
 1479|       |    /* If "from __future__ import annotations" is active,
 1480|       |     * annotation blocks shouldn't have any affect on the symbol table since in
 1481|       |     * the compilation stage, they will all be transformed to strings. */
 1482|      4|    if (st->st_future->ff_features & CO_FUTURE_ANNOTATIONS && ste->ste_type == AnnotationBlock) {
  ------------------
  |  |  147|      8|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (1482:9): [True: 0, False: 4]
  |  Branch (1482:63): [True: 0, False: 0]
  ------------------
 1483|      0|        return 1;
 1484|      0|    }
 1485|       |
 1486|      4|    if (ste->ste_type == ModuleBlock)
  ------------------
  |  Branch (1486:9): [True: 2, False: 2]
  ------------------
 1487|      2|        st->st_global = st->st_cur->ste_symbols;
 1488|       |
 1489|      4|    if (add_to_children && prev) {
  ------------------
  |  Branch (1489:9): [True: 4, False: 0]
  |  Branch (1489:28): [True: 2, False: 2]
  ------------------
 1490|      2|        if (PyList_Append(prev->ste_children, (PyObject *)ste) < 0) {
  ------------------
  |  Branch (1490:13): [True: 0, False: 2]
  ------------------
 1491|      0|            symtable_exit_block(st);
 1492|      0|            return 0;
 1493|      0|        }
 1494|      2|    }
 1495|      4|    return 1;
 1496|      4|}
symtable.c:symtable_add_def:
 1678|     11|{
 1679|     11|    return symtable_add_def_ctx(st, name, flag, loc,
 1680|     11|                                flag == USE ? Load : Store);
  ------------------
  |  |  174|     11|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (1680:33): [True: 0, False: 11]
  ------------------
 1681|     11|}
symtable.c:symtable_add_def_ctx:
 1662|     24|{
 1663|     24|    int write_mask = DEF_PARAM | DEF_LOCAL | DEF_IMPORT;
  ------------------
  |  |  172|     24|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                  int write_mask = DEF_PARAM | DEF_LOCAL | DEF_IMPORT;
  ------------------
  |  |  171|     24|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                  int write_mask = DEF_PARAM | DEF_LOCAL | DEF_IMPORT;
  ------------------
  |  |  176|     24|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  ------------------
 1664|     24|    if ((flag & write_mask) && !check_name(st, name, loc, ctx)) {
  ------------------
  |  Branch (1664:9): [True: 11, False: 13]
  |  Branch (1664:32): [True: 0, False: 11]
  ------------------
 1665|      0|        return 0;
 1666|      0|    }
 1667|     24|    if ((flag & DEF_TYPE_PARAM) && st->st_cur->ste_mangled_names != NULL) {
  ------------------
  |  |  179|     24|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
  |  Branch (1667:9): [True: 0, False: 24]
  |  Branch (1667:36): [True: 0, False: 0]
  ------------------
 1668|      0|        if(PySet_Add(st->st_cur->ste_mangled_names, name) < 0) {
  ------------------
  |  Branch (1668:12): [True: 0, False: 0]
  ------------------
 1669|      0|            return 0;
 1670|      0|        }
 1671|      0|    }
 1672|     24|    return symtable_add_def_helper(st, name, flag, st->st_cur, loc);
 1673|     24|}
symtable.c:check_name:
 1618|     11|{
 1619|     11|    if (ctx == Store && _PyUnicode_EqualToASCIIString(name, "__debug__")) {
  ------------------
  |  Branch (1619:9): [True: 11, False: 0]
  |  Branch (1619:25): [True: 0, False: 11]
  ------------------
 1620|      0|        PyErr_SetString(PyExc_SyntaxError, "cannot assign to __debug__");
 1621|      0|        SET_ERROR_LOCATION(st->st_filename, loc);
  ------------------
  |  |   89|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1622|      0|        return 0;
 1623|      0|    }
 1624|     11|    if (ctx == Del && _PyUnicode_EqualToASCIIString(name, "__debug__")) {
  ------------------
  |  Branch (1624:9): [True: 0, False: 11]
  |  Branch (1624:23): [True: 0, False: 0]
  ------------------
 1625|      0|        PyErr_SetString(PyExc_SyntaxError, "cannot delete __debug__");
 1626|      0|        SET_ERROR_LOCATION(st->st_filename, loc);
  ------------------
  |  |   89|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1627|      0|        return 0;
 1628|      0|    }
 1629|     11|    return 1;
 1630|     11|}
symtable.c:symtable_add_def_helper:
 1549|     24|{
 1550|     24|    PyObject *o;
 1551|     24|    long val = 0;
 1552|     24|    PyObject *mangled = _Py_MaybeMangle(st->st_private, st->st_cur, name);
 1553|       |
 1554|     24|    if (!mangled)
  ------------------
  |  Branch (1554:9): [True: 0, False: 24]
  ------------------
 1555|      0|        return 0;
 1556|     24|    if ((o = PyDict_GetItemWithError(ste->ste_symbols, mangled))) {
  ------------------
  |  Branch (1556:9): [True: 11, False: 13]
  ------------------
 1557|     11|        val = PyLong_AsLong(o);
 1558|     11|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1558:13): [True: 0, False: 11]
  |  Branch (1558:26): [True: 0, False: 0]
  ------------------
 1559|      0|            goto error;
 1560|      0|        }
 1561|     11|        if ((flag & DEF_PARAM) && (val & DEF_PARAM)) {
  ------------------
  |  |  172|     11|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if ((flag & DEF_PARAM) && (val & DEF_PARAM)) {
  ------------------
  |  |  172|      0|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1561:13): [True: 0, False: 11]
  |  Branch (1561:35): [True: 0, False: 0]
  ------------------
 1562|       |            /* Is it better to use 'mangled' or 'name' here? */
 1563|      0|            PyErr_Format(PyExc_SyntaxError, DUPLICATE_PARAMETER, name);
  ------------------
  |  |  393|      0|#define DUPLICATE_PARAMETER \
  |  |  394|      0|"duplicate parameter '%U' in function definition"
  ------------------
 1564|      0|            SET_ERROR_LOCATION(st->st_filename, loc);
  ------------------
  |  |   89|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1565|      0|            goto error;
 1566|      0|        }
 1567|     11|        if ((flag & DEF_TYPE_PARAM) && (val & DEF_TYPE_PARAM)) {
  ------------------
  |  |  179|     11|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
                      if ((flag & DEF_TYPE_PARAM) && (val & DEF_TYPE_PARAM)) {
  ------------------
  |  |  179|      0|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
  |  Branch (1567:13): [True: 0, False: 11]
  |  Branch (1567:40): [True: 0, False: 0]
  ------------------
 1568|      0|            PyErr_Format(PyExc_SyntaxError, DUPLICATE_TYPE_PARAM, name);
  ------------------
  |  |   77|      0|#define DUPLICATE_TYPE_PARAM \
  |  |   78|      0|"duplicate type parameter '%U'"
  ------------------
 1569|      0|            SET_ERROR_LOCATION(st->st_filename, loc);
  ------------------
  |  |   89|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1570|      0|            goto error;
 1571|      0|        }
 1572|     11|    }
 1573|     13|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1573:14): [True: 0, False: 13]
  ------------------
 1574|      0|        goto error;
 1575|      0|    }
 1576|       |
 1577|     24|    int to_add = flag;
 1578|     24|    if (ste->ste_comp_iter_target) {
  ------------------
  |  Branch (1578:9): [True: 0, False: 24]
  ------------------
 1579|       |        /* This name is an iteration variable in a comprehension,
 1580|       |         * so check for a binding conflict with any named expressions.
 1581|       |         * Otherwise, mark it as an iteration variable so subsequent
 1582|       |         * named expressions can check for conflicts.
 1583|       |         */
 1584|      0|        if ((val | flag) & (DEF_GLOBAL | DEF_NONLOCAL)) {
  ------------------
  |  |  170|      0|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                      if ((val | flag) & (DEF_GLOBAL | DEF_NONLOCAL)) {
  ------------------
  |  |  173|      0|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (1584:13): [True: 0, False: 0]
  ------------------
 1585|      0|            PyErr_Format(PyExc_SyntaxError,
 1586|      0|                NAMED_EXPR_COMP_INNER_LOOP_CONFLICT, name);
  ------------------
  |  |   59|      0|#define NAMED_EXPR_COMP_INNER_LOOP_CONFLICT \
  |  |   60|      0|"comprehension inner loop cannot rebind assignment expression target '%U'"
  ------------------
 1587|      0|            SET_ERROR_LOCATION(st->st_filename, loc);
  ------------------
  |  |   89|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1588|      0|            goto error;
 1589|      0|        }
 1590|      0|        to_add |= DEF_COMP_ITER;
  ------------------
  |  |  178|      0|#define DEF_COMP_ITER (2<<8)     /* this name is a comprehension iteration variable */
  ------------------
 1591|      0|    }
 1592|     24|    if (!symtable_add_flag(ste->ste_symbols, mangled, to_add)) {
  ------------------
  |  Branch (1592:9): [True: 0, False: 24]
  ------------------
 1593|      0|        goto error;
 1594|      0|    }
 1595|       |
 1596|     24|    if (flag & DEF_PARAM) {
  ------------------
  |  |  172|     24|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1596:9): [True: 11, False: 13]
  ------------------
 1597|     11|        if (PyList_Append(ste->ste_varnames, mangled) < 0)
  ------------------
  |  Branch (1597:13): [True: 0, False: 11]
  ------------------
 1598|      0|            goto error;
 1599|     11|    }
 1600|     13|    else if (flag & DEF_GLOBAL) {
  ------------------
  |  |  170|     13|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (1600:14): [True: 0, False: 13]
  ------------------
 1601|       |        /* XXX need to update DEF_GLOBAL for other flags too;
 1602|       |           perhaps only DEF_FREE_GLOBAL */
 1603|      0|        if (!symtable_add_flag(st->st_global, mangled, flag)) {
  ------------------
  |  Branch (1603:13): [True: 0, False: 0]
  ------------------
 1604|      0|            goto error;
 1605|      0|        }
 1606|      0|    }
 1607|     24|    Py_DECREF(mangled);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1608|     24|    return 1;
 1609|       |
 1610|      0|error:
 1611|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1612|      0|    return 0;
 1613|     24|}
symtable.c:symtable_visit_arguments:
 2984|      2|{
 2985|       |    /* skip default arguments inside function block
 2986|       |       XXX should ast be different?
 2987|       |    */
 2988|      2|    if (a->posonlyargs && !symtable_visit_params(st, a->posonlyargs))
  ------------------
  |  Branch (2988:9): [True: 2, False: 0]
  |  Branch (2988:27): [True: 0, False: 2]
  ------------------
 2989|      0|        return 0;
 2990|      2|    if (a->args && !symtable_visit_params(st, a->args))
  ------------------
  |  Branch (2990:9): [True: 2, False: 0]
  |  Branch (2990:20): [True: 0, False: 2]
  ------------------
 2991|      0|        return 0;
 2992|      2|    if (a->kwonlyargs && !symtable_visit_params(st, a->kwonlyargs))
  ------------------
  |  Branch (2992:9): [True: 2, False: 0]
  |  Branch (2992:26): [True: 0, False: 2]
  ------------------
 2993|      0|        return 0;
 2994|      2|    if (a->vararg) {
  ------------------
  |  Branch (2994:9): [True: 0, False: 2]
  ------------------
 2995|      0|        if (!symtable_add_def(st, a->vararg->arg, DEF_PARAM, LOCATION(a->vararg)))
  ------------------
  |  |  172|      0|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if (!symtable_add_def(st, a->vararg->arg, DEF_PARAM, LOCATION(a->vararg)))
  ------------------
  |  |   86|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      0|    (_Py_SourceLocation){ \
  |  |  |  |   59|      0|               .lineno = (n)->lineno, \
  |  |  |  |   60|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2995:13): [True: 0, False: 0]
  ------------------
 2996|      0|            return 0;
 2997|      0|        st->st_cur->ste_varargs = 1;
 2998|      0|    }
 2999|      2|    if (a->kwarg) {
  ------------------
  |  Branch (2999:9): [True: 0, False: 2]
  ------------------
 3000|      0|        if (!symtable_add_def(st, a->kwarg->arg, DEF_PARAM, LOCATION(a->kwarg)))
  ------------------
  |  |  172|      0|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if (!symtable_add_def(st, a->kwarg->arg, DEF_PARAM, LOCATION(a->kwarg)))
  ------------------
  |  |   86|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      0|    (_Py_SourceLocation){ \
  |  |  |  |   59|      0|               .lineno = (n)->lineno, \
  |  |  |  |   60|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (3000:13): [True: 0, False: 0]
  ------------------
 3001|      0|            return 0;
 3002|      0|        st->st_cur->ste_varkeywords = 1;
 3003|      0|    }
 3004|      2|    return 1;
 3005|      2|}
symtable.c:symtable_visit_params:
 2859|      6|{
 2860|      6|    Py_ssize_t i;
 2861|       |
 2862|     17|    for (i = 0; i < asdl_seq_LEN(args); i++) {
  ------------------
  |  |   83|     17|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|     34|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2862:17): [True: 11, False: 6]
  ------------------
 2863|     11|        arg_ty arg = (arg_ty)asdl_seq_GET(args, i);
  ------------------
  |  |   82|     11|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|     11|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2864|     11|        if (!symtable_add_def(st, arg->arg, DEF_PARAM, LOCATION(arg)))
  ------------------
  |  |  172|     11|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if (!symtable_add_def(st, arg->arg, DEF_PARAM, LOCATION(arg)))
  ------------------
  |  |   86|     11|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|     11|    (_Py_SourceLocation){ \
  |  |  |  |   59|     11|               .lineno = (n)->lineno, \
  |  |  |  |   60|     11|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|     11|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|     11|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2864:13): [True: 0, False: 11]
  ------------------
 2865|      0|            return 0;
 2866|     11|    }
 2867|       |
 2868|      6|    return 1;
 2869|      6|}
symtable.c:check_keywords:
 1634|      2|{
 1635|      2|    for (Py_ssize_t i = 0; i < asdl_seq_LEN(keywords); i++) {
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1635:28): [True: 0, False: 2]
  ------------------
 1636|      0|        keyword_ty key = ((keyword_ty)asdl_seq_GET(keywords, i));
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1637|      0|        if (key->arg  && !check_name(st, key->arg, LOCATION(key), Store)) {
  ------------------
  |  |   86|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      0|    (_Py_SourceLocation){ \
  |  |  |  |   59|      0|               .lineno = (n)->lineno, \
  |  |  |  |   60|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (1637:13): [True: 0, False: 0]
  |  Branch (1637:26): [True: 0, False: 0]
  ------------------
 1638|      0|            return 0;
 1639|      0|        }
 1640|      0|    }
 1641|      2|    return 1;
 1642|      2|}
symtable.c:symtable_visit_expr:
 2505|     19|{
 2506|     19|    ENTER_RECURSIVE();
  ------------------
  |  | 1804|     19|#define ENTER_RECURSIVE() \
  |  | 1805|     19|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (1805:5): [True: 0, False: 19]
  |  |  ------------------
  |  | 1806|      0|    return 0; \
  |  | 1807|      0|}
  ------------------
 2507|     19|    switch (e->kind) {
  ------------------
  |  Branch (2507:13): [True: 19, False: 0]
  ------------------
 2508|      0|    case NamedExpr_kind:
  ------------------
  |  Branch (2508:5): [True: 0, False: 19]
  ------------------
 2509|      0|        if (!symtable_raise_if_annotation_block(st, "named expression", e)) {
  ------------------
  |  Branch (2509:13): [True: 0, False: 0]
  ------------------
 2510|      0|            return 0;
 2511|      0|        }
 2512|      0|        if(!symtable_handle_namedexpr(st, e))
  ------------------
  |  Branch (2512:12): [True: 0, False: 0]
  ------------------
 2513|      0|            return 0;
 2514|      0|        break;
 2515|      0|    case BoolOp_kind:
  ------------------
  |  Branch (2515:5): [True: 0, False: 19]
  ------------------
 2516|      0|        VISIT_SEQ(st, expr, e->v.BoolOp.values);
  ------------------
  |  | 1757|      0|    do { \
  |  | 1758|      0|        Py_ssize_t i; \
  |  | 1759|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1761|      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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1763|      0|                return 0;                 \
  |  | 1764|      0|        } \
  |  | 1765|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2517|      0|        break;
 2518|      0|    case BinOp_kind:
  ------------------
  |  Branch (2518:5): [True: 0, False: 19]
  ------------------
 2519|      0|        VISIT(st, expr, e->v.BinOp.left);
  ------------------
  |  | 1750|      0|    do { \
  |  | 1751|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2520|      0|        VISIT(st, expr, e->v.BinOp.right);
  ------------------
  |  | 1750|      0|    do { \
  |  | 1751|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2521|      0|        break;
 2522|      0|    case UnaryOp_kind:
  ------------------
  |  Branch (2522:5): [True: 0, False: 19]
  ------------------
 2523|      0|        VISIT(st, expr, e->v.UnaryOp.operand);
  ------------------
  |  | 1750|      0|    do { \
  |  | 1751|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2524|      0|        break;
 2525|      2|    case Lambda_kind: {
  ------------------
  |  Branch (2525:5): [True: 2, False: 17]
  ------------------
 2526|      2|        if (e->v.Lambda.args->defaults)
  ------------------
  |  Branch (2526:13): [True: 2, False: 0]
  ------------------
 2527|      2|            VISIT_SEQ(st, expr, e->v.Lambda.args->defaults);
  ------------------
  |  | 1757|      2|    do { \
  |  | 1758|      2|        Py_ssize_t i; \
  |  | 1759|      2|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|      2|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 0, False: 2]
  |  |  ------------------
  |  | 1761|      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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1763|      0|                return 0;                 \
  |  | 1764|      0|        } \
  |  | 1765|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2528|      2|        if (e->v.Lambda.args->kw_defaults)
  ------------------
  |  Branch (2528:13): [True: 2, False: 0]
  ------------------
 2529|      2|            VISIT_SEQ_WITH_NULL(st, expr, e->v.Lambda.args->kw_defaults);
  ------------------
  |  | 1779|      2|    do { \
  |  | 1780|      2|        int i = 0; \
  |  | 1781|      2|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1782|      2|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1782:21): [True: 0, False: 2]
  |  |  ------------------
  |  | 1783|      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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1784|      0|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1784:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1785|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1785:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1786|      0|                return 0;             \
  |  | 1787|      0|        } \
  |  | 1788|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1788:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2530|      2|        if (!symtable_enter_block(st, &_Py_STR(anon_lambda),
  ------------------
  |  |  953|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2530:13): [True: 0, False: 2]
  ------------------
 2531|      2|                                  FunctionBlock, (void *)e, LOCATION(e))) {
  ------------------
  |  |   86|      2|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      2|    (_Py_SourceLocation){ \
  |  |  |  |   59|      2|               .lineno = (n)->lineno, \
  |  |  |  |   60|      2|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      2|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      2|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2532|      0|            return 0;
 2533|      0|        }
 2534|      2|        VISIT(st, arguments, e->v.Lambda.args);
  ------------------
  |  | 1750|      2|    do { \
  |  | 1751|      2|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2535|      2|        VISIT(st, expr, e->v.Lambda.body);
  ------------------
  |  | 1750|      2|    do { \
  |  | 1751|      2|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2536|      2|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (2536:13): [True: 0, False: 2]
  ------------------
 2537|      0|            return 0;
 2538|      2|        break;
 2539|      2|    }
 2540|      2|    case IfExp_kind:
  ------------------
  |  Branch (2540:5): [True: 0, False: 19]
  ------------------
 2541|      0|        VISIT(st, expr, e->v.IfExp.test);
  ------------------
  |  | 1750|      0|    do { \
  |  | 1751|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2542|      0|        VISIT(st, expr, e->v.IfExp.body);
  ------------------
  |  | 1750|      0|    do { \
  |  | 1751|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2543|      0|        VISIT(st, expr, e->v.IfExp.orelse);
  ------------------
  |  | 1750|      0|    do { \
  |  | 1751|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2544|      0|        break;
 2545|      0|    case Dict_kind:
  ------------------
  |  Branch (2545:5): [True: 0, False: 19]
  ------------------
 2546|      0|        VISIT_SEQ_WITH_NULL(st, expr, e->v.Dict.keys);
  ------------------
  |  | 1779|      0|    do { \
  |  | 1780|      0|        int i = 0; \
  |  | 1781|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1782|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1782:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1783|      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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1784|      0|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1784:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1785|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1785:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1786|      0|                return 0;             \
  |  | 1787|      0|        } \
  |  | 1788|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1788:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2547|      0|        VISIT_SEQ(st, expr, e->v.Dict.values);
  ------------------
  |  | 1757|      0|    do { \
  |  | 1758|      0|        Py_ssize_t i; \
  |  | 1759|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1761|      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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1763|      0|                return 0;                 \
  |  | 1764|      0|        } \
  |  | 1765|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2548|      0|        break;
 2549|      0|    case Set_kind:
  ------------------
  |  Branch (2549:5): [True: 0, False: 19]
  ------------------
 2550|      0|        VISIT_SEQ(st, expr, e->v.Set.elts);
  ------------------
  |  | 1757|      0|    do { \
  |  | 1758|      0|        Py_ssize_t i; \
  |  | 1759|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1761|      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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1763|      0|                return 0;                 \
  |  | 1764|      0|        } \
  |  | 1765|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2551|      0|        break;
 2552|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (2552:5): [True: 0, False: 19]
  ------------------
 2553|      0|        if (!symtable_visit_genexp(st, e))
  ------------------
  |  Branch (2553:13): [True: 0, False: 0]
  ------------------
 2554|      0|            return 0;
 2555|      0|        break;
 2556|      0|    case ListComp_kind:
  ------------------
  |  Branch (2556:5): [True: 0, False: 19]
  ------------------
 2557|      0|        if (!symtable_visit_listcomp(st, e))
  ------------------
  |  Branch (2557:13): [True: 0, False: 0]
  ------------------
 2558|      0|            return 0;
 2559|      0|        break;
 2560|      0|    case SetComp_kind:
  ------------------
  |  Branch (2560:5): [True: 0, False: 19]
  ------------------
 2561|      0|        if (!symtable_visit_setcomp(st, e))
  ------------------
  |  Branch (2561:13): [True: 0, False: 0]
  ------------------
 2562|      0|            return 0;
 2563|      0|        break;
 2564|      0|    case DictComp_kind:
  ------------------
  |  Branch (2564:5): [True: 0, False: 19]
  ------------------
 2565|      0|        if (!symtable_visit_dictcomp(st, e))
  ------------------
  |  Branch (2565:13): [True: 0, False: 0]
  ------------------
 2566|      0|            return 0;
 2567|      0|        break;
 2568|      0|    case Yield_kind:
  ------------------
  |  Branch (2568:5): [True: 0, False: 19]
  ------------------
 2569|      0|        if (!symtable_raise_if_annotation_block(st, "yield expression", e)) {
  ------------------
  |  Branch (2569:13): [True: 0, False: 0]
  ------------------
 2570|      0|            return 0;
 2571|      0|        }
 2572|      0|        if (e->v.Yield.value)
  ------------------
  |  Branch (2572:13): [True: 0, False: 0]
  ------------------
 2573|      0|            VISIT(st, expr, e->v.Yield.value);
  ------------------
  |  | 1750|      0|    do { \
  |  | 1751|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2574|      0|        st->st_cur->ste_generator = 1;
 2575|      0|        if (st->st_cur->ste_comprehension) {
  ------------------
  |  Branch (2575:13): [True: 0, False: 0]
  ------------------
 2576|      0|            return symtable_raise_if_comprehension_block(st, e);
 2577|      0|        }
 2578|      0|        break;
 2579|      0|    case YieldFrom_kind:
  ------------------
  |  Branch (2579:5): [True: 0, False: 19]
  ------------------
 2580|      0|        if (!symtable_raise_if_annotation_block(st, "yield expression", e)) {
  ------------------
  |  Branch (2580:13): [True: 0, False: 0]
  ------------------
 2581|      0|            return 0;
 2582|      0|        }
 2583|      0|        VISIT(st, expr, e->v.YieldFrom.value);
  ------------------
  |  | 1750|      0|    do { \
  |  | 1751|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2584|      0|        st->st_cur->ste_generator = 1;
 2585|      0|        if (st->st_cur->ste_comprehension) {
  ------------------
  |  Branch (2585:13): [True: 0, False: 0]
  ------------------
 2586|      0|            return symtable_raise_if_comprehension_block(st, e);
 2587|      0|        }
 2588|      0|        break;
 2589|      0|    case Await_kind:
  ------------------
  |  Branch (2589:5): [True: 0, False: 19]
  ------------------
 2590|      0|        if (!symtable_raise_if_annotation_block(st, "await expression", e)) {
  ------------------
  |  Branch (2590:13): [True: 0, False: 0]
  ------------------
 2591|      0|            return 0;
 2592|      0|        }
 2593|      0|        if (!allows_top_level_await(st)) {
  ------------------
  |  Branch (2593:13): [True: 0, False: 0]
  ------------------
 2594|      0|            if (!ste_uses_fast_locals(st->st_cur)) {
  ------------------
  |  Branch (2594:17): [True: 0, False: 0]
  ------------------
 2595|      0|                PyErr_SetString(PyExc_SyntaxError,
 2596|      0|                                "'await' outside function");
 2597|      0|                SET_ERROR_LOCATION(st->st_filename, LOCATION(e));
  ------------------
  |  |   89|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2598|      0|                return 0;
 2599|      0|            }
 2600|      0|            if (!IS_ASYNC_DEF(st) && st->st_cur->ste_comprehension == NoComprehension) {
  ------------------
  |  |   92|      0|#define IS_ASYNC_DEF(st) ((st)->st_cur->ste_type == FunctionBlock && (st)->st_cur->ste_coroutine)
  |  |  ------------------
  |  |  |  Branch (92:27): [True: 0, False: 0]
  |  |  |  Branch (92:70): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2600:38): [True: 0, False: 0]
  ------------------
 2601|      0|                PyErr_SetString(PyExc_SyntaxError,
 2602|      0|                                "'await' outside async function");
 2603|      0|                SET_ERROR_LOCATION(st->st_filename, LOCATION(e));
  ------------------
  |  |   89|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2604|      0|                return 0;
 2605|      0|            }
 2606|      0|        }
 2607|      0|        VISIT(st, expr, e->v.Await.value);
  ------------------
  |  | 1750|      0|    do { \
  |  | 1751|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2608|      0|        st->st_cur->ste_coroutine = 1;
 2609|      0|        break;
 2610|      0|    case Compare_kind:
  ------------------
  |  Branch (2610:5): [True: 0, False: 19]
  ------------------
 2611|      0|        VISIT(st, expr, e->v.Compare.left);
  ------------------
  |  | 1750|      0|    do { \
  |  | 1751|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2612|      0|        VISIT_SEQ(st, expr, e->v.Compare.comparators);
  ------------------
  |  | 1757|      0|    do { \
  |  | 1758|      0|        Py_ssize_t i; \
  |  | 1759|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1761|      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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1763|      0|                return 0;                 \
  |  | 1764|      0|        } \
  |  | 1765|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2613|      0|        break;
 2614|      2|    case Call_kind:
  ------------------
  |  Branch (2614:5): [True: 2, False: 17]
  ------------------
 2615|      2|        VISIT(st, expr, e->v.Call.func);
  ------------------
  |  | 1750|      2|    do { \
  |  | 1751|      2|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2616|      2|        VISIT_SEQ(st, expr, e->v.Call.args);
  ------------------
  |  | 1757|      2|    do { \
  |  | 1758|      2|        Py_ssize_t i; \
  |  | 1759|      2|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|      6|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      6|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|     12|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 4, False: 2]
  |  |  ------------------
  |  | 1761|      4|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      4|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|      4|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 4]
  |  |  ------------------
  |  | 1763|      4|                return 0;                 \
  |  | 1764|      4|        } \
  |  | 1765|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2617|      2|        if (!check_keywords(st, e->v.Call.keywords)) {
  ------------------
  |  Branch (2617:13): [True: 0, False: 2]
  ------------------
 2618|      0|            return 0;
 2619|      0|        }
 2620|      2|        VISIT_SEQ_WITH_NULL(st, keyword, e->v.Call.keywords);
  ------------------
  |  | 1779|      2|    do { \
  |  | 1780|      2|        int i = 0; \
  |  | 1781|      2|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1782|      2|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1782:21): [True: 0, False: 2]
  |  |  ------------------
  |  | 1783|      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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1784|      0|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1784:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1785|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1785:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1786|      0|                return 0;             \
  |  | 1787|      0|        } \
  |  | 1788|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1788:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2621|      2|        break;
 2622|      2|    case FormattedValue_kind:
  ------------------
  |  Branch (2622:5): [True: 0, False: 19]
  ------------------
 2623|      0|        VISIT(st, expr, e->v.FormattedValue.value);
  ------------------
  |  | 1750|      0|    do { \
  |  | 1751|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2624|      0|        if (e->v.FormattedValue.format_spec)
  ------------------
  |  Branch (2624:13): [True: 0, False: 0]
  ------------------
 2625|      0|            VISIT(st, expr, e->v.FormattedValue.format_spec);
  ------------------
  |  | 1750|      0|    do { \
  |  | 1751|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2626|      0|        break;
 2627|      0|    case Interpolation_kind:
  ------------------
  |  Branch (2627:5): [True: 0, False: 19]
  ------------------
 2628|      0|        VISIT(st, expr, e->v.Interpolation.value);
  ------------------
  |  | 1750|      0|    do { \
  |  | 1751|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2629|      0|        if (e->v.Interpolation.format_spec)
  ------------------
  |  Branch (2629:13): [True: 0, False: 0]
  ------------------
 2630|      0|            VISIT(st, expr, e->v.Interpolation.format_spec);
  ------------------
  |  | 1750|      0|    do { \
  |  | 1751|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2631|      0|        break;
 2632|      0|    case JoinedStr_kind:
  ------------------
  |  Branch (2632:5): [True: 0, False: 19]
  ------------------
 2633|      0|        VISIT_SEQ(st, expr, e->v.JoinedStr.values);
  ------------------
  |  | 1757|      0|    do { \
  |  | 1758|      0|        Py_ssize_t i; \
  |  | 1759|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1761|      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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1763|      0|                return 0;                 \
  |  | 1764|      0|        } \
  |  | 1765|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2634|      0|        break;
 2635|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (2635:5): [True: 0, False: 19]
  ------------------
 2636|      0|        VISIT_SEQ(st, expr, e->v.TemplateStr.values);
  ------------------
  |  | 1757|      0|    do { \
  |  | 1758|      0|        Py_ssize_t i; \
  |  | 1759|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1761|      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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1763|      0|                return 0;                 \
  |  | 1764|      0|        } \
  |  | 1765|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2637|      0|        break;
 2638|      0|    case Constant_kind:
  ------------------
  |  Branch (2638:5): [True: 0, False: 19]
  ------------------
 2639|       |        /* Nothing to do here. */
 2640|      0|        break;
 2641|       |    /* The following exprs can be assignment targets. */
 2642|      0|    case Attribute_kind:
  ------------------
  |  Branch (2642:5): [True: 0, False: 19]
  ------------------
 2643|      0|        if (!check_name(st, e->v.Attribute.attr, LOCATION(e), e->v.Attribute.ctx)) {
  ------------------
  |  |   86|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      0|    (_Py_SourceLocation){ \
  |  |  |  |   59|      0|               .lineno = (n)->lineno, \
  |  |  |  |   60|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2643:13): [True: 0, False: 0]
  ------------------
 2644|      0|            return 0;
 2645|      0|        }
 2646|      0|        VISIT(st, expr, e->v.Attribute.value);
  ------------------
  |  | 1750|      0|    do { \
  |  | 1751|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2647|      0|        break;
 2648|      0|    case Subscript_kind:
  ------------------
  |  Branch (2648:5): [True: 0, False: 19]
  ------------------
 2649|      0|        VISIT(st, expr, e->v.Subscript.value);
  ------------------
  |  | 1750|      0|    do { \
  |  | 1751|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2650|      0|        VISIT(st, expr, e->v.Subscript.slice);
  ------------------
  |  | 1750|      0|    do { \
  |  | 1751|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2651|      0|        break;
 2652|      0|    case Starred_kind:
  ------------------
  |  Branch (2652:5): [True: 0, False: 19]
  ------------------
 2653|      0|        VISIT(st, expr, e->v.Starred.value);
  ------------------
  |  | 1750|      0|    do { \
  |  | 1751|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2654|      0|        break;
 2655|      0|    case Slice_kind:
  ------------------
  |  Branch (2655:5): [True: 0, False: 19]
  ------------------
 2656|      0|        if (e->v.Slice.lower)
  ------------------
  |  Branch (2656:13): [True: 0, False: 0]
  ------------------
 2657|      0|            VISIT(st, expr, e->v.Slice.lower);
  ------------------
  |  | 1750|      0|    do { \
  |  | 1751|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2658|      0|        if (e->v.Slice.upper)
  ------------------
  |  Branch (2658:13): [True: 0, False: 0]
  ------------------
 2659|      0|            VISIT(st, expr, e->v.Slice.upper);
  ------------------
  |  | 1750|      0|    do { \
  |  | 1751|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2660|      0|        if (e->v.Slice.step)
  ------------------
  |  Branch (2660:13): [True: 0, False: 0]
  ------------------
 2661|      0|            VISIT(st, expr, e->v.Slice.step);
  ------------------
  |  | 1750|      0|    do { \
  |  | 1751|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2662|      0|        break;
 2663|     13|    case Name_kind:
  ------------------
  |  Branch (2663:5): [True: 13, False: 6]
  ------------------
 2664|     13|        if (!st->st_cur->ste_in_unevaluated_annotation) {
  ------------------
  |  Branch (2664:13): [True: 13, False: 0]
  ------------------
 2665|     13|            if (!symtable_add_def_ctx(st, e->v.Name.id,
  ------------------
  |  Branch (2665:17): [True: 0, False: 13]
  ------------------
 2666|     13|                                    e->v.Name.ctx == Load ? USE : DEF_LOCAL,
  ------------------
  |  |  174|     13|#define USE (2<<3)               /* name is used */
  ------------------
                                                  e->v.Name.ctx == Load ? USE : DEF_LOCAL,
  ------------------
  |  |  171|      0|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
  |  Branch (2666:37): [True: 13, False: 0]
  ------------------
 2667|     13|                                    LOCATION(e), e->v.Name.ctx)) {
  ------------------
  |  |   86|     13|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|     13|    (_Py_SourceLocation){ \
  |  |  |  |   59|     13|               .lineno = (n)->lineno, \
  |  |  |  |   60|     13|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|     13|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|     13|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2668|      0|                return 0;
 2669|      0|            }
 2670|       |            /* Special-case super: it counts as a use of __class__ */
 2671|     13|            if (e->v.Name.ctx == Load &&
  ------------------
  |  Branch (2671:17): [True: 13, False: 0]
  ------------------
 2672|     13|                ste_uses_fast_locals(st->st_cur) &&
  ------------------
  |  Branch (2672:17): [True: 13, False: 0]
  ------------------
 2673|     13|                _PyUnicode_EqualToASCIIString(e->v.Name.id, "super")) {
  ------------------
  |  Branch (2673:17): [True: 0, False: 13]
  ------------------
 2674|      0|                if (!symtable_add_def(st, &_Py_ID(__class__), USE, LOCATION(e)))
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              if (!symtable_add_def(st, &_Py_ID(__class__), USE, LOCATION(e)))
  ------------------
  |  |  174|      0|#define USE (2<<3)               /* name is used */
  ------------------
                              if (!symtable_add_def(st, &_Py_ID(__class__), USE, LOCATION(e)))
  ------------------
  |  |   86|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      0|    (_Py_SourceLocation){ \
  |  |  |  |   59|      0|               .lineno = (n)->lineno, \
  |  |  |  |   60|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2674:21): [True: 0, False: 0]
  ------------------
 2675|      0|                    return 0;
 2676|      0|            }
 2677|     13|        }
 2678|     13|        break;
 2679|       |    /* child nodes of List and Tuple will have expr_context set */
 2680|     13|    case List_kind:
  ------------------
  |  Branch (2680:5): [True: 0, False: 19]
  ------------------
 2681|      0|        VISIT_SEQ(st, expr, e->v.List.elts);
  ------------------
  |  | 1757|      0|    do { \
  |  | 1758|      0|        Py_ssize_t i; \
  |  | 1759|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1761|      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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1763|      0|                return 0;                 \
  |  | 1764|      0|        } \
  |  | 1765|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2682|      0|        break;
 2683|      2|    case Tuple_kind:
  ------------------
  |  Branch (2683:5): [True: 2, False: 17]
  ------------------
 2684|      2|        VISIT_SEQ(st, expr, e->v.Tuple.elts);
  ------------------
  |  | 1757|      2|    do { \
  |  | 1758|      2|        Py_ssize_t i; \
  |  | 1759|      2|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|     11|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     11|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|     22|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 11]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 9, False: 2]
  |  |  ------------------
  |  | 1761|      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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      9|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|      9|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 9]
  |  |  ------------------
  |  | 1763|      9|                return 0;                 \
  |  | 1764|      9|        } \
  |  | 1765|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2685|      2|        break;
 2686|     19|    }
 2687|     19|    LEAVE_RECURSIVE();
  ------------------
  |  | 1809|     19|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
 2688|     19|    return 1;
 2689|     19|}

PySys_GetAttrString:
  107|      2|{
  108|      2|    PyThreadState *tstate = _PyThreadState_GET();
  109|      2|    PyObject *sysdict = tstate->interp->sysdict;
  110|      2|    if (sysdict == NULL) {
  ------------------
  |  Branch (110:9): [True: 0, False: 2]
  ------------------
  111|      0|        PyErr_SetString(PyExc_RuntimeError, "no sys module");
  112|      0|        return NULL;
  113|      0|    }
  114|      2|    PyObject *value;
  115|      2|    if (PyDict_GetItemStringRef(sysdict, name, &value) == 0) {
  ------------------
  |  Branch (115:9): [True: 0, False: 2]
  ------------------
  116|      0|        PyErr_Format(PyExc_RuntimeError, "lost sys.%s", name);
  117|      0|    }
  118|      2|    return value;
  119|      2|}
PySys_GetOptionalAttrString:
  142|      2|{
  143|      2|    PyThreadState *tstate = _PyThreadState_GET();
  144|      2|    PyObject *sysdict = tstate->interp->sysdict;
  145|      2|    if (sysdict == NULL) {
  ------------------
  |  Branch (145:9): [True: 0, False: 2]
  ------------------
  146|      0|        *value = NULL;
  147|      0|        return 0;
  148|      0|    }
  149|      2|    return PyDict_GetItemStringRef(sysdict, name, value);
  150|      2|}
_PySys_SetAttr:
  197|      8|{
  198|      8|    PyInterpreterState *interp = _PyInterpreterState_GET();
  199|      8|    return sys_set_object(interp, key, v);
  200|      8|}
PySys_SetObject:
  214|      6|{
  215|      6|    PyInterpreterState *interp = _PyInterpreterState_GET();
  216|      6|    return sys_set_object_str(interp, name, v);
  217|      6|}
_PySys_Audit:
  378|      4|{
  379|      4|    va_list vargs;
  380|      4|    va_start(vargs, argFormat);
  381|      4|    int res = sys_audit_tstate(tstate, event, argFormat, vargs);
  382|       |    va_end(vargs);
  383|      4|    return res;
  384|      4|}
PySys_Audit:
  388|    208|{
  389|    208|    PyThreadState *tstate = _PyThreadState_GET();
  390|    208|    va_list vargs;
  391|    208|    va_start(vargs, argFormat);
  392|    208|    int res = sys_audit_tstate(tstate, event, argFormat, vargs);
  393|       |    va_end(vargs);
  394|    208|    return res;
  395|    208|}
_PySys_ReadPreinitWarnOptions:
 3099|      2|{
 3100|      2|    PyStatus status;
 3101|      2|    _Py_PreInitEntry entry;
 3102|       |
 3103|      2|    for (entry = _preinit_warnoptions; entry != NULL; entry = entry->next) {
  ------------------
  |  Branch (3103:40): [True: 0, False: 2]
  ------------------
 3104|      0|        status = PyWideStringList_Append(options, entry->value);
 3105|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3106|      0|            return status;
 3107|      0|        }
 3108|      0|    }
 3109|       |
 3110|      2|    _clear_preinit_entries(&_preinit_warnoptions);
 3111|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3112|      2|}
_PySys_ReadPreinitXOptions:
 3117|      2|{
 3118|      2|    PyStatus status;
 3119|      2|    _Py_PreInitEntry entry;
 3120|       |
 3121|      2|    for (entry = _preinit_xoptions; entry != NULL; entry = entry->next) {
  ------------------
  |  Branch (3121:37): [True: 0, False: 2]
  ------------------
 3122|      0|        status = PyWideStringList_Append(&config->xoptions, entry->value);
 3123|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3124|      0|            return status;
 3125|      0|        }
 3126|      0|    }
 3127|       |
 3128|      2|    _clear_preinit_entries(&_preinit_xoptions);
 3129|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3130|      2|}
_PySys_UpdateConfig:
 4183|      2|{
 4184|      2|    PyInterpreterState *interp = tstate->interp;
 4185|      2|    PyObject *sysdict = interp->sysdict;
 4186|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 4187|      2|    int res;
 4188|       |
 4189|      2|#define COPY_LIST(KEY, VALUE) \
 4190|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
 4191|       |
 4192|      2|#define SET_SYS_FROM_WSTR(KEY, VALUE) \
 4193|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
 4194|       |
 4195|      2|#define COPY_WSTR(SYS_ATTR, WSTR) \
 4196|      2|    if (WSTR != NULL) { \
 4197|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
 4198|      2|    }
 4199|       |
 4200|      2|    if (config->module_search_paths_set) {
  ------------------
  |  Branch (4200:9): [True: 2, False: 0]
  ------------------
 4201|      2|        COPY_LIST("path", config->module_search_paths);
  ------------------
  |  | 4190|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
  |  |  ------------------
  |  |  |  | 4029|      2|    do {                                                   \
  |  |  |  | 4030|      2|        PyObject *v = (value);                             \
  |  |  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  | 4039|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4202|      2|    }
 4203|       |
 4204|      2|    COPY_WSTR("executable", config->executable);
  ------------------
  |  | 4196|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4196:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4197|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4193|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 4029|      2|    do {                                                   \
  |  |  |  |  |  | 4030|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  |  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  |  |  | 4039|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4198|      2|    }
  ------------------
 4205|      2|    COPY_WSTR("_base_executable", config->base_executable);
  ------------------
  |  | 4196|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4196:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4197|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4193|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 4029|      2|    do {                                                   \
  |  |  |  |  |  | 4030|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  |  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  |  |  | 4039|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4198|      2|    }
  ------------------
 4206|      2|    COPY_WSTR("prefix", config->prefix);
  ------------------
  |  | 4196|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4196:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4197|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4193|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 4029|      2|    do {                                                   \
  |  |  |  |  |  | 4030|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  |  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  |  |  | 4039|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4198|      2|    }
  ------------------
 4207|      2|    COPY_WSTR("base_prefix", config->base_prefix);
  ------------------
  |  | 4196|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4196:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4197|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4193|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 4029|      2|    do {                                                   \
  |  |  |  |  |  | 4030|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  |  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  |  |  | 4039|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4198|      2|    }
  ------------------
 4208|      2|    COPY_WSTR("exec_prefix", config->exec_prefix);
  ------------------
  |  | 4196|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4196:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4197|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4193|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 4029|      2|    do {                                                   \
  |  |  |  |  |  | 4030|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  |  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  |  |  | 4039|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4198|      2|    }
  ------------------
 4209|      2|    COPY_WSTR("base_exec_prefix", config->base_exec_prefix);
  ------------------
  |  | 4196|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4196:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4197|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4193|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 4029|      2|    do {                                                   \
  |  |  |  |  |  | 4030|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  |  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  |  |  | 4039|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4198|      2|    }
  ------------------
 4210|      2|    COPY_WSTR("platlibdir", config->platlibdir);
  ------------------
  |  | 4196|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4196:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4197|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4193|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 4029|      2|    do {                                                   \
  |  |  |  |  |  | 4030|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  |  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  |  |  | 4039|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4198|      2|    }
  ------------------
 4211|       |
 4212|      2|    if (config->pycache_prefix != NULL) {
  ------------------
  |  Branch (4212:9): [True: 0, False: 2]
  ------------------
 4213|      0|        SET_SYS_FROM_WSTR("pycache_prefix", config->pycache_prefix);
  ------------------
  |  | 4193|      0|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  ------------------
  |  |  |  | 4029|      0|    do {                                                   \
  |  |  |  | 4030|      0|        PyObject *v = (value);                             \
  |  |  |  | 4031|      0|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4031:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  | 4034|      0|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4036|      0|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4036:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  | 4039|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4039:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4214|      2|    } else {
 4215|      2|        if (PyDict_SetItemString(sysdict, "pycache_prefix", Py_None) < 0) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4215:13): [True: 0, False: 2]
  ------------------
 4216|      0|            return -1;
 4217|      0|        }
 4218|      2|    }
 4219|       |
 4220|      2|    COPY_LIST("argv", config->argv);
  ------------------
  |  | 4190|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
  |  |  ------------------
  |  |  |  | 4029|      2|    do {                                                   \
  |  |  |  | 4030|      2|        PyObject *v = (value);                             \
  |  |  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  | 4039|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4221|      2|    COPY_LIST("orig_argv", config->orig_argv);
  ------------------
  |  | 4190|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
  |  |  ------------------
  |  |  |  | 4029|      2|    do {                                                   \
  |  |  |  | 4030|      2|        PyObject *v = (value);                             \
  |  |  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  | 4039|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4222|      2|    COPY_LIST("warnoptions", config->warnoptions);
  ------------------
  |  | 4190|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
  |  |  ------------------
  |  |  |  | 4029|      2|    do {                                                   \
  |  |  |  | 4030|      2|        PyObject *v = (value);                             \
  |  |  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  | 4039|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4223|       |
 4224|      2|    SET_SYS("_xoptions", _PyConfig_CreateXOptionsDict(config));
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4225|       |
 4226|      2|    const wchar_t *stdlibdir = _Py_GetStdlibDir();
 4227|      2|    if (stdlibdir != NULL) {
  ------------------
  |  Branch (4227:9): [True: 2, False: 0]
  ------------------
 4228|      2|        SET_SYS_FROM_WSTR("_stdlib_dir", stdlibdir);
  ------------------
  |  | 4193|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  ------------------
  |  |  |  | 4029|      2|    do {                                                   \
  |  |  |  | 4030|      2|        PyObject *v = (value);                             \
  |  |  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  | 4039|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4229|      2|    }
 4230|      0|    else {
 4231|      0|        if (PyDict_SetItemString(sysdict, "_stdlib_dir", Py_None) < 0) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4231:13): [True: 0, False: 0]
  ------------------
 4232|      0|            return -1;
 4233|      0|        }
 4234|      0|    }
 4235|       |
 4236|      2|#undef SET_SYS_FROM_WSTR
 4237|      2|#undef COPY_LIST
 4238|      2|#undef COPY_WSTR
 4239|       |
 4240|       |    // replace sys.flags
 4241|      2|    PyObject *new_flags = PyStructSequence_New(&FlagsType);
 4242|      2|    if (new_flags == NULL) {
  ------------------
  |  Branch (4242:9): [True: 0, False: 2]
  ------------------
 4243|      0|        return -1;
 4244|      0|    }
 4245|      2|    if (set_flags_from_config(interp, new_flags) < 0) {
  ------------------
  |  Branch (4245:9): [True: 0, False: 2]
  ------------------
 4246|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4247|      0|        return -1;
 4248|      0|    }
 4249|       |
 4250|      2|    res = _PySys_SetAttr(&_Py_ID(flags), new_flags);
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4251|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4252|      2|    if (res < 0) {
  ------------------
  |  Branch (4252:9): [True: 0, False: 2]
  ------------------
 4253|      0|        return -1;
 4254|      0|    }
 4255|       |
 4256|      2|    SET_SYS("dont_write_bytecode", PyBool_FromLong(!config->write_bytecode));
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4257|       |
 4258|      2|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4258:9): [True: 0, False: 2]
  ------------------
 4259|      0|        goto err_occurred;
 4260|      0|    }
 4261|       |
 4262|      2|    return 0;
 4263|       |
 4264|      0|err_occurred:
 4265|      0|    return -1;
 4266|      2|}
_PySys_Create:
 4371|      2|{
 4372|      2|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (4372:5): [True: 2, False: 0]
  ------------------
 4373|       |
 4374|      2|    PyInterpreterState *interp = tstate->interp;
 4375|       |
 4376|      2|    PyObject *modules = _PyImport_InitModules(interp);
 4377|      2|    if (modules == NULL) {
  ------------------
  |  Branch (4377:9): [True: 0, False: 2]
  ------------------
 4378|      0|        goto error;
 4379|      0|    }
 4380|       |
 4381|      2|    PyObject *sysmod = _PyModule_CreateInitialized(&sysmodule, PYTHON_API_VERSION);
  ------------------
  |  |   59|      2|#define PYTHON_API_VERSION 1013
  ------------------
 4382|      2|    if (sysmod == NULL) {
  ------------------
  |  Branch (4382:9): [True: 0, False: 2]
  ------------------
 4383|      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)}
  ------------------
 4384|      0|    }
 4385|       |#ifdef Py_GIL_DISABLED
 4386|       |    PyUnstable_Module_SetGIL(sysmod, Py_MOD_GIL_NOT_USED);
 4387|       |#endif
 4388|       |
 4389|      2|    if (PyModule_AddIntMacro(sysmod, EXIT_SUCCESS) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (4389:9): [True: 0, False: 2]
  ------------------
 4390|      0|        goto error;
 4391|      0|    }
 4392|      2|    if (PyModule_AddIntMacro(sysmod, EXIT_FAILURE) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (4392:9): [True: 0, False: 2]
  ------------------
 4393|      0|        goto error;
 4394|      0|    }
 4395|       |
 4396|      2|    PyObject *sysdict = PyModule_GetDict(sysmod);
 4397|      2|    if (sysdict == NULL) {
  ------------------
  |  Branch (4397:9): [True: 0, False: 2]
  ------------------
 4398|      0|        goto error;
 4399|      0|    }
 4400|      2|    interp->sysdict = Py_NewRef(sysdict);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4401|       |
 4402|      2|    interp->sysdict_copy = PyDict_Copy(sysdict);
 4403|      2|    if (interp->sysdict_copy == NULL) {
  ------------------
  |  Branch (4403:9): [True: 0, False: 2]
  ------------------
 4404|      0|        goto error;
 4405|      0|    }
 4406|       |
 4407|      2|    if (PyDict_SetItemString(sysdict, "modules", modules) < 0) {
  ------------------
  |  Branch (4407:9): [True: 0, False: 2]
  ------------------
 4408|      0|        goto error;
 4409|      0|    }
 4410|       |
 4411|      2|    PyObject *lazy_modules = _PyImport_InitLazyModules(interp); // borrowed reference
 4412|      2|    if (lazy_modules == NULL) {
  ------------------
  |  Branch (4412:9): [True: 0, False: 2]
  ------------------
 4413|      0|        goto error;
 4414|      0|    }
 4415|       |
 4416|      2|    if (PyDict_SetItemString(sysdict, "lazy_modules", lazy_modules) < 0) {
  ------------------
  |  Branch (4416:9): [True: 0, False: 2]
  ------------------
 4417|      0|        goto error;
 4418|      0|    }
 4419|       |
 4420|      2|    PyStatus status = _PySys_SetPreliminaryStderr(sysdict);
 4421|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 4422|      0|        return status;
 4423|      0|    }
 4424|       |
 4425|      2|    status = _PySys_InitCore(tstate, sysdict);
 4426|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 4427|      0|        return status;
 4428|      0|    }
 4429|       |
 4430|      2|    if (_PyImport_FixupBuiltin(tstate, sysmod, "sys", modules) < 0) {
  ------------------
  |  Branch (4430:9): [True: 0, False: 2]
  ------------------
 4431|      0|        goto error;
 4432|      0|    }
 4433|       |
 4434|      2|    PyObject *monitoring = _Py_CreateMonitoringObject();
 4435|      2|    if (monitoring == NULL) {
  ------------------
  |  Branch (4435:9): [True: 0, False: 2]
  ------------------
 4436|      0|        goto error;
 4437|      0|    }
 4438|      2|    int err = PyDict_SetItemString(sysdict, "monitoring", monitoring);
 4439|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4440|      2|    if (err < 0) {
  ------------------
  |  Branch (4440:9): [True: 0, False: 2]
  ------------------
 4441|      0|        goto error;
 4442|      0|    }
 4443|       |
 4444|      2|    PyObject *_jit = _PyModule_CreateInitialized(&_jit_module, PYTHON_API_VERSION);
  ------------------
  |  |   59|      2|#define PYTHON_API_VERSION 1013
  ------------------
 4445|      2|    if (_jit == NULL) {
  ------------------
  |  Branch (4445:9): [True: 0, False: 2]
  ------------------
 4446|      0|        goto error;
 4447|      0|    }
 4448|      2|    err = PyDict_SetItemString(sysdict, "_jit", _jit);
 4449|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4450|      2|    if (err) {
  ------------------
  |  Branch (4450:9): [True: 0, False: 2]
  ------------------
 4451|      0|        goto error;
 4452|      0|    }
 4453|       |
 4454|      2|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (4454:5): [True: 2, False: 0]
  ------------------
 4455|       |
 4456|      2|    *sysmod_p = sysmod;
 4457|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4458|       |
 4459|      0|error:
 4460|      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)}
  ------------------
 4461|      2|}
sysmodule.c:sys_set_object:
  175|     14|{
  176|     14|    if (key == NULL) {
  ------------------
  |  Branch (176:9): [True: 0, False: 14]
  ------------------
  177|      0|        return -1;
  178|      0|    }
  179|     14|    PyObject *sd = interp->sysdict;
  180|     14|    if (sd == NULL) {
  ------------------
  |  Branch (180:9): [True: 0, False: 14]
  ------------------
  181|      0|        PyErr_SetString(PyExc_RuntimeError, "no sys module");
  182|      0|        return -1;
  183|      0|    }
  184|     14|    if (v == NULL) {
  ------------------
  |  Branch (184:9): [True: 0, False: 14]
  ------------------
  185|      0|        if (PyDict_Pop(sd, key, NULL) < 0) {
  ------------------
  |  Branch (185:13): [True: 0, False: 0]
  ------------------
  186|      0|            return -1;
  187|      0|        }
  188|      0|        return 0;
  189|      0|    }
  190|     14|    else {
  191|     14|        return PyDict_SetItem(sd, key, v);
  192|     14|    }
  193|     14|}
sysmodule.c:sys_set_object_str:
  204|      6|{
  205|      6|    PyObject *key = v ? PyUnicode_InternFromString(name)
  ------------------
  |  Branch (205:21): [True: 6, False: 0]
  ------------------
  206|      6|                      : PyUnicode_FromString(name);
  207|      6|    int r = sys_set_object(interp, key, v);
  208|      6|    Py_XDECREF(key);
  ------------------
  |  |  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|      6|    return r;
  210|      6|}
sysmodule.c:sys_audit_tstate:
  251|    212|{
  252|    212|    assert(event != NULL);
  ------------------
  |  Branch (252:5): [True: 212, False: 0]
  ------------------
  253|    212|    assert(!argFormat || !strchr(argFormat, 'N'));
  ------------------
  |  Branch (253:5): [True: 0, False: 212]
  |  Branch (253:5): [True: 212, False: 0]
  ------------------
  254|       |
  255|    212|    if (!ts) {
  ------------------
  |  Branch (255:9): [True: 0, False: 212]
  ------------------
  256|       |        /* Audit hooks cannot be called with a NULL thread state */
  257|      0|        return 0;
  258|      0|    }
  259|       |
  260|       |    /* The current implementation cannot be called if tstate is not
  261|       |       the current Python thread state. */
  262|    212|    assert(ts == _PyThreadState_GET());
  ------------------
  |  Branch (262:5): [True: 212, False: 0]
  ------------------
  263|       |
  264|       |    /* Early exit when no hooks are registered */
  265|    212|    PyInterpreterState *is = ts->interp;
  266|    212|    if (!should_audit(is)) {
  ------------------
  |  Branch (266:9): [True: 212, False: 0]
  ------------------
  267|    212|        return 0;
  268|    212|    }
  269|       |
  270|      0|    PyObject *eventName = NULL;
  271|      0|    PyObject *eventArgs = NULL;
  272|      0|    PyObject *hooks = NULL;
  273|      0|    PyObject *hook = NULL;
  274|      0|    int res = -1;
  275|       |
  276|      0|    int dtrace = PyDTrace_AUDIT_ENABLED();
  277|       |
  278|       |
  279|      0|    PyObject *exc = _PyErr_GetRaisedException(ts);
  280|       |
  281|       |    /* Initialize event args now */
  282|      0|    if (argFormat && argFormat[0]) {
  ------------------
  |  Branch (282:9): [True: 0, False: 0]
  |  Branch (282:22): [True: 0, False: 0]
  ------------------
  283|      0|        eventArgs = Py_VaBuildValue(argFormat, vargs);
  284|      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 (284:13): [True: 0, False: 0]
  |  Branch (284:26): [True: 0, False: 0]
  ------------------
  285|      0|            PyObject *argTuple = PyTuple_Pack(1, eventArgs);
  286|      0|            Py_SETREF(eventArgs, argTuple);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  287|      0|        }
  288|      0|    }
  289|      0|    else {
  290|      0|        eventArgs = PyTuple_New(0);
  291|      0|    }
  292|      0|    if (!eventArgs) {
  ------------------
  |  Branch (292:9): [True: 0, False: 0]
  ------------------
  293|      0|        goto exit;
  294|      0|    }
  295|       |
  296|       |    /* Call global hooks
  297|       |     *
  298|       |     * We don't worry about any races on hooks getting added,
  299|       |     * since that would not leave is in an inconsistent state. */
  300|      0|    _Py_AuditHookEntry *e = is->runtime->audit_hooks.head;
  301|      0|    for (; e; e = e->next) {
  ------------------
  |  Branch (301:12): [True: 0, False: 0]
  ------------------
  302|      0|        if (e->hookCFunction(event, eventArgs, e->userData) < 0) {
  ------------------
  |  Branch (302:13): [True: 0, False: 0]
  ------------------
  303|      0|            goto exit;
  304|      0|        }
  305|      0|    }
  306|       |
  307|       |    /* Dtrace USDT point */
  308|      0|    if (dtrace) {
  ------------------
  |  Branch (308:9): [True: 0, False: 0]
  ------------------
  309|      0|        PyDTrace_AUDIT(event, (void *)eventArgs);
  310|      0|    }
  311|       |
  312|       |    /* Call interpreter hooks */
  313|      0|    if (is->audit_hooks) {
  ------------------
  |  Branch (313:9): [True: 0, False: 0]
  ------------------
  314|      0|        eventName = PyUnicode_FromString(event);
  315|      0|        if (!eventName) {
  ------------------
  |  Branch (315:13): [True: 0, False: 0]
  ------------------
  316|      0|            goto exit;
  317|      0|        }
  318|       |
  319|      0|        hooks = PyObject_GetIter(is->audit_hooks);
  320|      0|        if (!hooks) {
  ------------------
  |  Branch (320:13): [True: 0, False: 0]
  ------------------
  321|      0|            goto exit;
  322|      0|        }
  323|       |
  324|       |        /* Disallow tracing in hooks unless explicitly enabled */
  325|      0|        PyThreadState_EnterTracing(ts);
  326|      0|        while ((hook = PyIter_Next(hooks)) != NULL) {
  ------------------
  |  Branch (326:16): [True: 0, False: 0]
  ------------------
  327|      0|            PyObject *o;
  328|      0|            int canTrace = PyObject_GetOptionalAttr(hook, &_Py_ID(__cantrace__), &o);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  329|      0|            if (o) {
  ------------------
  |  Branch (329:17): [True: 0, False: 0]
  ------------------
  330|      0|                canTrace = PyObject_IsTrue(o);
  331|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  332|      0|            }
  333|      0|            if (canTrace < 0) {
  ------------------
  |  Branch (333:17): [True: 0, False: 0]
  ------------------
  334|      0|                break;
  335|      0|            }
  336|      0|            if (canTrace) {
  ------------------
  |  Branch (336:17): [True: 0, False: 0]
  ------------------
  337|      0|                PyThreadState_LeaveTracing(ts);
  338|      0|            }
  339|      0|            PyObject* args[2] = {eventName, eventArgs};
  340|      0|            o = _PyObject_VectorcallTstate(ts, hook, args, 2, NULL);
  341|      0|            if (canTrace) {
  ------------------
  |  Branch (341:17): [True: 0, False: 0]
  ------------------
  342|      0|                PyThreadState_EnterTracing(ts);
  343|      0|            }
  344|      0|            if (!o) {
  ------------------
  |  Branch (344:17): [True: 0, False: 0]
  ------------------
  345|      0|                break;
  346|      0|            }
  347|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  348|      0|            Py_CLEAR(hook);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  349|      0|        }
  350|      0|        PyThreadState_LeaveTracing(ts);
  351|      0|        if (_PyErr_Occurred(ts)) {
  ------------------
  |  Branch (351:13): [True: 0, False: 0]
  ------------------
  352|      0|            goto exit;
  353|      0|        }
  354|      0|    }
  355|       |
  356|      0|    res = 0;
  357|       |
  358|      0|exit:
  359|      0|    Py_XDECREF(hook);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  360|      0|    Py_XDECREF(hooks);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  361|      0|    Py_XDECREF(eventName);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  362|      0|    Py_XDECREF(eventArgs);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) 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|       |
  364|      0|    if (!res) {
  ------------------
  |  Branch (364:9): [True: 0, False: 0]
  ------------------
  365|      0|        _PyErr_SetRaisedException(ts, exc);
  366|      0|    }
  367|      0|    else {
  368|      0|        assert(_PyErr_Occurred(ts));
  ------------------
  |  Branch (368:9): [True: 0, False: 0]
  ------------------
  369|      0|        Py_XDECREF(exc);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  370|      0|    }
  371|       |
  372|      0|    return res;
  373|      0|}
sysmodule.c:should_audit:
  236|    293|{
  237|       |    /* interp must not be NULL, but test it just in case for extra safety */
  238|    293|    assert(interp != NULL);
  ------------------
  |  Branch (238:5): [True: 293, False: 0]
  ------------------
  239|    293|    if (!interp) {
  ------------------
  |  Branch (239:9): [True: 0, False: 293]
  ------------------
  240|      0|        return 0;
  241|      0|    }
  242|    293|    return (interp->runtime->audit_hooks.head
  ------------------
  |  Branch (242:13): [True: 0, False: 293]
  ------------------
  243|    293|            || interp->audit_hooks
  ------------------
  |  Branch (243:16): [True: 0, False: 293]
  ------------------
  244|    293|            || PyDTrace_AUDIT_ENABLED());
  ------------------
  |  Branch (244:16): [True: 0, False: 293]
  ------------------
  245|    293|}
sysmodule.c:_clear_preinit_entries:
 3084|      4|{
 3085|      4|    _Py_PreInitEntry current = *optionlist;
 3086|      4|    *optionlist = NULL;
 3087|       |    /* Deallocate the nodes and their contents using the default allocator */
 3088|      4|    while (current != NULL) {
  ------------------
  |  Branch (3088:12): [True: 0, False: 4]
  ------------------
 3089|      0|        _Py_PreInitEntry next = current->next;
 3090|      0|        _PyMem_DefaultRawFree(current->value);
 3091|      0|        _PyMem_DefaultRawFree(current);
 3092|      0|        current = next;
 3093|      0|    }
 3094|      4|}
sysmodule.c:sys_set_flag:
 3491|     88|{
 3492|     88|    assert(pos >= 0 && pos < (Py_ssize_t)(Py_ARRAY_LENGTH(flags_fields) - 1));
  ------------------
  |  Branch (3492:5): [True: 88, False: 0]
  |  Branch (3492:5): [True: 88, False: 0]
  ------------------
 3493|       |
 3494|     88|    PyObject *old_value = PyStructSequence_GET_ITEM(flags, pos);
  ------------------
  |  |   12|     88|#define PyStructSequence_GET_ITEM PyStructSequence_GetItem
  ------------------
 3495|     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));
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3496|     88|    Py_XDECREF(old_value);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3497|     88|}
sysmodule.c:set_flags_from_config:
 3555|      4|{
 3556|      4|    const PyPreConfig *preconfig = &interp->runtime->preconfig;
 3557|      4|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 3558|       |
 3559|      4|    Py_ssize_t pos = 0;
 3560|      4|#define SetFlagObj(expr) \
 3561|      4|    do { \
 3562|      4|        PyObject *value = (expr); \
 3563|      4|        if (value == NULL) { \
 3564|      4|            return -1; \
 3565|      4|        } \
 3566|      4|        sys_set_flag(flags, pos, value); \
 3567|      4|        Py_DECREF(value); \
 3568|      4|        pos++; \
 3569|      4|    } while (0)
 3570|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
 3571|       |
 3572|      4|    SetFlag(config->parser_debug);
  ------------------
  |  | 3570|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3561|      4|    do { \
  |  |  |  | 3562|      4|        PyObject *value = (expr); \
  |  |  |  | 3563|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3564|      0|            return -1; \
  |  |  |  | 3565|      0|        } \
  |  |  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3567|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3568|      4|        pos++; \
  |  |  |  | 3569|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3573|      4|    SetFlag(config->inspect);
  ------------------
  |  | 3570|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3561|      4|    do { \
  |  |  |  | 3562|      4|        PyObject *value = (expr); \
  |  |  |  | 3563|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3564|      0|            return -1; \
  |  |  |  | 3565|      0|        } \
  |  |  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3567|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3568|      4|        pos++; \
  |  |  |  | 3569|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3574|      4|    SetFlag(config->interactive);
  ------------------
  |  | 3570|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3561|      4|    do { \
  |  |  |  | 3562|      4|        PyObject *value = (expr); \
  |  |  |  | 3563|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3564|      0|            return -1; \
  |  |  |  | 3565|      0|        } \
  |  |  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3567|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3568|      4|        pos++; \
  |  |  |  | 3569|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3575|      4|    SetFlag(config->optimization_level);
  ------------------
  |  | 3570|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3561|      4|    do { \
  |  |  |  | 3562|      4|        PyObject *value = (expr); \
  |  |  |  | 3563|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3564|      0|            return -1; \
  |  |  |  | 3565|      0|        } \
  |  |  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3567|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3568|      4|        pos++; \
  |  |  |  | 3569|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3576|      4|    SetFlag(!config->write_bytecode);
  ------------------
  |  | 3570|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3561|      4|    do { \
  |  |  |  | 3562|      4|        PyObject *value = (expr); \
  |  |  |  | 3563|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3564|      0|            return -1; \
  |  |  |  | 3565|      0|        } \
  |  |  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3567|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3568|      4|        pos++; \
  |  |  |  | 3569|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3577|      4|    SetFlag(!config->user_site_directory);
  ------------------
  |  | 3570|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3561|      4|    do { \
  |  |  |  | 3562|      4|        PyObject *value = (expr); \
  |  |  |  | 3563|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3564|      0|            return -1; \
  |  |  |  | 3565|      0|        } \
  |  |  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3567|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3568|      4|        pos++; \
  |  |  |  | 3569|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3578|      4|    SetFlag(!config->site_import);
  ------------------
  |  | 3570|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3561|      4|    do { \
  |  |  |  | 3562|      4|        PyObject *value = (expr); \
  |  |  |  | 3563|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3564|      0|            return -1; \
  |  |  |  | 3565|      0|        } \
  |  |  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3567|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3568|      4|        pos++; \
  |  |  |  | 3569|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3579|      4|    SetFlag(!config->use_environment);
  ------------------
  |  | 3570|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3561|      4|    do { \
  |  |  |  | 3562|      4|        PyObject *value = (expr); \
  |  |  |  | 3563|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3564|      0|            return -1; \
  |  |  |  | 3565|      0|        } \
  |  |  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3567|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3568|      4|        pos++; \
  |  |  |  | 3569|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3580|      4|    SetFlag(config->verbose);
  ------------------
  |  | 3570|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3561|      4|    do { \
  |  |  |  | 3562|      4|        PyObject *value = (expr); \
  |  |  |  | 3563|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3564|      0|            return -1; \
  |  |  |  | 3565|      0|        } \
  |  |  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3567|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3568|      4|        pos++; \
  |  |  |  | 3569|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3581|      4|    SetFlag(config->bytes_warning);
  ------------------
  |  | 3570|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3561|      4|    do { \
  |  |  |  | 3562|      4|        PyObject *value = (expr); \
  |  |  |  | 3563|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3564|      0|            return -1; \
  |  |  |  | 3565|      0|        } \
  |  |  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3567|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3568|      4|        pos++; \
  |  |  |  | 3569|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3582|      4|    SetFlag(config->quiet);
  ------------------
  |  | 3570|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3561|      4|    do { \
  |  |  |  | 3562|      4|        PyObject *value = (expr); \
  |  |  |  | 3563|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3564|      0|            return -1; \
  |  |  |  | 3565|      0|        } \
  |  |  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3567|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3568|      4|        pos++; \
  |  |  |  | 3569|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3583|      4|    SetFlag(config->use_hash_seed == 0 || config->hash_seed != 0);
  ------------------
  |  | 3570|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3561|      4|    do { \
  |  |  |  | 3562|      4|        PyObject *value = (expr); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3562:28): [True: 4, False: 0]
  |  |  |  |  |  Branch (3562:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 3563|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3564|      0|            return -1; \
  |  |  |  | 3565|      0|        } \
  |  |  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3567|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3568|      4|        pos++; \
  |  |  |  | 3569|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3584|      4|    SetFlag(config->isolated);
  ------------------
  |  | 3570|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3561|      4|    do { \
  |  |  |  | 3562|      4|        PyObject *value = (expr); \
  |  |  |  | 3563|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3564|      0|            return -1; \
  |  |  |  | 3565|      0|        } \
  |  |  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3567|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3568|      4|        pos++; \
  |  |  |  | 3569|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3585|      4|    SetFlagObj(PyBool_FromLong(config->dev_mode));
  ------------------
  |  | 3561|      4|    do { \
  |  | 3562|      4|        PyObject *value = (expr); \
  |  | 3563|      4|        if (value == NULL) { \
  |  |  ------------------
  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 3564|      0|            return -1; \
  |  | 3565|      0|        } \
  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  | 3567|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3568|      4|        pos++; \
  |  | 3569|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 3586|      4|    SetFlag(preconfig->utf8_mode);
  ------------------
  |  | 3570|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3561|      4|    do { \
  |  |  |  | 3562|      4|        PyObject *value = (expr); \
  |  |  |  | 3563|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3564|      0|            return -1; \
  |  |  |  | 3565|      0|        } \
  |  |  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3567|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3568|      4|        pos++; \
  |  |  |  | 3569|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3587|      4|    SetFlag(config->warn_default_encoding);
  ------------------
  |  | 3570|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3561|      4|    do { \
  |  |  |  | 3562|      4|        PyObject *value = (expr); \
  |  |  |  | 3563|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3564|      0|            return -1; \
  |  |  |  | 3565|      0|        } \
  |  |  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3567|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3568|      4|        pos++; \
  |  |  |  | 3569|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3588|      4|    SetFlagObj(PyBool_FromLong(config->safe_path));
  ------------------
  |  | 3561|      4|    do { \
  |  | 3562|      4|        PyObject *value = (expr); \
  |  | 3563|      4|        if (value == NULL) { \
  |  |  ------------------
  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 3564|      0|            return -1; \
  |  | 3565|      0|        } \
  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  | 3567|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3568|      4|        pos++; \
  |  | 3569|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 3589|      4|    SetFlag(config->int_max_str_digits);
  ------------------
  |  | 3570|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3561|      4|    do { \
  |  |  |  | 3562|      4|        PyObject *value = (expr); \
  |  |  |  | 3563|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3564|      0|            return -1; \
  |  |  |  | 3565|      0|        } \
  |  |  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3567|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3568|      4|        pos++; \
  |  |  |  | 3569|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3590|       |#ifdef Py_GIL_DISABLED
 3591|       |    if (config->enable_gil == _PyConfig_GIL_DEFAULT) {
 3592|       |        SetFlagObj(Py_NewRef(Py_None));
 3593|       |    }
 3594|       |    else {
 3595|       |        SetFlag(config->enable_gil);
 3596|       |    }
 3597|       |#else
 3598|      4|    SetFlagObj(PyLong_FromLong(1));
  ------------------
  |  | 3561|      4|    do { \
  |  | 3562|      4|        PyObject *value = (expr); \
  |  | 3563|      4|        if (value == NULL) { \
  |  |  ------------------
  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 3564|      0|            return -1; \
  |  | 3565|      0|        } \
  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  | 3567|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3568|      4|        pos++; \
  |  | 3569|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 3599|      4|#endif
 3600|      4|    SetFlag(config->thread_inherit_context);
  ------------------
  |  | 3570|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3561|      4|    do { \
  |  |  |  | 3562|      4|        PyObject *value = (expr); \
  |  |  |  | 3563|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3564|      0|            return -1; \
  |  |  |  | 3565|      0|        } \
  |  |  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3567|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3568|      4|        pos++; \
  |  |  |  | 3569|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3601|      4|    SetFlag(config->context_aware_warnings);
  ------------------
  |  | 3570|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3561|      4|    do { \
  |  |  |  | 3562|      4|        PyObject *value = (expr); \
  |  |  |  | 3563|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3564|      0|            return -1; \
  |  |  |  | 3565|      0|        } \
  |  |  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3567|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3568|      4|        pos++; \
  |  |  |  | 3569|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3602|      4|    SetFlag(config->lazy_imports);
  ------------------
  |  | 3570|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3561|      4|    do { \
  |  |  |  | 3562|      4|        PyObject *value = (expr); \
  |  |  |  | 3563|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3563:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3564|      0|            return -1; \
  |  |  |  | 3565|      0|        } \
  |  |  |  | 3566|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3567|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3568|      4|        pos++; \
  |  |  |  | 3569|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3569:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3603|      4|#undef SetFlagObj
 3604|      4|#undef SetFlag
 3605|      4|    return 0;
 3606|      4|}
sysmodule.c:sys_audit_impl:
  576|     81|{
  577|     81|    PyThreadState *tstate = _PyThreadState_GET();
  578|     81|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  214|     81|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
  579|       |
  580|     81|    if (!should_audit(tstate->interp)) {
  ------------------
  |  Branch (580:9): [True: 81, False: 0]
  ------------------
  581|     81|        Py_RETURN_NONE;
  ------------------
  |  |  628|     81|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     81|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  582|     81|    }
  583|       |
  584|      0|    int res = _PySys_Audit(tstate, event, "O", args);
  585|      0|    if (res < 0) {
  ------------------
  |  Branch (585:9): [True: 0, False: 0]
  ------------------
  586|      0|        return NULL;
  587|      0|    }
  588|       |
  589|      0|    Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  590|      0|}
sysmodule.c:get_utf8_unicode:
  935|      4|{
  936|      4|    _Py_DECLARE_STR(utf_8, "utf-8");
  937|      4|    PyObject *ret = &_Py_STR(utf_8);
  ------------------
  |  |  953|      4|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  938|      4|    return Py_NewRef(ret);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  939|      4|}
sysmodule.c:sys_getfilesystemencoding_impl:
  963|      4|{
  964|      4|    PyInterpreterState *interp = _PyInterpreterState_GET();
  965|      4|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
  966|       |
  967|      4|    if (wcscmp(config->filesystem_encoding, L"utf-8") == 0) {
  ------------------
  |  Branch (967:9): [True: 4, False: 0]
  ------------------
  968|      4|        return get_utf8_unicode();
  969|      4|    }
  970|       |
  971|      0|    PyObject *u = PyUnicode_FromWideChar(config->filesystem_encoding, -1);
  972|      0|    if (u == NULL) {
  ------------------
  |  Branch (972:9): [True: 0, False: 0]
  ------------------
  973|      0|        return NULL;
  974|      0|    }
  975|      0|    _PyUnicode_InternImmortal(interp, &u);
  976|      0|    return u;
  977|      0|}
sysmodule.c:sys_getfilesystemencodeerrors_impl:
  988|      2|{
  989|      2|    PyInterpreterState *interp = _PyInterpreterState_GET();
  990|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
  991|      2|    PyObject *u = PyUnicode_FromWideChar(config->filesystem_errors, -1);
  992|      2|    if (u == NULL) {
  ------------------
  |  Branch (992:9): [True: 0, False: 2]
  ------------------
  993|      0|        return NULL;
  994|      0|    }
  995|      2|    _PyUnicode_InternImmortal(interp, &u);
  996|      2|    return u;
  997|      2|}
sysmodule.c:sys__getframe_impl:
 2086|      2|{
 2087|      2|    PyThreadState *tstate = _PyThreadState_GET();
 2088|      2|    _PyInterpreterFrame *frame = tstate->current_frame;
 2089|       |
 2090|      2|    if (frame != NULL) {
  ------------------
  |  Branch (2090:9): [True: 2, False: 0]
  ------------------
 2091|      2|        while (depth > 0) {
  ------------------
  |  Branch (2091:16): [True: 0, False: 2]
  ------------------
 2092|      0|            frame = _PyFrame_GetFirstComplete(frame->previous);
 2093|      0|            if (frame == NULL) {
  ------------------
  |  Branch (2093:17): [True: 0, False: 0]
  ------------------
 2094|      0|                break;
 2095|      0|            }
 2096|      0|            --depth;
 2097|      0|        }
 2098|      2|    }
 2099|      2|    if (frame == NULL) {
  ------------------
  |  Branch (2099:9): [True: 0, False: 2]
  ------------------
 2100|      0|        _PyErr_SetString(tstate, PyExc_ValueError,
 2101|      0|                         "call stack is not deep enough");
 2102|      0|        return NULL;
 2103|      0|    }
 2104|       |
 2105|      2|    PyObject *pyFrame = Py_XNewRef((PyObject *)_PyFrame_GetFrameObject(frame));
  ------------------
  |  |  648|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2106|      2|    if (pyFrame && _PySys_Audit(tstate, "sys._getframe", "(O)", pyFrame) < 0) {
  ------------------
  |  Branch (2106:9): [True: 2, False: 0]
  |  Branch (2106:20): [True: 0, False: 2]
  ------------------
 2107|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2108|      0|        return NULL;
 2109|      0|    }
 2110|      2|    return pyFrame;
 2111|      2|}
sysmodule.c:sys__getframemodulename_impl:
 2590|      2|{
 2591|      2|    if (PySys_Audit("sys._getframemodulename", "i", depth) < 0) {
  ------------------
  |  Branch (2591:9): [True: 0, False: 2]
  ------------------
 2592|      0|        return NULL;
 2593|      0|    }
 2594|      2|    _PyInterpreterFrame *f = _PyThreadState_GET()->current_frame;
 2595|      4|    while (f && (_PyFrame_IsIncomplete(f) || depth-- > 0)) {
  ------------------
  |  Branch (2595:12): [True: 4, False: 0]
  |  Branch (2595:18): [True: 0, False: 4]
  |  Branch (2595:46): [True: 2, False: 2]
  ------------------
 2596|      2|        f = f->previous;
 2597|      2|    }
 2598|      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 (2598:9): [True: 0, False: 2]
  ------------------
 2599|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2600|      0|    }
 2601|      2|    PyObject *func = PyStackRef_AsPyObjectBorrow(f->f_funcobj);
 2602|      2|    PyObject *r = PyFunction_GetModule(func);
 2603|      2|    if (!r) {
  ------------------
  |  Branch (2603:9): [True: 0, False: 2]
  ------------------
 2604|      0|        PyErr_Clear();
 2605|      0|        r = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2606|      0|    }
 2607|      2|    return Py_NewRef(r);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2608|      2|}
sysmodule.c:sys_intern_impl:
 1015|     20|{
 1016|     20|    if (PyUnicode_CheckExact(s)) {
  ------------------
  |  |  104|     20|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|     20|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 20, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1017|     20|        PyInterpreterState *interp = _PyInterpreterState_GET();
 1018|     20|        Py_INCREF(s);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1019|     20|        _PyUnicode_InternMortal(interp, &s);
 1020|     20|        return s;
 1021|     20|    }
 1022|      0|    else {
 1023|      0|        PyErr_Format(PyExc_TypeError,
 1024|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1025|       |        return NULL;
 1026|      0|    }
 1027|     20|}
sysmodule.c:sys__get_cpu_count_config_impl:
 2619|      2|{
 2620|      2|    const PyConfig *config = _Py_GetConfig();
 2621|      2|    return config->cpu_count;
 2622|      2|}
sysmodule.c:_PySys_SetPreliminaryStderr:
 4278|      2|{
 4279|      2|    PyObject *pstderr = PyFile_NewStdPrinter(fileno(stderr));
 4280|      2|    if (pstderr == NULL) {
  ------------------
  |  Branch (4280:9): [True: 0, False: 2]
  ------------------
 4281|      0|        goto error;
 4282|      0|    }
 4283|      2|    if (PyDict_SetItem(sysdict, &_Py_ID(stderr), pstderr) < 0) {
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4283:9): [True: 0, False: 2]
  ------------------
 4284|      0|        goto error;
 4285|      0|    }
 4286|      2|    if (PyDict_SetItemString(sysdict, "__stderr__", pstderr) < 0) {
  ------------------
  |  Branch (4286:9): [True: 0, False: 2]
  ------------------
 4287|      0|        goto error;
 4288|      0|    }
 4289|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4290|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4291|       |
 4292|      0|error:
 4293|      0|    Py_XDECREF(pstderr);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_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 _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)}
  ------------------
 4295|      2|}
sysmodule.c:_PySys_InitCore:
 4046|      2|{
 4047|      2|    PyObject *version_info;
 4048|      2|    int res;
 4049|      2|    PyInterpreterState *interp = tstate->interp;
 4050|       |
 4051|       |    /* stdin/stdout/stderr are set in pylifecycle.c */
 4052|       |
 4053|      2|#define COPY_SYS_ATTR(tokey, fromkey) \
 4054|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
 4055|       |
 4056|      2|    COPY_SYS_ATTR("__displayhook__", "displayhook");
  ------------------
  |  | 4054|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
  |  |  ------------------
  |  |  |  | 4029|      2|    do {                                                   \
  |  |  |  | 4030|      2|        PyObject *v = (value);                             \
  |  |  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  | 4039|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4057|      2|    COPY_SYS_ATTR("__excepthook__", "excepthook");
  ------------------
  |  | 4054|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
  |  |  ------------------
  |  |  |  | 4029|      2|    do {                                                   \
  |  |  |  | 4030|      2|        PyObject *v = (value);                             \
  |  |  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  | 4039|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4058|      2|    COPY_SYS_ATTR("__breakpointhook__", "breakpointhook");
  ------------------
  |  | 4054|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
  |  |  ------------------
  |  |  |  | 4029|      2|    do {                                                   \
  |  |  |  | 4030|      2|        PyObject *v = (value);                             \
  |  |  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  | 4039|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4059|      2|    COPY_SYS_ATTR("__unraisablehook__", "unraisablehook");
  ------------------
  |  | 4054|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
  |  |  ------------------
  |  |  |  | 4029|      2|    do {                                                   \
  |  |  |  | 4030|      2|        PyObject *v = (value);                             \
  |  |  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  | 4039|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4060|       |
 4061|      2|#undef COPY_SYS_ATTR
 4062|       |
 4063|      2|    SET_SYS_FROM_STRING("version", Py_GetVersion());
  ------------------
  |  | 4042|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 4029|      2|    do {                                                   \
  |  |  |  | 4030|      2|        PyObject *v = (value);                             \
  |  |  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  | 4039|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4064|      2|    SET_SYS("hexversion", PyLong_FromLong(PY_VERSION_HEX));
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4065|      2|    SET_SYS("_git", Py_BuildValue("(szz)", "CPython", _Py_gitidentifier(),
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4066|      2|                                  _Py_gitversion()));
 4067|      2|    SET_SYS_FROM_STRING("_framework", _PYTHONFRAMEWORK);
  ------------------
  |  | 4042|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 4029|      2|    do {                                                   \
  |  |  |  | 4030|      2|        PyObject *v = (value);                             \
  |  |  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  | 4039|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4068|      2|    SET_SYS("api_version", PyLong_FromLong(PYTHON_API_VERSION));
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4069|      2|    SET_SYS_FROM_STRING("copyright", Py_GetCopyright());
  ------------------
  |  | 4042|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 4029|      2|    do {                                                   \
  |  |  |  | 4030|      2|        PyObject *v = (value);                             \
  |  |  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  | 4039|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4070|      2|    SET_SYS_FROM_STRING("platform", Py_GetPlatform());
  ------------------
  |  | 4042|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 4029|      2|    do {                                                   \
  |  |  |  | 4030|      2|        PyObject *v = (value);                             \
  |  |  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  | 4039|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4071|      2|    SET_SYS("maxsize", PyLong_FromSsize_t(PY_SSIZE_T_MAX));
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4072|      2|    SET_SYS("float_info", PyFloat_GetInfo());
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4073|      2|    SET_SYS("int_info", PyLong_GetInfo());
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4074|       |    /* initialize hash_info */
 4075|      2|    if (_PyStructSequence_InitBuiltin(interp, &Hash_InfoType,
  ------------------
  |  Branch (4075:9): [True: 0, False: 2]
  ------------------
 4076|      2|                                      &hash_info_desc) < 0)
 4077|      0|    {
 4078|      0|        goto type_init_failed;
 4079|      0|    }
 4080|      2|    SET_SYS("hash_info", get_hash_info(tstate));
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4081|      2|    SET_SYS("maxunicode", PyLong_FromLong(0x10FFFF));
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4082|      2|    SET_SYS("builtin_module_names", list_builtin_module_names());
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4083|      2|    SET_SYS("stdlib_module_names", list_stdlib_module_names());
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4084|       |#if PY_BIG_ENDIAN
 4085|       |    SET_SYS("byteorder", &_Py_ID(big));
 4086|       |#else
 4087|      2|    SET_SYS("byteorder", &_Py_ID(little));
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4088|      2|#endif
 4089|       |
 4090|       |#ifdef MS_COREDLL
 4091|       |    SET_SYS("dllhandle", PyLong_FromVoidPtr(PyWin_DLLhModule));
 4092|       |    SET_SYS_FROM_STRING("winver", PyWin_DLLVersionString);
 4093|       |#endif
 4094|      2|#ifdef ABIFLAGS
 4095|      2|    SET_SYS_FROM_STRING("abiflags", ABIFLAGS);
  ------------------
  |  | 4042|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 4029|      2|    do {                                                   \
  |  |  |  | 4030|      2|        PyObject *v = (value);                             \
  |  |  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4032|      0|            goto err_occurred;                             \
  |  |  |  | 4033|      0|        }                                                  \
  |  |  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 4035|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4037|      0|            goto err_occurred;                             \
  |  |  |  | 4038|      0|        }                                                  \
  |  |  |  | 4039|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4096|      2|#endif
 4097|       |
 4098|      2|#define ENSURE_INFO_TYPE(TYPE, DESC) \
 4099|      2|    do { \
 4100|      2|        if (_PyStructSequence_InitBuiltinWithFlags( \
 4101|      2|                interp, &TYPE, &DESC, Py_TPFLAGS_DISALLOW_INSTANTIATION) < 0) { \
 4102|      2|            goto type_init_failed; \
 4103|      2|        } \
 4104|      2|    } while (0)
 4105|       |
 4106|       |    /* version_info */
 4107|      2|    ENSURE_INFO_TYPE(VersionInfoType, version_info_desc);
  ------------------
  |  | 4099|      2|    do { \
  |  | 4100|      2|        if (_PyStructSequence_InitBuiltinWithFlags( \
  |  |  ------------------
  |  |  |  Branch (4100:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      2|                interp, &TYPE, &DESC, Py_TPFLAGS_DISALLOW_INSTANTIATION) < 0) { \
  |  |  ------------------
  |  |  |  |  497|      2|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  |  |  ------------------
  |  | 4102|      0|            goto type_init_failed; \
  |  | 4103|      0|        } \
  |  | 4104|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4104:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4108|      2|    version_info = make_version_info(tstate);
 4109|      2|    SET_SYS("version_info", version_info);
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4110|       |
 4111|       |    /* implementation */
 4112|      2|    SET_SYS("implementation", make_impl_info(version_info));
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4113|       |
 4114|       |    // sys.flags: updated later by _PySys_UpdateConfig()
 4115|      2|    ENSURE_INFO_TYPE(FlagsType, flags_desc);
  ------------------
  |  | 4099|      2|    do { \
  |  | 4100|      2|        if (_PyStructSequence_InitBuiltinWithFlags( \
  |  |  ------------------
  |  |  |  Branch (4100:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      2|                interp, &TYPE, &DESC, Py_TPFLAGS_DISALLOW_INSTANTIATION) < 0) { \
  |  |  ------------------
  |  |  |  |  497|      2|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  |  |  ------------------
  |  | 4102|      0|            goto type_init_failed; \
  |  | 4103|      0|        } \
  |  | 4104|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4104:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4116|      2|    SET_SYS("flags", make_flags(tstate->interp));
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4117|       |
 4118|       |#if defined(MS_WINDOWS)
 4119|       |    /* getwindowsversion */
 4120|       |    ENSURE_INFO_TYPE(WindowsVersionType, windows_version_desc);
 4121|       |
 4122|       |    SET_SYS_FROM_STRING("_vpath", VPATH);
 4123|       |#endif
 4124|       |
 4125|      2|#undef ENSURE_INFO_TYPE
 4126|       |
 4127|       |    /* float repr style: 0.03 (short) vs 0.029999999999999999 (legacy) */
 4128|      2|#if _PY_SHORT_FLOAT_REPR == 1
 4129|      2|    SET_SYS("float_repr_style", &_Py_ID(short));
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4130|       |#else
 4131|       |    SET_SYS("float_repr_style", &_Py_ID(legacy));
 4132|       |#endif
 4133|       |
 4134|      2|    SET_SYS("thread_info", PyThread_GetInfo());
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4135|       |
 4136|      2|    SET_SYS("abi_info", make_abi_info());
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4137|       |
 4138|       |#ifdef __wasi__
 4139|       |    SET_SYS("_wasi_info", make_wasi_info());
 4140|       |#endif
 4141|       |
 4142|       |    /* initialize asyncgen_hooks */
 4143|      2|    if (_PyStructSequence_InitBuiltin(interp, &AsyncGenHooksType,
  ------------------
  |  Branch (4143:9): [True: 0, False: 2]
  ------------------
 4144|      2|                                      &asyncgen_hooks_desc) < 0)
 4145|      0|    {
 4146|      0|        goto type_init_failed;
 4147|      0|    }
 4148|       |
 4149|       |#ifdef __EMSCRIPTEN__
 4150|       |    if (EmscriptenInfoType == NULL) {
 4151|       |        EmscriptenInfoType = PyStructSequence_NewType(&emscripten_info_desc);
 4152|       |        if (EmscriptenInfoType == NULL) {
 4153|       |            goto type_init_failed;
 4154|       |        }
 4155|       |    }
 4156|       |    SET_SYS("_emscripten_info", make_emscripten_info());
 4157|       |#endif
 4158|       |
 4159|       |    /* adding sys.path_hooks and sys.path_importer_cache */
 4160|      2|    SET_SYS("meta_path", PyList_New(0));
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4161|      2|    SET_SYS("path_importer_cache", PyDict_New());
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4162|      2|    SET_SYS("path_hooks", PyList_New(0));
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4163|       |
 4164|      2|    SET_SYS("_path0", Py_None);
  ------------------
  |  | 4029|      2|    do {                                                   \
  |  | 4030|      2|        PyObject *v = (value);                             \
  |  | 4031|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (4031:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|            goto err_occurred;                             \
  |  | 4033|      0|        }                                                  \
  |  | 4034|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 4035|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4036|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (4036:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|            goto err_occurred;                             \
  |  | 4038|      0|        }                                                  \
  |  | 4039|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4039:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4165|       |
 4166|      2|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4166:9): [True: 0, False: 2]
  ------------------
 4167|      0|        goto err_occurred;
 4168|      0|    }
 4169|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4170|       |
 4171|      0|type_init_failed:
 4172|      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)}
  ------------------
 4173|       |
 4174|      0|err_occurred:
 4175|      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)}
  ------------------
 4176|      2|}
sysmodule.c:get_hash_info:
 1573|      2|{
 1574|      2|    PyObject *hash_info;
 1575|      2|    int field = 0;
 1576|      2|    PyHash_FuncDef *hashfunc;
 1577|      2|    hash_info = PyStructSequence_New(&Hash_InfoType);
 1578|      2|    if (hash_info == NULL) {
  ------------------
  |  Branch (1578:9): [True: 0, False: 2]
  ------------------
 1579|      0|        return NULL;
 1580|      0|    }
 1581|      2|    hashfunc = PyHash_GetFuncDef();
 1582|       |
 1583|      2|#define SET_HASH_INFO_ITEM(CALL)                             \
 1584|      2|    do {                                                     \
 1585|      2|        PyObject *item = (CALL);                             \
 1586|      2|        if (item == NULL) {                                  \
 1587|      2|            Py_CLEAR(hash_info);                             \
 1588|      2|            return NULL;                                     \
 1589|      2|        }                                                    \
 1590|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
 1591|      2|    } while(0)
 1592|       |
 1593|      2|    SET_HASH_INFO_ITEM(PyLong_FromLong(8 * sizeof(Py_hash_t)));
  ------------------
  |  | 1584|      2|    do {                                                     \
  |  | 1585|      2|        PyObject *item = (CALL);                             \
  |  | 1586|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1586:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1587|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  487|      0|    do { \
  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  493|      0|        } \
  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1588|      0|            return NULL;                                     \
  |  | 1589|      0|        }                                                    \
  |  | 1590|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1591|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1591:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1594|      2|    SET_HASH_INFO_ITEM(PyLong_FromSsize_t(PyHASH_MODULUS));
  ------------------
  |  | 1584|      2|    do {                                                     \
  |  | 1585|      2|        PyObject *item = (CALL);                             \
  |  | 1586|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1586:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1587|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  487|      0|    do { \
  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  493|      0|        } \
  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1588|      0|            return NULL;                                     \
  |  | 1589|      0|        }                                                    \
  |  | 1590|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1591|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1591:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1595|      2|    SET_HASH_INFO_ITEM(PyLong_FromLong(PyHASH_INF));
  ------------------
  |  | 1584|      2|    do {                                                     \
  |  | 1585|      2|        PyObject *item = (CALL);                             \
  |  | 1586|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1586:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1587|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  487|      0|    do { \
  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  493|      0|        } \
  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1588|      0|            return NULL;                                     \
  |  | 1589|      0|        }                                                    \
  |  | 1590|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1591|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1591:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1596|      2|    SET_HASH_INFO_ITEM(PyLong_FromLong(0));  // This is no longer used
  ------------------
  |  | 1584|      2|    do {                                                     \
  |  | 1585|      2|        PyObject *item = (CALL);                             \
  |  | 1586|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1586:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1587|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  487|      0|    do { \
  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  493|      0|        } \
  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1588|      0|            return NULL;                                     \
  |  | 1589|      0|        }                                                    \
  |  | 1590|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1591|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1591:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1597|      2|    SET_HASH_INFO_ITEM(PyLong_FromLong(PyHASH_IMAG));
  ------------------
  |  | 1584|      2|    do {                                                     \
  |  | 1585|      2|        PyObject *item = (CALL);                             \
  |  | 1586|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1586:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1587|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  487|      0|    do { \
  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  493|      0|        } \
  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1588|      0|            return NULL;                                     \
  |  | 1589|      0|        }                                                    \
  |  | 1590|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1591|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1591:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1598|      2|    SET_HASH_INFO_ITEM(PyUnicode_FromString(hashfunc->name));
  ------------------
  |  | 1584|      2|    do {                                                     \
  |  | 1585|      2|        PyObject *item = (CALL);                             \
  |  | 1586|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1586:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1587|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  487|      0|    do { \
  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  493|      0|        } \
  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1588|      0|            return NULL;                                     \
  |  | 1589|      0|        }                                                    \
  |  | 1590|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1591|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1591:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1599|      2|    SET_HASH_INFO_ITEM(PyLong_FromLong(hashfunc->hash_bits));
  ------------------
  |  | 1584|      2|    do {                                                     \
  |  | 1585|      2|        PyObject *item = (CALL);                             \
  |  | 1586|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1586:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1587|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  487|      0|    do { \
  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  493|      0|        } \
  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1588|      0|            return NULL;                                     \
  |  | 1589|      0|        }                                                    \
  |  | 1590|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1591|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1591:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1600|      2|    SET_HASH_INFO_ITEM(PyLong_FromLong(hashfunc->seed_bits));
  ------------------
  |  | 1584|      2|    do {                                                     \
  |  | 1585|      2|        PyObject *item = (CALL);                             \
  |  | 1586|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1586:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1587|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  487|      0|    do { \
  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  493|      0|        } \
  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1588|      0|            return NULL;                                     \
  |  | 1589|      0|        }                                                    \
  |  | 1590|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1591|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1591:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1601|      2|    SET_HASH_INFO_ITEM(PyLong_FromLong(Py_HASH_CUTOFF));
  ------------------
  |  | 1584|      2|    do {                                                     \
  |  | 1585|      2|        PyObject *item = (CALL);                             \
  |  | 1586|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1586:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1587|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  487|      0|    do { \
  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  493|      0|        } \
  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1588|      0|            return NULL;                                     \
  |  | 1589|      0|        }                                                    \
  |  | 1590|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1591|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1591:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1602|       |
 1603|      2|#undef SET_HASH_INFO_ITEM
 1604|       |
 1605|      2|    return hash_info;
 1606|      2|}
sysmodule.c:list_builtin_module_names:
 2972|      2|{
 2973|      2|    PyObject *list = _PyImport_GetBuiltinModuleNames();
 2974|      2|    if (list == NULL) {
  ------------------
  |  Branch (2974:9): [True: 0, False: 2]
  ------------------
 2975|      0|        return NULL;
 2976|      0|    }
 2977|      2|    if (PyList_Sort(list) != 0) {
  ------------------
  |  Branch (2977:9): [True: 0, False: 2]
  ------------------
 2978|      0|        goto error;
 2979|      0|    }
 2980|      2|    PyObject *tuple = PyList_AsTuple(list);
 2981|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2982|      2|    return tuple;
 2983|       |
 2984|      0|error:
 2985|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2986|       |    return NULL;
 2987|      2|}
sysmodule.c:list_stdlib_module_names:
 2992|      2|{
 2993|      2|    Py_ssize_t len = Py_ARRAY_LENGTH(_Py_stdlib_module_names);
  ------------------
  |  |  232|      2|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 2994|      2|    PyObject *names = PyTuple_New(len);
 2995|      2|    if (names == NULL) {
  ------------------
  |  Branch (2995:9): [True: 0, False: 2]
  ------------------
 2996|      0|        return NULL;
 2997|      0|    }
 2998|       |
 2999|    596|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (2999:28): [True: 594, False: 2]
  ------------------
 3000|    594|        PyObject *name = PyUnicode_FromString(_Py_stdlib_module_names[i]);
 3001|    594|        if (name == NULL) {
  ------------------
  |  Branch (3001:13): [True: 0, False: 594]
  ------------------
 3002|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3003|      0|            return NULL;
 3004|      0|        }
 3005|    594|        PyTuple_SET_ITEM(names, i, name);
  ------------------
  |  |   40|    594|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    594|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    594|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    594|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    594|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3006|    594|    }
 3007|       |
 3008|      2|    PyObject *set = PyObject_CallFunction((PyObject *)&PyFrozenSet_Type,
 3009|      2|                                          "(O)", names);
 3010|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3011|      2|    return set;
 3012|      2|}
sysmodule.c:make_version_info:
 3650|      2|{
 3651|      2|    PyObject *version_info;
 3652|      2|    char *s;
 3653|      2|    int pos = 0;
 3654|       |
 3655|      2|    version_info = PyStructSequence_New(&VersionInfoType);
 3656|      2|    if (version_info == NULL) {
  ------------------
  |  Branch (3656:9): [True: 0, False: 2]
  ------------------
 3657|      0|        return NULL;
 3658|      0|    }
 3659|       |
 3660|       |    /*
 3661|       |     * These release level checks are mutually exclusive and cover
 3662|       |     * the field, so don't get too fancy with the pre-processor!
 3663|       |     */
 3664|      2|#if PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_ALPHA
 3665|      2|    s = "alpha";
 3666|       |#elif PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_BETA
 3667|       |    s = "beta";
 3668|       |#elif PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_GAMMA
 3669|       |    s = "candidate";
 3670|       |#elif PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_FINAL
 3671|       |    s = "final";
 3672|       |#endif
 3673|       |
 3674|      2|#define SetIntItem(flag) \
 3675|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
 3676|      2|#define SetStrItem(flag) \
 3677|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyUnicode_FromString(flag))
 3678|       |
 3679|      2|    SetIntItem(PY_MAJOR_VERSION);
  ------------------
  |  | 3675|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3680|      2|    SetIntItem(PY_MINOR_VERSION);
  ------------------
  |  | 3675|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3681|      2|    SetIntItem(PY_MICRO_VERSION);
  ------------------
  |  | 3675|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3682|      2|    SetStrItem(s);
  ------------------
  |  | 3677|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyUnicode_FromString(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3683|      2|    SetIntItem(PY_RELEASE_SERIAL);
  ------------------
  |  | 3675|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3684|      2|#undef SetIntItem
 3685|      2|#undef SetStrItem
 3686|       |
 3687|      2|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3687:9): [True: 0, False: 2]
  ------------------
 3688|      0|        Py_CLEAR(version_info);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3689|      0|        return NULL;
 3690|      0|    }
 3691|      2|    return version_info;
 3692|      2|}
sysmodule.c:make_impl_info:
 3714|      2|{
 3715|      2|    int res;
 3716|      2|    PyObject *impl_info, *value, *ns;
 3717|       |
 3718|      2|    impl_info = PyDict_New();
 3719|      2|    if (impl_info == NULL)
  ------------------
  |  Branch (3719:9): [True: 0, False: 2]
  ------------------
 3720|      0|        return NULL;
 3721|       |
 3722|       |    /* populate the dict */
 3723|       |
 3724|      2|    value = PyUnicode_FromString(_PySys_ImplName);
 3725|      2|    if (value == NULL)
  ------------------
  |  Branch (3725:9): [True: 0, False: 2]
  ------------------
 3726|      0|        goto error;
 3727|      2|    res = PyDict_SetItemString(impl_info, "name", value);
 3728|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3729|      2|    if (res < 0)
  ------------------
  |  Branch (3729:9): [True: 0, False: 2]
  ------------------
 3730|      0|        goto error;
 3731|       |
 3732|      2|    value = _PySys_ImplCacheTag
  ------------------
  |  Branch (3732:13): [True: 2, False: 0]
  ------------------
 3733|      2|        ? PyUnicode_FromString(_PySys_ImplCacheTag)
 3734|      2|        : Py_NewRef(Py_None);
  ------------------
  |  |  647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3735|      2|    if (value == NULL) {
  ------------------
  |  Branch (3735:9): [True: 0, False: 2]
  ------------------
 3736|      0|        goto error;
 3737|      0|    }
 3738|      2|    res = PyDict_SetItemString(impl_info, "cache_tag", value);
 3739|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3740|      2|    if (res < 0)
  ------------------
  |  Branch (3740:9): [True: 0, False: 2]
  ------------------
 3741|      0|        goto error;
 3742|       |
 3743|      2|    res = PyDict_SetItemString(impl_info, "version", version_info);
 3744|      2|    if (res < 0)
  ------------------
  |  Branch (3744:9): [True: 0, False: 2]
  ------------------
 3745|      0|        goto error;
 3746|       |
 3747|      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)
  ------------------
 3748|      2|    if (value == NULL)
  ------------------
  |  Branch (3748:9): [True: 0, False: 2]
  ------------------
 3749|      0|        goto error;
 3750|      2|    res = PyDict_SetItemString(impl_info, "hexversion", 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|       |
 3755|      2|#ifdef MULTIARCH
 3756|      2|    value = PyUnicode_FromString(MULTIARCH);
 3757|      2|    if (value == NULL)
  ------------------
  |  Branch (3757:9): [True: 0, False: 2]
  ------------------
 3758|      0|        goto error;
 3759|      2|    res = PyDict_SetItemString(impl_info, "_multiarch", value);
 3760|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3761|      2|    if (res < 0)
  ------------------
  |  Branch (3761:9): [True: 0, False: 2]
  ------------------
 3762|      0|        goto error;
 3763|      2|#endif
 3764|       |
 3765|       |    // PEP-734
 3766|       |#if defined(__wasi__) || defined(__EMSCRIPTEN__)
 3767|       |    // It is not enabled on WASM builds just yet
 3768|       |    value = Py_False;
 3769|       |#else
 3770|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3771|      2|#endif
 3772|      2|    res = PyDict_SetItemString(impl_info, "supports_isolated_interpreters", value);
 3773|      2|    if (res < 0) {
  ------------------
  |  Branch (3773:9): [True: 0, False: 2]
  ------------------
 3774|      0|        goto error;
 3775|      0|    }
 3776|       |
 3777|       |    /* dict ready */
 3778|       |
 3779|      2|    ns = _PyNamespace_New(impl_info);
 3780|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3781|      2|    return ns;
 3782|       |
 3783|      0|error:
 3784|      0|    Py_CLEAR(impl_info);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3785|       |    return NULL;
 3786|      2|}
sysmodule.c:make_flags:
 3611|      2|{
 3612|      2|    PyObject *flags = PyStructSequence_New(&FlagsType);
 3613|      2|    if (flags == NULL) {
  ------------------
  |  Branch (3613:9): [True: 0, False: 2]
  ------------------
 3614|      0|        return NULL;
 3615|      0|    }
 3616|       |
 3617|      2|    if (set_flags_from_config(interp, flags) < 0) {
  ------------------
  |  Branch (3617:9): [True: 0, False: 2]
  ------------------
 3618|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3619|      0|        return NULL;
 3620|      0|    }
 3621|      2|    return flags;
 3622|      2|}
sysmodule.c:make_abi_info:
 3791|      2|{
 3792|       |    // New entries should be added when needed for a supported platform,
 3793|       |    // or by core dev consensus for enabling an unsupported one.
 3794|       |
 3795|      2|    PyObject *value;
 3796|      2|    PyObject *abi_info = PyDict_New();
 3797|      2|    if (abi_info == NULL) {
  ------------------
  |  Branch (3797:9): [True: 0, False: 2]
  ------------------
 3798|      0|        return NULL;
 3799|      0|    }
 3800|       |
 3801|      2|    value = PyLong_FromLong(sizeof(void *) * 8);
 3802|      2|    if (value == NULL) {
  ------------------
  |  Branch (3802:9): [True: 0, False: 2]
  ------------------
 3803|      0|        goto error;
 3804|      0|    }
 3805|      2|    if (PyDict_SetItem(abi_info, &_Py_ID(pointer_bits), value) < 0) {
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3805:9): [True: 0, False: 2]
  ------------------
 3806|      0|        goto error;
 3807|      0|    }
 3808|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3809|       |
 3810|       |#ifdef Py_GIL_DISABLED
 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(free_threaded), value) < 0) {
  ------------------
  |  |  951|      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|       |#ifdef Py_DEBUG
 3820|       |    value = Py_True;
 3821|       |#else
 3822|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3823|      2|#endif
 3824|      2|    if (PyDict_SetItem(abi_info, &_Py_ID(debug), value) < 0) {
  ------------------
  |  |  951|      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|       |#if PY_BIG_ENDIAN
 3829|       |    value = &_Py_ID(big);
 3830|       |#else
 3831|      2|    value = &_Py_ID(little);
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3832|      2|#endif
 3833|      2|    if (PyDict_SetItem(abi_info, &_Py_ID(byteorder), value) < 0) {
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3833:9): [True: 0, False: 2]
  ------------------
 3834|      0|        goto error;
 3835|      0|    }
 3836|       |
 3837|      2|    PyObject *ns = _PyNamespace_New(abi_info);
 3838|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3839|      2|    return ns;
 3840|       |
 3841|      0|error:
 3842|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3843|      0|    Py_XDECREF(value);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3844|       |    return NULL;
 3845|      2|}

PyThread_init_thread:
   49|      6|{
   50|      6|    if (initialized) {
  ------------------
  |  |   45|      6|#define initialized _PyRuntime.threads.initialized
  |  |  ------------------
  |  |  |  Branch (45:21): [True: 4, False: 2]
  |  |  ------------------
  ------------------
   51|      4|        return;
   52|      4|    }
   53|      2|    initialized = 1;
  ------------------
  |  |   45|      2|#define initialized _PyRuntime.threads.initialized
  ------------------
   54|      2|    PyThread__init_thread();
   55|      2|}
PyThread_allocate_lock:
   81|     33|{
   82|     33|    if (!initialized) {
  ------------------
  |  |   45|     33|#define initialized _PyRuntime.threads.initialized
  ------------------
  |  Branch (82:9): [True: 0, False: 33]
  ------------------
   83|      0|        PyThread_init_thread();
   84|      0|    }
   85|       |
   86|     33|    PyMutex *lock = (PyMutex *)PyMem_RawMalloc(sizeof(PyMutex));
   87|     33|    if (lock) {
  ------------------
  |  Branch (87:9): [True: 33, False: 0]
  ------------------
   88|     33|        *lock = (PyMutex){0};
   89|     33|    }
   90|       |
   91|     33|    return (PyThread_type_lock)lock;
   92|     33|}
PyThread_free_lock:
   96|     27|{
   97|     27|    PyMem_RawFree(lock);
   98|     27|}
PyThread_acquire_lock_timed:
  103|    181|{
  104|    181|    PyTime_t timeout;  // relative timeout
  105|    181|    if (microseconds >= 0) {
  ------------------
  |  Branch (105:9): [True: 181, 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|    181|        timeout = _PyTime_FromMicrosecondsClamp(microseconds);
  115|    181|    }
  116|      0|    else {
  117|      0|        timeout = -1;
  118|      0|    }
  119|       |
  120|    181|    _PyLockFlags flags = _Py_LOCK_DONT_DETACH;
  121|    181|    if (intr_flag) {
  ------------------
  |  Branch (121:9): [True: 0, False: 181]
  ------------------
  122|      0|        flags |= _PY_FAIL_IF_INTERRUPTED;
  123|      0|    }
  124|       |
  125|    181|    return _PyMutex_LockTimed((PyMutex *)lock, timeout, flags);
  126|    181|}
PyThread_release_lock:
  130|    181|{
  131|    181|    PyMutex_Unlock((PyMutex *)lock);
  ------------------
  |  |   70|    181|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
  132|    181|}
PyThread_acquire_lock:
  143|    181|{
  144|    181|    return PyThread_acquire_lock_timed(lock, waitflag ? -1 : 0, /*intr_flag=*/0);
  ------------------
  |  Branch (144:46): [True: 0, False: 181]
  ------------------
  145|    181|}
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);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _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:
  142|      4|{
  143|      4|    return pthread_cond_init(cond, condattr_monotonic);
  ------------------
  |  |  123|      4|#define condattr_monotonic _PyRuntime.threads._condattr_monotonic.ptr
  ------------------
  144|      4|}
PyThread_get_thread_ident_ex:
  364|  3.21k|PyThread_get_thread_ident_ex(void) {
  365|  3.21k|    volatile pthread_t threadid;
  366|  3.21k|    if (!initialized)
  ------------------
  |  |   45|  3.21k|#define initialized _PyRuntime.threads.initialized
  ------------------
  |  Branch (366:9): [True: 2, False: 3.21k]
  ------------------
  367|      2|        PyThread_init_thread();
  368|  3.21k|    threadid = pthread_self();
  369|  3.21k|    return _pthread_t_to_ident(threadid);
  370|  3.21k|}
PyThread_get_thread_ident:
  374|  1.45k|{
  375|  1.45k|    return (unsigned long) PyThread_get_thread_ident_ex();
  376|  1.45k|}
PyThread_get_thread_native_id:
  381|      2|{
  382|      2|    if (!initialized)
  ------------------
  |  |   45|      2|#define initialized _PyRuntime.threads.initialized
  ------------------
  |  Branch (382:9): [True: 0, False: 2]
  ------------------
  383|      0|        PyThread_init_thread();
  384|       |#ifdef __APPLE__
  385|       |    uint64_t native_id;
  386|       |    (void) pthread_threadid_np(NULL, &native_id);
  387|       |#elif defined(_Py_HAVE_GETTID)
  388|       |    pid_t native_id;
  389|      2|    native_id = gettid();
  390|       |#elif defined(__linux__)
  391|       |    pid_t native_id;
  392|       |    native_id = syscall(SYS_gettid);
  393|       |#elif defined(__FreeBSD__)
  394|       |    int native_id;
  395|       |    native_id = pthread_getthreadid_np();
  396|       |#elif defined(__FreeBSD_kernel__)
  397|       |    long native_id;
  398|       |    syscall(SYS_thr_self, &native_id);
  399|       |#elif defined(__OpenBSD__)
  400|       |    pid_t native_id;
  401|       |    native_id = getthrid();
  402|       |#elif defined(_AIX)
  403|       |    tid_t native_id;
  404|       |    native_id = thread_self();
  405|       |#elif defined(__NetBSD__)
  406|       |    lwpid_t native_id;
  407|       |    native_id = _lwp_self();
  408|       |#elif defined(__DragonFly__)
  409|       |    // lwp_gettid() is only unique within a process, so combine it with the pid.
  410|       |    unsigned long native_id = (unsigned long)getpid() << 32 | lwp_gettid();
  411|       |#elif defined(__sun__) && SIZEOF_LONG >= 8
  412|       |    unsigned long native_id = (unsigned long)getpid() << 32 | thr_self();
  413|       |#endif
  414|      2|    return (unsigned long) native_id;
  415|      2|}
PyThread_tss_create:
  579|      2|{
  580|      2|    assert(key != NULL);
  ------------------
  |  Branch (580:5): [True: 2, False: 0]
  ------------------
  581|       |    /* If the key has been created, function is silently skipped. */
  582|      2|    if (key->_is_initialized) {
  ------------------
  |  Branch (582:9): [True: 0, False: 2]
  ------------------
  583|      0|        return 0;
  584|      0|    }
  585|       |
  586|      2|    int fail = pthread_key_create(&(key->_key), NULL);
  587|      2|    if (fail) {
  ------------------
  |  Branch (587:9): [True: 0, False: 2]
  ------------------
  588|      0|        return -1;
  589|      0|    }
  590|      2|    key->_is_initialized = 1;
  591|      2|    return 0;
  592|      2|}
thread.c:PyThread__init_thread:
  199|      2|{
  200|       |    // The library is only initialized once in the process,
  201|       |    // regardless of how many times the Python runtime is initialized.
  202|      2|    static int lib_initialized = 0;
  203|      2|    if (!lib_initialized) {
  ------------------
  |  Branch (203:9): [True: 2, False: 0]
  ------------------
  204|      2|        lib_initialized = 1;
  205|       |#if defined(_AIX) && defined(__GNUC__)
  206|       |        extern void pthread_init(void);
  207|       |        pthread_init();
  208|       |#endif
  209|      2|    }
  210|      2|    init_condattr();
  211|      2|}
thread.c:init_condattr:
  127|      2|{
  128|      2|#ifdef CONDATTR_MONOTONIC
  129|      2|# define ca _PyRuntime.threads._condattr_monotonic.val
  130|       |    // XXX We need to check the return code?
  131|      2|    pthread_condattr_init(&ca);
  ------------------
  |  |  129|      2|# define ca _PyRuntime.threads._condattr_monotonic.val
  ------------------
  132|       |    // XXX We need to run pthread_condattr_destroy() during runtime fini.
  133|      2|    if (pthread_condattr_setclock(&ca, CLOCK_MONOTONIC) == 0) {
  ------------------
  |  |  129|      2|# define ca _PyRuntime.threads._condattr_monotonic.val
  ------------------
  |  Branch (133:9): [True: 2, False: 0]
  ------------------
  134|      2|        condattr_monotonic = &ca;  // Use monotonic clock
  ------------------
  |  |  123|      2|#define condattr_monotonic _PyRuntime.threads._condattr_monotonic.ptr
  ------------------
                      condattr_monotonic = &ca;  // Use monotonic clock
  ------------------
  |  |  129|      2|# define ca _PyRuntime.threads._condattr_monotonic.val
  ------------------
  135|      2|    }
  136|      2|# undef ca
  137|      2|#endif  // CONDATTR_MONOTONIC
  138|      2|}
thread.c:_pthread_t_to_ident:
  308|  3.21k|_pthread_t_to_ident(pthread_t value) {
  309|       |// Cast through an integer type of the same size to avoid sign-extension.
  310|  3.21k|#if SIZEOF_PTHREAD_T == SIZEOF_VOID_P
  311|  3.21k|    return (uintptr_t) value;
  312|       |#elif SIZEOF_PTHREAD_T == SIZEOF_LONG
  313|       |    return (unsigned long) value;
  314|       |#elif SIZEOF_PTHREAD_T == SIZEOF_INT
  315|       |    return (unsigned int) value;
  316|       |#elif SIZEOF_PTHREAD_T == SIZEOF_LONG_LONG
  317|       |    return (unsigned long long) value;
  318|       |#else
  319|       |#error "Unsupported SIZEOF_PTHREAD_T value"
  320|       |#endif
  321|  3.21k|}

_PyTraceBack_FromFrame:
  307|    431|{
  308|    431|    assert(tb_next == NULL || PyTraceBack_Check(tb_next));
  ------------------
  |  Branch (308:5): [True: 353, False: 78]
  |  Branch (308:5): [True: 78, False: 0]
  ------------------
  309|    431|    assert(frame != NULL);
  ------------------
  |  Branch (309:5): [True: 431, False: 0]
  ------------------
  310|    431|    int addr = _PyInterpreterFrame_LASTI(frame->f_frame) * sizeof(_Py_CODEUNIT);
  ------------------
  |  |   19|    431|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  ------------------
  311|    431|    return tb_create_raw((PyTracebackObject *)tb_next, frame, addr, -1);
  312|    431|}
PyTraceBack_Here:
  317|    431|{
  318|    431|    PyObject *exc = PyErr_GetRaisedException();
  319|    431|    assert(PyExceptionInstance_Check(exc));
  ------------------
  |  Branch (319:5): [True: 431, False: 0]
  ------------------
  320|    431|    PyObject *tb = PyException_GetTraceback(exc);
  321|    431|    PyObject *newtb = _PyTraceBack_FromFrame(tb, frame);
  322|    431|    Py_XDECREF(tb);
  ------------------
  |  |  621|    431|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    431|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    431|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  323|    431|    if (newtb == NULL) {
  ------------------
  |  Branch (323:9): [True: 0, False: 431]
  ------------------
  324|      0|        _PyErr_ChainExceptions1(exc);
  325|      0|        return -1;
  326|      0|    }
  327|    431|    PyException_SetTraceback(exc, newtb);
  328|    431|    Py_XDECREF(newtb);
  ------------------
  |  |  621|    431|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    431|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    431|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  329|    431|    PyErr_SetRaisedException(exc);
  330|    431|    return 0;
  331|    431|}
_Py_DumpTraceback_Init:
 1460|      2|{
 1461|       |#ifdef MS_WINDOWS
 1462|       |    if (pGetThreadDescription != NULL) {
 1463|       |        return;
 1464|       |    }
 1465|       |
 1466|       |    HMODULE kernelbase = GetModuleHandleW(L"kernelbase.dll");
 1467|       |    if (kernelbase != NULL) {
 1468|       |        pGetThreadDescription = (PF_GET_THREAD_DESCRIPTION)GetProcAddress(
 1469|       |                                    kernelbase, "GetThreadDescription");
 1470|       |    }
 1471|       |#endif
 1472|      2|}
traceback.c:tb_dealloc:
  237|    431|{
  238|    431|    PyTracebackObject *tb = _PyTracebackObject_CAST(op);
  ------------------
  |  |   67|    431|#define _PyTracebackObject_CAST(op)   ((PyTracebackObject *)(op))
  ------------------
  239|    431|    PyObject_GC_UnTrack(tb);
  240|    431|    Py_XDECREF(tb->tb_next);
  ------------------
  |  |  621|    431|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    431|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    431|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  241|    431|    Py_XDECREF(tb->tb_frame);
  ------------------
  |  |  621|    431|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    431|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    431|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  242|    431|    _Py_FREELIST_FREE(tracebacks, tb, PyObject_GC_Del);
  ------------------
  |  |   35|    431|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|    431|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    431|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|    431|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   34|    431|#  define Py_tracebacks_MAXFREELIST 8
  |  |  ------------------
  ------------------
  243|    431|}
traceback.c:tb_create_raw:
   81|    431|{
   82|    431|    PyTracebackObject *tb;
   83|    431|    assert(next == NULL || PyTraceBack_Check(next));
  ------------------
  |  Branch (83:5): [True: 353, False: 78]
  |  Branch (83:5): [True: 78, False: 0]
  ------------------
   84|    431|    assert(frame != NULL);
  ------------------
  |  Branch (84:5): [True: 431, False: 0]
  ------------------
   85|    431|    assert(PyFrame_Check(frame));
  ------------------
  |  Branch (85:5): [True: 431, False: 0]
  ------------------
   86|    431|    tb = _Py_FREELIST_POP(PyTracebackObject, tracebacks);
  ------------------
  |  |   43|    431|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|    431|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   87|    431|    if (tb == NULL) {
  ------------------
  |  Branch (87:9): [True: 6, False: 425]
  ------------------
   88|      6|        tb = PyObject_GC_New(PyTracebackObject, &PyTraceBack_Type);
  ------------------
  |  |  181|      6|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   89|      6|    }
   90|    431|    if (tb != NULL) {
  ------------------
  |  Branch (90:9): [True: 431, False: 0]
  ------------------
   91|    431|        tb->tb_next = (PyTracebackObject*)Py_XNewRef(next);
  ------------------
  |  |  648|    431|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    431|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    431|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   92|    431|        tb->tb_frame = (PyFrameObject*)Py_NewRef(frame);
  ------------------
  |  |  647|    431|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    431|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    431|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   93|    431|        tb->tb_lasti = lasti;
   94|    431|        tb->tb_lineno = lineno;
   95|    431|        PyObject_GC_Track(tb);
   96|    431|    }
   97|    431|    return (PyObject *)tb;
   98|    431|}

_PyTraceMalloc_Init:
  787|      2|{
  788|      2|    assert(tracemalloc_config.initialized == TRACEMALLOC_NOT_INITIALIZED);
  ------------------
  |  Branch (788:5): [True: 2, False: 0]
  ------------------
  789|       |
  790|      2|    PyMem_GetAllocator(PYMEM_DOMAIN_RAW, &allocators.raw);
  ------------------
  |  |   33|      2|#define allocators _PyRuntime.tracemalloc.allocators
  ------------------
  791|       |
  792|      2|    if (PyThread_tss_create(&tracemalloc_reentrant_key) != 0) {
  ------------------
  |  |   97|      2|#define tracemalloc_reentrant_key _PyRuntime.tracemalloc.reentrant_key
  ------------------
  |  Branch (792:9): [True: 0, False: 2]
  ------------------
  793|      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)}
  |  |  ------------------
  ------------------
  794|      0|    }
  795|       |
  796|      2|    tracemalloc_filenames = hashtable_new(hashtable_hash_filename,
  ------------------
  |  |   75|      2|#define tracemalloc_filenames _PyRuntime.tracemalloc.filenames
  ------------------
  797|      2|                                          hashtable_compare_filename,
  798|      2|                                          raw_free, NULL);
  799|       |
  800|      2|    tracemalloc_tracebacks = hashtable_new(hashtable_hash_traceback,
  ------------------
  |  |   77|      2|#define tracemalloc_tracebacks _PyRuntime.tracemalloc.tracebacks
  ------------------
  801|      2|                                           hashtable_compare_traceback,
  802|      2|                                           raw_free, NULL);
  803|       |
  804|      2|    tracemalloc_traces = tracemalloc_create_traces_table();
  ------------------
  |  |   78|      2|#define tracemalloc_traces _PyRuntime.tracemalloc.traces
  ------------------
  805|      2|    tracemalloc_domains = tracemalloc_create_domains_table();
  ------------------
  |  |   79|      2|#define tracemalloc_domains _PyRuntime.tracemalloc.domains
  ------------------
  806|       |
  807|      2|    if (tracemalloc_filenames == NULL || tracemalloc_tracebacks == NULL
  ------------------
  |  |   75|      2|#define tracemalloc_filenames _PyRuntime.tracemalloc.filenames
  ------------------
                  if (tracemalloc_filenames == NULL || tracemalloc_tracebacks == NULL
  ------------------
  |  |   77|      2|#define tracemalloc_tracebacks _PyRuntime.tracemalloc.tracebacks
  ------------------
  |  Branch (807:9): [True: 0, False: 2]
  |  Branch (807:42): [True: 0, False: 2]
  ------------------
  808|      2|       || tracemalloc_traces == NULL || tracemalloc_domains == NULL)
  ------------------
  |  |   78|      2|#define tracemalloc_traces _PyRuntime.tracemalloc.traces
  ------------------
                     || tracemalloc_traces == NULL || tracemalloc_domains == NULL)
  ------------------
  |  |   79|      2|#define tracemalloc_domains _PyRuntime.tracemalloc.domains
  ------------------
  |  Branch (808:11): [True: 0, False: 2]
  |  Branch (808:41): [True: 0, False: 2]
  ------------------
  809|      0|    {
  810|      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)}
  |  |  ------------------
  ------------------
  811|      0|    }
  812|       |
  813|      2|    assert(tracemalloc_empty_traceback == NULL);
  ------------------
  |  Branch (813:5): [True: 2, False: 0]
  ------------------
  814|      2|    tracemalloc_empty_traceback = raw_malloc(TRACEBACK_SIZE(1));
  ------------------
  |  |   60|      2|#define tracemalloc_empty_traceback _PyRuntime.tracemalloc.empty_traceback
  ------------------
                  tracemalloc_empty_traceback = raw_malloc(TRACEBACK_SIZE(1));
  ------------------
  |  |   55|      2|        (sizeof(traceback_t) + sizeof(frame_t) * (NFRAME))
  ------------------
  815|      2|    if (tracemalloc_empty_traceback  == NULL) {
  ------------------
  |  |   60|      2|#define tracemalloc_empty_traceback _PyRuntime.tracemalloc.empty_traceback
  ------------------
  |  Branch (815:9): [True: 0, False: 2]
  ------------------
  816|      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)}
  |  |  ------------------
  ------------------
  817|      0|    }
  818|       |
  819|      2|    tracemalloc_empty_traceback->nframe = 1;
  ------------------
  |  |   60|      2|#define tracemalloc_empty_traceback _PyRuntime.tracemalloc.empty_traceback
  ------------------
  820|      2|    tracemalloc_empty_traceback->total_nframe = 1;
  ------------------
  |  |   60|      2|#define tracemalloc_empty_traceback _PyRuntime.tracemalloc.empty_traceback
  ------------------
  821|      2|    tracemalloc_empty_traceback->frames[0].filename = UNKNOWN_FILENAME;
  ------------------
  |  |   60|      2|#define tracemalloc_empty_traceback _PyRuntime.tracemalloc.empty_traceback
  ------------------
                  tracemalloc_empty_traceback->frames[0].filename = UNKNOWN_FILENAME;
  ------------------
  |  |   52|      2|#define UNKNOWN_FILENAME tracemalloc_unknown_filename
  ------------------
  822|      2|    tracemalloc_empty_traceback->frames[0].lineno = 0;
  ------------------
  |  |   60|      2|#define tracemalloc_empty_traceback _PyRuntime.tracemalloc.empty_traceback
  ------------------
  823|      2|    tracemalloc_empty_traceback->hash = traceback_hash(tracemalloc_empty_traceback);
  ------------------
  |  |   60|      2|#define tracemalloc_empty_traceback _PyRuntime.tracemalloc.empty_traceback
  ------------------
                  tracemalloc_empty_traceback->hash = traceback_hash(tracemalloc_empty_traceback);
  ------------------
  |  |   60|      2|#define tracemalloc_empty_traceback _PyRuntime.tracemalloc.empty_traceback
  ------------------
  824|       |
  825|      2|    tracemalloc_config.initialized = TRACEMALLOC_INITIALIZED;
  ------------------
  |  |   16|      2|#define tracemalloc_config _PyRuntime.tracemalloc.config
  ------------------
  826|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  827|      2|}
tracemalloc.c:hashtable_new:
  164|      8|{
  165|      8|    _Py_hashtable_allocator_t hashtable_alloc = {malloc, free};
  166|      8|    return _Py_hashtable_new_full(hash_func, compare_func,
  167|      8|                                  key_destroy_func, value_destroy_func,
  168|      8|                                  &hashtable_alloc);
  169|      8|}
tracemalloc.c:tracemalloc_create_traces_table:
  484|      2|{
  485|      2|    return hashtable_new(_Py_hashtable_hash_ptr,
  486|      2|                         _Py_hashtable_compare_direct,
  487|       |                         NULL, raw_free);
  488|      2|}
tracemalloc.c:tracemalloc_create_domains_table:
  501|      2|{
  502|      2|    return hashtable_new(hashtable_hash_uint,
  503|      2|                         _Py_hashtable_compare_direct,
  504|       |                         NULL,
  505|      2|                         tracemalloc_destroy_domain);
  506|      2|}
tracemalloc.c:raw_malloc:
  174|      2|{
  175|      2|    return allocators.raw.malloc(allocators.raw.ctx, size);
  ------------------
  |  |   33|      2|#define allocators _PyRuntime.tracemalloc.allocators
  ------------------
                  return allocators.raw.malloc(allocators.raw.ctx, size);
  ------------------
  |  |   33|      2|#define allocators _PyRuntime.tracemalloc.allocators
  ------------------
  176|      2|}
tracemalloc.c:traceback_hash:
  365|      2|{
  366|       |    /* code based on tuple_hash() of Objects/tupleobject.c */
  367|      2|    Py_uhash_t x, y;  /* Unsigned for defined overflow behavior. */
  368|      2|    int len = traceback->nframe;
  369|      2|    Py_uhash_t mult = PyHASH_MULTIPLIER;
  ------------------
  |  |    6|      2|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  ------------------
  370|      2|    frame_t *frame;
  371|       |
  372|      2|    x = 0x345678UL;
  373|      2|    frame = traceback->frames;
  374|      4|    while (--len >= 0) {
  ------------------
  |  Branch (374:12): [True: 2, False: 2]
  ------------------
  375|       |        // Filenames are interned: hash the pointer
  376|      2|        y = (Py_uhash_t)Py_HashPointer(frame->filename);
  377|      2|        y ^= (Py_uhash_t)frame->lineno;
  378|      2|        frame++;
  379|       |
  380|      2|        x = (x ^ y) * mult;
  381|       |        /* the cast might truncate len; that doesn't change hash stability */
  382|      2|        mult += (Py_uhash_t)(82520UL + len + len);
  383|      2|    }
  384|      2|    x ^= traceback->total_nframe;
  385|      2|    x += 97531UL;
  386|      2|    return x;
  387|      2|}

_PyTypeCache_InitType:
  107|    908|{
  108|    908|    *cache_slot(type) = &empty_cache;
  109|    908|}
_PyTypeCache_Insert:
  176|  3.90k|{
  177|  3.90k|    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|  3.90k|    if (cache->available == 0) {
  ------------------
  |  Branch (180:9): [True: 518, False: 3.38k]
  ------------------
  181|    518|        if (cache_resize(type, cache) == -1) {
  ------------------
  |  Branch (181:13): [True: 0, False: 518]
  ------------------
  182|       |            // out of memory, don't cache the value
  183|      0|            return;
  184|      0|        }
  185|    518|        cache = cache_get(type);
  186|    518|        assert(cache->available > 0);
  ------------------
  |  Branch (186:9): [True: 518, False: 0]
  ------------------
  187|    518|    }
  188|  3.90k|    assert(cache->version_tag == type->tp_version_tag);
  ------------------
  |  Branch (188:5): [True: 3.90k, False: 0]
  ------------------
  189|  3.90k|    cache_insert(cache, name, value);
  190|  3.90k|}
_PyTypeCache_Lookup:
  198|  27.5k|{
  199|  27.5k|    assert(PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name));
  ------------------
  |  Branch (199:5): [True: 27.5k, False: 0]
  |  Branch (199:5): [True: 27.5k, False: 0]
  ------------------
  200|  27.5k|    struct _PyTypeCacheLookupResult miss = {PyStackRef_NULL, 0, 0};
  201|  27.5k|    struct type_cache *cache = cache_get(type);
  202|  27.5k|    if (cache == NULL) {
  ------------------
  |  Branch (202:9): [True: 0, False: 27.5k]
  ------------------
  203|      0|        return miss;
  204|      0|    }
  205|  27.5k|    Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(name);
  206|  27.5k|    assert(hash != -1);
  ------------------
  |  Branch (206:5): [True: 27.5k, False: 0]
  ------------------
  207|  27.5k|    uint32_t index = hash & cache->mask;
  208|  27.5k|    _PyStackRef out_ref;
  209|  42.5k|    for (;;) {
  210|  42.5k|        PyObject *entry_name = FT_ATOMIC_LOAD_PTR_ACQUIRE(cache->hashtable[index].name);
  ------------------
  |  |  152|  42.5k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  211|  42.5k|        if (entry_name == name) {
  ------------------
  |  Branch (211:13): [True: 23.4k, False: 19.1k]
  ------------------
  212|       |#ifdef Py_GIL_DISABLED
  213|       |            if (!_Py_TryXGetStackRef(&cache->hashtable[index].value, &out_ref)) {
  214|       |                return miss;
  215|       |            }
  216|       |#else
  217|  23.4k|            PyObject *v = cache->hashtable[index].value;
  218|  23.4k|            out_ref = v ? PyStackRef_FromPyObjectNew(v) : PyStackRef_NULL;
  ------------------
  |  |  611|  9.59k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (218:23): [True: 9.59k, False: 13.8k]
  ------------------
  219|  23.4k|#endif
  220|  23.4k|            break;
  221|  23.4k|        }
  222|  19.1k|        else if (entry_name == NULL) {
  ------------------
  |  Branch (222:18): [True: 4.18k, False: 14.9k]
  ------------------
  223|  4.18k|            return miss;
  224|  4.18k|        }
  225|  14.9k|        index = (index + 1) & cache->mask;
  226|  14.9k|    }
  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|  23.4k|    if (cache->version_tag != FT_ATOMIC_LOAD_UINT_RELAXED(type->tp_version_tag)) {
  ------------------
  |  |  192|  23.4k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  ------------------
  |  Branch (229:9): [True: 0, False: 23.4k]
  ------------------
  230|      0|        PyStackRef_XCLOSE(out_ref);
  231|      0|        return miss;
  232|      0|    }
  233|  23.4k|    return (struct _PyTypeCacheLookupResult){out_ref, 1, cache->version_tag};
  234|  23.4k|}
_PyTypeCache_Invalidate:
  241|    218|{
  242|    218|    OBJECT_STAT_INC(type_cache_invalidations);
  ------------------
  |  |   77|    218|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  243|    218|    struct type_cache *cache = cache_get(type);
  244|    218|    cache_set(type, &empty_cache);
  245|    218|    cache_free_delayed(cache);
  246|    218|}
typecache.c:cache_slot:
   83|  33.8k|{
   84|  33.8k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  33.8k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (84:9): [True: 20.4k, False: 13.4k]
  ------------------
   85|  20.4k|        PyInterpreterState *interp = _PyInterpreterState_GET();
   86|  20.4k|        managed_static_type_state *state = _PyStaticType_GetState(interp, type);
   87|  20.4k|        assert(state != NULL);
  ------------------
  |  Branch (87:9): [True: 20.4k, False: 0]
  ------------------
   88|  20.4k|        return &state->_tp_cache;
   89|  20.4k|    }
   90|  13.4k|    return &type->_tp_cache;
   91|  33.8k|}
typecache.c:cache_get:
   95|  32.2k|{
   96|  32.2k|    return (struct type_cache *)FT_ATOMIC_LOAD_PTR_ACQUIRE(*cache_slot(type));
  ------------------
  |  |  152|  32.2k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
   97|  32.2k|}
typecache.c:cache_resize:
  140|    518|{
  141|    518|    uint32_t old_size = cache_size(cache);
  142|    518|    uint32_t new_size;
  143|    518|    if (cache->used == 0) {
  ------------------
  |  Branch (143:9): [True: 409, False: 109]
  ------------------
  144|       |        // the cache is the empty cache, we need to allocate a new cache with the minimum size
  145|    409|        new_size = _Py_TYPECACHE_MINSIZE;
  ------------------
  |  |   14|    409|#define _Py_TYPECACHE_MINSIZE (1 << 3)
  ------------------
  146|    409|    }
  147|    109|    else {
  148|       |        // double the cache size when resizing
  149|    109|        new_size = old_size * 2;
  150|    109|    }
  151|    518|    if (new_size > _Py_TYPECACHE_MAXSIZE) {
  ------------------
  |  |   15|    518|#define _Py_TYPECACHE_MAXSIZE (1 << 16)
  ------------------
  |  Branch (151:9): [True: 0, False: 518]
  ------------------
  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|    518|    struct type_cache *new_cache = cache_allocate(new_size);
  157|    518|    if (new_cache == NULL) {
  ------------------
  |  Branch (157:9): [True: 0, False: 518]
  ------------------
  158|      0|        return -1;
  159|      0|    }
  160|    518|    OBJECT_STAT_INC(type_cache_resizes);
  ------------------
  |  |   77|    518|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  161|  8.99k|    for (uint32_t i = 0; i < old_size; i++) {
  ------------------
  |  Branch (161:26): [True: 8.47k, False: 518]
  ------------------
  162|  8.47k|        if (cache->hashtable[i].name != NULL) {
  ------------------
  |  Branch (162:13): [True: 3.90k, False: 4.57k]
  ------------------
  163|  3.90k|            cache_insert(new_cache, cache->hashtable[i].name, cache->hashtable[i].value);
  164|  3.90k|        }
  165|  8.47k|    }
  166|    518|    new_cache->version_tag = type->tp_version_tag;
  167|    518|    cache_set(type, new_cache);
  168|    518|    cache_free_delayed(cache);
  169|    518|    return 0;
  170|    518|}
typecache.c:cache_size:
   32|  8.15k|{
   33|  8.15k|    return cache->mask + 1;
   34|  8.15k|}
typecache.c:cache_allocate:
   45|    518|{
   46|       |    // size must be a power of two
   47|    518|    assert((size & (size - 1)) == 0);
  ------------------
  |  Branch (47:5): [True: 518, False: 0]
  ------------------
   48|    518|    size_t nbytes = offsetof(struct type_cache, hashtable)
   49|    518|                    + (size_t)size * sizeof(struct type_cache_entry);
   50|    518|    struct type_cache *cache = PyMem_Calloc(1, nbytes);
   51|    518|    if (cache == NULL) {
  ------------------
  |  Branch (51:9): [True: 0, False: 518]
  ------------------
   52|      0|        return NULL;
   53|      0|    }
   54|    518|    cache->mask = size - 1;
   55|       |    // load factor of 0.75
   56|    518|    cache->available = size - (size >> 2);
   57|    518|    cache->used = 0;
   58|    518|    return cache;
   59|    518|}
typecache.c:cache_insert:
  114|  7.80k|{
  115|  7.80k|    Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(name);
  116|  7.80k|    assert(hash != -1);
  ------------------
  |  Branch (116:5): [True: 7.80k, False: 0]
  ------------------
  117|  7.80k|    uint32_t index = hash & cache->mask;
  118|  15.5k|    for (;;) {
  119|  15.5k|        if (cache->hashtable[index].name == NULL) {
  ------------------
  |  Branch (119:13): [True: 7.80k, False: 7.75k]
  ------------------
  120|  7.80k|#ifndef Py_GIL_DISABLED
  121|       |            // On free-threading, all interned strings are immortal.
  122|  7.80k|            Py_INCREF(name);
  ------------------
  |  |  310|  7.80k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  123|  7.80k|#endif
  124|  7.80k|            cache->hashtable[index].value = value;
  125|  7.80k|            FT_ATOMIC_STORE_PTR_RELEASE(cache->hashtable[index].name, name);
  ------------------
  |  |  166|  7.80k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  126|  7.80k|            cache->used++;
  127|  7.80k|            cache->available--;
  128|  7.80k|            return;
  129|  7.80k|        }
  130|  7.75k|        else if (cache->hashtable[index].name == name) {
  ------------------
  |  Branch (130:18): [True: 0, False: 7.75k]
  ------------------
  131|       |            /* someone else added the entry before us. */
  132|      0|            return;
  133|      0|        }
  134|  7.75k|        index = (index + 1) & cache->mask;
  135|  7.75k|    }
  136|  7.80k|}
typecache.c:cache_set:
  101|    736|{
  102|    736|    FT_ATOMIC_STORE_PTR_RELEASE(*cache_slot(type), cache);
  ------------------
  |  |  166|    736|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  103|    736|}
typecache.c:cache_free_delayed:
   63|    736|{
   64|    736|    if (cache == NULL || cache == &empty_cache) {
  ------------------
  |  Branch (64:9): [True: 0, False: 736]
  |  Branch (64:26): [True: 414, False: 322]
  ------------------
   65|    414|        return;
   66|    414|    }
   67|    322|#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.31k|    for (uint32_t i = 0; i < cache_size(cache); i++) {
  ------------------
  |  Branch (70:26): [True: 6.99k, False: 322]
  ------------------
   71|  6.99k|        if (cache->hashtable[i].name != NULL) {
  ------------------
  |  Branch (71:13): [True: 4.37k, False: 2.61k]
  ------------------
   72|  4.37k|            Py_DECREF(cache->hashtable[i].name);
  ------------------
  |  |  430|  4.37k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|  4.37k|        }
   74|  6.99k|    }
   75|    322|#endif
   76|       |    // Delay the freeing of old cache for concurrent lock-free readers
   77|    322|    _PyMem_FreeDelayed(cache, cache_nbytes(cache));
   78|    322|}
typecache.c:cache_nbytes:
   38|    322|{
   39|       |    return offsetof(struct type_cache, hashtable)
   40|    322|        + (size_t)cache_size(cache) * sizeof(struct type_cache_entry);
   41|    322|}

fuzzer.c:Py_XDECREF:
  615|     33|{
  616|     33|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     33|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 1, False: 32]
  ------------------
  617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      1|    }
  619|     33|}
fuzzer.c:Py_DECREF:
  418|     34|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     34|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     34|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 34]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     34|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     34|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     34|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 34, False: 0]
  ------------------
  427|     34|        _Py_Dealloc(op);
  428|     34|    }
  429|     34|}
fuzzer.c:_Py_IsImmortal:
  127|     34|{
  128|       |#if defined(Py_GIL_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|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     34|}

